@linxin666/dsh-client-ui-task-board 0.4.14 → 0.4.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.i18n.yaml CHANGED
@@ -2,5 +2,5 @@
2
2
  # side as of the last confirmed-consistent state. Both languages carry equal authority;
3
3
  # after editing either side, bring the other along and re-record with:
4
4
  # node scripts/verify-docs.mjs --write <dir>
5
- README.md: 85e08b6bdac8ae4fc1bf102ef1c7f8e82bb08be3
6
- README.zh.md: 5ffd015d9c54f9571c04ee48433d028a99af4300
5
+ README.md: 6d192216b8c688901498c41eecc4f774845afd04
6
+ README.zh.md: 4b51ab18e56f868c42acaaffdea0e40c2f0ffad3
package/README.md CHANGED
@@ -5,7 +5,7 @@ English | [中文](README.zh.md)
5
5
  <p align="center">
6
6
  <img src="https://img.shields.io/npm/v/@linxin666/dsh-task-board?style=flat-square" alt="Version">
7
7
  &nbsp;
8
- <img src="https://img.shields.io/badge/DSH-%3E%3D0.2.1--rc.3-4c6ef5?style=flat-square&amp;labelColor=454a54" alt="DSH">
8
+ <img src="https://img.shields.io/badge/DSH-%3E%3D0.2.2--rc.1-4c6ef5?style=flat-square&amp;labelColor=454a54" alt="DSH">
9
9
  &nbsp;
10
10
  <img src="https://img.shields.io/badge/license-Apache--2.0-blue?style=flat-square" alt="License">
11
11
  </p>
@@ -27,7 +27,7 @@ A hot-pluggable DeepSeek Harness (DSH) Web GUI and official desktop client task
27
27
  Cards keep multi-line title and description previews with visible metadata. Previews strip Markdown formatting; task details render description and prompt as safe Markdown without raw HTML or automatic remote images, and content taller than about eight rendered lines is clamped to a fixed height with a fade hint and a "Show more" toggle that expands and collapses it, while shorter content renders untouched with no toggle. Stored task text is unchanged. A bracketed title prefix such as `[Bug]:` renders as a type badge, and the description preview skips issue-form boilerplate (checkbox lists, section headings, empty-field placeholders), preferring a summary section when one exists. A left stripe shows the latest run (running, succeeded, failed, cancelled); a card whose column disagrees with that run is labelled as set by hand. Each column shows the time its cards differ by — created in Backlog/To Do, started while running, settled in Done/Failed — read in the Host time zone. The latest execution session opens straight from the card. Every column header toggles compact single-line cards (Done starts compact, the choice is stored in the browser). All five columns and the archive first group cards by provider source — full `owner/repository` labels for GitHub — with unclaimed cards in Local tasks; source groups sort by label and their fold choices persist per browser. Done source groups start collapsed while the other columns and the archive start expanded, and search always reveals matching groups. Done, Failed and the archive nest Today / Last 7 days / Earlier within each source group and fold the oldest group once that source holds more than 30 cards, unless a search is active.
28
28
 
29
29
  - **Task board UI**: the board is the shell's own center-column panel — like the desktop application's Plugins page, it contributes a row to the shell's official sidebar panel list and a page to the layout's center-column seat, so row geometry, the active highlight, the collapsed rail, the label, and language switching are the shell's to own; the board provides five kanban columns, search, task details, archive/restore, execution history, and links to execution transcripts. Every column is reachable by hand, by dragging a card or from the detail view's move menu: the move writes the column and no execution record, so Done or Failed declares work that finished (or failed) outside a tracked run and Running parks work that is under way without a session, while a card the runner is actually executing refuses every move until it settles. Archived tasks are read-only except for restore, delete, and transcript viewing, and cannot run manually or on schedule until restored.
30
- - **One scheduling entry in the sidebar**: while the board is enabled, the shell's official *Automation tasks* entry (the host `ui-schedule` page over the Host Schedule service) is hidden, so the sidebar offers one scheduling surface instead of two. The board's own master switch owns the state: switching the board off brings the official entry back, and the official page keeps working everywhere else it is still reachable — the entry is hidden, not uninstalled.
30
+ - **Two complementary automation entries**: the shell's official *Automation tasks* page manages reminders and timed prompts in the Host Schedule service, while *Task board* manages cards, subtasks, real Session execution, cron, acceptance, and execution history. Both entries stay available so the user can choose the task shape; the board neither hides nor takes over the official page.
31
31
  - **Detail layout and folds**: the task detail is two columns on a wide viewport — the left holds the task itself (description, execution prompt, labels, subtasks, frozen snapshot, handover bundle) and the right holds how this run will run (execution settings, scheduled runs, execution history, status); a narrow viewport falls back to one column in the same order. Workspace, agent preset, permission, model, and reasoning effort stay visible, while the three card-level switches (continue in the same conversation, start with /goal, skip this task's acceptance) fold into one "Advanced" row that echoes the switches that are on while it is closed, so the card's shape is readable without expanding it. Scheduled runs and execution history each take one fold row: the schedule row says whether a rule is armed and when it next fires, the history row says how many runs there are and what the latest one did, and the list itself shows the five most recent runs until it is expanded; an acceptance report shows one verdict badge on its row and the verdict, judge route, per-criterion scores, and findings only once expanded. The permission gate and the current status never fold. The view uses three type sizes (title, body, meta), status and result badges share one filled slot scale, and every fold row and button carries a hit target of at least 44 pixels.
32
32
  - **Continuation cards (data plane)**: a new task may paste a `<<<FREEZE ... >>>FREEZE` block from a session; it parses into a goal/progress/next snapshot persisted with the task (ledger v3). Cards carry a frozen badge, the detail view shows the full snapshot and freeze time, search covers snapshot text, and archive/restore matches plain tasks. The snapshot reuses the freeze security gate at the protocol layer: sensitive patterns become `[REDACTED]` with a marker, slash-prefixed command lines reject the whole snapshot, and each field is capped at 8 KiB.
33
33
  - **Handover bundles and the permission confirmation gate**: a continuation card may attach a handover bundle — the pinned execution triplet (workspace / agent preset / permission) plus doc/script references. The bundle's triplet overrides the plain pin fields at execution, and the references ride the prompt as a handover preamble. A binding whose effective permission is above the deployment's permission baseline — the Host's own default permission preset unless the profile pins `sessionDefaultPermission` — is unconfirmed: manual run refuses, cron skips the card and rolls to the next occurrence, and the confirm button in the task detail resolves the binding; any later permission or bundle change re-arms the gate.
package/README.zh.md CHANGED
@@ -5,7 +5,7 @@
5
5
  <p align="center">
6
6
  <img src="https://img.shields.io/npm/v/@linxin666/dsh-task-board?style=flat-square" alt="Version">
7
7
  &nbsp;
8
- <img src="https://img.shields.io/badge/DSH-%3E%3D0.2.1--rc.3-4c6ef5?style=flat-square&amp;labelColor=454a54" alt="DSH">
8
+ <img src="https://img.shields.io/badge/DSH-%3E%3D0.2.2--rc.1-4c6ef5?style=flat-square&amp;labelColor=454a54" alt="DSH">
9
9
  &nbsp;
10
10
  <img src="https://img.shields.io/badge/license-Apache--2.0-blue?style=flat-square" alt="License">
11
11
  </p>
@@ -27,7 +27,7 @@
27
27
  卡片保留多行标题、描述预览及可见的元数据。预览去除 Markdown 标记,详情中的描述与 Prompt 按安全 Markdown 渲染,不执行原始 HTML 或自动加载远程图片;超过约八行的内容默认按固定高度钳制并带渐隐提示,点「展开全文」展开、可再收起,未超出的内容原样渲染且无切换按钮。任务原文保持不变。标题开头的方括号前缀(如 `[Bug]:`)渲染为类型徽章,描述预览跳过 Issue 表单的模板内容(勾选列表、小节标题、空字段占位),存在摘要类小节时优先取它。卡片左侧色条显示最近一次执行(运行中、成功、失败、取消);所在列与该次执行不一致的卡片标注为手动结算。每列显示能区分卡片的时间——待规划/待办为创建时间、运行中为开始时间、已完成/已失败为结算时间——按 Host 时区读取。最近一次执行的会话可直接从卡片打开。每个列头都可切换紧凑单行卡片(已完成列默认紧凑,选择保存在浏览器中)。五个主列与归档先按提供方来源分组——GitHub 显示完整 `owner/repository`——未被提供方认领的卡片进入「本地任务」组;来源组按名称排序,折叠选择按浏览器保存。已完成的来源组默认折叠,其他主列与归档默认展开,搜索总会露出命中的分组。已完成、已失败与归档在每个来源组内部再按「今天 / 近 7 天 / 更早」分组,该来源超过 30 张卡时折叠最早一组,搜索时不折叠。
28
28
 
29
29
  - **任务看板 UI**:看板是 shell 自己的中栏面板——它像桌面版【插件】页那样,向 shell 的官方侧栏面板列表贡献一行、向布局的中栏座位贡献一页,因此行的几何、选中高亮、折叠 rail、标签与语言切换都由 shell 统一负责;看板提供五列布局、搜索、任务详情、归档/恢复、执行历史和执行会话跳转。五列都可以手工切换:拖拽卡片或从详情页的「移动到…」菜单切换状态,只写列、不产生执行记录——「已完成」「已失败」声明工作在受追踪的执行之外结束(或失败),「进行中」则表示工作正在进行但没有对应会话;真正在执行中的卡片在结算前拒绝任何移动。归档任务除恢复、删除和查看 transcript 外保持只读,恢复前不能手动或定时执行。
30
- - **侧栏只有一个调度入口**:看板启用期间,shell 官方侧栏里的「自动化任务」入口(宿主 `ui-schedule` 页面,挂在 Host Schedule 服务上)会被隐藏,侧栏因此只提供一个调度面而不是两个。该状态由看板自己的总开关掌握:关闭看板,官方入口随之回来;官方页面在其他仍可触达的地方照常工作——隐藏的是入口,不是卸载。
30
+ - **两个互补的自动化入口**:shell 官方「自动化任务」页管理 Host Schedule 服务里的提醒与定时提示;「任务看板」管理卡片、子任务、真实会话执行、cron、验收与执行历史。两个入口同时保留,用户可按任务形态选择,看板不会隐藏或接管官方页面。
31
31
  - **任务详情的布局与折叠**:任务详情在宽视口上是双栏——左栏是任务本身(描述、执行 Prompt、标签、子任务、冻结快照、交接包),右栏是这次执行会怎么跑(执行设置、定时运行、执行记录、状态);窄视口按同一顺序退回单栏。执行设置里的工作区、Agent 预设、权限、模型与思考档位常驻可见,三个卡片级开关(同一对话继续、以 /goal 开始执行、跳过本任务的验收)收进一行「高级设置」,收起时在行上回显已开启项,因此不展开也知道这张卡会怎么跑。定时运行与执行记录各占一行折叠:定时行说明是否启用与下次触发时刻,执行记录行说明次数与最近一次结果,记录本身默认只列最近五次,展开才看全部;每条记录里的验收报告在行上只给一个结论徽标,展开后才是判定、裁判路由、逐项分数与问题反馈。权限确认门与当前状态不折叠。视图内字号只有三档(标题、正文、元信息),状态与结果徽标共用一套填充色槽位,折叠行与按钮的命中区不小于 44 像素。
32
32
  - **续接卡片(数据面)**:新建任务时可粘贴会话输出的 `<<<FREEZE … >>>FREEZE` 冻结块,解析为「目标/进度/下一步」快照随任务持久化(v3 账本);卡片带冻结徽标,详情页可读完整快照与冻结时间,搜索覆盖快照文本,归档/恢复与普通任务一致。快照在协议层复用冻结安全门:敏感模式自动替换为 `[REDACTED]` 并标记、以 `/` 开头的命令行整体拒绝、每字段 8 KiB 上限。
33
33
  - **交接包与权限确认门**:续接卡片可附交接包——钉住三元组(工作区/agent 预设/权限)加文档与脚本引用。执行时交接包三元组覆盖普通钉住字段,引用以交接前言随 Prompt 下发。有效权限高于部署权限基线——未钉住 `sessionDefaultPermission` 时即宿主自己的默认权限预设——的绑定处于待确认状态:手动执行被拒绝、cron 跳过该卡并滚动到下一触发点,任务详情中的确认按钮完成人工确认;此后任何权限或交接包变更都会重新武装确认门。
package/lib/client.js CHANGED
@@ -6,7 +6,6 @@ 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");
10
9
  let _deepseek_ai_dsh_client_store = require("@deepseek-ai/dsh-client-store");
11
10
  //#region src/core/extension.ts
12
11
  /** Cordis service name the host and browser halves each publish. */
@@ -13052,251 +13051,6 @@ Please report this to https://github.com/markedjs/marked.`, e) {
13052
13051
  };
