iclavue 13.0.2 → 13.0.3
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 +1018 -1292
- package/dist/mao-command.js +1 -1
- package/dist/native/clavue-pager-darwin-arm64 +0 -0
- package/dist/native/manifest.json +6 -9
- package/dist/openai-responses-adapter.js +43 -45
- package/dist/provider-command.js +9 -44
- package/dist/provider-setup.js +1 -1
- package/install.sh +1 -1
- package/package.json +5 -6
package/dist/provider-command.js
CHANGED
|
@@ -336,55 +336,34 @@ function cloneProviderProfileLocal(sourceProfile, options = {}) {
|
|
|
336
336
|
|
|
337
337
|
function buildHelpText(commandPrefix = '/provider') {
|
|
338
338
|
return [
|
|
339
|
-
`Usage: ${commandPrefix} [official|byok|toggle
|
|
339
|
+
`Usage: ${commandPrefix} [list|current|doctor|open|router …|clear|save-current [name]|adopt-current [name]|validate [profile]|probe [profile]|matrix [profile]|repair [profile]|copy [profile] [as name]|official|byok|toggle|use <profile>|activate <profile>|<profile>]`,
|
|
340
340
|
'',
|
|
341
|
-
'
|
|
342
|
-
|
|
343
|
-
`
|
|
344
|
-
` ${commandPrefix} byok third-party (last used)`,
|
|
345
|
-
` ${commandPrefix} <name> this chat → that profile`,
|
|
346
|
-
` ${commandPrefix} toggle Official ⇄ third-party`,
|
|
347
|
-
'',
|
|
348
|
-
'Manage saved provider profiles and combo model slots for Clavue.',
|
|
341
|
+
'Manage saved provider profiles and model slots for Clavue.',
|
|
342
|
+
'Switching a profile applies URL, key, and the four combo slots (main · light · plan · review) immediately; the pager restarts its agent so the child inherits them.',
|
|
343
|
+
'`use <profile>` / `<profile>` / `activate <profile>` all mean the same thing: make that saved line the global default.',
|
|
349
344
|
'Config root is only ~/.clavue (or CLAVUE_CONFIG_DIR) — not ~/.ccjk or ~/.claude.',
|
|
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',
|
|
355
345
|
getDefaultSetupHintLine(commandPrefix),
|
|
356
346
|
'',
|
|
357
347
|
'Examples:',
|
|
358
|
-
` ${commandPrefix} official`,
|
|
359
|
-
` ${commandPrefix} byok`,
|
|
360
|
-
` ${commandPrefix} toggle`,
|
|
361
348
|
` ${commandPrefix} list`,
|
|
362
349
|
` ${commandPrefix} current`,
|
|
363
350
|
` ${commandPrefix} doctor`,
|
|
364
|
-
` ${commandPrefix}
|
|
365
|
-
` ${commandPrefix}
|
|
366
|
-
` ${commandPrefix}
|
|
367
|
-
` ${commandPrefix} studio`,
|
|
351
|
+
` ${commandPrefix} official`,
|
|
352
|
+
` ${commandPrefix} byok`,
|
|
353
|
+
` ${commandPrefix} toggle`,
|
|
368
354
|
` ${commandPrefix} open`,
|
|
369
|
-
` ${commandPrefix} apply`,
|
|
370
|
-
` ${commandPrefix} apply skip`,
|
|
371
|
-
` ${commandPrefix} router open`,
|
|
372
|
-
` ${commandPrefix} router locals`,
|
|
373
355
|
` ${commandPrefix} router pull --apply`,
|
|
374
|
-
` ${commandPrefix} hybrid show`,
|
|
375
|
-
` ${commandPrefix} hybrid new home --local-url http://127.0.0.1:10808 --local-key sk-local --remote-url https://api.deepseek.com --remote-key sk-ds`,
|
|
376
|
-
` ${commandPrefix} panel show budget`,
|
|
377
|
-
` ${commandPrefix} panel use balanced`,
|
|
378
356
|
` ${commandPrefix} validate`,
|
|
379
357
|
` ${commandPrefix} probe`,
|
|
380
358
|
` ${commandPrefix} matrix`,
|
|
381
359
|
` ${commandPrefix} repair`,
|
|
360
|
+
` ${commandPrefix} copy grok as grok-think`,
|
|
382
361
|
` ${commandPrefix} save-current kimi-main`,
|
|
383
362
|
` ${commandPrefix} activate kimi`,
|
|
384
363
|
` ${commandPrefix} use current`,
|
|
385
364
|
'',
|
|
365
|
+
'Families: Claude · GPT · Grok · DeepSeek · GLM · Kimi · Qwen · MiniMax · Gemini · local',
|
|
386
366
|
'Env (opt-in):',
|
|
387
|
-
' CLAVUE_ROUTE_AUTO_HEAL=1 auto-repair degraded/chat_only slots once per process',
|
|
388
367
|
' CLAVUE_FILE_PREFETCH=0 disable PRE-phase file context prefetch',
|
|
389
368
|
].join('\n')
|
|
390
369
|
}
|
|
@@ -826,20 +805,6 @@ export async function call(args, context) {
|
|
|
826
805
|
}
|
|
827
806
|
}
|
|
828
807
|
|
|
829
|
-
const firstToken = trimmedArgs.split(/\s+/)[0]?.toLowerCase()
|
|
830
|
-
if (firstToken === 'panel' || firstToken === 'panels') {
|
|
831
|
-
const state = loadProviderState()
|
|
832
|
-
const result = runPanelSidecarCommand(
|
|
833
|
-
trimmedArgs.slice(firstToken.length).trim(),
|
|
834
|
-
state,
|
|
835
|
-
commandPrefix,
|
|
836
|
-
)
|
|
837
|
-
return {
|
|
838
|
-
type: 'text',
|
|
839
|
-
value: result.value,
|
|
840
|
-
}
|
|
841
|
-
}
|
|
842
|
-
|
|
843
808
|
if (trimmedArgs === 'list') {
|
|
844
809
|
const state = loadProviderState()
|
|
845
810
|
if (state.profiles.length === 0 && !state.currentProfile) {
|
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.3'
|
|
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.3
|
|
7
7
|
#
|
|
8
8
|
# Env:
|
|
9
9
|
# CLAVUE_PACKAGE npm package (default: iclavue)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iclavue",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.3",
|
|
4
4
|
"description": "Clavue: execution-first AI coding CLI with direct repo tools, provider routing, native workflows, MCP integration, and long-session recovery",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"iclavue",
|
|
@@ -82,9 +82,9 @@
|
|
|
82
82
|
"build:knowledge": "node scripts/build-project-knowledge.mjs",
|
|
83
83
|
"vendor:ripgrep": "node scripts/vendor-ripgrep.mjs",
|
|
84
84
|
"check": "npm run check:quick",
|
|
85
|
-
"check:fast": "npm run check:types && npm run check:
|
|
86
|
-
"check:quick": "npm run validate:repo && npm run check:test-hygiene && npm run check:
|
|
87
|
-
"check:release": "npm run vendor:ripgrep && npm run validate:repo && npm run check:test-hygiene && npm run verify:dist-clean && npm run verify:dist && npm run verify:source-build && npm run check:
|
|
85
|
+
"check:fast": "npm run check:types && npm run check:source-purity && npm run check:boundaries && npm run check:architecture-budget && npm run check:upgrade-hygiene && npm run check:cited-path-boundary && npm run check:intent-corpus && npm run check:ink-removal && npm run check:pager-tui-coverage && npm run check:lead-capabilities && npm run check:ui-protocol-registry && npm run test:fast && npm run check:startup",
|
|
86
|
+
"check:quick": "npm run validate:repo && npm run check:test-hygiene && npm run check:source-purity && npm run check:boundaries && npm run check:ui-action-allowlist && npm run check:architecture-budget && npm run check:types && npm run test:fast && npm run check:test-hygiene && npm run check:pager-ui && npm run check:eval-baseline && npm run test:system-contract",
|
|
87
|
+
"check:release": "npm run vendor:ripgrep && npm run validate:repo && npm run check:test-hygiene && npm run verify:dist-clean && npm run verify:dist && npm run verify:source-build && npm run check:source-purity && npm run check:boundaries && npm run check:architecture-budget && npm run check:types && npm run test:fast && npm run check:test-hygiene && npm run check:pager-release && npm run check:flywheel",
|
|
88
88
|
"check:hygiene": "npm run validate:repo",
|
|
89
89
|
"check:upgrade-hygiene": "node scripts/check-upgrade-hygiene.mjs",
|
|
90
90
|
"check:ink-removal": "node scripts/check-ink-removal.mjs",
|
|
@@ -219,8 +219,7 @@
|
|
|
219
219
|
"check:official-capability": "node scripts/check-official-capability.mjs",
|
|
220
220
|
"check:core-ops": "node scripts/check-core-ops.mjs",
|
|
221
221
|
"check:cited-path-boundary": "node scripts/check-cited-path-boundary.mjs",
|
|
222
|
-
"check:intent-corpus": "node --import ./tests/register-ts-loader.mjs scripts/check-intent-corpus.mjs"
|
|
223
|
-
"check:dead-require": "node scripts/check-dead-require.mjs"
|
|
222
|
+
"check:intent-corpus": "node --import ./tests/register-ts-loader.mjs scripts/check-intent-corpus.mjs"
|
|
224
223
|
},
|
|
225
224
|
"engines": {
|
|
226
225
|
"node": ">=22.0.0"
|