clavue-v1 1.71.8 → 1.72.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 +14 -1
- package/README.md +4 -4
- package/dist/cli-main.js +604 -517
- package/dist/cli.js +2 -2
- package/dist/mao-command.js +1 -1
- package/dist/openai-responses-adapter.js +6 -6
- package/dist/provider-router.js +6 -6
- package/dist/provider-setup.js +1 -1
- package/docs/README.md +1 -1
- package/docs/release-notes-v1.72.0.md +25 -0
- package/docs/release-notes-v1.72.1.md +20 -0
- package/docs/tui-feed/feed.json +32 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,20 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
|
|
|
4
4
|
|
|
5
5
|
格式约定(`parseChangelog` 依赖):二级标题为 `## <版本> - <日期>`,条目以 `- ` 开头,一行一条,命令与模型名保留英文。
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## 1.72.1 - 2026-11-19
|
|
8
|
+
|
|
9
|
+
- **商业级全链路稳定性与 18 项端到端验收修复(QA-01 ~ QA-18):** 修复 `v1WorktreeLand.ts` 截断未暂存路径 `" M src/a.ts"`、Flash 模型全角工具调用标签泄漏至正文、首轮 `hasActiveTask` 恒真叠加 JEV 模拟导致的 11–39s 首包阻塞与 90s 超时、根目录文件被 `fileMapBody` 拒绝与无超时 `MapHop`;修复括号内 `(不要改文件)` 漏匹配与 `--resume` 跨进程验证账本丢失引发的 60s 只读总结死循环,无头 `-p` 跳过无活跃 stage 的 25s JEV `next_step` 收尾等待,以及 `falseSuccessGate` 误把「仓库梳理 / 定位实现 / 行为未改动」中的参考文件判为未落盘改动而误返 `exit 1`。
|
|
10
|
+
- **模型不稳定兜底、无头快失败与故障可观测性升级:** 新增 `v1FailureDiagnostics.ts` 脱敏记录最近 50 条主模型/四槽/JEV 故障与切换事件(`~/.clavue/recent-failures.jsonl`,可用 `CLAVUE_FAILURE_DIAGNOSTICS=0` 关闭),并在 `clavue provider doctor` 首页直接呈现近期故障时间线;无头 `-p` 模式下实时输出上游 5xx/超时重试进度与自动切备模提示,遇到无备模 503 不再静默空等 7 分钟后台重试(`CLAVUE_BACKGROUND_RETRY=1` 可显式恢复);`light` 槽接入 60s 半开自愈,槽位切换与官方/三方 5xx/超时/断连报错统一输出具体原因(`首包超时`、`上游网关 502/503/504`、`连接异常 ECONNRESET`)与可执行排障指引;JEV 熔断时按冷却周期去重提示并透明归因全阶段 `sideMs`。
|
|
11
|
+
- **资源卫生与诊断准确性修复:** 移除零 LSP 服务器会话每次 `Edit`/`Write` 800ms 空转等待,浏览器关闭异步等待 Chrome 退出消除临时目录泄漏;`provider doctor` 修正 `[FAIL]` 标签/去重与 `Jev` 运行态一致性,`provider list` 精简输出;未信任目录普通 `-p` 安全降级而非硬拒,空 `-p ""` 前置校验零 `.clavue/runs/` 污染,ACP `session/cancel` 消除虚假 `APIUserAbortError` 报错,BYOK 跳过官方 MCP registry 404 请求。
|
|
12
|
+
- English: Commercial-grade QA hardening across 18 end-to-end fixes (QA-01..QA-18) plus model instability fallback and actionable diagnostics: fixes unstaged porcelain path slicing in `v1WorktreeLand`, fullwidth Flash tool-markup recovery/stripping, Turn-1 `hasActiveTask`/simulator intake stalls, root-file `fileMapBody` rejections and bounded `MapHop`/`simulateJev` timeouts, parenthesized read-only summary detection and `--resume` prior-proof inheritance, headless `-p` skipping 25s `next_step` menus when no stage is active, and `falseSuccessGate` ignoring read-only overview/unchanged-file mentions. Adds secret-redacted `v1FailureDiagnostics.ts` surfaced directly in `clavue provider doctor`, live non-TTY retry & auto-fallback stderr notices, headless fast-fail instead of silent 7-minute background retry sleeps (opt-in via `CLAVUE_BACKGROUND_RETRY=1`), `light`-slot 60s half-open recovery, concrete timeout/5xx/socket advance labels, rate-limited JEV circuit-open diagnostics, zero-LSP edit fast path, clean browser profile teardown, accurate `provider doctor`/`list` output, safe untrusted `-p` downgrade, clean empty `-p` validation, quiet ACP `session/cancel`, and BYOK MCP registry skip.
|
|
13
|
+
|
|
14
|
+
## 1.72.0 - 2026-11-19
|
|
15
|
+
|
|
16
|
+
- **Flash 主槽 × 顶级工程质量引擎(Light 白板 + 前置 Plan 契约 + 阻塞 Review 闭环):** 新增 `v1Whiteboard.ts` 汇聚 PageRank `repoMap()`、双语 CJK/多语言代码骨架与 `package.json` 校验脚本交由 Light 槽生成项目框架白板并钉入 Flash 主槽上下文;Flash 主槽常规及复杂任务自动前置触发 Light 白板 + 结构化 Plan 契约(含 `invariants:` 与 `lanes:`),修复 `parseDirector` 误加 `after-green` 与 `heldPlan` 死赋值;`noFollowUpPartG` 收尾审阅命中的阻塞性 P0 / `must-fix` 直接触发受控修复闭环并恢复 TaskRoom `CONTRACT_GAPS`,单测绿灯不再洗白带代码引用的 `must-fix`,并修复 `v1ProofLedger.ts` 新文件哈希漏判与短任务跳过 `inLoopClassifierOpen` 尾部延迟。
|
|
17
|
+
- **双语向量、压缩白板存活、`clavue-fa` 融合与轻量记忆:** `CodeIndexService` 新增 `searchAsync()` 修复 `CLAVUE_CODE_INDEX_REMOTE=1` 跳过远端向量的问题并支持 CJK 双语本地嵌入;压缩摘要链永久移除 `clavue-fa`、保护 `clavue_observation_v1` 句柄、全路径跨压缩保留白板/约束/契约,并将 1M Flash 大窗预压缩阈值放宽至 280k;`ApplyEdit` 按槽封顶 `max_tokens` 且小文件直走 `clavue-fa`,`FastApply` 消除双跑语法预检/W1 重复记账,`Edit` 失配提示降级 `FastApply`,`simple` 档位保留 `FastApply`/`CodebaseSearch`/`ObsRecall`;默认解锁 `CLAVUE_MEMORY_PREFETCH` Top-5 召回并将 `SessionMemory` 卸载至 Light 槽;`plan`/`review` 槽位链新增 60s 半开自愈、BYOK 旗舰默认 `effort` 回退、JEV 取消 `delivery` 静默自审并将 `shadow` 采样改后台非阻塞。
|
|
18
|
+
- **并行互斥车道、原生 Worktree `land` 合入与 Browser/Desktop 安全视觉闭环:** 抽取 `v1LaneManifest.ts` 与 `v1WorktreeLand.ts`,并行子代理 Worktree 默认从本地 `HEAD` 拉分支,支持静态路径互斥校验、Plan `lanes:` 解析、`/parallel` 消费互斥车道及原子 `landWorktreeBranches()`(越界检查 → 自动收纳 → `git merge-tree` 冲突预检 → 确定性合入清理);贯通 `AgentTool`/`SwarmTool`(新增 `action: 'land'` 与 `kill` 脏树保护)/`WorkflowTool` worktree 元数据;`Browser` 补齐域名权限与 SSRF 拦截、`SCREENSHOT`/`PRESS_KEY`/`CLOSE`、React 原生 setter + `contenteditable`、Dialog 自动接管与 Console/HTTP>=400 诊断,移除硬编码 `'deepseek-flash'` 并隐藏不可用 `/chrome`;`Desktop` 补齐 `darwin` 门控、应用权限、`computerUseLock`、深度 10 AX + `AXStaticText`、修饰键组合、真滚轮、窗口级裁剪与 JPEG 压缩,并新建 `v1VisualReviewPack.ts` 接入收尾 Review。
|
|
19
|
+
- **ACP v1 满血流式与宿主互操作:** `agent stdio` 开启 `includePartialMessages: true` Token 级流式输出与去重,将 `◆ Plan`/`◆ Review`/`◆ Judge`/`◆ Map` 归入 `agent_thought_chunk`(带 `_meta.clavueSlot`)与 `plan` update,补齐文件/编辑/搜索/抓取工具 `kind`/`locations`/`diff`;MCP 兼容数组式 `env`/`headers` 并在 `session/close` 及退出时优雅释放子进程;ACP 快路径透传 `--model`/`--effort`/`--add-dir`/`--permission-mode`,开启 `promptCapabilities: { image: true, embeddedContext: true }` 与 `session/set_mode`、`session/set_config_option`、`available_commands_update`,同步升级 `probe-acp-stdio.mjs`。
|
|
20
|
+
- English: Four-wave Flash-main frontier architecture overhaul: Wave 1 adds `v1Whiteboard.ts` (Light-slot project framework whiteboard with PageRank `repoMap()`, bilingual CJK/multi-language sketches, and real verify scripts pinned into Flash Main), Flash-aware upfront Light+Plan escalation with wider structured `invariants:`/`lanes:` budgets, blocking closing-review repair loops (`noFollowUpPartG` + TaskRoom `CONTRACT_GAPS`), anti-washout `settlePassingCheck`, `v1ProofLedger` uncovered-file freshness fix, `simple`-tier `inLoopClassifierOpen` fast path, `CodeIndexService.searchAsync()` with CJK local embeddings, local `HEAD` worktrees, and P0 `Browser`/`Desktop` permissions. Wave 2 preserves whiteboard/plan across all compaction paths, scales 1M Flash pre-send compact cap to 280k, drops `clavue-fa` from compaction summaries, protects `clavue_observation_v1` handles, unifies `FastApply`/`ApplyEdit` routing with slot-capped `max_tokens` and `Edit` miss fallback hints, keeps `FastApply`/`CodebaseSearch`/`ObsRecall` on `simple` tier, unlocks default-ON `CLAVUE_MEMORY_PREFETCH`, offloads `SessionMemory` to `light`, adds 60s half-open slot-chain recovery, BYOK effort fallback, and non-blocking JEV guardrails. Wave 3 adds `v1LaneManifest.ts` and `v1WorktreeLand.ts` (static disjoint-lane validation, Plan `lanes:` parsing, atomic `landWorktreeBranches()` via `Swarm land` and `/parallel`, and full worktree metadata propagation), upgrades `Browser` (`SCREENSHOT`/`PRESS_KEY`/`CLOSE`, React/Vue native setters, `contenteditable`, dialog auto-handling, console/HTTP>=400 diagnostics) and `Desktop` (depth-10 AX + `AXStaticText`, modifier chords, native scroll wheel, window-cropped JPEG screenshots), and wires generic `v1VisualReviewPack.ts` into closing Review. Wave 4 enables ACP v1 `includePartialMessages` token streaming with deduplication, routes `◆ Plan`/`◆ Review`/`◆ Judge` hops to `agent_thought_chunk` + `plan` updates, enriches tool `kind`/`locations`/`diff`, fixes ACP MCP array `env`/`headers` and teardown, forwards CLI `--model`/`--effort`/`--add-dir`/`--permission-mode`, and enables multimodal `image`/`embeddedContext`, `session/set_mode`, `session/set_config_option`, and `available_commands_update`.
|
|
8
21
|
|
|
9
22
|
## 1.71.8 - 2026-11-19
|
|
10
23
|
|
package/README.md
CHANGED
|
@@ -92,7 +92,7 @@ clavue-v1 --version
|
|
|
92
92
|
Pin a version:
|
|
93
93
|
|
|
94
94
|
```bash
|
|
95
|
-
curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.
|
|
95
|
+
curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.72.1/install.sh | bash -s -- 1.72.1
|
|
96
96
|
```
|
|
97
97
|
|
|
98
98
|
Upgrade later with `clavue update` or `clavue-v1 update` (startup check / `/update` also prefer the public v1 release, then fall back to npm).
|
|
@@ -103,7 +103,7 @@ Upgrade later with `clavue update` or `clavue-v1 update` (startup check / `/upda
|
|
|
103
103
|
npm install -g clavue-v1
|
|
104
104
|
# or one-shot:
|
|
105
105
|
npx -y clavue-v1
|
|
106
|
-
npx -y clavue-v1@1.
|
|
106
|
+
npx -y clavue-v1@1.72.1 --version
|
|
107
107
|
```
|
|
108
108
|
|
|
109
109
|
One-line global install via the package (npm / unpkg):
|
|
@@ -115,7 +115,7 @@ curl -fsSL https://unpkg.com/clavue-v1/install.sh | bash
|
|
|
115
115
|
Install a specific version globally:
|
|
116
116
|
|
|
117
117
|
```bash
|
|
118
|
-
curl -fsSL https://unpkg.com/clavue-v1@1.
|
|
118
|
+
curl -fsSL https://unpkg.com/clavue-v1@1.72.1/install.sh | bash -s -- 1.72.1
|
|
119
119
|
```
|
|
120
120
|
|
|
121
121
|
```bash
|
|
@@ -740,7 +740,7 @@ Version check:
|
|
|
740
740
|
|
|
741
741
|
```bash
|
|
742
742
|
npx -y clavue-v1 --version
|
|
743
|
-
npx -y clavue-v1@1.
|
|
743
|
+
npx -y clavue-v1@1.72.1 --version
|
|
744
744
|
# available after a global install; both names are this package
|
|
745
745
|
clavue --version
|
|
746
746
|
clavue-v1 --version
|