dsh-claude-project-ui 0.2.0 → 0.2.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 (3) hide show
  1. package/CHANGELOG.md +12 -1
  2. package/README.md +69 -1
  3. package/package.json +3 -2
package/CHANGELOG.md CHANGED
@@ -1,6 +1,17 @@
1
1
  # Changelog
2
2
 
3
- ## 0.2.0
3
+ ## 0.2.1 — 2026-11-18
4
+
5
+ 代码行为与 0.2.0 一致(`src/` 未改);这一版只为把仓库里的文档同步到 npm 页面,并给发布加一道门禁。
6
+
7
+ - 文档:README 补「快速开始(3 步)」「配置项表(字段 / 默认值 / 影响)」「License」三节,中英各一份;
8
+ 修两处 heading 前缺空行、英文看板段多出来的一行 `right:`。
9
+ - `package.json` 加 `prepublishOnly` 门禁:`node test/harness.mjs && node test/spec-check.mjs`,
10
+ 以后 `npm publish` 前必过测试与 schema 校验。
11
+ - `INSTALL-LOCAL.md` removed from the public repo: the local install notes (machine-specific absolute paths and backup-directory names) now live in a private folder outside this repository. The file was never shipped in the npm package.
12
+ - GitHub 仓库主页 homepage 指向 npm 包页:<https://www.npmjs.com/package/dsh-claude-project-ui>
13
+
14
+ ## 0.2.0 — 2026-11-17(npm 首发)
4
15
 
5
16
  - 改名:`dsh-project-hub` → `dsh-claude-project-ui`(仓库、npm 包名、插件 id 一并改;仓库改名后旧地址仍重定向)。
6
17
  - 新增**看板面板**(浏览器半):侧栏页脚多一个「▤ 看板」按钮,点开是右侧浮层面板,
package/README.md CHANGED
@@ -34,6 +34,7 @@
34
34
  ```
35
35
 
36
36
  改完完全退出 DSH 再启动。
37
+
37
38
  ## 和 dsh-threads 的关系:补强,不是替代
38
39
 
39
40
  | 能力 | `@kyf-eng/dsh-threads` | 本插件 `dsh-claude-project-ui` |
@@ -110,6 +111,7 @@
110
111
 
111
112
  面板只在 Web GUI(`desktop` / `web` profile)出现;`tui` / headless 没有侧栏,
112
113
  退化成 `/hub board` 命令和 `board_list` 工具。
114
+
113
115
  ## 安装
114
116
 
115
117
  需要 DeepSeek Harness 0.2.1-rc.2 到 0.3.0。
@@ -154,6 +156,20 @@ dsh plugin --profile web add dsh-claude-project-ui
154
156
 
155
157
  数据留在 `~/.dsh/project-hub/`,卸载不会删;要彻底清掉就删这个目录。
156
158
 
159
+ ## 快速开始(3 步)
160
+
161
+ 装好并**完全退出 DSH 再启动**之后:
162
+
163
+ ```text
164
+ /hub status 我在哪个项目、多少知识 / 任务
165
+ /hub note 发布前必须跑 node test/harness.mjs
166
+ /hub add 发布清单 | 1) 跑测试 2) npm pack 3) gh release
167
+ /hub brief 粘进 thread_open.task 的项目简报
168
+ ```
169
+
170
+ 右侧栏「▤ 项目看板」页签里应该能看到刚加的任务和讨论串状态;`tui` / headless 没有侧栏,用 `/hub board`。
171
+ 开新讨论串时它第一步就会带上项目说明、看板快照和最近进展,不用你复制粘贴。
172
+
157
173
  ## 配置
158
174
 
159
175
  在 profile 的 `cordis.patch.yml` 里覆盖:
@@ -176,6 +192,21 @@ dsh plugin --profile web add dsh-claude-project-ui
176
192
  autoConvergeReports: true # 把讨论串回报自动汇总成看板任务(幂等)
177
193
  ```
178
194
 
195
+ | 字段 | 默认值 | 影响 |
196
+ |---|---|---|
197
+ | `dataDir` | `~/.dsh/project-hub` | 知识库 / 任务 / 笔记的根目录;换掉就是另一套项目数据 |
198
+ | `threadsStorage` | `~/.dsh/storages/dsh_threads.json` | 只读;用来识别「哪些会话属于哪个项目」,格式变了会静默降级为不注入 |
199
+ | `knowledgeIndexMaxChars` | `280` | 注入的知识库索引字符上限;调大占提示词预算,调小了只列更少文档 |
200
+ | `kbIndexMaxDocs` | `3` | 索引里最多列几篇文档,其余提示用 `kb_search` 检索 |
201
+ | `boardContextMaxChars` | `700` | 注入的看板快照字符上限 |
202
+ | `digestContextMaxChars` | `700` | 注入的「最近进展」字符上限 |
203
+ | `briefMaxChars` | `4000` | `context_brief` / `/hub brief` 的单次输出上限 |
204
+ | `maxNotes` | `200` | 每个项目保留多少条 `hub_note` 进展笔记 |
205
+ | `maxDocs` | `200` | 每个项目允许的知识库文档数 |
206
+ | `maxKnowledgeChars` | `4000000` | 每个项目知识库总字符数上限 |
207
+ | `hideResolvedThreads` | `true` | 看板与注入里隐藏已解决 / 已归档讨论串;`board_list all=true` 可看全部 |
208
+ | `autoConvergeReports` | `true` | 讨论串回报自动汇总成看板任务(按 `threadId` 幂等) |
209
+
179
210
  ## 数据
