@linxin666/dsh-client-ui-task-board 0.4.8 → 0.4.10

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 (64) hide show
  1. package/README.i18n.yaml +2 -2
  2. package/README.md +28 -22
  3. package/README.zh.md +28 -22
  4. package/lib/client.js +1435 -682
  5. package/lib/client.js.map +1 -1
  6. package/lib/index.js +356 -366
  7. package/lib/types/client/PluginSettingsCard.d.ts +21 -0
  8. package/lib/types/client/TaskBoardSettingsCard.d.ts +7 -0
  9. package/lib/types/client/board/ExecutionLog.d.ts +16 -0
  10. package/lib/types/client/board/TaskForm.d.ts +4 -0
  11. package/lib/types/client/board/VerificationReport.d.ts +2 -15
  12. package/lib/types/client/body-mutations.d.ts +45 -0
  13. package/lib/types/client/locales.d.ts +42 -6
  14. package/lib/types/client/suppress-schedule-row.d.ts +86 -0
  15. package/lib/types/core/controller.d.ts +1 -1
  16. package/lib/types/core/subtask.d.ts +59 -49
  17. package/lib/types/core/tasks.d.ts +5 -8
  18. package/lib/types/core/use-cases/task-update.d.ts +1 -1
  19. package/lib/types/core/workspace-target.d.ts +23 -3
  20. package/lib/types/host/launch-admission.d.ts +8 -9
  21. package/lib/types/host-ledger.d.ts +72 -48
  22. package/lib/types/host-routes.d.ts +49 -0
  23. package/lib/types/host-runner.d.ts +20 -10
  24. package/lib/types/host-service.d.ts +7 -50
  25. package/lib/types/index.d.ts +61 -63
  26. package/lib/types/loopback.d.ts +21 -0
  27. package/lib/types/protocol.d.ts +0 -5
  28. package/lib/types/tool-surface.d.ts +1 -0
  29. package/package.json +25 -25
  30. package/src/client/CardDefaultPresetField.tsx +1 -1
  31. package/src/client/PluginSettingsCard.tsx +78 -18
  32. package/src/client/TaskBoardSettingsCard.tsx +68 -25
  33. package/src/client/board/ExecutionLog.tsx +140 -0
  34. package/src/client/board/LinkSubtaskModal.tsx +1 -9
  35. package/src/client/board/NewTaskModal.tsx +2 -11
  36. package/src/client/board/TaskCard.tsx +45 -23
  37. package/src/client/board/TaskDetail.tsx +407 -261
  38. package/src/client/board/TaskForm.tsx +19 -4
  39. package/src/client/board/VerificationReport.tsx +143 -104
  40. package/src/client/board/task-markdown.module.css +11 -8
  41. package/src/client/board-settings.module.css +35 -7
  42. package/src/client/board.module.css +855 -115
  43. package/src/client/body-mutations.ts +133 -0
  44. package/src/client/index.ts +10 -0
  45. package/src/client/locales.ts +97 -24
  46. package/src/client/settings-card.module.css +71 -10
  47. package/src/client/suppress-schedule-row.ts +198 -0
  48. package/src/core/controller.ts +1 -3
  49. package/src/core/subtask.ts +81 -76
  50. package/src/core/tasks.ts +5 -9
  51. package/src/core/use-cases/task-update.ts +1 -3
  52. package/src/core/workspace-target.ts +27 -3
  53. package/src/host/agent-tools.ts +14 -15
  54. package/src/host/launch-admission.ts +8 -9
  55. package/src/host-ledger.ts +158 -125
  56. package/src/host-routes.ts +65 -2
  57. package/src/host-runner.ts +53 -28
  58. package/src/host-service.ts +42 -127
  59. package/src/index.ts +84 -106
  60. package/src/loopback.ts +32 -0
  61. package/src/protocol.ts +2 -9
  62. package/src/tool-surface.ts +1 -0
  63. package/lib/types/client/board/team-run-promotion.d.ts +0 -26
  64. package/src/client/board/team-run-promotion.ts +0 -39
package/lib/client.js CHANGED
@@ -6,6 +6,7 @@ window.__ModuleLoader__.load({
6
6
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
7
7
  let react = require("react");
8
8
  let react_jsx_runtime = require("react/jsx-runtime");
9
+ let _deepseek_ai_dsh_client_ui_slots = require("@deepseek-ai/dsh-client-ui-slots");
9
10
  let _deepseek_ai_dsh_client_store = require("@deepseek-ai/dsh-client-store");
10
11
  //#region src/core/extension.ts
11
12
  /** Cordis service name the host and browser halves each publish. */
@@ -303,7 +304,6 @@ window.__ModuleLoader__.load({
303
304
  model: normalizeTargetId(input.model),
304
305
  reasoningEffort: normalizeTargetId(input.reasoningEffort),
305
306
  reuseSession: input.reuseSession === true ? true : void 0,
306
- teamRun: input.teamRun === true ? true : void 0,
307
307
  goalRun: input.goalRun === true ? true : void 0,
308
308
  skipVerification: input.skipVerification === true ? true : void 0,
309
309
  ...input.freeze === void 0 ? {} : { freeze: freezeOf(input.freeze, now) },
@@ -516,24 +516,24 @@ window.__ModuleLoader__.load({
516
516
  return { ok: true };
517
517
  }
518
518
  /**
519
- * Whether a cascade member takes part in a new run.
520
- *
521
- * The task the user ran is always a member: the request names that card, and
522
- * the operator asked for it to run whatever its column says. A descendant does
523
- * not join once it sits in the `done` column — its work is finished, so running
524
- * the parent again is a run of the parent, never a second execution of work
525
- * that is already done. The rule keys on the column alone, so it covers both a
526
- * subtask that ran and one an operator moved to done by hand, and it holds for
527
- * every trigger: a manual run, a re-run, and a due occurrence of a schedule.
528
- * A card whose own schedule is enabled settles back into `todo`, so a scheduled
529
- * subtask stays a participant; to make a finished one run again, move it back
530
- * to `todo` or run it on its own.
531
- * @param task - the candidate member.
519
+ * Whether a card still has work outstanding: anything outside the `done`
520
+ * column. It keys on the column alone, so it covers both a subtask that ran
521
+ * and one an operator moved to done by hand.
522
+ */
523
+ function isOutstanding(task) {
524
+ return task.status !== "done";
525
+ }
526
+ /**
527
+ * Whether a card belongs to a run's dispatch set: the card the request named,
528
+ * or a card whose work is still outstanding. Kept for the browser's subtask
529
+ * preview; the Host run itself opens the clicked card alone
530
+ * ({@link cascadeTargets}).
531
+ * @param task - the candidate card.
532
532
  * @param rootId - the task the run request named.
533
- * @returns false when this member is left alone by the run.
533
+ * @returns false when this card is finished and left alone.
534
534
  */
535
535
  function joinsCascadeRun(task, rootId) {
536
- return task.id === rootId || task.status !== "done";
536
+ return task.id === rootId || isOutstanding(task);
537
537
  }
538
538
  /**
539
539
  * The permission a task would actually run under: its handover bundle's pin
@@ -1491,7 +1491,6 @@ window.__ModuleLoader__.load({
1491
1491
  if ("tags" in patch) next.tags = tagsPatch == null ? void 0 : normalizeTags(tagsPatch);
1492
1492
  if ("permission" in patch && patch.permission !== void 0 && patch.permission !== task.permission || "handover" in patch) next.permissionConfirmedAt = void 0;
1493
1493
  if ("reuseSession" in patch) next.reuseSession = patch.reuseSession === true ? true : void 0;
1494
- if ("teamRun" in patch) next.teamRun = patch.teamRun === true ? true : void 0;
1495
1494
  if ("goalRun" in patch) next.goalRun = patch.goalRun === true ? true : void 0;
1496
1495
  if ("skipVerification" in patch) next.skipVerification = patch.skipVerification === true ? true : void 0;
1497
1496
  if (workspaceId !== void 0 || "workspaceId" in patch) next.workspaceId = workspaceId;
@@ -2131,7 +2130,6 @@ window.__ModuleLoader__.load({
2131
2130
  mirrorOf(snapshot) {
2132
2131
  const sessionDefaultPermission = snapshot.sessionDefaultPermission ?? this.hostState?.sessionDefaultPermission;
2133
2132
  const maxSubtaskDepth = snapshot.maxSubtaskDepth ?? this.hostState?.maxSubtaskDepth;
2134
- const teamRunAvailable = snapshot.teamRunAvailable ?? this.hostState?.teamRunAvailable;
2135
2133
  const goalRunEnabled = snapshot.goalRunEnabled ?? this.hostState?.goalRunEnabled;
2136
2134
  const cardDefaults = snapshot.cardDefaults;
2137
2135
  const extensions = snapshot.extensions ?? this.hostState?.extensions;
@@ -2141,7 +2139,6 @@ window.__ModuleLoader__.load({
2141
2139
  power: snapshot.power,
2142
2140
  ...sessionDefaultPermission === void 0 ? {} : { sessionDefaultPermission },
2143
2141
  ...maxSubtaskDepth === void 0 ? {} : { maxSubtaskDepth },
2144
- ...teamRunAvailable === void 0 ? {} : { teamRunAvailable },
2145
2142
  ...goalRunEnabled === void 0 ? {} : { goalRunEnabled },
2146
2143
  ...cardDefaults === void 0 ? {} : { cardDefaults },
2147
2144
  ...extensions === void 0 ? {} : { extensions }
@@ -3549,6 +3546,8 @@ window.__ModuleLoader__.load({
3549
3546
  "detail.editTags": "编辑标签",
3550
3547
  "detail.duplicate": "复制为新任务",
3551
3548
  "detail.duplicateAndEdit": "修改并新建副本",
3549
+ "detail.more": "更多操作",
3550
+ "detail.moveTo": "移动到…",
3552
3551
  "detail.close": "关闭",
3553
3552
  "edit.title": "编辑任务",
3554
3553
  "edit.save": "保存",
@@ -3559,6 +3558,8 @@ window.__ModuleLoader__.load({
3559
3558
  "detail.expand": "展开全文",
3560
3559
  "detail.collapse": "收起",
3561
3560
  "detail.execution": "执行记录",
3561
+ "detail.execution.showAll": "显示全部 {count} 条",
3562
+ "detail.execution.summary": "{count} 次 · 最近 {time} · {result}",
3562
3563
  "detail.noExecution": "尚未执行",
3563
3564
  "detail.run": "执行",
3564
3565
  "detail.rerun": "重新执行",
@@ -3585,7 +3586,7 @@ window.__ModuleLoader__.load({
3585
3586
  "status.move.running": "移到进行中",
3586
3587
  "status.move.done": "移到已完成",
3587
3588
  "status.move.failed": "移到已失败",
3588
- "exec.error.noWorkspace": "没有可用工作区,无法执行任务",
3589
+ "exec.error.noWorkspace": "这张卡没有指定工作区,请先在卡片上选择工作区",
3589
3590
  "exec.error.promptRejected": "Prompt 被拒绝",
3590
3591
  "run.failed": "执行失败:{error}",
3591
3592
  "time.justNow": "刚刚",
@@ -3630,6 +3631,11 @@ window.__ModuleLoader__.load({
3630
3631
  "detail.schedule.runsUnlimited": "已执行 {done} 次",
3631
3632
  "detail.schedule.remaining": "剩余 {count} 次",
3632
3633
  "detail.schedule.cancel": "关闭调度",
3634
+ "detail.schedule.summary.off": "未启用",
3635
+ "detail.schedule.summary.on": "已启用 · 下次 {next}",
3636
+ "detail.schedule.summary.onFull": "已启用 · {plan} · 下次 {next}",
3637
+ "detail.schedule.summary.planOnce": "单次 {time}",
3638
+ "detail.schedule.summary.planCron": "循环 {cron}",
3633
3639
  "detail.schedule.ended": "调度已结束:{reason}",
3634
3640
  "detail.schedule.skipped": "上次跳过:{reason}",
3635
3641
  "detail.schedule.stop.fired": "单次计划已执行",
@@ -3671,31 +3677,46 @@ window.__ModuleLoader__.load({
3671
3677
  "exec.reasoning.hint.unknownModel": "无法从当前名册确认该模型的可选档位;已保存的值原样保留。",
3672
3678
  "exec.reasoning.hint.noEfforts": "该模型没有可选的思考档位,始终沿用模型/宿主的默认值。",
3673
3679
  "exec.reasoning.hint.inherit": "留空即沿用该模型/宿主的默认档位。",
3674
- "exec.teamRunAutoHint": "创建或关联子任务成功后,父任务会自动开启 Agent Team 执行(可随时手动关闭)。",
3675
3680
  "exec.reuseSession": "在同一对话继续",
3676
- "exec.teamRun": "用 Agent Team 执行(Leader/teammate)",
3677
- "exec.teamRunHint": "开启后:执行本任务只启动一个 Leader 会话,每个子任务由它派生为 teammate 并在该会话内并行工作(子任务自身的权限钉住不适用)。关闭则每个成员各开独立会话。",
3678
- "exec.teamRunUnavailable": "当前部署未提供 Agent Teams 服务,无法启用。",
3679
3681
  "exec.reuseSessionHint": "开启后,本任务的后续执行在上一次会话里继续(该会话空闲且仍存在时),不再每次新建对话;每次复用时都会重新应用上面钉住的权限与模型。",
3682
+ "exec.reuseSessionHint.short": "后续执行复用上一次的空闲会话",
3680
3683
  "exec.goalRun": "以 dsh 内置的 /goal 开始执行任务",
3681
3684
  "exec.goalRunHint": "默认关闭:勾选后执行时把任务目标作为持久目标交给 dsh 内置的 /goal,会话会自动续跑多轮,直到 agent 标记目标完成;看板在该目标真正结束后才结算本次执行。不勾选则只执行一轮普通对话。",
3685
+ "exec.goalRunHint.short": "多轮续跑,目标结束后才结算本次执行",
3686
+ "exec.goalRunGlobalOff": "全局总开关已关闭,勾选暂不生效",
3682
3687
  "exec.skipVerification": "跳过本任务的验收",
3683
3688
  "exec.skipVerificationHint": "默认关闭:勾选后本任务以 goal 形式执行时不再拦截 update_goal 标记完成,也不要求通过验收;执行记录会标注「该卡片跳过验收」。仅对之后新开的执行生效,验收总开关关闭时本项无意义。",
3689
+ "exec.skipVerificationHint.short": "本卡执行不做验收判定",
3684
3690
  "detail.executionSettings": "执行设置",
3691
+ "detail.settings.advanced": "高级设置",
3692
+ "detail.settings.summary.none": "全部关闭",
3693
+ "detail.settings.summary.reuseSession": "同一对话继续",
3694
+ "detail.settings.summary.goal": "/goal 执行",
3695
+ "detail.settings.summary.skipVerification": "跳过验收",
3685
3696
  "exec.hint": "执行时生效:工作区决定执行会话落在哪个工作区;Agent 预设决定会话的组合(工具面与提示词段);权限经 /permission 命令应用到会话。留空则继承部署默认。",
3697
+ "exec.hint.short": "留空继承部署默认,执行时生效",
3686
3698
  "settings.title": "任务看板",
3687
3699
  "settings.description": "任务编排、agent 播报与目标验收。",
3688
3700
  "settings.enabled": "启用任务看板",
3689
3701
  "settings.enabledCardHint": "总开关、播报、睡眠保护与子任务层级。",
3690
3702
  "settings.enabledHint": "关闭后隐藏侧边栏入口与看板视图,并注销 task_board_* agent 工具;开启时任何会话都可以通过这些工具读写看板、子任务与定时计划。",
3703
+ "settings.enabledHintBrief": "默认开启。关闭后隐藏入口与看板视图,并注销 task_board_* 工具。",
3691
3704
  "settings.announceToAgent": "向 agent 播报任务看板",
3692
3705
  "settings.announceToAgentHint": "开启:每条 agent 系统提示都会包含本看板的说明;关闭:不播报,agent 仅在用户主动提及时了解看板。",
3706
+ "settings.announceToAgentHintBrief": "默认关闭。开启后每条 agent 系统提示都会带上本看板说明。",
3693
3707
  "settings.preventIdleSleep": "阻止系统空闲睡眠",
3694
3708
  "settings.preventIdleSleepHint": "默认关闭。开启后,只要存在运行中的 DSH 会话、已启用的定时任务或会话状态尚未确认,Host 就阻止整机因空闲睡眠;屏幕仍可自动关闭。",
3695
- "settings.powerStatus": "平台:{platform};保护状态:{phase};运行会话:{running};已启用计划:{schedules}",
3709
+ "settings.preventIdleSleepHintBrief": "默认关闭。开启后只要有会话在跑或计划已启用,就阻止整机空闲睡眠。",
3710
+ "settings.trustForwardedProxy": "信任自己反代或隧道转发的请求",
3711
+ "settings.trustForwardedProxyHint": "默认关闭。关闭时行为与没有这项设置完全一致:带 CF-Connecting-IP 或 X-Forwarded-For 的请求一律不当作本机请求。只有反代或隧道由你自己(运维)运行、并且它拨的是本机回环上游(127.0.0.1:<端口>)时才打开:此时这类请求仍必须带浏览器同源标记,显式跨站请求照旧拒绝。第三方托管的反向代理不要打开——它可以替你伪造这些标记。",
3712
+ "settings.trustForwardedProxyHintBrief": "默认关闭。仅在自己的反代或隧道指向本机回环时才开启。",
3696
3713
  "settings.powerBoundary": "这可能增加电池消耗。合盖、手动睡眠、休眠、关机、低电量或企业策略不在保证范围内,也不会唤醒已经睡眠的机器。",
3697
- "settings.powerUnknown": "未知",
3698
3714
  "settings.powerError": "最近一次电源保护错误:{error}",
3715
+ "settings.powerPhase": "保护状态",
3716
+ "settings.powerPlatform": "平台",
3717
+ "settings.powerRunning": "运行会话",
3718
+ "settings.powerSchedules": "已启用计划",
3719
+ "settings.powerUnknown": "未知",
3699
3720
  "settings.inherit": "继承",
3700
3721
  "settings.on": "开",
3701
3722
  "settings.off": "关",
@@ -3713,28 +3734,36 @@ window.__ModuleLoader__.load({
3713
3734
  "settings.invalidNumber": "请输入数字,留空则使用默认值。",
3714
3735
  "settings.sessionPollSeconds": "会话轮询间隔(秒)",
3715
3736
  "settings.sessionPollSecondsHint": "默认 5 秒。仅在看板有需要核对的事情——运行中的卡片或未结算的执行——时才读取会话名册;两者都没有时不再轮询,Host 不会持续扫描持久化会话目录。取值 1–300 秒:间隔越短结算越快、Host 负载越高。",
3737
+ "settings.sessionPollSecondsHintBrief": "默认 5 秒,可设 1 到 300:间隔越短结算越快,Host 负载越高。",
3716
3738
  "settings.maxSubtaskDepth": "子任务深度上限",
3717
- "settings.maxSubtaskDepthHint": "默认 1:一个任务只允许一层子任务,子任务不能再创建或关联子任务。最大 3。执行父任务会并发执行它的整棵子任务树,层级越深,一次执行开启的会话越多。",
3739
+ "settings.maxSubtaskDepthHint": "默认 1:一个任务只允许一层子任务,子任务不能再创建或关联子任务。最大 3。它只决定一张卡下面能挂多深的子任务:执行一张卡始终只开它自己的一个会话,子任务由它自己按依赖顺序派发,所以层级深浅不改变一次执行开几个会话。",
3740
+ "settings.maxSubtaskDepthHintBrief": "默认 1 层,最多 3:只限制子任务能挂多深,不改变一次执行开几个会话。",
3718
3741
  "settings.maxSubtaskDepthOption": "{depth} 层",
3719
3742
  "settings.runLaunchWidth": "并发启动上限",
3720
- "settings.runLaunchWidthHint": "默认 3。一次执行会开启整棵子任务树,但同一刻最多只有这么多个成员在创建会话并入队 Prompt,其余成员排队等待——全部都会启动,只是分批进入运行列。默认值取自本仓「重型实施子代理并发 ≤ 3」的实测纪律。取值 1–16:越大启动越快,Host 的内存与 swap 压力越高。执行中修改只影响尚未入列的启动。",
3743
+ "settings.runLaunchWidthHint": "默认 3。多张卡片同时要执行时(手动执行、重新执行与到点定时一样),同一刻最多有这么多个执行被准入、创建会话并入队 Prompt,其余排队等待;每张卡的一次执行只开它自己一个会话,所以这个值不改变单卡的执行形态。默认值取自本仓「重型实施子代理并发 ≤ 3」的实测纪律。取值 1–16:越大启动越快,Host 的内存与 swap 压力越高。执行中修改只影响尚未入列的启动。",
3744
+ "settings.runLaunchWidthHintBrief": "默认 3,可设 1 到 16:多张卡同时要执行时,同一刻最多这么多个开始建会话,其余排队;单卡执行仍只开一个会话。",
3721
3745
  "settings.spendBudgetTokens": "每日 token 上限",
3722
3746
  "settings.spendBudgetTokensHint": "默认 0,表示不设闸,行为与没有这项设置时完全一致(不读账本、不计数)。设为正整数后,今日已用 token 达到该值时:手动执行与重新执行被拒绝,调用方看到的拒绝文本就是原因;到点的定时执行把原因写进调度错误并跳过本次触发,不消耗计划次数,因此调高上限或跨过本地零点后下一次触发照常执行。计量单位是 token 而不是金额:使用账本只对 DeepSeek 官方路由计价,其他路由恒为 0。今日已用取自该账本按本地日期分桶的输入、缓存读写与输出之和,与「使用统计」面板的口径一致。",
3747
+ "settings.spendBudgetTokensHintBrief": "默认 0 不设闸。设成正值后今日用量到顶,手动执行被拒绝,定时触发跳过。",
3723
3748
  "settings.runBehaviorTitle": "运行行为",
3724
3749
  "settings.runBehaviorCardHint": "全局原生 /goal 执行开关(总开关,默认关闭)。",
3725
3750
  "settings.goalRunGlobal": "全局启用 DSH 原生 /goal 执行",
3726
3751
  "settings.goalRunGlobalHint": "默认关闭。关闭时所有任务都按普通单回合执行,不调用 dsh 内置的 /goal;只有这里开启、且任务级「以 /goal 开始执行」被勾选时,才执行原生 /goal。任务级勾选始终可操作、也不会被这里的开关改写,总开关只决定它是否生效。开关按执行启动时冻结,只影响之后新开的执行。",
3752
+ "settings.goalRunGlobalHintBrief": "默认关闭。只有它与卡片级选项都开启,执行才使用原生 /goal。",
3727
3753
  "settings.goalRunGlobalDisabledTaskOption": "全局「原生 /goal 执行」总开关已关闭:任务级选项仍可随时勾选或取消,但暂不生效,你保存的偏好也不会被改写;开启总开关后即按该偏好执行。本次执行按普通单回合进行,未执行 goal 验收。",
3728
3754
  "settings.goalVerificationTitle": "任务验收",
3729
3755
  "settings.goalVerification": "启用任务验收",
3730
3756
  "settings.goalVerificationCardHint": "验收开关、裁判模型与判据阈值。",
3731
3757
  "settings.goalVerificationHint": "默认打开:以 goal 形式执行的任务在 update_goal 标记完成前必须先通过一次验收(三项 coding 判据(本分区面向工程任务)、阈值 0.65、每项两轮且交换 A/B 位置,实际工作须胜过空工作基线)。首次不通过会把总分、逐项分数与可定位问题反馈给 agent 修复,同一执行最多两次验收;第二次仍不通过则本次执行判失败。仅作用于本插件以 goal 形式执行的任务,不影响普通聊天,也不影响显式 goalRun:false 的单回合任务。每次验收都会真实调用裁判模型并消耗额度。",
3758
+ "settings.goalVerificationHintBrief": "默认开启。每项判据两轮,阈值 0.65,每次验收都会调用裁判模型。",
3732
3759
  "settings.goalVerificationModel": "验收模型",
3733
3760
  "settings.goalVerificationModelHint": "留空即继承宿主:使用宿主模型目录的默认路由,而不是任务卡钉住的执行模型。",
3761
+ "settings.goalVerificationModelHintBrief": "留空继承宿主默认路由,不跟随卡片钉住的执行模型。",
3734
3762
  "settings.goalVerificationModelInherit": "继承宿主({model})",
3735
3763
  "settings.goalVerificationModelInheritUnknown": "继承宿主(宿主未提供模型目录)",
3736
3764
  "settings.goalVerificationEffort": "推理强度",
3737
3765
  "settings.goalVerificationEffortHint": "留空即继承宿主默认档位。目标模型不支持所选档位时不会盲传:验收改用该模型自己的默认档位,并在下方标注回退。",
3766
+ "settings.goalVerificationEffortHintBrief": "留空继承宿主默认档位。目标模型不支持的档位会自动回退。",
3738
3767
  "settings.goalVerificationEffortInherit": "继承宿主({effort})",
3739
3768
  "settings.goalVerificationEffortInheritUnknown": "继承宿主(模型默认档位)",
3740
3769
  "settings.goalVerificationResolved": "实际解析后的验收配置",
@@ -3751,9 +3780,13 @@ window.__ModuleLoader__.load({
3751
3780
  "settings.goalVerificationModelInvalid": "配置的验收模型不是 provider/model 形式,已回退宿主默认。",
3752
3781
  "settings.cardDefaultsTitle": "新建卡片默认值",
3753
3782
  "settings.cardDefaultsCardHint": "新建对话框打开时预填的 Agent 预设、权限、模型与思考档位;留空即不设置,创建卡片的行为与未配置时完全一致。它们只是预填,不改变任何既有语义,新建的卡片仍可随时修改;思考档位默认值只在卡片最终钉住的模型就是这里的默认模型时才生效。",
3783
+ "settings.cardDefaultsCardBrief": "新建卡片预填的预设、权限、模型与思考档位。",
3754
3784
  "settings.cardDefaultModeHint": "留空不钉住任何值,新建卡片照旧继承部署默认预设。取值优先级为:新建对话框里的显式选择 > 复制源卡或父任务已钉住的值 > 这里的默认值;子任务沿用父卡已钉住的值。",
3785
+ "settings.cardDefaultModeHintBrief": "留空不预填,新建卡片照旧跟随部署默认预设。",
3755
3786
  "settings.cardDefaultPermissionHint": "留空为不设置(用会话默认)。高于会话默认权限基线的默认值仍只是预填:卡片执行前照旧需要人工确认。子任务从不沿用父卡的权限,只在父卡未钉住、且这里设置了默认值时才预填。",
3787
+ "settings.cardDefaultPermissionHintBrief": "留空为不设置。高于会话基线的默认值执行前仍需人工确认。",
3756
3788
  "settings.cardDefaultModelHint": "留空为宿主默认(agent-default-model)。对话框里的显式选择优先于源卡/父卡已钉住的值,后者优先于这里的默认值;自己选了模型的调用方不借用任何默认档位。",
3789
+ "settings.cardDefaultModelHintBrief": "留空即宿主默认模型,对话框里的显式选择始终优先。",
3757
3790
  "running.executing": "执行中",
3758
3791
  "running.verifying": "验收中",
3759
3792
  "running.repairing": "验收未通过修复中",
@@ -3827,8 +3860,8 @@ window.__ModuleLoader__.load({
3827
3860
  "detail.subtasks.link": "关联现有任务",
3828
3861
  "detail.subtasks.detach": "解除关联",
3829
3862
  "detail.subtasks.runningLock": "子任务正在执行,结算后才能解除关联或改挂父任务",
3830
- "detail.subtasks.runHint": "执行本任务会同时并发执行它 {count} 个未完成的子任务;已在完成列的子任务不会重复执行,子任务失败不影响其它子任务继续执行。",
3831
- "detail.subtasks.runHintSettled": "这个任务的子任务都已在完成列;执行本任务不会重复执行它们,要让某个子任务再跑一次,把它移回待办列或单独执行它。",
3863
+ "detail.subtasks.runHint": "执行本卡只会开本卡一个会话:它自己读取下面 {count} 个还没做完的子任务,按依赖顺序派发,完工后把子卡结论回填。还有未完成子任务时,执行会用梁神模式(liangshen);预设缺失会直接拒绝执行。",
3864
+ "detail.subtasks.runHintSettled": "子任务都已做完,本次执行只会开本卡一个会话,不会再跑它们;想让哪张子卡再跑一次,把它移回待办列或单独执行。",
3832
3865
  "detail.subtasks.waiting": "等待子任务结算",
3833
3866
  "detail.subtasks.depthLimit": "当前子任务深度上限为 {depth} 层,子任务不能再创建或关联子任务。",
3834
3867
  "detail.subtasks.hostOnly": "连接 Host 后才能创建或关联子任务。",
@@ -3991,6 +4024,8 @@ window.__ModuleLoader__.load({
3991
4024
  "detail.editTags": "Edit tags",
3992
4025
  "detail.duplicate": "Duplicate Task",
3993
4026
  "detail.duplicateAndEdit": "Edit as New Copy",
4027
+ "detail.more": "More actions",
4028
+ "detail.moveTo": "Move to…",
3994
4029
  "detail.close": "Close",
3995
4030
  "edit.title": "Edit Task",
3996
4031
  "edit.save": "Save",
@@ -4001,6 +4036,8 @@ window.__ModuleLoader__.load({
4001
4036
  "detail.expand": "Show more",
4002
4037
  "detail.collapse": "Show less",
4003
4038
  "detail.execution": "Execution History",
4039
+ "detail.execution.showAll": "Show all {count}",
4040
+ "detail.execution.summary": "{count} runs · latest {time} · {result}",
4004
4041
  "detail.noExecution": "Not executed yet",
4005
4042
  "detail.run": "Run",
4006
4043
  "detail.rerun": "Run Again",
@@ -4027,7 +4064,7 @@ window.__ModuleLoader__.load({
4027
4064
  "status.move.running": "Move to Running",
4028
4065
  "status.move.done": "Move to Done",
4029
4066
  "status.move.failed": "Move to Failed",
4030
- "exec.error.noWorkspace": "No workspace is available to run the task",
4067
+ "exec.error.noWorkspace": "This card has no workspace pinned; choose one on the card before it can run",
4031
4068
  "exec.error.promptRejected": "Prompt rejected",
4032
4069
  "run.failed": "Run failed: {error}",
4033
4070
  "time.justNow": "just now",
@@ -4072,6 +4109,11 @@ window.__ModuleLoader__.load({
4072
4109
  "detail.schedule.runsUnlimited": "Ran {done}",
4073
4110
  "detail.schedule.remaining": "{count} left",
4074
4111
  "detail.schedule.cancel": "Cancel schedule",
4112
+ "detail.schedule.summary.off": "Off",
4113
+ "detail.schedule.summary.on": "On · next {next}",
4114
+ "detail.schedule.summary.onFull": "On · {plan} · next {next}",
4115
+ "detail.schedule.summary.planOnce": "once at {time}",
4116
+ "detail.schedule.summary.planCron": "recurring {cron}",
4075
4117
  "detail.schedule.ended": "Schedule ended: {reason}",
4076
4118
  "detail.schedule.skipped": "Last skip: {reason}",
4077
4119
  "detail.schedule.stop.fired": "the one-shot ran",
@@ -4113,31 +4155,46 @@ window.__ModuleLoader__.load({
4113
4155
  "exec.reasoning.hint.unknownModel": "The current roster cannot confirm this model's effort levels; the stored value is kept as it is.",
4114
4156
  "exec.reasoning.hint.noEfforts": "This model offers no selectable reasoning effort, so the model or Host default always applies.",
4115
4157
  "exec.reasoning.hint.inherit": "Leave it empty to follow the model or Host default.",
4116
- "exec.teamRunAutoHint": "Once a subtask is created or linked, the parent task turns on Agent Team execution automatically (you can switch it off at any time).",
4117
4158
  "exec.reuseSession": "Continue in the same conversation",
4118
- "exec.teamRun": "Run with an Agent Team (Lead + teammates)",
4119
- "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.",
4120
- "exec.teamRunUnavailable": "This deployment serves no Agent Teams service, so team runs cannot be enabled.",
4121
4159
  "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.",
4160
+ "exec.reuseSessionHint.short": "Later runs reuse the previous idle session",
4122
4161
  "exec.goalRun": "Start the run with dsh's built-in /goal",
4123
4162
  "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.",
4163
+ "exec.goalRunHint.short": "Automatic rounds; the execution settles when the goal ends",
4164
+ "exec.goalRunGlobalOff": "The global switch is off, so checking it has no effect yet",
4124
4165
  "exec.skipVerification": "Skip acceptance for this task",
4125
4166
  "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.",
4167
+ "exec.skipVerificationHint.short": "This card runs without an acceptance verdict",
4126
4168
  "detail.executionSettings": "Execution Settings",
4169
+ "detail.settings.advanced": "Advanced settings",
4170
+ "detail.settings.summary.none": "All off",
4171
+ "detail.settings.summary.reuseSession": "Same conversation",
4172
+ "detail.settings.summary.goal": "/goal run",
4173
+ "detail.settings.summary.skipVerification": "Acceptance skipped",
4127
4174
  "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.",
4175
+ "exec.hint.short": "Blank inherits the deployment default; applied at run time",
4128
4176
  "settings.title": "Task Board",
4129
4177
  "settings.description": "Task orchestration, agent announcement and goal acceptance.",
4130
4178
  "settings.enabled": "Enable the task board",
4131
4179
  "settings.enabledCardHint": "Master switch, announcement, sleep protection and subtask depth.",
4132
4180
  "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.",
4181
+ "settings.enabledHintBrief": "On by default. Off hides the entry and board view and unregisters the task_board_* tools.",
4133
4182
  "settings.announceToAgent": "Announce the task board to agents",
4134
4183
  "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.",
4184
+ "settings.announceToAgentHintBrief": "Off by default. On adds a note about this board to every agent system prompt.",
4135
4185
  "settings.preventIdleSleep": "Prevent idle system sleep",
4136
4186
  "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.",
4137
- "settings.powerStatus": "Platform: {platform}; protection: {phase}; running sessions: {running}; enabled schedules: {schedules}",
4187
+ "settings.preventIdleSleepHintBrief": "Off by default. On blocks idle system sleep while a session runs or a schedule is enabled.",
4188
+ "settings.trustForwardedProxy": "Trust requests forwarded by my own proxy or tunnel",
4189
+ "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.",
4190
+ "settings.trustForwardedProxyHintBrief": "Off by default. Turn on only for a proxy or tunnel you run that dials this machine loopback.",
4138
4191
  "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.",
4139
- "settings.powerUnknown": "unknown",
4140
4192
  "settings.powerError": "Latest power-protection error: {error}",
4193
+ "settings.powerPhase": "Protection",
4194
+ "settings.powerPlatform": "Platform",
4195
+ "settings.powerRunning": "Running sessions",
4196
+ "settings.powerSchedules": "Enabled schedules",
4197
+ "settings.powerUnknown": "unknown",
4141
4198
  "settings.inherit": "Inherit",
4142
4199
  "settings.on": "On",
4143
4200
  "settings.off": "Off",
@@ -4155,28 +4212,36 @@ window.__ModuleLoader__.load({
4155
4212
  "settings.invalidNumber": "Enter a number, or leave blank to use the default.",
4156
4213
  "settings.sessionPollSeconds": "Session poll interval (seconds)",
4157
4214
  "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.",
4215
+ "settings.sessionPollSecondsHintBrief": "Default 5 seconds, range 1 to 300: a shorter interval settles runs sooner and costs the Host more.",
4158
4216
  "settings.maxSubtaskDepth": "Subtask depth limit",
4159
- "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.",
4217
+ "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.",
4218
+ "settings.maxSubtaskDepthHintBrief": "Default 1, maximum 3: it caps only how deep subtasks can go, not how many sessions a run opens.",
4160
4219
  "settings.maxSubtaskDepthOption": "{depth} levels",
4161
4220
  "settings.runLaunchWidth": "Concurrent run launches",
4162
- "settings.runLaunchWidthHint": "Default 3. A run opens its whole subtree, but only this many members create their session and queue their prompt at the same time; the rest wait their turn. Every member still starts, entering the running column in batches. 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.",
4221
+ "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.",
4222
+ "settings.runLaunchWidthHintBrief": "Default 3, range 1 to 16: when several cards want to run, this many are admitted at once and the rest wait; a single card still opens one session.",
4163
4223
  "settings.spendBudgetTokens": "Daily token cap",
4164
4224
  "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.",
4225
+ "settings.spendBudgetTokensHintBrief": "Default 0 gates nothing. Past a positive cap, manual runs are refused and due schedules skip.",
4165
4226
  "settings.runBehaviorTitle": "Run behavior",
4166
4227
  "settings.runBehaviorCardHint": "The global native /goal switch (master control, off by default).",
4167
4228
  "settings.goalRunGlobal": "Global: run tasks with dsh native /goal",
4168
4229
  "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.",
4230
+ "settings.goalRunGlobalHintBrief": "Off by default. A run uses native /goal only when this and the card option are both on.",
4169
4231
  "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.",
4170
4232
  "settings.goalVerificationTitle": "Task acceptance",
4171
4233
  "settings.goalVerification": "Enable task acceptance",
4172
4234
  "settings.goalVerificationCardHint": "The switch, the judge model and the criteria threshold.",
4173
4235
  "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.",
4236
+ "settings.goalVerificationHintBrief": "On by default. Two rounds per criterion at 0.65, and each acceptance calls the judge model.",
4174
4237
  "settings.goalVerificationModel": "Judge model",
4175
4238
  "settings.goalVerificationModelHint": "Blank inherits the host: the default route of the host model catalog, never the card pinned execution model.",
4239
+ "settings.goalVerificationModelHintBrief": "Blank inherits the host default route, never the model pinned on the card.",
4176
4240
  "settings.goalVerificationModelInherit": "Inherit host ({model})",
4177
4241
  "settings.goalVerificationModelInheritUnknown": "Inherit host (no model catalog)",
4178
4242
  "settings.goalVerificationEffort": "Reasoning effort",
4179
4243
  "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.",
4244
+ "settings.goalVerificationEffortHintBrief": "Blank inherits the host default level. A level the model lacks falls back automatically.",
4180
4245
  "settings.goalVerificationEffortInherit": "Inherit host ({effort})",
4181
4246
  "settings.goalVerificationEffortInheritUnknown": "Inherit host (model default level)",
4182
4247
  "settings.goalVerificationResolved": "Resolved acceptance configuration",
@@ -4192,9 +4257,13 @@ window.__ModuleLoader__.load({
4192
4257
  "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).",
4193
4258
  "settings.cardDefaultsTitle": "New-card defaults",
4194
4259
  "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.",
4260
+ "settings.cardDefaultsCardBrief": "What a new card opens with: preset, permission, model and effort.",
4195
4261
  "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.",
4262
+ "settings.cardDefaultModeHintBrief": "Blank prefills nothing, so a new card keeps the deployment default preset.",
4196
4263
  "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.",
4264
+ "settings.cardDefaultPermissionHintBrief": "Blank sets nothing. A default above the session baseline still needs a human confirmation.",
4197
4265
  "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.",
4266
+ "settings.cardDefaultModelHintBrief": "Blank is the host default model, and an explicit dialog choice always wins over it.",
4198
4267
  "settings.goalVerificationModelInvalid": "The configured judge model is not a provider/model route; the host default is used instead.",
4199
4268
  "running.executing": "Executing",
4200
4269
  "running.verifying": "Verifying",
@@ -4269,8 +4338,8 @@ window.__ModuleLoader__.load({
4269
4338
  "detail.subtasks.link": "Link existing task",
4270
4339
  "detail.subtasks.detach": "Detach",
4271
4340
  "detail.subtasks.runningLock": "This subtask is running; it can be detached or re-linked once it settles",
4272
- "detail.subtasks.runHint": "Running this task also runs its {count} unfinished subtasks concurrently; a subtask already in the done column is not run again, and one subtask failing does not stop the others.",
4273
- "detail.subtasks.runHintSettled": "Every subtask of this task is already in the done column; running this task does not repeat them. To run one again, move it back to the todo column or run it on its own.",
4341
+ "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.",
4342
+ "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.",
4274
4343
  "detail.subtasks.waiting": "Waiting for subtasks",
4275
4344
  "detail.subtasks.depthLimit": "The subtask depth limit is {depth}; a subtask cannot create or link further subtasks.",
4276
4345
  "detail.subtasks.hostOnly": "Connect to the Host to create or link subtasks.",
@@ -4333,7 +4402,7 @@ window.__ModuleLoader__.load({
4333
4402
  }
4334
4403
  //#endregion
4335
4404
  //#region \0dsh-css:packages/dsh-task-board/src/client/board.module.css.mjs
4336
- const css$3 = "[data-dsh-taskboard-view]{box-sizing:border-box;background:var(--dsw-alias-bg-base);flex-direction:column;width:100%;min-width:0;height:100%;min-height:0;display:flex;container:_7D6uKa_task-board-view/inline-size}._7D6uKa_board{--dsh-tb-control-h:30px;--dsh-tb-control-radius:8px;--dsh-tb-control-gap:8px;--dsh-tb-icon-size:30px;--dsh-tb-hit-size:44px;--dsh-tb-motion-enter:.16s;--dsh-tb-motion-close:.14s;--dsh-tb-ease:cubic-bezier(.2, 0, 0, 1);box-sizing:border-box;background:var(--dsw-alias-bg-base);min-width:0;height:100%;min-height:0;color:var(--dsw-alias-label-primary);font-family:var(--dsw-font-family);flex-direction:column;gap:12px;padding:14px 16px 16px;display:flex}._7D6uKa_boardHeader{flex:none;align-items:center;gap:10px;display:flex}._7D6uKa_boardTools{align-items:center;gap:var(--dsh-tb-control-gap);flex:auto;justify-content:flex-end;min-width:0;margin-left:auto;display:flex}._7D6uKa_boardTitle{color:var(--dsw-alias-label-primary);white-space:nowrap;margin:0;font-size:16px;font-weight:700}._7D6uKa_backButton{align-items:center;gap:4px;display:inline-flex}._7D6uKa_search{box-sizing:border-box;min-width:120px;height:var(--dsh-tb-control-h);color:var(--dsw-alias-label-primary);background:var(--dsw-specific-input-major);border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsh-tb-control-radius);outline:none;flex:0 260px;padding:0 10px;font-size:13px}._7D6uKa_search::placeholder{color:var(--dsw-alias-label-tertiary)}._7D6uKa_columns{overscroll-behavior-inline:contain;scrollbar-color:var(--dsw-alias-border-l3) var(--dsw-alias-interactive-bg-hover);scrollbar-width:thin;flex:1;grid-auto-columns:minmax(220px,1fr);grid-auto-flow:column;gap:12px;min-height:0;padding-bottom:6px;display:grid;overflow:auto hidden}._7D6uKa_columns::-webkit-scrollbar{height:10px}._7D6uKa_columns::-webkit-scrollbar-track{background:var(--dsw-alias-interactive-bg-hover);border-radius:999px}._7D6uKa_columns::-webkit-scrollbar-thumb{background:var(--dsw-alias-border-l3);background-clip:content-box;border:2px solid #0000;border-radius:999px}._7D6uKa_columns::-webkit-scrollbar-thumb:hover{background:var(--dsw-alias-border-l4);background-clip:content-box}._7D6uKa_column{background:var(--dsw-alias-bg-layer-2);border:1px solid var(--dsw-alias-border-l1);border-radius:12px;flex-direction:column;min-height:0;display:flex;overflow:hidden}._7D6uKa_columnHeader{flex:none;align-items:center;gap:6px;padding:10px 12px;display:flex}._7D6uKa_columnTitle{color:var(--dsw-alias-label-primary);text-overflow:ellipsis;white-space:nowrap;flex:1;margin:0;font-size:13px;font-weight:700;overflow:hidden}._7D6uKa_columnCount{min-width:0;color:var(--dsw-alias-label-tertiary);background:var(--dsw-alias-interactive-bg-hover);border-radius:999px;flex:none;padding:1px 8px;font-size:12px}._7D6uKa_statusDot{border-radius:50%;flex:none;width:8px;height:8px}._7D6uKa_statusDot[data-status=backlog]{background:var(--dsw-alias-label-tertiary)}._7D6uKa_statusDot[data-status=todo]{background:var(--dsw-alias-state-business-primary)}._7D6uKa_statusDot[data-status=running]{background:var(--dsw-alias-state-warn-primary)}._7D6uKa_statusDot[data-status=done]{background:var(--dsw-alias-state-success-primary)}._7D6uKa_statusDot[data-status=failed]{background:var(--dsw-alias-state-error-primary)}._7D6uKa_cards{flex-direction:column;flex:1;gap:8px;min-height:0;padding:2px 8px 10px;display:flex;overflow-y:auto}._7D6uKa_columnEmpty{text-align:center;color:var(--dsw-alias-label-tertiary);padding:24px 8px;font-size:12px}._7D6uKa_card{text-align:left;background:var(--dsw-alias-bg-base);border:1px solid var(--dsw-alias-border-l2);cursor:pointer;color:var(--dsw-alias-label-primary);border-radius:10px;flex-direction:column;flex:none;gap:6px;padding:10px 12px 10px 14px;font-family:inherit;transition:box-shadow .12s,border-color .12s,transform .12s;display:flex;position:relative;overflow:hidden}._7D6uKa_card>:not(._7D6uKa_cardOpen){z-index:1;position:relative}._7D6uKa_card:before{content:\"\";pointer-events:none;background:0 0;width:3px;position:absolute;inset:0 auto 0 0}._7D6uKa_card[data-tone=running]:before{background:var(--dsw-alias-state-warn-primary)}._7D6uKa_card[data-tone=succeeded]:before{background:var(--dsw-alias-state-success-primary)}._7D6uKa_card[data-tone=failed]:before{background:var(--dsw-alias-state-error-primary)}._7D6uKa_card[data-tone=cancelled]:before{background:var(--dsw-alias-label-tertiary)}._7D6uKa_card:hover{box-shadow:var(--dsw-shadow-lv2);border-color:var(--dsw-alias-border-l3);transform:translateY(-1px)}._7D6uKa_card[data-compact]:hover{box-shadow:none;transform:none}._7D6uKa_card[data-status=running]{border-color:var(--dsw-alias-state-warn-primary)}._7D6uKa_cardOpen{z-index:0;border-radius:inherit;cursor:pointer;background:0 0;border:0;margin:0;padding:0;position:absolute;inset:0}._7D6uKa_cardOpen:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:-2px}._7D6uKa_cardTitleRow{align-items:flex-start;gap:6px;min-width:0;display:flex}._7D6uKa_cardKind{white-space:nowrap;color:var(--dsw-alias-label-secondary);background:var(--dsw-alias-interactive-bg-hover);border-radius:4px;flex:none;margin-top:1px;padding:0 6px;font-size:10px;font-weight:600;line-height:16px}._7D6uKa_cardTitle{-webkit-line-clamp:2;-webkit-box-orient:vertical;min-width:0;font-size:13px;font-weight:600;line-height:1.35;display:-webkit-box;overflow:hidden}._7D6uKa_card[data-compact]{gap:2px;padding-top:6px;padding-bottom:6px}._7D6uKa_card[data-compact] ._7D6uKa_cardTitle{-webkit-line-clamp:1;font-size:12px;font-weight:500}._7D6uKa_cardDecoration{flex:none;align-items:center;gap:4px;display:inline-flex}._7D6uKa_cardDecoration:empty{display:none}._7D6uKa_cardExcerpt{color:var(--dsw-alias-label-secondary);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;line-height:1.4;display:-webkit-box;overflow:hidden}._7D6uKa_cardMeta{color:var(--dsw-alias-label-tertiary);flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:11px;display:flex}._7D6uKa_cardTime{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:max-content;overflow:hidden}._7D6uKa_cardSchedule{white-space:nowrap;min-width:0;color:var(--dsw-alias-label-secondary);background:var(--dsw-alias-interactive-bg-hover);border-radius:999px;flex:none;align-items:center;gap:4px;padding:2px 6px;font-size:12px;line-height:1;display:inline-flex}._7D6uKa_cardRun{flex:none}._7D6uKa_cardRun[data-declared]{text-underline-offset:2px;text-decoration:underline dotted}._7D6uKa_cardRun[data-result=failed]{color:var(--dsw-alias-state-error-primary)}._7D6uKa_cardRun[data-result=succeeded]{color:var(--dsw-alias-state-success-primary)}._7D6uKa_cardSession{color:var(--dsw-alias-state-business-primary);flex:none;align-items:center;display:inline-flex}._7D6uKa_cardAction{cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;width:22px;height:22px;margin:-4px -4px -4px 0;padding:0;font-family:inherit}._7D6uKa_cardAction:hover{background:var(--dsw-alias-interactive-bg-hover)}._7D6uKa_cardAction:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:1px}._7D6uKa_cardGroup{flex-direction:column;gap:6px;display:flex}._7D6uKa_cardGroupHeader{color:var(--dsw-alias-label-tertiary);align-items:center;gap:6px;padding:4px 2px 0;font-size:11px;font-weight:600;display:flex}._7D6uKa_cardGroupCount{font-weight:400}._7D6uKa_cardGroupHeader ._7D6uKa_linkButton{margin-left:auto;font-size:11px}._7D6uKa_densityToggle{width:22px;height:22px;color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}._7D6uKa_densityToggle:hover,._7D6uKa_densityToggle[data-active=true]{color:var(--dsw-alias-label-primary);background:var(--dsw-alias-interactive-bg-hover)}._7D6uKa_densityToggle:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:1px}._7D6uKa_cardRunningLabel{color:var(--dsw-alias-state-warn-primary);font-size:11px}._7D6uKa_cardSpinner{border:2px solid var(--dsw-alias-state-warn-primary);border-top-color:#0000;border-radius:50%;flex:none;width:10px;height:10px;animation:.8s linear infinite _7D6uKa_dshTbSpin}@keyframes _7D6uKa_dshTbSpin{to{transform:rotate(360deg)}}._7D6uKa_primaryButton,._7D6uKa_ghostButton,._7D6uKa_dangerButton,._7D6uKa_iconButton{box-sizing:border-box;height:var(--dsh-tb-control-h);border-radius:var(--dsh-tb-control-radius);cursor:pointer;white-space:nowrap;justify-content:center;align-items:center;gap:6px;font-family:inherit;display:inline-flex}._7D6uKa_primaryButton,._7D6uKa_dangerButton{padding:0 14px;font-size:13px;font-weight:600}._7D6uKa_primaryButton{color:var(--dsw-alias-label-primary-foreground);background:var(--dsw-alias-button-primary-fill);border:1px solid #0000}._7D6uKa_dangerButton{color:var(--dsw-alias-label-primary-foreground);background:var(--dsw-alias-state-error-primary);border:1px solid #0000}._7D6uKa_ghostButton{color:var(--dsw-alias-label-primary);border:1px solid var(--dsw-alias-border-l2);background:0 0;padding:0 12px;font-size:13px}._7D6uKa_ghostButton[data-active=true]{color:var(--dsw-alias-label-primary-foreground);background:var(--dsw-alias-button-primary-fill);border-color:#0000}._7D6uKa_primaryButton:hover:not(:disabled){background:var(--dsw-alias-button-primary-hover)}._7D6uKa_ghostButton:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover)}._7D6uKa_ghostButton[data-active=true]:hover:not(:disabled){background:var(--dsw-alias-button-primary-hover)}._7D6uKa_dangerButton:hover:not(:disabled){filter:brightness(1.08)}._7D6uKa_dangerButton:active:not(:disabled){filter:brightness(.94)}._7D6uKa_primaryButton:disabled,._7D6uKa_dangerButton:disabled{opacity:.5;cursor:default}._7D6uKa_ghostButton:disabled{opacity:.45;cursor:default}._7D6uKa_iconButton{width:var(--dsh-tb-icon-size);color:var(--dsw-alias-label-secondary);background:0 0;border:1px solid #0000;padding:0;position:relative}._7D6uKa_iconButton:after{content:\"\";width:var(--dsh-tb-hit-size);height:var(--dsh-tb-hit-size);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}._7D6uKa_iconButton:disabled{opacity:.45;cursor:default}._7D6uKa_linkButton{color:var(--dsw-alias-state-business-primary);cursor:pointer;white-space:nowrap;background:0 0;border:none;padding:0;font-size:12px}._7D6uKa_linkButton:hover{text-decoration:underline}._7D6uKa_modalBackdrop{z-index:1300;background:var(--dsw-alias-bg-mask-1);animation:_7D6uKa_dshTbBackdropIn var(--dsh-tb-motion-enter) var(--dsh-tb-ease) both;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}._7D6uKa_modalBackdrop[data-state=closing]{animation:_7D6uKa_dshTbBackdropOut var(--dsh-tb-motion-close) var(--dsh-tb-ease) both}._7D6uKa_modal,._7D6uKa_detail{animation:_7D6uKa_dshTbSurfaceIn var(--dsh-tb-motion-enter) var(--dsh-tb-ease) both}._7D6uKa_modalBackdrop[data-state=closing] ._7D6uKa_modal,._7D6uKa_modalBackdrop[data-state=closing] ._7D6uKa_detail{animation:_7D6uKa_dshTbSurfaceOut var(--dsh-tb-motion-close) var(--dsh-tb-ease) both}@keyframes _7D6uKa_dshTbBackdropIn{0%{opacity:0}to{opacity:1}}@keyframes _7D6uKa_dshTbBackdropOut{0%{opacity:1}to{opacity:0}}@keyframes _7D6uKa_dshTbSurfaceIn{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:none}}@keyframes _7D6uKa_dshTbSurfaceOut{0%{opacity:1;transform:none}to{opacity:0;transform:translateY(8px)scale(.98)}}._7D6uKa_modal{background:var(--dsw-alias-bg-base);border:1px solid var(--dsw-alias-border-l2);width:min(520px,100vw - 48px);max-height:calc(100vh - 96px);box-shadow:var(--dsw-shadow-lv3);color:var(--dsw-alias-label-primary);border-radius:14px;flex-direction:column;gap:10px;padding:18px;display:flex;overflow:hidden}._7D6uKa_modalTitle{margin:0;font-size:15px;font-weight:700}._7D6uKa_confirmMessage{color:var(--dsw-alias-label-secondary);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.5}._7D6uKa_modalFooter{justify-content:flex-end;gap:10px;margin-top:4px;display:flex}._7D6uKa_modalHeader{align-items:center;gap:10px;display:flex}._7D6uKa_modalHeader>._7D6uKa_modalTitle{flex:1;min-width:0}._7D6uKa_tagManageList{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}._7D6uKa_tagManageRow{border:1px solid var(--dsw-alias-border-l1);border-radius:var(--dsh-tb-control-radius);flex-wrap:wrap;align-items:center;gap:8px;padding:6px 8px;display:flex}._7D6uKa_tagManageName{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--dsw-alias-label-primary);flex:auto;font-size:13px;overflow:hidden}._7D6uKa_tagManageCount{color:var(--dsw-alias-label-tertiary);flex:none;font-size:11px}._7D6uKa_tagManageInput{flex:auto;min-width:0}._7D6uKa_tagManageMerge{color:var(--dsw-alias-label-tertiary);flex:1 0 100%;font-size:11px}._7D6uKa_modalBody{flex-direction:column;gap:8px;min-height:0;display:flex;overflow-y:auto}._7D6uKa_modalBody>*{flex:none}._7D6uKa_formSection{border:1px solid var(--dsw-alias-separator-primary);border-radius:10px;flex-direction:column;display:flex;overflow:hidden}._7D6uKa_formSectionHeader{width:100%;color:var(--dsw-alias-label-primary);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:7px 10px;font-family:inherit;font-size:12.5px;font-weight:600;display:flex}._7D6uKa_formSectionHeader:hover{background:var(--dsw-alias-bg-mask-1)}._7D6uKa_formSectionChevron{border-top:4px solid #0000;border-bottom:4px solid #0000;border-left:5px solid var(--dsw-alias-label-tertiary);flex:none;width:0;height:0;margin-left:1px;transition:transform .12s}._7D6uKa_formSection[data-open=true] ._7D6uKa_formSectionChevron{transform:rotate(90deg)}._7D6uKa_formSectionTitle{flex:none}._7D6uKa_formSectionSummary{min-width:0;color:var(--dsw-alias-label-tertiary);text-align:right;text-overflow:ellipsis;white-space:nowrap;flex:auto;font-weight:400;overflow:hidden}._7D6uKa_formSectionBody{border-top:1px solid var(--dsw-alias-separator-primary);flex-direction:column;gap:8px;padding:8px 10px 10px;display:flex}._7D6uKa_field{flex-direction:column;gap:5px;display:flex}._7D6uKa_fieldLabel{color:var(--dsw-alias-label-secondary);font-size:12px;font-weight:600}._7D6uKa_input{box-sizing:border-box;min-height:var(--dsh-tb-control-h);color:var(--dsw-alias-label-primary);background:var(--dsw-specific-input-major);border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsh-tb-control-radius);resize:vertical;outline:none;padding:6px 10px;font-family:inherit;font-size:13px}._7D6uKa_input:focus{border-color:var(--dsw-alias-state-business-primary)}._7D6uKa_select{box-sizing:border-box;height:var(--dsh-tb-control-h);color:var(--dsw-alias-label-primary);background:var(--dsw-specific-input-major);border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsh-tb-control-radius);outline:none;max-width:100%;padding:0 10px;font-family:inherit;font-size:13px}._7D6uKa_input::placeholder{color:var(--dsw-alias-label-tertiary)}._7D6uKa_formError{color:var(--dsw-alias-state-error-primary);margin:0;font-size:12px}._7D6uKa_detail{background:var(--dsw-alias-bg-base);border:1px solid var(--dsw-alias-border-l2);width:min(640px,100vw - 48px);max-height:calc(100vh - 80px);box-shadow:var(--dsw-shadow-lv3);color:var(--dsw-alias-label-primary);border-radius:14px;flex-direction:column;display:flex;overflow:hidden}._7D6uKa_detailHeader{border-bottom:1px solid var(--dsw-alias-separator-primary);flex:none;align-items:center;gap:10px;padding:14px 18px;display:flex}._7D6uKa_detailTitle{overflow-wrap:anywhere;flex:1;margin:0;font-size:15px;font-weight:700}._7D6uKa_statusBadge{border:1px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-secondary);border-radius:999px;flex:none;padding:2px 10px;font-size:12px}._7D6uKa_statusBadge[data-status=running]{color:var(--dsw-alias-state-warn-primary);border-color:var(--dsw-alias-state-warn-primary)}._7D6uKa_statusBadge[data-status=done]{color:var(--dsw-alias-state-success-primary);border-color:var(--dsw-alias-state-success-primary)}._7D6uKa_statusBadge[data-status=failed]{color:var(--dsw-alias-state-error-primary);border-color:var(--dsw-alias-state-error-primary)}._7D6uKa_detailBody{flex-direction:column;flex:1;gap:16px;padding:14px 18px;display:flex;overflow-y:auto}._7D6uKa_detailSection{flex-direction:column;gap:6px;display:flex}._7D6uKa_detailSection h4{color:var(--dsw-alias-label-tertiary);text-transform:none;margin:0;font-size:12px;font-weight:700}._7D6uKa_detailText{color:var(--dsw-alias-label-primary);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.55}._7D6uKa_scheduleToggle{color:var(--dsw-alias-label-primary);cursor:pointer;user-select:none;align-items:center;gap:8px;font-size:13px;display:flex}._7D6uKa_scheduleToggle input{accent-color:var(--dsw-alias-state-business-primary)}._7D6uKa_scheduleRow{align-items:center;gap:8px;display:flex}._7D6uKa_scheduleInput{min-width:0;font-family:var(--dsw-font-markdown-code-block-small);flex:1;font-size:12.5px}._7D6uKa_scheduleInputInvalid,._7D6uKa_scheduleInputInvalid:focus{border-color:var(--dsw-alias-state-error-primary)}._7D6uKa_schedulePreset{box-sizing:border-box;height:var(--dsh-tb-control-h);color:var(--dsw-alias-label-primary);background:var(--dsw-specific-input-major);border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsh-tb-control-radius);outline:none;flex:none;padding:0 8px;font-size:12.5px}._7D6uKa_scheduleZone{color:var(--dsw-alias-label-secondary);align-items:center;gap:8px;font-size:12.5px;display:flex}._7D6uKa_scheduleZone select{flex:1;min-width:0}._7D6uKa_scheduleMeta{color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere;margin:0;font-size:12px}._7D6uKa_promptBlock{font-size:12.5px;line-height:1.5;font-family:var(--dsw-font-markdown-code-block-small);color:var(--dsw-alias-label-primary);background:var(--dsw-alias-markdown-code-block);border:1px solid var(--dsw-alias-border-l1);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:8px;max-height:240px;margin:0;padding:10px 12px;overflow-y:auto}._7D6uKa_clampBody{position:relative}._7D6uKa_clampBody[data-clamped=true]{max-height:160px;overflow:hidden}._7D6uKa_clampBody[data-clamped=true]:after{content:\"\";pointer-events:none;background:linear-gradient(to bottom, transparent, var(--dsw-alias-bg-base));height:44px;position:absolute;bottom:0;left:0;right:0}._7D6uKa_clampToggle{align-self:flex-start}._7D6uKa_executionList{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}._7D6uKa_executionRow{border:1px solid var(--dsw-alias-border-l1);border-radius:8px;flex-wrap:wrap;align-items:center;gap:10px;padding:8px 10px;display:flex}._7D6uKa_executionBadge{color:var(--dsw-alias-state-warn-primary);background:var(--dsw-alias-state-warn-secondary);border-radius:999px;flex:none;padding:1px 8px;font-size:11px;font-weight:600}._7D6uKa_executionBadge[data-result=succeeded]{color:var(--dsw-alias-state-success-primary);background:0 0}._7D6uKa_executionBadge[data-result=failed]{color:var(--dsw-alias-state-error-primary);background:0 0}._7D6uKa_executionBadge[data-result=cancelled]{color:var(--dsw-alias-label-tertiary);background:0 0}._7D6uKa_executionTimes{color:var(--dsw-alias-label-secondary);font-size:12px}._7D6uKa_executionError{width:100%;color:var(--dsw-alias-state-error-primary);overflow-wrap:anywhere;font-size:12px}._7D6uKa_moveRow{flex-wrap:wrap;gap:8px;display:flex}._7D6uKa_detailFooter{border-top:1px solid var(--dsw-alias-separator-primary);flex:none;align-items:center;gap:10px;padding:12px 18px;display:flex}._7D6uKa_detailMeta{color:var(--dsw-alias-label-tertiary);margin-left:auto;font-size:11px}@container _7D6uKa_task-board-view (width<=768px){._7D6uKa_board{gap:10px;padding:10px}._7D6uKa_boardHeader{flex-wrap:wrap;align-items:center;gap:8px}._7D6uKa_backButton{flex:none}._7D6uKa_boardTitle{flex:auto}._7D6uKa_boardHeader>._7D6uKa_detailMeta{flex:1 0 100%;margin-left:0}._7D6uKa_boardTools{flex-wrap:wrap;flex:1 0 100%;justify-content:flex-start;margin-left:0}._7D6uKa_boardTools>._7D6uKa_search{flex:1 0 100%;min-width:0}._7D6uKa_boardTools>._7D6uKa_projectFilter{flex:auto;min-width:0}._7D6uKa_boardTools>button{flex:1 1 0;min-width:0}._7D6uKa_columns{scroll-snap-type:inline mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;grid-auto-columns:86cqw;gap:10px;padding-inline:2px 14cqw;scroll-padding-inline:2px}._7D6uKa_columns::-webkit-scrollbar{display:none}._7D6uKa_column{scroll-snap-align:start;scroll-snap-stop:always}}@container _7D6uKa_task-board-view (width<=720px){._7D6uKa_boardHeader>._7D6uKa_detailMeta{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}}@container _7D6uKa_task-board-view (width<=600px){._7D6uKa_board{padding-inline:8px}}@media (width<=768px){[data-dsh-taskboard-view]{height:100dvh}._7D6uKa_card,._7D6uKa_primaryButton,._7D6uKa_ghostButton,._7D6uKa_dangerButton,._7D6uKa_iconButton,._7D6uKa_linkButton,._7D6uKa_search,._7D6uKa_input,._7D6uKa_select,._7D6uKa_schedulePreset,._7D6uKa_scheduleToggle{min-height:44px}._7D6uKa_search,._7D6uKa_input,._7D6uKa_select,._7D6uKa_schedulePreset{box-sizing:border-box;font-size:16px}._7D6uKa_modalBackdrop{justify-content:stretch;align-items:stretch;width:100vw;height:100dvh}._7D6uKa_modal,._7D6uKa_detail{box-sizing:border-box;border:0;border-radius:0;width:100vw;height:100dvh;max-height:none}._7D6uKa_modal{padding-top:max(16px, env(safe-area-inset-top));padding-right:max(16px, env(safe-area-inset-right));padding-bottom:max(16px, env(safe-area-inset-bottom));padding-left:max(16px, env(safe-area-inset-left))}._7D6uKa_modalFooter{z-index:1;background:var(--dsw-alias-bg-base);flex-wrap:wrap;padding-top:8px;position:sticky;bottom:0}._7D6uKa_modalFooter>button{flex:120px}._7D6uKa_detailHeader{padding-top:max(12px, env(safe-area-inset-top));padding-right:max(14px, env(safe-area-inset-right));padding-left:max(14px, env(safe-area-inset-left));flex-wrap:wrap}._7D6uKa_detailTitle{min-width:0}._7D6uKa_detailBody{overscroll-behavior-y:contain;padding-right:max(14px, env(safe-area-inset-right));padding-left:max(14px, env(safe-area-inset-left))}._7D6uKa_detailFooter{padding-right:max(14px, env(safe-area-inset-right));padding-bottom:max(12px, env(safe-area-inset-bottom));padding-left:max(14px, env(safe-area-inset-left));flex-wrap:wrap}._7D6uKa_detailFooter>button{flex:96px}._7D6uKa_detailFooter>._7D6uKa_detailMeta{text-align:end;flex:1 0 100%;margin-left:0}._7D6uKa_scheduleRow{flex-direction:column;align-items:stretch}._7D6uKa_schedulePreset{width:100%}}._7D6uKa_primaryButton:focus-visible,._7D6uKa_ghostButton:focus-visible,._7D6uKa_dangerButton:focus-visible,._7D6uKa_iconButton:focus-visible,._7D6uKa_linkButton:focus-visible,._7D6uKa_search:focus-visible,._7D6uKa_input:focus-visible,._7D6uKa_select:focus-visible,._7D6uKa_schedulePreset:focus-visible,._7D6uKa_scheduleToggle input:focus-visible,._7D6uKa_formSectionHeader:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:2px}._7D6uKa_primaryButton,._7D6uKa_ghostButton,._7D6uKa_dangerButton,._7D6uKa_iconButton,._7D6uKa_linkButton,._7D6uKa_search,._7D6uKa_input,._7D6uKa_select,._7D6uKa_schedulePreset,._7D6uKa_scheduleToggle input,._7D6uKa_formSectionHeader,._7D6uKa_formSectionChevron{transition:background-color .12s,color .12s,border-color .12s,outline-color .12s,box-shadow .12s,transform .12s}._7D6uKa_card:active{box-shadow:var(--dsw-shadow-lv1);transform:translateY(0)}._7D6uKa_primaryButton:active:not(:disabled),._7D6uKa_ghostButton:active:not(:disabled),._7D6uKa_dangerButton:active:not(:disabled),._7D6uKa_iconButton:active:not(:disabled),._7D6uKa_linkButton:active:not(:disabled){transform:translateY(1px)}._7D6uKa_iconButton:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}._7D6uKa_linkButton:hover:not(:disabled){text-decoration:underline}._7D6uKa_iconButton:disabled,._7D6uKa_linkButton:disabled{opacity:.45;cursor:default}._7D6uKa_search:focus,._7D6uKa_select:focus,._7D6uKa_schedulePreset:focus{border-color:var(--dsw-alias-state-business-primary)}._7D6uKa_scheduleToggle input{margin:0}@media (prefers-reduced-motion:reduce){._7D6uKa_card,._7D6uKa_primaryButton,._7D6uKa_ghostButton,._7D6uKa_dangerButton,._7D6uKa_iconButton,._7D6uKa_linkButton,._7D6uKa_search,._7D6uKa_input,._7D6uKa_select,._7D6uKa_schedulePreset,._7D6uKa_scheduleToggle input,._7D6uKa_formSectionHeader,._7D6uKa_formSectionChevron{transition:none}._7D6uKa_cardSpinner{animation:none}._7D6uKa_modalBackdrop,._7D6uKa_modal,._7D6uKa_detail{animation:_7D6uKa_dshTbBackdropIn var(--dsh-tb-motion-close) linear both}._7D6uKa_modalBackdrop[data-state=closing],._7D6uKa_modalBackdrop[data-state=closing] ._7D6uKa_modal,._7D6uKa_modalBackdrop[data-state=closing] ._7D6uKa_detail{animation:_7D6uKa_dshTbBackdropOut var(--dsh-tb-motion-close) linear both}}._7D6uKa_cardTags{flex-wrap:wrap;gap:4px;display:flex}._7D6uKa_cardTag{border:1px solid var(--dsh-task-tag-border);background:var(--dsh-task-tag-fill);max-width:100%;color:var(--dsw-alias-label-primary);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;padding:0 7px;font-size:10px;line-height:16px;overflow:hidden}._7D6uKa_tagFilter{flex-wrap:wrap;flex:none;align-items:center;gap:6px;margin:0;display:flex}._7D6uKa_tagFilterLabel{color:var(--dsw-alias-label-tertiary);font-size:11px}._7D6uKa_tagChip{border:1px solid var(--dsh-task-tag-border);color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border-radius:999px;padding:1px 9px;font-family:inherit;font-size:11px;line-height:18px}._7D6uKa_tagChip[data-active=true]{background:var(--dsh-task-tag-fill);color:var(--dsw-alias-label-primary)}._7D6uKa_cardTag[data-tag-tone=\"0\"],._7D6uKa_tagChip[data-tag-tone=\"0\"]{--dsh-task-tag-fill:#4e93e82e;--dsh-task-tag-border:#4e93e866}._7D6uKa_cardTag[data-tag-tone=\"1\"],._7D6uKa_tagChip[data-tag-tone=\"1\"]{--dsh-task-tag-fill:#2ea36a2e;--dsh-task-tag-border:#2ea36a66}._7D6uKa_cardTag[data-tag-tone=\"2\"],._7D6uKa_tagChip[data-tag-tone=\"2\"]{--dsh-task-tag-fill:#d08a2a2e;--dsh-task-tag-border:#d08a2a66}._7D6uKa_cardTag[data-tag-tone=\"3\"],._7D6uKa_tagChip[data-tag-tone=\"3\"]{--dsh-task-tag-fill:#b456c82e;--dsh-task-tag-border:#b456c866}._7D6uKa_cardTag[data-tag-tone=\"4\"],._7D6uKa_tagChip[data-tag-tone=\"4\"]{--dsh-task-tag-fill:#cf5f7a2e;--dsh-task-tag-border:#cf5f7a66}._7D6uKa_cardTag[data-tag-tone=\"5\"],._7D6uKa_tagChip[data-tag-tone=\"5\"]{--dsh-task-tag-fill:#4a9fb52e;--dsh-task-tag-border:#4a9fb566}._7D6uKa_fieldHint{color:var(--dsw-alias-label-tertiary);font-size:11px;line-height:1.4}._7D6uKa_tagRow{align-items:center;gap:6px;display:flex}._7D6uKa_tagRow ._7D6uKa_input{flex:1 1 0;min-width:0}._7D6uKa_tagRow ._7D6uKa_ghostButton{flex:none}._7D6uKa_tagAddButton{align-self:flex-start}._7D6uKa_projectFilter{flex:none;align-items:center;gap:6px;display:flex}._7D6uKa_projectFilterLabel{color:var(--dsw-alias-label-secondary);white-space:nowrap;font-size:12px}._7D6uKa_projectDialog{background:var(--dsw-alias-bg-layer-2);border:1px solid var(--dsw-alias-border-l2);border-radius:10px;flex-direction:column;flex:none;gap:8px;margin-bottom:8px;padding:10px 12px;display:flex}._7D6uKa_projectDialogActions{justify-content:flex-end;gap:8px;display:flex}._7D6uKa_aiParse{background:var(--dsw-alias-bg-layer-2);border:1px solid var(--dsw-alias-border-l2);border-radius:10px;flex-direction:column;gap:6px;padding:10px 12px;display:flex}._7D6uKa_aiParseRow{align-items:center;gap:8px;display:flex}._7D6uKa_aiParseRow ._7D6uKa_select{flex:1 1 0;min-width:0}._7D6uKa_aiParseRow ._7D6uKa_ghostButton,._7D6uKa_aiParseRow ._7D6uKa_primaryButton{flex:none}._7D6uKa_cardSubtask{border:1px solid var(--dsw-alias-border-l2);max-width:100%;color:var(--dsw-alias-label-secondary);text-overflow:ellipsis;white-space:nowrap;background:0 0;border-radius:999px;padding:0 7px;font-size:10px;line-height:16px;overflow:hidden}._7D6uKa_cardSubtask[data-tone=failed]{color:var(--dsw-alias-state-error-primary);border-color:var(--dsw-alias-state-error-primary)}._7D6uKa_cardSubtask[data-tone=running]{color:var(--dsw-alias-state-warn-primary);border-color:var(--dsw-alias-state-warn-primary)}._7D6uKa_cardSubtask[data-tone=done]{color:var(--dsw-alias-state-success-primary);border-color:var(--dsw-alias-state-success-primary)}._7D6uKa_subtaskList{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}._7D6uKa_subtaskRow{border:1px solid var(--dsw-alias-border-l1);border-radius:8px;flex-wrap:wrap;align-items:center;gap:10px;padding:6px 10px;display:flex}._7D6uKa_subtaskRow ._7D6uKa_linkButton:first-child{text-align:left;overflow-wrap:anywhere;flex:auto;min-width:0}._7D6uKa_subtaskAddRow{flex-wrap:wrap;gap:8px;display:flex}._7D6uKa_pickList{flex-direction:column;gap:6px;max-height:320px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}._7D6uKa_pickRow{border:1px solid var(--dsw-alias-border-l1);border-radius:8px;align-items:center;gap:10px;padding:6px 10px;display:flex}._7D6uKa_pickTitle{min-width:0;color:var(--dsw-alias-label-primary);overflow-wrap:anywhere;flex:auto;font-size:13px}";
4405
+ const css$3 = "[data-dsh-taskboard-view]{box-sizing:border-box;background:var(--dsw-alias-bg-base);flex-direction:column;width:100%;min-width:0;height:100%;min-height:0;display:flex;container:_7D6uKa_task-board-view/inline-size}._7D6uKa_board{--dsh-tb-control-h:30px;--dsh-tb-control-radius:8px;--dsh-tb-control-gap:8px;--dsh-tb-icon-size:30px;--dsh-tb-hit-size:44px;--dsh-tb-motion-enter:.16s;--dsh-tb-motion-close:.14s;--dsh-tb-ease:cubic-bezier(.2, 0, 0, 1);--dsh-tb-rail:12px;--dsh-tb-card-stripe:3px;--dsh-tb-card-inset:8px;--dsh-tb-card-row:18px;--dsh-tb-card-gap:6px;box-sizing:border-box;background:var(--dsw-alias-bg-base);min-width:0;height:100%;min-height:0;color:var(--dsw-alias-label-primary);font-family:var(--dsw-font-family);flex-direction:column;gap:12px;padding:14px 16px 16px;display:flex}._7D6uKa_boardHeader{flex:none;align-items:center;gap:10px;display:flex}._7D6uKa_boardTools{align-items:center;gap:var(--dsh-tb-control-gap);flex:auto;justify-content:flex-end;min-width:0;margin-left:auto;display:flex}._7D6uKa_boardTitle{color:var(--dsw-alias-label-primary);white-space:nowrap;margin:0;font-size:15px;font-weight:700}._7D6uKa_backButton{align-items:center;gap:4px;display:inline-flex}._7D6uKa_search{box-sizing:border-box;min-width:120px;height:var(--dsh-tb-control-h);color:var(--dsw-alias-label-primary);background:var(--dsw-specific-input-major);border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsh-tb-control-radius);outline:none;flex:0 260px;padding:0 10px;font-size:13px}._7D6uKa_search::placeholder{color:var(--dsw-alias-label-tertiary)}._7D6uKa_columns{overscroll-behavior-inline:contain;scrollbar-color:var(--dsw-alias-border-l3) var(--dsw-alias-interactive-bg-hover);scrollbar-width:thin;flex:1;grid-auto-columns:minmax(220px,1fr);grid-auto-flow:column;gap:12px;min-height:0;padding-bottom:6px;display:grid;overflow:auto hidden}._7D6uKa_columns::-webkit-scrollbar{height:10px}._7D6uKa_columns::-webkit-scrollbar-track{background:var(--dsw-alias-interactive-bg-hover);border-radius:999px}._7D6uKa_columns::-webkit-scrollbar-thumb{background:var(--dsw-alias-border-l3);background-clip:content-box;border:2px solid #0000;border-radius:999px}._7D6uKa_columns::-webkit-scrollbar-thumb:hover{background:var(--dsw-alias-border-l4);background-clip:content-box}._7D6uKa_column{background:var(--dsw-alias-bg-layer-2);border:1px solid var(--dsw-alias-border-l1);border-radius:12px;flex-direction:column;min-height:0;display:flex;overflow:hidden}._7D6uKa_columnHeader{padding:8px var(--dsh-tb-rail);min-height:calc(var(--dsh-tb-card-row) + 18px);flex:none;align-items:center;gap:8px;display:flex}._7D6uKa_columnTitle{color:var(--dsw-alias-label-primary);text-overflow:ellipsis;white-space:nowrap;flex:1;margin:0;font-size:13px;font-weight:700;overflow:hidden}._7D6uKa_columnCount{min-width:0;font-size:12px;line-height:var(--dsh-tb-card-row);color:var(--dsw-alias-label-tertiary);background:var(--dsw-alias-interactive-bg-hover);border-radius:999px;flex:none;padding:0 8px}._7D6uKa_statusDot{border-radius:50%;flex:none;width:8px;height:8px}._7D6uKa_statusDot[data-status=backlog]{background:var(--dsw-alias-label-tertiary)}._7D6uKa_statusDot[data-status=todo]{background:var(--dsw-alias-state-business-primary)}._7D6uKa_statusDot[data-status=running]{background:var(--dsw-alias-state-warn-primary)}._7D6uKa_statusDot[data-status=done]{background:var(--dsw-alias-state-success-primary)}._7D6uKa_statusDot[data-status=failed]{background:var(--dsw-alias-state-error-primary)}._7D6uKa_cards{padding:2px var(--dsh-tb-rail) 10px;flex-direction:column;flex:1;gap:8px;min-height:0;display:flex;overflow-y:auto}._7D6uKa_columnEmpty{text-align:center;color:var(--dsw-alias-label-tertiary);padding:24px 0;font-size:12px}._7D6uKa_card{grid-template-columns:var(--dsh-tb-card-stripe) minmax(0, 1fr);column-gap:var(--dsh-tb-card-inset);row-gap:var(--dsh-tb-card-gap);padding:10px calc(var(--dsh-tb-card-stripe) + var(--dsh-tb-card-inset)) 10px 0;text-align:left;background:var(--dsw-alias-bg-base);border:1px solid var(--dsw-alias-border-l2);cursor:pointer;color:var(--dsw-alias-label-primary);border-radius:10px;flex:none;align-content:start;font-family:inherit;transition:box-shadow .12s,border-color .12s,transform .12s;display:grid;position:relative;overflow:hidden}._7D6uKa_card>:not(._7D6uKa_cardOpen){z-index:1;grid-column:2;min-width:0;position:relative}._7D6uKa_card:before{content:\"\";width:var(--dsh-tb-card-stripe);pointer-events:none;background:0 0;position:absolute;top:0;bottom:0;left:0}._7D6uKa_card[data-tone=running]:before{background:var(--dsw-alias-state-warn-primary)}._7D6uKa_card[data-tone=succeeded]:before{background:var(--dsw-alias-state-success-primary)}._7D6uKa_card[data-tone=failed]:before{background:var(--dsw-alias-state-error-primary)}._7D6uKa_card[data-tone=cancelled]:before{background:var(--dsw-alias-label-tertiary)}._7D6uKa_card:hover{box-shadow:var(--dsw-shadow-lv2);border-color:var(--dsw-alias-border-l3);transform:translateY(-1px)}._7D6uKa_card[data-compact]:hover{box-shadow:none;transform:none}._7D6uKa_card[data-status=running]{border-color:var(--dsw-alias-state-warn-primary)}._7D6uKa_cardOpen{z-index:0;border-radius:inherit;cursor:pointer;background:0 0;border:0;margin:0;padding:0;position:absolute;inset:0}._7D6uKa_cardOpen:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:-2px}._7D6uKa_cardTitleRow{align-items:flex-start;gap:6px;min-width:0;display:flex}._7D6uKa_cardKind{font-size:12px;font-weight:600;line-height:var(--dsh-tb-card-row);white-space:nowrap;color:var(--dsw-alias-label-secondary);background:var(--dsw-alias-interactive-bg-hover);border-radius:999px;flex:none;padding:0 8px}._7D6uKa_cardTitle{-webkit-line-clamp:2;-webkit-box-orient:vertical;min-width:0;font-size:13px;font-weight:600;line-height:1.4;display:-webkit-box;overflow:hidden}._7D6uKa_card[data-compact]{row-gap:2px;padding-top:6px;padding-bottom:6px}._7D6uKa_card[data-compact] ._7D6uKa_cardTitle{-webkit-line-clamp:1;font-size:12px;font-weight:500}._7D6uKa_cardDecoration{flex:none;align-items:center;gap:4px;display:inline-flex}._7D6uKa_cardDecoration:empty{display:none}._7D6uKa_cardExcerpt{color:var(--dsw-alias-label-secondary);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;line-height:1.4;display:-webkit-box;overflow:hidden}._7D6uKa_cardMeta{min-height:var(--dsh-tb-card-row);font-size:12px;line-height:var(--dsh-tb-card-row);color:var(--dsw-alias-label-tertiary);flex-wrap:wrap;align-items:center;gap:4px 8px;display:flex}._7D6uKa_cardTime{text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums;flex:auto;min-width:max-content;overflow:hidden}._7D6uKa_cardSchedule{min-width:0;height:var(--dsh-tb-card-row);white-space:nowrap;color:var(--dsw-alias-label-secondary);background:var(--dsw-alias-interactive-bg-hover);border-radius:999px;flex:none;align-items:center;gap:4px;padding:0 8px;font-size:12px;line-height:1;display:inline-flex}._7D6uKa_cardRun{height:var(--dsh-tb-card-row);font-size:12px;line-height:var(--dsh-tb-card-row);color:var(--dsw-alias-label-tertiary);flex:none;align-items:center;gap:6px;display:inline-flex}._7D6uKa_cardRun[data-declared]{text-underline-offset:2px;text-decoration:underline dotted}._7D6uKa_cardResult{font-size:12px;font-weight:600;line-height:var(--dsh-tb-card-row);color:var(--dsw-alias-state-warn-primary);background:var(--dsw-alias-state-warn-secondary);border-radius:999px;flex:none;padding:0 8px}._7D6uKa_cardResult[data-result=succeeded]{color:var(--dsw-alias-state-success-primary);background:var(--dsw-alias-state-success-secondary)}._7D6uKa_cardResult[data-result=failed]{color:var(--dsw-alias-state-error-primary);background:var(--dsw-alias-state-error-secondary)}._7D6uKa_cardResult[data-result=cancelled]{color:var(--dsw-alias-label-secondary);background:var(--dsw-alias-interactive-bg-hover)}._7D6uKa_cardSession{width:var(--dsh-tb-card-row);height:var(--dsh-tb-card-row);color:var(--dsw-alias-state-business-primary);flex:none;justify-content:center;align-items:center;display:inline-flex}._7D6uKa_cardAction{cursor:pointer;background:0 0;border:0;border-radius:6px;padding:0;font-family:inherit;position:relative}._7D6uKa_cardAction:after{content:\"\";width:var(--dsh-tb-hit-size);height:var(--dsh-tb-hit-size);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}._7D6uKa_cardAction:hover{background:var(--dsw-alias-interactive-bg-hover)}._7D6uKa_cardAction:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:2px}._7D6uKa_cardGroup{flex-direction:column;gap:6px;display:flex}._7D6uKa_cardGroupHeader{min-height:var(--dsh-tb-card-row);color:var(--dsw-alias-label-tertiary);align-items:center;gap:6px;padding:4px 0 0;font-size:12px;font-weight:600;display:flex}._7D6uKa_cardGroupCount{font-weight:400}._7D6uKa_cardGroupHeader ._7D6uKa_linkButton{margin-left:auto;font-size:12px}._7D6uKa_densityToggle{width:var(--dsh-tb-card-row);height:var(--dsh-tb-card-row);color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative}._7D6uKa_densityToggle:after{content:\"\";width:var(--dsh-tb-hit-size);height:var(--dsh-tb-hit-size);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}._7D6uKa_densityToggle:hover,._7D6uKa_densityToggle[data-active=true]{color:var(--dsw-alias-label-primary);background:var(--dsw-alias-interactive-bg-hover)}._7D6uKa_densityToggle:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:2px}._7D6uKa_cardStatus{min-height:var(--dsh-tb-card-row);font-size:12px;line-height:var(--dsh-tb-card-row);color:var(--dsw-alias-label-tertiary);align-items:center;gap:8px;display:flex}._7D6uKa_cardStatusText{flex:0 auto;align-items:center;gap:8px;min-width:0;display:flex}._7D6uKa_cardStatusTrail{flex:none;align-items:center;gap:8px;display:flex}._7D6uKa_cardRuns{font-variant-numeric:tabular-nums;white-space:nowrap}._7D6uKa_cardRunningLabel{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--dsw-alias-state-warn-primary);flex:0 auto;font-size:12px;overflow:hidden}._7D6uKa_cardSpinnerSlot{width:var(--dsh-tb-card-row);height:var(--dsh-tb-card-row);flex:none;justify-content:center;align-items:center;display:inline-flex}._7D6uKa_cardSpinner{border:2px solid var(--dsw-alias-state-warn-primary);border-top-color:#0000;border-radius:50%;flex:none;width:12px;height:12px;animation:.8s linear infinite _7D6uKa_dshTbSpin}@keyframes _7D6uKa_dshTbSpin{to{transform:rotate(360deg)}}._7D6uKa_primaryButton,._7D6uKa_ghostButton,._7D6uKa_dangerButton,._7D6uKa_iconButton{box-sizing:border-box;height:var(--dsh-tb-control-h);border-radius:var(--dsh-tb-control-radius);cursor:pointer;white-space:nowrap;justify-content:center;align-items:center;gap:6px;font-family:inherit;display:inline-flex}._7D6uKa_primaryButton,._7D6uKa_dangerButton{padding:0 14px;font-size:13px;font-weight:600}._7D6uKa_primaryButton{color:var(--dsw-alias-label-primary-foreground);background:var(--dsw-alias-button-primary-fill);border:1px solid #0000}._7D6uKa_dangerButton{color:var(--dsw-alias-label-primary-foreground);background:var(--dsw-alias-state-error-primary);border:1px solid #0000}._7D6uKa_ghostButton{color:var(--dsw-alias-label-primary);border:1px solid var(--dsw-alias-border-l2);background:0 0;padding:0 12px;font-size:13px}._7D6uKa_ghostButton[data-active=true]{color:var(--dsw-alias-label-primary-foreground);background:var(--dsw-alias-button-primary-fill);border-color:#0000}._7D6uKa_primaryButton:hover:not(:disabled){background:var(--dsw-alias-button-primary-hover)}._7D6uKa_ghostButton:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover)}._7D6uKa_ghostButton[data-active=true]:hover:not(:disabled){background:var(--dsw-alias-button-primary-hover)}._7D6uKa_dangerButton:hover:not(:disabled){filter:brightness(1.08)}._7D6uKa_dangerButton:active:not(:disabled){filter:brightness(.94)}._7D6uKa_primaryButton:disabled,._7D6uKa_dangerButton:disabled{opacity:.5;cursor:default}._7D6uKa_ghostButton:disabled{opacity:.45;cursor:default}._7D6uKa_iconButton{width:var(--dsh-tb-icon-size);color:var(--dsw-alias-label-secondary);background:0 0;border:1px solid #0000;padding:0;position:relative}._7D6uKa_iconButton:after{content:\"\";width:var(--dsh-tb-hit-size);height:var(--dsh-tb-hit-size);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}._7D6uKa_iconButton:disabled{opacity:.45;cursor:default}._7D6uKa_linkButton{color:var(--dsw-alias-state-business-primary);cursor:pointer;white-space:nowrap;background:0 0;border:none;padding:0;font-size:12px}._7D6uKa_linkButton:hover{text-decoration:underline}._7D6uKa_modalBackdrop{z-index:1300;background:var(--dsw-alias-bg-mask-1);animation:_7D6uKa_dshTbBackdropIn var(--dsh-tb-motion-enter) var(--dsh-tb-ease) both;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}._7D6uKa_modalBackdrop[data-state=closing]{animation:_7D6uKa_dshTbBackdropOut var(--dsh-tb-motion-close) var(--dsh-tb-ease) both}._7D6uKa_modal,._7D6uKa_detail{animation:_7D6uKa_dshTbSurfaceIn var(--dsh-tb-motion-enter) var(--dsh-tb-ease) both}._7D6uKa_modalBackdrop[data-state=closing] ._7D6uKa_modal,._7D6uKa_modalBackdrop[data-state=closing] ._7D6uKa_detail{animation:_7D6uKa_dshTbSurfaceOut var(--dsh-tb-motion-close) var(--dsh-tb-ease) both}@keyframes _7D6uKa_dshTbBackdropIn{0%{opacity:0}to{opacity:1}}@keyframes _7D6uKa_dshTbBackdropOut{0%{opacity:1}to{opacity:0}}@keyframes _7D6uKa_dshTbSurfaceIn{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:none}}@keyframes _7D6uKa_dshTbSurfaceOut{0%{opacity:1;transform:none}to{opacity:0;transform:translateY(8px)scale(.98)}}._7D6uKa_modal{background:var(--dsw-alias-bg-base);border:1px solid var(--dsw-alias-border-l2);width:min(520px,100vw - 48px);max-height:calc(100vh - 96px);box-shadow:var(--dsw-shadow-lv3);color:var(--dsw-alias-label-primary);border-radius:14px;flex-direction:column;gap:10px;padding:18px;display:flex;overflow:hidden}._7D6uKa_modalTitle{margin:0;font-size:16px;font-weight:700}._7D6uKa_confirmMessage{color:var(--dsw-alias-label-secondary);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.5}._7D6uKa_modalFooter{justify-content:flex-end;gap:10px;margin-top:4px;display:flex}._7D6uKa_modalHeader{align-items:center;gap:10px;display:flex}._7D6uKa_modalHeader>._7D6uKa_modalTitle{flex:1;min-width:0}._7D6uKa_tagManageList{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}._7D6uKa_tagManageRow{border:1px solid var(--dsw-alias-border-l1);border-radius:var(--dsh-tb-control-radius);flex-wrap:wrap;align-items:center;gap:8px;padding:6px 8px;display:flex}._7D6uKa_tagManageName{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--dsw-alias-label-primary);flex:auto;font-size:13px;overflow:hidden}._7D6uKa_tagManageCount{color:var(--dsw-alias-label-tertiary);flex:none;font-size:12px}._7D6uKa_tagManageInput{flex:auto;min-width:0}._7D6uKa_tagManageMerge{color:var(--dsw-alias-label-tertiary);flex:1 0 100%;font-size:12px}._7D6uKa_modalBody{flex-direction:column;gap:8px;min-height:0;display:flex;overflow-y:auto}._7D6uKa_modalBody>*{flex:none}._7D6uKa_formSection{border:1px solid var(--dsw-alias-separator-primary);border-radius:10px;flex-direction:column;display:flex;overflow:visible}._7D6uKa_formSectionHeader{box-sizing:border-box;width:100%;min-height:28px;color:var(--dsw-alias-label-primary);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;gap:8px;padding:6px 10px;font-family:inherit;font-size:12px;font-weight:600;line-height:16px;display:flex;position:relative}._7D6uKa_formSectionHeader:hover{background:var(--dsw-alias-bg-mask-1)}._7D6uKa_formSection[data-open=true] ._7D6uKa_formSectionHeader{border-radius:9px 9px 0 0}._7D6uKa_formSectionHeader:after{content:\"\";width:var(--dsh-tb-hit-size);height:var(--dsh-tb-hit-size);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}._7D6uKa_formSectionChevron{border-top:4px solid #0000;border-bottom:4px solid #0000;border-left:5px solid var(--dsw-alias-label-tertiary);flex:none;width:0;height:0;margin-left:1px;transition:transform .12s}._7D6uKa_formSection[data-open=true] ._7D6uKa_formSectionChevron{transform:rotate(90deg)}._7D6uKa_formSectionTitle{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;min-width:0;overflow:hidden}._7D6uKa_formSectionSummary{min-width:0;color:var(--dsw-alias-label-tertiary);text-align:right;text-overflow:ellipsis;white-space:nowrap;flex:0 auto;margin-left:auto;font-weight:400;overflow:hidden}._7D6uKa_formSectionBody{border-top:1px solid var(--dsw-alias-separator-primary);flex-direction:column;gap:8px;padding:8px 10px 10px;display:flex}._7D6uKa_field{flex-direction:column;gap:5px;display:flex}._7D6uKa_fieldLabel{color:var(--dsw-alias-label-secondary);font-size:12px;font-weight:600}._7D6uKa_input{box-sizing:border-box;min-height:var(--dsh-tb-control-h);color:var(--dsw-alias-label-primary);background:var(--dsw-specific-input-major);border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsh-tb-control-radius);resize:vertical;outline:none;padding:6px 10px;font-family:inherit;font-size:13px}._7D6uKa_input:focus{border-color:var(--dsw-alias-state-business-primary)}._7D6uKa_select{box-sizing:border-box;height:var(--dsh-tb-control-h);color:var(--dsw-alias-label-primary);background:var(--dsw-specific-input-major);border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsh-tb-control-radius);outline:none;max-width:100%;padding:0 10px;font-family:inherit;font-size:13px}._7D6uKa_input::placeholder{color:var(--dsw-alias-label-tertiary)}._7D6uKa_formError{color:var(--dsw-alias-state-error-primary);margin:0;font-size:12px}._7D6uKa_detail{background:var(--dsw-alias-bg-base);border:1px solid var(--dsw-alias-border-l2);width:min(960px,100vw - 48px);max-height:calc(100vh - 80px);box-shadow:var(--dsw-shadow-lv3);color:var(--dsw-alias-label-primary);border-radius:14px;flex-direction:column;display:flex;overflow:hidden}._7D6uKa_detailHeader{z-index:1;border-bottom:1px solid var(--dsw-alias-separator-primary);flex:none;align-items:center;gap:8px;padding:16px 24px;display:flex;position:relative}._7D6uKa_detailTitle{overflow-wrap:anywhere;flex:1;min-width:0;margin:0;font-size:15px;font-weight:700;line-height:1.4}._7D6uKa_statusBadge{border:1px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-secondary);border-radius:999px;flex:none;padding:2px 10px;font-size:12px}._7D6uKa_statusBadge[data-status=running]{color:var(--dsw-alias-state-warn-primary);border-color:var(--dsw-alias-state-warn-primary)}._7D6uKa_statusBadge[data-status=done]{color:var(--dsw-alias-state-success-primary);border-color:var(--dsw-alias-state-success-primary)}._7D6uKa_statusBadge[data-status=failed]{color:var(--dsw-alias-state-error-primary);border-color:var(--dsw-alias-state-error-primary)}._7D6uKa_detailBody{flex-direction:column;flex:1;gap:16px;min-height:0;padding:16px 24px 24px;display:flex;overflow-y:auto}._7D6uKa_detailColumns{grid-template-columns:minmax(0,1fr);align-items:start;gap:24px;display:grid}._7D6uKa_detailColumn{flex-direction:column;gap:16px;min-width:0;display:flex}._7D6uKa_detailFolds{flex-direction:column;gap:8px;min-width:0;display:flex}@media (width>=1024px){._7D6uKa_detailColumns{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}}._7D6uKa_detailSection{flex-direction:column;gap:8px;min-width:0;display:flex}._7D6uKa_detailSection h4{color:var(--dsw-alias-label-secondary);margin:0;font-size:12px;font-weight:700}._7D6uKa_detailText{color:var(--dsw-alias-label-primary);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.55}._7D6uKa_detailBody ._7D6uKa_scheduleInput,._7D6uKa_detailBody ._7D6uKa_schedulePreset,._7D6uKa_detailBody ._7D6uKa_promptBlock{font-size:13px}._7D6uKa_detailBody ._7D6uKa_scheduleZone,._7D6uKa_detailBody ._7D6uKa_scheduleMeta,._7D6uKa_detailBody ._7D6uKa_cardTag{font-size:12px}._7D6uKa_scheduleToggle{color:var(--dsw-alias-label-primary);cursor:pointer;user-select:none;align-items:center;gap:8px;font-size:13px;display:flex}._7D6uKa_scheduleToggle input{accent-color:var(--dsw-alias-state-business-primary)}._7D6uKa_scheduleRow{align-items:center;gap:8px;display:flex}._7D6uKa_scheduleInput{min-width:0;font-family:var(--dsw-font-markdown-code-block-small);flex:1}._7D6uKa_scheduleInputInvalid,._7D6uKa_scheduleInputInvalid:focus{border-color:var(--dsw-alias-state-error-primary)}._7D6uKa_schedulePreset{box-sizing:border-box;height:var(--dsh-tb-control-h);color:var(--dsw-alias-label-primary);background:var(--dsw-specific-input-major);border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsh-tb-control-radius);outline:none;flex:none;padding:0 8px}._7D6uKa_scheduleZone{color:var(--dsw-alias-label-secondary);align-items:center;gap:8px;display:flex}._7D6uKa_scheduleZone select{flex:1;min-width:0}._7D6uKa_scheduleMeta{color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere;margin:0}._7D6uKa_promptBlock{line-height:1.5;font-family:var(--dsw-font-markdown-code-block-small);color:var(--dsw-alias-label-primary);background:var(--dsw-alias-markdown-code-block);border:1px solid var(--dsw-alias-border-l1);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:8px;max-height:240px;margin:0;padding:10px 12px;overflow-y:auto}._7D6uKa_clampBody{position:relative}._7D6uKa_clampBody[data-clamped=true]{max-height:160px;overflow:hidden}._7D6uKa_clampBody[data-clamped=true]:after{content:\"\";pointer-events:none;background:linear-gradient(to bottom, transparent, var(--dsw-alias-bg-base));height:44px;position:absolute;bottom:0;left:0;right:0}._7D6uKa_clampToggle{align-self:flex-start}._7D6uKa_executionLog{flex-direction:column;gap:8px;min-width:0;display:flex}._7D6uKa_executionList{flex-direction:column;gap:8px;min-width:0;margin:0;padding:0;list-style:none;display:flex}._7D6uKa_executionExtra{flex-direction:column;gap:8px;min-width:0;display:flex}._7D6uKa_executionRow{border:1px solid var(--dsw-alias-border-l1);border-radius:8px;flex-direction:column;gap:8px;min-width:0;padding:10px 12px;display:flex}._7D6uKa_executionRowHead{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}._7D6uKa_executionRowEvidence{flex-direction:column;gap:6px;min-width:0;display:flex}._7D6uKa_executionBadge{color:var(--dsw-alias-state-warn-primary);background:var(--dsw-alias-state-warn-secondary);border-radius:999px;flex:none;padding:1px 8px;font-size:12px;font-weight:600;line-height:18px}._7D6uKa_executionBadge[data-result=succeeded]{color:var(--dsw-alias-state-success-primary);background:var(--dsw-alias-state-success-secondary)}._7D6uKa_executionBadge[data-result=failed]{color:var(--dsw-alias-state-error-primary);background:var(--dsw-alias-state-error-secondary)}._7D6uKa_executionBadge[data-result=cancelled]{color:var(--dsw-alias-label-secondary);background:var(--dsw-alias-interactive-bg-hover)}._7D6uKa_executionTimes{color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere;font-size:12px;line-height:1.5}._7D6uKa_executionError{color:var(--dsw-alias-state-error-primary);overflow-wrap:anywhere;font-size:12px;line-height:1.5}._7D6uKa_executionSession{color:var(--dsw-alias-state-business-primary);cursor:pointer;white-space:nowrap;background:0 0;border:none;align-items:center;gap:4px;margin-left:auto;padding:0 2px;font-family:inherit;font-size:12px;display:inline-flex;position:relative}._7D6uKa_executionSession:after{content:\"\";width:100%;height:var(--dsh-tb-hit-size);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}._7D6uKa_executionSession:hover{text-decoration:underline}._7D6uKa_executionDisclosure{align-self:flex-start;align-items:center;gap:6px;display:inline-flex}._7D6uKa_disclosureChevron{width:5px;height:5px;transition:transform .12s var(--dsh-tb-ease);border-bottom:1.5px solid;border-right:1.5px solid;flex:none;transform:rotate(45deg)}._7D6uKa_disclosureChevron[data-open=true]{transform:rotate(225deg)}._7D6uKa_verifyReport{flex-direction:column;gap:8px;min-width:0;display:flex}._7D6uKa_verifyBadge{max-width:100%;color:var(--dsw-alias-label-secondary);background:var(--dsw-alias-interactive-bg-hover);border:1px solid var(--dsw-alias-border-l2);cursor:pointer;border-radius:999px;align-self:flex-start;align-items:center;gap:6px;padding:2px 10px;font-family:inherit;font-size:12px;font-weight:600;line-height:18px;display:inline-flex;position:relative}._7D6uKa_verifyBadge:after{content:\"\";height:var(--dsh-tb-hit-size);position:absolute;top:50%;left:0;right:0;transform:translateY(-50%)}._7D6uKa_verifyBadge[data-tone=warn]{color:var(--dsw-alias-state-warn-primary);background:var(--dsw-alias-state-warn-secondary);border-color:#0000}._7D6uKa_verifyBadge[data-tone=success]{color:var(--dsw-alias-state-success-primary);background:var(--dsw-alias-state-success-secondary);border-color:#0000}._7D6uKa_verifyBadge[data-tone=error]{color:var(--dsw-alias-state-error-primary);background:var(--dsw-alias-state-error-secondary);border-color:#0000}._7D6uKa_verifyVerdict{overflow-wrap:anywhere;font-weight:700}._7D6uKa_verifyPanel{background:var(--dsw-alias-bg-layer-2);border:1px solid var(--dsw-alias-border-l1);border-radius:8px;flex-direction:column;gap:8px;min-width:0;padding:10px 12px;display:flex}._7D6uKa_attemptRow{background:var(--dsw-alias-bg-base);border:1px solid var(--dsw-alias-border-l1);border-radius:8px;flex-direction:column;gap:6px;min-width:0;padding:8px 10px;display:flex}._7D6uKa_attemptHead{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}._7D6uKa_referenceList{flex-direction:column;gap:6px;min-width:0;margin:0;padding:0;list-style:none;display:flex}._7D6uKa_referenceRow{color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere;font-size:12px}._7D6uKa_menuRoot{flex:none;display:inline-flex;position:relative}._7D6uKa_menuChevron{width:5px;height:5px;transition:transform .12s var(--dsh-tb-ease);border-bottom:1.5px solid;border-right:1.5px solid;flex:none;margin-top:-3px;transform:rotate(45deg)}._7D6uKa_menuChevron[data-open=true]{margin-top:0;transform:rotate(225deg)}._7D6uKa_menuPanel{z-index:20;background:var(--dsw-alias-bg-base);border:1px solid var(--dsw-alias-border-l2);min-width:180px;box-shadow:var(--dsw-shadow-lv2);border-radius:10px;flex-direction:column;padding:4px;display:flex;position:absolute;top:calc(100% + 4px);left:0}._7D6uKa_detailHeader ._7D6uKa_menuPanel{left:auto;right:0}._7D6uKa_menuItem{min-height:var(--dsh-tb-hit-size);color:var(--dsw-alias-label-primary);cursor:pointer;text-align:left;white-space:nowrap;background:0 0;border:none;border-radius:8px;align-items:center;padding:0 10px;font-family:inherit;font-size:13px;display:flex}._7D6uKa_menuItem:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover)}._7D6uKa_menuItem:disabled{opacity:.45;cursor:default}._7D6uKa_detailFooter{border-top:1px solid var(--dsw-alias-separator-primary);flex:none;align-items:center;gap:8px;padding:16px 24px;display:flex}._7D6uKa_detailMeta{color:var(--dsw-alias-label-tertiary);overflow-wrap:anywhere;font-size:12px}._7D6uKa_detailFooter>._7D6uKa_detailMeta{margin-left:0}._7D6uKa_detailStamp{text-align:end;margin-left:auto}._7D6uKa_executionExtra,._7D6uKa_verifyPanel,._7D6uKa_detailBody ._7D6uKa_formSectionBody{animation:_7D6uKa_dshTbRowsIn var(--dsh-tb-motion-enter) var(--dsh-tb-ease) both}._7D6uKa_executionExtra[data-execution-fold=closing],._7D6uKa_verifyPanel[data-state=closing],._7D6uKa_detailBody ._7D6uKa_formSectionBody[data-state=closing]{animation:_7D6uKa_dshTbRowsOut var(--dsh-tb-motion-close) var(--dsh-tb-ease) both}._7D6uKa_formSectionBody{animation:_7D6uKa_dshTbRowsIn var(--dsh-tb-motion-enter) var(--dsh-tb-ease) both}._7D6uKa_formSectionBody[data-state=closing]{animation:_7D6uKa_dshTbRowsOut var(--dsh-tb-motion-close) var(--dsh-tb-ease) both}@keyframes _7D6uKa_dshTbRowsIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}@keyframes _7D6uKa_dshTbRowsOut{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-6px)}}@keyframes _7D6uKa_dshTbFadeIn{0%{opacity:0}to{opacity:1}}@keyframes _7D6uKa_dshTbFadeOut{0%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion:reduce){._7D6uKa_executionExtra,._7D6uKa_verifyPanel,._7D6uKa_detailBody ._7D6uKa_formSectionBody{animation:_7D6uKa_dshTbFadeIn var(--dsh-tb-motion-close) linear both}._7D6uKa_executionExtra[data-execution-fold=closing],._7D6uKa_verifyPanel[data-state=closing],._7D6uKa_detailBody ._7D6uKa_formSectionBody[data-state=closing]{animation:_7D6uKa_dshTbFadeOut var(--dsh-tb-motion-close) linear both}._7D6uKa_formSectionBody{animation:_7D6uKa_dshTbFadeIn var(--dsh-tb-motion-close) linear both}._7D6uKa_formSectionBody[data-state=closing]{animation:_7D6uKa_dshTbFadeOut var(--dsh-tb-motion-close) linear both}}._7D6uKa_detailBody ._7D6uKa_formSection{min-width:0;overflow:visible}._7D6uKa_detailBody ._7D6uKa_formSectionHeader{box-sizing:border-box;border-radius:9px;min-height:28px;padding:4px 10px;font-size:12px;line-height:16px;position:relative}._7D6uKa_detailBody ._7D6uKa_formSection[data-open=true] ._7D6uKa_formSectionHeader{border-radius:9px 9px 0 0}._7D6uKa_detailBody ._7D6uKa_formSectionHeader:after{content:\"\";width:var(--dsh-tb-hit-size);height:var(--dsh-tb-hit-size);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}._7D6uKa_detailBody ._7D6uKa_formSectionTitle{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;min-width:0;overflow:hidden}._7D6uKa_detailBody ._7D6uKa_formSectionSummary{flex:0 auto;min-width:0;margin-left:auto}._7D6uKa_detailBody ._7D6uKa_formSectionBody{gap:8px}@container _7D6uKa_task-board-view (width<=768px){._7D6uKa_board{gap:10px;padding:10px}._7D6uKa_boardHeader{flex-wrap:wrap;align-items:center;gap:8px}._7D6uKa_backButton{flex:none}._7D6uKa_boardTitle{flex:auto}._7D6uKa_boardHeader>._7D6uKa_detailMeta{flex:1 0 100%;margin-left:0}._7D6uKa_boardTools{flex-wrap:wrap;flex:1 0 100%;justify-content:flex-start;margin-left:0}._7D6uKa_boardTools>._7D6uKa_search{flex:1 0 100%;min-width:0}._7D6uKa_boardTools>._7D6uKa_projectFilter{flex:auto;min-width:0}._7D6uKa_boardTools>button{flex:1 1 0;min-width:0}._7D6uKa_columns{scroll-snap-type:inline mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;grid-auto-columns:86cqw;gap:10px;padding-inline:2px 14cqw;scroll-padding-inline:2px}._7D6uKa_columns::-webkit-scrollbar{display:none}._7D6uKa_column{scroll-snap-align:start;scroll-snap-stop:always}}@container _7D6uKa_task-board-view (width<=720px){._7D6uKa_boardHeader>._7D6uKa_detailMeta{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}}@container _7D6uKa_task-board-view (width<=600px){._7D6uKa_board{padding-inline:8px}}@media (width<=768px){[data-dsh-taskboard-view]{height:100dvh}._7D6uKa_card,._7D6uKa_primaryButton,._7D6uKa_ghostButton,._7D6uKa_dangerButton,._7D6uKa_iconButton,._7D6uKa_linkButton,._7D6uKa_search,._7D6uKa_input,._7D6uKa_select,._7D6uKa_schedulePreset,._7D6uKa_scheduleToggle{min-height:44px}._7D6uKa_search,._7D6uKa_input,._7D6uKa_select,._7D6uKa_schedulePreset{box-sizing:border-box;font-size:16px}._7D6uKa_modalBackdrop{justify-content:stretch;align-items:stretch;width:100vw;height:100dvh}._7D6uKa_modal,._7D6uKa_detail{box-sizing:border-box;border:0;border-radius:0;width:100vw;height:100dvh;max-height:none}._7D6uKa_modal{padding-top:max(16px, env(safe-area-inset-top));padding-right:max(16px, env(safe-area-inset-right));padding-bottom:max(16px, env(safe-area-inset-bottom));padding-left:max(16px, env(safe-area-inset-left))}._7D6uKa_modalFooter{z-index:1;background:var(--dsw-alias-bg-base);flex-wrap:wrap;padding-top:8px;position:sticky;bottom:0}._7D6uKa_modalFooter>button{flex:120px}._7D6uKa_detailHeader{padding-top:max(16px, env(safe-area-inset-top));padding-right:max(16px, env(safe-area-inset-right));padding-left:max(16px, env(safe-area-inset-left));flex-wrap:wrap}._7D6uKa_detailTitle{min-width:0}._7D6uKa_detailColumns{grid-template-columns:minmax(0,1fr);gap:16px}._7D6uKa_detailColumn{gap:16px}._7D6uKa_detailBody{overscroll-behavior-y:contain;padding-right:max(16px, env(safe-area-inset-right));padding-left:max(16px, env(safe-area-inset-left))}._7D6uKa_detailFooter{padding-right:max(16px, env(safe-area-inset-right));padding-bottom:max(16px, env(safe-area-inset-bottom));padding-left:max(16px, env(safe-area-inset-left));flex-wrap:wrap}._7D6uKa_menuPanel{min-width:200px}._7D6uKa_detailFooter>button{flex:96px}._7D6uKa_detailFooter>._7D6uKa_detailMeta{text-align:end;flex:1 0 100%;margin-left:0}._7D6uKa_scheduleRow{flex-direction:column;align-items:stretch}._7D6uKa_schedulePreset{width:100%}}._7D6uKa_primaryButton:focus-visible,._7D6uKa_ghostButton:focus-visible,._7D6uKa_dangerButton:focus-visible,._7D6uKa_iconButton:focus-visible,._7D6uKa_linkButton:focus-visible,._7D6uKa_menuItem:focus-visible,._7D6uKa_verifyBadge:focus-visible,._7D6uKa_executionSession:focus-visible,._7D6uKa_search:focus-visible,._7D6uKa_input:focus-visible,._7D6uKa_select:focus-visible,._7D6uKa_schedulePreset:focus-visible,._7D6uKa_scheduleToggle input:focus-visible,._7D6uKa_formSectionHeader:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:2px}._7D6uKa_primaryButton,._7D6uKa_ghostButton,._7D6uKa_dangerButton,._7D6uKa_iconButton,._7D6uKa_linkButton,._7D6uKa_menuItem,._7D6uKa_verifyBadge,._7D6uKa_executionSession,._7D6uKa_search,._7D6uKa_input,._7D6uKa_select,._7D6uKa_schedulePreset,._7D6uKa_scheduleToggle input,._7D6uKa_formSectionHeader,._7D6uKa_formSectionChevron{transition:background-color .12s,color .12s,border-color .12s,outline-color .12s,box-shadow .12s,transform .12s}._7D6uKa_card:active{box-shadow:var(--dsw-shadow-lv1);transform:translateY(0)}._7D6uKa_primaryButton:active:not(:disabled),._7D6uKa_ghostButton:active:not(:disabled),._7D6uKa_dangerButton:active:not(:disabled),._7D6uKa_iconButton:active:not(:disabled),._7D6uKa_linkButton:active:not(:disabled){transform:translateY(1px)}._7D6uKa_iconButton:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}._7D6uKa_linkButton:hover:not(:disabled){text-decoration:underline}._7D6uKa_iconButton:disabled,._7D6uKa_linkButton:disabled{opacity:.45;cursor:default}._7D6uKa_search:focus,._7D6uKa_select:focus,._7D6uKa_schedulePreset:focus{border-color:var(--dsw-alias-state-business-primary)}._7D6uKa_scheduleToggle input{margin:0}@media (prefers-reduced-motion:reduce){._7D6uKa_card,._7D6uKa_primaryButton,._7D6uKa_ghostButton,._7D6uKa_dangerButton,._7D6uKa_iconButton,._7D6uKa_linkButton,._7D6uKa_menuItem,._7D6uKa_verifyBadge,._7D6uKa_executionSession,._7D6uKa_disclosureChevron,._7D6uKa_menuChevron,._7D6uKa_search,._7D6uKa_input,._7D6uKa_select,._7D6uKa_schedulePreset,._7D6uKa_scheduleToggle input,._7D6uKa_formSectionHeader,._7D6uKa_formSectionChevron{transition:none}._7D6uKa_cardSpinner{animation:none}._7D6uKa_modalBackdrop,._7D6uKa_modal,._7D6uKa_detail{animation:_7D6uKa_dshTbBackdropIn var(--dsh-tb-motion-close) linear both}._7D6uKa_modalBackdrop[data-state=closing],._7D6uKa_modalBackdrop[data-state=closing] ._7D6uKa_modal,._7D6uKa_modalBackdrop[data-state=closing] ._7D6uKa_detail{animation:_7D6uKa_dshTbBackdropOut var(--dsh-tb-motion-close) linear both}}._7D6uKa_cardTags{flex-wrap:wrap;gap:4px;display:flex}._7D6uKa_cardTags:empty{display:none}._7D6uKa_cardTag{border:1px solid var(--dsh-task-tag-border);background:var(--dsh-task-tag-fill);max-width:100%;color:var(--dsw-alias-label-primary);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;padding:0 8px;font-size:12px;line-height:1.5;overflow:hidden}._7D6uKa_tagFilter{flex-wrap:wrap;flex:none;align-items:center;gap:8px;margin:0;display:flex}._7D6uKa_tagFilterLabel{color:var(--dsw-alias-label-tertiary);font-size:12px}._7D6uKa_tagChip{border:1px solid var(--dsh-task-tag-border);color:var(--dsw-alias-label-secondary);cursor:pointer;font-family:inherit;font-size:12px;line-height:var(--dsh-tb-card-row);background:0 0;border-radius:999px;padding:1px 9px;position:relative}._7D6uKa_tagChip:after{content:\"\";width:var(--dsh-tb-hit-size);height:var(--dsh-tb-hit-size);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}._7D6uKa_tagChip:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:2px}._7D6uKa_tagChip[data-active=true]{background:var(--dsh-task-tag-fill);color:var(--dsw-alias-label-primary)}._7D6uKa_cardTag[data-tag-tone=\"0\"],._7D6uKa_tagChip[data-tag-tone=\"0\"]{--dsh-task-tag-fill:#4e93e82e;--dsh-task-tag-border:#4e93e866}._7D6uKa_cardTag[data-tag-tone=\"1\"],._7D6uKa_tagChip[data-tag-tone=\"1\"]{--dsh-task-tag-fill:#2ea36a2e;--dsh-task-tag-border:#2ea36a66}._7D6uKa_cardTag[data-tag-tone=\"2\"],._7D6uKa_tagChip[data-tag-tone=\"2\"]{--dsh-task-tag-fill:#d08a2a2e;--dsh-task-tag-border:#d08a2a66}._7D6uKa_cardTag[data-tag-tone=\"3\"],._7D6uKa_tagChip[data-tag-tone=\"3\"]{--dsh-task-tag-fill:#b456c82e;--dsh-task-tag-border:#b456c866}._7D6uKa_cardTag[data-tag-tone=\"4\"],._7D6uKa_tagChip[data-tag-tone=\"4\"]{--dsh-task-tag-fill:#cf5f7a2e;--dsh-task-tag-border:#cf5f7a66}._7D6uKa_cardTag[data-tag-tone=\"5\"],._7D6uKa_tagChip[data-tag-tone=\"5\"]{--dsh-task-tag-fill:#4a9fb52e;--dsh-task-tag-border:#4a9fb566}._7D6uKa_fieldHint{color:var(--dsw-alias-label-tertiary);margin:0;font-size:12px;line-height:1.4}._7D6uKa_tagRow{align-items:center;gap:6px;display:flex}._7D6uKa_tagRow ._7D6uKa_input{flex:1 1 0;min-width:0}._7D6uKa_tagRow ._7D6uKa_ghostButton{flex:none}._7D6uKa_tagAddButton{align-self:flex-start}._7D6uKa_projectFilter{flex:none;align-items:center;gap:6px;display:flex}._7D6uKa_projectFilterLabel{color:var(--dsw-alias-label-secondary);white-space:nowrap;font-size:12px}._7D6uKa_projectDialog{background:var(--dsw-alias-bg-layer-2);border:1px solid var(--dsw-alias-border-l2);border-radius:10px;flex-direction:column;flex:none;gap:8px;margin-bottom:8px;padding:10px 12px;display:flex}._7D6uKa_projectDialogActions{justify-content:flex-end;gap:8px;display:flex}._7D6uKa_aiParse{background:var(--dsw-alias-bg-layer-2);border:1px solid var(--dsw-alias-border-l2);border-radius:10px;flex-direction:column;gap:6px;padding:10px 12px;display:flex}._7D6uKa_aiParseRow{align-items:center;gap:8px;display:flex}._7D6uKa_aiParseRow ._7D6uKa_select{flex:1 1 0;min-width:0}._7D6uKa_aiParseRow ._7D6uKa_ghostButton,._7D6uKa_aiParseRow ._7D6uKa_primaryButton{flex:none}._7D6uKa_cardSubtask{background:var(--dsw-alias-interactive-bg-hover);max-width:100%;color:var(--dsw-alias-label-secondary);font-size:12px;line-height:var(--dsh-tb-card-row);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;padding:0 8px;overflow:hidden}._7D6uKa_cardSubtask[data-tone=failed]{color:var(--dsw-alias-state-error-primary);background:var(--dsw-alias-state-error-secondary)}._7D6uKa_cardSubtask[data-tone=running]{color:var(--dsw-alias-state-warn-primary);background:var(--dsw-alias-state-warn-secondary)}._7D6uKa_cardSubtask[data-tone=done]{color:var(--dsw-alias-state-success-primary);background:var(--dsw-alias-state-success-secondary)}._7D6uKa_subtaskList{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}._7D6uKa_subtaskRow{border:1px solid var(--dsw-alias-border-l1);border-radius:8px;flex-wrap:wrap;align-items:center;gap:10px;padding:6px 10px;display:flex}._7D6uKa_subtaskRow ._7D6uKa_linkButton:first-child{text-align:left;overflow-wrap:anywhere;flex:auto;min-width:0}._7D6uKa_subtaskAddRow{flex-wrap:wrap;gap:8px;display:flex}._7D6uKa_pickList{flex-direction:column;gap:6px;max-height:320px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}._7D6uKa_pickRow{border:1px solid var(--dsw-alias-border-l1);border-radius:8px;align-items:center;gap:10px;padding:6px 10px;display:flex}._7D6uKa_pickTitle{min-width:0;color:var(--dsw-alias-label-primary);overflow-wrap:anywhere;flex:auto;font-size:13px}";
4337
4406
  const tagId$3 = "@linxin666/dsh-client-ui-task-board/packages/dsh-task-board/src/client/board.module.css";
4338
4407
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$3) + "]") === null) {
4339
4408
  const tag = document.createElement("style");
@@ -4345,6 +4414,8 @@ window.__ModuleLoader__.load({
4345
4414
  var board_module_css_default = {
4346
4415
  "aiParse": "_7D6uKa_aiParse",
4347
4416
  "aiParseRow": "_7D6uKa_aiParseRow",
4417
+ "attemptHead": "_7D6uKa_attemptHead",
4418
+ "attemptRow": "_7D6uKa_attemptRow",
4348
4419
  "backButton": "_7D6uKa_backButton",
4349
4420
  "board": "_7D6uKa_board",
4350
4421
  "boardHeader": "_7D6uKa_boardHeader",
@@ -4360,11 +4431,17 @@ window.__ModuleLoader__.load({
4360
4431
  "cardKind": "_7D6uKa_cardKind",
4361
4432
  "cardMeta": "_7D6uKa_cardMeta",
4362
4433
  "cardOpen": "_7D6uKa_cardOpen",
4434
+ "cardResult": "_7D6uKa_cardResult",
4363
4435
  "cardRun": "_7D6uKa_cardRun",
4364
4436
  "cardRunningLabel": "_7D6uKa_cardRunningLabel",
4437
+ "cardRuns": "_7D6uKa_cardRuns",
4365
4438
  "cardSchedule": "_7D6uKa_cardSchedule",
4366
4439
  "cardSession": "_7D6uKa_cardSession",
4367
4440
  "cardSpinner": "_7D6uKa_cardSpinner",
4441
+ "cardSpinnerSlot": "_7D6uKa_cardSpinnerSlot",
4442
+ "cardStatus": "_7D6uKa_cardStatus",
4443
+ "cardStatusText": "_7D6uKa_cardStatusText",
4444
+ "cardStatusTrail": "_7D6uKa_cardStatusTrail",
4368
4445
  "cardSubtask": "_7D6uKa_cardSubtask",
4369
4446
  "cardTag": "_7D6uKa_cardTag",
4370
4447
  "cardTags": "_7D6uKa_cardTags",
@@ -4385,21 +4462,36 @@ window.__ModuleLoader__.load({
4385
4462
  "densityToggle": "_7D6uKa_densityToggle",
4386
4463
  "detail": "_7D6uKa_detail",
4387
4464
  "detailBody": "_7D6uKa_detailBody",
4465
+ "detailColumn": "_7D6uKa_detailColumn",
4466
+ "detailColumns": "_7D6uKa_detailColumns",
4467
+ "detailFolds": "_7D6uKa_detailFolds",
4388
4468
  "detailFooter": "_7D6uKa_detailFooter",
4389
4469
  "detailHeader": "_7D6uKa_detailHeader",
4390
4470
  "detailMeta": "_7D6uKa_detailMeta",
4391
4471
  "detailSection": "_7D6uKa_detailSection",
4472
+ "detailStamp": "_7D6uKa_detailStamp",
4392
4473
  "detailText": "_7D6uKa_detailText",
4393
4474
  "detailTitle": "_7D6uKa_detailTitle",
4475
+ "disclosureChevron": "_7D6uKa_disclosureChevron",
4394
4476
  "dshTbBackdropIn": "_7D6uKa_dshTbBackdropIn",
4395
4477
  "dshTbBackdropOut": "_7D6uKa_dshTbBackdropOut",
4478
+ "dshTbFadeIn": "_7D6uKa_dshTbFadeIn",
4479
+ "dshTbFadeOut": "_7D6uKa_dshTbFadeOut",
4480
+ "dshTbRowsIn": "_7D6uKa_dshTbRowsIn",
4481
+ "dshTbRowsOut": "_7D6uKa_dshTbRowsOut",
4396
4482
  "dshTbSpin": "_7D6uKa_dshTbSpin",
4397
4483
  "dshTbSurfaceIn": "_7D6uKa_dshTbSurfaceIn",
4398
4484
  "dshTbSurfaceOut": "_7D6uKa_dshTbSurfaceOut",
4399
4485
  "executionBadge": "_7D6uKa_executionBadge",
4486
+ "executionDisclosure": "_7D6uKa_executionDisclosure",
4400
4487
  "executionError": "_7D6uKa_executionError",
4488
+ "executionExtra": "_7D6uKa_executionExtra",
4401
4489
  "executionList": "_7D6uKa_executionList",
4490
+ "executionLog": "_7D6uKa_executionLog",
4402
4491
  "executionRow": "_7D6uKa_executionRow",
4492
+ "executionRowEvidence": "_7D6uKa_executionRowEvidence",
4493
+ "executionRowHead": "_7D6uKa_executionRowHead",
4494
+ "executionSession": "_7D6uKa_executionSession",
4403
4495
  "executionTimes": "_7D6uKa_executionTimes",
4404
4496
  "field": "_7D6uKa_field",
4405
4497
  "fieldHint": "_7D6uKa_fieldHint",
@@ -4415,13 +4507,16 @@ window.__ModuleLoader__.load({
4415
4507
  "iconButton": "_7D6uKa_iconButton",
4416
4508
  "input": "_7D6uKa_input",
4417
4509
  "linkButton": "_7D6uKa_linkButton",
4510
+ "menuChevron": "_7D6uKa_menuChevron",
4511
+ "menuItem": "_7D6uKa_menuItem",
4512
+ "menuPanel": "_7D6uKa_menuPanel",
4513
+ "menuRoot": "_7D6uKa_menuRoot",
4418
4514
  "modal": "_7D6uKa_modal",
4419
4515
  "modalBackdrop": "_7D6uKa_modalBackdrop",
4420
4516
  "modalBody": "_7D6uKa_modalBody",
4421
4517
  "modalFooter": "_7D6uKa_modalFooter",
4422
4518
  "modalHeader": "_7D6uKa_modalHeader",
4423
4519
  "modalTitle": "_7D6uKa_modalTitle",
4424
- "moveRow": "_7D6uKa_moveRow",
4425
4520
  "pickList": "_7D6uKa_pickList",
4426
4521
  "pickRow": "_7D6uKa_pickRow",
4427
4522
  "pickTitle": "_7D6uKa_pickTitle",
@@ -4431,6 +4526,8 @@ window.__ModuleLoader__.load({
4431
4526
  "projectFilter": "_7D6uKa_projectFilter",
4432
4527
  "projectFilterLabel": "_7D6uKa_projectFilterLabel",
4433
4528
  "promptBlock": "_7D6uKa_promptBlock",
4529
+ "referenceList": "_7D6uKa_referenceList",
4530
+ "referenceRow": "_7D6uKa_referenceRow",
4434
4531
  "scheduleInput": "_7D6uKa_scheduleInput",
4435
4532
  "scheduleInputInvalid": "_7D6uKa_scheduleInputInvalid",
4436
4533
  "scheduleMeta": "_7D6uKa_scheduleMeta",
@@ -4456,7 +4553,11 @@ window.__ModuleLoader__.load({
4456
4553
  "tagManageName": "_7D6uKa_tagManageName",
4457
4554
  "tagManageRow": "_7D6uKa_tagManageRow",
4458
4555
  "tagRow": "_7D6uKa_tagRow",
4459
- "task-board-view": "_7D6uKa_task-board-view"
4556
+ "task-board-view": "_7D6uKa_task-board-view",
4557
+ "verifyBadge": "_7D6uKa_verifyBadge",
4558
+ "verifyPanel": "_7D6uKa_verifyPanel",
4559
+ "verifyReport": "_7D6uKa_verifyReport",
4560
+ "verifyVerdict": "_7D6uKa_verifyVerdict"
4460
4561
  };
4461
4562
  //#endregion
4462
4563
  //#region src/client/board/icons.tsx
@@ -4986,10 +5087,17 @@ window.__ModuleLoader__.load({
4986
5087
  * region keeps a one-line summary of the values it holds, so nothing is hidden
4987
5088
  * without a trace; a region holding a blocking error is forced open by its
4988
5089
  * owner (forceOpen) rather than reporting the error out of sight.
5090
+ *
5091
+ * The body is the panel fold's body under another name: it enters and leaves on
5092
+ * the same animation pair, and `usePresence` keeps it mounted through the exit
5093
+ * leg so collapsing never snaps.
4989
5094
  */
4990
5095
  function CollapsibleSection({ title, summary, defaultOpen = false, forceOpen = false, children }) {
4991
5096
  const [open, setOpen] = (0, react.useState)(defaultOpen);
5097
+ const panelId = (0, react.useId)();
4992
5098
  const expanded = forceOpen || open;
5099
+ const presence = usePresence(expanded);
5100
+ const fullLine = summary ?? "";
4993
5101
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
4994
5102
  className: board_module_css_default.formSection,
4995
5103
  "data-dsh-part": "form-section",
@@ -4998,6 +5106,8 @@ window.__ModuleLoader__.load({
4998
5106
  type: "button",
4999
5107
  className: board_module_css_default.formSectionHeader,
5000
5108
  "aria-expanded": expanded,
5109
+ "aria-controls": panelId,
5110
+ title: fullLine === "" ? void 0 : fullLine,
5001
5111
  onClick: () => {
5002
5112
  setOpen((value) => !value);
5003
5113
  },
@@ -5015,8 +5125,10 @@ window.__ModuleLoader__.load({
5015
5125
  children: summary
5016
5126
  })
5017
5127
  ]
5018
- }), expanded && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5128
+ }), presence.mounted && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5019
5129
  className: board_module_css_default.formSectionBody,
5130
+ id: panelId,
5131
+ "data-state": presence.phase,
5020
5132
  children
5021
5133
  })]
