@vibeapi/api-helper 0.0.95 → 0.0.97

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.
Files changed (60) hide show
  1. package/client-config.snapshot.json +123 -10
  2. package/dist/brand.json +76 -0
  3. package/dist/cli.js +1 -1
  4. package/dist/client-config.snapshot.json +123 -10
  5. package/dist/commands/base.js +1 -1
  6. package/dist/commands/completion.js +1 -1
  7. package/dist/commands/setup.d.ts +2 -0
  8. package/dist/commands/setup.js +1 -1
  9. package/dist/commands/update.d.ts +2 -1
  10. package/dist/commands/update.js +1 -1
  11. package/dist/lib/api-validator.js +1 -1
  12. package/dist/lib/auto-update.js +1 -1
  13. package/dist/lib/brand.d.ts +82 -8
  14. package/dist/lib/brand.js +1 -1
  15. package/dist/lib/cli-help.d.ts +1 -1
  16. package/dist/lib/cli-help.js +1 -1
  17. package/dist/lib/client-config-sync.js +1 -1
  18. package/dist/lib/client-config.d.ts +5 -4
  19. package/dist/lib/client-config.js +1 -1
  20. package/dist/lib/codex-sessions.js +1 -1
  21. package/dist/lib/command-docs.js +1 -1
  22. package/dist/lib/command.js +1 -1
  23. package/dist/lib/config.d.ts +1 -1
  24. package/dist/lib/config.js +1 -1
  25. package/dist/lib/errors.d.ts +10 -10
  26. package/dist/lib/errors.js +1 -1
  27. package/dist/lib/gateway-models.js +1 -1
  28. package/dist/lib/gateway-protocol.d.ts +13 -0
  29. package/dist/lib/gateway-protocol.js +1 -0
  30. package/dist/lib/i18n.js +1 -1
  31. package/dist/lib/model-refresh.js +1 -1
  32. package/dist/lib/model-registry.d.ts +2 -4
  33. package/dist/lib/model-registry.js +1 -1
  34. package/dist/lib/persistent-env.js +1 -1
  35. package/dist/lib/program.js +1 -1
  36. package/dist/lib/secret-store.js +1 -1
  37. package/dist/lib/tool-manager.d.ts +8 -0
  38. package/dist/lib/tool-manager.js +1 -1
  39. package/dist/lib/tools/antigravity.js +1 -1
  40. package/dist/lib/tools/claude-code.js +1 -1
  41. package/dist/lib/tools/claude-desktop.js +1 -1
  42. package/dist/lib/tools/claude-plugins.d.ts +8 -13
  43. package/dist/lib/tools/claude-plugins.js +1 -1
  44. package/dist/lib/tools/codex-catalog.d.ts +1 -1
  45. package/dist/lib/tools/codex-catalog.js +1 -1
  46. package/dist/lib/tools/codex.js +1 -1
  47. package/dist/lib/tools/elevated-reg.js +1 -1
  48. package/dist/lib/tools/grok.js +1 -1
  49. package/dist/lib/tools/openclaw.js +1 -1
  50. package/dist/lib/tools/tool-installs.d.ts +2 -2
  51. package/dist/lib/tools/tool-installs.js +1 -1
  52. package/dist/lib/tools/types.js +1 -1
  53. package/dist/lib/windows-env.js +1 -1
  54. package/dist/lib/wizard.js +1 -1
  55. package/dist/locales/en_US.json +105 -97
  56. package/dist/locales/zh_CN.json +105 -97
  57. package/dist/models.json +1 -27
  58. package/dist/utils/logger.js +1 -1
  59. package/models.json +1 -27
  60. package/package.json +2 -1
@@ -2,23 +2,23 @@
2
2
  "cli": {
3
3
  "error_unknown": "Unknown command: {{command}}",
4
4
  "error_general": "Error:",
5
- "unknown_hint": "Next: run vibecli --help to see the available commands",
6
- "unknown_hint_suggestion": "Did you mean vibecli {{command}}?",
5
+ "unknown_hint": "Next: run {{cli}} --help to see the available commands",
6
+ "unknown_hint_suggestion": "Did you mean {{cli}} {{command}}?",
7
7
  "err_unknown_option": "Unknown option: {{name}}",
8
8
  "err_missing_argument": "Missing argument: {{name}}",
9
9
  "err_missing_option": "Missing required option: {{name}}",
10
- "unknown_option_hint": "Next: run vibecli {{command}} --help to see the correct usage"
10
+ "unknown_option_hint": "Next: run {{cli}} {{command}} --help to see the correct usage"
11
11
  },
12
12
  "lang": {
13
13
  "current": "Current language",
14
- "show_usage": "vibecli lang show - Show current language",
15
- "set_usage": "vibecli lang set <zh_CN|en_US> - Set language",
14
+ "show_usage": "{{cli}} lang show - Show current language",
15
+ "set_usage": "{{cli}} lang set <zh_CN|en_US> - Set language",
16
16
  "changed": "Language changed from {{from}} to {{to}}",
17
17
  "invalid": "Unsupported language: {{lang}}",
18
18
  "available": "Available languages"
19
19
  },
20
20
  "auth": {
21
- "set_usage": "vibecli auth <token> - Set API key",
21
+ "set_usage": "{{cli}} auth <token> - Set API key",
22
22
  "token_prompt": "Enter API key",
23
23
  "token_required": "API key cannot be empty",
24
24
  "saved": "API key saved",
@@ -27,14 +27,14 @@
27
27
  "not_revoked": "Revoke operation cancelled",
28
28
  "get_api_key_hint": "To obtain API Key, please visit: {{url}}",
29
29
  "reload_tool_not_supported": "Reloading {{tool}} is not supported",
30
- "reload_missing_config": "No saved API key yet; run vibecli setup --key <your key> first",
30
+ "reload_missing_config": "No saved API key yet; run {{cli}} setup --key <your key> first",
31
31
  "reloading": "Writing the config to {{tool}} again…",
32
32
  "reloaded": "Config written to {{tool}} again",
33
- "reload_failed": "Failed to write the config; see vibecli logs tail"
33
+ "reload_failed": "Failed to write the config; see {{cli}} logs tail"
34
34
  },
