clavue-v1 1.60.4 → 1.60.6

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,31 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## 1.60.6 - 2026-10-24
10
+
11
+ 1.60.6 停掉「Emitting / Enough / I'll emit」这种没有 tool_use 的叙述空转,并缩短间歇 502 和超时在同一模型上的空烧。两处都是早就存在的缺口现在爆发了,不是 1.60.4 / 1.60.5 飞书或界面文案引进的回归。
12
+ - 叙述守卫是潜伏白名单缺口。流折叠从 1.16.0(aa8c4c52,2026-09-18)开始;1.17.2(caf1c5de)收「Done.」短句洪水;1.36.2(83380c2f,2026-10-03)把工具叙述收成一族、折叠标记不进模型、零工具叙述继续一次;短语在 a799f928(2026-10-08,#47)拆进 `v1RepetitionGuardKeys.ts`。`isToolNarrationFragment` 一直只匹配 let me run / calling bash / here it is / ok running / break this loop and call bash / doing it now。`git log -S "I'll emit"` 在 `src` 上为空。1.60.3–1.60.5(766160c9、5ae972ac、72d585a8)没有改这个守卫
13
+ - `src/utils/narrationLanguage.ts` 只有 1.34.9(89ea4a32,2026-09-29)一次提交,钉的是中文进度文案,不是 emit 循环的原因
14
+ - 现场方言出现在多台 Mac 会话(lowshen e84dce29、claude-code-source adca932d、jevcode、website-ai),常见模型 `cn:deepseek-v4.1-flash`。这些 jsonl 不在本仓库,短语计数来自现场记录,这里没有重数
15
+ - 整句「I'll emit / Emitting the Edit tool call / OK — emitting」算工具叙述;「The emitter circuit」和「I'll emit the metrics in the next paragraph」仍是正文。Enough / OK / Now 只有和 emit 公告在同一条回复里才算叙述。一族最多留两句
16
+ - 直播里退化的叙述洪水返回 `cut`:调用方把 `stop_reason` 收成 `end_turn`,`cleanupStream` 掐掉套接字,不标 `stream_cut`(标了会恢复并再跑同一段)。「Done.」洪水仍只吞掉后续增量、不掐流。回合结束先 nudge 一次,文案改为要求直接发 `tool_use`,不再写 Emit;下一次还是叙述就停
17
+ - 网关是潜伏的路径缺口,加上上游间歇 502 / 超时 / 401。`withRetry` 和首字节回退从 1.48.6(9ff15682)演进到 1.56.8(35e8f4e6),但 502 仍在同一模型上用满 `MODEL_CALL_MAX_RETRIES = 10`(共 11 次)才考虑换模型。`gatewayIsTtqq`(7e18c9fc,1.48.9,#141)只认 `ttqq`,`ttkk` / `ttgg` 进不了默认备份列表
18
+ - `sideQuery` 的 `maxRetries = 2` 从初始提交 9c4b15ef(2026-03-31)起只是客户端缓存键。SDK 写明重试归 `withRetry`,`sideQuery` 从未调用它。hop 把失败交给 `shouldAdvanceSlotChain` 时不带 `consecutive5xx`,而 5xx 要累计到 10 才换槽,所以旁路 502 从不前进。1.60.3–1.60.5 没有改这些文件
19
+ - 同一模型的 flake(502 / 503 / 504,或超时)最多 3 次。主线程第 3 次先让已配置的 slot chain 前进,否则走 inping 默认备份(`ttqq` / `ttkk` / `ttgg` 共用),再没有就停。旁路按 `maxRetries`(默认再试 2 次,共 3 次)重试 flake;耗尽后 hop 把这次失败看成 5xx 预算已满,slot chain 可以前进。401 / 403 仍是认证,不重试、不换模型。永久 “no available channel” 不是 flake。500 隧道闪断仍走原来的同模型延迟
20
+ - 快改(`v1FastApply`)仍是一次 http-5xx 重试、超时立即返回,文件在架构上限,不是这条 11 次主回合路径。仅思考的回合本来就会再试一次然后暂停。`CLAVUE_GATEWAY_NORMALIZE=0` 时不做直播 cut,回合结束的叙述判断仍在。`clavue-2.1` 本地优先在没有 `CLAVUE_COMBO_FALLBACK` 时仍不走默认云备份。TUI feed 仍是 1.60.5,发布后再同步
21
+ - 回归:`tests/1606-efficiency-cluster.test.mjs`
22
+
23
+ ## 1.60.5 - 2026-10-23
24
+
25
+ 1.60.5 把飞书放进 API 配置菜单,并把 clavue-2.1 与 clavue-2.1-fast 的登记改成 100 万上下文、38 万最大输出。Light 优先用 `clavue-24a`(`clavue-2.1-fast` 仍是同一档)。
26
+ - `/provider` 与 `clavue provider` 的模式列表在 Jev 后面增加「配置飞书通知/回复(webhook + 可选应用机器人)」。向导收集 webhook、签名密钥、通知开关、App ID、App Secret、长连接和可选测试。留空保持原值,`off` 清除。密钥进安全存储,不进 `feishu.json`。保存后回到主菜单,不切换当前模型
27
+ - `clavue-2.1`、`clavue-2.1-fast`、`clavue-24a` 的上下文登记为 1_000_000,最大输出登记为 380_000。`CLAVUE21_CONTEXT_WINDOW` 只改 clavue-2.1。更小的目录数字(含 262144、131072)不会把这三档缩小。8192 只是工具回合的调用建议,不是登记上限
28
+ - 官方 Light / haiku / 子代理默认是 `clavue-24a`。主模型仍是 `clavue`,sonnet 仍是 `clavue-2.1`
29
+ - 思考占满 `max_tokens` 时,短请求会抬到至少 10240(6144 思考 + 4096 回答),并且这三档不发送 `enable_thinking: false`,也不套 1024 的简单档上限
30
+ - 中文界面的页脚和日记把仍在跑的 shell 写成「N 个后台命令」和「后台命令已运行 N 秒」,任务 id 保持原文
31
+ - 这三档的 Chat Completions 请求保持 `stream: true`,不带 `stream_options`;有工具时发送 `tool_choice: auto`。参数按 index 拼起来,结束时解析一次
32
+ - 回归:`tests/feishu-provider-menu.test.mjs`、`tests/1605-family-registry.test.mjs`
33
+
9
34
  ## 1.60.4 - 2026-10-23
10
35
 
11
36
  1.60.4 接上飞书。自定义机器人 webhook 只能向外发通知;要在飞书里回复或点按钮让本机会话继续,必须另配企业自建应用机器人,并用长连接。npm 上一条已发布版本仍是 1.60.2,所以这个包同时带上尚未发出的 1.60.3。
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.60.4/install.sh | bash -s -- 1.60.4
88
+ curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.60.6/install.sh | bash -s -- 1.60.6
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.60.4 --version
99
+ npx -y clavue-v1@1.60.6 --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.60.4/install.sh | bash -s -- 1.60.4
111
+ curl -fsSL https://unpkg.com/clavue-v1@1.60.6/install.sh | bash -s -- 1.60.6
112
112
  ```
113
113
 
114
114
  ```bash
@@ -118,10 +118,10 @@ CLAVUE_INSTALL_SOURCE=npm curl -fsSL https://raw.githubusercontent.com/mycode699
118
118
 
119
119
  The package exposes a single `clavue-v1` bin. It deliberately does not claim the `clavue` name, so a global install never clashes with an existing `clavue` (v8.x) installation.
120
120
 
121
- **PATH note (1.60.4):** a bare `clavue` on your PATH may be the separate **iclavue** shim, which hardcodes `--version` as `13.8.0 (Clavue)` and is not this package. Always check the product with:
121
+ **PATH note (1.60.6):** a bare `clavue` on your PATH may be the separate **iclavue** shim, which hardcodes `--version` as `13.8.0 (Clavue)` and is not this package. Always check the product with:
122
122
 
123
123
  ```bash
124
- clavue-v1 --version # e.g. 1.60.4 (clavue / 克拉维)
124
+ clavue-v1 --version # e.g. 1.60.6 (clavue / 克拉维)
125
125
  which clavue clavue-v1 # see which binary PATH resolves
126
126
  npm root -g # …/node_modules/clavue-v1 is the install
127
127
  ```
@@ -262,12 +262,16 @@ On first launch, Clavue should make the setup choice obvious:
262
262
  请选择 API 配置模式:
263
263
  使用 clavue OAuth
264
264
  自定义 API 配置
265
+ 配置 Jev(API URL / Key / 模型,全局生效)
266
+ 配置飞书通知/回复(webhook + 可选应用机器人)
267
+ 网页配置(router.clavue.com)
265
268
  使用 CCR 代理
266
269
  跳过(稍后手动配置)
267
270
  ```
268
271
 
269
272
  - Use clavue OAuth when you want the official Clavue membership flow.
270
273
  - Use custom API configuration when you have an API base URL plus API key or auth token.
274
+ - Feishu in that menu is notify/reply (webhook, optional app bot). It does not create or switch a model profile.
271
275
  - Use CCR proxy when your environment already standardizes on a compatible proxy route.
272
276
  - Skip only when you want to configure later with `clavue-v1 provider` or `/provider`.
273
277
 
@@ -706,7 +710,7 @@ Version check:
706
710
 
707
711
  ```bash
708
712
  npx -y clavue-v1 --version
709
- npx -y clavue-v1@1.60.4 --version
713
+ npx -y clavue-v1@1.60.6 --version
710
714
  # available after a global install
711
715
  clavue-v1 --version
712
716
  ```