codebee 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/app/ui/i18n.js CHANGED
@@ -264,6 +264,7 @@
264
264
  "暂停": "Pause",
265
265
  "继续执行": "Resume",
266
266
  "也可直接粘贴截图": "or paste a screenshot directly",
267
+ "添加附件": "Add attachment",
267
268
  "添加附件:截图/文本/代码/PDF 等,创建任务时落盘到工作目录 _attachments/": "Add attachments — screenshots/text/code/PDF; saved to the task workdir under _attachments/ on creation",
268
269
  "附件最多 12 个": "Up to 12 attachments",
269
270
  "不支持的附件类型:": "Unsupported file type: ",
@@ -348,7 +349,7 @@
348
349
  "「": "\"",
349
350
  "」将变为只读。": "\" will become read-only.",
350
351
  "」恢复为内置默认配置?": "\" restored to built-in defaults?",
351
- "」控制中(点击接管)": "\" is in control (click to take over)",
352
+ "{0} 正在控制(点击接管)": "{0} is in control (click to take over)",
352
353
  "」?已有任务不受影响。": "\"? Existing tasks are not affected.",
353
354
  "」?\n停用后它的绑定会回落为 CLI 默认;配置与模型列表保留,可随时再启用。": "\"?\nOnce disabled, its binding reverts to CLI defaults; config and model list are kept and can be re-enabled anytime.",
354
355
  "」?\n刷新 / 重新导入模型列表都不会再带回,可在分组底部「恢复全部」找回。": "\"?\nRefresh or re-import won't bring it back; you can recover from \"Restore all\" at the bottom of the group.",
@@ -475,6 +476,7 @@
475
476
  "一条能在工作目录里跑的命令,退出码 0 即视为通过;之后可在表单改": "A command that runs in the workdir — exit code 0 means pass; editable in the form later",
476
477
  "留空靠 AI 评审": "empty — AI review only",
477
478
  "协议不匹配,解析时跳过": "protocol mismatch — skipped when resolving",
479
+ "无可用 wire,解析时跳过": "no usable wire — skipped when resolving",
478
480
  "该 CLI 只接受特定 wire 协议的供应商,当前没有匹配项——先到「模型接入」页导入对应协议的网关。": "This CLI only accepts providers on a specific wire protocol and none match — import a compatible gateway on the Models page first.",
479
481
  "%1 个供应商 wire 协议不匹配已隐藏(降级只在同协议网关间进行)。": "%1 provider(s) hidden due to wire-protocol mismatch — fallback stays within the same protocol.",
480
482
  "已适配(%1 wire)": "adapted (%1 wire)",
@@ -845,6 +847,18 @@
845
847
  "勾选该 CLI 编排运行时的模型(可跨供应商混选):第 1 条是主模型,其余按顺序作降级备选,每条自带该供应商的凭据注入。": "Pick the models this CLI uses at runtime (cross-provider is OK): the first is primary, the rest are fallbacks in order. Each entry carries its provider's credentials.",
846
848
  "最多选 3 条(1 个主模型 + 2 个降级备选)。": "Up to 3 entries (1 primary + 2 fallbacks).",
847
849
  "有未保存改动": "Unsaved changes",
850
+ "一键推荐绑定": "Auto-fill recommendations",
851
+ "全部保存": "Save all",
852
+ "已为 %1 个 CLI 预填推荐模型,确认无误后点各卡片「保存」,或点右上「全部保存」。": "Prefilled recommended models for %1 CLI(s). Review each card and click \"Save\", or \"Save all\" above.",
853
+ "已为 %1 个空链 CLI 预填推荐,并修复 %2 条失效链——确认后保存。": "Prefilled %1 empty chain(s) and repaired %2 broken chain(s) — review and save.",
854
+ "已为 %1 条失效链重新推荐(原厂商失效/停用/模型停用)——确认后点「全部保存」生效。": "Re-recommended %1 broken chain(s) (dead/disabled provider or model) — click \"Save all\" to apply.",
855
+ "供应商已删除": "Provider deleted",
856
+ "供应商已停用": "Provider disabled",
857
+ "密钥全部冷却中": "All keys cooling down",
858
+ "模型已停用": "Model disabled",
859
+ "没有可推荐的:先到「模型接入」页导入与 CLI 协议匹配的供应商。": "Nothing to recommend — import providers matching the CLI protocols on the \"Models\" page first.",
860
+ "所有 CLI 都已配置模型链,无需推荐。": "All CLIs already have model chains — no recommendation needed.",
861
+ "已保存 %1 个 CLI 的绑定。": "Saved bindings for %1 CLI(s).",
848
862
  "未安装": "Not installed",
849
863
  "有新版本 ": "New version ",
850
864
  "已是最新": "Up to date",
