Repository navigation
v2.0.0
Anthropic Auth 2.0.0
Upgrade first
Quit every OpenCode, LiteCode and Pi process, then run:
bunx @cortexkit/opencode-anthropic-auth@2.0.0 setupSelect the hosts to configure. Choose local custody to migrate existing accounts, or vault custody to use Claustrum accounts. If already connected to the vault, keep vault custody selected. Restart the selected hosts after setup finishes.
Vault users keep their routing, cache, quota-floor and logging preferences, and sessions stay on the accounts they were using.
The old /claude-* commands are replaced by one /claude menu.
What's new
- A shared account-storage system for local Claude logins and fallback accounts, replacing the separate credential files used in 1.x.
- Exclusive vault mode: only vault accounts serve while connected; local accounts remain separate. Disconnect returns to the local account store.
- OpenCode 2 support, including direct requests and HTTP relay. WebSocket relay remains available in OpenCode 1 and Pi.
- One
/claudemenu for accounts, quota, routing, limits, cache and diagnostics. - Claude Haiku 5.5 and Sonnet 5.5, with their supported reasoning controls.
Downgrade
Automatic downgrade after local migration is not supported. There is no reverse-migration command.
To use 1.23.0 again, disconnect from the vault in /claude first if connected, then stop the hosts. Reinstall 1.23.0 with a fresh configuration and sign in again; reconfigure fallback accounts and settings. Keep the anthropic-auth-pool* files and the other files created by setup. Do not restore pre-upgrade credential backups: their refresh tokens may already have been used.
Fixed
Provider errors, diagnostic logs and setup failures strip account tokens instead of echoing them. Successful model responses remain unchanged. Fix a startup race that could send a request through a different account while the preferred account was still being initialized.