dsh-team-bots 0.2.289 → 0.2.347

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.
Files changed (119) hide show
  1. package/README.md +60 -122
  2. package/docs/README.zh.md +61 -123
  3. package/docs/assets/channel-redesign.png +0 -0
  4. package/docs/assets/global-config-dark.png +0 -0
  5. package/docs/assets/global-config-light.png +0 -0
  6. package/docs/assets/global-config-light.zh.png +0 -0
  7. package/docs/assets/global-config-redesign.png +0 -0
  8. package/docs/assets/secrets-redesign.png +0 -0
  9. package/docs/assets/tasks.png +0 -0
  10. package/docs/assets/tasks.zh.png +0 -0
  11. package/docs/assets/usage-redesign-global.png +0 -0
  12. package/docs/assets/usage.png +0 -0
  13. package/docs/assets/usage.zh.png +0 -0
  14. package/package.json +17 -5
  15. package/scripts/doctor.mjs +4 -4
  16. package/src/api.js +6 -3
  17. package/src/botmsg.js +1 -1
  18. package/src/config.js +18 -8
  19. package/src/db-migrations.js +76 -9
  20. package/src/db.js +28 -2
  21. package/src/http.js +22 -3
  22. package/src/paths.js +32 -1
  23. package/src/pricing.js +2 -2
  24. package/src/runtime.js +1 -1
  25. package/src/secrets.js +4 -4
  26. package/src/service.js +14 -5
  27. package/src/services/approvals.js +109 -24
  28. package/src/services/backoff.js +34 -0
  29. package/src/services/bot-quota.js +242 -0
  30. package/src/services/bots.js +35 -6
  31. package/src/services/chat.js +15 -9
  32. package/src/services/core.js +33 -5
  33. package/src/services/hygiene.js +8 -4
  34. package/src/services/locale.js +17 -0
  35. package/src/services/memory.js +112 -1
  36. package/src/services/message-images.js +3 -3
  37. package/src/services/notify.js +169 -0
  38. package/src/services/projects.js +119 -10
  39. package/src/services/proposals.js +2 -3
  40. package/src/services/questions.js +75 -32
  41. package/src/services/review-watchdog.js +261 -30
  42. package/src/services/run-finish.js +186 -17
  43. package/src/services/runs.js +42 -13
  44. package/src/services/runtime/lifecycle.js +3 -1
  45. package/src/services/runtime/model-restore.js +5 -5
  46. package/src/services/runtime/prompt.js +106 -45
  47. package/src/services/runtime/session.js +38 -14
  48. package/src/services/runtime/trajectory.js +1 -1
  49. package/src/services/scheduler.js +146 -19
  50. package/src/services/secrets.js +1 -1
  51. package/src/services/system.js +23 -6
  52. package/src/services/task-dispatch.js +315 -0
  53. package/src/services/task-notify.js +55 -11
  54. package/src/services/task-runs.js +179 -0
  55. package/src/services/task-stage.js +4 -0
  56. package/src/services/tasks.js +51 -399
  57. package/src/services/terminal.js +2 -2
  58. package/src/services/vision-proxy.js +3 -3
  59. package/src/services/wechat.js +228 -7
  60. package/src/services/workspace-groups.js +4 -3
  61. package/src/skill-parse.js +1 -1
  62. package/src/skills.js +1 -1
  63. package/src/tools.js +275 -6
  64. package/src/updater.js +52 -0
  65. package/src/usage-reconcile.js +1 -1
  66. package/src/usage.js +52 -11
  67. package/src/wechat/channel.js +14 -20
  68. package/src/wechat/commands.js +129 -81
  69. package/src/wechat/format.js +247 -0
  70. package/src/wechat/store.js +30 -2
  71. package/ui/app.js +57 -53
  72. package/ui/i18n/en/chat.js +140 -0
  73. package/ui/i18n/en/common.js +187 -0
  74. package/ui/i18n/en/nav.js +89 -0
  75. package/ui/i18n/en/settings.js +352 -0
  76. package/ui/i18n/en/tasks.js +229 -0
  77. package/ui/i18n/en/usage.js +141 -0
  78. package/ui/i18n/en/wechat.js +23 -0
  79. package/ui/i18n/en.js +17 -237
  80. package/ui/i18n/zh/chat.js +140 -0
  81. package/ui/i18n/zh/common.js +187 -0
  82. package/ui/i18n/zh/nav.js +89 -0
  83. package/ui/i18n/zh/settings.js +352 -0
  84. package/ui/i18n/zh/tasks.js +229 -0
  85. package/ui/i18n/zh/usage.js +141 -0
  86. package/ui/i18n/zh/wechat.js +23 -0
  87. package/ui/i18n/zh.js +17 -236
  88. package/ui/modules/api.js +4 -3
  89. package/ui/modules/bot-quota.js +27 -0
  90. package/ui/modules/cards.js +96 -58
  91. package/ui/modules/chat.js +28 -30
  92. package/ui/modules/composer.js +41 -37
  93. package/ui/modules/dom-morph.js +292 -0
  94. package/ui/modules/events-board.js +22 -22
  95. package/ui/modules/events-click.js +100 -68
  96. package/ui/modules/events-misc.js +34 -34
  97. package/ui/modules/events-submit.js +28 -28
  98. package/ui/modules/global-pages.js +125 -116
  99. package/ui/modules/i18n.js +0 -5
  100. package/ui/modules/icons.js +0 -1
  101. package/ui/modules/markdown.js +1 -1
  102. package/ui/modules/modal-forms.js +196 -203
  103. package/ui/modules/modal-layer.js +6 -9
  104. package/ui/modules/page-shell.js +62 -0
  105. package/ui/modules/settings.js +211 -198
  106. package/ui/modules/solo-archive.js +0 -4
  107. package/ui/modules/state.js +57 -50
  108. package/ui/modules/tasks.js +167 -171
  109. package/ui/modules/typing-linger.js +1 -4
  110. package/ui/modules/usage.js +65 -78
  111. package/ui/modules/util.js +92 -25
  112. package/ui/styles/avatars.css +14 -0
  113. package/ui/styles/cards.css +49 -0
  114. package/ui/styles/chat-cards.css +17 -21
  115. package/ui/styles/global-config.css +56 -2
  116. package/ui/styles/modal.css +13 -0
  117. package/ui/styles/usage.css +3 -61
  118. package/CONTRIBUTING.md +0 -20
  119. package/docs/assets/usage-dark.png +0 -0
