Skip to content

v0.3.0

Latest

Choose a tag to compare

@mil0thedev mil0thedev released this 27 Oct 18:59
33ae48c

Balance and billing fixes against DeepSeek's official API, plus a sidebar that fits narrow layouts.

Added

  • Plugin version in the sidebar header, replacing the data age while the balance is fresh.
  • Bilingual roadmap (FUTURES.md / FUTURES.es.md) with the OpenCode 1.x/2.x compatibility vision.

Fixed

  • Chinese public holidays are off-peak all day, computed against the Asia/Shanghai calendar day.
  • Official 2026 holiday calendar and provisional 2027 dates, with an outdated-calendar warning.
  • The pricing line no longer wraps mid-word: the current window and the next change render as a fixed label column.
  • The next change time uses 24-hour format so its width is deterministic.

Hardened

  • Typed errors, exponential backoff with jitter, Retry-After support, a five-second timeout, and a single in-flight request.
  • Balance cache in api.kv, credential caching, and support for both legacy and integration auth formats.
  • 31 tests covering parsing, holidays, countdown, retry, and version reporting.

Install with npm i opencode-deepseek-balance@0.3.0.

Full changelog: v0.2.0...v0.3.0