@wrongstack/mcp 1.1.2 → 1.1.4
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 +1 -1
- package/dist/server-dispatch.d.ts +6 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2785,7 +2785,7 @@ async function readBodyCapped(res, maxBytes = MAX_MCP_HTTP_BODY_BYTES) {
|
|
|
2785
2785
|
} finally {
|
|
2786
2786
|
reader.releaseLock?.();
|
|
2787
2787
|
}
|
|
2788
|
-
return Buffer.concat(chunks)
|
|
2788
|
+
return new TextDecoder().decode(Buffer.concat(chunks));
|
|
2789
2789
|
}
|
|
2790
2790
|
|
|
2791
2791
|
// src/sse-reader.ts
|
|
@@ -24,6 +24,12 @@ export interface MCPServerTool {
|
|
|
24
24
|
* hint in this object.
|
|
25
25
|
*/
|
|
26
26
|
annotations?: MCPToolAnnotations | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* Client-specific extensions, published verbatim. E.g. Claude Code reads
|
|
29
|
+
* `"anthropic/alwaysLoad": true` to load a tool upfront instead of behind
|
|
30
|
+
* its tool search.
|
|
31
|
+
*/
|
|
32
|
+
_meta?: Record<string, unknown> | undefined;
|
|
27
33
|
}
|
|
28
34
|
/** The result of a `tools/call`, as the host produces it. */
|
|
29
35
|
export interface MCPServerCallResult {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wrongstack/mcp",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "WrongStack Model Context Protocol client and registry: stdio, SSE, and streamable HTTP transports.",
|
|
6
6
|
"repository": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"clean": "bun -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\""
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@wrongstack/core": "1.1.
|
|
35
|
+
"@wrongstack/core": "1.1.2",
|
|
36
36
|
"undici": "^8.10.2"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|