@vibeapi/api-helper 0.0.124 → 0.0.126

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.
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "cli": {
3
3
  "error_unknown": "Unknown command: {{command}}",
4
- "error_general": "Error:",
5
4
  "unknown_hint": "Next: run {{cli}} --help to see the available commands",
6
5
  "unknown_hint_suggestion": "Did you mean {{cli}} {{command}}?",
7
6
  "err_unknown_option": "Unknown option: {{name}}",
8
7
  "err_missing_argument": "Missing argument: {{name}}",
9
8
  "err_missing_option": "Missing required option: {{name}}",
10
- "unknown_option_hint": "Next: run {{cli}} {{command}} --help to see the correct usage"
9
+ "unknown_option_hint": "Next: run {{cli}} {{command}} --help to see the correct usage",
10
+ "unknown_option_hint_root": "Next: run {{cli}} --help to see the correct usage"
11
11
  },
12
12
  "lang": {
13
13
  "current": "Current language",
@@ -18,34 +18,30 @@
18
18
  "available": "Available languages"
19
19
  },
20
20
  "auth": {
21
- "set_usage": "{{cli}} auth <token> - Set API key",
22
21
  "token_prompt": "Enter API key",
23
22
  "token_required": "API key cannot be empty",
24
23
  "saved": "API key saved",
25
- "revoke_confirm": "Are you sure you want to revoke the API key?",
26
- "revoked": "API key revoked",
24
+ "revoke_confirm": "Delete the API keys saved in this profile (including per-tool keys)?",
25
+ "revoked": "Saved API keys deleted",
27
26
  "not_revoked": "Revoke operation cancelled",
28
- "get_api_key_hint": "To obtain API Key, please visit: {{url}}",
29
27
  "reload_tool_not_supported": "Reloading {{tool}} is not supported",
30
28
  "reload_missing_config": "No saved API key yet; run {{cli}} setup --key <your key> first",
31
29
  "reloading": "Writing the config to {{tool}} again…",
32
30
  "reloaded": "Config written to {{tool}} again",
33
- "reload_failed": "Failed to write the config; see {{cli}} logs tail"
31
+ "reload_failed": "Failed to write the config:"
34
32
  },