@@ -0,0 +1,352 @@
1
+ // ui/i18n/en/settings.ts —— English copy dictionary: settings domain (DSHBOTS-233)
2
+ export default {
3
+ // Global config: UI language (DSHBOTS-162); auto = follow the DSH host setting
4
+ "settings.uiLanguage": "UI language",
5
+ "settings.uiLanguageAuto": "Auto",
6
+ "settings.uiLanguageZh": "中文",
7
+ "settings.uiLanguageEn": "English",
8
+ "settings.uiLanguageHint": "Auto = follow the DSH host language setting.",
9
+ "settings.uiLanguageSave": "Save language",
10
+ // Project config: code hygiene (DSHBOTS-172): per-file line limit
11
+ "settings.codeHygieneTitle": "Code hygiene",
12
+ "settings.codeHygieneLimit": "Per-file line limit",
13
+ "settings.codeHygieneHint": "Agreed maximum lines per source file (default 800, 0 = disable). After every run, the project workspace is scanned; any file exceeding 110% of the limit triggers a system directive in the group chat asking the director to schedule a split task.",
14
+ // Global configuration page (DSHBOTS-204)
15
+ "global.title": "Global configuration",
16
+ "global.desc": "Team-wide settings that apply across projects, grouped as \"Preferences → Runtime → About\"; changes save in place on each card.",
17
+ "global.navLabel": "Configuration sections",
18
+ "global.groupPref": "Preferences",
19
+ "global.groupRuntime": "Runtime & budget",
20
+ "global.groupAbout": "About & system status",
21
+ "global.groupPrefDesc": "Affects only how things are displayed on this machine and takes effect immediately after saving.",
22
+ "global.groupRuntimeDesc": "Behavior and cost ceilings for every project run: timeout abort, no-progress watchdog, budget and data retention.",
23
+ "global.groupAboutDesc": "Local DSH paths, DSH and plugin versions, update check and message delivery queue.",
24
+ "global.cardUi": "Interface",
25
+ "global.reset": "Reset",
26
+ "global.uiScale": "Interface font size",
27
+ "global.uiScaleSmall": "Small",
28
+ "global.uiScaleLarge": "Large",
29
+ "global.theme": "Theme",
30
+ "global.scaleRange": "Scale range",
31
+ "global.prefStorage": "Preference storage",
32
+ "global.prefStorageValue": "Local browser (except language)",
33
+ "global.cardRunLimits": "Run limits",
34
+ "global.runLimitsCurrent": "In effect: ${timeout} min timeout / ${stall}",
35
+ "global.stallOff": "Watchdog off",
36
+ "global.stallMinutes": "${minutes} min watchdog",
37
+ "global.runTimeoutLabel": "Timeout abort (minutes)",
38
+ "global.stallWatchdogLabel": "No-progress watchdog (minutes)",
39
+ "global.runLimitsHint1": "Timeout abort = the maximum duration of a single run (1–360 minutes); no-progress watchdog = how long a run may produce no output before it is considered stuck (0–360 minutes, 0 disables it).",
40
+ "global.reviewIdleLabel": "Review idle threshold (minutes)",
41
+ "global.reviewAutoCloseLabel": "Auto close reviews",
42
+ "global.reviewIdleHint": "Review idle threshold = how long an in_review card may sit with no comments and no run activity before it counts as stalled (0–1440 minutes, 0 disables the watchdog); with auto close on, the three-tier rule engine closes cards programmatically: A verifiable delivery auto-accepts, B unresponsive deliverer auto-returns, C undecidable only reminds.",
43
+ "global.runLimitsEnv": "Environment variable(s) ${names} are set explicitly; those items follow the environment and values saved on this page are ignored.",
44
+ "global.saveRunLimits": "Save run limits",
45
+ "global.cardOps": "System & operations",
46
+ "global.budgetCurrency": "Budget currency",
47
+ "global.memoryReview": "Automatic memory review",
48
+ "global.on": "On",
49
+ "global.off": "Off",
50
+ "global.tokenBudget": "Global token budget",
51
+ "global.costBudget": "Global cost budget",
52
+ "global.unlimited": "Unlimited",
53
+ "global.retentionUsage": "Usage retention (days)",
54
+ "global.retentionRun": "Run event retention (days)",
55
+ "global.retentionMessage": "Message retention (days)",
56
+ "global.forever": "Forever",
57
+ "global.opsHint": "Global budgets apply to every project; retention clears expired usage, run events and messages by day, with 0 meaning keep forever.",
58
+ "global.saveSettings": "Save system settings",
59
+ "global.cardDshPaths": "DSH paths",
60
+ "global.readonly": "Read-only",
61
+ "global.pathDshHome": "DSH directory",
62
+ "global.pathWorkspace": "Workspace",
63
+ "global.pathSkills": "Shared",
64
+ "global.pathData": "Data",
65
+ "global.dshPathsHint": "The skill rescan entry lives on the \"Skills\" page; this card only reads local paths.",
66
+ "global.cardDshService": "DSH service",
67
+ "global.checkUpdate": "Check for updates",
68
+ "global.dshCurrentVersion": "dsh current version",
69
+ "global.dshLatestVersion": "dsh latest version",
70
+ "global.pluginCurrentVersion": "dsh-team-bots current version",
71
+ "global.pluginLatestVersion": "dsh-team-bots latest version",
72
+ "global.latest": "Up to date",
73
+ "global.outboxQueue": "Delivery queue",
74
+ "global.outboxFailed": "${count} messages failed to deliver",
75
+ "channel.desc": "Binding and running status of external messaging channels.",
76
+ "secrets.desc": "Encrypted storage of team- and project-level keys, plus approval of key requests raised by bots.",
77
+ "secrets.navLabel": "Secrets sections",
78
+ "secrets.sectionRequests": "Pending requests",
79
+ "secrets.sectionRequestsDesc": "Key requests raised by bots; approving writes the value into the selected scope.",
80
+ "secrets.sectionList": "Key list",
81
+ "secrets.sectionListDesc": "Team- and project-level keys; values are stored encrypted.",
82
+ "secrets.sectionAdd": "Add key",
83
+ "secrets.sectionAddDesc": "Values are never shown again after saving; the same name in the same scope overwrites the old value.",
84
+ "不可用": "Unavailable",
85
+ "桌面通知": "Desktop notifications",
86
+ "当前环境不支持桌面通知(需 HTTPS 或 localhost)。": "This environment does not support desktop notifications (HTTPS or localhost required).",
87
+ "已被浏览器拒绝": "Blocked by the browser",
88
+ "在浏览器站点设置中允许通知后刷新页面。": "Allow notifications in the browser site settings and reload the page.",
89
+ "已开启": "On",
90
+ "页面不可见或失焦时弹系统通知,需保持本页开启。": "System notifications appear while the page is hidden or unfocused; keep this page open.",
91
+ "已关闭": "Off",
92
+ "未开启": "Off",
93
+ "开启后新审批到达时弹系统桌面通知。": "Once enabled, system desktop notifications appear when a new approval arrives.",
94
+ "新值只对之后启动的运行生效,进行中的运行不追溯。": "New values apply only to runs started afterwards; runs already in progress are not affected.",
95
+ "可升级": "Update available",
96
+ // DSHBOTS-220: ui/modules copy
97
+ "Bot 配置": "Bot settings",
98
+ "、": ", ",
99
+ "。": ".",
100
+ "」。": "\\\"}.",
101
+ "」以确认。": "\\\" to confirm.",
102
+ "」;运行记录、单聊消息与工作区文件全部保留,但移除后不能再恢复追踪。": "\\\"; run records, direct messages, and workspace files are all kept, but tracking cannot be restored after removal.",
103
+ "一个可执行、可验收的结果": "An executable, verifiable result",
104
+ "一句话说明变更": "One sentence describing the change",
105
+ "上一步": "Back",
106
+ "不可恢复": "Irreversible",
107
+ "不启用": "Disabled",
108
+ "不启用(留空)": "Disabled (leave blank)",
109
+ "不限制": "No limit",
110
+ "个任务阻塞:": " tasks: ",
111
+ "中": "Medium",
112
+ "为什么需要变更,来自哪些失败或重复模式": "Why is this change needed, and which failures or repeated patterns prompted it",
113
+ "主模型不可用时自动接手的备用模型,留空": "Fallback model used automatically when the primary model is unavailable; leave blank",
114
+ "主题": "Topic",
115
+ "交付产物(": "Deliverables (",
116
+ "从列表移除": "Remove from list",
117
+ "以本任务为父任务新建子任务": "Create a subtask with this task as parent",
118
+ "任务": "Tasks",
119
+ "任务总数": "Total tasks",
120
+ "任务的编号前缀。": "Prefix for task IDs.",
121
+ "任务详情": "Task details",
122
+ "优先级": "Priority",
123
+ "会话内文件操作的沙箱边界,下次运行生效": "Sandbox boundary for in-session file operations; takes effect on the next run",
124
+ "低": "Low",
125
+ "作用域": "Scope",
126
+ "例如:": "e.g.: ",
127
+ "例如:发布流程约束": "e.g.: release process constraints",
128
+ "例如:官网重构": "e.g.: website redesign",
129
+ "例如:开发": "e.g.: development",
130
+ "依赖": "Dependencies",
131
+ "依赖任务": "Depends on",
132
+ "保存": "Save",
133
+ "保存后立即生效于排队中的运行;运行中的运行不受影响": "Takes effect immediately for queued runs; running runs are unaffected",
134
+ "保存密钥": "Save key",
135
+ "保存并运行": "Save and run",
136
+ "保存新版本": "Save new version",
137
+ "保存记忆": "Save memory",
138
+ "值指纹(sha256 前 8 位)": "Value fingerprint (first 8 chars of sha256)",
139
+ "停止运行": "Stop run",
140
+ "先新建一个 Bot,再回来邀请它加入。": "Create a Bot first, then come back to invite it.",
141
+ "全员响应": "Everyone responds",
142
+ "全文": "Full text",
143
+ "全部保留": "All kept",
144
+ "共享技能": "Shared skills",
145
+ "关闭": "Close",
146
+ "其他成员": "Other members",
147
+ "内容": "Content",
148
+ "写入记忆": "Write memory",
149
+ "写清楚背景、结论和适用范围": "State the background, conclusion, and scope of application",
150
+ "写范围": "Write scope",
151
+ "写范围是并行调度依据:同项目内路径互不重叠的任务才会并行。": "Write scope determines parallel scheduling: only tasks in the same project with non-overlapping paths run in parallel.",
152
+ "写范围路径": "Write scope paths",
153
+ "凭证失效": "Credentials expired",
154
+ "创建": "Create",
155
+ "创建任务": "Create task",
156
+ "创建后立即进入执行队列": "Enter the execution queue immediately after creation",
157
+ "创建者": "Creator",
158
+ "创建项目": "Create project",
159
+ "删除密钥": "Delete key",
160
+ "勾选后将删除项目生产目录(含目录内全部文件),同样不可恢复;不确定就先不勾。": "Checking this deletes the project production directory (including all files inside) and is also irreversible; if unsure, leave it unchecked.",
161
+ "单个项目": "Single project",
162
+ "发布检查": "Release check",
163
+ "取消": "Cancel",
164
+ "取消于": "Canceled at",
165
+ "变更理由": "Reason for change",
166
+ "可用": "Available",
167
+ "同时移除项目生产目录": "Also remove the project production directory",
168
+ "名称": "Name",
169
+ "回复": "Reply",
170
+ "回滚": "Roll back",
171
+ "团队": "Team",
172
+ "团队级无需选择": "Not needed at team level",
173
+ "团队(全部活动项目)": "Team (all active projects)",
174
+ "在本项目停用": "Disable in this project",
175
+ "在本项目恢复": "Enable in this project",
176
+ "填写密钥值(至少 8 个字符)后批准": "Enter the key value (at least 8 characters) and approve",
177
+ "备用推理强度": "Fallback effort",
178
+ "备用模型": "Fallback model",
179
+ "复制路径": "Copy path",
180
+ "外观颜色": "Color",
181
+ "如": "e.g.",
182
+ "委派总监 Bot 的子代理并行核验交付,结论写回任务评论,裁决仍由您执行": "Delegate a subagent of the director Bot to verify deliverables in parallel and write the conclusion back to the task comments; the final call remains yours",
183
+ "子代理核验": "Subagent verification",
184
+ "完成于": "Completed at",
185
+ "完整替换现有指令,而不是追加": "Completely replace the existing instructions instead of appending",
186
+ "审批前如何验证:回归任务、失败案例、人工检查点": "How to verify before approval: regression tasks, failure cases, manual checkpoints",
187
+ "审批通过后才会生效。": "Takes effect only after approval.",
188
+ "密钥、密码和 token 会被自动过滤为": "Keys, passwords, and tokens are automatically filtered to",
189
+ "密钥值": "Key value",
190
+ "将从工作台列表移除「": "Will remove \\\"",
191
+ "将从本工作台移除已归档项目「": "Will remove archived project \\\"",
192
+ "将停止追踪已归档 Bot「": "Will stop tracking archived Bot \\\"",
193
+ "将删除本项目全部管理数据,并移除项目生产目录(含全部文件)。": "This will delete all management data for this project and remove the project production directory (including all files).",
194
+ "将删除本项目全部管理数据;项目生产目录保留。": "This will delete all management data for this project; the production directory is kept.",
195
+ "尚未提供模型": "No model provided",
196
+ "工作区路径": "Workspace path",
197
+ "工具": "Tool",
198
+ "工具 ${title} 返回": "Tool ${title} returned",
199
+ "工具返回": "Tool result",
200
+ "已停用": "Disabled",
201
+ "已归档": "Archived",
202
+ "已归档项目停止新运行,工作区文件保留。项目再开会恢复为进行中;移除追踪会清理本项目的管理数据。": "Archived projects stop new runs and keep workspace files. Reopening restores them to in progress; removing tracking cleans up this project's management data.",
203
+ "已连接": "Connected",
204
+ "归档": "Archive",
205
+ "归档项目": "Archive project",
206
+ "当前生效": "Currently active",
207
+ "待审": "Pending",
208
+ "思考": "Thinking",
209
+ "思考过程": "Thinking process",
210
+ "总监": "Director",
211
+ "总监优先": "Director first",
212
+ "成功 / 失败": "Succeeded / failed",
213
+ "成员": "Member",
214
+ "成本预算": "Cost budget",
215
+ "我": "Me",
216
+ "所属项目": "Project",
217
+ "所有可用 Bot 都已在项目中": "All available Bots are already in the project",
218
+ "批准": "Approve",
219
+ "技能内容(Markdown)": "Skill content (Markdown)",
220
+ "技能文件当前不可读(可能已被移动或删除),可尝试重新扫描。": "The skill file is currently unreadable (it may have been moved or deleted); try rescanning.",
221
+ "技能标识": "Skill slug",
222
+ "技能详情": "Skill details",
223
+ "拒绝": "Reject",
224
+ "指令更新": "Instruction update",
225
+ "指派给": "Assign to",
226
+ "推理强度": "Effort",
227
+ "描述": "Description",
228
+ "提交提案": "Submit proposal",
229
+ "提案类型": "Proposal type",
230
+ "数据库中本项目的记录将一并清理,": "Records for this project in the database will also be cleaned up, ",
231
+ "文件": "File",
232
+ "文件权限": "File permissions",
233
+ "新建": "New",
234
+ "新建 Bot": "New Bot",
235
+ "新建任务": "New task",
236
+ "新建进化提案": "New evolution proposal",
237
+ "新建项目空间": "New project space",
238
+ "新的角色指令": "New role instructions",
239
+ "无": "None",
240
+ "无描述": "No description",
241
+ "无(顶层任务)": "None (top-level task)",
242
+ "显示名称": "Display name",
243
+ "暂无待审请求。": "No pending requests.",
244
+ "暂无版本": "No versions",
245
+ "更新时间": "Updated at",
246
+ "月度预算": "Monthly budget",
247
+ "未启用": "Not enabled",
248
+ "未声明(保守串行)": "Not declared (conservative serial)",
249
+ "未指派": "Unassigned",
250
+ "未绑定": "Not bound",
251
+ "未设置": "Not set",
252
+ "本项目": "This project",
253
+ "本项目全部管理数据将删除:任务、运行记录、聊天消息、成员、记忆、提案、密钥绑定等。": "All management data for this project will be deleted: tasks, run records, chat messages, members, memories, proposals, key bindings, etc.",
254
+ "条": " items",
255
+ "条轨迹记录": " trace records",
256
+ "查看输出": "View output",
257
+ "标题": "Title",
258
+ "模型或强度变更会在下一次运行时生效,不会中断当前运行。": "Model or effort changes take effect on the next run and do not interrupt the current one.",
259
+ "模型默认": "Model default",
260
+ "此操作不可恢复。": "This action cannot be undone.",
261
+ "没有子目录": "No subdirectories",
262
+ "派生子任务": "Derive subtask",
263
+ "添加评论": "Add comment",
264
+ "父任务": "Parent task",
265
+ "父任务只影响看板上的层级缩进;依赖任务未完成前,本任务不会被调度执行。": "The parent task only affects hierarchy indentation on the board; until dependency tasks are complete, this task will not be scheduled.",
266
+ "父任务:": "Parent task: ",
267
+ "版本": "Version",
268
+ "版本历史": "Version history",
269
+ "状态": "Status",
270
+ "生产目录": "Production directory",
271
+ "用途说明": "Purpose",
272
+ "的工作目录,可指向既有代码库;留空则用默认管理目录,切换后已有密钥会自动迁移并清理旧目录。": "working directory, which can point to an existing codebase; leave blank to use the default management directory. After switching, existing keys are migrated automatically and the old directory is cleaned up.",
273
+ "目标": "Target",
274
+ "确认移除追踪": "Confirm tracking removal",
275
+ "确认邀请": "Confirm invite",
276
+ "移除追踪": "Remove tracking",
277
+ "移除追踪 · 后果确认": "Remove tracking · consequences",
278
+ "移除追踪 · 确认执行": "Remove tracking · confirm",
279
+ "移除追踪后不能恢复,该 Bot 也不能再被修改或重新启用。": "Once tracking is removed it cannot be restored, and the Bot can no longer be modified or re-enabled.",
280
+ "第": "Turn ",
281
+ "管理员": "Administrator",
282
+ "管理数据": "Management data",
283
+ "紧急": "Urgent",
284
+ "继续": "Continue",
285
+ "编号": "ID",
286
+ "编辑": "Edit",
287
+ "编辑记忆": "Edit memory",
288
+ "群聊回复模式": "Group reply mode",
289
+ "背景、范围、约束、验收标准": "Background, scope, constraints, acceptance criteria",
290
+ "至少 8 个字符,保存后不再回显": "At least 8 characters; never shown again after saving",
291
+ "同作用域同名会覆盖旧值。": "A key with the same name in the same scope overwrites the old value.",
292
+ "补充说明、验收意见或阻塞原因": "Additional notes, acceptance comments, or blocking reasons",
293
+ "被": "Blocked by ",
294
+ "角色指令": "Role instructions",
295
+ "角色标签": "Role label",
296
+ "评估方式": "Evaluation method",
297
+ "评论": "Comments",
298
+ "评论内容": "Comment content",
299
+ "该 Bot 将从工作台 Bots 列表与单聊入口移除,不再显示。": "This Bot will be removed from the workbench Bots list and the direct chat entry, and will no longer be shown.",
300
+ "详情": "Details",
301
+ "说明职责、工作方式、边界和交付标准": "Describe responsibilities, working style, boundaries, and delivery standards",
302
+ "请先进入一个项目": "Open a project first",
303
+ "请求": "Request",
304
+ "读取思考过程失败": "Failed to read the thinking process",
305
+ "调用工具": "Called tool",
306
+ "调用工具 ${title}": "Called tool ${title}",
307
+ "负责人": "Owner",
308
+ "超出预算时项目会提示预算已用尽。成本预算与模型价格使用同一币种计价。": "When the budget is exceeded, the project warns that the budget is used up. Cost budgets and model prices use the same currency.",
309
+ "轮": "round",
310
+ "输入 Bot 名称「": "Enter Bot name \\\"",
311
+ "输入项目名「": "Enter project name \\\"",
312
+ "运行中": "Running",
313
+ "运行总数": "Total runs",
314
+ "运行次数": "Runs",
315
+ "运行结束": "Run finished",
316
+ "运行记录": "Run records",
317
+ "运行记录、单聊消息、版本历史与专属工作区目录": "Run records, direct messages, version history, and dedicated workspace directory",
318
+ "还没有密钥。": "No keys yet.",
319
+ "还没有评论。": "No comments yet.",
320
+ "还没有运行。": "No runs yet.",
321
+ "这次运行没有可展示的轨迹。": "This run has no trajectory to display.",
322
+ "进入项目后才能邀请成员。": "Open a project before inviting members.",
323
+ "连接中": "Connecting",
324
+ "退出绑定": "Unbind",
325
+ "选填": "Optional",
326
+ "选择": "Select",
327
+ "逗号或空格分隔路径": "Separate paths with commas or spaces",
328
+ "邀请加入": "Invite",
329
+ "配置": "Settings",
330
+ "重试": "Retry",
331
+ "重连中": "Reconnecting",
332
+ "长期记忆": "Long-term memory",
333
+ "项目": "Project",
334
+ "项目再开": "Reopen project",
335
+ "项目名称": "Project name",
336
+ "项目描述": "Project description",
337
+ "项目状态": "Project status",
338
+ "项目生产目录默认保留在原处。": "The project production directory is kept in place by default.",
339
+ "项目目标、边界和验收标准": "Project goals, boundaries, and acceptance criteria",
340
+ "项目记忆": "Project memory",
341
+ "项目说明": "Project description",
342
+ "项目资料": "Project profile",
343
+ "项目:": "Project: ",
344
+ "预算": "Budget",
345
+ "高": "High",
346
+ // DSHBOTS-246: keys added by the full t() literal audit
347
+ "(当前": " (current ",
348
+ "(可选)": " (optional)",
349
+ "(不做物理删除)。": " (no physical deletion).",
350
+ ",选择一个 Bot。": ", select a Bot.",
351
+ "?总监关系必须先解除。": "? The director relationship must be removed first.",
352
+ }
@@ -0,0 +1,229 @@
1
+ // ui/i18n/en/tasks.ts —— English copy dictionary: tasks domain (DSHBOTS-233)
2
+ export default {
3
+ // Task statuses (STATUS table mapping)
4
+ "status.backlog": "Backlog",
5
+ "status.todo": "To do",
6
+ "status.in_progress": "In progress",
7
+ "status.blocked": "Blocked",
8
+ "status.in_review": "In review",
9
+ "status.done": "Done",
10
+ "status.canceled": "Canceled",
11
+ // Run statuses (RUN_STATUS table mapping)
12
+ "runStatus.queued": "Queued",
13
+ "runStatus.running": "Running",
14
+ "runStatus.succeeded": "Succeeded",
15
+ "runStatus.failed": "Failed",
16
+ "runStatus.canceled": "Canceled",
17
+ // Run kinds (RUN_KIND table mapping)
18
+ "runKind.task_run": "Task run",
19
+ "runKind.owner_task_run": "Owner task",
20
+ "runKind.solo_chat_run": "Solo reply",
21
+ "runKind.chat_run": "Group run",
22
+ "runKind.dm_run": "DM run",
23
+ "runKind.dm_reply": "DM reply",
24
+ "runKind.memory_review": "Memory review",
25
+ // Bot DM collapsible panel
26
+ "dm.title": "Bot DMs",
27
+ "dm.toggle": "Expand / collapse bot DMs",
28
+ "dm.empty": "Direct interactions between bots via <code>team_message_bot</code> show up here.",
29
+ "dm.pending": "Awaiting reply",
30
+ "dm.delivered": "Delivered",
31
+ "dm.replied": "Replied",
32
+ "dm.failed": "Failed",
33
+ "dm.repliedAt": "Replied at ${time}",
34
+ // Task time budget (DSHBOTS-129)
35
+ "taskForm.timeBudgetLabel": "Time budget (minutes, optional)",
36
+ "task.timeBudgetValue": "${minutes} min",
37
+ "task.timeBudgetNote": "Hard limit: the run is aborted on expiry; the shorter of this budget and the global run timeout applies",
38
+ // Task rejection (DSHBOTS-141): terminal tasks back to backlog
39
+ "task.rejectAction": "Reject",
40
+ "task.rejectTitle": "Move a done/canceled task back to the backlog; terminal timestamps are cleared",
41
+ "task.rejectConfirm": "Move \"${title}\" back to the backlog?",
42
+ "task.rejectDone": "Rejected; task moved back to the backlog",
43
+ // Task board
44
+ "task.searchPlaceholder": "Search tasks, IDs, or labels",
45
+ "task.filterAllStatus": "All statuses",
46
+ "task.filterAllMembers": "All members",
47
+ "task.filterTimeLabel": "Filter by terminal time",
48
+ "task.timeToday": "Today",
49
+ "task.time7d": "Last 7 days",
50
+ "task.time30d": "Last 30 days",
51
+ "task.timeAll": "All time",
52
+ "task.sortLabel": "Task sort",
53
+ "task.sortCreatedDesc": "Created new → old",
54
+ "task.sortCreatedAsc": "Created old → new",
55
+ "task.sortCompletedDesc": "Completed new → old",
56
+ "task.sortCompletedAsc": "Completed old → new",
57
+ "task.sortPriorityDesc": "Priority high → low",
58
+ "task.sortPriorityAsc": "Priority low → high",
59
+ "task.emptyFiltered": "No matching tasks",
60
+ "task.empty": "The task board is empty",
61
+ "task.collapse": "Collapse",
62
+ "task.expand": "Expand",
63
+ "task.groupSuffix": "group",
64
+ "task.priorityTitle": "Priority: ${label}",
65
+ "task.reviewIdleTitle": "Review idle for over ${minutes} minutes; please close it out",
66
+ "task.reviewVerdictTitle": "Review idle for over ${minutes} minutes; please close it out | Verdict ${verdict}: ${basis}",
67
+ "task.reviewIdle": "Idle",
68
+ "task.reviewOwner": "Director reviewing",
69
+ "task.reviewYou": "Waiting for your review",
70
+ "task.reviewPending": "Verifying",
71
+ "task.reviewUnverified": "Unverified",
72
+ "task.childrenSuffix": "subtasks",
73
+ "task.unassigned": "Unassigned",
74
+ "task.countBadge": "${count} tasks",
75
+ // Task stage copy: the backend taskStageLabel lookup returns Chinese; the UI keys on that text.
76
+ "等待你回答": "Waiting for your answer",
77
+ "等待验收": "Waiting for review",
78
+ "需要你处理": "Needs your attention",
79
+ "等人处理": "Waiting for someone",
80
+ "等外部交付": "Waiting for external delivery",
81
+ "正在执行": "Running",
82
+ "排队中": "Queued",
83
+ "待执行": "To do",
84
+ "后台等待": "Waiting in background",
85
+ "空闲": "Idle",
86
+ // DSHBOTS-220: ui/modules copy
87
+ "${model} 已恢复默认价格": "${model} restored to default price",
88
+ "Bot 已创建": "Bot created",
89
+ "Bot 配置已更新": "Bot settings updated",
90
+ "」:关闭后补全不再列出,Bot 会被明确告知不要调用;技能池本身不变。": "\\\": once disabled, autocomplete no longer lists it and the Bot is explicitly told not to call it; the skill pool itself is unchanged.",
91
+ "三个根扫描发现;同名技能按": "discovered by scanning three roots; same-named skills use",
92
+ "不通过": "Fail",
93
+ "个": " mismatches",
94
+ "个任务阻塞": " tasks",
95
+ "个待审批": " pending approvals",
96
+ "个运行,差异": " runs, ",
97
+ "从项目目录(设了生产目录以生产目录为准,见下方实际路径)的": "from the project directory (if a production directory is set, that takes precedence; see the actual path below)",
98
+ "价格需要是数字": "Price must be a number",
99
+ "任务中": "Working",
100
+ "任务完成后会自动沉淀交付经验。": "Delivery lessons are automatically captured after a task completes.",
101
+ "任务已保存": "Task saved",
102
+ "任务排序": "Task sort",
103
+ "优先取用": "takes precedence",
104
+ "停止": "Stop",
105
+ "全部": "All",
106
+ "全部拒绝": "Reject all",
107
+ "全部通过并应用": "Approve and apply all",
108
+ "共享技能池": "Shared skill pool",
109
+ "决定": "decided",
110
+ "删除记忆": "Delete memory",
111
+ "即可。": "and that's it.",
112
+ "去重。这些技能只在当前项目可用,且优先于同名共享技能。": "deduplication order. These skills are only available in this project and take precedence over same-named shared skills.",
113
+ "变更需经人工审批后生效。": "Changes take effect only after manual approval.",
114
+ "可以提交自我改进建议,但无法自行批准。": "Bots can submit self-improvement suggestions but cannot approve them on their own.",
115
+ "合计": "Total",
116
+ "同名技能也出现在": "Same-named skills also appear in",
117
+ "含子任务": "Incl. subtasks",
118
+ "命令不能为空": "Command cannot be empty",
119
+ "命令历史": "Command history",
120
+ "在技能根目录放置技能文件,或提交一个技能提案并审批。": "Place skill files in the skill root directory, or submit a skill proposal for approval.",
121
+ "在项目目录的 .agents、.claude 或 .codex 下放置": "Place under .agents, .claude, or .codex in the project directory",
122
+ "审批人": "Approver",
123
+ "密钥值至少 8 个字符": "Key value must be at least 8 characters",
124
+ "密钥已保存": "Key saved",
125
+ "密钥请求已批准并物化": "Key request approved and materialized",
126
+ "对账完成:检查": "Reconciliation complete: checked",
127
+ "将": "Remove ",
128
+ "工作流提案尚未支持执行。": "Workflow proposals do not support execution yet.",
129
+ "已创建": "Created",
130
+ "已完成": "Done",
131
+ "已生效": "In effect",
132
+ "已移除追踪,管理数据已清理": "Tracking removed; management data cleaned up",
133
+ "已邀请加入项目": "Invited to the project",
134
+ "开关只作用于当前项目「": "The toggle only applies to the current project \\\"",
135
+ "当前项目技能": "Current project skills",
136
+ "待办": "To-do",
137
+ "待审批技能提案": "Pending skill proposals",
138
+ "待审批提案": "Pending proposals",
139
+ "待评估": "To be evaluated",
140
+ "总览": "Overview",
141
+ "恢复": "Restore",
142
+ "成员状态与用量按本项目口径聚合;移除后该 Bot 不再接收本项目的提及与新任务。": "Member status and usage are aggregated per this project; after removal, the Bot no longer receives mentions or new tasks in this project.",
143
+ "打开该 Bot 的调度页": "Open this Bot's scheduling page",
144
+ "执行": "Run",
145
+ "技能内容不能为空": "Skill content cannot be empty",
146
+ "技能内容为空": "Skill content is empty",
147
+ "技能变更走提案和审批,不直接覆盖。": "Skill changes go through proposals and approval; they are not overwritten directly.",
148
+ "技能名": "Skill name",
149
+ "技能根目录": "Skill root directory",
150
+ "技能池为空": "Skill pool is empty",
151
+ "把 ${model} 的价格恢复为配置默认值?": "Restore ${model}'s price to the configured default?",
152
+ "提案已提交审批": "Proposal submitted for approval",
153
+ "搜索": "Search",
154
+ "搜索结果(": "Search results (",
155
+ "搜索记忆主题或内容": "Search memory topics or content",
156
+ "新建提案": "New proposal",
157
+ "无配置内容": "No configuration content",
158
+ "暂无输出。执行一条命令后,这里显示实时输出(最多保留末尾 200KB)。": "No output yet. After running a command, live output appears here (last 200KB kept).",
159
+ "有任务正在写该项目工作区,终端命令与它并发需自担风险": "A task is writing to this project's workspace; running terminal commands concurrently is at your own risk",
160
+ "有命令正在运行…": "A command is running…",
161
+ "未命名提案": "Untitled proposal",
162
+ "未归属 Bot": "Unassigned Bot",
163
+ "未知": "Unknown",
164
+ "未配置": "Not configured",
165
+ "未配置模型": "No model configured",
166
+ "本卡": "This card",
167
+ "本项目任务:已完成": "This project's tasks: done",
168
+ "本项目关闭": "Disable in this project",
169
+ "本项目已关闭": "Disabled in this project",
170
+ "条待审": " pending",
171
+ "条待审提案": " pending proposals",
172
+ "查看全部 Bot 或新建": "View all Bots or create one",
173
+ "查看差异": "View diff",
174
+ "模型不能为空": "Model cannot be empty",
175
+ "模型价格已保存,新调用将按此计价": "Model price saved; new calls will use it",
176
+ "次": " calls",
177
+ "次成功": " succeeded",
178
+ "没有匹配的记忆。": "No matching memories.",
179
+ "清除": "Clear",
180
+ "灰度": "Canary",
181
+ "点击回填到输入框": "Click to fill the input",
182
+ "父任务不存在或已刷新,请重试": "The parent task no longer exists or has been refreshed. Please try again.",
183
+ "版本历史(": "Version history (",
184
+ "用量": "Usage",
185
+ "由": "By ",
186
+ "移出项目": "from the project",
187
+ "空闲中": "Idle",
188
+ "系统设置已保存": "System settings saved",
189
+ "终端": "Terminal",
190
+ "缓存写": "Cache write",
191
+ "缓存读": "Cache read",
192
+ "缓存读 / 写": "Cache read / write",
193
+ "置信度": "Confidence",
194
+ "至少创建一个 Bot 才能运行项目群聊和任务。": "Create at least one Bot to run project group chat and tasks.",
195
+ "记忆": "Memories",
196
+ "记忆已写入": "Memory written",
197
+ "记忆已更新": "Memory updated",
198
+ "评估": "Evaluation",
199
+ "评估不通过": "Evaluation failed",
200
+ "评估通过": "Evaluation passed",
201
+ "评论已添加": "Comment added",
202
+ "评论已直通执行中的会话": "Comment passed through to the running session",
203
+ "请先创建项目": "Create a project first",
204
+ "请先选择一个 Bot": "Select a Bot first",
205
+ "调度": "Schedule",
206
+ "转正全量": "Promote to full rollout",
207
+ "软移除:数据保留,仅停止展示": "Soft removal: data kept, only hidden from view",
208
+ "输入": "Input",
209
+ "输入命令": "Enter a command",
210
+ "输出": "Output",
211
+ "运行时效已保存": "Run limits saved",
212
+ "还没有": "No",
213
+ "还没有执行过命令。": "No commands run yet.",
214
+ "还没有记忆": "No memories yet",
215
+ "还没有进化提案": "No evolution proposals yet",
216
+ "进入一个项目后可按项目关闭特定技能。": "Once you open a project, you can disable specific skills per project.",
217
+ "通用成员": "General member",
218
+ "通过": "Approve",
219
+ "通过并应用": "Approve and apply",
220
+ "重新扫描": "Rescan",
221
+ "项目内没有技能": "No skills in this project",
222
+ "项目已创建": "Project created",
223
+ "项目级密钥必须选择项目": "Project-level keys require a project",
224
+ "项目设置已保存": "Project settings saved",
225
+ "(": " (",
226
+ // DSHBOTS-246: keys added by the full t() literal audit
227
+ "(待办不含已取消)": " (todo excludes canceled)",
228
+ ",按": "; ",
229
+ }