anomalyco / anomalyco/opencode
[FEATURE]: Expose per-session automatic approval through ACP
@jlongster is already working on this.
Since Sep 8, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
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
Please expose reversible, per-session automatic approval (Yolo) through ACP configOptions and session/set_config_option, while respecting explicit deny rules.
Tested the official Windows v1.18.29 binary with isolated default and permission: "ask" profiles. initialize and session/new succeed; fresh sessions expose only model and mode (build/plan). Those modes switch successfully, but auto/yolo return -32602; no approval option is advertised.
ACP clients could then offer On/Off without changing global configuration or restarting OpenCode. Unlike anomalyco/opencode#28926, this request is session-scoped.
Additionally, this request is specifically requiring ACP configOptions/session/set_config_option exposure rather than a slash command.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.