35
33
  "wizard": {
36
34
  "banner_subtitle": "Manage Your Claude Code and Other Coding Tools",
37
35
  "welcome": "Welcome to {{product}}!",
38
- "privacy_note": "We value your privacy. All configurations are stored locally only.",
36
+ "privacy_note": "Configs and API keys stay on this computer; usage statistics (commands and error messages, never keys) go to {{brand}}. Set {{envPrefix}}_TELEMETRY=0 to turn them off.",
39
37
  "select_language": "Select interface language",
40
38
  "input_api_key": "Enter API key",
41
39
  "api_key_input_hint": "Please enter your API Key (input will be hidden)",
42
40
  "input_your_api_key": "Please input your API key here, Enter to confirm:",
43
- "update_api_key": "Update API key",
44
41
  "api_key_required": "API key cannot be empty",
45
42
  "select_tool": "Select coding tool to configure",
46
43
  "tool_not_installed": "{{tool}} is not installed",
47
44
  "install_tool_confirm": "Install now?",
48
- "installing_tool": "Installing tool...",
49
45
  "tool_installed": "Tool installed successfully",
50
46
  "install_failed": "Installation failed",
51
47
  "install_skipped": "Installation skipped. You can install manually later.",
@@ -55,10 +51,6 @@
55
51
  "action_load_config": "Apply Configuration - (Apply your API configuration to {{tool}})",
56
52
  "action_unload_config": "Remove Configuration - (Remove API configuration from {{tool}})",
57
53
  "action_clear_model": "Clear Model Settings - (Let {{tool}} use its built-in default; API key kept)",
58
- "action_view_config": "Current Configuration",
59
- "action_back": "Back",
60
- "action_exit": "Exit",
61
- "goodbye": "Goodbye!",
62
54
  "loading_config": "Applying configuration...",
63
55
  "run_tool_hint": "✅ Now run `{{command}}` to start using your config",
64
56
  "config_failed": "Failed to load configuration",
@@ -67,56 +59,26 @@
67
59
  "unloading_config": "Removing configuration...",
68
60
  "config_unloaded": "Configuration removed",
69
61
  "config_unload_failed": "Failed to remove configuration",
70
- "tool_not_supported": "This operation is not supported for this tool",
71
- "missing_config": "Missing required configuration (API key)",
72
- "current_config": "Current Configuration",
73
- "config_language": "Interface Language",
74
- "config_api_key": "API Key",
75
62
  "config_models": "Model Configuration",
76
- "config_title": "Configuration",
77
63
  "not_set": "Not set",
78
64
  "press_enter": "Press Enter to continue",
79
- "main_menu_title": "Main Menu",
80
- "current_config_status": "Current Configuration Status:",
81
- "api_key_set": "Set",
82
65
  "api_key_get_hint": "To obtain API Key, please visit: {{url}}",
83
66
  "menu_config_language": "Language",
84
67
  "menu_change_api_key": "Change API Key",
85
- "menu_load_to_tool": "Apply config to a tool",
86
- "current_model": "Current model",
87
68
  "settings": "Settings",
88
- "menu_config_api_key": "API Key Configuration",
89
- "menu_config_models": "Model Configuration (Configure Haiku/Sonnet/Opus/Reasoning models)",
90
- "menu_config_tool": "Coding Tool Configuration (Apply API to Claude Code/Codex and more)",
91
- "menu_exit": "Exit",
92
- "select_operation": "Select operation:",
93
- "goodbye_message": "Goodbye! No tool is configured yet; when you need one, run {{cli}} setup --key <your key>",
94
- "lang_auto_zh": "Detected a Chinese system locale; using the Chinese interface automatically (switch anytime via the main menu or {{cli}} lang set).",
69
+ "goodbye_message": "Goodbye! To configure more tools, run {{cli}} setup --key <your key>",
70
+ "lang_auto_zh": "Detected a Chinese system locale; using the Chinese interface automatically (switch anytime via the main menu or {{cli}} lang set en_US).",
95
71
  "goodbye_message_tools": "Goodbye! Type {{commands}} in your terminal to start coding!",
96
72
  "goodbye_claude_hint": "You can also install the Claude extension in VSCode to use Claude Code.",
97
73
  "nav_return": "Return",
98
74
  "nav_exit": "Exit",
99
75
  "current_active": "Current",
100
- "operation_hint": "Operation Hint",
101
76
  "hint_navigate": "↑↓ Navigate",
102
77
  "hint_confirm": "Enter Confirm",
103
- "detected_config_title": "Claude Code Current Configuration",
104
- "cli_config_title": "{{product}} Configuration",
105
- "claude_code_config_title": "Claude Code Current Global Configuration",
106
- "config_synced": "Configuration synced",
107
- "config_out_of_sync": "Configuration out of sync, refresh recommended",
108
- "config_not_loaded": "{{tool}} configuration not applied",
109
- "action_refresh_config": "Refresh Configuration - (Update {{tool}} configuration)",
110
- "global_config_warning": "⚠️ Warning: You are modifying {{tool}} global configuration, changes will affect all workspaces",
111
- "global_label": "Global",
112
- "set_success": "Set successfully",
113
- "start_tool": "Start {{tool}} - (Recommended to open a new terminal in your workspace and run {{shell}})",
114
- "starting_tool": "Starting...",
115
78
  "validating_api_key": "Validating API Key...",
116
79
  "api_key_valid": "API Key is valid",
117
- "api_key_success_hint": "Entering main menu...",
118
80
  "api_key_invalid": "API Key is invalid or expired",
119
- "api_key_network_error": "Network error, please check your connection; you can also run {{cli}} base to switch to another gateway address",
81
+ "api_key_network_error": "Couldn't validate the API key (network or gateway error); check your connection, or run {{cli}} base auto to switch gateway address",
120
82
  "please_config_api_key_first": "Please configure a valid API Key first",
121
83
  "please_reconfig_api_key": "Please reconfigure your API Key",
122
84
  "select_model_config": "Select model",
@@ -124,12 +86,10 @@
124
86
  "other_models": "Other Models",
125
87
  "custom_model_input": "Custom model input",
126
88
  "input_custom_model": "Enter custom model name",
127
- "input_single_model": "Enter the model name to use (will be applied to all models)",
128
89
  "model_haiku": "Haiku Model (Fast)",
129
90
  "model_sonnet": "Sonnet Model (Balanced)",
130
91
  "model_opus": "Opus Model (Powerful)",
131
92
  "model_reasoning": "Reasoning Model (Reasoning)",
132
- "input_model_name": "Enter model name",
133
93
  "models_saved": "Model configuration saved",
134
94
  "use_default_model": "Use default model ({{model}})",
135
95
  "model_builtin_default": "tool built-in default",
@@ -152,18 +112,6 @@
152
112
  "what_next": "What would you like to do next?",
153
113
  "continue_config": "Continue configuring other options",
154
114
  "exit_and_start": "Exit and start using",
155
- "menu_experimental_features": "Experimental Features",
156
- "experimental_features_title": "Experimental Features",
157
- "select_experimental_feature": "Select experimental feature to configure",
158
- "enabled": "Enabled",
159
- "disabled": "Disabled",
160
- "enable": "Enable",
161
- "disable": "Disable",
162
- "agent_teams_current_status": "Agent Teams Current Status",
163
- "agent_teams_enabled": "Agent Teams enabled",
164
- "agent_teams_disabled": "Agent Teams disabled",
165
- "updating_settings": "Updating settings...",
166
- "update_failed": "Update failed",
167
115
  "custom_model_mode": "Select custom model mode",
168
116
  "custom_model_single": "Single model for all roles",
169
117
  "custom_model_per_role": "Configure each role separately",
@@ -178,9 +126,9 @@
178
126
  "check_api_key_network": "Check API Key and network connection",
179
127
  "check_tools": "Check installed tools",
180
128
  "all_good": "All checks passed!",
181
- "network_error": "Network connection failed",
129
+ "network_error": "Gateway request failed",
182
130
  "api_key_invalid": "API Key is invalid or expired",
183
- "api_key_missing": "API key not configured",
131
+ "api_key_missing": "No API key saved yet; run {{cli}} setup --key <your key>",
184
132
  "results_title": "Health Check Results:",
185
133
  "no_tools_installed": "No tools installed",
186
134
  "proxy": "Proxy",
@@ -205,12 +153,12 @@
205
153
  "codex_work_mode": "Codex desktop mode",
206
154
  "codex_catalog": "Codex model menu",
207
155
  "codex_catalog_rejected": "Codex ({{version}}, {{path}}) cannot load the model menu: {{error}}. Run {{cli}} refresh to rewrite it; if it still fails, update that Codex (the desktop app's copy updates with the ChatGPT app)",
208
- "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",
156
+ "codex_stale_bearer": "{{path}} 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",
209
157
  "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",
210
158
  "claude_login": "Claude account login",
211
159
  "check_other_addresses": "Testing other gateway addresses",
212
160
  "other_addresses": "Other gateway addresses",
213
- "other_addresses_found": "These addresses work: {{urls}}. Run {{cli}} base auto to move every tool to one of them",
161
+ "other_addresses_found": "These addresses work: {{urls}}. Run {{cli}} base auto to switch; tools {{product}} configured move with it",
214
162
  "other_addresses_none": "None of the other gateway addresses can be reached either; check your network or proxy",
215
163
  "check_client_config": "Checking the gateway model config...",
216
164
  "client_config": "Gateway model config",
@@ -220,15 +168,6 @@
220
168
  "report_failed": "The diagnostics were not uploaded; send support a screenshot of the results above, and run {{cli}} doctor --report again once the network is back",
221
169
  "report_hint": "When you need help from support, run {{cli}} doctor --report and give them the diagnostic code"
222
170
  },
