Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/frontend/packages/swarm-ui/test
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris 447498fef7 swarm-ui: add a messages page for the swarm-wide message feed
/messages reads GET /api/messages/stream. A history select picks the window
(live only up to 24 hours) and a filter keeps the messages whose sender or
recipient contains the text. Each message is a row of the terminal list an
agent's terminal uses: one summary line with the time, the two parties and
the start of the body, and the whole body under it. The list follows the
newest message and holds the last 2000.

The feed has no event id, so a reconnect sends the history again. The page
empties its list each time the connection opens and fills it from the
replay, where the terminal stream hook, which keeps its rows across a
reconnect, would list every message twice.

The stream URL, filter, cap and row logic is in its own module with tests,
and docs/swarm/ui.md describes the page.
2026-10-18 18:19:30 +02:00
..
agent-types.test.mjs swarm UI: an agent that needs a Claude login shows it on its card 2026-10-14 20:07:46 +02:00
alerts.test.mjs swarm-ui: add a button to the alerts page that shows the pending, no-data and error instances 2026-10-18 13:29:52 +02:00
broadcast-types.test.mjs swarm-ui: retrying a broadcast shows the agents that failed, even ones the filter hides 2026-10-18 02:40:10 +02:00
builds-types.test.mjs swarm-ui: a builds page for the swarm builder's runs, and the status links to it 2026-10-18 01:26:45 +02:00
claude-login.test.mjs swarm UI: log an agent into claude from its card; the credentials go to bao and the agent picks them up 2026-10-15 13:26:29 +02:00
create-agent-archetype.test.mjs archetypes: build an archetype agent from its archetype's module on the hive 2026-10-17 16:27:21 +02:00
create-agent-permissions.test.mjs grant manage_root_agent by stored permission only, not by the name ruth 2026-10-17 08:10:08 +02:00
create-agents-md.test.mjs swarm-ui: let the create-agent form set the new agent's initial AGENTS.md 2026-10-18 15:59:19 +02:00
max-subagents.test.mjs allow a max_subagents of 0: no subagents for the agent 2026-10-15 22:00:00 +02:00
messages.test.mjs swarm-ui: add a messages page for the swarm-wide message feed 2026-10-18 18:19:30 +02:00
rain.test.mjs swarm-ui: the start page's rain follows the app's motion setting 2026-10-14 18:36:52 +02:00
routes.test.mjs swarm-ui: give every tab the wide body 2026-10-15 18:34:59 +02:00
ruth-missing.test.mjs grant manage_root_agent by stored permission only, not by the name ruth 2026-10-17 08:10:08 +02:00
settings-types.test.mjs swarm ui: one review page 2026-10-15 03:38:48 +02:00
subagent-list.test.mjs swarm-ui: a running-subagents menu in the full-screen terminal header 2026-10-18 01:46:49 +02:00
swarm-name.test.mjs swarm-ui: test the rain arithmetic and the swarm name loader 2026-10-14 18:36:52 +02:00
tryout-types.test.mjs review try-out: show why the open-PR button is disabled 2026-10-14 18:36:36 +02:00
unified-diff.test.mjs swarm-ui: an editor for an agent's AGENTS.md that saves as a diff 2026-10-18 13:17:52 +02:00