clavue-v1 1.83.1 → 1.84.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 +18 -0
- package/README.md +3 -3
- package/dist/cli-main.js +283 -250
- package/dist/cli.js +3 -3
- package/dist/mao-command.js +1 -1
- package/dist/openai-responses-adapter.js +3 -3
- package/dist/provider-router.js +3 -3
- package/dist/provider-setup.js +1 -1
- package/docs/README.md +3 -1
- package/docs/acp-acpx-interoperability.md +18 -0
- package/docs/next-round.md +1 -1
- package/docs/release-notes-v1.83.2.md +26 -0
- package/docs/release-notes-v1.84.0.md +30 -0
- package/docs/tui-feed/feed.json +32 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,24 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
|
|
|
4
4
|
|
|
5
5
|
格式约定(`parseChangelog` 依赖):二级标题为 `## <版本> - <日期>`,条目以 `- ` 开头,一行一条,命令与模型名保留英文。
|
|
6
6
|
|
|
7
|
+
## 1.84.0 - 2026-11-23
|
|
8
|
+
|
|
9
|
+
- **通用 Agent OS 底座升级 + 盲协议多 Agent ACP 驱动(`clavue-v1 peers`):**
|
|
10
|
+
- **新增 `clavue-v1 peers <list|probe|run|compare>` 免 heap 重启快速路径与零身份分支 `BlindAcpClient`**:通过声明式注册表(`src/cli/acp/peerRegistry.ts` + `~/.clavue/acp-peers/*.json` / `<cwd>/.clavue/acp-peers/*.json`)无分支驱动 Clavue、Antigravity (`agy acp`)、Grok Build (`grok agent stdio`)、Codex (`@agentclientprotocol/codex-acp`)、Claude (`@agentclientprotocol/claude-agent-acp`) 与自定义 ACP v1 服务端;启动前剥离跨 Agent 凭据前缀防止密钥串泄,`compare` 严格只读并支持多 Peer 并行对比,`run` 支持 `--worktree` 写隔离与 `--effort`/`--model`/`--mode` 映射。
|
|
11
|
+
- **确定性最小权限交集与类型化拒绝账本(`src/runtime/effectiveGrant.ts`)**:实现单调收敛的 `EffectiveGrant`(`worker_ceiling ∩ ee_policy ∩ repo_trust ∩ run_binding`),在模型外对每次 ACP `session/request_permission` 做确定性裁决并追加写入 `refusals.jsonl`;加固 fail-closed 不变式——`--read-only` 与 `repoTrusted: false` 同时封禁写与 Shell、空 `targetPaths` 与匿名工具自动拒绝、存在任何权限约束时禁止透传 `--always-approve` 或回退 `allow_always`。
|
|
12
|
+
- **声明式 Verifier 注册表与 Verifier-Only Marks(`src/runtime/verifierMark.ts`)**:支持 `command`、`artifact_exists`、`payload_json_valid`、`regex_match` 校验器与 `<runDir>/marks.jsonl` 运行时独占签发(`issuedBy: "runtime_verifier"`,按最新 Mark 裁决);锁定 `~/.clavue/verifiers/` 为不可被仓库覆盖的用户信任根,启动前快照校验器并保护 `.clavue/verifiers/**` 只读,文件校验强制工作区路径/符号链接围栏、常规文件检测与 256 KiB 有界读取。
|
|
13
|
+
- **长间隔恢复上下文增量与 Clavue ACP 服务端原生配置升级**:新增 `src/runtime/resumeContextDelta.ts`(空闲 >= 30m 零 LLM 注入 `<resume-context-delta>`);`clavue-v1 agent stdio` 在 `session/new` 原生返回 `modes` 与 `configOptions`(`effort`、`mode`),修复首轮 prompt 前调用 `session/set_mode`/`session/set_config_option("mode")` 未持久化到延迟创建 runtime 的问题;`clavue-v1 interop --json` 将 `antigravity`(`agy acp`)纳入异构协作矩阵。
|
|
14
|
+
- English: Generic Agent OS primitives & zero-identity-branch multi-agent ACP CLI (`clavue-v1 peers <list|probe|run|compare>`): adds declarative ACP peer registry (`peerRegistry.ts` + `.clavue/acp-peers/*.json` with cross-agent credential env sanitization) and `BlindAcpClient` (`acpClient.ts`) driving Clavue, Antigravity (`agy acp`), Grok Build (`grok agent stdio`), Codex, and Claude adapters over standard ACP v1 stdio with parallel read-only `compare` and isolated `--worktree` runs; adds deterministic least-privilege `EffectiveGrant` intersection + `refusals.jsonl` typed refusal ledger (`effectiveGrant.ts`, fail-closed on `--read-only`/`repoTrusted: false` shell, empty `targetPaths`, missing tool identity, and blocking `--always-approve`/`allow_always` bypasses under restricted grants); adds declarative Verifier-Only Marks (`verifierMark.ts` + `marks.jsonl`, immutable user trust root, pre-turn verifier snapshotting, cwd/symlink containment & bounded 256 KiB file reads); adds deterministic 30m+ `<resume-context-delta>` middleware (`resumeContextDelta.ts`); upgrades `clavue-v1 agent stdio` to advertise native `modes` + `configOptions` (`effort`, `mode`) on `session/new` with pre-prompt mode persistence and registers `antigravity` (`agy acp`) in `interop --json`.
|
|
15
|
+
|
|
16
|
+
## 1.83.2 - 2026-11-23
|
|
17
|
+
|
|
18
|
+
- **TUI 日记打印与流式渲染热修:**
|
|
19
|
+
- **已落定思考行不再卡黄色「思考中」**:修复 `src/components/Message.tsx` 将已结束 `thinking` 块误传 `live={true}` 的问题(实时流式思考由 `Messages.tsx` 单独渲染),思考完成后正确显示青色 `▸ 思考 7.7s · N tokens`。
|
|
20
|
+
- **清理 `● 查阅` 摘要中的原始正则转义符**:在 `src/utils/diaryActionGroups.ts` 新增 `cleanSearchPatternForDiary()`,将 `\.sidebar__footer\|\.avatar` 等 `Grep` 正则转义清理为人类可读的 `.sidebar__footer|.avatar`(URL / glob 与 `ctrl+o` 原始详情保持不变)。
|
|
21
|
+
- **重复多行列表/粘连标题实时去重与重试复位**:升级 `src/utils/diaryDedupe.ts` 的 `collapseRepeatedDiaryBlocks()`(保护围栏代码块,折叠重复段落、带短标题前缀的重复列表体、重复长列表项与孤立重复标题)并接入 `diaryStreamPreview()`;在 `src/utils/messages.ts` 的 `tombstone` 与 `stream_request_start` 显式清空 `onStreamingText`。
|
|
22
|
+
- **修复短视口长回复顶部 `●` 与首段标题被裁丢及流式列宽偏差**:在 `src/ink/ink.tsx` 新增 `isLiveViewportOverflowing()` 并于 `src/components/Messages.tsx` 回合落定空闲且活区溢出时整段刷入终端 scrollback,避免 `cropFrameTop` 永久隐藏长回复开头;同时修正 `<StreamingMarkdown>` 宽度为 `columns - 6` 并补齐 `flexShrink={0}`。
|
|
23
|
+
- English: TUI diary printing & streaming rendering hotfix: fixes settled thinking blocks in `Message.tsx` staying stuck on yellow live `▸ 思考中` (now `live={false}` while live streaming thinking stays on `Messages.tsx`); strips raw regex escape noise (`\.`, `\|`, `\b`, `\s+`) from compact `● 查阅` / `Explored` diary chips via `cleanSearchPatternForDiary()`; upgrades `collapseRepeatedDiaryBlocks()` to collapse repeated heading-glued bullet sections, long list items, and orphaned headings (preserving fenced code blocks) and wires it into live `diaryStreamPreview()` plus clears `onStreamingText` on `tombstone` / `stream_request_start`; flushes overflowing settled answers cleanly into terminal scrollback (`isLiveViewportOverflowing()`) so `cropFrameTop` never permanently hides opening `●` bullets/headings on shorter terminals, and aligns `<StreamingMarkdown>` width (`columns - 6`) and `flexShrink={0}`.
|
|
24
|
+
|
|
7
25
|
## 1.83.1 - 2026-11-23
|
|
8
26
|
|
|
9
27
|
- **安全与验真守卫统一、验证命令裂脑修复、文档归档脱敏与死代码清理(含 1.83.0 完整证明携带式机器原生引擎):**
|
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.
|
|
98
|
+
curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.84.0/install.sh | bash -s -- 1.84.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.
|
|
109
|
+
npx -y clavue-v1@1.84.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.
|
|
121
|
+
curl -fsSL https://unpkg.com/clavue-v1@1.84.0/install.sh | bash -s -- 1.84.0
|
|
122
122
|
```
|
|
123
123
|
|
|
124
124
|
```bash
|