toolcraft 0.0.334 → 0.0.335

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 CHANGED
@@ -98,7 +98,7 @@
98
98
  },
99
99
  {
100
100
  "name": "tiny-http-mcp-server",
101
- "version": "0.1.56",
101
+ "version": "0.1.57",
102
102
  "license": "MIT"
103
103
  },
104
104
  {
@@ -113,7 +113,7 @@
113
113
  },
114
114
  {
115
115
  "name": "toolcraft",
116
- "version": "0.0.334",
116
+ "version": "0.0.335",
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.334",
126
+ "version": "0.0.335",
127
127
  "license": "MIT"
128
128
  },
129
129
  {
@@ -98,7 +98,7 @@
98
98
  },
99
99
  {
100
100
  "name": "tiny-http-mcp-server",
101
- "version": "0.1.56",
101
+ "version": "0.1.57",
102
102
  "license": "MIT"
103
103
  },
104
104
  {
@@ -113,7 +113,7 @@
113
113
  },
114
114
  {
115
115
  "name": "toolcraft",
116
- "version": "0.0.334",
116
+ "version": "0.0.335",
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.334",
126
+ "version": "0.0.335",
127
127
  "license": "MIT"
128
128
  },
129
129
  {
@@ -18,7 +18,7 @@
18
18
  },
19
19
  {
20
20
  "name": "tiny-http-mcp-server",
21
- "version": "0.1.56",
21
+ "version": "0.1.57",
22
22
  "license": "MIT"
23
23
  },
24
24
  {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tiny-http-mcp-server",
3
- "version": "0.1.56",
3
+ "version": "0.1.57",
4
4
  "description": "Minimal MCP server over HTTP built on tiny-stdio-mcp-server",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -58,6 +58,10 @@ Legacy SSE mode opens a GET stream and posts messages to the endpoint announced
58
58
  by the server. Announced endpoints must remain on the original origin without
59
59
  embedded credentials or fragments; endpoint changes close the connection.
60
60
  Both transports accept the same headers, OAuth provider and response limits.
61
+ `maxResponseBytes` bounds a complete JSON body or each SSE event (default 16 MiB).
62
+ Receive streams may carry many bounded events and keepalive comments; the limit
63
+ does not cap their lifetime bytes. Use request deadlines and cancellation to
64
+ bound pending operations.
61
65
  HTTP failures expose `HttpTransportError.status` and `.method`, so callers can
62
66
  make transport decisions without parsing error messages. Legacy HTTP/SSE
63
67
  `connect()` also waits for the initialized notification POST to complete before
@@ -708,6 +708,7 @@ interface HttpTransportOptions {
708
708
  oauth?: OAuthClientProviderOptions;
709
709
  oauthDiscoveryCache?: OAuthDiscoveryCache;
710
710
  onWarning?: (message: string) => void;
711
+ /** Maximum JSON response bytes or individual SSE event bytes; not a stream lifetime cap. */
711
712
  maxResponseBytes?: number;
712
713
  }
713
714
  declare class StdioTransport implements McpTransport {
@@ -8,7 +8,7 @@
8
8
  },
9
9
  {
10
10
  "name": "toolcraft-schema",
11
- "version": "0.0.334",
11
+ "version": "0.0.335",
12
12
  "license": "MIT"
13
13
  }
14
14
  ]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toolcraft-schema",
3
- "version": "0.0.334",
3
+ "version": "0.0.335",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toolcraft",
3
- "version": "0.0.334",
3
+ "version": "0.0.335",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -158,7 +158,7 @@
158
158
  "yaml"
159
159
  ],
160
160
  "optionalDependencies": {
161
- "toolcraft-schema": "0.0.334",
161
+ "toolcraft-schema": "0.0.335",
162
162
  "toolcraft-design": "*",
163
163
  "@poe-code/frontmatter": "*",
164
164
  "@poe-code/agent-mcp-config": "*",