clavue-v1 1.67.5 → 1.67.7
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 +21 -0
- package/README.md +4 -4
- package/dist/cli-main.js +20 -20
- 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/evals/README.md +78 -0
- package/docs/release-notes-v1.67.6.md +90 -0
- package/docs/release-notes-v1.67.7.md +82 -0
- package/docs/tui-feed/feed.json +26 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,27 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
|
|
|
6
6
|
|
|
7
7
|
## Unreleased
|
|
8
8
|
|
|
9
|
+
## 1.67.7 - 2026-11-03
|
|
10
|
+
|
|
11
|
+
`npm run check:bench` 以前只读跑分结果,从不看评测定义本身。两个声称有 30 / 50 个任务的评测,实际各只有 10 个,引用的模板与答案文件在仓库里根本不存在——而检查器全程沉默。
|
|
12
|
+
|
|
13
|
+
- **修复:** `scripts/check-bench.mjs` 现在先校验评测定义,再跑原有 ratchet。自动发现 `bench/bench-v1.json` 与每个 `bench/*/manifest.json`,逐条检查声明的任务数与实际条目数一致、`task.setup` 目录与 `task.answer.file` 确实存在。
|
|
14
|
+
- **防绕过:** 声明数量可以写在显式 `taskCount` 字段,或 `description` 的 `<N>-task` 前缀;两者同时存在时必须一致,否则报错。非整数 `taskCount` 直接拒绝。未知 `status` 值也是错误,所以 `"skelton"` 这样的拼写不会静默关掉整道检查。
|
|
15
|
+
- **骨架评测:** `"status": "skeleton"` 让未建成的评测豁免路径检查,但**不豁免**数量校验,且必须写明不可运行的原因。
|
|
16
|
+
- **修正:** `bench/efficiency-v1` 与 `bench/context-bench` 的描述改为真实的 10 个任务,并标注 `status: skeleton` 与确切缺口。
|
|
17
|
+
- **测试:** 新增 `tests/check-bench-manifest.test.mjs` 10 条用例,已纳入 `npm run test:fast`(1351 条,137 文件,14436ms / 20000ms)。
|
|
18
|
+
- **文档:** 新增 `docs/evals/README.md`,列出哪些评测真能跑、哪些是骨架、各自命令与成本。
|
|
19
|
+
- English: `check:bench` now validates the benchmark definitions themselves, not just the stored results. Two suites advertised 30 and 50 tasks while shipping 10 each, with setup templates and answer files that never existed — and nothing failed. Declared counts (explicit `taskCount` or an `<N>-task` prefix, which must agree) are checked against the task list; setup and answer paths must resolve unless the manifest is marked `"status": "skeleton"`, which still keeps the count check.
|
|
20
|
+
|
|
21
|
+
## 1.67.6 - 2026-11-03
|
|
22
|
+
|
|
23
|
+
1.67.5 只修了「错误提示指向错误手段」,配置漂移本身仍然无声无息。
|
|
24
|
+
|
|
25
|
+
- **根因:** `applyConfigEnvironmentVariables()` 用 `Object.assign(process.env, settings.env)` 覆盖 profile 已写入的 base URL,没有任何提示。`settings.json` 的 `env` 里一条残留的 `CLAVUE_BASE_URL` 就能把请求永久改道到中转网关。
|
|
26
|
+
- **修复:** `/doctor` 新增 `detectRouteDriftWarnings()`,当 `env` 里的 `CLAVUE_BASE_URL` / `CLAVUE_MODEL` 与实际生效值不一致时报出,并给出确切清理步骤(从 `settings.json` 的 `env` 块删掉这两个键)。
|
|
27
|
+
- **测试:** 新增 `tests/route-drift-doctor.test.mjs` 4 条用例。
|
|
28
|
+
- English: `/doctor` now names a `settings.json` env block that overrides the active provider profile's route, with the exact cleanup. Previously the override was silent, so a stale `CLAVUE_BASE_URL` could redirect every request to a relay with nothing pointing at the cause.
|
|
29
|
+
|
|
9
30
|
## 1.67.5 - 2026-11-03
|
|
10
31
|
|
|
11
32
|
「登录已失效 · 运行 /login」反复出现,但 `/login` 怎么试都没用。
|
package/README.md
CHANGED
|
@@ -90,7 +90,7 @@ clavue-v1 --version
|
|
|
90
90
|
Pin a version:
|
|
91
91
|
|
|
92
92
|
```bash
|
|
93
|
-
curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.67.
|
|
93
|
+
curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.67.7/install.sh | bash -s -- 1.67.7
|
|
94
94
|
```
|
|
95
95
|
|
|
96
96
|
Upgrade later with `clavue update` or `clavue-v1 update` (startup check / `/update` also prefer the public v1 release, then fall back to npm).
|
|
@@ -101,7 +101,7 @@ Upgrade later with `clavue update` or `clavue-v1 update` (startup check / `/upda
|
|
|
101
101
|
npm install -g clavue-v1
|
|
102
102
|
# or one-shot:
|
|
103
103
|
npx -y clavue-v1
|
|
104
|
-
npx -y clavue-v1@1.67.
|
|
104
|
+
npx -y clavue-v1@1.67.7 --version
|
|
105
105
|
```
|
|
106
106
|
|
|
107
107
|
One-line global install via the package (npm / unpkg):
|
|
@@ -113,7 +113,7 @@ curl -fsSL https://unpkg.com/clavue-v1/install.sh | bash
|
|
|
113
113
|
Install a specific version globally:
|
|
114
114
|
|
|
115
115
|
```bash
|
|
116
|
-
curl -fsSL https://unpkg.com/clavue-v1@1.67.
|
|
116
|
+
curl -fsSL https://unpkg.com/clavue-v1@1.67.7/install.sh | bash -s -- 1.67.7
|
|
117
117
|
```
|
|
118
118
|
|
|
119
119
|
```bash
|
|
@@ -722,7 +722,7 @@ Version check:
|
|
|
722
722
|
|
|
723
723
|
```bash
|
|
724
724
|
npx -y clavue-v1 --version
|
|
725
|
-
npx -y clavue-v1@1.67.
|
|
725
|
+
npx -y clavue-v1@1.67.7 --version
|
|
726
726
|
# available after a global install; both names are this package
|
|
727
727
|
clavue --version
|
|
728
728
|
clavue-v1 --version
|