fix(app): enable auto-accept keybind regardless of permission config by luisfelipesena · Pull Request #16259 · anomalyco/opencode

added 3 commits

March 5, 2026 22:21
The Cmd+Shift+A keybind for toggling auto-accept permissions was
permanently disabled when no permission prompt rules were configured.
The permissionsEnabled() check prevented the command from entering
the keymap, making the keybind dead for most users.

Remove the permissionsEnabled() gate from the disabled condition so
the keybind works whenever a session is active.
The @opentui/solid package moved its bun plugin export from
`scripts/solid-plugin` to `bun-plugin`. Also add a fallback for
`parser.worker.js` to check the root node_modules when the package
is hoisted in the monorepo.
The Cmd+Shift+A keybind was dead when no session was active or when
switching projects. Three changes:

1. Keybind now works on the "New session" screen by toggling
   auto-accept at the directory level (key: base64(dir)/*).
2. When config has `permission: "allow"`, auto-accept is enabled
   by default for that directory on first visit.
3. The chevron icon correctly reflects the active state on both
   "New session" and active session screens.

Removes the ephemeral `pendingAutoAccept` local state in favor of
the persisted directory-level auto-accept store.

qdddddd pushed a commit to qdddddd/opencode that referenced this pull request

Mar 7, 2026

@luisfelipesena @qdddddd