@cortexkit/opencode-magic-context 0.49.5 → 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.
Files changed (94) hide show
  1. package/dist/auto-search-worker.js +5 -5
  2. package/dist/{compaction-marker-candidates-dd638ypn.js → compaction-marker-candidates-cz72pm1t.js} +2 -2
  3. package/dist/compaction-marker-candidates-worker.js +2 -2
  4. package/dist/{conflict-warning-hook-ae8nmv7c.js → conflict-warning-hook-1jq1rxx7.js} +5 -5
  5. package/dist/{context-yg023c5r.js → context-ae3gxdye.js} +23 -23
  6. package/dist/{embedding-backfill-aj488s8x.js → embedding-backfill-dtjmyktb.js} +6 -6
  7. package/dist/{index-kb9nn0a0.js → index-0nnd4bry.js} +2 -2
  8. package/dist/{index-yqps2zsv.js → index-1j8jcjpa.js} +1 -1
  9. package/dist/{index-3wckxwfp.js → index-1xaw2pq8.js} +5 -5
  10. package/dist/{index-m4p77myp.js → index-6q5h70h2.js} +1 -1
  11. package/dist/{index-7ndnvw7a.js → index-7q1m1qjk.js} +1 -1
  12. package/dist/{index-6m7rdv7y.js → index-9m7bn21d.js} +1 -1
  13. package/dist/{index-c0b01zrc.js → index-9s58tq95.js} +3 -3
  14. package/dist/{index-p2hs3rps.js → index-a796ct3s.js} +4 -4
  15. package/dist/{index-qvr78ej6.js → index-ab3bgm2m.js} +2 -2
  16. package/dist/{index-znzgze2v.js → index-besxhcsh.js} +7 -7
  17. package/dist/{index-7w18gg78.js → index-bg5qqene.js} +1 -1
  18. package/dist/{index-fst3t0d9.js → index-ch08qwgd.js} +8 -8
  19. package/dist/{index-dd18gej8.js → index-ck6y3td2.js} +3 -3
  20. package/dist/{index-7jzrrxap.js → index-cm4hmxyk.js} +1 -1
  21. package/dist/{index-yxawqmdd.js → index-f3dnvnw6.js} +1 -1
  22. package/dist/{index-41gqa557.js → index-g9exahnx.js} +1 -1
  23. package/dist/{index-bhk710rw.js → index-hr64sth2.js} +1 -1
  24. package/dist/{index-gcdb3rqw.js → index-j55vn694.js} +1 -1
  25. package/dist/{index-x3y1np1h.js → index-mj1fgfrk.js} +23 -23
  26. package/dist/{index-fjtgekd4.js → index-s0gsmthp.js} +4 -4
  27. package/dist/{index-v4bqjy56.js → index-vh3e2mvr.js} +17 -17
  28. package/dist/{index-jpm52v9x.js → index-vnjhmkwk.js} +1 -1
  29. package/dist/{index-7zg9dvx0.js → index-vztbgcdk.js} +4 -4
  30. package/dist/{index-xfbfrngb.js → index-xqyj5c85.js} +2 -2
  31. package/dist/{index-2mqps3c1.js → index-zgzdm6dg.js} +9 -9
  32. package/dist/index.js +34 -34
  33. package/dist/{message-index-bounded-pv6ct15d.js → message-index-bounded-630j53ps.js} +9 -9
  34. package/dist/{message-index-jqa7qd0s.js → message-index-c84wm2g0.js} +9 -9
  35. package/dist/{message-time-backfill-8x06r9kx.js → message-time-backfill-8kj57qe3.js} +1 -1
  36. package/dist/migration-worker.js +6 -6
  37. package/dist/{project-embedding-registry-fcmszatg.js → project-embedding-registry-vv59t7ah.js} +5 -5
  38. package/dist/raw-ordinal-warmup-worker.js +6 -6
  39. package/dist/{read-session-chunk-cwgjwjd0.js → read-session-chunk-t3vjd0h0.js} +5 -5
  40. package/dist/{read-session-raw-z38cn0as.js → read-session-raw-gf7eytnm.js} +2 -2
  41. package/dist/{recomp-orchestrator-xw9wt5bm.js → recomp-orchestrator-1d08g57a.js} +20 -20
  42. package/dist/{search-v1t47s2q.js → search-kth2p6cc.js} +16 -16
  43. package/dist/{send-session-notification-yp9m5g4p.js → send-session-notification-3j6krd4w.js} +4 -4
  44. package/dist/{sqlite-mhjkerzq.js → sqlite-d7edbk1s.js} +1 -1
  45. package/dist/{storage-memory-07fx57k6.js → storage-memory-af5zdz98.js} +2 -2
  46. package/dist/{storage-tags-0ssbmzg9.js → storage-tags-dyj7mmbq.js} +2 -2
  47. package/dist/{transform-postprocess-phase-ttra554y.js → transform-postprocess-phase-bv3kb5s1.js} +20 -20
  48. package/dist/v2/auto-search-worker.js +5 -5
  49. package/dist/v2/{compaction-marker-candidates-1s21e2fz.js → compaction-marker-candidates-6gqp5wrc.js} +2 -2
  50. package/dist/v2/compaction-marker-candidates-worker.js +2 -2
  51. package/dist/v2/{context-6en6a8ar.js → context-p8f2shp1.js} +23 -23
  52. package/dist/v2/{embedding-backfill-9hbkfvnz.js → embedding-backfill-cg4rv90f.js} +6 -6
  53. package/dist/v2/{message-index-h8ssgq3q.js → message-index-3ws17x1g.js} +9 -9
  54. package/dist/v2/{message-index-bounded-c0810p5w.js → message-index-bounded-yzxmf6vp.js} +9 -9
  55. package/dist/v2/{message-time-backfill-cje68egj.js → message-time-backfill-5nf10c65.js} +1 -1
  56. package/dist/v2/migration-worker.js +6 -6
  57. package/dist/v2/{project-embedding-registry-42th7k1z.js → project-embedding-registry-rsnf2263.js} +5 -5
  58. package/dist/v2/raw-ordinal-warmup-worker.js +6 -6
  59. package/dist/v2/{read-session-chunk-n86v9xfg.js → read-session-chunk-vtb0w2kd.js} +5 -5
  60. package/dist/v2/{read-session-raw-3b3ehga4.js → read-session-raw-gpcddemt.js} +2 -2
  61. package/dist/v2/{recomp-orchestrator-krvsbnds.js → recomp-orchestrator-v64r4s4r.js} +19 -19
  62. package/dist/v2/{search-048v8y02.js → search-bpa4fxq1.js} +16 -16
  63. package/dist/v2/{send-session-notification-a4h2azxa.js → send-session-notification-5aj2j7vf.js} +4 -4
  64. package/dist/v2/{server-9a6v0wth.js → server-09g9pkvx.js} +7 -7
  65. package/dist/v2/{server-kb9nn0a0.js → server-0nnd4bry.js} +2 -2
  66. package/dist/v2/{server-cjz51jm2.js → server-158ehmk2.js} +3 -3
  67. package/dist/v2/{server-3dqjhchy.js → server-387vkhjq.js} +1 -1
  68. package/dist/v2/{server-czb2rkpk.js → server-4tn95znb.js} +1 -1
  69. package/dist/v2/{server-9290a1mb.js → server-6a9mxnb2.js} +1 -1
  70. package/dist/v2/{server-e2v4m8xe.js → server-7skbfb81.js} +17 -17
  71. package/dist/v2/{server-4enr7s6x.js → server-9zqewm6g.js} +1 -1
  72. package/dist/v2/{server-hetyb88z.js → server-aa9w15cs.js} +8 -8
  73. package/dist/v2/{server-q6j5dasr.js → server-btgnsv7w.js} +1 -1
  74. package/dist/v2/{server-7jzrrxap.js → server-cm4hmxyk.js} +1 -1
  75. package/dist/v2/{server-5zrpr764.js → server-f9py7s7a.js} +1 -1
  76. package/dist/v2/{server-4n2tknpc.js → server-fby0cxbq.js} +4 -4
  77. package/dist/v2/{server-8wcf79fe.js → server-keswwkvv.js} +1 -1
  78. package/dist/v2/{server-3bc6k4k4.js → server-qn23p4h7.js} +5 -5
  79. package/dist/v2/{server-cvgn49tr.js → server-wrem2nmz.js} +1 -1
  80. package/dist/v2/{server-8pqnnmf9.js → server-ww9nr8pe.js} +2 -2
  81. package/dist/v2/{server-rygvffsf.js → server-x2r63c0x.js} +4 -4
  82. package/dist/v2/{server-pcygfdbs.js → server-yd01snxq.js} +1 -1
  83. package/dist/v2/{server-2htmbqbv.js → server-yezz0cp2.js} +1 -1
  84. package/dist/v2/server.js +2 -2
  85. package/dist/v2/{sqlite-mhjkerzq.js → sqlite-d7edbk1s.js} +1 -1
  86. package/dist/v2/{storage-memory-07fx57k6.js → storage-memory-af5zdz98.js} +2 -2
  87. package/dist/v2/{storage-tags-3a4cavqb.js → storage-tags-d47bpaqa.js} +2 -2
  88. package/dist/v2/{wrapup-orchestrator-r2v7kgy3.js → wrapup-orchestrator-cahk37n7.js} +19 -19
  89. package/dist/{wrapup-orchestrator-z7agncp8.js → wrapup-orchestrator-mqp0v195.js} +21 -21
  90. package/package.json +1 -1
  91. package/src/shared/sqlite-acquisition-routing.test.ts +4 -3
  92. package/src/shared/sqlite-foreground-wait.test.ts +140 -0
  93. package/src/shared/sqlite-pass-scope.test.ts +4 -4
  94. 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-aj488s8x.js"),
