clavue 8.32.0 → 9.0.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 +16 -13
- package/dist/cli.js +32 -32
- package/dist/mao-command.js +1 -1
- package/dist/openai-responses-adapter.js +6 -6
- package/dist/provider-setup.js +1 -1
- package/docs/clavue-provider-model-best-practices.md +24 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Clavue
|
|
1
|
+
# Clavue v9.0.0
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
|
|
@@ -65,8 +65,8 @@ npx -y clavue
|
|
|
65
65
|
Run a specific version with `npx`:
|
|
66
66
|
|
|
67
67
|
```bash
|
|
68
|
-
npx -y clavue@
|
|
69
|
-
npx -y clavue@
|
|
68
|
+
npx -y clavue@9.0.0 --version
|
|
69
|
+
npx -y clavue@9.0.0
|
|
70
70
|
```
|
|
71
71
|
|
|
72
72
|
Install globally from npm when you want the `clavue` command to stay available:
|
|
@@ -86,7 +86,7 @@ curl -fsSL https://unpkg.com/clavue/install.sh | bash
|
|
|
86
86
|
Install a specific version globally:
|
|
87
87
|
|
|
88
88
|
```bash
|
|
89
|
-
curl -fsSL https://unpkg.com/clavue@
|
|
89
|
+
curl -fsSL https://unpkg.com/clavue@9.0.0/install.sh | bash -s -- 9.0.0
|
|
90
90
|
```
|
|
91
91
|
|
|
92
92
|
### Troubleshooting: `ENOTEMPTY` / `bash: clavue: No such file or directory`
|
|
@@ -125,17 +125,18 @@ sudo rm -rf "$PREFIX/lib/node_modules/clavue" \
|
|
|
125
125
|
npm install -g clavue@latest
|
|
126
126
|
```
|
|
127
127
|
|
|
128
|
-
## Quick Start:
|
|
128
|
+
## Quick Start: Provider And Model Setup
|
|
129
129
|
|
|
130
|
-
Fastest path for custom API users:
|
|
130
|
+
Fastest path for custom API and mixed-model users:
|
|
131
131
|
|
|
132
132
|
1. Install with `curl -fsSL https://unpkg.com/clavue/install.sh | bash`
|
|
133
133
|
2. Start with `clavue`
|
|
134
|
-
3.
|
|
135
|
-
4.
|
|
136
|
-
5.
|
|
137
|
-
6.
|
|
138
|
-
7.
|
|
134
|
+
3. If first-run setup asks for API mode, choose the route you actually use: official login, custom API, CCR proxy, or manual setup later.
|
|
135
|
+
4. Run `/provider` inside Clavue, or `clavue provider` from the shell, to open the provider mode picker.
|
|
136
|
+
5. Choose `组合模式` when different model slots should use different model families or provider routes. Configure every slot explicitly: Primary, Haiku, Sonnet, and Opus.
|
|
137
|
+
6. Choose `单独模式` when one model family and one provider profile should own the whole route.
|
|
138
|
+
7. Choose `完整 API 入口` when you need the full official login / custom API / CCR setup surface.
|
|
139
|
+
8. Run `/model` only for main-session model selection. In combination mode it follows the current `/provider` Primary slot; helper and planning slots remain owned by `/provider`.
|
|
139
140
|
|
|
140
141
|
Recommended model-slot setup:
|
|
141
142
|
|
|
@@ -230,7 +231,7 @@ Version check:
|
|
|
230
231
|
```bash
|
|
231
232
|
clavue --version
|
|
232
233
|
npx -y clavue --version
|
|
233
|
-
npx -y clavue@
|
|
234
|
+
npx -y clavue@9.0.0 --version
|
|
234
235
|
# available after a global install and launcher setup
|
|
235
236
|
clavue --version
|
|
236
237
|
```
|
|
@@ -252,7 +253,7 @@ clavue setup-token
|
|
|
252
253
|
|
|
253
254
|
## In-Session Workflows
|
|
254
255
|
|
|
255
|
-
`/provider` manages saved profiles, current environment state, API URL, credential type, and model-slot routing from one place. Use it when you want to switch, validate, repair, or save the active route.
|
|
256
|
+
`/provider` manages saved profiles, current environment state, API URL, credential type, provider mode, and model-slot routing from one place. With no arguments it starts at the provider mode picker: combination mode for explicit multi-slot routing, single mode for one family/profile, and full API entry for official login, custom API, CCR, or manual setup. Use it when you want to switch, validate, repair, or save the active route.
|
|
256
257
|
|
|
257
258
|
```text
|
|
258
259
|
/provider
|
|
@@ -268,6 +269,8 @@ clavue setup-token
|
|
|
268
269
|
/provider clear
|
|
269
270
|
```
|
|
270
271
|
|
|
272
|
+
`/model` is the main-session model control. With no arguments it asks whether you want combination mode or single mode. Combination mode keeps the active `/provider` Primary model as the main session model and leaves the other slots under provider control; single mode opens the direct model picker. `/model <model-name>` remains the fast one-command override.
|
|
273
|
+
|
|
271
274
|
The Mao supervisor ledger is still used internally by delivery gates; user-facing `/mao` and `/codex` command surfaces are hidden while native Team/Agent workflows remain the public agent system.
|
|
272
275
|
|
|
273
276
|
`/team` inspects real local team state from the active config root instead of giving a generic explanation. By default that is `~/.clavue/teams`, but it follows `CLAVUE_CONFIG_DIR` if you launch clavue against a different config root.
|