@vellumai/cli 0.10.6 → 0.10.7-dev.202607072325.09ad030

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 (756) hide show
  1. package/node_modules/@vellumai/environments/tsconfig.json +1 -1
  2. package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/package.json +18 -0
  3. package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/src/__tests__/package-boundary.test.ts +95 -0
  4. package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/src/index.ts +11 -0
  5. package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/src/seeds.ts +70 -0
  6. package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/src/types.ts +70 -0
  7. package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/tsconfig.json +20 -0
  8. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/README.md +18 -1
  9. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/locales/package.json +1 -2
  10. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/mini/package.json +1 -2
  11. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/package.json +1 -1
  12. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/all-errors.test.ts +3 -3
  13. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/object.test.ts +5 -5
  14. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/partials.test.ts +3 -3
  15. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/errors.ts +2 -2
  16. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/external.ts +0 -1
  17. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/from-json-schema.ts +23 -39
  18. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/parse.ts +6 -6
  19. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/schemas.ts +151 -414
  20. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/assignability.test.ts +0 -6
  21. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/catch.test.ts +0 -50
  22. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/codec.test.ts +1 -142
  23. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/continuability.test.ts +1 -1
  24. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/datetime.test.ts +1 -1
  25. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/default.test.ts +0 -44
  26. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/discriminated-unions.test.ts +1 -34
  27. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/error-utils.test.ts +2 -214
  28. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/from-json-schema.test.ts +0 -161
  29. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/function.test.ts +6 -6
  30. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/index.test.ts +2 -2
  31. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/number.test.ts +0 -55
  32. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/object.test.ts +6 -83
  33. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/optional.test.ts +4 -114
  34. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/partial.test.ts +1 -24
  35. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/prefault.test.ts +1 -1
  36. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/preprocess.test.ts +0 -69
  37. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/record.test.ts +0 -85
  38. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/recursive-types.test.ts +0 -49
  39. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/refine.test.ts +0 -63
  40. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/string.test.ts +1 -50
  41. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/template-literal.test.ts +4 -4
  42. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/to-json-schema.test.ts +15 -150
  43. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/transform.test.ts +0 -17
  44. package/node_modules/@vellumai/local-mode/node_modules/zod/src/v4/classic/tests/tuple.test.ts +183 -0
  45. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/union.test.ts +0 -54
  46. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/api.ts +6 -31
  47. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/checks.ts +1 -1
  48. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/core.ts +2 -17
  49. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/errors.ts +24 -31
  50. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/json-schema-processors.ts +18 -17
  51. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/parse.ts +7 -7
  52. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/regexes.ts +1 -8
  53. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/schemas.ts +71 -263
  54. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/uz.test.ts +0 -22
  55. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/record-constructor.test.ts +0 -58
  56. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/to-json-schema.ts +1 -10
  57. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/util.ts +35 -52
  58. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/versions.ts +2 -2
  59. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/en.ts +0 -4
  60. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/fr.ts +8 -24
  61. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/index.ts +0 -3
  62. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/it.ts +1 -1
  63. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ka.ts +8 -8
  64. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/uz.ts +0 -1
  65. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/external.ts +0 -1
  66. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/schemas.ts +25 -56
  67. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/codec.test.ts +0 -19
  68. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/index.test.ts +2 -32
  69. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/object.test.ts +9 -9
  70. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/recursive-types.test.ts +1 -51
  71. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/string.test.ts +0 -5
  72. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/package.json +1 -2
  73. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/errors.js +2 -2
  74. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/external.d.cts +0 -1
  75. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/external.d.ts +0 -1
  76. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/from-json-schema.cjs +16 -31
  77. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/from-json-schema.js +16 -31
  78. package/node_modules/@vellumai/local-mode/node_modules/zod/v4/classic/package.json +6 -0
  79. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/schemas.cjs +119 -358
  80. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/schemas.d.cts +14 -42
  81. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/schemas.d.ts +14 -42
  82. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/schemas.js +118 -356
  83. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/api.cjs +2 -7
  84. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/api.d.cts +5 -26
  85. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/api.d.ts +5 -26
  86. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/api.js +2 -7
  87. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/checks.d.cts +1 -1
  88. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/checks.d.ts +1 -1
  89. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/core.cjs +1 -3
  90. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/core.js +2 -4
  91. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/errors.cjs +23 -26
  92. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/errors.d.cts +0 -1
  93. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/errors.d.ts +0 -1
  94. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/errors.js +23 -26
  95. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-processors.cjs +20 -16
  96. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-processors.js +20 -16
  97. package/node_modules/@vellumai/local-mode/node_modules/zod/v4/core/package.json +6 -0
  98. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/parse.cjs +7 -7
  99. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/parse.js +7 -7
  100. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/regexes.cjs +3 -9
  101. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/regexes.d.cts +0 -6
  102. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/regexes.d.ts +0 -6
  103. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/regexes.js +1 -7
  104. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/schemas.cjs +65 -211
  105. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/schemas.d.cts +1 -39
  106. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/schemas.d.ts +1 -39
  107. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/schemas.js +64 -210
  108. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/to-json-schema.cjs +1 -12
  109. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/to-json-schema.js +1 -12
  110. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/util.cjs +30 -54
  111. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/util.d.cts +0 -1
  112. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/util.d.ts +0 -1
  113. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/util.js +32 -55
  114. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/versions.cjs +2 -2
  115. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/versions.d.cts +1 -1
  116. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/versions.d.ts +1 -1
  117. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/versions.js +2 -2
  118. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/en.cjs +0 -4
  119. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/en.js +0 -4
  120. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr.cjs +7 -24
  121. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr.js +7 -24
  122. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/index.cjs +1 -8
  123. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/index.d.cts +0 -3
  124. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/index.d.ts +0 -3
  125. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/index.js +0 -3
  126. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/it.cjs +1 -1
  127. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/it.js +1 -1
  128. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ka.cjs +8 -8
  129. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ka.js +8 -8
  130. package/node_modules/@vellumai/local-mode/node_modules/zod/v4/locales/package.json +6 -0
  131. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uz.cjs +0 -1
  132. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uz.js +0 -1
  133. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/external.d.cts +0 -1
  134. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/external.d.ts +0 -1
  135. package/node_modules/@vellumai/local-mode/node_modules/zod/v4/mini/package.json +6 -0
  136. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/schemas.cjs +4 -41
  137. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/schemas.d.cts +10 -28
  138. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/schemas.d.ts +10 -28
  139. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/schemas.js +4 -40
  140. package/node_modules/@vellumai/local-mode/node_modules/zod/v4/package.json +6 -0
  141. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4-mini/package.json +1 -2
  142. package/node_modules/@vellumai/local-mode/src/status.ts +84 -7
  143. package/node_modules/@vellumai/local-mode/tsconfig.json +1 -1
  144. package/package.json +1 -2
  145. package/src/__tests__/daemon-readiness-probe.test.ts +158 -0
  146. package/src/__tests__/provider-inference-parity.test.ts +57 -0
  147. package/src/__tests__/recover.test.ts +5 -1
  148. package/src/__tests__/upgrade-local.test.ts +4 -0
  149. package/src/__tests__/upgrade-wait-for-ready.test.ts +103 -0
  150. package/src/commands/restore.ts +31 -8
  151. package/src/commands/upgrade.ts +33 -2
  152. package/src/commands/wake.ts +80 -2
  153. package/src/lib/__tests__/local-ces.test.ts +104 -0
  154. package/src/lib/backup-ops.ts +59 -36
  155. package/src/lib/docker.ts +60 -25
  156. package/src/lib/http-client.ts +107 -11
  157. package/src/lib/local.ts +157 -74
  158. package/src/lib/process.ts +70 -30
  159. package/src/lib/provider-secrets.ts +40 -7
  160. package/src/lib/upgrade-lifecycle.ts +129 -25
  161. package/src/shared/provider-env-vars.ts +1 -0
  162. package/tsconfig.json +1 -1
  163. package/bun.lock +0 -411
  164. package/bunfig.toml +0 -6
  165. package/node_modules/@vellumai/environments/bun.lock +0 -24
  166. package/node_modules/@vellumai/local-mode/bun.lock +0 -32
  167. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +0 -197
  168. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +0 -39
  169. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +0 -46
  170. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +0 -29
  171. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +0 -24
  172. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +0 -26
  173. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -496
  174. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +0 -215
  175. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +0 -72
  176. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +0 -163
  177. package/node_modules/zod/src/v4/locales/el.ts +0 -121
  178. package/node_modules/zod/src/v4/locales/hr.ts +0 -131
  179. package/node_modules/zod/src/v4/locales/ro.ts +0 -129
  180. package/node_modules/zod/v4/classic/package.json +0 -7
  181. package/node_modules/zod/v4/core/package.json +0 -7
  182. package/node_modules/zod/v4/locales/el.cjs +0 -136
  183. package/node_modules/zod/v4/locales/el.d.cts +0 -5
  184. package/node_modules/zod/v4/locales/el.d.ts +0 -4
  185. package/node_modules/zod/v4/locales/el.js +0 -109
  186. package/node_modules/zod/v4/locales/hr.cjs +0 -149
  187. package/node_modules/zod/v4/locales/hr.d.cts +0 -5
  188. package/node_modules/zod/v4/locales/hr.d.ts +0 -4
  189. package/node_modules/zod/v4/locales/hr.js +0 -122
  190. package/node_modules/zod/v4/locales/package.json +0 -7
  191. package/node_modules/zod/v4/locales/ro.cjs +0 -146
  192. package/node_modules/zod/v4/locales/ro.d.cts +0 -5
  193. package/node_modules/zod/v4/locales/ro.d.ts +0 -4
  194. package/node_modules/zod/v4/locales/ro.js +0 -119
  195. package/node_modules/zod/v4/mini/package.json +0 -7
  196. package/node_modules/zod/v4/package.json +0 -7
  197. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/LICENSE +0 -0
  198. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/index.cjs +0 -0
  199. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/index.d.cts +0 -0
  200. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/index.d.ts +0 -0
  201. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/index.js +0 -0
  202. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/locales/index.cjs +0 -0
  203. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/locales/index.d.cts +0 -0
  204. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/locales/index.d.ts +0 -0
  205. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/locales/index.js +0 -0
  206. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/mini/index.cjs +0 -0
  207. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/mini/index.d.cts +0 -0
  208. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/mini/index.d.ts +0 -0
  209. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/mini/index.js +0 -0
  210. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/index.ts +0 -0
  211. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/locales/index.ts +0 -0
  212. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/mini/index.ts +0 -0
  213. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/ZodError.ts +0 -0
  214. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/datetime.ts +0 -0
  215. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/discriminatedUnion.ts +0 -0
  216. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/index.ts +0 -0
  217. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/ipv4.ts +0 -0
  218. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/object.ts +0 -0
  219. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/primitives.ts +0 -0
  220. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/realworld.ts +0 -0
  221. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/string.ts +0 -0
  222. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/union.ts +0 -0
  223. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/errors.ts +0 -0
  224. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/external.ts +0 -0
  225. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/helpers/enumUtil.ts +0 -0
  226. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/helpers/errorUtil.ts +0 -0
  227. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/helpers/parseUtil.ts +0 -0
  228. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/helpers/partialUtil.ts +0 -0
  229. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/helpers/typeAliases.ts +0 -0
  230. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/helpers/util.ts +0 -0
  231. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/index.ts +0 -0
  232. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/locales/en.ts +0 -0
  233. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/standard-schema.ts +0 -0
  234. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/Mocker.ts +0 -0
  235. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/anyunknown.test.ts +0 -0
  236. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/array.test.ts +0 -0
  237. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/async-parsing.test.ts +0 -0
  238. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/async-refinements.test.ts +0 -0
  239. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/base.test.ts +0 -0
  240. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/bigint.test.ts +0 -0
  241. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/branded.test.ts +0 -0
  242. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/catch.test.ts +0 -0
  243. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/coerce.test.ts +0 -0
  244. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/complex.test.ts +0 -0
  245. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/custom.test.ts +0 -0
  246. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/date.test.ts +0 -0
  247. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/deepmasking.test.ts +0 -0
  248. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/default.test.ts +0 -0
  249. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/description.test.ts +0 -0
  250. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/discriminated-unions.test.ts +0 -0
  251. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/enum.test.ts +0 -0
  252. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/error.test.ts +0 -0
  253. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/firstparty.test.ts +0 -0
  254. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/firstpartyschematypes.test.ts +0 -0
  255. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/function.test.ts +0 -0
  256. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/generics.test.ts +0 -0
  257. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/instanceof.test.ts +0 -0
  258. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/intersection.test.ts +0 -0
  259. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/language-server.source.ts +0 -0
  260. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/language-server.test.ts +0 -0
  261. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/literal.test.ts +0 -0
  262. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/map.test.ts +0 -0
  263. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/masking.test.ts +0 -0
  264. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/mocker.test.ts +0 -0
  265. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/nan.test.ts +0 -0
  266. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/nativeEnum.test.ts +0 -0
  267. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/nullable.test.ts +0 -0
  268. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/number.test.ts +0 -0
  269. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/object-augmentation.test.ts +0 -0
  270. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/object-in-es5-env.test.ts +0 -0
  271. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/optional.test.ts +0 -0
  272. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/parseUtil.test.ts +0 -0
  273. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/parser.test.ts +0 -0
  274. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/pickomit.test.ts +0 -0
  275. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/pipeline.test.ts +0 -0
  276. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/preprocess.test.ts +0 -0
  277. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/primitive.test.ts +0 -0
  278. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/promise.test.ts +0 -0
  279. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/readonly.test.ts +0 -0
  280. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/record.test.ts +0 -0
  281. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/recursive.test.ts +0 -0
  282. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/refine.test.ts +0 -0
  283. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/safeparse.test.ts +0 -0
  284. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/set.test.ts +0 -0
  285. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/standard-schema.test.ts +0 -0
  286. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/string.test.ts +0 -0
  287. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/transformer.test.ts +0 -0
  288. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/tuple.test.ts +0 -0
  289. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/unions.test.ts +0 -0
  290. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/validations.test.ts +0 -0
  291. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/void.test.ts +0 -0
  292. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/types.ts +0 -0
  293. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/checks.ts +0 -0
  294. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/coerce.ts +0 -0
  295. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/compat.ts +0 -0
  296. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/index.ts +0 -0
  297. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/iso.ts +0 -0
  298. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/anyunknown.test.ts +0 -0
  299. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/apply.test.ts +0 -0
  300. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/array.test.ts +0 -0
  301. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/async-parsing.test.ts +0 -0
  302. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/async-refinements.test.ts +0 -0
  303. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/base.test.ts +0 -0
  304. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/bigint.test.ts +0 -0
  305. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/brand.test.ts +0 -0
  306. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/coalesce.test.ts +0 -0
  307. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/codec-examples.test.ts +0 -0
  308. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/coerce.test.ts +0 -0
  309. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/custom.test.ts +0 -0
  310. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/date.test.ts +0 -0
  311. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/describe-meta-checks.test.ts +0 -0
  312. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/description.test.ts +0 -0
  313. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/enum.test.ts +0 -0
  314. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/error.test.ts +0 -0
  315. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/file.test.ts +0 -0
  316. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/firstparty.test.ts +0 -0
  317. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/fix-json-issue.test.ts +0 -0
  318. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/generics.test.ts +0 -0
  319. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/hash.test.ts +0 -0
  320. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/instanceof.test.ts +0 -0
  321. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/intersection.test.ts +0 -0
  322. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/json.test.ts +0 -0
  323. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/lazy.test.ts +0 -0
  324. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/literal.test.ts +0 -0
  325. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/map.test.ts +0 -0
  326. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/nan.test.ts +0 -0
  327. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/nested-refine.test.ts +0 -0
  328. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/nonoptional.test.ts +0 -0
  329. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/nullable.test.ts +0 -0
  330. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/pickomit.test.ts +0 -0
  331. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/pipe.test.ts +0 -0
  332. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/primitive.test.ts +0 -0
  333. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/promise.test.ts +0 -0
  334. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/prototypes.test.ts +0 -0
  335. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/readonly.test.ts +0 -0
  336. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/registries.test.ts +0 -0
  337. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/set.test.ts +0 -0
  338. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/standard-schema.test.ts +0 -0
  339. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/string-formats.test.ts +0 -0
  340. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/stringbool.test.ts +0 -0
  341. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -0
  342. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/url.test.ts +0 -0
  343. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/validations.test.ts +0 -0
  344. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/void.test.ts +0 -0
  345. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/config.ts +0 -0
  346. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/doc.ts +0 -0
  347. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/index.ts +0 -0
  348. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/json-schema-generator.ts +0 -0
  349. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/json-schema.ts +0 -0
  350. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/registries.ts +0 -0
  351. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/standard-schema.ts +0 -0
  352. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/extend.test.ts +0 -0
  353. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/index.test.ts +0 -0
  354. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/be.test.ts +0 -0
  355. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/en.test.ts +0 -0
  356. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/es.test.ts +0 -0
  357. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/he.test.ts +0 -0
  358. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/nl.test.ts +0 -0
  359. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/ru.test.ts +0 -0
  360. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/tr.test.ts +0 -0
  361. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/recursive-tuples.test.ts +0 -0
  362. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/zsf.ts +0 -0
  363. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/index.ts +0 -0
  364. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ar.ts +0 -0
  365. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/az.ts +0 -0
  366. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/be.ts +0 -0
  367. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/bg.ts +0 -0
  368. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ca.ts +0 -0
  369. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/cs.ts +0 -0
  370. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/da.ts +0 -0
  371. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/de.ts +0 -0
  372. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/eo.ts +0 -0
  373. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/es.ts +0 -0
  374. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/fa.ts +0 -0
  375. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/fi.ts +0 -0
  376. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/fr-CA.ts +0 -0
  377. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/he.ts +0 -0
  378. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/hu.ts +0 -0
  379. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/hy.ts +0 -0
  380. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/id.ts +0 -0
  381. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/is.ts +0 -0
  382. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ja.ts +0 -0
  383. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/kh.ts +0 -0
  384. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/km.ts +0 -0
  385. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ko.ts +0 -0
  386. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/lt.ts +0 -0
  387. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/mk.ts +0 -0
  388. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ms.ts +0 -0
  389. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/nl.ts +0 -0
  390. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/no.ts +0 -0
  391. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ota.ts +0 -0
  392. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/pl.ts +0 -0
  393. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ps.ts +0 -0
  394. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/pt.ts +0 -0
  395. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ru.ts +0 -0
  396. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/sl.ts +0 -0
  397. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/sv.ts +0 -0
  398. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ta.ts +0 -0
  399. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/th.ts +0 -0
  400. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/tr.ts +0 -0
  401. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ua.ts +0 -0
  402. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/uk.ts +0 -0
  403. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ur.ts +0 -0
  404. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/vi.ts +0 -0
  405. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/yo.ts +0 -0
  406. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/zh-CN.ts +0 -0
  407. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/zh-TW.ts +0 -0
  408. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/checks.ts +0 -0
  409. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/coerce.ts +0 -0
  410. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/index.ts +0 -0
  411. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/iso.ts +0 -0
  412. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/parse.ts +0 -0
  413. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/apply.test.ts +0 -0
  414. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/assignability.test.ts +0 -0
  415. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/brand.test.ts +0 -0
  416. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/checks.test.ts +0 -0
  417. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/computed.test.ts +0 -0
  418. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/error.test.ts +0 -0
  419. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/functions.test.ts +0 -0
  420. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/number.test.ts +0 -0
  421. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/prototypes.test.ts +0 -0
  422. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/standard-schema.test.ts +0 -0
  423. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4-mini/index.ts +0 -0
  424. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/ZodError.cjs +0 -0
  425. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/ZodError.d.cts +0 -0
  426. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/ZodError.d.ts +0 -0
  427. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/ZodError.js +0 -0
  428. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/errors.cjs +0 -0
  429. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/errors.d.cts +0 -0
  430. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/errors.d.ts +0 -0
  431. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/errors.js +0 -0
  432. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/external.cjs +0 -0
  433. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/external.d.cts +0 -0
  434. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/external.d.ts +0 -0
  435. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/external.js +0 -0
  436. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/enumUtil.cjs +0 -0
  437. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/enumUtil.d.cts +0 -0
  438. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/enumUtil.d.ts +0 -0
  439. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/enumUtil.js +0 -0
  440. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/errorUtil.cjs +0 -0
  441. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/errorUtil.d.cts +0 -0
  442. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/errorUtil.d.ts +0 -0
  443. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/errorUtil.js +0 -0
  444. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/parseUtil.cjs +0 -0
  445. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/parseUtil.d.cts +0 -0
  446. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/parseUtil.d.ts +0 -0
  447. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/parseUtil.js +0 -0
  448. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/partialUtil.cjs +0 -0
  449. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/partialUtil.d.cts +0 -0
  450. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/partialUtil.d.ts +0 -0
  451. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/partialUtil.js +0 -0
  452. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/typeAliases.cjs +0 -0
  453. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/typeAliases.d.cts +0 -0
  454. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/typeAliases.d.ts +0 -0
  455. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/typeAliases.js +0 -0
  456. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/util.cjs +0 -0
  457. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/util.d.cts +0 -0
  458. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/util.d.ts +0 -0
  459. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/util.js +0 -0
  460. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/index.cjs +0 -0
  461. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/index.d.cts +0 -0
  462. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/index.d.ts +0 -0
  463. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/index.js +0 -0
  464. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/locales/en.cjs +0 -0
  465. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/locales/en.d.cts +0 -0
  466. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/locales/en.d.ts +0 -0
  467. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/locales/en.js +0 -0
  468. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/standard-schema.cjs +0 -0
  469. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/standard-schema.d.cts +0 -0
  470. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/standard-schema.d.ts +0 -0
  471. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/standard-schema.js +0 -0
  472. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/types.cjs +0 -0
  473. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/types.d.cts +0 -0
  474. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/types.d.ts +0 -0
  475. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/types.js +0 -0
  476. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/checks.cjs +0 -0
  477. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/checks.d.cts +0 -0
  478. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/checks.d.ts +0 -0
  479. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/checks.js +0 -0
  480. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/coerce.cjs +0 -0
  481. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/coerce.d.cts +0 -0
  482. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/coerce.d.ts +0 -0
  483. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/coerce.js +0 -0
  484. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/compat.cjs +0 -0
  485. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/compat.d.cts +0 -0
  486. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/compat.d.ts +0 -0
  487. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/compat.js +0 -0
  488. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/errors.cjs +0 -0
  489. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/errors.d.cts +0 -0
  490. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/errors.d.ts +0 -0
  491. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/external.cjs +0 -0
  492. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/external.js +0 -0
  493. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/from-json-schema.d.cts +0 -0
  494. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/from-json-schema.d.ts +0 -0
  495. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/index.cjs +0 -0
  496. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/index.d.cts +0 -0
  497. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/index.d.ts +0 -0
  498. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/index.js +0 -0
  499. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/iso.cjs +0 -0
  500. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/iso.d.cts +0 -0
  501. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/iso.d.ts +0 -0
  502. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/iso.js +0 -0
  503. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/parse.cjs +0 -0
  504. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/parse.d.cts +0 -0
  505. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/parse.d.ts +0 -0
  506. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/parse.js +0 -0
  507. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/checks.cjs +0 -0
  508. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/checks.js +0 -0
  509. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/core.d.cts +0 -0
  510. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/core.d.ts +0 -0
  511. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/doc.cjs +0 -0
  512. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/doc.d.cts +0 -0
  513. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/doc.d.ts +0 -0
  514. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/doc.js +0 -0
  515. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/index.cjs +0 -0
  516. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/index.d.cts +0 -0
  517. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/index.d.ts +0 -0
  518. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/index.js +0 -0
  519. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-generator.cjs +0 -0
  520. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-generator.d.cts +0 -0
  521. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-generator.d.ts +0 -0
  522. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-generator.js +0 -0
  523. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-processors.d.cts +0 -0
  524. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-processors.d.ts +0 -0
  525. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema.cjs +0 -0
  526. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema.d.cts +0 -0
  527. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema.d.ts +0 -0
  528. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema.js +0 -0
  529. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/parse.d.cts +0 -0
  530. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/parse.d.ts +0 -0
  531. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/registries.cjs +0 -0
  532. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/registries.d.cts +0 -0
  533. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/registries.d.ts +0 -0
  534. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/registries.js +0 -0
  535. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/standard-schema.cjs +0 -0
  536. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/standard-schema.d.cts +0 -0
  537. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/standard-schema.d.ts +0 -0
  538. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/standard-schema.js +0 -0
  539. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/to-json-schema.d.cts +0 -0
  540. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/to-json-schema.d.ts +0 -0
  541. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/index.cjs +0 -0
  542. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/index.d.cts +0 -0
  543. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/index.d.ts +0 -0
  544. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/index.js +0 -0
  545. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ar.cjs +0 -0
  546. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ar.d.cts +0 -0
  547. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ar.d.ts +0 -0
  548. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ar.js +0 -0
  549. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/az.cjs +0 -0
  550. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/az.d.cts +0 -0
  551. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/az.d.ts +0 -0
  552. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/az.js +0 -0
  553. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/be.cjs +0 -0
  554. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/be.d.cts +0 -0
  555. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/be.d.ts +0 -0
  556. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/be.js +0 -0
  557. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/bg.cjs +0 -0
  558. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/bg.d.cts +0 -0
  559. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/bg.d.ts +0 -0
  560. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/bg.js +0 -0
  561. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ca.cjs +0 -0
  562. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ca.d.cts +0 -0
  563. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ca.d.ts +0 -0
  564. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ca.js +0 -0
  565. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/cs.cjs +0 -0
  566. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/cs.d.cts +0 -0
  567. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/cs.d.ts +0 -0
  568. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/cs.js +0 -0
  569. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/da.cjs +0 -0
  570. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/da.d.cts +0 -0
  571. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/da.d.ts +0 -0
  572. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/da.js +0 -0
  573. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/de.cjs +0 -0
  574. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/de.d.cts +0 -0
  575. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/de.d.ts +0 -0
  576. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/de.js +0 -0
  577. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/en.d.cts +0 -0
  578. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/en.d.ts +0 -0
  579. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/eo.cjs +0 -0
  580. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/eo.d.cts +0 -0
  581. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/eo.d.ts +0 -0
  582. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/eo.js +0 -0
  583. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/es.cjs +0 -0
  584. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/es.d.cts +0 -0
  585. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/es.d.ts +0 -0
  586. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/es.js +0 -0
  587. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fa.cjs +0 -0
  588. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fa.d.cts +0 -0
  589. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fa.d.ts +0 -0
  590. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fa.js +0 -0
  591. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fi.cjs +0 -0
  592. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fi.d.cts +0 -0
  593. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fi.d.ts +0 -0
  594. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fi.js +0 -0
  595. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr-CA.cjs +0 -0
  596. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr-CA.d.cts +0 -0
  597. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr-CA.d.ts +0 -0
  598. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr-CA.js +0 -0
  599. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr.d.cts +0 -0
  600. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr.d.ts +0 -0
  601. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/he.cjs +0 -0
  602. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/he.d.cts +0 -0
  603. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/he.d.ts +0 -0
  604. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/he.js +0 -0
  605. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hu.cjs +0 -0
  606. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hu.d.cts +0 -0
  607. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hu.d.ts +0 -0
  608. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hu.js +0 -0
  609. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hy.cjs +0 -0
  610. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hy.d.cts +0 -0
  611. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hy.d.ts +0 -0
  612. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hy.js +0 -0
  613. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/id.cjs +0 -0
  614. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/id.d.cts +0 -0
  615. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/id.d.ts +0 -0
  616. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/id.js +0 -0
  617. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/is.cjs +0 -0
  618. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/is.d.cts +0 -0
  619. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/is.d.ts +0 -0
  620. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/is.js +0 -0
  621. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/it.d.cts +0 -0
  622. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/it.d.ts +0 -0
  623. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ja.cjs +0 -0
  624. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ja.d.cts +0 -0
  625. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ja.d.ts +0 -0
  626. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ja.js +0 -0
  627. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ka.d.cts +0 -0
  628. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ka.d.ts +0 -0
  629. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/kh.cjs +0 -0
  630. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/kh.d.cts +0 -0
  631. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/kh.d.ts +0 -0
  632. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/kh.js +0 -0
  633. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/km.cjs +0 -0
  634. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/km.d.cts +0 -0
  635. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/km.d.ts +0 -0
  636. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/km.js +0 -0
  637. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ko.cjs +0 -0
  638. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ko.d.cts +0 -0
  639. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ko.d.ts +0 -0
  640. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ko.js +0 -0
  641. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/lt.cjs +0 -0
  642. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/lt.d.cts +0 -0
  643. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/lt.d.ts +0 -0
  644. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/lt.js +0 -0
  645. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/mk.cjs +0 -0
  646. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/mk.d.cts +0 -0
  647. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/mk.d.ts +0 -0
  648. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/mk.js +0 -0
  649. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ms.cjs +0 -0
  650. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ms.d.cts +0 -0
  651. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ms.d.ts +0 -0
  652. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ms.js +0 -0
  653. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/nl.cjs +0 -0
  654. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/nl.d.cts +0 -0
  655. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/nl.d.ts +0 -0
  656. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/nl.js +0 -0
  657. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/no.cjs +0 -0
  658. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/no.d.cts +0 -0
  659. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/no.d.ts +0 -0
  660. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/no.js +0 -0
  661. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ota.cjs +0 -0
  662. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ota.d.cts +0 -0
  663. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ota.d.ts +0 -0
  664. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ota.js +0 -0
  665. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pl.cjs +0 -0
  666. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pl.d.cts +0 -0
  667. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pl.d.ts +0 -0
  668. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pl.js +0 -0
  669. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ps.cjs +0 -0
  670. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ps.d.cts +0 -0
  671. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ps.d.ts +0 -0
  672. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ps.js +0 -0
  673. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pt.cjs +0 -0
  674. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pt.d.cts +0 -0
  675. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pt.d.ts +0 -0
  676. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pt.js +0 -0
  677. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ru.cjs +0 -0
  678. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ru.d.cts +0 -0
  679. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ru.d.ts +0 -0
  680. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ru.js +0 -0
  681. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sl.cjs +0 -0
  682. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sl.d.cts +0 -0
  683. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sl.d.ts +0 -0
  684. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sl.js +0 -0
  685. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sv.cjs +0 -0
  686. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sv.d.cts +0 -0
  687. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sv.d.ts +0 -0
  688. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sv.js +0 -0
  689. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ta.cjs +0 -0
  690. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ta.d.cts +0 -0
  691. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ta.d.ts +0 -0
  692. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ta.js +0 -0
  693. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/th.cjs +0 -0
  694. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/th.d.cts +0 -0
  695. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/th.d.ts +0 -0
  696. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/th.js +0 -0
  697. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/tr.cjs +0 -0
  698. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/tr.d.cts +0 -0
  699. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/tr.d.ts +0 -0
  700. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/tr.js +0 -0
  701. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ua.cjs +0 -0
  702. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ua.d.cts +0 -0
  703. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ua.d.ts +0 -0
  704. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ua.js +0 -0
  705. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uk.cjs +0 -0
  706. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uk.d.cts +0 -0
  707. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uk.d.ts +0 -0
  708. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uk.js +0 -0
  709. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ur.cjs +0 -0
  710. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ur.d.cts +0 -0
  711. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ur.d.ts +0 -0
  712. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ur.js +0 -0
  713. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uz.d.cts +0 -0
  714. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uz.d.ts +0 -0
  715. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/vi.cjs +0 -0
  716. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/vi.d.cts +0 -0
  717. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/vi.d.ts +0 -0
  718. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/vi.js +0 -0
  719. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/yo.cjs +0 -0
  720. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/yo.d.cts +0 -0
  721. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/yo.d.ts +0 -0
  722. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/yo.js +0 -0
  723. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-CN.cjs +0 -0
  724. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-CN.d.cts +0 -0
  725. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-CN.d.ts +0 -0
  726. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-CN.js +0 -0
  727. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-TW.cjs +0 -0
  728. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-TW.d.cts +0 -0
  729. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-TW.d.ts +0 -0
  730. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-TW.js +0 -0
  731. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/checks.cjs +0 -0
  732. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/checks.d.cts +0 -0
  733. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/checks.d.ts +0 -0
  734. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/checks.js +0 -0
  735. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/coerce.cjs +0 -0
  736. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/coerce.d.cts +0 -0
  737. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/coerce.d.ts +0 -0
  738. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/coerce.js +0 -0
  739. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/external.cjs +0 -0
  740. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/external.js +0 -0
  741. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/index.cjs +0 -0
  742. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/index.d.cts +0 -0
  743. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/index.d.ts +0 -0
  744. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/index.js +0 -0
  745. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/iso.cjs +0 -0
  746. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/iso.d.cts +0 -0
  747. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/iso.d.ts +0 -0
  748. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/iso.js +0 -0
  749. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/parse.cjs +0 -0
  750. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/parse.d.cts +0 -0
  751. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/parse.d.ts +0 -0
  752. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/parse.js +0 -0
  753. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4-mini/index.cjs +0 -0
  754. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4-mini/index.d.cts +0 -0
  755. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4-mini/index.d.ts +0 -0
  756. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4-mini/index.js +0 -0
