Problem
The plugin currently authenticates a single ChatGPT OAuth account at a time. When limits are hit, there is no built-in account pool rotation similar to antigravity-based plugins.
Proposal
- Persist a local account pool (
~/.opencode/openai-codex-accounts.json)
- Support account selection strategies:
round-robin (default)
sticky
- On 429/usage-limit responses, mark account cooldown from response headers and rotate to next available account
- Keep token refresh per selected account
Implementation
I implemented this in PR #113:
Includes tests, docs updates, and installer cleanup support for the account-pool file.
Problem
The plugin currently authenticates a single ChatGPT OAuth account at a time. When limits are hit, there is no built-in account pool rotation similar to antigravity-based plugins.
Proposal
~/.opencode/openai-codex-accounts.json)round-robin(default)stickyImplementation
I implemented this in PR #113:
Includes tests, docs updates, and installer cleanup support for the account-pool file.