35
35
  "wizard": {
36
36
  "banner_subtitle": "Manage Your Claude Code and Other Coding Tools",
37
- "welcome": "Welcome to VibeCLI!",
37
+ "welcome": "Welcome to {{product}}!",
38
38
  "privacy_note": "We value your privacy. All configurations are stored locally only.",
39
39
  "select_language": "Select interface language",
40
40
  "input_api_key": "Enter API key",
@@ -90,8 +90,8 @@
90
90
  "menu_config_tool": "Coding Tool Configuration (Apply API to Claude Code/Codex and more)",
91
91
  "menu_exit": "Exit",
92
92
  "select_operation": "Select operation:",
93
- "goodbye_message": "Goodbye! Configure a tool with VibeCLI, then run its command in your terminal to start coding!",
94
- "lang_auto_zh": "Detected a Chinese system locale; using the Chinese interface automatically (switch anytime via the main menu or vibecli lang set).",
93
+ "goodbye_message": "Goodbye! Configure a tool with {{product}}, then run its command in your terminal to start coding!",
94
+ "lang_auto_zh": "Detected a Chinese system locale; using the Chinese interface automatically (switch anytime via the main menu or {{cli}} lang set).",
95
95
  "goodbye_message_tools": "Goodbye! Type {{commands}} in your terminal to start coding!",
96
96
  "goodbye_claude_hint": "You can also install the Claude extension in VSCode to use Claude Code.",
97
97
  "nav_return": "Return",
@@ -101,7 +101,7 @@
101
101
  "hint_navigate": "↑↓ Navigate",
102
102
  "hint_confirm": "Enter Confirm",
103
103
  "detected_config_title": "Claude Code Current Configuration",
104
- "vibecli_config_title": "Vibecli Configuration",
104
+ "cli_config_title": "{{product}} Configuration",
105
105
  "claude_code_config_title": "Claude Code Current Global Configuration",
106
106
  "config_synced": "Configuration synced",
107
107
  "config_out_of_sync": "Configuration out of sync, refresh recommended",
@@ -116,7 +116,7 @@
116
116
  "api_key_valid": "API Key is valid",
117
117
  "api_key_success_hint": "Entering main menu...",
118
118
  "api_key_invalid": "API Key is invalid or expired",
119
- "api_key_network_error": "Network error, please check your connection; you can also run vibecli base to switch to another gateway address",
119
+ "api_key_network_error": "Network error, please check your connection; you can also run {{cli}} base to switch to another gateway address",
120
120
  "please_config_api_key_first": "Please configure a valid API Key first",
121
121
  "please_reconfig_api_key": "Please reconfigure your API Key",
122
122
  "select_model_config": "Select model",
@@ -191,23 +191,23 @@
191
191
  "installed_tools": "Installed tools",
192
192
  "tool_outdated": "below the minimum version {{min}}",
193
193
  "tool_duplicates": "other copies: {{others}}",
194
- "run_upgrade": "run vibecli upgrade {{tool}} to fix",
194
+ "run_upgrade": "run {{cli}} upgrade {{tool}} to fix",
195
195
  "claude_config": "Claude Code config",
196
- "claude_managed": "Managed settings override what VibeCLI writes ({{detail}}); they usually come from your company's IT, ask your administrator",
197
- "claude_not_configured": "~/.claude/settings.json has no VibeAPI address or key; run vibecli setup --key <your key>",
198
- "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 --key <your key> again",
196
+ "claude_managed": "Managed settings override what {{product}} writes ({{detail}}); they usually come from your company's IT, ask your administrator",
197
+ "claude_not_configured": "~/.claude/settings.json has no {{brand}} address or key; run {{cli}} setup --key <your key>",
198
+ "claude_config_changed": "The address or key in ~/.claude/settings.json differs from what {{product}} saved (another tool may have changed it); run {{cli}} setup --key <your key> again",
199
199
  "claude_request": "Claude Code request",
200
200
  "check_claude_request": "Sending a test request through Claude Code",
201
201
  "claude_request_skipped": "claude command not found",
202
202
  "claude_request_failed": "Request failed: {{reason}}",
203
203
  "deep_hint": "Add --deep to send one real request through Claude Code (uses a little credit) and confirm the whole chain works",
204
204
  "codex_auth": "Codex token",
205
- "codex_stale_bearer": "~/.codex/config.toml has experimental_bearer_token under [model_providers.custom] (usually PROXY_MANAGED left by cc-switch's proxy mode); Codex sends it as the token and gets 401 Invalid token. vibecli setup --key <your key> removes it",
206
- "codex_chatgpt_login": "Codex is signed in with a ChatGPT account and sends that credential to VibeAPI (401 Invalid token); run vibecli setup --key <your key> to switch back to the key",
205
+ "codex_stale_bearer": "~/.codex/config.toml has experimental_bearer_token under [model_providers.custom] (usually PROXY_MANAGED left by cc-switch's proxy mode); Codex sends it as the token and gets 401 Invalid token. {{cli}} setup --key <your key> removes it",
206
+ "codex_chatgpt_login": "Codex is signed in with a ChatGPT account and sends that credential to {{brand}} (401 Invalid token); run {{cli}} setup --key <your key> to switch back to the key",
207
207
  "claude_login": "Claude account login",
208
208
  "check_other_addresses": "Testing other gateway addresses",
209
209
  "other_addresses": "Other gateway addresses",
210
- "other_addresses_found": "These addresses work: {{urls}}. Run vibecli base auto to move every tool to one of them",
210
+ "other_addresses_found": "These addresses work: {{urls}}. Run {{cli}} base auto to move every tool to one of them",
211
211
  "other_addresses_none": "None of the other gateway addresses can be reached either; check your network or proxy",
212
212
  "check_client_config": "Checking the gateway model config...",
213
213
  "client_config": "Gateway model config",
@@ -238,9 +238,9 @@
238
238
  "args": "Arguments:",
239
239
  "first_run": "First run detected, starting initialization wizard...",
240
240
  "config_saved": "Configuration saved",
241
- "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.",
241
+ "env_vars_cleared": "Detected {{vars}} in your shell environment and removed them (they would override the config {{product}} writes). Restart your terminal to apply the shell profile change.",
242
242
  "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",
243
- "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"
243
+ "env_vars_machine_left": "System environment variables still define {{vars}}; removing them needs admin rights: run {{cli}} again from an elevated terminal, or delete them under System Properties → Environment Variables → System variables"
244
244
  },
