Repository navigation
Read the API key from the host credential API instead of legacy account.json.
- Primary source:
context.client.credential.list()(serverGET /api/credential, returns the active credential including its secret value). Always reflects the key you just rotated. - Fallback:
~/.local/share/opencode/account.jsononly for hosts withoutcredential.list(that file is legacy and may go stale on rotation). api_key_expirednow shows a short localized message pointing atopencode.ai/consoleinstead of the server's truncated text.- Bumped
@opencode/pluginto ^2.0.30; optional @OpenTui peers aligned to >=0.5.17.