clavue-v1 1.72.0 → 1.73.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 +15 -0
- package/README.md +4 -4
- package/dist/cli-main.js +2097 -2086
- 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.1.md +20 -0
- package/docs/release-notes-v1.73.0.md +26 -0
- package/docs/tui-feed/feed.json +32 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,21 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
|
|
|
4
4
|
|
|
5
5
|
格式约定(`parseChangelog` 依赖):二级标题为 `## <版本> - <日期>`,条目以 `- ` 开头,一行一条,命令与模型名保留英文。
|
|
6
6
|
|
|
7
|
+
## 1.73.0 - 2026-11-19
|
|
8
|
+
|
|
9
|
+
- **统一 6 阶上下文压缩与 Antigravity 风格无感滚动:** 借鉴无打扰连续开发体验,自动压缩开启且未触达硬上限时默认静默隐藏底部 `X% until auto-compact` 倒计时噪音(可通过 `CLAVUE_COMPACT_WARN_AUTO=1` 恢复显示),`/context` 清晰展示 1M 窗口滚动水位;按模型窗口动态分档(1M Flash / `clavue-2.1-fast` / `clavue-24a` 舒适上限 280k、1M 具名旗舰上限 180k、1M Flash 工具结果裁剪预算 80k 保护 Prompt Cache);手动 `/compact` 默认走完整 LLM 摘要(`--fast`/`--memory` 可选快速模式),后台自动滚动优先使用 `LIGHT` 槽 `SessionMemory`(支持官方云 `clavue-24a`、跨家族签名剥离与 `CLAVUE_AUTOCOMPACT_PCT_OVERRIDE`),并在压缩后保留 `PLAN.md` 前 40 行契约/不变量、活跃 todos 与 `obs_*` 句柄且彻底清理重读缓存。
|
|
10
|
+
- **高频 `/` 命令全景升级(`/setting`、`/review`、`/clear`、`/rewind`、`/memory`、`/batch`、`/agents`、`/team`):** 新增 `/setting` 别名并在 `/config` 展示 4 槽位状态及修复 `Esc` 回滚主模型;`/review` 升级为隔离上下文(`context: 'fork'`)直连 `review` 槽位评审;新增 `v1SessionReset.ts` 使 `/clear` 与 `/rewind` 完整重置四槽/白板/验证账本/重读门控与 worktree 文件历史;未知斜杠命令增加拼写纠错提示(如 `/commint` 提示 `/commit`);原 API stub 重命名为 `/batch-api` 解除对内置 worktree 迁移技能 `/batch` 的遮蔽;ACP 宿主初始化内置技能并过滤不可运行命令;`/memory` 对齐真实 `~/.clavue/clavue.md` 与 `SessionMemory`,修复 WP17 `description`-only 规则与 `@./clavue.md` shim 去重。
|
|
11
|
+
- **Swarm / Workflow / AgentTeam P0 修复与 4 槽位协同:** 修复 `SwarmTool` 与 `WorkflowTool` 权限回调覆盖清空工具输入的 P0 缺陷,补齐 `owns`/`forbidden` 归属校验、`Swarm kill` 脏树保护、`Workflow` `onBeforeGate` 自动合入 worktree 分支与中止信号传播;`AgentTool` 原生支持 `main`/`light`/`plan`/`review`/`inherit` 4 槽位及 `TeamCreate` + `isolation: "worktree"` 协同,队友默认继承主会话模型并透传非敏感 `CLAVUE_COMBO*` 配置。
|
|
12
|
+
- **Plugin / Skill / MCP 商业化补齐:** `/plugin` 放行 `clavue.com` 官方 URL 源、消除每次启动重复写盘与无必要外部统计拉取;Skill 延迟至执行期解析 4 槽位模型并在 `/skills` 菜单展示内置技能,解锁 `/remember` 与 `/verify`;MCP 诊断菜单与重连流程透出真实 `client.error`,修复父级 `.mcp.json` 移除,补齐多厂商与官方云 Tool Search 并默认启用缓存安全的 MCP 指令增量通知。
|
|
13
|
+
- English: Four-wave overhaul of slash commands, unified 6-tier compaction, Agents/Team/Swarm/Workflow, and Plugin/Skill/MCP/rules ecosystems: introduces Antigravity-style silent auto-compact UX (hiding noisy `until auto-compact` footer countdowns by default while keeping `CLAVUE_COMPACT_WARN_AUTO=1` opt-in), window-aware compaction ceilings (280k for 1M Flash / `clavue-2.1-fast` / `clavue-24a`, 180k for 1M named flagships, dynamic 80k cache-safe tool pruning), full LLM manual `/compact` vs `LIGHT`-offloaded `SessionMemory` auto-rollover (with `PLAN.md` invariants, active todos, and `obs_*` handle carry). Adds `/setting` alias with 4-slot summary and working Esc model revert in `/config`, isolated `review`-slot forked `/review`, complete `/clear` and `/rewind` v1 runtime reset (`v1SessionReset.ts`) with worktree-safe `fileHistory`, Levenshtein typo suggestions (`/commint` -> `/commit`), `/batch-api` rename unshadowing bundled `/batch`, ACP bundled skill init/filtering, real `~/.clavue/clavue.md` `/memory` & WP17 rules + shim dedup, P0 `SwarmTool`/`WorkflowTool` input-wipe fixes with `owns`/`onBeforeGate` worktree landing, 4-slot `AgentTool` with `TeamCreate` + `worktree` support, `/plugin` official `clavue.com` URL validation without startup config churn, delayed 4-slot Skill routing, and MCP `client.error` diagnostics with cache-safe instruction deltas.
|
|
14
|
+
|
|
15
|
+
## 1.72.1 - 2026-11-19
|
|
16
|
+
|
|
17
|
+
- **商业级全链路稳定性与 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`。
|
|
18
|
+
- **模型不稳定兜底、无头快失败与故障可观测性升级:** 新增 `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`。
|
|
19
|
+
- **资源卫生与诊断准确性修复:** 移除零 LSP 服务器会话每次 `Edit`/`Write` 800ms 空转等待,浏览器关闭异步等待 Chrome 退出消除临时目录泄漏;`provider doctor` 修正 `[FAIL]` 标签/去重与 `Jev` 运行态一致性,`provider list` 精简输出;未信任目录普通 `-p` 安全降级而非硬拒,空 `-p ""` 前置校验零 `.clavue/runs/` 污染,ACP `session/cancel` 消除虚假 `APIUserAbortError` 报错,BYOK 跳过官方 MCP registry 404 请求。
|
|
20
|
+
- 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.
|
|
21
|
+
|
|
7
22
|
## 1.72.0 - 2026-11-19
|
|
8
23
|
|
|
9
24
|
- **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` 尾部延迟。
|
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.73.0/install.sh | bash -s -- 1.73.0
|
|
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.73.0 --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.73.0/install.sh | bash -s -- 1.73.0
|
|
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.73.0 --version
|
|
744
744
|
# available after a global install; both names are this package
|
|
745
745
|
clavue --version
|
|
746
746
|
clavue-v1 --version
|