@fish-under-sea/dsh-client-ui-task-board-fish 1.0.2 → 2.0.0

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 (125) hide show
  1. package/NOTICE +1 -1
  2. package/README.en.md +6 -4
  3. package/README.md +6 -4
  4. package/README.zh.md +6 -4
  5. package/icon.png +0 -0
  6. package/lib/client.js +4428 -1508
  7. package/lib/client.js.map +1 -1
  8. package/lib/index.js +2670 -496
  9. package/lib/types/client/CardDefaultPresetField.d.ts +35 -0
  10. package/lib/types/client/PluginSettingsCard.d.ts +130 -19
  11. package/lib/types/client/RangeBubble.d.ts +46 -0
  12. package/lib/types/client/SegmentGroup.d.ts +28 -0
  13. package/lib/types/client/TaskBoardSettingsCard.d.ts +63 -0
  14. package/lib/types/client/board/AttachmentField.d.ts +70 -0
  15. package/lib/types/client/board/ExecutionLog.d.ts +24 -0
  16. package/lib/types/client/board/ReasoningEffortField.d.ts +25 -0
  17. package/lib/types/client/board/TaskForm.d.ts +4 -0
  18. package/lib/types/client/board/VerificationReport.d.ts +2 -15
  19. package/lib/types/client/board/model-options.d.ts +87 -0
  20. package/lib/types/client/board/preset-label.d.ts +21 -0
  21. package/lib/types/client/board/preset-roster.d.ts +45 -0
  22. package/lib/types/client/board/source-group.d.ts +27 -0
  23. package/lib/types/client/body-mutations.d.ts +45 -0
  24. package/lib/types/client/host-api.d.ts +25 -0
  25. package/lib/types/client/locales.d.ts +87 -9
  26. package/lib/types/client/pending-verify.d.ts +47 -0
  27. package/lib/types/client/plugin-card-seat.d.ts +3 -1
  28. package/lib/types/client/service.d.ts +4 -1
  29. package/lib/types/client/settings-form.d.ts +73 -51
  30. package/lib/types/core/attachment.d.ts +132 -0
  31. package/lib/types/core/card-defaults.d.ts +78 -0
  32. package/lib/types/core/controller.d.ts +57 -8
  33. package/lib/types/core/execution-summary.d.ts +52 -0
  34. package/lib/types/core/extension.d.ts +116 -0
  35. package/lib/types/core/launch-width.d.ts +31 -0
  36. package/lib/types/core/reasoning-effort.d.ts +57 -0
  37. package/lib/types/core/session-reuse.d.ts +7 -1
  38. package/lib/types/core/spend-budget.d.ts +28 -0
  39. package/lib/types/core/subtask.d.ts +100 -37
  40. package/lib/types/core/tasks.d.ts +94 -10
  41. package/lib/types/core/use-cases/task-create.d.ts +10 -5
  42. package/lib/types/core/use-cases/task-tag.d.ts +36 -0
  43. package/lib/types/core/use-cases/task-update.d.ts +22 -1
  44. package/lib/types/core/wire-projection.d.ts +35 -0
  45. package/lib/types/core/workspace-target.d.ts +23 -3
  46. package/lib/types/host/attachments.d.ts +250 -0
  47. package/lib/types/host/extension-registry.d.ts +40 -0
  48. package/lib/types/host/launch-admission.d.ts +71 -0
  49. package/lib/types/host-ledger.d.ts +114 -47
  50. package/lib/types/host-routes.d.ts +63 -0
  51. package/lib/types/host-runner.d.ts +164 -18
  52. package/lib/types/host-service.d.ts +182 -46
  53. package/lib/types/host-spend.d.ts +52 -0
  54. package/lib/types/index.d.ts +173 -54
  55. package/lib/types/loopback.d.ts +41 -1
  56. package/lib/types/protocol.d.ts +52 -11
  57. package/lib/types/tool-surface.d.ts +1 -0
  58. package/locale/en.json +6 -0
  59. package/locale/zh.json +6 -0
  60. package/package.json +36 -29
  61. package/src/client/CardDefaultPresetField.tsx +101 -0
  62. package/src/client/PluginSettingsCard.tsx +385 -111
  63. package/src/client/RangeBubble.tsx +164 -0
  64. package/src/client/SegmentGroup.tsx +93 -0
  65. package/src/client/TaskBoardSettingsCard.tsx +332 -37
  66. package/src/client/board/AttachmentField.tsx +383 -0
  67. package/src/client/board/EditTaskModal.tsx +63 -0
  68. package/src/client/board/ExecutionLog.tsx +154 -0
  69. package/src/client/board/LinkSubtaskModal.tsx +1 -1
  70. package/src/client/board/NewTaskModal.tsx +154 -45
  71. package/src/client/board/ReasoningEffortField.tsx +50 -0
  72. package/src/client/board/TagManagerModal.tsx +151 -2
  73. package/src/client/board/TaskBoard.tsx +47 -10
  74. package/src/client/board/TaskCard.tsx +45 -23
  75. package/src/client/board/TaskDetail.tsx +468 -258
  76. package/src/client/board/TaskForm.tsx +19 -4
  77. package/src/client/board/VerificationReport.tsx +143 -104
  78. package/src/client/board/model-options.ts +208 -0
  79. package/src/client/board/preset-label.ts +32 -0
  80. package/src/client/board/preset-roster.ts +58 -0
  81. package/src/client/board/source-group.ts +94 -0
  82. package/src/client/board/task-markdown.module.css +11 -8
  83. package/src/client/board-settings.module.css +35 -7
  84. package/src/client/board.module.css +1044 -105
  85. package/src/client/body-mutations.ts +133 -0
  86. package/src/client/host-api.ts +70 -0
  87. package/src/client/index.ts +109 -95
  88. package/src/client/locales.ts +205 -48
  89. package/src/client/pending-verify.ts +90 -0
  90. package/src/client/plugin-card-seat.ts +8 -2
  91. package/src/client/service.ts +24 -0
  92. package/src/client/settings-card.module.css +466 -89
  93. package/src/client/settings-entry-form.ts +0 -1
  94. package/src/client/settings-form.ts +102 -60
  95. package/src/core/attachment.ts +287 -0
  96. package/src/core/card-defaults.ts +132 -0
  97. package/src/core/controller.ts +90 -11
  98. package/src/core/execution-summary.ts +96 -0
  99. package/src/core/extension.ts +120 -0
  100. package/src/core/launch-width.ts +38 -0
  101. package/src/core/reasoning-effort.ts +92 -0
  102. package/src/core/session-reuse.ts +7 -1
  103. package/src/core/spend-budget.ts +35 -0
  104. package/src/core/store.ts +19 -1
  105. package/src/core/subtask.ts +144 -68
  106. package/src/core/tasks.ts +117 -10
  107. package/src/core/use-cases/task-create.ts +27 -16
  108. package/src/core/use-cases/task-tag.ts +56 -0
  109. package/src/core/use-cases/task-update.ts +33 -5
  110. package/src/core/wire-projection.ts +81 -0
  111. package/src/core/workspace-target.ts +27 -3
  112. package/src/host/agent-tools.ts +33 -21
  113. package/src/host/attachments.ts +650 -0
  114. package/src/host/extension-registry.ts +150 -5
  115. package/src/host/launch-admission.ts +139 -0
  116. package/src/host-ledger.ts +248 -117
  117. package/src/host-routes.ts +233 -15
  118. package/src/host-runner.ts +395 -61
  119. package/src/host-service.ts +512 -139
  120. package/src/host-spend.ts +105 -0
  121. package/src/index.ts +312 -92
  122. package/src/loopback.ts +57 -1
  123. package/src/protocol.ts +83 -18
  124. package/src/tool-surface.ts +1 -0
  125. package/icon.svg +0 -3
