clawdlets 0.3.3 → 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
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
import fs from "node:fs";
|
|
2
|
+
import path from "node:path";
|
|
3
|
+
import process from "node:process";
|
|
4
|
+
import { tmpdir } from "node:os";
|
|
5
|
+
import { downloadTemplate } from "giget";
|
|
6
|
+
import { ensureDir, writeFileAtomic } from "./fs-safe.js";
|
|
7
|
+
import { capture, run } from "./run.js";
|
|
8
|
+
import { assertSafeHostName } from "@clawdlets/shared/lib/identifiers";
|
|
9
|
+
function resolveLocalTemplateDir(templateSpec) {
|
|
10
|
+
const trimmed = String(templateSpec || "").trim();
|
|
11
|
+
if (!trimmed.startsWith("file:"))
|
|
12
|
+
return null;
|
|
13
|
+
const dir = trimmed.slice("file:".length).trim();
|
|
14
|
+
if (!dir)
|
|
15
|
+
throw new Error("templateSpec file: missing path");
|
|
16
|
+
return path.resolve(process.cwd(), dir);
|
|
17
|
+
}
|
|
18
|
+
function applySubs(s, subs) {
|
|
19
|
+
let out = s;
|
|
20
|
+
for (const [k, v] of Object.entries(subs))
|
|
21
|
+
out = out.split(k).join(v);
|
|
22
|
+
return out;
|
|
23
|
+
}
|
|
24
|
+
function isProbablyText(file) {
|
|
25
|
+
const base = path.basename(file);
|
|
26
|
+
if (base === "Justfile" || base === "_gitignore")
|
|
27
|
+
return true;
|
|
28
|
+
const ext = path.extname(file).toLowerCase();
|
|
29
|
+
return [
|
|
30
|
+
".md",
|
|
31
|
+
".nix",
|
|
32
|
+
".tf",
|
|
33
|
+
".hcl",
|
|
34
|
+
".json",
|
|
35
|
+
".yaml",
|
|
36
|
+
".yml",
|
|
37
|
+
".txt",
|
|
38
|
+
".lock",
|
|
39
|
+
".gitignore",
|
|
40
|
+
].includes(ext);
|
|
41
|
+
}
|
|
42
|
+
async function copyTree(params) {
|
|
43
|
+
const entries = await fs.promises.readdir(params.srcDir, { withFileTypes: true });
|
|
44
|
+
for (const ent of entries) {
|
|
45
|
+
const srcName = ent.name;
|
|
46
|
+
const srcPath = path.join(params.srcDir, srcName);
|
|
47
|
+
const renamed = srcName === "_gitignore" ? ".gitignore" : applySubs(srcName, params.subs);
|
|
48
|
+
const destPath = path.join(params.destDir, renamed);
|
|
49
|
+
if (ent.isDirectory()) {
|
|
50
|
+
await ensureDir(destPath);
|
|
51
|
+
await copyTree({ srcDir: srcPath, destDir: destPath, subs: params.subs });
|
|
52
|
+
continue;
|
|
53
|
+
}
|
|
54
|
+
if (!ent.isFile())
|
|
55
|
+
continue;
|
|
56
|
+
const buf = await fs.promises.readFile(srcPath);
|
|
57
|
+
if (!isProbablyText(srcName)) {
|
|
58
|
+
await ensureDir(path.dirname(destPath));
|
|
59
|
+
await fs.promises.writeFile(destPath, buf);
|
|
60
|
+
continue;
|
|
61
|
+
}
|
|
62
|
+
const rendered = applySubs(buf.toString("utf8"), params.subs);
|
|
63
|
+
await writeFileAtomic(destPath, rendered);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
async function dirHasAnyFiles(dir) {
|
|
67
|
+
try {
|
|
68
|
+
const entries = await fs.promises.readdir(dir);
|
|
69
|
+
return entries.length > 0;
|
|
70
|
+
}
|
|
71
|
+
catch {
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
async function ensureHookExecutables(repoRoot) {
|
|
76
|
+
const hooksDir = path.join(repoRoot, ".githooks");
|
|
77
|
+
try {
|
|
78
|
+
const entries = await fs.promises.readdir(hooksDir, { withFileTypes: true });
|
|
79
|
+
let hasHooks = false;
|
|
80
|
+
for (const ent of entries) {
|
|
81
|
+
if (!ent.isFile())
|
|
82
|
+
continue;
|
|
83
|
+
const p = path.join(hooksDir, ent.name);
|
|
84
|
+
await fs.promises.chmod(p, 0o755);
|
|
85
|
+
hasHooks = true;
|
|
86
|
+
}
|
|
87
|
+
return hasHooks;
|
|
88
|
+
}
|
|
89
|
+
catch {
|
|
90
|
+
return false;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
async function findTemplateRoot(dir) {
|
|
94
|
+
const direct = path.join(dir, "fleet", "clawdlets.json");
|
|
95
|
+
if (fs.existsSync(direct))
|
|
96
|
+
return dir;
|
|
97
|
+
const entries = await fs.promises.readdir(dir, { withFileTypes: true });
|
|
98
|
+
const candidates = [];
|
|
99
|
+
for (const ent of entries) {
|
|
100
|
+
if (!ent.isDirectory())
|
|
101
|
+
continue;
|
|
102
|
+
const candidate = path.join(dir, ent.name);
|
|
103
|
+
if (fs.existsSync(path.join(candidate, "fleet", "clawdlets.json"))) {
|
|
104
|
+
candidates.push(candidate);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
if (candidates.length === 1)
|
|
108
|
+
return candidates[0];
|
|
109
|
+
throw new Error(`template root missing fleet/clawdlets.json (searched: ${dir})`);
|
|
110
|
+
}
|
|
111
|
+
async function withDownloadedTemplate(templateSpec, fn) {
|
|
112
|
+
const localDir = resolveLocalTemplateDir(templateSpec);
|
|
113
|
+
if (localDir) {
|
|
114
|
+
const stat = await fs.promises.stat(localDir).catch(() => null);
|
|
115
|
+
if (!stat || !stat.isDirectory()) {
|
|
116
|
+
throw new Error(`local template dir not found: ${localDir}`);
|
|
117
|
+
}
|
|
118
|
+
const templateDir = await findTemplateRoot(localDir);
|
|
119
|
+
return await fn({ templateDir, downloaded: { dir: localDir } });
|
|
120
|
+
}
|
|
121
|
+
const tempDir = await fs.promises.mkdtemp(path.join(tmpdir(), "clawdlets-template-"));
|
|
122
|
+
let templateDir = tempDir;
|
|
123
|
+
try {
|
|
124
|
+
const downloaded = await downloadTemplate(templateSpec, {
|
|
125
|
+
dir: tempDir,
|
|
126
|
+
force: true,
|
|
127
|
+
auth: String(process.env["GITHUB_TOKEN"] || process.env["CLAWDLETS_TEMPLATE_TOKEN"] || "").trim() || undefined,
|
|
128
|
+
});
|
|
129
|
+
templateDir = await findTemplateRoot(downloaded.dir || tempDir);
|
|
130
|
+
const result = await fn({ templateDir, downloaded: { dir: downloaded.dir || tempDir } });
|
|
131
|
+
await fs.promises.rm(tempDir, { recursive: true, force: true });
|
|
132
|
+
return result;
|
|
133
|
+
}
|
|
134
|
+
catch (e) {
|
|
135
|
+
await fs.promises.rm(tempDir, { recursive: true, force: true });
|
|
136
|
+
throw e;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
async function listPlannedFiles(params) {
|
|
140
|
+
const planned = [];
|
|
141
|
+
const walk = async (srcDir, rel) => {
|
|
142
|
+
const entries = await fs.promises.readdir(srcDir, { withFileTypes: true });
|
|
143
|
+
for (const ent of entries) {
|
|
144
|
+
const srcName = ent.name;
|
|
145
|
+
const mapped = srcName === "_gitignore" ? ".gitignore" : applySubs(srcName, params.subs);
|
|
146
|
+
const nextRel = path.join(rel, mapped);
|
|
147
|
+
if (ent.isDirectory()) {
|
|
148
|
+
await walk(path.join(srcDir, srcName), nextRel);
|
|
149
|
+
}
|
|
150
|
+
else if (ent.isFile()) {
|
|
151
|
+
planned.push(nextRel);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
await walk(params.templateDir, ".");
|
|
156
|
+
planned.sort();
|
|
157
|
+
return planned;
|
|
158
|
+
}
|
|
159
|
+
async function disableGarnixPrivate(destDir, host) {
|
|
160
|
+
const configPath = path.join(destDir, "fleet", "clawdlets.json");
|
|
161
|
+
if (!fs.existsSync(configPath))
|
|
162
|
+
return;
|
|
163
|
+
const raw = await fs.promises.readFile(configPath, "utf8");
|
|
164
|
+
const parsed = JSON.parse(raw);
|
|
165
|
+
const hostCfg = parsed?.hosts?.[host];
|
|
166
|
+
if (!hostCfg || typeof hostCfg !== "object")
|
|
167
|
+
return;
|
|
168
|
+
hostCfg.cache = hostCfg.cache && typeof hostCfg.cache === "object" ? hostCfg.cache : {};
|
|
169
|
+
hostCfg.cache.garnix = hostCfg.cache.garnix && typeof hostCfg.cache.garnix === "object" ? hostCfg.cache.garnix : {};
|
|
170
|
+
hostCfg.cache.garnix.private =
|
|
171
|
+
hostCfg.cache.garnix.private && typeof hostCfg.cache.garnix.private === "object" ? hostCfg.cache.garnix.private : {};
|
|
172
|
+
hostCfg.cache.garnix.private.enable = false;
|
|
173
|
+
await writeFileAtomic(configPath, `${JSON.stringify(parsed, null, 2)}\n`);
|
|
174
|
+
}
|
|
175
|
+
export async function planProjectInit(params) {
|
|
176
|
+
const destDir = path.resolve(process.cwd(), params.destDir);
|
|
177
|
+
const host = String(params.host || "clawdbot-fleet-host").trim() || "clawdbot-fleet-host";
|
|
178
|
+
assertSafeHostName(host);
|
|
179
|
+
const projectName = path.basename(destDir);
|
|
180
|
+
const subs = {
|
|
181
|
+
"__PROJECT_NAME__": projectName,
|
|
182
|
+
"clawdbot-fleet-host": host,
|
|
183
|
+
"clawdbot_fleet_host": host.replace(/-/g, "_"),
|
|
184
|
+
};
|
|
185
|
+
return await withDownloadedTemplate(params.templateSpec, async ({ templateDir }) => {
|
|
186
|
+
const plannedFiles = await listPlannedFiles({ templateDir, subs });
|
|
187
|
+
return {
|
|
188
|
+
destDir,
|
|
189
|
+
host,
|
|
190
|
+
templateSpec: params.templateSpec,
|
|
191
|
+
plannedFiles,
|
|
192
|
+
};
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
export async function initProject(params) {
|
|
196
|
+
const destDir = path.resolve(process.cwd(), params.destDir);
|
|
197
|
+
const host = String(params.host || "clawdbot-fleet-host").trim() || "clawdbot-fleet-host";
|
|
198
|
+
assertSafeHostName(host);
|
|
199
|
+
const exists = fs.existsSync(destDir);
|
|
200
|
+
if (exists && (await dirHasAnyFiles(destDir))) {
|
|
201
|
+
throw new Error(`target dir not empty: ${destDir}`);
|
|
202
|
+
}
|
|
203
|
+
const projectName = path.basename(destDir);
|
|
204
|
+
const subs = {
|
|
205
|
+
"__PROJECT_NAME__": projectName,
|
|
206
|
+
"clawdbot-fleet-host": host,
|
|
207
|
+
"clawdbot_fleet_host": host.replace(/-/g, "_"),
|
|
208
|
+
};
|
|
209
|
+
const plannedFiles = await withDownloadedTemplate(params.templateSpec, async ({ templateDir }) => {
|
|
210
|
+
const planned = await listPlannedFiles({ templateDir, subs });
|
|
211
|
+
await ensureDir(destDir);
|
|
212
|
+
await copyTree({ srcDir: templateDir, destDir, subs });
|
|
213
|
+
await disableGarnixPrivate(destDir, host);
|
|
214
|
+
return planned;
|
|
215
|
+
});
|
|
216
|
+
const hasHooks = await ensureHookExecutables(destDir);
|
|
217
|
+
const wantGitInit = params.gitInit ?? true;
|
|
218
|
+
let gitInitialized = false;
|
|
219
|
+
if (wantGitInit) {
|
|
220
|
+
try {
|
|
221
|
+
await capture("git", ["--version"], { cwd: destDir });
|
|
222
|
+
await run("git", ["init"], { cwd: destDir });
|
|
223
|
+
if (hasHooks)
|
|
224
|
+
await run("git", ["config", "core.hooksPath", ".githooks"], { cwd: destDir });
|
|
225
|
+
gitInitialized = true;
|
|
226
|
+
}
|
|
227
|
+
catch {
|
|
228
|
+
gitInitialized = false;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
const nextSteps = [
|
|
232
|
+
"next:",
|
|
233
|
+
`- cd ${destDir}`,
|
|
234
|
+
"- create a git repo + set origin (recommended; enables blank base flake)",
|
|
235
|
+
"- clawdlets env init # set HCLOUD_TOKEN in .clawdlets/env (required for provisioning)",
|
|
236
|
+
`- clawdlets host set --host ${host} --admin-cidr <your-ip>/32 --disk-device /dev/sda --add-ssh-key-file $HOME/.ssh/id_ed25519.pub`,
|
|
237
|
+
`- clawdlets host set --host ${host} --ssh-exposure bootstrap`,
|
|
238
|
+
`- clawdlets secrets init --host ${host}`,
|
|
239
|
+
`- clawdlets doctor --host ${host}`,
|
|
240
|
+
`- clawdlets bootstrap --host ${host}`,
|
|
241
|
+
`- clawdlets host set --host ${host} --target-host <ssh-alias|user@host>`,
|
|
242
|
+
`- clawdlets host set --host ${host} --ssh-exposure tailnet`,
|
|
243
|
+
`- clawdlets lockdown --host ${host}`,
|
|
244
|
+
];
|
|
245
|
+
return {
|
|
246
|
+
destDir,
|
|
247
|
+
host,
|
|
248
|
+
plannedFiles,
|
|
249
|
+
gitInitialized,
|
|
250
|
+
hasHooks,
|
|
251
|
+
nextSteps,
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
//# sourceMappingURL=project-init.js.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const RUN_KINDS: readonly ["project_init", "project_import", "config_write", "workspace_write", "doctor", "secrets_init", "secrets_verify", "secrets_sync", "bootstrap", "deploy", "server_status", "server_logs", "server_audit", "server_restart", "custom"];
|
|
2
|
+
export declare const RUN_STATUSES: readonly ["queued", "running", "succeeded", "failed", "canceled"];
|
|
3
|
+
export declare const RUN_EVENT_LEVELS: readonly ["debug", "info", "warn", "error"];
|
|
4
|
+
//# sourceMappingURL=run-constants.d.ts.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export const RUN_KINDS = [
|
|
2
|
+
"project_init",
|
|
3
|
+
"project_import",
|
|
4
|
+
"config_write",
|
|
5
|
+
"workspace_write",
|
|
6
|
+
"doctor",
|
|
7
|
+
"secrets_init",
|
|
8
|
+
"secrets_verify",
|
|
9
|
+
"secrets_sync",
|
|
10
|
+
"bootstrap",
|
|
11
|
+
"deploy",
|
|
12
|
+
"server_status",
|
|
13
|
+
"server_logs",
|
|
14
|
+
"server_audit",
|
|
15
|
+
"server_restart",
|
|
16
|
+
"custom",
|
|
17
|
+
];
|
|
18
|
+
export const RUN_STATUSES = ["queued", "running", "succeeded", "failed", "canceled"];
|
|
19
|
+
export const RUN_EVENT_LEVELS = ["debug", "info", "warn", "error"];
|
|
20
|
+
//# sourceMappingURL=run-constants.js.map
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const RunKindSchema: z.ZodEnum<{
|
|
3
|
+
custom: "custom";
|
|
4
|
+
bootstrap: "bootstrap";
|
|
5
|
+
deploy: "deploy";
|
|
6
|
+
project_init: "project_init";
|
|
7
|
+
project_import: "project_import";
|
|
8
|
+
config_write: "config_write";
|
|
9
|
+
workspace_write: "workspace_write";
|
|
10
|
+
doctor: "doctor";
|
|
11
|
+
secrets_init: "secrets_init";
|
|
12
|
+
secrets_verify: "secrets_verify";
|
|
13
|
+
secrets_sync: "secrets_sync";
|
|
14
|
+
server_status: "server_status";
|
|
15
|
+
server_logs: "server_logs";
|
|
16
|
+
server_audit: "server_audit";
|
|
17
|
+
server_restart: "server_restart";
|
|
18
|
+
}>;
|
|
19
|
+
export type RunKind = z.infer<typeof RunKindSchema>;
|
|
20
|
+
export declare const RunStatusSchema: z.ZodEnum<{
|
|
21
|
+
queued: "queued";
|
|
22
|
+
running: "running";
|
|
23
|
+
succeeded: "succeeded";
|
|
24
|
+
failed: "failed";
|
|
25
|
+
canceled: "canceled";
|
|
26
|
+
}>;
|
|
27
|
+
export type RunStatus = z.infer<typeof RunStatusSchema>;
|
|
28
|
+
export declare const RunEventLevelSchema: z.ZodEnum<{
|
|
29
|
+
error: "error";
|
|
30
|
+
warn: "warn";
|
|
31
|
+
info: "info";
|
|
32
|
+
debug: "debug";
|
|
33
|
+
}>;
|
|
34
|
+
export type RunEventLevel = z.infer<typeof RunEventLevelSchema>;
|
|
35
|
+
export declare const RunEventSchema: z.ZodObject<{
|
|
36
|
+
ts: z.ZodNumber;
|
|
37
|
+
level: z.ZodEnum<{
|
|
38
|
+
error: "error";
|
|
39
|
+
warn: "warn";
|
|
40
|
+
info: "info";
|
|
41
|
+
debug: "debug";
|
|
42
|
+
}>;
|
|
43
|
+
message: z.ZodString;
|
|
44
|
+
data: z.ZodOptional<z.ZodUnknown>;
|
|
45
|
+
redacted: z.ZodOptional<z.ZodBoolean>;
|
|
46
|
+
}, z.core.$strip>;
|
|
47
|
+
export type RunEvent = z.infer<typeof RunEventSchema>;
|
|
48
|
+
//# sourceMappingURL=run-types.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { RUN_EVENT_LEVELS, RUN_KINDS, RUN_STATUSES } from "./run-constants.js";
|
|
3
|
+
export const RunKindSchema = z.enum(RUN_KINDS);
|
|
4
|
+
export const RunStatusSchema = z.enum(RUN_STATUSES);
|
|
5
|
+
export const RunEventLevelSchema = z.enum(RUN_EVENT_LEVELS);
|
|
6
|
+
export const RunEventSchema = z.object({
|
|
7
|
+
ts: z.number().int().nonnegative(),
|
|
8
|
+
level: RunEventLevelSchema,
|
|
9
|
+
message: z.string().min(1),
|
|
10
|
+
data: z.unknown().optional(),
|
|
11
|
+
redacted: z.boolean().optional(),
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=run-types.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare function isUnsafeRecordKey(key: string): boolean;
|
|
2
|
+
export declare function assertSafeRecordKey(params: {
|
|
3
|
+
key: string;
|
|
4
|
+
context: string;
|
|
5
|
+
}): void;
|
|
6
|
+
export declare function createNullProtoRecord<TValue>(): Record<string, TValue>;
|
|
7
|
+
//# sourceMappingURL=safe-record.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const UNSAFE_KEYS = new Set(["__proto__", "prototype", "constructor"]);
|
|
2
|
+
export function isUnsafeRecordKey(key) {
|
|
3
|
+
return UNSAFE_KEYS.has(key);
|
|
4
|
+
}
|
|
5
|
+
export function assertSafeRecordKey(params) {
|
|
6
|
+
if (!isUnsafeRecordKey(params.key))
|
|
7
|
+
return;
|
|
8
|
+
throw new Error(`unsafe key "${params.key}" (${params.context})`);
|
|
9
|
+
}
|
|
10
|
+
export function createNullProtoRecord() {
|
|
11
|
+
return Object.create(null);
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=safe-record.js.map
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const SecretEnvSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3
|
+
export declare const SecretFileIdSchema: z.ZodString;
|
|
4
|
+
export declare const SECRET_FILE_FORMATS: readonly ["raw", "dotenv", "json", "yaml"];
|
|
5
|
+
export declare const SecretFileFormatSchema: z.ZodEnum<{
|
|
6
|
+
raw: "raw";
|
|
7
|
+
dotenv: "dotenv";
|
|
8
|
+
json: "json";
|
|
9
|
+
yaml: "yaml";
|
|
10
|
+
}>;
|
|
11
|
+
export type SecretFileFormat = z.infer<typeof SecretFileFormatSchema>;
|
|
12
|
+
export declare const SecretFileSpecSchema: z.ZodObject<{
|
|
13
|
+
secretName: z.ZodString;
|
|
14
|
+
targetPath: z.ZodString;
|
|
15
|
+
mode: z.ZodDefault<z.ZodString>;
|
|
16
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
17
|
+
group: z.ZodOptional<z.ZodString>;
|
|
18
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
19
|
+
raw: "raw";
|
|
20
|
+
dotenv: "dotenv";
|
|
21
|
+
json: "json";
|
|
22
|
+
yaml: "yaml";
|
|
23
|
+
}>>;
|
|
24
|
+
}, z.core.$strict>;
|
|
25
|
+
export type SecretFileSpec = z.infer<typeof SecretFileSpecSchema>;
|
|
26
|
+
export declare const SecretFilesSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
27
|
+
secretName: z.ZodString;
|
|
28
|
+
targetPath: z.ZodString;
|
|
29
|
+
mode: z.ZodDefault<z.ZodString>;
|
|
30
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
31
|
+
group: z.ZodOptional<z.ZodString>;
|
|
32
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
33
|
+
raw: "raw";
|
|
34
|
+
dotenv: "dotenv";
|
|
35
|
+
json: "json";
|
|
36
|
+
yaml: "yaml";
|
|
37
|
+
}>>;
|
|
38
|
+
}, z.core.$strict>>>;
|
|
39
|
+
//# sourceMappingURL=secret-wiring.d.ts.map
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { EnvVarNameSchema, SecretNameSchema } from "@clawdlets/shared/lib/identifiers";
|
|
3
|
+
export const SecretEnvSchema = z.record(EnvVarNameSchema, SecretNameSchema).default(() => ({}));
|
|
4
|
+
export const SecretFileIdSchema = z
|
|
5
|
+
.string()
|
|
6
|
+
.trim()
|
|
7
|
+
.min(1)
|
|
8
|
+
.regex(/^[a-z0-9._-]+$/, { message: "invalid secret file id (use [a-z0-9._-]+)" });
|
|
9
|
+
const AbsolutePathSchema = z
|
|
10
|
+
.string()
|
|
11
|
+
.trim()
|
|
12
|
+
.min(1)
|
|
13
|
+
.refine((v) => v.startsWith("/"), { message: "targetPath must be an absolute path" })
|
|
14
|
+
.refine((v) => !v.includes("/../") && !v.endsWith("/..") && !v.includes("\u0000"), {
|
|
15
|
+
message: "targetPath must not contain /../, end with /.., or include NUL",
|
|
16
|
+
});
|
|
17
|
+
const AllowedTargetPathSchema = AbsolutePathSchema.refine((v) => v.startsWith("/var/lib/clawdlets/"), {
|
|
18
|
+
message: "targetPath must be under /var/lib/clawdlets/",
|
|
19
|
+
});
|
|
20
|
+
const FileModeSchema = z
|
|
21
|
+
.string()
|
|
22
|
+
.trim()
|
|
23
|
+
.default("0400")
|
|
24
|
+
.refine((v) => /^0[0-7]{3}$/.test(v), { message: "invalid file mode (expected 0400-style octal string)" });
|
|
25
|
+
const FileOwnerSchema = z.string().trim().min(1);
|
|
26
|
+
export const SECRET_FILE_FORMATS = ["raw", "dotenv", "json", "yaml"];
|
|
27
|
+
export const SecretFileFormatSchema = z.enum(SECRET_FILE_FORMATS);
|
|
28
|
+
export const SecretFileSpecSchema = z
|
|
29
|
+
.object({
|
|
30
|
+
secretName: SecretNameSchema,
|
|
31
|
+
targetPath: AllowedTargetPathSchema,
|
|
32
|
+
mode: FileModeSchema,
|
|
33
|
+
owner: FileOwnerSchema.optional(),
|
|
34
|
+
group: FileOwnerSchema.optional(),
|
|
35
|
+
format: SecretFileFormatSchema.optional(),
|
|
36
|
+
})
|
|
37
|
+
.strict();
|
|
38
|
+
export const SecretFilesSchema = z.record(SecretFileIdSchema, SecretFileSpecSchema).default(() => ({}));
|
|
39
|
+
//# sourceMappingURL=secret-wiring.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ClawdletsConfig } from "./clawdlets-config.js";
|
|
2
|
+
export declare function buildManagedHostSecretNameAllowlist(params: {
|
|
3
|
+
config: ClawdletsConfig;
|
|
4
|
+
host: string;
|
|
5
|
+
}): Set<string>;
|
|
6
|
+
export declare function assertSecretsAreManaged(params: {
|
|
7
|
+
allowlist: Set<string>;
|
|
8
|
+
secrets: Record<string, string>;
|
|
9
|
+
}): void;
|
|
10
|
+
//# sourceMappingURL=secrets-allowlist.d.ts.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { buildFleetSecretsPlan } from "./fleet-secrets-plan.js";
|
|
2
|
+
export function buildManagedHostSecretNameAllowlist(params) {
|
|
3
|
+
const host = params.host.trim();
|
|
4
|
+
const secretsPlan = buildFleetSecretsPlan({ config: params.config, hostName: host });
|
|
5
|
+
const names = new Set();
|
|
6
|
+
for (const spec of secretsPlan.required || [])
|
|
7
|
+
names.add(spec.name);
|
|
8
|
+
for (const spec of secretsPlan.optional || [])
|
|
9
|
+
names.add(spec.name);
|
|
10
|
+
for (const name of secretsPlan.hostSecretNamesRequired || [])
|
|
11
|
+
names.add(name);
|
|
12
|
+
return names;
|
|
13
|
+
}
|
|
14
|
+
export function assertSecretsAreManaged(params) {
|
|
15
|
+
const unmanaged = Object.keys(params.secrets).filter((name) => !params.allowlist.has(name));
|
|
16
|
+
if (unmanaged.length === 0)
|
|
17
|
+
return;
|
|
18
|
+
const sample = unmanaged.slice(0, 3).join(", ");
|
|
19
|
+
throw new Error(`unmanaged secret name(s): ${sample} (add to fleet.secretEnv/secretFiles)`);
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=secrets-allowlist.js.map
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ClawdletsConfig } from "./clawdlets-config.js";
|
|
2
|
+
import type { MissingSecretConfig, SecretSource } from "./secrets-plan.js";
|
|
3
|
+
export type SecretsAutowireScope = "fleet" | "bot";
|
|
4
|
+
export type SecretsAutowireEntry = {
|
|
5
|
+
bot: string;
|
|
6
|
+
envVar: string;
|
|
7
|
+
secretName: string;
|
|
8
|
+
scope: SecretsAutowireScope;
|
|
9
|
+
sources: SecretSource[];
|
|
10
|
+
};
|
|
11
|
+
export type SecretsAutowirePlan = {
|
|
12
|
+
updates: SecretsAutowireEntry[];
|
|
13
|
+
skipped: MissingSecretConfig[];
|
|
14
|
+
};
|
|
15
|
+
export declare function planSecretsAutowire(params: {
|
|
16
|
+
config: ClawdletsConfig;
|
|
17
|
+
hostName: string;
|
|
18
|
+
scope?: SecretsAutowireScope;
|
|
19
|
+
bot?: string;
|
|
20
|
+
onlyEnvVars?: string[];
|
|
21
|
+
}): SecretsAutowirePlan;
|
|
22
|
+
export declare function applySecretsAutowire(params: {
|
|
23
|
+
config: ClawdletsConfig;
|
|
24
|
+
plan: SecretsAutowirePlan;
|
|
25
|
+
}): ClawdletsConfig;
|
|
26
|
+
//# sourceMappingURL=secrets-autowire.d.ts.map
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { buildFleetSecretsPlan } from "./fleet-secrets-plan.js";
|
|
2
|
+
import { suggestSecretNameForEnvVar } from "./fleet-secrets-plan-helpers.js";
|
|
3
|
+
import { ClawdletsConfigSchema } from "./clawdlets-config.js";
|
|
4
|
+
function pickDefaultScope(sources) {
|
|
5
|
+
if (sources.includes("channel"))
|
|
6
|
+
return "bot";
|
|
7
|
+
if (sources.includes("model") || sources.includes("provider"))
|
|
8
|
+
return "fleet";
|
|
9
|
+
return "bot";
|
|
10
|
+
}
|
|
11
|
+
function normalizeEnvVarFilter(list) {
|
|
12
|
+
if (!list || list.length === 0)
|
|
13
|
+
return null;
|
|
14
|
+
const out = new Set();
|
|
15
|
+
for (const entry of list) {
|
|
16
|
+
const cleaned = String(entry || "").trim();
|
|
17
|
+
if (cleaned)
|
|
18
|
+
out.add(cleaned);
|
|
19
|
+
}
|
|
20
|
+
return out.size > 0 ? out : null;
|
|
21
|
+
}
|
|
22
|
+
export function planSecretsAutowire(params) {
|
|
23
|
+
const plan = buildFleetSecretsPlan({ config: params.config, hostName: params.hostName });
|
|
24
|
+
const onlyEnvVars = normalizeEnvVarFilter(params.onlyEnvVars);
|
|
25
|
+
const targetBot = params.bot ? String(params.bot).trim() : "";
|
|
26
|
+
const missing = plan.missingSecretConfig || [];
|
|
27
|
+
const updates = [];
|
|
28
|
+
const skipped = [];
|
|
29
|
+
const seenFleetEnvVars = new Set();
|
|
30
|
+
for (const entry of missing) {
|
|
31
|
+
if (entry.kind !== "envVar") {
|
|
32
|
+
skipped.push(entry);
|
|
33
|
+
continue;
|
|
34
|
+
}
|
|
35
|
+
if (targetBot && entry.bot !== targetBot) {
|
|
36
|
+
skipped.push(entry);
|
|
37
|
+
continue;
|
|
38
|
+
}
|
|
39
|
+
if (onlyEnvVars && !onlyEnvVars.has(entry.envVar)) {
|
|
40
|
+
skipped.push(entry);
|
|
41
|
+
continue;
|
|
42
|
+
}
|
|
43
|
+
const sources = Array.isArray(entry.sources) ? entry.sources : [];
|
|
44
|
+
const scope = params.scope ?? pickDefaultScope(sources);
|
|
45
|
+
if (scope === "fleet") {
|
|
46
|
+
if (seenFleetEnvVars.has(entry.envVar)) {
|
|
47
|
+
skipped.push(entry);
|
|
48
|
+
continue;
|
|
49
|
+
}
|
|
50
|
+
seenFleetEnvVars.add(entry.envVar);
|
|
51
|
+
}
|
|
52
|
+
const secretName = suggestSecretNameForEnvVar(entry.envVar, scope === "bot" ? entry.bot : undefined);
|
|
53
|
+
updates.push({
|
|
54
|
+
bot: entry.bot,
|
|
55
|
+
envVar: entry.envVar,
|
|
56
|
+
secretName,
|
|
57
|
+
scope,
|
|
58
|
+
sources,
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
updates.sort((a, b) => {
|
|
62
|
+
if (a.envVar !== b.envVar)
|
|
63
|
+
return a.envVar.localeCompare(b.envVar);
|
|
64
|
+
if (a.bot !== b.bot)
|
|
65
|
+
return a.bot.localeCompare(b.bot);
|
|
66
|
+
if (a.scope !== b.scope)
|
|
67
|
+
return a.scope.localeCompare(b.scope);
|
|
68
|
+
return a.secretName.localeCompare(b.secretName);
|
|
69
|
+
});
|
|
70
|
+
return { updates, skipped };
|
|
71
|
+
}
|
|
72
|
+
export function applySecretsAutowire(params) {
|
|
73
|
+
const next = structuredClone(params.config);
|
|
74
|
+
for (const entry of params.plan.updates) {
|
|
75
|
+
if (entry.scope === "fleet") {
|
|
76
|
+
const existing = next.fleet.secretEnv?.[entry.envVar];
|
|
77
|
+
if (existing && existing !== entry.secretName) {
|
|
78
|
+
throw new Error(`conflict for ${entry.envVar}: fleet.secretEnv already set to ${existing}`);
|
|
79
|
+
}
|
|
80
|
+
next.fleet.secretEnv[entry.envVar] = entry.secretName;
|
|
81
|
+
continue;
|
|
82
|
+
}
|
|
83
|
+
const bot = next.fleet.bots[entry.bot];
|
|
84
|
+
if (!bot)
|
|
85
|
+
throw new Error(`unknown bot: ${entry.bot}`);
|
|
86
|
+
const profile = bot.profile;
|
|
87
|
+
if (!profile.secretEnv)
|
|
88
|
+
profile.secretEnv = {};
|
|
89
|
+
const existing = profile.secretEnv[entry.envVar];
|
|
90
|
+
if (existing && existing !== entry.secretName) {
|
|
91
|
+
throw new Error(`conflict for ${entry.envVar} on bot ${entry.bot}: profile.secretEnv already set to ${existing}`);
|
|
92
|
+
}
|
|
93
|
+
profile.secretEnv[entry.envVar] = entry.secretName;
|
|
94
|
+
}
|
|
95
|
+
return ClawdletsConfigSchema.parse(next);
|
|
96
|
+
}
|
|
97
|
+
//# sourceMappingURL=secrets-autowire.js.map
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
export type SecretsInitJson = {
|
|
2
2
|
adminPasswordHash: string;
|
|
3
3
|
tailscaleAuthKey?: string;
|
|
4
|
-
secrets
|
|
5
|
-
discordTokens: Record<string, string>;
|
|
4
|
+
secrets: Record<string, string>;
|
|
6
5
|
};
|
|
7
6
|
export declare function resolveSecretsInitFromJsonArg(params: {
|
|
8
7
|
fromJsonRaw: unknown;
|
|
@@ -12,13 +11,9 @@ export declare function resolveSecretsInitFromJsonArg(params: {
|
|
|
12
11
|
export declare function isPlaceholderSecretValue(value: string): boolean;
|
|
13
12
|
export declare function listSecretsInitPlaceholders(params: {
|
|
14
13
|
input: SecretsInitJson;
|
|
15
|
-
bots: string[];
|
|
16
|
-
discordBots?: string[];
|
|
17
14
|
requiresTailscaleAuthKey: boolean;
|
|
18
15
|
}): string[];
|
|
19
16
|
export declare function buildSecretsInitTemplate(params: {
|
|
20
|
-
bots: string[];
|
|
21
|
-
discordBots?: string[];
|
|
22
17
|
requiresTailscaleAuthKey: boolean;
|
|
23
18
|
secrets?: Record<string, string>;
|
|
24
19
|
}): SecretsInitJson;
|