codebee 0.1.104 → 0.1.106
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/CHANGELOG.md +17 -0
- package/README.md +10 -4
- package/app/core/activity.py +36 -0
- package/app/core/builtin_agent.py +6 -1
- package/app/core/checkpoints.py +48 -5
- package/app/core/jobs.py +7 -0
- package/app/core/manager.py +1 -0
- package/app/core/market_remote.py +19 -7
- package/app/core/mcp_client.py +102 -63
- package/app/core/openapi.py +29 -0
- package/app/core/pipeline.py +40 -14
- package/app/core/project_memory.py +47 -1
- package/app/core/publish/auto.py +74 -3
- package/app/core/publish/ledger.py +5 -0
- package/app/core/publish/manager.py +5 -1
- package/app/core/registry.py +35 -0
- package/app/core/review_requests.py +119 -0
- package/app/core/runner.py +5 -1
- package/app/core/runtime_lock.py +75 -0
- package/app/core/selfupdate.py +8 -0
- package/app/core/store.py +32 -2
- package/app/core/usage.py +31 -26
- package/app/core/webhooks.py +17 -13
- package/app/desktop_host.py +190 -0
- package/app/main.py +131 -4
- package/app/pet.py +1 -1
- package/app/ui/activity.css +34 -0
- package/app/ui/activity.js +199 -0
- package/app/ui/app.js +813 -66
- package/app/ui/hive3d.js +214 -72
- package/app/ui/i18n.js +162 -2
- package/app/ui/index.html +155 -75
- package/app/ui/style.css +583 -26
- package/package.json +1 -1
package/app/ui/i18n.js
CHANGED
|
@@ -10,6 +10,38 @@
|
|
|
10
10
|
const LANG_KEY = "orch.lang";
|
|
11
11
|
// 字典:键 = 中文原文;值 = 英文译文。未命中即回落中文。
|
|
12
12
|
const EN = {
|
|
13
|
+
"工作区和任务": "Workspaces and tasks",
|
|
14
|
+
"{0} 个工作区 · {1} 个任务": "{0} workspaces · {1} tasks",
|
|
15
|
+
"返回工作区": "Back to workspaces",
|
|
16
|
+
"在此工作区新建任务": "New task in this workspace",
|
|
17
|
+
"未运行": "Not started",
|
|
18
|
+
"长目标": "Long-running goal",
|
|
19
|
+
"把需要多轮推进的工作固定下来,随时暂停或恢复。": "Keep multi-step work in view and pause or resume it at any time.",
|
|
20
|
+
"目标标题": "Goal title",
|
|
21
|
+
"目标说明": "Goal description",
|
|
22
|
+
"例如:逐步完善 CodeBee 桌面体验": "For example: Improve CodeBee's desktop experience",
|
|
23
|
+
"写下完成标准或背景(可选)": "Add context or completion criteria (optional)",
|
|
24
|
+
"创建长目标": "Create goal",
|
|
25
|
+
"目标进度": "Goal progress",
|
|
26
|
+
"已暂停": "Paused",
|
|
27
|
+
"恢复目标": "Resume goal",
|
|
28
|
+
"标记完成": "Mark complete",
|
|
29
|
+
"目标不存在": "Goal not found",
|
|
30
|
+
"无法读取长目标": "Could not load the goal",
|
|
31
|
+
"创建目标失败": "Could not create the goal",
|
|
32
|
+
"更新目标失败": "Could not update the goal",
|
|
33
|
+
"确定将这个长目标标记为完成吗?": "Mark this long-running goal as complete?",
|
|
34
|
+
"活动视图": "Activity view",
|
|
35
|
+
"活动": "Activity",
|
|
36
|
+
"打开活动视图": "Open activity view",
|
|
37
|
+
"关闭活动视图": "Close activity view",
|
|
38
|
+
"需要你处理": "Needs your attention",
|
|
39
|
+
"正在执行": "In progress",
|
|
40
|
+
"更早": "Earlier",
|
|
41
|
+
"全部已读": "Mark all read",
|
|
42
|
+
"将完成任务标为已读": "Mark completed runs as read",
|
|
43
|
+
"{0} 项待处理 · {1} 项完成未读": "{0} need attention · {1} completed unread",
|
|
44
|
+
"暂无活动,开始一个任务后会在这里显示进展。": "No activity yet. Start a task to see its progress here.",
|
|
13
45
|
"蜂巢视图控制": "Hive view controls",
|
|
14
46
|
"全屏": "Fullscreen",
|
|
15
47
|
"进入全屏": "Enter fullscreen",
|
|
@@ -50,6 +82,10 @@
|
|
|
50
82
|
// —— 短片段(拼接用)——
|
|
51
83
|
"检查中…": "Checking…",
|
|
52
84
|
"浏览器": "Browser",
|
|
85
|
+
"新标签页": "New tab",
|
|
86
|
+
"搜索网页,或输入网址": "Search the web or enter a URL",
|
|
87
|
+
"常用网站": "Shortcuts",
|
|
88
|
+
"任务面板": "Task panel",
|
|
53
89
|
"本地浏览器工作区": "Local browser workspace",
|
|
54
90
|
"工作上下文": "Work context",
|
|
55
91
|
"本地": "Local",
|
|
@@ -656,6 +692,46 @@
|
|
|
656
692
|
"皮肤": "Skins",
|
|
657
693
|
"手机连接": "Phone link",
|
|
658
694
|
"设置": "Settings",
|
|
695
|
+
"工作流": "Workflow",
|
|
696
|
+
"集成": "Integrations",
|
|
697
|
+
"智能体与模型": "Agents & models",
|
|
698
|
+
"知识与扩展": "Knowledge & extensions",
|
|
699
|
+
"用量与数据": "Usage & data",
|
|
700
|
+
"外观与软件": "Appearance & software",
|
|
701
|
+
"搜索设置和功能…": "Search settings and features…",
|
|
702
|
+
"搜索设置和功能": "Search settings and features",
|
|
703
|
+
"没有匹配的设置": "No matching settings",
|
|
704
|
+
"运行与工作区": "Runtime & workspace",
|
|
705
|
+
"工具与连接": "Tools & connections",
|
|
706
|
+
"配置 MCP、ACP 与本机命令授权。这些工具会以你的本机权限运行,请只连接可信服务。": "Configure MCP, ACP and local command authorization. These tools run with your local permissions; connect trusted services only.",
|
|
707
|
+
"权限": "permissions",
|
|
708
|
+
"命令授权": "Command authorization",
|
|
709
|
+
"通知": "Notifications",
|
|
710
|
+
"网站权限": "Site permissions",
|
|
711
|
+
"浏览记录和数据": "History and data",
|
|
712
|
+
"本地保存": "Stored locally",
|
|
713
|
+
"浏览记录": "Browsing history",
|
|
714
|
+
"搜索标题或网址": "Search titles or URLs",
|
|
715
|
+
"最多保存最近 500 条,仅存于本机。": "The latest 500 entries are stored on this device.",
|
|
716
|
+
"清理浏览数据": "Clear browsing data",
|
|
717
|
+
"清理浏览数据?": "Clear browsing data?",
|
|
718
|
+
"将删除本机保存的浏览记录、标签页和网站权限配置,并恢复为一个新标签页。": "This removes locally saved history, tabs, and site permission settings, then opens a new tab.",
|
|
719
|
+
"由于网页运行在隔离框架中,CodeBee 无法读取或清理系统浏览器中的 Cookie、缓存及下载记录。": "Pages run in an isolated frame, so CodeBee cannot access or clear system browser cookies, cache, or downloads.",
|
|
720
|
+
"清理本地数据": "Clear local data",
|
|
721
|
+
"按站点控制": "Per-site controls",
|
|
722
|
+
"当前没有打开网站": "No site is open",
|
|
723
|
+
"摄像头": "Camera",
|
|
724
|
+
"允许此站点请求摄像头访问": "Allow this site to request camera access",
|
|
725
|
+
"麦克风": "Microphone",
|
|
726
|
+
"允许此站点请求麦克风访问": "Allow this site to request microphone access",
|
|
727
|
+
"位置信息": "Location",
|
|
728
|
+
"允许此站点请求设备位置": "Allow this site to request device location",
|
|
729
|
+
"读取剪贴板": "Read clipboard",
|
|
730
|
+
"允许此站点请求读取剪贴板": "Allow this site to request clipboard access",
|
|
731
|
+
"网站权限仅对 HTTPS 网站开放。": "Site permissions are available for HTTPS websites only.",
|
|
732
|
+
"只允许此网站请求所选权限;浏览器仍会在网站实际使用时显示系统授权提示。": "Only this site can request the selected permissions. The browser will still ask when the site uses them.",
|
|
733
|
+
"没有匹配的浏览记录": "No matching history",
|
|
734
|
+
"暂无浏览记录": "No browsing history",
|
|
659
735
|
"多端控制权": "Multi-device control",
|
|
660
736
|
"时间范围": "Time range",
|
|
661
737
|
"明暗模式": "Theme",
|
|
@@ -812,7 +888,6 @@
|
|
|
812
888
|
"逐项目标核对:": "Beat-by-beat check: ",
|
|
813
889
|
"第": "Ch.",
|
|
814
890
|
"章": "",
|
|
815
|
-
" 轮": " rounds",
|
|
816
891
|
"只重写上一遍未过线的章节,已过线章节沿用成稿与评分": "Rewrites only the chapters that missed the threshold last run; passing chapters keep their drafts and scores.",
|
|
817
892
|
"再跑一次这个任务;连载任务会断点续跑,已完成章节不重写": "Run this task again; serial novels resume from the breakpoint — finished chapters are kept.",
|
|
818
893
|
"✎ 编辑重试": "✎ Edit & retry",
|
|
@@ -1024,7 +1099,7 @@
|
|
|
1024
1099
|
"代码引擎": "Code engine",
|
|
1025
1100
|
"评审引擎": "Review engine",
|
|
1026
1101
|
"直连引擎": "Direct engine",
|
|
1027
|
-
"实现 → 验证
|
|
1102
|
+
"实现 → 验证 →(复杂任务进)评审": "Implement → verify → review (complex tasks)",
|
|
1028
1103
|
"起草 → 多维评审 → 门禁": "Draft → multi-dim review → gate",
|
|
1029
1104
|
"大纲 → 逐章起草评审 → 合并(可续跑)": "Outline → per-chapter draft & review → merge (resumable)",
|
|
1030
1105
|
"≈{0} tokens · {1}次": "≈{0} tokens · {1} runs",
|
|
@@ -1484,6 +1559,7 @@
|
|
|
1484
1559
|
"已写入:": "Saved: ",
|
|
1485
1560
|
"仅管理": "Management only",
|
|
1486
1561
|
"参与编排": "Join orchestration",
|
|
1562
|
+
"支持续会话": "Session resume",
|
|
1487
1563
|
"版本 ": "Version ",
|
|
1488
1564
|
" → <b>": " → <b>",
|
|
1489
1565
|
"(已是最新版本,无需升级)": " (already up to date — no upgrade needed)",
|
|
@@ -2607,6 +2683,7 @@
|
|
|
2607
2683
|
"找不到任务工作目录": "Task working directory not found",
|
|
2608
2684
|
"列文件失败:": "Failed to list files: ",
|
|
2609
2685
|
"工作目录里没有 .md 章稿": "No .md chapter drafts in the working directory",
|
|
2686
|
+
"暂无待发章节,已发布和已存草稿的章节已排除": "No pending chapters; published and saved-draft chapters are excluded",
|
|
2610
2687
|
"发布全部待发": "Publish all pending",
|
|
2611
2688
|
"按章号顺序逐章填稿(人工模式每点一次填一章,浏览器里提交后再点发下一章)": "Fills chapters one by one in order (manual mode: each click fills one; submit in the browser, then click again for the next)",
|
|
2612
2689
|
"将从最靠前的待发章节开始填稿(共 {0} 章待发)。本轮只填一章并停在表单页,由你在浏览器里确认提交;提交后再点一次即发下一章。护栏(每日上限/连续失败暂停)生效。继续?": "Fills from the earliest pending chapter ({0} pending). Each round fills one chapter and stops at the form page for you to confirm submission in the browser; click again to send the next one. Guardrails (daily cap / consecutive-failure pause) apply. Continue?",
|
|
@@ -2636,6 +2713,26 @@
|
|
|
2636
2713
|
"开始直发": "Start auto-publish",
|
|
2637
2714
|
"清空": "Clear",
|
|
2638
2715
|
"待发 ": "Pending ",
|
|
2716
|
+
"按卷计划自动分卷": "Volumes assigned automatically",
|
|
2717
|
+
"选择章节并发布": "Select chapters to publish",
|
|
2718
|
+
"已过审 · 可直发": "Approved · ready",
|
|
2719
|
+
"已过审 · 发布受限": "Approved · blocked",
|
|
2720
|
+
"审稿未通过": "Review failed",
|
|
2721
|
+
"已修改 · 需重审": "Changed · re-review",
|
|
2722
|
+
"待审或评审不足": "Awaiting valid review",
|
|
2723
|
+
"只选可直发": "Select ready",
|
|
2724
|
+
"章节审核状态说明": "Chapter review status legend",
|
|
2725
|
+
"仅选择单章审稿和发布门禁均已通过的章节": "Select only chapters with approved reviews and passed release gates",
|
|
2726
|
+
"已发布至第 {0} 章": "Published through chapter {0}",
|
|
2727
|
+
"(已发布至 {0} 章)": " (published through chapter {0})",
|
|
2728
|
+
"下一章:第 {0} 章": "Next: chapter {0}",
|
|
2729
|
+
"可直发 {0} 章 · 单章过审 {1} 章": "Ready: {0} · chapter reviews approved: {1}",
|
|
2730
|
+
"已存草稿 {0} 章(未发布)": "{0} drafts saved (unpublished)",
|
|
2731
|
+
"当前没有可选择的待发章节": "No pending chapters are available to select",
|
|
2732
|
+
"发布需逐章确认,直发自动提交,草稿不上线。": "Publish requires confirmation per chapter; auto-publish submits directly; drafts stay unpublished.",
|
|
2733
|
+
"请先选择章节": "Select chapters first",
|
|
2734
|
+
"已选 {0}/{1} 章": "Selected {0}/{1} chapters",
|
|
2735
|
+
"第 {0} 章": "Chapter {0}",
|
|
2639
2736
|
" 章(按卷计划自动分卷)": " chapters (volumes auto-assigned per plan)",
|
|
2640
2737
|
"直发已启动,进度见发布台": "Auto-publish started — track progress in the publish panel",
|
|
2641
2738
|
"所选章节逐章自动提交(无人值守),护栏每日上限/连败退避照常生效": "Selected chapters submit automatically one by one (unattended); guards (daily cap / failure backoff) stay active",
|
|
@@ -3219,6 +3316,69 @@
|
|
|
3219
3316
|
"网址": "Address",
|
|
3220
3317
|
"在系统浏览器打开": "Open in system browser",
|
|
3221
3318
|
"CodeBee 浏览器": "CodeBee Browser",
|
|
3319
|
+
// —— EN 词条收尾补全(2026-10-12 落地班 G 专项:t() 字面量对账复跑发现的
|
|
3320
|
+
// 22 键缺口——回放审批 15 + ACP 后端配置 7,功能入库时漏配,英文界面中文裸奔;
|
|
3321
|
+
// 「第{0}次」系占位复合键,替代「第/次」分字拼接,中文渲染不变)——
|
|
3322
|
+
"有用": "Helpful",
|
|
3323
|
+
"无用": "Not helpful",
|
|
3324
|
+
"项目记忆反馈失败:": "Project memory feedback failed: ",
|
|
3325
|
+
"步骤回放预览": "Step replay preview",
|
|
3326
|
+
"未命名步骤": "Unnamed step",
|
|
3327
|
+
"第{0}次": "attempt {0}",
|
|
3328
|
+
"仅显示最近 200 个步骤,共 ": "Showing last 200 steps of ",
|
|
3329
|
+
"所有步骤均已完成,可人工复核后继续": "All steps completed — review manually to continue",
|
|
3330
|
+
"无法安全自动回放:": "Cannot auto-replay safely: ",
|
|
3331
|
+
"需要人工核对": "manual review required",
|
|
3332
|
+
"批准一次": "Approve once",
|
|
3333
|
+
"暂无待批准命令": "No commands pending approval",
|
|
3334
|
+
"授权状态加载失败:": "Failed to load auth status: ",
|
|
3335
|
+
"授权策略保存失败:": "Failed to save auth policy: ",
|
|
3336
|
+
"命令授权操作失败:": "Command auth action failed: ",
|
|
3337
|
+
"ACP 活动": "ACP activity",
|
|
3338
|
+
"暂无 ACP 后端": "No ACP backends yet",
|
|
3339
|
+
"ACP 配置加载失败:": "Failed to load ACP config: ",
|
|
3340
|
+
"参数必须是 JSON 数组": "Argument must be a JSON array",
|
|
3341
|
+
"ACP 后端已保存": "ACP backend saved",
|
|
3342
|
+
"ACP 保存失败:": "Failed to save ACP backend: ",
|
|
3343
|
+
"删除 ACP 失败:": "Failed to delete ACP backend: ",
|
|
3344
|
+
"查看注入预览": "Preview injection",
|
|
3345
|
+
"本次注入预览": "Injection preview",
|
|
3346
|
+
"暂无可注入记忆": "No memory would be injected",
|
|
3347
|
+
"已使用 {0}/{1} 字符": "Using {0}/{1} characters",
|
|
3348
|
+
"项目记忆预览失败:": "Memory preview failed: ",
|
|
3349
|
+
"人工评审队列": "Human review queue",
|
|
3350
|
+
"新建评审请求": "New review request",
|
|
3351
|
+
"记录运行成果的人工复核与处理意见。渠道仅作记录;创建请求不会向外部渠道发送消息,批准也不会自动发布成果。": "Track manual reviews and feedback on run outputs. Channels are labels; requests do not send messages and approvals do not publish outputs automatically.",
|
|
3352
|
+
"评审状态": "Review status",
|
|
3353
|
+
"待处理": "Pending",
|
|
3354
|
+
"待分配": "Awaiting assignment",
|
|
3355
|
+
"评审中": "In review",
|
|
3356
|
+
"已批准": "Approved",
|
|
3357
|
+
"要求修改": "Changes requested",
|
|
3358
|
+
"分配评审人": "Assign reviewer",
|
|
3359
|
+
"批准评审": "Approve review",
|
|
3360
|
+
"关闭请求": "Close request",
|
|
3361
|
+
"标记过期": "Mark expired",
|
|
3362
|
+
"显示 {0} / {1} 条": "Showing {0} of {1}",
|
|
3363
|
+
"未填写评审摘要": "No review summary",
|
|
3364
|
+
"运行 ID": "Run ID",
|
|
3365
|
+
"评审渠道": "Review channel",
|
|
3366
|
+
"评审人": "Reviewer",
|
|
3367
|
+
"暂无匹配的评审请求": "No matching review requests",
|
|
3368
|
+
"正在加载评审请求…": "Loading review requests…",
|
|
3369
|
+
"评审数据格式不正确": "Invalid review data",
|
|
3370
|
+
"评审队列加载失败:": "Failed to load review queue: ",
|
|
3371
|
+
"评审摘要": "Review summary",
|
|
3372
|
+
"待评审文件(每行一个路径)": "Files to review (one path per line)",
|
|
3373
|
+
"创建请求": "Create request",
|
|
3374
|
+
"处理意见": "Feedback",
|
|
3375
|
+
"正在保存…": "Saving…",
|
|
3376
|
+
"评审请求已保存": "Review request saved",
|
|
3377
|
+
"评审请求保存失败:": "Failed to save review request: ",
|
|
3378
|
+
"请填写运行 ID": "Enter a run ID",
|
|
3379
|
+
"最多 200 个文件,每个路径最多 500 字符": "At most 200 files, with up to 500 characters per path",
|
|
3380
|
+
"请填写评审人": "Enter a reviewer",
|
|
3381
|
+
"请填写修改意见": "Enter change feedback",
|
|
3222
3382
|
};
|
|
3223
3383
|
|
|
3224
3384
|
// ---------- 工具 ----------
|