@cortexkit/opencode-magic-context 0.49.44 → 0.49.45

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 (107) hide show
  1. package/dist/auto-search-worker.js +4 -4
  2. package/dist/chunk-embedding-write-worker.js +7 -7
  3. package/dist/{compartment-chunk-embedding-ypktm0tk.js → compartment-chunk-embedding-snj51nmg.js} +5 -5
  4. package/dist/{conflict-warning-hook-b75jn458.js → conflict-warning-hook-w1aw6w5t.js} +4 -4
  5. package/dist/{context-ws6gbyrr.js → context-y85dvs6j.js} +26 -26
  6. package/dist/{embedding-backfill-zxj35jkq.js → embedding-backfill-kpy5shsa.js} +8 -8
  7. package/dist/embedding-worker.js +3 -3
  8. package/dist/features/magic-context/memory/embedding-openai.d.ts.map +1 -1
  9. package/dist/features/magic-context/memory/embedding-query-deadline.d.ts +8 -0
  10. package/dist/features/magic-context/memory/embedding-query-deadline.d.ts.map +1 -0
  11. package/dist/features/magic-context/overflow-detection.d.ts +16 -6
  12. package/dist/features/magic-context/overflow-detection.d.ts.map +1 -1
  13. package/dist/hooks/auto-update-checker/index.d.ts +6 -0
  14. package/dist/hooks/auto-update-checker/index.d.ts.map +1 -1
  15. package/dist/hooks/magic-context/read-session-formatting.d.ts +2 -1
  16. package/dist/hooks/magic-context/read-session-formatting.d.ts.map +1 -1
  17. package/dist/hooks/magic-context/read-session-raw.d.ts.map +1 -1
  18. package/dist/{index-8w3y6pxc.js → index-0a79y98x.js} +12 -12
  19. package/dist/{index-jggt5gf2.js → index-1hwn96x1.js} +1 -1
  20. package/dist/{index-ae1ar4v1.js → index-25ka1jza.js} +1 -1
  21. package/dist/{index-7y8c2n52.js → index-7na94cjf.js} +3 -3
  22. package/dist/{index-v64se1t6.js → index-980brvjr.js} +8 -8
  23. package/dist/{index-4xyjr62e.js → index-ak11t3gm.js} +4 -0
  24. package/dist/{index-vd2ywmfe.js → index-brj6was5.js} +1 -1
  25. package/dist/{index-m1mttf6y.js → index-bzq05g00.js} +3 -3
  26. package/dist/{index-66qexmjw.js → index-d4qw2h43.js} +3 -3
  27. package/dist/{index-24y47287.js → index-dcdvyaeh.js} +4 -4
  28. package/dist/{index-g4t7850m.js → index-dj2p8653.js} +1 -1
  29. package/dist/{index-ntssp0dt.js → index-fs3zfby1.js} +28 -30
  30. package/dist/{index-knnscj54.js → index-gf1vx3bn.js} +3 -3
  31. package/dist/{index-8jjjmhab.js → index-gxqr0sbd.js} +1 -1
  32. package/dist/{index-b1ydbp95.js → index-h9m41624.js} +1 -1
  33. package/dist/{index-p6gs3xpx.js → index-hkh8x221.js} +1 -1
  34. package/dist/{index-dasvhxwg.js → index-jwa5t1s4.js} +6 -6
  35. package/dist/{index-dcjkw41m.js → index-qcz1fy7h.js} +3 -3
  36. package/dist/{index-g7rrfjkq.js → index-qdx8dq60.js} +5 -5
  37. package/dist/{index-g0mjm7e4.js → index-rk5hyc41.js} +5 -5
  38. package/dist/{index-rhcwddn9.js → index-s79g172v.js} +63 -21
  39. package/dist/{index-kgk64zyx.js → index-sd2s4t4p.js} +1 -1
  40. package/dist/{index-jkanybgq.js → index-smtbdmc3.js} +1 -1
  41. package/dist/{index-91y4xvx6.js → index-tvd2j34s.js} +2 -2
  42. package/dist/{index-1j8m4ad0.js → index-wwg1je98.js} +8 -5
  43. package/dist/{index-r2epb000.js → index-xa9mmq6c.js} +2 -1
  44. package/dist/{index-wapyeb06.js → index-xejh7cqv.js} +13 -13
  45. package/dist/{index-6qnhaaa0.js → index-z8dacvkt.js} +3 -3
  46. package/dist/index.d.ts.map +1 -1
  47. package/dist/index.js +42 -38
  48. package/dist/{message-fts-rowid-map-t6qsyg9s.js → message-fts-rowid-map-msffhkve.js} +2 -2
  49. package/dist/{message-index-bounded-dmq6ne7d.js → message-index-bounded-d8xt6q5c.js} +8 -8
  50. package/dist/migration-worker.js +5 -5
  51. package/dist/{project-embedding-registry-m47vg1ce.js → project-embedding-registry-r6xfsrbe.js} +7 -7
  52. package/dist/raw-ordinal-warmup-worker.js +7 -7
  53. package/dist/{read-session-chunk-3m7z9v3t.js → read-session-chunk-k3fqshw8.js} +6 -6
  54. package/dist/{read-session-raw-j7c9w57v.js → read-session-raw-x7a9b3jm.js} +1 -1
  55. package/dist/{recomp-orchestrator-9wtcpd7d.js → recomp-orchestrator-y75thsc3.js} +19 -19
  56. package/dist/{render-esw55s0k.js → render-3psbedzk.js} +13 -13
  57. package/dist/{search-archive-wna5basn.js → search-archive-rvr7j5gx.js} +8 -8
  58. package/dist/{search-3b4kbhtw.js → search-hd16c8gq.js} +16 -16
  59. package/dist/{send-session-notification-14p3yje4.js → send-session-notification-j93pn2hn.js} +3 -3
  60. package/dist/{storage-tags-vj0yj7ed.js → storage-tags-ye9aqrqy.js} +2 -2
  61. package/dist/tools/ctx-search/tools.d.ts.map +1 -1
  62. package/dist/{transform-postprocess-phase-1y6p9ccc.js → transform-postprocess-phase-1rzxmkhb.js} +20 -20
  63. package/dist/v2/auto-search-worker.js +4 -4
  64. package/dist/v2/chunk-embedding-write-worker.js +7 -7
  65. package/dist/v2/{compartment-chunk-embedding-qfk791bd.js → compartment-chunk-embedding-nj5nrnbj.js} +5 -5
  66. package/dist/v2/{context-sfgk72cj.js → context-0e946t63.js} +25 -27
  67. package/dist/v2/{embedding-backfill-ahwzfc7v.js → embedding-backfill-360efh1t.js} +8 -8
  68. package/dist/v2/embedding-worker.js +3 -3
  69. package/dist/v2/{message-fts-rowid-map-z86avy0n.js → message-fts-rowid-map-qe7cpksd.js} +2 -2
  70. package/dist/v2/{message-index-bounded-mapha2ag.js → message-index-bounded-wt64v2rn.js} +7 -7
  71. package/dist/v2/migration-worker.js +5 -5
  72. package/dist/v2/{project-embedding-registry-mn403rp5.js → project-embedding-registry-ek0cy0d5.js} +7 -7
  73. package/dist/v2/raw-ordinal-warmup-worker.js +7 -7
  74. package/dist/v2/{read-session-chunk-svcthp0n.js → read-session-chunk-4b31z6bz.js} +5 -5
  75. package/dist/v2/{read-session-raw-qpp6x9kg.js → read-session-raw-yss2ev98.js} +1 -1
  76. package/dist/v2/{recomp-orchestrator-2bkv46am.js → recomp-orchestrator-6qrm2nea.js} +16 -16
  77. package/dist/v2/{render-315tv10c.js → render-f8mw16pp.js} +12 -12
  78. package/dist/v2/{search-archive-hnx40ts0.js → search-archive-7d0xdp54.js} +7 -7
  79. package/dist/v2/{search-bhrr075t.js → search-ecjd7e50.js} +14 -14
  80. package/dist/v2/{send-session-notification-kxp47tsw.js → send-session-notification-na3q825m.js} +1 -1
  81. package/dist/v2/{server-t5gxvcc3.js → server-0ymsgh0j.js} +3 -3
  82. package/dist/v2/{server-nmyganc8.js → server-131h608x.js} +1 -1
  83. package/dist/v2/{server-86sk7h34.js → server-2gjqhmn9.js} +63 -21
  84. package/dist/v2/{server-xy7w7hrd.js → server-2j87594q.js} +1 -1
  85. package/dist/v2/{server-1c720m9s.js → server-2qyfev3b.js} +5 -5
  86. package/dist/v2/{server-1yx5455s.js → server-39kzpp8q.js} +4 -4
  87. package/dist/v2/{server-969cdpmg.js → server-7vb38e51.js} +4 -0
  88. package/dist/v2/{server-rqypazrp.js → server-an1ff8d8.js} +3 -3
  89. package/dist/v2/{server-tnzbk64q.js → server-b3r080cm.js} +2 -1
  90. package/dist/v2/{server-zzgtgqmd.js → server-ddw42d76.js} +1 -1
  91. package/dist/v2/{server-g8xvnxcf.js → server-ftyc8awt.js} +3 -3
  92. package/dist/v2/{server-xfjjbrkt.js → server-gwqfwtzq.js} +1 -1
  93. package/dist/v2/{server-qs0mdpc1.js → server-hq7fdqfm.js} +7 -7
  94. package/dist/v2/{server-xnz3nrt2.js → server-pej5rnye.js} +1 -1
  95. package/dist/v2/{server-8xdnk7vz.js → server-sg2qjkrb.js} +1 -1
  96. package/dist/v2/{server-aqgg41wb.js → server-sr8tf5dt.js} +3 -3
  97. package/dist/v2/{server-78mc9sxx.js → server-vnpnmrsv.js} +7 -4
  98. package/dist/v2/{server-63cz4w5t.js → server-wbxbk3za.js} +3 -3
  99. package/dist/v2/{server-cp1a03vc.js → server-y8n33d9j.js} +3 -3
  100. package/dist/v2/{server-ngdrh7rv.js → server-zqzh2ybj.js} +11 -11
  101. package/dist/v2/server.js +2 -2
  102. package/dist/v2/{storage-tags-cw07ky67.js → storage-tags-8nttt1sk.js} +2 -2
  103. package/dist/v2/{v2-archive-reader-qwn0me88.js → v2-archive-reader-53kp5mme.js} +1 -1
  104. package/dist/v2/{wrapup-orchestrator-ts0sqwp3.js → wrapup-orchestrator-bng0dfxy.js} +16 -16
  105. package/dist/{v2-archive-reader-vqqjkeaq.js → v2-archive-reader-0fcxs5e9.js} +1 -1
  106. package/dist/{wrapup-orchestrator-qxvbvr4r.js → wrapup-orchestrator-r5cqgyrg.js} +20 -20
  107. package/package.json +1 -1
