@cortexkit/opencode-magic-context 0.49.47 → 0.49.49
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/{announcement-g789dmt6.js → announcement-9pr71hd5.js} +3 -2
- package/dist/auto-search-worker.js +5 -5
- package/dist/chunk-embedding-write-worker.js +14 -15
- package/dist/{compaction-marker-candidates-dkfp1q9j.js → compaction-marker-candidates-8hazqfvj.js} +2 -3
- package/dist/compaction-marker-candidates-worker.js +1 -1
- package/dist/{compartment-chunk-embedding-snj51nmg.js → compartment-chunk-embedding-gfd093f8.js} +7 -8
- package/dist/{conflict-warning-hook-w1aw6w5t.js → conflict-warning-hook-56qpq7ws.js} +7 -8
- package/dist/{context-hvkjxqhs.js → context-bwf57gnh.js} +41 -43
- package/dist/{derive-budgets-nkw09vq7.js → derive-budgets-z53424qx.js} +2 -3
- package/dist/{embedding-backfill-kpy5shsa.js → embedding-backfill-d9x9q2e2.js} +12 -13
- package/dist/embedding-worker-process.js +2 -3
- package/dist/embedding-worker.js +5 -6
- package/dist/features/magic-context/dreamer/docs-proposals.d.ts.map +1 -1
- package/dist/{history-owner-0z620wgz.js → history-owner-n50e0e8y.js} +2 -3
- package/dist/hooks/magic-context/compartment-runner-incremental.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-trigger.d.ts.map +1 -1
- package/dist/hooks/magic-context/hook-handlers.d.ts.map +1 -1
- package/dist/hooks/magic-context/hook.d.ts.map +1 -1
- package/dist/hooks/magic-context/protected-tail-boundary.d.ts +5 -3
- package/dist/hooks/magic-context/protected-tail-boundary.d.ts.map +1 -1
- package/dist/hooks/magic-context/todo-view.d.ts +29 -17
- package/dist/hooks/magic-context/todo-view.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform-compartment-phase.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform.d.ts.map +1 -1
- package/dist/{index-txs8tce6.js → index-0k283v27.js} +2 -4
- package/dist/{index-s79g172v.js → index-0mdh2cke.js} +10 -10
- package/dist/{index-ak11t3gm.js → index-0tz2fzpq.js} +1 -1
- package/dist/{index-2qbtqg1w.js → index-25tm250q.js} +1 -1
- package/dist/{index-h9m41624.js → index-2ny9xwdn.js} +2 -2
- package/dist/{index-xa9mmq6c.js → index-36wseasx.js} +1 -1
- package/dist/{index-sd2s4t4p.js → index-3n9ee4jh.js} +2 -2
- package/dist/{index-xgczbhyx.js → index-5850zme4.js} +3 -3
- package/dist/{index-5jk4h64j.js → index-5bksfv58.js} +13 -15
- package/dist/{index-esr8qcc4.js → index-7n2n3v92.js} +5 -5
- package/dist/{index-jrfre9ah.js → index-82dfe8en.js} +146 -5
- package/dist/{index-gn6gfz4y.js → index-90z05d0p.js} +1 -1
- package/dist/{index-9wnbnx8f.js → index-a6aqpfp6.js} +1 -1
- package/dist/{index-b0xt5qz9.js → index-agfh931z.js} +11 -13
- package/dist/{index-d4qw2h43.js → index-arxg51bj.js} +4 -4
- package/dist/{index-x53gnmce.js → index-bkg4hdyh.js} +6 -28
- package/dist/{index-gp3kcpc4.js → index-cd3vp8xa.js} +1 -1
- package/dist/{index-44pp3vrj.js → index-cs7pmwt6.js} +4 -4
- package/dist/{index-brj6was5.js → index-em92bp7f.js} +2 -2
- package/dist/{index-2p37txes.js → index-ga5q492k.js} +1 -1
- package/dist/{index-8cfnaagj.js → index-gapnh6tk.js} +2 -4
- package/dist/{index-fw42ms3m.js → index-gz001bx7.js} +1 -1
- package/dist/{index-kw7azjmy.js → index-h3p558ec.js} +3 -3
- package/dist/{index-qcz1fy7h.js → index-hexdee98.js} +4 -4
- package/dist/{index-smtbdmc3.js → index-hsv31e69.js} +2 -2
- package/dist/{index-dj2p8653.js → index-hsyczpn7.js} +2 -2
- package/dist/{index-c99tqfge.js → index-j7verehm.js} +93 -73
- package/dist/{index-etn2hmb5.js → index-jedbxq6n.js} +4 -4
- package/dist/{index-2x3kd999.js → index-k47v0tmk.js} +16 -18
- package/dist/{index-1hwn96x1.js → index-kn1bx21r.js} +3 -3
- package/dist/{index-nj360hcs.js → index-pb8ysnq2.js} +4 -4
- package/dist/{index-xgnh498s.js → index-qb75tv9j.js} +8 -8
- package/dist/{index-jz5bk7xd.js → index-qperbvjn.js} +2 -2
- package/dist/{index-25ka1jza.js → index-r9agn061.js} +4 -4
- package/dist/{index-hacf2tyx.js → index-reyws9fy.js} +1 -1
- package/dist/{index-fxbk7gk3.js → index-tad3can2.js} +1 -1
- package/dist/{index-hkh8x221.js → index-tj5gz396.js} +3 -5
- package/dist/{index-bqhjzhv4.js → index-va9x7y48.js} +35 -31
- package/dist/{index-37a9bfta.js → index-vbmh68fb.js} +6 -6
- package/dist/{index-1qmv26ga.js → index-vyv4tame.js} +12 -14
- package/dist/{index-eej9kwad.js → index-wdmfnmv1.js} +5 -5
- package/dist/index.js +53 -55
- package/dist/{logger-qwnbcfj9.js → logger-sw7z6sjz.js} +1 -2
- package/dist/{message-fts-rowid-map-msffhkve.js → message-fts-rowid-map-kx1bsdyg.js} +4 -5
- package/dist/{message-index-bounded-3qpg8dq5.js → message-index-bounded-2shxmht9.js} +11 -12
- package/dist/{message-time-backfill-39bm498k.js → message-time-backfill-hp2jgn49.js} +2 -3
- package/dist/migration-worker.js +12 -13
- package/dist/plugin/hooks/create-session-hooks.d.ts.map +1 -1
- package/dist/{project-embedding-registry-r6xfsrbe.js → project-embedding-registry-nzgkq61z.js} +11 -12
- package/dist/raw-ordinal-warmup-worker.js +8 -8
- package/dist/{read-session-chunk-7h9f32sz.js → read-session-chunk-c15y8yg6.js} +9 -10
- package/dist/{read-session-raw-x7a9b3jm.js → read-session-raw-04ger9zt.js} +2 -3
- package/dist/{recomp-orchestrator-43g9tjya.js → recomp-orchestrator-gfxqqpph.js} +30 -31
- package/dist/{render-4m7x9cq4.js → render-5tx8r0me.js} +20 -21
- package/dist/{safe-notification-target-wztd7bgk.js → safe-notification-target-mx5khyxf.js} +2 -3
- package/dist/{search-archive-f6kwv02s.js → search-archive-6tgh88xp.js} +11 -12
- package/dist/{search-0a3hh5x6.js → search-k2n5bvsk.js} +23 -24
- package/dist/{send-session-notification-j93pn2hn.js → send-session-notification-gamjee2f.js} +5 -6
- package/dist/shared/data-path.d.ts +7 -13
- package/dist/shared/data-path.d.ts.map +1 -1
- package/dist/{storage-tags-q8erkn48.js → storage-tags-kdb4qsyq.js} +4 -5
- package/dist/{transform-postprocess-phase-5746a5b6.js → transform-postprocess-phase-36dw4kxb.js} +31 -32
- package/dist/v2/auto-search-worker.js +5 -5
- package/dist/v2/chunk-embedding-write-worker.js +14 -14
- package/dist/v2/{compaction-marker-candidates-y737qb1v.js → compaction-marker-candidates-re14353a.js} +2 -2
- package/dist/v2/compaction-marker-candidates-worker.js +1 -1
- package/dist/v2/{compartment-chunk-embedding-nj5nrnbj.js → compartment-chunk-embedding-0pxsrzrt.js} +7 -7
- package/dist/v2/{context-e9n2mxax.js → context-td3jyze3.js} +90 -68
- package/dist/v2/{derive-budgets-b5cgrtp8.js → derive-budgets-w0815q82.js} +3 -3
- package/dist/v2/{embedding-backfill-360efh1t.js → embedding-backfill-5dqdm3ff.js} +12 -12
- package/dist/v2/embedding-worker-process.js +1 -1
- package/dist/v2/embedding-worker.js +4 -4
- package/dist/v2/{history-owner-fpka43cn.js → history-owner-ep91wgqj.js} +2 -2
- package/dist/v2/{logger-4cj6d03m.js → logger-xnscpj6w.js} +1 -1
- package/dist/v2/{message-fts-rowid-map-qe7cpksd.js → message-fts-rowid-map-57jh6xpb.js} +4 -4
- package/dist/v2/{message-index-bounded-na8debr6.js → message-index-bounded-j1jskn8a.js} +11 -11
- package/dist/v2/{message-time-backfill-0c4h7sg6.js → message-time-backfill-baxebka0.js} +2 -2
- package/dist/v2/migration-worker.js +11 -11
- package/dist/v2/{project-embedding-registry-ek0cy0d5.js → project-embedding-registry-swm4mw1t.js} +11 -11
- package/dist/v2/raw-ordinal-warmup-worker.js +8 -8
- package/dist/v2/{read-session-chunk-x33xeg2g.js → read-session-chunk-carzw3m8.js} +9 -9
- package/dist/v2/{read-session-raw-yss2ev98.js → read-session-raw-3e482h3c.js} +2 -2
- package/dist/v2/{recomp-orchestrator-jyjpn5jm.js → recomp-orchestrator-e7vrs932.js} +31 -31
- package/dist/v2/{render-mp82ns36.js → render-e9mh9y1d.js} +20 -20
- package/dist/v2/{safe-notification-target-gphhast7.js → safe-notification-target-9r79xnbt.js} +2 -2
- package/dist/v2/{search-archive-d0fcqch9.js → search-archive-j3kb9ggd.js} +11 -11
- package/dist/v2/{search-ebd0yr40.js → search-sr23g316.js} +22 -22
- package/dist/v2/{send-session-notification-na3q825m.js → send-session-notification-95p89k7q.js} +5 -5
- package/dist/v2/{server-pej5rnye.js → server-0qxb8r8q.js} +2 -2
- package/dist/v2/{server-sg2qjkrb.js → server-1ppcpsdw.js} +2 -2
- package/dist/v2/{server-c43zxc9k.js → server-2qxt6qv0.js} +8 -8
- package/dist/v2/{server-7vb38e51.js → server-3jc6qmdz.js} +1 -1
- package/dist/v2/{server-69m30b21.js → server-3yk44ddz.js} +1 -1
- package/dist/v2/{server-wwmaqtxy.js → server-4y2pcckw.js} +3 -3
- package/dist/v2/{server-3schkz95.js → server-58h6rrnx.js} +4 -4
- package/dist/v2/{server-af1rmkyn.js → server-5kgesxck.js} +2 -2
- package/dist/v2/{server-mfn1yf9d.js → server-7vrtk78d.js} +1 -1
- package/dist/v2/{server-f0j864ma.js → server-91gb0vh8.js} +1 -1
- package/dist/v2/{server-131h608x.js → server-966dq3pd.js} +2 -2
- package/dist/v2/{server-jb6tjyeb.js → server-bb6kf05j.js} +23 -20
- package/dist/v2/{server-zypeavf0.js → server-c5kq8d5n.js} +4 -4
- package/dist/v2/{server-gwxys0d0.js → server-c8z2grq0.js} +1 -1
- package/dist/v2/{server-gy26cwvw.js → server-e14c3hd6.js} +10 -10
- package/dist/v2/{server-epvj1cey.js → server-e20kfytm.js} +11 -11
- package/dist/v2/{server-2gjqhmn9.js → server-fw49gc57.js} +8 -8
- package/dist/v2/{server-y8n33d9j.js → server-g61hgy1y.js} +4 -4
- package/dist/v2/{server-2j87594q.js → server-kgq2e2hh.js} +2 -2
- package/dist/v2/{server-ddw42d76.js → server-mxsy9h1d.js} +2 -2
- package/dist/v2/{server-qmmkhz2z.js → server-np27dgyt.js} +1 -1
- package/dist/v2/{server-dcws5831.js → server-qp5sj6n5.js} +2 -2
- package/dist/v2/{server-sr8tf5dt.js → server-r7y35vm9.js} +4 -4
- package/dist/v2/{server-t4hk02v1.js → server-rcchadw0.js} +6 -28
- package/dist/v2/{server-b3r080cm.js → server-rz5jnhnv.js} +1 -1
- package/dist/v2/{server-zt1m5rwj.js → server-sa1fdt41.js} +1 -1
- package/dist/v2/{server-fhxe5jgm.js → server-t5cgb15n.js} +5 -5
- package/dist/v2/{server-ypf1ap0v.js → server-t8n27rbt.js} +1 -1
- package/dist/v2/{server-sefxj8k1.js → server-tmf0ayqp.js} +1 -1
- package/dist/v2/{server-wa4qhryh.js → server-ttrrh27h.js} +2 -2
- package/dist/v2/{server-bez34e60.js → server-vqq3g1t7.js} +4 -4
- package/dist/v2/{server-tpt7bwq8.js → server-ww7xbxxf.js} +1 -1
- package/dist/v2/{server-1f03b92k.js → server-y7q8cds3.js} +3 -3
- package/dist/v2/{server-xsrykjkj.js → server-yxe0gh3v.js} +11 -11
- package/dist/v2/{server-rg92e592.js → server-z7n3n1ra.js} +34 -28
- package/dist/v2/server.js +5 -5
- package/dist/v2/{storage-tags-ztar1k0g.js → storage-tags-rzv7y0n3.js} +4 -4
- package/dist/v2/{v2-archive-reader-gm6mygag.js → v2-archive-reader-jnzjavzr.js} +1 -1
- package/dist/v2/{wrapup-orchestrator-y9a02xpd.js → wrapup-orchestrator-jw4nre49.js} +31 -31
- package/dist/{v2-archive-reader-yp9956t8.js → v2-archive-reader-b76tfeje.js} +1 -1
- package/dist/wrapup-orchestrator-fhfazjkq.js +55 -0
- package/package.json +1 -1
- package/src/shared/data-path.test.ts +104 -56
- package/src/shared/data-path.ts +30 -30
- package/dist/index-g2q4htwp.js +0 -146
- package/dist/wrapup-orchestrator-ese0epyk.js +0 -56
|
@@ -20,20 +20,19 @@ import {
|
|
|
20
20
|
} from "./index-pavzsdc6.js";
|
|
21
21
|
import {
|
|
22
22
|
getDataDir,
|
|
23
|
+
ensureCortexKitArtifactGitignore,
|
|
23
24
|
getMagicContextStorageResolution,
|
|
24
|
-
getMagicContextStorageDir
|
|
25
|
-
} from "./index-g2q4htwp.js";
|
|
26
|
-
import {
|
|
27
|
-
sanitizeDiagnosticText,
|
|
28
|
-
hasShareabilitySensitiveText
|
|
29
|
-
} from "./index-z4p0ry94.js";
|
|
30
|
-
import {
|
|
25
|
+
getMagicContextStorageDir,
|
|
31
26
|
classifyStalePluginBuild,
|
|
32
27
|
importPluginModule,
|
|
33
28
|
log2,
|
|
34
29
|
sessionLog2,
|
|
35
30
|
getLoggerDiagnostics2
|
|
36
|
-
} from "./index-
|
|
31
|
+
} from "./index-82dfe8en.js";
|
|
32
|
+
import {
|
|
33
|
+
sanitizeDiagnosticText,
|
|
34
|
+
hasShareabilitySensitiveText
|
|
35
|
+
} from "./index-z4p0ry94.js";
|
|
37
36
|
import {
|
|
38
37
|
resolveOpenCodeDbPath,
|
|
39
38
|
assertOpenCodeStoreGeneration,
|
|
@@ -72,7 +71,7 @@ import {
|
|
|
72
71
|
storedPathBelongsToIdentity,
|
|
73
72
|
beginBootQuietPeriod,
|
|
74
73
|
scheduleAfterBootQuiet
|
|
75
|
-
} from "./index-
|
|
74
|
+
} from "./index-0k283v27.js";
|
|
76
75
|
import {
|
|
77
76
|
recordSessionProjectIdentity,
|
|
78
77
|
hasRecordedSessionProjectIdentity,
|
|
@@ -82,7 +81,7 @@ import {
|
|
|
82
81
|
markGitSweepSuccessAndRelease,
|
|
83
82
|
parkGitSweepNonIndexable,
|
|
84
83
|
releaseGitSweepLease
|
|
85
|
-
} from "./index-
|
|
84
|
+
} from "./index-qperbvjn.js";
|
|
86
85
|
import {
|
|
87
86
|
getMagicContextBuiltinCommands,
|
|
88
87
|
formatConfigParseStatusLine,
|
|
@@ -195,7 +194,7 @@ import {
|
|
|
195
194
|
snapRangeToCompartments,
|
|
196
195
|
getActiveCompartmentRun,
|
|
197
196
|
startCompartmentAgent
|
|
198
|
-
} from "./index-
|
|
197
|
+
} from "./index-va9x7y48.js";
|
|
199
198
|
import {
|
|
200
199
|
hasTrustedAbsoluteWall,
|
|
201
200
|
applyProvenInputFloor,
|
|
@@ -207,7 +206,7 @@ import {
|
|
|
207
206
|
deriveTriggerBudget2,
|
|
208
207
|
resolveKnownHistorianContextLimit2,
|
|
209
208
|
resolveHistorianProducerLimits2
|
|
210
|
-
} from "./index-
|
|
209
|
+
} from "./index-gapnh6tk.js";
|
|
211
210
|
import {
|
|
212
211
|
resolveModelCalibration,
|
|
213
212
|
calibrateBuckets,
|
|
@@ -221,7 +220,7 @@ import {
|
|
|
221
220
|
estimateTokens,
|
|
222
221
|
estimateFixedPromptTokens,
|
|
223
222
|
normalizeText
|
|
224
|
-
} from "./index-
|
|
223
|
+
} from "./index-0tz2fzpq.js";
|
|
225
224
|
import {
|
|
226
225
|
protectedToolTokenCount,
|
|
227
226
|
peelLeadingMcTagNotation,
|
|
@@ -230,6 +229,7 @@ import {
|
|
|
230
229
|
isRecord,
|
|
231
230
|
contentTagOwnerMessageId,
|
|
232
231
|
providerVisiblePart,
|
|
232
|
+
CLEARED_TODO_STATE_JSON,
|
|
233
233
|
normalizeTodoStateJson,
|
|
234
234
|
computeSyntheticCallId,
|
|
235
235
|
CHANNEL1_SENTINEL,
|
|
@@ -259,11 +259,11 @@ import {
|
|
|
259
259
|
getTagsByNumbers2,
|
|
260
260
|
getDroppedTagsByNumbers2,
|
|
261
261
|
getMaxDroppedTagNumber2
|
|
262
|
-
} from "./index-
|
|
262
|
+
} from "./index-bkg4hdyh.js";
|
|
263
263
|
import {
|
|
264
264
|
observeTemporalDecisions,
|
|
265
265
|
stableStringify
|
|
266
|
-
} from "./index-
|
|
266
|
+
} from "./index-a6aqpfp6.js";
|
|
267
267
|
import {
|
|
268
268
|
withContentLanguageDirective,
|
|
269
269
|
string,
|
|
@@ -290,7 +290,7 @@ import {
|
|
|
290
290
|
extractInMemoryMessageViews2,
|
|
291
291
|
buildInMemoryTailRawMessages2,
|
|
292
292
|
RawOrdinalsNotReady2
|
|
293
|
-
} from "./index-
|
|
293
|
+
} from "./index-36wseasx.js";
|
|
294
294
|
import {
|
|
295
295
|
openCodeDbExists,
|
|
296
296
|
withReadOnlySessionDb,
|
|
@@ -298,7 +298,7 @@ import {
|
|
|
298
298
|
latestPersistedMessageForRecovery,
|
|
299
299
|
latestRealUserTurnIdFromOpenCodeDb,
|
|
300
300
|
findLastAssistantModelFromOpenCodeDb
|
|
301
|
-
} from "./index-
|
|
301
|
+
} from "./index-em92bp7f.js";
|
|
302
302
|
import {
|
|
303
303
|
askAnswerLines,
|
|
304
304
|
estimateTrueRawMessageTokens,
|
|
@@ -426,11 +426,11 @@ import {
|
|
|
426
426
|
readRawSessionMessageById2,
|
|
427
427
|
readSessionChunk2,
|
|
428
428
|
readRawSessionSeedTail2
|
|
429
|
-
} from "./index-
|
|
429
|
+
} from "./index-qb75tv9j.js";
|
|
430
430
|
import {
|
|
431
431
|
BoundedSessionMap,
|
|
432
432
|
getMeasuredToolDefinitionTokens
|
|
433
|
-
} from "./index-
|
|
433
|
+
} from "./index-hsv31e69.js";
|
|
434
434
|
import {
|
|
435
435
|
isFailClosedBlockingError,
|
|
436
436
|
shouldBypassFailClosedBlock,
|
|
@@ -442,7 +442,7 @@ import {
|
|
|
442
442
|
rpcPortFilePath,
|
|
443
443
|
parseRpcPortFile,
|
|
444
444
|
inspectProcessesAsync
|
|
445
|
-
} from "./index-
|
|
445
|
+
} from "./index-ga5q492k.js";
|
|
446
446
|
import {
|
|
447
447
|
configureContextDatabasePragmas2
|
|
448
448
|
} from "./index-fb3zxn06.js";
|
|
@@ -456,7 +456,7 @@ import {
|
|
|
456
456
|
runSqliteOptimize,
|
|
457
457
|
openDatabase,
|
|
458
458
|
openCurrentDatabase
|
|
459
|
-
} from "./index-
|
|
459
|
+
} from "./index-agfh931z.js";
|
|
460
460
|
import {
|
|
461
461
|
unescapeXml,
|
|
462
462
|
resolveWorkspaceShareCategories,
|
|
@@ -465,7 +465,7 @@ import {
|
|
|
465
465
|
resolveStoredPathWorkspaceIdentity,
|
|
466
466
|
storedPathBelongsToWorkspace,
|
|
467
467
|
computeWorkspaceEpochFingerprint
|
|
468
|
-
} from "./index-
|
|
468
|
+
} from "./index-pb8ysnq2.js";
|
|
469
469
|
import {
|
|
470
470
|
V2_MEMORY_CATEGORIES,
|
|
471
471
|
CATEGORY_PRIORITY
|
|
@@ -487,7 +487,7 @@ import {
|
|
|
487
487
|
toSynapseLaneDescriptor,
|
|
488
488
|
formatSynapseLaneDescriptor,
|
|
489
489
|
SynapseEmbeddingProvider
|
|
490
|
-
} from "./index-
|
|
490
|
+
} from "./index-hsyczpn7.js";
|
|
491
491
|
import {
|
|
492
492
|
getCompartments,
|
|
493
493
|
getLastCompartmentEndMessage,
|
|
@@ -565,10 +565,10 @@ import {
|
|
|
565
565
|
GLOBAL_USER_PROFILE_PROJECT_PATH,
|
|
566
566
|
getProjectState,
|
|
567
567
|
bumpProjectUserProfileVersion
|
|
568
|
-
} from "./index-
|
|
568
|
+
} from "./index-vyv4tame.js";
|
|
569
569
|
import {
|
|
570
570
|
getLastIndexedOrdinal
|
|
571
|
-
} from "./index-
|
|
571
|
+
} from "./index-jedbxq6n.js";
|
|
572
572
|
import {
|
|
573
573
|
SESSION_NOTE_CONDITION_ERROR,
|
|
574
574
|
getNoteByIdInScope,
|
|
@@ -594,7 +594,7 @@ import {
|
|
|
594
594
|
createPrimer,
|
|
595
595
|
updatePrimerSupport,
|
|
596
596
|
updatePrimerAnswer
|
|
597
|
-
} from "./index-
|
|
597
|
+
} from "./index-25tm250q.js";
|
|
598
598
|
import {
|
|
599
599
|
registerNotificationSink2,
|
|
600
600
|
pushNotification2,
|
|
@@ -606,7 +606,7 @@ import {
|
|
|
606
606
|
getCachedLocalEmbeddingPooling,
|
|
607
607
|
preflightLocalEmbeddingPooling,
|
|
608
608
|
getLocalEmbeddingNativeMemoryStats
|
|
609
|
-
} from "./index-
|
|
609
|
+
} from "./index-tj5gz396.js";
|
|
610
610
|
import {
|
|
611
611
|
withQueryEmbeddingDeadline,
|
|
612
612
|
describeShadowBackfillWriteRefusal2,
|
|
@@ -627,7 +627,7 @@ import {
|
|
|
627
627
|
embedSessionCompartmentChunks2,
|
|
628
628
|
getEmbeddingCoverageStatus2,
|
|
629
629
|
getAutoEmbeddingSessionCoverage2
|
|
630
|
-
} from "./index-
|
|
630
|
+
} from "./index-0mdh2cke.js";
|
|
631
631
|
import {
|
|
632
632
|
saveEmbeddingIfHashMatches,
|
|
633
633
|
invalidateProject2,
|
|
@@ -635,7 +635,7 @@ import {
|
|
|
635
635
|
} from "./index-4dhv7mqz.js";
|
|
636
636
|
import {
|
|
637
637
|
cosineSimilarity
|
|
638
|
-
} from "./index-
|
|
638
|
+
} from "./index-arxg51bj.js";
|
|
639
639
|
import {
|
|
640
640
|
computeCueContentHash,
|
|
641
641
|
hasMuralCueColumns,
|
|
@@ -681,7 +681,7 @@ import {
|
|
|
681
681
|
readGitFileChangeTimesSince,
|
|
682
682
|
verificationFileExists,
|
|
683
683
|
normalizeVerificationFiles
|
|
684
|
-
} from "./index-
|
|
684
|
+
} from "./index-3n9ee4jh.js";
|
|
685
685
|
import {
|
|
686
686
|
renderSingleStoreMigrationRequiredRefusal,
|
|
687
687
|
SingleStoreMigrationRequiredError,
|
|
@@ -702,23 +702,23 @@ import {
|
|
|
702
702
|
resolveMemoriesByIdsForSearch2,
|
|
703
703
|
unifiedSearch2,
|
|
704
704
|
formatSearchResults2
|
|
705
|
-
} from "./index-
|
|
705
|
+
} from "./index-5bksfv58.js";
|
|
706
706
|
import {
|
|
707
707
|
scheduleReconciliation,
|
|
708
708
|
scheduleIncrementalIndex,
|
|
709
709
|
getMessageIndexQueueHeapStats,
|
|
710
710
|
clearSessionTracking
|
|
711
|
-
} from "./index-
|
|
711
|
+
} from "./index-cs7pmwt6.js";
|
|
712
712
|
import {
|
|
713
713
|
flushIgnoredMessages2,
|
|
714
714
|
clearIgnoredMessages2,
|
|
715
715
|
observeIgnoredNotificationEvent2,
|
|
716
716
|
sendStatusNotification2
|
|
717
|
-
} from "./index-
|
|
717
|
+
} from "./index-r9agn061.js";
|
|
718
718
|
import {
|
|
719
719
|
setRecompStarting2,
|
|
720
720
|
setRecompTerminal2
|
|
721
|
-
} from "./index-
|
|
721
|
+
} from "./index-wdmfnmv1.js";
|
|
722
722
|
import {
|
|
723
723
|
makeToolCompositeKey,
|
|
724
724
|
searchMessageHistoryOffThread,
|
|
@@ -796,14 +796,14 @@ import {
|
|
|
796
796
|
abortSessionFailClosed2,
|
|
797
797
|
evaluateEmergencyFailClosed2,
|
|
798
798
|
runPostTransformPhase2
|
|
799
|
-
} from "./index-
|
|
799
|
+
} from "./index-k47v0tmk.js";
|
|
800
800
|
import {
|
|
801
801
|
ANNOUNCEMENT_VERSION2,
|
|
802
802
|
ANNOUNCEMENT_FEATURES2,
|
|
803
803
|
ANNOUNCEMENT_FOOTER2,
|
|
804
804
|
markAnnouncementSeen2,
|
|
805
805
|
shouldShowAnnouncement2
|
|
806
|
-
} from "./index-
|
|
806
|
+
} from "./index-cd3vp8xa.js";
|
|
807
807
|
import {
|
|
808
808
|
resolvePromptContext2
|
|
809
809
|
} from "./index-fmsr7v69.js";
|
|
@@ -811,13 +811,13 @@ import {
|
|
|
811
811
|
renderMessageByOrdinal2,
|
|
812
812
|
renderVerboseRangeForTool2,
|
|
813
813
|
renderItemByTag2
|
|
814
|
-
} from "./index-
|
|
814
|
+
} from "./index-h3p558ec.js";
|
|
815
815
|
import {
|
|
816
816
|
readV2ArchiveOffThread2
|
|
817
|
-
} from "./index-
|
|
817
|
+
} from "./index-5850zme4.js";
|
|
818
818
|
import {
|
|
819
819
|
renderSearchArchiveOffThread2
|
|
820
|
-
} from "./index-
|
|
820
|
+
} from "./index-7n2n3v92.js";
|
|
821
821
|
import {
|
|
822
822
|
COMPACTION_ENABLED_PATH,
|
|
823
823
|
isDreamerRunnable,
|
|
@@ -851,7 +851,7 @@ import {
|
|
|
851
851
|
} from "./index-8ajstryz.js";
|
|
852
852
|
import {
|
|
853
853
|
logSlowWriteTransaction
|
|
854
|
-
} from "./index-
|
|
854
|
+
} from "./index-tad3can2.js";
|
|
855
855
|
import {
|
|
856
856
|
shouldEnforcePrivateStoragePermissions,
|
|
857
857
|
ensureStorageDirectorySync,
|
|
@@ -4402,6 +4402,7 @@ function writeDocsProposal(projectDir, output, budget, expected, head) {
|
|
|
4402
4402
|
const result = validateDocsProposal(projectDir, output, budget, expected);
|
|
4403
4403
|
const dir = proposalDir(projectDir);
|
|
4404
4404
|
mkdirSync(join(dir, "superseded"), { recursive: true });
|
|
4405
|
+
ensureCortexKitArtifactGitignore(projectDir);
|
|
4405
4406
|
const stamp = `${new Date().toISOString().replace(/[:.]/g, "-")}-${Math.random().toString(36).slice(2, 8)}`;
|
|
4406
4407
|
const path = join(dir, `${stamp}.md`);
|
|
4407
4408
|
const body = `# Docs update proposal
|
|
@@ -14177,9 +14178,13 @@ function checkCompartmentTrigger(db, sessionId, sessionMeta, usage, _previousPer
|
|
|
14177
14178
|
}
|
|
14178
14179
|
return { shouldFire: false };
|
|
14179
14180
|
}
|
|
14181
|
+
const recovery = getOverflowState(db, sessionId).needsEmergencyRecovery;
|
|
14182
|
+
if (tailInfo.boundarySnapshot && recovery) {
|
|
14183
|
+
tailInfo.boundarySnapshot = { ...tailInfo.boundarySnapshot, recovery: true };
|
|
14184
|
+
}
|
|
14180
14185
|
if (tailInfo.boundarySnapshot && shouldWaitForNewHistorianHistory(tailInfo.boundarySnapshot, {
|
|
14181
14186
|
usagePercentage: usage.percentage,
|
|
14182
|
-
emergency:
|
|
14187
|
+
emergency: recovery
|
|
14183
14188
|
})) {
|
|
14184
14189
|
sessionLog2(sessionId, "compartment trigger: waiting for new history after no forward progress");
|
|
14185
14190
|
return { shouldFire: false };
|
|
@@ -14221,13 +14226,14 @@ function checkCompartmentTrigger(db, sessionId, sessionMeta, usage, _previousPer
|
|
|
14221
14226
|
executeThresholdPercentage,
|
|
14222
14227
|
usage,
|
|
14223
14228
|
usageSource: "live",
|
|
14224
|
-
emergencyTailScale: scale
|
|
14229
|
+
emergencyTailScale: scale,
|
|
14230
|
+
recovery
|
|
14225
14231
|
});
|
|
14226
14232
|
});
|
|
14227
14233
|
if (hasRunnableCompartmentWindow(scaledBoundary)) {
|
|
14228
14234
|
return { shouldFire: true, reason: "force_band", boundarySnapshot: scaledBoundary };
|
|
14229
14235
|
}
|
|
14230
|
-
sessionLog2(sessionId, "compartment trigger: force_band skipped —
|
|
14236
|
+
sessionLog2(sessionId, "compartment trigger: force_band skipped — no protected head meets summary admission after emergency tail scale");
|
|
14231
14237
|
return { shouldFire: false };
|
|
14232
14238
|
}
|
|
14233
14239
|
const clusterEnabled = commitClusterTrigger?.enabled ?? true;
|
|
@@ -15339,29 +15345,31 @@ function createToolExecuteAfterHook(args) {
|
|
|
15339
15345
|
}
|
|
15340
15346
|
const todoArgs = typedInput.args;
|
|
15341
15347
|
const todos = todoArgs?.todos;
|
|
15342
|
-
const sessionMeta =
|
|
15343
|
-
if (
|
|
15344
|
-
const
|
|
15345
|
-
if (
|
|
15346
|
-
|
|
15347
|
-
|
|
15348
|
+
const sessionMeta = getOrCreateSessionMeta(args.db, typedInput.sessionID);
|
|
15349
|
+
if (!sessionMeta.isSubagent) {
|
|
15350
|
+
const readableTodos = normalizeTodoStateJson(todos);
|
|
15351
|
+
if (readableTodos === null) {
|
|
15352
|
+
sessionLog2(typedInput.sessionID, "todowrite todos could not be read; cleared the todo snapshot");
|
|
15353
|
+
}
|
|
15354
|
+
const normalizedTodos = readableTodos ?? CLEARED_TODO_STATE_JSON;
|
|
15355
|
+
updateSessionMeta(args.db, typedInput.sessionID, {
|
|
15356
|
+
lastTodoState: normalizedTodos
|
|
15357
|
+
});
|
|
15358
|
+
if (args.transformMode === "rust" && args.todoStateSet) {
|
|
15359
|
+
const todoSessionId = typedInput.sessionID;
|
|
15360
|
+
const rawArgs = typedInput.args && typeof typedInput.args === "object" ? typedInput.args : {};
|
|
15361
|
+
const ownerMessageId = typeof rawArgs.owner_message_id === "string" && rawArgs.owner_message_id || typeof rawArgs.message_id === "string" && rawArgs.message_id || typeof typedInput.messageID === "string" && typedInput.messageID || typeof typedInput.callID === "string" && typedInput.callID || typedInput.sessionID;
|
|
15362
|
+
args.todoStateSet({
|
|
15363
|
+
sessionId: todoSessionId,
|
|
15364
|
+
stateJson: normalizedTodos,
|
|
15365
|
+
ownerMessageId
|
|
15366
|
+
}).catch((error) => {
|
|
15367
|
+
sessionLog2(todoSessionId, "rust todo_state.set failed (ignored):", error);
|
|
15348
15368
|
});
|
|
15349
|
-
if (args.transformMode === "rust" && args.todoStateSet) {
|
|
15350
|
-
const todoSessionId = typedInput.sessionID;
|
|
15351
|
-
const rawArgs = typedInput.args && typeof typedInput.args === "object" ? typedInput.args : {};
|
|
15352
|
-
const ownerMessageId = typeof rawArgs.owner_message_id === "string" && rawArgs.owner_message_id || typeof rawArgs.message_id === "string" && rawArgs.message_id || typeof typedInput.messageID === "string" && typedInput.messageID || typeof typedInput.callID === "string" && typedInput.callID || typedInput.sessionID;
|
|
15353
|
-
args.todoStateSet({
|
|
15354
|
-
sessionId: todoSessionId,
|
|
15355
|
-
stateJson: normalizedTodos,
|
|
15356
|
-
ownerMessageId
|
|
15357
|
-
}).catch((error) => {
|
|
15358
|
-
sessionLog2(todoSessionId, "rust todo_state.set failed (ignored):", error);
|
|
15359
|
-
});
|
|
15360
|
-
}
|
|
15361
15369
|
}
|
|
15362
15370
|
}
|
|
15363
15371
|
if (Array.isArray(todos) && todos.length > 0 && todos.every((t) => typeof t === "object" && t !== null && (t.status === "completed" || t.status === "cancelled"))) {
|
|
15364
|
-
if (
|
|
15372
|
+
if (!sessionMeta.isSubagent) {
|
|
15365
15373
|
onNoteTrigger(args.db, typedInput.sessionID, "todos_complete");
|
|
15366
15374
|
}
|
|
15367
15375
|
}
|
|
@@ -16375,7 +16383,7 @@ function registerRpcHandlers(rpcServer, args) {
|
|
|
16375
16383
|
return { count: buildCompartmentCount(db, sessionId, moduleStatus) };
|
|
16376
16384
|
});
|
|
16377
16385
|
const buildManagedCtx = async (db) => {
|
|
16378
|
-
const { deriveHistorianChunkTokens, resolveHistorianContextLimit } = await importPluginModule(() => import("./derive-budgets-
|
|
16386
|
+
const { deriveHistorianChunkTokens, resolveHistorianContextLimit } = await importPluginModule(() => import("./derive-budgets-z53424qx.js"));
|
|
16379
16387
|
const { resolveHistorianModel } = await importPluginModule(() => import("./model-resolution-280gmqvd.js"));
|
|
16380
16388
|
const { userObservationCollectionEnabled, userObservationsRequested } = await importPluginModule(() => import("./task-config-t6bpyka7.js"));
|
|
16381
16389
|
const DEFAULT_HISTORIAN_TIMEOUT_MS = 10 * 60 * 1000;
|
|
@@ -16408,7 +16416,7 @@ function registerRpcHandlers(rpcServer, args) {
|
|
|
16408
16416
|
return { ok: false, error: "no session" };
|
|
16409
16417
|
const readDirectory = args.readSessionDirectory;
|
|
16410
16418
|
if (readDirectory) {
|
|
16411
|
-
const { handoffHistoryWork } = await import("./history-owner-
|
|
16419
|
+
const { handoffHistoryWork } = await import("./history-owner-n50e0e8y.js");
|
|
16412
16420
|
const handed = await handoffHistoryWork({
|
|
16413
16421
|
storageDir: args.storageDir ?? getMagicContextStorageDir(),
|
|
16414
16422
|
directory,
|
|
@@ -16427,8 +16435,8 @@ function registerRpcHandlers(rpcServer, args) {
|
|
|
16427
16435
|
const db = readDatabase();
|
|
16428
16436
|
if (!db)
|
|
16429
16437
|
return { ok: false, error: "db unavailable" };
|
|
16430
|
-
const { runManagedRecomp } = await importPluginModule(() => import("./recomp-orchestrator-
|
|
16431
|
-
const { sendIgnoredMessage } = await importPluginModule(() => import("./send-session-notification-
|
|
16438
|
+
const { runManagedRecomp } = await importPluginModule(() => import("./recomp-orchestrator-gfxqqpph.js"));
|
|
16439
|
+
const { sendIgnoredMessage } = await importPluginModule(() => import("./send-session-notification-gamjee2f.js"));
|
|
16432
16440
|
log2(`[rpc] recomp requested for session ${sessionId}`);
|
|
16433
16441
|
if (!args.client && !args.hiddenCompletionExecutor) {
|
|
16434
16442
|
return {
|
|
@@ -16486,7 +16494,7 @@ function registerRpcHandlers(rpcServer, args) {
|
|
|
16486
16494
|
rpcServer.handle("wrapup", async (params) => {
|
|
16487
16495
|
const readDirectory = args.readSessionDirectory;
|
|
16488
16496
|
if (readDirectory && params.sessionId) {
|
|
16489
|
-
const { handoffHistoryWork } = await import("./history-owner-
|
|
16497
|
+
const { handoffHistoryWork } = await import("./history-owner-n50e0e8y.js");
|
|
16490
16498
|
const sessionId = String(params.sessionId);
|
|
16491
16499
|
const handed = await handoffHistoryWork({
|
|
16492
16500
|
storageDir: args.storageDir ?? getMagicContextStorageDir(),
|
|
@@ -16512,7 +16520,7 @@ function registerRpcHandlers(rpcServer, args) {
|
|
|
16512
16520
|
const db = readDatabase();
|
|
16513
16521
|
if (!db)
|
|
16514
16522
|
return { ok: false, error: "db unavailable" };
|
|
16515
|
-
const { runManagedWrapup } = await importPluginModule(() => import("./wrapup-orchestrator-
|
|
16523
|
+
const { runManagedWrapup } = await importPluginModule(() => import("./wrapup-orchestrator-fhfazjkq.js"));
|
|
16516
16524
|
const model = liveSessionState.liveModelBySession.get(sessionId);
|
|
16517
16525
|
const contextLimit = model ? resolveContextLimit(model.providerID, model.modelID, { db, sessionID: sessionId }) : 128000;
|
|
16518
16526
|
const ctx = {
|
|
@@ -24400,7 +24408,8 @@ async function runCompartmentPhaseImpl(args) {
|
|
|
24400
24408
|
executeThresholdPercentage: args.boundaryExecuteThresholdPercentage,
|
|
24401
24409
|
usage: args.boundaryUsage,
|
|
24402
24410
|
usageSource: args.boundaryUsageSource,
|
|
24403
|
-
emergencyTailScale
|
|
24411
|
+
emergencyTailScale,
|
|
24412
|
+
recovery: args.projectRecoveryRequest !== undefined
|
|
24404
24413
|
});
|
|
24405
24414
|
}
|
|
24406
24415
|
function getBoundarySnapshotForCompartment() {
|
|
@@ -24499,9 +24508,12 @@ async function runCompartmentPhaseImpl(args) {
|
|
|
24499
24508
|
if (!hasNewRawHistoryForCompartment())
|
|
24500
24509
|
return null;
|
|
24501
24510
|
const resolve = args.resolveRecoveryBoundary ?? resolveBoundarySnapshot;
|
|
24502
|
-
let snapshot = resolve();
|
|
24511
|
+
let snapshot = { ...resolve(), recovery: true };
|
|
24503
24512
|
if (!hasRunnableCompartmentWindow(snapshot)) {
|
|
24504
|
-
snapshot =
|
|
24513
|
+
snapshot = {
|
|
24514
|
+
...resolve(args.contextUsage.percentage >= BLOCK_UNTIL_DONE_PERCENTAGE ? 0.25 : 0.5),
|
|
24515
|
+
recovery: true
|
|
24516
|
+
};
|
|
24505
24517
|
}
|
|
24506
24518
|
cachedBoundarySnapshot = snapshot;
|
|
24507
24519
|
return hasRunnableCompartmentWindow(snapshot) ? snapshot : null;
|
|
@@ -25399,6 +25411,7 @@ function createTransform(deps) {
|
|
|
25399
25411
|
usage: boundaryUsageForProtectedTail,
|
|
25400
25412
|
usageSource: boundaryUsageSource,
|
|
25401
25413
|
emergencyTailScale,
|
|
25414
|
+
recovery: emergencyRecoveryArmed,
|
|
25402
25415
|
protectedTailMeta: earlyStateSnapshot.protectedTail
|
|
25403
25416
|
});
|
|
25404
25417
|
if (emergencyTailScale)
|
|
@@ -25427,9 +25440,16 @@ function createTransform(deps) {
|
|
|
25427
25440
|
return false;
|
|
25428
25441
|
const prepareRecoveryBoundary = () => {
|
|
25429
25442
|
const scale = emergencyUsagePercentageEarly >= 95 ? 0.25 : 0.5;
|
|
25430
|
-
|
|
25443
|
+
const recoveryBoundary = (scale) => {
|
|
25444
|
+
const snapshot = getRunnableBoundaryForCompartment(scale);
|
|
25445
|
+
return snapshot ? {
|
|
25446
|
+
...snapshot,
|
|
25447
|
+
recovery: emergencyRecoveryArmed || emergencyUsagePercentageEarly >= 95
|
|
25448
|
+
} : null;
|
|
25449
|
+
};
|
|
25450
|
+
let boundarySnapshot = recoveryBoundary();
|
|
25431
25451
|
if (!boundarySnapshot || !hasRunnableCompartmentWindow(boundarySnapshot)) {
|
|
25432
|
-
boundarySnapshot =
|
|
25452
|
+
boundarySnapshot = recoveryBoundary(scale);
|
|
25433
25453
|
}
|
|
25434
25454
|
if (false) {}
|
|
25435
25455
|
if (!boundarySnapshot || !hasRunnableCompartmentWindow(boundarySnapshot))
|
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
removeNestedBlocks,
|
|
7
7
|
hasMeaningfulUserText2,
|
|
8
8
|
extractTexts2
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-0tz2fzpq.js";
|
|
10
10
|
import {
|
|
11
11
|
cleanUserText2
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-qb75tv9j.js";
|
|
13
13
|
import {
|
|
14
14
|
recordMessageFtsRowid2,
|
|
15
15
|
recordIndexedMessageTime2,
|
|
16
16
|
messageFtsOrdinalRangeIsMapped2,
|
|
17
17
|
deleteUnmappedMessageFtsRows2
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-2ny9xwdn.js";
|
|
19
19
|
import {
|
|
20
20
|
logSlowWriteTransaction
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-tad3can2.js";
|
|
22
22
|
|
|
23
23
|
// src/features/magic-context/compression-depth-storage.ts
|
|
24
24
|
var incrementDepthStatements = new WeakMap;
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
getTemporalDecisions,
|
|
8
8
|
freezeTemporalDecisions,
|
|
9
9
|
stableStringify
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-a6aqpfp6.js";
|
|
11
11
|
import {
|
|
12
12
|
protectedToolTagNumbers,
|
|
13
13
|
stripPersistedAssistantText,
|
|
@@ -74,19 +74,17 @@ import {
|
|
|
74
74
|
adoptNullOwnerToolTag2,
|
|
75
75
|
getCandidateToolOwners2,
|
|
76
76
|
pickNearestPriorOwner2
|
|
77
|
-
} from "./index-
|
|
77
|
+
} from "./index-bkg4hdyh.js";
|
|
78
78
|
import {
|
|
79
79
|
textMentionsRecentCommit,
|
|
80
80
|
hasMeaningfulUserText2,
|
|
81
81
|
estimateTokens
|
|
82
|
-
} from "./index-
|
|
83
|
-
import {
|
|
84
|
-
getMagicContextStorageDir
|
|
85
|
-
} from "./index-g2q4htwp.js";
|
|
82
|
+
} from "./index-0tz2fzpq.js";
|
|
86
83
|
import {
|
|
84
|
+
getMagicContextStorageDir,
|
|
87
85
|
log2,
|
|
88
86
|
sessionLog2
|
|
89
|
-
} from "./index-
|
|
87
|
+
} from "./index-82dfe8en.js";
|
|
90
88
|
import {
|
|
91
89
|
inRootAsyncContext2,
|
|
92
90
|
getTagIdentityWriteGeneration2,
|
|
@@ -102,7 +100,7 @@ import {
|
|
|
102
100
|
} from "./index-1d042x6w.js";
|
|
103
101
|
import {
|
|
104
102
|
runSessionWarmupWorker
|
|
105
|
-
} from "./index-
|
|
103
|
+
} from "./index-36wseasx.js";
|
|
106
104
|
import {
|
|
107
105
|
getMaxM0MutationId,
|
|
108
106
|
getLastCompartmentEndMessage,
|
|
@@ -121,11 +119,11 @@ import {
|
|
|
121
119
|
saveSourceContent,
|
|
122
120
|
replaceSourceContent,
|
|
123
121
|
getSourceContents
|
|
124
|
-
} from "./index-
|
|
122
|
+
} from "./index-vyv4tame.js";
|
|
125
123
|
import {
|
|
126
124
|
cleanSearchText,
|
|
127
125
|
matchedSearchSnippet
|
|
128
|
-
} from "./index-
|
|
126
|
+
} from "./index-jedbxq6n.js";
|
|
129
127
|
import {
|
|
130
128
|
stripSystemInjection,
|
|
131
129
|
isTextPart,
|
|
@@ -223,7 +221,7 @@ import {
|
|
|
223
221
|
extractToolCallObservation,
|
|
224
222
|
ToolMutationBatch,
|
|
225
223
|
createToolDropTarget
|
|
226
|
-
} from "./index-
|
|
224
|
+
} from "./index-qb75tv9j.js";
|
|
227
225
|
import {
|
|
228
226
|
isValidLanguageCode
|
|
229
227
|
} from "./index-4dpvnp8k.js";
|
|
@@ -231,7 +229,7 @@ import {
|
|
|
231
229
|
getProjectEmbeddingSnapshot2,
|
|
232
230
|
embedTextForProject2,
|
|
233
231
|
embedBatchForProject2
|
|
234
|
-
} from "./index-
|
|
232
|
+
} from "./index-0mdh2cke.js";
|
|
235
233
|
import {
|
|
236
234
|
isEmbeddingHostBusy2
|
|
237
235
|
} from "./index-qt1qqasc.js";
|
|
@@ -239,15 +237,15 @@ import {
|
|
|
239
237
|
getMessageIndexEpoch,
|
|
240
238
|
isMessageIndexSearchable,
|
|
241
239
|
createAutoSearchDiagnostics
|
|
242
|
-
} from "./index-
|
|
240
|
+
} from "./index-cs7pmwt6.js";
|
|
243
241
|
import {
|
|
244
242
|
openCodeDbExists,
|
|
245
243
|
withReadOnlySessionDb,
|
|
246
244
|
getMessageTimesFromOpenCodeDb
|
|
247
|
-
} from "./index-
|
|
245
|
+
} from "./index-em92bp7f.js";
|
|
248
246
|
import {
|
|
249
247
|
BoundedSessionMap
|
|
250
|
-
} from "./index-
|
|
248
|
+
} from "./index-hsv31e69.js";
|
|
251
249
|
import {
|
|
252
250
|
compareOpenCodeMessagesByCanonicalOrder,
|
|
253
251
|
startCompactionMarkerCandidatePreparation,
|
|
@@ -268,10 +266,10 @@ import {
|
|
|
268
266
|
peekNoteNudgeText,
|
|
269
267
|
markNoteNudgeDelivered,
|
|
270
268
|
getActiveCompartmentRun
|
|
271
|
-
} from "./index-
|
|
269
|
+
} from "./index-va9x7y48.js";
|
|
272
270
|
import {
|
|
273
271
|
userFacingFailureCode
|
|
274
|
-
} from "./index-
|
|
272
|
+
} from "./index-3n9ee4jh.js";
|
|
275
273
|
import {
|
|
276
274
|
normalizeProtectedToolName,
|
|
277
275
|
mergeProtectedTools
|
|
@@ -281,7 +279,7 @@ import {
|
|
|
281
279
|
} from "./index-y8v6yerm.js";
|
|
282
280
|
import {
|
|
283
281
|
logSlowWriteTransaction
|
|
284
|
-
} from "./index-
|
|
282
|
+
} from "./index-tad3can2.js";
|
|
285
283
|
|
|
286
284
|
// src/features/magic-context/tagger.ts
|
|
287
285
|
var TOOL_COMPOSITE_KEY_SEP = "\x00";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
importPluginModule,
|
|
3
3
|
log2
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-82dfe8en.js";
|
|
5
5
|
import {
|
|
6
6
|
sendStatusNotification2
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-r9agn061.js";
|
|
8
8
|
import {
|
|
9
9
|
formatConflictShort
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-reyws9fy.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/conflict-warning-hook.ts
|
|
13
13
|
import { existsSync, readFileSync } from "node:fs";
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
} from "./index-fr0wbhdn.js";
|
|
4
4
|
import {
|
|
5
5
|
log2
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-82dfe8en.js";
|
|
7
7
|
import {
|
|
8
8
|
ensureColumn,
|
|
9
9
|
healAllNullColumns,
|
|
10
10
|
installV95PerfSchema
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-a6aqpfp6.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveOpenCodeDbPath,
|
|
14
14
|
openCodeDbPathExists,
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
normalizeStoredProjectPath,
|
|
22
22
|
storedPathBelongsToIdentity
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-0k283v27.js";
|
|
24
24
|
import {
|
|
25
25
|
logSlowWriteTransaction
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-tad3can2.js";
|
|
27
27
|
|
|
28
28
|
// src/features/magic-context/lkg-prefix-chunks.ts
|
|
29
29
|
import { createHash } from "node:crypto";
|