clavue-v1 1.51.0 → 1.52.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.
package/CHANGELOG.md CHANGED
@@ -6,6 +6,26 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## 1.52.0 - 2026-10-16
10
+
11
+ - 日记式界面:连续的读、搜、运行和过程中的一句话说明折成一行「✓ 改 tools.rs、runner.rs · 运行 6 条命令 · 读 2 个文件」,下面一行是模型最新的一句话;改过的文件总是点名,ctrl+o 展开全部
12
+ - 模型切换、首包超时改用备用、档位变化只进状态栏(显示「模型(备用)」),不再占滚动区
13
+ - 缓存前缀变化、自动续期、阶段进展、历史记录修复等维护信息只在 ctrl+o / `CLAVUE_DIARY_VERBOSE=1` 下显示
14
+ - 只保留最近一轮的「✓ 完成 · 用时」和最近一次压缩行;「Context compacted」改成中文一行
15
+ - 6 类错误统一写成「发生了什么 · 该怎么做」:首包超时、服务繁忙、登录失效、额度用完、内容太长、回复中断;原始报错 ctrl+o 可见
16
+ - 中文界面 spinner 只显示「处理中」,不再随机换词;中断显示「已停止 · 发新消息继续」
17
+ - 修复后台会话记忆提示词被当成用户消息显示(恢复会话时约 25 行英文)
18
+ - `CLAVUE_DIARY_LEGACY=1` 恢复 1.51 的显示方式
19
+ - 实测(两份 8000+ 条消息的真实会话):滚动区行数降到 27%,系统行降到 7%–18%,渲染快约 3 倍,峰值内存下降
20
+
21
+ ## 1.51.1 - 2026-10-16
22
+
23
+ - 首包超时二级备用:当前模型已经是备用模型时,改用另一家族的模型(ttqq 默认 cn:deepseek-v4.1-flash → cn:glm-5.3 → clavue-2.1);`CLAVUE_COMBO_FALLBACK` 支持逗号分隔列表
24
+ - 首包超时单独成为错误类型 first_byte_timeout;压缩后续跑遇到它时换下一个备用模型再试一次,不再显示「0 retry attempts」就停
25
+ - 首包超时按输入大小放宽:估算输入超过 80k token 时等 75 秒;显式设置 `CLAVUE_API_FIRST_BYTE_TIMEOUT_MS` 时以它为准
26
+ - timing.ndjson 记录失败的请求(error、attempt),成功请求同时记下请求的模型 requestedModel 和网关返回的模型 responseModel
27
+ - 会话 jsonl 的 version 字段不再是 "unknown"
28
+
9
29
  ## 1.51.0 - 2026-10-16
10
30
 
11
31
  - 四档任务分级:简单、一般、复杂、长程。每问先按规则分档,规则拿不准时由 PLAN 补判(限时 1 秒,超时按一般档);/goal 进行中一律按长程档
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.51.0/install.sh | bash -s -- 1.51.0
88
+ curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.52.0/install.sh | bash -s -- 1.52.0
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.51.0 --version
99
+ npx -y clavue-v1@1.52.0 --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.51.0/install.sh | bash -s -- 1.51.0
111
+ curl -fsSL https://unpkg.com/clavue-v1@1.52.0/install.sh | bash -s -- 1.52.0
112
112
  ```
113
113
 
114
114
  ```bash
@@ -500,7 +500,7 @@ Version check:
500
500
 
501
501
  ```bash
502
502
  npx -y clavue-v1 --version
503
- npx -y clavue-v1@1.51.0 --version
503
+ npx -y clavue-v1@1.52.0 --version
504
504
  # available after a global install
505
505
  clavue-v1 --version
506
506
  ```