@wrongstack/mcp 0.306.0 → 0.306.3
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/dist/index.js +7 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -4251,6 +4251,13 @@ var MCPRegistry = class _MCPRegistry {
|
|
|
4251
4251
|
await this.sleepIdle(slot);
|
|
4252
4252
|
}
|
|
4253
4253
|
}
|
|
4254
|
+
const hasConnectedLazyServer = [...this.servers.values()].some(
|
|
4255
|
+
(slot) => slot.lazy && slot.state === "connected" && slot.client
|
|
4256
|
+
);
|
|
4257
|
+
if (!hasConnectedLazyServer && this.idleTimer) {
|
|
4258
|
+
clearInterval(this.idleTimer);
|
|
4259
|
+
this.idleTimer = void 0;
|
|
4260
|
+
}
|
|
4254
4261
|
}
|
|
4255
4262
|
/**
|
|
4256
4263
|
* Soft stop: close the server process but KEEP its resolver wrappers and
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wrongstack/mcp",
|
|
3
|
-
"version": "0.306.
|
|
3
|
+
"version": "0.306.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "WrongStack Model Context Protocol client and registry: stdio, SSE, and streamable HTTP transports.",
|
|
6
6
|
"repository": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"!dist/**/*.map"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@wrongstack/core": "0.306.
|
|
29
|
+
"@wrongstack/core": "0.306.3"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "^26.1.2",
|