clavue-v1 1.1.0 → 1.2.0
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/README.md +57 -4
- package/dist/cli.js +63 -59
- package/dist/mao-command.js +1 -1
- package/dist/openai-responses-adapter.js +3 -3
- package/dist/provider-setup.js +1 -1
- package/docs/combo-review-and-official-mode-plan-2026-09-01.md +192 -0
- package/docs/evals/combo-review/readout-2026-09-01.md +54 -0
- package/docs/evals/combo-review/readout-holdout-2026-09-01.md +72 -0
- package/docs/evals/combo-review/results.tsv +67 -0
- package/docs/release-notes-v1.2.0.md +65 -0
- package/package.json +6 -4
package/README.md
CHANGED
|
@@ -64,8 +64,8 @@ npx -y clavue-v1
|
|
|
64
64
|
Run a specific version with `npx`:
|
|
65
65
|
|
|
66
66
|
```bash
|
|
67
|
-
npx -y clavue-v1@1.
|
|
68
|
-
npx -y clavue-v1@1.
|
|
67
|
+
npx -y clavue-v1@1.2.0 --version
|
|
68
|
+
npx -y clavue-v1@1.2.0
|
|
69
69
|
```
|
|
70
70
|
|
|
71
71
|
Install globally from npm when you want the `clavue-v1` command to stay available:
|
|
@@ -87,9 +87,34 @@ curl -fsSL https://unpkg.com/clavue-v1/install.sh | bash
|
|
|
87
87
|
Install a specific version globally:
|
|
88
88
|
|
|
89
89
|
```bash
|
|
90
|
-
curl -fsSL https://unpkg.com/clavue-v1@1.
|
|
90
|
+
curl -fsSL https://unpkg.com/clavue-v1@1.2.0/install.sh | bash -s -- 1.2.0
|
|
91
91
|
```
|
|
92
92
|
|
|
93
|
+
## Quick Start: Official Clavue Cloud
|
|
94
|
+
|
|
95
|
+
Official mode is a provider profile, not a second runtime: the same tools,
|
|
96
|
+
compaction, permissions, and route inspection as every custom-API profile —
|
|
97
|
+
only the credential source and the model catalog differ.
|
|
98
|
+
|
|
99
|
+
1. Create a member API key at `https://www.clavue.com/account` (`cv_live_…`).
|
|
100
|
+
2. Start `clavue-v1`, choose `自定义 API 配置` → `1. 添加配置`, pick the
|
|
101
|
+
`Clavue 官方` preset (API URL `https://api.clavue.com`), paste the key as
|
|
102
|
+
the auth token, and set model slots from the official family:
|
|
103
|
+
|
|
104
|
+
```text
|
|
105
|
+
主模型: clavue-2.1 (official 27B coding model, 128K, premium pool)
|
|
106
|
+
Haiku: clavue-2.1-fast (same model, fast pool — higher daily quota)
|
|
107
|
+
Sonnet: clavue-2.1-pro (premium ceiling for planning and long-horizon work)
|
|
108
|
+
Opus: clavue-2.1-rev (review-oriented; a different family from clavue-2.1, so it
|
|
109
|
+
also works as CLAVUE_COMBO_REVIEW for cross-family review)
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
`auto` is also accepted. The CLI talks to `api.clavue.com/v1/messages`
|
|
113
|
+
(Anthropic Messages API) and `/provider current` shows your plan and remaining
|
|
114
|
+
points from the `x-clavue-points-*` response headers. Official identity is
|
|
115
|
+
decided by exact host match only — a third-party gateway can never be
|
|
116
|
+
mistaken for the official cloud.
|
|
117
|
+
|
|
93
118
|
## Quick Start: Custom API
|
|
94
119
|
|
|
95
120
|
Fastest path for custom API users:
|
|
@@ -171,6 +196,34 @@ This package is intended for users who want an execution-first coding CLI with d
|
|
|
171
196
|
|
|
172
197
|
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`.
|
|
173
198
|
|
|
199
|
+
## Cross-Family Combo Review
|
|
200
|
+
|
|
201
|
+
The review slot puts an independent model family between "the code changed"
|
|
202
|
+
and "the work is done". Since 1.2.0 review is scheduled so it does not tax
|
|
203
|
+
every edit:
|
|
204
|
+
|
|
205
|
+
```bash
|
|
206
|
+
CLAVUE_COMBO_MAIN=glm-5.3-flash # developer model (any slot model is passed through verbatim)
|
|
207
|
+
CLAVUE_COMBO_REVIEW=deepseek-v4-flash # reviewer — pick a different family than main
|
|
208
|
+
CLAVUE_COMBO_REVIEW_MODE=overlap # overlap (default) | serial
|
|
209
|
+
CLAVUE_COMBO_REVIEW_MIN_CHANGED_CHARS=80 # small edits accumulate; one review covers them
|
|
210
|
+
CLAVUE_COMBO_REVIEW_MAX_PER_CHAIN=3 # review budget per query chain
|
|
211
|
+
CLAVUE_COMBO_REVIEW_GRACE_MS=5000 # bounded wait for the final verdict at chain end
|
|
212
|
+
CLAVUE_COMBO_REVIEW_FIX_LOOP=1 # opt-in: a chain-end "P0:" verdict grants one bounded fix turn
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
- `overlap` fires the review hop without blocking; the verdict is injected
|
|
216
|
+
at the next loop boundary so the developer model actually acts on it.
|
|
217
|
+
In the shipped A/B it roughly halves the review tax versus `serial`
|
|
218
|
+
(+38% vs +94% wall-clock on the hard task).
|
|
219
|
+
- The reviewer is told which family wrote the code and which failure modes
|
|
220
|
+
that family is prone to. Same-family pairs still work; `/provider current`
|
|
221
|
+
flags them so you can choose an independent second opinion.
|
|
222
|
+
- Review-on and the fix loop stay opt-in: on oracle-complete tasks a
|
|
223
|
+
competent developer model saturates on its own (see
|
|
224
|
+
`docs/evals/combo-review/`), so the defaults do not spend your time until
|
|
225
|
+
the discriminating experiment justifies it.
|
|
226
|
+
|
|
174
227
|
## Long-Running Session Memory
|
|
175
228
|
|
|
176
229
|
Clavue automatically restarts normal long-running sessions with `--max-old-space-size=8192` before loading the full CLI. This prevents the common Node default ~4GB heap limit from killing large coding sessions with `Reached heap limit Allocation failed - JavaScript heap out of memory`.
|
|
@@ -191,7 +244,7 @@ Version check:
|
|
|
191
244
|
|
|
192
245
|
```bash
|
|
193
246
|
npx -y clavue-v1 --version
|
|
194
|
-
npx -y clavue-v1@1.
|
|
247
|
+
npx -y clavue-v1@1.2.0 --version
|
|
195
248
|
# available after a global install
|
|
196
249
|
clavue-v1 --version
|
|
197
250
|
```
|