@@ -8,65 +8,6 @@ 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
-
70
11
  ///////////////////////////////////////////
71
12
  ///////////////////////////////////////////
72
13
  //////////// ////////////
@@ -153,8 +94,7 @@ export interface ZodType<
153
94
  params?: string | core.$ZodCustomParams
154
95
  ): Ch extends (arg: any) => arg is infer R ? this & ZodType<R, core.input<this>> : this;
155
96
  superRefine(
156
- refinement: (arg: core.output<this>, ctx: core.$RefinementCtx<core.output<this>>) => void | Promise<void>,
157
- params?: core.$ZodSuperRefineParams
97
+ refinement: (arg: core.output<this>, ctx: core.$RefinementCtx<core.output<this>>) => void | Promise<void>
158
98
  ): this;
159
99
  overwrite(fn: (x: core.output<this>) => core.output<this>): this;
160
100
 
@@ -227,16 +167,38 @@ export const ZodType: core.$constructor<ZodType> = /*@__PURE__*/ core.$construct
227
167
  inst.type = def.type;
228
168
  Object.defineProperty(inst, "_def", { value: def });
229
169
 
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".
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
235
195
  inst.parse = (data, params) => parse.parse(inst, data, params, { callee: inst.parse });
236
196
  inst.safeParse = (data, params) => parse.safeParse(inst, data, params);
