@cortexkit/opencode-magic-context 0.49.57 → 0.49.59
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/{announcement-9pr71hd5.js → announcement-p41dde4h.js} +2 -2
- package/dist/auto-search-worker.js +5 -5
- package/dist/chunk-embedding-write-worker.js +13 -13
- package/dist/{compaction-marker-candidates-8hazqfvj.js → compaction-marker-candidates-1ndjqh9k.js} +2 -2
- package/dist/compaction-marker-candidates-worker.js +1 -1
- package/dist/{compartment-chunk-embedding-gfd093f8.js → compartment-chunk-embedding-ymc9mtwv.js} +7 -7
- package/dist/{conflict-warning-hook-56qpq7ws.js → conflict-warning-hook-m8yezwdj.js} +7 -7
- package/dist/{context-a617pcqe.js → context-aexc6pbs.js} +41 -40
- package/dist/{derive-budgets-z53424qx.js → derive-budgets-heypxqdz.js} +2 -2
- package/dist/{embedding-backfill-2dvf3rcn.js → embedding-backfill-sk7agn5v.js} +12 -12
- package/dist/embedding-worker-process.js +1 -1
- package/dist/embedding-worker.js +4 -4
- package/dist/{history-owner-n50e0e8y.js → history-owner-xqfsvf9k.js} +2 -2
- package/dist/hooks/magic-context/command-handler.d.ts +2 -0
- package/dist/hooks/magic-context/command-handler.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-runner-historian.d.ts.map +1 -1
- package/dist/hooks/magic-context/hook.d.ts.map +1 -1
- package/dist/{index-5ptp2de1.js → index-0cz8bsyx.js} +9 -9
- package/dist/{index-r9agn061.js → index-1sq1krqw.js} +4 -4
- package/dist/{index-b6rdv8re.js → index-3hk445am.js} +4 -4
- package/dist/{index-by14cr73.js → index-3yyfftqq.js} +11 -11
- package/dist/{index-wpcjxzrm.js → index-575njz7q.js} +39 -39
- package/dist/{index-gapnh6tk.js → index-5ps3axh5.js} +1 -1
- package/dist/{index-0tz2fzpq.js → index-5vsk2cpp.js} +1 -1
- package/dist/{index-90z05d0p.js → index-832w615x.js} +1 -1
- package/dist/{index-sk6p6esd.js → index-8sc7vqt7.js} +4 -4
- package/dist/{index-cd3vp8xa.js → index-98qy103c.js} +1 -1
- package/dist/{index-3600gm9z.js → index-a09sw9fx.js} +113 -73
- package/dist/{index-29ff546v.js → index-d0feqcs5.js} +6 -6
- package/dist/{index-gz001bx7.js → index-e6ncz7a6.js} +1 -1
- package/dist/{index-reyws9fy.js → index-esqcwes7.js} +1 -1
- package/dist/{index-h62j8z2r.js → index-ev2rrjfc.js} +4 -4
- package/dist/{index-sx1sppd6.js → index-gq1g9a3a.js} +8 -8
- package/dist/{index-ga5q492k.js → index-gqf8r04r.js} +1 -1
- package/dist/{index-x8e50d8f.js → index-gth4t4ar.js} +5 -5
- package/dist/{index-0r2jk2na.js → index-j4aeh6tx.js} +14 -14
- package/dist/{index-qperbvjn.js → index-jg7sbt3v.js} +2 -2
- package/dist/{index-9mggb1nv.js → index-jrj95cce.js} +2 -2
- package/dist/{index-1wsb0e8h.js → index-kv4ntrr6.js} +5 -5
- package/dist/{index-tad3can2.js → index-m0pwswv9.js} +1 -1
- package/dist/{index-pdh4tdcq.js → index-n6aye6ny.js} +2 -2
- package/dist/{index-hsyczpn7.js → index-pxnzyvjc.js} +2 -2
- package/dist/{index-kn1bx21r.js → index-pzvdf7sr.js} +3 -3
- package/dist/{index-36wseasx.js → index-q7q6qp1f.js} +1 -1
- package/dist/{index-zyanqxtc.js → index-s2jdky2x.js} +3 -3
- package/dist/{index-2ny9xwdn.js → index-s32f8y67.js} +2 -2
- package/dist/{index-pdnan1e3.js → index-s3t4vk21.js} +7 -7
- package/dist/{index-hexdee98.js → index-snbpdpa3.js} +4 -4
- package/dist/{index-dhdv88e5.js → index-tebcx987.js} +1 -1
- package/dist/{index-5gqszjq9.js → index-tq20edcs.js} +3 -3
- package/dist/{index-0k283v27.js → index-tzy5h4x6.js} +1 -1
- package/dist/{index-em92bp7f.js → index-x40zr813.js} +2 -2
- package/dist/{index-sv5tn72j.js → index-xx05vta0.js} +4 -4
- package/dist/{index-82dfe8en.js → index-ywrz4wy2.js} +9 -4
- package/dist/{index-bev3zks1.js → index-ywxvdwmj.js} +9 -9
- package/dist/{index-xstbytjn.js → index-zb4h9nrk.js} +2 -2
- package/dist/{index-2vsd5064.js → index-zxj39ba2.js} +4 -4
- package/dist/index.js +51 -50
- package/dist/{logger-sw7z6sjz.js → logger-d7c8akh9.js} +1 -1
- package/dist/{message-fts-rowid-map-kx1bsdyg.js → message-fts-rowid-map-0xx8ge09.js} +4 -4
- package/dist/{message-index-bounded-xav3h8qe.js → message-index-bounded-f6yz4xq8.js} +10 -10
- package/dist/{message-time-backfill-hp2jgn49.js → message-time-backfill-pz5981mf.js} +2 -2
- package/dist/migration-worker.js +10 -10
- package/dist/plugin/hooks/create-session-hooks.d.ts.map +1 -1
- package/dist/{project-embedding-registry-f2azrq24.js → project-embedding-registry-c2sfnamh.js} +11 -11
- package/dist/raw-ordinal-warmup-worker.js +8 -8
- package/dist/{read-session-chunk-70aam2c1.js → read-session-chunk-8b1g06nz.js} +8 -8
- package/dist/{read-session-raw-04ger9zt.js → read-session-raw-3sc9231y.js} +2 -2
- package/dist/{recomp-orchestrator-xwsjrqcs.js → recomp-orchestrator-zqn9zwxn.js} +29 -29
- package/dist/{render-22ebrmep.js → render-nrfbtkkw.js} +19 -19
- package/dist/{safe-notification-target-mx5khyxf.js → safe-notification-target-d21swr3n.js} +2 -2
- package/dist/{search-archive-bqqf5p7f.js → search-archive-1ppdjfm9.js} +10 -10
- package/dist/{search-jfwb4ms3.js → search-xha0r30f.js} +22 -22
- package/dist/{send-session-notification-gamjee2f.js → send-session-notification-ykvt5k2s.js} +5 -5
- package/dist/shared/data-path.d.ts +31 -36
- package/dist/shared/data-path.d.ts.map +1 -1
- package/dist/shared/test-temp-dir.d.ts +28 -0
- package/dist/shared/test-temp-dir.d.ts.map +1 -1
- package/dist/{storage-tags-arnkn5t1.js → storage-tags-spet01yb.js} +5 -5
- package/dist/{transform-postprocess-phase-nejydt3q.js → transform-postprocess-phase-gxb3sp91.js} +30 -30
- package/dist/v2/auto-search-worker.js +5 -5
- package/dist/v2/chunk-embedding-write-worker.js +13 -13
- package/dist/v2/{compaction-marker-candidates-re14353a.js → compaction-marker-candidates-bp1bn579.js} +2 -2
- package/dist/v2/compaction-marker-candidates-worker.js +1 -1
- package/dist/v2/{compartment-chunk-embedding-0pxsrzrt.js → compartment-chunk-embedding-x6qw6mjk.js} +7 -7
- package/dist/v2/{context-4gxr2xd4.js → context-wszt0gbq.js} +43 -42
- package/dist/v2/{derive-budgets-w0815q82.js → derive-budgets-gw030jzt.js} +3 -3
- package/dist/v2/{embedding-backfill-48qbnh7p.js → embedding-backfill-j2xj86zn.js} +12 -12
- package/dist/v2/embedding-worker-process.js +1 -1
- package/dist/v2/embedding-worker.js +4 -4
- package/dist/v2/{history-owner-ep91wgqj.js → history-owner-260djmv5.js} +2 -2
- package/dist/v2/hooks/claude-agent-instructions.d.ts +27 -0
- package/dist/v2/hooks/claude-agent-instructions.d.ts.map +1 -0
- package/dist/v2/hooks/context.d.ts.map +1 -1
- package/dist/v2/hooks/hidden-child.d.ts +15 -2
- package/dist/v2/hooks/hidden-child.d.ts.map +1 -1
- package/dist/v2/{logger-xnscpj6w.js → logger-zyf43np1.js} +1 -1
- package/dist/v2/{message-fts-rowid-map-57jh6xpb.js → message-fts-rowid-map-n8mcvcpz.js} +4 -4
- package/dist/v2/{message-index-bounded-sw8hyqw1.js → message-index-bounded-0w8eh8fc.js} +10 -10
- package/dist/v2/{message-time-backfill-baxebka0.js → message-time-backfill-ynb3vg6r.js} +2 -2
- package/dist/v2/migration-worker.js +10 -10
- package/dist/v2/{project-embedding-registry-kwahtjgg.js → project-embedding-registry-k0hjqt11.js} +11 -11
- package/dist/v2/raw-ordinal-warmup-worker.js +8 -8
- package/dist/v2/{read-session-chunk-nqkn0yb4.js → read-session-chunk-dxs1tgt9.js} +8 -8
- package/dist/v2/{read-session-raw-3e482h3c.js → read-session-raw-wg5zc29f.js} +2 -2
- package/dist/v2/{recomp-orchestrator-1de5c0zr.js → recomp-orchestrator-76rv3b89.js} +30 -30
- package/dist/v2/{render-g44ksejs.js → render-9knrdrjs.js} +19 -19
- package/dist/v2/{safe-notification-target-9r79xnbt.js → safe-notification-target-y55z2zat.js} +2 -2
- package/dist/v2/{search-8dc9ex0a.js → search-a2a0qs3t.js} +21 -21
- package/dist/v2/{search-archive-5ycchnyp.js → search-archive-2jmyvj69.js} +10 -10
- package/dist/v2/{send-session-notification-95p89k7q.js → send-session-notification-8g4r97bp.js} +5 -5
- package/dist/v2/{server-7vrtk78d.js → server-3ap5dmhc.js} +1 -1
- package/dist/v2/{server-avfc9ezb.js → server-4r86tcs2.js} +3 -3
- package/dist/v2/{server-np27dgyt.js → server-5sbsnpkn.js} +1 -1
- package/dist/v2/{server-rz5jnhnv.js → server-6ash6z8z.js} +1 -1
- package/dist/v2/{server-beydmd68.js → server-88n85n60.js} +4 -4
- package/dist/v2/{server-g61hgy1y.js → server-8pdfmc27.js} +4 -4
- package/dist/v2/{server-gge95a03.js → server-8ycacd59.js} +6 -6
- package/dist/v2/{server-t5c8awdm.js → server-9ab9jnpq.js} +3 -3
- package/dist/v2/{server-dqwx9pdh.js → server-9emfsa60.js} +115 -75
- package/dist/v2/{server-r7nj8ga0.js → server-9m5r04ws.js} +5 -5
- package/dist/v2/{server-3yk44ddz.js → server-afsz3cmx.js} +1 -1
- package/dist/v2/{server-c8z2grq0.js → server-at0v0z4t.js} +1 -1
- package/dist/v2/{server-v817sf79.js → server-d07yxksx.js} +2 -2
- package/dist/v2/{server-kwtnrhv3.js → server-d706s5xn.js} +2 -2
- package/dist/v2/{server-ycvqg2s3.js → server-d9aayyxk.js} +4 -4
- package/dist/v2/{server-966dq3pd.js → server-ds8vpfkr.js} +2 -2
- package/dist/v2/{server-bb6kf05j.js → server-j8376q08.js} +9 -4
- package/dist/v2/{server-7waad75d.js → server-ja6swvmb.js} +11 -11
- package/dist/v2/{server-tmf0ayqp.js → server-jdfe07mp.js} +1 -1
- package/dist/v2/{server-6k0rnwbd.js → server-jn4pktdk.js} +4 -4
- package/dist/v2/{server-qp5sj6n5.js → server-jtq03rkb.js} +2 -2
- package/dist/v2/{server-sa1fdt41.js → server-kc5kb9ya.js} +1 -1
- package/dist/v2/{server-91gb0vh8.js → server-npdey91q.js} +1 -1
- package/dist/v2/{server-vqq3g1t7.js → server-qjff96a6.js} +4 -4
- package/dist/v2/{server-4x0xq8a1.js → server-rbtx6q5v.js} +1 -1
- package/dist/v2/{server-jwydbwcx.js → server-svx20ra2.js} +4 -4
- package/dist/v2/{server-v57wr0r9.js → server-t8tmrtcg.js} +9 -9
- package/dist/v2/{server-0ayyh3mx.js → server-tzh55x6d.js} +9 -9
- package/dist/v2/{server-5p0bjk3y.js → server-v1s0cb4v.js} +2 -2
- package/dist/v2/{server-mxsy9h1d.js → server-x6fn9x8q.js} +2 -2
- package/dist/v2/{server-b0357as4.js → server-xepx8t43.js} +2 -2
- package/dist/v2/{server-3jc6qmdz.js → server-y8xjr8rx.js} +1 -1
- package/dist/v2/{server-5kgesxck.js → server-ypaat9rj.js} +2 -2
- package/dist/v2/{server-rpmkz5ta.js → server-z5255w05.js} +8 -8
- package/dist/v2/server.js +5 -5
- package/dist/v2/{storage-tags-19da4c0m.js → storage-tags-50wsqg3t.js} +5 -5
- package/dist/v2/{v2-archive-reader-tgydjgfy.js → v2-archive-reader-ycjh6a2d.js} +1 -1
- package/dist/v2/{wrapup-orchestrator-3871zj7c.js → wrapup-orchestrator-ejcx02g2.js} +30 -30
- package/dist/{v2-archive-reader-2czwvyc9.js → v2-archive-reader-wec0a8fx.js} +1 -1
- package/dist/wrapup-orchestrator-e7mczz6e.js +54 -0
- package/package.json +1 -1
- package/src/shared/data-path.test.ts +27 -10
- package/src/shared/data-path.ts +39 -39
- package/src/shared/test-temp-dir.ts +59 -0
- package/dist/wrapup-orchestrator-m1yzmgq4.js +0 -54
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
log2,
|
|
6
6
|
sessionLog2
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-ywrz4wy2.js";
|
|
8
8
|
import {
|
|
9
9
|
inRootAsyncContext2,
|
|
10
10
|
getSqliteDatabasePath2,
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
} from "./index-gzy5w8ya.js";
|
|
14
14
|
import {
|
|
15
15
|
runSessionWarmupWorker
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-q7q6qp1f.js";
|
|
17
17
|
import {
|
|
18
18
|
scheduleAfterBootQuiet
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-tzy5h4x6.js";
|
|
20
20
|
import {
|
|
21
21
|
cleanSearchText,
|
|
22
22
|
hintKeywordRelevance,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
clearIndexedMessages,
|
|
29
29
|
indexSingleMessage,
|
|
30
30
|
indexMessagesAfterOrdinal
|
|
31
|
-
} from "./index-
|
|
31
|
+
} from "./index-ev2rrjfc.js";
|
|
32
32
|
|
|
33
33
|
// src/features/magic-context/message-index-async.ts
|
|
34
34
|
var indexCancellations = new Map;
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
StaleRouteHandleError,
|
|
7
7
|
SubcClient,
|
|
8
8
|
isConsumerReconnectTransient
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-pxnzyvjc.js";
|
|
10
10
|
import {
|
|
11
11
|
getHarness2
|
|
12
12
|
} from "./index-pavzsdc6.js";
|
|
13
13
|
import {
|
|
14
14
|
getDataDir,
|
|
15
15
|
log2
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-ywrz4wy2.js";
|
|
17
17
|
import {
|
|
18
18
|
inRootAsyncContext2
|
|
19
19
|
} from "./index-gzy5w8ya.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
loadCompartmentChunkEmbeddingsForSearch2,
|
|
23
23
|
peekCompartmentChunkSearchPool2,
|
|
24
24
|
warmCompartmentChunkSearchPool2
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-snbpdpa3.js";
|
|
26
26
|
import {
|
|
27
27
|
saveCommitEmbedding,
|
|
28
28
|
loadProjectCommitEmbeddings,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
enqueueShadowEmbeddingItems2,
|
|
39
39
|
getProjectEmbeddingSnapshot2,
|
|
40
40
|
embedItemsForProject2
|
|
41
|
-
} from "./index-
|
|
41
|
+
} from "./index-gq1g9a3a.js";
|
|
42
42
|
import {
|
|
43
43
|
recordEmbeddingMeasurement
|
|
44
44
|
} from "./index-2amn2s73.js";
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
isEmbeddingEnabled,
|
|
51
51
|
embedText,
|
|
52
52
|
ensureMemoryEmbeddings2
|
|
53
|
-
} from "./index-
|
|
53
|
+
} from "./index-zxj39ba2.js";
|
|
54
54
|
import {
|
|
55
55
|
ModuleMemoryAuthorityError2,
|
|
56
56
|
getMemoriesByProject2,
|
|
@@ -63,36 +63,36 @@ import {
|
|
|
63
63
|
sanitizeFtsQuery,
|
|
64
64
|
searchMemoriesFTS,
|
|
65
65
|
searchMemoriesFTSUnion
|
|
66
|
-
} from "./index-
|
|
66
|
+
} from "./index-n6aye6ny.js";
|
|
67
67
|
import {
|
|
68
68
|
matchedSearchSnippet,
|
|
69
69
|
getIndexedMessageCorpusSize
|
|
70
|
-
} from "./index-
|
|
70
|
+
} from "./index-ev2rrjfc.js";
|
|
71
71
|
import {
|
|
72
72
|
getMessageIndexEpoch,
|
|
73
73
|
isMessageIndexSearchable,
|
|
74
74
|
withMemoryHintContent,
|
|
75
75
|
autoSearchRelevance,
|
|
76
76
|
recordAutoSearchLane
|
|
77
|
-
} from "./index-
|
|
77
|
+
} from "./index-3hk445am.js";
|
|
78
78
|
import {
|
|
79
79
|
MESSAGE_FTS_SESSION_FILTER_SQL,
|
|
80
80
|
withMessageFtsSessionFilter
|
|
81
81
|
} from "./index-52x68mj4.js";
|
|
82
82
|
import {
|
|
83
83
|
isRecord
|
|
84
|
-
} from "./index-
|
|
84
|
+
} from "./index-8sc7vqt7.js";
|
|
85
85
|
import {
|
|
86
86
|
resolveWorkspaceShareCategories,
|
|
87
87
|
resolveWorkspaceIdentitySet,
|
|
88
88
|
expandWorkspaceIdentitySetWithAliases,
|
|
89
89
|
resolveStoredPathWorkspaceIdentity,
|
|
90
90
|
sourceNameForMemory
|
|
91
|
-
} from "./index-
|
|
91
|
+
} from "./index-xx05vta0.js";
|
|
92
92
|
import {
|
|
93
93
|
getNotes,
|
|
94
94
|
getActivePrimers
|
|
95
|
-
} from "./index-
|
|
95
|
+
} from "./index-tebcx987.js";
|
|
96
96
|
import {
|
|
97
97
|
isKnownAutocommit
|
|
98
98
|
} from "./index-8ajstryz.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
log2,
|
|
29
29
|
sessionLog2,
|
|
30
30
|
getLoggerDiagnostics2
|
|
31
|
-
} from "./index-
|
|
31
|
+
} from "./index-ywrz4wy2.js";
|
|
32
32
|
import {
|
|
33
33
|
sanitizeDiagnosticText,
|
|
34
34
|
hasShareabilitySensitiveText
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
storedPathBelongsToIdentity,
|
|
72
72
|
beginBootQuietPeriod,
|
|
73
73
|
scheduleAfterBootQuiet
|
|
74
|
-
} from "./index-
|
|
74
|
+
} from "./index-tzy5h4x6.js";
|
|
75
75
|
import {
|
|
76
76
|
recordSessionProjectIdentity,
|
|
77
77
|
hasRecordedSessionProjectIdentity,
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
markGitSweepSuccessAndRelease,
|
|
82
82
|
parkGitSweepNonIndexable,
|
|
83
83
|
releaseGitSweepLease
|
|
84
|
-
} from "./index-
|
|
84
|
+
} from "./index-jg7sbt3v.js";
|
|
85
85
|
import {
|
|
86
86
|
getMagicContextBuiltinCommands,
|
|
87
87
|
formatConfigParseStatusLine,
|
|
@@ -196,7 +196,7 @@ import {
|
|
|
196
196
|
snapRangeToCompartments,
|
|
197
197
|
getActiveCompartmentRun,
|
|
198
198
|
startCompartmentAgent
|
|
199
|
-
} from "./index-
|
|
199
|
+
} from "./index-a09sw9fx.js";
|
|
200
200
|
import {
|
|
201
201
|
hasTrustedAbsoluteWall,
|
|
202
202
|
applyProvenInputFloor,
|
|
@@ -208,7 +208,7 @@ import {
|
|
|
208
208
|
deriveTriggerBudget2,
|
|
209
209
|
resolveKnownHistorianContextLimit2,
|
|
210
210
|
resolveHistorianProducerLimits2
|
|
211
|
-
} from "./index-
|
|
211
|
+
} from "./index-5ps3axh5.js";
|
|
212
212
|
import {
|
|
213
213
|
resolveModelCalibration,
|
|
214
214
|
calibrateBuckets,
|
|
@@ -222,7 +222,7 @@ import {
|
|
|
222
222
|
estimateTokens,
|
|
223
223
|
estimateFixedPromptTokens,
|
|
224
224
|
normalizeText
|
|
225
|
-
} from "./index-
|
|
225
|
+
} from "./index-5vsk2cpp.js";
|
|
226
226
|
import {
|
|
227
227
|
protectedToolTokenCount,
|
|
228
228
|
peelLeadingMcTagNotation,
|
|
@@ -355,13 +355,13 @@ import {
|
|
|
355
355
|
getTagsByNumbers2,
|
|
356
356
|
getDroppedTagsByNumbers2,
|
|
357
357
|
getMaxDroppedTagNumber2
|
|
358
|
-
} from "./index-
|
|
358
|
+
} from "./index-8sc7vqt7.js";
|
|
359
359
|
import {
|
|
360
360
|
BoundedSessionMap,
|
|
361
361
|
observeTemporalDecisions,
|
|
362
362
|
stableStringify,
|
|
363
363
|
getMeasuredToolDefinitionTokens
|
|
364
|
-
} from "./index-
|
|
364
|
+
} from "./index-jrj95cce.js";
|
|
365
365
|
import {
|
|
366
366
|
withContentLanguageDirective,
|
|
367
367
|
string,
|
|
@@ -388,7 +388,7 @@ import {
|
|
|
388
388
|
extractInMemoryMessageViews2,
|
|
389
389
|
buildInMemoryTailRawMessages2,
|
|
390
390
|
RawOrdinalsNotReady2
|
|
391
|
-
} from "./index-
|
|
391
|
+
} from "./index-q7q6qp1f.js";
|
|
392
392
|
import {
|
|
393
393
|
openCodeDbExists,
|
|
394
394
|
withReadOnlySessionDb,
|
|
@@ -396,7 +396,7 @@ import {
|
|
|
396
396
|
latestPersistedMessageForRecovery,
|
|
397
397
|
latestRealUserTurnIdFromOpenCodeDb,
|
|
398
398
|
findLastAssistantModelFromOpenCodeDb
|
|
399
|
-
} from "./index-
|
|
399
|
+
} from "./index-x40zr813.js";
|
|
400
400
|
import {
|
|
401
401
|
askAnswerLines,
|
|
402
402
|
estimateTrueRawMessageTokens,
|
|
@@ -427,7 +427,7 @@ import {
|
|
|
427
427
|
readRawSessionMessageById2,
|
|
428
428
|
readSessionChunk2,
|
|
429
429
|
readRawSessionSeedTail2
|
|
430
|
-
} from "./index-
|
|
430
|
+
} from "./index-d0feqcs5.js";
|
|
431
431
|
import {
|
|
432
432
|
isFailClosedBlockingError,
|
|
433
433
|
shouldBypassFailClosedBlock,
|
|
@@ -439,7 +439,7 @@ import {
|
|
|
439
439
|
rpcPortFilePath,
|
|
440
440
|
parseRpcPortFile,
|
|
441
441
|
inspectProcessesAsync
|
|
442
|
-
} from "./index-
|
|
442
|
+
} from "./index-gqf8r04r.js";
|
|
443
443
|
import {
|
|
444
444
|
configureContextDatabasePragmas2
|
|
445
445
|
} from "./index-fb3zxn06.js";
|
|
@@ -453,7 +453,7 @@ import {
|
|
|
453
453
|
runSqliteOptimize,
|
|
454
454
|
openDatabase,
|
|
455
455
|
openCurrentDatabase
|
|
456
|
-
} from "./index-
|
|
456
|
+
} from "./index-0cz8bsyx.js";
|
|
457
457
|
import {
|
|
458
458
|
unescapeXml,
|
|
459
459
|
resolveWorkspaceShareCategories,
|
|
@@ -462,7 +462,7 @@ import {
|
|
|
462
462
|
resolveStoredPathWorkspaceIdentity,
|
|
463
463
|
storedPathBelongsToWorkspace,
|
|
464
464
|
computeWorkspaceEpochFingerprint
|
|
465
|
-
} from "./index-
|
|
465
|
+
} from "./index-xx05vta0.js";
|
|
466
466
|
import {
|
|
467
467
|
V2_MEMORY_CATEGORIES,
|
|
468
468
|
CATEGORY_PRIORITY
|
|
@@ -484,7 +484,7 @@ import {
|
|
|
484
484
|
toSynapseLaneDescriptor,
|
|
485
485
|
formatSynapseLaneDescriptor,
|
|
486
486
|
SynapseEmbeddingProvider
|
|
487
|
-
} from "./index-
|
|
487
|
+
} from "./index-pxnzyvjc.js";
|
|
488
488
|
import {
|
|
489
489
|
getCompartments,
|
|
490
490
|
getLastCompartmentEndMessage,
|
|
@@ -569,10 +569,10 @@ import {
|
|
|
569
569
|
GLOBAL_USER_PROFILE_PROJECT_PATH,
|
|
570
570
|
getProjectState,
|
|
571
571
|
bumpProjectUserProfileVersion
|
|
572
|
-
} from "./index-
|
|
572
|
+
} from "./index-ywxvdwmj.js";
|
|
573
573
|
import {
|
|
574
574
|
getLastIndexedOrdinal
|
|
575
|
-
} from "./index-
|
|
575
|
+
} from "./index-ev2rrjfc.js";
|
|
576
576
|
import {
|
|
577
577
|
SESSION_NOTE_CONDITION_ERROR,
|
|
578
578
|
getNoteByIdInScope,
|
|
@@ -598,7 +598,7 @@ import {
|
|
|
598
598
|
createPrimer,
|
|
599
599
|
updatePrimerSupport,
|
|
600
600
|
updatePrimerAnswer
|
|
601
|
-
} from "./index-
|
|
601
|
+
} from "./index-tebcx987.js";
|
|
602
602
|
import {
|
|
603
603
|
registerNotificationSink2,
|
|
604
604
|
pushNotification2,
|
|
@@ -610,7 +610,7 @@ import {
|
|
|
610
610
|
getCachedLocalEmbeddingPooling,
|
|
611
611
|
preflightLocalEmbeddingPooling,
|
|
612
612
|
getLocalEmbeddingNativeMemoryStats
|
|
613
|
-
} from "./index-
|
|
613
|
+
} from "./index-zb4h9nrk.js";
|
|
614
614
|
import {
|
|
615
615
|
withQueryEmbeddingDeadline,
|
|
616
616
|
describeShadowBackfillWriteRefusal2,
|
|
@@ -631,7 +631,7 @@ import {
|
|
|
631
631
|
embedSessionCompartmentChunks2,
|
|
632
632
|
getEmbeddingCoverageStatus2,
|
|
633
633
|
getAutoEmbeddingSessionCoverage2
|
|
634
|
-
} from "./index-
|
|
634
|
+
} from "./index-gq1g9a3a.js";
|
|
635
635
|
import {
|
|
636
636
|
saveEmbeddingIfHashMatches,
|
|
637
637
|
invalidateProject2,
|
|
@@ -639,7 +639,7 @@ import {
|
|
|
639
639
|
} from "./index-4dhv7mqz.js";
|
|
640
640
|
import {
|
|
641
641
|
cosineSimilarity
|
|
642
|
-
} from "./index-
|
|
642
|
+
} from "./index-zxj39ba2.js";
|
|
643
643
|
import {
|
|
644
644
|
computeCueContentHash,
|
|
645
645
|
hasMuralCueColumns,
|
|
@@ -685,7 +685,7 @@ import {
|
|
|
685
685
|
readGitFileChangeTimesSince,
|
|
686
686
|
verificationFileExists,
|
|
687
687
|
normalizeVerificationFiles
|
|
688
|
-
} from "./index-
|
|
688
|
+
} from "./index-n6aye6ny.js";
|
|
689
689
|
import {
|
|
690
690
|
renderSingleStoreMigrationRequiredRefusal,
|
|
691
691
|
SingleStoreMigrationRequiredError,
|
|
@@ -706,23 +706,23 @@ import {
|
|
|
706
706
|
resolveMemoriesByIdsForSearch2,
|
|
707
707
|
unifiedSearch2,
|
|
708
708
|
formatSearchResults2
|
|
709
|
-
} from "./index-
|
|
709
|
+
} from "./index-3yyfftqq.js";
|
|
710
710
|
import {
|
|
711
711
|
scheduleReconciliation,
|
|
712
712
|
scheduleIncrementalIndex,
|
|
713
713
|
getMessageIndexQueueHeapStats,
|
|
714
714
|
clearSessionTracking
|
|
715
|
-
} from "./index-
|
|
715
|
+
} from "./index-3hk445am.js";
|
|
716
716
|
import {
|
|
717
717
|
flushIgnoredMessages2,
|
|
718
718
|
clearIgnoredMessages2,
|
|
719
719
|
observeIgnoredNotificationEvent2,
|
|
720
720
|
sendStatusNotification2
|
|
721
|
-
} from "./index-
|
|
721
|
+
} from "./index-1sq1krqw.js";
|
|
722
722
|
import {
|
|
723
723
|
setRecompStarting2,
|
|
724
724
|
setRecompTerminal2
|
|
725
|
-
} from "./index-
|
|
725
|
+
} from "./index-gth4t4ar.js";
|
|
726
726
|
import {
|
|
727
727
|
makeToolCompositeKey,
|
|
728
728
|
searchMessageHistoryOffThread,
|
|
@@ -807,14 +807,14 @@ import {
|
|
|
807
807
|
abortSessionFailClosed2,
|
|
808
808
|
evaluateEmergencyFailClosed2,
|
|
809
809
|
runPostTransformPhase2
|
|
810
|
-
} from "./index-
|
|
810
|
+
} from "./index-j4aeh6tx.js";
|
|
811
811
|
import {
|
|
812
812
|
ANNOUNCEMENT_VERSION2,
|
|
813
813
|
ANNOUNCEMENT_FEATURES2,
|
|
814
814
|
ANNOUNCEMENT_FOOTER2,
|
|
815
815
|
markAnnouncementSeen2,
|
|
816
816
|
shouldShowAnnouncement2
|
|
817
|
-
} from "./index-
|
|
817
|
+
} from "./index-98qy103c.js";
|
|
818
818
|
import {
|
|
819
819
|
resolvePromptContext2
|
|
820
820
|
} from "./index-fmsr7v69.js";
|
|
@@ -822,13 +822,13 @@ import {
|
|
|
822
822
|
renderMessageByOrdinal2,
|
|
823
823
|
renderVerboseRangeForTool2,
|
|
824
824
|
renderItemByTag2
|
|
825
|
-
} from "./index-
|
|
825
|
+
} from "./index-tq20edcs.js";
|
|
826
826
|
import {
|
|
827
827
|
readV2ArchiveOffThread2
|
|
828
|
-
} from "./index-
|
|
828
|
+
} from "./index-s2jdky2x.js";
|
|
829
829
|
import {
|
|
830
830
|
renderSearchArchiveOffThread2
|
|
831
|
-
} from "./index-
|
|
831
|
+
} from "./index-kv4ntrr6.js";
|
|
832
832
|
import {
|
|
833
833
|
COMPACTION_ENABLED_PATH,
|
|
834
834
|
isDreamerRunnable,
|
|
@@ -862,7 +862,7 @@ import {
|
|
|
862
862
|
} from "./index-8ajstryz.js";
|
|
863
863
|
import {
|
|
864
864
|
logSlowWriteTransaction
|
|
865
|
-
} from "./index-
|
|
865
|
+
} from "./index-m0pwswv9.js";
|
|
866
866
|
import {
|
|
867
867
|
shouldEnforcePrivateStoragePermissions,
|
|
868
868
|
ensureStorageDirectorySync,
|
|
@@ -14707,7 +14707,7 @@ async function executeDreaming(deps, sessionId, argText) {
|
|
|
14707
14707
|
const dreamNotificationParams = {
|
|
14708
14708
|
toastDurationMs: deps.sampleToastDurationMs?.() ?? deps.toastDurationMs ?? 5000
|
|
14709
14709
|
};
|
|
14710
|
-
if (!deps.dreamer) {
|
|
14710
|
+
if (!deps.dreamer || deps.dreamer.isDisabled?.() === true) {
|
|
14711
14711
|
await deps.sendNotification(sessionId, `## /ctx-dream
|
|
14712
14712
|
|
|
14713
14713
|
Dreaming is not configured for this project.`, dreamNotificationParams);
|
|
@@ -16397,7 +16397,7 @@ function registerRpcHandlers(rpcServer, args) {
|
|
|
16397
16397
|
return { count: buildCompartmentCount(db, sessionId, moduleStatus) };
|
|
16398
16398
|
});
|
|
16399
16399
|
const buildManagedCtx = async (db) => {
|
|
16400
|
-
const { deriveHistorianChunkTokens, resolveHistorianContextLimit } = await importPluginModule(() => import("./derive-budgets-
|
|
16400
|
+
const { deriveHistorianChunkTokens, resolveHistorianContextLimit } = await importPluginModule(() => import("./derive-budgets-heypxqdz.js"));
|
|
16401
16401
|
const { resolveHistorianModel } = await importPluginModule(() => import("./model-resolution-280gmqvd.js"));
|
|
16402
16402
|
const { userObservationCollectionEnabled, userObservationsRequested } = await importPluginModule(() => import("./task-config-t6bpyka7.js"));
|
|
16403
16403
|
const DEFAULT_HISTORIAN_TIMEOUT_MS = 10 * 60 * 1000;
|
|
@@ -16430,7 +16430,7 @@ function registerRpcHandlers(rpcServer, args) {
|
|
|
16430
16430
|
return { ok: false, error: "no session" };
|
|
16431
16431
|
const readDirectory = args.readSessionDirectory;
|
|
16432
16432
|
if (readDirectory) {
|
|
16433
|
-
const { handoffHistoryWork } = await import("./history-owner-
|
|
16433
|
+
const { handoffHistoryWork } = await import("./history-owner-xqfsvf9k.js");
|
|
16434
16434
|
const handed = await handoffHistoryWork({
|
|
16435
16435
|
storageDir: args.storageDir ?? getMagicContextStorageDir(),
|
|
16436
16436
|
directory,
|
|
@@ -16449,8 +16449,8 @@ function registerRpcHandlers(rpcServer, args) {
|
|
|
16449
16449
|
const db = readDatabase();
|
|
16450
16450
|
if (!db)
|
|
16451
16451
|
return { ok: false, error: "db unavailable" };
|
|
16452
|
-
const { runManagedRecomp } = await importPluginModule(() => import("./recomp-orchestrator-
|
|
16453
|
-
const { sendIgnoredMessage } = await importPluginModule(() => import("./send-session-notification-
|
|
16452
|
+
const { runManagedRecomp } = await importPluginModule(() => import("./recomp-orchestrator-zqn9zwxn.js"));
|
|
16453
|
+
const { sendIgnoredMessage } = await importPluginModule(() => import("./send-session-notification-ykvt5k2s.js"));
|
|
16454
16454
|
log2(`[rpc] recomp requested for session ${sessionId}`);
|
|
16455
16455
|
if (!args.client && !args.hiddenCompletionExecutor) {
|
|
16456
16456
|
return {
|
|
@@ -16508,7 +16508,7 @@ function registerRpcHandlers(rpcServer, args) {
|
|
|
16508
16508
|
rpcServer.handle("wrapup", async (params) => {
|
|
16509
16509
|
const readDirectory = args.readSessionDirectory;
|
|
16510
16510
|
if (readDirectory && params.sessionId) {
|
|
16511
|
-
const { handoffHistoryWork } = await import("./history-owner-
|
|
16511
|
+
const { handoffHistoryWork } = await import("./history-owner-xqfsvf9k.js");
|
|
16512
16512
|
const sessionId = String(params.sessionId);
|
|
16513
16513
|
const handed = await handoffHistoryWork({
|
|
16514
16514
|
storageDir: args.storageDir ?? getMagicContextStorageDir(),
|
|
@@ -16534,7 +16534,7 @@ function registerRpcHandlers(rpcServer, args) {
|
|
|
16534
16534
|
const db = readDatabase();
|
|
16535
16535
|
if (!db)
|
|
16536
16536
|
return { ok: false, error: "db unavailable" };
|
|
16537
|
-
const { runManagedWrapup } = await importPluginModule(() => import("./wrapup-orchestrator-
|
|
16537
|
+
const { runManagedWrapup } = await importPluginModule(() => import("./wrapup-orchestrator-e7mczz6e.js"));
|
|
16538
16538
|
const model = liveSessionState.liveModelBySession.get(sessionId);
|
|
16539
16539
|
const contextLimit = model ? resolveContextLimit(model.providerID, model.modelID, { db, sessionID: sessionId }) : 128000;
|
|
16540
16540
|
const ctx = {
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
tokenCountUsesByteBound,
|
|
11
11
|
estimateTokens,
|
|
12
12
|
createTokenCountMemo
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-5vsk2cpp.js";
|
|
14
14
|
import {
|
|
15
15
|
getHarness2
|
|
16
16
|
} from "./index-pavzsdc6.js";
|
|
17
17
|
import {
|
|
18
18
|
sessionLog2
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-ywrz4wy2.js";
|
|
20
20
|
import {
|
|
21
21
|
tagIdentityRevisionKey,
|
|
22
22
|
tagOrderConstraintIndex,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
getToolDefinitionMeasurementSignature,
|
|
26
26
|
getMeasuredToolDefinitionTokens,
|
|
27
27
|
getSessionToolDefinitionTokens
|
|
28
|
-
} from "./index-
|
|
28
|
+
} from "./index-jrj95cce.js";
|
|
29
29
|
import {
|
|
30
30
|
resolveModelConfigValue,
|
|
31
31
|
DEFAULT_PROTECTED_TOOLS,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
} from "./index-avwt563y.js";
|
|
45
45
|
import {
|
|
46
46
|
logSlowWriteTransaction
|
|
47
|
-
} from "./index-
|
|
47
|
+
} from "./index-m0pwswv9.js";
|
|
48
48
|
|
|
49
49
|
// src/shared/record-type-guard.ts
|
|
50
50
|
function isRecord(value) {
|