// — writes an external forge account (base URL + // token) for one agent into the swarm secret store. `kind` picks the // route and the wording: "forge" (Forgejo) or "gitlab". // PUTs `/api/hives/{hive}/agents/{agent}/{forge,gitlab}-accounts/{label}` — 200 // (`{ url }`) on success, 400/409/500 as `problem+json`, shown via // `ApiErrorPanel` like `LinkMatrixAccountForm`. // // A forge label is what the agent passes to `hive-forge -f