20
+ import("./embedding-backfill-dtjmyktb.js"),
21
21
  import("./embedding-cache-mgyr73ef.js"),
22
- import("./storage-memory-07fx57k6.js"),
23
- import("./project-embedding-registry-fcmszatg.js"),
24
- import("./search-v1t47s2q.js"),
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-mhjkerzq.js")
27
+ import("./sqlite-d7edbk1s.js")
28
28
  ]);
29
29
  setHarness(input.harness);
30
30
  setEmbeddingSessionBusy(input.sessionId, input.embeddingHostBusy === true);
@@ -4,9 +4,9 @@ import {
4
4
  readMarkerCandidateBasis2,
5
5
  prepareMarkerCandidateBasis2,
6
6
  scanMarkerCandidateSnapshot2
7
- } from "./index-yxawqmdd.js";
7
+ } from "./index-f3dnvnw6.js";
8
8
  import"./index-v0p37hm2.js";
9
- import"./index-kb9nn0a0.js";
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-mhjkerzq.js"),
9
- import("./compaction-marker-candidates-dd638ypn.js")
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-m4p77myp.js";
7
+ } from "./index-6q5h70h2.js";
8
8
  import"./index-z1tjp257.js";
9
9
  import"./index-sd3egckz.js";
10
- import"./index-bhk710rw.js";
10
+ import"./index-hr64sth2.js";
11
11
  import"./index-qt1qqasc.js";