@@ -393,6 +393,7 @@ function extractToolCallSummaries(parts) {
393
393
  }
394
394
  return summaries;
395
395
  }
396
+ var COMMAND_ARG_MAX_CHARS = 200;
396
397
  function extractKeyArg(_toolName, input) {
397
398
  if (!input)
398
399
  return null;
@@ -410,6 +411,9 @@ function extractKeyArg(_toolName, input) {
410
411
  return input.module;
411
412
  if (typeof input.action === "string")
412
413
  return input.action;
414
+ if (typeof input.command === "string") {
415
+ return truncateArg(normalizeText(input.command), COMMAND_ARG_MAX_CHARS);
416
+ }
413
417
  return null;
414
418
  }
415
419
  function truncateArg(value, maxLen = 60) {
@@ -19,7 +19,7 @@ import {
19
19
  import {
20
20
  forgetRawSessionOrdinalWatermark2,
21
21
  forgetRawSessionSummaryRows2
22
- } from "./index-r2epb000.js";
22
+ } from "./index-xa9mmq6c.js";
23
23
  import {
24
24
  closeQuietly
25
25
  } from "./index-8ajstryz.js";
@@ -6,16 +6,16 @@ import {
6
6
  removeNestedBlocks,
7
7
  hasMeaningfulUserText2,
8
8
  extractTexts2
9
- } from "./index-4xyjr62e.js";
9
+ } from "./index-ak11t3gm.js";
10
10
  import {
11
11
  cleanUserText2
12
- } from "./index-1j8m4ad0.js";
12
+ } from "./index-wwg1je98.js";
13
13
  import {
14
14
  recordMessageFtsRowid2,
15
15
  recordIndexedMessageTime2,
16
16
  messageFtsOrdinalRangeIsMapped2,
17
17
  deleteUnmappedMessageFtsRows2
18
- } from "./index-b1ydbp95.js";
18
+ } from "./index-h9m41624.js";
19
19
  import {
20
20
  logSlowWriteTransaction
21
21
  } from "./index-fxbk7gk3.js";
