What's new
- Switch between several subscriptions for Claude Code and Codex (#15).
- magpie now remembers every Claude Code and Codex account it has seen signed in. To add one, sign in to it once in the agent (
codex login, or/logininclaude). - Switch from the provider editor (Providers → Codex / Claude Code → Other accounts → Switch), or run
magpie accounts switch <claude|codex> <email>. magpie accountslists the remembered accounts. Forget (ormagpie accounts forget …) drops one.- A switch writes the account back into the agent's own sign-in (
~/.codex/auth.json; the Claude Code keychain item or.credentials.json, plus.claude.json). The agent then uses it as if you had signed in again. Sessions that are already running keep their account until you restart them. - Each account's refresh token is kept in exactly one place. The account you switch away from is saved with its latest tokens, so no account signs another out.
- Saved sign-ins are stored in
~/.config/magpie/logins.json, readable only by you.
- magpie now remembers every Claude Code and Codex account it has seen signed in. To add one, sign in to it once in the agent (