@cortexkit/opencode-magic-context 0.49.51 → 0.49.52

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 (73) hide show
  1. package/dist/auto-search-worker.js +1 -1
  2. package/dist/chunk-embedding-write-worker.js +1 -1
  3. package/dist/{context-r77d4fdy.js → context-bkkd7br4.js} +14 -14
  4. package/dist/features/magic-context/storage-meta-persisted.d.ts +1 -1
  5. package/dist/features/magic-context/storage-meta-persisted.d.ts.map +1 -1
  6. package/dist/hooks/magic-context/history-boundary-recovery.d.ts +15 -0
  7. package/dist/hooks/magic-context/history-boundary-recovery.d.ts.map +1 -0
  8. package/dist/hooks/magic-context/inject-compartments.d.ts +11 -0
  9. package/dist/hooks/magic-context/inject-compartments.d.ts.map +1 -1
  10. package/dist/hooks/magic-context/persist-filtered-noise.d.ts +1 -1
  11. package/dist/hooks/magic-context/persist-filtered-noise.d.ts.map +1 -1
  12. package/dist/hooks/magic-context/rust-mode-transform.d.ts +1 -1
  13. package/dist/hooks/magic-context/rust-mode-transform.d.ts.map +1 -1
  14. package/dist/hooks/magic-context/transform-postprocess-phase.d.ts +4 -2
  15. package/dist/hooks/magic-context/transform-postprocess-phase.d.ts.map +1 -1
  16. package/dist/hooks/magic-context/transform.d.ts.map +1 -1
  17. package/dist/hooks/magic-context/unresolved-history-boundary.d.ts +21 -2
  18. package/dist/hooks/magic-context/unresolved-history-boundary.d.ts.map +1 -1
  19. package/dist/{index-ct3ettqt.js → index-0jc25yjf.js} +3 -3
  20. package/dist/{index-h8g08nxs.js → index-42n4fhxy.js} +92 -57
  21. package/dist/{index-wr2t8zb0.js → index-4xpff2m1.js} +7 -6
  22. package/dist/{index-07rp6xcn.js → index-9gs34125.js} +1 -1
  23. package/dist/{index-z4832qfe.js → index-a4zmmhxs.js} +1 -1
  24. package/dist/{index-5dptmnvd.js → index-fxgaaptn.js} +2 -2
  25. package/dist/{index-s131svmx.js → index-g3j49m95.js} +1 -1
  26. package/dist/{index-v4a1pnny.js → index-k2efzh9r.js} +4 -4
  27. package/dist/{index-gv7dwx5b.js → index-kanfby7e.js} +137 -41
  28. package/dist/{index-mjh63zvw.js → index-q9m97m5g.js} +1 -1
  29. package/dist/{index-30sf7e5k.js → index-qbda6a8k.js} +3 -3
  30. package/dist/{index-97bjd14c.js → index-qtpkkzan.js} +4 -4
  31. package/dist/{index-hkveze74.js → index-x4h461yf.js} +1 -1
  32. package/dist/{index-n0twfvah.js → index-x7jcqpy6.js} +1 -1
  33. package/dist/{index-cwj6qhmf.js → index-xqhejxmd.js} +7 -2
  34. package/dist/index.js +18 -18
  35. package/dist/{message-index-bounded-k0ebpy3y.js → message-index-bounded-71b75npz.js} +2 -2
  36. package/dist/migration-worker.js +1 -1
  37. package/dist/raw-ordinal-warmup-worker.js +3 -3
  38. package/dist/{read-session-chunk-6712p893.js → read-session-chunk-bfv831yx.js} +1 -1
  39. package/dist/{recomp-orchestrator-8ebydg5j.js → recomp-orchestrator-8gj1b7pz.js} +7 -7
  40. package/dist/{render-dtc4qkq4.js → render-b3zcz9x4.js} +5 -5
  41. package/dist/{search-archive-f6hjbnsa.js → search-archive-dp9afcv1.js} +3 -3
  42. package/dist/{search-75bj2430.js → search-y3w590tn.js} +5 -5
  43. package/dist/shared/user-facing-codes.d.ts +7 -2
  44. package/dist/shared/user-facing-codes.d.ts.map +1 -1
  45. package/dist/{transform-postprocess-phase-1bg25094.js → transform-postprocess-phase-8awze16a.js} +8 -8
  46. package/dist/v2/auto-search-worker.js +1 -1
  47. package/dist/v2/chunk-embedding-write-worker.js +1 -1
  48. package/dist/v2/{context-cpbhpxks.js → context-99v7x7fm.js} +135 -38
  49. package/dist/v2/{message-index-bounded-a36rw93p.js → message-index-bounded-2pev910h.js} +2 -2
  50. package/dist/v2/migration-worker.js +1 -1
  51. package/dist/v2/raw-ordinal-warmup-worker.js +3 -3
  52. package/dist/v2/{read-session-chunk-hzhxvhyv.js → read-session-chunk-a454a4d2.js} +1 -1
  53. package/dist/v2/{recomp-orchestrator-yzr49pd0.js → recomp-orchestrator-03fskpsa.js} +6 -6
  54. package/dist/v2/{render-rhaevxv1.js → render-cryx4xsj.js} +5 -5
  55. package/dist/v2/{search-3yrdpr38.js → search-2qj4w7rw.js} +4 -4
  56. package/dist/v2/{search-archive-9924fyk8.js → search-archive-xw2rsq81.js} +3 -3
  57. package/dist/v2/{server-88yvx6r9.js → server-b3h8vqa6.js} +1 -1
  58. package/dist/v2/{server-0k586y7d.js → server-cpstyzvy.js} +3 -3
  59. package/dist/v2/{server-sgn61hht.js → server-dkfs58nq.js} +7 -2
  60. package/dist/v2/{server-16kfxcxj.js → server-kfw4m268.js} +1 -1
  61. package/dist/v2/{server-scp3y4dh.js → server-kreheyw5.js} +1 -1
  62. package/dist/v2/{server-3bfc26r7.js → server-qsvm6w79.js} +1 -1
  63. package/dist/v2/{server-jxrqsn84.js → server-txdsx71h.js} +1 -1
  64. package/dist/v2/{server-016a1whm.js → server-wq9y9a03.js} +92 -57
  65. package/dist/v2/{server-eznem83k.js → server-xjzx27w2.js} +2 -2
  66. package/dist/v2/{server-q93jdtz8.js → server-y5cma2j1.js} +2 -2
  67. package/dist/v2/server.js +2 -2
  68. package/dist/v2/{v2-archive-reader-5ggewg8q.js → v2-archive-reader-3575hw8s.js} +1 -1
  69. package/dist/v2/{wrapup-orchestrator-36c5wyvq.js → wrapup-orchestrator-shzv6t4v.js} +6 -6
  70. package/dist/{v2-archive-reader-gx5ke1d7.js → v2-archive-reader-75fdm0te.js} +1 -1
  71. package/dist/{wrapup-orchestrator-ya31knav.js → wrapup-orchestrator-e0z7nvnx.js} +8 -8
  72. package/package.json +1 -1
  73. package/src/shared/user-facing-codes.ts +8 -2
@@ -17,8 +17,14 @@ export const USER_FACING_FAILURES = {
17
17
  history_boundary_unresolved: {
18
18
  code: "MC-H04",
19
19
  sentence:
20
- "This request was not sent: Magic Context could not safely place the history summary boundary in the loaded conversation, and the untrimmed request is larger than the model's context window.",
21
- action: "Reopen this session in its current project directory, then run /ctx-recomp to rebuild the history summary. A model with a larger context window can also help.",
20
+ "This request was not sent: it is larger than the model's context window, and Magic Context could not cut the already-summarized history out of it.",
21
+ action: "Run /ctx-flush to compress the history now, then send your message again.",
22
+ },
23
+ history_boundary_recovering: {
24
+ code: "MC-H08",
25
+ sentence:
26
+ "This request was not sent: it is larger than the model's context window, and Magic Context could not cut the already-summarized history out of it.",
27
+ action: "Send your message again: Magic Context will first summarize more of the history and drop old tool output to make it fit.",
22
28
  },
23
29
  history_over_window_unmanaged: {
24
30
  code: "MC-H06",