@vibeapi/api-helper 0.0.125 → 0.0.127

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": "未知命令: {{command}}",
4
- "error_general": "错误:",
5
4
  "unknown_hint": "下一步:运行 {{cli}} --help 查看可用命令",
6
5
  "unknown_hint_suggestion": "你是不是想运行 {{cli}} {{command}}?",
7
6
  "err_unknown_option": "未知选项:{{name}}",
8
7
  "err_missing_argument": "缺少参数:{{name}}",
9
8
  "err_missing_option": "缺少必填选项:{{name}}",
10
- "unknown_option_hint": "下一步:运行 {{cli}} {{command}} --help 查看正确用法"
9
+ "unknown_option_hint": "下一步:运行 {{cli}} {{command}} --help 查看正确用法",
10
+ "unknown_option_hint_root": "下一步:运行 {{cli}} --help 查看正确用法"
11
11
  },
12
12
  "lang": {
13
13
  "current": "当前语言",
@@ -18,34 +18,30 @@
18
18
  "available": "可用语言"
19
19
  },
20
20
  "auth": {
21
- "set_usage": "{{cli}} auth <token> - 设置API密钥",
22
21
  "token_prompt": "请输入API密钥",
23
22
  "token_required": "API密钥不能为空",
24
23
  "saved": "API密钥已保存",
25
- "revoke_confirm": "确认要删除已保存的API密钥吗?",
26
- "revoked": "API密钥已删除",
24
+ "revoke_confirm": "确认要删除当前 Profile 保存的 API Key(含各工具专属 Key)吗?",
25
+ "revoked": "已删除保存的 API Key",
27
26
  "not_revoked": "取消删除操作",
28
- "get_api_key_hint": "如需获取 API Key,请访问: {{url}}",
29
27
  "reload_tool_not_supported": "不支持重新加载 {{tool}}",
30
28
  "reload_missing_config": "还没有保存的 API Key,先运行 {{cli}} setup --key <你的 Key>",
31
29
  "reloading": "正在把配置重新写入 {{tool}}…",
32
30
  "reloaded": "{{tool}} 的配置已重新写入",
33
- "reload_failed": "重新写入配置失败,详情见 {{cli}} logs tail"
31
+ "reload_failed": "重新写入配置失败:"
34
32
  },
