@yankeguo/dsh-devlead-bundle 0.2.3 → 0.2.5

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 (2) hide show
  1. package/README.md +15 -14
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -12,11 +12,12 @@ kind: "package-bundle"
12
12
 
13
13
  ## 特性
14
14
 
15
- - **DevLead 模式**:每个会话一个持久开关;打开后获得 12 个 `devlead_*` 工具、DevLead 系统
16
- 提示,以及两态 UI:未开启时只有 composer 工具条小图标,开启后才是 composer 上方的完整状态条。
15
+ - **DevLead 模式**:每个会话一个持久开关;打开后获得 13 个主 `devlead_*` 工具(被监督会话另有 1 个 `devlead_report`)、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**:未开启时 composer 工具条里只有一个 ghost 图标(点击 `/devlead on`);开启后
32
- composer 上方出现 DevLeadBar,显示开关、监督会话数 / 运行中数与最近通知;侧边栏会话行
33
- 同时带 DevLead 标记。
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` | 12 个模型工具与条件 system prompt |
41
+ | `devlead-tool` | `@yankeguo/dsh-tool-devlead` | 13 个主工具 + 1 个汇报工具与条件 system prompt |
41
42
  | `devlead-command` | `@yankeguo/dsh-command-devlead` | `/devlead` 人类命令 |
42
- | `devlead-ui` | `@yankeguo/dsh-client-ui-devlead` | 浏览器两态 UI:工具条开关 + 开启后的 DevLeadBar + 侧边栏会话行标记 |
43
+ | `devlead-ui` | `@yankeguo/dsh-client-ui-devlead` | 浏览器两态 UI:常驻工具条开关(图标 + 文本)+ 开启后的只读 DevLeadBar + 侧边栏会话行标记 |
43
44
 
44
45
  依赖方向:`protocol ← devlead ← {tool, command}`;`client-ui` 只依赖 `protocol`(浏览器侧)。
45
46
 
@@ -107,8 +108,8 @@ profile,且 `desktop` profile 已启用本 bundle(重复插入相同 row id
107
108
  `os.tmpdir()` DSH_HOME 验收本地加载路径(需要本机已安装 DSH,因此不在 CI 中运行)。
108
109
  0.2.0 起 E2E 分多阶段:阶段 1 保持默认组合断言(含 `Worktree isolation: unavailable`),
109
110
  阶段 1b 用同一加载流/scratch home 重启验证冷 lead 索引重建,阶段 2 在同一 scratch profile 里
110
- 追加官方实验 forge bundle 并验证 worktree happy path;两条加载流各 **61/61**(阶段 1 27 +
111
- 阶段 1b 12 + 阶段 2 22),`--no-worktree` 跳过阶段 2(**39/39**,阶段 1 + 1b)。
111
+ 追加官方实验 forge bundle 并验证 worktree happy path;两条加载流各 **143/143**(阶段 1 27 +
112
+ 阶段 1b 12 + 阶段 2 23 + 阶段 3 81),`--no-worktree` 跳过阶段 2(**120/120**,阶段 1 + 1b + 3)。
112
113
 
113
114
  ### 前置条件
114
115
 
@@ -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
- twelve `devlead_*` tools, the `/devlead` human command, and the Web UI (composer switch/status
191
- strip plus sidebar marks). The suite targets the default DSH Web composition
191
+ thirteen lead `devlead_*` tools plus the watched-child `devlead_report` tool, 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",
3
+ "version": "0.2.5",
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.3",
27
- "@yankeguo/dsh-tool-devlead": "0.2.3",
28
- "@yankeguo/dsh-command-devlead": "0.2.3",
29
- "@yankeguo/dsh-client-ui-devlead": "0.2.3"
26
+ "@yankeguo/dsh-devlead": "0.2.5",
27
+ "@yankeguo/dsh-tool-devlead": "0.2.5",
28
+ "@yankeguo/dsh-command-devlead": "0.2.5",
29
+ "@yankeguo/dsh-client-ui-devlead": "0.2.5"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "@deepseek-ai/cordis": "~4.1.0"