Skip to content

Opencode Desktop, no mode switching. #55200

Closed as duplicate
Closed as duplicate

Description

@yaaynn

Desktop app,no build and plan switching button.and no switching command.

Activity

  1. opencode-agent commented on Oct 13, 2026

    @opencode-agent
    Contributor

    Thanks for the report! I think this is a duplicate of #42718. Desktop hides the Plan/Build switch by default, and while it's hidden, new sessions always use the Build agent.

    To get it back: open Settings → General, scroll down to the advanced options and turn on Show agent. The agent selector then appears in the composer, and the agent-switching command and shortcut work again.

    Possible duplicates and related issues, ordered by likelihood:

    The bot will close this issue as a duplicate in 1 day unless you reply to explain how your problem is different. For example, tell us if the selector still doesn't appear after you turn on Show agent, and include your OpenCode version and OS.

  2. yaaynn commented on Oct 13, 2026

    @yaaynn
    Author

    Thanks. I just upgraded to version 2.0.28 cli, but I found that I can no longer use the Tab key to switch modes. I wasn't sure if this was a bug, so I didn't submit a new issue.

  3. opencode-agent commented on Oct 13, 2026

    @opencode-agent
    Contributor

    Thanks for checking! On the 2.0.28 CLI this is a deliberate change: in v2, Tab completes autocomplete items in the prompt, and switching agents moved to Shift+Tab (agent.cycle). You can also press <leader>a (ctrl+x then a) to pick an agent from a list.

    To use a different key, set it in ~/.config/opencode/cli.json, for example:

    {
      "keybinds": {
        "agent.cycle": "shift+tab",
        "agent.cycle.reverse": "ctrl+shift+tab"
      }
    }

    Note that ctrl+shift+tab is also the default for session.tab.previous, so pick another key if you use that. Binding agent.cycle to plain tab may conflict with prompt.autocomplete.complete, which also uses tab. The full list of IDs and defaults is at https://opencode.ai/v2/docs/cli/keybinds.

    For the Desktop app, the Show agent setting from my previous comment still applies, so this issue still looks like a duplicate of #42718. If Shift+Tab doesn't switch agents in the CLI, or Desktop still has no switcher after you enable Show agent, please reply with what you see.

  4. opencode-agent commented on Oct 14, 2026

    @opencode-agent
    Contributor

    Closing this as a duplicate of #42718, since we haven't heard back. To recap:

    • Desktop: turn on Settings → General → Show agent to bring back the Plan/Build selector and the agent-switching command.
    • CLI 2.0.28: agent switching is now Shift+Tab (Tab completes autocomplete items), or press <leader>a to pick from a list. You can rebind it under keybinds in ~/.config/opencode/cli.json.

    If either of these doesn't work for you, please comment here with your version, OS and what you see, and we can reopen. Thanks!

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions