tiny-stdio-mcp-server 0.1.10 → 0.1.12
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/server.js +1 -0
- package/dist/types.d.ts +2 -1
- package/dist/types.js +3 -1
- package/package.json +2 -2
package/dist/server.js
CHANGED
package/dist/types.d.ts
CHANGED
|
@@ -25,7 +25,8 @@ export declare const JSON_RPC_ERROR_CODES: Readonly<{
|
|
|
25
25
|
}>;
|
|
26
26
|
export declare class ToolError extends Error {
|
|
27
27
|
readonly code: number;
|
|
28
|
-
|
|
28
|
+
readonly data?: unknown | undefined;
|
|
29
|
+
constructor(code: number, message: string, data?: unknown | undefined);
|
|
29
30
|
}
|
|
30
31
|
export interface ToolsCapability {
|
|
31
32
|
listChanged?: boolean;
|
package/dist/types.js
CHANGED
|
@@ -9,12 +9,14 @@ export const JSON_RPC_ERROR_CODES = Object.freeze({
|
|
|
9
9
|
});
|
|
10
10
|
export class ToolError extends Error {
|
|
11
11
|
code;
|
|
12
|
-
|
|
12
|
+
data;
|
|
13
|
+
constructor(code, message, data) {
|
|
13
14
|
if (!Number.isFinite(code)) {
|
|
14
15
|
throw new Error("ToolError code must be a finite number");
|
|
15
16
|
}
|
|
16
17
|
super(message);
|
|
17
18
|
this.code = code;
|
|
19
|
+
this.data = data;
|
|
18
20
|
this.name = "ToolError";
|
|
19
21
|
}
|
|
20
22
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tiny-stdio-mcp-server",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"bugs": {
|
|
5
5
|
"url": "https://github.com/poe-platform/poe-code/issues"
|
|
6
6
|
},
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"dist"
|
|
31
31
|
],
|
|
32
32
|
"engines": {
|
|
33
|
-
"node": ">=
|
|
33
|
+
"node": ">=18.18"
|
|
34
34
|
},
|
|
35
35
|
"repository": {
|
|
36
36
|
"type": "git",
|