@yankeguo/dsh-devlead-bundle 0.4.1 → 0.4.2-rc.2
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 +35 -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, sixteen 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,25 @@ 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
|
+
|
|
38
58
|
## What's inside
|
|
39
59
|
|
|
40
60
|
The bundle's patch inserts four plugin rows:
|
|
@@ -42,9 +62,9 @@ The bundle's patch inserts four plugin rows:
|
|
|
42
62
|
| entry id | package | role |
|
|
43
63
|
| --- | --- | --- |
|
|
44
64
|
| `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` |
|
|
65
|
+
| `devlead-tool` | `@yankeguo/dsh-tool-devlead` | Sixteen lead `devlead_*` tools plus `devlead_report`, and the conditional DevLead system prompt/context |
|
|
46
66
|
| `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 |
|
|
67
|
+
| `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
68
|
|
|
49
69
|
## Learn more
|
|
50
70
|
|
|
@@ -61,9 +81,9 @@ MIT. See [LICENSE](https://github.com/yankeguo/dsh-devlead/blob/main/LICENSE).
|
|
|
61
81
|
## 中文
|
|
62
82
|
|
|
63
83
|
`@yankeguo/dsh-devlead-bundle` 是 DevLead 套件的安装入口:把 DSH 的一个普通会话升级为 DevLead
|
|
64
|
-
会话,内含核心服务 `ctx.devLead`、
|
|
65
|
-
人类 `/devlead` 命令,以及浏览器端 UI(composer
|
|
66
|
-
DSH Web 平台渲染)。
|
|
84
|
+
会话,内含核心服务 `ctx.devLead`、16 个主 `devlead_*` 工具加 1 个 `devlead_report` 汇报工具、
|
|
85
|
+
人类 `/devlead` 命令,以及浏览器端 UI(composer 工具条开关、只读状态条、侧边栏标记,以及仅
|
|
86
|
+
lead 可见的只读项目看板;UI 只在 DSH Web 平台渲染)。
|
|
67
87
|
|
|
68
88
|
安装,或从 Web 的 **Plugins → Add plugin** 输入包名安装:
|
|
69
89
|
|
|
@@ -75,6 +95,14 @@ dsh plugin --profile desktop add @yankeguo/dsh-devlead-bundle
|
|
|
75
95
|
会话执行 `/devlead on`(人类专属操作;也可点 composer 工具条里的 DevLead 图标 + 文本按钮)。
|
|
76
96
|
同一 Host 同一时间只能有一个 DevLead 会话,关闭用 `/devlead off`。
|
|
77
97
|
|
|
98
|
+
项目看板默认启用、无需配置:active lead 会话的原始 workspace 根拥有
|
|
99
|
+
`<workspace>/.dsh/devlead/board.json`,看板 tab/guide/会话头按钮只在该 lead 会话出现。需要固定
|
|
100
|
+
路径时,覆盖 profile `cordis.patch.yml` 中 loader row `devlead` 的 `config.boardPath`(绝对路径、
|
|
101
|
+
可选;保留其余 config 键,DSH 会整体替换一行的 config)。已显式配置 `boardPath` 的部署行为不变;
|
|
102
|
+
若页面在 lead 启用前加载且使用自定义 `boardPath`,需刷新一次页面以拿到 override 路径(默认
|
|
103
|
+
派生路径不需要刷新)。只有 lead AI 通过 `devlead_board_update` 写入,人类/浏览器只读;详见
|
|
104
|
+
[docs/BOARD.md](https://github.com/yankeguo/dsh-devlead/blob/main/docs/BOARD.md)。
|
|
105
|
+
|
|
78
106
|
更多文档见[根 README.zh.md](https://github.com/yankeguo/dsh-devlead/blob/main/README.zh.md)与
|
|
79
107
|
[设计说明](https://github.com/yankeguo/dsh-devlead/blob/main/docs/DESIGN.md);License 为 MIT,
|
|
80
108
|
见 [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.2",
|
|
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.2",
|
|
28
|
+
"@yankeguo/dsh-tool-devlead": "0.4.2-rc.2",
|
|
29
|
+
"@yankeguo/dsh-command-devlead": "0.4.2-rc.2",
|
|
30
|
+
"@yankeguo/dsh-client-ui-devlead": "0.4.2-rc.2"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@deepseek-ai/cordis": "~4.1.0"
|