Watch
0
0
Fork
You've already forked hyperhive
0

swarm-ui: open an agent's details in a dialog from its terminal tab

The terminal page gets an agent badge (icon and name) that opens the agent's detail panel in a dialog over the terminal, without the terminal preview. The panel body and the actions on an agent (declare a wanted state, link an account, with their confirm and form dialogs) move out of the agent roster page into AgentDetail and useAgentActions, so the roster and the dialog share them. AgentIcon moves to its own file for the same reason.
This commit is contained in:
iris 2026-10-11 23:55:15 +02:00
commit 103c842890
13 changed files with 639 additions and 464 deletions

View file

@ -38,6 +38,13 @@ A terminal's own tab takes the agent's icon as its browser-tab icon, so tabs of
different agents tell apart. A subagent's tab shows its agent's icon. An agent
with no icon keeps the hyperhive mark.
The tab also has an agent badge, with the agent's icon and name, ahead of the
connection badge. It opens the agent's details in a dialog over the terminal:
the same status, wanted state, inference settings and linked accounts as the
panel on `/agents`, without the terminal preview. You can stop or pause the
agent, or link an account, without leaving the terminal. A subagent's tab opens
its agent's details.
### Scheduled prompts
`/schedules` has one card per scheduled prompt. The **name** is the card's