@mastra/core 1.0.0-beta.6 → 1.0.0-beta.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (203) hide show
  1. package/CHANGELOG.md +195 -0
  2. package/dist/agent/agent-legacy.d.ts.map +1 -1
  3. package/dist/agent/agent.d.ts.map +1 -1
  4. package/dist/agent/index.cjs +9 -9
  5. package/dist/agent/index.js +2 -2
  6. package/dist/agent/message-list/index.cjs +3 -3
  7. package/dist/agent/message-list/index.js +1 -1
  8. package/dist/agent/workflows/prepare-stream/map-results-step.d.ts.map +1 -1
  9. package/dist/agent/workflows/prepare-stream/prepare-memory-step.d.ts.map +1 -1
  10. package/dist/agent/workflows/prepare-stream/schema.d.ts +2 -1
  11. package/dist/agent/workflows/prepare-stream/schema.d.ts.map +1 -1
  12. package/dist/{chunk-NHNXIYDG.cjs → chunk-3EYBRHB2.cjs} +2 -2
  13. package/dist/chunk-3EYBRHB2.cjs.map +1 -0
  14. package/dist/{chunk-AQAIS7FH.cjs → chunk-3JA6VPNM.cjs} +2 -2
  15. package/dist/chunk-3JA6VPNM.cjs.map +1 -0
  16. package/dist/{chunk-WDRA4WKG.js → chunk-4GTU7MB2.js} +5 -5
  17. package/dist/{chunk-WDRA4WKG.js.map → chunk-4GTU7MB2.js.map} +1 -1
  18. package/dist/{chunk-S5FPOCQF.cjs → chunk-6BYHQ52F.cjs} +24 -24
  19. package/dist/{chunk-S5FPOCQF.cjs.map → chunk-6BYHQ52F.cjs.map} +1 -1
  20. package/dist/{chunk-RTROJFEU.cjs → chunk-6C2PU6J4.cjs} +8 -8
  21. package/dist/{chunk-RTROJFEU.cjs.map → chunk-6C2PU6J4.cjs.map} +1 -1
  22. package/dist/{chunk-6GOLI2EY.js → chunk-7PXCGGMO.js} +8 -12
  23. package/dist/chunk-7PXCGGMO.js.map +1 -0
  24. package/dist/chunk-AZQMPE7G.cjs +4981 -0
  25. package/dist/chunk-AZQMPE7G.cjs.map +1 -0
  26. package/dist/{chunk-HNHZGFZY.cjs → chunk-CZEJQSWB.cjs} +10 -2
  27. package/dist/chunk-CZEJQSWB.cjs.map +1 -0
  28. package/dist/{chunk-APMPOYPI.js → chunk-DMPHPHMU.js} +3 -3
  29. package/dist/{chunk-APMPOYPI.js.map → chunk-DMPHPHMU.js.map} +1 -1
  30. package/dist/{chunk-45NA5ZD3.js → chunk-EDNHZZUP.js} +160 -60
  31. package/dist/chunk-EDNHZZUP.js.map +1 -0
  32. package/dist/{chunk-LEZIKVRQ.js → chunk-F54IK3GJ.js} +2 -2
  33. package/dist/chunk-F54IK3GJ.js.map +1 -0
  34. package/dist/{chunk-FYP3AT6W.js → chunk-FNSFXWDN.js} +2 -2
  35. package/dist/chunk-FNSFXWDN.js.map +1 -0
  36. package/dist/{chunk-XY337TTF.js → chunk-GW7BNMGA.js} +4 -4
  37. package/dist/{chunk-XY337TTF.js.map → chunk-GW7BNMGA.js.map} +1 -1
  38. package/dist/{chunk-OPALPWAM.js → chunk-HDMH5IDV.js} +42 -5
  39. package/dist/chunk-HDMH5IDV.js.map +1 -0
  40. package/dist/{chunk-NN3NOFRU.cjs → chunk-HP6TRJ2Q.cjs} +207 -106
  41. package/dist/chunk-HP6TRJ2Q.cjs.map +1 -0
  42. package/dist/{chunk-3TKNXJES.cjs → chunk-KBXFAF37.cjs} +46 -6
  43. package/dist/chunk-KBXFAF37.cjs.map +1 -0
  44. package/dist/{chunk-7ZADRRDW.js → chunk-PK2A5WBG.js} +3 -3
  45. package/dist/chunk-PK2A5WBG.js.map +1 -0
  46. package/dist/{chunk-DXMSVGJ6.js → chunk-QDIYYAA4.js} +28 -59
  47. package/dist/chunk-QDIYYAA4.js.map +1 -0
  48. package/dist/{chunk-TARWUQG6.js → chunk-QHJ7YVNX.js} +8 -8
  49. package/dist/{chunk-TARWUQG6.js.map → chunk-QHJ7YVNX.js.map} +1 -1
  50. package/dist/{chunk-IWTMMUQY.cjs → chunk-QYNZAPFE.cjs} +4 -4
  51. package/dist/{chunk-IWTMMUQY.cjs.map → chunk-QYNZAPFE.cjs.map} +1 -1
  52. package/dist/{chunk-TS7B26US.js → chunk-RWT3XPKO.js} +3 -3
  53. package/dist/{chunk-TS7B26US.js.map → chunk-RWT3XPKO.js.map} +1 -1
  54. package/dist/{chunk-LDWBLENZ.cjs → chunk-SD2BDUJ6.cjs} +28 -32
  55. package/dist/chunk-SD2BDUJ6.cjs.map +1 -0
  56. package/dist/{chunk-NIUEWICQ.js → chunk-SPIUKQDK.js} +8 -8
  57. package/dist/{chunk-NIUEWICQ.js.map → chunk-SPIUKQDK.js.map} +1 -1
  58. package/dist/chunk-TLLXRG2Z.js +4959 -0
  59. package/dist/chunk-TLLXRG2Z.js.map +1 -0
  60. package/dist/{chunk-SVLMF4UZ.cjs → chunk-TQB2HMEC.cjs} +45 -44
  61. package/dist/chunk-TQB2HMEC.cjs.map +1 -0
  62. package/dist/{chunk-KZLP6TPJ.js → chunk-URBPEE67.js} +4 -4
  63. package/dist/{chunk-KZLP6TPJ.js.map → chunk-URBPEE67.js.map} +1 -1
  64. package/dist/{chunk-6J4NRNT2.cjs → chunk-VWC5AUOQ.cjs} +29 -60
  65. package/dist/chunk-VWC5AUOQ.cjs.map +1 -0
  66. package/dist/{chunk-4KUOSXJ7.cjs → chunk-Y5SFNZUK.cjs} +11 -11
  67. package/dist/{chunk-4KUOSXJ7.cjs.map → chunk-Y5SFNZUK.cjs.map} +1 -1
  68. package/dist/{chunk-OIMB2SNZ.cjs → chunk-Y7YCQDML.cjs} +14 -14
  69. package/dist/{chunk-OIMB2SNZ.cjs.map → chunk-Y7YCQDML.cjs.map} +1 -1
  70. package/dist/{chunk-VRFSEZBA.cjs → chunk-YBEW5YWC.cjs} +6 -6
  71. package/dist/{chunk-VRFSEZBA.cjs.map → chunk-YBEW5YWC.cjs.map} +1 -1
  72. package/dist/{chunk-SQAX4OW6.cjs → chunk-YUXTDKYN.cjs} +15 -15
  73. package/dist/{chunk-SQAX4OW6.cjs.map → chunk-YUXTDKYN.cjs.map} +1 -1
  74. package/dist/{chunk-RHTV5C5D.cjs → chunk-YWMMBIOM.cjs} +9 -9
  75. package/dist/{chunk-RHTV5C5D.cjs.map → chunk-YWMMBIOM.cjs.map} +1 -1
  76. package/dist/{chunk-WMAMOYRR.js → chunk-Z57R5WS4.js} +4 -4
  77. package/dist/{chunk-WMAMOYRR.js.map → chunk-Z57R5WS4.js.map} +1 -1
  78. package/dist/{chunk-QM5SRDJX.js → chunk-ZUWJCGLM.js} +5 -4
  79. package/dist/chunk-ZUWJCGLM.js.map +1 -0
  80. package/dist/evals/index.cjs +9 -9
  81. package/dist/evals/index.js +2 -2
  82. package/dist/evals/scoreTraces/index.cjs +5 -5
  83. package/dist/evals/scoreTraces/index.js +2 -2
  84. package/dist/evals/types.d.ts +19 -18
  85. package/dist/evals/types.d.ts.map +1 -1
  86. package/dist/index.cjs +2 -2
  87. package/dist/index.js +1 -1
  88. package/dist/llm/index.cjs +15 -15
  89. package/dist/llm/index.js +5 -5
  90. package/dist/llm/model/gateways/constants.d.ts.map +1 -1
  91. package/dist/llm/model/gateways/models-dev.d.ts.map +1 -1
  92. package/dist/llm/model/model.loop.d.ts +1 -1
  93. package/dist/llm/model/model.loop.d.ts.map +1 -1
  94. package/dist/llm/model/provider-options.d.ts +4 -1
  95. package/dist/llm/model/provider-options.d.ts.map +1 -1
  96. package/dist/llm/model/provider-types.generated.d.ts +12 -22
  97. package/dist/loop/index.cjs +2 -2
  98. package/dist/loop/index.js +1 -1
  99. package/dist/loop/workflows/agentic-execution/llm-execution-step.d.ts.map +1 -1
  100. package/dist/loop/workflows/stream.d.ts.map +1 -1
  101. package/dist/mastra/index.cjs +2 -2
  102. package/dist/mastra/index.js +1 -1
  103. package/dist/memory/index.cjs +6 -6
  104. package/dist/memory/index.js +1 -1
  105. package/dist/models-dev-6GD3644V.js +3 -0
  106. package/dist/{models-dev-F6MTIYTO.js.map → models-dev-6GD3644V.js.map} +1 -1
  107. package/dist/models-dev-IUQBXJSS.cjs +12 -0
  108. package/dist/{models-dev-XIVR5EJV.cjs.map → models-dev-IUQBXJSS.cjs.map} +1 -1
  109. package/dist/netlify-GXJ5D5DD.js +3 -0
  110. package/dist/{netlify-C2YBIK7A.js.map → netlify-GXJ5D5DD.js.map} +1 -1
  111. package/dist/netlify-KJLY3GFS.cjs +12 -0
  112. package/dist/{netlify-XWROOTP4.cjs.map → netlify-KJLY3GFS.cjs.map} +1 -1
  113. package/dist/observability/index.cjs +10 -10
  114. package/dist/observability/index.js +1 -1
  115. package/dist/observability/types/tracing.d.ts +18 -0
  116. package/dist/observability/types/tracing.d.ts.map +1 -1
  117. package/dist/processors/index.cjs +17 -17
  118. package/dist/processors/index.js +1 -1
  119. package/dist/provider-registry-A5QZFI2X.js +3 -0
  120. package/dist/{provider-registry-GRYJWVEM.js.map → provider-registry-A5QZFI2X.js.map} +1 -1
  121. package/dist/provider-registry-V32PGH6F.cjs +40 -0
  122. package/dist/{provider-registry-BXX7CA3H.cjs.map → provider-registry-V32PGH6F.cjs.map} +1 -1
  123. package/dist/provider-registry.json +24 -55
  124. package/dist/relevance/index.cjs +2 -2
  125. package/dist/relevance/index.js +1 -1
  126. package/dist/storage/base.d.ts +22 -1
  127. package/dist/storage/base.d.ts.map +1 -1
  128. package/dist/storage/domains/scores/base.d.ts +2 -2
  129. package/dist/storage/domains/scores/base.d.ts.map +1 -1
  130. package/dist/storage/domains/scores/inmemory.d.ts +2 -2
  131. package/dist/storage/domains/scores/inmemory.d.ts.map +1 -1
  132. package/dist/storage/index.cjs +43 -31
  133. package/dist/storage/index.js +1 -1
  134. package/dist/storage/mock.d.ts +2 -2
  135. package/dist/storage/mock.d.ts.map +1 -1
  136. package/dist/storage/storageWithInit.d.ts.map +1 -1
  137. package/dist/storage/utils.d.ts +38 -0
  138. package/dist/storage/utils.d.ts.map +1 -1
  139. package/dist/stream/aisdk/v5/execute.d.ts +3 -2
  140. package/dist/stream/aisdk/v5/execute.d.ts.map +1 -1
  141. package/dist/stream/aisdk/v5/input.d.ts +4 -1
  142. package/dist/stream/aisdk/v5/input.d.ts.map +1 -1
  143. package/dist/stream/index.cjs +11 -11
  144. package/dist/stream/index.js +2 -2
  145. package/dist/test-utils/llm-mock.cjs +13 -13
  146. package/dist/test-utils/llm-mock.cjs.map +1 -1
  147. package/dist/test-utils/llm-mock.js +6 -6
  148. package/dist/test-utils/llm-mock.js.map +1 -1
  149. package/dist/tools/index.cjs +2 -2
  150. package/dist/tools/index.js +1 -1
  151. package/dist/tools/stream.d.ts +17 -1
  152. package/dist/tools/stream.d.ts.map +1 -1
  153. package/dist/tools/types.d.ts +2 -2
  154. package/dist/tools/types.d.ts.map +1 -1
  155. package/dist/utils.cjs +22 -22
  156. package/dist/utils.js +1 -1
  157. package/dist/vector/index.cjs +2 -2
  158. package/dist/vector/index.js +1 -1
  159. package/dist/workflows/default.d.ts +2 -2
  160. package/dist/workflows/default.d.ts.map +1 -1
  161. package/dist/workflows/evented/index.cjs +10 -10
  162. package/dist/workflows/evented/index.js +1 -1
  163. package/dist/workflows/evented/step-executor.d.ts.map +1 -1
  164. package/dist/workflows/handlers/control-flow.d.ts.map +1 -1
  165. package/dist/workflows/handlers/step.d.ts.map +1 -1
  166. package/dist/workflows/index.cjs +24 -20
  167. package/dist/workflows/index.js +1 -1
  168. package/dist/workflows/step.d.ts +5 -5
  169. package/dist/workflows/step.d.ts.map +1 -1
  170. package/dist/workflows/types.d.ts +1 -0
  171. package/dist/workflows/types.d.ts.map +1 -1
  172. package/dist/workflows/utils.d.ts +10 -1
  173. package/dist/workflows/utils.d.ts.map +1 -1
  174. package/dist/workflows/workflow.d.ts +1 -1
  175. package/dist/workflows/workflow.d.ts.map +1 -1
  176. package/package.json +5 -3
  177. package/src/llm/model/provider-types.generated.d.ts +12 -22
  178. package/dist/chunk-3TKNXJES.cjs.map +0 -1
  179. package/dist/chunk-45NA5ZD3.js.map +0 -1
  180. package/dist/chunk-6GOLI2EY.js.map +0 -1
  181. package/dist/chunk-6J4NRNT2.cjs.map +0 -1
  182. package/dist/chunk-7ZADRRDW.js.map +0 -1
  183. package/dist/chunk-AQAIS7FH.cjs.map +0 -1
  184. package/dist/chunk-DXMSVGJ6.js.map +0 -1
  185. package/dist/chunk-FYP3AT6W.js.map +0 -1
  186. package/dist/chunk-HNHZGFZY.cjs.map +0 -1
  187. package/dist/chunk-LDWBLENZ.cjs.map +0 -1
  188. package/dist/chunk-LEZIKVRQ.js.map +0 -1
  189. package/dist/chunk-NHNXIYDG.cjs.map +0 -1
  190. package/dist/chunk-NN3NOFRU.cjs.map +0 -1
  191. package/dist/chunk-OPALPWAM.js.map +0 -1
  192. package/dist/chunk-QGWNF2QJ.cjs +0 -1697
  193. package/dist/chunk-QGWNF2QJ.cjs.map +0 -1
  194. package/dist/chunk-QM5SRDJX.js.map +0 -1
  195. package/dist/chunk-SVLMF4UZ.cjs.map +0 -1
  196. package/dist/chunk-T2UNO766.js +0 -1694
  197. package/dist/chunk-T2UNO766.js.map +0 -1
  198. package/dist/models-dev-F6MTIYTO.js +0 -3
  199. package/dist/models-dev-XIVR5EJV.cjs +0 -12
  200. package/dist/netlify-C2YBIK7A.js +0 -3
  201. package/dist/netlify-XWROOTP4.cjs +0 -12
  202. package/dist/provider-registry-BXX7CA3H.cjs +0 -40
  203. package/dist/provider-registry-GRYJWVEM.js +0 -3
