@cortexkit/opencode-magic-context 0.49.67 → 0.49.68
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 +1 -1
- package/dist/chunk-embedding-write-worker.js +1 -1
- package/dist/{context-1acz1d4x.js → context-45s8k2z1.js} +15 -15
- package/dist/hooks/magic-context/final-wire-completeness.d.ts.map +1 -1
- package/dist/hooks/magic-context/final-wire-token-estimate.d.ts.map +1 -1
- package/dist/hooks/magic-context/image-token-estimate.d.ts +2 -0
- package/dist/hooks/magic-context/image-token-estimate.d.ts.map +1 -1
- package/dist/{index-t20q6aj6.js → index-50kb03a8.js} +44 -4
- package/dist/{index-xmk2a6pq.js → index-6az16nk1.js} +2 -2
- package/dist/{index-g53qhdrb.js → index-8xzxx8ww.js} +1 -1
- package/dist/{index-q73yeb83.js → index-9ej822m7.js} +1 -1
- package/dist/{index-8a1m48va.js → index-9rcfa1mj.js} +3 -3
- package/dist/{index-3v5mfapn.js → index-b4m3e6hp.js} +1 -1
- package/dist/{index-z10dryn5.js → index-gcbwag0s.js} +5 -5
- package/dist/{index-nfvyraa3.js → index-h1r752qh.js} +4 -4
- package/dist/{index-gy33sq5h.js → index-j87shhef.js} +6 -6
- package/dist/{index-w6fh4v87.js → index-ng6gfs0y.js} +6 -3
- package/dist/{index-m6cv2hv3.js → index-nn2tvw8c.js} +3 -3
- package/dist/{index-fybdhbd4.js → index-p18ycyd3.js} +2 -2
- package/dist/{index-m47yte97.js → index-tcsej1z7.js} +5 -5
- package/dist/{index-2t9e10mt.js → index-tdz2yrtq.js} +15 -15
- package/dist/{index-2x46rnct.js → index-vqb038xf.js} +1 -1
- package/dist/{index-ngrrs3yb.js → index-x48amv92.js} +1 -1
- package/dist/index.js +18 -18
- package/dist/{message-index-bounded-f27039js.js → message-index-bounded-gbvck1sn.js} +3 -3
- package/dist/migration-worker.js +1 -1
- package/dist/raw-ordinal-warmup-worker.js +4 -4
- package/dist/{read-session-chunk-4ma2vsva.js → read-session-chunk-pf17ry28.js} +2 -2
- package/dist/{recomp-orchestrator-p9c4jg9m.js → recomp-orchestrator-xkwv21gx.js} +7 -7
- package/dist/{render-h16ea0th.js → render-fpzx40a6.js} +6 -6
- package/dist/{search-archive-km2ahm3e.js → search-archive-fvswev6b.js} +4 -4
- package/dist/{search-m9rpnh7m.js → search-n3c00q00.js} +5 -5
- package/dist/{storage-tags-ktp70q1e.js → storage-tags-k7r6mh7y.js} +1 -1
- package/dist/{store-h20ny8b8.js → store-h2a1g3wh.js} +1 -1
- package/dist/{transform-postprocess-phase-120s1ep8.js → transform-postprocess-phase-te4p4f1r.js} +8 -8
- package/dist/v2/auto-search-worker.js +1 -1
- package/dist/v2/chunk-embedding-write-worker.js +1 -1
- package/dist/v2/{context-p0z7mrsf.js → context-afpzfn3v.js} +13 -13
- package/dist/v2/fold/restore.d.ts.map +1 -1
- package/dist/v2/{message-index-bounded-td516y9c.js → message-index-bounded-6mh661z7.js} +3 -3
- package/dist/v2/migration-worker.js +1 -1
- package/dist/v2/raw-ordinal-warmup-worker.js +4 -4
- package/dist/v2/{read-session-chunk-6dz32wmh.js → read-session-chunk-vzah3d38.js} +2 -2
- package/dist/v2/{recomp-orchestrator-ayy7xzm3.js → recomp-orchestrator-r680z2yp.js} +6 -6
- package/dist/v2/{render-gqp4fwqn.js → render-rreeqwtd.js} +6 -6
- package/dist/v2/{search-archive-qn82j8k0.js → search-archive-jrmydwtk.js} +4 -4
- package/dist/v2/{search-dhekqtfc.js → search-y6xf7rek.js} +4 -4
- package/dist/v2/{server-jew1m85s.js → server-0n9297e9.js} +1 -1
- package/dist/v2/{server-5zzt9rah.js → server-474m6n9v.js} +6 -3
- package/dist/v2/{server-s1a0bwpc.js → server-6j81j52a.js} +1 -1
- package/dist/v2/{server-34vhmd1d.js → server-8p0b0p5q.js} +2 -2
- package/dist/v2/{server-xwcg55a8.js → server-cf2w8xyq.js} +4 -4
- package/dist/v2/{server-77207nf4.js → server-f1ryxejb.js} +2 -2
- package/dist/v2/{server-verzg5w8.js → server-fwxm5t54.js} +44 -4
- package/dist/v2/{server-n6hdj0fn.js → server-j0jy9twd.js} +5 -5
- package/dist/v2/{server-q8ta10e5.js → server-mm00e4hd.js} +1 -1
- package/dist/v2/{server-s66wvkpf.js → server-tky6gx9c.js} +2 -2
- package/dist/v2/{server-166m5nrw.js → server-ygjd2cys.js} +1 -1
- package/dist/v2/server.js +2 -2
- package/dist/v2/{storage-tags-qe8r1n9w.js → storage-tags-nxg71m93.js} +1 -1
- package/dist/v2/{store-skkhh3rd.js → store-4se2a0n0.js} +1 -1
- package/dist/v2/{v2-archive-reader-tbjwxvc5.js → v2-archive-reader-f1k1g9tx.js} +1 -1
- package/dist/v2/{wrapup-orchestrator-ksdzyfby.js → wrapup-orchestrator-kgf60271.js} +6 -6
- package/dist/{v2-archive-reader-j16k987e.js → v2-archive-reader-asajy6ts.js} +1 -1
- package/dist/{wrapup-orchestrator-w09bkgmk.js → wrapup-orchestrator-gr88denr.js} +8 -8
- package/package.json +1 -1
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-9ej822m7.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-tcsej1z7.js";
|
|
62
62
|
import"./index-sd3egckz.js";
|
|
63
63
|
import {
|
|
64
64
|
hasTrustedAbsoluteWall,
|
|
@@ -143,7 +143,7 @@ import {
|
|
|
143
143
|
parameterDescriptionsFor,
|
|
144
144
|
MagicContextRpcServer,
|
|
145
145
|
applyHiddenSubagentTemperature
|
|
146
|
-
} from "./index-
|
|
146
|
+
} from "./index-tdz2yrtq.js";
|
|
147
147
|
import {
|
|
148
148
|
resolveOpenCodeDbPath,
|
|
149
149
|
openCodeDbPathExists,
|
|
@@ -195,7 +195,7 @@ import {
|
|
|
195
195
|
dropServedRecord,
|
|
196
196
|
registerLkgPersistence,
|
|
197
197
|
dropSlot
|
|
198
|
-
} from "./index-
|
|
198
|
+
} from "./index-x48amv92.js";
|
|
199
199
|
import {
|
|
200
200
|
recordSessionProjectIdentity
|
|
201
201
|
} from "./index-jg7sbt3v.js";
|
|
@@ -210,7 +210,7 @@ import {
|
|
|
210
210
|
openDatabaseAsync,
|
|
211
211
|
isDatabasePersisted,
|
|
212
212
|
getDatabasePersistenceError
|
|
213
|
-
} from "./index-
|
|
213
|
+
} from "./index-8xzxx8ww.js";
|
|
214
214
|
import {
|
|
215
215
|
registerExitAbort,
|
|
216
216
|
unregisterExitAbort
|
|
@@ -230,7 +230,7 @@ import"./index-pxnzyvjc.js";
|
|
|
230
230
|
import {
|
|
231
231
|
getDefaultSubcConnectionFile,
|
|
232
232
|
SubcModuleTransport
|
|
233
|
-
} from "./index-
|
|
233
|
+
} from "./index-nn2tvw8c.js";
|
|
234
234
|
import"./index-qt1qqasc.js";
|
|
235
235
|
import"./index-e6ncz7a6.js";
|
|
236
236
|
import {
|
|
@@ -280,7 +280,7 @@ import {
|
|
|
280
280
|
isAnthropicFamilyRoute,
|
|
281
281
|
deleteTagsByMessageId2,
|
|
282
282
|
getMaxTagNumberBySession2
|
|
283
|
-
} from "./index-
|
|
283
|
+
} from "./index-50kb03a8.js";
|
|
284
284
|
import {
|
|
285
285
|
resolveHistorianModel2,
|
|
286
286
|
resolveOpenCodeAgentOverrides2,
|
|
@@ -293,7 +293,7 @@ import {
|
|
|
293
293
|
import"./index-snbpdpa3.js";
|
|
294
294
|
import {
|
|
295
295
|
deleteIndexedMessage
|
|
296
|
-
} from "./index-
|
|
296
|
+
} from "./index-vqb038xf.js";
|
|
297
297
|
import"./index-6athgjba.js";
|
|
298
298
|
import"./index-tebcx987.js";
|
|
299
299
|
import {
|
|
@@ -317,13 +317,13 @@ import {
|
|
|
317
317
|
armBindingRecoverySafely,
|
|
318
318
|
collectForeignTextParts,
|
|
319
319
|
resetDegradedCacheCount2
|
|
320
|
-
} from "./index-
|
|
320
|
+
} from "./index-j87shhef.js";
|
|
321
321
|
import {
|
|
322
322
|
scheduleClearAndReindex
|
|
323
|
-
} from "./index-
|
|
323
|
+
} from "./index-b4m3e6hp.js";
|
|
324
324
|
import {
|
|
325
325
|
runManagedRecomp2
|
|
326
|
-
} from "./index-
|
|
326
|
+
} from "./index-9rcfa1mj.js";
|
|
327
327
|
import {
|
|
328
328
|
isValidSemver,
|
|
329
329
|
compareSemverCore
|
|
@@ -331,11 +331,11 @@ import {
|
|
|
331
331
|
import"./index-fmsr7v69.js";
|
|
332
332
|
import {
|
|
333
333
|
runManagedWrapup2
|
|
334
|
-
} from "./index-
|
|
335
|
-
import"./index-
|
|
334
|
+
} from "./index-gcbwag0s.js";
|
|
335
|
+
import"./index-6az16nk1.js";
|
|
336
336
|
import"./index-52x68mj4.js";
|
|
337
|
-
import"./index-
|
|
338
|
-
import"./index-
|
|
337
|
+
import"./index-h1r752qh.js";
|
|
338
|
+
import"./index-p18ycyd3.js";
|
|
339
339
|
import {
|
|
340
340
|
isDreamerRunnable,
|
|
341
341
|
isSmartNoteSurfaceAvailable,
|
|
@@ -8203,7 +8203,7 @@ var require_src2 = __commonJS(function(exports, module) {
|
|
|
8203
8203
|
// package.json
|
|
8204
8204
|
var package_default = {
|
|
8205
8205
|
name: "@cortexkit/opencode-magic-context",
|
|
8206
|
-
version: "0.49.
|
|
8206
|
+
version: "0.49.68",
|
|
8207
8207
|
type: "module",
|
|
8208
8208
|
description: "OpenCode plugin for Magic Context — cross-session memory and context management",
|
|
8209
8209
|
main: "dist/index.js",
|
|
@@ -12082,7 +12082,7 @@ async function setup(context) {
|
|
|
12082
12082
|
if (claimStorageBackupWarningCheck() && isMagicContextStorageOutsideEngram(storageDir)) {
|
|
12083
12083
|
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.`);
|
|
12084
12084
|
}
|
|
12085
|
-
const { registerContext } = await import("./context-
|
|
12085
|
+
const { registerContext } = await import("./context-45s8k2z1.js");
|
|
12086
12086
|
setHarness2("opencode2");
|
|
12087
12087
|
bindStaleBuildNotice({}, import.meta.url, "opencode2");
|
|
12088
12088
|
const duties = await registerContext(context);
|
|
@@ -12555,7 +12555,7 @@ var server = async (ctx) => {
|
|
|
12555
12555
|
rustReplayParticipant: () => magicContextRuntime.magicContext?.getRustReplayParticipant?.() ?? null,
|
|
12556
12556
|
onStorageBusyRefusal: async (sessionId, message) => {
|
|
12557
12557
|
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-ykvt5k2s.js"));
|
|
12558
|
-
const { abortSessionFailClosed } = await importPluginModule(() => import("./transform-postprocess-phase-
|
|
12558
|
+
const { abortSessionFailClosed } = await importPluginModule(() => import("./transform-postprocess-phase-te4p4f1r.js"));
|
|
12559
12559
|
await sendStatusNotification(ctx.client, sessionId, message, {
|
|
12560
12560
|
toastDurationMs: 15000
|
|
12561
12561
|
});
|
|
@@ -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-50kb03a8.js";
|
|
8
8
|
import"./index-5vsk2cpp.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-x40zr813.js";
|
|
20
|
-
import"./index-
|
|
20
|
+
import"./index-9ej822m7.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-vqb038xf.js";
|
|
29
29
|
import"./index-s32f8y67.js";
|
|
30
30
|
import"./index-m0pwswv9.js";
|
|
31
31
|
|
package/dist/migration-worker.js
CHANGED
|
@@ -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-asajy6ts.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-fvswev6b.js");
|
|
55
55
|
const { readRawSessionMessageIdOrdinalsForRangeFromDb } = await import("./read-session-raw-3sc9231y.js");
|
|
56
56
|
const archive = input.searchArchive;
|
|
57
57
|
let 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-gbvck1sn.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-k7r6mh7y.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-9ej822m7.js";
|
|
42
|
+
import"./index-50kb03a8.js";
|
|
43
43
|
import"./index-1zx87sdm.js";
|
|
44
44
|
import"./index-x40zr813.js";
|
|
45
45
|
import"./index-6nqz8hsz.js";
|
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
setRecompTerminal2,
|
|
8
8
|
buildRecompDeps2,
|
|
9
9
|
runManagedRecomp2
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
10
|
+
} from "./index-9rcfa1mj.js";
|
|
11
|
+
import"./index-tcsej1z7.js";
|
|
12
12
|
import"./index-832w615x.js";
|
|
13
13
|
import"./index-sd3egckz.js";
|
|
14
14
|
import"./index-n6aye6ny.js";
|
|
@@ -16,16 +16,16 @@ import"./index-zxj39ba2.js";
|
|
|
16
16
|
import"./index-jjvbk92s.js";
|
|
17
17
|
import"./index-gq1g9a3a.js";
|
|
18
18
|
import"./index-4dhv7mqz.js";
|
|
19
|
-
import"./index-
|
|
19
|
+
import"./index-x48amv92.js";
|
|
20
20
|
import"./index-tebcx987.js";
|
|
21
|
-
import"./index-
|
|
21
|
+
import"./index-vqb038xf.js";
|
|
22
22
|
import"./index-2amn2s73.js";
|
|
23
23
|
import"./index-6athgjba.js";
|
|
24
24
|
import"./index-ngwmx6nt.js";
|
|
25
25
|
import"./index-1sq1krqw.js";
|
|
26
26
|
import"./index-qt1qqasc.js";
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
27
|
+
import"./index-9ej822m7.js";
|
|
28
|
+
import"./index-50kb03a8.js";
|
|
29
29
|
import"./index-1zx87sdm.js";
|
|
30
30
|
import"./index-x40zr813.js";
|
|
31
31
|
import"./index-x8a7jmkh.js";
|
|
@@ -35,7 +35,7 @@ import"./index-6nqz8hsz.js";
|
|
|
35
35
|
import"./index-jg7sbt3v.js";
|
|
36
36
|
import"./index-snbpdpa3.js";
|
|
37
37
|
import"./index-pxnzyvjc.js";
|
|
38
|
-
import"./index-
|
|
38
|
+
import"./index-8xzxx8ww.js";
|
|
39
39
|
import"./index-fb3zxn06.js";
|
|
40
40
|
import"./index-xx05vta0.js";
|
|
41
41
|
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-6az16nk1.js";
|
|
6
|
+
import"./index-x48amv92.js";
|
|
7
7
|
import"./index-tebcx987.js";
|
|
8
|
-
import"./index-
|
|
8
|
+
import"./index-vqb038xf.js";
|
|
9
9
|
import"./index-2amn2s73.js";
|
|
10
10
|
import"./index-6athgjba.js";
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
11
|
+
import"./index-9ej822m7.js";
|
|
12
|
+
import"./index-50kb03a8.js";
|
|
13
13
|
import"./index-1zx87sdm.js";
|
|
14
14
|
import"./index-x40zr813.js";
|
|
15
15
|
import"./index-6nqz8hsz.js";
|
|
16
16
|
import"./index-snbpdpa3.js";
|
|
17
17
|
import"./index-pxnzyvjc.js";
|
|
18
|
-
import"./index-
|
|
18
|
+
import"./index-8xzxx8ww.js";
|
|
19
19
|
import"./index-fb3zxn06.js";
|
|
20
20
|
import"./index-xx05vta0.js";
|
|
21
21
|
import"./index-fr0wbhdn.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderSearchArchive2,
|
|
3
3
|
renderSearchArchiveOffThread2
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
4
|
+
} from "./index-p18ycyd3.js";
|
|
5
|
+
import"./index-h1r752qh.js";
|
|
6
6
|
import"./index-52x68mj4.js";
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
import"./index-9ej822m7.js";
|
|
8
|
+
import"./index-50kb03a8.js";
|
|
9
9
|
import"./index-1zx87sdm.js";
|
|
10
10
|
import"./index-x40zr813.js";
|
|
11
11
|
import"./index-6nqz8hsz.js";
|
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
resolveMemoriesByIdsForSearch2,
|
|
6
6
|
unifiedSearch2,
|
|
7
7
|
formatSearchResults2
|
|
8
|
-
} from "./index-
|
|
9
|
-
import"./index-
|
|
8
|
+
} from "./index-nn2tvw8c.js";
|
|
9
|
+
import"./index-b4m3e6hp.js";
|
|
10
10
|
import"./index-52x68mj4.js";
|
|
11
11
|
import"./index-n6aye6ny.js";
|
|
12
12
|
import"./index-zxj39ba2.js";
|
|
@@ -14,11 +14,11 @@ import"./index-jjvbk92s.js";
|
|
|
14
14
|
import"./index-gq1g9a3a.js";
|
|
15
15
|
import"./index-4dhv7mqz.js";
|
|
16
16
|
import"./index-tebcx987.js";
|
|
17
|
-
import"./index-
|
|
17
|
+
import"./index-vqb038xf.js";
|
|
18
18
|
import"./index-2amn2s73.js";
|
|
19
19
|
import"./index-qt1qqasc.js";
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
20
|
+
import"./index-9ej822m7.js";
|
|
21
|
+
import"./index-50kb03a8.js";
|
|
22
22
|
import"./index-1zx87sdm.js";
|
|
23
23
|
import"./index-x40zr813.js";
|
|
24
24
|
import"./index-zb4h9nrk.js";
|
package/dist/{transform-postprocess-phase-120s1ep8.js → transform-postprocess-phase-te4p4f1r.js}
RENAMED
|
@@ -19,9 +19,9 @@ import {
|
|
|
19
19
|
finalizeMessageRepresentation2,
|
|
20
20
|
runPostTransformPhase2,
|
|
21
21
|
checkM0MutationDriftAndSignal2
|
|
22
|
-
} from "./index-
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
22
|
+
} from "./index-j87shhef.js";
|
|
23
|
+
import"./index-b4m3e6hp.js";
|
|
24
|
+
import"./index-tcsej1z7.js";
|
|
25
25
|
import"./index-832w615x.js";
|
|
26
26
|
import"./index-sd3egckz.js";
|
|
27
27
|
import"./index-n6aye6ny.js";
|
|
@@ -29,16 +29,16 @@ import"./index-zxj39ba2.js";
|
|
|
29
29
|
import"./index-jjvbk92s.js";
|
|
30
30
|
import"./index-gq1g9a3a.js";
|
|
31
31
|
import"./index-4dhv7mqz.js";
|
|
32
|
-
import"./index-
|
|
32
|
+
import"./index-x48amv92.js";
|
|
33
33
|
import"./index-tebcx987.js";
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-vqb038xf.js";
|
|
35
35
|
import"./index-2amn2s73.js";
|
|
36
36
|
import"./index-6athgjba.js";
|
|
37
37
|
import"./index-ngwmx6nt.js";
|
|
38
38
|
import"./index-1sq1krqw.js";
|
|
39
39
|
import"./index-qt1qqasc.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
40
|
+
import"./index-9ej822m7.js";
|
|
41
|
+
import"./index-50kb03a8.js";
|
|
42
42
|
import"./index-1zx87sdm.js";
|
|
43
43
|
import"./index-x40zr813.js";
|
|
44
44
|
import"./index-x8a7jmkh.js";
|
|
@@ -48,7 +48,7 @@ import"./index-6nqz8hsz.js";
|
|
|
48
48
|
import"./index-jg7sbt3v.js";
|
|
49
49
|
import"./index-snbpdpa3.js";
|
|
50
50
|
import"./index-pxnzyvjc.js";
|
|
51
|
-
import"./index-
|
|
51
|
+
import"./index-8xzxx8ww.js";
|
|
52
52
|
import"./index-fb3zxn06.js";
|
|
53
53
|
import"./index-xx05vta0.js";
|
|
54
54
|
import"./index-fr0wbhdn.js";
|
|
@@ -31,7 +31,7 @@ serveWorkerJobs(async (initial, port) => {
|
|
|
31
31
|
import("./embedding-cache-mgyr73ef.js"),
|
|
32
32
|
import("./storage-memory-e6a7mb0k.js"),
|
|
33
33
|
import("./project-embedding-registry-k0hjqt11.js"),
|
|
34
|
-
import("./search-
|
|
34
|
+
import("./search-y6xf7rek.js"),
|
|
35
35
|
import("./compartment-chunk-embedding-x6qw6mjk.js"),
|
|
36
36
|
import("./embedding-activity-g1dhes6g.js"),
|
|
37
37
|
import("./harness-e4avh192.js"),
|
|
@@ -220,7 +220,7 @@ import {
|
|
|
220
220
|
startCompartmentAgent,
|
|
221
221
|
setRecompStarting2,
|
|
222
222
|
setRecompTerminal2
|
|
223
|
-
} from "./server-
|
|
223
|
+
} from "./server-j0jy9twd.js";
|
|
224
224
|
import {
|
|
225
225
|
resolveHistorianModel2
|
|
226
226
|
} from "./server-5kym00ag.js";
|
|
@@ -534,7 +534,7 @@ import {
|
|
|
534
534
|
adoptNullOwnerToolTag2,
|
|
535
535
|
getCandidateToolOwners2,
|
|
536
536
|
pickNearestPriorOwner2
|
|
537
|
-
} from "./server-
|
|
537
|
+
} from "./server-fwxm5t54.js";
|
|
538
538
|
import {
|
|
539
539
|
textMentionsRecentCommit,
|
|
540
540
|
hasMeaningfulUserText2,
|
|
@@ -616,12 +616,12 @@ import {
|
|
|
616
616
|
readRawSessionMessageOrdinalById2,
|
|
617
617
|
readSessionChunk2,
|
|
618
618
|
readRawSessionSeedTail2
|
|
619
|
-
} from "./server-
|
|
619
|
+
} from "./server-6j81j52a.js";
|
|
620
620
|
import {
|
|
621
621
|
cleanSearchText,
|
|
622
622
|
matchedSearchSnippet,
|
|
623
623
|
getLastIndexedOrdinal
|
|
624
|
-
} from "./server-
|
|
624
|
+
} from "./server-mm00e4hd.js";
|
|
625
625
|
import"./server-ds8vpfkr.js";
|
|
626
626
|
import {
|
|
627
627
|
getMessageIndexEpoch,
|
|
@@ -648,7 +648,7 @@ import {
|
|
|
648
648
|
resolveMemoriesByIdsForSearch2,
|
|
649
649
|
unifiedSearch2,
|
|
650
650
|
formatSearchResults2
|
|
651
|
-
} from "./server-
|
|
651
|
+
} from "./server-8p0b0p5q.js";
|
|
652
652
|
import {
|
|
653
653
|
embedPauseBySession,
|
|
654
654
|
embedRunStateBySession,
|
|
@@ -794,7 +794,7 @@ import {
|
|
|
794
794
|
saveSourceContent,
|
|
795
795
|
replaceSourceContent,
|
|
796
796
|
getSourceContents
|
|
797
|
-
} from "./server-
|
|
797
|
+
} from "./server-ygjd2cys.js";
|
|
798
798
|
import {
|
|
799
799
|
startBootDeadline,
|
|
800
800
|
getUnconfirmedMigrationHolders,
|
|
@@ -810,7 +810,7 @@ import {
|
|
|
810
810
|
openDatabaseAsync,
|
|
811
811
|
isDatabasePersisted,
|
|
812
812
|
getDatabasePersistenceError
|
|
813
|
-
} from "./server-
|
|
813
|
+
} from "./server-0n9297e9.js";
|
|
814
814
|
import {
|
|
815
815
|
V2_MEMORY_CATEGORIES,
|
|
816
816
|
CATEGORY_PRIORITY
|
|
@@ -988,7 +988,7 @@ import {
|
|
|
988
988
|
readV2RawMessagePagesForConversion2,
|
|
989
989
|
createV2RawMessageReader2,
|
|
990
990
|
createV2RawMessageProvider2
|
|
991
|
-
} from "./server-
|
|
991
|
+
} from "./server-474m6n9v.js";
|
|
992
992
|
import {
|
|
993
993
|
resolvePromptContext2
|
|
994
994
|
} from "./server-fmsr7v69.js";
|
|
@@ -996,14 +996,14 @@ import {
|
|
|
996
996
|
renderMessageByOrdinal2,
|
|
997
997
|
renderVerboseRangeForTool2,
|
|
998
998
|
renderItemByTag2
|
|
999
|
-
} from "./server-
|
|
999
|
+
} from "./server-f1ryxejb.js";
|
|
1000
1000
|
import"./server-52x68mj4.js";
|
|
1001
1001
|
import {
|
|
1002
1002
|
readV2ArchiveOffThread2
|
|
1003
|
-
} from "./server-
|
|
1003
|
+
} from "./server-cf2w8xyq.js";
|
|
1004
1004
|
import {
|
|
1005
1005
|
renderSearchArchiveOffThread2
|
|
1006
|
-
} from "./server-
|
|
1006
|
+
} from "./server-tky6gx9c.js";
|
|
1007
1007
|
import {
|
|
1008
1008
|
markHostInstructionRow,
|
|
1009
1009
|
hostInstructionRow,
|
|
@@ -26157,7 +26157,7 @@ function registerRpcHandlers(rpcServer, args) {
|
|
|
26157
26157
|
const db = readDatabase();
|
|
26158
26158
|
if (!db)
|
|
26159
26159
|
return { ok: false, error: "db unavailable" };
|
|
26160
|
-
const { runManagedRecomp } = await importPluginModule(() => import("./recomp-orchestrator-
|
|
26160
|
+
const { runManagedRecomp } = await importPluginModule(() => import("./recomp-orchestrator-r680z2yp.js"));
|
|
26161
26161
|
const { sendIgnoredMessage } = await importPluginModule(() => import("./send-session-notification-8g4r97bp.js"));
|
|
26162
26162
|
log2(`[rpc] recomp requested for session ${sessionId}`);
|
|
26163
26163
|
if (!args.client && !args.hiddenCompletionExecutor) {
|
|
@@ -26242,7 +26242,7 @@ function registerRpcHandlers(rpcServer, args) {
|
|
|
26242
26242
|
const db = readDatabase();
|
|
26243
26243
|
if (!db)
|
|
26244
26244
|
return { ok: false, error: "db unavailable" };
|
|
26245
|
-
const { runManagedWrapup } = await importPluginModule(() => import("./wrapup-orchestrator-
|
|
26245
|
+
const { runManagedWrapup } = await importPluginModule(() => import("./wrapup-orchestrator-kgf60271.js"));
|
|
26246
26246
|
const model = liveSessionState.liveModelBySession.get(sessionId);
|
|
26247
26247
|
const contextLimit = model ? resolveContextLimit(model.providerID, model.modelID, { db, sessionID: sessionId }) : 128000;
|
|
26248
26248
|
const ctx = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restore.d.ts","sourceRoot":"","sources":["../../../src/v2/fold/restore.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAWhD;;;;;;GAMG;AACH,MAAM,WAAW,YAAY;IACzB,yEAAyE;IACzE,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IACxD,uDAAuD;IACvD,WAAW,CAAC,MAAM,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;CAClG;AAED,2FAA2F;AAC3F,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAE7F;AA6ED;;;GAGG;AACH,wBAAgB,UAAU,CACtB,GAAG,EAAE,QAAQ,EACb,KAAK,EAAE;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,EACzC,KAAK,CAAC,EAAE,YAAY,GACrB,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"restore.d.ts","sourceRoot":"","sources":["../../../src/v2/fold/restore.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAWhD;;;;;;GAMG;AACH,MAAM,WAAW,YAAY;IACzB,yEAAyE;IACzE,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IACxD,uDAAuD;IACvD,WAAW,CAAC,MAAM,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;CAClG;AAED,2FAA2F;AAC3F,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAE7F;AA6ED;;;GAGG;AACH,wBAAgB,UAAU,CACtB,GAAG,EAAE,QAAQ,EACb,KAAK,EAAE;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,EACzC,KAAK,CAAC,EAAE,YAAY,GACrB,SAAS,EAAE,CAgKb"}
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
yieldIndexChunk2
|
|
5
5
|
} from "./server-gzy5w8ya.js";
|
|
6
6
|
import"./server-1zx87sdm.js";
|
|
7
|
-
import"./server-
|
|
7
|
+
import"./server-fwxm5t54.js";
|
|
8
8
|
import"./server-y8xjr8rx.js";
|
|
9
9
|
import"./server-pavzsdc6.js";
|
|
10
10
|
import"./server-j8376q08.js";
|
|
@@ -17,7 +17,7 @@ import"./server-1d042x6w.js";
|
|
|
17
17
|
import"./server-6ash6z8z.js";
|
|
18
18
|
import"./server-2ra6pwf3.js";
|
|
19
19
|
import"./server-3ap5dmhc.js";
|
|
20
|
-
import"./server-
|
|
20
|
+
import"./server-6j81j52a.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 "./server-
|
|
28
|
+
} from "./server-mm00e4hd.js";
|
|
29
29
|
import"./server-ds8vpfkr.js";
|
|
30
30
|
import"./server-5sbsnpkn.js";
|
|
31
31
|
|
|
@@ -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-f1k1g9tx.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-jrmydwtk.js");
|
|
55
55
|
const { readRawSessionMessageIdOrdinalsForRangeFromDb } = await import("./read-session-raw-wg5zc29f.js");
|
|
56
56
|
const archive = input.searchArchive;
|
|
57
57
|
let 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-6mh661z7.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-nxg71m93.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 "./server-
|
|
42
|
-
import"./server-
|
|
41
|
+
} from "./server-6j81j52a.js";
|
|
42
|
+
import"./server-fwxm5t54.js";
|
|
43
43
|
import"./server-1zx87sdm.js";
|
|
44
44
|
import"./server-3ap5dmhc.js";
|
|
45
45
|
import"./server-rz6g5xne.js";
|
|
@@ -7,23 +7,23 @@ import {
|
|
|
7
7
|
setRecompTerminal2,
|
|
8
8
|
buildRecompDeps2,
|
|
9
9
|
runManagedRecomp2
|
|
10
|
-
} from "./server-
|
|
10
|
+
} from "./server-j0jy9twd.js";
|
|
11
11
|
import"./server-at0v0z4t.js";
|
|
12
12
|
import"./server-d07yxksx.js";
|
|
13
13
|
import"./server-d9aayyxk.js";
|
|
14
14
|
import"./server-jjvbk92s.js";
|
|
15
15
|
import"./server-z5255w05.js";
|
|
16
16
|
import"./server-4dhv7mqz.js";
|
|
17
|
-
import"./server-
|
|
17
|
+
import"./server-ygjd2cys.js";
|
|
18
18
|
import"./server-rbtx6q5v.js";
|
|
19
|
-
import"./server-
|
|
19
|
+
import"./server-mm00e4hd.js";
|
|
20
20
|
import"./server-2amn2s73.js";
|
|
21
21
|
import"./server-rthnpmbp.js";
|
|
22
22
|
import"./server-aewxmvnf.js";
|
|
23
23
|
import"./server-qjff96a6.js";
|
|
24
24
|
import"./server-qt1qqasc.js";
|
|
25
|
-
import"./server-
|
|
26
|
-
import"./server-
|
|
25
|
+
import"./server-6j81j52a.js";
|
|
26
|
+
import"./server-fwxm5t54.js";
|
|
27
27
|
import"./server-1zx87sdm.js";
|
|
28
28
|
import"./server-3ap5dmhc.js";
|
|
29
29
|
import"./server-npdey91q.js";
|
|
@@ -35,7 +35,7 @@ import"./server-rz6g5xne.js";
|
|
|
35
35
|
import"./server-jtq03rkb.js";
|
|
36
36
|
import"./server-8pdfmc27.js";
|
|
37
37
|
import"./server-x6fn9x8q.js";
|
|
38
|
-
import"./server-
|
|
38
|
+
import"./server-0n9297e9.js";
|
|
39
39
|
import"./server-fb3zxn06.js";
|
|
40
40
|
import"./server-jn4pktdk.js";
|
|
41
41
|
import"./server-fr0wbhdn.js";
|