swarm ui: an agent's details are an identity card and sections by question
The details pane showed the agent's name, then status, message and wanted rows with no card, then a folded status section repeating the state, and a single settings section of eleven rows of different kinds. The pane now opens with one identity card: icon and name, the wanted menu, badges for freshness, turn state, context and a needed login, the whole status message, and the hive, links and config PR. Below it the folded sections answer one question each: terminal, activity (todos, subagents and background tasks together), instructions, inference (which now holds the claude login and API key), access, and accounts. The terminal page's popover shows the card without the name and the four settings sections.
This commit is contained in:
parent
9909e63c2d
commit
ab329e5793
1 changed files with 480 additions and 375 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// <BashTasksMenu> — the agent's background bash tasks as a badge in the terminal
|
||||
// header: a prompt icon and the number running, and the list of tasks (the same
|
||||
// one the agent card's "background tasks" section shows) in a popover under it.
|
||||
// one the details' activity section shows) in a popover under it.
|
||||
// Nothing shows for an agent with no tasks, and nothing before the first answer;
|
||||
// a failed fetch shows its reason in the open list.
|
||||
import { useRef, useState } from "preact/hooks";
|
||||
|
|
|
|||
Loading…
Reference in a new issue