@vellumai/cli 0.10.6-dev.202607072040.fb971ce → 0.10.6-staging.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bun.lock +411 -0
- package/bunfig.toml +6 -0
- package/node_modules/@vellumai/environments/bun.lock +24 -0
- package/node_modules/@vellumai/environments/tsconfig.json +1 -1
- package/node_modules/@vellumai/local-mode/bun.lock +32 -0
- package/node_modules/@vellumai/local-mode/src/status.ts +7 -84
- package/node_modules/@vellumai/local-mode/tsconfig.json +1 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/README.md +1 -18
- package/node_modules/{@vellumai/local-mode/node_modules/zod/v3 → zod/locales}/package.json +2 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod/locales → zod/mini}/package.json +2 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/package.json +1 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/all-errors.test.ts +3 -3
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/object.test.ts +5 -5
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/partials.test.ts +3 -3
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/errors.ts +2 -2
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/external.ts +1 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/from-json-schema.ts +39 -23
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/parse.ts +6 -6
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/schemas.ts +414 -151
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/assignability.test.ts +6 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/catch.test.ts +50 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/codec.test.ts +142 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/continuability.test.ts +1 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/datetime.test.ts +1 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/default.test.ts +44 -0
- package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +197 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/discriminated-unions.test.ts +34 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/error-utils.test.ts +214 -2
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/from-json-schema.test.ts +161 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/function.test.ts +6 -6
- package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +39 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/index.test.ts +2 -2
- package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +46 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/number.test.ts +55 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/object.test.ts +83 -6
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/optional.test.ts +114 -4
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/partial.test.ts +24 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/prefault.test.ts +1 -1
- package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +26 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/preprocess.test.ts +69 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/record.test.ts +85 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/recursive-types.test.ts +49 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/refine.test.ts +63 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/string.test.ts +50 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/template-literal.test.ts +4 -4
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/to-json-schema.test.ts +150 -15
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/transform.test.ts +17 -0
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +496 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/union.test.ts +54 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/api.ts +31 -6
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/checks.ts +1 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/core.ts +17 -2
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/errors.ts +31 -24
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/json-schema-processors.ts +17 -18
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/parse.ts +7 -7
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/regexes.ts +8 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/schemas.ts +263 -71
- package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +215 -0
- package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
- package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/tests/locales/uz.test.ts +22 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/tests/record-constructor.test.ts +58 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/to-json-schema.ts +10 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/util.ts +52 -35
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/versions.ts +2 -2
- package/node_modules/zod/src/v4/locales/el.ts +121 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/en.ts +4 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/fr.ts +24 -8
- package/node_modules/zod/src/v4/locales/hr.ts +131 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/index.ts +3 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/it.ts +1 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/ka.ts +8 -8
- package/node_modules/zod/src/v4/locales/ro.ts +129 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/uz.ts +1 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/external.ts +1 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/schemas.ts +56 -25
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/codec.test.ts +19 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/index.test.ts +32 -2
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/object.test.ts +9 -9
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/recursive-types.test.ts +51 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/string.test.ts +5 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod/mini → zod/v3}/package.json +2 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/errors.js +2 -2
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/external.d.cts +1 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/external.d.ts +1 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/from-json-schema.cjs +31 -16
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/from-json-schema.js +31 -16
- package/node_modules/zod/v4/classic/package.json +7 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/schemas.cjs +358 -119
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/schemas.d.cts +42 -14
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/schemas.d.ts +42 -14
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/schemas.js +356 -118
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/api.cjs +7 -2
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/api.d.cts +26 -5
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/api.d.ts +26 -5
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/api.js +7 -2
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/checks.d.cts +1 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/checks.d.ts +1 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/core.cjs +3 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/core.js +4 -2
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/errors.cjs +26 -23
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/errors.d.cts +1 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/errors.d.ts +1 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/errors.js +26 -23
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/json-schema-processors.cjs +16 -20
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/json-schema-processors.js +16 -20
- package/node_modules/zod/v4/core/package.json +7 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/parse.cjs +7 -7
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/parse.js +7 -7
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/regexes.cjs +9 -3
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/regexes.d.cts +6 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/regexes.d.ts +6 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/regexes.js +7 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/schemas.cjs +211 -65
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/schemas.d.cts +39 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/schemas.d.ts +39 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/schemas.js +210 -64
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/to-json-schema.cjs +12 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/to-json-schema.js +12 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/util.cjs +54 -30
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/util.d.cts +1 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/util.d.ts +1 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/util.js +55 -32
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/versions.cjs +2 -2
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/versions.d.cts +1 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/versions.d.ts +1 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/versions.js +2 -2
- package/node_modules/zod/v4/locales/el.cjs +136 -0
- package/node_modules/zod/v4/locales/el.js +109 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/en.cjs +4 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/en.js +4 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/fr.cjs +24 -7
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/fr.js +24 -7
- package/node_modules/zod/v4/locales/hr.cjs +149 -0
- package/node_modules/zod/v4/locales/hr.js +122 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/index.cjs +8 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/index.d.cts +3 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/index.d.ts +3 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/index.js +3 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/it.cjs +1 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/it.js +1 -1
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ka.cjs +8 -8
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ka.js +8 -8
- package/node_modules/zod/v4/locales/package.json +7 -0
- package/node_modules/zod/v4/locales/ro.cjs +146 -0
- package/node_modules/zod/v4/locales/ro.js +119 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/uz.cjs +1 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/uz.js +1 -0
- package/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/external.d.cts +1 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/external.d.ts +1 -0
- package/node_modules/zod/v4/mini/package.json +7 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/schemas.cjs +41 -4
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/schemas.d.cts +28 -10
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/schemas.d.ts +28 -10
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/schemas.js +40 -4
- package/node_modules/zod/v4/package.json +7 -0
- package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4-mini/package.json +2 -1
- package/package.json +2 -1
- package/src/__tests__/recover.test.ts +1 -5
- package/src/__tests__/upgrade-local.test.ts +0 -4
- package/src/commands/restore.ts +8 -31
- package/src/commands/upgrade.ts +2 -33
- package/src/commands/wake.ts +2 -80
- package/src/lib/backup-ops.ts +36 -59
- package/src/lib/docker.ts +25 -60
- package/src/lib/http-client.ts +11 -107
- package/src/lib/local.ts +74 -157
- package/src/lib/process.ts +30 -70
- package/src/lib/upgrade-lifecycle.ts +25 -129
- package/tsconfig.json +1 -1
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/package.json +0 -18
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/src/__tests__/package-boundary.test.ts +0 -95
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/src/index.ts +0 -11
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/src/seeds.ts +0 -70
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/src/types.ts +0 -70
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/tsconfig.json +0 -20
- package/node_modules/@vellumai/local-mode/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -183
- package/node_modules/@vellumai/local-mode/node_modules/zod/v4/classic/package.json +0 -6
- package/node_modules/@vellumai/local-mode/node_modules/zod/v4/core/package.json +0 -6
- package/node_modules/@vellumai/local-mode/node_modules/zod/v4/locales/package.json +0 -6
- package/node_modules/@vellumai/local-mode/node_modules/zod/v4/mini/package.json +0 -6
- package/node_modules/@vellumai/local-mode/node_modules/zod/v4/package.json +0 -6
- package/src/__tests__/daemon-readiness-probe.test.ts +0 -158
- package/src/__tests__/upgrade-wait-for-ready.test.ts +0 -103
- package/src/lib/__tests__/local-ces.test.ts +0 -104
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/LICENSE +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/index.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/index.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/index.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/index.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/locales/index.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/locales/index.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/locales/index.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/locales/index.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/mini/index.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/mini/index.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/mini/index.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/mini/index.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/index.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/locales/index.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/mini/index.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/ZodError.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/benchmarks/datetime.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/benchmarks/discriminatedUnion.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/benchmarks/index.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/benchmarks/ipv4.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/benchmarks/object.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/benchmarks/primitives.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/benchmarks/realworld.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/benchmarks/string.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/benchmarks/union.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/errors.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/external.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/helpers/enumUtil.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/helpers/errorUtil.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/helpers/parseUtil.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/helpers/partialUtil.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/helpers/typeAliases.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/helpers/util.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/index.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/locales/en.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/standard-schema.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/Mocker.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/anyunknown.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/array.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/async-parsing.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/async-refinements.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/base.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/bigint.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/branded.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/catch.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/coerce.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/complex.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/custom.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/date.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/deepmasking.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/default.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/description.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/discriminated-unions.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/enum.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/error.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/firstparty.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/firstpartyschematypes.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/function.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/generics.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/instanceof.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/intersection.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/language-server.source.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/language-server.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/literal.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/map.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/masking.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/mocker.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/nan.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/nativeEnum.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/nullable.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/number.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/object-augmentation.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/object-in-es5-env.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/optional.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/parseUtil.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/parser.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/pickomit.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/pipeline.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/preprocess.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/primitive.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/promise.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/readonly.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/record.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/recursive.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/refine.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/safeparse.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/set.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/standard-schema.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/string.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/transformer.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/tuple.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/unions.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/validations.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/tests/void.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v3/types.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/checks.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/coerce.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/compat.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/index.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/iso.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/anyunknown.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/apply.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/array.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/async-parsing.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/async-refinements.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/base.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/bigint.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/brand.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/coalesce.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/codec-examples.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/coerce.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/custom.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/date.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/describe-meta-checks.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/description.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/enum.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/error.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/file.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/firstparty.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/fix-json-issue.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/generics.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/hash.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/instanceof.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/intersection.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/json.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/lazy.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/literal.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/map.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/nan.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/nested-refine.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/nonoptional.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/nullable.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/pickomit.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/pipe.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/primitive.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/promise.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/prototypes.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/readonly.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/registries.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/set.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/standard-schema.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/string-formats.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/stringbool.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/url.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/validations.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/classic/tests/void.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/config.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/doc.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/index.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/json-schema-generator.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/json-schema.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/registries.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/standard-schema.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/tests/extend.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/tests/index.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/tests/locales/be.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/tests/locales/en.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/tests/locales/es.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/tests/locales/he.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/tests/locales/nl.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/tests/locales/ru.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/tests/locales/tr.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/tests/recursive-tuples.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/core/zsf.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/index.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/ar.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/az.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/be.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/bg.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/ca.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/cs.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/da.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/de.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/eo.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/es.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/fa.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/fi.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/fr-CA.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/he.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/hu.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/hy.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/id.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/is.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/ja.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/kh.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/km.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/ko.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/lt.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/mk.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/ms.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/nl.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/no.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/ota.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/pl.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/ps.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/pt.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/ru.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/sl.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/sv.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/ta.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/th.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/tr.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/ua.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/uk.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/ur.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/vi.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/yo.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/zh-CN.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/locales/zh-TW.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/checks.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/coerce.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/index.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/iso.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/parse.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/apply.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/assignability.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/brand.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/checks.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/computed.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/error.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/functions.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/number.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/prototypes.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4/mini/tests/standard-schema.test.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/src/v4-mini/index.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/ZodError.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/ZodError.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/ZodError.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/ZodError.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/errors.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/errors.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/errors.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/errors.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/external.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/external.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/external.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/external.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/enumUtil.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/enumUtil.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/enumUtil.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/enumUtil.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/errorUtil.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/errorUtil.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/errorUtil.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/errorUtil.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/parseUtil.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/parseUtil.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/parseUtil.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/parseUtil.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/partialUtil.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/partialUtil.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/partialUtil.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/partialUtil.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/typeAliases.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/typeAliases.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/typeAliases.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/typeAliases.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/util.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/util.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/util.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/helpers/util.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/index.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/index.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/index.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/index.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/locales/en.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/locales/en.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/locales/en.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/locales/en.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/standard-schema.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/standard-schema.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/standard-schema.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/standard-schema.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/types.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/types.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/types.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v3/types.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/checks.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/checks.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/checks.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/checks.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/coerce.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/coerce.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/coerce.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/coerce.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/compat.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/compat.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/compat.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/compat.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/errors.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/errors.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/errors.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/external.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/external.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/from-json-schema.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/from-json-schema.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/index.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/index.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/index.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/index.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/iso.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/iso.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/iso.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/iso.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/parse.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/parse.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/parse.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/classic/parse.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/checks.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/checks.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/core.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/core.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/doc.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/doc.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/doc.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/doc.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/index.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/index.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/index.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/index.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/json-schema-generator.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/json-schema-generator.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/json-schema-generator.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/json-schema-generator.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/json-schema-processors.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/json-schema-processors.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/json-schema.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/json-schema.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/json-schema.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/json-schema.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/parse.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/parse.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/registries.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/registries.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/registries.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/registries.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/standard-schema.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/standard-schema.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/standard-schema.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/standard-schema.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/to-json-schema.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/to-json-schema.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/index.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/index.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/index.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/index.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ar.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ar.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ar.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ar.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/az.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/az.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/az.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/az.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/be.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/be.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/be.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/be.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/bg.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/bg.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/bg.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/bg.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ca.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ca.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ca.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ca.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/cs.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/cs.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/cs.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/cs.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/da.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/da.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/da.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/da.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/de.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/de.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/de.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/de.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/en.d.cts → zod/v4/locales/el.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/en.d.ts → zod/v4/locales/el.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/eo.d.cts → zod/v4/locales/en.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/eo.d.ts → zod/v4/locales/en.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/eo.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/es.d.cts → zod/v4/locales/eo.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/es.d.ts → zod/v4/locales/eo.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/eo.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/es.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/fa.d.cts → zod/v4/locales/es.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/fa.d.ts → zod/v4/locales/es.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/es.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/fa.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/fi.d.cts → zod/v4/locales/fa.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/fi.d.ts → zod/v4/locales/fa.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/fa.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/fi.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/fr-CA.d.cts → zod/v4/locales/fi.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/fr-CA.d.ts → zod/v4/locales/fi.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/fi.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/fr-CA.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/fr.d.cts → zod/v4/locales/fr-CA.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/fr.d.ts → zod/v4/locales/fr-CA.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/fr-CA.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/he.d.cts → zod/v4/locales/fr.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/he.d.ts → zod/v4/locales/fr.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/he.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/hu.d.cts → zod/v4/locales/he.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/hu.d.ts → zod/v4/locales/he.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/he.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/hy.d.cts → zod/v4/locales/hr.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/hy.d.ts → zod/v4/locales/hr.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/hu.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/id.d.cts → zod/v4/locales/hu.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/id.d.ts → zod/v4/locales/hu.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/hu.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/hy.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/is.d.cts → zod/v4/locales/hy.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/is.d.ts → zod/v4/locales/hy.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/hy.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/id.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/it.d.cts → zod/v4/locales/id.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/it.d.ts → zod/v4/locales/id.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/id.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/is.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ja.d.cts → zod/v4/locales/is.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ja.d.ts → zod/v4/locales/is.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/is.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ka.d.cts → zod/v4/locales/it.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ka.d.ts → zod/v4/locales/it.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ja.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/kh.d.cts → zod/v4/locales/ja.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/km.d.ts → zod/v4/locales/ja.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ja.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/km.d.cts → zod/v4/locales/ka.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ko.d.ts → zod/v4/locales/ka.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/kh.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ko.d.cts → zod/v4/locales/kh.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/kh.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/kh.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/km.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/lt.d.cts → zod/v4/locales/km.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/lt.d.ts → zod/v4/locales/km.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/km.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ko.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/mk.d.cts → zod/v4/locales/ko.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/mk.d.ts → zod/v4/locales/ko.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ko.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/lt.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ms.d.cts → zod/v4/locales/lt.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ms.d.ts → zod/v4/locales/lt.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/lt.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/mk.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/nl.d.cts → zod/v4/locales/mk.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/nl.d.ts → zod/v4/locales/mk.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/mk.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ms.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/no.d.cts → zod/v4/locales/ms.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/no.d.ts → zod/v4/locales/ms.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ms.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/nl.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ota.d.cts → zod/v4/locales/nl.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ota.d.ts → zod/v4/locales/nl.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/nl.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/no.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/pl.d.cts → zod/v4/locales/no.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/pl.d.ts → zod/v4/locales/no.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/no.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ota.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ps.d.cts → zod/v4/locales/ota.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ps.d.ts → zod/v4/locales/ota.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ota.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/pl.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/pt.d.cts → zod/v4/locales/pl.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/pt.d.ts → zod/v4/locales/pl.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/pl.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ps.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ru.d.cts → zod/v4/locales/ps.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ru.d.ts → zod/v4/locales/ps.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ps.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/pt.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/sl.d.cts → zod/v4/locales/pt.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/sl.d.ts → zod/v4/locales/pt.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/pt.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/sv.d.cts → zod/v4/locales/ro.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/sv.d.ts → zod/v4/locales/ro.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ru.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ta.d.cts → zod/v4/locales/ru.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ta.d.ts → zod/v4/locales/ru.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ru.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/sl.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/th.d.cts → zod/v4/locales/sl.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/th.d.ts → zod/v4/locales/sl.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/sl.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/sv.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/tr.d.cts → zod/v4/locales/sv.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/tr.d.ts → zod/v4/locales/sv.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/sv.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ta.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ua.d.cts → zod/v4/locales/ta.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/uk.d.ts → zod/v4/locales/ta.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ta.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/th.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/uk.d.cts → zod/v4/locales/th.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ur.d.ts → zod/v4/locales/th.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/th.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/tr.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/ur.d.cts → zod/v4/locales/tr.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/uz.d.ts → zod/v4/locales/tr.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/tr.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ua.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/uz.d.cts → zod/v4/locales/ua.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ua.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ua.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/uk.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/vi.d.cts → zod/v4/locales/uk.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/vi.d.ts → zod/v4/locales/uk.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/uk.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ur.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/yo.d.cts → zod/v4/locales/ur.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/yo.d.ts → zod/v4/locales/ur.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/ur.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/zh-CN.d.cts → zod/v4/locales/uz.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/zh-CN.d.ts → zod/v4/locales/uz.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/vi.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/zh-TW.d.cts → zod/v4/locales/vi.d.cts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod/v4/locales/zh-TW.d.ts → zod/v4/locales/vi.d.ts} +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/vi.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/yo.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/yo.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/zh-CN.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/zh-CN.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/zh-TW.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/locales/zh-TW.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/checks.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/checks.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/checks.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/checks.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/coerce.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/coerce.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/coerce.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/coerce.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/external.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/external.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/index.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/index.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/index.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/index.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/iso.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/iso.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/iso.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/iso.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/parse.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/parse.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/parse.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/mini/parse.js +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4-mini/index.cjs +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4-mini/index.d.cts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4-mini/index.d.ts +0 -0
- /package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4-mini/index.js +0 -0
package/node_modules/{@vellumai/local-mode/node_modules/zod → zod}/v4/core/to-json-schema.js
RENAMED
|
@@ -86,7 +86,7 @@ export function process(schema, ctx, _params = { path: [], schemaPath: [] }) {
|
|
|
86
86
|
delete result.schema.default;
|
|
87
87
|
}
|
|
88
88
|
// set prefault as default
|
|
89
|
-
if (ctx.io === "input" && result.schema
|
|
89
|
+
if (ctx.io === "input" && "_prefault" in result.schema)
|
|
90
90
|
(_a = result.schema).default ?? (_a.default = result.schema._prefault);
|
|
91
91
|
delete result.schema._prefault;
|
|
92
92
|
// pulling fresh from ctx.seen in case it was overwritten
|
|
@@ -318,11 +318,20 @@ export function finalize(ctx, schema) {
|
|
|
318
318
|
result.$id = ctx.external.uri(id);
|
|
319
319
|
}
|
|
320
320
|
Object.assign(result, root.def ?? root.schema);
|
|
321
|
+
// The `id` in `.meta()` is a Zod-specific registration tag used to extract
|
|
322
|
+
// schemas into $defs — it is not user-facing JSON Schema metadata. Strip it
|
|
323
|
+
// from the output body where it would otherwise leak. The id is preserved
|
|
324
|
+
// implicitly via the $defs key (and via $ref paths).
|
|
325
|
+
const rootMetaId = ctx.metadataRegistry.get(schema)?.id;
|
|
326
|
+
if (rootMetaId !== undefined && result.id === rootMetaId)
|
|
327
|
+
delete result.id;
|
|
321
328
|
// build defs object
|
|
322
329
|
const defs = ctx.external?.defs ?? {};
|
|
323
330
|
for (const entry of ctx.seen.entries()) {
|
|
324
331
|
const seen = entry[1];
|
|
325
332
|
if (seen.def && seen.defId) {
|
|
333
|
+
if (seen.def.id === seen.defId)
|
|
334
|
+
delete seen.def.id;
|
|
326
335
|
defs[seen.defId] = seen.def;
|
|
327
336
|
}
|
|
328
337
|
}
|
|
@@ -391,6 +400,8 @@ function isTransforming(_schema, _ctx) {
|
|
|
391
400
|
return isTransforming(def.keyType, ctx) || isTransforming(def.valueType, ctx);
|
|
392
401
|
}
|
|
393
402
|
if (def.type === "pipe") {
|
|
403
|
+
if (_schema._zod.traits.has("$ZodCodec"))
|
|
404
|
+
return true;
|
|
394
405
|
return isTransforming(def.in, ctx) || isTransforming(def.out, ctx);
|
|
395
406
|
}
|
|
396
407
|
if (def.type === "object") {
|
|
@@ -41,6 +41,7 @@ exports.merge = merge;
|
|
|
41
41
|
exports.partial = partial;
|
|
42
42
|
exports.required = required;
|
|
43
43
|
exports.aborted = aborted;
|
|
44
|
+
exports.explicitlyAborted = explicitlyAborted;
|
|
44
45
|
exports.prefixIssues = prefixIssues;
|
|
45
46
|
exports.unwrapMessage = unwrapMessage;
|
|
46
47
|
exports.finalizeIssue = finalizeIssue;
|
|
@@ -55,6 +56,7 @@ exports.base64urlToUint8Array = base64urlToUint8Array;
|
|
|
55
56
|
exports.uint8ArrayToBase64url = uint8ArrayToBase64url;
|
|
56
57
|
exports.hexToUint8Array = hexToUint8Array;
|
|
57
58
|
exports.uint8ArrayToHex = uint8ArrayToHex;
|
|
59
|
+
const core_js_1 = require("./core.cjs");
|
|
58
60
|
// functions
|
|
59
61
|
function assertEqual(val) {
|
|
60
62
|
return val;
|
|
@@ -104,21 +106,15 @@ function cleanRegex(source) {
|
|
|
104
106
|
return source.slice(start, end);
|
|
105
107
|
}
|
|
106
108
|
function floatSafeRemainder(val, step) {
|
|
107
|
-
const
|
|
108
|
-
const
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
const decCount = valDecCount > stepDecCount ? valDecCount : stepDecCount;
|
|
117
|
-
const valInt = Number.parseInt(val.toFixed(decCount).replace(".", ""));
|
|
118
|
-
const stepInt = Number.parseInt(step.toFixed(decCount).replace(".", ""));
|
|
119
|
-
return (valInt % stepInt) / 10 ** decCount;
|
|
120
|
-
}
|
|
121
|
-
const EVALUATING = Symbol("evaluating");
|
|
109
|
+
const ratio = val / step;
|
|
110
|
+
const roundedRatio = Math.round(ratio);
|
|
111
|
+
// Use a relative epsilon scaled to the magnitude of the result
|
|
112
|
+
const tolerance = Number.EPSILON * Math.max(Math.abs(ratio), 1);
|
|
113
|
+
if (Math.abs(ratio - roundedRatio) < tolerance)
|
|
114
|
+
return 0;
|
|
115
|
+
return ratio - roundedRatio;
|
|
116
|
+
}
|
|
117
|
+
const EVALUATING = /* @__PURE__*/ Symbol("evaluating");
|
|
122
118
|
function defineLazy(object, key, getter) {
|
|
123
119
|
let value = undefined;
|
|
124
120
|
Object.defineProperty(object, key, {
|
|
@@ -205,6 +201,11 @@ function isObject(data) {
|
|
|
205
201
|
return typeof data === "object" && data !== null && !Array.isArray(data);
|
|
206
202
|
}
|
|
207
203
|
exports.allowsEval = cached(() => {
|
|
204
|
+
// Skip the probe under `jitless`: strict CSPs report the caught `new Function`
|
|
205
|
+
// as a `securitypolicyviolation` even though the throw is swallowed.
|
|
206
|
+
if (core_js_1.globalConfig.jitless) {
|
|
207
|
+
return false;
|
|
208
|
+
}
|
|
208
209
|
// @ts-ignore
|
|
209
210
|
if (typeof navigator !== "undefined" && navigator?.userAgent?.includes("Cloudflare")) {
|
|
210
211
|
return false;
|
|
@@ -242,6 +243,10 @@ function shallowClone(o) {
|
|
|
242
243
|
return { ...o };
|
|
243
244
|
if (Array.isArray(o))
|
|
244
245
|
return [...o];
|
|
246
|
+
if (o instanceof Map)
|
|
247
|
+
return new Map(o);
|
|
248
|
+
if (o instanceof Set)
|
|
249
|
+
return new Set(o);
|
|
245
250
|
return o;
|
|
246
251
|
}
|
|
247
252
|
function numKeys(data) {
|
|
@@ -300,7 +305,14 @@ const getParsedType = (data) => {
|
|
|
300
305
|
};
|
|
301
306
|
exports.getParsedType = getParsedType;
|
|
302
307
|
exports.propertyKeyTypes = new Set(["string", "number", "symbol"]);
|
|
303
|
-
exports.primitiveTypes = new Set([
|
|
308
|
+
exports.primitiveTypes = new Set([
|
|
309
|
+
"string",
|
|
310
|
+
"number",
|
|
311
|
+
"bigint",
|
|
312
|
+
"boolean",
|
|
313
|
+
"symbol",
|
|
314
|
+
"undefined",
|
|
315
|
+
]);
|
|
304
316
|
function escapeRegex(str) {
|
|
305
317
|
return str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
306
318
|
}
|
|
@@ -472,6 +484,9 @@ function safeExtend(schema, shape) {
|
|
|
472
484
|
return clone(schema, def);
|
|
473
485
|
}
|
|
474
486
|
function merge(a, b) {
|
|
487
|
+
if (a._zod.def.checks?.length) {
|
|
488
|
+
throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");
|
|
489
|
+
}
|
|
475
490
|
const def = mergeDefs(a._zod.def, {
|
|
476
491
|
get shape() {
|
|
477
492
|
const _shape = { ...a._zod.def.shape, ...b._zod.def.shape };
|
|
@@ -481,7 +496,7 @@ function merge(a, b) {
|
|
|
481
496
|
get catchall() {
|
|
482
497
|
return b._zod.def.catchall;
|
|
483
498
|
},
|
|
484
|
-
checks: [],
|
|
499
|
+
checks: b._zod.def.checks ?? [],
|
|
485
500
|
});
|
|
486
501
|
return clone(a, def);
|
|
487
502
|
}
|
|
@@ -575,6 +590,18 @@ function aborted(x, startIndex = 0) {
|
|
|
575
590
|
}
|
|
576
591
|
return false;
|
|
577
592
|
}
|
|
593
|
+
// Checks for explicit abort (continue === false), as opposed to implicit abort (continue === undefined).
|
|
594
|
+
// Used to respect `abort: true` in .refine() even for checks that have a `when` function.
|
|
595
|
+
function explicitlyAborted(x, startIndex = 0) {
|
|
596
|
+
if (x.aborted === true)
|
|
597
|
+
return true;
|
|
598
|
+
for (let i = startIndex; i < x.issues.length; i++) {
|
|
599
|
+
if (x.issues[i]?.continue === false) {
|
|
600
|
+
return true;
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
return false;
|
|
604
|
+
}
|
|
578
605
|
function prefixIssues(path, issues) {
|
|
579
606
|
return issues.map((iss) => {
|
|
580
607
|
var _a;
|
|
@@ -587,23 +614,20 @@ function unwrapMessage(message) {
|
|
|
587
614
|
return typeof message === "string" ? message : message?.message;
|
|
588
615
|
}
|
|
589
616
|
function finalizeIssue(iss, ctx, config) {
|
|
590
|
-
const
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
const message = unwrapMessage(iss.inst?._zod.def?.error?.(iss)) ??
|
|
617
|
+
const message = iss.message
|
|
618
|
+
? iss.message
|
|
619
|
+
: (unwrapMessage(iss.inst?._zod.def?.error?.(iss)) ??
|
|
594
620
|
unwrapMessage(ctx?.error?.(iss)) ??
|
|
595
621
|
unwrapMessage(config.customError?.(iss)) ??
|
|
596
622
|
unwrapMessage(config.localeError?.(iss)) ??
|
|
597
|
-
"Invalid input";
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
if (!ctx?.reportInput) {
|
|
604
|
-
delete full.input;
|
|
623
|
+
"Invalid input");
|
|
624
|
+
const { inst: _inst, continue: _continue, input: _input, ...rest } = iss;
|
|
625
|
+
rest.path ?? (rest.path = []);
|
|
626
|
+
rest.message = message;
|
|
627
|
+
if (ctx?.reportInput) {
|
|
628
|
+
rest.input = _input;
|
|
605
629
|
}
|
|
606
|
-
return
|
|
630
|
+
return rest;
|
|
607
631
|
}
|
|
608
632
|
function getSizableOrigin(input) {
|
|
609
633
|
if (input instanceof Set)
|
|
@@ -177,6 +177,7 @@ export declare function partial(Class: SchemaClass<schemas.$ZodOptional> | null,
|
|
|
177
177
|
export declare function required(Class: SchemaClass<schemas.$ZodNonOptional>, schema: schemas.$ZodObject, mask: object | undefined): any;
|
|
178
178
|
export type Constructor<T, Def extends any[] = any[]> = new (...args: Def) => T;
|
|
179
179
|
export declare function aborted(x: schemas.ParsePayload, startIndex?: number): boolean;
|
|
180
|
+
export declare function explicitlyAborted(x: schemas.ParsePayload, startIndex?: number): boolean;
|
|
180
181
|
export declare function prefixIssues(path: PropertyKey, issues: errors.$ZodRawIssue[]): errors.$ZodRawIssue[];
|
|
181
182
|
export declare function unwrapMessage(message: string | {
|
|
182
183
|
message: string;
|
|
@@ -177,6 +177,7 @@ export declare function partial(Class: SchemaClass<schemas.$ZodOptional> | null,
|
|
|
177
177
|
export declare function required(Class: SchemaClass<schemas.$ZodNonOptional>, schema: schemas.$ZodObject, mask: object | undefined): any;
|
|
178
178
|
export type Constructor<T, Def extends any[] = any[]> = new (...args: Def) => T;
|
|
179
179
|
export declare function aborted(x: schemas.ParsePayload, startIndex?: number): boolean;
|
|
180
|
+
export declare function explicitlyAborted(x: schemas.ParsePayload, startIndex?: number): boolean;
|
|
180
181
|
export declare function prefixIssues(path: PropertyKey, issues: errors.$ZodRawIssue[]): errors.$ZodRawIssue[];
|
|
181
182
|
export declare function unwrapMessage(message: string | {
|
|
182
183
|
message: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { globalConfig } from "./core.js";
|
|
1
2
|
// functions
|
|
2
3
|
export function assertEqual(val) {
|
|
3
4
|
return val;
|
|
@@ -47,21 +48,15 @@ export function cleanRegex(source) {
|
|
|
47
48
|
return source.slice(start, end);
|
|
48
49
|
}
|
|
49
50
|
export function floatSafeRemainder(val, step) {
|
|
50
|
-
const
|
|
51
|
-
const
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
const decCount = valDecCount > stepDecCount ? valDecCount : stepDecCount;
|
|
60
|
-
const valInt = Number.parseInt(val.toFixed(decCount).replace(".", ""));
|
|
61
|
-
const stepInt = Number.parseInt(step.toFixed(decCount).replace(".", ""));
|
|
62
|
-
return (valInt % stepInt) / 10 ** decCount;
|
|
63
|
-
}
|
|
64
|
-
const EVALUATING = Symbol("evaluating");
|
|
51
|
+
const ratio = val / step;
|
|
52
|
+
const roundedRatio = Math.round(ratio);
|
|
53
|
+
// Use a relative epsilon scaled to the magnitude of the result
|
|
54
|
+
const tolerance = Number.EPSILON * Math.max(Math.abs(ratio), 1);
|
|
55
|
+
if (Math.abs(ratio - roundedRatio) < tolerance)
|
|
56
|
+
return 0;
|
|
57
|
+
return ratio - roundedRatio;
|
|
58
|
+
}
|
|
59
|
+
const EVALUATING = /* @__PURE__*/ Symbol("evaluating");
|
|
65
60
|
export function defineLazy(object, key, getter) {
|
|
66
61
|
let value = undefined;
|
|
67
62
|
Object.defineProperty(object, key, {
|
|
@@ -147,7 +142,12 @@ export const captureStackTrace = ("captureStackTrace" in Error ? Error.captureSt
|
|
|
147
142
|
export function isObject(data) {
|
|
148
143
|
return typeof data === "object" && data !== null && !Array.isArray(data);
|
|
149
144
|
}
|
|
150
|
-
export const allowsEval = cached(() => {
|
|
145
|
+
export const allowsEval = /* @__PURE__*/ cached(() => {
|
|
146
|
+
// Skip the probe under `jitless`: strict CSPs report the caught `new Function`
|
|
147
|
+
// as a `securitypolicyviolation` even though the throw is swallowed.
|
|
148
|
+
if (globalConfig.jitless) {
|
|
149
|
+
return false;
|
|
150
|
+
}
|
|
151
151
|
// @ts-ignore
|
|
152
152
|
if (typeof navigator !== "undefined" && navigator?.userAgent?.includes("Cloudflare")) {
|
|
153
153
|
return false;
|
|
@@ -185,6 +185,10 @@ export function shallowClone(o) {
|
|
|
185
185
|
return { ...o };
|
|
186
186
|
if (Array.isArray(o))
|
|
187
187
|
return [...o];
|
|
188
|
+
if (o instanceof Map)
|
|
189
|
+
return new Map(o);
|
|
190
|
+
if (o instanceof Set)
|
|
191
|
+
return new Set(o);
|
|
188
192
|
return o;
|
|
189
193
|
}
|
|
190
194
|
export function numKeys(data) {
|
|
@@ -241,8 +245,15 @@ export const getParsedType = (data) => {
|
|
|
241
245
|
throw new Error(`Unknown data type: ${t}`);
|
|
242
246
|
}
|
|
243
247
|
};
|
|
244
|
-
export const propertyKeyTypes = new Set(["string", "number", "symbol"]);
|
|
245
|
-
export const primitiveTypes = new Set([
|
|
248
|
+
export const propertyKeyTypes = /* @__PURE__*/ new Set(["string", "number", "symbol"]);
|
|
249
|
+
export const primitiveTypes = /* @__PURE__*/ new Set([
|
|
250
|
+
"string",
|
|
251
|
+
"number",
|
|
252
|
+
"bigint",
|
|
253
|
+
"boolean",
|
|
254
|
+
"symbol",
|
|
255
|
+
"undefined",
|
|
256
|
+
]);
|
|
246
257
|
export function escapeRegex(str) {
|
|
247
258
|
return str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
248
259
|
}
|
|
@@ -414,6 +425,9 @@ export function safeExtend(schema, shape) {
|
|
|
414
425
|
return clone(schema, def);
|
|
415
426
|
}
|
|
416
427
|
export function merge(a, b) {
|
|
428
|
+
if (a._zod.def.checks?.length) {
|
|
429
|
+
throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");
|
|
430
|
+
}
|
|
417
431
|
const def = mergeDefs(a._zod.def, {
|
|
418
432
|
get shape() {
|
|
419
433
|
const _shape = { ...a._zod.def.shape, ...b._zod.def.shape };
|
|
@@ -423,7 +437,7 @@ export function merge(a, b) {
|
|
|
423
437
|
get catchall() {
|
|
424
438
|
return b._zod.def.catchall;
|
|
425
439
|
},
|
|
426
|
-
checks: [],
|
|
440
|
+
checks: b._zod.def.checks ?? [],
|
|
427
441
|
});
|
|
428
442
|
return clone(a, def);
|
|
429
443
|
}
|
|
@@ -517,6 +531,18 @@ export function aborted(x, startIndex = 0) {
|
|
|
517
531
|
}
|
|
518
532
|
return false;
|
|
519
533
|
}
|
|
534
|
+
// Checks for explicit abort (continue === false), as opposed to implicit abort (continue === undefined).
|
|
535
|
+
// Used to respect `abort: true` in .refine() even for checks that have a `when` function.
|
|
536
|
+
export function explicitlyAborted(x, startIndex = 0) {
|
|
537
|
+
if (x.aborted === true)
|
|
538
|
+
return true;
|
|
539
|
+
for (let i = startIndex; i < x.issues.length; i++) {
|
|
540
|
+
if (x.issues[i]?.continue === false) {
|
|
541
|
+
return true;
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
return false;
|
|
545
|
+
}
|
|
520
546
|
export function prefixIssues(path, issues) {
|
|
521
547
|
return issues.map((iss) => {
|
|
522
548
|
var _a;
|
|
@@ -529,23 +555,20 @@ export function unwrapMessage(message) {
|
|
|
529
555
|
return typeof message === "string" ? message : message?.message;
|
|
530
556
|
}
|
|
531
557
|
export function finalizeIssue(iss, ctx, config) {
|
|
532
|
-
const
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
const message = unwrapMessage(iss.inst?._zod.def?.error?.(iss)) ??
|
|
558
|
+
const message = iss.message
|
|
559
|
+
? iss.message
|
|
560
|
+
: (unwrapMessage(iss.inst?._zod.def?.error?.(iss)) ??
|
|
536
561
|
unwrapMessage(ctx?.error?.(iss)) ??
|
|
537
562
|
unwrapMessage(config.customError?.(iss)) ??
|
|
538
563
|
unwrapMessage(config.localeError?.(iss)) ??
|
|
539
|
-
"Invalid input";
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
if (!ctx?.reportInput) {
|
|
546
|
-
delete full.input;
|
|
564
|
+
"Invalid input");
|
|
565
|
+
const { inst: _inst, continue: _continue, input: _input, ...rest } = iss;
|
|
566
|
+
rest.path ?? (rest.path = []);
|
|
567
|
+
rest.message = message;
|
|
568
|
+
if (ctx?.reportInput) {
|
|
569
|
+
rest.input = _input;
|
|
547
570
|
}
|
|
548
|
-
return
|
|
571
|
+
return rest;
|
|
549
572
|
}
|
|
550
573
|
export function getSizableOrigin(input) {
|
|
551
574
|
if (input instanceof Set)
|
|
@@ -0,0 +1,136 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.default = default_1;
|
|
27
|
+
const util = __importStar(require("../core/util.cjs"));
|
|
28
|
+
const error = () => {
|
|
29
|
+
const Sizable = {
|
|
30
|
+
string: { unit: "χαρακτήρες", verb: "να έχει" },
|
|
31
|
+
file: { unit: "bytes", verb: "να έχει" },
|
|
32
|
+
array: { unit: "στοιχεία", verb: "να έχει" },
|
|
33
|
+
set: { unit: "στοιχεία", verb: "να έχει" },
|
|
34
|
+
map: { unit: "καταχωρήσεις", verb: "να έχει" },
|
|
35
|
+
};
|
|
36
|
+
function getSizing(origin) {
|
|
37
|
+
return Sizable[origin] ?? null;
|
|
38
|
+
}
|
|
39
|
+
const FormatDictionary = {
|
|
40
|
+
regex: "είσοδος",
|
|
41
|
+
email: "διεύθυνση email",
|
|
42
|
+
url: "URL",
|
|
43
|
+
emoji: "emoji",
|
|
44
|
+
uuid: "UUID",
|
|
45
|
+
uuidv4: "UUIDv4",
|
|
46
|
+
uuidv6: "UUIDv6",
|
|
47
|
+
nanoid: "nanoid",
|
|
48
|
+
guid: "GUID",
|
|
49
|
+
cuid: "cuid",
|
|
50
|
+
cuid2: "cuid2",
|
|
51
|
+
ulid: "ULID",
|
|
52
|
+
xid: "XID",
|
|
53
|
+
ksuid: "KSUID",
|
|
54
|
+
datetime: "ISO ημερομηνία και ώρα",
|
|
55
|
+
date: "ISO ημερομηνία",
|
|
56
|
+
time: "ISO ώρα",
|
|
57
|
+
duration: "ISO διάρκεια",
|
|
58
|
+
ipv4: "διεύθυνση IPv4",
|
|
59
|
+
ipv6: "διεύθυνση IPv6",
|
|
60
|
+
mac: "διεύθυνση MAC",
|
|
61
|
+
cidrv4: "εύρος IPv4",
|
|
62
|
+
cidrv6: "εύρος IPv6",
|
|
63
|
+
base64: "συμβολοσειρά κωδικοποιημένη σε base64",
|
|
64
|
+
base64url: "συμβολοσειρά κωδικοποιημένη σε base64url",
|
|
65
|
+
json_string: "συμβολοσειρά JSON",
|
|
66
|
+
e164: "αριθμός E.164",
|
|
67
|
+
jwt: "JWT",
|
|
68
|
+
template_literal: "είσοδος",
|
|
69
|
+
};
|
|
70
|
+
const TypeDictionary = {
|
|
71
|
+
nan: "NaN",
|
|
72
|
+
};
|
|
73
|
+
return (issue) => {
|
|
74
|
+
switch (issue.code) {
|
|
75
|
+
case "invalid_type": {
|
|
76
|
+
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
77
|
+
const receivedType = util.parsedType(issue.input);
|
|
78
|
+
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
79
|
+
if (typeof issue.expected === "string" && /^[A-Z]/.test(issue.expected)) {
|
|
80
|
+
return `Μη έγκυρη είσοδος: αναμενόταν instanceof ${issue.expected}, λήφθηκε ${received}`;
|
|
81
|
+
}
|
|
82
|
+
return `Μη έγκυρη είσοδος: αναμενόταν ${expected}, λήφθηκε ${received}`;
|
|
83
|
+
}
|
|
84
|
+
case "invalid_value":
|
|
85
|
+
if (issue.values.length === 1)
|
|
86
|
+
return `Μη έγκυρη είσοδος: αναμενόταν ${util.stringifyPrimitive(issue.values[0])}`;
|
|
87
|
+
return `Μη έγκυρη επιλογή: αναμενόταν ένα από ${util.joinValues(issue.values, "|")}`;
|
|
88
|
+
case "too_big": {
|
|
89
|
+
const adj = issue.inclusive ? "<=" : "<";
|
|
90
|
+
const sizing = getSizing(issue.origin);
|
|
91
|
+
if (sizing)
|
|
92
|
+
return `Πολύ μεγάλο: αναμενόταν ${issue.origin ?? "τιμή"} να έχει ${adj}${issue.maximum.toString()} ${sizing.unit ?? "στοιχεία"}`;
|
|
93
|
+
return `Πολύ μεγάλο: αναμενόταν ${issue.origin ?? "τιμή"} να είναι ${adj}${issue.maximum.toString()}`;
|
|
94
|
+
}
|
|
95
|
+
case "too_small": {
|
|
96
|
+
const adj = issue.inclusive ? ">=" : ">";
|
|
97
|
+
const sizing = getSizing(issue.origin);
|
|
98
|
+
if (sizing) {
|
|
99
|
+
return `Πολύ μικρό: αναμενόταν ${issue.origin} να έχει ${adj}${issue.minimum.toString()} ${sizing.unit}`;
|
|
100
|
+
}
|
|
101
|
+
return `Πολύ μικρό: αναμενόταν ${issue.origin} να είναι ${adj}${issue.minimum.toString()}`;
|
|
102
|
+
}
|
|
103
|
+
case "invalid_format": {
|
|
104
|
+
const _issue = issue;
|
|
105
|
+
if (_issue.format === "starts_with") {
|
|
106
|
+
return `Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με "${_issue.prefix}"`;
|
|
107
|
+
}
|
|
108
|
+
if (_issue.format === "ends_with")
|
|
109
|
+
return `Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με "${_issue.suffix}"`;
|
|
110
|
+
if (_issue.format === "includes")
|
|
111
|
+
return `Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει "${_issue.includes}"`;
|
|
112
|
+
if (_issue.format === "regex")
|
|
113
|
+
return `Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${_issue.pattern}`;
|
|
114
|
+
return `Μη έγκυρο: ${FormatDictionary[_issue.format] ?? issue.format}`;
|
|
115
|
+
}
|
|
116
|
+
case "not_multiple_of":
|
|
117
|
+
return `Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${issue.divisor}`;
|
|
118
|
+
case "unrecognized_keys":
|
|
119
|
+
return `Άγνωστ${issue.keys.length > 1 ? "α" : "ο"} κλειδ${issue.keys.length > 1 ? "ιά" : "ί"}: ${util.joinValues(issue.keys, ", ")}`;
|
|
120
|
+
case "invalid_key":
|
|
121
|
+
return `Μη έγκυρο κλειδί στο ${issue.origin}`;
|
|
122
|
+
case "invalid_union":
|
|
123
|
+
return "Μη έγκυρη είσοδος";
|
|
124
|
+
case "invalid_element":
|
|
125
|
+
return `Μη έγκυρη τιμή στο ${issue.origin}`;
|
|
126
|
+
default:
|
|
127
|
+
return `Μη έγκυρη είσοδος`;
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
function default_1() {
|
|
132
|
+
return {
|
|
133
|
+
localeError: error(),
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
module.exports = exports.default;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import * as util from "../core/util.js";
|
|
2
|
+
const error = () => {
|
|
3
|
+
const Sizable = {
|
|
4
|
+
string: { unit: "χαρακτήρες", verb: "να έχει" },
|
|
5
|
+
file: { unit: "bytes", verb: "να έχει" },
|
|
6
|
+
array: { unit: "στοιχεία", verb: "να έχει" },
|
|
7
|
+
set: { unit: "στοιχεία", verb: "να έχει" },
|
|
8
|
+
map: { unit: "καταχωρήσεις", verb: "να έχει" },
|
|
9
|
+
};
|
|
10
|
+
function getSizing(origin) {
|
|
11
|
+
return Sizable[origin] ?? null;
|
|
12
|
+
}
|
|
13
|
+
const FormatDictionary = {
|
|
14
|
+
regex: "είσοδος",
|
|
15
|
+
email: "διεύθυνση email",
|
|
16
|
+
url: "URL",
|
|
17
|
+
emoji: "emoji",
|
|
18
|
+
uuid: "UUID",
|
|
19
|
+
uuidv4: "UUIDv4",
|
|
20
|
+
uuidv6: "UUIDv6",
|
|
21
|
+
nanoid: "nanoid",
|
|
22
|
+
guid: "GUID",
|
|
23
|
+
cuid: "cuid",
|
|
24
|
+
cuid2: "cuid2",
|
|
25
|
+
ulid: "ULID",
|
|
26
|
+
xid: "XID",
|
|
27
|
+
ksuid: "KSUID",
|
|
28
|
+
datetime: "ISO ημερομηνία και ώρα",
|
|
29
|
+
date: "ISO ημερομηνία",
|
|
30
|
+
time: "ISO ώρα",
|
|
31
|
+
duration: "ISO διάρκεια",
|
|
32
|
+
ipv4: "διεύθυνση IPv4",
|
|
33
|
+
ipv6: "διεύθυνση IPv6",
|
|
34
|
+
mac: "διεύθυνση MAC",
|
|
35
|
+
cidrv4: "εύρος IPv4",
|
|
36
|
+
cidrv6: "εύρος IPv6",
|
|
37
|
+
base64: "συμβολοσειρά κωδικοποιημένη σε base64",
|
|
38
|
+
base64url: "συμβολοσειρά κωδικοποιημένη σε base64url",
|
|
39
|
+
json_string: "συμβολοσειρά JSON",
|
|
40
|
+
e164: "αριθμός E.164",
|
|
41
|
+
jwt: "JWT",
|
|
42
|
+
template_literal: "είσοδος",
|
|
43
|
+
};
|
|
44
|
+
const TypeDictionary = {
|
|
45
|
+
nan: "NaN",
|
|
46
|
+
};
|
|
47
|
+
return (issue) => {
|
|
48
|
+
switch (issue.code) {
|
|
49
|
+
case "invalid_type": {
|
|
50
|
+
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
51
|
+
const receivedType = util.parsedType(issue.input);
|
|
52
|
+
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
53
|
+
if (typeof issue.expected === "string" && /^[A-Z]/.test(issue.expected)) {
|
|
54
|
+
return `Μη έγκυρη είσοδος: αναμενόταν instanceof ${issue.expected}, λήφθηκε ${received}`;
|
|
55
|
+
}
|
|
56
|
+
return `Μη έγκυρη είσοδος: αναμενόταν ${expected}, λήφθηκε ${received}`;
|
|
57
|
+
}
|
|
58
|
+
case "invalid_value":
|
|
59
|
+
if (issue.values.length === 1)
|
|
60
|
+
return `Μη έγκυρη είσοδος: αναμενόταν ${util.stringifyPrimitive(issue.values[0])}`;
|
|
61
|
+
return `Μη έγκυρη επιλογή: αναμενόταν ένα από ${util.joinValues(issue.values, "|")}`;
|
|
62
|
+
case "too_big": {
|
|
63
|
+
const adj = issue.inclusive ? "<=" : "<";
|
|
64
|
+
const sizing = getSizing(issue.origin);
|
|
65
|
+
if (sizing)
|
|
66
|
+
return `Πολύ μεγάλο: αναμενόταν ${issue.origin ?? "τιμή"} να έχει ${adj}${issue.maximum.toString()} ${sizing.unit ?? "στοιχεία"}`;
|
|
67
|
+
return `Πολύ μεγάλο: αναμενόταν ${issue.origin ?? "τιμή"} να είναι ${adj}${issue.maximum.toString()}`;
|
|
68
|
+
}
|
|
69
|
+
case "too_small": {
|
|
70
|
+
const adj = issue.inclusive ? ">=" : ">";
|
|
71
|
+
const sizing = getSizing(issue.origin);
|
|
72
|
+
if (sizing) {
|
|
73
|
+
return `Πολύ μικρό: αναμενόταν ${issue.origin} να έχει ${adj}${issue.minimum.toString()} ${sizing.unit}`;
|
|
74
|
+
}
|
|
75
|
+
return `Πολύ μικρό: αναμενόταν ${issue.origin} να είναι ${adj}${issue.minimum.toString()}`;
|
|
76
|
+
}
|
|
77
|
+
case "invalid_format": {
|
|
78
|
+
const _issue = issue;
|
|
79
|
+
if (_issue.format === "starts_with") {
|
|
80
|
+
return `Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με "${_issue.prefix}"`;
|
|
81
|
+
}
|
|
82
|
+
if (_issue.format === "ends_with")
|
|
83
|
+
return `Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με "${_issue.suffix}"`;
|
|
84
|
+
if (_issue.format === "includes")
|
|
85
|
+
return `Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει "${_issue.includes}"`;
|
|
86
|
+
if (_issue.format === "regex")
|
|
87
|
+
return `Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${_issue.pattern}`;
|
|
88
|
+
return `Μη έγκυρο: ${FormatDictionary[_issue.format] ?? issue.format}`;
|
|
89
|
+
}
|
|
90
|
+
case "not_multiple_of":
|
|
91
|
+
return `Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${issue.divisor}`;
|
|
92
|
+
case "unrecognized_keys":
|
|
93
|
+
return `Άγνωστ${issue.keys.length > 1 ? "α" : "ο"} κλειδ${issue.keys.length > 1 ? "ιά" : "ί"}: ${util.joinValues(issue.keys, ", ")}`;
|
|
94
|
+
case "invalid_key":
|
|
95
|
+
return `Μη έγκυρο κλειδί στο ${issue.origin}`;
|
|
96
|
+
case "invalid_union":
|
|
97
|
+
return "Μη έγκυρη είσοδος";
|
|
98
|
+
case "invalid_element":
|
|
99
|
+
return `Μη έγκυρη τιμή στο ${issue.origin}`;
|
|
100
|
+
default:
|
|
101
|
+
return `Μη έγκυρη είσοδος`;
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
export default function () {
|
|
106
|
+
return {
|
|
107
|
+
localeError: error(),
|
|
108
|
+
};
|
|
109
|
+
}
|
|
@@ -120,6 +120,10 @@ const error = () => {
|
|
|
120
120
|
case "invalid_key":
|
|
121
121
|
return `Invalid key in ${issue.origin}`;
|
|
122
122
|
case "invalid_union":
|
|
123
|
+
if (issue.options && Array.isArray(issue.options) && issue.options.length > 0) {
|
|
124
|
+
const opts = issue.options.map((o) => `'${o}'`).join(" | ");
|
|
125
|
+
return `Invalid discriminator value. Expected ${opts}`;
|
|
126
|
+
}
|
|
123
127
|
return "Invalid input";
|
|
124
128
|
case "invalid_element":
|
|
125
129
|
return `Invalid value in ${issue.origin}`;
|