237
197
  inst.parseAsync = async (data, params) => parse.parseAsync(inst, data, params, { callee: inst.parseAsync });
238
198
  inst.safeParseAsync = async (data, params) => parse.safeParseAsync(inst, data, params);
239
199
  inst.spa = inst.safeParseAsync;
200
+
201
+ // encoding/decoding
240
202
  inst.encode = (data, params) => parse.encode(inst, data, params);
241
203
  inst.decode = (data, params) => parse.decode(inst, data, params);
242
204
  inst.encodeAsync = async (data, params) => parse.encodeAsync(inst, data, params);
@@ -246,122 +208,53 @@ export const ZodType: core.$constructor<ZodType> = /*@__PURE__*/ core.$construct
246
208
  inst.safeEncodeAsync = async (data, params) => parse.safeEncodeAsync(inst, data, params);
247
209
  inst.safeDecodeAsync = async (data, params) => parse.safeDecodeAsync(inst, data, params);
248
210
 
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
- });
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
+ };
359
239
  Object.defineProperty(inst, "description", {
360
240
  get() {
361
241
  return core.globalRegistry.get(inst)?.description;
362
242
  },
363
243
  configurable: true,
364
244
  });
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);
365
258
  return inst;
366
259
  });
367
260
 
@@ -404,53 +297,24 @@ export const _ZodString: core.$constructor<_ZodString> = /*@__PURE__*/ core.$con
404
297
  inst.minLength = bag.minimum ?? null;
