swarm ui: an open todos section on the agent card
This commit is contained in:
parent
b239500f88
commit
fa2a75d499
2 changed files with 200 additions and 12 deletions
|
|
@ -29,6 +29,10 @@ declared state, destroy included. A card shows **updating** while the hive
|
|||
updates the agent, from the moment the update stops its container until the
|
||||
container is back up, so the stopped agent doesn't read as lost.
|
||||
|
||||
An agent's card also lists its **open todos**: what each says, which part of the
|
||||
system raised it and how long ago. The list is read only and follows the agent's
|
||||
own within a few seconds.
|
||||
|
||||
Type `/` in an agent's message box and a menu lists what that agent accepts:
|
||||
the swarm's own commands (`/compact`, `/clear-todos`) and the skills the
|
||||
agent's harness published. Arrow keys move, Tab completes, Esc closes. Skills
|
||||
|
|
|
|||
|
|
@ -98,8 +98,8 @@ and config PR. While the agent list loads for the first time, the page shows gre
|
|||
placeholder cards with the same layout as the real ones, so the cards don't jump
|
||||
when the data arrives. The placeholders stand still where motion is off.
|
||||
|
||||
An opened card has four sections, and each reads nothing until you open it.
|
||||
**status** and **terminal** start open, the other two folded:
|
||||
An opened card has six sections, and each reads nothing until you open it.
|
||||
**status** and **terminal** start open, the other four folded:
|
||||
|
||||
- **status**: how fresh the agent's last report is (with its age), its turn state, context and cost, its hive, links to its
|
||||
profile and its config repo on the swarm's forge (built from the forge entry
|
||||
|
|
@ -109,7 +109,10 @@ An opened card has four sections, and each reads nothing until you open it.
|
|||
- **terminal**: the live terminal with its message box. Typing `/` opens a menu
|
||||
filled from `GET /api/agents/<name>/commands`, which lists the swarm's own
|
||||
commands and the skills the agent published.
|
||||
- **open todos**: the agent's 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.
|
||||
- **subagents**: the agent's subagents and their terminal preview (next section).
|
||||
- **background tasks**: the agent's bash tasks (see the section on them below).
|
||||
- **settings**: inference, instructions, resource caps, internet, allowed
|
||||
domains and permissions, then the agent's linked accounts and the menu that
|
||||
links another. Internet, allowed domains and permissions show a badge; select
|
||||
|
|
|
|||
Loading…
Reference in a new issue