clavue-v1 1.70.6 → 1.70.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 +13 -0
- package/README.md +4 -4
- package/dist/cli-main.js +78 -71
- package/dist/cli.js +2 -2
- package/dist/mao-command.js +1 -1
- package/dist/openai-responses-adapter.js +4 -4
- package/dist/provider-router.js +4 -4
- package/dist/provider-setup.js +1 -1
- package/docs/acp-acpx-interoperability.md +1 -1
- package/docs/evals/README.md +1 -0
- package/docs/host-integration.md +1 -1
- package/docs/persistent-heterogeneous-workers.md +287 -0
- package/docs/release-notes-v1.70.8.md +24 -0
- package/docs/tui-feed/feed.json +16 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,19 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
|
|
|
6
6
|
|
|
7
7
|
## Unreleased
|
|
8
8
|
|
|
9
|
+
## 1.70.8 - 2026-11-10
|
|
10
|
+
|
|
11
|
+
让运行中的后台进程可以被继续对话,并把进程状态、任务状态与证据状态分开。
|
|
12
|
+
|
|
13
|
+
- **受控 stdin:** `BashTool` 新增 `stdin: true`;只有显式请求才跳过命令末尾的 `< /dev/null`,默认生成的命令与之前逐字一致。
|
|
14
|
+
- **TaskInput:** 新增工具向 `local_bash` 任务的 stdin 写一行,用于回答 y/n 提示、REPL 或等待输入的进程;非运行态、非 shell、stdin 非管道时明确拒绝,不静默丢弃。
|
|
15
|
+
- **三态分离:** 新增 `processState` / `taskState` / `evidenceState` 与 `accepted`;终端安静不再等于任务完成,退出码也不再等于交付证据,`TaskOutput` 输出新增 `<lifecycle>`。
|
|
16
|
+
- **停顿提示分流:** stdin 可写时提示用 `TaskInput` 继续,否则保留“杀掉重跑”建议并提示下次加 `stdin: true`。
|
|
17
|
+
- **实测修正:** Node 的 stdin 句柄在子进程 fd0 指向 `/dev/null` 时仍看似可写,可写性改由 spawn 决策判定,避免写入被静默丢弃。
|
|
18
|
+
- **验证:** 新增 3 个测试文件 15 个用例通过(含真实子进程 `read` 被送达);类型检查 0 错误、工具 schema 53 个、架构不超过基线、env 检查通过;`npm run verify:source-build` 通过。
|
|
19
|
+
- **依赖链隔离:** 只读工具策略表不再在运行时引用权限模块,避免把 `log.ts` 及其 `stubs` 依赖带入源码直跑的测试。fast 套件因此从 131 个失败恢复为 144 文件全绿。
|
|
20
|
+
- English: Let a running background process be answered instead of killed. Add an explicit `stdin: true` Bash opt-in that leaves the default command byte-identical, a `TaskInput` tool that refuses tasks without a writable pipe, and separate process/task/evidence states so a quiet terminal never means success. Writable stdin is decided at spawn time, because the Node handle looks writable even when the child's fd0 is `/dev/null`.
|
|
21
|
+
|
|
9
22
|
## 1.70.6 - 2026-11-09
|
|
10
23
|
|
|
11
24
|
明确源码修复与回归交付必须同时落地,并收紧后台任务与作用域命令的复杂度分类。
|
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.70.
|
|
93
|
+
curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.70.8/install.sh | bash -s -- 1.70.8
|
|
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.70.
|
|
104
|
+
npx -y clavue-v1@1.70.8 --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.70.
|
|
116
|
+
curl -fsSL https://unpkg.com/clavue-v1@1.70.8/install.sh | bash -s -- 1.70.8
|
|
117
117
|
```
|
|
118
118
|
|
|
119
119
|
```bash
|
|
@@ -725,7 +725,7 @@ Version check:
|
|
|
725
725
|
|
|
726
726
|
```bash
|
|
727
727
|
npx -y clavue-v1 --version
|
|
728
|
-
npx -y clavue-v1@1.70.
|
|
728
|
+
npx -y clavue-v1@1.70.8 --version
|
|
729
729
|
# available after a global install; both names are this package
|
|
730
730
|
clavue --version
|
|
731
731
|
clavue-v1 --version
|