clavue-v1 1.67.0 → 1.67.2

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,26 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## 1.67.2 - 2026-11-02
10
+
11
+ 双击 Esc 与 `/rewind` 打开的选择器会停在旧提示上,用户一确认就回到很早的位置。
12
+
13
+ - **根因:** 选择器的光标下标在挂载时按当时的选项数取末位。归档提示是异步从 transcript 读出来的,加载完成后被插到列表前面,列表变长而下标不变,于是高亮落在同一下标对应的旧提示上。切过窗或恢复过会话时最容易遇到。
14
+ - **修复:** 新增 `nextSelectedIndex`,在列表长度变化时把光标锚到最新一条,直到用户自己按了导航键;之后只做越界收敛,不会把用户的选择拽走。
15
+ - English: the double-Esc and `/rewind` picker no longer lands on an older prompt after archived prompts finish loading; the cursor tracks the newest entry until the user navigates.
16
+
17
+ ## 1.67.1 - 2026-11-02
18
+
19
+ 几处让模型空转的拦截文案已经修正:加了工作目录就能写、拒绝时说清该怎么调用、重定向不再被当成进程名。
20
+
21
+ - **`/add-dir`:** 权限层把 `additionalWorkingDirectories` 算作工作目录,`FileWriteTool` / `FileEditTool` 的会话树边界却只看 `getProjectRoot()` 与 `getOriginalCwd()`。两层判定不一致,结果是权限通过、写入拒绝。现在边界接受多个根,落在任一已知根内即可写。
22
+ - **越界提示:** 只说「不要另存一份」,不给出路。当目标属于另一个 git 仓库(典型是会话 cwd 落在空挂载点、真实仓库在别处),现在直接指出该仓库根目录并给出 `/add-dir <root>`。同仓库的越界仍只保留原句,不增加噪音。
23
+ - **搜索门控:** 拒绝时只描述规则,模型反复撞同一堵墙。现在按实际命令给出等价调用,例如 `grep -n "foo" src/query.ts` → `Grep(pattern: "foo", path: "src/query.ts")`,含引号的正则做了转义。
24
+ - **进程清理:** `pkill -f "PORT=3055" 2>/dev/null` 里的 shell 重定向被当作第二个 pattern,报出 `pkill -f "2>/dev/null"` 这种命令行里不存在的目标,模型只能重试。分词现在丢弃重定向;裸 `>` 连同其目标一起丢弃,带引号的 `">"` 仍是正常参数。
25
+ - **拆分:** 等价调用生成移到 `src/runtime/v1SearchEquivalentCall.ts`,`v1BashSearchGate.ts` 从 495 行回落到 323 行。架构门不允许新增 400 行以上的文件,也不允许提高既有上限。
26
+ - 回归:`tests/outside-session-tree.test.mjs`、`tests/1626-bash-search-gate.test.mjs`、`tests/1561-killscope.test.mjs`、`tests/1600-b-explore-agent-light.test.mjs`。
27
+ - English: `/add-dir` directories are writable again (the file tools saw fewer roots than the permission layer). A write into another repository now names that repository and the `/add-dir` recovery. A blocked Bash search states the equivalent `Grep`/`Glob`/`Survey` call for the command that was written. Shell redirections are no longer parsed as `pkill -f` patterns.
28
+
9
29
  ## 1.67.0 - 2026-11-02
10
30
 
11
31
  采样温度可以用 `CLAVUE_TEMPERATURE` 调低。评测每轮写入 retro 台账。跨 CLI 对比能真正跑起来。
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.0/install.sh | bash -s -- 1.67.0
93
+ curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.67.2/install.sh | bash -s -- 1.67.2
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.0 --version
104
+ npx -y clavue-v1@1.67.2 --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.0/install.sh | bash -s -- 1.67.0
116
+ curl -fsSL https://unpkg.com/clavue-v1@1.67.2/install.sh | bash -s -- 1.67.2
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.0 --version
725
+ npx -y clavue-v1@1.67.2 --version
726
726
  # available after a global install; both names are this package
727
727
  clavue --version
728
728
  clavue-v1 --version