245
245
  "config": {
246
246
  "profile_list_title": "Profiles",
@@ -260,7 +260,7 @@
260
260
  "preset_not_found": "Custom preset not found: {{name}}",
261
261
  "backup_created": "Backup created: {{path}}",
262
262
  "backup_restored": "Backup restored: {{name}}",
263
- "backup_restore_missing_name": "Specify a backup name: vibecli config backup restore <name> (see names with vibecli config backup list)",
263
+ "backup_restore_missing_name": "Specify a backup name: {{cli}} config backup restore <name> (see names with {{cli}} config backup list)",
264
264
  "profile_delete_confirm": "Delete profile {{name}}? This removes its stored API keys.",
265
265
  "profile_delete_dry_run": "Would delete profile {{name}}",
266
266
  "profile_delete_aborted": "Profile deletion cancelled",
@@ -268,7 +268,7 @@
268
268
  "backup_restore_dry_run": "Would restore backup {{name}}",
269
269
  "backup_restore_aborted": "Backup restore cancelled",
270
270
  "unknown_command": "Unknown command: {{command}}",
271
- "usage_hint": "Usage: vibecli config [profile|preset|backup|tool-model|<tool-name>] [...]",
271
+ "usage_hint": "Usage: {{cli}} config [profile|preset|backup|tool-model|<tool-name>] [...]",
272
272
  "unknown_action": "Unknown action: {{action}}",
273
273
  "unknown_tool": "Unknown tool: {{tool}}",
274
274
  "empty_list": "no entries",
@@ -276,7 +276,7 @@
276
276
  "tool_model_list_title": "Per-tool model overrides",
277
277
  "tool_model_set": "Set {{slot}} model for {{tool}} to {{model}}",
278
278
  "tool_model_cleared": "Cleared model override for {{tool}}",
279
- "tool_model_usage": "Usage: vibecli config tool-model set <tool> [slot] <model>",
279
+ "tool_model_usage": "Usage: {{cli}} config tool-model set <tool> [slot] <model>",
280
280
  "confirm_restore": "Restore {{tool}} to before the last change? (the current state is backed up first)",
281
281
  "config_restored": "{{tool}} config restored",
282
282
  "restore_no_backup": "{{tool}} has no backup to restore",
@@ -287,7 +287,7 @@
287
287
  "clear_model_unsupported": "{{tool}} does not support clearing model settings",
288
288
  "clear_model_restart_hint": "Restart {{tool}} to apply (your API key, hooks and MCP config were left untouched)",
289
289
  "confirm_force": "Reset {{tool}}? Its config files are snapshotted, deleted, and rewritten from the recommended configuration (fields you added by hand are lost; undo with restore)",
290
- "force_done": "Reset {{tool}}'s config files (originals snapshotted; undo with `vibecli config {{tool}} restore`)"
290
+ "force_done": "Reset {{tool}}'s config files (originals snapshotted; undo with `{{cli}} config {{tool}} restore`)"
291
291
  },
292
292
  "logs": {
293
293
  "directory": "Logs directory: {{dir}}",
@@ -295,10 +295,10 @@
295
295
  "no_files": "No log files yet"
296
296
  },
297
297
  "completion": {
298
- "header": "# VibeCLI shell completion",
299
- "instructions_bash": "Save this output to ~/.vibecli-completion.bash and add 'source ~/.vibecli-completion.bash' to your shell rc.",
300
- "instructions_zsh": "Save this output to ~/.vibecli-completion.zsh and add 'source ~/.vibecli-completion.zsh' to your shell rc.",
301
- "instructions_fish": "Save this output to ~/.config/fish/completions/vibecli.fish",
298
+ "header": "# {{product}} shell completion",
299
+ "instructions_bash": "Save this output to ~/.{{cli}}-completion.bash and add 'source ~/.{{cli}}-completion.bash' to your shell rc.",
300
+ "instructions_zsh": "Save this output to ~/.{{cli}}-completion.zsh and add 'source ~/.{{cli}}-completion.zsh' to your shell rc.",
301
+ "instructions_fish": "Save this output to ~/.config/fish/completions/{{cli}}.fish",
302
302
  "unsupported_shell": "Unsupported shell: {{shell}} (supported: bash, zsh, fish)"
303
303
  },
304
304
  "bench": {
@@ -310,7 +310,7 @@
310
310
  "min": "min",
311
311
  "max": "max",
312
312
  "errors": "errors",
313
- "missing_api_key": "No API key saved yet; run vibecli auth <your key> first"
313
+ "missing_api_key": "No API key saved yet; run {{cli}} auth <your key> first"
314
314
  },
315
315
  "update": {
316
316
  "checking": "Checking for updates...",
@@ -321,8 +321,8 @@
321
321
  "available": "A new version is available",
322
322
  "fetch_failed": "Failed to fetch latest version: {{error}}",
323
323
  "command_hint": "Run: {{command}}",
324
- "auto_installing": "Updating VibeCLI to {{version}}...",
325
- "auto_installed": "Updated VibeCLI to {{version}}; restarting current command...",
324
+ "auto_installing": "Updating {{product}} to {{version}}...",
325
+ "auto_installed": "Updated {{product}} to {{version}}; restarting current command...",
326
326
  "auto_failed": "Automatic update failed ({{error}}); continuing with the installed version",
327
327
  "reexec_failed": "Updated successfully but could not restart ({{error}}); continuing with the current process"
328
328
  },
@@ -332,10 +332,10 @@
332
332
  "non_interactive_aborted": "Aborted - missing required input"