223
- "preset": {
224
- "claude_mix": "Claude Mix",
225
- "minimax_m25": "MiniMax-M2.5",
226
- "minimax_m27": "MiniMax-M2.7",
227
- "gpt54": "GPT-5.4",
228
- "kimi_k25": "Kimi-K2.5",
229
- "qwen36_plus": "Qwen3.6-Plus",
230
- "glm5": "GLM-5"
231
- },
232
171
  "status": {
233
172
  "title": "Current Status",
234
173
  "api_key": "API Key",
@@ -241,12 +180,8 @@
241
180
  "tool_key_label": "{{tool}} dedicated key"
242
181
  },
243
182
  "messages": {
244
- "initializing": "Initializing...",
245
- "args": "Arguments:",
246
- "first_run": "First run detected, starting initialization wizard...",
247
- "config_saved": "Configuration saved",
248
183
  "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.",
249
- "env_vars_ignored": "Detected {{vars}} in the environment and ignored them for this run (they would override the config {{product}} writes). They are not in your shell profile; they likely come from the program that started {{product}}, and tools run from it are still affected.",
184
+ "env_vars_ignored": "Detected {{vars}} in the environment and ignored them for this run (they would override the config {{product}} writes). {{product}} didn't find them in your shell profile; they may come from another profile file or from the program that started {{product}}, and tools run there are still affected.",
250
185
  "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",
251
186
  "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"
252
187
  },
