@cortexkit/opencode-magic-context 0.49.103 → 0.49.105
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 +5 -5
- package/dist/chunk-embedding-write-worker.js +8 -5
- package/dist/{context-jk7bgc3s.js → context-wtnrsjkp.js} +116 -139
- package/dist/{embedding-backfill-anty7zdf.js → embedding-backfill-kqwx0vhj.js} +6 -6
- package/dist/{v2/embedding-cache-dveynq4m.js → embedding-cache-fhdkn9nc.js} +3 -1
- package/dist/embedding-worker.js +1 -1
- package/dist/features/magic-context/chunk-embedding-write-worker-install-failure.fixture.d.ts +2 -0
- package/dist/features/magic-context/chunk-embedding-write-worker-install-failure.fixture.d.ts.map +1 -0
- package/dist/features/magic-context/chunk-scope-repair-revision.d.ts +16 -1
- package/dist/features/magic-context/chunk-scope-repair-revision.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/task-executor.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/verify-checkout.d.ts +2 -0
- package/dist/features/magic-context/dreamer/verify-checkout.d.ts.map +1 -0
- package/dist/features/magic-context/memory/embedding-cache.d.ts +1 -0
- package/dist/features/magic-context/memory/embedding-cache.d.ts.map +1 -1
- package/dist/features/magic-context/memory/embedding-worker-client.d.ts.map +1 -1
- package/dist/features/magic-context/memory/embedding-worker-loop.d.ts +9 -1
- package/dist/features/magic-context/memory/embedding-worker-loop.d.ts.map +1 -1
- package/dist/features/magic-context/memory/embedding-worker-observer.fixture.d.ts +26 -0
- package/dist/features/magic-context/memory/embedding-worker-observer.fixture.d.ts.map +1 -0
- package/dist/features/magic-context/message-fts-rowid-map-startup-worker-test-support.d.ts +2 -0
- package/dist/features/magic-context/message-fts-rowid-map-startup-worker-test-support.d.ts.map +1 -0
- package/dist/features/magic-context/project-embedding-registry.d.ts +5 -0
- package/dist/features/magic-context/project-embedding-registry.d.ts.map +1 -1
- package/dist/features/magic-context/search-pool-fixture.d.ts +15 -0
- package/dist/features/magic-context/search-pool-fixture.d.ts.map +1 -1
- package/dist/features/magic-context/storage-db.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-types.d.ts +4 -1
- package/dist/hooks/magic-context/compartment-runner-types.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-runner.d.ts.map +1 -1
- package/dist/hooks/magic-context/history-boundary-repair.d.ts +7 -2
- package/dist/hooks/magic-context/history-boundary-repair.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform-compartment-phase.d.ts +1 -0
- package/dist/hooks/magic-context/transform-compartment-phase.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-3nxhxeeg.js → index-1j4q0bd6.js} +4 -4
- package/dist/{index-fd3hkyk1.js → index-42fsf88t.js} +1 -1
- package/dist/{v2/server-qbydvfev.js → index-6xg55350.js} +15 -11
- package/dist/{index-jjxpmypb.js → index-7z5cvfpg.js} +1 -1
- package/dist/{index-jg5whyrd.js → index-8vv7axxg.js} +3 -3
- package/dist/{index-42fg6tzz.js → index-92p5yfpp.js} +4 -4
- package/dist/{index-7jvc0rhh.js → index-9m2b5mwf.js} +21 -8
- package/dist/{index-9mxkvdtp.js → index-a3t1ck7g.js} +8 -8
- package/dist/{index-vhx6yph7.js → index-as8bg7eh.js} +367 -115
- package/dist/{index-jyj9jg9f.js → index-cxh5g5bt.js} +2 -2
- package/dist/{index-vegw385y.js → index-cy5fn70d.js} +89 -1
- package/dist/{index-4dywj733.js → index-dzb1yc9w.js} +1 -1
- package/dist/{index-t2h3484a.js → index-edafv9d7.js} +5 -5
- package/dist/{index-6t6v8prs.js → index-ff1hqh4a.js} +3 -3
- package/dist/{index-ke0mkz7g.js → index-g1h1efr0.js} +1 -1
- package/dist/{index-f455a0g3.js → index-k37h4yrb.js} +5 -3
- package/dist/{index-mes48s7a.js → index-mg6cwqw2.js} +220 -27
- package/dist/{index-nyjztqyj.js → index-p5ey52j9.js} +32 -5
- package/dist/{index-pw1f07vg.js → index-srpghrje.js} +1 -1
- package/dist/{index-4536jdzj.js → index-xzs1fxzz.js} +2 -2
- package/dist/{index-hyvxmz3e.js → index-y1875y4h.js} +1 -1
- package/dist/{index-4v50y0jr.js → index-ydevzvfs.js} +1 -1
- package/dist/{index-ab86c21b.js → index-zj0ra8vs.js} +1 -1
- package/dist/index.js +53 -62
- package/dist/migration-worker.js +3 -3
- package/dist/{project-embedding-registry-4cv7n37m.js → project-embedding-registry-0z0nd73p.js} +5 -5
- package/dist/raw-ordinal-warmup-worker.js +2 -2
- package/dist/{recomp-orchestrator-vg4cxyp7.js → recomp-orchestrator-zagjzbz5.js} +15 -15
- package/dist/{render-f32trg2t.js → render-vwp72qd0.js} +6 -6
- package/dist/{search-ygtyb91s.js → search-7e1rcqb7.js} +12 -12
- package/dist/{search-archive-yh6xtvrx.js → search-archive-6tr0gcf7.js} +2 -2
- package/dist/shared/sqlite-busy-test-support.d.ts +21 -0
- package/dist/shared/sqlite-busy-test-support.d.ts.map +1 -0
- package/dist/shared/sqlite-write-locker-test-support.d.ts +12 -0
- package/dist/shared/sqlite-write-locker-test-support.d.ts.map +1 -1
- package/dist/{storage-memory-p91f7b5h.js → storage-memory-24hsvzy8.js} +2 -2
- package/dist/{store-wpx314rk.js → store-4eeezg83.js} +2 -2
- package/dist/{store-reader-c5fwa9qx.js → store-reader-g8w2wp88.js} +1 -1
- package/dist/{transform-postprocess-phase-958fmjs5.js → transform-postprocess-phase-v3p3q2gf.js} +16 -16
- package/dist/v2/auto-search-worker.js +5 -5
- package/dist/v2/chunk-embedding-write-worker.js +8 -5
- package/dist/v2/{context-3g3jvxg8.js → context-fbdac7qt.js} +166 -150
- package/dist/v2/{embedding-backfill-ra9gbbs4.js → embedding-backfill-e44pv5db.js} +6 -6
- package/dist/{embedding-cache-dveynq4m.js → v2/embedding-cache-fhdkn9nc.js} +3 -1
- package/dist/v2/embedding-worker.js +1 -1
- package/dist/v2/event-subscription.fixture.d.ts +9 -0
- package/dist/v2/event-subscription.fixture.d.ts.map +1 -0
- package/dist/v2/hidden-model-activity.d.ts +13 -0
- package/dist/v2/hidden-model-activity.d.ts.map +1 -1
- package/dist/v2/hooks/context.d.ts +1 -0
- package/dist/v2/hooks/context.d.ts.map +1 -1
- package/dist/v2/hooks/dream-trigger.d.ts +2 -1
- package/dist/v2/hooks/dream-trigger.d.ts.map +1 -1
- package/dist/v2/hooks/event-subscription-worker.d.ts +11 -0
- package/dist/v2/hooks/event-subscription-worker.d.ts.map +1 -0
- package/dist/v2/hooks/types.d.ts +1 -0
- package/dist/v2/hooks/types.d.ts.map +1 -1
- package/dist/v2/hooks/update-check.d.ts +1 -0
- package/dist/v2/hooks/update-check.d.ts.map +1 -1
- package/dist/v2/{message-index-bounded-j1sxtefe.js → message-index-bounded-nwqfb1p5.js} +3 -3
- package/dist/v2/migration-worker.js +3 -3
- package/dist/v2/{project-embedding-registry-gdaqb7h0.js → project-embedding-registry-rhzjnypp.js} +5 -5
- package/dist/v2/raw-ordinal-warmup-worker.js +4 -4
- package/dist/v2/{read-session-chunk-p6z3kmdj.js → read-session-chunk-brqatg83.js} +2 -2
- package/dist/v2/{recomp-orchestrator-29m3cc5b.js → recomp-orchestrator-1ech6k2n.js} +17 -17
- package/dist/v2/{render-jpj43axy.js → render-pfe3smhx.js} +10 -10
- package/dist/v2/{search-archive-wbhxp0p1.js → search-archive-r8krrz47.js} +5 -5
- package/dist/v2/{search-ybyc7vmx.js → search-sffewrs4.js} +15 -15
- package/dist/v2/{server-kx5egpt7.js → server-16115spd.js} +4 -4
- package/dist/v2/server-28jqb7s0.js +6 -0
- package/dist/v2/{server-qg8jyfxa.js → server-5xx10mqe.js} +1 -1
- package/dist/{index-qbydvfev.js → v2/server-6xg55350.js} +15 -11
- package/dist/v2/{server-t45hgcsg.js → server-7jw608jk.js} +2 -2
- package/dist/v2/{server-8f92sd2r.js → server-7pxjk184.js} +6 -4
- package/dist/v2/{server-3mb205v9.js → server-83rjf4df.js} +1 -1
- package/dist/v2/{server-df5scn4q.js → server-9t4yjj20.js} +27 -12
- package/dist/v2/{server-ga6y57vh.js → server-c32505fr.js} +6 -4
- package/dist/v2/{server-8m5wk6aq.js → server-cpb7b1f9.js} +5 -5
- package/dist/v2/{server-qdpd8h27.js → server-fn6k1ack.js} +1 -1
- package/dist/v2/{server-1qxdyz4p.js → server-ghb2q1z9.js} +2 -2
- package/dist/v2/{server-pqgnjf38.js → server-gkb0y83n.js} +32 -5
- package/dist/v2/{server-r851hxn5.js → server-hqcdvs2n.js} +13 -13
- package/dist/v2/{server-9ms9b75c.js → server-j00jprwm.js} +4 -6
- package/dist/v2/{server-xpy46ddq.js → server-jtd5vq5e.js} +3 -3
- package/dist/v2/{server-b01a7dhj.js → server-kk2kbzq3.js} +1 -1
- package/dist/v2/{server-mc5t7k8v.js → server-ma0qhqg9.js} +1 -1
- package/dist/v2/{server-x22jtpna.js → server-n3bfqd0j.js} +4 -2
- package/dist/v2/{server-fagcnt6j.js → server-pjvqyg6g.js} +367 -115
- package/dist/v2/{server-jrs4gny6.js → server-qtajgx1e.js} +89 -1
- package/dist/v2/{server-pw1f07vg.js → server-srpghrje.js} +1 -1
- package/dist/v2/server-t104h957.js +177 -0
- package/dist/v2/{server-j09jx1n9.js → server-v2r04xds.js} +1 -1
- package/dist/v2/{server-7c5p0bh1.js → server-z77hman6.js} +1 -1
- package/dist/v2/server.js +31 -40
- package/dist/v2/{storage-memory-p91f7b5h.js → storage-memory-24hsvzy8.js} +2 -2
- package/dist/v2/{storage-tags-s7nvvyg8.js → storage-tags-ee72g2zv.js} +1 -1
- package/dist/v2/{store-mba47sxn.js → store-9rsrj5pt.js} +2 -2
- package/dist/v2/{store-reader-w7w8vfsy.js → store-reader-tb0f9621.js} +1 -1
- package/dist/v2/store-reader.d.ts +1 -1
- package/dist/v2/store-reader.d.ts.map +1 -1
- package/dist/v2/tui/index.d.ts.map +1 -1
- package/dist/v2/{v2-archive-reader-5njmg3a3.js → v2-archive-reader-0xysfgxh.js} +1 -1
- package/dist/v2/{wrapup-orchestrator-ahkq8a61.js → wrapup-orchestrator-8d4ak3x3.js} +17 -17
- package/dist/{v2-archive-reader-y38khjax.js → v2-archive-reader-fac1zmhj.js} +1 -1
- package/dist/{wrapup-orchestrator-gjqaac65.js → wrapup-orchestrator-wz10b94c.js} +16 -16
- package/package.json +1 -1
- package/src/config/migrate-config-location.test.ts +41 -29
- package/src/shared/model-suggestion-retry.test.ts +137 -90
- package/src/shared/off-thread-migration-clock.test.ts +19 -9
- package/src/shared/prompt-async-transport.test.ts +125 -42
- package/src/shared/rpc-async-probes.test.ts +56 -36
- package/src/shared/rpc-client.test.ts +51 -18
- package/src/shared/sqlite-acquisition-routing.test.ts +79 -22
- package/src/shared/sqlite-busy-budget-review.test.ts +129 -111
- package/src/shared/sqlite-busy-test-support.ts +154 -0
- package/src/shared/sqlite-foreground-wait.test.ts +213 -156
- package/src/shared/sqlite-pass-scope.test.ts +142 -105
- package/src/shared/sqlite-turn-deadline.test.ts +149 -124
- package/src/shared/sqlite-write-locker-test-support.ts +44 -12
- package/src/shared/stable-json-linear.test.ts +29 -11
- package/src/shared/startup-maintenance-policy.test.ts +72 -2
- package/src/shared/storage-busy.test.ts +45 -18
- package/src/shared/storage-file-mutex-review.test.ts +65 -51
- package/src/shared/tui-preferences.test.ts +15 -5
- package/src/shared/worker-shutdown.test.ts +26 -20
- package/src/tui/data/notification-socket.test.ts +220 -108
- package/src/v2/tui/index.ts +5 -1
- package/src/v2/tui/status-dialog-fallback.test.ts +23 -1
- package/dist/v2/server-84w6rvvf.js +0 -14
package/dist/{transform-postprocess-phase-958fmjs5.js → transform-postprocess-phase-v3p3q2gf.js}
RENAMED
|
@@ -19,21 +19,21 @@ import {
|
|
|
19
19
|
finalizeMessageRepresentation2,
|
|
20
20
|
runPostTransformPhase2,
|
|
21
21
|
checkM0MutationDriftAndSignal2
|
|
22
|
-
} from "./index-
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
22
|
+
} from "./index-edafv9d7.js";
|
|
23
|
+
import"./index-ydevzvfs.js";
|
|
24
|
+
import"./index-9m2b5mwf.js";
|
|
25
25
|
import"./index-qxzk5s30.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-
|
|
27
|
+
import"./index-92p5yfpp.js";
|
|
28
|
+
import"./index-cxh5g5bt.js";
|
|
29
|
+
import"./index-srpghrje.js";
|
|
30
|
+
import"./index-as8bg7eh.js";
|
|
31
|
+
import"./index-6xg55350.js";
|
|
32
|
+
import"./index-xzs1fxzz.js";
|
|
33
|
+
import"./index-zj0ra8vs.js";
|
|
34
34
|
import"./index-p8nc9axh.js";
|
|
35
35
|
import"./index-2amn2s73.js";
|
|
36
|
-
import"./index-
|
|
36
|
+
import"./index-g1h1efr0.js";
|
|
37
37
|
import"./index-h1qh9n8b.js";
|
|
38
38
|
import"./index-fqth7850.js";
|
|
39
39
|
import"./index-61a853ky.js";
|
|
@@ -44,16 +44,16 @@ import"./index-1zx87sdm.js";
|
|
|
44
44
|
import"./index-vdzd98ry.js";
|
|
45
45
|
import"./index-y14pawe1.js";
|
|
46
46
|
import"./index-y5f5yg5a.js";
|
|
47
|
-
import"./index-
|
|
47
|
+
import"./index-p5ey52j9.js";
|
|
48
48
|
import"./index-r3f85n7y.js";
|
|
49
|
-
import"./index-
|
|
49
|
+
import"./index-42fsf88t.js";
|
|
50
50
|
import"./index-1vv1ka4a.js";
|
|
51
51
|
import"./index-gcf2x04k.js";
|
|
52
|
-
import"./index-
|
|
52
|
+
import"./index-k37h4yrb.js";
|
|
53
53
|
import"./index-fb3zxn06.js";
|
|
54
|
-
import"./index-
|
|
54
|
+
import"./index-y1875y4h.js";
|
|
55
55
|
import"./index-fr0wbhdn.js";
|
|
56
|
-
import"./index-
|
|
56
|
+
import"./index-cy5fn70d.js";
|
|
57
57
|
import"./index-geph2sa6.js";
|
|
58
58
|
import"./index-8k9qpyjf.js";
|
|
59
59
|
import"./index-xtv4d4hv.js";
|
|
@@ -27,11 +27,11 @@ 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-
|
|
30
|
+
import("./embedding-backfill-e44pv5db.js"),
|
|
31
|
+
import("./embedding-cache-fhdkn9nc.js"),
|
|
32
|
+
import("./storage-memory-24hsvzy8.js"),
|
|
33
|
+
import("./project-embedding-registry-rhzjnypp.js"),
|
|
34
|
+
import("./search-sffewrs4.js"),
|
|
35
35
|
import("./compartment-chunk-embedding-6v74y2r3.js"),
|
|
36
36
|
import("./embedding-activity-g1dhes6g.js"),
|
|
37
37
|
import("./harness-e4avh192.js"),
|
|
@@ -11,8 +11,11 @@ import {
|
|
|
11
11
|
isWorkerCloseMessage,
|
|
12
12
|
exitOnWorkerClose
|
|
13
13
|
} from "./server-1d042x6w.js";
|
|
14
|
-
import"./server-d46xewmt.js";
|
|
15
14
|
import"./server-xc7t2r4k.js";
|
|
15
|
+
import {
|
|
16
|
+
tryInstallChunkScopeRepairTriggers
|
|
17
|
+
} from "./server-qtajgx1e.js";
|
|
18
|
+
import"./server-d46xewmt.js";
|
|
16
19
|
import"./server-b5eg9ct6.js";
|
|
17
20
|
import"./server-v0p37hm2.js";
|
|
18
21
|
import"./server-96ztjvkn.js";
|
|
@@ -29,16 +32,15 @@ import {
|
|
|
29
32
|
renewGitSweepLease,
|
|
30
33
|
releaseGitSweepLease,
|
|
31
34
|
recordSessionProjectIdentity
|
|
32
|
-
} from "./server-
|
|
35
|
+
} from "./server-z77hman6.js";
|
|
33
36
|
import"./server-sfffm587.js";
|
|
34
37
|
import"./server-3qeqa3b6.js";
|
|
35
|
-
import"./server-jrs4gny6.js";
|
|
36
38
|
import {
|
|
37
39
|
LATEST_SUPPORTED_VERSION,
|
|
38
40
|
enforceSchemaFence
|
|
39
|
-
} from "./server-
|
|
41
|
+
} from "./server-c32505fr.js";
|
|
40
42
|
import"./server-5zx51pm4.js";
|
|
41
|
-
import"./server-
|
|
43
|
+
import"./server-83rjf4df.js";
|
|
42
44
|
import"./server-bzebqckc.js";
|
|
43
45
|
import"./server-fr0wbhdn.js";
|
|
44
46
|
import"./server-2ra6pwf3.js";
|
|
@@ -58,6 +60,7 @@ serveWorkerJobs((workerData, port) => {
|
|
|
58
60
|
const timeout = Math.max(0, Math.floor(workerData.timeout));
|
|
59
61
|
db.exec(`PRAGMA busy_timeout=${timeout}; PRAGMA foreign_keys=ON`);
|
|
60
62
|
configureContextDatabasePragmas2(db);
|
|
63
|
+
tryInstallChunkScopeRepairTriggers(db);
|
|
61
64
|
exitOnWorkerClose(port, () => db.close(), false);
|
|
62
65
|
port.on("message", (input) => {
|
|
63
66
|
if (isWorkerCloseMessage(input))
|