Watch
0
0
Fork
You've already forked hyperhive
0

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:
iris 2026-11-22 23:34:11 +01:00 • committed by mara
commit ab329e5793

View file

@ -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";