clawdlets 0.3.4 → 0.4.1
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,79 @@
|
|
|
1
|
+
import type { SecretSource, SecretSpec, SecretsPlanWarning } from "./secrets-plan.js";
|
|
2
|
+
import type { SecretFileSpec } from "./secret-wiring.js";
|
|
3
|
+
export type SecretSpecAccumulator = {
|
|
4
|
+
name: string;
|
|
5
|
+
kind: SecretSpec["kind"];
|
|
6
|
+
scope: SecretSpec["scope"];
|
|
7
|
+
sources: Set<SecretSource>;
|
|
8
|
+
envVars: Set<string>;
|
|
9
|
+
bots: Set<string>;
|
|
10
|
+
help?: string;
|
|
11
|
+
optional: boolean;
|
|
12
|
+
fileId?: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const ENV_VAR_HELP: Record<string, string>;
|
|
15
|
+
export declare function suggestSecretNameForEnvVar(envVar: string, bot?: string): string;
|
|
16
|
+
export declare function extractEnvVarRef(value: string): string | null;
|
|
17
|
+
export declare function isPlainObject(value: unknown): value is Record<string, unknown>;
|
|
18
|
+
export declare function collectBotModels(params: {
|
|
19
|
+
clawdbot: any;
|
|
20
|
+
hostDefaultModel: string;
|
|
21
|
+
}): string[];
|
|
22
|
+
export declare function isWhatsAppEnabled(clawdbot: any): boolean;
|
|
23
|
+
export declare function buildEnvVarAliasMap(): Map<string, string>;
|
|
24
|
+
export declare function canonicalizeEnvVar(envVar: string, aliasMap: Map<string, string>): string;
|
|
25
|
+
export declare const HOOKS_TOKEN_ENV_VAR = "CLAWDBOT_HOOKS_TOKEN";
|
|
26
|
+
export declare const HOOKS_GMAIL_PUSH_TOKEN_ENV_VAR = "CLAWDBOT_HOOKS_GMAIL_PUSH_TOKEN";
|
|
27
|
+
export declare function normalizeEnvKey(value: string): string;
|
|
28
|
+
export declare function skillApiKeyEnvVar(skill: string): string;
|
|
29
|
+
export type DerivedSecretEnvEntry = {
|
|
30
|
+
envVar: string;
|
|
31
|
+
secretName: string;
|
|
32
|
+
path: string;
|
|
33
|
+
help?: string;
|
|
34
|
+
};
|
|
35
|
+
export declare function collectDerivedSecretEnvEntries(profile: unknown): DerivedSecretEnvEntry[];
|
|
36
|
+
export declare function buildDerivedSecretEnv(profile: unknown): Record<string, string>;
|
|
37
|
+
type AddRequiredEnv = (envVar: string, source: SecretSource, path?: string) => void;
|
|
38
|
+
export declare function applyChannelEnvRequirements(params: {
|
|
39
|
+
bot: string;
|
|
40
|
+
clawdbot: any;
|
|
41
|
+
warnings: SecretsPlanWarning[];
|
|
42
|
+
addRequiredEnv: AddRequiredEnv;
|
|
43
|
+
}): void;
|
|
44
|
+
export declare function applyHookEnvRequirements(params: {
|
|
45
|
+
bot: string;
|
|
46
|
+
clawdbot: any;
|
|
47
|
+
warnings: SecretsPlanWarning[];
|
|
48
|
+
addRequiredEnv: AddRequiredEnv;
|
|
49
|
+
}): void;
|
|
50
|
+
export declare function applySkillEnvRequirements(params: {
|
|
51
|
+
bot: string;
|
|
52
|
+
clawdbot: any;
|
|
53
|
+
warnings: SecretsPlanWarning[];
|
|
54
|
+
addRequiredEnv: AddRequiredEnv;
|
|
55
|
+
envVarHelpOverrides: Map<string, string>;
|
|
56
|
+
}): void;
|
|
57
|
+
export declare function buildBaseSecretEnv(params: {
|
|
58
|
+
globalEnv: unknown;
|
|
59
|
+
botEnv: unknown;
|
|
60
|
+
aliasMap: Map<string, string>;
|
|
61
|
+
warnings: SecretsPlanWarning[];
|
|
62
|
+
bot: string;
|
|
63
|
+
}): Record<string, string>;
|
|
64
|
+
export declare function pickPrimarySource(sources: Set<SecretSource>): SecretSource;
|
|
65
|
+
export declare function recordSecretSpec(map: Map<string, SecretSpecAccumulator>, params: {
|
|
66
|
+
name: string;
|
|
67
|
+
kind: SecretSpec["kind"];
|
|
68
|
+
scope: SecretSpec["scope"];
|
|
69
|
+
source: SecretSource;
|
|
70
|
+
optional: boolean;
|
|
71
|
+
envVar?: string;
|
|
72
|
+
bot?: string;
|
|
73
|
+
help?: string;
|
|
74
|
+
fileId?: string;
|
|
75
|
+
}): void;
|
|
76
|
+
export declare function normalizeSecretFiles(value: unknown): Record<string, SecretFileSpec>;
|
|
77
|
+
export declare function normalizeEnvVarPaths(pathsByVar: Record<string, string[]>): void;
|
|
78
|
+
export {};
|
|
79
|
+
//# sourceMappingURL=fleet-secrets-plan-helpers.d.ts.map
|
|
@@ -0,0 +1,457 @@
|
|
|
1
|
+
import { getKnownLlmProviders, getProviderCredentials } from "@clawdlets/shared/lib/llm-provider-env";
|
|
2
|
+
const SOURCE_PRIORITY = ["channel", "model", "provider", "custom"];
|
|
3
|
+
const ENV_REF_RE = /^\$\{([A-Z_][A-Z0-9_]*)\}$/;
|
|
4
|
+
export const ENV_VAR_HELP = {
|
|
5
|
+
DISCORD_BOT_TOKEN: "Discord bot token",
|
|
6
|
+
TELEGRAM_BOT_TOKEN: "Telegram bot token",
|
|
7
|
+
SLACK_BOT_TOKEN: "Slack bot token",
|
|
8
|
+
SLACK_APP_TOKEN: "Slack app token",
|
|
9
|
+
CLAWDBOT_HOOKS_TOKEN: "Clawdbot hooks token",
|
|
10
|
+
CLAWDBOT_HOOKS_GMAIL_PUSH_TOKEN: "Clawdbot Gmail push token",
|
|
11
|
+
OPENAI_API_KEY: "OpenAI API key",
|
|
12
|
+
ANTHROPIC_API_KEY: "Anthropic API key",
|
|
13
|
+
ANTHROPIC_OAUTH_TOKEN: "Anthropic OAuth token",
|
|
14
|
+
ZAI_API_KEY: "Z.ai API key",
|
|
15
|
+
Z_AI_API_KEY: "Z.ai API key (legacy env)",
|
|
16
|
+
OPENROUTER_API_KEY: "OpenRouter API key",
|
|
17
|
+
XAI_API_KEY: "xAI API key",
|
|
18
|
+
GROQ_API_KEY: "Groq API key",
|
|
19
|
+
DEEPGRAM_API_KEY: "Deepgram API key",
|
|
20
|
+
GEMINI_API_KEY: "Gemini API key",
|
|
21
|
+
MISTRAL_API_KEY: "Mistral API key",
|
|
22
|
+
CEREBRAS_API_KEY: "Cerebras API key",
|
|
23
|
+
MOONSHOT_API_KEY: "Moonshot API key",
|
|
24
|
+
KIMICODE_API_KEY: "Kimi Code API key",
|
|
25
|
+
MINIMAX_API_KEY: "MiniMax API key",
|
|
26
|
+
AI_GATEWAY_API_KEY: "Vercel AI Gateway API key",
|
|
27
|
+
OPENCODE_API_KEY: "OpenCode API key",
|
|
28
|
+
OPENCODE_ZEN_API_KEY: "OpenCode Zen API key",
|
|
29
|
+
CHUTES_API_KEY: "Chutes API key",
|
|
30
|
+
CHUTES_OAUTH_TOKEN: "Chutes OAuth token",
|
|
31
|
+
QWEN_PORTAL_API_KEY: "Qwen portal API key",
|
|
32
|
+
QWEN_OAUTH_TOKEN: "Qwen OAuth token",
|
|
33
|
+
COPILOT_GITHUB_TOKEN: "GitHub Copilot token",
|
|
34
|
+
GH_TOKEN: "GitHub token",
|
|
35
|
+
GITHUB_TOKEN: "GitHub token",
|
|
36
|
+
};
|
|
37
|
+
const ENV_VAR_SECRET_NAME_SUGGESTIONS = {
|
|
38
|
+
DISCORD_BOT_TOKEN: (bot) => `discord_token_${bot || "bot"}`,
|
|
39
|
+
TELEGRAM_BOT_TOKEN: (bot) => `telegram_bot_token_${bot || "bot"}`,
|
|
40
|
+
SLACK_BOT_TOKEN: (bot) => `slack_bot_token_${bot || "bot"}`,
|
|
41
|
+
SLACK_APP_TOKEN: (bot) => `slack_app_token_${bot || "bot"}`,
|
|
42
|
+
};
|
|
43
|
+
export function suggestSecretNameForEnvVar(envVar, bot) {
|
|
44
|
+
const key = String(envVar || "").trim();
|
|
45
|
+
if (!key)
|
|
46
|
+
return "";
|
|
47
|
+
const direct = ENV_VAR_SECRET_NAME_SUGGESTIONS[key];
|
|
48
|
+
if (direct)
|
|
49
|
+
return direct(bot);
|
|
50
|
+
return key.toLowerCase();
|
|
51
|
+
}
|
|
52
|
+
export function extractEnvVarRef(value) {
|
|
53
|
+
const match = value.trim().match(ENV_REF_RE);
|
|
54
|
+
return match ? match[1] || null : null;
|
|
55
|
+
}
|
|
56
|
+
export function isPlainObject(value) {
|
|
57
|
+
return Boolean(value) && typeof value === "object" && !Array.isArray(value);
|
|
58
|
+
}
|
|
59
|
+
export function collectBotModels(params) {
|
|
60
|
+
const models = [];
|
|
61
|
+
const hostDefaultModel = String(params.hostDefaultModel || "").trim();
|
|
62
|
+
const defaults = params.clawdbot?.agents?.defaults;
|
|
63
|
+
const pushModel = (v) => {
|
|
64
|
+
if (typeof v !== "string")
|
|
65
|
+
return;
|
|
66
|
+
const s = v.trim();
|
|
67
|
+
if (s)
|
|
68
|
+
models.push(s);
|
|
69
|
+
};
|
|
70
|
+
const readModelSpec = (spec) => {
|
|
71
|
+
if (typeof spec === "string") {
|
|
72
|
+
pushModel(spec);
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
if (!spec || typeof spec !== "object" || Array.isArray(spec))
|
|
76
|
+
return;
|
|
77
|
+
pushModel(spec.primary);
|
|
78
|
+
const fallbacks = spec.fallbacks;
|
|
79
|
+
if (Array.isArray(fallbacks)) {
|
|
80
|
+
for (const f of fallbacks)
|
|
81
|
+
pushModel(f);
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
readModelSpec(defaults?.model);
|
|
85
|
+
readModelSpec(defaults?.imageModel);
|
|
86
|
+
if (models.length === 0 && hostDefaultModel)
|
|
87
|
+
models.push(hostDefaultModel);
|
|
88
|
+
return Array.from(new Set(models));
|
|
89
|
+
}
|
|
90
|
+
export function isWhatsAppEnabled(clawdbot) {
|
|
91
|
+
const whatsapp = clawdbot?.channels?.whatsapp;
|
|
92
|
+
if (!isPlainObject(whatsapp))
|
|
93
|
+
return false;
|
|
94
|
+
return whatsapp.enabled !== false;
|
|
95
|
+
}
|
|
96
|
+
export function buildEnvVarAliasMap() {
|
|
97
|
+
const aliasMap = new Map();
|
|
98
|
+
for (const provider of getKnownLlmProviders()) {
|
|
99
|
+
const creds = getProviderCredentials(provider);
|
|
100
|
+
for (const slot of creds) {
|
|
101
|
+
const canonical = slot.anyOfEnv[0];
|
|
102
|
+
if (!canonical)
|
|
103
|
+
continue;
|
|
104
|
+
for (const envVar of slot.anyOfEnv) {
|
|
105
|
+
const key = envVar.trim();
|
|
106
|
+
if (!key)
|
|
107
|
+
continue;
|
|
108
|
+
if (!aliasMap.has(key))
|
|
109
|
+
aliasMap.set(key, canonical);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
return aliasMap;
|
|
114
|
+
}
|
|
115
|
+
export function canonicalizeEnvVar(envVar, aliasMap) {
|
|
116
|
+
const trimmed = envVar.trim();
|
|
117
|
+
if (!trimmed)
|
|
118
|
+
return "";
|
|
119
|
+
return aliasMap.get(trimmed) ?? trimmed;
|
|
120
|
+
}
|
|
121
|
+
export const HOOKS_TOKEN_ENV_VAR = "CLAWDBOT_HOOKS_TOKEN";
|
|
122
|
+
export const HOOKS_GMAIL_PUSH_TOKEN_ENV_VAR = "CLAWDBOT_HOOKS_GMAIL_PUSH_TOKEN";
|
|
123
|
+
export function normalizeEnvKey(value) {
|
|
124
|
+
const raw = String(value || "").trim();
|
|
125
|
+
if (!raw)
|
|
126
|
+
return "";
|
|
127
|
+
return raw.replace(/[-./\s]/g, "_").toUpperCase();
|
|
128
|
+
}
|
|
129
|
+
export function skillApiKeyEnvVar(skill) {
|
|
130
|
+
const key = normalizeEnvKey(skill);
|
|
131
|
+
return key ? `CLAWDBOT_SKILL_${key}_API_KEY` : "CLAWDBOT_SKILL__API_KEY";
|
|
132
|
+
}
|
|
133
|
+
export function collectDerivedSecretEnvEntries(profile) {
|
|
134
|
+
const entries = [];
|
|
135
|
+
if (!isPlainObject(profile))
|
|
136
|
+
return entries;
|
|
137
|
+
const hooks = profile.hooks;
|
|
138
|
+
if (isPlainObject(hooks)) {
|
|
139
|
+
const tokenSecret = String(hooks.tokenSecret || "").trim();
|
|
140
|
+
if (tokenSecret) {
|
|
141
|
+
entries.push({
|
|
142
|
+
envVar: HOOKS_TOKEN_ENV_VAR,
|
|
143
|
+
secretName: tokenSecret,
|
|
144
|
+
path: "profile.hooks.tokenSecret",
|
|
145
|
+
help: ENV_VAR_HELP[HOOKS_TOKEN_ENV_VAR],
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
const gmailSecret = String(hooks.gmailPushTokenSecret || "").trim();
|
|
149
|
+
if (gmailSecret) {
|
|
150
|
+
entries.push({
|
|
151
|
+
envVar: HOOKS_GMAIL_PUSH_TOKEN_ENV_VAR,
|
|
152
|
+
secretName: gmailSecret,
|
|
153
|
+
path: "profile.hooks.gmailPushTokenSecret",
|
|
154
|
+
help: ENV_VAR_HELP[HOOKS_GMAIL_PUSH_TOKEN_ENV_VAR],
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
const skills = profile.skills;
|
|
159
|
+
const skillEntries = isPlainObject(skills) ? skills.entries : null;
|
|
160
|
+
if (isPlainObject(skillEntries)) {
|
|
161
|
+
for (const [skill, entry] of Object.entries(skillEntries)) {
|
|
162
|
+
if (!isPlainObject(entry))
|
|
163
|
+
continue;
|
|
164
|
+
const secretName = String(entry.apiKeySecret || "").trim();
|
|
165
|
+
if (!secretName)
|
|
166
|
+
continue;
|
|
167
|
+
entries.push({
|
|
168
|
+
envVar: skillApiKeyEnvVar(skill),
|
|
169
|
+
secretName,
|
|
170
|
+
path: `profile.skills.entries.${skill}.apiKeySecret`,
|
|
171
|
+
help: `Skill ${skill} API key`,
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
return entries;
|
|
176
|
+
}
|
|
177
|
+
export function buildDerivedSecretEnv(profile) {
|
|
178
|
+
const out = {};
|
|
179
|
+
for (const entry of collectDerivedSecretEnvEntries(profile)) {
|
|
180
|
+
if (!entry.envVar || !entry.secretName)
|
|
181
|
+
continue;
|
|
182
|
+
out[entry.envVar] = entry.secretName;
|
|
183
|
+
}
|
|
184
|
+
return out;
|
|
185
|
+
}
|
|
186
|
+
export function applyChannelEnvRequirements(params) {
|
|
187
|
+
const { bot, clawdbot, warnings, addRequiredEnv } = params;
|
|
188
|
+
const addChannelToken = (payload) => {
|
|
189
|
+
if (typeof payload.value !== "string")
|
|
190
|
+
return;
|
|
191
|
+
const trimmed = payload.value.trim();
|
|
192
|
+
if (!trimmed)
|
|
193
|
+
return;
|
|
194
|
+
const envVar = extractEnvVarRef(trimmed);
|
|
195
|
+
if (envVar && envVar !== payload.envVar) {
|
|
196
|
+
warnings.push({
|
|
197
|
+
kind: "inlineToken",
|
|
198
|
+
channel: payload.channel,
|
|
199
|
+
bot,
|
|
200
|
+
path: payload.path,
|
|
201
|
+
message: `Unexpected env ref at ${payload.path}: ${trimmed}`,
|
|
202
|
+
suggestion: `Use \${${payload.envVar}} for ${payload.channel} and map it in fleet.secretEnv or fleet.bots.${bot}.profile.secretEnv.`,
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
if (!envVar) {
|
|
206
|
+
warnings.push({
|
|
207
|
+
kind: "inlineToken",
|
|
208
|
+
channel: payload.channel,
|
|
209
|
+
bot,
|
|
210
|
+
path: payload.path,
|
|
211
|
+
message: `Inline ${payload.channel} token detected at ${payload.path}`,
|
|
212
|
+
suggestion: `Replace with \${${payload.envVar}} and map it in fleet.secretEnv or fleet.bots.${bot}.profile.secretEnv.`,
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
addRequiredEnv(payload.envVar, "channel", payload.path);
|
|
216
|
+
};
|
|
217
|
+
const channels = clawdbot?.channels;
|
|
218
|
+
if (!isPlainObject(channels))
|
|
219
|
+
return;
|
|
220
|
+
const discord = channels.discord;
|
|
221
|
+
if (isPlainObject(discord) && discord.enabled !== false) {
|
|
222
|
+
addChannelToken({ channel: "discord", envVar: "DISCORD_BOT_TOKEN", path: "channels.discord.token", value: discord.token });
|
|
223
|
+
const accounts = discord.accounts;
|
|
224
|
+
if (isPlainObject(accounts)) {
|
|
225
|
+
for (const [accountId, accountCfg] of Object.entries(accounts)) {
|
|
226
|
+
if (!isPlainObject(accountCfg))
|
|
227
|
+
continue;
|
|
228
|
+
addChannelToken({
|
|
229
|
+
channel: "discord",
|
|
230
|
+
envVar: "DISCORD_BOT_TOKEN",
|
|
231
|
+
path: `channels.discord.accounts.${accountId}.token`,
|
|
232
|
+
value: accountCfg.token,
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
const telegram = channels.telegram;
|
|
238
|
+
if (isPlainObject(telegram) && telegram.enabled !== false) {
|
|
239
|
+
addChannelToken({ channel: "telegram", envVar: "TELEGRAM_BOT_TOKEN", path: "channels.telegram.botToken", value: telegram.botToken });
|
|
240
|
+
const accounts = telegram.accounts;
|
|
241
|
+
if (isPlainObject(accounts)) {
|
|
242
|
+
for (const [accountId, accountCfg] of Object.entries(accounts)) {
|
|
243
|
+
if (!isPlainObject(accountCfg))
|
|
244
|
+
continue;
|
|
245
|
+
addChannelToken({
|
|
246
|
+
channel: "telegram",
|
|
247
|
+
envVar: "TELEGRAM_BOT_TOKEN",
|
|
248
|
+
path: `channels.telegram.accounts.${accountId}.botToken`,
|
|
249
|
+
value: accountCfg.botToken,
|
|
250
|
+
});
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
const slack = channels.slack;
|
|
255
|
+
if (isPlainObject(slack) && slack.enabled !== false) {
|
|
256
|
+
addChannelToken({ channel: "slack", envVar: "SLACK_BOT_TOKEN", path: "channels.slack.botToken", value: slack.botToken });
|
|
257
|
+
addChannelToken({ channel: "slack", envVar: "SLACK_APP_TOKEN", path: "channels.slack.appToken", value: slack.appToken });
|
|
258
|
+
const accounts = slack.accounts;
|
|
259
|
+
if (isPlainObject(accounts)) {
|
|
260
|
+
for (const [accountId, accountCfg] of Object.entries(accounts)) {
|
|
261
|
+
if (!isPlainObject(accountCfg))
|
|
262
|
+
continue;
|
|
263
|
+
addChannelToken({
|
|
264
|
+
channel: "slack",
|
|
265
|
+
envVar: "SLACK_BOT_TOKEN",
|
|
266
|
+
path: `channels.slack.accounts.${accountId}.botToken`,
|
|
267
|
+
value: accountCfg.botToken,
|
|
268
|
+
});
|
|
269
|
+
addChannelToken({
|
|
270
|
+
channel: "slack",
|
|
271
|
+
envVar: "SLACK_APP_TOKEN",
|
|
272
|
+
path: `channels.slack.accounts.${accountId}.appToken`,
|
|
273
|
+
value: accountCfg.appToken,
|
|
274
|
+
});
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
export function applyHookEnvRequirements(params) {
|
|
280
|
+
const { bot, clawdbot, warnings, addRequiredEnv } = params;
|
|
281
|
+
const addHookToken = (payload) => {
|
|
282
|
+
if (typeof payload.value !== "string")
|
|
283
|
+
return;
|
|
284
|
+
const trimmed = payload.value.trim();
|
|
285
|
+
if (!trimmed)
|
|
286
|
+
return;
|
|
287
|
+
const envVar = extractEnvVarRef(trimmed);
|
|
288
|
+
if (envVar && envVar !== payload.envVar) {
|
|
289
|
+
warnings.push({
|
|
290
|
+
kind: "inlineToken",
|
|
291
|
+
channel: "hooks",
|
|
292
|
+
bot,
|
|
293
|
+
path: payload.path,
|
|
294
|
+
message: `Unexpected env ref at ${payload.path}: ${trimmed}`,
|
|
295
|
+
suggestion: `Use \${${payload.envVar}} for ${payload.label} and map it in fleet.secretEnv or fleet.bots.${bot}.profile.secretEnv.`,
|
|
296
|
+
});
|
|
297
|
+
}
|
|
298
|
+
if (!envVar) {
|
|
299
|
+
warnings.push({
|
|
300
|
+
kind: "inlineToken",
|
|
301
|
+
channel: "hooks",
|
|
302
|
+
bot,
|
|
303
|
+
path: payload.path,
|
|
304
|
+
message: `Inline hooks token detected at ${payload.path}`,
|
|
305
|
+
suggestion: `Replace with \${${payload.envVar}} and map it in fleet.secretEnv or fleet.bots.${bot}.profile.secretEnv.`,
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
addRequiredEnv(payload.envVar, "custom", payload.path);
|
|
309
|
+
};
|
|
310
|
+
const hooks = clawdbot?.hooks;
|
|
311
|
+
if (!isPlainObject(hooks))
|
|
312
|
+
return;
|
|
313
|
+
addHookToken({
|
|
314
|
+
envVar: HOOKS_TOKEN_ENV_VAR,
|
|
315
|
+
path: "hooks.token",
|
|
316
|
+
value: hooks.token,
|
|
317
|
+
label: "hooks.token",
|
|
318
|
+
});
|
|
319
|
+
const gmail = hooks.gmail;
|
|
320
|
+
if (isPlainObject(gmail)) {
|
|
321
|
+
addHookToken({
|
|
322
|
+
envVar: HOOKS_GMAIL_PUSH_TOKEN_ENV_VAR,
|
|
323
|
+
path: "hooks.gmail.pushToken",
|
|
324
|
+
value: gmail.pushToken,
|
|
325
|
+
label: "hooks.gmail.pushToken",
|
|
326
|
+
});
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
export function applySkillEnvRequirements(params) {
|
|
330
|
+
const { bot, clawdbot, warnings, addRequiredEnv, envVarHelpOverrides } = params;
|
|
331
|
+
const addSkillApiKey = (payload) => {
|
|
332
|
+
if (typeof payload.value !== "string")
|
|
333
|
+
return;
|
|
334
|
+
const trimmed = payload.value.trim();
|
|
335
|
+
if (!trimmed)
|
|
336
|
+
return;
|
|
337
|
+
const expectedEnvVar = skillApiKeyEnvVar(payload.skill);
|
|
338
|
+
if (!envVarHelpOverrides.has(expectedEnvVar)) {
|
|
339
|
+
envVarHelpOverrides.set(expectedEnvVar, `Skill ${payload.skill} API key`);
|
|
340
|
+
}
|
|
341
|
+
const envVar = extractEnvVarRef(trimmed);
|
|
342
|
+
if (envVar && envVar !== expectedEnvVar) {
|
|
343
|
+
warnings.push({
|
|
344
|
+
kind: "inlineApiKey",
|
|
345
|
+
bot,
|
|
346
|
+
path: payload.path,
|
|
347
|
+
message: `Unexpected env ref at ${payload.path}: ${trimmed}`,
|
|
348
|
+
suggestion: `Use \${${expectedEnvVar}} and map it in fleet.secretEnv or fleet.bots.${bot}.profile.secretEnv.`,
|
|
349
|
+
});
|
|
350
|
+
}
|
|
351
|
+
if (!envVar) {
|
|
352
|
+
warnings.push({
|
|
353
|
+
kind: "inlineApiKey",
|
|
354
|
+
bot,
|
|
355
|
+
path: payload.path,
|
|
356
|
+
message: `Inline API key detected at ${payload.path}`,
|
|
357
|
+
suggestion: `Replace with \${${expectedEnvVar}} and map it in fleet.secretEnv or fleet.bots.${bot}.profile.secretEnv.`,
|
|
358
|
+
});
|
|
359
|
+
}
|
|
360
|
+
addRequiredEnv(expectedEnvVar, "custom", payload.path);
|
|
361
|
+
};
|
|
362
|
+
const skills = clawdbot?.skills;
|
|
363
|
+
const skillEntries = isPlainObject(skills) ? skills.entries : null;
|
|
364
|
+
if (!isPlainObject(skillEntries))
|
|
365
|
+
return;
|
|
366
|
+
for (const [skill, entry] of Object.entries(skillEntries)) {
|
|
367
|
+
if (!isPlainObject(entry))
|
|
368
|
+
continue;
|
|
369
|
+
addSkillApiKey({
|
|
370
|
+
skill,
|
|
371
|
+
path: `skills.entries.${skill}.apiKey`,
|
|
372
|
+
value: entry.apiKey,
|
|
373
|
+
});
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
export function buildBaseSecretEnv(params) {
|
|
377
|
+
const out = {};
|
|
378
|
+
const apply = (v, source) => {
|
|
379
|
+
if (!v || typeof v !== "object" || Array.isArray(v))
|
|
380
|
+
return;
|
|
381
|
+
for (const [k, vv] of Object.entries(v)) {
|
|
382
|
+
if (typeof vv !== "string")
|
|
383
|
+
continue;
|
|
384
|
+
const rawKey = String(k || "").trim();
|
|
385
|
+
const value = vv.trim();
|
|
386
|
+
if (!rawKey || !value)
|
|
387
|
+
continue;
|
|
388
|
+
const key = canonicalizeEnvVar(rawKey, params.aliasMap);
|
|
389
|
+
if (!key)
|
|
390
|
+
continue;
|
|
391
|
+
const existing = out[key];
|
|
392
|
+
if (existing && existing !== value) {
|
|
393
|
+
params.warnings.push({
|
|
394
|
+
kind: "config",
|
|
395
|
+
bot: params.bot,
|
|
396
|
+
message: `secretEnv mapping conflict for ${key} (${source} overrides ${existing})`,
|
|
397
|
+
});
|
|
398
|
+
}
|
|
399
|
+
out[key] = value;
|
|
400
|
+
}
|
|
401
|
+
};
|
|
402
|
+
apply(params.globalEnv, "fleet");
|
|
403
|
+
apply(params.botEnv, "bot");
|
|
404
|
+
return out;
|
|
405
|
+
}
|
|
406
|
+
export function pickPrimarySource(sources) {
|
|
407
|
+
for (const source of SOURCE_PRIORITY) {
|
|
408
|
+
if (sources.has(source))
|
|
409
|
+
return source;
|
|
410
|
+
}
|
|
411
|
+
return "custom";
|
|
412
|
+
}
|
|
413
|
+
export function recordSecretSpec(map, params) {
|
|
414
|
+
const key = params.name;
|
|
415
|
+
const existing = map.get(key);
|
|
416
|
+
if (!existing) {
|
|
417
|
+
map.set(key, {
|
|
418
|
+
name: params.name,
|
|
419
|
+
kind: params.kind,
|
|
420
|
+
scope: params.scope,
|
|
421
|
+
sources: new Set([params.source]),
|
|
422
|
+
envVars: new Set(params.envVar ? [params.envVar] : []),
|
|
423
|
+
bots: new Set(params.bot ? [params.bot] : []),
|
|
424
|
+
help: params.help,
|
|
425
|
+
optional: params.optional,
|
|
426
|
+
fileId: params.fileId,
|
|
427
|
+
});
|
|
428
|
+
return;
|
|
429
|
+
}
|
|
430
|
+
existing.sources.add(params.source);
|
|
431
|
+
if (params.envVar)
|
|
432
|
+
existing.envVars.add(params.envVar);
|
|
433
|
+
if (params.bot)
|
|
434
|
+
existing.bots.add(params.bot);
|
|
435
|
+
if (params.help && !existing.help)
|
|
436
|
+
existing.help = params.help;
|
|
437
|
+
if (!params.optional)
|
|
438
|
+
existing.optional = false;
|
|
439
|
+
if (existing.scope !== params.scope) {
|
|
440
|
+
existing.scope = existing.scope === "host" || params.scope === "host" ? "host" : "bot";
|
|
441
|
+
}
|
|
442
|
+
if (!existing.fileId && params.fileId)
|
|
443
|
+
existing.fileId = params.fileId;
|
|
444
|
+
}
|
|
445
|
+
export function normalizeSecretFiles(value) {
|
|
446
|
+
if (!isPlainObject(value))
|
|
447
|
+
return {};
|
|
448
|
+
return value;
|
|
449
|
+
}
|
|
450
|
+
export function normalizeEnvVarPaths(pathsByVar) {
|
|
451
|
+
for (const [envVar, paths] of Object.entries(pathsByVar)) {
|
|
452
|
+
if (!paths || paths.length === 0)
|
|
453
|
+
continue;
|
|
454
|
+
pathsByVar[envVar] = Array.from(new Set(paths)).sort();
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
//# sourceMappingURL=fleet-secrets-plan-helpers.js.map
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { findEnvVarRefs } from "./env-var-refs.js";
|
|
2
|
+
import type { ClawdletsConfig } from "./clawdlets-config.js";
|
|
3
|
+
import type { SecretFileSpec } from "./secret-wiring.js";
|
|
4
|
+
import type { MissingSecretConfig, SecretSpec, SecretsPlanWarning } from "./secrets-plan.js";
|
|
5
|
+
export type MissingFleetSecretConfig = MissingSecretConfig;
|
|
6
|
+
export type FleetSecretsPlan = {
|
|
7
|
+
bots: string[];
|
|
8
|
+
hostSecretNamesRequired: string[];
|
|
9
|
+
secretNamesAll: string[];
|
|
10
|
+
secretNamesRequired: string[];
|
|
11
|
+
required: SecretSpec[];
|
|
12
|
+
optional: SecretSpec[];
|
|
13
|
+
missing: MissingSecretConfig[];
|
|
14
|
+
warnings: SecretsPlanWarning[];
|
|
15
|
+
missingSecretConfig: MissingSecretConfig[];
|
|
16
|
+
byBot: Record<string, {
|
|
17
|
+
envVarsRequired: string[];
|
|
18
|
+
envVarRefs: ReturnType<typeof findEnvVarRefs>;
|
|
19
|
+
secretEnv: Record<string, string>;
|
|
20
|
+
envVarToSecretName: Record<string, string>;
|
|
21
|
+
secretFiles: Record<string, SecretFileSpec>;
|
|
22
|
+
statefulChannels: string[];
|
|
23
|
+
}>;
|
|
24
|
+
hostSecretFiles: Record<string, SecretFileSpec>;
|
|
25
|
+
};
|
|
26
|
+
export declare function buildFleetSecretsPlan(params: {
|
|
27
|
+
config: ClawdletsConfig;
|
|
28
|
+
hostName: string;
|
|
29
|
+
}): FleetSecretsPlan;
|
|
30
|
+
//# sourceMappingURL=fleet-secrets-plan.d.ts.map
|