Commit Graph

3 Commits

Author SHA1 Message Date
53b4d6df26 update provision-hf-accounts.sh: use hf-cli for all operations
- Use hf user create + hf user reset-apikey (no direct API calls)
- Read acc-mgr token from secret-mgr --public (hf-acc-mgr-token)
- Get username from ego-mgr get default-username
- Get email from ego-mgr get email (fallback to <user>@claw.hangman-lab.top)
- Requires updated hf CLI with reset-apikey + acc-mgr-token support

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-16 21:08:27 +00:00
0e688e1982 rewrite provision-hf-accounts.sh: use hf-cli + secret-mgr + ego-mgr
- Use hf user create instead of direct API calls
- Read acc-mgr token from secret-mgr --public (hf-acc-mgr)
- Get username from ego-mgr get default-username per agent
- Skip agents without default-username (dispatcher, recruiter)
- Generate API keys via /api-keys endpoint
- Store credentials: hf (username), hf-access-token (API key)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-16 17:17:49 +00:00
3292050634 add one-time script to provision HarborForge accounts for all agents
Creates HF user accounts and API keys for each agent, stores
credentials in secret-mgr under keys "hf" and "hf-access-token".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-16 16:21:09 +00:00