@devries-cameron20 / composio Mirror · read-only / commits / e5b9db3d6
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 22, 19:30 UTC

fix(core): export tool router types and add type-level safeguards (#2033)

Co-authored-by: Codex <codex@openai.com> Co-authored-by: Musthaq Ahamad <53584487+haxzie@users.noreply.github.com> Co-authored-by: haxzie <musthu.gm@gmail.com>

Rahul Tarak committed Oct 7, 2025 at 00:29 UTC e5b9db3d6879ab83d1b9faa7d49c32e43f4c4c47
6 files changed +303 -93
.changeset/old-views-hear.md new
+5
@@ -0,0 +1,5 @@
1 +---
2 +'@composio/core': patch
3 +---
4 +
5 +Fix exports for experimental tool router
pnpm-lock.yaml
+247 -92
@@ -268,7 +268,7 @@ importers:
268 devDependencies:
269 '@cloudflare/vitest-pool-workers':
270 specifier: 'catalog:'
271 - version: 0.9.2(@cloudflare/workers-types@4.20250917.0)(@vitest/runner@3.2.4)(@vitest/snapshot@3.2.4)(vitest@3.2.4)
271 + version: 0.9.2(@cloudflare/workers-types@4.20250917.0)(@vitest/runner@3.2.4)(@vitest/snapshot@3.2.4)(vitest@3.2.4(@types/node@24.6.2)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1))
272 typescript:
273 specifier: 'catalog:'
274 version: 5.9.2
@@ -384,7 +384,7 @@ importers:
384 version: 16.5.0
385 zod-to-json-schema:
386 specifier: ^3.24.5
387 - version: 3.24.5(zod@3.25.76)
387 + version: 3.24.5(zod@4.1.9)
388 devDependencies:
389 '@types/bun':
390 specifier: ^1.2.9
@@ -437,13 +437,13 @@ importers:
437 version: 0.4.20(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(ws@8.18.2)(zod@3.25.76)
438 '@llamaindex/workflow':
439 specifier: ^1.1.24
440 - version: 1.1.24(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(zod@3.25.76)
440 + version: 1.1.24(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4)(rxjs@7.8.2)(zod@3.25.76)
441 dotenv:
442 specifier: ^16.4.1
443 version: 16.6.1
444 llamaindex:
445 specifier: ^0.12.0
446 - version: 0.12.0(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)(zod@3.25.76)
446 + version: 0.12.0(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4)(rxjs@7.8.2)(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)(zod@3.25.76)
447 devDependencies:
448 '@types/bun':
449 specifier: ^1.2.9
@@ -487,7 +487,7 @@ importers:
487 dependencies:
488 '@ai-sdk/openai':
489 specifier: ^2.0.35
490 - version: 2.0.35(zod@3.25.76)
490 + version: 2.0.35(zod@4.1.9)
491 '@composio/core':
492 specifier: workspace:*
493 version: link:../../packages/core
@@ -499,7 +499,7 @@ importers:
499 version: 1.18.0
500 ai:
501 specifier: 'catalog:'
502 - version: 5.0.44(zod@3.25.76)
502 + version: 5.0.44(zod@4.1.9)
503 dotenv:
504 specifier: ^16.4.1
505 version: 16.6.1
@@ -515,7 +515,7 @@ importers:
515 dependencies:
516 '@ai-sdk/openai':
517 specifier: ^1.3.16
518 - version: 1.3.22(zod@3.25.76)
518 + version: 1.3.22(zod@4.1.9)
519 '@composio/core':
520 specifier: workspace:*
521 version: link:../../packages/core
@@ -524,7 +524,7 @@ importers:
524 version: link:../../packages/providers/vercel
525 ai:
526 specifier: 'catalog:'
527 - version: 5.0.44(zod@3.25.76)
527 + version: 5.0.44(zod@4.1.9)
528 devDependencies:
529 '@types/bun':
530 specifier: ^1.2.9
@@ -590,7 +590,7 @@ importers:
590 dependencies:
591 '@ai-sdk/openai':
592 specifier: ^1.3.16
593 - version: 1.3.22(zod@3.25.76)
593 + version: 1.3.22(zod@4.1.9)
594 '@composio/core':
595 specifier: workspace:*
596 version: link:../../packages/core
@@ -599,7 +599,7 @@ importers:
599 version: link:../../packages/providers/vercel
600 ai:
601 specifier: 'catalog:'
602 - version: 5.0.44(zod@3.25.76)
602 + version: 5.0.44(zod@4.1.9)
603 devDependencies:
604 '@types/bun':
605 specifier: ^1.2.9
@@ -618,10 +618,10 @@ importers:
618 version: 16.5.0
619 openai:
620 specifier: ^5.19.1
621 - version: 5.19.1(ws@8.18.2)(zod@3.25.76)
621 + version: 5.19.1(ws@8.18.2)(zod@4.1.9)
622 zod-to-json-schema:
623 specifier: ^3.24.5
624 - version: 3.24.5(zod@3.25.76)
624 + version: 3.24.5(zod@4.1.9)
625 devDependencies:
626 '@types/bun':
627 specifier: ^1.2.9
@@ -650,7 +650,7 @@ importers:
650 dependencies:
651 '@ai-sdk/openai':
652 specifier: ^2.0.16
653 - version: 2.0.16(zod@3.25.76)
653 + version: 2.0.16(zod@4.1.9)
654 '@composio/core':
655 specifier: workspace:*
656 version: link:../../packages/core
@@ -662,7 +662,7 @@ importers:
662 version: 1.18.0
663 ai:
664 specifier: 'catalog:'
665 - version: 5.0.44(zod@3.25.76)
665 + version: 5.0.44(zod@4.1.9)
666 dotenv:
667 specifier: ^16.5.0
668 version: 16.5.0
@@ -761,7 +761,7 @@ importers:
761 version: 0.85.2(effect@3.16.16)
762 '@effect/vitest':
763 specifier: ^0.23.8
764 - version: 0.23.8(effect@3.16.16)(vitest@3.2.4)
764 + version: 0.23.8(effect@3.16.16)(vitest@3.2.4(@types/node@24.6.2)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1))
765 '@types/bun':
766 specifier: ^1.2.16
767 version: 1.2.16
@@ -817,6 +817,9 @@ importers:
817 specifier: ^3.24.5
818 version: 3.24.5(zod@3.25.76)
819 devDependencies:
820 + '@type-challenges/utils':
821 + specifier: ^0.1.1
822 + version: 0.1.1
823 '@types/semver':
824 specifier: ^7.7.0
825 version: 7.7.0
@@ -867,7 +870,7 @@ importers:
870 version: 0.52.0
871 '@mastra/mcp':
872 specifier: ^0.12.0
870 - version: 0.12.0(@mastra/core@0.16.3(effect@3.16.16)(openapi-types@12.1.3)(react@18.3.1)(zod@3.25.76))(@types/json-schema@7.0.15)(zod@3.25.76)
873 + version: 0.12.0(@mastra/core@0.16.3(effect@3.16.16)(openapi-types@12.1.3)(react@18.3.1)(zod@4.1.9))(@types/json-schema@7.0.15)(zod@4.1.9)
874 devDependencies:
875 '@composio/core':
876 specifier: workspace:*
@@ -921,7 +924,7 @@ importers:
924 dependencies:
925 '@langchain/core':
926 specifier: ^0.3.63
924 - version: 0.3.63(openai@5.20.3(ws@8.18.2)(zod@3.25.76))
927 + version: 0.3.63(openai@5.20.3(zod@3.25.76))
928 devDependencies:
929 '@composio/core':
930 specifier: workspace:*
@@ -943,7 +946,7 @@ importers:
946 dependencies:
947 llamaindex:
948 specifier: ^0.12.0
946 - version: 0.12.0(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)(zod@4.1.9)
949 + version: 0.12.0(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)(zod@4.1.9)
950 devDependencies:
951 '@composio/core':
952 specifier: workspace:*
@@ -1897,163 +1900,138 @@ packages:
1900 resolution: {integrity: sha512-9B+taZ8DlyyqzZQnoeIvDVR/2F4EbMepXMc/NdVbkzsJbzkUjhXv/70GQJ7tdLA4YJgNP25zukcxpX2/SueNrA==}
1901 cpu: [arm64]
1902 os: [linux]
1900 - libc: [glibc]
1903
1904 '@img/sharp-libvips-linux-arm64@1.1.0':
1905 resolution: {integrity: sha512-IVfGJa7gjChDET1dK9SekxFFdflarnUB8PwW8aGwEoF3oAsSDuNUTYS+SKDOyOJxQyDC1aPFMuRYLoDInyV9Ew==}
1906 cpu: [arm64]
1907 os: [linux]
1906 - libc: [glibc]
1908
1909 '@img/sharp-libvips-linux-arm@1.0.5':
1910 resolution: {integrity: sha512-gvcC4ACAOPRNATg/ov8/MnbxFDJqf/pDePbBnuBDcjsI8PssmjoKMAz4LtLaVi+OnSb5FK/yIOamqDwGmXW32g==}
1911 cpu: [arm]
1912 os: [linux]
1912 - libc: [glibc]
1913
1914 '@img/sharp-libvips-linux-arm@1.1.0':
1915 resolution: {integrity: sha512-s8BAd0lwUIvYCJyRdFqvsj+BJIpDBSxs6ivrOPm/R7piTs5UIwY5OjXrP2bqXC9/moGsyRa37eYWYCOGVXxVrA==}
1916 cpu: [arm]
1917 os: [linux]
1918 - libc: [glibc]
1918
1919 '@img/sharp-libvips-linux-ppc64@1.1.0':
1920 resolution: {integrity: sha512-tiXxFZFbhnkWE2LA8oQj7KYR+bWBkiV2nilRldT7bqoEZ4HiDOcePr9wVDAZPi/Id5fT1oY9iGnDq20cwUz8lQ==}
1921 cpu: [ppc64]
1922 os: [linux]
1924 - libc: [glibc]
1923
1924 '@img/sharp-libvips-linux-s390x@1.0.4':
1925 resolution: {integrity: sha512-u7Wz6ntiSSgGSGcjZ55im6uvTrOxSIS8/dgoVMoiGE9I6JAfU50yH5BoDlYA1tcuGS7g/QNtetJnxA6QEsCVTA==}
1926 cpu: [s390x]
1927 os: [linux]
1930 - libc: [glibc]
1928
1929 '@img/sharp-libvips-linux-s390x@1.1.0':
1930 resolution: {integrity: sha512-xukSwvhguw7COyzvmjydRb3x/09+21HykyapcZchiCUkTThEQEOMtBj9UhkaBRLuBrgLFzQ2wbxdeCCJW/jgJA==}
1931 cpu: [s390x]
1932 os: [linux]
1936 - libc: [glibc]
1933
1934 '@img/sharp-libvips-linux-x64@1.0.4':
1935 resolution: {integrity: sha512-MmWmQ3iPFZr0Iev+BAgVMb3ZyC4KeFc3jFxnNbEPas60e1cIfevbtuyf9nDGIzOaW9PdnDciJm+wFFaTlj5xYw==}
1936 cpu: [x64]
1937 os: [linux]
1942 - libc: [glibc]
1938
1939 '@img/sharp-libvips-linux-x64@1.1.0':
1940 resolution: {integrity: sha512-yRj2+reB8iMg9W5sULM3S74jVS7zqSzHG3Ol/twnAAkAhnGQnpjj6e4ayUz7V+FpKypwgs82xbRdYtchTTUB+Q==}
1941 cpu: [x64]
1942 os: [linux]
1948 - libc: [glibc]
1943
1944 '@img/sharp-libvips-linuxmusl-arm64@1.0.4':
1945 resolution: {integrity: sha512-9Ti+BbTYDcsbp4wfYib8Ctm1ilkugkA/uscUn6UXK1ldpC1JjiXbLfFZtRlBhjPZ5o1NCLiDbg8fhUPKStHoTA==}
1946 cpu: [arm64]
1947 os: [linux]
1954 - libc: [musl]
1948
1949 '@img/sharp-libvips-linuxmusl-arm64@1.1.0':
1950 resolution: {integrity: sha512-jYZdG+whg0MDK+q2COKbYidaqW/WTz0cc1E+tMAusiDygrM4ypmSCjOJPmFTvHHJ8j/6cAGyeDWZOsK06tP33w==}
1951 cpu: [arm64]
1952 os: [linux]
1960 - libc: [musl]
1953
1954 '@img/sharp-libvips-linuxmusl-x64@1.0.4':
1955 resolution: {integrity: sha512-viYN1KX9m+/hGkJtvYYp+CCLgnJXwiQB39damAO7WMdKWlIhmYTfHjwSbQeUK/20vY154mwezd9HflVFM1wVSw==}
1956 cpu: [x64]
1957 os: [linux]
1966 - libc: [musl]
1958
1959 '@img/sharp-libvips-linuxmusl-x64@1.1.0':
1960 resolution: {integrity: sha512-wK7SBdwrAiycjXdkPnGCPLjYb9lD4l6Ze2gSdAGVZrEL05AOUJESWU2lhlC+Ffn5/G+VKuSm6zzbQSzFX/P65A==}
1961 cpu: [x64]
1962 os: [linux]
1972 - libc: [musl]
1963
1964 '@img/sharp-linux-arm64@0.33.5':
1965 resolution: {integrity: sha512-JMVv+AMRyGOHtO1RFBiJy/MBsgz0x4AWrT6QoEVVTyh1E39TrCUpTRI7mx9VksGX4awWASxqCYLCV4wBZHAYxA==}
1966 engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
1967 cpu: [arm64]
1968 os: [linux]
1979 - libc: [glibc]
1969
1970 '@img/sharp-linux-arm64@0.34.2':
1971 resolution: {integrity: sha512-D8n8wgWmPDakc83LORcfJepdOSN6MvWNzzz2ux0MnIbOqdieRZwVYY32zxVx+IFUT8er5KPcyU3XXsn+GzG/0Q==}
1972 engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
1973 cpu: [arm64]
1974 os: [linux]
1986 - libc: [glibc]
1975
1976 '@img/sharp-linux-arm@0.33.5':
1977 resolution: {integrity: sha512-JTS1eldqZbJxjvKaAkxhZmBqPRGmxgu+qFKSInv8moZ2AmT5Yib3EQ1c6gp493HvrvV8QgdOXdyaIBrhvFhBMQ==}
1978 engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
1979 cpu: [arm]
1980 os: [linux]
1993 - libc: [glibc]
1981
1982 '@img/sharp-linux-arm@0.34.2':
1983 resolution: {integrity: sha512-0DZzkvuEOqQUP9mo2kjjKNok5AmnOr1jB2XYjkaoNRwpAYMDzRmAqUIa1nRi58S2WswqSfPOWLNOr0FDT3H5RQ==}
1984 engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
1985 cpu: [arm]
1986 os: [linux]
2000 - libc: [glibc]
1987
1988 '@img/sharp-linux-s390x@0.33.5':
1989 resolution: {integrity: sha512-y/5PCd+mP4CA/sPDKl2961b+C9d+vPAveS33s6Z3zfASk2j5upL6fXVPZi7ztePZ5CuH+1kW8JtvxgbuXHRa4Q==}
1990 engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
1991 cpu: [s390x]
1992 os: [linux]
2007 - libc: [glibc]
1993
1994 '@img/sharp-linux-s390x@0.34.2':
1995 resolution: {integrity: sha512-EGZ1xwhBI7dNISwxjChqBGELCWMGDvmxZXKjQRuqMrakhO8QoMgqCrdjnAqJq/CScxfRn+Bb7suXBElKQpPDiw==}
1996 engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
1997 cpu: [s390x]
1998 os: [linux]
2014 - libc: [glibc]
1999
2000 '@img/sharp-linux-x64@0.33.5':
2001 resolution: {integrity: sha512-opC+Ok5pRNAzuvq1AG0ar+1owsu842/Ab+4qvU879ippJBHvyY5n2mxF1izXqkPYlGuP/M556uh53jRLJmzTWA==}
2002 engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
2003 cpu: [x64]
2004 os: [linux]
2021 - libc: [glibc]
2005
2006 '@img/sharp-linux-x64@0.34.2':
2007 resolution: {integrity: sha512-sD7J+h5nFLMMmOXYH4DD9UtSNBD05tWSSdWAcEyzqW8Cn5UxXvsHAxmxSesYUsTOBmUnjtxghKDl15EvfqLFbQ==}
2008 engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
2009 cpu: [x64]
2010 os: [linux]
2028 - libc: [glibc]
2011
2012 '@img/sharp-linuxmusl-arm64@0.33.5':
2013 resolution: {integrity: sha512-XrHMZwGQGvJg2V/oRSUfSAfjfPxO+4DkiRh6p2AFjLQztWUuY/o8Mq0eMQVIY7HJ1CDQUJlxGGZRw1a5bqmd1g==}
2014 engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
2015 cpu: [arm64]
2016 os: [linux]
2035 - libc: [musl]
2017
2018 '@img/sharp-linuxmusl-arm64@0.34.2':
2019 resolution: {integrity: sha512-NEE2vQ6wcxYav1/A22OOxoSOGiKnNmDzCYFOZ949xFmrWZOVII1Bp3NqVVpvj+3UeHMFyN5eP/V5hzViQ5CZNA==}
2020 engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
2021 cpu: [arm64]
2022 os: [linux]
2042 - libc: [musl]
2023
2024 '@img/sharp-linuxmusl-x64@0.33.5':
2025 resolution: {integrity: sha512-WT+d/cgqKkkKySYmqoZ8y3pxx7lx9vVejxW/W4DOFMYVSkErR+w7mf2u8m/y4+xHe7yY9DAXQMWQhpnMuFfScw==}
2026 engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
2027 cpu: [x64]
2028 os: [linux]
2049 - libc: [musl]
2029
2030 '@img/sharp-linuxmusl-x64@0.34.2':
2031 resolution: {integrity: sha512-DOYMrDm5E6/8bm/yQLCWyuDJwUnlevR8xtF8bs+gjZ7cyUNYXiSf/E8Kp0Ss5xasIaXSHzb888V1BE4i1hFhAA==}
2032 engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
2033 cpu: [x64]
2034 os: [linux]
2056 - libc: [musl]
2035
2036 '@img/sharp-wasm32@0.33.5':
2037 resolution: {integrity: sha512-ykUW4LVGaMcU9lu9thv85CbRMAwfeadCJHRsg2GmeRa/cJxsVY9Rbd57JcMxBkKHag5U/x7TSBpScF4U8ElVzg==}
@@ -2408,28 +2386,24 @@ packages:
2386 engines: {node: '>= 10'}
2387 cpu: [arm64]
2388 os: [linux]
2411 - libc: [glibc]
2389
2390 '@next/swc-linux-arm64-musl@15.3.4':
2391 resolution: {integrity: sha512-wFyZ7X470YJQtpKot4xCY3gpdn8lE9nTlldG07/kJYexCUpX1piX+MBfZdvulo+t1yADFVEuzFfVHfklfEx8kw==}
2392 engines: {node: '>= 10'}
2393 cpu: [arm64]
2394 os: [linux]
2418 - libc: [musl]
2395
2396 '@next/swc-linux-x64-gnu@15.3.4':
2397 resolution: {integrity: sha512-gEbH9rv9o7I12qPyvZNVTyP/PWKqOp8clvnoYZQiX800KkqsaJZuOXkWgMa7ANCCh/oEN2ZQheh3yH8/kWPSEg==}
2398 engines: {node: '>= 10'}
2399 cpu: [x64]
2400 os: [linux]
2425 - libc: [glibc]
2401
2402 '@next/swc-linux-x64-musl@15.3.4':
2403 resolution: {integrity: sha512-Cf8sr0ufuC/nu/yQ76AnarbSAXcwG/wj+1xFPNbyNo8ltA6kw5d5YqO8kQuwVIxk13SBdtgXrNyom3ZosHAy4A==}
2404 engines: {node: '>= 10'}
2405 cpu: [x64]
2406 os: [linux]
2432 - libc: [musl]
2407
2408 '@next/swc-win32-arm64-msvc@15.3.4':
2409 resolution: {integrity: sha512-ay5+qADDN3rwRbRpEhTOreOn1OyJIXS60tg9WMYTWCy3fB6rGoyjLVxc4dR9PYjEdR2iDYsaF5h03NA+XuYPQQ==}
@@ -2993,42 +2967,36 @@ packages:
2967 engines: {node: '>= 10.0.0'}
2968 cpu: [arm]
2969 os: [linux]
2996 - libc: [glibc]
2970
2971 '@parcel/watcher-linux-arm-musl@2.5.1':
2972 resolution: {integrity: sha512-6E+m/Mm1t1yhB8X412stiKFG3XykmgdIOqhjWj+VL8oHkKABfu/gjFj8DvLrYVHSBNC+/u5PeNrujiSQ1zwd1Q==}
2973 engines: {node: '>= 10.0.0'}
2974 cpu: [arm]
2975 os: [linux]
3003 - libc: [musl]
2976
2977 '@parcel/watcher-linux-arm64-glibc@2.5.1':
2978 resolution: {integrity: sha512-LrGp+f02yU3BN9A+DGuY3v3bmnFUggAITBGriZHUREfNEzZh/GO06FF5u2kx8x+GBEUYfyTGamol4j3m9ANe8w==}
2979 engines: {node: '>= 10.0.0'}
2980 cpu: [arm64]
2981 os: [linux]
3010 - libc: [glibc]
2982
2983 '@parcel/watcher-linux-arm64-musl@2.5.1':
2984 resolution: {integrity: sha512-cFOjABi92pMYRXS7AcQv9/M1YuKRw8SZniCDw0ssQb/noPkRzA+HBDkwmyOJYp5wXcsTrhxO0zq1U11cK9jsFg==}
2985 engines: {node: '>= 10.0.0'}
2986 cpu: [arm64]
2987 os: [linux]
3017 - libc: [musl]
2988
2989 '@parcel/watcher-linux-x64-glibc@2.5.1':
2990 resolution: {integrity: sha512-GcESn8NZySmfwlTsIur+49yDqSny2IhPeZfXunQi48DMugKeZ7uy1FX83pO0X22sHntJ4Ub+9k34XQCX+oHt2A==}
2991 engines: {node: '>= 10.0.0'}
2992 cpu: [x64]
2993 os: [linux]
3024 - libc: [glibc]
2994
2995 '@parcel/watcher-linux-x64-musl@2.5.1':
2996 resolution: {integrity: sha512-n0E2EQbatQ3bXhcH2D1XIAANAcTZkQICBPVaxMeaCVBtOpBZpWJuf7LwyWPSBDITb7In8mqQgJ7gH8CILCURXg==}
2997 engines: {node: '>= 10.0.0'}
2998 cpu: [x64]
2999 os: [linux]
3031 - libc: [musl]
3000
3001 '@parcel/watcher-win32-arm64@2.5.1':
3002 resolution: {integrity: sha512-RFzklRvmc3PkjKjry3hLF9wD7ppR4AKcWNzH7kXR7GUe0Igb3Nz8fyPwtZCSquGrhU5HhUNDr/mKBqj7tqA2Vw==}
@@ -3142,67 +3110,56 @@ packages:
3110 resolution: {integrity: sha512-gTJ/JnnjCMc15uwB10TTATBEhK9meBIY+gXP4s0sHD1zHOaIh4Dmy1X9wup18IiY9tTNk5gJc4yx9ctj/fjrIw==}
3111 cpu: [arm]
3112 os: [linux]
3145 - libc: [glibc]
3113
3114 '@rollup/rollup-linux-arm-musleabihf@4.43.0':
3115 resolution: {integrity: sha512-ZJ3gZynL1LDSIvRfz0qXtTNs56n5DI2Mq+WACWZ7yGHFUEirHBRt7fyIk0NsCKhmRhn7WAcjgSkSVVxKlPNFFw==}
3116 cpu: [arm]
3117 os: [linux]
3151 - libc: [musl]
3118
3119 '@rollup/rollup-linux-arm64-gnu@4.43.0':
3120 resolution: {integrity: sha512-8FnkipasmOOSSlfucGYEu58U8cxEdhziKjPD2FIa0ONVMxvl/hmONtX/7y4vGjdUhjcTHlKlDhw3H9t98fPvyA==}
3121 cpu: [arm64]
3122 os: [linux]
3157 - libc: [glibc]
3123
3124 '@rollup/rollup-linux-arm64-musl@4.43.0':
3125 resolution: {integrity: sha512-KPPyAdlcIZ6S9C3S2cndXDkV0Bb1OSMsX0Eelr2Bay4EsF9yi9u9uzc9RniK3mcUGCLhWY9oLr6er80P5DE6XA==}
3126 cpu: [arm64]
3127 os: [linux]
3163 - libc: [musl]
3128
3129 '@rollup/rollup-linux-loongarch64-gnu@4.43.0':
3130 resolution: {integrity: sha512-HPGDIH0/ZzAZjvtlXj6g+KDQ9ZMHfSP553za7o2Odegb/BEfwJcR0Sw0RLNpQ9nC6Gy8s+3mSS9xjZ0n3rhcYg==}
3131 cpu: [loong64]
3132 os: [linux]
3169 - libc: [glibc]
3133
3134 '@rollup/rollup-linux-powerpc64le-gnu@4.43.0':
3135 resolution: {integrity: sha512-gEmwbOws4U4GLAJDhhtSPWPXUzDfMRedT3hFMyRAvM9Mrnj+dJIFIeL7otsv2WF3D7GrV0GIewW0y28dOYWkmw==}
3136 cpu: [ppc64]
3137 os: [linux]
3175 - libc: [glibc]
3138
3139 '@rollup/rollup-linux-riscv64-gnu@4.43.0':
3140 resolution: {integrity: sha512-XXKvo2e+wFtXZF/9xoWohHg+MuRnvO29TI5Hqe9xwN5uN8NKUYy7tXUG3EZAlfchufNCTHNGjEx7uN78KsBo0g==}
3141 cpu: [riscv64]
3142 os: [linux]
3181 - libc: [glibc]
3143
3144 '@rollup/rollup-linux-riscv64-musl@4.43.0':
3145 resolution: {integrity: sha512-ruf3hPWhjw6uDFsOAzmbNIvlXFXlBQ4nk57Sec8E8rUxs/AI4HD6xmiiasOOx/3QxS2f5eQMKTAwk7KHwpzr/Q==}
3146 cpu: [riscv64]
3147 os: [linux]
3187 - libc: [musl]
3148
3149 '@rollup/rollup-linux-s390x-gnu@4.43.0':
3150 resolution: {integrity: sha512-QmNIAqDiEMEvFV15rsSnjoSmO0+eJLoKRD9EAa9rrYNwO/XRCtOGM3A5A0X+wmG+XRrw9Fxdsw+LnyYiZWWcVw==}
3151 cpu: [s390x]
3152 os: [linux]
3193 - libc: [glibc]
3153
3154 '@rollup/rollup-linux-x64-gnu@4.43.0':
3155 resolution: {integrity: sha512-jAHr/S0iiBtFyzjhOkAics/2SrXE092qyqEg96e90L3t9Op8OTzS6+IX0Fy5wCt2+KqeHAkti+eitV0wvblEoQ==}
3156 cpu: [x64]
3157 os: [linux]
3199 - libc: [glibc]
3158
3159 '@rollup/rollup-linux-x64-musl@4.43.0':
3160 resolution: {integrity: sha512-3yATWgdeXyuHtBhrLt98w+5fKurdqvs8B53LaoKD7P7H7FKOONLsBVMNl9ghPQZQuYcceV5CDyPfyfGpMWD9mQ==}
3161 cpu: [x64]
3162 os: [linux]
3205 - libc: [musl]
3163
3164 '@rollup/rollup-win32-arm64-msvc@4.43.0':
3165 resolution: {integrity: sha512-wVzXp2qDSCOpcBCT5WRWLmpJRIzv23valvcTwMHEobkjippNf+C3ys/+wf07poPkeNix0paTNemB2XrHr2TnGw==}
@@ -3280,6 +3237,9 @@ packages:
3237 '@ts-morph/common@0.27.0':
3238 resolution: {integrity: sha512-Wf29UqxWDpc+i61k3oIOzcUfQt79PIT9y/MWfAGlrkjg6lBC1hwDECLXPVJAhWjiGbfBCxZd65F/LIZF3+jeJQ==}
3239
3240 + '@type-challenges/utils@0.1.1':
3241 + resolution: {integrity: sha512-A7ljYfBM+FLw+NDyuYvGBJiCEV9c0lPWEAdzfOAkb3JFqfLl0Iv/WhWMMARHiRKlmmiD1g8gz/507yVvHdQUYA==}
3242 +
3243 '@types/aws-lambda@8.10.150':
3244 resolution: {integrity: sha512-AX+AbjH/rH5ezX1fbK8onC/a+HyQHo7QGmvoxAE42n22OsciAxvZoZNEr22tbXs8WfP1nIsBjKDpgPm3HjOZbA==}
3245
@@ -6803,23 +6763,41 @@ snapshots:
6763 '@ai-sdk/provider-utils': 3.0.7(zod@3.25.76)
6764 zod: 3.25.76
6765
6766 + '@ai-sdk/gateway@1.0.15(zod@4.1.9)':
6767 + dependencies:
6768 + '@ai-sdk/provider': 2.0.0
6769 + '@ai-sdk/provider-utils': 3.0.7(zod@4.1.9)
6770 + zod: 4.1.9
6771 +
6772 '@ai-sdk/gateway@1.0.23(zod@3.25.76)':
6773 dependencies:
6774 '@ai-sdk/provider': 2.0.0
6775 '@ai-sdk/provider-utils': 3.0.9(zod@3.25.76)
6776 zod: 3.25.76
6777
6778 + '@ai-sdk/gateway@1.0.23(zod@4.1.9)':
6779 + dependencies:
6780 + '@ai-sdk/provider': 2.0.0
6781 + '@ai-sdk/provider-utils': 3.0.9(zod@4.1.9)
6782 + zod: 4.1.9
6783 +
6784 '@ai-sdk/openai@1.3.22(zod@3.25.76)':
6785 dependencies:
6786 '@ai-sdk/provider': 1.1.3
6787 '@ai-sdk/provider-utils': 2.2.8(zod@3.25.76)
6788 zod: 3.25.76
6789
6818 - '@ai-sdk/openai@2.0.16(zod@3.25.76)':
6790 + '@ai-sdk/openai@1.3.22(zod@4.1.9)':
6791 + dependencies:
6792 + '@ai-sdk/provider': 1.1.3
6793 + '@ai-sdk/provider-utils': 2.2.8(zod@4.1.9)
6794 + zod: 4.1.9
6795 +
6796 + '@ai-sdk/openai@2.0.16(zod@4.1.9)':
6797 dependencies:
6798 '@ai-sdk/provider': 2.0.0
6821 - '@ai-sdk/provider-utils': 3.0.4(zod@3.25.76)
6822 - zod: 3.25.76
6799 + '@ai-sdk/provider-utils': 3.0.4(zod@4.1.9)
6800 + zod: 4.1.9
6801
6802 '@ai-sdk/openai@2.0.35(zod@3.25.76)':
6803 dependencies:
@@ -6827,6 +6805,12 @@ snapshots:
6805 '@ai-sdk/provider-utils': 3.0.9(zod@3.25.76)
6806 zod: 3.25.76
6807
6808 + '@ai-sdk/openai@2.0.35(zod@4.1.9)':
6809 + dependencies:
6810 + '@ai-sdk/provider': 2.0.0
6811 + '@ai-sdk/provider-utils': 3.0.9(zod@4.1.9)
6812 + zod: 4.1.9
6813 +
6814 '@ai-sdk/provider-utils@2.2.8(zod@3.25.76)':
6815 dependencies:
6816 '@ai-sdk/provider': 1.1.3
@@ -6834,13 +6818,20 @@ snapshots:
6818 secure-json-parse: 2.7.0
6819 zod: 3.25.76
6820
6837 - '@ai-sdk/provider-utils@3.0.4(zod@3.25.76)':
6821 + '@ai-sdk/provider-utils@2.2.8(zod@4.1.9)':
6822 + dependencies:
6823 + '@ai-sdk/provider': 1.1.3
6824 + nanoid: 3.3.11
6825 + secure-json-parse: 2.7.0
6826 + zod: 4.1.9
6827 +
6828 + '@ai-sdk/provider-utils@3.0.4(zod@4.1.9)':
6829 dependencies:
6830 '@ai-sdk/provider': 2.0.0
6831 '@standard-schema/spec': 1.0.0
6832 eventsource-parser: 3.0.3
6842 - zod: 3.25.76
6843 - zod-to-json-schema: 3.24.6(zod@3.25.76)
6833 + zod: 4.1.9
6834 + zod-to-json-schema: 3.24.6(zod@4.1.9)
6835
6836 '@ai-sdk/provider-utils@3.0.5(zod@3.25.76)':
6837 dependencies:
@@ -6850,6 +6841,14 @@ snapshots:
6841 zod: 3.25.76
6842 zod-to-json-schema: 3.24.6(zod@3.25.76)
6843
6844 + '@ai-sdk/provider-utils@3.0.5(zod@4.1.9)':
6845 + dependencies:
6846 + '@ai-sdk/provider': 2.0.0
6847 + '@standard-schema/spec': 1.0.0
6848 + eventsource-parser: 3.0.6
6849 + zod: 4.1.9
6850 + zod-to-json-schema: 3.24.6(zod@4.1.9)
6851 +
6852 '@ai-sdk/provider-utils@3.0.7(zod@3.25.76)':
6853 dependencies:
6854 '@ai-sdk/provider': 2.0.0
@@ -6857,6 +6856,13 @@ snapshots:
6856 eventsource-parser: 3.0.6
6857 zod: 3.25.76
6858
6859 + '@ai-sdk/provider-utils@3.0.7(zod@4.1.9)':
6860 + dependencies:
6861 + '@ai-sdk/provider': 2.0.0
6862 + '@standard-schema/spec': 1.0.0
6863 + eventsource-parser: 3.0.6
6864 + zod: 4.1.9
6865 +
6866 '@ai-sdk/provider-utils@3.0.9(zod@3.25.76)':
6867 dependencies:
6868 '@ai-sdk/provider': 2.0.0
@@ -6864,6 +6870,13 @@ snapshots:
6870 eventsource-parser: 3.0.6
6871 zod: 3.25.76
6872
6873 + '@ai-sdk/provider-utils@3.0.9(zod@4.1.9)':
6874 + dependencies:
6875 + '@ai-sdk/provider': 2.0.0
6876 + '@standard-schema/spec': 1.0.0
6877 + eventsource-parser: 3.0.6
6878 + zod: 4.1.9
6879 +
6880 '@ai-sdk/provider@1.1.3':
6881 dependencies:
6882 json-schema: 0.4.0
@@ -6882,6 +6895,16 @@ snapshots:
6895 optionalDependencies:
6896 zod: 3.25.76
6897
6898 + '@ai-sdk/react@1.2.12(react@18.3.1)(zod@4.1.9)':
6899 + dependencies:
6900 + '@ai-sdk/provider-utils': 2.2.8(zod@4.1.9)
6901 + '@ai-sdk/ui-utils': 1.2.11(zod@4.1.9)
6902 + react: 18.3.1
6903 + swr: 2.3.3(react@18.3.1)
6904 + throttleit: 2.1.0
6905 + optionalDependencies:
6906 + zod: 4.1.9
6907 +
6908 '@ai-sdk/ui-utils@1.2.11(zod@3.25.76)':
6909 dependencies:
6910 '@ai-sdk/provider': 1.1.3
@@ -6889,6 +6912,13 @@ snapshots:
6912 zod: 3.25.76
6913 zod-to-json-schema: 3.24.6(zod@3.25.76)
6914
6915 + '@ai-sdk/ui-utils@1.2.11(zod@4.1.9)':
6916 + dependencies:
6917 + '@ai-sdk/provider': 1.1.3
6918 + '@ai-sdk/provider-utils': 2.2.8(zod@4.1.9)
6919 + zod: 4.1.9
6920 + zod-to-json-schema: 3.24.6(zod@4.1.9)
6921 +
6922 '@alloc/quick-lru@5.2.0': {}
6923
6924 '@anthropic-ai/sdk@0.52.0': {}
@@ -7096,7 +7126,7 @@ snapshots:
7126 optionalDependencies:
7127 workerd: 1.20250913.0
7128
7099 - '@cloudflare/vitest-pool-workers@0.9.2(@cloudflare/workers-types@4.20250917.0)(@vitest/runner@3.2.4)(@vitest/snapshot@3.2.4)(vitest@3.2.4)':
7129 + '@cloudflare/vitest-pool-workers@0.9.2(@cloudflare/workers-types@4.20250917.0)(@vitest/runner@3.2.4)(@vitest/snapshot@3.2.4)(vitest@3.2.4(@types/node@24.6.2)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1))':
7130 dependencies:
7131 '@vitest/runner': 3.2.4
7132 '@vitest/snapshot': 3.2.4
@@ -7250,7 +7280,7 @@ snapshots:
7280 dependencies:
7281 effect: 3.16.16
7282
7253 - '@effect/vitest@0.23.8(effect@3.16.16)(vitest@3.2.4)':
7283 + '@effect/vitest@0.23.8(effect@3.16.16)(vitest@3.2.4(@types/node@24.6.2)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1))':
7284 dependencies:
7285 effect: 3.16.16
7286 vitest: 3.2.4(@types/node@24.6.2)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
@@ -7845,14 +7875,14 @@ snapshots:
7875 transitivePeerDependencies:
7876 - openai
7877
7848 - '@langchain/core@0.3.63(openai@5.20.3(ws@8.18.2)(zod@3.25.76))':
7878 + '@langchain/core@0.3.63(openai@5.20.3(zod@3.25.76))':
7879 dependencies:
7880 '@cfworker/json-schema': 4.1.1
7881 ansi-styles: 5.2.0
7882 camelcase: 6.3.0
7883 decamelize: 1.2.0
7884 js-tiktoken: 1.0.20
7855 - langsmith: 0.3.33(openai@5.20.3(ws@8.18.2)(zod@3.25.76))
7885 + langsmith: 0.3.33(openai@5.20.3(zod@3.25.76))
7886 mustache: 4.2.0
7887 p-queue: 6.6.2
7888 p-retry: 4.6.2
@@ -7988,7 +8018,7 @@ snapshots:
8018 rxjs: 7.8.2
8019 zod: 3.25.76
8020
7991 - '@llamaindex/workflow-core@1.3.3(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(zod@3.25.76)':
8021 + '@llamaindex/workflow-core@1.3.3(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4)(rxjs@7.8.2)(zod@3.25.76)':
8022 optionalDependencies:
8023 '@modelcontextprotocol/sdk': 1.18.0
8024 hono: 4.9.7
@@ -7996,12 +8026,8 @@ snapshots:
8026 rxjs: 7.8.2
8027 zod: 3.25.76
8028
7999 - '@llamaindex/workflow-core@1.3.3(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(zod@4.1.9)':
8029 + '@llamaindex/workflow-core@1.3.3(zod@4.1.9)':
8030 optionalDependencies:
8001 - '@modelcontextprotocol/sdk': 1.18.0
8002 - hono: 4.9.7
8003 - next: 15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1)
8004 - rxjs: 7.8.2
8031 zod: 4.1.9
8032
8033 '@llamaindex/workflow@1.1.24(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(@modelcontextprotocol/sdk@1.18.0)(hono@4.8.0)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(zod@3.25.76)':
@@ -8017,11 +8043,11 @@ snapshots:
8043 - rxjs
8044 - zod
8045
8020 - '@llamaindex/workflow@1.1.24(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(zod@3.25.76)':
8046 + '@llamaindex/workflow@1.1.24(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4)(rxjs@7.8.2)(zod@3.25.76)':
8047 dependencies:
8048 '@llamaindex/core': 0.6.22
8049 '@llamaindex/env': 0.1.30
8024 - '@llamaindex/workflow-core': 1.3.3(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(zod@3.25.76)
8050 + '@llamaindex/workflow-core': 1.3.3(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4)(rxjs@7.8.2)(zod@3.25.76)
8051 transitivePeerDependencies:
8052 - '@modelcontextprotocol/sdk'
8053 - hono
@@ -8030,11 +8056,11 @@ snapshots:
8056 - rxjs
8057 - zod
8058
8033 - '@llamaindex/workflow@1.1.24(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(zod@4.1.9)':
8059 + '@llamaindex/workflow@1.1.24(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(zod@4.1.9)':
8060 dependencies:
8061 '@llamaindex/core': 0.6.22
8062 '@llamaindex/env': 0.1.30
8037 - '@llamaindex/workflow-core': 1.3.3(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(zod@4.1.9)
8063 + '@llamaindex/workflow-core': 1.3.3(zod@4.1.9)
8064 transitivePeerDependencies:
8065 - '@modelcontextprotocol/sdk'
8066 - hono
@@ -8116,6 +8142,63 @@ snapshots:
8142 - valibot
8143 - zod-openapi
8144
8145 + '@mastra/core@0.16.3(effect@3.16.16)(openapi-types@12.1.3)(react@18.3.1)(zod@4.1.9)':
8146 + dependencies:
8147 + '@a2a-js/sdk': 0.2.5
8148 + '@ai-sdk/provider': 1.1.3
8149 + '@ai-sdk/provider-utils': 2.2.8(zod@4.1.9)
8150 + '@ai-sdk/provider-utils-v5': '@ai-sdk/provider-utils@3.0.5(zod@4.1.9)'
8151 + '@ai-sdk/provider-v5': '@ai-sdk/provider@2.0.0'
8152 + '@ai-sdk/ui-utils': 1.2.11(zod@4.1.9)
8153 + '@mastra/schema-compat': 0.11.3(ai@4.3.19(react@18.3.1)(zod@4.1.9))(zod@4.1.9)
8154 + '@opentelemetry/api': 1.9.0
8155 + '@opentelemetry/auto-instrumentations-node': 0.62.1(@opentelemetry/api@1.9.0)(@opentelemetry/core@2.0.1(@opentelemetry/api@1.9.0))
8156 + '@opentelemetry/core': 2.0.1(@opentelemetry/api@1.9.0)
8157 + '@opentelemetry/exporter-trace-otlp-grpc': 0.203.0(@opentelemetry/api@1.9.0)
8158 + '@opentelemetry/exporter-trace-otlp-http': 0.203.0(@opentelemetry/api@1.9.0)
8159 + '@opentelemetry/otlp-exporter-base': 0.203.0(@opentelemetry/api@1.9.0)
8160 + '@opentelemetry/otlp-transformer': 0.203.0(@opentelemetry/api@1.9.0)
8161 + '@opentelemetry/resources': 2.0.1(@opentelemetry/api@1.9.0)
8162 + '@opentelemetry/sdk-metrics': 2.0.1(@opentelemetry/api@1.9.0)
8163 + '@opentelemetry/sdk-node': 0.203.0(@opentelemetry/api@1.9.0)
8164 + '@opentelemetry/sdk-trace-base': 2.0.1(@opentelemetry/api@1.9.0)
8165 + '@opentelemetry/sdk-trace-node': 2.0.1(@opentelemetry/api@1.9.0)
8166 + '@opentelemetry/semantic-conventions': 1.36.0
8167 + '@sindresorhus/slugify': 2.2.1
8168 + ai: 4.3.19(react@18.3.1)(zod@4.1.9)
8169 + ai-v5: ai@5.0.28(zod@4.1.9)
8170 + date-fns: 3.6.0
8171 + dotenv: 16.6.1
8172 + hono: 4.9.7
8173 + hono-openapi: 0.4.8(effect@3.16.16)(hono@4.9.7)(openapi-types@12.1.3)(zod@4.1.9)
8174 + js-tiktoken: 1.0.20
8175 + json-schema: 0.4.0
8176 + json-schema-to-zod: 2.6.1
8177 + p-map: 7.0.3
8178 + pino: 9.7.0
8179 + pino-pretty: 13.0.0
8180 + radash: 12.1.1
8181 + sift: 17.1.3
8182 + xstate: 5.20.2
8183 + zod: 4.1.9
8184 + zod-to-json-schema: 3.24.6(zod@4.1.9)
8185 + transitivePeerDependencies:
8186 + - '@hono/arktype-validator'
8187 + - '@hono/effect-validator'
8188 + - '@hono/typebox-validator'
8189 + - '@hono/valibot-validator'
8190 + - '@hono/zod-validator'
8191 + - '@sinclair/typebox'
8192 + - '@valibot/to-json-schema'
8193 + - arktype
8194 + - effect
8195 + - encoding
8196 + - openapi-types
8197 + - react
8198 + - supports-color
8199 + - valibot
8200 + - zod-openapi
8201 +
8202 '@mastra/mcp@0.12.0(@mastra/core@0.16.3(effect@3.16.16)(openapi-types@12.1.3)(react@18.3.1)(zod@3.25.76))(@types/json-schema@7.0.15)(zod@3.25.76)':
8203 dependencies:
8204 '@apidevtools/json-schema-ref-parser': 14.2.1(@types/json-schema@7.0.15)
@@ -8132,6 +8215,22 @@ snapshots:
8215 - '@types/json-schema'
8216 - supports-color
8217
8218 + '@mastra/mcp@0.12.0(@mastra/core@0.16.3(effect@3.16.16)(openapi-types@12.1.3)(react@18.3.1)(zod@4.1.9))(@types/json-schema@7.0.15)(zod@4.1.9)':
8219 + dependencies:
8220 + '@apidevtools/json-schema-ref-parser': 14.2.1(@types/json-schema@7.0.15)
8221 + '@mastra/core': 0.16.3(effect@3.16.16)(openapi-types@12.1.3)(react@18.3.1)(zod@4.1.9)
8222 + '@modelcontextprotocol/sdk': 1.18.0
8223 + date-fns: 4.1.0
8224 + exit-hook: 4.0.0
8225 + fast-deep-equal: 3.1.3
8226 + uuid: 11.1.0
8227 + zod: 4.1.9
8228 + zod-from-json-schema: 0.5.0
8229 + zod-from-json-schema-v3: zod-from-json-schema@0.0.5
8230 + transitivePeerDependencies:
8231 + - '@types/json-schema'
8232 + - supports-color
8233 +
8234 '@mastra/schema-compat@0.11.3(ai@4.3.19(react@18.3.1)(zod@3.25.76))(zod@3.25.76)':
8235 dependencies:
8236 ai: 4.3.19(react@18.3.1)(zod@3.25.76)
@@ -8141,6 +8240,15 @@ snapshots:
8240 zod-from-json-schema-v3: zod-from-json-schema@0.0.5
8241 zod-to-json-schema: 3.24.6(zod@3.25.76)
8242
8243 + '@mastra/schema-compat@0.11.3(ai@4.3.19(react@18.3.1)(zod@4.1.9))(zod@4.1.9)':
8244 + dependencies:
8245 + ai: 4.3.19(react@18.3.1)(zod@4.1.9)
8246 + json-schema: 0.4.0
8247 + zod: 4.1.9
8248 + zod-from-json-schema: 0.5.0
8249 + zod-from-json-schema-v3: zod-from-json-schema@0.0.5
8250 + zod-to-json-schema: 3.24.6(zod@4.1.9)
8251 +
8252 '@modelcontextprotocol/sdk@1.18.0':
8253 dependencies:
8254 ajv: 6.12.6
@@ -9239,6 +9347,8 @@ snapshots:
9347 minimatch: 10.0.3
9348 path-browserify: 1.0.1
9349
9350 + '@type-challenges/utils@0.1.1': {}
9351 +
9352 '@types/aws-lambda@8.10.150': {}
9353
9354 '@types/babel__helper-validator-identifier@7.15.2': {}
@@ -9581,7 +9691,7 @@ snapshots:
9691 sirv: 3.0.1
9692 tinyglobby: 0.2.14
9693 tinyrainbow: 2.0.0
9584 - vitest: 3.2.4(@types/node@20.19.1)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.0)
9694 + vitest: 3.2.4(@types/node@24.6.2)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
9695
9696 '@vitest/utils@3.2.4':
9697 dependencies:
@@ -9635,6 +9745,18 @@ snapshots:
9745 optionalDependencies:
9746 react: 18.3.1
9747
9748 + ai@4.3.19(react@18.3.1)(zod@4.1.9):
9749 + dependencies:
9750 + '@ai-sdk/provider': 1.1.3
9751 + '@ai-sdk/provider-utils': 2.2.8(zod@4.1.9)
9752 + '@ai-sdk/react': 1.2.12(react@18.3.1)(zod@4.1.9)
9753 + '@ai-sdk/ui-utils': 1.2.11(zod@4.1.9)
9754 + '@opentelemetry/api': 1.9.0
9755 + jsondiffpatch: 0.6.0
9756 + zod: 4.1.9
9757 + optionalDependencies:
9758 + react: 18.3.1
9759 +
9760 ai@5.0.28(zod@3.25.76):
9761 dependencies:
9762 '@ai-sdk/gateway': 1.0.15(zod@3.25.76)
@@ -9643,6 +9765,14 @@ snapshots:
9765 '@opentelemetry/api': 1.9.0
9766 zod: 3.25.76
9767
9768 + ai@5.0.28(zod@4.1.9):
9769 + dependencies:
9770 + '@ai-sdk/gateway': 1.0.15(zod@4.1.9)
9771 + '@ai-sdk/provider': 2.0.0
9772 + '@ai-sdk/provider-utils': 3.0.7(zod@4.1.9)
9773 + '@opentelemetry/api': 1.9.0
9774 + zod: 4.1.9
9775 +
9776 ai@5.0.44(zod@3.25.76):
9777 dependencies:
9778 '@ai-sdk/gateway': 1.0.23(zod@3.25.76)
@@ -9651,6 +9781,14 @@ snapshots:
9781 '@opentelemetry/api': 1.9.0
9782 zod: 3.25.76
9783
9784 + ai@5.0.44(zod@4.1.9):
9785 + dependencies:
9786 + '@ai-sdk/gateway': 1.0.23(zod@4.1.9)
9787 + '@ai-sdk/provider': 2.0.0
9788 + '@ai-sdk/provider-utils': 3.0.9(zod@4.1.9)
9789 + '@opentelemetry/api': 1.9.0
9790 + zod: 4.1.9
9791 +
9792 ajv@6.12.6:
9793 dependencies:
9794 fast-deep-equal: 3.1.3
@@ -10799,6 +10937,15 @@ snapshots:
10937 hono: 4.9.7
10938 zod: 3.25.76
10939
10940 + hono-openapi@0.4.8(effect@3.16.16)(hono@4.9.7)(openapi-types@12.1.3)(zod@4.1.9):
10941 + dependencies:
10942 + json-schema-walker: 2.0.0
10943 + openapi-types: 12.1.3
10944 + optionalDependencies:
10945 + effect: 3.16.16
10946 + hono: 4.9.7
10947 + zod: 4.1.9
10948 +
10949 hono@4.8.0: {}
10950
10951 hono@4.9.7: {}
@@ -11086,7 +11233,7 @@ snapshots:
11233 optionalDependencies:
11234 openai: 4.104.0(ws@8.18.2)(zod@3.25.76)
11235
11089 - langsmith@0.3.33(openai@5.20.3(ws@8.18.2)(zod@3.25.76)):
11236 + langsmith@0.3.33(openai@5.20.3(zod@3.25.76)):
11237 dependencies:
11238 '@types/uuid': 10.0.0
11239 chalk: 4.1.2
@@ -11152,12 +11299,12 @@ snapshots:
11299 rfdc: 1.4.1
11300 wrap-ansi: 9.0.0
11301
11155 - llamaindex@0.12.0(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)(zod@3.25.76):
11302 + llamaindex@0.12.0(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4)(rxjs@7.8.2)(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)(zod@3.25.76):
11303 dependencies:
11304 '@llamaindex/core': 0.6.22
11305 '@llamaindex/env': 0.1.30
11306 '@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)
11160 - '@llamaindex/workflow': 1.1.24(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(zod@3.25.76)
11307 + '@llamaindex/workflow': 1.1.24(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4)(rxjs@7.8.2)(zod@3.25.76)
11308 '@types/lodash': 4.17.20
11309 '@types/node': 24.6.2
11310 lodash: 4.17.21
@@ -11174,12 +11321,12 @@ snapshots:
11321 - web-tree-sitter
11322 - zod
11323
11177 - llamaindex@0.12.0(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)(zod@4.1.9):
11324 + llamaindex@0.12.0(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)(zod@4.1.9):
11325 dependencies:
11326 '@llamaindex/core': 0.6.22
11327 '@llamaindex/env': 0.1.30
11328 '@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)
11182 - '@llamaindex/workflow': 1.1.24(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(zod@4.1.9)
11329 + '@llamaindex/workflow': 1.1.24(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(zod@4.1.9)
11330 '@types/lodash': 4.17.20
11331 '@types/node': 24.6.2
11332 lodash: 4.17.21
@@ -11516,10 +11663,10 @@ snapshots:
11663 ws: 8.18.2
11664 zod: 3.25.76
11665
11519 - openai@5.19.1(ws@8.18.2)(zod@3.25.76):
11666 + openai@5.19.1(ws@8.18.2)(zod@4.1.9):
11667 optionalDependencies:
11668 ws: 8.18.2
11522 - zod: 3.25.76
11669 + zod: 4.1.9
11670
11671 openai@5.20.3(ws@8.18.2)(zod@3.25.76):
11672 optionalDependencies:
@@ -13130,10 +13277,18 @@ snapshots:
13277 dependencies:
13278 zod: 3.25.76
13279
13280 + zod-to-json-schema@3.24.5(zod@4.1.9):
13281 + dependencies:
13282 + zod: 4.1.9
13283 +
13284 zod-to-json-schema@3.24.6(zod@3.25.76):
13285 dependencies:
13286 zod: 3.25.76
13287
13288 + zod-to-json-schema@3.24.6(zod@4.1.9):
13289 + dependencies:
13290 + zod: 4.1.9
13291 +
13292 zod@3.22.3: {}
13293
13294 zod@3.25.32: {}
ts/packages/core/package.json
+2 -1
@@ -29,13 +29,14 @@
29 "clean": "git clean -xdf node_modules",
30 "build": "tsup",
31 "test": "vitest run",
32 - "typecheck": "tsc --noEmit --skipLibCheck"
32 + "typecheck": "tsc --noEmit --skipLibCheck && tsc --noEmit --skipLibCheck -p tsconfig.type-tests.json"
33 },
34 "keywords": [],
35 "author": "",
36 "license": "ISC",
37 "packageManager": "pnpm@10.17.0",
38 "devDependencies": {
39 + "@type-challenges/utils": "^0.1.1",
40 "@types/semver": "^7.7.0",
41 "tsup": "catalog:",
42 "tsx": "catalog:",
ts/packages/core/src/index.ts
+2
@@ -4,6 +4,7 @@ export { OpenAIProvider } from './provider/OpenAIProvider';
4 export { ComposioProvider } from './provider/ComposioProvider';
5 export { BaseNonAgenticProvider, BaseAgenticProvider } from './provider/BaseProvider';
6 export type { BaseComposioProvider } from './provider/BaseProvider';
7 +export { ToolRouter } from './models/ToolRouter.experimental';
8 export { jsonSchemaToZodSchema, removeNonRequiredProperties } from './utils/jsonSchema';
9 export { AuthScheme } from './models/AuthScheme';
10 export { MCP } from './models/MCP';
@@ -20,6 +21,7 @@ export * from './types/triggers.types';
21 export * from './types/mcp.types';
22 export * from './types/files.types';
23 export * from './types/connectionRequest.types';
24 +export * from './types/toolRouter.types';
25 export * as constants from './utils/constants';
26
27 export { default as logger } from './utils/logger';
ts/packages/core/tsconfig.type-tests.json new
+8
@@ -0,0 +1,8 @@
1 +{
2 + "extends": "./tsconfig.json",
3 + "compilerOptions": {
4 + "noEmit": true,
5 + "rootDir": "."
6 + },
7 + "include": ["src/**/*.ts", "type-tests/**/*.ts", "type-tests/**/*.d.ts", "package.json"]
8 +}
ts/packages/core/type-tests/tool-router.type-test.ts new
+39
@@ -0,0 +1,39 @@
1 +import type { Equal, Expect } from '@type-challenges/utils';
2 +import type { Composio, ToolRouterConfig, ToolRouterSession } from '../src';
3 +
4 +type ToolRouterModel = Composio['experimental']['toolRouter'];
5 +
6 +type SessionResult = Awaited<ReturnType<ToolRouterModel['createSession']>>;
7 +type SessionParams = Parameters<ToolRouterModel['createSession']>;
8 +
9 +type IsAny<T> = 0 extends 1 & T ? true : false;
10 +
11 +type _Param0Type = Expect<Equal<SessionParams[0], string>>;
12 +type _Param1Type = Expect<Equal<SessionParams[1], ToolRouterConfig | undefined>>;
13 +
14 +// Ensure the promise resolves to the public schema type and isn't `any`.
15 +type _SessionMatchesSchema = Expect<Equal<SessionResult, ToolRouterSession>>;
16 +type _SessionIsNotAny = Expect<Equal<IsAny<SessionResult>, false>>;
17 +
18 +// Ensure the optional config parameter is typed correctly and not `any`.
19 +type _ConfigIsNotAny = Expect<Equal<IsAny<SessionParams[1]>, false>>;
20 +
21 +type ToolkitArray = ToolRouterConfig['toolkits'];
22 +type ToolkitEntry = NonNullable<ToolkitArray>[number];
23 +
24 +type _ToolkitArrayShape = Expect<
25 + Equal<
26 + ToolkitArray,
27 + Array<string | { toolkit: string; authConfigId?: string | undefined }> | undefined
28 + >
29 +>;
30 +
31 +type _ToolkitEntryShape = Expect<
32 + Equal<ToolkitEntry, string | { toolkit: string; authConfigId?: string | undefined }>
33 +>;
34 +
35 +// Flag also stays optional boolean
36 +
37 +type _ManualFlagOptional = Expect<
38 + Equal<ToolRouterConfig['manuallyManageConnections'], boolean | undefined>
39 +>;