@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
@@ -8,6 +8,65 @@ import * as checks from "./checks.js";
8
8
  import * as iso from "./iso.js";
9
9
  import * as parse from "./parse.js";
10
10
 
11
+ // Lazy-bind builder methods.
12
+ //
13
+ // Builder methods (`.optional`, `.array`, `.refine`, ...) live as
14
+ // non-enumerable getters on each concrete schema constructor's
15
+ // prototype. On first access from an instance the getter allocates
16
+ // `fn.bind(this)` and caches it as an own property on that instance,
17
+ // so detached usage (`const m = schema.optional; m()`) still works
18
+ // and the per-instance allocation only happens for methods actually
19
+ // touched.
20
+ //
21
+ // One install per (prototype, group), memoized by `_installedGroups`.
22
+ const _installedGroups = /* @__PURE__ */ new WeakMap<object, Set<string>>();
23
+
24
+ /**
25
+ * Methods of `T` reshaped so each body has `this: T` and matches the
26
+ * declared (args, return) of the corresponding interface method. Allows
27
+ * us to type-check inline method-shorthand bodies against the
28
+ * `ZodType` / `_ZodString` / etc. interface declarations.
29
+ */
30
+ type _LazyMethodsOf<T> = Partial<{
31
+ [K in keyof T]: T[K] extends (...args: infer A) => infer R ? (this: T, ...args: A) => R : never;
32
+ }>;
33
+
34
+ function _installLazyMethods<T extends object>(inst: T, group: string, methods: _LazyMethodsOf<T>): void {
35
+ const proto = Object.getPrototypeOf(inst);
36
+ let installed = _installedGroups.get(proto);
37
+ if (!installed) {
38
+ installed = new Set();
39
+ _installedGroups.set(proto, installed);
40
+ }
41
+ if (installed.has(group)) return;
42
+ installed.add(group);
43
+ for (const key in methods) {
44
+ const fn = methods[key]!;
45
+ Object.defineProperty(proto, key, {
46
+ configurable: true,
47
+ enumerable: false,
48
+ get(this: any) {
49
+ const bound = fn.bind(this);
50
+ Object.defineProperty(this, key, {
51
+ configurable: true,
52
+ writable: true,
53
+ enumerable: true,
54
+ value: bound,
55
+ });
56
+ return bound;
57
+ },
58
+ set(this: any, v: unknown) {
59
+ Object.defineProperty(this, key, {
60
+ configurable: true,
61
+ writable: true,
62
+ enumerable: true,
63
+ value: v,
64
+ });
65
+ },
66
+ });
67
+ }
68
+ }
69
+
11
70
  ///////////////////////////////////////////
12
71
  ///////////////////////////////////////////
13
72
  //////////// ////////////
@@ -94,7 +153,8 @@ export interface ZodType<
94
153
  params?: string | core.$ZodCustomParams
95
154
  ): Ch extends (arg: any) => arg is infer R ? this & ZodType<R, core.input<this>> : this;
96
155
  superRefine(
97
- refinement: (arg: core.output<this>, ctx: core.$RefinementCtx<core.output<this>>) => void | Promise<void>
156
+ refinement: (arg: core.output<this>, ctx: core.$RefinementCtx<core.output<this>>) => void | Promise<void>,
157
+ params?: core.$ZodSuperRefineParams
98
158
  ): this;
99
159
  overwrite(fn: (x: core.output<this>) => core.output<this>): this;
100
160
 
@@ -167,38 +227,16 @@ export const ZodType: core.$constructor<ZodType> = /*@__PURE__*/ core.$construct
167
227
  inst.type = def.type;
168
228
  Object.defineProperty(inst, "_def", { value: def });
169
229
 
170
- // base methods
171
- inst.check = (...checks) => {
172
- return inst.clone(
173
- util.mergeDefs(def, {
174
- checks: [
175
- ...(def.checks ?? []),
176
- ...checks.map((ch) =>
177
- typeof ch === "function" ? { _zod: { check: ch, def: { check: "custom" }, onattach: [] } } : ch
178
- ),
179
- ],
180
- }),
181
- {
182
- parent: true,
183
- }
184
- );
185
- };
186
- inst.with = inst.check;
187
- inst.clone = (def, params) => core.clone(inst, def, params);
188
- inst.brand = () => inst as any;
189
- inst.register = ((reg: any, meta: any) => {
190
- reg.add(inst, meta);
191
- return inst;
192
- }) as any;
193
-
194
- // parsing
230
+ // Parse-family is intentionally kept as per-instance closures: these are
231
+ // the hot path AND the most-detached methods (`arr.map(schema.parse)`,
232
+ // `const { parse } = schema`, etc.). Eager closures here mean callers pay
233
+ // ~12 closure allocations per schema but get monomorphic call sites and
234
+ // detached usage that "just works".
195
235
  inst.parse = (data, params) => parse.parse(inst, data, params, { callee: inst.parse });