180
211
 
181
212
  ```
@@ -212,6 +243,10 @@ dsh plugin --profile web add dsh-claude-project-ui
212
243
 
213
244
  Team 模式的任务板属于**单个会话的 subagent 树**;本插件的看板属于**一个 dsh-threads 项目**(主对话 + 它的所有讨论串)。两者互补,不会互相写入。
214
245
 
246
+ ## License
247
+
248
+ MIT(见 [LICENSE](LICENSE))。
249
+
215
250
  ---
216
251
 
217
252
  <a id="english"></a>
@@ -329,7 +364,6 @@ and they run in order with a per-line report. A trailing `→ note` is treated a
329
364
  ## Board panel (sidebar)
330
365
 
331
366
  The browser half registers a "项目看板" tab in the **right-hand sidebar pane**, next to dsh-threads' "讨论串" tab (the session header also gets a "▤ 项目看板" button that opens it):
332
- right:
333
367
 
334
368
  - Projects grouped, each listing **live threads** (number, title, state, worktree branch)
335
369
  - **Tasks** (id, title, status, owner), including the automatically rolled-up thread tasks
@@ -384,6 +418,21 @@ Other profiles: `dsh plugin --profile web remove dsh-claude-project-ui`.
384
418
 
385
419
  Data stays in `~/.dsh/project-hub/`; uninstalling does not delete it.
386
420
 
421
+ ## Quick start (3 steps)
422
+
423
+ After installing and **quitting DSH completely and starting it again**:
424
+
425
+ ```text
426
+ /hub status which project am I in, how much knowledge / how many tasks
427
+ /hub note release gate is node test/harness.mjs
428
+ /hub add release checklist | 1) run tests 2) npm pack 3) gh release
429
+ /hub brief a project brief to paste into thread_open.task
430
+ ```
431
+
432
+ The "▤ 项目看板" tab in the right pane should now show the task and thread state you just added; `tui` / headless
433
+ have no sidebar, so use `/hub board` there. When you open a new thread it starts with the project brief, the board
434
+ snapshot and recent progress already attached.
435
+
387
436
  ## Configuration
388
437
 
389
438
  Override in the profile's `cordis.patch.yml`:
@@ -406,6 +455,21 @@ Override in the profile's `cordis.patch.yml`:
406
455
  autoConvergeReports: true # roll thread reports up into board tasks (idempotent)
407
456
  ```
408
457
 
458
+ | Field | Default | Effect |
459
+ |---|---|---|
460
+ | `dataDir` | `~/.dsh/project-hub` | Root for knowledge, tasks and notes; pointing it elsewhere gives you a separate set of projects |
461
+ | `threadsStorage` | `~/.dsh/storages/dsh_threads.json` | Read-only; used to tell which sessions belong to a project. A format change degrades to "no injection" |
462
+ | `knowledgeIndexMaxChars` | `280` | Character cap for the injected knowledge index |
463
+ | `kbIndexMaxDocs` | `3` | How many documents the index lists before pointing at `kb_search` |
464
+ | `boardContextMaxChars` | `700` | Character cap for the injected board snapshot |
465
+ | `digestContextMaxChars` | `700` | Character cap for the injected recent-progress digest |
466
+ | `briefMaxChars` | `4000` | Cap for one `context_brief` / `/hub brief` result |
467
+ | `maxNotes` | `200` | Progress notes kept per project |
468
+ | `maxDocs` | `200` | Knowledge documents allowed per project |
469
+ | `maxKnowledgeChars` | `4000000` | Total knowledge characters allowed per project |
470
+ | `hideResolvedThreads` | `true` | Hide resolved / archived threads from the board and injection; `board_list all=true` shows everything |
471
+ | `autoConvergeReports` | `true` | Mirror thread reports onto the board as tasks (idempotent by `threadId`) |
472
+
409
473
  ## Data
410
474
 
411
475
  ```
@@ -449,3 +513,7 @@ Plain JSON, written atomically (temp file + rename); safe to back up or edit by
449
513
  A Team-mode task board belongs to **one session's subagent tree**; this plugin's board belongs to
450
514
  **one dsh-threads project** (main conversation plus all of its threads). They complement each other
451
515
  and never write to the same place.
516
+
517
+ ## License
518
+
519
+ MIT — see [LICENSE](LICENSE).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-claude-project-ui",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Claude-style Projects + Threads for DeepSeek Harness: a project workspace UI on top of @kyf-eng/dsh-threads (shared project briefs, a cross-thread board panel, carried-over context).",
5
5
  "keywords": [
6
6
  "deepseek-harness",
@@ -56,6 +56,7 @@
56
56
  }
57
57
  },
58
58
  "scripts": {
59
- "test": "node test/harness.mjs"
59
+ "test": "node test/harness.mjs",
60
+ "prepublishOnly": "node test/harness.mjs && node test/spec-check.mjs"
60
61
  }
61
62
  }