@cortexkit/opencode-magic-context 0.49.23 → 0.49.24

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 (102) hide show
  1. package/README.md +0 -26
  2. package/dist/agents/permissions.d.ts +8 -3
  3. package/dist/agents/permissions.d.ts.map +1 -1
  4. package/dist/auto-search-worker.js +4 -4
  5. package/dist/chunk-embedding-write-worker.js +4 -4
  6. package/dist/{compartment-chunk-embedding-he60aaa2.js → compartment-chunk-embedding-eypvn607.js} +3 -3
  7. package/dist/{conflict-warning-hook-2r32hyx6.js → conflict-warning-hook-a27bhggg.js} +4 -4
  8. package/dist/{context-j7hp43a0.js → context-tvrjhnmj.js} +17 -17
  9. package/dist/{embedding-backfill-dtke6tck.js → embedding-backfill-vddgmem3.js} +5 -5
  10. package/dist/features/magic-context/dreamer/primer-seed.d.ts.map +1 -1
  11. package/dist/hooks/magic-context/ask-answer-notice.d.ts +25 -0
  12. package/dist/hooks/magic-context/ask-answer-notice.d.ts.map +1 -0
  13. package/dist/hooks/magic-context/compartment-runner-incremental.d.ts +1 -1
  14. package/dist/hooks/magic-context/compartment-runner-incremental.d.ts.map +1 -1
  15. package/dist/hooks/magic-context/module-wire.d.ts.map +1 -1
  16. package/dist/hooks/magic-context/protected-tail-boundary.d.ts +8 -0
  17. package/dist/hooks/magic-context/protected-tail-boundary.d.ts.map +1 -1
  18. package/dist/hooks/magic-context/read-session-chunk.d.ts.map +1 -1
  19. package/dist/hooks/magic-context/read-session-raw.d.ts +10 -0
  20. package/dist/hooks/magic-context/read-session-raw.d.ts.map +1 -1
  21. package/dist/{index-syaazvy2.js → index-21bkd3m6.js} +5 -5
  22. package/dist/{index-1gtfne2c.js → index-2haxh8h3.js} +1 -1
  23. package/dist/{index-m32esgmj.js → index-3d5wnkq7.js} +1 -1
  24. package/dist/{index-j32jj2t8.js → index-57jf5ztp.js} +3 -3
  25. package/dist/{index-11gzxvf4.js → index-6g7tyb6e.js} +39 -34
  26. package/dist/{index-jmq8kfe7.js → index-7516anfj.js} +4 -4
  27. package/dist/{index-jfem3dgz.js → index-7tdtpqrg.js} +5 -1
  28. package/dist/{index-1kbznkft.js → index-8e9qsnrw.js} +7 -7
  29. package/dist/{index-ksq50rg0.js → index-c9zrgcnt.js} +1 -1
  30. package/dist/{index-y76rhsnr.js → index-dds7cxhz.js} +44 -25
  31. package/dist/{index-66eby7hx.js → index-jcr6pe7z.js} +1 -1
  32. package/dist/{index-ffzhwfzy.js → index-jd0y50w3.js} +3 -3
  33. package/dist/{index-a9zvn5fe.js → index-jrjr58ez.js} +2 -2
  34. package/dist/{index-mnnkgq0q.js → index-p6evxfcc.js} +3 -3
  35. package/dist/{index-x6cbrv9h.js → index-szf8r0ba.js} +1 -1
  36. package/dist/{index-mnhcdfxg.js → index-t1zk694n.js} +78 -6
  37. package/dist/{index-rxqr723x.js → index-t6j3qxnd.js} +1 -1
  38. package/dist/{index-zy67whjr.js → index-z05n7702.js} +1 -1
  39. package/dist/{index-3svaejkh.js → index-z928hmnp.js} +1 -1
  40. package/dist/index.js +31 -31
  41. package/dist/{message-fts-rowid-map-e79b7b6x.js → message-fts-rowid-map-9e1getgs.js} +2 -2
  42. package/dist/{message-index-4q8ek2fc.js → message-index-1sgzev6c.js} +6 -6
  43. package/dist/{message-index-bounded-rydsg9r5.js → message-index-bounded-k8pgrxad.js} +6 -6
  44. package/dist/migration-worker.js +3 -3
  45. package/dist/{project-embedding-registry-hn529988.js → project-embedding-registry-rstzmb60.js} +4 -4
  46. package/dist/raw-ordinal-warmup-worker.js +6 -6
  47. package/dist/{read-session-chunk-t039f0m5.js → read-session-chunk-q9z6s48t.js} +3 -3
  48. package/dist/{read-session-raw-aw6jgvwg.js → read-session-raw-s4amywnh.js} +3 -1
  49. package/dist/{recomp-orchestrator-hbm53jj5.js → recomp-orchestrator-hr8ddk8z.js} +13 -13
  50. package/dist/{search-hea079d7.js → search-3zjjmc60.js} +10 -10
  51. package/dist/{search-archive-weh164mh.js → search-archive-c00etw7k.js} +4 -4
  52. package/dist/{send-session-notification-gqzkz7da.js → send-session-notification-ygj4mja0.js} +3 -3
  53. package/dist/shared/slow-test.d.ts +7 -0
  54. package/dist/shared/slow-test.d.ts.map +1 -0
  55. package/dist/tools/ctx-memory/tools.d.ts.map +1 -1
  56. package/dist/tools/ctx-note/tools.d.ts.map +1 -1
  57. package/dist/tools/parameter-descriptions.d.ts +6 -6
  58. package/dist/tools/parameter-descriptions.d.ts.map +1 -1
  59. package/dist/{transform-postprocess-phase-0b04tm1p.js → transform-postprocess-phase-rredw6bz.js} +13 -13
  60. package/dist/v2/auto-search-worker.js +4 -4
  61. package/dist/v2/chunk-embedding-write-worker.js +4 -4
  62. package/dist/v2/{compartment-chunk-embedding-8jjmcgeg.js → compartment-chunk-embedding-tk6g4q80.js} +3 -3
  63. package/dist/v2/{context-ea3x7smm.js → context-zbydzq4g.js} +37 -32
  64. package/dist/v2/{embedding-backfill-5e74ae0m.js → embedding-backfill-w5qp7t28.js} +5 -5
  65. package/dist/v2/{message-fts-rowid-map-n8fdg2ja.js → message-fts-rowid-map-pqk3a55v.js} +2 -2
  66. package/dist/v2/{message-index-qz9wdp82.js → message-index-5gnnn64b.js} +5 -5
  67. package/dist/v2/{message-index-bounded-8rcd7qq9.js → message-index-bounded-a9xa8wsq.js} +5 -5
  68. package/dist/v2/migration-worker.js +3 -3
  69. package/dist/v2/{project-embedding-registry-v38q4xd5.js → project-embedding-registry-e7zftfvj.js} +4 -4
  70. package/dist/v2/raw-ordinal-warmup-worker.js +6 -6
  71. package/dist/v2/{read-session-chunk-wazfyxcg.js → read-session-chunk-qqvda7zv.js} +2 -2
  72. package/dist/v2/{read-session-raw-b70cpwzj.js → read-session-raw-ppjxnqk4.js} +3 -1
  73. package/dist/v2/{recomp-orchestrator-b12zaptj.js → recomp-orchestrator-nmt9y25j.js} +10 -10
  74. package/dist/v2/{search-hza9x72a.js → search-6dawx2gt.js} +9 -9
  75. package/dist/v2/{search-archive-x64rtz1z.js → search-archive-dhqj1w31.js} +3 -3
  76. package/dist/v2/{send-session-notification-8eqe259v.js → send-session-notification-f8scq6ae.js} +1 -1
  77. package/dist/v2/{server-132h8twc.js → server-16dpnz56.js} +2 -2
  78. package/dist/v2/{server-qteg2kt9.js → server-8j2e7t31.js} +1 -1
  79. package/dist/v2/{server-33nqbqkw.js → server-9e55n4wx.js} +5 -5
  80. package/dist/v2/{server-d48x3m4x.js → server-9xbbaekh.js} +1 -1
  81. package/dist/v2/{server-m4bfaevz.js → server-gwmshgx9.js} +77 -5
  82. package/dist/v2/{server-ppcd1qxh.js → server-mefps930.js} +3 -3
  83. package/dist/v2/{server-62g58aaz.js → server-pw21ypwb.js} +1 -1
  84. package/dist/v2/{server-ad18djzs.js → server-q5z0gag0.js} +1 -1
  85. package/dist/v2/{server-zg5y109h.js → server-r209n2fk.js} +39 -21
  86. package/dist/v2/{server-4kjmrjn4.js → server-swvhxhxz.js} +5 -1
  87. package/dist/v2/{server-dtp8hcjh.js → server-wxrdher8.js} +1 -1
  88. package/dist/v2/{server-j8h7bsca.js → server-y9ncq4ck.js} +2 -2
  89. package/dist/v2/server.js +5 -5
  90. package/dist/v2/{wrapup-orchestrator-3ssd5yy1.js → wrapup-orchestrator-9z81xj66.js} +10 -10
  91. package/dist/{wrapup-orchestrator-5vpcd1zx.js → wrapup-orchestrator-dbnb530w.js} +14 -14
  92. package/package.json +4 -4
  93. package/src/agents/permissions.ts +22 -6
  94. package/src/agents/smart-notes-dreamer-gate.golden.json +241 -241
  95. package/src/agents/smart-notes-on.golden.json +4 -4
  96. package/src/config/compaction-accessor-guard.test.ts +0 -5
  97. package/src/config/removed-config-keys.test.ts +12 -26
  98. package/src/shared/announcement.test.ts +55 -59
  99. package/src/shared/prompt-surface-a1-golden.md +6 -7
  100. package/src/shared/slow-test.ts +24 -0
  101. package/src/shared/stable-json-linear.test.ts +18 -10
  102. package/src/config/latch-permanence-guard.test.ts +0 -258