13053
13052
  }
13054
13053
  //#endregion
13055
- //#region src/client/body-mutations.ts
13056
- /** Cross-bundle registry key; `Symbol.for` so every module copy agrees. */
13057
- const HUB_KEY = Symbol.for("dsh-web.body-mutation-hub");
13058
- const INVALIDATION_ONLY = Symbol.for("dsh-web.body-mutation-invalidation");
13059
- function needsRecords(subscribers) {
13060
- for (const listener of subscribers) if (!listener[INVALIDATION_ONLY]) return true;
13061
- return false;
13062
- }
13063
- /**
13064
- * Subscribe to a coalesced DOM re-check without retaining mutation records.
13065
- * The marked wrapper also works with an older hub, which delivers records
13066
- * that it simply ignores until a page reload picks up the updated hub.
13067
- */
13068
- function subscribeBodyInvalidations(subscriber) {
13069
- const listener = () => {
13070
- subscriber();
13071
- };
13072
- listener[INVALIDATION_ONLY] = true;
13073
- return subscribeBodyMutations(listener);
13074
- }
13075
- /**
13076
- * Subscribe to body-level childList mutations.
13077
- * @param subscriber - called at most once per animation frame with the records
13078
- * collected since the previous flush; must be safe to run repeatedly.
13079
- * @returns the disposer removing this subscriber (and the observer when it was
13080
- * the last one).
13081
- */
13082
- function subscribeBodyMutations(subscriber) {
13083
- if (typeof globalThis === "undefined" || typeof document === "undefined") return () => {};
13084
- if (typeof MutationObserver !== "function") return () => {};
13085
- const registry = globalThis;
13086
- let hub = registry[HUB_KEY];
13087
- if (hub === void 0) {
13088
- const subscribers = /* @__PURE__ */ new Set();
13089
- const created = {
13090
- observer: void 0,
13091
- subscribers,
13092
- pending: [],
13093
- scheduled: false
13094
- };
13095
- const flush = () => {
13096
- created.frame = void 0;
13097
- created.scheduled = false;
13098
- const batch = created.pending;
13099
- created.pending = [];
13100
- for (const listener of [...subscribers]) {
13101
- if (!subscribers.has(listener)) continue;
13102
- try {
13103
- listener(batch);
13104
- } catch {}
13105
- }
13106
- };
13107
- const schedule = () => {
13108
- if (created.scheduled) return;
13109
- created.scheduled = true;
13110
- if (typeof requestAnimationFrame === "function") created.frame = requestAnimationFrame(flush);
13111
- else flush();
13112
- };
13113
- created.observer = new MutationObserver((records) => {
13114
- if (needsRecords(subscribers)) for (const record of records) created.pending.push(record);
13115
- schedule();
13116
- });
13117
- created.observer.observe(document.body ?? document.documentElement, {
13118
- childList: true,
13119
- subtree: true
13120
- });
13121
- registry[HUB_KEY] = created;
13122
- hub = created;
13123
- }
13124
- const active = hub;
13125
- active.subscribers.add(subscriber);
13126
- let subscribed = true;
13127
- return () => {
13128
- if (!subscribed) return;
13129
- subscribed = false;
13130
- active.subscribers.delete(subscriber);
13131
- if (!needsRecords(active.subscribers)) active.pending = [];
13132
- if (active.subscribers.size === 0 && registry[HUB_KEY] === active) {
13133
- active.observer.disconnect();
13134
- if (active.frame !== void 0 && typeof cancelAnimationFrame === "function") cancelAnimationFrame(active.frame);
13135
- active.frame = void 0;
13136
- active.pending = [];
13137
- active.scheduled = false;
13138
- delete registry[HUB_KEY];
13139
- }
13140
- };
13141
- }
13142
- //#endregion
13143
- //#region src/client/suppress-schedule-row.ts
13144
- /**
13145
- * Hide the official automation-tasks entry while the board is on.
13146
- *
13147
- * The shell mounts two scheduling surfaces side by side in the sidebar: the
13148
- * official `ui-schedule` client half ("Automation tasks" — the Host Schedule
13149
- * service's own page) and this package's board ("Task board" — a Host ledger
13150
- * that runs real DSH sessions). The board is the family's complete surface, so
13151
- * while it is enabled the official row is hidden and the sidebar offers one
13152
- * scheduling entry instead of two.
13153
- *
13154
- * The shell owns that row: it renders the button, the label, the tooltip, the
13155
- * active highlight and the collapsed rail, and the host's own end-to-end suite
13156
- * addresses the row by its accessible name. The row is therefore located the
13157
- * same way — the shell's global panel list seat (`sidebar.panellist`), whose
13158
- * per-row anchor the slot renderer stamps — and it is identified by the label
13159
- * the shell itself resolves for that entry (`resolveSlotLabel`, exactly the
13160
- * call the shell's panel projection makes), so the match follows the active
13161
- * language instead of a hard-coded translation.
13162
- *
13163
- * The write is one inline `display: none` on the shell's own button: the row
13164
- * stays mounted (React keeps owning it) and the official panel keeps working
13165
- * everywhere else it is reachable — only the duplicate sidebar entry goes
13166
- * away. The board's master switch owns the state, exactly as it owns the
13167
- * board's own row: with the board off, the official row comes back.
13168
- */
13169
- /**
13170
- * The official automation-tasks panel id.
13171
- *
13172
- * The host `ui-schedule` client half registers its sidebar row and its
13173
- * center-column page under this id; the shell's panel projection addresses
13174
- * both by it.
13175
- */
13176
- const OFFICIAL_SCHEDULE_PANEL_ID = "schedules";
13177
- /** The shell's global panel list seat; every rendered panel row carries one anchor. */
13178
- const PANEL_LIST_SLOT = "sidebar.panellist";
13179
- /** The anchor the slot renderer stamps for each global panel row. */
13180
- const PANEL_ROW_ANCHOR = `[data-slot="${PANEL_LIST_SLOT}"]`;
13181
- /**
13182
- * The family's own hook on a plugin-owned panel row.
13183
- *
13184
- * A row carrying it belongs to a plugin that owns its entry, never to the
13185
- * official automation-tasks row, so the guard skips those rows: it must not
13186
- * be able to hide the board's own entry.
13187
- */
13188
- const PLUGIN_ROW_HOOK = "[data-dsh-panel-entry]";
13189
- /**
13190
- * The live panel-list ledger, or an empty one.
13191
- *
13192
- * A context that serves no slot registry (a capture-only test context, or a
13193
- * shell that never declared the seat) has no official row to hide, and the
13194
- * guard must read that as "nothing to do" instead of failing the page.
13195
- * @param ctx - the client context.
13196
- * @returns the panel-list entries the shell currently projects.
13197
- */
13198
- function panelEntries(ctx) {
13199
- const reader = ctx.slots;
13200
- if (reader === void 0 || typeof reader.entriesOfSlot !== "function") return [];
13201
- try {
13202
- return reader.entriesOfSlot(PANEL_LIST_SLOT) ?? [];
13203
- } catch {
13204
- return [];
13205
- }
13206
- }
13207
- /**
13208
- * The accessible name the shell renders on the official automation-tasks row.
13209
- *
13210
- * The shell projects its panel list with `resolveSlotLabel(options.label) ??
13211
- * id`, and that value becomes the row's accessible name. Reading the same
13212
- * value out of the same ledger is what keeps the DOM match correct in every
13213
- * language.
13214
- * @param entries - the live panel-list ledger.
13215
- * @returns the row's accessible name, or undefined when the official panel is not mounted.
13216
- */
13217
- function officialScheduleRowLabel(entries) {
13218
- const entry = entries.find((candidate) => candidate.options.id === OFFICIAL_SCHEDULE_PANEL_ID);
13219
- if (entry === void 0) return void 0;
13220
- try {
13221
- return (0, _deepseek_ai_dsh_client_ui_slots.resolveSlotLabel)(entry.options.label) ?? entry.options.id;
13222
- } catch {
13223
- return;
13224
- }
13225
- }
13226
- /**
13227
- * The shell's button for the panel row carrying this accessible name.
13228
- *
13229
- * Every global panel row renders one slot anchor inside the shell's own
13230
- * button, so the anchor is the row's handle and the button is what the user
13231
- * sees. Rows a plugin owns (they carry the family's own entry hook) are
13232
- * skipped.
13233
- * @param root - the document (or a subtree) to search.
13234
- * @param label - the accessible name to match.
13235
- * @returns the row button, or undefined when no row carries that name.
13236
- */
13237
- function findPanelRow(root, label) {
13238
- for (const anchor of root.querySelectorAll(PANEL_ROW_ANCHOR)) {
13239
- if (anchor.querySelector(PLUGIN_ROW_HOOK) !== null) continue;
13240
- const button = anchor.closest("button");
13241
- if (button !== null && button.getAttribute("aria-label") === label) return button;
13242
- }
13243
- }
13244
- /**
13245
- * Guard the official automation-tasks row against the board's presence.
13246
- *
13247
- * The guard hides the row while the board is enabled and restores it when the
13248
- * board is switched off. It re-applies its write after every DOM change,
13249
- * because the shell owns the row and may mount or replace it at any time (a
13250
- * re-render, a panel-list change, the official plugin arriving late).
13251
- * @param ctx - client context carrying the slot registry.
13252
- * @param root - the document to search; defaults to the ambient one.
13253
- * @returns the guard's controls.
13254
- */
13255
- function createScheduleRowGuard(ctx, root) {
13256
- const scope = root ?? (typeof document === "undefined" ? void 0 : document);
13257
- let hidden;
13258
- let previousDisplay = null;
13259
- let stopWatching;
13260
- const restoreRow = () => {
13261
- if (hidden === void 0) return;
13262
- const button = hidden;
13263
- hidden = void 0;
13264
- if (previousDisplay === null) button.style.removeProperty("display");
13265
- else button.style.setProperty("display", previousDisplay);
13266
- previousDisplay = null;
13267
- };
13268
- const hideRow = () => {
13269
- if (scope === void 0) return;
13270
- const label = officialScheduleRowLabel(panelEntries(ctx));
13271
- if (label === void 0) return;
13272
- const button = findPanelRow(scope, label);
13273
- if (button === void 0) return;
13274
- if (hidden === button) return;
13275
- restoreRow();
13276
- hidden = button;
13277
- previousDisplay = button.style.getPropertyValue("display");
13278
- button.style.setProperty("display", "none", "important");
13279
- };
13280
- const sync = () => {
13281
- if (hidden !== void 0 && !hidden.isConnected) restoreRow();
13282
- hideRow();
13283
- };
13284
- const hide = () => {
13285
- hideRow();
13286
- if (stopWatching === void 0) stopWatching = subscribeBodyInvalidations(sync);
13287
- };
13288
- const show = () => {
13289
- stopWatching?.();
13290
- stopWatching = void 0;
13291
- restoreRow();
13292
- };
13293
- return {
13294
- hide,
13295
- show,
13296
- dispose: show
13297
- };
13298
- }
13299
- //#endregion
13300
13054
  //#region \0dsh-css:packages/dsh-task-board/src/client/settings-card.module.css.mjs