12
12
  import"./index-tqf7yg27.js";
13
- import"./index-qvr78ej6.js";
14
- import"./index-jpm52v9x.js";
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-kb9nn0a0.js";
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-v4bqjy56.js";
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-znzgze2v.js";
108
+ } from "./index-besxhcsh.js";
109
109
  import {
110
110
  setHomeProjectPermission,
111
111
  resolveProjectIdentityForSession,
112
112
  scheduleAfterBootQuiet
113
- } from "./index-41gqa557.js";
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-7zg9dvx0.js";
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-kb9nn0a0.js";
154
+ } from "./index-0nnd4bry.js";
155
155
  import {
156
156
  sameProjectDirectory
157
- } from "./index-7w18gg78.js";
157
+ } from "./index-bg5qqene.js";
158
158
  import {
159
159
  deleteChunkEmbedBackoffForSession
160
- } from "./index-gcdb3rqw.js";
161
- import"./index-6m7rdv7y.js";
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-3wckxwfp.js";
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-yqps2zsv.js";
175
+ } from "./index-1j8jcjpa.js";
176
176
  import"./index-v0p37hm2.js";
177
- import"./index-jpm52v9x.js";
177
+ import"./index-vnjhmkwk.js";
178
178
  import"./index-58e3y90n.js";
