Skip to content

Add a slash command for toggling auto-approve permissions (e.g. /auto) #47579

Closed as not planned

Description

@iSchoen

In v1.18.29, the TUI command registry includes permission.mode ("Enable/Disable auto-approve permissions"), but it's the only toggle in its category without a slashName, so it's reachable only through the command palette:

// other toggles are dual-reachable:
{ name: "theme.switch", slashName: "themes", ... }
{ name: "model.list", slashName: "models", ... }

// this one is palette-only:
{ name: "permission.mode", ... }

There's also no keybind action for it, so it can't be remapped via tui.json, and no config option to default auto mode on — only the --auto CLI flag at launch.

Suggestion: add slashName: "auto" to the permission.mode command (aliases like yolo could work too). Exposing it as a keybind action (e.g. permission_mode) would also fit the existing keybinds config.

Happy to open a PR if this seems reasonable.

Activity

  1. github-actions commented on Sep 6, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • Feature requests should use the Feature Request template, which requires a verification checkbox confirming the feature hasn't been suggested before, and the title should start with [FEATURE]:

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


    This issue might be a duplicate of existing issues. Please check:


    Since this issue also touches keybind actions, please check our pinned keybinds documentation: #4997

    If you believe this was flagged incorrectly, please let a maintainer know.

  2. iSchoen commented on Sep 6, 2026

    @iSchoen
    Author

    Closing as a duplicate of #41909, which tracks the same request (runtime slash-command toggle for permission approval mode) and is already maintainer-endorsed. The keybind half is tracked in #40331. I've added the implementation notes from this issue (the existing permission.mode TUI command just needs a slashName) to #41909.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

needs:complianceThis means the issue will auto-close after 2 hours.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions