@auto-ai/agent 2.1.104 → 2.1.105
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/lib/launcher-env.js +4 -0
- package/mcps-runtime/{claude-tuitui → claude-tuitui-channel}/.mcp.json +7 -5
- package/mcps-runtime/{claude-tuitui → claude-tuitui-channel}/server/boot.mjs +0 -11
- package/mcps-runtime/{claude-tuitui → claude-tuitui-channel}/server/index.mjs +4 -2
- package/package.json +6 -6
- package/tools-runtime/git-tool/index.cjs +1229 -485
- package/tools-runtime/schedule-tool/index.cjs +1229 -485
- package/mcps-runtime/claude-tuitui/package-lock.json +0 -1167
- package/skills-runtime/geelib/build.mjs +0 -15
- package/skills-runtime/geelib/cli/args.ts +0 -67
- package/skills-runtime/geelib/cli/auth.ts +0 -159
- package/skills-runtime/geelib/cli/client.ts +0 -56
- package/skills-runtime/geelib/cli/commands/comment.ts +0 -25
- package/skills-runtime/geelib/cli/commands/matter.ts +0 -167
- package/skills-runtime/geelib/cli/commands/poll.ts +0 -322
- package/skills-runtime/geelib/cli/commands/project.ts +0 -98
- package/skills-runtime/geelib/cli/commands/user.ts +0 -5
- package/skills-runtime/geelib/cli/index.ts +0 -171
- package/skills-runtime/geelib/node_modules/.package-lock.json +0 -67
- package/skills-runtime/geelib/node_modules/@esbuild/linux-x64/README.md +0 -3
- package/skills-runtime/geelib/node_modules/@esbuild/linux-x64/bin/esbuild +0 -0
- package/skills-runtime/geelib/node_modules/@esbuild/linux-x64/package.json +0 -20
- package/skills-runtime/geelib/node_modules/esbuild/LICENSE.md +0 -21
- package/skills-runtime/geelib/node_modules/esbuild/README.md +0 -3
- package/skills-runtime/geelib/node_modules/esbuild/bin/esbuild +0 -0
- package/skills-runtime/geelib/node_modules/esbuild/install.js +0 -289
- package/skills-runtime/geelib/node_modules/esbuild/lib/main.d.ts +0 -716
- package/skills-runtime/geelib/node_modules/esbuild/lib/main.js +0 -2242
- package/skills-runtime/geelib/node_modules/esbuild/package.json +0 -49
- package/skills-runtime/geelib/package-lock.json +0 -499
- package/skills-runtime/geelib/package.json +0 -12
- package/tools-runtime/code-tool/bun.lock +0 -15
- package/tools-runtime/code-tool/node_modules/zod/LICENSE +0 -21
- package/tools-runtime/code-tool/node_modules/zod/README.md +0 -191
- package/tools-runtime/code-tool/node_modules/zod/index.cjs +0 -33
- package/tools-runtime/code-tool/node_modules/zod/index.d.cts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/index.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/index.js +0 -4
- package/tools-runtime/code-tool/node_modules/zod/locales/index.cjs +0 -17
- package/tools-runtime/code-tool/node_modules/zod/locales/index.d.cts +0 -1
- package/tools-runtime/code-tool/node_modules/zod/locales/index.d.ts +0 -1
- package/tools-runtime/code-tool/node_modules/zod/locales/index.js +0 -1
- package/tools-runtime/code-tool/node_modules/zod/locales/package.json +0 -7
- package/tools-runtime/code-tool/node_modules/zod/mini/index.cjs +0 -32
- package/tools-runtime/code-tool/node_modules/zod/mini/index.d.cts +0 -3
- package/tools-runtime/code-tool/node_modules/zod/mini/index.d.ts +0 -3
- package/tools-runtime/code-tool/node_modules/zod/mini/index.js +0 -3
- package/tools-runtime/code-tool/node_modules/zod/mini/package.json +0 -7
- package/tools-runtime/code-tool/node_modules/zod/package.json +0 -135
- package/tools-runtime/code-tool/node_modules/zod/src/index.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/src/locales/index.ts +0 -1
- package/tools-runtime/code-tool/node_modules/zod/src/mini/index.ts +0 -3
- package/tools-runtime/code-tool/node_modules/zod/src/v3/ZodError.ts +0 -330
- package/tools-runtime/code-tool/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
- package/tools-runtime/code-tool/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
- package/tools-runtime/code-tool/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
- package/tools-runtime/code-tool/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
- package/tools-runtime/code-tool/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
- package/tools-runtime/code-tool/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
- package/tools-runtime/code-tool/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
- package/tools-runtime/code-tool/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
- package/tools-runtime/code-tool/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
- package/tools-runtime/code-tool/node_modules/zod/src/v3/errors.ts +0 -13
- package/tools-runtime/code-tool/node_modules/zod/src/v3/external.ts +0 -6
- package/tools-runtime/code-tool/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
- package/tools-runtime/code-tool/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
- package/tools-runtime/code-tool/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
- package/tools-runtime/code-tool/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
- package/tools-runtime/code-tool/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
- package/tools-runtime/code-tool/node_modules/zod/src/v3/helpers/util.ts +0 -224
- package/tools-runtime/code-tool/node_modules/zod/src/v3/index.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/src/v3/locales/en.ts +0 -124
- package/tools-runtime/code-tool/node_modules/zod/src/v3/standard-schema.ts +0 -113
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/array.test.ts +0 -71
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/base.test.ts +0 -29
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/date.test.ts +0 -32
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/default.test.ts +0 -112
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/description.test.ts +0 -33
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/error.test.ts +0 -551
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/function.test.ts +0 -261
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/map.test.ts +0 -110
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/number.test.ts +0 -176
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/object.test.ts +0 -434
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/record.test.ts +0 -171
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/set.test.ts +0 -142
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/string.test.ts +0 -916
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/void.test.ts +0 -15
- package/tools-runtime/code-tool/node_modules/zod/src/v3/types.ts +0 -5138
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/checks.ts +0 -32
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/coerce.ts +0 -27
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/compat.ts +0 -70
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/errors.ts +0 -82
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/external.ts +0 -52
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -659
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/index.ts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/iso.ts +0 -90
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/parse.ts +0 -82
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/schemas.ts +0 -2672
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -59
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -216
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -326
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -573
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -703
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -62
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -302
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -409
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +0 -197
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -694
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -807
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -895
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -360
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/global-config.test.ts +0 -39
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -68
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -939
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -60
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -198
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +0 -46
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -117
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +0 -29
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +0 -24
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -330
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -325
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -717
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -333
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -450
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -74
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +0 -26
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -351
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -717
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -631
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -633
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -181
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -134
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1224
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -106
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -771
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -3125
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -378
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -496
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -273
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/api.ts +0 -1823
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/checks.ts +0 -1293
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/config.ts +0 -15
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/core.ts +0 -153
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/doc.ts +0 -44
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/errors.ts +0 -455
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/index.ts +0 -16
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -126
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -666
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/json-schema.ts +0 -147
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/parse.ts +0 -195
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/regexes.ts +0 -190
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/registries.ts +0 -105
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/schemas.ts +0 -4730
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/el.test.ts +0 -215
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -181
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +0 -72
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +0 -163
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -105
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -125
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/to-json-schema.ts +0 -622
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/util.ts +0 -983
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/versions.ts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/zsf.ts +0 -323
- package/tools-runtime/code-tool/node_modules/zod/src/v4/index.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ar.ts +0 -115
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/az.ts +0 -111
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/be.ts +0 -176
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/bg.ts +0 -128
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ca.ts +0 -116
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/cs.ts +0 -118
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/da.ts +0 -123
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/de.ts +0 -116
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/el.ts +0 -121
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/en.ts +0 -123
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/eo.ts +0 -118
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/es.ts +0 -141
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/fa.ts +0 -126
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/fi.ts +0 -121
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/fr-CA.ts +0 -116
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/fr.ts +0 -132
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/he.ts +0 -246
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/hr.ts +0 -131
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/hu.ts +0 -117
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/hy.ts +0 -164
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/id.ts +0 -115
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/index.ts +0 -52
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/is.ts +0 -119
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/it.ts +0 -116
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ja.ts +0 -114
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ka.ts +0 -123
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/kh.ts +0 -7
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/km.ts +0 -119
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ko.ts +0 -121
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/lt.ts +0 -239
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/mk.ts +0 -118
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ms.ts +0 -115
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/nl.ts +0 -121
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/no.ts +0 -116
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ota.ts +0 -117
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/pl.ts +0 -118
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ps.ts +0 -126
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/pt.ts +0 -116
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ro.ts +0 -129
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ru.ts +0 -176
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/sl.ts +0 -118
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/sv.ts +0 -119
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ta.ts +0 -118
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/th.ts +0 -119
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/tr.ts +0 -111
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ua.ts +0 -7
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/uk.ts +0 -117
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ur.ts +0 -119
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/uz.ts +0 -117
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/vi.ts +0 -117
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/yo.ts +0 -124
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/zh-CN.ts +0 -116
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/zh-TW.ts +0 -115
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/checks.ts +0 -32
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/coerce.ts +0 -27
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/external.ts +0 -41
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/index.ts +0 -3
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/iso.ts +0 -66
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/parse.ts +0 -14
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/schemas.ts +0 -1947
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -24
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -548
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -993
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -227
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -325
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -352
- package/tools-runtime/code-tool/node_modules/zod/src/v4-mini/index.ts +0 -3
- package/tools-runtime/code-tool/node_modules/zod/v3/ZodError.cjs +0 -138
- package/tools-runtime/code-tool/node_modules/zod/v3/ZodError.d.cts +0 -164
- package/tools-runtime/code-tool/node_modules/zod/v3/ZodError.d.ts +0 -164
- package/tools-runtime/code-tool/node_modules/zod/v3/ZodError.js +0 -133
- package/tools-runtime/code-tool/node_modules/zod/v3/errors.cjs +0 -17
- package/tools-runtime/code-tool/node_modules/zod/v3/errors.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v3/errors.d.ts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v3/errors.js +0 -9
- package/tools-runtime/code-tool/node_modules/zod/v3/external.cjs +0 -22
- package/tools-runtime/code-tool/node_modules/zod/v3/external.d.cts +0 -6
- package/tools-runtime/code-tool/node_modules/zod/v3/external.d.ts +0 -6
- package/tools-runtime/code-tool/node_modules/zod/v3/external.js +0 -6
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/enumUtil.js +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/errorUtil.js +0 -6
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/parseUtil.js +0 -109
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/partialUtil.js +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/typeAliases.js +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/util.cjs +0 -137
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/util.d.cts +0 -85
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/util.d.ts +0 -85
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/util.js +0 -133
- package/tools-runtime/code-tool/node_modules/zod/v3/index.cjs +0 -33
- package/tools-runtime/code-tool/node_modules/zod/v3/index.d.cts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v3/index.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v3/index.js +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v3/locales/en.cjs +0 -112
- package/tools-runtime/code-tool/node_modules/zod/v3/locales/en.d.cts +0 -3
- package/tools-runtime/code-tool/node_modules/zod/v3/locales/en.d.ts +0 -3
- package/tools-runtime/code-tool/node_modules/zod/v3/locales/en.js +0 -109
- package/tools-runtime/code-tool/node_modules/zod/v3/package.json +0 -7
- package/tools-runtime/code-tool/node_modules/zod/v3/standard-schema.cjs +0 -2
- package/tools-runtime/code-tool/node_modules/zod/v3/standard-schema.d.cts +0 -102
- package/tools-runtime/code-tool/node_modules/zod/v3/standard-schema.d.ts +0 -102
- package/tools-runtime/code-tool/node_modules/zod/v3/standard-schema.js +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v3/types.cjs +0 -3777
- package/tools-runtime/code-tool/node_modules/zod/v3/types.d.cts +0 -1034
- package/tools-runtime/code-tool/node_modules/zod/v3/types.d.ts +0 -1034
- package/tools-runtime/code-tool/node_modules/zod/v3/types.js +0 -3695
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/checks.cjs +0 -33
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/checks.d.cts +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/checks.d.ts +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/checks.js +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/coerce.cjs +0 -47
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/coerce.d.cts +0 -17
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/coerce.d.ts +0 -17
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/coerce.js +0 -17
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/compat.cjs +0 -61
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/compat.d.cts +0 -50
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/compat.d.ts +0 -50
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/compat.js +0 -31
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/errors.cjs +0 -74
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/errors.d.cts +0 -30
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/errors.d.ts +0 -30
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/errors.js +0 -48
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/external.cjs +0 -73
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/external.d.cts +0 -16
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/external.d.ts +0 -16
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/external.js +0 -20
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/from-json-schema.cjs +0 -625
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/from-json-schema.js +0 -599
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/index.cjs +0 -33
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/index.d.cts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/index.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/index.js +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/iso.cjs +0 -60
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/iso.d.cts +0 -22
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/iso.d.ts +0 -22
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/iso.js +0 -30
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/package.json +0 -7
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/parse.cjs +0 -41
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/parse.d.cts +0 -31
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/parse.d.ts +0 -31
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/parse.js +0 -15
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/schemas.cjs +0 -1511
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/schemas.d.cts +0 -767
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/schemas.d.ts +0 -767
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/schemas.js +0 -1395
- package/tools-runtime/code-tool/node_modules/zod/v4/core/api.cjs +0 -1227
- package/tools-runtime/code-tool/node_modules/zod/v4/core/api.d.cts +0 -325
- package/tools-runtime/code-tool/node_modules/zod/v4/core/api.d.ts +0 -325
- package/tools-runtime/code-tool/node_modules/zod/v4/core/api.js +0 -1087
- package/tools-runtime/code-tool/node_modules/zod/v4/core/checks.cjs +0 -601
- package/tools-runtime/code-tool/node_modules/zod/v4/core/checks.d.cts +0 -278
- package/tools-runtime/code-tool/node_modules/zod/v4/core/checks.d.ts +0 -278
- package/tools-runtime/code-tool/node_modules/zod/v4/core/checks.js +0 -575
- package/tools-runtime/code-tool/node_modules/zod/v4/core/core.cjs +0 -85
- package/tools-runtime/code-tool/node_modules/zod/v4/core/core.d.cts +0 -70
- package/tools-runtime/code-tool/node_modules/zod/v4/core/core.d.ts +0 -70
- package/tools-runtime/code-tool/node_modules/zod/v4/core/core.js +0 -78
- package/tools-runtime/code-tool/node_modules/zod/v4/core/doc.cjs +0 -39
- package/tools-runtime/code-tool/node_modules/zod/v4/core/doc.d.cts +0 -14
- package/tools-runtime/code-tool/node_modules/zod/v4/core/doc.d.ts +0 -14
- package/tools-runtime/code-tool/node_modules/zod/v4/core/doc.js +0 -35
- package/tools-runtime/code-tool/node_modules/zod/v4/core/errors.cjs +0 -216
- package/tools-runtime/code-tool/node_modules/zod/v4/core/errors.d.cts +0 -221
- package/tools-runtime/code-tool/node_modules/zod/v4/core/errors.d.ts +0 -221
- package/tools-runtime/code-tool/node_modules/zod/v4/core/errors.js +0 -185
- package/tools-runtime/code-tool/node_modules/zod/v4/core/index.cjs +0 -47
- package/tools-runtime/code-tool/node_modules/zod/v4/core/index.d.cts +0 -16
- package/tools-runtime/code-tool/node_modules/zod/v4/core/index.d.ts +0 -16
- package/tools-runtime/code-tool/node_modules/zod/v4/core/index.js +0 -16
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema-generator.cjs +0 -99
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema-generator.js +0 -95
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema-processors.cjs +0 -644
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -49
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -49
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema-processors.js +0 -601
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema.cjs +0 -2
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema.d.cts +0 -88
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema.d.ts +0 -88
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema.js +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v4/core/package.json +0 -7
- package/tools-runtime/code-tool/node_modules/zod/v4/core/parse.cjs +0 -131
- package/tools-runtime/code-tool/node_modules/zod/v4/core/parse.d.cts +0 -49
- package/tools-runtime/code-tool/node_modules/zod/v4/core/parse.d.ts +0 -49
- package/tools-runtime/code-tool/node_modules/zod/v4/core/parse.js +0 -93
- package/tools-runtime/code-tool/node_modules/zod/v4/core/regexes.cjs +0 -172
- package/tools-runtime/code-tool/node_modules/zod/v4/core/regexes.d.cts +0 -85
- package/tools-runtime/code-tool/node_modules/zod/v4/core/regexes.d.ts +0 -85
- package/tools-runtime/code-tool/node_modules/zod/v4/core/regexes.js +0 -139
- package/tools-runtime/code-tool/node_modules/zod/v4/core/registries.cjs +0 -56
- package/tools-runtime/code-tool/node_modules/zod/v4/core/registries.d.cts +0 -35
- package/tools-runtime/code-tool/node_modules/zod/v4/core/registries.d.ts +0 -35
- package/tools-runtime/code-tool/node_modules/zod/v4/core/registries.js +0 -51
- package/tools-runtime/code-tool/node_modules/zod/v4/core/schemas.cjs +0 -2270
- package/tools-runtime/code-tool/node_modules/zod/v4/core/schemas.d.cts +0 -1184
- package/tools-runtime/code-tool/node_modules/zod/v4/core/schemas.d.ts +0 -1184
- package/tools-runtime/code-tool/node_modules/zod/v4/core/schemas.js +0 -2239
- package/tools-runtime/code-tool/node_modules/zod/v4/core/standard-schema.cjs +0 -2
- package/tools-runtime/code-tool/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
- package/tools-runtime/code-tool/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
- package/tools-runtime/code-tool/node_modules/zod/v4/core/standard-schema.js +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v4/core/to-json-schema.cjs +0 -457
- package/tools-runtime/code-tool/node_modules/zod/v4/core/to-json-schema.d.cts +0 -114
- package/tools-runtime/code-tool/node_modules/zod/v4/core/to-json-schema.d.ts +0 -114
- package/tools-runtime/code-tool/node_modules/zod/v4/core/to-json-schema.js +0 -448
- package/tools-runtime/code-tool/node_modules/zod/v4/core/util.cjs +0 -734
- package/tools-runtime/code-tool/node_modules/zod/v4/core/util.d.cts +0 -200
- package/tools-runtime/code-tool/node_modules/zod/v4/core/util.d.ts +0 -200
- package/tools-runtime/code-tool/node_modules/zod/v4/core/util.js +0 -674
- package/tools-runtime/code-tool/node_modules/zod/v4/core/versions.cjs +0 -8
- package/tools-runtime/code-tool/node_modules/zod/v4/core/versions.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/core/versions.d.ts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/core/versions.js +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/index.cjs +0 -22
- package/tools-runtime/code-tool/node_modules/zod/v4/index.d.cts +0 -3
- package/tools-runtime/code-tool/node_modules/zod/v4/index.d.ts +0 -3
- package/tools-runtime/code-tool/node_modules/zod/v4/index.js +0 -3
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ar.cjs +0 -133
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ar.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ar.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ar.js +0 -106
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/az.cjs +0 -132
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/az.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/az.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/az.js +0 -105
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/be.cjs +0 -183
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/be.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/be.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/be.js +0 -156
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/bg.cjs +0 -147
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/bg.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/bg.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/bg.js +0 -120
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ca.cjs +0 -134
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ca.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ca.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ca.js +0 -107
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/cs.cjs +0 -138
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/cs.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/cs.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/cs.js +0 -111
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/da.cjs +0 -142
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/da.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/da.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/da.js +0 -115
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/de.cjs +0 -135
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/de.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/de.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/de.js +0 -108
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/el.cjs +0 -136
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/el.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/el.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/el.js +0 -109
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/en.cjs +0 -140
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/en.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/en.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/en.js +0 -113
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/eo.cjs +0 -136
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/eo.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/eo.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/eo.js +0 -109
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/es.cjs +0 -159
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/es.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/es.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/es.js +0 -132
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fa.cjs +0 -141
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fa.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fa.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fa.js +0 -114
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fi.cjs +0 -139
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fi.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fi.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fi.js +0 -112
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fr-CA.cjs +0 -134
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fr-CA.js +0 -107
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fr.cjs +0 -152
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fr.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fr.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fr.js +0 -125
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/he.cjs +0 -241
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/he.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/he.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/he.js +0 -214
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hr.cjs +0 -149
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hr.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hr.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hr.js +0 -122
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hu.cjs +0 -135
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hu.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hu.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hu.js +0 -108
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hy.cjs +0 -174
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hy.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hy.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hy.js +0 -147
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/id.cjs +0 -133
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/id.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/id.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/id.js +0 -106
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/index.cjs +0 -111
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/index.d.cts +0 -52
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/index.d.ts +0 -52
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/index.js +0 -52
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/is.cjs +0 -136
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/is.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/is.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/is.js +0 -109
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/it.cjs +0 -135
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/it.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/it.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/it.js +0 -108
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ja.cjs +0 -134
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ja.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ja.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ja.js +0 -107
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ka.cjs +0 -139
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ka.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ka.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ka.js +0 -112
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/kh.cjs +0 -12
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/kh.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/kh.d.ts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/kh.js +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/km.cjs +0 -137
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/km.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/km.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/km.js +0 -110
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ko.cjs +0 -138
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ko.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ko.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ko.js +0 -111
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/lt.cjs +0 -230
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/lt.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/lt.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/lt.js +0 -203
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/mk.cjs +0 -136
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/mk.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/mk.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/mk.js +0 -109
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ms.cjs +0 -134
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ms.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ms.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ms.js +0 -107
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/nl.cjs +0 -137
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/nl.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/nl.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/nl.js +0 -110
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/no.cjs +0 -135
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/no.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/no.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/no.js +0 -108
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ota.cjs +0 -136
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ota.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ota.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ota.js +0 -109
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/package.json +0 -7
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/pl.cjs +0 -136
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/pl.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/pl.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/pl.js +0 -109
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ps.cjs +0 -141
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ps.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ps.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ps.js +0 -114
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/pt.cjs +0 -135
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/pt.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/pt.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/pt.js +0 -108
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ro.cjs +0 -146
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ro.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ro.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ro.js +0 -119
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ru.cjs +0 -183
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ru.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ru.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ru.js +0 -156
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/sl.cjs +0 -136
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/sl.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/sl.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/sl.js +0 -109
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/sv.cjs +0 -137
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/sv.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/sv.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/sv.js +0 -110
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ta.cjs +0 -137
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ta.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ta.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ta.js +0 -110
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/th.cjs +0 -137
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/th.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/th.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/th.js +0 -110
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/tr.cjs +0 -132
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/tr.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/tr.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/tr.js +0 -105
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ua.cjs +0 -12
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ua.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ua.d.ts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ua.js +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/uk.cjs +0 -135
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/uk.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/uk.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/uk.js +0 -108
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ur.cjs +0 -137
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ur.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ur.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ur.js +0 -110
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/uz.cjs +0 -137
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/uz.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/uz.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/uz.js +0 -110
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/vi.cjs +0 -135
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/vi.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/vi.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/vi.js +0 -108
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/yo.cjs +0 -134
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/yo.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/yo.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/yo.js +0 -107
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/zh-CN.cjs +0 -136
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/zh-CN.js +0 -109
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/zh-TW.cjs +0 -134
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/zh-TW.js +0 -107
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/checks.cjs +0 -34
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/checks.d.cts +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/checks.d.ts +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/checks.js +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/coerce.cjs +0 -52
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/coerce.d.cts +0 -7
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/coerce.d.ts +0 -7
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/coerce.js +0 -22
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/external.cjs +0 -63
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/external.d.cts +0 -13
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/external.d.ts +0 -13
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/external.js +0 -14
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/index.cjs +0 -32
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/index.d.cts +0 -3
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/index.d.ts +0 -3
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/index.js +0 -3
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/iso.cjs +0 -64
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/iso.d.cts +0 -22
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/iso.d.ts +0 -22
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/iso.js +0 -34
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/package.json +0 -7
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/parse.cjs +0 -16
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/parse.d.cts +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/parse.d.ts +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/parse.js +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/schemas.cjs +0 -1083
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/schemas.d.cts +0 -445
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/schemas.d.ts +0 -445
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/schemas.js +0 -961
- package/tools-runtime/code-tool/node_modules/zod/v4/package.json +0 -7
- package/tools-runtime/code-tool/node_modules/zod/v4-mini/index.cjs +0 -32
- package/tools-runtime/code-tool/node_modules/zod/v4-mini/index.d.cts +0 -3
- package/tools-runtime/code-tool/node_modules/zod/v4-mini/index.d.ts +0 -3
- package/tools-runtime/code-tool/node_modules/zod/v4-mini/index.js +0 -3
- package/tools-runtime/code-tool/node_modules/zod/v4-mini/package.json +0 -7
- package/tools-runtime/git-tool/bun.lock +0 -15
- /package/mcps-runtime/{claude-tuitui → claude-tuitui-channel}/cli.mjs +0 -0
- /package/mcps-runtime/{claude-tuitui → claude-tuitui-channel}/server/state.mjs +0 -0
- /package/mcps-runtime/{claude-tuitui → claude-tuitui-channel}/server/tuitui-api.mjs +0 -0
|
@@ -1,409 +0,0 @@
|
|
|
1
|
-
import { expect, expectTypeOf, test } from "vitest";
|
|
2
|
-
import { z } from "zod/v4";
|
|
3
|
-
|
|
4
|
-
test("basic defaults", () => {
|
|
5
|
-
expect(z.string().default("default").parse(undefined)).toBe("default");
|
|
6
|
-
});
|
|
7
|
-
|
|
8
|
-
test("default with optional", () => {
|
|
9
|
-
const schema = z.string().optional().default("default");
|
|
10
|
-
expect(schema.parse(undefined)).toBe("default");
|
|
11
|
-
expect(schema.unwrap().parse(undefined)).toBe(undefined);
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
test("default with transform", () => {
|
|
15
|
-
const stringWithDefault = z
|
|
16
|
-
.string()
|
|
17
|
-
.transform((val) => val.toUpperCase())
|
|
18
|
-
.default("default");
|
|
19
|
-
expect(stringWithDefault.parse(undefined)).toBe("default");
|
|
20
|
-
expect(stringWithDefault).toBeInstanceOf(z.ZodDefault);
|
|
21
|
-
expect(stringWithDefault.unwrap()).toBeInstanceOf(z.ZodPipe);
|
|
22
|
-
expect(stringWithDefault.unwrap().in).toBeInstanceOf(z.ZodString);
|
|
23
|
-
expect(stringWithDefault.unwrap().out).toBeInstanceOf(z.ZodTransform);
|
|
24
|
-
|
|
25
|
-
type inp = z.input<typeof stringWithDefault>;
|
|
26
|
-
expectTypeOf<inp>().toEqualTypeOf<string | undefined>();
|
|
27
|
-
type out = z.output<typeof stringWithDefault>;
|
|
28
|
-
expectTypeOf<out>().toEqualTypeOf<string>();
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
test("default on existing optional", () => {
|
|
32
|
-
const stringWithDefault = z.string().optional().default("asdf");
|
|
33
|
-
expect(stringWithDefault.parse(undefined)).toBe("asdf");
|
|
34
|
-
expect(stringWithDefault).toBeInstanceOf(z.ZodDefault);
|
|
35
|
-
expect(stringWithDefault.unwrap()).toBeInstanceOf(z.ZodOptional);
|
|
36
|
-
expect(stringWithDefault.unwrap().unwrap()).toBeInstanceOf(z.ZodString);
|
|
37
|
-
|
|
38
|
-
type inp = z.input<typeof stringWithDefault>;
|
|
39
|
-
expectTypeOf<inp>().toEqualTypeOf<string | undefined>();
|
|
40
|
-
type out = z.output<typeof stringWithDefault>;
|
|
41
|
-
expectTypeOf<out>().toEqualTypeOf<string>();
|
|
42
|
-
});
|
|
43
|
-
|
|
44
|
-
test("optional on default", () => {
|
|
45
|
-
const stringWithDefault = z.string().default("asdf").optional();
|
|
46
|
-
|
|
47
|
-
type inp = z.input<typeof stringWithDefault>;
|
|
48
|
-
expectTypeOf<inp>().toEqualTypeOf<string | undefined>();
|
|
49
|
-
type out = z.output<typeof stringWithDefault>;
|
|
50
|
-
expectTypeOf<out>().toEqualTypeOf<string | undefined>();
|
|
51
|
-
|
|
52
|
-
expect(stringWithDefault.parse(undefined)).toBe("asdf");
|
|
53
|
-
});
|
|
54
|
-
|
|
55
|
-
// test("complex chain example", () => {
|
|
56
|
-
// const complex = z
|
|
57
|
-
// .string()
|
|
58
|
-
// .default("asdf")
|
|
59
|
-
// .transform((val) => val.toUpperCase())
|
|
60
|
-
// .default("qwer")
|
|
61
|
-
// .unwrap()
|
|
62
|
-
// .optional()
|
|
63
|
-
// .default("asdfasdf");
|
|
64
|
-
|
|
65
|
-
// expect(complex.parse(undefined)).toBe("asdfasdf");
|
|
66
|
-
// });
|
|
67
|
-
|
|
68
|
-
test("removeDefault", () => {
|
|
69
|
-
const stringWithRemovedDefault = z.string().default("asdf").removeDefault();
|
|
70
|
-
|
|
71
|
-
type out = z.output<typeof stringWithRemovedDefault>;
|
|
72
|
-
expectTypeOf<out>().toEqualTypeOf<string>();
|
|
73
|
-
});
|
|
74
|
-
|
|
75
|
-
test("apply default at output", () => {
|
|
76
|
-
const schema = z
|
|
77
|
-
.string()
|
|
78
|
-
.transform((_) => (Math.random() > 0 ? undefined : _))
|
|
79
|
-
.default("asdf");
|
|
80
|
-
expect(schema.parse("")).toEqual("asdf");
|
|
81
|
-
});
|
|
82
|
-
|
|
83
|
-
test("nested", () => {
|
|
84
|
-
const inner = z.string().default("asdf");
|
|
85
|
-
const outer = z.object({ inner }).default({
|
|
86
|
-
inner: "qwer",
|
|
87
|
-
});
|
|
88
|
-
type input = z.input<typeof outer>;
|
|
89
|
-
expectTypeOf<input>().toEqualTypeOf<{ inner?: string | undefined } | undefined>();
|
|
90
|
-
type out = z.output<typeof outer>;
|
|
91
|
-
expectTypeOf<out>().toEqualTypeOf<{ inner: string }>();
|
|
92
|
-
expect(outer.parse(undefined)).toEqual({ inner: "qwer" });
|
|
93
|
-
expect(outer.parse({})).toEqual({ inner: "asdf" });
|
|
94
|
-
expect(outer.parse({ inner: undefined })).toEqual({ inner: "asdf" });
|
|
95
|
-
});
|
|
96
|
-
|
|
97
|
-
test("chained defaults", () => {
|
|
98
|
-
const stringWithDefault = z.string().default("inner").default("outer");
|
|
99
|
-
const result = stringWithDefault.parse(undefined);
|
|
100
|
-
expect(result).toEqual("outer");
|
|
101
|
-
});
|
|
102
|
-
|
|
103
|
-
test("object optionality", () => {
|
|
104
|
-
const schema = z.object({
|
|
105
|
-
hi: z.string().default("hi"),
|
|
106
|
-
});
|
|
107
|
-
type schemaInput = z.input<typeof schema>;
|
|
108
|
-
type schemaOutput = z.output<typeof schema>;
|
|
109
|
-
expectTypeOf<schemaInput>().toEqualTypeOf<{ hi?: string | undefined }>();
|
|
110
|
-
expectTypeOf<schemaOutput>().toEqualTypeOf<{ hi: string }>();
|
|
111
|
-
expect(schema.parse({})).toEqual({
|
|
112
|
-
hi: "hi",
|
|
113
|
-
});
|
|
114
|
-
});
|
|
115
|
-
|
|
116
|
-
test("nested prefault/default", () => {
|
|
117
|
-
const a = z
|
|
118
|
-
.string()
|
|
119
|
-
.default("a")
|
|
120
|
-
.refine((val) => val.startsWith("a"));
|
|
121
|
-
const b = z
|
|
122
|
-
.string()
|
|
123
|
-
.refine((val) => val.startsWith("b"))
|
|
124
|
-
.default("b");
|
|
125
|
-
const c = z
|
|
126
|
-
.string()
|
|
127
|
-
.prefault("c")
|
|
128
|
-
.refine((val) => val.startsWith("c"));
|
|
129
|
-
const d = z
|
|
130
|
-
.string()
|
|
131
|
-
.refine((val) => val.startsWith("d"))
|
|
132
|
-
.prefault("d");
|
|
133
|
-
|
|
134
|
-
const obj = z.object({
|
|
135
|
-
a,
|
|
136
|
-
b,
|
|
137
|
-
c,
|
|
138
|
-
d,
|
|
139
|
-
});
|
|
140
|
-
|
|
141
|
-
expect(obj.safeParse({ a: "a1", b: "b1", c: "c1", d: "d1" })).toMatchInlineSnapshot(`
|
|
142
|
-
{
|
|
143
|
-
"data": {
|
|
144
|
-
"a": "a1",
|
|
145
|
-
"b": "b1",
|
|
146
|
-
"c": "c1",
|
|
147
|
-
"d": "d1",
|
|
148
|
-
},
|
|
149
|
-
"success": true,
|
|
150
|
-
}
|
|
151
|
-
`);
|
|
152
|
-
|
|
153
|
-
expect(obj.safeParse({ a: "f", b: "f", c: "f", d: "f" })).toMatchInlineSnapshot(`
|
|
154
|
-
{
|
|
155
|
-
"error": [ZodError: [
|
|
156
|
-
{
|
|
157
|
-
"code": "custom",
|
|
158
|
-
"path": [
|
|
159
|
-
"a"
|
|
160
|
-
],
|
|
161
|
-
"message": "Invalid input"
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
"code": "custom",
|
|
165
|
-
"path": [
|
|
166
|
-
"b"
|
|
167
|
-
],
|
|
168
|
-
"message": "Invalid input"
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
"code": "custom",
|
|
172
|
-
"path": [
|
|
173
|
-
"c"
|
|
174
|
-
],
|
|
175
|
-
"message": "Invalid input"
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
"code": "custom",
|
|
179
|
-
"path": [
|
|
180
|
-
"d"
|
|
181
|
-
],
|
|
182
|
-
"message": "Invalid input"
|
|
183
|
-
}
|
|
184
|
-
]],
|
|
185
|
-
"success": false,
|
|
186
|
-
}
|
|
187
|
-
`);
|
|
188
|
-
|
|
189
|
-
expect(obj.safeParse({})).toMatchInlineSnapshot(`
|
|
190
|
-
{
|
|
191
|
-
"data": {
|
|
192
|
-
"a": "a",
|
|
193
|
-
"b": "b",
|
|
194
|
-
"c": "c",
|
|
195
|
-
"d": "d",
|
|
196
|
-
},
|
|
197
|
-
"success": true,
|
|
198
|
-
}
|
|
199
|
-
`);
|
|
200
|
-
|
|
201
|
-
expect(obj.safeParse({ a: undefined, b: undefined, c: undefined, d: undefined })).toMatchInlineSnapshot(`
|
|
202
|
-
{
|
|
203
|
-
"data": {
|
|
204
|
-
"a": "a",
|
|
205
|
-
"b": "b",
|
|
206
|
-
"c": "c",
|
|
207
|
-
"d": "d",
|
|
208
|
-
},
|
|
209
|
-
"success": true,
|
|
210
|
-
}
|
|
211
|
-
`);
|
|
212
|
-
|
|
213
|
-
const obj2 = z.object({
|
|
214
|
-
a: a.optional(),
|
|
215
|
-
b: b.optional(),
|
|
216
|
-
c: c.optional(),
|
|
217
|
-
d: d.optional(),
|
|
218
|
-
});
|
|
219
|
-
expect(obj2.safeParse({ a: undefined, b: undefined, c: undefined, d: undefined })).toMatchInlineSnapshot(`
|
|
220
|
-
{
|
|
221
|
-
"data": {
|
|
222
|
-
"a": "a",
|
|
223
|
-
"b": "b",
|
|
224
|
-
"c": "c",
|
|
225
|
-
"d": "d",
|
|
226
|
-
},
|
|
227
|
-
"success": true,
|
|
228
|
-
}
|
|
229
|
-
`);
|
|
230
|
-
|
|
231
|
-
expect(a.parse(undefined)).toBe("a");
|
|
232
|
-
expect(b.parse(undefined)).toBe("b");
|
|
233
|
-
expect(c.parse(undefined)).toBe("c");
|
|
234
|
-
expect(d.parse(undefined)).toBe("d");
|
|
235
|
-
});
|
|
236
|
-
|
|
237
|
-
test("failing default", () => {
|
|
238
|
-
const a = z
|
|
239
|
-
.string()
|
|
240
|
-
.default("z")
|
|
241
|
-
.refine((val) => val.startsWith("a"));
|
|
242
|
-
const b = z
|
|
243
|
-
.string()
|
|
244
|
-
.refine((val) => val.startsWith("b"))
|
|
245
|
-
.default("z");
|
|
246
|
-
const c = z
|
|
247
|
-
.string()
|
|
248
|
-
.prefault("z")
|
|
249
|
-
.refine((val) => val.startsWith("c"));
|
|
250
|
-
const d = z
|
|
251
|
-
.string()
|
|
252
|
-
.refine((val) => val.startsWith("d"))
|
|
253
|
-
.prefault("z");
|
|
254
|
-
|
|
255
|
-
const obj = z.object({
|
|
256
|
-
a,
|
|
257
|
-
b,
|
|
258
|
-
c,
|
|
259
|
-
d,
|
|
260
|
-
});
|
|
261
|
-
|
|
262
|
-
expect(
|
|
263
|
-
obj.safeParse({
|
|
264
|
-
a: undefined,
|
|
265
|
-
b: undefined,
|
|
266
|
-
c: undefined,
|
|
267
|
-
d: undefined,
|
|
268
|
-
}).error!.issues
|
|
269
|
-
).toMatchInlineSnapshot(`
|
|
270
|
-
[
|
|
271
|
-
{
|
|
272
|
-
"code": "custom",
|
|
273
|
-
"message": "Invalid input",
|
|
274
|
-
"path": [
|
|
275
|
-
"a",
|
|
276
|
-
],
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
"code": "custom",
|
|
280
|
-
"message": "Invalid input",
|
|
281
|
-
"path": [
|
|
282
|
-
"c",
|
|
283
|
-
],
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
"code": "custom",
|
|
287
|
-
"message": "Invalid input",
|
|
288
|
-
"path": [
|
|
289
|
-
"d",
|
|
290
|
-
],
|
|
291
|
-
},
|
|
292
|
-
]
|
|
293
|
-
`);
|
|
294
|
-
});
|
|
295
|
-
|
|
296
|
-
test("partial should not clobber defaults", () => {
|
|
297
|
-
const objWithDefaults = z.object({
|
|
298
|
-
a: z.string().default("defaultA"),
|
|
299
|
-
b: z.string().default("defaultB"),
|
|
300
|
-
c: z.string().default("defaultC"),
|
|
301
|
-
});
|
|
302
|
-
|
|
303
|
-
const objPartialWithOneRequired = objWithDefaults.partial(); //.required({ a: true });
|
|
304
|
-
|
|
305
|
-
const test = objPartialWithOneRequired.parse({});
|
|
306
|
-
expect(test).toMatchInlineSnapshot(`
|
|
307
|
-
{
|
|
308
|
-
"a": "defaultA",
|
|
309
|
-
"b": "defaultB",
|
|
310
|
-
"c": "defaultC",
|
|
311
|
-
}
|
|
312
|
-
`);
|
|
313
|
-
});
|
|
314
|
-
|
|
315
|
-
test("defaulted object schema returns shallow clone", () => {
|
|
316
|
-
const schema = z
|
|
317
|
-
.object({
|
|
318
|
-
a: z.string(),
|
|
319
|
-
})
|
|
320
|
-
.default({ a: "x" });
|
|
321
|
-
const result1 = schema.parse(undefined);
|
|
322
|
-
const result2 = schema.parse(undefined);
|
|
323
|
-
expect(result1).not.toBe(result2);
|
|
324
|
-
expect(result1).toEqual(result2);
|
|
325
|
-
});
|
|
326
|
-
|
|
327
|
-
test("defaulted array schema returns shallow clone", () => {
|
|
328
|
-
const schema = z.array(z.string()).default(["x"]);
|
|
329
|
-
const result1 = schema.parse(undefined);
|
|
330
|
-
const result2 = schema.parse(undefined);
|
|
331
|
-
expect(result1).not.toBe(result2);
|
|
332
|
-
expect(result1).toEqual(result2);
|
|
333
|
-
});
|
|
334
|
-
|
|
335
|
-
test("defaulted Map schema returns shallow clone", () => {
|
|
336
|
-
const schema = z.map(z.string(), z.number()).default(new Map([["a", 1]]));
|
|
337
|
-
const result1 = schema.parse(undefined);
|
|
338
|
-
const result2 = schema.parse(undefined);
|
|
339
|
-
expect(result1).not.toBe(result2);
|
|
340
|
-
expect(result1).toEqual(result2);
|
|
341
|
-
});
|
|
342
|
-
|
|
343
|
-
test("defaulted Set schema returns shallow clone", () => {
|
|
344
|
-
const schema = z.set(z.string()).default(new Set(["x"]));
|
|
345
|
-
const result1 = schema.parse(undefined);
|
|
346
|
-
const result2 = schema.parse(undefined);
|
|
347
|
-
expect(result1).not.toBe(result2);
|
|
348
|
-
expect(result1).toEqual(result2);
|
|
349
|
-
});
|
|
350
|
-
|
|
351
|
-
test("mutations on defaulted Map do not affect subsequent parses", () => {
|
|
352
|
-
const schema = z.map(z.string(), z.number()).default(new Map());
|
|
353
|
-
const result1 = schema.parse(undefined);
|
|
354
|
-
const result2 = schema.parse(undefined);
|
|
355
|
-
result1.set("key1", 1);
|
|
356
|
-
result2.set("key2", 2);
|
|
357
|
-
expect(result1.size).toBe(1);
|
|
358
|
-
expect(result1.get("key1")).toBe(1);
|
|
359
|
-
expect(result1.has("key2")).toBe(false);
|
|
360
|
-
expect(result2.size).toBe(1);
|
|
361
|
-
expect(result2.get("key2")).toBe(2);
|
|
362
|
-
expect(result2.has("key1")).toBe(false);
|
|
363
|
-
});
|
|
364
|
-
|
|
365
|
-
test("mutations on defaulted Set do not affect subsequent parses", () => {
|
|
366
|
-
const schema = z.set(z.string()).default(new Set());
|
|
367
|
-
const result1 = schema.parse(undefined);
|
|
368
|
-
const result2 = schema.parse(undefined);
|
|
369
|
-
result1.add("item1");
|
|
370
|
-
result2.add("item2");
|
|
371
|
-
expect(result1.size).toBe(1);
|
|
372
|
-
expect(result1.has("item1")).toBe(true);
|
|
373
|
-
expect(result1.has("item2")).toBe(false);
|
|
374
|
-
expect(result2.size).toBe(1);
|
|
375
|
-
expect(result2.has("item2")).toBe(true);
|
|
376
|
-
expect(result2.has("item1")).toBe(false);
|
|
377
|
-
});
|
|
378
|
-
|
|
379
|
-
test("direction-aware defaults", () => {
|
|
380
|
-
const schema = z.string().default("hello");
|
|
381
|
-
|
|
382
|
-
// Forward direction (regular parse): defaults should be applied
|
|
383
|
-
expect(schema.parse(undefined)).toBe("hello");
|
|
384
|
-
expect(schema.parse("hello")).toBe("hello");
|
|
385
|
-
|
|
386
|
-
// Reverse direction (encode): defaults should NOT be applied, undefined should fail validation
|
|
387
|
-
expect(() => z.encode(schema, undefined as any)).toThrow();
|
|
388
|
-
|
|
389
|
-
// But valid values should still work in reverse
|
|
390
|
-
expect(z.safeEncode(schema, "world")).toMatchInlineSnapshot(`
|
|
391
|
-
{
|
|
392
|
-
"data": "world",
|
|
393
|
-
"success": true,
|
|
394
|
-
}
|
|
395
|
-
`);
|
|
396
|
-
expect(z.safeEncode(schema, undefined as any)).toMatchInlineSnapshot(`
|
|
397
|
-
{
|
|
398
|
-
"error": [ZodError: [
|
|
399
|
-
{
|
|
400
|
-
"expected": "string",
|
|
401
|
-
"code": "invalid_type",
|
|
402
|
-
"path": [],
|
|
403
|
-
"message": "Invalid input: expected string, received undefined"
|
|
404
|
-
}
|
|
405
|
-
]],
|
|
406
|
-
"success": false,
|
|
407
|
-
}
|
|
408
|
-
`);
|
|
409
|
-
});
|
package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { describe, expect, it } from "vitest";
|
|
2
|
-
import * as z from "../index.js";
|
|
3
|
-
|
|
4
|
-
describe("z.describe() check", () => {
|
|
5
|
-
it("registers description in globalRegistry", () => {
|
|
6
|
-
const schema = z.string().check(z.describe("A string"));
|
|
7
|
-
expect(z.globalRegistry.get(schema)?.description).toBe("A string");
|
|
8
|
-
});
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
describe("z.meta() check", () => {
|
|
12
|
-
it("registers metadata in globalRegistry", () => {
|
|
13
|
-
const schema = z.number().check(z.meta({ title: "Age", description: "User's age" }));
|
|
14
|
-
const meta = z.globalRegistry.get(schema);
|
|
15
|
-
expect(meta?.title).toBe("Age");
|
|
16
|
-
expect(meta?.description).toBe("User's age");
|
|
17
|
-
});
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
describe("combined usage", () => {
|
|
21
|
-
it("works with multiple checks", () => {
|
|
22
|
-
const schema = z.string().check(z.describe("Email address"), z.meta({ title: "Email" }));
|
|
23
|
-
const meta = z.globalRegistry.get(schema);
|
|
24
|
-
expect(meta?.description).toBe("Email address");
|
|
25
|
-
expect(meta?.title).toBe("Email");
|
|
26
|
-
});
|
|
27
|
-
});
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { expect, test } from "vitest";
|
|
2
|
-
|
|
3
|
-
import * as z from "zod/v4";
|
|
4
|
-
|
|
5
|
-
const description = "a description";
|
|
6
|
-
|
|
7
|
-
// test("passing `description` to schema should add a description", () => {
|
|
8
|
-
// expect(z.string({ description }).description).toEqual(description);
|
|
9
|
-
// expect(z.number({ description }).description).toEqual(description);
|
|
10
|
-
// expect(z.boolean({ description }).description).toEqual(description);
|
|
11
|
-
// });
|
|
12
|
-
|
|
13
|
-
test(".describe", () => {
|
|
14
|
-
expect(z.string().describe(description).description).toEqual(description);
|
|
15
|
-
expect(z.number().describe(description).description).toEqual(description);
|
|
16
|
-
expect(z.boolean().describe(description).description).toEqual(description);
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
test("adding description with z.globalRegistry", () => {
|
|
20
|
-
const schema = z.string();
|
|
21
|
-
z.core.globalRegistry.add(schema, { description });
|
|
22
|
-
z.core.globalRegistry.get(schema);
|
|
23
|
-
expect(schema.description).toEqual(description);
|
|
24
|
-
});
|
|
25
|
-
|
|
26
|
-
// in Zod 4 descriptions are not inherited
|
|
27
|
-
// test("description should carry over to chained schemas", () => {
|
|
28
|
-
// const schema = z.string().describe(description);
|
|
29
|
-
// expect(schema.description).toEqual(description);
|
|
30
|
-
// expect(schema.optional().description).toEqual(description);
|
|
31
|
-
// expect(schema.optional().nullable().default("default").description).toEqual(description);
|
|
32
|
-
// });
|
package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts
DELETED
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
import { expect, test } from "vitest";
|
|
2
|
-
import * as z from "zod/v4";
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Schema methods are exposed in a way that works when detached from the
|
|
6
|
-
* schema instance — `const opt = schema.optional; opt()` must produce a
|
|
7
|
-
* working `ZodOptional`, not a corrupt one. This pattern is used in real
|
|
8
|
-
* code (e.g. `arr.map(schema.parse)`, `arr.map(schema.optional)`,
|
|
9
|
-
* destructuring inside utility functions).
|
|
10
|
-
*
|
|
11
|
-
* This test caught a regression in colinhacks/zod#5870 where a memory
|
|
12
|
-
* optimization moved methods to the prototype and made `this`-binding
|
|
13
|
-
* required, silently breaking any detached usage.
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
const probeArgs: Record<string, unknown[]> = {
|
|
17
|
-
// ZodType
|
|
18
|
-
optional: [],
|
|
19
|
-
exactOptional: [],
|
|
20
|
-
nullable: [],
|
|
21
|
-
nullish: [],
|
|
22
|
-
array: [],
|
|
23
|
-
describe: ["x"],
|
|
24
|
-
brand: [],
|
|
25
|
-
readonly: [],
|
|
26
|
-
default: ["fallback"],
|
|
27
|
-
catch: ["fallback"],
|
|
28
|
-
// _ZodString
|
|
29
|
-
min: [1],
|
|
30
|
-
max: [10],
|
|
31
|
-
length: [5],
|
|
32
|
-
nonempty: [],
|
|
33
|
-
trim: [],
|
|
34
|
-
toLowerCase: [],
|
|
35
|
-
toUpperCase: [],
|
|
36
|
-
// ZodString format methods
|
|
37
|
-
email: [],
|
|
38
|
-
url: [],
|
|
39
|
-
uuid: [],
|
|
40
|
-
cuid: [],
|
|
41
|
-
cuid2: [],
|
|
42
|
-
ulid: [],
|
|
43
|
-
base64: [],
|
|
44
|
-
base64url: [],
|
|
45
|
-
ipv4: [],
|
|
46
|
-
ipv6: [],
|
|
47
|
-
// ZodNumber
|
|
48
|
-
int: [],
|
|
49
|
-
positive: [],
|
|
50
|
-
negative: [],
|
|
51
|
-
finite: [],
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
test("detached parse-family methods work without `this` binding", () => {
|
|
55
|
-
const schema = z.string();
|
|
56
|
-
const { parse, safeParse } = schema;
|
|
57
|
-
|
|
58
|
-
expect(parse("hello")).toBe("hello");
|
|
59
|
-
expect(safeParse("hello").success).toBe(true);
|
|
60
|
-
});
|
|
61
|
-
|
|
62
|
-
test("detached schema.optional() returns a working ZodOptional", () => {
|
|
63
|
-
const schema = z.string();
|
|
64
|
-
const opt = schema.optional;
|
|
65
|
-
|
|
66
|
-
const detached = opt();
|
|
67
|
-
|
|
68
|
-
expect(detached).toBeInstanceOf(z.ZodOptional);
|
|
69
|
-
expect(detached.safeParse("hello").success).toBe(true);
|
|
70
|
-
expect(detached.safeParse(undefined).success).toBe(true);
|
|
71
|
-
expect(detached.safeParse(123).success).toBe(false);
|
|
72
|
-
});
|
|
73
|
-
|
|
74
|
-
test("detached schema.nullable() returns a working ZodNullable", () => {
|
|
75
|
-
const schema = z.string();
|
|
76
|
-
const nul = schema.nullable;
|
|
77
|
-
|
|
78
|
-
const detached = nul();
|
|
79
|
-
|
|
80
|
-
expect(detached).toBeInstanceOf(z.ZodNullable);
|
|
81
|
-
expect(detached.safeParse("hello").success).toBe(true);
|
|
82
|
-
expect(detached.safeParse(null).success).toBe(true);
|
|
83
|
-
expect(detached.safeParse(123).success).toBe(false);
|
|
84
|
-
});
|
|
85
|
-
|
|
86
|
-
test("detached schema.array() returns a working ZodArray", () => {
|
|
87
|
-
const schema = z.string();
|
|
88
|
-
const arr = schema.array;
|
|
89
|
-
|
|
90
|
-
const detached = arr();
|
|
91
|
-
|
|
92
|
-
expect(detached).toBeInstanceOf(z.ZodArray);
|
|
93
|
-
expect(detached.safeParse(["a", "b"]).success).toBe(true);
|
|
94
|
-
expect(detached.safeParse([1, 2]).success).toBe(false);
|
|
95
|
-
});
|
|
96
|
-
|
|
97
|
-
test("detached schema.describe() returns a described schema", () => {
|
|
98
|
-
const schema = z.string();
|
|
99
|
-
const describe = schema.describe;
|
|
100
|
-
|
|
101
|
-
const described = describe("hello world");
|
|
102
|
-
|
|
103
|
-
expect(described.description).toBe("hello world");
|
|
104
|
-
});
|
|
105
|
-
|
|
106
|
-
test("detached refinement still validates", () => {
|
|
107
|
-
const schema = z.string();
|
|
108
|
-
const refine = schema.refine;
|
|
109
|
-
|
|
110
|
-
const refined = refine((s: string) => s.startsWith("x"), "must start with x");
|
|
111
|
-
|
|
112
|
-
expect(refined.safeParse("xhello").success).toBe(true);
|
|
113
|
-
expect(refined.safeParse("hello").success).toBe(false);
|
|
114
|
-
});
|
|
115
|
-
|
|
116
|
-
test("detached chained calls work — schema.optional then parse", () => {
|
|
117
|
-
const schema = z.string();
|
|
118
|
-
const opt = schema.optional;
|
|
119
|
-
const optionalSchema = opt();
|
|
120
|
-
const { parse } = optionalSchema;
|
|
121
|
-
|
|
122
|
-
expect(parse("hi")).toBe("hi");
|
|
123
|
-
expect(parse(undefined)).toBe(undefined);
|
|
124
|
-
});
|
|
125
|
-
|
|
126
|
-
test("detached parse can be called as a free function", () => {
|
|
127
|
-
const schema = z.string();
|
|
128
|
-
const parse = schema.parse;
|
|
129
|
-
const inputs = ["a", "b", "c"];
|
|
130
|
-
|
|
131
|
-
const results = inputs.map((v) => parse(v));
|
|
132
|
-
|
|
133
|
-
expect(results).toEqual(["a", "b", "c"]);
|
|
134
|
-
});
|
|
135
|
-
|
|
136
|
-
test("detached methods on z.number() work", () => {
|
|
137
|
-
const schema = z.number();
|
|
138
|
-
|
|
139
|
-
const min = schema.min;
|
|
140
|
-
const max = schema.max;
|
|
141
|
-
const positive = schema.positive;
|
|
142
|
-
|
|
143
|
-
expect(min(5).safeParse(3).success).toBe(false);
|
|
144
|
-
expect(max(5).safeParse(7).success).toBe(false);
|
|
145
|
-
expect(positive().safeParse(-1).success).toBe(false);
|
|
146
|
-
});
|
|
147
|
-
|
|
148
|
-
test("detached object methods work", () => {
|
|
149
|
-
const schema = z.object({ a: z.string(), b: z.number() });
|
|
150
|
-
|
|
151
|
-
const pick = schema.pick;
|
|
152
|
-
const omit = schema.omit;
|
|
153
|
-
const partial = schema.partial;
|
|
154
|
-
const extend = schema.extend;
|
|
155
|
-
|
|
156
|
-
expect(Object.keys(pick({ a: true })._zod.def.shape)).toEqual(["a"]);
|
|
157
|
-
expect(Object.keys(omit({ a: true })._zod.def.shape)).toEqual(["b"]);
|
|
158
|
-
expect(partial().safeParse({}).success).toBe(true);
|
|
159
|
-
const extended = extend({ c: z.boolean() });
|
|
160
|
-
expect(Object.keys(extended._zod.def.shape).sort()).toEqual(["a", "b", "c"]);
|
|
161
|
-
});
|
|
162
|
-
|
|
163
|
-
// Sweep across many builder methods at once. If any of them break with the
|
|
164
|
-
// `const m = schema.foo; m(...)` pattern, this test will report which.
|
|
165
|
-
test("broad sweep: detaching builder methods does not throw or produce a corrupt schema", () => {
|
|
166
|
-
const stringSchema = z.string();
|
|
167
|
-
const numberSchema = z.number();
|
|
168
|
-
|
|
169
|
-
const broken: Array<{ method: string; reason: string }> = [];
|
|
170
|
-
|
|
171
|
-
for (const [methodName, args] of Object.entries(probeArgs)) {
|
|
172
|
-
const target: any = methodName in stringSchema ? stringSchema : methodName in numberSchema ? numberSchema : null;
|
|
173
|
-
if (!target) continue;
|
|
174
|
-
|
|
175
|
-
const detached = target[methodName] as Function | undefined;
|
|
176
|
-
if (typeof detached !== "function") continue;
|
|
177
|
-
|
|
178
|
-
try {
|
|
179
|
-
const result = detached(...args);
|
|
180
|
-
// If the detached call returned a schema, sanity-check it parses
|
|
181
|
-
// its base type. (e.g. `optional()` should accept its inner type.)
|
|
182
|
-
if (result && typeof result === "object" && "_zod" in result && typeof (result as any).safeParse === "function") {
|
|
183
|
-
const probeValue = target === stringSchema ? "x" : 1;
|
|
184
|
-
const r = (result as any).safeParse(probeValue);
|
|
185
|
-
// success or a clean failure are both fine — we only fail on throw or
|
|
186
|
-
// on a schema with corrupt internal state (innerType undefined etc).
|
|
187
|
-
if (r === undefined || (typeof r === "object" && !("success" in r))) {
|
|
188
|
-
broken.push({ method: methodName, reason: "safeParse returned malformed result" });
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
} catch (err: any) {
|
|
192
|
-
broken.push({ method: methodName, reason: err?.message ?? String(err) });
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
expect(broken).toEqual([]);
|
|
197
|
-
});
|