179
- import"./index-qvr78ej6.js";
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-xfbfrngb.js";
186
- import"./index-c0b01zrc.js";
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-fjtgekd4.js";
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-x3y1np1h.js";
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-2mqps3c1.js";
251
- import"./index-yxawqmdd.js";
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-7ndnvw7a.js";
256
- import"./index-7jzrrxap.js";
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-bhk710rw.js";
263
- import"./index-fst3t0d9.js";
264
- import"./index-dd18gej8.js";
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-7ndnvw7a.js";
4
- import"./index-c0b01zrc.js";
5
- import"./index-gcdb3rqw.js";
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-41gqa557.js";
11
- import"./index-7w18gg78.js";
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-kb9nn0a0.js";
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 = 250;
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();
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  getTagIdentityWriteGeneration2,
16
16
  getSqliteDatabasePath2
17
- } from "./index-kb9nn0a0.js";
17
+ } from "./index-0nnd4bry.js";
18
18
  import {
19
19
  tagIdentityRevisionKey,
20
20
  tagOrderConstraintIndex,
@@ -20,23 +20,23 @@ import {
20
20
  import {
21
21
  withSqliteBackgroundWriter2,
22
22
  withoutSqliteTransformPass2
23
- } from "./index-kb9nn0a0.js";
23
+ } from "./index-0nnd4bry.js";
24
24
  import {
25
25
  cleanUserText2
26
- } from "./index-7zg9dvx0.js";
26
+ } from "./index-vztbgcdk.js";
27
27
  import {
28
28
  recordMessageFtsRowid,
29
29
  recordIndexedMessageTime,
30
30
  messageFtsOrdinalRangeIsMapped,
31
31
  deleteUnmappedMessageFtsRows
32
- } from "./index-7w18gg78.js";
32
+ } from "./index-bg5qqene.js";
33
33
  import {
34
34
  isPidAlive,
35
35
  readProcessStartTime
36
- } from "./index-6m7rdv7y.js";
36
+ } from "./index-9m7bn21d.js";
37
37
  import {
38
38
  deleteChunkEmbedBackoffForSession
39
- } from "./index-gcdb3rqw.js";
39
+ } from "./index-j55vn694.js";
40
40
  import {
41
41
  ensurePrivateStorageDirectorySync,
42
42
  writeStorageFileSync,
@@ -4,7 +4,7 @@ import {
4
4
  } from "./index-nsjyysj0.js";
5
5
  import {
6
6
  sendStatusNotification2
7
- } from "./index-bhk710rw.js";
7
+ } from "./index-hr64sth2.js";
8
8
  import {
9
9
  formatConflictShort
10
10
  } from "./index-z1tjp257.js";
@@ -15,7 +15,7 @@ import {
15
15
  OpenAICompatibleEmbeddingProvider,
16
16
  getProjectEmbeddingSnapshot2,
17
17
  embedBatchForProject2
18
- } from "./index-c0b01zrc.js";
18
+ } from "./index-9s58tq95.js";
19
19
  import {
20
20
  isEmbeddingHostBusy2
21
21
  } from "./index-qt1qqasc.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./index-nsjyysj0.js";
4
4
  import {
5
5
  canonicalProjectDirectory
6
- } from "./index-7w18gg78.js";
6
+ } from "./index-bg5qqene.js";
7
7
 
8
8
  // src/shared/rpc-utils.ts
9
9
  import { execFile, execFileSync } from "node:child_process";
@@ -8,12 +8,12 @@ import {
8
8
  import {
9
9
  isUserHomeDirectory,
10
10
  setBootQuietPeriodForTests
11
- } from "./index-41gqa557.js";
11
+ } from "./index-g9exahnx.js";
12
12
  import {
13
13
  withSqliteBackgroundWriter2,
14
14
  withoutSqliteTransformPass2,
15
15
  isTransientSqliteError2
16
- } from "./index-kb9nn0a0.js";
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-gcdb3rqw.js";
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-v4bqjy56.js";
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-7zg9dvx0.js";
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-bhk710rw.js";
33
+ } from "./index-hr64sth2.js";
34
34
  import {
35
35
  setRecompStarting2,
36
36
  setRecompTerminal2
37
- } from "./index-dd18gej8.js";
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-kb9nn0a0.js";
17
+ } from "./index-0nnd4bry.js";
18
18
  import {
19
19
  forgetRawSessionOrdinalWatermark2,
20
20
  forgetRawSessionSummaryRows2
21
- } from "./index-jpm52v9x.js";
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-6m7rdv7y.js";
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-kb9nn0a0.js";
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-7w18gg78.js";
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-xfbfrngb.js";
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-41gqa557.js";
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-cwgjwjd0.js"));
1263
- const { startMessageTimeBackfill } = await importPluginModule(() => import("./message-time-backfill-8x06r9kx.js"));
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
  }));
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  withSqliteBackgroundWriter2,
3
3
  withoutSqliteTransformPass2
