clavue-v1 1.49.0 → 1.49.1
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 +8 -0
- package/README.md +12 -4
- package/dist/cli.js +37 -37
- 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/release-notes-v1.49.1.md +34 -0
- package/docs/tui-feed/feed.json +12 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,14 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
|
|
|
6
6
|
|
|
7
7
|
## Unreleased
|
|
8
8
|
|
|
9
|
+
## 1.49.1 - 2026-10-16
|
|
10
|
+
|
|
11
|
+
- 长会话越跑越慢:每轮工具调用后的持久化闸门会把全部存活消息(含 REPL 副本)完整重扫两遍来测量和释放工具负载,成本随历史线性增长、整场会话呈平方级。改为窗口外已释放的消息记为「已结清」,并记住每个数组前缀的结清位置,每轮只看窗口和新消息(O(窗口));释放效果不变,插入或删除旧消息会自动退回全量扫描
|
|
12
|
+
- 未落盘行检查同样只从上轮已确认的前缀之后开始扫
|
|
13
|
+
- combo 槽位设置:同一请求内多次解析槽位不再反复读、解析 4 个 settings 文件(按 mtime+大小缓存,同一同步调用段内复用)
|
|
14
|
+
- 模型能力快照:每次请求都重写并 fsync 全局配置只为刷新 checkedAt,现在内容未变且 10 分钟内不再写盘
|
|
15
|
+
- 合成长会话基准(桩网关,每轮一次 Bash):600 轮总耗时 88.7s → 32.7s,第 600 轮本地开销 360ms → 88ms;新增 `tests/long-session-round-cost.test.mjs` 断言后期轮次开销不超过早期 2 倍
|
|
16
|
+
|
|
9
17
|
## 1.49.0 - 2026-10-16
|
|
10
18
|
|
|
11
19
|
- Ctrl+C 卡死兜底(含 1.48.9 全部提速改动,1.48.9 不单独发布):主线程卡死(实测进程 7.4GB、CPU 140%、持续 GC)时按键无人读取,Ctrl+C 无效。新增后台守护线程,主线程心跳超过 4 秒(`CLAVUE_STALL_ESCAPE_MS`)未更新时由它直接读终端,收到 Ctrl+C 即结束所有 Bash 子进程组、恢复终端并退出;主线程正常时不碰终端,原有 Ctrl+C 行为不变。`CLAVUE_STALL_ESCAPE=0` 关闭
|
package/README.md
CHANGED
|
@@ -85,7 +85,7 @@ clavue-v1 --version
|
|
|
85
85
|
Pin a version:
|
|
86
86
|
|
|
87
87
|
```bash
|
|
88
|
-
curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.49.
|
|
88
|
+
curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.49.1/install.sh | bash -s -- 1.49.1
|
|
89
89
|
```
|
|
90
90
|
|
|
91
91
|
Upgrade later with `clavue-v1 update` (startup check / `/update` also prefer the public v1 release, then fall back to npm).
|
|
@@ -96,7 +96,7 @@ Upgrade later with `clavue-v1 update` (startup check / `/update` also prefer the
|
|
|
96
96
|
npm install -g clavue-v1
|
|
97
97
|
# or one-shot:
|
|
98
98
|
npx -y clavue-v1
|
|
99
|
-
npx -y clavue-v1@1.49.
|
|
99
|
+
npx -y clavue-v1@1.49.1 --version
|
|
100
100
|
```
|
|
101
101
|
|
|
102
102
|
One-line global install via the package (npm / unpkg):
|
|
@@ -108,7 +108,7 @@ curl -fsSL https://unpkg.com/clavue-v1/install.sh | bash
|
|
|
108
108
|
Install a specific version globally:
|
|
109
109
|
|
|
110
110
|
```bash
|
|
111
|
-
curl -fsSL https://unpkg.com/clavue-v1@1.49.
|
|
111
|
+
curl -fsSL https://unpkg.com/clavue-v1@1.49.1/install.sh | bash -s -- 1.49.1
|
|
112
112
|
```
|
|
113
113
|
|
|
114
114
|
```bash
|
|
@@ -283,6 +283,14 @@ This package is intended for users who want an execution-first coding CLI with d
|
|
|
283
283
|
|
|
284
284
|
On macOS, Clavue avoids Keychain by default and stores local credentials in `~/.clavue/.credentials.json` so startup does not trigger system Keychain prompts. If you explicitly want the old Keychain behavior back, launch with `CLAVUE_USE_KEYCHAIN=1 clavue-v1`.
|
|
285
285
|
|
|
286
|
+
## Long Sessions (1.49.1)
|
|
287
|
+
|
|
288
|
+
Per-round local work no longer scans the whole session history. Tool payloads
|
|
289
|
+
that fell out of the live window are released once and then skipped, so a
|
|
290
|
+
round costs O(window) instead of O(history). On a 600-round synthetic run the
|
|
291
|
+
late-round local overhead dropped from 360ms to 88ms (total 88.7s → 32.7s).
|
|
292
|
+
See [`docs/release-notes-v1.49.1.md`](docs/release-notes-v1.49.1.md).
|
|
293
|
+
|
|
286
294
|
## Fast-Apply Slot (快改, 1.49.0)
|
|
287
295
|
|
|
288
296
|
An optional slot next to Jev. When set, the main model gets a `FastApply`
|
|
@@ -439,7 +447,7 @@ Version check:
|
|
|
439
447
|
|
|
440
448
|
```bash
|
|
441
449
|
npx -y clavue-v1 --version
|
|
442
|
-
npx -y clavue-v1@1.49.
|
|
450
|
+
npx -y clavue-v1@1.49.1 --version
|
|
443
451
|
# available after a global install
|
|
444
452
|
clavue-v1 --version
|
|
445
453
|
```
|