Repository navigation
v6.27.0
https://www.npmjs.com/package/oc-codex-multi-auth/v/6.27.0
npx oc-codex-multi-auth@6.27.0 installAdded
spendCredits(orCODEX_AUTH_SPEND_CREDITS=1, default off) opts the rotation in to spending Codex credit balances once every account entitled to the model is out of plan quota. Credit candidates respectmodelAccountPoolsstrict/preferred pools and are ordered by largest balance; balances come from/wham/usageand are refreshed byx-codex-credits-*response headers. A refused credits turn is parked until the quota reset (default 10 minutes), a toast announces when a request is running on paid credits, and the TUI status rotation gains acreditsscreen listing funded accounts. (#286, thanks @Nowaker)
Fixed
limits— CLI,codex-limits, and the TUI quota view — now names the cached accounts it can no longer read: a dead refresh token or an auth-failure cooldown keeps the last known figures under a clear error line, drops the account out of pool totals, and exits nonzero, while timeouts, 429s, and 5xx responses no longer mark credentials dead and a stale reading can't erase a newer failure. (#285, thanks @Nowaker)- A credits refusal is remembered only on an authoritative usage-limit signal — a transient 429, overload, or concurrency throttle no longer parks a funded account, and a refused turn can no longer be billed a second time by the same request's short retry.
limits --jsonkeepscreditsin the rawcodex-limitsform ("62500",unlimited,available) instead of the grouped display string. (#286) - Decoded usage-error messages drop terminal control characters, so a hostile or corrupted error body can no longer inject escape sequences into
limitsoutput. (#285)