@@ -61,12 +61,14 @@ export const zh = {
61
61
  'new.section.parse': 'AI 解析',
62
62
  'new.section.content': '任务内容',
63
63
  'new.section.labels': '标签',
64
+ 'new.section.attachments': '附件',
64
65
  'new.section.execution': '执行设置',
65
66
  'new.section.run': '运行方式',
66
67
  'new.section.handover': '交接与续跑',
67
68
  'new.section.schedule': '定时运行',
68
69
  'new.summary.none': '未设置',
69
70
  'new.summary.labelCount': '{count} 个标签',
71
+ 'new.summary.attachmentCount': '{count} 个附件',
70
72
  'new.summary.filled': '已填写',
71
73
  'new.summary.scheduleOff': '未启用',
72
74
  'new.summary.multiRound': '多轮 /goal',
@@ -104,6 +106,20 @@ export const zh = {
104
106
  'new.tagPromptPlaceholder': '例如:产物归档到 02-工作/',
105
107
  'new.tagAdd': '添加标签',
106
108
  'new.tagRemove': '移除标签 {name}',
109
+ 'new.attachments': '附件',
110
+ 'new.attachmentsHint': '拖放、粘贴或选择文件;文件在保存卡片时才上传。图片会随执行一起送给模型,普通文件以只读路径交给执行会话。',
111
+ 'new.attachments.drop': '把文件拖到这里,或直接粘贴',
112
+ 'new.attachments.pick': '选择文件',
113
+ 'new.attachments.remove': '移除附件 {name}',
114
+ 'new.attachments.limitCount': '每张卡片最多 {count} 个附件',
115
+ 'new.attachments.limitImages': '这个部署每条消息最多接收 {count} 张图片',
116
+ 'new.attachments.limitImageBytes': '图片总大小超过部署上限 {size}',
117
+ 'new.attachments.limitSize': '{name} 超过单个附件上限 {size}',
118
+ 'new.attachments.limitTotal': '附件总大小超过上限 {size}',
119
+ 'new.attachments.unavailable': '这个部署没有提供附件存储,无法上传附件',
120
+ 'new.attachments.uploading': '上传中',
121
+ 'detail.attachments': '附件',
122
+ 'detail.attachments.removeHint': '移除附件只会删掉卡片上的引用;Host 存储里的文件不会被物理删除。',
107
123
  'board.tagFilter': '按标签筛选',
108
124
  'board.tagFilterClear': '清除标签筛选',
109
125
  'board.tagEmpty': '没有同时带这些标签的任务',
@@ -122,6 +138,15 @@ export const zh = {
122
138
  'tags.mergeHint': '将合并进已有标签「{name}」',
123
139
  'tags.renameFailed': '重命名未被接受。',
124
140
  'tags.deleteFailed': '删除未被接受。',
141
+ 'tags.cleanupHint': '任务数少于阈值、且携带它的任务全部处于已完成或已失败时,这些标签会一次清理掉。删除不可撤销,任务本身不受影响。',
142
+ 'tags.help': '标签管理说明',
143
+ 'tags.cleanupThreshold': '任务数少于',
144
+ 'tags.cleanup': '清理',
145
+ 'tags.cleanupEmpty': '没有符合条件的标签。',
146
+ 'tags.cleanupTitle': '清理标签',
147
+ 'tags.cleanupConfirm': '将清除 {count} 个标签:{names}(括号内是携带该标签的任务数)。这些标签的执行提示会一并移除;删除不可撤销,任务本身不受影响。',
148
+ 'tags.cleanupOk': '清理',
149
+ 'tags.cleanupFailed': '{count} 个标签未能清除。',
125
150
  'tags.done': '完成',
126
151
  'detail.permissionPending': '权限待确认:本卡有效权限({permission})高于会话默认,手动执行与定时调度都会被拒绝,需人工确认后才能运行。',
127
152
  'detail.permissionConfirm': '确认权限绑定',
@@ -131,6 +156,8 @@ export const zh = {
131
156
  'detail.editTags': '编辑标签',
132
157
  'detail.duplicate': '复制为新任务',
133
158
  'detail.duplicateAndEdit': '修改并新建副本',
159
+ 'detail.more': '更多操作',
160
+ 'detail.moveTo': '移动到…',
134
161
  'detail.close': '关闭',
135
162
  'edit.title': '编辑任务',
136
163
  'edit.save': '保存',
@@ -141,6 +168,8 @@ export const zh = {
141
168
  'detail.expand': '展开全文',
142
169
  'detail.collapse': '收起',
143
170
  'detail.execution': '执行记录',
171
+ 'detail.execution.showAll': '显示全部 {count} 条',
172
+ 'detail.execution.summary': '{count} 次 · 最近 {time} · {result}',
144
173
  'detail.noExecution': '尚未执行',
145
174
  'detail.run': '执行',
146
175
  'detail.rerun': '重新执行',
@@ -167,7 +196,8 @@ export const zh = {
167
196
  'status.move.running': '移到进行中',
168
197
  'status.move.done': '移到已完成',
169
198
  'status.move.failed': '移到已失败',
170
- 'exec.error.noWorkspace': '没有可用工作区,无法执行任务',
199
+ 'exec.error.noWorkspace': '这张卡没有指定工作区,请先在卡片上选择工作区',
200
+ 'exec.error.legacyAgentTeams': '这张卡有未完成的子任务,需按梁神模式的派发方式执行,但当前部署运行的是 legacy Agent Teams,无法编排;请关闭该 runtime 并重启 Host,或先完成子任务再执行',
171
201
  'exec.error.promptRejected': 'Prompt 被拒绝',
172
202
  'run.failed': '执行失败:{error}',
173
203
  'time.justNow': '刚刚',
@@ -213,6 +243,12 @@ export const zh = {
213
243
  'detail.schedule.runsUnlimited': '已执行 {done} 次',
214
244
  'detail.schedule.remaining': '剩余 {count} 次',
215
245
  'detail.schedule.cancel': '关闭调度',
246
+ 'detail.schedule.summary.off': '未启用',
247
+ 'detail.schedule.summary.on': '已启用 · 下次 {next}',
248
+ // 折叠行只留下次时刻;规则本身(cron 或单次时刻)走行的 title 提示。
249
+ 'detail.schedule.summary.onFull': '已启用 · {plan} · 下次 {next}',
250
+ 'detail.schedule.summary.planOnce': '单次 {time}',
251
+ 'detail.schedule.summary.planCron': '循环 {cron}',
216
252
  'detail.schedule.ended': '调度已结束:{reason}',
217
253
  'detail.schedule.skipped': '上次跳过:{reason}',
218
254
  'detail.schedule.stop.fired': '单次计划已执行',
@@ -247,66 +283,97 @@ export const zh = {
247
283
  'exec.permission.danger-full-access': '完全访问',
248
284
  'exec.model.default': '宿主默认(agent-default-model)',
249
285
  'exec.model.unknown': '(未知模型/回退默认)',
286
+ 'exec.reasoning': '思考档位',
287
+ 'exec.reasoning.inherit': '沿用模型/宿主默认',
288
+ 'exec.reasoning.unknown': '(未知档位)',
289
+ 'exec.reasoning.hint.pickModel': '先选择要钉住的模型,才能设置它的思考档位。',
290
+ 'exec.reasoning.hint.unknownModel': '无法从当前名册确认该模型的可选档位;已保存的值原样保留。',
291
+ 'exec.reasoning.hint.noEfforts': '该模型没有可选的思考档位,始终沿用模型/宿主的默认值。',
292
+ 'exec.reasoning.hint.inherit': '留空即沿用该模型/宿主的默认档位。',
250
293
  'exec.reuseSession': '在同一对话继续',
251
- 'exec.teamRun': '用 Agent Team 执行(Leader/teammate)',
252
- 'exec.teamRunHint': '开启后:执行本任务只启动一个 Leader 会话,每个子任务由它派生为 teammate 并在该会话内并行工作(子任务自身的权限钉住不适用)。关闭则每个成员各开独立会话。',
253
- 'exec.teamRunUnavailable': '当前部署未提供 Agent Teams 服务,无法启用。',
254
294
  'exec.reuseSessionHint': '开启后,本任务的后续执行在上一次会话里继续(该会话空闲且仍存在时),不再每次新建对话;每次复用时都会重新应用上面钉住的权限与模型。',
295
+ 'exec.reuseSessionHint.short': '后续执行复用上一次的空闲会话',
255
296
  'exec.goalRun': '以 dsh 内置的 /goal 开始执行任务',
256
297
  'exec.goalRunHint': '默认关闭:勾选后执行时把任务目标作为持久目标交给 dsh 内置的 /goal,会话会自动续跑多轮,直到 agent 标记目标完成;看板在该目标真正结束后才结算本次执行。不勾选则只执行一轮普通对话。',
298
+ 'exec.goalRunHint.short': '多轮续跑,目标结束后才结算本次执行',
299
+ 'exec.goalRunGlobalOff': '全局总开关已关闭,勾选暂不生效',
257
300
  'exec.skipVerification': '跳过本任务的验收',
258
301
  'exec.skipVerificationHint': '默认关闭:勾选后本任务以 goal 形式执行时不再拦截 update_goal 标记完成,也不要求通过验收;执行记录会标注「该卡片跳过验收」。仅对之后新开的执行生效,验收总开关关闭时本项无意义。',
302
+ 'exec.skipVerificationHint.short': '本卡执行不做验收判定',
259
303
  'detail.executionSettings': '执行设置',
304
+ 'detail.settings.advanced': '高级设置',
305
+ 'detail.settings.summary.none': '全部关闭',
306
+ 'detail.settings.summary.reuseSession': '同一对话继续',
307
+ 'detail.settings.summary.goal': '/goal 执行',
308
+ 'detail.settings.summary.skipVerification': '跳过验收',
260
309
  'exec.hint': '执行时生效:工作区决定执行会话落在哪个工作区;Agent 预设决定会话的组合(工具面与提示词段);权限经 /permission 命令应用到会话。留空则继承部署默认。',
310
+ 'exec.hint.short': '留空继承部署默认,执行时生效',
261
311
  // 插件设置卡片(settings.plugin.item 席位)。
262
312
  'settings.title': '任务看板',
263
313
  'settings.description': '任务编排、agent 播报与目标验收。',
264
- 'settings.enabled': '启用任务看板',
265
- 'settings.enabledCardHint': '总开关、播报、睡眠保护与子任务层级。',
314
+ 'settings.enabled': '总开关',
315
+ 'settings.enabledCardHint': '播报、睡眠保护与子任务层级。',
266
316
  'settings.enabledHint': '关闭后隐藏侧边栏入口与看板视图,并注销 task_board_* agent 工具;开启时任何会话都可以通过这些工具读写看板、子任务与定时计划。',
267
- 'settings.announceToAgent': '向 agent 播报任务看板',
317
+ 'settings.enabledHintBrief': '关掉后隐藏入口与看板视图,并注销 task_board_* 工具。',
318
+ 'settings.announceToAgent': '播报给 agent',
268
319
  'settings.announceToAgentHint': '开启:每条 agent 系统提示都会包含本看板的说明;关闭:不播报,agent 仅在用户主动提及时了解看板。',
320
+ 'settings.announceToAgentHintBrief': '每条系统提示都带上本看板说明。',
269
321
  'settings.preventIdleSleep': '阻止系统空闲睡眠',
270
322
  'settings.preventIdleSleepHint': '默认关闭。开启后,只要存在运行中的 DSH 会话、已启用的定时任务或会话状态尚未确认,Host 就阻止整机因空闲睡眠;屏幕仍可自动关闭。',
271
- 'settings.powerStatus': '平台:{platform};保护状态:{phase};运行会话:{running};已启用计划:{schedules}',
272
- 'settings.powerBoundary': '这可能增加电池消耗。合盖、手动睡眠、休眠、关机、低电量或企业策略不在保证范围内,也不会唤醒已经睡眠的机器。',
273
- 'settings.powerUnknown': '未知',
323
+ 'settings.preventIdleSleepHintBrief': '有会话在跑或计划已启用时,阻止整机空闲睡眠。',
324
+ 'settings.trustForwardedProxy': '信任反代转发的请求',
325
+ 'settings.trustForwardedProxyHint': '默认关闭。关闭时行为与没有这项设置完全一致:带 CF-Connecting-IP 或 X-Forwarded-For 的请求一律不当作本机请求。只有反代或隧道由你自己(运维)运行、并且它拨的是本机回环上游(127.0.0.1:<端口>)时才打开:此时这类请求仍必须带浏览器同源标记,显式跨站请求照旧拒绝。第三方托管的反向代理不要打开——它可以替你伪造这些标记。',
326
+ 'settings.trustForwardedProxyHintBrief': '只在自己的反代指向本机回环时开启。',
327
+ 'settings.powerBoundary': '合盖、休眠、关机或低电量不在保证范围内。',
274
328
  'settings.powerError': '最近一次电源保护错误:{error}',
329
+ 'settings.powerPhase': '保护状态',
330
+ 'settings.powerPlatform': '平台',
331
+ 'settings.powerRunning': '运行会话',
332
+ 'settings.powerSchedules': '已启用计划',
333
+ 'settings.powerUnknown': '未知',
275
334
  'settings.inherit': '继承',
276
335
  'settings.on': '开',
277
336
  'settings.off': '关',
278
- 'settings.overridden': '已覆盖',
337
+ 'settings.overridden': '已修改',
279
338
  'settings.reset': '恢复默认',
280
- 'settings.notExposed': '当前 DSH 版本未向设置页暴露本插件的配置命名空间,表单不可用。可编辑 ~/.dsh/settings.yaml 直接配置,或将本命名空间加入 Host 设置白名单后重启。',
281
- 'settings.readOnly': '当前部署的设置只读。',
339
+ 'settings.notExposed': '这个版本的 DSH 没有开放任务看板的设置。',
340
+ 'settings.readOnly': '设置只读。',
282
341
  'settings.expand': '展开设置',
283
342
  'settings.collapse': '收起设置',
284
- 'settings.save': '保存',
285
- 'settings.saving': '保存中…',
286
- 'settings.discard': '放弃',
287
- 'settings.unsaved': '未保存',
288
- 'settings.saveFailed': '部署未接受这些值,已保留供你修改。',
289
- 'settings.invalidNumber': '请输入数字,留空则使用默认值。',
343
+ 'settings.saveFailed': '没有保存成功。',
344
+ 'settings.invalidNumber': '填一个数字,留空用默认值。',
290
345
  'settings.sessionPollSeconds': '会话轮询间隔(秒)',
291
346
  'settings.sessionPollSecondsHint': '默认 5 秒。仅在看板有需要核对的事情——运行中的卡片或未结算的执行——时才读取会话名册;两者都没有时不再轮询,Host 不会持续扫描持久化会话目录。取值 1–300 秒:间隔越短结算越快、Host 负载越高。',
347
+ 'settings.sessionPollSecondsHintBrief': '多久核对一次会话,越短结算越快。',
292
348
  'settings.maxSubtaskDepth': '子任务深度上限',
293
- 'settings.maxSubtaskDepthHint': '默认 1:一个任务只允许一层子任务,子任务不能再创建或关联子任务。最大 3。执行父任务会并发执行它的整棵子任务树,层级越深,一次执行开启的会话越多。',
349
+ 'settings.maxSubtaskDepthHint': '默认 1:一个任务只允许一层子任务,子任务不能再创建或关联子任务。最大 3。它只决定一张卡下面能挂多深的子任务:执行一张卡始终只开它自己的一个会话,子任务由它自己按依赖顺序派发,所以层级深浅不改变一次执行开几个会话。',
350
+ 'settings.maxSubtaskDepthHintBrief': '子任务最多挂几层。',
294
351
  'settings.maxSubtaskDepthOption': '{depth} 层',
352
+ 'settings.runLaunchWidth': '并发启动上限',
353
+ 'settings.runLaunchWidthHint': '默认 3。多张卡片同时要执行时(手动执行、重新执行与到点定时一样),同一刻最多有这么多个执行被准入、创建会话并入队 Prompt,其余排队等待;每张卡的一次执行只开它自己一个会话,所以这个值不改变单卡的执行形态。默认值取自本仓「重型实施子代理并发 ≤ 3」的实测纪律。取值 1–16:越大启动越快,Host 的内存与 swap 压力越高。执行中修改只影响尚未入列的启动。',
354
+ 'settings.runLaunchWidthHintBrief': '同时最多几个执行开始建会话,其余排队。',
355
+ 'settings.spendBudgetTokens': '每日 token 上限',
356
+ 'settings.spendBudgetTokensHint': '默认 0,表示不设闸,行为与没有这项设置时完全一致(不读账本、不计数)。设为正整数后,今日已用 token 达到该值时:手动执行与重新执行被拒绝,调用方看到的拒绝文本就是原因;到点的定时执行把原因写进调度错误并跳过本次触发,不消耗计划次数,因此调高上限或跨过本地零点后下一次触发照常执行。计量单位是 token 而不是金额:使用账本只对 DeepSeek 官方路由计价,其他路由恒为 0。今日已用取自该账本按本地日期分桶的输入、缓存读写与输出之和,与「使用统计」面板的口径一致。',
357
+ 'settings.spendBudgetTokensHintBrief': '今日用量到顶后,手动执行被拒绝,定时触发跳过。',
295
358
  'settings.runBehaviorTitle': '运行行为',
296
359
  'settings.runBehaviorCardHint': '全局原生 /goal 执行开关(总开关,默认关闭)。',
297
- 'settings.goalRunGlobal': '全局启用 DSH 原生 /goal 执行',
360
+ 'settings.goalRunGlobal': '原生 /goal 执行',
298
361
  'settings.goalRunGlobalHint': '默认关闭。关闭时所有任务都按普通单回合执行,不调用 dsh 内置的 /goal;只有这里开启、且任务级「以 /goal 开始执行」被勾选时,才执行原生 /goal。任务级勾选始终可操作、也不会被这里的开关改写,总开关只决定它是否生效。开关按执行启动时冻结,只影响之后新开的执行。',
362
+ 'settings.goalRunGlobalHintBrief': '开启后执行才使用原生 /goal。',
299
363
  'settings.goalRunGlobalDisabledTaskOption': '全局「原生 /goal 执行」总开关已关闭:任务级选项仍可随时勾选或取消,但暂不生效,你保存的偏好也不会被改写;开启总开关后即按该偏好执行。本次执行按普通单回合进行,未执行 goal 验收。',
300
364
  'settings.goalVerificationTitle': '任务验收',
301
- 'settings.goalVerification': '启用任务验收',
365
+ 'settings.goalVerification': '任务验收',
302
366
  'settings.goalVerificationCardHint': '验收开关、裁判模型与判据阈值。',
303
367
  'settings.goalVerificationHint': '默认打开:以 goal 形式执行的任务在 update_goal 标记完成前必须先通过一次验收(三项 coding 判据(本分区面向工程任务)、阈值 0.65、每项两轮且交换 A/B 位置,实际工作须胜过空工作基线)。首次不通过会把总分、逐项分数与可定位问题反馈给 agent 修复,同一执行最多两次验收;第二次仍不通过则本次执行判失败。仅作用于本插件以 goal 形式执行的任务,不影响普通聊天,也不影响显式 goalRun:false 的单回合任务。每次验收都会真实调用裁判模型并消耗额度。',
368
+ 'settings.goalVerificationHintBrief': '每项判据两轮,每次验收都会调用裁判模型。',
304
369
  'settings.goalVerificationModel': '验收模型',
305
370
  'settings.goalVerificationModelHint': '留空即继承宿主:使用宿主模型目录的默认路由,而不是任务卡钉住的执行模型。',
371
+ 'settings.goalVerificationModelHintBrief': '留空继承宿主默认路由,不跟随卡片钉住的执行模型。',
306
372
  'settings.goalVerificationModelInherit': '继承宿主({model})',
307
373
  'settings.goalVerificationModelInheritUnknown': '继承宿主(宿主未提供模型目录)',
308
374
  'settings.goalVerificationEffort': '推理强度',
309
375
  'settings.goalVerificationEffortHint': '留空即继承宿主默认档位。目标模型不支持所选档位时不会盲传:验收改用该模型自己的默认档位,并在下方标注回退。',
376
+ 'settings.goalVerificationEffortHintBrief': '留空继承宿主默认档位。目标模型不支持的档位会自动回退。',
310
377
  'settings.goalVerificationEffortInherit': '继承宿主({effort})',
311
378
  'settings.goalVerificationEffortInheritUnknown': '继承宿主(模型默认档位)',
312
379
  'settings.goalVerificationResolved': '实际解析后的验收配置',
@@ -321,6 +388,15 @@ export const zh = {
321
388
  'settings.goalVerificationEffortFallback': '所选推理强度 {requested} 不被目标模型支持,已回退为 {resolved}。',
322
389
  'settings.goalVerificationEffortFallbackNone': '所选推理强度 {requested} 不被目标模型支持,已回退为该模型默认档位(不显式传参)。',
323
390
  'settings.goalVerificationModelInvalid': '配置的验收模型不是 provider/model 形式,已回退宿主默认。',
391
+ 'settings.cardDefaultsTitle': '新建卡片默认值',
392
+ 'settings.cardDefaultsCardHint': '新建对话框打开时预填的 Agent 预设、权限、模型与思考档位;留空即不设置,创建卡片的行为与未配置时完全一致。它们只是预填,不改变任何既有语义,新建的卡片仍可随时修改;思考档位默认值只在卡片最终钉住的模型就是这里的默认模型时才生效。',
393
+ 'settings.cardDefaultsCardBrief': '新建卡片预填的预设、权限、模型与思考档位。',
394
+ 'settings.cardDefaultModeHint': '留空不钉住任何值,新建卡片照旧继承部署默认预设。取值优先级为:新建对话框里的显式选择 > 复制源卡或父任务已钉住的值 > 这里的默认值;子任务沿用父卡已钉住的值。',
395
+ 'settings.cardDefaultModeHintBrief': '留空不预填,新建卡片照旧跟随部署默认预设。',
396
+ 'settings.cardDefaultPermissionHint': '留空为不设置(用会话默认)。高于会话默认权限基线的默认值仍只是预填:卡片执行前照旧需要人工确认。子任务从不沿用父卡的权限,只在父卡未钉住、且这里设置了默认值时才预填。',
397
+ 'settings.cardDefaultPermissionHintBrief': '留空为不设置。高于会话基线的默认值执行前仍需人工确认。',
398
+ 'settings.cardDefaultModelHint': '留空为宿主默认(agent-default-model)。对话框里的显式选择优先于源卡/父卡已钉住的值,后者优先于这里的默认值;自己选了模型的调用方不借用任何默认档位。',
399
+ 'settings.cardDefaultModelHintBrief': '留空即宿主默认模型,对话框里的显式选择始终优先。',
324
400
  'running.executing': '执行中',
325
401
  'running.verifying': '验收中',
326
402
  'running.repairing': '验收未通过修复中',
@@ -386,7 +462,7 @@ export const zh = {
386
462
  'verify.applicability.goalDisabled': '本次执行启动时全局「原生 /goal 执行」总开关关闭,按普通单回合执行:本次未执行 goal 验收,既不算已验收通过,也不因此判失败。',
387
463
  'verify.effortFallback': '推理强度回退:{requested} → {resolved}',
388
464
  'verify.thresholdValue': '{value}%',
389
- // 子任务(父子关系、级联执行、关联/解除关联)。
465
+ // 子任务(父子关系、执行时由父卡派发、关联/解除关联)。
390
466
  'detail.parent': '父任务',
391
467
  'detail.parent.open': '打开父任务',
392
468
  'detail.subtasks': '子任务',
@@ -395,7 +471,8 @@ export const zh = {
395
471
  'detail.subtasks.link': '关联现有任务',
396
472
  'detail.subtasks.detach': '解除关联',
397
473
  'detail.subtasks.runningLock': '子任务正在执行,结算后才能解除关联或改挂父任务',
398
- 'detail.subtasks.runHint': '执行本任务会同时并发执行它的 {count} 个子任务;子任务失败不影响其它子任务继续执行。',
474
+ 'detail.subtasks.runHint': '执行本卡只会开本卡一个会话:它自己读取下面 {count} 个还没做完的子任务,按依赖顺序派发,完工后把子卡结论回填。还有未完成子任务时,执行会用梁神模式(liangshen);预设缺失会直接拒绝执行。',
475
+ 'detail.subtasks.runHintSettled': '子任务都已做完,本次执行只会开本卡一个会话,不会再跑它们;想让哪张子卡再跑一次,把它移回待办列或单独执行。',
399
476
  'detail.subtasks.waiting': '等待子任务结算',
400
477
  'detail.subtasks.depthLimit': '当前子任务深度上限为 {depth} 层,子任务不能再创建或关联子任务。',
401
478
  'detail.subtasks.hostOnly': '连接 Host 后才能创建或关联子任务。',
@@ -424,6 +501,7 @@ export const zh = {
424
501
  'card.time.updated': '更新于 {time}',
425
502
  'board.density.compact': '切换为紧凑卡片',
426
503
  'board.density.comfortable': '切换为完整卡片',
504
+ 'board.source.local': '本地任务',
427
505
  'board.group.today': '今天',
428
506
  'board.group.week': '近 7 天',
429
507
  'board.group.earlier': '更早',
@@ -432,6 +510,7 @@ export const zh = {
432
510
  'board.hideSubtasks': '隐藏子任务',
433
511
  'board.showSubtasks': '显示子任务',
434
512
  'board.subtaskFilterHint': '看板默认只显示父任务;搜索或按标签筛选时会自动展开子任务。',
513
+ 'settings.enabledTopic': '基础',
435
514
  } satisfies Record<string, string>
436
515
 
437
516
  /** en dictionary, complete against the zh key set. */
@@ -490,12 +569,14 @@ export const en: Record<keyof typeof zh, string> = {
490
569
  'new.section.parse': 'AI Parse',
491
570
  'new.section.content': 'Task Content',
492
571
  'new.section.labels': 'Tags',
572
+ 'new.section.attachments': 'Attachments',
493
573
  'new.section.execution': 'Execution Settings',
494
574
  'new.section.run': 'Run Mode',
495
575
  'new.section.handover': 'Handover',
496
576
  'new.section.schedule': 'Scheduled Runs',
497
577
  'new.summary.none': 'Not set',
498
578
  'new.summary.labelCount': '{count} tags',
579
+ 'new.summary.attachmentCount': '{count} attachments',
499
580
  'new.summary.filled': 'Filled',
500
581
  'new.summary.scheduleOff': 'Off',
501
582
  'new.summary.multiRound': 'multi-round /goal',
@@ -533,6 +614,20 @@ export const en: Record<keyof typeof zh, string> = {
533
614
  'new.tagPromptPlaceholder': 'e.g. Archive artefacts under 02-work/',
534
615
  'new.tagAdd': 'Add tag',
535
616
  'new.tagRemove': 'Remove tag {name}',
617
+ 'new.attachments': 'Attachments',
618
+ 'new.attachmentsHint': 'Drag, paste, or pick files; they are uploaded when the card is saved. Images travel with the execution, plain files reach the session as read-only paths.',
619
+ 'new.attachments.drop': 'Drop files here, or paste them',
620
+ 'new.attachments.pick': 'Choose files',
621
+ 'new.attachments.remove': 'Remove attachment {name}',
622
+ 'new.attachments.limitCount': 'A card carries at most {count} attachments',
623
+ 'new.attachments.limitImages': 'This deployment admits at most {count} images per message',
624
+ 'new.attachments.limitImageBytes': 'The images exceed the deployment limit of {size}',
625
+ 'new.attachments.limitSize': '{name} exceeds the per-attachment limit of {size}',
626
+ 'new.attachments.limitTotal': 'The attachments exceed the total limit of {size}',
627
+ 'new.attachments.unavailable': 'This deployment serves no attachment storage, so nothing can be uploaded',
628
+ 'new.attachments.uploading': 'uploading',
629
+ 'detail.attachments': 'Attachments',
630
+ 'detail.attachments.removeHint': 'Removing an attachment drops the reference on the card; the stored file itself is not physically deleted.',
536
631
  'board.tagFilter': 'Filter by tag',
537
632
  'board.tagFilterClear': 'Clear tag filter',
538
633
  'board.tagEmpty': 'No task carries all of these tags',
@@ -551,6 +646,15 @@ export const en: Record<keyof typeof zh, string> = {
551
646
  'tags.mergeHint': 'Merges into the existing label "{name}"',
552
647
  'tags.renameFailed': 'The rename was not accepted.',
553
648
  'tags.deleteFailed': 'The deletion was not accepted.',
649
+ 'tags.cleanupHint': 'Labels carried by fewer tasks than the threshold, where every one of those tasks is done or failed, are cleared in one pass. Deletion cannot be undone; the tasks themselves are unaffected.',
650
+ 'tags.help': 'Label manager help',
651
+ 'tags.cleanupThreshold': 'Fewer than',
652
+ 'tags.cleanup': 'Clear',
653
+ 'tags.cleanupEmpty': 'No label matches.',
654
+ 'tags.cleanupTitle': 'Clear labels',
655
+ 'tags.cleanupConfirm': 'Clear {count} label(s): {names} (the number in brackets is how many tasks carry that label). Their execution hints are removed with them; deletion cannot be undone, and the tasks themselves are unaffected.',
656
+ 'tags.cleanupOk': 'Clear',
657
+ 'tags.cleanupFailed': '{count} label(s) were not cleared.',
554
658
  'tags.done': 'Done',
555
659
  'detail.permissionPending': 'Permission pending confirmation: this card\'s effective permission ({permission}) is above the session default; manual runs and cron are refused until a human confirms.',
556
660
  'detail.permissionConfirm': 'Confirm permission binding',
@@ -560,6 +664,8 @@ export const en: Record<keyof typeof zh, string> = {
560
664
  'detail.editTags': 'Edit tags',
561
665
  'detail.duplicate': 'Duplicate Task',
562
666
  'detail.duplicateAndEdit': 'Edit as New Copy',
667
+ 'detail.more': 'More actions',
668
+ 'detail.moveTo': 'Move to…',
563
669
  'detail.close': 'Close',
564
670
  'edit.title': 'Edit Task',
565
671
  'edit.save': 'Save',
@@ -570,6 +676,8 @@ export const en: Record<keyof typeof zh, string> = {
570
676
  'detail.expand': 'Show more',
571
677
  'detail.collapse': 'Show less',
572
678
  'detail.execution': 'Execution History',
679
+ 'detail.execution.showAll': 'Show all {count}',
680
+ 'detail.execution.summary': '{count} runs · latest {time} · {result}',
573
681
  'detail.noExecution': 'Not executed yet',
574
682
  'detail.run': 'Run',
575
683
  'detail.rerun': 'Run Again',
@@ -596,7 +704,8 @@ export const en: Record<keyof typeof zh, string> = {
596
704
  'status.move.running': 'Move to Running',
597
705
  'status.move.done': 'Move to Done',
598
706
  'status.move.failed': 'Move to Failed',
599
- 'exec.error.noWorkspace': 'No workspace is available to run the task',
707
+ 'exec.error.noWorkspace': 'This card has no workspace pinned; choose one on the card before it can run',
708
+ 'exec.error.legacyAgentTeams': 'This card has unfinished subtasks, which run through the LiangShen dispatcher preset, but this deployment runs the legacy Agent Teams runtime and cannot orchestrate; disable that runtime and restart the Host, or finish the subtasks before running',
600
709
  'exec.error.promptRejected': 'Prompt rejected',
601
710
  'run.failed': 'Run failed: {error}',
602
711
  'time.justNow': 'just now',
@@ -643,6 +752,11 @@ export const en: Record<keyof typeof zh, string> = {
643
752
  'detail.schedule.runsUnlimited': 'Ran {done}',
644
753
  'detail.schedule.remaining': '{count} left',
645
754
  'detail.schedule.cancel': 'Cancel schedule',
755
+ 'detail.schedule.summary.off': 'Off',
756
+ 'detail.schedule.summary.on': 'On · next {next}',
757
+ 'detail.schedule.summary.onFull': 'On · {plan} · next {next}',
758
+ 'detail.schedule.summary.planOnce': 'once at {time}',
759
+ 'detail.schedule.summary.planCron': 'recurring {cron}',
646
760
  'detail.schedule.ended': 'Schedule ended: {reason}',
647
761
  'detail.schedule.skipped': 'Last skip: {reason}',
648
762
  'detail.schedule.stop.fired': 'the one-shot ran',
@@ -677,66 +791,97 @@ export const en: Record<keyof typeof zh, string> = {
677
791
  'exec.permission.danger-full-access': 'Full Access',
678
792
  'exec.model.default': 'Host default (agent-default-model)',
679
793
  'exec.model.unknown': ' (unknown / fallback to default)',
794
+ 'exec.reasoning': 'Reasoning effort',
795
+ 'exec.reasoning.inherit': 'Model or Host default',
796
+ 'exec.reasoning.unknown': ' (unknown effort)',
797
+ 'exec.reasoning.hint.pickModel': 'Pin a model first, then choose its reasoning effort.',
798
+ 'exec.reasoning.hint.unknownModel': "The current roster cannot confirm this model's effort levels; the stored value is kept as it is.",
799
+ 'exec.reasoning.hint.noEfforts': 'This model offers no selectable reasoning effort, so the model or Host default always applies.',
800
+ 'exec.reasoning.hint.inherit': 'Leave it empty to follow the model or Host default.',
680
801
  'exec.reuseSession': 'Continue in the same conversation',
681
- 'exec.teamRun': 'Run with an Agent Team (Lead + teammates)',
682
- 'exec.teamRunHint': 'On: running this task starts one Lead session and spawns a teammate per subtask inside it, working in parallel (a subtask permission pin does not apply). Off: every member gets its own independent session.',
683
- 'exec.teamRunUnavailable': 'This deployment serves no Agent Teams service, so team runs cannot be enabled.',
684
802
  'exec.reuseSessionHint': 'When on, later runs continue in the previous session (when that session is idle and still exists) instead of starting a new conversation each time; the pinned permission and model above are re-applied on every reuse.',
803
+ 'exec.reuseSessionHint.short': 'Later runs reuse the previous idle session',
685
804
  'exec.goalRun': "Start the run with dsh's built-in /goal",
686
805
  'exec.goalRunHint': 'Off by default: when checked, the run arms dsh built-in /goal with the task objective, so the session keeps working automatic continuation rounds until the agent marks the goal complete, and the board settles the execution only when that goal really ends. Unchecked: one plain turn.',
806
+ 'exec.goalRunHint.short': 'Automatic rounds; the execution settles when the goal ends',
807
+ 'exec.goalRunGlobalOff': 'The global switch is off, so checking it has no effect yet',
687
808
  'exec.skipVerification': 'Skip acceptance for this task',
688
809
  'exec.skipVerificationHint': 'Off by default: when checked, a goal-form run of this task no longer gates update_goal on a passing acceptance, and the execution record is marked as skipped. It applies only to executions started afterwards, and means nothing while the board-wide acceptance switch is off.',
810
+ 'exec.skipVerificationHint.short': 'This card runs without an acceptance verdict',
689
811
  'detail.executionSettings': 'Execution Settings',
812
+ 'detail.settings.advanced': 'Advanced settings',
813
+ 'detail.settings.summary.none': 'All off',
814
+ 'detail.settings.summary.reuseSession': 'Same conversation',
815
+ 'detail.settings.summary.goal': '/goal run',
816
+ 'detail.settings.summary.skipVerification': 'Acceptance skipped',
690
817
  'exec.hint': 'Applied when the task runs: the workspace decides where the execution session lands; the agent preset composes the session (tool face and prompt sections); the permission is applied through the /permission command. Blank inherits the deployment default.',
818
+ 'exec.hint.short': 'Blank inherits the deployment default; applied at run time',
691
819
  // Plugin settings card (the `settings.plugin.item` seat).
692
820
  'settings.title': 'Task Board',
693
821
  'settings.description': 'Task orchestration, agent announcement and goal acceptance.',
694
- 'settings.enabled': 'Enable the task board',
695
- 'settings.enabledCardHint': 'Master switch, announcement, sleep protection and subtask depth.',
822
+ 'settings.enabled': 'Master switch',
823
+ 'settings.enabledCardHint': 'Announcement, sleep protection and subtask depth.',
696
824
  'settings.enabledHint': 'When off, the sidebar entry and board view are hidden and the task_board_* agent tools are unregistered; while on, any session can read and drive the board, its subtasks and its schedules through those tools.',
697
- 'settings.announceToAgent': 'Announce the task board to agents',
825
+ 'settings.enabledHintBrief': 'Off hides the entry and board view and unregisters the task_board_* tools.',
826
+ 'settings.announceToAgent': 'Announce to agents',
698
827
  'settings.announceToAgentHint': 'On: every agent system prompt includes a note about this board. Off: no announcement; agents learn about the board only when you mention it.',
828
+ 'settings.announceToAgentHintBrief': 'Every system prompt carries a note about this board.',
699
829
  'settings.preventIdleSleep': 'Prevent idle system sleep',
700
830
  'settings.preventIdleSleepHint': 'Off by default. When enabled, the Host prevents idle system sleep while any DSH session runs, any schedule is enabled, or session state is not yet known. The display may still turn off.',
701
- 'settings.powerStatus': 'Platform: {platform}; protection: {phase}; running sessions: {running}; enabled schedules: {schedules}',
702
- 'settings.powerBoundary': 'This may use more battery. Lid close, manual sleep, hibernation, shutdown, low-battery actions, and enterprise policy are outside the guarantee; an already sleeping computer is not woken.',
703
- 'settings.powerUnknown': 'unknown',
831
+ 'settings.preventIdleSleepHintBrief': 'Blocks idle system sleep while a session runs or a schedule is enabled.',
832
+ 'settings.trustForwardedProxy': 'Trust forwarded requests',
833
+ 'settings.trustForwardedProxyHint': 'Off by default. While it is off the fence behaves exactly as if the setting did not exist: a request carrying CF-Connecting-IP or X-Forwarded-For is never treated as local. Turn it on only when the reverse proxy or tunnel is one you (the operator) run yourself and it dials this machine loopback upstream (127.0.0.1:<port>): even then such a request must still carry a browser same-origin marker, and an explicit cross-site request stays refused. Do not enable it for a reverse proxy hosted by a third party, which can forge those markers on your behalf.',
834
+ 'settings.trustForwardedProxyHintBrief': 'On only for a proxy of your own that dials this machine loopback.',
835
+ 'settings.powerBoundary': 'Closing the lid, hibernate, shutdown or a low battery is outside the guarantee.',
704
836
  'settings.powerError': 'Latest power-protection error: {error}',
837
+ 'settings.powerPhase': 'Protection',
838
+ 'settings.powerPlatform': 'Platform',
839
+ 'settings.powerRunning': 'Running sessions',
840
+ 'settings.powerSchedules': 'Enabled schedules',
841
+ 'settings.powerUnknown': 'unknown',
705
842
  'settings.inherit': 'Inherit',
706
843
  'settings.on': 'On',
707
844
  'settings.off': 'Off',
708
- 'settings.overridden': 'Overridden',
845
+ 'settings.overridden': 'Changed',
709
846
  'settings.reset': 'Reset to default',
710
- 'settings.notExposed': 'This DSH version does not expose this plugin\'s settings namespace to the configuration page, so the form is unavailable. Edit ~/.dsh/settings.yaml directly, or add the namespace to the Host settings allowlist and restart.',
711
- 'settings.readOnly': 'This deployment stores settings read-only.',
847
+ 'settings.notExposed': 'This DSH version does not open the task board settings.',
848
+ 'settings.readOnly': 'Settings are read-only.',
712
849
  'settings.expand': 'Show settings',
713
850
  'settings.collapse': 'Hide settings',
714
- 'settings.save': 'Save',
715
- 'settings.saving': 'Saving…',
716
- 'settings.discard': 'Discard',
717
- 'settings.unsaved': 'Unsaved',
718
- 'settings.saveFailed': 'The deployment did not accept these values; they were left for you to correct.',
719
- 'settings.invalidNumber': 'Enter a number, or leave blank to use the default.',
851
+ 'settings.saveFailed': 'Not saved.',
852
+ 'settings.invalidNumber': 'Enter a number, or leave it empty for the default.',
720
853
  'settings.sessionPollSeconds': 'Session poll interval (seconds)',
721
854
  'settings.sessionPollSecondsHint': 'Default 5. The Host reads the DSH session roster only while the board has something to reconcile: a running card or an open execution. With neither it stops polling and never re-scans the persisted session directory. Range 1 to 300 seconds: a shorter interval settles runs sooner and costs the Host more.',
855
+ 'settings.sessionPollSecondsHintBrief': 'How often sessions are checked; shorter settles sooner.',
722
856
  'settings.maxSubtaskDepth': 'Subtask depth limit',
723
- 'settings.maxSubtaskDepthHint': 'Default 1: a task may carry one level of subtasks, and a subtask cannot create or link further subtasks. Maximum 3. Running a task also runs its whole subtask tree concurrently, and every extra level opens more sessions per run.',
857
+ 'settings.maxSubtaskDepthHint': 'Default 1: a task may carry one level of subtasks, and a subtask cannot create or link further subtasks. Maximum 3. The limit only decides how deep the tree under one card can go: a run still opens that card\'s own single session and dispatches its subtasks itself, so the depth never changes how many sessions a run opens.',
858
+ 'settings.maxSubtaskDepthHintBrief': 'How deep subtasks may go.',
724
859
  'settings.maxSubtaskDepthOption': '{depth} levels',
860
+ 'settings.runLaunchWidth': 'Concurrent run launches',
861
+ 'settings.runLaunchWidthHint': 'Default 3. When several cards want to run at the same time, a manual run, a re-run and a due schedule alike, only this many runs are admitted at once: each creates its session and queues its prompt, and the rest wait their turn. Running one card always opens just that card\'s own session, so this value never changes the shape of a single-card run. The default comes from this repository\'s measured guidance for heavy implementation subagents (at most three). Range 1 to 16: a larger width starts runs sooner and costs the Host more memory and swap. Edited during a run, it bounds the launches that have not been admitted yet.',
862
+ 'settings.runLaunchWidthHintBrief': 'How many runs start at once; the rest wait.',
863
+ 'settings.spendBudgetTokens': 'Daily token cap',
864
+ 'settings.spendBudgetTokensHint': 'Default 0 means no gate: behavior is exactly what it was before this setting existed, with no ledger read and no counting. With a positive cap, once today\'s measured spend reaches it a manual run or re-run is refused and the caller sees that message as the refusal, while a due schedule writes the reason to the scheduler error and skips that occurrence without spending a planned run — raising the cap, or the local day rolling over, lets the next trigger run as usual. The unit is tokens rather than money: the usage ledger prices only DeepSeek\'s own routes and stays 0 on every other route. Today\'s spend is that ledger\'s local-date bucket summed over input, cache read/write and output, the same measure the usage panel shows.',
865
+ 'settings.spendBudgetTokensHintBrief': 'Past today\'s cap, manual runs are refused and due schedules skip.',
725
866
  'settings.runBehaviorTitle': 'Run behavior',
726
867
  'settings.runBehaviorCardHint': 'The global native /goal switch (master control, off by default).',
727
- 'settings.goalRunGlobal': 'Global: run tasks with dsh native /goal',
868
+ 'settings.goalRunGlobal': 'Native /goal',
728
869
  'settings.goalRunGlobalHint': 'Off by default. While off, every task runs one plain turn and never calls dsh built-in /goal; a run uses native /goal only when this is on AND the task-level option is checked (see the task option below). The task-level checkbox always stays operable and this switch never rewrites it: the master switch only decides whether that choice takes effect. The switch is frozen when an execution starts, so it only affects runs opened afterwards.',
870
+ 'settings.goalRunGlobalHintBrief': 'A run uses native /goal only while this is on.',
729
871
  'settings.goalRunGlobalDisabledTaskOption': 'The global native /goal switch is off: the task-level option can still be checked or cleared, but it has no effect right now and the preference you save is never rewritten; turning the global switch back on applies it. This execution runs one plain turn and performs no goal acceptance.',
730
872
  'settings.goalVerificationTitle': 'Task acceptance',
731
- 'settings.goalVerification': 'Enable task acceptance',
873
+ 'settings.goalVerification': 'Task acceptance',
732
874
  'settings.goalVerificationCardHint': 'The switch, the judge model and the criteria threshold.',
733
875
  'settings.goalVerificationHint': 'On by default: a task executed in goal form must pass one acceptance before update_goal may mark it complete (the three coding criteria, aimed at engineering tasks, a 0.65 threshold, two rounds per criterion with the A/B slots swapped, and the work must beat the empty-work baseline). A first failure returns the total, the per-criterion scores and the located findings to the fixing agent, and one execution may accept at most twice; a second failure fails that execution. It affects only this board goal-form executions, never plain chat and never a task pinned to goalRun: false. Every acceptance really calls the judge model and spends quota.',
876
+ 'settings.goalVerificationHintBrief': 'Two rounds per criterion, and each acceptance calls the judge model.',
734
877
  'settings.goalVerificationModel': 'Judge model',
735
878
  'settings.goalVerificationModelHint': 'Blank inherits the host: the default route of the host model catalog, never the card pinned execution model.',
879
+ 'settings.goalVerificationModelHintBrief': 'Blank inherits the host default route, never the model pinned on the card.',
736
880
  'settings.goalVerificationModelInherit': 'Inherit host ({model})',
737
881
  'settings.goalVerificationModelInheritUnknown': 'Inherit host (no model catalog)',
738
882
  'settings.goalVerificationEffort': 'Reasoning effort',
739
883
  'settings.goalVerificationEffortHint': 'Blank inherits the host default level. A level the target model does not declare is never sent blindly: the acceptance falls back to that model own default level, and the fallback is reported below.',
884
+ 'settings.goalVerificationEffortHintBrief': 'Blank inherits the host default level. A level the model lacks falls back automatically.',
740
885
  'settings.goalVerificationEffortInherit': 'Inherit host ({effort})',
741
886
  'settings.goalVerificationEffortInheritUnknown': 'Inherit host (model default level)',
742
887
  'settings.goalVerificationResolved': 'Resolved acceptance configuration',
@@ -750,6 +895,15 @@ export const en: Record<keyof typeof zh, string> = {
750
895
  'settings.goalVerificationRouteMissing': 'The host serves no model catalog, so no judge route resolves: with acceptance on, a goal completion claim is refused and recorded as an acceptance anomaly.',
751
896
  'settings.goalVerificationEffortFallback': 'The selected reasoning effort {requested} is not supported by the target model; it falls back to {resolved}.',
752
897
  'settings.goalVerificationEffortFallbackNone': 'The selected reasoning effort {requested} is not supported by the target model; it falls back to that model default level (not sent explicitly).',
898
+ 'settings.cardDefaultsTitle': 'New-card defaults',
899
+ 'settings.cardDefaultsCardHint': 'What the new-task dialog opens with: agent preset, permission, model and reasoning effort. Blank sets nothing, so creating a card behaves exactly as it does unconfigured. They are only prefills and change no existing meaning, and every new card stays editable; the default reasoning effort applies only while a card ends up on the configured default model.',
900
+ 'settings.cardDefaultsCardBrief': 'What a new card opens with: preset, permission, model and effort.',
901
+ 'settings.cardDefaultModeHint': 'Blank pins nothing: a new card keeps following the deployment default preset. A target resolves as the explicit choice in the new-task dialog, then the value carried over from the source card or parent, then this default; a subtask keeps what its parent already pinned.',
902
+ 'settings.cardDefaultModeHintBrief': 'Blank prefills nothing, so a new card keeps the deployment default preset.',
903
+ 'settings.cardDefaultPermissionHint': 'Blank sets nothing (the session default applies). A default above the session permission baseline is still only a prefill: the card still needs a human confirmation before it may run. A subtask never carries its parent permission; this default fills in only where the parent pinned none.',
904
+ 'settings.cardDefaultPermissionHintBrief': 'Blank sets nothing. A default above the session baseline still needs a human confirmation.',
905
+ 'settings.cardDefaultModelHint': 'Blank is the host default (agent-default-model). An explicit choice in the dialog wins over the value carried over from the source card or parent, which wins over this default; a caller that pins a model of its own borrows no default reasoning level.',
906
+ 'settings.cardDefaultModelHintBrief': 'Blank is the host default model, and an explicit dialog choice always wins over it.',
753
907
  'settings.goalVerificationModelInvalid': 'The configured judge model is not a provider/model route; the host default is used instead.',
754
908
  'running.executing': 'Executing',
755
909
  'running.verifying': 'Verifying',
@@ -816,7 +970,7 @@ export const en: Record<keyof typeof zh, string> = {
816
970
  'verify.applicability.goalDisabled': 'The global native /goal switch was off when this execution started, so it ran one plain turn: no goal acceptance was performed, which neither counts as a pass nor fails the run.',
817
971
  'verify.effortFallback': 'Reasoning effort fallback: {requested} → {resolved}',
818
972
  'verify.thresholdValue': '{value}%',
819
- // Subtasks (parent/child links, cascade runs, link/detach).
973
+ // Subtasks (parent/child links, dispatched by the parent card at run time, link/detach).
820
974
  'detail.parent': 'Parent task',
821
975
  'detail.parent.open': 'Open parent task',
822
976
  'detail.subtasks': 'Subtasks',
@@ -825,7 +979,8 @@ export const en: Record<keyof typeof zh, string> = {
825
979
  'detail.subtasks.link': 'Link existing task',
826
980
  'detail.subtasks.detach': 'Detach',
827
981
  'detail.subtasks.runningLock': 'This subtask is running; it can be detached or re-linked once it settles',
828
- 'detail.subtasks.runHint': 'Running this task also runs its {count} subtasks concurrently; one subtask failing does not stop the others.',
982
+ 'detail.subtasks.runHint': "Running this card opens one session, this card's own: it reads the {count} unfinished subtasks below, dispatches them in dependency order, and writes each subtask conclusion back once they finish. While any subtask is still unfinished, the run uses the liangshen preset; if that preset is missing, the run is refused outright.",
983
+ 'detail.subtasks.runHintSettled': "Every subtask already sits in the done column, so this run opens only this card's own session and leaves them alone. To run one again, move it back to the todo column or run it on its own.",
829
984
  'detail.subtasks.waiting': 'Waiting for subtasks',
830
985
  'detail.subtasks.depthLimit': 'The subtask depth limit is {depth}; a subtask cannot create or link further subtasks.',
831
986
  'detail.subtasks.hostOnly': 'Connect to the Host to create or link subtasks.',
@@ -854,6 +1009,7 @@ export const en: Record<keyof typeof zh, string> = {
854
1009
  'card.time.updated': 'Updated {time}',
855
1010
  'board.density.compact': 'Switch to compact cards',
856
1011
  'board.density.comfortable': 'Switch to full cards',
1012
+ 'board.source.local': 'Local tasks',
857
1013
  'board.group.today': 'Today',
858
1014
  'board.group.week': 'Last 7 days',
859
1015
  'board.group.earlier': 'Earlier',
@@ -862,6 +1018,7 @@ export const en: Record<keyof typeof zh, string> = {
862
1018
  'board.hideSubtasks': 'Hide subtasks',
863
1019
  'board.showSubtasks': 'Show subtasks',
864
1020
  'board.subtaskFilterHint': 'The board shows parent tasks only; a text or label filter reveals the subtasks automatically.',
1021
+ 'settings.enabledTopic': 'Basics',
865
1022
  }
866
1023
 
867
1024
  /** The dictionary key union. */