small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo

accounts: show accounts per service, with rotation and a sign-out that never refuses

People saw providers, profiles and accounts side by side and could not tell whether they were removing a provider or an account. The web settings page and the TUI now list accounts grouped by service (Claude, ChatGPT, Gemini, other sign-ins, API keys); profiles move under Advanced. API: Account gains email, plan and needs_sign_in. Provider profiles gain rotation (failover, spread, first). DELETE /auth/accounts/{id} no longer refuses a saved account: pins go back to automatic and the id leaves every account_ids list. Daemon: - Sign-ins are labelled with their email. An account is a user in a workspace (Codex user@chatgpt_account_id, Claude account:organization), never an email, so personal and business accounts on one email stay separate. - A model sign-in joins its service: it creates the first profile, appends to rotating profiles and turns automatic ones into lists. - Every mode keeps a session on its account until it is limited or needs sign-in. spread starts each new session on the account handed out longest ago. Session affinity lives in a daemon-wide table, pruned on session delete and agent close. - Claude limits are recorded from quota polls and 429 headers, and a 429 moves the request to the next ready account. - A refused renewal marks the account needs_sign_in instead of deleting it. Web: AccountsSettings replaces ProvidersSettings, with inline sign-in, per-service rotation, sign-out confirmations and a first-run state. TUI: /accounts (alias /login) with one section per service, inline sign-in, tab/alt+arrows for rotation and order, and ctrl+x sign-out. The old list is under advanced.


Author nekomimi.pet
Committer Tangled Date Commit Parent 7db3095b
+6490 -1257
82 changed files
+6490 -1257
82 changed files