@@ -163,12 +163,13 @@ import {
163
163
  DREAM_TASK_PROMOTION_DEFAULTS
164
164
  } from "./index-nxrsns5x.js";
165
165
  import {
166
+ areRustHistorianSyntheticParts2,
166
167
  isRawCompactionSummaryInfo2,
167
168
  extractInMemoryMessageViews2,
168
169
  buildInMemoryTailRawMessages2,
169
170
  RawOrdinalsNotReady2,
170
171
  runSessionWarmupWorker
171
- } from "./index-jfem3dgz.js";
172
+ } from "./index-7tdtpqrg.js";
172
173
  import {
173
174
  openCodeDbExists,
174
175
  withReadOnlySessionDb,
@@ -176,9 +177,10 @@ import {
176
177
  latestPersistedMessageForRecovery,
177
178
  latestRealUserTurnIdFromOpenCodeDb,
178
179
  findLastAssistantModelFromOpenCodeDb
179
- } from "./index-ksq50rg0.js";
180
+ } from "./index-c9zrgcnt.js";
180
181
  import {
181
182
  expandToolPart,
183
+ askAnswerLines,
182
184
  takeCoveredInstructionRows,
183
185
  cloneKeepingCoveredInstructionMarks,
184
186
  estimateTrueRawMessageTokens,
@@ -300,7 +302,7 @@ import {
300
302
  readRawSessionMessageById2,
301
303
  readSessionChunk2,
302
304
  readRawSessionSeedTail2
303
- } from "./index-mnhcdfxg.js";
305
+ } from "./index-t1zk694n.js";
304
306
  import {
305
307
  getMeasuredToolDefinitionTokens
306
308
  } from "./index-j76ah6d7.js";
