Skip to content

Releases

v0.6.4

Choose a tag to compare

@github-actions github-actions released this 03 Nov 08:23
  • /usage dialog keys (tab, r, j) work on OpenCode 2.2.x again. The commands fired, but the dialog never re-rendered: OpenCode loads the plugin's modules on separate Solid runtimes, so panel signals did not track across them. The panel now notifies the dialog, which asks the host to re-render with fresh state; closing the dialog unsubscribes.

v0.6.3

Choose a tag to compare

@github-actions github-actions released this 03 Nov 07:07
  • 0.6.3 — Kimi Code CN (kimi-code-plan-cn): the 5-hour window falls back
    to the usages.limit_5h ratio when the limits[] row carries no counts,
    instead of rendering an empty — bar; a monthly window is also read from a
    counted 30-day limits[] entry when the endpoint reports it there. Includes
    the outstanding Dependabot dev-dependency bumps.

v0.6.2

Choose a tag to compare

@github-actions github-actions released this 15 Oct 06:20
  • 0.6.2 — OpenCode 2 context panel fixes: the V2 adapter now reads the
    model id from the store's model.id, so the model lookup succeeds and the
    cell grid, per-category percentages and compaction-headroom line render
    again instead of —; the translated messages also carry the session id, and
    the system-prompt capture anchors its freshness check to the turn's user
    message — OpenCode 2 fires the capture hook just before the assistant
    message is stamped, which previously marked every capture (derived).

v0.6.1

Choose a tag to compare

@kaanchinar kaanchinar released this 04 Oct 07:39
  • 0.6.1 — Kimi Code adapter tracks the 2026-09 quota-model API change:
    usage windows now come from the usages.limit_5h / limit_7d /
    limit_month_total ratios (with a limit_month_code breakdown), and Extra
    Usage is read from the camelCase boosterWallet (fixed-point BOOSTER
    balance). The pre-2026-09 usage / limits[] / totalQuota /
    booster_wallet shapes remain as fallbacks.

v0.6.0

Choose a tag to compare

@kaanchinar kaanchinar released this 03 Oct 08:32

The TUI plugin now loads on OpenCode 2.x. Previously tui.json failed with "Invalid V2 TUI plugin module", so the sidebar panel and /usage command silently disappeared.

Fixed

  • The TUI entrypoint default-exports { id, setup, tui }: OpenCode 2 calls setup (sidebar panel, /usage command and dialog, session.idle refresh via ctx.data.on), while OpenCode 1 still reads tui.
  • Added src/v2-tui.ts, a structural mirror of the OpenCode 2 TUI context (@opencode/plugin@2.0.20) that adapts theme tokens, SessionMessageInfo, and ui.dialog back to the existing renderers.
  • Server entrypoint unchanged since 0.5.0 (usage_report, low-quota warnings, prompt capture).

Note: OpenCode 2 does not expose the resolved config to TUI plugins, so the dialog loses the compaction-reserve nuance only; token rows are unaffected.

v0.5.0

Choose a tag to compare

@kaanchinar kaanchinar released this 03 Oct 07:53

The server plugin now loads on OpenCode 2.x. Previously it failed with "Plugin must export a default definition with an id and an effect or setup function".

Fixed

  • The server entrypoint default-exports the V2 { id, setup } definition, so usage_report and low-quota warnings work on OpenCode 2.x. The V1 server hook is kept, so OpenCode 1.18.29+ still loads too.

v0.4.1

Choose a tag to compare

@kaanchinar kaanchinar released this 03 Oct 07:53

Provider HTTP plumbing is now shared and context helpers were extracted; no user-facing behavior change.

Changed

  • Shared provider HTTP plumbing and context helpers across adapters.

v0.4.0

Choose a tag to compare

@kaanchinar kaanchinar released this 28 Sep 08:40

/usage now shows how full your context window is, and no longer costs model tokens.

Added

  • Context usage panel: exact prompt-token total against the context window, a per-category cell grid, the auto-compaction point with live headroom, and session cost.

Changed

  • /usage is now a local TUI command — it no longer routes through the model, so it costs no tokens.
  • Slash arguments are no longer supported (--json, --refresh, provider id). Use the dialog keys (r refresh, tab scope, j raw JSON) or the usage_report tool.

v0.3.0

Choose a tag to compare

@kaanchinar kaanchinar released this 28 Sep 08:48

Adds two provider adapters:

  • GitHub Copilot (github-copilot)
  • ChatGPT (openai)

v0.2.0

Choose a tag to compare

@kaanchinar kaanchinar released this 28 Sep 08:48

Kimi Code is now reported as two separate plans:

  • kimi-code-plan-global — kimi.ai
  • kimi-code-plan-cn — kimi.com