Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/frontend/packages/swarm-ui/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 48ac4ac423 swarm UI: send a message to an agent, without its hive
The agent view in the swarm UI gets a message box. The text reaches the
agent's harness straight from swarm-controller over the swarm queue and
becomes an inbox turn from the operator's authelia username. hive-c0re is
not in the path.

- gateway: `/api/` forwards authelia's `Remote-User`, replacing any the
  client sent.
- swarm-controller: `POST /api/agents/{name}/input` takes that header as
  the sender (401 without it) and sends `{from, body}` as a NATS request
  on `$SWARM.input.<agent>`. No subscriber is a 503.
- swarm-nats-auth: the controller is granted publish on `$SWARM.input.*`;
  no hive or agent grant names the family, so the harness can trust
  `from`.
- hive-agent: a task subscribes to the agent's own input subject and
  pushes each message into the serve loop's existing reminder channel,
  renamed `local_msg_*` since it now carries both.

The harness does not reply to the request: no agent grant covers a reply
subject. The controller therefore answers 202 once the request times out
(2s) and 503 on the server's no-responders status.

Closes #4828
2026-10-04 03:02:14 +02:00
..
pages swarm UI: send a message to an agent, without its hive 2026-10-04 03:02:14 +02:00
shell swarm: show subagent terminals in the swarm UI 2026-10-03 01:34:01 +02:00
ui swarm-ui: neon glow on panel titles + the active nav tab 2026-09-13 19:19:26 +02:00
App.tsx swarm: show subagent terminals in the swarm UI 2026-10-03 01:34:01 +02:00
colors.css swarm-ui: bootstrap new swarm-level frontend (Preact + wouter + TS + JSX) 2026-08-11 21:31:44 +02:00
css.d.ts treefmt: apply prettier 2026-09-02 15:25:07 +02:00
index.html swarm-ui: make it installable as a PWA 2026-09-12 11:30:20 +02:00
main.tsx swarm-ui: make it installable as a PWA 2026-09-12 11:30:20 +02:00
manifest.webmanifest swarm-ui: PWA follow-ups from review 2026-09-12 11:30:20 +02:00
sw.js swarm-ui: content-hash main/theme/swarm-ui-css filenames for real cache-busting 2026-09-12 13:04:01 +02:00
swarm-ui.css swarm-ui: real hive-roster overview page 2026-08-13 11:21:30 +02:00
theme.css swarm-ui: bootstrap new swarm-level frontend (Preact + wouter + TS + JSX) 2026-08-11 21:31:44 +02:00
util.ts treefmt: apply prettier 2026-09-02 15:25:07 +02:00