5022
5134
  });
@@ -5121,7 +5233,7 @@ window.__ModuleLoader__.load({
5121
5233
  }),
5122
5234
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
5123
5235
  type: "button",
5124
- className: board_module_css_default.ghostButton,
5236
+ className: board_module_css_default.iconButton,
5125
5237
  "aria-label": t("new.tagRemove", { name: tag.name }),
5126
5238
  onClick: () => {
5127
5239
  onChange(tags.filter((_, position) => position !== index));
@@ -5248,7 +5360,7 @@ window.__ModuleLoader__.load({
5248
5360
  };
5249
5361
  }
5250
5362
  /** Locale key of the latest settled result shown before the run count. */
5251
- const RESULT_KEY$1 = {
5363
+ const RESULT_KEY = {
5252
5364
  succeeded: "card.result.succeeded",
5253
5365
  failed: "card.result.failed",
5254
5366
  cancelled: "card.result.cancelled"
@@ -7173,7 +7285,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
7173
7285
  const HEADING_COLON = /[:\uFF1A]\s*$/;
7174
7286
  //#endregion
7175
7287
  //#region \0dsh-css:packages/dsh-task-board/src/client/board/task-markdown.module.css.mjs
7176
- const css$2 = ".o4zLLq_markdownRoot{color:var(--dsw-alias-label-primary);overflow-wrap:anywhere;font-size:13px;line-height:1.55}.o4zLLq_markdownRoot>:first-child{margin-top:0}.o4zLLq_markdownRoot>:last-child{margin-bottom:0}.o4zLLq_paragraph{margin:0 0 8px;line-height:1.55}.o4zLLq_heading1,.o4zLLq_heading2,.o4zLLq_heading3,.o4zLLq_heading4,.o4zLLq_heading5,.o4zLLq_heading6{color:var(--dsw-alias-label-primary);margin:12px 0 6px;font-weight:600;line-height:1.35}.o4zLLq_heading1{font-size:16px}.o4zLLq_heading2{font-size:15px}.o4zLLq_heading3{font-size:14px}.o4zLLq_heading4{font-size:13px}.o4zLLq_heading5{font-size:12.5px}.o4zLLq_heading6{font-size:12px}.o4zLLq_list{margin:0 0 8px;padding-left:20px}.o4zLLq_listItem{margin:2px 0}.o4zLLq_taskItem{align-items:baseline;gap:6px;margin-left:-18px;list-style-type:none;display:flex}.o4zLLq_taskCheckbox{cursor:default;vertical-align:middle;margin:0}.o4zLLq_codeBlock{font-size:12px;line-height:1.45;font-family:var(--dsw-font-markdown-code-block-small,monospace);color:var(--dsw-alias-label-primary);background:var(--dsw-alias-markdown-code-block,#0000000d);border:1px solid var(--dsw-alias-border-l1,#0000001a);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:6px;margin:8px 0;padding:8px 10px;overflow-x:auto}.o4zLLq_inlineCode{font-size:12px;font-family:var(--dsw-font-markdown-code-block-small,monospace);color:var(--dsw-alias-label-primary);background:var(--dsw-alias-markdown-code-block,#0000000d);border:1px solid var(--dsw-alias-border-l1,#0000001a);border-radius:4px;padding:1px 4px}.o4zLLq_link{color:var(--dsw-alias-brand-primary,#3b82f6);text-underline-offset:2px;text-decoration:underline}.o4zLLq_link:hover{opacity:.85}.o4zLLq_imagePlaceholder{color:var(--dsw-alias-label-secondary,#666);background:var(--dsw-alias-bg-subtle,#0000000a);border:1px dashed var(--dsw-alias-border-l1,#00000026);border-radius:4px;padding:2px 6px;font-size:11px;display:inline-block}.o4zLLq_blockquote{border-left:3px solid var(--dsw-alias-border-l1,#ccc);color:var(--dsw-alias-label-secondary,#666);margin:8px 0;padding-left:10px}.o4zLLq_table{border-collapse:collapse;width:100%;margin:8px 0;font-size:12.5px}.o4zLLq_table th,.o4zLLq_table td{border:1px solid var(--dsw-alias-border-l1,#0000001a);text-align:left;padding:6px 8px}.o4zLLq_table th{background:var(--dsw-alias-bg-subtle,#00000008);font-weight:600}";
7288
+ const css$2 = ".o4zLLq_markdownRoot{color:var(--dsw-alias-label-primary);overflow-wrap:anywhere;font-size:13px;line-height:1.55}.o4zLLq_markdownRoot>:first-child{margin-top:0}.o4zLLq_markdownRoot>:last-child{margin-bottom:0}.o4zLLq_paragraph{margin:0 0 8px;line-height:1.55}.o4zLLq_heading1,.o4zLLq_heading2,.o4zLLq_heading3,.o4zLLq_heading4,.o4zLLq_heading5,.o4zLLq_heading6{color:var(--dsw-alias-label-primary);margin:12px 0 6px;font-weight:600;line-height:1.35}.o4zLLq_heading1{font-size:16px;font-weight:700}.o4zLLq_heading2{font-size:16px;font-weight:600}.o4zLLq_heading3{font-size:13px;font-weight:600}.o4zLLq_heading4{color:var(--dsw-alias-label-secondary);font-size:13px;font-weight:600}.o4zLLq_heading5{color:var(--dsw-alias-label-secondary);font-size:13px;font-weight:500}.o4zLLq_heading6{color:var(--dsw-alias-label-tertiary);font-size:13px;font-weight:500}.o4zLLq_list{margin:0 0 8px;padding-left:20px}.o4zLLq_listItem{margin:2px 0}.o4zLLq_taskItem{align-items:baseline;gap:6px;margin-left:-18px;list-style-type:none;display:flex}.o4zLLq_taskCheckbox{cursor:default;vertical-align:middle;margin:0}.o4zLLq_codeBlock{font-size:12px;line-height:1.45;font-family:var(--dsw-font-markdown-code-block-small,monospace);color:var(--dsw-alias-label-primary);background:var(--dsw-alias-markdown-code-block,#0000000d);border:1px solid var(--dsw-alias-border-l1,#0000001a);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:6px;margin:8px 0;padding:8px 10px;overflow-x:auto}.o4zLLq_inlineCode{font-size:12px;font-family:var(--dsw-font-markdown-code-block-small,monospace);color:var(--dsw-alias-label-primary);background:var(--dsw-alias-markdown-code-block,#0000000d);border:1px solid var(--dsw-alias-border-l1,#0000001a);border-radius:4px;padding:1px 4px}.o4zLLq_link{color:var(--dsw-alias-brand-primary,#3b82f6);text-underline-offset:2px;text-decoration:underline}.o4zLLq_link:hover{opacity:.85}.o4zLLq_imagePlaceholder{color:var(--dsw-alias-label-secondary,#666);background:var(--dsw-alias-bg-subtle,#0000000a);border:1px dashed var(--dsw-alias-border-l1,#00000026);border-radius:4px;padding:2px 6px;font-size:12px;display:inline-block}.o4zLLq_blockquote{border-left:3px solid var(--dsw-alias-border-l1,#ccc);color:var(--dsw-alias-label-secondary,#666);margin:8px 0;padding-left:10px}.o4zLLq_table{border-collapse:collapse;width:100%;margin:8px 0;font-size:12px}.o4zLLq_table th,.o4zLLq_table td{border:1px solid var(--dsw-alias-border-l1,#0000001a);text-align:left;padding:6px 8px}.o4zLLq_table th{background:var(--dsw-alias-bg-subtle,#00000008);font-weight:600}";
7177
7289
  const tagId$2 = "@linxin666/dsh-client-ui-task-board/packages/dsh-task-board/src/client/board/task-markdown.module.css";
7178
7290
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$2) + "]") === null) {
7179
7291
  const tag = document.createElement("style");
@@ -7478,7 +7590,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
7478
7590
  const latest = outcome.latest;
7479
7591
  const runningKey = verificationRunningKey(latest?.verification);
7480
7592
  const timeline = cardTimeline(task, archived);
7481
- const resultText = latest?.result !== void 0 ? t(RESULT_KEY$1[latest.result]) : "";
7593
+ const resultText = latest?.result !== void 0 ? t(RESULT_KEY[latest.result]) : "";
7482
7594
  const sessionId = latest?.sessionId;
7483
7595
  const tagNames = (task.tags ?? []).map((tag) => tag.name);
7484
7596
  const ariaLabel = [
@@ -7495,6 +7607,30 @@ Please report this to https://github.com/markedjs/marked.`, e) {
7495
7607
  t(timeline.key, { time: formatHostTimestamp(timeline.at, timeZone) }),
7496
7608
  outcome.declared ? t("card.declaredHint") : ""
7497
7609
  ].filter(Boolean).join("\n");
7610
+ const runningLabel = !archived && latest !== void 0 && executionLabel(latest) === "running" ? runningKey !== void 0 ? t(runningKey) : latest.ownResult === void 0 ? t("detail.result.running") : t("detail.subtasks.waiting") : "";
7611
+ const settledResult = archived ? void 0 : latest?.result;
7612
+ const resultPrefix = settledResult === void 0 && !busy && resultText !== "" ? `${resultText} · ` : "";
7613
+ const runLine = latest === void 0 ? void 0 : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
7614
+ className: board_module_css_default.cardRun,
7615
+ "data-dsh-part": "card-run",
7616
+ "data-result": settledResult,
7617
+ "data-declared": outcome.declared || void 0,
7618
+ title: outcome.declared ? t("card.declaredHint") : void 0,
7619
+ children: [settledResult !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
7620
+ className: board_module_css_default.cardResult,
7621
+ "data-result": settledResult,
7622
+ children: resultText
7623
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
7624
+ className: board_module_css_default.cardRuns,
7625
+ children: [
7626
+ resultPrefix,
7627
+ runs,
7628
+ " ",
7629
+ t("board.runs"),
7630
+ outcome.declared ? ` · ${t("card.declared")}` : ""
7631
+ ]
7632
+ })]
7633
+ });
7498
7634
  const sessionMark = sessionId !== void 0 && (onOpenSession !== void 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
7499
7635
  type: "button",
7500
7636
  className: `${board_module_css_default.cardSession} ${board_module_css_default.cardAction}`,
@@ -7561,9 +7697,10 @@ Please report this to https://github.com/markedjs/marked.`, e) {
7561
7697
  children: [
7562
7698
  decoration,
7563
7699
  timeLabel,
7564
- !archived && (busy || pending) && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
7565
- className: board_module_css_default.cardSpinner,
7566
- "aria-hidden": "true"
7700
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
7701
+ className: board_module_css_default.cardSpinnerSlot,
7702
+ "aria-hidden": "true",
7703
+ children: !archived && (busy || pending) && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className: board_module_css_default.cardSpinner })
7567
7704
  })
7568
7705
  ]
7569
7706
  }) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
@@ -7618,35 +7755,32 @@ Please report this to https://github.com/markedjs/marked.`, e) {
7618
7755
  className: board_module_css_default.cardSchedule,
7619
7756
  title: task.schedule.nextRunAt !== void 0 ? `${t(task.schedule.mode === "once" ? "card.scheduledOnce" : "card.scheduled")} · ${formatHostTimestamp(task.schedule.nextRunAt, timeZone)}` : t(task.schedule.mode === "once" ? "card.scheduledOnce" : "card.scheduled"),
7620
7757
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconClock, { size: 12 }), t(task.schedule.mode === "once" ? "card.scheduledOnce" : "card.scheduled")]
7621
- }),
7622
- latest !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
7623
- className: board_module_css_default.cardRun,
7624
- "data-dsh-part": "card-run",
7625
- "data-result": archived || latest.result === void 0 ? void 0 : latest.result,
7626
- "data-declared": outcome.declared || void 0,
7627
- title: outcome.declared ? t("card.declaredHint") : void 0,
7628
- children: [
7629
- !busy && resultText !== "" ? `${resultText} · ` : "",
7630
- runs,
7631
- " ",
7632
- t("board.runs"),
7633
- outcome.declared ? ` · ${t("card.declared")}` : ""
7634
- ]
7635
- }),
7636
- sessionMark,
7637
- !archived && (busy || pending) && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
7638
- className: board_module_css_default.cardSpinner,
7639
- "aria-hidden": "true"
7640
7758
  })
