@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.
- package/README.md +2 -2
- package/dist/features/magic-context/dreamer/lease.d.ts +1 -0
- package/dist/features/magic-context/dreamer/lease.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/runner.d.ts.map +1 -1
- package/dist/features/magic-context/key-files/aft-availability.d.ts +11 -0
- package/dist/features/magic-context/key-files/aft-availability.d.ts.map +1 -0
- package/dist/features/magic-context/key-files/identify-key-files.d.ts +45 -0
- package/dist/features/magic-context/key-files/identify-key-files.d.ts.map +1 -1
- package/dist/features/magic-context/key-files/project-key-files.d.ts +42 -0
- package/dist/features/magic-context/key-files/project-key-files.d.ts.map +1 -0
- package/dist/features/magic-context/key-files/read-history.d.ts +26 -0
- package/dist/features/magic-context/key-files/read-history.d.ts.map +1 -0
- package/dist/features/magic-context/migrations.d.ts.map +1 -1
- package/dist/features/magic-context/overflow-detection.d.ts +1 -1
- package/dist/features/magic-context/sidekick/agent.d.ts.map +1 -1
- package/dist/features/magic-context/storage-db.d.ts +1 -0
- package/dist/features/magic-context/storage-db.d.ts.map +1 -1
- package/dist/features/magic-context/storage-meta-persisted.d.ts +8 -0
- package/dist/features/magic-context/storage-meta-persisted.d.ts.map +1 -1
- package/dist/features/magic-context/storage-meta.d.ts +1 -1
- package/dist/features/magic-context/storage-meta.d.ts.map +1 -1
- package/dist/features/magic-context/storage.d.ts +1 -1
- package/dist/features/magic-context/storage.d.ts.map +1 -1
- package/dist/hooks/auto-update-checker/cache.d.ts.map +1 -1
- package/dist/hooks/magic-context/boundary-execution.d.ts +24 -0
- package/dist/hooks/magic-context/boundary-execution.d.ts.map +1 -0
- package/dist/hooks/magic-context/event-handler.d.ts +1 -0
- package/dist/hooks/magic-context/event-handler.d.ts.map +1 -1
- package/dist/hooks/magic-context/hook.d.ts.map +1 -1
- package/dist/hooks/magic-context/key-files-block.d.ts +27 -0
- package/dist/hooks/magic-context/key-files-block.d.ts.map +1 -0
- package/dist/hooks/magic-context/read-session-db.d.ts +2 -0
- package/dist/hooks/magic-context/read-session-db.d.ts.map +1 -1
- package/dist/hooks/magic-context/system-prompt-hash.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform-context-state.d.ts +5 -2
- package/dist/hooks/magic-context/transform-context-state.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform-postprocess-phase.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform.d.ts +1 -0
- package/dist/hooks/magic-context/transform.d.ts.map +1 -1
- package/dist/index.js +1215 -641
- package/dist/plugin/hooks/create-session-hooks.d.ts.map +1 -1
- package/dist/shared/transcript.d.ts +2 -2
- package/package.json +1 -1
- 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;;;;;;
|
|
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 `@
|
|
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
|
-
* `@
|
|
172
|
+
* `@earendil-works/pi-ai`.
|
|
173
173
|
*/
|
|
174
174
|
export interface Transcript {
|
|
175
175
|
/** Ordered messages in the current pass. */
|
package/package.json
CHANGED
package/src/shared/transcript.ts
CHANGED
|
@@ -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 `@
|
|
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
|
-
* `@
|
|
184
|
+
* `@earendil-works/pi-ai`.
|
|
185
185
|
*/
|
|
186
186
|
export interface Transcript {
|
|
187
187
|
/** Ordered messages in the current pass. */
|