@@ -305,19 +240,20 @@
305
240
  "clear_model_unsupported": "{{tool}} does not support clearing model settings",
306
241
  "clear_model_restart_hint": "Restart {{tool}} to apply (your API key, hooks and MCP config were left untouched)",
307
242
  "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)",
308
- "force_done": "Reset {{tool}}'s config files (originals snapshotted; undo with `{{cli}} config {{tool}} restore`)",
243
+ "force_done": "Reset {{tool}}'s config files (originals snapshotted; undo with `{{cli}} config {{name}} restore`)",
309
244
  "confirm_remove": "Remove the {{brand}} configuration from {{tool}}? (The current state is backed up first; {{cli}} config {{name}} restore brings it back)",
310
- "remove_dry_run": "Would remove the {{brand}} provider, key and model settings from {{tool}}, keeping everything else",
245
+ "remove_dry_run": "Would remove the provider address, key and model settings from {{tool}}, keeping everything else",
311
246
  "remove_done": "Removed the {{brand}} configuration from {{tool}}",
312
- "reopen_hint": "Quit {{tool}} completely and reopen it if it is already running"
247
+ "reopen_hint": "Quit {{tool}} completely and reopen it if it is already running",
248
+ "remove_nothing": "{{tool}} has no {{brand}} configuration; nothing to remove"
313
249
  },
314
250
  "logs": {
315
251
  "directory": "Logs directory: {{dir}}",
316
252
  "files_title": "Log files",
317
- "no_files": "No log files yet"
253
+ "no_files": "No log files yet",
254
+ "no_such_file": "No log file named {{file}}; run {{cli}} logs to see the list"
318
255
  },
