Skip to content

Add an Agents panel default that launches the selected tab - #10780

Open
itsMrRobot wants to merge 1 commit into
omacom:quattrofrom
itsMrRobot:feat/agents-panel-default
Open

Add an Agents panel default that launches the selected tab#10780
itsMrRobot wants to merge 1 commit into
omacom:quattrofrom
itsMrRobot:feat/agents-panel-default

Conversation

@itsMrRobot

@itsMrRobot itsMrRobot commented Sep 8, 2026

Copy link
Copy Markdown

Summary

Adds Agents panel as a default-agent choice so launch follows the subscription currently selected in the agents bar widget, instead of pinning one CLI.

Today, Super+Shift+Ctrl+A and a right-click on the agents icon always run omarchy-agent --pick, which launches whatever is in ~/.config/omarchy/defaults/agent. Switching tabs in the panel does not change that. This keeps that keybind and that command, and adds a sentinel default:

  • Setup → Defaults → Agent → Agents panel (listed first) writes agents-panel to the default-agent file. It is not a CLI and does not go through mise.
  • The agents widget persists the selected tab to ~/.local/state/omarchy/agents/selected.
  • When the default is agents-panel, omarchy-agent --pick launches that tab's CLI. A missing, empty, or usage-only tab (e.g. Fireworks) still opens the picker.

Related but opposite: #6860 opens the panel on the configured default agent. This PR is the other direction — launch follows the panel tab when you opt into it.

How to try it

  1. Open Setup → Defaults → Agent and choose Agents panel.
  2. Left-click the agents bar icon, switch to Claude (or Codex, etc.).
  3. Right-click the icon, or press Super+Shift+Ctrl+A.
  4. The selected CLI launches. Switching tabs and launching again follows the new tab.

Pinning a specific agent still works as before; only the new Agents panel entry follows the widget.

Tests

  • bash test/shell.d/default-agent-test.sh
  • bash test/shell.d/agents-panel-test.sh
  • bash test/shell.d/menu-test.sh
  • ./test/all — CLI suite passed.

Visual check: Default Agent menu lists Agents panel first, with the existing coding agents after it.

Setup → Defaults → Agent → Agents panel records a sentinel instead of
pinning one CLI. The bar widget persists the selected subscription, and
omarchy-agent --pick (Super+Shift+Ctrl+A and the panel right-click)
launches that CLI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant