Watch
0
0
Fork
You've already forked hyperhive
0

swarm-ui: fold an agent's long activity lists, and list subagents as rows

On a busy agent the activity section grew long: the todos and bash tasks
ran to dozens of rows, and the subagents were one wrapping line of badges.
Each list now shows its first five rows with a "show all N" button;
expanded, the rows scroll in a bounded box. The subagents are one row each
(name, model and effort, state and age), running first and the rest dimmed,
as in the menu on the terminal page, and a picked subagent stays in view
when the list is folded.
This commit is contained in:
iris 2026-11-23 18:14:26 +01:00
commit ef4c9214f7

View file

@ -195,7 +195,9 @@ starts open, the other five folded:
Its open todos from `GET /api/agents/<name>/todos`, newest first, each with
its subsystem, one line of text and how long ago it changed (read only,
refetched every ten seconds); its subagents and their terminal preview (next
section); and its bash tasks (see the section on them below).
section); and its bash tasks (see the section on them below). Each list
shows its first five rows with a **show all N** button under them; expanded,
the rows scroll inside a box and **show fewer** folds them again.
- **instructions**: the agent's AGENTS.md, as an editor you can type in.
- **inference**: how the agent thinks and what it costs: its model and effort
and the other inference settings, its resource caps, and the claude login and
@ -220,10 +222,12 @@ last 24 hours. Picking one shows its terminal in the same preview, and
**expand** opens it in its own tab, as it does for the agent. The list refreshes
every 10 seconds, so a subagent the agent spawns shows up once it writes output.
A subagent that drops out of the list closes its terminal, and a later subagent
with the same name starts unpicked. Each subagent in the list shows the model
and effort it runs, like `opus · high`, beside its name; one on the default
model shows only the effort. The `/agents/<name>/terminal` page's subagent list
shows them too.
with the same name starts unpicked. The list is one row per subagent, as in the
terminal page's menu: its name, the model and effort it runs, like `opus · high`
(one on the default model shows only the effort), and its state with an age. The
running ones come first, and the rest sit below them, dimmed. A subagent you
picked stays in view even when the rest fold away. The `/agents/<name>/terminal`
page's subagent list shows them too.
The preview carries only a small connection light and **expand**, so it stays
clear of the text. What the agent is doing shows in the identity card above it,