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

feat(ts): add support for Mastra v1

jkomyno committed Jan 22, 2026 at 03:35 UTC 66a2087c6e5c7c24b0f4282af98b63c4d360f046
5 files changed +299 -385
pnpm-lock.yaml
+246 -348
@@ -18,6 +18,9 @@ catalogs:
18 '@composio/client':
19 specifier: 0.1.0-alpha.56
20 version: 0.1.0-alpha.56
21 + '@mastra/core':
22 + specifier: ^1.0.4
23 + version: 1.0.4
24 '@modelcontextprotocol/sdk':
25 specifier: ^1.25.2
26 version: 1.25.3
@@ -456,7 +459,7 @@ importers:
459 version: link:../../packages/core
460 '@mastra/mcp':
461 specifier: ^0.14.4
459 - version: 0.14.5(@cfworker/json-schema@4.1.1)(@mastra/core@0.24.9(effect@3.19.15)(openapi-types@12.1.3)(react@18.3.1)(zod@3.25.76))(@types/json-schema@7.0.15)(zod@3.25.76)
462 + version: 0.14.5(@cfworker/json-schema@4.1.1)(@mastra/core@1.0.4(@cfworker/json-schema@4.1.1)(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@3.25.76))(zod@3.25.76))(@standard-community/standard-openapi@0.2.9(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@3.25.76))(zod@3.25.76))(@standard-schema/spec@1.1.0)(effect@3.19.15)(openapi-types@12.1.3)(zod@3.25.76))(@types/json-schema@7.0.15)(openapi-types@12.1.3)(zod@3.25.76))(@types/json-schema@7.0.15)(hono@4.11.5)(zod@3.25.76)
463 dotenv:
464 specifier: ^16.4.1
465 version: 16.6.1
@@ -1185,7 +1188,7 @@ importers:
1188 version: 0.52.0
1189 '@mastra/mcp':
1190 specifier: ^0.12.0
1188 - version: 0.12.0(@cfworker/json-schema@4.1.1)(@mastra/core@0.24.9(effect@3.19.15)(openapi-types@12.1.3)(react@18.3.1)(zod@4.3.6))(@types/json-schema@7.0.15)(hono@4.11.5)(zod@4.3.6)
1191 + version: 0.12.0(@cfworker/json-schema@4.1.1)(@mastra/core@1.0.4(@cfworker/json-schema@4.1.1)(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@4.3.6))(zod@4.3.6))(@standard-community/standard-openapi@0.2.9(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@4.3.6))(zod@4.3.6))(@standard-schema/spec@1.1.0)(effect@3.19.15)(openapi-types@12.1.3)(zod@4.3.6))(@types/json-schema@7.0.15)(openapi-types@12.1.3)(zod@4.3.6))(@types/json-schema@7.0.15)(hono@4.11.5)(zod@4.3.6)
1192 devDependencies:
1193 '@composio/core':
1194 specifier: workspace:*
@@ -1296,16 +1299,16 @@ importers:
1299
1300 ts/packages/providers/mastra:
1301 dependencies:
1299 - '@mastra/core':
1300 - specifier: ^0.21.1
1301 - version: 0.21.1(effect@3.19.15)(openapi-types@12.1.3)(react@18.3.1)(zod@4.3.6)
1302 - '@mastra/mcp':
1303 - specifier: ^0.12.0
1304 - version: 0.12.0(@cfworker/json-schema@4.1.1)(@mastra/core@0.21.1(effect@3.19.15)(openapi-types@12.1.3)(react@18.3.1)(zod@4.3.6))(@types/json-schema@7.0.15)(hono@4.11.5)(zod@4.3.6)
1302 + '@mastra/schema-compat':
1303 + specifier: ^1.0.0
1304 + version: 1.0.0(zod@4.3.6)
1305 devDependencies:
1306 '@composio/core':
1307 specifier: workspace:*
1308 version: link:../../core
1309 + '@mastra/core':
1310 + specifier: 'catalog:'
1311 + version: 1.0.4(@cfworker/json-schema@4.1.1)(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@4.3.6))(zod@4.3.6))(@standard-community/standard-openapi@0.2.9(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@4.3.6))(zod@4.3.6))(@standard-schema/spec@1.1.0)(effect@3.19.15)(openapi-types@12.1.3)(zod@4.3.6))(@types/json-schema@7.0.15)(openapi-types@12.1.3)(zod@4.3.6)
1312 tsdown:
1313 specifier: 'catalog:'
1314 version: 0.18.4(@arethetypeswrong/core@0.18.2)(publint@0.3.17)(typescript@5.9.3)
@@ -1411,24 +1414,12 @@ packages:
1414 peerDependencies:
1415 zod: ^3.0.0
1416
1414 - '@ai-sdk/anthropic@2.0.23':
1415 - resolution: {integrity: sha512-ZEBiiv1UhjGjBwUU63pFhLK5LCSlNDb1idY9K1oZHm5/Fda1cuTojf32tOp0opH0RPbPAN/F8fyyNjbU33n9Kw==}
1416 - engines: {node: '>=18'}
1417 - peerDependencies:
1418 - zod: ^3.25.76 || ^4.1.8
1419 -
1417 '@ai-sdk/anthropic@2.0.33':
1418 resolution: {integrity: sha512-egqr9PHqqX2Am5mn/Xs1C3+1/wphVKiAjpsVpW85eLc2WpW7AgiAg52DCBr4By9bw3UVVuMeR4uEO1X0dKDUDA==}
1419 engines: {node: '>=18'}
1420 peerDependencies:
1421 zod: ^3.25.76 || ^4.1.8
1422
1426 - '@ai-sdk/gateway@1.0.33':
1427 - resolution: {integrity: sha512-v9i3GPEo4t3fGcSkQkc07xM6KJN75VUv7C1Mqmmsu2xD8lQwnQfsrgAXyNuWe20yGY0eHuheSPDZhiqsGKtH1g==}
1428 - engines: {node: '>=18'}
1429 - peerDependencies:
1430 - zod: ^3.25.76 || ^4.1.8
1431 -
1423 '@ai-sdk/gateway@2.0.12':
1424 resolution: {integrity: sha512-W+cB1sOWvPcz9qiIsNtD+HxUrBUva2vWv2K1EFukuImX+HA0uZx3EyyOjhYQ9gtf/teqEG80M6OvJ7xx/VLV2A==}
1425 engines: {node: '>=18'}
@@ -1441,12 +1432,6 @@ packages:
1432 peerDependencies:
1433 zod: ^3.25.76 || ^4.1.8
1434
1444 - '@ai-sdk/google@2.0.17':
1445 - resolution: {integrity: sha512-6LyuUrCZuiULg0rUV+kT4T2jG19oUntudorI4ttv1ARkSbwl8A39ue3rA487aDDy6fUScdbGFiV5Yv/o4gidVA==}
1446 - engines: {node: '>=18'}
1447 - peerDependencies:
1448 - zod: ^3.25.76 || ^4.1.8
1449 -
1435 '@ai-sdk/google@2.0.40':
1436 resolution: {integrity: sha512-E7MTVE6vhWXQJzXQDvojwA9t5xlhWpxttCH3R/kUyiE6y0tT8Ay2dmZLO+bLpFBQ5qrvBMrjKWpDVQMoo6TJZg==}
1437 engines: {node: '>=18'}
@@ -1471,12 +1456,6 @@ packages:
1456 peerDependencies:
1457 zod: ^3.25.76 || ^4.1.8
1458
1474 - '@ai-sdk/openai-compatible@1.0.19':
1475 - resolution: {integrity: sha512-hnsqPCCSNKgpZRNDOAIXZs7OcUDM4ut5ggWxj2sjB4tNL/aBn/xrM7pJkqu+WuPowyrE60wPVSlw0LvtXAlMXQ==}
1476 - engines: {node: '>=18'}
1477 - peerDependencies:
1478 - zod: ^3.25.76 || ^4.1.8
1479 -
1459 '@ai-sdk/openai-compatible@1.0.22':
1460 resolution: {integrity: sha512-Q+lwBIeMprc/iM+vg1yGjvzRrp74l316wDpqWdbmd4VXXlllblzGsUgBLTeKvcEapFTgqk0FRETvSb58Y6dsfA==}
1461 engines: {node: '>=18'}
@@ -1489,12 +1468,6 @@ packages:
1468 peerDependencies:
1469 zod: ^3.0.0
1470
1492 - '@ai-sdk/openai@2.0.42':
1493 - resolution: {integrity: sha512-9mM6QS8k0ooH9qMC27nlrYLQmNDnO6Rk0JTmFo/yUxpABEWOcvQhMWNHbp9lFL6Ty5vkdINrujhsAQfWuEleOg==}
1494 - engines: {node: '>=18'}
1495 - peerDependencies:
1496 - zod: ^3.25.76 || ^4.1.8
1497 -
1471 '@ai-sdk/openai@2.0.53':
1472 resolution: {integrity: sha512-GIkR3+Fyif516ftXv+YPSPstnAHhcZxNoR2s8uSHhQ1yBT7I7aQYTVwpjAuYoT3GR+TeP50q7onj2/nDRbT2FQ==}
1473 engines: {node: '>=18'}
@@ -1519,12 +1492,6 @@ packages:
1492 peerDependencies:
1493 zod: ^3.23.8
1494
1522 - '@ai-sdk/provider-utils@3.0.10':
1523 - resolution: {integrity: sha512-T1gZ76gEIwffep6MWI0QNy9jgoybUHE7TRaHB5k54K8mF91ciGFlbtCGxDYhMH3nCRergKwYFIDeFF0hJSIQHQ==}
1524 - engines: {node: '>=18'}
1525 - peerDependencies:
1526 - zod: ^3.25.76 || ^4.1.8
1527 -
1495 '@ai-sdk/provider-utils@3.0.12':
1496 resolution: {integrity: sha512-ZtbdvYxdMoria+2SlNarEk6Hlgyf+zzcznlD55EAl+7VZvJaSg2sqPvwArY7L6TfDEDJsnCq0fdhBSkYo0Xqdg==}
1497 engines: {node: '>=18'}
@@ -1555,6 +1522,12 @@ packages:
1522 peerDependencies:
1523 zod: ^3.25.76 || ^4.1.8
1524
1525 + '@ai-sdk/provider-utils@4.0.0':
1526 + resolution: {integrity: sha512-HyCyOls9I3a3e38+gtvOJOEjuw9KRcvbBnCL5GBuSmJvS9Jh9v3fz7pRC6ha1EUo/ZH1zwvLWYXBMtic8MTguA==}
1527 + engines: {node: '>=18'}
1528 + peerDependencies:
1529 + zod: ^3.25.76 || ^4.1.8
1530 +
1531 '@ai-sdk/provider-utils@4.0.9':
1532 resolution: {integrity: sha512-bB4r6nfhBOpmoS9mePxjRoCy+LnzP3AfhyMGCkGL4Mn9clVNlqEeKj26zEKEtB6yoSVcT1IQ0Zh9fytwMCDnow==}
1533 engines: {node: '>=18'}
@@ -1573,6 +1546,10 @@ packages:
1546 resolution: {integrity: sha512-KCUwswvsC5VsW2PWFqF8eJgSCu5Ysj7m1TxiHTVA6g7k360bk0RNQENT8KTMAYEs+8fWPD3Uu4dEmzGHc+jGng==}
1547 engines: {node: '>=18'}
1548
1549 + '@ai-sdk/provider@3.0.0':
1550 + resolution: {integrity: sha512-m9ka3ptkPQbaHHZHqDXDF9C9B5/Mav0KTdky1k2HZ3/nrW2t1AgObxIVPyGDWQNS9FXT/FS6PIoSjpcP/No8rQ==}
1551 + engines: {node: '>=18'}
1552 +
1553 '@ai-sdk/provider@3.0.5':
1554 resolution: {integrity: sha512-2Xmoq6DBJqmSl80U6V9z5jJSJP7ehaJJQMy2iFUqTay06wdCqTnPVBBQbtEL8RCChenL+q5DC5H5WzU3vV3v8w==}
1555 engines: {node: '>=18'}
@@ -1593,12 +1570,6 @@ packages:
1570 peerDependencies:
1571 zod: ^3.23.8
1572
1596 - '@ai-sdk/xai@2.0.23':
1597 - resolution: {integrity: sha512-Xo4r5W/Wvi4mkCD98DoafNxj9V3xysUlWOeqAYpqKeKkNQ2xtOTly2MHq+gP6wKud0Y/mI7hemkCMQgH6HOwzQ==}
1598 - engines: {node: '>=18'}
1599 - peerDependencies:
1600 - zod: ^3.25.76 || ^4.1.8
1601 -
1573 '@ai-sdk/xai@2.0.26':
1574 resolution: {integrity: sha512-+VtaLZSxmoKnNeJGM9bbtbZ3QMkPFlBB4N8prngbrSnvU/hG8cNdvvSBW/rIk6/DHrc2R8nFntNIBQoIRuBdQw==}
1575 engines: {node: '>=18'}
@@ -3068,21 +3039,29 @@ packages:
3039 '@loaderkit/resolve@1.0.4':
3040 resolution: {integrity: sha512-rJzYKVcV4dxJv+vW6jlvagF8zvGxHJ2+HTr1e2qOejfmGhAApgJHl8Aog4mMszxceTRiKTTbnpgmTO1bEZHV/A==}
3041
3042 + '@lukeed/csprng@1.1.0':
3043 + resolution: {integrity: sha512-Z7C/xXCiGWsg0KuKsHTKJxbWhpI3Vs5GwLfOean7MGyVFGqdRgBbAjOCh6u4bbjPc/8MJ2pZmK/0DLdCbivLDA==}
3044 + engines: {node: '>=8'}
3045 +
3046 + '@lukeed/uuid@2.0.1':
3047 + resolution: {integrity: sha512-qC72D4+CDdjGqJvkFMMEAtancHUQ7/d/tAiHf64z8MopFDmcrtbcJuerDtFceuAfQJ2pDSfCKCtbqoGBNnwg0w==}
3048 + engines: {node: '>=8'}
3049 +
3050 '@manypkg/find-root@1.1.0':
3051 resolution: {integrity: sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==}
3052
3053 '@manypkg/get-packages@1.1.3':
3054 resolution: {integrity: sha512-fo+QhuU3qE/2TQMQmbVMqaQ6EWbMhi4ABWP+O4AM1NqPBuy0OrApV5LO6BrrgnhtAHS2NH6RrVk9OL181tTi8A==}
3055
3077 - '@mastra/core@0.21.1':
3078 - resolution: {integrity: sha512-lyASrQCLiW+tleVRL16pBN5YfBg14IBEXYl2uGmrOsJ0QiPX/pHzcmYe0n7Oh48dYzu9YB/MgbQuY5PLzks8uQ==}
3056 + '@mastra/core@0.24.9':
3057 + resolution: {integrity: sha512-EjAPnX6pq7Y+7YN/kO92HIHqfk9Z/jtggE4Ww6wiL2Gvr01eFoNZSmsrIT4vTQAdD4oM41R2x1ndgtKFAJRH0w==}
3058 engines: {node: '>=20'}
3059 peerDependencies:
3060 zod: ^3.25.0 || ^4.0.0
3061
3083 - '@mastra/core@0.24.9':
3084 - resolution: {integrity: sha512-EjAPnX6pq7Y+7YN/kO92HIHqfk9Z/jtggE4Ww6wiL2Gvr01eFoNZSmsrIT4vTQAdD4oM41R2x1ndgtKFAJRH0w==}
3085 - engines: {node: '>=20'}
3062 + '@mastra/core@1.0.4':
3063 + resolution: {integrity: sha512-kBSlYoUD3zjwvVMxFVneNHe0+cLKvXs1rZTGeRUHQdwVYo7guMXFu/qnsxizSGd+eNz976Ph81LixmqK2Ca7dA==}
3064 + engines: {node: '>=22.13.0'}
3065 peerDependencies:
3066 zod: ^3.25.0 || ^4.0.0
3067
@@ -3098,16 +3077,16 @@ packages:
3077 '@mastra/core': '>=0.20.1-0 <0.25.0-0'
3078 zod: ^3.25.0 || ^4.0.0
3079
3101 - '@mastra/schema-compat@0.11.4':
3102 - resolution: {integrity: sha512-oh3+enP3oYftZlmJAKQQj5VXR86KgTMwfMnwALZyLk04dPSWfVD2wGytoDg5Qbi3rX9qHj6g0rMNa0CUjR6aTg==}
3080 + '@mastra/schema-compat@0.11.9':
3081 + resolution: {integrity: sha512-LXEChx5n3bcuSFWQ5Wn9K2spLEpzHGf+DCnAeryuecpOo8VGLJ2QCK9Ugsnfjuc6hC0Ha73HvL1AD8zDhjmYOg==}
3082 peerDependencies:
3083 ai: ^4.0.0 || ^5.0.0
3084 zod: ^3.25.0 || ^4.0.0
3085
3107 - '@mastra/schema-compat@0.11.9':
3108 - resolution: {integrity: sha512-LXEChx5n3bcuSFWQ5Wn9K2spLEpzHGf+DCnAeryuecpOo8VGLJ2QCK9Ugsnfjuc6hC0Ha73HvL1AD8zDhjmYOg==}
3086 + '@mastra/schema-compat@1.0.0':
3087 + resolution: {integrity: sha512-jR5QsibhCO3lh2Vv3hNifd5XaKFnOV7ecduZyNxNg21Fw1+59ozpHkNtUAmDQW88uwvx/qHu1dKN/XtOhwWeyw==}
3088 + engines: {node: '>=22.13.0'}
3089 peerDependencies:
3110 - ai: ^4.0.0 || ^5.0.0
3090 zod: ^3.25.0 || ^4.0.0
3091
3092 '@modelcontextprotocol/sdk@1.25.3':
@@ -3289,13 +3268,6 @@ packages:
3268 peerDependencies:
3269 zod: ^3.25.40 || ^4.0
3270
3292 - '@openrouter/ai-sdk-provider@1.2.0':
3293 - resolution: {integrity: sha512-stuIwq7Yb7DNmk3GuCtz+oS3nZOY4TXEV3V5KsknDGQN7Fpu3KRMQVWRc1J073xKdf0FC9EHOctSyzsACmp5Ag==}
3294 - engines: {node: '>=18'}
3295 - peerDependencies:
3296 - ai: ^5.0.0
3297 - zod: ^3.24.1 || ^v4
3298 -
3271 '@openrouter/ai-sdk-provider@1.2.3':
3272 resolution: {integrity: sha512-a6Nc8dPRHakRH9966YJ/HZJhLOds7DuPTscNZDoAr+Aw+tEFUlacSJMvb/b3gukn74mgbuaJRji9YOn62ipfVg==}
3273 engines: {node: '>=18'}
@@ -4310,6 +4282,67 @@ packages:
4282 '@speed-highlight/core@1.2.14':
4283 resolution: {integrity: sha512-G4ewlBNhUtlLvrJTb88d2mdy2KRijzs4UhnlrOSRT4bmjh/IqNElZa3zkrZ+TC47TwtlDWzVLFADljF1Ijp5hA==}
4284
4285 + '@standard-community/standard-json@0.3.5':
4286 + resolution: {integrity: sha512-4+ZPorwDRt47i+O7RjyuaxHRK/37QY/LmgxlGrRrSTLYoFatEOzvqIc85GTlM18SFZ5E91C+v0o/M37wZPpUHA==}
4287 + peerDependencies:
4288 + '@standard-schema/spec': ^1.0.0
4289 + '@types/json-schema': ^7.0.15
4290 + '@valibot/to-json-schema': ^1.3.0
4291 + arktype: ^2.1.20
4292 + effect: ^3.16.8
4293 + quansync: ^0.2.11
4294 + sury: ^10.0.0
4295 + typebox: ^1.0.17
4296 + valibot: ^1.1.0
4297 + zod: ^3.25.0 || ^4.0.0
4298 + zod-to-json-schema: ^3.24.5
4299 + peerDependenciesMeta:
4300 + '@valibot/to-json-schema':
4301 + optional: true
4302 + arktype:
4303 + optional: true
4304 + effect:
4305 + optional: true
4306 + sury:
4307 + optional: true
4308 + typebox:
4309 + optional: true
4310 + valibot:
4311 + optional: true
4312 + zod:
4313 + optional: true
4314 + zod-to-json-schema:
4315 + optional: true
4316 +
4317 + '@standard-community/standard-openapi@0.2.9':
4318 + resolution: {integrity: sha512-htj+yldvN1XncyZi4rehbf9kLbu8os2Ke/rfqoZHCMHuw34kiF3LP/yQPdA0tQ940y8nDq3Iou8R3wG+AGGyvg==}
4319 + peerDependencies:
4320 + '@standard-community/standard-json': ^0.3.5
4321 + '@standard-schema/spec': ^1.0.0
4322 + arktype: ^2.1.20
4323 + effect: ^3.17.14
4324 + openapi-types: ^12.1.3
4325 + sury: ^10.0.0
4326 + typebox: ^1.0.0
4327 + valibot: ^1.1.0
4328 + zod: ^3.25.0 || ^4.0.0
4329 + zod-openapi: ^4
4330 + peerDependenciesMeta:
4331 + arktype:
4332 + optional: true
4333 + effect:
4334 + optional: true
4335 + sury:
4336 + optional: true
4337 + typebox:
4338 + optional: true
4339 + valibot:
4340 + optional: true
4341 + zod:
4342 + optional: true
4343 + zod-openapi:
4344 + optional: true
4345 +
4346 '@standard-schema/spec@1.1.0':
4347 resolution: {integrity: sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==}
4348
@@ -4628,12 +4661,6 @@ packages:
4661 react:
4662 optional: true
4663
4631 - ai@5.0.60:
4632 - resolution: {integrity: sha512-80U/3kmdBW6g+JkLXpz/P2EwkyEaWlPlYtuLUpx/JYK9F7WZh9NnkYoh1KvUi1Sbpo0NyurBTvX0a2AG9mmbDA==}
4633 - engines: {node: '>=18'}
4634 - peerDependencies:
4635 - zod: ^3.25.76 || ^4.1.8
4636 -
4664 ai@5.0.97:
4665 resolution: {integrity: sha512-8zBx0b/owis4eJI2tAlV8a1Rv0BANmLxontcAelkLNwEHhgfgXeKpDkhNB6OgV+BJSwboIUDkgd9312DdJnCOQ==}
4666 engines: {node: '>=18'}
@@ -5774,6 +5801,21 @@ packages:
5801 zod-openapi:
5802 optional: true
5803
5804 + hono-openapi@1.2.0:
5805 + resolution: {integrity: sha512-t3u4v8YCltExDl4d9cLqg/mcrYFSs9Gjb5puF1CePPrvv1JQOo1Kc50HAmGt47CWHIoc/W8Q9LY3t3yqU0dxFw==}
5806 + peerDependencies:
5807 + '@hono/standard-validator': ^0.2.0
5808 + '@standard-community/standard-json': ^0.3.5
5809 + '@standard-community/standard-openapi': ^0.2.9
5810 + '@types/json-schema': ^7.0.15
5811 + hono: ^4.8.3
5812 + openapi-types: ^12.1.3
5813 + peerDependenciesMeta:
5814 + '@hono/standard-validator':
5815 + optional: true
5816 + hono:
5817 + optional: true
5818 +
5819 hono@4.11.5:
5820 resolution: {integrity: sha512-WemPi9/WfyMwZs+ZUXdiwcCh9Y+m7L+8vki9MzDw3jJ+W9Lc+12HGsd368Qc1vZi1xwW8BWMMsnK5efYKPdt4g==}
5821 engines: {node: '>=16.9.0'}
@@ -7892,6 +7934,9 @@ packages:
7934 resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==}
7935 engines: {node: '>=0.4'}
7936
7937 + xxhash-wasm@1.1.0:
7938 + resolution: {integrity: sha512-147y/6YNh+tlp6nd/2pWq38i9h6mz/EuQ6njIrmW8D1BS5nCqs0P6DG+m6zTGnNz5I+uhZ0SHxBs9BsPrwcKDA==}
7939 +
7940 y18n@5.0.8:
7941 resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==}
7942 engines: {node: '>=10'}
@@ -7980,38 +8025,12 @@ snapshots:
8025 '@ai-sdk/provider-utils': 2.2.8(zod@4.3.6)
8026 zod: 4.3.6
8027
7983 - '@ai-sdk/anthropic@2.0.23(zod@4.3.6)':
7984 - dependencies:
7985 - '@ai-sdk/provider': 2.0.0
7986 - '@ai-sdk/provider-utils': 3.0.10(zod@4.3.6)
7987 - zod: 4.3.6
7988 -
7989 - '@ai-sdk/anthropic@2.0.33(zod@3.25.76)':
7990 - dependencies:
7991 - '@ai-sdk/provider': 2.0.0
7992 - '@ai-sdk/provider-utils': 3.0.12(zod@3.25.76)
7993 - zod: 3.25.76
7994 -
8028 '@ai-sdk/anthropic@2.0.33(zod@4.3.6)':
8029 dependencies:
8030 '@ai-sdk/provider': 2.0.0
8031 '@ai-sdk/provider-utils': 3.0.12(zod@4.3.6)
8032 zod: 4.3.6
8033
8001 - '@ai-sdk/gateway@1.0.33(zod@4.3.6)':
8002 - dependencies:
8003 - '@ai-sdk/provider': 2.0.0
8004 - '@ai-sdk/provider-utils': 3.0.10(zod@4.3.6)
8005 - '@vercel/oidc': 3.1.0
8006 - zod: 4.3.6
8007 -
8008 - '@ai-sdk/gateway@2.0.12(zod@3.25.76)':
8009 - dependencies:
8010 - '@ai-sdk/provider': 2.0.0
8011 - '@ai-sdk/provider-utils': 3.0.17(zod@3.25.76)
8012 - '@vercel/oidc': 3.0.5
8013 - zod: 3.25.76
8014 -
8034 '@ai-sdk/gateway@2.0.12(zod@4.3.6)':
8035 dependencies:
8036 '@ai-sdk/provider': 2.0.0
@@ -8026,18 +8045,6 @@ snapshots:
8045 '@vercel/oidc': 3.1.0
8046 zod: 4.3.6
8047
8029 - '@ai-sdk/google@2.0.17(zod@4.3.6)':
8030 - dependencies:
8031 - '@ai-sdk/provider': 2.0.0
8032 - '@ai-sdk/provider-utils': 3.0.10(zod@4.3.6)
8033 - zod: 4.3.6
8034 -
8035 - '@ai-sdk/google@2.0.40(zod@3.25.76)':
8036 - dependencies:
8037 - '@ai-sdk/provider': 2.0.0
8038 - '@ai-sdk/provider-utils': 3.0.17(zod@3.25.76)
8039 - zod: 3.25.76
8040 -
8048 '@ai-sdk/google@2.0.40(zod@4.3.6)':
8049 dependencies:
8050 '@ai-sdk/provider': 2.0.0
@@ -8058,30 +8065,12 @@ snapshots:
8065 pkce-challenge: 5.0.1
8066 zod: 4.3.6
8067
8061 - '@ai-sdk/mistral@2.0.23(zod@3.25.76)':
8062 - dependencies:
8063 - '@ai-sdk/provider': 2.0.0
8064 - '@ai-sdk/provider-utils': 3.0.16(zod@3.25.76)
8065 - zod: 3.25.76
8066 -
8068 '@ai-sdk/mistral@2.0.23(zod@4.3.6)':
8069 dependencies:
8070 '@ai-sdk/provider': 2.0.0
8071 '@ai-sdk/provider-utils': 3.0.16(zod@4.3.6)
8072 zod: 4.3.6
8073
8073 - '@ai-sdk/openai-compatible@1.0.19(zod@4.3.6)':
8074 - dependencies:
8075 - '@ai-sdk/provider': 2.0.0
8076 - '@ai-sdk/provider-utils': 3.0.10(zod@4.3.6)
8077 - zod: 4.3.6
8078 -
8079 - '@ai-sdk/openai-compatible@1.0.22(zod@3.25.76)':
8080 - dependencies:
8081 - '@ai-sdk/provider': 2.0.0
8082 - '@ai-sdk/provider-utils': 3.0.12(zod@3.25.76)
8083 - zod: 3.25.76
8084 -
8074 '@ai-sdk/openai-compatible@1.0.22(zod@4.3.6)':
8075 dependencies:
8076 '@ai-sdk/provider': 2.0.0
@@ -8094,18 +8083,6 @@ snapshots:
8083 '@ai-sdk/provider-utils': 2.2.8(zod@4.3.6)
8084 zod: 4.3.6
8085
8097 - '@ai-sdk/openai@2.0.42(zod@4.3.6)':
8098 - dependencies:
8099 - '@ai-sdk/provider': 2.0.0
8100 - '@ai-sdk/provider-utils': 3.0.10(zod@4.3.6)
8101 - zod: 4.3.6
8102 -
8103 - '@ai-sdk/openai@2.0.53(zod@3.25.76)':
8104 - dependencies:
8105 - '@ai-sdk/provider': 2.0.0
8106 - '@ai-sdk/provider-utils': 3.0.12(zod@3.25.76)
8107 - zod: 3.25.76
8108 -
8086 '@ai-sdk/openai@2.0.53(zod@4.3.6)':
8087 dependencies:
8088 '@ai-sdk/provider': 2.0.0
@@ -8138,13 +8115,6 @@ snapshots:
8115 secure-json-parse: 2.7.0
8116 zod: 4.3.6
8117
8141 - '@ai-sdk/provider-utils@3.0.10(zod@4.3.6)':
8142 - dependencies:
8143 - '@ai-sdk/provider': 2.0.0
8144 - '@standard-schema/spec': 1.1.0
8145 - eventsource-parser: 3.0.6
8146 - zod: 4.3.6
8147 -
8118 '@ai-sdk/provider-utils@3.0.12(zod@3.25.76)':
8119 dependencies:
8120 '@ai-sdk/provider': 2.0.0
@@ -8159,44 +8129,44 @@ snapshots:
8129 eventsource-parser: 3.0.6
8130 zod: 4.3.6
8131
8162 - '@ai-sdk/provider-utils@3.0.16(zod@3.25.76)':
8132 + '@ai-sdk/provider-utils@3.0.16(zod@4.3.6)':
8133 dependencies:
8134 '@ai-sdk/provider': 2.0.0
8135 '@standard-schema/spec': 1.1.0
8136 eventsource-parser: 3.0.6
8167 - zod: 3.25.76
8137 + zod: 4.3.6
8138
8169 - '@ai-sdk/provider-utils@3.0.16(zod@4.3.6)':
8139 + '@ai-sdk/provider-utils@3.0.17(zod@4.3.6)':
8140 dependencies:
8141 '@ai-sdk/provider': 2.0.0
8142 '@standard-schema/spec': 1.1.0
8143 eventsource-parser: 3.0.6
8144 zod: 4.3.6
8145
8176 - '@ai-sdk/provider-utils@3.0.17(zod@3.25.76)':
8146 + '@ai-sdk/provider-utils@3.0.18(zod@4.3.6)':
8147 dependencies:
8148 '@ai-sdk/provider': 2.0.0
8149 '@standard-schema/spec': 1.1.0
8150 eventsource-parser: 3.0.6
8181 - zod: 3.25.76
8151 + zod: 4.3.6
8152
8183 - '@ai-sdk/provider-utils@3.0.17(zod@4.3.6)':
8153 + '@ai-sdk/provider-utils@3.0.20(zod@4.3.6)':
8154 dependencies:
8185 - '@ai-sdk/provider': 2.0.0
8155 + '@ai-sdk/provider': 2.0.1
8156 '@standard-schema/spec': 1.1.0
8157 eventsource-parser: 3.0.6
8158 zod: 4.3.6
8159
8190 - '@ai-sdk/provider-utils@3.0.18(zod@4.3.6)':
8160 + '@ai-sdk/provider-utils@4.0.0(zod@3.25.76)':
8161 dependencies:
8192 - '@ai-sdk/provider': 2.0.0
8162 + '@ai-sdk/provider': 3.0.0
8163 '@standard-schema/spec': 1.1.0
8164 eventsource-parser: 3.0.6
8195 - zod: 4.3.6
8165 + zod: 3.25.76
8166
8197 - '@ai-sdk/provider-utils@3.0.20(zod@4.3.6)':
8167 + '@ai-sdk/provider-utils@4.0.0(zod@4.3.6)':
8168 dependencies:
8199 - '@ai-sdk/provider': 2.0.1
8169 + '@ai-sdk/provider': 3.0.0
8170 '@standard-schema/spec': 1.1.0
8171 eventsource-parser: 3.0.6
8172 zod: 4.3.6
@@ -8220,19 +8190,13 @@ snapshots:
8190 dependencies:
8191 json-schema: 0.4.0
8192
8223 - '@ai-sdk/provider@3.0.5':
8193 + '@ai-sdk/provider@3.0.0':
8194 dependencies:
8195 json-schema: 0.4.0
8196
8227 - '@ai-sdk/react@1.2.12(react@18.3.1)(zod@3.25.76)':
8197 + '@ai-sdk/provider@3.0.5':
8198 dependencies:
8229 - '@ai-sdk/provider-utils': 2.2.8(zod@3.25.76)
8230 - '@ai-sdk/ui-utils': 1.2.11(zod@3.25.76)
8231 - react: 18.3.1
8232 - swr: 2.3.8(react@18.3.1)
8233 - throttleit: 2.1.0
8234 - optionalDependencies:
8235 - zod: 3.25.76
8199 + json-schema: 0.4.0
8200
8201 '@ai-sdk/react@1.2.12(react@18.3.1)(zod@4.3.6)':
8202 dependencies:
@@ -8258,20 +8222,6 @@ snapshots:
8222 zod: 4.3.6
8223 zod-to-json-schema: 3.25.1(zod@4.3.6)
8224
8261 - '@ai-sdk/xai@2.0.23(zod@4.3.6)':
8262 - dependencies:
8263 - '@ai-sdk/openai-compatible': 1.0.19(zod@4.3.6)
8264 - '@ai-sdk/provider': 2.0.0
8265 - '@ai-sdk/provider-utils': 3.0.10(zod@4.3.6)
8266 - zod: 4.3.6
8267 -
8268 - '@ai-sdk/xai@2.0.26(zod@3.25.76)':
8269 - dependencies:
8270 - '@ai-sdk/openai-compatible': 1.0.22(zod@3.25.76)
8271 - '@ai-sdk/provider': 2.0.0
8272 - '@ai-sdk/provider-utils': 3.0.12(zod@3.25.76)
8273 - zod: 3.25.76
8274 -
8225 '@ai-sdk/xai@2.0.26(zod@4.3.6)':
8226 dependencies:
8227 '@ai-sdk/openai-compatible': 1.0.22(zod@4.3.6)
@@ -9641,6 +9591,12 @@ snapshots:
9591 dependencies:
9592 '@braidai/lang': 1.1.2
9593
9594 + '@lukeed/csprng@1.1.0': {}
9595 +
9596 + '@lukeed/uuid@2.0.1':
9597 + dependencies:
9598 + '@lukeed/csprng': 1.1.0
9599 +
9600 '@manypkg/find-root@1.1.0':
9601 dependencies:
9602 '@babel/runtime': 7.28.6
@@ -9657,22 +9613,23 @@ snapshots:
9613 globby: 11.1.0
9614 read-yaml-file: 1.1.0
9615
9660 - '@mastra/core@0.21.1(effect@3.19.15)(openapi-types@12.1.3)(react@18.3.1)(zod@4.3.6)':
9616 + '@mastra/core@0.24.9(effect@3.19.15)(openapi-types@12.1.3)(react@18.3.1)(zod@4.3.6)':
9617 dependencies:
9618 '@a2a-js/sdk': 0.2.5
9663 - '@ai-sdk/anthropic-v5': '@ai-sdk/anthropic@2.0.23(zod@4.3.6)'
9664 - '@ai-sdk/google-v5': '@ai-sdk/google@2.0.17(zod@4.3.6)'
9665 - '@ai-sdk/openai-compatible-v5': '@ai-sdk/openai-compatible@1.0.19(zod@4.3.6)'
9666 - '@ai-sdk/openai-v5': '@ai-sdk/openai@2.0.42(zod@4.3.6)'
9619 + '@ai-sdk/anthropic-v5': '@ai-sdk/anthropic@2.0.33(zod@4.3.6)'
9620 + '@ai-sdk/google-v5': '@ai-sdk/google@2.0.40(zod@4.3.6)'
9621 + '@ai-sdk/mistral-v5': '@ai-sdk/mistral@2.0.23(zod@4.3.6)'
9622 + '@ai-sdk/openai-compatible-v5': '@ai-sdk/openai-compatible@1.0.22(zod@4.3.6)'
9623 + '@ai-sdk/openai-v5': '@ai-sdk/openai@2.0.53(zod@4.3.6)'
9624 '@ai-sdk/provider': 1.1.3
9625 '@ai-sdk/provider-utils': 2.2.8(zod@4.3.6)
9669 - '@ai-sdk/provider-utils-v5': '@ai-sdk/provider-utils@3.0.10(zod@4.3.6)'
9626 + '@ai-sdk/provider-utils-v5': '@ai-sdk/provider-utils@3.0.12(zod@4.3.6)'
9627 '@ai-sdk/provider-v5': '@ai-sdk/provider@2.0.0'
9628 '@ai-sdk/ui-utils': 1.2.11(zod@4.3.6)
9672 - '@ai-sdk/xai-v5': '@ai-sdk/xai@2.0.23(zod@4.3.6)'
9629 + '@ai-sdk/xai-v5': '@ai-sdk/xai@2.0.26(zod@4.3.6)'
9630 '@isaacs/ttlcache': 1.4.1
9674 - '@mastra/schema-compat': 0.11.4(ai@4.3.19(react@18.3.1)(zod@4.3.6))(zod@4.3.6)
9675 - '@openrouter/ai-sdk-provider-v5': '@openrouter/ai-sdk-provider@1.2.0(ai@4.3.19(react@18.3.1)(zod@4.3.6))(zod@4.3.6)'
9631 + '@mastra/schema-compat': 0.11.9(ai@4.3.19(react@18.3.1)(zod@4.3.6))(zod@4.3.6)
9632 + '@openrouter/ai-sdk-provider-v5': '@openrouter/ai-sdk-provider@1.2.3(ai@4.3.19(react@18.3.1)(zod@4.3.6))(zod@4.3.6)'
9633 '@opentelemetry/api': 1.9.0
9634 '@opentelemetry/auto-instrumentations-node': 0.62.2(@opentelemetry/api@1.9.0)(@opentelemetry/core@2.5.0(@opentelemetry/api@1.9.0))
9635 '@opentelemetry/core': 2.5.0(@opentelemetry/api@1.9.0)
@@ -9688,14 +9645,14 @@ snapshots:
9645 '@opentelemetry/semantic-conventions': 1.39.0
9646 '@sindresorhus/slugify': 2.2.1
9647 ai: 4.3.19(react@18.3.1)(zod@4.3.6)
9691 - ai-v5: ai@5.0.60(zod@4.3.6)
9648 + ai-v5: ai@5.0.97(zod@4.3.6)
9649 date-fns: 3.6.0
9650 dotenv: 16.6.1
9651 hono: 4.11.5
9652 hono-openapi: 0.4.8(effect@3.19.15)(hono@4.11.5)(openapi-types@12.1.3)(zod@4.3.6)
9653 js-tiktoken: 1.0.21
9654 json-schema: 0.4.0
9698 - json-schema-to-zod: 2.7.0
9655 + lru-cache: 11.2.5
9656 p-map: 7.0.4
9657 p-retry: 7.1.1
9658 pino: 9.14.0
@@ -9722,142 +9679,76 @@ snapshots:
9679 - valibot
9680 - zod-openapi
9681
9725 - '@mastra/core@0.24.9(effect@3.19.15)(openapi-types@12.1.3)(react@18.3.1)(zod@3.25.76)':
9682 + '@mastra/core@1.0.4(@cfworker/json-schema@4.1.1)(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@3.25.76))(zod@3.25.76))(@standard-community/standard-openapi@0.2.9(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@3.25.76))(zod@3.25.76))(@standard-schema/spec@1.1.0)(effect@3.19.15)(openapi-types@12.1.3)(zod@3.25.76))(@types/json-schema@7.0.15)(openapi-types@12.1.3)(zod@3.25.76)':
9683 dependencies:
9684 '@a2a-js/sdk': 0.2.5
9728 - '@ai-sdk/anthropic-v5': '@ai-sdk/anthropic@2.0.33(zod@3.25.76)'
9729 - '@ai-sdk/google-v5': '@ai-sdk/google@2.0.40(zod@3.25.76)'
9730 - '@ai-sdk/mistral-v5': '@ai-sdk/mistral@2.0.23(zod@3.25.76)'
9731 - '@ai-sdk/openai-compatible-v5': '@ai-sdk/openai-compatible@1.0.22(zod@3.25.76)'
9732 - '@ai-sdk/openai-v5': '@ai-sdk/openai@2.0.53(zod@3.25.76)'
9733 - '@ai-sdk/provider': 1.1.3
9734 - '@ai-sdk/provider-utils': 2.2.8(zod@3.25.76)
9685 '@ai-sdk/provider-utils-v5': '@ai-sdk/provider-utils@3.0.12(zod@3.25.76)'
9686 + '@ai-sdk/provider-utils-v6': '@ai-sdk/provider-utils@4.0.0(zod@3.25.76)'
9687 '@ai-sdk/provider-v5': '@ai-sdk/provider@2.0.0'
9737 - '@ai-sdk/ui-utils': 1.2.11(zod@3.25.76)
9738 - '@ai-sdk/xai-v5': '@ai-sdk/xai@2.0.26(zod@3.25.76)'
9688 + '@ai-sdk/provider-v6': '@ai-sdk/provider@3.0.0'
9689 + '@ai-sdk/ui-utils-v5': '@ai-sdk/ui-utils@1.2.11(zod@3.25.76)'
9690 '@isaacs/ttlcache': 1.4.1
9740 - '@mastra/schema-compat': 0.11.9(ai@4.3.19(react@18.3.1)(zod@3.25.76))(zod@3.25.76)
9741 - '@openrouter/ai-sdk-provider-v5': '@openrouter/ai-sdk-provider@1.2.3(ai@4.3.19(react@18.3.1)(zod@3.25.76))(zod@3.25.76)'
9742 - '@opentelemetry/api': 1.9.0
9743 - '@opentelemetry/auto-instrumentations-node': 0.62.2(@opentelemetry/api@1.9.0)(@opentelemetry/core@2.5.0(@opentelemetry/api@1.9.0))
9744 - '@opentelemetry/core': 2.5.0(@opentelemetry/api@1.9.0)
9745 - '@opentelemetry/exporter-trace-otlp-grpc': 0.203.0(@opentelemetry/api@1.9.0)
9746 - '@opentelemetry/exporter-trace-otlp-http': 0.203.0(@opentelemetry/api@1.9.0)
9747 - '@opentelemetry/otlp-exporter-base': 0.203.0(@opentelemetry/api@1.9.0)
9748 - '@opentelemetry/otlp-transformer': 0.203.0(@opentelemetry/api@1.9.0)
9749 - '@opentelemetry/resources': 2.5.0(@opentelemetry/api@1.9.0)
9750 - '@opentelemetry/sdk-metrics': 2.5.0(@opentelemetry/api@1.9.0)
9751 - '@opentelemetry/sdk-node': 0.203.0(@opentelemetry/api@1.9.0)
9752 - '@opentelemetry/sdk-trace-base': 2.5.0(@opentelemetry/api@1.9.0)
9753 - '@opentelemetry/sdk-trace-node': 2.5.0(@opentelemetry/api@1.9.0)
9754 - '@opentelemetry/semantic-conventions': 1.39.0
9691 + '@lukeed/uuid': 2.0.1
9692 + '@mastra/schema-compat': 1.0.0(zod@3.25.76)
9693 + '@modelcontextprotocol/sdk': 1.25.3(@cfworker/json-schema@4.1.1)(hono@4.11.5)(zod@3.25.76)
9694 '@sindresorhus/slugify': 2.2.1
9756 - ai: 4.3.19(react@18.3.1)(zod@3.25.76)
9757 - ai-v5: ai@5.0.97(zod@3.25.76)
9758 - date-fns: 3.6.0
9759 - dotenv: 16.6.1
9695 + dotenv: 17.2.3
9696 hono: 4.11.5
9761 - hono-openapi: 0.4.8(effect@3.19.15)(hono@4.11.5)(openapi-types@12.1.3)(zod@3.25.76)
9697 + hono-openapi: 1.2.0(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@3.25.76))(zod@3.25.76))(@standard-community/standard-openapi@0.2.9(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@3.25.76))(zod@3.25.76))(@standard-schema/spec@1.1.0)(effect@3.19.15)(openapi-types@12.1.3)(zod@3.25.76))(@types/json-schema@7.0.15)(hono@4.11.5)(openapi-types@12.1.3)
9698 js-tiktoken: 1.0.21
9699 json-schema: 0.4.0
9700 lru-cache: 11.2.5
9701 p-map: 7.0.4
9702 p-retry: 7.1.1
9767 - pino: 9.14.0
9768 - pino-pretty: 13.1.3
9703 radash: 12.1.1
9770 - sift: 17.1.3
9771 - xstate: 5.25.1
9704 + xxhash-wasm: 1.1.0
9705 zod: 3.25.76
9773 - zod-to-json-schema: 3.25.1(zod@3.25.76)
9706 transitivePeerDependencies:
9775 - - '@hono/arktype-validator'
9776 - - '@hono/effect-validator'
9777 - - '@hono/typebox-validator'
9778 - - '@hono/valibot-validator'
9779 - - '@hono/zod-validator'
9780 - - '@sinclair/typebox'
9781 - - '@valibot/to-json-schema'
9782 - - arktype
9783 - - effect
9784 - - encoding
9707 + - '@cfworker/json-schema'
9708 + - '@hono/standard-validator'
9709 + - '@standard-community/standard-json'
9710 + - '@standard-community/standard-openapi'
9711 + - '@types/json-schema'
9712 - openapi-types
9786 - - react
9713 - supports-color
9788 - - valibot
9789 - - zod-openapi
9714
9791 - '@mastra/core@0.24.9(effect@3.19.15)(openapi-types@12.1.3)(react@18.3.1)(zod@4.3.6)':
9715 + '@mastra/core@1.0.4(@cfworker/json-schema@4.1.1)(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@4.3.6))(zod@4.3.6))(@standard-community/standard-openapi@0.2.9(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@4.3.6))(zod@4.3.6))(@standard-schema/spec@1.1.0)(effect@3.19.15)(openapi-types@12.1.3)(zod@4.3.6))(@types/json-schema@7.0.15)(openapi-types@12.1.3)(zod@4.3.6)':
9716 dependencies:
9717 '@a2a-js/sdk': 0.2.5
9794 - '@ai-sdk/anthropic-v5': '@ai-sdk/anthropic@2.0.33(zod@4.3.6)'
9795 - '@ai-sdk/google-v5': '@ai-sdk/google@2.0.40(zod@4.3.6)'
9796 - '@ai-sdk/mistral-v5': '@ai-sdk/mistral@2.0.23(zod@4.3.6)'
9797 - '@ai-sdk/openai-compatible-v5': '@ai-sdk/openai-compatible@1.0.22(zod@4.3.6)'
9798 - '@ai-sdk/openai-v5': '@ai-sdk/openai@2.0.53(zod@4.3.6)'
9799 - '@ai-sdk/provider': 1.1.3
9800 - '@ai-sdk/provider-utils': 2.2.8(zod@4.3.6)
9718 '@ai-sdk/provider-utils-v5': '@ai-sdk/provider-utils@3.0.12(zod@4.3.6)'
9719 + '@ai-sdk/provider-utils-v6': '@ai-sdk/provider-utils@4.0.0(zod@4.3.6)'
9720 '@ai-sdk/provider-v5': '@ai-sdk/provider@2.0.0'
9803 - '@ai-sdk/ui-utils': 1.2.11(zod@4.3.6)
9804 - '@ai-sdk/xai-v5': '@ai-sdk/xai@2.0.26(zod@4.3.6)'
9721 + '@ai-sdk/provider-v6': '@ai-sdk/provider@3.0.0'
9722 + '@ai-sdk/ui-utils-v5': '@ai-sdk/ui-utils@1.2.11(zod@4.3.6)'
9723 '@isaacs/ttlcache': 1.4.1
9806 - '@mastra/schema-compat': 0.11.9(ai@4.3.19(react@18.3.1)(zod@4.3.6))(zod@4.3.6)
9807 - '@openrouter/ai-sdk-provider-v5': '@openrouter/ai-sdk-provider@1.2.3(ai@4.3.19(react@18.3.1)(zod@4.3.6))(zod@4.3.6)'
9808 - '@opentelemetry/api': 1.9.0
9809 - '@opentelemetry/auto-instrumentations-node': 0.62.2(@opentelemetry/api@1.9.0)(@opentelemetry/core@2.5.0(@opentelemetry/api@1.9.0))
9810 - '@opentelemetry/core': 2.5.0(@opentelemetry/api@1.9.0)
9811 - '@opentelemetry/exporter-trace-otlp-grpc': 0.203.0(@opentelemetry/api@1.9.0)
9812 - '@opentelemetry/exporter-trace-otlp-http': 0.203.0(@opentelemetry/api@1.9.0)
9813 - '@opentelemetry/otlp-exporter-base': 0.203.0(@opentelemetry/api@1.9.0)
9814 - '@opentelemetry/otlp-transformer': 0.203.0(@opentelemetry/api@1.9.0)
9815 - '@opentelemetry/resources': 2.5.0(@opentelemetry/api@1.9.0)
9816 - '@opentelemetry/sdk-metrics': 2.5.0(@opentelemetry/api@1.9.0)
9817 - '@opentelemetry/sdk-node': 0.203.0(@opentelemetry/api@1.9.0)
9818 - '@opentelemetry/sdk-trace-base': 2.5.0(@opentelemetry/api@1.9.0)
9819 - '@opentelemetry/sdk-trace-node': 2.5.0(@opentelemetry/api@1.9.0)
9820 - '@opentelemetry/semantic-conventions': 1.39.0
9724 + '@lukeed/uuid': 2.0.1
9725 + '@mastra/schema-compat': 1.0.0(zod@4.3.6)
9726 + '@modelcontextprotocol/sdk': 1.25.3(@cfworker/json-schema@4.1.1)(hono@4.11.5)(zod@4.3.6)
9727 '@sindresorhus/slugify': 2.2.1
9822 - ai: 4.3.19(react@18.3.1)(zod@4.3.6)
9823 - ai-v5: ai@5.0.97(zod@4.3.6)
9824 - date-fns: 3.6.0
9825 - dotenv: 16.6.1
9728 + dotenv: 17.2.3
9729 hono: 4.11.5
9827 - hono-openapi: 0.4.8(effect@3.19.15)(hono@4.11.5)(openapi-types@12.1.3)(zod@4.3.6)
9730 + hono-openapi: 1.2.0(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@4.3.6))(zod@4.3.6))(@standard-community/standard-openapi@0.2.9(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@4.3.6))(zod@4.3.6))(@standard-schema/spec@1.1.0)(effect@3.19.15)(openapi-types@12.1.3)(zod@4.3.6))(@types/json-schema@7.0.15)(hono@4.11.5)(openapi-types@12.1.3)
9731 js-tiktoken: 1.0.21
9732 json-schema: 0.4.0
9733 lru-cache: 11.2.5
9734 p-map: 7.0.4
9735 p-retry: 7.1.1
9833 - pino: 9.14.0
9834 - pino-pretty: 13.1.3
9736 radash: 12.1.1
9836 - sift: 17.1.3
9837 - xstate: 5.25.1
9737 + xxhash-wasm: 1.1.0
9738 zod: 4.3.6
9839 - zod-to-json-schema: 3.25.1(zod@4.3.6)
9739 transitivePeerDependencies:
9841 - - '@hono/arktype-validator'
9842 - - '@hono/effect-validator'
9843 - - '@hono/typebox-validator'
9844 - - '@hono/valibot-validator'
9845 - - '@hono/zod-validator'
9846 - - '@sinclair/typebox'
9847 - - '@valibot/to-json-schema'
9848 - - arktype
9849 - - effect
9850 - - encoding
9740 + - '@cfworker/json-schema'
9741 + - '@hono/standard-validator'
9742 + - '@standard-community/standard-json'
9743 + - '@standard-community/standard-openapi'
9744 + - '@types/json-schema'
9745 - openapi-types
9852 - - react
9746 - supports-color
9854 - - valibot
9855 - - zod-openapi
9747
9857 - '@mastra/mcp@0.12.0(@cfworker/json-schema@4.1.1)(@mastra/core@0.21.1(effect@3.19.15)(openapi-types@12.1.3)(react@18.3.1)(zod@4.3.6))(@types/json-schema@7.0.15)(hono@4.11.5)(zod@4.3.6)':
9748 + '@mastra/mcp@0.12.0(@cfworker/json-schema@4.1.1)(@mastra/core@0.24.9(effect@3.19.15)(openapi-types@12.1.3)(react@18.3.1)(zod@4.3.6))(@types/json-schema@7.0.15)(hono@4.11.5)(zod@4.3.6)':
9749 dependencies:
9750 '@apidevtools/json-schema-ref-parser': 14.2.1(@types/json-schema@7.0.15)
9860 - '@mastra/core': 0.21.1(effect@3.19.15)(openapi-types@12.1.3)(react@18.3.1)(zod@4.3.6)
9751 + '@mastra/core': 0.24.9(effect@3.19.15)(openapi-types@12.1.3)(react@18.3.1)(zod@4.3.6)
9752 '@modelcontextprotocol/sdk': 1.25.3(@cfworker/json-schema@4.1.1)(hono@4.11.5)(zod@4.3.6)
9753 date-fns: 4.1.0
9754 exit-hook: 4.0.0
@@ -9872,10 +9763,10 @@ snapshots:
9763 - hono
9764 - supports-color
9765
9875 - '@mastra/mcp@0.12.0(@cfworker/json-schema@4.1.1)(@mastra/core@0.24.9(effect@3.19.15)(openapi-types@12.1.3)(react@18.3.1)(zod@4.3.6))(@types/json-schema@7.0.15)(hono@4.11.5)(zod@4.3.6)':
9766 + '@mastra/mcp@0.12.0(@cfworker/json-schema@4.1.1)(@mastra/core@1.0.4(@cfworker/json-schema@4.1.1)(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@4.3.6))(zod@4.3.6))(@standard-community/standard-openapi@0.2.9(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@4.3.6))(zod@4.3.6))(@standard-schema/spec@1.1.0)(effect@3.19.15)(openapi-types@12.1.3)(zod@4.3.6))(@types/json-schema@7.0.15)(openapi-types@12.1.3)(zod@4.3.6))(@types/json-schema@7.0.15)(hono@4.11.5)(zod@4.3.6)':
9767 dependencies:
9768 '@apidevtools/json-schema-ref-parser': 14.2.1(@types/json-schema@7.0.15)
9878 - '@mastra/core': 0.24.9(effect@3.19.15)(openapi-types@12.1.3)(react@18.3.1)(zod@4.3.6)
9769 + '@mastra/core': 1.0.4(@cfworker/json-schema@4.1.1)(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@4.3.6))(zod@4.3.6))(@standard-community/standard-openapi@0.2.9(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@4.3.6))(zod@4.3.6))(@standard-schema/spec@1.1.0)(effect@3.19.15)(openapi-types@12.1.3)(zod@4.3.6))(@types/json-schema@7.0.15)(openapi-types@12.1.3)(zod@4.3.6)
9770 '@modelcontextprotocol/sdk': 1.25.3(@cfworker/json-schema@4.1.1)(hono@4.11.5)(zod@4.3.6)
9771 date-fns: 4.1.0
9772 exit-hook: 4.0.0
@@ -9890,10 +9781,10 @@ snapshots:
9781 - hono
9782 - supports-color
9783
9893 - '@mastra/mcp@0.14.5(@cfworker/json-schema@4.1.1)(@mastra/core@0.24.9(effect@3.19.15)(openapi-types@12.1.3)(react@18.3.1)(zod@3.25.76))(@types/json-schema@7.0.15)(zod@3.25.76)':
9784 + '@mastra/mcp@0.14.5(@cfworker/json-schema@4.1.1)(@mastra/core@1.0.4(@cfworker/json-schema@4.1.1)(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@3.25.76))(zod@3.25.76))(@standard-community/standard-openapi@0.2.9(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@3.25.76))(zod@3.25.76))(@standard-schema/spec@1.1.0)(effect@3.19.15)(openapi-types@12.1.3)(zod@3.25.76))(@types/json-schema@7.0.15)(openapi-types@12.1.3)(zod@3.25.76))(@types/json-schema@7.0.15)(hono@4.11.5)(zod@3.25.76)':
9785 dependencies:
9786 '@apidevtools/json-schema-ref-parser': 14.2.1(@types/json-schema@7.0.15)
9896 - '@mastra/core': 0.24.9(effect@3.19.15)(openapi-types@12.1.3)(react@18.3.1)(zod@3.25.76)
9787 + '@mastra/core': 1.0.4(@cfworker/json-schema@4.1.1)(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@3.25.76))(zod@3.25.76))(@standard-community/standard-openapi@0.2.9(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@3.25.76))(zod@3.25.76))(@standard-schema/spec@1.1.0)(effect@3.19.15)(openapi-types@12.1.3)(zod@3.25.76))(@types/json-schema@7.0.15)(openapi-types@12.1.3)(zod@3.25.76)
9788 '@modelcontextprotocol/sdk': 1.25.3(@cfworker/json-schema@4.1.1)(hono@4.11.5)(zod@3.25.76)
9789 date-fns: 4.1.0
9790 exit-hook: 4.0.0
@@ -9908,29 +9799,26 @@ snapshots:
9799 - hono
9800 - supports-color
9801
9911 - '@mastra/schema-compat@0.11.4(ai@4.3.19(react@18.3.1)(zod@4.3.6))(zod@4.3.6)':
9802 + '@mastra/schema-compat@0.11.9(ai@4.3.19(react@18.3.1)(zod@4.3.6))(zod@4.3.6)':
9803 dependencies:
9804 ai: 4.3.19(react@18.3.1)(zod@4.3.6)
9805 json-schema: 0.4.0
9806 + json-schema-to-zod: 2.7.0
9807 zod: 4.3.6
9808 zod-from-json-schema: 0.5.2
9809 zod-from-json-schema-v3: zod-from-json-schema@0.0.5
9810 zod-to-json-schema: 3.25.1(zod@4.3.6)
9811
9920 - '@mastra/schema-compat@0.11.9(ai@4.3.19(react@18.3.1)(zod@3.25.76))(zod@3.25.76)':
9812 + '@mastra/schema-compat@1.0.0(zod@3.25.76)':
9813 dependencies:
9922 - ai: 4.3.19(react@18.3.1)(zod@3.25.76)
9923 - json-schema: 0.4.0
9814 json-schema-to-zod: 2.7.0
9815 zod: 3.25.76
9816 zod-from-json-schema: 0.5.2
9817 zod-from-json-schema-v3: zod-from-json-schema@0.0.5
9818 zod-to-json-schema: 3.25.1(zod@3.25.76)
9819
9930 - '@mastra/schema-compat@0.11.9(ai@4.3.19(react@18.3.1)(zod@4.3.6))(zod@4.3.6)':
9820 + '@mastra/schema-compat@1.0.0(zod@4.3.6)':
9821 dependencies:
9932 - ai: 4.3.19(react@18.3.1)(zod@4.3.6)
9933 - json-schema: 0.4.0
9822 json-schema-to-zod: 2.7.0
9823 zod: 4.3.6
9824 zod-from-json-schema: 0.5.2
@@ -10213,17 +10101,6 @@ snapshots:
10101 - utf-8-validate
10102 - ws
10103
10216 - '@openrouter/ai-sdk-provider@1.2.0(ai@4.3.19(react@18.3.1)(zod@4.3.6))(zod@4.3.6)':
10217 - dependencies:
10218 - ai: 4.3.19(react@18.3.1)(zod@4.3.6)
10219 - zod: 4.3.6
10220 -
10221 - '@openrouter/ai-sdk-provider@1.2.3(ai@4.3.19(react@18.3.1)(zod@3.25.76))(zod@3.25.76)':
10222 - dependencies:
10223 - '@openrouter/sdk': 0.1.27
10224 - ai: 4.3.19(react@18.3.1)(zod@3.25.76)
10225 - zod: 3.25.76
10226 -
10104 '@openrouter/ai-sdk-provider@1.2.3(ai@4.3.19(react@18.3.1)(zod@4.3.6))(zod@4.3.6)':
10105 dependencies:
10106 '@openrouter/sdk': 0.1.27
@@ -11290,6 +11167,44 @@ snapshots:
11167
11168 '@speed-highlight/core@1.2.14': {}
11169
11170 + '@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@3.25.76))(zod@3.25.76)':
11171 + dependencies:
11172 + '@standard-schema/spec': 1.1.0
11173 + '@types/json-schema': 7.0.15
11174 + quansync: 1.0.0
11175 + optionalDependencies:
11176 + effect: 3.19.15
11177 + zod: 3.25.76
11178 + zod-to-json-schema: 3.25.1(zod@3.25.76)
11179 +
11180 + '@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@4.3.6))(zod@4.3.6)':
11181 + dependencies:
11182 + '@standard-schema/spec': 1.1.0
11183 + '@types/json-schema': 7.0.15
11184 + quansync: 1.0.0
11185 + optionalDependencies:
11186 + effect: 3.19.15
11187 + zod: 4.3.6
11188 + zod-to-json-schema: 3.25.1(zod@4.3.6)
11189 +
11190 + '@standard-community/standard-openapi@0.2.9(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@3.25.76))(zod@3.25.76))(@standard-schema/spec@1.1.0)(effect@3.19.15)(openapi-types@12.1.3)(zod@3.25.76)':
11191 + dependencies:
11192 + '@standard-community/standard-json': 0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@3.25.76))(zod@3.25.76)
11193 + '@standard-schema/spec': 1.1.0
11194 + openapi-types: 12.1.3
11195 + optionalDependencies:
11196 + effect: 3.19.15
11197 + zod: 3.25.76
11198 +
11199 + '@standard-community/standard-openapi@0.2.9(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@4.3.6))(zod@4.3.6))(@standard-schema/spec@1.1.0)(effect@3.19.15)(openapi-types@12.1.3)(zod@4.3.6)':
11200 + dependencies:
11201 + '@standard-community/standard-json': 0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@4.3.6))(zod@4.3.6)
11202 + '@standard-schema/spec': 1.1.0
11203 + openapi-types: 12.1.3
11204 + optionalDependencies:
11205 + effect: 3.19.15
11206 + zod: 4.3.6
11207 +
11208 '@standard-schema/spec@1.1.0': {}
11209
11210 '@swc/helpers@0.5.15':
@@ -11665,18 +11580,6 @@ snapshots:
11580 dependencies:
11581 humanize-ms: 1.2.1
11582
11668 - ai@4.3.19(react@18.3.1)(zod@3.25.76):
11669 - dependencies:
11670 - '@ai-sdk/provider': 1.1.3
11671 - '@ai-sdk/provider-utils': 2.2.8(zod@3.25.76)
11672 - '@ai-sdk/react': 1.2.12(react@18.3.1)(zod@3.25.76)
11673 - '@ai-sdk/ui-utils': 1.2.11(zod@3.25.76)
11674 - '@opentelemetry/api': 1.9.0
11675 - jsondiffpatch: 0.6.0
11676 - zod: 3.25.76
11677 - optionalDependencies:
11678 - react: 18.3.1
11679 -
11583 ai@4.3.19(react@18.3.1)(zod@4.3.6):
11584 dependencies:
11585 '@ai-sdk/provider': 1.1.3
@@ -11689,22 +11592,6 @@ snapshots:
11592 optionalDependencies:
11593 react: 18.3.1
11594
11692 - ai@5.0.60(zod@4.3.6):
11693 - dependencies:
11694 - '@ai-sdk/gateway': 1.0.33(zod@4.3.6)
11695 - '@ai-sdk/provider': 2.0.0
11696 - '@ai-sdk/provider-utils': 3.0.10(zod@4.3.6)
11697 - '@opentelemetry/api': 1.9.0
11698 - zod: 4.3.6
11699 -
11700 - ai@5.0.97(zod@3.25.76):
11701 - dependencies:
11702 - '@ai-sdk/gateway': 2.0.12(zod@3.25.76)
11703 - '@ai-sdk/provider': 2.0.0
11704 - '@ai-sdk/provider-utils': 3.0.17(zod@3.25.76)
11705 - '@opentelemetry/api': 1.9.0
11706 - zod: 3.25.76
11707 -
11595 ai@5.0.97(zod@4.3.6):
11596 dependencies:
11597 '@ai-sdk/gateway': 2.0.12(zod@4.3.6)
@@ -12934,23 +12821,32 @@ snapshots:
12821
12822 highlight.js@10.7.3: {}
12823
12937 - hono-openapi@0.4.8(effect@3.19.15)(hono@4.11.5)(openapi-types@12.1.3)(zod@3.25.76):
12824 + hono-openapi@0.4.8(effect@3.19.15)(hono@4.11.5)(openapi-types@12.1.3)(zod@4.3.6):
12825 dependencies:
12826 json-schema-walker: 2.0.0
12827 openapi-types: 12.1.3
12828 optionalDependencies:
12829 effect: 3.19.15
12830 hono: 4.11.5
12944 - zod: 3.25.76
12831 + zod: 4.3.6
12832
12946 - hono-openapi@0.4.8(effect@3.19.15)(hono@4.11.5)(openapi-types@12.1.3)(zod@4.3.6):
12833 + hono-openapi@1.2.0(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@3.25.76))(zod@3.25.76))(@standard-community/standard-openapi@0.2.9(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@3.25.76))(zod@3.25.76))(@standard-schema/spec@1.1.0)(effect@3.19.15)(openapi-types@12.1.3)(zod@3.25.76))(@types/json-schema@7.0.15)(hono@4.11.5)(openapi-types@12.1.3):
12834 dependencies:
12948 - json-schema-walker: 2.0.0
12835 + '@standard-community/standard-json': 0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@3.25.76))(zod@3.25.76)
12836 + '@standard-community/standard-openapi': 0.2.9(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@3.25.76))(zod@3.25.76))(@standard-schema/spec@1.1.0)(effect@3.19.15)(openapi-types@12.1.3)(zod@3.25.76)
12837 + '@types/json-schema': 7.0.15
12838 + openapi-types: 12.1.3
12839 + optionalDependencies:
12840 + hono: 4.11.5
12841 +
12842 + hono-openapi@1.2.0(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@4.3.6))(zod@4.3.6))(@standard-community/standard-openapi@0.2.9(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@4.3.6))(zod@4.3.6))(@standard-schema/spec@1.1.0)(effect@3.19.15)(openapi-types@12.1.3)(zod@4.3.6))(@types/json-schema@7.0.15)(hono@4.11.5)(openapi-types@12.1.3):
12843 + dependencies:
12844 + '@standard-community/standard-json': 0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@4.3.6))(zod@4.3.6)
12845 + '@standard-community/standard-openapi': 0.2.9(@standard-community/standard-json@0.3.5(@standard-schema/spec@1.1.0)(@types/json-schema@7.0.15)(effect@3.19.15)(quansync@1.0.0)(zod-to-json-schema@3.25.1(zod@4.3.6))(zod@4.3.6))(@standard-schema/spec@1.1.0)(effect@3.19.15)(openapi-types@12.1.3)(zod@4.3.6)
12846 + '@types/json-schema': 7.0.15
12847 openapi-types: 12.1.3
12848 optionalDependencies:
12951 - effect: 3.19.15
12849 hono: 4.11.5
12953 - zod: 4.3.6
12850
12851 hono@4.11.5: {}
12852
@@ -15313,6 +15209,8 @@ snapshots:
15209
15210 xtend@4.0.2: {}
15211
15212 + xxhash-wasm@1.1.0: {}
15213 +
15214 y18n@5.0.8: {}
15215
15216 yaml-ast-parser@0.0.43: {}
pnpm-workspace.yaml
+1
@@ -19,6 +19,7 @@ catalog:
19 '@cloudflare/vitest-pool-workers': ^0.9.2
20 '@cloudflare/workers-types': ^4.20250917.0
21 '@composio/client': 0.1.0-alpha.56
22 + '@mastra/core': ^1.0.4
23 '@modelcontextprotocol/sdk': ^1.25.2
24 ai: ^6.0.27
25 hono: ^4.11.4
ts/packages/providers/mastra/package.json
+8 -3
@@ -31,7 +31,8 @@
31 "scripts": {
32 "clean": "git clean -xdf node_modules",
33 "build": "bun run --bun tsdown",
34 - "test": "vitest run"
34 + "test": "vitest run",
35 + "typecheck": "tsc --noEmit --skipLibCheck"
36 },
37 "keywords": [
38 "composio",
@@ -43,14 +44,18 @@
44 "packageManager": "pnpm@10.28.0",
45 "peerDependencies": {
46 "@composio/core": "0.5.5",
46 - "@mastra/core": "^0.21.1",
47 - "@mastra/mcp": "^0.12.0"
47 + "@mastra/core": "^1.0.4",
48 + "zod": "^3.25 || ^4"
49 },
50 "devDependencies": {
51 "@composio/core": "workspace:*",
52 + "@mastra/core": "catalog:",
53 "tsdown": "catalog:",
54 "typescript": "catalog:",
55 "vitest": "^3.1.4",
56 "zod": "catalog:"
57 + },
58 + "dependencies": {
59 + "@mastra/schema-compat": "^1.0.0"
60 }
61 }
ts/packages/providers/mastra/src/index.ts
+21 -9
@@ -10,11 +10,11 @@ import {
10 BaseAgenticProvider,
11 Tool,
12 ExecuteToolFn,
13 - jsonSchemaToZodSchema,
13 McpUrlResponse,
14 removeNonRequiredProperties,
15 } from '@composio/core';
17 -import { createTool } from '@mastra/core';
16 +import { applyCompatLayer } from '@mastra/schema-compat';
17 +import { createTool } from '@mastra/core/tools';
18
19 export type MastraTool = ReturnType<typeof createTool>;
20
@@ -88,17 +88,29 @@ export class MastraProvider extends BaseAgenticProvider<
88 required?: string[];
89 }
90 )
91 - : (inputParams ?? {});
91 + : inputParams;
92 +
93 + const inputSchema = applyCompatLayer({
94 + schema: parameters ?? {},
95 + compatLayers: [],
96 + mode: 'jsonSchema',
97 + });
98 +
99 + const outputSchema = applyCompatLayer({
100 + schema: tool.outputParameters ?? {},
101 + compatLayers: [],
102 + mode: 'jsonSchema',
103 + });
104
105 const mastraTool = createTool({
106 id: tool.slug,
107 description: tool.description ?? '',
96 - inputSchema: parameters ? jsonSchemaToZodSchema(parameters) : undefined,
97 - outputSchema: tool.outputParameters
98 - ? jsonSchemaToZodSchema(tool.outputParameters)
99 - : undefined,
100 - execute: async ({ context }) => {
101 - const result = await executeTool(tool.slug, context);
108 + // @ts-ignore
109 + inputSchema,
110 + // @ts-ignore
111 + outputSchema,
112 + execute: async (inputData, _context) => {
113 + const result = await executeTool(tool.slug, inputData as Record<string, unknown>);
114 return result;
115 },
116 });
ts/packages/providers/mastra/test/mastra.test.ts
+23 -25
@@ -1,7 +1,7 @@
1 import { describe, it, expect, vi, beforeEach } from 'vitest';
2 import { MastraProvider } from '../src';
3 import { Tool } from '@composio/core';
4 -import { createTool } from '@mastra/core';
4 +import { createTool } from '@mastra/core/tools';
5
6 // Define an interface for our mocked Mastra tool
7 interface MockedMastraTool {
@@ -13,8 +13,8 @@ interface MockedMastraTool {
13 _isMockedMastraTool: boolean;
14 }
15
16 -// Mock the @mastra/core module
17 -vi.mock('@mastra/core', () => {
16 +// Mock the @mastra/core/tools module
17 +vi.mock('@mastra/core/tools', () => {
18 return {
19 createTool: vi.fn().mockImplementation(toolConfig => {
20 return {
@@ -29,12 +29,12 @@ vi.mock('@mastra/core', () => {
29 };
30 });
31
32 -// Mock the jsonSchemaToZodSchema function from @composio/core
33 -vi.mock('@composio/core', async () => {
34 - const actual = await vi.importActual('@composio/core');
32 +// Mock the applyCompatLayer function from @mastra/schema-compat
33 +vi.mock('@mastra/schema-compat', async () => {
34 + const actual = await vi.importActual('@mastra/schema-compat');
35 return {
36 ...(actual as object),
37 - jsonSchemaToZodSchema: vi.fn().mockImplementation(schema => {
37 + applyCompatLayer: vi.fn().mockImplementation(({ schema }) => {
38 return { type: 'mock-zod-schema', originalSchema: schema };
39 }),
40 };
@@ -157,7 +157,7 @@ describe('MastraProvider', () => {
157 id: toolWithoutOutputParams.slug,
158 description: toolWithoutOutputParams.description,
159 inputSchema: { type: 'mock-zod-schema', originalSchema: mockTool.inputParameters },
160 - outputSchema: undefined,
160 + outputSchema: { type: 'mock-zod-schema', originalSchema: {} },
161 execute: expect.any(Function),
162 });
163
@@ -193,10 +193,10 @@ describe('MastraProvider', () => {
193 const executeFunction = (createTool as any).mock.calls[0][0].execute;
194
195 // Test the execute function
196 - const context = { input: 'test-value' };
197 - const result = await executeFunction({ context });
196 + const inputData = { input: 'test-value' };
197 + const result = await executeFunction(inputData);
198
199 - expect(mockExecuteToolFn).toHaveBeenCalledWith(mockTool.slug, context);
199 + expect(mockExecuteToolFn).toHaveBeenCalledWith(mockTool.slug, inputData);
200 expect(result).toEqual({
201 data: { result: 'success' },
202 error: null,
@@ -212,10 +212,10 @@ describe('MastraProvider', () => {
212 const executeFunction = (createTool as any).mock.calls[0][0].execute;
213
214 // Test that the version is passed correctly
215 - const context = { input: 'version-test' };
216 - await executeFunction({ context });
215 + const inputData = { input: 'version-test' };
216 + await executeFunction(inputData);
217
218 - expect(mockExecuteToolFn).toHaveBeenCalledWith(toolWithVersion.slug, context);
218 + expect(mockExecuteToolFn).toHaveBeenCalledWith(toolWithVersion.slug, inputData);
219 });
220
221 it('should handle tools without version information', async () => {
@@ -226,10 +226,10 @@ describe('MastraProvider', () => {
226 const executeFunction = (createTool as any).mock.calls[0][0].execute;
227
228 // Test that undefined version is passed correctly
229 - const context = { input: 'no-version-test' };
230 - await executeFunction({ context });
229 + const inputData = { input: 'no-version-test' };
230 + await executeFunction(inputData);
231
232 - expect(mockExecuteToolFn).toHaveBeenCalledWith(toolWithoutVersion.slug, context);
232 + expect(mockExecuteToolFn).toHaveBeenCalledWith(toolWithoutVersion.slug, inputData);
233 });
234
235 it('should handle empty context parameter', async () => {
@@ -238,8 +238,8 @@ describe('MastraProvider', () => {
238 // Extract the execute function from the call to createTool()
239 const executeFunction = (createTool as any).mock.calls[0][0].execute;
240
241 - // Test the execute function with empty context
242 - const result = await executeFunction({ context: {} });
241 + // Test the execute function with empty input
242 + const result = await executeFunction({});
243
244 expect(mockExecuteToolFn).toHaveBeenCalledWith(mockTool.slug, {});
245 expect(result).toEqual({
@@ -255,8 +255,8 @@ describe('MastraProvider', () => {
255 // Extract the execute function from the call to createTool()
256 const executeFunction = (createTool as any).mock.calls[0][0].execute;
257
258 - // Test the execute function without context
259 - const result = await executeFunction({});
258 + // Test the execute function without any parameters
259 + const result = await executeFunction(undefined);
260
261 expect(mockExecuteToolFn).toHaveBeenCalledWith(mockTool.slug, undefined);
262 expect(result).toEqual({
@@ -434,7 +434,7 @@ describe('MastraProvider', () => {
434 id: 'minimal-tool',
435 description: 'A minimal tool',
436 inputSchema: { type: 'mock-zod-schema', originalSchema: {} },
437 - outputSchema: undefined,
437 + outputSchema: { type: 'mock-zod-schema', originalSchema: {} },
438 execute: expect.any(Function),
439 });
440
@@ -452,9 +452,7 @@ describe('MastraProvider', () => {
452 ) as unknown as MockedMastraTool;
453 const executeFunction = (createTool as any).mock.calls[0][0].execute;
454
455 - await expect(executeFunction({ context: { input: 'test' } })).rejects.toThrow(
456 - 'Execution failed'
457 - );
455 + await expect(executeFunction({ input: 'test' })).rejects.toThrow('Execution failed');
456 });
457
458 it('should handle tools with malformed schemas', () => {