@@ -7,15 +7,15 @@ import {
7
7
  import {
8
8
  isSynapseEmbeddingTruncated,
9
9
  SynapseEmbeddingProvider
10
- } from "./index-g4t7850m.js";
10
+ } from "./index-dj2p8653.js";
11
11
  import {
12
12
  LocalEmbeddingProvider
13
- } from "./index-p6gs3xpx.js";
13
+ } from "./index-hkh8x221.js";
14
14
  import {
15
15
  OpenAICompatibleEmbeddingProvider,
16
16
  getProjectEmbeddingSnapshot2,
17
17
  embedBatchForProject2
18
- } from "./index-rhcwddn9.js";
18
+ } from "./index-s79g172v.js";
19
19
  import {
20
20
  isEmbeddingHostBusy2
21
21
  } from "./index-qt1qqasc.js";
@@ -3,18 +3,18 @@ import {
3
3
  } from "./index-jrfre9ah.js";
4
4
  import {
5
5
  clearEmergencyRecovery
6
- } from "./index-1j8m4ad0.js";
6
+ } from "./index-wwg1je98.js";
7
7
  import {
8
8
  requestPendingMaterialization,
9
9
  dropSlot
10
- } from "./index-dasvhxwg.js";
10
+ } from "./index-jwa5t1s4.js";
11
11
  import {
12
12
  executeContextRecomp
13
- } from "./index-wapyeb06.js";
13
+ } from "./index-xejh7cqv.js";
14
14
  import {
15
15
  renderUserFacingFailure,
16
16
  userFacingFailureCode
17
- } from "./index-kgk64zyx.js";
17
+ } from "./index-sd2s4t4p.js";
18
18
 
