@tscgoods/opencode-effort-discovery 0.4.10 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @tscgoods/opencode-effort-discovery
|
|
2
2
|
|
|
3
|
-
OpenCode
|
|
3
|
+
OpenCode 插件:根据网关错误回显、目录或手动覆盖更新模型的 reasoning effort variant。证据不足时不改,声明不保证推理效果。
|
|
4
4
|
|
|
5
5
|
## 安装
|
|
6
6
|
|
|
@@ -10,7 +10,7 @@ OpenCode 插件:让 `/models` 里的 reasoning effort 档位**只**出现你
|
|
|
10
10
|
"$schema": "https://opencode.ai/config.json",
|
|
11
11
|
"plugins": [
|
|
12
12
|
{
|
|
13
|
-
"package": "@tscgoods/opencode-effort-discovery
|
|
13
|
+
"package": "@tscgoods/opencode-effort-discovery",
|
|
14
14
|
"options": {
|
|
15
15
|
"providers": ["ts-dpsk"],
|
|
16
16
|
"debug": false
|
|
@@ -46,5 +46,5 @@ OpenCode 插件:让 `/models` 里的 reasoning effort 档位**只**出现你
|
|
|
46
46
|
## 注意
|
|
47
47
|
|
|
48
48
|
- 密钥支持明文、`{env:NAME}`、`!command` 三种写法(与 OpenCode provider 配置一致)。
|
|
49
|
-
- 遇到 429/5xx
|
|
50
|
-
- 如果某个会话固定了一个被判定不可用的档位,会报 `VariantUnavailableError`,重新选一次模型即可。
|
|
49
|
+
- 遇到 429/5xx 会保留旧结论并退避重试;探测是真实请求,可能产生费用。
|
|
50
|
+
- 如果某个会话固定了一个被判定不可用的档位,会报 `VariantUnavailableError`,重新选一次模型即可。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscgoods/opencode-effort-discovery",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "OpenCode plugin: show exactly the reasoning effort levels your provider actually accepts.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -31,6 +31,6 @@
|
|
|
31
31
|
"access": "public"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@opencode/plugin": "^2.4.
|
|
34
|
+
"@opencode/plugin": "^2.4.3"
|
|
35
35
|
}
|
|
36
36
|
}
|