diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d2aa57..cad4378 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,19 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +- **Fixed: redundant `thinking` variant removed for effort-enum models.** When a + Cursor catalog model exposes both a boolean `thinking` toggle and an effort + enum (e.g. Claude models exposing `thinking=["false","true"]` alongside + `["low","medium","high","xhigh","max"]`), the variant picker showed a stray + `thinking` entry in addition to the effort levels. Standard opencode providers + (driven by models.dev `reasoning_options` of type `effort`) surface only the + five effort levels, so the extra entry broke parity and was redundant — + selecting any effort level already enables reasoning. The boolean `thinking` + variant is now suppressed whenever a non-boolean reasoning enum is present on + the same model. Models whose only reasoning control is the boolean toggle + still surface the single `thinking` variant; the `fast` toggle and its baked- + off default are unchanged. + - **Fixed: Cursor's `fast` tier is no longer silently forced on.** The variant builder only mapped reasoning/effort params and dropped Cursor's `fast` toggle entirely, so it never reached `providerOptions.cursor`. Because Cursor marks diff --git a/package-lock.json b/package-lock.json index c0f8cca..97ad313 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@stablekernel/opencode-cursor", - "version": "0.4.3", + "version": "0.4.4-next.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@stablekernel/opencode-cursor", - "version": "0.4.3", + "version": "0.4.4-next.0", "license": "MIT", "dependencies": { "@connectrpc/connect-node": "^2.1.2", diff --git a/package.json b/package.json index e9eff43..4e31bf4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@stablekernel/opencode-cursor", - "version": "0.4.3", + "version": "0.4.4-next.0", "description": "opencode provider plugin backed by the official Cursor SDK (@cursor/sdk) — adds a Cursor provider and lists its models", "type": "module", "license": "MIT",