19
19
  // src/hooks/magic-context/recomp-orchestrator.ts
20
20
  function resolveLiveModelKey(liveSessionState, sessionId) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  estimateTokens
3
- } from "./index-4xyjr62e.js";
3
+ } from "./index-ak11t3gm.js";
4
4
  import {
5
5
  getHarness2
6
6
  } from "./index-pavzsdc6.js";
@@ -191,7 +191,7 @@ import {
191
191
  snapRangeToCompartments,
192
192
  getActiveCompartmentRun,
193
193
  startCompartmentAgent
194
- } from "./index-wapyeb06.js";
194
+ } from "./index-xejh7cqv.js";
195
195
  import {
196
196
  hasTrustedAbsoluteWall,
197
197
  applyProvenInputFloor,
@@ -217,7 +217,7 @@ import {
217
217
  estimateTokens,
218
218
  estimateFixedPromptTokens,
219
219
  normalizeText
220
- } from "./index-4xyjr62e.js";
220
+ } from "./index-ak11t3gm.js";
221
221
  import {
222
222
  protectedToolTokenCount,
223
223
  peelLeadingMcTagNotation,
@@ -254,7 +254,7 @@ import {
254
254
  getTagsByNumbers2,
255
255
  getDroppedTagsByNumbers2,
256
256
  getMaxDroppedTagNumber2
257
- } from "./index-8jjjmhab.js";
257
+ } from "./index-gxqr0sbd.js";
258
258
  import {
259
259
  observeTemporalDecisions,
260
260
  stableStringify
@@ -285,7 +285,7 @@ import {
285
285
  extractInMemoryMessageViews2,
286
286
  buildInMemoryTailRawMessages2,
287
287
  RawOrdinalsNotReady2
288
- } from "./index-r2epb000.js";
288
+ } from "./index-xa9mmq6c.js";
289
289
  import {
290
290
  openCodeDbExists,
291
291
  withReadOnlySessionDb,
@@ -293,7 +293,7 @@ import {
293
293
  latestPersistedMessageForRecovery,
294
294
  latestRealUserTurnIdFromOpenCodeDb,
295
295
  findLastAssistantModelFromOpenCodeDb
296
- } from "./index-vd2ywmfe.js";
296
+ } from "./index-brj6was5.js";
297
297
  import {
298
298
  askAnswerLines,
299
299
  estimateTrueRawMessageTokens,
@@ -416,11 +416,11 @@ import {
416
416
  readRawSessionMessageById2,
417
417
  readSessionChunk2,
418
418
  readRawSessionSeedTail2
419
- } from "./index-1j8m4ad0.js";
419
+ } from "./index-wwg1je98.js";
420
420
  import {
421
421
  BoundedSessionMap,
422
422
  getMeasuredToolDefinitionTokens
423
- } from "./index-jkanybgq.js";
423
+ } from "./index-smtbdmc3.js";
424
424
  import {
425
425
  isFailClosedBlockingError,
426
426
  shouldBypassFailClosedBlock,
@@ -446,7 +446,7 @@ import {
446
446
  runSqliteOptimize,
447
447
  openDatabase,
448
448
  openCurrentDatabase
449
- } from "./index-6qnhaaa0.js";
449
+ } from "./index-z8dacvkt.js";
450
450
  import {
451
451
  unescapeXml,
452
452
  resolveWorkspaceShareCategories,
@@ -477,7 +477,7 @@ import {
477
477
  toSynapseLaneDescriptor,
478
478
  formatSynapseLaneDescriptor,
479
479
  SynapseEmbeddingProvider
480
- } from "./index-g4t7850m.js";
480
+ } from "./index-dj2p8653.js";
481
481
  import {
482
482
  getCompartments,
483
483
  getLastCompartmentEndMessage,
@@ -555,10 +555,10 @@ import {
555
555
  GLOBAL_USER_PROFILE_PROJECT_PATH,
556
556
  getProjectState,
557
557
  bumpProjectUserProfileVersion
558
- } from "./index-dasvhxwg.js";
558
+ } from "./index-jwa5t1s4.js";
559
559
  import {
560
560
  getLastIndexedOrdinal
561
- } from "./index-m1mttf6y.js";
561
+ } from "./index-bzq05g00.js";
562
562
  import {
563
563
  SESSION_NOTE_CONDITION_ERROR,
564
564
  getNoteByIdInScope,
@@ -596,8 +596,9 @@ import {
596
596
  getCachedLocalEmbeddingPooling,
597
597
  preflightLocalEmbeddingPooling,
598
598
  getLocalEmbeddingNativeMemoryStats
599
- } from "./index-p6gs3xpx.js";
599
+ } from "./index-hkh8x221.js";
600
600
  import {
601
+ withQueryEmbeddingDeadline,
601
602
  describeShadowBackfillWriteRefusal2,
602
603
  markProjectLoadUntrusted2,
603
604
  drainProjectEmbeddingIdentityMaintenance2,
@@ -616,7 +617,7 @@ import {
616
617
  embedSessionCompartmentChunks2,
617
618
  getEmbeddingCoverageStatus2,
618
619
  getAutoEmbeddingSessionCoverage2
619
- } from "./index-rhcwddn9.js";
620
+ } from "./index-s79g172v.js";
620
621
  import {
621
622
  saveEmbeddingIfHashMatches,
622
623
  invalidateProject2,
@@ -624,7 +625,7 @@ import {
624
625
  } from "./index-4dhv7mqz.js";
625
626
  import {
626
627
  cosineSimilarity
627
- } from "./index-66qexmjw.js";
628
+ } from "./index-d4qw2h43.js";
628
629
  import {
629
630
  computeCueContentHash,
630
631
  hasMuralCueColumns,
@@ -670,7 +671,7 @@ import {
670
671
  readGitFileChangeTimesSince,
671
672
  verificationFileExists,
672
673
  normalizeVerificationFiles
673
- } from "./index-kgk64zyx.js";
674
+ } from "./index-sd2s4t4p.js";
674
675
  import {
675
676
  renderSingleStoreMigrationRequiredRefusal,
676
677
  SingleStoreMigrationRequiredError,
@@ -691,23 +692,23 @@ import {
691
692
  resolveMemoriesByIdsForSearch2,
692
693
  unifiedSearch2,
693
694
  formatSearchResults2
694
- } from "./index-v64se1t6.js";
695
+ } from "./index-980brvjr.js";
695
696
  import {
696
697
  scheduleReconciliation,
697
698
  scheduleIncrementalIndex,
698
699
  getMessageIndexQueueHeapStats,
699
700
  clearSessionTracking
700
- } from "./index-91y4xvx6.js";
701
+ } from "./index-tvd2j34s.js";
701
702
  import {
702
703
  flushIgnoredMessages2,
703
704
  clearIgnoredMessages2,
704
705
  observeIgnoredNotificationEvent2,
705
706
  sendStatusNotification2
706
- } from "./index-ae1ar4v1.js";
707
+ } from "./index-25ka1jza.js";
707
708
  import {
708
709
  setRecompStarting2,
709
710
  setRecompTerminal2
710
- } from "./index-24y47287.js";
711
+ } from "./index-dcdvyaeh.js";
711
712
  import {
712
713
  makeToolCompositeKey,
713
714
  searchMessageHistoryOffThread,
@@ -772,7 +773,7 @@ import {
772
773
  abortSessionFailClosed2,
773
774
  evaluateEmergencyFailClosed2,
774
775
  runPostTransformPhase2
775
- } from "./index-8w3y6pxc.js";
776
+ } from "./index-0a79y98x.js";
776
777
  import {
777
778
  ANNOUNCEMENT_VERSION2,
778
779
  ANNOUNCEMENT_FEATURES2,
@@ -787,13 +788,13 @@ import {
787
788
  renderMessageByOrdinal2,
788
789
  renderVerboseRangeForTool2,
789
790
  renderItemByTag2
790
- } from "./index-knnscj54.js";
791
+ } from "./index-gf1vx3bn.js";
791
792
  import {
792
793
  readV2ArchiveOffThread2
793
- } from "./index-7y8c2n52.js";
794
+ } from "./index-7na94cjf.js";
794
795
  import {
795
796
  renderSearchArchiveOffThread2
796
- } from "./index-g0mjm7e4.js";
797
+ } from "./index-rk5hyc41.js";
797
798
  import {
798
799
  COMPACTION_ENABLED_PATH,
799
800
  isDreamerRunnable,
@@ -16403,8 +16404,8 @@ function registerRpcHandlers(rpcServer, args) {
16403
16404
  const db = readDatabase();
16404
16405
  if (!db)
16405
16406
  return { ok: false, error: "db unavailable" };
16406
- const { runManagedRecomp } = await importPluginModule(() => import("./recomp-orchestrator-9wtcpd7d.js"));
16407
- const { sendIgnoredMessage } = await importPluginModule(() => import("./send-session-notification-14p3yje4.js"));
16407
+ const { runManagedRecomp } = await importPluginModule(() => import("./recomp-orchestrator-y75thsc3.js"));
16408
+ const { sendIgnoredMessage } = await importPluginModule(() => import("./send-session-notification-j93pn2hn.js"));
16408
16409
  log2(`[rpc] recomp requested for session ${sessionId}`);
16409
16410
  if (!args.client && !args.hiddenCompletionExecutor) {
16410
16411
  return {
@@ -16488,7 +16489,7 @@ function registerRpcHandlers(rpcServer, args) {
16488
16489
  const db = readDatabase();
16489
16490
  if (!db)
16490
16491
  return { ok: false, error: "db unavailable" };
16491
- const { runManagedWrapup } = await importPluginModule(() => import("./wrapup-orchestrator-qxvbvr4r.js"));
16492
+ const { runManagedWrapup } = await importPluginModule(() => import("./wrapup-orchestrator-r5cqgyrg.js"));
16492
16493
  const model = liveSessionState.liveModelBySession.get(sessionId);
16493
16494
  const contextLimit = model ? resolveContextLimit(model.providerID, model.modelID, { db, sessionID: sessionId }) : 128000;
16494
16495
  const ctx = {
@@ -29206,10 +29207,7 @@ function createCtxSearchTool(deps) {
29206
29207
  limit: normalizeLimit2(args.limit),
29207
29208
  memoryEnabled,
29208
29209
  embeddingEnabled,
29209
- embedQuery: async (text, signal) => {
29210
- const result = await embedTextForProject2(projectPath, text, signal, "query");
29211
- return result;
29212
- },
29210
+ embedQuery: (text, signal) => withQueryEmbeddingDeadline((embeddingSignal) => embedTextForProject2(projectPath, text, embeddingSignal, "query"), signal),
29213
29211
  isEmbeddingRuntimeEnabled: () => embeddingEnabled === true,
29214
29212
  readMessages: deps.readMessages,
29215
29213
  maxMessageOrdinal: messageOrdinalCutoff,
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  estimateTokens
3
- } from "./index-4xyjr62e.js";
3
+ } from "./index-ak11t3gm.js";
4
4
  import {
5
5
  expandToolPart,
6
6
  visitRawSessionMessages2,
7
7
  readRawSessionMessageById2
8
- } from "./index-1j8m4ad0.js";
8
+ } from "./index-wwg1je98.js";
9
9
  import {
10
10
  getTagById2
11
- } from "./index-8jjjmhab.js";
11
+ } from "./index-gxqr0sbd.js";
12
12
 
13
13
  // src/tools/ctx-expand/render.ts
14
14
  import { createHash } from "node:crypto";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./index-1zx87sdm.js";
5
5
  import {
6
6
  estimateTokens
7
- } from "./index-4xyjr62e.js";
7
+ } from "./index-ak11t3gm.js";
8
8
  import {
9
9
  getHarness2
10
10
  } from "./index-pavzsdc6.js";
@@ -5,7 +5,7 @@ import {
5
5
  } from "./index-gzy5w8ya.js";
6
6
  import {
7
7
  runSessionWarmupWorker
8
- } from "./index-r2epb000.js";
8
+ } from "./index-xa9mmq6c.js";
9
9
  import {
10
10
  logSlowWriteTransaction
11
11
  } from "./index-fxbk7gk3.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./index-4dpvnp8k.js";
4
4
  import {
5
5
  getSynapseLaneIdentity
6
- } from "./index-g4t7850m.js";
6
+ } from "./index-dj2p8653.js";
7
7
  import {
8
8
  getHarness2
9
9
  } from "./index-pavzsdc6.js";
@@ -28,10 +28,10 @@ import {
28
28
  } from "./index-gzy5w8ya.js";
29
29
  import {
30
30
  deleteUnmappedMessageFtsRows2
31
- } from "./index-b1ydbp95.js";
31
+ } from "./index-h9m41624.js";
32
32
  import {
33
33
  deleteChunkEmbedBackoffForSession2
34
- } from "./index-dcjkw41m.js";
34
+ } from "./index-qcz1fy7h.js";
35
35
  import {
36
36
  isPidAlive,
37
37
  readProcessStartTime
@@ -63,19 +63,19 @@ import {
63
63
  serializeProcessedImageMarkers,
64
64
  getPendingPiCompactionMarkerState,
65
65
  logPiCompactionMarkerClear
66
- } from "./index-1j8m4ad0.js";
66
+ } from "./index-wwg1je98.js";
67
67
  import {
68
68
  stripTagPrefix,
69
69
  isRecord,
70
70
  providerVisibleMessage
71
- } from "./index-8jjjmhab.js";
71
+ } from "./index-gxqr0sbd.js";
72
72
  import {
73
73
  withReadOnlySessionDb
74
- } from "./index-vd2ywmfe.js";
74
+ } from "./index-brj6was5.js";
75
75
  import {
76
76
  BoundedSessionMap,
77
77
  getMeasuredToolDefinitionTokens
78
- } from "./index-jkanybgq.js";
78
+ } from "./index-smtbdmc3.js";
79
79
  import {
80
80
  layoutLkgPrefix,
81
81
  assembleLkgPrefix
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTokenEstimatorFingerprint,
3
3
  estimateTokens
4
- } from "./index-4xyjr62e.js";
4
+ } from "./index-ak11t3gm.js";
5
5
  import {
6
6
  getHarness2
7
7
  } from "./index-pavzsdc6.js";
