Skip to content

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

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

Activity

  1. rekram1-node commented on Oct 21, 2025

    @rekram1-node
    Collaborator

    thanks for creating issue!

  2. self-assigned this
    on Oct 21, 2025
  3. rekram1-node commented on Oct 21, 2025

    @rekram1-node
    Collaborator

    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

  4. changed the title [-][ACP] Tools that with `ask` permision hang when invoked[/-] [+][ACP] Tools that have `ask` permision hang when invoked[/+] on Oct 21, 2025
  5. john-mutuma commented on Oct 21, 2025

    @john-mutuma
    Author
  6. yetone commented on Oct 21, 2025

    @yetone
    Contributor

    fixed in this PR: #3336

  7. rekram1-node commented on Oct 25, 2025

    @rekram1-node
    Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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