dsh-team-bots 0.2.338 → 0.2.364

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/ui/app.js CHANGED
@@ -328,7 +328,7 @@ function renderShell() {
328
328
  </div>
329
329
  ${state.tree.archived ? `<div class="tree-list">
330
330
  ${archivedChats.length === 0 ? `<div class="side-empty">${t('tree.archivedEmpty')}</div>` : archivedChats.map(item => `
331
- <button class="tree-item chat-item archived ${item.id === project?.id && !isGlobal && state.chatMode !== 'solo' ? 'active' : ''}" data-action="select-project" data-project-id="${attr(item.id)}" title="${esc(item.name)} · ${t('tree.archivedHint')}">
331
+ <button class="tree-item chat-item archived ${item.id === project?.id && !isGlobal && state.chatMode !== 'solo' ? 'active' : ''}" data-action="select-project" data-project-id="${attr(item.id)}" title="${esc(item.name)}">
332
332
  <span class="chat-hash">#</span>
333
333
  <span class="tree-item-name">${esc(item.name)}</span>
334
334
  <span class="tree-flag">${t('common.archived')}</span>
@@ -63,7 +63,7 @@ export default {
63
63
  "solo.dispatching": "Dispatching",
64
64
  "solo.noDispatching": "Nothing is dispatching right now.",
65
65
  "solo.subagents": "Subagents",
66
- "solo.subagentsBody": "Bot sessions ship with subagent / subagent_fork / workflow tools and can spawn subagents on the fly to parallelize; no extra orchestration is needed here.",
66
+ "solo.subagentsBody": "Built in: subagent / subagent_fork / workflow — spawn parallel subagents mid-run.",
67
67
  "solo.recentRuns": "Recent dispatch runs",
68
68
  "solo.noRuns": "No dispatch runs yet.",
69
69
  "solo.workspace": "Dedicated workspace",
@@ -84,7 +84,6 @@ export default {
84
84
  "questionStatus.expired": "Cancelled",
85
85
  "questionStatus.timeout": "Timed out",
86
86
  // DSHBOTS-220: ui/modules copy
87
- "<span class=\\\"faint\\\" title=\\\"项目共 ${totalCount} 个任务;当前筛选、时间窗或列表上限隐藏了 ${hiddenCount} 个\\\">项目共 ${totalCount} 个 · 隐藏 ${hiddenCount} 个</span>": "<span class=\\\"faint\\\" title=\\\"Project has ${totalCount} tasks; the current filter, time window, or list limit hides ${hiddenCount}\\\">${totalCount} total · ${hiddenCount} hidden</span>",
88
87
  "<span class=\\\"pill amber\\\">${pending} 条待审</span>": "${pending} pending",
89
88
  "Bot 已归档": "Bot archived",
90
89
  "」关闭": "\\\", disabled",
@@ -171,7 +170,6 @@ export default {
171
170
  "主目录": "Home",
172
171
  "选定此目录": "Choose this folder",
173
172
  "项目共 ${totalCount} 个 · 隐藏 ${hiddenCount} 个": "${totalCount} tasks in this project · ${hiddenCount} hidden",
174
- "项目共 ${totalCount} 个任务;当前筛选、时间窗或列表上限隐藏了 ${hiddenCount} 个": "${totalCount} tasks in this project; the current filter, time window or list limit hides ${hiddenCount}",
175
173
  // DSHBOTS-241:bot 额度墙状态与手动解除
176
174
  "额度状态": "Quota status",
177
175
  "额度": "Quota",
package/ui/i18n/en/nav.js CHANGED
@@ -65,7 +65,6 @@ export default {
65
65
  "tree.archivedTitle": "Archived group chats",
66
66
  "tree.archived": "Archived",
67
67
  "tree.archivedEmpty": "No archived projects.",
68
- "tree.archivedHint": "Reopen & remove under Project settings · status",
69
68
  // Sidebar bottom
70
69
  "sidebar.botsOverview": "Bots overview",
71
70
  "sidebar.pendingProposals": "Proposals awaiting approval",
@@ -87,7 +87,7 @@ export default {
87
87
  "已被浏览器拒绝": "Blocked by the browser",
88
88
  "在浏览器站点设置中允许通知后刷新页面。": "Allow notifications in the browser site settings and reload the page.",
89
89
  "已开启": "On",
90
- "新审批到达且页面不可见或失焦时弹系统通知,需保持本页开启。": "System notifications appear when a new approval arrives while the page is hidden or unfocused; keep this page open.",
90
+ "页面不可见或失焦时弹系统通知,需保持本页开启。": "System notifications appear while the page is hidden or unfocused; keep this page open.",
91
91
  "已关闭": "Off",
92
92
  "未开启": "Off",
93
93
  "开启后新审批到达时弹系统桌面通知。": "Once enabled, system desktop notifications appear when a new approval arrives.",
@@ -269,7 +269,6 @@ export default {
269
269
  "状态": "Status",
270
270
  "生产目录": "Production directory",
271
271
  "用途说明": "Purpose",
272
- "的工作目录,可指向既有代码库等本机目录;留空则用默认管理目录。": "working directory, which can point to an existing codebase or other local directory; leave blank to use the default management directory.",
273
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.",
274
273
  "目标": "Target",
275
274
  "确认移除追踪": "Confirm tracking removal",
@@ -289,7 +288,7 @@ export default {
289
288
  "群聊回复模式": "Group reply mode",
290
289
  "背景、范围、约束、验收标准": "Background, scope, constraints, acceptance criteria",
291
290
  "至少 8 个字符,保存后不再回显": "At least 8 characters; never shown again after saving",
292
- "至少 8 个字符;同作用域同名会覆盖旧值。": "At least 8 characters; a key with the same name in the same scope overwrites the old value.",
291
+ "同作用域同名会覆盖旧值。": "A key with the same name in the same scope overwrites the old value.",
293
292
  "补充说明、验收意见或阻塞原因": "Additional notes, acceptance comments, or blocking reasons",
294
293
  "被": "Blocked by ",
295
294
  "角色指令": "Role instructions",
@@ -319,7 +318,6 @@ export default {
319
318
  "还没有密钥。": "No keys yet.",
320
319
  "还没有评论。": "No comments yet.",
321
320
  "还没有运行。": "No runs yet.",
322
- "这是软移除:数据只在数据库中停止展示,不清理任何文件。": "This is a soft removal: data is only hidden from the database; no files are deleted.",
323
321
  "这次运行没有可展示的轨迹。": "This run has no trajectory to display.",
324
322
  "进入项目后才能邀请成员。": "Open a project before inviting members.",
325
323
  "连接中": "Connecting",
@@ -32,8 +32,7 @@ export default {
32
32
  "dm.failed": "Failed",
33
33
  "dm.repliedAt": "Replied at ${time}",
34
34
  // Task time budget (DSHBOTS-129)
35
- "taskForm.timeBudgetLabel": "Time budget (minutes)",
36
- "taskForm.timeBudgetPlaceholder": "Optional; leave blank for none",
35
+ "taskForm.timeBudgetLabel": "Time budget (minutes, optional)",
37
36
  "task.timeBudgetValue": "${minutes} min",
38
37
  "task.timeBudgetNote": "Hard limit: the run is aborted on expiry; the shorter of this budget and the global run timeout applies",
39
38
  // Task rejection (DSHBOTS-141): terminal tasks back to backlog
@@ -42,7 +41,6 @@ export default {
42
41
  "task.rejectConfirm": "Move \"${title}\" back to the backlog?",
43
42
  "task.rejectDone": "Rejected; task moved back to the backlog",
44
43
  // Task board
45
- "task.dragHint": "Drag a task row to change its status; click a group header to collapse it.",
46
44
  "task.searchPlaceholder": "Search tasks, IDs, or labels",
47
45
  "task.filterAllStatus": "All statuses",
48
46
  "task.filterAllMembers": "All members",
@@ -52,7 +50,6 @@ export default {
52
50
  "task.time30d": "Last 30 days",
53
51
  "task.timeAll": "All time",
54
52
  "task.sortLabel": "Task sort",
55
- "task.sortTitle": "Sorts within a group only; does not affect grouping or hierarchy",
56
53
  "task.sortCreatedDesc": "Created new → old",
57
54
  "task.sortCreatedAsc": "Created old → new",
58
55
  "task.sortCompletedDesc": "Completed new → old",
@@ -11,11 +11,10 @@ export default {
11
11
  "已退出微信绑定": "WeChat binding removed",
12
12
  "待扫码": "Waiting to scan",
13
13
  "待输验证码": "Waiting for verification code",
14
- "微信扫码授权 ClawBot;手机上确认后此处会自动变为已连接。": "Scan the QR code with WeChat to authorize ClawBot; after confirming on your phone, this will automatically show as connected.",
15
14
  "微信通道未启用": "WeChat channel not enabled",
16
15
  "微信验证码": "WeChat verification code",
17
16
  "扫码后手机上的验证码": "The verification code shown on your phone after scanning",
18
- "扫码授权成功后自动把授权者绑定为管理员;任务完成会主动推送。": "After successful QR authorization, the authorizer is automatically bound as an administrator; task completion is pushed proactively.",
17
+ "微信扫码授权 ClawBot;确认后自动绑定授权者为管理员,任务完成主动推送。": "Scan with WeChat to authorize ClawBot; the authorizer is bound as administrator and task completion is pushed proactively.",
19
18
  "扫码绑定": "Scan to bind",
20
19
  "提交验证码": "Submit code",
21
20
  "请输入微信验证码": "Enter the WeChat verification code",
@@ -63,7 +63,7 @@ export default {
63
63
  "solo.dispatching": "正在调度",
64
64
  "solo.noDispatching": "当前没有运行中的调度。",
65
65
  "solo.subagents": "子智能体",
66
- "solo.subagentsBody": "bot 会话已内置 subagent / subagent_fork / workflow 工具,可在执行中自行派生子智能体并行加速;无需工作台额外编排。",
66
+ "solo.subagentsBody": "内置 subagent / subagent_fork / workflow,可在执行中派生并行子智能体。",
67
67
  "solo.recentRuns": "最近调度运行",
68
68
  "solo.noRuns": "还没有调度运行。",
69
69
  "solo.workspace": "专属工作区",
@@ -84,7 +84,6 @@ export default {
84
84
  "questionStatus.expired": "已取消",
85
85
  "questionStatus.timeout": "已超时",
86
86
  // DSHBOTS-220: ui/modules 文案(原文即键)
87
- "<span class=\\\"faint\\\" title=\\\"项目共 ${totalCount} 个任务;当前筛选、时间窗或列表上限隐藏了 ${hiddenCount} 个\\\">项目共 ${totalCount} 个 · 隐藏 ${hiddenCount} 个</span>": "<span class=\\\"faint\\\" title=\\\"项目共 ${totalCount} 个任务;当前筛选、时间窗或列表上限隐藏了 ${hiddenCount} 个\\\">项目共 ${totalCount} 个 · 隐藏 ${hiddenCount} 个</span>",
88
87
  "<span class=\\\"pill amber\\\">${pending} 条待审</span>": "<span class=\\\"pill amber\\\">${pending} 条待审</span>",
89
88
  "Bot 已归档": "Bot 已归档",
90
89
  "」关闭": "」关闭",
@@ -171,7 +170,6 @@ export default {
171
170
  "主目录": "主目录",
172
171
  "选定此目录": "选定此目录",
173
172
  "项目共 ${totalCount} 个 · 隐藏 ${hiddenCount} 个": "项目共 ${totalCount} 个 · 隐藏 ${hiddenCount} 个",
174
- "项目共 ${totalCount} 个任务;当前筛选、时间窗或列表上限隐藏了 ${hiddenCount} 个": "项目共 ${totalCount} 个任务;当前筛选、时间窗或列表上限隐藏了 ${hiddenCount} 个",
175
173
  // DSHBOTS-241:bot 额度墙状态与手动解除
176
174
  "额度状态": "额度状态",
177
175
  "额度": "额度",
package/ui/i18n/zh/nav.js CHANGED
@@ -65,7 +65,6 @@ export default {
65
65
  "tree.archivedTitle": "已归档群聊",
66
66
  "tree.archived": "已归档",
67
67
  "tree.archivedEmpty": "没有已归档项目。",
68
- "tree.archivedHint": "再开与移除在项目设置 · 项目状态里",
69
68
  // 侧栏底部
70
69
  "sidebar.botsOverview": "总览bots",
71
70
  "sidebar.pendingProposals": "有待审批提案",
@@ -87,7 +87,7 @@ export default {
87
87
  "已被浏览器拒绝": "已被浏览器拒绝",
88
88
  "在浏览器站点设置中允许通知后刷新页面。": "在浏览器站点设置中允许通知后刷新页面。",
89
89
  "已开启": "已开启",
90
- "新审批到达且页面不可见或失焦时弹系统通知,需保持本页开启。": "新审批到达且页面不可见或失焦时弹系统通知,需保持本页开启。",
90
+ "页面不可见或失焦时弹系统通知,需保持本页开启。": "页面不可见或失焦时弹系统通知,需保持本页开启。",
91
91
  "已关闭": "已关闭",
92
92
  "未开启": "未开启",
93
93
  "开启后新审批到达时弹系统桌面通知。": "开启后新审批到达时弹系统桌面通知。",
@@ -269,7 +269,6 @@ export default {
269
269
  "状态": "状态",
270
270
  "生产目录": "生产目录",
271
271
  "用途说明": "用途说明",
272
- "的工作目录,可指向既有代码库等本机目录;留空则用默认管理目录。": "的工作目录,可指向既有代码库等本机目录;留空则用默认管理目录。",
273
272
  "的工作目录,可指向既有代码库;留空则用默认管理目录,切换后已有密钥会自动迁移并清理旧目录。": "的工作目录,可指向既有代码库;留空则用默认管理目录,切换后已有密钥会自动迁移并清理旧目录。",
274
273
  "目标": "目标",
275
274
  "确认移除追踪": "确认移除追踪",
@@ -289,7 +288,7 @@ export default {
289
288
  "群聊回复模式": "群聊回复模式",
290
289
  "背景、范围、约束、验收标准": "背景、范围、约束、验收标准",
291
290
  "至少 8 个字符,保存后不再回显": "至少 8 个字符,保存后不再回显",
292
- "至少 8 个字符;同作用域同名会覆盖旧值。": "至少 8 个字符;同作用域同名会覆盖旧值。",
291
+ "同作用域同名会覆盖旧值。": "同作用域同名会覆盖旧值。",
293
292
  "补充说明、验收意见或阻塞原因": "补充说明、验收意见或阻塞原因",
294
293
  "被": "被",
295
294
  "角色指令": "角色指令",
@@ -319,7 +318,6 @@ export default {
319
318
  "还没有密钥。": "还没有密钥。",
320
319
  "还没有评论。": "还没有评论。",
321
320
  "还没有运行。": "还没有运行。",
322
- "这是软移除:数据只在数据库中停止展示,不清理任何文件。": "这是软移除:数据只在数据库中停止展示,不清理任何文件。",
323
321
  "这次运行没有可展示的轨迹。": "这次运行没有可展示的轨迹。",
324
322
  "进入项目后才能邀请成员。": "进入项目后才能邀请成员。",
325
323
  "连接中": "连接中",
@@ -32,8 +32,7 @@ export default {
32
32
  "dm.failed": "失败",
33
33
  "dm.repliedAt": "回复于 ${time}",
34
34
  // 任务时效要求(DSHBOTS-129)
35
- "taskForm.timeBudgetLabel": "时效要求(分钟)",
36
- "taskForm.timeBudgetPlaceholder": "选填,留空不设",
35
+ "taskForm.timeBudgetLabel": "时效要求(分钟,选填)",
37
36
  "task.timeBudgetValue": "${minutes} 分钟",
38
37
  "task.timeBudgetNote": "硬性时限:到期运行将被中止;与全局运行超时取更短者",
39
38
  // 任务驳回(DSHBOTS-141):终态任务退回待规划
@@ -42,7 +41,6 @@ export default {
42
41
  "task.rejectConfirm": "确定把「${title}」驳回退回待规划?",
43
42
  "task.rejectDone": "已驳回,任务退回待规划",
44
43
  // 任务面板
45
- "task.dragHint": "拖拽任务行切换状态,点组头可折叠分组。",
46
44
  "task.searchPlaceholder": "搜索任务、编号或标签",
47
45
  "task.filterAllStatus": "全部状态",
48
46
  "task.filterAllMembers": "全部成员",
@@ -52,7 +50,6 @@ export default {
52
50
  "task.time30d": "近 30 天",
53
51
  "task.timeAll": "全部时间",
54
52
  "task.sortLabel": "任务排序",
55
- "task.sortTitle": "组内排序:不影响分组与父子层级",
56
53
  "task.sortCreatedDesc": "创建时间 新→旧",
57
54
  "task.sortCreatedAsc": "创建时间 旧→新",
58
55
  "task.sortCompletedDesc": "完成时间 新→旧",
@@ -11,11 +11,10 @@ export default {
11
11
  "已退出微信绑定": "已退出微信绑定",
12
12
  "待扫码": "待扫码",
13
13
  "待输验证码": "待输验证码",
14
- "微信扫码授权 ClawBot;手机上确认后此处会自动变为已连接。": "微信扫码授权 ClawBot;手机上确认后此处会自动变为已连接。",
15
14
  "微信通道未启用": "微信通道未启用",
16
15
  "微信验证码": "微信验证码",
17
16
  "扫码后手机上的验证码": "扫码后手机上的验证码",
18
- "扫码授权成功后自动把授权者绑定为管理员;任务完成会主动推送。": "扫码授权成功后自动把授权者绑定为管理员;任务完成会主动推送。",
17
+ "微信扫码授权 ClawBot;确认后自动绑定授权者为管理员,任务完成主动推送。": "微信扫码授权 ClawBot;确认后自动绑定授权者为管理员,任务完成主动推送。",
19
18
  "扫码绑定": "扫码绑定",
20
19
  "提交验证码": "提交验证码",
21
20
  "请输入微信验证码": "请输入微信验证码",
@@ -414,7 +414,7 @@ function notifyToggleView() {
414
414
  const permission = notifyPermission()
415
415
  if (permission === 'unsupported') return { on: false, disabled: true, label: t("不可用"), hint: t("当前环境不支持桌面通知(需 HTTPS 或 localhost)。") }
416
416
  if (permission === 'denied') return { on: false, disabled: true, label: t("已被浏览器拒绝"), hint: t("在浏览器站点设置中允许通知后刷新页面。") }
417
- if (notifyOn()) return { on: true, disabled: false, label: t("已开启"), hint: t("新审批到达且页面不可见或失焦时弹系统通知,需保持本页开启。") }
417
+ if (notifyOn()) return { on: true, disabled: false, label: t("已开启"), hint: t("页面不可见或失焦时弹系统通知,需保持本页开启。") }
418
418
  return { on: false, disabled: false, label: permission === 'granted' ? t("已关闭") : t("未开启"), hint: t("开启后新审批到达时弹系统桌面通知。") }
419
419
  }
420
420
 
@@ -23,8 +23,6 @@ function wechatCard() {
23
23
  ${wechat.adminPeerId ? `<span class="wechat-admin">${t("管理员")} <strong>${esc(String(wechat.adminPeerId).slice(0, 12))}…</strong></span>` : ''}
24
24
  </div>
25
25
  ${wechat.error ? `<div class="hint" style="color:var(--coral,#e5484d)">${esc(wechat.error)}</div>` : ''}
26
- ${auth?.qrSvg ? `
27
- <div class="hint wechat-qr-hint">${t("微信扫码授权 ClawBot;手机上确认后此处会自动变为已连接。")}</div>` : ''}
28
26
  ${wechat.phase === 'verification' || auth?.verification ? `
29
27
  <div class="field-row" style="margin-top:8px">
30
28
  <div class="field"><label for="wechat-code">${t("微信验证码")}</label><input class="input mono" id="wechat-code" inputmode="numeric" placeholder="${t("扫码后手机上的验证码")}"></div>
@@ -35,7 +33,7 @@ function wechatCard() {
35
33
  ? `<button class="btn small danger" type="button" data-action="wechat-logout">${t("退出绑定")}</button>`
36
34
  : `<button class="btn small" type="button" data-action="wechat-login">${t("扫码绑定")}</button>`}
37
35
  </div>
38
- <div class="hint">${t("扫码授权成功后自动把授权者绑定为管理员;任务完成会主动推送。")}</div>
36
+ <div class="hint">${t("微信扫码授权 ClawBot;确认后自动绑定授权者为管理员,任务完成主动推送。")}</div>
39
37
  </div>
40
38
  ${auth?.qrSvg ? `<div class="wechat-qr">${auth.qrSvg}</div>` : ''}
41
39
  </div>`
@@ -106,7 +104,7 @@ function secretAddCard(projects) {
106
104
  </div>
107
105
  <div class="field"><label for="secret-value">${t("密钥值")}</label>
108
106
  <input class="input mono" id="secret-value" name="value" type="password" minlength="8" autocomplete="new-password" placeholder="${t("至少 8 个字符,保存后不再回显")}">
109
- <div class="hint">${t("至少 8 个字符;同作用域同名会覆盖旧值。")}</div>
107
+ <div class="hint">${t("同作用域同名会覆盖旧值。")}</div>
110
108
  </div>
111
109
  <div class="btn-row"><button class="btn small" type="submit">${icon('check')}${t("保存密钥")}</button></div>
112
110
  </form>`
@@ -58,7 +58,7 @@ function modalNewProject() {
58
58
  <div class="field"><label id="new-project-owner-label" for="new-project-owner">${t("总监")} Bot</label><select class="select" style="width:100%" id="new-project-owner" name="ownerBotId">${bots.map(bot => `<option value="${attr(bot.id)}">${esc(bot.name)} · ${esc(bot.role || t("成员"))}</option>`).join('')}</select></div>
59
59
  </div>
60
60
  <div class="field"><label id="new-project-description-label" for="new-project-description">${t("项目说明")}</label><textarea class="textarea" id="new-project-description" name="description" placeholder="${t("项目目标、边界和验收标准")}"></textarea></div>
61
- <div class="field"><label id="new-project-production-label" for="new-project-production">${t("生产目录")}</label><div style="display:flex;gap:8px"><input class="input mono" style="flex:1" id="new-project-production" name="productionDir" placeholder="/Users/you/repos/my-game${t("(可选)")}"><button class="btn" type="button" data-action="pick-dir-open" data-picker-for="new-project-production">${icon('folder')}${t("选择")}</button></div><div class="hint">Bots ${t("的工作目录,可指向既有代码库等本机目录;留空则用默认管理目录。")}</div><div class="dir-picker" id="dir-picker-new-project-production" hidden></div></div>
61
+ <div class="field"><label id="new-project-production-label" for="new-project-production">${t("生产目录")}</label><div style="display:flex;gap:8px"><input class="input mono" style="flex:1" id="new-project-production" name="productionDir" placeholder="/Users/you/repos/my-game${t("(可选)")}"><button class="btn" type="button" data-action="pick-dir-open" data-picker-for="new-project-production">${icon('folder')}${t("选择")}</button></div><div class="dir-picker" id="dir-picker-new-project-production" hidden></div></div>
62
62
  ${bots.length > 1 ? `<div class="field"><span class="field-label" id="new-project-members-label">${t("其他成员")}</span><div class="check-list" role="group" aria-labelledby="new-project-members-label">${bots.slice(1).map(bot => `<div class="check-row"><input type="checkbox" id="new-project-member-${attr(bot.id)}" name="memberIds" value="${attr(bot.id)}"><label for="new-project-member-${attr(bot.id)}">${avatar(bot, 'sm')} ${esc(bot.name)}</label><span class="role">${esc(bot.role || '')}</span></div>`).join('')}</div></div>` : ''}
63
63
  </form>`,
64
64
  footer: `<button class="btn" data-action="close-modal">${t("取消")}</button><button class="btn primary" type="submit" form="modal-form">${icon('plus')}${t("创建项目")}</button>`,
@@ -119,7 +119,7 @@ function modalRemoveBotTracking() {
119
119
  title: t("移除追踪 · 后果确认"),
120
120
  badge: t("从列表移除"),
121
121
  subtitle: `${t("将停止追踪已归档 Bot「")}${modal.name}${t("」。")}`,
122
- body: `<ul class="remove-tracking-list"><li>${t("该 Bot 将从工作台 Bots 列表与单聊入口移除,不再显示。")}</li><li>${t("运行记录、单聊消息、版本历史与专属工作区目录")}<strong>${t("全部保留")}</strong>${t("(不做物理删除)。")}</li><li>${t("移除追踪后不能恢复,该 Bot 也不能再被修改或重新启用。")}</li></ul><div class="hint">${t("这是软移除:数据只在数据库中停止展示,不清理任何文件。")}</div>`,
122
+ body: `<ul class="remove-tracking-list"><li>${t("该 Bot 将从工作台 Bots 列表与单聊入口移除,不再显示。")}</li><li>${t("运行记录、单聊消息、版本历史与专属工作区目录")}<strong>${t("全部保留")}</strong>${t("(不做物理删除)。")}</li><li>${t("移除追踪后不能恢复,该 Bot 也不能再被修改或重新启用。")}</li></ul>`,
123
123
  footer: `<button class="btn" data-action="close-modal">${t("取消")}</button><button class="btn danger" data-action="bot-remove-tracking-step2" type="button">${t("继续")}</button>`,
124
124
  })
125
125
  }
@@ -282,7 +282,7 @@ function modalNewTask() {
282
282
  <div class="field-row" style="grid-template-columns:repeat(auto-fit,minmax(180px,1fr))">
283
283
  <div class="field"><label id="new-task-assignee-label" for="new-task-assignee">${t("指派给")}</label><select class="select" style="width:100%" id="new-task-assignee" name="assigneeBotId">${project.members.map(member => `<option value="${attr(member.id)}">${esc(member.name)} · ${esc(member.bot_role || '')}</option>`).join('')}</select></div>
284
284
  <div class="field"><label id="new-task-priority-label" for="new-task-priority">${t("优先级")}</label><select class="select" style="width:100%" id="new-task-priority" name="priority"><option value="medium">${t("中")}</option><option value="high">${t("高")}</option><option value="urgent">${t("紧急")}</option><option value="low">${t("低")}</option><option value="none">${t("无")}</option></select></div>
285
- <div class="field"><label id="new-task-time-budget-label" for="new-task-time-budget">${t('taskForm.timeBudgetLabel')}</label><input class="input" style="width:100%" id="new-task-time-budget" name="time_budget_minutes" type="number" min="1" max="10080" step="1" placeholder="${attr(t('taskForm.timeBudgetPlaceholder'))}"><div class="usage-note">${t('task.timeBudgetNote')}</div></div>
285
+ <div class="field"><label id="new-task-time-budget-label" for="new-task-time-budget">${t('taskForm.timeBudgetLabel')}</label><input class="input" style="width:100%" id="new-task-time-budget" name="time_budget_minutes" type="number" min="1" max="10080" step="1"><div class="usage-note">${t('task.timeBudgetNote')}</div></div>
286
286
  </div>
287
287
  <div class="field-row">
288
288
  <div class="field"><label id="new-task-parent-label" for="new-task-parent">${t("父任务")}</label><select class="select" style="width:100%" id="new-task-parent" name="parentTaskId"><option value="">${t("无(顶层任务)")}</option>${taskRelationOptions(preselectedParent)}</select></div>
@@ -117,7 +117,6 @@ function renderTasks() {
117
117
  const hiddenCount = Math.max(0, totalCount - shownCount)
118
118
  return `
119
119
  <div class="section-head">
120
- <p>${t('task.dragHint')}</p>
121
120
  <div class="board-toolbar" style="margin:0">
122
121
  <input class="input search" id="task-search" placeholder="${t('task.searchPlaceholder')}" aria-label="${t('task.searchPlaceholder')}" value="${attr(state.taskFilter.search)}">
123
122
  <select class="select" data-task-filter="status">
@@ -134,11 +133,11 @@ function renderTasks() {
134
133
  <option value="30d" ${state.taskFilter.timeRange === '30d' ? 'selected' : ''}>${t('task.time30d')}</option>
135
134
  <option value="all" ${state.taskFilter.timeRange === 'all' ? 'selected' : ''}>${t('task.timeAll')}</option>
136
135
  </select>
137
- <select class="select" data-task-sort aria-label="${t("任务排序")}" title="${t('task.sortTitle')}">
136
+ <select class="select" data-task-sort aria-label="${t("任务排序")}">
138
137
  ${TASK_SORTS.map(sort => `<option value="${sort.value}" ${state.taskSort === sort.value ? 'selected' : ''}>${t(sort.key)}</option>`).join('')}
139
138
  </select>
140
139
  <span class="tag">${t('task.countBadge', { count: shownCount })}</span>
141
- ${hiddenCount > 0 ? `<span class="faint" title="${t("项目共 ${totalCount} 个任务;当前筛选、时间窗或列表上限隐藏了 ${hiddenCount} 个", { totalCount: totalCount, hiddenCount: hiddenCount })}">${t("项目共 ${totalCount} 个 · 隐藏 ${hiddenCount} 个", { totalCount: totalCount, hiddenCount: hiddenCount })}</span>` : ''}
140
+ ${hiddenCount > 0 ? `<span class="faint">${t("项目共 ${totalCount} 个 · 隐藏 ${hiddenCount} 个", { totalCount: totalCount, hiddenCount: hiddenCount })}</span>` : ''}
142
141
  </div>
143
142
  </div>
144
143
  ${tasks.length === 0 ? `<div class="empty-state">
@@ -196,9 +196,6 @@
196
196
  font-family: var(--mono);
197
197
  font-weight: 500;
198
198
  }
199
- .wechat-qr-hint {
200
- margin-top: 10px;
201
- }
202
199
  .wechat-card .wechat-qr {
203
200
  flex: 0 0 auto;
204
201
  }