@cortexkit/opencode-magic-context 0.49.81 → 0.49.82
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 +3 -3
- package/dist/chunk-embedding-write-worker.js +4 -4
- package/dist/{conflict-warning-hook-8s8r0c0v.js → conflict-warning-hook-a0wrnzch.js} +2 -2
- package/dist/{context-359s1ncq.js → context-00f1hdz2.js} +251 -29
- package/dist/{embedding-backfill-0tvprmrn.js → embedding-backfill-k994xdas.js} +4 -4
- package/dist/features/magic-context/memory/identity-merge-command.d.ts +4 -0
- package/dist/features/magic-context/memory/identity-merge-command.d.ts.map +1 -0
- package/dist/features/magic-context/memory/project-binding-notice.d.ts +5 -0
- package/dist/features/magic-context/memory/project-binding-notice.d.ts.map +1 -0
- package/dist/features/magic-context/memory/project-identity.d.ts +1 -0
- package/dist/features/magic-context/memory/project-identity.d.ts.map +1 -1
- package/dist/features/magic-context/storage-clone.d.ts +17 -0
- package/dist/features/magic-context/storage-clone.d.ts.map +1 -1
- package/dist/features/magic-context/store-generation-rebase.d.ts +13 -0
- package/dist/features/magic-context/store-generation-rebase.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-runner-incremental.d.ts +1 -7
- package/dist/hooks/magic-context/compartment-runner-incremental.d.ts.map +1 -1
- package/dist/hooks/magic-context/execute-status.d.ts.map +1 -1
- package/dist/hooks/magic-context/rust-mode-transform.d.ts.map +1 -1
- package/dist/hooks/magic-context/stored-compartment-gaps.d.ts +16 -0
- package/dist/hooks/magic-context/stored-compartment-gaps.d.ts.map +1 -0
- package/dist/hooks/magic-context/transform.d.ts +1 -0
- package/dist/hooks/magic-context/transform.d.ts.map +1 -1
- package/dist/{index-m4q6ptgz.js → index-2xhzmwf6.js} +4 -4
- package/dist/{index-jhhkb4jv.js → index-2ygw6q5s.js} +1 -1
- package/dist/{index-v0epndb8.js → index-93rezfvc.js} +22 -2
- package/dist/{index-1rx9bfrk.js → index-b2787fk6.js} +111 -40
- package/dist/{index-tebcx987.js → index-bd34njzg.js} +1 -1
- package/dist/{index-zpd4pxnp.js → index-dg5jvh9r.js} +6 -6
- package/dist/{index-6athgjba.js → index-e21n48yd.js} +34 -2
- package/dist/{index-726b5jh5.js → index-eptthgkw.js} +5 -5
- package/dist/{index-9554nr2q.js → index-fgy6hnr3.js} +6 -1
- package/dist/{index-tzy5h4x6.js → index-fpqdbb67.js} +1 -1
- package/dist/{v2/server-x8a7jmkh.js → index-fzgyvsb1.js} +15 -4
- package/dist/{index-1sq1krqw.js → index-g6hfh4h4.js} +4 -4
- package/dist/{index-wwzamy3j.js → index-hz1xdb15.js} +3 -3
- package/dist/{index-6sckwxjj.js → index-jvr9ba9y.js} +151 -37
- package/dist/{index-m6rkq3t4.js → index-rnyaa7cj.js} +1 -1
- package/dist/{index-yfn52pb6.js → index-shpyv8gq.js} +2 -2
- package/dist/{index-7jefmy0g.js → index-stx8zd81.js} +2 -2
- package/dist/{index-jg7sbt3v.js → index-vpw46557.js} +1 -1
- package/dist/{index-xx05vta0.js → index-w2wpx7t5.js} +1 -1
- package/dist/{index-177yv84k.js → index-w8dcjt7f.js} +1 -1
- package/dist/{index-ma258g0g.js → index-wxxcfpxh.js} +5 -5
- package/dist/{index-xsdaz3mq.js → index-x8qgqnym.js} +30 -11
- package/dist/{index-aawwdt26.js → index-zvane1rq.js} +2 -2
- package/dist/index.js +31 -31
- package/dist/migration-worker.js +3 -3
- package/dist/plugin/rpc-handlers.d.ts +2 -0
- package/dist/plugin/rpc-handlers.d.ts.map +1 -1
- package/dist/{project-embedding-registry-sw4z2ptg.js → project-embedding-registry-y3z36mjy.js} +3 -3
- package/dist/raw-ordinal-warmup-worker.js +2 -2
- package/dist/{recomp-orchestrator-ar3xw3f4.js → recomp-orchestrator-fjdp3t1d.js} +14 -14
- package/dist/{render-bjxgkrk6.js → render-c9fjwrad.js} +6 -6
- package/dist/{rpc-notifications-3hed126v.js → rpc-notifications-t9q0ynq7.js} +3 -1
- package/dist/{search-z56487n8.js → search-1jejx5cx.js} +9 -9
- package/dist/{search-archive-p3jhx9wc.js → search-archive-s2jas2jb.js} +2 -2
- package/dist/{send-session-notification-ykvt5k2s.js → send-session-notification-7x518gew.js} +1 -1
- package/dist/shared/prompt-surface-runtime.d.ts +1 -1
- package/dist/shared/rpc-notifications.d.ts +8 -3
- package/dist/shared/rpc-notifications.d.ts.map +1 -1
- package/dist/shared/rpc-types.d.ts +4 -0
- package/dist/shared/rpc-types.d.ts.map +1 -1
- package/dist/shared/status-summary.d.ts +2 -0
- package/dist/shared/status-summary.d.ts.map +1 -1
- package/dist/shared/status-view-check.d.ts.map +1 -1
- package/dist/shared/status-view.d.ts +1 -0
- package/dist/shared/status-view.d.ts.map +1 -1
- package/dist/shared/user-facing-codes.d.ts +5 -0
- package/dist/shared/user-facing-codes.d.ts.map +1 -1
- package/dist/{store-8trkpmtx.js → store-ggrq9e14.js} +6 -2
- package/dist/{store-reader-3eh1s1m8.js → store-reader-tr64nxyy.js} +1 -1
- package/dist/tools/ctx-memory/constants.d.ts +1 -1
- package/dist/tools/ctx-memory/constants.d.ts.map +1 -1
- package/dist/tools/light-descriptions.d.ts +1 -1
- package/dist/tools/light-descriptions.d.ts.map +1 -1
- package/dist/tools/parameter-descriptions.d.ts +6 -6
- package/dist/tools/parameter-descriptions.d.ts.map +1 -1
- package/dist/{transform-postprocess-phase-6kyqctnq.js → transform-postprocess-phase-p2egg02g.js} +15 -15
- package/dist/v2/auto-search-worker.js +3 -3
- package/dist/v2/chunk-embedding-write-worker.js +4 -4
- package/dist/v2/{context-dpe94zcx.js → context-gwkgh0wd.js} +368 -43
- package/dist/v2/{embedding-backfill-qnaswpmb.js → embedding-backfill-hjvjxp7d.js} +4 -4
- package/dist/v2/fork-inheritance.d.ts +25 -17
- package/dist/v2/fork-inheritance.d.ts.map +1 -1
- package/dist/v2/hidden-child-native.d.ts +6 -6
- package/dist/v2/hidden-child-native.d.ts.map +1 -1
- package/dist/v2/hidden-child-record.d.ts +21 -3
- package/dist/v2/hidden-child-record.d.ts.map +1 -1
- package/dist/v2/hidden-child-sweep.d.ts +1 -1
- package/dist/v2/hidden-child-sweep.d.ts.map +1 -1
- package/dist/v2/hidden-completion.d.ts +1 -0
- package/dist/v2/hidden-completion.d.ts.map +1 -1
- package/dist/v2/hidden-run-holder.d.ts +16 -0
- package/dist/v2/hidden-run-holder.d.ts.map +1 -0
- package/dist/v2/hooks/context.d.ts.map +1 -1
- package/dist/v2/hooks/dream-timer.d.ts +5 -7
- package/dist/v2/hooks/dream-timer.d.ts.map +1 -1
- package/dist/v2/hooks/fork-history-status.d.ts +10 -0
- package/dist/v2/hooks/fork-history-status.d.ts.map +1 -0
- package/dist/v2/hooks/hidden-child.d.ts.map +1 -1
- package/dist/v2/hooks/store.d.ts +4 -0
- package/dist/v2/hooks/store.d.ts.map +1 -1
- package/dist/v2/hooks/types.d.ts +5 -26
- package/dist/v2/hooks/types.d.ts.map +1 -1
- package/dist/v2/migration-worker.js +3 -3
- package/dist/v2/{project-embedding-registry-52f2jept.js → project-embedding-registry-mzsvyads.js} +3 -3
- package/dist/v2/raw-ordinal-warmup-worker.js +2 -2
- package/dist/v2/{recomp-orchestrator-7t6fkpbb.js → recomp-orchestrator-jn39mxh0.js} +13 -13
- package/dist/v2/{render-hwqk0d8t.js → render-q2aj9bgy.js} +6 -6
- package/dist/v2/{rpc-notifications-3hed126v.js → rpc-notifications-t9q0ynq7.js} +3 -1
- package/dist/v2/{search-eftsvbg7.js → search-9xn6ds9x.js} +8 -8
- package/dist/v2/{search-archive-mdxzvgpm.js → search-archive-fj59gjv1.js} +2 -2
- package/dist/v2/{send-session-notification-8g4r97bp.js → send-session-notification-p52rhjzy.js} +1 -1
- package/dist/v2/{server-ma9jwnas.js → server-1cn3kryt.js} +4 -4
- package/dist/v2/{server-34pvhvxt.js → server-1efjj215.js} +22 -2
- package/dist/v2/{server-jn4pktdk.js → server-2ktxmtbd.js} +1 -1
- package/dist/v2/{server-zw1e3wq5.js → server-2w1rdttn.js} +1 -1
- package/dist/v2/{server-jtq03rkb.js → server-4z964n1c.js} +1 -1
- package/dist/v2/{server-pxdpwycq.js → server-53n8hv5q.js} +6 -6
- package/dist/v2/{server-rbtx6q5v.js → server-569he5mh.js} +1 -1
- package/dist/v2/{server-rthnpmbp.js → server-5yfq912a.js} +34 -2
- package/dist/v2/{server-mhrgymcs.js → server-68q80y27.js} +2 -2
- package/dist/v2/{server-afsz3cmx.js → server-bt546axy.js} +1 -1
- package/dist/v2/{server-dhdn8mwq.js → server-c8mqs0v5.js} +30 -11
- package/dist/{index-x8a7jmkh.js → v2/server-fzgyvsb1.js} +15 -4
- package/dist/v2/{server-76v5y7zm.js → server-g1a0nhtk.js} +2 -2
- package/dist/v2/{server-25qtxt4d.js → server-gx1s06dx.js} +6 -1
- package/dist/v2/{server-x8ksqcw7.js → server-pejjj0nv.js} +1 -1
- package/dist/v2/{server-a1zp7exh.js → server-vt6nj2hn.js} +106 -35
- package/dist/v2/{server-qjff96a6.js → server-wdq85mxj.js} +4 -4
- package/dist/v2/server.js +3 -3
- package/dist/v2/{store-m3zny7q2.js → store-qdgzd38f.js} +6 -2
- package/dist/v2/{store-reader-yaxtdy6f.js → store-reader-83tka051.js} +1 -1
- package/dist/v2/store-reader.d.ts +15 -8
- package/dist/v2/store-reader.d.ts.map +1 -1
- package/dist/v2/tui/index.d.ts +1 -1
- package/dist/v2/tui/index.d.ts.map +1 -1
- package/dist/v2/{v2-archive-reader-p89x05hj.js → v2-archive-reader-9z8z97db.js} +1 -1
- package/dist/v2/{wrapup-orchestrator-c0bwb0wa.js → wrapup-orchestrator-vd5zfp3v.js} +13 -13
- package/dist/{v2-archive-reader-vzmzb245.js → v2-archive-reader-r0xpxsb1.js} +1 -1
- package/dist/{wrapup-orchestrator-548q5y55.js → wrapup-orchestrator-k29zqfp9.js} +15 -15
- package/package.json +1 -1
- package/src/agents/smart-notes-dreamer-gate.golden.json +169 -169
- package/src/shared/prompt-surface-a1-golden.md +8 -7
- package/src/shared/rpc-notifications.test.ts +29 -0
- package/src/shared/rpc-notifications.ts +24 -5
- package/src/shared/rpc-types.ts +4 -0
- package/src/shared/status-summary.ts +9 -1
- package/src/shared/status-view-check.ts +2 -0
- package/src/shared/status-view.test.ts +9 -0
- package/src/shared/status-view.ts +4 -0
- package/src/shared/user-facing-codes.ts +5 -0
- package/src/tui/slots/sidebar-content.tsx +11 -5
- package/src/tui-compiled/slots/sidebar-content.tsx +191 -176
- package/src/v2/tui/index.ts +7 -2
|
@@ -7,20 +7,20 @@ import {
|
|
|
7
7
|
setRecompTerminal2,
|
|
8
8
|
buildRecompDeps2,
|
|
9
9
|
runManagedRecomp2
|
|
10
|
-
} from "./server-
|
|
10
|
+
} from "./server-vt6nj2hn.js";
|
|
11
11
|
import"./server-at0v0z4t.js";
|
|
12
|
-
import"./server-
|
|
13
|
-
import"./server-
|
|
12
|
+
import"./server-gx1s06dx.js";
|
|
13
|
+
import"./server-pejjj0nv.js";
|
|
14
14
|
import"./server-jjvbk92s.js";
|
|
15
|
-
import"./server-
|
|
15
|
+
import"./server-68q80y27.js";
|
|
16
16
|
import"./server-4dhv7mqz.js";
|
|
17
|
-
import"./server-
|
|
18
|
-
import"./server-
|
|
17
|
+
import"./server-c8mqs0v5.js";
|
|
18
|
+
import"./server-569he5mh.js";
|
|
19
19
|
import"./server-r00xyx66.js";
|
|
20
20
|
import"./server-2amn2s73.js";
|
|
21
|
-
import"./server-
|
|
21
|
+
import"./server-5yfq912a.js";
|
|
22
22
|
import"./server-rp52f40v.js";
|
|
23
|
-
import"./server-
|
|
23
|
+
import"./server-wdq85mxj.js";
|
|
24
24
|
import"./server-qt1qqasc.js";
|
|
25
25
|
import"./server-2gcfmd47.js";
|
|
26
26
|
import"./server-xdh4r20h.js";
|
|
@@ -29,17 +29,17 @@ import"./server-3ap5dmhc.js";
|
|
|
29
29
|
import"./server-npdey91q.js";
|
|
30
30
|
import"./server-bj779zmp.js";
|
|
31
31
|
import"./server-nqdzv8b7.js";
|
|
32
|
-
import"./server-
|
|
32
|
+
import"./server-fzgyvsb1.js";
|
|
33
33
|
import"./server-d706s5xn.js";
|
|
34
34
|
import"./server-rz6g5xne.js";
|
|
35
|
-
import"./server-
|
|
35
|
+
import"./server-4z964n1c.js";
|
|
36
36
|
import"./server-8pdfmc27.js";
|
|
37
37
|
import"./server-x6fn9x8q.js";
|
|
38
|
-
import"./server-
|
|
38
|
+
import"./server-g1a0nhtk.js";
|
|
39
39
|
import"./server-fb3zxn06.js";
|
|
40
|
-
import"./server-
|
|
40
|
+
import"./server-2ktxmtbd.js";
|
|
41
41
|
import"./server-fr0wbhdn.js";
|
|
42
|
-
import"./server-
|
|
42
|
+
import"./server-bt546axy.js";
|
|
43
43
|
import"./server-ds8vpfkr.js";
|
|
44
44
|
import"./server-39bcszk4.js";
|
|
45
45
|
import"./server-jdfe07mp.js";
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
renderVerboseRangeForTool2,
|
|
4
4
|
renderItemByTag2
|
|
5
5
|
} from "./server-0dmzr7f9.js";
|
|
6
|
-
import"./server-
|
|
7
|
-
import"./server-
|
|
6
|
+
import"./server-c8mqs0v5.js";
|
|
7
|
+
import"./server-569he5mh.js";
|
|
8
8
|
import"./server-r00xyx66.js";
|
|
9
9
|
import"./server-2amn2s73.js";
|
|
10
|
-
import"./server-
|
|
10
|
+
import"./server-5yfq912a.js";
|
|
11
11
|
import"./server-2gcfmd47.js";
|
|
12
12
|
import"./server-xdh4r20h.js";
|
|
13
13
|
import"./server-1zx87sdm.js";
|
|
@@ -15,11 +15,11 @@ import"./server-3ap5dmhc.js";
|
|
|
15
15
|
import"./server-rz6g5xne.js";
|
|
16
16
|
import"./server-8pdfmc27.js";
|
|
17
17
|
import"./server-x6fn9x8q.js";
|
|
18
|
-
import"./server-
|
|
18
|
+
import"./server-g1a0nhtk.js";
|
|
19
19
|
import"./server-fb3zxn06.js";
|
|
20
|
-
import"./server-
|
|
20
|
+
import"./server-2ktxmtbd.js";
|
|
21
21
|
import"./server-fr0wbhdn.js";
|
|
22
|
-
import"./server-
|
|
22
|
+
import"./server-bt546axy.js";
|
|
23
23
|
import"./server-ds8vpfkr.js";
|
|
24
24
|
import"./server-39bcszk4.js";
|
|
25
25
|
import"./server-jdfe07mp.js";
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerNotificationSink2,
|
|
3
|
+
pushLiveNotification2,
|
|
3
4
|
pushNotification2,
|
|
4
5
|
acknowledgeNotifications2,
|
|
5
6
|
__resetNotificationStateForTests2,
|
|
6
7
|
drainNotifications2,
|
|
7
8
|
isTuiConnected2
|
|
8
|
-
} from "./server-
|
|
9
|
+
} from "./server-fzgyvsb1.js";
|
|
9
10
|
export {
|
|
10
11
|
__resetNotificationStateForTests2 as __resetNotificationStateForTests,
|
|
11
12
|
acknowledgeNotifications2 as acknowledgeNotifications,
|
|
12
13
|
drainNotifications2 as drainNotifications,
|
|
13
14
|
isTuiConnected2 as isTuiConnected,
|
|
15
|
+
pushLiveNotification2 as pushLiveNotification,
|
|
14
16
|
pushNotification2 as pushNotification,
|
|
15
17
|
registerNotificationSink2 as registerNotificationSink
|
|
16
18
|
};
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
resolveMemoriesByIdsForSearch2,
|
|
6
6
|
unifiedSearch2,
|
|
7
7
|
formatSearchResults2
|
|
8
|
-
} from "./server-
|
|
8
|
+
} from "./server-53n8hv5q.js";
|
|
9
9
|
import"./server-52x68mj4.js";
|
|
10
|
-
import"./server-
|
|
11
|
-
import"./server-
|
|
10
|
+
import"./server-gx1s06dx.js";
|
|
11
|
+
import"./server-pejjj0nv.js";
|
|
12
12
|
import"./server-jjvbk92s.js";
|
|
13
|
-
import"./server-
|
|
13
|
+
import"./server-68q80y27.js";
|
|
14
14
|
import"./server-4dhv7mqz.js";
|
|
15
|
-
import"./server-
|
|
15
|
+
import"./server-569he5mh.js";
|
|
16
16
|
import"./server-r00xyx66.js";
|
|
17
17
|
import"./server-2amn2s73.js";
|
|
18
18
|
import"./server-qt1qqasc.js";
|
|
@@ -22,12 +22,12 @@ import"./server-1zx87sdm.js";
|
|
|
22
22
|
import"./server-3ap5dmhc.js";
|
|
23
23
|
import"./server-d706s5xn.js";
|
|
24
24
|
import"./server-rz6g5xne.js";
|
|
25
|
-
import"./server-
|
|
25
|
+
import"./server-4z964n1c.js";
|
|
26
26
|
import"./server-8pdfmc27.js";
|
|
27
27
|
import"./server-x6fn9x8q.js";
|
|
28
|
-
import"./server-
|
|
28
|
+
import"./server-2ktxmtbd.js";
|
|
29
29
|
import"./server-fr0wbhdn.js";
|
|
30
|
-
import"./server-
|
|
30
|
+
import"./server-bt546axy.js";
|
|
31
31
|
import"./server-ds8vpfkr.js";
|
|
32
32
|
import"./server-xepx8t43.js";
|
|
33
33
|
import"./server-6ash6z8z.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderSearchArchive2,
|
|
3
3
|
renderSearchArchiveOffThread2
|
|
4
|
-
} from "./server-
|
|
5
|
-
import"./server-
|
|
4
|
+
} from "./server-2w1rdttn.js";
|
|
5
|
+
import"./server-1cn3kryt.js";
|
|
6
6
|
import"./server-52x68mj4.js";
|
|
7
7
|
import"./server-2gcfmd47.js";
|
|
8
8
|
import"./server-xdh4r20h.js";
|
|
@@ -137,11 +137,11 @@ async function serveV2ArchiveReads2(port, openConnections) {
|
|
|
137
137
|
{ createV2RecoveryAttachments }
|
|
138
138
|
] = await Promise.all([
|
|
139
139
|
import("./sqlite-zdgm52sv.js"),
|
|
140
|
-
import("./store-reader-
|
|
141
|
-
import("./store-
|
|
140
|
+
import("./store-reader-83tka051.js"),
|
|
141
|
+
import("./store-qdgzd38f.js"),
|
|
142
142
|
import("./read-session-chunk-6mt2t6dy.js"),
|
|
143
|
-
import("./render-
|
|
144
|
-
import("./search-archive-
|
|
143
|
+
import("./render-q2aj9bgy.js"),
|
|
144
|
+
import("./search-archive-fj59gjv1.js"),
|
|
145
145
|
import("./expand-attachments-h33jbgyz.js")
|
|
146
146
|
]);
|
|
147
147
|
const pool = new V2StoreReaderPool;
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./server-39bcszk4.js";
|
|
4
4
|
import {
|
|
5
5
|
RAW_MESSAGE_TYPES2
|
|
6
|
-
} from "./server-
|
|
6
|
+
} from "./server-5yfq912a.js";
|
|
7
7
|
import {
|
|
8
8
|
markHostUnservedRow
|
|
9
9
|
} from "./server-s9x93tfs.js";
|
|
@@ -430,6 +430,26 @@ function rawMessages(rows, history = rows) {
|
|
|
430
430
|
function rawMessagePage2(rows, afterOrdinal) {
|
|
431
431
|
return projectRawMessages(rows, (_row, index) => afterOrdinal + index + 1);
|
|
432
432
|
}
|
|
433
|
+
function readV2MessageRange2(reader, sessionID, from, to) {
|
|
434
|
+
const messages = [];
|
|
435
|
+
if (!Number.isSafeInteger(from) || !Number.isSafeInteger(to) || from < 1)
|
|
436
|
+
return messages;
|
|
437
|
+
for (let after = from - 1;after < to; ) {
|
|
438
|
+
const rows = reader.messagePage(sessionID, after, Math.min(to - after, 500), to);
|
|
439
|
+
messages.push(...rawMessagePage2(rows, after));
|
|
440
|
+
if (rows.length === 0)
|
|
441
|
+
break;
|
|
442
|
+
after += rows.length;
|
|
443
|
+
}
|
|
444
|
+
return messages;
|
|
445
|
+
}
|
|
446
|
+
function* iterateV2MessageRange2(reader, sessionID, from, to) {
|
|
447
|
+
let after = from - 1;
|
|
448
|
+
for (const row of reader.iterateRawMessageRange(sessionID, from, to)) {
|
|
449
|
+
yield* rawMessagePage2([row], after);
|
|
450
|
+
after += 1;
|
|
451
|
+
}
|
|
452
|
+
}
|
|
433
453
|
var SERVED_BOUNDARY_PAGE = 50;
|
|
434
454
|
function servedBoundaryRow2(reader, sessionID, messageID) {
|
|
435
455
|
const boundary = reader.messageById(sessionID, messageID);
|
|
@@ -637,4 +657,4 @@ function createV2RawMessageProvider2(reader, sessionID) {
|
|
|
637
657
|
};
|
|
638
658
|
}
|
|
639
659
|
|
|
640
|
-
export { rememberHostMedia, hostMediaAsset, hostMediaFromEncoded, isToolError, toolErrorText, toolStateContent, STORAGE_NOTICE_PREFIX, formatStorageRefusalNotice, formatStorageRecoveryNotice, hasStorageNoticeShape, dropStorageNotices, HOST_RESTORE_MEDIA, restoreRow, rawMessagePage2, servedBoundaryRow2, resolveV2BoundaryUserMessage2, readAllV2RawMessagesForConversion2, readV2RawMessagePagesForConversion2, createV2RawMessageReader2, createV2RawMessageProvider2 };
|
|
660
|
+
export { rememberHostMedia, hostMediaAsset, hostMediaFromEncoded, isToolError, toolErrorText, toolStateContent, STORAGE_NOTICE_PREFIX, formatStorageRefusalNotice, formatStorageRecoveryNotice, hasStorageNoticeShape, dropStorageNotices, HOST_RESTORE_MEDIA, restoreRow, rawMessagePage2, readV2MessageRange2, iterateV2MessageRange2, servedBoundaryRow2, resolveV2BoundaryUserMessage2, readAllV2RawMessagesForConversion2, readV2RawMessagePagesForConversion2, createV2RawMessageReader2, createV2RawMessageProvider2 };
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./server-gzy5w8ya.js";
|
|
13
13
|
import {
|
|
14
14
|
scheduleAfterBootQuiet
|
|
15
|
-
} from "./server-
|
|
15
|
+
} from "./server-bt546axy.js";
|
|
16
16
|
import {
|
|
17
17
|
isRecord
|
|
18
18
|
} from "./server-xdh4r20h.js";
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
enqueueShadowEmbeddingItems2,
|
|
57
57
|
getProjectEmbeddingSnapshot2,
|
|
58
58
|
embedItemsForProject2
|
|
59
|
-
} from "./server-
|
|
59
|
+
} from "./server-68q80y27.js";
|
|
60
60
|
import {
|
|
61
61
|
recordEmbeddingMeasurement
|
|
62
62
|
} from "./server-2amn2s73.js";
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
sanitizeFtsQuery,
|
|
73
73
|
searchMemoriesFTS,
|
|
74
74
|
searchMemoriesFTSUnion
|
|
75
|
-
} from "./server-
|
|
75
|
+
} from "./server-gx1s06dx.js";
|
|
76
76
|
import {
|
|
77
77
|
ModuleMemoryAuthorityError2,
|
|
78
78
|
getMemoriesByProject2,
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
} from "./server-jjvbk92s.js";
|
|
82
82
|
import {
|
|
83
83
|
ensureMemoryEmbeddings2
|
|
84
|
-
} from "./server-
|
|
84
|
+
} from "./server-pejjj0nv.js";
|
|
85
85
|
import {
|
|
86
86
|
MESSAGE_FTS_SESSION_FILTER_SQL,
|
|
87
87
|
withMessageFtsSessionFilter
|
|
@@ -92,11 +92,11 @@ import {
|
|
|
92
92
|
expandWorkspaceIdentitySetWithAliases,
|
|
93
93
|
resolveStoredPathWorkspaceIdentity,
|
|
94
94
|
sourceNameForMemory
|
|
95
|
-
} from "./server-
|
|
95
|
+
} from "./server-2ktxmtbd.js";
|
|
96
96
|
import {
|
|
97
97
|
getNotes,
|
|
98
98
|
getActivePrimers
|
|
99
|
-
} from "./server-
|
|
99
|
+
} from "./server-569he5mh.js";
|
|
100
100
|
import {
|
|
101
101
|
isKnownAutocommit
|
|
102
102
|
} from "./server-8ajstryz.js";
|
|
@@ -439,7 +439,7 @@ class V2StoreReader2 {
|
|
|
439
439
|
const order = columns.has("time_updated") ? "time_updated DESC, id DESC" : "id DESC";
|
|
440
440
|
const page = this.prepare(`SELECT id, COALESCE(directory, '') AS directory FROM session_v2
|
|
441
441
|
WHERE parent_id IS NULL${archived}
|
|
442
|
-
AND COALESCE(json_extract(metadata, '$.magic_context'), '')
|
|
442
|
+
AND COALESCE(json_extract(metadata, '$.magic_context'), '') NOT IN ('hidden-run', 'background-holder')
|
|
443
443
|
ORDER BY ${order} LIMIT ? OFFSET ?`);
|
|
444
444
|
const pageSize = 500;
|
|
445
445
|
for (let offset = 0;; offset += pageSize) {
|
|
@@ -460,7 +460,7 @@ class V2StoreReader2 {
|
|
|
460
460
|
WHERE session_id = session_v2.id AND type = 'user'
|
|
461
461
|
) AS time FROM session_v2
|
|
462
462
|
WHERE parent_id IS NULL
|
|
463
|
-
AND COALESCE(json_extract(metadata, '$.magic_context'), '')
|
|
463
|
+
AND COALESCE(json_extract(metadata, '$.magic_context'), '') NOT IN ('hidden-run', 'background-holder')
|
|
464
464
|
AND id IN (${chunk.map(() => "?").join(",")})`).all(...chunk);
|
|
465
465
|
for (const row of rows)
|
|
466
466
|
if (row.time !== null)
|
|
@@ -746,6 +746,38 @@ class V2StoreReader2 {
|
|
|
746
746
|
return this.prepare(`SELECT id, type, seq, time_created FROM session_message
|
|
747
747
|
WHERE session_id = ? AND seq <= ? ORDER BY seq ASC`).all(sessionID, throughSeq);
|
|
748
748
|
}
|
|
749
|
+
matchingForkBodies(parentID, forkID, throughSeq) {
|
|
750
|
+
const matchParts = this.hasPartTable() ? `
|
|
751
|
+
AND NOT EXISTS (
|
|
752
|
+
SELECT ordinal, type, call_id, data FROM session_part WHERE message_id = p.id
|
|
753
|
+
EXCEPT SELECT ordinal, type, call_id, data FROM session_part WHERE message_id = f.id
|
|
754
|
+
) AND NOT EXISTS (
|
|
755
|
+
SELECT ordinal, type, call_id, data FROM session_part WHERE message_id = f.id
|
|
756
|
+
EXCEPT SELECT ordinal, type, call_id, data FROM session_part WHERE message_id = p.id
|
|
757
|
+
)` : "";
|
|
758
|
+
const rows = this.prepare(`SELECT p.id AS parentId, f.id AS forkId FROM session_message p JOIN session_message f ON f.seq = p.seq
|
|
759
|
+
WHERE p.session_id = ? AND f.session_id = ? AND p.seq <= ?
|
|
760
|
+
AND p.type = f.type AND p.time_created = f.time_created AND p.data = f.data${matchParts}`).all(parentID, forkID, throughSeq);
|
|
761
|
+
return new Map(rows.map(({ parentId, forkId }) => [parentId, forkId]));
|
|
762
|
+
}
|
|
763
|
+
*iterateRawMessageRange(sessionID, from, to) {
|
|
764
|
+
if (!Number.isSafeInteger(from) || !Number.isSafeInteger(to) || from < 1 || to < from)
|
|
765
|
+
return;
|
|
766
|
+
let anchor;
|
|
767
|
+
for (let after = from - 1;after < to; after += 1) {
|
|
768
|
+
const [row] = this.messagePage(sessionID, after, 1, to, anchor);
|
|
769
|
+
if (!row)
|
|
770
|
+
return;
|
|
771
|
+
anchor = { id: row.id, timeCreated: row.time_created ?? 0 };
|
|
772
|
+
yield row;
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
messageCountAndNewestId(sessionID) {
|
|
776
|
+
const row = this.prepare(`SELECT COUNT(*) AS count, (
|
|
777
|
+
SELECT id FROM session_message WHERE session_id = ? ORDER BY seq DESC LIMIT 1
|
|
778
|
+
) AS newestId FROM session_message WHERE session_id = ?`).get(sessionID, sessionID);
|
|
779
|
+
return [row.count, row.newestId];
|
|
780
|
+
}
|
|
749
781
|
latestSequenceForIds(sessionID, ids) {
|
|
750
782
|
let latest = -1;
|
|
751
783
|
for (let offset = 0;offset < ids.length; offset += 500) {
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./server-gzy5w8ya.js";
|
|
16
16
|
import {
|
|
17
17
|
setBootQuietPeriodForTests
|
|
18
|
-
} from "./server-
|
|
18
|
+
} from "./server-bt546axy.js";
|
|
19
19
|
import {
|
|
20
20
|
isEmbeddingHostBusy2
|
|
21
21
|
} from "./server-qt1qqasc.js";
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
findMisScopedCompartmentChunkEmbeddingIdsForProject,
|
|
69
69
|
recordSessionProjectIdentity,
|
|
70
70
|
repairMisScopedCompartmentChunkEmbeddingsForProject
|
|
71
|
-
} from "./server-
|
|
71
|
+
} from "./server-4z964n1c.js";
|
|
72
72
|
import {
|
|
73
73
|
saveEmbeddingIfHashMatches,
|
|
74
74
|
getMemoryEmbedCoverage,
|
|
@@ -737,4 +737,4 @@ function setBootQuietPeriodForTests(startAtMs) {
|
|
|
737
737
|
bootQuietUntilMs = startAtMs === null ? 0 : startAtMs + BOOT_QUIET_MS;
|
|
738
738
|
}
|
|
739
739
|
|
|
740
|
-
export { pruneMissingProjectIdentities, setHomeProjectPermission, shouldSkipHomeProjectMemory, ProjectIdentityError, takeDubiousOwnershipProjectIdentityWarning, isUserHomeDirectory, resolveProjectIdentity, directoryHasGitMetadata, describeUnresolvedProjectIdentity, isUsableProjectIdentity, resolveProjectIdentityForSession, normalizeStoredProjectPath, storedPathBelongsToIdentity, beginBootQuietPeriod, scheduleAfterBootQuiet, setBootQuietPeriodForTests };
|
|
740
|
+
export { pruneMissingProjectIdentities, setHomeProjectPermission, shouldSkipHomeProjectMemory, ProjectIdentityError, directoryFallback, takeDubiousOwnershipProjectIdentityWarning, isUserHomeDirectory, resolveProjectIdentity, directoryHasGitMetadata, describeUnresolvedProjectIdentity, isUsableProjectIdentity, resolveProjectIdentityForSession, normalizeStoredProjectPath, storedPathBelongsToIdentity, beginBootQuietPeriod, scheduleAfterBootQuiet, setBootQuietPeriodForTests };
|
|
@@ -75,11 +75,11 @@ import {
|
|
|
75
75
|
import {
|
|
76
76
|
layoutLkgPrefix,
|
|
77
77
|
assembleLkgPrefix
|
|
78
|
-
} from "./server-
|
|
78
|
+
} from "./server-2ktxmtbd.js";
|
|
79
79
|
import {
|
|
80
80
|
gaDatabasePath2,
|
|
81
81
|
V2StoreReader2
|
|
82
|
-
} from "./server-
|
|
82
|
+
} from "./server-5yfq912a.js";
|
|
83
83
|
import {
|
|
84
84
|
markHostInstructionRow,
|
|
85
85
|
hostInstructionRowID,
|
|
@@ -4650,9 +4650,10 @@ function copySessionStateForClone(db, sourceSessionId, destinationSessionId, fil
|
|
|
4650
4650
|
const compartmentColumns = db.prepare("PRAGMA table_info(compartments)").all();
|
|
4651
4651
|
const hasBlockIndices = ["start_block_index", "end_block_index"].every((name) => compartmentColumns.some((column) => column.name === name));
|
|
4652
4652
|
const blockProjection = hasBlockIndices ? "start_block_index, end_block_index" : "NULL AS start_block_index, NULL AS end_block_index";
|
|
4653
|
+
const rebaseProjection = compartmentColumns.some(({ name }) => name === "rebase_status") ? "rebase_status" : "NULL AS rebase_status";
|
|
4653
4654
|
const sourceCompartments = db.prepare(`SELECT sequence, start_message, end_message, start_message_id, end_message_id,
|
|
4654
4655
|
title, content, p1, p2, p3, p4, importance, episode_type, legacy,
|
|
4655
|
-
created_at, harness, ${blockProjection}
|
|
4656
|
+
created_at, harness, ${blockProjection}, ${rebaseProjection}
|
|
4656
4657
|
FROM compartments WHERE session_id = ? ORDER BY sequence ASC`).all(sourceSessionId);
|
|
4657
4658
|
const insertCompartment = db.prepare(`INSERT INTO compartments
|
|
4658
4659
|
(session_id, sequence, start_message, end_message, start_message_id,
|
|
@@ -4660,18 +4661,31 @@ function copySessionStateForClone(db, sourceSessionId, destinationSessionId, fil
|
|
|
4660
4661
|
episode_type, legacy, created_at, harness${hasBlockIndices ? ", start_block_index, end_block_index" : ""})
|
|
4661
4662
|
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?${hasBlockIndices ? ", ?, ?" : ""})`);
|
|
4662
4663
|
const copiedCompartments = [];
|
|
4664
|
+
const selected = filter.selectCompartments?.(sourceCompartments.map((row) => ({
|
|
4665
|
+
sequence: row.sequence,
|
|
4666
|
+
startMessage: row.start_message,
|
|
4667
|
+
endMessage: row.end_message,
|
|
4668
|
+
startMessageId: row.start_message_id,
|
|
4669
|
+
endMessageId: row.end_message_id,
|
|
4670
|
+
rebaseStatus: row.rebase_status
|
|
4671
|
+
})));
|
|
4663
4672
|
for (const row of sourceCompartments) {
|
|
4664
|
-
const
|
|
4665
|
-
|
|
4673
|
+
const mapped = selected?.get(row.sequence);
|
|
4674
|
+
if (selected && !mapped)
|
|
4675
|
+
continue;
|
|
4676
|
+
const startMessage = mapped?.startMessage ?? filter.resolveBoundaryOrdinal(row.start_message_id);
|
|
4677
|
+
const endMessage = mapped?.endMessage ?? filter.resolveBoundaryOrdinal(row.end_message_id);
|
|
4666
4678
|
if (startMessage === undefined || endMessage === undefined)
|
|
4667
4679
|
continue;
|
|
4668
|
-
|
|
4680
|
+
const startMessageId = mapped?.startMessageId ?? mapMessageId(filter, row.start_message_id);
|
|
4681
|
+
const endMessageId = mapped?.endMessageId ?? mapMessageId(filter, row.end_message_id);
|
|
4682
|
+
insertCompartment.run(destinationSessionId, row.sequence, startMessage, endMessage, startMessageId, endMessageId, row.title, row.content, row.p1, row.p2, row.p3, row.p4, row.importance, row.episode_type, row.legacy, row.created_at, row.harness, ...hasBlockIndices ? [row.start_block_index, row.end_block_index] : []);
|
|
4669
4683
|
copiedCompartments.push({
|
|
4670
4684
|
sequence: row.sequence,
|
|
4671
4685
|
startMessage,
|
|
4672
4686
|
endMessage,
|
|
4673
|
-
startMessageId:
|
|
4674
|
-
endMessageId:
|
|
4687
|
+
startMessageId: startMessageId ?? row.start_message_id,
|
|
4688
|
+
endMessageId: endMessageId ?? row.end_message_id
|
|
4675
4689
|
});
|
|
4676
4690
|
}
|
|
4677
4691
|
const sourceTags = db.prepare(`SELECT id, message_id, type, status, byte_size, tag_number, harness,
|
|
@@ -4749,7 +4763,8 @@ function copySessionStateForClone(db, sourceSessionId, destinationSessionId, fil
|
|
|
4749
4763
|
if (pendingMarker === null)
|
|
4750
4764
|
clearedMarker = getPendingPiCompactionMarkerState(db, destinationSessionId);
|
|
4751
4765
|
const todoAnchor = meta?.todo_synthetic_anchor_message_id ?? "";
|
|
4752
|
-
const
|
|
4766
|
+
const replayFilter = filter.includeReplayMessageId ? { ...filter, includeMessageId: filter.includeReplayMessageId } : filter;
|
|
4767
|
+
const migrateTodo = todoAnchor.length > 0 && replayFilter.includeMessageId(todoAnchor);
|
|
4753
4768
|
db.prepare(`INSERT INTO session_meta
|
|
4754
4769
|
(session_id, harness, counter, cleared_reasoning_through_tag,
|
|
4755
4770
|
tool_reclaim_watermark, pi_stable_id_scheme, stripped_placeholder_ids,
|
|
@@ -4774,11 +4789,15 @@ function copySessionStateForClone(db, sourceSessionId, destinationSessionId, fil
|
|
|
4774
4789
|
todo_synthetic_anchor_message_id = excluded.todo_synthetic_anchor_message_id,
|
|
4775
4790
|
todo_synthetic_state_json = excluded.todo_synthetic_state_json,
|
|
4776
4791
|
cached_m0_bytes = NULL,
|
|
4777
|
-
cached_m1_bytes = NULL`).run(destinationSessionId, getHarness2(), maxCopiedTag, clampWatermark(meta?.cleared_reasoning_through_tag ?? null, maxCopiedTag), clampWatermark(meta?.tool_reclaim_watermark ?? null, maxCopiedTag), typeof meta?.pi_stable_id_scheme === "number" && Number.isFinite(meta.pi_stable_id_scheme) ? meta.pi_stable_id_scheme : null, filterStrippedPlaceholderBlob(meta?.stripped_placeholder_ids ?? null,
|
|
4792
|
+
cached_m1_bytes = NULL`).run(destinationSessionId, getHarness2(), maxCopiedTag, clampWatermark(meta?.cleared_reasoning_through_tag ?? null, maxCopiedTag), clampWatermark(meta?.tool_reclaim_watermark ?? null, maxCopiedTag), typeof meta?.pi_stable_id_scheme === "number" && Number.isFinite(meta.pi_stable_id_scheme) ? meta.pi_stable_id_scheme : null, filterStrippedPlaceholderBlob(meta?.stripped_placeholder_ids ?? null, replayFilter), filterIdBlob(meta?.stale_reduce_stripped_ids ?? null, replayFilter), filterProcessedImageBlob(meta?.processed_image_stripped_ids ?? null, replayFilter), clonePiContentDecisions(meta?.merged_reasoning_stripped_ids ?? null, replayFilter), pendingMarker, migrateTodo ? meta?.last_todo_state ?? "" : "", migrateTodo ? meta?.todo_synthetic_call_id ?? "" : "", migrateTodo ? mapMessageId(filter, todoAnchor) ?? "" : "", migrateTodo ? meta?.todo_synthetic_state_json ?? "" : "");
|
|
4793
|
+
const inheritedGaps = filter.inheritedCoordinateGaps?.() ?? [];
|
|
4794
|
+
if (inheritedGaps.length > 0) {
|
|
4795
|
+
db.prepare("UPDATE session_meta SET coordinate_rebase_notice = ? WHERE session_id = ?").run(JSON.stringify({ generation: "v2", inheritedGaps }), destinationSessionId);
|
|
4796
|
+
}
|
|
4778
4797
|
const metaColumnRows = db.prepare("PRAGMA table_info(session_meta)").all();
|
|
4779
4798
|
const metaColumns = new Set(metaColumnRows.map((column) => column.name));
|
|
4780
4799
|
if (metaColumns.has("trailing_blank_decisions")) {
|
|
4781
|
-
const replayDocument = cloneReplayDocument(db, sourceSessionId, copiedToolCallIds,
|
|
4800
|
+
const replayDocument = cloneReplayDocument(db, sourceSessionId, copiedToolCallIds, replayFilter);
|
|
4782
4801
|
writeReplayDocument(db, destinationSessionId, replayDocument);
|
|
4783
4802
|
}
|
|
4784
4803
|
const pendingOpsRow = db.prepare("SELECT COUNT(*) AS count FROM pending_ops WHERE session_id = ?").get(destinationSessionId);
|
|
@@ -15,9 +15,20 @@ function notificationMatchesSink(notification, sink) {
|
|
|
15
15
|
return notification.sessionId === sink.sessionId;
|
|
16
16
|
return sink.protocol !== 2;
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function pushLiveNotification2(type, payload, sessionId) {
|
|
19
19
|
const notification = { id: nextNotificationId++, type, payload, sessionId };
|
|
20
|
-
|
|
20
|
+
for (const sink of sinks) {
|
|
21
|
+
if (sink.sessionId !== sessionId)
|
|
22
|
+
continue;
|
|
23
|
+
try {
|
|
24
|
+
sink.send(notification);
|
|
25
|
+
} catch {}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
function pushNotification2(type, payload, sessionId, options) {
|
|
29
|
+
const notification = { id: nextNotificationId++, type, payload, sessionId };
|
|
30
|
+
if (!options?.liveOnly)
|
|
31
|
+
queue.push(notification);
|
|
21
32
|
for (const sink of sinks) {
|
|
22
33
|
if (!notificationMatchesSink(notification, sink))
|
|
23
34
|
continue;
|
|
@@ -25,7 +36,7 @@ function pushNotification2(type, payload, sessionId) {
|
|
|
25
36
|
sink.send(notification);
|
|
26
37
|
} catch {}
|
|
27
38
|
}
|
|
28
|
-
if (queue.length > 100) {
|
|
39
|
+
if (!options?.liveOnly && queue.length > 100) {
|
|
29
40
|
const reservedIds = new Set;
|
|
30
41
|
const reservedScopes = new Set;
|
|
31
42
|
for (let i = queue.length - 1;i >= 0 && reservedScopes.size < 25; i -= 1) {
|
|
@@ -101,4 +112,4 @@ function isTuiConnected2(sessionId) {
|
|
|
101
112
|
return false;
|
|
102
113
|
}
|
|
103
114
|
|
|
104
|
-
export { registerNotificationSink2, pushNotification2, acknowledgeNotifications2, __resetNotificationStateForTests2, drainNotifications2, isTuiConnected2 };
|
|
115
|
+
export { registerNotificationSink2, pushLiveNotification2, pushNotification2, acknowledgeNotifications2, __resetNotificationStateForTests2, drainNotifications2, isTuiConnected2 };
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./server-gzy5w8ya.js";
|
|
14
14
|
import {
|
|
15
15
|
scheduleAfterBootQuiet
|
|
16
|
-
} from "./server-
|
|
16
|
+
} from "./server-bt546axy.js";
|
|
17
17
|
import {
|
|
18
18
|
getHarness2,
|
|
19
19
|
harnessOwnsOpenCodeStore2
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
hasPendingMigrations,
|
|
58
58
|
getMainThreadMigrationBodyCount,
|
|
59
59
|
runMigrations
|
|
60
|
-
} from "./server-
|
|
60
|
+
} from "./server-2ktxmtbd.js";
|
|
61
61
|
import {
|
|
62
62
|
setDatabase,
|
|
63
63
|
loadToolDefinitionMeasurements,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
OpenAICompatibleEmbeddingProvider,
|
|
23
23
|
embedTextForProject2
|
|
24
|
-
} from "./server-
|
|
24
|
+
} from "./server-68q80y27.js";
|
|
25
25
|
import {
|
|
26
26
|
saveEmbeddingIfHashMatches
|
|
27
27
|
} from "./server-4dhv7mqz.js";
|
|
@@ -51,6 +51,11 @@ var USER_FACING_FAILURES = {
|
|
|
51
51
|
sentence: "History compression is paused because this session's saved summaries no longer line up with its messages.",
|
|
52
52
|
action: "Run /ctx-recomp to rebuild them."
|
|
53
53
|
},
|
|
54
|
+
fork_history_gap: {
|
|
55
|
+
code: "MC-H09",
|
|
56
|
+
sentence: "This fork's saved history has a gap.",
|
|
57
|
+
action: "Run /ctx-recomp to rebuild its history."
|
|
58
|
+
},
|
|
54
59
|
history_boundary_unresolved: {
|
|
55
60
|
code: "MC-H04",
|
|
56
61
|
sentence: "This request was not sent: it is larger than the model's context window, and Magic Context could not cut the already-summarized history out of it.",
|