7641
7759
  ]
7642
7760
  }),
7643
- !archived && pending && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
7644
- className: board_module_css_default.cardRunningLabel,
7645
- children: [t("board.pending"), "…"]
7646
- }),
7647
- !archived && latest !== void 0 && executionLabel(latest) === "running" && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
7648
- className: board_module_css_default.cardRunningLabel,
7649
- children: [runningKey !== void 0 ? t(runningKey) : latest.ownResult === void 0 ? t("detail.result.running") : t("detail.subtasks.waiting"), "…"]
7761
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
7762
+ className: board_module_css_default.cardStatus,
7763
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
7764
+ className: board_module_css_default.cardStatusText,
7765
+ children: [
7766
+ !archived && pending && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
7767
+ className: board_module_css_default.cardRunningLabel,
7768
+ children: [t("board.pending"), "…"]
7769
+ }),
7770
+ runningLabel !== "" && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
7771
+ className: board_module_css_default.cardRunningLabel,
7772
+ children: [runningLabel, "…"]
7773
+ }),
7774
+ runLine
7775
+ ]
7776
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
7777
+ className: board_module_css_default.cardStatusTrail,
7778
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
7779
+ className: board_module_css_default.cardSpinnerSlot,
7780
+ "aria-hidden": "true",
7781
+ children: !archived && (busy || pending) && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className: board_module_css_default.cardSpinner })
7782
+ }), sessionMark]
7783
+ })]
7650
7784
  })
7651
7785
  ] })
7652
7786
  ]
@@ -7773,29 +7907,6 @@ Please report this to https://github.com/markedjs/marked.`, e) {
7773
7907
  })] });
7774
7908
  }
7775
7909
  //#endregion
7776
- //#region src/client/board/team-run-promotion.ts
7777
- /**
7778
- * Whether a join would promote this parent: the deployment serves Agent Teams
7779
- * and the parent has not opted in yet.
7780
- * @param controller - the board controller (the snapshot carries both facts).
7781
- * @param parent - the task that gained a subtask, if there is one.
7782
- */
7783
- function parentAwaitsTeamRunPromotion(controller, parent) {
7784
- if (parent === void 0) return false;
7785
- const snapshot = controller.getSnapshot();
7786
- if (snapshot.host?.teamRunAvailable !== true) return false;
7787
- return (snapshot.tasks.find((task) => task.id === parent.id) ?? parent).teamRun !== true;
7788
- }
7789
- /**
7790
- * Opt the parent in after the Host confirmed the join.
7791
- * @returns true when the opt-in was written; false when it did not apply.
7792
- */
7793
- async function promoteParentForTeamRun(controller, parent) {
7794
- if (parent === void 0) return false;
7795
- if (!parentAwaitsTeamRunPromotion(controller, parent)) return false;
7796
- return await controller.updateTask(parent.id, { teamRun: true });
7797
- }
7798
- //#endregion
7799
7910
  //#region src/client/board/NewTaskModal.tsx
7800
7911
  /**
7801
7912
  * New-task modal: title + description + the prompt that execution will send.
@@ -7971,7 +8082,6 @@ Please report this to https://github.com/markedjs/marked.`, e) {
7971
8082
  setError(controller.getSnapshot().transportError ?? t("new.required"));
7972
8083
  return;
7973
8084
  }
7974
- await promoteParentForTeamRun(controller, parentTask);
7975
8085
  if (isDuplicate && archiveOriginal && initialTask !== void 0) if (onDuplicateSuccess !== void 0) await onDuplicateSuccess(initialTask.id);
7976
8086
  else await controller.archiveTask(initialTask.id);
7977
8087
  if (runAfterCreate) {
@@ -8074,7 +8184,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
8074
8184
  children: t("new.aiParseCancel")
8075
8185
  }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
8076
8186
  type: "button",
8077
- className: board_module_css_default.primaryButton,
8187
+ className: board_module_css_default.ghostButton,
8078
8188
  disabled: parseText.trim() === "",
8079
8189
  onClick: () => {
8080
8190
  runParse();
@@ -8089,7 +8199,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
8089
8199
  ]
8090
8200
  })
8091
8201
  }),
8092
- parentTask !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("p", {
8202
+ parentTask !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("p", {
8093
8203
  className: board_module_css_default.detailText,
8094
8204
  "data-dsh-part": "subtask-inherit",
8095
8205
  children: [
@@ -8099,10 +8209,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
8099
8209
  " · ",
8100
8210
  t("new.subtaskInherit")
8101
8211
  ]
8102
- }), parentAwaitsTeamRunPromotion(controller, parentTask) && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
8103
- className: board_module_css_default.detailText,
8104
- children: t("exec.teamRunAutoHint")
8105
- })] }),
8212
+ }) }),
8106
8213
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(CollapsibleSection, {
8107
8214
  title: t("new.section.content"),
8108
8215
  defaultOpen: true,
@@ -8117,7 +8224,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
8117
8224
  onDescriptionChange: setDescription,
8118
8225
  onPromptChange: setPrompt
8119
8226
  }), isDuplicate && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
8120
- className: board_module_css_default.checkboxLabel,
8227
+ className: board_module_css_default.scheduleToggle,
8121
8228
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
8122
8229
  type: "checkbox",
8123
8230
  checked: archiveOriginal,
@@ -8917,7 +9024,6 @@ Please report this to https://github.com/markedjs/marked.`, e) {
8917
9024
  setPending(true);
8918
9025
  setError(void 0);
8919
9026
  if (await controller.setParent(taskId, parent.id)) {
8920
- await promoteParentForTeamRun(controller, parent);
8921
9027
  onClose();
8922
9028
  return;
8923
9029
  }
@@ -8944,10 +9050,6 @@ Please report this to https://github.com/markedjs/marked.`, e) {
8944
9050
  className: board_module_css_default.fieldHint,
8945
9051
  children: t("link.subtask.hint")
8946
9052
  }),
8947
- parentAwaitsTeamRunPromotion(controller, parent) && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
8948
- className: board_module_css_default.fieldHint,
8949
- children: t("exec.teamRunAutoHint")
8950
- }),
8951
9053
  candidates.length === 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
8952
9054
  className: board_module_css_default.detailText,
8953
9055
  children: t("link.subtask.empty")
@@ -8967,7 +9069,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
8967
9069
  }),
8968
9070
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
8969
9071
  type: "button",
8970
- className: board_module_css_default.primaryButton,
9072
+ className: board_module_css_default.ghostButton,
8971
9073
  disabled: pending,
8972
9074
  onClick: () => {
8973
9075
  link(task.id);
@@ -8995,16 +9097,96 @@ Please report this to https://github.com/markedjs/marked.`, e) {
8995
9097
  });
8996
9098
  }
8997
9099
  //#endregion
9100
+ //#region src/client/board/ClampedMarkdown.tsx
9101
+ /**
9102
+ * Clamped markdown body for the detail overlay: a long description or prompt
9103
+ * renders behind a max-height clamp with a fade into the dialog surface and
9104
+ * an expand toggle, so it no longer pushes the execution settings and the
9105
+ * execution history out of view. Content that fits the clamp renders
9106
+ * untouched — no toggle, no fade, no extra markup behaviour.
9107
+ */
9108
+ /**
9109
+ * Clamp height used when the stylesheet is unavailable to the runtime (unit
9110
+ * tests). The rendered value lives on `.clampBody[data-clamped='true']` in
9111
+ * board.module.css and is read back through getComputedStyle, so the CSS
9112
+ * stays the single source of the geometry.
9113
+ */
9114
+ const CLAMP_FALLBACK_PX = 160;
9115
+ function ClampedMarkdown({ source }) {
9116
+ const [expanded, setExpanded] = (0, react.useState)(false);
9117
+ const [overflowing, setOverflowing] = (0, react.useState)(false);
9118
+ const bodyRef = (0, react.useRef)(null);
9119
+ (0, react.useEffect)(() => {
9120
+ setExpanded(false);
9121
+ }, [source]);
9122
+ (0, react.useEffect)(() => {
9123
+ const node = bodyRef.current;
9124
+ if (node === null) return;
9125
+ const measure = () => {
9126
+ const declared = Number.parseFloat(getComputedStyle(node).maxHeight);
9127
+ const clamp = Number.isFinite(declared) ? declared : CLAMP_FALLBACK_PX;
9128
+ setOverflowing(node.scrollHeight > clamp + 1);
9129
+ };
9130
+ measure();
9131
+ if (typeof ResizeObserver === "undefined") return;
9132
+ const observer = new ResizeObserver(measure);
9133
+ observer.observe(node);
9134
+ return () => {
9135
+ observer.disconnect();
9136
+ };
9137
+ }, [source, expanded]);
9138
+ const clamped = overflowing && !expanded;
9139
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
9140
+ ref: bodyRef,
9141
+ className: board_module_css_default.clampBody,
9142
+ "data-clamped": clamped,
9143
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TaskMarkdown, { source })
9144
+ }), overflowing && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
9145
+ type: "button",
9146
+ className: `${board_module_css_default.linkButton} ${board_module_css_default.clampToggle}`,
9147
+ "aria-expanded": expanded,
9148
+ onClick: () => {
9149
+ setExpanded(!expanded);
9150
+ },
9151
+ children: expanded ? t("detail.collapse") : t("detail.expand")
9152
+ })] });
9153
+ }
9154
+ //#endregion
9155
+ //#region src/core/workspace-target.ts
9156
+ /**
9157
+ * The failure text the Host records when a card names no workspace and the
9158
+ * deployment has none to resolve it to: the run is refused before any session
9159
+ * exists instead of letting `session.create` fall back to the Host process
9160
+ * working directory (the desktop app's profile directory), which is never the
9161
+ * project the user meant.
9162
+ *
9163
+ * A finished sentence rather than a code: the ledger stores it as the
9164
+ * execution's failure text, which the agent tools serve to a model and which
9165
+ * any client prints verbatim. It names the fix, not the mechanism.
9166
+ */
9167
+ const MISSING_WORKSPACE_REASON = "this card pins no workspace; choose a workspace on the card before running";
9168
+ /**
9169
+ * Whether a recorded failure text is the missing-workspace refusal, which the
9170
+ * browser half renders in the reader's own language.
9171
+ * @param reason - the execution's recorded failure text.
9172
+ * @returns true when that run was refused for naming no workspace.
9173
+ */
9174
+ function isMissingWorkspaceReason(reason) {
9175
+ return reason === MISSING_WORKSPACE_REASON;
9176
+ }
9177
+ //#endregion
8998
9178
  //#region src/client/board/VerificationReport.tsx
8999
9179
  /**
9000
9180
  * One execution's goal-acceptance report.
9001
9181
  *
9002
9182
  * Rendered inside the execution-history row, so a rerun or a scheduled run
9003
9183
  * keeps its OWN report and a later cycle never overwrites an earlier verdict.
9004
- * It shows what the board decided and the evidence it decided on: the verdict,
9005
- * the judge route and reasoning level, the acceptance count, the total and
9006
- * per-criterion scores against their threshold, the findings the judge located,
9007
- * the evidence scope with its truncation, and the token usage.
9184
+ * The row itself only carries the verdict: the judge route, the acceptance
9185
+ * count, the per-criterion scores and their threshold, the findings, the
9186
+ * evidence scope and the token usage sit behind one disclosure, because the
9187
+ * same machine explanation repeated on all thirty-four rows of a card was what
9188
+ * buried the row a reader needed. Expanding it shows every field the board
9189
+ * decided on — nothing is dropped, only folded.
9008
9190
  *
9009
9191
  * Deliberately adds no new `data-dsh-part` value: the part enum is owned by the
9010
9192
  * cross-repository semantic-attribute contract, and this report reuses the
@@ -9033,6 +9215,21 @@ Please report this to https://github.com/markedjs/marked.`, e) {
9033
9215
  failed: "verify.status.failed",
9034
9216
  invalid: "verify.status.invalidHeld"
9035
9217
  };
9218
+ /**
9219
+ * Board phase → the badge's colour slot. One slot per meaning instead of one
9220
+ * per phase: a phase that is still running reads as a warning, a refused
9221
+ * acceptance reads as a failure, and an acceptance that never applied reads as
9222
+ * neutral — never as a pass.
9223
+ */
9224
+ const PHASE_TONE = {
9225
+ off: "neutral",
9226
+ executing: "warn",
9227
+ verifying: "warn",
9228
+ repairing: "error",
9229
+ passed: "success",
9230
+ failed: "error",
9231
+ invalid: "error"
9232
+ };
9036
9233
  /** Evidence location → locale key, for one structured finding's citation. */
9037
9234
  const LOCATION_KEY = {
9038
9235
  task: "verify.location.task",
@@ -9059,28 +9256,34 @@ Please report this to https://github.com/markedjs/marked.`, e) {
9059
9256
  exception: "verify.cleanup.stage.exception",
9060
9257
  budget: "verify.cleanup.stage.budget"
9061
9258
  };
9259
+ /** Stable key for one finding row. */
9260
+ function findingKey(attempt, index) {
9261
+ return attempt.at.toString(36) + "-" + String(index);
9262
+ }
9062
9263
  /** One recorded attempt: a quality verdict, an invalid veto, an anomaly, or a budget stop. */
9063
9264
  function AttemptRow({ attempt, detailRemoved }) {
9064
9265
  const invalid = attempt.stage === "invalid";
9065
9266
  const exception = attempt.stage !== "quality" && !invalid;
9066
9267
  const result = exception ? "failed" : attempt.passed ? "succeeded" : "failed";
9067
9268
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("li", {
9068
- className: board_module_css_default.executionRow,
9269
+ className: board_module_css_default.attemptRow,
9069
9270
  "data-result": result,
9070
9271
  children: [
9071
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9072
- className: board_module_css_default.executionBadge,
9073
- "data-result": result,
9074
- children: invalid ? t("verify.status.invalid") : exception ? t("verify.status.exception") : attempt.passed ? t("verify.status.passed") : t("verify.status.failed")
9075
- }),
9076
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
9077
- className: board_module_css_default.executionTimes,
9078
- children: [
9079
- invalid ? t("verify.attemptInvalid", { index: String(attempt.index) }) : exception ? t("verify.attemptException", { index: String(attempt.index) }) : t("verify.attempt", { index: String(attempt.index) }),
9080
- " · ",
9081
- routeLabel(attempt),
9082
- !exception && !invalid && " · " + t("verify.rounds", { rounds: String(attempt.rounds) })
9083
- ]
9272
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
9273
+ className: board_module_css_default.attemptHead,
9274
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9275
+ className: board_module_css_default.executionBadge,
9276
+ "data-result": result,
9277
+ children: invalid ? t("verify.status.invalid") : exception ? t("verify.status.exception") : attempt.passed ? t("verify.status.passed") : t("verify.status.failed")
9278
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
9279
+ className: board_module_css_default.executionTimes,
9280
+ children: [
9281
+ invalid ? t("verify.attemptInvalid", { index: String(attempt.index) }) : exception ? t("verify.attemptException", { index: String(attempt.index) }) : t("verify.attempt", { index: String(attempt.index) }),
9282
+ " · ",
9283
+ routeLabel(attempt),
9284
+ !exception && !invalid && " · " + t("verify.rounds", { rounds: String(attempt.rounds) })
9285
+ ]
9286
+ })]
9084
9287
  }),
9085
9288
  invalid && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9086
9289
  className: board_module_css_default.executionTimes,
@@ -9166,85 +9369,6 @@ Please report this to https://github.com/markedjs/marked.`, e) {
9166
9369
  ]
9167
9370
  });
9168
9371
  }
9169
- /** Stable key for one finding row. */
9170
- function findingKey(attempt, index) {
9171
- return attempt.at.toString(36) + "-" + String(index);
9172
- }
9173
- /**
9174
- * Render one execution's acceptance report.
9175
- * @param props - the execution's persisted acceptance block.
9176
- * @returns the report, or nothing when acceptance never applied.
9177
- */
9178
- function VerificationReport({ verification }) {
9179
- const phase = verificationPhase(verification);
9180
- if (phase === "off" && verification.contract.enabled === false && verification.applicability !== "skipped") return null;
9181
- const totals = verificationTotals(verification);
9182
- const route = verification.contract.route;
9183
- const applicabilityKey = verification.applicability === "disabled" ? "verify.applicability.disabled" : verification.applicability === "skipped" ? "verify.applicability.skipped" : verification.applicability === "goal-unavailable" ? "verify.applicability.goalUnavailable" : verification.applicability === "goal-disabled" ? "verify.applicability.goalDisabled" : verification.applicability === "team-member" ? "verify.applicability.teamMember" : void 0;
9184
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
9185
- className: board_module_css_default.executionTimes,
9186
- children: [
9187
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
9188
- className: board_module_css_default.executionBadge,
9189
- "data-result": phase === "passed" ? "succeeded" : phase === "failed" ? "failed" : void 0,
9190
- children: [
9191
- t("verify.title"),
9192
- " · ",
9193
- t(PHASE_STATUS_KEY[phase])
9194
- ]
9195
- }),
9196
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9197
- className: board_module_css_default.executionTimes,
9198
- children: t("verify.invalidCounts", {
9199
- quality: String(qualityAttempts(verification).length),
9200
- max: String(2),
9201
- invalid: String(invalidAttempts(verification).length),
9202
- maxInvalid: String(2),
9203
- exceptions: String(exceptionAttempts(verification).length)
9204
- })
9205
- }),
9206
- route !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9207
- className: board_module_css_default.executionTimes,
9208
- children: verification.contract.modelSource === "inherit" ? t("verify.judgeInherited", { model: route.provider + "/" + route.model }) : t(route.reasoningEffort === void 0 || route.reasoningEffort === "" ? "verify.judgeNoEffort" : "verify.judge", {
9209
- model: route.provider + "/" + route.model,
9210
- ...route.reasoningEffort === void 0 ? {} : { effort: route.reasoningEffort }
9211
- })
9212
- }),
9213
- verification.contract.effortFallback !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9214
- className: board_module_css_default.executionTimes,
9215
- children: t("verify.effortFallback", {
9216
- requested: verification.contract.effortFallback.requested,
9217
- resolved: verification.contract.effortFallback.resolved ?? t("settings.goalVerificationResolvedNoEffort")
9218
- })
9219
- }),
9220
- applicabilityKey !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9221
- className: board_module_css_default.executionTimes,
9222
- children: t(applicabilityKey)
9223
- }),
9224
- verification.failedReason !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9225
- className: board_module_css_default.executionTimes,
9226
- children: t("verify.finalFailure", { reason: verification.failedReason })
9227
- }),
9228
- totals.calls > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
9229
- className: board_module_css_default.executionTimes,
9230
- children: [t("verify.usage", {
9231
- calls: String(totals.calls),
9232
- input: String(totals.inputTokens),
9233
- output: String(totals.outputTokens),
9234
- reasoning: String(totals.reasoningTokens)
9235
- }), totals.usageIncomplete ? t("verify.usageIncomplete") : ""]
9236
- }),
9237
- verification.attempts.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
9238
- className: board_module_css_default.executionList,
9239
- children: [...verification.attempts].reverse().map((attempt) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AttemptRow, {
9240
- attempt,
9241
- detailRemoved: verification.cleanup?.state === "cleaned"
9242
- }, attempt.at.toString(36) + "-" + attempt.stage + "-" + String(attempt.index)))
9243
- }),
9244
- verification.cleanup !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CleanupNotice, { cleanup: verification.cleanup })
9245
- ]
9246
- });
9247
- }
9248
9372
  /**
9249
9373
  * Retention notice of one execution's acceptance detail.
9250
9374
  *
@@ -9275,127 +9399,367 @@ Please report this to https://github.com/markedjs/marked.`, e) {
9275
9399
  }, record.at.toString(36) + "-" + record.stage + "-" + String(index)))
9276
9400
  })] });
9277
9401
  }
9278
- //#endregion
9279
- //#region src/client/board/ClampedMarkdown.tsx
9280
- /**
9281
- * Clamped markdown body for the detail overlay: a long description or prompt
9282
- * renders behind a max-height clamp with a fade into the dialog surface and
9283
- * an expand toggle, so it no longer pushes the execution settings and the
9284
- * execution history out of view. Content that fits the clamp renders
9285
- * untouched — no toggle, no fade, no extra markup behaviour.
9286
- */
9287
9402
  /**
9288
- * Clamp height used when the stylesheet is unavailable to the runtime (unit
9289
- * tests). The rendered value lives on `.clampBody[data-clamped='true']` in
9290
- * board.module.css and is read back through getComputedStyle, so the CSS
9291
- * stays the single source of the geometry.
9403
+ * Render one execution's acceptance report.
9404
+ * @param props - the execution's persisted acceptance block.
9405
+ * @returns the verdict badge with its fold-out detail, or nothing when
9406
+ * acceptance never applied.
9292
9407
  */
9293
- const CLAMP_FALLBACK_PX = 160;
9294
- function ClampedMarkdown({ source }) {
9408
+ function VerificationReport({ verification }) {
9295
9409
  const [expanded, setExpanded] = (0, react.useState)(false);
9296
- const [overflowing, setOverflowing] = (0, react.useState)(false);
9297
- const bodyRef = (0, react.useRef)(null);
9298
- (0, react.useEffect)(() => {
9299
- setExpanded(false);
9300
- }, [source]);
9301
- (0, react.useEffect)(() => {
9302
- const node = bodyRef.current;
9303
- if (node === null) return;
9304
- const measure = () => {
9305
- const declared = Number.parseFloat(getComputedStyle(node).maxHeight);
9306
- const clamp = Number.isFinite(declared) ? declared : CLAMP_FALLBACK_PX;
9307
- setOverflowing(node.scrollHeight > clamp + 1);
9308
- };
9309
- measure();
9310
- if (typeof ResizeObserver === "undefined") return;
9311
- const observer = new ResizeObserver(measure);
9312
- observer.observe(node);
9313
- return () => {
9314
- observer.disconnect();
9315
- };
9316
- }, [source, expanded]);
9317
- const clamped = overflowing && !expanded;
9318
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
9319
- ref: bodyRef,
9320
- className: board_module_css_default.clampBody,
9321
- "data-clamped": clamped,
9322
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TaskMarkdown, { source })
9323
- }), overflowing && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
9324
- type: "button",
9325
- className: `${board_module_css_default.linkButton} ${board_module_css_default.clampToggle}`,
9326
- "aria-expanded": expanded,
9327
- onClick: () => {
9328
- setExpanded(!expanded);
9329
- },
9330
- children: expanded ? t("detail.collapse") : t("detail.expand")
9331
- })] });
9332
- }
9333
- //#endregion
9334
- //#region src/client/board/TaskDetail.tsx
9335
- /**
9336
- * Task detail: the full view of one task — content, prompt, execution
9337
- * history — and the only place execution can be triggered. Also offers
9338
- * delete (with confirmation), manual status moves, and a jump to the
9339
- * execution's session transcript.
9340
- */
9341
- /** Execution outcome → locale key. */
9342
- const RESULT_KEY = {
9343
- succeeded: "detail.result.succeeded",
9344
- failed: "detail.result.failed",
9345
- cancelled: "detail.result.cancelled"
9346
- };
9347
- /** One execution-history row. */
9348
- function ExecutionRow({ execution, timeZone, onOpen }) {
9349
- const result = execution.result;
9350
- const external = execution.external === true;
9351
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("li", {
9352
- className: board_module_css_default.executionRow,
9353
- "data-result": result,
9354
- "data-external": external ? "true" : void 0,
9355
- children: [
9356
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9357
- className: board_module_css_default.executionBadge,
9358
- "data-result": result,
9359
- children: result === void 0 ? t("detail.result.running") : t(RESULT_KEY[result])
9360
- }),
9361
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
9362
- className: board_module_css_default.executionTimes,
9363
- children: [
9364
- t("detail.executionStarted"),
9365
- " ",
9366
- formatTime(execution.startedAt, timeZone),
9367
- execution.endedAt !== void 0 && ` · ${t("detail.executionEnded")} ${formatTime(execution.endedAt, timeZone)}`
9368
- ]
9369
- }),
9370
- external && execution.initiatedBy !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9371
- className: board_module_css_default.executionTimes,
9372
- title: execution.initiatedBy,
9373
- children: t("detail.execution.external", { agent: execution.initiatedBy })
9410
+ const presence = usePresence(expanded);
9411
+ const panelId = (0, react.useId)();
9412
+ const phase = verificationPhase(verification);
9413
+ if (phase === "off" && verification.contract.enabled === false && verification.applicability !== "skipped") return null;
9414
+ const totals = verificationTotals(verification);
9415
+ const route = verification.contract.route;
9416
+ const applicabilityKey = verification.applicability === "disabled" ? "verify.applicability.disabled" : verification.applicability === "skipped" ? "verify.applicability.skipped" : verification.applicability === "goal-unavailable" ? "verify.applicability.goalUnavailable" : verification.applicability === "goal-disabled" ? "verify.applicability.goalDisabled" : verification.applicability === "team-member" ? "verify.applicability.teamMember" : void 0;
9417
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
9418
+ className: board_module_css_default.verifyReport,
9419
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
9420
+ type: "button",
9421
+ className: board_module_css_default.verifyBadge,
9422
+ "data-tone": PHASE_TONE[phase],
9423
+ "aria-expanded": expanded,
9424
+ "aria-controls": panelId,
9425
+ onClick: () => {
9426
+ setExpanded(!expanded);
9427
+ },
9428
+ children: [
9429
+ t("verify.title"),
9430
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9431
+ className: board_module_css_default.verifyVerdict,
9432
+ children: t(PHASE_STATUS_KEY[phase])
9433
+ }),
9434
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9435
+ className: board_module_css_default.disclosureChevron,
9436
+ "data-open": expanded,
9437
+ "aria-hidden": "true"
9438
+ })
9439
+ ]
9440
+ }), presence.mounted && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
9441
+ className: board_module_css_default.verifyPanel,
9442
+ id: panelId,
9443
+ "data-state": presence.phase,
9444
+ children: [
9445
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9446
+ className: board_module_css_default.executionTimes,
9447
+ children: t("verify.invalidCounts", {
9448
+ quality: String(qualityAttempts(verification).length),
9449
+ max: String(2),
9450
+ invalid: String(invalidAttempts(verification).length),
9451
+ maxInvalid: String(2),
9452
+ exceptions: String(exceptionAttempts(verification).length)
9453
+ })
9454
+ }),
9455
+ route !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9456
+ className: board_module_css_default.executionTimes,
9457
+ children: verification.contract.modelSource === "inherit" ? t("verify.judgeInherited", { model: route.provider + "/" + route.model }) : t(route.reasoningEffort === void 0 || route.reasoningEffort === "" ? "verify.judgeNoEffort" : "verify.judge", {
9458
+ model: route.provider + "/" + route.model,
9459
+ ...route.reasoningEffort === void 0 ? {} : { effort: route.reasoningEffort }
9460
+ })
9461
+ }),
9462
+ verification.contract.effortFallback !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9463
+ className: board_module_css_default.executionTimes,
9464
+ children: t("verify.effortFallback", {
9465
+ requested: verification.contract.effortFallback.requested,
9466
+ resolved: verification.contract.effortFallback.resolved ?? t("settings.goalVerificationResolvedNoEffort")
9467
+ })
9468
+ }),
9469
+ applicabilityKey !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9470
+ className: board_module_css_default.executionTimes,
9471
+ children: t(applicabilityKey)
9472
+ }),
9473
+ verification.failedReason !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9474
+ className: board_module_css_default.executionTimes,
9475
+ children: t("verify.finalFailure", { reason: verification.failedReason })
9476
+ }),
9477
+ totals.calls > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
9478
+ className: board_module_css_default.executionTimes,
9479
+ children: [t("verify.usage", {
9480
+ calls: String(totals.calls),
9481
+ input: String(totals.inputTokens),
9482
+ output: String(totals.outputTokens),
9483
+ reasoning: String(totals.reasoningTokens)
9484
+ }), totals.usageIncomplete ? t("verify.usageIncomplete") : ""]
9485
+ }),
9486
+ verification.attempts.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
9487
+ className: board_module_css_default.executionList,
9488
+ children: [...verification.attempts].reverse().map((attempt) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AttemptRow, {
9489
+ attempt,
9490
+ detailRemoved: verification.cleanup?.state === "cleaned"
9491
+ }, attempt.at.toString(36) + "-" + attempt.stage + "-" + String(attempt.index)))
9492
+ }),
9493
+ verification.cleanup !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CleanupNotice, { cleanup: verification.cleanup })
9494
+ ]
9495
+ })]
9496
+ });
9497
+ }
9498
+ /** Execution outcome → locale key, shared with the history's folded summary. */
9499
+ const EXECUTION_RESULT_KEY = {
9500
+ succeeded: "detail.result.succeeded",
9501
+ failed: "detail.result.failed",
9502
+ cancelled: "detail.result.cancelled"
9503
+ };
9504
+ /** One execution-history row: identity on the head line, evidence below it. */
9505
+ function ExecutionRow({ execution, timeZone, onOpen }) {
9506
+ const result = execution.result;
9507
+ const external = execution.external === true;
9508
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("li", {
9509
+ className: board_module_css_default.executionRow,
9510
+ "data-result": result,
9511
+ "data-execution-id": execution.id,
9512
+ "data-external": external ? "true" : void 0,
9513
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
9514
+ className: board_module_css_default.executionRowHead,
9515
+ children: [
9516
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9517
+ className: board_module_css_default.executionBadge,
9518
+ "data-result": result,
9519
+ children: result === void 0 ? t("detail.result.running") : t(EXECUTION_RESULT_KEY[result])
9520
+ }),
9521
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
9522
+ className: board_module_css_default.executionTimes,
9523
+ children: [
9524
+ t("detail.executionStarted"),
9525
+ " ",
9526
+ formatTime(execution.startedAt, timeZone),
9527
+ execution.endedAt !== void 0 && ` · ${t("detail.executionEnded")} ${formatTime(execution.endedAt, timeZone)}`
9528
+ ]
9529
+ }),
9530
+ execution.sessionId !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
9531
+ type: "button",
9532
+ className: board_module_css_default.executionSession,
9533
+ onClick: () => {
9534
+ onOpen(execution.sessionId);
9535
+ },
9536
+ title: execution.sessionId,
9537
+ children: [t("detail.viewSession"), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconSession, { size: 13 })]
9538
+ })
9539
+ ]
9540
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
9541
+ className: board_module_css_default.executionRowEvidence,
9542
+ children: [
9543
+ external && execution.initiatedBy !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9544
+ className: board_module_css_default.executionTimes,
9545
+ title: execution.initiatedBy,
9546
+ children: t("detail.execution.external", { agent: execution.initiatedBy })
9547
+ }),
9548
+ !external && execution.initiatedBy !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9549
+ className: board_module_css_default.executionTimes,
9550
+ title: execution.initiatedBy,
9551
+ children: t("detail.execution.initiator", { session: execution.initiatedBy })
9552
+ }),
9553
+ execution.verification !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(VerificationReport, { verification: execution.verification }),
9554
+ execution.error !== void 0 && execution.error !== "" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9555
+ className: board_module_css_default.executionError,
9556
+ children: isMissingWorkspaceReason(execution.error) ? t("exec.error.noWorkspace") : execution.error
9557
+ })
9558
+ ]
9559
+ })]
9560
+ });
9561
+ }
9562
+ /**
9563
+ * Render one card's execution history.
9564
+ * @param props - the card's executions, its time zone and the session jump.
9565
+ * @returns the newest rows, the disclosure for the rest, and nothing else.
9566
+ */
9567
+ function ExecutionLog({ executions, timeZone, onOpenSession }) {
9568
+ const [expanded, setExpanded] = (0, react.useState)(false);
9569
+ const presence = usePresence(expanded);
9570
+ const logId = (0, react.useId)();
9571
+ const recent = [...executions].reverse();
9572
+ const visible = recent.slice(0, 5);
9573
+ const older = recent.slice(5);
9574
+ const row = (execution) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ExecutionRow, {
9575
+ execution,
9576
+ timeZone,
9577
+ onOpen: onOpenSession
9578
+ }, execution.id);
9579
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
9580
+ className: board_module_css_default.executionLog,
9581
+ id: logId,
9582
+ children: [
9583
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
9584
+ className: board_module_css_default.executionList,
9585
+ children: visible.map(row)
9374
9586
  }),
