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

Closed
opened 2026-02-16 17:34:41 -05:00 by yindo · 5 comments
Owner

Originally created by @john-mutuma on GitHub (Oct 21, 2025).

Originally assigned to: @rekram1-node on GitHub.

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

Originally created by @john-mutuma on GitHub (Oct 21, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description While working with opencode ACP integration, e.g. with [Avante.nvim](https://github.com/yetone/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 ```json { "$schema": "https://opencode.ai/config.json", "permission": { "edit": "ask", "bash": "ask" } } ``` 2. Prompt to have the tool invoked e.g. edit a test.txt to add some testing text. ### Screenshot and/or share link <img width="858" height="490" alt="Screenshot 2025-10-21 at 17 42 29" src="https://github.com/user-attachments/assets/e3778c5a-d561-4740-abc5-3d12eb0d1bc6" /> ### Operating System macOS ### Terminal Ghostty
yindo added the bug label 2026-02-16 17:34:41 -05:00
yindo closed this issue 2026-02-16 17:34:41 -05:00
Author
Owner

@rekram1-node commented on GitHub (Oct 21, 2025):

thanks for creating issue!

@rekram1-node commented on GitHub (Oct 21, 2025): thanks for creating issue!
Author
Owner

@rekram1-node commented on GitHub (Oct 21, 2025):

I'll take a look when I get the chance but if anyone else wants to take a look just comment here and u can take it

@rekram1-node commented on GitHub (Oct 21, 2025): I'll take a look when I get the chance but if anyone else wants to take a look just comment here and u can take it
Author
Owner

@john-mutuma commented on GitHub (Oct 21, 2025):

Remote Related: https://github.com/yetone/avante.nvim/issues/2791#issue-3537267230

@john-mutuma commented on GitHub (Oct 21, 2025): Remote Related: https://github.com/yetone/avante.nvim/issues/2791#issue-3537267230
Author
Owner

@yetone commented on GitHub (Oct 21, 2025):

fixed in this PR: https://github.com/sst/opencode/pull/3336

@yetone commented on GitHub (Oct 21, 2025): fixed in this PR: https://github.com/sst/opencode/pull/3336
Author
Owner

@rekram1-node commented on GitHub (Oct 25, 2025):

should be fixed in next release, 0.15.17 (not released yet)

@rekram1-node commented on GitHub (Oct 25, 2025): should be fixed in next release, 0.15.17 (not released yet)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2213