@yankeguo/dsh-devlead-bundle 0.4.1 → 0.4.2-rc.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.
- package/README.md +48 -7
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
# @yankeguo/dsh-devlead-bundle
|
|
2
2
|
|
|
3
3
|
The npm bundle that upgrades one ordinary [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness)
|
|
4
|
-
(DSH) session into a **DevLead session**: it ships the core host service,
|
|
4
|
+
(DSH) session into a **DevLead session**: it ships the core host service, eighteen lead
|
|
5
5
|
`devlead_*` tools plus the watched-child `devlead_report` tool, the human `/devlead` command, and
|
|
6
|
-
the browser UI (composer-toolbar switch, read-only status strip, sidebar marks
|
|
6
|
+
the browser UI (composer-toolbar switch, read-only status strip, sidebar marks, and the lead-only
|
|
7
|
+
read-only project board).
|
|
7
8
|
|
|
8
9
|
## Install
|
|
9
10
|
|
|
@@ -35,6 +36,32 @@ Once the mode is on, that session gains the lead tools: it can register Workspac
|
|
|
35
36
|
ordinary child sessions, prompt and watch them, and be woken when they settle. The child sessions
|
|
36
37
|
are standard DSH Sessions — visible in the sidebar and openable by a human — not subagents.
|
|
37
38
|
|
|
39
|
+
## Project board (on by default)
|
|
40
|
+
|
|
41
|
+
The board is enabled by default and needs no configuration: the active DevLead session's original
|
|
42
|
+
workspace root owns `<workspace>/.dsh/devlead/board.json`, and the read-only right-Sidebar tab,
|
|
43
|
+
guide entry and Session-header button appear only in that lead Session. The file follows the single
|
|
44
|
+
active lead — turning the mode off or switching leads leaves the old file untouched and reads the
|
|
45
|
+
new one — and with no lead the board is disabled (the tools report `BOARD_DISABLED`, no board UI
|
|
46
|
+
appears).
|
|
47
|
+
|
|
48
|
+
To pin the file to a deployment-specific location instead, override loader row `devlead` in the
|
|
49
|
+
profile's `cordis.patch.yml` and set `config.boardPath` to an absolute JSON path (retain the other
|
|
50
|
+
`devlead` config keys because DSH replaces the row's whole config). `boardPath` is optional, wins
|
|
51
|
+
over the derived path, and existing explicit `boardPath` deployments keep working unchanged. If the
|
|
52
|
+
page was loaded before the lead was enabled and you use a custom `boardPath`, refresh the page once
|
|
53
|
+
so the browser receives the override path; the default derived path needs no refresh. Only the lead
|
|
54
|
+
AI writes via `devlead_board_update`; humans and browser clients are read-only. See
|
|
55
|
+
[docs/BOARD.md](https://github.com/yankeguo/dsh-devlead/blob/main/docs/BOARD.md) for schema v1 and
|
|
56
|
+
the `window.__DSH_DEVLEAD_BOARD__` contract. No user path is hardcoded in this package.
|
|
57
|
+
|
|
58
|
+
Each project can also carry long-form Markdown notes outside `board.json`: the active lead uses
|
|
59
|
+
`devlead_board_note_read` for list/read and `devlead_board_note_write` only for create/metadata/delete,
|
|
60
|
+
then edits the returned absolute Markdown path with DSH-native file tools. People get a compact notes chip
|
|
61
|
+
and an immersive, read-only Markdown reader in the board. Notes use a bounded metadata index under
|
|
62
|
+
`dirname(boardPath)/notes/`; Host reads lazily reconcile file metadata without rewriting bodies, and the
|
|
63
|
+
browser uses the same Workspace Files read path as the board with no write API or custom Remote.
|
|
64
|
+
|
|
38
65
|
## What's inside
|
|
39
66
|
|
|
40
67
|
The bundle's patch inserts four plugin rows:
|
|
@@ -42,9 +69,9 @@ The bundle's patch inserts four plugin rows:
|
|
|
42
69
|
| entry id | package | role |
|
|
43
70
|
| --- | --- | --- |
|
|
44
71
|
| `devlead` | `@yankeguo/dsh-devlead` | Host core service `ctx.devLead`: durable mode switch, Workspace/Session orchestration, notification hub, Session projections |
|
|
45
|
-
| `devlead-tool` | `@yankeguo/dsh-tool-devlead` |
|
|
72
|
+
| `devlead-tool` | `@yankeguo/dsh-tool-devlead` | Eighteen lead `devlead_*` tools plus `devlead_report`, and the conditional DevLead system prompt/context |
|
|
46
73
|
| `devlead-command` | `@yankeguo/dsh-command-devlead` | The human `/devlead` command: status, on/off, reset, watch/unwatch |
|
|
47
|
-
| `devlead-ui` | `@yankeguo/dsh-client-ui-devlead` | Browser UI: composer-toolbar switch, read-only status strip, sidebar active/watched marks — renders on the DSH **Web** platform |
|
|
74
|
+
| `devlead-ui` | `@yankeguo/dsh-client-ui-devlead` | Browser UI: composer-toolbar switch, read-only status strip, sidebar active/watched marks, and the lead-only read-only project board — renders on the DSH **Web** platform |
|
|
48
75
|
|
|
49
76
|
## Learn more
|
|
50
77
|
|
|
@@ -61,9 +88,9 @@ MIT. See [LICENSE](https://github.com/yankeguo/dsh-devlead/blob/main/LICENSE).
|
|
|
61
88
|
## 中文
|
|
62
89
|
|
|
63
90
|
`@yankeguo/dsh-devlead-bundle` 是 DevLead 套件的安装入口:把 DSH 的一个普通会话升级为 DevLead
|
|
64
|
-
会话,内含核心服务 `ctx.devLead`、
|
|
65
|
-
人类 `/devlead` 命令,以及浏览器端 UI(composer
|
|
66
|
-
DSH Web 平台渲染)。
|
|
91
|
+
会话,内含核心服务 `ctx.devLead`、18 个主 `devlead_*` 工具加 1 个 `devlead_report` 汇报工具、
|
|
92
|
+
人类 `/devlead` 命令,以及浏览器端 UI(composer 工具条开关、只读状态条、侧边栏标记,以及仅
|
|
93
|
+
lead 可见的只读项目看板;UI 只在 DSH Web 平台渲染)。
|
|
67
94
|
|
|
68
95
|
安装,或从 Web 的 **Plugins → Add plugin** 输入包名安装:
|
|
69
96
|
|
|
@@ -75,6 +102,20 @@ dsh plugin --profile desktop add @yankeguo/dsh-devlead-bundle
|
|
|
75
102
|
会话执行 `/devlead on`(人类专属操作;也可点 composer 工具条里的 DevLead 图标 + 文本按钮)。
|
|
76
103
|
同一 Host 同一时间只能有一个 DevLead 会话,关闭用 `/devlead off`。
|
|
77
104
|
|
|
105
|
+
项目看板默认启用、无需配置:active lead 会话的原始 workspace 根拥有
|
|
106
|
+
`<workspace>/.dsh/devlead/board.json`,看板 tab/guide/会话头按钮只在该 lead 会话出现。需要固定
|
|
107
|
+
路径时,覆盖 profile `cordis.patch.yml` 中 loader row `devlead` 的 `config.boardPath`(绝对路径、
|
|
108
|
+
可选;保留其余 config 键,DSH 会整体替换一行的 config)。已显式配置 `boardPath` 的部署行为不变;
|
|
109
|
+
若页面在 lead 启用前加载且使用自定义 `boardPath`,需刷新一次页面以拿到 override 路径(默认
|
|
110
|
+
派生路径不需要刷新)。只有 lead AI 通过 `devlead_board_update` 写入,人类/浏览器只读;详见
|
|
111
|
+
[docs/BOARD.md](https://github.com/yankeguo/dsh-devlead/blob/main/docs/BOARD.md)。
|
|
112
|
+
|
|
113
|
+
每个项目还可在 `board.json` 之外保存长篇 Markdown notes:active lead 用
|
|
114
|
+
`devlead_board_note_read` 读取列表/全文,只用 `devlead_board_note_write` 创建/更新元数据/删除,
|
|
115
|
+
再用 DSH 原生文件工具编辑返回的绝对 Markdown 路径;用户通过项目卡上的紧凑 notes chip 打开全栏
|
|
116
|
+
只读阅读器。notes 在 `dirname(boardPath)/notes/` 下使用有界元数据索引,Host read/list 惰性对账且
|
|
117
|
+
不重写正文;浏览器沿用 Workspace Files 只读路径,没有写 API 或新增 Remote。
|
|
118
|
+
|
|
78
119
|
更多文档见[根 README.zh.md](https://github.com/yankeguo/dsh-devlead/blob/main/README.zh.md)与
|
|
79
120
|
[设计说明](https://github.com/yankeguo/dsh-devlead/blob/main/docs/DESIGN.md);License 为 MIT,
|
|
80
121
|
见 [LICENSE](https://github.com/yankeguo/dsh-devlead/blob/main/LICENSE)。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yankeguo/dsh-devlead-bundle",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2-rc.10",
|
|
4
4
|
"description": "Dev Lead mode for DeepSeek Harness: turn one session into a lead that creates and steers ordinary Workspaces and Sessions, watches their state, and is woken on change.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"README.md"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@yankeguo/dsh-devlead": "0.4.
|
|
28
|
-
"@yankeguo/dsh-tool-devlead": "0.4.
|
|
29
|
-
"@yankeguo/dsh-command-devlead": "0.4.
|
|
30
|
-
"@yankeguo/dsh-client-ui-devlead": "0.4.
|
|
27
|
+
"@yankeguo/dsh-devlead": "0.4.2-rc.10",
|
|
28
|
+
"@yankeguo/dsh-tool-devlead": "0.4.2-rc.10",
|
|
29
|
+
"@yankeguo/dsh-command-devlead": "0.4.2-rc.10",
|
|
30
|
+
"@yankeguo/dsh-client-ui-devlead": "0.4.2-rc.10"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@deepseek-ai/cordis": "~4.1.0"
|