333
333
  },
334
334
  "setup": {
335
- "usage": "Usage: vibecli setup --key sk-xxx or vibecli setup --claudekey sk-a --codexkey sk-b … (per-tool keys: see vibecli setup --help) or vibecli setup --1m|--no-1m or vibecli setup --claude-official on|off",
335
+ "usage": "Usage: {{cli}} setup --key sk-xxx or {{cli}} setup --claudekey sk-a --codexkey sk-b … (per-tool keys: see {{cli}} setup --help) or {{cli}} setup --1m|--no-1m or {{cli}} setup --claude-official on|off",
336
336
  "codex_1m_enabled": "Codex 1M context is enabled",
337
337
  "codex_1m_disabled": "Codex 1M context is disabled",
338
- "codex_1m_missing_key": "No saved Codex API key was found; run vibecli setup --codexkey <your key> (or --key) first",
338
+ "codex_1m_missing_key": "No saved Codex API key was found; run {{cli}} setup --codexkey <your key> (or --key) first",
339
339
  "validating": "Validating API key for {{label}}...",
340
340
  "unreachable": "Cannot reach the gateway address {{url}} ({{reason}})",
341
341
  "invalid_key": "API key for {{label}} is invalid: {{reason}}",
@@ -352,8 +352,8 @@
352
352
  "apply_failed": "Failed to write {{tool}} config: {{reason}}",
353
353
  "install_hint": "{{tool}} not found; install it with {{install}}",
354
354
  "done": "Done: {{count}} tool(s) configured. ",
355
- "skip_desktop_not_installed": "Claude Desktop is not installed; skipped (after installing, run vibecli setup --desktopkey sk-xxx or use the wizard)",
356
- "desktop_official_login_missing_key": "No saved Claude Desktop API key found; run vibecli setup --desktopkey <your key> (or --key) first",
355
+ "skip_desktop_not_installed": "Claude Desktop is not installed; skipped (after installing, run {{cli}} setup --desktopkey sk-xxx or use the wizard)",
356
+ "desktop_official_login_missing_key": "No saved Claude Desktop API key found; run {{cli}} setup --desktopkey <your key> (or --key) first",
357
357
  "claude_official_invalid": "Invalid value for --claude-official: {{value}} (expected on or off)",
358
358
  "done_commands": "Type {{commands}} in your terminal to start",
359
359
  "failed_summary": "{{count}} tool(s) failed; see above",
@@ -363,8 +363,14 @@
363
363
  "restart_failed": "Could not restart {{tool}}; quit it completely and open it again",
364
364
  "elevation_running": "Click Yes in the Windows prompt…",
365
365
  "elevation_done": "{{tool}} registry updated",
366
- "elevation_failed": "Could not update {{tool}}'s registry (prompt declined, or this account is not an administrator): open PowerShell as administrator and run vibecli setup --desktopkey <your key>",
367
- "desktop_registry_invalid": "--desktop-registry takes on or off, got {{value}}"
366
+ "elevation_failed": "Could not update {{tool}}'s registry (prompt declined, or this account is not an administrator): open PowerShell as administrator and run {{cli}} setup --desktopkey <your key>",
367
+ "desktop_registry_invalid": "--desktop-registry takes on or off, got {{value}}",
368
+ "install_confirm": "{{tools}} not installed yet. Install from the China mirrors now?",
369
+ "install_all_hint": "Or run {{cli}} setup --key <your key> --install to install them all",
370
+ "still_missing": "{{tools}} still not installed; run the commands above to install",
371
+ "path_reload": "Run exec \"$SHELL\" -l in this window (or open a new terminal) to use {{commands}}",
372
+ "path_reload_windows": "Open a new terminal to use {{commands}}",
373
+ "list_separator": ", "
368
374
  },
369
375
  "tools": {
370
376
  "version_outdated": "version {{current}} is too old (needs {{min}} or later); upgrade with {{upgrade}}",
@@ -378,7 +384,7 @@
378
384
  },
379
385
  "codex": {
380
386
  "catalog_written": "{{count}} models in the menu ({{breakdown}}); reopen the Codex desktop app to see them",
381
- "catalog_skipped": "Couldn't read Codex's built-in model list (not installed, or older than 0.122), so the menu has GPT models only; run vibecli upgrade codex, then vibecli config codex --non-interactive"
387
+ "catalog_skipped": "Couldn't read Codex's built-in model list (not installed, or older than 0.122), so the menu has GPT models only; run {{cli}} upgrade codex, then {{cli}} config codex --non-interactive"
382
388
  },
383
389
  "claude_desktop": {
384
390
  "restart_hint": "Fully quit Claude Desktop and reopen it for the change to take effect",
@@ -387,25 +393,25 @@
387
393
  "models_written_gateway": "Wrote {{count}} models (1M flags from the gateway group table, matched groups: {{groups}}): {{list}}",
388
394
  "models_written_fallback": "Wrote {{count}} models (gateway group table unavailable or no group matched; 1M flags from built-in rules): {{list}}",
389
395
  "models_written_slots": "Wrote {{count}} models (offline: from the profile's model slots, gateway model list not fetched): {{list}}",
390
- "official_login_hidden": "The official Claude.ai sign-in entry is hidden; the desktop is gateway-only. Run vibecli setup --claude-official on to bring it back",
391
- "official_login_shown": "The official Claude.ai sign-in entry stays visible, so users can switch between the gateway and their own account. Run vibecli setup --claude-official off to hide it",
396
+ "official_login_hidden": "The official Claude.ai sign-in entry is hidden; the desktop is gateway-only. Run {{cli}} setup --claude-official on to bring it back",
397
+ "official_login_shown": "The official Claude.ai sign-in entry stays visible, so users can switch between the gateway and their own account. Run {{cli}} setup --claude-official off to hide it",
392
398
  "models_summary": "{{count}} Claude models, default {{default}}",
393
399
  "registry_denied": "No administrator rights, registry backstop skipped; there are no old registry settings, so the local config applies",
394
400
  "policy_stale_remove": "Claude Desktop still uses old registry settings (most likely from the .reg file downloaded from the gateway page), which override the new config; removing them needs one administrator confirmation, after which updates need none",
395
401
  "policy_stale_write": "Claude Desktop still uses old registry settings (most likely from the .reg file downloaded from the gateway page); writing the new config there needs one administrator confirmation",
396
402
  "elevate_remove": "Remove the old registry settings? Windows asks for administrator confirmation once; later updates won't need it",
397
403
  "elevate_write": "Write the new config to the registry? Windows asks for administrator confirmation once",
398
- "refresh_needs_admin": "Claude Desktop's model list lives in the registry and needs administrator confirmation to change: run vibecli setup --desktopkey <your key> and confirm"
404
+ "refresh_needs_admin": "Claude Desktop's model list lives in the registry and needs administrator confirmation to change: run {{cli}} setup --desktopkey <your key> and confirm"
399
405
  },
