clavue-v1 1.85.1 → 1.85.3

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,23 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
4
4
 
5
5
  格式约定(`parseChangelog` 依赖):二级标题为 `## <版本> - <日期>`,条目以 `- ` 开头,一行一条,命令与模型名保留英文。
6
6
 
7
+ ## 1.85.3 - 2026-11-26
8
+
9
+ - **`clavue update` 升级体验降噪与实时进度、滞后镜像自动回退、冷历史超大 Transcript 自愈归档与一键清理:**
10
+ - **`clavue update` 仅展示安装/升级相关告警并透出实时进度**:`getDoctorDiagnostic()` 支持 `scope: 'install' | 'all'`,`clavue update` 仅报告安装方式、权限与 `PATH` 遮蔽等升级相关问题,不再把模型能力建议、文档提示和历史日志体积刷满升级界面;同时将 `Capability contract / best practices` 等文档指引在 `clavue doctor` 中降级为普通 `Note:`,不再伪装成黄色 `Warning:`。
11
+ - **锁定目标版本 + 心跳进度 + 滞后镜像官方源兜底**:`update.ts` 向 `installGlobalPackage(latestVersion, { onProgress })` 显式传入查到的目标版本并实时打印下载 GitHub tarball / 执行 `npm install -g` 阶段与每 10 秒耗时心跳告别「黑屏假卡死」;当国内 npm 镜像尚未同步新版本返回 `ETARGET`/`E404` 时自动回退 `--registry https://registry.npmjs.org` 重试一次。
12
+ - **历史超大(>100MB)Transcript 自动冷归档、汇总告警与 `clavue doctor --archive-transcripts`**:`sessionStorage.ts` 新增 `archiveColdOversizedTranscripts()`,在 `clavue doctor` 诊断时自动将超过 100MB 且超过 24 小时未改动的冷历史 `.jsonl` 无损重命名为 `*.jsonl.archive-*`(保留磁盘字节支持按需检索);多个活跃超大文件收敛为单条汇总告警,修正误导性 `Run /compact` 提示,并新增 `clavue doctor --archive-transcripts` 一键归档全部 `>100MB` 会话文件。
13
+ - English: Upgrade UX & oversized-transcript polish: scopes `clavue update` diagnostics to install/PATH/permission checks (`getDoctorDiagnostic({ scope: 'install' })`) and moves `Capability contract / best practices` out of yellow warnings into `Note:` lines; pins `latestVersion` and streams stage progress + 10s heartbeats during `installGlobalPackage()` with automatic `--registry https://registry.npmjs.org` retry on lagging mirror `ETARGET`/`E404` failures; adds `archiveColdOversizedTranscripts()` to automatically roll >24h-idle >100MB legacy transcripts without data loss, collapses multi-file transcript size warnings into a single summary with accurate remediation copy, and exposes `clavue doctor --archive-transcripts`.
14
+
15
+ ## 1.85.2 - 2026-11-25
16
+
17
+ - **JEV + Harness 最佳实践五支柱升级、云端 JEV 自动降级、Grok 对标单行日记重构与 WebGL/视觉交付门禁强化:**
18
+ - **五大类型化 JEV + Harness 闭环**:新增 `src/runtime/v1JevBashSafety.ts` 并接入 `permissions.ts`,只读与常规本地测试走 0ms 快路径,灰区即将放行的 Shell 命令发单包 3-Noul(`delete_or_overwrite`/`network_exfil`/`rewrite_git_history`)门禁,任一 `> 0.5` 转人工审批;`v1DeliveryChecks.ts` 提取 `<=240` 字符真实验证尾部 `outputTail` 接入 `v1JevRuntime.ts`(并缩减至 `901` 行)捕捉假绿测试;新增 `v1JevMergeGate.ts` 接入 `v1WorktreeLand.ts`,Phase 2 合并前对含删除/高删行/敏感配置的分支发 `destructive_merge` `Noul`(`> 0.3` 停靠且不触碰 `repoRoot`);新增 `v1JevSearchRank.ts` 接入 `GrepTool`,`>= 15` 命中文件时单包 `SCORE(0-3)` 置顶高相关目标;新增 `v1HandoffContract.ts` 为 `SwarmTool`/`v1SwarmRegistry.ts` 落地 8 字段结构化 `HANDOFF` 契约并醒目提示 `DO-NOT-ASSUME` / `UNCERTAINTIES`;新增 `v1JevStats.ts` 接入 `clavue provider doctor` 展示 JEV 调用量、命中率、p50/p95 延迟、低置信占比与子门禁统计。
19
+ - **云端 JEV 瞬态故障自动降级与零警告 Lint**:新增 `src/runtime/v1JevFallback.ts`,在云端 JEV 遭遇 5xx/502/超时/熔断时自动降级到用户自有 Provider 的 `/v1/chat/completions`(严格凭证隔离、独立每主机熔断、12s 超时、不劫持 401/403/429/abort),并清理全仓变更集 41 条 Biome 警告实现 0 error / 0 warning。
20
+ - **对标 Grok Build 的紧凑单行 TUI 日记与防回卷重影修复**:新增 `src/utils/diaryGrokBurst.ts` 并重构 `DiaryBurstRow.tsx`/`diaryActionGroups.ts`/`AssistantTextMessage.tsx`,将工具批次统一为恒定单行 `◈`/`✗` 摘要(编辑文件与红绿 `+N -M` 置前、去重文件阅读、修复「查阅 1 次搜索」病句、静默吸收元工具告别 `… 另有 N 步操作 …`);修复 `Messages.tsx` 与 `ink.tsx` 在活跃回合及 `clearTerminal` 时的 scrollback 鬼影重复打印。
21
+ - **浏览器 `EVAL` 实探、亮度空白帧检测与视觉交付门禁**:升级 `BrowserUseTool` 支持页面 `EVAL` 实探与 Rec.709 亮度/空白帧探针,新增 `v1VisualDeliveryGate.ts` 与 `v1ReadWorkingSet.ts` 强化长会话工作集与 3D/WebGL/UI 真实渲染验收,并压缩 `noFollowUpPartG.ts` 与 `v1JevRuntime.ts` 架构体量。
22
+ - English: Five-pillar JEV + Harness best-practice upgrade, resilient JEV fallback, Grok-benchmarked single-line TUI diary & scrollback dedupe, and visual/WebGL delivery gates: adds gray-zone Bash 3-Noul JEV safety gating (`v1JevBashSafety.ts` + `permissions.ts`, 0ms safe/read-only fast-path, `noul > 0.5` parks for approval), verification `outputTail` evidence (`v1DeliveryChecks.ts` + `v1JevRuntime.ts`, shrinking `v1JevRuntime.ts` to 901 lines), neutral worktree destructive-merge JEV gate (`v1JevMergeGate.ts` + `v1WorktreeLand.ts`, `noul > 0.3` parks before mutating `repoRoot`), high-hit `>= 15` file Grep JEV `SCORE` Top-K reranking (`v1JevSearchRank.ts` + `GrepTool.ts`), 8-field structured Swarm `HANDOFF` contract surfacing `DO-NOT-ASSUME`/`UNCERTAINTIES` (`v1HandoffContract.ts` + `SwarmTool.ts`), and Prompt-10 JEV audit stats in `provider doctor` (`v1JevStats.ts`); adds credential-isolated provider chat fallback for transient JEV 5xx/timeout/circuit-open outages (`v1JevFallback.ts`) and clears all Biome lint warnings; overhauls TUI tool bursts into a constant 1-line `◈`/`✗` Grok-style summary (`diaryGrokBurst.ts`) while fixing scrollback ghost duplication in `Messages.tsx` & `ink.tsx`; and adds `Browser(EVAL)`, Rec.709 blank-frame/luminance probes, `v1VisualDeliveryGate.ts`, and `v1ReadWorkingSet.ts`.
23
+
7
24
  ## 1.85.1 - 2026-11-24
8
25
 
9
26
  - **`clavue-5.5` / `clavue-5.5-fast` 与 Drex v1.5 JEV 全链路客户端适配 + 6 项核心 Bug 修复(#334 / #335 / #336 / #290 / #293 / #294):**
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.85.1/install.sh | bash -s -- 1.85.1
98
+ curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.85.3/install.sh | bash -s -- 1.85.3
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.85.1 --version
109
+ npx -y clavue-v1@1.85.3 --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.85.1/install.sh | bash -s -- 1.85.1
121
+ curl -fsSL https://unpkg.com/clavue-v1@1.85.3/install.sh | bash -s -- 1.85.3
122
122
  ```
123
123
 
124
124
  ```bash