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
|
@@ -1216,6 +1216,12 @@ var InterconnectService = class extends Service {
|
|
|
1216
1216
|
* open, so an announcement can suppress nothing but a duplicate the
|
|
1217
1217
|
* controlled link already carries — an impostor cannot drop an event for a
|
|
1218
1218
|
* peer, and without a dialed link every inbound socket receives it.
|
|
1219
|
+
*
|
|
1220
|
+
* That holds once a peer's announcement has been seen. Between this
|
|
1221
|
+
* instance's dialed link opening and the peer's `hello` arriving on its
|
|
1222
|
+
* inbound socket, the inbound socket is not yet attributable, so an event
|
|
1223
|
+
* emitted in that window leaves over both sockets and reaches that peer
|
|
1224
|
+
* twice. The duplicate is transient and never a dropped event.
|
|
1219
1225
|
*/
|
|
1220
1226
|
broadcast(notification) {
|
|
1221
1227
|
if (this.sockets.size === 0) return;
|
|
@@ -1785,7 +1791,7 @@ function apply(ctx) {
|
|
|
1785
1791
|
case "resume-refused":
|
|
1786
1792
|
return `not delivered: ${value.instance} does not allow waking persisted sessions`;
|
|
1787
1793
|
case "resume-failed":
|
|
1788
|
-
return `not delivered: could not wake "${_args.sessionId}" on ${value.instance} (no
|
|
1794
|
+
return `not delivered: could not wake "${_args.sessionId}" on ${value.instance} (no persisted session under that id, or the wake itself failed)`;
|
|
1789
1795
|
case "session-owned-by-subagent":
|
|
1790
1796
|
return `not delivered: "${_args.sessionId}" is a subagent's session on ${value.instance} \u2014 its parent agent owns delivery, so reach it through that parent`;
|
|
1791
1797
|
default:
|