toolcraft 0.0.557 → 0.0.559
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/composition.json +3 -3
- package/dist/composition.json +3 -3
- package/node_modules/tiny-http-mcp-server/dist/composition.json +1 -1
- package/node_modules/tiny-http-mcp-server/package.json +1 -1
- package/node_modules/tiny-mcp-client/README.md +2 -1
- package/node_modules/tiny-mcp-client/dist/index.js +3 -3
- package/node_modules/tiny-stdio-mcp-server/dist/composition.json +1 -1
- package/node_modules/toolcraft-schema/package.json +1 -1
- package/package.json +2 -2
package/composition.json
CHANGED
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
"name": "tiny-http-mcp-server",
|
|
101
|
-
"version": "0.1.
|
|
101
|
+
"version": "0.1.99",
|
|
102
102
|
"license": "MIT"
|
|
103
103
|
},
|
|
104
104
|
{
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
"name": "toolcraft",
|
|
116
|
-
"version": "0.0.
|
|
116
|
+
"version": "0.0.559",
|
|
117
117
|
"license": "MIT"
|
|
118
118
|
},
|
|
119
119
|
{
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
125
|
"name": "toolcraft-schema",
|
|
126
|
-
"version": "0.0.
|
|
126
|
+
"version": "0.0.559",
|
|
127
127
|
"license": "MIT"
|
|
128
128
|
},
|
|
129
129
|
{
|
package/dist/composition.json
CHANGED
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
"name": "tiny-http-mcp-server",
|
|
101
|
-
"version": "0.1.
|
|
101
|
+
"version": "0.1.99",
|
|
102
102
|
"license": "MIT"
|
|
103
103
|
},
|
|
104
104
|
{
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
"name": "toolcraft",
|
|
116
|
-
"version": "0.0.
|
|
116
|
+
"version": "0.0.559",
|
|
117
117
|
"license": "MIT"
|
|
118
118
|
},
|
|
119
119
|
{
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
125
|
"name": "toolcraft-schema",
|
|
126
|
-
"version": "0.0.
|
|
126
|
+
"version": "0.0.559",
|
|
127
127
|
"license": "MIT"
|
|
128
128
|
},
|
|
129
129
|
{
|
|
@@ -41,7 +41,8 @@ the options object cannot leave a finished call's progress token active; progres
|
|
|
41
41
|
notifications remain available while that call is pending.
|
|
42
42
|
|
|
43
43
|
Set `requestTimeoutMs` on `McpClient` or `timeoutMs` on individual requests.
|
|
44
|
-
|
|
44
|
+
Use `Infinity` to disable a deadline while retaining caller cancellation.
|
|
45
|
+
Finite numeric deadlines must be nonnegative and no greater than
|
|
45
46
|
2,147,483,647 ms; oversized values fail before a request is sent. Individual
|
|
46
47
|
JSON-RPC requests also accept `timeoutMs: null` to disable their timer.
|
|
47
48
|
The deadline covers the complete request, including modern input callbacks and
|
|
@@ -7888,7 +7888,7 @@ var HttpTransport = class {
|
|
|
7888
7888
|
}
|
|
7889
7889
|
async completeInitialization(options) {
|
|
7890
7890
|
validateRequestTimer(options.timeoutMs, "timeoutMs");
|
|
7891
|
-
const deadline = options.timeoutMs > 0 ? AbortSignal.timeout(Math.ceil(options.timeoutMs)) : void 0;
|
|
7891
|
+
const deadline = options.timeoutMs !== Infinity && options.timeoutMs > 0 ? AbortSignal.timeout(Math.ceil(options.timeoutMs)) : void 0;
|
|
7892
7892
|
const signals = [options.signal, deadline].filter((signal2) => signal2 !== void 0);
|
|
7893
7893
|
const signal = signals.length === 0 ? new AbortController().signal : AbortSignal.any(signals);
|
|
7894
7894
|
signal.throwIfAborted();
|
|
@@ -8703,7 +8703,7 @@ var SseParser = class {
|
|
|
8703
8703
|
}
|
|
8704
8704
|
};
|
|
8705
8705
|
function validateRequestTimer(value, name) {
|
|
8706
|
-
if (!Number.isFinite(value) || value < 0 || value > 2147483647)
|
|
8706
|
+
if (value !== Infinity && (!Number.isFinite(value) || value < 0 || value > 2147483647))
|
|
8707
8707
|
throw new Error(`${name} must be a non-negative finite number no greater than 2147483647`);
|
|
8708
8708
|
}
|
|
8709
8709
|
var JsonRpcMessageLayer = class {
|
|
@@ -8799,7 +8799,7 @@ var JsonRpcMessageLayer = class {
|
|
|
8799
8799
|
currentRequestId = id;
|
|
8800
8800
|
onRequestId?.(id);
|
|
8801
8801
|
} };
|
|
8802
|
-
const deadline = timeoutMs === null ? void 0 : setTimeout(() => {
|
|
8802
|
+
const deadline = timeoutMs === null || timeoutMs === Infinity ? void 0 : setTimeout(() => {
|
|
8803
8803
|
let reason = new Error(`JSON-RPC request "${method}" timed out after ${timeoutMs}ms`);
|
|
8804
8804
|
try {
|
|
8805
8805
|
if (currentRequestId !== void 0) options.onTimeout?.(currentRequestId);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "toolcraft",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.559",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
"yaml"
|
|
163
163
|
],
|
|
164
164
|
"optionalDependencies": {
|
|
165
|
-
"toolcraft-schema": "0.0.
|
|
165
|
+
"toolcraft-schema": "0.0.559",
|
|
166
166
|
"toolcraft-design": "*",
|
|
167
167
|
"@poe-code/frontmatter": "*",
|
|
168
168
|
"@poe-code/agent-mcp-config": "*",
|