196
236
  inst.safeParse = (data, params) => parse.safeParse(inst, data, params);
197
237
  inst.parseAsync = async (data, params) => parse.parseAsync(inst, data, params, { callee: inst.parseAsync });
198
238
  inst.safeParseAsync = async (data, params) => parse.safeParseAsync(inst, data, params);
199
239
  inst.spa = inst.safeParseAsync;
200
-
201
- // encoding/decoding
202
240
  inst.encode = (data, params) => parse.encode(inst, data, params);
203
241
  inst.decode = (data, params) => parse.decode(inst, data, params);
204
242
  inst.encodeAsync = async (data, params) => parse.encodeAsync(inst, data, params);
@@ -208,53 +246,122 @@ export const ZodType: core.$constructor<ZodType> = /*@__PURE__*/ core.$construct
208
246
  inst.safeEncodeAsync = async (data, params) => parse.safeEncodeAsync(inst, data, params);
209
247
  inst.safeDecodeAsync = async (data, params) => parse.safeDecodeAsync(inst, data, params);
210
248
 
211
- // refinements
212
- inst.refine = (check, params) => inst.check(refine(check, params)) as never;
213
- inst.superRefine = (refinement) => inst.check(superRefine(refinement));
214
- inst.overwrite = (fn) => inst.check(checks.overwrite(fn));
215
-
216
- // wrappers
217
- inst.optional = () => optional(inst);
218
- inst.exactOptional = () => exactOptional(inst);
219
- inst.nullable = () => nullable(inst);
220
- inst.nullish = () => optional(nullable(inst));
221
- inst.nonoptional = (params) => nonoptional(inst, params);
222
- inst.array = () => array(inst);
223
- inst.or = (arg) => union([inst, arg]);
224
- inst.and = (arg) => intersection(inst, arg);
225
- inst.transform = (tx) => pipe(inst, transform(tx as any)) as never;
226
- inst.default = (def) => _default(inst, def);
227
- inst.prefault = (def) => prefault(inst, def);
228
- // inst.coalesce = (def, params) => coalesce(inst, def, params);
229
- inst.catch = (params) => _catch(inst, params);
230
- inst.pipe = (target) => pipe(inst, target);
231
- inst.readonly = () => readonly(inst);
232
-
233
- // meta
234
- inst.describe = (description) => {
235
- const cl = inst.clone();
236
- core.globalRegistry.add(cl, { description });
237
- return cl;
238
- };
249
+ // All builder methods are placed on the internal prototype as lazy-bind
250
+ // getters. On first access per-instance, a bound thunk is allocated and
251
+ // cached as an own property; subsequent accesses skip the getter. This
252
+ // means: no per-instance allocation for unused methods, full
253
+ // detachability preserved (`const m = schema.optional; m()` works), and
254
+ // shared underlying function references across all instances.
255
+ _installLazyMethods(inst, "ZodType", {
256
+ check(...chks) {
257
+ const def = this.def;
258
+ return this.clone(
259
+ util.mergeDefs(def, {
260
+ checks: [
261
+ ...(def.checks ?? []),
262
+ ...chks.map((ch) =>
263
+ typeof ch === "function" ? { _zod: { check: ch, def: { check: "custom" }, onattach: [] } } : ch
264
+ ),
265
+ ],
266
+ }),
267
+ { parent: true }
268
+ );
269
+ },
270
+ with(...chks) {
271
+ return this.check(...chks);
272
+ },
273
+ clone(def, params) {
274
+ return core.clone(this, def, params);
275
+ },
276
+ brand() {
277
+ return this;
278
+ },
279
+ register(reg, meta) {
280
+ reg.add(this, meta);
281
+ return this;
282
+ },
283
+ refine(check, params) {
284
+ return this.check(refine(check, params));
285
+ },
286
+ superRefine(refinement, params) {
287
+ return this.check(superRefine(refinement, params));
288
+ },
289
+ overwrite(fn) {
290
+ return this.check(checks.overwrite(fn));
291
+ },
292
+ optional() {
293
+ return optional(this);
294
+ },
295
+ exactOptional() {
296
+ return exactOptional(this);
297
+ },
298
+ nullable() {
299
+ return nullable(this);
300
+ },
301
+ nullish() {
302
+ return optional(nullable(this));
303
+ },
304
+ nonoptional(params) {
305
+ return nonoptional(this, params);
306
+ },
307
+ array() {
308
+ return array(this);
309
+ },
310
+ or(arg) {
311
+ return union([this, arg]);
312
+ },
313
+ and(arg) {
314
+ return intersection(this, arg);
315
+ },
316
+ transform(tx) {
317
+ return pipe(this, transform(tx));
318
+ },
319
+ default(d) {
320
+ return _default(this, d);
321
+ },
322
+ prefault(d) {
323
+ return prefault(this, d);
324
+ },
325
+ catch(params) {
326
+ return _catch(this, params);
327
+ },
328
+ pipe(target) {
329
+ return pipe(this, target);
330
+ },
331
+ readonly() {
332
+ return readonly(this);
333
+ },
334
+ describe(description) {
335
+ const cl = this.clone();
336
+ core.globalRegistry.add(cl, { description });
337
+ return cl;
338
+ },
339
+ meta(...args: any[]): any {
340
+ // overloaded: meta() returns the registered metadata, meta(data)
341
+ // returns a clone with `data` registered. The mapped type picks
342
+ // up the second overload, so we accept variadic any-args and
343
+ // return `any` to satisfy both at runtime.
344
+ if (args.length === 0) return core.globalRegistry.get(this);
345
+ const cl = this.clone();
346
+ core.globalRegistry.add(cl, args[0]);
347
+ return cl;
348
+ },
349
+ isOptional() {
350
+ return this.safeParse(undefined).success;
351
+ },
352
+ isNullable() {
353
+ return this.safeParse(null).success;
354
+ },
355
+ apply(fn) {
356
+ return fn(this);
357
+ },
358
+ });
239
359
  Object.defineProperty(inst, "description", {
240
360
  get() {
241
361
  return core.globalRegistry.get(inst)?.description;
242
362
  },
243
363
  configurable: true,
244
364
  });
245
- inst.meta = (...args: any) => {
246
- if (args.length === 0) {
247
- return core.globalRegistry.get(inst);
248
- }
249
- const cl = inst.clone();
250
- core.globalRegistry.add(cl, args[0]);
251
- return cl as any;
252
- };
253
-
254
- // helpers
255
- inst.isOptional = () => inst.safeParse(undefined).success;
256
- inst.isNullable = () => inst.safeParse(null).success;
257
- inst.apply = (fn) => fn(inst);
258
365
  return inst;
259
366
  });
260
367
 
@@ -297,24 +404,53 @@ export const _ZodString: core.$constructor<_ZodString> = /*@__PURE__*/ core.$con
297
404
  inst.minLength = bag.minimum ?? null;
298
405
  inst.maxLength = bag.maximum ?? null;
299
406
 
300
- // validations
301
- inst.regex = (...args) => inst.check(checks.regex(...args));
302
- inst.includes = (...args) => inst.check(checks.includes(...args));
303
- inst.startsWith = (...args) => inst.check(checks.startsWith(...args));
304
- inst.endsWith = (...args) => inst.check(checks.endsWith(...args));
305
- inst.min = (...args) => inst.check(checks.minLength(...args));
306
- inst.max = (...args) => inst.check(checks.maxLength(...args));
307
- inst.length = (...args) => inst.check(checks.length(...args));
308
- inst.nonempty = (...args) => inst.check(checks.minLength(1, ...args));
309
- inst.lowercase = (params) => inst.check(checks.lowercase(params));
310
- inst.uppercase = (params) => inst.check(checks.uppercase(params));
311
-
312
- // transforms
313
- inst.trim = () => inst.check(checks.trim());
314
- inst.normalize = (...args) => inst.check(checks.normalize(...args));
315
- inst.toLowerCase = () => inst.check(checks.toLowerCase());
316
- inst.toUpperCase = () => inst.check(checks.toUpperCase());
317
- inst.slugify = () => inst.check(checks.slugify());
407
+ _installLazyMethods(inst, "_ZodString", {
408
+ regex(...args) {
409
+ return this.check((checks.regex as any)(...args));
410
+ },
411
+ includes(...args) {
412
+ return this.check((checks.includes as any)(...args));
413
+ },
414
+ startsWith(...args) {
415
+ return this.check((checks.startsWith as any)(...args));
416
+ },
417
+ endsWith(...args) {
418
+ return this.check((checks.endsWith as any)(...args));
419
+ },
420
+ min(...args) {
421
+ return this.check((checks.minLength as any)(...args));
422
+ },
423
+ max(...args) {
424
+ return this.check((checks.maxLength as any)(...args));
425
+ },
426
+ length(...args) {
427
+ return this.check((checks.length as any)(...args));
428
+ },
429
+ nonempty(...args) {
430
+ return this.check((checks.minLength as any)(1, ...args));
431
+ },
432
+ lowercase(params) {
433
+ return this.check(checks.lowercase(params));
434
+ },
435
+ uppercase(params) {
436
+ return this.check(checks.uppercase(params));
437
+ },
438
+ trim() {
439
+ return this.check(checks.trim());
440
+ },
441
+ normalize(...args) {
442
+ return this.check(checks.normalize(...args));
443
+ },
444
+ toLowerCase() {
445
+ return this.check(checks.toLowerCase());
446
+ },
447
+ toUpperCase() {
448
+ return this.check(checks.toUpperCase());
449
+ },
450
+ slugify() {
451
+ return this.check(checks.slugify());
452
+ },
453
+ });
318
454
  });
319
455
 
320
456
  export interface ZodString extends _ZodString<core.$ZodStringInternals<string>> {
@@ -342,7 +478,11 @@ export interface ZodString extends _ZodString<core.$ZodStringInternals<string>>
342
478
  nanoid(params?: string | core.$ZodCheckNanoIDParams): this;
343
479
  /** @deprecated Use `z.guid()` instead. */
344
480
  guid(params?: string | core.$ZodCheckGUIDParams): this;
345
- /** @deprecated Use `z.cuid()` instead. */
481
+ /**
482
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
483
+ * (timestamps embedded in the id). Use `z.cuid2()` instead.
484
+ * See https://github.com/paralleldrive/cuid.
485
+ */
346
486
  cuid(params?: string | core.$ZodCheckCUIDParams): this;
347
487
  /** @deprecated Use `z.cuid2()` instead. */
348
488
  cuid2(params?: string | core.$ZodCheckCUID2Params): this;
@@ -428,7 +568,7 @@ export const ZodString: core.$constructor<ZodString> = /*@__PURE__*/ core.$const
428
568
  export function string(params?: string | core.$ZodStringParams): ZodString;
429
569
  export function string<T extends string>(params?: string | core.$ZodStringParams): core.$ZodType<T, T>;
430
570
  export function string(params?: string | core.$ZodStringParams): ZodString {
431
- return core._string(ZodString, params) as any;
571
+ return core._string(ZodString, params);
432
572
  }
433
573
 
434
574
  // ZodStringFormat
@@ -516,7 +656,7 @@ export function url(params?: string | core.$ZodURLParams): ZodURL {
516
656
 
517
657
  export function httpUrl(params?: string | Omit<core.$ZodURLParams, "protocol" | "hostname">): ZodURL {
518
658
  return core._url(ZodURL, {
519
- protocol: /^https?$/,
659
+ protocol: core.regexes.httpProtocol,
520
660
  hostname: core.regexes.domain,
521
661
  ...util.normalizeParams(params),
522
662
  });
@@ -551,15 +691,32 @@ export function nanoid(params?: string | core.$ZodNanoIDParams): ZodNanoID {
551
691
  }
552
692
 
553
693
  // ZodCUID
694
+ /**
695
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
696
+ * (timestamps embedded in the id). Use {@link ZodCUID2} instead.
697
+ * See https://github.com/paralleldrive/cuid.
698
+ */
554
699
  export interface ZodCUID extends ZodStringFormat<"cuid"> {
555
700
  _zod: core.$ZodCUIDInternals;
556
701
  }
702
+ /**
703
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
704
+ * (timestamps embedded in the id). Use {@link ZodCUID2} instead.
705
+ * See https://github.com/paralleldrive/cuid.
706
+ */
557
707
  export const ZodCUID: core.$constructor<ZodCUID> = /*@__PURE__*/ core.$constructor("ZodCUID", (inst, def) => {
558
708
  // ZodStringFormat.init(inst, def);
559
709
  core.$ZodCUID.init(inst, def);
560
710
  ZodStringFormat.init(inst, def);
561
711
  });
562
712
 
713
+ /**
714
+ * Validates a CUID v1 string.
715
+ *
716
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
717
+ * (timestamps embedded in the id). Use {@link cuid2 | `z.cuid2()`} instead.
718
+ * See https://github.com/paralleldrive/cuid.
719
+ */
563
720
  export function cuid(params?: string | core.$ZodCUIDParams): ZodCUID {
564
721
  return core._cuid(ZodCUID, params);
565
722
  }
@@ -845,23 +1002,53 @@ export const ZodNumber: core.$constructor<ZodNumber> = /*@__PURE__*/ core.$const
845
1002
 
846
1003
  inst._zod.processJSONSchema = (ctx, json, params) => processors.numberProcessor(inst, ctx, json, params);
847
1004
 
848
- inst.gt = (value, params) => inst.check(checks.gt(value, params));
849
- inst.gte = (value, params) => inst.check(checks.gte(value, params));
850
- inst.min = (value, params) => inst.check(checks.gte(value, params));
851
- inst.lt = (value, params) => inst.check(checks.lt(value, params));
852
- inst.lte = (value, params) => inst.check(checks.lte(value, params));
853
- inst.max = (value, params) => inst.check(checks.lte(value, params));
854
- inst.int = (params) => inst.check(int(params));
855
- inst.safe = (params) => inst.check(int(params));
856
- inst.positive = (params) => inst.check(checks.gt(0, params));
857
- inst.nonnegative = (params) => inst.check(checks.gte(0, params));
858
- inst.negative = (params) => inst.check(checks.lt(0, params));
859
- inst.nonpositive = (params) => inst.check(checks.lte(0, params));
860
- inst.multipleOf = (value, params) => inst.check(checks.multipleOf(value, params));
861
- inst.step = (value, params) => inst.check(checks.multipleOf(value, params));
862
-
863
- // inst.finite = (params) => inst.check(core.finite(params));
864
- inst.finite = () => inst;
1005
+ _installLazyMethods(inst, "ZodNumber", {
1006
+ gt(value, params) {
1007
+ return this.check(checks.gt(value, params));
1008
+ },
1009
+ gte(value, params) {
1010
+ return this.check(checks.gte(value, params));
1011
+ },
1012
+ min(value, params) {
1013
+ return this.check(checks.gte(value, params));
1014
+ },
1015
+ lt(value, params) {
1016
+ return this.check(checks.lt(value, params));
1017
+ },
1018
+ lte(value, params) {
1019
+ return this.check(checks.lte(value, params));
1020
+ },
1021
+ max(value, params) {
1022
+ return this.check(checks.lte(value, params));
1023
+ },
1024
+ int(params) {
1025
+ return this.check(int(params));
1026
+ },
1027
+ safe(params) {
1028
+ return this.check(int(params));
1029
+ },
1030
+ positive(params) {
1031
+ return this.check(checks.gt(0, params));
1032
+ },
1033
+ nonnegative(params) {
1034
+ return this.check(checks.gte(0, params));
1035
+ },
1036
+ negative(params) {
1037
+ return this.check(checks.lt(0, params));
1038
+ },
1039
+ nonpositive(params) {
1040
+ return this.check(checks.lte(0, params));
1041
+ },
1042
+ multipleOf(value, params) {
1043
+ return this.check(checks.multipleOf(value, params));
1044
+ },
1045
+ step(value, params) {
1046
+ return this.check(checks.multipleOf(value, params));
1047
+ },
1048
+ finite() {
1049
+ return this;
1050
+ },
1051
+ });
865
1052
 
866
1053
  const bag = inst._zod.bag;
867
1054
  inst.minValue =
@@ -874,7 +1061,7 @@ export const ZodNumber: core.$constructor<ZodNumber> = /*@__PURE__*/ core.$const
874
1061
  });
875
1062
 
876
1063
  export function number(params?: string | core.$ZodNumberParams): ZodNumber {
877
- return core._number(ZodNumber, params) as any;
1064
+ return core._number(ZodNumber, params);
878
1065
  }
879
1066
 
880
1067
  // ZodNumberFormat
@@ -929,7 +1116,7 @@ export const ZodBoolean: core.$constructor<ZodBoolean> = /*@__PURE__*/ core.$con
929
1116
  });
930
1117
 
931
1118
  export function boolean(params?: string | core.$ZodBooleanParams): ZodBoolean {
932
- return core._boolean(ZodBoolean, params) as any;
1119
+ return core._boolean(ZodBoolean, params);
933
1120
  }
934
1121
 
935
1122
  // bigint
@@ -980,7 +1167,7 @@ export const ZodBigInt: core.$constructor<ZodBigInt> = /*@__PURE__*/ core.$const
980
1167
  });
981
1168
 
982
1169
  export function bigint(params?: string | core.$ZodBigIntParams): ZodBigInt {
983
- return core._bigint(ZodBigInt, params) as any;
1170
+ return core._bigint(ZodBigInt, params);
984
1171
  }
985
1172
  // bigint formats
986
1173
 
@@ -1143,13 +1330,24 @@ export const ZodArray: core.$constructor<ZodArray> = /*@__PURE__*/ core.$constru
1143
1330
  ZodType.init(inst, def);
1144
1331
  inst._zod.processJSONSchema = (ctx, json, params) => processors.arrayProcessor(inst, ctx, json, params);
1145
1332
 
1146
- inst.element = def.element as any;
1147
- inst.min = (minLength, params) => inst.check(checks.minLength(minLength, params));
1148
- inst.nonempty = (params) => inst.check(checks.minLength(1, params));
1149
- inst.max = (maxLength, params) => inst.check(checks.maxLength(maxLength, params));
1150
- inst.length = (len, params) => inst.check(checks.length(len, params));
1151
-
1152
- inst.unwrap = () => inst.element;
1333
+ inst.element = def.element;
1334
+ _installLazyMethods(inst, "ZodArray", {
1335
+ min(n, params) {
1336
+ return this.check(checks.minLength(n, params));
1337
+ },
1338
+ nonempty(params) {
1339
+ return this.check(checks.minLength(1, params));
1340
+ },
1341
+ max(n, params) {
1342
+ return this.check(checks.maxLength(n, params));
1343
+ },
1344
+ length(n, params) {
1345
+ return this.check(checks.length(n, params));
1346
+ },
1347
+ unwrap() {
1348
+ return this.element;
1349
+ },
1350
+ });
1153
1351
  });
1154
1352
 
1155
1353
  export function array<T extends core.SomeType>(element: T, params?: string | core.$ZodArrayParams): ZodArray<T> {
@@ -1198,11 +1396,11 @@ export interface ZodObject<
1198
1396
  /** This is the default behavior. This method call is likely unnecessary. */
1199
1397
  strip(): ZodObject<Shape, core.$strip>;
1200
1398
 
1201
- extend<U extends core.$ZodLooseShape>(shape: U): ZodObject<util.Extend<Shape, U>, Config>;
1399
+ extend<U extends core.$ZodLooseShape>(shape: U): ZodObject<util.Extend<Shape, util.Writeable<U>>, Config>;
1202
1400
 
1203
1401
  safeExtend<U extends core.$ZodLooseShape>(
1204
1402
  shape: SafeExtendShape<Shape, U> & Partial<Record<keyof Shape, core.SomeType>>
1205
- ): ZodObject<util.Extend<Shape, U>, Config>;
1403
+ ): ZodObject<util.Extend<Shape, util.Writeable<U>>, Config>;
1206
1404
 
1207
1405
  /**
1208
1406
  * @deprecated Use [`A.extend(B.shape)`](https://zod.dev/api?id=extend) instead.
@@ -1219,7 +1417,7 @@ export interface ZodObject<
1219
1417
 
1220
1418
  partial(): ZodObject<
1221
1419
  {
1222
- [k in keyof Shape]: ZodOptional<Shape[k]>;
1420
+ -readonly [k in keyof Shape]: ZodOptional<Shape[k]>;
1223
1421
  },
1224
1422
  Config
1225
1423
  >;
@@ -1227,7 +1425,7 @@ export interface ZodObject<
1227
1425
  mask: M & Record<Exclude<keyof M, keyof Shape>, never>
1228
1426
  ): ZodObject<
1229
1427
  {
1230
- [k in keyof Shape]: k extends keyof M
1428
+ -readonly [k in keyof Shape]: k extends keyof M
1231
1429
  ? // Shape[k] extends OptionalInSchema
1232
1430
  // ? Shape[k]
1233
1431
  // :
@@ -1240,7 +1438,7 @@ export interface ZodObject<
1240
1438
  // required
1241
1439
  required(): ZodObject<
1242
1440
  {
1243
- [k in keyof Shape]: ZodNonOptional<Shape[k]>;
1441
+ -readonly [k in keyof Shape]: ZodNonOptional<Shape[k]>;
1244
1442
  },
1245
1443
  Config
1246
1444
  >;
@@ -1248,7 +1446,7 @@ export interface ZodObject<
1248
1446
  mask: M & Record<Exclude<keyof M, keyof Shape>, never>
1249
1447
  ): ZodObject<
1250
1448
  {
1251
- [k in keyof Shape]: k extends keyof M ? ZodNonOptional<Shape[k]> : Shape[k];
1449
+ -readonly [k in keyof Shape]: k extends keyof M ? ZodNonOptional<Shape[k]> : Shape[k];
1252
1450
  },
1253
1451
  Config
1254
1452
  >;
@@ -1263,24 +1461,47 @@ export const ZodObject: core.$constructor<ZodObject> = /*@__PURE__*/ core.$const
1263
1461
  return def.shape;
1264
1462
  });
1265
1463
 