35
33
  "wizard": {
36
34
  "banner_subtitle": "统一管理您的 Claude Code 等编码工具",
37
35
  "welcome": "欢迎使用 {{product}}!",
38
- "privacy_note": "我们重视您的隐私,所有配置信息仅保存在本地.",
36
+ "privacy_note": "配置和 API Key 只保存在本机;运行情况统计(命令与出错信息,不含 Key)会发给 {{brand}},设环境变量 {{envPrefix}}_TELEMETRY=0 可关闭。",
39
37
  "select_language": "请选择界面语言",
40
38
  "input_api_key": "输入 API Key",
41
39
  "api_key_input_hint": "请输入您的 API Key(输入时会隐藏显示)",
42
40
  "input_your_api_key": "请在这里输入您的 API key, 回车键确认:",
43
- "update_api_key": "更新 API Key",
44
41
  "api_key_required": "API密钥不能为空",
45
42
  "select_tool": "请选择要配置的编码工具",
46
43
  "tool_not_installed": "{{tool}} 尚未安装",
47
44
  "install_tool_confirm": "是否现在安装?",
48
- "installing_tool": "正在安装工具...",
49
45
  "tool_installed": "工具安装成功",
50
46
  "install_failed": "安装失败",
51
47
  "install_skipped": "已跳过安装,您可以稍后手动安装",
@@ -55,10 +51,6 @@
55
51
  "action_load_config": "应用配置 - (把你的 API 配置写入 {{tool}})",
56
52
  "action_unload_config": "移除配置 - (从 {{tool}} 删掉 API 配置)",
57
53
  "action_clear_model": "清除模型设置 - (让 {{tool}} 用自带默认模型,保留 API Key)",
58
- "action_view_config": "当前配置",
59
- "action_back": "返回",
60
- "action_exit": "退出",
61
- "goodbye": "再见!",
62
54
  "loading_config": "正在应用配置...",
63
55
  "run_tool_hint": "✅ 现在运行 `{{command}}` 就能用上你的配置了",
64
56
  "config_failed": "配置装载失败",
@@ -67,56 +59,26 @@
67
59
  "unloading_config": "正在移除配置...",
68
60
  "config_unloaded": "配置已移除",
69
61
  "config_unload_failed": "移除配置失败",
70
- "tool_not_supported": "该工具不支持此操作",
71
- "missing_config": "缺少必要配置(API密钥)",
72
- "current_config": "当前配置",
73
- "config_language": "界面语言",
74
- "config_api_key": "API Key",
75
62
  "config_models": "模型配置",
76
- "config_title": "配置",
77
63
  "not_set": "未设置",
78
64
  "press_enter": "按回车继续",
79
- "main_menu_title": "主菜单",
80
- "current_config_status": "当前配置状态:",
81
- "api_key_set": "已设置",
82
65
  "api_key_get_hint": "如需获取 API Key,请访问: {{url}}",
83
66
  "menu_config_language": "界面语言配置",
84
67
  "menu_change_api_key": "更换 API Key",
85
- "menu_load_to_tool": "应用配置到工具",
86
- "current_model": "当前模型",
87
68
  "settings": "设置",
88
- "menu_config_api_key": "API Key 配置",
89
- "menu_config_models": "模型配置 (配置 Haiku/Sonnet/Opus/Reasoning 模型)",
90
- "menu_config_tool": "编码工具配置 (将 API 应用到 Claude Code/Codex 等)",
91
- "menu_exit": "退出",
92
- "select_operation": "请选择操作:",
93
- "goodbye_message": "再见!还没有配置好的工具,需要时运行 {{cli}} setup --key <你的 Key>",
94
- "lang_auto_zh": "检测到系统语言为中文,已自动使用中文界面(主菜单或 {{cli}} lang set 可随时切换)。",
69
+ "goodbye_message": "再见!需要配置更多工具时运行 {{cli}} setup --key <你的 Key>",
70
+ "lang_auto_zh": "检测到系统语言为中文,已自动使用中文界面(主菜单或 {{cli}} lang set en_US 可随时切换)。",
95
71
  "goodbye_message_tools": "再见! 终端输入 {{commands}} 即可开始编码!",
96
72
  "goodbye_claude_hint": "也可以在 VSCode 安装 Claude 插件使用 Claude Code。",
97
73
  "nav_return": "返回",
98
74
  "nav_exit": "退出",
99
75
  "current_active": "当前",
100
- "operation_hint": "操作提示",
101
76
  "hint_navigate": "↑↓ 选择",
102
77
  "hint_confirm": "Enter 确认",
103
- "detected_config_title": "Claude Code 当前配置",
104
- "cli_config_title": "{{product}} 配置",
105
- "claude_code_config_title": "Claude Code 当前全局配置",
106
- "config_synced": "配置已同步",
107
- "config_out_of_sync": "配置不一致,建议刷新",
108
- "config_not_loaded": "{{tool}} 还没应用配置",
109
- "action_refresh_config": "配置刷新 - (更新 {{tool}} 的配置)",
110
- "global_config_warning": "⚠️ 注意:您正在修改 {{tool}} 全局配置,更改将影响所有工作区",
111
- "global_label": "全局",
112
- "set_success": "设置成功",
113
- "start_tool": "启动 {{tool}} - (建议在您的工作空间新开终端,执行 {{shell}} 启动)",
114
- "starting_tool": "启动中...",
115
78
  "validating_api_key": "正在验证 API Key...",
116
79
  "api_key_valid": "API Key 验证通过",
117
- "api_key_success_hint": "正在进入主菜单...",
118
80
  "api_key_invalid": "API Key 无效或已过期",
119
- "api_key_network_error": "网络错误,请检查网络连接;也可以运行 {{cli}} base 换一个接入地址",
81
+ "api_key_network_error": "无法验证 API Key(网络不通或网关返回异常);请检查网络,或运行 {{cli}} base auto 换一个接入地址",
120
82
  "please_config_api_key_first": "请先配置有效的 API Key",
121
83
  "please_reconfig_api_key": "请重新配置 API Key",
122
84
  "select_model_config": "请选择模型",
@@ -124,12 +86,10 @@
124
86
  "other_models": "其他模型",
125
87
  "custom_model_input": "自定义输入模型名",
126
88
  "input_custom_model": "请输入自定义模型名称",
127
- "input_single_model": "请输入要使用的模型名称(将应用到所有模型)",
128
89
  "model_haiku": "Haiku 模型 (快速)",
129
90
  "model_sonnet": "Sonnet 模型 (平衡)",
130
91
  "model_opus": "Opus 模型 (强大)",
131
92
  "model_reasoning": "Reasoning 模型 (推理)",
132
- "input_model_name": "请输入模型名称",
133
93
  "models_saved": "模型配置已保存",
134
94
  "use_default_model": "使用默认模型 ({{model}})",
135
95
  "model_builtin_default": "工具自带默认",
@@ -152,18 +112,6 @@
152
112
  "what_next": "接下来您想做什么?",
153
113
  "continue_config": "继续配置其他选项",
154
114
  "exit_and_start": "退出并开始使用",
155
- "menu_experimental_features": "实验性功能",
156
- "experimental_features_title": "实验性功能",
157
- "select_experimental_feature": "选择要配置的实验性功能",
158
- "enabled": "已启用",
159
- "disabled": "已禁用",
160
- "enable": "启用",
161
- "disable": "禁用",
162
- "agent_teams_current_status": "Agent Teams 当前状态",
163
- "agent_teams_enabled": "Agent Teams 已启用",
164
- "agent_teams_disabled": "Agent Teams 已禁用",
165
- "updating_settings": "正在更新设置...",
166
- "update_failed": "更新失败",
167
115
  "custom_model_mode": "选择自定义模型模式",
168
116
  "custom_model_single": "所有角色使用同一模型",
169
117
  "custom_model_per_role": "分别配置每个角色",
@@ -178,9 +126,9 @@
178
126
  "check_api_key_network": "检查 API Key 和网络连接",
179
127
  "check_tools": "检查已安装的工具",
180
128
  "all_good": "所有检查通过!",
181
- "network_error": "网络连接失败",
129
+ "network_error": "请求网关失败",
182
130
  "api_key_invalid": "API Key 无效或已过期",
183
- "api_key_missing": "API密钥未配置",
131
+ "api_key_missing": "还没有保存 API Key,运行 {{cli}} setup --key <你的 Key>",
184
132
  "results_title": "健康检查结果:",
185
133
  "no_tools_installed": "未安装任何工具",
186
134
  "proxy": "代理设置",
@@ -210,7 +158,7 @@
210
158
  "claude_login": "Claude 官方登录",
211
159
  "check_other_addresses": "测试其他接入地址",
212
160
  "other_addresses": "其他接入地址",
213
- "other_addresses_found": "这些地址能用:{{urls}}。运行 {{cli}} base auto,所有工具会一起换过去",
161
+ "other_addresses_found": "这些地址能用:{{urls}}。运行 {{cli}} base auto 换过去,用 {{product}} 配置过的工具会一起改",
214
162
  "other_addresses_none": "其他接入地址也都连不上,请检查网络或代理",
215
163
  "check_client_config": "正在检查网关模型配置...",
216
164
  "client_config": "网关模型配置",
@@ -220,15 +168,6 @@
220
168
  "report_failed": "诊断信息没有上传成功;可以截图上面的结果发给客服,网络恢复后再运行 {{cli}} doctor --report",
221
169
  "report_hint": "需要客服帮忙时运行 {{cli}} doctor --report,把得到的诊断码发给客服"
222
170
  },