@@ -1395,6 +1409,10 @@
1395
1409
  "通义千问编码 CLI(gemini-cli 系);无头走 stdin;绑定凭据经打开注入写 settings.json 的 env 段(OPENAI_*,qwen 存在即优先 openai 兼容通道)": "Qwen coding CLI (gemini-cli family); headless via stdin; bound credentials are injected at launch into the env section of settings.json (OPENAI_* — prefers the openai-compatible channel when present)",
1396
1410
  "Python 系结对编程 CLI;用 py -3.13 安装,模型经其配置/环境变量设置": "Python pairing CLI; install with py -3.13, model set via its config/env",
1397
1411
  "xAI 终端编码智能体;可执行名是 grok(不是 grok-build);默认模型在 ~/.grok/config.toml 的 [models] default(JSON 版配置不存在)": "xAI terminal coding agent; the executable is grok (not grok-build); the default model goes to [models] default in ~/.grok/config.toml (no JSON config variant)",
1412
+ "网关型个人 AI 智能体(原 Clawdbot);编排模板装好后需验证;默认模型在 openclaw.json 的 agents.defaults.model.primary(顶层 model 键会被 schema 校验拒绝启动,绝不写顶层)": "Gateway-style personal AI agent (formerly Clawdbot); verify after setup; the default model goes to agents.defaults.model.primary in openclaw.json (a top-level model key fails the schema check and blocks startup — never write it)",
1413
+ "月之暗面 Kimi 编码 CLI(TypeScript 版,需 Node ≥22.19);旧 Python 版 kimi-cli 正在下线;默认模型在 ~/.kimi-code/config.toml 的顶层 default_model(值须是 [models] 表里定义的别名),首启自动建文件": "Moonshot AI Kimi coding CLI (TypeScript edition, requires Node ≥22.19); the legacy Python kimi-cli is being retired; the default model goes to top-level default_model in ~/.kimi-code/config.toml (an alias defined in the [models] table), auto-created on first launch",
1414
+ "小米 MiMo Code(opencode 衍生);无头调用是子命令 mimo run \"提示词\",-p 在该 CLI 是 --password;默认模型在 ~/.config/mimocode/mimocode.jsonc 顶层 model(provider/model 格式),onboarding 自动建文件": "Xiaomi MiMo Code (OpenCode derivative); headless is the subcommand mimo run \"prompt\" — -p means --password on this CLI; the default model goes to top-level model in ~/.config/mimocode/mimocode.jsonc (provider/model format), auto-created by onboarding",
1415
+ "Earendil Works 的 Pi 编码 CLI(需 Node ≥22.19);包名必须带 @earendil-works/ 前缀;默认模型在 ~/.pi/agent/settings.json 的 defaultModel(须配 defaultProvider 才能解析)": "Pi coding CLI by Earendil Works (requires Node ≥22.19); the package name must carry the @earendil-works/ prefix; the default model goes to defaultModel in ~/.pi/agent/settings.json (defaultProvider must be set for it to resolve)",
1398
1416
  "Earendil Works 的 Pi 编码 CLI(需 Node ≥22.19);包名必须带 @earendil-works/ 前缀": "Earendil Works' Pi coding CLI (needs Node ≥22.19); package name must carry the @earendil-works/ prefix",
1399
1417
  "DeepSeek 官方 agent harness(dsh,profile 插件架构);无头是「一次性任务」——答完即退": "DeepSeek's official agent harness (dsh, profile-plugin architecture); headless is one-shot — it answers and exits",
1400
1418
  "小米 MiMo Code(opencode 衍生);无头调用是子命令 mimo run \"提示词\",-p 在该 CLI 是 --password": "Xiaomi MiMo Code (OpenCode derivative); headless is the subcommand mimo run \"prompt\" — -p means --password on this CLI",
@@ -1443,8 +1461,9 @@
1443
1461
  "作品名称": "Book Title",
1444
1462
  "签约模式": "Signing Mode",
1445
1463
  "目标读者": "Target Readers",
1446
- "阅读标签": "Reading Tags",
1447
- "内容标签": "Content Tags",
1464
+ "主题标签": "Theme Tags",
1465
+ "角色标签": "Role Tags",
1466
+ "情节标签": "Plot Tags",
1448
1467
  "一级分类": "Category",
1449
1468
  "二级分类": "Subcategory",
1450
1469
  "作品标签": "Tags",
package/app/ui/index.html CHANGED
@@ -48,6 +48,8 @@
48
48
  <symbol id="i-bee" viewBox="0 0 24 24"><ellipse cx="12" cy="14" rx="5.2" ry="6.2"/><path d="M8 12h8M8.3 14.8h7.4M9.4 17.4h5.2"/><path d="M9.6 8.4C8 6.2 5.4 6.6 5.7 8.6c.2 1.4 2.1 1.9 3.7 1.1M14.4 8.4c1.6-2.2 4.2-1.8 3.9.2-.2 1.4-2.1 1.9-3.7 1.1"/><path d="M13.4 5.6l2.1-2.1M15.9 6.9l2.5-1.2"/></symbol>
49
49
  <symbol id="i-gamepad" viewBox="0 0 24 24"><line x1="6" x2="10" y1="11" y2="11"/><line x1="8" x2="8" y1="9" y2="13"/><line x1="15" x2="15.01" y1="12" y2="12"/><line x1="18" x2="18.01" y1="10" y2="10"/><path d="M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z"/></symbol>
50
50
  <symbol id="i-book" viewBox="0 0 24 24"><path d="M4 5a2 2 0 0 1 2-2h9l5 5v11a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z"/><path d="M8 8h5M8 12h8M8 16h6"/></symbol>
51
+ <symbol id="i-plus" viewBox="0 0 24 24"><path d="M12 5v14"/><path d="M5 12h14"/></symbol>
52
+ <symbol id="i-chat" viewBox="0 0 24 24"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/><path d="M8 9h8M8 12.5h5"/></symbol>
51
53
  <symbol id="i-workflow" viewBox="0 0 24 24"><rect x="3" y="3" width="7" height="7" rx="1.5"/><rect x="14" y="14" width="7" height="7" rx="1.5"/><path d="M10 6.5h4a3 3 0 0 1 3 3V14"/></symbol>
52
54
  <symbol id="i-phone" viewBox="0 0 24 24"><rect x="5" y="2" width="14" height="20" rx="2.5"/><path d="M12 18h.01"/></symbol>
53
55
  <symbol id="i-arrow-left" viewBox="0 0 24 24"><path d="M19 12H5"/><path d="m12 19-7-7 7-7"/></symbol>
@@ -380,7 +382,7 @@
380
382
  <div class="rd-chat-bar">
381
383
  <textarea id="rd-chat-input" rows="2" data-i18n-ph="继续说…(Enter 发送,Shift+Enter 换行;可直接粘贴截图)" placeholder="继续说…(Enter 发送,Shift+Enter 换行;可直接粘贴截图)"></textarea>
382
384
  <div class="rd-chat-tools">
383
- <button id="rd-chat-attach" class="ghost small" data-i18n="附件">附件</button>
385
+ <button id="rd-chat-attach" class="ghost" data-i18n-title="添加附件" title="添加附件" data-i18n-aria="添加附件" aria-label="添加附件"><svg class="ico" aria-hidden="true"><use href="#i-plus"></use></svg></button>
384
386
  <span id="rd-chat-att-list" class="rd-att-list"></span>
385
387
  <span id="rd-chat-hint" class="rd-hint"></span>
386
388
  <button id="rd-chat-send" class="primary round" data-i18n-title="发送" title="发送" data-i18n-aria="发送" aria-label="发送"><svg class="ico" aria-hidden="true"><use href="#i-arrow-up"></use></svg></button>
@@ -549,7 +551,10 @@
549
551
  <!-- CLI 绑定 -->
550
552
  <div id="sub-bindings" class="subpage hidden">
551
553
  <div class="panel wide">
552
- <div class="panel-head"><h2 data-i18n="CLI 绑定">CLI 绑定</h2></div>
554
+ <div class="panel-head"><h2 data-i18n="CLI 绑定">CLI 绑定</h2>
555
+ <button id="btn-autobind" class="ghost small" onclick="autoBindAll()" data-i18n="一键推荐绑定">一键推荐绑定</button>
556
+ <button id="btn-saveall-bind" class="ghost small hidden" onclick="saveAllBindings()" data-i18n="全部保存">全部保存</button>
557
+ </div>
553
558
  <p data-i18n="CodeBee 编排运行时的模型都在这里配:模型链可跨厂商混搭——每条自带供应商注入(API key + 地址),第 1 条是主模型、其余按顺序降级,瞬态错误自动切到下一条(可能是另一家厂商)。链空则按供应商默认 / 难度自动选。只影响 CodeBee 发起的调用,不改写 CLI 全局配置(要改默认模型请到「智能体管理」页)。" class="hint">CodeBee 编排运行时的模型都在这里配:模型链可跨厂商混搭——每条自带供应商注入(API key + 地址),第 1 条是主模型、其余按顺序降级,瞬态错误自动切到下一条(可能是另一家厂商)。链空则按供应商默认 / 难度自动选。只影响 CodeBee 发起的调用,不改写 CLI 全局配置(要改默认模型请到「智能体管理」页)。</p>
554
559
  <div id="binding-list" class="cards"></div>
555
560
  </div>