@yankeguo/dsh-devlead-bundle 0.2.3 → 0.2.4
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 +13 -12
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -12,11 +12,12 @@ kind: "package-bundle"
|
|
|
12
12
|
|
|
13
13
|
## 特性
|
|
14
14
|
|
|
15
|
-
- **DevLead 模式**:每个会话一个持久开关;打开后获得
|
|
16
|
-
提示,以及两态 UI
|
|
15
|
+
- **DevLead 模式**:每个会话一个持久开关;打开后获得 13 个 `devlead_*` 工具、DevLead 系统
|
|
16
|
+
提示,以及两态 UI:composer 工具条里的 DevLead 图标 + 文本按钮在两种状态下都常驻并负责
|
|
17
|
+
开启/关闭,开启后 composer 上方才出现只读状态条。
|
|
17
18
|
已开启的会话还会在侧边栏会话行显示 DevLead 标记,关掉会话后仍可辨识(DSH rc.1 对
|
|
18
19
|
blank / 尚无 turn 的新会话行不渲染该 seat,首次 turn 后才显示)。
|
|
19
|
-
开关是**人类专属操作**(`/devlead on|off`
|
|
20
|
+
开关是**人类专属操作**(`/devlead on|off` 或 composer 工具条开关),模型无法自行打开。
|
|
20
21
|
- **产出物是标准 DSH 实体**:Workspace 真实注册进 `ctx.workspaceRegistry`,子会话是真实普通
|
|
21
22
|
Session(侧边栏可见、可被人类打开接管),**不是 subagent**。
|
|
22
23
|
- **监督与唤醒**:被 watch 的会话每个 `turn/end` 都写入 DevLead 会话的持久通知记录;Agent
|
|
@@ -28,18 +29,18 @@ kind: "package-bundle"
|
|
|
28
29
|
随每个会话列表行下发,供侧边栏标记使用。
|
|
29
30
|
- **人类命令**:`/devlead`、`/devlead on|off`、`/devlead reset`(损坏状态恢复)、
|
|
30
31
|
`/devlead watch|unwatch <session>`。
|
|
31
|
-
- **两态 UI
|
|
32
|
-
composer
|
|
33
|
-
|
|
32
|
+
- **两态 UI**:composer 工具条里的 ghost 图标 + DevLead 文本按钮在两种状态下都显示——关闭态
|
|
33
|
+
点击 `/devlead on`,开启态点击 `/devlead off`;开启后 composer 上方出现只读 DevLeadBar,
|
|
34
|
+
显示监督会话数 / 运行中数与最近通知;侧边栏会话行同时带 DevLead 标记。
|
|
34
35
|
|
|
35
36
|
## 本 bundle 包含的插件行
|
|
36
37
|
|
|
37
38
|
| entry id | 包 | 作用 |
|
|
38
39
|
| --- | --- | --- |
|
|
39
40
|
| `devlead` | `@yankeguo/dsh-devlead` | 核心服务 `ctx.devLead`:模式、Workspace/Session 编排、通知投递、`devLead` projection |
|
|
40
|
-
| `devlead-tool` | `@yankeguo/dsh-tool-devlead` |
|
|
41
|
+
| `devlead-tool` | `@yankeguo/dsh-tool-devlead` | 13 个模型工具与条件 system prompt |
|
|
41
42
|
| `devlead-command` | `@yankeguo/dsh-command-devlead` | `/devlead` 人类命令 |
|
|
42
|
-
| `devlead-ui` | `@yankeguo/dsh-client-ui-devlead` | 浏览器两态 UI
|
|
43
|
+
| `devlead-ui` | `@yankeguo/dsh-client-ui-devlead` | 浏览器两态 UI:常驻工具条开关(图标 + 文本)+ 开启后的只读 DevLeadBar + 侧边栏会话行标记 |
|
|
43
44
|
|
|
44
45
|
依赖方向:`protocol ← devlead ← {tool, command}`;`client-ui` 只依赖 `protocol`(浏览器侧)。
|
|
45
46
|
|
|
@@ -118,7 +119,7 @@ profile,且 `desktop` profile 已启用本 bundle(重复插入相同 row id
|
|
|
118
119
|
## 使用
|
|
119
120
|
|
|
120
121
|
```
|
|
121
|
-
/devlead #
|
|
122
|
+
/devlead # 状态:模式状态、监督会话、最近通知、帮助
|
|
122
123
|
/devlead on # 打开当前会话的 DevLead 模式(人类专属)
|
|
123
124
|
/devlead off # 关闭(fold 冻结时同时完成隐式 reset 恢复)
|
|
124
125
|
/devlead reset # 人类专属恢复:丢弃本会话的 DevLead 状态(模式/watch/digest)
|
|
@@ -152,7 +153,7 @@ bundle 的 patch 行没有显式写配置,核心服务使用 DESIGN 默认值
|
|
|
152
153
|
maxWatchedSessions: 64 # 每个 lead 最多监督的会话数
|
|
153
154
|
maxListedSessions: 200 # 会话列表最大行数
|
|
154
155
|
wakeColdSession: true # resume 冷 DevLead 会话以投递其排队的通知(默认)
|
|
155
|
-
defaultAgentPreset: '' # 创建会话的默认 Agent preset
|
|
156
|
+
defaultAgentPreset: '' # 创建会话的默认 Agent preset(空 = 用 Host 默认;无效 id 创建失败)
|
|
156
157
|
```
|
|
157
158
|
|
|
158
159
|
## 行为与限制
|
|
@@ -187,8 +188,8 @@ bundle 的 patch 行没有显式写配置,核心服务使用 DESIGN 默认值
|
|
|
187
188
|
## English summary
|
|
188
189
|
|
|
189
190
|
`@yankeguo/dsh-devlead-bundle` installs the whole DevLead suite - the core `ctx.devLead` service,
|
|
190
|
-
|
|
191
|
-
strip
|
|
191
|
+
thirteen `devlead_*` tools, the `/devlead` human command, and the Web UI (composer-toolbar toggle
|
|
192
|
+
plus a status-only strip and sidebar marks). The suite targets the default DSH Web composition
|
|
192
193
|
(`dsh-base` + `dsh-web-app`) and has no hard dependency on experimental plugins. Full docs:
|
|
193
194
|
[README.md](https://github.com/yankeguo/dsh-devlead/blob/main/README.md) (English), [README.zh.md](https://github.com/yankeguo/dsh-devlead/blob/main/README.zh.md) (中文), and
|
|
194
195
|
[DESIGN.md](https://github.com/yankeguo/dsh-devlead/blob/main/docs/DESIGN.md).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yankeguo/dsh-devlead-bundle",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
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",
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"README.md"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@yankeguo/dsh-devlead": "0.2.
|
|
27
|
-
"@yankeguo/dsh-tool-devlead": "0.2.
|
|
28
|
-
"@yankeguo/dsh-command-devlead": "0.2.
|
|
29
|
-
"@yankeguo/dsh-client-ui-devlead": "0.2.
|
|
26
|
+
"@yankeguo/dsh-devlead": "0.2.4",
|
|
27
|
+
"@yankeguo/dsh-tool-devlead": "0.2.4",
|
|
28
|
+
"@yankeguo/dsh-command-devlead": "0.2.4",
|
|
29
|
+
"@yankeguo/dsh-client-ui-devlead": "0.2.4"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"@deepseek-ai/cordis": "~4.1.0"
|