405
298
  inst.maxLength = bag.maximum ?? null;
406
299
 
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
- });
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());
454
318
  });
455
319
 
456
320
  export interface ZodString extends _ZodString<core.$ZodStringInternals<string>> {
@@ -478,11 +342,7 @@ export interface ZodString extends _ZodString<core.$ZodStringInternals<string>>
478
342
  nanoid(params?: string | core.$ZodCheckNanoIDParams): this;
479
343
  /** @deprecated Use `z.guid()` instead. */
480
344
  guid(params?: string | core.$ZodCheckGUIDParams): this;
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
- */
345
+ /** @deprecated Use `z.cuid()` instead. */
486
346
  cuid(params?: string | core.$ZodCheckCUIDParams): this;
487
347
  /** @deprecated Use `z.cuid2()` instead. */
488
348
  cuid2(params?: string | core.$ZodCheckCUID2Params): this;
@@ -568,7 +428,7 @@ export const ZodString: core.$constructor<ZodString> = /*@__PURE__*/ core.$const
568
428
  export function string(params?: string | core.$ZodStringParams): ZodString;
569
429
  export function string<T extends string>(params?: string | core.$ZodStringParams): core.$ZodType<T, T>;
570
430
  export function string(params?: string | core.$ZodStringParams): ZodString {
571
- return core._string(ZodString, params);
431
+ return core._string(ZodString, params) as any;
572
432
  }
573
433
 
574
434
  // ZodStringFormat
@@ -656,7 +516,7 @@ export function url(params?: string | core.$ZodURLParams): ZodURL {
656
516
 
657
517
  export function httpUrl(params?: string | Omit<core.$ZodURLParams, "protocol" | "hostname">): ZodURL {
658
518
  return core._url(ZodURL, {
659
- protocol: core.regexes.httpProtocol,
519
+ protocol: /^https?$/,
660
520
  hostname: core.regexes.domain,
661
521
  ...util.normalizeParams(params),
662
522
  });
@@ -691,32 +551,15 @@ export function nanoid(params?: string | core.$ZodNanoIDParams): ZodNanoID {
691
551
  }
692
552
 
693
553
  // 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
- */
699
554
  export interface ZodCUID extends ZodStringFormat<"cuid"> {
700
555
  _zod: core.$ZodCUIDInternals;
701
556
  }
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
- */
707
557
  export const ZodCUID: core.$constructor<ZodCUID> = /*@__PURE__*/ core.$constructor("ZodCUID", (inst, def) => {
708
558
  // ZodStringFormat.init(inst, def);
709
559
  core.$ZodCUID.init(inst, def);
710
560
  ZodStringFormat.init(inst, def);
711
561
  });
712
562
 
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
- */
720
563
  export function cuid(params?: string | core.$ZodCUIDParams): ZodCUID {
721
564
  return core._cuid(ZodCUID, params);
722
565
  }
@@ -1002,53 +845,23 @@ export const ZodNumber: core.$constructor<ZodNumber> = /*@__PURE__*/ core.$const
1002
845
 
1003
846
  inst._zod.processJSONSchema = (ctx, json, params) => processors.numberProcessor(inst, ctx, json, params);
1004
847
 
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
- });
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;
1052
865
 
1053
866
  const bag = inst._zod.bag;
1054
867
  inst.minValue =
@@ -1061,7 +874,7 @@ export const ZodNumber: core.$constructor<ZodNumber> = /*@__PURE__*/ core.$const
1061
874
  });
