@loomhelm/multi-task-flow 0.2.7 → 0.2.9

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 (1046) hide show
  1. package/README.md +22 -18
  2. package/package.json +3 -13
  3. package/src/build-info.ts +4 -2
  4. package/src/cli/release.ts +4 -40
  5. package/src/cli/service.ts +26 -0
  6. package/src/cli.ts +3 -1
  7. package/src/release-tarball.ts +1 -1
  8. package/src/release.ts +7 -1
  9. package/src/runtime-identity.ts +4 -2
  10. package/src/toolkit.ts +71 -15
  11. package/toolkit/artifact-manifest.json +317 -4224
  12. package/toolkit/package.json +1 -1
  13. package/toolkit/skills/bin/check_source_policy.ts +13 -7
  14. package/toolkit/skills/bin/multi_task_platform_gate.ts +2 -2
  15. package/toolkit/skills/bin/tests/core/package_scripts.test.ts +1 -1
  16. package/toolkit/skills/bin/tests/plan/multi-task-flow.test.ts +3 -3
  17. package/toolkit/skills/catalog.json +0 -1
  18. package/toolkit/skills/docs/vendor/dot-codex/design/multi-task-flow/data-and-scripts.md +84 -28
  19. package/toolkit/skills/docs/vendor/dot-codex/design/multi-task-flow/execution.md +1 -1
  20. package/toolkit/skills/docs/vendor/dot-codex/design/multi-task-flow/plan-revision-and-change-audit.md +1 -1
  21. package/toolkit/skills/docs/vendor/dot-codex/design/multi-task-flow/web-template.md +1 -1
  22. package/toolkit/skills/docs/vendor/dot-codex/specs/a4ge9-stable-preview-runtime/IMPLEMENTATION.md +0 -2
  23. package/toolkit/skills/docs/vendor/dot-codex/specs/a4ge9-stable-preview-runtime/SPEC.md +0 -1
  24. package/toolkit/skills/docs/vendor/dot-codex/specs/dev-plan-standalone-typescript-finalizer/IMPLEMENTATION.md +1 -1
  25. package/toolkit/skills/docs/vendor/dot-codex/specs/multi-task-flow/IMPLEMENTATION.md +3 -3
  26. package/toolkit/skills/docs/vendor/dot-codex/specs/multi-task-flow/SCHEMA.md +4 -4
  27. package/toolkit/skills/docs/vendor/dot-codex/specs/stable-preview-runtime/IMPLEMENTATION.md +0 -2
  28. package/toolkit/skills/docs/vendor/dot-codex/specs/stable-preview-runtime/SPEC.md +0 -1
  29. package/toolkit/skills/multi-task-flow/SKILL.md +65 -47
  30. package/toolkit/skills/multi-task-flow/dist/app.css +1 -1
  31. package/toolkit/skills/multi-task-flow/dist/app.js +74 -74
  32. package/toolkit/skills/multi-task-flow/dist/index.html +3 -3
  33. package/toolkit/skills/multi-task-flow/lib/atomic-orchestration.ts +26 -3
  34. package/toolkit/skills/multi-task-flow/lib/engine.ts +136 -17
  35. package/toolkit/skills/multi-task-flow/lib/package-source.ts +5 -5
  36. package/toolkit/skills/multi-task-flow/lib/schema.ts +82 -2
  37. package/toolkit/skills/multi-task-flow/lib/service-pages.ts +1 -26
  38. package/toolkit/skills/multi-task-flow/lib/view.ts +125 -11
  39. package/toolkit/skills/multi-task-flow/references/shared-viewer.md +1 -1
  40. package/toolkit/skills/multi-task-flow/scripts/check-client-skills.ts +7 -4
  41. package/toolkit/skills/multi-task-flow/scripts/check-skills-installation.ts +14 -8
  42. package/toolkit/skills/multi-task-flow/scripts/import-client-skills.ts +1 -1
  43. package/toolkit/skills/multi-task-flow/scripts/package-client-skills.ts +28 -157
  44. package/toolkit/skills/multi-task-flow/scripts/preview-source.ts +3 -0
  45. package/toolkit/skills/multi-task-flow/scripts/test-viewer-source.ts +1 -1
  46. package/toolkit/skills/multi-task-flow/tests/atomic-orchestration-schema.test.ts +40 -0
  47. package/toolkit/skills/multi-task-flow/tests/browser/README.md +1 -1
  48. package/toolkit/skills/multi-task-flow/tests/check-skills-installation.test.ts +12 -38
  49. package/toolkit/skills/multi-task-flow/tests/delivery-topology.test.ts +33 -0
  50. package/toolkit/skills/multi-task-flow/tests/engine.test.ts +339 -0
  51. package/toolkit/skills/multi-task-flow/tests/orchestrate.test.ts +3 -5
  52. package/toolkit/skills/multi-task-flow/tests/source-preview.test.ts +29 -0
  53. package/toolkit/skills/multi-task-flow/tests/ui/details-content.test.ts +31 -0
  54. package/toolkit/skills/multi-task-flow/tests/ui/responsive-width-contract.test.ts +25 -1
  55. package/toolkit/skills/multi-task-flow/tests/ui/task-context-menu.test.ts +2 -1
  56. package/toolkit/skills/multi-task-flow/tests/view.test.ts +149 -0
  57. package/toolkit/skills/multi-task-flow/web/app.css +68 -9
  58. package/toolkit/skills/multi-task-flow/web/app.ts +42 -15
  59. package/toolkit/skills/multi-task-flow/web/atomic-graph-view.tsx +2 -2
  60. package/toolkit/skills/multi-task-flow/web/details-content.ts +54 -38
  61. package/toolkit/skills/multi-task-flow/web/graph-view.tsx +1 -1
  62. package/toolkit/skills/multi-task-flow/web/index.html +3 -3
  63. package/toolkit/skills/multi-task-flow/web/model.ts +1 -1
  64. package/toolkit/skills/multi-task-flow/web/timeline.ts +11 -8
  65. package/toolkit/skills/package.json +2 -2
  66. package/toolkit/skills/source-manifest.json +693 -400
  67. package/toolkit/skills/support-manifest.json +1 -0
  68. package/toolkit/skills/multi-task-flow/node_modules/zod/LICENSE +0 -21
  69. package/toolkit/skills/multi-task-flow/node_modules/zod/README.md +0 -218
  70. package/toolkit/skills/multi-task-flow/node_modules/zod/compile.cjs +0 -96
  71. package/toolkit/skills/multi-task-flow/node_modules/zod/compile.d.cts +0 -1
  72. package/toolkit/skills/multi-task-flow/node_modules/zod/compile.d.ts +0 -1
  73. package/toolkit/skills/multi-task-flow/node_modules/zod/compile.js +0 -52
  74. package/toolkit/skills/multi-task-flow/node_modules/zod/index.cjs +0 -52
  75. package/toolkit/skills/multi-task-flow/node_modules/zod/index.d.cts +0 -3
  76. package/toolkit/skills/multi-task-flow/node_modules/zod/index.d.ts +0 -3
  77. package/toolkit/skills/multi-task-flow/node_modules/zod/index.js +0 -7
  78. package/toolkit/skills/multi-task-flow/node_modules/zod/locales/index.cjs +0 -36
  79. package/toolkit/skills/multi-task-flow/node_modules/zod/locales/index.d.cts +0 -1
  80. package/toolkit/skills/multi-task-flow/node_modules/zod/locales/index.d.ts +0 -1
  81. package/toolkit/skills/multi-task-flow/node_modules/zod/locales/index.js +0 -1
  82. package/toolkit/skills/multi-task-flow/node_modules/zod/locales/package.json +0 -7
  83. package/toolkit/skills/multi-task-flow/node_modules/zod/mini/index.cjs +0 -51
  84. package/toolkit/skills/multi-task-flow/node_modules/zod/mini/index.d.cts +0 -3
  85. package/toolkit/skills/multi-task-flow/node_modules/zod/mini/index.d.ts +0 -3
  86. package/toolkit/skills/multi-task-flow/node_modules/zod/mini/index.js +0 -3
  87. package/toolkit/skills/multi-task-flow/node_modules/zod/mini/package.json +0 -7
  88. package/toolkit/skills/multi-task-flow/node_modules/zod/package.json +0 -147
  89. package/toolkit/skills/multi-task-flow/node_modules/zod/src/compile.ts +0 -56
  90. package/toolkit/skills/multi-task-flow/node_modules/zod/src/index.ts +0 -7
  91. package/toolkit/skills/multi-task-flow/node_modules/zod/src/locales/index.ts +0 -1
  92. package/toolkit/skills/multi-task-flow/node_modules/zod/src/mini/index.ts +0 -3
  93. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/ZodError.ts +0 -340
  94. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  95. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  96. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  97. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  98. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  99. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  100. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  101. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  102. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  103. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/errors.ts +0 -13
  104. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/external.ts +0 -6
  105. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  106. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  107. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  108. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  109. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  110. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/helpers/util.ts +0 -224
  111. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/index.ts +0 -4
  112. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/locales/en.ts +0 -124
  113. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/standard-schema.ts +0 -113
  114. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  115. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  116. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  117. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  118. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  119. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  120. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  121. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  122. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  123. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  124. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  125. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
  126. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  127. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  128. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  129. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  130. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  131. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  132. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  133. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/error.test.ts +0 -586
  134. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  135. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  136. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/function.test.ts +0 -261
  137. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  138. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  139. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/intersection.test.ts +0 -128
  140. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  141. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/language-server.test.ts +0 -206
  142. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  143. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  144. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  145. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  146. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
  147. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  148. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  149. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  150. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  151. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  152. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/object.test.ts +0 -431
  153. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  154. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  155. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  156. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  157. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  158. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  159. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  160. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  161. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  162. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/readonly.test.ts +0 -114
  163. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  164. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  165. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  166. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  167. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  168. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  169. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/string.test.ts +0 -922
  170. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  171. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  172. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  173. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  174. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  175. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/types.ts +0 -5138
  176. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/checks.ts +0 -33
  177. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  178. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/compat.ts +0 -78
  179. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/deep-partial.ts +0 -76
  180. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/errors.ts +0 -97
  181. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/external.ts +0 -57
  182. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -944
  183. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/in-out.ts +0 -45
  184. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/index.ts +0 -5
  185. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/iso.ts +0 -20
  186. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/parse.ts +0 -88
  187. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/schemas.ts +0 -2937
  188. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  189. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -86
  190. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -291
  191. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -402
  192. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  193. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  194. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  195. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -89
  196. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
  197. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -604
  198. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  199. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -572
  200. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -704
  201. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  202. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
  203. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +0 -76
  204. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  205. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +0 -985
  206. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -92
  207. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -316
  208. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +0 -380
  209. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +0 -32
  210. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -455
  211. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
  212. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  213. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +0 -221
  214. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -942
  215. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -305
  216. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -917
  217. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -1108
  218. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
  219. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
  220. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
  221. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -1467
  222. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -391
  223. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  224. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/global-config.test.ts +0 -32
  225. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -67
  226. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/iban.test.ts +0 -81
  227. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/in-out.test.ts +0 -159
  228. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -958
  229. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +0 -319
  230. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -127
  231. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -334
  232. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +0 -215
  233. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +0 -39
  234. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
  235. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -262
  236. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -128
  237. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +0 -29
  238. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +0 -24
  239. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -349
  240. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  241. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  242. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
  243. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  244. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -401
  245. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -1006
  246. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +0 -235
  247. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -366
  248. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -497
  249. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
  250. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
  251. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -144
  252. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +0 -44
  253. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -351
  254. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  255. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  256. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/properties.test.ts +0 -141
  257. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  258. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -184
  259. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -885
  260. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -707
  261. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/redos.test.ts +0 -68
  262. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -693
  263. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
  264. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -196
  265. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -153
  266. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
  267. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1440
  268. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -124
  269. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -812
  270. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
  271. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -4733
  272. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -378
  273. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -511
  274. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -310
  275. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
  276. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/validate.test.ts +0 -645
  277. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  278. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  279. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/api.ts +0 -1875
  280. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/checks.ts +0 -1266
  281. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/compile.ts +0 -2322
  282. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/core.ts +0 -230
  283. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/doc.ts +0 -52
  284. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/errors.ts +0 -543
  285. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/index.ts +0 -19
  286. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -131
  287. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -934
  288. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/json-schema.ts +0 -148
  289. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/memoizer.ts +0 -331
  290. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/parse.ts +0 -309
  291. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/regexes.ts +0 -217
  292. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/registries.ts +0 -105
  293. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/schemas.ts +0 -5226
  294. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
  295. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/cached.test.ts +0 -54
  296. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +0 -1004
  297. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +0 -445
  298. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/compile-global.test.ts +0 -89
  299. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +0 -26
  300. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +0 -34
  301. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/compile.test.ts +0 -2036
  302. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/email-regex.test.ts +0 -140
  303. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
  304. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  305. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  306. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/locales/el.test.ts +0 -214
  307. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  308. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -180
  309. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +0 -72
  310. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
  311. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +0 -163
  312. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
  313. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +0 -42
  314. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  315. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +0 -85
  316. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +0 -69
  317. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  318. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -105
  319. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +0 -46
  320. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -125
  321. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
  322. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/treeshake.test.ts +0 -51
  323. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +0 -133
  324. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/to-json-schema.ts +0 -857
  325. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/util.ts +0 -1293
  326. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/versions.ts +0 -5
  327. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/visit.ts +0 -193
  328. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/zsf.ts +0 -323
  329. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/index.ts +0 -4
  330. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ar.ts +0 -120
  331. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/az.ts +0 -116
  332. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/be.ts +0 -188
  333. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/bg.ts +0 -133
  334. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/bn.ts +0 -123
  335. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ca.ts +0 -121
  336. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ckb.ts +0 -140
  337. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/cs.ts +0 -123
  338. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/da.ts +0 -128
  339. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/de.ts +0 -121
  340. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/el.ts +0 -124
  341. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/en.ts +0 -136
  342. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/eo.ts +0 -123
  343. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/es.ts +0 -145
  344. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/fa.ts +0 -131
  345. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/fi.ts +0 -126
  346. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/fr-CA.ts +0 -121
  347. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/fr.ts +0 -139
  348. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/gu.ts +0 -123
  349. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/he.ts +0 -253
  350. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/hi.ts +0 -126
  351. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/hr.ts +0 -135
  352. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/hu.ts +0 -122
  353. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/hy.ts +0 -175
  354. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/id.ts +0 -120
  355. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/index.ts +0 -63
  356. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/is.ts +0 -124
  357. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/it.ts +0 -121
  358. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ja.ts +0 -119
  359. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ka.ts +0 -128
  360. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/kh.ts +0 -7
  361. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/km.ts +0 -124
  362. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/kn.ts +0 -126
  363. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ko.ts +0 -126
  364. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/lt.ts +0 -243
  365. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/mk.ts +0 -123
  366. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ms.ts +0 -120
  367. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ne.ts +0 -128
  368. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/nl.ts +0 -126
  369. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/nn.ts +0 -121
  370. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/no.ts +0 -121
  371. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ota.ts +0 -122
  372. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/pl.ts +0 -123
  373. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ps.ts +0 -131
  374. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/pt-BR.ts +0 -161
  375. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/pt.ts +0 -159
  376. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ro.ts +0 -132
  377. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ru.ts +0 -188
  378. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/sk.ts +0 -123
  379. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/sl.ts +0 -123
  380. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/sv.ts +0 -124
  381. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ta.ts +0 -123
  382. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/tg.ts +0 -135
  383. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/th.ts +0 -124
  384. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/tk.ts +0 -113
  385. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/tr.ts +0 -116
  386. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ua.ts +0 -7
  387. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/uk.ts +0 -122
  388. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ur.ts +0 -124
  389. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/uz.ts +0 -120
  390. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/vi.ts +0 -122
  391. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/yo.ts +0 -129
  392. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/zh-CN.ts +0 -121
  393. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/zh-TW.ts +0 -120
  394. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/checks.ts +0 -33
  395. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/coerce.ts +0 -27
  396. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/deep-partial.ts +0 -73
  397. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/external.ts +0 -52
  398. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/in-out.ts +0 -45
  399. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/index.ts +0 -3
  400. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/iso.ts +0 -66
  401. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/parse.ts +0 -16
  402. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/schemas.ts +0 -2051
  403. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -57
  404. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -190
  405. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
  406. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -158
  407. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -582
  408. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -30
  409. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +0 -84
  410. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +0 -54
  411. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -41
  412. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -14
  413. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -1146
  414. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -109
  415. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -292
  416. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  417. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -341
  418. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
  419. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -396
  420. package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4-mini/index.ts +0 -3
  421. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/ZodError.cjs +0 -167
  422. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/ZodError.d.cts +0 -164
  423. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/ZodError.d.ts +0 -164
  424. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/ZodError.js +0 -143
  425. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/errors.cjs +0 -36
  426. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/errors.d.cts +0 -5
  427. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/errors.d.ts +0 -5
  428. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/errors.js +0 -9
  429. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/external.cjs +0 -41
  430. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/external.d.cts +0 -6
  431. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/external.d.ts +0 -6
  432. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/external.js +0 -6
  433. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/enumUtil.cjs +0 -21
  434. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  435. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  436. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  437. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/errorUtil.cjs +0 -28
  438. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  439. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  440. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  441. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/parseUtil.cjs +0 -143
  442. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  443. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  444. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  445. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/partialUtil.cjs +0 -21
  446. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  447. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  448. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  449. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/typeAliases.cjs +0 -21
  450. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  451. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  452. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  453. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/util.cjs +0 -156
  454. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/util.d.cts +0 -85
  455. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/util.d.ts +0 -85
  456. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/util.js +0 -133
  457. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/index.cjs +0 -52
  458. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/index.d.cts +0 -4
  459. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/index.d.ts +0 -4
  460. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/index.js +0 -4
  461. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/locales/en.cjs +0 -112
  462. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/locales/en.d.cts +0 -3
  463. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/locales/en.d.ts +0 -3
  464. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/locales/en.js +0 -109
  465. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/package.json +0 -7
  466. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/standard-schema.cjs +0 -21
  467. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/standard-schema.d.cts +0 -102
  468. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/standard-schema.d.ts +0 -102
  469. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/standard-schema.js +0 -1
  470. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/types.cjs +0 -3798
  471. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/types.d.cts +0 -1034
  472. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/types.d.ts +0 -1034
  473. package/toolkit/skills/multi-task-flow/node_modules/zod/v3/types.js +0 -3697
  474. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/checks.cjs +0 -53
  475. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/checks.d.cts +0 -1
  476. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/checks.d.ts +0 -1
  477. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/checks.js +0 -1
  478. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/coerce.cjs +0 -66
  479. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  480. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  481. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/coerce.js +0 -17
  482. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/compat.cjs +0 -80
  483. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/compat.d.cts +0 -48
  484. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/compat.d.ts +0 -48
  485. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/compat.js +0 -31
  486. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/deep-partial.cjs +0 -58
  487. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/deep-partial.d.cts +0 -14
  488. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/deep-partial.d.ts +0 -14
  489. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/deep-partial.js +0 -13
  490. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/errors.cjs +0 -102
  491. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/errors.d.cts +0 -29
  492. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/errors.d.ts +0 -29
  493. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/errors.js +0 -57
  494. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/external.cjs +0 -97
  495. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/external.d.cts +0 -19
  496. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/external.d.ts +0 -19
  497. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/external.js +0 -17
  498. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/from-json-schema.cjs +0 -926
  499. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
  500. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
  501. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/from-json-schema.js +0 -881
  502. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/in-out.cjs +0 -82
  503. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/in-out.d.cts +0 -8
  504. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/in-out.d.ts +0 -8
  505. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/in-out.js +0 -36
  506. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/index.cjs +0 -52
  507. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/index.d.cts +0 -3
  508. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/index.d.ts +0 -3
  509. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/index.js +0 -4
  510. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/iso.cjs +0 -68
  511. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/iso.d.cts +0 -7
  512. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/iso.d.ts +0 -7
  513. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/iso.js +0 -15
  514. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/package.json +0 -7
  515. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/parse.cjs +0 -63
  516. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/parse.d.cts +0 -44
  517. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/parse.d.ts +0 -44
  518. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/parse.js +0 -16
  519. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/schemas.cjs +0 -1676
  520. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/schemas.d.cts +0 -816
  521. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/schemas.d.ts +0 -816
  522. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/schemas.js +0 -1535
  523. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/api.cjs +0 -1269
  524. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/api.d.cts +0 -335
  525. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/api.d.ts +0 -335
  526. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/api.js +0 -1107
  527. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/checks.cjs +0 -561
  528. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/checks.d.cts +0 -294
  529. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/checks.d.ts +0 -294
  530. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/checks.js +0 -516
  531. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/compile.cjs +0 -1916
  532. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/compile.d.cts +0 -65
  533. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/compile.d.ts +0 -65
  534. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/compile.js +0 -1866
  535. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/core.cjs +0 -167
  536. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/core.d.cts +0 -82
  537. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/core.d.ts +0 -82
  538. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/core.js +0 -141
  539. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/doc.cjs +0 -61
  540. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/doc.d.cts +0 -16
  541. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/doc.d.ts +0 -16
  542. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/doc.js +0 -38
  543. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/errors.cjs +0 -317
  544. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/errors.d.cts +0 -225
  545. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/errors.d.ts +0 -225
  546. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/errors.js +0 -267
  547. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/index.cjs +0 -70
  548. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/index.d.cts +0 -19
  549. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/index.d.ts +0 -19
  550. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/index.js +0 -19
  551. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/json-schema-generator.cjs +0 -122
  552. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
  553. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
  554. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/json-schema-generator.js +0 -99
  555. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/json-schema-processors.cjs +0 -929
  556. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -65
  557. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -65
  558. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/json-schema-processors.js +0 -843
  559. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/json-schema.cjs +0 -21
  560. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/json-schema.d.cts +0 -89
  561. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/json-schema.d.ts +0 -89
  562. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/json-schema.js +0 -1
  563. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/memoizer.cjs +0 -360
  564. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/memoizer.d.cts +0 -15
  565. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/memoizer.d.ts +0 -15
  566. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/memoizer.js +0 -311
  567. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/package.json +0 -7
  568. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/parse.cjs +0 -233
  569. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/parse.d.cts +0 -52
  570. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/parse.d.ts +0 -52
  571. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/parse.js +0 -175
  572. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/regexes.cjs +0 -209
  573. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/regexes.d.cts +0 -90
  574. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/regexes.d.ts +0 -90
  575. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/regexes.js +0 -156
  576. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/registries.cjs +0 -75
  577. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/registries.d.cts +0 -35
  578. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/registries.d.ts +0 -35
  579. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/registries.js +0 -51
  580. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/schemas.cjs +0 -2699
  581. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/schemas.d.cts +0 -1275
  582. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/schemas.d.ts +0 -1275
  583. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/schemas.js +0 -2636
  584. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/standard-schema.cjs +0 -21
  585. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
  586. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
  587. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/standard-schema.js +0 -1
  588. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/to-json-schema.cjs +0 -681
  589. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/to-json-schema.d.cts +0 -154
  590. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/to-json-schema.d.ts +0 -154
  591. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/to-json-schema.js +0 -651
  592. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/util.cjs +0 -964
  593. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/util.d.cts +0 -280
  594. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/util.d.ts +0 -280
  595. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/util.js +0 -873
  596. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/versions.cjs +0 -27
  597. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/versions.d.cts +0 -5
  598. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/versions.d.ts +0 -5
  599. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/versions.js +0 -5
  600. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/visit.cjs +0 -214
  601. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/visit.d.cts +0 -30
  602. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/visit.d.ts +0 -30
  603. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/visit.js +0 -169
  604. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/index.cjs +0 -51
  605. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/index.d.cts +0 -3
  606. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/index.d.ts +0 -3
  607. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/index.js +0 -4
  608. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ar.cjs +0 -138
  609. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ar.d.cts +0 -5
  610. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ar.d.ts +0 -4
  611. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ar.js +0 -111
  612. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/az.cjs +0 -137
  613. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/az.d.cts +0 -5
  614. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/az.d.ts +0 -4
  615. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/az.js +0 -110
  616. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/be.cjs +0 -195
  617. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/be.d.cts +0 -5
  618. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/be.d.ts +0 -4
  619. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/be.js +0 -168
  620. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/bg.cjs +0 -152
  621. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/bg.d.cts +0 -5
  622. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/bg.d.ts +0 -4
  623. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/bg.js +0 -125
  624. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/bn.cjs +0 -140
  625. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/bn.d.cts +0 -5
  626. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/bn.d.ts +0 -4
  627. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/bn.js +0 -113
  628. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ca.cjs +0 -139
  629. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ca.d.cts +0 -5
  630. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ca.d.ts +0 -4
  631. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ca.js +0 -112
  632. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ckb.cjs +0 -160
  633. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ckb.d.cts +0 -5
  634. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ckb.d.ts +0 -4
  635. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ckb.js +0 -133
  636. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/cs.cjs +0 -143
  637. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/cs.d.cts +0 -5
  638. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/cs.d.ts +0 -4
  639. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/cs.js +0 -116
  640. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/da.cjs +0 -147
  641. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/da.d.cts +0 -5
  642. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/da.d.ts +0 -4
  643. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/da.js +0 -120
  644. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/de.cjs +0 -140
  645. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/de.d.cts +0 -5
  646. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/de.d.ts +0 -4
  647. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/de.js +0 -113
  648. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/el.cjs +0 -139
  649. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/el.d.cts +0 -5
  650. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/el.d.ts +0 -4
  651. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/el.js +0 -112
  652. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/en.cjs +0 -152
  653. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/en.d.cts +0 -5
  654. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/en.d.ts +0 -4
  655. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/en.js +0 -125
  656. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/eo.cjs +0 -141
  657. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/eo.d.cts +0 -5
  658. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/eo.d.ts +0 -4
  659. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/eo.js +0 -114
  660. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/es.cjs +0 -163
  661. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/es.d.cts +0 -5
  662. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/es.d.ts +0 -4
  663. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/es.js +0 -136
  664. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fa.cjs +0 -146
  665. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fa.d.cts +0 -5
  666. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fa.d.ts +0 -4
  667. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fa.js +0 -119
  668. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fi.cjs +0 -144
  669. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fi.d.cts +0 -5
  670. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fi.d.ts +0 -4
  671. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fi.js +0 -117
  672. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fr-CA.cjs +0 -139
  673. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
  674. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  675. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fr-CA.js +0 -112
  676. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fr.cjs +0 -156
  677. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fr.d.cts +0 -5
  678. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fr.d.ts +0 -4
  679. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fr.js +0 -129
  680. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/gu.cjs +0 -140
  681. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/gu.d.cts +0 -5
  682. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/gu.d.ts +0 -4
  683. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/gu.js +0 -113
  684. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/he.cjs +0 -248
  685. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/he.d.cts +0 -5
  686. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/he.d.ts +0 -4
  687. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/he.js +0 -221
  688. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hi.cjs +0 -138
  689. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hi.d.cts +0 -5
  690. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hi.d.ts +0 -4
  691. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hi.js +0 -111
  692. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hr.cjs +0 -153
  693. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hr.d.cts +0 -5
  694. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hr.d.ts +0 -4
  695. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hr.js +0 -126
  696. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hu.cjs +0 -140
  697. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hu.d.cts +0 -5
  698. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hu.d.ts +0 -4
  699. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hu.js +0 -113
  700. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hy.cjs +0 -185
  701. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hy.d.cts +0 -5
  702. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hy.d.ts +0 -4
  703. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hy.js +0 -158
  704. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/id.cjs +0 -138
  705. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/id.d.cts +0 -5
  706. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/id.d.ts +0 -4
  707. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/id.js +0 -111
  708. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/index.cjs +0 -152
  709. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/index.d.cts +0 -63
  710. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/index.d.ts +0 -63
  711. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/index.js +0 -63
  712. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/is.cjs +0 -141
  713. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/is.d.cts +0 -5
  714. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/is.d.ts +0 -4
  715. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/is.js +0 -114
  716. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/it.cjs +0 -140
  717. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/it.d.cts +0 -5
  718. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/it.d.ts +0 -4
  719. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/it.js +0 -113
  720. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ja.cjs +0 -139
  721. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ja.d.cts +0 -5
  722. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ja.d.ts +0 -4
  723. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ja.js +0 -112
  724. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ka.cjs +0 -144
  725. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ka.d.cts +0 -5
  726. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ka.d.ts +0 -4
  727. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ka.js +0 -117
  728. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/kh.cjs +0 -12
  729. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/kh.d.cts +0 -5
  730. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/kh.d.ts +0 -5
  731. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/kh.js +0 -5
  732. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/km.cjs +0 -142
  733. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/km.d.cts +0 -5
  734. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/km.d.ts +0 -4
  735. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/km.js +0 -115
  736. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/kn.cjs +0 -143
  737. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/kn.d.cts +0 -5
  738. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/kn.d.ts +0 -4
  739. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/kn.js +0 -116
  740. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ko.cjs +0 -143
  741. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ko.d.cts +0 -5
  742. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ko.d.ts +0 -4
  743. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ko.js +0 -116
  744. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/lt.cjs +0 -234
  745. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/lt.d.cts +0 -5
  746. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/lt.d.ts +0 -4
  747. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/lt.js +0 -207
  748. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/mk.cjs +0 -141
  749. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/mk.d.cts +0 -5
  750. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/mk.d.ts +0 -4
  751. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/mk.js +0 -114
  752. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ms.cjs +0 -139
  753. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ms.d.cts +0 -5
  754. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ms.d.ts +0 -4
  755. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ms.js +0 -112
  756. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ne.cjs +0 -138
  757. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ne.d.cts +0 -5
  758. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ne.d.ts +0 -4
  759. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ne.js +0 -111
  760. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/nl.cjs +0 -142
  761. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/nl.d.cts +0 -5
  762. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/nl.d.ts +0 -4
  763. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/nl.js +0 -115
  764. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/nn.cjs +0 -140
  765. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/nn.d.cts +0 -5
  766. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/nn.d.ts +0 -4
  767. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/nn.js +0 -113
  768. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/no.cjs +0 -140
  769. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/no.d.cts +0 -5
  770. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/no.d.ts +0 -4
  771. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/no.js +0 -113
  772. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ota.cjs +0 -141
  773. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ota.d.cts +0 -5
  774. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ota.d.ts +0 -4
  775. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ota.js +0 -114
  776. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/package.json +0 -7
  777. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/pl.cjs +0 -141
  778. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/pl.d.cts +0 -5
  779. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/pl.d.ts +0 -4
  780. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/pl.js +0 -114
  781. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ps.cjs +0 -146
  782. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ps.d.cts +0 -5
  783. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ps.d.ts +0 -4
  784. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ps.js +0 -119
  785. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/pt-BR.cjs +0 -170
  786. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/pt-BR.d.cts +0 -5
  787. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/pt-BR.d.ts +0 -4
  788. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/pt-BR.js +0 -143
  789. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/pt.cjs +0 -169
  790. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/pt.d.cts +0 -5
  791. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/pt.d.ts +0 -4
  792. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/pt.js +0 -142
  793. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ro.cjs +0 -149
  794. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ro.d.cts +0 -5
  795. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ro.d.ts +0 -4
  796. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ro.js +0 -122
  797. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ru.cjs +0 -195
  798. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ru.d.cts +0 -5
  799. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ru.d.ts +0 -4
  800. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ru.js +0 -168
  801. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/sk.cjs +0 -143
  802. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/sk.d.cts +0 -5
  803. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/sk.d.ts +0 -4
  804. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/sk.js +0 -116
  805. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/sl.cjs +0 -141
  806. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/sl.d.cts +0 -5
  807. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/sl.d.ts +0 -4
  808. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/sl.js +0 -114
  809. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/sv.cjs +0 -142
  810. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/sv.d.cts +0 -5
  811. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/sv.d.ts +0 -4
  812. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/sv.js +0 -115
  813. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ta.cjs +0 -142
  814. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ta.d.cts +0 -5
  815. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ta.d.ts +0 -4
  816. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ta.js +0 -115
  817. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/tg.cjs +0 -144
  818. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/tg.d.cts +0 -5
  819. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/tg.d.ts +0 -4
  820. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/tg.js +0 -117
  821. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/th.cjs +0 -142
  822. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/th.d.cts +0 -5
  823. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/th.d.ts +0 -4
  824. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/th.js +0 -115
  825. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/tk.cjs +0 -134
  826. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/tk.d.cts +0 -5
  827. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/tk.d.ts +0 -4
  828. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/tk.js +0 -107
  829. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/tr.cjs +0 -137
  830. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/tr.d.cts +0 -5
  831. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/tr.d.ts +0 -4
  832. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/tr.js +0 -110
  833. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ua.cjs +0 -12
  834. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ua.d.cts +0 -5
  835. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ua.d.ts +0 -5
  836. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ua.js +0 -5
  837. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/uk.cjs +0 -140
  838. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/uk.d.cts +0 -5
  839. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/uk.d.ts +0 -4
  840. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/uk.js +0 -113
  841. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ur.cjs +0 -142
  842. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ur.d.cts +0 -5
  843. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ur.d.ts +0 -4
  844. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ur.js +0 -115
  845. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/uz.cjs +0 -140
  846. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/uz.d.cts +0 -5
  847. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/uz.d.ts +0 -4
  848. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/uz.js +0 -113
  849. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/vi.cjs +0 -140
  850. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/vi.d.cts +0 -5
  851. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/vi.d.ts +0 -4
  852. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/vi.js +0 -113
  853. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/yo.cjs +0 -139
  854. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/yo.d.cts +0 -5
  855. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/yo.d.ts +0 -4
  856. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/yo.js +0 -112
  857. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/zh-CN.cjs +0 -141
  858. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
  859. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  860. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/zh-CN.js +0 -114
  861. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/zh-TW.cjs +0 -139
  862. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
  863. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  864. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/zh-TW.js +0 -112
  865. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/checks.cjs +0 -54
  866. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/checks.d.cts +0 -1
  867. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/checks.d.ts +0 -1
  868. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/checks.js +0 -1
  869. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/coerce.cjs +0 -71
  870. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  871. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  872. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/coerce.js +0 -22
  873. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/deep-partial.cjs +0 -58
  874. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/deep-partial.d.cts +0 -14
  875. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/deep-partial.d.ts +0 -14
  876. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/deep-partial.js +0 -13
  877. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/external.cjs +0 -95
  878. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/external.d.cts +0 -16
  879. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/external.d.ts +0 -16
  880. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/external.js +0 -16
  881. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/in-out.cjs +0 -82
  882. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/in-out.d.cts +0 -8
  883. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/in-out.d.ts +0 -8
  884. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/in-out.js +0 -36
  885. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/index.cjs +0 -51
  886. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/index.d.cts +0 -3
  887. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/index.d.ts +0 -3
  888. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/index.js +0 -3
  889. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/iso.cjs +0 -83
  890. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/iso.d.cts +0 -22
  891. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/iso.d.ts +0 -22
  892. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/iso.js +0 -34
  893. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/package.json +0 -7
  894. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/parse.cjs +0 -37
  895. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/parse.d.cts +0 -1
  896. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/parse.d.ts +0 -1
  897. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/parse.js +0 -1
  898. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/schemas.cjs +0 -1147
  899. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/schemas.d.cts +0 -480
  900. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/schemas.d.ts +0 -480
  901. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/schemas.js +0 -1002
  902. package/toolkit/skills/multi-task-flow/node_modules/zod/v4/package.json +0 -7
  903. package/toolkit/skills/multi-task-flow/node_modules/zod/v4-mini/index.cjs +0 -51
  904. package/toolkit/skills/multi-task-flow/node_modules/zod/v4-mini/index.d.cts +0 -3
  905. package/toolkit/skills/multi-task-flow/node_modules/zod/v4-mini/index.d.ts +0 -3
  906. package/toolkit/skills/multi-task-flow/node_modules/zod/v4-mini/index.js +0 -3
  907. package/toolkit/skills/multi-task-flow/node_modules/zod/v4-mini/package.json +0 -7
  908. package/toolkit/skills/multi-task-flow/scripts/serve.ts +0 -218
  909. package/toolkit/skills/multi-task-flow/tests/serve.test.ts +0 -194
  910. package/toolkit/skills/node_modules/@img/colour/LICENSE.md +0 -82
  911. package/toolkit/skills/node_modules/@img/colour/README.md +0 -15
  912. package/toolkit/skills/node_modules/@img/colour/color.cjs +0 -1596
  913. package/toolkit/skills/node_modules/@img/colour/index.cjs +0 -1
  914. package/toolkit/skills/node_modules/@img/colour/index.d.ts +0 -929
  915. package/toolkit/skills/node_modules/@img/colour/package.json +0 -58
  916. package/toolkit/skills/node_modules/@img/sharp-libvips-linux-x64/README.md +0 -46
  917. package/toolkit/skills/node_modules/@img/sharp-libvips-linux-x64/lib/glib-2.0/include/glibconfig.h +0 -219
  918. package/toolkit/skills/node_modules/@img/sharp-libvips-linux-x64/lib/index.js +0 -1
  919. package/toolkit/skills/node_modules/@img/sharp-libvips-linux-x64/lib/libvips-cpp.so.8.18.7 +0 -0
  920. package/toolkit/skills/node_modules/@img/sharp-libvips-linux-x64/package.json +0 -43
  921. package/toolkit/skills/node_modules/@img/sharp-libvips-linux-x64/versions.json +0 -30
  922. package/toolkit/skills/node_modules/@img/sharp-libvips-linuxmusl-x64/README.md +0 -46
  923. package/toolkit/skills/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/glib-2.0/include/glibconfig.h +0 -219
  924. package/toolkit/skills/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/index.js +0 -1
  925. package/toolkit/skills/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.18.7 +0 -0
  926. package/toolkit/skills/node_modules/@img/sharp-libvips-linuxmusl-x64/package.json +0 -43
  927. package/toolkit/skills/node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json +0 -30
  928. package/toolkit/skills/node_modules/@img/sharp-linux-x64/LICENSE +0 -191
  929. package/toolkit/skills/node_modules/@img/sharp-linux-x64/README.md +0 -18
  930. package/toolkit/skills/node_modules/@img/sharp-linux-x64/index.cjs +0 -2
  931. package/toolkit/skills/node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64-0.35.5.node +0 -0
  932. package/toolkit/skills/node_modules/@img/sharp-linux-x64/package.json +0 -47
  933. package/toolkit/skills/node_modules/@img/sharp-linuxmusl-x64/LICENSE +0 -191
  934. package/toolkit/skills/node_modules/@img/sharp-linuxmusl-x64/README.md +0 -18
  935. package/toolkit/skills/node_modules/@img/sharp-linuxmusl-x64/index.cjs +0 -2
  936. package/toolkit/skills/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64-0.35.5.node +0 -0
  937. package/toolkit/skills/node_modules/@img/sharp-linuxmusl-x64/package.json +0 -47
  938. package/toolkit/skills/node_modules/detect-libc/LICENSE +0 -201
  939. package/toolkit/skills/node_modules/detect-libc/README.md +0 -163
  940. package/toolkit/skills/node_modules/detect-libc/index.d.ts +0 -14
  941. package/toolkit/skills/node_modules/detect-libc/lib/detect-libc.js +0 -313
  942. package/toolkit/skills/node_modules/detect-libc/lib/elf.js +0 -39
  943. package/toolkit/skills/node_modules/detect-libc/lib/filesystem.js +0 -51
  944. package/toolkit/skills/node_modules/detect-libc/lib/process.js +0 -24
  945. package/toolkit/skills/node_modules/detect-libc/package.json +0 -44
  946. package/toolkit/skills/node_modules/semver/LICENSE +0 -15
  947. package/toolkit/skills/node_modules/semver/README.md +0 -680
  948. package/toolkit/skills/node_modules/semver/bin/semver.js +0 -195
  949. package/toolkit/skills/node_modules/semver/classes/comparator.js +0 -143
  950. package/toolkit/skills/node_modules/semver/classes/index.js +0 -7
  951. package/toolkit/skills/node_modules/semver/classes/range.js +0 -577
  952. package/toolkit/skills/node_modules/semver/classes/semver.js +0 -350
  953. package/toolkit/skills/node_modules/semver/functions/clean.js +0 -8
  954. package/toolkit/skills/node_modules/semver/functions/cmp.js +0 -54
  955. package/toolkit/skills/node_modules/semver/functions/coerce.js +0 -62
  956. package/toolkit/skills/node_modules/semver/functions/compare-build.js +0 -9
  957. package/toolkit/skills/node_modules/semver/functions/compare-loose.js +0 -5
  958. package/toolkit/skills/node_modules/semver/functions/compare.js +0 -7
  959. package/toolkit/skills/node_modules/semver/functions/diff.js +0 -60
  960. package/toolkit/skills/node_modules/semver/functions/eq.js +0 -5
  961. package/toolkit/skills/node_modules/semver/functions/gt.js +0 -5
  962. package/toolkit/skills/node_modules/semver/functions/gte.js +0 -5
  963. package/toolkit/skills/node_modules/semver/functions/inc.js +0 -21
  964. package/toolkit/skills/node_modules/semver/functions/lt.js +0 -5
  965. package/toolkit/skills/node_modules/semver/functions/lte.js +0 -5
  966. package/toolkit/skills/node_modules/semver/functions/major.js +0 -5
  967. package/toolkit/skills/node_modules/semver/functions/minor.js +0 -5
  968. package/toolkit/skills/node_modules/semver/functions/neq.js +0 -5
  969. package/toolkit/skills/node_modules/semver/functions/parse.js +0 -18
  970. package/toolkit/skills/node_modules/semver/functions/patch.js +0 -5
  971. package/toolkit/skills/node_modules/semver/functions/prerelease.js +0 -8
  972. package/toolkit/skills/node_modules/semver/functions/rcompare.js +0 -5
  973. package/toolkit/skills/node_modules/semver/functions/rsort.js +0 -5
  974. package/toolkit/skills/node_modules/semver/functions/satisfies.js +0 -12
  975. package/toolkit/skills/node_modules/semver/functions/sort.js +0 -5
  976. package/toolkit/skills/node_modules/semver/functions/truncate.js +0 -48
  977. package/toolkit/skills/node_modules/semver/functions/valid.js +0 -8
  978. package/toolkit/skills/node_modules/semver/index.js +0 -93
  979. package/toolkit/skills/node_modules/semver/internal/constants.js +0 -67
  980. package/toolkit/skills/node_modules/semver/internal/debug.js +0 -11
  981. package/toolkit/skills/node_modules/semver/internal/identifiers.js +0 -29
  982. package/toolkit/skills/node_modules/semver/internal/lrucache.js +0 -42
  983. package/toolkit/skills/node_modules/semver/internal/parse-options.js +0 -17
  984. package/toolkit/skills/node_modules/semver/internal/re.js +0 -223
  985. package/toolkit/skills/node_modules/semver/internal/trim-comparator-whitespace.js +0 -438
  986. package/toolkit/skills/node_modules/semver/package.json +0 -78
  987. package/toolkit/skills/node_modules/semver/preload.js +0 -4
  988. package/toolkit/skills/node_modules/semver/range.bnf +0 -17
  989. package/toolkit/skills/node_modules/semver/ranges/gtr.js +0 -6
  990. package/toolkit/skills/node_modules/semver/ranges/intersects.js +0 -9
  991. package/toolkit/skills/node_modules/semver/ranges/ltr.js +0 -6
  992. package/toolkit/skills/node_modules/semver/ranges/max-satisfying.js +0 -27
  993. package/toolkit/skills/node_modules/semver/ranges/min-satisfying.js +0 -26
  994. package/toolkit/skills/node_modules/semver/ranges/min-version.js +0 -63
  995. package/toolkit/skills/node_modules/semver/ranges/outside.js +0 -82
  996. package/toolkit/skills/node_modules/semver/ranges/simplify.js +0 -49
  997. package/toolkit/skills/node_modules/semver/ranges/subset.js +0 -249
  998. package/toolkit/skills/node_modules/semver/ranges/to-comparators.js +0 -10
  999. package/toolkit/skills/node_modules/semver/ranges/valid.js +0 -13
  1000. package/toolkit/skills/node_modules/sharp/LICENSE +0 -191
  1001. package/toolkit/skills/node_modules/sharp/README.md +0 -112
  1002. package/toolkit/skills/node_modules/sharp/dist/channel.cjs +0 -177
  1003. package/toolkit/skills/node_modules/sharp/dist/channel.mjs +0 -177
  1004. package/toolkit/skills/node_modules/sharp/dist/colour.cjs +0 -199
  1005. package/toolkit/skills/node_modules/sharp/dist/colour.mjs +0 -199
  1006. package/toolkit/skills/node_modules/sharp/dist/composite.cjs +0 -213
  1007. package/toolkit/skills/node_modules/sharp/dist/composite.mjs +0 -213
  1008. package/toolkit/skills/node_modules/sharp/dist/constructor.cjs +0 -511
  1009. package/toolkit/skills/node_modules/sharp/dist/constructor.mjs +0 -511
  1010. package/toolkit/skills/node_modules/sharp/dist/index.cjs +0 -25
  1011. package/toolkit/skills/node_modules/sharp/dist/index.d.cts +0 -1999
  1012. package/toolkit/skills/node_modules/sharp/dist/index.d.mts +0 -2046
  1013. package/toolkit/skills/node_modules/sharp/dist/index.mjs +0 -25
  1014. package/toolkit/skills/node_modules/sharp/dist/input.cjs +0 -819
  1015. package/toolkit/skills/node_modules/sharp/dist/input.mjs +0 -819
  1016. package/toolkit/skills/node_modules/sharp/dist/is.cjs +0 -149
  1017. package/toolkit/skills/node_modules/sharp/dist/is.mjs +0 -149
  1018. package/toolkit/skills/node_modules/sharp/dist/libvips.cjs +0 -212
  1019. package/toolkit/skills/node_modules/sharp/dist/libvips.mjs +0 -212
  1020. package/toolkit/skills/node_modules/sharp/dist/operation.cjs +0 -1002
  1021. package/toolkit/skills/node_modules/sharp/dist/operation.mjs +0 -1002
  1022. package/toolkit/skills/node_modules/sharp/dist/output.cjs +0 -1786
  1023. package/toolkit/skills/node_modules/sharp/dist/output.mjs +0 -1786
  1024. package/toolkit/skills/node_modules/sharp/dist/resize.cjs +0 -617
  1025. package/toolkit/skills/node_modules/sharp/dist/resize.mjs +0 -617
  1026. package/toolkit/skills/node_modules/sharp/dist/sharp.cjs +0 -174
  1027. package/toolkit/skills/node_modules/sharp/dist/sharp.mjs +0 -174
  1028. package/toolkit/skills/node_modules/sharp/dist/utility.cjs +0 -301
  1029. package/toolkit/skills/node_modules/sharp/dist/utility.mjs +0 -301
  1030. package/toolkit/skills/node_modules/sharp/install/build.js +0 -38
  1031. package/toolkit/skills/node_modules/sharp/lib/index.d.ts +0 -1999
  1032. package/toolkit/skills/node_modules/sharp/package.json +0 -227
  1033. package/toolkit/skills/node_modules/sharp/src/binding.gyp +0 -303
  1034. package/toolkit/skills/node_modules/sharp/src/common.cc +0 -1186
  1035. package/toolkit/skills/node_modules/sharp/src/common.h +0 -421
  1036. package/toolkit/skills/node_modules/sharp/src/metadata.cc +0 -404
  1037. package/toolkit/skills/node_modules/sharp/src/metadata.h +0 -95
  1038. package/toolkit/skills/node_modules/sharp/src/operations.cc +0 -516
  1039. package/toolkit/skills/node_modules/sharp/src/operations.h +0 -137
  1040. package/toolkit/skills/node_modules/sharp/src/pipeline.cc +0 -1973
  1041. package/toolkit/skills/node_modules/sharp/src/pipeline.h +0 -422
  1042. package/toolkit/skills/node_modules/sharp/src/sharp.cc +0 -43
  1043. package/toolkit/skills/node_modules/sharp/src/stats.cc +0 -186
  1044. package/toolkit/skills/node_modules/sharp/src/stats.h +0 -62
  1045. package/toolkit/skills/node_modules/sharp/src/utilities.cc +0 -289
  1046. package/toolkit/skills/node_modules/sharp/src/utilities.h +0 -22