@@ -10,10 +10,10 @@ import {
10
10
  } from "./index-jrfre9ah.js";
11
11
  import {
12
12
  isSynapseEmbeddingTruncated
13
- } from "./index-g4t7850m.js";
13
+ } from "./index-dj2p8653.js";
14
14
  import {
15
15
  messageFtsOrdinalRangeIsMapped2
16
- } from "./index-b1ydbp95.js";
16
+ } from "./index-h9m41624.js";
17
17
  import {
18
18
  isKnownAutocommit
19
19
  } from "./index-8ajstryz.js";
@@ -8,7 +8,7 @@ import {
8
8
  releaseCompartmentLeaseBestEffort,
9
9
  getCompartments,
10
10
  getLastCompartmentEndMessage
11
- } from "./index-dasvhxwg.js";
11
+ } from "./index-jwa5t1s4.js";
12
12
  import {
13
13
  inRootAsyncContext2
14
14
  } from "./index-gzy5w8ya.js";
@@ -20,7 +20,7 @@ import {
20
20
  getHistorianFailureState,
21
21
  clearEmergencyRecovery,
22
22
  prepareRawSessionOrdinals2
23
- } from "./index-1j8m4ad0.js";
23
+ } from "./index-wwg1je98.js";
24
24
  import {
25
25
  pushNotification2
26
26
  } from "./index-x8a7jmkh.js";
