clawdlets 0.3.4 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config/template-source.json +2 -2
- package/dist/main.mjs +931 -445
- package/package.json +8 -7
- package/vendor/@clawdlets/cattle-core/dist/index.d.ts +10 -0
- package/vendor/@clawdlets/cattle-core/dist/index.js +10 -0
- package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/cattle-cloudinit.d.ts +6 -0
- package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/cattle-cloudinit.js +47 -1
- package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/cattle-planner.js +7 -1
- package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/hcloud-labels.js +28 -2
- package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/persona-loader.js +1 -1
- package/vendor/@clawdlets/cattle-core/package.json +33 -0
- package/vendor/@clawdlets/core/dist/assets/clawdbot-config.schema.json +7872 -0
- package/{node_modules → vendor}/@clawdlets/core/dist/assets/opentofu/main.tf +1 -7
- package/{node_modules → vendor}/@clawdlets/core/dist/doctor/deploy-checks.js +45 -49
- package/{node_modules → vendor}/@clawdlets/core/dist/doctor/repo-checks.js +38 -0
- package/vendor/@clawdlets/core/dist/lib/clawdbot-config-invariants.d.ts +19 -0
- package/vendor/@clawdlets/core/dist/lib/clawdbot-config-invariants.js +130 -0
- package/vendor/@clawdlets/core/dist/lib/clawdbot-schema-validate.d.ts +6 -0
- package/vendor/@clawdlets/core/dist/lib/clawdbot-schema-validate.js +35 -0
- package/vendor/@clawdlets/core/dist/lib/clawdbot-schema.d.ts +9 -0
- package/vendor/@clawdlets/core/dist/lib/clawdbot-schema.js +5 -0
- package/vendor/@clawdlets/core/dist/lib/clawdlets-config-legacy.d.ts +3 -0
- package/vendor/@clawdlets/core/dist/lib/clawdlets-config-legacy.js +64 -0
- package/vendor/@clawdlets/core/dist/lib/clawdlets-config-migrate.d.ts +8 -0
- package/vendor/@clawdlets/core/dist/lib/clawdlets-config-migrate.js +152 -0
- package/vendor/@clawdlets/core/dist/lib/clawdlets-config-validate.d.ts +19 -0
- package/vendor/@clawdlets/core/dist/lib/clawdlets-config-validate.js +138 -0
- package/{node_modules → vendor}/@clawdlets/core/dist/lib/clawdlets-config.d.ts +31 -7
- package/{node_modules → vendor}/@clawdlets/core/dist/lib/clawdlets-config.js +27 -76
- package/vendor/@clawdlets/core/dist/lib/concurrency.d.ts +6 -0
- package/vendor/@clawdlets/core/dist/lib/concurrency.js +18 -0
- package/vendor/@clawdlets/core/dist/lib/config-patch.d.ts +10 -0
- package/vendor/@clawdlets/core/dist/lib/config-patch.js +55 -0
- package/{node_modules → vendor}/@clawdlets/core/dist/lib/deploy-creds.d.ts +7 -0
- package/{node_modules → vendor}/@clawdlets/core/dist/lib/deploy-creds.js +14 -0
- package/vendor/@clawdlets/core/dist/lib/env-var-refs.d.ts +6 -0
- package/vendor/@clawdlets/core/dist/lib/env-var-refs.js +78 -0
- package/vendor/@clawdlets/core/dist/lib/fleet-secrets-plan-helpers.d.ts +79 -0
- package/vendor/@clawdlets/core/dist/lib/fleet-secrets-plan-helpers.js +457 -0
- package/vendor/@clawdlets/core/dist/lib/fleet-secrets-plan.d.ts +30 -0
- package/vendor/@clawdlets/core/dist/lib/fleet-secrets-plan.js +418 -0
- package/vendor/@clawdlets/core/dist/lib/fleet-workspaces.d.ts +8 -0
- package/vendor/@clawdlets/core/dist/lib/fleet-workspaces.js +17 -0
- package/vendor/@clawdlets/core/dist/lib/object-path.d.ts +4 -0
- package/vendor/@clawdlets/core/dist/lib/object-path.js +55 -0
- package/{node_modules → vendor}/@clawdlets/core/dist/lib/opentofu.js +1 -5
- package/vendor/@clawdlets/core/dist/lib/project-init.d.ts +26 -0
- package/vendor/@clawdlets/core/dist/lib/project-init.js +254 -0
- package/vendor/@clawdlets/core/dist/lib/run-constants.d.ts +4 -0
- package/vendor/@clawdlets/core/dist/lib/run-constants.js +20 -0
- package/vendor/@clawdlets/core/dist/lib/run-types.d.ts +48 -0
- package/vendor/@clawdlets/core/dist/lib/run-types.js +13 -0
- package/vendor/@clawdlets/core/dist/lib/safe-record.d.ts +7 -0
- package/vendor/@clawdlets/core/dist/lib/safe-record.js +13 -0
- package/vendor/@clawdlets/core/dist/lib/secret-wiring.d.ts +39 -0
- package/vendor/@clawdlets/core/dist/lib/secret-wiring.js +39 -0
- package/vendor/@clawdlets/core/dist/lib/secrets-allowlist.d.ts +10 -0
- package/vendor/@clawdlets/core/dist/lib/secrets-allowlist.js +21 -0
- package/vendor/@clawdlets/core/dist/lib/secrets-autowire.d.ts +26 -0
- package/vendor/@clawdlets/core/dist/lib/secrets-autowire.js +97 -0
- package/{node_modules → vendor}/@clawdlets/core/dist/lib/secrets-init.d.ts +1 -6
- package/{node_modules → vendor}/@clawdlets/core/dist/lib/secrets-init.js +21 -37
- package/{node_modules → vendor}/@clawdlets/core/dist/lib/secrets-migrate.js +1 -1
- package/vendor/@clawdlets/core/dist/lib/secrets-plan.d.ts +172 -0
- package/vendor/@clawdlets/core/dist/lib/secrets-plan.js +62 -0
- package/vendor/@clawdlets/core/dist/lib/ssh-files.d.ts +3 -0
- package/vendor/@clawdlets/core/dist/lib/ssh-files.js +33 -0
- package/{node_modules → vendor}/@clawdlets/core/dist/lib/template-source.js +3 -2
- package/vendor/@clawdlets/core/dist/lib/yaml-scalar.d.ts +10 -0
- package/{node_modules → vendor}/@clawdlets/core/dist/lib/yaml-scalar.js +17 -0
- package/{node_modules → vendor}/@clawdlets/core/dist/repo-layout.d.ts +4 -0
- package/{node_modules → vendor}/@clawdlets/core/dist/repo-layout.js +11 -1
- package/{node_modules → vendor}/@clawdlets/core/package.json +5 -1
- package/vendor/@clawdlets/shared/dist/assets/llm-providers.json +255 -0
- package/vendor/@clawdlets/shared/dist/index.d.ts +3 -0
- package/vendor/@clawdlets/shared/dist/index.js +3 -0
- package/{node_modules/@clawdlets/core → vendor/@clawdlets/shared}/dist/lib/identifiers.js +2 -2
- package/vendor/@clawdlets/shared/dist/lib/llm-provider-env.d.ts +18 -0
- package/vendor/@clawdlets/shared/dist/lib/llm-provider-env.js +100 -0
- package/vendor/@clawdlets/shared/package.json +29 -0
- package/node_modules/@clawdlets/core/dist/doctor/cattle-checks.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/doctor/cattle-checks.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/doctor/deploy-checks.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/doctor/deploy-checks.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/doctor/repo-checks.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/doctor/repo-checks.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/doctor/types.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/doctor/types.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/doctor/util.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/doctor/util.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/doctor.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/doctor.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/index.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/index.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/age-keygen.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/age-keygen.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/age.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/age.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/base-flake.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/base-flake.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/cattle-cloudinit.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/cattle-cloudinit.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/cattle-planner.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/cattle-planner.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/cattle-task.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/cattle-task.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/clawdlets-config.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/clawdlets-config.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/context.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/context.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/deploy-creds.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/deploy-creds.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/docs-index.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/docs-index.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/dot-path.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/dot-path.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/dotenv-file.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/dotenv-file.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/fleet-nix-eval.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/fleet-nix-eval.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/fleet-policy.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/fleet-policy.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/fleet-secrets.d.ts +0 -23
- package/node_modules/@clawdlets/core/dist/lib/fleet-secrets.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/fleet-secrets.js +0 -114
- package/node_modules/@clawdlets/core/dist/lib/fleet-secrets.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/fs-private.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/fs-private.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/fs-safe.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/fs-safe.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/git.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/git.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/github.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/github.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/hcloud-cattle.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/hcloud-cattle.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/hcloud-labels.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/hcloud-labels.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/hcloud.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/hcloud.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/host-resolve.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/host-resolve.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/identifiers.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/identifiers.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/inline-script-ban.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/inline-script-ban.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/llm-provider-env.d.ts +0 -4
- package/node_modules/@clawdlets/core/dist/lib/llm-provider-env.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/llm-provider-env.js +0 -25
- package/node_modules/@clawdlets/core/dist/lib/llm-provider-env.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/mkpasswd.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/mkpasswd.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/nix-flakes.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/nix-flakes.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/nix-host.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/nix-host.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/nix-tools.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/nix-tools.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/opentofu.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/opentofu.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/path-expand.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/path-expand.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/persona-loader.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/persona-loader.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/repo.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/repo.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/run.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/run.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/secrets-init.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/secrets-init.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/secrets-migrate.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/secrets-migrate.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/secrets-policy.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/secrets-policy.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/secrets-tar.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/secrets-tar.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/sops-config.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/sops-config.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/sops-path.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/sops-path.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/sops-rules.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/sops-rules.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/sops.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/sops.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/ssh-remote.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/ssh-remote.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/ssh.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/ssh.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/template-source.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/template-source.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/template-test-dir.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/template-test-dir.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/ttl.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/ttl.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/yaml-scalar.d.ts +0 -5
- package/node_modules/@clawdlets/core/dist/lib/yaml-scalar.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/lib/yaml-scalar.js.map +0 -1
- package/node_modules/@clawdlets/core/dist/repo-layout.d.ts.map +0 -1
- package/node_modules/@clawdlets/core/dist/repo-layout.js.map +0 -1
- package/node_modules/dotenv/CHANGELOG.md +0 -598
- package/node_modules/dotenv/LICENSE +0 -23
- package/node_modules/dotenv/README-es.md +0 -405
- package/node_modules/dotenv/README.md +0 -692
- package/node_modules/dotenv/SECURITY.md +0 -1
- package/node_modules/dotenv/config.d.ts +0 -1
- package/node_modules/dotenv/config.js +0 -9
- package/node_modules/dotenv/lib/cli-options.js +0 -17
- package/node_modules/dotenv/lib/env-options.js +0 -28
- package/node_modules/dotenv/lib/main.d.ts +0 -179
- package/node_modules/dotenv/lib/main.js +0 -434
- package/node_modules/dotenv/package.json +0 -62
- package/node_modules/yaml/LICENSE +0 -13
- package/node_modules/yaml/README.md +0 -172
- package/node_modules/yaml/bin.mjs +0 -11
- package/node_modules/yaml/browser/dist/compose/compose-collection.js +0 -88
- package/node_modules/yaml/browser/dist/compose/compose-doc.js +0 -43
- package/node_modules/yaml/browser/dist/compose/compose-node.js +0 -102
- package/node_modules/yaml/browser/dist/compose/compose-scalar.js +0 -86
- package/node_modules/yaml/browser/dist/compose/composer.js +0 -217
- package/node_modules/yaml/browser/dist/compose/resolve-block-map.js +0 -115
- package/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +0 -198
- package/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +0 -49
- package/node_modules/yaml/browser/dist/compose/resolve-end.js +0 -37
- package/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +0 -207
- package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +0 -223
- package/node_modules/yaml/browser/dist/compose/resolve-props.js +0 -146
- package/node_modules/yaml/browser/dist/compose/util-contains-newline.js +0 -34
- package/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +0 -26
- package/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +0 -15
- package/node_modules/yaml/browser/dist/compose/util-map-includes.js +0 -13
- package/node_modules/yaml/browser/dist/doc/Document.js +0 -335
- package/node_modules/yaml/browser/dist/doc/anchors.js +0 -71
- package/node_modules/yaml/browser/dist/doc/applyReviver.js +0 -55
- package/node_modules/yaml/browser/dist/doc/createNode.js +0 -88
- package/node_modules/yaml/browser/dist/doc/directives.js +0 -176
- package/node_modules/yaml/browser/dist/errors.js +0 -57
- package/node_modules/yaml/browser/dist/index.js +0 -17
- package/node_modules/yaml/browser/dist/log.js +0 -11
- package/node_modules/yaml/browser/dist/nodes/Alias.js +0 -114
- package/node_modules/yaml/browser/dist/nodes/Collection.js +0 -147
- package/node_modules/yaml/browser/dist/nodes/Node.js +0 -38
- package/node_modules/yaml/browser/dist/nodes/Pair.js +0 -36
- package/node_modules/yaml/browser/dist/nodes/Scalar.js +0 -24
- package/node_modules/yaml/browser/dist/nodes/YAMLMap.js +0 -144
- package/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +0 -113
- package/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +0 -63
- package/node_modules/yaml/browser/dist/nodes/identity.js +0 -36
- package/node_modules/yaml/browser/dist/nodes/toJS.js +0 -37
- package/node_modules/yaml/browser/dist/parse/cst-scalar.js +0 -214
- package/node_modules/yaml/browser/dist/parse/cst-stringify.js +0 -61
- package/node_modules/yaml/browser/dist/parse/cst-visit.js +0 -97
- package/node_modules/yaml/browser/dist/parse/cst.js +0 -98
- package/node_modules/yaml/browser/dist/parse/lexer.js +0 -717
- package/node_modules/yaml/browser/dist/parse/line-counter.js +0 -39
- package/node_modules/yaml/browser/dist/parse/parser.js +0 -967
- package/node_modules/yaml/browser/dist/public-api.js +0 -102
- package/node_modules/yaml/browser/dist/schema/Schema.js +0 -37
- package/node_modules/yaml/browser/dist/schema/common/map.js +0 -17
- package/node_modules/yaml/browser/dist/schema/common/null.js +0 -15
- package/node_modules/yaml/browser/dist/schema/common/seq.js +0 -17
- package/node_modules/yaml/browser/dist/schema/common/string.js +0 -14
- package/node_modules/yaml/browser/dist/schema/core/bool.js +0 -19
- package/node_modules/yaml/browser/dist/schema/core/float.js +0 -43
- package/node_modules/yaml/browser/dist/schema/core/int.js +0 -38
- package/node_modules/yaml/browser/dist/schema/core/schema.js +0 -23
- package/node_modules/yaml/browser/dist/schema/json/schema.js +0 -62
- package/node_modules/yaml/browser/dist/schema/tags.js +0 -96
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +0 -58
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +0 -26
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +0 -46
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +0 -71
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +0 -64
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +0 -74
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +0 -78
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +0 -39
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +0 -93
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +0 -101
- package/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +0 -146
- package/node_modules/yaml/browser/dist/stringify/stringify.js +0 -128
- package/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +0 -143
- package/node_modules/yaml/browser/dist/stringify/stringifyComment.js +0 -20
- package/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +0 -85
- package/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +0 -24
- package/node_modules/yaml/browser/dist/stringify/stringifyPair.js +0 -150
- package/node_modules/yaml/browser/dist/stringify/stringifyString.js +0 -336
- package/node_modules/yaml/browser/dist/util.js +0 -11
- package/node_modules/yaml/browser/dist/visit.js +0 -233
- package/node_modules/yaml/browser/index.js +0 -5
- package/node_modules/yaml/browser/package.json +0 -3
- package/node_modules/yaml/dist/cli.d.ts +0 -8
- package/node_modules/yaml/dist/cli.mjs +0 -201
- package/node_modules/yaml/dist/compose/compose-collection.d.ts +0 -11
- package/node_modules/yaml/dist/compose/compose-collection.js +0 -90
- package/node_modules/yaml/dist/compose/compose-doc.d.ts +0 -7
- package/node_modules/yaml/dist/compose/compose-doc.js +0 -45
- package/node_modules/yaml/dist/compose/compose-node.d.ts +0 -29
- package/node_modules/yaml/dist/compose/compose-node.js +0 -105
- package/node_modules/yaml/dist/compose/compose-scalar.d.ts +0 -5
- package/node_modules/yaml/dist/compose/compose-scalar.js +0 -88
- package/node_modules/yaml/dist/compose/composer.d.ts +0 -63
- package/node_modules/yaml/dist/compose/composer.js +0 -222
- package/node_modules/yaml/dist/compose/resolve-block-map.d.ts +0 -6
- package/node_modules/yaml/dist/compose/resolve-block-map.js +0 -117
- package/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +0 -11
- package/node_modules/yaml/dist/compose/resolve-block-scalar.js +0 -200
- package/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +0 -6
- package/node_modules/yaml/dist/compose/resolve-block-seq.js +0 -51
- package/node_modules/yaml/dist/compose/resolve-end.d.ts +0 -6
- package/node_modules/yaml/dist/compose/resolve-end.js +0 -39
- package/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +0 -7
- package/node_modules/yaml/dist/compose/resolve-flow-collection.js +0 -209
- package/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +0 -10
- package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +0 -225
- package/node_modules/yaml/dist/compose/resolve-props.d.ts +0 -23
- package/node_modules/yaml/dist/compose/resolve-props.js +0 -148
- package/node_modules/yaml/dist/compose/util-contains-newline.d.ts +0 -2
- package/node_modules/yaml/dist/compose/util-contains-newline.js +0 -36
- package/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +0 -2
- package/node_modules/yaml/dist/compose/util-empty-scalar-position.js +0 -28
- package/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +0 -3
- package/node_modules/yaml/dist/compose/util-flow-indent-check.js +0 -17
- package/node_modules/yaml/dist/compose/util-map-includes.d.ts +0 -4
- package/node_modules/yaml/dist/compose/util-map-includes.js +0 -15
- package/node_modules/yaml/dist/doc/Document.d.ts +0 -141
- package/node_modules/yaml/dist/doc/Document.js +0 -337
- package/node_modules/yaml/dist/doc/anchors.d.ts +0 -24
- package/node_modules/yaml/dist/doc/anchors.js +0 -76
- package/node_modules/yaml/dist/doc/applyReviver.d.ts +0 -9
- package/node_modules/yaml/dist/doc/applyReviver.js +0 -57
- package/node_modules/yaml/dist/doc/createNode.d.ts +0 -17
- package/node_modules/yaml/dist/doc/createNode.js +0 -90
- package/node_modules/yaml/dist/doc/directives.d.ts +0 -49
- package/node_modules/yaml/dist/doc/directives.js +0 -178
- package/node_modules/yaml/dist/errors.d.ts +0 -21
- package/node_modules/yaml/dist/errors.js +0 -62
- package/node_modules/yaml/dist/index.d.ts +0 -25
- package/node_modules/yaml/dist/index.js +0 -50
- package/node_modules/yaml/dist/log.d.ts +0 -3
- package/node_modules/yaml/dist/log.js +0 -19
- package/node_modules/yaml/dist/nodes/Alias.d.ts +0 -29
- package/node_modules/yaml/dist/nodes/Alias.js +0 -116
- package/node_modules/yaml/dist/nodes/Collection.d.ts +0 -73
- package/node_modules/yaml/dist/nodes/Collection.js +0 -151
- package/node_modules/yaml/dist/nodes/Node.d.ts +0 -53
- package/node_modules/yaml/dist/nodes/Node.js +0 -40
- package/node_modules/yaml/dist/nodes/Pair.d.ts +0 -22
- package/node_modules/yaml/dist/nodes/Pair.js +0 -39
- package/node_modules/yaml/dist/nodes/Scalar.d.ts +0 -43
- package/node_modules/yaml/dist/nodes/Scalar.js +0 -27
- package/node_modules/yaml/dist/nodes/YAMLMap.d.ts +0 -53
- package/node_modules/yaml/dist/nodes/YAMLMap.js +0 -147
- package/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +0 -60
- package/node_modules/yaml/dist/nodes/YAMLSeq.js +0 -115
- package/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +0 -4
- package/node_modules/yaml/dist/nodes/addPairToJSMap.js +0 -65
- package/node_modules/yaml/dist/nodes/identity.d.ts +0 -23
- package/node_modules/yaml/dist/nodes/identity.js +0 -53
- package/node_modules/yaml/dist/nodes/toJS.d.ts +0 -29
- package/node_modules/yaml/dist/nodes/toJS.js +0 -39
- package/node_modules/yaml/dist/options.d.ts +0 -344
- package/node_modules/yaml/dist/parse/cst-scalar.d.ts +0 -64
- package/node_modules/yaml/dist/parse/cst-scalar.js +0 -218
- package/node_modules/yaml/dist/parse/cst-stringify.d.ts +0 -8
- package/node_modules/yaml/dist/parse/cst-stringify.js +0 -63
- package/node_modules/yaml/dist/parse/cst-visit.d.ts +0 -39
- package/node_modules/yaml/dist/parse/cst-visit.js +0 -99
- package/node_modules/yaml/dist/parse/cst.d.ts +0 -109
- package/node_modules/yaml/dist/parse/cst.js +0 -112
- package/node_modules/yaml/dist/parse/lexer.d.ts +0 -87
- package/node_modules/yaml/dist/parse/lexer.js +0 -719
- package/node_modules/yaml/dist/parse/line-counter.d.ts +0 -22
- package/node_modules/yaml/dist/parse/line-counter.js +0 -41
- package/node_modules/yaml/dist/parse/parser.d.ts +0 -84
- package/node_modules/yaml/dist/parse/parser.js +0 -972
- package/node_modules/yaml/dist/public-api.d.ts +0 -44
- package/node_modules/yaml/dist/public-api.js +0 -107
- package/node_modules/yaml/dist/schema/Schema.d.ts +0 -17
- package/node_modules/yaml/dist/schema/Schema.js +0 -39
- package/node_modules/yaml/dist/schema/common/map.d.ts +0 -2
- package/node_modules/yaml/dist/schema/common/map.js +0 -19
- package/node_modules/yaml/dist/schema/common/null.d.ts +0 -4
- package/node_modules/yaml/dist/schema/common/null.js +0 -17
- package/node_modules/yaml/dist/schema/common/seq.d.ts +0 -2
- package/node_modules/yaml/dist/schema/common/seq.js +0 -19
- package/node_modules/yaml/dist/schema/common/string.d.ts +0 -2
- package/node_modules/yaml/dist/schema/common/string.js +0 -16
- package/node_modules/yaml/dist/schema/core/bool.d.ts +0 -4
- package/node_modules/yaml/dist/schema/core/bool.js +0 -21
- package/node_modules/yaml/dist/schema/core/float.d.ts +0 -4
- package/node_modules/yaml/dist/schema/core/float.js +0 -47
- package/node_modules/yaml/dist/schema/core/int.d.ts +0 -4
- package/node_modules/yaml/dist/schema/core/int.js +0 -42
- package/node_modules/yaml/dist/schema/core/schema.d.ts +0 -1
- package/node_modules/yaml/dist/schema/core/schema.js +0 -25
- package/node_modules/yaml/dist/schema/json/schema.d.ts +0 -2
- package/node_modules/yaml/dist/schema/json/schema.js +0 -64
- package/node_modules/yaml/dist/schema/json-schema.d.ts +0 -69
- package/node_modules/yaml/dist/schema/tags.d.ts +0 -48
- package/node_modules/yaml/dist/schema/tags.js +0 -99
- package/node_modules/yaml/dist/schema/types.d.ts +0 -92
- package/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +0 -2
- package/node_modules/yaml/dist/schema/yaml-1.1/binary.js +0 -70
- package/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +0 -7
- package/node_modules/yaml/dist/schema/yaml-1.1/bool.js +0 -29
- package/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +0 -4
- package/node_modules/yaml/dist/schema/yaml-1.1/float.js +0 -50
- package/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +0 -5
- package/node_modules/yaml/dist/schema/yaml-1.1/int.js +0 -76
- package/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +0 -9
- package/node_modules/yaml/dist/schema/yaml-1.1/merge.js +0 -68
- package/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +0 -22
- package/node_modules/yaml/dist/schema/yaml-1.1/omap.js +0 -77
- package/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +0 -10
- package/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +0 -82
- package/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +0 -1
- package/node_modules/yaml/dist/schema/yaml-1.1/schema.js +0 -41
- package/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +0 -28
- package/node_modules/yaml/dist/schema/yaml-1.1/set.js +0 -96
- package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +0 -6
- package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +0 -105
- package/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +0 -34
- package/node_modules/yaml/dist/stringify/foldFlowLines.js +0 -151
- package/node_modules/yaml/dist/stringify/stringify.d.ts +0 -21
- package/node_modules/yaml/dist/stringify/stringify.js +0 -131
- package/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +0 -17
- package/node_modules/yaml/dist/stringify/stringifyCollection.js +0 -145
- package/node_modules/yaml/dist/stringify/stringifyComment.d.ts +0 -10
- package/node_modules/yaml/dist/stringify/stringifyComment.js +0 -24
- package/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +0 -4
- package/node_modules/yaml/dist/stringify/stringifyDocument.js +0 -87
- package/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +0 -2
- package/node_modules/yaml/dist/stringify/stringifyNumber.js +0 -26
- package/node_modules/yaml/dist/stringify/stringifyPair.d.ts +0 -3
- package/node_modules/yaml/dist/stringify/stringifyPair.js +0 -152
- package/node_modules/yaml/dist/stringify/stringifyString.d.ts +0 -9
- package/node_modules/yaml/dist/stringify/stringifyString.js +0 -338
- package/node_modules/yaml/dist/test-events.d.ts +0 -4
- package/node_modules/yaml/dist/test-events.js +0 -134
- package/node_modules/yaml/dist/util.d.ts +0 -16
- package/node_modules/yaml/dist/util.js +0 -28
- package/node_modules/yaml/dist/visit.d.ts +0 -102
- package/node_modules/yaml/dist/visit.js +0 -236
- package/node_modules/yaml/package.json +0 -97
- package/node_modules/yaml/util.js +0 -2
- package/node_modules/zod/LICENSE +0 -21
- package/node_modules/zod/README.md +0 -208
- package/node_modules/zod/index.cjs +0 -33
- package/node_modules/zod/index.d.cts +0 -4
- package/node_modules/zod/index.d.ts +0 -4
- package/node_modules/zod/index.js +0 -4
- package/node_modules/zod/locales/index.cjs +0 -17
- package/node_modules/zod/locales/index.d.cts +0 -1
- package/node_modules/zod/locales/index.d.ts +0 -1
- package/node_modules/zod/locales/index.js +0 -1
- package/node_modules/zod/locales/package.json +0 -6
- package/node_modules/zod/mini/index.cjs +0 -17
- package/node_modules/zod/mini/index.d.cts +0 -1
- package/node_modules/zod/mini/index.d.ts +0 -1
- package/node_modules/zod/mini/index.js +0 -1
- package/node_modules/zod/mini/package.json +0 -6
- package/node_modules/zod/package.json +0 -135
- package/node_modules/zod/src/index.ts +0 -4
- package/node_modules/zod/src/locales/index.ts +0 -1
- package/node_modules/zod/src/mini/index.ts +0 -1
- package/node_modules/zod/src/v3/ZodError.ts +0 -330
- package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
- package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
- package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
- package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
- package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
- package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
- package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
- package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
- package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
- package/node_modules/zod/src/v3/errors.ts +0 -13
- package/node_modules/zod/src/v3/external.ts +0 -6
- package/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
- package/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
- package/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
- package/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
- package/node_modules/zod/src/v3/helpers/util.ts +0 -224
- package/node_modules/zod/src/v3/index.ts +0 -4
- package/node_modules/zod/src/v3/locales/en.ts +0 -124
- package/node_modules/zod/src/v3/standard-schema.ts +0 -113
- package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
- package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
- package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
- package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
- package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
- package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
- package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
- package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
- package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
- package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
- package/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
- package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
- package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
- package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
- package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
- package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
- package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
- package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
- package/node_modules/zod/src/v3/tests/error.test.ts +0 -551
- package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
- package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
- package/node_modules/zod/src/v3/tests/function.test.ts +0 -261
- package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
- package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
- package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
- package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
- package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
- package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
- package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
- package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
- package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
- package/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
- package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
- package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
- package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
- package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/object.test.ts +0 -434
- package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
- package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
- package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
- package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
- package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
- package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
- package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
- package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
- package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
- package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
- package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
- package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
- package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
- package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
- package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
- package/node_modules/zod/src/v3/tests/string.test.ts +0 -916
- package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
- package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
- package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
- package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
- package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
- package/node_modules/zod/src/v3/types.ts +0 -5138
- package/node_modules/zod/src/v4/classic/checks.ts +0 -32
- package/node_modules/zod/src/v4/classic/coerce.ts +0 -27
- package/node_modules/zod/src/v4/classic/compat.ts +0 -70
- package/node_modules/zod/src/v4/classic/errors.ts +0 -82
- package/node_modules/zod/src/v4/classic/external.ts +0 -51
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -643
- package/node_modules/zod/src/v4/classic/index.ts +0 -5
- package/node_modules/zod/src/v4/classic/iso.ts +0 -90
- package/node_modules/zod/src/v4/classic/parse.ts +0 -82
- package/node_modules/zod/src/v4/classic/schemas.ts +0 -2409
- package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
- package/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -59
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -210
- package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
- package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
- package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
- package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -276
- package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
- package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -573
- package/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -562
- package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
- package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -62
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -302
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -365
- package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
- package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -661
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -595
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
- package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
- package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
- package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -734
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -360
- package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
- package/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -68
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -939
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -60
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -198
- package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -117
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -330
- package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
- package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
- package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
- package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -270
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -640
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -223
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -427
- package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
- package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -74
- package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -282
- package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
- package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
- package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -600
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -582
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -570
- package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -181
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -134
- package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1175
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -106
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -771
- package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -2975
- package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -361
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -183
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -219
- package/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
- package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
- package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
- package/node_modules/zod/src/v4/core/api.ts +0 -1798
- package/node_modules/zod/src/v4/core/checks.ts +0 -1293
- package/node_modules/zod/src/v4/core/config.ts +0 -15
- package/node_modules/zod/src/v4/core/core.ts +0 -138
- package/node_modules/zod/src/v4/core/doc.ts +0 -44
- package/node_modules/zod/src/v4/core/errors.ts +0 -448
- package/node_modules/zod/src/v4/core/index.ts +0 -16
- package/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -126
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -667
- package/node_modules/zod/src/v4/core/json-schema.ts +0 -147
- package/node_modules/zod/src/v4/core/parse.ts +0 -195
- package/node_modules/zod/src/v4/core/regexes.ts +0 -183
- package/node_modules/zod/src/v4/core/registries.ts +0 -105
- package/node_modules/zod/src/v4/core/schemas.ts +0 -4543
- package/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
- package/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
- package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
- package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
- package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
- package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -181
- package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
- package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
- package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
- package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
- package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -83
- package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -67
- package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
- package/node_modules/zod/src/v4/core/to-json-schema.ts +0 -613
- package/node_modules/zod/src/v4/core/util.ts +0 -966
- package/node_modules/zod/src/v4/core/versions.ts +0 -5
- package/node_modules/zod/src/v4/core/zsf.ts +0 -323
- package/node_modules/zod/src/v4/index.ts +0 -4
- package/node_modules/zod/src/v4/locales/ar.ts +0 -115
- package/node_modules/zod/src/v4/locales/az.ts +0 -111
- package/node_modules/zod/src/v4/locales/be.ts +0 -176
- package/node_modules/zod/src/v4/locales/bg.ts +0 -128
- package/node_modules/zod/src/v4/locales/ca.ts +0 -116
- package/node_modules/zod/src/v4/locales/cs.ts +0 -118
- package/node_modules/zod/src/v4/locales/da.ts +0 -123
- package/node_modules/zod/src/v4/locales/de.ts +0 -116
- package/node_modules/zod/src/v4/locales/en.ts +0 -119
- package/node_modules/zod/src/v4/locales/eo.ts +0 -118
- package/node_modules/zod/src/v4/locales/es.ts +0 -141
- package/node_modules/zod/src/v4/locales/fa.ts +0 -126
- package/node_modules/zod/src/v4/locales/fi.ts +0 -121
- package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -116
- package/node_modules/zod/src/v4/locales/fr.ts +0 -116
- package/node_modules/zod/src/v4/locales/he.ts +0 -246
- package/node_modules/zod/src/v4/locales/hu.ts +0 -117
- package/node_modules/zod/src/v4/locales/hy.ts +0 -164
- package/node_modules/zod/src/v4/locales/id.ts +0 -115
- package/node_modules/zod/src/v4/locales/index.ts +0 -49
- package/node_modules/zod/src/v4/locales/is.ts +0 -119
- package/node_modules/zod/src/v4/locales/it.ts +0 -116
- package/node_modules/zod/src/v4/locales/ja.ts +0 -114
- package/node_modules/zod/src/v4/locales/ka.ts +0 -123
- package/node_modules/zod/src/v4/locales/kh.ts +0 -7
- package/node_modules/zod/src/v4/locales/km.ts +0 -119
- package/node_modules/zod/src/v4/locales/ko.ts +0 -121
- package/node_modules/zod/src/v4/locales/lt.ts +0 -239
- package/node_modules/zod/src/v4/locales/mk.ts +0 -118
- package/node_modules/zod/src/v4/locales/ms.ts +0 -115
- package/node_modules/zod/src/v4/locales/nl.ts +0 -121
- package/node_modules/zod/src/v4/locales/no.ts +0 -116
- package/node_modules/zod/src/v4/locales/ota.ts +0 -117
- package/node_modules/zod/src/v4/locales/pl.ts +0 -118
- package/node_modules/zod/src/v4/locales/ps.ts +0 -126
- package/node_modules/zod/src/v4/locales/pt.ts +0 -116
- package/node_modules/zod/src/v4/locales/ru.ts +0 -176
- package/node_modules/zod/src/v4/locales/sl.ts +0 -118
- package/node_modules/zod/src/v4/locales/sv.ts +0 -119
- package/node_modules/zod/src/v4/locales/ta.ts +0 -118
- package/node_modules/zod/src/v4/locales/th.ts +0 -119
- package/node_modules/zod/src/v4/locales/tr.ts +0 -111
- package/node_modules/zod/src/v4/locales/ua.ts +0 -7
- package/node_modules/zod/src/v4/locales/uk.ts +0 -117
- package/node_modules/zod/src/v4/locales/ur.ts +0 -119
- package/node_modules/zod/src/v4/locales/uz.ts +0 -116
- package/node_modules/zod/src/v4/locales/vi.ts +0 -117
- package/node_modules/zod/src/v4/locales/yo.ts +0 -124
- package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -116
- package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -115
- package/node_modules/zod/src/v4/mini/checks.ts +0 -32
- package/node_modules/zod/src/v4/mini/coerce.ts +0 -27
- package/node_modules/zod/src/v4/mini/external.ts +0 -40
- package/node_modules/zod/src/v4/mini/index.ts +0 -3
- package/node_modules/zod/src/v4/mini/iso.ts +0 -66
- package/node_modules/zod/src/v4/mini/parse.ts +0 -14
- package/node_modules/zod/src/v4/mini/schemas.ts +0 -1916
- package/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -24
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
- package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
- package/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -529
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -5
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -963
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -227
- package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -275
- package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -347
- package/node_modules/zod/src/v4-mini/index.ts +0 -1
- package/node_modules/zod/v3/ZodError.cjs +0 -138
- package/node_modules/zod/v3/ZodError.d.cts +0 -164
- package/node_modules/zod/v3/ZodError.d.ts +0 -164
- package/node_modules/zod/v3/ZodError.js +0 -133
- package/node_modules/zod/v3/errors.cjs +0 -17
- package/node_modules/zod/v3/errors.d.cts +0 -5
- package/node_modules/zod/v3/errors.d.ts +0 -5
- package/node_modules/zod/v3/errors.js +0 -9
- package/node_modules/zod/v3/external.cjs +0 -22
- package/node_modules/zod/v3/external.d.cts +0 -6
- package/node_modules/zod/v3/external.d.ts +0 -6
- package/node_modules/zod/v3/external.js +0 -6
- package/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
- package/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
- package/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
- package/node_modules/zod/v3/helpers/enumUtil.js +0 -1
- package/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
- package/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
- package/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
- package/node_modules/zod/v3/helpers/errorUtil.js +0 -6
- package/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
- package/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
- package/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
- package/node_modules/zod/v3/helpers/parseUtil.js +0 -109
- package/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
- package/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
- package/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
- package/node_modules/zod/v3/helpers/partialUtil.js +0 -1
- package/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
- package/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
- package/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
- package/node_modules/zod/v3/helpers/typeAliases.js +0 -1
- package/node_modules/zod/v3/helpers/util.cjs +0 -137
- package/node_modules/zod/v3/helpers/util.d.cts +0 -85
- package/node_modules/zod/v3/helpers/util.d.ts +0 -85
- package/node_modules/zod/v3/helpers/util.js +0 -133
- package/node_modules/zod/v3/index.cjs +0 -33
- package/node_modules/zod/v3/index.d.cts +0 -4
- package/node_modules/zod/v3/index.d.ts +0 -4
- package/node_modules/zod/v3/index.js +0 -4
- package/node_modules/zod/v3/locales/en.cjs +0 -112
- package/node_modules/zod/v3/locales/en.d.cts +0 -3
- package/node_modules/zod/v3/locales/en.d.ts +0 -3
- package/node_modules/zod/v3/locales/en.js +0 -109
- package/node_modules/zod/v3/package.json +0 -6
- package/node_modules/zod/v3/standard-schema.cjs +0 -2
- package/node_modules/zod/v3/standard-schema.d.cts +0 -102
- package/node_modules/zod/v3/standard-schema.d.ts +0 -102
- package/node_modules/zod/v3/standard-schema.js +0 -1
- package/node_modules/zod/v3/types.cjs +0 -3777
- package/node_modules/zod/v3/types.d.cts +0 -1034
- package/node_modules/zod/v3/types.d.ts +0 -1034
- package/node_modules/zod/v3/types.js +0 -3695
- package/node_modules/zod/v4/classic/checks.cjs +0 -33
- package/node_modules/zod/v4/classic/checks.d.cts +0 -1
- package/node_modules/zod/v4/classic/checks.d.ts +0 -1
- package/node_modules/zod/v4/classic/checks.js +0 -1
- package/node_modules/zod/v4/classic/coerce.cjs +0 -47
- package/node_modules/zod/v4/classic/coerce.d.cts +0 -17
- package/node_modules/zod/v4/classic/coerce.d.ts +0 -17
- package/node_modules/zod/v4/classic/coerce.js +0 -17
- package/node_modules/zod/v4/classic/compat.cjs +0 -61
- package/node_modules/zod/v4/classic/compat.d.cts +0 -50
- package/node_modules/zod/v4/classic/compat.d.ts +0 -50
- package/node_modules/zod/v4/classic/compat.js +0 -31
- package/node_modules/zod/v4/classic/errors.cjs +0 -74
- package/node_modules/zod/v4/classic/errors.d.cts +0 -30
- package/node_modules/zod/v4/classic/errors.d.ts +0 -30
- package/node_modules/zod/v4/classic/errors.js +0 -48
- package/node_modules/zod/v4/classic/external.cjs +0 -73
- package/node_modules/zod/v4/classic/external.d.cts +0 -15
- package/node_modules/zod/v4/classic/external.d.ts +0 -15
- package/node_modules/zod/v4/classic/external.js +0 -20
- package/node_modules/zod/v4/classic/from-json-schema.cjs +0 -610
- package/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
- package/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
- package/node_modules/zod/v4/classic/from-json-schema.js +0 -584
- package/node_modules/zod/v4/classic/index.cjs +0 -33
- package/node_modules/zod/v4/classic/index.d.cts +0 -4
- package/node_modules/zod/v4/classic/index.d.ts +0 -4
- package/node_modules/zod/v4/classic/index.js +0 -4
- package/node_modules/zod/v4/classic/iso.cjs +0 -60
- package/node_modules/zod/v4/classic/iso.d.cts +0 -22
- package/node_modules/zod/v4/classic/iso.d.ts +0 -22
- package/node_modules/zod/v4/classic/iso.js +0 -30
- package/node_modules/zod/v4/classic/package.json +0 -6
- package/node_modules/zod/v4/classic/parse.cjs +0 -41
- package/node_modules/zod/v4/classic/parse.d.cts +0 -31
- package/node_modules/zod/v4/classic/parse.d.ts +0 -31
- package/node_modules/zod/v4/classic/parse.js +0 -15
- package/node_modules/zod/v4/classic/schemas.cjs +0 -1272
- package/node_modules/zod/v4/classic/schemas.d.cts +0 -739
- package/node_modules/zod/v4/classic/schemas.d.ts +0 -739
- package/node_modules/zod/v4/classic/schemas.js +0 -1157
- package/node_modules/zod/v4/core/api.cjs +0 -1222
- package/node_modules/zod/v4/core/api.d.cts +0 -304
- package/node_modules/zod/v4/core/api.d.ts +0 -304
- package/node_modules/zod/v4/core/api.js +0 -1082
- package/node_modules/zod/v4/core/checks.cjs +0 -601
- package/node_modules/zod/v4/core/checks.d.cts +0 -278
- package/node_modules/zod/v4/core/checks.d.ts +0 -278
- package/node_modules/zod/v4/core/checks.js +0 -575
- package/node_modules/zod/v4/core/core.cjs +0 -83
- package/node_modules/zod/v4/core/core.d.cts +0 -70
- package/node_modules/zod/v4/core/core.d.ts +0 -70
- package/node_modules/zod/v4/core/core.js +0 -76
- package/node_modules/zod/v4/core/doc.cjs +0 -39
- package/node_modules/zod/v4/core/doc.d.cts +0 -14
- package/node_modules/zod/v4/core/doc.d.ts +0 -14
- package/node_modules/zod/v4/core/doc.js +0 -35
- package/node_modules/zod/v4/core/errors.cjs +0 -213
- package/node_modules/zod/v4/core/errors.d.cts +0 -220
- package/node_modules/zod/v4/core/errors.d.ts +0 -220
- package/node_modules/zod/v4/core/errors.js +0 -182
- package/node_modules/zod/v4/core/index.cjs +0 -47
- package/node_modules/zod/v4/core/index.d.cts +0 -16
- package/node_modules/zod/v4/core/index.d.ts +0 -16
- package/node_modules/zod/v4/core/index.js +0 -16
- package/node_modules/zod/v4/core/json-schema-generator.cjs +0 -99
- package/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
- package/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
- package/node_modules/zod/v4/core/json-schema-generator.js +0 -95
- package/node_modules/zod/v4/core/json-schema-processors.cjs +0 -648
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -49
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -49
- package/node_modules/zod/v4/core/json-schema-processors.js +0 -605
- package/node_modules/zod/v4/core/json-schema.cjs +0 -2
- package/node_modules/zod/v4/core/json-schema.d.cts +0 -88
- package/node_modules/zod/v4/core/json-schema.d.ts +0 -88
- package/node_modules/zod/v4/core/json-schema.js +0 -1
- package/node_modules/zod/v4/core/package.json +0 -6
- package/node_modules/zod/v4/core/parse.cjs +0 -131
- package/node_modules/zod/v4/core/parse.d.cts +0 -49
- package/node_modules/zod/v4/core/parse.d.ts +0 -49
- package/node_modules/zod/v4/core/parse.js +0 -93
- package/node_modules/zod/v4/core/regexes.cjs +0 -166
- package/node_modules/zod/v4/core/regexes.d.cts +0 -79
- package/node_modules/zod/v4/core/regexes.d.ts +0 -79
- package/node_modules/zod/v4/core/regexes.js +0 -133
- package/node_modules/zod/v4/core/registries.cjs +0 -56
- package/node_modules/zod/v4/core/registries.d.cts +0 -35
- package/node_modules/zod/v4/core/registries.d.ts +0 -35
- package/node_modules/zod/v4/core/registries.js +0 -51
- package/node_modules/zod/v4/core/schemas.cjs +0 -2126
- package/node_modules/zod/v4/core/schemas.d.cts +0 -1146
- package/node_modules/zod/v4/core/schemas.d.ts +0 -1146
- package/node_modules/zod/v4/core/schemas.js +0 -2095
- package/node_modules/zod/v4/core/standard-schema.cjs +0 -2
- package/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
- package/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
- package/node_modules/zod/v4/core/standard-schema.js +0 -1
- package/node_modules/zod/v4/core/to-json-schema.cjs +0 -446
- package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -114
- package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -114
- package/node_modules/zod/v4/core/to-json-schema.js +0 -437
- package/node_modules/zod/v4/core/util.cjs +0 -710
- package/node_modules/zod/v4/core/util.d.cts +0 -199
- package/node_modules/zod/v4/core/util.d.ts +0 -199
- package/node_modules/zod/v4/core/util.js +0 -651
- package/node_modules/zod/v4/core/versions.cjs +0 -8
- package/node_modules/zod/v4/core/versions.d.cts +0 -5
- package/node_modules/zod/v4/core/versions.d.ts +0 -5
- package/node_modules/zod/v4/core/versions.js +0 -5
- package/node_modules/zod/v4/index.cjs +0 -22
- package/node_modules/zod/v4/index.d.cts +0 -3
- package/node_modules/zod/v4/index.d.ts +0 -3
- package/node_modules/zod/v4/index.js +0 -3
- package/node_modules/zod/v4/locales/ar.cjs +0 -133
- package/node_modules/zod/v4/locales/ar.d.cts +0 -5
- package/node_modules/zod/v4/locales/ar.d.ts +0 -4
- package/node_modules/zod/v4/locales/ar.js +0 -106
- package/node_modules/zod/v4/locales/az.cjs +0 -132
- package/node_modules/zod/v4/locales/az.d.cts +0 -5
- package/node_modules/zod/v4/locales/az.d.ts +0 -4
- package/node_modules/zod/v4/locales/az.js +0 -105
- package/node_modules/zod/v4/locales/be.cjs +0 -183
- package/node_modules/zod/v4/locales/be.d.cts +0 -5
- package/node_modules/zod/v4/locales/be.d.ts +0 -4
- package/node_modules/zod/v4/locales/be.js +0 -156
- package/node_modules/zod/v4/locales/bg.cjs +0 -147
- package/node_modules/zod/v4/locales/bg.d.cts +0 -5
- package/node_modules/zod/v4/locales/bg.d.ts +0 -4
- package/node_modules/zod/v4/locales/bg.js +0 -120
- package/node_modules/zod/v4/locales/ca.cjs +0 -134
- package/node_modules/zod/v4/locales/ca.d.cts +0 -5
- package/node_modules/zod/v4/locales/ca.d.ts +0 -4
- package/node_modules/zod/v4/locales/ca.js +0 -107
- package/node_modules/zod/v4/locales/cs.cjs +0 -138
- package/node_modules/zod/v4/locales/cs.d.cts +0 -5
- package/node_modules/zod/v4/locales/cs.d.ts +0 -4
- package/node_modules/zod/v4/locales/cs.js +0 -111
- package/node_modules/zod/v4/locales/da.cjs +0 -142
- package/node_modules/zod/v4/locales/da.d.cts +0 -5
- package/node_modules/zod/v4/locales/da.d.ts +0 -4
- package/node_modules/zod/v4/locales/da.js +0 -115
- package/node_modules/zod/v4/locales/de.cjs +0 -135
- package/node_modules/zod/v4/locales/de.d.cts +0 -5
- package/node_modules/zod/v4/locales/de.d.ts +0 -4
- package/node_modules/zod/v4/locales/de.js +0 -108
- package/node_modules/zod/v4/locales/en.cjs +0 -136
- package/node_modules/zod/v4/locales/en.d.cts +0 -5
- package/node_modules/zod/v4/locales/en.d.ts +0 -4
- package/node_modules/zod/v4/locales/en.js +0 -109
- package/node_modules/zod/v4/locales/eo.cjs +0 -136
- package/node_modules/zod/v4/locales/eo.d.cts +0 -5
- package/node_modules/zod/v4/locales/eo.d.ts +0 -4
- package/node_modules/zod/v4/locales/eo.js +0 -109
- package/node_modules/zod/v4/locales/es.cjs +0 -159
- package/node_modules/zod/v4/locales/es.d.cts +0 -5
- package/node_modules/zod/v4/locales/es.d.ts +0 -4
- package/node_modules/zod/v4/locales/es.js +0 -132
- package/node_modules/zod/v4/locales/fa.cjs +0 -141
- package/node_modules/zod/v4/locales/fa.d.cts +0 -5
- package/node_modules/zod/v4/locales/fa.d.ts +0 -4
- package/node_modules/zod/v4/locales/fa.js +0 -114
- package/node_modules/zod/v4/locales/fi.cjs +0 -139
- package/node_modules/zod/v4/locales/fi.d.cts +0 -5
- package/node_modules/zod/v4/locales/fi.d.ts +0 -4
- package/node_modules/zod/v4/locales/fi.js +0 -112
- package/node_modules/zod/v4/locales/fr-CA.cjs +0 -134
- package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
- package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
- package/node_modules/zod/v4/locales/fr-CA.js +0 -107
- package/node_modules/zod/v4/locales/fr.cjs +0 -135
- package/node_modules/zod/v4/locales/fr.d.cts +0 -5
- package/node_modules/zod/v4/locales/fr.d.ts +0 -4
- package/node_modules/zod/v4/locales/fr.js +0 -108
- package/node_modules/zod/v4/locales/he.cjs +0 -241
- package/node_modules/zod/v4/locales/he.d.cts +0 -5
- package/node_modules/zod/v4/locales/he.d.ts +0 -4
- package/node_modules/zod/v4/locales/he.js +0 -214
- package/node_modules/zod/v4/locales/hu.cjs +0 -135
- package/node_modules/zod/v4/locales/hu.d.cts +0 -5
- package/node_modules/zod/v4/locales/hu.d.ts +0 -4
- package/node_modules/zod/v4/locales/hu.js +0 -108
- package/node_modules/zod/v4/locales/hy.cjs +0 -174
- package/node_modules/zod/v4/locales/hy.d.cts +0 -5
- package/node_modules/zod/v4/locales/hy.d.ts +0 -4
- package/node_modules/zod/v4/locales/hy.js +0 -147
- package/node_modules/zod/v4/locales/id.cjs +0 -133
- package/node_modules/zod/v4/locales/id.d.cts +0 -5
- package/node_modules/zod/v4/locales/id.d.ts +0 -4
- package/node_modules/zod/v4/locales/id.js +0 -106
- package/node_modules/zod/v4/locales/index.cjs +0 -104
- package/node_modules/zod/v4/locales/index.d.cts +0 -49
- package/node_modules/zod/v4/locales/index.d.ts +0 -49
- package/node_modules/zod/v4/locales/index.js +0 -49
- package/node_modules/zod/v4/locales/is.cjs +0 -136
- package/node_modules/zod/v4/locales/is.d.cts +0 -5
- package/node_modules/zod/v4/locales/is.d.ts +0 -4
- package/node_modules/zod/v4/locales/is.js +0 -109
- package/node_modules/zod/v4/locales/it.cjs +0 -135
- package/node_modules/zod/v4/locales/it.d.cts +0 -5
- package/node_modules/zod/v4/locales/it.d.ts +0 -4
- package/node_modules/zod/v4/locales/it.js +0 -108
- package/node_modules/zod/v4/locales/ja.cjs +0 -134
- package/node_modules/zod/v4/locales/ja.d.cts +0 -5
- package/node_modules/zod/v4/locales/ja.d.ts +0 -4
- package/node_modules/zod/v4/locales/ja.js +0 -107
- package/node_modules/zod/v4/locales/ka.cjs +0 -139
- package/node_modules/zod/v4/locales/ka.d.cts +0 -5
- package/node_modules/zod/v4/locales/ka.d.ts +0 -4
- package/node_modules/zod/v4/locales/ka.js +0 -112
- package/node_modules/zod/v4/locales/kh.cjs +0 -12
- package/node_modules/zod/v4/locales/kh.d.cts +0 -5
- package/node_modules/zod/v4/locales/kh.d.ts +0 -5
- package/node_modules/zod/v4/locales/kh.js +0 -5
- package/node_modules/zod/v4/locales/km.cjs +0 -137
- package/node_modules/zod/v4/locales/km.d.cts +0 -5
- package/node_modules/zod/v4/locales/km.d.ts +0 -4
- package/node_modules/zod/v4/locales/km.js +0 -110
- package/node_modules/zod/v4/locales/ko.cjs +0 -138
- package/node_modules/zod/v4/locales/ko.d.cts +0 -5
- package/node_modules/zod/v4/locales/ko.d.ts +0 -4
- package/node_modules/zod/v4/locales/ko.js +0 -111
- package/node_modules/zod/v4/locales/lt.cjs +0 -230
- package/node_modules/zod/v4/locales/lt.d.cts +0 -5
- package/node_modules/zod/v4/locales/lt.d.ts +0 -4
- package/node_modules/zod/v4/locales/lt.js +0 -203
- package/node_modules/zod/v4/locales/mk.cjs +0 -136
- package/node_modules/zod/v4/locales/mk.d.cts +0 -5
- package/node_modules/zod/v4/locales/mk.d.ts +0 -4
- package/node_modules/zod/v4/locales/mk.js +0 -109
- package/node_modules/zod/v4/locales/ms.cjs +0 -134
- package/node_modules/zod/v4/locales/ms.d.cts +0 -5
- package/node_modules/zod/v4/locales/ms.d.ts +0 -4
- package/node_modules/zod/v4/locales/ms.js +0 -107
- package/node_modules/zod/v4/locales/nl.cjs +0 -137
- package/node_modules/zod/v4/locales/nl.d.cts +0 -5
- package/node_modules/zod/v4/locales/nl.d.ts +0 -4
- package/node_modules/zod/v4/locales/nl.js +0 -110
- package/node_modules/zod/v4/locales/no.cjs +0 -135
- package/node_modules/zod/v4/locales/no.d.cts +0 -5
- package/node_modules/zod/v4/locales/no.d.ts +0 -4
- package/node_modules/zod/v4/locales/no.js +0 -108
- package/node_modules/zod/v4/locales/ota.cjs +0 -136
- package/node_modules/zod/v4/locales/ota.d.cts +0 -5
- package/node_modules/zod/v4/locales/ota.d.ts +0 -4
- package/node_modules/zod/v4/locales/ota.js +0 -109
- package/node_modules/zod/v4/locales/package.json +0 -6
- package/node_modules/zod/v4/locales/pl.cjs +0 -136
- package/node_modules/zod/v4/locales/pl.d.cts +0 -5
- package/node_modules/zod/v4/locales/pl.d.ts +0 -4
- package/node_modules/zod/v4/locales/pl.js +0 -109
- package/node_modules/zod/v4/locales/ps.cjs +0 -141
- package/node_modules/zod/v4/locales/ps.d.cts +0 -5
- package/node_modules/zod/v4/locales/ps.d.ts +0 -4
- package/node_modules/zod/v4/locales/ps.js +0 -114
- package/node_modules/zod/v4/locales/pt.cjs +0 -135
- package/node_modules/zod/v4/locales/pt.d.cts +0 -5
- package/node_modules/zod/v4/locales/pt.d.ts +0 -4
- package/node_modules/zod/v4/locales/pt.js +0 -108
- package/node_modules/zod/v4/locales/ru.cjs +0 -183
- package/node_modules/zod/v4/locales/ru.d.cts +0 -5
- package/node_modules/zod/v4/locales/ru.d.ts +0 -4
- package/node_modules/zod/v4/locales/ru.js +0 -156
- package/node_modules/zod/v4/locales/sl.cjs +0 -136
- package/node_modules/zod/v4/locales/sl.d.cts +0 -5
- package/node_modules/zod/v4/locales/sl.d.ts +0 -4
- package/node_modules/zod/v4/locales/sl.js +0 -109
- package/node_modules/zod/v4/locales/sv.cjs +0 -137
- package/node_modules/zod/v4/locales/sv.d.cts +0 -5
- package/node_modules/zod/v4/locales/sv.d.ts +0 -4
- package/node_modules/zod/v4/locales/sv.js +0 -110
- package/node_modules/zod/v4/locales/ta.cjs +0 -137
- package/node_modules/zod/v4/locales/ta.d.cts +0 -5
- package/node_modules/zod/v4/locales/ta.d.ts +0 -4
- package/node_modules/zod/v4/locales/ta.js +0 -110
- package/node_modules/zod/v4/locales/th.cjs +0 -137
- package/node_modules/zod/v4/locales/th.d.cts +0 -5
- package/node_modules/zod/v4/locales/th.d.ts +0 -4
- package/node_modules/zod/v4/locales/th.js +0 -110
- package/node_modules/zod/v4/locales/tr.cjs +0 -132
- package/node_modules/zod/v4/locales/tr.d.cts +0 -5
- package/node_modules/zod/v4/locales/tr.d.ts +0 -4
- package/node_modules/zod/v4/locales/tr.js +0 -105
- package/node_modules/zod/v4/locales/ua.cjs +0 -12
- package/node_modules/zod/v4/locales/ua.d.cts +0 -5
- package/node_modules/zod/v4/locales/ua.d.ts +0 -5
- package/node_modules/zod/v4/locales/ua.js +0 -5
- package/node_modules/zod/v4/locales/uk.cjs +0 -135
- package/node_modules/zod/v4/locales/uk.d.cts +0 -5
- package/node_modules/zod/v4/locales/uk.d.ts +0 -4
- package/node_modules/zod/v4/locales/uk.js +0 -108
- package/node_modules/zod/v4/locales/ur.cjs +0 -137
- package/node_modules/zod/v4/locales/ur.d.cts +0 -5
- package/node_modules/zod/v4/locales/ur.d.ts +0 -4
- package/node_modules/zod/v4/locales/ur.js +0 -110
- package/node_modules/zod/v4/locales/uz.cjs +0 -136
- package/node_modules/zod/v4/locales/uz.d.cts +0 -5
- package/node_modules/zod/v4/locales/uz.d.ts +0 -4
- package/node_modules/zod/v4/locales/uz.js +0 -109
- package/node_modules/zod/v4/locales/vi.cjs +0 -135
- package/node_modules/zod/v4/locales/vi.d.cts +0 -5
- package/node_modules/zod/v4/locales/vi.d.ts +0 -4
- package/node_modules/zod/v4/locales/vi.js +0 -108
- package/node_modules/zod/v4/locales/yo.cjs +0 -134
- package/node_modules/zod/v4/locales/yo.d.cts +0 -5
- package/node_modules/zod/v4/locales/yo.d.ts +0 -4
- package/node_modules/zod/v4/locales/yo.js +0 -107
- package/node_modules/zod/v4/locales/zh-CN.cjs +0 -136
- package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
- package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
- package/node_modules/zod/v4/locales/zh-CN.js +0 -109
- package/node_modules/zod/v4/locales/zh-TW.cjs +0 -134
- package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
- package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
- package/node_modules/zod/v4/locales/zh-TW.js +0 -107
- package/node_modules/zod/v4/mini/checks.cjs +0 -34
- package/node_modules/zod/v4/mini/checks.d.cts +0 -1
- package/node_modules/zod/v4/mini/checks.d.ts +0 -1
- package/node_modules/zod/v4/mini/checks.js +0 -1
- package/node_modules/zod/v4/mini/coerce.cjs +0 -52
- package/node_modules/zod/v4/mini/coerce.d.cts +0 -7
- package/node_modules/zod/v4/mini/coerce.d.ts +0 -7
- package/node_modules/zod/v4/mini/coerce.js +0 -22
- package/node_modules/zod/v4/mini/external.cjs +0 -63
- package/node_modules/zod/v4/mini/external.d.cts +0 -12
- package/node_modules/zod/v4/mini/external.d.ts +0 -12
- package/node_modules/zod/v4/mini/external.js +0 -14
- package/node_modules/zod/v4/mini/index.cjs +0 -32
- package/node_modules/zod/v4/mini/index.d.cts +0 -3
- package/node_modules/zod/v4/mini/index.d.ts +0 -3
- package/node_modules/zod/v4/mini/index.js +0 -3
- package/node_modules/zod/v4/mini/iso.cjs +0 -64
- package/node_modules/zod/v4/mini/iso.d.cts +0 -22
- package/node_modules/zod/v4/mini/iso.d.ts +0 -22
- package/node_modules/zod/v4/mini/iso.js +0 -34
- package/node_modules/zod/v4/mini/package.json +0 -6
- package/node_modules/zod/v4/mini/parse.cjs +0 -16
- package/node_modules/zod/v4/mini/parse.d.cts +0 -1
- package/node_modules/zod/v4/mini/parse.d.ts +0 -1
- package/node_modules/zod/v4/mini/parse.js +0 -1
- package/node_modules/zod/v4/mini/schemas.cjs +0 -1046
- package/node_modules/zod/v4/mini/schemas.d.cts +0 -427
- package/node_modules/zod/v4/mini/schemas.d.ts +0 -427
- package/node_modules/zod/v4/mini/schemas.js +0 -925
- package/node_modules/zod/v4/package.json +0 -6
- package/node_modules/zod/v4-mini/index.cjs +0 -17
- package/node_modules/zod/v4-mini/index.d.cts +0 -1
- package/node_modules/zod/v4-mini/index.d.ts +0 -1
- package/node_modules/zod/v4-mini/index.js +0 -1
- package/node_modules/zod/v4-mini/package.json +0 -6
- /package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/cattle-planner.d.ts +0 -0
- /package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/cattle-task.d.ts +0 -0
- /package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/cattle-task.js +0 -0
- /package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/fs-private.d.ts +0 -0
- /package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/fs-private.js +0 -0
- /package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/hcloud-cattle.d.ts +0 -0
- /package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/hcloud-cattle.js +0 -0
- /package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/hcloud-labels.d.ts +0 -0
- /package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/hcloud.d.ts +0 -0
- /package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/hcloud.js +0 -0
- /package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/persona-loader.d.ts +0 -0
- /package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/ttl.d.ts +0 -0
- /package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/ttl.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/assets/opentofu/.terraform.lock.hcl +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/assets/opentofu/README.md +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/assets/opentofu/modules/bot_host/main.tf +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/assets/opentofu/outputs.tf +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/doctor/cattle-checks.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/doctor/cattle-checks.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/doctor/deploy-checks.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/doctor/repo-checks.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/doctor/types.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/doctor/types.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/doctor/util.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/doctor/util.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/doctor.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/doctor.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/index.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/index.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/age-keygen.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/age-keygen.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/age.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/age.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/base-flake.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/base-flake.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/context.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/context.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/docs-index.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/docs-index.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/dot-path.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/dot-path.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/dotenv-file.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/dotenv-file.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/fleet-nix-eval.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/fleet-nix-eval.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/fleet-policy.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/fleet-policy.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/fs-safe.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/fs-safe.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/git.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/git.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/github.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/github.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/host-resolve.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/host-resolve.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/inline-script-ban.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/inline-script-ban.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/mkpasswd.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/mkpasswd.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/nix-flakes.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/nix-flakes.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/nix-host.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/nix-host.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/nix-tools.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/nix-tools.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/opentofu.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/path-expand.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/path-expand.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/repo.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/repo.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/run.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/run.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/secrets-migrate.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/secrets-policy.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/secrets-policy.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/secrets-tar.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/secrets-tar.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/sops-config.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/sops-config.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/sops-path.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/sops-path.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/sops-rules.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/sops-rules.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/sops.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/sops.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/ssh-remote.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/ssh-remote.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/ssh.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/ssh.js +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/template-source.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/template-test-dir.d.ts +0 -0
- /package/{node_modules → vendor}/@clawdlets/core/dist/lib/template-test-dir.js +0 -0
- /package/{node_modules/@clawdlets/core → vendor/@clawdlets/shared}/dist/lib/identifiers.d.ts +0 -0
|
@@ -19,10 +19,6 @@ removed {
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
variable "hcloud_token" {
|
|
23
|
-
type = string
|
|
24
|
-
}
|
|
25
|
-
|
|
26
22
|
variable "host_name" {
|
|
27
23
|
type = string
|
|
28
24
|
}
|
|
@@ -74,9 +70,7 @@ variable "location" {
|
|
|
74
70
|
default = "nbg1"
|
|
75
71
|
}
|
|
76
72
|
|
|
77
|
-
provider "hcloud" {
|
|
78
|
-
token = var.hcloud_token
|
|
79
|
-
}
|
|
73
|
+
provider "hcloud" {}
|
|
80
74
|
|
|
81
75
|
module "clawdbot_fleet_host" {
|
|
82
76
|
source = "./modules/bot_host"
|
|
@@ -4,7 +4,7 @@ import YAML from "yaml";
|
|
|
4
4
|
import { getHostEncryptedAgeKeyFile, getHostExtraFilesDir, getHostExtraFilesKeyPath, getHostRemoteSecretsDir, getHostSecretsDir, } from "../repo-layout.js";
|
|
5
5
|
import { getHostAgeKeySopsCreationRulePathRegex, getHostAgeKeySopsCreationRulePathSuffix, getHostSecretsSopsCreationRulePathRegex, getHostSecretsSopsCreationRulePathSuffix } from "../lib/sops-rules.js";
|
|
6
6
|
import { validateHostSecretsYamlFiles } from "../lib/secrets-policy.js";
|
|
7
|
-
import { buildFleetSecretsPlan } from "../lib/fleet-secrets.js";
|
|
7
|
+
import { buildFleetSecretsPlan } from "../lib/fleet-secrets-plan.js";
|
|
8
8
|
import { capture } from "../lib/run.js";
|
|
9
9
|
import { looksLikeSshKeyContents, normalizeSshPublicKey } from "../lib/ssh.js";
|
|
10
10
|
import { getSshExposureMode, isPublicSshExposure, loadClawdletsConfig, } from "../lib/clawdlets-config.js";
|
|
@@ -17,6 +17,7 @@ import { agePublicKeyFromIdentityFile } from "../lib/age-keygen.js";
|
|
|
17
17
|
import { sopsDecryptYamlFile } from "../lib/sops.js";
|
|
18
18
|
import { getSopsCreationRuleAgeRecipients } from "../lib/sops-config.js";
|
|
19
19
|
import { readYamlScalarFromMapping } from "../lib/yaml-scalar.js";
|
|
20
|
+
import { mapWithConcurrency } from "../lib/concurrency.js";
|
|
20
21
|
export async function addDeployChecks(params) {
|
|
21
22
|
const host = params.host.trim() || "clawdbot-fleet-host";
|
|
22
23
|
const scope = params.scope;
|
|
@@ -220,20 +221,6 @@ export async function addDeployChecks(params) {
|
|
|
220
221
|
label: "remote secrets dir",
|
|
221
222
|
detail: getHostRemoteSecretsDir(host),
|
|
222
223
|
});
|
|
223
|
-
{
|
|
224
|
-
const garnixPrivate = clawdletsHostCfg.cache?.garnix?.private || null;
|
|
225
|
-
const enabled = Boolean(garnixPrivate?.enable);
|
|
226
|
-
if (enabled) {
|
|
227
|
-
const secretName = String(garnixPrivate?.netrcSecret || "garnix_netrc").trim();
|
|
228
|
-
if (!secretName) {
|
|
229
|
-
push({ status: "missing", label: "garnix netrc secret", detail: "(unset; expected cache.garnix.private.netrcSecret)" });
|
|
230
|
-
}
|
|
231
|
-
else {
|
|
232
|
-
const f = path.join(secretsLocalDir, `${secretName}.yaml`);
|
|
233
|
-
push({ status: fs.existsSync(f) ? "ok" : "missing", label: `secret: ${secretName}`, detail: fs.existsSync(f) ? undefined : f });
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
224
|
let secretsPlan = null;
|
|
238
225
|
try {
|
|
239
226
|
if (clawdletsCfg)
|
|
@@ -245,9 +232,9 @@ export async function addDeployChecks(params) {
|
|
|
245
232
|
}
|
|
246
233
|
if (secretsPlan && secretsPlan.missingSecretConfig.length > 0) {
|
|
247
234
|
for (const m of secretsPlan.missingSecretConfig.slice(0, 10)) {
|
|
248
|
-
const detail = m.kind === "
|
|
249
|
-
? `missing
|
|
250
|
-
: `
|
|
235
|
+
const detail = m.kind === "envVar"
|
|
236
|
+
? `missing mapping bot=${m.bot} envVar=${m.envVar} (set fleet.secretEnv.${m.envVar} or fleet.bots.${m.bot}.profile.secretEnv.${m.envVar})`
|
|
237
|
+
: `invalid secret file scope=${m.scope}${m.bot ? ` bot=${m.bot}` : ""} id=${m.fileId} targetPath=${m.targetPath} (${m.message})`;
|
|
251
238
|
push({
|
|
252
239
|
status: "missing",
|
|
253
240
|
label: "fleet secrets",
|
|
@@ -263,13 +250,12 @@ export async function addDeployChecks(params) {
|
|
|
263
250
|
}
|
|
264
251
|
}
|
|
265
252
|
const botsForSecrets = secretsPlan?.bots?.length ? secretsPlan.bots : params.fleetBots || [];
|
|
266
|
-
const
|
|
253
|
+
const hostSecretNamesRequired = secretsPlan?.hostSecretNamesRequired || ["admin_password_hash"];
|
|
254
|
+
const secretNamesAll = secretsPlan?.secretNamesAll || [];
|
|
267
255
|
if (botsForSecrets.length > 0) {
|
|
268
|
-
const tailnetMode = String(clawdletsHostCfg?.tailnet?.mode || "none");
|
|
269
256
|
const required = Array.from(new Set([
|
|
270
|
-
...
|
|
271
|
-
|
|
272
|
-
...envSecretsForHost,
|
|
257
|
+
...hostSecretNamesRequired,
|
|
258
|
+
...secretNamesAll,
|
|
273
259
|
]));
|
|
274
260
|
for (const secretName of required) {
|
|
275
261
|
const f = path.join(secretsLocalDir, `${secretName}.yaml`);
|
|
@@ -283,37 +269,47 @@ export async function addDeployChecks(params) {
|
|
|
283
269
|
else {
|
|
284
270
|
push({ status: "warn", label: "required secrets", detail: "(fleet bots list missing; cannot validate per-bot secrets)" });
|
|
285
271
|
}
|
|
286
|
-
|
|
272
|
+
const requiredForValues = Array.from(new Set([
|
|
273
|
+
...(secretsPlan?.hostSecretNamesRequired || []),
|
|
274
|
+
...(secretsPlan?.secretNamesRequired || []),
|
|
275
|
+
]));
|
|
276
|
+
if (requiredForValues.length > 0 && params.sopsAgeKeyFile && fs.existsSync(params.sopsAgeKeyFile)) {
|
|
287
277
|
const nix = { nixBin: params.nixBin, cwd: params.repoRoot, dryRun: false, env: process.env };
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
278
|
+
const checks = await mapWithConcurrency({
|
|
279
|
+
items: requiredForValues,
|
|
280
|
+
concurrency: 4,
|
|
281
|
+
fn: async (secretName) => {
|
|
282
|
+
const filePath = path.join(secretsLocalDir, `${secretName}.yaml`);
|
|
283
|
+
if (!fs.existsSync(filePath))
|
|
284
|
+
return null;
|
|
285
|
+
try {
|
|
286
|
+
const decrypted = await sopsDecryptYamlFile({
|
|
287
|
+
filePath,
|
|
288
|
+
configPath: params.layout.sopsConfigPath,
|
|
289
|
+
ageKeyFile: params.sopsAgeKeyFile,
|
|
290
|
+
nix,
|
|
291
|
+
});
|
|
292
|
+
const v = readYamlScalarFromMapping({ yamlText: decrypted, key: secretName }) || "";
|
|
293
|
+
const value = v.trim();
|
|
294
|
+
if (!value)
|
|
295
|
+
return { status: "missing", label: `secret value: ${secretName}`, detail: "(empty)" };
|
|
296
|
+
if (value === "<OPTIONAL>" || isPlaceholderSecretValue(value)) {
|
|
297
|
+
return { status: "missing", label: `secret value: ${secretName}`, detail: `(placeholder: ${value})` };
|
|
298
|
+
}
|
|
299
|
+
return { status: "ok", label: `secret value: ${secretName}` };
|
|
304
300
|
}
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
continue;
|
|
301
|
+
catch (e) {
|
|
302
|
+
return { status: "warn", label: `secret value: ${secretName}`, detail: String(e?.message || e) };
|
|
308
303
|
}
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
304
|
+
},
|
|
305
|
+
});
|
|
306
|
+
for (const c of checks) {
|
|
307
|
+
if (!c)
|
|
308
|
+
continue;
|
|
309
|
+
push(c);
|
|
314
310
|
}
|
|
315
311
|
}
|
|
316
|
-
else if (
|
|
312
|
+
else if (requiredForValues.length > 0) {
|
|
317
313
|
push({
|
|
318
314
|
status: "warn",
|
|
319
315
|
label: "required secrets",
|
|
@@ -147,6 +147,19 @@ async function evalWheelAccess(params) {
|
|
|
147
147
|
return null;
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
|
+
function getClawdletsRevFromFlakeLock(repoRoot) {
|
|
151
|
+
const flakeLockPath = path.join(repoRoot, "flake.lock");
|
|
152
|
+
if (!fs.existsSync(flakeLockPath))
|
|
153
|
+
return null;
|
|
154
|
+
try {
|
|
155
|
+
const lock = JSON.parse(fs.readFileSync(flakeLockPath, "utf8"));
|
|
156
|
+
const rev = lock?.nodes?.clawdlets?.locked?.rev;
|
|
157
|
+
return typeof rev === "string" && rev.trim() ? rev.trim() : null;
|
|
158
|
+
}
|
|
159
|
+
catch {
|
|
160
|
+
return null;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
150
163
|
export async function addRepoChecks(params) {
|
|
151
164
|
const { repoRoot, layout } = params;
|
|
152
165
|
let fleet = null;
|
|
@@ -157,6 +170,31 @@ export async function addRepoChecks(params) {
|
|
|
157
170
|
label: "repo root",
|
|
158
171
|
detail: repoRoot,
|
|
159
172
|
});
|
|
173
|
+
// Check clawdlets input in flake.lock (informational)
|
|
174
|
+
{
|
|
175
|
+
const flakeRev = getClawdletsRevFromFlakeLock(repoRoot);
|
|
176
|
+
if (flakeRev) {
|
|
177
|
+
params.push({
|
|
178
|
+
scope: "repo",
|
|
179
|
+
status: "ok",
|
|
180
|
+
label: "clawdlets flake input",
|
|
181
|
+
detail: `rev: ${flakeRev.slice(0, 12)}...`,
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
else {
|
|
185
|
+
const flakeLockExists = fs.existsSync(path.join(repoRoot, "flake.lock"));
|
|
186
|
+
if (flakeLockExists) {
|
|
187
|
+
// flake.lock exists but no clawdlets input - might be a different project type
|
|
188
|
+
params.push({
|
|
189
|
+
scope: "repo",
|
|
190
|
+
status: "warn",
|
|
191
|
+
label: "clawdlets flake input",
|
|
192
|
+
detail: "(no clawdlets input found in flake.lock)",
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
// If flake.lock doesn't exist, skip this check silently (test environments, etc.)
|
|
196
|
+
}
|
|
197
|
+
}
|
|
160
198
|
params.push({
|
|
161
199
|
scope: "repo",
|
|
162
200
|
status: fs.existsSync(layout.opentofuDir) ? "ok" : "warn",
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ClawdletsConfig } from "./clawdlets-config.js";
|
|
2
|
+
export type ClawdbotInvariantWarning = {
|
|
3
|
+
bot: string;
|
|
4
|
+
path: string;
|
|
5
|
+
message: string;
|
|
6
|
+
expected?: unknown;
|
|
7
|
+
actual?: unknown;
|
|
8
|
+
};
|
|
9
|
+
export declare function buildClawdbotBotConfig(params: {
|
|
10
|
+
config: ClawdletsConfig;
|
|
11
|
+
bot: string;
|
|
12
|
+
}): {
|
|
13
|
+
bot: string;
|
|
14
|
+
base: Record<string, unknown>;
|
|
15
|
+
merged: Record<string, unknown>;
|
|
16
|
+
invariants: Record<string, unknown>;
|
|
17
|
+
warnings: ClawdbotInvariantWarning[];
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=clawdbot-config-invariants.d.ts.map
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { getAtPath } from "./object-path.js";
|
|
2
|
+
const DEFAULT_GATEWAY_PORT_BASE = 18789;
|
|
3
|
+
const DEFAULT_GATEWAY_PORT_STRIDE = 20;
|
|
4
|
+
const DEFAULT_STATE_DIR_BASE = "/srv/clawdbot";
|
|
5
|
+
const DEFAULT_COMMANDS = { native: "auto", nativeSkills: "auto" };
|
|
6
|
+
function isPlainObject(value) {
|
|
7
|
+
return Boolean(value) && typeof value === "object" && !Array.isArray(value);
|
|
8
|
+
}
|
|
9
|
+
function toCleanString(value) {
|
|
10
|
+
if (typeof value !== "string")
|
|
11
|
+
return undefined;
|
|
12
|
+
const trimmed = value.trim();
|
|
13
|
+
return trimmed ? trimmed : undefined;
|
|
14
|
+
}
|
|
15
|
+
function toCleanNumber(value) {
|
|
16
|
+
if (typeof value === "number" && Number.isFinite(value))
|
|
17
|
+
return value;
|
|
18
|
+
if (typeof value === "string") {
|
|
19
|
+
const parsed = Number(value);
|
|
20
|
+
if (Number.isFinite(parsed))
|
|
21
|
+
return parsed;
|
|
22
|
+
}
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
function toCleanBoolean(value) {
|
|
26
|
+
if (typeof value === "boolean")
|
|
27
|
+
return value;
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
function deepMerge(base, override) {
|
|
31
|
+
const out = structuredClone(base);
|
|
32
|
+
for (const [key, value] of Object.entries(override)) {
|
|
33
|
+
if (isPlainObject(value) && isPlainObject(out[key])) {
|
|
34
|
+
out[key] = deepMerge(out[key], value);
|
|
35
|
+
continue;
|
|
36
|
+
}
|
|
37
|
+
out[key] = structuredClone(value);
|
|
38
|
+
}
|
|
39
|
+
return out;
|
|
40
|
+
}
|
|
41
|
+
function resolveBotIndex(config, bot) {
|
|
42
|
+
const bots = Array.isArray(config.fleet.botOrder) ? config.fleet.botOrder : [];
|
|
43
|
+
const index = bots.indexOf(bot);
|
|
44
|
+
if (index === -1)
|
|
45
|
+
throw new Error(`bot not found in fleet.botOrder: ${bot}`);
|
|
46
|
+
return index;
|
|
47
|
+
}
|
|
48
|
+
function resolveGatewayPort(params) {
|
|
49
|
+
const override = toCleanNumber(params.profile["gatewayPort"]);
|
|
50
|
+
if (override != null)
|
|
51
|
+
return Math.floor(override);
|
|
52
|
+
const index = resolveBotIndex(params.config, params.bot);
|
|
53
|
+
return DEFAULT_GATEWAY_PORT_BASE + index * DEFAULT_GATEWAY_PORT_STRIDE;
|
|
54
|
+
}
|
|
55
|
+
function resolveWorkspaceDir(params) {
|
|
56
|
+
const workspace = isPlainObject(params.profile["workspace"]) ? params.profile["workspace"] : {};
|
|
57
|
+
const dir = toCleanString(workspace["dir"]);
|
|
58
|
+
if (dir)
|
|
59
|
+
return dir;
|
|
60
|
+
return `${DEFAULT_STATE_DIR_BASE}/${params.bot}/workspace`;
|
|
61
|
+
}
|
|
62
|
+
function resolveSkipBootstrap(params) {
|
|
63
|
+
const override = toCleanBoolean(params.profile["skipBootstrap"]);
|
|
64
|
+
if (override != null)
|
|
65
|
+
return override;
|
|
66
|
+
const workspace = isPlainObject(params.profile["workspace"]) ? params.profile["workspace"] : {};
|
|
67
|
+
const seedDir = workspace["seedDir"];
|
|
68
|
+
return seedDir != null && String(seedDir).trim() !== "";
|
|
69
|
+
}
|
|
70
|
+
function warnOverrides(params) {
|
|
71
|
+
const existing = getAtPath(params.base, params.path);
|
|
72
|
+
if (existing === undefined)
|
|
73
|
+
return null;
|
|
74
|
+
const pathLabel = params.path.join(".");
|
|
75
|
+
const message = `clawdbot.${pathLabel} is managed by clawdlets invariants and will be overwritten`;
|
|
76
|
+
return {
|
|
77
|
+
bot: params.bot,
|
|
78
|
+
path: pathLabel,
|
|
79
|
+
message,
|
|
80
|
+
expected: params.expected,
|
|
81
|
+
actual: existing,
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
export function buildClawdbotBotConfig(params) {
|
|
85
|
+
const botCfg = params.config.fleet.bots?.[params.bot];
|
|
86
|
+
const botCfgObj = isPlainObject(botCfg) ? botCfg : {};
|
|
87
|
+
const profile = isPlainObject(botCfgObj["profile"]) ? botCfgObj["profile"] : {};
|
|
88
|
+
const base = isPlainObject(botCfgObj["clawdbot"]) ? botCfgObj["clawdbot"] : {};
|
|
89
|
+
const baseWithDefaults = deepMerge({ commands: DEFAULT_COMMANDS }, base);
|
|
90
|
+
const gatewayPort = resolveGatewayPort({ config: params.config, bot: params.bot, profile });
|
|
91
|
+
const workspaceDir = resolveWorkspaceDir({ bot: params.bot, profile });
|
|
92
|
+
const skipBootstrap = resolveSkipBootstrap({ profile });
|
|
93
|
+
const invariants = {
|
|
94
|
+
gateway: {
|
|
95
|
+
mode: "local",
|
|
96
|
+
bind: "loopback",
|
|
97
|
+
port: gatewayPort,
|
|
98
|
+
auth: {
|
|
99
|
+
mode: "token",
|
|
100
|
+
token: "${CLAWDBOT_GATEWAY_TOKEN}",
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
agents: {
|
|
104
|
+
defaults: {
|
|
105
|
+
workspace: workspaceDir,
|
|
106
|
+
skipBootstrap,
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
};
|
|
110
|
+
const warnings = [];
|
|
111
|
+
const warn = (path, expected) => {
|
|
112
|
+
const w = warnOverrides({ bot: params.bot, base, path, expected });
|
|
113
|
+
if (w)
|
|
114
|
+
warnings.push(w);
|
|
115
|
+
};
|
|
116
|
+
warn(["gateway", "mode"], "local");
|
|
117
|
+
warn(["gateway", "bind"], "loopback");
|
|
118
|
+
warn(["gateway", "port"], gatewayPort);
|
|
119
|
+
warn(["gateway", "auth"], { mode: "token", token: "${CLAWDBOT_GATEWAY_TOKEN}" });
|
|
120
|
+
warn(["agents", "defaults", "workspace"], workspaceDir);
|
|
121
|
+
warn(["agents", "defaults", "skipBootstrap"], skipBootstrap);
|
|
122
|
+
return {
|
|
123
|
+
bot: params.bot,
|
|
124
|
+
base,
|
|
125
|
+
merged: deepMerge(baseWithDefaults, invariants),
|
|
126
|
+
invariants,
|
|
127
|
+
warnings,
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
//# sourceMappingURL=clawdbot-config-invariants.js.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { createRequire } from "node:module";
|
|
2
|
+
import { getPinnedClawdbotSchema } from "./clawdbot-schema.js";
|
|
3
|
+
const require = createRequire(import.meta.url);
|
|
4
|
+
const Ajv = require("ajv");
|
|
5
|
+
let cachedValidator = null;
|
|
6
|
+
function formatAjvError(err) {
|
|
7
|
+
const pathBase = err.instancePath ? err.instancePath.replace(/^\//, "").replaceAll("/", ".") : "(root)";
|
|
8
|
+
if (err.keyword === "required" && typeof err.params?.missingProperty === "string") {
|
|
9
|
+
const missing = err.params.missingProperty;
|
|
10
|
+
return `${pathBase === "(root)" ? missing : `${pathBase}.${missing}`}: ${err.message ?? "required"}`;
|
|
11
|
+
}
|
|
12
|
+
return `${pathBase}: ${err.message ?? "invalid"}`;
|
|
13
|
+
}
|
|
14
|
+
function getValidator() {
|
|
15
|
+
if (cachedValidator)
|
|
16
|
+
return cachedValidator;
|
|
17
|
+
const ajv = new Ajv({
|
|
18
|
+
allErrors: true,
|
|
19
|
+
strict: false,
|
|
20
|
+
allowUnionTypes: true,
|
|
21
|
+
validateFormats: false,
|
|
22
|
+
});
|
|
23
|
+
const schema = getPinnedClawdbotSchema().schema;
|
|
24
|
+
cachedValidator = ajv.compile(schema);
|
|
25
|
+
return cachedValidator;
|
|
26
|
+
}
|
|
27
|
+
export function validateClawdbotConfig(value) {
|
|
28
|
+
const validate = getValidator();
|
|
29
|
+
const ok = Boolean(validate(value));
|
|
30
|
+
if (ok)
|
|
31
|
+
return { ok: true, errors: [] };
|
|
32
|
+
const errors = (validate.errors || []).map(formatAjvError);
|
|
33
|
+
return { ok: false, errors };
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=clawdbot-schema-validate.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type ClawdbotSchemaArtifact = {
|
|
2
|
+
schema: Record<string, any>;
|
|
3
|
+
uiHints: Record<string, any>;
|
|
4
|
+
version: string;
|
|
5
|
+
generatedAt: string;
|
|
6
|
+
clawdbotRev: string;
|
|
7
|
+
};
|
|
8
|
+
export declare function getPinnedClawdbotSchema(): ClawdbotSchemaArtifact;
|
|
9
|
+
//# sourceMappingURL=clawdbot-schema.d.ts.map
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export function assertNoLegacyHostKeys(parsed) {
|
|
2
|
+
if (!parsed || typeof parsed !== "object" || Array.isArray(parsed))
|
|
3
|
+
return;
|
|
4
|
+
const hostsRaw = parsed.hosts;
|
|
5
|
+
if (!hostsRaw || typeof hostsRaw !== "object" || Array.isArray(hostsRaw))
|
|
6
|
+
return;
|
|
7
|
+
for (const [host, hostCfg] of Object.entries(hostsRaw)) {
|
|
8
|
+
if (!hostCfg || typeof hostCfg !== "object" || Array.isArray(hostCfg))
|
|
9
|
+
continue;
|
|
10
|
+
if ("publicSsh" in hostCfg) {
|
|
11
|
+
throw new Error(`legacy host config key publicSsh found for ${host}; use sshExposure.mode`);
|
|
12
|
+
}
|
|
13
|
+
if ("opentofu" in hostCfg) {
|
|
14
|
+
throw new Error(`legacy host config key opentofu found for ${host}; use provisioning`);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export function assertNoLegacyEnvSecrets(parsed) {
|
|
19
|
+
if (!parsed || typeof parsed !== "object" || Array.isArray(parsed))
|
|
20
|
+
return;
|
|
21
|
+
const fleet = parsed.fleet;
|
|
22
|
+
if (fleet && typeof fleet === "object" && !Array.isArray(fleet)) {
|
|
23
|
+
if ("envSecrets" in fleet) {
|
|
24
|
+
throw new Error("fleet.envSecrets was removed; use fleet.secretEnv (ENV_VAR -> sops secret name)");
|
|
25
|
+
}
|
|
26
|
+
if ("modelSecrets" in fleet) {
|
|
27
|
+
throw new Error("fleet.modelSecrets was removed; use fleet.secretEnv (e.g. OPENAI_API_KEY -> openai_api_key)");
|
|
28
|
+
}
|
|
29
|
+
if ("guildId" in fleet) {
|
|
30
|
+
throw new Error("fleet.guildId was removed; configure Discord in clawdbot config (fleet.bots.<bot>.clawdbot)");
|
|
31
|
+
}
|
|
32
|
+
const bots = fleet.bots;
|
|
33
|
+
if (bots && typeof bots === "object" && !Array.isArray(bots)) {
|
|
34
|
+
for (const [bot, botCfg] of Object.entries(bots)) {
|
|
35
|
+
if (!botCfg || typeof botCfg !== "object" || Array.isArray(botCfg))
|
|
36
|
+
continue;
|
|
37
|
+
const profile = botCfg.profile;
|
|
38
|
+
if (profile && typeof profile === "object" && !Array.isArray(profile)) {
|
|
39
|
+
if ("envSecrets" in profile) {
|
|
40
|
+
throw new Error(`fleet.bots.${bot}.profile.envSecrets was removed; use profile.secretEnv (ENV_VAR -> sops secret name)`);
|
|
41
|
+
}
|
|
42
|
+
if ("discordTokenSecret" in profile) {
|
|
43
|
+
throw new Error(`fleet.bots.${bot}.profile.discordTokenSecret was removed; use profile.secretEnv.DISCORD_BOT_TOKEN`);
|
|
44
|
+
}
|
|
45
|
+
if ("modelSecrets" in profile) {
|
|
46
|
+
throw new Error(`fleet.bots.${bot}.profile.modelSecrets was removed; use profile.secretEnv (OPENAI_API_KEY/ANTHROPIC_API_KEY/etc)`);
|
|
47
|
+
}
|
|
48
|
+
const skills = profile.skills;
|
|
49
|
+
const entries = skills?.entries;
|
|
50
|
+
if (entries && typeof entries === "object" && !Array.isArray(entries)) {
|
|
51
|
+
for (const [skill, entry] of Object.entries(entries)) {
|
|
52
|
+
if (!entry || typeof entry !== "object" || Array.isArray(entry))
|
|
53
|
+
continue;
|
|
54
|
+
if ("envSecrets" in entry) {
|
|
55
|
+
throw new Error(`fleet.bots.${bot}.profile.skills.entries.${skill}.envSecrets was removed; use apiKeySecret or inline config`);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=clawdlets-config-legacy.js.map
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { getProviderRequiredEnvVars } from "@clawdlets/shared/lib/llm-provider-env";
|
|
2
|
+
import { assertSafeRecordKey, createNullProtoRecord } from "./safe-record.js";
|
|
3
|
+
function isPlainObject(value) {
|
|
4
|
+
return Boolean(value) && typeof value === "object" && !Array.isArray(value);
|
|
5
|
+
}
|
|
6
|
+
function toStringRecord(value) {
|
|
7
|
+
if (!isPlainObject(value))
|
|
8
|
+
return createNullProtoRecord();
|
|
9
|
+
const out = createNullProtoRecord();
|
|
10
|
+
for (const [k, v] of Object.entries(value)) {
|
|
11
|
+
if (typeof v !== "string")
|
|
12
|
+
continue;
|
|
13
|
+
const key = String(k || "").trim();
|
|
14
|
+
const vv = v.trim();
|
|
15
|
+
if (!key || !vv)
|
|
16
|
+
continue;
|
|
17
|
+
assertSafeRecordKey({ key, context: "migrate string record" });
|
|
18
|
+
out[key] = vv;
|
|
19
|
+
}
|
|
20
|
+
return out;
|
|
21
|
+
}
|
|
22
|
+
function ensureObject(parent, key) {
|
|
23
|
+
const existing = parent[key];
|
|
24
|
+
if (isPlainObject(existing))
|
|
25
|
+
return existing;
|
|
26
|
+
assertSafeRecordKey({ key, context: "migrate ensureObject" });
|
|
27
|
+
const next = createNullProtoRecord();
|
|
28
|
+
parent[key] = next;
|
|
29
|
+
return next;
|
|
30
|
+
}
|
|
31
|
+
function ensureStringRecord(parent, key) {
|
|
32
|
+
const existing = parent[key];
|
|
33
|
+
assertSafeRecordKey({ key, context: "migrate ensureStringRecord" });
|
|
34
|
+
if (isPlainObject(existing)) {
|
|
35
|
+
const sanitized = toStringRecord(existing);
|
|
36
|
+
parent[key] = sanitized;
|
|
37
|
+
return sanitized;
|
|
38
|
+
}
|
|
39
|
+
const next = createNullProtoRecord();
|
|
40
|
+
parent[key] = next;
|
|
41
|
+
return next;
|
|
42
|
+
}
|
|
43
|
+
function applyProviderSecretsToEnv(params) {
|
|
44
|
+
let changed = false;
|
|
45
|
+
for (const [provider, secretName] of Object.entries(params.providerSecrets)) {
|
|
46
|
+
const envVars = getProviderRequiredEnvVars(provider);
|
|
47
|
+
for (const envVar of envVars) {
|
|
48
|
+
if (!params.env[envVar]) {
|
|
49
|
+
params.env[envVar] = secretName;
|
|
50
|
+
changed = true;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return changed;
|
|
55
|
+
}
|
|
56
|
+
function ensureDiscordTokenEnvRef(botCfg) {
|
|
57
|
+
const clawdbot = botCfg["clawdbot"];
|
|
58
|
+
if (!isPlainObject(clawdbot))
|
|
59
|
+
return false;
|
|
60
|
+
const channels = clawdbot["channels"];
|
|
61
|
+
if (!isPlainObject(channels))
|
|
62
|
+
return false;
|
|
63
|
+
const discord = channels["discord"];
|
|
64
|
+
if (!isPlainObject(discord))
|
|
65
|
+
return false;
|
|
66
|
+
const enabled = discord["enabled"];
|
|
67
|
+
if (enabled === false)
|
|
68
|
+
return false;
|
|
69
|
+
const token = discord["token"];
|
|
70
|
+
if (typeof token === "string" && token.trim())
|
|
71
|
+
return false;
|
|
72
|
+
discord["token"] = "${DISCORD_BOT_TOKEN}";
|
|
73
|
+
return true;
|
|
74
|
+
}
|
|
75
|
+
export function migrateClawdletsConfigToV9(raw) {
|
|
76
|
+
if (!isPlainObject(raw))
|
|
77
|
+
throw new Error("invalid config (expected JSON object)");
|
|
78
|
+
const next = structuredClone(raw);
|
|
79
|
+
const warnings = [];
|
|
80
|
+
const schemaVersion = Number(next["schemaVersion"] ?? 0);
|
|
81
|
+
if (schemaVersion === 9)
|
|
82
|
+
return { ok: true, changed: false, warnings, migrated: next };
|
|
83
|
+
if (schemaVersion !== 8)
|
|
84
|
+
throw new Error(`unsupported schemaVersion: ${schemaVersion} (expected 8)`);
|
|
85
|
+
let changed = false;
|
|
86
|
+
next["schemaVersion"] = 9;
|
|
87
|
+
changed = true;
|
|
88
|
+
const fleet = ensureObject(next, "fleet");
|
|
89
|
+
const fleetSecretEnv = ensureStringRecord(fleet, "secretEnv");
|
|
90
|
+
const fleetSecretFiles = ensureObject(fleet, "secretFiles");
|
|
91
|
+
void fleetSecretFiles;
|
|
92
|
+
if ("guildId" in fleet) {
|
|
93
|
+
delete fleet.guildId;
|
|
94
|
+
changed = true;
|
|
95
|
+
}
|
|
96
|
+
if ("envSecrets" in fleet) {
|
|
97
|
+
const legacy = toStringRecord(fleet.envSecrets);
|
|
98
|
+
for (const [envVar, secretName] of Object.entries(legacy)) {
|
|
99
|
+
if (!fleetSecretEnv[envVar])
|
|
100
|
+
fleetSecretEnv[envVar] = secretName;
|
|
101
|
+
}
|
|
102
|
+
delete fleet.envSecrets;
|
|
103
|
+
changed = true;
|
|
104
|
+
}
|
|
105
|
+
if ("modelSecrets" in fleet) {
|
|
106
|
+
const legacy = toStringRecord(fleet.modelSecrets);
|
|
107
|
+
if (applyProviderSecretsToEnv({ env: fleetSecretEnv, providerSecrets: legacy }))
|
|
108
|
+
changed = true;
|
|
109
|
+
delete fleet.modelSecrets;
|
|
110
|
+
changed = true;
|
|
111
|
+
}
|
|
112
|
+
const bots = ensureObject(fleet, "bots");
|
|
113
|
+
for (const [botId, botCfgRaw] of Object.entries(bots)) {
|
|
114
|
+
if (!isPlainObject(botCfgRaw))
|
|
115
|
+
continue;
|
|
116
|
+
const botCfg = botCfgRaw;
|
|
117
|
+
const profile = ensureObject(botCfg, "profile");
|
|
118
|
+
const profileSecretEnv = ensureStringRecord(profile, "secretEnv");
|
|
119
|
+
const profileSecretFiles = ensureObject(profile, "secretFiles");
|
|
120
|
+
void profileSecretFiles;
|
|
121
|
+
if ("envSecrets" in profile) {
|
|
122
|
+
const legacy = toStringRecord(profile.envSecrets);
|
|
123
|
+
for (const [envVar, secretName] of Object.entries(legacy)) {
|
|
124
|
+
if (!profileSecretEnv[envVar])
|
|
125
|
+
profileSecretEnv[envVar] = secretName;
|
|
126
|
+
}
|
|
127
|
+
delete profile.envSecrets;
|
|
128
|
+
changed = true;
|
|
129
|
+
}
|
|
130
|
+
const discordTokenSecret = typeof profile.discordTokenSecret === "string" ? String(profile.discordTokenSecret).trim() : "";
|
|
131
|
+
if (discordTokenSecret) {
|
|
132
|
+
if (!profileSecretEnv["DISCORD_BOT_TOKEN"])
|
|
133
|
+
profileSecretEnv["DISCORD_BOT_TOKEN"] = discordTokenSecret;
|
|
134
|
+
else if (profileSecretEnv["DISCORD_BOT_TOKEN"] !== discordTokenSecret) {
|
|
135
|
+
warnings.push(`bot ${botId}: discordTokenSecret differs from profile.secretEnv.DISCORD_BOT_TOKEN; keeping secretEnv`);
|
|
136
|
+
}
|
|
137
|
+
delete profile.discordTokenSecret;
|
|
138
|
+
changed = true;
|
|
139
|
+
if (ensureDiscordTokenEnvRef(botCfg))
|
|
140
|
+
changed = true;
|
|
141
|
+
}
|
|
142
|
+
if ("modelSecrets" in profile) {
|
|
143
|
+
const legacy = toStringRecord(profile.modelSecrets);
|
|
144
|
+
if (applyProviderSecretsToEnv({ env: profileSecretEnv, providerSecrets: legacy }))
|
|
145
|
+
changed = true;
|
|
146
|
+
delete profile.modelSecrets;
|
|
147
|
+
changed = true;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
return { ok: true, changed, warnings, migrated: next };
|
|
151
|
+
}
|
|
152
|
+
//# sourceMappingURL=clawdlets-config-migrate.js.map
|