@@ -1,1676 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- var __importDefault = (this && this.__importDefault) || function (mod) {
26
- return (mod && mod.__esModule) ? mod : { "default": mod };
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ZodIntersection = exports.ZodDiscriminatedUnion = exports.ZodXor = exports.ZodUnion = exports.ZodObject = exports.ZodArray = exports.ZodDate = exports.ZodVoid = exports.ZodNever = exports.ZodUnknown = exports.ZodAny = exports.ZodNull = exports.ZodUndefined = exports.ZodSymbol = exports.ZodBigIntFormat = exports.ZodBigInt = exports.ZodBoolean = exports.ZodNumberFormat = exports.ZodNumber = exports.ZodCustomStringFormat = exports.ZodJWT = exports.ZodIBAN = exports.ZodCreditCard = exports.ZodE164 = exports.ZodBase64URL = exports.ZodBase64 = exports.ZodCIDRv6 = exports.ZodCIDRv4 = exports.ZodIPv6 = exports.ZodMAC = exports.ZodIPv4 = exports.ZodKSUID = exports.ZodXID = exports.ZodULID = exports.ZodCUID2 = exports.ZodCUID = exports.ZodNanoID = exports.ZodEmoji = exports.ZodURL = exports.ZodUUID = exports.ZodGUID = exports.ZodEmail = exports.ZodISODuration = exports.ZodISOTime = exports.ZodISODate = exports.ZodISODateTime = exports.ZodStringFormat = exports.ZodString = exports._ZodString = exports.ZodType = void 0;
30
- exports.stringbool = exports.ZodInstanceOf = exports.meta = exports.describe = exports.ZodCustom = exports.ZodFunction = exports.ZodPromise = exports.ZodLazy = exports.ZodTemplateLiteral = exports.ZodReadonly = exports.ZodPreprocess = exports.ZodCodec = exports.ZodPipe = exports.ZodNaN = exports.ZodCatch = exports.ZodSuccess = exports.ZodNonOptional = exports.ZodPrefault = exports.ZodDefault = exports.ZodNullable = exports.ZodExactOptional = exports.ZodOptional = exports.ZodTransform = exports.ZodFile = exports.ZodLiteral = exports.ZodEnum = exports.ZodSet = exports.ZodMap = exports.ZodRecord = exports.ZodTuple = void 0;
31
- exports.string = string;
32
- exports.email = email;
33
- exports.guid = guid;
34
- exports.uuid = uuid;
35
- exports.uuidv4 = uuidv4;
36
- exports.uuidv6 = uuidv6;
37
- exports.uuidv7 = uuidv7;
38
- exports.url = url;
39
- exports.httpUrl = httpUrl;
40
- exports.emoji = emoji;
41
- exports.nanoid = nanoid;
42
- exports.cuid = cuid;
43
- exports.cuid2 = cuid2;
44
- exports.ulid = ulid;
45
- exports.xid = xid;
46
- exports.ksuid = ksuid;
47
- exports.ipv4 = ipv4;
48
- exports.mac = mac;
49
- exports.ipv6 = ipv6;
50
- exports.cidrv4 = cidrv4;
51
- exports.cidrv6 = cidrv6;
52
- exports.base64 = base64;
53
- exports.base64url = base64url;
54
- exports.e164 = e164;
55
- exports.creditCard = creditCard;
56
- exports.iban = iban;
57
- exports.jwt = jwt;
58
- exports.stringFormat = stringFormat;
59
- exports.hostname = hostname;
60
- exports.hex = hex;
61
- exports.currencyCode = currencyCode;
62
- exports.hash = hash;
63
- exports.number = number;
64
- exports.int = int;
65
- exports.float32 = float32;
66
- exports.float64 = float64;
67
- exports.int32 = int32;
68
- exports.uint32 = uint32;
69
- exports.boolean = boolean;
70
- exports.bigint = bigint;
71
- exports.int64 = int64;
72
- exports.uint64 = uint64;
73
- exports.symbol = symbol;
74
- exports.undefined = _undefined;
75
- exports.null = _null;
76
- exports.any = any;
77
- exports.unknown = unknown;
78
- exports.never = never;
79
- exports.void = _void;
80
- exports.date = date;
81
- exports.array = array;
82
- exports.keyof = keyof;
83
- exports.object = object;
84
- exports.strictObject = strictObject;
85
- exports.looseObject = looseObject;
86
- exports.union = union;
87
- exports.xor = xor;
88
- exports.discriminatedUnion = discriminatedUnion;
89
- exports.intersection = intersection;
90
- exports.tuple = tuple;
91
- exports.record = record;
92
- exports.partialRecord = partialRecord;
93
- exports.looseRecord = looseRecord;
94
- exports.map = map;
95
- exports.set = set;
96
- exports.enum = _enum;
97
- exports.nativeEnum = nativeEnum;
98
- exports.literal = literal;
99
- exports.file = file;
100
- exports.transform = transform;
101
- exports.optional = optional;
102
- exports.exactOptional = exactOptional;
103
- exports.nullable = nullable;
104
- exports.nullish = nullish;
105
- exports._default = _default;
106
- exports.prefault = prefault;
107
- exports.nonoptional = nonoptional;
108
- exports.success = success;
109
- exports.catch = _catch;
110
- exports.nan = nan;
111
- exports.pipe = pipe;
112
- exports.codec = codec;
113
- exports.invertCodec = invertCodec;
114
- exports.readonly = readonly;
115
- exports.templateLiteral = templateLiteral;
116
- exports.lazy = lazy;
117
- exports.promise = promise;
118
- exports._function = _function;
119
- exports.function = _function;
120
- exports._function = _function;
121
- exports.function = _function;
122
- exports.check = check;
123
- exports.custom = custom;
124
- exports.refine = refine;
125
- exports.superRefine = superRefine;
126
- exports.instanceof = _instanceof;
127
- exports.json = json;
128
- exports.preprocess = preprocess;
129
- const core = __importStar(require("../core/index.cjs"));
130
- const index_js_1 = require("../core/index.cjs");
131
- const processors = __importStar(require("../core/json-schema-processors.cjs"));
132
- const regexes = __importStar(require("../core/regexes.cjs"));
133
- const to_json_schema_js_1 = require("../core/to-json-schema.cjs");
134
- const en_js_1 = __importDefault(require("../locales/en.cjs"));
135
- const checks = __importStar(require("./checks.cjs"));
136
- const parse = __importStar(require("./parse.cjs"));
137
- // Register English as the default locale on first ZodType construction. Hooked into the `ZodType` `$constructor` (rather than a top-level `config(en())` in `external.ts`) so bundlers honoring `sideEffects: false` can't tree-shake it out — see #5953, #5725. An explicit `z.config(z.locales.xx())` call wins regardless of order, since this only sets the default when none is present.
138
- function _ensureDefaultLocale() {
139
- if (!core.globalConfig.localeError)
140
- core.config((0, en_js_1.default)());
141
- }
142
- // the default memoizer is read by the core container init, which runs before `ZodType.init`, so each container calls this first
143
- function _ensureDefaultMemoizer() {
144
- if (!core.globalConfig.memoizer)
145
- core.config({ memoizer: core.memoizer() });
146
- }
147
- exports.ZodType = core.$constructor("ZodType", (inst, def) => {
148
- _ensureDefaultLocale();
149
- core.$ZodType.init(inst, def);
150
- inst.def = def;
151
- inst.type = def.type;
152
- return inst;
153
- }, {
154
- check(...chks) {
155
- const def = this.def;
156
- return this.clone(index_js_1.util.mergeDefs(def, {
157
- checks: [
158
- ...(def.checks ?? []),
159
- ...chks.map((ch) => typeof ch === "function" ? { _zod: { check: ch, def: { check: "custom" }, onattach: [] } } : ch),
160
- ],
161
- }), { parent: true });
162
- },
163
- with(...chks) {
164
- return this.check(...chks);
165
- },
166
- clone(def, params) {
167
- return core.clone(this, def, params);
168
- },
169
- brand() {
170
- return this;
171
- },
172
- register(reg, meta) {
173
- reg.add(this, meta);
174
- return this;
175
- },
176
- refine(check, params) {
177
- return this.check(refine(check, params));
178
- },
179
- superRefine(refinement, params) {
180
- return this.check(superRefine(refinement, params));
181
- },
182
- overwrite(fn) {
183
- return this.check(checks.overwrite(fn));
184
- },
185
- optional() {
186
- return optional(this);
187
- },
188
- exactOptional() {
189
- return exactOptional(this);
190
- },
191
- nullable() {
192
- return nullable(this);
193
- },
194
- nullish() {
195
- return optional(nullable(this));
196
- },
197
- nonoptional(params) {
198
- return nonoptional(this, params);
199
- },
200
- array() {
201
- return array(this);
202
- },
203
- or(arg) {
204
- return union([this, arg]);
205
- },
206
- and(arg) {
207
- return intersection(this, arg);
208
- },
209
- transform(tx) {
210
- return pipe(this, transform(tx));
211
- },
212
- default(d) {
213
- return _default(this, d);
214
- },
215
- prefault(d) {
216
- return prefault(this, d);
217
- },
218
- catch(params) {
219
- return _catch(this, params);
220
- },
221
- pipe(target) {
222
- return pipe(this, target);
223
- },
224
- readonly() {
225
- return readonly(this);
226
- },
227
- describe(description) {
228
- const cl = this.clone();
229
- core.globalRegistry.add(cl, { description });
230
- return cl;
231
- },
232
- meta(...args) {
233
- // overloaded: meta() returns the registered metadata, meta(data) returns a clone with `data` registered. The mapped type picks up the second overload, so we accept variadic any-args and return `any` to satisfy both at runtime.
234
- if (args.length === 0)
235
- return core.globalRegistry.get(this);
236
- const cl = this.clone();
237
- core.globalRegistry.add(cl, args[0]);
238
- return cl;
239
- },
240
- isOptional() {
241
- return this.safeParse(undefined).success;
242
- },
243
- isNullable() {
244
- return this.safeParse(null).success;
245
- },
246
- apply(fn, ...args) {
247
- return args.length === 0 ? fn(this) : fn(this, ...args);
248
- },
249
- // Overrides core's `~standard` to add `jsonSchema`. Must stay a prototype entry: redefining it per instance demotes instances to dictionary mode.
250
- get "~standard"() {
251
- return index_js_1.util.hide(this, "~standard", {
252
- ...core.standardProps(this),
253
- jsonSchema: {
254
- input: (0, to_json_schema_js_1.createStandardJSONSchemaMethod)(this, "input"),
255
- output: (0, to_json_schema_js_1.createStandardJSONSchemaMethod)(this, "output"),
256
- },
257
- });
258
- },
259
- set "~standard"(value) {
260
- index_js_1.util.own(this, "~standard", value);
261
- },
262
- parse: function _parse(data, params) {
263
- return parse.parse(this, data, params, { callee: _parse });
264
- },
265
- parseAsync: async function _parseAsync(data, params) {
266
- return await parse.parseAsync(this, data, params, { callee: _parseAsync });
267
- },
268
- safeParse(data, params) {
269
- return parse.safeParse(this, data, params);
270
- },
271
- async safeParseAsync(data, params) {
272
- return parse.safeParseAsync(this, data, params);
273
- },
274
- // `spa` is an alias: same function object as `safeParseAsync`, as before.
275
- get spa() {
276
- return this?.safeParseAsync;
277
- },
278
- set spa(value) {
279
- index_js_1.util.own(this, "spa", value);
280
- },
281
- validate(data, params) {
282
- return parse.validate(this, data, params);
283
- },
284
- validateAsync(data, params) {
285
- return parse.validateAsync(this, data, params);
286
- },
287
- encode: function _encode(data, params) {
288
- return parse.encode(this, data, params, { callee: _encode });
289
- },
290
- decode: function _decode(data, params) {
291
- return parse.decode(this, data, params, { callee: _decode });
292
- },
293
- encodeAsync: async function _encodeAsync(data, params) {
294
- return await parse.encodeAsync(this, data, params, { callee: _encodeAsync });
295
- },
296
- decodeAsync: async function _decodeAsync(data, params) {
297
- return await parse.decodeAsync(this, data, params, { callee: _decodeAsync });
298
- },
299
- safeEncode(data, params) {
300
- return parse.safeEncode(this, data, params);
301
- },
302
- safeDecode(data, params) {
303
- return parse.safeDecode(this, data, params);
304
- },
305
- async safeEncodeAsync(data, params) {
306
- return parse.safeEncodeAsync(this, data, params);
307
- },
308
- async safeDecodeAsync(data, params) {
309
- return parse.safeDecodeAsync(this, data, params);
310
- },
311
- toJSONSchema(params) {
312
- return (0, to_json_schema_js_1.createToJSONSchemaMethod)(this, {})(params);
313
- },
314
- // Reads through to the registry on every access, so it must not cache.
315
- get description() {
316
- return core.globalRegistry.get(this)?.description;
317
- },
318
- // No setter: `schema._def = x` throws, as it did when `_def` was a non-writable own property.
319
- get _def() {
320
- return this._zod.def;
321
- },
322
- });
323
- /** @internal */
324
- exports._ZodString = core.$constructor("_ZodString", (inst, def) => {
325
- core.$ZodString.init(inst, def);
326
- exports.ZodType.init(inst, def);
327
- inst._zod.processJSONSchema = (ctx, json, params) => processors.stringProcessor(inst, ctx, json, params);
328
- },
329
- /*@__PURE__*/ index_js_1.util.derived({
330
- format: (inst) => processors.aggregateChecks(inst).format ?? null,
331
- minLength: (inst) => processors.aggregateChecks(inst).minimum ?? null,
332
- maxLength: (inst) => processors.aggregateChecks(inst).maximum ?? null,
333
- }, {
334
- regex(...args) {
335
- return this.check(checks.regex(...args));
336
- },
337
- includes(...args) {
338
- return this.check(checks.includes(...args));
339
- },
340
- startsWith(...args) {
341
- return this.check(checks.startsWith(...args));
342
- },
343
- endsWith(...args) {
344
- return this.check(checks.endsWith(...args));
345
- },
346
- min(...args) {
347
- return this.check(checks.minLength(...args));
348
- },
349
- max(...args) {
350
- return this.check(checks.maxLength(...args));
351
- },
352
- length(...args) {
353
- return this.check(checks.length(...args));
354
- },
355
- nonempty(...args) {
356
- return this.check(checks.minLength(1, ...args));
357
- },
358
- lowercase(params) {
359
- return this.check(checks.lowercase(params));
360
- },
361
- uppercase(params) {
362
- return this.check(checks.uppercase(params));
363
- },
364
- trim() {
365
- return this.check(checks.trim());
366
- },
367
- normalize(...args) {
368
- return this.check(checks.normalize(...args));
369
- },
370
- toLowerCase() {
371
- return this.check(checks.toLowerCase());
372
- },
373
- toUpperCase() {
374
- return this.check(checks.toUpperCase());
375
- },
376
- slugify() {
377
- return this.check(checks.slugify());
378
- },
379
- }));
380
- exports.ZodString = core.$constructor("ZodString", (inst, def) => {
381
- core.$ZodString.init(inst, def);
382
- exports._ZodString.init(inst, def);
383
- }, {
384
- email(params) {
385
- return this.check(core._email(exports.ZodEmail, params));
386
- },
387
- url(params) {
388
- return this.check(core._url(exports.ZodURL, params));
389
- },
390
- jwt(params) {
391
- return this.check(core._jwt(exports.ZodJWT, params));
392
- },
393
- emoji(params) {
394
- return this.check(core._emoji(exports.ZodEmoji, params));
395
- },
396
- guid(params) {
397
- return this.check(core._guid(exports.ZodGUID, params));
398
- },
399
- uuid(params) {
400
- return this.check(core._uuid(exports.ZodUUID, params));
401
- },
402
- uuidv4(params) {
403
- return this.check(core._uuidv4(exports.ZodUUID, params));
404
- },
405
- uuidv6(params) {
406
- return this.check(core._uuidv6(exports.ZodUUID, params));
407
- },
408
- uuidv7(params) {
409
- return this.check(core._uuidv7(exports.ZodUUID, params));
410
- },
411
- nanoid(params) {
412
- return this.check(core._nanoid(exports.ZodNanoID, params));
413
- },
414
- cuid(params) {
415
- return this.check(core._cuid(exports.ZodCUID, params));
416
- },
417
- cuid2(params) {
418
- return this.check(core._cuid2(exports.ZodCUID2, params));
419
- },
420
- ulid(params) {
421
- return this.check(core._ulid(exports.ZodULID, params));
422
- },
423
- base64(params) {
424
- return this.check(core._base64(exports.ZodBase64, params));
425
- },
426
- base64url(params) {
427
- return this.check(core._base64url(exports.ZodBase64URL, params));
428
- },
429
- xid(params) {
430
- return this.check(core._xid(exports.ZodXID, params));
431
- },
432
- ksuid(params) {
433
- return this.check(core._ksuid(exports.ZodKSUID, params));
434
- },
435
- ipv4(params) {
436
- return this.check(core._ipv4(exports.ZodIPv4, params));
437
- },
438
- ipv6(params) {
439
- return this.check(core._ipv6(exports.ZodIPv6, params));
440
- },
441
- cidrv4(params) {
442
- return this.check(core._cidrv4(exports.ZodCIDRv4, params));
443
- },
444
- cidrv6(params) {
445
- return this.check(core._cidrv6(exports.ZodCIDRv6, params));
446
- },
447
- e164(params) {
448
- return this.check(core._e164(exports.ZodE164, params));
449
- },
450
- datetime(params) {
451
- return this.check(core._isoDateTime(exports.ZodISODateTime, params));
452
- },
453
- date(params) {
454
- return this.check(core._isoDate(exports.ZodISODate, params));
455
- },
456
- time(params) {
457
- return this.check(core._isoTime(exports.ZodISOTime, params));
458
- },
459
- duration(params) {
460
- return this.check(core._isoDuration(exports.ZodISODuration, params));
461
- },
462
- });
463
- function string(params) {
464
- return core._string(exports.ZodString, params);
465
- }
466
- exports.ZodStringFormat = core.$constructor("ZodStringFormat", (inst, def) => {
467
- core.$ZodStringFormat.init(inst, def);
468
- exports._ZodString.init(inst, def);
469
- });
470
- exports.ZodISODateTime = core.$constructor("ZodISODateTime", (inst, def) => {
471
- core.$ZodISODateTime.init(inst, def);
472
- exports.ZodStringFormat.init(inst, def);
473
- });
474
- exports.ZodISODate = core.$constructor("ZodISODate", (inst, def) => {
475
- core.$ZodISODate.init(inst, def);
476
- exports.ZodStringFormat.init(inst, def);
477
- });
478
- exports.ZodISOTime = core.$constructor("ZodISOTime", (inst, def) => {
479
- core.$ZodISOTime.init(inst, def);
480
- exports.ZodStringFormat.init(inst, def);
481
- });
482
- exports.ZodISODuration = core.$constructor("ZodISODuration", (inst, def) => {
483
- core.$ZodISODuration.init(inst, def);
484
- exports.ZodStringFormat.init(inst, def);
485
- });
486
- exports.ZodEmail = core.$constructor("ZodEmail", (inst, def) => {
487
- // ZodStringFormat.init(inst, def);
488
- core.$ZodEmail.init(inst, def);
489
- exports.ZodStringFormat.init(inst, def);
490
- });
491
- function email(params) {
492
- return core._email(exports.ZodEmail, params);
493
- }
494
- exports.ZodGUID = core.$constructor("ZodGUID", (inst, def) => {
495
- // ZodStringFormat.init(inst, def);
496
- core.$ZodGUID.init(inst, def);
497
- exports.ZodStringFormat.init(inst, def);
498
- });
499
- function guid(params) {
500
- return core._guid(exports.ZodGUID, params);
501
- }
502
- exports.ZodUUID = core.$constructor("ZodUUID", (inst, def) => {
503
- // ZodStringFormat.init(inst, def);
504
- core.$ZodUUID.init(inst, def);
505
- exports.ZodStringFormat.init(inst, def);
506
- });
507
- function uuid(params) {
508
- return core._uuid(exports.ZodUUID, params);
509
- }
510
- function uuidv4(params) {
511
- return core._uuidv4(exports.ZodUUID, params);
512
- }
513
- // ZodUUIDv6
514
- function uuidv6(params) {
515
- return core._uuidv6(exports.ZodUUID, params);
516
- }
517
- // ZodUUIDv7
518
- function uuidv7(params) {
519
- return core._uuidv7(exports.ZodUUID, params);
520
- }
521
- exports.ZodURL = core.$constructor("ZodURL", (inst, def) => {
522
- // ZodStringFormat.init(inst, def);
523
- core.$ZodURL.init(inst, def);
524
- exports.ZodStringFormat.init(inst, def);
525
- });
526
- function url(params) {
527
- return core._url(exports.ZodURL, params);
528
- }
529
- function httpUrl(params) {
530
- return core._url(exports.ZodURL, {
531
- protocol: regexes.httpProtocol,
532
- hostname: regexes.domain,
533
- ...index_js_1.util.normalizeParams(params),
534
- });
535
- }
536
- exports.ZodEmoji = core.$constructor("ZodEmoji", (inst, def) => {
537
- // ZodStringFormat.init(inst, def);
538
- core.$ZodEmoji.init(inst, def);
539
- exports.ZodStringFormat.init(inst, def);
540
- });
541
- function emoji(params) {
542
- return core._emoji(exports.ZodEmoji, params);
543
- }
544
- exports.ZodNanoID = core.$constructor("ZodNanoID", (inst, def) => {
545
- // ZodStringFormat.init(inst, def);
546
- core.$ZodNanoID.init(inst, def);
547
- exports.ZodStringFormat.init(inst, def);
548
- });
549
- function nanoid(params) {
550
- return core._nanoid(exports.ZodNanoID, params);
551
- }
552
- /**
553
- * @deprecated CUID v1 is deprecated by its authors due to information leakage
554
- * (timestamps embedded in the id). Use {@link ZodCUID2} instead.
555
- * See https://github.com/paralleldrive/cuid.
556
- */
557
- exports.ZodCUID = core.$constructor("ZodCUID", (inst, def) => {
558
- // ZodStringFormat.init(inst, def);
559
- core.$ZodCUID.init(inst, def);
560
- exports.ZodStringFormat.init(inst, def);
561
- });
562
- /**
563
- * Validates a CUID v1 string.
564
- *
565
- * @deprecated CUID v1 is deprecated by its authors due to information leakage
566
- * (timestamps embedded in the id). Use {@link cuid2 | `z.cuid2()`} instead.
567
- * See https://github.com/paralleldrive/cuid.
568
- */
569
- function cuid(params) {
570
- return core._cuid(exports.ZodCUID, params);
571
- }
572
- exports.ZodCUID2 = core.$constructor("ZodCUID2", (inst, def) => {
573
- // ZodStringFormat.init(inst, def);
574
- core.$ZodCUID2.init(inst, def);
575
- exports.ZodStringFormat.init(inst, def);
576
- });
577
- function cuid2(params) {
578
- return core._cuid2(exports.ZodCUID2, params);
579
- }
580
- exports.ZodULID = core.$constructor("ZodULID", (inst, def) => {
581
- // ZodStringFormat.init(inst, def);
582
- core.$ZodULID.init(inst, def);
583
- exports.ZodStringFormat.init(inst, def);
584
- });
585
- function ulid(params) {
586
- return core._ulid(exports.ZodULID, params);
587
- }
588
- exports.ZodXID = core.$constructor("ZodXID", (inst, def) => {
589
- // ZodStringFormat.init(inst, def);
590
- core.$ZodXID.init(inst, def);
591
- exports.ZodStringFormat.init(inst, def);
592
- });
593
- function xid(params) {
594
- return core._xid(exports.ZodXID, params);
595
- }
596
- exports.ZodKSUID = core.$constructor("ZodKSUID", (inst, def) => {
597
- // ZodStringFormat.init(inst, def);
598
- core.$ZodKSUID.init(inst, def);
599
- exports.ZodStringFormat.init(inst, def);
600
- });
601
- function ksuid(params) {
602
- return core._ksuid(exports.ZodKSUID, params);
603
- }
604
- exports.ZodIPv4 = core.$constructor("ZodIPv4", (inst, def) => {
605
- // ZodStringFormat.init(inst, def);
606
- core.$ZodIPv4.init(inst, def);
607
- exports.ZodStringFormat.init(inst, def);
608
- });
609
- function ipv4(params) {
610
- return core._ipv4(exports.ZodIPv4, params);
611
- }
612
- exports.ZodMAC = core.$constructor("ZodMAC", (inst, def) => {
613
- // ZodStringFormat.init(inst, def);
614
- core.$ZodMAC.init(inst, def);
615
- exports.ZodStringFormat.init(inst, def);
616
- });
617
- function mac(params) {
618
- return core._mac(exports.ZodMAC, params);
619
- }
620
- exports.ZodIPv6 = core.$constructor("ZodIPv6", (inst, def) => {
621
- // ZodStringFormat.init(inst, def);
622
- core.$ZodIPv6.init(inst, def);
623
- exports.ZodStringFormat.init(inst, def);
624
- });
625
- function ipv6(params) {
626
- return core._ipv6(exports.ZodIPv6, params);
627
- }
628
- exports.ZodCIDRv4 = core.$constructor("ZodCIDRv4", (inst, def) => {
629
- core.$ZodCIDRv4.init(inst, def);
630
- exports.ZodStringFormat.init(inst, def);
631
- });
632
- function cidrv4(params) {
633
- return core._cidrv4(exports.ZodCIDRv4, params);
634
- }
635
- exports.ZodCIDRv6 = core.$constructor("ZodCIDRv6", (inst, def) => {
636
- core.$ZodCIDRv6.init(inst, def);
637
- exports.ZodStringFormat.init(inst, def);
638
- });
639
- function cidrv6(params) {
640
- return core._cidrv6(exports.ZodCIDRv6, params);
641
- }
642
- exports.ZodBase64 = core.$constructor("ZodBase64", (inst, def) => {
643
- // ZodStringFormat.init(inst, def);
644
- core.$ZodBase64.init(inst, def);
645
- exports.ZodStringFormat.init(inst, def);
646
- });
647
- function base64(params) {
648
- return core._base64(exports.ZodBase64, params);
649
- }
650
- exports.ZodBase64URL = core.$constructor("ZodBase64URL", (inst, def) => {
651
- // ZodStringFormat.init(inst, def);
652
- core.$ZodBase64URL.init(inst, def);
653
- exports.ZodStringFormat.init(inst, def);
654
- });
655
- function base64url(params) {
656
- return core._base64url(exports.ZodBase64URL, params);
657
- }
658
- exports.ZodE164 = core.$constructor("ZodE164", (inst, def) => {
659
- // ZodStringFormat.init(inst, def);
660
- core.$ZodE164.init(inst, def);
661
- exports.ZodStringFormat.init(inst, def);
662
- });
663
- function e164(params) {
664
- return core._e164(exports.ZodE164, params);
665
- }
666
- exports.ZodCreditCard = core.$constructor("ZodCreditCard", (inst, def) => {
667
- core.$ZodCreditCard.init(inst, def);
668
- exports.ZodStringFormat.init(inst, def);
669
- });
670
- function creditCard(params) {
671
- return core._creditCard(exports.ZodCreditCard, params);
672
- }
673
- exports.ZodIBAN = core.$constructor("ZodIBAN", (inst, def) => {
674
- core.$ZodIBAN.init(inst, def);
675
- exports.ZodStringFormat.init(inst, def);
676
- });
677
- function iban(params) {
678
- return core._iban(exports.ZodIBAN, params);
679
- }
680
- exports.ZodJWT = core.$constructor("ZodJWT", (inst, def) => {
681
- // ZodStringFormat.init(inst, def);
682
- core.$ZodJWT.init(inst, def);
683
- exports.ZodStringFormat.init(inst, def);
684
- });
685
- function jwt(params) {
686
- return core._jwt(exports.ZodJWT, params);
687
- }
688
- exports.ZodCustomStringFormat = core.$constructor("ZodCustomStringFormat", (inst, def) => {
689
- // ZodStringFormat.init(inst, def);
690
- core.$ZodCustomStringFormat.init(inst, def);
691
- exports.ZodStringFormat.init(inst, def);
692
- });
693
- function stringFormat(format, fnOrRegex, _params = {}) {
694
- return core._stringFormat(exports.ZodCustomStringFormat, format, fnOrRegex, _params);
695
- }
696
- function hostname(_params) {
697
- return core._stringFormat(exports.ZodCustomStringFormat, "hostname", regexes.hostname, _params);
698
- }
699
- function hex(_params) {
700
- return core._stringFormat(exports.ZodCustomStringFormat, "hex", regexes.hex, _params);
701
- }
702
- function currencyCode(_params) {
703
- return core._stringFormat(exports.ZodCustomStringFormat, "currency_code", regexes.currencyCode, _params);
704
- }
705
- function hash(alg, params) {
706
- const enc = params?.enc ?? "hex";
707
- const format = `${alg}_${enc}`;
708
- const regex = core.regexes[format];
709
- if (!regex)
710
- throw new Error(`Unrecognized hash format: ${format}`);
711
- return core._stringFormat(exports.ZodCustomStringFormat, format, regex, params);
712
- }
713
- exports.ZodNumber = core.$constructor("ZodNumber", (inst, def) => {
714
- core.$ZodNumber.init(inst, def);
715
- exports.ZodType.init(inst, def);
716
- inst._zod.processJSONSchema = (ctx, json, params) => processors.numberProcessor(inst, ctx, json, params);
717
- inst.isFinite = true;
718
- },
719
- /*@__PURE__*/ index_js_1.util.derived({
720
- minValue: (inst) => {
721
- const { minimum, exclusiveMinimum } = processors.aggregateChecks(inst);
722
- return Math.max(minimum ?? Number.NEGATIVE_INFINITY, exclusiveMinimum ?? Number.NEGATIVE_INFINITY);
723
- },
724
- maxValue: (inst) => {
725
- const { maximum, exclusiveMaximum } = processors.aggregateChecks(inst);
726
- return Math.min(maximum ?? Number.POSITIVE_INFINITY, exclusiveMaximum ?? Number.POSITIVE_INFINITY);
727
- },
728
- isInt: (inst) => {
729
- const { isInt, multipleOf } = processors.aggregateChecks(inst);
730
- return !!isInt || !!multipleOf?.some(Number.isSafeInteger);
731
- },
732
- format: (inst) => processors.aggregateChecks(inst).format ?? null,
733
- }, {
734
- gt(value, params) {
735
- return this.check(checks.gt(value, params));
736
- },
737
- gte(value, params) {
738
- return this.check(checks.gte(value, params));
739
- },
740
- min(value, params) {
741
- return this.check(checks.gte(value, params));
742
- },
743
- lt(value, params) {
744
- return this.check(checks.lt(value, params));
745
- },
746
- lte(value, params) {
747
- return this.check(checks.lte(value, params));
748
- },
749
- max(value, params) {
750
- return this.check(checks.lte(value, params));
751
- },
752
- int(params) {
753
- return this.check(int(params));
754
- },
755
- safe(params) {
756
- return this.check(int(params));
757
- },
758
- positive(params) {
759
- return this.check(checks.gt(0, params));
760
- },
761
- nonnegative(params) {
762
- return this.check(checks.gte(0, params));
763
- },
764
- negative(params) {
765
- return this.check(checks.lt(0, params));
766
- },
767
- nonpositive(params) {
768
- return this.check(checks.lte(0, params));
769
- },
770
- multipleOf(value, params) {
771
- return this.check(checks.multipleOf(value, params));
772
- },
773
- step(value, params) {
774
- return this.check(checks.multipleOf(value, params));
775
- },
776
- finite() {
777
- return this;
778
- },
779
- }));
780
- function number(params) {
781
- return core._number(exports.ZodNumber, params);
782
- }
783
- exports.ZodNumberFormat = core.$constructor("ZodNumberFormat", (inst, def) => {
784
- core.$ZodNumberFormat.init(inst, def);
785
- exports.ZodNumber.init(inst, def);
786
- });
787
- function int(params) {
788
- return core._int(exports.ZodNumberFormat, params);
789
- }
790
- function float32(params) {
791
- return core._float32(exports.ZodNumberFormat, params);
792
- }
793
- function float64(params) {
794
- return core._float64(exports.ZodNumberFormat, params);
795
- }
796
- function int32(params) {
797
- return core._int32(exports.ZodNumberFormat, params);
798
- }
799
- function uint32(params) {
800
- return core._uint32(exports.ZodNumberFormat, params);
801
- }
802
- exports.ZodBoolean = core.$constructor("ZodBoolean", (inst, def) => {
803
- core.$ZodBoolean.init(inst, def);
804
- exports.ZodType.init(inst, def);
805
- inst._zod.processJSONSchema = (ctx, json, params) => processors.booleanProcessor(inst, ctx, json, params);
806
- });
807
- function boolean(params) {
808
- return core._boolean(exports.ZodBoolean, params);
809
- }
810
- exports.ZodBigInt = core.$constructor("ZodBigInt", (inst, def) => {
811
- core.$ZodBigInt.init(inst, def);
812
- exports.ZodType.init(inst, def);
813
- inst._zod.processJSONSchema = (ctx, json, params) => processors.bigintProcessor(inst, ctx, json, params);
814
- },
815
- /*@__PURE__*/ index_js_1.util.derived({
816
- minValue: (inst) => processors.aggregateChecks(inst).minimum ?? null,
817
- maxValue: (inst) => processors.aggregateChecks(inst).maximum ?? null,
818
- format: (inst) => processors.aggregateChecks(inst).format ?? null,
819
- }, {
820
- gte(value, params) {
821
- return this.check(checks.gte(value, params));
822
- },
823
- min(value, params) {
824
- return this.check(checks.gte(value, params));
825
- },
826
- gt(value, params) {
827
- return this.check(checks.gt(value, params));
828
- },
829
- lt(value, params) {
830
- return this.check(checks.lt(value, params));
831
- },
832
- lte(value, params) {
833
- return this.check(checks.lte(value, params));
834
- },
835
- max(value, params) {
836
- return this.check(checks.lte(value, params));
837
- },
838
- positive(params) {
839
- return this.check(checks.gt(BigInt(0), params));
840
- },
841
- negative(params) {
842
- return this.check(checks.lt(BigInt(0), params));
843
- },
844
- nonpositive(params) {
845
- return this.check(checks.lte(BigInt(0), params));
846
- },
847
- nonnegative(params) {
848
- return this.check(checks.gte(BigInt(0), params));
849
- },
850
- multipleOf(value, params) {
851
- return this.check(checks.multipleOf(value, params));
852
- },
853
- }));
854
- function bigint(params) {
855
- return core._bigint(exports.ZodBigInt, params);
856
- }
857
- exports.ZodBigIntFormat = core.$constructor("ZodBigIntFormat", (inst, def) => {
858
- core.$ZodBigIntFormat.init(inst, def);
859
- exports.ZodBigInt.init(inst, def);
860
- });
861
- function int64(params) {
862
- return core._int64(exports.ZodBigIntFormat, params);
863
- }
864
- function uint64(params) {
865
- return core._uint64(exports.ZodBigIntFormat, params);
866
- }
867
- exports.ZodSymbol = core.$constructor("ZodSymbol", (inst, def) => {
868
- core.$ZodSymbol.init(inst, def);
869
- exports.ZodType.init(inst, def);
870
- inst._zod.processJSONSchema = (ctx, json, params) => processors.symbolProcessor(inst, ctx, json, params);
871
- });
872
- function symbol(params) {
873
- return core._symbol(exports.ZodSymbol, params);
874
- }
875
- exports.ZodUndefined = core.$constructor("ZodUndefined", (inst, def) => {
876
- core.$ZodUndefined.init(inst, def);
877
- exports.ZodType.init(inst, def);
878
- inst._zod.processJSONSchema = (ctx, json, params) => processors.undefinedProcessor(inst, ctx, json, params);
879
- });
880
- function _undefined(params) {
881
- return core._undefined(exports.ZodUndefined, params);
882
- }
883
- exports.ZodNull = core.$constructor("ZodNull", (inst, def) => {
884
- core.$ZodNull.init(inst, def);
885
- exports.ZodType.init(inst, def);
886
- inst._zod.processJSONSchema = (ctx, json, params) => processors.nullProcessor(inst, ctx, json, params);
887
- });
888
- function _null(params) {
889
- return core._null(exports.ZodNull, params);
890
- }
891
- exports.ZodAny = core.$constructor("ZodAny", (inst, def) => {
892
- core.$ZodAny.init(inst, def);
893
- exports.ZodType.init(inst, def);
894
- inst._zod.processJSONSchema = (ctx, json, params) => processors.anyProcessor(inst, ctx, json, params);
895
- });
896
- function any() {
897
- return core._any(exports.ZodAny);
898
- }
899
- exports.ZodUnknown = core.$constructor("ZodUnknown", (inst, def) => {
900
- core.$ZodUnknown.init(inst, def);
901
- exports.ZodType.init(inst, def);
902
- inst._zod.processJSONSchema = (ctx, json, params) => processors.unknownProcessor(inst, ctx, json, params);
903
- });
904
- function unknown() {
905
- return core._unknown(exports.ZodUnknown);
906
- }
907
- exports.ZodNever = core.$constructor("ZodNever", (inst, def) => {
908
- core.$ZodNever.init(inst, def);
909
- exports.ZodType.init(inst, def);
910
- inst._zod.processJSONSchema = (ctx, json, params) => processors.neverProcessor(inst, ctx, json, params);
911
- });
912
- function never(params) {
913
- return core._never(exports.ZodNever, params);
914
- }
915
- exports.ZodVoid = core.$constructor("ZodVoid", (inst, def) => {
916
- core.$ZodVoid.init(inst, def);
917
- exports.ZodType.init(inst, def);
918
- inst._zod.processJSONSchema = (ctx, json, params) => processors.voidProcessor(inst, ctx, json, params);
919
- });
920
- function _void(params) {
921
- return core._void(exports.ZodVoid, params);
922
- }
923
- exports.ZodDate = core.$constructor("ZodDate", (inst, def) => {
924
- core.$ZodDate.init(inst, def);
925
- exports.ZodType.init(inst, def);
926
- inst._zod.processJSONSchema = (ctx, json, params) => processors.dateProcessor(inst, ctx, json, params);
927
- inst.min = (value, params) => inst.check(checks.gte(value, params));
928
- inst.max = (value, params) => inst.check(checks.lte(value, params));
929
- },
930
- /*@__PURE__*/ index_js_1.util.derived({
931
- minDate: (inst) => {
932
- const { minimum } = processors.aggregateChecks(inst);
933
- return minimum ? new Date(minimum) : null;
934
- },
935
- maxDate: (inst) => {
936
- const { maximum } = processors.aggregateChecks(inst);
937
- return maximum ? new Date(maximum) : null;
938
- },
939
- }, {}));
940
- function date(params) {
941
- return core._date(exports.ZodDate, params);
942
- }
943
- exports.ZodArray = core.$constructor("ZodArray", (inst, def) => {
944
- _ensureDefaultMemoizer();
945
- core.$ZodArray.init(inst, def);
946
- exports.ZodType.init(inst, def);
947
- inst._zod.processJSONSchema = (ctx, json, params) => processors.arrayProcessor(inst, ctx, json, params);
948
- inst.element = def.element;
949
- }, {
950
- min(n, params) {
951
- return this.check(checks.minLength(n, params));
952
- },
953
- nonempty(params) {
954
- return this.check(checks.minLength(1, params));
955
- },
956
- max(n, params) {
957
- return this.check(checks.maxLength(n, params));
958
- },
959
- length(n, params) {
960
- return this.check(checks.length(n, params));
961
- },
962
- unwrap() {
963
- return this.element;
964
- },
965
- });
966
- function array(element, params) {
967
- return core._array(exports.ZodArray, element, params);
968
- }
969
- // .keyof
970
- function keyof(schema) {
971
- const shape = schema._zod.def.shape;
972
- return _enum(Object.keys(shape));
973
- }
974
- exports.ZodObject = core.$constructor("ZodObject", (inst, def) => {
975
- _ensureDefaultMemoizer();
976
- core.$ZodObjectJIT.init(inst, def);
977
- exports.ZodType.init(inst, def);
978
- inst._zod.processJSONSchema = (ctx, json, params) => processors.objectProcessor(inst, ctx, json, params);
979
- index_js_1.util.installLazyProp(inst, "shape", (self) => self._zod.def.shape, false);
980
- }, {
981
- keyof() {
982
- return _enum(Object.keys(this._zod.def.shape));
983
- },
984
- catchall(catchall) {
985
- // `mergeDefs` rather than a spread: spreading reads `shape`, and resolving it can mint a whole fresh subtree
986
- return this.clone(index_js_1.util.mergeDefs(this._zod.def, { catchall: catchall }));
987
- },
988
- passthrough() {
989
- return this.clone(index_js_1.util.mergeDefs(this._zod.def, { catchall: unknown() }));
990
- },
991
- loose() {
992
- return this.clone(index_js_1.util.mergeDefs(this._zod.def, { catchall: unknown() }));
993
- },
994
- strict() {
995
- return this.clone(index_js_1.util.mergeDefs(this._zod.def, { catchall: never() }));
996
- },
997
- strip() {
998
- return this.clone(index_js_1.util.mergeDefs(this._zod.def, { catchall: undefined }));
999
- },
1000
- extend(incoming) {
1001
- return index_js_1.util.extend(this, incoming);
1002
- },
1003
- safeExtend(incoming) {
1004
- return index_js_1.util.safeExtend(this, incoming);
1005
- },
1006
- merge(other) {
1007
- return index_js_1.util.merge(this, other);
1008
- },
1009
- pick(mask) {
1010
- return index_js_1.util.pick(this, mask);
1011
- },
1012
- omit(mask) {
1013
- return index_js_1.util.omit(this, mask);
1014
- },
1015
- partial(...args) {
1016
- return index_js_1.util.partial(exports.ZodOptional, this, args[0]);
1017
- },
1018
- exactPartial(...args) {
1019
- return index_js_1.util.partial(exports.ZodExactOptional, this, args[0], "exactPartial");
1020
- },
1021
- required(...args) {
1022
- return index_js_1.util.required(exports.ZodNonOptional, this, args[0]);
1023
- },
1024
- });
1025
- function object(shape, params) {
1026
- const def = {
1027
- type: "object",
1028
- shape: shape ?? {},
1029
- ...index_js_1.util.normalizeParams(params),
1030
- };
1031
- return new exports.ZodObject(def);
1032
- }
1033
- // strictObject
1034
- function strictObject(shape, params) {
1035
- return new exports.ZodObject({
1036
- type: "object",
1037
- shape,
1038
- catchall: never(),
1039
- ...index_js_1.util.normalizeParams(params),
1040
- });
1041
- }
1042
- // looseObject
1043
- function looseObject(shape, params) {
1044
- return new exports.ZodObject({
1045
- type: "object",
1046
- shape,
1047
- catchall: unknown(),
1048
- ...index_js_1.util.normalizeParams(params),
1049
- });
1050
- }
1051
- exports.ZodUnion = core.$constructor("ZodUnion", (inst, def) => {
1052
- core.$ZodUnion.init(inst, def);
1053
- exports.ZodType.init(inst, def);
1054
- inst._zod.processJSONSchema = (ctx, json, params) => processors.unionProcessor(inst, ctx, json, params);
1055
- inst.options = def.options;
1056
- });
1057
- function union(options, params) {
1058
- return new exports.ZodUnion({
1059
- type: "union",
1060
- options: options,
1061
- ...index_js_1.util.normalizeParams(params),
1062
- });
1063
- }
1064
- exports.ZodXor = core.$constructor("ZodXor", (inst, def) => {
1065
- exports.ZodUnion.init(inst, def);
1066
- core.$ZodXor.init(inst, def);
1067
- inst._zod.processJSONSchema = (ctx, json, params) => processors.unionProcessor(inst, ctx, json, params);
1068
- inst.options = def.options;
1069
- });
1070
- /** Creates an exclusive union (XOR) where exactly one option must match.
1071
- * Unlike regular unions that succeed when any option matches, xor fails if
1072
- * zero or more than one option matches the input. */
1073
- function xor(options, params) {
1074
- return new exports.ZodXor({
1075
- type: "union",
1076
- options: options,
1077
- inclusive: false,
1078
- ...index_js_1.util.normalizeParams(params),
1079
- });
1080
- }
1081
- exports.ZodDiscriminatedUnion = core.$constructor("ZodDiscriminatedUnion", (inst, def) => {
1082
- exports.ZodUnion.init(inst, def);
1083
- core.$ZodDiscriminatedUnion.init(inst, def);
1084
- });
1085
- function discriminatedUnion(discriminator, options, params) {
1086
- // const [options, params] = args;
1087
- return new exports.ZodDiscriminatedUnion({
1088
- type: "union",
1089
- options: options,
1090
- discriminator,
1091
- ...index_js_1.util.normalizeParams(params),
1092
- });
1093
- }
1094
- exports.ZodIntersection = core.$constructor("ZodIntersection", (inst, def) => {
1095
- core.$ZodIntersection.init(inst, def);
1096
- exports.ZodType.init(inst, def);
1097
- inst._zod.processJSONSchema = (ctx, json, params) => processors.intersectionProcessor(inst, ctx, json, params);
1098
- });
1099
- function intersection(left, right) {
1100
- return new exports.ZodIntersection({
1101
- type: "intersection",
1102
- left: left,
1103
- right: right,
1104
- });
1105
- }
1106
- exports.ZodTuple = core.$constructor("ZodTuple", (inst, def) => {
1107
- _ensureDefaultMemoizer();
1108
- core.$ZodTuple.init(inst, def);
1109
- exports.ZodType.init(inst, def);
1110
- inst._zod.processJSONSchema = (ctx, json, params) => processors.tupleProcessor(inst, ctx, json, params);
1111
- }, {
1112
- rest(rest) {
1113
- return this.clone({
1114
- ...this._zod.def,
1115
- rest: rest,
1116
- });
1117
- },
1118
- partial() {
1119
- const def = this._zod.def;
1120
- // a refinement was authored against the full arity; partialing would run it on a shorter array
1121
- if (def.checks?.length)
1122
- throw new Error(".partial() cannot be used on tuple schemas containing refinements");
1123
- return this.clone({
1124
- ...def,
1125
- items: def.items.map((item) => new exports.ZodOptional({ type: "optional", innerType: item })),
1126
- });
1127
- },
1128
- });
1129
- function tuple(items, _paramsOrRest, _params) {
1130
- const hasRest = _paramsOrRest instanceof core.$ZodType;
1131
- const params = hasRest ? _params : _paramsOrRest;
1132
- const rest = hasRest ? _paramsOrRest : null;
1133
- return new exports.ZodTuple({
1134
- type: "tuple",
1135
- items: items,
1136
- rest,
1137
- ...index_js_1.util.normalizeParams(params),
1138
- });
1139
- }
1140
- exports.ZodRecord = core.$constructor("ZodRecord", (inst, def) => {
1141
- _ensureDefaultMemoizer();
1142
- core.$ZodRecord.init(inst, def);
1143
- exports.ZodType.init(inst, def);
1144
- inst._zod.processJSONSchema = (ctx, json, params) => processors.recordProcessor(inst, ctx, json, params);
1145
- inst.keyType = def.keyType;
1146
- inst.valueType = def.valueType;
1147
- });
1148
- function record(keyType, valueType, params) {
1149
- // v3-compat: z.record(valueType, params?) — defaults keyType to z.string()
1150
- if (!valueType || !valueType._zod) {
1151
- return new exports.ZodRecord({
1152
- type: "record",
1153
- keyType: string(),
1154
- valueType: keyType,
1155
- ...index_js_1.util.normalizeParams(valueType),
1156
- });
1157
- }
1158
- return new exports.ZodRecord({
1159
- type: "record",
1160
- keyType,
1161
- valueType: valueType,
1162
- ...index_js_1.util.normalizeParams(params),
1163
- });
1164
- }
1165
- // type alksjf = core.output<core.$ZodRecordKey>;
1166
- function partialRecord(keyType, valueType, params) {
1167
- return new exports.ZodRecord({
1168
- type: "record",
1169
- keyType,
1170
- valueType: valueType,
1171
- ...index_js_1.util.normalizeParams(params),
1172
- partial: true,
1173
- });
1174
- }
1175
- function looseRecord(keyType, valueType, params) {
1176
- return new exports.ZodRecord({
1177
- type: "record",
1178
- keyType,
1179
- valueType: valueType,
1180
- mode: "loose",
1181
- ...index_js_1.util.normalizeParams(params),
1182
- });
1183
- }
1184
- exports.ZodMap = core.$constructor("ZodMap", (inst, def) => {
1185
- _ensureDefaultMemoizer();
1186
- core.$ZodMap.init(inst, def);
1187
- exports.ZodType.init(inst, def);
1188
- inst._zod.processJSONSchema = (ctx, json, params) => processors.mapProcessor(inst, ctx, json, params);
1189
- inst.keyType = def.keyType;
1190
- inst.valueType = def.valueType;
1191
- inst.min = (...args) => inst.check(core._minSize(...args));
1192
- inst.nonempty = (params) => inst.check(core._minSize(1, params));
1193
- inst.max = (...args) => inst.check(core._maxSize(...args));
1194
- inst.size = (...args) => inst.check(core._size(...args));
1195
- });
1196
- function map(keyType, valueType, params) {
1197
- return new exports.ZodMap({
1198
- type: "map",
1199
- keyType: keyType,
1200
- valueType: valueType,
1201
- ...index_js_1.util.normalizeParams(params),
1202
- });
1203
- }
1204
- exports.ZodSet = core.$constructor("ZodSet", (inst, def) => {
1205
- _ensureDefaultMemoizer();
1206
- core.$ZodSet.init(inst, def);
1207
- exports.ZodType.init(inst, def);
1208
- inst._zod.processJSONSchema = (ctx, json, params) => processors.setProcessor(inst, ctx, json, params);
1209
- inst.min = (...args) => inst.check(core._minSize(...args));
1210
- inst.nonempty = (params) => inst.check(core._minSize(1, params));
1211
- inst.max = (...args) => inst.check(core._maxSize(...args));
1212
- inst.size = (...args) => inst.check(core._size(...args));
1213
- });
1214
- function set(valueType, params) {
1215
- return new exports.ZodSet({
1216
- type: "set",
1217
- valueType: valueType,
1218
- ...index_js_1.util.normalizeParams(params),
1219
- });
1220
- }
1221
- exports.ZodEnum = core.$constructor("ZodEnum", (inst, def) => {
1222
- core.$ZodEnum.init(inst, def);
1223
- exports.ZodType.init(inst, def);
1224
- inst._zod.processJSONSchema = (ctx, json, params) => processors.enumProcessor(inst, ctx, json, params);
1225
- inst.enum = def.entries;
1226
- // reuse the parsed value set so a numeric TS enum's reverse-mapping keys stay out
1227
- inst.options = [...inst._zod.values];
1228
- const keys = new Set(Object.keys(def.entries));
1229
- inst.extract = (values, params) => {
1230
- const newEntries = {};
1231
- for (const value of values) {
1232
- if (keys.has(value)) {
1233
- newEntries[value] = def.entries[value];
1234
- }
1235
- else
1236
- throw new Error(`Key ${value} not found in enum`);
1237
- }
1238
- return new exports.ZodEnum({
1239
- ...def,
1240
- checks: [],
1241
- ...index_js_1.util.normalizeParams(params),
1242
- entries: newEntries,
1243
- });
1244
- };
1245
- inst.exclude = (values, params) => {
1246
- const newEntries = { ...def.entries };
1247
- for (const value of values) {
1248
- if (keys.has(value)) {
1249
- delete newEntries[value];
1250
- }
1251
- else
1252
- throw new Error(`Key ${value} not found in enum`);
1253
- }
1254
- return new exports.ZodEnum({
1255
- ...def,
1256
- checks: [],
1257
- ...index_js_1.util.normalizeParams(params),
1258
- entries: newEntries,
1259
- });
1260
- };
1261
- });
1262
- function _enum(values, params) {
1263
- const entries = Array.isArray(values) ? Object.fromEntries(values.map((v) => [v, v])) : values;
1264
- return new exports.ZodEnum({
1265
- type: "enum",
1266
- entries,
1267
- ...index_js_1.util.normalizeParams(params),
1268
- });
1269
- }
1270
- /** @deprecated This API has been merged into `z.enum()`. Use `z.enum()` instead.
1271
- *
1272
- * ```ts
1273
- * enum Colors { red, green, blue }
1274
- * z.enum(Colors);
1275
- * ```
1276
- */
1277
- function nativeEnum(entries, params) {
1278
- return new exports.ZodEnum({
1279
- type: "enum",
1280
- entries,
1281
- ...index_js_1.util.normalizeParams(params),
1282
- });
1283
- }
1284
- exports.ZodLiteral = core.$constructor("ZodLiteral", (inst, def) => {
1285
- core.$ZodLiteral.init(inst, def);
1286
- exports.ZodType.init(inst, def);
1287
- inst._zod.processJSONSchema = (ctx, json, params) => processors.literalProcessor(inst, ctx, json, params);
1288
- inst.values = new Set(def.values);
1289
- Object.defineProperty(inst, "value", {
1290
- get() {
1291
- if (def.values.length > 1) {
1292
- throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");
1293
- }
1294
- return def.values[0];
1295
- },
1296
- });
1297
- });
1298
- function literal(value, params) {
1299
- return new exports.ZodLiteral({
1300
- type: "literal",
1301
- values: Array.isArray(value) ? value : [value],
1302
- ...index_js_1.util.normalizeParams(params),
1303
- });
1304
- }
1305
- exports.ZodFile = core.$constructor("ZodFile", (inst, def) => {
1306
- core.$ZodFile.init(inst, def);
1307
- exports.ZodType.init(inst, def);
1308
- inst._zod.processJSONSchema = (ctx, json, params) => processors.fileProcessor(inst, ctx, json, params);
1309
- inst.min = (size, params) => inst.check(core._minSize(size, params));
1310
- inst.max = (size, params) => inst.check(core._maxSize(size, params));
1311
- inst.mime = (types, params) => inst.check(core._mime(Array.isArray(types) ? types : [types], params));
1312
- });
1313
- function file(params) {
1314
- return core._file(exports.ZodFile, params);
1315
- }
1316
- exports.ZodTransform = core.$constructor("ZodTransform", (inst, def) => {
1317
- _ensureDefaultMemoizer();
1318
- core.$ZodTransform.init(inst, def);
1319
- exports.ZodType.init(inst, def);
1320
- inst._zod.processJSONSchema = (ctx, json, params) => processors.transformProcessor(inst, ctx, json, params);
1321
- inst._zod.parse = (payload, _ctx) => {
1322
- if (_ctx.direction === "backward") {
1323
- throw new core.$ZodEncodeError(inst.constructor.name);
1324
- }
1325
- payload.addIssue = (issue) => {
1326
- if (typeof issue === "string") {
1327
- payload.issues.push(index_js_1.util.issue(issue, payload.value, def));
1328
- }
1329
- else {
1330
- // for Zod 3 backwards compatibility
1331
- const _issue = issue;
1332
- if (_issue.fatal)
1333
- _issue.continue = false;
1334
- _issue.code ?? (_issue.code = "custom");
1335
- if (!("input" in _issue))
1336
- _issue.input = payload.value;
1337
- _issue.inst ?? (_issue.inst = inst);
1338
- // _issue.continue ??= true;
1339
- payload.issues.push(index_js_1.util.issue(_issue));
1340
- }
1341
- };
1342
- const output = def.transform(payload.value, payload);
1343
- if (output instanceof Promise) {
1344
- return output.then((output) => {
1345
- payload.value = output;
1346
- return payload;
1347
- });
1348
- }
1349
- payload.value = output;
1350
- return payload;
1351
- };
1352
- });
1353
- function transform(fn) {
1354
- return new exports.ZodTransform({
1355
- type: "transform",
1356
- transform: fn,
1357
- });
1358
- }
1359
- exports.ZodOptional = core.$constructor("ZodOptional", (inst, def) => {
1360
- core.$ZodOptional.init(inst, def);
1361
- exports.ZodType.init(inst, def);
1362
- inst._zod.processJSONSchema = (ctx, json, params) => processors.optionalProcessor(inst, ctx, json, params);
1363
- inst.unwrap = () => inst._zod.def.innerType;
1364
- });
1365
- function optional(innerType) {
1366
- return new exports.ZodOptional({
1367
- type: "optional",
1368
- innerType: innerType,
1369
- });
1370
- }
1371
- exports.ZodExactOptional = core.$constructor("ZodExactOptional", (inst, def) => {
1372
- core.$ZodExactOptional.init(inst, def);
1373
- exports.ZodType.init(inst, def);
1374
- inst._zod.processJSONSchema = (ctx, json, params) => processors.optionalProcessor(inst, ctx, json, params);
1375
- inst.unwrap = () => inst._zod.def.innerType;
1376
- });
1377
- function exactOptional(innerType) {
1378
- return new exports.ZodExactOptional({
1379
- type: "optional",
1380
- innerType: innerType,
1381
- });
1382
- }
1383
- exports.ZodNullable = core.$constructor("ZodNullable", (inst, def) => {
1384
- core.$ZodNullable.init(inst, def);
1385
- exports.ZodType.init(inst, def);
1386
- inst._zod.processJSONSchema = (ctx, json, params) => processors.nullableProcessor(inst, ctx, json, params);
1387
- inst.unwrap = () => inst._zod.def.innerType;
1388
- });
1389
- function nullable(innerType) {
1390
- return new exports.ZodNullable({
1391
- type: "nullable",
1392
- innerType: innerType,
1393
- });
1394
- }
1395
- // nullish
1396
- function nullish(innerType) {
1397
- return optional(nullable(innerType));
1398
- }
1399
- exports.ZodDefault = core.$constructor("ZodDefault", (inst, def) => {
1400
- core.$ZodDefault.init(inst, def);
1401
- exports.ZodType.init(inst, def);
1402
- inst._zod.processJSONSchema = (ctx, json, params) => processors.defaultProcessor(inst, ctx, json, params);
1403
- inst.unwrap = () => inst._zod.def.innerType;
1404
- inst.removeDefault = inst.unwrap;
1405
- });
1406
- function _default(innerType, defaultValue) {
1407
- return new exports.ZodDefault({
1408
- type: "default",
1409
- innerType: innerType,
1410
- get defaultValue() {
1411
- return typeof defaultValue === "function" ? defaultValue() : index_js_1.util.shallowClone(defaultValue);
1412
- },
1413
- });
1414
- }
1415
- exports.ZodPrefault = core.$constructor("ZodPrefault", (inst, def) => {
1416
- core.$ZodPrefault.init(inst, def);
1417
- exports.ZodType.init(inst, def);
1418
- inst._zod.processJSONSchema = (ctx, json, params) => processors.prefaultProcessor(inst, ctx, json, params);
1419
- inst.unwrap = () => inst._zod.def.innerType;
1420
- });
1421
- function prefault(innerType, defaultValue) {
1422
- return new exports.ZodPrefault({
1423
- type: "prefault",
1424
- innerType: innerType,
1425
- get defaultValue() {
1426
- return typeof defaultValue === "function" ? defaultValue() : index_js_1.util.shallowClone(defaultValue);
1427
- },
1428
- });
1429
- }
1430
- exports.ZodNonOptional = core.$constructor("ZodNonOptional", (inst, def) => {
1431
- core.$ZodNonOptional.init(inst, def);
1432
- exports.ZodType.init(inst, def);
1433
- inst._zod.processJSONSchema = (ctx, json, params) => processors.nonoptionalProcessor(inst, ctx, json, params);
1434
- inst.unwrap = () => inst._zod.def.innerType;
1435
- });
1436
- function nonoptional(innerType, params) {
1437
- return new exports.ZodNonOptional({
1438
- type: "nonoptional",
1439
- innerType: innerType,
1440
- ...index_js_1.util.normalizeParams(params),
1441
- });
1442
- }
1443
- exports.ZodSuccess = core.$constructor("ZodSuccess", (inst, def) => {
1444
- core.$ZodSuccess.init(inst, def);
1445
- exports.ZodType.init(inst, def);
1446
- inst._zod.processJSONSchema = (ctx, json, params) => processors.successProcessor(inst, ctx, json, params);
1447
- inst.unwrap = () => inst._zod.def.innerType;
1448
- });
1449
- function success(innerType) {
1450
- return new exports.ZodSuccess({
1451
- type: "success",
1452
- innerType: innerType,
1453
- });
1454
- }
1455
- exports.ZodCatch = core.$constructor("ZodCatch", (inst, def) => {
1456
- core.$ZodCatch.init(inst, def);
1457
- exports.ZodType.init(inst, def);
1458
- inst._zod.processJSONSchema = (ctx, json, params) => processors.catchProcessor(inst, ctx, json, params);
1459
- inst.unwrap = () => inst._zod.def.innerType;
1460
- inst.removeCatch = inst.unwrap;
1461
- });
1462
- function _catch(innerType, catchValue) {
1463
- return new exports.ZodCatch({
1464
- type: "catch",
1465
- innerType: innerType,
1466
- catchValue: (typeof catchValue === "function" ? catchValue : core.util.constantCatch(catchValue)),
1467
- });
1468
- }
1469
- exports.ZodNaN = core.$constructor("ZodNaN", (inst, def) => {
1470
- core.$ZodNaN.init(inst, def);
1471
- exports.ZodType.init(inst, def);
1472
- inst._zod.processJSONSchema = (ctx, json, params) => processors.nanProcessor(inst, ctx, json, params);
1473
- });
1474
- function nan(params) {
1475
- return core._nan(exports.ZodNaN, params);
1476
- }
1477
- exports.ZodPipe = core.$constructor("ZodPipe", (inst, def) => {
1478
- core.$ZodPipe.init(inst, def);
1479
- exports.ZodType.init(inst, def);
1480
- inst._zod.processJSONSchema = (ctx, json, params) => processors.pipeProcessor(inst, ctx, json, params);
1481
- inst.in = def.in;
1482
- inst.out = def.out;
1483
- });
1484
- function pipe(in_, out) {
1485
- return new exports.ZodPipe({
1486
- type: "pipe",
1487
- in: in_,
1488
- out: out,
1489
- // ...util.normalizeParams(params),
1490
- });
1491
- }
1492
- exports.ZodCodec = core.$constructor("ZodCodec", (inst, def) => {
1493
- exports.ZodPipe.init(inst, def);
1494
- core.$ZodCodec.init(inst, def);
1495
- });
1496
- function codec(in_, out, params) {
1497
- return new exports.ZodCodec({
1498
- type: "pipe",
1499
- in: in_,
1500
- out: out,
1501
- transform: params.decode,
1502
- reverseTransform: params.encode,
1503
- });
1504
- }
1505
- function invertCodec(codec) {
1506
- const def = codec._zod.def;
1507
- return new exports.ZodCodec({
1508
- type: "pipe",
1509
- in: def.out,
1510
- out: def.in,
1511
- transform: def.reverseTransform,
1512
- reverseTransform: def.transform,
1513
- });
1514
- }
1515
- exports.ZodPreprocess = core.$constructor("ZodPreprocess", (inst, def) => {
1516
- exports.ZodPipe.init(inst, def);
1517
- core.$ZodPreprocess.init(inst, def);
1518
- });
1519
- exports.ZodReadonly = core.$constructor("ZodReadonly", (inst, def) => {
1520
- core.$ZodReadonly.init(inst, def);
1521
- exports.ZodType.init(inst, def);
1522
- inst._zod.processJSONSchema = (ctx, json, params) => processors.readonlyProcessor(inst, ctx, json, params);
1523
- inst.unwrap = () => inst._zod.def.innerType;
1524
- });
1525
- function readonly(innerType) {
1526
- return new exports.ZodReadonly({
1527
- type: "readonly",
1528
- innerType: innerType,
1529
- });
1530
- }
1531
- exports.ZodTemplateLiteral = core.$constructor("ZodTemplateLiteral", (inst, def) => {
1532
- core.$ZodTemplateLiteral.init(inst, def);
1533
- exports.ZodType.init(inst, def);
1534
- inst._zod.processJSONSchema = (ctx, json, params) => processors.templateLiteralProcessor(inst, ctx, json, params);
1535
- });
1536
- function templateLiteral(parts, params) {
1537
- return new exports.ZodTemplateLiteral({
1538
- type: "template_literal",
1539
- parts,
1540
- ...index_js_1.util.normalizeParams(params),
1541
- });
1542
- }
1543
- exports.ZodLazy = core.$constructor("ZodLazy", (inst, def) => {
1544
- core.$ZodLazy.init(inst, def);
1545
- exports.ZodType.init(inst, def);
1546
- inst._zod.processJSONSchema = (ctx, json, params) => processors.lazyProcessor(inst, ctx, json, params);
1547
- inst.unwrap = () => inst._zod.def.getter();
1548
- });
1549
- function lazy(getter) {
1550
- return new exports.ZodLazy({
1551
- type: "lazy",
1552
- getter: getter,
1553
- });
1554
- }
1555
- exports.ZodPromise = core.$constructor("ZodPromise", (inst, def) => {
1556
- core.$ZodPromise.init(inst, def);
1557
- exports.ZodType.init(inst, def);
1558
- inst._zod.processJSONSchema = (ctx, json, params) => processors.promiseProcessor(inst, ctx, json, params);
1559
- inst.unwrap = () => inst._zod.def.innerType;
1560
- });
1561
- function promise(innerType) {
1562
- return new exports.ZodPromise({
1563
- type: "promise",
1564
- innerType: innerType,
1565
- });
1566
- }
1567
- exports.ZodFunction = core.$constructor("ZodFunction", (inst, def) => {
1568
- core.$ZodFunction.init(inst, def);
1569
- exports.ZodType.init(inst, def);
1570
- inst._zod.processJSONSchema = (ctx, json, params) => processors.functionProcessor(inst, ctx, json, params);
1571
- });
1572
- function _function(params) {
1573
- return new exports.ZodFunction({
1574
- type: "function",
1575
- input: Array.isArray(params?.input) ? tuple(params?.input) : (params?.input ?? array(unknown())),
1576
- output: params?.output ?? unknown(),
1577
- });
1578
- }
1579
- exports.ZodCustom = core.$constructor("ZodCustom", (inst, def) => {
1580
- core.$ZodCustom.init(inst, def);
1581
- exports.ZodType.init(inst, def);
1582
- inst._zod.processJSONSchema = (ctx, json, params) => processors.customProcessor(inst, ctx, json, params);
1583
- });
1584
- // custom checks
1585
- function check(fn) {
1586
- const ch = new core.$ZodCheck({
1587
- check: "custom",
1588
- // ...util.normalizeParams(params),
1589
- });
1590
- ch._zod.check = fn;
1591
- return ch;
1592
- }
1593
- function custom(fn, _params) {
1594
- return core._custom(exports.ZodCustom, fn ?? (() => true), _params);
1595
- }
1596
- function refine(fn, _params = {}) {
1597
- return core._refine(exports.ZodCustom, fn, _params);
1598
- }
1599
- // superRefine
1600
- function superRefine(fn, params) {
1601
- return core._superRefine(fn, params);
1602
- }
1603
- // Re-export describe and meta from core
1604
- exports.describe = core.describe;
1605
- exports.meta = core.meta;
1606
- exports.ZodInstanceOf = core.$constructor("ZodInstanceOf", (inst, def) => {
1607
- exports.ZodCustom.init(inst, def);
1608
- }, {
1609
- properties(shape, params) {
1610
- // asserts in place, so the narrowed output type is truthful without a wrapper
1611
- return this.check(core._properties(shape, params));
1612
- },
1613
- });
1614
- function _instanceof(cls, params = {}) {
1615
- const inst = new exports.ZodInstanceOf({
1616
- type: "custom",
1617
- check: "custom",
1618
- fn: (data) => data instanceof cls,
1619
- abort: true,
1620
- ...index_js_1.util.normalizeParams(params),
1621
- });
1622
- inst._zod.bag.Class = cls;
1623
- // Override check to emit invalid_type instead of custom
1624
- inst._zod.check = (payload) => {
1625
- if (!(payload.value instanceof cls)) {
1626
- payload.issues.push({
1627
- code: "invalid_type",
1628
- expected: cls.name,
1629
- input: payload.value,
1630
- inst,
1631
- path: [...(inst._zod.def.path ?? [])],
1632
- });
1633
- }
1634
- };
1635
- return inst;
1636
- }
1637
- // stringbool
1638
- const stringbool = (...args) => core._stringbool({
1639
- Codec: exports.ZodCodec,
1640
- Boolean: exports.ZodBoolean,
1641
- String: exports.ZodString,
1642
- }, ...args);
1643
- exports.stringbool = stringbool;
1644
- function json(params) {
1645
- const jsonSchema = lazy(() => {
1646
- return union([string(params), number(), boolean(), _null(), array(jsonSchema), record(string(), jsonSchema)]);
1647
- });
1648
- return jsonSchema;
1649
- }
1650
- // preprocess
1651
- function preprocess(fn, schema) {
1652
- return new exports.ZodPreprocess({
1653
- type: "pipe",
1654
- in: transform(fn),
1655
- out: schema,
1656
- });
1657
- }
1658
-
1659
- // seal-cjs-exports
1660
- (function () {
1661
- var keys = Object.getOwnPropertyNames(exports);
1662
- for (var i = 0; i < keys.length; i++) {
1663
- var desc = Object.getOwnPropertyDescriptor(exports, keys[i]);
1664
- if (!desc || !desc.get || !desc.configurable) continue;
1665
- var value;
1666
- try {
1667
- value = desc.get();
1668
- } catch (e) {
1669
- continue;
1670
- }
1671
- // a circular require may not have settled this one yet, so leave it live
1672
- if (value === undefined) continue;
1673
- Object.defineProperty(exports, keys[i], { value: value, writable: false, enumerable: desc.enumerable, configurable: false });
1674
- }
1675
- Object.freeze(exports);
1676
- })();