13301
13055
  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:12px;line-height:18px}.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;container:Jh0q7G_settings-card/inline-size}.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_failed{color:var(--dsw-alias-state-error-primary,#b42318);overflow-wrap:anywhere;margin:8px 0 4px;font-size:12px;line-height:18px}.Jh0q7G_field{grid-template-columns:minmax(0,1fr) fit-content(50%);grid-template-areas:\"Jh0q7G_head Jh0q7G_control\"\"Jh0q7G_hint Jh0q7G_control\";align-items:center;gap:4px 24px;padding:16px 0;display:grid}.Jh0q7G_field>.Jh0q7G_head{grid-area:Jh0q7G_head}.Jh0q7G_field>:is(.Jh0q7G_hint,.Jh0q7G_invalid){grid-area:Jh0q7G_hint}.Jh0q7G_field>:not(.Jh0q7G_head,.Jh0q7G_hint,.Jh0q7G_invalid){grid-area:Jh0q7G_control;justify-self:end;max-width:100%}.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:14px;font-weight:400;line-height:22px}.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}.Jh0q7G_segmentGroup{background:color-mix(in srgb, var(--dsw-alias-label-primary) 7%, transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--dsw-alias-label-primary) 5%, transparent);border-radius:8px;flex-wrap:wrap;align-items:center;gap:2px;padding:2px;display:inline-flex;position:relative}.Jh0q7G_segment{appearance:none;color:var(--dsw-alias-label-secondary);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:7px;margin:0;padding:3px 12px;font-size:13px;font-weight:500;line-height:18px;transition:background-color .12s,color .12s}.Jh0q7G_segment:hover:not(:disabled):not([data-active]){color:var(--dsw-alias-label-primary)}.Jh0q7G_segmentGroup:not([data-pill])>.Jh0q7G_segment[data-active],.Jh0q7G_segmentGroup[data-pill]:before{background:var(--dsw-alias-bg-overlay,var(--dsw-alias-bg-layer-3));box-shadow:0 1px 2px #14141314}body[data-ds-dark-theme] .Jh0q7G_segmentGroup:not([data-pill])>.Jh0q7G_segment[data-active],body[data-ds-dark-theme] .Jh0q7G_segmentGroup[data-pill]:before{box-shadow:none;background:#ffffff24}.Jh0q7G_segment[data-active]{color:var(--dsw-alias-label-primary)}.Jh0q7G_segmentGroup[data-pill]:before{content:\"\";width:var(--segment-pill-w,0px);height:var(--segment-pill-h,0px);transform:translate(var(--segment-pill-x,0px), var(--segment-pill-y,0px));pointer-events:none;border-radius:7px;transition:transform .24s cubic-bezier(.22,.61,.36,1),width .24s cubic-bezier(.22,.61,.36,1),height .24s cubic-bezier(.22,.61,.36,1);position:absolute;top:0;left:0}.Jh0q7G_segmentGroup>*{z-index:1;position:relative}.Jh0q7G_segment:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:1px}.Jh0q7G_segment:disabled{cursor:not-allowed;opacity:.45}.Jh0q7G_segmentGroup[data-pill]:has(>.Jh0q7G_segment:disabled):before{opacity:.45}.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_field>:is(.Jh0q7G_input,.Jh0q7G_inputInvalid,.Jh0q7G_select,.Jh0q7G_selectWrap,.Jh0q7G_rangeAnchor){box-sizing:border-box;width:220px}.Jh0q7G_rangeAnchor>:is(.Jh0q7G_input,.Jh0q7G_inputInvalid){box-sizing:border-box;width:100%}@container Jh0q7G_settings-card (width<=440px){.Jh0q7G_field{grid-template-columns:minmax(0,1fr);grid-template-areas:\"Jh0q7G_head\"\"Jh0q7G_hint\"\"Jh0q7G_control\";row-gap:8px}.Jh0q7G_field>:not(.Jh0q7G_head,.Jh0q7G_hint,.Jh0q7G_invalid){justify-self:start}.Jh0q7G_field>:is(.Jh0q7G_input,.Jh0q7G_inputInvalid,.Jh0q7G_select,.Jh0q7G_selectWrap,.Jh0q7G_rangeAnchor){justify-self:stretch;width:auto}}.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_rangeAnchor{display:inline-flex;position:relative}.Jh0q7G_rangeBubble{z-index:40;box-sizing:border-box;border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-3);width:220px;box-shadow:0 8px 24px var(--dsw-alias-bg-mask-2);opacity:0;visibility:hidden;border-radius:10px;padding:10px 12px 6px;transition:opacity .12s,transform .12s,visibility 0s linear .12s;position:absolute;right:0}.Jh0q7G_rangeBubble[data-side=above]{bottom:calc(100% + 6px);transform:translateY(4px)}.Jh0q7G_rangeBubble[data-side=below]{top:calc(100% + 6px);transform:translateY(-4px)}.Jh0q7G_rangeBubble[data-open]{opacity:1;visibility:visible;transition:opacity .12s,transform .12s,visibility;transform:none}.Jh0q7G_rangeSlider{appearance:none;cursor:pointer;background:0 0;width:100%;height:18px;margin:0;display:block}.Jh0q7G_rangeSlider::-webkit-slider-runnable-track{background:linear-gradient(to right, var(--dsw-alias-brand-primary) var(--range-fill,0%), color-mix(in srgb, var(--dsw-alias-label-primary) 12%, transparent) var(--range-fill,0%));border-radius:999px;height:4px}.Jh0q7G_rangeSlider::-moz-range-track{background:color-mix(in srgb, var(--dsw-alias-label-primary) 12%, transparent);border-radius:999px;height:4px}.Jh0q7G_rangeSlider::-moz-range-progress{background:var(--dsw-alias-brand-primary);border-radius:999px;height:4px}.Jh0q7G_rangeSlider::-webkit-slider-thumb{appearance:none;background:#fff;border:0;border-radius:50%;width:14px;height:14px;margin-top:-5px;transition:transform .12s;box-shadow:0 0 0 1px #0000001f,0 1px 3px #00000040}.Jh0q7G_rangeSlider::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:14px;height:14px;box-shadow:0 0 0 1px #0000001f,0 1px 3px #00000040}.Jh0q7G_rangeSlider:active::-webkit-slider-thumb{transform:scale(1.15)}.Jh0q7G_rangeSlider:focus-visible{outline:none}.Jh0q7G_rangeSlider:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 2px var(--dsw-alias-brand-primary)}.Jh0q7G_rangeSlider:disabled{cursor:not-allowed}.Jh0q7G_rangeEnds{color:var(--dsw-alias-label-secondary);font-variant-numeric:tabular-nums;justify-content:space-between;margin-top:2px;font-size:11px;line-height:16px;display:flex}.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) 10%, transparent);font-weight:500}.Jh0q7G_invalid{color:var(--dsw-alias-state-error-primary,#b42318);margin:0;font-size:12px;line-height:18px}.Jh0q7G_hint{color:var(--dsw-alias-label-secondary);margin:0;font-size:12px;line-height:18px}.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:36px;height:20px;transition:background-color .18s;position:relative}.Jh0q7G_toggleThumb{--toggle-travel:16px;--toggle-overshoot:1px;background:var(--dsw-alias-bg-layer-3);border-radius:50%;width:16px;height:16px;transition:translate .18s;position:absolute;top:2px;left:2px;translate:0;box-shadow:0 1px 2px #1414132e}.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{translate:var(--toggle-travel) 0;background:var(--dsw-alias-label-primary-foreground,var(--dsw-alias-bg-layer-3))}.Jh0q7G_toggle[data-moved][aria-checked=true] .Jh0q7G_toggleThumb{animation:.35s cubic-bezier(.34,1.45,.64,1) both Jh0q7G_toggle-on}.Jh0q7G_toggle[data-moved][aria-checked=false] .Jh0q7G_toggleThumb{animation:.35s cubic-bezier(.34,1.45,.64,1) both Jh0q7G_toggle-off}@keyframes Jh0q7G_toggle-on{0%{translate:0}55%{translate:calc(var(--toggle-travel) + var(--toggle-overshoot)) 0}80%,to{translate:var(--toggle-travel) 0}}@keyframes Jh0q7G_toggle-off{0%{translate:var(--toggle-travel) 0}55%{translate:calc(0px - var(--toggle-overshoot)) 0}80%,to{translate:0}}.Jh0q7G_toggle:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:2px}.Jh0q7G_toggle:disabled{opacity:.45;cursor:not-allowed}@media (prefers-reduced-motion:reduce){.Jh0q7G_card,.Jh0q7G_header,.Jh0q7G_mark,.Jh0q7G_chevron,.Jh0q7G_chevronOpen,.Jh0q7G_rangeBubble,.Jh0q7G_selectChevron,.Jh0q7G_selectChevronOpen,.Jh0q7G_selectPopup,.Jh0q7G_toggleTrack,.Jh0q7G_toggleThumb{transition:none}.Jh0q7G_toggle[data-moved] .Jh0q7G_toggleThumb{animation:none}.Jh0q7G_disclosure{transition-property:opacity}}";
13302
13056
  const tagId$1 = "@linxin666/dsh-client-ui-task-board/packages/dsh-task-board/src/client/settings-card.module.css";
@@ -15481,7 +15235,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
15481
15235
  /** The building package's version, when the bundle carries it. */
15482
15236
  function bakedVersion() {
15483
15237
  try {
15484
- return "0.4.14";
15238
+ return "0.4.15";
15485
15239
  } catch {
15486
15240
  return;
15487
15241
  }
@@ -15686,9 +15440,9 @@ Please report this to https://github.com/markedjs/marked.`, e) {
15686
15440
  }
15687
15441
  };
15688
15442
  if (typeof ctx.on === "function") try {
15689
- ctx.on("slots/changed", () => {
15443
+ ctx.on("slots/changed", (() => {
15690
15444
  reconcile();
15691
- });
15445
+ }));
15692
15446
  } catch {}
15693
15447
  reconcile();
15694
15448
  }
@@ -16079,16 +15833,13 @@ Please report this to https://github.com/markedjs/marked.`, e) {
16079
15833
  uiDisposer = void 0;
16080
15834
  };
16081
15835
  };
16082
- const scheduleRowGuard = createScheduleRowGuard(ctx);
16083
15836
  const syncEnabled = () => {
16084
15837
  const snapshot = settingsForm.getSnapshot();
16085
15838
  if (snapshot.status === "ready" ? snapshot.value?.enabled ?? true : snapshot.status === "unavailable") {
16086
15839
  mountUi();
16087
15840
  clientService.setEnabled(true);
16088
- scheduleRowGuard.hide();
16089
15841
  } else {
16090
15842
  clientService.setEnabled(false);
16091
- scheduleRowGuard.show();
16092
15843
  uiDisposer?.();
16093
15844
  }
16094
15845
  };
@@ -16096,7 +15847,6 @@ Please report this to https://github.com/markedjs/marked.`, e) {
16096
15847
  ctx.effect(() => () => {
16097
15848
  unsubscribeSettings();
16098
15849
  uiDisposer?.();
16099
- scheduleRowGuard.dispose();
16100
15850
  }, "task-board: DOM surfaces");
16101
15851
  syncEnabled();
16102
15852
  }