Repository navigation
v.2.1.0
Highlights
Minor release: aligns OpenCode hook handling with the real contract and makes Qwen quota state updates safer.
Changes Made
- 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. - Added config gating so Qwen completion counters only update when config is loaded and enabled:
true. - Made Qwen local state writes safer cross-platform by adding a Windows-safe replace fallback
whenrename()cannot overwrite. - Added short-lived auth cache reads and wired them into Qwen paths (
plugin,qwen-codeprovider,
and/quota_status) to reduce repeated filesystem reads. - Improved provider fetch-cache key scoping by including current-model context
(onlyCurrentModel/currentModel) to avoid stale cross-context reuse. - Updated /quota_status Qwen diagnostics to label missing local state as (default state).
- Updated docs (
README.md,docs/agents/plugin/runtime.md) to reflect the new hook contract,
enabled-gated counting, and default-state diagnostics.
New Features
- Added plugin-level Qwen hook tests (
success,failure,disabled-plugincases) and a Windows
rename-fallback test for local quota state persistence.
Full Changelog: v2.0.0...v2.1.0