About this project
oc-codex-multi-auth is an OpenCode plugin that enables ChatGPT Plus/Pro OAuth-based Codex and GPT-5/GPT-6 model routing. It provides multi-account rotation, account switching, health checks, quota visibility, diagnostics, and recovery tools. The plugin installs OpenCode provider/TUI configuration and registers a 24-tool codex-* command toolkit, routing OpenAI SDK requests through the ChatGPT-backed Codex flow with local account state.
Key features include:
- Support for ChatGPT Plus/Pro OAuth and Codex/GPT-5 coding workflows
- Model routing for GPT-6 Astra/Sol/Luna, GPT-5.6 Sol/Terra/Luna, Daybreak cyber tiers, and more
- Multi-account rotation with hybrid health scoring, cooldowns, token refresh, and failover
- Account management: listing, switching, labeling, tagging, notes, health checks, diagnostics
- Per-project account storage
- Guided setup, doctor, next-action, dashboard, export/import, keychain, and troubleshooting tools
- Optional OS-native keychain backend
- TUI prompt quota status and quota detail views
- Request logging, runtime metrics, routing visibility, and redacted diagnostic snapshots
- Standalone CLI commands (no agent/token cost) for status, list, warm, doctor, health, limits, dashboard, diag
Installation is via npx, with options for standard, modern, full, or legacy model catalogs. The plugin is designed for personal development use with your own ChatGPT subscription, not for commercial or production workloads.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.