clavue-v1 1.65.2 → 1.65.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
@@ -4,6 +4,29 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
4
4
 
5
5
  格式约定(`parseChangelog` 依赖):二级标题为 `## <版本> - <日期>`,条目以 `- ` 开头,一行一条,命令与模型名保留英文。
6
6
 
7
+ ## Unreleased
8
+
9
+ ## 1.65.4 - 2026-10-30
10
+
11
+ 思考显示先过一层协议包装清理:存下来的 thinking 保持原样,只有渲染用的文本被处理。
12
+
13
+ - **显示边界:** `src/utils/reasoningText.ts` 的 `reasoningText(text)` 只处理渲染文本。流式中尚未闭合的 `<signature` 开头、或开标签之后没有闭合标签,显示为空;完整的 `<signature>…</signature>` 前缀连同其后的换行被去掉;其他文本原样返回。
14
+ - **不留空行:** 清理后为空的思考块不渲染(`AssistantThinkingMessage` 返回 `null`),折叠标题与活动行只拿清理后的文本。
15
+ - **持久化不变:** transcript 里存的 thinking 仍是 raw,调试与回放不受影响。
16
+ - 回归:`tests/1654-reasoning-display.test.mjs`
17
+ - English: display-only preparation strips a protocol wrapper (`<signature>…</signature>`) from the head of a reasoning block, and yields empty display for a still-streaming or unclosed wrapper. Stored thinking stays raw; headline and activity rows only see prepared text.
18
+
19
+ ## 1.65.3 - 2026-10-30
20
+
21
+ 有名字的工具调用不再走进无名重试。流式名字晚到时,会在块结束前合并。
22
+
23
+ - **具名即执行:** `name`、`tool_name`、`function.name` 任一有值,当前回复不进入无名阶梯,也不会因此停成交互暂停。真空名仍然重试。
24
+ - **name-late:** OpenAI 兼容流里工具名若晚于 `content_block_start` 才到,在 `content_block_stop` 之前写回该块(`tool_name_delta`)。`mcp_tool_use` 同样认这个名字。
25
+ - **只看当前回复:** 上一轮的 `tool_use` 停止不再把这一轮推进无名恢复。
26
+ - **max_tokens:** 请求不超过有效上限,约 40K;deepseek-v4.1-flash 与 deepseek-v4-flash 约 32K。目录里的 128K–393K 只作参考,不会原样发给网关。
27
+ - 回归:`tests/1653-named-tool-keeps.test.mjs`,`tests/gateway-normalizers.test.mjs`,`tests/1562-nameless-retry.test.mjs`
28
+ - English: a settled tool name (`name`, `tool_name`, or `function.name`) does not enter nameless recovery. A late stream name is merged before `content_block_stop`. A truly empty name still retries. Request `max_tokens` stays within the effective cap (about 40K, deepseek flash about 32K) instead of a catalog seed.
29
+
7
30
  ## 1.65.2 - 2026-10-30
8
31
 
9
32
  ### Added
package/README.md CHANGED
@@ -89,7 +89,7 @@ clavue-v1 --version
89
89
  Pin a version:
90
90
 
91
91
  ```bash
92
- curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.65.2/install.sh | bash -s -- 1.65.2
92
+ curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.65.4/install.sh | bash -s -- 1.65.4
93
93
  ```
94
94
 
95
95
  Upgrade later with `clavue update` or `clavue-v1 update` (startup check / `/update` also prefer the public v1 release, then fall back to npm).
@@ -100,7 +100,7 @@ Upgrade later with `clavue update` or `clavue-v1 update` (startup check / `/upda
100
100
  npm install -g clavue-v1
101
101
  # or one-shot:
102
102
  npx -y clavue-v1
103
- npx -y clavue-v1@1.65.2 --version
103
+ npx -y clavue-v1@1.65.4 --version
104
104
  ```
105
105
 
106
106
  One-line global install via the package (npm / unpkg):
@@ -112,7 +112,7 @@ curl -fsSL https://unpkg.com/clavue-v1/install.sh | bash
112
112
  Install a specific version globally:
113
113
 
114
114
  ```bash
115
- curl -fsSL https://unpkg.com/clavue-v1@1.65.2/install.sh | bash -s -- 1.65.2
115
+ curl -fsSL https://unpkg.com/clavue-v1@1.65.4/install.sh | bash -s -- 1.65.4
116
116
  ```
117
117
 
118
118
  ```bash
@@ -720,7 +720,7 @@ Version check:
720
720
 
721
721
  ```bash
722
722
  npx -y clavue-v1 --version
723
- npx -y clavue-v1@1.65.2 --version
723
+ npx -y clavue-v1@1.65.4 --version
724
724
  # available after a global install; both names are this package
725
725
  clavue --version
726
726
  clavue-v1 --version