iclavue 13.0.0 → 13.0.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/README.md +7 -7
- package/dist/clavue.js +1 -1
- package/dist/cli.js +29 -29
- package/dist/mao-command.js +1 -1
- package/dist/native/clavue-pager-darwin-arm64 +0 -0
- package/dist/native/manifest.json +7 -7
- package/dist/openai-responses-adapter.js +3 -3
- package/dist/provider-command.js +16 -1
- package/dist/provider-setup.js +1 -1
- package/install.sh +1 -1
- package/package.json +1 -1
package/dist/provider-command.js
CHANGED
|
@@ -336,17 +336,32 @@ function cloneProviderProfileLocal(sourceProfile, options = {}) {
|
|
|
336
336
|
|
|
337
337
|
function buildHelpText(commandPrefix = '/provider') {
|
|
338
338
|
return [
|
|
339
|
-
`Usage: ${commandPrefix} [
|
|
339
|
+
`Usage: ${commandPrefix} [official|byok|toggle|<name>|probe [profile]]`,
|
|
340
|
+
'',
|
|
341
|
+
'Pick a line (Grok /model-style — one tap, Esc back to code):',
|
|
342
|
+
` ${commandPrefix} open the picker`,
|
|
343
|
+
` ${commandPrefix} official Official Clavue Cloud`,
|
|
344
|
+
` ${commandPrefix} byok third-party (last used)`,
|
|
345
|
+
` ${commandPrefix} <name> this chat → that profile`,
|
|
346
|
+
` ${commandPrefix} toggle Official ⇄ third-party`,
|
|
340
347
|
'',
|
|
341
348
|
'Manage saved provider profiles and combo model slots for Clavue.',
|
|
342
349
|
'Config root is only ~/.clavue (or CLAVUE_CONFIG_DIR) — not ~/.ccjk or ~/.claude.',
|
|
343
350
|
'Combo slots: 主(main) · 轻量(light) · Agent · 规划/思考(plan+guide) · 审查(review).',
|
|
351
|
+
'Session slots: /model · durable 4-slot: Advanced on the picker.',
|
|
352
|
+
' /provider use <name> same as /provider <name> (this chat only)',
|
|
353
|
+
' /provider use clear this chat follows global default again',
|
|
354
|
+
' activate / save-current GLOBAL default for new chats',
|
|
344
355
|
getDefaultSetupHintLine(commandPrefix),
|
|
345
356
|
'',
|
|
346
357
|
'Examples:',
|
|
358
|
+
` ${commandPrefix} official`,
|
|
359
|
+
` ${commandPrefix} byok`,
|
|
360
|
+
` ${commandPrefix} toggle`,
|
|
347
361
|
` ${commandPrefix} list`,
|
|
348
362
|
` ${commandPrefix} current`,
|
|
349
363
|
` ${commandPrefix} doctor`,
|
|
364
|
+
` ${commandPrefix} doctor --json`,
|
|
350
365
|
` ${commandPrefix} copy`,
|
|
351
366
|
` ${commandPrefix} copy grok as grok-think`,
|
|
352
367
|
` ${commandPrefix} studio`,
|
package/dist/provider-setup.js
CHANGED
|
@@ -7,7 +7,7 @@ import { createInterface } from 'node:readline/promises'
|
|
|
7
7
|
import { stdin, stdout } from 'node:process'
|
|
8
8
|
import { fileURLToPath } from 'node:url'
|
|
9
9
|
|
|
10
|
-
const APP_VERSION = '13.0.
|
|
10
|
+
const APP_VERSION = '13.0.2'
|
|
11
11
|
const APP_NPM_PACKAGE_NAME = 'clavue'
|
|
12
12
|
export const CURRENT_PROVIDER_PROFILE_ID = '__current_provider__'
|
|
13
13
|
const SUPPORTED_LANGUAGES = new Set(['en', 'zh'])
|
package/install.sh
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
#
|
|
4
4
|
# curl -fsSL https://www.clavue.com/cli/install.sh | bash
|
|
5
5
|
# curl -fsSL https://www.clavue.com/install.sh | bash
|
|
6
|
-
# curl -fsSL https://www.clavue.com/cli/install.sh | bash -s -- 13.0.
|
|
6
|
+
# curl -fsSL https://www.clavue.com/cli/install.sh | bash -s -- 13.0.2
|
|
7
7
|
#
|
|
8
8
|
# Env:
|
|
9
9
|
# CLAVUE_PACKAGE npm package (default: iclavue)
|
package/package.json
CHANGED