Skip to content

v.2.1.0

Choose a tag to compare

@slkiser slkiser released this 24 Feb 17:20
· 1612 commits to main since this release
3a36c4e

Highlights

Minor release: aligns OpenCode hook handling with the real contract and makes Qwen quota state updates safer.

Changes Made

  1. Aligned tool.execute.after handling with the actual OpenCode contract (input: { tool, sessionID, callID }, success inferred from hook output), replacing the old input.ok/error
    assumption via #7.
  2. Added config gating so Qwen completion counters only update when config is loaded and enabled:
    true.
  3. Made Qwen local state writes safer cross-platform by adding a Windows-safe replace fallback
    when rename() cannot overwrite.
  4. Added short-lived auth cache reads and wired them into Qwen paths (plugin, qwen-code provider,
    and /quota_status) to reduce repeated filesystem reads.
  5. Improved provider fetch-cache key scoping by including current-model context
    (onlyCurrentModel/currentModel) to avoid stale cross-context reuse.
  6. Updated /quota_status Qwen diagnostics to label missing local state as (default state).
  7. Updated docs (README.md, docs/agents/plugin/runtime.md) to reflect the new hook contract,
    enabled-gated counting, and default-state diagnostics.

New Features

  1. Added plugin-level Qwen hook tests (success, failure, disabled-plugin cases) and a Windows
    rename-fallback test for local quota state persistence.

Full Changelog: v2.0.0...v2.1.0