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.
@@ -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 such persisted session, or another owner holds it)`;
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: