@devries-cameron20 / composio Mirror · read-only / commits / 2e2e71f2b
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 16:00 UTC

chore(json-schema-to-effect-schema): type the corpus loaders against Node 24

The corpus loaders read their fixture copy with `node:fs`, so both test tsconfigs now declare `types: ["node"]` — the dependency alone was not enough, as `@composio/json-schema-to-zod` already had it and still failed to resolve the builtins. `@types/node` is pinned to the 24.x line that `mise.toml` pins the runtime to.

jkomyno committed Aug 6, 2026 at 20:47 UTC 2e2e71f2b18883d97d80292af8adf2607f25329a
8 files changed +124 -59
pnpm-lock.yaml
+97 -49
@@ -185,7 +185,7 @@ importers:
185 version: 7.8.5
186 tsdown:
187 specifier: 'catalog:'
188 - version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2))
188 + version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27)
189 tsx:
190 specifier: 'catalog:'
191 version: 4.23.1
@@ -708,7 +708,7 @@ importers:
708 version: 2.13.0(@modelcontextprotocol/sdk@1.30.0(@cfworker/json-schema@4.1.1)(zod@4.4.3))
709 '@modelcontextprotocol/sdk':
710 specifier: 'catalog:'
711 - version: 1.30.0(@cfworker/json-schema@4.1.1)(zod@4.4.3)
711 + version: 1.30.0(@cfworker/json-schema@4.1.1)(supports-color@10.2.2)(zod@4.4.3)
712 dotenv:
713 specifier: 'catalog:'
714 version: 17.4.2
@@ -860,7 +860,7 @@ importers:
860 version: link:../../packages/providers/vercel
861 '@modelcontextprotocol/sdk':
862 specifier: 'catalog:'
863 - version: 1.30.0(@cfworker/json-schema@4.1.1)(zod@4.4.3)
863 + version: 1.30.0(@cfworker/json-schema@4.1.1)(supports-color@10.2.2)(zod@4.4.3)
864 ai:
865 specifier: 'catalog:'
866 version: 7.0.48(zod@4.4.3)
@@ -913,7 +913,7 @@ importers:
913 version: link:../../packages/providers/openai-agents
914 '@modelcontextprotocol/sdk':
915 specifier: 'catalog:'
916 - version: 1.30.0(@cfworker/json-schema@4.1.1)(zod@4.4.3)
916 + version: 1.30.0(@cfworker/json-schema@4.1.1)(supports-color@10.2.2)(zod@4.4.3)
917 '@openai/agents':
918 specifier: ^0.14.1
919 version: 0.14.2(@aws-sdk/credential-provider-node@3.972.71)(@cfworker/json-schema@4.1.1)(@smithy/signature-v4@5.6.9)(supports-color@10.2.2)(ws@8.21.1)(zod@4.4.3)
@@ -1114,7 +1114,7 @@ importers:
1114 version: link:../../packages/providers/vercel
1115 '@modelcontextprotocol/sdk':
1116 specifier: 'catalog:'
1117 - version: 1.30.0(@cfworker/json-schema@4.1.1)(zod@4.4.3)
1117 + version: 1.30.0(@cfworker/json-schema@4.1.1)(supports-color@10.2.2)(zod@4.4.3)
1118 ai:
1119 specifier: 'catalog:'
1120 version: 7.0.48(zod@4.4.3)
@@ -1197,7 +1197,7 @@ importers:
1197 version: 0.61.1(@effect/cluster@0.60.2(@effect/platform@0.97.1(effect@3.22.1))(@effect/rpc@0.76.2(@effect/platform@0.97.1(effect@3.22.1))(effect@3.22.1))(@effect/sql@0.52.1(@effect/experimental@0.61.1(@effect/platform@0.97.1(effect@3.22.1))(effect@3.22.1))(@effect/platform@0.97.1(effect@3.22.1))(effect@3.22.1))(@effect/workflow@0.19.1(@effect/experimental@0.61.1(@effect/platform@0.97.1(effect@3.22.1))(effect@3.22.1))(@effect/platform@0.97.1(effect@3.22.1))(@effect/rpc@0.76.2(@effect/platform@0.97.1(effect@3.22.1))(effect@3.22.1))(effect@3.22.1))(effect@3.22.1))(@effect/platform@0.97.1(effect@3.22.1))(@effect/rpc@0.76.2(@effect/platform@0.97.1(effect@3.22.1))(effect@3.22.1))(@effect/sql@0.52.1(@effect/experimental@0.61.1(@effect/platform@0.97.1(effect@3.22.1))(effect@3.22.1))(@effect/platform@0.97.1(effect@3.22.1))(effect@3.22.1))(effect@3.22.1)
1198 '@modelcontextprotocol/sdk':
1199 specifier: 'catalog:'
1200 - version: 1.30.0(@cfworker/json-schema@4.1.1)(zod@4.4.3)
1200 + version: 1.30.0(@cfworker/json-schema@4.1.1)(supports-color@10.2.2)(zod@4.4.3)
1201 '@zed-industries/claude-code-acp':
1202 specifier: ^0.16.2
1203 version: 0.16.2(@cfworker/json-schema@4.1.1)(zod@4.4.3)
@@ -1294,7 +1294,7 @@ importers:
1294 version: 3.2.0
1295 tsdown:
1296 specifier: 'catalog:'
1297 - version: 0.22.14(@arethetypeswrong/core@0.18.5)(@typescript/typescript6@6.0.2)(publint@0.3.22)(tsx@4.23.1)(unrun@0.2.27(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2))
1297 + version: 0.22.14(@arethetypeswrong/core@0.18.5)(@typescript/typescript6@6.0.2)(publint@0.3.22)(tsx@4.23.1)(unrun@0.2.27)
1298 tsx:
1299 specifier: 'catalog:'
1300 version: 4.23.1
@@ -1318,7 +1318,7 @@ importers:
1318 version: 3.22.1
1319 tsdown:
1320 specifier: 'catalog:'
1321 - version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2))
1321 + version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27)
1322 typescript:
1323 specifier: 'catalog:'
1324 version: 7.0.2
@@ -1333,7 +1333,7 @@ importers:
1333 version: link:../core
1334 '@modelcontextprotocol/sdk':
1335 specifier: 'catalog:'
1336 - version: 1.30.0(@cfworker/json-schema@4.1.1)(zod@4.4.3)
1336 + version: 1.30.0(@cfworker/json-schema@4.1.1)(supports-color@10.2.2)(zod@4.4.3)
1337 extract-zip:
1338 specifier: ^2.0.1
1339 version: 2.0.1(supports-color@10.2.2)
@@ -1349,7 +1349,7 @@ importers:
1349 version: 1.6.0
1350 tsdown:
1351 specifier: 'catalog:'
1352 - version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2))
1352 + version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27)
1353 typescript:
1354 specifier: 'catalog:'
1355 version: 7.0.2
@@ -1395,7 +1395,7 @@ importers:
1395 version: 7.7.1
1396 tsdown:
1397 specifier: 'catalog:'
1398 - version: 0.22.14(@arethetypeswrong/core@0.18.5)(@typescript/typescript6@6.0.2)(publint@0.3.22)(tsx@4.23.1)(unrun@0.2.27(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2))
1398 + version: 0.22.14(@arethetypeswrong/core@0.18.5)(@typescript/typescript6@6.0.2)(publint@0.3.22)(tsx@4.23.1)(unrun@0.2.27)
1399 tsx:
1400 specifier: 'catalog:'
1401 version: 4.23.1
@@ -1432,7 +1432,7 @@ importers:
1432 version: 0.27.13(@opentelemetry/api@1.9.0)(ai@7.0.48(zod@4.4.3))(dotenv@17.4.2)(jiti@2.7.0)(lru-cache@11.5.2)(miniflare@4.20260722.0)(rollup@4.62.2)(vite@7.3.5(@types/node@26.1.2)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0))(wrangler@4.114.0(@cloudflare/workers-types@5.20260801.1))
1433 tsdown:
1434 specifier: 'catalog:'
1435 - version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2))
1435 + version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27)
1436 tsx:
1437 specifier: 'catalog:'
1438 version: 4.23.1
@@ -1455,15 +1455,18 @@ importers:
1455 '@composio/json-schema-to-zod':
1456 specifier: workspace:*
1457 version: link:../json-schema-to-zod
1458 + '@types/node':
1459 + specifier: ^24.13.3
1460 + version: 24.13.3
1461 tsdown:
1462 specifier: 'catalog:'
1460 - version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2))
1463 + version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27)
1464 typescript:
1465 specifier: 'catalog:'
1466 version: 7.0.2
1467 vitest:
1468 specifier: 'catalog:'
1466 - version: 4.1.10(@opentelemetry/api@1.9.1)(@types/node@26.1.2)(@vitest/ui@4.1.10)(vite@7.3.5(@types/node@26.1.2)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0))
1469 + version: 4.1.10(@opentelemetry/api@1.9.1)(@types/node@24.13.3)(@vitest/ui@4.1.10)(vite@7.3.5(@types/node@24.13.3)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0))
1470 zod:
1471 specifier: 'catalog:'
1472 version: 4.4.3
@@ -1478,7 +1481,7 @@ importers:
1481 version: 26.1.2
1482 tsdown:
1483 specifier: 'catalog:'
1481 - version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2))
1484 + version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27)
1485 typescript:
1486 specifier: 'catalog:'
1487 version: 7.0.2
@@ -1508,7 +1511,7 @@ importers:
1511 version: 6.0.235(zod@4.4.3)
1512 tsdown:
1513 specifier: 'catalog:'
1511 - version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2))
1514 + version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27)
1515 typescript:
1516 specifier: 'catalog:'
1517 version: 7.0.2
@@ -1530,7 +1533,7 @@ importers:
1533 version: link:../../core
1534 tsdown:
1535 specifier: 'catalog:'
1533 - version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2))
1536 + version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27)
1537 typescript:
1538 specifier: 'catalog:'
1539 version: 7.0.2
@@ -1549,7 +1552,7 @@ importers:
1552 version: link:../../core
1553 tsdown:
1554 specifier: 'catalog:'
1552 - version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2))
1555 + version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27)
1556 typescript:
1557 specifier: 'catalog:'
1558 version: 7.0.2
@@ -1568,7 +1571,7 @@ importers:
1571 version: link:../../core
1572 tsdown:
1573 specifier: 'catalog:'
1571 - version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2))
1574 + version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27)
1575 typescript:
1576 specifier: 'catalog:'
1577 version: 7.0.2
@@ -1583,7 +1586,7 @@ importers:
1586 version: 1.2.3(@opentelemetry/api@1.9.1)(openai@7.3.0(@aws-sdk/credential-provider-node@3.972.71)(@smithy/signature-v4@5.6.9)(ws@8.21.1)(zod@4.4.3))(ws@8.21.1)
1587 tsdown:
1588 specifier: 'catalog:'
1586 - version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2))
1589 + version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27)
1590 typescript:
1591 specifier: 'catalog:'
1592 version: 7.0.2
@@ -1605,7 +1608,7 @@ importers:
1608 version: link:../../core
1609 tsdown:
1610 specifier: 'catalog:'
1608 - version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2))
1611 + version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27)
1612 typescript:
1613 specifier: 'catalog:'
1614 version: 7.0.2
@@ -1627,7 +1630,7 @@ importers:
1630 version: 6.0.235(zod@4.4.3)
1631 tsdown:
1632 specifier: 'catalog:'
1630 - version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2))
1633 + version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27)
1634 typescript:
1635 specifier: 'catalog:'
1636 version: 7.0.2
@@ -1648,7 +1651,7 @@ importers:
1651 version: 7.3.0(@aws-sdk/credential-provider-node@3.972.71)(@smithy/signature-v4@5.6.9)(ws@8.21.1)(zod@4.4.3)
1652 tsdown:
1653 specifier: 'catalog:'
1651 - version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2))
1654 + version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27)
1655 typescript:
1656 specifier: 'catalog:'
1657 version: 7.0.2
@@ -1666,7 +1669,7 @@ importers:
1669 version: 0.14.2(@aws-sdk/credential-provider-node@3.972.71)(@cfworker/json-schema@4.1.1)(@smithy/signature-v4@5.6.9)(supports-color@10.2.2)(ws@8.21.1)(zod@4.4.3)
1670 tsdown:
1671 specifier: 'catalog:'
1669 - version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2))
1672 + version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27)
1673 typescript:
1674 specifier: 'catalog:'
1675 version: 7.0.2
@@ -1687,7 +1690,7 @@ importers:
1690 version: 7.0.48(zod@4.4.3)
1691 tsdown:
1692 specifier: 'catalog:'
1690 - version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2))
1693 + version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27)
1694 typescript:
1695 specifier: 'catalog:'
1696 version: 7.0.2
@@ -1749,7 +1752,7 @@ importers:
1752 version: link:@types/@babel/helper-validator-identifier
1753 tsdown:
1754 specifier: 'catalog:'
1752 - version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2))
1755 + version: 0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27)
1756 vitest:
1757 specifier: 'catalog:'
1758 version: 4.1.10(@opentelemetry/api@1.9.1)(@types/node@26.1.2)(@vitest/ui@4.1.10)(vite@7.3.5(@types/node@26.1.2)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0))
@@ -3934,9 +3937,6 @@ packages:
3937 '@types/node@24.13.3':
3938 resolution: {integrity: sha512-Dh8vAsV36ig5wa9OX4pXvMc9D3Veibfw2wix0CUwYODLD8nkj9UsLjASr49nPg+2eKzxhBV+v7L8pXvT4e639Q==}
3939
3937 - '@types/node@26.1.1':
3938 - resolution: {integrity: sha512-nxAkRSVkN1Y0JC1W8ky/fTfkGsMmcrRsbx+3XoZE+rMOX71kLYTV7fLXpqud1GpbpP5TuffXFqfX7fH2GgZREw==}
3939 -
3940 '@types/node@26.1.2':
3941 resolution: {integrity: sha512-Vu4a5UFA9rIIFJ7rB/Vaafh9lrCQszopTCx6KjFboXTGQbPNasehVR5TEiithSDGyd1DEiUByggTZsg8jukeIg==}
3942
@@ -7109,7 +7109,7 @@ snapshots:
7109 '@anthropic-ai/claude-agent-sdk@0.3.220(@anthropic-ai/sdk@0.115.0(zod@4.4.3))(@modelcontextprotocol/sdk@1.30.0(@cfworker/json-schema@4.1.1)(zod@4.4.3))(zod@4.4.3)':
7110 dependencies:
7111 '@anthropic-ai/sdk': 0.115.0(zod@4.4.3)
7112 - '@modelcontextprotocol/sdk': 1.30.0(@cfworker/json-schema@4.1.1)(zod@4.4.3)
7112 + '@modelcontextprotocol/sdk': 1.30.0(@cfworker/json-schema@4.1.1)(supports-color@10.2.2)(zod@4.4.3)
7113 zod: 4.4.3
7114 optionalDependencies:
7115 '@anthropic-ai/claude-agent-sdk-darwin-arm64': 0.3.220
@@ -7874,7 +7874,7 @@ snapshots:
7874 protobufjs: 7.6.5
7875 ws: 8.21.1
7876 optionalDependencies:
7877 - '@modelcontextprotocol/sdk': 1.30.0(@cfworker/json-schema@4.1.1)(zod@4.4.3)
7877 + '@modelcontextprotocol/sdk': 1.30.0(@cfworker/json-schema@4.1.1)(supports-color@10.2.2)(zod@4.4.3)
7878 transitivePeerDependencies:
7879 - bufferutil
7880 - supports-color
@@ -7887,7 +7887,7 @@ snapshots:
7887 protobufjs: 7.6.5
7888 ws: 8.21.1
7889 optionalDependencies:
7890 - '@modelcontextprotocol/sdk': 1.30.0(@cfworker/json-schema@4.1.1)(zod@4.4.3)
7890 + '@modelcontextprotocol/sdk': 1.30.0(@cfworker/json-schema@4.1.1)(supports-color@10.2.2)(zod@4.4.3)
7891 transitivePeerDependencies:
7892 - bufferutil
7893 - supports-color
@@ -8216,7 +8216,7 @@ snapshots:
8216
8217 '@llamaindex/workflow-core@1.3.4(@modelcontextprotocol/sdk@1.30.0(@cfworker/json-schema@4.1.1)(zod@4.4.3))(hono@4.13.0)(zod@4.4.3)':
8218 optionalDependencies:
8219 - '@modelcontextprotocol/sdk': 1.30.0(@cfworker/json-schema@4.1.1)(zod@4.4.3)
8219 + '@modelcontextprotocol/sdk': 1.30.0(@cfworker/json-schema@4.1.1)(supports-color@10.2.2)(zod@4.4.3)
8220 hono: 4.13.0
8221 zod: 4.4.3
8222
@@ -8487,7 +8487,7 @@ snapshots:
8487 eventsource: 3.0.7
8488 eventsource-parser: 3.1.0
8489 express: 5.2.1
8490 - express-rate-limit: 8.6.0(express@5.2.1)
8490 + express-rate-limit: 8.6.0(express@5.2.1)(supports-color@10.2.2)
8491 hono: 4.12.31
8492 jose: 6.2.4
8493 json-schema-typed: 8.0.2
@@ -8511,7 +8511,7 @@ snapshots:
8511 eventsource: 3.0.7
8512 eventsource-parser: 3.1.0
8513 express: 5.2.1
8514 - express-rate-limit: 8.6.0(express@5.2.1)
8514 + express-rate-limit: 8.6.0(express@5.2.1)(supports-color@10.2.2)
8515 hono: 4.13.0
8516 jose: 6.2.4
8517 json-schema-typed: 8.0.2
@@ -8535,7 +8535,7 @@ snapshots:
8535 eventsource: 3.0.7
8536 eventsource-parser: 3.1.0
8537 express: 5.2.1
8538 - express-rate-limit: 8.6.0(express@5.2.1)
8538 + express-rate-limit: 8.6.0(express@5.2.1)(supports-color@10.2.2)
8539 hono: 4.13.0
8540 jose: 6.2.4
8541 json-schema-typed: 8.0.2
@@ -8548,7 +8548,7 @@ snapshots:
8548 transitivePeerDependencies:
8549 - supports-color
8550
8551 - '@modelcontextprotocol/sdk@1.30.0(@cfworker/json-schema@4.1.1)(zod@4.4.3)':
8551 + '@modelcontextprotocol/sdk@1.30.0(@cfworker/json-schema@4.1.1)(supports-color@10.2.2)(zod@4.4.3)':
8552 dependencies:
8553 '@hono/node-server': 2.0.11(hono@4.13.0)
8554 ajv: 8.20.0
@@ -8559,7 +8559,7 @@ snapshots:
8559 eventsource: 3.0.7
8560 eventsource-parser: 3.1.0
8561 express: 5.2.1
8562 - express-rate-limit: 8.6.0(express@5.2.1)
8562 + express-rate-limit: 8.6.0(express@5.2.1)(supports-color@10.2.2)
8563 hono: 4.13.0
8564 jose: 6.2.4
8565 json-schema-typed: 8.0.2
@@ -9213,10 +9213,6 @@ snapshots:
9213 dependencies:
9214 undici-types: 7.18.2
9215
9216 - '@types/node@26.1.1':
9217 - dependencies:
9218 - undici-types: 8.3.0
9219 -
9216 '@types/node@26.1.2':
9217 dependencies:
9218 undici-types: 8.3.0
@@ -9229,11 +9225,11 @@ snapshots:
9225
9226 '@types/ws@8.18.1':
9227 dependencies:
9232 - '@types/node': 26.1.1
9228 + '@types/node': 26.1.2
9229
9230 '@types/yauzl@2.10.3':
9231 dependencies:
9236 - '@types/node': 26.1.1
9232 + '@types/node': 26.1.2
9233 optional: true
9234
9235 '@typescript/typescript-aix-ppc64@7.0.2':
@@ -9311,6 +9307,14 @@ snapshots:
9307 chai: 6.2.2
9308 tinyrainbow: 3.1.0
9309
9310 + '@vitest/mocker@4.1.10(vite@7.3.5(@types/node@24.13.3)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0))':
9311 + dependencies:
9312 + '@vitest/spy': 4.1.10
9313 + estree-walker: 3.0.3
9314 + magic-string: 0.30.21
9315 + optionalDependencies:
9316 + vite: 7.3.5(@types/node@24.13.3)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0)
9317 +
9318 '@vitest/mocker@4.1.10(vite@7.3.5(@types/node@26.1.2)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0))':
9319 dependencies:
9320 '@vitest/spy': 4.1.10
@@ -9346,7 +9350,7 @@ snapshots:
9350 sirv: 3.0.2
9351 tinyglobby: 0.2.17
9352 tinyrainbow: 3.1.0
9349 - vitest: 4.1.10(@opentelemetry/api@1.9.1)(@types/node@26.1.2)(@vitest/ui@4.1.10)(vite@7.3.5(@types/node@26.1.2)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0))
9353 + vitest: 4.1.10(@opentelemetry/api@1.9.1)(@types/node@24.13.3)(@vitest/ui@4.1.10)(vite@7.3.5(@types/node@24.13.3)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0))
9354
9355 '@vitest/utils@4.1.10':
9356 dependencies:
@@ -9983,7 +9987,7 @@ snapshots:
9987
9988 expect-type@1.4.0: {}
9989
9986 - express-rate-limit@8.6.0(express@5.2.1):
9990 + express-rate-limit@8.6.0(express@5.2.1)(supports-color@10.2.2):
9991 dependencies:
9992 debug: 4.4.3(supports-color@10.2.2)
9993 express: 5.2.1
@@ -11289,7 +11293,7 @@ snapshots:
11293 '@protobufjs/path': 1.1.2
11294 '@protobufjs/pool': 1.1.0
11295 '@protobufjs/utf8': 1.1.2
11292 - '@types/node': 26.1.1
11296 + '@types/node': 26.1.2
11297 long: 5.3.2
11298
11299 proxy-addr@2.0.7:
@@ -11782,7 +11786,7 @@ snapshots:
11786 '@ts-morph/common': 0.29.0
11787 code-block-writer: 13.0.3
11788
11785 - tsdown@0.22.14(@arethetypeswrong/core@0.18.5)(@typescript/typescript6@6.0.2)(publint@0.3.22)(tsx@4.23.1)(unrun@0.2.27(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2)):
11789 + tsdown@0.22.14(@arethetypeswrong/core@0.18.5)(@typescript/typescript6@6.0.2)(publint@0.3.22)(tsx@4.23.1)(unrun@0.2.27):
11790 dependencies:
11791 ansis: 4.3.1
11792 cac: 7.0.0
@@ -11811,7 +11815,7 @@ snapshots:
11815 - oxc-resolver
11816 - vue-tsc
11817
11814 - tsdown@0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2)):
11818 + tsdown@0.22.14(@arethetypeswrong/core@0.18.5)(publint@0.3.22)(tsx@4.23.1)(typescript@7.0.2)(unrun@0.2.27):
11819 dependencies:
11820 ansis: 4.3.1
11821 cac: 7.0.0
@@ -12007,6 +12011,21 @@ snapshots:
12011 '@types/unist': 3.0.3
12012 vfile-message: 4.0.3
12013
12014 + vite@7.3.5(@types/node@24.13.3)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0):
12015 + dependencies:
12016 + esbuild: 0.28.1
12017 + fdir: 6.5.0(picomatch@4.0.5)
12018 + picomatch: 4.0.5
12019 + postcss: 8.5.22
12020 + rollup: 4.62.2
12021 + tinyglobby: 0.2.17
12022 + optionalDependencies:
12023 + '@types/node': 24.13.3
12024 + fsevents: 2.3.3
12025 + jiti: 2.7.0
12026 + tsx: 4.23.1
12027 + yaml: 2.9.0
12028 +
12029 vite@7.3.5(@types/node@26.1.2)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0):
12030 dependencies:
12031 esbuild: 0.28.1
@@ -12051,6 +12070,35 @@ snapshots:
12070 transitivePeerDependencies:
12071 - msw
12072
12073 + vitest@4.1.10(@opentelemetry/api@1.9.1)(@types/node@24.13.3)(@vitest/ui@4.1.10)(vite@7.3.5(@types/node@24.13.3)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0)):
12074 + dependencies:
12075 + '@vitest/expect': 4.1.10
12076 + '@vitest/mocker': 4.1.10(vite@7.3.5(@types/node@24.13.3)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0))
12077 + '@vitest/pretty-format': 4.1.10
12078 + '@vitest/runner': 4.1.10
12079 + '@vitest/snapshot': 4.1.10
12080 + '@vitest/spy': 4.1.10
12081 + '@vitest/utils': 4.1.10
12082 + es-module-lexer: 2.3.1
12083 + expect-type: 1.4.0
12084 + magic-string: 0.30.21
12085 + obug: 2.1.4
12086 + pathe: 2.0.3
12087 + picomatch: 4.0.5
12088 + std-env: 4.2.0
12089 + tinybench: 2.9.0
12090 + tinyexec: 1.2.4
12091 + tinyglobby: 0.2.17
12092 + tinyrainbow: 3.1.0
12093 + vite: 7.3.5(@types/node@24.13.3)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0)
12094 + why-is-node-running: 2.3.0
12095 + optionalDependencies:
12096 + '@opentelemetry/api': 1.9.1
12097 + '@types/node': 24.13.3
12098 + '@vitest/ui': 4.1.10(vitest@4.1.10)
12099 + transitivePeerDependencies:
12100 + - msw
12101 +
12102 vitest@4.1.10(@opentelemetry/api@1.9.1)(@types/node@26.1.2)(@vitest/ui@4.1.10)(vite@7.3.5(@types/node@26.1.2)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0)):
12103 dependencies:
12104 '@vitest/expect': 4.1.10
ts/packages/cli/test/fixtures/corpus.ts
+5 -2
@@ -7,9 +7,11 @@
7 * convention as the webhook fixtures. Every consumer resolves its own copy
8 * module-relatively — no working-directory or repository-root assumptions.
9 */
10 +import { readFileSync } from 'node:fs';
11 +import { fileURLToPath } from 'node:url';
12 import * as z from 'zod';
13
12 -import objectCases from '../../../core/test/fixtures/json-schema-conversion/object-cases.json';
14 +const CORPUS_PATH = '../../../core/test/fixtures/json-schema-conversion/object-cases.json';
15
16 const JsonObject = z.record(z.string(), z.unknown());
17
@@ -73,7 +75,8 @@ let cached: ReadonlyArray<CorpusCase> | undefined;
75 /** Decode the shared corpus and enforce its cross-language invariants. */
76 export const loadObjectCases = (): ReadonlyArray<CorpusCase> => {
77 if (!cached) {
76 - const { cases } = Corpus.parse(objectCases);
78 + const raw = readFileSync(fileURLToPath(new URL(CORPUS_PATH, import.meta.url)), 'utf8');
79 + const { cases } = Corpus.parse(JSON.parse(raw));
80 assertCorpusInvariants(cases);
81 cached = cases;
82 }
ts/packages/core/test/fixtures/json-schema-conversion/corpus.ts
+5 -2
@@ -7,9 +7,11 @@
7 * convention as the webhook fixtures. Every consumer resolves its own copy
8 * module-relatively — no working-directory or repository-root assumptions.
9 */
10 +import { readFileSync } from 'node:fs';
11 +import { fileURLToPath } from 'node:url';
12 import * as z from 'zod';
13
12 -import objectCases from './object-cases.json';
14 +const CORPUS_PATH = './object-cases.json';
15
16 const JsonObject = z.record(z.string(), z.unknown());
17
@@ -73,7 +75,8 @@ let cached: ReadonlyArray<CorpusCase> | undefined;
75 /** Decode the shared corpus and enforce its cross-language invariants. */
76 export const loadObjectCases = (): ReadonlyArray<CorpusCase> => {
77 if (!cached) {
76 - const { cases } = Corpus.parse(objectCases);
78 + const raw = readFileSync(fileURLToPath(new URL(CORPUS_PATH, import.meta.url)), 'utf8');
79 + const { cases } = Corpus.parse(JSON.parse(raw));
80 assertCorpusInvariants(cases);
81 cached = cases;
82 }
ts/packages/json-schema-to-effect-schema/package.json
+1
@@ -35,6 +35,7 @@
35 },
36 "devDependencies": {
37 "@composio/json-schema-to-zod": "workspace:*",
38 + "@types/node": "^24.13.3",
39 "tsdown": "catalog:",
40 "typescript": "catalog:",
41 "vitest": "catalog:",
ts/packages/json-schema-to-effect-schema/test/fixtures/corpus.ts
+5 -2
@@ -7,9 +7,11 @@
7 * convention as the webhook fixtures. Every consumer resolves its own copy
8 * module-relatively — no working-directory or repository-root assumptions.
9 */
10 +import { readFileSync } from 'node:fs';
11 +import { fileURLToPath } from 'node:url';
12 import * as z from 'zod';
13
12 -import objectCases from '../../../core/test/fixtures/json-schema-conversion/object-cases.json';
14 +const CORPUS_PATH = '../../../core/test/fixtures/json-schema-conversion/object-cases.json';
15
16 const JsonObject = z.record(z.string(), z.unknown());
17
@@ -73,7 +75,8 @@ let cached: ReadonlyArray<CorpusCase> | undefined;
75 /** Decode the shared corpus and enforce its cross-language invariants. */
76 export const loadObjectCases = (): ReadonlyArray<CorpusCase> => {
77 if (!cached) {
76 - const { cases } = Corpus.parse(objectCases);
78 + const raw = readFileSync(fileURLToPath(new URL(CORPUS_PATH, import.meta.url)), 'utf8');
79 + const { cases } = Corpus.parse(JSON.parse(raw));
80 assertCorpusInvariants(cases);
81 cached = cases;
82 }
ts/packages/json-schema-to-effect-schema/tsconfig.test.json
+3 -1
@@ -2,7 +2,9 @@
2 "$schema": "https://json.schemastore.org/tsconfig",
3 "extends": "./tsconfig.options.json",
4 "compilerOptions": {
5 - "rootDir": "."
5 + "rootDir": ".",
6 + // the corpus loader reads its fixture copy with `node:fs`
7 + "types": ["node"]
8 },
9 "include": ["src/**/*", "test/**/*", "package.json"],
10 "exclude": ["node_modules", "../../../node_modules", "**/dist"]
ts/packages/json-schema-to-zod/test/fixtures/corpus.ts
+5 -2
@@ -7,9 +7,11 @@
7 * convention as the webhook fixtures. Every consumer resolves its own copy
8 * module-relatively — no working-directory or repository-root assumptions.
9 */
10 +import { readFileSync } from 'node:fs';
11 +import { fileURLToPath } from 'node:url';
12 import * as z from 'zod';
13
12 -import objectCases from '../../../core/test/fixtures/json-schema-conversion/object-cases.json';
14 +const CORPUS_PATH = '../../../core/test/fixtures/json-schema-conversion/object-cases.json';
15
16 const JsonObject = z.record(z.string(), z.unknown());
17
@@ -73,7 +75,8 @@ let cached: ReadonlyArray<CorpusCase> | undefined;
75 /** Decode the shared corpus and enforce its cross-language invariants. */
76 export const loadObjectCases = (): ReadonlyArray<CorpusCase> => {
77 if (!cached) {
76 - const { cases } = Corpus.parse(objectCases);
78 + const raw = readFileSync(fileURLToPath(new URL(CORPUS_PATH, import.meta.url)), 'utf8');
79 + const { cases } = Corpus.parse(JSON.parse(raw));
80 assertCorpusInvariants(cases);
81 cached = cases;
82 }
ts/packages/json-schema-to-zod/tsconfig.test.json
+3 -1
@@ -2,7 +2,9 @@
2 "$schema": "https://json.schemastore.org/tsconfig",
3 "extends": "./tsconfig.options.json",
4 "compilerOptions": {
5 - "rootDir": "."
5 + "rootDir": ".",
6 + // the corpus loader reads its fixture copy with `node:fs`
7 + "types": ["node"]
8 },
9 "include": ["src/**/*", "test/**/*", "package.json"],
10 "exclude": ["node_modules", "../../../node_modules", "**/dist", "test/e2e", "test-sandboxes"]