clavue-v1 1.37.4 → 1.38.2
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 +31 -0
- package/README.md +5 -5
- package/dist/cli.js +453 -380
- package/dist/mao-command.js +1 -1
- package/dist/openai-responses-adapter.js +5 -4
- package/dist/provider-router.js +6 -5
- package/dist/provider-setup.js +1 -1
- package/docs/agent-fix-retro-2026-10-06.md +175 -0
- package/docs/release-notes-v1.38.0.md +34 -0
- package/docs/release-notes-v1.38.1.md +24 -0
- package/docs/release-notes-v1.38.2.md +52 -0
- package/docs/tui-feed/feed.json +26 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,37 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
|
|
|
4
4
|
|
|
5
5
|
格式约定(`parseChangelog` 依赖):二级标题为 `## <版本> - <日期>`,条目以 `- ` 开头,一行一条,命令与模型名保留英文。
|
|
6
6
|
|
|
7
|
+
## 1.38.2 - 2026-10-07
|
|
8
|
+
|
|
9
|
+
- 不同文件的 Edit 和 Write 在同一条回复里并行落盘,默认同批最多 10 个。同一文件仍按顺序写,后一次对得上前一次刚写入的内容
|
|
10
|
+
- 路径锁按文件排队:不同路径同时读,同一路径一次一个读者,已经在等的写入优先于后来的读
|
|
11
|
+
- Grep 凑满行数就停止搜索,并跳过超过 5MB 的文件。SKILL.md、skills 目录下的 Markdown,以及 AGENTS.md、CLAUDE.md、clavue.md,在体积允许时整文件返回。负偏移从文件末尾数行
|
|
12
|
+
- Edit 碰到破折号、不间断空格、省略号或全角连字符时只给出提示,不自动改写。已经写上磁盘的同一处编辑再发一次,算已经落地
|
|
13
|
+
- `cmd & cmd & wait` 可以并行;命令末尾的裸 `&` 仍拒绝。`pkill -f` / `pgrep -f` 匹配到当前命令自己时拒绝。macOS 沙箱允许当前进程 `system-sched`,zsh 后台任务不再报 nice(5)
|
|
14
|
+
- 屏幕上的回复和 `--print` 的 result 去掉行尾的 `step: continue`、`step: done`、`step: handback`。查询循环仍读这一行,用来决定续跑还是结束
|
|
15
|
+
- 用量里的 maxOutputTokens 用目录公布的最大输出,没有目录项时用模型种子。`cn:glm-5.3-flash` 没有目录输出上限时是 131072,不再等于上下文窗口
|
|
16
|
+
- 目录里的 `max_context_length` 和数字字符串会计入上下文窗口。effort 跟随目录里的命名档;目录写明不支持时,未在本会话执行 `/effort` 就不再发送
|
|
17
|
+
- 工作上下文留空、full、off 时跟随模型窗口,包括目录窗口,不再把留空收成 200k
|
|
18
|
+
- 子代理并发默认 32,满了排队;`0` 仍是 32。已经开过并行工作树的会话,要说停止并行或执行 `/clear` 才清掉这个标记。互不相关的写入可以在一条消息里用 isolation worktree 的后台代理启动
|
|
19
|
+
- 子代理状态显示槽位、模型和 effort。目录没有默认推理档且本会话没执行 `/effort` 时,不显示 effort
|
|
20
|
+
- macOS 沙箱补上模拟器、Xcode 和设备控制需要的 mach-lookup,避免命令因 XPC 被拒后整段关掉沙箱。文件和网络规则不变
|
|
21
|
+
|
|
22
|
+
## 1.38.1 - 2026-10-07
|
|
23
|
+
|
|
24
|
+
- 工具参数 JSON 被截断时不再静默结束回合。同一条流截断恢复预算内会续写;用尽后警告并标 incomplete_tool_use,超过 30 秒的回合也按未完成工作提示
|
|
25
|
+
- 带 think 标签、fabricating 或伪造 pwd/ls 输出的计划不能冻结。只复制到临时目录的 cp 不算写入,不再误触发交付 P0
|
|
26
|
+
- 堆过临界线时只减压,不笔记压缩,也不写 compact_boundary。自动压缩成功后基线写成压缩后的 token 数。低于模型阈值且缩小不足 20% 时,在到达阈值前不再自动压缩,并提示一次
|
|
27
|
+
|
|
28
|
+
## 1.38.0 - 2026-10-07
|
|
29
|
+
|
|
30
|
+
- 任务框:用户消息里的目标、约束和验收命令收成一份框,每条用户消息前提醒;`继续` 不改框;compact 后保留框并重插提醒,`/clear` 才整框清掉
|
|
31
|
+
- 停手催验收:任务框里有 `node --test` 或 `npm test` 时,run_check 和 verify 门控写成 `Run: <那条命令>`;工具批次刚跑完不再注入 run_check
|
|
32
|
+
- 读/search 打转:第 3 次 Read 只回指针;Grep/Bash/Glob 第 3 次起追加「只能 Edit 或跑验收」;连续读/search 无 Edit 时 drift 提醒一次;卡住 120 秒对用户弹出 `/rewind` 菜单
|
|
33
|
+
- Bash 重复行在截断前折叠;同一命令相同 stdout 可收成一行指针(`git status` 除外)
|
|
34
|
+
- 工作目录外 Write/Edit:尾段像 `src/…` 时改写到当前仓库对应路径;Read 对工作区外路径可 suggest 本地同名文件
|
|
35
|
+
- 只说「继续」且没有待选时交给模型,不再静默结束回合
|
|
36
|
+
- Jev 块准入(默认 shadow):大段 Bash/PowerShell 输出按段问 keep/drop;`CLAVUE_JEV_BLOCK_ADMISSION=active` 在 receipt 样本达标后才真删段
|
|
37
|
+
|
|
7
38
|
## 1.37.4 - 2026-10-06
|
|
8
39
|
|
|
9
40
|
- 内存紧张时保留已读记录。真压缩清掉记录后,Edit、Write 和 Notebook 要求重新读取,不再说从没读过。范围读取仍然算读过。只有没读过、只有片段、记录已清除这三类,成功读取后才清掉重复错误计数
|
package/README.md
CHANGED
|
@@ -82,8 +82,8 @@ npx -y clavue-v1
|
|
|
82
82
|
Run a specific version with `npx`:
|
|
83
83
|
|
|
84
84
|
```bash
|
|
85
|
-
npx -y clavue-v1@1.
|
|
86
|
-
npx -y clavue-v1@1.
|
|
85
|
+
npx -y clavue-v1@1.38.2 --version
|
|
86
|
+
npx -y clavue-v1@1.38.2
|
|
87
87
|
```
|
|
88
88
|
|
|
89
89
|
Install globally from npm when you want the `clavue-v1` command to stay available:
|
|
@@ -105,7 +105,7 @@ curl -fsSL https://unpkg.com/clavue-v1/install.sh | bash
|
|
|
105
105
|
Install a specific version globally:
|
|
106
106
|
|
|
107
107
|
```bash
|
|
108
|
-
curl -fsSL https://unpkg.com/clavue-v1@1.
|
|
108
|
+
curl -fsSL https://unpkg.com/clavue-v1@1.38.2/install.sh | bash -s -- 1.38.2
|
|
109
109
|
```
|
|
110
110
|
|
|
111
111
|
## Quick Start: Official Clavue Cloud
|
|
@@ -406,7 +406,7 @@ Version check:
|
|
|
406
406
|
|
|
407
407
|
```bash
|
|
408
408
|
npx -y clavue-v1 --version
|
|
409
|
-
npx -y clavue-v1@1.
|
|
409
|
+
npx -y clavue-v1@1.38.2 --version
|
|
410
410
|
# available after a global install
|
|
411
411
|
clavue-v1 --version
|
|
412
412
|
```
|
|
@@ -621,7 +621,7 @@ Companion desks are job contracts, not toys: `/girl` recaps and writes a handoff
|
|
|
621
621
|
- Clearing a remote conversation clears the backend session before resetting the local UI.
|
|
622
622
|
- Idle task boards label unfinished work as needing continuation instead of implying active execution.
|
|
623
623
|
- Proactive compaction stays enabled for large sessions, and reactive overflow recovery remains available when a route still hits a hard context limit.
|
|
624
|
-
- Install writes `CLAVUE_WORKING_CONTEXT_TOKENS=full
|
|
624
|
+
- Install writes `CLAVUE_WORKING_CONTEXT_TOKENS=full`. An empty value follows the same advertised window, including a catalog `context_length` from GET `/v1/models`. A 1M model then compacts near 847k tokens. A numeric cap such as `500000` compacts near 80% of that cap. 200k and 32k windows keep their existing triggers.
|
|
625
625
|
- `/config` → Working context writes `env.CLAVUE_WORKING_CONTEXT_TOKENS` in `~/.clavue/settings.json` and applies it to the current session. `full` and `off` follow the model window. `500000` plans against 500k tokens and compacts near 400k. `256000` compacts near 205k. Any other positive integer is a cap in tokens. A value saved there wins over the same shell variable on the next launch. A window already at or below the cap is left on its existing trigger.
|
|
626
626
|
- Progress sentences between tool calls follow the user's latest message. A Chinese prompt stays in 简体中文, including the closing summary. An explicit Language setting wins. Greetings and clearly structural heavy turns skip the Jev intake round trip; ordinary edits and length-only pastes still ask. The same judge choice is reused within one turn.
|
|
627
627
|
- The last `/stage` confirmation starts step one after the chosen wait. Esc during that wait cancels it. A command typed during the wait runs first, and the stage continues after that turn. Counts are 3, 5, 10, until done (max 50), or a typed integer from 1 to 50. Until done stops when the reply is a real close.
|