400
406
  "claude_code": {
401
407
  "gateway_models": "{{count}} more models added to /model ({{vendors}})",
402
408
  "tier_fallback": "This key can't use Claude Code's default {{from}}; the {{tier}} alias now uses {{to}}",
403
409
  "stable_channel": "Your update channel in settings.json is stable, which may not have reached {{min}} yet; set autoUpdatesChannel to latest, then upgrade",
404
- "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",
410
+ "managed_override": "Claude Code managed settings found ({{source}}); {{keys}} there override what {{product}} writes, so this config won't take effect. Managed settings usually come from your company's IT; ask your administrator",
405
411
  "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/)",
406
412
  "plugins_installed": "{{count}} official plugins installed (code review, feature dev, frontend design, …); type / to see them",
407
- "plugins_failed": "Official plugins could not be installed (GitHub unreachable, most likely); everything else works. Run vibecli config claude-code --non-interactive again later",
408
- "account_login_overridden": "Claude Code on this computer is signed in to a Claude account; the VibeAPI token VibeCLI writes takes precedence, so Claude Code uses VibeAPI. To go back to the account, remove the VibeAPI config with vibecli config claude-code"
413
+ "plugins_failed": "Official plugins could not be installed (GitHub unreachable, most likely); everything else works. Run {{cli}} config claude-code --non-interactive again later",
414
+ "account_login_overridden": "Claude Code on this computer is signed in to a Claude account; the {{brand}} token {{product}} writes takes precedence, so Claude Code uses {{brand}}. To go back to the account, remove the {{brand}} config with {{cli}} config claude-code"
409
415
  },
410
416
  "model_family": {
411
417
  "gpt": "GPT",
@@ -422,7 +428,7 @@
422
428
  "brew": "Homebrew",
423
429
  "other": "other"
424
430
  },
425
- "unsupported": "vibecli upgrade does not support {{tool}}",
431
+ "unsupported": "{{cli}} upgrade does not support {{tool}}",
426
432
  "supported": "Supported tools: {{tools}}",
427
433
  "nothing_installed": "None of {{tools}} is installed",
428
434
  "current": "Current: {{copy}}",
@@ -431,7 +437,7 @@
431
437
  "unknown_install": "Unknown install source ({{path}}); upgrade it the way it was installed",
432
438
  "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",
433
439
  "duplicates": "Several copies of {{tool}}: keeping {{keep}}; extra: {{others}}",
434
- "duplicates_note": "{{count}} copies found; the terminal runs {{active}}; also present: {{others}}. Run vibecli upgrade {{tool}} to upgrade and keep one",
440
+ "duplicates_note": "{{count}} copies found; the terminal runs {{active}}; also present: {{others}}. Run {{cli}} upgrade {{tool}} to upgrade and keep one",
435
441
  "confirm_remove": "Remove the extra copies?",
436
442
  "removed": "Removed {{copy}}",
437
443
  "remove_by_hand": "Remove by hand: {{how}}",
@@ -453,47 +459,47 @@
453
459
  "user_cancelled": "Installation cancelled",
454
460
  "still_not_installed": "{{tool}} still not found; make sure it installed and open a new terminal",
455
461
  "verified_success": "Found {{tool}}, continuing",
456
- "install_failed_detail": "Installation did not finish; see the output above or vibecli logs tail"
462
+ "install_failed_detail": "Installation did not finish; see the output above or {{cli}} logs tail"
457
463
  },
458
464
  "model_refresh": {
459
- "changed": "{{tool}} model menu synced with VibeAPI: {{changes}}",
465
+ "changed": "{{tool}} model menu synced with {{brand}}: {{changes}}",
460
466
  "added": "added {{models}}",
461
467
  "removed": "removed {{models}}"
462
468
  },
463
469
  "codex_sessions": {
464
- "codex_running": "Codex is still running (PIDs {{pids}}) and would overwrite the change: quit Codex completely (desktop app and background server included), then run vibecli codex sessions",
470
+ "codex_running": "Codex is still running (PIDs {{pids}}) and would overwrite the change: quit Codex completely (desktop app and background server included), then run {{cli}} codex sessions",
465
471
  "nothing": "Scanned {{scanned}} sessions; all are already under \"{{target}}\"",
466
472
  "dry_run": "Would move {{count}} sessions from \"{{from}}\" to \"{{target}}\" (dry run, nothing changed)",
467
- "moved": "Moved {{count}} sessions from \"{{from}}\" to \"{{target}}\"; reopen Codex to see them. Run vibecli codex sessions again after switching login back",
468
- "db_skipped": "Codex's database was not updated ({{reason}}); session files were. Upgrade Node.js to 22.13+ and run vibecli codex sessions again",
469
- "backup": "Backup and undo record in {{dir}}; undo with vibecli codex sessions --undo <that dir>",
473
+ "moved": "Moved {{count}} sessions from \"{{from}}\" to \"{{target}}\"; reopen Codex to see them. Run {{cli}} codex sessions again after switching login back",
474
+ "db_skipped": "Codex's database was not updated ({{reason}}); session files were. Upgrade Node.js to 22.13+ and run {{cli}} codex sessions again",
475
+ "backup": "Backup and undo record in {{dir}}; undo with {{cli}} codex sessions --undo <that dir>",
470
476
  "undone": "Restored {{files}} session files and {{rows}} database rows"
471
477
  },