@@ -32,14 +32,14 @@ import {
32
32
  getActiveCompartmentRun,
33
33
  markActiveCompartmentRunPublished,
34
34
  registerActiveCompartmentRun
35
- } from "./index-wapyeb06.js";
35
+ } from "./index-xejh7cqv.js";
36
36
  import {
37
37
  sendStatusNotification2
38
- } from "./index-ae1ar4v1.js";
38
+ } from "./index-25ka1jza.js";
39
39
  import {
40
40
  setRecompStarting2,
41
41
  setRecompTerminal2
42
- } from "./index-24y47287.js";
42
+ } from "./index-dcdvyaeh.js";
43
43
 
44
44
  // src/hooks/magic-context/wrapup-orchestrator.ts
45
45
  import * as crypto from "node:crypto";
@@ -6,23 +6,23 @@ import {
6
6
  } from "./index-gzy5w8ya.js";
7
7
  import {
8
8
  runSessionWarmupWorker
9
- } from "./index-r2epb000.js";
9
+ } from "./index-xa9mmq6c.js";
10
10
  import {
11
11
  estimateTokens
12
- } from "./index-4xyjr62e.js";
12
+ } from "./index-ak11t3gm.js";
13
13
  import {
14
14
  openCodeDbExists,
15
15
  withReadOnlySessionDb
16
- } from "./index-vd2ywmfe.js";
16
+ } from "./index-brj6was5.js";
17
17
  import {
18
18
  hasRawMessageProvider2,
19
19
  rawMessageWorkerSource2,
20
20
  rawMessageOffThreadRangeReader2,
21
21
  readRawSessionMessageIdOrdinalsForRange2
22
- } from "./index-1j8m4ad0.js";
22
+ } from "./index-wwg1je98.js";
23
23
  import {
24
24
  readV2ArchiveOffThread2
25
- } from "./index-7y8c2n52.js";
25
+ } from "./index-7na94cjf.js";
26
26
 
27
27
  // src/tools/ctx-expand/search-archive.ts
28
28
  var archiveReadsOnThisThread = 0;