9375
- !external && execution.initiatedBy !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9376
- className: board_module_css_default.executionTimes,
9377
- title: execution.initiatedBy,
9378
- children: t("detail.execution.initiator", { session: execution.initiatedBy })
9587
+ older.length > 0 && presence.mounted && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
9588
+ className: board_module_css_default.executionExtra,
9589
+ "data-execution-fold": presence.phase,
9590
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
9591
+ className: board_module_css_default.executionList,
9592
+ children: older.map(row)
9593
+ })
9379
9594
  }),
9380
- execution.verification !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(VerificationReport, { verification: execution.verification }),
9381
- execution.sessionId !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
9595
+ older.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
9382
9596
  type: "button",
9383
- className: board_module_css_default.linkButton,
9597
+ className: `${board_module_css_default.linkButton} ${board_module_css_default.executionDisclosure}`,
9598
+ "aria-expanded": expanded,
9599
+ "aria-controls": logId,
9384
9600
  onClick: () => {
9385
- onOpen(execution.sessionId);
9601
+ setExpanded(!expanded);
9386
9602
  },
9387
- title: execution.sessionId,
9388
- children: [t("detail.viewSession"), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconSession, { size: 13 })]
9389
- }),
9390
- execution.error !== void 0 && execution.error !== "" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9391
- className: board_module_css_default.executionError,
9392
- children: execution.error
9603
+ children: [expanded ? t("detail.collapse") : t("detail.execution.showAll", { count: String(recent.length) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9604
+ className: board_module_css_default.disclosureChevron,
9605
+ "data-open": expanded,
9606
+ "aria-hidden": "true"
9607
+ })]
9393
9608
  })
9394
9609
  ]
9395
9610
  });
9396
9611
  }
9612
+ //#endregion
9613
+ //#region src/client/board/TaskDetail.tsx
9614
+ /**
9615
+ * Task detail: the full view of one task — content, prompt, execution
9616
+ * history — and the only place execution can be triggered. Also offers
9617
+ * delete (with confirmation), manual status moves, and a jump to the
9618
+ * execution's session transcript.
9619
+ */
9620
+ /**
9621
+ * A compact action menu: one trigger on the panel's control track, the choices
9622
+ * only while it is open, Escape or an outside press to close, and focus back on
9623
+ * the trigger afterwards. The panel's dialog owns Escape on `document` in the
9624
+ * capture phase, so the menu answers from the window leg of the same event —
9625
+ * otherwise the press would close the whole detail view under the menu.
9626
+ */
9627
+ function ActionMenu({ label, items, disabled }) {
9628
+ const [open, setOpen] = (0, react.useState)(false);
9629
+ const rootRef = (0, react.useRef)(null);
9630
+ const triggerRef = (0, react.useRef)(null);
9631
+ const menuRef = (0, react.useRef)(null);
9632
+ const menuId = (0, react.useId)();
9633
+ /** Close the menu; a keyboard user gets the trigger back instead of the document body. */
9634
+ const close = (0, react.useCallback)((restoreFocus) => {
9635
+ setOpen(false);
9636
+ if (restoreFocus) triggerRef.current?.focus();
9637
+ }, []);
9638
+ (0, react.useEffect)(() => {
9639
+ if (!open) return;
9640
+ const onKeyDown = (event) => {
9641
+ if (event.key !== "Escape") return;
9642
+ event.stopPropagation();
9643
+ setOpen(false);
9644
+ triggerRef.current?.focus();
9645
+ };
9646
+ const onPointerDown = (event) => {
9647
+ const root = rootRef.current;
9648
+ if (root !== null && event.target instanceof Node && root.contains(event.target)) return;
9649
+ setOpen(false);
9650
+ };
9651
+ window.addEventListener("keydown", onKeyDown, true);
9652
+ document.addEventListener("mousedown", onPointerDown, true);
9653
+ return () => {
9654
+ window.removeEventListener("keydown", onKeyDown, true);
9655
+ document.removeEventListener("mousedown", onPointerDown, true);
9656
+ };
9657
+ }, [open]);
9658
+ (0, react.useEffect)(() => {
9659
+ if (!open) return;
9660
+ menuRef.current?.querySelector("[role=\"menuitem\"]:not([disabled])")?.focus();
9661
+ }, [open]);
9662
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
9663
+ className: board_module_css_default.menuRoot,
9664
+ ref: rootRef,
9665
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
9666
+ ref: triggerRef,
9667
+ type: "button",
9668
+ className: board_module_css_default.ghostButton,
9669
+ "aria-haspopup": "menu",
9670
+ "aria-expanded": open,
9671
+ "aria-controls": menuId,
9672
+ disabled,
9673
+ onClick: () => {
9674
+ setOpen(!open);
9675
+ },
9676
+ children: [label, /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9677
+ className: board_module_css_default.menuChevron,
9678
+ "data-open": open,
9679
+ "aria-hidden": "true"
9680
+ })]
9681
+ }), open && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
9682
+ ref: menuRef,
9683
+ id: menuId,
9684
+ className: board_module_css_default.menuPanel,
9685
+ role: "menu",
9686
+ "aria-label": label,
9687
+ children: items.map((item) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
9688
+ type: "button",
9689
+ role: "menuitem",
9690
+ className: board_module_css_default.menuItem,
9691
+ disabled: item.disabled,
9692
+ title: item.title,
9693
+ onClick: () => {
9694
+ close(true);
9695
+ item.onSelect();
9696
+ },
9697
+ children: item.label
9698
+ }, item.key))
9699
+ })]
9700
+ });
9701
+ }
9702
+ /**
9703
+ * One folded region of the detail panel.
9704
+ *
9705
+ * It reuses the task form's region contract verbatim — `.formSection`, the
9706
+ * chevron drawn from borders, the one-line summary, `data-open`, the
9707
+ * `data-dsh-part="form-section"` part the semantic-attribute contract already
9708
+ * owns — and adds the two things a panel fold needs that a dialog region does
9709
+ * not: an `aria-controls` target and a paired exit leg (`usePresence` keeps the
9710
+ * body mounted until the close has run). The panel cannot reach into the form
9711
+ * module to extend its copy, so the shape is mirrored here rather than forked
9712
+ * into a third disclosure style.
9713
+ */
9714
+ function FoldSection({ title, summary, hint, children }) {
9715
+ const [open, setOpen] = (0, react.useState)(false);
9716
+ const presence = usePresence(open);
9717
+ const panelId = (0, react.useId)();
9718
+ const headerRef = (0, react.useRef)(null);
9719
+ const fullLine = hint ?? summary;
9720
+ const toggle = () => {
9721
+ if (open) {
9722
+ const body = panelId === "" ? null : document.getElementById(panelId);
9723
+ if (body !== null && body.contains(document.activeElement)) headerRef.current?.focus();
9724
+ }
9725
+ setOpen(!open);
9726
+ };
9727
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
9728
+ className: board_module_css_default.formSection,
9729
+ "data-dsh-part": "form-section",
9730
+ "data-open": open ? "true" : void 0,
9731
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
9732
+ ref: headerRef,
9733
+ type: "button",
9734
+ className: board_module_css_default.formSectionHeader,
9735
+ "aria-expanded": open,
9736
+ "aria-controls": panelId,
9737
+ title: fullLine === "" ? void 0 : fullLine,
9738
+ onClick: toggle,
9739
+ children: [
9740
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9741
+ className: board_module_css_default.formSectionChevron,
9742
+ "aria-hidden": "true"
9743
+ }),
9744
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9745
+ className: board_module_css_default.formSectionTitle,
9746
+ children: title
9747
+ }),
9748
+ !open && summary !== "" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9749
+ className: board_module_css_default.formSectionSummary,
9750
+ children: summary
9751
+ })
9752
+ ]
9753
+ }), presence.mounted && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
9754
+ className: board_module_css_default.formSectionBody,
9755
+ id: panelId,
9756
+ "data-state": presence.phase,
9757
+ children
9758
+ })]
9759
+ });
9760
+ }
9397
9761
  /** The execution-target editor: workspace / mode / permission pickers. */
9398
- function ExecutionSettingsSection({ controller, task, pending, executionOptions, teamRunAvailable, goalRunEnabled }) {
9762
+ function ExecutionSettingsSection({ controller, task, pending, executionOptions, goalRunEnabled }) {
9399
9763
  const options = executionOptions;
9400
9764
  const models = options.models ?? [];
9401
9765
  const workspaceId = task.workspaceId ?? "";
@@ -9406,13 +9770,19 @@ Please report this to https://github.com/markedjs/marked.`, e) {
9406
9770
  const workspaceKnown = workspaceId === "" || options.workspaces.some((item) => item.workspaceId === workspaceId);
9407
9771
  const modeKnown = mode === "" || options.presets.some((item) => item.id === mode);
9408
9772
  const modelKnown = model === "" || models.some((item) => item.id === model);
9773
+ const advancedOn = [];
9774
+ if (task.reuseSession === true) advancedOn.push(t("detail.settings.summary.reuseSession"));
9775
+ if (task.goalRun === true) advancedOn.push(t("detail.settings.summary.goal"));
9776
+ if (task.skipVerification === true) advancedOn.push(t("detail.settings.summary.skipVerification"));
9777
+ const advancedSummary = advancedOn.length === 0 ? t("detail.settings.summary.none") : advancedOn.join(" · ");
9409
9778
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
9410
9779
  className: board_module_css_default.detailSection,
9411
9780
  children: [
9412
9781
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h4", { children: t("detail.executionSettings") }),
9413
9782
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
9414
9783
  className: board_module_css_default.detailText,
9415
- children: t("exec.hint")
9784
+ title: t("exec.hint"),
9785
+ children: t("exec.hint.short")
9416
9786
  }),
9417
9787
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
9418
9788
  className: board_module_css_default.field,
@@ -9538,69 +9908,64 @@ Please report this to https://github.com/markedjs/marked.`, e) {
9538
9908
  controller.updateTask(task.id, { reasoningEffort: effort });
9539
9909
  }
9540
9910
  }),
9541
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
9542
- className: board_module_css_default.scheduleToggle,
9543
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
9544
- type: "checkbox",
9545
- checked: task.reuseSession === true,
9546
- disabled: pending,
9547
- onChange: (event) => {
9548
- controller.updateTask(task.id, { reuseSession: event.target.checked });
9549
- }
9550
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: t("exec.reuseSession") })]
9551
- }),
9552
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
9553
- className: board_module_css_default.detailText,
9554
- children: t("exec.reuseSessionHint")
9555
- }),
9556
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
9557
- className: board_module_css_default.scheduleToggle,
9558
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
9559
- type: "checkbox",
9560
- checked: task.goalRun === true,
9561
- disabled: pending,
9562
- onChange: (event) => {
9563
- controller.updateTask(task.id, { goalRun: event.target.checked });
9564
- }
9565
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: t("exec.goalRun") })]
9566
- }),
9567
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
9568
- className: board_module_css_default.detailText,
9569
- children: t("exec.goalRunHint")
9570
- }),
9571
- !goalRunEnabled && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
9572
- className: board_module_css_default.detailText,
9573
- children: t("settings.goalRunGlobalDisabledTaskOption")
9574
- }),
9575
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
9576
- className: board_module_css_default.scheduleToggle,
9577
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
9578
- type: "checkbox",
9579
- checked: task.skipVerification === true,
9580
- disabled: pending,
9581
- onChange: (event) => {
9582
- controller.updateTask(task.id, { skipVerification: event.target.checked });
9583
- }
9584
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: t("exec.skipVerification") })]
9585
- }),
9586
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
9587
- className: board_module_css_default.detailText,
9588
- children: t("exec.skipVerificationHint")
9589
- }),
9590
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
9591
- className: board_module_css_default.scheduleToggle,
9592
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
9593
- type: "checkbox",
9594
- checked: task.teamRun === true,
9595
- disabled: pending || !teamRunAvailable,
9596
- onChange: (event) => {
9597
- controller.updateTask(task.id, { teamRun: event.target.checked });
9598
- }
9599
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: t("exec.teamRun") })]
9600
- }),
9601
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
9602
- className: board_module_css_default.detailText,
9603
- children: teamRunAvailable ? t("exec.teamRunHint") : t("exec.teamRunUnavailable")
9911
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(FoldSection, {
9912
+ title: t("detail.settings.advanced"),
9913
+ summary: advancedSummary,
9914
+ children: [
9915
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
9916
+ className: board_module_css_default.scheduleToggle,
9917
+ title: t("exec.reuseSessionHint"),
9918
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
9919
+ type: "checkbox",
9920
+ checked: task.reuseSession === true,
9921
+ disabled: pending,
9922
+ onChange: (event) => {
9923
+ controller.updateTask(task.id, { reuseSession: event.target.checked });
9924
+ }
9925
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: t("exec.reuseSession") })]
9926
+ }),
9927
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
9928
+ className: board_module_css_default.detailMeta,
9929
+ children: t("exec.reuseSessionHint.short")
9930
+ }),
9931
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
9932
+ className: board_module_css_default.scheduleToggle,
9933
+ title: t("exec.goalRunHint"),
9934
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
9935
+ type: "checkbox",
9936
+ checked: task.goalRun === true,
9937
+ disabled: pending,
9938
+ onChange: (event) => {
9939
+ controller.updateTask(task.id, { goalRun: event.target.checked });
9940
+ }
9941
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: t("exec.goalRun") })]
9942
+ }),
9943
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
9944
+ className: board_module_css_default.detailMeta,
9945
+ children: t("exec.goalRunHint.short")
9946
+ }),
9947
+ !goalRunEnabled && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
9948
+ className: board_module_css_default.detailMeta,
9949
+ title: t("settings.goalRunGlobalDisabledTaskOption"),
9950
+ children: t("exec.goalRunGlobalOff")
9951
+ }),
9952
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
9953
+ className: board_module_css_default.scheduleToggle,
9954
+ title: t("exec.skipVerificationHint"),
9955
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
9956
+ type: "checkbox",
9957
+ checked: task.skipVerification === true,
9958
+ disabled: pending,
9959
+ onChange: (event) => {
9960
+ controller.updateTask(task.id, { skipVerification: event.target.checked });
9961
+ }
9962
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: t("exec.skipVerification") })]
9963
+ }),
9964
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
9965
+ className: board_module_css_default.detailMeta,
9966
+ children: t("exec.skipVerificationHint.short")
9967
+ })
9968
+ ]
9604
9969
  })
9605
9970
  ]
9606
9971
  });
@@ -9797,10 +10162,18 @@ Please report this to https://github.com/markedjs/marked.`, e) {
9797
10162
  const budget = schedule === void 0 ? void 0 : budgetLabel(schedule);
9798
10163
  const ended = schedule === void 0 ? void 0 : endedLabel(schedule);
9799
10164
  const skipped = schedule === void 0 ? void 0 : skippedLabel(schedule);
9800
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
9801
- className: board_module_css_default.detailSection,
10165
+ const plannedAt = mode === "once" ? parseZonedInput(atText, effectiveZone) : void 0;
10166
+ const planLabel = mode === "once" ? t("detail.schedule.summary.planOnce", { time: plannedAt === void 0 ? "—" : formatHostTimestamp(plannedAt, effectiveZone) }) : t("detail.schedule.summary.planCron", { cron: cron.trim() === "" ? "—" : cron.trim() });
10167
+ const scheduleHint = enabled && ended === void 0 ? t("detail.schedule.summary.onFull", {
10168
+ plan: planLabel,
10169
+ next: nextLabel
10170
+ }) : void 0;
10171
+ const scheduleSummary = ended !== void 0 ? t("detail.schedule.ended", { reason: ended }) : enabled ? t("detail.schedule.summary.on", { next: nextLabel }) : skipped !== void 0 ? t("detail.schedule.skipped", { reason: skipped }) : t("detail.schedule.summary.off");
10172
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(FoldSection, {
10173
+ title: t("detail.schedule"),
10174
+ summary: scheduleSummary,
10175
+ hint: scheduleHint,
9802
10176
  children: [
9803
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h4", { children: t("detail.schedule") }),
9804
10177
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
9805
10178
  className: board_module_css_default.scheduleToggle,
9806
10179
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
@@ -9990,13 +10363,16 @@ Please report this to https://github.com/markedjs/marked.`, e) {
9990
10363
  });
9991
10364
  }
9992
10365
  /**
9993
- * The run hint of one card: how many subtasks a run opens, counting the same
9994
- * members the Host will launch (`joinsCascadeRun` leaves a finished subtask
9995
- * alone), or why it opens none even though the card has subtasks.
10366
+ * The read-only note under the subtask list. A card with unfinished descendants
10367
+ * runs as ONE session — that card's own — which reads the subtasks and hands
10368
+ * them off in dependency order, so the note states what the run does instead of
10369
+ * promising a session per member. It counts the same members the run hands off
10370
+ * (`joinsCascadeRun` leaves a finished subtask alone, and an archived card never
10371
+ * runs at all), and stays a sentence: nothing here is a card field.
9996
10372
  */
