-
Notifications
You must be signed in to change notification settings - Fork 9k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
the reject (with reason) for subagent permission checks works fine if subagent is asking for permission for a single tool call, but it bugs out and terminates the execution (of subagent) if there are multiple stacked permission prompts.
Plugins
NA
OpenCode version
1.1.49
Steps to reproduce
to simulate the issue:
- make sure you have permissions set in the config or else general have all the access.
- ask the main agent to use the general subagent to make some tool calls which all or atleast some requires permission.
- reject any one with a reason.
- the subagent session immediately terminates and main agent acknowledges that the subagent is not responding and sometimes it will run the tools itself or spawn another subagent session.
Screenshot and/or share link
screen recording of the bug
subagent_reject_multiple_issue_compressed.mp4
recorded sessions share link: https://opncd.ai/share/GjKq5gFf
Operating System
Omarchy
Terminal
Ghostty
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working