@cortexkit/opencode-magic-context 0.49.15 → 0.49.17
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 +76 -63
- package/dist/chunk-embedding-write-worker.js +12 -10
- package/dist/{compaction-marker-candidates-v5c6997n.js → compaction-marker-candidates-n4krhat4.js} +2 -2
- package/dist/compaction-marker-candidates-worker.js +2 -2
- package/dist/config/schema/magic-context.d.ts +343 -343
- package/dist/config/schema/magic-context.d.ts.map +1 -1
- package/dist/{conflict-warning-hook-mgq17yr3.js → conflict-warning-hook-4pmz879v.js} +6 -6
- package/dist/{context-0m46day0.js → context-yhetp0kn.js} +297 -141
- package/dist/embedding-backfill-fmz50tsy.js +24 -0
- package/dist/embedding-worker-process.js +1 -1
- package/dist/embedding-worker.js +5 -5
- 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/git-commits/indexer.d.ts.map +1 -1
- package/dist/features/magic-context/memory/embedding-openai.d.ts.map +1 -1
- package/dist/features/magic-context/memory/project-identity-cache.d.ts +2 -0
- package/dist/features/magic-context/memory/project-identity-cache.d.ts.map +1 -1
- package/dist/features/magic-context/message-fts-rowid-map.d.ts +2 -2
- package/dist/features/magic-context/message-fts-rowid-map.d.ts.map +1 -1
- package/dist/features/magic-context/message-fts-session-filter.d.ts +2 -0
- package/dist/features/magic-context/message-fts-session-filter.d.ts.map +1 -1
- package/dist/features/magic-context/message-index-async.d.ts +1 -1
- package/dist/features/magic-context/message-index-async.d.ts.map +1 -1
- package/dist/features/magic-context/message-index.d.ts +5 -0
- package/dist/features/magic-context/message-index.d.ts.map +1 -1
- package/dist/features/magic-context/message-time-backfill.d.ts +2 -2
- package/dist/features/magic-context/message-time-backfill.d.ts.map +1 -1
- package/dist/features/magic-context/search.d.ts +6 -1
- package/dist/features/magic-context/search.d.ts.map +1 -1
- package/dist/features/magic-context/storage-db.d.ts +2 -1
- package/dist/features/magic-context/storage-db.d.ts.map +1 -1
- package/dist/features/magic-context/storage-meta-session.d.ts.map +1 -1
- package/dist/features/magic-context/storage-meta-shared.d.ts +2 -2
- package/dist/features/magic-context/storage-meta-shared.d.ts.map +1 -1
- package/dist/features/magic-context/storage-session-tables.d.ts +9 -1
- package/dist/features/magic-context/storage-session-tables.d.ts.map +1 -1
- package/dist/hooks/magic-context/apply-operations.d.ts.map +1 -1
- package/dist/hooks/magic-context/auto-search-deadline.d.ts +2 -1
- package/dist/hooks/magic-context/auto-search-deadline.d.ts.map +1 -1
- package/dist/hooks/magic-context/auto-search-hint.d.ts +3 -0
- package/dist/hooks/magic-context/auto-search-hint.d.ts.map +1 -1
- package/dist/hooks/magic-context/auto-search-runner.d.ts.map +1 -1
- package/dist/hooks/magic-context/auto-search-worker-client.d.ts +10 -2
- package/dist/hooks/magic-context/auto-search-worker-client.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-runner-historian.d.ts +4 -2
- package/dist/hooks/magic-context/compartment-runner-historian.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-runner-incremental.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-runner-validation.d.ts.map +1 -1
- package/dist/hooks/magic-context/emergency-drop.d.ts.map +1 -1
- package/dist/hooks/magic-context/historian-host-runner.d.ts.map +1 -1
- package/dist/hooks/magic-context/historian-prompt-fit.d.ts +2 -1
- package/dist/hooks/magic-context/historian-prompt-fit.d.ts.map +1 -1
- package/dist/hooks/magic-context/hook.d.ts.map +1 -1
- package/dist/hooks/magic-context/lkg-recovery-fence.d.ts.map +1 -1
- package/dist/hooks/magic-context/raw-ordinal-warmup.d.ts +26 -0
- package/dist/hooks/magic-context/raw-ordinal-warmup.d.ts.map +1 -1
- package/dist/hooks/magic-context/read-session-chunk.d.ts.map +1 -1
- package/dist/hooks/magic-context/recomp-orchestrator.d.ts +3 -3
- package/dist/hooks/magic-context/recomp-orchestrator.d.ts.map +1 -1
- package/dist/hooks/magic-context/system-prompt-diagnostics.d.ts +8 -0
- package/dist/hooks/magic-context/system-prompt-diagnostics.d.ts.map +1 -0
- package/dist/hooks/magic-context/system-prompt-hash.d.ts.map +1 -1
- package/dist/hooks/magic-context/tag-messages.d.ts +6 -1
- package/dist/hooks/magic-context/tag-messages.d.ts.map +1 -1
- package/dist/hooks/magic-context/todo-view.d.ts +2 -2
- package/dist/hooks/magic-context/tool-drop-target.d.ts +3 -2
- package/dist/hooks/magic-context/tool-drop-target.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform-postprocess-phase.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform-stage-logger.d.ts +3 -0
- package/dist/hooks/magic-context/transform-stage-logger.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform.d.ts +1 -0
- package/dist/hooks/magic-context/transform.d.ts.map +1 -1
- package/dist/{index-3kdm78zp.js → index-24fezq97.js} +4 -4
- package/dist/{index-a8bvhwqs.js → index-2vxtcb95.js} +32 -3
- package/dist/{index-f71thw8j.js → index-4s3t0nd0.js} +1 -1
- package/dist/{index-ts1hjk1h.js → index-4yt7dtf4.js} +453 -227
- package/dist/{index-mc1cqza6.js → index-5a1ex6x8.js} +5 -5
- package/dist/{index-fkx2qnvw.js → index-6x57ar45.js} +2 -2
- package/dist/{index-dyvbsvga.js → index-a6mc0v4d.js} +25 -11
- package/dist/{index-snp5wbge.js → index-a7c4r5re.js} +160 -749
- package/dist/{index-42vcjcwe.js → index-aabzay3h.js} +180 -103
- package/dist/{index-3kx0kg0f.js → index-b5vqckbw.js} +14 -8
- package/dist/{v2/server-wafzvyhg.js → index-beht37jy.js} +8 -0
- package/dist/{index-e20m7284.js → index-bjcnntmz.js} +3 -3
- package/dist/{index-hqkczed7.js → index-c5pytzne.js} +22 -2
- package/dist/{index-thvnpfsv.js → index-cwzfcbtq.js} +967 -88
- package/dist/{index-yxycg7fs.js → index-fb2qxs2y.js} +26 -18
- package/dist/{index-mht7bq0z.js → index-hqhm3wke.js} +32 -8
- package/dist/{index-e4dsjj1p.js → index-jn12fvvh.js} +1 -1
- package/dist/index-kaqs6h31.js +58 -0
- package/dist/{index-n6m03s3n.js → index-ke416mdc.js} +1 -1
- package/dist/index-kmdj7dsq.js +96 -0
- package/dist/{index-1d289pq2.js → index-kq82mtg0.js} +2 -2
- package/dist/{index-n78avt2p.js → index-n37sebck.js} +1 -1
- package/dist/{index-1vc7jrkg.js → index-nkpmm9q8.js} +3 -3
- package/dist/{index-944w16m0.js → index-p7m7j0cp.js} +25 -17
- package/dist/{index-wk0n1cgt.js → index-qn7xstt2.js} +2 -2
- package/dist/{index-saews2s3.js → index-rr2bb45z.js} +1 -1
- package/dist/{index-mmfa86mt.js → index-s734jcsr.js} +169 -149
- package/dist/{index-dgs16axy.js → index-s74zqahq.js} +1 -1
- package/dist/{index-bxdg2nbt.js → index-v8awdgvd.js} +4 -4
- package/dist/{index-xn6q9pg6.js → index-vrzjhftj.js} +36 -76
- package/dist/{index-1sarmj9z.js → index-wgypt3cs.js} +6 -6
- package/dist/{index-y1qysm3q.js → index-ze7mvk54.js} +11 -8
- package/dist/index.js +47 -45
- package/dist/message-fts-rowid-map-17s0dfn4.js +25 -0
- package/dist/{message-index-bounded-vtgpq6b4.js → message-index-bounded-1633vc7f.js} +17 -17
- package/dist/{message-index-a6gztaqx.js → message-index-dprebmtt.js} +15 -15
- package/dist/{message-time-backfill-qjge9044.js → message-time-backfill-73mmm76q.js} +5 -5
- package/dist/migration-worker.js +9 -7
- package/dist/plugin/dream-timer.d.ts +11 -0
- package/dist/plugin/dream-timer.d.ts.map +1 -1
- package/dist/plugin/hooks/create-session-hooks.d.ts.map +1 -1
- package/dist/{project-embedding-registry-x45bv3qr.js → project-embedding-registry-z74mhqkf.js} +12 -10
- package/dist/raw-ordinal-warmup-worker.js +40 -10
- package/dist/{read-session-chunk-3ae3nfdn.js → read-session-chunk-4zp09ejb.js} +9 -9
- package/dist/{read-session-raw-m56hc7v2.js → read-session-raw-rsc8c7qy.js} +2 -2
- package/dist/{recomp-orchestrator-nwzcfhx4.js → recomp-orchestrator-z3ecszx6.js} +26 -26
- package/dist/{search-deajrd90.js → search-6mee3vty.js} +23 -22
- package/dist/search-archive-znyy44ve.js +25 -0
- package/dist/{send-session-notification-24r4esbh.js → send-session-notification-6ve0e8p4.js} +5 -5
- package/dist/shared/historian-cache.d.ts +8 -0
- package/dist/shared/historian-cache.d.ts.map +1 -0
- package/dist/shared/model-suggestion-retry.d.ts +4 -0
- package/dist/shared/model-suggestion-retry.d.ts.map +1 -1
- package/dist/shared/resolve-fallbacks.d.ts +3 -3
- package/dist/shared/rpc-discovery-cleanup.d.ts +3 -0
- package/dist/shared/rpc-discovery-cleanup.d.ts.map +1 -0
- package/dist/shared/rpc-server.d.ts +2 -0
- package/dist/shared/rpc-server.d.ts.map +1 -1
- package/dist/shared/search-text.d.ts +8 -0
- package/dist/shared/search-text.d.ts.map +1 -0
- package/dist/shared/sqlite.d.ts +4 -2
- package/dist/shared/sqlite.d.ts.map +1 -1
- package/dist/shared/storage-file-mutex.d.ts.map +1 -1
- package/dist/shared/subagent-runner.d.ts +2 -0
- package/dist/shared/subagent-runner.d.ts.map +1 -1
- package/dist/shared/system-directive.d.ts +2 -0
- package/dist/shared/system-directive.d.ts.map +1 -1
- package/dist/{sqlite-4pqyynrs.js → sqlite-zf72c52d.js} +1 -1
- package/dist/{storage-memory-j3v3hc83.js → storage-memory-y3qmy00r.js} +2 -2
- package/dist/{storage-tags-s5bg1ahx.js → storage-tags-8qns3012.js} +8 -4
- package/dist/tools/ctx-expand/search-archive.d.ts +5 -1
- package/dist/tools/ctx-expand/search-archive.d.ts.map +1 -1
- package/dist/{transform-postprocess-phase-ne3z1zmt.js → transform-postprocess-phase-3ydzxa62.js} +26 -26
- package/dist/v2/auto-search-worker.js +76 -63
- package/dist/v2/chunk-embedding-write-worker.js +12 -10
- package/dist/v2/{compaction-marker-candidates-1vqwr3s5.js → compaction-marker-candidates-ebx3388k.js} +2 -2
- package/dist/v2/compaction-marker-candidates-worker.js +2 -2
- package/dist/v2/{context-4qczzck7.js → context-jn3zpeqh.js} +909 -454
- package/dist/v2/embedding-backfill-7c7yr69y.js +23 -0
- package/dist/v2/embedding-worker-process.js +1 -1
- package/dist/v2/embedding-worker.js +5 -5
- package/dist/v2/fold/native-replay.d.ts +11 -2
- package/dist/v2/fold/native-replay.d.ts.map +1 -1
- package/dist/v2/fold/policy.d.ts.map +1 -1
- package/dist/v2/fold/restore.d.ts.map +1 -1
- package/dist/v2/hooks/context.d.ts.map +1 -1
- package/dist/v2/hooks/hidden-child.d.ts +8 -0
- package/dist/v2/hooks/hidden-child.d.ts.map +1 -1
- package/dist/v2/hooks/types.d.ts +17 -0
- package/dist/v2/hooks/types.d.ts.map +1 -1
- package/dist/v2/message-fts-rowid-map-wfx67gfd.js +24 -0
- package/dist/v2/{message-index-bounded-rxxznd34.js → message-index-bounded-hpejqyd8.js} +17 -17
- package/dist/v2/{message-index-f947qtbz.js → message-index-pxehjpzx.js} +15 -15
- package/dist/v2/{message-time-backfill-bsteyc4d.js → message-time-backfill-04t0km1z.js} +5 -5
- package/dist/v2/migration-worker.js +9 -7
- package/dist/v2/{project-embedding-registry-0msp56p8.js → project-embedding-registry-gnkj56xp.js} +12 -10
- package/dist/v2/raw-ordinal-warmup-worker.js +40 -10
- package/dist/v2/{read-session-chunk-rq9nx1nn.js → read-session-chunk-zdppn4bj.js} +9 -9
- package/dist/v2/{read-session-raw-b3tf6ra1.js → read-session-raw-yaegtjzh.js} +2 -2
- package/dist/v2/{recomp-orchestrator-5zhxtwha.js → recomp-orchestrator-cmqnfpp3.js} +26 -26
- package/dist/v2/{search-n8wqxb1j.js → search-66842dya.js} +23 -22
- package/dist/v2/search-archive-gfh11vs0.js +24 -0
- package/dist/v2/{send-session-notification-8ghn9tnv.js → send-session-notification-3pxn658x.js} +5 -5
- package/dist/v2/{server-yrvqaswb.js → server-1wy7b9de.js} +25 -11
- package/dist/v2/{server-th4y11y7.js → server-271qxsf5.js} +6 -6
- package/dist/v2/{server-e298hswg.js → server-3rhpvy84.js} +967 -88
- package/dist/v2/{server-qhfvvfxj.js → server-46neh5fa.js} +14 -8
- package/dist/v2/{server-rrqpvwqd.js → server-6tmj0s7j.js} +2 -2
- package/dist/v2/{server-hek6z3w6.js → server-8by8qfec.js} +11 -8
- package/dist/v2/{server-vbe4se57.js → server-a9xqj88f.js} +1 -1
- package/dist/{index-wafzvyhg.js → v2/server-beht37jy.js} +8 -0
- package/dist/v2/{server-05xjtq6c.js → server-d04vrx0j.js} +1 -1
- package/dist/v2/server-ec4ca92p.js +96 -0
- package/dist/v2/{server-dd0tz6cn.js → server-fw7wrk01.js} +160 -750
- package/dist/v2/{server-zs8d0s3b.js → server-g3qma5c0.js} +1 -1
- package/dist/v2/{server-k2bzedxk.js → server-gpvay0xz.js} +2 -2
- package/dist/v2/{server-kmbarfmn.js → server-gtfhttbr.js} +26 -18
- package/dist/v2/{server-g10mdym6.js → server-h1v0pyxb.js} +3 -3
- package/dist/v2/{server-4gn3z5an.js → server-hy3d3vsx.js} +1 -1
- package/dist/v2/server-kaqs6h31.js +58 -0
- package/dist/v2/{server-ehyava47.js → server-kh7dpa1a.js} +25 -17
- package/dist/v2/{server-6cdy4rc0.js → server-my7k4eds.js} +4 -4
- package/dist/v2/{server-d8tj10db.js → server-n1prf1g6.js} +1 -1
- package/dist/v2/{server-n78avt2p.js → server-n37sebck.js} +1 -1
- package/dist/v2/{server-zc3e54vy.js → server-nj659894.js} +6 -6
- package/dist/v2/{server-gvkm8xaj.js → server-rmygf5pn.js} +32 -3
- package/dist/v2/{server-0ppsweh6.js → server-tgnbmwah.js} +22 -2
- package/dist/v2/{server-cfbr1s2x.js → server-vsw8tmm6.js} +36 -76
- package/dist/v2/{server-prg55b7k.js → server-xj136kt8.js} +23 -3
- package/dist/v2/{server-atbc19ab.js → server-zyzawhdw.js} +32 -8
- package/dist/v2/{server-ef89gdsx.js → server-zzkj2fch.js} +4 -4
- package/dist/v2/server.js +5 -5
- package/dist/v2/{sqlite-4pqyynrs.js → sqlite-zf72c52d.js} +1 -1
- package/dist/v2/{storage-memory-j3v3hc83.js → storage-memory-y3qmy00r.js} +2 -2
- package/dist/v2/{storage-tags-hcc2adpf.js → storage-tags-1h8k6ra9.js} +8 -4
- package/dist/v2/store-reader.d.ts +2 -0
- package/dist/v2/store-reader.d.ts.map +1 -1
- package/dist/v2/{wrapup-orchestrator-65pwye0d.js → wrapup-orchestrator-xs8redz9.js} +26 -26
- package/dist/wrapup-orchestrator-j7d7ry5b.js +48 -0
- package/package.json +1 -1
- package/src/config/latch-permanence-guard.test.ts +4 -0
- package/src/config/schema/magic-context.ts +14 -6
- package/src/shared/historian-cache.test.ts +69 -0
- package/src/shared/historian-cache.ts +55 -0
- package/src/shared/model-resolution.test.ts +22 -0
- package/src/shared/model-suggestion-retry.ts +11 -3
- package/src/shared/resolve-fallbacks.test.ts +2 -3
- package/src/shared/resolve-fallbacks.ts +3 -3
- package/src/shared/rpc-discovery-cleanup.test.ts +57 -0
- package/src/shared/rpc-discovery-cleanup.ts +57 -0
- package/src/shared/rpc-server.ts +36 -13
- package/src/shared/search-text.test.ts +47 -0
- package/src/shared/search-text.ts +63 -0
- package/src/shared/sqlite.test.ts +56 -0
- package/src/shared/sqlite.ts +51 -2
- package/src/shared/storage-file-mutex-review.test.ts +22 -2
- package/src/shared/storage-file-mutex.ts +11 -1
- package/src/shared/subagent-runner.ts +2 -0
- package/src/shared/system-directive.ts +19 -1
- package/src/shared/tag-transcript.ts +12 -4
- package/dist/embedding-backfill-5e1t5wha.js +0 -22
- package/dist/v2/embedding-backfill-jmaf8zrr.js +0 -21
- package/dist/wrapup-orchestrator-28xzsj5q.js +0 -48
|
@@ -7,45 +7,45 @@ import {
|
|
|
7
7
|
setRecompTerminal2,
|
|
8
8
|
buildRecompDeps2,
|
|
9
9
|
runManagedRecomp2
|
|
10
|
-
} from "./server-
|
|
11
|
-
import"./server-
|
|
12
|
-
import"./server-
|
|
13
|
-
import"./server-
|
|
14
|
-
import"./server-
|
|
15
|
-
import"./server-
|
|
16
|
-
import"./server-
|
|
10
|
+
} from "./server-fw7wrk01.js";
|
|
11
|
+
import"./server-d04vrx0j.js";
|
|
12
|
+
import"./server-my7k4eds.js";
|
|
13
|
+
import"./server-3rhpvy84.js";
|
|
14
|
+
import"./server-zzkj2fch.js";
|
|
15
|
+
import"./server-n37sebck.js";
|
|
16
|
+
import"./server-8by8qfec.js";
|
|
17
17
|
import"./server-4dhv7mqz.js";
|
|
18
18
|
import"./server-34kwfsr4.js";
|
|
19
|
-
import"./server-
|
|
19
|
+
import"./server-a9xqj88f.js";
|
|
20
20
|
import"./server-qt1qqasc.js";
|
|
21
|
-
import"./server-
|
|
22
|
-
import"./server-
|
|
21
|
+
import"./server-kh7dpa1a.js";
|
|
22
|
+
import"./server-zyzawhdw.js";
|
|
23
23
|
import"./server-1zx87sdm.js";
|
|
24
|
-
import"./server-
|
|
25
|
-
import"./server-prg55b7k.js";
|
|
26
|
-
import"./server-51779zs2.js";
|
|
24
|
+
import"./server-n1prf1g6.js";
|
|
27
25
|
import"./server-h0410h0v.js";
|
|
28
|
-
import"./server-
|
|
26
|
+
import"./server-nj659894.js";
|
|
29
27
|
import"./server-tbe1femw.js";
|
|
30
28
|
import"./server-x8a7jmkh.js";
|
|
31
|
-
import"./server-
|
|
32
|
-
import"./server-
|
|
33
|
-
import"./server-
|
|
34
|
-
import"./server-
|
|
35
|
-
import"./server-
|
|
36
|
-
import"./server-
|
|
29
|
+
import"./server-h1v0pyxb.js";
|
|
30
|
+
import"./server-271qxsf5.js";
|
|
31
|
+
import"./server-hy3d3vsx.js";
|
|
32
|
+
import"./server-46neh5fa.js";
|
|
33
|
+
import"./server-6tmj0s7j.js";
|
|
34
|
+
import"./server-gtfhttbr.js";
|
|
37
35
|
import"./server-fb3zxn06.js";
|
|
38
|
-
import"./server-
|
|
36
|
+
import"./server-gpvay0xz.js";
|
|
39
37
|
import"./server-fr0wbhdn.js";
|
|
40
|
-
import"./server-
|
|
41
|
-
import"./server-
|
|
38
|
+
import"./server-rmygf5pn.js";
|
|
39
|
+
import"./server-1wy7b9de.js";
|
|
42
40
|
import"./server-da07v4xp.js";
|
|
43
|
-
import"./server-
|
|
41
|
+
import"./server-g3qma5c0.js";
|
|
44
42
|
import"./server-pwv4ezb0.js";
|
|
45
43
|
import"./server-2ra6pwf3.js";
|
|
44
|
+
import"./server-xj136kt8.js";
|
|
45
|
+
import"./server-51779zs2.js";
|
|
46
46
|
import"./server-6pmqg9m4.js";
|
|
47
|
-
import"./server-
|
|
48
|
-
import"./server-
|
|
47
|
+
import"./server-tgnbmwah.js";
|
|
48
|
+
import"./server-beht37jy.js";
|
|
49
49
|
import"./server-f2xf5gcb.js";
|
|
50
50
|
import"./server-pavzsdc6.js";
|
|
51
51
|
export {
|
|
@@ -5,36 +5,37 @@ import {
|
|
|
5
5
|
resolveMemoriesByIdsForSearch2,
|
|
6
6
|
unifiedSearch2,
|
|
7
7
|
formatSearchResults2
|
|
8
|
-
} from "./server-
|
|
9
|
-
import"./server-
|
|
10
|
-
import"./server-
|
|
11
|
-
import"./server-
|
|
12
|
-
import"./server-
|
|
13
|
-
import"./server-
|
|
8
|
+
} from "./server-vsw8tmm6.js";
|
|
9
|
+
import"./server-kaqs6h31.js";
|
|
10
|
+
import"./server-my7k4eds.js";
|
|
11
|
+
import"./server-3rhpvy84.js";
|
|
12
|
+
import"./server-zzkj2fch.js";
|
|
13
|
+
import"./server-n37sebck.js";
|
|
14
|
+
import"./server-8by8qfec.js";
|
|
14
15
|
import"./server-4dhv7mqz.js";
|
|
15
16
|
import"./server-qt1qqasc.js";
|
|
16
|
-
import"./server-
|
|
17
|
-
import"./server-
|
|
17
|
+
import"./server-kh7dpa1a.js";
|
|
18
|
+
import"./server-zyzawhdw.js";
|
|
18
19
|
import"./server-1zx87sdm.js";
|
|
19
|
-
import"./server-
|
|
20
|
-
import"./server-
|
|
21
|
-
import"./server-
|
|
22
|
-
import"./server-
|
|
23
|
-
import"./server-
|
|
24
|
-
import"./server-
|
|
25
|
-
import"./server-
|
|
26
|
-
import"./server-rrqpvwqd.js";
|
|
27
|
-
import"./server-k2bzedxk.js";
|
|
20
|
+
import"./server-n1prf1g6.js";
|
|
21
|
+
import"./server-h1v0pyxb.js";
|
|
22
|
+
import"./server-271qxsf5.js";
|
|
23
|
+
import"./server-hy3d3vsx.js";
|
|
24
|
+
import"./server-46neh5fa.js";
|
|
25
|
+
import"./server-6tmj0s7j.js";
|
|
26
|
+
import"./server-gpvay0xz.js";
|
|
28
27
|
import"./server-fr0wbhdn.js";
|
|
29
|
-
import"./server-
|
|
30
|
-
import"./server-
|
|
28
|
+
import"./server-rmygf5pn.js";
|
|
29
|
+
import"./server-1wy7b9de.js";
|
|
31
30
|
import"./server-da07v4xp.js";
|
|
32
|
-
import"./server-
|
|
31
|
+
import"./server-g3qma5c0.js";
|
|
33
32
|
import"./server-pwv4ezb0.js";
|
|
34
33
|
import"./server-2ra6pwf3.js";
|
|
34
|
+
import"./server-xj136kt8.js";
|
|
35
|
+
import"./server-51779zs2.js";
|
|
35
36
|
import"./server-6pmqg9m4.js";
|
|
36
|
-
import"./server-
|
|
37
|
-
import"./server-
|
|
37
|
+
import"./server-tgnbmwah.js";
|
|
38
|
+
import"./server-beht37jy.js";
|
|
38
39
|
import"./server-f2xf5gcb.js";
|
|
39
40
|
import"./server-pavzsdc6.js";
|
|
40
41
|
export {
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import {
|
|
2
|
+
renderSearchArchive2,
|
|
3
|
+
renderSearchArchiveOffThread2
|
|
4
|
+
} from "./server-ec4ca92p.js";
|
|
5
|
+
import"./server-kaqs6h31.js";
|
|
6
|
+
import"./server-kh7dpa1a.js";
|
|
7
|
+
import"./server-zyzawhdw.js";
|
|
8
|
+
import"./server-1zx87sdm.js";
|
|
9
|
+
import"./server-n1prf1g6.js";
|
|
10
|
+
import"./server-271qxsf5.js";
|
|
11
|
+
import"./server-g3qma5c0.js";
|
|
12
|
+
import"./server-pwv4ezb0.js";
|
|
13
|
+
import"./server-2ra6pwf3.js";
|
|
14
|
+
import"./server-xj136kt8.js";
|
|
15
|
+
import"./server-51779zs2.js";
|
|
16
|
+
import"./server-6pmqg9m4.js";
|
|
17
|
+
import"./server-tgnbmwah.js";
|
|
18
|
+
import"./server-beht37jy.js";
|
|
19
|
+
import"./server-f2xf5gcb.js";
|
|
20
|
+
import"./server-pavzsdc6.js";
|
|
21
|
+
export {
|
|
22
|
+
renderSearchArchive2 as renderSearchArchive,
|
|
23
|
+
renderSearchArchiveOffThread2 as renderSearchArchiveOffThread
|
|
24
|
+
};
|
package/dist/v2/{send-session-notification-8ghn9tnv.js → send-session-notification-3pxn658x.js}
RENAMED
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
clearIgnoredMessages2,
|
|
9
9
|
observeIgnoredNotificationEvent2,
|
|
10
10
|
sendStatusNotification2
|
|
11
|
-
} from "./server-
|
|
11
|
+
} from "./server-a9xqj88f.js";
|
|
12
12
|
import"./server-qt1qqasc.js";
|
|
13
|
-
import"./server-
|
|
14
|
-
import"./server-prg55b7k.js";
|
|
15
|
-
import"./server-51779zs2.js";
|
|
13
|
+
import"./server-n1prf1g6.js";
|
|
16
14
|
import"./server-h0410h0v.js";
|
|
17
15
|
import"./server-2ra6pwf3.js";
|
|
18
|
-
import"./server-
|
|
16
|
+
import"./server-xj136kt8.js";
|
|
17
|
+
import"./server-51779zs2.js";
|
|
18
|
+
import"./server-beht37jy.js";
|
|
19
19
|
import"./server-f2xf5gcb.js";
|
|
20
20
|
import"./server-pavzsdc6.js";
|
|
21
21
|
export {
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
+
getSqliteDatabasePath2,
|
|
2
3
|
withSqliteBackgroundWriter2,
|
|
3
4
|
withoutSqliteTransformPass2
|
|
4
|
-
} from "./server-
|
|
5
|
+
} from "./server-beht37jy.js";
|
|
6
|
+
import {
|
|
7
|
+
runSessionWarmupWorker
|
|
8
|
+
} from "./server-xj136kt8.js";
|
|
5
9
|
import {
|
|
6
10
|
logSlowWriteTransaction
|
|
7
11
|
} from "./server-6pmqg9m4.js";
|
|
@@ -41,7 +45,7 @@ function getBackfillState(db) {
|
|
|
41
45
|
completed: row?.completed === 1
|
|
42
46
|
};
|
|
43
47
|
}
|
|
44
|
-
function
|
|
48
|
+
function recordMessageFtsRowid2(db, sessionId, messageOrdinal, ftsRowid, messageTimeMs = null) {
|
|
45
49
|
const numericRowid = Number(ftsRowid);
|
|
46
50
|
if (!Number.isSafeInteger(numericRowid) || numericRowid <= 0) {
|
|
47
51
|
throw new Error(`invalid message FTS rowid: ${String(ftsRowid)}`);
|
|
@@ -49,7 +53,7 @@ function recordMessageFtsRowid(db, sessionId, messageOrdinal, ftsRowid, messageT
|
|
|
49
53
|
const normalizedTime = typeof messageTimeMs === "number" && Number.isSafeInteger(messageTimeMs) && messageTimeMs >= 0 ? messageTimeMs : null;
|
|
50
54
|
getUpsertMapStatement(db).run(sessionId, messageOrdinal, numericRowid, normalizedTime);
|
|
51
55
|
}
|
|
52
|
-
function
|
|
56
|
+
function recordIndexedMessageTime2(db, sessionId, messageOrdinal, messageTimeMs) {
|
|
53
57
|
if (typeof messageTimeMs !== "number" || !Number.isSafeInteger(messageTimeMs) || messageTimeMs < 0) {
|
|
54
58
|
return;
|
|
55
59
|
}
|
|
@@ -91,7 +95,7 @@ function backfillMessageFtsRowidMapBatch(db, batchSize = MESSAGE_FTS_ROWID_MAP_B
|
|
|
91
95
|
watermarkRowid = ftsRowid;
|
|
92
96
|
}
|
|
93
97
|
if (typeof row.sessionId === "string" && Number.isSafeInteger(messageOrdinal) && messageOrdinal >= 0 && Number.isSafeInteger(ftsRowid) && ftsRowid > 0) {
|
|
94
|
-
|
|
98
|
+
recordMessageFtsRowid2(db, row.sessionId, messageOrdinal, ftsRowid);
|
|
95
99
|
}
|
|
96
100
|
}
|
|
97
101
|
const completed = rows.length < boundedBatchSize;
|
|
@@ -107,26 +111,33 @@ function backfillMessageFtsRowidMapBatch(db, batchSize = MESSAGE_FTS_ROWID_MAP_B
|
|
|
107
111
|
logSlowWriteTransaction("message_fts_rowid_backfill", transactionStartedAt);
|
|
108
112
|
return progress;
|
|
109
113
|
}
|
|
110
|
-
async function
|
|
114
|
+
async function runMessageFtsRowidMapBackfill2(db, signal) {
|
|
111
115
|
await new Promise((resolve) => setTimeout(resolve, 0));
|
|
112
|
-
|
|
116
|
+
while (!signal?.aborted) {
|
|
113
117
|
const progress = backfillMessageFtsRowidMapBatch(db);
|
|
114
118
|
if (progress.completed)
|
|
115
119
|
return;
|
|
116
120
|
await new Promise((resolve) => setTimeout(resolve, 0));
|
|
117
121
|
}
|
|
118
122
|
}
|
|
119
|
-
function
|
|
123
|
+
function startMessageFtsRowidMapBackfill2(db, signal) {
|
|
120
124
|
const active = activeBackfills.get(db);
|
|
121
125
|
if (active)
|
|
122
126
|
return active;
|
|
123
|
-
const
|
|
127
|
+
const path = getSqliteDatabasePath2(db);
|
|
128
|
+
const run = (path ? runSessionWarmupWorker({ path, sessionId: "", ftsRowidBackfill: true }, { signal }).then((result) => {
|
|
129
|
+
if (signal?.aborted)
|
|
130
|
+
return;
|
|
131
|
+
if (!("ftsRowidBackfill" in result)) {
|
|
132
|
+
throw Object.assign(new Error(`FTS rowid backfill unavailable: ${"failure" in result ? result.detail : "unexpected reply"}`), "failure" in result ? { code: result.code, errcode: result.errcode } : {});
|
|
133
|
+
}
|
|
134
|
+
}) : withoutSqliteTransformPass2(() => withSqliteBackgroundWriter2(() => runMessageFtsRowidMapBackfill2(db, signal)))).finally(() => {
|
|
124
135
|
activeBackfills.delete(db);
|
|
125
136
|
});
|
|
126
137
|
activeBackfills.set(db, run);
|
|
127
138
|
return run;
|
|
128
139
|
}
|
|
129
|
-
function
|
|
140
|
+
function messageFtsOrdinalRangeIsMapped2(db, sessionId, startOrdinal, endOrdinal) {
|
|
130
141
|
if (endOrdinal < startOrdinal)
|
|
131
142
|
return true;
|
|
132
143
|
if (getBackfillState(db).completed)
|
|
@@ -157,7 +168,10 @@ function messageFtsOrdinalRangeIsMapped(db, sessionId, startOrdinal, endOrdinal)
|
|
|
157
168
|
const ordinalCount = endOrdinal - startOrdinal + 1;
|
|
158
169
|
return row?.sourceOrdinalCount === ordinalCount && row.expectedMapCount === row.mappedCount;
|
|
159
170
|
}
|
|
160
|
-
function
|
|
171
|
+
function getMessageFtsRowidMapBackfillProgress2(db) {
|
|
172
|
+
return getBackfillState(db);
|
|
173
|
+
}
|
|
174
|
+
function deleteUnmappedMessageFtsRows2(db, sessionIds) {
|
|
161
175
|
if (sessionIds.length === 0)
|
|
162
176
|
return;
|
|
163
177
|
const state = getBackfillState(db);
|
|
@@ -168,4 +182,4 @@ function deleteUnmappedMessageFtsRows(db, sessionIds) {
|
|
|
168
182
|
WHERE rowid > ? AND session_id IN (${placeholders})`).run(state.watermarkRowid, ...sessionIds);
|
|
169
183
|
}
|
|
170
184
|
|
|
171
|
-
export {
|
|
185
|
+
export { recordMessageFtsRowid2, recordIndexedMessageTime2, runMessageFtsRowidMapBackfill2, startMessageFtsRowidMapBackfill2, messageFtsOrdinalRangeIsMapped2, getMessageFtsRowidMapBackfillProgress2, deleteUnmappedMessageFtsRows2 };
|
|
@@ -5517,18 +5517,18 @@ var OmpEntryObjectSchema = object({
|
|
|
5517
5517
|
}).strict();
|
|
5518
5518
|
var OmpEntrySchema = union([string(), OmpEntryObjectSchema]);
|
|
5519
5519
|
var OpenCodeHarnessBlockSchema = object({
|
|
5520
|
-
model: OcEntrySchema.optional().describe("Primary OpenCode model entry."),
|
|
5521
|
-
fallback_models: array(OcEntrySchema).optional().describe("Ordered fallback OpenCode entries.
|
|
5520
|
+
model: OcEntrySchema.optional().describe("Primary historian OpenCode model entry. When set, only this model and fallback_models are used; exhaustion reports failure, never the session model. When absent, OpenCode inherits the session model."),
|
|
5521
|
+
fallback_models: array(OcEntrySchema).optional().describe("Ordered historian fallback OpenCode entries. A configured primary never adds the session model after this list. Requires an array; legacy singleton values migrate to a one-element array."),
|
|
5522
5522
|
variant: string().optional().describe("OpenCode reasoning variant for the primary entry when it declares none. Fallback entries declare variants per-entry.")
|
|
5523
5523
|
}).strict().describe("Strict OpenCode model-resolution block. It accepts no Pi vocabulary.");
|
|
5524
5524
|
var PiHarnessBlockSchema = object({
|
|
5525
|
-
model: PiEntrySchema.optional().describe("Primary Pi model entry."),
|
|
5526
|
-
fallback_models: array(PiEntrySchema).optional().describe("Ordered fallback Pi entries.
|
|
5525
|
+
model: PiEntrySchema.optional().describe("Primary historian Pi model entry. When set, only this model and fallback_models are used; exhaustion reports failure, never the session model. When absent, Pi does not run the historian."),
|
|
5526
|
+
fallback_models: array(PiEntrySchema).optional().describe("Ordered historian fallback Pi entries. The session model is never appended. Requires an array; legacy singleton values migrate to a one-element array."),
|
|
5527
5527
|
thinking_level: PiThinkingLevelSchema.describe("Pi thinking level for the primary entry when it declares none. Fallback entries declare thinking levels per-entry.")
|
|
5528
5528
|
}).strict().describe("Strict Pi model-resolution block. It accepts no OpenCode vocabulary.");
|
|
5529
5529
|
var OmpHarnessBlockSchema = object({
|
|
5530
|
-
model: OmpEntrySchema.optional().describe("Primary OMP model entry."),
|
|
5531
|
-
fallback_models: array(OmpEntrySchema).optional().describe("Ordered fallback OMP entries."),
|
|
5530
|
+
model: OmpEntrySchema.optional().describe("Primary historian OMP model entry. When set, only this model and fallback_models are used; exhaustion reports failure, never the session model. An absent OMP block inherits the Pi block; a selected block without a model does not run the historian."),
|
|
5531
|
+
fallback_models: array(OmpEntrySchema).optional().describe("Ordered historian fallback OMP entries. The session model is never appended."),
|
|
5532
5532
|
thinking_level: OmpThinkingLevelSchema.describe("OMP thinking level for the primary entry when it declares none. Fallback entries declare thinking levels per-entry.")
|
|
5533
5533
|
}).strict().describe("Strict OMP model-resolution block. It accepts no OpenCode vocabulary.");
|
|
5534
5534
|
var OpenCodeTaskExecutionSchema = object({
|