1062
875
 
1063
876
  export function number(params?: string | core.$ZodNumberParams): ZodNumber {
1064
- return core._number(ZodNumber, params);
877
+ return core._number(ZodNumber, params) as any;
1065
878
  }
1066
879
 
1067
880
  // ZodNumberFormat
@@ -1116,7 +929,7 @@ export const ZodBoolean: core.$constructor<ZodBoolean> = /*@__PURE__*/ core.$con
1116
929
  });
1117
930
 
1118
931
  export function boolean(params?: string | core.$ZodBooleanParams): ZodBoolean {
1119
- return core._boolean(ZodBoolean, params);
932
+ return core._boolean(ZodBoolean, params) as any;
1120
933
  }
1121
934
 
1122
935
  // bigint
@@ -1167,7 +980,7 @@ export const ZodBigInt: core.$constructor<ZodBigInt> = /*@__PURE__*/ core.$const
1167
980
  });
1168
981
 
1169
982
  export function bigint(params?: string | core.$ZodBigIntParams): ZodBigInt {
1170
- return core._bigint(ZodBigInt, params);
983
+ return core._bigint(ZodBigInt, params) as any;
1171
984
  }
1172
985
  // bigint formats
1173
986
 
@@ -1330,24 +1143,13 @@ export const ZodArray: core.$constructor<ZodArray> = /*@__PURE__*/ core.$constru
1330
1143
  ZodType.init(inst, def);
