@cortexkit/opencode-magic-context 0.48.0 → 0.49.0

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 (203) hide show
  1. package/dist/auto-search-worker.js +3 -3
  2. package/dist/{conflict-warning-hook-w8cykrnf.js → conflict-warning-hook-kzx4dmk1.js} +7 -7
  3. package/dist/{context-m0cy262m.js → context-nj5f293n.js} +96 -43
  4. package/dist/{derive-budgets-sg0xsq7s.js → derive-budgets-qz5rrr08.js} +2 -2
  5. package/dist/embedding-backfill-aetxv1vt.js +21 -0
  6. package/dist/embedding-worker.js +4 -4
  7. package/dist/features/magic-context/git-commits/search-git-commits.d.ts +2 -0
  8. package/dist/features/magic-context/git-commits/search-git-commits.d.ts.map +1 -1
  9. package/dist/features/magic-context/message-index.d.ts.map +1 -1
  10. package/dist/features/magic-context/pi-content-decisions.d.ts +1 -1
  11. package/dist/features/magic-context/pi-content-decisions.d.ts.map +1 -1
  12. package/dist/features/magic-context/search-rerank.d.ts +35 -0
  13. package/dist/features/magic-context/search-rerank.d.ts.map +1 -0
  14. package/dist/features/magic-context/search.d.ts +11 -0
  15. package/dist/features/magic-context/search.d.ts.map +1 -1
  16. package/dist/features/magic-context/storage-meta-persisted.d.ts +13 -2
  17. package/dist/features/magic-context/storage-meta-persisted.d.ts.map +1 -1
  18. package/dist/features/magic-context/storage-meta-session.d.ts +1 -1
  19. package/dist/features/magic-context/storage-meta-session.d.ts.map +1 -1
  20. package/dist/features/magic-context/storage-meta.d.ts +1 -1
  21. package/dist/features/magic-context/storage-meta.d.ts.map +1 -1
  22. package/dist/features/magic-context/storage-session-tables.d.ts +2 -0
  23. package/dist/features/magic-context/storage-session-tables.d.ts.map +1 -1
  24. package/dist/features/magic-context/storage-tag-identity-revision.d.ts +29 -9
  25. package/dist/features/magic-context/storage-tag-identity-revision.d.ts.map +1 -1
  26. package/dist/features/magic-context/storage-tags.d.ts +9 -0
  27. package/dist/features/magic-context/storage-tags.d.ts.map +1 -1
  28. package/dist/features/magic-context/storage.d.ts +1 -1
  29. package/dist/features/magic-context/storage.d.ts.map +1 -1
  30. package/dist/features/magic-context/tagger.d.ts +2 -0
  31. package/dist/features/magic-context/tagger.d.ts.map +1 -1
  32. package/dist/features/magic-context/transform-decision-log.d.ts +3 -0
  33. package/dist/features/magic-context/transform-decision-log.d.ts.map +1 -1
  34. package/dist/hooks/magic-context/auto-search-deadline.d.ts.map +1 -1
  35. package/dist/hooks/magic-context/auto-search-replay.fixture.d.ts +24 -0
  36. package/dist/hooks/magic-context/auto-search-replay.fixture.d.ts.map +1 -0
  37. package/dist/hooks/magic-context/auto-search-runner.d.ts +1 -1
  38. package/dist/hooks/magic-context/auto-search-runner.d.ts.map +1 -1
  39. package/dist/hooks/magic-context/auto-search-worker-client.d.ts +2 -0
  40. package/dist/hooks/magic-context/auto-search-worker-client.d.ts.map +1 -1
  41. package/dist/hooks/magic-context/command-handler.d.ts +2 -0
  42. package/dist/hooks/magic-context/command-handler.d.ts.map +1 -1
  43. package/dist/hooks/magic-context/emergency-fail-closed.d.ts +28 -0
  44. package/dist/hooks/magic-context/emergency-fail-closed.d.ts.map +1 -1
  45. package/dist/hooks/magic-context/event-handler.d.ts.map +1 -1
  46. package/dist/hooks/magic-context/historian-host-runner.d.ts +8 -0
  47. package/dist/hooks/magic-context/historian-host-runner.d.ts.map +1 -1
  48. package/dist/hooks/magic-context/hook.d.ts +2 -1
  49. package/dist/hooks/magic-context/hook.d.ts.map +1 -1
  50. package/dist/hooks/magic-context/inject-compartments.d.ts.map +1 -1
  51. package/dist/hooks/magic-context/latest-thinking-recovery.d.ts +7 -0
  52. package/dist/hooks/magic-context/latest-thinking-recovery.d.ts.map +1 -1
  53. package/dist/hooks/magic-context/lkg-slot.d.ts.map +1 -1
  54. package/dist/hooks/magic-context/pass-outcome.d.ts +1 -0
  55. package/dist/hooks/magic-context/pass-outcome.d.ts.map +1 -1
  56. package/dist/hooks/magic-context/read-session-chunk.d.ts +7 -1
  57. package/dist/hooks/magic-context/read-session-chunk.d.ts.map +1 -1
  58. package/dist/hooks/magic-context/read-session-raw.d.ts +35 -0
  59. package/dist/hooks/magic-context/read-session-raw.d.ts.map +1 -1
  60. package/dist/hooks/magic-context/rust-mode-transform.d.ts +36 -0
  61. package/dist/hooks/magic-context/rust-mode-transform.d.ts.map +1 -1
  62. package/dist/hooks/magic-context/shared-compartment-boundaries.d.ts +8 -1
  63. package/dist/hooks/magic-context/shared-compartment-boundaries.d.ts.map +1 -1
  64. package/dist/hooks/magic-context/strict-thinking-prefix.d.ts +8 -0
  65. package/dist/hooks/magic-context/strict-thinking-prefix.d.ts.map +1 -0
  66. package/dist/hooks/magic-context/tag-messages.d.ts.map +1 -1
  67. package/dist/hooks/magic-context/transform-postprocess-phase.d.ts +13 -0
  68. package/dist/hooks/magic-context/transform-postprocess-phase.d.ts.map +1 -1
  69. package/dist/hooks/magic-context/transform.d.ts +1 -0
  70. package/dist/hooks/magic-context/transform.d.ts.map +1 -1
  71. package/dist/{index-db7zwa3v.js → index-1bt88epp.js} +93 -9
  72. package/dist/{index-f0h6xwqm.js → index-1g30axtz.js} +229 -67
  73. package/dist/{index-k1xb52kd.js → index-1r0k9js3.js} +5 -5
  74. package/dist/{index-692jzy0p.js → index-2jcbj7r1.js} +122 -371
  75. package/dist/{index-bdckkfw6.js → index-2jgwttpt.js} +16 -8
  76. package/dist/{index-2y0s2hep.js → index-4mjhqadz.js} +1 -1
  77. package/dist/{index-pdecwzrd.js → index-57mrqed8.js} +1 -1
  78. package/dist/{index-ty64eqcn.js → index-9qjqq45k.js} +3 -3
  79. package/dist/{index-yq8n9qcb.js → index-9rt53q79.js} +4 -4
  80. package/dist/{index-pg50n748.js → index-b7mv1jx3.js} +4 -4
  81. package/dist/{index-mmyh6d8f.js → index-ezmszwbd.js} +6 -4
  82. package/dist/{index-fbv1dn35.js → index-gzcmtmar.js} +1 -1
  83. package/dist/{index-0an7742d.js → index-h2py7207.js} +549 -973
  84. package/dist/{index-0qhce371.js → index-h2wc01qk.js} +2 -2
  85. package/dist/{index-dhwzyd54.js → index-h5zfkjyk.js} +160 -25
  86. package/dist/{index-q2tqeqde.js → index-ha87j7a8.js} +1229 -78
  87. package/dist/{index-14cjxt20.js → index-hj2q50k0.js} +45 -8
  88. package/dist/{index-cb7emxgj.js → index-kmpvemph.js} +336 -6
  89. package/dist/{index-c43kr12f.js → index-kp5qe690.js} +7 -7
  90. package/dist/{index-bhvjj0ys.js → index-kq57tdf0.js} +2 -2
  91. package/dist/{index-7mx8v0pw.js → index-nm6a8xpd.js} +4 -4
  92. package/dist/{index-8j7gqj40.js → index-nsjyysj0.js} +6 -2
  93. package/dist/{index-k9nnwad5.js → index-nydv6g8r.js} +44 -7
  94. package/dist/{index-5zygecde.js → index-peshmj6h.js} +4 -4
  95. package/dist/{index-knh4y330.js → index-pxwp2hjk.js} +7 -2
  96. package/dist/{index-1qb0z7wa.js → index-qx53vezw.js} +1 -1
  97. package/dist/{index-q7h7csab.js → index-s4j7t92z.js} +9 -9
  98. package/dist/{index-z8e0psj8.js → index-stbr4ce6.js} +3 -3
  99. package/dist/{index-jcbd3znx.js → index-tqf7yg27.js} +1 -1
  100. package/dist/{index-72nhv486.js → index-vkbqdnkj.js} +2 -2
  101. package/dist/{index-eeezr5zz.js → index-z1tjp257.js} +1 -1
  102. package/dist/index.d.ts.map +1 -1
  103. package/dist/index.js +61 -44
  104. package/dist/{logger-d3wex3dz.js → logger-ewak5q1s.js} +1 -1
  105. package/dist/{message-index-bounded-7ezbgddp.js → message-index-bounded-h0mrd4pr.js} +13 -13
  106. package/dist/{message-time-backfill-brbd63hv.js → message-time-backfill-8x06r9kx.js} +2 -2
  107. package/dist/migration-worker.js +9 -9
  108. package/dist/plugin/hooks/create-session-hooks.d.ts +2 -0
  109. package/dist/plugin/hooks/create-session-hooks.d.ts.map +1 -1
  110. package/dist/plugin/tool-registry.d.ts.map +1 -1
  111. package/dist/{project-embedding-registry-7qzptcw7.js → project-embedding-registry-rtt0djyb.js} +9 -9
  112. package/dist/raw-ordinal-warmup-worker.js +4 -4
  113. package/dist/{read-session-chunk-6k83m4fj.js → read-session-chunk-ty89v75e.js} +10 -8
  114. package/dist/{read-session-raw-3g9qy1xa.js → read-session-raw-8sjbc9h0.js} +5 -3
  115. package/dist/{recomp-orchestrator-d3fp1cy0.js → recomp-orchestrator-4f1yyd1q.js} +25 -25
  116. package/dist/{safe-notification-target-5ffqq32m.js → safe-notification-target-q0cyrx3x.js} +2 -2
  117. package/dist/{search-epax1ecv.js → search-pz4f4wge.js} +20 -20
  118. package/dist/{send-session-notification-erecz4y4.js → send-session-notification-38cd5dqt.js} +5 -5
  119. package/dist/shared/auto-search-lifecycle.d.ts +14 -0
  120. package/dist/shared/auto-search-lifecycle.d.ts.map +1 -1
  121. package/dist/shared/logger.d.ts.map +1 -1
  122. package/dist/shared/models-dev-temperature.d.ts +18 -0
  123. package/dist/shared/models-dev-temperature.d.ts.map +1 -0
  124. package/dist/shared/project-directory-key.d.ts +16 -0
  125. package/dist/shared/project-directory-key.d.ts.map +1 -1
  126. package/dist/shared/subagent-temperature.d.ts +46 -0
  127. package/dist/shared/subagent-temperature.d.ts.map +1 -0
  128. package/dist/{storage-tags-d3b0v2ss.js → storage-tags-k0pda32s.js} +6 -4
  129. package/dist/tools/ctx-reduce/tools.d.ts.map +1 -1
  130. package/dist/tools/ctx-search/tools.d.ts.map +1 -1
  131. package/dist/tools/ctx-search/types.d.ts +1 -0
  132. package/dist/tools/ctx-search/types.d.ts.map +1 -1
  133. package/dist/{transform-postprocess-phase-spcy2qre.js → transform-postprocess-phase-tck4g20s.js} +25 -25
  134. package/dist/v2/auto-search-worker.js +3 -3
  135. package/dist/v2/{context-sf98kstd.js → context-crbt6p1y.js} +809 -1052
  136. package/dist/v2/{derive-budgets-3vc0y84t.js → derive-budgets-fgej9j46.js} +3 -3
  137. package/dist/v2/embedding-backfill-ph1qfyn3.js +21 -0
  138. package/dist/v2/embedding-worker.js +4 -4
  139. package/dist/v2/hidden-child-native.d.ts.map +1 -1
  140. package/dist/v2/hidden-completion.d.ts +7 -0
  141. package/dist/v2/hidden-completion.d.ts.map +1 -1
  142. package/dist/v2/hooks/context.d.ts.map +1 -1
  143. package/dist/v2/hooks/dream-trigger.d.ts +4 -1
  144. package/dist/v2/hooks/dream-trigger.d.ts.map +1 -1
  145. package/dist/v2/hooks/generate.d.ts +9 -2
  146. package/dist/v2/hooks/generate.d.ts.map +1 -1
  147. package/dist/v2/{logger-mxd0ym09.js → logger-pj02s7sr.js} +1 -1
  148. package/dist/v2/{message-index-bounded-dy3s2k1e.js → message-index-bounded-xwqdywxg.js} +13 -13
  149. package/dist/v2/{message-time-backfill-gtx1pwk1.js → message-time-backfill-cje68egj.js} +2 -2
  150. package/dist/v2/migration-worker.js +9 -9
  151. package/dist/v2/{project-embedding-registry-1tgba5dv.js → project-embedding-registry-d6m7tyxr.js} +9 -9
  152. package/dist/v2/raw-ordinal-warmup-worker.js +4 -4
  153. package/dist/v2/{read-session-chunk-rh4khdkv.js → read-session-chunk-8p5mdryx.js} +10 -8
  154. package/dist/v2/{read-session-raw-bsbmf0vj.js → read-session-raw-j8dvp7f4.js} +5 -3
  155. package/dist/v2/{recomp-orchestrator-az61rfcg.js → recomp-orchestrator-ckfgt6wq.js} +26 -26
  156. package/dist/v2/{safe-notification-target-73ax1p5v.js → safe-notification-target-y3p1hce9.js} +2 -2
  157. package/dist/v2/{search-nzkwrc6n.js → search-ym8rehhz.js} +20 -20
  158. package/dist/v2/{send-session-notification-6km439kn.js → send-session-notification-5m0yapqx.js} +5 -5
  159. package/dist/v2/{server-x2g40a71.js → server-19zjmn02.js} +2 -2
  160. package/dist/v2/{server-sggvvzhb.js → server-1tk82krw.js} +45 -8
  161. package/dist/v2/{server-vqpf3167.js → server-2s6ayq3t.js} +2 -2
  162. package/dist/v2/{server-z2037m6z.js → server-2s9qz6n7.js} +2 -2
  163. package/dist/v2/{server-k228xhjg.js → server-3j4d00kf.js} +1 -1
  164. package/dist/v2/{server-aan4q8mx.js → server-3t0q2cqx.js} +1 -1
  165. package/dist/v2/{server-2fbhp79z.js → server-4ez8mntn.js} +16 -8
  166. package/dist/v2/{server-zxhgvsf9.js → server-676xw7at.js} +1 -1
  167. package/dist/v2/{server-52awr2mw.js → server-6byqfbqf.js} +93 -9
  168. package/dist/v2/{server-qye6ykf7.js → server-7ekna9zs.js} +2 -2
  169. package/dist/v2/{server-g5r0n3b6.js → server-7h861yms.js} +160 -25
  170. package/dist/v2/{server-v06jcv0w.js → server-8k2agx29.js} +1 -1
  171. package/dist/v2/{server-686jg6eb.js → server-c5rrgrcd.js} +44 -7
  172. package/dist/v2/{server-4k748ke6.js → server-hb6xhh9q.js} +2 -2
  173. package/dist/v2/{server-7wwc2nga.js → server-jvxzm1jy.js} +7 -7
  174. package/dist/v2/{server-1r6pmz4f.js → server-kzns2hbz.js} +1 -1
  175. package/dist/v2/{server-xdfwt6kh.js → server-pj4pjv02.js} +2 -2
  176. package/dist/v2/{server-psqc7e9n.js → server-q4ph9bwn.js} +1227 -78
  177. package/dist/v2/{server-8pyt7hev.js → server-sa8jvrfc.js} +9 -9
  178. package/dist/v2/{server-ezhze64f.js → server-ss95ky04.js} +4 -4
  179. package/dist/v2/{server-5m3dt5r1.js → server-t4k4qexw.js} +6 -2
  180. package/dist/v2/{server-e0vdaae2.js → server-v4mewb78.js} +4 -4
  181. package/dist/v2/{server-gjcr4w98.js → server-w32kmdez.js} +4 -4
  182. package/dist/v2/{server-k8x2rbxc.js → server-x4hscabv.js} +119 -365
  183. package/dist/v2/{server-yczc713m.js → server-xwz4dqh9.js} +7 -2
  184. package/dist/v2/{server-xxm59eww.js → server-ycw9qqcy.js} +4 -4
  185. package/dist/v2/{server-8tqanswc.js → server-zp53y8js.js} +331 -4
  186. package/dist/v2/server.js +4 -4
  187. package/dist/v2/{storage-tags-w4tv77sn.js → storage-tags-8vw924zn.js} +6 -4
  188. package/dist/v2/store-reader.d.ts +8 -2
  189. package/dist/v2/store-reader.d.ts.map +1 -1
  190. package/dist/v2/{wrapup-orchestrator-mz7efs7w.js → wrapup-orchestrator-a7efxaax.js} +26 -26
  191. package/dist/wrapup-orchestrator-barbc6h9.js +44 -0
  192. package/package.json +1 -1
  193. package/src/shared/auto-search-lifecycle.ts +43 -0
  194. package/src/shared/logger.test.ts +38 -0
  195. package/src/shared/logger.ts +10 -2
  196. package/src/shared/models-dev-temperature.ts +107 -0
  197. package/src/shared/project-directory-key.test.ts +59 -0
  198. package/src/shared/project-directory-key.ts +20 -0
  199. package/src/shared/subagent-temperature.test.ts +270 -0
  200. package/src/shared/subagent-temperature.ts +110 -0
  201. package/dist/embedding-backfill-9rcm1mfy.js +0 -21
  202. package/dist/v2/embedding-backfill-vn8g1nh1.js +0 -21
  203. package/dist/wrapup-orchestrator-amzta1t4.js +0 -44
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getMagicContextStorageDir,
3
3
  log2