@@ -1,8 +1,9 @@
1
1
  'use strict';
2
2
 
3
+ var v3 = require('zod/v3');
3
4
  var zod = require('zod');
4
5
 
5
- // ../_ai-sdk-v4/dist/chunk-INY5EVVF.js
6
+ // ../_ai-sdk-v4/dist/chunk-OKM7Y7PL.js
6
7
  function notImplemented() {
7
8
  throw new Error("Not implemented");
8
9
  }
@@ -610,7 +611,7 @@ function parseArrayDef(def, refs) {
610
611
  const res = {
611
612
  type: "array"
612
613
  };
613
- if (def.type?._def && def.type?._def?.typeName !== zod.ZodFirstPartyTypeKind.ZodAny) {
614
+ if (def.type?._def && def.type?._def?.typeName !== v3.ZodFirstPartyTypeKind.ZodAny) {
614
615
  res.items = parseDef(def.type._def, {
615
616
  ...refs,
616
617
  currentPath: [...refs.currentPath, "items"]
@@ -1127,7 +1128,7 @@ function parseRecordDef(def, refs) {
1127
1128
  if (refs.target === "openAi") {
1128
1129
  console.warn("Warning: OpenAI may not support records in schemas! Try an array of key-value pairs instead.");
1129
1130
  }
1130
- if (refs.target === "openApi3" && def.keyType?._def.typeName === zod.ZodFirstPartyTypeKind.ZodEnum) {
1131
+ if (refs.target === "openApi3" && def.keyType?._def.typeName === v3.ZodFirstPartyTypeKind.ZodEnum) {
1131
1132
  return {
1132
1133
  type: "object",
1133
1134
  required: def.keyType._def.values,
@@ -1151,20 +1152,20 @@ function parseRecordDef(def, refs) {
1151
1152
  if (refs.target === "openApi3") {
1152
1153
  return schema;
1153
1154
  }
1154
- if (def.keyType?._def.typeName === zod.ZodFirstPartyTypeKind.ZodString && def.keyType._def.checks?.length) {
1155
+ if (def.keyType?._def.typeName === v3.ZodFirstPartyTypeKind.ZodString && def.keyType._def.checks?.length) {
1155
1156
  const { type, ...keyType } = parseStringDef(def.keyType._def, refs);
1156
1157
  return {
1157
1158
  ...schema,
1158
1159
  propertyNames: keyType
1159
1160
  };
1160
- } else if (def.keyType?._def.typeName === zod.ZodFirstPartyTypeKind.ZodEnum) {
1161
+ } else if (def.keyType?._def.typeName === v3.ZodFirstPartyTypeKind.ZodEnum) {
1161
1162
  return {
1162
1163
  ...schema,
1163
1164
  propertyNames: {
1164
1165
  enum: def.keyType._def.values
1165
1166
  }
1166
1167
  };
1167
- } else if (def.keyType?._def.typeName === zod.ZodFirstPartyTypeKind.ZodBranded && def.keyType._def.type._def.typeName === zod.ZodFirstPartyTypeKind.ZodString && def.keyType._def.type._def.checks?.length) {
1168
+ } else if (def.keyType?._def.typeName === v3.ZodFirstPartyTypeKind.ZodBranded && def.keyType._def.type._def.typeName === v3.ZodFirstPartyTypeKind.ZodString && def.keyType._def.type._def.checks?.length) {
1168
1169
  const { type, ...keyType } = parseBrandedDef(def.keyType._def, refs);
1169
1170
  return {
1170
1171
  ...schema,
@@ -1530,73 +1531,73 @@ var parseReadonlyDef = (def, refs) => {
1530
1531
  };
1531
1532
  var selectParser = (def, typeName, refs) => {
1532
1533
  switch (typeName) {
1533
- case zod.ZodFirstPartyTypeKind.ZodString:
1534
+ case v3.ZodFirstPartyTypeKind.ZodString:
1534
1535
  return parseStringDef(def, refs);
1535
- case zod.ZodFirstPartyTypeKind.ZodNumber:
1536
+ case v3.ZodFirstPartyTypeKind.ZodNumber:
1536
1537
  return parseNumberDef(def, refs);
1537
- case zod.ZodFirstPartyTypeKind.ZodObject:
1538
+ case v3.ZodFirstPartyTypeKind.ZodObject:
1538
1539
  return parseObjectDef(def, refs);
1539
- case zod.ZodFirstPartyTypeKind.ZodBigInt:
1540
+ case v3.ZodFirstPartyTypeKind.ZodBigInt:
1540
1541
  return parseBigintDef(def, refs);
1541
- case zod.ZodFirstPartyTypeKind.ZodBoolean:
1542
+ case v3.ZodFirstPartyTypeKind.ZodBoolean:
1542
1543
  return parseBooleanDef();
1543
- case zod.ZodFirstPartyTypeKind.ZodDate:
1544
+ case v3.ZodFirstPartyTypeKind.ZodDate:
1544
1545
  return parseDateDef(def, refs);
1545
- case zod.ZodFirstPartyTypeKind.ZodUndefined:
1546
+ case v3.ZodFirstPartyTypeKind.ZodUndefined:
1546
1547
  return parseUndefinedDef(refs);
1547
- case zod.ZodFirstPartyTypeKind.ZodNull:
1548
+ case v3.ZodFirstPartyTypeKind.ZodNull:
1548
1549
  return parseNullDef(refs);
1549
- case zod.ZodFirstPartyTypeKind.ZodArray:
1550
+ case v3.ZodFirstPartyTypeKind.ZodArray:
1550
1551
  return parseArrayDef(def, refs);
1551
- case zod.ZodFirstPartyTypeKind.ZodUnion:
1552
- case zod.ZodFirstPartyTypeKind.ZodDiscriminatedUnion:
1552
+ case v3.ZodFirstPartyTypeKind.ZodUnion:
1553
+ case v3.ZodFirstPartyTypeKind.ZodDiscriminatedUnion:
1553
1554
  return parseUnionDef(def, refs);
1554
- case zod.ZodFirstPartyTypeKind.ZodIntersection:
1555
+ case v3.ZodFirstPartyTypeKind.ZodIntersection:
1555
1556
  return parseIntersectionDef(def, refs);
1556
- case zod.ZodFirstPartyTypeKind.ZodTuple:
1557
+ case v3.ZodFirstPartyTypeKind.ZodTuple:
1557
1558
  return parseTupleDef(def, refs);
1558
- case zod.ZodFirstPartyTypeKind.ZodRecord:
1559
+ case v3.ZodFirstPartyTypeKind.ZodRecord:
1559
1560
  return parseRecordDef(def, refs);
1560
- case zod.ZodFirstPartyTypeKind.ZodLiteral:
1561
+ case v3.ZodFirstPartyTypeKind.ZodLiteral:
1561
1562
  return parseLiteralDef(def, refs);
1562
- case zod.ZodFirstPartyTypeKind.ZodEnum:
1563
+ case v3.ZodFirstPartyTypeKind.ZodEnum:
1563
1564
  return parseEnumDef(def);
1564
- case zod.ZodFirstPartyTypeKind.ZodNativeEnum:
1565
+ case v3.ZodFirstPartyTypeKind.ZodNativeEnum:
1565
1566
  return parseNativeEnumDef(def);
1566
- case zod.ZodFirstPartyTypeKind.ZodNullable:
1567
+ case v3.ZodFirstPartyTypeKind.ZodNullable:
1567
1568
  return parseNullableDef(def, refs);
1568
- case zod.ZodFirstPartyTypeKind.ZodOptional:
1569
+ case v3.ZodFirstPartyTypeKind.ZodOptional:
1569
1570
  return parseOptionalDef(def, refs);
1570
- case zod.ZodFirstPartyTypeKind.ZodMap:
1571
+ case v3.ZodFirstPartyTypeKind.ZodMap:
1571
1572
  return parseMapDef(def, refs);
1572
- case zod.ZodFirstPartyTypeKind.ZodSet:
1573
+ case v3.ZodFirstPartyTypeKind.ZodSet:
1573
1574
  return parseSetDef(def, refs);
1574
- case zod.ZodFirstPartyTypeKind.ZodLazy:
1575
+ case v3.ZodFirstPartyTypeKind.ZodLazy:
1575
1576
  return () => def.getter()._def;
1576
- case zod.ZodFirstPartyTypeKind.ZodPromise:
1577
+ case v3.ZodFirstPartyTypeKind.ZodPromise:
1577
1578
  return parsePromiseDef(def, refs);
1578
- case zod.ZodFirstPartyTypeKind.ZodNaN:
1579
- case zod.ZodFirstPartyTypeKind.ZodNever:
1579
+ case v3.ZodFirstPartyTypeKind.ZodNaN:
1580
+ case v3.ZodFirstPartyTypeKind.ZodNever:
1580
1581
  return parseNeverDef(refs);
1581
- case zod.ZodFirstPartyTypeKind.ZodEffects:
1582
+ case v3.ZodFirstPartyTypeKind.ZodEffects:
1582
1583
  return parseEffectsDef(def, refs);
1583
- case zod.ZodFirstPartyTypeKind.ZodAny:
1584
+ case v3.ZodFirstPartyTypeKind.ZodAny:
1584
1585
  return parseAnyDef(refs);
1585
- case zod.ZodFirstPartyTypeKind.ZodUnknown:
1586
+ case v3.ZodFirstPartyTypeKind.ZodUnknown:
1586
1587
  return parseUnknownDef(refs);
1587
- case zod.ZodFirstPartyTypeKind.ZodDefault:
1588
+ case v3.ZodFirstPartyTypeKind.ZodDefault:
1588
1589
  return parseDefaultDef(def, refs);
1589
- case zod.ZodFirstPartyTypeKind.ZodBranded:
1590
+ case v3.ZodFirstPartyTypeKind.ZodBranded:
1590
1591
  return parseBrandedDef(def, refs);
1591
- case zod.ZodFirstPartyTypeKind.ZodReadonly:
1592
+ case v3.ZodFirstPartyTypeKind.ZodReadonly:
1592
1593
  return parseReadonlyDef(def, refs);
1593
- case zod.ZodFirstPartyTypeKind.ZodCatch:
1594
+ case v3.ZodFirstPartyTypeKind.ZodCatch:
1594
1595
  return parseCatchDef(def, refs);
1595
- case zod.ZodFirstPartyTypeKind.ZodPipeline:
1596
+ case v3.ZodFirstPartyTypeKind.ZodPipeline:
1596
1597
  return parsePipelineDef(def, refs);
1597
- case zod.ZodFirstPartyTypeKind.ZodFunction:
1598
- case zod.ZodFirstPartyTypeKind.ZodVoid:
1599
- case zod.ZodFirstPartyTypeKind.ZodSymbol:
1598
+ case v3.ZodFirstPartyTypeKind.ZodFunction:
1599
+ case v3.ZodFirstPartyTypeKind.ZodVoid:
1600
+ case v3.ZodFirstPartyTypeKind.ZodSymbol:
1600
1601
  return void 0;
1601
1602
  default:
1602
1603
  return /* @__PURE__ */ ((_) => void 0)();
@@ -9029,5 +9030,5 @@ exports.output_exports = output_exports;
9029
9030
  exports.simulateReadableStream = simulateReadableStream;
9030
9031
  exports.streamObject = streamObject;
9031
9032
  exports.streamText = streamText;
9032
- //# sourceMappingURL=chunk-SVLMF4UZ.cjs.map
9033
- //# sourceMappingURL=chunk-SVLMF4UZ.cjs.map
9033
+ //# sourceMappingURL=chunk-TQB2HMEC.cjs.map
9034
+ //# sourceMappingURL=chunk-TQB2HMEC.cjs.map