dsh-interconnect 0.11.13 → 0.11.14
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/dsh.plugin.json +1 -1
- package/lib/index.js +6 -0
- package/lib/interconnect/index.js +6 -0
- package/lib/interconnect/index.js.map +2 -2
- package/lib/tool-interconnect/index.js +7 -1
- package/lib/tool-interconnect/index.js.map +2 -2
- package/lib/types/interconnect/index.d.ts +6 -0
- package/lib/types/interconnect/index.d.ts.map +1 -1
- package/lib/types/interconnect/types.d.ts +7 -4
- package/lib/types/interconnect/types.d.ts.map +1 -1
- package/package.json +3 -3
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.
|
|
4
|
+
"version": "0.11.14",
|
|
5
5
|
"entry": {
|
|
6
6
|
"name": "dsh-interconnect/interconnect",
|
|
7
7
|
"inject": ["agents", "credentials"]
|
package/lib/index.js
CHANGED
|
@@ -1213,6 +1213,12 @@ var InterconnectService = class extends Service {
|
|
|
1213
1213
|
* open, so an announcement can suppress nothing but a duplicate the
|
|
1214
1214
|
* controlled link already carries — an impostor cannot drop an event for a
|
|
1215
1215
|
* peer, and without a dialed link every inbound socket receives it.
|
|
1216
|
+
*
|
|
1217
|
+
* That holds once a peer's announcement has been seen. Between this
|
|
1218
|
+
* instance's dialed link opening and the peer's `hello` arriving on its
|
|
1219
|
+
* inbound socket, the inbound socket is not yet attributable, so an event
|
|
1220
|
+
* emitted in that window leaves over both sockets and reaches that peer
|
|
1221
|
+
* twice. The duplicate is transient and never a dropped event.
|
|
1216
1222
|
*/
|
|
1217
1223
|
broadcast(notification) {
|
|
1218
1224
|
if (this.sockets.size === 0) return;
|
|
@@ -1213,6 +1213,12 @@ var InterconnectService = class extends Service {
|
|
|
1213
1213
|
* open, so an announcement can suppress nothing but a duplicate the
|
|
1214
1214
|
* controlled link already carries — an impostor cannot drop an event for a
|
|
1215
1215
|
* peer, and without a dialed link every inbound socket receives it.
|
|
1216
|
+
*
|
|
1217
|
+
* That holds once a peer's announcement has been seen. Between this
|
|
1218
|
+
* instance's dialed link opening and the peer's `hello` arriving on its
|
|
1219
|
+
* inbound socket, the inbound socket is not yet attributable, so an event
|
|
1220
|
+
* emitted in that window leaves over both sockets and reaches that peer
|
|
1221
|
+
* twice. The duplicate is transient and never a dropped event.
|
|
1216
1222
|
*/
|
|
1217
1223
|
broadcast(notification) {
|
|
1218
1224
|
if (this.sockets.size === 0) return;
|