@cortexkit/opencode-magic-context 0.49.34 → 0.49.35
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 +11 -6
- package/dist/chunk-embedding-write-worker.js +16 -14
- package/dist/{compaction-marker-candidates-31h86ph0.js → compaction-marker-candidates-g0p67ced.js} +3 -2
- package/dist/compaction-marker-candidates-worker.js +1 -1
- package/dist/{compartment-chunk-embedding-5q5gj67r.js → compartment-chunk-embedding-y4136are.js} +8 -7
- package/dist/{conflict-warning-hook-xgskea1v.js → conflict-warning-hook-hhw8z5ak.js} +9 -8
- package/dist/{context-p3xrarzt.js → context-fk8e3h9p.js} +1400 -701
- package/dist/{derive-budgets-pqybnx09.js → derive-budgets-htj16n4x.js} +3 -2
- package/dist/embedding-backfill-q6n72sy0.js +27 -0
- package/dist/embedding-worker-process.js +2 -1
- package/dist/embedding-worker.js +5 -4
- package/dist/expand-attachments-h33jbgyz.js +21 -0
- package/dist/features/magic-context/auto-search-diagnostics.d.ts +21 -0
- package/dist/features/magic-context/auto-search-diagnostics.d.ts.map +1 -0
- package/dist/features/magic-context/compartment-chunk-embedding.d.ts +1 -1
- package/dist/features/magic-context/compartment-chunk-embedding.d.ts.map +1 -1
- package/dist/features/magic-context/search.d.ts +4 -0
- package/dist/features/magic-context/search.d.ts.map +1 -1
- package/dist/features/magic-context/store-generation-rebase-labels.d.ts +6 -0
- package/dist/features/magic-context/store-generation-rebase-labels.d.ts.map +1 -0
- package/dist/features/magic-context/store-generation-rebase.d.ts.map +1 -1
- package/dist/{history-owner-36wp3mkb.js → history-owner-0z620wgz.js} +3 -2
- package/dist/hooks/magic-context/apply-operations.d.ts +20 -3
- package/dist/hooks/magic-context/apply-operations.d.ts.map +1 -1
- package/dist/hooks/magic-context/auto-search-observation.d.ts +13 -0
- package/dist/hooks/magic-context/auto-search-observation.d.ts.map +1 -0
- package/dist/hooks/magic-context/auto-search-runner.d.ts.map +1 -1
- package/dist/hooks/magic-context/auto-search-worker-client.d.ts +5 -1
- package/dist/hooks/magic-context/auto-search-worker-client.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-commit-hashes.d.ts +4 -0
- package/dist/hooks/magic-context/compartment-commit-hashes.d.ts.map +1 -0
- package/dist/hooks/magic-context/compartment-runner-validation.d.ts +1 -0
- package/dist/hooks/magic-context/compartment-runner-validation.d.ts.map +1 -1
- package/dist/hooks/magic-context/event-resolvers.d.ts.map +1 -1
- package/dist/hooks/magic-context/final-wire-completeness.d.ts +15 -0
- package/dist/hooks/magic-context/final-wire-completeness.d.ts.map +1 -0
- package/dist/hooks/magic-context/final-wire-token-estimate.d.ts.map +1 -1
- package/dist/hooks/magic-context/raw-ordinal-warmup.d.ts +1 -0
- package/dist/hooks/magic-context/raw-ordinal-warmup.d.ts.map +1 -1
- package/dist/hooks/magic-context/read-session-chunk.d.ts +11 -0
- package/dist/hooks/magic-context/read-session-chunk.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/hooks/magic-context/transform-postprocess-phase.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform.d.ts.map +1 -1
- package/dist/{index-as2amvn3.js → index-0c7p8mq5.js} +6 -531
- package/dist/{index-51rdvtkz.js → index-1rhgxqs8.js} +2 -2
- package/dist/index-2amn2s73.js +123 -0
- package/dist/{index-c7phnbvk.js → index-2p37txes.js} +1 -1
- package/dist/index-2qbtqg1w.js +529 -0
- package/dist/{index-waktfbjy.js → index-2v6nvy3k.js} +4 -4
- package/dist/{index-ftr84kkv.js → index-3d3872c6.js} +7 -5
- package/dist/{index-0677w9sd.js → index-3j9t1v4n.js} +55 -21
- package/dist/{index-atekmqef.js → index-4bgk5ztz.js} +363 -5499
- package/dist/{index-b88dwwrh.js → index-4xyjr62e.js} +1 -1
- package/dist/index-66a50f3e.js +777 -0
- package/dist/{index-04z754rd.js → index-87ctnzz9.js} +33 -5
- package/dist/{index-xrnsygfq.js → index-9wnbnx8f.js} +1 -1
- package/dist/{index-97spytxq.js → index-b6xz3qbe.js} +246 -420
- package/dist/{index-7g9dr8gy.js → index-brg2w6qc.js} +113 -133
- package/dist/{index-spwjbkc7.js → index-dnqqqc5f.js} +1 -1
- package/dist/index-dy7w6wm4.js +194 -0
- package/dist/{index-m1x9ghk5.js → index-ezv6dz3y.js} +37 -7
- package/dist/index-f297z1n8.js +4557 -0
- package/dist/{index-qgh1qwjj.js → index-f9b3vtt1.js} +1 -1
- package/dist/{index-v15ne3a3.js → index-faxb7mck.js} +2 -2
- package/dist/{index-rrv26qjz.js → index-fw42ms3m.js} +1 -1
- package/dist/{index-t5pck3ss.js → index-fxbk7gk3.js} +1 -1
- package/dist/{index-wfybj1dw.js → index-g4t7850m.js} +2 -2
- package/dist/{index-fm36bjv4.js → index-gyaa159j.js} +18 -276
- package/dist/{index-4pnsgvfk.js → index-hacf2tyx.js} +1 -1
- package/dist/{index-s1n8dd2n.js → index-jkanybgq.js} +2 -2
- package/dist/{index-2743x98y.js → index-jn0ddrhp.js} +29 -138
- package/dist/{index-h7tgn49j.js → index-jrfre9ah.js} +5 -222
- package/dist/{index-kfyb3k6n.js → index-jz5bk7xd.js} +2 -2
- package/dist/{index-np3rgfw4.js → index-ksv0a31x.js} +3 -3
- package/dist/{index-7kkphb6c.js → index-nj360hcs.js} +4 -4
- package/dist/{index-gkee6p4g.js → index-p56dszfp.js} +3 -3
- package/dist/{index-9gpw8hrm.js → index-pq0dpwrc.js} +4 -4
- package/dist/{index-rfxzazzy.js → index-pswsyf1w.js} +4 -4
- package/dist/{index-y1qwzvxn.js → index-pztqab6k.js} +2 -2
- package/dist/{index-rverk2vz.js → index-qncw9hey.js} +1 -1
- package/dist/index-qx8j6kds.js +270 -0
- package/dist/{index-kq5w68dp.js → index-txs8tce6.js} +1 -1
- package/dist/index-vzhhr1ht.js +532 -0
- package/dist/index-wh9fxds5.js +265 -0
- package/dist/{index-hbx7m8he.js → index-x2mrq5xv.js} +170 -48
- package/dist/{index-07vskjn8.js → index-xwwsbsd3.js} +15 -13
- package/dist/index-z4p0ry94.js +222 -0
- package/dist/index-z9zygwse.js +89 -0
- package/dist/{index-v7287tzq.js → index-zhqwda72.js} +19 -8
- package/dist/index.js +83 -72
- package/dist/{logger-94kew5wm.js → logger-qwnbcfj9.js} +2 -1
- package/dist/{message-fts-rowid-map-va36knh4.js → message-fts-rowid-map-xg7hr0mk.js} +5 -4
- package/dist/{message-index-bounded-qh91fdr3.js → message-index-bounded-narw7bnz.js} +12 -11
- package/dist/{message-time-backfill-4qva0b4f.js → message-time-backfill-39bm498k.js} +3 -2
- package/dist/migration-worker.js +13 -11
- package/dist/{project-embedding-registry-6yex0r9f.js → project-embedding-registry-tdz7985n.js} +13 -11
- package/dist/raw-ordinal-warmup-worker.js +12 -7
- package/dist/{read-session-chunk-kaghtr75.js → read-session-chunk-vmg1zjg0.js} +15 -10
- package/dist/{read-session-raw-b2sd67v4.js → read-session-raw-mncmzbm9.js} +3 -2
- package/dist/recomp-orchestrator-qyyhnc9b.js +68 -0
- package/dist/render-c5p0k846.js +43 -0
- package/dist/{safe-notification-target-mkr9yzvr.js → safe-notification-target-wztd7bgk.js} +3 -2
- package/dist/{search-archive-1kw2rp19.js → search-archive-0ny7p3bw.js} +13 -11
- package/dist/{search-p684j8ww.js → search-f6hwvcxk.js} +26 -23
- package/dist/{send-session-notification-vz86nt79.js → send-session-notification-0gwcz3fw.js} +7 -6
- package/dist/{storage-tags-6hvkk01c.js → storage-tags-zx1023km.js} +5 -4
- package/dist/store-620rjzt9.js +21 -0
- package/dist/store-reader-yh19h38c.js +14 -0
- package/dist/tools/ctx-expand/render.d.ts +5 -3
- package/dist/tools/ctx-expand/render.d.ts.map +1 -1
- package/dist/tools/ctx-expand/search-archive.d.ts.map +1 -1
- package/dist/tools/ctx-expand/tools.d.ts +2 -0
- package/dist/tools/ctx-expand/tools.d.ts.map +1 -1
- package/dist/tools/ctx-expand/v2-archive-reader.d.ts +33 -0
- package/dist/tools/ctx-expand/v2-archive-reader.d.ts.map +1 -0
- package/dist/{transform-postprocess-phase-ph38mhrs.js → transform-postprocess-phase-807ff6t2.js} +36 -30
- package/dist/v2/auto-search-worker.js +11 -6
- package/dist/v2/chunk-embedding-write-worker.js +16 -14
- package/dist/v2/{compaction-marker-candidates-m4vmye3w.js → compaction-marker-candidates-t1aq6gsj.js} +3 -2
- package/dist/v2/compaction-marker-candidates-worker.js +1 -1
- package/dist/v2/{compartment-chunk-embedding-rc31e6md.js → compartment-chunk-embedding-ncsk0r9e.js} +8 -7
- package/dist/v2/{context-s60hcatx.js → context-znqfkap4.js} +1725 -1095
- package/dist/v2/{derive-budgets-knf763tt.js → derive-budgets-sa0v7bz0.js} +4 -3
- package/dist/v2/embedding-backfill-11j425e0.js +26 -0
- package/dist/v2/embedding-worker-process.js +2 -1
- package/dist/v2/embedding-worker.js +5 -4
- package/dist/v2/expand-attachments-h33jbgyz.js +21 -0
- package/dist/v2/fold/idle.d.ts +15 -0
- package/dist/v2/fold/idle.d.ts.map +1 -0
- package/dist/v2/fold/native-replay-v3.d.ts +68 -0
- package/dist/v2/fold/native-replay-v3.d.ts.map +1 -0
- package/dist/v2/fold/native-replay.d.ts +58 -2
- package/dist/v2/fold/native-replay.d.ts.map +1 -1
- package/dist/v2/fold/policy.d.ts +2 -1
- package/dist/v2/fold/policy.d.ts.map +1 -1
- package/dist/v2/{history-owner-ad0crnrn.js → history-owner-fpka43cn.js} +3 -2
- package/dist/v2/hooks/context.d.ts.map +1 -1
- package/dist/v2/hooks/expand-attachments.d.ts +8 -0
- package/dist/v2/hooks/expand-attachments.d.ts.map +1 -0
- package/dist/v2/hooks/overflow-recovery.d.ts +45 -0
- package/dist/v2/hooks/overflow-recovery.d.ts.map +1 -0
- package/dist/v2/hooks/store.d.ts +7 -2
- package/dist/v2/hooks/store.d.ts.map +1 -1
- package/dist/v2/{logger-p34mjtja.js → logger-4cj6d03m.js} +2 -1
- package/dist/v2/{message-fts-rowid-map-78awh03v.js → message-fts-rowid-map-rmk571mb.js} +5 -4
- package/dist/v2/{message-index-bounded-4htdr1j6.js → message-index-bounded-620bppw7.js} +12 -11
- package/dist/v2/{message-time-backfill-zvthw6xb.js → message-time-backfill-0c4h7sg6.js} +3 -2
- package/dist/v2/migration-worker.js +13 -11
- package/dist/v2/ordinal-range.fixture.d.ts +7 -0
- package/dist/v2/ordinal-range.fixture.d.ts.map +1 -0
- package/dist/v2/{project-embedding-registry-1x5qe2fy.js → project-embedding-registry-bm5fe1a8.js} +13 -11
- package/dist/v2/raw-ordinal-warmup-worker.js +12 -7
- package/dist/v2/{read-session-chunk-1fa9qzwb.js → read-session-chunk-qfwv1k71.js} +15 -10
- package/dist/v2/{read-session-raw-5x088amc.js → read-session-raw-q294t8xs.js} +3 -2
- package/dist/v2/recomp-orchestrator-fcnjref7.js +67 -0
- package/dist/v2/render-98a1qv0b.js +42 -0
- package/dist/v2/{safe-notification-target-khnzg57c.js → safe-notification-target-gphhast7.js} +3 -2
- package/dist/v2/{search-archive-xfp51s0g.js → search-archive-r0y1bafr.js} +13 -11
- package/dist/v2/{search-wf8rqxhm.js → search-z1zqzsmh.js} +25 -22
- package/dist/v2/{send-session-notification-x5nzy34v.js → send-session-notification-fst6hkg7.js} +7 -6
- package/dist/v2/{server-qvy4qavp.js → server-1xesqm5h.js} +113 -133
- package/dist/v2/server-2amn2s73.js +123 -0
- package/dist/v2/{server-6g98c227.js → server-3schkz95.js} +4 -4
- package/dist/v2/server-468mya5v.js +209 -0
- package/dist/v2/server-55v5hpth.js +270 -0
- package/dist/v2/server-5jp38p98.js +532 -0
- package/dist/v2/{server-qjvk4a9t.js → server-69m30b21.js} +1 -1
- package/dist/v2/{server-jw5qe9y8.js → server-7ccxt4nq.js} +14 -216
- package/dist/v2/{server-3mz2qh5a.js → server-969cdpmg.js} +1 -1
- package/dist/v2/{server-835q39kd.js → server-9k0mjef7.js} +2 -2
- package/dist/v2/{server-qc915kw2.js → server-bez34e60.js} +4 -4
- package/dist/v2/{server-nxas8v1d.js → server-bpvsvtph.js} +3 -3
- package/dist/v2/{server-ab8017gw.js → server-bxpz2dcn.js} +29 -138
- package/dist/v2/{server-bsgd4dk1.js → server-dcws5831.js} +2 -2
- package/dist/v2/server-ef1mskas.js +777 -0
- package/dist/v2/{server-1bw1wcbp.js → server-f0j864ma.js} +1 -1
- package/dist/v2/{server-z2wft9zv.js → server-fqj6ddpr.js} +402 -5497
- package/dist/v2/{server-grakwy1v.js → server-hnknwaz8.js} +37 -7
- package/dist/v2/{server-h1byrhwx.js → server-hsf0qsn5.js} +19 -8
- package/dist/v2/{server-6495nmn9.js → server-jb6tjyeb.js} +5 -222
- package/dist/v2/{server-2aasmpsp.js → server-kkxzwa6w.js} +4 -4
- package/dist/v2/{server-a7x00tw8.js → server-mfn1yf9d.js} +1 -1
- package/dist/v2/{server-tkdabx8q.js → server-q0z2q2dx.js} +5 -530
- package/dist/v2/{server-ajxhrgjv.js → server-qa74bj91.js} +77 -17
- package/dist/v2/server-qf2kzsh2.js +4513 -0
- package/dist/v2/{server-gyy4k6mf.js → server-qmmkhz2z.js} +1 -1
- package/dist/v2/{server-29qp8nz4.js → server-qxzbmtqt.js} +1 -1
- package/dist/v2/{server-m1pfg2d4.js → server-r3chnxs5.js} +4 -4
- package/dist/v2/{server-vr4szghm.js → server-rktnzs89.js} +2 -2
- package/dist/v2/{server-6vd2n183.js → server-s9xgyyj9.js} +1 -1
- package/dist/v2/{server-53eh1r8r.js → server-sd8hvzte.js} +2 -2
- package/dist/v2/{server-k3t06fxr.js → server-sefxj8k1.js} +1 -1
- package/dist/v2/{server-v77xa5wj.js → server-tpt7bwq8.js} +1 -1
- package/dist/v2/{server-awr8qa4c.js → server-ws5exe6q.js} +2 -2
- package/dist/v2/server-x4m6xcn4.js +194 -0
- package/dist/v2/{server-806rzhs6.js → server-xbtw0p9t.js} +1 -1
- package/dist/v2/{server-cqjvxyrp.js → server-xy7w7hrd.js} +2 -2
- package/dist/v2/server-ypf1ap0v.js +529 -0
- package/dist/v2/server-z4p0ry94.js +222 -0
- package/dist/v2/server-z9zygwse.js +89 -0
- package/dist/v2/{server-ab1g0wn9.js → server-zzgtgqmd.js} +2 -2
- package/dist/v2/server.js +6 -5
- package/dist/v2/{storage-tags-18nbaanf.js → storage-tags-19s0ebf0.js} +5 -4
- package/dist/v2/store-reader-cgx47zkp.js +14 -0
- package/dist/v2/store-reader.d.ts +9 -2
- package/dist/v2/store-reader.d.ts.map +1 -1
- package/dist/v2/store-vdm8v3jd.js +21 -0
- package/dist/v2/v2-archive-reader-t2c0eypn.js +11 -0
- package/dist/v2/{wrapup-orchestrator-wxf7n5k6.js → wrapup-orchestrator-aqpqsveg.js} +46 -39
- package/dist/v2-archive-reader-tm2eayp2.js +11 -0
- package/dist/wrapup-orchestrator-k5yp19a6.js +55 -0
- package/package.json +1 -1
- package/src/shared/sqlite-transaction-mode-guard.test.ts +2 -0
- package/dist/embedding-backfill-0jgtqxen.js +0 -25
- package/dist/recomp-orchestrator-0y983w7h.js +0 -62
- package/dist/v2/embedding-backfill-f43hd8y6.js +0 -24
- package/dist/v2/recomp-orchestrator-7q9nvxte.js +0 -61
- package/dist/wrapup-orchestrator-ys2nrkkb.js +0 -49
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import {
|
|
2
|
+
isRecompFailure2,
|
|
3
|
+
isRecompSkip2,
|
|
4
|
+
extractRecompReason2,
|
|
5
|
+
setRecompStarting2,
|
|
6
|
+
setRecompNote2,
|
|
7
|
+
setRecompTerminal2,
|
|
8
|
+
buildRecompDeps2,
|
|
9
|
+
runManagedRecomp2
|
|
10
|
+
} from "./index-3d3872c6.js";
|
|
11
|
+
import"./index-4bgk5ztz.js";
|
|
12
|
+
import"./index-f9b3vtt1.js";
|
|
13
|
+
import"./index-sd3egckz.js";
|
|
14
|
+
import"./index-0c7p8mq5.js";
|
|
15
|
+
import"./index-pswsyf1w.js";
|
|
16
|
+
import"./index-jjvbk92s.js";
|
|
17
|
+
import"./index-jn0ddrhp.js";
|
|
18
|
+
import"./index-4dhv7mqz.js";
|
|
19
|
+
import"./index-f297z1n8.js";
|
|
20
|
+
import"./index-2qbtqg1w.js";
|
|
21
|
+
import"./index-pq0dpwrc.js";
|
|
22
|
+
import"./index-2amn2s73.js";
|
|
23
|
+
import"./index-66a50f3e.js";
|
|
24
|
+
import"./index-dnqqqc5f.js";
|
|
25
|
+
import"./index-2v6nvy3k.js";
|
|
26
|
+
import"./index-qt1qqasc.js";
|
|
27
|
+
import"./index-brg2w6qc.js";
|
|
28
|
+
import"./index-ksv0a31x.js";
|
|
29
|
+
import"./index-1zx87sdm.js";
|
|
30
|
+
import"./index-pztqab6k.js";
|
|
31
|
+
import"./index-x8a7jmkh.js";
|
|
32
|
+
import"./index-fw42ms3m.js";
|
|
33
|
+
import"./index-1rhgxqs8.js";
|
|
34
|
+
import"./index-nxrsns5x.js";
|
|
35
|
+
import"./index-jz5bk7xd.js";
|
|
36
|
+
import"./index-zhqwda72.js";
|
|
37
|
+
import"./index-g4t7850m.js";
|
|
38
|
+
import"./index-gyaa159j.js";
|
|
39
|
+
import"./index-fb3zxn06.js";
|
|
40
|
+
import"./index-nj360hcs.js";
|
|
41
|
+
import"./index-fr0wbhdn.js";
|
|
42
|
+
import"./index-txs8tce6.js";
|
|
43
|
+
import"./index-faxb7mck.js";
|
|
44
|
+
import"./index-wh9fxds5.js";
|
|
45
|
+
import"./index-2p37txes.js";
|
|
46
|
+
import"./index-jkanybgq.js";
|
|
47
|
+
import"./index-9wnbnx8f.js";
|
|
48
|
+
import"./index-qncw9hey.js";
|
|
49
|
+
import"./index-v0p37hm2.js";
|
|
50
|
+
import"./index-58e3y90n.js";
|
|
51
|
+
import"./index-fxbk7gk3.js";
|
|
52
|
+
import"./index-4xyjr62e.js";
|
|
53
|
+
import"./index-gzy5w8ya.js";
|
|
54
|
+
import"./index-jrfre9ah.js";
|
|
55
|
+
import"./index-g2q4htwp.js";
|
|
56
|
+
import"./index-pavzsdc6.js";
|
|
57
|
+
import"./index-z4p0ry94.js";
|
|
58
|
+
import"./index-cpjk5jd2.js";
|
|
59
|
+
export {
|
|
60
|
+
buildRecompDeps2 as buildRecompDeps,
|
|
61
|
+
extractRecompReason2 as extractRecompReason,
|
|
62
|
+
isRecompFailure2 as isRecompFailure,
|
|
63
|
+
isRecompSkip2 as isRecompSkip,
|
|
64
|
+
runManagedRecomp2 as runManagedRecomp,
|
|
65
|
+
setRecompNote2 as setRecompNote,
|
|
66
|
+
setRecompStarting2 as setRecompStarting,
|
|
67
|
+
setRecompTerminal2 as setRecompTerminal
|
|
68
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import {
|
|
2
|
+
renderMessageByOrdinal2,
|
|
3
|
+
renderVerboseRangeForTool2,
|
|
4
|
+
renderItemByTag2
|
|
5
|
+
} from "./index-qx8j6kds.js";
|
|
6
|
+
import"./index-f297z1n8.js";
|
|
7
|
+
import"./index-2qbtqg1w.js";
|
|
8
|
+
import"./index-pq0dpwrc.js";
|
|
9
|
+
import"./index-2amn2s73.js";
|
|
10
|
+
import"./index-66a50f3e.js";
|
|
11
|
+
import"./index-brg2w6qc.js";
|
|
12
|
+
import"./index-ksv0a31x.js";
|
|
13
|
+
import"./index-1zx87sdm.js";
|
|
14
|
+
import"./index-pztqab6k.js";
|
|
15
|
+
import"./index-nxrsns5x.js";
|
|
16
|
+
import"./index-zhqwda72.js";
|
|
17
|
+
import"./index-g4t7850m.js";
|
|
18
|
+
import"./index-gyaa159j.js";
|
|
19
|
+
import"./index-fb3zxn06.js";
|
|
20
|
+
import"./index-nj360hcs.js";
|
|
21
|
+
import"./index-fr0wbhdn.js";
|
|
22
|
+
import"./index-txs8tce6.js";
|
|
23
|
+
import"./index-faxb7mck.js";
|
|
24
|
+
import"./index-wh9fxds5.js";
|
|
25
|
+
import"./index-2p37txes.js";
|
|
26
|
+
import"./index-jkanybgq.js";
|
|
27
|
+
import"./index-9wnbnx8f.js";
|
|
28
|
+
import"./index-qncw9hey.js";
|
|
29
|
+
import"./index-v0p37hm2.js";
|
|
30
|
+
import"./index-58e3y90n.js";
|
|
31
|
+
import"./index-fxbk7gk3.js";
|
|
32
|
+
import"./index-4xyjr62e.js";
|
|
33
|
+
import"./index-gzy5w8ya.js";
|
|
34
|
+
import"./index-jrfre9ah.js";
|
|
35
|
+
import"./index-g2q4htwp.js";
|
|
36
|
+
import"./index-pavzsdc6.js";
|
|
37
|
+
import"./index-z4p0ry94.js";
|
|
38
|
+
import"./index-cpjk5jd2.js";
|
|
39
|
+
export {
|
|
40
|
+
renderItemByTag2 as renderItemByTag,
|
|
41
|
+
renderMessageByOrdinal2 as renderMessageByOrdinal,
|
|
42
|
+
renderVerboseRangeForTool2 as renderVerboseRangeForTool
|
|
43
|
+
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isDefaultSessionTitle2,
|
|
3
3
|
waitForSafeNotificationTarget2
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
4
|
+
} from "./index-fw42ms3m.js";
|
|
5
|
+
import"./index-jrfre9ah.js";
|
|
6
6
|
import"./index-g2q4htwp.js";
|
|
7
7
|
import"./index-pavzsdc6.js";
|
|
8
|
+
import"./index-z4p0ry94.js";
|
|
8
9
|
export {
|
|
9
10
|
isDefaultSessionTitle2 as isDefaultSessionTitle,
|
|
10
11
|
waitForSafeNotificationTarget2 as waitForSafeNotificationTarget
|
|
@@ -1,24 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderSearchArchive2,
|
|
3
3
|
renderSearchArchiveOffThread2
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-ezv6dz3y.js";
|
|
5
|
+
import"./index-dy7w6wm4.js";
|
|
5
6
|
import"./index-kaqs6h31.js";
|
|
6
|
-
import"./index-
|
|
7
|
-
import"./index-
|
|
7
|
+
import"./index-brg2w6qc.js";
|
|
8
|
+
import"./index-ksv0a31x.js";
|
|
8
9
|
import"./index-1zx87sdm.js";
|
|
9
|
-
import"./index-
|
|
10
|
+
import"./index-pztqab6k.js";
|
|
10
11
|
import"./index-nxrsns5x.js";
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-rverk2vz.js";
|
|
12
|
+
import"./index-jkanybgq.js";
|
|
13
|
+
import"./index-9wnbnx8f.js";
|
|
14
|
+
import"./index-qncw9hey.js";
|
|
15
15
|
import"./index-v0p37hm2.js";
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
16
|
+
import"./index-58e3y90n.js";
|
|
17
|
+
import"./index-fxbk7gk3.js";
|
|
18
|
+
import"./index-4xyjr62e.js";
|
|
18
19
|
import"./index-gzy5w8ya.js";
|
|
19
|
-
import"./index-
|
|
20
|
+
import"./index-jrfre9ah.js";
|
|
20
21
|
import"./index-g2q4htwp.js";
|
|
21
22
|
import"./index-pavzsdc6.js";
|
|
23
|
+
import"./index-z4p0ry94.js";
|
|
22
24
|
import"./index-cpjk5jd2.js";
|
|
23
25
|
export {
|
|
24
26
|
renderSearchArchive2 as renderSearchArchive,
|
|
@@ -5,40 +5,43 @@ import {
|
|
|
5
5
|
resolveMemoriesByIdsForSearch2,
|
|
6
6
|
unifiedSearch2,
|
|
7
7
|
formatSearchResults2
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-3j9t1v4n.js";
|
|
9
|
+
import"./index-87ctnzz9.js";
|
|
9
10
|
import"./index-kaqs6h31.js";
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-9gpw8hrm.js";
|
|
13
|
-
import"./index-rfxzazzy.js";
|
|
14
|
-
import"./index-2743x98y.js";
|
|
11
|
+
import"./index-0c7p8mq5.js";
|
|
12
|
+
import"./index-pswsyf1w.js";
|
|
15
13
|
import"./index-jjvbk92s.js";
|
|
14
|
+
import"./index-jn0ddrhp.js";
|
|
16
15
|
import"./index-4dhv7mqz.js";
|
|
16
|
+
import"./index-2qbtqg1w.js";
|
|
17
|
+
import"./index-pq0dpwrc.js";
|
|
18
|
+
import"./index-2amn2s73.js";
|
|
17
19
|
import"./index-qt1qqasc.js";
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
20
|
+
import"./index-brg2w6qc.js";
|
|
21
|
+
import"./index-ksv0a31x.js";
|
|
20
22
|
import"./index-1zx87sdm.js";
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
23
|
+
import"./index-pztqab6k.js";
|
|
24
|
+
import"./index-1rhgxqs8.js";
|
|
23
25
|
import"./index-nxrsns5x.js";
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-kq5w68dp.js";
|
|
29
|
-
import"./index-v15ne3a3.js";
|
|
26
|
+
import"./index-jz5bk7xd.js";
|
|
27
|
+
import"./index-zhqwda72.js";
|
|
28
|
+
import"./index-g4t7850m.js";
|
|
29
|
+
import"./index-nj360hcs.js";
|
|
30
30
|
import"./index-fr0wbhdn.js";
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
31
|
+
import"./index-txs8tce6.js";
|
|
32
|
+
import"./index-faxb7mck.js";
|
|
33
|
+
import"./index-jkanybgq.js";
|
|
34
|
+
import"./index-9wnbnx8f.js";
|
|
35
|
+
import"./index-qncw9hey.js";
|
|
35
36
|
import"./index-v0p37hm2.js";
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
37
|
+
import"./index-58e3y90n.js";
|
|
38
|
+
import"./index-fxbk7gk3.js";
|
|
39
|
+
import"./index-4xyjr62e.js";
|
|
38
40
|
import"./index-gzy5w8ya.js";
|
|
39
|
-
import"./index-
|
|
41
|
+
import"./index-jrfre9ah.js";
|
|
40
42
|
import"./index-g2q4htwp.js";
|
|
41
43
|
import"./index-pavzsdc6.js";
|
|
44
|
+
import"./index-z4p0ry94.js";
|
|
42
45
|
import"./index-cpjk5jd2.js";
|
|
43
46
|
export {
|
|
44
47
|
createUnifiedSearchDiagnostics2 as createUnifiedSearchDiagnostics,
|
package/dist/{send-session-notification-vz86nt79.js → send-session-notification-0gwcz3fw.js}
RENAMED
|
@@ -8,17 +8,18 @@ import {
|
|
|
8
8
|
clearIgnoredMessages2,
|
|
9
9
|
observeIgnoredNotificationEvent2,
|
|
10
10
|
sendStatusNotification2
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-2v6nvy3k.js";
|
|
12
12
|
import"./index-qt1qqasc.js";
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-rverk2vz.js";
|
|
13
|
+
import"./index-pztqab6k.js";
|
|
14
|
+
import"./index-fw42ms3m.js";
|
|
15
|
+
import"./index-qncw9hey.js";
|
|
17
16
|
import"./index-v0p37hm2.js";
|
|
17
|
+
import"./index-58e3y90n.js";
|
|
18
18
|
import"./index-gzy5w8ya.js";
|
|
19
|
-
import"./index-
|
|
19
|
+
import"./index-jrfre9ah.js";
|
|
20
20
|
import"./index-g2q4htwp.js";
|
|
21
21
|
import"./index-pavzsdc6.js";
|
|
22
|
+
import"./index-z4p0ry94.js";
|
|
22
23
|
import"./index-cpjk5jd2.js";
|
|
23
24
|
export {
|
|
24
25
|
MAX_QUEUED_IGNORED_NOTIFICATIONS2 as MAX_QUEUED_IGNORED_NOTIFICATIONS,
|
|
@@ -63,14 +63,15 @@ import {
|
|
|
63
63
|
adoptNullOwnerToolTag2,
|
|
64
64
|
getCandidateToolOwners2,
|
|
65
65
|
pickNearestPriorOwner2
|
|
66
|
-
} from "./index-
|
|
66
|
+
} from "./index-ksv0a31x.js";
|
|
67
67
|
import"./index-1zx87sdm.js";
|
|
68
|
-
import"./index-
|
|
69
|
-
import"./index-
|
|
68
|
+
import"./index-9wnbnx8f.js";
|
|
69
|
+
import"./index-4xyjr62e.js";
|
|
70
70
|
import"./index-gzy5w8ya.js";
|
|
71
|
-
import"./index-
|
|
71
|
+
import"./index-jrfre9ah.js";
|
|
72
72
|
import"./index-g2q4htwp.js";
|
|
73
73
|
import"./index-pavzsdc6.js";
|
|
74
|
+
import"./index-z4p0ry94.js";
|
|
74
75
|
export {
|
|
75
76
|
AGE_RECLAIM_MIN_TOKENS2 as AGE_RECLAIM_MIN_TOKENS,
|
|
76
77
|
TAG_SELECT_COLUMNS2 as TAG_SELECT_COLUMNS,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
servedBoundaryRow2,
|
|
3
|
+
resolveV2BoundaryUserMessage2,
|
|
4
|
+
readAllV2RawMessagesForConversion2,
|
|
5
|
+
readV2RawMessagePagesForConversion2,
|
|
6
|
+
createV2RawMessageReader2,
|
|
7
|
+
createV2RawMessageProvider2
|
|
8
|
+
} from "./index-vzhhr1ht.js";
|
|
9
|
+
import"./index-66a50f3e.js";
|
|
10
|
+
import"./index-wh9fxds5.js";
|
|
11
|
+
import"./index-58e3y90n.js";
|
|
12
|
+
import"./index-gzy5w8ya.js";
|
|
13
|
+
import"./index-z4p0ry94.js";
|
|
14
|
+
export {
|
|
15
|
+
createV2RawMessageProvider2 as createV2RawMessageProvider,
|
|
16
|
+
createV2RawMessageReader2 as createV2RawMessageReader,
|
|
17
|
+
readAllV2RawMessagesForConversion2 as readAllV2RawMessagesForConversion,
|
|
18
|
+
readV2RawMessagePagesForConversion2 as readV2RawMessagePagesForConversion,
|
|
19
|
+
resolveV2BoundaryUserMessage2 as resolveV2BoundaryUserMessage,
|
|
20
|
+
servedBoundaryRow2 as servedBoundaryRow
|
|
21
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
gaDatabasePath2,
|
|
3
|
+
RAW_MESSAGE_TYPES2,
|
|
4
|
+
V2StoreReaderPool2,
|
|
5
|
+
V2StoreReader2
|
|
6
|
+
} from "./index-66a50f3e.js";
|
|
7
|
+
import"./index-58e3y90n.js";
|
|
8
|
+
import"./index-gzy5w8ya.js";
|
|
9
|
+
export {
|
|
10
|
+
RAW_MESSAGE_TYPES2 as RAW_MESSAGE_TYPES,
|
|
11
|
+
V2StoreReader2 as V2StoreReader,
|
|
12
|
+
V2StoreReaderPool2 as V2StoreReaderPool,
|
|
13
|
+
gaDatabasePath2 as gaDatabasePath
|
|
14
|
+
};
|
|
@@ -22,13 +22,14 @@
|
|
|
22
22
|
*/
|
|
23
23
|
import { type ContextDatabase } from "../../features/magic-context/storage";
|
|
24
24
|
import type { ToolExpansionMap } from "../../shared/historian-tool-template";
|
|
25
|
+
export type RecoveryAttachments = (sessionId: string, messageId: string) => readonly unknown[];
|
|
25
26
|
/**
|
|
26
27
|
* Full untruncated recovery of one message by its ORDINAL — the same `[N]`
|
|
27
28
|
* identifier the agent already uses everywhere (compartment start/end, ctx_search
|
|
28
29
|
* hits, the verbose range view). Returns a "deleted" message when no message sits
|
|
29
30
|
* at that ordinal (pruned/reverted or wrong ordinal).
|
|
30
31
|
*/
|
|
31
|
-
export declare function renderMessageByOrdinal(sessionId: string, ordinal: number): string;
|
|
32
|
+
export declare function renderMessageByOrdinal(sessionId: string, ordinal: number, attachments?: RecoveryAttachments): string;
|
|
32
33
|
export interface VerboseRangeResult {
|
|
33
34
|
text: string;
|
|
34
35
|
/** Last ordinal actually rendered (for the continuation hint). */
|
|
@@ -41,7 +42,8 @@ export interface VerboseRangeResult {
|
|
|
41
42
|
* id and a per-part preview, bounded by `tokenBudget`. The agent reads the ids
|
|
42
43
|
* here and recovers any one message in full with ctx_expand(id=...).
|
|
43
44
|
*/
|
|
44
|
-
export declare function renderVerboseRange(sessionId: string, start: number, end: number, tokenBudget: number, expandTools?: ToolExpansionMap): VerboseRangeResult;
|
|
45
|
+
export declare function renderVerboseRange(sessionId: string, start: number, end: number, tokenBudget: number, expandTools?: ToolExpansionMap, attachments?: RecoveryAttachments): VerboseRangeResult;
|
|
46
|
+
export declare function renderVerboseRangeForTool(sessionId: string, start: number, end: number, tokenBudget: number, expandTools?: ToolExpansionMap, attachments?: RecoveryAttachments): string;
|
|
45
47
|
/** Resolve a transcript handle by persisted ownership, never by message ordinal. */
|
|
46
|
-
export declare function renderItemByTag(db: ContextDatabase, sessionId: string, number: number, textIndexDomain?: "part" | "text"): string;
|
|
48
|
+
export declare function renderItemByTag(db: ContextDatabase, sessionId: string, number: number, textIndexDomain?: "part" | "text", attachments?: RecoveryAttachments): string;
|
|
47
49
|
//# sourceMappingURL=render.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../../../src/tools/ctx-expand/render.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH,OAAO,EAAE,KAAK,eAAe,EAAc,MAAM,sCAAsC,CAAC;AAQxF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../../../src/tools/ctx-expand/render.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH,OAAO,EAAE,KAAK,eAAe,EAAc,MAAM,sCAAsC,CAAC;AAQxF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAE7E,MAAM,MAAM,mBAAmB,GAAG,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,SAAS,OAAO,EAAE,CAAC;AAiN/F;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAClC,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,EACf,WAAW,CAAC,EAAE,mBAAmB,GAClC,MAAM,CA0BR;AAED,MAAM,WAAW,kBAAkB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,kEAAkE;IAClE,WAAW,EAAE,MAAM,CAAC;IACpB,gDAAgD;IAChD,SAAS,EAAE,OAAO,CAAC;CACtB;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAC9B,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,EACb,GAAG,EAAE,MAAM,EACX,WAAW,EAAE,MAAM,EACnB,WAAW,CAAC,EAAE,gBAAgB,EAC9B,WAAW,CAAC,EAAE,mBAAmB,GAClC,kBAAkB,CA2BpB;AAED,wBAAgB,yBAAyB,CACrC,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,EACb,GAAG,EAAE,MAAM,EACX,WAAW,EAAE,MAAM,EACnB,WAAW,CAAC,EAAE,gBAAgB,EAC9B,WAAW,CAAC,EAAE,mBAAmB,GAClC,MAAM,CAiBR;AAED,oFAAoF;AACpF,wBAAgB,eAAe,CAC3B,EAAE,EAAE,eAAe,EACnB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,EACd,eAAe,GAAE,MAAM,GAAG,MAAe,EACzC,WAAW,CAAC,EAAE,mBAAmB,GAClC,MAAM,CAmER"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-archive.d.ts","sourceRoot":"","sources":["../../../src/tools/ctx-expand/search-archive.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"search-archive.d.ts","sourceRoot":"","sources":["../../../src/tools/ctx-expand/search-archive.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAsB5E,iGAAiG;AACjG,wBAAgB,kCAAkC,IAAI,MAAM,CAE3D;AAED,6EAA6E;AAC7E,wBAAgB,mBAAmB,CAC/B,EAAE,EAAE,eAAe,EACnB,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,EACb,GAAG,EAAE,MAAM,EACX,WAAW,EAAE,MAAM,EACnB,WAAW,UAAQ,EACnB,UAAU,4BAAuE,GAClF,MAAM,GAAG,IAAI,CAqDf;AAED,0FAA0F;AAC1F,wBAAsB,4BAA4B,CAC9C,EAAE,EAAE,eAAe,EACnB,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,EACb,GAAG,EAAE,MAAM,EACX,WAAW,EAAE,MAAM,EACnB,WAAW,UAAQ,GACpB,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAwExB"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { type ToolDefinition } from "@opencode-ai/plugin";
|
|
2
2
|
import type { ContextDatabase } from "../../features/magic-context/storage";
|
|
3
3
|
import type { ToolExpansionMap } from "../../shared/historian-tool-template";
|
|
4
|
+
import { type RecoveryAttachments } from "./render";
|
|
4
5
|
export { CTX_EXPAND_LIGHT_DESCRIPTION } from "../light-descriptions";
|
|
5
6
|
export interface CtxExpandToolDeps {
|
|
6
7
|
db: ContextDatabase;
|
|
7
8
|
expandTools?: ToolExpansionMap;
|
|
9
|
+
recoveryAttachments?: RecoveryAttachments;
|
|
8
10
|
/**
|
|
9
11
|
* The resolved transform mode of this plugin process. In Rust mode the ck-mc
|
|
10
12
|
* module numbers the §N§ tags the agent sees, in its own store (`store.db`),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../src/tools/ctx-expand/tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAQ,MAAM,qBAAqB,CAAC;AAEhE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../src/tools/ctx-expand/tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAQ,MAAM,qBAAqB,CAAC;AAEhE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAM5E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAK7E,OAAO,EACH,KAAK,mBAAmB,EAI3B,MAAM,UAAU,CAAC;AAKlB,OAAO,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAC;AAErE,MAAM,WAAW,iBAAiB;IAC9B,EAAE,EAAE,eAAe,CAAC;IACpB,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C;;;;;;;OAOG;IACH,aAAa,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;CACjC;AAED,oFAAoF;AACpF,eAAO,MAAM,2BAA2B,uWACsT,CAAC;AAiM/V,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAI5F"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { type MessagePort } from "node:worker_threads";
|
|
2
|
+
import type { ToolExpansionMap } from "../../shared/historian-tool-template";
|
|
3
|
+
type ArchiveRead = {
|
|
4
|
+
kind: "archive";
|
|
5
|
+
start: number;
|
|
6
|
+
end: number;
|
|
7
|
+
tokenBudget: number;
|
|
8
|
+
archiveOnly: boolean;
|
|
9
|
+
} | {
|
|
10
|
+
kind: "tag";
|
|
11
|
+
tag: number;
|
|
12
|
+
} | {
|
|
13
|
+
kind: "message";
|
|
14
|
+
message: number;
|
|
15
|
+
tokenBudget: number;
|
|
16
|
+
} | {
|
|
17
|
+
kind: "verbose";
|
|
18
|
+
start: number;
|
|
19
|
+
end: number;
|
|
20
|
+
tokenBudget: number;
|
|
21
|
+
expandTools?: ToolExpansionMap;
|
|
22
|
+
};
|
|
23
|
+
/** Drop the reader and its revision-bound anchors on shutdown or worker failure. */
|
|
24
|
+
export declare function stopV2ArchiveReader(): Promise<void>;
|
|
25
|
+
/** A persistent read-only worker amortizes cold seq indexing across expansions. */
|
|
26
|
+
export declare function readV2ArchiveOffThread(path: string, rawPath: string, sessionId: string, read: ArchiveRead): Promise<string | null>;
|
|
27
|
+
/** Worker-side only. The store-reader pool stays open across requests;
|
|
28
|
+
* each request opens the search archive and tag database read-only. */
|
|
29
|
+
export declare function serveV2ArchiveReads(port: MessagePort, openConnections: Set<{
|
|
30
|
+
close(): void;
|
|
31
|
+
}>): Promise<void>;
|
|
32
|
+
export {};
|
|
33
|
+
//# sourceMappingURL=v2-archive-reader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2-archive-reader.d.ts","sourceRoot":"","sources":["../../../src/tools/ctx-expand/v2-archive-reader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAU,MAAM,qBAAqB,CAAC;AAG/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAI7E,KAAK,WAAW,GACV;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,OAAO,CAAA;CAAE,GAC1F;IAAE,IAAI,EAAE,KAAK,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,GAC5B;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,GACzD;IACI,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,gBAAgB,CAAC;CAClC,CAAC;AA+BR,oFAAoF;AACpF,wBAAsB,mBAAmB,IAAI,OAAO,CAAC,IAAI,CAAC,CAezD;AAkED,mFAAmF;AACnF,wBAAsB,sBAAsB,CACxC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,WAAW,GAClB,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAmCxB;AAED;uEACuE;AACvE,wBAAsB,mBAAmB,CACrC,IAAI,EAAE,WAAW,EACjB,eAAe,EAAE,GAAG,CAAC;IAAE,KAAK,IAAI,IAAI,CAAA;CAAE,CAAC,GACxC,OAAO,CAAC,IAAI,CAAC,CAmFf"}
|
package/dist/{transform-postprocess-phase-ph38mhrs.js → transform-postprocess-phase-807ff6t2.js}
RENAMED
|
@@ -19,49 +19,55 @@ import {
|
|
|
19
19
|
finalizeMessageRepresentation2,
|
|
20
20
|
runPostTransformPhase2,
|
|
21
21
|
checkM0MutationDriftAndSignal2
|
|
22
|
-
} from "./index-
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-as2amvn3.js";
|
|
27
|
-
import"./index-9gpw8hrm.js";
|
|
22
|
+
} from "./index-x2mrq5xv.js";
|
|
23
|
+
import"./index-87ctnzz9.js";
|
|
24
|
+
import"./index-4bgk5ztz.js";
|
|
25
|
+
import"./index-f9b3vtt1.js";
|
|
28
26
|
import"./index-sd3egckz.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
27
|
+
import"./index-0c7p8mq5.js";
|
|
28
|
+
import"./index-pswsyf1w.js";
|
|
31
29
|
import"./index-jjvbk92s.js";
|
|
30
|
+
import"./index-jn0ddrhp.js";
|
|
32
31
|
import"./index-4dhv7mqz.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
32
|
+
import"./index-f297z1n8.js";
|
|
33
|
+
import"./index-2qbtqg1w.js";
|
|
34
|
+
import"./index-pq0dpwrc.js";
|
|
35
|
+
import"./index-2amn2s73.js";
|
|
36
|
+
import"./index-66a50f3e.js";
|
|
37
|
+
import"./index-dnqqqc5f.js";
|
|
38
|
+
import"./index-2v6nvy3k.js";
|
|
35
39
|
import"./index-qt1qqasc.js";
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
40
|
+
import"./index-brg2w6qc.js";
|
|
41
|
+
import"./index-ksv0a31x.js";
|
|
38
42
|
import"./index-1zx87sdm.js";
|
|
39
|
-
import"./index-
|
|
43
|
+
import"./index-pztqab6k.js";
|
|
40
44
|
import"./index-x8a7jmkh.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
45
|
+
import"./index-fw42ms3m.js";
|
|
46
|
+
import"./index-1rhgxqs8.js";
|
|
43
47
|
import"./index-nxrsns5x.js";
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
48
|
+
import"./index-jz5bk7xd.js";
|
|
49
|
+
import"./index-zhqwda72.js";
|
|
50
|
+
import"./index-g4t7850m.js";
|
|
51
|
+
import"./index-gyaa159j.js";
|
|
48
52
|
import"./index-fb3zxn06.js";
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-kq5w68dp.js";
|
|
51
|
-
import"./index-v15ne3a3.js";
|
|
53
|
+
import"./index-nj360hcs.js";
|
|
52
54
|
import"./index-fr0wbhdn.js";
|
|
53
|
-
import"./index-
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
56
|
-
import"./index-
|
|
57
|
-
import"./index-
|
|
55
|
+
import"./index-txs8tce6.js";
|
|
56
|
+
import"./index-faxb7mck.js";
|
|
57
|
+
import"./index-wh9fxds5.js";
|
|
58
|
+
import"./index-2p37txes.js";
|
|
59
|
+
import"./index-jkanybgq.js";
|
|
60
|
+
import"./index-9wnbnx8f.js";
|
|
61
|
+
import"./index-qncw9hey.js";
|
|
58
62
|
import"./index-v0p37hm2.js";
|
|
59
|
-
import"./index-
|
|
60
|
-
import"./index-
|
|
63
|
+
import"./index-58e3y90n.js";
|
|
64
|
+
import"./index-fxbk7gk3.js";
|
|
65
|
+
import"./index-4xyjr62e.js";
|
|
61
66
|
import"./index-gzy5w8ya.js";
|
|
62
|
-
import"./index-
|
|
67
|
+
import"./index-jrfre9ah.js";
|
|
63
68
|
import"./index-g2q4htwp.js";
|
|
64
69
|
import"./index-pavzsdc6.js";
|
|
70
|
+
import"./index-z4p0ry94.js";
|
|
65
71
|
import"./index-cpjk5jd2.js";
|
|
66
72
|
export {
|
|
67
73
|
RUST_MARKER_LOCK_SKIP_LOG2 as RUST_MARKER_LOCK_SKIP_LOG,
|
|
@@ -24,16 +24,16 @@ var [
|
|
|
24
24
|
{ Database, registerSqliteDiagnosticSink },
|
|
25
25
|
{ log }
|
|
26
26
|
] = await Promise.all([
|
|
27
|
-
import("./embedding-backfill-
|
|
27
|
+
import("./embedding-backfill-11j425e0.js"),
|
|
28
28
|
import("./embedding-cache-mgyr73ef.js"),
|
|
29
29
|
import("./storage-memory-e6a7mb0k.js"),
|
|
30
|
-
import("./project-embedding-registry-
|
|
31
|
-
import("./search-
|
|
32
|
-
import("./compartment-chunk-embedding-
|
|
30
|
+
import("./project-embedding-registry-bm5fe1a8.js"),
|
|
31
|
+
import("./search-z1zqzsmh.js"),
|
|
32
|
+
import("./compartment-chunk-embedding-ncsk0r9e.js"),
|
|
33
33
|
import("./embedding-activity-g1dhes6g.js"),
|
|
34
34
|
import("./harness-e4avh192.js"),
|
|
35
35
|
import("./sqlite-zdgm52sv.js"),
|
|
36
|
-
import("./logger-
|
|
36
|
+
import("./logger-4cj6d03m.js")
|
|
37
37
|
]);
|
|
38
38
|
setHarness(input.harness);
|
|
39
39
|
registerSqliteDiagnosticSink(log, getHarness);
|
|
@@ -127,6 +127,7 @@ async function run(jobInput) {
|
|
|
127
127
|
} else {
|
|
128
128
|
const jobStarted = performance.now();
|
|
129
129
|
const steps = {};
|
|
130
|
+
const diagnostics = input.options.autoSearchDiagnostics;
|
|
130
131
|
const results = await unifiedSearch(db, input.sessionId, input.projectPath, input.query, {
|
|
131
132
|
...input.options,
|
|
132
133
|
backfillMemoryEmbeddings: false,
|
|
@@ -134,7 +135,11 @@ async function run(jobInput) {
|
|
|
134
135
|
measurementDisabled: true,
|
|
135
136
|
embedQuery: async (text) => (await request({ kind: "query", text })).result ?? null,
|
|
136
137
|
isEmbeddingRuntimeEnabled: () => input.embeddingRuntimeEnabled,
|
|
137
|
-
stepTimings: steps
|
|
138
|
+
stepTimings: steps,
|
|
139
|
+
onAutoSearchDiagnostics: diagnostics ? () => port.postMessage({
|
|
140
|
+
kind: "diagnostics",
|
|
141
|
+
diagnostics
|
|
142
|
+
}) : undefined
|
|
138
143
|
});
|
|
139
144
|
port.postMessage({
|
|
140
145
|
kind: "result",
|
|
@@ -11,36 +11,38 @@ import {
|
|
|
11
11
|
isWorkerCloseMessage,
|
|
12
12
|
exitOnWorkerClose
|
|
13
13
|
} from "./server-cpjk5jd2.js";
|
|
14
|
-
import"./server-
|
|
15
|
-
import"./server-
|
|
16
|
-
import"./server-
|
|
14
|
+
import"./server-969cdpmg.js";
|
|
15
|
+
import"./server-jb6tjyeb.js";
|
|
16
|
+
import"./server-z4p0ry94.js";
|
|
17
|
+
import"./server-zzgtgqmd.js";
|
|
17
18
|
import"./server-51779zs2.js";
|
|
18
|
-
import"./server-
|
|
19
|
-
import"./server-
|
|
19
|
+
import"./server-s9xgyyj9.js";
|
|
20
|
+
import"./server-ws5exe6q.js";
|
|
20
21
|
import {
|
|
21
22
|
replaceCompartmentChunkEmbeddings2,
|
|
22
23
|
recordChunkEmbedBackoff2,
|
|
23
24
|
loadUnembeddedSessionChunkCandidates2,
|
|
24
25
|
countUnembeddedSessionCompartments2
|
|
25
|
-
} from "./server-
|
|
26
|
+
} from "./server-hsf0qsn5.js";
|
|
26
27
|
import {
|
|
27
28
|
acquireGitSweepLease,
|
|
28
29
|
renewGitSweepLease,
|
|
29
30
|
releaseGitSweepLease,
|
|
30
31
|
recordSessionProjectIdentity
|
|
31
|
-
} from "./server-
|
|
32
|
-
import"./server-
|
|
33
|
-
import"./server-
|
|
32
|
+
} from "./server-dcws5831.js";
|
|
33
|
+
import"./server-69m30b21.js";
|
|
34
|
+
import"./server-sefxj8k1.js";
|
|
34
35
|
import {
|
|
35
36
|
LATEST_SUPPORTED_VERSION,
|
|
36
37
|
enforceSchemaFence
|
|
37
|
-
} from "./server-
|
|
38
|
-
import"./server-
|
|
39
|
-
import"./server-
|
|
38
|
+
} from "./server-7ccxt4nq.js";
|
|
39
|
+
import"./server-468mya5v.js";
|
|
40
|
+
import"./server-3schkz95.js";
|
|
41
|
+
import"./server-tpt7bwq8.js";
|
|
40
42
|
import"./server-fr0wbhdn.js";
|
|
41
43
|
import"./server-2ra6pwf3.js";
|
|
42
|
-
import"./server-
|
|
43
|
-
import"./server-
|
|
44
|
+
import"./server-xy7w7hrd.js";
|
|
45
|
+
import"./server-qmmkhz2z.js";
|
|
44
46
|
|
|
45
47
|
// src/features/magic-context/chunk-embedding-write-worker.ts
|
|
46
48
|
import { parentPort, workerData } from "node:worker_threads";
|
|
@@ -4,11 +4,12 @@ import {
|
|
|
4
4
|
readMarkerCandidateBasis2,
|
|
5
5
|
prepareMarkerCandidateBasis2,
|
|
6
6
|
scanMarkerCandidateSnapshot2
|
|
7
|
-
} from "./server-
|
|
7
|
+
} from "./server-xbtw0p9t.js";
|
|
8
8
|
import"./server-51779zs2.js";
|
|
9
9
|
import"./server-gzy5w8ya.js";
|
|
10
|
-
import"./server-
|
|
10
|
+
import"./server-jb6tjyeb.js";
|
|
11
11
|
import"./server-pavzsdc6.js";
|
|
12
|
+
import"./server-z4p0ry94.js";
|
|
12
13
|
export {
|
|
13
14
|
invalidateMarkerCandidateBasis2 as invalidateMarkerCandidateBasis,
|
|
14
15
|
isMarkerCandidateBasisCurrent2 as isMarkerCandidateBasisCurrent,
|
|
@@ -6,7 +6,7 @@ if (!port)
|
|
|
6
6
|
port.postMessage({ kind: "accepted" });
|
|
7
7
|
var [{ Database }, { scanMarkerCandidateSnapshot }] = await Promise.all([
|
|
8
8
|
import("./sqlite-zdgm52sv.js"),
|
|
9
|
-
import("./compaction-marker-candidates-
|
|
9
|
+
import("./compaction-marker-candidates-t1aq6gsj.js")
|
|
10
10
|
]);
|
|
11
11
|
var input = workerData;
|
|
12
12
|
var db;
|