@william2000/dsh-nova-ui-task-board 0.2.1 → 0.3.1

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 (51) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +34 -74
  3. package/cordis.patch.yml +0 -6
  4. package/lib/client.js +4 -5777
  5. package/lib/index.js +11 -4950
  6. package/lib/types/client/NovaPluginsSection.d.ts +0 -23
  7. package/lib/types/client/NovaTaskBoardSettingsCard.d.ts +0 -8
  8. package/lib/types/client/apply-guard.d.ts +0 -20
  9. package/lib/types/client/board/ConfirmDialog.d.ts +0 -3
  10. package/lib/types/client/board/ConfirmTaskDialog.d.ts +0 -1
  11. package/lib/types/client/board/ConvertTaskModal.d.ts +0 -4
  12. package/lib/types/client/board/NewTaskModal.d.ts +0 -1
  13. package/lib/types/client/board/RequirementSplitModal.d.ts +0 -4
  14. package/lib/types/client/board/SplitConfirmDialog.d.ts +0 -2
  15. package/lib/types/client/board/TaskBoard.d.ts +0 -5
  16. package/lib/types/client/board/TaskCard.d.ts +0 -23
  17. package/lib/types/client/board/TaskDetail.d.ts +0 -1
  18. package/lib/types/client/board/status-key.d.ts +0 -5
  19. package/lib/types/client/board-controller.d.ts +0 -159
  20. package/lib/types/client/board-mount.d.ts +0 -7
  21. package/lib/types/client/chat-integration.d.ts +0 -64
  22. package/lib/types/client/drag-utils.d.ts +0 -52
  23. package/lib/types/client/filter.d.ts +0 -22
  24. package/lib/types/client/grouping.d.ts +0 -39
  25. package/lib/types/client/host-api.d.ts +0 -44
  26. package/lib/types/client/index.d.ts +0 -21
  27. package/lib/types/client/legacy-store.d.ts +0 -22
  28. package/lib/types/client/locales.d.ts +4 -22
  29. package/lib/types/client/schedule-presets.d.ts +0 -9
  30. package/lib/types/client/sidebar-entry-core.d.ts +0 -33
  31. package/lib/types/client/sidebar-entry.d.ts +0 -16
  32. package/lib/types/core/context.d.ts +0 -77
  33. package/lib/types/core/cron.d.ts +0 -42
  34. package/lib/types/core/migrate.d.ts +0 -31
  35. package/lib/types/core/model.d.ts +0 -263
  36. package/lib/types/core/recovery.d.ts +0 -18
  37. package/lib/types/core/split.d.ts +0 -55
  38. package/lib/types/core/transitions.d.ts +0 -349
  39. package/lib/types/dsh-home.d.ts +0 -16
  40. package/lib/types/host-automation.d.ts +0 -40
  41. package/lib/types/host-ledger.d.ts +0 -104
  42. package/lib/types/host-routes.d.ts +0 -42
  43. package/lib/types/host-runner.d.ts +0 -85
  44. package/lib/types/host-service.d.ts +0 -219
  45. package/lib/types/index.d.ts +0 -61
  46. package/lib/types/loopback.d.ts +0 -18
  47. package/lib/types/mount-once.d.ts +0 -8
  48. package/lib/types/protocol.d.ts +0 -75
  49. package/package.json +16 -5
  50. package/lib/client.js.map +0 -1
  51. package/lib/types/client/PlaceholderBoard.d.ts +0 -9
package/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
package/README.md CHANGED
@@ -1,86 +1,46 @@
1
- # dsh-nova-ui-task-board
1
+ # @william2000/dsh-nova-ui-task-board
2
2
 
3
- DSH Web GUI 任务看板插件本体(功能包)。Host 服务(账本/调度/执行/自动化收集)+ 浏览器 UI
3
+ Task board plugin for the DeepSeek Harness (DSH) Web GUI: a host-side service (authoritative ledger, scheduler, real session execution) plus a browser UI, mounted without modifying DSH.
4
4
 
