Feature hasn't been suggested before.
Describe the bug
On the OpenCode desktop app (Windows 11, v1.18.15), the "Auto-approve requests" (auto-approve permissions) toggle in Settings cannot be turned on: clicking it does nothing / it stays off or greyed out.
Additionally, the toggle's state does not persist to ~/.config/opencode/opencode.jsonc (no permission-related change is written), so there is no way to enable auto-approval from the desktop UI.
Manually adding "permission": { "*": "allow" } to the global config file also still results in permission prompts for some actions (e.g. external directory access / doom-loop detection are ask by default and the UI has no way to change them).
Expected behavior
- The Settings toggle should turn on/off and persist (either to
opencode.jsonc or app-local settings).
- Turning it on should behave like
--auto mode (auto-approve requests that are not explicitly denied).
Environment
- OS: Windows 11
- App: OpenCode Desktop v1.18.15
Feature hasn't been suggested before.
Describe the bug
On the OpenCode desktop app (Windows 11, v1.18.15), the "Auto-approve requests" (auto-approve permissions) toggle in Settings cannot be turned on: clicking it does nothing / it stays off or greyed out.
Additionally, the toggle's state does not persist to
~/.config/opencode/opencode.jsonc(no permission-related change is written), so there is no way to enable auto-approval from the desktop UI.Manually adding
"permission": { "*": "allow" }to the global config file also still results in permission prompts for some actions (e.g. external directory access / doom-loop detection areaskby default and the UI has no way to change them).Expected behavior
opencode.jsoncor app-local settings).--automode (auto-approve requests that are not explicitly denied).Environment