@agentconnect.md/daemon 1.41.0-rc.155 → 1.41.0-rc.156

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.
@@ -8217,6 +8217,7 @@ var WsServerTransport = class {
8217
8217
  this.ws = ws;
8218
8218
  this.subprotocol = ws.protocol;
8219
8219
  this.remoteAddr = remoteAddr;
8220
+ ws.on("error", () => ws.terminate());
8220
8221
  }
8221
8222
  send(text) {
8222
8223
  this.ws.send(text);
@@ -10557,6 +10558,7 @@ var ShimServer = class {
10557
10558
  resolve();
10558
10559
  });
10559
10560
  });
10561
+ server.on("error", (err) => this.deps.log?.warn(`shim: accept socket error: ${err.message}`));
10560
10562
  this.server = server;
10561
10563
  this.wss = wss;
10562
10564
  this.port = server.address().port;