clavue-v1 1.63.1 → 1.63.2
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 +21 -0
- package/README.md +4 -4
- package/dist/cli-main.js +584 -571
- package/dist/cli.js +2 -2
- package/dist/mao-command.js +1 -1
- package/dist/openai-responses-adapter.js +11 -9
- package/dist/provider-router.js +14 -9
- package/dist/provider-setup.js +1 -1
- package/docs/grok-orchestrate-clavue.md +60 -0
- package/docs/release-notes-v1.63.2.md +14 -0
- package/docs/tui-feed/feed.json +13 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,27 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
|
|
|
6
6
|
|
|
7
7
|
## Unreleased
|
|
8
8
|
|
|
9
|
+
## 1.63.2 - 2026-10-29
|
|
10
|
+
|
|
11
|
+
1.63.2 把未指定模型的 Agent 留在主模型上,并修切窗、首包、网关文案、多开工人和会话分桶。无可用渠道不再假装已经换模。笔记不合格的硬切会落到软摘要。归档水位跟着工作窗走。会话列表分成进行中和待审阅。
|
|
12
|
+
- **Agent 未指定模型:** 解析顺序是显式 agent/tool 模型 → 用户明确的子代理覆盖(`CLAVUE_SUBAGENT_MODEL`,且该模型仍 live、不是脱节的 Anthropic 遗留)→ 父线程 / 主模型。空的隐藏钉等于主模型。不默认走轻量槽,也不再让隐藏钉短路 inherit。
|
|
13
|
+
- **槽名:** `light` / `main` / `plan` / `review` 不是网关 model id。主线程在 profile 应用到进程之后才解析槽;用户 `--model` 优先。未配置、解析回槽名或死钉时不写 override,主循环留在 primary。切 profile 清 combo 影子钉和进程内死钉。与 small / general / explore 相同的 subagent 钉不写成 `CLAVUE_SUBAGENT_MODEL`。
|
|
14
|
+
- **永久渠道:** 任意请求(含没有 comboSlot 的 Agent)遇到 `No available channel` 会 `markDeadPin`,并立刻切到 live main。没有可切的主模型就停,不再同模型空转。永久无渠道不再钉死 24 小时。成功和 reset 清短钉。死会话钉与健康重排后的对话框链前进到下一个活模型。
|
|
15
|
+
- **文案:** 真的切了才说「已切到 X」。没切则是「渠道不可用 / 无可用回退」,并提示改主模型。不再假称 Retrying or falling back。
|
|
16
|
+
- **改槽清遗留:** activate profile 或 `/combo set` 主/轻时,若 explore / general / team / subagent 仍钉着与当前主模型脱节的 `claude-*`,清掉这些隐藏钉。等于 primary 的钉仍不写出 `CLAVUE_SUBAGENT_MODEL`。
|
|
17
|
+
- **硬切让路:** 笔记不合格、QC hold,以及磁盘 defer(冷却、活任务、非回合边界、jev hold)只推迟这一刀。成功的硬切仍立刻返回。token 软切仍可走。占位帧不再拼成「继续 修登录」这种假目标。「继续修好登录页的 401」仍然算具体文字。子代理压缩不改主会话任务帧。
|
|
18
|
+
- **归档水位:** 水位取上次硬切时的文件尺寸和最新 `compact_boundary` 行尾里更靠后的那个。同尺寸不再因为整文件超限再切。窗口号接磁盘上最大的 `wN`。`preservedSegment` 尾巴留在工作窗里。resume 不把孤儿 `tool_result` 拉回边界前的整段。
|
|
19
|
+
- **首包:** 当前窗口装得下、候选装不下,才留下小窗备份。主模型装不下不烧掉唯一的回切机会。同一 key 的 compact 旗标在梯子记过之后清掉。首包超时句保留 `No response headers from` 并带上 `timed out`,side/hop 可以重试。软截止的硬帽杀死进程时报 model timeout,不写 `Command timed out after` 软截止。改槽且六个槽 pin 都空时丢掉粘性备份。粘性备份上 HTTP 400 且正文是模型不存在时换下一个备份,不推进槽链。
|
|
20
|
+
- **网关:** 未计费官方 402/429(`limit: 0` 或 `(0/day)`)是认证失效,不是充值。额度 429 停止重试。纯 `rate limit exceeded` 仍是暂时故障。500–599 即使正文有 quota 也不改成额度。第三方额度前缀是 `Third-party gateway quota exhausted`。403 `not in group` 指向 `/model`,不走 `/login`。403「令牌额度已用完」是额度,不是密钥错误。
|
|
21
|
+
- **多开工人:** 会话槽只算活着的非僵尸进程。死 pid 和 `ps` 状态以 Z 开头的僵尸会被清掉,不再占名额。活进程即使心跳旧了也保留。交互会话达到 3 个时警告并继续;新的 `-p` 在同时达到 4 个时排队最多 120 秒,仍满就退出,不注册、不写 run id、不写 DONE.md。
|
|
22
|
+
- **同一路径:** `--worktree=<名字>` 若已有别的活会话把 cwd 放在那个目录上,自动改成 `<名字>-2`。写文件还有跨进程锁,第二个活进程写同一路径会失败,死 pid 可以接管。
|
|
23
|
+
- **`-p` 进度:** 结束时 stderr 带 run id 和真实状态。只有 success 写「完成」和 `DONE.md`。其余写 `FAIL.md`。同一目录里 `DONE.md` 和 `FAIL.md` 互斥,后一次结果会删掉上一次的另一种标记。旁边总有 `REPORT.md`(run id、status、events、exit)。`--result-json /tmp/<job>/<lane>/result.json` 时,标记写在同一目录,也可看 `.clavue/runs/<run_id>/`。`CLAVUE_RESULT_JSON=0` 仍是关掉 result 文件。
|
|
24
|
+
- **外部编排:** `.clavue/STEER` 非空会被改名为 `STEER.applied.<时间>` 后送进当前回合,只消费一次。非 Windows 也可以发 SIGUSR2。`--always-approve` 仍等于跳过权限询问。Recipe:`docs/grok-orchestrate-clavue.md`。
|
|
25
|
+
- **阶段表面:** 会话阶段持续显示为 `running`(进行中)、`waiting_user`(等待你的指令)、`blocked`(受阻)、`done`(已完成)。询问、非完全访问的硬确认、登录、计划审批,以及助手回合结束且没有待执行工具,都是等待你的指令。工具调用、模型流式和 `-p` worker 是进行中。日记行和底部信息栏都带这个阶段。无 TTY 的 `-p` 把同一阶段写到 `.clavue/session-phase.json`(有 run id 时也写 `.clavue/runs/<id>/phase.json`)。
|
|
26
|
+
- **分桶:** `running` 留在进行中。`waiting_user`、`blocked`、`done` 进待审阅。没有 `phase.json` 的行仍留在进行中。需要你看的行排在条数上限之前,不会被进行中挤掉。日记在非 `running` 的行尾带桶名。
|
|
27
|
+
- 回归:`tests/1632-agent-fallback.test.mjs`,`tests/1632-u1-deadpin.test.mjs`,`tests/1632-u2-combo-agent.test.mjs`,`tests/provider-subagent-pin.test.mjs`,`tests/v1-agent-model.test.mjs`,`tests/model-fallback-chain.test.mjs`,`tests/1632-u3-cut-notes.test.mjs`,`tests/1632-u4-archive-window.test.mjs`,`tests/1632-u5-first-packet.test.mjs`,`tests/1632-u5-soft-cap.test.mjs`,`tests/1632-u6-gateway-errors.test.mjs`,`tests/gateway-failure-message.test.mjs`,`tests/1632-u7-orchestrate.test.mjs`,`tests/file-operation-lock.test.mjs`,`tests/1601-a-run-events.test.mjs`,`tests/1632-u8-session-phase.test.mjs`,`tests/1632-u8b-buckets.test.mjs`
|
|
28
|
+
- English: an Agent that does not name a model inherits main. Slot names are not gateway model ids. `No available channel` marks the pin dead and switches to a live model instead of pretending a fallback already happened. A refused or deferred hard cut falls through to soft compact. The archive byte gate follows the working window, and a preserved tail stays in that window. First-byte fallback compacts before a smaller window, and a hard cap reports a model timeout. Unmetered official 402/429 is an auth failure; quota 429 stops retrying; a 403 model-group error points at `/model`. Live workers count toward the cap, a busy worktree slug gets a `-2` suffix, and only success writes DONE.md. The diary and info bar show running, waiting_user, blocked, or done. Waiting, blocked, and done rows move to 待审阅; running stays under 进行中.
|
|
29
|
+
|
|
9
30
|
## 1.63.1 - 2026-10-29
|
|
10
31
|
|
|
11
32
|
1.63.1 堵住 1.63.0 切窗后仍漏进下一窗的两类脏状态:占位目标被写成 Context notes,以及软截止后的后台 Bash 一直显示进行中。
|
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.
|
|
89
|
+
curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.63.2/install.sh | bash -s -- 1.63.2
|
|
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.
|
|
100
|
+
npx -y clavue-v1@1.63.2 --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.
|
|
112
|
+
curl -fsSL https://unpkg.com/clavue-v1@1.63.2/install.sh | bash -s -- 1.63.2
|
|
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.
|
|
720
|
+
npx -y clavue-v1@1.63.2 --version
|
|
721
721
|
# available after a global install; both names are this package
|
|
722
722
|
clavue --version
|
|
723
723
|
clavue-v1 --version
|