@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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildo-ai/platform-config-lib",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.13",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"description": "Project configuration schemas, defineConfig helpers, and shared bootstrap contracts for the Wildo.ai platform",
|
|
6
6
|
"author": "Wildo AI",
|
|
@@ -34,29 +34,29 @@
|
|
|
34
34
|
"test:watch": "vitest"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@wildo-ai/external-connectors-models": "1.1.
|
|
38
|
-
"@wildo-ai/external-connectors-private": "1.1.
|
|
39
|
-
"@wildo-ai/external-connectors-public": "1.1.
|
|
40
|
-
"@wildo-ai/platform-core-shared": "1.1.
|
|
41
|
-
"@wildo-ai/saas-models": "1.1.
|
|
42
|
-
"@wildo-ai/zod-decorators": "1.1.
|
|
37
|
+
"@wildo-ai/external-connectors-models": "1.1.13",
|
|
38
|
+
"@wildo-ai/external-connectors-private": "1.1.13",
|
|
39
|
+
"@wildo-ai/external-connectors-public": "1.1.13",
|
|
40
|
+
"@wildo-ai/platform-core-shared": "1.1.13",
|
|
41
|
+
"@wildo-ai/saas-models": "1.1.13",
|
|
42
|
+
"@wildo-ai/zod-decorators": "1.1.13",
|
|
43
43
|
"jiti": "^2.6.1",
|
|
44
|
-
"proper-lockfile": "
|
|
44
|
+
"proper-lockfile": "4.1.2",
|
|
45
45
|
"write-file-atomic": "^5.0.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@swc/core": "^1",
|
|
48
|
+
"@swc/core": "^1.15.13",
|
|
49
49
|
"@types/node": "^24.0.15",
|
|
50
50
|
"@types/proper-lockfile": "^4.1.4",
|
|
51
51
|
"@types/write-file-atomic": "^4.0.3",
|
|
52
|
-
"rimraf": "^6.
|
|
52
|
+
"rimraf": "^6.1.4",
|
|
53
53
|
"tsc-alias": "1.8.16",
|
|
54
54
|
"tsc-watch": "7.2.1",
|
|
55
55
|
"typescript": "5.9.3",
|
|
56
|
-
"vitest": "^1.
|
|
56
|
+
"vitest": "^4.1.12"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"zod": "^4.
|
|
59
|
+
"zod": "^4.6.6"
|
|
60
60
|
},
|
|
61
61
|
"repository": {
|
|
62
62
|
"type": "git",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/_unimplemented/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/_unimplemented/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,aAAa,CAAC","sourcesContent":["export * from './unimplemented-field-warning';\nexport * from './soft-warn';\n"]}
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview `@unimplemented` runtime-contract warning utility
|
|
3
|
-
* (Slice 3.4 + Slice 3.5 infra extension).
|
|
4
|
-
*
|
|
5
|
-
* Some authored fields on `WildoSaasConfigSchema` and
|
|
6
|
-
* `WildoInfraEnvConfigInputSchema` are intentionally exposed in the
|
|
7
|
-
* authoring surface today but have **no runtime consumer yet**: they
|
|
8
|
-
* are "scaffolded for the next slice". Examples (full list in
|
|
9
|
-
* `.cursor/plans/post-flattening-completion-fixes.md` Slices 3.4-3.5 +
|
|
10
|
-
* the deferred-backlog table):
|
|
11
|
-
*
|
|
12
|
-
* - `WildoSaasConfig.version`, `WildoInfraEnvConfig.version` → backlog `D-5`
|
|
13
|
-
*
|
|
14
|
-
* (`WildoSaasConfig.{minions, workers}` → backlog `D-1` was retired
|
|
15
|
-
* 2026-05-05 with the close of D-1; the runtime path now ships
|
|
16
|
-
* end-to-end — see `.claude/plans/minions-and-workers-implementation.md`
|
|
17
|
-
* Phase 4. The per-entry `resourceAccess` soft-warn channel under
|
|
18
|
-
* `minions.<key>` survives because it is an authoring-contract
|
|
19
|
-
* advisory, not a "runtime missing" marker.)
|
|
20
|
-
*
|
|
21
|
-
* The framework-mindset rule of thumb (per `.cursor/rules/design-philosophy.mdc`)
|
|
22
|
-
* is that **every authored field must carry its semantic weight**. Silently
|
|
23
|
-
* stripping or silently ignoring authored values is the kind of "trick" that
|
|
24
|
-
* compounds into long-term debt — an app developer who writes a still-deferred
|
|
25
|
-
* field should NOT discover six months later that the flag never wired
|
|
26
|
-
* anything up.
|
|
27
|
-
*
|
|
28
|
-
* The honest middle-ground until the deferred slices land is:
|
|
29
|
-
*
|
|
30
|
-
* 1. Keep the field in the schema so authored configs stay forward-compatible
|
|
31
|
-
* when the runtime support DOES arrive (no breaking re-author).
|
|
32
|
-
* 2. **Loudly warn at parse time** that the field is parsed but currently
|
|
33
|
-
* has no runtime consumer, with a pointer to the tracking backlog ID.
|
|
34
|
-
* 3. Document the same set in `cli-dx.md` so a reader can audit the gap
|
|
35
|
-
* without grepping the codebase.
|
|
36
|
-
*
|
|
37
|
-
* Design choices made for this utility:
|
|
38
|
-
*
|
|
39
|
-
* - **Channel = `process.stderr`** (decided 2026-04-13). Writing directly to
|
|
40
|
-
* the FD keeps the utility usable from every context the schema runs in
|
|
41
|
-
* today — CLI commands, the dev watcher, backend bootstrap, and tests —
|
|
42
|
-
* without coupling to the CLI logger or to `console.warn` (the latter
|
|
43
|
-
* would be hijacked by the dev watcher's pretty-printer and the warning
|
|
44
|
-
* would lose its raw form). Tests stub via `vi.spyOn(process.stderr, 'write')`.
|
|
45
|
-
* - **Dedupe = "once per parse call"** (decided 2026-04-13). The utility is
|
|
46
|
-
* stateless — no module-level `Set` caching emitted warnings — and the
|
|
47
|
-
* *caller* (`defineSaasConfig`) owns a fresh `Set<string>` per parse so
|
|
48
|
-
* that authoring the same field twice in one config still warns once,
|
|
49
|
-
* but the dev watcher re-parsing on every save still re-emits the full
|
|
50
|
-
* set so authors see them on every save instead of "warning fatigue =
|
|
51
|
-
* silent after the first save". Process-wide dedupe was rejected because
|
|
52
|
-
* a long-lived dev watcher would emit each warning exactly once at boot
|
|
53
|
-
* and never again, defeating the purpose for someone who joins later.
|
|
54
|
-
* - **Format = single-line with slice ID + plan reference** (decided
|
|
55
|
-
* 2026-04-13). One line per warning is grep-friendly, fits inside dev
|
|
56
|
-
* watcher log streams without breaking layout, and embedding `D-{n}`
|
|
57
|
-
* plus the plan filename gives the reader a one-jump path to the
|
|
58
|
-
* tracking entry. The longer "two-line block" alternative was rejected
|
|
59
|
-
* because the dev watcher's per-line log prefixes break the visual
|
|
60
|
-
* indentation, and the "minimal one-liner" alternative was rejected
|
|
61
|
-
* because it required the reader to look up `D-{n}` separately.
|
|
62
|
-
*
|
|
63
|
-
* NOT a replacement for schema validation:
|
|
64
|
-
* - This utility does NOT prevent the field from being authored.
|
|
65
|
-
* - It does NOT cast / coerce / mutate the parsed value.
|
|
66
|
-
* - It is a **runtime advisory**, surfaced AFTER `WildoSaasConfigSchema.parse()`
|
|
67
|
-
* succeeds, by the `defineSaasConfig` wrapper.
|
|
68
|
-
*
|
|
69
|
-
* When the deferred backlog item lands and the runtime consumer ships, the
|
|
70
|
-
* corresponding `if (...) emitUnimplementedFieldWarning(...)` block in
|
|
71
|
-
* `defineSaasConfig.ts` MUST be removed in the same commit as the runtime
|
|
72
|
-
* wiring — leaving a stale warning is worse than silence because authors
|
|
73
|
-
* will start ignoring the channel.
|
|
74
|
-
*/
|
|
75
|
-
/**
|
|
76
|
-
* Source label embedded in the warning prefix so a reader can tell at a
|
|
77
|
-
* glance which authored config emitted the warning. Keep the literals
|
|
78
|
-
* stable — tests and operator runbooks may grep on these prefixes.
|
|
79
|
-
*/
|
|
80
|
-
export declare enum UnimplementedFieldSource {
|
|
81
|
-
SAAS_CONFIG = "wildo-saas-config",
|
|
82
|
-
INFRA_ENV_CONFIG = "wildo-infra-env-config"
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* Emit a single-line `@unimplemented` warning to `process.stderr`.
|
|
86
|
-
*
|
|
87
|
-
* @param source - Which authored config the field belongs to. Surfaces in
|
|
88
|
-
* the warning prefix (`[wildo-saas-config]` /
|
|
89
|
-
* `[wildo-infra-env-config]`) so the reader can match the
|
|
90
|
-
* warning back to the file they were editing without
|
|
91
|
-
* scrolling the call stack.
|
|
92
|
-
* @param fieldPath - Dotted path to the authored field, e.g.
|
|
93
|
-
* `'features.organizations'` or
|
|
94
|
-
* `'capabilities.AI_LLM.runtime'`. Used as the dedupe
|
|
95
|
-
* key by callers and surfaced verbatim in the warning
|
|
96
|
-
* text so authors can ctrl-F it in their config.
|
|
97
|
-
* @param followUpSliceId - Tracking ID in the deferred backlog
|
|
98
|
-
* (`D-1` / `D-2` / `D-3` / `D-5` today, plus
|
|
99
|
-
* auth-hardening's `B-2C`). Surfaced in the
|
|
100
|
-
* warning so readers can jump to the matching
|
|
101
|
-
* plan entry without grepping.
|
|
102
|
-
* @param followUpPlanPath - Plan file that owns the backlog ID. Defaults
|
|
103
|
-
* to `post-flattening-completion-fixes.md` so
|
|
104
|
-
* the existing D-series warnings keep their
|
|
105
|
-
* current breadcrumb, but callers can override
|
|
106
|
-
* it for backlog IDs owned by another plan.
|
|
107
|
-
*
|
|
108
|
-
* The warning is written synchronously; this is intentional so the line
|
|
109
|
-
* appears next to the offending parse in the dev watcher's interleaved
|
|
110
|
-
* log stream. Throwing here is intentionally not done — a bad warning
|
|
111
|
-
* must never block a parse, only inform.
|
|
112
|
-
*/
|
|
113
|
-
export declare function emitUnimplementedFieldWarning(source: UnimplementedFieldSource, fieldPath: string, followUpSliceId: string, followUpPlanPath?: string): void;
|
|
114
|
-
/**
|
|
115
|
-
* Convenience wrapper that owns a per-call dedupe `Set<string>` keyed by
|
|
116
|
-
* `fieldPath` alone (the `source` is bound by the closure, so embedding
|
|
117
|
-
* it in the dedupe key would be redundant — one warner instance is
|
|
118
|
-
* scoped to one source). Intended call shape:
|
|
119
|
-
*
|
|
120
|
-
* ```ts
|
|
121
|
-
* const warn = createUnimplementedFieldWarner(UnimplementedFieldSource.SAAS_CONFIG);
|
|
122
|
-
* warn('features.organizations', 'D-3');
|
|
123
|
-
* warn('features.organizations', 'D-3'); // second call is a no-op
|
|
124
|
-
* warn('example.field', 'X-1', 'docs/example-plan.md');
|
|
125
|
-
* ```
|
|
126
|
-
*
|
|
127
|
-
* The returned closure is local to the parse call (not stored on a
|
|
128
|
-
* module / singleton) so dev-watcher re-parses still re-emit the full set
|
|
129
|
-
* — see the "once per parse call" decision in the file-level JSDoc above.
|
|
130
|
-
*
|
|
131
|
-
* The source is captured by the closure so callers (one per
|
|
132
|
-
* `defineSaasConfig` / `defineInfraEnvConfig` invocation) only have to
|
|
133
|
-
* pass field paths, matching the existing call shape used in
|
|
134
|
-
* `defineSaasConfig.emitUnimplementedRuntimeWarnings`.
|
|
135
|
-
*/
|
|
136
|
-
export declare function createUnimplementedFieldWarner(source: UnimplementedFieldSource): (fieldPath: string, followUpSliceId: string, followUpPlanPath?: string) => void;
|
|
137
|
-
//# sourceMappingURL=unimplemented-field-warning.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unimplemented-field-warning.d.ts","sourceRoot":"","sources":["../../../../src/_unimplemented/unimplemented-field-warning.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyEG;AAEH;;;;GAIG;AACH,oBAAY,wBAAwB;IAClC,WAAW,sBAAsB;IACjC,gBAAgB,2BAA2B;CAC5C;AAID;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,6BAA6B,CAC3C,MAAM,EAAE,wBAAwB,EAChC,SAAS,EAAE,MAAM,EACjB,eAAe,EAAE,MAAM,EACvB,gBAAgB,GAAE,MAAwC,GACzD,IAAI,CAON;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,wBAAwB,GAC/B,CAAC,SAAS,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,gBAAgB,CAAC,EAAE,MAAM,KAAK,IAAI,CAOjF"}
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview `@unimplemented` runtime-contract warning utility
|
|
3
|
-
* (Slice 3.4 + Slice 3.5 infra extension).
|
|
4
|
-
*
|
|
5
|
-
* Some authored fields on `WildoSaasConfigSchema` and
|
|
6
|
-
* `WildoInfraEnvConfigInputSchema` are intentionally exposed in the
|
|
7
|
-
* authoring surface today but have **no runtime consumer yet**: they
|
|
8
|
-
* are "scaffolded for the next slice". Examples (full list in
|
|
9
|
-
* `.cursor/plans/post-flattening-completion-fixes.md` Slices 3.4-3.5 +
|
|
10
|
-
* the deferred-backlog table):
|
|
11
|
-
*
|
|
12
|
-
* - `WildoSaasConfig.version`, `WildoInfraEnvConfig.version` → backlog `D-5`
|
|
13
|
-
*
|
|
14
|
-
* (`WildoSaasConfig.{minions, workers}` → backlog `D-1` was retired
|
|
15
|
-
* 2026-05-05 with the close of D-1; the runtime path now ships
|
|
16
|
-
* end-to-end — see `.claude/plans/minions-and-workers-implementation.md`
|
|
17
|
-
* Phase 4. The per-entry `resourceAccess` soft-warn channel under
|
|
18
|
-
* `minions.<key>` survives because it is an authoring-contract
|
|
19
|
-
* advisory, not a "runtime missing" marker.)
|
|
20
|
-
*
|
|
21
|
-
* The framework-mindset rule of thumb (per `.cursor/rules/design-philosophy.mdc`)
|
|
22
|
-
* is that **every authored field must carry its semantic weight**. Silently
|
|
23
|
-
* stripping or silently ignoring authored values is the kind of "trick" that
|
|
24
|
-
* compounds into long-term debt — an app developer who writes a still-deferred
|
|
25
|
-
* field should NOT discover six months later that the flag never wired
|
|
26
|
-
* anything up.
|
|
27
|
-
*
|
|
28
|
-
* The honest middle-ground until the deferred slices land is:
|
|
29
|
-
*
|
|
30
|
-
* 1. Keep the field in the schema so authored configs stay forward-compatible
|
|
31
|
-
* when the runtime support DOES arrive (no breaking re-author).
|
|
32
|
-
* 2. **Loudly warn at parse time** that the field is parsed but currently
|
|
33
|
-
* has no runtime consumer, with a pointer to the tracking backlog ID.
|
|
34
|
-
* 3. Document the same set in `cli-dx.md` so a reader can audit the gap
|
|
35
|
-
* without grepping the codebase.
|
|
36
|
-
*
|
|
37
|
-
* Design choices made for this utility:
|
|
38
|
-
*
|
|
39
|
-
* - **Channel = `process.stderr`** (decided 2026-04-13). Writing directly to
|
|
40
|
-
* the FD keeps the utility usable from every context the schema runs in
|
|
41
|
-
* today — CLI commands, the dev watcher, backend bootstrap, and tests —
|
|
42
|
-
* without coupling to the CLI logger or to `console.warn` (the latter
|
|
43
|
-
* would be hijacked by the dev watcher's pretty-printer and the warning
|
|
44
|
-
* would lose its raw form). Tests stub via `vi.spyOn(process.stderr, 'write')`.
|
|
45
|
-
* - **Dedupe = "once per parse call"** (decided 2026-04-13). The utility is
|
|
46
|
-
* stateless — no module-level `Set` caching emitted warnings — and the
|
|
47
|
-
* *caller* (`defineSaasConfig`) owns a fresh `Set<string>` per parse so
|
|
48
|
-
* that authoring the same field twice in one config still warns once,
|
|
49
|
-
* but the dev watcher re-parsing on every save still re-emits the full
|
|
50
|
-
* set so authors see them on every save instead of "warning fatigue =
|
|
51
|
-
* silent after the first save". Process-wide dedupe was rejected because
|
|
52
|
-
* a long-lived dev watcher would emit each warning exactly once at boot
|
|
53
|
-
* and never again, defeating the purpose for someone who joins later.
|
|
54
|
-
* - **Format = single-line with slice ID + plan reference** (decided
|
|
55
|
-
* 2026-04-13). One line per warning is grep-friendly, fits inside dev
|
|
56
|
-
* watcher log streams without breaking layout, and embedding `D-{n}`
|
|
57
|
-
* plus the plan filename gives the reader a one-jump path to the
|
|
58
|
-
* tracking entry. The longer "two-line block" alternative was rejected
|
|
59
|
-
* because the dev watcher's per-line log prefixes break the visual
|
|
60
|
-
* indentation, and the "minimal one-liner" alternative was rejected
|
|
61
|
-
* because it required the reader to look up `D-{n}` separately.
|
|
62
|
-
*
|
|
63
|
-
* NOT a replacement for schema validation:
|
|
64
|
-
* - This utility does NOT prevent the field from being authored.
|
|
65
|
-
* - It does NOT cast / coerce / mutate the parsed value.
|
|
66
|
-
* - It is a **runtime advisory**, surfaced AFTER `WildoSaasConfigSchema.parse()`
|
|
67
|
-
* succeeds, by the `defineSaasConfig` wrapper.
|
|
68
|
-
*
|
|
69
|
-
* When the deferred backlog item lands and the runtime consumer ships, the
|
|
70
|
-
* corresponding `if (...) emitUnimplementedFieldWarning(...)` block in
|
|
71
|
-
* `defineSaasConfig.ts` MUST be removed in the same commit as the runtime
|
|
72
|
-
* wiring — leaving a stale warning is worse than silence because authors
|
|
73
|
-
* will start ignoring the channel.
|
|
74
|
-
*/
|
|
75
|
-
/**
|
|
76
|
-
* Source label embedded in the warning prefix so a reader can tell at a
|
|
77
|
-
* glance which authored config emitted the warning. Keep the literals
|
|
78
|
-
* stable — tests and operator runbooks may grep on these prefixes.
|
|
79
|
-
*/
|
|
80
|
-
export var UnimplementedFieldSource;
|
|
81
|
-
(function (UnimplementedFieldSource) {
|
|
82
|
-
UnimplementedFieldSource["SAAS_CONFIG"] = "wildo-saas-config";
|
|
83
|
-
UnimplementedFieldSource["INFRA_ENV_CONFIG"] = "wildo-infra-env-config";
|
|
84
|
-
})(UnimplementedFieldSource || (UnimplementedFieldSource = {}));
|
|
85
|
-
const DEFAULT_UNIMPLEMENTED_PLAN_PATH = '.cursor/plans/post-flattening-completion-fixes.md';
|
|
86
|
-
/**
|
|
87
|
-
* Emit a single-line `@unimplemented` warning to `process.stderr`.
|
|
88
|
-
*
|
|
89
|
-
* @param source - Which authored config the field belongs to. Surfaces in
|
|
90
|
-
* the warning prefix (`[wildo-saas-config]` /
|
|
91
|
-
* `[wildo-infra-env-config]`) so the reader can match the
|
|
92
|
-
* warning back to the file they were editing without
|
|
93
|
-
* scrolling the call stack.
|
|
94
|
-
* @param fieldPath - Dotted path to the authored field, e.g.
|
|
95
|
-
* `'features.organizations'` or
|
|
96
|
-
* `'capabilities.AI_LLM.runtime'`. Used as the dedupe
|
|
97
|
-
* key by callers and surfaced verbatim in the warning
|
|
98
|
-
* text so authors can ctrl-F it in their config.
|
|
99
|
-
* @param followUpSliceId - Tracking ID in the deferred backlog
|
|
100
|
-
* (`D-1` / `D-2` / `D-3` / `D-5` today, plus
|
|
101
|
-
* auth-hardening's `B-2C`). Surfaced in the
|
|
102
|
-
* warning so readers can jump to the matching
|
|
103
|
-
* plan entry without grepping.
|
|
104
|
-
* @param followUpPlanPath - Plan file that owns the backlog ID. Defaults
|
|
105
|
-
* to `post-flattening-completion-fixes.md` so
|
|
106
|
-
* the existing D-series warnings keep their
|
|
107
|
-
* current breadcrumb, but callers can override
|
|
108
|
-
* it for backlog IDs owned by another plan.
|
|
109
|
-
*
|
|
110
|
-
* The warning is written synchronously; this is intentional so the line
|
|
111
|
-
* appears next to the offending parse in the dev watcher's interleaved
|
|
112
|
-
* log stream. Throwing here is intentionally not done — a bad warning
|
|
113
|
-
* must never block a parse, only inform.
|
|
114
|
-
*/
|
|
115
|
-
export function emitUnimplementedFieldWarning(source, fieldPath, followUpSliceId, followUpPlanPath = DEFAULT_UNIMPLEMENTED_PLAN_PATH) {
|
|
116
|
-
const message = `[${source}] @unimplemented field '${fieldPath}' authored — ` +
|
|
117
|
-
`runtime support tracked under ${followUpSliceId} ` +
|
|
118
|
-
`(${followUpPlanPath}). ` +
|
|
119
|
-
`The field is parsed but currently has no runtime consumer.\n`;
|
|
120
|
-
process.stderr.write(message);
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* Convenience wrapper that owns a per-call dedupe `Set<string>` keyed by
|
|
124
|
-
* `fieldPath` alone (the `source` is bound by the closure, so embedding
|
|
125
|
-
* it in the dedupe key would be redundant — one warner instance is
|
|
126
|
-
* scoped to one source). Intended call shape:
|
|
127
|
-
*
|
|
128
|
-
* ```ts
|
|
129
|
-
* const warn = createUnimplementedFieldWarner(UnimplementedFieldSource.SAAS_CONFIG);
|
|
130
|
-
* warn('features.organizations', 'D-3');
|
|
131
|
-
* warn('features.organizations', 'D-3'); // second call is a no-op
|
|
132
|
-
* warn('example.field', 'X-1', 'docs/example-plan.md');
|
|
133
|
-
* ```
|
|
134
|
-
*
|
|
135
|
-
* The returned closure is local to the parse call (not stored on a
|
|
136
|
-
* module / singleton) so dev-watcher re-parses still re-emit the full set
|
|
137
|
-
* — see the "once per parse call" decision in the file-level JSDoc above.
|
|
138
|
-
*
|
|
139
|
-
* The source is captured by the closure so callers (one per
|
|
140
|
-
* `defineSaasConfig` / `defineInfraEnvConfig` invocation) only have to
|
|
141
|
-
* pass field paths, matching the existing call shape used in
|
|
142
|
-
* `defineSaasConfig.emitUnimplementedRuntimeWarnings`.
|
|
143
|
-
*/
|
|
144
|
-
export function createUnimplementedFieldWarner(source) {
|
|
145
|
-
const emitted = new Set();
|
|
146
|
-
return (fieldPath, followUpSliceId, followUpPlanPath) => {
|
|
147
|
-
if (emitted.has(fieldPath))
|
|
148
|
-
return;
|
|
149
|
-
emitted.add(fieldPath);
|
|
150
|
-
emitUnimplementedFieldWarning(source, fieldPath, followUpSliceId, followUpPlanPath);
|
|
151
|
-
};
|
|
152
|
-
}
|
|
153
|
-
//# sourceMappingURL=unimplemented-field-warning.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unimplemented-field-warning.js","sourceRoot":"","sources":["../../../../src/_unimplemented/unimplemented-field-warning.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyEG;AAEH;;;;GAIG;AACH,MAAM,CAAN,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAClC,6DAAiC,CAAA;IACjC,uEAA2C,CAAA;AAC7C,CAAC,EAHW,wBAAwB,KAAxB,wBAAwB,QAGnC;AAED,MAAM,+BAA+B,GAAG,mDAAmD,CAAC;AAE5F;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAM,UAAU,6BAA6B,CAC3C,MAAgC,EAChC,SAAiB,EACjB,eAAuB,EACvB,mBAA2B,+BAA+B;IAE1D,MAAM,OAAO,GACX,IAAI,MAAM,2BAA2B,SAAS,eAAe;QAC7D,iCAAiC,eAAe,GAAG;QACnD,IAAI,gBAAgB,KAAK;QACzB,8DAA8D,CAAC;IACjE,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;AAChC,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,UAAU,8BAA8B,CAC5C,MAAgC;IAEhC,MAAM,OAAO,GAAG,IAAI,GAAG,EAAU,CAAC;IAClC,OAAO,CAAC,SAAS,EAAE,eAAe,EAAE,gBAAgB,EAAE,EAAE;QACtD,IAAI,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC;YAAE,OAAO;QACnC,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QACvB,6BAA6B,CAAC,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,gBAAgB,CAAC,CAAC;IACtF,CAAC,CAAC;AACJ,CAAC","sourcesContent":["/**\n * @fileoverview `@unimplemented` runtime-contract warning utility\n * (Slice 3.4 + Slice 3.5 infra extension).\n *\n * Some authored fields on `WildoSaasConfigSchema` and\n * `WildoInfraEnvConfigInputSchema` are intentionally exposed in the\n * authoring surface today but have **no runtime consumer yet**: they\n * are \"scaffolded for the next slice\". Examples (full list in\n * `.cursor/plans/post-flattening-completion-fixes.md` Slices 3.4-3.5 +\n * the deferred-backlog table):\n *\n * - `WildoSaasConfig.version`, `WildoInfraEnvConfig.version` → backlog `D-5`\n *\n * (`WildoSaasConfig.{minions, workers}` → backlog `D-1` was retired\n * 2026-05-05 with the close of D-1; the runtime path now ships\n * end-to-end — see `.claude/plans/minions-and-workers-implementation.md`\n * Phase 4. The per-entry `resourceAccess` soft-warn channel under\n * `minions.<key>` survives because it is an authoring-contract\n * advisory, not a \"runtime missing\" marker.)\n *\n * The framework-mindset rule of thumb (per `.cursor/rules/design-philosophy.mdc`)\n * is that **every authored field must carry its semantic weight**. Silently\n * stripping or silently ignoring authored values is the kind of \"trick\" that\n * compounds into long-term debt — an app developer who writes a still-deferred\n * field should NOT discover six months later that the flag never wired\n * anything up.\n *\n * The honest middle-ground until the deferred slices land is:\n *\n * 1. Keep the field in the schema so authored configs stay forward-compatible\n * when the runtime support DOES arrive (no breaking re-author).\n * 2. **Loudly warn at parse time** that the field is parsed but currently\n * has no runtime consumer, with a pointer to the tracking backlog ID.\n * 3. Document the same set in `cli-dx.md` so a reader can audit the gap\n * without grepping the codebase.\n *\n * Design choices made for this utility:\n *\n * - **Channel = `process.stderr`** (decided 2026-04-13). Writing directly to\n * the FD keeps the utility usable from every context the schema runs in\n * today — CLI commands, the dev watcher, backend bootstrap, and tests —\n * without coupling to the CLI logger or to `console.warn` (the latter\n * would be hijacked by the dev watcher's pretty-printer and the warning\n * would lose its raw form). Tests stub via `vi.spyOn(process.stderr, 'write')`.\n * - **Dedupe = \"once per parse call\"** (decided 2026-04-13). The utility is\n * stateless — no module-level `Set` caching emitted warnings — and the\n * *caller* (`defineSaasConfig`) owns a fresh `Set<string>` per parse so\n * that authoring the same field twice in one config still warns once,\n * but the dev watcher re-parsing on every save still re-emits the full\n * set so authors see them on every save instead of \"warning fatigue =\n * silent after the first save\". Process-wide dedupe was rejected because\n * a long-lived dev watcher would emit each warning exactly once at boot\n * and never again, defeating the purpose for someone who joins later.\n * - **Format = single-line with slice ID + plan reference** (decided\n * 2026-04-13). One line per warning is grep-friendly, fits inside dev\n * watcher log streams without breaking layout, and embedding `D-{n}`\n * plus the plan filename gives the reader a one-jump path to the\n * tracking entry. The longer \"two-line block\" alternative was rejected\n * because the dev watcher's per-line log prefixes break the visual\n * indentation, and the \"minimal one-liner\" alternative was rejected\n * because it required the reader to look up `D-{n}` separately.\n *\n * NOT a replacement for schema validation:\n * - This utility does NOT prevent the field from being authored.\n * - It does NOT cast / coerce / mutate the parsed value.\n * - It is a **runtime advisory**, surfaced AFTER `WildoSaasConfigSchema.parse()`\n * succeeds, by the `defineSaasConfig` wrapper.\n *\n * When the deferred backlog item lands and the runtime consumer ships, the\n * corresponding `if (...) emitUnimplementedFieldWarning(...)` block in\n * `defineSaasConfig.ts` MUST be removed in the same commit as the runtime\n * wiring — leaving a stale warning is worse than silence because authors\n * will start ignoring the channel.\n */\n\n/**\n * Source label embedded in the warning prefix so a reader can tell at a\n * glance which authored config emitted the warning. Keep the literals\n * stable — tests and operator runbooks may grep on these prefixes.\n */\nexport enum UnimplementedFieldSource {\n SAAS_CONFIG = 'wildo-saas-config',\n INFRA_ENV_CONFIG = 'wildo-infra-env-config',\n}\n\nconst DEFAULT_UNIMPLEMENTED_PLAN_PATH = '.cursor/plans/post-flattening-completion-fixes.md';\n\n/**\n * Emit a single-line `@unimplemented` warning to `process.stderr`.\n *\n * @param source - Which authored config the field belongs to. Surfaces in\n * the warning prefix (`[wildo-saas-config]` /\n * `[wildo-infra-env-config]`) so the reader can match the\n * warning back to the file they were editing without\n * scrolling the call stack.\n * @param fieldPath - Dotted path to the authored field, e.g.\n * `'features.organizations'` or\n * `'capabilities.AI_LLM.runtime'`. Used as the dedupe\n * key by callers and surfaced verbatim in the warning\n * text so authors can ctrl-F it in their config.\n * @param followUpSliceId - Tracking ID in the deferred backlog\n * (`D-1` / `D-2` / `D-3` / `D-5` today, plus\n * auth-hardening's `B-2C`). Surfaced in the\n * warning so readers can jump to the matching\n * plan entry without grepping.\n * @param followUpPlanPath - Plan file that owns the backlog ID. Defaults\n * to `post-flattening-completion-fixes.md` so\n * the existing D-series warnings keep their\n * current breadcrumb, but callers can override\n * it for backlog IDs owned by another plan.\n *\n * The warning is written synchronously; this is intentional so the line\n * appears next to the offending parse in the dev watcher's interleaved\n * log stream. Throwing here is intentionally not done — a bad warning\n * must never block a parse, only inform.\n */\nexport function emitUnimplementedFieldWarning(\n source: UnimplementedFieldSource,\n fieldPath: string,\n followUpSliceId: string,\n followUpPlanPath: string = DEFAULT_UNIMPLEMENTED_PLAN_PATH,\n): void {\n const message =\n `[${source}] @unimplemented field '${fieldPath}' authored — ` +\n `runtime support tracked under ${followUpSliceId} ` +\n `(${followUpPlanPath}). ` +\n `The field is parsed but currently has no runtime consumer.\\n`;\n process.stderr.write(message);\n}\n\n/**\n * Convenience wrapper that owns a per-call dedupe `Set<string>` keyed by\n * `fieldPath` alone (the `source` is bound by the closure, so embedding\n * it in the dedupe key would be redundant — one warner instance is\n * scoped to one source). Intended call shape:\n *\n * ```ts\n * const warn = createUnimplementedFieldWarner(UnimplementedFieldSource.SAAS_CONFIG);\n * warn('features.organizations', 'D-3');\n * warn('features.organizations', 'D-3'); // second call is a no-op\n * warn('example.field', 'X-1', 'docs/example-plan.md');\n * ```\n *\n * The returned closure is local to the parse call (not stored on a\n * module / singleton) so dev-watcher re-parses still re-emit the full set\n * — see the \"once per parse call\" decision in the file-level JSDoc above.\n *\n * The source is captured by the closure so callers (one per\n * `defineSaasConfig` / `defineInfraEnvConfig` invocation) only have to\n * pass field paths, matching the existing call shape used in\n * `defineSaasConfig.emitUnimplementedRuntimeWarnings`.\n */\nexport function createUnimplementedFieldWarner(\n source: UnimplementedFieldSource,\n): (fieldPath: string, followUpSliceId: string, followUpPlanPath?: string) => void {\n const emitted = new Set<string>();\n return (fieldPath, followUpSliceId, followUpPlanPath) => {\n if (emitted.has(fieldPath)) return;\n emitted.add(fieldPath);\n emitUnimplementedFieldWarning(source, fieldPath, followUpSliceId, followUpPlanPath);\n };\n}\n"]}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type WildoCdnConfigInput } from './cdn.schemas';
|
|
2
|
-
/**
|
|
3
|
-
* Illustrative `cdn` authoring samples (Tier B) — anchored for the
|
|
4
|
-
* `frontend-cdn-publish` skill. Typed against `WildoCdnConfigInput` so the
|
|
5
|
-
* examples cannot drift from the real schema. Not runtime code; they exist to
|
|
6
|
-
* be extracted into the compiled app-knowledge.
|
|
7
|
-
*/
|
|
8
|
-
/** @wildo_source:part:start example.infra.cdn.cloudflare facet:kind:usage-example facet:audience:app-developer */
|
|
9
|
-
export declare const exampleCloudflareCdnConfig: Record<string, WildoCdnConfigInput>;
|
|
10
|
-
/** @wildo_source:part:end example.infra.cdn.cloudflare */
|
|
11
|
-
/** @wildo_source:part:start example.infra.cdn.generic facet:kind:usage-example facet:audience:app-developer */
|
|
12
|
-
export declare const exampleGenericCdnConfig: Record<string, WildoCdnConfigInput>;
|
|
13
|
-
/** @wildo_source:part:end example.infra.cdn.generic */
|
|
14
|
-
//# sourceMappingURL=cdn.example.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cdn.example.d.ts","sourceRoot":"","sources":["../../../../../src/project-config/shared/cdn.example.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpE;;;;;GAKG;AAEH,kHAAkH;AAIlH,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAY1E,CAAC;AACF,0DAA0D;AAE1D,+GAA+G;AAK/G,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAKvE,CAAC;AACF,uDAAuD"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { CdnVendor } from './cdn.schemas.js';
|
|
2
|
-
/**
|
|
3
|
-
* Illustrative `cdn` authoring samples (Tier B) — anchored for the
|
|
4
|
-
* `frontend-cdn-publish` skill. Typed against `WildoCdnConfigInput` so the
|
|
5
|
-
* examples cannot drift from the real schema. Not runtime code; they exist to
|
|
6
|
-
* be extracted into the compiled app-knowledge.
|
|
7
|
-
*/
|
|
8
|
-
/** @wildo_source:part:start example.infra.cdn.cloudflare facet:kind:usage-example facet:audience:app-developer */
|
|
9
|
-
// In a REMOTE env's wildo.infra.<env>.config.ts (e.g. production), under the
|
|
10
|
-
// top-level `cdn` key. Cloudflare = the live adapter: `wildo frontend publish`
|
|
11
|
-
// uploads the dist to S3 AND installs the CSP edge ruleset on the zone.
|
|
12
|
-
export const exampleCloudflareCdnConfig = {
|
|
13
|
-
// Serve the marketing website from a CDN instead of its nginx pod.
|
|
14
|
-
website: {
|
|
15
|
-
enabled: true,
|
|
16
|
-
bucket: 'yourapp-web-prod', // public-read S3 bucket — the operator sets the policy
|
|
17
|
-
vendor: {
|
|
18
|
-
kind: CdnVendor.CLOUDFLARE,
|
|
19
|
-
zoneId: 'REPLACE_WITH_CLOUDFLARE_ZONE_ID',
|
|
20
|
-
// env-var NAME holding the API token (Zone→Rulesets→Edit), NEVER the token value
|
|
21
|
-
apiTokenEnvVar: 'CLOUDFLARE_API_TOKEN',
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
};
|
|
25
|
-
/** @wildo_source:part:end example.infra.cdn.cloudflare */
|
|
26
|
-
/** @wildo_source:part:start example.infra.cdn.generic facet:kind:usage-example facet:audience:app-developer */
|
|
27
|
-
// GENERIC vendor — no live vendor call. `wildo frontend publish` uploads the
|
|
28
|
-
// dist + writes a portable `_headers` CSP file; the operator points their own
|
|
29
|
-
// CDN (Cloudflare Pages / Netlify / Vercel / a hand-wired distribution) at the
|
|
30
|
-
// bucket. Use when the edge is managed out-of-band.
|
|
31
|
-
export const exampleGenericCdnConfig = {
|
|
32
|
-
docs: {
|
|
33
|
-
enabled: true,
|
|
34
|
-
vendor: { kind: CdnVendor.GENERIC },
|
|
35
|
-
},
|
|
36
|
-
};
|
|
37
|
-
/** @wildo_source:part:end example.infra.cdn.generic */
|
|
38
|
-
//# sourceMappingURL=cdn.example.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cdn.example.js","sourceRoot":"","sources":["../../../../../src/project-config/shared/cdn.example.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAA4B,MAAM,eAAe,CAAC;AAEpE;;;;;GAKG;AAEH,kHAAkH;AAClH,6EAA6E;AAC7E,+EAA+E;AAC/E,wEAAwE;AACxE,MAAM,CAAC,MAAM,0BAA0B,GAAwC;IAC7E,mEAAmE;IACnE,OAAO,EAAE;QACP,OAAO,EAAE,IAAI;QACb,MAAM,EAAE,kBAAkB,EAAE,uDAAuD;QACnF,MAAM,EAAE;YACN,IAAI,EAAE,SAAS,CAAC,UAAU;YAC1B,MAAM,EAAE,iCAAiC;YACzC,iFAAiF;YACjF,cAAc,EAAE,sBAAsB;SACvC;KACF;CACF,CAAC;AACF,0DAA0D;AAE1D,+GAA+G;AAC/G,6EAA6E;AAC7E,8EAA8E;AAC9E,+EAA+E;AAC/E,oDAAoD;AACpD,MAAM,CAAC,MAAM,uBAAuB,GAAwC;IAC1E,IAAI,EAAE;QACJ,OAAO,EAAE,IAAI;QACb,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,OAAO,EAAE;KACpC;CACF,CAAC;AACF,uDAAuD","sourcesContent":["import { CdnVendor, type WildoCdnConfigInput } from './cdn.schemas';\n\n/**\n * Illustrative `cdn` authoring samples (Tier B) — anchored for the\n * `frontend-cdn-publish` skill. Typed against `WildoCdnConfigInput` so the\n * examples cannot drift from the real schema. Not runtime code; they exist to\n * be extracted into the compiled app-knowledge.\n */\n\n/** @wildo_source:part:start example.infra.cdn.cloudflare facet:kind:usage-example facet:audience:app-developer */\n// In a REMOTE env's wildo.infra.<env>.config.ts (e.g. production), under the\n// top-level `cdn` key. Cloudflare = the live adapter: `wildo frontend publish`\n// uploads the dist to S3 AND installs the CSP edge ruleset on the zone.\nexport const exampleCloudflareCdnConfig: Record<string, WildoCdnConfigInput> = {\n // Serve the marketing website from a CDN instead of its nginx pod.\n website: {\n enabled: true,\n bucket: 'yourapp-web-prod', // public-read S3 bucket — the operator sets the policy\n vendor: {\n kind: CdnVendor.CLOUDFLARE,\n zoneId: 'REPLACE_WITH_CLOUDFLARE_ZONE_ID',\n // env-var NAME holding the API token (Zone→Rulesets→Edit), NEVER the token value\n apiTokenEnvVar: 'CLOUDFLARE_API_TOKEN',\n },\n },\n};\n/** @wildo_source:part:end example.infra.cdn.cloudflare */\n\n/** @wildo_source:part:start example.infra.cdn.generic facet:kind:usage-example facet:audience:app-developer */\n// GENERIC vendor — no live vendor call. `wildo frontend publish` uploads the\n// dist + writes a portable `_headers` CSP file; the operator points their own\n// CDN (Cloudflare Pages / Netlify / Vercel / a hand-wired distribution) at the\n// bucket. Use when the edge is managed out-of-band.\nexport const exampleGenericCdnConfig: Record<string, WildoCdnConfigInput> = {\n docs: {\n enabled: true,\n vendor: { kind: CdnVendor.GENERIC },\n },\n};\n/** @wildo_source:part:end example.infra.cdn.generic */\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
/**
|
|
3
|
-
* Semver-string schema for the `version` field on
|
|
4
|
-
* `WildoSaasConfigSchema` and `WildoInfraEnvConfigInputSchema`.
|
|
5
|
-
*
|
|
6
|
-
* Always `.optional()` at the call site — see the `@unimplemented` D-5
|
|
7
|
-
* JSDoc on each schema field for the warner contract (silence when
|
|
8
|
-
* unauthored, loud warn when explicit).
|
|
9
|
-
*
|
|
10
|
-
* The error message names the format and shows a canonical example so
|
|
11
|
-
* authors who hit it can fix their config without grepping for the
|
|
12
|
-
* regex source.
|
|
13
|
-
*/
|
|
14
|
-
export declare const WildoSchemaVersionSchema: z.ZodString;
|
|
15
|
-
//# sourceMappingURL=schema-version.schemas.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schema-version.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/project-config/shared/schema-version.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA4BxB;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,wBAAwB,aAGpC,CAAC"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
/**
|
|
3
|
-
* Canonical SemVer 2.0.0 regex from https://semver.org (the "official"
|
|
4
|
-
* suggested regex; identical to the snippet published in the
|
|
5
|
-
* `Is there a suggested regular expression (RegEx) to check a SemVer string?`
|
|
6
|
-
* FAQ entry).
|
|
7
|
-
*
|
|
8
|
-
* Captures `MAJOR.MINOR.PATCH` plus optional `-prerelease` and
|
|
9
|
-
* `+buildmetadata` segments. Used as the strict shape for the
|
|
10
|
-
* `WildoSaasConfig.version` and `WildoInfraEnvConfig.version` fields
|
|
11
|
-
* (Slice 3.5; backlog **D-5** for the migration tooling that will
|
|
12
|
-
* actually consume the value).
|
|
13
|
-
*
|
|
14
|
-
* Strictness rationale:
|
|
15
|
-
* - We could accept `'1'` or `'1.0'` to be lenient, but the field is
|
|
16
|
-
* a forward-compatibility reservation — when the migration tooling
|
|
17
|
-
* ships under D-5 it MUST be able to compare two versions
|
|
18
|
-
* deterministically. Accepting partial semver shapes today would
|
|
19
|
-
* create migration ambiguity later (`'1'` vs `'1.0.0'` — same? newer?
|
|
20
|
-
* older?). Strict from day one keeps the contract honest.
|
|
21
|
-
* - Pre-release / build-metadata are accepted because they are part of
|
|
22
|
-
* the SemVer 2.0.0 spec; if migration tooling ever needs to reject
|
|
23
|
-
* them it can layer a stricter check on top without re-shaping the
|
|
24
|
-
* schema.
|
|
25
|
-
*/
|
|
26
|
-
const SEMVER_PATTERN = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;
|
|
27
|
-
/**
|
|
28
|
-
* Semver-string schema for the `version` field on
|
|
29
|
-
* `WildoSaasConfigSchema` and `WildoInfraEnvConfigInputSchema`.
|
|
30
|
-
*
|
|
31
|
-
* Always `.optional()` at the call site — see the `@unimplemented` D-5
|
|
32
|
-
* JSDoc on each schema field for the warner contract (silence when
|
|
33
|
-
* unauthored, loud warn when explicit).
|
|
34
|
-
*
|
|
35
|
-
* The error message names the format and shows a canonical example so
|
|
36
|
-
* authors who hit it can fix their config without grepping for the
|
|
37
|
-
* regex source.
|
|
38
|
-
*/
|
|
39
|
-
export const WildoSchemaVersionSchema = z.string().regex(SEMVER_PATTERN, 'must be a SemVer 2.0.0 string (e.g. "1.0.0", "2.3.1-rc.1", "1.0.0+build.42")');
|
|
40
|
-
//# sourceMappingURL=schema-version.schemas.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schema-version.schemas.js","sourceRoot":"","sources":["../../../../../src/project-config/shared/schema-version.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,cAAc,GAAG,qLAAqL,CAAC;AAE7M;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CACtD,cAAc,EACd,8EAA8E,CAC/E,CAAC","sourcesContent":["import { z } from 'zod';\n\n/**\n * Canonical SemVer 2.0.0 regex from https://semver.org (the \"official\"\n * suggested regex; identical to the snippet published in the\n * `Is there a suggested regular expression (RegEx) to check a SemVer string?`\n * FAQ entry).\n *\n * Captures `MAJOR.MINOR.PATCH` plus optional `-prerelease` and\n * `+buildmetadata` segments. Used as the strict shape for the\n * `WildoSaasConfig.version` and `WildoInfraEnvConfig.version` fields\n * (Slice 3.5; backlog **D-5** for the migration tooling that will\n * actually consume the value).\n *\n * Strictness rationale:\n * - We could accept `'1'` or `'1.0'` to be lenient, but the field is\n * a forward-compatibility reservation — when the migration tooling\n * ships under D-5 it MUST be able to compare two versions\n * deterministically. Accepting partial semver shapes today would\n * create migration ambiguity later (`'1'` vs `'1.0.0'` — same? newer?\n * older?). Strict from day one keeps the contract honest.\n * - Pre-release / build-metadata are accepted because they are part of\n * the SemVer 2.0.0 spec; if migration tooling ever needs to reject\n * them it can layer a stricter check on top without re-shaping the\n * schema.\n */\nconst SEMVER_PATTERN = /^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$/;\n\n/**\n * Semver-string schema for the `version` field on\n * `WildoSaasConfigSchema` and `WildoInfraEnvConfigInputSchema`.\n *\n * Always `.optional()` at the call site — see the `@unimplemented` D-5\n * JSDoc on each schema field for the warner contract (silence when\n * unauthored, loud warn when explicit).\n *\n * The error message names the format and shows a canonical example so\n * authors who hit it can fix their config without grepping for the\n * regex source.\n */\nexport const WildoSchemaVersionSchema = z.string().regex(\n SEMVER_PATTERN,\n 'must be a SemVer 2.0.0 string (e.g. \"1.0.0\", \"2.3.1-rc.1\", \"1.0.0+build.42\")',\n);\n"]}
|