1331
1144
  inst._zod.processJSONSchema = (ctx, json, params) => processors.arrayProcessor(inst, ctx, json, params);
1332
1145
 
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
- });
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;
1351
1153
  });
1352
1154
 
1353
1155
  export function array<T extends core.SomeType>(element: T, params?: string | core.$ZodArrayParams): ZodArray<T> {
@@ -1396,11 +1198,11 @@ export interface ZodObject<
1396
1198
  /** This is the default behavior. This method call is likely unnecessary. */
1397
1199
  strip(): ZodObject<Shape, core.$strip>;
1398
1200
 
1399
- extend<U extends core.$ZodLooseShape>(shape: U): ZodObject<util.Extend<Shape, util.Writeable<U>>, Config>;
1201
+ extend<U extends core.$ZodLooseShape>(shape: U): ZodObject<util.Extend<Shape, U>, Config>;
1400
1202
 
1401
1203
  safeExtend<U extends core.$ZodLooseShape>(
1402
1204
  shape: SafeExtendShape<Shape, U> & Partial<Record<keyof Shape, core.SomeType>>
1403
- ): ZodObject<util.Extend<Shape, util.Writeable<U>>, Config>;
1205
+ ): ZodObject<util.Extend<Shape, U>, Config>;
1404
1206
 
1405
1207
  /**
1406
1208
  * @deprecated Use [`A.extend(B.shape)`](https://zod.dev/api?id=extend) instead.
@@ -1417,7 +1219,7 @@ export interface ZodObject<
1417
1219
 
1418
1220
  partial(): ZodObject<
1419
1221
  {
1420
- -readonly [k in keyof Shape]: ZodOptional<Shape[k]>;
1222
+ [k in keyof Shape]: ZodOptional<Shape[k]>;
1421
1223
  },
1422
1224
  Config
1423
1225
  >;
@@ -1425,7 +1227,7 @@ export interface ZodObject<
1425
1227
  mask: M & Record<Exclude<keyof M, keyof Shape>, never>
1426
1228
  ): ZodObject<
1427
1229
  {
1428
- -readonly [k in keyof Shape]: k extends keyof M
1230
+ [k in keyof Shape]: k extends keyof M
1429
1231
  ? // Shape[k] extends OptionalInSchema
1430
1232
  // ? Shape[k]
1431
1233
  // :
@@ -1438,7 +1240,7 @@ export interface ZodObject<
1438
1240
  // required
1439
1241
  required(): ZodObject<
1440
1242
  {
1441
- -readonly [k in keyof Shape]: ZodNonOptional<Shape[k]>;
1243
+ [k in keyof Shape]: ZodNonOptional<Shape[k]>;
1442
1244
  },
1443
1245
  Config
1444
1246
  >;
@@ -1446,7 +1248,7 @@ export interface ZodObject<
1446
1248
  mask: M & Record<Exclude<keyof M, keyof Shape>, never>
1447
1249
  ): ZodObject<
1448
1250
  {
1449
- -readonly [k in keyof Shape]: k extends keyof M ? ZodNonOptional<Shape[k]> : Shape[k];
1251
+ [k in keyof Shape]: k extends keyof M ? ZodNonOptional<Shape[k]> : Shape[k];
1450
1252
  },
1451
1253
  Config
1452
1254
  >;
@@ -1461,47 +1263,24 @@ export const ZodObject: core.$constructor<ZodObject> = /*@__PURE__*/ core.$const
1461
1263
  return def.shape;
1462
1264
  });
1463
1265
 
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
- });
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);
1505
1284
  });
1506
1285
 
1507
1286
  export function object<T extends core.$ZodLooseShape = Partial<Record<never, core.SomeType>>>(
@@ -1521,7 +1300,7 @@ export function object<T extends core.$ZodLooseShape = Partial<Record<never, cor
1521
1300
  export function strictObject<T extends core.$ZodLooseShape>(
1522
1301
  shape: T,
1523
1302
  params?: string | core.$ZodObjectParams
1524
- ): ZodObject<util.Writeable<T>, core.$strict> {
1303
+ ): ZodObject<T, core.$strict> {
1525
1304
  return new ZodObject({
1526
1305
  type: "object",
1527
1306
  shape,
@@ -1535,7 +1314,7 @@ export function strictObject<T extends core.$ZodLooseShape>(
1535
1314
  export function looseObject<T extends core.$ZodLooseShape>(
1536
1315
  shape: T,
1537
1316
  params?: string | core.$ZodObjectParams
1538
- ): ZodObject<util.Writeable<T>, core.$loose> {
1317
+ ): ZodObject<T, core.$loose> {
1539
1318
  return new ZodObject({
1540
1319
  type: "object",
1541
1320
  shape,
@@ -1617,7 +1396,7 @@ export const ZodDiscriminatedUnion: core.$constructor<ZodDiscriminatedUnion> = /
1617
1396
  );
1618
1397
 
1619
1398
  export function discriminatedUnion<
1620
- Types extends readonly [core.$ZodTypeDiscriminable<Disc>, ...core.$ZodTypeDiscriminable<Disc>[]],
1399
+ Types extends readonly [core.$ZodTypeDiscriminable, ...core.$ZodTypeDiscriminable[]],
1621
1400
  Disc extends string,
1622
1401
  >(
1623
1402
  discriminator: Disc,
@@ -1729,15 +1508,6 @@ export function record<Key extends core.$ZodRecordKey, Value extends core.SomeTy
1729
1508
  valueType: Value,
1730
1509
  params?: string | core.$ZodRecordParams
1731
1510
  ): 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
- }
1741
1511
  return new ZodRecord({
1742
1512
  type: "record",
1743
1513
  keyType,
@@ -1932,7 +1702,7 @@ export function nativeEnum<T extends util.EnumLike>(entries: T, params?: string
1932
1702
  type: "enum",
1933
1703
  entries,
1934
1704
  ...util.normalizeParams(params),
1935
- }) as ZodEnum<T>;
1705
+ }) as any as ZodEnum<T>;
1936
1706
  }
1937
1707
 
1938
1708
  // ZodLiteral
@@ -2034,19 +1804,17 @@ export const ZodTransform: core.$constructor<ZodTransform> = /*@__PURE__*/ core.
2034
1804
  if (output instanceof Promise) {
2035
1805
  return output.then((output) => {
2036
1806
  payload.value = output;
2037
- payload.fallback = true;
2038
1807
  return payload;
2039
1808
  });
2040
1809
  }
2041
1810
  payload.value = output;
2042
- payload.fallback = true;
2043
1811
  return payload;
2044
1812
  };
2045
1813
  }
2046
1814
  );
2047
1815
 
2048
1816
  export function transform<I = unknown, O = I>(
2049
- fn: (input: I, ctx: core.$RefinementCtx) => O
1817
+ fn: (input: I, ctx: core.ParsePayload) => O
2050
1818
  ): ZodTransform<Awaited<O>, I> {
2051
1819
  return new ZodTransform({
2052
1820
  type: "transform",
@@ -2352,33 +2120,6 @@ export function codec<const A extends core.SomeType, B extends core.SomeType = c
2352
2120
  }) as any;
2353
2121
  }
2354
2122
 
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
-
2382
2123
  // ZodReadonly
2383
2124
  export interface ZodReadonly<T extends core.SomeType = core.$ZodType>
2384
2125
  extends _ZodType<core.$ZodReadonlyInternals<T>>,
@@ -2580,10 +2321,9 @@ export function refine<T>(
2580
2321
 
2581
2322
  // superRefine
2582
2323
  export function superRefine<T>(
2583
- fn: (arg: T, payload: core.$RefinementCtx<T>) => void | Promise<void>,
2584
- params?: core.$ZodSuperRefineParams
2324
+ fn: (arg: T, payload: core.$RefinementCtx<T>) => void | Promise<void>
2585
2325
  ): core.$ZodCheck<T> {
2586
- return core._superRefine(fn, params);
2326
+ return core._superRefine(fn);
2587
2327
  }
2588
2328
 
2589
2329
  // Re-export describe and meta from core
@@ -2660,13 +2400,10 @@ export function json(params?: string | core.$ZodCustomParams): ZodJSONSchema {
2660
2400
 
2661
2401
  // preprocess
2662
2402
 
2403
+ // /** @deprecated Use `z.pipe()` and `z.transform()` instead. */
2663
2404
  export function preprocess<A, U extends core.SomeType, B = unknown>(
2664
2405
  fn: (arg: B, ctx: core.$RefinementCtx) => A,
2665
2406
  schema: U
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;
2407
+ ): ZodPipe<ZodTransform<A, B>, U> {
2408
+ return pipe(transform(fn as any), schema as any) as any;
2672
2409
  }