@@ -317,7 +319,7 @@ import {
317
319
  runSqliteOptimize,
318
320
  openDatabase,
319
321
  openCurrentDatabase
320
- } from "./index-a9zvn5fe.js";
322
+ } from "./index-jrjr58ez.js";
321
323
  import {
322
324
  registerOwnRpcServerInstance,
323
325
  rpcPortDir,
@@ -512,7 +514,7 @@ import {
512
514
  snapRangeToCompartments,
513
515
  getActiveCompartmentRun,
514
516
  startCompartmentAgent
515
- } from "./index-y76rhsnr.js";
517
+ } from "./index-dds7cxhz.js";
516
518
  import {
517
519
  embedPauseBySession,
518
520
  embedRunStateBySession,
@@ -540,7 +542,7 @@ import {
540
542
  embedSessionCompartmentChunks2,
541
543
  getEmbeddingCoverageStatus2,
542
544
  getAutoEmbeddingSessionCoverage2
543
- } from "./index-zy67whjr.js";
545
+ } from "./index-z05n7702.js";
544
546
  import {
545
547
  SubcClient,
546
548
  connectionFileExists,
@@ -571,7 +573,7 @@ import {
571
573
  indexSingleMessage2,
572
574
  indexMessagesAfterOrdinal2,
573
575
  sweepOrphanedOpenCodeMessageIndexesCooperatively2
574
- } from "./index-mnnkgq0q.js";
576
+ } from "./index-p6evxfcc.js";
575
577
  import {
576
578
  renderUserFacingFailure,
577
579
  userFacingFailureCode,
@@ -615,7 +617,7 @@ import {
615
617
  readGitFileChangeTimesSince,
616
618
  verificationFileExists,
617
619
  normalizeVerificationFiles
618
- } from "./index-3svaejkh.js";
620
+ } from "./index-z928hmnp.js";
619
621
  import {
620
622
  registerNotificationSink2,
621
623
  pushNotification2,
@@ -635,7 +637,7 @@ import {
635
637
  } from "./index-4dhv7mqz.js";
636
638
  import {
637
639
  cosineSimilarity
638
- } from "./index-rxqr723x.js";
640
+ } from "./index-t6j3qxnd.js";
639
641
  import {
640
642
  computeCueContentHash,
641
643
  hasMuralCueColumns,
@@ -681,17 +683,17 @@ import {
681
683
  resolveMemoriesByIdsForSearch2,
682
684
  unifiedSearch2,
683
685
  formatSearchResults2
684
- } from "./index-syaazvy2.js";
686
+ } from "./index-21bkd3m6.js";
685
687
  import {
686
688
  flushIgnoredMessages2,
687
689
  clearIgnoredMessages2,
688
690
  observeIgnoredNotificationEvent2,
689
691
  sendStatusNotification2
690
- } from "./index-66eby7hx.js";
692
+ } from "./index-jcr6pe7z.js";
691
693
  import {
692
694
  setRecompStarting2,
693
695
  setRecompTerminal2
694
- } from "./index-ffzhwfzy.js";
696
+ } from "./index-jd0y50w3.js";
695
697
  import {
696
698
  makeToolCompositeKey,
697
699
  searchMessageHistoryOffThread,
@@ -752,7 +754,7 @@ import {
752
754
  abortSessionFailClosed2,
753
755
  evaluateEmergencyFailClosed2,
754
756
  runPostTransformPhase2
755
- } from "./index-1kbznkft.js";
757
+ } from "./index-8e9qsnrw.js";
756
758
  import {
757
759
  ANNOUNCEMENT_VERSION2,
758
760
  ANNOUNCEMENT_FEATURES2,
@@ -765,7 +767,7 @@ import {
765
767
  } from "./index-fmsr7v69.js";
766
768
  import {
767
769
  renderSearchArchiveOffThread2
768
- } from "./index-j32jj2t8.js";
770
+ } from "./index-57jf5ztp.js";
769
771
  import {
770
772
  COMPACTION_ENABLED_PATH,
771
773
  isDreamerRunnable,
@@ -7795,7 +7797,10 @@ function orientationRenderer(capTokens) {
7795
7797
  sawMessage = true;
7796
7798
  const out = [];
7797
7799
  if (msg.role === "user" && hasMeaningfulUserText2(msg.parts)) {
7798
- const text = extractTexts2(msg.parts).map((t) => cleanUserText2(t)).map(normalizeText).filter((t) => t.length > 0).join(" / ");
7800
+ const rawTexts = extractTexts2(msg.parts);
7801
+ const parts = rawTexts.map((t) => cleanUserText2(t)).map(normalizeText).filter((t) => t.length > 0);
7802
+ parts.push(...rawTexts.flatMap((t) => askAnswerLines(t)).map(normalizeText));
7803
+ const text = parts.filter((t) => t.length > 0).join(" / ");
7799
7804
  if (text)
7800
7805
  out.push(`U: ${text}`);
7801
7806
  }
@@ -16475,8 +16480,8 @@ function registerRpcHandlers(rpcServer, args) {
16475
16480
  const db = readDatabase();
16476
16481
  if (!db)
16477
16482
  return { ok: false, error: "db unavailable" };
16478
- const { runManagedRecomp } = await importPluginModule(() => import("./recomp-orchestrator-hbm53jj5.js"));
16479
- const { sendIgnoredMessage } = await importPluginModule(() => import("./send-session-notification-gqzkz7da.js"));
16483
+ const { runManagedRecomp } = await importPluginModule(() => import("./recomp-orchestrator-hr8ddk8z.js"));
16484
+ const { sendIgnoredMessage } = await importPluginModule(() => import("./send-session-notification-ygj4mja0.js"));
16480
16485
  log2(`[rpc] recomp requested for session ${sessionId}`);
16481
16486
  if (!args.client && !args.hiddenCompletionExecutor) {
16482
16487
  return {
@@ -16560,7 +16565,7 @@ function registerRpcHandlers(rpcServer, args) {
16560
16565
  const db = readDatabase();
16561
16566
  if (!db)
16562
16567
  return { ok: false, error: "db unavailable" };
16563
- const { runManagedWrapup } = await importPluginModule(() => import("./wrapup-orchestrator-5vpcd1zx.js"));
16568
+ const { runManagedWrapup } = await importPluginModule(() => import("./wrapup-orchestrator-dbnb530w.js"));
16564
16569
  const model = liveSessionState.liveModelBySession.get(sessionId);
16565
16570
  const contextLimit = model ? resolveContextLimit(model.providerID, model.modelID, { db, sessionID: sessionId }) : 128000;
16566
16571
  const ctx = {
@@ -18990,8 +18995,7 @@ function encodeOpenCodeMessagesToCk(messages) {
18990
18995
  const createdAtMs = typeof time.created === "number" ? time.created : typeof info.time_created === "number" ? info.time_created : typeof info.timeCreated === "number" ? info.timeCreated : undefined;
18991
18996
  const completedAtMs = typeof time.completed === "number" ? time.completed : typeof info.time_completed === "number" ? info.time_completed : typeof info.timeCompleted === "number" ? info.timeCompleted : undefined;
18992
18997
  const parts = Array.isArray(raw.parts) ? raw.parts : [];
18993
- const syntheticParts = parts.filter((part) => part === null || typeof part !== "object" || part.type !== "compaction");
18994
- const synthetic = syntheticParts.length > 0 && syntheticParts.every((part) => part !== null && typeof part === "object" && (part.synthetic === true || part.syntheticTodoMarker === true));
18998
+ const synthetic = areRustHistorianSyntheticParts2(parts);
18995
18999
  const content = [];
18996
19000
  const recoveryToolTitles = {};
18997
19001
  const userAnswerBlocks = [];
@@ -27619,10 +27623,10 @@ function updateMemoryContentInCurrentTransaction(db, memory, content, normalized
27619
27623
  invalidateMemory2(memory.projectPath, memory.id);
27620
27624
  }
27621
27625
  var ctxMemoryArgsShape = {
27622
- action: tool2.schema.enum([...CTX_MEMORY_ACTIONS]).optional().describe("write | update | archive | merge | get"),
27623
- content: tool2.schema.string().optional().describe("The memory text — one standalone fact (write, update, merge)."),
27624
- category: tool2.schema.enum([...V2_MEMORY_CATEGORIES]).optional().describe("Kind of fact (required for write; on update/merge optional, omitted keeps the current category)."),
27625
- ids: tool2.schema.array(tool2.schema.number()).optional().describe("Memory ids from <project-memory>: one for update, one or more for archive, two or more for merge, 1–20 for get."),
27626
+ action: tool2.schema.enum([...CTX_MEMORY_ACTIONS]).describe("write | update | archive | merge | get"),
27627
+ content: tool2.schema.string().describe("The memory text — one standalone fact (write, update, merge)."),
27628
+ category: tool2.schema.enum([...V2_MEMORY_CATEGORIES]).describe("Kind of fact (required for write; on update/merge, pass the memory's current category to keep it)."),
27629
+ ids: tool2.schema.array(tool2.schema.number()).describe("Memory ids from <project-memory>: one for update, one or more for archive, two or more for merge, 1–20 for get."),
27626
27630
  reason: tool2.schema.string().optional().describe("Why it is being archived (optional).")
27627
27631
  };
27628
27632
  var ctxMemoryListArgsShape = {
@@ -28603,13 +28607,13 @@ function writeTray(db, sessionId) {
28603
28607
  return { activeCount: active.length, oldestTouchedAt: oldest };
28604
28608
  }
28605
28609
  var ctxNoteArgsShape = {
28606
- action: tool3.schema.enum(["write", "read", "dismiss", "update"]).optional().describe("write | read | update | dismiss. Defaults to write when content is given, else read."),
28607
- content: tool3.schema.string().optional().describe("Note text for write/update: first line is the title (under 80 chars), then the detail."),
28610
+ action: tool3.schema.enum(["write", "read", "dismiss", "update"]).describe("write | read | update | dismiss."),
28611
+ content: tool3.schema.string().describe("Note text for write/update: first line is the title (under 80 chars), then the detail."),
28608
28612
  surface_condition: tool3.schema.string().optional().describe("Makes this a smart note: a condition an outside checker can verify on its own, periodically — repository state, releases, web pages, anything it can look up — never something only this conversation knows. The note is parked until the condition holds."),
28609
28613
  filter: tool3.schema.enum(["all", "active", "pending", "ready", "dismissed"]).optional().describe("Read filter: all, active, pending (unsurfaced smart notes), ready, dismissed. Omitted, it shows active session notes plus every current smart note (pending included); active shows only notes whose stored status is active."),
28610
28614
  limit: tool3.schema.number().optional().describe("Rows per read (default 25)."),
28611
28615
  offset: tool3.schema.number().optional().describe("Skip this many newest rows (default 0)."),
28612
- note_ids: tool3.schema.array(tool3.schema.number().int().min(1)).min(1).max(50).optional().describe("Note ids: one for update, 1–50 for dismiss or read (read returns full bodies). Ignored by write.")
28616
+ note_ids: tool3.schema.array(tool3.schema.number().int().min(1)).max(50).describe("Note ids: one for update, 1–50 for dismiss, or 1–50 to read those notes in full. Write and a plain read take an empty list.")
28613
28617
  };
28614
28618
  var ctxNoteArgsSchema = tool3.schema.object(ctxNoteArgsShape).passthrough();
28615
28619
  function formatDismissResults(results) {
@@ -28657,7 +28661,8 @@ function createCtxNoteTool(deps) {
28657
28661
  }
28658
28662
  const sessionId = toolContext.sessionID;
28659
28663
  const action = args.action ?? (args.content?.trim() ? "write" : "read");
28660
- const noteIds = action === "dismiss" || action === "update" || action === "read" && args.note_ids !== undefined ? parseNoteIds(action, args.note_ids) : undefined;
28664
+ const targetedReadIds = action === "read" && Array.isArray(args.note_ids) && args.note_ids.length === 0 ? undefined : args.note_ids;
28665
+ const noteIds = action === "dismiss" || action === "update" || action === "read" && targetedReadIds !== undefined ? parseNoteIds(action, targetedReadIds) : undefined;
28661
28666
  if (typeof noteIds === "string")
28662
28667
  return noteIds;
28663
28668
  const wakePlaneActive = action === "write" && Boolean(args.surface_condition?.trim()) && await wakePlaneStatus() === "present";
@@ -29214,18 +29219,18 @@ var FULL_PARAMETER_DESCRIPTIONS = {
29214
29219
  message: "Message ordinal from a <session-history> heading or a ctx_search hit, not a tag number. Returns that one message in full. Use alone."
29215
29220
  },
29216
29221
  ctx_note: {
29217
- action: "write | read | update | dismiss. Defaults to write when content is given, else read.",
29222
+ action: "write | read | update | dismiss.",
29218
29223
  content: "Note text for write/update: first line is the title (under 80 chars), then the detail.",
29219
29224
  surface_condition: "Makes this a smart note: a condition an outside checker can verify on its own, periodically — repository state, releases, web pages, anything it can look up — never something only this conversation knows. The note is parked until the condition holds.",
29220
29225
  filter: "Read filter: all, active, pending (unsurfaced smart notes), ready, dismissed. Omitted, it shows active session notes plus every current smart note (pending included); active shows only notes whose stored status is active.",
29221
29226
  limit: "Rows per read (default 25).",
29222
29227
  offset: "Skip this many newest rows (default 0).",
29223
- note_ids: "Note ids: one for update, 1–50 for dismiss or read (read returns full bodies). Ignored by write."
29228
+ note_ids: "Note ids: one for update, 1–50 for dismiss, or 1–50 to read those notes in full. Write and a plain read take an empty list."
29224
29229
  },
29225
29230
  ctx_memory: {
29226
29231
  action: "write | update | archive | merge | get",
29227
29232
  content: "The memory text — one standalone fact (write, update, merge).",
29228
- category: "Kind of fact (required for write; on update/merge optional, omitted keeps the current category).",
29233
+ category: "Kind of fact (required for write; on update/merge, pass the memory's current category to keep it).",
29229
29234
  ids: "Memory ids from <project-memory>: one for update, one or more for archive, two or more for merge, 1–20 for get.",
29230
29235
  reason: "Why it is being archived (optional)."
29231
29236
  },
@@ -29249,18 +29254,18 @@ var LIGHT_PARAMETER_DESCRIPTIONS = {
29249
29254
  message: "Message ordinal from a <session-history> heading or a ctx_search hit, not a tag number. Returns that one message in full. Use alone."
29250
29255
  },
29251
29256
  ctx_note: {
29252
- action: "write | read | update | dismiss (default: write with content, else read).",
29257
+ action: "write | read | update | dismiss.",
29253
29258
  content: "Note text: first line title (<80 chars), then detail.",
29254
29259
  surface_condition: "A condition an outside checker can verify on its own, periodically (repository, releases, web — anything it can look up); never something only this conversation knows.",
29255
29260
  filter: "Read filter: all, active, pending, ready, dismissed. Omitted: active notes plus every current smart note (pending included); active: only active-status notes.",
29256
29261
  limit: "Rows per read (default 25).",
29257
29262
  offset: "Skip newest rows (default 0).",
29258
- note_ids: "One id for update, 1–50 for dismiss or read (full bodies). Ignored by write."
29263
+ note_ids: "One id for update, 1–50 for dismiss, or 1–50 to read those notes in full. Write and a plain read take an empty list."
29259
29264
  },
29260
29265
  ctx_memory: {
29261
29266
  action: "write | update | archive | merge | get",
29262
29267
  content: "One standalone fact (write, update, merge).",
29263
- category: "Kind of fact (required for write; optional on update/merge).",
29268
+ category: "Kind of fact (required for write; on update/merge pass the current category to keep it).",
29264
29269
  ids: "Ids from <project-memory>: one for update, 1+ for archive, 2+ for merge, 1–20 for get.",
29265
29270
  reason: "Why it is archived (optional)."
29266
29271
  },
@@ -15,7 +15,7 @@ import {
15
15
  getActiveCompartmentRun,
16
16
  markActiveCompartmentRunPublished,
17
17
  registerActiveCompartmentRun
18
- } from "./index-y76rhsnr.js";
18
+ } from "./index-dds7cxhz.js";
19
19
  import {
20
20
  inRootAsyncContext2
21
21
  } from "./index-gzy5w8ya.js";
@@ -27,17 +27,17 @@ import {
27
27
  getHistorianFailureState,
28
28
  clearEmergencyRecovery,
29
29
  prepareRawSessionOrdinals2
30
- } from "./index-mnhcdfxg.js";
30
+ } from "./index-t1zk694n.js";
31
31
  import {
32
32
  pushNotification2
33
33
  } from "./index-x8a7jmkh.js";
34
34
  import {
35
35
  sendStatusNotification2
36
- } from "./index-66eby7hx.js";
36
+ } from "./index-jcr6pe7z.js";
37
37
  import {
38
38
  setRecompStarting2,
39
39
  setRecompTerminal2
40
- } from "./index-ffzhwfzy.js";
40
+ } from "./index-jd0y50w3.js";
41
41
 
42
42
  // src/hooks/magic-context/wrapup-orchestrator.ts
43
43
  import * as crypto from "node:crypto";
@@ -18,6 +18,10 @@ import { Worker } from "node:worker_threads";
18
18
 
19
19
  // src/hooks/magic-context/read-session-raw.ts
20
20
  import { isMainThread } from "node:worker_threads";
21
+ function areRustHistorianSyntheticParts2(parts) {
22
+ const contentParts = parts.filter((part) => part === null || typeof part !== "object" || part.type !== "compaction");
23
+ return contentParts.length > 0 && contentParts.every((part) => part !== null && typeof part === "object" && (part.synthetic === true || part.syntheticTodoMarker === true));
24
+ }
21
25
  function isStrictGapHealingMessage2(message) {
22
26
  if (message.storeType === "synthetic")
23
27
  return true;
@@ -1293,4 +1297,4 @@ function recordFailure(key, sessionId, failure, detail) {
1293
1297
  log2(`[magic-context] WARN canonical ordinal warm-up failed for ${sessionId} (${failure}: ${detail}); counts remain bounded and callers must defer or retry`);
1294
1298
  }
1295
1299
 
1296
- export { isStrictGapHealingMessage2, isRawCompactionSummaryInfo2, readRawSessionMessagesFromDb2, readRawSessionMessagePageFromDb2, readRawSessionMessageSummaryPageFromDb2, countRawSessionMessageOrdinalsFromDb2, readRawSessionMessageIdOrdinalsForRangeFromDb2, readRawSessionMessageIdsAtOrdinalsFromDb2, readRawSessionMessageOrdinalPageFromDb2, countStoredRawSessionMessagesFromDb2, readRawSessionTailFromDb2, extractInMemoryMessageViews2, buildInMemoryTailRawMessages2, readRawSessionMessagePartsByIdFromDb2, forgetRawSessionOrdinalWatermark2, forgetRawSessionSummaryRows2, noteRawSessionSummaryRowWritten2, RawOrdinalsNotReady2, rawOrdinalSummarySeed2, scanRawSessionSummaryRows2, getRawSessionSummaryEpoch2, installRawSessionSummaryScan2, isRawSessionSummaryWarm2, readRawSessionMessageOrdinalByIdFromDb2, readRawSessionMessageByIdFromDb2, hasRawSessionMessageByIdFromDb2, readRawSeedTailFromDb2, readRawSessionBoundaryEndpointsFromDb2, runSessionWarmupWorker, prewarmRawSessionOrdinalsForDb };
1300
+ export { areRustHistorianSyntheticParts2, isStrictGapHealingMessage2, isRawCompactionSummaryInfo2, readRawSessionMessagesFromDb2, readRawSessionMessagePageFromDb2, readRawSessionMessageSummaryPageFromDb2, countRawSessionMessageOrdinalsFromDb2, readRawSessionMessageIdOrdinalsForRangeFromDb2, readRawSessionMessageIdsAtOrdinalsFromDb2, readRawSessionMessageOrdinalPageFromDb2, countStoredRawSessionMessagesFromDb2, readRawSessionTailFromDb2, extractInMemoryMessageViews2, buildInMemoryTailRawMessages2, readRawSessionMessagePartsByIdFromDb2, forgetRawSessionOrdinalWatermark2, forgetRawSessionSummaryRows2, noteRawSessionSummaryRowWritten2, RawOrdinalsNotReady2, rawOrdinalSummarySeed2, scanRawSessionSummaryRows2, getRawSessionSummaryEpoch2, installRawSessionSummaryScan2, isRawSessionSummaryWarm2, readRawSessionMessageOrdinalByIdFromDb2, readRawSessionMessageByIdFromDb2, hasRawSessionMessageByIdFromDb2, readRawSeedTailFromDb2, readRawSessionBoundaryEndpointsFromDb2, runSessionWarmupWorker, prewarmRawSessionOrdinalsForDb };
@@ -98,13 +98,13 @@ import {
98
98
  getProjectEmbeddingSnapshot2,
99
99
  embedTextForProject2,
100
100
  embedBatchForProject2
101
- } from "./index-zy67whjr.js";
101
+ } from "./index-z05n7702.js";
102
102
  import {
103
103
  createWorkerShutdown
104
104
  } from "./index-cpjk5jd2.js";
105
105
  import {
106
106
  runSessionWarmupWorker
107
- } from "./index-jfem3dgz.js";
107
+ } from "./index-7tdtpqrg.js";
108
108
  import {
109
109
  getMaxM0MutationId,
110
110
  getLastCompartmentEndMessage,
@@ -140,12 +140,12 @@ import {
140
140
  peekNoteNudgeText,
141
141
  markNoteNudgeDelivered,
142
142
  getActiveCompartmentRun
143
- } from "./index-y76rhsnr.js";
143
+ } from "./index-dds7cxhz.js";
144
144
  import {
145
145
  BoundedSessionMap,
146
146
  cleanSearchText,
147
147
  matchedSearchSnippet
148
- } from "./index-mnnkgq0q.js";
148
+ } from "./index-p6evxfcc.js";
149
149
  import {
150
150
  stripSystemInjection,
151
151
  isTextPart,
@@ -243,7 +243,7 @@ import {
243
243
  extractToolCallObservation,
244
244
  ToolMutationBatch,
245
245
  createToolDropTarget
246
- } from "./index-mnhcdfxg.js";
246
+ } from "./index-t1zk694n.js";
247
247
  import {
248
248
  isValidLanguageCode
249
249
  } from "./index-nxrsns5x.js";
@@ -254,10 +254,10 @@ import {
254
254
  openCodeDbExists,
255
255
  withReadOnlySessionDb,
256
256
  getMessageTimesFromOpenCodeDb
257
- } from "./index-ksq50rg0.js";
257
+ } from "./index-c9zrgcnt.js";
258
258
  import {
259
259
  userFacingFailureCode
260
- } from "./index-3svaejkh.js";
260
+ } from "./index-z928hmnp.js";
261
261
  import {
262
262
  normalizeProtectedToolName,
263
263
  mergeProtectedTools
@@ -19,7 +19,7 @@ import {
19
19
  import {
20
20
  forgetRawSessionOrdinalWatermark2,
21
21
  forgetRawSessionSummaryRows2
22
- } from "./index-jfem3dgz.js";
22
+ } from "./index-7tdtpqrg.js";
23
23
  import {
24
24
  closeQuietly
25
25
  } from "./index-8ajstryz.js";
@@ -97,7 +97,7 @@ import {
97
97
  getRawSessionTagKeysThrough2,
98
98
  getLegacyProtectedTailStartOrdinal2,
99
99
  readSessionChunk2
100
- } from "./index-mnhcdfxg.js";
100
+ } from "./index-t1zk694n.js";
101
101
  import {
102
102
  getHarness2,
103
103
  harnessOwnsOpenCodeStore2
@@ -164,7 +164,7 @@ import {
164
164
  LATEST_SUPPORTED_VERSION,
165
165
  getPersistedSchemaVersion,
166
166
  openDatabase
167
- } from "./index-a9zvn5fe.js";
167
+ } from "./index-jrjr58ez.js";
168
168
  import {
169
169
  inRootAsyncContext2,
170
170
  Database2,
@@ -181,11 +181,12 @@ import {
181
181
  isPidAlive
182
182
  } from "./index-c7phnbvk.js";
183
183
  import {
184
+ areRustHistorianSyntheticParts2,
184
185
  isStrictGapHealingMessage2,
185
186
  noteRawSessionSummaryRowWritten2,
186
187
  RawOrdinalsNotReady2,
187
188
  runSessionWarmupWorker
188
- } from "./index-jfem3dgz.js";
189
+ } from "./index-7tdtpqrg.js";
189
190
  import {
190
191
  layoutLkgPrefix,
191
192
  assembleLkgPrefix,
@@ -222,7 +223,7 @@ import {
222
223
  getProjectChunkEmbeddingModelId2,
223
224
  getProjectEmbeddingMaxInputTokens2,
224
225
  embedItemsForProject2
225
- } from "./index-zy67whjr.js";
226
+ } from "./index-z05n7702.js";
226
227
  import {
227
228
  buildCanonicalChunkTextFromFts2,
228
229
  buildCompartmentSummaryFallbackText2,
@@ -232,7 +233,7 @@ import {
232
233
  replaceCompartmentChunkEmbeddings2,
233
234
  deleteChunkEmbedBackoffForSession2,
234
235
  chunkWindowSourceKey2
235
- } from "./index-m32esgmj.js";
236
+ } from "./index-3d5wnkq7.js";
236
237
  import {
237
238
  BoundedSessionMap,
238
239
  clearCompressionDepth,
@@ -249,7 +250,7 @@ import {
249
250
  toMessageIndexSource2,
250
251
  clearIndexedMessagesInTransaction2,
251
252
  indexSourcesAfterOrdinal2
252
- } from "./index-mnnkgq0q.js";
253
+ } from "./index-p6evxfcc.js";
253
254
  import {
254
255
  stripWellFormedLeadingTagPrefix,
255
256
  stripTagPrefix,
@@ -267,7 +268,7 @@ import {
267
268
  openCodeDbExists,
268
269
  withReadOnlySessionDb,
269
270
  getMessageTimesFromOpenCodeDb
270
- } from "./index-ksq50rg0.js";
271
+ } from "./index-c9zrgcnt.js";
271
272
  import {
272
273
  renderUserFacingFailure,
273
274
  userFacingFailureCode,
@@ -276,7 +277,7 @@ import {
276
277
  insertPrimerCandidates,
277
278
  promoteSessionFactsDurable,
278
279
  embedPromotedFacts
279
- } from "./index-3svaejkh.js";
280
+ } from "./index-z928hmnp.js";
280
281
  import {
281
282
  pushNotification2
282
283
  } from "./index-x8a7jmkh.js";
@@ -296,7 +297,7 @@ import {
296
297
  } from "./index-qgh1qwjj.js";
297
298
  import {
298
299
  sendStatusNotification2
299
- } from "./index-66eby7hx.js";
300
+ } from "./index-jcr6pe7z.js";
300
301
  import {
301
302
  isCompactionEnabled,
302
303
  migrateLegacyAgentEnabledInMemory
@@ -345,13 +346,14 @@ function denyTaskRoutingToAgents(permission, internalAgentIds) {
345
346
  const configuredTask = isPermissionAction(task) ? { "*": task } : isPermissionMap(task) ? task : {};
346
347
  const internalAgentIdSet = new Set(internalAgentIds);
347
348
  const hasAmbientWildcardDeny = configuredTask["*"] === "deny";
348
- const retainedTask = Object.fromEntries(Object.entries(configuredTask).filter(([agentId]) => !internalAgentIdSet.has(agentId) && (agentId !== "*" || !hasAmbientWildcardDeny)));
349
+ const movesAmbientWildcardDeny = hasAmbientWildcardDeny && Object.keys(configuredTask).every((agentId) => agentId === "*" || internalAgentIdSet.has(agentId));
350
+ const retainedTask = Object.fromEntries(Object.entries(configuredTask).filter(([agentId]) => !internalAgentIdSet.has(agentId) && (agentId !== "*" || !movesAmbientWildcardDeny)));
349
351
  return {
350
352
  ...otherPermissions,
351
353
  task: {
352
354
  ...retainedTask,
353
355
  ...Object.fromEntries(internalAgentIds.map((agentId) => [agentId, "deny"])),
354
- ...hasAmbientWildcardDeny ? { "*": "deny" } : {}
356
+ ...movesAmbientWildcardDeny ? { "*": "deny" } : {}
355
357
  }
356
358
  };
357
359
  }
@@ -19639,6 +19641,7 @@ function resolveProtectedTailBoundary(ctx) {
19639
19641
  priorBoundaryOrdinal: ctx.priorBoundaryOrdinal,
19640
19642
  migrationFloorActive: ctx.migrationFloorActive,
19641
19643
  emergencyTailScale: ctx.emergencyTailScale,
19644
+ liftLivePromptFloor: ctx.liftLivePromptFloor === true ? true : undefined,
19642
19645
  providerShapeVersion: ctx.providerShapeVersion,
19643
19646
  cacheNamespace: ctx.cacheNamespace,
19644
19647
  createdAt,
@@ -20066,28 +20069,37 @@ function logInconsistentProducerWindowOnce(sessionId, model, window, reserve) {
20066
20069
  sessionLog2(sessionId, `producer window inconsistent for ${model}: window=${window} reserve=${reserve}; sending unguarded`);
20067
20070
  }
20068
20071
  var HISTORIAN_ALERT_COOLDOWN_MS = 60 * 1000;
20069
- function v2NonNarrativeStoredGapRanges(db, sessionId, compartments) {
20070
- if (readCoordinateRebaseNotice(db, sessionId)?.generation !== "v2")
20071
- return [];
20072
+ function nonNarrativeStoredGapRanges(db, sessionId, compartments) {
20073
+ const rebasedToV2 = readCoordinateRebaseNotice(db, sessionId)?.generation === "v2";
20072
20074
  const safeRanges = [];
20073
- for (let index = 1;index < compartments.length; index += 1) {
20075
+ for (let index = 0;index < compartments.length; index += 1) {
20074
20076
  const previous = compartments[index - 1];
20075
20077
  const current = compartments[index];
20076
- if (!previous || !current)
20078
+ if (!current)
20077
20079
  continue;
20078
- const start = previous.endMessage + 1;
20080
+ const start = previous ? previous.endMessage + 1 : 1;
20079
20081
  const end = current.startMessage - 1;
20080
20082
  if (end < start)
20081
20083
  continue;
20082
20084
  const messages = readRawSessionMessageRange2(sessionId, start, end);
20083
20085
  const ordinals = new Set(messages.map((message) => message.ordinal));
20084
- const complete = ordinals.size === end - start + 1 && messages.every((message) => isStrictGapHealingMessage2(message));
20086
+ const complete = ordinals.size === end - start + 1 && messages.every((message) => message.ordinal >= start && message.ordinal <= end && (areRustHistorianSyntheticParts2(message.parts) || index > 0 && rebasedToV2 && isStrictGapHealingMessage2(message)));
20085
20087
  if (complete)
20086
20088
  safeRanges.push({ start, end });
20087
20089
  }
20088
20090
  return safeRanges;
20089
20091
  }
20090
20092
  var lastHistorianAlertBySession = new Map;
20093
+ var loggedStoredValidationFailures = new Map;
20094
+ function logStoredValidationFailureOnce(sessionId, error) {
20095
+ const failureClass = error.split(" ", 2).join(" ");
20096
+ const logged = loggedStoredValidationFailures.get(sessionId) ?? new Set;
20097
+ if (logged.has(failureClass))
20098
+ return;
20099
+ logged.add(failureClass);
20100
+ loggedStoredValidationFailures.set(sessionId, logged);
20101
+ sessionLog2(sessionId, `historian failure: source=existing-validation reason="${error}"`);
20102
+ }
20091
20103
  var STORED_COMPARTMENT_FAILURE_BACKOFF_MS = 30 * 60 * 1000;
20092
20104
  function storedCompartmentFailureBackingOff(db, sessionId, validationError, now = Date.now()) {
20093
20105
  if (getHistorianFailureState(db, sessionId).lastError !== validationError)
@@ -20232,10 +20244,12 @@ async function runCompartmentAgent(deps) {
20232
20244
  return;
20233
20245
  }
20234
20246
  let priorCompartments = getCompartments(db, sessionId);
20235
- let existingValidationError = validateStoredCompartments(priorCompartments, v2NonNarrativeStoredGapRanges(db, sessionId, priorCompartments));
20247
+ let existingValidationError = validateStoredCompartments(priorCompartments, nonNarrativeStoredGapRanges(db, sessionId, priorCompartments));
20236
20248
  const unresolvedInvolved = existingValidationError !== null && priorCompartments.some((compartment) => compartment.rebaseStatus === "unresolved");
20237
- if (unresolvedInvolved && existingValidationError && storedCompartmentFailureBackingOff(db, sessionId, existingValidationError)) {
20238
- sessionLog2(sessionId, `historian no-op: stored compartments still invalid ("${existingValidationError}"); backing off`);
20249
+ if (existingValidationError && storedCompartmentFailureBackingOff(db, sessionId, existingValidationError)) {
20250
+ if (unresolvedInvolved) {
20251
+ sessionLog2(sessionId, `historian no-op: stored compartments still invalid ("${existingValidationError}"); backing off`);
20252
+ }
20239
20253
  telemetry.status = "noop";
20240
20254
  telemetry.failureReason = `existing-validation backoff: ${existingValidationError}`;
20241
20255
  return;
@@ -20249,15 +20263,19 @@ async function runCompartmentAgent(deps) {
20249
20263
  });
20250
20264
  if (recovery.rowsRewritten > 0) {
20251
20265
  priorCompartments = getCompartments(db, sessionId);
20252
- existingValidationError = validateStoredCompartments(priorCompartments, v2NonNarrativeStoredGapRanges(db, sessionId, priorCompartments));
20266
+ existingValidationError = validateStoredCompartments(priorCompartments, nonNarrativeStoredGapRanges(db, sessionId, priorCompartments));
20253
20267
  }
20254
20268
  }
20255
20269
  if (existingValidationError) {
20256
- sessionLog2(sessionId, `historian failure: source=existing-validation reason="${existingValidationError}"`);
20270
+ if (unresolvedInvolved) {
20271
+ sessionLog2(sessionId, `historian failure: source=existing-validation reason="${existingValidationError}"`);
20272
+ } else {
20273
+ logStoredValidationFailureOnce(sessionId, existingValidationError);
20274
+ }
20257
20275
  const failCount = incrementHistorianFailure(db, sessionId, existingValidationError);
20258
20276
  telemetry.failureReason = `existing-validation: ${existingValidationError}`;
20277
+ retainDrainReservationForRetryThrottle = true;
20259
20278
  if (unresolvedInvolved) {
20260
- retainDrainReservationForRetryThrottle = true;
20261
20279
  await notifyHistorianIssue(buildStoredCompartmentsInvalidNotice());
20262
20280
  } else {
20263
20281
  await notifyHistorianIssue(buildHistorianFailureNotice(failCount, existingValidationError));
@@ -20297,7 +20315,8 @@ async function runCompartmentAgent(deps) {
20297
20315
  inputTokens: boundarySnapshot.usageInputTokens
20298
20316
  },
20299
20317
  usageSource: boundarySnapshot.usageSource,
20300
- emergencyTailScale: boundarySnapshot.emergencyTailScale
20318
+ emergencyTailScale: boundarySnapshot.emergencyTailScale,
20319
+ liftLivePromptFloor: boundarySnapshot.liftLivePromptFloor === true
20301
20320
  });
20302
20321
  if (refreshed && hasRunnableCompartmentWindow(refreshed)) {
20303
20322
  sessionLog2(sessionId, `historian: refreshed stale protected-tail snapshot at run time (was: ${validation.detail ?? "stale"}) — eligible head ${refreshed.offset}-${refreshed.eligibleEndOrdinal - 1}`);
@@ -10,7 +10,7 @@ import {
10
10
  } from "./index-rrv26qjz.js";
11
11
  import {
12
12
  shouldHoldIgnoredNotification
13
- } from "./index-ksq50rg0.js";
13
+ } from "./index-c9zrgcnt.js";
14
14
  import {
15
15
  getErrorMessage
16
16
  } from "./index-y8v6yerm.js";
@@ -3,16 +3,16 @@ import {
3
3
  } from "./index-h7tgn49j.js";
4
4
  import {
5
5
  clearEmergencyRecovery
6
- } from "./index-mnhcdfxg.js";
6
+ } from "./index-t1zk694n.js";
7
7
  import {
8
8
  requestPendingMaterialization,
9
9
  dropSlot,
10
10
  executeContextRecomp
11
- } from "./index-y76rhsnr.js";
11
+ } from "./index-dds7cxhz.js";
12
12
  import {
13
13
  renderUserFacingFailure,
14
14
  userFacingFailureCode
15
- } from "./index-3svaejkh.js";
15
+ } from "./index-z928hmnp.js";
16
16
 
17
17
  // src/hooks/magic-context/recomp-orchestrator.ts
18
18
  function resolveLiveModelKey(liveSessionState, sessionId) {
@@ -44,7 +44,7 @@ import {
44
44
  } from "./index-fb3zxn06.js";
45
45
  import {
46
46
  startMessageFtsRowidMapBackfill2
47
- } from "./index-x6cbrv9h.js";
47
+ } from "./index-szf8r0ba.js";
48
48
  import {
49
49
  LKG_SLOT_CHUNKS_DDL,
50
50
  SESSION_REPLAY_DECISIONS_DDL,
@@ -1279,7 +1279,7 @@ function finishDatabaseOpen(db, dbPath, explicitDbPath, latestSupportedVersion)
1279
1279
  state.running = startMessageFtsRowidMapBackfill2(db, signal).then(async () => {
1280
1280
  if (signal.aborted || !readsOpenCodeStore)
1281
1281
  return;
1282
- const { readRawSessionMessagePage, readRawSessionMessages } = await importPluginModule(() => import("./read-session-chunk-t039f0m5.js"));
1282
+ const { readRawSessionMessagePage, readRawSessionMessages } = await importPluginModule(() => import("./read-session-chunk-q9z6s48t.js"));
1283
1283
  const { startMessageTimeBackfill } = await importPluginModule(() => import("./message-time-backfill-4qva0b4f.js"));
1284
1284
  if (signal.aborted)
1285
1285
  return;
@@ -35,17 +35,17 @@ import {
35
35
  } from "./index-58e3y90n.js";
36
36
  import {
37
37
  cleanUserText2
38
- } from "./index-mnhcdfxg.js";
38
+ } from "./index-t1zk694n.js";
39
39
  import {
40
40
  recordMessageFtsRowid2,
41
41
  recordIndexedMessageTime2,
42
42
  messageFtsOrdinalRangeIsMapped2,
43
43
  getMessageFtsRowidMapBackfillProgress2,
44
44
  deleteUnmappedMessageFtsRows2
45
- } from "./index-x6cbrv9h.js";
45
+ } from "./index-szf8r0ba.js";
46
46
  import {
47
47
  deleteChunkEmbedBackoffForSession2
48
- } from "./index-m32esgmj.js";
48
+ } from "./index-3d5wnkq7.js";
49
49
  import {
50
50
  sameProjectDirectory
51
51
  } from "./index-knvkbfvh.js";
@@ -5,7 +5,7 @@ import {
5
5
  } from "./index-gzy5w8ya.js";
6
6
  import {
7
7
  runSessionWarmupWorker
8
- } from "./index-jfem3dgz.js";
8
+ } from "./index-7tdtpqrg.js";
9
9
  import {
10
10
  logSlowWriteTransaction
11
11
  } from "./index-t5pck3ss.js";