@khalilgharbaoui/opencode-claude-code-plugin 0.53.1 → 0.53.2
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/dist/index.js +23 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/skills/claude-code-plugin/SKILL.md +5 -2
package/package.json
CHANGED
|
@@ -823,9 +823,12 @@ opencode 2 uses different envelopes and the plugin's tool descriptions follow th
|
|
|
823
823
|
there a background dispatch answers in prose,
|
|
824
824
|
`The subagent is working in the background (sessionID: ses_...)`, and the completion
|
|
825
825
|
arrives as `<subagent sessionID="..." state="completed" description="...">`. The
|
|
826
|
-
`sessionID` is the `task_id
|
|
826
|
+
`sessionID` is the `task_id`, and a cancel pushes the same envelope with
|
|
827
|
+
`state="cancelled"`. Both extra tools work on both majors (on opencode 2 over
|
|
827
828
|
`session.context` and `session.interrupt`, the session routes a plugin is given there);
|
|
828
|
-
verified live on 2.0.16.
|
|
829
|
+
verified live on 2.0.22, and before that on 2.0.16. With `subagentDispatch: "ask"` a
|
|
830
|
+
background dispatch is held for the same form a foreground one is and the answer reaches
|
|
831
|
+
the background child's own spawn, with the dispatch itself unchanged.
|
|
829
832
|
|
|
830
833
|
Without it, opencode rejects a `background: true` call outright
|
|
831
834
|
(`Background subagents require OPENCODE_EXPERIMENTAL_BACKGROUND_SUBAGENTS=true`), losing
|