clavue-v1 1.86.0 → 1.87.0

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
@@ -4,6 +4,15 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
4
4
 
5
5
  格式约定(`parseChangelog` 依赖):二级标题为 `## <版本> - <日期>`,条目以 `- ` 开头,一行一条,命令与模型名保留英文。
6
6
 
7
+ ## 1.87.0 - 2026-11-27
8
+
9
+ - **Top-10 主流场景实战驱动升级:3D/UI 工艺技能与视觉闭环加固、`combo.main` 故障转移可靠性、空 `usage` 崩溃防护、`Edit` 恢复与显式规格任务 `◆ Plan` 快速通道:**
10
+ - **显式规格任务 `◆ Plan` 快速通道与批量编辑引导(`src/runtime/v1ComboCost.ts` / `src/tools/FileEditTool/prompt.ts`)**:新增 `isExplicitSpecGoal`,对 `<2.5KB`、无宽泛跨仓架构词且已给出明确目标文件与校验命令的聚焦任务自动延后前置 `plan`(覆盖 `local_keyword_heavy` 误触发),同时保留 `legacy`、`long`、`weakMain` 与 `latePlanTrigger` 兜底;`FileEditTool` 引导同一文件 `2+` 处修改优先合并为单次 `edits[]` 或短文件 `<200` 行单次 `Write`。实测 S5/S9/S10 均实现 `planCount=0`(省去 31–36s 规划等待),S9 `s9-perf-etl` 在含 502 自动切槽下 `134.31s` 通过 `4/4` 用例(50k 事件 `4.0ms`)。
11
+ - **Three.js / UI 工艺内置技能与视觉证据闭环(`threejsCraft.ts` / `productDesign.ts` / `v1VisualReviewPack.ts` / `BrowserUseTool/session.ts` / `runResultWrite.ts`)**:新增 `threejs-craft` 与 `product-design-review` 通用技能;`v1VisualReviewPack` 对干净浏览器证据显式写入 `console_errors=0, http_errors=0`;`BrowserUseTool` 截图压至 `960px q74` 并附内联像素防重复 `Read` 提示;`CLAVUE_RUNS_EXTERNAL=1` 时 `latest.json` 写在外置目录旁。
12
+ - **Skill 契约去重、绿地 `stickyPlanModel` 释放与 `combo.main` 容灾(`runtimeSkillSupport.ts` / `work/phases.ts` / `v1SlotChainQuery.ts` / `withRetry.ts`)**:按 `sessionId:agentId` 对 `Runtime capability contract` 去重并限制 1–2 个非重叠技能;绿地 `Write` 自动释放 `stickyPlanModel`;新增 `resolveHealthDemotedSlotActive` 与 `advanceSlotOnFirstByte` 应对健康降级主模型与首包超时。
13
+ - **防幻觉门禁、空 `usage` 防护与 `Edit` 恢复(`glob.ts` / `v1VisualAcceptance.ts` / `v1VisualDeliveryGate.ts` / `continueText.ts` / `modelCost.ts` / `claude.ts` / `FileEditTool.ts`)**:`Glob` 默认排除 `.clavue/**` 与 `.git/**`;零文件 UI 构建禁止通过视觉验收;`FATAL_VISUAL_OUTPUT_RE` 拦截 `Directory listing for /` 与 `http_errors>0`;全面防御流式回退缺少 `usage` 导致的 `input_tokens` `TypeError`;`Edit` 失败时清理 `readStubRef` 范围防止重读被拦截。
14
+ - English: Top-10 benchmark-driven upgrades: adds `isExplicitSpecGoal` + `planUpfront` fast-path deferral (`src/runtime/v1ComboCost.ts`) and multi-hunk `Edit`/`Write` batching guidance (`src/tools/FileEditTool/prompt.ts`), cutting `planCount` to `0` across S5/S9/S10 and passing `s9-perf-etl` (`4/4`, 50k in `4.0ms`) in `134.31s` despite live 502 failover; bundles `threejs-craft` and `product-design-review` skills, explicit `console_errors=0, http_errors=0` proof in `v1VisualReviewPack.ts`, `960px q74` inline-pixel `Browser` screenshots, and external `latest.json` placement; deduplicates `Skill` capability contracts per `sessionId:agentId` and releases `stickyPlanModel` on greenfield `Write`; hardens `combo.main` failover (`resolveHealthDemotedSlotActive`, `advanceSlotOnFirstByte`), `.clavue/**`/`.git/**` `Glob` exclusion, zero-file UI visual rejection, `usage` null-safety (`modelCost.ts`, `claude.ts`), and `Edit` `readStubRef` range clearing (`FileEditTool.ts`).
15
+
7
16
  ## 1.86.0 - 2026-11-27
8
17
 
9
18
  - **Antigravity (`agy`) 会话接续、Wave 1–2 运行时/流式/缓存深度升级、RCI 递归运行时诊断与未来演进路线图:**
package/README.md CHANGED
@@ -95,7 +95,7 @@ clavue-v1 --version
95
95
  Pin a version:
96
96
 
97
97
  ```bash
98
- curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.86.0/install.sh | bash -s -- 1.86.0
98
+ curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.87.0/install.sh | bash -s -- 1.87.0
99
99
  ```
100
100
 
101
101
  Upgrade later with `clavue update` or `clavue-v1 update` (startup check / `/update` also prefer the public v1 release, then fall back to npm).
@@ -106,7 +106,7 @@ Upgrade later with `clavue update` or `clavue-v1 update` (startup check / `/upda
106
106
  npm install -g clavue-v1
107
107
  # or one-shot:
108
108
  npx -y clavue-v1
109
- npx -y clavue-v1@1.86.0 --version
109
+ npx -y clavue-v1@1.87.0 --version
110
110
  ```
111
111
 
112
112
  One-line global install via the package (npm / unpkg):
@@ -118,7 +118,7 @@ curl -fsSL https://unpkg.com/clavue-v1/install.sh | bash
118
118
  Install a specific version globally:
119
119
 
120
120
  ```bash
121
- curl -fsSL https://unpkg.com/clavue-v1@1.86.0/install.sh | bash -s -- 1.86.0
121
+ curl -fsSL https://unpkg.com/clavue-v1@1.87.0/install.sh | bash -s -- 1.87.0
122
122
  ```
123
123
 
124
124
  ```bash