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
[Bug] Auto-approve permissions toggle resets to OFF after restart #27487
The "Auto-approve permissions" toggle in OpenCode Desktop General settings does not persist. After turning it ON, the setting reverts to OFF upon app restart or when opening a different workspace.
Reproduction Steps
Open OpenCode Desktop
Go to Settings → General
Turn ON "Auto-approve permissions" (権限を自動承認する)
Quit and restart the app, or switch to another workspace
I inspected the settings file default.dat and found that settings.v3 contains:
"permissions":{"autoApprove":false}
This value remains false even after toggling the setting ON in the UI. The UI change does not appear to be persisted to the settings file, or it is being overwritten on the next read.
Workaround
Manually editing default.dat to set "autoApprove":true works temporarily, but the setting may revert again if the underlying bug is not fixed.
Expected Behavior
The toggle state should be persisted across app restarts and workspace switches.
Activity
github-actions commentedon Jul 14, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.