@cc-claw/code 0.6.234 → 0.6.236

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.
Files changed (2) hide show
  1. package/README.md +4 -0
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -7,6 +7,10 @@
7
7
 
8
8
  ## 最近更新
9
9
 
10
+ v0.6.235:**解除 Bash 超时硬编码限制并支持 BASH_MAX_TIMEOUT_MS**——修复 Bash 工具参数校验死板限制 10 分钟(600,000ms)导致模型执行大项目构建或长任务时被强行截断提前杀掉的问题。完全尊重调用方显式指定的更大超时,未传 `execution_timeout` 时自动取 `max(max_timeout, timeout_ms)` 不误杀长任务;同时新增 `BASH_DEFAULT_TIMEOUT_MS` 与 `BASH_MAX_TIMEOUT_MS` 环境变量,允许自定义默认与最大上限(#886, #887)。完整记录见 [CHANGELOG](https://github.com/cc-claws/cc-code/blob/main/CHANGELOG.md)。
11
+
12
+ v0.6.234:**自动会话回顾失败静默化与防死循环重试**——修复上游代理网关偶发 503 等异常时,后台自动触发的会话回顾在主消息流反复输出红字刷屏的问题。区分后台自动与手动触发:自动回顾失败改为后台日志静默忽略,不污染对话界面;调度器新增连续失败上限 `MAX_AUTO_RETRY_COUNT = 1`,超限立即停止重试,杜绝无限死循环(#881, #882)。完整记录见 [CHANGELOG](https://github.com/cc-claws/cc-code/blob/main/CHANGELOG.md)。
13
+
10
14
  v0.6.233:**移除 tool_result 非标准 id 字段与国产端点双向自适应**——修复 `tool_result` 携带非标准 `id` 属性导致经严格校验的上游代理网关报错 `Extra inputs are not permitted` 的问题。默认遵循官方标准不发送 `id` 字段;同时新增 `detect_tool_result_id_requirement` 动态嗅探器,遇到特殊非标国产网关明确要求 `id` 时自动补齐重试,实现官方标准端点与非标国产端点双向兼容(#878, #879)。完整记录见 [CHANGELOG](https://github.com/cc-claws/cc-code/blob/main/CHANGELOG.md)。
11
15
 
12
16
  v0.6.232:**轻量模型 thinking 400 修复与多级降级自愈**——针对 Haiku 3.x/4.x 系列等轻量模型原生不开放 Extended Thinking,修复全局开启 thinking 时请求直接报错的问题。静态预判轻量系列天生无 thinking 并彻底不传相关字段;协议自适应嗅探机制新增 `DisableThinking` 指示,当检测到模型或网关不支持思考时,自适应重试最多 2 级平滑降级(`Budget → Adaptive → Disabled`),自动关闭 thinking 并重试成功,彻底杜绝 400 报错(#875, #876)。完整记录见 [CHANGELOG](https://github.com/cc-claws/cc-code/blob/main/CHANGELOG.md)。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cc-claw/code",
3
- "version": "0.6.234",
3
+ "version": "0.6.236",
4
4
  "description": "cc-code — Terminal coding agent powered by open-source models — Rust-built, `.claude/` ecosystem compatible",
5
5
  "keywords": [
6
6
  "agent",
@@ -38,10 +38,10 @@
38
38
  "node": ">=16"
39
39
  },
40
40
  "optionalDependencies": {
41
- "@cc-claw/code-win32-x64": "0.6.234",
42
- "@cc-claw/code-darwin-x64": "0.6.234",
43
- "@cc-claw/code-darwin-arm64": "0.6.234",
44
- "@cc-claw/code-linux-x64": "0.6.234",
45
- "@cc-claw/code-linux-arm64": "0.6.234"
41
+ "@cc-claw/code-win32-x64": "0.6.236",
42
+ "@cc-claw/code-darwin-x64": "0.6.236",
43
+ "@cc-claw/code-darwin-arm64": "0.6.236",
44
+ "@cc-claw/code-linux-x64": "0.6.236",
45
+ "@cc-claw/code-linux-arm64": "0.6.236"
46
46
  }
47
47
  }