@wrongstack/mcp 1.0.4 → 1.0.6
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 +11 -7
- package/dist/server.d.ts +11 -7
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -5128,13 +5128,17 @@ var MCPServer = class {
|
|
|
5128
5128
|
* tools are written against the schema they declared.
|
|
5129
5129
|
*
|
|
5130
5130
|
* SCOPE: `validateAgainstSchema` is the shared validator that also gates the
|
|
5131
|
-
* agent's own tool executor. It checks `type`, `enum`,
|
|
5132
|
-
*
|
|
5133
|
-
* `
|
|
5134
|
-
*
|
|
5135
|
-
*
|
|
5136
|
-
*
|
|
5137
|
-
*
|
|
5131
|
+
* agent's own tool executor. It checks `type`, `enum`, `required`, recurses
|
|
5132
|
+
* through `properties`/`items`, enforces numeric bounds
|
|
5133
|
+
* (`minimum`/`maximum`), rejects unknown keys on strict-closed objects
|
|
5134
|
+
* (`additionalProperties: false`), validates the `additionalProperties`
|
|
5135
|
+
* subschema form against unknown-key values, applies `patternProperties`
|
|
5136
|
+
* to matching keys, enforces string lengths (`minLength`/`maxLength`) and
|
|
5137
|
+
* `pattern`, array lengths (`minItems`/`maxItems`/`uniqueItems`), and the
|
|
5138
|
+
* combinators `allOf`/`anyOf`/`oneOf` (all landed 2026-09-11). Still
|
|
5139
|
+
* advisory per the 2026-09-11 usage survey: `const` and `$ref` — declared
|
|
5140
|
+
* only in the techstack rulebook, which validates with its own
|
|
5141
|
+
* `validateRulebook`, not this validator.
|
|
5138
5142
|
*
|
|
5139
5143
|
* Unknown tool names are left alone — the host owns that error, and
|
|
5140
5144
|
* answering "no such tool" here would fork the message for no benefit.
|
package/dist/server.d.ts
CHANGED
|
@@ -93,13 +93,17 @@ export declare class MCPServer {
|
|
|
93
93
|
* tools are written against the schema they declared.
|
|
94
94
|
*
|
|
95
95
|
* SCOPE: `validateAgainstSchema` is the shared validator that also gates the
|
|
96
|
-
* agent's own tool executor. It checks `type`, `enum`,
|
|
97
|
-
*
|
|
98
|
-
* `
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
96
|
+
* agent's own tool executor. It checks `type`, `enum`, `required`, recurses
|
|
97
|
+
* through `properties`/`items`, enforces numeric bounds
|
|
98
|
+
* (`minimum`/`maximum`), rejects unknown keys on strict-closed objects
|
|
99
|
+
* (`additionalProperties: false`), validates the `additionalProperties`
|
|
100
|
+
* subschema form against unknown-key values, applies `patternProperties`
|
|
101
|
+
* to matching keys, enforces string lengths (`minLength`/`maxLength`) and
|
|
102
|
+
* `pattern`, array lengths (`minItems`/`maxItems`/`uniqueItems`), and the
|
|
103
|
+
* combinators `allOf`/`anyOf`/`oneOf` (all landed 2026-09-11). Still
|
|
104
|
+
* advisory per the 2026-09-11 usage survey: `const` and `$ref` — declared
|
|
105
|
+
* only in the techstack rulebook, which validates with its own
|
|
106
|
+
* `validateRulebook`, not this validator.
|
|
103
107
|
*
|
|
104
108
|
* Unknown tool names are left alone — the host owns that error, and
|
|
105
109
|
* answering "no such tool" here would fork the message for no benefit.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wrongstack/mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
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": "1.0.
|
|
29
|
+
"@wrongstack/core": "1.0.6",
|
|
30
30
|
"undici": "^8.10.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|