@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
package/dist/index.js
CHANGED
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
detectOverflow,
|
|
29
29
|
isAnthropicFamilyRoute,
|
|
30
30
|
readRawSessionMessages2
|
|
31
|
-
} from "./index-
|
|
31
|
+
} from "./index-qb75tv9j.js";
|
|
32
32
|
import {
|
|
33
33
|
setHarness2
|
|
34
34
|
} from "./index-pavzsdc6.js";
|
|
@@ -36,16 +36,14 @@ import {
|
|
|
36
36
|
getOpenCodeStorageDir,
|
|
37
37
|
getMagicContextStorageDir,
|
|
38
38
|
isMagicContextStorageOutsideEngram,
|
|
39
|
-
claimStorageBackupWarningCheck
|
|
40
|
-
} from "./index-g2q4htwp.js";
|
|
41
|
-
import"./index-z4p0ry94.js";
|
|
42
|
-
import {
|
|
39
|
+
claimStorageBackupWarningCheck,
|
|
43
40
|
registerStalePluginBuildHost,
|
|
44
41
|
importPluginModule,
|
|
45
42
|
log2,
|
|
46
43
|
sessionLog2,
|
|
47
44
|
flushLogger2
|
|
48
|
-
} from "./index-
|
|
45
|
+
} from "./index-82dfe8en.js";
|
|
46
|
+
import"./index-z4p0ry94.js";
|
|
49
47
|
import {
|
|
50
48
|
withContentLanguageDirective,
|
|
51
49
|
string,
|
|
@@ -84,7 +82,7 @@ import {
|
|
|
84
82
|
checkCompactionMarkerConsistency,
|
|
85
83
|
clearInjectionCache,
|
|
86
84
|
clearNoteNudgeTriggerOnly
|
|
87
|
-
} from "./index-
|
|
85
|
+
} from "./index-va9x7y48.js";
|
|
88
86
|
import"./index-sd3egckz.js";
|
|
89
87
|
import {
|
|
90
88
|
hasTrustedAbsoluteWall,
|
|
@@ -94,7 +92,7 @@ import {
|
|
|
94
92
|
deriveHistorianChunkTokens2,
|
|
95
93
|
resolveKnownHistorianContextLimit2,
|
|
96
94
|
resolveHistorianContextLimit2
|
|
97
|
-
} from "./index-
|
|
95
|
+
} from "./index-gapnh6tk.js";
|
|
98
96
|
import {
|
|
99
97
|
buildDreamTaskRuntimeConfigs2,
|
|
100
98
|
userMemoryCollectionEnabled2,
|
|
@@ -171,7 +169,7 @@ import {
|
|
|
171
169
|
parameterDescriptionsFor,
|
|
172
170
|
MagicContextRpcServer,
|
|
173
171
|
applyHiddenSubagentTemperature
|
|
174
|
-
} from "./index-
|
|
172
|
+
} from "./index-j7verehm.js";
|
|
175
173
|
import {
|
|
176
174
|
resolveOpenCodeDbPath,
|
|
177
175
|
openCodeDbPathExists,
|
|
@@ -198,10 +196,10 @@ import {
|
|
|
198
196
|
beginBootQuietPeriod,
|
|
199
197
|
bootQuietRemainingMs,
|
|
200
198
|
scheduleAfterBootQuiet
|
|
201
|
-
} from "./index-
|
|
199
|
+
} from "./index-0k283v27.js";
|
|
202
200
|
import {
|
|
203
201
|
deleteTemporalDecision
|
|
204
|
-
} from "./index-
|
|
202
|
+
} from "./index-a6aqpfp6.js";
|
|
205
203
|
import {
|
|
206
204
|
observeSessionActivity,
|
|
207
205
|
backfillSessionActivity,
|
|
@@ -219,11 +217,11 @@ import {
|
|
|
219
217
|
createDbLkgPersistence,
|
|
220
218
|
registerLkgPersistence,
|
|
221
219
|
dropSlot
|
|
222
|
-
} from "./index-
|
|
220
|
+
} from "./index-vyv4tame.js";
|
|
223
221
|
import {
|
|
224
222
|
recordSessionProjectIdentity
|
|
225
|
-
} from "./index-
|
|
226
|
-
import"./index-
|
|
223
|
+
} from "./index-qperbvjn.js";
|
|
224
|
+
import"./index-ga5q492k.js";
|
|
227
225
|
import"./index-fb3zxn06.js";
|
|
228
226
|
import {
|
|
229
227
|
startBootDeadline,
|
|
@@ -234,7 +232,7 @@ import {
|
|
|
234
232
|
openDatabaseAsync,
|
|
235
233
|
isDatabasePersisted,
|
|
236
234
|
getDatabasePersistenceError
|
|
237
|
-
} from "./index-
|
|
235
|
+
} from "./index-agfh931z.js";
|
|
238
236
|
import {
|
|
239
237
|
registerExitAbort,
|
|
240
238
|
unregisterExitAbort
|
|
@@ -243,48 +241,48 @@ import"./index-96ztjvkn.js";
|
|
|
243
241
|
import"./index-1d042x6w.js";
|
|
244
242
|
import {
|
|
245
243
|
forgetRawSessionOrdinalWatermark2
|
|
246
|
-
} from "./index-
|
|
247
|
-
import"./index-
|
|
248
|
-
import"./index-
|
|
244
|
+
} from "./index-36wseasx.js";
|
|
245
|
+
import"./index-2ny9xwdn.js";
|
|
246
|
+
import"./index-pb8ysnq2.js";
|
|
249
247
|
import"./index-fr0wbhdn.js";
|
|
250
248
|
import {
|
|
251
249
|
preloadTokenizer
|
|
252
|
-
} from "./index-
|
|
250
|
+
} from "./index-0tz2fzpq.js";
|
|
253
251
|
import {
|
|
254
252
|
BoundedSessionMap,
|
|
255
253
|
recordToolDefinition,
|
|
256
254
|
getCurrentToolSetHash
|
|
257
|
-
} from "./index-
|
|
258
|
-
import"./index-
|
|
255
|
+
} from "./index-hsv31e69.js";
|
|
256
|
+
import"./index-hsyczpn7.js";
|
|
259
257
|
import {
|
|
260
258
|
getDefaultSubcConnectionFile,
|
|
261
259
|
SubcModuleTransport
|
|
262
|
-
} from "./index-
|
|
260
|
+
} from "./index-5bksfv58.js";
|
|
263
261
|
import"./index-qt1qqasc.js";
|
|
264
|
-
import"./index-
|
|
262
|
+
import"./index-gz001bx7.js";
|
|
265
263
|
import {
|
|
266
264
|
observeOpenCodeTurnEvent,
|
|
267
265
|
clearTrackedOpenCodeSession,
|
|
268
266
|
findLastAssistantModelFromOpenCodeDb
|
|
269
|
-
} from "./index-
|
|
267
|
+
} from "./index-em92bp7f.js";
|
|
270
268
|
import {
|
|
271
269
|
sendCommandResult2,
|
|
272
270
|
sendStatusNotification2
|
|
273
|
-
} from "./index-
|
|
271
|
+
} from "./index-r9agn061.js";
|
|
274
272
|
import {
|
|
275
273
|
detectConflicts,
|
|
276
274
|
resolveCompactionForBoot
|
|
277
|
-
} from "./index-
|
|
275
|
+
} from "./index-reyws9fy.js";
|
|
278
276
|
import {
|
|
279
277
|
sendConflictWarning2,
|
|
280
278
|
cleanupConflictWarnings2
|
|
281
|
-
} from "./index-
|
|
279
|
+
} from "./index-kn1bx21r.js";
|
|
282
280
|
import"./index-1zx87sdm.js";
|
|
283
281
|
import {
|
|
284
282
|
stripPersistedAssistantText,
|
|
285
283
|
deleteTagsByMessageId2,
|
|
286
284
|
getMaxTagNumberBySession2
|
|
287
|
-
} from "./index-
|
|
285
|
+
} from "./index-bkg4hdyh.js";
|
|
288
286
|
import {
|
|
289
287
|
resolveHistorianModel2,
|
|
290
288
|
resolveOpenCodeAgentOverrides2,
|
|
@@ -294,24 +292,24 @@ import {
|
|
|
294
292
|
getEmbedDrainUiStatus,
|
|
295
293
|
clearEmbedSessionState
|
|
296
294
|
} from "./index-2amn2s73.js";
|
|
297
|
-
import"./index-
|
|
295
|
+
import"./index-hexdee98.js";
|
|
298
296
|
import {
|
|
299
297
|
deleteIndexedMessage
|
|
300
|
-
} from "./index-
|
|
298
|
+
} from "./index-jedbxq6n.js";
|
|
301
299
|
import"./index-6athgjba.js";
|
|
302
|
-
import"./index-
|
|
300
|
+
import"./index-25tm250q.js";
|
|
303
301
|
import {
|
|
304
302
|
pushNotification2
|
|
305
303
|
} from "./index-x8a7jmkh.js";
|
|
306
|
-
import"./index-
|
|
304
|
+
import"./index-tj5gz396.js";
|
|
307
305
|
import {
|
|
308
306
|
getEmbeddingCoverageStatus2
|
|
309
|
-
} from "./index-
|
|
307
|
+
} from "./index-0mdh2cke.js";
|
|
310
308
|
import"./index-4dhv7mqz.js";
|
|
311
|
-
import"./index-
|
|
309
|
+
import"./index-arxg51bj.js";
|
|
312
310
|
import"./index-jjvbk92s.js";
|
|
313
|
-
import"./index-
|
|
314
|
-
import"./index-
|
|
311
|
+
import"./index-3n9ee4jh.js";
|
|
312
|
+
import"./index-90z05d0p.js";
|
|
315
313
|
import {
|
|
316
314
|
createTagger,
|
|
317
315
|
cavemanWordRulesForLanguage,
|
|
@@ -319,25 +317,25 @@ import {
|
|
|
319
317
|
clearToolPermissionDenied,
|
|
320
318
|
collectForeignTextParts,
|
|
321
319
|
resetDegradedCacheCount2
|
|
322
|
-
} from "./index-
|
|
320
|
+
} from "./index-k47v0tmk.js";
|
|
323
321
|
import {
|
|
324
322
|
scheduleClearAndReindex
|
|
325
|
-
} from "./index-
|
|
323
|
+
} from "./index-cs7pmwt6.js";
|
|
326
324
|
import {
|
|
327
325
|
runManagedRecomp2
|
|
328
|
-
} from "./index-
|
|
326
|
+
} from "./index-wdmfnmv1.js";
|
|
329
327
|
import {
|
|
330
328
|
isValidSemver,
|
|
331
329
|
compareSemverCore
|
|
332
|
-
} from "./index-
|
|
330
|
+
} from "./index-cd3vp8xa.js";
|
|
333
331
|
import"./index-fmsr7v69.js";
|
|
334
332
|
import {
|
|
335
333
|
runManagedWrapup2
|
|
336
|
-
} from "./index-
|
|
337
|
-
import"./index-
|
|
334
|
+
} from "./index-vbmh68fb.js";
|
|
335
|
+
import"./index-h3p558ec.js";
|
|
338
336
|
import"./index-kaqs6h31.js";
|
|
339
|
-
import"./index-
|
|
340
|
-
import"./index-
|
|
337
|
+
import"./index-5850zme4.js";
|
|
338
|
+
import"./index-7n2n3v92.js";
|
|
341
339
|
import {
|
|
342
340
|
isDreamerRunnable,
|
|
343
341
|
isSmartNoteSurfaceAvailable,
|
|
@@ -357,7 +355,7 @@ import {
|
|
|
357
355
|
import {
|
|
358
356
|
closeQuietly
|
|
359
357
|
} from "./index-8ajstryz.js";
|
|
360
|
-
import"./index-
|
|
358
|
+
import"./index-tad3can2.js";
|
|
361
359
|
import {
|
|
362
360
|
setStoragePrivatePermissionEnforcement,
|
|
363
361
|
ensureStorageDirectorySync,
|
|
@@ -8205,7 +8203,7 @@ var require_src2 = __commonJS(function(exports, module) {
|
|
|
8205
8203
|
// package.json
|
|
8206
8204
|
var package_default = {
|
|
8207
8205
|
name: "@cortexkit/opencode-magic-context",
|
|
8208
|
-
version: "0.49.
|
|
8206
|
+
version: "0.49.49",
|
|
8209
8207
|
type: "module",
|
|
8210
8208
|
description: "OpenCode plugin for Magic Context — cross-session memory and context management",
|
|
8211
8209
|
main: "dist/index.js",
|
|
@@ -12063,7 +12061,7 @@ async function setup(context) {
|
|
|
12063
12061
|
if (claimStorageBackupWarningCheck() && isMagicContextStorageOutsideEngram(storageDir)) {
|
|
12064
12062
|
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.`);
|
|
12065
12063
|
}
|
|
12066
|
-
const { registerContext } = await import("./context-
|
|
12064
|
+
const { registerContext } = await import("./context-bwf57gnh.js");
|
|
12067
12065
|
setHarness2("opencode2");
|
|
12068
12066
|
bindStaleBuildNotice({}, import.meta.url, "opencode2");
|
|
12069
12067
|
const duties = await registerContext(context);
|
|
@@ -12142,7 +12140,7 @@ var server = async (ctx) => {
|
|
|
12142
12140
|
if (hasBannerEntries)
|
|
12143
12141
|
setTimeout(async () => {
|
|
12144
12142
|
try {
|
|
12145
|
-
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-
|
|
12143
|
+
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-gamjee2f.js"));
|
|
12146
12144
|
const clientWithSessions = ctx.client;
|
|
12147
12145
|
const sessions = await Promise.resolve(clientWithSessions.session?.list?.()).catch(() => null);
|
|
12148
12146
|
const sessionList = Array.isArray(sessions) ? sessions : sessions?.data;
|
|
@@ -12160,7 +12158,7 @@ var server = async (ctx) => {
|
|
|
12160
12158
|
log2(`[magic-context] opencode_db_missing path=${openCodeDbResolution.path} source=${openCodeDbResolution.source}`);
|
|
12161
12159
|
setTimeout(async () => {
|
|
12162
12160
|
try {
|
|
12163
|
-
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-
|
|
12161
|
+
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-gamjee2f.js"));
|
|
12164
12162
|
const clientWithSessions = ctx.client;
|
|
12165
12163
|
const sessions = await Promise.resolve(clientWithSessions.session?.list?.()).catch(() => null);
|
|
12166
12164
|
const sessionList = Array.isArray(sessions) ? sessions : sessions?.data;
|
|
@@ -12433,12 +12431,12 @@ var server = async (ctx) => {
|
|
|
12433
12431
|
{
|
|
12434
12432
|
const fence = getSchemaFenceRejection();
|
|
12435
12433
|
if (fence) {
|
|
12436
|
-
importPluginModule(() => import("./conflict-warning-hook-
|
|
12434
|
+
importPluginModule(() => import("./conflict-warning-hook-56qpq7ws.js")).then(({ sendSchemaFenceWarning }) => sendSchemaFenceWarning(ctx.client, ctx.directory, fence)).catch((error) => log2("[magic-context] schema-fence warning unavailable:", error));
|
|
12437
12435
|
}
|
|
12438
12436
|
}
|
|
12439
12437
|
const serverUrl = ctx.serverUrl;
|
|
12440
12438
|
const serverUrlStr = serverUrl instanceof URL ? serverUrl.toString().replace(/\/$/, "") : typeof serverUrl === "string" ? serverUrl.replace(/\/$/, "") : undefined;
|
|
12441
|
-
importPluginModule(() => import("./send-session-notification-
|
|
12439
|
+
importPluginModule(() => import("./send-session-notification-gamjee2f.js")).then(({ setNotificationServerUrl }) => {
|
|
12442
12440
|
setNotificationServerUrl(serverUrlStr);
|
|
12443
12441
|
}).catch((error) => log2("[magic-context] notification transport unavailable:", error));
|
|
12444
12442
|
if (conflictResult?.hasConflict) {
|
|
@@ -12452,7 +12450,7 @@ var server = async (ctx) => {
|
|
|
12452
12450
|
}
|
|
12453
12451
|
if (pluginConfig.enabled && !conflictResult?.hasConflict) {
|
|
12454
12452
|
setTimeout(() => {
|
|
12455
|
-
importPluginModule(() => import("./announcement-
|
|
12453
|
+
importPluginModule(() => import("./announcement-9pr71hd5.js")).then(({
|
|
12456
12454
|
shouldShowAnnouncement,
|
|
12457
12455
|
ANNOUNCEMENT_VERSION,
|
|
12458
12456
|
ANNOUNCEMENT_FEATURES,
|
|
@@ -12461,7 +12459,7 @@ var server = async (ctx) => {
|
|
|
12461
12459
|
}) => {
|
|
12462
12460
|
if (!shouldShowAnnouncement())
|
|
12463
12461
|
return;
|
|
12464
|
-
return importPluginModule(() => import("./conflict-warning-hook-
|
|
12462
|
+
return importPluginModule(() => import("./conflict-warning-hook-56qpq7ws.js")).then(({ sendStartupAnnouncement }) => sendStartupAnnouncement(ctx.client, ctx.directory, ANNOUNCEMENT_VERSION, ANNOUNCEMENT_FEATURES, ANNOUNCEMENT_FOOTER, markAnnouncementSeen));
|
|
12465
12463
|
}).catch(() => {});
|
|
12466
12464
|
}, 8000);
|
|
12467
12465
|
}
|
|
@@ -12535,8 +12533,8 @@ var server = async (ctx) => {
|
|
|
12535
12533
|
tryReopenStorage,
|
|
12536
12534
|
rustReplayParticipant: () => magicContextRuntime.magicContext?.getRustReplayParticipant?.() ?? null,
|
|
12537
12535
|
onStorageBusyRefusal: async (sessionId, message) => {
|
|
12538
|
-
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-
|
|
12539
|
-
const { abortSessionFailClosed } = await importPluginModule(() => import("./transform-postprocess-phase-
|
|
12536
|
+
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-gamjee2f.js"));
|
|
12537
|
+
const { abortSessionFailClosed } = await importPluginModule(() => import("./transform-postprocess-phase-36dw4kxb.js"));
|
|
12540
12538
|
await sendStatusNotification(ctx.client, sessionId, message, {
|
|
12541
12539
|
toastDurationMs: 15000
|
|
12542
12540
|
});
|
|
@@ -5,14 +5,13 @@ import {
|
|
|
5
5
|
startMessageFtsRowidMapBackfill2,
|
|
6
6
|
messageFtsOrdinalRangeIsMapped2,
|
|
7
7
|
deleteUnmappedMessageFtsRows2
|
|
8
|
-
} from "./index-
|
|
9
|
-
import"./index-
|
|
8
|
+
} from "./index-2ny9xwdn.js";
|
|
9
|
+
import"./index-36wseasx.js";
|
|
10
10
|
import"./index-96ztjvkn.js";
|
|
11
11
|
import"./index-v0p37hm2.js";
|
|
12
|
-
import"./index-
|
|
12
|
+
import"./index-tad3can2.js";
|
|
13
13
|
import"./index-gzy5w8ya.js";
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-g2q4htwp.js";
|
|
14
|
+
import"./index-82dfe8en.js";
|
|
16
15
|
import"./index-pavzsdc6.js";
|
|
17
16
|
import"./index-z4p0ry94.js";
|
|
18
17
|
import"./index-1d042x6w.js";
|
|
@@ -4,22 +4,21 @@ import {
|
|
|
4
4
|
yieldIndexChunk2
|
|
5
5
|
} from "./index-gzy5w8ya.js";
|
|
6
6
|
import"./index-1zx87sdm.js";
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
import"./index-bkg4hdyh.js";
|
|
8
|
+
import"./index-0tz2fzpq.js";
|
|
9
9
|
import"./index-pavzsdc6.js";
|
|
10
|
-
import"./index-
|
|
10
|
+
import"./index-82dfe8en.js";
|
|
11
11
|
import"./index-z4p0ry94.js";
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-9wnbnx8f.js";
|
|
12
|
+
import"./index-a6aqpfp6.js";
|
|
14
13
|
import"./index-4dpvnp8k.js";
|
|
15
14
|
import"./index-v0p37hm2.js";
|
|
16
15
|
import"./index-96ztjvkn.js";
|
|
17
16
|
import"./index-1d042x6w.js";
|
|
18
|
-
import"./index-
|
|
17
|
+
import"./index-36wseasx.js";
|
|
19
18
|
import"./index-58e3y90n.js";
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
19
|
+
import"./index-em92bp7f.js";
|
|
20
|
+
import"./index-qb75tv9j.js";
|
|
21
|
+
import"./index-hsv31e69.js";
|
|
23
22
|
import {
|
|
24
23
|
MESSAGE_INDEX_MAX_FTS_BYTES,
|
|
25
24
|
messageIndexSkipKey,
|
|
@@ -27,9 +26,9 @@ import {
|
|
|
27
26
|
markMessageIndexDirty,
|
|
28
27
|
getIndexableContent,
|
|
29
28
|
indexSingleMessage
|
|
30
|
-
} from "./index-
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
29
|
+
} from "./index-jedbxq6n.js";
|
|
30
|
+
import"./index-2ny9xwdn.js";
|
|
31
|
+
import"./index-tad3can2.js";
|
|
33
32
|
|
|
34
33
|
// src/features/magic-context/message-index-bounded.ts
|
|
35
34
|
import { createHash } from "node:crypto";
|
|
@@ -3,12 +3,11 @@ import {
|
|
|
3
3
|
withoutSqliteTransformPass2
|
|
4
4
|
} from "./index-gzy5w8ya.js";
|
|
5
5
|
import"./index-pavzsdc6.js";
|
|
6
|
-
import"./index-
|
|
6
|
+
import"./index-82dfe8en.js";
|
|
7
7
|
import"./index-z4p0ry94.js";
|
|
8
|
-
import"./index-jrfre9ah.js";
|
|
9
8
|
import {
|
|
10
9
|
logSlowWriteTransaction
|
|
11
|
-
} from "./index-
|
|
10
|
+
} from "./index-tad3can2.js";
|
|
12
11
|
|
|
13
12
|
// src/features/magic-context/message-time-backfill.ts
|
|
14
13
|
var MESSAGE_TIME_BACKFILL_BATCH_SIZE = 500;
|
package/dist/migration-worker.js
CHANGED
|
@@ -1,38 +1,37 @@
|
|
|
1
1
|
import"./index-pavzsdc6.js";
|
|
2
|
-
import"./index-g2q4htwp.js";
|
|
3
|
-
import"./index-z4p0ry94.js";
|
|
4
2
|
import {
|
|
5
3
|
setLogLineForwarder2,
|
|
6
4
|
log2
|
|
7
|
-
} from "./index-
|
|
5
|
+
} from "./index-82dfe8en.js";
|
|
6
|
+
import"./index-z4p0ry94.js";
|
|
8
7
|
import {
|
|
9
8
|
Database2
|
|
10
9
|
} from "./index-gzy5w8ya.js";
|
|
11
10
|
import"./index-fr0wbhdn.js";
|
|
12
11
|
import {
|
|
13
12
|
runMigrationsWithRetry
|
|
14
|
-
} from "./index-
|
|
15
|
-
import"./index-
|
|
13
|
+
} from "./index-pb8ysnq2.js";
|
|
14
|
+
import"./index-a6aqpfp6.js";
|
|
16
15
|
import"./index-58e3y90n.js";
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
16
|
+
import"./index-0k283v27.js";
|
|
17
|
+
import"./index-ga5q492k.js";
|
|
19
18
|
import"./index-fb3zxn06.js";
|
|
20
19
|
import {
|
|
21
20
|
setSqlitePragmaConfig,
|
|
22
21
|
initializeDatabase
|
|
23
|
-
} from "./index-
|
|
22
|
+
} from "./index-agfh931z.js";
|
|
24
23
|
import"./index-wh9fxds5.js";
|
|
25
24
|
import"./index-v0p37hm2.js";
|
|
26
25
|
import"./index-96ztjvkn.js";
|
|
27
26
|
import"./index-1d042x6w.js";
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
27
|
+
import"./index-36wseasx.js";
|
|
28
|
+
import"./index-2ny9xwdn.js";
|
|
29
|
+
import"./index-0tz2fzpq.js";
|
|
30
|
+
import"./index-hsv31e69.js";
|
|
32
31
|
import {
|
|
33
32
|
closeQuietly
|
|
34
33
|
} from "./index-8ajstryz.js";
|
|
35
|
-
import"./index-
|
|
34
|
+
import"./index-tad3can2.js";
|
|
36
35
|
import {
|
|
37
36
|
serveWorkerJobs
|
|
38
37
|
} from "./index-7v05d9b7.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-session-hooks.d.ts","sourceRoot":"","sources":["../../../src/plugin/hooks/create-session-hooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAE7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAKnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAGnF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AACrF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+CAA+C,CAAC;AAC1F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAChF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CAAC,YAAY,EAAE,wBAAwB;;;;;;;;;;;;;mBAcrB,CAAC;aAA2B,CAAC;aAE3E,CAAC;eAA6B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;2BA+G47wC,CAAC;;;;eAA8iB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA3GzhyC;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE;IACrC,GAAG,EAAE,aAAa,CAAC;IACnB,YAAY,EAAE,wBAAwB,CAAC;IACvC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC,wBAAwB,CAAC,CAAC;IAC9D,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;CAC/C;;;;;;;;;;;;;qBAkG8uJ,CAAC;8BAAwC,CAAC;iBAA8C,CAAC;0BAAc,CAAC;uBAAiB,CAAC;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"create-session-hooks.d.ts","sourceRoot":"","sources":["../../../src/plugin/hooks/create-session-hooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAE7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAKnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAGnF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AACrF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+CAA+C,CAAC;AAC1F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAChF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CAAC,YAAY,EAAE,wBAAwB;;;;;;;;;;;;;mBAcrB,CAAC;aAA2B,CAAC;aAE3E,CAAC;eAA6B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;2BA+G47wC,CAAC;;;;eAA8iB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA3GzhyC;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE;IACrC,GAAG,EAAE,aAAa,CAAC;IACnB,YAAY,EAAE,wBAAwB,CAAC;IACvC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC,wBAAwB,CAAC,CAAC;IAC9D,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;CAC/C;;;;;;;;;;;;;qBAkG8uJ,CAAC;8BAAwC,CAAC;iBAA8C,CAAC;0BAAc,CAAC;uBAAiB,CAAC;;;;;;;;;;;;;qBAAhkG,CAAC;mBAA6B,CAAC;iBAA2B,CAAC;iBAA2B,CAAC;0BAAc,CAAC;uBAAiB,CAAC;;;iBAA2D,CAAC;;oBAA4D,CAAC;uBAAiC,CAAC;yBAAoC,CAAC;;;;;;0BAAux6C,CAAC;;;;;;;;;;;;;;;;EAvDx3+C;AAED,wBAAsB,uBAAuB,CAAC,IAAI,EAAE;IAChD,GAAG,EAAE,aAAa,CAAC;IACnB,YAAY,EAAE,wBAAwB,CAAC;IACvC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC,wBAAwB,CAAC,CAAC;IAC9D,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,oBAAoB,CAAC,EAAE,CAAC,OAAO,EAAE,mBAAmB,KAAK,IAAI,CAAC;CACjE;;;;;;;;;;;;;qBA6C8uJ,CAAC;8BAAwC,CAAC;iBAA8C,CAAC;0BAAc,CAAC;uBAAiB,CAAC;;;;;;;;;;;;;qBAAhkG,CAAC;mBAA6B,CAAC;iBAA2B,CAAC;iBAA2B,CAAC;0BAAc,CAAC;uBAAiB,CAAC;;;iBAA2D,CAAC;;oBAA4D,CAAC;uBAAiC,CAAC;yBAAoC,CAAC;;;;;;0BAAux6C,CAAC;;;;;;;;;;;;;;;;GADx3+C"}
|
package/dist/{project-embedding-registry-r6xfsrbe.js → project-embedding-registry-nzgkq61z.js}
RENAMED
|
@@ -35,25 +35,24 @@ import {
|
|
|
35
35
|
sweepAllRegisteredProjects2,
|
|
36
36
|
_setTestProviderFactoryForProject2,
|
|
37
37
|
_resetProjectEmbeddingRegistryForTests2
|
|
38
|
-
} from "./index-
|
|
38
|
+
} from "./index-0mdh2cke.js";
|
|
39
39
|
import"./index-4dhv7mqz.js";
|
|
40
40
|
import"./index-2amn2s73.js";
|
|
41
41
|
import"./index-qt1qqasc.js";
|
|
42
|
-
import"./index-
|
|
42
|
+
import"./index-tj5gz396.js";
|
|
43
43
|
import"./index-4dpvnp8k.js";
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
44
|
+
import"./index-qperbvjn.js";
|
|
45
|
+
import"./index-hexdee98.js";
|
|
46
|
+
import"./index-hsyczpn7.js";
|
|
47
|
+
import"./index-0k283v27.js";
|
|
48
|
+
import"./index-2ny9xwdn.js";
|
|
49
|
+
import"./index-36wseasx.js";
|
|
50
50
|
import"./index-96ztjvkn.js";
|
|
51
51
|
import"./index-v0p37hm2.js";
|
|
52
|
-
import"./index-
|
|
53
|
-
import"./index-
|
|
52
|
+
import"./index-tad3can2.js";
|
|
53
|
+
import"./index-0tz2fzpq.js";
|
|
54
54
|
import"./index-gzy5w8ya.js";
|
|
55
|
-
import"./index-
|
|
56
|
-
import"./index-g2q4htwp.js";
|
|
55
|
+
import"./index-82dfe8en.js";
|
|
57
56
|
import"./index-pavzsdc6.js";
|
|
58
57
|
import"./index-z4p0ry94.js";
|
|
59
58
|
import"./index-1d042x6w.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-b76tfeje.js");
|
|
23
23
|
await serveV2ArchiveReads(port, openConnections);
|
|
24
24
|
return;
|
|
25
25
|
}
|
|
@@ -30,9 +30,9 @@ serveWorkerJobs(async (input, port) => {
|
|
|
30
30
|
{ log }
|
|
31
31
|
] = await Promise.all([
|
|
32
32
|
import("./sqlite-zdgm52sv.js"),
|
|
33
|
-
import("./read-session-raw-
|
|
33
|
+
import("./read-session-raw-04ger9zt.js"),
|
|
34
34
|
import("./harness-e4avh192.js"),
|
|
35
|
-
import("./logger-
|
|
35
|
+
import("./logger-sw7z6sjz.js")
|
|
36
36
|
]);
|
|
37
37
|
setHarness(input.harness ?? "opencode");
|
|
38
38
|
registerSqliteDiagnosticSink(log, getHarness);
|
|
@@ -46,13 +46,13 @@ serveWorkerJobs(async (input, port) => {
|
|
|
46
46
|
openConnections.add(db);
|
|
47
47
|
db.exec("PRAGMA busy_timeout = 250");
|
|
48
48
|
if (input.ftsRowidBackfill) {
|
|
49
|
-
const { runMessageFtsRowidMapBackfill } = await import("./message-fts-rowid-map-
|
|
49
|
+
const { runMessageFtsRowidMapBackfill } = await import("./message-fts-rowid-map-kx1bsdyg.js");
|
|
50
50
|
db.exec("PRAGMA busy_timeout = 0");
|
|
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-
|
|
55
|
-
const { readRawSessionMessageIdOrdinalsForRangeFromDb } = await import("./read-session-raw-
|
|
54
|
+
const { renderSearchArchive } = await import("./search-archive-6tgh88xp.js");
|
|
55
|
+
const { readRawSessionMessageIdOrdinalsForRangeFromDb } = await import("./read-session-raw-04ger9zt.js");
|
|
56
56
|
const archive = input.searchArchive;
|
|
57
57
|
let raw;
|
|
58
58
|
try {
|
|
@@ -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-2shxmht9.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-kdb4qsyq.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,25 +38,24 @@ import {
|
|
|
38
38
|
readSessionChunk2,
|
|
39
39
|
getRawSessionMessageIdsThrough2,
|
|
40
40
|
readRawSessionSeedTail2
|
|
41
|
-
} from "./index-
|
|
42
|
-
import"./index-
|
|
41
|
+
} from "./index-qb75tv9j.js";
|
|
42
|
+
import"./index-bkg4hdyh.js";
|
|
43
43
|
import"./index-1zx87sdm.js";
|
|
44
|
-
import"./index-
|
|
44
|
+
import"./index-em92bp7f.js";
|
|
45
45
|
import"./index-4dpvnp8k.js";
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
46
|
+
import"./index-hsv31e69.js";
|
|
47
|
+
import"./index-a6aqpfp6.js";
|
|
48
|
+
import"./index-36wseasx.js";
|
|
49
49
|
import"./index-96ztjvkn.js";
|
|
50
50
|
import"./index-v0p37hm2.js";
|
|
51
51
|
import"./index-58e3y90n.js";
|
|
52
|
-
import"./index-
|
|
52
|
+
import"./index-tad3can2.js";
|
|
53
53
|
import {
|
|
54
54
|
hasMeaningfulUserText2,
|
|
55
55
|
extractTexts2
|
|
56
|
-
} from "./index-
|
|
56
|
+
} from "./index-0tz2fzpq.js";
|
|
57
57
|
import"./index-gzy5w8ya.js";
|
|
58
|
-
import"./index-
|
|
59
|
-
import"./index-g2q4htwp.js";
|
|
58
|
+
import"./index-82dfe8en.js";
|
|
60
59
|
import"./index-pavzsdc6.js";
|
|
61
60
|
import"./index-z4p0ry94.js";
|
|
62
61
|
import"./index-1d042x6w.js";
|
|
@@ -29,12 +29,11 @@ import {
|
|
|
29
29
|
hasRawSessionMessageByIdFromDb2,
|
|
30
30
|
readRawSeedTailFromDb2,
|
|
31
31
|
readRawSessionBoundaryEndpointsFromDb2
|
|
32
|
-
} from "./index-
|
|
32
|
+
} from "./index-36wseasx.js";
|
|
33
33
|
import"./index-96ztjvkn.js";
|
|
34
34
|
import"./index-v0p37hm2.js";
|
|
35
35
|
import"./index-gzy5w8ya.js";
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-g2q4htwp.js";
|
|
36
|
+
import"./index-82dfe8en.js";
|
|
38
37
|
import"./index-pavzsdc6.js";
|
|
39
38
|
import"./index-z4p0ry94.js";
|
|
40
39
|
import"./index-1d042x6w.js";
|