From f3e09bb4ceee1be69e01a2d0b51eb7db58b6e276 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 2 Nov 2026 09:45:04 +0000 Subject: [PATCH] Version Packages --- .changeset/auto-advisor-decision-spacing.md | 7 ------- .changeset/auto-advisor-event-resubscribe.md | 5 ----- .changeset/auto-advisor-explicit-visibility.md | 5 ----- .changeset/auto-advisor-models-key.md | 7 ------- packages/opencode-auto-advisor/CHANGELOG.md | 17 +++++++++++++++++ packages/opencode-auto-advisor/package.json | 2 +- 6 files changed, 18 insertions(+), 25 deletions(-) delete mode 100644 .changeset/auto-advisor-decision-spacing.md delete mode 100644 .changeset/auto-advisor-event-resubscribe.md delete mode 100644 .changeset/auto-advisor-explicit-visibility.md delete mode 100644 .changeset/auto-advisor-models-key.md create mode 100644 packages/opencode-auto-advisor/CHANGELOG.md diff --git a/.changeset/auto-advisor-decision-spacing.md b/.changeset/auto-advisor-decision-spacing.md deleted file mode 100644 index 6fe58cc..0000000 --- a/.changeset/auto-advisor-decision-spacing.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@capybearista/opencode-auto-advisor": minor ---- - -Call the Decision model far less often. The new `routing.minStepsBetweenDecisions` (default 10; `1` restores every step) spaces Decision calls across a session, and a step where the cooldown or the per-turn limit already blocks a consult no longer calls it at all; its telemetry line now has no answers. This saves a free decision model's rate limit and keeps the paid fallback from taking over. - -Behavior change: with the default, a moment that falls on a skipped step gets no automatic review, and a turn shorter than 10 steps often ends without one. Lower the setting to trade calls for coverage. diff --git a/.changeset/auto-advisor-event-resubscribe.md b/.changeset/auto-advisor-event-resubscribe.md deleted file mode 100644 index 8907063..0000000 --- a/.changeset/auto-advisor-event-resubscribe.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@capybearista/opencode-auto-advisor": patch ---- - -Keep listening for the end of a run after the event stream fails. Before, one failed read stopped the listener until OpenCode restarted: Esc no longer ended a pending automatic review, a review of an interrupted run was delivered late into the next prompt, and finished requests stayed in memory. The plugin now subscribes again after one second. diff --git a/.changeset/auto-advisor-explicit-visibility.md b/.changeset/auto-advisor-explicit-visibility.md deleted file mode 100644 index 36e0d77..0000000 --- a/.changeset/auto-advisor-explicit-visibility.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@capybearista/opencode-auto-advisor": minor ---- - -Show which model answered the agent's own `advisor()` calls. The review panel gains a "Last advisor() call" line with the model, duration and time, and each explicit call now writes a `"kind": "explicit"` telemetry line with every Advisor model tried. `auto-advisor.json` now accepts comments and trailing commas (JSONC), and the README shows the full default configuration. diff --git a/.changeset/auto-advisor-models-key.md b/.changeset/auto-advisor-models-key.md deleted file mode 100644 index 2162a64..0000000 --- a/.changeset/auto-advisor-models-key.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@capybearista/opencode-auto-advisor": minor ---- - -The Advisor chain key is now `advisor.models`, matching `routing.models`. Both take one `"provider/model[#variant]"` string or an ordered list; `routing.models` now accepts a single string too. - -Breaking: rename `advisor.model` to `advisor.models` in `auto-advisor.json`. A file that still uses `advisor.model` is rejected as `unknown key: advisor.model`, which turns automatic reviews off and makes `advisor()` return the error. diff --git a/packages/opencode-auto-advisor/CHANGELOG.md b/packages/opencode-auto-advisor/CHANGELOG.md new file mode 100644 index 0000000..e858825 --- /dev/null +++ b/packages/opencode-auto-advisor/CHANGELOG.md @@ -0,0 +1,17 @@ +# @capybearista/opencode-auto-advisor + +## 2.1.0 + +### Minor Changes + +- b51db9e: Call the Decision model far less often. The new `routing.minStepsBetweenDecisions` (default 10; `1` restores every step) spaces Decision calls across a session, and a step where the cooldown or the per-turn limit already blocks a consult no longer calls it at all; its telemetry line now has no answers. This saves a free decision model's rate limit and keeps the paid fallback from taking over. + + Behavior change: with the default, a moment that falls on a skipped step gets no automatic review, and a turn shorter than 10 steps often ends without one. Lower the setting to trade calls for coverage. +- e9b379b: Show which model answered the agent's own `advisor()` calls. The review panel gains a "Last advisor() call" line with the model, duration and time, and each explicit call now writes a `"kind": "explicit"` telemetry line with every Advisor model tried. `auto-advisor.json` now accepts comments and trailing commas (JSONC), and the README shows the full default configuration. +- e231e2c: The Advisor chain key is now `advisor.models`, matching `routing.models`. Both take one `"provider/model[#variant]"` string or an ordered list; `routing.models` now accepts a single string too. + + Breaking: rename `advisor.model` to `advisor.models` in `auto-advisor.json`. A file that still uses `advisor.model` is rejected as `unknown key: advisor.model`, which turns automatic reviews off and makes `advisor()` return the error. + +### Patch Changes + +- a3f6b64: Keep listening for the end of a run after the event stream fails. Before, one failed read stopped the listener until OpenCode restarted: Esc no longer ended a pending automatic review, a review of an interrupted run was delivered late into the next prompt, and finished requests stayed in memory. The plugin now subscribes again after one second. diff --git a/packages/opencode-auto-advisor/package.json b/packages/opencode-auto-advisor/package.json index 702d29e..2f61e9a 100644 --- a/packages/opencode-auto-advisor/package.json +++ b/packages/opencode-auto-advisor/package.json @@ -1,6 +1,6 @@ { "name": "@capybearista/opencode-auto-advisor", - "version": "2.0.0", + "version": "2.1.0", "description": "A Claude Code-style Advisor for OpenCode: a second model reviews the agent's work on request or automatically at decision points.", "type": "module", "license": "MPL-2.0",