4
- } from "./index-kb9nn0a0.js";
4
+ } from "./index-0nnd4bry.js";
5
5
  import {
6
6
  logSlowWriteTransaction
7
7
  } from "./index-4mjhqadz.js";
@@ -19,7 +19,7 @@ import {
19
19
  import {
20
20
  buildCanonicalChunkTextFromFts,
21
21
  loadCompartmentChunkEmbeddingsForSearch
22
- } from "./index-gcdb3rqw.js";
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-c0b01zrc.js";
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-7ndnvw7a.js";
48
+ } from "./index-7q1m1qjk.js";
49
49
  import {
50
50
  ModuleMemoryAuthorityError2,
51
51
  getMemoriesByProject2,
52
52
  getMemoriesByProjects2,
53
53
  updateMemoryRetrievalCount2
54
- } from "./index-7jzrrxap.js";
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-fjtgekd4.js";
63
+ } from "./index-s0gsmthp.js";
64
64
  import {
65
65
  isRecord
66
- } from "./index-yqps2zsv.js";
66
+ } from "./index-1j8jcjpa.js";
67
67
  import {
68
68
  getIndexedMessageCorpusSize2
69
- } from "./index-3wckxwfp.js";
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-xfbfrngb.js";
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-7zg9dvx0.js";
6
+ } from "./index-vztbgcdk.js";
7
7
  import {
8
8
  requestPendingMaterialization,
9
9
  dropSlot,
10
10
  executeContextRecomp
11
- } from "./index-v4bqjy56.js";
11
+ } from "./index-vh3e2mvr.js";
12
12
  import {
13
13
  renderUserFacingFailure,
14
14
  userFacingFailureCode
15
- } from "./index-fjtgekd4.js";
15
+ } from "./index-s0gsmthp.js";
16
16
 
17
17
  // src/hooks/magic-context/recomp-orchestrator.ts
18
18
  function resolveLiveModelKey(liveSessionState, sessionId) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withPrivilegedWriter2
3
- } from "./index-kb9nn0a0.js";
3
+ } from "./index-0nnd4bry.js";
4
4
  import {
5
5
  MEMORY_CATEGORY_ORDER_SQL
6
6
  } from "./index-fr0wbhdn.js";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./index-nsjyysj0.js";
7
7
  import {
8
8
  getSqliteDatabasePath2
9
- } from "./index-kb9nn0a0.js";
9
+ } from "./index-0nnd4bry.js";
10
10
 
11
11
  // src/features/magic-context/compaction-marker-candidates.ts
12
12
  import { existsSync, realpathSync } from "node:fs";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./index-nsjyysj0.js";
7
7
  import {
8
8
  projectDirectoryKey
9
- } from "./index-7w18gg78.js";
9
+ } from "./index-bg5qqene.js";
10
10
  import {
11
11
  writeStorageFileAtomicSync
12
12
  } from "./index-fvnzcnww.js";
@@ -10,7 +10,7 @@ import {
10
10
  } from "./index-tqf7yg27.js";
11
11
  import {
12
12
  shouldHoldIgnoredNotification
13
- } from "./index-qvr78ej6.js";
13
+ } from "./index-ab3bgm2m.js";
14
14
  import {
15
15
  getErrorMessage
16
16
  } from "./index-y8v6yerm.js";
@@ -13,7 +13,7 @@ import {
13
13
  } from "./index-vkbqdnkj.js";
14
14
  import {
15
15
  messageFtsOrdinalRangeIsMapped
16
- } from "./index-7w18gg78.js";
16
+ } from "./index-bg5qqene.js";
17
17
 
18
18
  // src/features/magic-context/compartment-chunk-embedding.ts
19
19
  import { createHash } from "node:crypto";