GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [FEATURE]: Enable question tool for ACP clients (Zed, etc.) · Issue #13752 · anomalyco/opencode

[FEATURE]: Enable question tool for ACP clients (Zed, etc.) #13752

New issue
Copy link
New issue
Copy link
Closed
Closed
[FEATURE]: Enable question tool for ACP clients (Zed, etc.)#13752
Copy link
Assignees
rekram1-node
Labels
discussionUsed for feature requests, proposals, ideas, etc. Open discussion

Description

@Leoyzen
Leoyzen
opened on Feb 15, 2026
Issue body actions

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Problem

When using OpenCode with ACP (Agent Client Protocol) compatible editors like Zed, the AI assistant cannot ask questions to the user. Questions get silently dropped, blocking interactive workflows.

Background

The question tool was previously disabled for ACP mode in PR #11379 due to issues with specific clients. However, this blanket disable causes a regression:

  • AI cannot ask clarifying questions ("Which test framework should I use?")
  • Users cannot make choices from predefined options
  • Flows requiring user input cannot complete

Current Behavior

AI: I'll create a test file for you. Which framework would you prefer?
[User sees nothing - question is silently ignored]
AI: [proceeds with random/default choice]

Expected Behavior

AI: I'll create a test file for you. Which framework would you prefer?
[Zed shows native permission dialog with options]
User selects "Vitest"
AI: [proceeds with Vitest test file]

Proposed Solution

Enable question support for ACP clients by mapping question events to the existing request_permission flow. This approach:

  1. Works immediately with existing ACP clients (no protocol changes)
  2. Uses native UI - clients display questions through their permission dialog UI
  3. Is future-proof - can migrate to ACP's upcoming Elicitation spec(RFD: Add Elicitation specification for structured user input agentclientprotocol/agent-client-protocol#376) later without breaking changes

Implementation

  1. Add "acp" to the QuestionTool client whitelist
  2. Implement question.asked event handler in ACP Agent
  3. Map question options to PermissionOption format
  4. Add "Cancel" option for dismissal

Scope

In scope:

  • Single-select questions (most common use case)
  • Mapping to native permission UI
  • Cancellation support

Out of scope (future work):

  • Text input questions
  • Multi-select questions
  • Custom form layouts

These limitations will be addressed when ACP's Elicitation specification (PR #376) is finalized.

Verification

Tests included in PR:

  • Question triggers permission request
  • Option mapping works correctly
  • Selection resolves to correct answer
  • Cancellation properly rejects

Related

  • Previous disable: PR fix: ensure ask question tool isn't included when using acp #11379
  • Community request for opt-in: Issue feat(acp): add opt-in flag for QuestionTool in ACP mod #13567, PR feat(acp): add opt-in flag for question tool #13562
Reacted by Toby Harris, Moritz Onken, kennyliu, Audrius Karosevicius, Maharshi Patel and Axel

Activity

  1. Leoyzen
    added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Feb 15, 2026
  2. github-actions
    assigned
    rekram1-node
    on Feb 15, 2026
  3. github-actions commented on Feb 15, 2026

    @github-actions
    github-actionsBot
    on Feb 15, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue appears to be a duplicate or closely related to #13567, which also requests enabling the question tool for ACP clients.

    Both issues are trying to solve the same root problem (questions being disabled for ACP clients like Zed after PR #11379), but propose different approaches:

    • feat(acp): add opt-in flag for QuestionTool in ACP mod #13567 proposes an opt-in environment flag for flexibility
    • [FEATURE]: Enable question tool for ACP clients (Zed, etc.) #13752 proposes mapping questions to the native permission UI

    Please review #13567 to avoid duplicate work. The maintainers may want to consider which approach is more appropriate, or whether both can be combined.

  4. Leoyzen commented on Feb 15, 2026

    @Leoyzen
    Leoyzen
    on Feb 15, 2026
    Author
    More actions

    The proposed effect in zed acp mode:

    Image
  5. github-actions commented on Apr 17, 2026

    @github-actions
    github-actionsBot
    on Apr 17, 2026 – with GitHub Actions
    Contributor
    More actions

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

  6. github-actions
    closed this as completedon Apr 17, 2026
  7. kennylbj commented on Apr 18, 2026

    @kennylbj
    kennylbj
    on Apr 18, 2026
    More actions

    Any progress on this thread?

    Reacted by Maxence, Dennis and Anh Dung Nguyen
  8. MrShash commented on May 4, 2026

    @MrShash
    MrShash
    on May 4, 2026
    More actions

    Is this resolved?

  9. JRedeker commented on May 24, 2026

    @JRedeker
    JRedeker
    on May 24, 2026
    Contributor
    More actions

    Would love to see this improvement for ACP!

  10. peterczg commented on Jun 4, 2026

    @peterczg
    peterczg
    on Jun 4, 2026
    More actions

    I really hope we can roll out this feature soon.

    Reacted by kennyliu, cwyalpha, Sioxas and Evan Luo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @rekram1-node
    rekram1-node

Labels

discussionUsed for feature requests, proposals, ideas, etc. Open discussion

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.