@vibeapi/api-helper 0.0.28 → 0.0.30

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.
@@ -16,7 +16,8 @@
16
16
  "doctor": "健康检查",
17
17
  "enter": "配置管理",
18
18
  "tool": "工具管理",
19
- "status": "显示当前配置状态"
19
+ "status": "显示当前配置状态",
20
+ "setup": "一条命令完成配置(--key 按能力自动选工具 / --claudekey --codexkey 双令牌分别配置)"
20
21
  },
21
22
  "lang": {
22
23
  "current": "当前语言",
@@ -210,7 +211,8 @@
210
211
  "models": "模型",
211
212
  "tools": "工具",
212
213
  "config_loaded": "已应用配置",
213
- "config_not_loaded": "未应用配置"
214
+ "config_not_loaded": "未应用配置",
215
+ "tool_key_label": "{{tool}} 专属 Key"
214
216
  },
215
217
  "messages": {
216
218
  "initializing": "正在初始化...",
@@ -300,5 +302,20 @@
300
302
  },
301
303
  "secret_store": {
302
304
  "host_changed": "本机无法解密已保存的 API Key。密钥库可能创建于其它机器或用户。请通过 'vibecli auth' 重新认证以刷新。"
305
+ },
306
+ "setup": {
307
+ "usage": "用法: vibecli setup --key sk-xxx 或 vibecli setup --claudekey sk-a --codexkey sk-b",
308
+ "validating": "正在验证 {{label}} 的 API Key...",
309
+ "invalid_key": "{{label}} 的 API Key 无效: {{reason}}",
310
+ "probe_failed": "{{label}} 的模型能力探测失败(网络原因),按全部可用继续",
311
+ "key_no_claude": "{{label}} 无法访问 Claude 模型(令牌分组不含 Claude),已跳过 Claude Code",
312
+ "key_no_gpt": "{{label}} 无法访问 GPT 模型(令牌分组不含 GPT),已跳过 Codex",
313
+ "key_no_family": "该 Key 探测不到 Claude 或 GPT 模型,请确认令牌分组后重试",
314
+ "skip_no_claude": "该 Key 未开通 Claude 模型分组,已跳过 Claude Code",
315
+ "skip_no_gpt": "该 Key 未开通 GPT 模型分组,已跳过 Codex",
316
+ "configured": "√ {{tool}} 配置完成(运行 `{{command}}` 即可使用)",
317
+ "apply_failed": "{{tool}} 配置写入失败: {{reason}}",
318
+ "install_hint": " 提示: 尚未检测到 {{tool}},可运行 {{install}} 安装",
319
+ "done": "完成: 已配置 {{count}} 个工具。终端输入 {{commands}} 即可开始编码!"
303
320
  }
304
321
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibeapi/api-helper",
3
- "version": "0.0.28",
3
+ "version": "0.0.30",
4
4
  "description": "CLI tool for managing AI coding assistants (Claude Code, Codex, OpenClaw, Hermes, AtomCode) with one unified config",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",