anomalyco / anomalyco/opencode

[web] Auto-approve permissions setting in Settings UI does not respond when clicked/tapped

Open Beginner friendly
#49,721 1 comment 0 reactions 0 assignees View on GitHub

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
  1. Start opencode web and open it in a browser.
  2. Open Settings.
  3. Find the auto-approve / auto-accept permissions option.
  4. 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 strings toast.permissions.autoaccept.on/off and command.permissions.autoaccept.enable/disable. The UI control appears not to update/commit the value when interacted with in the web client.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.