Skip to content

[FEATURE]: Add configurable TUI keybind for auto-approve permissions #40331

Description

@CasualDeveloper

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

The TUI supports toggling auto-approve permissions through the permission.mode command added in #33279, but that command cannot currently be assigned a key in tui.json.

#7928 requested broader permission-mode cycling without implementing a keybind. Open PR #12633 is related, but proposes separate persisted state, a default Shift+Tab binding, edit-only behavior, and permission-default changes.

Add app_toggle_auto_approve_permissions with a default of none, map it to the existing permission.mode command, and register that command with the global TUI bindings. This adds configuration without changing permission behavior, persistence, or default shortcuts. Keeping the default unbound preserves current behavior while allowing users to opt in.

Process: human-directed and reviewed, with agentic assistance from openai/gpt-5.6-sol/high.

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