472
478
  "base": {
473
479
  "current": "Current gateway address: {{url}}",
474
480
  "current_mark": "current",
475
481
  "custom_label": "Custom address",
476
- "usage_hint": "Switch: vibecli base <number or address>; first working one in the order above (not the fastest; the main site whenever possible): vibecli base auto; back to the main site: vibecli base default",
482
+ "usage_hint": "Switch: {{cli}} base <number or address>; first working one in the order above (not the fastest; the main site whenever possible): {{cli}} base auto; back to the main site: {{cli}} base default",
477
483
  "switched": "Switched to {{url}}",
478
484
  "kept": "{{url}} works and is saved",
479
- "no_tools": "No tool on this computer was configured by VibeCLI, so only the address was saved and nothing else changed. In tools you set up by hand, replace www.vibeapi.cn with {{url}}; or run vibecli setup --key <your key> to let VibeCLI configure them (it rewrites their VibeAPI settings, backing them up first)",
485
+ "no_tools": "No tool on this computer was configured by {{product}}, so only the address was saved and nothing else changed. In tools you set up by hand, replace {{siteHost}} with {{url}}; or run {{cli}} setup --key <your key> to let {{product}} configure them (it rewrites their {{brand}} settings, backing them up first)",
480
486
  "none_reachable": "None of the gateway addresses can be reached; check your network or proxy",
481
- "bad_index": "There is no address {{index}} ({{count}} in total); run vibecli base to see the list",
482
- "bad_url": "{{value}} is not a valid address, e.g. https://www.vibeapi.si",
487
+ "bad_index": "There is no address {{index}} ({{count}} in total); run {{cli}} base to see the list",
488
+ "bad_url": "{{value}} is not a valid address, e.g. {{altSiteUrl}}",
483
489
  "unreachable": "{{url}} cannot be reached: {{reason}}. Nothing was changed",
484
490
  "error_certificate": "wrong certificate; this network may resolve the domain to another server",
485
491
  "error_timeout": "timed out",
486
492
  "error_network": "connection failed",
487
- "error_not_gateway": "the answer is not from VibeAPI",
488
- "network_hint": "If the current address cannot be reached, run vibecli base to see the others, or vibecli base auto to switch to one that works",
493
+ "error_not_gateway": "the answer is not from {{brand}}",
494
+ "network_hint": "If the current address cannot be reached, run {{cli}} base to see the others, or {{cli}} base auto to switch to one that works",
489
495
  "tools_moved": "These tools now use it:",
490
- "setup_fallback": "{{from}} cannot be reached: {{reason}}. Using {{url}} from now on; run vibecli base default to go back to the main site once the network is fine",
496
+ "setup_fallback": "{{from}} cannot be reached: {{reason}}. Using {{url}} from now on; run {{cli}} base default to go back to the main site once the network is fine",
491
497
  "models_count": "{{count}} models",
492
498
  "fastest": "fastest",
493
499
  "error_key_rejected": "key rejected (invalid or expired)",
494
- "key_rejected_everywhere": "Every address rejected this key; it may be invalid or expired, check it in the console. With a new key, run vibecli setup --key <new key>",
500
+ "key_rejected_everywhere": "Every address rejected this key; it may be invalid or expired, check it in the console. With a new key, run {{cli}} setup --key <new key>",
495
501
  "probe_with_key": "Listing models with your saved key on each address, median of 3",
496
- "probe_without_key": "No key saved yet, so only checking that the gateway answers; after vibecli setup --key <your key> the model list is fetched instead"
502
+ "probe_without_key": "No key saved yet, so only checking that the gateway answers; after {{cli}} setup --key <your key> the model list is fetched instead"
497
503
  },
498
504
  "help": {
499
505
  "help_command": "Show help for a command",
@@ -507,7 +513,7 @@
507
513
  "docs": "Online docs: {{url}}",
508
514
  "all_commands": "List every command",
509
515
  "exit_codes": "See exit codes and the --json error format",
510
- "environment": "See the environment variables VibeCLI reads"
516
+ "environment": "See the environment variables {{product}} reads"
511
517
  },
512
518
  "title": {
513
519
  "usage": "Usage:",
@@ -538,8 +544,8 @@
538
544
  "no_color": "Turn off colors"
539
545
  },
