Skip to content

Sub-agent's request for permission is not shown in the primary agent's view #4078

@arsham

Description

@arsham

Description

After delegating to a sub-agent, if the subagent requires user's permission on a tool, the permission is not shown and the user is not informed. You need to manually navigate to all subagents to check if they need any permissions.

OpenCode version

v1.0.45

Steps to reproduce

  1. Set the permissions to "ask"
  2. Ask the primary agent to delegate to a subagent and target the tool. For example: get the list of files in the home directory using bash tool.
  3. Wait and observe nothing is happening
  4. Navigate to the sub-agent's view to see the permission

Screenshot and/or share link

Primary agent's view, as you can see there are no indications of a sub-agent waiting:

Image

The view for the sub-agent:

Image

Operating System

Arch Linux

Terminal

foot

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions