Repository navigation
Workspace "+" button: a menu to start a Terminal, Claude Code, Agy, … #871
Replies: 2 comments 2 replies
|
I built this in my fork to try it out: NaikSoftware#2
|
|
I'm not going to add this one. A "+" menu of agents puts a list of agent names, their logos and PATH probing into the app, and I keep agent-specific integration outside of it, in hooks, recipes and the keymap. Each new agent would then need a release and a brand asset, and your fork already hardcodes five. the part you need already works with a custom command. One line per agent in it opens a new session in the current workspace and folder and starts for the mouse path, turn on the Custom commands title-bar button in Settings ▸ Interface. It lists every keymap command and runs one on click, with the ones you use most on top. That came out of the same kind of request in #570, where I turned down keymap-defined toolbar buttons for the same reason. for the agent logo on a row, Extend agterm covers the model, and the agent skill (Help ▸ Install Agent Skill…) writes lines like the one above if you ask the agent in your session for them. |


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
The + button on a workspace row opens a plain shell. Most of my new sessions start a coding agent, so I type
claudeafter almost every click.Proposal
Turn + into a menu of session kinds:
I see two ways to open the menu:
In both options, the new session opens in the same workspace and folder as a Terminal does, and runs the chosen command.
Where the list comes from
I would not hardcode agent names. One option is a new keymap entry, for example:
The menu then shows Terminal first and these entries after it.
agterm could also fill the list itself. It could check which known agents (
claude,codex,agy,opencode, …) are installed in the user'sPATHand show only those. Then the menu works with no setup, and it never offers an agent that is not installed. On the control side, something likeagtermctl session new --kind "Claude Code"could start an entry by name.Why not a custom command
A custom command with
agtermctl session new --command claudealready does this from the keyboard. The + menu adds a mouse path in the place where people already create sessions, and it makes the agent choices visible without readingkeymap.conf.All reactions