@wildo-ai/platform-config-lib 1.1.11 → 1.1.13
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/esm/_unimplemented/soft-warn.d.ts +24 -49
- package/dist/esm/_unimplemented/soft-warn.d.ts.map +1 -1
- package/dist/esm/_unimplemented/soft-warn.js +24 -49
- package/dist/esm/_unimplemented/soft-warn.js.map +1 -1
- package/dist/esm/blueprint/anchored-region.d.ts.map +1 -1
- package/dist/esm/blueprint/anchored-region.js.map +1 -1
- package/dist/esm/blueprint/blueprint.schemas.d.ts +0 -89
- package/dist/esm/blueprint/blueprint.schemas.d.ts.map +1 -1
- package/dist/esm/blueprint/blueprint.schemas.js.map +1 -1
- package/dist/esm/bootstrap/application-backend-env.contracts.d.ts.map +1 -1
- package/dist/esm/bootstrap/application-backend-env.contracts.js.map +1 -1
- package/dist/esm/bootstrap/application-creation-verification-env.contracts.d.ts.map +1 -1
- package/dist/esm/bootstrap/application-creation-verification-env.contracts.js.map +1 -1
- package/dist/esm/bootstrap/bootstrap-planner.d.ts.map +1 -1
- package/dist/esm/bootstrap/bootstrap-planner.js.map +1 -1
- package/dist/esm/bootstrap/bootstrap.contracts.d.ts.map +1 -1
- package/dist/esm/bootstrap/bootstrap.contracts.js.map +1 -1
- package/dist/esm/bootstrap/bootstrap.schemas.d.ts +8 -1
- package/dist/esm/bootstrap/bootstrap.schemas.d.ts.map +1 -1
- package/dist/esm/bootstrap/bootstrap.schemas.js +15 -1
- package/dist/esm/bootstrap/bootstrap.schemas.js.map +1 -1
- package/dist/esm/bootstrap/platform-runtime-env.contracts.d.ts +10 -2
- package/dist/esm/bootstrap/platform-runtime-env.contracts.d.ts.map +1 -1
- package/dist/esm/bootstrap/platform-runtime-env.contracts.js +10 -2
- package/dist/esm/bootstrap/platform-runtime-env.contracts.js.map +1 -1
- package/dist/esm/bootstrap/platform-store-preconnect.d.ts +21 -0
- package/dist/esm/bootstrap/platform-store-preconnect.d.ts.map +1 -1
- package/dist/esm/bootstrap/platform-store-preconnect.js +25 -0
- package/dist/esm/bootstrap/platform-store-preconnect.js.map +1 -1
- package/dist/esm/bootstrap/postgresql-owed-grants.contracts.d.ts +80 -0
- package/dist/esm/bootstrap/postgresql-owed-grants.contracts.d.ts.map +1 -0
- package/dist/esm/bootstrap/postgresql-owed-grants.contracts.js +81 -0
- package/dist/esm/bootstrap/postgresql-owed-grants.contracts.js.map +1 -0
- package/dist/esm/bootstrap/runtime-backing-service-access.d.ts +41 -9
- package/dist/esm/bootstrap/runtime-backing-service-access.d.ts.map +1 -1
- package/dist/esm/bootstrap/runtime-backing-service-access.js +77 -28
- package/dist/esm/bootstrap/runtime-backing-service-access.js.map +1 -1
- package/dist/esm/bootstrap/runtime-network-policy.d.ts +117 -12
- package/dist/esm/bootstrap/runtime-network-policy.d.ts.map +1 -1
- package/dist/esm/bootstrap/runtime-network-policy.js +222 -23
- package/dist/esm/bootstrap/runtime-network-policy.js.map +1 -1
- package/dist/esm/bootstrap/runtime-network-topology.d.ts +31 -4
- package/dist/esm/bootstrap/runtime-network-topology.d.ts.map +1 -1
- package/dist/esm/bootstrap/runtime-network-topology.js +43 -2
- package/dist/esm/bootstrap/runtime-network-topology.js.map +1 -1
- package/dist/esm/bootstrap/runtime-platform-access.d.ts.map +1 -1
- package/dist/esm/bootstrap/runtime-platform-access.js.map +1 -1
- package/dist/esm/bootstrap/runtime-principal.contracts.d.ts +40 -2
- package/dist/esm/bootstrap/runtime-principal.contracts.d.ts.map +1 -1
- package/dist/esm/bootstrap/runtime-principal.contracts.js +66 -3
- package/dist/esm/bootstrap/runtime-principal.contracts.js.map +1 -1
- package/dist/esm/bootstrap/runtime-response-integrity.d.ts.map +1 -1
- package/dist/esm/bootstrap/runtime-response-integrity.js +3 -3
- package/dist/esm/bootstrap/runtime-response-integrity.js.map +1 -1
- package/dist/esm/bootstrap/runtime-secret-env.contracts.d.ts.map +1 -1
- package/dist/esm/bootstrap/runtime-secret-env.contracts.js.map +1 -1
- package/dist/esm/bootstrap/runtime-topology.contracts.d.ts.map +1 -1
- package/dist/esm/bootstrap/runtime-topology.contracts.js.map +1 -1
- package/dist/esm/bootstrap/wildo-owner-organization.contracts.d.ts.map +1 -1
- package/dist/esm/bootstrap/wildo-owner-organization.contracts.js.map +1 -1
- package/dist/esm/canonical-json/rfc8785-canonical-json.d.ts.map +1 -1
- package/dist/esm/canonical-json/rfc8785-canonical-json.js.map +1 -1
- package/dist/esm/config-authoring.entry.d.ts.map +1 -1
- package/dist/esm/config-authoring.entry.js.map +1 -1
- package/dist/esm/credentials/credential-generator.service.d.ts.map +1 -1
- package/dist/esm/credentials/credential-generator.service.js.map +1 -1
- package/dist/esm/index.d.ts +5 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +5 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/key-management/application-legacy-envelope-key.contracts.d.ts +119 -0
- package/dist/esm/key-management/application-legacy-envelope-key.contracts.d.ts.map +1 -0
- package/dist/esm/key-management/application-legacy-envelope-key.contracts.js +109 -0
- package/dist/esm/key-management/application-legacy-envelope-key.contracts.js.map +1 -0
- package/dist/esm/key-management/application-signing-key-rotation.contracts.d.ts +182 -0
- package/dist/esm/key-management/application-signing-key-rotation.contracts.d.ts.map +1 -0
- package/dist/esm/key-management/application-signing-key-rotation.contracts.js +145 -0
- package/dist/esm/key-management/application-signing-key-rotation.contracts.js.map +1 -0
- package/dist/esm/key-management/approval-seal-manifested-copy.d.ts +156 -0
- package/dist/esm/key-management/approval-seal-manifested-copy.d.ts.map +1 -0
- package/dist/esm/key-management/approval-seal-manifested-copy.js +617 -0
- package/dist/esm/key-management/approval-seal-manifested-copy.js.map +1 -0
- package/dist/esm/key-management/approval-seal-verifier.d.ts +114 -40
- package/dist/esm/key-management/approval-seal-verifier.d.ts.map +1 -1
- package/dist/esm/key-management/approval-seal-verifier.js +143 -12
- package/dist/esm/key-management/approval-seal-verifier.js.map +1 -1
- package/dist/esm/key-management/approval-seal.contracts.d.ts +12 -15
- package/dist/esm/key-management/approval-seal.contracts.d.ts.map +1 -1
- package/dist/esm/key-management/approval-seal.contracts.js +20 -0
- package/dist/esm/key-management/approval-seal.contracts.js.map +1 -1
- package/dist/esm/key-management/data-key.contracts.d.ts +0 -2
- package/dist/esm/key-management/data-key.contracts.d.ts.map +1 -1
- package/dist/esm/key-management/data-key.contracts.js.map +1 -1
- package/dist/esm/key-management/es256-jws.d.ts.map +1 -1
- package/dist/esm/key-management/es256-jws.js.map +1 -1
- package/dist/esm/key-management/key-provider.spi.d.ts +8 -1
- package/dist/esm/key-management/key-provider.spi.d.ts.map +1 -1
- package/dist/esm/key-management/key-provider.spi.js.map +1 -1
- package/dist/esm/key-management/keyring-rotation.contracts.d.ts +2 -12
- package/dist/esm/key-management/keyring-rotation.contracts.d.ts.map +1 -1
- package/dist/esm/key-management/keyring-rotation.contracts.js +3 -3
- package/dist/esm/key-management/keyring-rotation.contracts.js.map +1 -1
- package/dist/esm/key-management/keyring-status.contracts.d.ts +0 -7
- package/dist/esm/key-management/keyring-status.contracts.d.ts.map +1 -1
- package/dist/esm/key-management/keyring-status.contracts.js.map +1 -1
- package/dist/esm/key-management/pdf-incremental-update.d.ts +158 -0
- package/dist/esm/key-management/pdf-incremental-update.d.ts.map +1 -0
- package/dist/esm/key-management/pdf-incremental-update.js +730 -0
- package/dist/esm/key-management/pdf-incremental-update.js.map +1 -0
- package/dist/esm/key-management/pdf-truetype-font.d.ts +35 -0
- package/dist/esm/key-management/pdf-truetype-font.d.ts.map +1 -0
- package/dist/esm/key-management/pdf-truetype-font.js +152 -0
- package/dist/esm/key-management/pdf-truetype-font.js.map +1 -0
- package/dist/esm/key-management/qr-code.d.ts +38 -0
- package/dist/esm/key-management/qr-code.d.ts.map +1 -0
- package/dist/esm/key-management/qr-code.js +325 -0
- package/dist/esm/key-management/qr-code.js.map +1 -0
- package/dist/esm/key-management/signature-request.contracts.d.ts +0 -4
- package/dist/esm/key-management/signature-request.contracts.d.ts.map +1 -1
- package/dist/esm/key-management/signature-request.contracts.js.map +1 -1
- package/dist/esm/key-management/signing-log-export.contracts.d.ts +0 -1
- package/dist/esm/key-management/signing-log-export.contracts.d.ts.map +1 -1
- package/dist/esm/key-management/signing-log-export.contracts.js.map +1 -1
- package/dist/esm/key-management/vault-custody.contracts.d.ts +43 -0
- package/dist/esm/key-management/vault-custody.contracts.d.ts.map +1 -1
- package/dist/esm/key-management/vault-custody.contracts.js +66 -0
- package/dist/esm/key-management/vault-custody.contracts.js.map +1 -1
- package/dist/esm/lockfile/build-parallelism.d.ts.map +1 -1
- package/dist/esm/lockfile/build-parallelism.js.map +1 -1
- package/dist/esm/lockfile/canonical-json.d.ts +1 -1
- package/dist/esm/lockfile/canonical-json.d.ts.map +1 -1
- package/dist/esm/lockfile/canonical-json.js +1 -1
- package/dist/esm/lockfile/canonical-json.js.map +1 -1
- package/dist/esm/lockfile/file-lock-hold.d.ts.map +1 -1
- package/dist/esm/lockfile/file-lock-hold.js +2 -1
- package/dist/esm/lockfile/file-lock-hold.js.map +1 -1
- package/dist/esm/lockfile/lockfile-io.d.ts +6 -8
- package/dist/esm/lockfile/lockfile-io.d.ts.map +1 -1
- package/dist/esm/lockfile/lockfile-io.js +6 -8
- package/dist/esm/lockfile/lockfile-io.js.map +1 -1
- package/dist/esm/lockfile/materialize-infra-section.d.ts +5 -6
- package/dist/esm/lockfile/materialize-infra-section.d.ts.map +1 -1
- package/dist/esm/lockfile/materialize-infra-section.js +4 -5
- package/dist/esm/lockfile/materialize-infra-section.js.map +1 -1
- package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.d.ts +1 -247
- package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.d.ts.map +1 -1
- package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.js +1 -1
- package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.js.map +1 -1
- package/dist/esm/pnpm-settings/application-pnpm-settings.d.ts +146 -0
- package/dist/esm/pnpm-settings/application-pnpm-settings.d.ts.map +1 -0
- package/dist/esm/pnpm-settings/application-pnpm-settings.js +573 -0
- package/dist/esm/pnpm-settings/application-pnpm-settings.js.map +1 -0
- package/dist/esm/project-config/application-public-pricing-catalog.loader.d.ts.map +1 -1
- package/dist/esm/project-config/application-public-pricing-catalog.loader.js +15 -3
- package/dist/esm/project-config/application-public-pricing-catalog.loader.js.map +1 -1
- package/dist/esm/project-config/application-served-public-documents.loader.d.ts.map +1 -1
- package/dist/esm/project-config/application-served-public-documents.loader.js +16 -8
- package/dist/esm/project-config/application-served-public-documents.loader.js.map +1 -1
- package/dist/esm/project-config/backend-compliance-section.reader.d.ts +35 -0
- package/dist/esm/project-config/backend-compliance-section.reader.d.ts.map +1 -0
- package/dist/esm/project-config/backend-compliance-section.reader.js +123 -0
- package/dist/esm/project-config/backend-compliance-section.reader.js.map +1 -0
- package/dist/esm/project-config/backend-compliance-section.worker.d.ts +20 -0
- package/dist/esm/project-config/backend-compliance-section.worker.d.ts.map +1 -0
- package/dist/esm/project-config/backend-compliance-section.worker.js +78 -0
- package/dist/esm/project-config/backend-compliance-section.worker.js.map +1 -0
- package/dist/esm/project-config/config-module-resolution.d.ts +32 -0
- package/dist/esm/project-config/config-module-resolution.d.ts.map +1 -0
- package/dist/esm/project-config/config-module-resolution.js +33 -0
- package/dist/esm/project-config/config-module-resolution.js.map +1 -0
- package/dist/esm/project-config/define-framework-config.d.ts.map +1 -1
- package/dist/esm/project-config/define-framework-config.js.map +1 -1
- package/dist/esm/project-config/define-infra-env-config.d.ts +146 -55
- package/dist/esm/project-config/define-infra-env-config.d.ts.map +1 -1
- package/dist/esm/project-config/define-infra-env-config.js +124 -71
- package/dist/esm/project-config/define-infra-env-config.js.map +1 -1
- package/dist/esm/project-config/define-minion-config.d.ts +26 -36
- package/dist/esm/project-config/define-minion-config.d.ts.map +1 -1
- package/dist/esm/project-config/define-minion-config.js +64 -25
- package/dist/esm/project-config/define-minion-config.js.map +1 -1
- package/dist/esm/project-config/define-saas-config.d.ts +41 -437
- package/dist/esm/project-config/define-saas-config.d.ts.map +1 -1
- package/dist/esm/project-config/define-saas-config.js +102 -94
- package/dist/esm/project-config/define-saas-config.js.map +1 -1
- package/dist/esm/project-config/define-worker-config.d.ts +10 -20
- package/dist/esm/project-config/define-worker-config.d.ts.map +1 -1
- package/dist/esm/project-config/define-worker-config.js +10 -12
- package/dist/esm/project-config/define-worker-config.js.map +1 -1
- package/dist/esm/project-config/hosted-infra-env-config.d.ts.map +1 -1
- package/dist/esm/project-config/hosted-infra-env-config.js +2 -1
- package/dist/esm/project-config/hosted-infra-env-config.js.map +1 -1
- package/dist/esm/project-config/index.d.ts +2 -0
- package/dist/esm/project-config/index.d.ts.map +1 -1
- package/dist/esm/project-config/index.js +2 -0
- package/dist/esm/project-config/index.js.map +1 -1
- package/dist/esm/project-config/loader-instances-zod.d.ts +19 -0
- package/dist/esm/project-config/loader-instances-zod.d.ts.map +1 -0
- package/dist/esm/project-config/loader-instances-zod.js +40 -0
- package/dist/esm/project-config/loader-instances-zod.js.map +1 -0
- package/dist/esm/project-config/loader.d.ts +131 -14
- package/dist/esm/project-config/loader.d.ts.map +1 -1
- package/dist/esm/project-config/loader.js +226 -12
- package/dist/esm/project-config/loader.js.map +1 -1
- package/dist/esm/project-config/minion-liveness.contracts.d.ts +131 -0
- package/dist/esm/project-config/minion-liveness.contracts.d.ts.map +1 -0
- package/dist/esm/project-config/minion-liveness.contracts.js +167 -0
- package/dist/esm/project-config/minion-liveness.contracts.js.map +1 -0
- package/dist/esm/project-config/minion-local-provider-registration.d.ts.map +1 -1
- package/dist/esm/project-config/minion-local-provider-registration.js.map +1 -1
- package/dist/esm/project-config/npm-version-range.d.ts.map +1 -1
- package/dist/esm/project-config/npm-version-range.js.map +1 -1
- package/dist/esm/project-config/owning-package-tsconfig.d.ts +7 -7
- package/dist/esm/project-config/owning-package-tsconfig.d.ts.map +1 -1
- package/dist/esm/project-config/owning-package-tsconfig.js +7 -7
- package/dist/esm/project-config/owning-package-tsconfig.js.map +1 -1
- package/dist/esm/project-config/provider-catalog-types.d.ts.map +1 -1
- package/dist/esm/project-config/provider-catalog-types.js.map +1 -1
- package/dist/esm/project-config/provider-companion-discovery.d.ts.map +1 -1
- package/dist/esm/project-config/provider-companion-discovery.js +3 -1
- package/dist/esm/project-config/provider-companion-discovery.js.map +1 -1
- package/dist/esm/project-config/provider-runtime-artifacts.d.ts +71 -46
- package/dist/esm/project-config/provider-runtime-artifacts.d.ts.map +1 -1
- package/dist/esm/project-config/provider-runtime-artifacts.js +150 -4
- package/dist/esm/project-config/provider-runtime-artifacts.js.map +1 -1
- package/dist/esm/project-config/shared/application-creation-verification.schemas.d.ts +0 -2
- package/dist/esm/project-config/shared/application-creation-verification.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/application-creation-verification.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/application-modules.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/application-modules.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/application-modules.utils.d.ts.map +1 -1
- package/dist/esm/project-config/shared/application-modules.utils.js.map +1 -1
- package/dist/esm/project-config/shared/auth.schemas.d.ts +0 -17
- package/dist/esm/project-config/shared/auth.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/auth.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/backing-service-servability.d.ts.map +1 -1
- package/dist/esm/project-config/shared/backing-service-servability.js.map +1 -1
- package/dist/esm/project-config/shared/backing-services.schemas.d.ts +9 -10
- package/dist/esm/project-config/shared/backing-services.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/backing-services.schemas.js +13 -15
- package/dist/esm/project-config/shared/backing-services.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/cdn.schemas.d.ts +0 -51
- package/dist/esm/project-config/shared/cdn.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/cdn.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/csp-defaults.d.ts +34 -6
- package/dist/esm/project-config/shared/csp-defaults.d.ts.map +1 -1
- package/dist/esm/project-config/shared/csp-defaults.js +52 -8
- package/dist/esm/project-config/shared/csp-defaults.js.map +1 -1
- package/dist/esm/project-config/shared/csp-emit.d.ts +60 -13
- package/dist/esm/project-config/shared/csp-emit.d.ts.map +1 -1
- package/dist/esm/project-config/shared/csp-emit.js +77 -24
- package/dist/esm/project-config/shared/csp-emit.js.map +1 -1
- package/dist/esm/project-config/shared/csp.schemas.d.ts +72 -84
- package/dist/esm/project-config/shared/csp.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/csp.schemas.js +40 -12
- package/dist/esm/project-config/shared/csp.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/data-services.schemas.d.ts +0 -8
- package/dist/esm/project-config/shared/data-services.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/data-services.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/env-example-defaults.d.ts.map +1 -1
- package/dist/esm/project-config/shared/env-example-defaults.js.map +1 -1
- package/dist/esm/project-config/shared/environment.schemas.d.ts +95 -8
- package/dist/esm/project-config/shared/environment.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/environment.schemas.js +122 -10
- package/dist/esm/project-config/shared/environment.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/infra-providers.schemas.d.ts +10 -4
- package/dist/esm/project-config/shared/infra-providers.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/infra-providers.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/infra-service.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/infra-service.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/infrastructure-defaults.schemas.d.ts +1 -1
- package/dist/esm/project-config/shared/infrastructure-defaults.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/infrastructure-defaults.schemas.js +1 -1
- package/dist/esm/project-config/shared/infrastructure-defaults.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/k8s-utils.d.ts.map +1 -1
- package/dist/esm/project-config/shared/k8s-utils.js.map +1 -1
- package/dist/esm/project-config/shared/minion-platform-access.vocabulary.d.ts.map +1 -1
- package/dist/esm/project-config/shared/minion-platform-access.vocabulary.js.map +1 -1
- package/dist/esm/project-config/shared/minion-resource-access.validation.d.ts +20 -0
- package/dist/esm/project-config/shared/minion-resource-access.validation.d.ts.map +1 -1
- package/dist/esm/project-config/shared/minion-resource-access.validation.js +21 -2
- package/dist/esm/project-config/shared/minion-resource-access.validation.js.map +1 -1
- package/dist/esm/project-config/shared/object-storage-session-policy.d.ts.map +1 -1
- package/dist/esm/project-config/shared/object-storage-session-policy.js.map +1 -1
- package/dist/esm/project-config/shared/platform-key-management.schemas.d.ts +67 -38
- package/dist/esm/project-config/shared/platform-key-management.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/platform-key-management.schemas.js +113 -5
- package/dist/esm/project-config/shared/platform-key-management.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/platform-services.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/platform-services.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/platform-storage.schemas.d.ts +2 -2
- package/dist/esm/project-config/shared/platform-storage.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/platform-storage.schemas.js +16 -2
- package/dist/esm/project-config/shared/platform-storage.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/service-definitions.schemas.d.ts +21 -23
- package/dist/esm/project-config/shared/service-definitions.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/service-definitions.schemas.js +4 -5
- package/dist/esm/project-config/shared/service-definitions.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/systems-of-record-env.schemas.d.ts +0 -18
- package/dist/esm/project-config/shared/systems-of-record-env.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/systems-of-record-env.schemas.js.map +1 -1
- package/dist/esm/project-config/static-asset-import-noop.d.ts +20 -3
- package/dist/esm/project-config/static-asset-import-noop.d.ts.map +1 -1
- package/dist/esm/project-config/static-asset-import-noop.js +36 -20
- package/dist/esm/project-config/static-asset-import-noop.js.map +1 -1
- package/dist/esm/registry/artifact-domain.schemas.d.ts +0 -5
- package/dist/esm/registry/artifact-domain.schemas.d.ts.map +1 -1
- package/dist/esm/registry/artifact-domain.schemas.js.map +1 -1
- package/dist/esm/registry/digest.schemas.d.ts.map +1 -1
- package/dist/esm/registry/digest.schemas.js.map +1 -1
- package/dist/esm/registry/index.d.ts +2 -3
- package/dist/esm/registry/index.d.ts.map +1 -1
- package/dist/esm/registry/index.js +2 -3
- package/dist/esm/registry/index.js.map +1 -1
- package/dist/esm/registry/local-checkout-source.d.ts.map +1 -1
- package/dist/esm/registry/local-checkout-source.js.map +1 -1
- package/dist/esm/registry/lockfile-modules-section.schemas.d.ts +1 -98
- package/dist/esm/registry/lockfile-modules-section.schemas.d.ts.map +1 -1
- package/dist/esm/registry/lockfile-modules-section.schemas.js +1 -2
- package/dist/esm/registry/lockfile-modules-section.schemas.js.map +1 -1
- package/dist/esm/registry/module-artifact.schemas.d.ts +17 -17
- package/dist/esm/registry/module-artifact.schemas.d.ts.map +1 -1
- package/dist/esm/registry/module-artifact.schemas.js.map +1 -1
- package/dist/esm/registry/module-manifest.schemas.d.ts +151 -219
- package/dist/esm/registry/module-manifest.schemas.d.ts.map +1 -1
- package/dist/esm/registry/module-manifest.schemas.js +145 -13
- package/dist/esm/registry/module-manifest.schemas.js.map +1 -1
- package/dist/esm/registry/module-search.schemas.d.ts.map +1 -1
- package/dist/esm/registry/module-search.schemas.js.map +1 -1
- package/dist/esm/registry/registry-config.schemas.d.ts +0 -18
- package/dist/esm/registry/registry-config.schemas.d.ts.map +1 -1
- package/dist/esm/registry/registry-config.schemas.js.map +1 -1
- package/dist/esm/registry/registry-defaults.constants.d.ts.map +1 -1
- package/dist/esm/registry/registry-defaults.constants.js.map +1 -1
- package/dist/esm/registry/registry-errors.d.ts +81 -3
- package/dist/esm/registry/registry-errors.d.ts.map +1 -1
- package/dist/esm/registry/registry-errors.js +185 -4
- package/dist/esm/registry/registry-errors.js.map +1 -1
- package/dist/esm/registry/registry-keys.schemas.d.ts.map +1 -1
- package/dist/esm/registry/registry-keys.schemas.js.map +1 -1
- package/dist/esm/registry/registry-section-schemas.constants.d.ts.map +1 -1
- package/dist/esm/registry/registry-section-schemas.constants.js.map +1 -1
- package/dist/esm/registry/registry-url-resolution.d.ts.map +1 -1
- package/dist/esm/registry/registry-url-resolution.js.map +1 -1
- package/dist/esm/release/framework-release.constants.d.ts.map +1 -1
- package/dist/esm/release/framework-release.constants.js.map +1 -1
- package/dist/esm/schemas/framework-info.schemas.d.ts.map +1 -1
- package/dist/esm/schemas/framework-info.schemas.js.map +1 -1
- package/dist/esm/schemas/framework-secrets.schemas.d.ts +0 -7
- package/dist/esm/schemas/framework-secrets.schemas.d.ts.map +1 -1
- package/dist/esm/schemas/framework-secrets.schemas.js.map +1 -1
- package/dist/esm/schemas/platform-application-config.schemas.d.ts +1 -1
- package/dist/esm/schemas/platform-application-config.schemas.d.ts.map +1 -1
- package/dist/esm/schemas/platform-application-config.schemas.js.map +1 -1
- package/dist/esm/schemas/platform-application-secrets.schemas.d.ts +1 -1
- package/dist/esm/schemas/platform-application-secrets.schemas.d.ts.map +1 -1
- package/dist/esm/schemas/platform-application-secrets.schemas.js.map +1 -1
- package/dist/esm/schemas/platform-config.schemas.d.ts +2 -2
- package/dist/esm/schemas/platform-config.schemas.d.ts.map +1 -1
- package/dist/esm/schemas/platform-config.schemas.js.map +1 -1
- package/dist/esm/workspace-scope/application-subject-manifest.d.ts.map +1 -1
- package/dist/esm/workspace-scope/application-subject-manifest.js.map +1 -1
- package/dist/esm/workspace-scope/index.d.ts.map +1 -1
- package/dist/esm/workspace-scope/index.js.map +1 -1
- package/dist/esm/workspace-scope/resolve-homes.d.ts.map +1 -1
- package/dist/esm/workspace-scope/resolve-homes.js.map +1 -1
- package/dist/esm/workspace-scope/workspace-homes.schemas.d.ts.map +1 -1
- package/dist/esm/workspace-scope/workspace-homes.schemas.js.map +1 -1
- package/dist/esm/workspace-scope/workspace-scope-detector.d.ts.map +1 -1
- package/dist/esm/workspace-scope/workspace-scope-detector.js.map +1 -1
- package/dist/esm/workspace-scope/workspace-scope.schemas.d.ts.map +1 -1
- package/dist/esm/workspace-scope/workspace-scope.schemas.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +12 -12
- package/dist/esm/_unimplemented/index.d.ts +0 -3
- package/dist/esm/_unimplemented/index.d.ts.map +0 -1
- package/dist/esm/_unimplemented/index.js +0 -3
- package/dist/esm/_unimplemented/index.js.map +0 -1
- package/dist/esm/_unimplemented/unimplemented-field-warning.d.ts +0 -137
- package/dist/esm/_unimplemented/unimplemented-field-warning.d.ts.map +0 -1
- package/dist/esm/_unimplemented/unimplemented-field-warning.js +0 -153
- package/dist/esm/_unimplemented/unimplemented-field-warning.js.map +0 -1
- package/dist/esm/project-config/shared/cdn.example.d.ts +0 -14
- package/dist/esm/project-config/shared/cdn.example.d.ts.map +0 -1
- package/dist/esm/project-config/shared/cdn.example.js +0 -38
- package/dist/esm/project-config/shared/cdn.example.js.map +0 -1
- package/dist/esm/project-config/shared/schema-version.schemas.d.ts +0 -15
- package/dist/esm/project-config/shared/schema-version.schemas.d.ts.map +0 -1
- package/dist/esm/project-config/shared/schema-version.schemas.js +0 -40
- package/dist/esm/project-config/shared/schema-version.schemas.js.map +0 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { InboundEmailConfigSchema, RuntimeEnvironment } from '@wildo-ai/saas-models';
|
|
1
|
+
import { EnvironmentAgentContentGuardrailsSchema, InboundEmailConfigSchema, RuntimeEnvironment } from '@wildo-ai/saas-models';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { UnimplementedFieldSource, createUnimplementedFieldWarner, } from '../_unimplemented/unimplemented-field-warning.js';
|
|
4
3
|
import { WildoAuthConfigSchema } from './shared/auth.schemas.js';
|
|
5
4
|
import { ApplicationCreationVerificationConfigSchema } from './shared/application-creation-verification.schemas.js';
|
|
6
5
|
import { BackingServiceKind, BackingServiceSource, BackingServicesEnvConfigSchema } from './shared/backing-services.schemas.js';
|
|
@@ -9,9 +8,8 @@ import { WildoSystemsOfRecordEnvConfigSchema } from './shared/systems-of-record-
|
|
|
9
8
|
import { WildoPlatformStorageConfigSchema } from './shared/platform-storage.schemas.js';
|
|
10
9
|
import { WildoPlatformKeyManagementConfigSchema } from './shared/platform-key-management.schemas.js';
|
|
11
10
|
import { EnvCspOverrideSchema } from './shared/csp.schemas.js';
|
|
12
|
-
import { WildoSchemaVersionSchema } from './shared/schema-version.schemas.js';
|
|
13
11
|
import { InfraServiceAddressingSchema, } from './shared/infra-service.schemas.js';
|
|
14
|
-
import { DatabaseEngine, resolveApplicationDatabaseEngine, WildoDeploymentConfigSchema, WildoDeploymentRuntime, WildoEnvironment, WildoEnvironmentIdSchema, WildoKubernetesConfigSchema, WildoLocationType, WildoLocalDataStorage, resolveDefaultLocalDataStorage, WildoLoggingConfigSchema, WildoObservabilityConfigSchema, WildoDocumentationSiteConfigSchema, WildoEnvironmentProviderConfigurationsSchema, WildoProviderSelectionOverridesSchema, WildoRemoteProviderSchema, WildoImageTagStrategy, isLocalEnvironmentId, } from './shared/environment.schemas.js';
|
|
12
|
+
import { DatabaseEngine, resolveApplicationDatabaseEngine, WildoDeploymentConfigSchema, WildoDeploymentRuntime, WildoEnvironment, WildoEnvironmentIdSchema, WildoKubernetesConfigSchema, WildoLocationType, WildoLocalDataStorage, resolveDefaultLocalDataStorage, DEFAULT_ENVIRONMENT_SERVICE_PROFILE, EnvironmentServiceProfile, EnvironmentServiceProfileOptionalService, describeServiceOmittedByEnvironmentServiceProfile, environmentServiceProfileOmits, environmentServiceProfileRunsOneDatabaseFamily, WildoLoggingConfigSchema, WildoObservabilityConfigSchema, WildoDocumentationSiteConfigSchema, WildoEnvironmentProviderConfigurationsSchema, WildoProviderSelectionOverridesSchema, WildoRemoteProviderSchema, WildoImageTagStrategy, isLocalEnvironmentId, } from './shared/environment.schemas.js';
|
|
15
13
|
const InfraEnvKubernetesSchema = WildoKubernetesConfigSchema.strict();
|
|
16
14
|
/**
|
|
17
15
|
* A POSIX (`/…`), drive-letter (`C:\…`, `C:/…`) or UNC (`\\host\…`) absolute path.
|
|
@@ -58,9 +56,8 @@ const SERVICE_HOST_LABEL = /^(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)(?:\.[a-z0-9](?:
|
|
|
58
56
|
* single topology on every environment; the per-env map keeps those
|
|
59
57
|
* decisions explicit and author-driven.
|
|
60
58
|
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
* when building cross-frontend handoff URLs.
|
|
59
|
+
* The URL composer that builds cross-frontend handoff URLs consumes
|
|
60
|
+
* this mapping.
|
|
64
61
|
*/
|
|
65
62
|
const ServiceHostValueSchema = z.string()
|
|
66
63
|
.refine((value) => value === '' || SERVICE_HOST_LABEL.test(value), 'serviceHosts value must be a lowercase DNS subdomain chain (e.g. "app", "docs", "dev.admin") or "" (empty string, meaning apex).');
|
|
@@ -112,23 +109,10 @@ export const WildoOwnershipDnsStandInConfigSchema = z.strictObject({
|
|
|
112
109
|
* descriptors can agree on what an application-owned field IS without restating it.
|
|
113
110
|
*/
|
|
114
111
|
const WILDO_INFRA_ENV_CONFIG_SHAPE = {
|
|
115
|
-
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
* `'2.3.1-rc.1'`, `'1.0.0+build.42'`).
|
|
119
|
-
*
|
|
120
|
-
* @unimplemented Slice 3.5 wires a parse-time warning when this is
|
|
121
|
-
* authored. The full schema-evolution / migration tooling story is
|
|
122
|
-
* tracked under deferred-backlog **D-5**
|
|
123
|
-
* (`.cursor/plans/post-flattening-completion-fixes.md`). Symmetrical
|
|
124
|
-
* with `WildoSaasConfig.version` — both reservations land/retire
|
|
125
|
-
* together so the migration tooling, when it ships, can target both
|
|
126
|
-
* authored configs through a single mechanism. SemVer (not a bare
|
|
127
|
-
* integer) was chosen for the same reason as on the SaaS-config side
|
|
128
|
-
* — see the JSDoc on `WildoSaasConfig.version`. Field is `.optional()`
|
|
129
|
-
* (no Zod default) so unauthored configs stay silent.
|
|
112
|
+
/*
|
|
113
|
+
* No `version` key, deliberately (#3496): the descriptor's compatibility is fixed by the `@wildo-ai/*` release the
|
|
114
|
+
* application installs, exactly as for `wildo.saas.config.ts`. The strict object refuses one if it is authored.
|
|
130
115
|
*/
|
|
131
|
-
version: WildoSchemaVersionSchema.optional(),
|
|
132
116
|
environment: WildoEnvironmentIdSchema,
|
|
133
117
|
locationType: z.enum(WildoLocationType).optional(),
|
|
134
118
|
runtimeEnvironment: z.enum(RuntimeEnvironment).optional(),
|
|
@@ -146,6 +130,25 @@ const WILDO_INFRA_ENV_CONFIG_SHAPE = {
|
|
|
146
130
|
* Ignored by KUBERNETES environments, which take their storage from PVs rather than from here.
|
|
147
131
|
*/
|
|
148
132
|
localDataStorage: z.enum(WildoLocalDataStorage).optional(),
|
|
133
|
+
/**
|
|
134
|
+
* Which optional backing services this environment runs — its footprint (#2303). Omit it and the
|
|
135
|
+
* environment runs `FULL`, every service its declarations ask for.
|
|
136
|
+
*
|
|
137
|
+
* `SMALL` runs no ClamAV, no immudb and no mongot. A small internal tool usually needs none of them, and
|
|
138
|
+
* they are the heaviest containers in the stack. Each capability that depends on one is REFUSED at the
|
|
139
|
+
* application's boot when the application declares it, with a message naming this profile and the remedy:
|
|
140
|
+
* a `z_file({ scanPolicy: 'required' })` field (antivirus), an enabled `COMPLIANCE_AUDIT_TRAIL` with no
|
|
141
|
+
* external audit store (immudb), a `.ragSource()` field on a MongoDB-persisted resource (mongot; on
|
|
142
|
+
* PostgreSQL pgvector serves vector search inside the database, so it stays available).
|
|
143
|
+
*
|
|
144
|
+
* Moving between profiles migrates no data: a service the profile adds starts empty (an audit store with
|
|
145
|
+
* no history, a search index that mongot builds from the collections), and one it removes leaves its
|
|
146
|
+
* data where it was.
|
|
147
|
+
*
|
|
148
|
+
* Docker Compose environments only for now: a KUBERNETES environment declaring a non-`FULL` profile is
|
|
149
|
+
* refused, because its manifests would ignore it.
|
|
150
|
+
*/
|
|
151
|
+
serviceProfile: z.enum(EnvironmentServiceProfile).optional(),
|
|
149
152
|
/**
|
|
150
153
|
* The store the PLATFORM's own data lives in (apps-manager + module-registry:
|
|
151
154
|
* users, organizations, applications, sessions, API keys).
|
|
@@ -378,6 +381,14 @@ const WILDO_INFRA_ENV_CONFIG_SHAPE = {
|
|
|
378
381
|
* per deployment. See {@link WildoInfraEmailConfigSchema}.
|
|
379
382
|
*/
|
|
380
383
|
email: WildoInfraEmailConfigSchema.optional(),
|
|
384
|
+
/**
|
|
385
|
+
* What THIS environment does with the agents' classifier-backed content guardrails (`contentGuardrails.promptInjection`,
|
|
386
|
+
* `.outputModeration`) where no `AI_CONTENT_SAFETY` classifier offers them. Absent means REFUSE: such an agent refuses
|
|
387
|
+
* every turn. `{ withoutClassifier: RUN_UNGUARDED, reason }` runs it unscreened and unmoderated, named at startup and, outside a
|
|
388
|
+
* local environment, listed by `wildo context launch-blockers`. Projected to `WILDO_AGENT_CONTENT_GUARDRAILS` by
|
|
389
|
+
* `env-vars-builder`. See {@link EnvironmentAgentContentGuardrailsSchema}.
|
|
390
|
+
*/
|
|
391
|
+
agentContentGuardrails: EnvironmentAgentContentGuardrailsSchema.optional(),
|
|
381
392
|
/**
|
|
382
393
|
* LOCAL-ONLY: the double that answers domain-ownership challenges for names nobody can publish (#2519). See
|
|
383
394
|
* {@link WildoOwnershipDnsStandInConfigSchema}.
|
|
@@ -391,8 +402,9 @@ const WILDO_INFRA_ENV_CONFIG_SHAPE = {
|
|
|
391
402
|
* per environment is what lets `wildo config sync` carry them, instead of an operator
|
|
392
403
|
* remembering three env vars on a build command.
|
|
393
404
|
*
|
|
394
|
-
*
|
|
395
|
-
* `WILDO_DOCS_FRONTEND_SERVICE_NAME`
|
|
405
|
+
* Passed as `WILDO_DOCS_API_BASE_URL` / `WILDO_DOCS_APP_URL` /
|
|
406
|
+
* `WILDO_DOCS_FRONTEND_SERVICE_NAME` to the documentation image's build and to the CI workflow, read from the
|
|
407
|
+
* loaded descriptor; no runtime environment carries them (#2310).
|
|
396
408
|
* See {@link WildoDocumentationSiteConfigSchema}.
|
|
397
409
|
*/
|
|
398
410
|
documentationSite: WildoDocumentationSiteConfigSchema.optional(),
|
|
@@ -428,8 +440,7 @@ const WILDO_INFRA_ENV_CONFIG_SHAPE = {
|
|
|
428
440
|
*
|
|
429
441
|
* 1. Platform default (per-`AppFrontendType` baseline) — `csp-defaults.ts`.
|
|
430
442
|
* 2. App-static (per-frontend `csp?` block) — authored on each
|
|
431
|
-
* service-definition (today: `wildo.tech-doc.config.ts.csp?`
|
|
432
|
-
* `saas-technical-doc.md` Step 7.5).
|
|
443
|
+
* service-definition (today: `wildo.tech-doc.config.ts.csp?`).
|
|
433
444
|
* 3. **THIS FIELD** — env-specific overrides authored under
|
|
434
445
|
* `wildo.infra.<env>.config.ts.csp?[serviceKey]`. The
|
|
435
446
|
* `resolveCspPolicy({ envOverride, environmentId })` resolver
|
|
@@ -543,6 +554,39 @@ const WILDO_INFRA_ENV_CONFIG_SHAPE = {
|
|
|
543
554
|
infraConfigPath: z.string().regex(ABSOLUTE_PATH_PATTERN, 'infrastructureHost.infraConfigPath must be absolute once resolved.'),
|
|
544
555
|
}).optional(),
|
|
545
556
|
};
|
|
557
|
+
/**
|
|
558
|
+
* #2303 — the database families an environment that OWNS its platform runs, each with the declarations that bring it
|
|
559
|
+
* in, derived from what the descriptor declares rather than asked: the platform's engine (authored, or inferred from
|
|
560
|
+
* the declared stores), the application's (`resolveApplicationDatabaseEngine`, absent means PostgreSQL), and every
|
|
561
|
+
* declared database store.
|
|
562
|
+
*
|
|
563
|
+
* The inferred platform engine needs no copy of the CLI's inference (`inferDatabaseChoiceFromInfraConfig`): it always
|
|
564
|
+
* names a DECLARED store when one is declared, so it can add no family the declared stores do not already add. Only
|
|
565
|
+
* when NO store is declared does it bring one in on its own, MongoDB, as an implicit self-hosted mongod.
|
|
566
|
+
*/
|
|
567
|
+
function databaseFamiliesRunByEnvironment(config) {
|
|
568
|
+
const families = new Map();
|
|
569
|
+
const add = (engine, why) => {
|
|
570
|
+
families.set(engine, [...(families.get(engine) ?? []), why]);
|
|
571
|
+
};
|
|
572
|
+
const declaredStores = [
|
|
573
|
+
[BackingServiceKind.MONGODB, DatabaseEngine.MONGODB],
|
|
574
|
+
[BackingServiceKind.POSTGRESQL, DatabaseEngine.POSTGRESQL],
|
|
575
|
+
];
|
|
576
|
+
let anyStoreDeclared = false;
|
|
577
|
+
for (const [kind, engine] of declaredStores) {
|
|
578
|
+
if (config.backingServices[kind] !== undefined) {
|
|
579
|
+
anyStoreDeclared = true;
|
|
580
|
+
add(engine, `backingServices.${kind}`);
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
if (config.database)
|
|
584
|
+
add(config.database.engine, 'database.engine');
|
|
585
|
+
else if (!anyStoreDeclared)
|
|
586
|
+
add(DatabaseEngine.MONGODB, 'the platform store inferred when no database store is declared');
|
|
587
|
+
add(resolveApplicationDatabaseEngine(config.applicationDatabase), config.applicationDatabase ? 'applicationDatabase.engine' : 'the application\'s default engine (applicationDatabase absent)');
|
|
588
|
+
return families;
|
|
589
|
+
}
|
|
546
590
|
const WildoInfraEnvConfigInputSchema = z.object(WILDO_INFRA_ENV_CONFIG_SHAPE).strict().superRefine((config, ctx) => {
|
|
547
591
|
const resolvedEnvironment = config.environment;
|
|
548
592
|
const resolvedLocationType = config.locationType
|
|
@@ -725,6 +769,42 @@ const WildoInfraEnvConfigInputSchema = z.object(WILDO_INFRA_ENV_CONFIG_SHAPE).st
|
|
|
725
769
|
+ 'application beside it and uses the fixed platform bucket. Author it only in wildo.infra.remote.config.ts.',
|
|
726
770
|
});
|
|
727
771
|
}
|
|
772
|
+
/*
|
|
773
|
+
* #2303 — a service profile and a declaration that contradict it. `backingServices.clamav` / `.immudb`
|
|
774
|
+
* with `source: SELF` asks the environment to RUN a service the profile says it does not run; neither
|
|
775
|
+
* can win silently, so the descriptor is refused here, while it is open. The compose generator refuses
|
|
776
|
+
* the same pair again (an invariant enforced at one site is enforced at none of the others).
|
|
777
|
+
*/
|
|
778
|
+
if (config.serviceProfile !== undefined) {
|
|
779
|
+
// #2303 — both lanes render a profile now (the Kubernetes manifests since the second slice), so a KUBERNETES
|
|
780
|
+
// environment may declare one; its refusal was the stand-in for a lane that ignored the declaration.
|
|
781
|
+
const databaseFamilies = databaseFamiliesRunByEnvironment(config);
|
|
782
|
+
if (environmentServiceProfileRunsOneDatabaseFamily(config.serviceProfile) && config.infrastructureHost === undefined && databaseFamilies.size > 1) {
|
|
783
|
+
ctx.addIssue({
|
|
784
|
+
code: 'custom',
|
|
785
|
+
path: ['serviceProfile'],
|
|
786
|
+
message: `serviceProfile '${config.serviceProfile}' runs ONE database family, and this environment runs `
|
|
787
|
+
+ `${[...databaseFamilies.entries()].map(([engine, why]) => `${engine} (${why.join(', ')})`).join(' and ')}. `
|
|
788
|
+
+ 'Put the platform and the application on the same engine (`database.engine` and `applicationDatabase.engine`) '
|
|
789
|
+
+ `and declare only that store in \`backingServices\`, or set serviceProfile to '${EnvironmentServiceProfile.FULL}'.`,
|
|
790
|
+
});
|
|
791
|
+
}
|
|
792
|
+
for (const [kind, service] of [
|
|
793
|
+
[BackingServiceKind.CLAMAV, EnvironmentServiceProfileOptionalService.ANTIVIRUS_SCANNER],
|
|
794
|
+
[BackingServiceKind.IMMUDB, EnvironmentServiceProfileOptionalService.IMMUTABLE_AUDIT_STORE],
|
|
795
|
+
]) {
|
|
796
|
+
if (config.backingServices[kind]?.source === BackingServiceSource.SELF
|
|
797
|
+
&& environmentServiceProfileOmits(config.serviceProfile, service)) {
|
|
798
|
+
ctx.addIssue({
|
|
799
|
+
code: 'custom',
|
|
800
|
+
path: ['backingServices', kind],
|
|
801
|
+
message: `${describeServiceOmittedByEnvironmentServiceProfile(config.serviceProfile, service)} `
|
|
802
|
+
+ `\`backingServices.${kind}: { source: SELF }\` asks it to run one. Remove the declaration, or set `
|
|
803
|
+
+ `serviceProfile to '${EnvironmentServiceProfile.FULL}'.`,
|
|
804
|
+
});
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
}
|
|
728
808
|
if (config.cdn && resolvedLocationType !== WildoLocationType.REMOTE) {
|
|
729
809
|
for (const serviceKey of Object.keys(config.cdn)) {
|
|
730
810
|
ctx.addIssue({
|
|
@@ -742,7 +822,6 @@ export const WildoInfraEnvConfigSchema = WildoInfraEnvConfigInputSchema.transfor
|
|
|
742
822
|
const locationType = config.locationType
|
|
743
823
|
?? (isLocalEnvironmentId(environment) ? WildoLocationType.LOCAL : WildoLocationType.REMOTE);
|
|
744
824
|
return {
|
|
745
|
-
version: config.version,
|
|
746
825
|
environment,
|
|
747
826
|
locationType,
|
|
748
827
|
runtimeEnvironment: config.runtimeEnvironment,
|
|
@@ -752,6 +831,8 @@ export const WildoInfraEnvConfigSchema = WildoInfraEnvConfigInputSchema.transfor
|
|
|
752
831
|
* reader sees one answer. The derivation is total over `WildoLocationType`.
|
|
753
832
|
*/
|
|
754
833
|
localDataStorage: config.localDataStorage ?? resolveDefaultLocalDataStorage(locationType),
|
|
834
|
+
/** Resolved here, like `localDataStorage`, so every reader sees the settled answer (#2303). */
|
|
835
|
+
serviceProfile: config.serviceProfile ?? DEFAULT_ENVIRONMENT_SERVICE_PROFILE,
|
|
755
836
|
/**
|
|
756
837
|
* Projected EXPLICITLY, like every field here — this list IS the contract, and a field omitted
|
|
757
838
|
* from it is silently dropped no matter what the input schema accepted. `undefined` when the
|
|
@@ -771,6 +852,7 @@ export const WildoInfraEnvConfigSchema = WildoInfraEnvConfigInputSchema.transfor
|
|
|
771
852
|
providerSelection: config.providerSelection,
|
|
772
853
|
providerConfigurations: config.providerConfigurations,
|
|
773
854
|
email: config.email,
|
|
855
|
+
agentContentGuardrails: config.agentContentGuardrails,
|
|
774
856
|
ownershipDnsStandIn: config.ownershipDnsStandIn,
|
|
775
857
|
applicationCreationVerification: config.applicationCreationVerification,
|
|
776
858
|
serviceAuth: config.serviceAuth,
|
|
@@ -830,7 +912,6 @@ export var InfraEnvFieldOwner;
|
|
|
830
912
|
* schema accepts exactly the APPLICATION and PARTITIONED members.
|
|
831
913
|
*/
|
|
832
914
|
export const INFRA_ENV_FIELD_OWNERSHIP = {
|
|
833
|
-
version: InfraEnvFieldOwner.APPLICATION,
|
|
834
915
|
environment: InfraEnvFieldOwner.APPLICATION,
|
|
835
916
|
locationType: InfraEnvFieldOwner.HOST,
|
|
836
917
|
runtimeEnvironment: InfraEnvFieldOwner.HOST,
|
|
@@ -844,6 +925,12 @@ export const INFRA_ENV_FIELD_OWNERSHIP = {
|
|
|
844
925
|
* describing a file it does not own.
|
|
845
926
|
*/
|
|
846
927
|
localDataStorage: InfraEnvFieldOwner.HOST,
|
|
928
|
+
/*
|
|
929
|
+
* HOST, for the same reason as `localDataStorage`: it decides which containers the SHARED platform runs.
|
|
930
|
+
* A hosted application cannot ask for an immudb its host does not run, and the profile reaches it from
|
|
931
|
+
* the host so its boot refuses a capability the shared platform does not back (#2303).
|
|
932
|
+
*/
|
|
933
|
+
serviceProfile: InfraEnvFieldOwner.HOST,
|
|
847
934
|
database: InfraEnvFieldOwner.HOST,
|
|
848
935
|
applicationDatabase: InfraEnvFieldOwner.APPLICATION,
|
|
849
936
|
publicDomain: InfraEnvFieldOwner.APPLICATION,
|
|
@@ -867,6 +954,11 @@ export const INFRA_ENV_FIELD_OWNERSHIP = {
|
|
|
867
954
|
* another tenant's organizations.
|
|
868
955
|
*/
|
|
869
956
|
email: InfraEnvFieldOwner.APPLICATION,
|
|
957
|
+
/*
|
|
958
|
+
* APPLICATION. Whether THIS application's agents run unguarded where no classifier offers a guardrail is a decision about its
|
|
959
|
+
* own agents; an application hosted on another's platform does not inherit its host's.
|
|
960
|
+
*/
|
|
961
|
+
agentContentGuardrails: InfraEnvFieldOwner.APPLICATION,
|
|
870
962
|
/*
|
|
871
963
|
* APPLICATION. The stand-in answers for the domains THIS application's tenants prove they own on a developer machine —
|
|
872
964
|
* the double standing in for their corporate IT. A hosted application inheriting its host's would verify its tenants'
|
|
@@ -995,7 +1087,6 @@ export const WildoHostedInfraEnvConfigSchema = z.strictObject({
|
|
|
995
1087
|
*/
|
|
996
1088
|
applicationRoot: z.string().min(1).refine((value) => !ABSOLUTE_PATH_PATTERN.test(value), 'infrastructureHost.applicationRoot must be relative to this application root (e.g. "../wonder-todos"): the descriptor is committed, and an absolute path only exists on one machine.'),
|
|
997
1089
|
}, refuseHostOwnedKeys('infrastructureHost')),
|
|
998
|
-
version: WILDO_INFRA_ENV_CONFIG_SHAPE.version,
|
|
999
1090
|
environment: WILDO_INFRA_ENV_CONFIG_SHAPE.environment,
|
|
1000
1091
|
applicationDatabase: WILDO_INFRA_ENV_CONFIG_SHAPE.applicationDatabase,
|
|
1001
1092
|
publicDomain: WILDO_INFRA_ENV_CONFIG_SHAPE.publicDomain,
|
|
@@ -1014,6 +1105,7 @@ export const WildoHostedInfraEnvConfigSchema = z.strictObject({
|
|
|
1014
1105
|
providerSelection: WILDO_INFRA_ENV_CONFIG_SHAPE.providerSelection,
|
|
1015
1106
|
providerConfigurations: WILDO_INFRA_ENV_CONFIG_SHAPE.providerConfigurations,
|
|
1016
1107
|
email: WILDO_INFRA_ENV_CONFIG_SHAPE.email,
|
|
1108
|
+
agentContentGuardrails: WILDO_INFRA_ENV_CONFIG_SHAPE.agentContentGuardrails,
|
|
1017
1109
|
ownershipDnsStandIn: WILDO_INFRA_ENV_CONFIG_SHAPE.ownershipDnsStandIn,
|
|
1018
1110
|
systemsOfRecord: WILDO_INFRA_ENV_CONFIG_SHAPE.systemsOfRecord,
|
|
1019
1111
|
documentationSite: WILDO_INFRA_ENV_CONFIG_SHAPE.documentationSite,
|
|
@@ -1046,11 +1138,6 @@ export function isHostedInfraEnvConfig(config) {
|
|
|
1046
1138
|
*
|
|
1047
1139
|
* This is the canonical authored env contract for the flattened targeted-app
|
|
1048
1140
|
* layout.
|
|
1049
|
-
*
|
|
1050
|
-
* After successful parsing, emits Slice 3.5 `@unimplemented` warnings for
|
|
1051
|
-
* authored fields that remain reserved — see `_unimplemented/unimplemented-field-warning.ts`
|
|
1052
|
-
* for the design rationale (channel = stderr, dedupe = once-per-call,
|
|
1053
|
-
* format = single-line with backlog ID).
|
|
1054
1141
|
*/
|
|
1055
1142
|
export function defineInfraEnvConfig(config) {
|
|
1056
1143
|
/*
|
|
@@ -1064,9 +1151,7 @@ export function defineInfraEnvConfig(config) {
|
|
|
1064
1151
|
+ 'An application running on another application\'s infrastructure is declared with defineHostedInfraEnvConfig({ '
|
|
1065
1152
|
+ 'infrastructureHost: { applicationRoot: \'../<host-app>\' }, … }).');
|
|
1066
1153
|
}
|
|
1067
|
-
|
|
1068
|
-
emitInfraUnimplementedRuntimeWarnings(parsed);
|
|
1069
|
-
return parsed;
|
|
1154
|
+
return WildoInfraEnvConfigSchema.parse(config);
|
|
1070
1155
|
}
|
|
1071
1156
|
/**
|
|
1072
1157
|
* Define an environment descriptor for an application that runs on ANOTHER application's infrastructure.
|
|
@@ -1081,38 +1166,6 @@ export function defineInfraEnvConfig(config) {
|
|
|
1081
1166
|
* The result is NOT an environment yet: `loadInfraEnvConfig` resolves it against the host.
|
|
1082
1167
|
*/
|
|
1083
1168
|
export function defineHostedInfraEnvConfig(config) {
|
|
1084
|
-
|
|
1085
|
-
emitInfraUnimplementedRuntimeWarnings(parsed);
|
|
1086
|
-
return parsed;
|
|
1087
|
-
}
|
|
1088
|
-
/**
|
|
1089
|
-
* Emit `@unimplemented` parse-time warnings for every authored `WildoInfraEnvConfig` field that remains
|
|
1090
|
-
* reserved (Slice 3.5 contract — see `_unimplemented/unimplemented-field-warning.ts`).
|
|
1091
|
-
*
|
|
1092
|
-
* One field today: `version` (!== undefined) → `D-5`.
|
|
1093
|
-
*
|
|
1094
|
-
* `csp.<serviceKey>` is NOT in this list (#2047). It has a runtime consumer, `wildo dev sync-csp`, which merges each
|
|
1095
|
-
* entry into its service's generated policy and refuses a key that names no frontend service. The warning used to stay
|
|
1096
|
-
* on and be SUPPRESSED by the one loader that consumed it, so every other command loading the same file (`wildo docs
|
|
1097
|
-
* publish`, for one) printed "no runtime consumer" for every authored key. Whether a field is consumed is a property of
|
|
1098
|
-
* the schema, not of which command ran first.
|
|
1099
|
-
*
|
|
1100
|
-
* `logging.{level, formattedConsoleErrors}` is intentionally NOT in this list: Slice 3.5 wires both fields end-to-end
|
|
1101
|
-
* (persistence, `env-vars-builder` → `LOG_LEVEL` / `LOG_FORMATTED_CONSOLE_ERRORS`, `LoggerService.loadConfiguration`),
|
|
1102
|
-
* so they have a real runtime consumer and silence is the honest behavior.
|
|
1103
|
-
*
|
|
1104
|
-
* `domain` is intentionally NOT in this list either: Slice 3.5 deleted the field outright as a wrong-seam, and the
|
|
1105
|
-
* `external-public-domain-rename.md` follow-up renamed the canonical hostname seam to top-level `publicDomain`
|
|
1106
|
-
* (replacing the misnamed `kubernetes.baseDomain`). Both `domain` and `kubernetes.baseDomain` are strict-rejected by
|
|
1107
|
-
* the schema — see the strict-pin tests in `__tests__/define-infra-env-config.unimplemented.test.ts`.
|
|
1108
|
-
*
|
|
1109
|
-
* When the deferred backlog item lands, the matching `if` branch below MUST be removed in the same commit as the
|
|
1110
|
-
* runtime wiring — leaving a stale warning is worse than silence.
|
|
1111
|
-
*/
|
|
1112
|
-
function emitInfraUnimplementedRuntimeWarnings(config) {
|
|
1113
|
-
const warn = createUnimplementedFieldWarner(UnimplementedFieldSource.INFRA_ENV_CONFIG);
|
|
1114
|
-
if (config.version !== undefined) {
|
|
1115
|
-
warn('version', 'D-5');
|
|
1116
|
-
}
|
|
1169
|
+
return WildoHostedInfraEnvConfigSchema.parse(config);
|
|
1117
1170
|
}
|
|
1118
1171
|
//# sourceMappingURL=define-infra-env-config.js.map
|