Skip to content

[FEATURE]: Mini Mode: adding configuration option in cli.json to allow build/plan mode switching through key-binding #54236

Description

@kachunchan-analytics

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

Mini Mode: adding configuration option in cli.json to allow build/plan mode switching through key-binding

Right now it is not supported. Switching between agent type is painful

Activity

  1. opencode-agent commented on Oct 10, 2026

    @opencode-agent
    Contributor

    Thanks for the suggestion, @kachunchan-analytics!

    To restate it: you'd like a key binding in Mini Mode (opencode --mini), configurable in cli.json, that switches between primary agents such as build and plan, like shift+tab (agent.cycle) does in the full TUI.

    You're right that it isn't supported right now. Mini mode doesn't register the agent.cycle / agent.cycle.reverse commands, so binding them under keybinds in cli.json has no effect there. Until something changes, the only way to switch agents in mini mode is the command palette: press ctrl+p, choose Switch agent, then pick one from the list.

    This also can't be added with a plugin today, because mini mode doesn't load TUI plugins that could register a key binding.

    Maintainers will consider the request. Related issues:

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

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