@vellumai/cli 0.10.6-dev.202607072040.fb971ce → 0.10.6-staging.1

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 (753) hide show
  1. package/bun.lock +411 -0
  2. package/bunfig.toml +6 -0
  3. package/node_modules/@vellumai/environments/bun.lock +24 -0
  4. package/node_modules/@vellumai/environments/tsconfig.json +1 -1
  5. package/node_modules/@vellumai/local-mode/bun.lock +32 -0
  6. package/node_modules/@vellumai/local-mode/src/status.ts +7 -84
  7. package/node_modules/@vellumai/local-mode/tsconfig.json +1 -1
  8. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/README.md +1 -18
  9. package/node_modules/{@vellumai/local-mode/node_modules/zod/v3 → zod/locales}/package.json +2 -1
  10. package/node_modules/{@vellumai/local-mode/node_modules/zod/locales → zod/mini}/package.json +2 -1
  11. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/package.json +1 -1
  12. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/all-errors.test.ts +3 -3
  13. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/object.test.ts +5 -5
  14. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/partials.test.ts +3 -3
  15. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/errors.ts +2 -2
  16. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/external.ts +1 -0
  17. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/from-json-schema.ts +39 -23
  18. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/parse.ts +6 -6
  19. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/schemas.ts +414 -151
  20. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/assignability.test.ts +6 -0
  21. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/catch.test.ts +50 -0
  22. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/codec.test.ts +142 -1
  23. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/continuability.test.ts +1 -1
  24. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/datetime.test.ts +1 -1
  25. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/default.test.ts +44 -0
  26. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +197 -0
  27. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/discriminated-unions.test.ts +34 -1
  28. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/error-utils.test.ts +214 -2
  29. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/from-json-schema.test.ts +161 -0
  30. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/function.test.ts +6 -6
  31. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +39 -0
  32. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/index.test.ts +2 -2
  33. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +46 -0
  34. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
  35. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
  36. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/number.test.ts +55 -0
  37. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/object.test.ts +83 -6
  38. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/optional.test.ts +114 -4
  39. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/partial.test.ts +24 -1
  40. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/prefault.test.ts +1 -1
  41. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +26 -0
  42. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/preprocess.test.ts +69 -0
  43. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/record.test.ts +85 -0
  44. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/recursive-types.test.ts +49 -0
  45. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/refine.test.ts +63 -0
  46. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/string.test.ts +50 -1
  47. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/template-literal.test.ts +4 -4
  48. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/to-json-schema.test.ts +150 -15
  49. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/transform.test.ts +17 -0
  50. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +496 -0
  51. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/union.test.ts +54 -0
  52. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/api.ts +31 -6
  53. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/checks.ts +1 -1
  54. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/core.ts +17 -2
  55. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/errors.ts +31 -24
  56. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/json-schema-processors.ts +17 -18
  57. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/parse.ts +7 -7
  58. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/regexes.ts +8 -1
  59. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/schemas.ts +263 -71
  60. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +215 -0
  61. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
  62. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
  63. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/tests/locales/uz.test.ts +22 -0
  64. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/tests/record-constructor.test.ts +58 -0
  65. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/to-json-schema.ts +10 -1
  66. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/util.ts +52 -35
  67. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/versions.ts +2 -2
  68. package/node_modules/zod/src/v4/locales/el.ts +121 -0
  69. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/en.ts +4 -0
  70. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/fr.ts +24 -8
  71. package/node_modules/zod/src/v4/locales/hr.ts +131 -0
  72. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/index.ts +3 -0
  73. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/it.ts +1 -1
  74. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/ka.ts +8 -8
  75. package/node_modules/zod/src/v4/locales/ro.ts +129 -0
  76. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/uz.ts +1 -0
  77. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/external.ts +1 -0
  78. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/schemas.ts +56 -25
  79. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/codec.test.ts +19 -0
  80. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/index.test.ts +32 -2
  81. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/object.test.ts +9 -9
  82. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/recursive-types.test.ts +51 -1
  83. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/string.test.ts +5 -0
  84. package/node_modules/{@vellumai/local-mode/node_modules/zod/mini → zod/v3}/package.json +2 -1
  85. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/errors.js +2 -2
  86. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/external.d.cts +1 -0
  87. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/external.d.ts +1 -0
  88. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/from-json-schema.cjs +31 -16
  89. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/from-json-schema.js +31 -16
  90. package/node_modules/zod/v4/classic/package.json +7 -0
  91. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/schemas.cjs +358 -119
  92. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/schemas.d.cts +42 -14
  93. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/schemas.d.ts +42 -14
  94. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/schemas.js +356 -118
  95. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/api.cjs +7 -2
  96. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/api.d.cts +26 -5
  97. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/api.d.ts +26 -5
  98. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/api.js +7 -2
  99. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/checks.d.cts +1 -1
  100. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/checks.d.ts +1 -1
  101. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/core.cjs +3 -1
  102. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/core.js +4 -2
  103. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/errors.cjs +26 -23
  104. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/errors.d.cts +1 -0
  105. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/errors.d.ts +1 -0
  106. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/errors.js +26 -23
  107. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/json-schema-processors.cjs +16 -20
  108. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/json-schema-processors.js +16 -20
  109. package/node_modules/zod/v4/core/package.json +7 -0
  110. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/parse.cjs +7 -7
  111. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/parse.js +7 -7
  112. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/regexes.cjs +9 -3
  113. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/regexes.d.cts +6 -0
  114. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/regexes.d.ts +6 -0
  115. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/regexes.js +7 -1
  116. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/schemas.cjs +211 -65
  117. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/schemas.d.cts +39 -1
  118. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/schemas.d.ts +39 -1
  119. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/schemas.js +210 -64
  120. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/to-json-schema.cjs +12 -1
  121. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/to-json-schema.js +12 -1
  122. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/util.cjs +54 -30
  123. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/util.d.cts +1 -0
  124. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/util.d.ts +1 -0
  125. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/util.js +55 -32
  126. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/versions.cjs +2 -2
  127. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/versions.d.cts +1 -1
  128. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/versions.d.ts +1 -1
  129. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/versions.js +2 -2
  130. package/node_modules/zod/v4/locales/el.cjs +136 -0
  131. package/node_modules/zod/v4/locales/el.js +109 -0
  132. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/en.cjs +4 -0
  133. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/en.js +4 -0
  134. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/fr.cjs +24 -7
  135. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/fr.js +24 -7
  136. package/node_modules/zod/v4/locales/hr.cjs +149 -0
  137. package/node_modules/zod/v4/locales/hr.js +122 -0
  138. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/index.cjs +8 -1
  139. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/index.d.cts +3 -0
  140. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/index.d.ts +3 -0
  141. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/index.js +3 -0
  142. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/it.cjs +1 -1
  143. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/it.js +1 -1
  144. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ka.cjs +8 -8
  145. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ka.js +8 -8
  146. package/node_modules/zod/v4/locales/package.json +7 -0
  147. package/node_modules/zod/v4/locales/ro.cjs +146 -0
  148. package/node_modules/zod/v4/locales/ro.js +119 -0
  149. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/uz.cjs +1 -0
  150. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/uz.js +1 -0
  151. package/node_modules/zod/v4/locales/yo.d.cts +5 -0
  152. package/node_modules/zod/v4/locales/yo.d.ts +4 -0
  153. package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
  154. package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
  155. package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
  156. package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
  157. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/external.d.cts +1 -0
  158. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/external.d.ts +1 -0
  159. package/node_modules/zod/v4/mini/package.json +7 -0
  160. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/schemas.cjs +41 -4
  161. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/schemas.d.cts +28 -10
  162. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/schemas.d.ts +28 -10
  163. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/schemas.js +40 -4
  164. package/node_modules/zod/v4/package.json +7 -0
  165. package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4-mini/package.json +2 -1
  166. package/package.json +2 -1
  167. package/src/__tests__/recover.test.ts +1 -5
  168. package/src/__tests__/upgrade-local.test.ts +0 -4
  169. package/src/commands/restore.ts +8 -31
  170. package/src/commands/upgrade.ts +2 -33
  171. package/src/commands/wake.ts +2 -80
  172. package/src/lib/backup-ops.ts +36 -59
  173. package/src/lib/docker.ts +25 -60
  174. package/src/lib/http-client.ts +11 -107
  175. package/src/lib/local.ts +74 -157
  176. package/src/lib/process.ts +30 -70
  177. package/src/lib/upgrade-lifecycle.ts +25 -129
  178. package/tsconfig.json +1 -1
  179. package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/package.json +0 -18
  180. package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/src/__tests__/package-boundary.test.ts +0 -95
  181. package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/src/index.ts +0 -11
  182. package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/src/seeds.ts +0 -70
  183. package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/src/types.ts +0 -70
  184. package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/tsconfig.json +0 -20
  185. package/node_modules/@vellumai/local-mode/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -183
  186. package/node_modules/@vellumai/local-mode/node_modules/zod/v4/classic/package.json +0 -6
  187. package/node_modules/@vellumai/local-mode/node_modules/zod/v4/core/package.json +0 -6
  188. package/node_modules/@vellumai/local-mode/node_modules/zod/v4/locales/package.json +0 -6
  189. package/node_modules/@vellumai/local-mode/node_modules/zod/v4/mini/package.json +0 -6
  190. package/node_modules/@vellumai/local-mode/node_modules/zod/v4/package.json +0 -6
  191. package/src/__tests__/daemon-readiness-probe.test.ts +0 -158
  192. package/src/__tests__/upgrade-wait-for-ready.test.ts +0 -103
  193. package/src/lib/__tests__/local-ces.test.ts +0 -104
  194. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/LICENSE +0 -0
  195. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/index.cjs +0 -0
  196. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/index.d.cts +0 -0
  197. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/index.d.ts +0 -0
  198. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/index.js +0 -0
  199. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/locales/index.cjs +0 -0
  200. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/locales/index.d.cts +0 -0
  201. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/locales/index.d.ts +0 -0
  202. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/locales/index.js +0 -0
  203. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/mini/index.cjs +0 -0
  204. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/mini/index.d.cts +0 -0
  205. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/mini/index.d.ts +0 -0
  206. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/mini/index.js +0 -0
  207. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/index.ts +0 -0
  208. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/locales/index.ts +0 -0
  209. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/mini/index.ts +0 -0
  210. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/ZodError.ts +0 -0
  211. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/benchmarks/datetime.ts +0 -0
  212. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/benchmarks/discriminatedUnion.ts +0 -0
  213. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/benchmarks/index.ts +0 -0
  214. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/benchmarks/ipv4.ts +0 -0
  215. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/benchmarks/object.ts +0 -0
  216. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/benchmarks/primitives.ts +0 -0
  217. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/benchmarks/realworld.ts +0 -0
  218. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/benchmarks/string.ts +0 -0
  219. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/benchmarks/union.ts +0 -0
  220. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/errors.ts +0 -0
  221. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/external.ts +0 -0
  222. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/helpers/enumUtil.ts +0 -0
  223. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/helpers/errorUtil.ts +0 -0
  224. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/helpers/parseUtil.ts +0 -0
  225. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/helpers/partialUtil.ts +0 -0
  226. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/helpers/typeAliases.ts +0 -0
  227. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/helpers/util.ts +0 -0
  228. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/index.ts +0 -0
  229. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/locales/en.ts +0 -0
  230. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/standard-schema.ts +0 -0
  231. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/Mocker.ts +0 -0
  232. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/anyunknown.test.ts +0 -0
  233. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/array.test.ts +0 -0
  234. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/async-parsing.test.ts +0 -0
  235. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/async-refinements.test.ts +0 -0
  236. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/base.test.ts +0 -0
  237. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/bigint.test.ts +0 -0
  238. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/branded.test.ts +0 -0
  239. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/catch.test.ts +0 -0
  240. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/coerce.test.ts +0 -0
  241. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/complex.test.ts +0 -0
  242. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/custom.test.ts +0 -0
  243. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/date.test.ts +0 -0
  244. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/deepmasking.test.ts +0 -0
  245. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/default.test.ts +0 -0
  246. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/description.test.ts +0 -0
  247. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/discriminated-unions.test.ts +0 -0
  248. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/enum.test.ts +0 -0
  249. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/error.test.ts +0 -0
  250. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/firstparty.test.ts +0 -0
  251. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/firstpartyschematypes.test.ts +0 -0
  252. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/function.test.ts +0 -0
  253. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/generics.test.ts +0 -0
  254. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/instanceof.test.ts +0 -0
  255. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/intersection.test.ts +0 -0
  256. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/language-server.source.ts +0 -0
  257. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/language-server.test.ts +0 -0
  258. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/literal.test.ts +0 -0
  259. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/map.test.ts +0 -0
  260. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/masking.test.ts +0 -0
  261. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/mocker.test.ts +0 -0
  262. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/nan.test.ts +0 -0
  263. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/nativeEnum.test.ts +0 -0
  264. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/nullable.test.ts +0 -0
  265. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/number.test.ts +0 -0
  266. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/object-augmentation.test.ts +0 -0
  267. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/object-in-es5-env.test.ts +0 -0
  268. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/optional.test.ts +0 -0
  269. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/parseUtil.test.ts +0 -0
  270. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/parser.test.ts +0 -0
  271. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/pickomit.test.ts +0 -0
  272. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/pipeline.test.ts +0 -0
  273. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/preprocess.test.ts +0 -0
  274. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/primitive.test.ts +0 -0
  275. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/promise.test.ts +0 -0
  276. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/readonly.test.ts +0 -0
  277. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/record.test.ts +0 -0
  278. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/recursive.test.ts +0 -0
  279. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/refine.test.ts +0 -0
  280. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/safeparse.test.ts +0 -0
  281. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/set.test.ts +0 -0
  282. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/standard-schema.test.ts +0 -0
  283. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/string.test.ts +0 -0
  284. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/transformer.test.ts +0 -0
  285. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/tuple.test.ts +0 -0
  286. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/unions.test.ts +0 -0
  287. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/validations.test.ts +0 -0
  288. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/void.test.ts +0 -0
  289. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/types.ts +0 -0
  290. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/checks.ts +0 -0
  291. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/coerce.ts +0 -0
  292. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/compat.ts +0 -0
  293. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/index.ts +0 -0
  294. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/iso.ts +0 -0
  295. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/anyunknown.test.ts +0 -0
  296. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/apply.test.ts +0 -0
  297. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/array.test.ts +0 -0
  298. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/async-parsing.test.ts +0 -0
  299. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/async-refinements.test.ts +0 -0
  300. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/base.test.ts +0 -0
  301. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/bigint.test.ts +0 -0
  302. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/brand.test.ts +0 -0
  303. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/coalesce.test.ts +0 -0
  304. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/codec-examples.test.ts +0 -0
  305. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/coerce.test.ts +0 -0
  306. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/custom.test.ts +0 -0
  307. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/date.test.ts +0 -0
  308. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/describe-meta-checks.test.ts +0 -0
  309. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/description.test.ts +0 -0
  310. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/enum.test.ts +0 -0
  311. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/error.test.ts +0 -0
  312. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/file.test.ts +0 -0
  313. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/firstparty.test.ts +0 -0
  314. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/fix-json-issue.test.ts +0 -0
  315. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/generics.test.ts +0 -0
  316. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/hash.test.ts +0 -0
  317. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/instanceof.test.ts +0 -0
  318. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/intersection.test.ts +0 -0
  319. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/json.test.ts +0 -0
  320. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/lazy.test.ts +0 -0
  321. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/literal.test.ts +0 -0
  322. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/map.test.ts +0 -0
  323. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/nan.test.ts +0 -0
  324. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/nested-refine.test.ts +0 -0
  325. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/nonoptional.test.ts +0 -0
  326. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/nullable.test.ts +0 -0
  327. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/pickomit.test.ts +0 -0
  328. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/pipe.test.ts +0 -0
  329. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/primitive.test.ts +0 -0
  330. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/promise.test.ts +0 -0
  331. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/prototypes.test.ts +0 -0
  332. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/readonly.test.ts +0 -0
  333. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/registries.test.ts +0 -0
  334. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/set.test.ts +0 -0
  335. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/standard-schema.test.ts +0 -0
  336. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/string-formats.test.ts +0 -0
  337. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/stringbool.test.ts +0 -0
  338. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -0
  339. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/url.test.ts +0 -0
  340. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/validations.test.ts +0 -0
  341. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/void.test.ts +0 -0
  342. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/config.ts +0 -0
  343. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/doc.ts +0 -0
  344. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/index.ts +0 -0
  345. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/json-schema-generator.ts +0 -0
  346. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/json-schema.ts +0 -0
  347. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/registries.ts +0 -0
  348. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/standard-schema.ts +0 -0
  349. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/tests/extend.test.ts +0 -0
  350. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/tests/index.test.ts +0 -0
  351. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/tests/locales/be.test.ts +0 -0
  352. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/tests/locales/en.test.ts +0 -0
  353. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/tests/locales/es.test.ts +0 -0
  354. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/tests/locales/he.test.ts +0 -0
  355. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/tests/locales/nl.test.ts +0 -0
  356. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/tests/locales/ru.test.ts +0 -0
  357. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/tests/locales/tr.test.ts +0 -0
  358. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/tests/recursive-tuples.test.ts +0 -0
  359. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/zsf.ts +0 -0
  360. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/index.ts +0 -0
  361. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/ar.ts +0 -0
  362. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/az.ts +0 -0
  363. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/be.ts +0 -0
  364. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/bg.ts +0 -0
  365. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/ca.ts +0 -0
  366. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/cs.ts +0 -0
  367. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/da.ts +0 -0
  368. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/de.ts +0 -0
  369. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/eo.ts +0 -0
  370. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/es.ts +0 -0
  371. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/fa.ts +0 -0
  372. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/fi.ts +0 -0
  373. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/fr-CA.ts +0 -0
  374. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/he.ts +0 -0
  375. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/hu.ts +0 -0
  376. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/hy.ts +0 -0
  377. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/id.ts +0 -0
  378. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/is.ts +0 -0
  379. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/ja.ts +0 -0
  380. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/kh.ts +0 -0
  381. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/km.ts +0 -0
  382. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/ko.ts +0 -0
  383. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/lt.ts +0 -0
  384. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/mk.ts +0 -0
  385. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/ms.ts +0 -0
  386. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/nl.ts +0 -0
  387. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/no.ts +0 -0
  388. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/ota.ts +0 -0
  389. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/pl.ts +0 -0
  390. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/ps.ts +0 -0
  391. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/pt.ts +0 -0
  392. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/ru.ts +0 -0
  393. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/sl.ts +0 -0
  394. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/sv.ts +0 -0
  395. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/ta.ts +0 -0
  396. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/th.ts +0 -0
  397. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/tr.ts +0 -0
  398. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/ua.ts +0 -0
  399. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/uk.ts +0 -0
  400. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/ur.ts +0 -0
  401. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/vi.ts +0 -0
  402. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/yo.ts +0 -0
  403. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/zh-CN.ts +0 -0
  404. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/zh-TW.ts +0 -0
  405. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/checks.ts +0 -0
  406. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/coerce.ts +0 -0
  407. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/index.ts +0 -0
  408. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/iso.ts +0 -0
  409. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/parse.ts +0 -0
  410. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/apply.test.ts +0 -0
  411. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/assignability.test.ts +0 -0
  412. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/brand.test.ts +0 -0
  413. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/checks.test.ts +0 -0
  414. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/computed.test.ts +0 -0
  415. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/error.test.ts +0 -0
  416. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/functions.test.ts +0 -0
  417. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/number.test.ts +0 -0
  418. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/prototypes.test.ts +0 -0
  419. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/standard-schema.test.ts +0 -0
  420. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4-mini/index.ts +0 -0
  421. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/ZodError.cjs +0 -0
  422. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/ZodError.d.cts +0 -0
  423. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/ZodError.d.ts +0 -0
  424. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/ZodError.js +0 -0
  425. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/errors.cjs +0 -0
  426. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/errors.d.cts +0 -0
  427. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/errors.d.ts +0 -0
  428. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/errors.js +0 -0
  429. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/external.cjs +0 -0
  430. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/external.d.cts +0 -0
  431. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/external.d.ts +0 -0
  432. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/external.js +0 -0
  433. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/enumUtil.cjs +0 -0
  434. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/enumUtil.d.cts +0 -0
  435. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/enumUtil.d.ts +0 -0
  436. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/enumUtil.js +0 -0
  437. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/errorUtil.cjs +0 -0
  438. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/errorUtil.d.cts +0 -0
  439. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/errorUtil.d.ts +0 -0
  440. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/errorUtil.js +0 -0
  441. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/parseUtil.cjs +0 -0
  442. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/parseUtil.d.cts +0 -0
  443. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/parseUtil.d.ts +0 -0
  444. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/parseUtil.js +0 -0
  445. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/partialUtil.cjs +0 -0
  446. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/partialUtil.d.cts +0 -0
  447. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/partialUtil.d.ts +0 -0
  448. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/partialUtil.js +0 -0
  449. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/typeAliases.cjs +0 -0
  450. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/typeAliases.d.cts +0 -0
  451. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/typeAliases.d.ts +0 -0
  452. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/typeAliases.js +0 -0
  453. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/util.cjs +0 -0
  454. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/util.d.cts +0 -0
  455. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/util.d.ts +0 -0
  456. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/util.js +0 -0
  457. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/index.cjs +0 -0
  458. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/index.d.cts +0 -0
  459. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/index.d.ts +0 -0
  460. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/index.js +0 -0
  461. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/locales/en.cjs +0 -0
  462. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/locales/en.d.cts +0 -0
  463. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/locales/en.d.ts +0 -0
  464. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/locales/en.js +0 -0
  465. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/standard-schema.cjs +0 -0
  466. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/standard-schema.d.cts +0 -0
  467. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/standard-schema.d.ts +0 -0
  468. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/standard-schema.js +0 -0
  469. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/types.cjs +0 -0
  470. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/types.d.cts +0 -0
  471. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/types.d.ts +0 -0
  472. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/types.js +0 -0
  473. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/checks.cjs +0 -0
  474. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/checks.d.cts +0 -0
  475. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/checks.d.ts +0 -0
  476. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/checks.js +0 -0
  477. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/coerce.cjs +0 -0
  478. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/coerce.d.cts +0 -0
  479. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/coerce.d.ts +0 -0
  480. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/coerce.js +0 -0
  481. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/compat.cjs +0 -0
  482. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/compat.d.cts +0 -0
  483. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/compat.d.ts +0 -0
  484. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/compat.js +0 -0
  485. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/errors.cjs +0 -0
  486. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/errors.d.cts +0 -0
  487. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/errors.d.ts +0 -0
  488. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/external.cjs +0 -0
  489. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/external.js +0 -0
  490. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/from-json-schema.d.cts +0 -0
  491. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/from-json-schema.d.ts +0 -0
  492. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/index.cjs +0 -0
  493. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/index.d.cts +0 -0
  494. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/index.d.ts +0 -0
  495. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/index.js +0 -0
  496. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/iso.cjs +0 -0
  497. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/iso.d.cts +0 -0
  498. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/iso.d.ts +0 -0
  499. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/iso.js +0 -0
  500. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/parse.cjs +0 -0
  501. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/parse.d.cts +0 -0
  502. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/parse.d.ts +0 -0
  503. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/parse.js +0 -0
  504. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/checks.cjs +0 -0
  505. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/checks.js +0 -0
  506. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/core.d.cts +0 -0
  507. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/core.d.ts +0 -0
  508. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/doc.cjs +0 -0
  509. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/doc.d.cts +0 -0
  510. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/doc.d.ts +0 -0
  511. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/doc.js +0 -0
  512. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/index.cjs +0 -0
  513. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/index.d.cts +0 -0
  514. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/index.d.ts +0 -0
  515. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/index.js +0 -0
  516. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/json-schema-generator.cjs +0 -0
  517. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/json-schema-generator.d.cts +0 -0
  518. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/json-schema-generator.d.ts +0 -0
  519. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/json-schema-generator.js +0 -0
  520. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/json-schema-processors.d.cts +0 -0
  521. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/json-schema-processors.d.ts +0 -0
  522. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/json-schema.cjs +0 -0
  523. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/json-schema.d.cts +0 -0
  524. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/json-schema.d.ts +0 -0
  525. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/json-schema.js +0 -0
  526. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/parse.d.cts +0 -0
  527. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/parse.d.ts +0 -0
  528. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/registries.cjs +0 -0
  529. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/registries.d.cts +0 -0
  530. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/registries.d.ts +0 -0
  531. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/registries.js +0 -0
  532. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/standard-schema.cjs +0 -0
  533. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/standard-schema.d.cts +0 -0
  534. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/standard-schema.d.ts +0 -0
  535. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/standard-schema.js +0 -0
  536. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/to-json-schema.d.cts +0 -0
  537. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/to-json-schema.d.ts +0 -0
  538. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/index.cjs +0 -0
  539. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/index.d.cts +0 -0
  540. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/index.d.ts +0 -0
  541. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/index.js +0 -0
  542. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ar.cjs +0 -0
  543. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ar.d.cts +0 -0
  544. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ar.d.ts +0 -0
  545. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ar.js +0 -0
  546. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/az.cjs +0 -0
  547. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/az.d.cts +0 -0
  548. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/az.d.ts +0 -0
  549. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/az.js +0 -0
  550. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/be.cjs +0 -0
  551. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/be.d.cts +0 -0
  552. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/be.d.ts +0 -0
  553. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/be.js +0 -0
  554. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/bg.cjs +0 -0
  555. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/bg.d.cts +0 -0
  556. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/bg.d.ts +0 -0
  557. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/bg.js +0 -0
  558. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ca.cjs +0 -0
  559. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ca.d.cts +0 -0
  560. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ca.d.ts +0 -0
  561. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ca.js +0 -0
  562. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/cs.cjs +0 -0
  563. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/cs.d.cts +0 -0
  564. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/cs.d.ts +0 -0
  565. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/cs.js +0 -0
  566. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/da.cjs +0 -0
  567. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/da.d.cts +0 -0
  568. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/da.d.ts +0 -0
  569. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/da.js +0 -0
  570. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/de.cjs +0 -0
  571. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/de.d.cts +0 -0
  572. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/de.d.ts +0 -0
  573. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/de.js +0 -0
  574. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/en.d.cts → zod/v4/locales/el.d.cts} +0 -0
  575. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/en.d.ts → zod/v4/locales/el.d.ts} +0 -0
  576. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/eo.d.cts → zod/v4/locales/en.d.cts} +0 -0
  577. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/eo.d.ts → zod/v4/locales/en.d.ts} +0 -0
  578. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/eo.cjs +0 -0
  579. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/es.d.cts → zod/v4/locales/eo.d.cts} +0 -0
  580. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/es.d.ts → zod/v4/locales/eo.d.ts} +0 -0
  581. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/eo.js +0 -0
  582. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/es.cjs +0 -0
  583. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/fa.d.cts → zod/v4/locales/es.d.cts} +0 -0
  584. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/fa.d.ts → zod/v4/locales/es.d.ts} +0 -0
  585. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/es.js +0 -0
  586. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/fa.cjs +0 -0
  587. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/fi.d.cts → zod/v4/locales/fa.d.cts} +0 -0
  588. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/fi.d.ts → zod/v4/locales/fa.d.ts} +0 -0
  589. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/fa.js +0 -0
  590. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/fi.cjs +0 -0
  591. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/fr-CA.d.cts → zod/v4/locales/fi.d.cts} +0 -0
  592. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/fr-CA.d.ts → zod/v4/locales/fi.d.ts} +0 -0
  593. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/fi.js +0 -0
  594. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/fr-CA.cjs +0 -0
  595. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/fr.d.cts → zod/v4/locales/fr-CA.d.cts} +0 -0
  596. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/fr.d.ts → zod/v4/locales/fr-CA.d.ts} +0 -0
  597. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/fr-CA.js +0 -0
  598. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/he.d.cts → zod/v4/locales/fr.d.cts} +0 -0
  599. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/he.d.ts → zod/v4/locales/fr.d.ts} +0 -0
  600. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/he.cjs +0 -0
  601. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/hu.d.cts → zod/v4/locales/he.d.cts} +0 -0
  602. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/hu.d.ts → zod/v4/locales/he.d.ts} +0 -0
  603. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/he.js +0 -0
  604. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/hy.d.cts → zod/v4/locales/hr.d.cts} +0 -0
  605. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/hy.d.ts → zod/v4/locales/hr.d.ts} +0 -0
  606. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/hu.cjs +0 -0
  607. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/id.d.cts → zod/v4/locales/hu.d.cts} +0 -0
  608. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/id.d.ts → zod/v4/locales/hu.d.ts} +0 -0
  609. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/hu.js +0 -0
  610. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/hy.cjs +0 -0
  611. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/is.d.cts → zod/v4/locales/hy.d.cts} +0 -0
  612. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/is.d.ts → zod/v4/locales/hy.d.ts} +0 -0
  613. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/hy.js +0 -0
  614. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/id.cjs +0 -0
  615. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/it.d.cts → zod/v4/locales/id.d.cts} +0 -0
  616. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/it.d.ts → zod/v4/locales/id.d.ts} +0 -0
  617. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/id.js +0 -0
  618. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/is.cjs +0 -0
  619. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ja.d.cts → zod/v4/locales/is.d.cts} +0 -0
  620. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ja.d.ts → zod/v4/locales/is.d.ts} +0 -0
  621. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/is.js +0 -0
  622. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ka.d.cts → zod/v4/locales/it.d.cts} +0 -0
  623. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ka.d.ts → zod/v4/locales/it.d.ts} +0 -0
  624. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ja.cjs +0 -0
  625. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/kh.d.cts → zod/v4/locales/ja.d.cts} +0 -0
  626. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/km.d.ts → zod/v4/locales/ja.d.ts} +0 -0
  627. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ja.js +0 -0
  628. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/km.d.cts → zod/v4/locales/ka.d.cts} +0 -0
  629. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ko.d.ts → zod/v4/locales/ka.d.ts} +0 -0
  630. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/kh.cjs +0 -0
  631. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ko.d.cts → zod/v4/locales/kh.d.cts} +0 -0
  632. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/kh.d.ts +0 -0
  633. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/kh.js +0 -0
  634. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/km.cjs +0 -0
  635. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/lt.d.cts → zod/v4/locales/km.d.cts} +0 -0
  636. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/lt.d.ts → zod/v4/locales/km.d.ts} +0 -0
  637. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/km.js +0 -0
  638. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ko.cjs +0 -0
  639. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/mk.d.cts → zod/v4/locales/ko.d.cts} +0 -0
  640. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/mk.d.ts → zod/v4/locales/ko.d.ts} +0 -0
  641. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ko.js +0 -0
  642. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/lt.cjs +0 -0
  643. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ms.d.cts → zod/v4/locales/lt.d.cts} +0 -0
  644. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ms.d.ts → zod/v4/locales/lt.d.ts} +0 -0
  645. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/lt.js +0 -0
  646. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/mk.cjs +0 -0
  647. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/nl.d.cts → zod/v4/locales/mk.d.cts} +0 -0
  648. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/nl.d.ts → zod/v4/locales/mk.d.ts} +0 -0
  649. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/mk.js +0 -0
  650. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ms.cjs +0 -0
  651. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/no.d.cts → zod/v4/locales/ms.d.cts} +0 -0
  652. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/no.d.ts → zod/v4/locales/ms.d.ts} +0 -0
  653. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ms.js +0 -0
  654. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/nl.cjs +0 -0
  655. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ota.d.cts → zod/v4/locales/nl.d.cts} +0 -0
  656. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ota.d.ts → zod/v4/locales/nl.d.ts} +0 -0
  657. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/nl.js +0 -0
  658. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/no.cjs +0 -0
  659. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/pl.d.cts → zod/v4/locales/no.d.cts} +0 -0
  660. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/pl.d.ts → zod/v4/locales/no.d.ts} +0 -0
  661. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/no.js +0 -0
  662. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ota.cjs +0 -0
  663. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ps.d.cts → zod/v4/locales/ota.d.cts} +0 -0
  664. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ps.d.ts → zod/v4/locales/ota.d.ts} +0 -0
  665. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ota.js +0 -0
  666. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/pl.cjs +0 -0
  667. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/pt.d.cts → zod/v4/locales/pl.d.cts} +0 -0
  668. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/pt.d.ts → zod/v4/locales/pl.d.ts} +0 -0
  669. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/pl.js +0 -0
  670. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ps.cjs +0 -0
  671. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ru.d.cts → zod/v4/locales/ps.d.cts} +0 -0
  672. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ru.d.ts → zod/v4/locales/ps.d.ts} +0 -0
  673. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ps.js +0 -0
  674. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/pt.cjs +0 -0
  675. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/sl.d.cts → zod/v4/locales/pt.d.cts} +0 -0
  676. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/sl.d.ts → zod/v4/locales/pt.d.ts} +0 -0
  677. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/pt.js +0 -0
  678. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/sv.d.cts → zod/v4/locales/ro.d.cts} +0 -0
  679. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/sv.d.ts → zod/v4/locales/ro.d.ts} +0 -0
  680. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ru.cjs +0 -0
  681. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ta.d.cts → zod/v4/locales/ru.d.cts} +0 -0
  682. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ta.d.ts → zod/v4/locales/ru.d.ts} +0 -0
  683. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ru.js +0 -0
  684. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/sl.cjs +0 -0
  685. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/th.d.cts → zod/v4/locales/sl.d.cts} +0 -0
  686. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/th.d.ts → zod/v4/locales/sl.d.ts} +0 -0
  687. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/sl.js +0 -0
  688. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/sv.cjs +0 -0
  689. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/tr.d.cts → zod/v4/locales/sv.d.cts} +0 -0
  690. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/tr.d.ts → zod/v4/locales/sv.d.ts} +0 -0
  691. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/sv.js +0 -0
  692. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ta.cjs +0 -0
  693. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ua.d.cts → zod/v4/locales/ta.d.cts} +0 -0
  694. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/uk.d.ts → zod/v4/locales/ta.d.ts} +0 -0
  695. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ta.js +0 -0
  696. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/th.cjs +0 -0
  697. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/uk.d.cts → zod/v4/locales/th.d.cts} +0 -0
  698. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ur.d.ts → zod/v4/locales/th.d.ts} +0 -0
  699. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/th.js +0 -0
  700. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/tr.cjs +0 -0
  701. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ur.d.cts → zod/v4/locales/tr.d.cts} +0 -0
  702. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/uz.d.ts → zod/v4/locales/tr.d.ts} +0 -0
  703. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/tr.js +0 -0
  704. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ua.cjs +0 -0
  705. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/uz.d.cts → zod/v4/locales/ua.d.cts} +0 -0
  706. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ua.d.ts +0 -0
  707. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ua.js +0 -0
  708. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/uk.cjs +0 -0
  709. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/vi.d.cts → zod/v4/locales/uk.d.cts} +0 -0
  710. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/vi.d.ts → zod/v4/locales/uk.d.ts} +0 -0
  711. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/uk.js +0 -0
  712. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ur.cjs +0 -0
  713. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/yo.d.cts → zod/v4/locales/ur.d.cts} +0 -0
  714. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/yo.d.ts → zod/v4/locales/ur.d.ts} +0 -0
  715. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ur.js +0 -0
  716. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/zh-CN.d.cts → zod/v4/locales/uz.d.cts} +0 -0
  717. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/zh-CN.d.ts → zod/v4/locales/uz.d.ts} +0 -0
  718. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/vi.cjs +0 -0
  719. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/zh-TW.d.cts → zod/v4/locales/vi.d.cts} +0 -0
  720. /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/zh-TW.d.ts → zod/v4/locales/vi.d.ts} +0 -0
  721. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/vi.js +0 -0
  722. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/yo.cjs +0 -0
  723. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/yo.js +0 -0
  724. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/zh-CN.cjs +0 -0
  725. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/zh-CN.js +0 -0
  726. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/zh-TW.cjs +0 -0
  727. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/zh-TW.js +0 -0
  728. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/checks.cjs +0 -0
  729. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/checks.d.cts +0 -0
  730. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/checks.d.ts +0 -0
  731. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/checks.js +0 -0
  732. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/coerce.cjs +0 -0
  733. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/coerce.d.cts +0 -0
  734. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/coerce.d.ts +0 -0
  735. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/coerce.js +0 -0
  736. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/external.cjs +0 -0
  737. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/external.js +0 -0
  738. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/index.cjs +0 -0
  739. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/index.d.cts +0 -0
  740. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/index.d.ts +0 -0
  741. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/index.js +0 -0
  742. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/iso.cjs +0 -0
  743. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/iso.d.cts +0 -0
  744. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/iso.d.ts +0 -0
  745. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/iso.js +0 -0
  746. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/parse.cjs +0 -0
  747. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/parse.d.cts +0 -0
  748. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/parse.d.ts +0 -0
  749. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/parse.js +0 -0
  750. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4-mini/index.cjs +0 -0
  751. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4-mini/index.d.cts +0 -0
  752. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4-mini/index.d.ts +0 -0
  753. /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4-mini/index.js +0 -0
