clavue-v1 1.65.6 → 1.65.8

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
@@ -6,6 +6,28 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## 1.65.8 - 2026-10-30
10
+
11
+ 未配置时不再悄悄切换 inping 首字节备用模型。
12
+
13
+ - **删除:** `TTQQ_DEFAULT_FIRST_BYTE_FALLBACK` 与 `TTQQ_DEFAULT_FIRST_BYTE_FALLBACKS`。`CLAVUE_COMBO_FALLBACK` 未设置时,ttqq / ttkk / ttgg / inping 与其它网关一样解析为空链,不再自动改到 `cn:deepseek-v4.1-flash` → `cn:glm-5.3` → `clavue-2.1`。
14
+ - **保留:** 用户显式设置 `CLAVUE_COMBO_FALLBACK=a,b,c` 仍按该列表切换;`off|0|none|false|no` 仍关闭。槽位逗号链(`CLAVUE_COMBO_MAIN=a,b`)和 `--fallback-model` 仍是有意配置。`(备用)` 只在显式备用真的生效时出现。死钉、错误策略、粘滞窗口本身不注入默认列表,因此保留。
15
+ - 回归:`tests/v1511-first-byte.test.mjs`、`tests/v1489-faster-turns.test.mjs`、`tests/1606-efficiency-cluster.test.mjs`、`tests/1565-c-local-first-retry.test.mjs`。
16
+ - English: an unset `CLAVUE_COMBO_FALLBACK` is an empty first-byte chain on every gateway, including inping hosts. Explicit lists, off values, slot comma chains, and `--fallback-model` are unchanged.
17
+
18
+ ## 1.65.7 - 2026-10-30
19
+
20
+ 一等 `land` 原语:重跑绿灯 tip,串行合并进 main,成功后才可推送。
21
+
22
+ - **命令:** `clavue land --repo <path> --from-tips 'tip-*' --require-green --push`。Commander 子命令与 CLI 快路径同时注册,`clavue land --help` 不走堆重执行。
23
+ - **发现:** `git worktree list --porcelain`,按目录名或分支名(含去掉 `worktree-` 前缀)匹配 glob;主检出路不在候选里。顺序是祖先优先的拓扑序,不成链时按名字稳定排序。
24
+ - **绿灯:** 每个 tip 当场重跑自己的测试命令(`package.json` 的 `test` 脚本,否则 `npm test`)。先前的 green.log 不算数;失败的 tip 不合并。
25
+ - **合并:** 只串行。能快进就快进;不能快进则在 tip 上 rebase 到 main 再快进。冲突立刻停止,main 回滚到合并前,tip 的 rebase 状态在报告里写明。从不 force-push main。
26
+ - **租约:** land 只占用 `main` 任务租约。tip 自己的 worktree 租约不会挡住 land。`--push` 只在全部选定 tip 都 land 成功之后执行 `git push`。
27
+ - **能力面:** `base[]` 增加 `land green-tips`。
28
+ - 回归:`tests/252-land-green-tips.test.mjs`(临时 git 仓库,无网络)。
29
+ - English: first-class `land` re-runs each tip's tests, serially fast-forwards or rebases then fast-forwards onto main, and `git push` only after every selected tip landed. Holds the `main` task lease so active tip leases do not block it. Conflicts stop the run and roll main back.
30
+
9
31
  ## 1.65.6 - 2026-10-30
10
32
 
11
33
  长任务的首选续接方式改为「落盘 + 检索」;摘要式自动压缩只作为可选降级。
package/README.md CHANGED
@@ -43,6 +43,7 @@ Canonical primary command surfaces:
43
43
  - `/tasks`: inspect task-board state for long-running work.
44
44
  - `/resume`: continue saved sessions.
45
45
  - `/doctor`, `/login`, `/logout`, `/mcp`, `/model`, `/plugin`, and `/status`: primary setup, routing, and diagnostics flows.
46
+ - `clavue land` (shell, not a slash command): re-run tests on matching worktree tips, then serially fast-forward or rebase+fast-forward them onto main. `--push` runs only after every selected tip landed. Holds the main task lease; tip leases do not block it.
46
47
 
47
48
  Secondary surfaces such as `/review`, `/compact`, `/config`, `/memory`, `/theme`, `/usage`, `/cost`, `/vim`, and `/parallel` remain available for focused workflows. `/parallel` launches Agent workers only when you type it. Saying 「多开几个 clavue」 does not run it; the lead session spawns Agent and Team workers instead. `/usage` and `/cost` show this session's tokens and, on official cloud after the first request, membership points. USD on official SKUs is an estimate — billing is in points. Compatibility aliases are documented only when they are part of a canonical flow; internal, hidden, disabled stub, and experimental commands are not public defaults. Long-context recovery includes proactive compaction plus reactive overflow recovery for long-running work.
48
49
 
@@ -89,7 +90,7 @@ clavue-v1 --version
89
90
  Pin a version:
90
91
 
91
92
  ```bash
92
- curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.65.6/install.sh | bash -s -- 1.65.6
93
+ curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.65.8/install.sh | bash -s -- 1.65.8
93
94
  ```
94
95
 
95
96
  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 +101,7 @@ Upgrade later with `clavue update` or `clavue-v1 update` (startup check / `/upda
100
101
  npm install -g clavue-v1
101
102
  # or one-shot:
102
103
  npx -y clavue-v1
103
- npx -y clavue-v1@1.65.6 --version
104
+ npx -y clavue-v1@1.65.8 --version
104
105
  ```
105
106
 
106
107
  One-line global install via the package (npm / unpkg):
@@ -112,7 +113,7 @@ curl -fsSL https://unpkg.com/clavue-v1/install.sh | bash
112
113
  Install a specific version globally:
113
114
 
114
115
  ```bash
115
- curl -fsSL https://unpkg.com/clavue-v1@1.65.6/install.sh | bash -s -- 1.65.6
116
+ curl -fsSL https://unpkg.com/clavue-v1@1.65.8/install.sh | bash -s -- 1.65.8
116
117
  ```
117
118
 
118
119
  ```bash
@@ -605,9 +606,10 @@ low-cost primary. 1.56.5 adds four client rules for it:
605
606
  `CLAVUE_REASONING_BUDGET_TOKENS` (0 disables), `CLAVUE_ANSWER_RESERVE_TOKENS`,
606
607
  `CLAVUE_REASONING_BUDGET_MODELS` (extra model ids).
607
608
  - Local first. A first-byte miss on clavue-2.1 retries clavue-2.1 instead of
608
- switching to a cloud model. A cloud backup is opt-in:
609
- `CLAVUE_COMBO_FALLBACK=cn:glm-5.3` (any list), or `CLAVUE_LOCAL_FIRST=0` for
610
- the default ttqq chain.
609
+ switching to a cloud model. A cloud backup is opt-in via
610
+ `CLAVUE_COMBO_FALLBACK=cn:glm-5.3` (any list). `CLAVUE_LOCAL_FIRST=0` only
611
+ drops that local-first guard; it does not invent a backup list. Unset
612
+ `CLAVUE_COMBO_FALLBACK` is an empty chain on every gateway, including ttqq.
611
613
  - Tunnel blips. HTTP 500 `do_request_failed`, EOF and connection resets are
612
614
  retried on the same model after 2-3s, at least 3 times.
613
615
  - Max output 128000, matching the live ttqq catalog row.
@@ -720,7 +722,7 @@ Version check:
720
722
 
721
723
  ```bash
722
724
  npx -y clavue-v1 --version
723
- npx -y clavue-v1@1.65.6 --version
725
+ npx -y clavue-v1@1.65.8 --version
724
726
  # available after a global install; both names are this package
725
727
  clavue --version
726
728
  clavue-v1 --version