This repository was archived by the owner on Sep 30, 2026. It is now read-only.
v5.0.3
Fixes
- OpenAI quota now resolves from the OpenCode 2 credential store. OpenCode 2 keeps provider credentials in the
credentialtable ofopencode.db, but the OpenAI quota provider only read the legacyauth.json. After a freshopencode auth login openai, OpenAI therefore showed up in/quotaand the TUI sidebar with no data. Resolution now prefers OAuth-shaped v2 credentials (integration idsopenai/chatgpt/codex) and still falls back toauth.jsonfor legacy installs. - v2
metadata.accountIDis mapped to the legacyaccountIdfield so per-account quota caching and theChatGPT-Account-Idheader keep working. - Status diagnostics report the winning credential source via a new
auth_storerow.
Tested against OpenCode 2.0.12.