9997
- function subtaskRunHint(parentId, children) {
9998
- const runnable = children.filter((child) => joinsCascadeRun(child, parentId));
9999
- return runnable.length > 0 ? t("detail.subtasks.runHint", { count: String(runnable.length) }) : t("detail.subtasks.runHintSettled");
10373
+ function subtaskDispatchNote(task, tasks, maxSubtaskDepth) {
10374
+ const pending = descendantTasks(tasks, task.id, maxSubtaskDepth).filter((descendant) => descendant.archivedAt === void 0 && joinsCascadeRun(descendant, task.id));
10375
+ return pending.length > 0 ? t("detail.subtasks.runHint", { count: String(pending.length) }) : t("detail.subtasks.runHintSettled");
10000
10376
  }
10001
10377
  /**
10002
10378
  * The subtask block: the parent link, the direct subtasks with their status,
@@ -10072,7 +10448,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
10072
10448
  }),
10073
10449
  children.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
10074
10450
  className: board_module_css_default.detailText,
10075
- children: subtaskRunHint(task.id, children)
10451
+ children: subtaskDispatchNote(task, tasks, limit)
10076
10452
  }),
10077
10453
  !archived && (canAddChild ? controller.isHostBacked() ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
10078
10454
  className: board_module_css_default.subtaskAddRow,
@@ -10145,6 +10521,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
10145
10521
  const timeZone = snapshot.host?.scheduler.timeZone;
10146
10522
  const permissionPending = requiresPermissionConfirmation(current, snapshot.host?.sessionDefaultPermission);
10147
10523
  const subtaskChildren = directSubtasks(snapshot.tasks, current.id);
10524
+ const subtaskDepthLimit = snapshot.host?.maxSubtaskDepth ?? 1;
10148
10525
  const dialog = useDialog(() => {
10149
10526
  controller.closeTask();
10150
10527
  }, phase);
@@ -10155,6 +10532,31 @@ Please report this to https://github.com/markedjs/marked.`, e) {
10155
10532
  const editPresence = usePresence(editOpen);
10156
10533
  const tagsPresence = usePresence(tagsOpen);
10157
10534
  const duplicatePresence = usePresence(duplicateOpen);
10535
+ const latestExecution = current.executions[current.executions.length - 1];
10536
+ const historySummary = latestExecution === void 0 ? t("detail.noExecution") : t("detail.execution.summary", {
10537
+ count: String(current.executions.length),
10538
+ time: formatTime(latestExecution.endedAt ?? latestExecution.startedAt, timeZone),
10539
+ result: latestExecution.result === void 0 ? t("detail.result.running") : t(EXECUTION_RESULT_KEY[latestExecution.result])
10540
+ });
10541
+ const headerActions = [];
10542
+ if (!archived) {
10543
+ headerActions.push({
10544
+ key: "duplicate",
10545
+ label: canEditTaskContent(current) ? t("detail.duplicate") : t("detail.duplicateAndEdit"),
10546
+ disabled: pending,
10547
+ onSelect: () => {
10548
+ setShowDuplicate(true);
10549
+ }
10550
+ });
10551
+ if (current.status === "done" || current.status === "failed") headerActions.push({
10552
+ key: "archive",
10553
+ label: t("detail.archive"),
10554
+ disabled: pending,
10555
+ onSelect: () => {
10556
+ controller.archiveTask(current.id);
10557
+ }
10558
+ });
10559
+ }
10158
10560
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
10159
10561
  className: board_module_css_default.modalBackdrop,
10160
10562
  "data-state": phase,
@@ -10180,6 +10582,11 @@ Please report this to https://github.com/markedjs/marked.`, e) {
10180
10582
  "data-status": archived ? "archived" : current.status,
10181
10583
  children: archived ? t("board.archive") : t(STATUS_KEY[current.status])
10182
10584
  }),
10585
+ headerActions.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ActionMenu, {
10586
+ label: t("detail.more"),
10587
+ items: headerActions,
10588
+ disabled: pending
10589
+ }),
10183
10590
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
10184
10591
  type: "button",
10185
10592
  className: board_module_css_default.iconButton,
@@ -10194,201 +10601,212 @@ Please report this to https://github.com/markedjs/marked.`, e) {
10194
10601
  }),
10195
10602
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
10196
10603
  className: board_module_css_default.detailBody,
10197
- children: [
10198
- transportError !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
10199
- className: board_module_css_default.formError,
10200
- children: [
10201
- t("board.hostError", { error: transportError }),
10202
- " ",
10203
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
10204
- type: "button",
10205
- className: board_module_css_default.linkButton,
10206
- onClick: () => {
10207
- controller.retryHostSync();
10208
- },
10209
- children: t("board.retryHost")
10210
- })
10211
- ]
10212
- }),
10213
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
10214
- className: board_module_css_default.detailSection,
10215
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h4", { children: t("detail.description") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ClampedMarkdown, { source: current.description !== "" ? current.description : "—" })]
10216
- }),
10217
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SubtaskSection, {
10218
- controller,
10219
- task: current,
10220
- pending,
10221
- archived,
10222
- snapshot
10223
- }),
10224
- current.tags !== void 0 && current.tags.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
10225
- className: board_module_css_default.detailSection,
10226
- "data-dsh-part": "tags",
10227
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h4", { children: t("new.tags") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
10228
- className: board_module_css_default.cardTags,
10229
- children: current.tags.map((tag) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
10230
- className: board_module_css_default.cardTag,
10231
- "data-tag-tone": tagTone(tag.name),
10232
- "data-dsh-part": "tag-badge",
10233
- "data-tag-hint": tag.promptPrefix === void 0 ? void 0 : tag.promptPrefix,
10234
- title: tag.promptPrefix === void 0 ? tag.name : tag.promptPrefix,
10235
- children: tag.name
10236
- }, tag.name))
10237
- })]
10238
- }),
10239
- current.freeze !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
10240
- className: board_module_css_default.detailSection,
10241
- "data-dsh-part": "freeze",
10604
+ children: [transportError !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
10605
+ className: board_module_css_default.formError,
10606
+ children: [
10607
+ t("board.hostError", { error: transportError }),
10608
+ " ",
10609
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
10610
+ type: "button",
10611
+ className: board_module_css_default.linkButton,
10612
+ onClick: () => {
10613
+ controller.retryHostSync();
10614
+ },
10615
+ children: t("board.retryHost")
10616
+ })
10617
+ ]
10618
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
10619
+ className: board_module_css_default.detailColumns,
10620
+ "data-detail-layout": "columns",
10621
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
10622
+ className: board_module_css_default.detailColumn,
10623
+ "data-detail-column": "content",
10242
10624
  children: [
10243
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h4", { children: t("detail.freeze") }),
10244
- current.freeze.redacted === true && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
10245
- className: board_module_css_default.formError,
10246
- children: t("detail.freeze.redacted")
10625
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
10626
+ className: board_module_css_default.detailSection,
10627
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h4", { children: t("detail.description") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ClampedMarkdown, { source: current.description !== "" ? current.description : "—" })]
10247
10628
  }),
10248
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
10249
- className: board_module_css_default.detailText,
10250
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t("detail.freeze.goal") })
10629
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
10630
+ className: board_module_css_default.detailSection,
10631
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h4", { children: t("detail.prompt") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ClampedMarkdown, { source: current.prompt !== "" ? current.prompt : current.title })]
10251
10632
  }),
10252
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("pre", {
10253
- className: board_module_css_default.promptBlock,
10254
- children: current.freeze.goal
10633
+ current.tags !== void 0 && current.tags.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
10634
+ className: board_module_css_default.detailSection,
10635
+ "data-dsh-part": "tags",
10636
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h4", { children: t("new.tags") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
10637
+ className: board_module_css_default.cardTags,
10638
+ children: current.tags.map((tag) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
10639
+ className: board_module_css_default.cardTag,
10640
+ "data-tag-tone": tagTone(tag.name),
10641
+ "data-dsh-part": "tag-badge",
10642
+ "data-tag-hint": tag.promptPrefix === void 0 ? void 0 : tag.promptPrefix,
10643
+ title: tag.promptPrefix === void 0 ? tag.name : tag.promptPrefix,
10644
+ children: tag.name
10645
+ }, tag.name))
10646
+ })]
10255
10647
  }),
10256
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
10257
- className: board_module_css_default.detailText,
10258
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t("detail.freeze.progress") })
10648
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SubtaskSection, {
10649
+ controller,
10650
+ task: current,
10651
+ pending,
10652
+ archived,
10653
+ snapshot
10259
10654
  }),
10260
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("pre", {
10261
- className: board_module_css_default.promptBlock,
10262
- children: current.freeze.progress
10263
- }),
10264
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
10265
- className: board_module_css_default.detailText,
10266
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t("detail.freeze.next") })
10267
- }),
10268
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("pre", {
10269
- className: board_module_css_default.promptBlock,
10270
- children: current.freeze.next
10655
+ current.freeze !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
10656
+ className: board_module_css_default.detailSection,
10657
+ "data-dsh-part": "freeze",
10658
+ children: [
10659
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h4", { children: t("detail.freeze") }),
10660
+ current.freeze.redacted === true && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
10661
+ className: board_module_css_default.formError,
10662
+ children: t("detail.freeze.redacted")
10663
+ }),
10664
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
10665
+ className: board_module_css_default.detailText,
10666
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t("detail.freeze.goal") })
10667
+ }),
10668
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("pre", {
10669
+ className: board_module_css_default.promptBlock,
10670
+ children: current.freeze.goal
10671
+ }),
10672
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
10673
+ className: board_module_css_default.detailText,
10674
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t("detail.freeze.progress") })
10675
+ }),
10676
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("pre", {
10677
+ className: board_module_css_default.promptBlock,
10678
+ children: current.freeze.progress
10679
+ }),
10680
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
10681
+ className: board_module_css_default.detailText,
10682
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t("detail.freeze.next") })
10683
+ }),
10684
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("pre", {
10685
+ className: board_module_css_default.promptBlock,
10686
+ children: current.freeze.next
10687
+ }),
10688
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
10689
+ className: board_module_css_default.detailMeta,
10690
+ children: t("detail.freeze.frozenAt", { time: formatHostTimestamp(current.freeze.frozenAt, timeZone) })
10691
+ }),
10692
+ current.freeze.frozenBy !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
10693
+ className: board_module_css_default.detailMeta,
10694
+ children: t("detail.freeze.frozenBy", { session: current.freeze.frozenBy })
10695
+ })
10696
+ ]
10271
10697
  }),
10272
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
10273
- className: board_module_css_default.detailMeta,
10274
- children: t("detail.freeze.frozenAt", { time: formatHostTimestamp(current.freeze.frozenAt, timeZone) })
10698
+ current.handover !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
10699
+ className: board_module_css_default.detailSection,
10700
+ "data-dsh-part": "handover",
10701
+ children: [
10702
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h4", { children: t("detail.handover") }),
10703
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("p", {
10704
+ className: board_module_css_default.detailText,
10705
+ children: [
10706
+ t("new.workspace"),
10707
+ ": ",
10708
+ current.handover.workspaceId ?? t("exec.workspace.recent"),
10709
+ " · ",
10710
+ t("new.agentPreset"),
10711
+ ": ",
10712
+ current.handover.mode ?? t("exec.mode.inherit"),
10713
+ " · ",
10714
+ t("new.permission"),
10715
+ ": ",
10716
+ current.handover.permission === void 0 ? t("exec.permission.default") : t(`exec.permission.${current.handover.permission}`)
10717
+ ]
10718
+ }),
10719
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
10720
+ className: board_module_css_default.detailText,
10721
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t("detail.handover.references") })
10722
+ }),
10723
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
10724
+ className: board_module_css_default.referenceList,
10725
+ children: current.handover.references.map((reference, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", {
10726
+ className: board_module_css_default.referenceRow,
10727
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("code", { children: reference })
10728
+ }, `${reference}-${index}`))
10729
+ }),
10730
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
10731
+ className: board_module_css_default.detailMeta,
10732
+ children: t("detail.handover.bundledAt", { time: formatHostTimestamp(current.handover.bundledAt, timeZone) })
10733
+ })
10734
+ ]
10275
10735
  }),
10276
- current.freeze.frozenBy !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
10277
- className: board_module_css_default.detailMeta,
10278
- children: t("detail.freeze.frozenBy", { session: current.freeze.frozenBy })
10736
+ seats.detailSection({
10737
+ task: current,
10738
+ dispatch
10279
10739
  })
10280
10740
  ]
10281
- }),
10282
- current.handover !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
10283
- className: board_module_css_default.detailSection,
10284
- "data-dsh-part": "handover",
10741
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
10742
+ className: board_module_css_default.detailColumn,
10743
+ "data-detail-column": "execution",
10285
10744
  children: [
10286
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h4", { children: t("detail.handover") }),
10287
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("p", {
10288
- className: board_module_css_default.detailText,
10289
- children: [
10290
- t("new.workspace"),
10291
- ": ",
10292
- current.handover.workspaceId ?? t("exec.workspace.recent"),
10293
- " · ",
10294
- t("new.agentPreset"),
10295
- ": ",
10296
- current.handover.mode ?? t("exec.mode.inherit"),
10297
- " · ",
10298
- t("new.permission"),
10299
- ": ",
10300
- current.handover.permission === void 0 ? t("exec.permission.default") : t(`exec.permission.${current.handover.permission}`)
10301
- ]
10745
+ permissionPending && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
10746
+ className: board_module_css_default.detailSection,
10747
+ "data-dsh-part": "permission-gate",
10748
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
10749
+ className: board_module_css_default.formError,
10750
+ children: t("detail.permissionPending", { permission: t(`exec.permission.${current.handover?.permission ?? current.permission}`) })
10751
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
10752
+ type: "button",
10753
+ className: board_module_css_default.primaryButton,
10754
+ disabled: pending,
10755
+ onClick: () => {
10756
+ controller.confirmPermission(current.id);
10757
+ },
10758
+ children: t("detail.permissionConfirm")
10759
+ })]
10302
10760
  }),
10303
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
10304
- className: board_module_css_default.detailText,
10305
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t("detail.handover.references") })
10761
+ current.permissionConfirmedAt !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
10762
+ className: board_module_css_default.detailMeta,
10763
+ children: t("detail.permissionConfirmed", { time: formatHostTimestamp(current.permissionConfirmedAt, timeZone) })
10306
10764
  }),
10307
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
10308
- className: board_module_css_default.executionList,
10309
- children: current.handover.references.map((reference, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", {
10310
- className: board_module_css_default.executionRow,
10311
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("code", { children: reference })
10312
- }, `${reference}-${index}`))
10765
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
10766
+ className: board_module_css_default.detailFolds,
10767
+ children: [!archived && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(ExecutionSettingsSection, {
10768
+ controller,
10769
+ task: current,
10770
+ pending,
10771
+ executionOptions: snapshot.executionOptions,
10772
+ goalRunEnabled: snapshot.host?.goalRunEnabled === true
10773
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ScheduleSection, {
10774
+ controller,
10775
+ task: current,
10776
+ pending
10777
+ })] }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(FoldSection, {
10778
+ title: t("detail.execution"),
10779
+ summary: historySummary,
10780
+ children: current.executions.length === 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
10781
+ className: board_module_css_default.detailText,
10782
+ children: t("detail.noExecution")
10783
+ }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ExecutionLog, {
10784
+ executions: current.executions,
10785
+ timeZone,
10786
+ onOpenSession: (sessionId) => {
10787
+ controller.openSession(sessionId);
10788
+ }
10789
+ })
10790
+ })]
10313
10791
  }),
10314
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
10315
- className: board_module_css_default.detailMeta,
10316
- children: t("detail.handover.bundledAt", { time: formatHostTimestamp(current.handover.bundledAt, timeZone) })
10792
+ !archived && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
10793
+ className: board_module_css_default.detailSection,
10794
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h4", { children: t("board.status") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ActionMenu, {
10795
+ label: t("detail.moveTo"),
10796
+ disabled: pending,
10797
+ items: MANUAL_STATUSES.map((status) => ({
10798
+ key: status,
10799
+ label: t(`status.move.${status}`),
10800
+ disabled: !canMoveTask(current, status),
10801
+ onSelect: () => {
10802
+ controller.moveTask(current.id, status);
10803
+ }
10804
+ }))
10805
+ })]
10317
10806
  })
10318
10807
  ]
10319
- }),
10320
- permissionPending && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
10321
- className: board_module_css_default.detailSection,
10322
- "data-dsh-part": "permission-gate",
10323
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
10324
- className: board_module_css_default.formError,
10325
- children: t("detail.permissionPending", { permission: t(`exec.permission.${current.handover?.permission ?? current.permission}`) })
10326
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
10327
- type: "button",
10328
- className: board_module_css_default.primaryButton,
10329
- disabled: pending,
10330
- onClick: () => {
10331
- controller.confirmPermission(current.id);
10332
- },
10333
- children: t("detail.permissionConfirm")
10334
- })]
10335
- }),
10336
- current.permissionConfirmedAt !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
10337
- className: board_module_css_default.detailMeta,
10338
- children: t("detail.permissionConfirmed", { time: formatHostTimestamp(current.permissionConfirmedAt, timeZone) })
10339
- }),
10340
- seats.detailSection({
10341
- task: current,
10342
- dispatch
10343
- }),
10344
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
10345
- className: board_module_css_default.detailSection,
10346
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h4", { children: t("detail.prompt") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ClampedMarkdown, { source: current.prompt !== "" ? current.prompt : current.title })]
10347
- }),
10348
- !archived && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(ExecutionSettingsSection, {
10349
- controller,
10350
- task: current,
10351
- pending,
10352
- executionOptions: snapshot.executionOptions,
10353
- teamRunAvailable: snapshot.host?.teamRunAvailable === true,
10354
- goalRunEnabled: snapshot.host?.goalRunEnabled === true
10355
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ScheduleSection, {
10356
- controller,
10357
- task: current,
10358
- pending
10359
- })] }),
10360
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
10361
- className: board_module_css_default.detailSection,
10362
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h4", { children: t("detail.execution") }), current.executions.length === 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
10363
- className: board_module_css_default.detailText,
10364
- children: t("detail.noExecution")
10365
- }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
10366
- className: board_module_css_default.executionList,
10367
- children: [...current.executions].reverse().map((execution) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ExecutionRow, {
10368
- execution,
10369
- timeZone,
10370
- onOpen: (sessionId) => {
10371
- controller.openSession(sessionId);
10372
- }
10373
- }, execution.id))
10374
- })]
10375
- }),
10376
- !archived && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
10377
- className: board_module_css_default.detailSection,
10378
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h4", { children: t("board.status") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
10379
- className: board_module_css_default.moveRow,
10380
- children: MANUAL_STATUSES.map((status) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
10381
- type: "button",
10382
- className: board_module_css_default.ghostButton,
10383
- disabled: pending || !canMoveTask(current, status),
10384
- onClick: () => {
10385
- controller.moveTask(current.id, status);
10386
- },
10387
- children: t(`status.move.${status}`)
10388
- }, status))
10389
- })]
10390
- })
10391
- ]
10808
+ })]
10809
+ })]
10392
10810
  }),
10393
10811
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("footer", {
10394
10812
  className: board_module_css_default.detailFooter,
@@ -10415,21 +10833,11 @@ Please report this to https://github.com/markedjs/marked.`, e) {
10415
10833
  },
10416
10834
  children: t("detail.editTags")
10417
10835
  }),
10418
- !archived && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
10419
- type: "button",
10420
- className: board_module_css_default.ghostButton,
10421
- disabled: pending,
10422
- onClick: () => {
10423
- setShowDuplicate(true);
10424
- },
10425
- title: canEditTaskContent(current) ? t("detail.duplicate") : t("detail.duplicateAndEdit"),
10426
- children: canEditTaskContent(current) ? t("detail.duplicate") : t("detail.duplicateAndEdit")
10427
- }),
10428
10836
  !archived && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
10429
10837
  type: "button",
10430
10838
  className: board_module_css_default.primaryButton,
10431
10839
  disabled: busy || pending,
10432
- title: subtaskChildren.length > 0 ? subtaskRunHint(current.id, subtaskChildren) : void 0,
10840
+ title: subtaskChildren.length > 0 ? subtaskDispatchNote(current, snapshot.tasks, subtaskDepthLimit) : void 0,
10433
10841
  onClick: () => {
10434
10842
  controller.rerunTask(current.id).then(() => {
10435
10843
  if (controller.getSnapshot().transportError === void 0) controller.closeTask();
@@ -10437,7 +10845,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
10437
10845
  },
10438
10846
  children: current.executions.length === 0 ? t("detail.run") : t("detail.rerun")
10439
10847
  }),
10440
- archived ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
10848
+ archived && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
10441
10849
  type: "button",
10442
10850
  className: board_module_css_default.primaryButton,
10443
10851
  disabled: pending,
@@ -10445,14 +10853,15 @@ Please report this to https://github.com/markedjs/marked.`, e) {
10445
10853
  controller.restoreTask(current.id);
10446
10854
  },
10447
10855
  children: t("detail.restore")
10448
- }) : (current.status === "done" || current.status === "failed") && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
10449
- type: "button",
10450
- className: board_module_css_default.ghostButton,
10451
- disabled: pending,
10452
- onClick: () => {
10453
- controller.archiveTask(current.id);
10454
- },
10455
- children: t("detail.archive")
10856
+ }),
10857
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
10858
+ className: `${board_module_css_default.detailMeta} ${board_module_css_default.detailStamp}`,
10859
+ children: [
10860
+ t("board.created"),
10861
+ " ",
10862
+ formatTime(current.createdAt, timeZone),
10863
+ archived && ` · ${t("detail.archivedAt", { time: formatTime(current.archivedAt, timeZone) })}`
10864
+ ]
10456
10865
  }),
10457
10866
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
10458
10867
  type: "button",
@@ -10462,15 +10871,6 @@ Please report this to https://github.com/markedjs/marked.`, e) {
10462
10871
  setConfirmDelete(true);
10463
10872
  },
10464
10873
  children: t("detail.delete")
10465
- }),
10466
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
10467
- className: board_module_css_default.detailMeta,
10468
- children: [
10469
- t("board.created"),
10470
- " ",
10471
- formatTime(current.createdAt, timeZone),
10472
- archived && ` · ${t("detail.archivedAt", { time: formatTime(current.archivedAt, timeZone) })}`
10473
- ]
10474
10874
  })
10475
10875
  ]
10476
10876
  })
@@ -11179,8 +11579,253 @@ Please report this to https://github.com/markedjs/marked.`, e) {
11179
11579
  };
11180
11580
  }
11181
11581
  //#endregion
11582
+ //#region src/client/body-mutations.ts
11583
+ /** Cross-bundle registry key; `Symbol.for` so every module copy agrees. */
11584
+ const HUB_KEY = Symbol.for("dsh-web.body-mutation-hub");
11585
+ const INVALIDATION_ONLY = Symbol.for("dsh-web.body-mutation-invalidation");
11586
+ function needsRecords(subscribers) {
11587
+ for (const listener of subscribers) if (!listener[INVALIDATION_ONLY]) return true;
11588
+ return false;
11589
+ }
11590
+ /**
11591
+ * Subscribe to a coalesced DOM re-check without retaining mutation records.
11592
+ * The marked wrapper also works with an older hub, which delivers records
11593
+ * that it simply ignores until a page reload picks up the updated hub.
11594
+ */
11595
+ function subscribeBodyInvalidations(subscriber) {
11596
+ const listener = () => {
11597
+ subscriber();
11598
+ };
11599
+ listener[INVALIDATION_ONLY] = true;
11600
+ return subscribeBodyMutations(listener);
11601
+ }
11602
+ /**
11603
+ * Subscribe to body-level childList mutations.
11604
+ * @param subscriber - called at most once per animation frame with the records
11605
+ * collected since the previous flush; must be safe to run repeatedly.
11606
+ * @returns the disposer removing this subscriber (and the observer when it was
11607
+ * the last one).
11608
+ */
11609
+ function subscribeBodyMutations(subscriber) {
11610
+ if (typeof globalThis === "undefined" || typeof document === "undefined") return () => {};
11611
+ if (typeof MutationObserver !== "function") return () => {};
11612
+ const registry = globalThis;
11613
+ let hub = registry[HUB_KEY];
11614
+ if (hub === void 0) {
11615
+ const subscribers = /* @__PURE__ */ new Set();
11616
+ const created = {
11617
+ observer: void 0,
11618
+ subscribers,
11619
+ pending: [],
11620
+ scheduled: false
11621
+ };
11622
+ const flush = () => {
11623
+ created.frame = void 0;
11624
+ created.scheduled = false;
11625
+ const batch = created.pending;
11626
+ created.pending = [];
11627
+ for (const listener of [...subscribers]) {
11628
+ if (!subscribers.has(listener)) continue;
11629
+ try {
11630
+ listener(batch);
11631
+ } catch {}
11632
+ }
11633
+ };
11634
+ const schedule = () => {
11635
+ if (created.scheduled) return;
11636
+ created.scheduled = true;
11637
+ if (typeof requestAnimationFrame === "function") created.frame = requestAnimationFrame(flush);
11638
+ else flush();
11639
+ };
11640
+ created.observer = new MutationObserver((records) => {
11641
+ if (needsRecords(subscribers)) for (const record of records) created.pending.push(record);
11642
+ schedule();
11643
+ });
11644
+ created.observer.observe(document.body ?? document.documentElement, {
11645
+ childList: true,
11646
+ subtree: true
11647
+ });
11648
+ registry[HUB_KEY] = created;
11649
+ hub = created;
11650
+ }
11651
+ const active = hub;
11652
+ active.subscribers.add(subscriber);
11653
+ let subscribed = true;
11654
+ return () => {
11655
+ if (!subscribed) return;
11656
+ subscribed = false;
11657
+ active.subscribers.delete(subscriber);
11658
+ if (!needsRecords(active.subscribers)) active.pending = [];
11659
+ if (active.subscribers.size === 0 && registry[HUB_KEY] === active) {
11660
+ active.observer.disconnect();
11661
+ if (active.frame !== void 0 && typeof cancelAnimationFrame === "function") cancelAnimationFrame(active.frame);
11662
+ active.frame = void 0;
11663
+ active.pending = [];
11664
+ active.scheduled = false;
11665
+ delete registry[HUB_KEY];
11666
+ }
11667
+ };
11668
+ }
11669
+ //#endregion
11670
+ //#region src/client/suppress-schedule-row.ts
11671
+ /**
11672
+ * Hide the official automation-tasks entry while the board is on.
11673
+ *
11674
+ * The shell mounts two scheduling surfaces side by side in the sidebar: the
11675
+ * official `ui-schedule` client half ("Automation tasks" — the Host Schedule
11676
+ * service's own page) and this package's board ("Task board" — a Host ledger
11677
+ * that runs real DSH sessions). The board is the family's complete surface, so
11678
+ * while it is enabled the official row is hidden and the sidebar offers one
11679
+ * scheduling entry instead of two.
11680
+ *
11681
+ * The shell owns that row: it renders the button, the label, the tooltip, the
11682
+ * active highlight and the collapsed rail, and the host's own end-to-end suite
11683
+ * addresses the row by its accessible name. The row is therefore located the
11684
+ * same way — the shell's global panel list seat (`sidebar.panellist`), whose
11685
+ * per-row anchor the slot renderer stamps — and it is identified by the label
11686
+ * the shell itself resolves for that entry (`resolveSlotLabel`, exactly the
11687
+ * call the shell's panel projection makes), so the match follows the active
11688
+ * language instead of a hard-coded translation.
11689
+ *
11690
+ * The write is one inline `display: none` on the shell's own button: the row
11691
+ * stays mounted (React keeps owning it) and the official panel keeps working
11692
+ * everywhere else it is reachable — only the duplicate sidebar entry goes
11693
+ * away. The board's master switch owns the state, exactly as it owns the
11694
+ * board's own row: with the board off, the official row comes back.
11695
+ */
11696
+ /**
11697
+ * The official automation-tasks panel id.
11698
+ *
11699
+ * The host `ui-schedule` client half registers its sidebar row and its
11700
+ * center-column page under this id; the shell's panel projection addresses
11701
+ * both by it.
11702
+ */
11703
+ const OFFICIAL_SCHEDULE_PANEL_ID = "schedules";
11704
+ /** The shell's global panel list seat; every rendered panel row carries one anchor. */
11705
+ const PANEL_LIST_SLOT = "sidebar.panellist";
11706
+ /** The anchor the slot renderer stamps for each global panel row. */
11707
+ const PANEL_ROW_ANCHOR = `[data-slot="${PANEL_LIST_SLOT}"]`;
11708
+ /**
11709
+ * The family's own hook on a plugin-owned panel row.
11710
+ *
11711
+ * A row carrying it belongs to a plugin that owns its entry, never to the
11712
+ * official automation-tasks row, so the guard skips those rows: it must not
11713
+ * be able to hide the board's own entry.
11714
+ */
11715
+ const PLUGIN_ROW_HOOK = "[data-dsh-panel-entry]";
11716
+ /**
11717
+ * The live panel-list ledger, or an empty one.
11718
+ *
11719
+ * A context that serves no slot registry (a capture-only test context, or a
11720
+ * shell that never declared the seat) has no official row to hide, and the
11721
+ * guard must read that as "nothing to do" instead of failing the page.
11722
+ * @param ctx - the client context.
11723
+ * @returns the panel-list entries the shell currently projects.
11724
+ */
11725
+ function panelEntries(ctx) {
11726
+ const reader = ctx.slots;
11727
+ if (reader === void 0 || typeof reader.entriesOfSlot !== "function") return [];
11728
+ try {
11729
+ return reader.entriesOfSlot(PANEL_LIST_SLOT) ?? [];
11730
+ } catch {
11731
+ return [];
11732
+ }
11733
+ }
11734
+ /**
11735
+ * The accessible name the shell renders on the official automation-tasks row.
11736
+ *
11737
+ * The shell projects its panel list with `resolveSlotLabel(options.label) ??
11738
+ * id`, and that value becomes the row's accessible name. Reading the same
11739
+ * value out of the same ledger is what keeps the DOM match correct in every
11740
+ * language.
11741
+ * @param entries - the live panel-list ledger.
11742
+ * @returns the row's accessible name, or undefined when the official panel is not mounted.
11743
+ */
11744
+ function officialScheduleRowLabel(entries) {
11745
+ const entry = entries.find((candidate) => candidate.options.id === OFFICIAL_SCHEDULE_PANEL_ID);
11746
+ if (entry === void 0) return void 0;
11747
+ try {
11748
+ return (0, _deepseek_ai_dsh_client_ui_slots.resolveSlotLabel)(entry.options.label) ?? entry.options.id;
11749
+ } catch {
11750
+ return;
11751
+ }
11752
+ }
11753
+ /**
11754
+ * The shell's button for the panel row carrying this accessible name.
11755
+ *
11756
+ * Every global panel row renders one slot anchor inside the shell's own
11757
+ * button, so the anchor is the row's handle and the button is what the user
11758
+ * sees. Rows a plugin owns (they carry the family's own entry hook) are
11759
+ * skipped.
11760
+ * @param root - the document (or a subtree) to search.
11761
+ * @param label - the accessible name to match.
11762
+ * @returns the row button, or undefined when no row carries that name.
11763
+ */
11764
+ function findPanelRow(root, label) {
11765
+ for (const anchor of root.querySelectorAll(PANEL_ROW_ANCHOR)) {
11766
+ if (anchor.querySelector(PLUGIN_ROW_HOOK) !== null) continue;
11767
+ const button = anchor.closest("button");
11768
+ if (button !== null && button.getAttribute("aria-label") === label) return button;
11769
+ }
11770
+ }
11771
+ /**
11772
+ * Guard the official automation-tasks row against the board's presence.
11773
+ *
11774
+ * The guard hides the row while the board is enabled and restores it when the
11775
+ * board is switched off. It re-applies its write after every DOM change,
11776
+ * because the shell owns the row and may mount or replace it at any time (a
11777
+ * re-render, a panel-list change, the official plugin arriving late).
11778
+ * @param ctx - client context carrying the slot registry.
11779
+ * @param root - the document to search; defaults to the ambient one.
11780
+ * @returns the guard's controls.
11781
+ */
11782
+ function createScheduleRowGuard(ctx, root) {
11783
+ const scope = root ?? (typeof document === "undefined" ? void 0 : document);
11784
+ let hidden;
11785
+ let previousDisplay = null;
11786
+ let stopWatching;
11787
+ const restoreRow = () => {
11788
+ if (hidden === void 0) return;
11789
+ const button = hidden;
11790
+ hidden = void 0;
11791
+ if (previousDisplay === null) button.style.removeProperty("display");
11792
+ else button.style.setProperty("display", previousDisplay);
11793
+ previousDisplay = null;
11794
+ };
11795
+ const hideRow = () => {
11796
+ if (scope === void 0) return;
11797
+ const label = officialScheduleRowLabel(panelEntries(ctx));
11798
+ if (label === void 0) return;
11799
+ const button = findPanelRow(scope, label);
11800
+ if (button === void 0) return;
11801
+ if (hidden === button) return;
11802
+ restoreRow();
11803
+ hidden = button;
11804
+ previousDisplay = button.style.getPropertyValue("display");
11805
+ button.style.setProperty("display", "none", "important");
11806
+ };
11807
+ const sync = () => {
11808
+ if (hidden !== void 0 && !hidden.isConnected) restoreRow();
11809
+ hideRow();
11810
+ };
11811
+ const hide = () => {
11812
+ hideRow();
11813
+ if (stopWatching === void 0) stopWatching = subscribeBodyInvalidations(sync);
11814
+ };
11815
+ const show = () => {
11816
+ stopWatching?.();
11817
+ stopWatching = void 0;
11818
+ restoreRow();
11819
+ };
11820
+ return {
11821
+ hide,
11822
+ show,
11823
+ dispose: show
11824
+ };
11825
+ }
11826
+ //#endregion
11182
11827
  //#region \0dsh-css:packages/dsh-task-board/src/client/settings-card.module.css.mjs
11183
- const css$1 = ".Jh0q7G_card{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-3);border-radius:12px;list-style:none;transition:border-color .16s,background .16s}.Jh0q7G_card:hover{border-color:var(--dsw-alias-label-dimmed)}.Jh0q7G_cardOpen{background:var(--dsw-alias-bg-layer-2);border-color:var(--dsw-alias-label-dimmed)}.Jh0q7G_header{appearance:none;box-sizing:border-box;width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;align-items:center;gap:13px;padding:16px;display:flex}.Jh0q7G_header:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:-2px}.Jh0q7G_headerStatic{box-sizing:border-box;border-radius:12px;align-items:center;gap:13px;width:100%;padding:16px;display:flex}.Jh0q7G_headText{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.Jh0q7G_mark{background:var(--dsw-alias-bg-module-platform);width:34px;height:34px;color:var(--dsw-alias-label-secondary);border-radius:10px;flex:none;place-items:center;transition:color .16s;display:grid}.Jh0q7G_header:hover .Jh0q7G_mark,.Jh0q7G_cardOpen .Jh0q7G_mark{color:var(--dsw-alias-label-primary)}.Jh0q7G_name{color:var(--dsw-alias-label-primary);font-size:15px;font-weight:600;line-height:1.4}.Jh0q7G_description{color:var(--dsw-alias-label-secondary);font-size:13px;line-height:1.5}.Jh0q7G_pending{white-space:nowrap;background:var(--dsw-alias-bg-module-platform);color:var(--dsw-alias-label-secondary);border-radius:999px;flex:none;padding:1px 8px;font-size:11px;font-weight:500;line-height:17px}.Jh0q7G_headerAction{flex:none;align-items:center;display:inline-flex}.Jh0q7G_chevron{color:var(--dsw-alias-label-tertiary);flex:none;width:16px;height:16px;transition:transform .16s,color .16s}.Jh0q7G_header:hover .Jh0q7G_chevron{color:var(--dsw-alias-label-secondary)}.Jh0q7G_chevronOpen{transform:rotate(180deg)}.Jh0q7G_body{border-top:1px solid var(--dsw-alias-border-l2);margin:0 16px;padding-bottom:8px}.Jh0q7G_readOnly{color:var(--dsw-alias-label-secondary);margin:12px 0 0;font-size:12px;line-height:1.5}.Jh0q7G_notExposed{color:var(--dsw-alias-state-warn-primary);margin:12px 0 0;font-size:12px;line-height:1.5}.Jh0q7G_footer{border-top:1px solid var(--dsw-alias-border-l2);justify-content:flex-end;align-items:center;gap:8px;padding:12px 0 4px;display:flex}.Jh0q7G_failed{min-width:0;color:var(--dsw-alias-state-error-primary,#b42318);text-overflow:ellipsis;white-space:nowrap;flex:1;margin:0;font-size:12px;line-height:1.5;overflow:hidden}.Jh0q7G_discard,.Jh0q7G_save{appearance:none;font:inherit;cursor:pointer;border:1px solid #0000;border-radius:8px;padding:5px 14px;font-size:13px;line-height:1.5}.Jh0q7G_discard{border-color:var(--dsw-alias-border-l2);color:var(--dsw-alias-label-secondary);background:0 0}.Jh0q7G_discard:hover:not(:disabled){color:var(--dsw-alias-label-primary);border-color:var(--dsw-alias-label-dimmed)}.Jh0q7G_save{background:var(--dsw-alias-label-primary);color:var(--dsw-alias-bg-layer-3)}.Jh0q7G_discard:disabled,.Jh0q7G_save:disabled{opacity:.4;cursor:default}.Jh0q7G_discard:focus-visible,.Jh0q7G_save:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:1px}.Jh0q7G_field{flex-direction:column;gap:6px;padding:12px 0;display:flex}.Jh0q7G_field+.Jh0q7G_field{border-top:1px solid var(--dsw-alias-border-l2)}.Jh0q7G_head{align-items:center;gap:8px;display:flex}.Jh0q7G_label{min-width:0;color:var(--dsw-alias-label-primary);flex:1;font-size:13px;font-weight:500;line-height:1.5}.Jh0q7G_badges{align-items:center;gap:8px;display:inline-flex}.Jh0q7G_badge{white-space:nowrap;background:var(--dsw-alias-bg-module-platform);color:var(--dsw-alias-label-secondary);border-radius:999px;padding:1px 8px;font-size:11px;font-weight:500;line-height:17px}.Jh0q7G_reset{font:inherit;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;padding:0;font-size:12px;line-height:1.5}.Jh0q7G_reset:hover:not(:disabled){color:var(--dsw-alias-label-primary)}.Jh0q7G_reset:disabled{cursor:default}.Jh0q7G_reset:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:2px;outline:2px solid var(--dsw-alias-brand-primary);outline-offset:2px}.Jh0q7G_input,.Jh0q7G_select{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-3);height:34px;font:inherit;color:var(--dsw-alias-label-primary);border-radius:8px;padding:0 12px;font-size:13px;line-height:1.5}.Jh0q7G_input:focus-visible,.Jh0q7G_select:focus-visible{border-color:var(--dsw-alias-brand-primary);outline:none}.Jh0q7G_input:disabled,.Jh0q7G_select:disabled{color:var(--dsw-alias-label-tertiary);cursor:default}.Jh0q7G_inputInvalid{border:1px solid var(--dsw-alias-state-error-primary,#b42318);background:var(--dsw-alias-bg-layer-3);height:34px;font:inherit;color:var(--dsw-alias-label-primary);border-radius:8px;padding:0 12px;font-size:13px;line-height:1.5}.Jh0q7G_inputInvalid:focus-visible{outline:2px solid var(--dsw-alias-state-error-primary,#b42318);outline-offset:1px;border-color:var(--dsw-alias-state-error-primary,#b42318)}.Jh0q7G_selectWrap{position:relative}.Jh0q7G_selectButton{appearance:none;text-align:left;cursor:pointer;justify-content:space-between;align-items:center;gap:8px;width:100%;display:flex}.Jh0q7G_selectLabel{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.Jh0q7G_selectChevron{color:var(--dsw-alias-label-tertiary);flex:none;transition:transform .16s}.Jh0q7G_selectChevronOpen{transform:rotate(180deg)}.Jh0q7G_selectPopup{z-index:40;border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-3);max-height:240px;box-shadow:0 8px 24px var(--dsw-alias-bg-mask-2);opacity:0;border-radius:8px;flex-direction:column;padding:4px;transition:opacity .1s,transform .1s;display:flex;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow-y:auto;transform:translateY(-4px)}.Jh0q7G_selectPopupOpen{opacity:1;transform:none}.Jh0q7G_selectPopupClose{opacity:0;pointer-events:none;transform:translateY(-4px)}.Jh0q7G_selectOption{color:var(--dsw-alias-label-primary);cursor:pointer;white-space:nowrap;text-overflow:ellipsis;border-radius:6px;flex-shrink:0;padding:6px 10px;font-size:13px;line-height:1.5;overflow:hidden}.Jh0q7G_selectOption:hover,.Jh0q7G_selectOptionActive{background:var(--dsw-alias-interactive-bg-hover)}.Jh0q7G_selectOptionSelected{color:var(--dsw-alias-brand-primary);background:color-mix(in srgb, var(--dsw-alias-brand-primary-new-colorprimary-new-color) 10%, transparent);font-weight:500}.Jh0q7G_invalid{color:var(--dsw-alias-state-error-primary,#b42318);margin:0;font-size:12px;line-height:1.5}.Jh0q7G_hint{color:var(--dsw-alias-label-secondary);margin:0;font-size:12px;line-height:1.5}.Jh0q7G_toggle{appearance:none;cursor:pointer;font:inherit;background:0 0;border:0;border-radius:999px;align-items:center;margin:0;padding:0;display:inline-flex}.Jh0q7G_toggleTrack{background:var(--dsw-alias-label-dimmed);border-radius:999px;flex:none;width:30px;height:16px;transition:background .18s;position:relative}.Jh0q7G_toggleThumb{background:var(--dsw-alias-bg-layer-3);border-radius:50%;width:12px;height:12px;transition:left .18s;position:absolute;top:2px;left:2px}.Jh0q7G_toggle[aria-checked=true] .Jh0q7G_toggleTrack{background:var(--dsw-alias-button-primary-fill,var(--dsw-alias-label-primary))}.Jh0q7G_toggle[aria-checked=true] .Jh0q7G_toggleThumb{background:var(--dsw-alias-label-primary-foreground,var(--dsw-alias-bg-layer-3));left:16px}.Jh0q7G_toggle:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:2px}.Jh0q7G_toggle:disabled{opacity:.45;cursor:default}@media (prefers-reduced-motion:reduce){.Jh0q7G_card,.Jh0q7G_header,.Jh0q7G_mark,.Jh0q7G_chevron,.Jh0q7G_chevronOpen,.Jh0q7G_discard,.Jh0q7G_save,.Jh0q7G_selectChevron,.Jh0q7G_selectChevronOpen,.Jh0q7G_selectPopup,.Jh0q7G_toggleTrack,.Jh0q7G_toggleThumb{transition:none}}";
11828
+ const css$1 = ".Jh0q7G_card{--settings-card-radius:12px;--settings-card-header-pad:16px;--settings-card-header-gap:13px;--settings-card-title-size:15px;--settings-card-description-size:13px;--settings-card-body-inset:16px;--settings-card-motion:.18s;border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-3);border-radius:var(--settings-card-radius);list-style:none;transition:border-color .16s,background .16s}.Jh0q7G_card:hover{border-color:var(--dsw-alias-label-dimmed)}.Jh0q7G_cardOpen{background:var(--dsw-alias-bg-layer-2);border-color:var(--dsw-alias-label-dimmed)}.Jh0q7G_cardNested{--settings-card-radius:10px;--settings-card-header-pad:10px 12px;--settings-card-header-gap:10px;--settings-card-title-size:13px;--settings-card-description-size:12px;--settings-card-body-inset:12px}.Jh0q7G_cardNested .Jh0q7G_description{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.Jh0q7G_header{appearance:none;box-sizing:border-box;width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;border-radius:var(--settings-card-radius);align-items:center;gap:var(--settings-card-header-gap);padding:var(--settings-card-header-pad);background:0 0;border:0;display:flex}.Jh0q7G_header:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:-2px}.Jh0q7G_headerStatic{box-sizing:border-box;border-radius:var(--settings-card-radius);align-items:center;gap:var(--settings-card-header-gap);width:100%;padding:var(--settings-card-header-pad);display:flex}.Jh0q7G_headText{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.Jh0q7G_mark{background:var(--dsw-alias-bg-module-platform);width:34px;height:34px;color:var(--dsw-alias-label-secondary);border-radius:10px;flex:none;place-items:center;transition:color .16s;display:grid}.Jh0q7G_header:hover .Jh0q7G_mark,.Jh0q7G_cardOpen .Jh0q7G_mark{color:var(--dsw-alias-label-primary)}.Jh0q7G_name{color:var(--dsw-alias-label-primary);font-size:var(--settings-card-title-size);font-weight:600;line-height:1.4}.Jh0q7G_description{color:var(--dsw-alias-label-secondary);font-size:var(--settings-card-description-size);line-height:1.5}.Jh0q7G_pending{white-space:nowrap;background:var(--dsw-alias-bg-module-platform);color:var(--dsw-alias-label-secondary);border-radius:999px;flex:none;padding:1px 8px;font-size:11px;font-weight:500;line-height:17px}.Jh0q7G_headerAction{flex:none;align-items:center;display:inline-flex}.Jh0q7G_chevron{color:var(--dsw-alias-label-tertiary);flex:none;width:16px;height:16px;transition:transform .16s,color .16s}.Jh0q7G_header:hover .Jh0q7G_chevron{color:var(--dsw-alias-label-secondary)}.Jh0q7G_chevronOpen{transform:rotate(180deg)}.Jh0q7G_disclosure{opacity:0;transition:grid-template-rows var(--settings-card-motion) ease, opacity var(--settings-card-motion) ease;grid-template-rows:0fr;display:grid}.Jh0q7G_disclosure[data-state=collapsed],.Jh0q7G_disclosure[data-state=entering],.Jh0q7G_disclosure[data-state=closing]{overflow:hidden}.Jh0q7G_disclosure[data-state=entering],.Jh0q7G_disclosure[data-state=shown]{opacity:1;grid-template-rows:1fr}.Jh0q7G_disclosure>.Jh0q7G_body{min-height:0}.Jh0q7G_body{border-top:1px solid var(--dsw-alias-border-l2);margin:0 var(--settings-card-body-inset);padding-bottom:8px}.Jh0q7G_readOnly{color:var(--dsw-alias-label-secondary);margin:12px 0 0;font-size:12px;line-height:1.5}.Jh0q7G_notExposed{color:var(--dsw-alias-state-warn-primary);margin:12px 0 0;font-size:12px;line-height:1.5}.Jh0q7G_footer{border-top:1px solid var(--dsw-alias-border-l2);justify-content:flex-end;align-items:center;gap:8px;padding:12px 0 4px;display:flex}.Jh0q7G_failed{min-width:0;color:var(--dsw-alias-state-error-primary,#b42318);text-overflow:ellipsis;white-space:nowrap;flex:1;margin:0;font-size:12px;line-height:1.5;overflow:hidden}.Jh0q7G_discard,.Jh0q7G_save{appearance:none;font:inherit;cursor:pointer;border:1px solid #0000;border-radius:8px;padding:5px 14px;font-size:13px;line-height:1.5}.Jh0q7G_discard{border-color:var(--dsw-alias-border-l2);color:var(--dsw-alias-label-secondary);background:0 0}.Jh0q7G_discard:hover:not(:disabled){color:var(--dsw-alias-label-primary);border-color:var(--dsw-alias-label-dimmed)}.Jh0q7G_save{background:var(--dsw-alias-label-primary);color:var(--dsw-alias-bg-layer-3)}.Jh0q7G_discard:disabled,.Jh0q7G_save:disabled{opacity:.4;cursor:default}.Jh0q7G_discard:focus-visible,.Jh0q7G_save:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:1px}.Jh0q7G_field{flex-direction:column;gap:6px;padding:12px 0;display:flex}.Jh0q7G_field+.Jh0q7G_field{border-top:1px solid var(--dsw-alias-border-l2)}.Jh0q7G_head{align-items:center;gap:8px;display:flex}.Jh0q7G_label{min-width:0;color:var(--dsw-alias-label-primary);flex:1;font-size:13px;font-weight:500;line-height:1.5}.Jh0q7G_badges{align-items:center;gap:8px;display:inline-flex}.Jh0q7G_badge{white-space:nowrap;background:var(--dsw-alias-bg-module-platform);color:var(--dsw-alias-label-secondary);border-radius:999px;padding:1px 8px;font-size:11px;font-weight:500;line-height:17px}.Jh0q7G_reset{font:inherit;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;padding:0;font-size:12px;line-height:1.5}.Jh0q7G_reset:hover:not(:disabled){color:var(--dsw-alias-label-primary)}.Jh0q7G_reset:disabled{cursor:default}.Jh0q7G_reset:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:2px;outline:2px solid var(--dsw-alias-brand-primary);outline-offset:2px}.Jh0q7G_input,.Jh0q7G_select{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-3);height:34px;font:inherit;color:var(--dsw-alias-label-primary);border-radius:8px;padding:0 12px;font-size:13px;line-height:1.5}.Jh0q7G_input:focus-visible,.Jh0q7G_select:focus-visible{border-color:var(--dsw-alias-brand-primary);outline:none}.Jh0q7G_input:disabled,.Jh0q7G_select:disabled{color:var(--dsw-alias-label-tertiary);cursor:default}.Jh0q7G_inputInvalid{border:1px solid var(--dsw-alias-state-error-primary,#b42318);background:var(--dsw-alias-bg-layer-3);height:34px;font:inherit;color:var(--dsw-alias-label-primary);border-radius:8px;padding:0 12px;font-size:13px;line-height:1.5}.Jh0q7G_inputInvalid:focus-visible{outline:2px solid var(--dsw-alias-state-error-primary,#b42318);outline-offset:1px;border-color:var(--dsw-alias-state-error-primary,#b42318)}.Jh0q7G_selectWrap{position:relative}.Jh0q7G_selectButton{appearance:none;text-align:left;cursor:pointer;justify-content:space-between;align-items:center;gap:8px;width:100%;display:flex}.Jh0q7G_selectLabel{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.Jh0q7G_selectChevron{color:var(--dsw-alias-label-tertiary);flex:none;transition:transform .16s}.Jh0q7G_selectChevronOpen{transform:rotate(180deg)}.Jh0q7G_selectPopup{z-index:40;border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-3);max-height:240px;box-shadow:0 8px 24px var(--dsw-alias-bg-mask-2);opacity:0;border-radius:8px;flex-direction:column;padding:4px;transition:opacity .1s,transform .1s;display:flex;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow-y:auto;transform:translateY(-4px)}.Jh0q7G_selectPopupOpen{opacity:1;transform:none}.Jh0q7G_selectPopupClose{opacity:0;pointer-events:none;transform:translateY(-4px)}.Jh0q7G_selectOption{color:var(--dsw-alias-label-primary);cursor:pointer;white-space:nowrap;text-overflow:ellipsis;border-radius:6px;flex-shrink:0;padding:6px 10px;font-size:13px;line-height:1.5;overflow:hidden}.Jh0q7G_selectOption:hover,.Jh0q7G_selectOptionActive{background:var(--dsw-alias-interactive-bg-hover)}.Jh0q7G_selectOptionSelected{color:var(--dsw-alias-brand-primary);background:color-mix(in srgb, var(--dsw-alias-brand-primary-new-colorprimary-new-color) 10%, transparent);font-weight:500}.Jh0q7G_invalid{color:var(--dsw-alias-state-error-primary,#b42318);margin:0;font-size:12px;line-height:1.5}.Jh0q7G_hint{color:var(--dsw-alias-label-secondary);margin:0;font-size:12px;line-height:1.5}.Jh0q7G_toggle{appearance:none;cursor:pointer;font:inherit;background:0 0;border:0;border-radius:999px;align-items:center;margin:0;padding:0;display:inline-flex}.Jh0q7G_toggleTrack{background:var(--dsw-alias-label-dimmed);border-radius:999px;flex:none;width:30px;height:16px;transition:background .18s;position:relative}.Jh0q7G_toggleThumb{background:var(--dsw-alias-bg-layer-3);border-radius:50%;width:12px;height:12px;transition:left .18s;position:absolute;top:2px;left:2px}.Jh0q7G_toggle[aria-checked=true] .Jh0q7G_toggleTrack{background:var(--dsw-alias-button-primary-fill,var(--dsw-alias-label-primary))}.Jh0q7G_toggle[aria-checked=true] .Jh0q7G_toggleThumb{background:var(--dsw-alias-label-primary-foreground,var(--dsw-alias-bg-layer-3));left:16px}.Jh0q7G_toggle:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:2px}.Jh0q7G_toggle:disabled{opacity:.45;cursor:default}@media (prefers-reduced-motion:reduce){.Jh0q7G_card,.Jh0q7G_header,.Jh0q7G_mark,.Jh0q7G_chevron,.Jh0q7G_chevronOpen,.Jh0q7G_discard,.Jh0q7G_save,.Jh0q7G_selectChevron,.Jh0q7G_selectChevronOpen,.Jh0q7G_selectPopup,.Jh0q7G_toggleTrack,.Jh0q7G_toggleThumb{transition:none}.Jh0q7G_disclosure{transition-property:opacity}}";
11184
11829
  const tagId$1 = "@linxin666/dsh-client-ui-task-board/packages/dsh-task-board/src/client/settings-card.module.css";
11185
11830
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$1) + "]") === null) {
11186
11831
  const tag = document.createElement("style");
@@ -11194,11 +11839,13 @@ Please report this to https://github.com/markedjs/marked.`, e) {
11194
11839
  "badges": "Jh0q7G_badges",
11195
11840
  "body": "Jh0q7G_body",
11196
11841
  "card": "Jh0q7G_card",
11842
+ "cardNested": "Jh0q7G_cardNested",
11197
11843
  "cardOpen": "Jh0q7G_cardOpen",
11198
11844
  "chevron": "Jh0q7G_chevron",
11199
11845
  "chevronOpen": "Jh0q7G_chevronOpen",
11200
11846
  "description": "Jh0q7G_description",
11201
11847
  "discard": "Jh0q7G_discard",
11848
+ "disclosure": "Jh0q7G_disclosure",
11202
11849
  "failed": "Jh0q7G_failed",
11203
11850
  "field": "Jh0q7G_field",
11204
11851
  "footer": "Jh0q7G_footer",
@@ -11307,6 +11954,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
11307
11954
  }),
