clavue-v1 1.83.2 → 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 +9 -0
- package/README.md +3 -3
- package/dist/cli-main.js +264 -235
- 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 +2 -1
- package/docs/acp-acpx-interoperability.md +18 -0
- package/docs/next-round.md +1 -1
- package/docs/release-notes-v1.84.0.md +30 -0
- package/docs/tui-feed/feed.json +18 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,15 @@ 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
|
+
|
|
7
16
|
## 1.83.2 - 2026-11-23
|
|
8
17
|
|
|
9
18
|
- **TUI 日记打印与流式渲染热修:**
|
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
|