anomalyco / anomalyco/opencode
[web] Auto-approve permissions setting in Settings UI does not respond when clicked/tapped
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
In the opencode web UI, the auto-approve / auto-accept permissions setting in the Settings page cannot be enabled. Clicking/tapping the toggle produces no response, and the setting never turns on, so every permission request still has to be approved manually.
Environment
- opencode version:
1.18.14 - Interface: opencode web (
opencode web) - Client: web browser (the issue is not platform-specific; it reproduces on desktop and mobile)
- Host: Linux (Ubuntu, kernel
6.8.0-139-generic)
Steps to reproduce
- Start
opencode weband open it in a browser. - Open Settings.
- Find the auto-approve / auto-accept permissions option.
- Click/tap it.
Expected
The toggle switches on and permission requests are auto-approved (with the corresponding "Auto-accepting permissions" state/toast).
Actual
Nothing happens on click/tap. The value does not change, no toast appears, and permission requests continue to require manual approval.
Impact
High: users cannot enable auto-approve from the web UI, forcing manual approval of every tool permission request.
Additional context
- Confirmed on
1.18.14. - The underlying setting key is
permissions.autoApprove(setAutoApprove), with corresponding stringstoast.permissions.autoaccept.on/offandcommand.permissions.autoaccept.enable/disable. The UI control appears not to update/commit the value when interacted with in the web client.
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.
Research direction
Start in the web Settings UI by tracing the auto-approve control to the permissions.autoApprove/setAutoApprove handler. Reproduce the click in opencode web and inspect the existing toast and command strings for the intended state changes. Done means the toggle updates, the corresponding toast appears, and permission requests follow the selected setting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 74/100