Watch
0
0
Fork
You've already forked hyperhive
0

swarm ui: say what a subagent's age counts from, and the list's two lookup passes

A running status shows 'running since', a stale one shows no age, since its
time is when the run began. The reference now says the status reads and the row
lookups are two passes, so the list waits up to four seconds in all.
This commit is contained in:
iris 2026-11-15 15:38:28 +01:00 • committed by mara
commit c56faf9dff

View file

@ -579,9 +579,11 @@ also carries the `Swarm-Model` and `Swarm-Effort` message headers, the model
and effort the subagent runs with, and the list returns them from the newest
row as `model` and `effort`. A subagent on the default model has no
`Swarm-Model` header and lists `model: null`; every row has the headers, so a
subagent that runs past the 24-hour window still shows them. The lookups run
concurrently, sixteen at a time, so the list waits at most two seconds for
each sixteen subagents.
subagent that runs past the 24-hour window still shows them. The status reads
come first, then the row lookups for the subagents that have no status. Each
pass runs its lookups concurrently, sixteen at a time, so the list waits at
most two seconds for each sixteen subagents in each pass, and at most four
seconds in all.
swarm-controller also relays one subagent's rows as SSE on
`GET /api/agents/<name>/subagents/<subagent>/term/stream`. Like the agent's
terminal route below, it creates a short-lived consumer on that stream, here