clavue-v1 1.63.2 → 1.63.4

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
@@ -6,6 +6,28 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## 1.63.4 - 2026-10-30
10
+
11
+ 1.63.4 让 `-p` 并发准入可配,简单启动也能多开。
12
+ - **`-p` 准入:** 未设环境变量时默认 **逻辑 CPU 数 × 2**(例如 10 核 → 20),并封顶 **32**。设 `CLAVUE_PRINT_ADMIT_AT=16`(或 12–32)可钉死;非法 / 非正整数回落到 cpus×2;大于 32 夹到 32。排队与拒绝文案里的数字跟着解析值走。
13
+ - **可选:** `CLAVUE_INTERACTIVE_WARN_AT`、`CLAVUE_PRINT_QUEUE_WAIT_MS`。
14
+ - English: print admission defaults to `cpus×2` (cap 32) when `CLAVUE_PRINT_ADMIT_AT` is unset; env overrides (clamp 1–32). Queue/refuse messages use the resolved threshold. Optional `CLAVUE_INTERACTIVE_WARN_AT` and `CLAVUE_PRINT_QUEUE_WAIT_MS`.
15
+
16
+ ## 1.63.3 - 2026-10-29
17
+
18
+ 1.63.3 补上车道工厂、会改文件的 `-p` 默认不进计划门、本地收尾、工人租约、侧路额度、review 超时前进,以及 imux 进度面。BurnClip 上中文「文件没有变化」的重读不再把回合打死。
19
+ - **ART factory:** `scripts/grok-art` 从短 PLAN 或 JSON 生成互斥车道的 `PROMPT.md` 与后台启动器。`launch --dry-run` 只打印 `grok --prompt-file … --model grok-4.7-build-fast --always-approve --no-plan --max-turns 280 --cwd <worktree> --output-format plain`,不真正启动。`status` 轮询 `DONE.md` / `FAIL.md` / `REPORT.md` / pid。后台车道不进 imux。配方见 `docs/grok-orchestrate-clavue.md`。
20
+ - **`-p` 计划门:** 会改文件的 `-p` / print 默认跳过计划批准,等同 `--no-plan`,不再停在计划批准上。`--plan`、`--permission-mode plan` 或 `CLAVUE_PRINT_PLAN=1` 仍进入计划门,非计划文件的 Edit / Write / NotebookEdit 立刻拒绝、不等待。交互会话不套这个默认。
21
+ - **本地收尾:** `scripts/clavue-finish.mjs` 先检查 ART 里每条车道的 `DONE.md` / `FAIL.md`,再按序合并绿色车道、bump、`rebuild:dist`、`release:preflight`、PR、tag,并用 `.grok/skills/clavue-release/npmrc` 做 npm publish。`--dry-run` 只打印这些步骤。
22
+ - **多开工人:** 主会话再开 worker 时各自占用独立 worktree,并持有任务租约(活着的非僵尸进程,会话心跳在 45 秒内续租)。同名 slug 已被租约或活会话占用时改用 `<slug>-2`。死进程或过期租约不再占这条路径。工人状态写进 `.clavue/runs/worker-<slug>/events.jsonl`(worktree 与 lease held/released);只有 success 才出现「完成」。Agent、TeamCreate 和 coordinator 提示在这些工具已注册时,禁止声称「本会话没有多 agent 协作工具」。
23
+ - **侧路额度:** `isSideUpstreamRetryable` 与主循环一样,credit / auth(额度、usage limit、quota、登录)不再重试。真 429 限流、502/503/504 和超时仍短退避。5xx 正文里的 quota 仍按网关故障重试。
24
+ - **Review 超时:** 看门狗超时记本会话短钉(第二会话才升成全局),并把 review 槽链前进到下一项或地板。用户中止不记钉、不前进。
25
+ - **进度面:** 有工具在跑时,转圈旁边仍保留一行,例如 `Update file PLAN.md + 2 more · 10s [stop]`(中文是 `更新文件 … + 另外 N 项 · [停止]`)。点击这一行走现有的 Esc 取消。底部 `Tasks` 列出后台命令、本地代理、进程内队友、工作流,以及 `.clavue/runs` 里还活着的 clavue-v1 工人,每行带用时。`Watchers` 只放 `kind === 'monitor'` 和 `monitor_mcp`。折叠后的工作行写成 `Edited N files · Explored · N searches · Ran N commands · Thought for Ns`(中文:改了 N 个文件 · 摸清 · N 次搜索 · 运行了 N 条命令 · 思考了 Ns)。这和会话列表的「进行中 / 待审阅」不是同一件事。
26
+ - **BurnClip / 重读:** 中文和英文的「自上次 Read 以来文件没有变化」属于 read-gate。满 3 次只警告,不再因为同一错误族或同一条拒绝把回合停在 `Stopped: Read repeated the same failure 5 times.`。不同文件仍归一族,但这一族不中止。相同的 Grep / Bash 失败仍在 5 次中止。已经离开工作窗的 Read(`peekDroppedRead`)允许再读。resume 只把仍在窗口里的正文种进 `readFileState`;`File unchanged since last read.`、`[Old tool result content cleared]`、`clavue_observation_v1`、`<persisted-output>`、`[clavue:payload-on-disk` 不种。
27
+ - **待审阅条:** 进行中挤满信息条时,`waiting_user` 和 `blocked` 仍留在待审阅。回归:`tests/1633-n4-session-buckets.test.mjs`。
28
+ - 回归:`tests/1633-n1-art-factory.test.mjs`,`tests/1633-n2-no-plan.test.mjs`,`tests/1633-n3-finish-playbook.test.mjs`,`tests/1633-n5-lead-spawn.test.mjs`,`tests/1633-n6-side-quota.test.mjs`,`tests/1633-n6-review-timeout.test.mjs`,`tests/1633-n7-imux-progress.test.mjs`,`tests/tool-loop-guard.test.mjs`,`tests/1627-reread-hard-gate.test.mjs`
29
+ - English: mutating `-p` skips the plan gate unless `--plan` or `CLAVUE_PRINT_PLAN=1`. `scripts/grok-art` builds exclusive lane prompts, and `scripts/clavue-finish.mjs` is the local ship playbook. A lead worker holds a task lease on its own worktree. Side queries do not retry credit or auth 429s. A review hop timeout pins that model for this session and advances the review chain. The live strip and a Tasks / Watchers panel show in-flight work with timers and `[stop]`. BurnClip: Chinese and English unchanged-reread rejects are a read gate, so they warn and do not hard-abort the turn. Resume seeds only live Read bodies. A full 进行中 strip still keeps 待审阅 rows.
30
+
9
31
  ## 1.63.2 - 2026-10-29
