toolcraft 0.0.670 → 0.0.671

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.102",
101
+ "version": "0.1.105",
102
102
  "license": "MIT"
103
103
  },
104
104
  {
@@ -113,7 +113,7 @@
113
113
  },
114
114
  {
115
115
  "name": "toolcraft",
116
- "version": "0.0.670",
116
+ "version": "0.0.671",
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.670",
126
+ "version": "0.0.671",
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.102",
101
+ "version": "0.1.105",
102
102
  "license": "MIT"
103
103
  },
104
104
  {
@@ -113,7 +113,7 @@
113
113
  },
114
114
  {
115
115
  "name": "toolcraft",
116
- "version": "0.0.670",
116
+ "version": "0.0.671",
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.670",
126
+ "version": "0.0.671",
127
127
  "license": "MIT"
128
128
  },
129
129
  {
@@ -11,7 +11,8 @@
11
11
  }
12
12
  },
13
13
  "scripts": {
14
- "build": "node ../../scripts/guard-package-dist.mjs && tsc"
14
+ "build": "node ../../scripts/guard-package-dist.mjs && tsc",
15
+ "test:unit": "cd ../.. && vitest run packages/agent-defs/src"
15
16
  },
16
17
  "files": [
17
18
  "dist",
@@ -14,7 +14,8 @@
14
14
  "build": "node ../../scripts/guard-package-dist.mjs && tsc",
15
15
  "test": "cd ../.. && vitest run --passWithNoTests packages/agent-human-in-loop",
16
16
  "typecheck": "tsc --noEmit",
17
- "dev": "tsx example.ts"
17
+ "dev": "tsx example.ts",
18
+ "test:unit": "cd ../.. && vitest run packages/agent-human-in-loop"
18
19
  },
19
20
  "files": [
20
21
  "dist",
@@ -11,7 +11,8 @@
11
11
  }
12
12
  },
13
13
  "scripts": {
14
- "build": "node ../../scripts/guard-package-dist.mjs && tsc"
14
+ "build": "node ../../scripts/guard-package-dist.mjs && tsc",
15
+ "test:unit": "cd ../.. && vitest run packages/agent-mcp-config/src"
15
16
  },
16
17
  "files": [
17
18
  "dist",
@@ -15,7 +15,8 @@
15
15
  }
16
16
  },
17
17
  "scripts": {
18
- "build": "node ../../scripts/guard-package-dist.mjs && tsc"
18
+ "build": "node ../../scripts/guard-package-dist.mjs && tsc",
19
+ "test:unit": "cd ../.. && vitest run packages/config-mutations/src"
19
20
  },
20
21
  "files": [
21
22
  "dist",
@@ -11,7 +11,8 @@
11
11
  }
12
12
  },
13
13
  "scripts": {
14
- "build": "node ../../scripts/guard-package-dist.mjs && tsc"
14
+ "build": "node ../../scripts/guard-package-dist.mjs && tsc",
15
+ "test:unit": "cd ../.. && vitest run packages/user-error/src"
15
16
  },
16
17
  "files": [
17
18
  "dist"
@@ -11,7 +11,8 @@
11
11
  }
12
12
  },
13
13
  "scripts": {
14
- "build": "node ../../scripts/guard-package-dist.mjs && tsc"
14
+ "build": "node ../../scripts/guard-package-dist.mjs && tsc",
15
+ "test:unit": "cd ../.. && vitest run packages/auth-store/src"
15
16
  },
16
17
  "files": [
17
18
  "dist",
@@ -18,7 +18,7 @@
18
18
  },
19
19
  {
20
20
  "name": "tiny-http-mcp-server",
21
- "version": "0.1.102",
21
+ "version": "0.1.105",
22
22
  "license": "MIT"
23
23
  },
24
24
  {
@@ -11,7 +11,8 @@
11
11
  }
12
12
  },
13
13
  "scripts": {
14
- "build": "tsc"
14
+ "build": "tsc",
15
+ "test:unit": "cd ../.. && vitest run packages/mcp-oauth/src"
15
16
  },
16
17
  "devDependencies": {
17
18
  "tiny-oauth-test-server": "*"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tiny-http-mcp-server",
3
- "version": "0.1.102",
3
+ "version": "0.1.105",
4
4
  "description": "Minimal MCP server over HTTP built on tiny-stdio-mcp-server",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -35,7 +35,8 @@
35
35
  "prepack": "node ../../scripts/set-bin-executable.mjs && node ../../scripts/manage-bundled-workspace-deps.mjs prepare-local . mcp-oauth auth-store tiny-mcp-client jose",
36
36
  "postpack": "node ../../scripts/manage-bundled-workspace-deps.mjs cleanup-after-pack . mcp-oauth auth-store tiny-mcp-client jose",
37
37
  "prepublishOnly": "tsc",
38
- "postpublish": "node ../../scripts/manage-bundled-workspace-deps.mjs cleanup . mcp-oauth auth-store tiny-mcp-client jose"
38
+ "postpublish": "node ../../scripts/manage-bundled-workspace-deps.mjs cleanup . mcp-oauth auth-store tiny-mcp-client jose",
39
+ "test:unit": "cd ../.. && vitest run packages/tiny-http-mcp-server/src"
39
40
  },
40
41
  "files": [
41
42
  "LICENSE",
@@ -42,6 +42,7 @@ 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
+ `requestTimeoutMs: Infinity` also disables subscription acknowledgement deadlines.
45
46
  Finite numeric deadlines must be nonnegative and no greater than
46
47
  2,147,483,647 ms; oversized values fail before a request is sent. Individual
47
48
  JSON-RPC requests also accept `timeoutMs: null` to disable their timer.
@@ -3426,7 +3426,7 @@ var SubscriptionManager = class {
3426
3426
  }
3427
3427
  }
3428
3428
  );
3429
- const timer = setTimeout(() => {
3429
+ const timer = this.layer.requestTimeoutMs === Infinity ? void 0 : setTimeout(() => {
3430
3430
  reject(new Error("MCP subscription acknowledgement timed out"));
3431
3431
  cancel();
3432
3432
  }, this.layer.requestTimeoutMs);
@@ -9,7 +9,8 @@
9
9
  ],
10
10
  "scripts": {
11
11
  "build": "node scripts/build.mjs",
12
- "typecheck:contracts": "node scripts/check-http-headers-type-contract.mjs"
12
+ "typecheck:contracts": "node scripts/check-http-headers-type-contract.mjs",
13
+ "test:unit": "cd ../.. && vitest run packages/tiny-mcp-client/src"
13
14
  },
14
15
  "repository": {
15
16
  "type": "git",
@@ -8,7 +8,7 @@
8
8
  },
9
9
  {
10
10
  "name": "toolcraft-schema",
11
- "version": "0.0.670",
11
+ "version": "0.0.671",
12
12
  "license": "MIT"
13
13
  }
14
14
  ]
@@ -38,7 +38,8 @@
38
38
  "build": "node ../../scripts/guard-package-dist.mjs && tsc",
39
39
  "prepublishOnly": "tsc",
40
40
  "prepack": "node ../../scripts/manage-bundled-workspace-deps.mjs prepare . toolcraft-schema",
41
- "postpack": "node ../../scripts/manage-bundled-workspace-deps.mjs cleanup . toolcraft-schema"
41
+ "postpack": "node ../../scripts/manage-bundled-workspace-deps.mjs cleanup . toolcraft-schema",
42
+ "test:unit": "cd ../.. && vitest run packages/tiny-stdio-mcp-server/src"
42
43
  },
43
44
  "files": [
44
45
  "LICENSE",
@@ -13,7 +13,8 @@
13
13
  "generate:docs": "tsx scripts/generate-docs.ts all",
14
14
  "generate:design-docs:markdown": "tsx scripts/generate-docs.ts markdown",
15
15
  "generate:design-docs:json": "tsx scripts/generate-docs.ts json",
16
- "generate:design-docs:all": "tsx scripts/generate-docs.ts all"
16
+ "generate:design-docs:all": "tsx scripts/generate-docs.ts all",
17
+ "test:unit": "cd ../.. && vitest run packages/toolcraft-design"
17
18
  },
18
19
  "files": [
19
20
  "dist",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toolcraft-schema",
3
- "version": "0.0.670",
3
+ "version": "0.0.671",
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.670",
3
+ "version": "0.0.671",
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.670",
165
+ "toolcraft-schema": "0.0.671",
166
166
  "toolcraft-design": "*",
167
167
  "@poe-code/frontmatter": "*",
168
168
  "@poe-code/agent-mcp-config": "*",