clavue-v1 1.59.3 → 1.60.1
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 +22 -0
- package/README.md +6 -6
- package/dist/cli-main.js +118 -103
- 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/diary-style.md +8 -0
- package/docs/headless-visibility.md +67 -0
- package/docs/host-integration.md +4 -0
- package/docs/phase-routing-experiment.md +12 -18
- package/docs/release-notes-v1.60.0.md +27 -0
- package/docs/release-notes-v1.60.1.md +12 -0
- package/docs/result-bridge-live-view-design.md +2 -2
- package/docs/result-json.md +2 -0
- package/docs/schemas/events.schema.json +35 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,28 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
|
|
|
6
6
|
|
|
7
7
|
## Unreleased
|
|
8
8
|
|
|
9
|
+
## 1.60.1 - 2026-10-23
|
|
10
|
+
|
|
11
|
+
1.60.1 让后台 / 无 TTY 的运行在日记、信息反馈栏和 `.clavue/runs` 里露出进度。事件日志按 `docs/result-bridge-live-view-design.md` 落地;分屏与 `clavue multi` 仍留给 1.61。
|
|
12
|
+
- `-p` 追加 `.clavue/runs/<run_id>/events.jsonl`:`run_started` / 阶段 / 工具 / 5 秒 `heartbeat` / `run_ended`(写在 `result.json` 之后)
|
|
13
|
+
- 20 秒没有心跳且没有 `run_ended` 时,反馈栏显示停滞秒数;滚动区不刷心跳
|
|
14
|
+
- stderr 宣布 run id 与事件路径,并写明不是分屏;stdout 契约不变
|
|
15
|
+
- `CLAVUE_RESULT_JSON=0` 同时关闭结果文件和事件日志
|
|
16
|
+
- 契约 `docs/headless-visibility.md`:`/parallel` 与 team 不是窗口;可见分屏须「确认开分屏」,本版本不打开窗格
|
|
17
|
+
- 回归:`tests/1601-a-run-events.test.mjs`、`tests/1601-b-visibility-contract.test.mjs`
|
|
18
|
+
|
|
19
|
+
## 1.60.0 - 2026-10-23
|
|
20
|
+
|
|
21
|
+
1.60.0 按 plan-efficiency-1004 的 P1:阶段路由 **默认 ON** 但 cache-safe(主会话冻结 model/tools);大范围 recon 走 Explore@light 子代理;弃用主循环中途 explore→light。并修日记用户行对 Task-frame/Goal 的重复展示(EhViewerh-pc 8b4f8489)。先写了失败的回归测试(1600-a 到 1600-d),并加进了 `release:preflight`。
|
|
22
|
+
- `CLAVUE_PHASE_ROUTING` 默认启用(`=0` 关闭);默认路径 **不再**因 explore 改主 model
|
|
23
|
+
- Explore 内置子代理默认 `model: light`(无 light 时安全回退);`CLAVUE_EXPLORE_AGENT=0` 改为 inherit
|
|
24
|
+
- 旧行为仅 `CLAVUE_PHASE_ROUTING=legacy_inline`;无 `combo.light` 时仍是安全 no-op
|
|
25
|
+
- 文档 `docs/phase-routing-experiment.md` 改为 1.60 cache-safe 说明
|
|
26
|
+
- 日记用户行:`normalizeMessages` 把 Task-frame/reminder 拆块标 `isMeta`;`shouldShowUserMessage` 丢掉无用户原话的 runtime 块;sticky ❯ 用 `userOwnTextOfBlocks`(不再读 content[0] 的 Goal)。回归:`1600-d`(EhViewer peach 四块记录 → 恰好 1 行)
|
|
27
|
+
- diag-dup-1044(1.59.2 EhViewerh-pc 8b4f8489,~8+ ❯ 重影):`userOwnDisplayText` 丢掉裸 `Goal:` 行(`1600-e`);tool_result/Bash/错误展示剥 `<system-reminder>` Task-drift(B1,`1600-f`);commit-to-scrollback 下 Ink `fullReset` **不** `CSI 3J` 清 scrollback,且 anchor reset 走 `startForNewList` 而非 null→从 0 重印(B2/B3)
|
|
28
|
+
|
|
29
|
+
明确不变:不碰 imux / src-1e5;clavue-2.1 仍为一等公民;Survey/project-index 行为沿用 1.59.3。Mac 上若仍见重复,先确认 `clavue-v1 --version` 已是 1.60.0(裸 `clavue` 可能是 iclavue 13.8.0 shim;本次现场会话是 1.59.2)。
|
|
30
|
+
|
|
9
31
|
## 1.59.3 - 2026-10-23
|
|
10
32
|
|
|
11
33
|
1.59.3 按 plan-efficiency-1004 的 P0:让 Survey 真正可被采纳,项目索引默认开,并加上 cache-break 遥测;阶段路由仍默认关(仅实验文档)。先写了失败的回归测试(1593-a 到 1593-e),并加进了 `release:preflight`。
|
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.
|
|
88
|
+
curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.60.1/install.sh | bash -s -- 1.60.1
|
|
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.
|
|
99
|
+
npx -y clavue-v1@1.60.1 --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.
|
|
111
|
+
curl -fsSL https://unpkg.com/clavue-v1@1.60.1/install.sh | bash -s -- 1.60.1
|
|
112
112
|
```
|
|
113
113
|
|
|
114
114
|
```bash
|
|
@@ -118,10 +118,10 @@ CLAVUE_INSTALL_SOURCE=npm curl -fsSL https://raw.githubusercontent.com/mycode699
|
|
|
118
118
|
|
|
119
119
|
The package exposes a single `clavue-v1` bin. It deliberately does not claim the `clavue` name, so a global install never clashes with an existing `clavue` (v8.x) installation.
|
|
120
120
|
|
|
121
|
-
**PATH note (1.
|
|
121
|
+
**PATH note (1.60.1):** a bare `clavue` on your PATH may be the separate **iclavue** shim, which hardcodes `--version` as `13.8.0 (Clavue)` and is not this package. Always check the product with:
|
|
122
122
|
|
|
123
123
|
```bash
|
|
124
|
-
clavue-v1 --version # e.g. 1.
|
|
124
|
+
clavue-v1 --version # e.g. 1.60.1 (clavue / 克拉维)
|
|
125
125
|
which clavue clavue-v1 # see which binary PATH resolves
|
|
126
126
|
npm root -g # …/node_modules/clavue-v1 is the install
|
|
127
127
|
```
|
|
@@ -706,7 +706,7 @@ Version check:
|
|
|
706
706
|
|
|
707
707
|
```bash
|
|
708
708
|
npx -y clavue-v1 --version
|
|
709
|
-
npx -y clavue-v1@1.
|
|
709
|
+
npx -y clavue-v1@1.60.1 --version
|
|
710
710
|
# available after a global install
|
|
711
711
|
clavue-v1 --version
|
|
712
712
|
```
|