@vibeapi/cli 0.0.56 → 0.0.58
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 +2 -1
- package/dist/cli.js +1 -1
- package/dist/commands/completion.js +1 -1
- package/dist/commands/doctor.d.ts +3 -1
- package/dist/commands/doctor.js +1 -1
- package/dist/commands/setup.js +1 -1
- package/dist/commands/upgrade.d.ts +2 -0
- package/dist/commands/upgrade.js +1 -0
- package/dist/lib/claude-code-manager.d.ts +4 -5
- package/dist/lib/claude-code-manager.js +1 -1
- package/dist/lib/command.js +1 -1
- package/dist/lib/config.d.ts +6 -0
- package/dist/lib/config.js +1 -1
- package/dist/lib/env-cleanup.d.ts +12 -0
- package/dist/lib/env-cleanup.js +1 -1
- package/dist/lib/gateway-models.d.ts +1 -1
- package/dist/lib/gateway-models.js +1 -1
- package/dist/lib/model-refresh.d.ts +21 -0
- package/dist/lib/model-refresh.js +1 -0
- package/dist/lib/model-registry.d.ts +4 -0
- package/dist/lib/model-registry.js +1 -1
- package/dist/lib/post-apply.d.ts +6 -0
- package/dist/lib/post-apply.js +1 -0
- package/dist/lib/tool-manager.js +1 -1
- package/dist/lib/tool-upgrade.d.ts +10 -0
- package/dist/lib/tool-upgrade.js +1 -0
- package/dist/lib/tools/claude-code.js +1 -1
- package/dist/lib/tools/claude-desktop.js +1 -1
- package/dist/lib/tools/claude-managed.d.ts +8 -0
- package/dist/lib/tools/claude-managed.js +1 -0
- package/dist/lib/tools/claude-native-mirror.d.ts +39 -0
- package/dist/lib/tools/claude-native-mirror.js +1 -0
- package/dist/lib/tools/codex.js +1 -1
- package/dist/lib/tools/desktop-process.d.ts +24 -0
- package/dist/lib/tools/desktop-process.js +1 -0
- package/dist/lib/tools/tool-installs.d.ts +50 -0
- package/dist/lib/tools/tool-installs.js +1 -0
- package/dist/lib/tools/types.d.ts +26 -3
- package/dist/lib/wizard.js +1 -1
- package/dist/locales/en_US.json +81 -26
- package/dist/locales/zh_CN.json +81 -26
- package/dist/models.json +77 -31
- package/models.json +77 -31
- package/package.json +1 -1
- package/dist/lib/tools/claude-installs.d.ts +0 -20
- package/dist/lib/tools/claude-installs.js +0 -1
package/dist/locales/en_US.json
CHANGED
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
"enter": "Configuration management",
|
|
18
18
|
"tool": "Tool management",
|
|
19
19
|
"status": "Show current configuration status",
|
|
20
|
-
"setup": "One-shot setup (--key auto-detects capable tools / --claudekey --codexkey for per-tool keys)"
|
|
20
|
+
"setup": "One-shot setup (--key auto-detects capable tools / --claudekey --codexkey for per-tool keys)",
|
|
21
|
+
"upgrade": "Upgrade Claude Code, Codex and other coding tools (falls back to the npm mirror)"
|
|
21
22
|
},
|
|
22
23
|
"lang": {
|
|
23
24
|
"current": "Current language",
|
|
@@ -35,7 +36,12 @@
|
|
|
35
36
|
"revoke_confirm": "Are you sure you want to revoke the API key?",
|
|
36
37
|
"revoked": "API key revoked",
|
|
37
38
|
"not_revoked": "Revoke operation cancelled",
|
|
38
|
-
"get_api_key_hint": "To obtain API Key, please visit: {{url}}"
|
|
39
|
+
"get_api_key_hint": "To obtain API Key, please visit: {{url}}",
|
|
40
|
+
"reload_tool_not_supported": "Reloading {{tool}} is not supported",
|
|
41
|
+
"reload_missing_config": "No saved API key yet; run vibecli setup --key <your key> first",
|
|
42
|
+
"reloading": "Writing the config to {{tool}} again…",
|
|
43
|
+
"reloaded": "Config written to {{tool}} again",
|
|
44
|
+
"reload_failed": "Failed to write the config; see vibecli logs"
|
|
39
45
|
},
|
|
40
46
|
"wizard": {
|
|
41
47
|
"banner_subtitle": "Manage Your Claude Code and Other Coding Tools",
|
|
@@ -177,26 +183,32 @@
|
|
|
177
183
|
},
|
|
178
184
|
"doctor": {
|
|
179
185
|
"checking": "Running health check...",
|
|
180
|
-
"check_path": "Check PATH environment variable",
|
|
181
186
|
"check_api_key_network": "Check API Key and network connection",
|
|
182
|
-
"check_api_key": "Check API key",
|
|
183
187
|
"check_tools": "Check installed tools",
|
|
184
188
|
"all_good": "All checks passed!",
|
|
185
|
-
"tool_installed": "Installed",
|
|
186
|
-
"tool_not_found": "Tool not found: {{tool}}",
|
|
187
189
|
"network_error": "Network connection failed",
|
|
188
190
|
"api_key_invalid": "API Key is invalid or expired",
|
|
189
|
-
"api_key_network_ok": "API Key and network validation passed",
|
|
190
191
|
"api_key_missing": "API key not configured",
|
|
191
|
-
"claude_code_installed": "Claude Code is installed",
|
|
192
|
-
"claude_code_not_installed": "Claude Code is not installed. Please download from https://claude.ai/download",
|
|
193
|
-
"suggestions": "Suggestions",
|
|
194
|
-
"check_git_env": "Check Git environment",
|
|
195
|
-
"git_not_installed": "Git is not installed. Please download from https://git-scm.com/downloads",
|
|
196
192
|
"results_title": "Health Check Results:",
|
|
197
193
|
"no_tools_installed": "No tools installed",
|
|
198
|
-
"
|
|
199
|
-
"
|
|
194
|
+
"proxy": "Proxy",
|
|
195
|
+
"check_proxy": "Checking proxy settings",
|
|
196
|
+
"proxy_none": "No proxy variables set",
|
|
197
|
+
"proxy_dead": "Cannot reach {{proxies}}: the proxy app is probably not running. Claude Code and Codex go through it; start the proxy app or remove the variable and open a new terminal",
|
|
198
|
+
"api_key_network": "API key & network",
|
|
199
|
+
"installed_tools": "Installed tools",
|
|
200
|
+
"tool_outdated": "below the minimum version {{min}}",
|
|
201
|
+
"tool_duplicates": "other copies: {{others}}",
|
|
202
|
+
"run_upgrade": "run vibecli upgrade {{tool}} to fix",
|
|
203
|
+
"claude_config": "Claude Code config",
|
|
204
|
+
"claude_managed": "Managed settings override what vibecli writes ({{detail}}); they usually come from your company's IT, ask your administrator",
|
|
205
|
+
"claude_not_configured": "~/.claude/settings.json has no VibeAPI address or key; run vibecli setup --key <your key>",
|
|
206
|
+
"claude_config_changed": "The address or key in ~/.claude/settings.json differs from what vibecli saved (another tool may have changed it); run vibecli setup again",
|
|
207
|
+
"claude_request": "Claude Code request",
|
|
208
|
+
"check_claude_request": "Sending a test request through Claude Code",
|
|
209
|
+
"claude_request_skipped": "claude command not found",
|
|
210
|
+
"claude_request_failed": "Request failed: {{reason}}",
|
|
211
|
+
"deep_hint": "Add --deep to send one real request through Claude Code (uses a little credit) and confirm the whole chain works"
|
|
200
212
|
},
|
|
201
213
|
"preset": {
|
|
202
214
|
"claude_mix": "Claude Mix",
|
|
@@ -224,7 +236,8 @@
|
|
|
224
236
|
"first_run": "First run detected, starting initialization wizard...",
|
|
225
237
|
"config_saved": "Configuration saved",
|
|
226
238
|
"env_vars_cleared": "Detected {{vars}} in your shell environment and removed them (they would override the config vibecli writes). Restart your terminal to apply the shell profile change.",
|
|
227
|
-
"certificate_intercepted": "The certificate presented for {{url}} is not the gateway's: the local network is most likely hijacking DNS (common on campus / hotel networks), not a key problem. Switch networks, set the computer's DNS to a public resolver, or use a proxy, then retry"
|
|
239
|
+
"certificate_intercepted": "The certificate presented for {{url}} is not the gateway's: the local network is most likely hijacking DNS (common on campus / hotel networks), not a key problem. Switch networks, set the computer's DNS to a public resolver, or use a proxy, then retry",
|
|
240
|
+
"env_vars_machine_left": "System environment variables still define {{vars}}; removing them needs admin rights: run vibecli again from an elevated terminal, or delete them under System Properties → Environment Variables → System variables"
|
|
228
241
|
},
|
|
229
242
|
"config": {
|
|
230
243
|
"profile_list_title": "Profiles",
|
|
@@ -337,7 +350,11 @@
|
|
|
337
350
|
"desktop_official_login_missing_key": "No saved Claude Desktop API key found; run --key or --desktopkey first",
|
|
338
351
|
"claude_official_invalid": "Invalid value for --claude-official: {{value}} (expected on or off)",
|
|
339
352
|
"done_commands": "Type {{commands}} in your terminal to start",
|
|
340
|
-
"failed_summary": "{{count}} tool(s) failed; see above"
|
|
353
|
+
"failed_summary": "{{count}} tool(s) failed; see above",
|
|
354
|
+
"offer_upgrade": "{{tools}} is too old; upgrade now?",
|
|
355
|
+
"offer_restart": "{{tool}} is running; restart it so the new config takes effect? (closes its windows)",
|
|
356
|
+
"restarted": "{{tool}} restarted",
|
|
357
|
+
"restart_failed": "Could not restart {{tool}}; quit it completely and open it again"
|
|
341
358
|
},
|
|
342
359
|
"tools": {
|
|
343
360
|
"version_outdated": "version {{current}} is too old (needs {{min}} or later); upgrade with {{upgrade}}",
|
|
@@ -358,18 +375,11 @@
|
|
|
358
375
|
"registry_denied": "Not elevated, so the registry backstop was skipped (the local config is written and usually enough); if the reopened app doesn't use VibeAPI, run this again from an administrator terminal"
|
|
359
376
|
},
|
|
360
377
|
"claude_code": {
|
|
361
|
-
"gateway_models": "{{count}}
|
|
378
|
+
"gateway_models": "{{count}} more models added to /model ({{vendors}})",
|
|
362
379
|
"tier_fallback": "This key can't use Claude Code's default {{from}}; the {{tier}} alias now uses {{to}}",
|
|
363
|
-
"multiple_installs": "{{count}} copies of Claude Code found; typing claude runs only {{active}}; also present: {{others}}",
|
|
364
|
-
"keep_native": "Keep only the official native install: run {{uninstall}} to remove the npm copy, then upgrade with claude update",
|
|
365
|
-
"upgrade_fallback": "If claude update cannot reach the download server, install from the npm mirror instead: {{mirror}}",
|
|
366
380
|
"stable_channel": "Your update channel in settings.json is stable, which may not have reached {{min}} yet; set autoUpdatesChannel to latest, then upgrade",
|
|
367
|
-
"
|
|
368
|
-
|
|
369
|
-
"npm": "npm",
|
|
370
|
-
"other": "other"
|
|
371
|
-
},
|
|
372
|
-
"keep_npm": "Keep only the npm copy: delete the native install (~/.local/bin/claude and ~/.local/share/claude), then upgrade with {{mirror}}"
|
|
381
|
+
"managed_override": "Claude Code managed settings found ({{source}}); {{keys}} there override what vibecli writes, so this config won't take effect. Managed settings usually come from your company's IT; ask your administrator",
|
|
382
|
+
"no_git_bash": "Git for Windows not found: Claude Code falls back to PowerShell for commands, which works, but bash commands and scripts won't; install Git (winget install Git.Git, or download from https://registry.npmmirror.com/binary.html?path=git-for-windows/)"
|
|
373
383
|
},
|
|
374
384
|
"model_family": {
|
|
375
385
|
"gpt": "GPT",
|
|
@@ -377,5 +387,50 @@
|
|
|
377
387
|
"other": "Chinese",
|
|
378
388
|
"grok": "Grok"
|
|
379
389
|
}
|
|
390
|
+
},
|
|
391
|
+
"upgrade": {
|
|
392
|
+
"kind": {
|
|
393
|
+
"native": "native",
|
|
394
|
+
"npm": "npm",
|
|
395
|
+
"brew": "Homebrew",
|
|
396
|
+
"other": "other"
|
|
397
|
+
},
|
|
398
|
+
"unsupported": "vibecli upgrade does not support {{tool}}",
|
|
399
|
+
"supported": "Supported tools: {{tools}}",
|
|
400
|
+
"nothing_installed": "None of {{tools}} is installed",
|
|
401
|
+
"current": "Current: {{copy}}",
|
|
402
|
+
"not_installed_installing": "{{tool}} not found; installing from the npm mirror",
|
|
403
|
+
"fallback_mirror": "The official upgrade failed; installing from the npm mirror instead",
|
|
404
|
+
"unknown_install": "Unknown install source ({{path}}); upgrade it the way it was installed",
|
|
405
|
+
"npm_permission": "npm cannot write the global directory: use sudo {{command}}, or run npm config set prefix ~/.npm-global, add ~/.npm-global/bin to PATH and retry",
|
|
406
|
+
"duplicates": "Several copies of {{tool}}: keeping {{keep}}; extra: {{others}}",
|
|
407
|
+
"duplicates_note": "{{count}} copies found; the terminal runs {{active}}; also present: {{others}}. Run vibecli upgrade {{tool}} to upgrade and keep one",
|
|
408
|
+
"confirm_remove": "Remove the extra copies?",
|
|
409
|
+
"removed": "Removed {{copy}}",
|
|
410
|
+
"remove_by_hand": "Remove by hand: {{how}}",
|
|
411
|
+
"delete_paths": "delete {{paths}}",
|
|
412
|
+
"still_missing": "{{tool}} is still not installed; see the output above",
|
|
413
|
+
"still_old": "After upgrading: {{copy}}, still below {{min}}",
|
|
414
|
+
"done": "Now {{copy}}",
|
|
415
|
+
"native_mirror_trying": "The official download server is unreachable; fetching the same native binary from the npm mirror to replace it in place",
|
|
416
|
+
"native_mirror_done": "Replaced with {{version}} from the mirror (npm integrity verified; Anthropic's manifest unreachable)",
|
|
417
|
+
"native_mirror_done_verified": "Replaced with {{version}} from the mirror (npm integrity and Anthropic's release checksum verified)",
|
|
418
|
+
"native_mirror_failed": "Replacing from the mirror failed: {{reason}}"
|
|
419
|
+
},
|
|
420
|
+
"install": {
|
|
421
|
+
"permission_unix": "npm probably cannot write its global directory. Either ① sudo {{command}}; or ② run npm config set prefix ~/.npm-global, add export PATH=~/.npm-global/bin:$PATH to ~/.zshrc or ~/.bashrc, open a new terminal and run {{command}}",
|
|
422
|
+
"permission_windows": "Probably missing permissions or a file in use: close running Claude Code / Codex, open an elevated terminal and run {{command}}",
|
|
423
|
+
"what_next": "What next?",
|
|
424
|
+
"installed_continue": "I installed it by hand, continue",
|
|
425
|
+
"cancel_install": "Cancel",
|
|
426
|
+
"user_cancelled": "Installation cancelled",
|
|
427
|
+
"still_not_installed": "{{tool}} still not found; make sure it installed and open a new terminal",
|
|
428
|
+
"verified_success": "Found {{tool}}, continuing",
|
|
429
|
+
"install_failed_detail": "Installation did not finish; see the output above or vibecli logs"
|
|
430
|
+
},
|
|
431
|
+
"model_refresh": {
|
|
432
|
+
"changed": "{{tool}} model menu synced with VibeAPI: {{changes}}",
|
|
433
|
+
"added": "added {{models}}",
|
|
434
|
+
"removed": "removed {{models}}"
|
|
380
435
|
}
|
|
381
436
|
}
|
package/dist/locales/zh_CN.json
CHANGED
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
"enter": "配置管理",
|
|
18
18
|
"tool": "工具管理",
|
|
19
19
|
"status": "显示当前配置状态",
|
|
20
|
-
"setup": "一条命令完成配置(--key 按能力自动选工具 / --claudekey --codexkey 双令牌分别配置)"
|
|
20
|
+
"setup": "一条命令完成配置(--key 按能力自动选工具 / --claudekey --codexkey 双令牌分别配置)",
|
|
21
|
+
"upgrade": "升级 Claude Code、Codex 等编码工具(官方渠道连不上时改走国内镜像)"
|
|
21
22
|
},
|
|
22
23
|
"lang": {
|
|
23
24
|
"current": "当前语言",
|
|
@@ -35,7 +36,12 @@
|
|
|
35
36
|
"revoke_confirm": "确认要删除已保存的API密钥吗?",
|
|
36
37
|
"revoked": "API密钥已删除",
|
|
37
38
|
"not_revoked": "取消删除操作",
|
|
38
|
-
"get_api_key_hint": "如需获取 API Key,请访问: {{url}}"
|
|
39
|
+
"get_api_key_hint": "如需获取 API Key,请访问: {{url}}",
|
|
40
|
+
"reload_tool_not_supported": "不支持重新加载 {{tool}}",
|
|
41
|
+
"reload_missing_config": "还没有保存的 API Key,先运行 vibecli setup --key <你的 Key>",
|
|
42
|
+
"reloading": "正在把配置重新写入 {{tool}}…",
|
|
43
|
+
"reloaded": "{{tool}} 的配置已重新写入",
|
|
44
|
+
"reload_failed": "重新写入配置失败,详情见 vibecli logs"
|
|
39
45
|
},
|
|
40
46
|
"wizard": {
|
|
41
47
|
"banner_subtitle": "统一管理您的 Claude Code 等编码工具",
|
|
@@ -177,26 +183,32 @@
|
|
|
177
183
|
},
|
|
178
184
|
"doctor": {
|
|
179
185
|
"checking": "正在进行健康检查...",
|
|
180
|
-
"check_path": "检查PATH环境变量",
|
|
181
186
|
"check_api_key_network": "检查 API Key 和网络连接",
|
|
182
|
-
"check_api_key": "检查API密钥",
|
|
183
187
|
"check_tools": "检查已安装的工具",
|
|
184
188
|
"all_good": "所有检查通过!",
|
|
185
|
-
"tool_installed": "已安装",
|
|
186
|
-
"tool_not_found": "工具未找到: {{tool}}",
|
|
187
189
|
"network_error": "网络连接失败",
|
|
188
190
|
"api_key_invalid": "API Key 无效或已过期",
|
|
189
|
-
"api_key_network_ok": "API Key 和网络验证通过",
|
|
190
191
|
"api_key_missing": "API密钥未配置",
|
|
191
|
-
"claude_code_installed": "Claude Code 已安装",
|
|
192
|
-
"claude_code_not_installed": "Claude Code 未安装。请从 https://claude.ai/download 下载安装",
|
|
193
|
-
"suggestions": "建议",
|
|
194
|
-
"check_git_env": "检查 Git 环境",
|
|
195
|
-
"git_not_installed": "Git 未安装。请从 https://git-scm.com/downloads 下载安装",
|
|
196
192
|
"results_title": "健康检查结果:",
|
|
197
193
|
"no_tools_installed": "未安装任何工具",
|
|
198
|
-
"
|
|
199
|
-
"
|
|
194
|
+
"proxy": "代理设置",
|
|
195
|
+
"check_proxy": "检查代理设置",
|
|
196
|
+
"proxy_none": "未设置代理环境变量",
|
|
197
|
+
"proxy_dead": "连不上 {{proxies}}:代理软件可能没开。Claude Code、Codex 都会走这个代理,请打开代理软件,或删掉这个环境变量后重开终端",
|
|
198
|
+
"api_key_network": "API Key 与网络",
|
|
199
|
+
"installed_tools": "已安装的工具",
|
|
200
|
+
"tool_outdated": "低于最低版本 {{min}}",
|
|
201
|
+
"tool_duplicates": "还有另外的安装:{{others}}",
|
|
202
|
+
"run_upgrade": "运行 vibecli upgrade {{tool}} 处理",
|
|
203
|
+
"claude_config": "Claude Code 配置",
|
|
204
|
+
"claude_managed": "托管配置会盖掉 vibecli 写入的设置({{detail}}),一般是公司电脑统一下发的,请联系管理员",
|
|
205
|
+
"claude_not_configured": "~/.claude/settings.json 里没有 VibeAPI 的地址或 Key,运行 vibecli setup --key <你的 Key> 重新配置",
|
|
206
|
+
"claude_config_changed": "~/.claude/settings.json 里的地址或 Key 和 vibecli 保存的不一致(可能被别的工具改过),运行 vibecli setup 重新写入",
|
|
207
|
+
"claude_request": "Claude Code 实际请求",
|
|
208
|
+
"check_claude_request": "用 Claude Code 发一条测试请求",
|
|
209
|
+
"claude_request_skipped": "没找到 claude 命令",
|
|
210
|
+
"claude_request_failed": "请求失败:{{reason}}",
|
|
211
|
+
"deep_hint": "加上 --deep 会用 Claude Code 实际发一条请求(消耗少量额度),确认整条链路能用"
|
|
200
212
|
},
|
|
201
213
|
"preset": {
|
|
202
214
|
"claude_mix": "Claude 混合",
|
|
@@ -224,7 +236,8 @@
|
|
|
224
236
|
"first_run": "检测到首次运行,启动初始化向导...",
|
|
225
237
|
"config_saved": "配置已保存",
|
|
226
238
|
"env_vars_cleared": "检测到 shell 环境变量 {{vars}} 并已自动清除(它们会覆盖 vibecli 写入的配置)。如已写入 shell 配置文件,请重开终端生效。",
|
|
227
|
-
"certificate_intercepted": "连接 {{url}} 时证书不对:通常是当前网络的 DNS 被劫持(校园网、酒店网络常见),而不是 Key 有问题。请换个网络、把电脑的 DNS 改成 119.29.29.29 / 223.5.5.5,或开代理后重试"
|
|
239
|
+
"certificate_intercepted": "连接 {{url}} 时证书不对:通常是当前网络的 DNS 被劫持(校园网、酒店网络常见),而不是 Key 有问题。请换个网络、把电脑的 DNS 改成 119.29.29.29 / 223.5.5.5,或开代理后重试",
|
|
240
|
+
"env_vars_machine_left": "系统环境变量里还有 {{vars}},需要管理员权限才能删:用管理员身份打开终端再运行一次 vibecli,或在「系统属性 → 环境变量 → 系统变量」里手动删除"
|
|
228
241
|
},
|
|
229
242
|
"config": {
|
|
230
243
|
"profile_list_title": "Profile 列表",
|
|
@@ -337,7 +350,11 @@
|
|
|
337
350
|
"desktop_official_login_missing_key": "未找到已保存的 Claude Desktop API Key;请先用 --key 或 --desktopkey 完成配置",
|
|
338
351
|
"claude_official_invalid": "--claude-official 的值无效: {{value}}(只接受 on / off)",
|
|
339
352
|
"done_commands": "在终端输入 {{commands}} 开始使用",
|
|
340
|
-
"failed_summary": "{{count}} 个工具没有配好,原因见上方"
|
|
353
|
+
"failed_summary": "{{count}} 个工具没有配好,原因见上方",
|
|
354
|
+
"offer_upgrade": "{{tools}} 版本过旧,现在升级吗?",
|
|
355
|
+
"offer_restart": "{{tool}} 正在运行,要重启它让新配置生效吗?(会关掉当前窗口)",
|
|
356
|
+
"restarted": "{{tool}} 已重启",
|
|
357
|
+
"restart_failed": "{{tool}} 没能自动重启,请完全退出后手动打开"
|
|
341
358
|
},
|
|
342
359
|
"tools": {
|
|
343
360
|
"version_outdated": "版本 {{current}} 过旧,需要 {{min}} 及以上,运行 {{upgrade}} 升级",
|
|
@@ -358,18 +375,11 @@
|
|
|
358
375
|
"registry_denied": "没有管理员权限,跳过了注册表兜底(本地配置已写好,通常不影响);如果重开桌面端后没有走 VibeAPI,用管理员身份打开终端再运行一次"
|
|
359
376
|
},
|
|
360
377
|
"claude_code": {
|
|
361
|
-
"gateway_models": "/model 菜单加入 {{count}}
|
|
378
|
+
"gateway_models": "/model 菜单加入 {{count}} 个其他模型({{vendors}})",
|
|
362
379
|
"tier_fallback": "当前 Key 用不了 Claude Code 默认的 {{from}},{{tier}} 档已改用 {{to}}",
|
|
363
|
-
"multiple_installs": "本机有 {{count}} 份 Claude Code,终端里输入 claude 只会运行 {{active}},另外还有 {{others}}",
|
|
364
|
-
"keep_native": "建议只留官方原生安装:运行 {{uninstall}} 删掉 npm 那份,之后用 claude update 升级",
|
|
365
|
-
"upgrade_fallback": "claude update 连不上下载服务器时,改用国内 npm 镜像安装:{{mirror}}",
|
|
366
380
|
"stable_channel": "settings.json 里的更新渠道是 stable,这个渠道可能还没到 {{min}};把 autoUpdatesChannel 改成 latest 后再升级",
|
|
367
|
-
"
|
|
368
|
-
|
|
369
|
-
"npm": "npm 安装",
|
|
370
|
-
"other": "其他安装"
|
|
371
|
-
},
|
|
372
|
-
"keep_npm": "建议只留 npm 那份:删除原生安装(~/.local/bin/claude 与 ~/.local/share/claude),之后用 {{mirror}} 升级"
|
|
381
|
+
"managed_override": "检测到 Claude Code 的托管配置({{source}}),其中 {{keys}} 优先于 vibecli 写入的设置,会让这里的配置不生效;托管配置一般是公司电脑统一下发的,请联系管理员",
|
|
382
|
+
"no_git_bash": "没找到 Git for Windows:Claude Code 会改用 PowerShell 执行命令,可以用,但 bash 写法的命令和脚本跑不了;建议安装 Git(winget install Git.Git,或从国内镜像 https://registry.npmmirror.com/binary.html?path=git-for-windows/ 下载)"
|
|
373
383
|
},
|
|
374
384
|
"model_family": {
|
|
375
385
|
"gpt": "GPT",
|
|
@@ -377,5 +387,50 @@
|
|
|
377
387
|
"other": "国产",
|
|
378
388
|
"grok": "Grok"
|
|
379
389
|
}
|
|
390
|
+
},
|
|
391
|
+
"upgrade": {
|
|
392
|
+
"kind": {
|
|
393
|
+
"native": "原生安装",
|
|
394
|
+
"npm": "npm 安装",
|
|
395
|
+
"brew": "Homebrew 安装",
|
|
396
|
+
"other": "其他安装"
|
|
397
|
+
},
|
|
398
|
+
"unsupported": "vibecli upgrade 不支持 {{tool}}",
|
|
399
|
+
"supported": "支持的工具:{{tools}}",
|
|
400
|
+
"nothing_installed": "没有找到已安装的 {{tools}}",
|
|
401
|
+
"current": "当前:{{copy}}",
|
|
402
|
+
"not_installed_installing": "没有找到 {{tool}},用国内 npm 镜像安装",
|
|
403
|
+
"fallback_mirror": "官方渠道升级失败,改用国内 npm 镜像安装",
|
|
404
|
+
"unknown_install": "不认识这份安装的来源({{path}}),没法自动升级,请按当初的安装方式升级",
|
|
405
|
+
"npm_permission": "npm 没有权限写全局目录:可以用 sudo {{command}},或运行 npm config set prefix ~/.npm-global 并把 ~/.npm-global/bin 加进 PATH 后重试",
|
|
406
|
+
"duplicates": "本机有多份 {{tool}},保留 {{keep}},多余的是 {{others}}",
|
|
407
|
+
"duplicates_note": "本机有 {{count}} 份,终端里实际运行的是 {{active}},另外还有 {{others}};运行 vibecli upgrade {{tool}} 升级并只留一份",
|
|
408
|
+
"confirm_remove": "删掉多余的那几份吗?",
|
|
409
|
+
"removed": "已删除 {{copy}}",
|
|
410
|
+
"remove_by_hand": "请手动删除:{{how}}",
|
|
411
|
+
"delete_paths": "删除 {{paths}}",
|
|
412
|
+
"still_missing": "{{tool}} 仍未安装成功,请看上面的输出",
|
|
413
|
+
"still_old": "升级后是 {{copy}},仍低于 {{min}}",
|
|
414
|
+
"done": "已是 {{copy}}",
|
|
415
|
+
"native_mirror_trying": "官方下载服务器连不上,改从国内镜像下载同一个原生程序,原地替换",
|
|
416
|
+
"native_mirror_done": "已从国内镜像换成 {{version}}(已核对 npm 校验值;官方清单连不上,未额外核对)",
|
|
417
|
+
"native_mirror_done_verified": "已从国内镜像换成 {{version}}(已核对 npm 与官方发布清单的校验值)",
|
|
418
|
+
"native_mirror_failed": "从国内镜像替换失败:{{reason}}"
|
|
419
|
+
},
|
|
420
|
+
"install": {
|
|
421
|
+
"permission_unix": "多半是 npm 没有权限写全局目录。可以二选一:① sudo {{command}};② 运行 npm config set prefix ~/.npm-global,把 export PATH=~/.npm-global/bin:$PATH 加进 ~/.zshrc 或 ~/.bashrc,重开终端后再运行 {{command}}",
|
|
422
|
+
"permission_windows": "多半是权限不足或文件被占用:关掉正在运行的 Claude Code / Codex,用管理员身份打开终端,再运行 {{command}}",
|
|
423
|
+
"what_next": "接下来怎么做?",
|
|
424
|
+
"installed_continue": "我已经手动装好了,继续",
|
|
425
|
+
"cancel_install": "取消",
|
|
426
|
+
"user_cancelled": "已取消安装",
|
|
427
|
+
"still_not_installed": "还是没找到 {{tool}},请确认安装成功、重开终端后再试",
|
|
428
|
+
"verified_success": "已找到 {{tool}},继续配置",
|
|
429
|
+
"install_failed_detail": "安装没有完成,详情见上面的输出或 vibecli logs"
|
|
430
|
+
},
|
|
431
|
+
"model_refresh": {
|
|
432
|
+
"changed": "已按 VibeAPI 最新模型清单更新 {{tool}}:{{changes}}",
|
|
433
|
+
"added": "新增 {{models}}",
|
|
434
|
+
"removed": "移除 {{models}}"
|
|
380
435
|
}
|
|
381
436
|
}
|
package/dist/models.json
CHANGED
|
@@ -26,20 +26,20 @@
|
|
|
26
26
|
"model": "gpt-5.5"
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
|
-
"name": "GLM-5.
|
|
30
|
-
"model": "glm-5.
|
|
29
|
+
"name": "GLM-5.3",
|
|
30
|
+
"model": "glm-5.3"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"name": "MiniMax-M3",
|
|
34
34
|
"model": "MiniMax-M3"
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
|
-
"name": "Kimi-
|
|
38
|
-
"model": "kimi-
|
|
37
|
+
"name": "Kimi-K3",
|
|
38
|
+
"model": "kimi-k3"
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
|
-
"name": "Qwen3.
|
|
42
|
-
"model": "qwen3.
|
|
41
|
+
"name": "Qwen3.8-Max",
|
|
42
|
+
"model": "qwen3.8-max"
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
"name": "DeepSeek-V4-Pro",
|
|
@@ -76,6 +76,7 @@
|
|
|
76
76
|
},
|
|
77
77
|
"gatewayModels": {
|
|
78
78
|
"autoCompactRatio": 0.8,
|
|
79
|
+
"retired": ["deepseek-v4-flash", "glm-5.2", "qwen3.7-max", "qwen3.7-plus"],
|
|
79
80
|
"models": [
|
|
80
81
|
{
|
|
81
82
|
"id": "claude-opus-5-5",
|
|
@@ -137,6 +138,69 @@
|
|
|
137
138
|
"description": "20 万上下文(部分分组无 1M)| Agent 编程",
|
|
138
139
|
"contextWindow": 200000
|
|
139
140
|
},
|
|
141
|
+
{
|
|
142
|
+
"id": "gpt-6-astra",
|
|
143
|
+
"name": "GPT-6 Astra",
|
|
144
|
+
"description": "105 万上下文 | 编码 / 计算机操作",
|
|
145
|
+
"contextWindow": 1050000,
|
|
146
|
+
"codex": false
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"id": "gpt-6.1-sol",
|
|
150
|
+
"name": "GPT-6.1 Sol",
|
|
151
|
+
"description": "105 万上下文 | 工具调用 | 结构化输出",
|
|
152
|
+
"contextWindow": 1050000,
|
|
153
|
+
"codex": false
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"id": "gpt-6-sol",
|
|
157
|
+
"name": "GPT-6 Sol",
|
|
158
|
+
"description": "105 万上下文 | 复杂编程与 Agent 工作流",
|
|
159
|
+
"contextWindow": 1050000,
|
|
160
|
+
"codex": false
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"id": "gpt-5.6-sol",
|
|
164
|
+
"name": "GPT-5.6 Sol",
|
|
165
|
+
"description": "105 万上下文 | 前沿档",
|
|
166
|
+
"contextWindow": 1050000,
|
|
167
|
+
"codex": false
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"id": "gpt-5.6-terra",
|
|
171
|
+
"name": "GPT-5.6 Terra",
|
|
172
|
+
"description": "105 万上下文 | 均衡生产档",
|
|
173
|
+
"contextWindow": 1050000,
|
|
174
|
+
"codex": false
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"id": "gpt-5.6-luna",
|
|
178
|
+
"name": "GPT-5.6 Luna",
|
|
179
|
+
"description": "105 万上下文 | 大批量低成本档",
|
|
180
|
+
"contextWindow": 1050000,
|
|
181
|
+
"codex": false
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"id": "gemini-3.8-flash",
|
|
185
|
+
"name": "Gemini 3.8 Flash",
|
|
186
|
+
"description": "105 万上下文 | 推理与编码",
|
|
187
|
+
"contextWindow": 1048576,
|
|
188
|
+
"codex": false
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"id": "gemini-3.1-pro",
|
|
192
|
+
"name": "Gemini 3.1 Pro",
|
|
193
|
+
"description": "100 万上下文 | 深度推理 | 长文档",
|
|
194
|
+
"contextWindow": 1000000,
|
|
195
|
+
"codex": false
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"id": "gemini-3.7-flash",
|
|
199
|
+
"name": "Gemini 3.7 Flash",
|
|
200
|
+
"description": "100 万上下文 | Agent | 软件工程",
|
|
201
|
+
"contextWindow": 1000000,
|
|
202
|
+
"codex": false
|
|
203
|
+
},
|
|
140
204
|
{
|
|
141
205
|
"id": "deepseek-v4-pro",
|
|
142
206
|
"name": "DeepSeek V4 Pro",
|
|
@@ -149,12 +213,6 @@
|
|
|
149
213
|
"description": "100 万上下文 | 高速档",
|
|
150
214
|
"contextWindow": 1000000
|
|
151
215
|
},
|
|
152
|
-
{
|
|
153
|
-
"id": "deepseek-v4-flash",
|
|
154
|
-
"name": "DeepSeek V4 Flash",
|
|
155
|
-
"description": "100 万上下文 | 高速档",
|
|
156
|
-
"contextWindow": 1000000
|
|
157
|
-
},
|
|
158
216
|
{
|
|
159
217
|
"id": "glm-5.3",
|
|
160
218
|
"name": "GLM 5.3",
|
|
@@ -167,12 +225,6 @@
|
|
|
167
225
|
"description": "105 万上下文 | 高速档",
|
|
168
226
|
"contextWindow": 1048576
|
|
169
227
|
},
|
|
170
|
-
{
|
|
171
|
-
"id": "glm-5.2",
|
|
172
|
-
"name": "GLM 5.2",
|
|
173
|
-
"description": "100 万上下文 | 编程",
|
|
174
|
-
"contextWindow": 1000000
|
|
175
|
-
},
|
|
176
228
|
{
|
|
177
229
|
"id": "kimi-k3",
|
|
178
230
|
"name": "Kimi K3",
|
|
@@ -191,18 +243,6 @@
|
|
|
191
243
|
"description": "100 万上下文 | 高速档",
|
|
192
244
|
"contextWindow": 1000000
|
|
193
245
|
},
|
|
194
|
-
{
|
|
195
|
-
"id": "qwen3.7-max",
|
|
196
|
-
"name": "Qwen 3.7 Max",
|
|
197
|
-
"description": "100 万上下文 | 推理 | 编程",
|
|
198
|
-
"contextWindow": 1000000
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
"id": "qwen3.7-plus",
|
|
202
|
-
"name": "Qwen 3.7 Plus",
|
|
203
|
-
"description": "100 万上下文 | 均衡档",
|
|
204
|
-
"contextWindow": 1000000
|
|
205
|
-
},
|
|
206
246
|
{
|
|
207
247
|
"id": "MiniMax-M3",
|
|
208
248
|
"name": "MiniMax M3",
|
|
@@ -213,8 +253,14 @@
|
|
|
213
253
|
"id": "grok-4.7",
|
|
214
254
|
"name": "Grok 4.7",
|
|
215
255
|
"description": "50 万上下文 | 长时 Agent | 编码",
|
|
256
|
+
"contextWindow": 500000
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"id": "grok-4.6",
|
|
260
|
+
"name": "Grok 4.6",
|
|
261
|
+
"description": "50 万上下文 | 编码",
|
|
216
262
|
"contextWindow": 500000,
|
|
217
|
-
"
|
|
263
|
+
"codex": false
|
|
218
264
|
}
|
|
219
265
|
]
|
|
220
266
|
},
|
package/models.json
CHANGED
|
@@ -26,20 +26,20 @@
|
|
|
26
26
|
"model": "gpt-5.5"
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
|
-
"name": "GLM-5.
|
|
30
|
-
"model": "glm-5.
|
|
29
|
+
"name": "GLM-5.3",
|
|
30
|
+
"model": "glm-5.3"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"name": "MiniMax-M3",
|
|
34
34
|
"model": "MiniMax-M3"
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
|
-
"name": "Kimi-
|
|
38
|
-
"model": "kimi-
|
|
37
|
+
"name": "Kimi-K3",
|
|
38
|
+
"model": "kimi-k3"
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
|
-
"name": "Qwen3.
|
|
42
|
-
"model": "qwen3.
|
|
41
|
+
"name": "Qwen3.8-Max",
|
|
42
|
+
"model": "qwen3.8-max"
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
"name": "DeepSeek-V4-Pro",
|
|
@@ -76,6 +76,7 @@
|
|
|
76
76
|
},
|
|
77
77
|
"gatewayModels": {
|
|
78
78
|
"autoCompactRatio": 0.8,
|
|
79
|
+
"retired": ["deepseek-v4-flash", "glm-5.2", "qwen3.7-max", "qwen3.7-plus"],
|
|
79
80
|
"models": [
|
|
80
81
|
{
|
|
81
82
|
"id": "claude-opus-5-5",
|
|
@@ -137,6 +138,69 @@
|
|
|
137
138
|
"description": "20 万上下文(部分分组无 1M)| Agent 编程",
|
|
138
139
|
"contextWindow": 200000
|
|
139
140
|
},
|
|
141
|
+
{
|
|
142
|
+
"id": "gpt-6-astra",
|
|
143
|
+
"name": "GPT-6 Astra",
|
|
144
|
+
"description": "105 万上下文 | 编码 / 计算机操作",
|
|
145
|
+
"contextWindow": 1050000,
|
|
146
|
+
"codex": false
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"id": "gpt-6.1-sol",
|
|
150
|
+
"name": "GPT-6.1 Sol",
|
|
151
|
+
"description": "105 万上下文 | 工具调用 | 结构化输出",
|
|
152
|
+
"contextWindow": 1050000,
|
|
153
|
+
"codex": false
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"id": "gpt-6-sol",
|
|
157
|
+
"name": "GPT-6 Sol",
|
|
158
|
+
"description": "105 万上下文 | 复杂编程与 Agent 工作流",
|
|
159
|
+
"contextWindow": 1050000,
|
|
160
|
+
"codex": false
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"id": "gpt-5.6-sol",
|
|
164
|
+
"name": "GPT-5.6 Sol",
|
|
165
|
+
"description": "105 万上下文 | 前沿档",
|
|
166
|
+
"contextWindow": 1050000,
|
|
167
|
+
"codex": false
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"id": "gpt-5.6-terra",
|
|
171
|
+
"name": "GPT-5.6 Terra",
|
|
172
|
+
"description": "105 万上下文 | 均衡生产档",
|
|
173
|
+
"contextWindow": 1050000,
|
|
174
|
+
"codex": false
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"id": "gpt-5.6-luna",
|
|
178
|
+
"name": "GPT-5.6 Luna",
|
|
179
|
+
"description": "105 万上下文 | 大批量低成本档",
|
|
180
|
+
"contextWindow": 1050000,
|
|
181
|
+
"codex": false
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"id": "gemini-3.8-flash",
|
|
185
|
+
"name": "Gemini 3.8 Flash",
|
|
186
|
+
"description": "105 万上下文 | 推理与编码",
|
|
187
|
+
"contextWindow": 1048576,
|
|
188
|
+
"codex": false
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"id": "gemini-3.1-pro",
|
|
192
|
+
"name": "Gemini 3.1 Pro",
|
|
193
|
+
"description": "100 万上下文 | 深度推理 | 长文档",
|
|
194
|
+
"contextWindow": 1000000,
|
|
195
|
+
"codex": false
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"id": "gemini-3.7-flash",
|
|
199
|
+
"name": "Gemini 3.7 Flash",
|
|
200
|
+
"description": "100 万上下文 | Agent | 软件工程",
|
|
201
|
+
"contextWindow": 1000000,
|
|
202
|
+
"codex": false
|
|
203
|
+
},
|
|
140
204
|
{
|
|
141
205
|
"id": "deepseek-v4-pro",
|
|
142
206
|
"name": "DeepSeek V4 Pro",
|
|
@@ -149,12 +213,6 @@
|
|
|
149
213
|
"description": "100 万上下文 | 高速档",
|
|
150
214
|
"contextWindow": 1000000
|
|
151
215
|
},
|
|
152
|
-
{
|
|
153
|
-
"id": "deepseek-v4-flash",
|
|
154
|
-
"name": "DeepSeek V4 Flash",
|
|
155
|
-
"description": "100 万上下文 | 高速档",
|
|
156
|
-
"contextWindow": 1000000
|
|
157
|
-
},
|
|
158
216
|
{
|
|
159
217
|
"id": "glm-5.3",
|
|
160
218
|
"name": "GLM 5.3",
|
|
@@ -167,12 +225,6 @@
|
|
|
167
225
|
"description": "105 万上下文 | 高速档",
|
|
168
226
|
"contextWindow": 1048576
|
|
169
227
|
},
|
|
170
|
-
{
|
|
171
|
-
"id": "glm-5.2",
|
|
172
|
-
"name": "GLM 5.2",
|
|
173
|
-
"description": "100 万上下文 | 编程",
|
|
174
|
-
"contextWindow": 1000000
|
|
175
|
-
},
|
|
176
228
|
{
|
|
177
229
|
"id": "kimi-k3",
|
|
178
230
|
"name": "Kimi K3",
|
|
@@ -191,18 +243,6 @@
|
|
|
191
243
|
"description": "100 万上下文 | 高速档",
|
|
192
244
|
"contextWindow": 1000000
|
|
193
245
|
},
|
|
194
|
-
{
|
|
195
|
-
"id": "qwen3.7-max",
|
|
196
|
-
"name": "Qwen 3.7 Max",
|
|
197
|
-
"description": "100 万上下文 | 推理 | 编程",
|
|
198
|
-
"contextWindow": 1000000
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
"id": "qwen3.7-plus",
|
|
202
|
-
"name": "Qwen 3.7 Plus",
|
|
203
|
-
"description": "100 万上下文 | 均衡档",
|
|
204
|
-
"contextWindow": 1000000
|
|
205
|
-
},
|
|
206
246
|
{
|
|
207
247
|
"id": "MiniMax-M3",
|
|
208
248
|
"name": "MiniMax M3",
|
|
@@ -213,8 +253,14 @@
|
|
|
213
253
|
"id": "grok-4.7",
|
|
214
254
|
"name": "Grok 4.7",
|
|
215
255
|
"description": "50 万上下文 | 长时 Agent | 编码",
|
|
256
|
+
"contextWindow": 500000
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"id": "grok-4.6",
|
|
260
|
+
"name": "Grok 4.6",
|
|
261
|
+
"description": "50 万上下文 | 编码",
|
|
216
262
|
"contextWindow": 500000,
|
|
217
|
-
"
|
|
263
|
+
"codex": false
|
|
218
264
|
}
|
|
219
265
|
]
|
|
220
266
|
},
|