clavue-v1 1.56.2 → 1.56.4

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/CHANGELOG.md CHANGED
@@ -6,6 +6,32 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## 1.56.4 - 2026-10-20
10
+
11
+ 1.56.4 修复 1.56.3 会话诊断(diag-2040)、issue #177 和 #178 里的问题。
12
+ - 密码不再明文显示:目标里写的「主机 用户 密码」(如 `192.168.2.100 root …`、`root@host …`、`用户 root 密码 …`)在暂停/结束行、对话行、思考和会话记录里都会打码
13
+ - 改动凭据文件一定先问你:删除、移动、改写或重定向写入 `~/.clavue-secrets`、`~/.ssh`、`~/.aws`、`.netrc` 等凭据路径时,即使是完全访问模式也会弹出确认;只读(cat、ssh -i、sshpass -f)不受影响
14
+ - 「没能判断是否做完」不再一次失败就暂停:完成判断失败时先按暂时性错误重试 2 次,失败结果不再缓存
15
+ - 首字等待最多 120 秒(原来 180 秒);同一路由同一模型刚超时过的,下一次最多等 75 秒就切换;69k 输入的窗口仍不少于 75 秒
16
+ - 换模型不再改动发送的工具列表:会话里发过的工具保持发送,路由不支持的工具在调用时拒绝并说明原因,提示缓存不会因为换模型失效
17
+ - ◆ Plan / ◆ Review 行以系统行保存,不再存成助手消息,恢复会话时不会被当成模型说过的话;Proof ledger 主机记录核实不在界面显示,并且不再被当成用户提示
18
+ - #177:系统提示和 Bash/PowerShell 工具说明只提到本会话启用的工具(`--tools Bash,Read` 不再被建议用 Grep);调试行 `forcedTools=` 只列出实际发送的工具
19
+ - #177:工具参数不符合格式(如 Edit 缺 `new_string`)只作为工具结果交给模型修正,不再记成会话错误
20
+ - #177:clavue-2.1 / clavue-2.1-fast 的最大输出是 128000;没有公布最大输出的模型不再把上下文窗口当成最大输出,默认 128000(窗口更小时取窗口)
21
+ - #177:回复里漏出的分词器控制符(如 `</| … |>`、`<|im_end|>`)会被去掉,并按流中断续接,不再当成正常结束;程序生成的消息不再标成 stop_sequence
22
+ - #178:能力表把 clavue-2.1 的编码改为 ok(clavue-2.1-fast 仍是 weak);/doctor 的编码建议先推荐你已经配置、能力够的模型,没有时才建议 cn:glm-5.3
23
+ - #178:plan / review 槽和 main 是同一个模型时,跳过会显示一行说明;README 的 clavue-2.1 PLAN / REVIEW 例子写明了这个前提
24
+
25
+ ## 1.56.3 - 2026-10-20
26
+
27
+ 1.56.3 修复 1.56.2 会话诊断(diag-1757)里的四个问题。
28
+ - 模型出错不再中途暂停:一轮已经换过一次模型后,首字超时改为同一模型退避重试,不再第二次换模型;所有结束回合的模型错误都按统一错误策略处理,暂时性错误(超时、断网、5xx)在还没有输出时自动重试 2 次;失败说明是一行系统状态,不再写成助手回复
29
+ - 首字等待时间按真实输入大小计算:2 万 token 以上每 1k token 多等 1 秒,高推理强度多等 30 秒,/v1/messages、/v1/responses 转换端点多等 15 秒,最多 180 秒;中文按每字约 1 token 估算;`CLAVUE_API_FIRST_BYTE_TIMEOUT_MS` 仍然优先
30
+ - 「Dropped tool context」摘要只发给模型:不再显示成 ❯ 用户消息,不再成为会话的最后提示(恢复列表能认出会话),也不再被当成回合起点
31
+ - 续接预算按进展计算:有新信息(新的工具结果、编辑、测试结果)的续接不计数,只有连续没有进展的续接计入 8 次上限;每回合另有 40 次硬上限;预算用完时显示「本回合的自动续接次数用完了」,不再显示「还有没做的下一步」
32
+ - 改动类 shell 命令(如 adb 点击)返回新结果也算新信息
33
+ - 退出时的恢复提示能找到在会话目录(恢复的或跨项目的会话)里的会话;跳过提示时在调试日志里写明原因
34
+
9
35
  ## 1.56.2 - 2026-10-20
10
36
 
11
37
  1.56.2 修复 1.56.1 评审里的全部问题,并加入工作控制器、逐项清单、定位升级梯和统一错误策略。
package/README.md CHANGED
@@ -85,7 +85,7 @@ clavue-v1 --version
85
85
  Pin a version:
86
86
 
87
87
  ```bash
88
- curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.56.2/install.sh | bash -s -- 1.56.2
88
+ curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.56.4/install.sh | bash -s -- 1.56.4
89
89
  ```
90
90
 
91
91
  Upgrade later with `clavue-v1 update` (startup check / `/update` also prefer the public v1 release, then fall back to npm).
@@ -96,7 +96,7 @@ Upgrade later with `clavue-v1 update` (startup check / `/update` also prefer the
96
96
  npm install -g clavue-v1
97
97
  # or one-shot:
98
98
  npx -y clavue-v1
99
- npx -y clavue-v1@1.56.2 --version
99
+ npx -y clavue-v1@1.56.4 --version
100
100
  ```
101
101
 
102
102
  One-line global install via the package (npm / unpkg):
@@ -108,7 +108,7 @@ curl -fsSL https://unpkg.com/clavue-v1/install.sh | bash
108
108
  Install a specific version globally:
109
109
 
110
110
  ```bash
111
- curl -fsSL https://unpkg.com/clavue-v1@1.56.2/install.sh | bash -s -- 1.56.2
111
+ curl -fsSL https://unpkg.com/clavue-v1@1.56.4/install.sh | bash -s -- 1.56.4
112
112
  ```
113
113
 
114
114
  ```bash
@@ -559,6 +559,14 @@ it with thinking off by default; the OpenAI-compatible endpoint returns the
559
559
  `reasoning` field when a request sets
560
560
  `chat_template_kwargs: {"enable_thinking": true}`.
561
561
 
562
+ Precondition: PLAN and REVIEW run only when their model differs from main.
563
+ With `CLAVUE_COMBO_MAIN=clavue-2.1` as well, both hops are skipped (the same
564
+ model again is not a second opinion; a serious delivery still gets its
565
+ review). Since 1.56.4 a skip prints one line saying so, e.g. "Plan hop
566
+ skipped: the plan slot is the same model as main (clavue-2.1)". Pair a
567
+ `clavue-2.1-fast` or another-family main with these slots, keeping in mind
568
+ that main still writes the code and applies the review.
569
+
562
570
  ### Token budget window (opt-in, 1.48.2 / completed in 1.50.1)
563
571
 
564
572
  `CLAVUE_COMPACT_TOKEN_BUDGET=1`, or `/budget on` inside a session (`/budget off`,
@@ -651,7 +659,7 @@ Version check:
651
659
 
652
660
  ```bash
653
661
  npx -y clavue-v1 --version
654
- npx -y clavue-v1@1.56.2 --version
662
+ npx -y clavue-v1@1.56.4 --version
655
663
  # available after a global install
656
664
  clavue-v1 --version
657
665
  ```