@omercnet/paseo-shared-browser 4.1.7 → 4.1.8-next.450.1
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/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omercnet/paseo-shared-browser",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.8",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@omercnet/paseo-shared-browser",
|
|
9
|
-
"version": "4.1.
|
|
9
|
+
"version": "4.1.8",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@getpaseo/plugin": "0.15.0",
|
|
12
12
|
"@modelcontextprotocol/sdk": "1.32.2",
|
package/package.json
CHANGED
|
@@ -96,6 +96,8 @@ export class SupervisorClient {
|
|
|
96
96
|
socket.once("connect", () => resolve(socket));
|
|
97
97
|
socket.once("error", reject);
|
|
98
98
|
});
|
|
99
|
+
// disconnect() had no socket to destroy while this attempt was still connecting.
|
|
100
|
+
if (this.closed) throw new Error("Supervisor client disconnected while connecting");
|
|
99
101
|
this.socket.setEncoding("utf8");
|
|
100
102
|
this.socket.on("data", (chunk: string) => this.consume(chunk));
|
|
101
103
|
this.socket.once("close", () => this.handleClose(new Error("Supervisor connection closed")));
|