5
- > **当前里程碑:P3.1(T001–T011 已实现)**:monorepo 构建链、插件挂载骨架、Host
6
- > 权威账本与数据模型(T002)、状态机与 Action 协议基线(T003)、五列看板 UI 与
7
- > 实时同步(T004)、真实执行与结算(T005)、cron 周期定时(T006)、一次性计划
8
- > 任务 one-shot(T007)、标签/项目与过滤(T008)、列内排序与跨列拖拽(T009)、
9
- > 自动化收集与上下文闭环(T010:GitHub Webhook / 收藏收集 / 评论 / 上下文快照 /
10
- > 产物)、对话候选任务流转(T011:proposed 候选 + 确认闸门 + Agent 标记解析 +
11
- > 消息「转为任务」+ 待确认列与入口角标)。需求拆分(T012)按路线图后续实现。
12
- > 需求:`docs/DSH-REQ-001-任务看板插件需求规格说明书.md`(v2.5)。
13
- > 目录结构对齐参考工程 [dsh-web-ui/packages/dsh-task-board](https://github.com/zhu1090093659/dsh-web-ui)。
5
+ ## Features
14
6
 
15
- ## 已实现(P1–P3)
7
+ - Board with `backlog / todo / running / done / failed` columns, archive, and search
8
+ - Real session execution: `run / rerun` tasks in independent DSH sessions, with per-turn settlement and restart recovery
9
+ - Cron periodic schedules and one-shot planned runs
10
+ - Tags & projects with filtering, grouping views, in-column ordering, and cross-column drag & drop
11
+ - Conversation capture: propose tasks from chat, then confirm before execution (approval gate)
12
+ - Automation collection: GitHub webhook / bookmarks inbox, with a manual approval gate
13
+ - Settings card under the "Nova 插件" section; UI strings in zh/en
16
14
 
17
- | 项 | 状态 |
18
- | --- | --- |
19
- | pnpm workspace monorepo(根 `package.json` + `pnpm-workspace.yaml`) | ✅ |
20
- | 构建链:TypeScript(tsc,类型产物到 `lib/types`)+ tsdown(`lib/index.js` + `lib/client.js`),Node ≥ 20 | ✅ |
21
- | vitest 测试(16 个 spec / 305 断言:状态机、cron、one-shot、协议、账本、路由、服务、控制器、传输、jsdom 渲染) | ✅ |
22
- | 插件挂载骨架:`cordis.patch.yml`(行 id `nova-ui-task-board`)+ profile 机制热插拔 | ✅ |
23
- | 插件配置项:`enabled` / `announceToAgent` / `preventIdleSleep` / `trustedProxyHosts` / `proxyTokenEnv` / `githubWebhookSecretEnv` / `githubTokenEnv` | ✅ |
24
- | i18n:zh 优先 + en 回退字典(`src/client/locales.ts`,key 集以 zh 为准) | ✅ |
25
- | 设置卡片:注册 `nova-task-board` 设置命名空间 + Web UI 插件设置卡片(需求 12.5) | ✅ |
26
- | Host 权威账本(T002):`$DSH_HOME/nova-ui/task-board/ledger-v2.json` 原子写 + 单写者锁 + 损坏隔离 + 幂等缓存 + v1 迁移 | ✅ |
27
- | 状态机与 Action 协议基线(T003):`import/create/update/delete/move/archive/restore` + 严格校验 + 三端点(state/action/events SSE)+ 安全栅栏 | ✅ |
28
- | 五列看板 UI 与实时同步(T004):侧边栏入口、五列 + 计数、搜索、归档视图、任务详情(执行设置/历史/移动/归档/恢复/删除)、新建任务、Host 错误条 + 重试、SSE + 全量快照同步、卡片 memo 化、v1 只读回退展示 | ✅ |
29
- | 真实执行与结算(T005):`run/rerun` action + HostRunner 独立会话、5s 轮询按 turn 结算、重启恢复(无 sessionId 标 cancelled 禁止重发) | ✅ |
30
- | cron 周期定时(T006):`set-schedule` action、`nextRunAtMs` 到期计算(DST 正确)、30s tick 扫描、错过不补跑、running 中到期只滚动不触发、卡片「定时」徽标 + 详情页 cron 编辑器 | ✅ |
31
- | 一次性计划 one-shot(T007):`set-one-shot` action(runAt 缺省或 0 = 取消)、30s tick 触发即消费(写 firedAt 防重启重复触发)、running 冲突不并发不排队、错过跳过不补跑、与 cron 互斥(D6)、详情页 one-shot 编辑器(datetime-local + 快捷预设 + 已执行/已过期状态展示)、卡片「计划」徽标 | ✅ |
32
- | 列内排序、分组与跨列拖拽(T009):`reorder`/`move.order`、order Host 重算、分组视图(手动/项目/标签)、done/failed 拖回重开 | ✅ |
33
- | 自动化收集与上下文闭环(T010):`automationRules` 账本集合 + `upsert/delete/run-automation` action;书签收件箱 JSONL 收集、GitHub Issue API 轮询(标签过滤/跳 PR)、规则 cron 与任务 schedule 同轮 tick(错过不补跑)、`POST /api/nova-task-board/webhooks/github`(HMAC-SHA256 验签,env 密钥);评论/上下文快照/产物数据模型(结算后 Host 自动更新快照 + 会话产物,`composePrompt` 只注入摘要+必要片段,B5 预算);自动收集人工审核闸门(未 promote 不可执行/不可定时) | ✅ |
34
- | 对话候选任务流转(T011):`propose/confirm/dismiss` action + `proposed` 状态(未确认不可执行/不可定时/不可归档,守卫在状态机);六列看板(待确认列)+ 候选卡片「待确认」角标/来源标记 + 确认对话框(可编辑、选落列、拒绝);入口未确认数量角标;Agent 候选标记解析(`⟦task-board:propose⟧ 标题 | 描述 | prompt`,订阅会话快照自动 propose,B7 定案)+ 消息 hover「转为任务」按钮(手动兜底,ConvertTaskModal 候选/直建两路);`source=conversation` + 来源会话/消息引用(metadata,可跳回对话);propose 载荷清洗(控制字符/长度)与命令字段递归拒绝(§16.7) | ✅ |
35
- | `enabled=false` 隐藏入口与看板 | ✅ |
36
- | 不修改 DSH 源码;仅官方 `@deepseek-ai/*` SDK | ✅ |
15
+ ## Install
37
16
 
38
- ## 命名与共存(AGENTS.md D2/D3/D4)
17
+ ```sh
18
+ # core plugin only
19
+ dsh plugin --profile web add @william2000/dsh-nova-ui-task-board@latest
39
20
 
40
- - API 前缀:**`/api/nova-task-board`**(参考实现占用 `/api/task-board`,注册会 throw);
41
- - 账本路径:**`$DSH_HOME/nova-ui/task-board/ledger-v2.json`**(避开宿主 `$DSH_HOME/task-board/`);
42
- - 设置命名空间 / locale 命名空间 / DOM 属性(`data-dsh-nova-taskboard-*`)/ 插件行 id(`nova-ui-*`)一律 nova- 前缀,与参考实现共存不打架。
21
+ # or install everything at once (recommended)
22
+ dsh plugin --profile web add @william2000/dsh-nova-ui-all@latest
23
+ ```
43
24
 
44
- ## 目录结构(对齐参考工程)
25
+ ## Configuration
45
26
 
46
- ```
47
- src/
48
- ├── index.ts # 插件入口:Config 七项配置、设置命名空间、播报 section
49
- ├── mount-once.ts # Host 单实例守卫
50
- ├── host-ledger.ts # Host 权威账本(T002):原子写/锁/损坏隔离/幂等
51
- ├── host-routes.ts # 同源端点:state / action / events(SSE) + webhooks/github(HMAC)+ 安全栅栏
52
- ├── host-service.ts # 协议控制面:串行 apply + snapshot/event/power + 调度 tick + 自动化收集编排
53
- ├── host-runner.ts # 真实会话执行与结算(T005)+ 上下文摘要摘取(T010/B5)
54
- ├── host-automation.ts # 自动化收集器(T010):书签收件箱 / GitHub API(注入 fetch)
55
- ├── protocol.ts # Action 判别联合(严格校验)(T003 基线 + T005/T006/T007/T009/T010 扩展)
56
- ├── loopback.ts # loopback origin 安全栅栏
57
- ├── dsh-home.ts # $DSH_HOME 解析
58
- ├── client/ # 浏览器 UI(T004 已实现)
59
- │ ├── index.ts # 运行时接线:transport/sessions/workspaces/presets
60
- │ ├── board-controller.ts # 控制器:Host 投影 + 视图状态 + SSE 同步 + memo 身份保持 + propose/confirm/dismiss(T011)
61
- │ ├── host-api.ts # 同源 HTTP + SSE 传输 + v1 一次性迁移
62
- │ ├── legacy-store.ts # v1 只读回退数据读取
63
- │ ├── chat-integration.tsx # 对话候选提取(T011/B7):Agent 标记解析 + 消息 hover「转为任务」注入
64
- │ ├── board/ # TaskBoard(六列)/ TaskCard / TaskDetail / NewTaskModal / ConfirmDialog / ConfirmTaskDialog / ConvertTaskModal
65
- │ └── locales.ts # zh/en 字典
66
- └── core/ # 模型、状态机纯函数、上下文/收集纯函数、cron 解析、迁移、恢复
67
- tests/ # vitest 单测(23 个 spec;jsdom 渲染走 board-view spec)
68
- ```
27
+ | Option | Description |
28
+ | --- | --- |
29
+ | `enabled` | Show or hide the board entry |
30
+ | `announceToAgent` | Announce board events to the agent |
31
+ | `preventIdleSleep` | Prevent the session from sleeping while tasks are running |
32
+ | `trustedProxyHosts` | Comma-separated proxy hosts allowed to forward requests |
33
+ | `proxyTokenEnv` | Env var name holding the proxy token |
34
+ | `githubWebhookSecretEnv` | Env var name holding the GitHub webhook HMAC secret |
35
+ | `githubTokenEnv` | Env var name holding the GitHub API token |
69
36
 
70
- ## 脚本
37
+ ## HTTP API
71
38
 
72
- ```sh
73
- pnpm install # 仓库根执行,安装全部 workspace 依赖
74
- pnpm build # tsc -p tsconfig.build.json && tsdown(功能包与聚合包)
75
- pnpm test # vitest run
76
- pnpm typecheck # tsc --noEmit
77
- ```
39
+ - `GET /api/nova-task-board/state` — full board snapshot
40
+ - `POST /api/nova-task-board/action` apply a board action
41
+ - `GET /api/nova-task-board/events` SSE updates
42
+ - `POST /api/nova-task-board/webhooks/github` — GitHub webhook (HMAC-SHA256)
78
43
 
79
- ## 安装(对齐参考实现的挂载方式)
44
+ ## License
80
45
 
81
- ```sh
82
- # 单装核心功能包
83
- dsh plugin --profile web add @william2000/dsh-nova-ui-task-board@latest
84
- # 或一键安装聚合包(推荐)
85
- dsh plugin --profile web add @william2000/dsh-nova-ui-all@latest
86
- ```
46
+ Apache-2.0
package/cordis.patch.yml CHANGED
@@ -2,12 +2,6 @@
2
2
  # the web profile roster. Applied as a profile bundle layer (the
3
3
  # `dsh.bundle.patch` manifest field) over dsh-base; activate with
4
4
  # `dsh plugin --profile <name> add @william2000/dsh-nova-ui-task-board@latest`.
5
- #
6
- # 对齐参考工程 dsh-web-ui/packages/dsh-task-board/cordis.patch.yml:
7
- # 裸插件行按包名引用——node 半区(exports ".")运行于 Host 进程,
8
- # `dsh.client` 声明使浏览器半区(exports "./client",由 /plugins/<id>/client.js 提供)在 Web GUI 加载。
9
- # 行 id 用 nova-ui-task-board(AGENTS.md 命名规范:nova-ui-* 前缀)。
10
- # npm 包名带 @william2000/ scope(2026-08-23 定,见 AGENTS.md §3 D7)。
11
5
  - insert:
12
6
  - id: nova-ui-task-board
13
7
  name: '@william2000/dsh-nova-ui-task-board'