clavue-v1 1.56.4 → 1.56.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 +20 -0
- package/README.md +41 -4
- package/dist/cli-main.js +199 -194
- package/dist/cli.js +2 -2
- package/dist/mao-command.js +1 -1
- package/dist/openai-responses-adapter.js +5 -5
- package/dist/provider-router.js +5 -5
- package/dist/provider-setup.js +1 -1
- package/docs/release-notes-v1.56.5.md +20 -0
- package/docs/release-notes-v1.56.6.md +13 -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.56.6 - 2026-10-21
|
|
10
|
+
|
|
11
|
+
1.56.6 修复会话诊断 diag-10fcfb7e 里的问题。
|
|
12
|
+
- 网关「正常结束」但没有计费输出(output_tokens 为 0、有内容)的回复按连接截断处理:在同一路由上续接,最多 5 次,不再当成「只有思考内容」;对会签名思考的路由,思考块没有签名的纯思考回复也按截断处理;5 次用完时暂停行是「上游连接截断」,不再是「模型出错」
|
|
13
|
+
- 第一轮请求用你配置的 main 模型:定位阶段只在明确配置了 plan 槽(`CLAVUE_COMBO_PLAN`、设置里的 plan 槽,或官方云默认)时才换模型,不再用 `CLAVUE_DEFAULT_OPUS_MODEL` 这类默认值;「计划跳已跳过」等说明按 main 槽比较,不再把定位阶段的模型说成 main
|
|
14
|
+
- 长时间没有输出的 Bash 命令:进度行显示已运行多久、还没有输出;输出经过 sort/head/tail 时说明要等命令结束才显示
|
|
15
|
+
- 界面上的状态行(运行中…、超时、转到后台、Stop 钩子失败)跟随会话语言;模型自己写的思考内容不改写
|
|
16
|
+
|
|
17
|
+
## 1.56.5 - 2026-10-21
|
|
18
|
+
|
|
19
|
+
1.56.5 实现 issue #179(岔路决定)和 clavue-2.1 适配第一批。
|
|
20
|
+
- #179 岔路决定:plan 槽比 main 强时,遇到不可逆的岔路(删除/清空、公开接口、没说清的「A 还是 B」、互相冲突的验收)只问一次 plan 模型(512 token、20 秒),答案变成一行 `fork: <id> choice=a|b because=…` 交给 main 遵循;会话里显示「岔路 …:询问 plan」和选择,超时或回复无效显示「岔路未决定」和原因;plan 和 main 是同一模型时不发送
|
|
21
|
+
- clavue-2.1 推理预算:端点不接受客户端思考预算(`thinking_budget`、`budget_tokens` 无效,只认 `enable_thinking: false`),所以客户端统计流式推理,超过 6144 token 还没有回答时结束这次回复,关掉思考续接一次;回答至少保留 4096 token(或上限的一半)。`CLAVUE_REASONING_BUDGET_TOKENS`(0 关闭)、`CLAVUE_ANSWER_RESERVE_TOKENS`
|
|
22
|
+
- clavue-2.1 本地优先:首字超时重试 clavue-2.1,不再默认换成云端模型;要云端备用请设 `CLAVUE_COMBO_FALLBACK`,或 `CLAVUE_LOCAL_FIRST=0`
|
|
23
|
+
- 隧道断连(HTTP 500 `do_request_failed`、EOF、连接重置)在同一模型上隔 2–3 秒重试,至少 3 次
|
|
24
|
+
- clavue-2.1 最大输出 128000 已和线上 ttqq 目录核对一致
|
|
25
|
+
- Bash 工具说明不再让模型把密码存到 `~/.clavue-secrets`:需要密码文件时请你自己创建,模型只读取;改动凭据文件的确认保留
|
|
26
|
+
- 新增 clavue-2.1 评测门槛 `scripts/clavue21-eval.mjs --gate`(编码 ≥60%、工具代理 ≥90%(不计基础设施错误)、完成判断误报 0),`release:preflight` 会运行;没有凭据或端点不通时显示 SKIP 和上次记录的结果,不会静默通过
|
|
27
|
+
- `npm run release:preflight` 嵌套在 npm run 里时,打包依赖检查不再误报
|
|
28
|
+
|
|
9
29
|
## 1.56.4 - 2026-10-20
|
|
10
30
|
|
|
11
31
|
1.56.4 修复 1.56.3 会话诊断(diag-2040)、issue #177 和 #178 里的问题。
|
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.56.
|
|
88
|
+
curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.56.6/install.sh | bash -s -- 1.56.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.56.
|
|
99
|
+
npx -y clavue-v1@1.56.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.56.
|
|
111
|
+
curl -fsSL https://unpkg.com/clavue-v1@1.56.6/install.sh | bash -s -- 1.56.6
|
|
112
112
|
```
|
|
113
113
|
|
|
114
114
|
```bash
|
|
@@ -567,6 +567,43 @@ skipped: the plan slot is the same model as main (clavue-2.1)". Pair a
|
|
|
567
567
|
`clavue-2.1-fast` or another-family main with these slots, keeping in mind
|
|
568
568
|
that main still writes the code and applies the review.
|
|
569
569
|
|
|
570
|
+
### clavue-2.1 as main (1.56.5)
|
|
571
|
+
|
|
572
|
+
`CLAVUE_COMBO_MAIN=clavue-2.1` (or `CLAVUE_MODEL=clavue-2.1`) is the local,
|
|
573
|
+
low-cost primary. 1.56.5 adds four client rules for it:
|
|
574
|
+
|
|
575
|
+
- Reasoning budget. The endpoint ignores client thinking budgets
|
|
576
|
+
(`thinking_budget`, `budget_tokens`; measured 2026-10-21) and honours only
|
|
577
|
+
`enable_thinking: false`. clavue-v1 therefore counts streamed reasoning:
|
|
578
|
+
past 6144 tokens with no answer yet it closes the reply and continues once
|
|
579
|
+
with thinking off, so the rest of the reply goes to the answer. At least
|
|
580
|
+
4096 tokens (or half the cap) stay reserved for the answer.
|
|
581
|
+
`CLAVUE_REASONING_BUDGET_TOKENS` (0 disables), `CLAVUE_ANSWER_RESERVE_TOKENS`,
|
|
582
|
+
`CLAVUE_REASONING_BUDGET_MODELS` (extra model ids).
|
|
583
|
+
- Local first. A first-byte miss on clavue-2.1 retries clavue-2.1 instead of
|
|
584
|
+
switching to a cloud model. A cloud backup is opt-in:
|
|
585
|
+
`CLAVUE_COMBO_FALLBACK=cn:glm-5.3` (any list), or `CLAVUE_LOCAL_FIRST=0` for
|
|
586
|
+
the default ttqq chain.
|
|
587
|
+
- Tunnel blips. HTTP 500 `do_request_failed`, EOF and connection resets are
|
|
588
|
+
retried on the same model after 2-3s, at least 3 times.
|
|
589
|
+
- Max output 128000, matching the live ttqq catalog row.
|
|
590
|
+
|
|
591
|
+
Fork decision (#179). With a stronger `CLAVUE_COMBO_PLAN` than main, a request
|
|
592
|
+
that hits an irreversible fork (delete / drop, public contract, an unspecified
|
|
593
|
+
"A or B", conflicting acceptance) gets one short plan-model call: two options
|
|
594
|
+
taken from your sentence, 512 tokens, 20s (`CLAVUE_COMBO_FORK_TIMEOUT_MS`).
|
|
595
|
+
The answer becomes one `fork: <id> choice=a|b because=...` line that main
|
|
596
|
+
follows; the session shows "岔路 destructive:询问 plan" and the choice, or
|
|
597
|
+
"岔路未决定" with the reason. Plan == main never sends it.
|
|
598
|
+
|
|
599
|
+
Eval gate. `node scripts/clavue21-eval.mjs --gate` runs the clavue-2.1 coding
|
|
600
|
+
(30 tasks x 2), tool-agent (15 repos x 2) and classifier (122 items) suites
|
|
601
|
+
with these client rules and fails below coding 60%, agent 90% (infra errors
|
|
602
|
+
excluded) or any classifier false done. Credentials come from
|
|
603
|
+
`CLAVUE21_EVAL_ENV_FILE` or `CLAVUE_BASE_URL` / `CLAVUE_API_KEY`; without them,
|
|
604
|
+
or with the endpoint unreachable, it prints a SKIP notice and the last
|
|
605
|
+
recorded result (`bench/clavue21/baseline.json`). `release:preflight` runs it.
|
|
606
|
+
|
|
570
607
|
### Token budget window (opt-in, 1.48.2 / completed in 1.50.1)
|
|
571
608
|
|
|
572
609
|
`CLAVUE_COMPACT_TOKEN_BUDGET=1`, or `/budget on` inside a session (`/budget off`,
|
|
@@ -659,7 +696,7 @@ Version check:
|
|
|
659
696
|
|
|
660
697
|
```bash
|
|
661
698
|
npx -y clavue-v1 --version
|
|
662
|
-
npx -y clavue-v1@1.56.
|
|
699
|
+
npx -y clavue-v1@1.56.6 --version
|
|
663
700
|
# available after a global install
|
|
664
701
|
clavue-v1 --version
|
|
665
702
|
```
|