Repository navigation
Added
quotaStatus.prefixputs a label before the quota status line, for example"OpenAI ", so it reads clearly next to other providers' lines. Later rows indent under it, and it works in OpenCode V1 and V2. The prefix's display columns come out of the line's width budget, the line hides when nothing fits, and terminal control characters are stripped. (#301, thanks @WarGloom)
Changed
- In OpenCode V1, each session's quota line shows the account that served that session, not only the pool's active account.
chat.headerstags each request with its session in an internal header, which the request path strips before the request goes upstream. The binding survives refresh-token rotation, and thecodex.quota.detailsdialog follows the open session. OpenCode V2 still shows the last serving account overall. (#301, thanks @WarGloom) - The compact status line shows reset times as time left (
resets in 5h,resets in 2d), rounded down like the overview and resets screens, and the V1 line keeps counting down while idle. (#301, thanks @WarGloom)
Fixed
- The pool, resets, and credits lines no longer render wider than their space when no candidate fits; they hide, as the active line already did. (#301)
Internal
- Per-session quota snapshots live in one small file per session under
oc-codex-multi-auth-tui-sessions/(display fields plus a hashed account key, no tokens or raw session IDs), written without the account-storage lock and capped at 128 files.resolveQuotaPollFingerprintin the./tuientry is nowresolveQuotaPollTarget. (#301)
Full Changelog: v6.30.0...v6.31.0