@cortexkit/opencode-magic-context 0.49.86 → 0.49.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{announcement-fnyxaahs.js → announcement-4ynkaf0d.js} +2 -2
- package/dist/auto-search-worker.js +13 -7
- package/dist/chunk-embedding-write-worker.js +7 -7
- package/dist/{compartment-chunk-embedding-ymc9mtwv.js → compartment-chunk-embedding-fey2bsyf.js} +3 -1
- package/dist/{conflict-warning-hook-a0wrnzch.js → conflict-warning-hook-kbq6ppjf.js} +2 -2
- package/dist/{context-xesm7rj3.js → context-grdg1k2k.js} +132 -52
- package/dist/{derive-budgets-90869322.js → derive-budgets-hzzq71rm.js} +2 -2
- package/dist/{embedding-backfill-v6sw58m8.js → embedding-backfill-qjkaee9s.js} +8 -8
- package/dist/{v2/embedding-cache-mgyr73ef.js → embedding-cache-zn4r1c31.js} +5 -1
- package/dist/embedding-worker.js +2 -2
- package/dist/features/magic-context/compartment-chunk-embedding.d.ts +1 -0
- package/dist/features/magic-context/compartment-chunk-embedding.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/task-executor.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/token-budget.d.ts +8 -3
- package/dist/features/magic-context/dreamer/token-budget.d.ts.map +1 -1
- package/dist/features/magic-context/memory/embedding-cache.d.ts +7 -0
- package/dist/features/magic-context/memory/embedding-cache.d.ts.map +1 -1
- package/dist/features/magic-context/search.d.ts +6 -0
- package/dist/features/magic-context/search.d.ts.map +1 -1
- package/dist/features/magic-context/storage-db.d.ts.map +1 -1
- package/dist/features/magic-context/tool-definition-tokens.d.ts +2 -0
- package/dist/features/magic-context/tool-definition-tokens.d.ts.map +1 -1
- package/dist/hooks/magic-context/auto-search-worker-client.d.ts.map +1 -1
- package/dist/hooks/magic-context/auto-search-worker-probe.fixture.d.ts +2 -0
- package/dist/hooks/magic-context/auto-search-worker-probe.fixture.d.ts.map +1 -0
- package/dist/hooks/magic-context/compartment-runner-partial-recomp.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-runner-recomp-carry.d.ts +4 -0
- package/dist/hooks/magic-context/compartment-runner-recomp-carry.d.ts.map +1 -0
- package/dist/hooks/magic-context/compartment-runner-recomp.d.ts +8 -2
- package/dist/hooks/magic-context/compartment-runner-recomp.d.ts.map +1 -1
- package/dist/hooks/magic-context/dropped-input-guard.d.ts.map +1 -1
- package/dist/hooks/magic-context/emergency-fail-closed.d.ts +2 -0
- package/dist/hooks/magic-context/emergency-fail-closed.d.ts.map +1 -1
- package/dist/hooks/magic-context/recomp-orchestrator.d.ts +3 -5
- package/dist/hooks/magic-context/recomp-orchestrator.d.ts.map +1 -1
- package/dist/hooks/magic-context/send-session-notification.d.ts +11 -1
- package/dist/hooks/magic-context/send-session-notification.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-s8ks5nz4.js → index-2pdgy88n.js} +5 -5
- package/dist/{index-7j2zv9nm.js → index-2qsca7h7.js} +47 -11
- package/dist/{index-1bqkqde0.js → index-39rzef89.js} +9 -7
- package/dist/{index-snbpdpa3.js → index-3pdknr07.js} +4 -4
- package/dist/{index-c5tmzym6.js → index-5df2fw5b.js} +108 -13
- package/dist/{index-7svecf3m.js → index-5pgyqgmx.js} +1 -1
- package/dist/{index-xrnhxkz7.js → index-60wnwcwz.js} +1 -1
- package/dist/{index-k50xhjw1.js → index-60x5d68t.js} +1 -1
- package/dist/{index-4ntnt8ee.js → index-61knrt52.js} +1 -1
- package/dist/{index-g6hfh4h4.js → index-6zewd2n5.js} +14 -8
- package/dist/{index-70cv85b0.js → index-78t37mcq.js} +2 -2
- package/dist/{index-stx8zd81.js → index-83qd3n7s.js} +2 -2
- package/dist/{index-nny4gm06.js → index-9d3qgwq0.js} +2 -2
- package/dist/{index-jjvbk92s.js → index-9emdjcb5.js} +1 -1
- package/dist/{index-05bm2ndp.js → index-chpzb6xy.js} +1 -1
- package/dist/{index-2kf73btc.js → index-cr483vx6.js} +1 -1
- package/dist/{index-d0rtbv0f.js → index-dk3hy2a2.js} +21 -14
- package/dist/{index-gxdc95cp.js → index-g0mb2kb4.js} +585 -82
- package/dist/{index-w6v4dw5f.js → index-h9hybzr5.js} +5 -5
- package/dist/{index-1pf5qrx4.js → index-jzfsnbmm.js} +3 -3
- package/dist/{index-jrj95cce.js → index-m6dnydf8.js} +9 -2
- package/dist/{index-xccywqdj.js → index-mrjat4eq.js} +77 -14
- package/dist/{index-022w6314.js → index-n1ty0vd3.js} +116 -512
- package/dist/{index-ttk3trse.js → index-q7msfgwz.js} +311 -111
- package/dist/{index-e32b3x4n.js → index-qfcjrnpe.js} +7 -6
- package/dist/{v2/server-4dhv7mqz.js → index-qjwpqvnf.js} +48 -1
- package/dist/{index-3dtzyred.js → index-r4y0dczp.js} +1 -1
- package/dist/{index-4w5rx7de.js → index-tt0vs4x5.js} +2 -2
- package/dist/{index-k0tb2z28.js → index-w51n3576.js} +2 -2
- package/dist/{index-25nktq8n.js → index-wmb2mcdw.js} +7 -7
- package/dist/{index-zmqx48vt.js → index-xsqw8kbd.js} +1 -1
- package/dist/{index-fzgyvsb1.js → index-y14pawe1.js} +3 -0
- package/dist/{index-798s7c8s.js → index-zxhev8ze.js} +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +68 -59
- package/dist/{message-index-bounded-6fr624zf.js → message-index-bounded-r1qys471.js} +4 -4
- package/dist/migration-worker.js +5 -5
- package/dist/plugin/messages-transform.d.ts +3 -4
- package/dist/plugin/messages-transform.d.ts.map +1 -1
- package/dist/plugin/refusal-notice.d.ts +3 -0
- package/dist/plugin/refusal-notice.d.ts.map +1 -0
- package/dist/{project-embedding-registry-q80scexh.js → project-embedding-registry-m3fp1pa4.js} +7 -7
- package/dist/raw-ordinal-warmup-worker.js +4 -4
- package/dist/{read-session-chunk-6wedfths.js → read-session-chunk-xv9f0wgb.js} +3 -3
- package/dist/{recomp-orchestrator-7ecg8ryx.js → recomp-orchestrator-dgyb394j.js} +23 -23
- package/dist/{render-yqp7q79f.js → render-d014e603.js} +12 -12
- package/dist/{rpc-notifications-t9q0ynq7.js → rpc-notifications-ta2zsxpq.js} +1 -1
- package/dist/{search-bw22d7zc.js → search-9gceftb9.js} +18 -18
- package/dist/{search-archive-r4h96j2z.js → search-archive-gybn6q7s.js} +5 -5
- package/dist/{send-session-notification-7x518gew.js → send-session-notification-gzxz88vq.js} +1 -1
- package/dist/shared/assistant-message-extractor.d.ts +2 -0
- package/dist/shared/assistant-message-extractor.d.ts.map +1 -1
- package/dist/shared/prompt-async-transport.d.ts.map +1 -1
- package/dist/shared/recomp-outcome.d.ts +4 -0
- package/dist/shared/recomp-outcome.d.ts.map +1 -0
- package/dist/shared/rpc-notifications.d.ts +1 -1
- package/dist/shared/rpc-notifications.d.ts.map +1 -1
- package/dist/shared/storage-permissions.d.ts +16 -2
- package/dist/shared/storage-permissions.d.ts.map +1 -1
- package/dist/shared/user-facing-codes.d.ts +4 -1
- package/dist/shared/user-facing-codes.d.ts.map +1 -1
- package/dist/{storage-memory-e6a7mb0k.js → storage-memory-hhrvfw0x.js} +2 -2
- package/dist/{storage-tags-y2mrb8e6.js → storage-tags-f1ftvjpw.js} +2 -2
- package/dist/{transform-postprocess-phase-t99yj9vt.js → transform-postprocess-phase-34k1zwsy.js} +24 -24
- package/dist/v2/auto-search-worker.js +13 -7
- package/dist/v2/chunk-embedding-write-worker.js +7 -7
- package/dist/v2/{compartment-chunk-embedding-x6qw6mjk.js → compartment-chunk-embedding-knt2468v.js} +3 -1
- package/dist/v2/{context-k8sx1nyy.js → context-8bzydxfy.js} +227 -70
- package/dist/v2/{derive-budgets-ecjy1aqh.js → derive-budgets-hr4qqrnv.js} +3 -3
- package/dist/v2/{embedding-backfill-k8kqnwfq.js → embedding-backfill-0ar1bm97.js} +8 -8
- package/dist/{embedding-cache-mgyr73ef.js → v2/embedding-cache-zn4r1c31.js} +5 -1
- package/dist/v2/embedding-worker.js +2 -2
- package/dist/v2/fold/native-replay.d.ts +3 -1
- package/dist/v2/fold/native-replay.d.ts.map +1 -1
- package/dist/v2/hidden-child-record.d.ts +1 -0
- package/dist/v2/hidden-child-record.d.ts.map +1 -1
- package/dist/v2/hidden-completion.d.ts.map +1 -1
- package/dist/v2/hooks/context.d.ts.map +1 -1
- package/dist/v2/{message-index-bounded-jqy7283g.js → message-index-bounded-b07r9cjv.js} +4 -4
- package/dist/v2/migration-worker.js +5 -5
- package/dist/v2/{project-embedding-registry-2jp1antr.js → project-embedding-registry-gx2waee8.js} +7 -7
- package/dist/v2/raw-ordinal-warmup-worker.js +4 -4
- package/dist/v2/{read-session-chunk-n3nhfvd7.js → read-session-chunk-38wdy8nd.js} +3 -3
- package/dist/v2/{recomp-orchestrator-ssde9ft1.js → recomp-orchestrator-wq7gbkqa.js} +24 -24
- package/dist/v2/{render-fezgh7pa.js → render-2dan17xc.js} +12 -12
- package/dist/v2/{rpc-notifications-t9q0ynq7.js → rpc-notifications-ta2zsxpq.js} +1 -1
- package/dist/v2/{search-archive-zz1kza50.js → search-archive-89hdy0a2.js} +5 -5
- package/dist/v2/{search-m251amra.js → search-nyqykx7q.js} +17 -17
- package/dist/v2/{send-session-notification-p52rhjzy.js → send-session-notification-zazaxxpf.js} +1 -1
- package/dist/v2/{server-4wwwm2ya.js → server-09h2vyvs.js} +5 -5
- package/dist/v2/{server-r2es6zt7.js → server-0tv6kytx.js} +108 -13
- package/dist/v2/{server-rz4snd3x.js → server-1rrmxhd1.js} +1 -1
- package/dist/v2/{server-wdq85mxj.js → server-6250cxzs.js} +14 -8
- package/dist/v2/{server-xa8fefhw.js → server-96nm9vk4.js} +1 -1
- package/dist/v2/{server-jjvbk92s.js → server-9emdjcb5.js} +1 -1
- package/dist/v2/{server-ap81bk3c.js → server-9n2qgk29.js} +1 -1
- package/dist/v2/{server-ps6rz88g.js → server-a85j3kam.js} +2 -2
- package/dist/v2/{server-y31y6gws.js → server-add0j5n3.js} +9 -7
- package/dist/v2/{server-97w51d8n.js → server-b0a9h3ds.js} +3 -3
- package/dist/v2/{server-2k8tkbhz.js → server-c7awk5s2.js} +10 -4
- package/dist/v2/{server-hn8b7sfe.js → server-dgjqvpgd.js} +5 -5
- package/dist/v2/{server-fsw8kbng.js → server-dtcwkdqj.js} +314 -114
- package/dist/v2/{server-mbkwcwgw.js → server-f7tzvmzs.js} +2 -2
- package/dist/v2/{server-n5zr7190.js → server-fb5hvvfc.js} +77 -14
- package/dist/v2/{server-w7mpvkpj.js → server-fn4ky6mn.js} +1 -1
- package/dist/v2/{server-3p6b0qya.js → server-gqkdfdvw.js} +1 -1
- package/dist/v2/{server-cwtehwbb.js → server-j4jjtdc5.js} +1 -1
- package/dist/v2/{server-b93f0bqh.js → server-pjk9spbf.js} +1 -1
- package/dist/v2/{server-s15knz0w.js → server-pmws7we9.js} +1 -1
- package/dist/{index-4dhv7mqz.js → v2/server-qjwpqvnf.js} +48 -1
- package/dist/v2/{server-a2f1bhyj.js → server-stjy5dxv.js} +9 -2
- package/dist/v2/{server-ssg29wjg.js → server-ta4h0fch.js} +21 -14
- package/dist/v2/{server-e2k9mt86.js → server-tj65pgvg.js} +1 -1
- package/dist/v2/{server-brgandk4.js → server-vy0beygw.js} +2 -2
- package/dist/v2/{server-fzgyvsb1.js → server-y14pawe1.js} +3 -0
- package/dist/v2/{server-8pdfmc27.js → server-y17r5ryz.js} +4 -4
- package/dist/v2/{server-sxfbjdye.js → server-yx0nyj1q.js} +2 -2
- package/dist/v2/server.js +6 -6
- package/dist/v2/{storage-memory-e6a7mb0k.js → storage-memory-hhrvfw0x.js} +2 -2
- package/dist/v2/{storage-tags-xq81zgt2.js → storage-tags-pmw33chf.js} +2 -2
- package/dist/v2/{v2-archive-reader-e2w39c3p.js → v2-archive-reader-gh1jghf7.js} +1 -1
- package/dist/v2/{wrapup-orchestrator-eg5b1p89.js → wrapup-orchestrator-2h7ayss9.js} +24 -24
- package/dist/{v2-archive-reader-8dsngf2j.js → v2-archive-reader-8158kyfd.js} +1 -1
- package/dist/{wrapup-orchestrator-nmk6yf7f.js → wrapup-orchestrator-ct59br0c.js} +24 -24
- package/package.json +1 -1
- package/src/shared/assistant-message-extractor.test.ts +22 -0
- package/src/shared/assistant-message-extractor.ts +13 -0
- package/src/shared/model-suggestion-retry.test.ts +43 -12
- package/src/shared/prompt-async-transport.test.ts +275 -8
- package/src/shared/prompt-async-transport.ts +41 -2
- package/src/shared/recomp-outcome.ts +8 -0
- package/src/shared/reusable-worker.fixture.ts +15 -3
- package/src/shared/reusable-worker.test.ts +20 -10
- package/src/shared/rpc-notifications.ts +4 -1
- package/src/shared/sqlite-foreground-wait.test.ts +2 -2
- package/src/shared/startup-maintenance-policy.test.ts +4 -2
- package/src/shared/storage-permissions-startup.test.ts +296 -6
- package/src/shared/storage-permissions.ts +143 -18
- package/src/shared/user-facing-codes.ts +5 -2
- package/src/tui/dialogs/status-dialog.tsx +3 -0
- package/src/tui/slots/sidebar-content.tsx +6 -2
- package/src/tui-compiled/dialogs/status-dialog.tsx +12 -0
- package/src/tui-compiled/slots/sidebar-content.tsx +7 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages-transform.d.ts","sourceRoot":"","sources":["../../src/plugin/messages-transform.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,oBAAoB,
|
|
1
|
+
{"version":3,"file":"messages-transform.d.ts","sourceRoot":"","sources":["../../src/plugin/messages-transform.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,oBAAoB,EAK5B,MAAM,6CAA6C,CAAC;AAyBrD,OAAO,EAAuC,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAGjG,OAAO,EAEH,KAAK,wBAAwB,EAEhC,MAAM,iDAAiD,CAAC;AAWzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6CAA6C,CAAC;AAW/E,eAAO,MAAM,gCAAgC,qIACoF,CAAC;AAElI,qBAAa,2BAA4B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,MAAM,0BAA0B,CAAC;IACnD,UAAU,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAC;IACzC,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC;;;;;;;;OAQG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,SAAS,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAClF,oFAAoF;IACpF,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,WAAW,EAAE,KAAK,OAAO,CAAC;IAClD,yFAAyF;IACzF,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,qBAAqB,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACpC,gBAAgB,CAAC,EAAE,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IACpD;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,wBAAwB,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1E;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CAC1B,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,uBAAuB,KAAK,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAuWjG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refusal-notice.d.ts","sourceRoot":"","sources":["../../src/plugin/refusal-notice.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,wBAAsB,mBAAmB,CACrC,MAAM,EAAE,aAAa,CAAC,QAAQ,CAAC,EAC/B,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,KAAK,GACf,OAAO,CAAC,IAAI,CAAC,CA2Bf"}
|
package/dist/{project-embedding-registry-q80scexh.js → project-embedding-registry-m3fp1pa4.js}
RENAMED
|
@@ -38,22 +38,22 @@ import {
|
|
|
38
38
|
sweepAllRegisteredProjects2,
|
|
39
39
|
_setTestProviderFactoryForProject2,
|
|
40
40
|
_resetProjectEmbeddingRegistryForTests2
|
|
41
|
-
} from "./index-
|
|
42
|
-
import"./index-
|
|
41
|
+
} from "./index-2pdgy88n.js";
|
|
42
|
+
import"./index-qjwpqvnf.js";
|
|
43
43
|
import"./index-2amn2s73.js";
|
|
44
44
|
import"./index-qt1qqasc.js";
|
|
45
|
-
import"./index-
|
|
45
|
+
import"./index-60x5d68t.js";
|
|
46
46
|
import"./index-6nqz8hsz.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
47
|
+
import"./index-r4y0dczp.js";
|
|
48
|
+
import"./index-3pdknr07.js";
|
|
49
49
|
import"./index-pxnzyvjc.js";
|
|
50
|
-
import"./index-
|
|
50
|
+
import"./index-5pgyqgmx.js";
|
|
51
51
|
import"./index-s32f8y67.js";
|
|
52
52
|
import"./index-q7q6qp1f.js";
|
|
53
53
|
import"./index-96ztjvkn.js";
|
|
54
54
|
import"./index-v0p37hm2.js";
|
|
55
55
|
import"./index-m0pwswv9.js";
|
|
56
|
-
import"./index-
|
|
56
|
+
import"./index-5df2fw5b.js";
|
|
57
57
|
import"./index-gqf8r04r.js";
|
|
58
58
|
import"./index-5vsk2cpp.js";
|
|
59
59
|
import"./index-gzy5w8ya.js";
|
|
@@ -19,7 +19,7 @@ serveWorkerJobs(async (input, port) => {
|
|
|
19
19
|
await main();
|
|
20
20
|
async function main() {
|
|
21
21
|
if (input.v2ArchiveReader) {
|
|
22
|
-
const { serveV2ArchiveReads } = await import("./v2-archive-reader-
|
|
22
|
+
const { serveV2ArchiveReads } = await import("./v2-archive-reader-8158kyfd.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-gybn6q7s.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-r1qys471.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-f1ftvjpw.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-2qsca7h7.js";
|
|
42
|
+
import"./index-60wnwcwz.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-m6dnydf8.js";
|
|
47
47
|
import"./index-q7q6qp1f.js";
|
|
48
48
|
import"./index-96ztjvkn.js";
|
|
49
49
|
import"./index-v0p37hm2.js";
|
|
@@ -7,48 +7,48 @@ import {
|
|
|
7
7
|
setRecompTerminal2,
|
|
8
8
|
buildRecompDeps2,
|
|
9
9
|
runManagedRecomp2
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
10
|
+
} from "./index-qfcjrnpe.js";
|
|
11
|
+
import"./index-q7msfgwz.js";
|
|
12
12
|
import"./index-832w615x.js";
|
|
13
13
|
import"./index-sd3egckz.js";
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
14
|
+
import"./index-39rzef89.js";
|
|
15
|
+
import"./index-w51n3576.js";
|
|
16
|
+
import"./index-9emdjcb5.js";
|
|
17
|
+
import"./index-2pdgy88n.js";
|
|
18
|
+
import"./index-qjwpqvnf.js";
|
|
19
|
+
import"./index-h9hybzr5.js";
|
|
20
|
+
import"./index-61knrt52.js";
|
|
21
|
+
import"./index-chpzb6xy.js";
|
|
22
22
|
import"./index-2amn2s73.js";
|
|
23
23
|
import"./index-1y4y98r1.js";
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
24
|
+
import"./index-xsqw8kbd.js";
|
|
25
|
+
import"./index-6zewd2n5.js";
|
|
26
26
|
import"./index-qt1qqasc.js";
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
27
|
+
import"./index-2qsca7h7.js";
|
|
28
|
+
import"./index-60wnwcwz.js";
|
|
29
29
|
import"./index-1zx87sdm.js";
|
|
30
30
|
import"./index-x40zr813.js";
|
|
31
|
-
import"./index-
|
|
31
|
+
import"./index-y14pawe1.js";
|
|
32
32
|
import"./index-e6ncz7a6.js";
|
|
33
|
-
import"./index-
|
|
33
|
+
import"./index-60x5d68t.js";
|
|
34
34
|
import"./index-6nqz8hsz.js";
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
35
|
+
import"./index-r4y0dczp.js";
|
|
36
|
+
import"./index-3pdknr07.js";
|
|
37
37
|
import"./index-pxnzyvjc.js";
|
|
38
|
-
import"./index-
|
|
38
|
+
import"./index-mrjat4eq.js";
|
|
39
39
|
import"./index-fb3zxn06.js";
|
|
40
|
-
import"./index-
|
|
40
|
+
import"./index-tt0vs4x5.js";
|
|
41
41
|
import"./index-fr0wbhdn.js";
|
|
42
|
-
import"./index-
|
|
42
|
+
import"./index-5pgyqgmx.js";
|
|
43
43
|
import"./index-s32f8y67.js";
|
|
44
44
|
import"./index-wh9fxds5.js";
|
|
45
|
-
import"./index-
|
|
45
|
+
import"./index-m6dnydf8.js";
|
|
46
46
|
import"./index-q7q6qp1f.js";
|
|
47
47
|
import"./index-96ztjvkn.js";
|
|
48
48
|
import"./index-v0p37hm2.js";
|
|
49
49
|
import"./index-58e3y90n.js";
|
|
50
50
|
import"./index-m0pwswv9.js";
|
|
51
|
-
import"./index-
|
|
51
|
+
import"./index-5df2fw5b.js";
|
|
52
52
|
import"./index-gqf8r04r.js";
|
|
53
53
|
import"./index-5vsk2cpp.js";
|
|
54
54
|
import"./index-gzy5w8ya.js";
|
|
@@ -2,33 +2,33 @@ 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-78t37mcq.js";
|
|
6
|
+
import"./index-h9hybzr5.js";
|
|
7
|
+
import"./index-61knrt52.js";
|
|
8
|
+
import"./index-chpzb6xy.js";
|
|
9
9
|
import"./index-2amn2s73.js";
|
|
10
10
|
import"./index-1y4y98r1.js";
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
11
|
+
import"./index-2qsca7h7.js";
|
|
12
|
+
import"./index-60wnwcwz.js";
|
|
13
13
|
import"./index-1zx87sdm.js";
|
|
14
14
|
import"./index-x40zr813.js";
|
|
15
15
|
import"./index-6nqz8hsz.js";
|
|
16
|
-
import"./index-
|
|
16
|
+
import"./index-3pdknr07.js";
|
|
17
17
|
import"./index-pxnzyvjc.js";
|
|
18
|
-
import"./index-
|
|
18
|
+
import"./index-mrjat4eq.js";
|
|
19
19
|
import"./index-fb3zxn06.js";
|
|
20
|
-
import"./index-
|
|
20
|
+
import"./index-tt0vs4x5.js";
|
|
21
21
|
import"./index-fr0wbhdn.js";
|
|
22
|
-
import"./index-
|
|
22
|
+
import"./index-5pgyqgmx.js";
|
|
23
23
|
import"./index-s32f8y67.js";
|
|
24
24
|
import"./index-wh9fxds5.js";
|
|
25
|
-
import"./index-
|
|
25
|
+
import"./index-m6dnydf8.js";
|
|
26
26
|
import"./index-q7q6qp1f.js";
|
|
27
27
|
import"./index-96ztjvkn.js";
|
|
28
28
|
import"./index-v0p37hm2.js";
|
|
29
29
|
import"./index-58e3y90n.js";
|
|
30
30
|
import"./index-m0pwswv9.js";
|
|
31
|
-
import"./index-
|
|
31
|
+
import"./index-5df2fw5b.js";
|
|
32
32
|
import"./index-gqf8r04r.js";
|
|
33
33
|
import"./index-5vsk2cpp.js";
|
|
34
34
|
import"./index-gzy5w8ya.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
__resetNotificationStateForTests2,
|
|
7
7
|
drainNotifications2,
|
|
8
8
|
isTuiConnected2
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-y14pawe1.js";
|
|
10
10
|
export {
|
|
11
11
|
__resetNotificationStateForTests2 as __resetNotificationStateForTests,
|
|
12
12
|
acknowledgeNotifications2 as acknowledgeNotifications,
|
|
@@ -5,38 +5,38 @@ import {
|
|
|
5
5
|
resolveMemoriesByIdsForSearch2,
|
|
6
6
|
unifiedSearch2,
|
|
7
7
|
formatSearchResults2
|
|
8
|
-
} from "./index-
|
|
9
|
-
import"./index-
|
|
8
|
+
} from "./index-dk3hy2a2.js";
|
|
9
|
+
import"./index-zxhev8ze.js";
|
|
10
10
|
import"./index-52x68mj4.js";
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
11
|
+
import"./index-39rzef89.js";
|
|
12
|
+
import"./index-w51n3576.js";
|
|
13
|
+
import"./index-9emdjcb5.js";
|
|
14
|
+
import"./index-2pdgy88n.js";
|
|
15
|
+
import"./index-qjwpqvnf.js";
|
|
16
|
+
import"./index-61knrt52.js";
|
|
17
|
+
import"./index-chpzb6xy.js";
|
|
18
18
|
import"./index-2amn2s73.js";
|
|
19
19
|
import"./index-qt1qqasc.js";
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
20
|
+
import"./index-2qsca7h7.js";
|
|
21
|
+
import"./index-60wnwcwz.js";
|
|
22
22
|
import"./index-1zx87sdm.js";
|
|
23
23
|
import"./index-x40zr813.js";
|
|
24
|
-
import"./index-
|
|
24
|
+
import"./index-60x5d68t.js";
|
|
25
25
|
import"./index-6nqz8hsz.js";
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
import"./index-r4y0dczp.js";
|
|
27
|
+
import"./index-3pdknr07.js";
|
|
28
28
|
import"./index-pxnzyvjc.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-tt0vs4x5.js";
|
|
30
30
|
import"./index-fr0wbhdn.js";
|
|
31
|
-
import"./index-
|
|
31
|
+
import"./index-5pgyqgmx.js";
|
|
32
32
|
import"./index-s32f8y67.js";
|
|
33
|
-
import"./index-
|
|
33
|
+
import"./index-m6dnydf8.js";
|
|
34
34
|
import"./index-q7q6qp1f.js";
|
|
35
35
|
import"./index-96ztjvkn.js";
|
|
36
36
|
import"./index-v0p37hm2.js";
|
|
37
37
|
import"./index-58e3y90n.js";
|
|
38
38
|
import"./index-m0pwswv9.js";
|
|
39
|
-
import"./index-
|
|
39
|
+
import"./index-5df2fw5b.js";
|
|
40
40
|
import"./index-gqf8r04r.js";
|
|
41
41
|
import"./index-5vsk2cpp.js";
|
|
42
42
|
import"./index-gzy5w8ya.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderSearchArchive2,
|
|
3
3
|
renderSearchArchiveOffThread2
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
4
|
+
} from "./index-9d3qgwq0.js";
|
|
5
|
+
import"./index-jzfsnbmm.js";
|
|
6
6
|
import"./index-52x68mj4.js";
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
import"./index-2qsca7h7.js";
|
|
8
|
+
import"./index-60wnwcwz.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-m6dnydf8.js";
|
|
13
13
|
import"./index-q7q6qp1f.js";
|
|
14
14
|
import"./index-96ztjvkn.js";
|
|
15
15
|
import"./index-v0p37hm2.js";
|
|
@@ -6,6 +6,8 @@ export declare function extractLatestAssistantText(messages: unknown): string |
|
|
|
6
6
|
/** Return an error persisted on the newest assistant row, including its settlement reason. */
|
|
7
7
|
export declare function extractLatestAssistantFailure(messages: unknown): AssistantFailure | null;
|
|
8
8
|
export declare function hasLengthCappedOutput(value: unknown): boolean;
|
|
9
|
+
/** A reused child may still have a capped answer from an earlier turn or model. */
|
|
10
|
+
export declare function isLatestAssistantLengthCapped(messages: unknown): boolean;
|
|
9
11
|
/** Settlement metadata for diagnostics, never private reasoning as task output. */
|
|
10
12
|
export declare function describeAssistantSettlement(output: unknown): string;
|
|
11
13
|
/** Describe persisted host/provider errors without losing structured status or message fields. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assistant-message-extractor.d.ts","sourceRoot":"","sources":["../../src/shared/assistant-message-extractor.ts"],"names":[],"mappings":"AAmBA,MAAM,WAAW,gBAAgB;IAC7B,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AA8DD,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAS3E;AAED,8FAA8F;AAC9F,wBAAgB,6BAA6B,CAAC,QAAQ,EAAE,OAAO,GAAG,gBAAgB,GAAG,IAAI,CAOxF;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAuB7D;AAED,mFAAmF;AACnF,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,CAOnE;AAED,kGAAkG;AAClG,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAc7D"}
|
|
1
|
+
{"version":3,"file":"assistant-message-extractor.d.ts","sourceRoot":"","sources":["../../src/shared/assistant-message-extractor.ts"],"names":[],"mappings":"AAmBA,MAAM,WAAW,gBAAgB;IAC7B,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AA8DD,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAS3E;AAED,8FAA8F;AAC9F,wBAAgB,6BAA6B,CAAC,QAAQ,EAAE,OAAO,GAAG,gBAAgB,GAAG,IAAI,CAOxF;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAuB7D;AAED,mFAAmF;AACnF,wBAAgB,6B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AED,gFAAgF;AAChF,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAG1D;AASD,oFAAoF;AACpF,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAO3D;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CACtC,MAAM,EAAE,MAAM,EACd,cAAc,EAAE,MAAM,EACtB,OAAO,GAAE,sBAA2B,GACrC,eAAe,GAAG,SAAS,CA+C7B;AAwMD,wBAAsB,yBAAyB,CAC3C,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,UAAU,EACnB,OAAO,GAAE,sBAA2B,GACrC,OAAO,CAAC,IAAI,CAAC,CA2Pf"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const RECOMP_PAUSED_HEADING = "## Magic Recomp \u2014 Paused";
|
|
2
|
+
/** Read the text after the paused-rebuild heading, for the sidebar and status dialog. */
|
|
3
|
+
export declare function pausedRecompReason(message: string | undefined): string | null;
|
|
4
|
+
//# sourceMappingURL=recomp-outcome.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recomp-outcome.d.ts","sourceRoot":"","sources":["../../src/shared/recomp-outcome.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,kCAA6B,CAAC;AAEhE,yFAAyF;AACzF,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAI7E"}
|
|
@@ -29,7 +29,7 @@ export interface NotificationSink {
|
|
|
29
29
|
/** Register a live TUI sink. Returns an unregister fn (call on socket close). */
|
|
30
30
|
export declare function registerNotificationSink(sink: NotificationSink): () => void;
|
|
31
31
|
/** Display-only notices go to the terminal showing the session, never to the replay queue. */
|
|
32
|
-
export declare function pushLiveNotification(type: string, payload: Record<string, unknown>, sessionId: string):
|
|
32
|
+
export declare function pushLiveNotification(type: string, payload: Record<string, unknown>, sessionId: string): boolean;
|
|
33
33
|
/** Push a notification to the TUI. Fans out to any live WS sink immediately and
|
|
34
34
|
* normally enqueues it so a TUI that is momentarily disconnected (reconnecting, or
|
|
35
35
|
* not yet connected) still receives it on its next hello via the backlog drain.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpc-notifications.d.ts","sourceRoot":"","sources":["../../src/shared/rpc-notifications.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,MAAM,WAAW,eAAe;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAKD;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB;IAC7B,kEAAkE;IAClE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mFAAmF;IACnF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,6DAA6D;IAC7D,IAAI,EAAE,CAAC,YAAY,EAAE,eAAe,KAAK,IAAI,CAAC;CACjD;AAYD,iFAAiF;AACjF,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,gBAAgB,GAAG,MAAM,IAAI,CAK3E;AAUD,8FAA8F;AAC9F,wBAAgB,oBAAoB,CAChC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAChC,SAAS,EAAE,MAAM,GAClB,
|
|
1
|
+
{"version":3,"file":"rpc-notifications.d.ts","sourceRoot":"","sources":["../../src/shared/rpc-notifications.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,MAAM,WAAW,eAAe;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAKD;;;;;GAKG;A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AAM,GAAG,OAAO,CAQ1D"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { WriteStream } from "node:fs";
|
|
2
2
|
import type { FileHandle } from "node:fs/promises";
|
|
3
|
+
/** Top-level names that Magic Context creates in its data folder. */
|
|
4
|
+
export declare const MAGIC_CONTEXT_STORAGE_ENTRIES: readonly (string | RegExp)[];
|
|
3
5
|
export declare function setStoragePrivatePermissionEnforcement(enforce: boolean): void;
|
|
4
6
|
export declare function shouldEnforcePrivateStoragePermissions(): boolean;
|
|
5
7
|
/** Test-only reset for suites that exercise both permission policies in one process. */
|
|
@@ -29,9 +31,21 @@ export declare function writeStorageFileAsync(filePath: string, content: string
|
|
|
29
31
|
export declare function writeStorageFileHandleAsync(handle: FileHandle, content: string): Promise<void>;
|
|
30
32
|
export declare function createStorageWriteStream(filePath: string, forcePrivate?: boolean): WriteStream;
|
|
31
33
|
export declare function createStorageFileHandleAsync(filePath: string, flags: string, forcePrivate?: boolean): Promise<FileHandle>;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
+
type LinkedRootSkip = "filesystem-root" | "home-folder" | "mount-point" | number;
|
|
35
|
+
type StoragePermissionCheck = {
|
|
34
36
|
tightened: number;
|
|
35
37
|
failures: number;
|
|
38
|
+
rootLink?: {
|
|
39
|
+
path: string;
|
|
40
|
+
target: string;
|
|
41
|
+
skipped?: LinkedRootSkip;
|
|
42
|
+
} | {
|
|
43
|
+
path: string;
|
|
44
|
+
failure: string;
|
|
45
|
+
nonDirectoryTarget?: string;
|
|
46
|
+
};
|
|
36
47
|
};
|
|
48
|
+
/** Tighten existing entries during startup. Follow a linked storage root, but no links inside it. */
|
|
49
|
+
export declare function tightenStorageTreeSync(directory: string, dbPath?: string): StoragePermissionCheck;
|
|
50
|
+
export {};
|
|
37
51
|
//# sourceMappingURL=storage-permissions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storage-permissions.d.ts","sourceRoot":"","sources":["../../src/shared/storage-permissions.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAS,WAAW,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"storage-permissions.d.ts","sourceRoot":"","sources":["../../src/shared/storage-permissions.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAS,WAAW,EAAE,MAAM,SAAS,CAAC;AAsBlD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAanD,qEAAqE;AACrE,eAAO,MAAM,6BAA6B,EAAE,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC,EA+BrE,CAAC;AA+BF,wBAAgB,sCAAsC,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAY7E;AAED,wBAAgB,sCAAsC,IAAI,OAAO,CAEhE;AAED,wFAAwF;AACxF,wBAAgB,kDAAkD,IAAI,IAAI,CAEzE;AAED,gFAAgF;AAChF,wBAAgB,0BAA0B,CACtC,SAAS,EAAE,MAAM,EACjB,YAAY,UAAQ,EACpB,SAAS,UAAO,GACjB,IAAI,CAMN;AAED,kGAAkG;AAClG,wBAAgB,iCAAiC,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CASzE;AAED,iFAAiF;AACjF,wBAAgB,oBAAoB,CAChC,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,GAAG,UAAU,EAC5B,OAAO,GAAE;IAAE,QAAQ,CAAC,EAAE,cAAc,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,YAAY,CAAC,EAAE,OAAO,CAAA;CAAO,GACnF,IAAI,CAON;AAED,2FAA2F;AAC3F,wBAAgB,0BAA0B,CACtC,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,GAAG,UAAU,EAC5B,YAAY,UAAQ,GACrB,IAAI,CAUN;AAED,6EAA6E;AAC7E,wBAAgB,wBAAwB,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAOhE;AAED;;GAEG;AACH,wBAAgB,iCAAiC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AE,MAAM,CAAC;QAAC,kBAAkB,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CACxE,CAAC;AAEF,qGAAqG;AACrG,wBAAgB,sBAAsB,CAClC,SAAS,EAAE,MAAM,EACjB,MAAM,SAAgC,GACvC,sBAAsB,CA4NxB"}
|
|
@@ -279,7 +279,10 @@ export declare const USER_FACING_FAILURES: {
|
|
|
279
279
|
};
|
|
280
280
|
export type UserFacingFailureKey = keyof typeof USER_FACING_FAILURES;
|
|
281
281
|
export type UserFacingTextStyle = "markdown" | "plain";
|
|
282
|
-
export declare function renderUserFacingFailure(key: UserFacingFailureKey, style?: UserFacingTextStyle
|
|
282
|
+
export declare function renderUserFacingFailure(key: UserFacingFailureKey, style?: UserFacingTextStyle, overrides?: {
|
|
283
|
+
sentence?: string;
|
|
284
|
+
action?: string;
|
|
285
|
+
}): string;
|
|
283
286
|
export declare function userFacingFailureCode(key: UserFacingFailureKey): string;
|
|
284
287
|
export type CapabilityRefusal = "memory_write" | "memory_access" | "note_change" | "note_access" | "context_cleanup" | "partial_history" | "smart_note_condition" | "history_compression" | "context_service";
|
|
285
288
|
export declare function renderCapabilityRefusal(capability: CapabilityRefusal): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-facing-codes.d.ts","sourceRoot":"","sources":["../../src/shared/user-facing-codes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oDAAoD,CAAC;AAChG,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAGnE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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EAAE,oBAAoB,GAAG,MAAM,CAEvE;AAED,MAAM,MAAM,iBAAiB,GACvB,cAAc,GACd,eAAe,GACf,aAAa,GACb,aAAa,GACb,iBAAiB,GACjB,iBAAiB,GACjB,sBAAsB,GACtB,qBAAqB,GACrB,iBAAiB,CAAC;AAcxB,wBAAgB,uBAAuB,CAAC,UAAU,EAAE,iBAAiB,GAAG,MAAM,CAE7E;AAED,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,iBAAiB,GAAG,MAAM,CAE3E;AA6BD,wBAAgB,kBAAkB,CAC9B,YAAY,EAAE,kBAAkB,EAChC,KAAK,GAAE,mBAAgC,EACvC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,GAC9B,MAAM,CAKR;AAED,wBAAgB,gBAAgB,CAAC,YAAY,EAAE,kBAAkB,GAAG,MAAM,CAEzE;AAED,wBAAgB,sBAAsB,CAClC,YAAY,EAAE,qBAAqB,EACnC,KAAK,GAAE,mBAAgC,GACxC,MAAM,CAER;AAED,wBAAgB,oBAAoB,CAAC,YAAY,EAAE,qBAAqB,GAAG,MAAM,CAEhF"}
|
|
@@ -31,8 +31,8 @@ import {
|
|
|
31
31
|
deleteMemory2,
|
|
32
32
|
getMemoryCount2,
|
|
33
33
|
getMemoryCountsByStatus2
|
|
34
|
-
} from "./index-
|
|
35
|
-
import"./index-
|
|
34
|
+
} from "./index-9emdjcb5.js";
|
|
35
|
+
import"./index-qjwpqvnf.js";
|
|
36
36
|
import"./index-fr0wbhdn.js";
|
|
37
37
|
import"./index-gzy5w8ya.js";
|
|
38
38
|
export {
|
|
@@ -64,10 +64,10 @@ import {
|
|
|
64
64
|
adoptNullOwnerToolTag2,
|
|
65
65
|
getCandidateToolOwners2,
|
|
66
66
|
pickNearestPriorOwner2
|
|
67
|
-
} from "./index-
|
|
67
|
+
} from "./index-60wnwcwz.js";
|
|
68
68
|
import"./index-1zx87sdm.js";
|
|
69
69
|
import"./index-6nqz8hsz.js";
|
|
70
|
-
import"./index-
|
|
70
|
+
import"./index-m6dnydf8.js";
|
|
71
71
|
import"./index-m0pwswv9.js";
|
|
72
72
|
import"./index-5vsk2cpp.js";
|
|
73
73
|
import"./index-gzy5w8ya.js";
|
package/dist/{transform-postprocess-phase-t99yj9vt.js → transform-postprocess-phase-34k1zwsy.js}
RENAMED
|
@@ -19,49 +19,49 @@ import {
|
|
|
19
19
|
finalizeMessageRepresentation2,
|
|
20
20
|
runPostTransformPhase2,
|
|
21
21
|
checkM0MutationDriftAndSignal2
|
|
22
|
-
} from "./index-
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
22
|
+
} from "./index-g0mb2kb4.js";
|
|
23
|
+
import"./index-zxhev8ze.js";
|
|
24
|
+
import"./index-q7msfgwz.js";
|
|
25
25
|
import"./index-832w615x.js";
|
|
26
26
|
import"./index-sd3egckz.js";
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
27
|
+
import"./index-39rzef89.js";
|
|
28
|
+
import"./index-w51n3576.js";
|
|
29
|
+
import"./index-9emdjcb5.js";
|
|
30
|
+
import"./index-2pdgy88n.js";
|
|
31
|
+
import"./index-qjwpqvnf.js";
|
|
32
|
+
import"./index-h9hybzr5.js";
|
|
33
|
+
import"./index-61knrt52.js";
|
|
34
|
+
import"./index-chpzb6xy.js";
|
|
35
35
|
import"./index-2amn2s73.js";
|
|
36
36
|
import"./index-1y4y98r1.js";
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
37
|
+
import"./index-xsqw8kbd.js";
|
|
38
|
+
import"./index-6zewd2n5.js";
|
|
39
39
|
import"./index-qt1qqasc.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
40
|
+
import"./index-2qsca7h7.js";
|
|
41
|
+
import"./index-60wnwcwz.js";
|
|
42
42
|
import"./index-1zx87sdm.js";
|
|
43
43
|
import"./index-x40zr813.js";
|
|
44
|
-
import"./index-
|
|
44
|
+
import"./index-y14pawe1.js";
|
|
45
45
|
import"./index-e6ncz7a6.js";
|
|
46
|
-
import"./index-
|
|
46
|
+
import"./index-60x5d68t.js";
|
|
47
47
|
import"./index-6nqz8hsz.js";
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
48
|
+
import"./index-r4y0dczp.js";
|
|
49
|
+
import"./index-3pdknr07.js";
|
|
50
50
|
import"./index-pxnzyvjc.js";
|
|
51
|
-
import"./index-
|
|
51
|
+
import"./index-mrjat4eq.js";
|
|
52
52
|
import"./index-fb3zxn06.js";
|
|
53
|
-
import"./index-
|
|
53
|
+
import"./index-tt0vs4x5.js";
|
|
54
54
|
import"./index-fr0wbhdn.js";
|
|
55
|
-
import"./index-
|
|
55
|
+
import"./index-5pgyqgmx.js";
|
|
56
56
|
import"./index-s32f8y67.js";
|
|
57
57
|
import"./index-wh9fxds5.js";
|
|
58
|
-
import"./index-
|
|
58
|
+
import"./index-m6dnydf8.js";
|
|
59
59
|
import"./index-q7q6qp1f.js";
|
|
60
60
|
import"./index-96ztjvkn.js";
|
|
61
61
|
import"./index-v0p37hm2.js";
|
|
62
62
|
import"./index-58e3y90n.js";
|
|
63
63
|
import"./index-m0pwswv9.js";
|
|
64
|
-
import"./index-
|
|
64
|
+
import"./index-5df2fw5b.js";
|
|
65
65
|
import"./index-gqf8r04r.js";
|
|
66
66
|
import"./index-5vsk2cpp.js";
|
|
67
67
|
import"./index-gzy5w8ya.js";
|
|
@@ -17,7 +17,7 @@ serveWorkerJobs(async (initial, port) => {
|
|
|
17
17
|
}
|
|
18
18
|
const [
|
|
19
19
|
{ ensureMemoryEmbeddings },
|
|
20
|
-
{ getProjectEmbeddings },
|
|
20
|
+
{ getProjectEmbeddings, keepWorkerMemoryEmbeddings, maintainKeptWorkerMemoryEmbeddings },
|
|
21
21
|
{ getMemoriesByProject },
|
|
22
22
|
{ installProjectEmbeddingSearchBridge },
|
|
23
23
|
{ searchMessageHistory, unifiedSearch },
|
|
@@ -27,12 +27,12 @@ serveWorkerJobs(async (initial, port) => {
|
|
|
27
27
|
{ Database, registerSqliteDiagnosticSink },
|
|
28
28
|
{ log }
|
|
29
29
|
] = await Promise.all([
|
|
30
|
-
import("./embedding-backfill-
|
|
31
|
-
import("./embedding-cache-
|
|
32
|
-
import("./storage-memory-
|
|
33
|
-
import("./project-embedding-registry-
|
|
34
|
-
import("./search-
|
|
35
|
-
import("./compartment-chunk-embedding-
|
|
30
|
+
import("./embedding-backfill-0ar1bm97.js"),
|
|
31
|
+
import("./embedding-cache-zn4r1c31.js"),
|
|
32
|
+
import("./storage-memory-hhrvfw0x.js"),
|
|
33
|
+
import("./project-embedding-registry-gx2waee8.js"),
|
|
34
|
+
import("./search-nyqykx7q.js"),
|
|
35
|
+
import("./compartment-chunk-embedding-knt2468v.js"),
|
|
36
36
|
import("./embedding-activity-g1dhes6g.js"),
|
|
37
37
|
import("./harness-e4avh192.js"),
|
|
38
38
|
import("./sqlite-zdgm52sv.js"),
|
|
@@ -64,6 +64,8 @@ serveWorkerJobs(async (initial, port) => {
|
|
|
64
64
|
}
|
|
65
65
|
db = new Database(input.path, input.job === "backfill" ? undefined : { readonly: true });
|
|
66
66
|
db.exec("PRAGMA busy_timeout = 250");
|
|
67
|
+
if (persistent && input.job === "search")
|
|
68
|
+
keepWorkerMemoryEmbeddings(db);
|
|
67
69
|
const { closePort } = exitOnWorkerClose(port, () => db.close());
|
|
68
70
|
const CHUNK_POOL_MAINTENANCE_INTERVAL_MS = 5000;
|
|
69
71
|
let maintenanceTimer;
|
|
@@ -72,6 +74,9 @@ serveWorkerJobs(async (initial, port) => {
|
|
|
72
74
|
if (maintaining)
|
|
73
75
|
return;
|
|
74
76
|
maintaining = true;
|
|
77
|
+
try {
|
|
78
|
+
maintainKeptWorkerMemoryEmbeddings(db);
|
|
79
|
+
} catch {}
|
|
75
80
|
maintainCompartmentChunkSearchPools(db).catch(() => {}).finally(() => {
|
|
76
81
|
maintaining = false;
|
|
77
82
|
});
|
|
@@ -135,6 +140,7 @@ serveWorkerJobs(async (initial, port) => {
|
|
|
135
140
|
const diagnostics = input.options.autoSearchDiagnostics;
|
|
136
141
|
const results = await unifiedSearch(db, input.sessionId, input.projectPath, input.query, {
|
|
137
142
|
...input.options,
|
|
143
|
+
deferChunkPoolWarmup: persistent,
|
|
138
144
|
backfillMemoryEmbeddings: false,
|
|
139
145
|
countRetrievals: false,
|
|
140
146
|
measurementDisabled: true,
|