clavue-v1 1.70.8 → 1.70.9
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 +18 -0
- package/README.md +4 -4
- package/dist/cli-main.js +445 -445
- package/dist/cli.js +2 -2
- package/dist/mao-command.js +1 -1
- package/dist/openai-responses-adapter.js +29 -29
- package/dist/provider-router.js +30 -30
- package/dist/provider-setup.js +1 -1
- package/docs/release-notes-v1.70.9.md +29 -0
- package/docs/tui-feed/feed.json +16 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,24 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
|
|
|
6
6
|
|
|
7
7
|
## Unreleased
|
|
8
8
|
|
|
9
|
+
## 1.70.9 - 2026-11-10
|
|
10
|
+
|
|
11
|
+
统一任务状态、JEV 阶段与权限判定的口径,收敛任务出口、进度词表与对话框状态,并删除不可达的上游死代码。
|
|
12
|
+
|
|
13
|
+
- **超时是一等终态:** `TaskStatus` 增加 `timeout`,`Task.ts` 导出 `TASK_STATUSES` / `TERMINAL_TASK_STATUSES` / `isTerminalTaskStatus`;此前 `shellExitStatus` 把模型超时折叠成 `killed`,账本与通知互相矛盾,`TaskOutput` 也看不到真实原因。
|
|
14
|
+
- **超时通知不再被吞:** `silenceOwnSignalStop` 把 143/137/130 当作“模型自己 kill”而静音,模型超时同样以信号退出,于是唯一的完成通知被丢弃;现在超时始终上报,并走延迟续跑的失败提醒。
|
|
15
|
+
- **超时可结算:** `v1StatusRead` 的 `SHELL_DONE`、`framework` 的驱逐分支、`ShellProgress`、`taskStatusUtils`、`settleBackgroundShells` 与通知配色都认 `timeout`,等待循环不会把一个已退出的命令读成 unknown。
|
|
16
|
+
- **阶段词汇拆开:** 新增 `v1JevStages.ts`,`JevRequestStage`(9 个上行阶段)与 `JevDecisionStage`(6 个可拟合 gate)各一份;`v1JevReceipt` 改用派生的 `JEV_RECEIPT_STAGES`,去掉重复的 `acceptance`。
|
|
17
|
+
- **权限判定可折叠:** 新增 `joinBehavior()`,显式给出 `deny > ask > passthrough > allow`;Bash 逐段聚合不再自己重写顺序。
|
|
18
|
+
- **同类词不再互相遮蔽:** `ConcurrentSessionStatus` 让位给 teleport 的 `SessionStatus`;`ProofStatus` 只在 `v1ProofStatus.ts` 定义一次;SSE 与 WebSocket 共用一份 `TransportState`。
|
|
19
|
+
- **删掉不可达代码:** `officialMarketplaceGcs.ts` 约 160 行无用的 GCS 下载(含 `rm(installLocation, {recursive})`)、`WebFetchTool` 里指向 `api.anthropic.com` 的 domain_info 死分支;`INLINE_ASSERTION` 的 `[^]*?` 改为 `[\s\S]*?`。
|
|
20
|
+
- **注释对齐行为:** WP2 progress 机器如实标注为“仅镜像、路由不读”,并由测试锁住,避免文档与实现再次分叉。
|
|
21
|
+
- **任务收敛到一个出口:** `LocalShellTask` 的三处完成路径合并为 `settleShellTask` → `finishShellTask`;`shellFinish.ts` 里 `planShellFinish()` 一次决定 `status / silent / summary`,账本与通知读同一计划,不再出现“账本 killed、通知 timeout”。`LocalShellTask.tsx` 从 795 行降到 697 行。
|
|
22
|
+
- **工作进度只有一个投影:** 新增 `runtime/workProgress.ts`,为五个词表各一张 `Record<Union, ProgressVerdict>` 全表,投影到统一的 `rank / terminal / succeeded / next`。成员不合并(`skipped` 不等于 `parked`),但“是否结束 / 是否成功 / 能否推进”只在这里回答;未知成员抛错,新增成员会让 `npm run typecheck` 失败。`checklistOpen` 改走 `progressGate()`,park 的条目不再挂住清单。
|
|
23
|
+
- **对话框只占一个槽:** `PromptInput` 的 11 个 `show*Dialog` 布尔合并为 `activeDialog` 联合(`activeDialog.ts`)。开新框替换旧框,过期 close 不会关掉后来者;`isFullScreenDialog()` 取代会漏项的 `||` 链。`PromptInput.tsx` 行数不变(3406)。
|
|
24
|
+
- **验证:** 新增 4 个回归测试文件 34 个用例(`v1-worker-status-vocabulary` 10、`shell-finish` 8、`work-progress` 9、`active-dialog` 7),全部加入 fast manifest;后三者用假状态真实调用单点入口并计数写入/通知。`npm test` 6136 项 6133 通过 0 失败 3 跳过、`npm run test:fast` 148 文件 12.4s(预算 20s)全绿、类型检查 0 错误、架构 15 个超限文件均不超基线、工具 schema / env / branding / dead-require / bench / 反污染 / source-purity / verify:dist 全通过;`v1BackgroundWait` 回到 398 行,`v1JevClient` 上限从 913 降到 902。
|
|
25
|
+
- English: Give `timeout` its own terminal task state, stop silencing its completion notice, split the JEV stage vocabularies, add `joinBehavior()` for the permission lattice, de-duplicate the session/proof/transport unions, and delete unreachable upstream GCS and domain-check bodies. Then collapse the three LocalShellTask completion sites into one `finishShellTask`, add `workProgress.ts` as the single projection over five work-progress vocabularies, and turn the prompt input's eleven dialog booleans into one slot — each with a behavioural regression test.
|
|
26
|
+
|
|
9
27
|
## 1.70.8 - 2026-11-10
|
|
10
28
|
|
|
11
29
|
让运行中的后台进程可以被继续对话,并把进程状态、任务状态与证据状态分开。
|
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.9/install.sh | bash -s -- 1.70.9
|
|
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.9 --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.9/install.sh | bash -s -- 1.70.9
|
|
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.9 --version
|
|
729
729
|
# available after a global install; both names are this package
|
|
730
730
|
clavue --version
|
|
731
731
|
clavue-v1 --version
|