Skip to content
This repository was archived by the owner on Sep 30, 2026. It is now read-only.

v5.0.3

Choose a tag to compare

@cardin cardin released this 22 Sep 02:29
· 179 commits to main since this release

Fixes

  • OpenAI quota now resolves from the OpenCode 2 credential store. OpenCode 2 keeps provider credentials in the credential table of opencode.db, but the OpenAI quota provider only read the legacy auth.json. After a fresh opencode auth login openai, OpenAI therefore showed up in /quota and the TUI sidebar with no data. Resolution now prefers OAuth-shaped v2 credentials (integration ids openai / chatgpt / codex) and still falls back to auth.json for legacy installs.
  • v2 metadata.accountID is mapped to the legacy accountId field so per-account quota caching and the ChatGPT-Account-Id header keep working.
  • Status diagnostics report the winning credential source via a new auth_store row.

Tested against OpenCode 2.0.12.