Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/frontend/packages/swarm-ui/src/shell
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
..
LinksMenu.css treefmt: apply prettier 2026-09-02 15:25:07 +02:00
LinksMenu.tsx dashboard: serve the dashboard at /, fold kept state in as a tab, add a pages menu 2026-10-16 20:02:28 +02:00
MatrixRain.css swarm-ui: a start page at / and the hive directory at /hives 2026-10-14 18:36:52 +02:00
MatrixRain.tsx dashboard: serve the dashboard at /, fold kept state in as a tab, add a pages menu 2026-10-16 20:02:28 +02:00
rain.ts swarm-ui: the start page's rain follows the app's motion setting 2026-10-14 18:36:52 +02:00
routes.ts swarm-ui: give every tab the wide body 2026-10-15 18:34:59 +02:00
ruth-missing.ts grant manage_root_agent by stored permission only, not by the name ruth 2026-10-17 08:10:08 +02:00
Shell.css swarm-ui: give every tab the wide body 2026-10-15 18:34:59 +02:00
Shell.tsx swarm-ui: add a messages page for the swarm-wide message feed 2026-10-18 18:19:30 +02:00
swarm-name.ts swarm-ui: test the rain arithmetic and the swarm name loader 2026-10-14 18:36:52 +02:00
useDynamicTabs.ts swarm-ui: full-tab agent terminal (#4506) 2026-09-28 23:17:44 +02:00
UserMenu.css treefmt: apply prettier 2026-09-02 15:25:07 +02:00
UserMenu.tsx treefmt: apply prettier 2026-09-02 15:25:07 +02:00
useSwarmName.ts swarm-ui: test the rain arithmetic and the swarm name loader 2026-10-14 18:36:52 +02:00