11308
11955
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
11309
11956
  className: props.invalid ? settings_card_module_css_default.invalid : settings_card_module_css_default.hint,
11957
+ title: props.hintTitle,
11310
11958
  children: props.invalid ? props.invalidLabel : props.hint
11311
11959
  })
11312
11960
  ]
@@ -11322,6 +11970,8 @@ Please report this to https://github.com/markedjs/marked.`, e) {
11322
11970
  * it. Inlined into each consumer's client bundle; mirrors the official
11323
11971
  * ui-plugin-config PluginCard in a self-contained slice.
11324
11972
  */
11973
+ /** Length of the body's disclosure motion; it matches `--settings-card-motion` on the card root. */
11974
+ const BODY_MOTION_MS = 180;
11325
11975
  /**
11326
11976
  * Render one plugin settings card.
11327
11977
  * @param props - the plugin's copy keys, its form state, and its controls.
@@ -11330,12 +11980,48 @@ Please report this to https://github.com/markedjs/marked.`, e) {
11330
11980
  function PluginSettingsCard(props) {
11331
11981
  const [open, setOpen] = (0, react.useState)(props.defaultOpen ?? true);
11332
11982
  const { state, alwaysOpen } = props;
11983
+ const expanded = alwaysOpen === true || open;
11984
+ const [bodyPhase, setBodyPhase] = (0, react.useState)(expanded ? "shown" : "hidden");
11985
+ const bodyRef = (0, react.useRef)(null);
11986
+ (0, react.useLayoutEffect)(() => {
11987
+ if (expanded) {
11988
+ if (bodyPhase === "hidden") setBodyPhase("collapsed");
11989
+ else if (bodyPhase === "collapsed") {
11990
+ const node = bodyRef.current;
11991
+ if (node !== null) node.offsetHeight;
11992
+ setBodyPhase("entering");
11993
+ } else if (bodyPhase === "closing") setBodyPhase("entering");
11994
+ return;
11995
+ }
11996
+ if (bodyPhase === "collapsed") setBodyPhase("hidden");
11997
+ else if (bodyPhase === "entering" || bodyPhase === "shown") setBodyPhase("closing");
11998
+ }, [expanded, bodyPhase]);
11999
+ (0, react.useEffect)(() => {
12000
+ if (bodyPhase !== "entering" && bodyPhase !== "closing") return;
12001
+ const timer = setTimeout(() => {
12002
+ setBodyPhase(bodyPhase === "entering" ? "shown" : "hidden");
12003
+ }, BODY_MOTION_MS);
12004
+ return () => {
12005
+ clearTimeout(timer);
12006
+ };
12007
+ }, [bodyPhase]);
11333
12008
  if (!state.available) return null;
11334
12009
  const title = props.t(props.titleKey);
11335
12010
  const description = props.t(props.descriptionKey);
12011
+ const descriptionTitle = props.descriptionTitleKey === void 0 ? description : props.t(props.descriptionTitleKey);
11336
12012
  const blocked = !state.dirty || state.invalid || state.saving;
11337
- const expanded = alwaysOpen === true || open;
11338
- const cardClass = expanded ? `${settings_card_module_css_default.cardOpen} ${settings_card_module_css_default.card}` : settings_card_module_css_default.card;
12013
+ const baseClass = expanded ? `${settings_card_module_css_default.cardOpen} ${settings_card_module_css_default.card}` : settings_card_module_css_default.card;
12014
+ const cardClass = props.density === "nested" ? `${baseClass} ${settings_card_module_css_default.cardNested}` : baseClass;
12015
+ /** The body region both legs share; a hidden phase renders nothing at all. */
12016
+ const bodyRegion = (content) => bodyPhase === "hidden" ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
12017
+ className: settings_card_module_css_default.disclosure,
12018
+ "data-state": bodyPhase,
12019
+ ref: bodyRef,
12020
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
12021
+ className: settings_card_module_css_default.body,
12022
+ children: content
12023
+ })
12024
+ });
11339
12025
  const header = alwaysOpen === true ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
11340
12026
  className: settings_card_module_css_default.headerStatic,
11341
12027
  children: [
@@ -11353,7 +12039,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
11353
12039
  children: title
11354
12040
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
11355
12041
  className: settings_card_module_css_default.description,
11356
- title: description,
12042
+ title: descriptionTitle,
11357
12043
  children: props.descriptionNode ?? description
11358
12044
  })]
11359
12045
  }),
@@ -11390,7 +12076,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
11390
12076
  children: title
11391
12077
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
11392
12078
  className: settings_card_module_css_default.description,
11393
- title: description,
12079
+ title: descriptionTitle,
11394
12080
  children: props.descriptionNode ?? description
11395
12081
  })]
11396
12082
  }),
@@ -11417,57 +12103,48 @@ Please report this to https://github.com/markedjs/marked.`, e) {
11417
12103
  })
11418
12104
  ]
11419
12105
  });
11420
- if (!state.exposed && props.renderChildrenWhenNotExposed !== true) {
11421
- const showNotice = props.hideNotExposedNotice !== true;
11422
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("li", {
11423
- className: cardClass,
11424
- children: [header, expanded ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
11425
- className: settings_card_module_css_default.body,
11426
- children: showNotice ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
11427
- className: settings_card_module_css_default.notExposed,
11428
- role: "status",
11429
- children: props.t("settings.notExposed")
11430
- }) : null
11431
- }) : null]
11432
- });
11433
- }
12106
+ if (!state.exposed && props.renderChildrenWhenNotExposed !== true) return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("li", {
12107
+ className: cardClass,
12108
+ children: [header, bodyRegion(props.hideNotExposedNotice !== true ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
12109
+ className: settings_card_module_css_default.notExposed,
12110
+ role: "status",
12111
+ children: props.t("settings.notExposed")
12112
+ }) : null)]
12113
+ });
11434
12114
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("li", {
11435
12115
  className: cardClass,
11436
- children: [header, expanded && props.headerOnly !== true ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
11437
- className: settings_card_module_css_default.body,
11438
- children: [
11439
- !state.writable ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
11440
- className: settings_card_module_css_default.readOnly,
11441
- role: "status",
11442
- children: props.t("settings.readOnly")
11443
- }) : null,
11444
- props.children,
11445
- props.hideFooter === true ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
11446
- className: settings_card_module_css_default.footer,
11447
- children: [
11448
- state.failed ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("p", {
11449
- className: settings_card_module_css_default.failed,
11450
- role: "status",
11451
- children: [props.t("settings.saveFailed"), state.failedReason ? " - " + state.failedReason : ""]
11452
- }) : null,
11453
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
11454
- type: "button",
11455
- className: settings_card_module_css_default.discard,
11456
- disabled: !state.dirty || state.saving,
11457
- onClick: props.onDiscard,
11458
- children: props.t("settings.discard")
11459
- }),
11460
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
11461
- type: "button",
11462
- className: settings_card_module_css_default.save,
11463
- disabled: blocked,
11464
- onClick: props.onSave,
11465
- children: props.t(!state.saving ? "settings.save" : "settings.saving")
11466
- })
11467
- ]
11468
- })
11469
- ]
11470
- }) : null]
12116
+ children: [header, props.headerOnly !== true ? bodyRegion(/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
12117
+ !state.writable ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
12118
+ className: settings_card_module_css_default.readOnly,
12119
+ role: "status",
12120
+ children: props.t("settings.readOnly")
12121
+ }) : null,
12122
+ props.children,
12123
+ props.hideFooter === true ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
12124
+ className: settings_card_module_css_default.footer,
12125
+ children: [
12126
+ state.failed ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("p", {
12127
+ className: settings_card_module_css_default.failed,
12128
+ role: "status",
12129
+ children: [props.t("settings.saveFailed"), state.failedReason ? " - " + state.failedReason : ""]
12130
+ }) : null,
12131
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
12132
+ type: "button",
12133
+ className: settings_card_module_css_default.discard,
12134
+ disabled: !state.dirty || state.saving,
12135
+ onClick: props.onDiscard,
12136
+ children: props.t("settings.discard")
12137
+ }),
12138
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
12139
+ type: "button",
12140
+ className: settings_card_module_css_default.save,
12141
+ disabled: blocked,
12142
+ onClick: props.onSave,
12143
+ children: props.t(!state.saving ? "settings.save" : "settings.saving")
12144
+ })
12145
+ ]
12146
+ })
12147
+ ] })) : null]
11471
12148
  });
11472
12149
  }
11473
12150
  /** A staged value field. `numeric` only hints the keypad: which drafts a field accepts is decided by its spec. */
@@ -11510,6 +12187,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
11510
12187
  }),
11511
12188
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
11512
12189
  className: props.invalid ? settings_card_module_css_default.invalid : settings_card_module_css_default.hint,
12190
+ title: props.hintTitle,
11513
12191
  children: props.invalid ? props.invalidLabel : props.hint
11514
12192
  })
11515
12193
  ]
@@ -11732,6 +12410,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
11732
12410
  }),
11733
12411
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
11734
12412
  className: settings_card_module_css_default.hint,
12413
+ title: props.hintTitle,
11735
12414
  children: props.hint
11736
12415
  })
11737
12416
  ]
@@ -11775,6 +12454,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
11775
12454
  }),
11776
12455
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
11777
12456
  className: props.invalid ? settings_card_module_css_default.invalid : settings_card_module_css_default.hint,
12457
+ title: props.hintTitle,
11778
12458
  children: props.invalid ? props.invalidLabel : props.hint
11779
12459
  })
11780
12460
  ]
@@ -12105,7 +12785,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
12105
12785
  };
12106
12786
  //#endregion
12107
12787
  //#region \0dsh-css:packages/dsh-task-board/src/client/board-settings.module.css.mjs
12108
- const css = ".bQNdXW_note{color:var(--dsw-alias-label-secondary);margin:4px 0;font-size:12px}.bQNdXW_error{color:var(--dsw-alias-state-error-primary);margin:4px 0;font-size:12px}.bQNdXW_resolvedList{color:var(--dsw-alias-label-secondary);margin:4px 0 8px;padding-left:16px;font-size:12px}.bQNdXW_power{flex-direction:column;gap:2px;margin-top:14px;display:flex}.bQNdXW_powerLine{color:var(--dsw-alias-label-secondary);margin:0;font-size:12px;line-height:1.5}.bQNdXW_powerError{color:var(--dsw-alias-state-error-primary);margin:0;font-size:12px;line-height:1.5}.bQNdXW_nestedCards{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}";
12788
+ const css = ".bQNdXW_note{color:var(--dsw-alias-label-secondary);margin:4px 0;font-size:12px}.bQNdXW_error{color:var(--dsw-alias-state-error-primary);margin:4px 0;font-size:12px}.bQNdXW_resolvedList{color:var(--dsw-alias-label-secondary);margin:4px 0 8px;padding-left:16px;font-size:12px}.bQNdXW_nestedCards,.bQNdXW_power{--task-board-settings-gap:8px}.bQNdXW_power{gap:var(--task-board-settings-gap);margin-top:calc(var(--task-board-settings-gap) * 2);flex-direction:column;display:flex}.bQNdXW_powerFacts{column-gap:calc(var(--task-board-settings-gap) * 2);color:var(--dsw-alias-label-secondary);grid-template-columns:max-content 1fr;row-gap:2px;margin:0;font-size:12px;line-height:1.5;display:grid}.bQNdXW_powerTerm,.bQNdXW_powerValue{margin:0}.bQNdXW_powerTerm{color:var(--dsw-alias-label-tertiary)}.bQNdXW_powerLine{color:var(--dsw-alias-label-secondary);margin:0;font-size:12px;line-height:1.5}.bQNdXW_powerError{color:var(--dsw-alias-state-error-primary);margin:0;font-size:12px;line-height:1.5}.bQNdXW_nestedCards{gap:var(--task-board-settings-gap);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}";
12109
12789
  const tagId = "@linxin666/dsh-client-ui-task-board/packages/dsh-task-board/src/client/board-settings.module.css";
12110
12790
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
12111
12791
  const tag = document.createElement("style");
@@ -12120,7 +12800,10 @@ Please report this to https://github.com/markedjs/marked.`, e) {
12120
12800
  "note": "bQNdXW_note",
12121
12801
  "power": "bQNdXW_power",
12122
12802
  "powerError": "bQNdXW_powerError",
12803
+ "powerFacts": "bQNdXW_powerFacts",
12123
12804
  "powerLine": "bQNdXW_powerLine",
12805
+ "powerTerm": "bQNdXW_powerTerm",
12806
+ "powerValue": "bQNdXW_powerValue",
12124
12807
  "resolvedList": "bQNdXW_resolvedList"
12125
12808
  };
12126
12809
  //#endregion
@@ -12246,6 +12929,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
12246
12929
  booleanField("enabled"),
12247
12930
  booleanField("announceToAgent"),
12248
12931
  booleanField("preventIdleSleep"),
12932
+ booleanField("trustForwardedProxy"),
12249
12933
  subtaskDepthField(),
12250
12934
  sessionPollField(),
12251
12935
  runLaunchWidthField(),
@@ -12267,6 +12951,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
12267
12951
  enabled: this.form.field("enabled"),
12268
12952
  announceToAgent: this.form.field("announceToAgent"),
12269
12953
  preventIdleSleep: this.form.field("preventIdleSleep"),
12954
+ trustForwardedProxy: this.form.field("trustForwardedProxy"),
12270
12955
  maxSubtaskDepth: this.form.field("maxSubtaskDepth"),
12271
12956
  sessionPollSeconds: this.form.field("sessionPollSeconds"),
12272
12957
  runLaunchWidth: this.form.field("runLaunchWidth"),
@@ -12452,6 +13137,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
12452
13137
  children: [
12453
13138
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(PluginSettingsCard, {
12454
13139
  t,
13140
+ density: "nested",
12455
13141
  titleKey: "settings.enabled",
12456
13142
  descriptionKey: "settings.enabledCardHint",
12457
13143
  defaultOpen: false,
@@ -12463,7 +13149,8 @@ Please report this to https://github.com/markedjs/marked.`, e) {
12463
13149
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(BooleanField, {
12464
13150
  id: "settings-task-board-enabled",
12465
13151
  label: t("settings.enabled"),
12466
- hint: t("settings.enabledHint"),
13152
+ hint: t("settings.enabledHintBrief"),
13153
+ hintTitle: t("settings.enabledHint"),
12467
13154
  inheritLabel: t("settings.inherit"),
12468
13155
  onLabel: t("settings.on"),
12469
13156
  offLabel: t("settings.off"),
@@ -12479,7 +13166,8 @@ Please report this to https://github.com/markedjs/marked.`, e) {
12479
13166
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(BooleanField, {
12480
13167
  id: "settings-task-board-announce",
12481
13168
  label: t("settings.announceToAgent"),
12482
- hint: t("settings.announceToAgentHint"),
13169
+ hint: t("settings.announceToAgentHintBrief"),
13170
+ hintTitle: t("settings.announceToAgentHint"),
12483
13171
  inheritLabel: t("settings.inherit"),
12484
13172
  onLabel: t("settings.on"),
12485
13173
  offLabel: t("settings.off"),
@@ -12495,7 +13183,8 @@ Please report this to https://github.com/markedjs/marked.`, e) {
12495
13183
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(BooleanField, {
12496
13184
  id: "settings-task-board-prevent-idle-sleep",
12497
13185
  label: t("settings.preventIdleSleep"),
12498
- hint: t("settings.preventIdleSleepHint"),
13186
+ hint: t("settings.preventIdleSleepHintBrief"),
13187
+ hintTitle: t("settings.preventIdleSleepHint"),
12499
13188
  inheritLabel: t("settings.inherit"),
12500
13189
  onLabel: t("settings.on"),
12501
13190
  offLabel: t("settings.off"),
@@ -12508,10 +13197,28 @@ Please report this to https://github.com/markedjs/marked.`, e) {
12508
13197
  props.resetField("preventIdleSleep");
12509
13198
  }
12510
13199
  }),
13200
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(BooleanField, {
13201
+ id: "settings-task-board-trust-forwarded-proxy",
13202
+ label: t("settings.trustForwardedProxy"),
13203
+ hint: t("settings.trustForwardedProxyHintBrief"),
13204
+ hintTitle: t("settings.trustForwardedProxyHint"),
13205
+ inheritLabel: t("settings.inherit"),
13206
+ onLabel: t("settings.on"),
13207
+ offLabel: t("settings.off"),
13208
+ ...fieldProps,
13209
+ ...state.trustForwardedProxy,
13210
+ onEdit: (text) => {
13211
+ props.edit("trustForwardedProxy", text);
13212
+ },
13213
+ onReset: () => {
13214
+ props.resetField("trustForwardedProxy");
13215
+ }
13216
+ }),
12511
13217
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ValueField, {
12512
13218
  id: "settings-task-board-session-poll",
12513
13219
  label: t("settings.sessionPollSeconds"),
12514
- hint: t("settings.sessionPollSecondsHint"),
13220
+ hint: t("settings.sessionPollSecondsHintBrief"),
13221
+ hintTitle: t("settings.sessionPollSecondsHint"),
12515
13222
  numeric: true,
12516
13223
  ...fieldProps,
12517
13224
  ...state.sessionPollSeconds,
@@ -12525,7 +13232,8 @@ Please report this to https://github.com/markedjs/marked.`, e) {
12525
13232
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ChoiceField, {
12526
13233
  id: "settings-task-board-subtask-depth",
12527
13234
  label: t("settings.maxSubtaskDepth"),
12528
- hint: t("settings.maxSubtaskDepthHint"),
13235
+ hint: t("settings.maxSubtaskDepthHintBrief"),
13236
+ hintTitle: t("settings.maxSubtaskDepthHint"),
12529
13237
  inheritLabel: t("settings.inherit"),
12530
13238
  choices: SUBTASK_DEPTH_CHOICES.map((value) => ({
12531
13239
  value,
@@ -12543,7 +13251,8 @@ Please report this to https://github.com/markedjs/marked.`, e) {
12543
13251
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ValueField, {
12544
13252
  id: "settings-task-board-run-launch-width",
12545
13253
  label: t("settings.runLaunchWidth"),
12546
- hint: t("settings.runLaunchWidthHint"),
13254
+ hint: t("settings.runLaunchWidthHintBrief"),
13255
+ hintTitle: t("settings.runLaunchWidthHint"),
12547
13256
  numeric: true,
12548
13257
  ...fieldProps,
12549
13258
  ...state.runLaunchWidth,
@@ -12557,7 +13266,8 @@ Please report this to https://github.com/markedjs/marked.`, e) {
12557
13266
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ValueField, {
12558
13267
  id: "settings-task-board-spend-budget",
12559
13268
  label: t("settings.spendBudgetTokens"),
12560
- hint: t("settings.spendBudgetTokensHint"),
13269
+ hint: t("settings.spendBudgetTokensHintBrief"),
13270
+ hintTitle: t("settings.spendBudgetTokensHint"),
12561
13271
  numeric: true,
12562
13272
  ...fieldProps,
12563
13273
  ...state.spendBudgetTokens,
@@ -12572,6 +13282,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
12572
13282
  }),
12573
13283
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PluginSettingsCard, {
12574
13284
  t,
13285
+ density: "nested",
12575
13286
  titleKey: "settings.runBehaviorTitle",
12576
13287
  descriptionKey: "settings.runBehaviorCardHint",
12577
13288
  defaultOpen: false,
@@ -12582,7 +13293,8 @@ Please report this to https://github.com/markedjs/marked.`, e) {
12582
13293
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(BooleanField, {
12583
13294
  id: "settings-task-board-goal-run",
12584
13295
  label: t("settings.goalRunGlobal"),
12585
- hint: t("settings.goalRunGlobalHint"),
13296
+ hint: t("settings.goalRunGlobalHintBrief"),
13297
+ hintTitle: t("settings.goalRunGlobalHint"),
12586
13298
  inheritLabel: t("settings.inherit"),
12587
13299
  onLabel: t("settings.on"),
12588
13300
  offLabel: t("settings.off"),
@@ -12598,6 +13310,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
12598
13310
  }),
12599
13311
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(PluginSettingsCard, {
12600
13312
  t,
13313
+ density: "nested",
12601
13314
  titleKey: "settings.goalVerificationTitle",
12602
13315
  descriptionKey: "settings.goalVerificationCardHint",
12603
13316
  defaultOpen: false,
@@ -12609,7 +13322,8 @@ Please report this to https://github.com/markedjs/marked.`, e) {
12609
13322
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(BooleanField, {
12610
13323
  id: "settings-task-board-goal-verification",
12611
13324
  label: t("settings.goalVerification"),
12612
- hint: t("settings.goalVerificationHint"),
13325
+ hint: t("settings.goalVerificationHintBrief"),
13326
+ hintTitle: t("settings.goalVerificationHint"),
12613
13327
  inheritLabel: t("settings.inherit"),
12614
13328
  onLabel: t("settings.on"),
12615
13329
  offLabel: t("settings.off"),
@@ -12625,7 +13339,8 @@ Please report this to https://github.com/markedjs/marked.`, e) {
12625
13339
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ChoiceField, {
12626
13340
  id: "settings-task-board-goal-verification-model",
12627
13341
  label: t("settings.goalVerificationModel"),
12628
- hint: t("settings.goalVerificationModelHint"),
13342
+ hint: t("settings.goalVerificationModelHintBrief"),
13343
+ hintTitle: t("settings.goalVerificationModelHint"),
12629
13344
  inheritLabel: t("settings.inherit"),
12630
13345
  choices: modelChoices,
12631
13346
  ...fieldProps,
@@ -12640,7 +13355,8 @@ Please report this to https://github.com/markedjs/marked.`, e) {
12640
13355
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ChoiceField, {
12641
13356
  id: "settings-task-board-goal-verification-effort",
12642
13357
  label: t("settings.goalVerificationEffort"),
12643
- hint: t("settings.goalVerificationEffortHint"),
13358
+ hint: t("settings.goalVerificationEffortHintBrief"),
13359
+ hintTitle: t("settings.goalVerificationEffortHint"),
12644
13360
  inheritLabel: t("settings.inherit"),
12645
13361
  choices: effortChoices,
12646
13362
  ...fieldProps,
@@ -12683,8 +13399,10 @@ Please report this to https://github.com/markedjs/marked.`, e) {
12683
13399
  }),
12684
13400
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(PluginSettingsCard, {
12685
13401
  t,
13402
+ density: "nested",
12686
13403
  titleKey: "settings.cardDefaultsTitle",
12687
- descriptionKey: "settings.cardDefaultsCardHint",
13404
+ descriptionKey: "settings.cardDefaultsCardBrief",
13405
+ descriptionTitleKey: "settings.cardDefaultsCardHint",
12688
13406
  defaultOpen: false,
12689
13407
  hideFooter: true,
12690
13408
  state: nestedShell,
@@ -12694,7 +13412,8 @@ Please report this to https://github.com/markedjs/marked.`, e) {
12694
13412
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CardDefaultPresetField, {
12695
13413
  id: "settings-task-board-card-default-mode",
12696
13414
  label: t("new.agentPreset"),
12697
- hint: t("settings.cardDefaultModeHint"),
13415
+ hint: t("settings.cardDefaultModeHintBrief"),
13416
+ hintTitle: t("settings.cardDefaultModeHint"),
12698
13417
  presets: state.presets,
12699
13418
  ...fieldProps,
12700
13419
  ...state.cardDefaultMode,
@@ -12708,7 +13427,8 @@ Please report this to https://github.com/markedjs/marked.`, e) {
12708
13427
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ChoiceField, {
12709
13428
  id: "settings-task-board-card-default-permission",
12710
13429
  label: t("new.permission"),
12711
- hint: t("settings.cardDefaultPermissionHint"),
13430
+ hint: t("settings.cardDefaultPermissionHintBrief"),
13431
+ hintTitle: t("settings.cardDefaultPermissionHint"),
12712
13432
  inheritLabel: t("exec.permission.default"),
12713
13433
  choices: TASK_PERMISSIONS.map((id) => ({
12714
13434
  value: id,
@@ -12726,7 +13446,8 @@ Please report this to https://github.com/markedjs/marked.`, e) {
12726
13446
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ChoiceField, {
12727
13447
  id: "settings-task-board-card-default-model",
12728
13448
  label: t("new.model"),
12729
- hint: t("settings.cardDefaultModelHint"),
13449
+ hint: t("settings.cardDefaultModelHintBrief"),
13450
+ hintTitle: t("settings.cardDefaultModelHint"),
12730
13451
  inheritLabel: t("exec.model.default"),
12731
13452
  choices: modelChoiceRows(defaultModels),
12732
13453
  ...fieldProps,
@@ -12763,14 +13484,42 @@ Please report this to https://github.com/markedjs/marked.`, e) {
12763
13484
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
12764
13485
  className: board_settings_module_css_default.power,
12765
13486
  children: [
12766
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
12767
- className: board_settings_module_css_default.powerLine,
12768
- children: t("settings.powerStatus", {
12769
- platform: power?.platform ?? t("settings.powerUnknown"),
12770
- phase: power?.phase ?? t("settings.powerUnknown"),
12771
- running: String(power?.runningSessions ?? 0),
12772
- schedules: String(power?.armedSchedules ?? 0)
12773
- })
13487
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("dl", {
13488
+ className: board_settings_module_css_default.powerFacts,
13489
+ children: [
13490
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("dt", {
13491
+ className: board_settings_module_css_default.powerTerm,
13492
+ children: t("settings.powerPlatform")
13493
+ }),
13494
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("dd", {
13495
+ className: board_settings_module_css_default.powerValue,
13496
+ children: power?.platform ?? t("settings.powerUnknown")
13497
+ }),
13498
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("dt", {
13499
+ className: board_settings_module_css_default.powerTerm,
13500
+ children: t("settings.powerPhase")
13501
+ }),
13502
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("dd", {
13503
+ className: board_settings_module_css_default.powerValue,
13504
+ children: power?.phase ?? t("settings.powerUnknown")
13505
+ }),
13506
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("dt", {
13507
+ className: board_settings_module_css_default.powerTerm,
13508
+ children: t("settings.powerRunning")
13509
+ }),
13510
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("dd", {
13511
+ className: board_settings_module_css_default.powerValue,
13512
+ children: String(power?.runningSessions ?? 0)
13513
+ }),
13514
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("dt", {
13515
+ className: board_settings_module_css_default.powerTerm,
13516
+ children: t("settings.powerSchedules")
13517
+ }),
13518
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("dd", {
13519
+ className: board_settings_module_css_default.powerValue,
13520
+ children: String(power?.armedSchedules ?? 0)
13521
+ })
13522
+ ]
12774
13523
  }),
12775
13524
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
12776
13525
  className: board_settings_module_css_default.powerLine,
@@ -13147,7 +13896,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
13147
13896
  /** The building package's version, when the bundle carries it. */
13148
13897
  function bakedVersion() {
13149
13898
  try {
13150
- return "0.4.8";
13899
+ return "0.4.10";
13151
13900
  } catch {
13152
13901
  return;
13153
13902
  }
@@ -13720,13 +14469,16 @@ Please report this to https://github.com/markedjs/marked.`, e) {
13720
14469
  uiDisposer = void 0;
13721
14470
  };
13722
14471
  };
14472
+ const scheduleRowGuard = createScheduleRowGuard(ctx);
13723
14473
  const syncEnabled = () => {
13724
14474
  const snapshot = settingsForm.getSnapshot();
13725
14475
  if (snapshot.status === "ready" ? snapshot.value?.enabled ?? true : snapshot.status === "unavailable") {
13726
14476
  mountUi();
13727
14477
  clientService.setEnabled(true);
14478
+ scheduleRowGuard.hide();
13728
14479
  } else {
13729
14480
  clientService.setEnabled(false);
14481
+ scheduleRowGuard.show();
13730
14482
  uiDisposer?.();
13731
14483
  }
13732
14484
  };
@@ -13734,6 +14486,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
13734
14486
  ctx.effect(() => () => {
13735
14487
  unsubscribeSettings();
13736
14488
  uiDisposer?.();
14489
+ scheduleRowGuard.dispose();
13737
14490
  }, "task-board: DOM surfaces");
13738
14491
  syncEnabled();
13739
14492
  }