iclavue 13.4.0 → 13.5.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 +8 -8
- package/dist/clavue.js +1 -1
- package/dist/cli.js +783 -765
- package/dist/mao-command.js +1 -1
- package/dist/native/clavue-pager +0 -0
- package/dist/native/clavue-pager-darwin-arm64 +0 -0
- package/dist/native/clavue-pager-darwin-x64 +0 -0
- package/dist/native/clavue-pager-linux-x64 +0 -0
- package/dist/native/manifest.json +17 -17
- package/dist/openai-responses-adapter.js +10 -10
- package/dist/provider-command.js +14 -21
- package/dist/provider-setup.js +1 -1
- package/package.json +1 -1
package/dist/provider-command.js
CHANGED
|
@@ -336,35 +336,28 @@ function cloneProviderProfileLocal(sourceProfile, options = {}) {
|
|
|
336
336
|
|
|
337
337
|
function buildHelpText(commandPrefix = '/provider') {
|
|
338
338
|
return [
|
|
339
|
-
`Usage: ${commandPrefix}
|
|
339
|
+
`Usage: ${commandPrefix} <list|use|new|edit|current|test|remove|advanced>`,
|
|
340
340
|
'',
|
|
341
341
|
'Manage saved provider profiles and model slots for Clavue.',
|
|
342
|
-
'
|
|
343
|
-
'
|
|
342
|
+
'Manage one saved provider profile. The live route is that profile; an env pin shows up in current as override: env CLAVUE_MODEL.',
|
|
343
|
+
'New setup is 3 steps and 3 required fields: gateway or URL, key, routing preset.',
|
|
344
|
+
'make that saved line the global default. copy grok as grok-think. probe [profile]. doctor',
|
|
345
|
+
'`use <profile>` makes that saved line the global default (provider open).',
|
|
344
346
|
'Config root is only ~/.clavue (or CLAVUE_CONFIG_DIR) — not ~/.ccjk or ~/.claude.',
|
|
345
347
|
getDefaultSetupHintLine(commandPrefix),
|
|
346
348
|
'',
|
|
347
349
|
'Examples:',
|
|
348
350
|
` ${commandPrefix} list`,
|
|
351
|
+
` ${commandPrefix} use <profile>`,
|
|
352
|
+
` ${commandPrefix} new`,
|
|
353
|
+
` ${commandPrefix} edit`,
|
|
349
354
|
` ${commandPrefix} current`,
|
|
350
|
-
` ${commandPrefix}
|
|
351
|
-
` ${commandPrefix}
|
|
352
|
-
` ${commandPrefix}
|
|
353
|
-
` ${commandPrefix}
|
|
354
|
-
` ${commandPrefix} open
|
|
355
|
-
` ${commandPrefix}
|
|
356
|
-
` ${commandPrefix} validate`,
|
|
357
|
-
` ${commandPrefix} probe`,
|
|
358
|
-
` ${commandPrefix} matrix`,
|
|
359
|
-
` ${commandPrefix} repair`,
|
|
360
|
-
` ${commandPrefix} copy grok as grok-think`,
|
|
361
|
-
` ${commandPrefix} save-current kimi-main`,
|
|
362
|
-
` ${commandPrefix} activate kimi`,
|
|
363
|
-
` ${commandPrefix} use current`,
|
|
364
|
-
'',
|
|
365
|
-
'Families: Claude · GPT · Grok · DeepSeek · GLM · Kimi · Qwen · MiniMax · Gemini · local',
|
|
366
|
-
'Env (opt-in):',
|
|
367
|
-
' CLAVUE_FILE_PREFETCH=0 disable PRE-phase file context prefetch',
|
|
355
|
+
` ${commandPrefix} test`,
|
|
356
|
+
` ${commandPrefix} remove <profile>`,
|
|
357
|
+
` ${commandPrefix} advanced`,
|
|
358
|
+
` ${commandPrefix} import-env [name]`,
|
|
359
|
+
` ${commandPrefix} advanced router <status|sync|open|push|pull|load|apply|skip|pending|snapshot|locals>`,
|
|
360
|
+
` ${commandPrefix} advanced fusion`,
|
|
368
361
|
].join('\n')
|
|
369
362
|
}
|
|
370
363
|
|
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.
|
|
10
|
+
const APP_VERSION = '13.5.0'
|
|
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/package.json
CHANGED