223
- "preset": {
224
- "claude_mix": "Claude 混合",
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": "当前状态",
234
173
  "api_key": "API Key",
@@ -241,12 +180,8 @@
241
180
  "tool_key_label": "{{tool}} 专属 Key"
242
181
  },
243
182
  "messages": {
244
- "initializing": "正在初始化...",
245
- "args": "参数:",
246
- "first_run": "检测到首次运行,启动初始化向导...",
247
- "config_saved": "配置已保存",
248
183
  "env_vars_cleared": "检测到 shell 环境变量 {{vars}} 并已自动清除(它们会覆盖 {{product}} 写入的配置)。如已写入 shell 配置文件,请重开终端生效。",
249
- "env_vars_ignored": "检测到环境变量 {{vars}},本次运行已忽略(它们会覆盖 {{product}} 写入的配置)。它不在你的 shell 配置文件里,可能来自启动 {{product}} 的程序,在那个程序里运行的工具仍会受它影响。",
184
+ "env_vars_ignored": "检测到环境变量 {{vars}},本次运行已忽略(它们会覆盖 {{product}} 写入的配置)。{{product}} 没在你的 shell 配置文件里找到它,它可能来自其他配置文件或启动 {{product}} 的程序,在那里运行的工具仍会受它影响。",
250
185
  "certificate_intercepted": "连接 {{url}} 时证书不对:通常是当前网络的 DNS 被劫持(校园网、酒店网络常见),而不是 Key 有问题。请换个网络、把电脑的 DNS 改成 119.29.29.29 / 223.5.5.5,或开代理后重试",
251
186
  "env_vars_machine_left": "系统环境变量里还有 {{vars}},需要管理员权限才能删:用管理员身份打开终端再运行一次刚才的 {{cli}} 命令,或在「系统属性 → 环境变量 → 系统变量」里手动删除"
252
187
  },