540
546
  "root": {
541
- "summary": "Set up VibeAPI keys and models across coding tools",
542
- "description": "VibeCLI sets up VibeAPI keys and models in Claude Code, Codex, Grok Build and other coding tools.\nRun vibecli without a command to open the main menu.",
547
+ "summary": "Set up {{brand}} keys and models across coding tools",
548
+ "description": "{{product}} sets up {{brand}} keys and models in Claude Code, Codex, Grok Build and other coding tools.\nRun {{cli}} without a command to open the main menu.",
543
549
  "ex": {
544
550
  "menu": "Open the main menu",
545
551
  "setup": "Configure every tool one key can serve",
@@ -566,7 +572,9 @@
566
572
  "claude_official": "Show the Claude.ai sign-in in Claude Desktop (default off)",
567
573
  "desktop_registry": "Windows Claude Desktop: always write the registry policy (on) or decide automatically (off)",
568
574
  "force": "Back up, then rewrite each config with the recommended one (fixes broken configs)",
569
- "all": "Configure every tool the key can serve (the default)"
575
+ "all": "Configure every tool the key can serve (the default)",
576
+ "install": "Install missing tools from the China mirrors without asking",
577
+ "no_install": "Only print install commands for missing tools"
570
578
  },
571
579
  "autodetect_title": "Models the --key can use → tools configured:",
572
580
  "autodetect": {
@@ -578,12 +586,12 @@
578
586
  "ex": {
579
587
  "key": "Configure every tool one key can serve",
580
588
  "split": "Separate keys for the Claude, GPT and Gemini groups",
581
- "desktop": "Configure Claude Desktop and hide the Claude.ai sign-in",
582
589
  "force": "Rewrite broken configs (backed up first)",
583
- "base": "Configure on a backup address"
590
+ "base": "Configure on a backup address",
591
+ "install": "Configure, then install whatever is missing (China mirrors)"
584
592
  },
585
593
  "when": "First setup after you get a key, or to change the key or repair broken configs.",
586
- "needs": "A VibeAPI API key (create one on the Tokens page of the console)\nClaude Code, Codex, Grok Build and Antigravity CLI can be installed later: they still get their config, plus the install command; Claude Desktop is configured only once installed (or forced with --desktopkey)",
594
+ "needs": "A {{brand}} API key (create one on the Tokens page of the console)\nClaude Code, Codex, Grok Build and Antigravity CLI can be installed later: they still get their config, plus the install command; Claude Desktop is configured only once installed (or forced with --desktopkey)",
587
595
  "alt": {
588
596
  "init": "Choose tools and models step by step",
589
597
  "config": "Change one tool only",
@@ -592,14 +600,14 @@
592
600
  },
593
601
  "init": {
594
602
  "summary": "First-time setup wizard",
595
- "description": "Walks you through entering a key, choosing tools and writing their configs.\nRun vibecli without a command to open the main menu.",
603
+ "description": "Walks you through entering a key, choosing tools and writing their configs.\nRun {{cli}} without a command to open the main menu.",
596
604
  "ex": {
597
605
  "run": "Run the setup wizard",
598
606
  "base": "Run the wizard on a backup address",
599
607
  "menu": "Open the main menu"
600
608
  },
601
609
  "when": "First use, when you want to answer questions step by step.",
602
- "needs": "A VibeAPI API key",
610
+ "needs": "A {{brand}} API key",
603
611
  "alt": {
604
612
  "setup": "No questions, or configuring from a script",
605
613
  "menu": "Already set up; change one thing"
@@ -607,7 +615,7 @@
607
615
  },
608
616
  "auth": {
609
617
  "summary": "Save or remove the API key",
610
- "description": "No argument: asks for a key.\nWith a key: checks it and saves it in ~/.vibecli/config.yaml.",
618
+ "description": "No argument: asks for a key.\nWith a key: checks it and saves it in ~/{{configDir}}/config.yaml.",
611
619
  "arg": {
612
620
  "token": "API key to save"
613
621
  },
@@ -654,9 +662,9 @@
654
662
  "preset_save": "Save the current models as a preset",
655
663
  "preset_use": "Use a preset",
656
664
  "preset_delete": "Delete a preset",
657
- "backup_list": "List backups of the VibeCLI config",
658
- "backup_create": "Back up the VibeCLI config (optional label)",
659
- "backup_restore": "Restore the VibeCLI config from a backup"
665
+ "backup_list": "List backups of the {{product}} config",
666
+ "backup_create": "Back up the {{product}} config (optional label)",
667
+ "backup_restore": "Restore the {{product}} config from a backup"
660
668
  },
661
669
  "tools_title": "Tool names:",
662
670
  "ex": {
@@ -664,10 +672,10 @@
664
672
  "force": "Rewrite the whole Claude Code config",
665
673
  "tool_model": "Use a specific model in Codex only",
666
674
  "profile": "Create a profile named work",
667
- "backup": "Back up the VibeCLI config before upgrading"
675
+ "backup": "Back up the {{product}} config before upgrading"
668
676
  },
669
677
  "when": "To adjust one tool (models, rewrite or restore its config), or manage profiles, presets and backups.",
670
- "needs": "Save a key before writing tool configs: vibecli auth <key> or vibecli setup --key <key>",
678
+ "needs": "Save a key before writing tool configs: {{cli}} auth <key> or {{cli}} setup --key <key>",
671
679
  "alt": {
672
680
  "setup": "Rewrite every tool config at once",
673
681
  "status": "Only look at the current configuration"
@@ -675,7 +683,7 @@
675
683
  },
676
684
  "base": {
677
685
  "summary": "List, test and switch the gateway address",
678
- "description": "Switch to another gateway address when the main one cannot be reached or shows certificate errors.\nTools configured with the key VibeCLI saved move to the new address too.",
686
+ "description": "Switch to another gateway address when the main one cannot be reached or shows certificate errors.\nTools configured with the key {{product}} saved move to the new address too.",
679
687
  "arg": {
680
688
  "target": "Where to switch (see below); leave out to list and test addresses"
681
689
  },
@@ -686,7 +694,7 @@
686
694
  "index_term": "<n>",
687
695
  "index": "Switch to address n in the list",
688
696
  "url_term": "<url>",
689
- "url": "Switch to this address, e.g. https://www.vibeapi.si",
697
+ "url": "Switch to this address, e.g. {{altSiteUrl}}",
690
698
  "auto": "Switch to the first working address in list order (not the fastest; prefers the main site)",
691
699
  "default": "Back to the main site {{url}}"
692
700
  },
@@ -744,14 +752,14 @@
744
752
  "json": "Print JSON"
745
753
  },
746
754
  "when": "When things feel slow, or to see the current address latency.",
747
- "needs": "A saved key (vibecli auth <key>)",
755
+ "needs": "A saved key ({{cli}} auth <key>)",
748
756
  "alt": {
749
757
  "base": "Test every address at once and switch"
750
758
  }
751
759
  },
752
760
  "logs": {
753
- "summary": "Inspect VibeCLI logs",
754
- "description": "Logs are kept per day in ~/.vibecli. When something goes wrong, send the tail output to support.",
761
+ "summary": "Inspect {{product}} logs",
762
+ "description": "Logs are kept per day in ~/{{configDir}}. When something goes wrong, send the tail output to support.",
755
763
  "arg": {
756
764
  "action": "list / tail / path (default list)",
757
765
  "file": "Log file to show with tail"
@@ -774,7 +782,7 @@
774
782
  },
775
783
  "upgrade": {
776
784
  "summary": "Upgrade Claude Code, Codex and other coding tools",
777
- "description": "Uses each tool's own updater first; if that fails, VibeAPI's install script (programs from the China mirror).\nWith no tool named, upgrades every installed one.\nTo update VibeCLI itself, use vibecli update.",
785
+ "description": "Uses each tool's own updater first; if that fails, {{brand}}'s install script (programs from the China mirror).\nWith no tool named, upgrades every installed one.\nTo update {{product}} itself, use {{cli}} update.",
778
786
  "arg": {
779
787
  "tools": "claude-code / codex / agy, one or more"
780
788
  },
@@ -783,10 +791,10 @@
783
791
  "one": "Upgrade only Claude Code",
784
792
  "many": "Upgrade Codex and Antigravity CLI"
785
793
  },
786
- "when": "When vibecli doctor reports an old version, or the tool's own updater fails.",
794
+ "when": "When {{cli}} doctor reports an old version, or the tool's own updater fails.",
787
795
  "needs": "Without tool names, only installed tools are upgraded",
788
796
  "alt": {
789
- "update": "Update VibeCLI itself"
797
+ "update": "Update {{product}} itself"
790
798
  }
791
799
  },
792
800
  "refresh": {
@@ -802,13 +810,13 @@
802
810
  }
803
811
  },
