clavue-v1 1.60.9 → 1.61.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 +20 -0
- package/README.md +4 -4
- package/dist/cli-main.js +31 -31
- package/dist/cli.js +2 -2
- package/dist/mao-command.js +1 -1
- package/dist/openai-responses-adapter.js +3 -3
- package/dist/provider-router.js +3 -3
- package/dist/provider-setup.js +1 -1
- package/docs/release-notes-v1.60.11.md +45 -0
- package/docs/release-notes-v1.61.0.md +45 -0
- package/docs/tui-feed/feed.json +22 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,26 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
|
|
|
6
6
|
|
|
7
7
|
## Unreleased
|
|
8
8
|
|
|
9
|
+
## 1.61.0 - 2026-10-25
|
|
10
|
+
|
|
11
|
+
1.61.0 补上两处「失败被吞掉」的缺口,并把一条只在全量门禁里变红的测试修好。没有新功能。
|
|
12
|
+
- 完全没有凭据时,请求原先照常发出,网关回 404,界面显示 `There's an issue with the selected model … may not exist or you may not have access to it`,把人引向模型而不是缺失的密钥。现在 `getAnthropicClient` 在发请求前判定:无 key、无 token、无 `Authorization` / `x-api-key` 头时直接抛 `MissingCredentialError`(按 401 处理,不重试),提示写明 `No credential configured: set CLAVUE_API_KEY / CLAVUE_AUTH_TOKEN, run /login, or configure a provider in /provider`
|
|
13
|
+
- `/restart` 只打印目标版本 `Restarting on clavue-v1 X…`,`spawnSync` 的返回值被丢弃,重启失败、装了旧版本、屏幕滚动残留三种情况在终端上无法区分。现在子进程带 `CLAVUE_RESTART_TARGET_VERSION` 启动,新进程比对自身构建后打印一行结果:一致时说明已在 X 上继续,不一致时明确指出「目标 X 未生效——安装未更新或 PATH 上的入口不是它」
|
|
14
|
+
- `tests/154e-preflight-test-gate.test.mjs` 用 45 秒 `spawnSync` 超时跑完整 preflight,单独运行约 10 秒通过,但在 5000 条测试并发时被中途杀死,`inside the test runner` 一行还没输出就断言失败。结果每个已发布版本执行 `npm run check` 都必然变红,直到下次升版本号。子进程预算提到 120 秒、测试预算 150 秒
|
|
15
|
+
- 回归:`tests/ci-credentialless-startup.test.mjs`、`tests/1580-i-restart-command.test.mjs`、`tests/154e-preflight-test-gate.test.mjs`
|
|
16
|
+
|
|
17
|
+
## 1.60.11 - 2026-10-25
|
|
18
|
+
|
|
19
|
+
1.60.11 收掉四处从真实会话里复现的卡点。没有新功能。
|
|
20
|
+
- 无头运行被强杀时不会写入 `run_ended`,反馈条原先对未结束运行没有时间上限,`启动 · 停滞 23930秒` 会一直累加,还因未结束条目排序靠前占满三条槽位,把真正在跑的任务挤出去。现在超过 `ABANDONED_MS`(1 小时)无活动即判定为已停止,显示 `✗ … · 已停止`,再过 `RECENT_END_MS`(15 秒)后移出
|
|
21
|
+
- 判断运行是否还活着不再只看事件里的 `ts`。`readRunProgress` 同时记录事件文件的 mtime:追加字节是写入者的客观事实,优先采信;`ts` 只在文件无法 stat 时回退。取两者最大值是错的,未来时间的 `ts` 会让死运行永远判活
|
|
22
|
+
- 无名工具调用的恢复阶梯按每个对话的 `chainId` 累积,却没有任何复位点,长会话里第三次无名回复必然落到 `exhausted`。现在一次工具批次成功后清空该 `chainId` 的阶梯,复位点在 `runTools`
|
|
23
|
+
- 会话清理保持 `tool-results/` 的会话原子性(活跃 jsonl 仍可能指向溢出正文),只按单文件 mtime 清扫 `subagents/**/agent-*.jsonl`,且仅在 `.meta.json` 同样过期时一并删除。此前只要会话目录在 30 天窗口内被刷新过,它写过的 subagent 记录就永久留存
|
|
24
|
+
- `withRetry` 原先只认 `nonRetryableDecision(error) === 'credit'`,丢掉了 `retryWatchdog.ts` 已实现的静态 401 `auth` 判定,不可刷新的凭据仍会耗尽三次尝试和约 9 秒退避
|
|
25
|
+
- 1.60.10 这个版本号因发布通道受阻已作废,标签保留不动,改用 1.60.11
|
|
26
|
+
- TUI feed 仍是已发布版本,npm 发布后再同步
|
|
27
|
+
- 回归:`tests/1601-a-run-events.test.mjs`、`tests/1562-nameless-retry.test.mjs`、`tests/v1-session-cleanup.test.mjs`、`tests/156-retry-watchdog.test.mjs`
|
|
28
|
+
|
|
9
29
|
## 1.60.9 - 2026-10-24
|
|
10
30
|
|
|
11
31
|
1.60.9 把全局命令锁成 `clavue` 和 `clavue-v1`。两条都指向 `dist/cli.js`。日常的 `clavue` 不再留给 sibling 包 iclavue。
|
package/README.md
CHANGED
|
@@ -86,7 +86,7 @@ clavue-v1 --version
|
|
|
86
86
|
Pin a version:
|
|
87
87
|
|
|
88
88
|
```bash
|
|
89
|
-
curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.
|
|
89
|
+
curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.61.0/install.sh | bash -s -- 1.61.0
|
|
90
90
|
```
|
|
91
91
|
|
|
92
92
|
Upgrade later with `clavue update` or `clavue-v1 update` (startup check / `/update` also prefer the public v1 release, then fall back to npm).
|
|
@@ -97,7 +97,7 @@ Upgrade later with `clavue update` or `clavue-v1 update` (startup check / `/upda
|
|
|
97
97
|
npm install -g clavue-v1
|
|
98
98
|
# or one-shot:
|
|
99
99
|
npx -y clavue-v1
|
|
100
|
-
npx -y clavue-v1@1.
|
|
100
|
+
npx -y clavue-v1@1.61.0 --version
|
|
101
101
|
```
|
|
102
102
|
|
|
103
103
|
One-line global install via the package (npm / unpkg):
|
|
@@ -109,7 +109,7 @@ curl -fsSL https://unpkg.com/clavue-v1/install.sh | bash
|
|
|
109
109
|
Install a specific version globally:
|
|
110
110
|
|
|
111
111
|
```bash
|
|
112
|
-
curl -fsSL https://unpkg.com/clavue-v1@1.
|
|
112
|
+
curl -fsSL https://unpkg.com/clavue-v1@1.61.0/install.sh | bash -s -- 1.61.0
|
|
113
113
|
```
|
|
114
114
|
|
|
115
115
|
```bash
|
|
@@ -717,7 +717,7 @@ Version check:
|
|
|
717
717
|
|
|
718
718
|
```bash
|
|
719
719
|
npx -y clavue-v1 --version
|
|
720
|
-
npx -y clavue-v1@1.
|
|
720
|
+
npx -y clavue-v1@1.61.0 --version
|
|
721
721
|
# available after a global install; both names are this package
|
|
722
722
|
clavue --version
|
|
723
723
|
clavue-v1 --version
|