4
- } from "./server-5m3dt5r1.js";
4
+ } from "./server-t4k4qexw.js";
5
5
  import {
6
6
  writeStorageFileAtomicSync
7
7
  } from "./server-1bc61ans.js";
@@ -28,6 +28,11 @@ function projectDirectoryKey(directory) {
28
28
  }
29
29
  return path.resolve(directory);
30
30
  }
31
+ function sameProjectDirectory(a, b) {
32
+ if (a.length === 0 || b.length === 0)
33
+ return false;
34
+ return projectDirectoryKey(a) === projectDirectoryKey(b);
35
+ }
31
36
  var realpathForCanonicalDirectory = (directory) => realpathSync.native(directory);
32
37
  function canonicalProjectDirectory(directory) {
33
38
  let resolved = directory;
@@ -561,4 +566,4 @@ function setBootQuietPeriodForTests(startAtMs) {
561
566
  bootQuietUntilMs = startAtMs === null ? 0 : startAtMs + BOOT_QUIET_MS;
562
567
  }
563
568
 
564
- export { canonicalProjectDirectory, setHomeProjectPermission, shouldSkipHomeProjectMemory, ProjectIdentityError, takeDubiousOwnershipProjectIdentityWarning, isUserHomeDirectory, resolveProjectIdentity, directoryHasGitMetadata, describeUnresolvedProjectIdentity, isUsableProjectIdentity, resolveProjectIdentityForSession, normalizeStoredProjectPath, storedPathBelongsToIdentity, beginBootQuietPeriod, bootQuietRemainingMs, scheduleAfterBootQuiet, setBootQuietPeriodForTests };
569
+ export { sameProjectDirectory, canonicalProjectDirectory, setHomeProjectPermission, shouldSkipHomeProjectMemory, ProjectIdentityError, takeDubiousOwnershipProjectIdentityWarning, isUserHomeDirectory, resolveProjectIdentity, directoryHasGitMetadata, describeUnresolvedProjectIdentity, isUsableProjectIdentity, resolveProjectIdentityForSession, normalizeStoredProjectPath, storedPathBelongsToIdentity, beginBootQuietPeriod, bootQuietRemainingMs, scheduleAfterBootQuiet, setBootQuietPeriodForTests };
@@ -4,13 +4,13 @@ import {
4
4
  import {
5
5
  importPluginModule,
6
6
  sessionLog2
7
- } from "./server-5m3dt5r1.js";
7
+ } from "./server-t4k4qexw.js";
8
8
  import {
9
9
  isDefaultSessionTitle2
10
- } from "./server-zxhgvsf9.js";
10
+ } from "./server-676xw7at.js";
11
11
  import {
12
12
  shouldHoldIgnoredNotification
13
- } from "./server-xdfwt6kh.js";
13
+ } from "./server-pj4pjv02.js";
14
14
  import {
15
15
  getErrorMessage
16
16
  } from "./server-y8v6yerm.js";
