@cortexkit/opencode-magic-context 0.49.93 → 0.49.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auto-search-worker.js +4 -4
- package/dist/chunk-embedding-write-worker.js +3 -3
- package/dist/{compartment-chunk-embedding-rp4asvk0.js → compartment-chunk-embedding-4nn3hsw2.js} +2 -2
- package/dist/{context-jpxthqxg.js → context-h9x9m2p3.js} +176 -61
- package/dist/{embedding-backfill-6wzc4p2n.js → embedding-backfill-wdrqkw09.js} +5 -5
- package/dist/embedding-worker.js +2 -2
- package/dist/features/magic-context/compartment-storage.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/docs-proposals.d.ts +5 -2
- package/dist/features/magic-context/dreamer/docs-proposals.d.ts.map +1 -1
- package/dist/features/magic-context/history-gap-recovery.d.ts +42 -0
- package/dist/features/magic-context/history-gap-recovery.d.ts.map +1 -0
- package/dist/features/magic-context/memory/embedding-synapse.d.ts +18 -5
- package/dist/features/magic-context/memory/embedding-synapse.d.ts.map +1 -1
- package/dist/features/magic-context/message-visibility.d.ts +10 -0
- package/dist/features/magic-context/message-visibility.d.ts.map +1 -0
- package/dist/features/magic-context/search.d.ts +4 -0
- package/dist/features/magic-context/search.d.ts.map +1 -1
- package/dist/features/magic-context/session-decision-calibration.d.ts.map +1 -1
- package/dist/features/magic-context/session-project-backfill.d.ts.map +1 -1
- package/dist/features/magic-context/store-generation-rebase.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-runner-recomp.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-trigger.d.ts +1 -1
- package/dist/hooks/magic-context/compartment-trigger.d.ts.map +1 -1
- package/dist/hooks/magic-context/history-boundary-repair.d.ts +2 -2
- package/dist/hooks/magic-context/history-boundary-repair.d.ts.map +1 -1
- package/dist/hooks/magic-context/lkg-persist.d.ts +3 -1
- package/dist/hooks/magic-context/lkg-persist.d.ts.map +1 -1
- package/dist/hooks/magic-context/lkg-recovery-fence.d.ts +1 -0
- package/dist/hooks/magic-context/lkg-recovery-fence.d.ts.map +1 -1
- package/dist/hooks/magic-context/lkg-replay.d.ts +3 -0
- package/dist/hooks/magic-context/lkg-replay.d.ts.map +1 -1
- package/dist/hooks/magic-context/raw-ordinal-warmup.d.ts +1 -0
- package/dist/hooks/magic-context/raw-ordinal-warmup.d.ts.map +1 -1
- package/dist/hooks/magic-context/tail-hygiene-output-count.d.ts +4 -0
- package/dist/hooks/magic-context/tail-hygiene-output-count.d.ts.map +1 -1
- package/dist/hooks/magic-context/tail-hygiene-walk.d.ts +2 -0
- package/dist/hooks/magic-context/tail-hygiene-walk.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform-stage-logger.d.ts +6 -0
- package/dist/hooks/magic-context/transform-stage-logger.d.ts.map +1 -1
- package/dist/{index-za1yx1m4.js → index-2gewejcz.js} +17 -8
- package/dist/{index-hee64h6k.js → index-2v9qpmb3.js} +5 -5
- package/dist/{index-g5c67kay.js → index-3tmbvn0z.js} +8 -8
- package/dist/{index-5zrzg8r1.js → index-3ywyr4zx.js} +1 -1
- package/dist/{index-kty5k23y.js → index-47hst5me.js} +1 -1
- package/dist/{index-g6y2wk32.js → index-7dzaamqg.js} +6 -6
- package/dist/{index-dr6bd4c8.js → index-7r11k4xr.js} +1 -1
- package/dist/{index-g9qtxv87.js → index-7skgrbsg.js} +100 -52
- package/dist/{index-gqfy38m9.js → index-c81tggen.js} +1 -1
- package/dist/{index-0twg41mh.js → index-ejgp0z9p.js} +1 -1
- package/dist/{index-pnawfv4e.js → index-esacb9d0.js} +1 -1
- package/dist/{index-1kem0xxx.js → index-ewta5h87.js} +4 -4
- package/dist/{index-6r99v53h.js → index-j7n64sg4.js} +162 -60
- package/dist/{index-y2vshk67.js → index-jm62g83a.js} +177 -59
- package/dist/{index-yqha238s.js → index-pc49a7zt.js} +119 -9
- package/dist/{index-ttdk2w0z.js → index-qmm8xpbc.js} +3 -3
- package/dist/{index-n9kd68vc.js → index-tedck05r.js} +3 -3
- package/dist/{index-j2w79s9r.js → index-tm799pq7.js} +1 -1
- package/dist/{index-01h7tqe3.js → index-tr4ep2ej.js} +21 -6
- package/dist/{index-rz47hf2m.js → index-wqwjawer.js} +27 -11
- package/dist/index-xe34pwb6.js +119 -0
- package/dist/{index-hes3k87g.js → index-xjaf9g90.js} +1 -1
- package/dist/{index-fpjnjxyx.js → index-yzzxb5e1.js} +2 -2
- package/dist/{index-xr1t0fxb.js → index-zk6gtf43.js} +44 -8
- package/dist/index.js +26 -26
- package/dist/{message-index-bounded-vjrnptar.js → message-index-bounded-d3x8rhpz.js} +3 -3
- package/dist/migration-worker.js +1 -1
- package/dist/{project-embedding-registry-m8zcmrsg.js → project-embedding-registry-az68q792.js} +4 -4
- package/dist/raw-ordinal-warmup-worker.js +5 -5
- package/dist/{read-session-chunk-zkzdc0e5.js → read-session-chunk-70r1snq3.js} +2 -2
- package/dist/{recomp-orchestrator-qb2hymj5.js → recomp-orchestrator-cn4r2gz6.js} +14 -14
- package/dist/{render-34p0kek8.js → render-g45k3gts.js} +9 -9
- package/dist/{search-archive-08ppk0q5.js → search-archive-s9t3exc1.js} +8 -6
- package/dist/{search-e9bb9hpx.js → search-b0cb342r.js} +12 -12
- package/dist/shared/storage-file-mutex.d.ts.map +1 -1
- package/dist/{storage-tags-gk7gjkqt.js → storage-tags-xvbje7jm.js} +1 -1
- package/dist/{store-yr443ye8.js → store-91kawq9a.js} +2 -2
- package/dist/{store-reader-qbq6q4v0.js → store-reader-dgh3ssxx.js} +1 -1
- package/dist/tools/ctx-expand/search-archive.d.ts +3 -2
- package/dist/tools/ctx-expand/search-archive.d.ts.map +1 -1
- package/dist/tools/ctx-expand/tools.d.ts.map +1 -1
- package/dist/tools/ctx-expand/v2-archive-reader.d.ts +2 -0
- package/dist/tools/ctx-expand/v2-archive-reader.d.ts.map +1 -1
- package/dist/tools/ctx-search/tools.d.ts.map +1 -1
- package/dist/{transform-postprocess-phase-neds90e3.js → transform-postprocess-phase-r1xhsjrh.js} +15 -15
- package/dist/v2/auto-search-worker.js +4 -4
- package/dist/v2/chunk-embedding-write-worker.js +3 -3
- package/dist/v2/{compartment-chunk-embedding-w7ht0t9v.js → compartment-chunk-embedding-a7ddvz7v.js} +2 -2
- package/dist/v2/{context-ctsd80vc.js → context-2hssw26q.js} +332 -99
- package/dist/v2/{embedding-backfill-40g0anxh.js → embedding-backfill-gveter8p.js} +5 -5
- package/dist/v2/embedding-worker.js +2 -2
- package/dist/v2/fold/memory-cache.d.ts +2 -0
- package/dist/v2/fold/memory-cache.d.ts.map +1 -1
- package/dist/v2/fold/native-replay.d.ts +22 -5
- package/dist/v2/fold/native-replay.d.ts.map +1 -1
- package/dist/v2/hooks/context.d.ts.map +1 -1
- package/dist/v2/hooks/revert-message-state.d.ts.map +1 -1
- package/dist/v2/hooks/session-project-backfill.d.ts +2 -1
- package/dist/v2/hooks/session-project-backfill.d.ts.map +1 -1
- package/dist/v2/{message-index-bounded-1vew9c37.js → message-index-bounded-tbwrff24.js} +3 -3
- package/dist/v2/migration-worker.js +1 -1
- package/dist/v2/{project-embedding-registry-je5jam7y.js → project-embedding-registry-2zeycxek.js} +4 -4
- package/dist/v2/raw-ordinal-warmup-worker.js +5 -5
- package/dist/v2/{read-session-chunk-09sre4xv.js → read-session-chunk-cvgsfsgr.js} +2 -2
- package/dist/v2/{recomp-orchestrator-mgcty3we.js → recomp-orchestrator-k4cj62f2.js} +13 -13
- package/dist/v2/{render-ygcmyn9x.js → render-ys7a3zks.js} +9 -9
- package/dist/v2/{search-archive-nrsqqmk5.js → search-archive-k2yh0jj3.js} +8 -6
- package/dist/v2/{search-gmye6n25.js → search-x1cac8t6.js} +11 -11
- package/dist/v2/{server-rkj44mez.js → server-476anw1w.js} +1 -1
- package/dist/v2/{server-barj0mjz.js → server-5016ccyn.js} +1 -1
- package/dist/v2/{server-pcarsvj2.js → server-6aj72z52.js} +3 -3
- package/dist/v2/{server-cvp9w5gs.js → server-6nh36020.js} +68 -59
- package/dist/v2/{server-btgnkr9z.js → server-88pjnecb.js} +1 -1
- package/dist/v2/{server-myp4pc6x.js → server-bfct1yvb.js} +99 -51
- package/dist/v2/{server-4ecpanyn.js → server-cd93xyyx.js} +119 -9
- package/dist/v2/{server-6x40bnb7.js → server-cvm1qrqc.js} +2 -2
- package/dist/v2/{server-z9czv2vb.js → server-gj259dqy.js} +44 -8
- package/dist/v2/{server-vc5fta6s.js → server-prrx17q3.js} +3 -3
- package/dist/v2/{server-6chcnnhq.js → server-qy58c11s.js} +1 -1
- package/dist/v2/{server-dgsjamm4.js → server-s81b3nct.js} +1 -1
- package/dist/v2/{server-g53asaqt.js → server-s8mk882p.js} +27 -11
- package/dist/v2/{server-2xm0gxke.js → server-srtq37nh.js} +1 -1
- package/dist/v2/{server-bnkc9kph.js → server-vbr1rdkg.js} +6 -6
- package/dist/v2/{server-vtgeyhq6.js → server-vtkbxzw1.js} +21 -6
- package/dist/v2/{server-ps6zrzwj.js → server-xepfjgv5.js} +162 -60
- package/dist/v2/server-y0pd600x.js +119 -0
- package/dist/v2/{server-k1xc2bw1.js → server-zc8s06gx.js} +1 -1
- package/dist/v2/server.js +2 -2
- package/dist/v2/{storage-tags-nccqr0kr.js → storage-tags-y20j3jdp.js} +1 -1
- package/dist/v2/{store-enef5jcn.js → store-b95snz31.js} +2 -2
- package/dist/v2/{store-reader-jbaqv1yp.js → store-reader-qt2msa8z.js} +1 -1
- package/dist/v2/store-reader.d.ts +1 -1
- package/dist/v2/store-reader.d.ts.map +1 -1
- package/dist/v2/{v2-archive-reader-7vmng8q7.js → v2-archive-reader-q92kwkr5.js} +1 -1
- package/dist/v2/{wrapup-orchestrator-7r4y0bf6.js → wrapup-orchestrator-ydqkxkhj.js} +13 -13
- package/dist/{v2-archive-reader-7s90gfax.js → v2-archive-reader-x62hsr4c.js} +1 -1
- package/dist/{wrapup-orchestrator-m2p89973.js → wrapup-orchestrator-kt81d6et.js} +15 -15
- package/package.json +1 -1
- package/src/shared/storage-file-mutex-review.test.ts +110 -0
- package/src/shared/storage-file-mutex.ts +12 -0
- package/dist/index-52x68mj4.js +0 -58
- package/dist/v2/server-52x68mj4.js +0 -58
|
@@ -151,9 +151,13 @@ function isThinkingPart(part) {
|
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
// src/hooks/magic-context/tail-hygiene-output-count.ts
|
|
154
|
+
var CTX_REDUCE_OUTPUT = Symbol.for("magic-context.ctx-reduce-output");
|
|
155
|
+
function isCtxReduceTool(name) {
|
|
156
|
+
return normalizeProtectedToolName(name) === "ctx_reduce";
|
|
157
|
+
}
|
|
154
158
|
var CURRENT_OUTPUT_COUNT = Symbol.for("magic-context.current-reclaimable-tool-output-count");
|
|
155
159
|
function countReclaimableToolOutputs(parts) {
|
|
156
|
-
return parts.filter((part) => part.kind === "toolOutput" && part.uTokens > 0).length;
|
|
160
|
+
return parts.filter((part) => part.kind === "toolOutput" && part.uTokens > 0 && !part[CTX_REDUCE_OUTPUT]).length;
|
|
157
161
|
}
|
|
158
162
|
function rememberCurrentToolOutputCount(baseline, measurement) {
|
|
159
163
|
return Object.assign(baseline, {
|
|
@@ -1105,6 +1109,10 @@ function buildTagAttribution(args) {
|
|
|
1105
1109
|
function reclaimableTailTokens(part) {
|
|
1106
1110
|
return part.tagStatus === "active" && !part.protected && !part.queuedForDrop && part.kind !== "excluded" && part.kind !== "text" ? part.tokens : 0;
|
|
1107
1111
|
}
|
|
1112
|
+
function isCtxReduceResult(part, tag) {
|
|
1113
|
+
const name = isRecord(part) ? part.type === "tool" ? part.tool : part.toolName : null;
|
|
1114
|
+
return isCtxReduceTool(typeof name === "string" ? name : tag?.toolName ?? null);
|
|
1115
|
+
}
|
|
1108
1116
|
function snapshot(args) {
|
|
1109
1117
|
const memo = memoizedContent(args.kind, args.content);
|
|
1110
1118
|
const tag = args.tag;
|
|
@@ -1280,6 +1288,7 @@ function measureWithReplay(input, replay) {
|
|
|
1280
1288
|
const tag = prior.kind === "text" ? attribution.messageTags.get(`${message.info.id}:p${partIndex}`) : prior.kind === "file" ? attribution.messageTags.get(`${message.info.id}:file${partIndex}`) : prior.kind === "toolInput" || prior.kind === "toolOutput" ? attribution.toolTagsByPart.get(message.parts[partIndex]) : undefined;
|
|
1281
1289
|
const protectedPart = tag ? attribution.protectedNumbers.has(tag.tagNumber) : false;
|
|
1282
1290
|
const queuedForDrop = tag ? pendingDropTagNumbers.has(tag.tagNumber) : false;
|
|
1291
|
+
const ctxReduceOutput = prior.kind === "toolOutput" && isCtxReduceResult(message.parts[partIndex], tag);
|
|
1283
1292
|
const uTokens = reclaimableTailTokens({
|
|
1284
1293
|
kind: prior.kind,
|
|
1285
1294
|
tokens: prior.tokens,
|
|
@@ -1287,12 +1296,13 @@ function measureWithReplay(input, replay) {
|
|
|
1287
1296
|
protected: protectedPart,
|
|
1288
1297
|
queuedForDrop
|
|
1289
1298
|
});
|
|
1290
|
-
const measured = prior.tagNumber === (tag?.tagNumber ?? null) && prior.tagStatus === (tag?.status ?? null) && prior.protected === protectedPart && prior.queuedForDrop === queuedForDrop && prior.uTokens === uTokens ? prior : {
|
|
1299
|
+
const measured = prior.tagNumber === (tag?.tagNumber ?? null) && prior.tagStatus === (tag?.status ?? null) && prior.protected === protectedPart && prior.queuedForDrop === queuedForDrop && Boolean(prior[CTX_REDUCE_OUTPUT]) === ctxReduceOutput && prior.uTokens === uTokens ? prior : {
|
|
1291
1300
|
...prior,
|
|
1292
1301
|
tagNumber: tag?.tagNumber ?? null,
|
|
1293
1302
|
tagStatus: tag?.status ?? null,
|
|
1294
1303
|
protected: protectedPart,
|
|
1295
1304
|
queuedForDrop,
|
|
1305
|
+
...ctxReduceOutput || prior[CTX_REDUCE_OUTPUT] ? { [CTX_REDUCE_OUTPUT]: ctxReduceOutput } : {},
|
|
1296
1306
|
uTokens
|
|
1297
1307
|
};
|
|
1298
1308
|
parts.push(measured);
|
|
@@ -1398,6 +1408,8 @@ function measureWithReplay(input, replay) {
|
|
|
1398
1408
|
protectedNumbers: attribution.protectedNumbers,
|
|
1399
1409
|
pendingDropTagNumbers
|
|
1400
1410
|
});
|
|
1411
|
+
if (isCtxReduceResult(part, tag))
|
|
1412
|
+
measured[CTX_REDUCE_OUTPUT] = true;
|
|
1401
1413
|
parts.push(measured);
|
|
1402
1414
|
t += measured.tokens;
|
|
1403
1415
|
u += measured.uTokens;
|
|
@@ -2250,9 +2262,30 @@ function thawCalibration(frozen) {
|
|
|
2250
2262
|
function sameCalibration(left, right) {
|
|
2251
2263
|
return left.revision === right.revision && left.providerId === right.providerId && left.modelId === right.modelId && left.systemRatio === right.systemRatio && left.toolsRatio === right.toolsRatio && left.proseRatio === right.proseRatio && left.source === right.source;
|
|
2252
2264
|
}
|
|
2253
|
-
function persistNamespace(db, sessionId, root, namespace) {
|
|
2254
|
-
|
|
2255
|
-
|
|
2265
|
+
function persistNamespace(db, sessionId, observedState, root, namespace) {
|
|
2266
|
+
const observed = observedState ?? null;
|
|
2267
|
+
try {
|
|
2268
|
+
const update = db.prepare(`UPDATE session_meta SET deferred_execute_state = json_set(
|
|
2269
|
+
CASE
|
|
2270
|
+
WHEN deferred_execute_state IS ? THEN ?
|
|
2271
|
+
WHEN json_type(deferred_execute_state) = 'object' THEN deferred_execute_state
|
|
2272
|
+
ELSE '{}'
|
|
2273
|
+
END, '$.${CALIBRATION_STATE_KEY}', json(?))
|
|
2274
|
+
WHERE session_id = ? AND (deferred_execute_state IS ? OR json_valid(deferred_execute_state))`).run(observed, JSON.stringify(root), JSON.stringify(namespace), sessionId, observed);
|
|
2275
|
+
if (update.changes > 0)
|
|
2276
|
+
return;
|
|
2277
|
+
} catch (error) {
|
|
2278
|
+
if (!(error instanceof Error) || !/malformed JSON/i.test(error.message))
|
|
2279
|
+
throw error;
|
|
2280
|
+
}
|
|
2281
|
+
db.transaction(() => {
|
|
2282
|
+
const current = db.prepare("SELECT deferred_execute_state FROM session_meta WHERE session_id = ?").get(sessionId);
|
|
2283
|
+
if (!current)
|
|
2284
|
+
return;
|
|
2285
|
+
const latestRoot = parseStateRoot(current.deferred_execute_state);
|
|
2286
|
+
latestRoot[CALIBRATION_STATE_KEY] = namespace;
|
|
2287
|
+
db.prepare("UPDATE session_meta SET deferred_execute_state = ? WHERE session_id = ?").run(JSON.stringify(latestRoot), sessionId);
|
|
2288
|
+
}).immediate();
|
|
2256
2289
|
}
|
|
2257
2290
|
function sessionDecisionCalibration(db, sessionId, pass) {
|
|
2258
2291
|
const row = readSessionRow(db, sessionId);
|
|
@@ -2265,7 +2298,10 @@ function sessionDecisionCalibration(db, sessionId, pass) {
|
|
|
2265
2298
|
const candidate = freezeCalibration(calibrationForModelKey(key));
|
|
2266
2299
|
if (!namespace.active || !sameCalibration(namespace.active, candidate)) {
|
|
2267
2300
|
const previousRevision = namespace.active?.revision ?? "unfrozen";
|
|
2268
|
-
persistNamespace(db, sessionId, root, {
|
|
2301
|
+
persistNamespace(db, sessionId, row?.deferred_execute_state, root, {
|
|
2302
|
+
...namespace,
|
|
2303
|
+
active: candidate
|
|
2304
|
+
});
|
|
2269
2305
|
if (namespace.active) {
|
|
2270
2306
|
pass.onAdopt?.(`calibration revision ${previousRevision} → ${candidate.revision} adopted (bust=${pass.bustReason ?? "unknown"})`);
|
|
2271
2307
|
}
|
|
@@ -2308,7 +2344,7 @@ function transitionSessionHygieneUnits(db, sessionId, bustPermitted, calibration
|
|
|
2308
2344
|
nudgeLevel.postReduceGraceBaselineU = grace;
|
|
2309
2345
|
}
|
|
2310
2346
|
db.prepare("UPDATE session_meta SET last_nudge_undropped = COALESCE(?, last_nudge_undropped), last_nudge_level = COALESCE(?, last_nudge_level) WHERE session_id = ?").run(lastNudge, nudgeLevel ? JSON.stringify(nudgeLevel) : null, sessionId);
|
|
2311
|
-
persistNamespace(db, sessionId, root, {
|
|
2347
|
+
persistNamespace(db, sessionId, row?.deferred_execute_state, root, {
|
|
2312
2348
|
...namespace,
|
|
2313
2349
|
hygieneUnitsVersion: HYGIENE_PROVIDER_UNITS_VERSION
|
|
2314
2350
|
});
|
|
@@ -9023,4 +9059,4 @@ function deleteToolTagsByOwner(db, sessionId, ownerMsgId) {
|
|
|
9023
9059
|
return getDeleteToolTagsByOwnerStatement(db).all(sessionId, ownerMsgId).length;
|
|
9024
9060
|
}
|
|
9025
9061
|
|
|
9026
|
-
export { protectedToolTagNumbers, protectedToolTokenCount, stripWellFormedLeadingTagPrefix, stripPersistedAssistantText, byteSize, stripTagPrefix, peelLeadingMcTagNotation, prependTag, isThinkingPart, currentReclaimableToolOutputCount, isRecord, contentTagOwnerMessageId, estimateImageTokensFromDataUrl, estimateToolAttachmentImageTokens, providerVisiblePart, providerVisibleMessage, CLEARED_TODO_STATE_JSON, normalizeTodoStateJson, buildSyntheticTodoPart, computeSyntheticCallId, isSyntheticTodoPart, countRealUserMessages, tailHygieneStructuralSignature, sameTailHygieneStructuralSignature, formatTailHygienePrefixMismatch, refreshTailHygieneBaseline, effectiveTailHygiene, assertTailHygieneContentUnchangedIfEnabled, CHANNEL1_SENTINEL, CHANNEL1_FLOOR_TOKENS, isDroppedToolOutput, toolOutputTokens, decideChannel1, evaluateChannel2, formatChannel1Evaluation, formatChannel2Evaluation, buildChannel2Reminder, buildChannel1Reminder, createFinalWireIncompleteLogger, MERGED_REASONING_PARTS_PREFIX, decodeMergedReasoningParts, readFrozenMergedReasoningParts, MAX_EXECUTE_THRESHOLD, escalationBands, HYGIENE_PROVIDER_UNITS_VERSION, sessionDecisionCalibration, transitionSessionHygieneUnits, readEpochFloorSnapshot, getProtectionWindowForSession, CACHED_TRIM_PARTIAL_SQL, SESSION_META_SELECT_COLUMNS, META_COLUMNS, BOOLEAN_META_KEYS, NULL_BIND_META_KEYS, isSessionMetaRow, getDefaultSessionMeta, ensureSessionMetaRow, toSessionMeta, persistCachedM0, clearCachedM0M1, clearCachedM0, withReplayEnvelopeSnapshot, invalidateReplayEnvelopeSnapshot, isRustMarkerAdmissionFenced, setRustMarkerAdmissionFence, ReplayDocumentError, readReplayEnvelope, readReplayDocument, updateReplayDocument, writeReplayDocument, isEmergencyRecoveryArmed, isProviderOverflowReconfirmed, isProviderOverflowFailClosedProven, getEmergencyRecoveryArmedAt, describeProtectedTailDrainBudgetSkip, loadPersistedUsage, loadProtectedTailMeta, markProtectedTailPolicyV3Seeded, recordProtectedTailPublicationFloor, recordProtectedTailNoEligibleHead, resetProtectedTailNoEligibleHead, getWrapupInProgressState, isWrapupInProgress, acquireWrapupInProgress, updateWrapupInProgress, releaseWrapupInProgress, resolveCompactionModeRecord, getCompactionModeRecord, setCompactionModeRecord, getProtectedTailDrainBudgetSkip, reserveProtectedTailDrainTokens, clearEmergencyDrainLatch, recordHistorianDrainFailure, clearHistorianDrainFailure, rollbackProtectedTailDrainReservation, getPersistedReasoningWatermark, setPersistedReasoningWatermark, clearPersistedReasoningWatermark, getEmergencyInputSample, setEmergencyDropSample, clearEmergencyDropSample, getLastNudgeUndropped, setLastNudgeUndropped, getChannel1NudgeState, setChannel1NudgeState, markChannel1PostReduceGracePending, captureChannel1PostReduceGraceBaseline, getChannel2NudgeState, getChannel2NudgeClaim, setChannel2NudgeState, casChannel2NudgeState, claimChannel2NudgeState, casChannel2NudgeClaim, getPersistedNoteNudge, setPersistedNoteNudgeTrigger, setPersistedNoteNudgeTriggerMessageId, getNoteNudgeAnchors, getAutoSearchHintDecisions, deliverNoteNudgeAtomic, appendAutoSearchHintDecision, pruneNoteNudgeAnchors, removeNoteNudgeAnchorByMessageId, pruneAutoSearchHintDecisions, queueAutoSearchHintDecisionRetirement, flushAutoSearchHintDecisionRetirement, removeAutoSearchHintDecisionByMessageId, getPersistedTodoPermissionDenied, setPersistedTodoPermissionDenied, getPersistedTodoSyntheticAnchor, setPersistedTodoSyntheticAnchor, clearPersistedTodoSyntheticAnchor, getNoteLastReadAt, setNoteLastReadAt, getHistorianFailureState, incrementHistorianFailure, clearHistorianFailureState, getOverflowState, loadTransformPassStateSnapshot, recordOverflowDetected, recordDetectedContextLimit, clearEmergencyRecovery, clearDetectedContextLimit, getPersistedCompactionMarkerState, getCompactionMarkerPublicationState, compareAndSetCompactionMarkerPublicationState, setPersistedCompactionMarkerState, getDeferredClearedCompactionMarkerState, retireDeferredClearedCompactionMarkerState, parseStrippedPlaceholderState, serializeStrippedPlaceholderState, getStrippedPlaceholderIds, applyStrippedPlaceholderDelta, removeStrippedPlaceholderId, THINKING_BINDING_RECOVERY_FROZEN_PREFIX, THINKING_BINDING_STRIP_ORDER_END_MARKER, thinkingBindingRecoveryFrozenId, COMPACTION_OFF_THINKING_FROZEN_PREFIX, compactionOffThinkingFrozenId, compactionOffFrozenThinkingIds, getThinkingBindingRecoveryTarget, armThinkingBindingRecovery, noteBindingRecoveryAwaitingClear, bindingRecoveryAwaitingClear, retryBindingRecoveryClear, clearThinkingBindingRecoveryIf, getMergedReasoningStrippedIds, addMergedReasoningStrippedIds, getTrailingBlankDecisions, addTrailingBlankDecisions, demoteTrailingBlankKeepDecisions, getStaleReduceStrippedIds, addStaleReduceStrippedIds, getProcessedImageStrippedIds, parseProcessedImageMarkers, serializeProcessedImageMarkers, getProcessedImageMarkers, addProcessedImageStrippedIds, getPendingCompactionMarkerState, getCompactionMarkerHealth, loadPostprocessReplaySnapshot, setPendingCompactionMarkerState, replacePendingCompactionMarkerStateIf, clearPendingCompactionMarkerStateIf, getPendingPiCompactionMarkerState, clearPendingPiCompactionMarkerStateIf, logPiCompactionMarkerClear, getSessionsWithPendingMarker, cachedHeadCoversPendingCompactionMarker, getObservedEpochFloor, resolveEpochFloorForPass, getReasoningRemovalState, addRemovedReasoningIds, markDropLeavesReasoning, detectThinkingBindingMismatch, detectLatestTurnThinkingMismatch, isPrefixBoundThinkingModel, detectOverflow, overflowLimitToStore, isProviderRateLimit, modelAcceptsEmptyContent, isAnthropicFamilyRoute, neutralizeDroppedReasoningPart, restoreNeutralizedReasoningPart, isNeutralizedReasoningPart, variantChangeBustsProviderCache, makeSentinel, makeWholeMessageSentinel, isSentinel, replaySentinelByMessageIds, isInActiveAnthropicTurn, activeAnthropicTurnStart, hasAnthropicReasoning, markServedShapeRepair, prepareServedShapeRepair, stripSystemInjectedMessages, stripDroppedPlaceholderMessages, replayClearedReasoning, replayStrippedInlineThinking, clearOldReasoning, stripClearedReasoning, captureInlineThinkingRepairs, stripInlineThinking, findReasoningBearingAssistantIds, findLatestAssistantReasoningMutationExemptMessage, snapshotTrailingBlankSourceDecisions, findTrailingBlankDecisionCandidates, applyFrozenTrailingBlankDecisions, stripReasoningFromAssistantIds, findMergedReasoningStripDecisions, stripReasoningFromMergedAssistants, getEmptyImageParts, stripProcessedImages, projectOpencodeReasoningBudgetCutoff, DEFAULT_KEEP_REASONING_TOKENS, resolveKeepReasoningTokens, reasoningStepCost, reasoningBudgetCutoff, reasoningTextAndOpaque, opencodeReasoningBudgetCutoff, describeFinalWireTail, estimatePartImageTokens, openCode2ThinkingPayload, estimateMessageTokens, wireContentBytes, createFinalWireUsageTracker, estimateFinalWireInputTokens, estimateAppendedWireTokens, estimateEmergencyDropReclaimTokens, planEmergencyDrop, measureEmergencyTag, snapshotEmergencyServedMass, tagsSinceReading, emergencyServedMassRemovedSince, queuePendingOp, queuePendingDropForUnchangedTag, getPendingOps, hasPendingDropOps, getPendingOpsCount, clearPendingOps, removePendingOp, updateTagByteSize2, getRecentTagOwnerMessageIds2, getActiveTagTokenAggregate2, AGE_RECLAIM_MIN_TOKENS2, getOldestActiveUnprotectedToolTags2, getActiveToolTagsForAgeReclaim2, getTriggerTagTokenUpperBound2, getActiveTagTokenTotalsByMessage2, updateTagTokenCount2, getPersistedToolTagAccounting2, getAllStatusTagTokenTotalsFlat2, getReasoningTokenEstimatesByMessage2, tryGetReasoningTokenEstimatesByMessage2, getMaxTagNumberByOwnerMessage2, TagOwnerSummaryNotReady2, scanTagOwnerSummary2, cachedTagOwnerRatios2, tagOwnerWarmupState2, scanTagOwnerDelta2, installTagOwnerDelta2, installTagOwnerSummary2, isTagOwnerSummaryReady2, tagTokenCountIsNull2, backfillTagTokenCounts2, insertTag2, updateTagStatus2, markTagDropped2, markWhitespaceAssistantTagInert2, getInertWhitespaceAssistantTags2, getInertWhitespaceAssistantTagsByNumbers2, updateTagDropMode2, updateCavemanDepth2, updateTagMessageId2, hasPiFallbackMessageTags2, findAdoptableFallbackTags2, adoptFallbackTagMessageId2, foldShrunkPartTags2, hasPiFallbackToolOwnerTags2, findPiFallbackToolOwnerTags2, adoptPiFallbackToolOwnerTag2, adoptPiFallbackMessageTag2, markTagsCompactedByMessageIds2, deleteTagsByMessageId2, getMaxTagNumberBySession2, getTagNumberByMessageId2, getAssignableTagNumberByMessageId2, getMinMessageTagNumberForRawId2, deriveTagLoadFloor2, TAG_SELECT_COLUMNS2, getTagsBySession2, getActiveTagsBySession2, getTailHygieneTags2, getDroppedTagsBySession2, getTagsForPendingOperations2, getTagsByNumbers2, getNewestToolTagNumbers2, getDroppedTagsByNumbers2, getMaxDroppedTagNumber2, getTagById2, getTopNBySize2, getToolTagNumberByOwner2, getNullOwnerToolTag2, adoptNullOwnerToolTag2, getCandidateToolOwners2, pickNearestPriorOwner2 };
|
|
9062
|
+
export { protectedToolTagNumbers, protectedToolTokenCount, stripWellFormedLeadingTagPrefix, stripPersistedAssistantText, byteSize, stripTagPrefix, peelLeadingMcTagNotation, prependTag, isThinkingPart, currentReclaimableToolOutputCount, isRecord, TEXT_TAG_IDENTITY_MARKER, contentTagOwnerMessageId, estimateImageTokensFromDataUrl, estimateToolAttachmentImageTokens, providerVisiblePart, providerVisibleMessage, CLEARED_TODO_STATE_JSON, normalizeTodoStateJson, buildSyntheticTodoPart, computeSyntheticCallId, isSyntheticTodoPart, countRealUserMessages, tailHygieneStructuralSignature, sameTailHygieneStructuralSignature, formatTailHygienePrefixMismatch, refreshTailHygieneBaseline, effectiveTailHygiene, assertTailHygieneContentUnchangedIfEnabled, CHANNEL1_SENTINEL, CHANNEL1_FLOOR_TOKENS, isDroppedToolOutput, toolOutputTokens, decideChannel1, evaluateChannel2, formatChannel1Evaluation, formatChannel2Evaluation, buildChannel2Reminder, buildChannel1Reminder, createFinalWireIncompleteLogger, MERGED_REASONING_PARTS_PREFIX, decodeMergedReasoningParts, readFrozenMergedReasoningParts, MAX_EXECUTE_THRESHOLD, escalationBands, HYGIENE_PROVIDER_UNITS_VERSION, sessionDecisionCalibration, transitionSessionHygieneUnits, readEpochFloorSnapshot, getProtectionWindowForSession, CACHED_TRIM_PARTIAL_SQL, SESSION_META_SELECT_COLUMNS, META_COLUMNS, BOOLEAN_META_KEYS, NULL_BIND_META_KEYS, isSessionMetaRow, getDefaultSessionMeta, ensureSessionMetaRow, toSessionMeta, persistCachedM0, clearCachedM0M1, clearCachedM0, withReplayEnvelopeSnapshot, invalidateReplayEnvelopeSnapshot, isRustMarkerAdmissionFenced, setRustMarkerAdmissionFence, ReplayDocumentError, readReplayEnvelope, readReplayDocument, updateReplayDocument, writeReplayDocument, isEmergencyRecoveryArmed, isProviderOverflowReconfirmed, isProviderOverflowFailClosedProven, getEmergencyRecoveryArmedAt, describeProtectedTailDrainBudgetSkip, loadPersistedUsage, loadProtectedTailMeta, markProtectedTailPolicyV3Seeded, recordProtectedTailPublicationFloor, recordProtectedTailNoEligibleHead, resetProtectedTailNoEligibleHead, getWrapupInProgressState, isWrapupInProgress, acquireWrapupInProgress, updateWrapupInProgress, releaseWrapupInProgress, resolveCompactionModeRecord, getCompactionModeRecord, setCompactionModeRecord, EMERGENCY_DRAIN_FAILURE_BACKOFF_MS, getProtectedTailDrainBudgetSkip, reserveProtectedTailDrainTokens, clearEmergencyDrainLatch, recordHistorianDrainFailure, clearHistorianDrainFailure, rollbackProtectedTailDrainReservation, getPersistedReasoningWatermark, setPersistedReasoningWatermark, clearPersistedReasoningWatermark, getEmergencyInputSample, setEmergencyDropSample, clearEmergencyDropSample, getLastNudgeUndropped, setLastNudgeUndropped, getChannel1NudgeState, setChannel1NudgeState, markChannel1PostReduceGracePending, captureChannel1PostReduceGraceBaseline, getChannel2NudgeState, getChannel2NudgeClaim, setChannel2NudgeState, casChannel2NudgeState, claimChannel2NudgeState, casChannel2NudgeClaim, getPersistedNoteNudge, setPersistedNoteNudgeTrigger, setPersistedNoteNudgeTriggerMessageId, getNoteNudgeAnchors, getAutoSearchHintDecisions, deliverNoteNudgeAtomic, appendAutoSearchHintDecision, pruneNoteNudgeAnchors, removeNoteNudgeAnchorByMessageId, pruneAutoSearchHintDecisions, queueAutoSearchHintDecisionRetirement, flushAutoSearchHintDecisionRetirement, removeAutoSearchHintDecisionByMessageId, getPersistedTodoPermissionDenied, setPersistedTodoPermissionDenied, getPersistedTodoSyntheticAnchor, setPersistedTodoSyntheticAnchor, clearPersistedTodoSyntheticAnchor, getNoteLastReadAt, setNoteLastReadAt, getHistorianFailureState, incrementHistorianFailure, clearHistorianFailureState, getOverflowState, loadTransformPassStateSnapshot, recordOverflowDetected, recordDetectedContextLimit, clearEmergencyRecovery, clearDetectedContextLimit, getPersistedCompactionMarkerState, getCompactionMarkerPublicationState, compareAndSetCompactionMarkerPublicationState, setPersistedCompactionMarkerState, getDeferredClearedCompactionMarkerState, retireDeferredClearedCompactionMarkerState, parseStrippedPlaceholderState, serializeStrippedPlaceholderState, getStrippedPlaceholderIds, applyStrippedPlaceholderDelta, removeStrippedPlaceholderId, THINKING_BINDING_RECOVERY_FROZEN_PREFIX, THINKING_BINDING_STRIP_ORDER_END_MARKER, thinkingBindingRecoveryFrozenId, COMPACTION_OFF_THINKING_FROZEN_PREFIX, compactionOffThinkingFrozenId, compactionOffFrozenThinkingIds, getThinkingBindingRecoveryTarget, armThinkingBindingRecovery, noteBindingRecoveryAwaitingClear, bindingRecoveryAwaitingClear, retryBindingRecoveryClear, clearThinkingBindingRecoveryIf, getMergedReasoningStrippedIds, addMergedReasoningStrippedIds, getTrailingBlankDecisions, addTrailingBlankDecisions, demoteTrailingBlankKeepDecisions, getStaleReduceStrippedIds, addStaleReduceStrippedIds, getProcessedImageStrippedIds, parseProcessedImageMarkers, serializeProcessedImageMarkers, getProcessedImageMarkers, addProcessedImageStrippedIds, getPendingCompactionMarkerState, getCompactionMarkerHealth, loadPostprocessReplaySnapshot, setPendingCompactionMarkerState, replacePendingCompactionMarkerStateIf, clearPendingCompactionMarkerStateIf, getPendingPiCompactionMarkerState, clearPendingPiCompactionMarkerStateIf, logPiCompactionMarkerClear, getSessionsWithPendingMarker, cachedHeadCoversPendingCompactionMarker, getObservedEpochFloor, resolveEpochFloorForPass, getReasoningRemovalState, addRemovedReasoningIds, markDropLeavesReasoning, detectThinkingBindingMismatch, detectLatestTurnThinkingMismatch, isPrefixBoundThinkingModel, detectOverflow, overflowLimitToStore, isProviderRateLimit, modelAcceptsEmptyContent, isAnthropicFamilyRoute, neutralizeDroppedReasoningPart, restoreNeutralizedReasoningPart, isNeutralizedReasoningPart, variantChangeBustsProviderCache, makeSentinel, makeWholeMessageSentinel, isSentinel, replaySentinelByMessageIds, isInActiveAnthropicTurn, activeAnthropicTurnStart, hasAnthropicReasoning, markServedShapeRepair, prepareServedShapeRepair, stripSystemInjectedMessages, stripDroppedPlaceholderMessages, replayClearedReasoning, replayStrippedInlineThinking, clearOldReasoning, stripClearedReasoning, captureInlineThinkingRepairs, stripInlineThinking, findReasoningBearingAssistantIds, findLatestAssistantReasoningMutationExemptMessage, snapshotTrailingBlankSourceDecisions, findTrailingBlankDecisionCandidates, applyFrozenTrailingBlankDecisions, stripReasoningFromAssistantIds, findMergedReasoningStripDecisions, stripReasoningFromMergedAssistants, getEmptyImageParts, stripProcessedImages, projectOpencodeReasoningBudgetCutoff, DEFAULT_KEEP_REASONING_TOKENS, resolveKeepReasoningTokens, reasoningStepCost, reasoningBudgetCutoff, reasoningTextAndOpaque, opencodeReasoningBudgetCutoff, describeFinalWireTail, estimatePartImageTokens, openCode2ThinkingPayload, estimateMessageTokens, wireContentBytes, createFinalWireUsageTracker, estimateFinalWireInputTokens, estimateAppendedWireTokens, estimateEmergencyDropReclaimTokens, planEmergencyDrop, measureEmergencyTag, snapshotEmergencyServedMass, tagsSinceReading, emergencyServedMassRemovedSince, queuePendingOp, queuePendingDropForUnchangedTag, getPendingOps, hasPendingDropOps, getPendingOpsCount, clearPendingOps, removePendingOp, updateTagByteSize2, getRecentTagOwnerMessageIds2, getActiveTagTokenAggregate2, AGE_RECLAIM_MIN_TOKENS2, getOldestActiveUnprotectedToolTags2, getActiveToolTagsForAgeReclaim2, getTriggerTagTokenUpperBound2, getActiveTagTokenTotalsByMessage2, updateTagTokenCount2, getPersistedToolTagAccounting2, getAllStatusTagTokenTotalsFlat2, getReasoningTokenEstimatesByMessage2, tryGetReasoningTokenEstimatesByMessage2, getMaxTagNumberByOwnerMessage2, TagOwnerSummaryNotReady2, scanTagOwnerSummary2, cachedTagOwnerRatios2, tagOwnerWarmupState2, scanTagOwnerDelta2, installTagOwnerDelta2, installTagOwnerSummary2, isTagOwnerSummaryReady2, tagTokenCountIsNull2, backfillTagTokenCounts2, insertTag2, updateTagStatus2, markTagDropped2, markWhitespaceAssistantTagInert2, getInertWhitespaceAssistantTags2, getInertWhitespaceAssistantTagsByNumbers2, updateTagDropMode2, updateCavemanDepth2, updateTagMessageId2, hasPiFallbackMessageTags2, findAdoptableFallbackTags2, adoptFallbackTagMessageId2, foldShrunkPartTags2, hasPiFallbackToolOwnerTags2, findPiFallbackToolOwnerTags2, adoptPiFallbackToolOwnerTag2, adoptPiFallbackMessageTag2, markTagsCompactedByMessageIds2, deleteTagsByMessageId2, getMaxTagNumberBySession2, getTagNumberByMessageId2, getAssignableTagNumberByMessageId2, getMinMessageTagNumberForRawId2, deriveTagLoadFloor2, TAG_SELECT_COLUMNS2, getTagsBySession2, getActiveTagsBySession2, getTailHygieneTags2, getDroppedTagsBySession2, getTagsForPendingOperations2, getTagsByNumbers2, getNewestToolTagNumbers2, getDroppedTagsByNumbers2, getMaxDroppedTagNumber2, getTagById2, getTopNBySize2, getToolTagNumberByOwner2, getNullOwnerToolTag2, adoptNullOwnerToolTag2, getCandidateToolOwners2, pickNearestPriorOwner2 };
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
recordToolParameters,
|
|
5
5
|
createDroppedInputToolExecuteBeforeHook,
|
|
6
6
|
readRawSessionMessages2
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-7r11k4xr.js";
|
|
8
8
|
import {
|
|
9
9
|
setHarness2
|
|
10
10
|
} from "./index-pavzsdc6.js";
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
checkCompactionMarkerConsistency,
|
|
59
59
|
clearInjectionCache,
|
|
60
60
|
clearNoteNudgeTriggerOnly
|
|
61
|
-
} from "./index-
|
|
61
|
+
} from "./index-2gewejcz.js";
|
|
62
62
|
import"./index-sd3egckz.js";
|
|
63
63
|
import"./index-gqf8r04r.js";
|
|
64
64
|
import {
|
|
@@ -146,7 +146,7 @@ import {
|
|
|
146
146
|
parameterDescriptionsFor,
|
|
147
147
|
MagicContextRpcServer,
|
|
148
148
|
applyHiddenSubagentTemperature
|
|
149
|
-
} from "./index-
|
|
149
|
+
} from "./index-jm62g83a.js";
|
|
150
150
|
import {
|
|
151
151
|
resolveOpenCodeDbPath,
|
|
152
152
|
openCodeDbPathExists,
|
|
@@ -198,7 +198,7 @@ import {
|
|
|
198
198
|
dropServedRecord,
|
|
199
199
|
registerLkgPersistence,
|
|
200
200
|
dropSlot
|
|
201
|
-
} from "./index-
|
|
201
|
+
} from "./index-pc49a7zt.js";
|
|
202
202
|
import {
|
|
203
203
|
recordSessionProjectIdentity
|
|
204
204
|
} from "./index-r4y0dczp.js";
|
|
@@ -212,7 +212,7 @@ import {
|
|
|
212
212
|
openDatabaseAsync,
|
|
213
213
|
isDatabasePersisted,
|
|
214
214
|
getDatabasePersistenceError
|
|
215
|
-
} from "./index-
|
|
215
|
+
} from "./index-c81tggen.js";
|
|
216
216
|
import {
|
|
217
217
|
registerExitAbort,
|
|
218
218
|
unregisterExitAbort
|
|
@@ -228,11 +228,11 @@ import"./index-fr0wbhdn.js";
|
|
|
228
228
|
import {
|
|
229
229
|
preloadTokenizer
|
|
230
230
|
} from "./index-s7460efs.js";
|
|
231
|
-
import"./index-
|
|
231
|
+
import"./index-j7n64sg4.js";
|
|
232
232
|
import {
|
|
233
233
|
getDefaultSubcConnectionFile,
|
|
234
234
|
SubcModuleTransport
|
|
235
|
-
} from "./index-
|
|
235
|
+
} from "./index-7skgrbsg.js";
|
|
236
236
|
import"./index-qt1qqasc.js";
|
|
237
237
|
import"./index-e6ncz7a6.js";
|
|
238
238
|
import {
|
|
@@ -284,7 +284,7 @@ import {
|
|
|
284
284
|
isAnthropicFamilyRoute,
|
|
285
285
|
deleteTagsByMessageId2,
|
|
286
286
|
getMaxTagNumberBySession2
|
|
287
|
-
} from "./index-
|
|
287
|
+
} from "./index-zk6gtf43.js";
|
|
288
288
|
import {
|
|
289
289
|
resolveHistorianModel2,
|
|
290
290
|
resolveOpenCodeAgentOverrides2,
|
|
@@ -300,22 +300,22 @@ import {
|
|
|
300
300
|
getEmbedDrainUiStatus,
|
|
301
301
|
clearEmbedSessionState
|
|
302
302
|
} from "./index-2amn2s73.js";
|
|
303
|
-
import"./index-
|
|
303
|
+
import"./index-ejgp0z9p.js";
|
|
304
304
|
import {
|
|
305
305
|
deleteIndexedMessage
|
|
306
|
-
} from "./index-
|
|
307
|
-
import"./index-
|
|
306
|
+
} from "./index-esacb9d0.js";
|
|
307
|
+
import"./index-tr4ep2ej.js";
|
|
308
308
|
import"./index-mjy2k9jr.js";
|
|
309
309
|
import {
|
|
310
310
|
pushNotification2
|
|
311
311
|
} from "./index-y14pawe1.js";
|
|
312
|
-
import"./index-
|
|
312
|
+
import"./index-xjaf9g90.js";
|
|
313
313
|
import {
|
|
314
314
|
getEmbeddingCoverageStatus2
|
|
315
|
-
} from "./index-
|
|
315
|
+
} from "./index-tedck05r.js";
|
|
316
316
|
import"./index-qjwpqvnf.js";
|
|
317
|
-
import"./index-
|
|
318
|
-
import"./index-
|
|
317
|
+
import"./index-qmm8xpbc.js";
|
|
318
|
+
import"./index-3ywyr4zx.js";
|
|
319
319
|
import"./index-9emdjcb5.js";
|
|
320
320
|
import"./index-832w615x.js";
|
|
321
321
|
import {
|
|
@@ -338,13 +338,13 @@ import {
|
|
|
338
338
|
armBindingRecoverySafely,
|
|
339
339
|
collectForeignTextParts,
|
|
340
340
|
resetDegradedCacheCount2
|
|
341
|
-
} from "./index-
|
|
341
|
+
} from "./index-3tmbvn0z.js";
|
|
342
342
|
import {
|
|
343
343
|
scheduleClearAndReindex
|
|
344
|
-
} from "./index-
|
|
344
|
+
} from "./index-47hst5me.js";
|
|
345
345
|
import {
|
|
346
346
|
runManagedRecomp2
|
|
347
|
-
} from "./index-
|
|
347
|
+
} from "./index-ewta5h87.js";
|
|
348
348
|
import {
|
|
349
349
|
isValidSemver,
|
|
350
350
|
compareSemverCore
|
|
@@ -352,11 +352,11 @@ import {
|
|
|
352
352
|
import"./index-fmsr7v69.js";
|
|
353
353
|
import {
|
|
354
354
|
runManagedWrapup2
|
|
355
|
-
} from "./index-
|
|
356
|
-
import"./index-
|
|
357
|
-
import"./index-
|
|
358
|
-
import"./index-
|
|
359
|
-
import"./index-
|
|
355
|
+
} from "./index-2v9qpmb3.js";
|
|
356
|
+
import"./index-yzzxb5e1.js";
|
|
357
|
+
import"./index-xe34pwb6.js";
|
|
358
|
+
import"./index-7dzaamqg.js";
|
|
359
|
+
import"./index-wqwjawer.js";
|
|
360
360
|
import {
|
|
361
361
|
__toESM,
|
|
362
362
|
__commonJS
|
|
@@ -8212,7 +8212,7 @@ var require_src2 = __commonJS(function(exports, module) {
|
|
|
8212
8212
|
// package.json
|
|
8213
8213
|
var package_default = {
|
|
8214
8214
|
name: "@cortexkit/opencode-magic-context",
|
|
8215
|
-
version: "0.49.
|
|
8215
|
+
version: "0.49.95",
|
|
8216
8216
|
type: "module",
|
|
8217
8217
|
description: "OpenCode plugin for Magic Context — cross-session memory and context management",
|
|
8218
8218
|
main: "dist/index.js",
|
|
@@ -11868,7 +11868,7 @@ async function sendOpenCodeRefusal(client, sessionId, message, refusal) {
|
|
|
11868
11868
|
sessionLog2(sessionId, "refusal notice skipped: no terminal viewing the session", refusal.name);
|
|
11869
11869
|
}
|
|
11870
11870
|
if (storageBusy) {
|
|
11871
|
-
const { abortSessionFailClosed } = await importPluginModule(() => import("./transform-postprocess-phase-
|
|
11871
|
+
const { abortSessionFailClosed } = await importPluginModule(() => import("./transform-postprocess-phase-r1xhsjrh.js"));
|
|
11872
11872
|
await abortSessionFailClosed(client, sessionId);
|
|
11873
11873
|
}
|
|
11874
11874
|
}
|
|
@@ -12138,7 +12138,7 @@ async function setup(context) {
|
|
|
12138
12138
|
if (claimStorageBackupWarningCheck() && isMagicContextStorageOutsideEngram(storageDir)) {
|
|
12139
12139
|
log2(`[magic-context] Magic Context storage is at ${storageDir}, outside the folder Engram backs up (~/.local/share/cortexkit/magic-context). It is not included in CortexKit backups.`);
|
|
12140
12140
|
}
|
|
12141
|
-
const { registerContext } = await import("./context-
|
|
12141
|
+
const { registerContext } = await import("./context-h9x9m2p3.js");
|
|
12142
12142
|
setHarness2("opencode2");
|
|
12143
12143
|
bindStaleBuildNotice({}, import.meta.url, "opencode2");
|
|
12144
12144
|
const duties = await registerContext(context);
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
yieldIndexChunk2
|
|
5
5
|
} from "./index-gzy5w8ya.js";
|
|
6
6
|
import"./index-1zx87sdm.js";
|
|
7
|
-
import"./index-
|
|
7
|
+
import"./index-zk6gtf43.js";
|
|
8
8
|
import"./index-s7460efs.js";
|
|
9
9
|
import"./index-pavzsdc6.js";
|
|
10
10
|
import"./index-ywrz4wy2.js";
|
|
@@ -17,7 +17,7 @@ import"./index-1d042x6w.js";
|
|
|
17
17
|
import"./index-q7q6qp1f.js";
|
|
18
18
|
import"./index-58e3y90n.js";
|
|
19
19
|
import"./index-sp5pvs95.js";
|
|
20
|
-
import"./index-
|
|
20
|
+
import"./index-7r11k4xr.js";
|
|
21
21
|
import {
|
|
22
22
|
MESSAGE_INDEX_MAX_FTS_BYTES,
|
|
23
23
|
messageIndexSkipKey,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
markMessageIndexDirty,
|
|
26
26
|
getIndexableContent,
|
|
27
27
|
indexSingleMessage
|
|
28
|
-
} from "./index-
|
|
28
|
+
} from "./index-esacb9d0.js";
|
|
29
29
|
import"./index-s32f8y67.js";
|
|
30
30
|
import"./index-m0pwswv9.js";
|
|
31
31
|
|
package/dist/migration-worker.js
CHANGED
package/dist/{project-embedding-registry-m8zcmrsg.js → project-embedding-registry-az68q792.js}
RENAMED
|
@@ -39,15 +39,15 @@ import {
|
|
|
39
39
|
sweepAllRegisteredProjects2,
|
|
40
40
|
_setTestProviderFactoryForProject2,
|
|
41
41
|
_resetProjectEmbeddingRegistryForTests2
|
|
42
|
-
} from "./index-
|
|
42
|
+
} from "./index-tedck05r.js";
|
|
43
43
|
import"./index-qjwpqvnf.js";
|
|
44
44
|
import"./index-2amn2s73.js";
|
|
45
45
|
import"./index-qt1qqasc.js";
|
|
46
|
-
import"./index-
|
|
46
|
+
import"./index-xjaf9g90.js";
|
|
47
47
|
import"./index-y915t3ey.js";
|
|
48
48
|
import"./index-r4y0dczp.js";
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
49
|
+
import"./index-ejgp0z9p.js";
|
|
50
|
+
import"./index-j7n64sg4.js";
|
|
51
51
|
import"./index-5pgyqgmx.js";
|
|
52
52
|
import"./index-s32f8y67.js";
|
|
53
53
|
import"./index-q7q6qp1f.js";
|
|
@@ -19,7 +19,7 @@ serveWorkerJobs(async (input, port) => {
|
|
|
19
19
|
await main();
|
|
20
20
|
async function main() {
|
|
21
21
|
if (input.v2ArchiveReader) {
|
|
22
|
-
const { serveV2ArchiveReads } = await import("./v2-archive-reader-
|
|
22
|
+
const { serveV2ArchiveReads } = await import("./v2-archive-reader-x62hsr4c.js");
|
|
23
23
|
await serveV2ArchiveReads(port, openConnections);
|
|
24
24
|
return;
|
|
25
25
|
}
|
|
@@ -51,7 +51,7 @@ serveWorkerJobs(async (input, port) => {
|
|
|
51
51
|
await runMessageFtsRowidMapBackfill(db);
|
|
52
52
|
reply = { kind: "fts-rowid-backfill" };
|
|
53
53
|
} else if (input.searchArchive) {
|
|
54
|
-
const { renderSearchArchive } = await import("./search-archive-
|
|
54
|
+
const { renderSearchArchive } = await import("./search-archive-s9t3exc1.js");
|
|
55
55
|
const { readRawSessionMessageIdOrdinalsForRangeFromDb } = await import("./read-session-raw-3sc9231y.js");
|
|
56
56
|
const archive = input.searchArchive;
|
|
57
57
|
let raw;
|
|
@@ -65,7 +65,7 @@ serveWorkerJobs(async (input, port) => {
|
|
|
65
65
|
openConnections.add(raw);
|
|
66
66
|
raw.exec("PRAGMA busy_timeout = 250");
|
|
67
67
|
return readRawSessionMessageIdOrdinalsForRangeFromDb(raw, input.sessionId, archive.start, archive.end);
|
|
68
|
-
})
|
|
68
|
+
}, archive.liveTailAfter)
|
|
69
69
|
};
|
|
70
70
|
} finally {
|
|
71
71
|
if (raw)
|
|
@@ -81,7 +81,7 @@ serveWorkerJobs(async (input, port) => {
|
|
|
81
81
|
const { setHarness } = await import("./harness-e4avh192.js");
|
|
82
82
|
setHarness(input.harness ?? "opencode");
|
|
83
83
|
const [{ indexMessageInShortChunks }, { configureContextDatabasePragmas }] = await Promise.all([
|
|
84
|
-
import("./message-index-bounded-
|
|
84
|
+
import("./message-index-bounded-d3x8rhpz.js"),
|
|
85
85
|
import("./sqlite-context-pragmas-mv9jqwjh.js")
|
|
86
86
|
]);
|
|
87
87
|
configureContextDatabasePragmas(db);
|
|
@@ -95,7 +95,7 @@ serveWorkerJobs(async (input, port) => {
|
|
|
95
95
|
measurements: result.measurements
|
|
96
96
|
};
|
|
97
97
|
} else if (input.tagRatio !== undefined) {
|
|
98
|
-
const { scanTagOwnerSummary, scanTagOwnerDelta } = await import("./storage-tags-
|
|
98
|
+
const { scanTagOwnerSummary, scanTagOwnerDelta } = await import("./storage-tags-xvbje7jm.js");
|
|
99
99
|
const delta = input.tagState ? scanTagOwnerDelta(db, input.sessionId, input.tagState) : null;
|
|
100
100
|
if (delta)
|
|
101
101
|
reply = { kind: "tag-delta", delta };
|
|
@@ -38,8 +38,8 @@ import {
|
|
|
38
38
|
readSessionChunk2,
|
|
39
39
|
getRawSessionMessageIdsThrough2,
|
|
40
40
|
readRawSessionSeedTail2
|
|
41
|
-
} from "./index-
|
|
42
|
-
import"./index-
|
|
41
|
+
} from "./index-7r11k4xr.js";
|
|
42
|
+
import"./index-zk6gtf43.js";
|
|
43
43
|
import"./index-1zx87sdm.js";
|
|
44
44
|
import"./index-sp5pvs95.js";
|
|
45
45
|
import"./index-y915t3ey.js";
|
|
@@ -7,36 +7,36 @@ import {
|
|
|
7
7
|
setRecompTerminal2,
|
|
8
8
|
buildRecompDeps2,
|
|
9
9
|
runManagedRecomp2
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
10
|
+
} from "./index-ewta5h87.js";
|
|
11
|
+
import"./index-2gewejcz.js";
|
|
12
12
|
import"./index-832w615x.js";
|
|
13
13
|
import"./index-sd3egckz.js";
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
14
|
+
import"./index-qmm8xpbc.js";
|
|
15
|
+
import"./index-3ywyr4zx.js";
|
|
16
16
|
import"./index-9emdjcb5.js";
|
|
17
|
-
import"./index-
|
|
17
|
+
import"./index-tedck05r.js";
|
|
18
18
|
import"./index-qjwpqvnf.js";
|
|
19
|
-
import"./index-
|
|
19
|
+
import"./index-pc49a7zt.js";
|
|
20
20
|
import"./index-mjy2k9jr.js";
|
|
21
|
-
import"./index-
|
|
21
|
+
import"./index-esacb9d0.js";
|
|
22
22
|
import"./index-2amn2s73.js";
|
|
23
|
-
import"./index-
|
|
23
|
+
import"./index-tr4ep2ej.js";
|
|
24
24
|
import"./index-xsqw8kbd.js";
|
|
25
25
|
import"./index-fqth7850.js";
|
|
26
26
|
import"./index-9ffntwyr.js";
|
|
27
27
|
import"./index-qt1qqasc.js";
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
28
|
+
import"./index-7r11k4xr.js";
|
|
29
|
+
import"./index-zk6gtf43.js";
|
|
30
30
|
import"./index-1zx87sdm.js";
|
|
31
31
|
import"./index-sp5pvs95.js";
|
|
32
32
|
import"./index-y14pawe1.js";
|
|
33
33
|
import"./index-e6ncz7a6.js";
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-xjaf9g90.js";
|
|
35
35
|
import"./index-y915t3ey.js";
|
|
36
36
|
import"./index-r4y0dczp.js";
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
37
|
+
import"./index-ejgp0z9p.js";
|
|
38
|
+
import"./index-j7n64sg4.js";
|
|
39
|
+
import"./index-c81tggen.js";
|
|
40
40
|
import"./index-fb3zxn06.js";
|
|
41
41
|
import"./index-jba6ny4m.js";
|
|
42
42
|
import"./index-fr0wbhdn.js";
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
renderMessageByOrdinal2,
|
|
3
3
|
renderVerboseRangeForTool2,
|
|
4
4
|
renderItemByTag2
|
|
5
|
-
} from "./index-
|
|
6
|
-
import"./index-
|
|
5
|
+
} from "./index-yzzxb5e1.js";
|
|
6
|
+
import"./index-pc49a7zt.js";
|
|
7
7
|
import"./index-mjy2k9jr.js";
|
|
8
|
-
import"./index-
|
|
8
|
+
import"./index-esacb9d0.js";
|
|
9
9
|
import"./index-2amn2s73.js";
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
10
|
+
import"./index-tr4ep2ej.js";
|
|
11
|
+
import"./index-7r11k4xr.js";
|
|
12
|
+
import"./index-zk6gtf43.js";
|
|
13
13
|
import"./index-1zx87sdm.js";
|
|
14
14
|
import"./index-sp5pvs95.js";
|
|
15
15
|
import"./index-y915t3ey.js";
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
16
|
+
import"./index-ejgp0z9p.js";
|
|
17
|
+
import"./index-j7n64sg4.js";
|
|
18
|
+
import"./index-c81tggen.js";
|
|
19
19
|
import"./index-fb3zxn06.js";
|
|
20
20
|
import"./index-jba6ny4m.js";
|
|
21
21
|
import"./index-fr0wbhdn.js";
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
+
unresolvedLiveTailRefusal2,
|
|
2
3
|
renderSearchArchive2,
|
|
3
4
|
renderSearchArchiveOffThread2
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
5
|
+
} from "./index-wqwjawer.js";
|
|
6
|
+
import"./index-7dzaamqg.js";
|
|
7
|
+
import"./index-xe34pwb6.js";
|
|
8
|
+
import"./index-7r11k4xr.js";
|
|
9
|
+
import"./index-zk6gtf43.js";
|
|
9
10
|
import"./index-1zx87sdm.js";
|
|
10
11
|
import"./index-sp5pvs95.js";
|
|
11
12
|
import"./index-y915t3ey.js";
|
|
@@ -23,5 +24,6 @@ import"./index-z4p0ry94.js";
|
|
|
23
24
|
import"./index-1d042x6w.js";
|
|
24
25
|
export {
|
|
25
26
|
renderSearchArchive2 as renderSearchArchive,
|
|
26
|
-
renderSearchArchiveOffThread2 as renderSearchArchiveOffThread
|
|
27
|
+
renderSearchArchiveOffThread2 as renderSearchArchiveOffThread,
|
|
28
|
+
unresolvedLiveTailRefusal2 as unresolvedLiveTailRefusal
|
|
27
29
|
};
|
|
@@ -5,27 +5,27 @@ import {
|
|
|
5
5
|
resolveMemoriesByIdsForSearch2,
|
|
6
6
|
unifiedSearch2,
|
|
7
7
|
formatSearchResults2
|
|
8
|
-
} from "./index-
|
|
9
|
-
import"./index-
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
8
|
+
} from "./index-7skgrbsg.js";
|
|
9
|
+
import"./index-47hst5me.js";
|
|
10
|
+
import"./index-xe34pwb6.js";
|
|
11
|
+
import"./index-qmm8xpbc.js";
|
|
12
|
+
import"./index-3ywyr4zx.js";
|
|
13
13
|
import"./index-9emdjcb5.js";
|
|
14
|
-
import"./index-
|
|
14
|
+
import"./index-tedck05r.js";
|
|
15
15
|
import"./index-qjwpqvnf.js";
|
|
16
16
|
import"./index-mjy2k9jr.js";
|
|
17
|
-
import"./index-
|
|
17
|
+
import"./index-esacb9d0.js";
|
|
18
18
|
import"./index-2amn2s73.js";
|
|
19
19
|
import"./index-qt1qqasc.js";
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
20
|
+
import"./index-7r11k4xr.js";
|
|
21
|
+
import"./index-zk6gtf43.js";
|
|
22
22
|
import"./index-1zx87sdm.js";
|
|
23
23
|
import"./index-sp5pvs95.js";
|
|
24
|
-
import"./index-
|
|
24
|
+
import"./index-xjaf9g90.js";
|
|
25
25
|
import"./index-y915t3ey.js";
|
|
26
26
|
import"./index-r4y0dczp.js";
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
27
|
+
import"./index-ejgp0z9p.js";
|
|
28
|
+
import"./index-j7n64sg4.js";
|
|
29
29
|
import"./index-jba6ny4m.js";
|
|
30
30
|
import"./index-fr0wbhdn.js";
|
|
31
31
|
import"./index-5pgyqgmx.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storage-file-mutex.d.ts","sourceRoot":"","sources":["../../src/shared/storage-file-mutex.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"storage-file-mutex.d.ts","sourceRoot":"","sources":["../../src/shared/storage-file-mutex.ts"],"names":[],"mappings":"AAwDA;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,EAAE,SAAS,SAAO,GAAG,CAAC,CAiG7F"}
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
readV2RawMessagePagesForConversion2,
|
|
9
9
|
createV2RawMessageReader2,
|
|
10
10
|
createV2RawMessageProvider2
|
|
11
|
-
} from "./index-
|
|
12
|
-
import"./index-
|
|
11
|
+
} from "./index-tm799pq7.js";
|
|
12
|
+
import"./index-tr4ep2ej.js";
|
|
13
13
|
import"./index-wh9fxds5.js";
|
|
14
14
|
import"./index-58e3y90n.js";
|
|
15
15
|
import"./index-gzy5w8ya.js";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { ContextDatabase } from "../../features/magic-context/storage";
|
|
2
2
|
/** @internal Counts every archive render so tests can detect accidental serving-thread reads. */
|
|
3
3
|
export declare function getArchiveReadsOnThisThreadForTest(): number;
|
|
4
|
+
export declare function unresolvedLiveTailRefusal(db: ContextDatabase, sessionId: string, start: number, end: number, lastCompartmentEnd: number): string | null;
|
|
4
5
|
/** Recover indexed text when the host no longer holds the cited messages. */
|
|
5
|
-
export declare function renderSearchArchive(db: ContextDatabase, sessionId: string, start: number, end: number, tokenBudget: number, archiveOnly?: boolean, readRawIds?: () => Map<string, number
|
|
6
|
+
export declare function renderSearchArchive(db: ContextDatabase, sessionId: string, start: number, end: number, tokenBudget: number, archiveOnly?: boolean, readRawIds?: () => Map<string, number>, liveTailAfter?: number): string | null;
|
|
6
7
|
/** File-backed archive and exact raw-ordinal scans must not run on the serving thread. */
|
|
7
|
-
export declare function renderSearchArchiveOffThread(db: ContextDatabase, sessionId: string, start: number, end: number, tokenBudget: number, archiveOnly?: boolean): Promise<string | null>;
|
|
8
|
+
export declare function renderSearchArchiveOffThread(db: ContextDatabase, sessionId: string, start: number, end: number, tokenBudget: number, archiveOnly?: boolean, liveTailAfter?: number): Promise<string | null>;
|
|
8
9
|
//# sourceMappingURL=search-archive.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-archive.d.ts","sourceRoot":"","sources":["../../../src/tools/ctx-expand/search-archive.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-archive.d.ts","sourceRoot":"","sources":["../../../src/tools/ctx-expand/search-archive.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAsB5E,iGAAiG;AACjG,wBAAgB,kCAAkC,IAAI,MAAM,CAE3D;AAMD,wBAAgB,yBAAyB,CACrC,EAAE,EAAE,eAAe,EACnB,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,EACb,GAAG,EAAE,MAAM,EACX,kBAAkB,EAAE,MAAM,GAC3B,MAAM,GAAG,IAAI,CAIf;AAED,6EAA6E;AAC7E,wBAAgB,mBAAmB,CAC/B,EAAE,EAAE,eAAe,EACnB,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,EACb,GAAG,EAAE,MAAM,EACX,WAAW,EAAE,MAAM,EACnB,WAAW,UAAQ,EACnB,UAAU,4BAAuE,EACjF,aAAa,CAAC,EAAE,MAAM,GACvB,MAAM,GAAG,IAAI,CA8Df;AAED,0FAA0F;AAC1F,wBAAsB,4BAA4B,CAC9C,EAAE,EAAE,eAAe,EACnB,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,EACb,GAAG,EAAE,MAAM,EACX,WAAW,EAAE,MAAM,EACnB,WAAW,UAAQ,EACnB,aAAa,CAAC,EAAE,MAAM,GACvB,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CA2ExB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../src/tools/ctx-expand/tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAQ,MAAM,qBAAqB,CAAC;AAEhE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAM5E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAK7E,OAAO,EACH,KAAK,mBAAmB,EAI3B,MAAM,UAAU,CAAC;AAKlB,OAAO,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAC;AAErE,MAAM,WAAW,iBAAiB;IAC9B,EAAE,EAAE,eAAe,CAAC;IACpB,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C;;;;;;;OAOG;IACH,aAAa,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;CACjC;AAED,oFAAoF;AACpF,eAAO,MAAM,2BAA2B,uWACsT,CAAC;
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../src/tools/ctx-expand/tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAQ,MAAM,qBAAqB,CAAC;AAEhE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAM5E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAK7E,OAAO,EACH,KAAK,mBAAmB,EAI3B,MAAM,UAAU,CAAC;AAKlB,OAAO,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAC;AAErE,MAAM,WAAW,iBAAiB;IAC9B,EAAE,EAAE,eAAe,CAAC;IACpB,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C;;;;;;;OAOG;IACH,aAAa,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;CACjC;AAED,oFAAoF;AACpF,eAAO,MAAM,2BAA2B,uWACsT,CAAC;AA4M/V,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAI5F"}
|