dsh-lead-mode 0.1.4 → 0.1.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.
package/README.md CHANGED
@@ -114,6 +114,28 @@ Three steps.
114
114
 
115
115
  **3. Let the model work.** With the delegation tools in place, the model splits the work, delegates to teammates, and waits for all of them before wrapping up. Without them, its first move is to tell you to enable the Team runtime.
116
116
 
117
+ ## Watching work and comms: pair with dsh-context
118
+
119
+ Tool calls read one at a time. To see the whole Team's state and traffic on one page, install **dsh-context** (a separate plugin, not shipped here):
120
+
121
+ ```bash
122
+ dsh plugin --profile <your profile name> add dsh-context
123
+ ```
124
+
125
+ It adds a **Fleet / 编队** tab to every session (right of **Context**), and the right sidebar's **Context** panel carries the same card.
126
+
127
+ | Surface | Shows |
128
+ |---|---|
129
+ | Summary | Member status, live context, estimated cost, task progress |
130
+ | Agent Network | The current agent, its parents, every subagent, one card each |
131
+ | Fleet Members | Each member's role, model, latest reply, run time, steps, active task count |
132
+ | Tasks | Team tasks and subagent delegations together, grouped by owner, with blocked-by chains |
133
+ | Agent Comms | Who said what to whom. Team relays, mailbox deliveries, and the runtime's settlement notices |
134
+
135
+ Picking a member on the graph or the member board narrows Tasks and Agent Comms to that one agent. Opening a message in Agent Comms shows the full record: which session log it came from, its sequence, whether the runtime wrote the settlement notice or the child sent it, and the complete closing report.
136
+
137
+ The Lead mode skill names this entry point too, so the model points you here instead of restating progress itself.
138
+
117
139
  ## Required official bundles and versions
118
140
 
119
141
  This plugin ships none of the packages below. The host or an official bundle provides them; this plugin only declares version requirements in `peerDependencies`.
package/README.zh-CN.md CHANGED
@@ -114,6 +114,28 @@ dsh plugin --profile <你的 profile 名> add https://github.com/xiebaiyuan/dsh-
114
114
 
115
115
  **3. 让模型干活。** 派活工具齐了,模型会自己拆活、派给 teammate、等齐再收尾。工具不齐,它第一句就是让你去开 Team 运行时。
116
116
 
117
+ ## 看工作和通信状态:配 dsh-context
118
+
119
+ 工具调用只能一条条读,Team 的状态与通信要一页看全,装 **dsh-context**(另一个插件,不随本插件安装):
120
+
121
+ ```bash
122
+ dsh plugin --profile <你的 profile 名> add dsh-context
123
+ ```
124
+
125
+ 它在每个会话里加一个 **编队 / Fleet** 标签页(在 **Context** 右边),右栏的 **Context** 面板里有同一张卡。
126
+
127
+ | 区块 | 看什么 |
128
+ |---|---|
129
+ | 概要 | 成员状态、实时上下文、预估花费、任务进度 |
130
+ | Agent Network | 当前 agent、它的父级、全部子代理,一人一张卡 |
131
+ | Fleet Members | 每个成员的角色、模型、最新回复、运行时长、步数、在办任务数 |
132
+ | Tasks | 团队任务与子代理派活放一起,按 owner 分组,带 blocked-by 链 |
133
+ | Agent Comms | 谁跟谁说了什么。团队消息、邮箱投递、运行时的结算通知都在这里 |
134
+
135
+ 点图上的成员或成员卡,Tasks 与 Agent Comms 会收窄到那一个人。Agent Comms 里点开一条,能看到完整记录:来自哪个会话日志、第几号事件、是运行时写的结算通知还是子代理自己发的、完整收尾报告。
136
+
137
+ Lead 模式 skill 里也写了这个入口,所以派活时模型会直接让你去这儿看进度。
138
+
117
139
  ## 依赖的官方 bundle 与版本
118
140
 
119
141
  本插件不捆绑下面这些包。它们由宿主或官方 bundle 提供,本插件只在 `peerDependencies` 里声明版本要求。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-lead-mode",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Lead mode for DSH: an agent preset, a working-method skill, a dependency self-check, and two reminders that tell you to enable the official Agent Teams. | 给 DSH 加 Lead 模式:预设、skill、依赖自检、两条前置提醒。",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -159,6 +159,24 @@ teammate 继承你(Lead)在 spawn 那一刻的 provider 和 model。想换
159
159
 
160
160
  只有 Lead 能创建和打断 teammate(`interrupt_agent`)。打断不清空它排队的消息。
161
161
 
162
+ ### 想看全局,用 dsh-context 的编队页
163
+
164
+ 工具调用只能一条条读。要看整队的工作与通信,让用户开 **dsh-context** 的编队页(另一个插件,不随本插件安装):
165
+
166
+ | 区块 | 看什么 |
167
+ |---|---|
168
+ | 概要 | 成员状态、实时上下文、预估花费、任务进度 |
169
+ | Agent Network | 当前 agent、父级、全部子代理,一人一张卡 |
170
+ | Fleet Members | 每个成员的角色、模型、最新回复、运行时长、步数、在办任务数 |
171
+ | Tasks | 团队任务与子代理派活放一起,按 owner 分组,带 blocked-by 链 |
172
+ | Agent Comms | 谁跟谁说了什么。团队消息、邮箱投递、运行时的结算通知都在这里 |
173
+
174
+ 入口:任意会话点 **编队 / Fleet** 标签页(在 **Context** 右边)。右栏的 **Context** 面板里有同一张卡。
175
+
176
+ 装法:`dsh plugin --profile <你的 profile 名> add dsh-context`
177
+
178
+ 派活时可以直接告诉用户去这儿看进度,比自己复述一遍更清楚。
179
+
162
180
  ## 给最终答复前
163
181
 
164
182
  - 必需的 teammate 都等齐了再答。没等齐就说「还在跑」,别把半成品当结论。