Skip to content

[ACP] Tools that have ask permision hang when invoked #3332

@john-mutuma

Description

@john-mutuma

Description

While working with opencode ACP integration, e.g. with Avante.nvim, there is no Approve/Reject UI to grant/deny permissions to tools execution when there are tools with set permission to ask in opencode config.

The AI Assistant just hangs waiting for my approval for the tool calling. No UI shows up for that interaction.

OpenCode version

0.15.1

Steps to reproduce

  1. Require Ask permission for a tool e.g. edit
{
  "$schema": "https://opencode.ai/config.json",
  "permission": {
    "edit": "ask",
    "bash": "ask"
  }
}
  1. Prompt to have the tool invoked e.g. edit a test.txt to add some testing text.

Screenshot and/or share link

Screenshot 2025-10-21 at 17 42 29

Operating System

macOS

Terminal

Ghostty

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions