dsh-session-matrix 0.17.2 → 0.17.3

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 +24 -15
  2. package/package.json +8 -3
package/README.md CHANGED
@@ -16,8 +16,8 @@
16
16
  </p>
17
17
 
18
18
  <p align="center">
19
- 同时跑多个 Agent:四个原生会话窗格并排,一张按压缩风险着色的 Agent Graph,<br>
20
- 外加一份在上下文被压缩之前把工作交出去的协议。
19
+ 一个多 Agent 会话的<b>全景控制台</b>:四格原生会话并排,同时盯住多个会话与子代理并行跑任务,<br>
20
+ 一张神经链路图看清主 Agent 与子代理的关系,在上下文压缩、细节丢失之前把工作交出去。
21
21
  </p>
22
22
 
23
23
  <p align="center">
@@ -28,6 +28,11 @@
28
28
  <a href="#vs-context"><b>与 dsh-context</b></a>
29
29
  </p>
30
30
 
31
+ <p align="center">
32
+ <a href="https://github.com/deepseek-ai/deepseek-harness/discussions/13786"><b>官方社区介绍帖</b></a> ·
33
+ <a href="https://dev.to/wanqiu12345/running-four-ai-sessions-at-once-with-a-live-agent-graph-and-context-compaction-warnings-319"><b>英文介绍文章</b></a>
34
+ </p>
35
+
31
36
  ![左侧面板入口与智能体脉络](./docs/01-entry.png)
32
37
 
33
38
  ---
@@ -39,17 +44,19 @@
39
44
  | 位置 | 你得到什么 |
40
45
  |:--|:--|
41
46
  | **左侧面板列表** | 一行「会话矩阵工作台」,与「上下文洞察」「技能中心」同级 |
42
- | **面板顶部** | 两个标签:`工作区` · `智能体脉络` |
43
- | **面板右上角** | 一个 **通用交接提示词** 按钮。旁边的小圆点显示有几个会话进了注意区 |
47
+ | **面板顶部** | 两个标签:`工作区`(四格原生会话)· `智能体脉络`(主子 Agent 神经链路) |
48
+ | **面板右上角** | 一个 **通用交接提示词** 按钮。旁边的小圆点在会话达到「注意」或「建议交接」时点亮 |
44
49
 
45
- 它不改 DSH 任何核心代码,只使用公开的 Cordis 服务与 slot 扩展点。
50
+ 点进左侧入口,你看到的是一个全景视图:多个会话并行推进、主子 Agent 的父子关系一目了然、
51
+ 每个会话离压缩还有多远,靠节点颜色一眼看穿。它不改 DSH 任何核心代码,只使用公开的 Cordis 服务与 slot 扩展点。
46
52
 
47
53
  <a id="workspace"></a>
48
54
 
49
55
  ## 工作区:1–4 格原生会话
50
56
 
51
- 左侧是会话列表,按项目分组;子代理折叠在所属主会话下。**归档会话不显示**——和原生侧栏一致,
52
- 你在原生侧取消归档,这里下一次刷新就回来了。
57
+ 这是主战场:最多四格原生对话窗格并排,每格都能**直接打字发消息**(子代理窗格只读),
58
+ 不是一个只能看的截图墙。左侧是会话列表,按项目分组;子代理折叠在所属主会话下。
59
+ **归档会话不显示**——和原生侧栏一致,你在原生侧取消归档,这里下一次刷新就回来了。
53
60
 
54
61
  右侧窗格按格数自动排版:
55
62
 
@@ -73,16 +80,16 @@
73
80
 
74
81
  ## 智能体脉络:Agent Graph
75
82
 
76
- 一张四列有向拓扑,从左到右:
83
+ 一张神经链路图,把一个工作空间下的会话、以及每个会话派生的子代理之间的关系画出来。四列从左到右:
77
84
 
78
85
  ```
79
86
  工作台 → 项目 → 主会话 → 子代理
80
87
  ```
81
88
 
82
- - **边来自会话头的 `parentSession`**,不推断"同项目"这类弱关系。
83
- - **节点颜色 = 距离压缩点的远近**:正常 / 注意 / 临界。
84
- - **节点尺寸 = 累计用量**,谁最重一眼能看出来。
85
- - 选中任一节点,下方三个模块按该节点的子树重新计算。
89
+ - **边来自会话头真实的 `parentSession`**,不推断"同项目"这类弱关系——看到的就是实际发生的父子调度。
90
+ - **节点颜色 = 距离压缩点的远近**:正常 / 注意 / 临界;**节点尺寸 = 累计用量**,谁最重一眼能看出来。
91
+ - **点任一节点**,下方三个模块按它的子树重算:上下文构成、累计用量与预估费用、会话概览——
92
+ 不用来回切换会话,就能判断该不该继续、要不要交接。
86
93
 
87
94
  ![智能体脉络:节点颜色 = 距压缩点的远近,尺寸 = 累计用量(图中为模拟预警状态)](./docs/03-graph.png)
88
95
 
@@ -290,9 +297,11 @@ npm pack --dry-run # 约 10 个文件 / 72 KB
290
297
  <details>
291
298
  <summary><b>English</b></summary>
292
299
 
293
- **A multi-agent workspace for DeepSeek Harness.** One sidebar entry, two views: up to four native
294
- conversation panes, and an Agent Graph that draws `workbench → project → session → subagent` coloured
295
- by compaction risk. A handoff protocol moves work to a fresh session before compaction drops the details.
300
+ **A panoramic console for multi-Agent sessions in DeepSeek Harness.** Watch up to four native
301
+ conversation panes at once and track several sessions and subagents running in parallel without
302
+ switching back and forth. A neural-link Agent graph draws `workbench → project → session → subagent`
303
+ from real `parentSession` data, and a handoff protocol moves work to a fresh session before compaction
304
+ drops the details.
296
305
 
297
306
  ```bash
298
307
  dsh plugin --profile web add dsh-session-matrix
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-session-matrix",
3
- "version": "0.17.2",
4
- "description": "A multi-agent workspace for DeepSeek Harness: run parallel sessions, visualize agent relationships, monitor context usage, and manage task handoffs.",
3
+ "version": "0.17.3",
4
+ "description": "A panoramic console for DeepSeek Harness: run multiple native sessions and subagents in parallel, see the agent graph, get compaction warnings, and hand work off before context is lost.",
5
5
  "keywords": [
6
6
  "deepseek-harness",
7
7
  "dsh",
@@ -11,12 +11,17 @@
11
11
  "session-management",
12
12
  "parallel-sessions",
13
13
  "context-monitoring",
14
+ "context-rot",
15
+ "compaction",
16
+ "compaction-count",
14
17
  "agent-graph",
15
18
  "agent-handoff",
19
+ "handoff-protocol",
16
20
  "agent-network",
17
21
  "多智能体工作台",
18
22
  "多会话管理",
19
- "会话关系图谱",
23
+ "会话矩阵",
24
+ "上下文压缩预警",
20
25
  "上下文监控"
21
26
  ],
22
27
  "homepage": "https://github.com/Wanqiu12345/dsh-session-matrix#readme",