Skip to content

0.2.0

Latest

Choose a tag to compare

@pistonex pistonex released this 18 Oct 00:37

Read the API key from the host credential API instead of legacy account.json.

  • Primary source: context.client.credential.list() (server GET /api/credential, returns the active credential including its secret value). Always reflects the key you just rotated.
  • Fallback: ~/.local/share/opencode/account.json only for hosts without credential.list (that file is legacy and may go stale on rotation).
  • api_key_expired now shows a short localized message pointing at opencode.ai/console instead of the server's truncated text.
  • Bumped @opencode/plugin to ^2.0.30; optional @OpenTui peers aligned to >=0.5.17.