Files
ClawSkills/git-hangman-lab
orion 0c5e6b8688 refactor(git-hangman-lab): rewrite generate-access-token to use HTTP API instead of gitea CLI
- Use -u username:password basic auth for all API calls
- GET /users/{name}/tokens to find existing token
- DELETE /users/{name}/tokens/{id} to remove existing token
- POST /users/{name}/tokens with {"name": "...", "scopes": ["all"]}
- Extract 'sha1' field from POST response as the token value
- Use ego-mgr get default-username instead of secret-mgr get-username
2026-04-14 23:08:41 +00:00
..