dsh-interconnect 0.11.6 → 0.11.7

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
@@ -55,9 +55,10 @@ session-b07326da-… [running]
55
55
  只列 live session 是有意的:`send` 能到达的正好是这些。对端存在但没有运行 agent 的 session
56
56
  不会出现在列表里,也收不到消息。
57
57
 
58
- 答案有行数上限(`MAX_LISTED_SESSIONS`,100 行):整帧必须待在链路的帧上限内,ws 对超限帧会
59
- 直接关闭链路,所以 live session 极多的对端只回答前若干行,而不是把传输打断。ping 与 list 的
60
- 答复还会按调用方问的 kind 校验形状,形状不符按「无答复」处理(对应 `unreachable`)。
58
+ 答案有双重上限:行数(`MAX_LISTED_SESSIONS`,100 行)与字节预算(`MAX_LIST_ROWS_BYTES`,等于链路
59
+ 帧上限减去 4 KiB 的 `query-result` 信封)。整帧必须待在链路的帧上限内,ws 对超限帧会直接关闭
60
+ 链路,所以 live session 极多、或标题很长时,对端只回答能装下的前若干行,而不是把传输打断。
61
+ ping 与 list 的答复还会按调用方问的 kind 校验形状,形状不符按「无答复」处理(对应 `unreachable`)。
61
62
 
62
63
  ### 回复(`reply`)
63
64
 
@@ -265,7 +266,7 @@ pnpm run build # esbuild → lib/
265
266
 
266
267
  ## 验证
267
268
 
268
- - 154/154 单测通过(服务 + 工具 + skill,含 wire 校验、畸形帧、心跳/池清理、结果帧绑定、list 上限等回归用例);
269
+ - 163/163 单测通过(服务 + 工具 + skill,含 wire 校验、畸形帧、心跳/池清理、结果帧按 kind 绑定与投影、list 的行数与字节双上限等回归用例);
269
270
  类型检查、构建均干净。
270
271
  - 已在两台机器之间实测双向互通:消息投递、WebSocket 事件推流、以及 agent 经
271
272
  `interconnect_send` 工具反向回发,均验证通过。
package/dsh.plugin.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-interconnect",
3
3
  "description": "Cross-instance message/event handoff for DeepSeek Harness (DSH): WebSocket link, model-facing tools, and companion skill.",
4
- "version": "0.11.6",
4
+ "version": "0.11.7",
5
5
  "entry": {
6
6
  "name": "dsh-interconnect/interconnect",
7
7
  "inject": ["agents", "credentials"]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-interconnect",
3
3
  "description": "Cross-instance message/event handoff plugins for DeepSeek Harness (DSH): interconnect service + model-facing tools + companion skill",
4
- "version": "0.11.6",
4
+ "version": "0.11.7",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "main": "lib/index.js",