feat: add optional OpenAI multi-account quota support - #231
feat: add optional OpenAI multi-account quota support#231christian-taillon wants to merge 10 commits into
Conversation
|
Updated
Please review when available; this branch is ready for the PR checks to rerun. |
|
The updated head |
|
Pushed follow-up commit |
|
Updated against current main and ported the multi-account integration onto the resolved-auth cache architecture. Native OpenAI behavior and current privacy/error handling are preserved; multi-auth remains global-store-only and read-only. |
Summary
Adds optional, read-only OpenAI multi-account quota discovery from the global
oc-codex-multi-authaccount pool at~/.opencode/oc-codex-multi-auth-accounts.json.quota-statecache-key suffix or identity diagnostics.Linked Issue
No linked issue. This is a focused compatibility addition for multi-subscription OpenAI/Codex setups.
Validation
pnpm verify— passed locally: 188 test files, 2,260 tests passed, 1 skipped; build, typecheck, four-surface parity, and package-contents verification passed.git diff --checkand final diff inspection against current upstream main.OpenCode Validation
1.18.25, confirmed withopencode --version.opencode debug startupandopencode debug configexited successfully with isolated HOME/XDG directories; resolved configuration includes the built plugin entrypoint. These are CLI startup/configuration smoke checks, not live multi-account quota or interactive TUI tests; plugin activation was not independently confirmed by these commands.pnpm verify.1.18.21; no new live-account validation is claimed here.Quality Checklist
pnpm verifygate successfully