Skip to content

OpenCode: Subagent permission prompt is not displaying #505

@nicolaisingh

Description

@nicolaisingh

Checklist

  • I agree to communicate with the author myself (not AI-generated).
  • I've read the README's Filing issues section.
  • I'm running the latest versions (fill in below).
    • agent-shell version: 0.50.1
    • acp.el version: 0 .11.3
    • ACP package (e.g. claude-agent-acp) version:
    • Agent CLI (e.g. claude, gemini) version: OpenCode 1.3.16
  • For requesting new agent support, I'm including a link to the ACP-capable agent or related ACP package.
  • For issues, I'm including ACP traffic (as per README).

Issue

Whenever a subagent asks for permission to run a tool, it does not show up. It appears that the shell has hung but actually is awaiting user confirmation for the tool.

Example:
Image

OpenCode had a similar ticket and was already fixed (anomalyco/opencode#12133). I tried doing the same on OpenCode CLI and the issue does not occur.

Traffic

:direction incoming
:kind      notification
:object
           jsonrpc 2.0
           method  session/update
           params
                   sessionId ses_29e77cf6cffe613KBmp5DLInAm
                   update
                             sessionUpdate tool_call_update
                             toolCallId    call_0v00vq2g
                             status        in_progress
                             kind          other
                             title         task
                             locations
                             rawInput
                                           description   bd ready
                                           prompt        bd ready
                                           subagent_type beads-task-agent

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions