clavue-v1 1.65.6 → 1.65.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 CHANGED
@@ -6,6 +6,19 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## 1.65.7 - 2026-10-30
10
+
11
+ 一等 `land` 原语:重跑绿灯 tip,串行合并进 main,成功后才可推送。
12
+
13
+ - **命令:** `clavue land --repo <path> --from-tips 'tip-*' --require-green --push`。Commander 子命令与 CLI 快路径同时注册,`clavue land --help` 不走堆重执行。
14
+ - **发现:** `git worktree list --porcelain`,按目录名或分支名(含去掉 `worktree-` 前缀)匹配 glob;主检出路不在候选里。顺序是祖先优先的拓扑序,不成链时按名字稳定排序。
15
+ - **绿灯:** 每个 tip 当场重跑自己的测试命令(`package.json` 的 `test` 脚本,否则 `npm test`)。先前的 green.log 不算数;失败的 tip 不合并。
16
+ - **合并:** 只串行。能快进就快进;不能快进则在 tip 上 rebase 到 main 再快进。冲突立刻停止,main 回滚到合并前,tip 的 rebase 状态在报告里写明。从不 force-push main。
17
+ - **租约:** land 只占用 `main` 任务租约。tip 自己的 worktree 租约不会挡住 land。`--push` 只在全部选定 tip 都 land 成功之后执行 `git push`。
18
+ - **能力面:** `base[]` 增加 `land green-tips`。
19
+ - 回归:`tests/252-land-green-tips.test.mjs`(临时 git 仓库,无网络)。
20
+ - 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.
21
+
9
22
  ## 1.65.6 - 2026-10-30
10
23
 
11
24
  长任务的首选续接方式改为「落盘 + 检索」;摘要式自动压缩只作为可选降级。
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.7/install.sh | bash -s -- 1.65.7
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.7 --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.7/install.sh | bash -s -- 1.65.7
116
117
  ```
117
118
 
118
119
  ```bash
@@ -720,7 +721,7 @@ Version check:
720
721
 
721
722
  ```bash
722
723
  npx -y clavue-v1 --version
723
- npx -y clavue-v1@1.65.6 --version
724
+ npx -y clavue-v1@1.65.7 --version
724
725
  # available after a global install; both names are this package
725
726
  clavue --version
726
727
  clavue-v1 --version