@@ -305,19 +240,20 @@
305
240
  "clear_model_unsupported": "{{tool}} 不支持清除模型设置",
306
241
  "clear_model_restart_hint": "请重启 {{tool}} 后生效(API Key 与你的 hooks / MCP 配置未改动)",
307
242
  "confirm_force": "确认重置 {{tool}} 的配置吗?会先快照、再删掉它的配置文件,用推荐配置整份重写(您自行添加的字段会丢失,可用 restore 撤销)",
308
- "force_done": "已重置 {{tool}} 的配置文件(原文件已快照,`{{cli}} config {{tool}} restore` 可撤销)",
243
+ "force_done": "已重置 {{tool}} 的配置文件(原文件已快照,`{{cli}} config {{name}} restore` 可撤销)",
309
244
  "confirm_remove": "确定从 {{tool}} 移除 {{brand}} 的配置吗?(当前状态会先自动备份,可用 {{cli}} config {{name}} restore 还原)",
310
- "remove_dry_run": "将从 {{tool}} 移除 {{brand}} 的服务商、Key 和模型设置,其它设置保留",
245
+ "remove_dry_run": "将从 {{tool}} 移除 {{brand}} 的服务商地址、Key 和模型设置(别家写入的不动),其它设置保留",
311
246
  "remove_done": "已从 {{tool}} 移除 {{brand}} 的配置",
312
- "reopen_hint": "已经打开的 {{tool}} 要完全退出后重新打开才会生效"
247
+ "reopen_hint": "已经打开的 {{tool}} 要完全退出后重新打开才会生效",
248
+ "remove_nothing": "{{tool}} 里没有 {{brand}} 的配置,无需移除"
313
249
  },
314
250
  "logs": {
315
251
  "directory": "日志目录: {{dir}}",
316
252
  "files_title": "日志文件",
317
- "no_files": "暂无日志文件"
253
+ "no_files": "暂无日志文件",
254
+ "no_such_file": "没有找到日志文件 {{file}},运行 {{cli}} logs 查看列表"
318
255
  },
319
256
  "completion": {
320
- "header": "# {{product}} shell 自动补全",
321
257
  "instructions_bash": "请将以上输出保存到 ~/.{{cli}}-completion.bash,并在 shell rc 中添加 'source ~/.{{cli}}-completion.bash'",
322
258
  "instructions_zsh": "请将以上输出保存到 ~/.{{cli}}-completion.zsh,并在 shell rc 中添加 'source ~/.{{cli}}-completion.zsh'",
323
259
  "instructions_fish": "请将以上输出保存到 ~/.config/fish/completions/{{cli}}.fish",
@@ -332,7 +268,7 @@
332
268
  "min": "最小值",
333
269
  "max": "最大值",
334
270
  "errors": "错误",
335
- "missing_api_key": "还没有保存 API Key,先运行 {{cli}} auth <你的 Key>"
271
+ "missing_api_key": "还没有保存 API Key"
336
272
  },