@@ -34,8 +34,13 @@ export interface ParseContextInternal<T extends errors.$ZodIssueBase = never> ex
34
34
  export interface ParsePayload<T = unknown> {
35
35
  value: T;
36
36
  issues: errors.$ZodRawIssue[];
37
- /** A may to mark a whole payload as aborted. Used in codecs/pipes. */
37
+ /** A way to mark a whole payload as aborted. Used in codecs/pipes. */
38
38
  aborted?: boolean;
39
+ /** @internal Marks a value as a fallback that an outer wrapper (e.g.
40
+ * $ZodOptional) may override with its own interpretation when input was
41
+ * undefined. Set by $ZodCatch when catchValue substitutes and by every
42
+ * $ZodTransform invocation. */
43
+ fallback?: boolean | undefined;
39
44
  }
40
45
 
41
46
  export type CheckFn<T> = (input: ParsePayload<T>) => util.MaybeAsync<void>;
@@ -220,6 +225,7 @@ export const $ZodType: core.$constructor<$ZodType> = /*@__PURE__*/ core.$constru
220
225
  let asyncResult!: Promise<unknown> | undefined;
221
226
  for (const ch of checks) {
222
227
  if (ch._zod.def.when) {
228
+ if (util.explicitlyAborted(payload)) continue;
223
229
  const shouldRun = ch._zod.def.when(payload);
224
230
  if (!shouldRun) continue;
225
231
  } else if (isAborted) {
@@ -477,6 +483,23 @@ export const $ZodURL: core.$constructor<$ZodURL> = /*@__PURE__*/ core.$construct
477
483
  try {
478
484
  // Trim whitespace from input
479
485
  const trimmed = payload.value.trim();
486
+
487
+ // When normalize is off, require :// for http/https URLs
488
+ // This prevents strings like "http:example.com" or "https:/path" from being silently accepted
489
+ if (!def.normalize && def.protocol?.source === regexes.httpProtocol.source) {
490
+ if (!/^https?:\/\//i.test(trimmed)) {
491
+ payload.issues.push({
492
+ code: "invalid_format",
493
+ format: "url",
494
+ note: "Invalid URL format",
495
+ input: payload.value,
496
+ inst,
497
+ continue: !def.abort,
498
+ });
499
+ return;
500
+ }
501
+ }
502
+
480
503
  // @ts-ignore
481
504
  const url = new URL(trimmed);
482
505
 
@@ -568,13 +591,33 @@ export const $ZodNanoID: core.$constructor<$ZodNanoID> = /*@__PURE__*/ core.$con
568
591
 
569
592
  ////////////////////////////// ZodCUID //////////////////////////////
570
593
 
594
+ /**
595
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
596
+ * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
597
+ * See https://github.com/paralleldrive/cuid.
598
+ */
571
599
  export interface $ZodCUIDDef extends $ZodStringFormatDef<"cuid"> {}
600
+ /**
601
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
602
+ * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
603
+ * See https://github.com/paralleldrive/cuid.
604
+ */
572
605
  export interface $ZodCUIDInternals extends $ZodStringFormatInternals<"cuid"> {}
573
606
 
607
+ /**
608
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
609
+ * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
610
+ * See https://github.com/paralleldrive/cuid.
611
+ */
574
612
  export interface $ZodCUID extends $ZodType {
575
613
  _zod: $ZodCUIDInternals;
576
614
  }
577
615
 
616
+ /**
617
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
618
+ * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
619
+ * See https://github.com/paralleldrive/cuid.
620
+ */
578
621
  export const $ZodCUID: core.$constructor<$ZodCUID> = /*@__PURE__*/ core.$constructor("$ZodCUID", (inst, def): void => {
579
622
  def.pattern ??= regexes.cuid;
580
623
  $ZodStringFormat.init(inst, def);
@@ -869,6 +912,8 @@ export const $ZodCIDRv6: core.$constructor<$ZodCIDRv6> = /*@__PURE__*/ core.$con
869
912
  ////////////////////////////// ZodBase64 //////////////////////////////
870
913
  export function isValidBase64(data: string): boolean {
871
914
  if (data === "") return true;
915
+ // atob ignores whitespace, so reject it up front.
916
+ if (/\s/.test(data)) return false;
872
917
  if (data.length % 4 !== 0) return false;
873
918
  try {
874
919
  // @ts-ignore
@@ -1318,8 +1363,6 @@ export const $ZodUndefined: core.$constructor<$ZodUndefined> = /*@__PURE__*/ cor
1318
1363
  $ZodType.init(inst, def);
1319
1364
  inst._zod.pattern = regexes.undefined;
1320
1365
  inst._zod.values = new Set([undefined]);
1321
- inst._zod.optin = "optional";
1322
- inst._zod.optout = "optional";
1323
1366
 
1324
1367
  inst._zod.parse = (payload, _ctx) => {
1325
1368
  const input = payload.value;
@@ -1709,18 +1752,32 @@ function handlePropertyResult(
1709
1752
  final: ParsePayload,
1710
1753
  key: PropertyKey,
1711
1754
  input: any,
1755
+ isOptionalIn: boolean,
1712
1756
  isOptionalOut: boolean
1713
1757
  ) {
1758
+ const isPresent = key in input;
1714
1759
  if (result.issues.length) {
1715
- // For optional-out schemas, ignore errors on absent keys
1716
- if (isOptionalOut && !(key in input)) {
1760
+ // For optional-in/out schemas, ignore errors on absent keys.
1761
+ if (isOptionalIn && isOptionalOut && !isPresent) {
1717
1762
  return;
1718
1763
  }
1719
1764
  final.issues.push(...util.prefixIssues(key, result.issues));
1720
1765
  }
1721
1766
 
1767
+ if (!isPresent && !isOptionalIn) {
1768
+ if (!result.issues.length) {
1769
+ final.issues.push({
1770
+ code: "invalid_type",
1771
+ expected: "nonoptional",
1772
+ input: undefined,
1773
+ path: [key],
1774
+ });
1775
+ }
1776
+ return;
1777
+ }
1778
+
1722
1779
  if (result.value === undefined) {
1723
- if (key in input) {
1780
+ if (isPresent) {
1724
1781
  (final.value as any)[key] = undefined;
1725
1782
  }
1726
1783
  } else {
@@ -1805,12 +1862,15 @@ function handleCatchall(
1805
1862
  inst: $ZodObject
1806
1863
  ) {
1807
1864
  const unrecognized: string[] = [];
1808
- // iterate over input keys
1809
1865
  const keySet = def.keySet;
1810
1866
  const _catchall = def.catchall!._zod;
1811
1867
  const t = _catchall.def.type;
1868
+ const isOptionalIn = _catchall.optin === "optional";
1812
1869
  const isOptionalOut = _catchall.optout === "optional";
1813
1870
  for (const key in input) {
1871
+ // skip __proto__ so it can't replace the result prototype via the
1872
+ // assignment setter on the plain {} we build into
1873
+ if (key === "__proto__") continue;
1814
1874
  if (keySet.has(key)) continue;
1815
1875
  if (t === "never") {
1816
1876
  unrecognized.push(key);
@@ -1819,9 +1879,9 @@ function handleCatchall(
1819
1879
  const r = _catchall.run({ value: input[key], issues: [] }, ctx);
1820
1880
 
1821
1881
  if (r instanceof Promise) {
1822
- proms.push(r.then((r) => handlePropertyResult(r, payload, key, input, isOptionalOut)));
1882
+ proms.push(r.then((r) => handlePropertyResult(r, payload, key, input, isOptionalIn, isOptionalOut)));
1823
1883
  } else {
1824
- handlePropertyResult(r, payload, key, input, isOptionalOut);
1884
+ handlePropertyResult(r, payload, key, input, isOptionalIn, isOptionalOut);
1825
1885
  }
1826
1886
  }
1827
1887
 
@@ -1899,13 +1959,14 @@ export const $ZodObject: core.$constructor<$ZodObject> = /*@__PURE__*/ core.$con
1899
1959
 
1900
1960
  for (const key of value.keys) {
1901
1961
  const el = shape[key]!;
1962
+ const isOptionalIn = el._zod.optin === "optional";
1902
1963
  const isOptionalOut = el._zod.optout === "optional";
1903
1964
 
1904
1965
  const r = el._zod.run({ value: input[key], issues: [] }, ctx);
1905
1966
  if (r instanceof Promise) {
1906
- proms.push(r.then((r) => handlePropertyResult(r, payload, key, input, isOptionalOut)));
1967
+ proms.push(r.then((r) => handlePropertyResult(r, payload, key, input, isOptionalIn, isOptionalOut)));
1907
1968
  } else {
1908
- handlePropertyResult(r, payload, key, input, isOptionalOut);
1969
+ handlePropertyResult(r, payload, key, input, isOptionalIn, isOptionalOut);
1909
1970
  }
1910
1971
  }
1911
1972
 
@@ -1949,12 +2010,13 @@ export const $ZodObjectJIT: core.$constructor<$ZodObject> = /*@__PURE__*/ core.$
1949
2010
  const id = ids[key];
1950
2011
  const k = util.esc(key);
1951
2012
  const schema = shape[key];
2013
+ const isOptionalIn = schema?._zod?.optin === "optional";
1952
2014
  const isOptionalOut = schema?._zod?.optout === "optional";
1953
2015
 
1954
2016
  doc.write(`const ${id} = ${parseStr(key)};`);
1955
2017
 
1956
- if (isOptionalOut) {
1957
- // For optional-out schemas, ignore errors on absent keys
2018
+ if (isOptionalIn && isOptionalOut) {
2019
+ // For optional-in/out schemas, ignore errors on absent keys
1958
2020
  doc.write(`
1959
2021
  if (${id}.issues.length) {
1960
2022
  if (${k} in input) {
@@ -1973,6 +2035,33 @@ export const $ZodObjectJIT: core.$constructor<$ZodObject> = /*@__PURE__*/ core.$
1973
2035
  newResult[${k}] = ${id}.value;
1974
2036
  }
1975
2037
 
2038
+ `);
2039
+ } else if (!isOptionalIn) {
2040
+ doc.write(`
2041
+ const ${id}_present = ${k} in input;
2042
+ if (${id}.issues.length) {
2043
+ payload.issues = payload.issues.concat(${id}.issues.map(iss => ({
2044
+ ...iss,
2045
+ path: iss.path ? [${k}, ...iss.path] : [${k}]
2046
+ })));
2047
+ }
2048
+ if (!${id}_present && !${id}.issues.length) {
2049
+ payload.issues.push({
2050
+ code: "invalid_type",
2051
+ expected: "nonoptional",
2052
+ input: undefined,
2053
+ path: [${k}]
2054
+ });
2055
+ }
2056
+
2057
+ if (${id}_present) {
2058
+ if (${id}.value === undefined) {
2059
+ newResult[${k}] = undefined;
2060
+ } else {
2061
+ newResult[${k}] = ${id}.value;
2062
+ }
2063
+ }
2064
+
1976
2065
  `);
1977
2066
  } else {
1978
2067
  doc.write(`
@@ -2126,11 +2215,10 @@ export const $ZodUnion: core.$constructor<$ZodUnion> = /*@__PURE__*/ core.$const
2126
2215
  return undefined;
2127
2216
  });
2128
2217
 
2129
- const single = def.options.length === 1;
2130
- const first = def.options[0]._zod.run;
2218
+ const first = def.options.length === 1 ? def.options[0]._zod.run : null;
2131
2219
 
2132
2220
  inst._zod.parse = (payload, ctx) => {
2133
- if (single) {
2221
+ if (first) {
2134
2222
  return first(payload, ctx);
2135
2223
  }
2136
2224
  let async = false;
@@ -2206,11 +2294,10 @@ export const $ZodXor: core.$constructor<$ZodXor> = /*@__PURE__*/ core.$construct
2206
2294
  $ZodUnion.init(inst, def);
2207
2295
  def.inclusive = false;
2208
2296
 
2209
- const single = def.options.length === 1;
2210
- const first = def.options[0]._zod.run;
2297
+ const first = def.options.length === 1 ? def.options[0]._zod.run : null;
2211
2298
 
2212
2299
  inst._zod.parse = (payload, ctx) => {
2213
- if (single) {
2300
+ if (first) {
2214
2301
  return first(payload, ctx);
2215
2302
  }
2216
2303
  let async = false;
@@ -2329,17 +2416,21 @@ export const $ZodDiscriminatedUnion: core.$constructor<$ZodDiscriminatedUnion> =
2329
2416
  return opt._zod.run(payload, ctx) as any;
2330
2417
  }
2331
2418
 
2332
- if (def.unionFallback) {
2419
+ // Fall back to union matching when the fast discriminator path fails:
2420
+ // - explicitly enabled via unionFallback, or
2421
+ // - during backward direction (encode), since codec-based discriminators
2422
+ // have different values in forward vs backward directions
2423
+ if (def.unionFallback || ctx.direction === "backward") {
2333
2424
  return _super(payload, ctx);
2334
2425
  }
2335
2426
 
2336
2427
  // no matching discriminator
2337
2428
  payload.issues.push({
2338
2429
  code: "invalid_union",
2339
-
2340
2430
  errors: [],
2341
2431
  note: "No matching discriminator",
2342
2432
  discriminator: def.discriminator,
2433
+ options: Array.from(disc.value.keys()),
2343
2434
  input,
2344
2435
  path: [def.discriminator],
2345
2436
  inst,
@@ -2591,70 +2682,79 @@ export const $ZodTuple: core.$constructor<$ZodTuple> = /*@__PURE__*/ core.$const
2591
2682
  payload.value = [];
2592
2683
  const proms: Promise<any>[] = [];
2593
2684
 
2594
- const reversedIndex = [...items].reverse().findIndex((item) => item._zod.optin !== "optional");
2595
- const optStart = reversedIndex === -1 ? 0 : items.length - reversedIndex;
2685
+ const optinStart = getTupleOptStart(items, "optin");
2686
+ const optoutStart = getTupleOptStart(items, "optout");
2596
2687
 
2597
2688
  if (!def.rest) {
2598
- const tooBig = input.length > items.length;
2599
- const tooSmall = input.length < optStart - 1;
2600
- if (tooBig || tooSmall) {
2689
+ if (input.length < optinStart) {
2601
2690
  payload.issues.push({
2602
- ...(tooBig
2603
- ? { code: "too_big", maximum: items.length, inclusive: true }
2604
- : { code: "too_small", minimum: items.length }),
2605
-
2691
+ code: "too_small",
2692
+ minimum: optinStart,
2693
+ inclusive: true,
2606
2694
  input,
2607
2695
  inst,
2608
2696
  origin: "array" as const,
2609
2697
  });
2610
2698
  return payload;
2611
2699
  }
2700
+ if (input.length > items.length) {
2701
+ payload.issues.push({
2702
+ code: "too_big",
2703
+ maximum: items.length,
2704
+ inclusive: true,
2705
+ input,
2706
+ inst,
2707
+ origin: "array" as const,
2708
+ });
2709
+ }
2612
2710
  }
2613
2711
 
2614
- let i = -1;
2615
- for (const item of items) {
2616
- i++;
2617
- if (i >= input.length) if (i >= optStart) continue;
2618
- const result = item._zod.run(
2619
- {
2620
- value: input[i],
2621
- issues: [],
2622
- },
2623
- ctx
2624
- );
2625
-
2626
- if (result instanceof Promise) {
2627
- proms.push(result.then((result) => handleTupleResult(result, payload, i)));
2712
+ // Run every item in parallel, collecting results into an indexed
2713
+ // array. The post-processing in `handleTupleResults` walks them in
2714
+ // order so it can decide whether an absent optional-output error can
2715
+ // truncate the tail or must be reported to preserve required output.
2716
+ const itemResults: ParsePayload[] = new Array(items.length);
2717
+ for (let i = 0; i < items.length; i++) {
2718
+ const r = items[i]._zod.run({ value: input[i], issues: [] }, ctx);
2719
+ if (r instanceof Promise) {
2720
+ proms.push(
2721
+ r.then((rr) => {
2722
+ itemResults[i] = rr;
2723
+ })
2724
+ );
2628
2725
  } else {
2629
- handleTupleResult(result, payload, i);
2726
+ itemResults[i] = r;
2630
2727
  }
2631
2728
  }
2632
2729
 
2633
2730
  if (def.rest) {
2731
+ let i = items.length - 1;
2634
2732
  const rest = input.slice(items.length);
2635
2733
  for (const el of rest) {
2636
2734
  i++;
2637
- const result = def.rest._zod.run(
2638
- {
2639
- value: el,
2640
- issues: [],
2641
- },
2642
- ctx
2643
- );
2644
-
2735
+ const result = def.rest._zod.run({ value: el, issues: [] }, ctx);
2645
2736
  if (result instanceof Promise) {
2646
- proms.push(result.then((result) => handleTupleResult(result, payload, i)));
2737
+ proms.push(result.then((r) => handleTupleResult(r, payload, i)));
2647
2738
  } else {
2648
2739
  handleTupleResult(result, payload, i);
2649
2740
  }
2650
2741
  }
2651
2742
  }
2652
2743
 
2653
- if (proms.length) return Promise.all(proms).then(() => payload);
2654
- return payload;
2744
+ if (proms.length) {
2745
+ return Promise.all(proms).then(() => handleTupleResults(itemResults, payload, items, input, optoutStart));
2746
+ }
2747
+ return handleTupleResults(itemResults, payload, items, input, optoutStart);
2655
2748
  };
2656
2749
  });
2657
2750
 
2751
+ function getTupleOptStart(items: readonly $ZodType[], key: "optin" | "optout") {
2752
+ for (let i = items.length - 1; i >= 0; i--) {
2753
+ if (items[i]._zod[key] !== "optional") return i + 1;
2754
+ }
2755
+ return 0;
2756
+ }
2757
+
2658
2758
  function handleTupleResult(result: ParsePayload, final: ParsePayload<any[]>, index: number) {
2659
2759
  if (result.issues.length) {
2660
2760
  final.issues.push(...util.prefixIssues(index, result.issues));
@@ -2662,6 +2762,45 @@ function handleTupleResult(result: ParsePayload, final: ParsePayload<any[]>, ind
2662
2762
  final.value[index] = result.value;
2663
2763
  }
2664
2764
 
2765
+ function handleTupleResults(
2766
+ itemResults: ParsePayload[],
2767
+ final: ParsePayload<any[]>,
2768
+ items: readonly $ZodType[],
2769
+ input: unknown[],
2770
+ optoutStart: number
2771
+ ) {
2772
+ // Walk results in order. Mirror $ZodObject's swallow-on-absent-optional
2773
+ // rule, but only after `optoutStart`: the first index where the output
2774
+ // tuple tail can be absent.
2775
+ for (let i = 0; i < items.length; i++) {
2776
+ const r = itemResults[i];
2777
+ const isPresent = i < input.length;
2778
+ if (r.issues.length) {
2779
+ if (!isPresent && i >= optoutStart) {
2780
+ final.value.length = i;
2781
+ break;
2782
+ }
2783
+ final.issues.push(...util.prefixIssues(i, r.issues));
2784
+ }
2785
+ final.value[i] = r.value;
2786
+ }
2787
+
2788
+ // Drop trailing slots that produced `undefined` for absent input
2789
+ // (the array analog of an absent optional key on an object). The
2790
+ // `i >= input.length` floor is critical: an explicit `undefined`
2791
+ // *inside* the input must be preserved even when the schema is
2792
+ // optional-out (e.g. `z.string().or(z.undefined())` accepting an
2793
+ // explicit undefined value).
2794
+ for (let i = final.value.length - 1; i >= input.length; i--) {
2795
+ if (items[i]._zod.optout === "optional" && final.value[i] === undefined) {
2796
+ final.value.length = i;
2797
+ } else {
2798
+ break;
2799
+ }
2800
+ }
2801
+ return final;
2802
+ }
2803
+
2665
2804
  //////////////////////////////////////////
2666
2805
  //////////////////////////////////////////
2667
2806
  ////////// //////////
@@ -2759,6 +2898,22 @@ export const $ZodRecord: core.$constructor<$ZodRecord> = /*@__PURE__*/ core.$con
2759
2898
  for (const key of values) {
2760
2899
  if (typeof key === "string" || typeof key === "number" || typeof key === "symbol") {
2761
2900
  recordKeys.add(typeof key === "number" ? key.toString() : key);
2901
+ const keyResult = def.keyType._zod.run({ value: key, issues: [] }, ctx);
2902
+ if (keyResult instanceof Promise) {
2903
+ throw new Error("Async schemas not supported in object keys currently");
2904
+ }
2905
+ if (keyResult.issues.length) {
2906
+ payload.issues.push({
2907
+ code: "invalid_key",
2908
+ origin: "record",
2909
+ issues: keyResult.issues.map((iss) => util.finalizeIssue(iss, ctx, core.config())),
2910
+ input: key,
2911
+ path: [key],
2912
+ inst,
2913
+ });
2914
+ continue;
2915
+ }
2916
+ const outKey = keyResult.value as PropertyKey;
2762
2917
  const result = def.valueType._zod.run({ value: input[key], issues: [] }, ctx);
2763
2918
 
2764
2919
  if (result instanceof Promise) {
@@ -2767,14 +2922,14 @@ export const $ZodRecord: core.$constructor<$ZodRecord> = /*@__PURE__*/ core.$con
2767
2922
  if (result.issues.length) {
2768
2923
  payload.issues.push(...util.prefixIssues(key, result.issues));
2769
2924
  }
2770
- payload.value[key] = result.value;
2925
+ payload.value[outKey] = result.value;
2771
2926
  })
2772
2927
  );
2773
2928
  } else {
2774
2929
  if (result.issues.length) {
2775
2930
  payload.issues.push(...util.prefixIssues(key, result.issues));
2776
2931
  }
2777
- payload.value[key] = result.value;
2932
+ payload.value[outKey] = result.value;
2778
2933
  }
2779
2934
  }
2780
2935
  }
@@ -2797,8 +2952,10 @@ export const $ZodRecord: core.$constructor<$ZodRecord> = /*@__PURE__*/ core.$con
2797
2952
  }
2798
2953
  } else {
2799
2954
  payload.value = {};
2955
+ // Reflect.ownKeys for Symbol-key support; filter non-enumerable to match z.object()
2800
2956
  for (const key of Reflect.ownKeys(input)) {
2801
2957
  if (key === "__proto__") continue;
2958
+ if (!Object.prototype.propertyIsEnumerable.call(input, key)) continue;
2802
2959
  let keyResult = def.keyType._zod.run({ value: key, issues: [] }, ctx);
2803
2960
  if (keyResult instanceof Promise) {
2804
2961
  throw new Error("Async schemas not supported in object keys currently");
@@ -3265,6 +3422,7 @@ export const $ZodTransform: core.$constructor<$ZodTransform> = /*@__PURE__*/ cor
3265
3422
  "$ZodTransform",
3266
3423
  (inst, def) => {
3267
3424
  $ZodType.init(inst, def);
3425
+ inst._zod.optin = "optional";
3268
3426
  inst._zod.parse = (payload, ctx) => {
3269
3427
  if (ctx.direction === "backward") {
3270
3428
  throw new core.$ZodEncodeError(inst.constructor.name);
@@ -3275,6 +3433,7 @@ export const $ZodTransform: core.$constructor<$ZodTransform> = /*@__PURE__*/ cor
3275
3433
  const output = _out instanceof Promise ? _out : Promise.resolve(_out);
3276
3434
  return output.then((output) => {
3277
3435
  payload.value = output;
3436
+ payload.fallback = true;
3278
3437
  return payload;
3279
3438
  });
3280
3439
  }
@@ -3284,6 +3443,7 @@ export const $ZodTransform: core.$constructor<$ZodTransform> = /*@__PURE__*/ cor
3284
3443
  }
3285
3444
 
3286
3445
  payload.value = _out;
3446
+ payload.fallback = true;
3287
3447
  return payload;
3288
3448
  };
3289
3449
  }
@@ -3316,7 +3476,7 @@ export interface $ZodOptional<T extends SomeType = $ZodType> extends $ZodType {
3316
3476
  }
3317
3477
 
3318
3478
  function handleOptionalResult(result: ParsePayload, input: unknown) {
3319
- if (result.issues.length && input === undefined) {
3479
+ if (input === undefined && (result.issues.length || result.fallback)) {
3320
3480
  return { issues: [], value: undefined };
3321
3481
  }
3322
3482
  return result;
@@ -3339,9 +3499,10 @@ export const $ZodOptional: core.$constructor<$ZodOptional> = /*@__PURE__*/ core.
3339
3499
 
3340
3500
  inst._zod.parse = (payload, ctx) => {
3341
3501
  if (def.innerType._zod.optin === "optional") {
3502
+ const input = payload.value;
3342
3503
  const result = def.innerType._zod.run(payload, ctx);
3343
- if (result instanceof Promise) return result.then((r) => handleOptionalResult(r, payload.value));
3344
- return handleOptionalResult(result, payload.value);
3504
+ if (result instanceof Promise) return result.then((r) => handleOptionalResult(r, input));
3505
+ return handleOptionalResult(result, input);
3345
3506
  }
3346
3507
  if (payload.value === undefined) {
3347
3508
  return payload;
@@ -3734,7 +3895,7 @@ export interface $ZodCatch<T extends SomeType = $ZodType> extends $ZodType {
3734
3895
 
3735
3896
  export const $ZodCatch: core.$constructor<$ZodCatch> = /*@__PURE__*/ core.$constructor("$ZodCatch", (inst, def) => {
3736
3897
  $ZodType.init(inst, def);
3737
- util.defineLazy(inst._zod, "optin", () => def.innerType._zod.optin);
3898
+ inst._zod.optin = "optional";
3738
3899
  util.defineLazy(inst._zod, "optout", () => def.innerType._zod.optout);
3739
3900
  util.defineLazy(inst._zod, "values", () => def.innerType._zod.values);
3740
3901
 
@@ -3757,6 +3918,7 @@ export const $ZodCatch: core.$constructor<$ZodCatch> = /*@__PURE__*/ core.$const
3757
3918
  input: payload.value,
3758
3919
  });
3759
3920
  payload.issues = [];
3921
+ payload.fallback = true;
3760
3922
  }
3761
3923
 
3762
3924
  return payload;
@@ -3774,6 +3936,7 @@ export const $ZodCatch: core.$constructor<$ZodCatch> = /*@__PURE__*/ core.$const
3774
3936
  });
3775
3937
 
3776
3938
  payload.issues = [];
3939
+ payload.fallback = true;
3777
3940
  }
3778
3941
 
3779
3942
  return payload;
@@ -3878,7 +4041,7 @@ function handlePipeResult(left: ParsePayload, next: $ZodType, ctx: ParseContextI
3878
4041
  left.aborted = true;
3879
4042
  return left;
3880
4043
  }
3881
- return next._zod.run({ value: left.value, issues: left.issues }, ctx);
4044
+ return next._zod.run({ value: left.value, issues: left.issues, fallback: left.fallback }, ctx);
3882
4045
  }
3883
4046
 
3884
4047
  ////////////////////////////////////////////
@@ -3966,6 +4129,35 @@ function handleCodecTxResult(left: ParsePayload, value: any, nextSchema: SomeTyp
3966
4129
  return nextSchema._zod.run({ value, issues: left.issues }, ctx);
3967
4130
  }
3968
4131
 
4132
+ /////////////////////////////////////////////////
4133
+ /////////////////////////////////////////////////
4134
+ ////////// //////////
4135
+ ////////// $ZodPreprocess //////////
4136
+ ////////// //////////
4137
+ /////////////////////////////////////////////////
4138
+ /////////////////////////////////////////////////
4139
+ export interface $ZodPreprocessDef<B extends SomeType = $ZodType> extends $ZodPipeDef<$ZodTransform, B> {
4140
+ in: $ZodTransform;
4141
+ out: B;
4142
+ }
4143
+
4144
+ export interface $ZodPreprocessInternals<B extends SomeType = $ZodType> extends $ZodPipeInternals<$ZodTransform, B> {
4145
+ def: $ZodPreprocessDef<B>;
4146
+ optin: B["_zod"]["optin"];
4147
+ optout: B["_zod"]["optout"];
4148
+ }
4149
+
4150
+ export interface $ZodPreprocess<B extends SomeType = $ZodType> extends $ZodPipe<$ZodTransform, B> {
4151
+ _zod: $ZodPreprocessInternals<B>;
4152
+ }
4153
+
4154
+ export const $ZodPreprocess: core.$constructor<$ZodPreprocess> = /*@__PURE__*/ core.$constructor(
4155
+ "$ZodPreprocess",
4156
+ (inst, def) => {
4157
+ $ZodPipe.init(inst, def);
4158
+ }
4159
+ );
4160
+
3969
4161
  ////////////////////////////////////////////
3970
4162
  ////////////////////////////////////////////
3971
4163
  ////////// //////////
@@ -4384,14 +4576,14 @@ export interface $ZodLazy<T extends SomeType = $ZodType> extends $ZodType {
4384
4576
  export const $ZodLazy: core.$constructor<$ZodLazy> = /*@__PURE__*/ core.$constructor("$ZodLazy", (inst, def) => {
4385
4577
  $ZodType.init(inst, def);
4386
4578
 
4387
- // let _innerType!: any;
4388
- // util.defineLazy(def, "getter", () => {
4389
- // if (!_innerType) {
4390
- // _innerType = def.getter();
4391
- // }
4392
- // return () => _innerType;
4393
- // });
4394
- util.defineLazy(inst._zod, "innerType", () => def.getter() as $ZodType);
4579
+ // Cache the resolved inner type on the shared `def` so all clones of this
4580
+ // lazy (e.g. via `.describe()`/`.meta()`) share the same inner instance,
4581
+ // preserving identity for cycle detection on recursive schemas.
4582
+ util.defineLazy(inst._zod, "innerType", () => {
4583
+ const d = def as $ZodLazyDef & { _cachedInner?: $ZodType };
4584
+ if (!d._cachedInner) d._cachedInner = def.getter() as $ZodType;
4585
+ return d._cachedInner;
4586
+ });
4395
4587
  util.defineLazy(inst._zod, "pattern", () => inst._zod.innerType?._zod?.pattern);
4396
4588
  util.defineLazy(inst._zod, "propValues", () => inst._zod.innerType?._zod?.propValues);
4397
4589
  util.defineLazy(inst._zod, "optin", () => inst._zod.innerType?._zod?.optin ?? undefined);