@cortexkit/opencode-magic-context 0.42.4 → 0.42.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/README.md +2 -2
  2. package/dist/config/index.d.ts +9 -0
  3. package/dist/config/index.d.ts.map +1 -1
  4. package/dist/config/schema/magic-context.d.ts +1 -0
  5. package/dist/config/schema/magic-context.d.ts.map +1 -1
  6. package/dist/{conflict-warning-hook-jyj54gbe.js → conflict-warning-hook-aktepwpz.js} +3 -3
  7. package/dist/features/magic-context/compaction-marker.d.ts.map +1 -1
  8. package/dist/features/magic-context/context-authority.d.ts +28 -1
  9. package/dist/features/magic-context/context-authority.d.ts.map +1 -1
  10. package/dist/features/magic-context/dreamer/curate-category-rotation.d.ts +26 -0
  11. package/dist/features/magic-context/dreamer/curate-category-rotation.d.ts.map +1 -0
  12. package/dist/features/magic-context/dreamer/open-opencode-db.d.ts.map +1 -1
  13. package/dist/features/magic-context/dreamer/storage-task-schedule.d.ts +7 -5
  14. package/dist/features/magic-context/dreamer/storage-task-schedule.d.ts.map +1 -1
  15. package/dist/features/magic-context/dreamer/task-executor.d.ts.map +1 -1
  16. package/dist/features/magic-context/dreamer/task-gates.d.ts +1 -0
  17. package/dist/features/magic-context/dreamer/task-gates.d.ts.map +1 -1
  18. package/dist/features/magic-context/dreamer/task-prompts.d.ts +3 -0
  19. package/dist/features/magic-context/dreamer/task-prompts.d.ts.map +1 -1
  20. package/dist/features/magic-context/dreamer/task-registry.d.ts +6 -0
  21. package/dist/features/magic-context/dreamer/task-registry.d.ts.map +1 -1
  22. package/dist/features/magic-context/dreamer/task-scheduler.d.ts +5 -1
  23. package/dist/features/magic-context/dreamer/task-scheduler.d.ts.map +1 -1
  24. package/dist/features/magic-context/memory/embedding-local.d.ts +12 -0
  25. package/dist/features/magic-context/memory/embedding-local.d.ts.map +1 -1
  26. package/dist/features/magic-context/memory/embedding.d.ts +1 -1
  27. package/dist/features/magic-context/memory/embedding.d.ts.map +1 -1
  28. package/dist/features/magic-context/message-index.d.ts.map +1 -1
  29. package/dist/features/magic-context/migrations.d.ts +12 -0
  30. package/dist/features/magic-context/migrations.d.ts.map +1 -1
  31. package/dist/features/magic-context/project-embedding-registry.d.ts +1 -0
  32. package/dist/features/magic-context/project-embedding-registry.d.ts.map +1 -1
  33. package/dist/features/magic-context/session-project-backfill.d.ts.map +1 -1
  34. package/dist/features/magic-context/storage-db.d.ts +1 -1
  35. package/dist/features/magic-context/tool-owner-backfill.d.ts.map +1 -1
  36. package/dist/hooks/auto-update-checker/index.d.ts.map +1 -1
  37. package/dist/hooks/magic-context/cache-busting-signals.d.ts +0 -1
  38. package/dist/hooks/magic-context/cache-busting-signals.d.ts.map +1 -1
  39. package/dist/hooks/magic-context/channel2-delivery.d.ts +8 -0
  40. package/dist/hooks/magic-context/channel2-delivery.d.ts.map +1 -1
  41. package/dist/hooks/magic-context/compartment-runner-incremental.d.ts +12 -0
  42. package/dist/hooks/magic-context/compartment-runner-incremental.d.ts.map +1 -1
  43. package/dist/hooks/magic-context/hook.d.ts +4 -4
  44. package/dist/hooks/magic-context/hook.d.ts.map +1 -1
  45. package/dist/hooks/magic-context/module-state-sync.d.ts +3 -0
  46. package/dist/hooks/magic-context/module-state-sync.d.ts.map +1 -1
  47. package/dist/hooks/magic-context/module-transport.d.ts +24 -2
  48. package/dist/hooks/magic-context/module-transport.d.ts.map +1 -1
  49. package/dist/hooks/magic-context/module-wire.d.ts +1 -1
  50. package/dist/hooks/magic-context/module-wire.d.ts.map +1 -1
  51. package/dist/hooks/magic-context/producer-window-guard.d.ts +31 -1
  52. package/dist/hooks/magic-context/producer-window-guard.d.ts.map +1 -1
  53. package/dist/hooks/magic-context/read-session-chunk.d.ts +6 -0
  54. package/dist/hooks/magic-context/read-session-chunk.d.ts.map +1 -1
  55. package/dist/hooks/magic-context/read-session-db.d.ts +8 -0
  56. package/dist/hooks/magic-context/read-session-db.d.ts.map +1 -1
  57. package/dist/hooks/magic-context/read-session-formatting.d.ts +6 -0
  58. package/dist/hooks/magic-context/read-session-formatting.d.ts.map +1 -1
  59. package/dist/hooks/magic-context/rust-mode-transform.d.ts +30 -0
  60. package/dist/hooks/magic-context/rust-mode-transform.d.ts.map +1 -1
  61. package/dist/hooks/magic-context/rust-refusal-recovery.d.ts +28 -0
  62. package/dist/hooks/magic-context/rust-refusal-recovery.d.ts.map +1 -0
  63. package/dist/hooks/magic-context/tail-hygiene-walk.d.ts.map +1 -1
  64. package/dist/hooks/magic-context/transform-postprocess-phase.d.ts.map +1 -1
  65. package/dist/hooks/magic-context/transform.d.ts +7 -0
  66. package/dist/hooks/magic-context/transform.d.ts.map +1 -1
  67. package/dist/{index-bkg2fdj1.js → index-4wwr6cz0.js} +3 -0
  68. package/dist/{index-jkrqhc7y.js → index-a9ssj59b.js} +94 -15
  69. package/dist/{index-faay035c.js → index-djp6rwz6.js} +484 -57
  70. package/dist/{index-p474rw9p.js → index-ngjmj6xx.js} +1 -1
  71. package/dist/{index-d8mgqezq.js → index-s61hh7gv.js} +50 -17
  72. package/dist/{index-1ar7b3e9.js → index-znraa0kv.js} +1 -1
  73. package/dist/index.d.ts.map +1 -1
  74. package/dist/index.js +1667 -380
  75. package/dist/plugin/embedding-bootstrap.d.ts.map +1 -1
  76. package/dist/plugin/hooks/create-session-hooks.d.ts.map +1 -1
  77. package/dist/plugin/memory-id-translation.d.ts +23 -0
  78. package/dist/plugin/memory-id-translation.d.ts.map +1 -0
  79. package/dist/plugin/rust-tool-backends.d.ts +1 -1
  80. package/dist/plugin/rust-tool-backends.d.ts.map +1 -1
  81. package/dist/{recomp-orchestrator-c4sa354a.js → recomp-orchestrator-0xx1364v.js} +4 -4
  82. package/dist/{send-session-notification-xnypkxpx.js → send-session-notification-jbxknvar.js} +2 -2
  83. package/dist/shared/auto-update-provenance.d.ts +9 -0
  84. package/dist/shared/auto-update-provenance.d.ts.map +1 -0
  85. package/dist/shared/conflict-detector.d.ts +5 -1
  86. package/dist/shared/conflict-detector.d.ts.map +1 -1
  87. package/dist/shared/opencode-db-path.d.ts +31 -2
  88. package/dist/shared/opencode-db-path.d.ts.map +1 -1
  89. package/dist/shared/prompt-surface-runtime.d.ts +3 -3
  90. package/dist/shared/prompt-surface-runtime.d.ts.map +1 -1
  91. package/dist/{storage-meta-session-x3j0q9qy.js → storage-meta-session-z818pn1e.js} +2 -2
  92. package/dist/{task-config-ys0arma5.js → task-config-cv8k9y8r.js} +1 -1
  93. package/dist/tools/ctx-expand/mode.d.ts +31 -0
  94. package/dist/tools/ctx-expand/mode.d.ts.map +1 -0
  95. package/dist/tools/ctx-expand/tools.d.ts.map +1 -1
  96. package/dist/tools/ctx-memory/tools.d.ts.map +1 -1
  97. package/dist/tools/ctx-note/constants.d.ts +1 -1
  98. package/dist/tools/ctx-note/constants.d.ts.map +1 -1
  99. package/dist/tools/ctx-note/tools.d.ts.map +1 -1
  100. package/dist/tools/ctx-note/types.d.ts +1 -1
  101. package/dist/tools/ctx-note/types.d.ts.map +1 -1
  102. package/dist/tools/ctx-reduce/constants.d.ts +1 -1
  103. package/dist/tools/ctx-reduce/constants.d.ts.map +1 -1
  104. package/dist/tools/ctx-search/types.d.ts +1 -1
  105. package/dist/tools/ctx-search/types.d.ts.map +1 -1
  106. package/dist/tools/light-descriptions.d.ts +2 -2
  107. package/dist/tools/light-descriptions.d.ts.map +1 -1
  108. package/dist/v2/hidden-completion.d.ts +69 -13
  109. package/dist/v2/hidden-completion.d.ts.map +1 -1
  110. package/dist/v2/hooks/context.d.ts +13 -1
  111. package/dist/v2/hooks/context.d.ts.map +1 -1
  112. package/dist/v2/hooks/hidden-child.d.ts +31 -0
  113. package/dist/v2/hooks/hidden-child.d.ts.map +1 -0
  114. package/dist/v2/hooks/store.d.ts.map +1 -1
  115. package/dist/v2/hooks/types.d.ts +99 -19
  116. package/dist/v2/hooks/types.d.ts.map +1 -1
  117. package/dist/v2/server.d.ts +19 -0
  118. package/dist/v2/server.d.ts.map +1 -1
  119. package/dist/v2/server.js +2311 -2724
  120. package/dist/v2/store-reader.d.ts +11 -5
  121. package/dist/v2/store-reader.d.ts.map +1 -1
  122. package/dist/v2/tui/index.d.ts +10 -0
  123. package/dist/v2/tui/index.d.ts.map +1 -0
  124. package/dist/v2/tui/types.d.ts +80 -0
  125. package/dist/v2/tui/types.d.ts.map +1 -0
  126. package/package.json +5 -4
  127. package/src/agents/magic-context-prompt.ts +1 -1
  128. package/src/config/index.ts +31 -1
  129. package/src/config/protected-tokens.test.ts +40 -0
  130. package/src/config/schema/magic-context.ts +8 -3
  131. package/src/features/magic-context/dreamer/task-registry.ts +10 -0
  132. package/src/shared/auto-update-provenance.ts +42 -0
  133. package/src/shared/conflict-detector.test.ts +53 -0
  134. package/src/shared/conflict-detector.ts +88 -19
  135. package/src/shared/models-dev-cache.test.ts +25 -0
  136. package/src/shared/opencode-db-path.test.ts +96 -0
  137. package/src/shared/opencode-db-path.ts +146 -15
  138. package/src/shared/prompt-surface-a1-golden.md +12 -16
  139. package/src/shared/prompt-surface-runtime.test.ts +20 -0
  140. package/src/shared/prompt-surface-runtime.ts +7 -5
  141. package/src/tui/entry.mjs +11 -1
  142. package/src/v2/tui/host-contract.test.ts +202 -0
  143. package/src/v2/tui/index.ts +270 -0
  144. package/src/v2/tui/types.ts +67 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.