@loomhelm/multi-task-flow 0.2.6 → 0.2.8
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/README.md +12 -8
- package/package.json +2 -12
- package/src/build-info.ts +4 -2
- package/src/cli/release.ts +4 -40
- package/src/release-tarball.ts +1 -1
- package/src/release.ts +7 -1
- package/src/runtime-identity.ts +4 -2
- package/src/toolkit.ts +71 -15
- package/toolkit/artifact-manifest.json +609 -4208
- package/toolkit/package.json +1 -1
- package/toolkit/skills/docs/vendor/dot-codex/design/multi-task-flow/data-and-scripts.md +77 -23
- package/toolkit/skills/docs-migrate/scripts/_runtime/compatibility_cli.ts +12 -0
- package/toolkit/skills/docs-migrate/scripts/_runtime/compatibility_docs.ts +115 -0
- package/toolkit/skills/docs-migrate/scripts/_runtime/compatibility_shared.ts +230 -0
- package/toolkit/skills/docs-migrate/scripts/_runtime/modules/checks/replay.ts +336 -0
- package/toolkit/skills/docs-migrate/scripts/_runtime/modules/docs/git.ts +54 -0
- package/toolkit/skills/docs-migrate/scripts/_runtime/modules/docs/hardware_ingest.ts +377 -0
- package/toolkit/skills/docs-migrate/scripts/_runtime/modules/docs/hardware_locks.ts +181 -0
- package/toolkit/skills/docs-migrate/scripts/_runtime/modules/docs/legacy_spec_id.ts +131 -0
- package/toolkit/skills/docs-migrate/scripts/_runtime/modules/docs/migration_common.ts +291 -0
- package/toolkit/skills/docs-migrate/scripts/_runtime/modules/docs/next_plan.ts +199 -0
- package/toolkit/skills/docs-migrate/scripts/_runtime/modules/docs/next_plan_support.ts +245 -0
- package/toolkit/skills/docs-migrate/scripts/_runtime/modules/docs/spec_contract.ts +299 -0
- package/toolkit/skills/docs-migrate/scripts/_runtime/modules/docs/spec_drift.ts +387 -0
- package/toolkit/skills/docs-migrate/scripts/_runtime/modules/docs/spec_drift_helpers.ts +381 -0
- package/toolkit/skills/docs-migrate/scripts/_runtime/modules/docs/spec_drift_legacy.ts +376 -0
- package/toolkit/skills/docs-migrate/scripts/_runtime/modules/docs/spec_drift_paths.ts +3 -0
- package/toolkit/skills/docs-migrate/scripts/_runtime/modules/docs/spec_drift_types.ts +27 -0
- package/toolkit/skills/docs-migrate/scripts/_runtime/modules/docs/spec_drift_validation.ts +251 -0
- package/toolkit/skills/docs-migrate/scripts/_runtime/modules/docs/spec_migration.ts +191 -0
- package/toolkit/skills/docs-migrate/scripts/gen_legacy_spec_id.ts +1 -1
- package/toolkit/skills/docs-migrate/scripts/specs_migrate_guard.ts +1 -1
- package/toolkit/skills/find-next-plan/scripts/_runtime/compatibility_cli.ts +12 -0
- package/toolkit/skills/find-next-plan/scripts/_runtime/compatibility_docs.ts +115 -0
- package/toolkit/skills/find-next-plan/scripts/_runtime/compatibility_shared.ts +230 -0
- package/toolkit/skills/find-next-plan/scripts/_runtime/modules/checks/replay.ts +336 -0
- package/toolkit/skills/find-next-plan/scripts/_runtime/modules/docs/git.ts +54 -0
- package/toolkit/skills/find-next-plan/scripts/_runtime/modules/docs/hardware_ingest.ts +377 -0
- package/toolkit/skills/find-next-plan/scripts/_runtime/modules/docs/hardware_locks.ts +181 -0
- package/toolkit/skills/find-next-plan/scripts/_runtime/modules/docs/legacy_spec_id.ts +131 -0
- package/toolkit/skills/find-next-plan/scripts/_runtime/modules/docs/migration_common.ts +291 -0
- package/toolkit/skills/find-next-plan/scripts/_runtime/modules/docs/next_plan.ts +199 -0
- package/toolkit/skills/find-next-plan/scripts/_runtime/modules/docs/next_plan_support.ts +245 -0
- package/toolkit/skills/find-next-plan/scripts/_runtime/modules/docs/spec_contract.ts +299 -0
- package/toolkit/skills/find-next-plan/scripts/_runtime/modules/docs/spec_drift.ts +387 -0
- package/toolkit/skills/find-next-plan/scripts/_runtime/modules/docs/spec_drift_helpers.ts +381 -0
- package/toolkit/skills/find-next-plan/scripts/_runtime/modules/docs/spec_drift_legacy.ts +376 -0
- package/toolkit/skills/find-next-plan/scripts/_runtime/modules/docs/spec_drift_paths.ts +3 -0
- package/toolkit/skills/find-next-plan/scripts/_runtime/modules/docs/spec_drift_types.ts +27 -0
- package/toolkit/skills/find-next-plan/scripts/_runtime/modules/docs/spec_drift_validation.ts +251 -0
- package/toolkit/skills/find-next-plan/scripts/_runtime/modules/docs/spec_migration.ts +191 -0
- package/toolkit/skills/find-next-plan/scripts/find_next_plan.ts +1 -1
- package/toolkit/skills/hardware-doc-ingest/scripts/_runtime/compatibility_cli.ts +12 -0
- package/toolkit/skills/hardware-doc-ingest/scripts/_runtime/compatibility_docs.ts +115 -0
- package/toolkit/skills/hardware-doc-ingest/scripts/_runtime/compatibility_shared.ts +230 -0
- package/toolkit/skills/hardware-doc-ingest/scripts/_runtime/modules/checks/replay.ts +336 -0
- package/toolkit/skills/hardware-doc-ingest/scripts/_runtime/modules/docs/git.ts +54 -0
- package/toolkit/skills/hardware-doc-ingest/scripts/_runtime/modules/docs/hardware_ingest.ts +377 -0
- package/toolkit/skills/hardware-doc-ingest/scripts/_runtime/modules/docs/hardware_locks.ts +181 -0
- package/toolkit/skills/hardware-doc-ingest/scripts/_runtime/modules/docs/legacy_spec_id.ts +131 -0
- package/toolkit/skills/hardware-doc-ingest/scripts/_runtime/modules/docs/migration_common.ts +291 -0
- package/toolkit/skills/hardware-doc-ingest/scripts/_runtime/modules/docs/next_plan.ts +199 -0
- package/toolkit/skills/hardware-doc-ingest/scripts/_runtime/modules/docs/next_plan_support.ts +245 -0
- package/toolkit/skills/hardware-doc-ingest/scripts/_runtime/modules/docs/spec_contract.ts +299 -0
- package/toolkit/skills/hardware-doc-ingest/scripts/_runtime/modules/docs/spec_drift.ts +387 -0
- package/toolkit/skills/hardware-doc-ingest/scripts/_runtime/modules/docs/spec_drift_helpers.ts +381 -0
- package/toolkit/skills/hardware-doc-ingest/scripts/_runtime/modules/docs/spec_drift_legacy.ts +376 -0
- package/toolkit/skills/hardware-doc-ingest/scripts/_runtime/modules/docs/spec_drift_paths.ts +3 -0
- package/toolkit/skills/hardware-doc-ingest/scripts/_runtime/modules/docs/spec_drift_types.ts +27 -0
- package/toolkit/skills/hardware-doc-ingest/scripts/_runtime/modules/docs/spec_drift_validation.ts +251 -0
- package/toolkit/skills/hardware-doc-ingest/scripts/_runtime/modules/docs/spec_migration.ts +191 -0
- package/toolkit/skills/hardware-doc-ingest/scripts/ingest_mineru_extract.ts +1 -1
- package/toolkit/skills/hardware-doc-ingest/scripts/verify_doc_locks.ts +1 -1
- package/toolkit/skills/multi-task-flow/dist/app.css +1 -1
- package/toolkit/skills/multi-task-flow/dist/app.js +45 -45
- package/toolkit/skills/multi-task-flow/lib/atomic-orchestration.ts +25 -3
- package/toolkit/skills/multi-task-flow/lib/engine.ts +71 -10
- package/toolkit/skills/multi-task-flow/lib/view.ts +115 -13
- package/toolkit/skills/multi-task-flow/scripts/package-client-skills.ts +24 -153
- package/toolkit/skills/multi-task-flow/scripts/preview-source.ts +3 -0
- package/toolkit/skills/multi-task-flow/tests/atomic-orchestration-schema.test.ts +35 -0
- package/toolkit/skills/multi-task-flow/tests/engine.test.ts +339 -0
- package/toolkit/skills/multi-task-flow/tests/source-preview.test.ts +29 -0
- package/toolkit/skills/multi-task-flow/tests/ui/details-content.test.ts +22 -0
- package/toolkit/skills/multi-task-flow/tests/view.test.ts +149 -0
- package/toolkit/skills/multi-task-flow/web/app.css +4 -0
- package/toolkit/skills/multi-task-flow/web/app.ts +11 -3
- package/toolkit/skills/multi-task-flow/web/atomic-graph-view.tsx +1 -1
- package/toolkit/skills/multi-task-flow/web/details-content.ts +7 -2
- package/toolkit/skills/multi-task-flow/web/graph-layout.ts +3 -3
- package/toolkit/skills/source-manifest.json +330 -26
- package/toolkit/skills/spec-sync/SKILL.md +1 -1
- package/toolkit/skills/spec-sync/scripts/_runtime/compatibility_cli.ts +12 -0
- package/toolkit/skills/spec-sync/scripts/_runtime/compatibility_docs.ts +115 -0
- package/toolkit/skills/spec-sync/scripts/_runtime/compatibility_shared.ts +230 -0
- package/toolkit/skills/spec-sync/scripts/_runtime/modules/checks/replay.ts +336 -0
- package/toolkit/skills/spec-sync/scripts/_runtime/modules/docs/git.ts +54 -0
- package/toolkit/skills/spec-sync/scripts/_runtime/modules/docs/hardware_ingest.ts +377 -0
- package/toolkit/skills/spec-sync/scripts/_runtime/modules/docs/hardware_locks.ts +181 -0
- package/toolkit/skills/spec-sync/scripts/_runtime/modules/docs/legacy_spec_id.ts +131 -0
- package/toolkit/skills/spec-sync/scripts/_runtime/modules/docs/migration_common.ts +291 -0
- package/toolkit/skills/spec-sync/scripts/_runtime/modules/docs/next_plan.ts +199 -0
- package/toolkit/skills/spec-sync/scripts/_runtime/modules/docs/next_plan_support.ts +245 -0
- package/toolkit/skills/spec-sync/scripts/_runtime/modules/docs/spec_contract.ts +299 -0
- package/toolkit/skills/spec-sync/scripts/_runtime/modules/docs/spec_drift.ts +387 -0
- package/toolkit/skills/spec-sync/scripts/_runtime/modules/docs/spec_drift_helpers.ts +381 -0
- package/toolkit/skills/spec-sync/scripts/_runtime/modules/docs/spec_drift_legacy.ts +376 -0
- package/toolkit/skills/spec-sync/scripts/_runtime/modules/docs/spec_drift_paths.ts +3 -0
- package/toolkit/skills/spec-sync/scripts/_runtime/modules/docs/spec_drift_types.ts +27 -0
- package/toolkit/skills/spec-sync/scripts/_runtime/modules/docs/spec_drift_validation.ts +251 -0
- package/toolkit/skills/spec-sync/scripts/_runtime/modules/docs/spec_migration.ts +191 -0
- package/toolkit/skills/spec-sync/scripts/spec_drift_check.ts +1 -1
- package/toolkit/skills/support-manifest.json +77 -1
- package/toolkit/skills/multi-task-flow/node_modules/zod/LICENSE +0 -21
- package/toolkit/skills/multi-task-flow/node_modules/zod/README.md +0 -218
- package/toolkit/skills/multi-task-flow/node_modules/zod/compile.cjs +0 -96
- package/toolkit/skills/multi-task-flow/node_modules/zod/compile.d.cts +0 -1
- package/toolkit/skills/multi-task-flow/node_modules/zod/compile.d.ts +0 -1
- package/toolkit/skills/multi-task-flow/node_modules/zod/compile.js +0 -52
- package/toolkit/skills/multi-task-flow/node_modules/zod/index.cjs +0 -52
- package/toolkit/skills/multi-task-flow/node_modules/zod/index.d.cts +0 -3
- package/toolkit/skills/multi-task-flow/node_modules/zod/index.d.ts +0 -3
- package/toolkit/skills/multi-task-flow/node_modules/zod/index.js +0 -7
- package/toolkit/skills/multi-task-flow/node_modules/zod/locales/index.cjs +0 -36
- package/toolkit/skills/multi-task-flow/node_modules/zod/locales/index.d.cts +0 -1
- package/toolkit/skills/multi-task-flow/node_modules/zod/locales/index.d.ts +0 -1
- package/toolkit/skills/multi-task-flow/node_modules/zod/locales/index.js +0 -1
- package/toolkit/skills/multi-task-flow/node_modules/zod/locales/package.json +0 -7
- package/toolkit/skills/multi-task-flow/node_modules/zod/mini/index.cjs +0 -51
- package/toolkit/skills/multi-task-flow/node_modules/zod/mini/index.d.cts +0 -3
- package/toolkit/skills/multi-task-flow/node_modules/zod/mini/index.d.ts +0 -3
- package/toolkit/skills/multi-task-flow/node_modules/zod/mini/index.js +0 -3
- package/toolkit/skills/multi-task-flow/node_modules/zod/mini/package.json +0 -7
- package/toolkit/skills/multi-task-flow/node_modules/zod/package.json +0 -147
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/compile.ts +0 -56
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/index.ts +0 -7
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/locales/index.ts +0 -1
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/mini/index.ts +0 -3
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/ZodError.ts +0 -340
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/errors.ts +0 -13
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/external.ts +0 -6
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/helpers/util.ts +0 -224
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/index.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/locales/en.ts +0 -124
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/standard-schema.ts +0 -113
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/array.test.ts +0 -71
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/base.test.ts +0 -29
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/date.test.ts +0 -32
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/default.test.ts +0 -112
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/description.test.ts +0 -33
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/error.test.ts +0 -586
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/function.test.ts +0 -261
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/intersection.test.ts +0 -128
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/language-server.test.ts +0 -206
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/map.test.ts +0 -110
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/number.test.ts +0 -176
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/object.test.ts +0 -431
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/readonly.test.ts +0 -114
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/record.test.ts +0 -171
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/set.test.ts +0 -142
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/string.test.ts +0 -922
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/tests/void.test.ts +0 -15
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v3/types.ts +0 -5138
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/checks.ts +0 -33
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/coerce.ts +0 -27
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/compat.ts +0 -78
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/deep-partial.ts +0 -76
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/errors.ts +0 -97
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/external.ts +0 -57
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -944
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/in-out.ts +0 -45
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/index.ts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/iso.ts +0 -20
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/parse.ts +0 -88
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/schemas.ts +0 -2937
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -86
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -291
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -402
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -89
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -604
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -572
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -704
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +0 -76
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +0 -985
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -92
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -316
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +0 -380
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +0 -32
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -455
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +0 -221
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -942
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -305
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -917
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -1108
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -1467
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -391
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/global-config.test.ts +0 -32
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -67
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/iban.test.ts +0 -81
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/in-out.test.ts +0 -159
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -958
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +0 -319
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -127
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -334
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +0 -215
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +0 -39
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -262
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -128
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +0 -29
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +0 -24
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -349
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -401
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -1006
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +0 -235
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -366
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -497
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -144
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +0 -44
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -351
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/properties.test.ts +0 -141
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -184
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -885
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -707
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/redos.test.ts +0 -68
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -693
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -196
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -153
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1440
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -124
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -812
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -4733
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -378
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -511
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -310
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/validate.test.ts +0 -645
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/api.ts +0 -1875
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/checks.ts +0 -1266
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/compile.ts +0 -2322
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/core.ts +0 -230
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/doc.ts +0 -52
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/errors.ts +0 -543
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/index.ts +0 -19
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -131
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -934
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/json-schema.ts +0 -148
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/memoizer.ts +0 -331
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/parse.ts +0 -309
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/regexes.ts +0 -217
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/registries.ts +0 -105
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/schemas.ts +0 -5226
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/cached.test.ts +0 -54
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +0 -1004
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +0 -445
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/compile-global.test.ts +0 -89
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +0 -26
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +0 -34
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/compile.test.ts +0 -2036
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/email-regex.test.ts +0 -140
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/locales/el.test.ts +0 -214
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -180
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +0 -72
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +0 -163
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +0 -42
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +0 -85
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +0 -69
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -105
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +0 -46
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -125
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/treeshake.test.ts +0 -51
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +0 -133
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/to-json-schema.ts +0 -857
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/util.ts +0 -1293
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/versions.ts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/visit.ts +0 -193
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/core/zsf.ts +0 -323
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/index.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ar.ts +0 -120
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/az.ts +0 -116
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/be.ts +0 -188
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/bg.ts +0 -133
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/bn.ts +0 -123
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ca.ts +0 -121
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ckb.ts +0 -140
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/cs.ts +0 -123
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/da.ts +0 -128
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/de.ts +0 -121
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/el.ts +0 -124
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/en.ts +0 -136
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/eo.ts +0 -123
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/es.ts +0 -145
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/fa.ts +0 -131
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/fi.ts +0 -126
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/fr-CA.ts +0 -121
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/fr.ts +0 -139
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/gu.ts +0 -123
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/he.ts +0 -253
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/hi.ts +0 -126
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/hr.ts +0 -135
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/hu.ts +0 -122
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/hy.ts +0 -175
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/id.ts +0 -120
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/index.ts +0 -63
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/is.ts +0 -124
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/it.ts +0 -121
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ja.ts +0 -119
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ka.ts +0 -128
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/kh.ts +0 -7
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/km.ts +0 -124
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/kn.ts +0 -126
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ko.ts +0 -126
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/lt.ts +0 -243
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/mk.ts +0 -123
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ms.ts +0 -120
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ne.ts +0 -128
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/nl.ts +0 -126
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/nn.ts +0 -121
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/no.ts +0 -121
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ota.ts +0 -122
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/pl.ts +0 -123
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ps.ts +0 -131
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/pt-BR.ts +0 -161
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/pt.ts +0 -159
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ro.ts +0 -132
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ru.ts +0 -188
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/sk.ts +0 -123
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/sl.ts +0 -123
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/sv.ts +0 -124
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ta.ts +0 -123
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/tg.ts +0 -135
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/th.ts +0 -124
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/tk.ts +0 -113
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/tr.ts +0 -116
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ua.ts +0 -7
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/uk.ts +0 -122
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/ur.ts +0 -124
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/uz.ts +0 -120
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/vi.ts +0 -122
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/yo.ts +0 -129
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/zh-CN.ts +0 -121
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/locales/zh-TW.ts +0 -120
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/checks.ts +0 -33
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/coerce.ts +0 -27
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/deep-partial.ts +0 -73
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/external.ts +0 -52
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/in-out.ts +0 -45
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/index.ts +0 -3
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/iso.ts +0 -66
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/parse.ts +0 -16
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/schemas.ts +0 -2051
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -57
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -190
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -158
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -582
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -30
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +0 -84
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +0 -54
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -41
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -14
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -1146
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -109
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -292
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -341
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -396
- package/toolkit/skills/multi-task-flow/node_modules/zod/src/v4-mini/index.ts +0 -3
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/ZodError.cjs +0 -167
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/ZodError.d.cts +0 -164
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/ZodError.d.ts +0 -164
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/ZodError.js +0 -143
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/errors.cjs +0 -36
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/errors.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/errors.d.ts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/errors.js +0 -9
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/external.cjs +0 -41
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/external.d.cts +0 -6
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/external.d.ts +0 -6
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/external.js +0 -6
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/enumUtil.cjs +0 -21
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/enumUtil.js +0 -1
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/errorUtil.cjs +0 -28
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/errorUtil.js +0 -6
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/parseUtil.cjs +0 -143
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/parseUtil.js +0 -109
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/partialUtil.cjs +0 -21
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/partialUtil.js +0 -1
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/typeAliases.cjs +0 -21
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/typeAliases.js +0 -1
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/util.cjs +0 -156
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/util.d.cts +0 -85
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/util.d.ts +0 -85
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/helpers/util.js +0 -133
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/index.cjs +0 -52
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/index.d.cts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/index.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/index.js +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/locales/en.cjs +0 -112
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/locales/en.d.cts +0 -3
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/locales/en.d.ts +0 -3
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/locales/en.js +0 -109
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/package.json +0 -7
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/standard-schema.cjs +0 -21
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/standard-schema.d.cts +0 -102
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/standard-schema.d.ts +0 -102
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/standard-schema.js +0 -1
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/types.cjs +0 -3798
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/types.d.cts +0 -1034
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/types.d.ts +0 -1034
- package/toolkit/skills/multi-task-flow/node_modules/zod/v3/types.js +0 -3697
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/checks.cjs +0 -53
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/checks.d.cts +0 -1
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/checks.d.ts +0 -1
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/checks.js +0 -1
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/coerce.cjs +0 -66
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/coerce.d.cts +0 -17
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/coerce.d.ts +0 -17
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/coerce.js +0 -17
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/compat.cjs +0 -80
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/compat.d.cts +0 -48
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/compat.d.ts +0 -48
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/compat.js +0 -31
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/deep-partial.cjs +0 -58
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/deep-partial.d.cts +0 -14
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/deep-partial.d.ts +0 -14
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/deep-partial.js +0 -13
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/errors.cjs +0 -102
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/errors.d.cts +0 -29
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/errors.d.ts +0 -29
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/errors.js +0 -57
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/external.cjs +0 -97
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/external.d.cts +0 -19
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/external.d.ts +0 -19
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/external.js +0 -17
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/from-json-schema.cjs +0 -926
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/from-json-schema.js +0 -881
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/in-out.cjs +0 -82
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/in-out.d.cts +0 -8
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/in-out.d.ts +0 -8
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/in-out.js +0 -36
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/index.cjs +0 -52
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/index.d.cts +0 -3
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/index.d.ts +0 -3
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/index.js +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/iso.cjs +0 -68
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/iso.d.cts +0 -7
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/iso.d.ts +0 -7
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/iso.js +0 -15
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/package.json +0 -7
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/parse.cjs +0 -63
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/parse.d.cts +0 -44
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/parse.d.ts +0 -44
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/parse.js +0 -16
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/schemas.cjs +0 -1676
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/schemas.d.cts +0 -816
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/schemas.d.ts +0 -816
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/classic/schemas.js +0 -1535
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/api.cjs +0 -1269
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/api.d.cts +0 -335
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/api.d.ts +0 -335
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/api.js +0 -1107
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/checks.cjs +0 -561
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/checks.d.cts +0 -294
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/checks.d.ts +0 -294
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/checks.js +0 -516
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/compile.cjs +0 -1916
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/compile.d.cts +0 -65
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/compile.d.ts +0 -65
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/compile.js +0 -1866
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/core.cjs +0 -167
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/core.d.cts +0 -82
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/core.d.ts +0 -82
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/core.js +0 -141
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/doc.cjs +0 -61
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/doc.d.cts +0 -16
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/doc.d.ts +0 -16
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/doc.js +0 -38
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/errors.cjs +0 -317
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/errors.d.cts +0 -225
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/errors.d.ts +0 -225
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/errors.js +0 -267
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/index.cjs +0 -70
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/index.d.cts +0 -19
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/index.d.ts +0 -19
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/index.js +0 -19
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/json-schema-generator.cjs +0 -122
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/json-schema-generator.js +0 -99
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/json-schema-processors.cjs +0 -929
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -65
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -65
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/json-schema-processors.js +0 -843
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/json-schema.cjs +0 -21
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/json-schema.d.cts +0 -89
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/json-schema.d.ts +0 -89
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/json-schema.js +0 -1
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/memoizer.cjs +0 -360
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/memoizer.d.cts +0 -15
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/memoizer.d.ts +0 -15
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/memoizer.js +0 -311
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/package.json +0 -7
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/parse.cjs +0 -233
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/parse.d.cts +0 -52
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/parse.d.ts +0 -52
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/parse.js +0 -175
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/regexes.cjs +0 -209
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/regexes.d.cts +0 -90
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/regexes.d.ts +0 -90
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/regexes.js +0 -156
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/registries.cjs +0 -75
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/registries.d.cts +0 -35
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/registries.d.ts +0 -35
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/registries.js +0 -51
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/schemas.cjs +0 -2699
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/schemas.d.cts +0 -1275
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/schemas.d.ts +0 -1275
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/schemas.js +0 -2636
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/standard-schema.cjs +0 -21
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/standard-schema.js +0 -1
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/to-json-schema.cjs +0 -681
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/to-json-schema.d.cts +0 -154
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/to-json-schema.d.ts +0 -154
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/to-json-schema.js +0 -651
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/util.cjs +0 -964
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/util.d.cts +0 -280
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/util.d.ts +0 -280
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/util.js +0 -873
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/versions.cjs +0 -27
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/versions.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/versions.d.ts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/versions.js +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/visit.cjs +0 -214
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/visit.d.cts +0 -30
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/visit.d.ts +0 -30
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/core/visit.js +0 -169
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/index.cjs +0 -51
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/index.d.cts +0 -3
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/index.d.ts +0 -3
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/index.js +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ar.cjs +0 -138
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ar.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ar.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ar.js +0 -111
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/az.cjs +0 -137
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/az.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/az.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/az.js +0 -110
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/be.cjs +0 -195
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/be.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/be.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/be.js +0 -168
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/bg.cjs +0 -152
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/bg.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/bg.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/bg.js +0 -125
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/bn.cjs +0 -140
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/bn.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/bn.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/bn.js +0 -113
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ca.cjs +0 -139
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ca.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ca.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ca.js +0 -112
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ckb.cjs +0 -160
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ckb.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ckb.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ckb.js +0 -133
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/cs.cjs +0 -143
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/cs.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/cs.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/cs.js +0 -116
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/da.cjs +0 -147
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/da.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/da.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/da.js +0 -120
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/de.cjs +0 -140
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/de.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/de.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/de.js +0 -113
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/el.cjs +0 -139
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/el.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/el.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/el.js +0 -112
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/en.cjs +0 -152
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/en.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/en.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/en.js +0 -125
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/eo.cjs +0 -141
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/eo.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/eo.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/eo.js +0 -114
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/es.cjs +0 -163
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/es.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/es.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/es.js +0 -136
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fa.cjs +0 -146
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fa.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fa.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fa.js +0 -119
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fi.cjs +0 -144
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fi.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fi.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fi.js +0 -117
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fr-CA.cjs +0 -139
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fr-CA.js +0 -112
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fr.cjs +0 -156
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fr.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fr.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/fr.js +0 -129
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/gu.cjs +0 -140
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/gu.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/gu.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/gu.js +0 -113
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/he.cjs +0 -248
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/he.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/he.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/he.js +0 -221
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hi.cjs +0 -138
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hi.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hi.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hi.js +0 -111
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hr.cjs +0 -153
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hr.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hr.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hr.js +0 -126
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hu.cjs +0 -140
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hu.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hu.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hu.js +0 -113
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hy.cjs +0 -185
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hy.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hy.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/hy.js +0 -158
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/id.cjs +0 -138
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/id.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/id.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/id.js +0 -111
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/index.cjs +0 -152
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/index.d.cts +0 -63
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/index.d.ts +0 -63
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/index.js +0 -63
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/is.cjs +0 -141
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/is.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/is.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/is.js +0 -114
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/it.cjs +0 -140
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/it.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/it.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/it.js +0 -113
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ja.cjs +0 -139
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ja.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ja.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ja.js +0 -112
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ka.cjs +0 -144
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ka.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ka.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ka.js +0 -117
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/kh.cjs +0 -12
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/kh.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/kh.d.ts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/kh.js +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/km.cjs +0 -142
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/km.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/km.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/km.js +0 -115
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/kn.cjs +0 -143
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/kn.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/kn.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/kn.js +0 -116
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ko.cjs +0 -143
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ko.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ko.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ko.js +0 -116
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/lt.cjs +0 -234
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/lt.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/lt.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/lt.js +0 -207
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/mk.cjs +0 -141
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/mk.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/mk.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/mk.js +0 -114
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ms.cjs +0 -139
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ms.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ms.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ms.js +0 -112
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ne.cjs +0 -138
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ne.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ne.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ne.js +0 -111
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/nl.cjs +0 -142
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/nl.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/nl.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/nl.js +0 -115
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/nn.cjs +0 -140
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/nn.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/nn.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/nn.js +0 -113
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/no.cjs +0 -140
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/no.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/no.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/no.js +0 -113
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ota.cjs +0 -141
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ota.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ota.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ota.js +0 -114
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/package.json +0 -7
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/pl.cjs +0 -141
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/pl.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/pl.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/pl.js +0 -114
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ps.cjs +0 -146
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ps.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ps.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ps.js +0 -119
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/pt-BR.cjs +0 -170
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/pt-BR.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/pt-BR.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/pt-BR.js +0 -143
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/pt.cjs +0 -169
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/pt.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/pt.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/pt.js +0 -142
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ro.cjs +0 -149
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ro.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ro.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ro.js +0 -122
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ru.cjs +0 -195
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ru.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ru.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ru.js +0 -168
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/sk.cjs +0 -143
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/sk.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/sk.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/sk.js +0 -116
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/sl.cjs +0 -141
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/sl.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/sl.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/sl.js +0 -114
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/sv.cjs +0 -142
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/sv.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/sv.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/sv.js +0 -115
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ta.cjs +0 -142
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ta.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ta.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ta.js +0 -115
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/tg.cjs +0 -144
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/tg.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/tg.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/tg.js +0 -117
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/th.cjs +0 -142
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/th.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/th.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/th.js +0 -115
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/tk.cjs +0 -134
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/tk.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/tk.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/tk.js +0 -107
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/tr.cjs +0 -137
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/tr.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/tr.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/tr.js +0 -110
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ua.cjs +0 -12
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ua.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ua.d.ts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ua.js +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/uk.cjs +0 -140
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/uk.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/uk.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/uk.js +0 -113
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ur.cjs +0 -142
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ur.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ur.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/ur.js +0 -115
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/uz.cjs +0 -140
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/uz.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/uz.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/uz.js +0 -113
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/vi.cjs +0 -140
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/vi.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/vi.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/vi.js +0 -113
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/yo.cjs +0 -139
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/yo.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/yo.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/yo.js +0 -112
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/zh-CN.cjs +0 -141
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/zh-CN.js +0 -114
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/zh-TW.cjs +0 -139
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/locales/zh-TW.js +0 -112
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/checks.cjs +0 -54
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/checks.d.cts +0 -1
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/checks.d.ts +0 -1
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/checks.js +0 -1
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/coerce.cjs +0 -71
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/coerce.d.cts +0 -7
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/coerce.d.ts +0 -7
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/coerce.js +0 -22
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/deep-partial.cjs +0 -58
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/deep-partial.d.cts +0 -14
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/deep-partial.d.ts +0 -14
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/deep-partial.js +0 -13
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/external.cjs +0 -95
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/external.d.cts +0 -16
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/external.d.ts +0 -16
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/external.js +0 -16
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/in-out.cjs +0 -82
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/in-out.d.cts +0 -8
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/in-out.d.ts +0 -8
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/in-out.js +0 -36
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/index.cjs +0 -51
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/index.d.cts +0 -3
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/index.d.ts +0 -3
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/index.js +0 -3
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/iso.cjs +0 -83
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/iso.d.cts +0 -22
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/iso.d.ts +0 -22
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/iso.js +0 -34
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/package.json +0 -7
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/parse.cjs +0 -37
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/parse.d.cts +0 -1
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/parse.d.ts +0 -1
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/parse.js +0 -1
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/schemas.cjs +0 -1147
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/schemas.d.cts +0 -480
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/schemas.d.ts +0 -480
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/mini/schemas.js +0 -1002
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4/package.json +0 -7
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4-mini/index.cjs +0 -51
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4-mini/index.d.cts +0 -3
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4-mini/index.d.ts +0 -3
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4-mini/index.js +0 -3
- package/toolkit/skills/multi-task-flow/node_modules/zod/v4-mini/package.json +0 -7
- package/toolkit/skills/node_modules/@img/colour/LICENSE.md +0 -82
- package/toolkit/skills/node_modules/@img/colour/README.md +0 -15
- package/toolkit/skills/node_modules/@img/colour/color.cjs +0 -1596
- package/toolkit/skills/node_modules/@img/colour/index.cjs +0 -1
- package/toolkit/skills/node_modules/@img/colour/index.d.ts +0 -929
- package/toolkit/skills/node_modules/@img/colour/package.json +0 -58
- package/toolkit/skills/node_modules/@img/sharp-libvips-linux-x64/README.md +0 -46
- package/toolkit/skills/node_modules/@img/sharp-libvips-linux-x64/lib/glib-2.0/include/glibconfig.h +0 -219
- package/toolkit/skills/node_modules/@img/sharp-libvips-linux-x64/lib/index.js +0 -1
- package/toolkit/skills/node_modules/@img/sharp-libvips-linux-x64/lib/libvips-cpp.so.8.18.7 +0 -0
- package/toolkit/skills/node_modules/@img/sharp-libvips-linux-x64/package.json +0 -43
- package/toolkit/skills/node_modules/@img/sharp-libvips-linux-x64/versions.json +0 -30
- package/toolkit/skills/node_modules/@img/sharp-libvips-linuxmusl-x64/README.md +0 -46
- package/toolkit/skills/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/glib-2.0/include/glibconfig.h +0 -219
- package/toolkit/skills/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/index.js +0 -1
- package/toolkit/skills/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.18.7 +0 -0
- package/toolkit/skills/node_modules/@img/sharp-libvips-linuxmusl-x64/package.json +0 -43
- package/toolkit/skills/node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json +0 -30
- package/toolkit/skills/node_modules/@img/sharp-linux-x64/LICENSE +0 -191
- package/toolkit/skills/node_modules/@img/sharp-linux-x64/README.md +0 -18
- package/toolkit/skills/node_modules/@img/sharp-linux-x64/index.cjs +0 -2
- package/toolkit/skills/node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64-0.35.5.node +0 -0
- package/toolkit/skills/node_modules/@img/sharp-linux-x64/package.json +0 -47
- package/toolkit/skills/node_modules/@img/sharp-linuxmusl-x64/LICENSE +0 -191
- package/toolkit/skills/node_modules/@img/sharp-linuxmusl-x64/README.md +0 -18
- package/toolkit/skills/node_modules/@img/sharp-linuxmusl-x64/index.cjs +0 -2
- package/toolkit/skills/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64-0.35.5.node +0 -0
- package/toolkit/skills/node_modules/@img/sharp-linuxmusl-x64/package.json +0 -47
- package/toolkit/skills/node_modules/detect-libc/LICENSE +0 -201
- package/toolkit/skills/node_modules/detect-libc/README.md +0 -163
- package/toolkit/skills/node_modules/detect-libc/index.d.ts +0 -14
- package/toolkit/skills/node_modules/detect-libc/lib/detect-libc.js +0 -313
- package/toolkit/skills/node_modules/detect-libc/lib/elf.js +0 -39
- package/toolkit/skills/node_modules/detect-libc/lib/filesystem.js +0 -51
- package/toolkit/skills/node_modules/detect-libc/lib/process.js +0 -24
- package/toolkit/skills/node_modules/detect-libc/package.json +0 -44
- package/toolkit/skills/node_modules/semver/LICENSE +0 -15
- package/toolkit/skills/node_modules/semver/README.md +0 -680
- package/toolkit/skills/node_modules/semver/bin/semver.js +0 -195
- package/toolkit/skills/node_modules/semver/classes/comparator.js +0 -143
- package/toolkit/skills/node_modules/semver/classes/index.js +0 -7
- package/toolkit/skills/node_modules/semver/classes/range.js +0 -577
- package/toolkit/skills/node_modules/semver/classes/semver.js +0 -350
- package/toolkit/skills/node_modules/semver/functions/clean.js +0 -8
- package/toolkit/skills/node_modules/semver/functions/cmp.js +0 -54
- package/toolkit/skills/node_modules/semver/functions/coerce.js +0 -62
- package/toolkit/skills/node_modules/semver/functions/compare-build.js +0 -9
- package/toolkit/skills/node_modules/semver/functions/compare-loose.js +0 -5
- package/toolkit/skills/node_modules/semver/functions/compare.js +0 -7
- package/toolkit/skills/node_modules/semver/functions/diff.js +0 -60
- package/toolkit/skills/node_modules/semver/functions/eq.js +0 -5
- package/toolkit/skills/node_modules/semver/functions/gt.js +0 -5
- package/toolkit/skills/node_modules/semver/functions/gte.js +0 -5
- package/toolkit/skills/node_modules/semver/functions/inc.js +0 -21
- package/toolkit/skills/node_modules/semver/functions/lt.js +0 -5
- package/toolkit/skills/node_modules/semver/functions/lte.js +0 -5
- package/toolkit/skills/node_modules/semver/functions/major.js +0 -5
- package/toolkit/skills/node_modules/semver/functions/minor.js +0 -5
- package/toolkit/skills/node_modules/semver/functions/neq.js +0 -5
- package/toolkit/skills/node_modules/semver/functions/parse.js +0 -18
- package/toolkit/skills/node_modules/semver/functions/patch.js +0 -5
- package/toolkit/skills/node_modules/semver/functions/prerelease.js +0 -8
- package/toolkit/skills/node_modules/semver/functions/rcompare.js +0 -5
- package/toolkit/skills/node_modules/semver/functions/rsort.js +0 -5
- package/toolkit/skills/node_modules/semver/functions/satisfies.js +0 -12
- package/toolkit/skills/node_modules/semver/functions/sort.js +0 -5
- package/toolkit/skills/node_modules/semver/functions/truncate.js +0 -48
- package/toolkit/skills/node_modules/semver/functions/valid.js +0 -8
- package/toolkit/skills/node_modules/semver/index.js +0 -93
- package/toolkit/skills/node_modules/semver/internal/constants.js +0 -67
- package/toolkit/skills/node_modules/semver/internal/debug.js +0 -11
- package/toolkit/skills/node_modules/semver/internal/identifiers.js +0 -29
- package/toolkit/skills/node_modules/semver/internal/lrucache.js +0 -42
- package/toolkit/skills/node_modules/semver/internal/parse-options.js +0 -17
- package/toolkit/skills/node_modules/semver/internal/re.js +0 -223
- package/toolkit/skills/node_modules/semver/internal/trim-comparator-whitespace.js +0 -438
- package/toolkit/skills/node_modules/semver/package.json +0 -78
- package/toolkit/skills/node_modules/semver/preload.js +0 -4
- package/toolkit/skills/node_modules/semver/range.bnf +0 -17
- package/toolkit/skills/node_modules/semver/ranges/gtr.js +0 -6
- package/toolkit/skills/node_modules/semver/ranges/intersects.js +0 -9
- package/toolkit/skills/node_modules/semver/ranges/ltr.js +0 -6
- package/toolkit/skills/node_modules/semver/ranges/max-satisfying.js +0 -27
- package/toolkit/skills/node_modules/semver/ranges/min-satisfying.js +0 -26
- package/toolkit/skills/node_modules/semver/ranges/min-version.js +0 -63
- package/toolkit/skills/node_modules/semver/ranges/outside.js +0 -82
- package/toolkit/skills/node_modules/semver/ranges/simplify.js +0 -49
- package/toolkit/skills/node_modules/semver/ranges/subset.js +0 -249
- package/toolkit/skills/node_modules/semver/ranges/to-comparators.js +0 -10
- package/toolkit/skills/node_modules/semver/ranges/valid.js +0 -13
- package/toolkit/skills/node_modules/sharp/LICENSE +0 -191
- package/toolkit/skills/node_modules/sharp/README.md +0 -112
- package/toolkit/skills/node_modules/sharp/dist/channel.cjs +0 -177
- package/toolkit/skills/node_modules/sharp/dist/channel.mjs +0 -177
- package/toolkit/skills/node_modules/sharp/dist/colour.cjs +0 -199
- package/toolkit/skills/node_modules/sharp/dist/colour.mjs +0 -199
- package/toolkit/skills/node_modules/sharp/dist/composite.cjs +0 -213
- package/toolkit/skills/node_modules/sharp/dist/composite.mjs +0 -213
- package/toolkit/skills/node_modules/sharp/dist/constructor.cjs +0 -511
- package/toolkit/skills/node_modules/sharp/dist/constructor.mjs +0 -511
- package/toolkit/skills/node_modules/sharp/dist/index.cjs +0 -25
- package/toolkit/skills/node_modules/sharp/dist/index.d.cts +0 -1999
- package/toolkit/skills/node_modules/sharp/dist/index.d.mts +0 -2046
- package/toolkit/skills/node_modules/sharp/dist/index.mjs +0 -25
- package/toolkit/skills/node_modules/sharp/dist/input.cjs +0 -819
- package/toolkit/skills/node_modules/sharp/dist/input.mjs +0 -819
- package/toolkit/skills/node_modules/sharp/dist/is.cjs +0 -149
- package/toolkit/skills/node_modules/sharp/dist/is.mjs +0 -149
- package/toolkit/skills/node_modules/sharp/dist/libvips.cjs +0 -212
- package/toolkit/skills/node_modules/sharp/dist/libvips.mjs +0 -212
- package/toolkit/skills/node_modules/sharp/dist/operation.cjs +0 -1002
- package/toolkit/skills/node_modules/sharp/dist/operation.mjs +0 -1002
- package/toolkit/skills/node_modules/sharp/dist/output.cjs +0 -1786
- package/toolkit/skills/node_modules/sharp/dist/output.mjs +0 -1786
- package/toolkit/skills/node_modules/sharp/dist/resize.cjs +0 -617
- package/toolkit/skills/node_modules/sharp/dist/resize.mjs +0 -617
- package/toolkit/skills/node_modules/sharp/dist/sharp.cjs +0 -174
- package/toolkit/skills/node_modules/sharp/dist/sharp.mjs +0 -174
- package/toolkit/skills/node_modules/sharp/dist/utility.cjs +0 -301
- package/toolkit/skills/node_modules/sharp/dist/utility.mjs +0 -301
- package/toolkit/skills/node_modules/sharp/install/build.js +0 -38
- package/toolkit/skills/node_modules/sharp/lib/index.d.ts +0 -1999
- package/toolkit/skills/node_modules/sharp/package.json +0 -227
- package/toolkit/skills/node_modules/sharp/src/binding.gyp +0 -303
- package/toolkit/skills/node_modules/sharp/src/common.cc +0 -1186
- package/toolkit/skills/node_modules/sharp/src/common.h +0 -421
- package/toolkit/skills/node_modules/sharp/src/metadata.cc +0 -404
- package/toolkit/skills/node_modules/sharp/src/metadata.h +0 -95
- package/toolkit/skills/node_modules/sharp/src/operations.cc +0 -516
- package/toolkit/skills/node_modules/sharp/src/operations.h +0 -137
- package/toolkit/skills/node_modules/sharp/src/pipeline.cc +0 -1973
- package/toolkit/skills/node_modules/sharp/src/pipeline.h +0 -422
- package/toolkit/skills/node_modules/sharp/src/sharp.cc +0 -43
- package/toolkit/skills/node_modules/sharp/src/stats.cc +0 -186
- package/toolkit/skills/node_modules/sharp/src/stats.h +0 -62
- package/toolkit/skills/node_modules/sharp/src/utilities.cc +0 -289
- package/toolkit/skills/node_modules/sharp/src/utilities.h +0 -22
|
@@ -1,843 +0,0 @@
|
|
|
1
|
-
import * as regexes from "./regexes.js";
|
|
2
|
-
import { base64Charset, base64urlCharset } from "./schemas.js";
|
|
3
|
-
import { extractDefs, finalize, handleUnrepresentable, initializeContext, processSchema, } from "./to-json-schema.js";
|
|
4
|
-
import { BIGINT_FORMAT_RANGES, NUMBER_FORMAT_RANGES, assignProp, getEnumValues } from "./util.js";
|
|
5
|
-
const narrowMin = (agg, key, value) => {
|
|
6
|
-
if (agg[key] === undefined || value > agg[key])
|
|
7
|
-
agg[key] = value;
|
|
8
|
-
};
|
|
9
|
-
const narrowMax = (agg, key, value) => {
|
|
10
|
-
if (agg[key] === undefined || value < agg[key])
|
|
11
|
-
agg[key] = value;
|
|
12
|
-
};
|
|
13
|
-
const narrowBoth = (agg, value) => {
|
|
14
|
-
narrowMin(agg, "minimum", value);
|
|
15
|
-
narrowMax(agg, "maximum", value);
|
|
16
|
-
};
|
|
17
|
-
const addDivisor = (agg, value) => {
|
|
18
|
-
agg.multipleOf ?? (agg.multipleOf = []);
|
|
19
|
-
if (!agg.multipleOf.includes(value))
|
|
20
|
-
agg.multipleOf.push(value);
|
|
21
|
-
};
|
|
22
|
-
const addPattern = (agg, pattern) => {
|
|
23
|
-
agg.patterns ?? (agg.patterns = new Set());
|
|
24
|
-
agg.patterns.add(pattern);
|
|
25
|
-
};
|
|
26
|
-
const intersectMime = (agg, mime) => {
|
|
27
|
-
agg.mime = agg.mime ? agg.mime.filter((m) => mime.includes(m)) : [...mime];
|
|
28
|
-
};
|
|
29
|
-
// last-wins, matching the bag's historical write order; the flag keeps an integer format from being lost to a later float one
|
|
30
|
-
const setFormat = (agg, format) => {
|
|
31
|
-
agg.format = format;
|
|
32
|
-
if (format.includes("int"))
|
|
33
|
-
agg.isInt = true;
|
|
34
|
-
};
|
|
35
|
-
const minContributor = (agg, def) => narrowMin(agg, "minimum", def.minimum);
|
|
36
|
-
const maxContributor = (agg, def) => narrowMax(agg, "maximum", def.maximum);
|
|
37
|
-
const formatContributor = (ranges) => (agg, def) => {
|
|
38
|
-
setFormat(agg, def.format);
|
|
39
|
-
const [minimum, maximum] = ranges[def.format];
|
|
40
|
-
narrowMin(agg, "minimum", minimum);
|
|
41
|
-
narrowMax(agg, "maximum", maximum);
|
|
42
|
-
};
|
|
43
|
-
const contributors = {
|
|
44
|
-
greater_than: (agg, def) => narrowMin(agg, def.inclusive ? "minimum" : "exclusiveMinimum", def.value),
|
|
45
|
-
less_than: (agg, def) => narrowMax(agg, def.inclusive ? "maximum" : "exclusiveMaximum", def.value),
|
|
46
|
-
multiple_of: (agg, def) => addDivisor(agg, def.value),
|
|
47
|
-
number_format: formatContributor(NUMBER_FORMAT_RANGES),
|
|
48
|
-
bigint_format: formatContributor(BIGINT_FORMAT_RANGES),
|
|
49
|
-
min_length: minContributor,
|
|
50
|
-
max_length: maxContributor,
|
|
51
|
-
length_equals: (agg, def) => narrowBoth(agg, def.length),
|
|
52
|
-
min_size: minContributor,
|
|
53
|
-
max_size: maxContributor,
|
|
54
|
-
size_equals: (agg, def) => narrowBoth(agg, def.size),
|
|
55
|
-
string_format: (agg, def) => {
|
|
56
|
-
setFormat(agg, def.format);
|
|
57
|
-
if (def.pattern)
|
|
58
|
-
addPattern(agg, def.pattern);
|
|
59
|
-
if (def.format === "base64" || def.format === "base64url")
|
|
60
|
-
agg.contentEncoding = def.format;
|
|
61
|
-
if (def.local || def.precision === -1)
|
|
62
|
-
agg.laxFormat = true;
|
|
63
|
-
},
|
|
64
|
-
mime_type: (agg, def) => intersectMime(agg, def.mime),
|
|
65
|
-
};
|
|
66
|
-
export function aggregateChecks(schema) {
|
|
67
|
-
const agg = {};
|
|
68
|
-
const def = schema._zod.def;
|
|
69
|
-
// a format schema is its own first check, same rule as $ZodType init
|
|
70
|
-
const list = schema._zod.traits.has("$ZodCheck")
|
|
71
|
-
? [schema, ...(def.checks ?? [])]
|
|
72
|
-
: (def.checks ?? []);
|
|
73
|
-
for (const ch of list)
|
|
74
|
-
contributors[ch._zod.def.check]?.(agg, ch._zod.def);
|
|
75
|
-
// reconcile with the bag so third-party onattach contributions still land; first-party residue is never tighter than the fold, so merging it back is idempotent for one and additive for the other
|
|
76
|
-
const bag = schema._zod.bag;
|
|
77
|
-
if (bag.minimum !== undefined)
|
|
78
|
-
narrowMin(agg, "minimum", bag.minimum);
|
|
79
|
-
if (bag.exclusiveMinimum !== undefined)
|
|
80
|
-
narrowMin(agg, "exclusiveMinimum", bag.exclusiveMinimum);
|
|
81
|
-
if (bag.maximum !== undefined)
|
|
82
|
-
narrowMax(agg, "maximum", bag.maximum);
|
|
83
|
-
if (bag.exclusiveMaximum !== undefined)
|
|
84
|
-
narrowMax(agg, "exclusiveMaximum", bag.exclusiveMaximum);
|
|
85
|
-
if (bag.multipleOf !== undefined)
|
|
86
|
-
addDivisor(agg, bag.multipleOf);
|
|
87
|
-
if (bag.format !== undefined) {
|
|
88
|
-
agg.format ?? (agg.format = bag.format);
|
|
89
|
-
if (bag.format.includes("int"))
|
|
90
|
-
agg.isInt = true;
|
|
91
|
-
}
|
|
92
|
-
if (bag.mime)
|
|
93
|
-
intersectMime(agg, bag.mime);
|
|
94
|
-
for (const pattern of bag.patterns ?? [])
|
|
95
|
-
addPattern(agg, pattern);
|
|
96
|
-
return agg;
|
|
97
|
-
}
|
|
98
|
-
const formatMap = {
|
|
99
|
-
guid: "uuid",
|
|
100
|
-
url: "uri",
|
|
101
|
-
datetime: "date-time",
|
|
102
|
-
json_string: "json-string",
|
|
103
|
-
regex: "", // do not set
|
|
104
|
-
};
|
|
105
|
-
// ==================== SIMPLE TYPE PROCESSORS ====================
|
|
106
|
-
// the runtime patterns are lax so parse paths never overflow the regex stack; the emitted schema swaps in the exact block forms, which zod itself never executes
|
|
107
|
-
const exactPatterns = new Map([
|
|
108
|
-
[base64Charset, regexes.base64],
|
|
109
|
-
[base64urlCharset, regexes.base64url],
|
|
110
|
-
]);
|
|
111
|
-
const exactPattern = (p) => exactPatterns.get(p) ?? p;
|
|
112
|
-
export const stringProcessor = (schema, ctx, _json, _params) => {
|
|
113
|
-
const json = _json;
|
|
114
|
-
json.type = "string";
|
|
115
|
-
const { minimum, maximum, format, patterns, contentEncoding, laxFormat } = aggregateChecks(schema);
|
|
116
|
-
if (typeof minimum === "number")
|
|
117
|
-
json.minLength = minimum;
|
|
118
|
-
if (typeof maximum === "number")
|
|
119
|
-
json.maxLength = maximum;
|
|
120
|
-
// custom pattern overrides format
|
|
121
|
-
if (format) {
|
|
122
|
-
json.format = formatMap[format] ?? format;
|
|
123
|
-
if (json.format === "")
|
|
124
|
-
delete json.format; // empty format is not valid
|
|
125
|
-
// `z.iso.time()` is never full-time, and `laxFormat` carries the datetime shapes that also accept what their keyword forbids
|
|
126
|
-
if (format === "time" || laxFormat) {
|
|
127
|
-
delete json.format;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
if (contentEncoding)
|
|
131
|
-
json.contentEncoding = contentEncoding;
|
|
132
|
-
if (patterns && patterns.size > 0) {
|
|
133
|
-
const patternList = [...patterns].map(exactPattern);
|
|
134
|
-
if (patternList.length === 1)
|
|
135
|
-
json.pattern = patternList[0].source;
|
|
136
|
-
else if (patternList.length > 1) {
|
|
137
|
-
json.allOf = [
|
|
138
|
-
...patternList.map((regex) => ({
|
|
139
|
-
...(ctx.target === "draft-07" || ctx.target === "draft-04" || ctx.target === "openapi-3.0"
|
|
140
|
-
? { type: "string" }
|
|
141
|
-
: {}),
|
|
142
|
-
pattern: regex.source,
|
|
143
|
-
})),
|
|
144
|
-
];
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
};
|
|
148
|
-
export const numberProcessor = (schema, ctx, _json, params) => {
|
|
149
|
-
const json = _json;
|
|
150
|
-
const { minimum, maximum, multipleOf, exclusiveMaximum, exclusiveMinimum, isInt } = aggregateChecks(schema);
|
|
151
|
-
json.type = isInt ? "integer" : "number";
|
|
152
|
-
// when both minimum and exclusiveMinimum exist, pick the more restrictive one
|
|
153
|
-
const exMin = typeof exclusiveMinimum === "number" && exclusiveMinimum >= (minimum ?? Number.NEGATIVE_INFINITY);
|
|
154
|
-
const exMax = typeof exclusiveMaximum === "number" && exclusiveMaximum <= (maximum ?? Number.POSITIVE_INFINITY);
|
|
155
|
-
const legacy = ctx.target === "draft-04" || ctx.target === "openapi-3.0";
|
|
156
|
-
if (exMin) {
|
|
157
|
-
if (legacy) {
|
|
158
|
-
json.minimum = exclusiveMinimum;
|
|
159
|
-
json.exclusiveMinimum = true;
|
|
160
|
-
}
|
|
161
|
-
else {
|
|
162
|
-
json.exclusiveMinimum = exclusiveMinimum;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
else if (typeof minimum === "number") {
|
|
166
|
-
json.minimum = minimum;
|
|
167
|
-
}
|
|
168
|
-
if (exMax) {
|
|
169
|
-
if (legacy) {
|
|
170
|
-
json.maximum = exclusiveMaximum;
|
|
171
|
-
json.exclusiveMaximum = true;
|
|
172
|
-
}
|
|
173
|
-
else {
|
|
174
|
-
json.exclusiveMaximum = exclusiveMaximum;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
else if (typeof maximum === "number") {
|
|
178
|
-
json.maximum = maximum;
|
|
179
|
-
}
|
|
180
|
-
if (multipleOf) {
|
|
181
|
-
// JSON Schema requires a divisor strictly greater than zero, and a non-finite one does not survive JSON at all. A negative divisor accepts exactly what its absolute value accepts, so it still maps; zero, NaN and Infinity have no keyword form.
|
|
182
|
-
const divisors = new Set();
|
|
183
|
-
for (const divisor of multipleOf) {
|
|
184
|
-
if (Number.isFinite(divisor) && divisor !== 0)
|
|
185
|
-
divisors.add(Math.abs(divisor));
|
|
186
|
-
else
|
|
187
|
-
handleUnrepresentable(schema, ctx, json, params, `A multipleOf divisor of ${divisor} cannot be represented in JSON Schema`);
|
|
188
|
-
}
|
|
189
|
-
// chained divisors are a conjunction the keyword cannot carry alone, so extras ride an allOf, same as stacked patterns
|
|
190
|
-
const [first, ...rest] = divisors;
|
|
191
|
-
if (first !== undefined)
|
|
192
|
-
json.multipleOf = first;
|
|
193
|
-
if (rest.length)
|
|
194
|
-
json.allOf = [...(json.allOf ?? []), ...rest.map((m) => ({ multipleOf: m }))];
|
|
195
|
-
}
|
|
196
|
-
};
|
|
197
|
-
export const booleanProcessor = (_schema, _ctx, json, _params) => {
|
|
198
|
-
json.type = "boolean";
|
|
199
|
-
};
|
|
200
|
-
export const bigintProcessor = (schema, ctx, json, params) => {
|
|
201
|
-
handleUnrepresentable(schema, ctx, json, params, "BigInt cannot be represented in JSON Schema");
|
|
202
|
-
};
|
|
203
|
-
export const symbolProcessor = (schema, ctx, json, params) => {
|
|
204
|
-
handleUnrepresentable(schema, ctx, json, params, "Symbols cannot be represented in JSON Schema");
|
|
205
|
-
};
|
|
206
|
-
export const nullProcessor = (_schema, ctx, json, _params) => {
|
|
207
|
-
if (ctx.target === "openapi-3.0") {
|
|
208
|
-
json.type = "string";
|
|
209
|
-
json.nullable = true;
|
|
210
|
-
json.enum = [null];
|
|
211
|
-
}
|
|
212
|
-
else {
|
|
213
|
-
json.type = "null";
|
|
214
|
-
}
|
|
215
|
-
};
|
|
216
|
-
export const undefinedProcessor = (schema, ctx, json, params) => {
|
|
217
|
-
handleUnrepresentable(schema, ctx, json, params, "Undefined cannot be represented in JSON Schema");
|
|
218
|
-
};
|
|
219
|
-
export const voidProcessor = (schema, ctx, json, params) => {
|
|
220
|
-
handleUnrepresentable(schema, ctx, json, params, "Void cannot be represented in JSON Schema");
|
|
221
|
-
};
|
|
222
|
-
export const neverProcessor = (_schema, _ctx, json, _params) => {
|
|
223
|
-
json.not = {};
|
|
224
|
-
};
|
|
225
|
-
export const anyProcessor = (_schema, _ctx, _json, _params) => {
|
|
226
|
-
// empty schema accepts anything
|
|
227
|
-
};
|
|
228
|
-
export const unknownProcessor = (_schema, _ctx, _json, _params) => {
|
|
229
|
-
// empty schema accepts anything
|
|
230
|
-
};
|
|
231
|
-
export const dateProcessor = (schema, ctx, json, params) => {
|
|
232
|
-
handleUnrepresentable(schema, ctx, json, params, "Date cannot be represented in JSON Schema");
|
|
233
|
-
};
|
|
234
|
-
export const enumProcessor = (schema, _ctx, json, _params) => {
|
|
235
|
-
const def = schema._zod.def;
|
|
236
|
-
const values = getEnumValues(def.entries);
|
|
237
|
-
// an empty enum accepts nothing, same as z.never()
|
|
238
|
-
if (values.length === 0) {
|
|
239
|
-
json.not = {};
|
|
240
|
-
return;
|
|
241
|
-
}
|
|
242
|
-
// Number enums can have both string and number values
|
|
243
|
-
if (values.every((v) => typeof v === "number"))
|
|
244
|
-
json.type = "number";
|
|
245
|
-
if (values.every((v) => typeof v === "string"))
|
|
246
|
-
json.type = "string";
|
|
247
|
-
json.enum = values;
|
|
248
|
-
};
|
|
249
|
-
export const literalProcessor = (schema, ctx, json, params) => {
|
|
250
|
-
const def = schema._zod.def;
|
|
251
|
-
// a literal with no values accepts nothing, same as z.never()
|
|
252
|
-
if (def.values.length === 0) {
|
|
253
|
-
json.not = {};
|
|
254
|
-
return;
|
|
255
|
-
}
|
|
256
|
-
const vals = [];
|
|
257
|
-
for (const val of def.values) {
|
|
258
|
-
if (val === undefined) {
|
|
259
|
-
// a custom schema replaces the whole literal, so there is nothing left to accumulate
|
|
260
|
-
if (handleUnrepresentable(schema, ctx, json, params, "Literal `undefined` cannot be represented in JSON Schema"))
|
|
261
|
-
return;
|
|
262
|
-
// otherwise do not add to vals
|
|
263
|
-
}
|
|
264
|
-
else if (typeof val === "bigint") {
|
|
265
|
-
if (handleUnrepresentable(schema, ctx, json, params, "BigInt literals cannot be represented in JSON Schema"))
|
|
266
|
-
return;
|
|
267
|
-
vals.push(Number(val));
|
|
268
|
-
}
|
|
269
|
-
else {
|
|
270
|
-
vals.push(val);
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
if (vals.length === 0) {
|
|
274
|
-
// do nothing (an undefined literal was stripped)
|
|
275
|
-
}
|
|
276
|
-
else if (vals.length === 1) {
|
|
277
|
-
const val = vals[0];
|
|
278
|
-
json.type = val === null ? "null" : typeof val;
|
|
279
|
-
if (ctx.target === "draft-04" || ctx.target === "openapi-3.0") {
|
|
280
|
-
json.enum = [val];
|
|
281
|
-
}
|
|
282
|
-
else {
|
|
283
|
-
json.const = val;
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
else {
|
|
287
|
-
if (vals.every((v) => typeof v === "number"))
|
|
288
|
-
json.type = "number";
|
|
289
|
-
if (vals.every((v) => typeof v === "string"))
|
|
290
|
-
json.type = "string";
|
|
291
|
-
if (vals.every((v) => typeof v === "boolean"))
|
|
292
|
-
json.type = "boolean";
|
|
293
|
-
if (vals.every((v) => v === null))
|
|
294
|
-
json.type = "null";
|
|
295
|
-
json.enum = vals;
|
|
296
|
-
}
|
|
297
|
-
};
|
|
298
|
-
export const nanProcessor = (schema, ctx, json, params) => {
|
|
299
|
-
handleUnrepresentable(schema, ctx, json, params, "NaN cannot be represented in JSON Schema");
|
|
300
|
-
};
|
|
301
|
-
export const templateLiteralProcessor = (schema, _ctx, json, _params) => {
|
|
302
|
-
const _json = json;
|
|
303
|
-
const pattern = schema._zod.pattern;
|
|
304
|
-
if (!pattern)
|
|
305
|
-
throw new Error("Pattern not found in template literal");
|
|
306
|
-
_json.type = "string";
|
|
307
|
-
_json.pattern = pattern.source;
|
|
308
|
-
};
|
|
309
|
-
export const fileProcessor = (schema, _ctx, json, _params) => {
|
|
310
|
-
const _json = json;
|
|
311
|
-
_json.type = "string";
|
|
312
|
-
_json.format = "binary";
|
|
313
|
-
_json.contentEncoding = "binary";
|
|
314
|
-
const { minimum, maximum, mime } = aggregateChecks(schema);
|
|
315
|
-
if (minimum !== undefined)
|
|
316
|
-
_json.minLength = minimum;
|
|
317
|
-
if (maximum !== undefined)
|
|
318
|
-
_json.maxLength = maximum;
|
|
319
|
-
if (!mime)
|
|
320
|
-
return;
|
|
321
|
-
// an empty intersection means the mime checks share no value, so nothing passes at runtime; `anyOf` must be non-empty, so the false schema is `not: {}`
|
|
322
|
-
if (mime.length === 0)
|
|
323
|
-
_json.not = {};
|
|
324
|
-
else if (mime.length === 1)
|
|
325
|
-
_json.contentMediaType = mime[0];
|
|
326
|
-
// only contentMediaType differs, so the shared props stay at the root
|
|
327
|
-
else
|
|
328
|
-
_json.anyOf = mime.map((m) => ({ contentMediaType: m }));
|
|
329
|
-
};
|
|
330
|
-
export const successProcessor = (_schema, _ctx, json, _params) => {
|
|
331
|
-
json.type = "boolean";
|
|
332
|
-
};
|
|
333
|
-
export const customProcessor = (schema, ctx, json, params) => {
|
|
334
|
-
handleUnrepresentable(schema, ctx, json, params, "Custom types cannot be represented in JSON Schema");
|
|
335
|
-
};
|
|
336
|
-
export const functionProcessor = (schema, ctx, json, params) => {
|
|
337
|
-
handleUnrepresentable(schema, ctx, json, params, "Function types cannot be represented in JSON Schema");
|
|
338
|
-
};
|
|
339
|
-
export const transformProcessor = (schema, ctx, json, params) => {
|
|
340
|
-
handleUnrepresentable(schema, ctx, json, params, "Transforms cannot be represented in JSON Schema");
|
|
341
|
-
};
|
|
342
|
-
export const mapProcessor = (schema, ctx, json, params) => {
|
|
343
|
-
handleUnrepresentable(schema, ctx, json, params, "Map cannot be represented in JSON Schema");
|
|
344
|
-
};
|
|
345
|
-
export const setProcessor = (schema, ctx, json, params) => {
|
|
346
|
-
handleUnrepresentable(schema, ctx, json, params, "Set cannot be represented in JSON Schema");
|
|
347
|
-
};
|
|
348
|
-
// ==================== COMPOSITE TYPE PROCESSORS ====================
|
|
349
|
-
export const arrayProcessor = (schema, ctx, _json, params) => {
|
|
350
|
-
const json = _json;
|
|
351
|
-
const def = schema._zod.def;
|
|
352
|
-
const { minimum, maximum } = aggregateChecks(schema);
|
|
353
|
-
if (typeof minimum === "number")
|
|
354
|
-
json.minItems = minimum;
|
|
355
|
-
if (typeof maximum === "number")
|
|
356
|
-
json.maxItems = maximum;
|
|
357
|
-
json.type = "array";
|
|
358
|
-
json.items = processSchema(def.element, ctx, {
|
|
359
|
-
...params,
|
|
360
|
-
path: [...params.path, "items"],
|
|
361
|
-
});
|
|
362
|
-
};
|
|
363
|
-
// Transform and catch set `optin = "optional"` at runtime so the parser lets them observe an
|
|
364
|
-
// absent key, but their declared input type stays required. An input JSON Schema describes the
|
|
365
|
-
// declared type, so resolve past them to the schema that actually carries the optionality.
|
|
366
|
-
// Used by both `objectProcessor` (for `required`) and `tupleProcessor` (for `minItems`); see
|
|
367
|
-
// wiki/optionality.md, "The JSON Schema emitter reads the *static* value".
|
|
368
|
-
function inputOptin(schema) {
|
|
369
|
-
const def = schema._zod.def;
|
|
370
|
-
if (def.type === "pipe" && def.in._zod.traits.has("$ZodTransform")) {
|
|
371
|
-
return inputOptin(def.out);
|
|
372
|
-
}
|
|
373
|
-
if (def.type === "catch") {
|
|
374
|
-
return inputOptin(def.innerType);
|
|
375
|
-
}
|
|
376
|
-
return schema._zod.optin;
|
|
377
|
-
}
|
|
378
|
-
export const objectProcessor = (schema, ctx, _json, params) => {
|
|
379
|
-
const json = _json;
|
|
380
|
-
const def = schema._zod.def;
|
|
381
|
-
const shape = def.shape;
|
|
382
|
-
// dropping it while still emitting `additionalProperties: false` would emit a schema that rejects data this one requires
|
|
383
|
-
const symbolKeys = Object.getOwnPropertySymbols(shape);
|
|
384
|
-
if (symbolKeys.length &&
|
|
385
|
-
handleUnrepresentable(schema, ctx, json, params, "Symbol keys cannot be represented in JSON Schema")) {
|
|
386
|
-
return;
|
|
387
|
-
}
|
|
388
|
-
json.type = "object";
|
|
389
|
-
json.properties = {};
|
|
390
|
-
for (const key in shape) {
|
|
391
|
-
// assignProp so a __proto__ key becomes an own property instead of hitting the inherited setter on the plain {} we build into
|
|
392
|
-
assignProp(json.properties, key, processSchema(shape[key], ctx, {
|
|
393
|
-
...params,
|
|
394
|
-
path: [...params.path, "properties", key],
|
|
395
|
-
}));
|
|
396
|
-
}
|
|
397
|
-
// required keys
|
|
398
|
-
const requiredKeys = [];
|
|
399
|
-
for (const key of Object.keys(shape)) {
|
|
400
|
-
const field = def.shape[key];
|
|
401
|
-
if (ctx.io === "input" ? inputOptin(field) === undefined : field._zod.optout === undefined) {
|
|
402
|
-
requiredKeys.push(key);
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
if (requiredKeys.length > 0) {
|
|
406
|
-
json.required = requiredKeys;
|
|
407
|
-
}
|
|
408
|
-
// catchall
|
|
409
|
-
if (def.catchall?._zod.def.type === "never") {
|
|
410
|
-
// strict
|
|
411
|
-
json.additionalProperties = false;
|
|
412
|
-
}
|
|
413
|
-
else if (!def.catchall) {
|
|
414
|
-
// regular
|
|
415
|
-
if (ctx.io === "output")
|
|
416
|
-
json.additionalProperties = false;
|
|
417
|
-
}
|
|
418
|
-
else if (def.catchall) {
|
|
419
|
-
json.additionalProperties = processSchema(def.catchall, ctx, {
|
|
420
|
-
...params,
|
|
421
|
-
path: [...params.path, "additionalProperties"],
|
|
422
|
-
});
|
|
423
|
-
}
|
|
424
|
-
};
|
|
425
|
-
export const unionProcessor = (schema, ctx, json, params) => {
|
|
426
|
-
const def = schema._zod.def;
|
|
427
|
-
// Exclusive unions (inclusive === false) use oneOf (exactly one match) instead of anyOf (one or more matches). This includes both z.xor() and discriminated unions
|
|
428
|
-
const isExclusive = def.inclusive === false;
|
|
429
|
-
const options = def.options.map((x, i) => processSchema(x, ctx, {
|
|
430
|
-
...params,
|
|
431
|
-
path: [...params.path, isExclusive ? "oneOf" : "anyOf", i],
|
|
432
|
-
}));
|
|
433
|
-
if (isExclusive) {
|
|
434
|
-
json.oneOf = options;
|
|
435
|
-
}
|
|
436
|
-
else {
|
|
437
|
-
json.anyOf = options;
|
|
438
|
-
}
|
|
439
|
-
};
|
|
440
|
-
export const intersectionProcessor = (schema, ctx, json, params) => {
|
|
441
|
-
const def = schema._zod.def;
|
|
442
|
-
const a = processSchema(def.left, ctx, {
|
|
443
|
-
...params,
|
|
444
|
-
path: [...params.path, "allOf", 0],
|
|
445
|
-
});
|
|
446
|
-
const b = processSchema(def.right, ctx, {
|
|
447
|
-
...params,
|
|
448
|
-
path: [...params.path, "allOf", 1],
|
|
449
|
-
});
|
|
450
|
-
const isSimpleIntersection = (val) => "allOf" in val && Object.keys(val).length === 1;
|
|
451
|
-
const allOf = [
|
|
452
|
-
...(isSimpleIntersection(a) ? a.allOf : [a]),
|
|
453
|
-
...(isSimpleIntersection(b) ? b.allOf : [b]),
|
|
454
|
-
];
|
|
455
|
-
json.allOf = allOf;
|
|
456
|
-
// Recorded innermost first, so a nested intersection has already folded by the time this one is considered. The array is the handle rather than the schema, because a wrapper that inherits this schema shares the same array; `finalize` folds every object holding it. See `foldIntersection`.
|
|
457
|
-
ctx.intersections.push(allOf);
|
|
458
|
-
};
|
|
459
|
-
export const tupleProcessor = (schema, ctx, _json, params) => {
|
|
460
|
-
const json = _json;
|
|
461
|
-
const def = schema._zod.def;
|
|
462
|
-
json.type = "array";
|
|
463
|
-
const prefixPath = ctx.target === "draft-2020-12" ? "prefixItems" : "items";
|
|
464
|
-
const restPath = ctx.target === "draft-2020-12" ? "items" : ctx.target === "openapi-3.0" ? "items" : "additionalItems";
|
|
465
|
-
const prefixItems = def.items.map((x, i) => processSchema(x, ctx, {
|
|
466
|
-
...params,
|
|
467
|
-
path: [...params.path, prefixPath, i],
|
|
468
|
-
}));
|
|
469
|
-
const rest = def.rest
|
|
470
|
-
? processSchema(def.rest, ctx, {
|
|
471
|
-
...params,
|
|
472
|
-
path: [...params.path, restPath, ...(ctx.target === "openapi-3.0" ? [def.items.length] : [])],
|
|
473
|
-
})
|
|
474
|
-
: null;
|
|
475
|
-
let minItems = def.items.length;
|
|
476
|
-
while (minItems > 0) {
|
|
477
|
-
const item = def.items[minItems - 1];
|
|
478
|
-
const optional = ctx.io === "input" ? inputOptin(item) !== undefined : item._zod.optout === "optional";
|
|
479
|
-
if (!optional)
|
|
480
|
-
break;
|
|
481
|
-
minItems--;
|
|
482
|
-
}
|
|
483
|
-
const maxItems = def.items.length;
|
|
484
|
-
const isClosed = !def.rest;
|
|
485
|
-
if (ctx.target === "draft-2020-12") {
|
|
486
|
-
json.prefixItems = prefixItems;
|
|
487
|
-
if (isClosed) {
|
|
488
|
-
json.items = false;
|
|
489
|
-
}
|
|
490
|
-
else if (rest) {
|
|
491
|
-
json.items = rest;
|
|
492
|
-
}
|
|
493
|
-
if (minItems > 0)
|
|
494
|
-
json.minItems = minItems;
|
|
495
|
-
if (isClosed)
|
|
496
|
-
json.maxItems = maxItems;
|
|
497
|
-
}
|
|
498
|
-
else if (ctx.target === "openapi-3.0") {
|
|
499
|
-
json.items = {
|
|
500
|
-
anyOf: prefixItems,
|
|
501
|
-
};
|
|
502
|
-
if (rest) {
|
|
503
|
-
json.items.anyOf.push(rest);
|
|
504
|
-
}
|
|
505
|
-
if (minItems > 0)
|
|
506
|
-
json.minItems = minItems;
|
|
507
|
-
if (isClosed)
|
|
508
|
-
json.maxItems = maxItems;
|
|
509
|
-
}
|
|
510
|
-
else {
|
|
511
|
-
json.items = prefixItems;
|
|
512
|
-
if (isClosed) {
|
|
513
|
-
json.additionalItems = false;
|
|
514
|
-
}
|
|
515
|
-
else if (rest) {
|
|
516
|
-
json.additionalItems = rest;
|
|
517
|
-
}
|
|
518
|
-
if (minItems > 0)
|
|
519
|
-
json.minItems = minItems;
|
|
520
|
-
if (isClosed)
|
|
521
|
-
json.maxItems = maxItems;
|
|
522
|
-
}
|
|
523
|
-
// explicit user-defined length checks take precedence
|
|
524
|
-
const { minimum, maximum } = aggregateChecks(schema);
|
|
525
|
-
if (typeof minimum === "number")
|
|
526
|
-
json.minItems = minimum;
|
|
527
|
-
if (typeof maximum === "number")
|
|
528
|
-
json.maxItems = maximum;
|
|
529
|
-
};
|
|
530
|
-
/** JSON object keys are always strings, so a numeric record key schema is re-expressed over the
|
|
531
|
-
* numeric-string form the record parser matches. Deferred to `finalize`, after the flatten: a key
|
|
532
|
-
* behind a wrapper only carries its own `type` before then, and a union key only has its branches.
|
|
533
|
-
*
|
|
534
|
-
* A numeric bound cannot apply to a property name, so `minimum` and its siblings are dropped rather
|
|
535
|
-
* than carried over: keeping them beside `type: "string"` reproduces the match-nothing schema this
|
|
536
|
-
* exists to fix. A key that carries one therefore emits wider than the record parses — `z.record(z.number().min(5), V)`
|
|
537
|
-
* accepts `"3"` — which is the deliberate trade, since throwing on it would reject an ordinary schema
|
|
538
|
-
* outright. */
|
|
539
|
-
function stringifyKeyNames(bySchema, json, visited) {
|
|
540
|
-
// an extracted key that rewrites cannot go on sharing its definition — the string form a key position needs is not the number form every other reference wants — so it inlines. One that does not rewrite keeps the `$ref`.
|
|
541
|
-
if (json.$ref) {
|
|
542
|
-
// a recursive key holds its own reference inside its definition, so a node already on the path is left alone rather than resolved again
|
|
543
|
-
if (visited.has(json))
|
|
544
|
-
return json;
|
|
545
|
-
visited.add(json);
|
|
546
|
-
const def = bySchema.get(json)?.def;
|
|
547
|
-
if (!def)
|
|
548
|
-
return json;
|
|
549
|
-
const inlined = stringifyKeyNames(bySchema, def, visited);
|
|
550
|
-
return inlined === def ? json : inlined;
|
|
551
|
-
}
|
|
552
|
-
for (const keyword of ["anyOf", "oneOf"]) {
|
|
553
|
-
const branches = json[keyword];
|
|
554
|
-
if (!Array.isArray(branches))
|
|
555
|
-
continue;
|
|
556
|
-
const mapped = branches.map((branch) => stringifyKeyNames(bySchema, branch, visited));
|
|
557
|
-
// rebuilding regardless would detach a key that had nothing to re-express, dropping its `$ref` and leaking the internal `id`
|
|
558
|
-
if (mapped.some((branch, i) => branch !== branches[i]))
|
|
559
|
-
json = { ...json, [keyword]: mapped };
|
|
560
|
-
}
|
|
561
|
-
// a member that already admits a string leaves the key unconstrained, so the node's own type re-expresses only when every member is numeric
|
|
562
|
-
const types = Array.isArray(json.type) ? json.type : [json.type];
|
|
563
|
-
const numericType = !types.includes("string") && types.some((t) => t === "number" || t === "integer");
|
|
564
|
-
// a heterogeneous key carries no type at all, so its numeric members are caught here instead
|
|
565
|
-
const values = json.enum ?? (json.const !== undefined ? [json.const] : undefined);
|
|
566
|
-
if (!numericType && !values?.some((v) => typeof v === "number"))
|
|
567
|
-
return json;
|
|
568
|
-
const { minimum, maximum, exclusiveMinimum, exclusiveMaximum, multipleOf, format, id, ...rest } = json;
|
|
569
|
-
if (rest.enum)
|
|
570
|
-
rest.enum = rest.enum.map((v) => (typeof v === "number" ? String(v) : v));
|
|
571
|
-
else if (typeof rest.const === "number")
|
|
572
|
-
rest.const = String(rest.const);
|
|
573
|
-
// a heterogeneous key keeps its absent type: the stringified members already say what a key may be
|
|
574
|
-
if (!numericType)
|
|
575
|
-
return rest;
|
|
576
|
-
rest.type = "string";
|
|
577
|
-
if (!values)
|
|
578
|
-
rest.pattern = (types.includes("number") ? regexes.number : regexes.integer).source;
|
|
579
|
-
return rest;
|
|
580
|
-
}
|
|
581
|
-
/** Every record of one conversion, so the carriers are found in a single pass rather than once per record. */
|
|
582
|
-
const pendingRecords = new WeakMap();
|
|
583
|
-
function rewriteKeyNames(ctx) {
|
|
584
|
-
// an extracted key is resolved by the object `extractToDef` left in its place, so the map is built once rather than searched per reference. `_zod.toJSONSchema` can hand the same object to two schemas, so the first entry carrying a body wins, as a search would have found it.
|
|
585
|
-
const bySchema = new Map();
|
|
586
|
-
for (const entry of ctx.seen.values()) {
|
|
587
|
-
if (entry.def && !bySchema.has(entry.schema))
|
|
588
|
-
bySchema.set(entry.schema, entry);
|
|
589
|
-
}
|
|
590
|
-
const rewrites = new Map();
|
|
591
|
-
for (const record of pendingRecords.get(ctx) ?? []) {
|
|
592
|
-
const seen = ctx.seen.get(record);
|
|
593
|
-
const names = (seen?.def ?? seen?.schema)?.propertyNames;
|
|
594
|
-
if (!names || names === true || rewrites.has(names))
|
|
595
|
-
continue;
|
|
596
|
-
const rewritten = stringifyKeyNames(bySchema, names, new Set());
|
|
597
|
-
if (rewritten !== names)
|
|
598
|
-
rewrites.set(names, rewritten);
|
|
599
|
-
}
|
|
600
|
-
if (!rewrites.size)
|
|
601
|
-
return;
|
|
602
|
-
// the flatten has already copied each record's own properties onto every wrapper by reference, and an extracted body is another such copy, so every carrier holding a rewritten key is updated together
|
|
603
|
-
for (const entry of ctx.seen.values()) {
|
|
604
|
-
for (const carrier of [entry.schema, entry.def]) {
|
|
605
|
-
const rewritten = carrier && rewrites.get(carrier.propertyNames);
|
|
606
|
-
if (rewritten)
|
|
607
|
-
carrier.propertyNames = rewritten;
|
|
608
|
-
}
|
|
609
|
-
}
|
|
610
|
-
}
|
|
611
|
-
export const recordProcessor = (schema, ctx, _json, params) => {
|
|
612
|
-
const json = _json;
|
|
613
|
-
const def = schema._zod.def;
|
|
614
|
-
json.type = "object";
|
|
615
|
-
// For looseRecord with regex patterns, use patternProperties. This correctly represents "only validate keys matching the pattern" semantics and composes well with allOf (intersections)
|
|
616
|
-
const keyType = def.keyType;
|
|
617
|
-
const patterns = aggregateChecks(keyType).patterns;
|
|
618
|
-
if (def.mode === "loose" && patterns && patterns.size > 0) {
|
|
619
|
-
// Use patternProperties for looseRecord with regex patterns
|
|
620
|
-
const valueSchema = processSchema(def.valueType, ctx, {
|
|
621
|
-
...params,
|
|
622
|
-
path: [...params.path, "patternProperties", "*"],
|
|
623
|
-
});
|
|
624
|
-
json.patternProperties = {};
|
|
625
|
-
for (const pattern of patterns) {
|
|
626
|
-
assignProp(json.patternProperties, exactPattern(pattern).source, valueSchema);
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
else {
|
|
630
|
-
// Default behavior: use propertyNames + additionalProperties
|
|
631
|
-
if (ctx.target === "draft-07" || ctx.target === "draft-2020-12") {
|
|
632
|
-
json.propertyNames = processSchema(def.keyType, ctx, {
|
|
633
|
-
...params,
|
|
634
|
-
path: [...params.path, "propertyNames"],
|
|
635
|
-
});
|
|
636
|
-
let pending = pendingRecords.get(ctx);
|
|
637
|
-
if (!pending) {
|
|
638
|
-
pending = [];
|
|
639
|
-
pendingRecords.set(ctx, pending);
|
|
640
|
-
ctx.deferred.push(() => rewriteKeyNames(ctx));
|
|
641
|
-
}
|
|
642
|
-
pending.push(schema);
|
|
643
|
-
}
|
|
644
|
-
json.additionalProperties = processSchema(def.valueType, ctx, {
|
|
645
|
-
...params,
|
|
646
|
-
path: [...params.path, "additionalProperties"],
|
|
647
|
-
});
|
|
648
|
-
}
|
|
649
|
-
// Add required for keys with discrete values (enum, literal, etc.)
|
|
650
|
-
const keyValues = keyType._zod.values;
|
|
651
|
-
// Every key shares one value schema, so an optional-in value makes the whole key set omittable on input. Output keeps them: the exhaustive branch assigns every key, even one whose value came back undefined.
|
|
652
|
-
const omittableOnInput = ctx.io === "input" && inputOptin(def.valueType) !== undefined;
|
|
653
|
-
if (keyValues && !def.partial && !omittableOnInput) {
|
|
654
|
-
const validKeyValues = [...keyValues].filter((v) => typeof v === "string" || typeof v === "number");
|
|
655
|
-
if (validKeyValues.length > 0) {
|
|
656
|
-
json.required = validKeyValues.map(String);
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
};
|
|
660
|
-
export const nullableProcessor = (schema, ctx, json, params) => {
|
|
661
|
-
const def = schema._zod.def;
|
|
662
|
-
const inner = processSchema(def.innerType, ctx, params);
|
|
663
|
-
const seen = ctx.seen.get(schema);
|
|
664
|
-
if (ctx.target === "openapi-3.0") {
|
|
665
|
-
seen.ref = def.innerType;
|
|
666
|
-
json.nullable = true;
|
|
667
|
-
}
|
|
668
|
-
else {
|
|
669
|
-
json.anyOf = [inner, { type: "null" }];
|
|
670
|
-
}
|
|
671
|
-
};
|
|
672
|
-
export const nonoptionalProcessor = (schema, ctx, _json, params) => {
|
|
673
|
-
const def = schema._zod.def;
|
|
674
|
-
processSchema(def.innerType, ctx, params);
|
|
675
|
-
const seen = ctx.seen.get(schema);
|
|
676
|
-
seen.ref = def.innerType;
|
|
677
|
-
};
|
|
678
|
-
/** Round-trips a default value through JSON so the emitted schema is guaranteed to be valid JSON.
|
|
679
|
-
* A BigInt has no reliable encoding, so it goes through `unrepresentable` like any other
|
|
680
|
-
* unrepresentable value. Returns a sentinel when the caller must not write a default of its own. */
|
|
681
|
-
const UNREPRESENTABLE_DEFAULT = Symbol();
|
|
682
|
-
function serializeDefaultValue(value, schema, ctx, json, params) {
|
|
683
|
-
let unrepresentable = false;
|
|
684
|
-
const serialized = JSON.stringify(value, (_, val) => {
|
|
685
|
-
if (typeof val !== "bigint")
|
|
686
|
-
return val;
|
|
687
|
-
unrepresentable = true;
|
|
688
|
-
return null;
|
|
689
|
-
});
|
|
690
|
-
if (!unrepresentable)
|
|
691
|
-
return JSON.parse(serialized);
|
|
692
|
-
handleUnrepresentable(schema, ctx, json, params, "BigInt defaults cannot be represented in JSON Schema");
|
|
693
|
-
return UNREPRESENTABLE_DEFAULT;
|
|
694
|
-
}
|
|
695
|
-
export const defaultProcessor = (schema, ctx, json, params) => {
|
|
696
|
-
const def = schema._zod.def;
|
|
697
|
-
processSchema(def.innerType, ctx, params);
|
|
698
|
-
const seen = ctx.seen.get(schema);
|
|
699
|
-
seen.ref = def.innerType;
|
|
700
|
-
const value = serializeDefaultValue(def.defaultValue, schema, ctx, json, params);
|
|
701
|
-
if (value !== UNREPRESENTABLE_DEFAULT)
|
|
702
|
-
json.default = value;
|
|
703
|
-
};
|
|
704
|
-
export const prefaultProcessor = (schema, ctx, json, params) => {
|
|
705
|
-
const def = schema._zod.def;
|
|
706
|
-
processSchema(def.innerType, ctx, params);
|
|
707
|
-
const seen = ctx.seen.get(schema);
|
|
708
|
-
seen.ref = def.innerType;
|
|
709
|
-
if (ctx.io !== "input")
|
|
710
|
-
return;
|
|
711
|
-
const value = serializeDefaultValue(def.defaultValue, schema, ctx, json, params);
|
|
712
|
-
if (value !== UNREPRESENTABLE_DEFAULT)
|
|
713
|
-
json._prefault = value;
|
|
714
|
-
};
|
|
715
|
-
export const catchProcessor = (schema, ctx, json, params) => {
|
|
716
|
-
const def = schema._zod.def;
|
|
717
|
-
processSchema(def.innerType, ctx, params);
|
|
718
|
-
const seen = ctx.seen.get(schema);
|
|
719
|
-
seen.ref = def.innerType;
|
|
720
|
-
let catchValue;
|
|
721
|
-
try {
|
|
722
|
-
catchValue = def.catchValue(undefined);
|
|
723
|
-
}
|
|
724
|
-
catch {
|
|
725
|
-
handleUnrepresentable(schema, ctx, json, params, "Dynamic catch values are not supported in JSON Schema");
|
|
726
|
-
return;
|
|
727
|
-
}
|
|
728
|
-
json.default = catchValue;
|
|
729
|
-
};
|
|
730
|
-
export const pipeProcessor = (schema, ctx, _json, params) => {
|
|
731
|
-
const def = schema._zod.def;
|
|
732
|
-
const inIsTransform = def.in._zod.traits.has("$ZodTransform");
|
|
733
|
-
const innerType = ctx.io === "input" ? (inIsTransform ? def.out : def.in) : def.out;
|
|
734
|
-
processSchema(innerType, ctx, params);
|
|
735
|
-
const seen = ctx.seen.get(schema);
|
|
736
|
-
seen.ref = innerType;
|
|
737
|
-
};
|
|
738
|
-
export const readonlyProcessor = (schema, ctx, json, params) => {
|
|
739
|
-
const def = schema._zod.def;
|
|
740
|
-
processSchema(def.innerType, ctx, params);
|
|
741
|
-
const seen = ctx.seen.get(schema);
|
|
742
|
-
seen.ref = def.innerType;
|
|
743
|
-
json.readOnly = true;
|
|
744
|
-
};
|
|
745
|
-
export const promiseProcessor = (schema, ctx, _json, params) => {
|
|
746
|
-
const def = schema._zod.def;
|
|
747
|
-
processSchema(def.innerType, ctx, params);
|
|
748
|
-
const seen = ctx.seen.get(schema);
|
|
749
|
-
seen.ref = def.innerType;
|
|
750
|
-
};
|
|
751
|
-
export const optionalProcessor = (schema, ctx, _json, params) => {
|
|
752
|
-
const def = schema._zod.def;
|
|
753
|
-
processSchema(def.innerType, ctx, params);
|
|
754
|
-
const seen = ctx.seen.get(schema);
|
|
755
|
-
seen.ref = def.innerType;
|
|
756
|
-
};
|
|
757
|
-
export const lazyProcessor = (schema, ctx, _json, params) => {
|
|
758
|
-
const innerType = schema._zod.innerType;
|
|
759
|
-
processSchema(innerType, ctx, params);
|
|
760
|
-
const seen = ctx.seen.get(schema);
|
|
761
|
-
seen.ref = innerType;
|
|
762
|
-
};
|
|
763
|
-
// ==================== ALL PROCESSORS ====================
|
|
764
|
-
export const allProcessors = {
|
|
765
|
-
string: stringProcessor,
|
|
766
|
-
number: numberProcessor,
|
|
767
|
-
boolean: booleanProcessor,
|
|
768
|
-
bigint: bigintProcessor,
|
|
769
|
-
symbol: symbolProcessor,
|
|
770
|
-
null: nullProcessor,
|
|
771
|
-
undefined: undefinedProcessor,
|
|
772
|
-
void: voidProcessor,
|
|
773
|
-
never: neverProcessor,
|
|
774
|
-
any: anyProcessor,
|
|
775
|
-
unknown: unknownProcessor,
|
|
776
|
-
date: dateProcessor,
|
|
777
|
-
enum: enumProcessor,
|
|
778
|
-
literal: literalProcessor,
|
|
779
|
-
nan: nanProcessor,
|
|
780
|
-
template_literal: templateLiteralProcessor,
|
|
781
|
-
file: fileProcessor,
|
|
782
|
-
success: successProcessor,
|
|
783
|
-
custom: customProcessor,
|
|
784
|
-
function: functionProcessor,
|
|
785
|
-
transform: transformProcessor,
|
|
786
|
-
map: mapProcessor,
|
|
787
|
-
set: setProcessor,
|
|
788
|
-
array: arrayProcessor,
|
|
789
|
-
object: objectProcessor,
|
|
790
|
-
union: unionProcessor,
|
|
791
|
-
intersection: intersectionProcessor,
|
|
792
|
-
tuple: tupleProcessor,
|
|
793
|
-
record: recordProcessor,
|
|
794
|
-
nullable: nullableProcessor,
|
|
795
|
-
nonoptional: nonoptionalProcessor,
|
|
796
|
-
default: defaultProcessor,
|
|
797
|
-
prefault: prefaultProcessor,
|
|
798
|
-
catch: catchProcessor,
|
|
799
|
-
pipe: pipeProcessor,
|
|
800
|
-
readonly: readonlyProcessor,
|
|
801
|
-
promise: promiseProcessor,
|
|
802
|
-
optional: optionalProcessor,
|
|
803
|
-
lazy: lazyProcessor,
|
|
804
|
-
};
|
|
805
|
-
export function toJSONSchema(input, params) {
|
|
806
|
-
if ("_idmap" in input) {
|
|
807
|
-
// Registry case
|
|
808
|
-
const registry = input;
|
|
809
|
-
const ctx = initializeContext({ ...params, processors: allProcessors });
|
|
810
|
-
const defs = {};
|
|
811
|
-
// First pass: process all schemas to build the seen map
|
|
812
|
-
for (const entry of registry._idmap.entries()) {
|
|
813
|
-
const [_, schema] = entry;
|
|
814
|
-
processSchema(schema, ctx);
|
|
815
|
-
}
|
|
816
|
-
const schemas = {};
|
|
817
|
-
const external = {
|
|
818
|
-
registry,
|
|
819
|
-
uri: params?.uri,
|
|
820
|
-
defs,
|
|
821
|
-
};
|
|
822
|
-
// Update the context with external configuration
|
|
823
|
-
ctx.external = external;
|
|
824
|
-
// Second pass: emit each schema
|
|
825
|
-
for (const entry of registry._idmap.entries()) {
|
|
826
|
-
const [key, schema] = entry;
|
|
827
|
-
extractDefs(ctx, schema);
|
|
828
|
-
assignProp(schemas, key, finalize(ctx, schema));
|
|
829
|
-
}
|
|
830
|
-
if (Object.keys(defs).length > 0) {
|
|
831
|
-
const defsSegment = ctx.target === "draft-2020-12" ? "$defs" : "definitions";
|
|
832
|
-
schemas.__shared = {
|
|
833
|
-
[defsSegment]: defs,
|
|
834
|
-
};
|
|
835
|
-
}
|
|
836
|
-
return { schemas };
|
|
837
|
-
}
|
|
838
|
-
// Single schema case
|
|
839
|
-
const ctx = initializeContext({ ...params, processors: allProcessors });
|
|
840
|
-
processSchema(input, ctx);
|
|
841
|
-
extractDefs(ctx, input);
|
|
842
|
-
return finalize(ctx, input);
|
|
843
|
-
}
|