@cortexkit/opencode-magic-context 0.49.4 → 0.49.6
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 +5 -5
- package/dist/{compaction-marker-candidates-dd638ypn.js → compaction-marker-candidates-cz72pm1t.js} +2 -2
- package/dist/compaction-marker-candidates-worker.js +2 -2
- package/dist/{conflict-warning-hook-ae8nmv7c.js → conflict-warning-hook-1jq1rxx7.js} +5 -5
- package/dist/{context-yg023c5r.js → context-ae3gxdye.js} +23 -23
- package/dist/{embedding-backfill-aj488s8x.js → embedding-backfill-dtjmyktb.js} +6 -6
- package/dist/{index-kb9nn0a0.js → index-0nnd4bry.js} +2 -2
- package/dist/{index-yqps2zsv.js → index-1j8jcjpa.js} +1 -1
- package/dist/{index-3wckxwfp.js → index-1xaw2pq8.js} +5 -5
- package/dist/{index-m4p77myp.js → index-6q5h70h2.js} +1 -1
- package/dist/{index-7ndnvw7a.js → index-7q1m1qjk.js} +1 -1
- package/dist/{index-6m7rdv7y.js → index-9m7bn21d.js} +1 -1
- package/dist/{index-c0b01zrc.js → index-9s58tq95.js} +3 -3
- package/dist/{index-p2hs3rps.js → index-a796ct3s.js} +4 -4
- package/dist/{index-qvr78ej6.js → index-ab3bgm2m.js} +2 -2
- package/dist/{index-znzgze2v.js → index-besxhcsh.js} +7 -7
- package/dist/{index-7w18gg78.js → index-bg5qqene.js} +1 -1
- package/dist/{index-fst3t0d9.js → index-ch08qwgd.js} +8 -8
- package/dist/{index-dd18gej8.js → index-ck6y3td2.js} +3 -3
- package/dist/{index-7jzrrxap.js → index-cm4hmxyk.js} +1 -1
- package/dist/{index-yxawqmdd.js → index-f3dnvnw6.js} +1 -1
- package/dist/{index-41gqa557.js → index-g9exahnx.js} +1 -1
- package/dist/{index-bhk710rw.js → index-hr64sth2.js} +1 -1
- package/dist/{index-gcdb3rqw.js → index-j55vn694.js} +1 -1
- package/dist/{index-x3y1np1h.js → index-mj1fgfrk.js} +23 -23
- package/dist/{index-fjtgekd4.js → index-s0gsmthp.js} +4 -4
- package/dist/{index-v4bqjy56.js → index-vh3e2mvr.js} +17 -17
- package/dist/{index-jpm52v9x.js → index-vnjhmkwk.js} +1 -1
- package/dist/{index-7zg9dvx0.js → index-vztbgcdk.js} +4 -4
- package/dist/{index-xfbfrngb.js → index-xqyj5c85.js} +2 -2
- package/dist/{index-2mqps3c1.js → index-zgzdm6dg.js} +9 -9
- package/dist/index.js +34 -34
- package/dist/{message-index-bounded-pv6ct15d.js → message-index-bounded-630j53ps.js} +9 -9
- package/dist/{message-index-jqa7qd0s.js → message-index-c84wm2g0.js} +9 -9
- package/dist/{message-time-backfill-8x06r9kx.js → message-time-backfill-8kj57qe3.js} +1 -1
- package/dist/migration-worker.js +6 -6
- package/dist/{project-embedding-registry-fcmszatg.js → project-embedding-registry-vv59t7ah.js} +5 -5
- package/dist/raw-ordinal-warmup-worker.js +6 -6
- package/dist/{read-session-chunk-cwgjwjd0.js → read-session-chunk-t3vjd0h0.js} +5 -5
- package/dist/{read-session-raw-z38cn0as.js → read-session-raw-gf7eytnm.js} +2 -2
- package/dist/{recomp-orchestrator-xw9wt5bm.js → recomp-orchestrator-1d08g57a.js} +20 -20
- package/dist/{search-v1t47s2q.js → search-kth2p6cc.js} +16 -16
- package/dist/{send-session-notification-yp9m5g4p.js → send-session-notification-3j6krd4w.js} +4 -4
- package/dist/{sqlite-mhjkerzq.js → sqlite-d7edbk1s.js} +1 -1
- package/dist/{storage-memory-07fx57k6.js → storage-memory-af5zdz98.js} +2 -2
- package/dist/{storage-tags-0ssbmzg9.js → storage-tags-dyj7mmbq.js} +2 -2
- package/dist/{transform-postprocess-phase-ttra554y.js → transform-postprocess-phase-bv3kb5s1.js} +20 -20
- package/dist/v2/auto-search-worker.js +5 -5
- package/dist/v2/{compaction-marker-candidates-1s21e2fz.js → compaction-marker-candidates-6gqp5wrc.js} +2 -2
- package/dist/v2/compaction-marker-candidates-worker.js +2 -2
- package/dist/v2/{context-6en6a8ar.js → context-p8f2shp1.js} +23 -23
- package/dist/v2/{embedding-backfill-9hbkfvnz.js → embedding-backfill-cg4rv90f.js} +6 -6
- package/dist/v2/{message-index-h8ssgq3q.js → message-index-3ws17x1g.js} +9 -9
- package/dist/v2/{message-index-bounded-c0810p5w.js → message-index-bounded-yzxmf6vp.js} +9 -9
- package/dist/v2/{message-time-backfill-cje68egj.js → message-time-backfill-5nf10c65.js} +1 -1
- package/dist/v2/migration-worker.js +6 -6
- package/dist/v2/{project-embedding-registry-42th7k1z.js → project-embedding-registry-rsnf2263.js} +5 -5
- package/dist/v2/raw-ordinal-warmup-worker.js +6 -6
- package/dist/v2/{read-session-chunk-n86v9xfg.js → read-session-chunk-vtb0w2kd.js} +5 -5
- package/dist/v2/{read-session-raw-3b3ehga4.js → read-session-raw-gpcddemt.js} +2 -2
- package/dist/v2/{recomp-orchestrator-krvsbnds.js → recomp-orchestrator-v64r4s4r.js} +19 -19
- package/dist/v2/{search-048v8y02.js → search-bpa4fxq1.js} +16 -16
- package/dist/v2/{send-session-notification-a4h2azxa.js → send-session-notification-5aj2j7vf.js} +4 -4
- package/dist/v2/{server-9a6v0wth.js → server-09g9pkvx.js} +7 -7
- package/dist/v2/{server-kb9nn0a0.js → server-0nnd4bry.js} +2 -2
- package/dist/v2/{server-cjz51jm2.js → server-158ehmk2.js} +3 -3
- package/dist/v2/{server-3dqjhchy.js → server-387vkhjq.js} +1 -1
- package/dist/v2/{server-czb2rkpk.js → server-4tn95znb.js} +1 -1
- package/dist/v2/{server-9290a1mb.js → server-6a9mxnb2.js} +1 -1
- package/dist/v2/{server-e2v4m8xe.js → server-7skbfb81.js} +17 -17
- package/dist/v2/{server-4enr7s6x.js → server-9zqewm6g.js} +1 -1
- package/dist/v2/{server-hetyb88z.js → server-aa9w15cs.js} +8 -8
- package/dist/v2/{server-q6j5dasr.js → server-btgnsv7w.js} +1 -1
- package/dist/v2/{server-7jzrrxap.js → server-cm4hmxyk.js} +1 -1
- package/dist/v2/{server-5zrpr764.js → server-f9py7s7a.js} +1 -1
- package/dist/v2/{server-4n2tknpc.js → server-fby0cxbq.js} +4 -4
- package/dist/v2/{server-8wcf79fe.js → server-keswwkvv.js} +1 -1
- package/dist/v2/{server-3bc6k4k4.js → server-qn23p4h7.js} +5 -5
- package/dist/v2/{server-cvgn49tr.js → server-wrem2nmz.js} +1 -1
- package/dist/v2/{server-8pqnnmf9.js → server-ww9nr8pe.js} +2 -2
- package/dist/v2/{server-rygvffsf.js → server-x2r63c0x.js} +4 -4
- package/dist/v2/{server-pcygfdbs.js → server-yd01snxq.js} +1 -1
- package/dist/v2/{server-2htmbqbv.js → server-yezz0cp2.js} +1 -1
- package/dist/v2/server.js +2 -2
- package/dist/v2/{sqlite-mhjkerzq.js → sqlite-d7edbk1s.js} +1 -1
- package/dist/v2/{storage-memory-07fx57k6.js → storage-memory-af5zdz98.js} +2 -2
- package/dist/v2/{storage-tags-3a4cavqb.js → storage-tags-d47bpaqa.js} +2 -2
- package/dist/v2/{wrapup-orchestrator-r2v7kgy3.js → wrapup-orchestrator-cahk37n7.js} +19 -19
- package/dist/{wrapup-orchestrator-z7agncp8.js → wrapup-orchestrator-mqp0v195.js} +21 -21
- package/package.json +1 -1
- package/src/shared/sqlite-acquisition-routing.test.ts +4 -3
- package/src/shared/sqlite-foreground-wait.test.ts +140 -0
- package/src/shared/sqlite-pass-scope.test.ts +4 -4
- package/src/shared/sqlite.ts +2 -2
|
@@ -17,14 +17,14 @@ var [
|
|
|
17
17
|
{ setHarness },
|
|
18
18
|
{ Database }
|
|
19
19
|
] = await Promise.all([
|
|
20
|
-
import("./embedding-backfill-
|
|
20
|
+
import("./embedding-backfill-dtjmyktb.js"),
|
|
21
21
|
import("./embedding-cache-mgyr73ef.js"),
|
|
22
|
-
import("./storage-memory-
|
|
23
|
-
import("./project-embedding-registry-
|
|
24
|
-
import("./search-
|
|
22
|
+
import("./storage-memory-af5zdz98.js"),
|
|
23
|
+
import("./project-embedding-registry-vv59t7ah.js"),
|
|
24
|
+
import("./search-kth2p6cc.js"),
|
|
25
25
|
import("./embedding-activity-g1dhes6g.js"),
|
|
26
26
|
import("./harness-e4avh192.js"),
|
|
27
|
-
import("./sqlite-
|
|
27
|
+
import("./sqlite-d7edbk1s.js")
|
|
28
28
|
]);
|
|
29
29
|
setHarness(input.harness);
|
|
30
30
|
setEmbeddingSessionBusy(input.sessionId, input.embeddingHostBusy === true);
|
package/dist/{compaction-marker-candidates-dd638ypn.js → compaction-marker-candidates-cz72pm1t.js}
RENAMED
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
readMarkerCandidateBasis2,
|
|
5
5
|
prepareMarkerCandidateBasis2,
|
|
6
6
|
scanMarkerCandidateSnapshot2
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-f3dnvnw6.js";
|
|
8
8
|
import"./index-v0p37hm2.js";
|
|
9
|
-
import"./index-
|
|
9
|
+
import"./index-0nnd4bry.js";
|
|
10
10
|
import"./index-nsjyysj0.js";
|
|
11
11
|
import"./index-0sahzkwr.js";
|
|
12
12
|
import"./index-pavzsdc6.js";
|
|
@@ -5,8 +5,8 @@ if (!port)
|
|
|
5
5
|
throw new Error("marker candidate worker requires a parent port");
|
|
6
6
|
port.postMessage({ kind: "accepted" });
|
|
7
7
|
var [{ Database }, { scanMarkerCandidateSnapshot }] = await Promise.all([
|
|
8
|
-
import("./sqlite-
|
|
9
|
-
import("./compaction-marker-candidates-
|
|
8
|
+
import("./sqlite-d7edbk1s.js"),
|
|
9
|
+
import("./compaction-marker-candidates-cz72pm1t.js")
|
|
10
10
|
]);
|
|
11
11
|
var input = workerData;
|
|
12
12
|
var db;
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
cleanupConflictWarnings2,
|
|
5
5
|
sendSchemaFenceWarning2,
|
|
6
6
|
sendStartupAnnouncement2
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-6q5h70h2.js";
|
|
8
8
|
import"./index-z1tjp257.js";
|
|
9
9
|
import"./index-sd3egckz.js";
|
|
10
|
-
import"./index-
|
|
10
|
+
import"./index-hr64sth2.js";
|
|
11
11
|
import"./index-qt1qqasc.js";
|
|
12
12
|
import"./index-tqf7yg27.js";
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
13
|
+
import"./index-ab3bgm2m.js";
|
|
14
|
+
import"./index-vnjhmkwk.js";
|
|
15
15
|
import"./index-v0p37hm2.js";
|
|
16
16
|
import"./index-58e3y90n.js";
|
|
17
|
-
import"./index-
|
|
17
|
+
import"./index-0nnd4bry.js";
|
|
18
18
|
import"./index-nsjyysj0.js";
|
|
19
19
|
import"./index-0sahzkwr.js";
|
|
20
20
|
import"./index-pavzsdc6.js";
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
rebaseSessionCoordinatesAsync,
|
|
60
60
|
resolveOpenCodeProtectedTailBoundary,
|
|
61
61
|
getActiveCompartmentRun
|
|
62
|
-
} from "./index-
|
|
62
|
+
} from "./index-vh3e2mvr.js";
|
|
63
63
|
import"./index-sd3egckz.js";
|
|
64
64
|
import {
|
|
65
65
|
getHarness2
|
|
@@ -105,12 +105,12 @@ import {
|
|
|
105
105
|
openDatabaseAsync,
|
|
106
106
|
isDatabasePersisted,
|
|
107
107
|
getDatabasePersistenceError
|
|
108
|
-
} from "./index-
|
|
108
|
+
} from "./index-besxhcsh.js";
|
|
109
109
|
import {
|
|
110
110
|
setHomeProjectPermission,
|
|
111
111
|
resolveProjectIdentityForSession,
|
|
112
112
|
scheduleAfterBootQuiet
|
|
113
|
-
} from "./index-
|
|
113
|
+
} from "./index-g9exahnx.js";
|
|
114
114
|
import {
|
|
115
115
|
markHostUnservedRow,
|
|
116
116
|
DreamTokenBudgetExceeded,
|
|
@@ -139,7 +139,7 @@ import {
|
|
|
139
139
|
cleanUserText2,
|
|
140
140
|
readRawSessionMessageIdOrdinalsForRange2,
|
|
141
141
|
readRawSessionMessageOrdinalById2
|
|
142
|
-
} from "./index-
|
|
142
|
+
} from "./index-vztbgcdk.js";
|
|
143
143
|
import {
|
|
144
144
|
hasMeaningfulUserText2,
|
|
145
145
|
preloadTokenizer,
|
|
@@ -151,19 +151,19 @@ import {
|
|
|
151
151
|
withoutSqliteTransformPass2,
|
|
152
152
|
isTransientSqliteError2,
|
|
153
153
|
withAsyncPrivilegedWriter2
|
|
154
|
-
} from "./index-
|
|
154
|
+
} from "./index-0nnd4bry.js";
|
|
155
155
|
import {
|
|
156
156
|
sameProjectDirectory
|
|
157
|
-
} from "./index-
|
|
157
|
+
} from "./index-bg5qqene.js";
|
|
158
158
|
import {
|
|
159
159
|
deleteChunkEmbedBackoffForSession
|
|
160
|
-
} from "./index-
|
|
161
|
-
import"./index-
|
|
160
|
+
} from "./index-j55vn694.js";
|
|
161
|
+
import"./index-9m7bn21d.js";
|
|
162
162
|
import {
|
|
163
163
|
BoundedSessionMap,
|
|
164
164
|
advanceSessionActivity,
|
|
165
165
|
backfillSessionActivity
|
|
166
|
-
} from "./index-
|
|
166
|
+
} from "./index-1xaw2pq8.js";
|
|
167
167
|
import"./index-1bt88epp.js";
|
|
168
168
|
import"./index-1zx87sdm.js";
|
|
169
169
|
import {
|
|
@@ -172,23 +172,23 @@ import {
|
|
|
172
172
|
evaluateChannel2,
|
|
173
173
|
reclaimableToolOutputCount,
|
|
174
174
|
buildChannel2Reminder
|
|
175
|
-
} from "./index-
|
|
175
|
+
} from "./index-1j8jcjpa.js";
|
|
176
176
|
import"./index-v0p37hm2.js";
|
|
177
|
-
import"./index-
|
|
177
|
+
import"./index-vnjhmkwk.js";
|
|
178
178
|
import"./index-58e3y90n.js";
|
|
179
|
-
import"./index-
|
|
179
|
+
import"./index-ab3bgm2m.js";
|
|
180
180
|
import {
|
|
181
181
|
getCurrentToolSetHash,
|
|
182
182
|
recordToolDefinition
|
|
183
183
|
} from "./index-h2wc01qk.js";
|
|
184
184
|
import"./index-fr0wbhdn.js";
|
|
185
|
-
import"./index-
|
|
186
|
-
import"./index-
|
|
185
|
+
import"./index-xqyj5c85.js";
|
|
186
|
+
import"./index-9s58tq95.js";
|
|
187
187
|
import"./index-fb3zxn06.js";
|
|
188
188
|
import {
|
|
189
189
|
renderUserFacingFailure,
|
|
190
190
|
userFacingFailureCode
|
|
191
|
-
} from "./index-
|
|
191
|
+
} from "./index-s0gsmthp.js";
|
|
192
192
|
import {
|
|
193
193
|
runSessionProjectBackfill,
|
|
194
194
|
createLiveSessionState,
|
|
@@ -239,7 +239,7 @@ import {
|
|
|
239
239
|
applyJsonSchemaParameterDescriptions,
|
|
240
240
|
MagicContextRpcServer,
|
|
241
241
|
subagentTemperature
|
|
242
|
-
} from "./index-
|
|
242
|
+
} from "./index-mj1fgfrk.js";
|
|
243
243
|
import {
|
|
244
244
|
createTagger,
|
|
245
245
|
setCtxReduceRegisteredGlobally,
|
|
@@ -247,21 +247,21 @@ import {
|
|
|
247
247
|
EmergencyFailClosedError,
|
|
248
248
|
DegradedPassRefusalError,
|
|
249
249
|
isSyntheticHeadMessage2
|
|
250
|
-
} from "./index-
|
|
251
|
-
import"./index-
|
|
250
|
+
} from "./index-zgzdm6dg.js";
|
|
251
|
+
import"./index-f3dnvnw6.js";
|
|
252
252
|
import"./index-qt1qqasc.js";
|
|
253
253
|
import"./index-4dhv7mqz.js";
|
|
254
254
|
import"./index-gbmqa9x9.js";
|
|
255
|
-
import"./index-
|
|
256
|
-
import"./index-
|
|
255
|
+
import"./index-7q1m1qjk.js";
|
|
256
|
+
import"./index-cm4hmxyk.js";
|
|
257
257
|
import {
|
|
258
258
|
pushNotification2,
|
|
259
259
|
isTuiConnected2
|
|
260
260
|
} from "./index-x8a7jmkh.js";
|
|
261
261
|
import"./index-tqf7yg27.js";
|
|
262
|
-
import"./index-
|
|
263
|
-
import"./index-
|
|
264
|
-
import"./index-
|
|
262
|
+
import"./index-hr64sth2.js";
|
|
263
|
+
import"./index-ch08qwgd.js";
|
|
264
|
+
import"./index-ck6y3td2.js";
|
|
265
265
|
import"./index-mw7c950g.js";
|
|
266
266
|
import {
|
|
267
267
|
detectConflicts
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureMemoryEmbeddings2
|
|
3
|
-
} from "./index-
|
|
4
|
-
import"./index-
|
|
5
|
-
import"./index-
|
|
3
|
+
} from "./index-7q1m1qjk.js";
|
|
4
|
+
import"./index-9s58tq95.js";
|
|
5
|
+
import"./index-j55vn694.js";
|
|
6
6
|
import"./index-4dhv7mqz.js";
|
|
7
7
|
import"./index-qt1qqasc.js";
|
|
8
8
|
import"./index-gbmqa9x9.js";
|
|
9
9
|
import"./index-vkbqdnkj.js";
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
10
|
+
import"./index-g9exahnx.js";
|
|
11
|
+
import"./index-bg5qqene.js";
|
|
12
12
|
import"./index-k6xvbj2e.js";
|
|
13
13
|
import"./index-4mjhqadz.js";
|
|
14
|
-
import"./index-
|
|
14
|
+
import"./index-0nnd4bry.js";
|
|
15
15
|
import"./index-qx53vezw.js";
|
|
16
16
|
import"./index-nsjyysj0.js";
|
|
17
17
|
import"./index-0sahzkwr.js";
|
|
@@ -556,7 +556,7 @@ class SqliteAcquisitionBusyError2 extends Error {
|
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
558
|
var SHORT_BUSY_TIMEOUT_MS = 25;
|
|
559
|
-
var FOREGROUND_IN_PASS_BUSY_TIMEOUT_MS =
|
|
559
|
+
var FOREGROUND_IN_PASS_BUSY_TIMEOUT_MS = 2000;
|
|
560
560
|
var FOREGROUND_ACQUISITION_BUDGET_MS = 16500;
|
|
561
561
|
var SLOW_WRITER_LOG_MS = 250;
|
|
562
562
|
var WRITER_TRANSACTION_END = /^\s*(?:COMMIT|END|ROLLBACK)(?:\s+TRANSACTION)?\s*;?\s*$/i;
|
|
@@ -572,7 +572,7 @@ function withAutocommitTimeout(db, operation) {
|
|
|
572
572
|
if (isInTransaction(db) || !lease && !backgroundWriterScope.getStore())
|
|
573
573
|
return operation();
|
|
574
574
|
const previous = pragmaNumber(db, "busy_timeout");
|
|
575
|
-
db.exec(`PRAGMA busy_timeout=${lease ? Math.floor(lease.remainingWaitMs) : SHORT_BUSY_TIMEOUT_MS}`);
|
|
575
|
+
db.exec(`PRAGMA busy_timeout=${lease ? Math.floor(Math.min(lease.remainingWaitMs, lease.guard?.remainingMs() ?? Infinity)) : SHORT_BUSY_TIMEOUT_MS}`);
|
|
576
576
|
const started = performance.now();
|
|
577
577
|
try {
|
|
578
578
|
return operation();
|
|
@@ -20,23 +20,23 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
withSqliteBackgroundWriter2,
|
|
22
22
|
withoutSqliteTransformPass2
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-0nnd4bry.js";
|
|
24
24
|
import {
|
|
25
25
|
cleanUserText2
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-vztbgcdk.js";
|
|
27
27
|
import {
|
|
28
28
|
recordMessageFtsRowid,
|
|
29
29
|
recordIndexedMessageTime,
|
|
30
30
|
messageFtsOrdinalRangeIsMapped,
|
|
31
31
|
deleteUnmappedMessageFtsRows
|
|
32
|
-
} from "./index-
|
|
32
|
+
} from "./index-bg5qqene.js";
|
|
33
33
|
import {
|
|
34
34
|
isPidAlive,
|
|
35
35
|
readProcessStartTime
|
|
36
|
-
} from "./index-
|
|
36
|
+
} from "./index-9m7bn21d.js";
|
|
37
37
|
import {
|
|
38
38
|
deleteChunkEmbedBackoffForSession
|
|
39
|
-
} from "./index-
|
|
39
|
+
} from "./index-j55vn694.js";
|
|
40
40
|
import {
|
|
41
41
|
ensurePrivateStorageDirectorySync,
|
|
42
42
|
writeStorageFileSync,
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
isUserHomeDirectory,
|
|
10
10
|
setBootQuietPeriodForTests
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-g9exahnx.js";
|
|
12
12
|
import {
|
|
13
13
|
withSqliteBackgroundWriter2,
|
|
14
14
|
withoutSqliteTransformPass2,
|
|
15
15
|
isTransientSqliteError2
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-0nnd4bry.js";
|
|
17
17
|
import {
|
|
18
18
|
estimateTokens
|
|
19
19
|
} from "./index-qx53vezw.js";
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
countSessionCompartmentEmbedCoverage,
|
|
40
40
|
countSessionCompartmentEmbedCoveragePolite,
|
|
41
41
|
countUnembeddedSessionCompartmentsPolite
|
|
42
|
-
} from "./index-
|
|
42
|
+
} from "./index-j55vn694.js";
|
|
43
43
|
import {
|
|
44
44
|
DEFAULT_LOCAL_EMBEDDING_MODEL
|
|
45
45
|
} from "./index-k6xvbj2e.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
getActiveCompartmentRun,
|
|
16
16
|
markActiveCompartmentRunPublished,
|
|
17
17
|
registerActiveCompartmentRun
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-vh3e2mvr.js";
|
|
19
19
|
import {
|
|
20
20
|
getWrapupInProgressState,
|
|
21
21
|
acquireWrapupInProgress,
|
|
@@ -24,17 +24,17 @@ import {
|
|
|
24
24
|
getHistorianFailureState,
|
|
25
25
|
clearEmergencyRecovery,
|
|
26
26
|
prepareRawSessionOrdinals2
|
|
27
|
-
} from "./index-
|
|
27
|
+
} from "./index-vztbgcdk.js";
|
|
28
28
|
import {
|
|
29
29
|
pushNotification2
|
|
30
30
|
} from "./index-x8a7jmkh.js";
|
|
31
31
|
import {
|
|
32
32
|
sendStatusNotification2
|
|
33
|
-
} from "./index-
|
|
33
|
+
} from "./index-hr64sth2.js";
|
|
34
34
|
import {
|
|
35
35
|
setRecompStarting2,
|
|
36
36
|
setRecompTerminal2
|
|
37
|
-
} from "./index-
|
|
37
|
+
} from "./index-ck6y3td2.js";
|
|
38
38
|
|
|
39
39
|
// src/hooks/magic-context/wrapup-orchestrator.ts
|
|
40
40
|
import * as crypto from "node:crypto";
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
} from "./index-58e3y90n.js";
|
|
15
15
|
import {
|
|
16
16
|
Database2
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-0nnd4bry.js";
|
|
18
18
|
import {
|
|
19
19
|
forgetRawSessionOrdinalWatermark2,
|
|
20
20
|
forgetRawSessionSummaryRows2
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-vnjhmkwk.js";
|
|
22
22
|
import {
|
|
23
23
|
closeQuietly
|
|
24
24
|
} from "./index-8ajstryz.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
parseRpcPortFile,
|
|
22
22
|
inspectProcessesAsync,
|
|
23
23
|
inspectWindowsProcessesSync
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-9m7bn21d.js";
|
|
25
25
|
import {
|
|
26
26
|
registerSlowWriteReporter2,
|
|
27
27
|
registerSqliteDiagnosticSink2,
|
|
@@ -31,13 +31,13 @@ import {
|
|
|
31
31
|
withoutSqliteTransformPass2,
|
|
32
32
|
isTransientSqliteError2,
|
|
33
33
|
withPrivilegedWriter2
|
|
34
|
-
} from "./index-
|
|
34
|
+
} from "./index-0nnd4bry.js";
|
|
35
35
|
import {
|
|
36
36
|
configureContextDatabasePragmas2
|
|
37
37
|
} from "./index-fb3zxn06.js";
|
|
38
38
|
import {
|
|
39
39
|
startMessageFtsRowidMapBackfill
|
|
40
|
-
} from "./index-
|
|
40
|
+
} from "./index-bg5qqene.js";
|
|
41
41
|
import {
|
|
42
42
|
LKG_SLOT_CHUNKS_DDL,
|
|
43
43
|
SESSION_REPLAY_DECISIONS_DDL,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
hasPendingMigrations,
|
|
48
48
|
getMainThreadMigrationBodyCount,
|
|
49
49
|
runMigrations
|
|
50
|
-
} from "./index-
|
|
50
|
+
} from "./index-xqyj5c85.js";
|
|
51
51
|
import {
|
|
52
52
|
installTagIdentityRevisionTrigger,
|
|
53
53
|
ensureColumn,
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
import {
|
|
61
61
|
bootQuietRemainingMs,
|
|
62
62
|
scheduleAfterBootQuiet
|
|
63
|
-
} from "./index-
|
|
63
|
+
} from "./index-g9exahnx.js";
|
|
64
64
|
import {
|
|
65
65
|
setDatabase,
|
|
66
66
|
loadToolDefinitionMeasurements
|
|
@@ -1259,8 +1259,8 @@ function finishDatabaseOpen(db, dbPath, explicitDbPath, latestSupportedVersion)
|
|
|
1259
1259
|
startMessageFtsRowidMapBackfill(db).then(async () => {
|
|
1260
1260
|
if (!readsOpenCodeStore)
|
|
1261
1261
|
return;
|
|
1262
|
-
const { readRawSessionMessagePage, readRawSessionMessages } = await importPluginModule(() => import("./read-session-chunk-
|
|
1263
|
-
const { startMessageTimeBackfill } = await importPluginModule(() => import("./message-time-backfill-
|
|
1262
|
+
const { readRawSessionMessagePage, readRawSessionMessages } = await importPluginModule(() => import("./read-session-chunk-t3vjd0h0.js"));
|
|
1263
|
+
const { startMessageTimeBackfill } = await importPluginModule(() => import("./message-time-backfill-8kj57qe3.js"));
|
|
1264
1264
|
await startMessageTimeBackfill(db, Object.assign(readRawSessionMessages, {
|
|
1265
1265
|
readPage: readRawSessionMessagePage
|
|
1266
1266
|
}));
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
buildCanonicalChunkTextFromFts,
|
|
21
21
|
loadCompartmentChunkEmbeddingsForSearch
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-j55vn694.js";
|
|
23
23
|
import {
|
|
24
24
|
recordEmbeddingMeasurement,
|
|
25
25
|
saveCommitEmbedding,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
enqueueShadowEmbeddingItems2,
|
|
37
37
|
getProjectEmbeddingSnapshot2,
|
|
38
38
|
embedItemsForProject2
|
|
39
|
-
} from "./index-
|
|
39
|
+
} from "./index-9s58tq95.js";
|
|
40
40
|
import {
|
|
41
41
|
getProjectEmbeddings2
|
|
42
42
|
} from "./index-4dhv7mqz.js";
|
|
@@ -45,13 +45,13 @@ import {
|
|
|
45
45
|
isEmbeddingEnabled,
|
|
46
46
|
embedText,
|
|
47
47
|
ensureMemoryEmbeddings2
|
|
48
|
-
} from "./index-
|
|
48
|
+
} from "./index-7q1m1qjk.js";
|
|
49
49
|
import {
|
|
50
50
|
ModuleMemoryAuthorityError2,
|
|
51
51
|
getMemoriesByProject2,
|
|
52
52
|
getMemoriesByProjects2,
|
|
53
53
|
updateMemoryRetrievalCount2
|
|
54
|
-
} from "./index-
|
|
54
|
+
} from "./index-cm4hmxyk.js";
|
|
55
55
|
import {
|
|
56
56
|
USER_FACING_FAILURES,
|
|
57
57
|
getNotes,
|
|
@@ -60,20 +60,20 @@ import {
|
|
|
60
60
|
sanitizeFtsQuery,
|
|
61
61
|
searchMemoriesFTS,
|
|
62
62
|
searchMemoriesFTSUnion
|
|
63
|
-
} from "./index-
|
|
63
|
+
} from "./index-s0gsmthp.js";
|
|
64
64
|
import {
|
|
65
65
|
isRecord
|
|
66
|
-
} from "./index-
|
|
66
|
+
} from "./index-1j8jcjpa.js";
|
|
67
67
|
import {
|
|
68
68
|
getIndexedMessageCorpusSize2
|
|
69
|
-
} from "./index-
|
|
69
|
+
} from "./index-1xaw2pq8.js";
|
|
70
70
|
import {
|
|
71
71
|
resolveWorkspaceShareCategories,
|
|
72
72
|
resolveWorkspaceIdentitySet,
|
|
73
73
|
expandWorkspaceIdentitySetWithAliases,
|
|
74
74
|
resolveStoredPathWorkspaceIdentity,
|
|
75
75
|
sourceNameForMemory
|
|
76
|
-
} from "./index-
|
|
76
|
+
} from "./index-xqyj5c85.js";
|
|
77
77
|
import {
|
|
78
78
|
isKnownAutocommit
|
|
79
79
|
} from "./index-8ajstryz.js";
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
} from "./index-nsjyysj0.js";
|
|
4
4
|
import {
|
|
5
5
|
clearEmergencyRecovery
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-vztbgcdk.js";
|
|
7
7
|
import {
|
|
8
8
|
requestPendingMaterialization,
|
|
9
9
|
dropSlot,
|
|
10
10
|
executeContextRecomp
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-vh3e2mvr.js";
|
|
12
12
|
import {
|
|
13
13
|
renderUserFacingFailure,
|
|
14
14
|
userFacingFailureCode
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-s0gsmthp.js";
|
|
16
16
|
|
|
17
17
|
// src/hooks/magic-context/recomp-orchestrator.ts
|
|
18
18
|
function resolveLiveModelKey(liveSessionState, sessionId) {
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./index-vkbqdnkj.js";
|
|
14
14
|
import {
|
|
15
15
|
messageFtsOrdinalRangeIsMapped
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-bg5qqene.js";
|
|
17
17
|
|
|
18
18
|
// src/features/magic-context/compartment-chunk-embedding.ts
|
|
19
19
|
import { createHash } from "node:crypto";
|