You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Expose per-session automatic approval through ACP #47918
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 #28926, this request is session-scoped.
Additionally, this request is specifically requiring ACP configOptions/session/set_config_option exposure rather than a slash command.
If your request is meaningfully different (e.g., specifically requiring ACP configOptions/session/set_config_option exposure rather than a slash command), please clarify the distinction in your issue.
If your request is meaningfully different (e.g., specifically requiring ACP configOptions/session/set_config_option exposure rather than a slash command), please clarify the distinction in your issue.
Thanks for the detailed request! To restate it: you'd like ACP sessions to advertise a reversible, per-session automatic approval option in configOptions, toggled with session/set_config_option, that approves everything except what's explicitly denied. That way ACP clients can offer an On/Off switch without changing global config or restarting OpenCode.
You tested v1.18.29. v1 only gets critical fixes, but this request applies to v2 as well. v2's ACP agent currently only advertises model, effort (for models that have variants) and mode. v2 does have opencode --auto, which auto-approves permissions that aren't explicitly denied, but it applies to the whole process rather than to one session and can't be toggled from an ACP client.
I've marked this as a feature request for the maintainers to consider. A plugin can't cover it, because plugins can't add ACP session config options.
Activity
github-actions commentedon Sep 8, 2026
This issue might be a duplicate of an existing issue. Please check:
If your request is meaningfully different (e.g., specifically requiring ACP
configOptions/session/set_config_optionexposure rather than a slash command), please clarify the distinction in your issue.SANTHOSHKUMAR-303 commentedon Sep 8, 2026
I want to work on this issue can assign this to me
DinahK-2SO commentedon Sep 20, 2026
Yes it it.
opencodejr commentedon Oct 28, 2026
Thanks for the detailed request! To restate it: you'd like ACP sessions to advertise a reversible, per-session automatic approval option in
configOptions, toggled withsession/set_config_option, that approves everything except what's explicitly denied. That way ACP clients can offer an On/Off switch without changing global config or restarting OpenCode.You tested v1.18.29. v1 only gets critical fixes, but this request applies to v2 as well. v2's ACP agent currently only advertises
model,effort(for models that have variants) andmode. v2 does haveopencode --auto, which auto-approves permissions that aren't explicitly denied, but it applies to the whole process rather than to one session and can't be toggled from an ACP client.I've marked this as a feature request for the maintainers to consider. A plugin can't cover it, because plugins can't add ACP session config options.
Related: