feat(acp): add opt-in flag for question tool (#13562)

Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
This commit is contained in:
ImmuneFOMO
2026-02-16 20:20:41 +00:00
committed by GitHub
parent 86e545a23e
commit 9d3c81a683
4 changed files with 14 additions and 1 deletions

View File

@@ -44,6 +44,16 @@ opencode acp
opencode acp --cwd /path/to/project
```
### Question Tool Opt-In
ACP excludes `QuestionTool` by default.
```bash
OPENCODE_ENABLE_QUESTION_TOOL=1 opencode acp
```
Enable this only for ACP clients that support interactive question prompts.
### Programmatic
```typescript