337
273
  "update": {
338
274
  "checking": "正在检查更新...",
@@ -351,9 +287,8 @@
351
287
  "runtime": {
352
288
  "dry_run_label": "[预演]",
353
289
  "dry_run_unsupported": "`{{command}}` 不支持 --dry-run,没有做任何修改",
354
- "dry_run_unsupported_hint": "支持预演的命令:setup、config、codex sessions(不带 --undo),以及 status、doctor、bench、logs 这些只读命令",
355
- "non_interactive_required_token": "非交互模式下必须提供 API Token",
356
- "non_interactive_aborted": "已中止 - 缺少必要输入"
290
+ "dry_run_unsupported_hint": "支持预演的命令:setup、config、codex sessions(不带 --undo),以及 status、doctor(不带 --report)、bench、logs 这些只读命令",
291
+ "non_interactive_required_token": "非交互模式下必须提供 API Token"
357
292
  },
358
293
  "setup": {
359
294
  "dry_run_tool": "将配置 {{tool}},写入:",
@@ -398,7 +333,9 @@
398
333
  "path_added": "{{tool}} 已装在 {{dir}},但这个目录不在 PATH 里,已加入用户 PATH",
399
334
  "path_reload_windows": "新开一个终端后就能用 {{commands}}",
400
335
  "list_separator": "、",
401
- "gui_preconfigured": "{{tool}} 还没装,配置已先写好,装好后打开就能用(下载:{{install}})"
336
+ "gui_preconfigured": "{{tool}} 还没装,配置已先写好,装好后打开就能用(下载:{{install}})",
337
+ "validate_failed": "验证 {{label}} 的 API Key 失败: {{reason}}",
338
+ "skip_no_claude_desktop": "该 Key 未开通 Claude 模型分组,已跳过 Claude Code 和 Claude Desktop"
402
339
  },
403
340
  "tools": {
404
341
  "version_outdated": "版本 {{current}} 过旧,需要 {{min}} 及以上,运行 {{upgrade}} 升级",
@@ -426,7 +363,7 @@
426
363
  "claude_desktop": {
427
364
  "code_cli_downloading": "正在为 Claude 桌面端的 Code 标签页从国内镜像下载 Claude Code {{version}}(约 100 MB)",
428
365
  "code_cli_installed": "Claude 桌面端的 Code 标签页已备好 Claude Code {{version}},不用再从 downloads.claude.ai 下载",
429
- "code_cli_failed": "没能给 Claude 桌面端的 Code 标签页备好 Claude Code({{reason}}),Code 标签页可能提示无法下载;网络好的时候重新运行 setup 即可",
366
+ "code_cli_failed": "没能给 Claude 桌面端的 Code 标签页备好 Claude Code({{reason}}),Code 标签页可能提示无法下载;排除上面的原因后运行 {{cli}} setup --desktopkey <你的 Key> 重试",
430
367
  "restart_hint": "完全退出 Claude 桌面端再重新打开才会生效",
431
368
  "managed_conflict": "检测到托管配置 {{path}},Claude Desktop 会优先使用它并忽略本地配置;请先移除该描述文件 / 策略再重启",
432
369
  "registry_written": "已同步写入注册表 {{key}} 作为兜底(与官网下载的 .reg 等效);应用内「Configure Third-Party Inference」窗口会显示为托管状态,移除配置时会一并清理",
@@ -441,7 +378,8 @@
441
378
  "policy_stale_write": "桌面端还在用注册表里的旧配置(多半是以前从网关页面下载 .reg 写入的);把新配置写进去需要管理员确认一次",
442
379
  "elevate_remove": "删掉注册表里的旧配置吗?会弹出一次系统的管理员确认,之后更新桌面端不再需要管理员",
443
380
  "elevate_write": "把新配置写进注册表吗?会弹出一次系统的管理员确认",
444
- "refresh_needs_admin": "Claude 桌面端的模型列表在注册表里,更新它需要管理员确认:运行 {{cli}} setup --desktopkey <你的 Key>,按提示确认即可"
381
+ "refresh_needs_admin": "Claude 桌面端的模型列表在注册表里,更新它需要管理员确认:运行 {{cli}} setup --desktopkey <你的 Key>,按提示确认即可",
382
+ "registry_removed": "已删掉注册表 {{key}} 里的旧配置,桌面端改读本地配置"
445
383
  },
446
384
  "claude_code": {
447
385
  "gateway_models": "/model 菜单加入 {{count}} 个其他模型({{vendors}})",
@@ -450,8 +388,8 @@
450
388
  "managed_override": "检测到 Claude Code 的托管配置({{source}}),其中 {{keys}} 优先于 {{product}} 写入的设置,会让这里的配置不生效;托管配置一般是公司电脑统一下发的,请联系管理员",
451
389
  "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/ 下载)",
452
390
  "plugins_installed": "装好 {{count}} 个官方插件(代码审查、功能开发、前端设计等),输入 / 可以看到",
453
- "plugins_failed": "官方插件没装上(多半是连不上 GitHub),不影响使用;网络好时再运行 {{cli}} config claude-code --non-interactive 即可",
454
- "account_login_overridden": "这台电脑的 Claude Code 登录过 Claude 官方账号;{{product}} 写入的 {{brand}} 令牌会优先生效,Claude Code 走 {{brand}}。要改回官方账号,用 {{cli}} config claude-code 移除 {{brand}} 配置",
391
+ "plugins_failed": "有官方插件没装上(连不上插件源或安装出错),不影响使用;网络好时再运行 {{cli}} config claude-code --non-interactive 补装",
392
+ "account_login_overridden": "这台电脑的 Claude Code 登录过 Claude 官方账号;{{product}} 写入的 {{brand}} 令牌会优先生效,Claude Code 走 {{brand}}。要改回官方账号,运行 {{cli}} config claude-code remove",
455
393
  "plugins_need_git": "官方插件要用 Git 下载,这台电脑还没有 Git(Mac 上要先装好苹果命令行工具),不影响使用;装好 Git 后运行 {{cli}} config claude-code --non-interactive 补装"
456
394
  },
457
395
  "model_family": {
@@ -476,7 +414,7 @@
476
414
  "not_installed_installing": "没有找到 {{tool}},用国内镜像安装",
477
415
  "fallback_mirror": "官方渠道升级失败,改用国内镜像安装",
478
416
  "unknown_install": "不认识这份安装的来源({{path}}),没法自动升级,请按当初的安装方式升级",
479
- "npm_permission": "npm 没有权限写全局目录:可以用 sudo {{command}},或运行 npm config set prefix ~/.npm-global 并把 ~/.npm-global/bin 加进 PATH 后重试",
417
+ "npm_permission": "npm 安装没有完成。如果上面的输出里有 EACCES(没有权限写全局目录):可以用 sudo {{command}},或运行 npm config set prefix ~/.npm-global 并把 ~/.npm-global/bin 加进 PATH 后重试",
480
418
  "duplicates": "本机有多份 {{tool}},保留 {{keep}},多余的是 {{others}}",
481
419
  "duplicates_note": "本机有 {{count}} 份,终端里实际运行的是 {{active}},另外还有 {{others}};运行 {{cli}} upgrade {{tool}} 升级并只留一份",
482
420
  "confirm_remove": "删掉多余的那几份吗?",
@@ -493,7 +431,7 @@
493
431
  },
494
432
  "install": {
495
433
  "permission_unix": "多半是 npm 没有权限写全局目录。可以二选一:① sudo {{command}};② 运行 npm config set prefix ~/.npm-global,把 export PATH=~/.npm-global/bin:$PATH 加进 ~/.zshrc 或 ~/.bashrc,重开终端后再运行 {{command}}",
496
- "permission_windows": "多半是权限不足或文件被占用:关掉正在运行的 Claude Code / Codex,用管理员身份打开终端,再运行 {{command}}",
434
+ "permission_windows": "多半是权限不足或文件被占用:关掉正在运行的这个工具,用管理员身份打开终端,再运行 {{command}}",
497
435
  "what_next": "接下来怎么做?",
498
436
  "installed_continue": "我已经手动装好了,继续",
499
437
  "cancel_install": "取消",
@@ -538,15 +476,16 @@
538
476
  "error_timeout": "超时",
539
477
  "error_network": "网络连接失败",
540
478
  "error_not_gateway": "返回的不是 {{brand}}",
541
- "network_hint": "连不上当前接入地址时,运行 {{cli}} base 查看其他地址,{{cli}} base auto 自动换到能用的那个",
542
479
  "tools_moved": "以下工具已改用这个地址:",
543
480
  "setup_fallback": "{{from}} 连不上:{{reason}}。已改用 {{url}},以后也用这个地址;网络恢复后可运行 {{cli}} base default 换回主站",
544
481
  "models_count": "{{count}} 个模型",
545
482
  "fastest": "最快",
546
483
  "error_key_rejected": "令牌被拒绝(无效或已过期)",
547
484
  "key_rejected_everywhere": "所有地址都拒绝了这把令牌,令牌可能无效或已过期,请到控制台检查;换了新令牌后运行 {{cli}} setup --key <新 Key>",
548
- "probe_with_key": "用你保存的令牌在每个地址拉一次模型列表,测 3 次取中位数",
549
- "probe_without_key": "还没有保存令牌,只测网关能否打开;运行 {{cli}} setup --key <你的 Key> 后会改为实际拉模型列表"
485
+ "probe_with_key": "用你保存的令牌在内置地址和当前地址上拉模型列表(其它地址只测网关能否打开),每个地址测 3 次取中位数",
486
+ "probe_without_key": "还没有保存令牌,只测网关能否打开;运行 {{cli}} setup --key <你的 Key> 后会改为实际拉模型列表",
487
+ "setup_fallback_main": "{{from}} 连不上:{{reason}}。已改回主站 {{url}}",
488
+ "next_addresses": "下一步:运行 {{cli}} base 查看可用接入地址,或 {{cli}} base auto 自动切换"
550
489
  },
551
490
  "help": {
552
491
  "help_command": "显示某个命令的帮助",
@@ -583,10 +522,10 @@
583
522
  "global": {
584
523
  "help": "显示帮助",
585
524
  "version": "显示版本号",
586
- "base": "接入地址(setup / init / auth / config 会保存,其他命令只本次生效)",
587
- "non_interactive": "不弹出任何提问(脚本、CI 用)",
525
+ "base": "接入地址(setup / init / auth / config / enter 和主菜单会保存,其他命令只本次生效)",
526
+ "non_interactive": "不弹出任何提问,需要确认的操作直接执行(脚本、CI 用)",
588
527
  "json": "输出 JSON(支持的命令)",
589
- "yes": "需要确认时自动选默认答案",
528
+ "yes": "需要确认时一律回答「是」(--non-interactive、--json 也一样)",
590
529
  "dry_run": "只显示会改什么,不写入(不支持预演的命令直接拒绝)",
591
530
  "no_color": "不用颜色"
592
531
  },
@@ -720,7 +659,6 @@
720
659
  "force": "把 Claude Code 的配置整份重写",
721
660
  "tool_model": "Codex 单独用某个模型",
722
661
  "profile": "新建一个叫 work 的 profile",
723
- "backup": "升级前备份 {{product}} 配置",
724
662
  "remove": "不再让 Codex 用 {{brand}}(例如改回 ChatGPT 订阅登录)"
725
663
  },
726
664
  "when": "调整单个工具(换模型、重写或还原配置),或管理 profile、模型预设和备份时。",
@@ -755,7 +693,7 @@
755
693
  "default": "回到主站"
756
694
  },
757
695
  "when": "工具报连接失败、超时或证书错误时。",
758
- "needs": "保存过 Key 时会用它确认线路真的能用;没有 Key 只测网关是否在线",
696
+ "needs": "保存过 Key 时,内置地址和当前地址会用它确认线路真的能用;其它地址和没有 Key 时只测网关是否在线",
759
697
  "alt": {
760
698
  "doctor": "不确定是不是地址的问题",
761
699
  "bench": "只测延迟,不切换"
@@ -777,12 +715,12 @@
777
715
  "summary": "检查配置和网络问题",
778
716
  "description": "检查 Key、网络、代理、已安装的工具和它们的配置,并给出处理办法。",
779
717
  "opt": {
780
- "deep": "再用 Claude Code 真实发一条请求(消耗少量额度)",
718
+ "deep": "装了 Claude Code 时,再用它真实发一条请求(消耗少量额度)",
781
719
  "report": "检查后上传诊断信息(检查结果、工具版本、设置和最近的运行记录,不含 Key 和对话内容),得到一个诊断码发给客服"
782
720
  },
783
721
  "ex": {
784
722
  "run": "做一次检查",
785
- "deep": "连 Claude Code 实际请求一起检查",
723
+ "deep": "装了 Claude Code 时连它的实际请求一起检查",
786
724
  "report": "上传诊断信息,得到诊断码发给客服"
787
725
  },
788
726
  "when": "工具报错(401、连不上、找不到模型)又不知道原因时。",
@@ -795,7 +733,7 @@
795
733
  "summary": "测接入地址的延迟",
796
734
  "description": "用已保存的 Key 向当前接入地址请求几次模型列表,统计耗时。",
797
735
  "opt": {
798
- "samples": "请求次数"
736
+ "samples": "请求次数(1–50)"
799
737
  },
800
738
  "ex": {
801
739
  "run": "请求 5 次",
@@ -833,9 +771,9 @@
833
771
  },
834
772
  "upgrade": {
835
773
  "summary": "升级 Claude Code、Codex 等编码工具",
836
- "description": "先走工具自己的官方更新;失败时改用 {{brand}} 一键安装脚本(程序取自国内镜像)。\n不填工具名就升级已安装的全部。\n升级 {{product}} 自己用 {{cli}} update。",
774
+ "description": "按每份工具当初的安装方式升级:原生安装用工具自带的更新,npm 安装从国内镜像(npmmirror)重装,Homebrew 安装用 brew upgrade;原生或 Homebrew 升级失败时,改用 {{brand}} 一键安装脚本(程序取自国内镜像)。点名了但还没装的工具也用这个脚本装上。\n不填工具名就升级已安装的全部。\n升级 {{product}} 自己用 {{cli}} update。",
837
775
  "arg": {
838
- "tools": "claude-code / codex / agy,可以写多个"
776
+ "tools": "claude-code / codex / grok / agy,可以写多个"
839
777
  },
840
778
  "ex": {
841
779
  "all": "升级已安装的全部工具",
@@ -862,7 +800,7 @@
862
800
  },
863
801
  "update": {
864
802
  "summary": "检查 {{product}} 有没有新版本",
865
- "description": "依次查 {{updateSources}} 源,有新版时给出安装命令。\n全局安装的 {{product}} 启动时也会自动检查(6 小时一次)。",
803
+ "description": "依次查 {{updateSources}} 源,有新版时给出安装命令。\n全局安装的 {{product}} 启动时也会检查(6 小时一次),有新版就自动安装并重新执行当前命令。",
866
804
  "ex": {
867
805
  "check": "检查新版本",
868
806
  "json": "输出 JSON"
@@ -971,12 +909,13 @@
971
909
  "next_step": "下一步:{{command}}",
972
910
  "hint_logs": "下一步:运行 {{cli}} logs tail 查看详细日志",
973
911
  "cancelled": "已取消操作",
974
- "cancel_hint": "下一步:运行 {{cli}} 重新开始"
912
+ "cancel_hint": "下一步:运行 {{cli}} 重新开始",
913
+ "key_placeholder": "<你的 Key>"
975
914
  },
976
915
  "help_topics": {
977
916
  "exit_codes": {
978
917
  "title": "退出码与错误输出",
979
- "body": "退出码:\n 0 成功\n 1 操作失败\n 2 用法或输入错误\n 3 认证失败(Key 无效或被拒绝)\n 4 网络问题(DNS、证书、超时或网关不可达)\n 5 内部错误\n 10 需要确认(非交互模式请加 --yes)\n 130 用户取消\n\n使用 --json 时,成功输出保持原格式;失败只在 stderr 输出一个 JSON 对象:\n{\"ok\":false,\"error\":{\"type\":\"usage\",\"message\":\"…\",\"hint\":\"…\",\"subtype\":\"…\"}}"
918
+ "body": "退出码:\n 0 成功\n 1 操作失败\n 2 用法或输入错误\n 3 认证失败(Key 无效或被拒绝)\n 4 网络问题(DNS、证书、超时或网关不可达)\n 5 内部错误\n 130 用户取消\n\n使用 --json 时,成功输出保持原格式;失败只在 stderr 输出一个 JSON 对象:\n{\"ok\":false,\"error\":{\"type\":\"usage\",\"message\":\"…\",\"hint\":\"…\",\"subtype\":\"…\"}}"
980
919
  },
981
920
  "environment": {
982
921
  "title": "环境变量",
@@ -992,6 +931,7 @@
992
931
  "cache": "本地缓存",
993
932
  "bundled": "随包快照",
994
933
  "none": "无(用内置清单)"
995
- }
934
+ },
935
+ "nothing_checked": "没有要同步的模型菜单:没有保存 Key、工具不是 {{product}} 配置的,或连不上网关"
996
936
  }
997
937
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibeapi/api-helper",
3
- "version": "0.0.125",
3
+ "version": "0.0.127",
4
4
  "description": "CLI tool for managing AI coding assistants (Claude Code, Codex, OpenClaw, Hermes, AtomCode, Grok Build) with one unified config",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",