@cortexkit/opencode-magic-context 0.19.0 → 0.20.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 (44) hide show
  1. package/README.md +2 -2
  2. package/dist/features/magic-context/dreamer/lease.d.ts +1 -0
  3. package/dist/features/magic-context/dreamer/lease.d.ts.map +1 -1
  4. package/dist/features/magic-context/dreamer/runner.d.ts.map +1 -1
  5. package/dist/features/magic-context/key-files/aft-availability.d.ts +11 -0
  6. package/dist/features/magic-context/key-files/aft-availability.d.ts.map +1 -0
  7. package/dist/features/magic-context/key-files/identify-key-files.d.ts +45 -0
  8. package/dist/features/magic-context/key-files/identify-key-files.d.ts.map +1 -1
  9. package/dist/features/magic-context/key-files/project-key-files.d.ts +42 -0
  10. package/dist/features/magic-context/key-files/project-key-files.d.ts.map +1 -0
  11. package/dist/features/magic-context/key-files/read-history.d.ts +26 -0
  12. package/dist/features/magic-context/key-files/read-history.d.ts.map +1 -0
  13. package/dist/features/magic-context/migrations.d.ts.map +1 -1
  14. package/dist/features/magic-context/overflow-detection.d.ts +1 -1
  15. package/dist/features/magic-context/sidekick/agent.d.ts.map +1 -1
  16. package/dist/features/magic-context/storage-db.d.ts +1 -0
  17. package/dist/features/magic-context/storage-db.d.ts.map +1 -1
  18. package/dist/features/magic-context/storage-meta-persisted.d.ts +8 -0
  19. package/dist/features/magic-context/storage-meta-persisted.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.d.ts +1 -1
  23. package/dist/features/magic-context/storage.d.ts.map +1 -1
  24. package/dist/hooks/auto-update-checker/cache.d.ts.map +1 -1
  25. package/dist/hooks/magic-context/boundary-execution.d.ts +24 -0
  26. package/dist/hooks/magic-context/boundary-execution.d.ts.map +1 -0
  27. package/dist/hooks/magic-context/event-handler.d.ts +1 -0
  28. package/dist/hooks/magic-context/event-handler.d.ts.map +1 -1
  29. package/dist/hooks/magic-context/hook.d.ts.map +1 -1
  30. package/dist/hooks/magic-context/key-files-block.d.ts +27 -0
  31. package/dist/hooks/magic-context/key-files-block.d.ts.map +1 -0
  32. package/dist/hooks/magic-context/read-session-db.d.ts +2 -0
  33. package/dist/hooks/magic-context/read-session-db.d.ts.map +1 -1
  34. package/dist/hooks/magic-context/system-prompt-hash.d.ts.map +1 -1
  35. package/dist/hooks/magic-context/transform-context-state.d.ts +5 -2
  36. package/dist/hooks/magic-context/transform-context-state.d.ts.map +1 -1
  37. package/dist/hooks/magic-context/transform-postprocess-phase.d.ts.map +1 -1
  38. package/dist/hooks/magic-context/transform.d.ts +1 -0
  39. package/dist/hooks/magic-context/transform.d.ts.map +1 -1
  40. package/dist/index.js +1215 -641
  41. package/dist/plugin/hooks/create-session-hooks.d.ts.map +1 -1
  42. package/dist/shared/transcript.d.ts +2 -2
  43. package/package.json +1 -1
  44. package/src/shared/transcript.ts +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"create-session-hooks.d.ts","sourceRoot":"","sources":["../../../src/plugin/hooks/create-session-hooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAU7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AACrF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,wBAAgB,kBAAkB,CAAC,IAAI,EAAE;IACrC,GAAG,EAAE,aAAa,CAAC;IACnB,YAAY,EAAE,wBAAwB,CAAC;IACvC,gBAAgB,EAAE,gBAAgB,CAAC;CACtC;;;;;;qBAqDyvJ,CAAC;;;;;;;;;;;;qBAAh2C,CAAC;mBAAyB,CAAC;iBAAuB,CAAC;iBAAuB,CAAC;0BAAc,CAAC;uBAAiB,CAAC;;;;;;0BAAuttB,CAAC;;;;;;EAD9t0B"}
1
+ {"version":3,"file":"create-session-hooks.d.ts","sourceRoot":"","sources":["../../../src/plugin/hooks/create-session-hooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAU7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AACrF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,wBAAgB,kBAAkB,CAAC,IAAI,EAAE;IACrC,GAAG,EAAE,aAAa,CAAC;IACnB,YAAY,EAAE,wBAAwB,CAAC;IACvC,gBAAgB,EAAE,gBAAgB,CAAC;CACtC;;;;;;qBAqDsjJ,CAAC;;;;;;;;;;;;qBAA7pC,CAAC;mBAAyB,CAAC;iBAAuB,CAAC;iBAAuB,CAAC;0BAAc,CAAC;uBAAiB,CAAC;;;;;;0BAAuttB,CAAC;;;;;;EAD9t0B"}
@@ -22,7 +22,7 @@
22
22
  * 3. Lets the shared transform code (tagging, stripping, drops)
23
23
  * operate on `TranscriptPart` interface instances without caring
24
24
  * whether they're wrapping `Part` from `@opencode-ai/sdk` or
25
- * `TextContent | ToolCall | ThinkingContent` from `@mariozechner/pi-ai`.
25
+ * `TextContent | ToolCall | ThinkingContent` from `@earendil-works/pi-ai`.
26
26
  *
27
27
  * What this interface deliberately does NOT do:
28
28
  *
@@ -169,7 +169,7 @@ export interface TranscriptMessage {
169
169
  * messages-transform.ts, Pi's context-event handler). The shared
170
170
  * transform code receives a Transcript and operates only through this
171
171
  * interface — it never imports from `@opencode-ai/sdk` or
172
- * `@mariozechner/pi-ai`.
172
+ * `@earendil-works/pi-ai`.
173
173
  */
174
174
  export interface Transcript {
175
175
  /** Ordered messages in the current pass. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cortexkit/opencode-magic-context",
3
- "version": "0.19.0",
3
+ "version": "0.20.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",
@@ -22,7 +22,7 @@
22
22
  * 3. Lets the shared transform code (tagging, stripping, drops)
23
23
  * operate on `TranscriptPart` interface instances without caring
24
24
  * whether they're wrapping `Part` from `@opencode-ai/sdk` or
25
- * `TextContent | ToolCall | ThinkingContent` from `@mariozechner/pi-ai`.
25
+ * `TextContent | ToolCall | ThinkingContent` from `@earendil-works/pi-ai`.
26
26
  *
27
27
  * What this interface deliberately does NOT do:
28
28
  *
@@ -181,7 +181,7 @@ export interface TranscriptMessage {
181
181
  * messages-transform.ts, Pi's context-event handler). The shared
182
182
  * transform code receives a Transcript and operates only through this
183
183
  * interface — it never imports from `@opencode-ai/sdk` or
184
- * `@mariozechner/pi-ai`.
184
+ * `@earendil-works/pi-ai`.
185
185
  */
186
186
  export interface Transcript {
187
187
  /** Ordered messages in the current pass. */