feat(acp): add opt-in flag for QuestionTool in ACP mod #9309

Closed
opened 2026-02-16 18:12:09 -05:00 by yindo · 0 comments
Owner

Originally created by @ImmuneFOMO on GitHub (Feb 14, 2026).

Originally assigned to: @rekram1-node on GitHub.

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
PR #11379 disabled QuestionTool for ACP globally.
That is safe by default, but it blocks ACP clients that do support interactive question prompts.
Proposal
Add an opt-in env flag for ACP:

  • OPENCODE_ENABLE_ACP_QUESTION_TOOL
  • default: disabled
  • enabled values: 1 / true
    Behavior:
  • app / cli / desktop: unchanged (question tool available)
  • acp + flag unset/0: question tool disabled
  • acp + flag 1/true: question tool enabled
    Example:
    OPENCODE_ENABLE_ACP_QUESTION_TOOL=1 opencode acp
    This keeps ACP default behavior safe while allowing custom ACP clients to opt in when they support interactive prompts.
Originally created by @ImmuneFOMO on GitHub (Feb 14, 2026). Originally assigned to: @rekram1-node on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request Problem PR #11379 disabled `QuestionTool` for ACP globally. That is safe by default, but it blocks ACP clients that *do* support interactive question prompts. Proposal Add an opt-in env flag for ACP: - `OPENCODE_ENABLE_ACP_QUESTION_TOOL` - default: disabled - enabled values: `1` / `true` Behavior: - `app` / `cli` / `desktop`: unchanged (question tool available) - `acp` + flag unset/0: question tool disabled - `acp` + flag 1/true: question tool enabled Example: `OPENCODE_ENABLE_ACP_QUESTION_TOOL=1 opencode acp` This keeps ACP default behavior safe while allowing custom ACP clients to opt in when they support interactive prompts.
yindo added the discussion label 2026-02-16 18:12:09 -05:00
yindo closed this issue 2026-02-16 18:12:09 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9309