anomalyco / anomalyco/opencode
rejecting a tool call from a subagent that has made multiple tool calls requiring permission cancels the entire subagent
Open
@jlongster is already working on this.
Since Sep 8, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
steps to reproduce:
- start a subagent and tell it to run two tool calls/commands that you know will require permission
- wait for it to try to run both commands
- reject the first command and give feedback
expected:
it rejects the first command and moves onto asking permission for the second command
actual:
both commands and the entire subagent are rejected/canceled
Plugins
none
OpenCode version
1.18.20
Steps to reproduce
- start a subagent and tell it to run two tool calls/commands that you know will require permission
- wait for it to try to run both commands
- reject the first command and give feedback
Screenshot and/or share link
i only rejected the first of these terminal calls. it canceled the entire agent.
Operating System
macOS 26.6.2
Terminal
ghostty
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.