@cortexkit/opencode-magic-context 0.49.89 → 0.49.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auto-search-worker.js +4 -4
- package/dist/chunk-embedding-write-worker.js +6 -6
- package/dist/{compartment-chunk-embedding-fey2bsyf.js → compartment-chunk-embedding-rp4asvk0.js} +3 -3
- package/dist/config/index.d.ts.map +1 -1
- package/dist/config/migrate-dreamer-v2.d.ts +1 -0
- package/dist/config/migrate-dreamer-v2.d.ts.map +1 -1
- package/dist/{context-grdg1k2k.js → context-6qq5e1ry.js} +716 -216
- package/dist/{embedding-backfill-qjkaee9s.js → embedding-backfill-w0yq71q2.js} +6 -6
- package/dist/embedding-worker.js +3 -3
- package/dist/features/magic-context/dreamer/refresh-primers.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/task-scheduler.d.ts +2 -2
- package/dist/features/magic-context/dreamer/task-scheduler.d.ts.map +1 -1
- package/dist/features/magic-context/memory/single-store-embedding-drain.d.ts.map +1 -1
- package/dist/features/magic-context/project-embedding-registry.d.ts +2 -1
- package/dist/features/magic-context/project-embedding-registry.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-runner-types.d.ts +2 -2
- package/dist/hooks/magic-context/compartment-runner-types.d.ts.map +1 -1
- package/dist/hooks/magic-context/historian-host-runner.d.ts +1 -1
- package/dist/hooks/magic-context/historian-host-runner.d.ts.map +1 -1
- package/dist/hooks/magic-context/history-boundary-repair.d.ts +2 -0
- package/dist/hooks/magic-context/history-boundary-repair.d.ts.map +1 -1
- package/dist/hooks/magic-context/read-session-formatting.d.ts +2 -0
- package/dist/hooks/magic-context/read-session-formatting.d.ts.map +1 -1
- package/dist/{index-3pdknr07.js → index-0twg41mh.js} +2 -2
- package/dist/{index-2pdgy88n.js → index-3n376ann.js} +19 -7
- package/dist/{index-wmb2mcdw.js → index-3yw525kb.js} +5 -5
- package/dist/{index-mrjat4eq.js → index-5wgdbj2h.js} +3 -3
- package/dist/{index-pxnzyvjc.js → index-6r99v53h.js} +1 -1
- package/dist/{index-9d3qgwq0.js → index-6t7jvp76.js} +3 -3
- package/dist/{index-jzfsnbmm.js → index-7rgnh11t.js} +5 -5
- package/dist/{index-chpzb6xy.js → index-capcna4r.js} +2 -2
- package/dist/{index-1y4y98r1.js → index-czz0w2c4.js} +14 -2
- package/dist/{index-zxhev8ze.js → index-dva352qe.js} +1 -1
- package/dist/{index-dk3hy2a2.js → index-e8my7q6m.js} +10 -10
- package/dist/{index-w51n3576.js → index-f25ha337.js} +1 -1
- package/dist/{index-q7msfgwz.js → index-febyth5n.js} +94 -27
- package/dist/{index-kknjvmpx.js → index-fqth7850.js} +51 -60
- package/dist/{index-60wnwcwz.js → index-gqhebzxx.js} +2 -2
- package/dist/{index-n1ty0vd3.js → index-m6vhxsce.js} +58 -56
- package/dist/{index-m6dnydf8.js → index-mg9s2rc3.js} +1 -1
- package/dist/{index-2qsca7h7.js → index-mq97qmb8.js} +3 -3
- package/dist/{index-78t37mcq.js → index-nmkv8yvs.js} +3 -3
- package/dist/{index-tt0vs4x5.js → index-qna2ra0s.js} +1 -1
- package/dist/{index-qfcjrnpe.js → index-r6r2eh90.js} +4 -4
- package/dist/{index-g0mb2kb4.js → index-ran2b3fn.js} +10 -10
- package/dist/{index-5vsk2cpp.js → index-s7460efs.js} +12 -1
- package/dist/{index-08jfpny9.js → index-sr8dmp7p.js} +1 -1
- package/dist/{index-h9hybzr5.js → index-wfahebsc.js} +5 -5
- package/dist/index-x3rdza40.js +63 -0
- package/dist/{index-60x5d68t.js → index-xn9efn18.js} +1 -1
- package/dist/{index-39rzef89.js → index-ydhymf0b.js} +3 -3
- package/dist/{index-61knrt52.js → index-ywgv1xcb.js} +1 -1
- package/dist/index.js +40 -40
- package/dist/{message-index-bounded-r1qys471.js → message-index-bounded-wvnp6fcp.js} +5 -5
- package/dist/migration-worker.js +4 -4
- package/dist/plugin/hooks/create-session-hooks.d.ts.map +1 -1
- package/dist/{project-embedding-registry-m3fp1pa4.js → project-embedding-registry-8je0xg18.js} +7 -5
- package/dist/raw-ordinal-warmup-worker.js +4 -4
- package/dist/{read-session-chunk-xv9f0wgb.js → read-session-chunk-j4hjc1pk.js} +4 -4
- package/dist/{recomp-orchestrator-dgyb394j.js → recomp-orchestrator-ps1c8c5h.js} +19 -18
- package/dist/{render-d014e603.js → render-nfj7280n.js} +13 -13
- package/dist/{search-9gceftb9.js → search-3r8b0jfa.js} +15 -15
- package/dist/{search-archive-gybn6q7s.js → search-archive-1etwnve4.js} +6 -6
- package/dist/shared/model-suggestion-retry.d.ts +18 -0
- package/dist/shared/model-suggestion-retry.d.ts.map +1 -1
- package/dist/{storage-tags-f1ftvjpw.js → storage-tags-nh2ftqhx.js} +3 -3
- package/dist/{store-n4yz3n66.js → store-019k3ek7.js} +2 -2
- package/dist/{store-reader-nf8z86n9.js → store-reader-a2v34xnh.js} +1 -1
- package/dist/{task-config-qt6n4bxm.js → task-config-vrebjxyy.js} +2 -1
- package/dist/{transform-postprocess-phase-34k1zwsy.js → transform-postprocess-phase-tqp968w4.js} +20 -19
- package/dist/v2/auto-search-worker.js +4 -4
- package/dist/v2/chunk-embedding-write-worker.js +6 -6
- package/dist/v2/{compartment-chunk-embedding-knt2468v.js → compartment-chunk-embedding-w7ht0t9v.js} +3 -3
- package/dist/v2/{context-8bzydxfy.js → context-d57v8c10.js} +753 -253
- package/dist/v2/{embedding-backfill-0ar1bm97.js → embedding-backfill-95m72gxa.js} +6 -6
- package/dist/v2/embedding-worker.js +3 -3
- package/dist/v2/fold/native-replay-v3.d.ts.map +1 -1
- package/dist/v2/fold/native-replay.d.ts +11 -2
- package/dist/v2/fold/native-replay.d.ts.map +1 -1
- package/dist/v2/hidden-child-native.d.ts +1 -1
- package/dist/v2/hidden-child-native.d.ts.map +1 -1
- package/dist/v2/hidden-child-record.d.ts +11 -2
- package/dist/v2/hidden-child-record.d.ts.map +1 -1
- package/dist/v2/hidden-child-sweep.d.ts +3 -0
- package/dist/v2/hidden-child-sweep.d.ts.map +1 -1
- package/dist/v2/hidden-completion.d.ts +4 -0
- package/dist/v2/hidden-completion.d.ts.map +1 -1
- package/dist/v2/hidden-run-holder.d.ts +2 -2
- package/dist/v2/hidden-run-holder.d.ts.map +1 -1
- package/dist/v2/hooks/context.d.ts +2 -2
- package/dist/v2/hooks/context.d.ts.map +1 -1
- package/dist/v2/hooks/hidden-child.d.ts +2 -0
- package/dist/v2/hooks/hidden-child.d.ts.map +1 -1
- package/dist/v2/hooks/revert-message-state.d.ts +19 -1
- package/dist/v2/hooks/revert-message-state.d.ts.map +1 -1
- package/dist/v2/{message-index-bounded-b07r9cjv.js → message-index-bounded-2nhbwry6.js} +5 -5
- package/dist/v2/migration-worker.js +4 -4
- package/dist/v2/{project-embedding-registry-gx2waee8.js → project-embedding-registry-fcxf4qht.js} +7 -5
- package/dist/v2/raw-ordinal-warmup-worker.js +4 -4
- package/dist/v2/{read-session-chunk-38wdy8nd.js → read-session-chunk-jrrhwxgx.js} +4 -4
- package/dist/v2/{recomp-orchestrator-wq7gbkqa.js → recomp-orchestrator-n79hdd7n.js} +19 -18
- package/dist/v2/{render-2dan17xc.js → render-7emcjdt1.js} +13 -13
- package/dist/v2/{search-archive-89hdy0a2.js → search-archive-fpjbmxcx.js} +6 -6
- package/dist/v2/{search-nyqykx7q.js → search-vz2cpgr0.js} +14 -14
- package/dist/v2/{server-ytqps2xa.js → server-0h875f56.js} +1 -1
- package/dist/v2/server-3gz9k20t.js +63 -0
- package/dist/v2/{server-ta4h0fch.js → server-3z8rhacq.js} +9 -9
- package/dist/v2/{server-dtcwkdqj.js → server-4axv6kq6.js} +63 -23
- package/dist/v2/{server-c7awk5s2.js → server-4bfk1sky.js} +3 -3
- package/dist/v2/{server-dgjqvpgd.js → server-72k2r3kt.js} +19 -7
- package/dist/v2/{server-pjk9spbf.js → server-7e89a2kf.js} +1 -1
- package/dist/v2/{server-add0j5n3.js → server-8ps3717t.js} +3 -3
- package/dist/v2/{server-a85j3kam.js → server-8r32etq0.js} +1 -1
- package/dist/v2/{server-f7tzvmzs.js → server-b4efn08m.js} +1 -1
- package/dist/v2/{server-y17r5ryz.js → server-barj0mjz.js} +2 -2
- package/dist/v2/{server-yx0nyj1q.js → server-hgfd6c3e.js} +3 -3
- package/dist/v2/{server-qyazxy92.js → server-j9cm1czj.js} +14 -2
- package/dist/v2/{server-9n2qgk29.js → server-kwsqytwj.js} +2 -2
- package/dist/v2/{server-fb5hvvfc.js → server-n431vzn5.js} +3 -3
- package/dist/v2/{server-2kswss3d.js → server-n5wn7d9b.js} +48 -60
- package/dist/v2/{server-x6fn9x8q.js → server-ps6zrzwj.js} +1 -1
- package/dist/v2/{server-pmws7we9.js → server-q104czn6.js} +2 -2
- package/dist/v2/{server-vy0beygw.js → server-q2ap5cty.js} +3 -3
- package/dist/v2/{server-y8xjr8rx.js → server-qb3s0mnc.js} +12 -1
- package/dist/v2/{server-stjy5dxv.js → server-qntmqaca.js} +1 -1
- package/dist/v2/{server-09h2vyvs.js → server-r4816kwv.js} +5 -5
- package/dist/v2/{server-b0a9h3ds.js → server-vfa7byfa.js} +5 -5
- package/dist/v2/{server-tj65pgvg.js → server-vsqmkvxc.js} +32 -5
- package/dist/v2/{server-fn4ky6mn.js → server-xmgvy3cq.js} +1 -1
- package/dist/v2/server.js +4 -3
- package/dist/v2/{storage-tags-pmw33chf.js → storage-tags-t0f9njdp.js} +3 -3
- package/dist/v2/{store-y56y034s.js → store-q3ef5rvz.js} +2 -2
- package/dist/v2/{store-reader-2vhx33n6.js → store-reader-wc01y2rc.js} +1 -1
- package/dist/v2/store-reader.d.ts +2 -0
- package/dist/v2/store-reader.d.ts.map +1 -1
- package/dist/v2/{task-config-ex2vajr2.js → task-config-4nqq2s0w.js} +2 -1
- package/dist/v2/{v2-archive-reader-gh1jghf7.js → v2-archive-reader-9p84yzk5.js} +1 -1
- package/dist/v2/{wrapup-orchestrator-2h7ayss9.js → wrapup-orchestrator-acebazx8.js} +19 -18
- package/dist/{v2-archive-reader-8158kyfd.js → v2-archive-reader-w1bbaqe8.js} +1 -1
- package/dist/{wrapup-orchestrator-ct59br0c.js → wrapup-orchestrator-fwbe0mvm.js} +20 -19
- package/package.json +1 -1
- package/src/config/index.test.ts +58 -0
- package/src/config/index.ts +4 -1
- package/src/config/migrate-dreamer-v2.ts +42 -0
- package/src/shared/model-suggestion-retry.test.ts +37 -0
- package/src/shared/model-suggestion-retry.ts +38 -4
- package/src/shared/startup-maintenance-policy.test.ts +11 -6
- package/dist/index-ksdyrrav.js +0 -52
- package/dist/v2/server-0s95v3en.js +0 -49
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
isSynapseEmbeddingTruncated,
|
|
16
16
|
SynapseEmbeddingProvider
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-6r99v53h.js";
|
|
18
18
|
import {
|
|
19
19
|
LocalEmbeddingProvider
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-xn9efn18.js";
|
|
21
21
|
import {
|
|
22
22
|
OpenAICompatibleEmbeddingProvider,
|
|
23
23
|
embedTextForProject2
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-3n376ann.js";
|
|
25
25
|
import {
|
|
26
26
|
saveEmbeddingIfHashMatches
|
|
27
27
|
} from "./index-qjwpqvnf.js";
|
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-mq97qmb8.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-febyth5n.js";
|
|
62
62
|
import"./index-sd3egckz.js";
|
|
63
63
|
import"./index-gqf8r04r.js";
|
|
64
64
|
import {
|
|
@@ -77,11 +77,11 @@ import {
|
|
|
77
77
|
resolveHistorianContextLimit2
|
|
78
78
|
} from "./index-xsqw8kbd.js";
|
|
79
79
|
import {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./index-
|
|
80
|
+
isDreamerRunnable,
|
|
81
|
+
isSmartNoteSurfaceAvailable,
|
|
82
|
+
isHistorianRunnable,
|
|
83
|
+
isCompactionEnabled
|
|
84
|
+
} from "./index-fqth7850.js";
|
|
85
85
|
import {
|
|
86
86
|
logConfigDependencyNotesOnce,
|
|
87
87
|
openOpenCodeDb,
|
|
@@ -143,7 +143,7 @@ import {
|
|
|
143
143
|
parameterDescriptionsFor,
|
|
144
144
|
MagicContextRpcServer,
|
|
145
145
|
applyHiddenSubagentTemperature
|
|
146
|
-
} from "./index-
|
|
146
|
+
} from "./index-m6vhxsce.js";
|
|
147
147
|
import {
|
|
148
148
|
resolveOpenCodeDbPath,
|
|
149
149
|
openCodeDbPathExists,
|
|
@@ -176,7 +176,7 @@ import {
|
|
|
176
176
|
deleteTemporalDecision,
|
|
177
177
|
recordToolDefinition,
|
|
178
178
|
getCurrentToolSetHash
|
|
179
|
-
} from "./index-
|
|
179
|
+
} from "./index-mg9s2rc3.js";
|
|
180
180
|
import {
|
|
181
181
|
observeSessionActivity,
|
|
182
182
|
backfillSessionActivity,
|
|
@@ -195,7 +195,7 @@ import {
|
|
|
195
195
|
dropServedRecord,
|
|
196
196
|
registerLkgPersistence,
|
|
197
197
|
dropSlot
|
|
198
|
-
} from "./index-
|
|
198
|
+
} from "./index-wfahebsc.js";
|
|
199
199
|
import {
|
|
200
200
|
recordSessionProjectIdentity
|
|
201
201
|
} from "./index-r4y0dczp.js";
|
|
@@ -209,7 +209,7 @@ import {
|
|
|
209
209
|
openDatabaseAsync,
|
|
210
210
|
isDatabasePersisted,
|
|
211
211
|
getDatabasePersistenceError
|
|
212
|
-
} from "./index-
|
|
212
|
+
} from "./index-5wgdbj2h.js";
|
|
213
213
|
import {
|
|
214
214
|
registerExitAbort,
|
|
215
215
|
unregisterExitAbort
|
|
@@ -220,16 +220,16 @@ import {
|
|
|
220
220
|
forgetRawSessionOrdinalWatermark2
|
|
221
221
|
} from "./index-q7q6qp1f.js";
|
|
222
222
|
import"./index-s32f8y67.js";
|
|
223
|
-
import"./index-
|
|
223
|
+
import"./index-qna2ra0s.js";
|
|
224
224
|
import"./index-fr0wbhdn.js";
|
|
225
225
|
import {
|
|
226
226
|
preloadTokenizer
|
|
227
|
-
} from "./index-
|
|
228
|
-
import"./index-
|
|
227
|
+
} from "./index-s7460efs.js";
|
|
228
|
+
import"./index-6r99v53h.js";
|
|
229
229
|
import {
|
|
230
230
|
getDefaultSubcConnectionFile,
|
|
231
231
|
SubcModuleTransport
|
|
232
|
-
} from "./index-
|
|
232
|
+
} from "./index-e8my7q6m.js";
|
|
233
233
|
import"./index-qt1qqasc.js";
|
|
234
234
|
import"./index-e6ncz7a6.js";
|
|
235
235
|
import {
|
|
@@ -279,32 +279,38 @@ import {
|
|
|
279
279
|
isAnthropicFamilyRoute,
|
|
280
280
|
deleteTagsByMessageId2,
|
|
281
281
|
getMaxTagNumberBySession2
|
|
282
|
-
} from "./index-
|
|
282
|
+
} from "./index-gqhebzxx.js";
|
|
283
283
|
import {
|
|
284
284
|
resolveHistorianModel2,
|
|
285
285
|
resolveOpenCodeAgentOverrides2,
|
|
286
286
|
resolveHistorianAgentOverrides2
|
|
287
287
|
} from "./index-5kym00ag.js";
|
|
288
|
+
import {
|
|
289
|
+
buildDreamTaskRuntimeConfigs2,
|
|
290
|
+
userMemoryCollectionEnabled2,
|
|
291
|
+
userObservationCollectionEnabled2,
|
|
292
|
+
userObservationsRequested2
|
|
293
|
+
} from "./index-x3rdza40.js";
|
|
288
294
|
import {
|
|
289
295
|
getEmbedDrainUiStatus,
|
|
290
296
|
clearEmbedSessionState
|
|
291
297
|
} from "./index-2amn2s73.js";
|
|
292
|
-
import"./index-
|
|
298
|
+
import"./index-0twg41mh.js";
|
|
293
299
|
import {
|
|
294
300
|
deleteIndexedMessage
|
|
295
|
-
} from "./index-
|
|
296
|
-
import"./index-
|
|
297
|
-
import"./index-
|
|
301
|
+
} from "./index-capcna4r.js";
|
|
302
|
+
import"./index-czz0w2c4.js";
|
|
303
|
+
import"./index-ywgv1xcb.js";
|
|
298
304
|
import {
|
|
299
305
|
pushNotification2
|
|
300
306
|
} from "./index-y14pawe1.js";
|
|
301
|
-
import"./index-
|
|
307
|
+
import"./index-xn9efn18.js";
|
|
302
308
|
import {
|
|
303
309
|
getEmbeddingCoverageStatus2
|
|
304
|
-
} from "./index-
|
|
310
|
+
} from "./index-3n376ann.js";
|
|
305
311
|
import"./index-qjwpqvnf.js";
|
|
306
|
-
import"./index-
|
|
307
|
-
import"./index-
|
|
312
|
+
import"./index-ydhymf0b.js";
|
|
313
|
+
import"./index-f25ha337.js";
|
|
308
314
|
import"./index-9emdjcb5.js";
|
|
309
315
|
import"./index-832w615x.js";
|
|
310
316
|
import {
|
|
@@ -326,13 +332,13 @@ import {
|
|
|
326
332
|
armBindingRecoverySafely,
|
|
327
333
|
collectForeignTextParts,
|
|
328
334
|
resetDegradedCacheCount2
|
|
329
|
-
} from "./index-
|
|
335
|
+
} from "./index-ran2b3fn.js";
|
|
330
336
|
import {
|
|
331
337
|
scheduleClearAndReindex
|
|
332
|
-
} from "./index-
|
|
338
|
+
} from "./index-dva352qe.js";
|
|
333
339
|
import {
|
|
334
340
|
runManagedRecomp2
|
|
335
|
-
} from "./index-
|
|
341
|
+
} from "./index-r6r2eh90.js";
|
|
336
342
|
import {
|
|
337
343
|
isValidSemver,
|
|
338
344
|
compareSemverCore
|
|
@@ -340,17 +346,11 @@ import {
|
|
|
340
346
|
import"./index-fmsr7v69.js";
|
|
341
347
|
import {
|
|
342
348
|
runManagedWrapup2
|
|
343
|
-
} from "./index-
|
|
344
|
-
import"./index-
|
|
349
|
+
} from "./index-3yw525kb.js";
|
|
350
|
+
import"./index-nmkv8yvs.js";
|
|
345
351
|
import"./index-52x68mj4.js";
|
|
346
|
-
import"./index-
|
|
347
|
-
import"./index-
|
|
348
|
-
import {
|
|
349
|
-
isDreamerRunnable,
|
|
350
|
-
isSmartNoteSurfaceAvailable,
|
|
351
|
-
isHistorianRunnable,
|
|
352
|
-
isCompactionEnabled
|
|
353
|
-
} from "./index-ksdyrrav.js";
|
|
352
|
+
import"./index-7rgnh11t.js";
|
|
353
|
+
import"./index-6t7jvp76.js";
|
|
354
354
|
import {
|
|
355
355
|
__toESM,
|
|
356
356
|
__commonJS
|
|
@@ -8206,7 +8206,7 @@ var require_src2 = __commonJS(function(exports, module) {
|
|
|
8206
8206
|
// package.json
|
|
8207
8207
|
var package_default = {
|
|
8208
8208
|
name: "@cortexkit/opencode-magic-context",
|
|
8209
|
-
version: "0.49.
|
|
8209
|
+
version: "0.49.91",
|
|
8210
8210
|
type: "module",
|
|
8211
8211
|
description: "OpenCode plugin for Magic Context — cross-session memory and context management",
|
|
8212
8212
|
main: "dist/index.js",
|
|
@@ -11831,7 +11831,7 @@ async function sendOpenCodeRefusal(client, sessionId, message, refusal) {
|
|
|
11831
11831
|
sessionLog2(sessionId, "refusal notice skipped: no terminal viewing the session", refusal.name);
|
|
11832
11832
|
}
|
|
11833
11833
|
if (storageBusy) {
|
|
11834
|
-
const { abortSessionFailClosed } = await importPluginModule(() => import("./transform-postprocess-phase-
|
|
11834
|
+
const { abortSessionFailClosed } = await importPluginModule(() => import("./transform-postprocess-phase-tqp968w4.js"));
|
|
11835
11835
|
await abortSessionFailClosed(client, sessionId);
|
|
11836
11836
|
}
|
|
11837
11837
|
}
|
|
@@ -12101,7 +12101,7 @@ async function setup(context) {
|
|
|
12101
12101
|
if (claimStorageBackupWarningCheck() && isMagicContextStorageOutsideEngram(storageDir)) {
|
|
12102
12102
|
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.`);
|
|
12103
12103
|
}
|
|
12104
|
-
const { registerContext } = await import("./context-
|
|
12104
|
+
const { registerContext } = await import("./context-6qq5e1ry.js");
|
|
12105
12105
|
setHarness2("opencode2");
|
|
12106
12106
|
bindStaleBuildNotice({}, import.meta.url, "opencode2");
|
|
12107
12107
|
const duties = await registerContext(context);
|
|
@@ -4,12 +4,12 @@ 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-gqhebzxx.js";
|
|
8
|
+
import"./index-s7460efs.js";
|
|
9
9
|
import"./index-pavzsdc6.js";
|
|
10
10
|
import"./index-ywrz4wy2.js";
|
|
11
11
|
import"./index-z4p0ry94.js";
|
|
12
|
-
import"./index-
|
|
12
|
+
import"./index-mg9s2rc3.js";
|
|
13
13
|
import"./index-6nqz8hsz.js";
|
|
14
14
|
import"./index-v0p37hm2.js";
|
|
15
15
|
import"./index-96ztjvkn.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-mq97qmb8.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-capcna4r.js";
|
|
29
29
|
import"./index-s32f8y67.js";
|
|
30
30
|
import"./index-m0pwswv9.js";
|
|
31
31
|
|
package/dist/migration-worker.js
CHANGED
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
import"./index-fr0wbhdn.js";
|
|
11
11
|
import {
|
|
12
12
|
runMigrationsWithRetry
|
|
13
|
-
} from "./index-
|
|
14
|
-
import"./index-
|
|
13
|
+
} from "./index-qna2ra0s.js";
|
|
14
|
+
import"./index-mg9s2rc3.js";
|
|
15
15
|
import"./index-58e3y90n.js";
|
|
16
16
|
import"./index-gqf8r04r.js";
|
|
17
17
|
import"./index-5df2fw5b.js";
|
|
@@ -20,14 +20,14 @@ import"./index-fb3zxn06.js";
|
|
|
20
20
|
import {
|
|
21
21
|
setSqlitePragmaConfig,
|
|
22
22
|
initializeDatabase
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-5wgdbj2h.js";
|
|
24
24
|
import"./index-wh9fxds5.js";
|
|
25
25
|
import"./index-v0p37hm2.js";
|
|
26
26
|
import"./index-96ztjvkn.js";
|
|
27
27
|
import"./index-1d042x6w.js";
|
|
28
28
|
import"./index-q7q6qp1f.js";
|
|
29
29
|
import"./index-s32f8y67.js";
|
|
30
|
-
import"./index-
|
|
30
|
+
import"./index-s7460efs.js";
|
|
31
31
|
import {
|
|
32
32
|
closeQuietly
|
|
33
33
|
} from "./index-8ajstryz.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;;;;;;;;;;;;;
|
|
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;;;;;;;;;;;;;mBAcK,CAAC;aAE3E,CAAC;aAA2B,CAAC;eAA6B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;2BA+Gi7zC,CAAC;;;;eAA8iB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA3Gxi1C;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;;;;;;0BAAu97C,CAAC;;;;;;;;;;;;;;;;EAvDxjgD;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;;;;;;0BAAu97C,CAAC;;;;;;;;;;;;;;;;GADxjgD"}
|
package/dist/{project-embedding-registry-m3fp1pa4.js → project-embedding-registry-8je0xg18.js}
RENAMED
|
@@ -28,6 +28,7 @@ import {
|
|
|
28
28
|
embedBatchForProject2,
|
|
29
29
|
embedItemsForProject2,
|
|
30
30
|
embedItemsWindowBounded2,
|
|
31
|
+
countUnembeddedMemoriesForProject2,
|
|
31
32
|
embedUnembeddedMemoriesForProject2,
|
|
32
33
|
embedUnembeddedMemoriesForProjectOutcome2,
|
|
33
34
|
drainCommitBacklogForProject2,
|
|
@@ -38,15 +39,15 @@ import {
|
|
|
38
39
|
sweepAllRegisteredProjects2,
|
|
39
40
|
_setTestProviderFactoryForProject2,
|
|
40
41
|
_resetProjectEmbeddingRegistryForTests2
|
|
41
|
-
} from "./index-
|
|
42
|
+
} from "./index-3n376ann.js";
|
|
42
43
|
import"./index-qjwpqvnf.js";
|
|
43
44
|
import"./index-2amn2s73.js";
|
|
44
45
|
import"./index-qt1qqasc.js";
|
|
45
|
-
import"./index-
|
|
46
|
+
import"./index-xn9efn18.js";
|
|
46
47
|
import"./index-6nqz8hsz.js";
|
|
47
48
|
import"./index-r4y0dczp.js";
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
49
|
+
import"./index-0twg41mh.js";
|
|
50
|
+
import"./index-6r99v53h.js";
|
|
50
51
|
import"./index-5pgyqgmx.js";
|
|
51
52
|
import"./index-s32f8y67.js";
|
|
52
53
|
import"./index-q7q6qp1f.js";
|
|
@@ -55,7 +56,7 @@ import"./index-v0p37hm2.js";
|
|
|
55
56
|
import"./index-m0pwswv9.js";
|
|
56
57
|
import"./index-5df2fw5b.js";
|
|
57
58
|
import"./index-gqf8r04r.js";
|
|
58
|
-
import"./index-
|
|
59
|
+
import"./index-s7460efs.js";
|
|
59
60
|
import"./index-gzy5w8ya.js";
|
|
60
61
|
import"./index-ywrz4wy2.js";
|
|
61
62
|
import"./index-pavzsdc6.js";
|
|
@@ -65,6 +66,7 @@ export {
|
|
|
65
66
|
_resetProjectEmbeddingRegistryForTests2 as _resetProjectEmbeddingRegistryForTests,
|
|
66
67
|
_setTestProviderFactoryForProject2 as _setTestProviderFactoryForProject,
|
|
67
68
|
contentSha2562 as contentSha256,
|
|
69
|
+
countUnembeddedMemoriesForProject2 as countUnembeddedMemoriesForProject,
|
|
68
70
|
describeShadowBackfillWriteRefusal2 as describeShadowBackfillWriteRefusal,
|
|
69
71
|
drainCommitBacklogForProject2 as drainCommitBacklogForProject,
|
|
70
72
|
drainProjectEmbeddingIdentityMaintenance2 as drainProjectEmbeddingIdentityMaintenance,
|
|
@@ -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-w1bbaqe8.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-1etwnve4.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-wvnp6fcp.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-nh2ftqhx.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,12 +38,12 @@ import {
|
|
|
38
38
|
readSessionChunk2,
|
|
39
39
|
getRawSessionMessageIdsThrough2,
|
|
40
40
|
readRawSessionSeedTail2
|
|
41
|
-
} from "./index-
|
|
42
|
-
import"./index-
|
|
41
|
+
} from "./index-mq97qmb8.js";
|
|
42
|
+
import"./index-gqhebzxx.js";
|
|
43
43
|
import"./index-1zx87sdm.js";
|
|
44
44
|
import"./index-x40zr813.js";
|
|
45
45
|
import"./index-6nqz8hsz.js";
|
|
46
|
-
import"./index-
|
|
46
|
+
import"./index-mg9s2rc3.js";
|
|
47
47
|
import"./index-q7q6qp1f.js";
|
|
48
48
|
import"./index-96ztjvkn.js";
|
|
49
49
|
import"./index-v0p37hm2.js";
|
|
@@ -52,7 +52,7 @@ import"./index-m0pwswv9.js";
|
|
|
52
52
|
import {
|
|
53
53
|
hasMeaningfulUserText2,
|
|
54
54
|
extractTexts2
|
|
55
|
-
} from "./index-
|
|
55
|
+
} from "./index-s7460efs.js";
|
|
56
56
|
import"./index-gzy5w8ya.js";
|
|
57
57
|
import"./index-ywrz4wy2.js";
|
|
58
58
|
import"./index-pavzsdc6.js";
|
|
@@ -7,42 +7,43 @@ import {
|
|
|
7
7
|
setRecompTerminal2,
|
|
8
8
|
buildRecompDeps2,
|
|
9
9
|
runManagedRecomp2
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
10
|
+
} from "./index-r6r2eh90.js";
|
|
11
|
+
import"./index-febyth5n.js";
|
|
12
12
|
import"./index-832w615x.js";
|
|
13
13
|
import"./index-sd3egckz.js";
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
14
|
+
import"./index-ydhymf0b.js";
|
|
15
|
+
import"./index-f25ha337.js";
|
|
16
16
|
import"./index-9emdjcb5.js";
|
|
17
|
-
import"./index-
|
|
17
|
+
import"./index-3n376ann.js";
|
|
18
18
|
import"./index-qjwpqvnf.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
19
|
+
import"./index-wfahebsc.js";
|
|
20
|
+
import"./index-ywgv1xcb.js";
|
|
21
|
+
import"./index-capcna4r.js";
|
|
22
22
|
import"./index-2amn2s73.js";
|
|
23
|
-
import"./index-
|
|
23
|
+
import"./index-czz0w2c4.js";
|
|
24
24
|
import"./index-xsqw8kbd.js";
|
|
25
|
+
import"./index-fqth7850.js";
|
|
25
26
|
import"./index-6zewd2n5.js";
|
|
26
27
|
import"./index-qt1qqasc.js";
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
28
|
+
import"./index-mq97qmb8.js";
|
|
29
|
+
import"./index-gqhebzxx.js";
|
|
29
30
|
import"./index-1zx87sdm.js";
|
|
30
31
|
import"./index-x40zr813.js";
|
|
31
32
|
import"./index-y14pawe1.js";
|
|
32
33
|
import"./index-e6ncz7a6.js";
|
|
33
|
-
import"./index-
|
|
34
|
+
import"./index-xn9efn18.js";
|
|
34
35
|
import"./index-6nqz8hsz.js";
|
|
35
36
|
import"./index-r4y0dczp.js";
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
37
|
+
import"./index-0twg41mh.js";
|
|
38
|
+
import"./index-6r99v53h.js";
|
|
39
|
+
import"./index-5wgdbj2h.js";
|
|
39
40
|
import"./index-fb3zxn06.js";
|
|
40
|
-
import"./index-
|
|
41
|
+
import"./index-qna2ra0s.js";
|
|
41
42
|
import"./index-fr0wbhdn.js";
|
|
42
43
|
import"./index-5pgyqgmx.js";
|
|
43
44
|
import"./index-s32f8y67.js";
|
|
44
45
|
import"./index-wh9fxds5.js";
|
|
45
|
-
import"./index-
|
|
46
|
+
import"./index-mg9s2rc3.js";
|
|
46
47
|
import"./index-q7q6qp1f.js";
|
|
47
48
|
import"./index-96ztjvkn.js";
|
|
48
49
|
import"./index-v0p37hm2.js";
|
|
@@ -50,7 +51,7 @@ import"./index-58e3y90n.js";
|
|
|
50
51
|
import"./index-m0pwswv9.js";
|
|
51
52
|
import"./index-5df2fw5b.js";
|
|
52
53
|
import"./index-gqf8r04r.js";
|
|
53
|
-
import"./index-
|
|
54
|
+
import"./index-s7460efs.js";
|
|
54
55
|
import"./index-gzy5w8ya.js";
|
|
55
56
|
import"./index-ywrz4wy2.js";
|
|
56
57
|
import"./index-pavzsdc6.js";
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
renderMessageByOrdinal2,
|
|
3
3
|
renderVerboseRangeForTool2,
|
|
4
4
|
renderItemByTag2
|
|
5
|
-
} from "./index-
|
|
6
|
-
import"./index-
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
5
|
+
} from "./index-nmkv8yvs.js";
|
|
6
|
+
import"./index-wfahebsc.js";
|
|
7
|
+
import"./index-ywgv1xcb.js";
|
|
8
|
+
import"./index-capcna4r.js";
|
|
9
9
|
import"./index-2amn2s73.js";
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
10
|
+
import"./index-czz0w2c4.js";
|
|
11
|
+
import"./index-mq97qmb8.js";
|
|
12
|
+
import"./index-gqhebzxx.js";
|
|
13
13
|
import"./index-1zx87sdm.js";
|
|
14
14
|
import"./index-x40zr813.js";
|
|
15
15
|
import"./index-6nqz8hsz.js";
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
16
|
+
import"./index-0twg41mh.js";
|
|
17
|
+
import"./index-6r99v53h.js";
|
|
18
|
+
import"./index-5wgdbj2h.js";
|
|
19
19
|
import"./index-fb3zxn06.js";
|
|
20
|
-
import"./index-
|
|
20
|
+
import"./index-qna2ra0s.js";
|
|
21
21
|
import"./index-fr0wbhdn.js";
|
|
22
22
|
import"./index-5pgyqgmx.js";
|
|
23
23
|
import"./index-s32f8y67.js";
|
|
24
24
|
import"./index-wh9fxds5.js";
|
|
25
|
-
import"./index-
|
|
25
|
+
import"./index-mg9s2rc3.js";
|
|
26
26
|
import"./index-q7q6qp1f.js";
|
|
27
27
|
import"./index-96ztjvkn.js";
|
|
28
28
|
import"./index-v0p37hm2.js";
|
|
@@ -30,7 +30,7 @@ import"./index-58e3y90n.js";
|
|
|
30
30
|
import"./index-m0pwswv9.js";
|
|
31
31
|
import"./index-5df2fw5b.js";
|
|
32
32
|
import"./index-gqf8r04r.js";
|
|
33
|
-
import"./index-
|
|
33
|
+
import"./index-s7460efs.js";
|
|
34
34
|
import"./index-gzy5w8ya.js";
|
|
35
35
|
import"./index-ywrz4wy2.js";
|
|
36
36
|
import"./index-pavzsdc6.js";
|
|
@@ -5,32 +5,32 @@ import {
|
|
|
5
5
|
resolveMemoriesByIdsForSearch2,
|
|
6
6
|
unifiedSearch2,
|
|
7
7
|
formatSearchResults2
|
|
8
|
-
} from "./index-
|
|
9
|
-
import"./index-
|
|
8
|
+
} from "./index-e8my7q6m.js";
|
|
9
|
+
import"./index-dva352qe.js";
|
|
10
10
|
import"./index-52x68mj4.js";
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
11
|
+
import"./index-ydhymf0b.js";
|
|
12
|
+
import"./index-f25ha337.js";
|
|
13
13
|
import"./index-9emdjcb5.js";
|
|
14
|
-
import"./index-
|
|
14
|
+
import"./index-3n376ann.js";
|
|
15
15
|
import"./index-qjwpqvnf.js";
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
16
|
+
import"./index-ywgv1xcb.js";
|
|
17
|
+
import"./index-capcna4r.js";
|
|
18
18
|
import"./index-2amn2s73.js";
|
|
19
19
|
import"./index-qt1qqasc.js";
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
20
|
+
import"./index-mq97qmb8.js";
|
|
21
|
+
import"./index-gqhebzxx.js";
|
|
22
22
|
import"./index-1zx87sdm.js";
|
|
23
23
|
import"./index-x40zr813.js";
|
|
24
|
-
import"./index-
|
|
24
|
+
import"./index-xn9efn18.js";
|
|
25
25
|
import"./index-6nqz8hsz.js";
|
|
26
26
|
import"./index-r4y0dczp.js";
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
27
|
+
import"./index-0twg41mh.js";
|
|
28
|
+
import"./index-6r99v53h.js";
|
|
29
|
+
import"./index-qna2ra0s.js";
|
|
30
30
|
import"./index-fr0wbhdn.js";
|
|
31
31
|
import"./index-5pgyqgmx.js";
|
|
32
32
|
import"./index-s32f8y67.js";
|
|
33
|
-
import"./index-
|
|
33
|
+
import"./index-mg9s2rc3.js";
|
|
34
34
|
import"./index-q7q6qp1f.js";
|
|
35
35
|
import"./index-96ztjvkn.js";
|
|
36
36
|
import"./index-v0p37hm2.js";
|
|
@@ -38,7 +38,7 @@ import"./index-58e3y90n.js";
|
|
|
38
38
|
import"./index-m0pwswv9.js";
|
|
39
39
|
import"./index-5df2fw5b.js";
|
|
40
40
|
import"./index-gqf8r04r.js";
|
|
41
|
-
import"./index-
|
|
41
|
+
import"./index-s7460efs.js";
|
|
42
42
|
import"./index-gzy5w8ya.js";
|
|
43
43
|
import"./index-ywrz4wy2.js";
|
|
44
44
|
import"./index-pavzsdc6.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderSearchArchive2,
|
|
3
3
|
renderSearchArchiveOffThread2
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
4
|
+
} from "./index-6t7jvp76.js";
|
|
5
|
+
import"./index-7rgnh11t.js";
|
|
6
6
|
import"./index-52x68mj4.js";
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
import"./index-mq97qmb8.js";
|
|
8
|
+
import"./index-gqhebzxx.js";
|
|
9
9
|
import"./index-1zx87sdm.js";
|
|
10
10
|
import"./index-x40zr813.js";
|
|
11
11
|
import"./index-6nqz8hsz.js";
|
|
12
|
-
import"./index-
|
|
12
|
+
import"./index-mg9s2rc3.js";
|
|
13
13
|
import"./index-q7q6qp1f.js";
|
|
14
14
|
import"./index-96ztjvkn.js";
|
|
15
15
|
import"./index-v0p37hm2.js";
|
|
16
16
|
import"./index-58e3y90n.js";
|
|
17
17
|
import"./index-m0pwswv9.js";
|
|
18
|
-
import"./index-
|
|
18
|
+
import"./index-s7460efs.js";
|
|
19
19
|
import"./index-gzy5w8ya.js";
|
|
20
20
|
import"./index-ywrz4wy2.js";
|
|
21
21
|
import"./index-pavzsdc6.js";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { createOpencodeClient } from "@opencode-ai/sdk";
|
|
2
|
+
import { HiddenCompletionRefusal } from "../hooks/magic-context/compartment-runner-types";
|
|
2
3
|
import type { ModelInput } from "./model-resolution";
|
|
3
4
|
type Client = ReturnType<typeof createOpencodeClient> | undefined;
|
|
4
5
|
export type PromptTransport = ((args: PromptArgs) => Promise<void>) & {
|
|
@@ -133,6 +134,23 @@ export declare class ModelProducedNoOutputError extends Error {
|
|
|
133
134
|
readonly waitedMs: number;
|
|
134
135
|
constructor(waitedMs: number);
|
|
135
136
|
}
|
|
137
|
+
/**
|
|
138
|
+
* What a transport has seen of the model during one attempt. `monitored` means
|
|
139
|
+
* the transport watches the child's messages and will set `received` as soon as
|
|
140
|
+
* the model streams anything. Transports that cannot see progress never set
|
|
141
|
+
* `monitored`, and the first-output deadline then never fires for them.
|
|
142
|
+
*/
|
|
143
|
+
interface ModelActivity {
|
|
144
|
+
monitored: boolean;
|
|
145
|
+
received: boolean;
|
|
146
|
+
readonly timeoutMs: number;
|
|
147
|
+
readonly deadline: number;
|
|
148
|
+
setupTimeout?: () => HiddenCompletionRefusal | undefined;
|
|
149
|
+
}
|
|
150
|
+
/** The caller's unchanged timer, for a transport deciding whether it is too late to dispatch. */
|
|
151
|
+
export declare function promptTransportBudget(signal: AbortSignal | undefined): Pick<ModelActivity, "deadline" | "timeoutMs"> | undefined;
|
|
152
|
+
/** Lets the transport identify a local setup timeout before the model was called. */
|
|
153
|
+
export declare function notePromptSetupTimeout(signal: AbortSignal | undefined, read?: () => HiddenCompletionRefusal | undefined): void;
|
|
136
154
|
/** A transport calls this once it is watching the child for model output. */
|
|
137
155
|
export declare function noteModelActivityMonitored(signal: AbortSignal | undefined): void;
|
|
138
156
|
/** A transport calls this when it sees the model produce anything for this attempt. */
|