@cortexkit/opencode-magic-context 0.15.7 → 0.16.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 (191) hide show
  1. package/README.md +41 -15
  2. package/dist/agents/magic-context-prompt.d.ts +2 -13
  3. package/dist/agents/magic-context-prompt.d.ts.map +1 -1
  4. package/dist/cli/diagnostics.d.ts.map +1 -1
  5. package/dist/cli/migrate.d.ts +70 -0
  6. package/dist/cli/migrate.d.ts.map +1 -0
  7. package/dist/cli.js +666 -29
  8. package/dist/config/schema/magic-context.d.ts +67 -4
  9. package/dist/config/schema/magic-context.d.ts.map +1 -1
  10. package/dist/features/magic-context/compaction-marker.d.ts.map +1 -1
  11. package/dist/features/magic-context/compaction.d.ts +1 -1
  12. package/dist/features/magic-context/compaction.d.ts.map +1 -1
  13. package/dist/features/magic-context/compartment-storage.d.ts +1 -1
  14. package/dist/features/magic-context/compartment-storage.d.ts.map +1 -1
  15. package/dist/features/magic-context/compression-depth-storage.d.ts +1 -1
  16. package/dist/features/magic-context/compression-depth-storage.d.ts.map +1 -1
  17. package/dist/features/magic-context/dreamer/lease.d.ts +1 -1
  18. package/dist/features/magic-context/dreamer/lease.d.ts.map +1 -1
  19. package/dist/features/magic-context/dreamer/queue.d.ts +8 -3
  20. package/dist/features/magic-context/dreamer/queue.d.ts.map +1 -1
  21. package/dist/features/magic-context/dreamer/runner.d.ts +1 -1
  22. package/dist/features/magic-context/dreamer/runner.d.ts.map +1 -1
  23. package/dist/features/magic-context/dreamer/scheduler.d.ts +1 -1
  24. package/dist/features/magic-context/dreamer/scheduler.d.ts.map +1 -1
  25. package/dist/features/magic-context/dreamer/storage-dream-runs.d.ts +1 -1
  26. package/dist/features/magic-context/dreamer/storage-dream-runs.d.ts.map +1 -1
  27. package/dist/features/magic-context/dreamer/storage-dream-state.d.ts +1 -1
  28. package/dist/features/magic-context/dreamer/storage-dream-state.d.ts.map +1 -1
  29. package/dist/features/magic-context/git-commits/indexer.d.ts +1 -1
  30. package/dist/features/magic-context/git-commits/indexer.d.ts.map +1 -1
  31. package/dist/features/magic-context/git-commits/search-git-commits.d.ts +1 -1
  32. package/dist/features/magic-context/git-commits/search-git-commits.d.ts.map +1 -1
  33. package/dist/features/magic-context/git-commits/storage-git-commit-embeddings.d.ts +1 -1
  34. package/dist/features/magic-context/git-commits/storage-git-commit-embeddings.d.ts.map +1 -1
  35. package/dist/features/magic-context/git-commits/storage-git-commits.d.ts +1 -1
  36. package/dist/features/magic-context/git-commits/storage-git-commits.d.ts.map +1 -1
  37. package/dist/features/magic-context/key-files/identify-key-files.d.ts +1 -1
  38. package/dist/features/magic-context/key-files/identify-key-files.d.ts.map +1 -1
  39. package/dist/features/magic-context/key-files/read-stats.d.ts +1 -1
  40. package/dist/features/magic-context/key-files/read-stats.d.ts.map +1 -1
  41. package/dist/features/magic-context/key-files/storage-key-files.d.ts +1 -1
  42. package/dist/features/magic-context/key-files/storage-key-files.d.ts.map +1 -1
  43. package/dist/features/magic-context/memory/embedding-backfill.d.ts +1 -1
  44. package/dist/features/magic-context/memory/embedding-backfill.d.ts.map +1 -1
  45. package/dist/features/magic-context/memory/embedding-cache.d.ts +1 -1
  46. package/dist/features/magic-context/memory/embedding-cache.d.ts.map +1 -1
  47. package/dist/features/magic-context/memory/embedding-local.d.ts.map +1 -1
  48. package/dist/features/magic-context/memory/embedding.d.ts +1 -1
  49. package/dist/features/magic-context/memory/embedding.d.ts.map +1 -1
  50. package/dist/features/magic-context/memory/normalize-hash.d.ts.map +1 -1
  51. package/dist/features/magic-context/memory/project-identity.d.ts.map +1 -1
  52. package/dist/features/magic-context/memory/promotion.d.ts +1 -1
  53. package/dist/features/magic-context/memory/promotion.d.ts.map +1 -1
  54. package/dist/features/magic-context/memory/storage-memory-embeddings.d.ts +1 -1
  55. package/dist/features/magic-context/memory/storage-memory-embeddings.d.ts.map +1 -1
  56. package/dist/features/magic-context/memory/storage-memory-fts.d.ts +1 -1
  57. package/dist/features/magic-context/memory/storage-memory-fts.d.ts.map +1 -1
  58. package/dist/features/magic-context/memory/storage-memory.d.ts +1 -1
  59. package/dist/features/magic-context/memory/storage-memory.d.ts.map +1 -1
  60. package/dist/features/magic-context/message-index.d.ts +1 -1
  61. package/dist/features/magic-context/message-index.d.ts.map +1 -1
  62. package/dist/features/magic-context/migrations.d.ts +1 -1
  63. package/dist/features/magic-context/migrations.d.ts.map +1 -1
  64. package/dist/features/magic-context/mock-database.d.ts +1 -1
  65. package/dist/features/magic-context/mock-database.d.ts.map +1 -1
  66. package/dist/features/magic-context/plugin-messages.d.ts +1 -1
  67. package/dist/features/magic-context/plugin-messages.d.ts.map +1 -1
  68. package/dist/features/magic-context/search.d.ts +1 -1
  69. package/dist/features/magic-context/search.d.ts.map +1 -1
  70. package/dist/features/magic-context/sidekick/agent.d.ts +2 -1
  71. package/dist/features/magic-context/sidekick/agent.d.ts.map +1 -1
  72. package/dist/features/magic-context/sidekick/core.d.ts +38 -0
  73. package/dist/features/magic-context/sidekick/core.d.ts.map +1 -0
  74. package/dist/features/magic-context/storage-db.d.ts +20 -1
  75. package/dist/features/magic-context/storage-db.d.ts.map +1 -1
  76. package/dist/features/magic-context/storage-meta-persisted.d.ts +1 -1
  77. package/dist/features/magic-context/storage-meta-persisted.d.ts.map +1 -1
  78. package/dist/features/magic-context/storage-meta-session.d.ts +1 -1
  79. package/dist/features/magic-context/storage-meta-session.d.ts.map +1 -1
  80. package/dist/features/magic-context/storage-meta-shared.d.ts +1 -1
  81. package/dist/features/magic-context/storage-meta-shared.d.ts.map +1 -1
  82. package/dist/features/magic-context/storage-notes.d.ts +1 -1
  83. package/dist/features/magic-context/storage-notes.d.ts.map +1 -1
  84. package/dist/features/magic-context/storage-ops.d.ts +1 -1
  85. package/dist/features/magic-context/storage-ops.d.ts.map +1 -1
  86. package/dist/features/magic-context/storage-source.d.ts +1 -1
  87. package/dist/features/magic-context/storage-source.d.ts.map +1 -1
  88. package/dist/features/magic-context/storage-tags.d.ts +17 -1
  89. package/dist/features/magic-context/storage-tags.d.ts.map +1 -1
  90. package/dist/features/magic-context/tagger.d.ts +1 -1
  91. package/dist/features/magic-context/tagger.d.ts.map +1 -1
  92. package/dist/features/magic-context/user-memory/review-user-memories.d.ts +1 -1
  93. package/dist/features/magic-context/user-memory/review-user-memories.d.ts.map +1 -1
  94. package/dist/features/magic-context/user-memory/storage-user-memory.d.ts +1 -1
  95. package/dist/features/magic-context/user-memory/storage-user-memory.d.ts.map +1 -1
  96. package/dist/hooks/magic-context/auto-search-hint.d.ts.map +1 -1
  97. package/dist/hooks/magic-context/auto-search-runner.d.ts +1 -1
  98. package/dist/hooks/magic-context/auto-search-runner.d.ts.map +1 -1
  99. package/dist/hooks/magic-context/command-handler.d.ts +1 -1
  100. package/dist/hooks/magic-context/command-handler.d.ts.map +1 -1
  101. package/dist/hooks/magic-context/compaction-marker-manager.d.ts +1 -1
  102. package/dist/hooks/magic-context/compaction-marker-manager.d.ts.map +1 -1
  103. package/dist/hooks/magic-context/compartment-prompt.d.ts +1 -0
  104. package/dist/hooks/magic-context/compartment-prompt.d.ts.map +1 -1
  105. package/dist/hooks/magic-context/compartment-runner-compressor.d.ts +1 -1
  106. package/dist/hooks/magic-context/compartment-runner-compressor.d.ts.map +1 -1
  107. package/dist/hooks/magic-context/compartment-runner-drop-queue.d.ts +1 -1
  108. package/dist/hooks/magic-context/compartment-runner-drop-queue.d.ts.map +1 -1
  109. package/dist/hooks/magic-context/compartment-runner-incremental.d.ts +1 -0
  110. package/dist/hooks/magic-context/compartment-runner-incremental.d.ts.map +1 -1
  111. package/dist/hooks/magic-context/compartment-runner-recomp.d.ts.map +1 -1
  112. package/dist/hooks/magic-context/compartment-runner-types.d.ts +1 -1
  113. package/dist/hooks/magic-context/compartment-runner-types.d.ts.map +1 -1
  114. package/dist/hooks/magic-context/compartment-trigger.d.ts +1 -1
  115. package/dist/hooks/magic-context/compartment-trigger.d.ts.map +1 -1
  116. package/dist/hooks/magic-context/execute-flush.d.ts +1 -1
  117. package/dist/hooks/magic-context/execute-flush.d.ts.map +1 -1
  118. package/dist/hooks/magic-context/execute-status.d.ts +1 -1
  119. package/dist/hooks/magic-context/execute-status.d.ts.map +1 -1
  120. package/dist/hooks/magic-context/historian-state-file.d.ts +29 -0
  121. package/dist/hooks/magic-context/historian-state-file.d.ts.map +1 -0
  122. package/dist/hooks/magic-context/hook.d.ts.map +1 -1
  123. package/dist/hooks/magic-context/inject-compartments.d.ts +1 -1
  124. package/dist/hooks/magic-context/inject-compartments.d.ts.map +1 -1
  125. package/dist/hooks/magic-context/note-nudger.d.ts +1 -1
  126. package/dist/hooks/magic-context/note-nudger.d.ts.map +1 -1
  127. package/dist/hooks/magic-context/nudge-placement-store.d.ts +1 -1
  128. package/dist/hooks/magic-context/nudge-placement-store.d.ts.map +1 -1
  129. package/dist/hooks/magic-context/read-session-chunk.d.ts +39 -0
  130. package/dist/hooks/magic-context/read-session-chunk.d.ts.map +1 -1
  131. package/dist/hooks/magic-context/read-session-db.d.ts +1 -1
  132. package/dist/hooks/magic-context/read-session-db.d.ts.map +1 -1
  133. package/dist/hooks/magic-context/read-session-raw.d.ts +1 -1
  134. package/dist/hooks/magic-context/read-session-raw.d.ts.map +1 -1
  135. package/dist/hooks/magic-context/send-session-notification.d.ts.map +1 -1
  136. package/dist/hooks/magic-context/system-prompt-hash.d.ts +6 -5
  137. package/dist/hooks/magic-context/system-prompt-hash.d.ts.map +1 -1
  138. package/dist/hooks/magic-context/transform-postprocess-phase.d.ts.map +1 -1
  139. package/dist/hooks/magic-context/transform.d.ts.map +1 -1
  140. package/dist/index.js +8284 -8166
  141. package/dist/plugin/hooks/create-session-hooks.d.ts.map +1 -1
  142. package/dist/plugin/messages-transform.d.ts +1 -1
  143. package/dist/plugin/rpc-handlers.d.ts +4 -0
  144. package/dist/plugin/rpc-handlers.d.ts.map +1 -1
  145. package/dist/plugin/tool-registry.d.ts.map +1 -1
  146. package/dist/shared/conflict-detector.d.ts.map +1 -1
  147. package/dist/shared/data-path.d.ts +22 -0
  148. package/dist/shared/data-path.d.ts.map +1 -1
  149. package/dist/shared/harness.d.ts +43 -0
  150. package/dist/shared/harness.d.ts.map +1 -0
  151. package/dist/shared/rpc-notifications.d.ts +4 -2
  152. package/dist/shared/rpc-notifications.d.ts.map +1 -1
  153. package/dist/shared/sqlite-helpers.d.ts +16 -0
  154. package/dist/shared/sqlite-helpers.d.ts.map +1 -0
  155. package/dist/shared/sqlite.d.ts +55 -0
  156. package/dist/shared/sqlite.d.ts.map +1 -0
  157. package/dist/shared/subagent-runner.d.ts +202 -0
  158. package/dist/shared/subagent-runner.d.ts.map +1 -0
  159. package/dist/shared/tag-transcript.d.ts +66 -0
  160. package/dist/shared/tag-transcript.d.ts.map +1 -0
  161. package/dist/shared/transcript-opencode.d.ts +71 -0
  162. package/dist/shared/transcript-opencode.d.ts.map +1 -0
  163. package/dist/shared/transcript.d.ts +212 -0
  164. package/dist/shared/transcript.d.ts.map +1 -0
  165. package/dist/shared/tui-config.d.ts.map +1 -1
  166. package/dist/tools/ctx-memory/tools.d.ts.map +1 -1
  167. package/dist/tools/ctx-memory/types.d.ts +13 -2
  168. package/dist/tools/ctx-memory/types.d.ts.map +1 -1
  169. package/dist/tools/ctx-note/tools.d.ts +8 -2
  170. package/dist/tools/ctx-note/tools.d.ts.map +1 -1
  171. package/dist/tools/ctx-reduce/tools.d.ts +1 -1
  172. package/dist/tools/ctx-reduce/tools.d.ts.map +1 -1
  173. package/dist/tools/ctx-search/tools.d.ts.map +1 -1
  174. package/dist/tools/ctx-search/types.d.ts +8 -2
  175. package/dist/tools/ctx-search/types.d.ts.map +1 -1
  176. package/dist/tui/data/context-db.d.ts.map +1 -1
  177. package/package.json +7 -5
  178. package/src/shared/conflict-detector.test.ts +44 -1
  179. package/src/shared/conflict-detector.ts +24 -8
  180. package/src/shared/data-path.test.ts +53 -1
  181. package/src/shared/data-path.ts +28 -0
  182. package/src/shared/harness.ts +61 -0
  183. package/src/shared/rpc-notifications.ts +11 -5
  184. package/src/shared/sqlite-helpers.ts +27 -0
  185. package/src/shared/sqlite.ts +91 -0
  186. package/src/shared/subagent-runner.ts +206 -0
  187. package/src/shared/tag-transcript.ts +541 -0
  188. package/src/shared/transcript-opencode.ts +259 -0
  189. package/src/shared/transcript.ts +226 -0
  190. package/src/shared/tui-config.ts +34 -8
  191. package/src/tui/data/context-db.ts +5 -1

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.