Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/frontend/packages
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
..
agent agent ui: add a clickable new-session menu entry 2026-09-28 13:53:58 +02:00
dashboard config PRs: remove the hive's config-PR webhook, poll and core merge 2026-10-02 23:13:03 +02:00
shared github swarm bao: address argus review on #4892 2026-10-02 17:54:45 +02:00
swarm-ui swarm UI: send a message to an agent, without its hive 2026-10-04 03:02:14 +02:00