319
256
  "completion": {
320
- "header": "# {{product}} shell completion",
321
257
  "instructions_bash": "Save this output to ~/.{{cli}}-completion.bash and add 'source ~/.{{cli}}-completion.bash' to your shell rc.",
322
258
  "instructions_zsh": "Save this output to ~/.{{cli}}-completion.zsh and add 'source ~/.{{cli}}-completion.zsh' to your shell rc.",
323
259
  "instructions_fish": "Save this output to ~/.config/fish/completions/{{cli}}.fish",
@@ -351,9 +287,8 @@
351
287
  "runtime": {
352
288
  "dry_run_label": "[dry-run]",
353
289
  "dry_run_unsupported": "`{{command}}` doesn't support --dry-run; nothing was changed",
354
- "dry_run_unsupported_hint": "Commands that support it: setup, config, codex sessions (without --undo), and the read-only status, doctor, bench and logs",
355
- "non_interactive_required_token": "An API token is required in non-interactive mode",
356
- "non_interactive_aborted": "Aborted - missing required input"
290
+ "dry_run_unsupported_hint": "Commands that support it: setup, config, codex sessions (without --undo), and the read-only status, doctor (without --report), bench and logs",
291
+ "non_interactive_required_token": "An API token is required in non-interactive mode"
357
292
  },
358
293
  "setup": {
359
294
  "dry_run_tool": "Would configure {{tool}}, writing:",
@@ -398,7 +333,9 @@
398
333
  "path_added": "{{tool}} is installed in {{dir}}, which was not on PATH; added it to your user PATH",
399
334
  "path_reload_windows": "Open a new terminal to use {{commands}}",
400
335
  "list_separator": ", ",
401
- "gui_preconfigured": "{{tool}} is not installed yet; its config is written already, so it works once you install and open it (download: {{install}})"
336
+ "gui_preconfigured": "{{tool}} is not installed yet; its config is written already, so it works once you install and open it (download: {{install}})",
337
+ "validate_failed": "Could not validate the API key for {{label}}: {{reason}}",
338
+ "skip_no_claude_desktop": "This key has no Claude model group; skipped Claude Code and Claude Desktop"
402
339
  },
403
340
  "tools": {
404
341
  "version_outdated": "version {{current}} is too old (needs {{min}} or later); upgrade with {{upgrade}}",
@@ -414,9 +351,9 @@
414
351
  "sessions_offer": "Found {{count}} earlier Codex sessions that are hidden from the list after switching to {{brand}}. Move them over? (backed up first, can be undone)",
415
352
  "sessions_hidden": "{{count}} earlier Codex sessions are hidden from the list after switching to {{brand}}: run {{cli}} codex sessions to move them over (backed up first, can be undone)",
416
353
  "sessions_hidden_running": "{{count}} earlier Codex sessions are hidden from the list after switching to {{brand}}: quit Codex completely (desktop app included), then run {{cli}} codex sessions",
417
- "work_mode_hint": "In the Codex desktop app use Codex mode (switch at the top left): on an API key, ChatGPT Work mode cannot send messages and shows \"Could not start this chat\", a known OpenAI issue",
418
- "work_mode_on": "The Codex desktop app is in ChatGPT Work mode, which cannot send messages on an API key (\"Could not start this chat\", a known OpenAI issue): switch back to Codex mode at the top left",
419
- "catalog_written": "{{count}} models in the menu ({{breakdown}}); reopen the Codex desktop app to see them",
354
+ "work_mode_hint": "In the Codex desktop app use Codex mode (switch at the top left): on an API key, ChatGPT Work mode may not send messages and shows \"Could not start this chat\", a known OpenAI issue",
355
+ "work_mode_on": "The Codex desktop app is in ChatGPT Work mode, which may not send messages on an API key (\"Could not start this chat\", a known OpenAI issue): switch back to Codex mode at the top left",
356
+ "catalog_written": "{{count}} models in the menu ({{breakdown}}); reopen Codex (desktop app included) to see them",
420
357
  "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",
421
358
  "catalog_rejected": "Codex ({{version}}, {{path}}) cannot load the {{brand}} model menu, so Codex's own menu (GPT only) is back; update that Codex (the desktop app's copy updates with the ChatGPT app), then run {{cli}} refresh",
422
359
  "unload_sign_in": "Codex is no longer signed in with an API key. To use your ChatGPT subscription, run codex login; quit the Codex desktop app completely, reopen it and sign in",
@@ -426,7 +363,7 @@
426
363
  "claude_desktop": {
427
364
  "code_cli_downloading": "Downloading Claude Code {{version}} for Claude Desktop's Code tab from the China mirror (about 100 MB)",
428
365
  "code_cli_installed": "Claude Desktop's Code tab has Claude Code {{version}} and no longer needs downloads.claude.ai",
429
- "code_cli_failed": "Could not prepare Claude Code for Claude Desktop's Code tab ({{reason}}); the tab may say it cannot download it. Run setup again when the network is better",
366
+ "code_cli_failed": "Could not prepare Claude Code for Claude Desktop's Code tab ({{reason}}); the tab may say it cannot download it. Fix the cause above, then run {{cli}} setup --desktopkey <your key>",
430
367
  "restart_hint": "Fully quit Claude Desktop and reopen it for the change to take effect",
431
368
  "managed_conflict": "Managed configuration found at {{path}}; Claude Desktop prefers it and ignores local settings. Remove that profile / policy first, then relaunch",
432
369
  "registry_written": "Also written to the registry policy {{key}} as a backstop (same as the downloadable .reg); the in-app \"Configure Third-Party Inference\" window will show as managed, and unloading removes it too",
@@ -441,7 +378,8 @@
441
378
  "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",
442
379
  "elevate_remove": "Remove the old registry settings? Windows asks for administrator confirmation once; later updates won't need it",
443
380
  "elevate_write": "Write the new config to the registry? Windows asks for administrator confirmation once",
444
- "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"
381
+ "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",
382
+ "registry_removed": "Removed the old values under {{key}}; Claude Desktop now reads the local config"
445
383
  },
446
384
  "claude_code": {
447
385
  "gateway_models": "{{count}} more models added to /model ({{vendors}})",
@@ -450,8 +388,8 @@
450
388
  "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",
451
389
  "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/)",
452
390
  "plugins_installed": "{{count}} official plugins installed (code review, feature dev, frontend design, …); type / to see them",
453
- "plugins_failed": "Official plugins could not be installed (GitHub unreachable, most likely); everything else works. Run {{cli}} config claude-code --non-interactive again later",
454
- "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",
391
+ "plugins_failed": "Some official plugins could not be installed (plugin source unreachable or install error); everything else works. Run {{cli}} config claude-code --non-interactive again later",
392
+ "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, run {{cli}} config claude-code remove",
455
393
  "plugins_need_git": "Official plugins are downloaded with Git, which this computer doesn't have yet (on a Mac, Apple's Command Line Tools); everything else works. Once Git is installed, run {{cli}} config claude-code --non-interactive"
456
394
  },
457
395
  "model_family": {
@@ -476,7 +414,7 @@
476
414
  "not_installed_installing": "{{tool}} not found; installing from the China mirror",
477
415
  "fallback_mirror": "The official upgrade failed; installing from the China mirror instead",
478
416
  "unknown_install": "Unknown install source ({{path}}); upgrade it the way it was installed",
479
- "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",
417
+ "npm_permission": "npm did not finish. If the output above shows EACCES (no permission to write the global directory): use sudo {{command}}, or run npm config set prefix ~/.npm-global, add ~/.npm-global/bin to PATH and retry",
480
418
  "duplicates": "Several copies of {{tool}}: keeping {{keep}}; extra: {{others}}",
481
419
  "duplicates_note": "{{count}} copies found; the terminal runs {{active}}; also present: {{others}}. Run {{cli}} upgrade {{tool}} to upgrade and keep one",
482
420
  "confirm_remove": "Remove the extra copies?",
@@ -493,7 +431,7 @@
493
431
  },
494
432
  "install": {
495
433
  "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}}",
496
- "permission_windows": "Probably missing permissions or a file in use: close running Claude Code / Codex, open an elevated terminal and run {{command}}",
434
+ "permission_windows": "Probably missing permissions or a file in use: close the tool if it is running, open an elevated terminal and run {{command}}",
497
435
  "what_next": "What next?",
498
436
  "installed_continue": "I installed it by hand, continue",
499
437
  "cancel_install": "Cancel",
@@ -501,7 +439,7 @@
501
439
  "still_not_installed": "{{tool}} still not found; make sure it installed and open a new terminal",
502
440
  "verified_success": "Found {{tool}}, continuing",
503
441
  "install_failed_detail": "Installation did not finish; see the output above or {{cli}} logs tail",
504
- "downloading": "Downloading and installing (tens of MB up to about 130 MB); usually done within a minute or two",
442
+ "downloading": "Downloading and installing (tens of MB to over a hundred MB); usually done within a minute or two",
505
443
  "script_failed_npm": "The install script did not finish; installing with npm from the China mirror instead",
506
444
  "script_stalled_npm": "The install script made no progress for {{minutes}} minutes (the download server is unreachable); installing with npm from the China mirror instead",
507
445
  "script_timeout_npm": "The install script was still running after an hour; installing with npm from the China mirror instead",
@@ -517,7 +455,7 @@
517
455
  "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",
518
456
  "nothing": "Scanned {{scanned}} sessions; all are already under \"{{target}}\"",
519
457
  "dry_run": "Would move {{count}} sessions from \"{{from}}\" to \"{{target}}\" (dry run, nothing changed)",
520
- "moved": "Moved {{count}} sessions from \"{{from}}\" to \"{{target}}\"; reopen Codex to see them. Run {{cli}} codex sessions again after switching login back",
458
+ "moved": "Moved {{count}} sessions from \"{{from}}\" to \"{{target}}\"; reopen Codex to see them (archived ones in the archive). Run {{cli}} codex sessions again after switching login back",
521
459
  "db_skipped": "Codex's database was not updated ({{reason}}); session files were. Upgrade Node.js to 22.13+ and run {{cli}} codex sessions again",
522
460
  "backup": "Backup and undo record in {{dir}}; undo with {{cli}} codex sessions --undo <that dir>",
523
461
  "undone": "Restored {{files}} session files and {{rows}} database rows"
@@ -538,15 +476,16 @@
538
476
  "error_timeout": "timed out",
539
477
  "error_network": "connection failed",
540
478
  "error_not_gateway": "the answer is not from {{brand}}",
541
- "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",
542
479
  "tools_moved": "These tools now use it:",
543
480
  "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",
544
481
  "models_count": "{{count}} models",
545
482
  "fastest": "fastest",
546
483
  "error_key_rejected": "key rejected (invalid or expired)",
547
484
  "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>",
548
- "probe_with_key": "Listing models with your saved key on each address, median of 3",
549
- "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"
485
+ "probe_with_key": "Listing models with your saved key on the built-in and current addresses (others only check the gateway answers), median of 3 per address",
486
+ "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",
487
+ "setup_fallback_main": "{{from}} cannot be reached: {{reason}}. Switched back to the main site {{url}}",
488
+ "next_addresses": "Next: run {{cli}} base to see the addresses, or {{cli}} base auto to switch"
550
489
  },
551
490
  "help": {
552
491
  "help_command": "Show help for a command",
@@ -583,10 +522,10 @@
583
522
  "global": {
584
523
  "help": "Show help",
585
524
  "version": "Show the version",
586
- "base": "Gateway address (saved by setup / init / auth / config; other commands use it for this run only)",
587
- "non_interactive": "Never ask questions (for scripts and CI)",
525
+ "base": "Gateway address (saved by setup / init / auth / config / enter and the main menu; other commands use it for this run only)",
526
+ "non_interactive": "Never ask questions; confirmations are answered yes (for scripts and CI)",
588
527
  "json": "Print JSON (commands that support it)",
589
- "yes": "Take the default answer when asked to confirm",
528
+ "yes": "Answer yes to every confirmation (--non-interactive and --json do the same)",
590
529
  "dry_run": "Show what would change without writing anything (commands that cannot preview refuse it)",
591
530
  "no_color": "Turn off colors"
592
531
  },
@@ -720,7 +659,6 @@
720
659
  "force": "Rewrite the whole Claude Code config",
721
660
  "tool_model": "Use a specific model in Codex only",
722
661
  "profile": "Create a profile named work",
723
- "backup": "Back up the {{product}} config before upgrading",
724
662
  "remove": "Stop Codex using {{brand}} (e.g. go back to your ChatGPT subscription)"
725
663
  },
726
664
  "when": "To adjust one tool (models, rewrite or restore its config), or manage profiles, presets and backups.",
@@ -755,7 +693,7 @@
755
693
  "default": "Back to the main site"
756
694
  },
757
695
  "when": "When tools report connection failures, timeouts or certificate errors.",
758
- "needs": "With a saved key it checks the route really works; without one it only checks the gateway is up",
696
+ "needs": "With a saved key, the built-in and current addresses are checked with it; other addresses, or no key, only check the gateway is up",
759
697
  "alt": {
760
698
  "doctor": "Not sure the address is the problem",
761
699
  "bench": "Measure latency without switching"
@@ -777,12 +715,12 @@
777
715
  "summary": "Find configuration and network problems",
778
716
  "description": "Checks the key, network, proxy, installed tools and their configs, and says how to fix what it finds.",
779
717
  "opt": {
780
- "deep": "Also send one real request through Claude Code (uses a little quota)",
718
+ "deep": "If Claude Code is installed, also send one real request through it (uses a little quota)",
781
719
  "report": "After the checks, upload diagnostics (results, tool versions, settings and recent run history; no keys or conversations) and get a code for support"
782
720
  },
783
721
  "ex": {
784
722
  "run": "Run the checks",
785
- "deep": "Include a real Claude Code request",
723
+ "deep": "Include a real Claude Code request when it is installed",
786
724
  "report": "Upload diagnostics and get a code for support"
787
725
  },
788
726
  "when": "When a tool fails (401, cannot connect, model not found) and you do not know why.",
@@ -795,7 +733,7 @@
795
733
  "summary": "Measure gateway latency",
796
734
  "description": "Requests the model list from the current gateway address a few times with the saved key and reports timings.",
797
735
  "opt": {
798
- "samples": "Number of requests"
736
+ "samples": "Number of requests (1–50)"
799
737
  },
800
738
  "ex": {
801
739
  "run": "Send 5 requests",
@@ -833,9 +771,9 @@
833
771
  },
834
772
  "upgrade": {
835
773
  "summary": "Upgrade Claude Code, Codex and other coding tools",
836
- "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.",
774
+ "description": "Upgrades each copy the way it was installed: native installs use the tool's own updater, npm installs are reinstalled from the China mirror (npmmirror), Homebrew installs use brew upgrade; if a native or Homebrew upgrade fails, {{brand}}'s install script is used (programs from the China mirror). A named tool that is not installed yet is installed with that script.\nWith no tool named, upgrades every installed one.\nTo update {{product}} itself, use {{cli}} update.",
837
775
  "arg": {
838
- "tools": "claude-code / codex / agy, one or more"
776
+ "tools": "claude-code / codex / grok / agy, one or more"
839
777
  },
840
778
  "ex": {
841
779
  "all": "Upgrade every installed tool",
@@ -862,7 +800,7 @@
862
800
  },
863
801
  "update": {
864
802
  "summary": "Check for a newer {{product}}",
865
- "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).",
803
+ "description": "Checks {{updateSources}} in turn and prints the install command when a newer version exists.\nA global install also checks at startup (every 6 hours) and, when there is a newer version, installs it and reruns the command.",
866
804
  "ex": {
867
805
  "check": "Check for a new version",
868
806
  "json": "Print JSON"
@@ -971,12 +909,13 @@
971
909
  "next_step": "Next: {{command}}",
972
910
  "hint_logs": "Next: run {{cli}} logs tail to inspect the detailed log",
973
911
  "cancelled": "Operation cancelled",
974
- "cancel_hint": "Next: run {{cli}} to start again"
912
+ "cancel_hint": "Next: run {{cli}} to start again",
913
+ "key_placeholder": "<your key>"
975
914
  },
976
915
  "help_topics": {
977
916
  "exit_codes": {
978
917
  "title": "Exit codes and error output",
979
- "body": "Exit codes:\n 0 success\n 1 operation failed\n 2 usage or input error\n 3 authentication failed (invalid or rejected key)\n 4 network problem (DNS, certificate, timeout, or unreachable gateway)\n 5 internal error\n 10 confirmation required (--yes is needed in non-interactive mode)\n 130 cancelled by the user\n\nWith --json, successful output keeps its existing format. Failures write one JSON object to stderr:\n{\"ok\":false,\"error\":{\"type\":\"usage\",\"message\":\"…\",\"hint\":\"…\",\"subtype\":\"…\"}}"
918
+ "body": "Exit codes:\n 0 success\n 1 operation failed\n 2 usage or input error\n 3 authentication failed (invalid or rejected key)\n 4 network problem (DNS, certificate, timeout, or unreachable gateway)\n 5 internal error\n 130 cancelled by the user\n\nWith --json, successful output keeps its existing format. Most failures write one JSON object to stderr:\n{\"ok\":false,\"error\":{\"type\":\"usage\",\"message\":\"…\",\"hint\":\"…\",\"subtype\":\"…\"}}\nSome bench, lang, logs, auth and completion failures go to stdout with exit code 0 as {\"ok\":false,\"error\":\"<code>\"}"
980
919
  },
981
920
  "environment": {
982
921
  "title": "Environment variables",
@@ -992,6 +931,7 @@
992
931
  "cache": "local cache",
993
932
  "bundled": "bundled snapshot",
994
933
  "none": "none (built-in list)"
995
- }
934
+ },
935
+ "nothing_checked": "No model menu to sync: no saved key, no tool configured by {{product}}, or the gateway is unreachable"
996
936
  }
997
937
  }