clavue-v1 1.85.4 → 1.85.6
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 +17 -0
- package/README.md +3 -3
- package/dist/cli-main.js +506 -461
- package/dist/cli.js +2 -2
- package/dist/mao-command.js +1 -1
- package/dist/openai-responses-adapter.js +4 -4
- package/dist/provider-router.js +4 -4
- package/dist/provider-setup.js +1 -1
- package/docs/release-notes-v1.85.5.md +28 -0
- package/docs/release-notes-v1.85.6.md +31 -0
- package/docs/tui-feed/feed.json +32 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,23 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
|
|
|
4
4
|
|
|
5
5
|
格式约定(`parseChangelog` 依赖):二级标题为 `## <版本> - <日期>`,条目以 `- ` 开头,一行一条,命令与模型名保留英文。
|
|
6
6
|
|
|
7
|
+
## 1.85.6 - 2026-11-26
|
|
8
|
+
|
|
9
|
+
- **RCI 门控递归自优化升级(等预算评价阶梯、事实优先 Swarm 黑板、因果 Playbook 演进与 P2 无标签策展):**
|
|
10
|
+
- **等预算评价阶梯与配对统计发布门控(`src/runtime/rciLadder.ts`)**:新增 `evaluateEqualBudgetLadder`(按 Token/USD 折算等效独立 Agent 数 $n_B = C_{\text{group}}/C_1$,精确计算二项多数投票 $V(n_B)$ 与独立 $\text{pass@}n_B$ $T(n_B)$,按配对聚类检验划分 Level 0–3 并求解等效独立采样数 $n_T$ 与协作效率 $\eta$)及 `evaluatePairedReleaseGate`(结合健康红线与 $d - k \cdot \text{SE} > \text{margin}$ 门控,未显著胜出保持 `flat`、破红线拒收 `reject_unhealthy`)。
|
|
11
|
+
- **事实优先黑板、完整读者门禁、引用流信用分配与演化团队卡(`v1HandoffBoard.ts` / `v1HandoffContract.ts` / `rciBoardProtocol.ts` / `SwarmTool.ts`)**:黑板扩展 `phase: 'fact' | 'synthesis'` 与 `cites?: number[]`(`CITES: #seq` 双向解析);新增 `validateFactTurn` 拦截无证据早熟结论、`checkCompleteReaderGate` 强制读齐必需分片后再综合、`computeCitationFlowCredit` 沿引用 DAG 反向传播信用($\gamma=0.5, \lambda=0.25$)并记录 `credit-ledger.jsonl`;`SwarmTool` 支持注入受词数上限约束的演化团队卡(`active-team-card.json`)。
|
|
12
|
+
- **因果 Playbook 合成与遥测治理、无标签 Supervisor 与 `evalGraph` 门控演化闭环(`rciPlaybookSynthesizer.ts` / `v1ProceduralDistill.ts` / `postRunSelfHealAndArena.ts` / `rciSupervisor.ts` / `rciEvolution.ts`)**:从 `diffText` 提取脱敏因果修复线索写入认证 Playbook,`governProceduralPlaybooks` 基于遥测自动隔离高频失效条目至 `.quarantine/` 并晋级有效条目;`runGatedEvolutionRound` 闭合「诊断 → 防确认集泄漏校验 → Supervisor 提案 → 健康红线与配对确认 → 接入 `evalGraph.recordGraphEvolutionRound` → 原子发布/回滚」完整状态机。
|
|
13
|
+
- **CLI 入口与 P2 策展器(`src/cli/handlers/eval.ts` / `ops/training-capture/curate-rci.mjs`)**:新增 `clavue-v1 eval ladder`、`clavue-v1 eval evolve`(含 `--status` / `--apply` / `--rollback`),`eval compare` 附带 `rciPairedGate`;新增 `curate-rci.mjs` 对云端采集会话执行反作弊/纠偏过滤、信用加权、`sha256(sid)` 互斥切分(`train/selection/confirmation`)与偏好对生成。
|
|
14
|
+
- English: RCI Gated Recursive Self-Optimization upgrade (Equal-Budget Ladder, Fact-First Swarm Blackboard, Causal Playbook Evolution & P2 Curator): adds `rciLadder.ts` (`evaluateEqualBudgetLadder` computing equivalent independent budget `n_B`, exact binomial majority vote `V(n_B)`, `pass@n_B` `T(n_B)`, Level 0–3, and efficiency `eta`, plus `evaluatePairedReleaseGate` with health-line vetoes); extends `v1HandoffBoard.ts` / `v1HandoffContract.ts` with `phase` and `cites` (`CITES: #seq`) and adds `rciBoardProtocol.ts` (`validateFactTurn`, `checkCompleteReaderGate`, `computeCitationFlowCredit` with `gamma=0.5`/`lambda=0.25`, bounded `active-team-card.json` injection & `credit-ledger.jsonl` in `SwarmTool.ts`); adds `rciPlaybookSynthesizer.ts` (diff-clue causal distillation in `v1ProceduralDistill.ts` / `postRunSelfHealAndArena.ts` and telemetry-driven `.quarantine/` governance), `rciSupervisor.ts`, and `rciEvolution.ts` (wiring `evalGraph.recordGraphEvolutionRound` into a leak-checked, paired-gated evolution loop with rollback); and adds `clavue-v1 eval ladder` / `eval evolve` plus `ops/training-capture/curate-rci.mjs`.
|
|
15
|
+
|
|
16
|
+
## 1.85.5 - 2026-11-26
|
|
17
|
+
|
|
18
|
+
- **统一 Switch Model `/model` & `/effort` 四槽位交互选择器、移除默认多会话并发排队/告警及 `#337` 交接白板与 `--resume` 前缀固化跟进:**
|
|
19
|
+
- **统一 Switch Model `/model` & `/effort` 四槽位选择器**:`SlotModelPicker` 与 `/model` 合并为统一选择器,支持实时搜索过滤、`(current)` 当前模型标记、`Main`/`Light`/`Plan`/`Review`(`主`/`轻`/`规`/`审`)四槽位逐槽位配置与 `i of N` 计数、内联 Effort 滑块(`auto / low / medium / high / max`)及 `↑/↓`、`←/→`、`tab`、`enter`、`esc` 快捷键;`/effort` 新增 `/effort <slot> <level|auto>` 与 `/effort status` 分槽位持久化。
|
|
20
|
+
- **移除默认多会话并发告警与 `-p` 排队拒绝(改为显式环境变量按需启用)**:删除 `v1SessionRegistry.ts` 默认输出的「同一网关上有 N 个 clavue 会话在同时运行」警告提示(保留 `registerLiveSession` 心跳注册供 `BashTool/killScope.ts` 与测试使用);`sessionWriterLock.ts` 默认放行 `-p` 与交互式并发会话(`isPrintAdmitBypassed` 在 `CLAVUE_PRINT_ADMIT_AT` 未设置或为空时返回 `true`),仅在显式配置 `CLAVUE_PRINT_ADMIT_AT` 或 `CLAVUE_INTERACTIVE_WARN_AT` 时启用并发排队或告警。
|
|
21
|
+
- **`#337` 交接白板位置与 `--resume` 历史前缀固化跟进**:将 `交接白板(自 N)` 从 `options.appendSystemPrompt`(`src/cli/print.ts`)迁至尾部 user turn(`src/QueryEngine.ts`),避免击穿后续 `tools` 与历史轮次 KV Cache;在 `sessionStorage.ts` `isLoggableMessage()` 中持久化 `RESUME_PREFIX_ATTACHMENT_TYPES` 并在 `v1UserContextPin.ts` / `api.ts` / `context.ts` 锁定首条 `<system-reminder>` 前缀不被 `--resume` 覆盖。
|
|
22
|
+
- English: Unified Switch Model `/model` & `/effort` 4-slot picker, opt-in session concurrency, and `#337` handoff whiteboard + `--resume` prefix pin follow-up: merges `/model` and `/effort` into a single Switch Model picker with search, `(current)` marker, per-slot `Main`/`Light`/`Plan`/`Review` rows, `i of N` counters, inline Effort slider (`auto/low/medium/high/max`), and `/effort <slot> <level|auto>` / `/effort status`; removes the default gateway concurrent-session warning (`v1SessionRegistry.ts`, keeping `registerLiveSession` for `killScope`) and makes `-p` admission queuing (`CLAVUE_PRINT_ADMIT_AT`) and interactive warnings (`CLAVUE_INTERACTIVE_WARN_AT`) strictly opt-in; and moves `交接白板(自 N)` out of `options.appendSystemPrompt` into the tail user turn while preserving `RESUME_PREFIX_ATTACHMENT_TYPES` across `--resume` so vLLM prefix caching stays intact.
|
|
23
|
+
|
|
7
24
|
## 1.85.4 - 2026-11-26
|
|
8
25
|
|
|
9
26
|
- **长上下文流式超时与 SSE 心跳透传、vLLM Prefix Cache 前缀固化、稳定 `x-clavue-session` 路由亲和及 `clavue-5.5-fast` 防过早取消(配套 #337):**
|
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.
|
|
98
|
+
curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.85.6/install.sh | bash -s -- 1.85.6
|
|
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.
|
|
109
|
+
npx -y clavue-v1@1.85.6 --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.
|
|
121
|
+
curl -fsSL https://unpkg.com/clavue-v1@1.85.6/install.sh | bash -s -- 1.85.6
|
|
122
122
|
```
|
|
123
123
|
|
|
124
124
|
```bash
|