1266
- inst.keyof = () => _enum(Object.keys(inst._zod.def.shape)) as any;
1267
- inst.catchall = (catchall) => inst.clone({ ...inst._zod.def, catchall: catchall as any as core.$ZodType }) as any;
1268
- inst.passthrough = () => inst.clone({ ...inst._zod.def, catchall: unknown() });
1269
- inst.loose = () => inst.clone({ ...inst._zod.def, catchall: unknown() });
1270
- inst.strict = () => inst.clone({ ...inst._zod.def, catchall: never() });
1271
- inst.strip = () => inst.clone({ ...inst._zod.def, catchall: undefined });
1272
-
1273
- inst.extend = (incoming: any) => {
1274
- return util.extend(inst, incoming);
1275
- };
1276
- inst.safeExtend = (incoming: any) => {
1277
- return util.safeExtend(inst, incoming);
1278
- };
1279
- inst.merge = (other) => util.merge(inst, other);
1280
- inst.pick = (mask) => util.pick(inst, mask);
1281
- inst.omit = (mask) => util.omit(inst, mask);
1282
- inst.partial = (...args: any[]) => util.partial(ZodOptional, inst, args[0] as object);
1283
- inst.required = (...args: any[]) => util.required(ZodNonOptional, inst, args[0] as object);
1464
+ _installLazyMethods(inst, "ZodObject", {
1465
+ keyof() {
1466
+ return _enum(Object.keys(this._zod.def.shape));
1467
+ },
1468
+ catchall(catchall) {
1469
+ return this.clone({ ...this._zod.def, catchall: catchall as any });
1470
+ },
1471
+ passthrough() {
1472
+ return this.clone({ ...this._zod.def, catchall: unknown() });
1473
+ },
1474
+ loose() {
1475
+ return this.clone({ ...this._zod.def, catchall: unknown() });
1476
+ },
1477
+ strict() {
1478
+ return this.clone({ ...this._zod.def, catchall: never() });
1479
+ },
1480
+ strip() {
1481
+ return this.clone({ ...this._zod.def, catchall: undefined });
1482
+ },
1483
+ extend(incoming) {
1484
+ return util.extend(this, incoming);
1485
+ },
1486
+ safeExtend(incoming) {
1487
+ return util.safeExtend(this, incoming);
1488
+ },
1489
+ merge(other) {
1490
+ return util.merge(this, other);
1491
+ },
1492
+ pick(mask) {
1493
+ return util.pick(this, mask);
1494
+ },
1495
+ omit(mask) {
1496
+ return util.omit(this, mask);
1497
+ },
1498
+ partial(...args) {
1499
+ return util.partial(ZodOptional, this, args[0]);
1500
+ },
1501
+ required(...args) {
1502
+ return util.required(ZodNonOptional, this, args[0]);
1503
+ },
1504
+ });
1284
1505
  });
1285
1506
 