10
32
 
11
33
  1.63.2 把未指定模型的 Agent 留在主模型上,并修切窗、首包、网关文案、多开工人和会话分桶。无可用渠道不再假装已经换模。笔记不合格的硬切会落到软摘要。归档水位跟着工作窗走。会话列表分成进行中和待审阅。
package/README.md CHANGED
@@ -86,7 +86,7 @@ clavue-v1 --version
86
86
  Pin a version:
87
87
 
88
88
  ```bash
89
- curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.63.2/install.sh | bash -s -- 1.63.2
89
+ curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.63.4/install.sh | bash -s -- 1.63.4
90
90
  ```
91
91
 
92
92
  Upgrade later with `clavue update` or `clavue-v1 update` (startup check / `/update` also prefer the public v1 release, then fall back to npm).
@@ -97,7 +97,7 @@ Upgrade later with `clavue update` or `clavue-v1 update` (startup check / `/upda
97
97
  npm install -g clavue-v1
98
98
  # or one-shot:
99
99
  npx -y clavue-v1
100
- npx -y clavue-v1@1.63.2 --version
100
+ npx -y clavue-v1@1.63.4 --version
101
101
  ```
102
102
 
103
103
  One-line global install via the package (npm / unpkg):
@@ -109,7 +109,7 @@ curl -fsSL https://unpkg.com/clavue-v1/install.sh | bash
109
109
  Install a specific version globally:
110
110
 
111
111
  ```bash
112
- curl -fsSL https://unpkg.com/clavue-v1@1.63.2/install.sh | bash -s -- 1.63.2
112
+ curl -fsSL https://unpkg.com/clavue-v1@1.63.4/install.sh | bash -s -- 1.63.4
113
113
  ```
114
114
 
115
115
  ```bash
@@ -717,7 +717,7 @@ Version check:
717
717
 
718
718
  ```bash
719
719
  npx -y clavue-v1 --version
720
- npx -y clavue-v1@1.63.2 --version
720
+ npx -y clavue-v1@1.63.4 --version
721
721
  # available after a global install; both names are this package
722
722
  clavue --version
723
723
  clavue-v1 --version