dsh-interconnect 0.11.8 → 0.11.9

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
@@ -58,6 +58,8 @@ session-b07326da-… [running]
58
58
  答案有双重上限:行数(`MAX_LISTED_SESSIONS`,100 行)与字节预算(`MAX_LIST_ROWS_BYTES`,等于链路
59
59
  帧上限减去 4 KiB 的 `query-result` 信封)。整帧必须待在链路的帧上限内,ws 对超限帧会直接关闭
60
60
  链路,所以 live session 极多、或标题很长时,对端只回答能装下的前若干行,而不是把传输打断。
61
+ 对端不上报截断标志,所以 `interconnect_list` 只在收到的行数正好等于该上限时追加一行提示
62
+ (`100 of possibly more live sessions`)——满页**可能**被截断,缺失的目标仍可能 live。
61
63
  ping 与 list 的答复还会按调用方问的 kind 校验形状,形状不符按「无答复」处理(对应 `unreachable`)。
62
64
 
63
65
  ### 回复(`reply`)
@@ -266,7 +268,7 @@ pnpm run build # esbuild → lib/
266
268
 
267
269
  ## 验证
268
270
 
269
- - 163/163 单测通过(服务 + 工具 + skill,含 wire 校验、畸形帧、心跳/池清理、结果帧按 kind 绑定与投影、list 的行数与字节双上限等回归用例);
271
+ - 164/164 单测通过(服务 + 工具 + skill,含 wire 校验、畸形帧、心跳/池清理、结果帧按 kind 绑定与投影、list 的行数与字节双上限及满页提示等回归用例);
270
272
  类型检查、构建均干净。
271
273
  - 已在两台机器之间实测双向互通:消息投递、WebSocket 事件推流、以及 agent 经
272
274
  `interconnect_send` 工具反向回发,均验证通过。
@@ -1731,6 +1731,7 @@ var index_default = InterconnectService;
1731
1731
  export {
1732
1732
  INTERCONNECT_TOKEN_REF,
1733
1733
  InterconnectService,
1734
+ MAX_LISTED_SESSIONS,
1734
1735
  index_default as default,
1735
1736
  linkUrl
1736
1737
  };