804
812
  "update": {
805
- "summary": "Check for a newer VibeCLI",
806
- "description": "Checks CNB, npmjs, npmmirror and the Yarn registry in turn and prints the install command when a newer version exists.\nA global install also checks by itself at startup (every 6 hours).",
813
+ "summary": "Check for a newer {{product}}",
814
+ "description": "Checks {{updateSources}} in turn and prints the install command when a newer version exists.\nA global install also checks by itself at startup (every 6 hours).",
807
815
  "ex": {
808
816
  "check": "Check for a new version",
809
817
  "json": "Print JSON"
810
818
  },
811
- "when": "To check that VibeCLI is the latest version.",
819
+ "when": "To check that {{product}} is the latest version.",
812
820
  "alt": {
813
821
  "upgrade": "Upgrade Claude Code, Codex and other tools"
814
822
  }
@@ -816,7 +824,7 @@
816
824
  "codex": {
817
825
  "summary": "Codex helpers",
818
826
  "description": "Helper commands for Codex.",
819
- "when": "When Codex has a problem VibeCLI can fix (currently: an empty session list)."
827
+ "when": "When Codex has a problem {{product}} can fix (currently: an empty session list)."
820
828
  },
821
829
  "codex_sessions": {
822
830
  "summary": "Bring old sessions back into the Codex list",
@@ -838,7 +846,7 @@
838
846
  },
839
847
  "lang": {
840
848
  "summary": "Change the interface language",
841
- "description": "Show or set the language VibeCLI uses (zh_CN / en_US).",
849
+ "description": "Show or set the language {{product}} uses (zh_CN / en_US).",
842
850
  "show": "Show the current language",
843
851
  "set": "Set the language: zh_CN or en_US",
844
852
  "ex": {
@@ -863,7 +871,7 @@
863
871
  "zsh": "Zsh completion",
864
872
  "fish": "Fish completion"
865
873
  },
866
- "when": "To complete VibeCLI commands with the Tab key.",
874
+ "when": "To complete {{product}} commands with the Tab key.",
867
875
  "needs": "bash, zsh or fish"
868
876
  },
869
877
  "enter": {
@@ -879,7 +887,7 @@
879
887
  "lang": "Language",
880
888
  "apikey": "API key",
881
889
  "models": "Models",
882
- "tool": "That tool's settings menu (same as vibecli config <tool>)"
890
+ "tool": "That tool's settings menu (same as {{cli}} config <tool>)"
883
891
  },
884
892
  "ex": {
885
893
  "menu": "Open the main menu",
@@ -894,7 +902,7 @@
894
902
  },
895
903
  "doc": {
896
904
  "generated_note": "Generated by pnpm gen:docs; do not edit. Change commands and texts in src/lib/program.ts and src/locales/*.json",
897
- "title": "VibeCLI command reference",
905
+ "title": "{{product}} command reference",
898
906
  "docs_link": "Online: {{url}}",
899
907
  "global_note": "Global options work with every command.",
900
908
  "option": "Option",
@@ -910,9 +918,9 @@
910
918
  },
911
919
  "errors": {
912
920
  "next_step": "Next: {{command}}",
913
- "hint_logs": "Next: run vibecli logs tail to inspect the detailed log",
921
+ "hint_logs": "Next: run {{cli}} logs tail to inspect the detailed log",
914
922
  "cancelled": "Operation cancelled",
915
- "cancel_hint": "Next: run vibecli to start again"
923
+ "cancel_hint": "Next: run {{cli}} to start again"
916
924
  },
917
925
  "help_topics": {
918
926
  "exit_codes": {
@@ -921,7 +929,7 @@
921
929
  },
922
930
  "environment": {
923
931
  "title": "Environment variables",
924
- "body": "VibeCLI reads these environment variables:\n VIBECLI_DISABLE_AUTO_UPDATE=1 disable the startup update check\n VIBECLI_DISABLE_MODEL_REFRESH=1 disable the startup model refresh\n VIBECLI_CONFIG_DIR=<directory> set the VibeCLI config directory\n VIBECLI_SKIP_AUTO_UPDATE=1 skip the update check for this run\n NO_COLOR=1 disable colors\n FORCE_COLOR=0 disable colors (FORCE_COLOR=false also works)"
932
+ "body": "{{product}} reads these environment variables:\n {{envPrefix}}_DISABLE_AUTO_UPDATE=1 disable the startup update check\n {{envPrefix}}_DISABLE_MODEL_REFRESH=1 disable the startup model refresh\n {{envPrefix}}_CONFIG_DIR=<directory> set the {{product}} config directory\n {{envPrefix}}_SKIP_AUTO_UPDATE=1 skip the update check for this run\n NO_COLOR=1 disable colors\n FORCE_COLOR=0 disable colors (FORCE_COLOR=false also works)"
925
933
  }
926
934
  },
927
935
  "refresh": {