clavue-v1 1.7.6 → 1.7.8

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,17 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## 1.7.8 - 2026-09-04
10
+
11
+ - 权限芯片始终可见:默认暗色「询问」(en: ask),非默认仍为彩色「已开启」;远程会话不显示
12
+ - npm 从 1.7.6 起跳含 1.7.7 开发态状态条(模型 / 组合槽 / 上下文占用 / spinner 时长与吞吐)
13
+
14
+ ## 1.7.7 - 2026-09-04
15
+
16
+ - 开发态默认状态条:输入框上方常驻当前模型、组合槽位(主/轻/划/审)、上下文占用/窗口、上次输出量;自定义 `/statusline` 仍优先;`CLAVUE_DEV_STATUS=0` 关闭
17
+ - 思考中 spinner 约 0.8s 起显示执行时长与 token,并在有输出后显示吞吐 `N/s`(原先要等 30s)
18
+ - 启动精简头在模型后显示上下文窗口大小
19
+
9
20
  ## 1.7.6 - 2026-09-04
10
21
 
11
22
  - 宿主 spawn 旗标:`--always-approve` / `--yolo` 等同跳过权限询问;`--effort` 接受 `xhigh`;`--reasoning-effort` 为别名
package/README.md CHANGED
@@ -49,6 +49,19 @@ For full user-facing usage and learning documentation, start in [study/README.md
49
49
 
50
50
  For provider and model routing setup, see [Clavue Provider And Model Best Practices](./docs/clavue-provider-model-best-practices.md).
51
51
 
52
+ ## Host integration (imux, tmux, IDE, Agent Chat)
53
+
54
+ Other software should **spawn** `clavue-v1`, not embed a second agent loop. Full contract: [Host integration](./docs/host-integration.md).
55
+
56
+ ```bash
57
+ clavue-v1 host
58
+ clavue-v1 host --json
59
+ clavue-v1 --model grok-4.6 --effort xhigh --always-approve
60
+ clavue-v1 agent stdio --always-approve
61
+ ```
62
+
63
+ `clavue-v1 host` prints copy-paste recipes for the current process (imux socket, tmux split, IDE PTY, ACP). `--always-approve` is the short flag hosts should send (same as `--dangerously-skip-permissions`). `--effort xhigh` is accepted. Do **not** register `agent stdio` as an MCP server — ACP is JSON-RPC on stdin/stdout, not MCP.
64
+
52
65
  ## Install
53
66
 
54
67
  Requirements:
@@ -65,8 +78,8 @@ npx -y clavue-v1
65
78
  Run a specific version with `npx`:
66
79
 
67
80
  ```bash
68
- npx -y clavue-v1@1.7.6 --version
69
- npx -y clavue-v1@1.7.6
81
+ npx -y clavue-v1@1.7.8 --version
82
+ npx -y clavue-v1@1.7.8
70
83
  ```
71
84
 
72
85
  Install globally from npm when you want the `clavue-v1` command to stay available:
@@ -88,7 +101,7 @@ curl -fsSL https://unpkg.com/clavue-v1/install.sh | bash
88
101
  Install a specific version globally:
89
102
 
90
103
  ```bash
91
- curl -fsSL https://unpkg.com/clavue-v1@1.7.6/install.sh | bash -s -- 1.7.6
104
+ curl -fsSL https://unpkg.com/clavue-v1@1.7.8/install.sh | bash -s -- 1.7.8
92
105
  ```
93
106
 
94
107
  ## Quick Start: Official Clavue Cloud
@@ -195,7 +208,7 @@ The startup box is a single-column dashboard rather than a marketing panel. Unde
195
208
  Interactive TUI sessions check npm for a newer `clavue-v1` after first paint (the check does not block the first frame). If an update is available, a Chinese dialog offers in-place install:
196
209
 
197
210
  ```text
198
- 发现新版本 1.7.6(当前 1.7.5)
211
+ 发现新版本 1.7.8(当前 1.7.7)
199
212
  Ctrl+U / Enter 立即升级 · Esc 本次跳过 · /update 随时再来
200
213
  ```
201
214
 
@@ -343,11 +356,21 @@ Version check:
343
356
 
344
357
  ```bash
345
358
  npx -y clavue-v1 --version
346
- npx -y clavue-v1@1.7.6 --version
359
+ npx -y clavue-v1@1.7.8 --version
347
360
  # available after a global install
348
361
  clavue-v1 --version
349
362
  ```
350
363
 
364
+ Host spawn and ACP (see [Host integration](./docs/host-integration.md)):
365
+
366
+ ```bash
367
+ clavue-v1 host
368
+ clavue-v1 host --json
369
+ clavue-v1 --effort xhigh --always-approve
370
+ clavue-v1 agent stdio --always-approve
371
+ clavue-v1 acp --always-approve
372
+ ```
373
+
351
374
  Provider/config entry point:
352
375
 
353
376
  ```bash