@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@khalilgharbaoui/opencode-claude-code-plugin",
3
- "version": "0.53.1",
3
+ "version": "0.53.2",
4
4
  "description": "Claude Code CLI provider plugin for opencode",
5
5
  "homepage": "https://opencode-claude-code-plugin.dev/",
6
6
  "funding": {
@@ -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`. Both extra tools work on both majors (on opencode 2 over
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