OpenCode v1.3.6: Token Counting & Search Fixes

OpenCode v1.3.6 fixes token counting bugs for Anthropic and Bedrock, plus variant search filtering.

OpenCode v1.3.6: Token Counting & Search Fixes

TL;DR

  • Fixed token usage double-counting for Anthropic and Amazon Bedrock providers
  • Variant dialog search now filters properly when typing

Fixed

  • Token usage double-counting — Anthropic and Amazon Bedrock providers were inflating token counts in session metrics; now reports accurate usage.
  • Variant dialog search — Typing in the variant dialog now properly filters the list instead of failing to update.

Update via: npm install opencode@1.3.6 or check the release page.

Source: OpenCode