1286
1507
  export function object<T extends core.$ZodLooseShape = Partial<Record<never, core.SomeType>>>(
@@ -1300,7 +1521,7 @@ export function object<T extends core.$ZodLooseShape = Partial<Record<never, cor
1300
1521
  export function strictObject<T extends core.$ZodLooseShape>(
1301
1522
  shape: T,
1302
1523
  params?: string | core.$ZodObjectParams
1303
- ): ZodObject<T, core.$strict> {
1524
+ ): ZodObject<util.Writeable<T>, core.$strict> {
1304
1525
  return new ZodObject({
1305
1526
  type: "object",
1306
1527
  shape,
@@ -1314,7 +1535,7 @@ export function strictObject<T extends core.$ZodLooseShape>(
1314
1535
  export function looseObject<T extends core.$ZodLooseShape>(
1315
1536
  shape: T,
1316
1537
  params?: string | core.$ZodObjectParams
1317
- ): ZodObject<T, core.$loose> {
1538
+ ): ZodObject<util.Writeable<T>, core.$loose> {
1318
1539
  return new ZodObject({
1319
1540
  type: "object",
1320
1541
  shape,
@@ -1396,7 +1617,7 @@ export const ZodDiscriminatedUnion: core.$constructor<ZodDiscriminatedUnion> = /
1396
1617
  );
1397
1618
 
1398
1619
  export function discriminatedUnion<
1399
- Types extends readonly [core.$ZodTypeDiscriminable, ...core.$ZodTypeDiscriminable[]],
1620
+ Types extends readonly [core.$ZodTypeDiscriminable<Disc>, ...core.$ZodTypeDiscriminable<Disc>[]],
1400
1621
  Disc extends string,
1401
1622
  >(
1402
1623
  discriminator: Disc,
@@ -1508,6 +1729,15 @@ export function record<Key extends core.$ZodRecordKey, Value extends core.SomeTy
1508
1729
  valueType: Value,
1509
1730
  params?: string | core.$ZodRecordParams
1510
1731
  ): ZodRecord<Key, Value> {
1732
+ // v3-compat: z.record(valueType, params?) — defaults keyType to z.string()
1733
+ if (!valueType || !(valueType as any)._zod) {
1734
+ return new ZodRecord({
1735
+ type: "record",
1736
+ keyType: string() as any,
1737
+ valueType: keyType as any as core.$ZodType,
1738
+ ...util.normalizeParams(valueType as string | core.$ZodRecordParams | undefined),
1739
+ }) as any;
1740
+ }
1511
1741
  return new ZodRecord({
1512
1742
  type: "record",
1513
1743
  keyType,
@@ -1702,7 +1932,7 @@ export function nativeEnum<T extends util.EnumLike>(entries: T, params?: string
1702
1932
  type: "enum",
1703
1933
  entries,
1704
1934
  ...util.normalizeParams(params),
1705
- }) as any as ZodEnum<T>;
1935
+ }) as ZodEnum<T>;
1706
1936
  }
1707
1937
 
1708
1938
  // ZodLiteral
@@ -1804,17 +2034,19 @@ export const ZodTransform: core.$constructor<ZodTransform> = /*@__PURE__*/ core.
1804
2034
  if (output instanceof Promise) {
1805
2035
  return output.then((output) => {
1806
2036
  payload.value = output;
2037
+ payload.fallback = true;
1807
2038
  return payload;
1808
2039
  });
1809
2040
  }
1810
2041
  payload.value = output;
2042
+ payload.fallback = true;
1811
2043
  return payload;
1812
2044
  };
1813
2045
  }
1814
2046
  );
1815
2047
 
1816
2048
  export function transform<I = unknown, O = I>(
1817
- fn: (input: I, ctx: core.ParsePayload) => O
2049
+ fn: (input: I, ctx: core.$RefinementCtx) => O
1818
2050
  ): ZodTransform<Awaited<O>, I> {
1819
2051
  return new ZodTransform({
1820
2052
  type: "transform",
@@ -2120,6 +2352,33 @@ export function codec<const A extends core.SomeType, B extends core.SomeType = c
2120
2352
  }) as any;
2121
2353
  }
2122
2354
 
2355
+ export function invertCodec<A extends core.SomeType, B extends core.SomeType>(codec: ZodCodec<A, B>): ZodCodec<B, A> {
2356
+ const def = codec._zod.def;
2357
+ return new ZodCodec({
2358
+ type: "pipe",
2359
+ in: def.out as any,
2360
+ out: def.in as any,
2361
+ transform: def.reverseTransform as any,
2362
+ reverseTransform: def.transform as any,
2363
+ }) as any;
2364
+ }
2365
+
2366
+ // ZodPreprocess
2367
+ export interface ZodPreprocess<B extends core.SomeType = core.$ZodType>
2368
+ extends ZodPipe<core.$ZodTransform, B>,
2369
+ core.$ZodPreprocess<B> {
2370
+ "~standard": ZodStandardSchemaWithJSON<this>;
2371
+ _zod: core.$ZodPreprocessInternals<B>;
2372
+ def: core.$ZodPreprocessDef<B>;
2373
+ }
2374
+ export const ZodPreprocess: core.$constructor<ZodPreprocess> = /*@__PURE__*/ core.$constructor(
2375
+ "ZodPreprocess",
2376
+ (inst, def) => {
2377
+ ZodPipe.init(inst, def);
2378
+ core.$ZodPreprocess.init(inst, def);
2379
+ }
2380
+ );
2381
+
2123
2382
  // ZodReadonly
2124
2383
  export interface ZodReadonly<T extends core.SomeType = core.$ZodType>
2125
2384
  extends _ZodType<core.$ZodReadonlyInternals<T>>,
@@ -2321,9 +2580,10 @@ export function refine<T>(
2321
2580
 
2322
2581
  // superRefine
2323
2582
  export function superRefine<T>(
2324
- fn: (arg: T, payload: core.$RefinementCtx<T>) => void | Promise<void>
2583
+ fn: (arg: T, payload: core.$RefinementCtx<T>) => void | Promise<void>,
2584
+ params?: core.$ZodSuperRefineParams
2325
2585
  ): core.$ZodCheck<T> {
2326
- return core._superRefine(fn);
2586
+ return core._superRefine(fn, params);
2327
2587
  }
2328
2588
 
2329
2589
  // Re-export describe and meta from core
@@ -2400,10 +2660,13 @@ export function json(params?: string | core.$ZodCustomParams): ZodJSONSchema {
2400
2660
 
2401
2661
  // preprocess
2402
2662
 
2403
- // /** @deprecated Use `z.pipe()` and `z.transform()` instead. */
2404
2663
  export function preprocess<A, U extends core.SomeType, B = unknown>(
2405
2664
  fn: (arg: B, ctx: core.$RefinementCtx) => A,
2406
2665
  schema: U
2407
- ): ZodPipe<ZodTransform<A, B>, U> {
2408
- return pipe(transform(fn as any), schema as any) as any;
2666
+ ): ZodPreprocess<U> {
2667
+ return new ZodPreprocess({
2668
+ type: "pipe",
2669
+ in: transform(fn as any) as any as core.$ZodTransform,
2670
+ out: schema as any as core.$ZodType,
2671
+ }) as any;
2409
2672
  }