@tscgoods/claude-code-effort-discovery 0.4.2 → 0.5.0

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "effort-discovery",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "description": "Discover which reasoning-effort levels your gateway model accepts, then cap Claude Code's /effort picker to the supported ones.",
5
5
  "author": {
6
6
  "name": "tscgoods"
package/README.md CHANGED
@@ -63,6 +63,9 @@ Claude Code 的档位枚举固定为 `low / medium / high / xhigh / max`,选
63
63
  | **本插件的注入提示**(默认推荐) | 菜单不变,但每次会话明确告知实测档位与禁用项 | 需要你/模型遵守提示 |
64
64
  | `modelPicker[].behavesAs: "claude-opus-4-6"` | 去掉 `xhigh`,剩 `low/medium/high/max` | `medium` 仍在;会连带继承该已知模型的其它能力/默认值 |
65
65
  | `CLAUDE_CODE_EFFORT_LEVEL=auto` | 所有请求都不带 `output_config.effort`,绝不会发错值 | 完全失去档位控制 |
66
+ | `CLAUDE_CODE_EXTRA_BODY='{"output_config":{"effort":"low"}}'` | 把 wire 上的 effort 固定成一个值 | 绕过选择器和 `maxEffortLevel`;不能定义集合,只适合网关想完全忽略客户端 effort |
67
+
68
+ 另有完整文件扫描排除的载体:`effort_step_keybinding` 只是在现有前缀里步进、`supportedEffortLevels` 只是上报字段、`CLAUDE_CODE_MODEL_CATALOG` 在第三方/网关场景被强制关闭、`defaultEffortLevel` 只是起点不是锁。
66
69
 
67
70
  `behavesAs` 示例(只需改你自己的 `~/.claude/settings.json`):
68
71
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscgoods/claude-code-effort-discovery",
3
- "version": "0.4.2",
3
+ "version": "0.5.0",
4
4
  "description": "Claude Code plugin: discover which reasoning-effort levels your gateway model accepts, report them, and cap /effort to them.",
5
5
  "type": "module",
6
6
  "license": "MIT",