clavue-v1 1.70.5 → 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 CHANGED
@@ -6,6 +6,28 @@ 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
+
22
+ ## 1.70.6 - 2026-11-09
23
+
24
+ 明确源码修复与回归交付必须同时落地,并收紧后台任务与作用域命令的复杂度分类。
25
+
26
+ - **交付合同:** 用户明确要求修复源码并添加回归测试时,任一目标文件未成功写入都会阻止提前完成;绝对路径、shell 写入和“继续”续写采用同一证据口径。普通编辑、风险讨论与诚实未完成报告不受影响。
27
+ - **复杂度边界:** 单条 detached 后台命令加立即交接保持 simple;禁止重写等约束不再被误判为重构。压缩 tier 规则并恢复架构上限检查。
28
+ - **发布验证:** 完成门聚焦测试 20/20、tier 测试 21/21、fast suite 1341/1341,类型检查与架构检查通过;发布以 `npm run release:preflight` 最终结果为准。
29
+ - English: Require both requested source and regression writes before an explicit repair can stop, including absolute-path, shell-write, and continuation evidence. Ordinary edits and honest incomplete handoffs remain unaffected. Keep single detached handoffs simple and negated rewrite constraints out of heavy classification; tier, fast-suite, typecheck, and architecture checks pass.
30
+
9
31
  ## 1.70.5 - 2026-11-09
10
32
 
11
33
  修复 headless 后台任务退出与验证证据识别,收敛无进展探索,并恢复回归基准的可判定历史。
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.5/install.sh | bash -s -- 1.70.5
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.5 --version
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.5/install.sh | bash -s -- 1.70.5
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.5 --version
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