@cortexkit/opencode-magic-context 0.49.13 → 0.49.14
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-azqk0vfd.js → context-cpxqpkzv.js} +31 -13
- package/dist/features/magic-context/dreamer/map-memories.d.ts.map +1 -1
- package/dist/features/magic-context/storage-tags.d.ts +2 -0
- package/dist/features/magic-context/storage-tags.d.ts.map +1 -1
- package/dist/hooks/magic-context/apply-operations.d.ts +3 -1
- package/dist/hooks/magic-context/apply-operations.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-runner.d.ts +4 -0
- package/dist/hooks/magic-context/compartment-runner.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-trigger.d.ts +1 -1
- package/dist/hooks/magic-context/compartment-trigger.d.ts.map +1 -1
- package/dist/hooks/magic-context/degraded-pass-refusal.d.ts +2 -0
- package/dist/hooks/magic-context/degraded-pass-refusal.d.ts.map +1 -1
- package/dist/hooks/magic-context/pending-drop-eligibility.d.ts +14 -0
- package/dist/hooks/magic-context/pending-drop-eligibility.d.ts.map +1 -0
- package/dist/hooks/magic-context/transform-compartment-phase.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform-postprocess-phase.d.ts +1 -0
- package/dist/hooks/magic-context/transform-postprocess-phase.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform.d.ts.map +1 -1
- package/dist/{index-wj6ht7nm.js → index-5591fg8y.js} +42 -16
- package/dist/{index-b16gpywn.js → index-944w16m0.js} +2 -2
- package/dist/{index-hnm8raee.js → index-kf4epshg.js} +2 -2
- package/dist/{index-2jr1smmh.js → index-t4q9zbbf.js} +5 -4
- package/dist/{index-v13skev1.js → index-thvnpfsv.js} +1 -1
- package/dist/{index-wz6mzzb1.js → index-tyckte5c.js} +3 -3
- package/dist/{index-sj89f3b0.js → index-w900fbhd.js} +100 -15
- package/dist/{index-aw1bh90w.js → index-xn6q9pg6.js} +2 -2
- package/dist/{index-qkd9zz0p.js → index-yxycg7fs.js} +1 -1
- package/dist/index.js +13 -13
- package/dist/{message-index-seaqpb7c.js → message-index-a6gztaqx.js} +3 -3
- package/dist/{message-index-bounded-vm64mqpq.js → message-index-bounded-vtgpq6b4.js} +3 -3
- package/dist/migration-worker.js +1 -1
- package/dist/raw-ordinal-warmup-worker.js +3 -3
- package/dist/{read-session-chunk-ax05f7gr.js → read-session-chunk-3ae3nfdn.js} +2 -2
- package/dist/{recomp-orchestrator-dmbeadwt.js → recomp-orchestrator-xqb9gwgm.js} +6 -6
- package/dist/{search-5yd5ytzs.js → search-deajrd90.js} +4 -4
- package/dist/{storage-tags-yygfb9c8.js → storage-tags-s5bg1ahx.js} +1 -1
- package/dist/{transform-postprocess-phase-72v86syx.js → transform-postprocess-phase-k5t63qm5.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-w055w17c.js → context-k4jrq71s.js} +153 -27
- package/dist/v2/hidden-completion.d.ts +3 -2
- package/dist/v2/hidden-completion.d.ts.map +1 -1
- package/dist/v2/{message-index-bounded-wepg5723.js → message-index-bounded-rxxznd34.js} +3 -3
- package/dist/v2/{message-index-gcmd0ng0.js → message-index-f947qtbz.js} +3 -3
- package/dist/v2/migration-worker.js +1 -1
- package/dist/v2/raw-ordinal-warmup-worker.js +3 -3
- package/dist/v2/{read-session-chunk-hr3w5bjk.js → read-session-chunk-rq9nx1nn.js} +2 -2
- package/dist/v2/{recomp-orchestrator-ca7qt75a.js → recomp-orchestrator-1j1nqrrr.js} +5 -5
- package/dist/v2/{search-c86dcv14.js → search-n8wqxb1j.js} +4 -4
- package/dist/v2/{server-xh7jar6k.js → server-cfbr1s2x.js} +2 -2
- package/dist/v2/{server-t4prcjc1.js → server-e298hswg.js} +1 -1
- package/dist/v2/{server-m97brnat.js → server-ehyava47.js} +2 -2
- package/dist/v2/{server-b81w6sw3.js → server-fnqxt9j6.js} +5 -4
- package/dist/v2/{server-n8ch9683.js → server-kmbarfmn.js} +1 -1
- package/dist/v2/server.js +2 -2
- package/dist/v2/{storage-tags-a2gq6dw7.js → storage-tags-hcc2adpf.js} +1 -1
- package/dist/v2/{wrapup-orchestrator-e1a2w6jh.js → wrapup-orchestrator-hkv8apcc.js} +5 -5
- package/dist/{wrapup-orchestrator-2051r6qm.js → wrapup-orchestrator-kxqj4rwh.js} +7 -7
- package/package.json +1 -1
- /package/dist/{index-fwefky9w.js → index-mht7bq0z.js} +0 -0
- /package/dist/v2/{server-bxpwy6fy.js → server-atbc19ab.js} +0 -0
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
toMessageIndexSource2,
|
|
81
81
|
clearIndexedMessagesInTransaction2,
|
|
82
82
|
indexSourcesAfterOrdinal2
|
|
83
|
-
} from "./server-
|
|
83
|
+
} from "./server-e298hswg.js";
|
|
84
84
|
import {
|
|
85
85
|
detectOverflow,
|
|
86
86
|
SESSION_META_SELECT_COLUMNS,
|
|
@@ -173,7 +173,7 @@ import {
|
|
|
173
173
|
getRawSessionTagKeysThrough2,
|
|
174
174
|
getLegacyProtectedTailStartOrdinal2,
|
|
175
175
|
readSessionChunk2
|
|
176
|
-
} from "./server-
|
|
176
|
+
} from "./server-ehyava47.js";
|
|
177
177
|
import {
|
|
178
178
|
getTableColumnNames
|
|
179
179
|
} from "./server-pwv4ezb0.js";
|
|
@@ -183,7 +183,7 @@ import {
|
|
|
183
183
|
LATEST_SUPPORTED_VERSION,
|
|
184
184
|
getPersistedSchemaVersion,
|
|
185
185
|
openDatabase
|
|
186
|
-
} from "./server-
|
|
186
|
+
} from "./server-kmbarfmn.js";
|
|
187
187
|
import {
|
|
188
188
|
providerMass,
|
|
189
189
|
calibrationForModelKey,
|
|
@@ -201,7 +201,7 @@ import {
|
|
|
201
201
|
foldShrunkPartTags2,
|
|
202
202
|
getTagNumberByMessageId2,
|
|
203
203
|
getActiveTagsBySession2
|
|
204
|
-
} from "./server-
|
|
204
|
+
} from "./server-atbc19ab.js";
|
|
205
205
|
import {
|
|
206
206
|
isStrictGapHealingMessage2,
|
|
207
207
|
noteRawSessionSummaryRowWritten2,
|
|
@@ -18835,6 +18835,7 @@ function registerActiveCompartmentRun(sessionId, promise, kind = "other") {
|
|
|
18835
18835
|
kind
|
|
18836
18836
|
};
|
|
18837
18837
|
const wrapped = promise.finally(() => {
|
|
18838
|
+
activeRun.settled = true;
|
|
18838
18839
|
if (activeRuns.get(sessionId)?.promise === wrapped) {
|
|
18839
18840
|
activeRuns.delete(sessionId);
|
|
18840
18841
|
}
|
|
@@ -1212,7 +1212,7 @@ function finishDatabaseOpen(db, dbPath, explicitDbPath, latestSupportedVersion)
|
|
|
1212
1212
|
startMessageFtsRowidMapBackfill(db).then(async () => {
|
|
1213
1213
|
if (!readsOpenCodeStore)
|
|
1214
1214
|
return;
|
|
1215
|
-
const { readRawSessionMessagePage, readRawSessionMessages } = await importPluginModule(() => import("./read-session-chunk-
|
|
1215
|
+
const { readRawSessionMessagePage, readRawSessionMessages } = await importPluginModule(() => import("./read-session-chunk-rq9nx1nn.js"));
|
|
1216
1216
|
const { startMessageTimeBackfill } = await importPluginModule(() => import("./message-time-backfill-bsteyc4d.js"));
|
|
1217
1217
|
await startMessageTimeBackfill(db, Object.assign(readRawSessionMessages, {
|
|
1218
1218
|
readPage: readRawSessionMessagePage
|
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.14",
|
|
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-k4jrq71s.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-fnqxt9j6.js";
|
|
23
23
|
import"./server-hek6z3w6.js";
|
|
24
24
|
import"./server-0ppsweh6.js";
|
|
25
25
|
import"./server-rrqpvwqd.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
} from "./server-wafzvyhg.js";
|
|
29
29
|
import"./server-yrvqaswb.js";
|
|
30
30
|
import"./server-qhfvvfxj.js";
|
|
31
|
-
import"./server-
|
|
31
|
+
import"./server-e298hswg.js";
|
|
32
32
|
import {
|
|
33
33
|
getWrapupInProgressState,
|
|
34
34
|
acquireWrapupInProgress,
|
|
@@ -37,11 +37,11 @@ import {
|
|
|
37
37
|
getHistorianFailureState,
|
|
38
38
|
clearEmergencyRecovery,
|
|
39
39
|
prepareRawSessionOrdinals2
|
|
40
|
-
} from "./server-
|
|
40
|
+
} from "./server-ehyava47.js";
|
|
41
41
|
import"./server-pwv4ezb0.js";
|
|
42
|
-
import"./server-
|
|
42
|
+
import"./server-kmbarfmn.js";
|
|
43
43
|
import"./server-1zx87sdm.js";
|
|
44
|
-
import"./server-
|
|
44
|
+
import"./server-atbc19ab.js";
|
|
45
45
|
import"./server-th4y11y7.js";
|
|
46
46
|
import"./server-51779zs2.js";
|
|
47
47
|
import"./server-prg55b7k.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runManagedWrapup2
|
|
3
|
-
} from "./index-
|
|
4
|
-
import"./index-
|
|
5
|
-
import"./index-
|
|
3
|
+
} from "./index-tyckte5c.js";
|
|
4
|
+
import"./index-kf4epshg.js";
|
|
5
|
+
import"./index-t4q9zbbf.js";
|
|
6
6
|
import"./index-f71thw8j.js";
|
|
7
7
|
import"./index-bxdg2nbt.js";
|
|
8
|
-
import"./index-
|
|
8
|
+
import"./index-thvnpfsv.js";
|
|
9
9
|
import"./index-sd3egckz.js";
|
|
10
10
|
import"./index-3kdm78zp.js";
|
|
11
11
|
import"./index-y1qysm3q.js";
|
|
@@ -14,8 +14,8 @@ import"./index-4dhv7mqz.js";
|
|
|
14
14
|
import"./index-v10f1rjv.js";
|
|
15
15
|
import"./index-dgs16axy.js";
|
|
16
16
|
import"./index-qt1qqasc.js";
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
17
|
+
import"./index-944w16m0.js";
|
|
18
|
+
import"./index-mht7bq0z.js";
|
|
19
19
|
import"./index-1zx87sdm.js";
|
|
20
20
|
import"./index-1d289pq2.js";
|
|
21
21
|
import"./index-mmfa86mt.js";
|
|
@@ -27,7 +27,7 @@ import"./index-1sarmj9z.js";
|
|
|
27
27
|
import"./index-saews2s3.js";
|
|
28
28
|
import"./index-3kx0kg0f.js";
|
|
29
29
|
import"./index-fkx2qnvw.js";
|
|
30
|
-
import"./index-
|
|
30
|
+
import"./index-yxycg7fs.js";
|
|
31
31
|
import"./index-fb3zxn06.js";
|
|
32
32
|
import"./index-wk0n1cgt.js";
|
|
33
33
|
import"./index-a8bvhwqs.js";
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|