@@ -142,7 +142,7 @@ async function sendIgnoredMessageNow(client, sessionId, text, params, forcePersi
142
142
  holdIgnoredNotification({ client, sessionId, text, params, forcePersist }, "during target checks");
143
143
  return "queued";
144
144
  }
145
- const { waitForSafeNotificationTarget } = await importPluginModule(() => import("./safe-notification-target-73ax1p5v.js"));
145
+ const { waitForSafeNotificationTarget } = await importPluginModule(() => import("./safe-notification-target-y3p1hce9.js"));
146
146
  if (await waitForSafeNotificationTarget(client, sessionId) === "skip") {
147
147
  sessionLog2(sessionId, "notification skipped (session not titled yet)");
148
148
  return "skipped";
@@ -9,14 +9,15 @@ import {
9
9
  CATEGORY_DEFAULT_TTL
10
10
  } from "./server-fr0wbhdn.js";
11
11
  import {
12
+ sanitizeDiagnosticText,
12
13
  sessionLog2
13
- } from "./server-5m3dt5r1.js";
14
+ } from "./server-t4k4qexw.js";
14
15
  import {
15
16
  managedAuthorityNoteRow
16
- } from "./server-e0vdaae2.js";
17
+ } from "./server-v4mewb78.js";
17
18
  import {
18
19
  embedTextForProject2
19
- } from "./server-7wwc2nga.js";
20
+ } from "./server-jvxzm1jy.js";
20
21
  import {
21
22
  saveEmbeddingIfHashMatches
22
23
  } from "./server-4dhv7mqz.js";
