@cortexkit/opencode-magic-context 0.49.43 → 0.49.45
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 +4 -4
- package/dist/chunk-embedding-write-worker.js +7 -7
- package/dist/{compaction-marker-candidates-5c44h1m9.js → compaction-marker-candidates-dkfp1q9j.js} +12 -2
- package/dist/compaction-marker-candidates-worker.js +5 -2
- package/dist/{compartment-chunk-embedding-ypktm0tk.js → compartment-chunk-embedding-snj51nmg.js} +5 -5
- package/dist/{conflict-warning-hook-b75jn458.js → conflict-warning-hook-w1aw6w5t.js} +4 -4
- package/dist/{context-zf1yj1g0.js → context-y85dvs6j.js} +28 -28
- package/dist/{embedding-backfill-rma0v2ct.js → embedding-backfill-kpy5shsa.js} +9 -9
- package/dist/embedding-worker.js +4 -4
- package/dist/features/magic-context/compaction-marker-candidates.d.ts +57 -4
- package/dist/features/magic-context/compaction-marker-candidates.d.ts.map +1 -1
- package/dist/features/magic-context/compaction-marker.d.ts +18 -3
- package/dist/features/magic-context/compaction-marker.d.ts.map +1 -1
- package/dist/features/magic-context/memory/embedding-openai.d.ts.map +1 -1
- package/dist/features/magic-context/memory/embedding-query-deadline.d.ts +8 -0
- package/dist/features/magic-context/memory/embedding-query-deadline.d.ts.map +1 -0
- package/dist/features/magic-context/overflow-detection.d.ts +16 -6
- package/dist/features/magic-context/overflow-detection.d.ts.map +1 -1
- package/dist/features/magic-context/scheduler.d.ts.map +1 -1
- package/dist/hooks/auto-update-checker/index.d.ts +6 -0
- package/dist/hooks/auto-update-checker/index.d.ts.map +1 -1
- package/dist/hooks/magic-context/apply-operations.d.ts +5 -4
- package/dist/hooks/magic-context/apply-operations.d.ts.map +1 -1
- package/dist/hooks/magic-context/cache-busting-signals.d.ts +4 -4
- package/dist/hooks/magic-context/cache-busting-signals.d.ts.map +1 -1
- package/dist/hooks/magic-context/compaction-marker-manager.d.ts +7 -1
- package/dist/hooks/magic-context/compaction-marker-manager.d.ts.map +1 -1
- package/dist/hooks/magic-context/compaction-marker-publication.d.ts.map +1 -1
- package/dist/hooks/magic-context/event-handler.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/local-wire-reading.d.ts +54 -0
- package/dist/hooks/magic-context/local-wire-reading.d.ts.map +1 -0
- package/dist/hooks/magic-context/read-session-formatting.d.ts +2 -1
- package/dist/hooks/magic-context/read-session-formatting.d.ts.map +1 -1
- package/dist/hooks/magic-context/read-session-raw.d.ts.map +1 -1
- package/dist/hooks/magic-context/rust-mode-transform.d.ts.map +1 -1
- package/dist/hooks/magic-context/system-date-refresh.d.ts +1 -2
- package/dist/hooks/magic-context/system-date-refresh.d.ts.map +1 -1
- package/dist/hooks/magic-context/system-prompt-hash.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform-context-state.d.ts +38 -6
- package/dist/hooks/magic-context/transform-context-state.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform-postprocess-phase.d.ts +5 -2
- 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-ayk4we2k.js → index-0a79y98x.js} +41 -31
- package/dist/{index-jggt5gf2.js → index-1hwn96x1.js} +1 -1
- package/dist/{index-ae1ar4v1.js → index-25ka1jza.js} +1 -1
- package/dist/{index-c5dzns43.js → index-4dpvnp8k.js} +1 -1
- package/dist/{index-n8bsqg7b.js → index-7na94cjf.js} +3 -3
- package/dist/{index-fas76dft.js → index-980brvjr.js} +8 -8
- package/dist/{index-4xyjr62e.js → index-ak11t3gm.js} +4 -0
- package/dist/{index-vd2ywmfe.js → index-brj6was5.js} +1 -1
- package/dist/{index-gsqz39wk.js → index-bzq05g00.js} +3 -3
- package/dist/{index-ty4vhe4n.js → index-d4qw2h43.js} +4 -4
- package/dist/{index-5m2azs6v.js → index-dcdvyaeh.js} +4 -4
- package/dist/{index-g4t7850m.js → index-dj2p8653.js} +1 -1
- package/dist/{index-adt3jghq.js → index-fs3zfby1.js} +169 -61
- package/dist/{index-xjw9rres.js → index-gf1vx3bn.js} +3 -3
- package/dist/{index-3w1pbn85.js → index-gn6gfz4y.js} +64 -12
- package/dist/{index-8jjjmhab.js → index-gxqr0sbd.js} +1 -1
- package/dist/{index-b1ydbp95.js → index-h9m41624.js} +1 -1
- package/dist/{index-xd2p95m7.js → index-hkh8x221.js} +2 -2
- package/dist/{index-rdx17j04.js → index-jwa5t1s4.js} +6 -6
- package/dist/{index-dcjkw41m.js → index-qcz1fy7h.js} +3 -3
- package/dist/{index-1zv08avf.js → index-qdx8dq60.js} +5 -5
- package/dist/{index-z6v8086q.js → index-rk5hyc41.js} +5 -5
- package/dist/{index-21fgrfrf.js → index-s79g172v.js} +64 -22
- package/dist/{index-xnm0wq1r.js → index-sd2s4t4p.js} +1 -1
- package/dist/{index-jkanybgq.js → index-smtbdmc3.js} +1 -1
- package/dist/{index-p2e7j9p1.js → index-tvd2j34s.js} +2 -2
- package/dist/{index-zqsp3z0d.js → index-wwg1je98.js} +9 -6
- package/dist/{index-r2epb000.js → index-xa9mmq6c.js} +2 -1
- package/dist/{index-xmqj3cf5.js → index-xejh7cqv.js} +136 -63
- package/dist/{index-kfsqk1q7.js → index-z8dacvkt.js} +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +44 -40
- package/dist/{message-fts-rowid-map-t6qsyg9s.js → message-fts-rowid-map-msffhkve.js} +2 -2
- package/dist/{message-index-bounded-5mj8p6nq.js → message-index-bounded-d8xt6q5c.js} +9 -9
- package/dist/migration-worker.js +5 -5
- package/dist/{project-embedding-registry-3yyegjma.js → project-embedding-registry-r6xfsrbe.js} +8 -8
- package/dist/raw-ordinal-warmup-worker.js +7 -7
- package/dist/{read-session-chunk-k70bhfjm.js → read-session-chunk-k3fqshw8.js} +7 -7
- package/dist/{read-session-raw-j7c9w57v.js → read-session-raw-x7a9b3jm.js} +1 -1
- package/dist/{recomp-orchestrator-2q4rmerf.js → recomp-orchestrator-y75thsc3.js} +21 -21
- package/dist/{render-36fvvwz6.js → render-3psbedzk.js} +14 -14
- package/dist/{search-archive-jwb2ctnq.js → search-archive-rvr7j5gx.js} +9 -9
- package/dist/{search-6v2na3af.js → search-hd16c8gq.js} +17 -17
- package/dist/{send-session-notification-14p3yje4.js → send-session-notification-j93pn2hn.js} +3 -3
- package/dist/shared/status-view.d.ts.map +1 -1
- package/dist/{storage-tags-vj0yj7ed.js → storage-tags-ye9aqrqy.js} +2 -2
- package/dist/tools/ctx-search/tools.d.ts.map +1 -1
- package/dist/{transform-postprocess-phase-0ms3ga4h.js → transform-postprocess-phase-1rzxmkhb.js} +22 -22
- package/dist/v2/auto-search-worker.js +4 -4
- package/dist/v2/chunk-embedding-write-worker.js +7 -7
- package/dist/v2/compaction-marker-candidates-worker.js +5 -2
- package/dist/v2/{compaction-marker-candidates-jy65jt49.js → compaction-marker-candidates-y737qb1v.js} +12 -2
- package/dist/v2/{compartment-chunk-embedding-qfk791bd.js → compartment-chunk-embedding-nj5nrnbj.js} +5 -5
- package/dist/v2/{context-2xr6vbt2.js → context-0e946t63.js} +194 -76
- package/dist/v2/{embedding-backfill-00tw59rx.js → embedding-backfill-360efh1t.js} +9 -9
- package/dist/v2/embedding-worker.js +4 -4
- package/dist/v2/hooks/context.d.ts.map +1 -1
- package/dist/v2/{message-fts-rowid-map-z86avy0n.js → message-fts-rowid-map-qe7cpksd.js} +2 -2
- package/dist/v2/{message-index-bounded-5341qsqd.js → message-index-bounded-wt64v2rn.js} +8 -8
- package/dist/v2/migration-worker.js +5 -5
- package/dist/v2/{project-embedding-registry-jqq2qeqb.js → project-embedding-registry-ek0cy0d5.js} +8 -8
- package/dist/v2/raw-ordinal-warmup-worker.js +7 -7
- package/dist/v2/{read-session-chunk-dgmq3ntm.js → read-session-chunk-4b31z6bz.js} +6 -6
- package/dist/v2/{read-session-raw-qpp6x9kg.js → read-session-raw-yss2ev98.js} +1 -1
- package/dist/v2/{recomp-orchestrator-2vmyhtst.js → recomp-orchestrator-6qrm2nea.js} +19 -19
- package/dist/v2/{render-kz0f40ws.js → render-f8mw16pp.js} +13 -13
- package/dist/v2/{search-archive-wajxd01m.js → search-archive-7d0xdp54.js} +8 -8
- package/dist/v2/{search-a9hwy1sw.js → search-ecjd7e50.js} +15 -15
- package/dist/v2/{send-session-notification-kxp47tsw.js → send-session-notification-na3q825m.js} +1 -1
- package/dist/v2/{server-09td1wgc.js → server-0ymsgh0j.js} +3 -3
- package/dist/v2/{server-nmyganc8.js → server-131h608x.js} +1 -1
- package/dist/v2/{server-7acq7815.js → server-2gjqhmn9.js} +64 -22
- package/dist/v2/{server-xy7w7hrd.js → server-2j87594q.js} +1 -1
- package/dist/v2/{server-7qc9tk6z.js → server-2qyfev3b.js} +5 -5
- package/dist/v2/{server-qehn6btp.js → server-39kzpp8q.js} +4 -4
- package/dist/v2/{server-969cdpmg.js → server-7vb38e51.js} +4 -0
- package/dist/v2/{server-sfcp13bn.js → server-an1ff8d8.js} +3 -3
- package/dist/v2/{server-tnzbk64q.js → server-b3r080cm.js} +2 -1
- package/dist/v2/{server-zzgtgqmd.js → server-ddw42d76.js} +1 -1
- package/dist/v2/{server-3m7p4g9w.js → server-ftyc8awt.js} +3 -3
- package/dist/v2/{server-xfjjbrkt.js → server-gwqfwtzq.js} +1 -1
- package/dist/v2/{server-dwpgzm0t.js → server-gwxys0d0.js} +64 -12
- package/dist/v2/{server-dqs8e4yt.js → server-hq7fdqfm.js} +7 -7
- package/dist/v2/{server-7zacmty5.js → server-p9s40wfa.js} +1 -1
- package/dist/v2/{server-nq3cb7be.js → server-pej5rnye.js} +1 -1
- package/dist/v2/{server-6vzh6wej.js → server-sg2qjkrb.js} +2 -2
- package/dist/v2/{server-gkse1wyz.js → server-sr8tf5dt.js} +4 -4
- package/dist/v2/{server-avdveykk.js → server-vjhk8v41.js} +1 -1
- package/dist/v2/{server-kqrpt2ht.js → server-vnpnmrsv.js} +8 -5
- package/dist/v2/{server-p78wdf43.js → server-wbxbk3za.js} +3 -3
- package/dist/v2/{server-cp1a03vc.js → server-y8n33d9j.js} +3 -3
- package/dist/v2/{server-5ydn39x3.js → server-zqzh2ybj.js} +135 -62
- package/dist/v2/server.js +4 -4
- package/dist/v2/{storage-tags-cw07ky67.js → storage-tags-8nttt1sk.js} +2 -2
- package/dist/v2/{v2-archive-reader-ag6sk771.js → v2-archive-reader-53kp5mme.js} +1 -1
- package/dist/v2/{wrapup-orchestrator-2a077zew.js → wrapup-orchestrator-bng0dfxy.js} +19 -19
- package/dist/{v2-archive-reader-chk95syc.js → v2-archive-reader-0fcxs5e9.js} +1 -1
- package/dist/{wrapup-orchestrator-rhs675kj.js → wrapup-orchestrator-r5cqgyrg.js} +22 -22
- package/package.json +1 -1
- package/src/config/schema/magic-context.ts +1 -1
- package/src/shared/status-view.ts +3 -5
- package/src/tui/dialogs/status-dialog-render.test.ts +1 -1
|
@@ -27,12 +27,12 @@ serveWorkerJobs(async (initial, port) => {
|
|
|
27
27
|
{ Database, registerSqliteDiagnosticSink },
|
|
28
28
|
{ log }
|
|
29
29
|
] = await Promise.all([
|
|
30
|
-
import("./embedding-backfill-
|
|
30
|
+
import("./embedding-backfill-kpy5shsa.js"),
|
|
31
31
|
import("./embedding-cache-mgyr73ef.js"),
|
|
32
32
|
import("./storage-memory-e6a7mb0k.js"),
|
|
33
|
-
import("./project-embedding-registry-
|
|
34
|
-
import("./search-
|
|
35
|
-
import("./compartment-chunk-embedding-
|
|
33
|
+
import("./project-embedding-registry-r6xfsrbe.js"),
|
|
34
|
+
import("./search-hd16c8gq.js"),
|
|
35
|
+
import("./compartment-chunk-embedding-snj51nmg.js"),
|
|
36
36
|
import("./embedding-activity-g1dhes6g.js"),
|
|
37
37
|
import("./harness-e4avh192.js"),
|
|
38
38
|
import("./sqlite-zdgm52sv.js"),
|
|
@@ -11,21 +11,21 @@ import {
|
|
|
11
11
|
isWorkerCloseMessage,
|
|
12
12
|
exitOnWorkerClose
|
|
13
13
|
} from "./index-1d042x6w.js";
|
|
14
|
-
import"./index-
|
|
14
|
+
import"./index-ak11t3gm.js";
|
|
15
15
|
import"./index-g2q4htwp.js";
|
|
16
16
|
import"./index-z4p0ry94.js";
|
|
17
17
|
import"./index-jrfre9ah.js";
|
|
18
|
-
import"./index-
|
|
18
|
+
import"./index-dj2p8653.js";
|
|
19
19
|
import"./index-v0p37hm2.js";
|
|
20
20
|
import"./index-96ztjvkn.js";
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
21
|
+
import"./index-xa9mmq6c.js";
|
|
22
|
+
import"./index-h9m41624.js";
|
|
23
23
|
import {
|
|
24
24
|
replaceCompartmentChunkEmbeddings2,
|
|
25
25
|
recordChunkEmbedBackoff2,
|
|
26
26
|
loadUnembeddedSessionChunkCandidates2,
|
|
27
27
|
countUnembeddedSessionCompartments2
|
|
28
|
-
} from "./index-
|
|
28
|
+
} from "./index-qcz1fy7h.js";
|
|
29
29
|
import {
|
|
30
30
|
recordSessionProjectIdentity,
|
|
31
31
|
acquireGitSweepLease,
|
|
@@ -37,13 +37,13 @@ import"./index-2p37txes.js";
|
|
|
37
37
|
import {
|
|
38
38
|
LATEST_SUPPORTED_VERSION,
|
|
39
39
|
enforceSchemaFence
|
|
40
|
-
} from "./index-
|
|
40
|
+
} from "./index-z8dacvkt.js";
|
|
41
41
|
import"./index-wh9fxds5.js";
|
|
42
42
|
import"./index-nj360hcs.js";
|
|
43
43
|
import"./index-9wnbnx8f.js";
|
|
44
44
|
import"./index-fr0wbhdn.js";
|
|
45
45
|
import"./index-58e3y90n.js";
|
|
46
|
-
import"./index-
|
|
46
|
+
import"./index-smtbdmc3.js";
|
|
47
47
|
import"./index-fxbk7gk3.js";
|
|
48
48
|
import {
|
|
49
49
|
serveWorkerJobs
|
package/dist/{compaction-marker-candidates-5c44h1m9.js → compaction-marker-candidates-dkfp1q9j.js}
RENAMED
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isMarkerCandidateBasisCurrent2,
|
|
3
3
|
invalidateMarkerCandidateBasis2,
|
|
4
|
+
discardMarkerCandidateBasis2,
|
|
4
5
|
readMarkerCandidateBasis2,
|
|
5
6
|
prepareMarkerCandidateBasis2,
|
|
6
|
-
scanMarkerCandidateSnapshot2
|
|
7
|
-
|
|
7
|
+
scanMarkerCandidateSnapshot2,
|
|
8
|
+
readMarkerFrontiers2,
|
|
9
|
+
certifiedMarkerReferenceFloor2,
|
|
10
|
+
readMarkerReferenceRows2,
|
|
11
|
+
readKnownMarkerReferenceRows2
|
|
12
|
+
} from "./index-gn6gfz4y.js";
|
|
8
13
|
import"./index-96ztjvkn.js";
|
|
9
14
|
import"./index-v0p37hm2.js";
|
|
10
15
|
import"./index-gzy5w8ya.js";
|
|
@@ -14,9 +19,14 @@ import"./index-pavzsdc6.js";
|
|
|
14
19
|
import"./index-z4p0ry94.js";
|
|
15
20
|
import"./index-1d042x6w.js";
|
|
16
21
|
export {
|
|
22
|
+
certifiedMarkerReferenceFloor2 as certifiedMarkerReferenceFloor,
|
|
23
|
+
discardMarkerCandidateBasis2 as discardMarkerCandidateBasis,
|
|
17
24
|
invalidateMarkerCandidateBasis2 as invalidateMarkerCandidateBasis,
|
|
18
25
|
isMarkerCandidateBasisCurrent2 as isMarkerCandidateBasisCurrent,
|
|
19
26
|
prepareMarkerCandidateBasis2 as prepareMarkerCandidateBasis,
|
|
27
|
+
readKnownMarkerReferenceRows2 as readKnownMarkerReferenceRows,
|
|
20
28
|
readMarkerCandidateBasis2 as readMarkerCandidateBasis,
|
|
29
|
+
readMarkerFrontiers2 as readMarkerFrontiers,
|
|
30
|
+
readMarkerReferenceRows2 as readMarkerReferenceRows,
|
|
21
31
|
scanMarkerCandidateSnapshot2 as scanMarkerCandidateSnapshot
|
|
22
32
|
};
|
|
@@ -7,14 +7,17 @@ serveWorkerJobs(async (input, port) => {
|
|
|
7
7
|
port.postMessage({ kind: "accepted" });
|
|
8
8
|
const [{ Database }, { scanMarkerCandidateSnapshot }] = await Promise.all([
|
|
9
9
|
import("./sqlite-zdgm52sv.js"),
|
|
10
|
-
import("./compaction-marker-candidates-
|
|
10
|
+
import("./compaction-marker-candidates-dkfp1q9j.js")
|
|
11
11
|
]);
|
|
12
12
|
let db;
|
|
13
13
|
let reply;
|
|
14
14
|
try {
|
|
15
15
|
db = new Database(input.path, { readonly: true });
|
|
16
16
|
db.exec("PRAGMA busy_timeout=250");
|
|
17
|
-
reply = {
|
|
17
|
+
reply = {
|
|
18
|
+
kind: "candidates",
|
|
19
|
+
snapshot: scanMarkerCandidateSnapshot(db, input.sessionId, input.references !== false)
|
|
20
|
+
};
|
|
18
21
|
} catch (error) {
|
|
19
22
|
reply = { kind: "error", error: error instanceof Error ? error.message : String(error) };
|
|
20
23
|
} finally {
|
package/dist/{compartment-chunk-embedding-ypktm0tk.js → compartment-chunk-embedding-snj51nmg.js}
RENAMED
|
@@ -24,14 +24,14 @@ import {
|
|
|
24
24
|
countSessionCompartmentEmbedCoverage2,
|
|
25
25
|
countSessionCompartmentEmbedCoveragePolite2,
|
|
26
26
|
countUnembeddedSessionCompartmentsPolite2
|
|
27
|
-
} from "./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
27
|
+
} from "./index-qcz1fy7h.js";
|
|
28
|
+
import"./index-dj2p8653.js";
|
|
29
|
+
import"./index-h9m41624.js";
|
|
30
|
+
import"./index-xa9mmq6c.js";
|
|
31
31
|
import"./index-96ztjvkn.js";
|
|
32
32
|
import"./index-v0p37hm2.js";
|
|
33
33
|
import"./index-fxbk7gk3.js";
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-ak11t3gm.js";
|
|
35
35
|
import"./index-gzy5w8ya.js";
|
|
36
36
|
import"./index-jrfre9ah.js";
|
|
37
37
|
import"./index-g2q4htwp.js";
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
cleanupConflictWarnings2,
|
|
5
5
|
sendSchemaFenceWarning2,
|
|
6
6
|
sendStartupAnnouncement2
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-1hwn96x1.js";
|
|
8
8
|
import"./index-hacf2tyx.js";
|
|
9
9
|
import"./index-sd3egckz.js";
|
|
10
|
-
import"./index-
|
|
10
|
+
import"./index-25ka1jza.js";
|
|
11
11
|
import"./index-qt1qqasc.js";
|
|
12
|
-
import"./index-
|
|
12
|
+
import"./index-brj6was5.js";
|
|
13
13
|
import"./index-fw42ms3m.js";
|
|
14
|
-
import"./index-
|
|
14
|
+
import"./index-xa9mmq6c.js";
|
|
15
15
|
import"./index-96ztjvkn.js";
|
|
16
16
|
import"./index-v0p37hm2.js";
|
|
17
17
|
import"./index-58e3y90n.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
rebaseSessionCoordinatesAsync,
|
|
38
38
|
resolveOpenCodeProtectedTailBoundary,
|
|
39
39
|
getActiveCompartmentRun
|
|
40
|
-
} from "./index-
|
|
40
|
+
} from "./index-xejh7cqv.js";
|
|
41
41
|
import"./index-sd3egckz.js";
|
|
42
42
|
import {
|
|
43
43
|
getHarness2
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
resolveKnownHistorianContextLimit2,
|
|
62
62
|
resolveHistorianContextLimit2
|
|
63
63
|
} from "./index-dnqqqc5f.js";
|
|
64
|
-
import"./index-
|
|
64
|
+
import"./index-4dpvnp8k.js";
|
|
65
65
|
import {
|
|
66
66
|
CANONICAL_DREAM_TASKS,
|
|
67
67
|
DREAM_TASK_CAPABILITIES,
|
|
@@ -131,7 +131,7 @@ import {
|
|
|
131
131
|
applyJsonSchemaParameterDescriptions,
|
|
132
132
|
MagicContextRpcServer,
|
|
133
133
|
subagentTemperature
|
|
134
|
-
} from "./index-
|
|
134
|
+
} from "./index-fs3zfby1.js";
|
|
135
135
|
import {
|
|
136
136
|
resolveHistorianModel2
|
|
137
137
|
} from "./index-5kym00ag.js";
|
|
@@ -156,7 +156,7 @@ import {
|
|
|
156
156
|
} from "./index-gzy5w8ya.js";
|
|
157
157
|
import"./index-96ztjvkn.js";
|
|
158
158
|
import"./index-1d042x6w.js";
|
|
159
|
-
import"./index-
|
|
159
|
+
import"./index-xa9mmq6c.js";
|
|
160
160
|
import"./index-1zx87sdm.js";
|
|
161
161
|
import {
|
|
162
162
|
stripPersistedAssistantText,
|
|
@@ -165,17 +165,17 @@ import {
|
|
|
165
165
|
isDroppedToolOutput,
|
|
166
166
|
evaluateChannel2,
|
|
167
167
|
buildChannel2Reminder
|
|
168
|
-
} from "./index-
|
|
168
|
+
} from "./index-gxqr0sbd.js";
|
|
169
169
|
import {
|
|
170
170
|
hasMeaningfulUserText2,
|
|
171
171
|
preloadTokenizer,
|
|
172
172
|
estimateTokens
|
|
173
|
-
} from "./index-
|
|
173
|
+
} from "./index-ak11t3gm.js";
|
|
174
174
|
import {
|
|
175
175
|
getTableColumnNames
|
|
176
176
|
} from "./index-9wnbnx8f.js";
|
|
177
177
|
import"./index-58e3y90n.js";
|
|
178
|
-
import"./index-
|
|
178
|
+
import"./index-brj6was5.js";
|
|
179
179
|
import {
|
|
180
180
|
needsBlockedRead,
|
|
181
181
|
DreamTokenBudgetExceeded,
|
|
@@ -210,25 +210,25 @@ import {
|
|
|
210
210
|
cleanUserText2,
|
|
211
211
|
readRawSessionMessageIdOrdinalsForRange2,
|
|
212
212
|
readRawSessionMessageOrdinalById2
|
|
213
|
-
} from "./index-
|
|
213
|
+
} from "./index-wwg1je98.js";
|
|
214
214
|
import {
|
|
215
215
|
BoundedSessionMap,
|
|
216
216
|
recordToolDefinitionSet,
|
|
217
217
|
getCurrentToolSetHash
|
|
218
|
-
} from "./index-
|
|
219
|
-
import"./index-
|
|
220
|
-
import"./index-
|
|
218
|
+
} from "./index-smtbdmc3.js";
|
|
219
|
+
import"./index-bzq05g00.js";
|
|
220
|
+
import"./index-h9m41624.js";
|
|
221
221
|
import {
|
|
222
222
|
scheduleClearAndReindex
|
|
223
|
-
} from "./index-
|
|
223
|
+
} from "./index-tvd2j34s.js";
|
|
224
224
|
import {
|
|
225
225
|
invalidateAutoEmbedSession,
|
|
226
226
|
clearEmbedSessionState
|
|
227
227
|
} from "./index-2amn2s73.js";
|
|
228
|
-
import"./index-
|
|
228
|
+
import"./index-dj2p8653.js";
|
|
229
229
|
import {
|
|
230
230
|
deleteChunkEmbedBackoffForSession2
|
|
231
|
-
} from "./index-
|
|
231
|
+
} from "./index-qcz1fy7h.js";
|
|
232
232
|
import"./index-2p37txes.js";
|
|
233
233
|
import {
|
|
234
234
|
advanceSessionActivity,
|
|
@@ -257,7 +257,7 @@ import {
|
|
|
257
257
|
getSlot,
|
|
258
258
|
dropSlot,
|
|
259
259
|
copySessionStateForClone
|
|
260
|
-
} from "./index-
|
|
260
|
+
} from "./index-jwa5t1s4.js";
|
|
261
261
|
import {
|
|
262
262
|
startBootDeadline,
|
|
263
263
|
BOOT_SQLITE_BUSY_TIMEOUT_MS,
|
|
@@ -265,7 +265,7 @@ import {
|
|
|
265
265
|
openDatabaseAsync,
|
|
266
266
|
isDatabasePersisted,
|
|
267
267
|
getDatabasePersistenceError
|
|
268
|
-
} from "./index-
|
|
268
|
+
} from "./index-z8dacvkt.js";
|
|
269
269
|
import"./index-fr0wbhdn.js";
|
|
270
270
|
import"./index-nj360hcs.js";
|
|
271
271
|
import {
|
|
@@ -284,29 +284,29 @@ import {
|
|
|
284
284
|
EmergencyFailClosedError,
|
|
285
285
|
DegradedPassRefusalError,
|
|
286
286
|
isSyntheticHeadMessage2
|
|
287
|
-
} from "./index-
|
|
288
|
-
import"./index-
|
|
287
|
+
} from "./index-0a79y98x.js";
|
|
288
|
+
import"./index-gn6gfz4y.js";
|
|
289
289
|
import"./index-qt1qqasc.js";
|
|
290
290
|
import {
|
|
291
291
|
retainProjectEmbedding2
|
|
292
|
-
} from "./index-
|
|
292
|
+
} from "./index-s79g172v.js";
|
|
293
293
|
import"./index-jz5bk7xd.js";
|
|
294
294
|
import"./index-4dhv7mqz.js";
|
|
295
|
-
import"./index-
|
|
296
|
-
import"./index-
|
|
295
|
+
import"./index-hkh8x221.js";
|
|
296
|
+
import"./index-d4qw2h43.js";
|
|
297
297
|
import"./index-jjvbk92s.js";
|
|
298
298
|
import {
|
|
299
299
|
renderUserFacingFailure,
|
|
300
300
|
userFacingFailureCode
|
|
301
|
-
} from "./index-
|
|
301
|
+
} from "./index-sd2s4t4p.js";
|
|
302
302
|
import {
|
|
303
303
|
pushNotification2,
|
|
304
304
|
isTuiConnected2
|
|
305
305
|
} from "./index-x8a7jmkh.js";
|
|
306
306
|
import"./index-fw42ms3m.js";
|
|
307
|
-
import"./index-
|
|
308
|
-
import"./index-
|
|
309
|
-
import"./index-
|
|
307
|
+
import"./index-25ka1jza.js";
|
|
308
|
+
import"./index-980brvjr.js";
|
|
309
|
+
import"./index-dcdvyaeh.js";
|
|
310
310
|
import"./index-gp3kcpc4.js";
|
|
311
311
|
import {
|
|
312
312
|
detectConflicts
|
|
@@ -329,10 +329,10 @@ import {
|
|
|
329
329
|
createV2RawMessageProvider2
|
|
330
330
|
} from "./index-29gd1zcx.js";
|
|
331
331
|
import"./index-fmsr7v69.js";
|
|
332
|
-
import"./index-
|
|
332
|
+
import"./index-gf1vx3bn.js";
|
|
333
333
|
import"./index-kaqs6h31.js";
|
|
334
|
-
import"./index-
|
|
335
|
-
import"./index-
|
|
334
|
+
import"./index-7na94cjf.js";
|
|
335
|
+
import"./index-rk5hyc41.js";
|
|
336
336
|
import {
|
|
337
337
|
isDreamerRunnable,
|
|
338
338
|
isSmartNoteSurfaceAvailable,
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureMemoryEmbeddings2
|
|
3
|
-
} from "./index-
|
|
4
|
-
import"./index-
|
|
3
|
+
} from "./index-d4qw2h43.js";
|
|
4
|
+
import"./index-s79g172v.js";
|
|
5
5
|
import"./index-4dhv7mqz.js";
|
|
6
6
|
import"./index-2amn2s73.js";
|
|
7
7
|
import"./index-qt1qqasc.js";
|
|
8
|
-
import"./index-
|
|
9
|
-
import"./index-
|
|
8
|
+
import"./index-hkh8x221.js";
|
|
9
|
+
import"./index-4dpvnp8k.js";
|
|
10
10
|
import"./index-jz5bk7xd.js";
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
11
|
+
import"./index-qcz1fy7h.js";
|
|
12
|
+
import"./index-dj2p8653.js";
|
|
13
13
|
import"./index-txs8tce6.js";
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
14
|
+
import"./index-h9m41624.js";
|
|
15
|
+
import"./index-xa9mmq6c.js";
|
|
16
16
|
import"./index-96ztjvkn.js";
|
|
17
17
|
import"./index-v0p37hm2.js";
|
|
18
18
|
import"./index-fxbk7gk3.js";
|
|
19
|
-
import"./index-
|
|
19
|
+
import"./index-ak11t3gm.js";
|
|
20
20
|
import"./index-gzy5w8ya.js";
|
|
21
21
|
import"./index-jrfre9ah.js";
|
|
22
22
|
import"./index-g2q4htwp.js";
|
package/dist/embedding-worker.js
CHANGED
|
@@ -6,15 +6,15 @@ import"./index-z4p0ry94.js";
|
|
|
6
6
|
import {
|
|
7
7
|
log2
|
|
8
8
|
} from "./index-jrfre9ah.js";
|
|
9
|
-
import"./index-
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
9
|
+
import"./index-4dpvnp8k.js";
|
|
10
|
+
import"./index-dj2p8653.js";
|
|
11
|
+
import"./index-ak11t3gm.js";
|
|
12
12
|
import"./index-gzy5w8ya.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveLocalEmbeddingWorkerRuntime,
|
|
15
15
|
getLocalEmbeddingNativeMemoryStats,
|
|
16
16
|
LocalEmbeddingProvider
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-hkh8x221.js";
|
|
18
18
|
import {
|
|
19
19
|
setStoragePrivatePermissionEnforcement
|
|
20
20
|
} from "./index-fvnzcnww.js";
|
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
import { type Database } from "../../shared/sqlite";
|
|
2
|
-
interface MarkerFrontier {
|
|
2
|
+
export interface MarkerFrontier {
|
|
3
3
|
rowid: number;
|
|
4
4
|
id: string;
|
|
5
5
|
}
|
|
6
|
+
/** Compaction parts that may carry a tail_start_id, found by one full scan of
|
|
7
|
+
* the session, and the newest part rows of that same read snapshot. A later read
|
|
8
|
+
* rechecks these IDs by primary key and reads only parts inserted after a
|
|
9
|
+
* certified frontier row, so it never rescans the session's old parts. */
|
|
10
|
+
export interface MarkerReferenceSeed {
|
|
11
|
+
partIds: string[];
|
|
12
|
+
partFrontiers: MarkerFrontier[];
|
|
13
|
+
}
|
|
6
14
|
export interface MarkerCandidateSnapshot {
|
|
7
15
|
ids: string[];
|
|
8
16
|
frontier: MarkerFrontier | null;
|
|
17
|
+
/** Present when the preparation asked for reference discovery. */
|
|
18
|
+
references?: MarkerReferenceSeed;
|
|
9
19
|
}
|
|
10
20
|
export interface MarkerCandidateBasis extends MarkerCandidateSnapshot {
|
|
11
21
|
connection: Database;
|
|
@@ -17,6 +27,11 @@ export interface MarkerCandidatePreparationOptions {
|
|
|
17
27
|
entry?: URL;
|
|
18
28
|
acceptMs?: number;
|
|
19
29
|
resultMs?: number;
|
|
30
|
+
/** Also scan the session for tail_start_id reference rows (default true). */
|
|
31
|
+
references?: boolean;
|
|
32
|
+
/** Run a custom `entry` on the shared worker pool, as the default entry runs.
|
|
33
|
+
* The entry must then serve jobs through serveWorkerJobs. */
|
|
34
|
+
shareWorker?: boolean;
|
|
20
35
|
}
|
|
21
36
|
export type MarkerCandidateReply = {
|
|
22
37
|
kind: "accepted";
|
|
@@ -30,6 +45,8 @@ export type MarkerCandidateReply = {
|
|
|
30
45
|
export declare const MARKER_CERTIFICATION_SQL = "SELECT\n (SELECT rowid FROM message WHERE id = ?) AS previousRowid,\n (SELECT rowid FROM message ORDER BY rowid DESC LIMIT 1) AS newestRowid,\n (SELECT id FROM message ORDER BY rowid DESC LIMIT 1) AS newestId,\n EXISTS(SELECT 1 FROM message\n WHERE rowid > ? AND +session_id = ? AND json_valid(data)\n AND COALESCE(json_extract(data, '$.summary'), 0) = 1) AS newSummary";
|
|
31
46
|
export declare function isMarkerCandidateBasisCurrent(db: Database, basis: MarkerCandidateBasis): boolean;
|
|
32
47
|
export declare function invalidateMarkerCandidateBasis(db: Database, sessionId: string): void;
|
|
48
|
+
/** Forget this session's prepared basis so the next preparation scans again. */
|
|
49
|
+
export declare function discardMarkerCandidateBasis(db: Database, sessionId: string): void;
|
|
33
50
|
export declare function readMarkerCandidateBasis(db: Database, sessionId: string, readConnection?: Database): MarkerCandidateBasis | undefined;
|
|
34
51
|
/** Discover summary IDs off-thread. Defer cleanup if a new summary appears or the
|
|
35
52
|
* last scanned row is deleted or assigned a different rowid. Ordinary message
|
|
@@ -41,7 +58,43 @@ export declare function prepareMarkerCandidateBasis(db: Database, sessionId: str
|
|
|
41
58
|
* precede their parent even though the original writer used later timestamps. */
|
|
42
59
|
export declare function scanMarkerSummaryCandidates(db: Database, sessionId: string): string[];
|
|
43
60
|
/** Read summary IDs and the newest row in one snapshot, so an insert between
|
|
44
|
-
* those reads cannot be skipped by the next rowid-based certification.
|
|
45
|
-
|
|
46
|
-
|
|
61
|
+
* those reads cannot be skipped by the next rowid-based certification. With
|
|
62
|
+
* `references`, the same snapshot also supplies the compaction parts and part
|
|
63
|
+
* frontier that marker replacement would otherwise have to scan for on the
|
|
64
|
+
* main thread. The part table is the expensive one: it holds every tool output
|
|
65
|
+
* and text of the session. */
|
|
66
|
+
export declare function scanMarkerCandidateSnapshot(db: Database, sessionId: string, references?: boolean): MarkerCandidateSnapshot;
|
|
67
|
+
/** How many of the newest rows a reference snapshot records as frontier
|
|
68
|
+
* candidates. One deleted row (our own marker retirement, a cleanup, a host
|
|
69
|
+
* revert) then leaves a lower candidate to read above instead of forcing a
|
|
70
|
+
* new discovery. */
|
|
71
|
+
export declare const MARKER_FRONTIER_CANDIDATES = 3;
|
|
72
|
+
/** The newest rows of a host table by rowid, newest first; empty when the table is. */
|
|
73
|
+
export declare function readMarkerFrontiers(db: Database, table: "part" | "message", count?: number): MarkerFrontier[];
|
|
74
|
+
export declare const MARKER_REFERENCE_FRONTIER_SQL: (table: "part" | "message") => string;
|
|
75
|
+
/** The rowid above which every row inserted into `table` since `frontiers` were
|
|
76
|
+
* read must lie, or undefined when no recorded candidate can prove that.
|
|
77
|
+
*
|
|
78
|
+
* SQLite gives a new row a rowid above the table's current maximum. While a
|
|
79
|
+
* recorded row keeps its ID and rowid, the maximum never drops below it, so
|
|
80
|
+
* every later insert lands above that row, even if newer recorded rows were
|
|
81
|
+
* deleted and their rowids reused. The highest candidate that still maps to its
|
|
82
|
+
* recorded rowid is therefore a safe floor. If every candidate was deleted or
|
|
83
|
+
* renumbered, a later insert may have reused a lower rowid and a suffix read
|
|
84
|
+
* could miss it. The summary basis certifies its message frontier by the same
|
|
85
|
+
* rule. No candidates means the table was empty: every row present now is new. */
|
|
86
|
+
export declare function certifiedMarkerReferenceFloor(db: Database, table: "part" | "message", frontiers: readonly MarkerFrontier[]): number | undefined;
|
|
87
|
+
export interface MarkerTailReference {
|
|
88
|
+
id: string;
|
|
89
|
+
direct: unknown;
|
|
90
|
+
nested: unknown;
|
|
91
|
+
}
|
|
92
|
+
/** Without `afterRowid`, read every reference row of the session: a full scan.
|
|
93
|
+
* For parts only the discovery worker runs it; the message scan stays on the
|
|
94
|
+
* main thread, once per session per process. With `afterRowid`, read only rows
|
|
95
|
+
* inserted after a certified frontier row; +session_id keeps SQLite on the
|
|
96
|
+
* rowid range instead of the session index. */
|
|
97
|
+
export declare function readMarkerReferenceRows(db: Database, sessionId: string, table: "part" | "message", afterRowid?: number): MarkerTailReference[];
|
|
98
|
+
/** Reread known reference rows by primary key; a deleted row returns nothing. */
|
|
99
|
+
export declare function readKnownMarkerReferenceRows(db: Database, sessionId: string, table: "part" | "message", ids: readonly string[]): MarkerTailReference[];
|
|
47
100
|
//# sourceMappingURL=compaction-marker-candidates.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compaction-marker-candidates.d.ts","sourceRoot":"","sources":["../../../src/features/magic-context/compaction-marker-candidates.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,QAAQ,EAAyB,MAAM,qBAAqB,CAAC;AAG3E,
|
|
1
|
+
{"version":3,"file":"compaction-marker-candidates.d.ts","sourceRoot":"","sources":["../../../src/features/magic-context/compaction-marker-candidates.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,QAAQ,EAAyB,MAAM,qBAAqB,CAAC;AAG3E,MAAM,WAAW,cAAc;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;CACd;AACD;;;0EAG0E;AAC1E,MAAM,WAAW,mBAAmB;IAChC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,aAAa,EAAE,cAAc,EAAE,CAAC;CACnC;AACD,MAAM,WAAW,uBAAuB;IACpC,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,QAAQ,EAAE,cAAc,GAAG,IAAI,CAAC;IAChC,kEAAkE;IAClE,UAAU,CAAC,EAAE,mBAAmB,CAAC;CACpC;AACD,MAAM,WAAW,oBAAqB,SAAQ,uBAAuB;IACjE,UAAU,EAAE,QAAQ,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;CAC5B;AACD,MAAM,WAAW,iCAAiC;IAC9C,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,6EAA6E;IAC7E,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;iEAC6D;IAC7D,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB;AACD,MAAM,MAAM,oBAAoB,GAC1B;IAAE,IAAI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AE,CAQlB;AAED,eAAO,MAAM,6BAA6B,GAAI,OAAO,MAAM,GAAG,SAAS,WAC1B,CAAC;AAE9C;;;;;;;;;;kFAUkF;AAClF,wBAAgB,6BAA6B,CACzC,EAAE,EAAE,QAAQ,EACZ,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,SAAS,EAAE,SAAS,cAAc,EAAE,GACrC,MAAM,GAAG,SAAS,CAQpB;AAED,MAAM,WAAW,mBAAmB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;CACnB;AAMD;;;;+CAI+C;AAC/C,wBAAgB,uBAAuB,CACnC,EAAE,EAAE,QAAQ,EACZ,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,UAAU,CAAC,EAAE,MAAM,GACpB,mBAAmB,EAAE,CAYvB;AAED,iFAAiF;AACjF,wBAAgB,4BAA4B,CACxC,EAAE,EAAE,QAAQ,EACZ,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,GAAG,EAAE,SAAS,MAAM,EAAE,GACvB,mBAAmB,EAAE,CAOvB"}
|
|
@@ -98,8 +98,12 @@ export declare function planCompactionMarker(args: InjectCompactionMarkerArgs, b
|
|
|
98
98
|
/** Caller holds the host writer lock. Retirement requires a vanished target
|
|
99
99
|
* and no surviving marker-owned rows, including partial remnants. */
|
|
100
100
|
export declare function isCompactionMarkerIntentAbsent(marker: CompactionMarkerState, targetEndMessageId: string | null): boolean;
|
|
101
|
-
/** Serialize recovery and intent staging with host writers, without changing host rows.
|
|
102
|
-
|
|
101
|
+
/** Serialize recovery and intent staging with host writers, without changing host rows.
|
|
102
|
+
* When the session's part references cannot be read without a new discovery,
|
|
103
|
+
* nothing is locked or written: discovery restarts in the background and
|
|
104
|
+
* `onReferencesMissing` answers instead, so the caller can report a clean
|
|
105
|
+
* deferral whatever publication intent is staged. */
|
|
106
|
+
export declare function withCompactionMarkerPublicationLock<T>(operation: () => T, sessionId: string, onReferencesMissing?: () => T): T;
|
|
103
107
|
export type MarkerPublicationInspection = {
|
|
104
108
|
kind: "deferred";
|
|
105
109
|
} | {
|
|
@@ -121,8 +125,19 @@ export declare const LEGACY_MARKER_LINEAGE_SQL = "SELECT m.id\n FROM message
|
|
|
121
125
|
export declare function injectCompactionMarker(args: InjectCompactionMarkerArgs): CompactionMarkerState | null;
|
|
122
126
|
/** Prepare summary IDs for marker cleanup independently of message-number lookup.
|
|
123
127
|
* If discovery is unavailable or the store changes during it, return false:
|
|
124
|
-
* callers keep the existing marker but can still serve the rebuilt history.
|
|
128
|
+
* callers keep the existing marker but can still serve the rebuilt history.
|
|
129
|
+
* The worker also scans the session's compaction parts unless this process
|
|
130
|
+
* already holds a reference snapshot for the session, so marker replacement
|
|
131
|
+
* never has to scan the session's parts on the main thread. */
|
|
125
132
|
export declare function prepareCompactionMarkerCandidates(sessionId: string, options?: MarkerCandidatePreparationOptions): Promise<boolean>;
|
|
133
|
+
/** For a transform pass, which must never wait for discovery. "ready": marker
|
|
134
|
+
* replacement can run now. "preparing": discovery was started in the background
|
|
135
|
+
* (at most one run per session is in flight); the caller defers the marker move
|
|
136
|
+
* to a later pass. "unavailable": the host store could not be opened, so no
|
|
137
|
+
* discovery started; the error is logged, never thrown. */
|
|
138
|
+
export declare function startCompactionMarkerCandidatePreparation(sessionId: string): "ready" | "preparing" | "unavailable";
|
|
139
|
+
/** Whether a marker move could run now from prepared discovery. Starts nothing. */
|
|
140
|
+
export declare function isCompactionMarkerDiscoveryReady(sessionId: string): boolean;
|
|
126
141
|
/** Return every summary ID discovered for this session, only while the store is
|
|
127
142
|
* unchanged. Cleanup probes these primary keys; diagnostics can inspect them. */
|
|
128
143
|
export declare function getPreparedCompactionMarkerSummaryIds(sessionId: string): readonly string[] | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compaction-marker.d.ts","sourceRoot":"","sources":["../../../src/features/magic-context/compaction-marker.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAaH,OAAO,
|
|
1
|
+
{"version":3,"file":"compaction-marker.d.ts","sourceRoot":"","sources":["../../../src/features/magic-context/compaction-marker.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAaH,OAAO,EAMH,KAAK,iCAAiC,EASzC,MAAM,gCAAgC,CAAC;AAqCxC,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,SAAK,EAAE,QAAQ,SAAK,GAAG,MAAM,CAE1F;AAED,wBAAgB,cAAc,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,SAAK,EAAE,QAAQ,SAAK,GAAG,MAAM,CAEvF;AAID,wBAAgB,iBAAiB,IAAI,MAAM,CAE1C;AA0MD,wBAAgB,uBAAuB,IAAI,IAAI,CAe9C;AAID,MAAM,WAAW,mBAAmB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;CACvB;AA6BD;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CACnC,SAAS,EAAE,MAAM,EACjB,YAAY,EAAE,MAAM,GACrB,mBAAmB,GAAG,IAAI,CAuD5B;AAED,wBAAgB,uCAAuC,CACnD,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,MAAM,EACrB,cAAc,EAAE,MAAM,GACvB,MAAM,GAAG,IAAI,CASf;AAED;;;;;;;GAOG;AACH,wBAAgB,4BAA4B,CACxC,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,GACf,OAAO,CA4BT;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,sBAAsB,CAClC,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,GAClB;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAMvB;AAID,MAAM,WAAW,qBAAq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M,CAAC;IAC1B,uEAAuE;IACvE,iBAAiB,EAAE,MAAM,EAAE,CAAC;CAC/B;AAED;;;;;;GAMG;AACH,wBAAgB,4BAA4B,CAAC,SAAS,EAAE,MAAM,GAAG,2BAA2B,EAAE,CAkE7F;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,6BAA6B,CACzC,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,2BAA2B,EACnC,yBAAyB,EAAE,MAAM,GAAG,IAAI,EACxC,YAAY,CAAC,EAAE,MAAM,OAAO,GAC7B,OAAO,CA0BT;AAID;;;;;GAKG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB,wFAAwF;IACxF,eAAe,EAAE,MAAM,CAAC;IACxB,4CAA4C;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB;;;;;;;OAOG;IACH,gBAAgB,EAAE,MAAM,CAAC;CAC5B;AA+BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,8BAA8B,CAC1C,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,GACpB,0BAA0B,CAwN5B;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,qBAAqB,GAAG,OAAO,CAgB5E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"embedding-openai.d.ts","sourceRoot":"","sources":["../../../../src/features/magic-context/memory/embedding-openai.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,gBAAgB,EAAyB,MAAM,qBAAqB,CAAC;AAGnF,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"embedding-openai.d.ts","sourceRoot":"","sources":["../../../../src/features/magic-context/memory/embedding-openai.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,gBAAgB,EAAyB,MAAM,qBAAqB,CAAC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B,OAAO,CAAC,aAAa;IAWrB,oBAAoB,IAAI,gBAAgB,GAAG,IAAI;IAK/C,gBAAgB,IAAI,YAAY;IAQhC,gBAAgB,IAAI,MAAM;IAG1B,oBAAoB,IAAI,MAAM;IAG9B,aAAa,IAAI,IAAI;CAOxB;AAED,mFAAmF;AACnF,wBAAgB,4CAA4C,IAAI,IAAI,CAGnE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** An embedding budget expiry is endpoint slowness, not caller cancellation. */
|
|
2
|
+
export declare class EmbeddingQueryTimeoutError extends Error {
|
|
3
|
+
readonly timeoutMs = 5000;
|
|
4
|
+
constructor();
|
|
5
|
+
}
|
|
6
|
+
/** Bound explicit search's semantic lane without cancelling its keyword lanes. */
|
|
7
|
+
export declare function withQueryEmbeddingDeadline<T>(embed: (signal: AbortSignal) => Promise<T | null>, signal?: AbortSignal): Promise<T | null>;
|
|
8
|
+
//# sourceMappingURL=embedding-query-deadline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"embedding-query-deadline.d.ts","sourceRoot":"","sources":["../../../../src/features/magic-context/memory/embedding-query-deadline.ts"],"names":[],"mappings":"AAEA,gFAAgF;AAChF,qBAAa,0BAA2B,SAAQ,KAAK;IACjD,QAAQ,CAAC,SAAS,QAA8B;;CAMnD;AAED,kFAAkF;AAClF,wBAAsB,0BAA0B,CAAC,CAAC,EAC9C,KAAK,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC,EACjD,MAAM,CAAC,EAAE,WAAW,GACrB,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC,CAmBnB"}
|
|
@@ -75,23 +75,33 @@ export declare function detectLatestTurnThinkingMismatch(error: unknown): boolea
|
|
|
75
75
|
* prefix, as `[family, major, minor]`. The source of truth is Anthropic's
|
|
76
76
|
* preserved-thinking page
|
|
77
77
|
* (https://platform.claude.com/docs/en/build-with-claude/preserved-thinking,
|
|
78
|
-
* "Keeping the prefix unchanged"
|
|
78
|
+
* "Keeping the prefix unchanged": "On Claude 5.1 and later models, a thinking
|
|
79
|
+
* block stays valid only while everything you sent before it is unchanged"),
|
|
80
|
+
* plus each new model's own "What's new" page; add a row when a new Claude
|
|
81
|
+
* model ships. Claude Fable 5.2 and Claude Mythos 5.2 enforce the check on
|
|
82
|
+
* every account (https://platform.claude.com/docs/en/models/fable-5-2/whats-new-fable-5-2,
|
|
83
|
+
* "Editing earlier turns invalidates thinking blocks on every account"), and
|
|
84
|
+
* Claude Mythos 5.1 returns the 400 on every account on the Claude API.
|
|
85
|
+
* Keep this list in sync with `is_prefix_bound_thinking_model` in
|
|
86
|
+
* crates/mc-module/src/transform.rs.
|
|
79
87
|
*/
|
|
80
88
|
export declare const PREFIX_BOUND_THINKING_MODELS: ReadonlyArray<readonly [string, number, number]>;
|
|
81
89
|
/**
|
|
82
90
|
* True for a model in PREFIX_BOUND_THINKING_MODELS on any route. Accounts
|
|
83
91
|
* created on or after 2026-08-31 enforce the binding on the Claude API, Vertex
|
|
84
|
-
* and Bedrock,
|
|
92
|
+
* and Bedrock, and Fable 5.2 and Mythos 5.2 enforce it on every account, so
|
|
93
|
+
* neither the provider nor the account's age is considered. Proactive stripping
|
|
85
94
|
* runs only when a pass already rebuilds the cached prefix: a false positive
|
|
86
95
|
* costs reasoning on those passes, a false negative risks a binding 400.
|
|
87
96
|
*/
|
|
88
97
|
export declare function isPrefixBoundThinkingModel(_providerID: string | null | undefined, modelID: string | null | undefined): boolean;
|
|
89
98
|
/**
|
|
90
99
|
* True only for canonical Anthropic Fable 5.1 model identifiers. Binding
|
|
91
|
-
* recovery uses isPrefixBoundThinkingModel instead, which
|
|
92
|
-
*
|
|
93
|
-
* check to recognize Fable 5.1, whose cached prefix
|
|
94
|
-
* that
|
|
100
|
+
* recovery uses isPrefixBoundThinkingModel instead, which covers every
|
|
101
|
+
* prefix-bound model and cloud route. The variant-cache policy uses this
|
|
102
|
+
* narrower check to recognize Fable 5.1, whose cached prefix was measured to
|
|
103
|
+
* survive effort changes; that cache behavior is separate from prefix binding,
|
|
104
|
+
* so a newer prefix-bound model (Fable 5.2) is not included until measured.
|
|
95
105
|
*/
|
|
96
106
|
export declare function isFable51ThinkingBindingModel(providerID: string | null | undefined, modelID: string | null | undefined): boolean;
|
|
97
107
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overflow-detection.d.ts","sourceRoot":"","sources":["../../../src/features/magic-context/overflow-detection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAEpF;;;;;;;;;;;;;;;;;;;GAmBG;AAEH;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,EAAE,aAAa,CAAC,MAAM,CA0BnD,CAAC;AAkEF,MAAM,WAAW,oBAAoB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,sBAAsB,CAAC;CACtC;AAED,MAAM,WAAW,gCAAgC;IAC7C,iBAAiB,EAAE,OAAO,CAAC;IAC3B,8DAA8D;IAC9D,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kFAAkF;IAClF,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAMD,MAAM,WAAW,iBAAiB;IAC9B,kEAAkE;IAClE,UAAU,EAAE,OAAO,CAAC;IACpB,0EAA0E;IAC1E,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,yEAAyE;IACzE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gFAAgF;IAChF,uBAAuB,CAAC,EAAE,sBAAsB,CAAC;IACjD,gEAAgE;IAChE,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CA6B1D;AAsBD;;;;;;GAMG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,OAAO,GAAG,gCAAgC,CAiB9F;AAED,oFAAoF;AACpF,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAQxE;AAED
|
|
1
|
+
{"version":3,"file":"overflow-detection.d.ts","sourceRoot":"","sources":["../../../src/features/magic-context/overflow-detection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAEpF;;;;;;;;;;;;;;;;;;;GAmBG;AAEH;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,EAAE,aAAa,CAAC,MAAM,CA0BnD,CAAC;AAkEF,MAAM,WAAW,oBAAoB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,sBAAsB,CAAC;CACtC;AAED,MAAM,WAAW,gCAAgC;IAC7C,iBAAiB,EAAE,OAAO,CAAC;IAC3B,8DAA8D;IAC9D,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kFAAkF;IAClF,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAMD,MAAM,WAAW,iBAAiB;IAC9B,kEAAkE;IAClE,UAAU,EAAE,OAAO,CAAC;IACpB,0EAA0E;IAC1E,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,yEAAyE;IACzE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gFAAgF;IAChF,uBAAuB,CAAC,EAAE,sBAAsB,CAAC;IACjD,gEAAgE;IAChE,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CA6B1D;AAsBD;;;;;;GAMG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,OAAO,GAAG,gCAAgC,CAiB9F;AAED,oFAAoF;AACpF,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAQxE;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,4BAA4B,EAAE,aAAa,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAQzF,CAAC;AAYF;;;;;;;GAOG;AACH,wBAAgB,0BAA0B,CACtC,WAAW,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACtC,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GACnC,OAAO,CAGT;AAED;;;;;;;GAOG;AACH,wBAAgB,6BAA6B,CACzC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACrC,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GACnC,OAAO,CAGT;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,iBAAiB,CAiChE;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAkB5E;AAED,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,oBAAoB,GAAG,SAAS,CAapF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduler.d.ts","sourceRoot":"","sources":["../../../src/features/magic-context/scheduler.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"scheduler.d.ts","sourceRoot":"","sources":["../../../src/features/magic-context/scheduler.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAW5E,MAAM,WAAW,SAAS;IACtB,aAAa,CACT,WAAW,EAAE,WAAW,EACxB,YAAY,EAAE,YAAY,EAC1B,WAAW,CAAC,EAAE,MAAM,EACpB,SAAS,CAAC,EAAE,MAAM,EAClB,QAAQ,CAAC,EAAE,MAAM,EACjB,YAAY,CAAC,EAAE,MAAM,GACtB,iBAAiB,CAAC;CACxB;AAED,UAAU,eAAe;IACrB,0BAA0B,EAAE,MAAM,GAAG;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACrF,sBAAsB,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAA;KAAE,CAAC;CACzF;AAED,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAuBjD;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,eAAe,GAAG,SAAS,CAiDlE;AAED,iFAAiF;AACjF,wBAAgB,uBAAuB,CACnC,QAAQ,EAAE,MAAM,EAChB,gBAAgB,EAAE,MAAM,EACxB,GAAG,EAAE,MAAM,EACX,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,GACrC,OAAO,CAUT"}
|
|
@@ -4,6 +4,12 @@ type OpenCodeEvent = {
|
|
|
4
4
|
type: string;
|
|
5
5
|
properties?: unknown;
|
|
6
6
|
};
|
|
7
|
+
/**
|
|
8
|
+
* Maps the plugin's `auto_update` setting to checker options. `false` turns
|
|
9
|
+
* the checker off entirely so no npm request is made, matching the host
|
|
10
|
+
* updater's disable behavior.
|
|
11
|
+
*/
|
|
12
|
+
export declare function autoUpdateCheckerOptionsFromConfig(autoUpdateSetting: boolean | undefined): Pick<AutoUpdateCheckerOptions, "enabled" | "autoUpdate">;
|
|
7
13
|
/**
|
|
8
14
|
* Auto-update checker.
|
|
9
15
|
*
|