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 3380c1915f swarm UI: show the accounts linked to each agent
GET /api/hives/{hive}/agents/{agent}/linked-accounts returns one row per
account linked to the agent, as kind, name and host: each matrix account
under swarm/agents/<agent>/matrix (with its homeserver, and the agent's own
`main` marked reserved), each forge label under swarm/agents/<agent>/forge
(with its url), and github when swarm/agents/<agent>/github-token exists
(host github.com, which is not stored). No credential field is in the
response type.

Listing those two directories needs a new controller grant: `list` on
secret/metadata/swarm/agents/+/matrix and .../+/forge only, pinned in
bao-grants.nix as the only metadata stanzas under agents/ beside the queue
revocation. Checked against a dev OpenBao 2.6.3: the grant lists those two
directories and is refused on agents/, agents/<agent>/, and a leaf.

The swarm UI agent detail panel shows all rows under "accounts"; the table
view's matrix column shows the matrix rows. The link badges stay.

Refs #4855
2026-10-02 21:20:40 +02:00
..
agent agent ui: add a clickable new-session menu entry 2026-09-28 13:53:58 +02:00
dashboard github: PATs live in swarm bao; the agent fetches them itself 2026-10-02 17:48:27 +02:00
shared github swarm bao: address argus review on #4892 2026-10-02 17:54:45 +02:00
swarm-ui swarm UI: show the accounts linked to each agent 2026-10-02 21:20:40 +02:00