From cabde572e9cfd9e51c9235e1dc87c35e4fd196e0 Mon Sep 17 00:00:00 2001 From: atlas Date: Fri, 2 Oct 2026 12:56:54 +0200 Subject: [PATCH] docs(web-ui): scope dashboard.md to what the hive UI renders Per mara's review: the hive UI doc covers only what hive-c0re's pages render. Removed the M4TR1X page section (the hive gateway redirects /matrix/ to the swarm matrix client, which the swarm UI's quick links open), the swarm-UI forge/matrix account-linking lines from the CR3D3NTIALS section, the infra-services hivectl paragraph, and the H0M3 Matrix/Forge absence line. Added a single pointer to docs/swarm/ui.md, and stated the account-linking and Matrix quick-link facts there. Refs #3902 --- docs/swarm/ui.md | 28 ++++++++++++++++++++++++ docs/web-ui/dashboard.md | 46 ++++++++-------------------------------- 2 files changed, 37 insertions(+), 37 deletions(-) diff --git a/docs/swarm/ui.md b/docs/swarm/ui.md index 6c8d5f58..1bf48bbd 100644 --- a/docs/swarm/ui.md +++ b/docs/swarm/ui.md @@ -19,6 +19,27 @@ Everything it shows comes from [`swarm-controller`](../../swarm-controller/READM An agent created here or with `swarmctl agent create` starts `paused`; set it `up` from its card. +### Linking external accounts + +Each agent on `/agents` opens two dialogs that write a credential for it +into the swarm secret store through swarm-controller. Both are blind +set/update actions: no route lists linked accounts or hands a token back. + +- **link a matrix account** — `PUT /api/hives/{hive}/agents/{agent}/matrix-accounts/{account}`, + either a pasted bearer token or a user id + password that + swarm-controller logs in with, storing the token it gets back. +- **link a forge account** — `PUT /api/hives/{hive}/agents/{agent}/forge-accounts/{label}` + with a forge URL and an access token, stored at + `swarm/agents//forge/