Skip to content

feat: add /yolo toggle to auto-approve permissions in TUI #256

Description

@fakecore

Problem

In interactive TUI mode, permission prompts (bash, edit, read) interrupt workflow. --dangerously-skip-permissions only works for the headless run command — there is no way to skip permission prompts in the TUI.

Proposed Solution

Add a /yolo slash command and --yolo CLI flag that auto-approves all permission requests in the TUI. Explicit deny rules in config remain respected.

This mirrors the approach in upstream anomalyco/opencode#11831 and PR anomalyco/opencode#27855.

Use Cases

  • Power users who trust the agent and want uninterrupted sessions
  • Rapid prototyping where speed matters more than review
  • Developers stepping away while the agent works

Metadata

Metadata

Assignees

No one assigned

    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