@auto-ai/agent 2.1.103 → 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/dist/ws-test.html +192 -10
- package/lib/launcher-env.js +11 -51
- package/mcps-runtime/{claude-tuitui → claude-tuitui-channel}/.mcp.json +7 -5
- 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/boot.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,496 +0,0 @@
|
|
|
1
|
-
import { expect, expectTypeOf, test } from "vitest";
|
|
2
|
-
import * as z from "zod/v4";
|
|
3
|
-
|
|
4
|
-
test("successful validation", () => {
|
|
5
|
-
const testTuple = z.tuple([z.string(), z.number()]);
|
|
6
|
-
expectTypeOf<typeof testTuple._output>().toEqualTypeOf<[string, number]>();
|
|
7
|
-
|
|
8
|
-
const val = testTuple.parse(["asdf", 1234]);
|
|
9
|
-
expect(val).toEqual(val);
|
|
10
|
-
|
|
11
|
-
const r1 = testTuple.safeParse(["asdf", "asdf"]);
|
|
12
|
-
expect(r1.success).toEqual(false);
|
|
13
|
-
expect(r1.error!).toMatchInlineSnapshot(`
|
|
14
|
-
[ZodError: [
|
|
15
|
-
{
|
|
16
|
-
"expected": "number",
|
|
17
|
-
"code": "invalid_type",
|
|
18
|
-
"path": [
|
|
19
|
-
1
|
|
20
|
-
],
|
|
21
|
-
"message": "Invalid input: expected number, received string"
|
|
22
|
-
}
|
|
23
|
-
]]
|
|
24
|
-
`);
|
|
25
|
-
|
|
26
|
-
const r2 = testTuple.safeParse(["asdf", 1234, true]);
|
|
27
|
-
expect(r2.success).toEqual(false);
|
|
28
|
-
expect(r2.error!).toMatchInlineSnapshot(`
|
|
29
|
-
[ZodError: [
|
|
30
|
-
{
|
|
31
|
-
"code": "too_big",
|
|
32
|
-
"maximum": 2,
|
|
33
|
-
"inclusive": true,
|
|
34
|
-
"origin": "array",
|
|
35
|
-
"path": [],
|
|
36
|
-
"message": "Too big: expected array to have <=2 items"
|
|
37
|
-
}
|
|
38
|
-
]]
|
|
39
|
-
`);
|
|
40
|
-
|
|
41
|
-
const r3 = testTuple.safeParse({});
|
|
42
|
-
expect(r3.success).toEqual(false);
|
|
43
|
-
expect(r3.error!).toMatchInlineSnapshot(`
|
|
44
|
-
[ZodError: [
|
|
45
|
-
{
|
|
46
|
-
"expected": "tuple",
|
|
47
|
-
"code": "invalid_type",
|
|
48
|
-
"path": [],
|
|
49
|
-
"message": "Invalid input: expected tuple, received object"
|
|
50
|
-
}
|
|
51
|
-
]]
|
|
52
|
-
`);
|
|
53
|
-
});
|
|
54
|
-
|
|
55
|
-
test("async validation", async () => {
|
|
56
|
-
const testTuple = z
|
|
57
|
-
.tuple([z.string().refine(async () => true), z.number().refine(async () => true)])
|
|
58
|
-
.refine(async () => true);
|
|
59
|
-
expectTypeOf<typeof testTuple._output>().toEqualTypeOf<[string, number]>();
|
|
60
|
-
|
|
61
|
-
const val = await testTuple.parseAsync(["asdf", 1234]);
|
|
62
|
-
expect(val).toEqual(val);
|
|
63
|
-
|
|
64
|
-
const r1 = await testTuple.safeParseAsync(["asdf", "asdf"]);
|
|
65
|
-
expect(r1.success).toEqual(false);
|
|
66
|
-
expect(r1.error!).toMatchInlineSnapshot(`
|
|
67
|
-
[ZodError: [
|
|
68
|
-
{
|
|
69
|
-
"expected": "number",
|
|
70
|
-
"code": "invalid_type",
|
|
71
|
-
"path": [
|
|
72
|
-
1
|
|
73
|
-
],
|
|
74
|
-
"message": "Invalid input: expected number, received string"
|
|
75
|
-
}
|
|
76
|
-
]]
|
|
77
|
-
`);
|
|
78
|
-
|
|
79
|
-
const r2 = await testTuple.safeParseAsync(["asdf", 1234, true]);
|
|
80
|
-
expect(r2.success).toEqual(false);
|
|
81
|
-
expect(r2.error!).toMatchInlineSnapshot(`
|
|
82
|
-
[ZodError: [
|
|
83
|
-
{
|
|
84
|
-
"code": "too_big",
|
|
85
|
-
"maximum": 2,
|
|
86
|
-
"inclusive": true,
|
|
87
|
-
"origin": "array",
|
|
88
|
-
"path": [],
|
|
89
|
-
"message": "Too big: expected array to have <=2 items"
|
|
90
|
-
}
|
|
91
|
-
]]
|
|
92
|
-
`);
|
|
93
|
-
|
|
94
|
-
const r3 = await testTuple.safeParseAsync({});
|
|
95
|
-
expect(r3.success).toEqual(false);
|
|
96
|
-
expect(r3.error!).toMatchInlineSnapshot(`
|
|
97
|
-
[ZodError: [
|
|
98
|
-
{
|
|
99
|
-
"expected": "tuple",
|
|
100
|
-
"code": "invalid_type",
|
|
101
|
-
"path": [],
|
|
102
|
-
"message": "Invalid input: expected tuple, received object"
|
|
103
|
-
}
|
|
104
|
-
]]
|
|
105
|
-
`);
|
|
106
|
-
});
|
|
107
|
-
|
|
108
|
-
test("tuple with optional elements", () => {
|
|
109
|
-
const myTuple = z.tuple([z.string(), z.number().optional(), z.string().optional()]).rest(z.boolean());
|
|
110
|
-
expectTypeOf<typeof myTuple._output>().toEqualTypeOf<
|
|
111
|
-
[string, (number | undefined)?, (string | undefined)?, ...boolean[]]
|
|
112
|
-
>();
|
|
113
|
-
|
|
114
|
-
const goodData = [["asdf"], ["asdf", 1234], ["asdf", 1234, "asdf"], ["asdf", 1234, "asdf", true, false, true]];
|
|
115
|
-
for (const data of goodData) {
|
|
116
|
-
expect(myTuple.parse(data)).toEqual(data);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
const badData = [
|
|
120
|
-
["asdf", "asdf"],
|
|
121
|
-
["asdf", 1234, "asdf", "asdf"],
|
|
122
|
-
["asdf", 1234, "asdf", true, false, "asdf"],
|
|
123
|
-
];
|
|
124
|
-
for (const data of badData) {
|
|
125
|
-
expect(() => myTuple.parse(data)).toThrow();
|
|
126
|
-
}
|
|
127
|
-
});
|
|
128
|
-
|
|
129
|
-
test("tuple with optional elements followed by required", () => {
|
|
130
|
-
const myTuple = z.tuple([z.string(), z.number().optional(), z.string()]).rest(z.boolean());
|
|
131
|
-
expectTypeOf<typeof myTuple._output>().toEqualTypeOf<[string, number | undefined, string, ...boolean[]]>();
|
|
132
|
-
|
|
133
|
-
const goodData = [
|
|
134
|
-
["asdf", 1234, "asdf"],
|
|
135
|
-
["asdf", 1234, "asdf", true, false, true],
|
|
136
|
-
];
|
|
137
|
-
for (const data of goodData) {
|
|
138
|
-
expect(myTuple.parse(data)).toEqual(data);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
const badData = [
|
|
142
|
-
["asdf"],
|
|
143
|
-
["asdf", 1234],
|
|
144
|
-
["asdf", 1234, "asdf", "asdf"],
|
|
145
|
-
["asdf", 1234, "asdf", true, false, "asdf"],
|
|
146
|
-
];
|
|
147
|
-
for (const data of badData) {
|
|
148
|
-
expect(() => myTuple.parse(data)).toThrow();
|
|
149
|
-
}
|
|
150
|
-
});
|
|
151
|
-
|
|
152
|
-
test("tuple with all optional elements", () => {
|
|
153
|
-
const allOptionalTuple = z.tuple([z.string().optional(), z.number().optional(), z.boolean().optional()]);
|
|
154
|
-
expectTypeOf<typeof allOptionalTuple._output>().toEqualTypeOf<
|
|
155
|
-
[(string | undefined)?, (number | undefined)?, (boolean | undefined)?]
|
|
156
|
-
>();
|
|
157
|
-
|
|
158
|
-
// Empty array should be valid (all items optional)
|
|
159
|
-
expect(allOptionalTuple.parse([])).toEqual([]);
|
|
160
|
-
|
|
161
|
-
// Partial arrays should be valid
|
|
162
|
-
expect(allOptionalTuple.parse(["hello"])).toEqual(["hello"]);
|
|
163
|
-
expect(allOptionalTuple.parse(["hello", 42])).toEqual(["hello", 42]);
|
|
164
|
-
|
|
165
|
-
// Full array should be valid
|
|
166
|
-
expect(allOptionalTuple.parse(["hello", 42, true])).toEqual(["hello", 42, true]);
|
|
167
|
-
|
|
168
|
-
// Array that's too long should fail
|
|
169
|
-
expect(() => allOptionalTuple.parse(["hello", 42, true, "extra"])).toThrow();
|
|
170
|
-
});
|
|
171
|
-
|
|
172
|
-
test("tuple fills defaults for missing trailing elements", () => {
|
|
173
|
-
// Issue #5229: trailing `.default()`/`.prefault()` elements should be
|
|
174
|
-
// filled in when the input array is shorter than the tuple.
|
|
175
|
-
const t = z.tuple([z.string(), z.string().default("bravo")]);
|
|
176
|
-
expectTypeOf<typeof t._output>().toEqualTypeOf<[string, string]>();
|
|
177
|
-
expectTypeOf<typeof t._input>().toEqualTypeOf<[string, (string | undefined)?]>();
|
|
178
|
-
|
|
179
|
-
expect(t.parse(["alpha", "charlie"])).toEqual(["alpha", "charlie"]);
|
|
180
|
-
expect(t.parse(["alpha"])).toEqual(["alpha", "bravo"]);
|
|
181
|
-
|
|
182
|
-
// Multiple trailing defaults
|
|
183
|
-
const multi = z.tuple([z.string(), z.number().default(42), z.boolean().default(true)]);
|
|
184
|
-
expect(multi.parse(["hello"])).toEqual(["hello", 42, true]);
|
|
185
|
-
expect(multi.parse(["hello", 100])).toEqual(["hello", 100, true]);
|
|
186
|
-
expect(multi.parse(["hello", 100, false])).toEqual(["hello", 100, false]);
|
|
187
|
-
|
|
188
|
-
// Prefault parity
|
|
189
|
-
expect(z.tuple([z.string(), z.string().prefault("delta")]).parse(["alpha"])).toEqual(["alpha", "delta"]);
|
|
190
|
-
|
|
191
|
-
// Defaults wrapped in modifiers: `optout` propagates through these, so the
|
|
192
|
-
// fix is not type-name specific.
|
|
193
|
-
expect(z.tuple([z.string(), z.string().default("x").nullable()]).parse(["alpha"])).toEqual(["alpha", "x"]);
|
|
194
|
-
expect(z.tuple([z.string(), z.string().default("x").readonly()]).parse(["alpha"])).toEqual(["alpha", "x"]);
|
|
195
|
-
expect(z.tuple([z.string(), z.string().default("x").catch("y")]).parse(["alpha"])).toEqual(["alpha", "x"]);
|
|
196
|
-
expect(z.tuple([z.string(), z.string().default("x").pipe(z.string())]).parse(["alpha"])).toEqual(["alpha", "x"]);
|
|
197
|
-
});
|
|
198
|
-
|
|
199
|
-
test("tuple fills defaults under async parse", async () => {
|
|
200
|
-
const t = z.tuple([z.string(), z.string().default("zulu")]);
|
|
201
|
-
await expect(t.parseAsync(["alpha"])).resolves.toEqual(["alpha", "zulu"]);
|
|
202
|
-
});
|
|
203
|
-
|
|
204
|
-
test("tuple keeps length-1 array for missing `.optional()` elements", () => {
|
|
205
|
-
// Backwards compat: a trailing `.optional()` element that is omitted from
|
|
206
|
-
// the input must NOT be filled with `undefined` — the result stays length-1.
|
|
207
|
-
// Only schemas that produce a defined value get materialized.
|
|
208
|
-
const t = z.tuple([z.string(), z.string().optional()]);
|
|
209
|
-
const out = t.parse(["alpha"]);
|
|
210
|
-
expect(out).toEqual(["alpha"]);
|
|
211
|
-
expect(out.length).toEqual(1);
|
|
212
|
-
|
|
213
|
-
// `z.undefined()` is NOT a synonym for `.optional()` — its value type is
|
|
214
|
-
// *must be undefined*, so the slot is required input. Omitting it triggers
|
|
215
|
-
// a single `too_small` (no element-level errors, matching v3's abort
|
|
216
|
-
// semantics); passing explicit `undefined` succeeds and is preserved.
|
|
217
|
-
expect(z.tuple([z.string(), z.undefined()]).safeParse(["alpha"]).error!.issues).toMatchInlineSnapshot(`
|
|
218
|
-
[
|
|
219
|
-
{
|
|
220
|
-
"code": "too_small",
|
|
221
|
-
"inclusive": true,
|
|
222
|
-
"message": "Too small: expected array to have >=2 items",
|
|
223
|
-
"minimum": 2,
|
|
224
|
-
"origin": "array",
|
|
225
|
-
"path": [],
|
|
226
|
-
},
|
|
227
|
-
]
|
|
228
|
-
`);
|
|
229
|
-
expect(z.tuple([z.string(), z.undefined()]).parse(["alpha", undefined])).toHaveLength(2);
|
|
230
|
-
|
|
231
|
-
// `.optional().nullable()` still trims — `.optional()` propagates the
|
|
232
|
-
// optin/optout flags through the nullable wrapper.
|
|
233
|
-
expect(z.tuple([z.string(), z.string().optional().nullable()]).parse(["alpha"])).toHaveLength(1);
|
|
234
|
-
|
|
235
|
-
// Multiple trailing optionals trim the same way — we don't fill the tail
|
|
236
|
-
// with literal `undefined`s.
|
|
237
|
-
const many = z.tuple([z.string(), z.string().optional(), z.string().optional(), z.string().optional()]);
|
|
238
|
-
expect(many.parse(["alpha"])).toEqual(["alpha"]);
|
|
239
|
-
expect(many.parse(["alpha", "beta"])).toEqual(["alpha", "beta"]);
|
|
240
|
-
|
|
241
|
-
// Explicit `undefined` inside `input.length` IS preserved — only slots
|
|
242
|
-
// past the input get trimmed.
|
|
243
|
-
const r = many.parse(["alpha", undefined]);
|
|
244
|
-
expect(r.length).toEqual(2);
|
|
245
|
-
expect(1 in r).toEqual(true);
|
|
246
|
-
|
|
247
|
-
// Trailing optionals after a default that fires are still trimmed.
|
|
248
|
-
expect(
|
|
249
|
-
z.tuple([z.string(), z.string().default("d"), z.string().optional(), z.string().optional()]).parse(["alpha"])
|
|
250
|
-
).toEqual(["alpha", "d"]);
|
|
251
|
-
});
|
|
252
|
-
|
|
253
|
-
test("tuple result is dense when optional precedes a default", () => {
|
|
254
|
-
// `.optional()` before a `.default()` must produce an explicit `undefined`
|
|
255
|
-
// (not a sparse hole), otherwise `1 in r`, `JSON.stringify`, `Object.keys`,
|
|
256
|
-
// and iteration all behave wrong.
|
|
257
|
-
const t = z.tuple([z.string(), z.string().optional(), z.string().default("z")]);
|
|
258
|
-
const r = t.parse(["alpha"]);
|
|
259
|
-
expect(r).toEqual(["alpha", undefined, "z"]);
|
|
260
|
-
expect(r.length).toEqual(3);
|
|
261
|
-
expect(1 in r).toEqual(true);
|
|
262
|
-
expect(JSON.stringify(r)).toEqual('["alpha",null,"z"]');
|
|
263
|
-
|
|
264
|
-
// Trailing optional after a default is still dropped (no later default
|
|
265
|
-
// forces it to materialize).
|
|
266
|
-
expect(z.tuple([z.string(), z.string().default("d"), z.string().optional()]).parse(["alpha"])).toEqual([
|
|
267
|
-
"alpha",
|
|
268
|
-
"d",
|
|
269
|
-
]);
|
|
270
|
-
|
|
271
|
-
// Multiple interleaved optional/default — every slot up to the last
|
|
272
|
-
// default must be present and dense.
|
|
273
|
-
const interleaved = z.tuple([
|
|
274
|
-
z.string(),
|
|
275
|
-
z.string().optional(),
|
|
276
|
-
z.string().default("d"),
|
|
277
|
-
z.string().optional(),
|
|
278
|
-
z.string().default("e"),
|
|
279
|
-
]);
|
|
280
|
-
const out = interleaved.parse(["alpha"]);
|
|
281
|
-
expect(out).toEqual(["alpha", undefined, "d", undefined, "e"]);
|
|
282
|
-
expect(1 in out && 3 in out).toEqual(true);
|
|
283
|
-
});
|
|
284
|
-
|
|
285
|
-
test("tuple truncates absent optional rejections only when the output tail is optional", () => {
|
|
286
|
-
// An absent optional-output slot can only be swallowed when every later
|
|
287
|
-
// output slot is optional too. If a later default would make the output tail
|
|
288
|
-
// required, truncating would violate the tuple's output type.
|
|
289
|
-
const refusesUndefined = z
|
|
290
|
-
.string()
|
|
291
|
-
.optional()
|
|
292
|
-
.refine((s) => s !== undefined, "must not be undefined");
|
|
293
|
-
|
|
294
|
-
const trailingDefault = z.tuple([z.string(), refusesUndefined, z.string().default("d")]);
|
|
295
|
-
const r1 = trailingDefault.safeParse(["alpha"]);
|
|
296
|
-
expect(r1.success).toBe(false);
|
|
297
|
-
expect(r1.error!.issues[0].path).toEqual([1]);
|
|
298
|
-
|
|
299
|
-
// Optional slots BEFORE the rejected one still cannot hide a later required
|
|
300
|
-
// output slot.
|
|
301
|
-
const beforeReject = z.tuple([z.string(), z.string().optional(), refusesUndefined, z.string().default("d")]);
|
|
302
|
-
const r2 = beforeReject.safeParse(["alpha"]);
|
|
303
|
-
expect(r2.success).toBe(false);
|
|
304
|
-
expect(r2.error!.issues[0].path).toEqual([2]);
|
|
305
|
-
|
|
306
|
-
// No default after — truncate still applies, no spurious issue surfaces.
|
|
307
|
-
const noTrailingDefault = z.tuple([z.string(), refusesUndefined]);
|
|
308
|
-
const r3 = noTrailingDefault.safeParse(["alpha"]);
|
|
309
|
-
expect(r3.success).toBe(true);
|
|
310
|
-
expect(r3.data).toEqual(["alpha"]);
|
|
311
|
-
});
|
|
312
|
-
|
|
313
|
-
test("tuple rejects absent optional before required output under async parse", async () => {
|
|
314
|
-
const refusesUndefined = z
|
|
315
|
-
.string()
|
|
316
|
-
.optional()
|
|
317
|
-
.refine(async (s) => s !== undefined, "must not be undefined");
|
|
318
|
-
|
|
319
|
-
const schema = z.tuple([z.string(), refusesUndefined, z.string().default("d")]);
|
|
320
|
-
const r = await schema.safeParseAsync(["alpha"]);
|
|
321
|
-
expect(r.success).toBe(false);
|
|
322
|
-
expect(r.error!.issues[0].path).toEqual([1]);
|
|
323
|
-
});
|
|
324
|
-
|
|
325
|
-
test("tuple rejects absent exact optional before defaulted output", () => {
|
|
326
|
-
const schema = z.tuple([z.string(), z.string().exactOptional(), z.string().default("fallback")]);
|
|
327
|
-
expectTypeOf<typeof schema._output>().toEqualTypeOf<[string, string, string]>();
|
|
328
|
-
|
|
329
|
-
const missingExact = schema.safeParse(["alpha"]);
|
|
330
|
-
expect(missingExact.success).toBe(false);
|
|
331
|
-
expect(missingExact.error!.issues[0].path).toEqual([1]);
|
|
332
|
-
|
|
333
|
-
expect(schema.parse(["alpha", "bravo"])).toEqual(["alpha", "bravo", "fallback"]);
|
|
334
|
-
expect(schema.safeParse(["alpha", undefined]).success).toBe(false);
|
|
335
|
-
|
|
336
|
-
// With no later required output slot, exact optional still behaves like an
|
|
337
|
-
// omitted tuple tail and truncates cleanly.
|
|
338
|
-
expect(z.tuple([z.string(), z.string().exactOptional(), z.string().optional()]).parse(["alpha"])).toEqual(["alpha"]);
|
|
339
|
-
});
|
|
340
|
-
|
|
341
|
-
test("tuple preserves explicit undefined inside input even for optional-out schemas", () => {
|
|
342
|
-
// The trim only runs for slots PAST `input.length`. An explicit `undefined`
|
|
343
|
-
// value supplied by the caller at index < input.length must survive, even
|
|
344
|
-
// when the schema produces undefined as a valid output (e.g.
|
|
345
|
-
// `z.string().or(z.undefined())`, `z.string().optional()`, `z.undefined()`).
|
|
346
|
-
const orUndefined = z.tuple([z.string(), z.string().or(z.undefined())]);
|
|
347
|
-
const r1 = orUndefined.parse(["alpha", undefined]);
|
|
348
|
-
expect(r1.length).toEqual(2);
|
|
349
|
-
expect(r1[1]).toBeUndefined();
|
|
350
|
-
expect(1 in r1).toEqual(true);
|
|
351
|
-
expect(JSON.stringify(r1)).toEqual('["alpha",null]');
|
|
352
|
-
|
|
353
|
-
// Same for `.optional()`.
|
|
354
|
-
const opt = z.tuple([z.string(), z.string().optional()]);
|
|
355
|
-
const r2 = opt.parse(["alpha", undefined]);
|
|
356
|
-
expect(r2.length).toEqual(2);
|
|
357
|
-
expect(1 in r2).toEqual(true);
|
|
358
|
-
|
|
359
|
-
// Same for `z.undefined()` literal.
|
|
360
|
-
const lit = z.tuple([z.string(), z.undefined()]);
|
|
361
|
-
const r3 = lit.parse(["alpha", undefined]);
|
|
362
|
-
expect(r3.length).toEqual(2);
|
|
363
|
-
expect(1 in r3).toEqual(true);
|
|
364
|
-
|
|
365
|
-
// Mid-tuple explicit undefined surrounded by defined values is also kept.
|
|
366
|
-
const mid = z.tuple([z.string(), z.string().or(z.undefined()), z.string()]);
|
|
367
|
-
const r4 = mid.parse(["alpha", undefined, "gamma"]);
|
|
368
|
-
expect(r4).toEqual(["alpha", undefined, "gamma"]);
|
|
369
|
-
expect(r4.length).toEqual(3);
|
|
370
|
-
expect(1 in r4).toEqual(true);
|
|
371
|
-
});
|
|
372
|
-
|
|
373
|
-
test("tuple does NOT break when a required slot fails past input length", () => {
|
|
374
|
-
// A required slot (no `.optional()` chain, so optout !== "optional") past
|
|
375
|
-
// input length must still surface an issue rather than silently swallowing
|
|
376
|
-
// it. Otherwise we'd accept arbitrarily short tuples for required-tail
|
|
377
|
-
// schemas. The precheck collapses this into a single `too_small`.
|
|
378
|
-
const schema = z.tuple([z.string(), z.string()]);
|
|
379
|
-
expect(schema.safeParse(["alpha"]).error!.issues).toMatchInlineSnapshot(`
|
|
380
|
-
[
|
|
381
|
-
{
|
|
382
|
-
"code": "too_small",
|
|
383
|
-
"inclusive": true,
|
|
384
|
-
"message": "Too small: expected array to have >=2 items",
|
|
385
|
-
"minimum": 2,
|
|
386
|
-
"origin": "array",
|
|
387
|
-
"path": [],
|
|
388
|
-
},
|
|
389
|
-
]
|
|
390
|
-
`);
|
|
391
|
-
});
|
|
392
|
-
|
|
393
|
-
test("tuple with rest schema", () => {
|
|
394
|
-
const myTuple = z.tuple([z.string(), z.number()]).rest(z.boolean());
|
|
395
|
-
expect(myTuple.parse(["asdf", 1234, true, false, true])).toEqual(["asdf", 1234, true, false, true]);
|
|
396
|
-
|
|
397
|
-
expect(myTuple.parse(["asdf", 1234])).toEqual(["asdf", 1234]);
|
|
398
|
-
|
|
399
|
-
expect(() => myTuple.parse(["asdf", 1234, "asdf"])).toThrow();
|
|
400
|
-
type t1 = z.output<typeof myTuple>;
|
|
401
|
-
|
|
402
|
-
expectTypeOf<t1>().toEqualTypeOf<[string, number, ...boolean[]]>();
|
|
403
|
-
});
|
|
404
|
-
|
|
405
|
-
test("sparse array input", () => {
|
|
406
|
-
const schema = z.tuple([z.string(), z.number()]);
|
|
407
|
-
expect(() => schema.parse(new Array(2))).toThrow();
|
|
408
|
-
});
|
|
409
|
-
|
|
410
|
-
test("under-length tuple emits a single too_small with optStart minimum", () => {
|
|
411
|
-
const allRequired = z.tuple([z.string(), z.string()]);
|
|
412
|
-
expect(allRequired.safeParse(["a"]).error!.issues).toMatchInlineSnapshot(`
|
|
413
|
-
[
|
|
414
|
-
{
|
|
415
|
-
"code": "too_small",
|
|
416
|
-
"inclusive": true,
|
|
417
|
-
"message": "Too small: expected array to have >=2 items",
|
|
418
|
-
"minimum": 2,
|
|
419
|
-
"origin": "array",
|
|
420
|
-
"path": [],
|
|
421
|
-
},
|
|
422
|
-
]
|
|
423
|
-
`);
|
|
424
|
-
expect(allRequired.safeParse([]).error!.issues).toMatchInlineSnapshot(`
|
|
425
|
-
[
|
|
426
|
-
{
|
|
427
|
-
"code": "too_small",
|
|
428
|
-
"inclusive": true,
|
|
429
|
-
"message": "Too small: expected array to have >=2 items",
|
|
430
|
-
"minimum": 2,
|
|
431
|
-
"origin": "array",
|
|
432
|
-
"path": [],
|
|
433
|
-
},
|
|
434
|
-
]
|
|
435
|
-
`);
|
|
436
|
-
|
|
437
|
-
const trailingOptional = z.tuple([z.string(), z.number().optional()]);
|
|
438
|
-
expect(trailingOptional.safeParse([]).error!.issues).toMatchInlineSnapshot(`
|
|
439
|
-
[
|
|
440
|
-
{
|
|
441
|
-
"code": "too_small",
|
|
442
|
-
"inclusive": true,
|
|
443
|
-
"message": "Too small: expected array to have >=1 items",
|
|
444
|
-
"minimum": 1,
|
|
445
|
-
"origin": "array",
|
|
446
|
-
"path": [],
|
|
447
|
-
},
|
|
448
|
-
]
|
|
449
|
-
`);
|
|
450
|
-
|
|
451
|
-
const interiorOptional = z.tuple([z.string(), z.number().optional(), z.string()]);
|
|
452
|
-
expect(interiorOptional.safeParse(["a", 1]).error!.issues).toMatchInlineSnapshot(`
|
|
453
|
-
[
|
|
454
|
-
{
|
|
455
|
-
"code": "too_small",
|
|
456
|
-
"inclusive": true,
|
|
457
|
-
"message": "Too small: expected array to have >=3 items",
|
|
458
|
-
"minimum": 3,
|
|
459
|
-
"origin": "array",
|
|
460
|
-
"path": [],
|
|
461
|
-
},
|
|
462
|
-
]
|
|
463
|
-
`);
|
|
464
|
-
});
|
|
465
|
-
|
|
466
|
-
test("too_big tuple still surfaces element-wise type errors for present indices", () => {
|
|
467
|
-
const schema = z.tuple([z.string(), z.number()]);
|
|
468
|
-
expect(schema.safeParse([1, "x", "extra"]).error!.issues).toMatchInlineSnapshot(`
|
|
469
|
-
[
|
|
470
|
-
{
|
|
471
|
-
"code": "too_big",
|
|
472
|
-
"inclusive": true,
|
|
473
|
-
"maximum": 2,
|
|
474
|
-
"message": "Too big: expected array to have <=2 items",
|
|
475
|
-
"origin": "array",
|
|
476
|
-
"path": [],
|
|
477
|
-
},
|
|
478
|
-
{
|
|
479
|
-
"code": "invalid_type",
|
|
480
|
-
"expected": "string",
|
|
481
|
-
"message": "Invalid input: expected string, received number",
|
|
482
|
-
"path": [
|
|
483
|
-
0,
|
|
484
|
-
],
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
"code": "invalid_type",
|
|
488
|
-
"expected": "number",
|
|
489
|
-
"message": "Invalid input: expected number, received string",
|
|
490
|
-
"path": [
|
|
491
|
-
1,
|
|
492
|
-
],
|
|
493
|
-
},
|
|
494
|
-
]
|
|
495
|
-
`);
|
|
496
|
-
});
|