@yankeguo/dsh-devlead-bundle 0.4.2 → 0.4.3-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 +22 -11
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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, seventeen lead
|
|
5
5
|
`devlead_*` tools plus the watched-child `devlead_report` tool, the human `/devlead` command, and
|
|
6
6
|
the browser UI (composer-toolbar switch, read-only status strip, sidebar marks, and the lead-only
|
|
7
7
|
read-only project board).
|
|
@@ -46,12 +46,19 @@ new one — and with no lead the board is disabled (the tools report `BOARD_DISA
|
|
|
46
46
|
appears).
|
|
47
47
|
|
|
48
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
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
profile's `cordis.patch.yml` and set `config.boardPath` to a relative JSON path such as
|
|
50
|
+
`.dsh/devlead/board.json` or `custom/board.json` (retain the other `devlead` config keys because
|
|
51
|
+
DSH replaces the row's whole config). A non-blank value is resolved against the active lead's
|
|
52
|
+
original workspace root (`SessionHeader.cwd`, not its worktree checkout); blank still uses
|
|
53
|
+
`<cwd>/.dsh/devlead/board.json`. Both forms require that root to exist; the Host never recreates a
|
|
54
|
+
missing root. Absolute POSIX paths and Windows drive/UNC paths fail fast with `BOARD_INVALID` at
|
|
55
|
+
Loader/direct construction, with an error asking for a relative path. Backslashes, empty segments,
|
|
56
|
+
and `..` root escapes are also rejected; after `path.resolve`, the path must stay inside the root
|
|
57
|
+
and its final component cannot be a symlink. Existing
|
|
58
|
+
absolute-path deployments fail on startup after upgrade and must migrate to a relative path. If the
|
|
52
59
|
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
|
|
54
|
-
AI writes via `devlead_board_update`; humans and browser clients are read-only. See
|
|
60
|
+
so the browser receives the resolved override path; the default derived path needs no refresh. Only
|
|
61
|
+
the lead AI writes via `devlead_board_update`; humans and browser clients are read-only. See
|
|
55
62
|
[docs/BOARD.md](https://github.com/yankeguo/dsh-devlead/blob/main/docs/BOARD.md) for schema v1 and
|
|
56
63
|
the `window.__DSH_DEVLEAD_BOARD__` contract. No user path is hardcoded in this package.
|
|
57
64
|
|
|
@@ -88,7 +95,7 @@ MIT. See [LICENSE](https://github.com/yankeguo/dsh-devlead/blob/main/LICENSE).
|
|
|
88
95
|
## 中文
|
|
89
96
|
|
|
90
97
|
`@yankeguo/dsh-devlead-bundle` 是 DevLead 套件的安装入口:把 DSH 的一个普通会话升级为 DevLead
|
|
91
|
-
会话,内含核心服务 `ctx.devLead`、
|
|
98
|
+
会话,内含核心服务 `ctx.devLead`、17 个主 `devlead_*` 工具加 1 个 `devlead_report` 汇报工具、
|
|
92
99
|
人类 `/devlead` 命令,以及浏览器端 UI(composer 工具条开关、只读状态条、侧边栏标记,以及仅
|
|
93
100
|
lead 可见的只读项目看板;UI 只在 DSH Web 平台渲染)。
|
|
94
101
|
|
|
@@ -104,10 +111,14 @@ dsh plugin --profile desktop add @yankeguo/dsh-devlead-bundle
|
|
|
104
111
|
|
|
105
112
|
项目看板默认启用、无需配置:active lead 会话的原始 workspace 根拥有
|
|
106
113
|
`<workspace>/.dsh/devlead/board.json`,看板 tab/guide/会话头按钮只在该 lead 会话出现。需要固定
|
|
107
|
-
路径时,覆盖 profile `cordis.patch.yml` 中 loader row `devlead` 的 `config.boardPath
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
114
|
+
路径时,覆盖 profile `cordis.patch.yml` 中 loader row `devlead` 的 `config.boardPath`,非空仅接受
|
|
115
|
+
`.dsh/devlead/board.json`、`custom/board.json` 等相对路径(保留其余 config 键,DSH 会整体替换一行的
|
|
116
|
+
config);它相对原始 `SessionHeader.cwd`(不是 worktree checkout)解析,空白仍用默认路径。默认与
|
|
117
|
+
override 都要求原始根存在,缺失时不重建。绝对 POSIX、Windows 盘符/UNC 在 Loader/直接构造时以
|
|
118
|
+
`BOARD_INVALID` fail-fast,错误提示改用相对路径;反斜杠、空段与 `..` 逃逸同样被拒绝,
|
|
119
|
+
`path.resolve` 后必须仍在根内,最终组件不能是 symlink。既有绝对路径部署升级后会启动失败,必须迁移为相对路径。若页面在 lead
|
|
120
|
+
启用前加载且使用自定义 `boardPath`,需刷新一次页面以拿到解析后的 override 路径(默认派生路径不需要
|
|
121
|
+
刷新)。只有 lead AI 通过 `devlead_board_update` 写入,人类/浏览器只读;详见
|
|
111
122
|
[docs/BOARD.md](https://github.com/yankeguo/dsh-devlead/blob/main/docs/BOARD.md)。
|
|
112
123
|
|
|
113
124
|
每个项目还可在 `board.json` 之外保存长篇 Markdown notes:active lead 用
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yankeguo/dsh-devlead-bundle",
|
|
3
|
-
"version": "0.4.2",
|
|
3
|
+
"version": "0.4.3-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.2",
|
|
28
|
-
"@yankeguo/dsh-tool-devlead": "0.4.2",
|
|
29
|
-
"@yankeguo/dsh-command-devlead": "0.4.2",
|
|
30
|
-
"@yankeguo/dsh-client-ui-devlead": "0.4.2"
|
|
27
|
+
"@yankeguo/dsh-devlead": "0.4.3-rc.2",
|
|
28
|
+
"@yankeguo/dsh-tool-devlead": "0.4.3-rc.2",
|
|
29
|
+
"@yankeguo/dsh-command-devlead": "0.4.3-rc.2",
|
|
30
|
+
"@yankeguo/dsh-client-ui-devlead": "0.4.3-rc.2"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@deepseek-ai/cordis": "~4.1.0"
|