@cortexkit/opencode-magic-context 0.49.32 → 0.49.34
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 +1 -1
- package/dist/chunk-embedding-write-worker.js +1 -1
- package/dist/{context-n27jdyyh.js → context-p3xrarzt.js} +15 -10
- package/dist/features/magic-context/compaction-marker.d.ts +22 -6
- package/dist/features/magic-context/compaction-marker.d.ts.map +1 -1
- package/dist/features/magic-context/request-tool-definitions.d.ts +25 -0
- package/dist/features/magic-context/request-tool-definitions.d.ts.map +1 -0
- package/dist/features/magic-context/storage-meta-persisted.d.ts +7 -0
- package/dist/features/magic-context/storage-meta-persisted.d.ts.map +1 -1
- package/dist/hooks/magic-context/apply-operations.d.ts +1 -1
- package/dist/hooks/magic-context/apply-operations.d.ts.map +1 -1
- package/dist/hooks/magic-context/compaction-marker-manager.d.ts +5 -5
- package/dist/hooks/magic-context/compaction-marker-manager.d.ts.map +1 -1
- package/dist/hooks/magic-context/compaction-marker-publication.d.ts +9 -0
- package/dist/hooks/magic-context/compaction-marker-publication.d.ts.map +1 -0
- package/dist/hooks/magic-context/compartment-render-epoch.d.ts +7 -0
- package/dist/hooks/magic-context/compartment-render-epoch.d.ts.map +1 -1
- package/dist/hooks/magic-context/inject-compartments.d.ts +7 -2
- package/dist/hooks/magic-context/inject-compartments.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 +1 -0
- package/dist/hooks/magic-context/transform.d.ts.map +1 -1
- package/dist/{index-94ef0qe2.js → index-04z754rd.js} +1 -1
- package/dist/{index-qr2mb02j.js → index-0677w9sd.js} +2 -2
- package/dist/{index-t6b3px80.js → index-07vskjn8.js} +3 -3
- package/dist/{index-0fe4q77z.js → index-7g9dr8gy.js} +34 -2
- package/dist/{index-3drcgsnf.js → index-97spytxq.js} +12 -11
- package/dist/{index-4s4zq97n.js → index-9gpw8hrm.js} +1 -1
- package/dist/{index-bzwh06cp.js → index-atekmqef.js} +327 -61
- package/dist/{index-hbt0sbv2.js → index-fm36bjv4.js} +1 -1
- package/dist/{index-2agkcr3y.js → index-ftr84kkv.js} +2 -2
- package/dist/{index-g0kqnc6y.js → index-hbx7m8he.js} +9 -4
- package/dist/{index-3jmx3fae.js → index-m1x9ghk5.js} +1 -1
- package/dist/index.js +14 -14
- package/dist/{message-index-bounded-zq7a5nm6.js → message-index-bounded-qh91fdr3.js} +2 -2
- package/dist/migration-worker.js +1 -1
- package/dist/raw-ordinal-warmup-worker.js +2 -2
- package/dist/{read-session-chunk-1ndphmb8.js → read-session-chunk-kaghtr75.js} +1 -1
- package/dist/{recomp-orchestrator-6ncc6wrw.js → recomp-orchestrator-0y983w7h.js} +5 -5
- package/dist/{search-archive-sr07c6aj.js → search-archive-1kw2rp19.js} +2 -2
- package/dist/{search-040pac3a.js → search-p684j8ww.js} +4 -4
- package/dist/{transform-postprocess-phase-wvt1k03d.js → transform-postprocess-phase-ph38mhrs.js} +6 -6
- package/dist/v2/auto-search-worker.js +1 -1
- package/dist/v2/chunk-embedding-write-worker.js +1 -1
- package/dist/v2/{context-ehews84p.js → context-s60hcatx.js} +19 -8
- package/dist/v2/hooks/context.d.ts +3 -3
- package/dist/v2/hooks/context.d.ts.map +1 -1
- package/dist/v2/{message-index-bounded-jvgz7vk9.js → message-index-bounded-4htdr1j6.js} +2 -2
- package/dist/v2/migration-worker.js +1 -1
- package/dist/v2/raw-ordinal-warmup-worker.js +2 -2
- package/dist/v2/{read-session-chunk-djzgm4jg.js → read-session-chunk-1fa9qzwb.js} +1 -1
- package/dist/v2/{recomp-orchestrator-3r9kcs61.js → recomp-orchestrator-7q9nvxte.js} +4 -4
- package/dist/v2/{search-archive-n3dhns4r.js → search-archive-xfp51s0g.js} +2 -2
- package/dist/v2/{search-q3wkpe8t.js → search-wf8rqxhm.js} +3 -3
- package/dist/v2/{server-n14edf07.js → server-ajxhrgjv.js} +1 -1
- package/dist/v2/{server-rr4cbkr0.js → server-grakwy1v.js} +1 -1
- package/dist/v2/{server-d01pe8q5.js → server-jw5qe9y8.js} +1 -1
- package/dist/v2/{server-hwag0khr.js → server-m1pfg2d4.js} +1 -1
- package/dist/v2/{server-rb8m4vry.js → server-qvy4qavp.js} +34 -2
- package/dist/v2/{server-4n176b5m.js → server-z2wft9zv.js} +352 -87
- package/dist/v2/server.js +2 -2
- package/dist/v2/{wrapup-orchestrator-ddmvbkra.js → wrapup-orchestrator-wxf7n5k6.js} +4 -4
- package/dist/{wrapup-orchestrator-fyvyzcbm.js → wrapup-orchestrator-ys2nrkkb.js} +6 -6
- package/package.json +1 -1
- package/src/shared/sqlite-transaction-mode-guard.test.ts +2 -0
package/dist/v2/server.js
CHANGED
|
@@ -7874,7 +7874,7 @@ var require_src2 = __commonJS(function(exports, module) {
|
|
|
7874
7874
|
// package.json
|
|
7875
7875
|
var package_default = {
|
|
7876
7876
|
name: "@cortexkit/opencode-magic-context",
|
|
7877
|
-
version: "0.49.
|
|
7877
|
+
version: "0.49.34",
|
|
7878
7878
|
type: "module",
|
|
7879
7879
|
description: "OpenCode plugin for Magic Context — cross-session memory and context management",
|
|
7880
7880
|
main: "dist/index.js",
|
|
@@ -8195,7 +8195,7 @@ async function setup(context) {
|
|
|
8195
8195
|
if (claimStorageBackupWarningCheck() && isMagicContextStorageOutsideEngram(storageDir)) {
|
|
8196
8196
|
log2(`[magic-context] Magic Context storage is at ${storageDir}, outside the folder Engram backs up (~/.local/share/cortexkit/magic-context). It is not included in CortexKit backups.`);
|
|
8197
8197
|
}
|
|
8198
|
-
const { registerContext } = await import("./context-
|
|
8198
|
+
const { registerContext } = await import("./context-s60hcatx.js");
|
|
8199
8199
|
setHarness2("opencode2");
|
|
8200
8200
|
bindStaleBuildNotice({}, import.meta.url, "opencode2");
|
|
8201
8201
|
const duties = await registerContext(context);
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
registerActiveCompartmentRun,
|
|
20
20
|
setRecompStarting2,
|
|
21
21
|
setRecompTerminal2
|
|
22
|
-
} from "./server-
|
|
22
|
+
} from "./server-z2wft9zv.js";
|
|
23
23
|
import"./server-ab8017gw.js";
|
|
24
24
|
import"./server-3mz2qh5a.js";
|
|
25
25
|
import"./server-ab1g0wn9.js";
|
|
@@ -31,7 +31,7 @@ import"./server-cpjk5jd2.js";
|
|
|
31
31
|
import"./server-6vd2n183.js";
|
|
32
32
|
import"./server-awr8qa4c.js";
|
|
33
33
|
import"./server-h1byrhwx.js";
|
|
34
|
-
import"./server-
|
|
34
|
+
import"./server-m1pfg2d4.js";
|
|
35
35
|
import {
|
|
36
36
|
getWrapupInProgressState,
|
|
37
37
|
acquireWrapupInProgress,
|
|
@@ -40,9 +40,9 @@ import {
|
|
|
40
40
|
getHistorianFailureState,
|
|
41
41
|
clearEmergencyRecovery,
|
|
42
42
|
prepareRawSessionOrdinals2
|
|
43
|
-
} from "./server-
|
|
43
|
+
} from "./server-qvy4qavp.js";
|
|
44
44
|
import"./server-v77xa5wj.js";
|
|
45
|
-
import"./server-
|
|
45
|
+
import"./server-jw5qe9y8.js";
|
|
46
46
|
import"./server-1zx87sdm.js";
|
|
47
47
|
import"./server-nxas8v1d.js";
|
|
48
48
|
import"./server-24g8r2d0.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runManagedWrapup2
|
|
3
|
-
} from "./index-
|
|
4
|
-
import"./index-
|
|
5
|
-
import"./index-
|
|
3
|
+
} from "./index-07vskjn8.js";
|
|
4
|
+
import"./index-ftr84kkv.js";
|
|
5
|
+
import"./index-atekmqef.js";
|
|
6
6
|
import"./index-qgh1qwjj.js";
|
|
7
7
|
import"./index-as2amvn3.js";
|
|
8
|
-
import"./index-
|
|
8
|
+
import"./index-9gpw8hrm.js";
|
|
9
9
|
import"./index-sd3egckz.js";
|
|
10
10
|
import"./index-rfxzazzy.js";
|
|
11
11
|
import"./index-2743x98y.js";
|
|
@@ -14,7 +14,7 @@ import"./index-4dhv7mqz.js";
|
|
|
14
14
|
import"./index-spwjbkc7.js";
|
|
15
15
|
import"./index-waktfbjy.js";
|
|
16
16
|
import"./index-qt1qqasc.js";
|
|
17
|
-
import"./index-
|
|
17
|
+
import"./index-7g9dr8gy.js";
|
|
18
18
|
import"./index-np3rgfw4.js";
|
|
19
19
|
import"./index-1zx87sdm.js";
|
|
20
20
|
import"./index-y1qwzvxn.js";
|
|
@@ -25,7 +25,7 @@ import"./index-nxrsns5x.js";
|
|
|
25
25
|
import"./index-kfyb3k6n.js";
|
|
26
26
|
import"./index-v7287tzq.js";
|
|
27
27
|
import"./index-wfybj1dw.js";
|
|
28
|
-
import"./index-
|
|
28
|
+
import"./index-fm36bjv4.js";
|
|
29
29
|
import"./index-fb3zxn06.js";
|
|
30
30
|
import"./index-7kkphb6c.js";
|
|
31
31
|
import"./index-kq5w68dp.js";
|
package/package.json
CHANGED
|
@@ -27,6 +27,8 @@ const READ_ONLY_DEFERRED_TRANSACTIONS: Record<string, string> = {
|
|
|
27
27
|
"pins one read snapshot so the session's rowid coverage proof and the filtered message search see the same rows; never writes (read-only connections use it too)",
|
|
28
28
|
"packages/plugin/src/hooks/magic-context/lkg-persist.ts#loadPersistedLkgSlot":
|
|
29
29
|
"reads an LKG slot row and its prefix slices as one consistent snapshot; never writes (a failed verification clears the slot afterwards, outside this transaction)",
|
|
30
|
+
"packages/plugin/src/hooks/magic-context/compaction-marker-manager.ts#reconcileForkOrphanedCompactionMarkers":
|
|
31
|
+
"reads publication intent and finalized ownership as one context.db snapshot while host-order probes use the already-open host connection; never writes context.db",
|
|
30
32
|
};
|
|
31
33
|
|
|
32
34
|
const REPOSITORY_ROOT = resolve(import.meta.dir, "../../../..");
|