@wrongstack/mcp 1.0.36 → 1.0.37
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 +6 -2
- package/package.json +9 -9
- package/LICENSE +0 -21
package/dist/index.js
CHANGED
|
@@ -3131,7 +3131,7 @@ var undiciModule;
|
|
|
3131
3131
|
var undiciLoad;
|
|
3132
3132
|
async function ensureUndici() {
|
|
3133
3133
|
if (undiciModule) return undiciModule;
|
|
3134
|
-
undiciLoad ??= import("undici");
|
|
3134
|
+
undiciLoad ??= import("undici/index.js");
|
|
3135
3135
|
undiciModule = await undiciLoad;
|
|
3136
3136
|
return undiciModule;
|
|
3137
3137
|
}
|
|
@@ -6655,7 +6655,11 @@ function applySlotTools(ctx, slot, tools, client) {
|
|
|
6655
6655
|
if (at >= 0) slot.activeCallers?.splice(at, 1);
|
|
6656
6656
|
slot.operations.inFlightCalls = Math.max(0, slot.operations.inFlightCalls - 1);
|
|
6657
6657
|
slot.lastUsed = Date.now();
|
|
6658
|
-
pushBounded(
|
|
6658
|
+
pushBounded(
|
|
6659
|
+
slot.operations.callSamples,
|
|
6660
|
+
durationMs,
|
|
6661
|
+
MCP_OPERATION_LIMITS.LATENCY_SAMPLES
|
|
6662
|
+
);
|
|
6659
6663
|
if (ok) {
|
|
6660
6664
|
ctx.recordSuccess(slot);
|
|
6661
6665
|
ctx.recordOperation(slot, "call", "ok", void 0, durationMs, false);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wrongstack/mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.37",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "WrongStack Model Context Protocol client and registry: stdio, SSE, and streamable HTTP transports.",
|
|
6
6
|
"repository": {
|
|
@@ -25,8 +25,14 @@
|
|
|
25
25
|
"dist",
|
|
26
26
|
"!dist/**/*.map"
|
|
27
27
|
],
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "bun ../../scripts/build-package.mjs",
|
|
30
|
+
"typecheck": "bun ../../scripts/bun-typecheck.mjs --noEmit -p tsconfig.test.json",
|
|
31
|
+
"test": "bun --bun run vitest run",
|
|
32
|
+
"clean": "bun -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\""
|
|
33
|
+
},
|
|
28
34
|
"dependencies": {
|
|
29
|
-
"@wrongstack/core": "1.0.
|
|
35
|
+
"@wrongstack/core": "1.0.37",
|
|
30
36
|
"undici": "^8.10.2"
|
|
31
37
|
},
|
|
32
38
|
"devDependencies": {
|
|
@@ -37,11 +43,5 @@
|
|
|
37
43
|
},
|
|
38
44
|
"publishConfig": {
|
|
39
45
|
"access": "public"
|
|
40
|
-
},
|
|
41
|
-
"scripts": {
|
|
42
|
-
"build": "node ../../scripts/build-package.mjs",
|
|
43
|
-
"typecheck": "node ../../scripts/bun-typecheck.mjs --noEmit -p tsconfig.test.json",
|
|
44
|
-
"test": "vitest run",
|
|
45
|
-
"clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\""
|
|
46
46
|
}
|
|
47
|
-
}
|
|
47
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 ECOSTACK TECHNOLOGY OÜ
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|