@@ -551,6 +552,332 @@ function updatePrimerSupport(db, input) {
551
552
  function updatePrimerAnswer(db, primerId, answer, refreshedAt = Date.now()) {
552
553
  db.prepare("UPDATE primers SET answer = ?, answer_refreshed_at = ?, updated_at = ? WHERE id = ?").run(answer, refreshedAt, refreshedAt, primerId);
553
554
  }
555
+
556
+ // src/shared/user-facing-codes.ts
557
+ var USER_FACING_FAILURES = {
558
+ historian_unavailable: {
559
+ code: "MC-H01",
560
+ sentence: "History compression could not finish this turn.",
561
+ action: "It will retry automatically."
562
+ },
563
+ historian_saved_history_misaligned: {
564
+ code: "MC-H03",
565
+ sentence: "History compression is paused because this session's saved summaries no longer line up with its messages.",
566
+ action: "Run /ctx-recomp to rebuild them."
567
+ },
568
+ history_boundary_unresolved: {
569
+ code: "MC-H04",
570
+ sentence: "This request was not sent: the message that marks where this session's history summary ends is missing from the OpenCode store, and without it the request is larger than the model's context window.",
571
+ action: "Run /ctx-recomp to rebuild the history summary."
572
+ },
573
+ history_over_window_unmanaged: {
574
+ code: "MC-H06",
575
+ sentence: "This request was not sent: this session's history is larger than the model's context window, and Magic Context does not have a summary of it yet to send in its place.",
576
+ action: "Send your message again once history compression has caught up, or switch to a model with a larger context window."
577
+ },
578
+ frozen_history_over_window: {
579
+ code: "MC-H07",
580
+ sentence: "This request was not sent: the conversation is larger than the context window the provider reported, and the compressed history Magic Context has ready does not fit either.",
581
+ action: "Run /ctx-flush to compress it now, then send your message again."
582
+ },
583
+ historian_window_too_small: {
584
+ code: "MC-H05",
585
+ sentence: "History compression is paused because the history model's context window is too small for its instructions.",
586
+ action: "Set historian.model in magic-context.jsonc to a model with a larger context window."
587
+ },
588
+ recomp_unavailable: {
589
+ code: "MC-R01",
590
+ sentence: "History compression could not be rebuilt.",
591
+ action: "Run /ctx-recomp again."
592
+ },
593
+ dream_provider_timeout: {
594
+ code: "MC-D01",
595
+ sentence: "Memory maintenance took too long to respond.",
596
+ action: "Run /ctx-dream again."
597
+ },
598
+ dream_provider_error: {
599
+ code: "MC-D02",
600
+ sentence: "Memory maintenance could not reach its model.",
601
+ action: "Check the model connection, then run /ctx-dream again."
602
+ },
603
+ dream_local_refusal: {
604
+ code: "MC-D12",
605
+ sentence: "Memory maintenance was refused before reaching the model.",
606
+ action: "Check the hidden-request diagnostic in the Magic Context log before retrying."
607
+ },
608
+ dream_step_limit: {
609
+ code: "MC-D10",
610
+ sentence: "Memory maintenance stopped at its hidden agent step limit.",
611
+ action: "This task needs less work per run; changing the model connection will not help."
612
+ },
613
+ dream_token_budget: {
614
+ code: "MC-D11",
615
+ sentence: "Memory maintenance reached its prompt-token budget.",
616
+ action: "The unfinished items will be retried on the next run."
617
+ },
618
+ dream_empty_completion: {
619
+ code: "MC-D03",
620
+ sentence: "Memory maintenance received no usable response.",
621
+ action: "Run /ctx-dream again."
622
+ },
623
+ dream_no_models: {
624
+ code: "MC-D04",
625
+ sentence: "Memory maintenance has no model available.",
626
+ action: "Check the model settings, then run /ctx-dream again."
627
+ },
628
+ dream_child_aborted: {
629
+ code: "MC-D05",
630
+ sentence: "Memory maintenance was interrupted.",
631
+ action: "Run /ctx-dream again."
632
+ },
633
+ dream_parse_failed: {
634
+ code: "MC-D06",
635
+ sentence: "Memory maintenance could not use the model response.",
636
+ action: "Run /ctx-dream again."
637
+ },
638
+ dream_unknown: {
639
+ code: "MC-D07",
640
+ sentence: "Memory maintenance could not finish.",
641
+ action: "Run /ctx-dream again."
642
+ },
643
+ dreamer_tick_blocked: {
644
+ code: "MC-D09",
645
+ sentence: "Background maintenance is not running: its last pass stopped before it reached the scheduled tasks.",
646
+ action: "It is retried automatically; if it keeps happening, check the Magic Context log for the stage that stopped and run `npx @cortexkit/magic-context doctor`."
647
+ },
648
+ dream_task_needs_tool_loop: {
649
+ code: "MC-D08",
650
+ sentence: "Some memory maintenance tasks need a tool loop this host does not provide.",
651
+ action: "The remaining tasks still run; the listed ones are skipped on this host."
652
+ },
653
+ embedding_substitution_rejected: {
654
+ code: "MC-E01",
655
+ sentence: "Search indexing could not use the selected model.",
656
+ action: "Check the embedding model setting, then run /ctx-embed start again."
657
+ },
658
+ embedding_http_error: {
659
+ code: "MC-E02",
660
+ sentence: "The search indexing provider refused the request.",
661
+ action: "Check the provider connection and credentials, then run /ctx-embed start again."
662
+ },
663
+ embedding_transport_error: {
664
+ code: "MC-E03",
665
+ sentence: "Search indexing could not reach its provider.",
666
+ action: "Check the connection, then run /ctx-embed start again."
667
+ },
668
+ embedding_invalid_envelope: {
669
+ code: "MC-E04",
670
+ sentence: "Search indexing received an unsupported response.",
671
+ action: "Check the embedding endpoint, then run /ctx-embed start again."
672
+ },
673
+ embedding_empty_result: {
674
+ code: "MC-E05",
675
+ sentence: "Search indexing received no usable result.",
676
+ action: "Run /ctx-embed start again."
677
+ },
678
+ embedding_certification_refusal: {
679
+ code: "MC-E06",
680
+ sentence: "Search indexing is not ready for this provider.",
681
+ action: "Finish the provider setup, or set a fallback provider in the embedding settings, then run /ctx-embed start again."
682
+ },
683
+ embedding_credential_required: {
684
+ code: "MC-E07",
685
+ sentence: "Search indexing needs provider credentials.",
686
+ action: "Sign in to the provider, then run /ctx-embed start again."
687
+ },
688
+ embedding_local_binding_missing: {
689
+ code: "MC-E08",
690
+ sentence: "Local search indexing is unavailable on this system.",
691
+ action: "Run `npx @cortexkit/magic-context doctor`, then retry."
692
+ },
693
+ embedding_local_fs_unavailable: {
694
+ code: "MC-E09",
695
+ sentence: "Local search indexing cannot save its model files.",
696
+ action: "Update or reinstall Magic Context, then retry."
697
+ },
698
+ embedding_local_download_failure: {
699
+ code: "MC-E10",
700
+ sentence: "Local search indexing could not download its model.",
701
+ action: "Check the network connection, then retry."
702
+ },
703
+ embedding_local_runtime_error: {
704
+ code: "MC-E11",
705
+ sentence: "Local search indexing could not start.",
706
+ action: "Run `npx @cortexkit/magic-context doctor`, then retry."
707
+ },
708
+ embedding_unavailable: {
709
+ code: "MC-E12",
710
+ sentence: "Search indexing could not finish.",
711
+ action: "Run /ctx-embed start again."
712
+ },
713
+ status_unavailable: {
714
+ code: "MC-S01",
715
+ sentence: "Magic Context status is temporarily unavailable.",
716
+ action: "Retry /ctx-status in a moment."
717
+ },
718
+ transform_update_failed: {
719
+ code: "MC-S02",
720
+ sentence: "The last context update did not finish.",
721
+ action: "Send another message to retry."
722
+ },
723
+ transform_pass_degraded: {
724
+ code: "MC-S06",
725
+ sentence: "This request was not sent: Magic Context could not finish preparing it, and without that preparation it could be far larger than the previous request.",
726
+ action: "Send your message again."
727
+ },
728
+ configuration_warning: {
729
+ code: "MC-S03",
730
+ sentence: "Some configuration settings could not be applied.",
731
+ action: "Fix the configuration warning shown in /ctx-status, then restart."
732
+ },
733
+ status_log_unavailable: {
734
+ code: "MC-S04",
735
+ sentence: "Some diagnostic details could not be saved.",
736
+ action: "Retry /ctx-status in a moment."
737
+ },
738
+ memory_writes_paused: {
739
+ code: "MC-C01",
740
+ sentence: "Memory writes are paused while the engine syncs.",
741
+ action: "Retry in a moment."
742
+ },
743
+ memory_access_unavailable: {
744
+ code: "MC-C02",
745
+ sentence: "Memory access is temporarily unavailable.",
746
+ action: "Retry in a moment."
747
+ },
748
+ note_changes_paused: {
749
+ code: "MC-C03",
750
+ sentence: "Note changes are paused while the engine syncs.",
751
+ action: "Retry in a moment."
752
+ },
753
+ note_access_unavailable: {
754
+ code: "MC-C04",
755
+ sentence: "Notes are temporarily unavailable.",
756
+ action: "Retry in a moment."
757
+ },
758
+ context_cleanup_paused: {
759
+ code: "MC-C05",
760
+ sentence: "Context cleanup is paused while the engine syncs.",
761
+ action: "Retry in a moment."
762
+ },
763
+ partial_history_unavailable: {
764
+ code: "MC-C06",
765
+ sentence: "Partial history compression is not available in the current mode.",
766
+ action: "Run /ctx-recomp without a range."
767
+ },
768
+ smart_note_conditions_unavailable: {
769
+ code: "MC-C08",
770
+ sentence: "Conditional notes are not available in the current mode.",
771
+ action: "Save a regular note without a condition."
772
+ },
773
+ history_compression_paused: {
774
+ code: "MC-C09",
775
+ sentence: "History compression is paused while the engine syncs.",
776
+ action: "Retry in a moment."
777
+ },
778
+ history_compression_needs_message: {
779
+ code: "MC-C12",
780
+ sentence: "History compression has not seen this session since Magic Context reconnected.",
781
+ action: "Send a message in this session first, then run /ctx-wrapup again."
782
+ },
783
+ context_service_unavailable: {
784
+ code: "MC-C10",
785
+ sentence: "Magic Context is temporarily unavailable.",
786
+ action: "Retry in a moment."
787
+ },
788
+ context_db_missing: {
789
+ code: "MC-C15",
790
+ sentence: "Magic Context has no context.db.",
791
+ action: "Run `npx @cortexkit/magic-context doctor store init`, then restart ck-mc."
792
+ },
793
+ single_store_migration_required: {
794
+ code: "MC-C14",
795
+ sentence: "Magic Context's Rust mode needs a one-time migration of its store.",
796
+ action: "Quit OpenCode and every ck-mc process, then run `magic-context doctor single-store migrate`."
797
+ },
798
+ store_ahead_of_binary: {
799
+ code: "MC-C13",
800
+ sentence: "Magic Context refused to start: its store (store.db) was migrated by a newer ck-mc build than the one running.",
801
+ action: "Update ck-mc, or roll back by restoring ck-mc together with context.db and store.db from the same backup."
802
+ },
803
+ compaction_marker_missing: {
804
+ code: "MC-C11",
805
+ sentence: "The history boundary marker is missing from the OpenCode store, so requests carry the full session.",
806
+ action: "It is retried on every message; if this persists, run `/ctx-flush`."
807
+ },
808
+ memory_mirror_stalled: {
809
+ code: "MC-M01",
810
+ sentence: "Memory synchronization stopped before the host mirror caught up.",
811
+ action: "Send another message to resume it, or run `ck doctor drain-authority`."
812
+ },
813
+ memory_authority_mismatch: {
814
+ code: "MC-M02",
815
+ sentence: "Memory authority is inconsistent between the host and module.",
816
+ action: "Run `ck doctor drain-authority` before changing Rust mode."
817
+ },
818
+ dreamer_task_failing: {
819
+ code: "MC-S05",
820
+ sentence: "A background maintenance task keeps failing on its schedule.",
821
+ action: "Check the Magic Context log for the failing task and its error."
822
+ }
823
+ };
824
+ function renderUserFacingFailure(key, style = "markdown") {
825
+ const failure = USER_FACING_FAILURES[key];
826
+ const action = style === "plain" ? failure.action.replaceAll("`", "") : failure.action;
827
+ return `${failure.sentence} ${action} (${failure.code})`;
828
+ }
829
+ function userFacingFailureCode(key) {
830
+ return USER_FACING_FAILURES[key].code;
831
+ }
832
+ var CAPABILITY_FAILURES = {
833
+ memory_write: "memory_writes_paused",
834
+ memory_access: "memory_access_unavailable",
835
+ note_change: "note_changes_paused",
836
+ note_access: "note_access_unavailable",
837
+ context_cleanup: "context_cleanup_paused",
838
+ partial_history: "partial_history_unavailable",
839
+ smart_note_condition: "smart_note_conditions_unavailable",
840
+ history_compression: "history_compression_paused",
841
+ context_service: "context_service_unavailable"
842
+ };
843
+ function renderCapabilityRefusal(capability) {
844
+ return renderUserFacingFailure(CAPABILITY_FAILURES[capability]);
845
+ }
846
+ var DREAM_FAILURE_KEYS = {
847
+ provider_timeout: "dream_provider_timeout",
848
+ provider_error: "dream_provider_error",
849
+ local_refusal: "dream_local_refusal",
850
+ step_limit: "dream_step_limit",
851
+ token_budget: "dream_token_budget",
852
+ empty_completion: "dream_empty_completion",
853
+ no_models: "dream_no_models",
854
+ child_aborted: "dream_child_aborted",
855
+ parse_failed: "dream_parse_failed",
856
+ unknown: "dream_unknown"
857
+ };
858
+ var EMBEDDING_FAILURE_KEYS = {
859
+ substitution_rejected: "embedding_substitution_rejected",
860
+ http_error: "embedding_http_error",
861
+ transport_error: "embedding_transport_error",
862
+ invalid_envelope: "embedding_invalid_envelope",
863
+ empty_result: "embedding_empty_result",
864
+ certification_refusal: "embedding_certification_refusal",
865
+ credential_required: "embedding_credential_required",
866
+ local_binding_missing: "embedding_local_binding_missing",
867
+ local_fs_unavailable: "embedding_local_fs_unavailable",
868
+ local_download_failure: "embedding_local_download_failure",
869
+ local_runtime_error: "embedding_local_runtime_error"
870
+ };
871
+ function renderDreamFailure(failureClass, style = "markdown", refusalReason) {
872
+ const rendered = renderUserFacingFailure(DREAM_FAILURE_KEYS[failureClass], style);
873
+ return failureClass === "local_refusal" && refusalReason ? `${rendered} Reason: ${sanitizeDiagnosticText(refusalReason).slice(0, 500)}` : rendered;
874
+ }
875
+ function dreamFailureCode(failureClass) {
876
+ return userFacingFailureCode(DREAM_FAILURE_KEYS[failureClass]);
877
+ }
878
+ function renderEmbeddingFailure(failureClass, style = "markdown") {
879
+ return renderUserFacingFailure(EMBEDDING_FAILURE_KEYS[failureClass], style);
880
+ }
554
881
  // src/features/magic-context/memory/promotion.ts
555
882
  function isPromotableCategory(category) {
556
883
  return PROMOTABLE_CATEGORIES.some((promotableCategory) => promotableCategory === category);
@@ -981,4 +1308,4 @@ async function normalizeVerificationFiles(args) {
981
1308
  gitRoot
982
1309
  };
983
1310
  }
984
- export { SESSION_NOTE_CONDITION_ERROR, getNoteByIdInScope, getNotes, addNote, getSessionNotes, getPendingSmartNotes, getReadySmartNotes, updateNote, dismissNotes, dismissNote, markNoteReady, markNoteChecked, PRIMER_CANDIDATE_TTL_MS, PRIMER_CANDIDATE_MAX_AGE_MS, primerOccurrenceKey, primerOccurrenceUtcDay, insertPrimerCandidates, updatePrimerCandidateEmbedding, getPrimerCandidatesByIds, getPrimerCandidatesForPromotion, countPrimerCandidatesForProject, getActivePrimers, createPrimer, updatePrimerSupport, updatePrimerAnswer, promoteSessionFactsDurable, embedPromotedFacts, relaxedFtsQuery, sanitizeFtsQuery, searchMemoriesFTS, searchMemoriesFTSUnion, recordMemoryMapping, recordMemoryVerifications, getUnmappedMemoryIds, clearMemoryVerifications, getMemoryVerifications, resolveGitTopLevel, readGitHead, readGitChangedFilesSince, readGitFileChangeTimesSince, verificationFileExists, normalizeVerificationFiles };
1311
+ export { SESSION_NOTE_CONDITION_ERROR, getNoteByIdInScope, getNotes, addNote, getSessionNotes, getPendingSmartNotes, getReadySmartNotes, updateNote, dismissNotes, dismissNote, markNoteReady, markNoteChecked, PRIMER_CANDIDATE_TTL_MS, PRIMER_CANDIDATE_MAX_AGE_MS, primerOccurrenceKey, primerOccurrenceUtcDay, insertPrimerCandidates, updatePrimerCandidateEmbedding, getPrimerCandidatesByIds, getPrimerCandidatesForPromotion, countPrimerCandidatesForProject, getActivePrimers, createPrimer, updatePrimerSupport, updatePrimerAnswer, USER_FACING_FAILURES, renderUserFacingFailure, userFacingFailureCode, renderCapabilityRefusal, renderDreamFailure, dreamFailureCode, renderEmbeddingFailure, promoteSessionFactsDurable, embedPromotedFacts, relaxedFtsQuery, sanitizeFtsQuery, searchMemoriesFTS, searchMemoriesFTSUnion, recordMemoryMapping, recordMemoryVerifications, getUnmappedMemoryIds, clearMemoryVerifications, getMemoryVerifications, resolveGitTopLevel, readGitHead, readGitChangedFilesSince, readGitFileChangeTimesSince, verificationFileExists, normalizeVerificationFiles };
package/dist/v2/server.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadPluginConfigDetailed
3
- } from "./server-x2g40a71.js";
3
+ } from "./server-19zjmn02.js";
4
4
  import {
5
5
  setHarness2
6
6
  } from "./server-pavzsdc6.js";
@@ -8,8 +8,8 @@ import {
8
8
  registerStalePluginBuildHost,
9
9
  log2,
10
10
  flushLogger2
11
- } from "./server-5m3dt5r1.js";
12
- import"./server-v06jcv0w.js";
11
+ } from "./server-t4k4qexw.js";
12
+ import"./server-8k2agx29.js";
13
13
  import {
14
14
  string,
15
15
  unknown,
@@ -8042,7 +8042,7 @@ async function setup(context) {
8042
8042
  log2("v2 setup() called on a host without session.hook; v1 server lane owns this host, v2 lane inert");
8043
8043
  return async () => {};
8044
8044
  }
8045
- const { registerContext } = await import("./context-sf98kstd.js");
8045
+ const { registerContext } = await import("./context-crbt6p1y.js");
8046
8046
  setHarness2("opencode2");
8047
8047
  bindStaleBuildNotice({}, import.meta.url, "opencode2");
8048
8048
  const duties = await registerContext(context);
@@ -24,6 +24,7 @@ import {
24
24
  updateTagStatus2,
25
25
  markWhitespaceAssistantTagInert2,
26
26
  getInertWhitespaceAssistantTags2,
27
+ getInertWhitespaceAssistantTagsByNumbers2,
27
28
  updateTagDropMode2,
28
29
  updateCavemanDepth2,
29
30
  updateTagMessageId2,
@@ -59,12 +60,12 @@ import {
59
60
  adoptNullOwnerToolTag2,
60
61
  getCandidateToolOwners2,
61
62
  pickNearestPriorOwner2
62
- } from "./server-686jg6eb.js";
63
+ } from "./server-c5rrgrcd.js";
63
64
  import"./server-1zx87sdm.js";
64
- import"./server-52awr2mw.js";
65
- import"./server-1r6pmz4f.js";
65
+ import"./server-6byqfbqf.js";
66
+ import"./server-kzns2hbz.js";
66
67
  import"./server-kb9nn0a0.js";
67
- import"./server-5m3dt5r1.js";
68
+ import"./server-t4k4qexw.js";
68
69
  import"./server-pavzsdc6.js";
69
70
  export {
70
71
  AGE_RECLAIM_MIN_TOKENS2 as AGE_RECLAIM_MIN_TOKENS,
@@ -90,6 +91,7 @@ export {
90
91
  getDroppedTagsByNumbers2 as getDroppedTagsByNumbers,
91
92
  getDroppedTagsBySession2 as getDroppedTagsBySession,
92
93
  getInertWhitespaceAssistantTags2 as getInertWhitespaceAssistantTags,
94
+ getInertWhitespaceAssistantTagsByNumbers2 as getInertWhitespaceAssistantTagsByNumbers,
93
95
  getMaxDroppedTagNumber2 as getMaxDroppedTagNumber,
94
96
  getMaxTagNumberByOwnerMessage2 as getMaxTagNumberByOwnerMessage,
95
97
  getMaxTagNumberBySession2 as getMaxTagNumberBySession,
@@ -173,10 +173,16 @@ export declare class V2StoreReader {
173
173
  /**
174
174
  * The most recently updated top-level user session the host created in
175
175
  * `directory`, or undefined when there is none. Children, Magic Context's
176
- * own hidden runs and archived sessions are never returned. The directory
177
- * must match exactly: OpenCode 2 puts a child session in its parent's
176
+ * own hidden runs and archived sessions are never returned. The session must
177
+ * be in this very directory: OpenCode 2 puts a child session in its parent's
178
178
  * location, and only the plugin context of that location recognises the
179
179
  * child, so a parent from a sibling checkout would strand the run.
180
+ *
181
+ * The directory is compared by `sameProjectDirectory`, not by SQL equality.
182
+ * OpenCode 2 on Windows stores `D:/work/app` while the plugin's location is
183
+ * `D:\work\app`; an exact match found no session there, and every scheduled
184
+ * task that needs a child session was skipped. Roots are read newest first,
185
+ * a page at a time, and the first one in this directory wins.
180
186
  */
181
187
  latestRootSessionInDirectory(directory: string): string | undefined;
182
188
  /** Native user activity on root sessions; internal children must never become
@@ -1 +1 @@
1
- {"version":3,"file":"store-reader.d.ts","sourceRoot":"","sources":["../../src/v2/store-reader.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AAMvF,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,yFAAyF;AACzF,wBAAgB,sBAAsB,CAClC,OAAO,EAAE,MAAM,EACf,GAAG,GAAE,MAAM,CAAC,UAAwB,GACrC,MAAM,CAER;AAED,0EAA0E;AAC1E,wBAAgB,cAAc,CAC1B,QAAQ,EAAE,MAAM,EAChB,OAAO,SAAW,EAClB,GAAG,GAAE,MAAM,CAAC,UAAwB,GACrC,MAAM,CAER;AAGD,MAAM,MAAM,WAAW,GACjB,gBAAgB,GAChB,gBAAgB,GAChB,mBAAmB,GACnB,MAAM,GACN,WAAW,GACX,QAAQ,GACR,OAAO,GACP,OAAO,GACP,WAAW,GACX,YAAY,GACZ,MAAM,CAAC;AAEb,eAAO,MAAM,iBAAiB,yEAOa,CAAC;AAI5C,eAAO,MAAM,mBAAmB,QAkBP,CAAC;AAC1B,MAAM,WAAW,WAAW;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,MA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";
6
6
  import {
7
7
  COMPARTMENT_LEASE_RENEWAL_MS,
8
8
  acquireCompartmentLease,
@@ -25,47 +25,47 @@ import {
25
25
  registerActiveCompartmentRun,
26
26
  setRecompStarting2,
27
27
  setRecompTerminal2
28
- } from "./server-k8x2rbxc.js";
29
- import"./server-1r6pmz4f.js";
30
- import"./server-4k748ke6.js";
28
+ } from "./server-x4hscabv.js";
29
+ import"./server-kzns2hbz.js";
30
+ import"./server-hb6xhh9q.js";
31
31
  import"./server-kb9nn0a0.js";
32
- import"./server-k228xhjg.js";
33
- import"./server-ezhze64f.js";
34
- import"./server-sggvvzhb.js";
35
- import"./server-52awr2mw.js";
32
+ import"./server-3j4d00kf.js";
33
+ import"./server-ss95ky04.js";
34
+ import"./server-1tk82krw.js";
35
+ import"./server-6byqfbqf.js";
36
36
  import"./server-1zx87sdm.js";
37
- import"./server-686jg6eb.js";
37
+ import"./server-c5rrgrcd.js";
38
38
  import"./server-mfkzp7qj.js";
39
- import"./server-g5r0n3b6.js";
39
+ import"./server-7h861yms.js";
40
40
  import"./server-2ra6pwf3.js";
41
- import"./server-xdfwt6kh.js";
41
+ import"./server-pj4pjv02.js";
42
42
  import {
43
43
  prepareRawSessionOrdinals2
44
- } from "./server-2fbhp79z.js";
45
- import"./server-qye6ykf7.js";
44
+ } from "./server-4ez8mntn.js";
45
+ import"./server-7ekna9zs.js";
46
46
  import"./server-fr0wbhdn.js";
47
- import"./server-e0vdaae2.js";
48
- import"./server-yczc713m.js";
47
+ import"./server-v4mewb78.js";
48
+ import"./server-xwz4dqh9.js";
49
49
  import"./server-zm570tr2.js";
50
50
  import"./server-fb3zxn06.js";
51
- import"./server-7wwc2nga.js";
52
- import"./server-8tqanswc.js";
51
+ import"./server-jvxzm1jy.js";
52
+ import"./server-zp53y8js.js";
53
53
  import {
54
54
  pushNotification2
55
55
  } from "./server-x8a7jmkh.js";
56
56
  import"./server-qt1qqasc.js";
57
57
  import"./server-4dhv7mqz.js";
58
- import"./server-vqpf3167.js";
59
- import"./server-gjcr4w98.js";
58
+ import"./server-2s6ayq3t.js";
59
+ import"./server-w32kmdez.js";
60
60
  import"./server-7jzrrxap.js";
61
- import"./server-x2g40a71.js";
62
- import"./server-v06jcv0w.js";
63
- import"./server-z2037m6z.js";
64
- import"./server-zxhgvsf9.js";
61
+ import"./server-19zjmn02.js";
62
+ import"./server-8k2agx29.js";
63
+ import"./server-2s9qz6n7.js";
64
+ import"./server-676xw7at.js";
65
65
  import {
66
66
  sendStatusNotification2
67
- } from "./server-xxm59eww.js";
68
- import"./server-aan4q8mx.js";
67
+ } from "./server-ycw9qqcy.js";
68
+ import"./server-3t0q2cqx.js";
69
69
 
70
70
  // src/hooks/magic-context/wrapup-orchestrator.ts
71
71
  import * as crypto from "node:crypto";
@@ -0,0 +1,44 @@
1
+ import {
2
+ runManagedWrapup2
3
+ } from "./index-1r0k9js3.js";
4
+ import"./index-ezmszwbd.js";
5
+ import"./index-2jcbj7r1.js";
6
+ import"./index-kmpvemph.js";
7
+ import"./index-hj2q50k0.js";
8
+ import"./index-peshmj6h.js";
9
+ import"./index-7jzrrxap.js";
10
+ import"./index-kp5qe690.js";
11
+ import"./index-b7mv1jx3.js";
12
+ import"./index-4dhv7mqz.js";
13
+ import"./index-sd3egckz.js";
14
+ import"./index-9rt53q79.js";
15
+ import"./index-qt1qqasc.js";
16
+ import"./index-57mrqed8.js";
17
+ import"./index-tqf7yg27.js";
18
+ import"./index-kq57tdf0.js";
19
+ import"./index-vkbqdnkj.js";
20
+ import"./index-s4j7t92z.js";
21
+ import"./index-fb3zxn06.js";
22
+ import"./index-nm6a8xpd.js";
23
+ import"./index-fr0wbhdn.js";
24
+ import"./index-pxwp2hjk.js";
25
+ import"./index-gzcmtmar.js";
26
+ import"./index-2jgwttpt.js";
27
+ import"./index-nydv6g8r.js";
28
+ import"./index-9qjqq45k.js";
29
+ import"./index-h5zfkjyk.js";
30
+ import"./index-1zx87sdm.js";
31
+ import"./index-mfkzp7qj.js";
32
+ import"./index-h2wc01qk.js";
33
+ import"./index-1bt88epp.js";
34
+ import"./index-58e3y90n.js";
35
+ import"./index-qx53vezw.js";
36
+ import"./index-4mjhqadz.js";
37
+ import"./index-kb9nn0a0.js";
38
+ import"./index-nsjyysj0.js";
39
+ import"./index-0sahzkwr.js";
40
+ import"./index-pavzsdc6.js";
41
+ import"./index-x8a7jmkh.js";
42
+ export {
43
+ runManagedWrapup2 as runManagedWrapup
44
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cortexkit/opencode-magic-context",
3
- "version": "0.48.0",
3
+ "version": "0.49.0",
4
4
  "type": "module",
5
5
  "description": "OpenCode plugin for Magic Context — cross-session memory and context management",
6
6
  "main": "dist/index.js",