Skip to content

Desktop app: "Auto-approve requests" setting toggle cannot be turned on and does not persist #41069

Description

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request 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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions