@devries-cameron20 / composio-1 / commits / f8cd90ce5
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.

chore(ts): adopt Node 24 and pnpm 11 toolchain (#3646)

This PR: - uses plain `tsdown` package scripts and a shared typed `tsdown.config.base.ts` so Node 24 builds work without loader flags - switches the repo dev/build toolchain to Node `24.17.0` and pnpm `11.8.0` through `mise.toml`, `mise.lock`, and `pnpm-lock.yaml` - marks the root package as ESM with `type: module`, matching the TypeScript packages - keeps Node `22.22.3` in the runtime/E2E matrices as the minimum supported user runtime - changes the TypeScript build workflow back to a single build on the mise-managed toolchain and broadens path filters for package-manager/build config files - adds pnpm 11 build-script policy with `allowBuilds` and intentionally ignored `sharp` builds - enables tsdown ESM shims for the packaged CLI wrapper so `composio --help` runs under Node 22 and Node 24 Verified locally: - `CI=true pnpm install --frozen-lockfile` - `pnpm lint` - `pnpm run build:packages` - `COMPOSIO_E2E_NODE_VERSION=22.22.3 pnpm --filter @e2e-tests/node-esm-basic --filter @e2e-tests/node-cjs-basic run test:e2e:node` - `node ts/packages/cli/bin/composio.mjs --help` under Node `22.22.3` and `24.17.0`

Alberto Schiabel committed Jun 24, 2026 at 18:58 UTC f8cd90ce5a2724baabc4757b77de62c823355563
51 files changed +257 -258
.github/actions/setup-node-pnpm-bun/action.yml
+7
@@ -69,6 +69,13 @@ runs:
69 shell: bash
70 run: mise install npm:pnpm
71
72 + - name: Prefer mise-managed pnpm
73 + shell: bash
74 + run: |
75 + # Node.js distributions can expose their own pnpm. Keep mise.toml's
76 + # npm:pnpm pin ahead of the Node install, especially for Node overrides.
77 + echo "$(mise where npm:pnpm)/bin" >> "$GITHUB_PATH"
78 +
79 - name: Resolve pnpm store path and Node version
80 if: inputs.enable-caching == 'true'
81 id: pnpm-store
.github/workflows/ts.build.yml
+8
@@ -9,6 +9,10 @@ on:
9 - '.github/workflows/ts.build.yml'
10 - 'mise.toml'
11 - 'mise.lock'
12 + - 'package.json'
13 + - 'pnpm-lock.yaml'
14 + - 'pnpm-workspace.yaml'
15 + - 'tsdown.config.base.ts'
16 pull_request:
17 paths:
18 - 'ts/**'
@@ -16,6 +20,10 @@ on:
20 - '.github/workflows/ts.build.yml'
21 - 'mise.toml'
22 - 'mise.lock'
23 + - 'package.json'
24 + - 'pnpm-lock.yaml'
25 + - 'pnpm-workspace.yaml'
26 + - 'tsdown.config.base.ts'
27
28 # Print Turborepo telemetry events to the logs instead of sending them.
29 env:
mise.lock
+10 -10
@@ -61,27 +61,27 @@ checksum = "sha256:fae025e69cada67fb57affdda26abbe72991b02b515c3221e92c58aa8a642
61 url = "https://dl.deno.land/release/v2.6.7/deno-x86_64-apple-darwin.zip"
62
63 [[tools.node]]
64 -version = "22.22.3"
64 +version = "24.17.0"
65 backend = "core:node"
66
67 [tools.node."platforms.linux-arm64"]
68 -checksum = "sha256:cc8bc82b2dd0b595c3b95a4c3c9c8c350907cff011afbdee3d1379e812e1e3e3"
69 -url = "https://nodejs.org/dist/v22.22.3/node-v22.22.3-linux-arm64.tar.gz"
68 +checksum = "sha256:faa0d59ba7fe7045c950ed09b190578fb8eee73e4358686d38fcc99ca58c1480"
69 +url = "https://nodejs.org/dist/v24.17.0/node-v24.17.0-linux-arm64.tar.gz"
70
71 [tools.node."platforms.linux-x64"]
72 -checksum = "sha256:c7a10d6816da8eaaa7534dd73c71c6e2b2c391dbbf845e364902d156615dd1b8"
73 -url = "https://nodejs.org/dist/v22.22.3/node-v22.22.3-linux-x64.tar.gz"
72 +checksum = "sha256:e0472427aa791ad80bdc426ff7cc73cdd28ed0f616d1ff9689a23a7f47f1265f"
73 +url = "https://nodejs.org/dist/v24.17.0/node-v24.17.0-linux-x64.tar.gz"
74
75 [tools.node."platforms.macos-arm64"]
76 -checksum = "sha256:0da7ff74ef8611328c8212f17943368713a2ad953fb7d89a8c8a0eae87c23207"
77 -url = "https://nodejs.org/dist/v22.22.3/node-v22.22.3-darwin-arm64.tar.gz"
76 +checksum = "sha256:4fc3266a3702eebc39cc37661cf4eeceeade307e242ab64e4d7ce7949197e11f"
77 +url = "https://nodejs.org/dist/v24.17.0/node-v24.17.0-darwin-arm64.tar.gz"
78
79 [tools.node."platforms.macos-x64"]
80 -checksum = "sha256:45830ba752fa0d892c6dcd640946669801293cac820a33591ded40ac075198ec"
81 -url = "https://nodejs.org/dist/v22.22.3/node-v22.22.3-darwin-x64.tar.gz"
80 +checksum = "sha256:80da552fe037290cb130e9dea590f5eeeb7aa450636f0c89ab41415511c1ec27"
81 +url = "https://nodejs.org/dist/v24.17.0/node-v24.17.0-darwin-x64.tar.gz"
82
83 [[tools."npm:pnpm"]]
84 -version = "10.28.2"
84 +version = "11.8.0"
85 backend = "npm:pnpm"
86
87 [[tools.python]]
mise.toml
+6 -6
@@ -10,12 +10,12 @@
10 min_version = "2026.1.0"
11
12 [tools]
13 -node = "22.22.3"
14 -bun = "1.3.10"
15 -deno = "2.6.7"
16 -python = "3.12"
17 -uv = "0.8.19"
18 -"npm:pnpm" = "10.28.2"
13 +"npm:pnpm" = "11.8.0"
14 +node = "24.17.0"
15 +bun = "1.3.10"
16 +deno = "2.6.7"
17 +python = "3.12"
18 +uv = "0.8.19"
19
20 [env]
21 _.path = ["{{config_root}}/node_modules/.bin"]
package.json
+3 -1
@@ -2,6 +2,7 @@
2 "name": "composio",
3 "version": "0.10.0-alpha.1",
4 "private": true,
5 + "type": "module",
6 "description": "",
7 "workspaces": [
8 "ts/packages/core",
@@ -56,7 +57,7 @@
57 "devEngines": {
58 "runtime": {
59 "name": "node",
59 - "version": "22.22.3",
60 + "version": ">=24.17.0 <25",
61 "onFail": "warn"
62 }
63 },
@@ -81,6 +82,7 @@
82 "tsdown": "catalog:",
83 "tsx": "catalog:",
84 "turbo": "^2.9.18",
85 + "typescript": "catalog:",
86 "typescript-eslint": "^8.61.1",
87 "vitest": "catalog:",
88 "zod": "catalog:"
pnpm-lock.yaml
+83 -112
@@ -82,8 +82,8 @@ catalogs:
82 specifier: ^1.1.1
83 version: 1.1.1
84 pnpm:
85 - specifier: ^10.28.0
86 - version: 10.30.0
85 + specifier: ^11.8.0
86 + version: 11.8.0
87 publint:
88 specifier: ^0.3.21
89 version: 0.3.21
@@ -151,7 +151,7 @@ importers:
151 version: 4.1.9(vitest@4.1.9)
152 eslint:
153 specifier: ^9.25.1
154 - version: 9.39.2
154 + version: 9.39.2(supports-color@10.2.2)
155 globals:
156 specifier: ^16.0.0
157 version: 16.5.0
@@ -160,7 +160,7 @@ importers:
160 version: 9.1.7
161 lint-staged:
162 specifier: ^15.5.1
163 - version: 15.5.2
163 + version: 15.5.2(supports-color@10.2.2)
164 prettier:
165 specifier: ^3.8.4
166 version: 3.8.4
@@ -179,9 +179,12 @@ importers:
179 turbo:
180 specifier: ^2.9.18
181 version: 2.9.18
182 + typescript:
183 + specifier: 'catalog:'
184 + version: 6.0.3
185 typescript-eslint:
186 specifier: ^8.61.1
184 - version: 8.61.1(eslint@9.39.2)(typescript@6.0.3)
187 + version: 8.61.1(eslint@9.39.2(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3)
188 vitest:
189 specifier: 'catalog:'
190 version: 4.1.9(@opentelemetry/api@1.9.0)(@types/node@22.19.11)(@vitest/ui@4.1.9)(vite@7.3.1(@types/node@22.19.11)(tsx@4.22.4)(yaml@2.9.0))
@@ -719,16 +722,16 @@ importers:
722 version: link:../../packages/providers/llamaindex
723 '@llamaindex/openai':
724 specifier: ^0.4.20
722 - version: 0.4.22(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(ws@8.20.1)(zod@4.3.6)
725 + version: 0.4.22(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(ws@8.20.1)(zod@4.4.3)
726 '@llamaindex/workflow':
727 specifier: ^1.1.24
725 - version: 1.1.24(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(hono@4.12.25)(zod@4.3.6)
728 + version: 1.1.24(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.4.3))(hono@4.12.25)(zod@4.4.3)
729 dotenv:
730 specifier: 'catalog:'
731 version: 17.4.2
732 llamaindex:
733 specifier: ^0.12.0
731 - version: 0.12.1(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(hono@4.12.25)(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)(zod@4.3.6)
734 + version: 0.12.1(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.4.3))(hono@4.12.25)(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)(zod@4.4.3)
735 devDependencies:
736 '@types/bun':
737 specifier: 'catalog:'
@@ -831,7 +834,7 @@ importers:
834 version: 1.29.0(@cfworker/json-schema@4.1.1)(zod@4.4.3)
835 '@openai/agents':
836 specifier: ^0.1.4
834 - version: 0.1.11(@cfworker/json-schema@4.1.1)(ws@8.20.1)(zod@4.4.3)
837 + version: 0.1.11(@cfworker/json-schema@4.1.1)(supports-color@10.2.2)(ws@8.20.1)(zod@4.4.3)
838 dotenv:
839 specifier: 'catalog:'
840 version: 17.4.2
@@ -896,13 +899,13 @@ importers:
899 version: 1.3.18(@langchain/core@1.1.25(@opentelemetry/api@1.9.0)(openai@6.22.0(ws@8.20.1)(zod@4.4.3)))
900 '@langchain/mcp-adapters':
901 specifier: ^1.0.1
899 - version: 1.1.3(@cfworker/json-schema@4.1.1)(@langchain/core@1.1.25(@opentelemetry/api@1.9.0)(openai@6.22.0(ws@8.20.1)(zod@4.4.3)))(@langchain/langgraph@1.1.4(@langchain/core@1.1.25(@opentelemetry/api@1.9.0)(openai@6.22.0(ws@8.20.1)(zod@4.4.3)))(zod-to-json-schema@3.25.2(zod@4.4.3))(zod@4.4.3))
902 + version: 1.1.3(@cfworker/json-schema@4.1.1)(@langchain/core@1.1.25(@opentelemetry/api@1.9.0)(openai@6.22.0(ws@8.20.1)(zod@4.4.3)))(@langchain/langgraph@1.1.4(@langchain/core@1.1.25(@opentelemetry/api@1.9.0)(openai@6.22.0(ws@8.20.1)(zod@4.4.3)))(zod-to-json-schema@3.25.2(zod@4.4.3))(zod@4.4.3))(supports-color@10.2.2)
903 '@langchain/openai':
904 specifier: ^1.1.3
905 version: 1.2.8(@langchain/core@1.1.25(@opentelemetry/api@1.9.0)(openai@6.22.0(ws@8.20.1)(zod@4.4.3)))(ws@8.20.1)
906 '@openai/agents':
907 specifier: ^0.1.3
905 - version: 0.1.11(@cfworker/json-schema@4.1.1)(ws@8.20.1)(zod@4.4.3)
908 + version: 0.1.11(@cfworker/json-schema@4.1.1)(supports-color@10.2.2)(ws@8.20.1)(zod@4.4.3)
909 ai:
910 specifier: 'catalog:'
911 version: 6.0.207(zod@4.4.3)
@@ -920,7 +923,7 @@ importers:
923 version: 9.3.0
924 pnpm:
925 specifier: 'catalog:'
923 - version: 10.30.0
926 + version: 11.8.0
927 zod:
928 specifier: 'catalog:'
929 version: 4.4.3
@@ -1440,7 +1443,7 @@ importers:
1443 dependencies:
1444 llamaindex:
1445 specifier: ^0.12.0
1443 - version: 0.12.1(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)(zod@4.4.3)
1446 + version: 0.12.1(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.4.3))(hono@4.12.25)(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)(zod@4.4.3)
1447 devDependencies:
1448 '@composio/core':
1449 specifier: workspace:*
@@ -1503,7 +1506,7 @@ importers:
1506 version: link:../../core
1507 '@openai/agents':
1508 specifier: ^0.1.3
1506 - version: 0.1.11(@cfworker/json-schema@4.1.1)(ws@8.20.1)(zod@4.4.3)
1509 + version: 0.1.11(@cfworker/json-schema@4.1.1)(supports-color@10.2.2)(ws@8.20.1)(zod@4.4.3)
1510 tsdown:
1511 specifier: 'catalog:'
1512 version: 0.22.3(@arethetypeswrong/core@0.18.3)(@typescript/native-preview@7.0.0-dev.20260615.1)(publint@0.3.21)(tsx@4.22.4)(typescript@6.0.3)(unrun@0.2.27(@emnapi/core@1.11.0)(@emnapi/runtime@1.11.0))
@@ -2607,6 +2610,7 @@ packages:
2610
2611 '@finom/zod-to-json-schema@3.24.11':
2612 resolution: {integrity: sha512-fL656yBPiWebtfGItvtXLWrFNGlF1NcDFS0WdMQXMs9LluVg0CfT5E2oXYp0pidl0vVG53XkW55ysijNkU5/hA==}
2613 + deprecated: 'Use https://www.npmjs.com/package/zod-v3-to-json-schema instead. See issue comment for details: https://github.com/StefanTerdell/zod-to-json-schema/issues/178#issuecomment-3533122539'
2614 peerDependencies:
2615 zod: ^4.0.14
2616
@@ -4093,46 +4097,54 @@ packages:
4097
4098 '@zed-industries/claude-code-acp@0.16.2':
4099 resolution: {integrity: sha512-D8BJe6CCD49RtNFbZYPsfZOpQI8Z/EzhyYC9zAGMwN/HVunEtVY2sXqYl1iDSkkayzhqABfaDkDZfeqDM1T/aA==}
4100 + deprecated: This package has been renamed to @agentclientprotocol/claude-agent-acp. Please migrate to continue receiving updates.
4101 hasBin: true
4102
4103 '@zed-industries/codex-acp-darwin-arm64@0.10.0':
4104 resolution: {integrity: sha512-zlIZH+X2aEfxC5UgnIoYbX0cG3/MpRUsQAGJbrcBbgKp0mhuBFtMJHZ426JC5rb3pv8amo1MmDeARZUQ99U/CQ==}
4105 cpu: [arm64]
4106 os: [darwin]
4107 + deprecated: This package has been replaced by @agentclientprotocol/codex-acp. Please migrate to continue receiving updates.
4108 hasBin: true
4109
4110 '@zed-industries/codex-acp-darwin-x64@0.10.0':
4111 resolution: {integrity: sha512-TFMF9YqfWplnYpWRaUauRbtps1ow1S47MVcBv21/Sd55gRMWWYWSogRLDyAcoMC4y9pdI2bYhx33u7jYhJnj5w==}
4112 cpu: [x64]
4113 os: [darwin]
4114 + deprecated: This package has been replaced by @agentclientprotocol/codex-acp. Please migrate to continue receiving updates.
4115 hasBin: true
4116
4117 '@zed-industries/codex-acp-linux-arm64@0.10.0':
4118 resolution: {integrity: sha512-tIm0uGKZuirZyqx9KAgIgh6cimVXdh+BMTFyUfH1xnez5Y3B6oFxzup/ZIP34OZ/W59Cnfi4wcIL3No0VV6Kmw==}
4119 cpu: [arm64]
4120 os: [linux]
4121 + deprecated: This package has been replaced by @agentclientprotocol/codex-acp. Please migrate to continue receiving updates.
4122 hasBin: true
4123
4124 '@zed-industries/codex-acp-linux-x64@0.10.0':
4125 resolution: {integrity: sha512-oiiN35wsecX1OwesV/KIu72o1OSw+OWFL86vQUUZTdfMXr9eyYFP1uZYLMxIx+tkhlJnm7KHC5L4raDg/MLVtA==}
4126 cpu: [x64]
4127 os: [linux]
4128 + deprecated: This package has been replaced by @agentclientprotocol/codex-acp. Please migrate to continue receiving updates.
4129 hasBin: true
4130
4131 '@zed-industries/codex-acp-win32-arm64@0.10.0':
4132 resolution: {integrity: sha512-dfybabjibQQpXUs9TjwLjg+mrj8tGSopVcwkFy8u3XG4hrBZVCri91dtVhm7hs98lZlawxwiiPuj4Pmg+4hHyQ==}
4133 cpu: [arm64]
4134 os: [win32]
4135 + deprecated: This package has been replaced by @agentclientprotocol/codex-acp. Please migrate to continue receiving updates.
4136 hasBin: true
4137
4138 '@zed-industries/codex-acp-win32-x64@0.10.0':
4139 resolution: {integrity: sha512-xCm3xsE3lD66DlbaLKBqHahPY1Lhb+rGu2IIq60qUsBGiYcSXtpRjQ1LXI/Sym6iCKrPo+eQP0j6rg7CPh1AGw==}
4140 cpu: [x64]
4141 os: [win32]
4142 + deprecated: This package has been replaced by @agentclientprotocol/codex-acp. Please migrate to continue receiving updates.
4143 hasBin: true
4144
4145 '@zed-industries/codex-acp@0.10.0':
4146 resolution: {integrity: sha512-vzwAUSHR7TaJh62JoE+6UD/HVm8fJbmMGsMBBMcHrKBIL7MF8yevlPDWVdoaDaGOsgqVZYRv9KhdT8ari0I4mg==}
4147 + deprecated: This package has been replaced by @agentclientprotocol/codex-acp. Please migrate to continue receiving updates.
4148 hasBin: true
4149
4150 accepts@1.3.8:
@@ -5078,6 +5090,7 @@ packages:
5090
5091 glob@10.5.0:
5092 resolution: {integrity: sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==}
5093 + deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
5094 hasBin: true
5095
5096 globals@14.0.0:
@@ -5843,6 +5856,7 @@ packages:
5856 node-domexception@1.0.0:
5857 resolution: {integrity: sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==}
5858 engines: {node: '>=10.5.0'}
5859 + deprecated: Use your platform's native DOMException instead
5860
5861 node-emoji@2.2.0:
5862 resolution: {integrity: sha512-Z3lTE9pLaJF47NyMhd4ww1yFTAP8YhYI8SleJiHzM46Fgpm5cnNzSl9XfzFNqbaz+VlJrIj3fXQ4DeN1Rjm6cw==}
@@ -6135,9 +6149,9 @@ packages:
6149 resolution: {integrity: sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==}
6150 engines: {node: '>=4'}
6151
6138 - pnpm@10.30.0:
6139 - resolution: {integrity: sha512-K1dT3gFdSA7riPW1th4AUfBbQwGAioLsi4QMnSrfd0jrNSyD9cFZPKcD/xAXKVvD/dMRmruWhu/Ja5/LGCAJNw==}
6140 - engines: {node: '>=18.12'}
6152 + pnpm@11.8.0:
6153 + resolution: {integrity: sha512-wfXnxMskHI8XS3Q4UdgvQrgCMkr8iw8Ra5atsVqgZmSUjd42lgo7oQebpbSyndAUATW5S1tfUmNZIknWjlVfJg==}
6154 + engines: {node: '>=22.13'}
6155 hasBin: true
6156
6157 possible-typed-array-names@1.1.0:
@@ -6811,6 +6825,7 @@ packages:
6825
6826 uuid@10.0.0:
6827 resolution: {integrity: sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==}
6828 + deprecated: uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).
6829 hasBin: true
6830
6831 uuid@11.1.0:
@@ -7407,7 +7422,7 @@ snapshots:
7422 '@loaderkit/resolve': 1.0.4
7423 cjs-module-lexer: 1.4.3
7424 fflate: 0.8.3
7410 - lru-cache: 11.2.6
7425 + lru-cache: 11.5.1
7426 semver: 7.8.4
7427 typescript: 5.6.1-rc
7428 validate-npm-package-name: 5.0.1
@@ -8056,14 +8071,14 @@ snapshots:
8071 '@esbuild/win32-x64@0.28.1':
8072 optional: true
8073
8059 - '@eslint-community/eslint-utils@4.9.1(eslint@9.39.2)':
8074 + '@eslint-community/eslint-utils@4.9.1(eslint@9.39.2(supports-color@10.2.2))':
8075 dependencies:
8061 - eslint: 9.39.2
8076 + eslint: 9.39.2(supports-color@10.2.2)
8077 eslint-visitor-keys: 3.4.3
8078
8079 '@eslint-community/regexpp@4.12.2': {}
8080
8066 - '@eslint/config-array@0.21.1':
8081 + '@eslint/config-array@0.21.1(supports-color@10.2.2)':
8082 dependencies:
8083 '@eslint/object-schema': 2.1.7
8084 debug: 4.4.3(supports-color@10.2.2)
@@ -8079,7 +8094,7 @@ snapshots:
8094 dependencies:
8095 '@types/json-schema': 7.0.15
8096
8082 - '@eslint/eslintrc@3.3.3':
8097 + '@eslint/eslintrc@3.3.3(supports-color@10.2.2)':
8098 dependencies:
8099 ajv: 6.12.6
8100 debug: 4.4.3(supports-color@10.2.2)
@@ -8102,9 +8117,9 @@ snapshots:
8117 '@eslint/core': 0.17.0
8118 levn: 0.4.1
8119
8105 - '@finom/zod-to-json-schema@3.24.11(zod@4.3.6)':
8120 + '@finom/zod-to-json-schema@3.24.11(zod@4.4.3)':
8121 dependencies:
8107 - zod: 4.3.6
8122 + zod: 4.4.3
8123
8124 '@gerrit0/mini-shiki@3.23.0':
8125 dependencies:
@@ -8466,7 +8481,7 @@ snapshots:
8481 - react
8482 - react-dom
8483
8469 - '@langchain/mcp-adapters@1.1.3(@cfworker/json-schema@4.1.1)(@langchain/core@1.1.25(@opentelemetry/api@1.9.0)(openai@6.22.0(ws@8.20.1)(zod@4.4.3)))(@langchain/langgraph@1.1.4(@langchain/core@1.1.25(@opentelemetry/api@1.9.0)(openai@6.22.0(ws@8.20.1)(zod@4.4.3)))(zod-to-json-schema@3.25.2(zod@4.4.3))(zod@4.4.3))':
8484 + '@langchain/mcp-adapters@1.1.3(@cfworker/json-schema@4.1.1)(@langchain/core@1.1.25(@opentelemetry/api@1.9.0)(openai@6.22.0(ws@8.20.1)(zod@4.4.3)))(@langchain/langgraph@1.1.4(@langchain/core@1.1.25(@opentelemetry/api@1.9.0)(openai@6.22.0(ws@8.20.1)(zod@4.4.3)))(zod-to-json-schema@3.25.2(zod@4.4.3))(zod@4.4.3))(supports-color@10.2.2)':
8485 dependencies:
8486 '@langchain/core': 1.1.25(@opentelemetry/api@1.9.0)(openai@6.22.0(ws@8.20.1)(zod@4.4.3))
8487 '@langchain/langgraph': 1.1.4(@langchain/core@1.1.25(@opentelemetry/api@1.9.0)(openai@6.22.0(ws@8.20.1)(zod@4.4.3)))(zod-to-json-schema@3.25.2(zod@4.4.3))(zod@4.4.3)
@@ -8499,11 +8514,11 @@ snapshots:
8514
8515 '@llamaindex/core@0.6.22':
8516 dependencies:
8502 - '@finom/zod-to-json-schema': 3.24.11(zod@4.3.6)
8517 + '@finom/zod-to-json-schema': 3.24.11(zod@4.4.3)
8518 '@llamaindex/env': 0.1.30
8519 '@types/node': 24.10.13
8520 magic-bytes.js: 1.13.0
8506 - zod: 4.3.6
8521 + zod: 4.4.3
8522 transitivePeerDependencies:
8523 - '@huggingface/transformers'
8524 - gpt-tokenizer
@@ -8522,43 +8537,26 @@ snapshots:
8537 tree-sitter: 0.22.4
8538 web-tree-sitter: 0.24.7
8539
8525 - '@llamaindex/openai@0.4.22(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(ws@8.20.1)(zod@4.3.6)':
8540 + '@llamaindex/openai@0.4.22(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(ws@8.20.1)(zod@4.4.3)':
8541 dependencies:
8542 '@llamaindex/core': 0.6.22
8543 '@llamaindex/env': 0.1.30
8529 - openai: 5.23.2(ws@8.20.1)(zod@4.3.6)
8544 + openai: 5.23.2(ws@8.20.1)(zod@4.4.3)
8545 transitivePeerDependencies:
8546 - ws
8547 - zod
8548
8534 - '@llamaindex/workflow-core@1.3.3(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(hono@4.12.25)(zod@4.3.6)':
8549 + '@llamaindex/workflow-core@1.3.3(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.4.3))(hono@4.12.25)(zod@4.4.3)':
8550 optionalDependencies:
8536 - '@modelcontextprotocol/sdk': 1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6)
8551 + '@modelcontextprotocol/sdk': 1.29.0(@cfworker/json-schema@4.1.1)(zod@4.4.3)
8552 hono: 4.12.25
8538 - zod: 4.3.6
8539 -
8540 - '@llamaindex/workflow-core@1.3.3(zod@4.4.3)':
8541 - optionalDependencies:
8553 zod: 4.4.3
8554
8544 - '@llamaindex/workflow@1.1.24(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(hono@4.12.25)(zod@4.3.6)':
8555 + '@llamaindex/workflow@1.1.24(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.4.3))(hono@4.12.25)(zod@4.4.3)':
8556 dependencies:
8557 '@llamaindex/core': 0.6.22
8558 '@llamaindex/env': 0.1.30
8548 - '@llamaindex/workflow-core': 1.3.3(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(hono@4.12.25)(zod@4.3.6)
8549 - transitivePeerDependencies:
8550 - - '@modelcontextprotocol/sdk'
8551 - - hono
8552 - - next
8553 - - p-retry
8554 - - rxjs
8555 - - zod
8556 -
8557 - '@llamaindex/workflow@1.1.24(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(zod@4.4.3)':
8558 - dependencies:
8559 - '@llamaindex/core': 0.6.22
8560 - '@llamaindex/env': 0.1.30
8561 - '@llamaindex/workflow-core': 1.3.3(zod@4.4.3)
8559 + '@llamaindex/workflow-core': 1.3.3(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.4.3))(hono@4.12.25)(zod@4.4.3)
8560 transitivePeerDependencies:
8561 - '@modelcontextprotocol/sdk'
8562 - hono
@@ -9043,7 +9041,7 @@ snapshots:
9041 '@nodelib/fs.scandir': 2.1.5
9042 fastq: 1.20.1
9043
9046 - '@openai/agents-core@0.1.11(@cfworker/json-schema@4.1.1)(ws@8.20.1)(zod@4.4.3)':
9044 + '@openai/agents-core@0.1.11(@cfworker/json-schema@4.1.1)(supports-color@10.2.2)(ws@8.20.1)(zod@4.4.3)':
9045 dependencies:
9046 debug: 4.4.3(supports-color@10.2.2)
9047 openai: 5.23.2(ws@8.20.1)(zod@4.4.3)
@@ -9055,9 +9053,9 @@ snapshots:
9053 - supports-color
9054 - ws
9055
9058 - '@openai/agents-openai@0.1.11(@cfworker/json-schema@4.1.1)(ws@8.20.1)(zod@4.4.3)':
9056 + '@openai/agents-openai@0.1.11(@cfworker/json-schema@4.1.1)(supports-color@10.2.2)(ws@8.20.1)(zod@4.4.3)':
9057 dependencies:
9060 - '@openai/agents-core': 0.1.11(@cfworker/json-schema@4.1.1)(ws@8.20.1)(zod@4.4.3)
9058 + '@openai/agents-core': 0.1.11(@cfworker/json-schema@4.1.1)(supports-color@10.2.2)(ws@8.20.1)(zod@4.4.3)
9059 debug: 4.4.3(supports-color@10.2.2)
9060 openai: 5.23.2(ws@8.20.1)(zod@4.4.3)
9061 zod: 4.4.3
@@ -9066,9 +9064,9 @@ snapshots:
9064 - supports-color
9065 - ws
9066
9069 - '@openai/agents-realtime@0.1.11(@cfworker/json-schema@4.1.1)(zod@4.4.3)':
9067 + '@openai/agents-realtime@0.1.11(@cfworker/json-schema@4.1.1)(supports-color@10.2.2)(zod@4.4.3)':
9068 dependencies:
9071 - '@openai/agents-core': 0.1.11(@cfworker/json-schema@4.1.1)(ws@8.20.1)(zod@4.4.3)
9069 + '@openai/agents-core': 0.1.11(@cfworker/json-schema@4.1.1)(supports-color@10.2.2)(ws@8.20.1)(zod@4.4.3)
9070 '@types/ws': 8.18.1
9071 debug: 4.4.3(supports-color@10.2.2)
9072 ws: 8.20.1
@@ -9079,11 +9077,11 @@ snapshots:
9077 - supports-color
9078 - utf-8-validate
9079
9082 - '@openai/agents@0.1.11(@cfworker/json-schema@4.1.1)(ws@8.20.1)(zod@4.4.3)':
9080 + '@openai/agents@0.1.11(@cfworker/json-schema@4.1.1)(supports-color@10.2.2)(ws@8.20.1)(zod@4.4.3)':
9081 dependencies:
9084 - '@openai/agents-core': 0.1.11(@cfworker/json-schema@4.1.1)(ws@8.20.1)(zod@4.4.3)
9085 - '@openai/agents-openai': 0.1.11(@cfworker/json-schema@4.1.1)(ws@8.20.1)(zod@4.4.3)
9086 - '@openai/agents-realtime': 0.1.11(@cfworker/json-schema@4.1.1)(zod@4.4.3)
9082 + '@openai/agents-core': 0.1.11(@cfworker/json-schema@4.1.1)(supports-color@10.2.2)(ws@8.20.1)(zod@4.4.3)
9083 + '@openai/agents-openai': 0.1.11(@cfworker/json-schema@4.1.1)(supports-color@10.2.2)(ws@8.20.1)(zod@4.4.3)
9084 + '@openai/agents-realtime': 0.1.11(@cfworker/json-schema@4.1.1)(supports-color@10.2.2)(zod@4.4.3)
9085 debug: 4.4.3(supports-color@10.2.2)
9086 openai: 5.23.2(ws@8.20.1)(zod@4.4.3)
9087 zod: 4.4.3
@@ -9633,15 +9631,15 @@ snapshots:
9631 dependencies:
9632 '@types/node': 24.10.13
9633
9636 - '@typescript-eslint/eslint-plugin@8.61.1(@typescript-eslint/parser@8.61.1(eslint@9.39.2)(typescript@6.0.3))(eslint@9.39.2)(typescript@6.0.3)':
9634 + '@typescript-eslint/eslint-plugin@8.61.1(@typescript-eslint/parser@8.61.1(eslint@9.39.2(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3))(eslint@9.39.2(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3)':
9635 dependencies:
9636 '@eslint-community/regexpp': 4.12.2
9639 - '@typescript-eslint/parser': 8.61.1(eslint@9.39.2)(typescript@6.0.3)
9637 + '@typescript-eslint/parser': 8.61.1(eslint@9.39.2(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3)
9638 '@typescript-eslint/scope-manager': 8.61.1
9641 - '@typescript-eslint/type-utils': 8.61.1(eslint@9.39.2)(typescript@6.0.3)
9642 - '@typescript-eslint/utils': 8.61.1(eslint@9.39.2)(typescript@6.0.3)
9639 + '@typescript-eslint/type-utils': 8.61.1(eslint@9.39.2(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3)
9640 + '@typescript-eslint/utils': 8.61.1(eslint@9.39.2(supports-color@10.2.2))(typescript@6.0.3)
9641 '@typescript-eslint/visitor-keys': 8.61.1
9644 - eslint: 9.39.2
9642 + eslint: 9.39.2(supports-color@10.2.2)
9643 ignore: 7.0.5
9644 natural-compare: 1.4.0
9645 ts-api-utils: 2.5.0(typescript@6.0.3)
@@ -9649,14 +9647,14 @@ snapshots:
9647 transitivePeerDependencies:
9648 - supports-color
9649
9652 - '@typescript-eslint/parser@8.61.1(eslint@9.39.2)(typescript@6.0.3)':
9650 + '@typescript-eslint/parser@8.61.1(eslint@9.39.2(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3)':
9651 dependencies:
9652 '@typescript-eslint/scope-manager': 8.61.1
9653 '@typescript-eslint/types': 8.61.1
9654 '@typescript-eslint/typescript-estree': 8.61.1(typescript@6.0.3)
9655 '@typescript-eslint/visitor-keys': 8.61.1
9656 debug: 4.4.3(supports-color@10.2.2)
9659 - eslint: 9.39.2
9657 + eslint: 9.39.2(supports-color@10.2.2)
9658 typescript: 6.0.3
9659 transitivePeerDependencies:
9660 - supports-color
@@ -9679,13 +9677,13 @@ snapshots:
9677 dependencies:
9678 typescript: 6.0.3
9679
9682 - '@typescript-eslint/type-utils@8.61.1(eslint@9.39.2)(typescript@6.0.3)':
9680 + '@typescript-eslint/type-utils@8.61.1(eslint@9.39.2(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3)':
9681 dependencies:
9682 '@typescript-eslint/types': 8.61.1
9683 '@typescript-eslint/typescript-estree': 8.61.1(typescript@6.0.3)
9686 - '@typescript-eslint/utils': 8.61.1(eslint@9.39.2)(typescript@6.0.3)
9684 + '@typescript-eslint/utils': 8.61.1(eslint@9.39.2(supports-color@10.2.2))(typescript@6.0.3)
9685 debug: 4.4.3(supports-color@10.2.2)
9688 - eslint: 9.39.2
9686 + eslint: 9.39.2(supports-color@10.2.2)
9687 ts-api-utils: 2.5.0(typescript@6.0.3)
9688 typescript: 6.0.3
9689 transitivePeerDependencies:
@@ -9708,13 +9706,13 @@ snapshots:
9706 transitivePeerDependencies:
9707 - supports-color
9708
9711 - '@typescript-eslint/utils@8.61.1(eslint@9.39.2)(typescript@6.0.3)':
9709 + '@typescript-eslint/utils@8.61.1(eslint@9.39.2(supports-color@10.2.2))(typescript@6.0.3)':
9710 dependencies:
9713 - '@eslint-community/eslint-utils': 4.9.1(eslint@9.39.2)
9711 + '@eslint-community/eslint-utils': 4.9.1(eslint@9.39.2(supports-color@10.2.2))
9712 '@typescript-eslint/scope-manager': 8.61.1
9713 '@typescript-eslint/types': 8.61.1
9714 '@typescript-eslint/typescript-estree': 8.61.1(typescript@6.0.3)
9717 - eslint: 9.39.2
9715 + eslint: 9.39.2(supports-color@10.2.2)
9716 typescript: 6.0.3
9717 transitivePeerDependencies:
9718 - supports-color
@@ -10559,14 +10557,14 @@ snapshots:
10557
10558 eslint-visitor-keys@5.0.0: {}
10559
10562 - eslint@9.39.2:
10560 + eslint@9.39.2(supports-color@10.2.2):
10561 dependencies:
10564 - '@eslint-community/eslint-utils': 4.9.1(eslint@9.39.2)
10562 + '@eslint-community/eslint-utils': 4.9.1(eslint@9.39.2(supports-color@10.2.2))
10563 '@eslint-community/regexpp': 4.12.2
10566 - '@eslint/config-array': 0.21.1
10564 + '@eslint/config-array': 0.21.1(supports-color@10.2.2)
10565 '@eslint/config-helpers': 0.4.2
10566 '@eslint/core': 0.17.0
10569 - '@eslint/eslintrc': 3.3.3
10567 + '@eslint/eslintrc': 3.3.3(supports-color@10.2.2)
10568 '@eslint/js': 9.39.2
10569 '@eslint/plugin-kit': 0.4.1
10570 '@humanfs/node': 0.16.7
@@ -11348,7 +11346,7 @@ snapshots:
11346 dependencies:
11347 uc.micro: 2.1.0
11348
11351 - lint-staged@15.5.2:
11349 + lint-staged@15.5.2(supports-color@10.2.2):
11350 dependencies:
11351 chalk: 5.6.2
11352 commander: 13.1.0
@@ -11372,34 +11370,12 @@ snapshots:
11370 rfdc: 1.4.1
11371 wrap-ansi: 9.0.2
11372
11375 - llamaindex@0.12.1(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(hono@4.12.25)(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)(zod@4.3.6):
11373 + llamaindex@0.12.1(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.4.3))(hono@4.12.25)(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)(zod@4.4.3):
11374 dependencies:
11375 '@llamaindex/core': 0.6.22
11376 '@llamaindex/env': 0.1.30
11377 '@llamaindex/node-parser': 2.0.22(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)
11380 - '@llamaindex/workflow': 1.1.24(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(hono@4.12.25)(zod@4.3.6)
11381 - '@types/lodash': 4.17.23
11382 - '@types/node': 24.10.13
11383 - lodash: 4.17.23
11384 - magic-bytes.js: 1.13.0
11385 - transitivePeerDependencies:
11386 - - '@huggingface/transformers'
11387 - - '@modelcontextprotocol/sdk'
11388 - - gpt-tokenizer
11389 - - hono
11390 - - next
11391 - - p-retry
11392 - - rxjs
11393 - - tree-sitter
11394 - - web-tree-sitter
11395 - - zod
11396 -
11397 - llamaindex@0.12.1(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)(zod@4.4.3):
11398 - dependencies:
11399 - '@llamaindex/core': 0.6.22
11400 - '@llamaindex/env': 0.1.30
11401 - '@llamaindex/node-parser': 2.0.22(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)
11402 - '@llamaindex/workflow': 1.1.24(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(zod@4.4.3)
11378 + '@llamaindex/workflow': 1.1.24(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.4.3))(hono@4.12.25)(zod@4.4.3)
11379 '@types/lodash': 4.17.23
11380 '@types/node': 24.10.13
11381 lodash: 4.17.23
@@ -11977,11 +11953,6 @@ snapshots:
11953 is-inside-container: 1.0.0
11954 wsl-utils: 0.1.0
11955
11980 - openai@5.23.2(ws@8.20.1)(zod@4.3.6):
11981 - optionalDependencies:
11982 - ws: 8.20.1
11983 - zod: 4.3.6
11984 -
11956 openai@5.23.2(ws@8.20.1)(zod@4.4.3):
11957 optionalDependencies:
11958 ws: 8.20.1
@@ -12172,7 +12143,7 @@ snapshots:
12143
12144 pluralize@8.0.0: {}
12145
12175 - pnpm@10.30.0: {}
12146 + pnpm@11.8.0: {}
12147
12148 possible-typed-array-names@1.1.0: {}
12149
@@ -12875,13 +12846,13 @@ snapshots:
12846 typescript: 6.0.3
12847 yaml: 2.9.0
12848
12878 - typescript-eslint@8.61.1(eslint@9.39.2)(typescript@6.0.3):
12849 + typescript-eslint@8.61.1(eslint@9.39.2(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3):
12850 dependencies:
12880 - '@typescript-eslint/eslint-plugin': 8.61.1(@typescript-eslint/parser@8.61.1(eslint@9.39.2)(typescript@6.0.3))(eslint@9.39.2)(typescript@6.0.3)
12881 - '@typescript-eslint/parser': 8.61.1(eslint@9.39.2)(typescript@6.0.3)
12851 + '@typescript-eslint/eslint-plugin': 8.61.1(@typescript-eslint/parser@8.61.1(eslint@9.39.2(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3))(eslint@9.39.2(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3)
12852 + '@typescript-eslint/parser': 8.61.1(eslint@9.39.2(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3)
12853 '@typescript-eslint/typescript-estree': 8.61.1(typescript@6.0.3)
12883 - '@typescript-eslint/utils': 8.61.1(eslint@9.39.2)(typescript@6.0.3)
12884 - eslint: 9.39.2
12854 + '@typescript-eslint/utils': 8.61.1(eslint@9.39.2(supports-color@10.2.2))(typescript@6.0.3)
12855 + eslint: 9.39.2(supports-color@10.2.2)
12856 typescript: 6.0.3
12857 transitivePeerDependencies:
12858 - supports-color
pnpm-workspace.yaml
+10 -1
@@ -15,6 +15,15 @@ packages:
15 - ts/packages/ts-builders
16 - ts/packages/wrappers/*
17
18 +allowBuilds:
19 + '@parcel/watcher': true
20 + esbuild: true
21 + msgpackr-extract: true
22 + protobufjs: true
23 + sharp: false
24 + tree-sitter: true
25 + workerd: true
26 +
27 catalog:
28 '@ai-sdk/openai': ^3.0.71
29 '@arethetypeswrong/cli': ^0.18.3
@@ -41,7 +50,7 @@ catalog:
50 hono: ^4.12.25
51 openai: ^6.42.0
52 picocolors: ^1.1.1
44 - pnpm: ^10.28.0
53 + pnpm: ^11.8.0
54 publint: ^0.3.21
55 tsdown: ^0.22.3
56 tsx: ^4.22.4
toolchain-versions.json
+2 -2
@@ -1,6 +1,6 @@
1 {
2 - "node": ["22.22.3", "24.16.0", "25.9.0"],
3 - "node_install_compat": ["22.22.3", "24.16.0", "25.9.0"],
2 + "node": ["22.22.3", "24.17.0", "25.9.0"],
3 + "node_install_compat": ["22.22.3", "24.17.0", "25.9.0"],
4 "deno": ["2.6.7"],
5 "python": ["3.10", "3.11", "3.12"]
6 }
ts/e2e-tests/README.md
+4 -4
@@ -123,7 +123,7 @@ import { describe, it, expect, beforeAll } from 'bun:test';
123
124 e2e(import.meta.url, {
125 versions: {
126 - node: ['22.22.3', '24.16.0', '25.9.0'], // Optional: defaults to the current version in mise.toml
126 + node: ['22.22.3', '24.17.0', '25.9.0'], // Optional: defaults to the current version in mise.toml
127 },
128 env: { MY_VAR: process.env.MY_VAR }, // Optional: env vars (validated at startup)
129 defineTests: ({ runtime, runFixture }) => {
@@ -198,7 +198,7 @@ import { describe, it, expect, beforeAll } from 'bun:test';
198
199 e2e(import.meta.url, {
200 versions: {
201 - node: ['22.22.3', '24.16.0', '25.9.0'],
201 + node: ['22.22.3', '24.17.0', '25.9.0'],
202 },
203 usesFixtures: true, // Sets cwd to fixtures/ directory
204 env: { MY_API_KEY: process.env.MY_API_KEY },
@@ -279,7 +279,7 @@ Each test suite generates an ephemereal `DEBUG.log` file in its directory with s
279 E2E Test: my-test
280 Started: 2026-01-30T12:18:42.000Z
281 Test file: ts/e2e-tests/runtimes/node/my-test/e2e.test.ts
282 -Runtime versions: Node.js 22.22.3, Node.js 24.16.0, Node.js 25.9.0
282 +Runtime versions: Node.js 22.22.3, Node.js 24.17.0, Node.js 25.9.0
283 ================================================================================
284
285 ################################################################################
@@ -315,7 +315,7 @@ Test passed!
315 Summary
316 ================================================================================
317 Node.js 22.22.3: PASS (2 phases, 3.11s total)
318 -Node.js 24.16.0: PASS (2 phases, 3.09s total)
318 +Node.js 24.17.0: PASS (2 phases, 3.09s total)
319 Node.js 25.9.0: PASS (2 phases, 3.08s total)
320
321 Finished: 2026-01-30T12:18:46.500Z
ts/e2e-tests/_utils/README.md
+4 -4
@@ -25,7 +25,7 @@ import { describe, it, expect, beforeAll } from 'bun:test';
25
26 e2e(import.meta.url, {
27 versions: {
28 - node: ['22.22.3', '24.16.0', '25.9.0'], // optional, defaults to mise.toml
28 + node: ['22.22.3', '24.17.0', '25.9.0'], // optional, defaults to mise.toml
29 deno: ['2.6.7'], // optional, defaults to mise.toml
30 cli: ['current'], // optional, defaults to CLI package.json version
31 },
@@ -193,7 +193,7 @@ Node.js versions to test are resolved in this order:
193 The following versions are pre-defined in `const.ts`:
194
195 - `22.22.3`
196 -- `24.16.0`
196 +- `24.17.0`
197 - `25.9.0`
198 - `current` (resolves to `mise.toml` version)
199
@@ -281,7 +281,7 @@ Each test suite generates a `DEBUG.log` file with structured output grouped by r
281 E2E Test: openai-zod4-compat
282 Started: 2026-01-30T12:18:42.000Z
283 Test file: ts/e2e-tests/runtimes/node/openai-zod4-compat/e2e.test.ts
284 -Runtime versions: Node.js 22.22.3, Node.js 24.16.0, Node.js 25.9.0
284 +Runtime versions: Node.js 22.22.3, Node.js 24.17.0, Node.js 25.9.0
285 ================================================================================
286
287 ################################################################################
@@ -319,7 +319,7 @@ All packages work together!
319 Summary
320 ================================================================================
321 Node.js 22.22.3: PASS (2 phases, 3.11s total)
322 -Node.js 24.16.0: PASS (2 phases, 3.09s total)
322 +Node.js 24.17.0: PASS (2 phases, 3.09s total)
323 Node.js 25.9.0: PASS (2 phases, 3.08s total)
324
325 Finished: 2026-01-30T12:18:46.500Z
ts/e2e-tests/_utils/src/e2e.ts
+1 -1
@@ -52,7 +52,7 @@ function inferCwd(importMetaUrl: string, repoRoot: string): string {
52 * import type { E2ETestResult } from '@e2e-tests/utils';
53 *
54 * e2e(import.meta.url, {
55 - * versions: { node: ['22.22.3', '24.16.0', '25.9.0'] },
55 + * versions: { node: ['22.22.3', '24.17.0', '25.9.0'] },
56 * env: { COMPOSIO_API_KEY: process.env.COMPOSIO_API_KEY },
57 * defineTests: ({ describe, it, expect, beforeAll, runFixture }) => {
58 * let result: E2ETestResult;
ts/e2e-tests/_utils/src/types.ts
+1 -1
@@ -188,7 +188,7 @@ export interface E2EConfig {
188 * @example
189 * ```typescript
190 * versions: {
191 - * node: ['22.22.3', '24.16.0', '25.9.0'],
191 + * node: ['22.22.3', '24.17.0', '25.9.0'],
192 * deno: ['2.6.7'],
193 * }
194 * ```
ts/e2e-tests/runtimes/node/cjs-basic/README.md
+1 -1
@@ -34,7 +34,7 @@ fixtures/
34
35 ## Isolation Tool
36
37 -**Docker** with Node.js versions: 22.22.3, 24.16.0, 25.9.0.
37 +**Docker** with Node.js versions: 22.22.3, 24.17.0, 25.9.0.
38
39 ## Running
40
ts/e2e-tests/runtimes/node/cjs-basic/e2e.test.ts
+1 -1
@@ -11,7 +11,7 @@ import { describe, it, expect, beforeAll } from 'bun:test';
11
12 e2e(import.meta.url, {
13 versions: {
14 - node: ['22.22.3', '24.16.0', '25.9.0'],
14 + node: ['22.22.3', '24.17.0', '25.9.0'],
15 },
16 usesFixtures: true,
17 defineTests: ({ runFixture }) => {
ts/e2e-tests/runtimes/node/custom-tools/e2e.test.ts
+1 -1
@@ -17,7 +17,7 @@ declare module 'bun' {
17 }
18
19 e2e(import.meta.url, {
20 - versions: { node: ['22.22.3', '24.16.0', '25.9.0'] },
20 + versions: { node: ['22.22.3', '24.17.0', '25.9.0'] },
21 usesFixtures: true,
22 env: {
23 COMPOSIO_API_KEY: Bun.env.COMPOSIO_API_KEY,
ts/e2e-tests/runtimes/node/esm-basic/README.md
+1 -1
@@ -42,7 +42,7 @@ The fixture is a standalone `.mjs` file that:
42
43 ## Isolation Tool
44
45 -**Docker** with Node.js versions: 22.22.3, 24.16.0, 25.9.0.
45 +**Docker** with Node.js versions: 22.22.3, 24.17.0, 25.9.0.
46
47 ## Running
48
ts/e2e-tests/runtimes/node/esm-basic/e2e.test.ts
+1 -1
@@ -10,7 +10,7 @@ import { describe, it, expect, beforeAll } from 'bun:test';
10
11 e2e(import.meta.url, {
12 versions: {
13 - node: ['22.22.3', '24.16.0', '25.9.0'],
13 + node: ['22.22.3', '24.17.0', '25.9.0'],
14 },
15 usesFixtures: true,
16 defineTests: ({ runFixture }) => {
ts/e2e-tests/runtimes/node/file-roundtrip/README.md
+1 -1
@@ -31,7 +31,7 @@ If `COMPOSIO_API_KEY` is not set, the suite is skipped.
31
32 ## Isolation Tool
33
34 -**Docker** with Node.js versions: 22.22.3, 24.16.0, 25.9.0.
34 +**Docker** with Node.js versions: 22.22.3, 24.17.0, 25.9.0.
35
36 This ensures the behavior is tested against specific Node.js versions independent of the developer's local setup.
37
ts/e2e-tests/runtimes/node/file-roundtrip/e2e.test.ts
+2 -2
@@ -8,7 +8,7 @@ declare module 'bun' {
8 }
9
10 e2e(import.meta.url, {
11 - versions: { node: ['22.22.3', '24.16.0', '25.9.0'] },
11 + versions: { node: ['22.22.3', '24.17.0', '25.9.0'] },
12 usesFixtures: true,
13 env: {
14 COMPOSIO_API_KEY: Bun.env.COMPOSIO_API_KEY,
@@ -17,7 +17,7 @@ e2e(import.meta.url, {
17 let result: E2ETestResult;
18
19 beforeAll(async () => {
20 - result = await runFixture({ filename: 'test.mjs' })
20 + result = await runFixture({ filename: 'test.mjs' });
21 }, 300_000);
22
23 describe('file round-trip', () => {
ts/e2e-tests/runtimes/node/json-schema-to-zod-v3/README.md
+1 -1
@@ -36,7 +36,7 @@ Tests use `bun:test` assertions to verify schema conversion and round-trip behav
36
37 ## Isolation Tool
38
39 -**Docker** with Node.js versions: 22.22.3, 24.16.0, 25.9.0.
39 +**Docker** with Node.js versions: 22.22.3, 24.17.0, 25.9.0.
40
41 ## Running
42
ts/e2e-tests/runtimes/node/json-schema-to-zod-v3/e2e.test.ts
+44 -40
@@ -11,18 +11,18 @@ import { describe, it, expect } from 'bun:test';
11 import zodToJsonSchema from 'zod-to-json-schema';
12
13 e2e(import.meta.url, {
14 - versions: { node: ['22.22.3', '24.16.0', '25.9.0'] },
14 + versions: { node: ['22.22.3', '24.17.0', '25.9.0'] },
15 defineTests: () => {
16 describe('json-schema-to-zod with Zod v3', () => {
17 describe('Basic functionality', () => {
18 it('converts basic string schema', () => {
19 const schema: JsonSchema = { type: 'string' };
20 const zodSchema = jsonSchemaToZod(schema);
21 -
21 +
22 expect(zodSchema.parse('hello')).toBe('hello');
23 expect(() => zodSchema.parse(123)).toThrow();
24 });
25 -
25 +
26 it('converts object schema with validation', () => {
27 const schema: JsonSchema = {
28 type: 'object',
@@ -33,34 +33,34 @@ e2e(import.meta.url, {
33 required: ['name'],
34 };
35 const zodSchema = jsonSchemaToZod(schema);
36 -
36 +
37 expect(zodSchema.parse({ name: 'John', age: 30 })).toEqual({ name: 'John', age: 30 });
38 expect(zodSchema.parse({ name: 'John' })).toEqual({ name: 'John' });
39 expect(() => zodSchema.parse({ age: 30 })).toThrow();
40 });
41 -
41 +
42 it('converts array schema', () => {
43 const schema: JsonSchema = {
44 type: 'array',
45 items: { type: 'string' },
46 };
47 const zodSchema = jsonSchemaToZod(schema);
48 -
48 +
49 expect(zodSchema.parse(['one', 'two', 'three'])).toEqual(['one', 'two', 'three']);
50 expect(() => zodSchema.parse(['one', 2])).toThrow();
51 });
52 -
52 +
53 it('validates email format', () => {
54 const schema: JsonSchema = {
55 type: 'string',
56 format: 'email',
57 };
58 const zodSchema = jsonSchemaToZod(schema);
59 -
59 +
60 expect(zodSchema.parse('test@example.com')).toBe('test@example.com');
61 expect(() => zodSchema.parse('invalid-email')).toThrow();
62 });
63 -
63 +
64 it('handles complex nested schemas', () => {
65 const schema: JsonSchema = {
66 type: 'object',
@@ -87,7 +87,7 @@ e2e(import.meta.url, {
87 required: ['user'],
88 };
89 const zodSchema = jsonSchemaToZod(schema);
90 -
90 +
91 const validData = {
92 user: {
93 name: 'Jane Doe',
@@ -99,26 +99,26 @@ e2e(import.meta.url, {
99 };
100 expect(zodSchema.parse(validData)).toEqual(validData);
101 });
102 -
102 +
103 it('handles anyOf schemas', () => {
104 const schema: JsonSchema = {
105 anyOf: [{ type: 'string' }, { type: 'number' }],
106 };
107 const zodSchema = jsonSchemaToZod(schema);
108 -
108 +
109 expect(zodSchema.parse('hello')).toBe('hello');
110 expect(zodSchema.parse(42)).toBe(42);
111 expect(() => zodSchema.parse(true)).toThrow();
112 });
113 });
114 -
114 +
115 describe('Round-trip conversion', () => {
116 it('preserves additionalProperties: true for empty objects', () => {
117 const schema: JsonSchema = {
118 type: 'object',
119 additionalProperties: true,
120 };
121 -
121 +
122 const zodSchema = jsonSchemaToZod(schema);
123 // @ts-expect-error Type instantiation is excessively deep and possibly infinite.
124 const convertedBack = zodToJsonSchema(zodSchema, { target: 'jsonSchema7' });
@@ -126,11 +126,14 @@ e2e(import.meta.url, {
126 expect(convertedBack.additionalProperties).toBe(true);
127 // @ts-expect-error Property 'type' does not exist on type
128 expect(convertedBack.type).toBe('object');
129 -
129 +
130 expect(zodSchema.parse({})).toEqual({});
131 - expect(zodSchema.parse({ any: 'value', number: 123 })).toEqual({ any: 'value', number: 123 });
131 + expect(zodSchema.parse({ any: 'value', number: 123 })).toEqual({
132 + any: 'value',
133 + number: 123,
134 + });
135 });
133 -
136 +
137 it('preserves additionalProperties: true for objects with properties', () => {
138 const schema: JsonSchema = {
139 type: 'object',
@@ -141,17 +144,17 @@ e2e(import.meta.url, {
144 required: ['name'],
145 additionalProperties: true,
146 };
144 -
147 +
148 const zodSchema = jsonSchemaToZod(schema);
149 const convertedBack = zodToJsonSchema(zodSchema, { target: 'jsonSchema7' });
147 -
150 +
151 // @ts-expect-error Property 'additionalProperties' does not exist on type.
152 expect(convertedBack.additionalProperties).toBe(true);
153 // @ts-expect-error Type instantiation is excessively deep and possibly infinite.
154 expect(convertedBack.properties).toBeDefined();
155 // @ts-expect-error Property 'required' does not exist on type
156 expect(convertedBack.required).toEqual(['name']);
154 -
157 +
158 expect(zodSchema.parse({ name: 'John' })).toEqual({ name: 'John' });
159 expect(zodSchema.parse({ name: 'John', age: 30, extra: 'field' })).toEqual({
160 name: 'John',
@@ -159,16 +162,16 @@ e2e(import.meta.url, {
162 extra: 'field',
163 });
164 });
162 -
165 +
166 it('preserves additionalProperties: false for empty objects', () => {
167 const schema: JsonSchema = {
168 type: 'object',
169 additionalProperties: false,
170 };
168 -
171 +
172 const zodSchema = jsonSchemaToZod(schema);
173 const convertedBack = zodToJsonSchema(zodSchema, { target: 'jsonSchema7' });
171 -
174 +
175 // zod-to-json-schema may convert z.object({}).strict() to { not: {} }
176 // which is semantically equivalent to additionalProperties: false
177 const additionalPropsValid =
@@ -179,11 +182,11 @@ e2e(import.meta.url, {
182 expect(additionalPropsValid).toBe(true);
183 // @ts-expect-error Property 'type' does not exist on type.
184 expect(convertedBack.type).toBe('object');
182 -
185 +
186 expect(zodSchema.parse({})).toEqual({});
187 expect(() => zodSchema.parse({ extra: 'field' })).toThrow();
188 });
186 -
189 +
190 it('preserves additionalProperties: false for objects with properties', () => {
191 const schema: JsonSchema = {
192 type: 'object',
@@ -192,19 +195,19 @@ e2e(import.meta.url, {
195 },
196 additionalProperties: false,
197 };
195 -
198 +
199 const zodSchema = jsonSchemaToZod(schema);
200 const convertedBack = zodToJsonSchema(zodSchema, { target: 'jsonSchema7' });
198 -
201 +
202 // @ts-expect-error Property 'additionalProperties' does not exist on type.
203 expect(convertedBack.additionalProperties).toBe(false);
204 // @ts-expect-error Property 'properties' does not exist on type.
205 expect(convertedBack.properties).toBeDefined();
203 -
206 +
207 expect(zodSchema.parse({ name: 'John' })).toEqual({ name: 'John' });
208 expect(() => zodSchema.parse({ name: 'John', extra: 'field' })).toThrow();
209 });
207 -
210 +
211 it('handles additionalProperties with type schema', () => {
212 const schema: JsonSchema = {
213 type: 'object',
@@ -213,20 +216,20 @@ e2e(import.meta.url, {
216 },
217 additionalProperties: { type: 'number' },
218 };
216 -
219 +
220 const zodSchema = jsonSchemaToZod(schema);
221 const convertedBack = zodToJsonSchema(zodSchema, { target: 'jsonSchema7' });
219 -
222 +
223 // @ts-expect-error Property 'additionalProperties' does not exist on type.
224 expect(convertedBack.additionalProperties).toEqual({ type: 'number' });
225 // @ts-expect-error Property 'properties' does not exist on type.
226 expect(convertedBack.properties).toBeDefined();
224 -
227 +
228 expect(zodSchema.parse({ name: 'John' })).toEqual({ name: 'John' });
229 expect(zodSchema.parse({ name: 'John', age: 30 })).toEqual({ name: 'John', age: 30 });
230 expect(() => zodSchema.parse({ name: 'John', extra: 'field' })).toThrow();
231 });
229 -
232 +
233 it('handles nested objects with different additionalProperties settings', () => {
234 const schema: JsonSchema = {
235 type: 'object',
@@ -248,31 +251,33 @@ e2e(import.meta.url, {
251 },
252 additionalProperties: { type: 'string' },
253 };
251 -
254 +
255 const zodSchema = jsonSchemaToZod(schema);
256 const convertedBack = zodToJsonSchema(zodSchema, { target: 'jsonSchema7' });
254 -
257 +
258 // @ts-expect-error Property 'additionalProperties' does not exist on type.
259 expect(convertedBack.additionalProperties).toEqual({ type: 'string' });
260 // @ts-expect-error Property 'properties' does not exist on type.
261 expect((convertedBack.properties as Record<string, unknown>)?.strictChild).toBeDefined();
262 // @ts-expect-error Property 'properties' does not exist on type.
260 - expect((convertedBack.properties as Record<string, unknown>)?.flexibleChild).toBeDefined();
261 -
263 + expect(
264 + (convertedBack.properties as Record<string, unknown>)?.flexibleChild
265 + ).toBeDefined();
266 +
267 const validData = {
268 strictChild: { name: 'John' },
269 flexibleChild: { age: 30, extra: 'allowed' },
270 extraString: 'this should be a string',
271 };
272 expect(zodSchema.parse(validData)).toEqual(validData);
268 -
273 +
274 // Test invalid cases
275 expect(() =>
276 zodSchema.parse({
277 strictChild: { name: 'John', extra: 'not allowed' },
278 })
279 ).toThrow();
275 -
280 +
281 expect(() =>
282 zodSchema.parse({
283 extraNumber: 123, // should be string according to additionalProperties
@@ -283,4 +288,3 @@ e2e(import.meta.url, {
288 });
289 },
290 });
286 -
ts/e2e-tests/runtimes/node/json-schema-to-zod-v4/README.md
+1 -1
@@ -37,7 +37,7 @@ Tests use `bun:test` assertions to verify schema conversion and parsing behavior
37
38 ## Isolation Tool
39
40 -**Docker** with Node.js versions: 22.22.3, 24.16.0, 25.9.0.
40 +**Docker** with Node.js versions: 22.22.3, 24.17.0, 25.9.0.
41
42 ## Running
43
ts/e2e-tests/runtimes/node/json-schema-to-zod-v4/e2e.test.ts
+36 -39
@@ -10,18 +10,18 @@ import { e2e } from '@e2e-tests/utils';
10 import { describe, it, expect } from 'bun:test';
11
12 e2e(import.meta.url, {
13 - versions: { node: ['22.22.3', '24.16.0', '25.9.0'] },
13 + versions: { node: ['22.22.3', '24.17.0', '25.9.0'] },
14 defineTests: () => {
15 describe('json-schema-to-zod with Zod v4', () => {
16 describe('Basic functionality', () => {
17 it('converts basic string schema', () => {
18 const schema: JsonSchema = { type: 'string' };
19 const zodSchema = jsonSchemaToZod(schema);
20 -
20 +
21 expect(zodSchema.parse('hello')).toBe('hello');
22 expect(() => zodSchema.parse(123)).toThrow();
23 });
24 -
24 +
25 it('converts object schema with validation', () => {
26 const schema: JsonSchema = {
27 type: 'object',
@@ -32,34 +32,34 @@ e2e(import.meta.url, {
32 required: ['name'],
33 };
34 const zodSchema = jsonSchemaToZod(schema);
35 -
35 +
36 expect(zodSchema.parse({ name: 'John', age: 30 })).toEqual({ name: 'John', age: 30 });
37 expect(zodSchema.parse({ name: 'John' })).toEqual({ name: 'John' });
38 expect(() => zodSchema.parse({ age: 30 })).toThrow();
39 });
40 -
40 +
41 it('converts array schema', () => {
42 const schema: JsonSchema = {
43 type: 'array',
44 items: { type: 'string' },
45 };
46 const zodSchema = jsonSchemaToZod(schema);
47 -
47 +
48 expect(zodSchema.parse(['one', 'two', 'three'])).toEqual(['one', 'two', 'three']);
49 expect(() => zodSchema.parse(['one', 2])).toThrow();
50 });
51 -
51 +
52 it('validates email format', () => {
53 const schema: JsonSchema = {
54 type: 'string',
55 format: 'email',
56 };
57 const zodSchema = jsonSchemaToZod(schema);
58 -
58 +
59 expect(zodSchema.parse('test@example.com')).toBe('test@example.com');
60 expect(() => zodSchema.parse('invalid-email')).toThrow();
61 });
62 -
62 +
63 it('handles complex nested schemas', () => {
64 const schema: JsonSchema = {
65 type: 'object',
@@ -86,7 +86,7 @@ e2e(import.meta.url, {
86 required: ['user'],
87 };
88 const zodSchema = jsonSchemaToZod(schema);
89 -
89 +
90 const validData = {
91 user: {
92 name: 'Jane Doe',
@@ -98,19 +98,19 @@ e2e(import.meta.url, {
98 };
99 expect(zodSchema.parse(validData)).toEqual(validData);
100 });
101 -
101 +
102 it('handles anyOf schemas', () => {
103 const schema: JsonSchema = {
104 anyOf: [{ type: 'string' }, { type: 'number' }],
105 };
106 const zodSchema = jsonSchemaToZod(schema);
107 -
107 +
108 expect(zodSchema.parse('hello')).toBe('hello');
109 expect(zodSchema.parse(42)).toBe(42);
110 expect(() => zodSchema.parse(true)).toThrow();
111 });
112 });
113 -
113 +
114 describe('Parsing behavior', () => {
115 it('converts basic schemas and verifies parsing behavior', () => {
116 const schema: JsonSchema = {
@@ -122,15 +122,15 @@ e2e(import.meta.url, {
122 required: ['name'],
123 additionalProperties: false,
124 };
125 -
125 +
126 const zodSchema = jsonSchemaToZod(schema);
127 -
127 +
128 expect(zodSchema.parse({ name: 'John' })).toEqual({ name: 'John' });
129 expect(zodSchema.parse({ name: 'John', age: 30 })).toEqual({ name: 'John', age: 30 });
130 expect(() => zodSchema.parse({ age: 30 })).toThrow();
131 expect(() => zodSchema.parse({ name: 'John', extra: 'field' })).toThrow();
132 });
133 -
133 +
134 it('handles additionalProperties: true', () => {
135 const schema: JsonSchema = {
136 type: 'object',
@@ -139,9 +139,9 @@ e2e(import.meta.url, {
139 },
140 additionalProperties: true,
141 };
142 -
142 +
143 const zodSchema = jsonSchemaToZod(schema);
144 -
144 +
145 expect(zodSchema.parse({ name: 'John' })).toEqual({ name: 'John' });
146 expect(zodSchema.parse({ name: 'John', extra: 'allowed', another: 123 })).toEqual({
147 name: 'John',
@@ -149,7 +149,7 @@ e2e(import.meta.url, {
149 another: 123,
150 });
151 });
152 -
152 +
153 it('handles additionalProperties with type constraint', () => {
154 const schema: JsonSchema = {
155 type: 'object',
@@ -158,9 +158,9 @@ e2e(import.meta.url, {
158 },
159 additionalProperties: { type: 'number' },
160 };
161 -
161 +
162 const zodSchema = jsonSchemaToZod(schema);
163 -
163 +
164 expect(zodSchema.parse({ name: 'John' })).toEqual({ name: 'John' });
165 expect(zodSchema.parse({ name: 'John', age: 30, count: 5 })).toEqual({
166 name: 'John',
@@ -169,7 +169,7 @@ e2e(import.meta.url, {
169 });
170 expect(() => zodSchema.parse({ name: 'John', extra: 'string' })).toThrow();
171 });
172 -
172 +
173 it('handles nested objects with different additionalProperties settings', () => {
174 const schema: JsonSchema = {
175 type: 'object',
@@ -191,29 +191,29 @@ e2e(import.meta.url, {
191 },
192 additionalProperties: { type: 'string' },
193 };
194 -
194 +
195 const zodSchema = jsonSchemaToZod(schema);
196 -
196 +
197 const validData = {
198 strictChild: { name: 'John' },
199 flexibleChild: { age: 30, extra: 'allowed' },
200 extraString: 'this should be a string',
201 };
202 expect(zodSchema.parse(validData)).toEqual(validData);
203 -
203 +
204 expect(() =>
205 zodSchema.parse({
206 strictChild: { name: 'John', extra: 'not allowed' },
207 })
208 ).toThrow();
209 -
209 +
210 expect(() =>
211 zodSchema.parse({
212 extraNumber: 123,
213 })
214 ).toThrow();
215 });
216 -
216 +
217 it('handles complex nested arrays', () => {
218 const schema: JsonSchema = {
219 type: 'array',
@@ -229,17 +229,15 @@ e2e(import.meta.url, {
229 required: ['id'],
230 },
231 };
232 -
232 +
233 const zodSchema = jsonSchemaToZod(schema);
234 -
234 +
235 const validData = [{ id: 1, tags: ['a', 'b'] }, { id: 2, tags: ['c'] }, { id: 3 }];
236 expect(zodSchema.parse(validData)).toEqual(validData);
237 -
238 - expect(() =>
239 - zodSchema.parse([{ tags: ['a', 'b'] }])
240 - ).toThrow();
237 +
238 + expect(() => zodSchema.parse([{ tags: ['a', 'b'] }])).toThrow();
239 });
242 -
240 +
241 it('handles union types with anyOf', () => {
242 const schema: JsonSchema = {
243 anyOf: [
@@ -254,19 +252,18 @@ e2e(import.meta.url, {
252 },
253 ],
254 };
257 -
255 +
256 const zodSchema = jsonSchemaToZod(schema);
259 -
257 +
258 expect(zodSchema.parse('hello')).toBe('hello');
259 expect(zodSchema.parse(42)).toBe(42);
260 expect(zodSchema.parse({ type: 'custom' })).toEqual({ type: 'custom' });
263 -
261 +
262 expect(() => zodSchema.parse('ab')).toThrow();
263 expect(() => zodSchema.parse(-1)).toThrow();
264 expect(() => zodSchema.parse({ foo: 'bar' })).toThrow();
265 });
266 });
267 });
270 - }
268 + },
269 });
272 -
ts/e2e-tests/runtimes/node/mastra-tool-router-zod-v3/README.md
+1 -1
@@ -37,7 +37,7 @@ import { z } from 'zod';
37
38 ## Isolation Tool
39
40 -**Docker** with Node.js versions: 22.22.3, 24.16.0, 25.9.0.
40 +**Docker** with Node.js versions: 22.22.3, 24.17.0, 25.9.0.
41
42 ## Running
43
ts/e2e-tests/runtimes/node/mastra-tool-router-zod-v3/e2e.test.ts
+1 -1
@@ -27,7 +27,7 @@ declare module 'bun' {
27 }
28
29 e2e(import.meta.url, {
30 - versions: { node: ['22.22.3', '24.16.0', '25.9.0'] },
30 + versions: { node: ['22.22.3', '24.17.0', '25.9.0'] },
31 env: {
32 COMPOSIO_API_KEY: Bun.env.COMPOSIO_API_KEY,
33 OPENAI_API_KEY: Bun.env.OPENAI_API_KEY,
ts/e2e-tests/runtimes/node/mastra-tool-router-zod-v4/README.md
+1 -1
@@ -37,7 +37,7 @@ import { z } from 'zod';
37
38 ## Isolation Tool
39
40 -**Docker** with Node.js versions: 22.22.3, 24.16.0, 25.9.0.
40 +**Docker** with Node.js versions: 22.22.3, 24.17.0, 25.9.0.
41
42 ## Running
43
ts/e2e-tests/runtimes/node/mastra-tool-router-zod-v4/e2e.test.ts
+1 -1
@@ -27,7 +27,7 @@ declare module 'bun' {
27 }
28
29 e2e(import.meta.url, {
30 - versions: { node: ['22.22.3', '24.16.0', '25.9.0'] },
30 + versions: { node: ['22.22.3', '24.17.0', '25.9.0'] },
31 env: {
32 COMPOSIO_API_KEY: Bun.env.COMPOSIO_API_KEY,
33 OPENAI_API_KEY: Bun.env.OPENAI_API_KEY,
ts/e2e-tests/runtimes/node/openai-zod4-compat/README.md
+1 -1
@@ -34,7 +34,7 @@ The `setup` phase runs `npm install --legacy-peer-deps` in a Docker volume, then
34
35 ## Isolation Tool
36
37 -**Docker** with Node.js versions: 22.22.3, 24.16.0, 25.9.0.
37 +**Docker** with Node.js versions: 22.22.3, 24.17.0, 25.9.0.
38
39 ## Running
40
ts/e2e-tests/runtimes/node/openai-zod4-compat/e2e.test.ts
+1 -1
@@ -15,7 +15,7 @@ declare module 'bun' {
15 }
16
17 e2e(import.meta.url, {
18 - versions: { node: ['22.22.3', '24.16.0', '25.9.0'] },
18 + versions: { node: ['22.22.3', '24.17.0', '25.9.0'] },
19 usesFixtures: true,
20 env: {
21 COMPOSIO_API_KEY: Bun.env.COMPOSIO_API_KEY,
ts/e2e-tests/runtimes/node/tool-router-files/e2e.test.ts
+1 -1
@@ -15,7 +15,7 @@ declare module 'bun' {
15 }
16
17 e2e(import.meta.url, {
18 - versions: { node: ['22.22.3', '24.16.0', '25.9.0'] },
18 + versions: { node: ['22.22.3', '24.17.0', '25.9.0'] },
19 usesFixtures: true,
20 env: {
21 COMPOSIO_API_KEY: Bun.env.COMPOSIO_API_KEY,
ts/e2e-tests/runtimes/node/tool-router-pagination/e2e.test.ts
+1 -1
@@ -22,7 +22,7 @@ declare module 'bun' {
22 }
23
24 e2e(import.meta.url, {
25 - versions: { node: ['22.22.3', '24.16.0', '25.9.0'] },
25 + versions: { node: ['22.22.3', '24.17.0', '25.9.0'] },
26 usesFixtures: true,
27 env: {
28 COMPOSIO_API_KEY: Bun.env.COMPOSIO_API_KEY,
ts/e2e-tests/runtimes/node/typescript-mjs-import-nodenext/README.md
+1 -1
@@ -55,7 +55,7 @@ The fixture script:
55
56 ## Isolation Tool
57
58 -**Docker** with Node.js versions: 22.22.3, 24.16.0, 25.9.0.
58 +**Docker** with Node.js versions: 22.22.3, 24.17.0, 25.9.0.
59
60 ## Running
61
ts/e2e-tests/runtimes/node/typescript-mjs-import-nodenext/e2e.test.ts
+1 -1
@@ -9,7 +9,7 @@ import { e2e, type E2ETestResult } from '@e2e-tests/utils';
9 import { describe, it, expect, beforeAll } from 'bun:test';
10
11 e2e(import.meta.url, {
12 - versions: { node: ['22.22.3', '24.16.0', '25.9.0'] },
12 + versions: { node: ['22.22.3', '24.17.0', '25.9.0'] },
13 defineTests: ({ runFixture }) => {
14 let result: E2ETestResult;
15
ts/packages/cli-keyring/package.json
+1 -1
@@ -31,7 +31,7 @@
31 ],
32 "scripts": {
33 "clean": "git clean -xdf node_modules",
34 - "build": "pnpm exec tsdown",
34 + "build": "tsdown",
35 "test": "vitest run",
36 "typecheck:src": "pnpm exec tsgo --noEmit -p ./tsconfig.src.json",
37 "typecheck:test": "pnpm exec tsgo --noEmit -p ./tsconfig.test.json",
ts/packages/cli-local-tools/package.json
+1 -1
@@ -26,7 +26,7 @@
26 "sideEffects": false,
27 "scripts": {
28 "clean": "git clean -xdf node_modules",
29 - "build": "pnpm exec tsdown",
29 + "build": "tsdown",
30 "build:beeper-imessage": "bun run ./scripts/build-beeper-imessage-binaries.ts",
31 "build:peekaboo": "bun run ./scripts/build-peekaboo-binaries.ts",
32 "build:composio-native-ui": "bun run ./scripts/build-composio-native-ui-binaries.ts",
ts/packages/cli/package.json
+1 -1
@@ -37,7 +37,7 @@
37 "table:metrics": "bun run ./scripts/optimize-metrics-table.ts",
38 "mock": "bun run ./scripts/copy-mocks-from-cache.ts",
39 "prebuild": "pnpm run typecheck",
40 - "build": "pnpm exec tsdown && bun run ./scripts/copy-local-tools-assets.ts ./dist",
40 + "build": "tsdown && bun run ./scripts/copy-local-tools-assets.ts ./dist",
41 "bin": "./dist/composio",
42 "test": "pnpm run validate:skills && vitest run",
43 "prepublishOnly": "pnpm run build && pnpm run build:binary",
ts/packages/cli/tsdown.config.ts
+1
@@ -11,6 +11,7 @@ export default defineConfig({
11 'src/services/run-subagent-output-mcp.ts',
12 ],
13 format: ['esm'],
14 + shims: true,
15 tsconfig: './tsconfig.src.json',
16 external: [/^bun:/],
17 noExternal: [
ts/packages/core/package.json
+1 -1
@@ -79,7 +79,7 @@
79 ],
80 "scripts": {
81 "clean": "git clean -xdf node_modules",
82 - "build": "pnpm exec tsdown",
82 + "build": "tsdown",
83 "test": "vitest run",
84 "typecheck": "pnpm exec tsgo --noEmit --skipLibCheck && pnpm exec tsgo --noEmit --skipLibCheck -p tsconfig.type-tests.json",
85 "typecheck:tsc": "tsc --noEmit --skipLibCheck && tsc --noEmit --skipLibCheck -p tsconfig.type-tests.json",
ts/packages/json-schema-to-zod/package.json
+1 -1
@@ -30,7 +30,7 @@
30 ],
31 "scripts": {
32 "clean": "git clean -xdf node_modules",
33 - "build": "pnpm exec tsdown",
33 + "build": "tsdown",
34 "test": "vitest run",
35 "typecheck:src": "pnpm exec tsgo --noEmit -p ./tsconfig.src.json",
36 "typecheck:test": "pnpm exec tsgo --noEmit -p ./tsconfig.test.json",
ts/packages/providers/anthropic/package.json
+1 -1
@@ -30,7 +30,7 @@
30 ],
31 "scripts": {
32 "clean": "git clean -xdf node_modules",
33 - "build": "pnpm exec tsdown",
33 + "build": "tsdown",
34 "test": "vitest run"
35 },
36 "keywords": [
ts/packages/providers/claude-agent-sdk/package.json
+1 -1
@@ -30,7 +30,7 @@
30 ],
31 "scripts": {
32 "clean": "git clean -xdf node_modules",
33 - "build": "pnpm exec tsdown",
33 + "build": "tsdown",
34 "test": "vitest run"
35 },
36 "keywords": [
ts/packages/providers/cloudflare/package.json
+1 -1
@@ -30,7 +30,7 @@
30 ],
31 "scripts": {
32 "clean": "git clean -xdf node_modules",
33 - "build": "pnpm exec tsdown",
33 + "build": "tsdown",
34 "test": "vitest run"
35 },
36 "keywords": [],
ts/packages/providers/google/package.json
+1 -1
@@ -30,7 +30,7 @@
30 ],
31 "scripts": {
32 "clean": "git clean -xdf node_modules",
33 - "build": "pnpm exec tsdown",
33 + "build": "tsdown",
34 "test": "vitest run"
35 },
36 "keywords": [
ts/packages/providers/langchain/package.json
+1 -1
@@ -30,7 +30,7 @@
30 ],
31 "scripts": {
32 "clean": "git clean -xdf node_modules",
33 - "build": "pnpm exec tsdown",
33 + "build": "tsdown",
34 "test": "vitest run"
35 },
36 "keywords": [],
ts/packages/providers/llamaindex/package.json
+1 -1
@@ -29,7 +29,7 @@
29 "dist"
30 ],
31 "scripts": {
32 - "build": "pnpm exec tsdown",
32 + "build": "tsdown",
33 "test": "vitest run"
34 },
35 "keywords": [
ts/packages/providers/mastra/package.json
+1 -1
@@ -30,7 +30,7 @@
30 ],
31 "scripts": {
32 "clean": "git clean -xdf node_modules",
33 - "build": "pnpm exec tsdown",
33 + "build": "tsdown",
34 "test": "vitest run",
35 "typecheck": "pnpm exec tsgo --noEmit --skipLibCheck",
36 "typecheck:tsc": "tsc --noEmit --skipLibCheck"
ts/packages/providers/openai-agents/package.json
+1 -1
@@ -30,7 +30,7 @@
30 ],
31 "scripts": {
32 "clean": "git clean -xdf node_modules",
33 - "build": "pnpm exec tsdown",
33 + "build": "tsdown",
34 "test": "vitest run"
35 },
36 "keywords": [],
ts/packages/providers/openai/package.json
+1 -1
@@ -30,7 +30,7 @@
30 ],
31 "scripts": {
32 "clean": "git clean -xdf node_modules",
33 - "build": "pnpm exec tsdown",
33 + "build": "tsdown",
34 "test": "vitest run"
35 },
36 "keywords": [],
ts/packages/providers/vercel/package.json
+1 -1
@@ -30,7 +30,7 @@
30 ],
31 "scripts": {
32 "clean": "git clean -xdf node_modules",
33 - "build": "pnpm exec tsdown",
33 + "build": "tsdown",
34 "test": "vitest run"
35 },
36 "keywords": [],
ts/packages/ts-builders/package.json
+1 -1
@@ -26,7 +26,7 @@
26 },
27 "scripts": {
28 "clean": "git clean -xdf node_modules",
29 - "build": "pnpm exec tsdown",
29 + "build": "tsdown",
30 "test": "vitest run"
31 },
32 "files": [
ts/scripts/create-provider.sh
+1 -1
@@ -44,7 +44,7 @@ cat > "$TOOLSET_PATH/package.json" << EOL
44 "dist"
45 ],
46 "scripts": {
47 - "build": "pnpm exec tsdown",
47 + "build": "tsdown",
48 "test": "vitest run"
49 },
50 "keywords": ["composio", "provider", "${TOOLSET_NAME}"],