@wildo-ai/platform-config-lib 1.0.1 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +34 -0
- package/dist/esm/.builder.pid +9 -0
- package/dist/esm/_unimplemented/index.d.ts +3 -0
- package/dist/esm/_unimplemented/index.d.ts.map +1 -0
- package/dist/esm/_unimplemented/index.js +3 -0
- package/dist/esm/_unimplemented/index.js.map +1 -0
- package/dist/esm/_unimplemented/soft-warn.d.ts +124 -0
- package/dist/esm/_unimplemented/soft-warn.d.ts.map +1 -0
- package/dist/esm/_unimplemented/soft-warn.js +170 -0
- package/dist/esm/_unimplemented/soft-warn.js.map +1 -0
- package/dist/esm/_unimplemented/unimplemented-field-warning.d.ts +137 -0
- package/dist/esm/_unimplemented/unimplemented-field-warning.d.ts.map +1 -0
- package/dist/esm/_unimplemented/unimplemented-field-warning.js +153 -0
- package/dist/esm/_unimplemented/unimplemented-field-warning.js.map +1 -0
- package/dist/esm/bootstrap/application-backend-env.contracts.d.ts.map +1 -1
- package/dist/esm/bootstrap/application-backend-env.contracts.js +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 +13 -0
- package/dist/esm/bootstrap/application-creation-verification-env.contracts.d.ts.map +1 -0
- package/dist/esm/bootstrap/application-creation-verification-env.contracts.js +14 -0
- package/dist/esm/bootstrap/application-creation-verification-env.contracts.js.map +1 -0
- package/dist/esm/bootstrap/bootstrap-planner.d.ts +1 -1
- package/dist/esm/bootstrap/bootstrap-planner.d.ts.map +1 -1
- package/dist/esm/bootstrap/bootstrap-planner.js +1 -1
- package/dist/esm/bootstrap/bootstrap-planner.js.map +1 -1
- package/dist/esm/bootstrap/bootstrap.contracts.d.ts +141 -37
- package/dist/esm/bootstrap/bootstrap.contracts.d.ts.map +1 -1
- package/dist/esm/bootstrap/bootstrap.contracts.js +104 -18
- package/dist/esm/bootstrap/bootstrap.contracts.js.map +1 -1
- package/dist/esm/bootstrap/bootstrap.schemas.d.ts +430 -421
- package/dist/esm/bootstrap/bootstrap.schemas.d.ts.map +1 -1
- package/dist/esm/bootstrap/bootstrap.schemas.js +383 -21
- package/dist/esm/bootstrap/bootstrap.schemas.js.map +1 -1
- package/dist/esm/bootstrap/platform-runtime-env.contracts.d.ts +213 -8
- package/dist/esm/bootstrap/platform-runtime-env.contracts.d.ts.map +1 -1
- package/dist/esm/bootstrap/platform-runtime-env.contracts.js +230 -5
- package/dist/esm/bootstrap/platform-runtime-env.contracts.js.map +1 -1
- package/dist/esm/bootstrap/runtime-backing-service-access.d.ts +79 -0
- package/dist/esm/bootstrap/runtime-backing-service-access.d.ts.map +1 -0
- package/dist/esm/bootstrap/runtime-backing-service-access.js +83 -0
- package/dist/esm/bootstrap/runtime-backing-service-access.js.map +1 -0
- package/dist/esm/bootstrap/runtime-network-policy.d.ts +63 -0
- package/dist/esm/bootstrap/runtime-network-policy.d.ts.map +1 -0
- package/dist/esm/bootstrap/runtime-network-policy.js +104 -0
- package/dist/esm/bootstrap/runtime-network-policy.js.map +1 -0
- package/dist/esm/bootstrap/runtime-network-topology.d.ts +78 -0
- package/dist/esm/bootstrap/runtime-network-topology.d.ts.map +1 -0
- package/dist/esm/bootstrap/runtime-network-topology.js +134 -0
- package/dist/esm/bootstrap/runtime-network-topology.js.map +1 -0
- package/dist/esm/bootstrap/runtime-platform-access.d.ts +67 -0
- package/dist/esm/bootstrap/runtime-platform-access.d.ts.map +1 -0
- package/dist/esm/bootstrap/runtime-platform-access.js +57 -0
- package/dist/esm/bootstrap/runtime-platform-access.js.map +1 -0
- package/dist/esm/bootstrap/runtime-principal.contracts.d.ts +173 -0
- package/dist/esm/bootstrap/runtime-principal.contracts.d.ts.map +1 -0
- package/dist/esm/bootstrap/runtime-principal.contracts.js +218 -0
- package/dist/esm/bootstrap/runtime-principal.contracts.js.map +1 -0
- package/dist/esm/bootstrap/runtime-topology.contracts.d.ts +112 -1
- package/dist/esm/bootstrap/runtime-topology.contracts.d.ts.map +1 -1
- package/dist/esm/bootstrap/runtime-topology.contracts.js +141 -8
- package/dist/esm/bootstrap/runtime-topology.contracts.js.map +1 -1
- package/dist/esm/config-authoring.entry.d.ts +3 -0
- package/dist/esm/config-authoring.entry.d.ts.map +1 -0
- package/dist/esm/config-authoring.entry.js +5 -0
- package/dist/esm/config-authoring.entry.js.map +1 -0
- package/dist/esm/credentials/credential-generator.service.d.ts.map +1 -1
- package/dist/esm/credentials/credential-generator.service.js +1 -1
- package/dist/esm/credentials/credential-generator.service.js.map +1 -1
- package/dist/esm/index.d.ts +30 -15
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +16 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/lockfile/canonical-json.d.ts +41 -0
- package/dist/esm/lockfile/canonical-json.d.ts.map +1 -0
- package/dist/esm/lockfile/canonical-json.js +56 -0
- package/dist/esm/lockfile/canonical-json.js.map +1 -0
- package/dist/esm/lockfile/lockfile-io.d.ts +231 -0
- package/dist/esm/lockfile/lockfile-io.d.ts.map +1 -0
- package/dist/esm/lockfile/lockfile-io.js +303 -0
- package/dist/esm/lockfile/lockfile-io.js.map +1 -0
- package/dist/esm/lockfile/materialize-infra-section.d.ts +99 -0
- package/dist/esm/lockfile/materialize-infra-section.d.ts.map +1 -0
- package/dist/esm/lockfile/materialize-infra-section.js +153 -0
- package/dist/esm/lockfile/materialize-infra-section.js.map +1 -0
- package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.d.ts +522 -0
- package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.d.ts.map +1 -0
- package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.js +116 -0
- package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.js.map +1 -0
- package/dist/esm/project-config/define-framework-config.d.ts +36 -10
- package/dist/esm/project-config/define-framework-config.d.ts.map +1 -1
- package/dist/esm/project-config/define-framework-config.js +67 -3
- package/dist/esm/project-config/define-framework-config.js.map +1 -1
- package/dist/esm/project-config/define-infra-env-config.d.ts +570 -0
- package/dist/esm/project-config/define-infra-env-config.d.ts.map +1 -0
- package/dist/esm/project-config/define-infra-env-config.js +726 -0
- package/dist/esm/project-config/define-infra-env-config.js.map +1 -0
- package/dist/esm/project-config/define-minion-config.d.ts +221 -23
- package/dist/esm/project-config/define-minion-config.d.ts.map +1 -1
- package/dist/esm/project-config/define-minion-config.js +228 -11
- package/dist/esm/project-config/define-minion-config.js.map +1 -1
- package/dist/esm/project-config/define-saas-config.d.ts +427 -218
- package/dist/esm/project-config/define-saas-config.d.ts.map +1 -1
- package/dist/esm/project-config/define-saas-config.js +704 -75
- package/dist/esm/project-config/define-saas-config.js.map +1 -1
- package/dist/esm/project-config/define-worker-config.d.ts +106 -10
- package/dist/esm/project-config/define-worker-config.d.ts.map +1 -1
- package/dist/esm/project-config/define-worker-config.js +99 -9
- package/dist/esm/project-config/define-worker-config.js.map +1 -1
- package/dist/esm/project-config/index.d.ts +28 -21
- package/dist/esm/project-config/index.d.ts.map +1 -1
- package/dist/esm/project-config/index.js +14 -7
- package/dist/esm/project-config/index.js.map +1 -1
- package/dist/esm/project-config/loader.d.ts +120 -10
- package/dist/esm/project-config/loader.d.ts.map +1 -1
- package/dist/esm/project-config/loader.js +290 -38
- package/dist/esm/project-config/loader.js.map +1 -1
- package/dist/esm/project-config/minion-local-provider-registration.d.ts +69 -0
- package/dist/esm/project-config/minion-local-provider-registration.d.ts.map +1 -0
- package/dist/esm/project-config/minion-local-provider-registration.js +72 -0
- package/dist/esm/project-config/minion-local-provider-registration.js.map +1 -0
- package/dist/esm/project-config/provider-catalog-types.d.ts +12 -0
- package/dist/esm/project-config/provider-catalog-types.d.ts.map +1 -0
- package/dist/esm/project-config/provider-catalog-types.js +49 -0
- package/dist/esm/project-config/provider-catalog-types.js.map +1 -0
- package/dist/esm/project-config/provider-companion-discovery.d.ts +24 -0
- package/dist/esm/project-config/provider-companion-discovery.d.ts.map +1 -0
- package/dist/esm/project-config/provider-companion-discovery.js +244 -0
- package/dist/esm/project-config/provider-companion-discovery.js.map +1 -0
- package/dist/esm/project-config/provider-runtime-artifacts.d.ts +297 -0
- package/dist/esm/project-config/provider-runtime-artifacts.d.ts.map +1 -0
- package/dist/esm/project-config/provider-runtime-artifacts.js +860 -0
- package/dist/esm/project-config/provider-runtime-artifacts.js.map +1 -0
- package/dist/esm/project-config/shared/application-creation-verification.schemas.d.ts +18 -0
- package/dist/esm/project-config/shared/application-creation-verification.schemas.d.ts.map +1 -0
- package/dist/esm/project-config/shared/application-creation-verification.schemas.js +25 -0
- package/dist/esm/project-config/shared/application-creation-verification.schemas.js.map +1 -0
- package/dist/esm/project-config/shared/application-modules.schemas.d.ts +10 -2
- package/dist/esm/project-config/shared/application-modules.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/application-modules.schemas.js +12 -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 +2 -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 +6 -1
- package/dist/esm/project-config/shared/application-modules.utils.js.map +1 -1
- package/dist/esm/project-config/shared/auth.schemas.d.ts +102 -0
- package/dist/esm/project-config/shared/auth.schemas.d.ts.map +1 -0
- package/dist/esm/project-config/shared/auth.schemas.js +100 -0
- package/dist/esm/project-config/shared/auth.schemas.js.map +1 -0
- package/dist/esm/project-config/shared/backing-services.schemas.d.ts +316 -39
- package/dist/esm/project-config/shared/backing-services.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/backing-services.schemas.js +359 -24
- package/dist/esm/project-config/shared/backing-services.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/cdn.example.d.ts +14 -0
- package/dist/esm/project-config/shared/cdn.example.d.ts.map +1 -0
- package/dist/esm/project-config/shared/cdn.example.js +38 -0
- package/dist/esm/project-config/shared/cdn.example.js.map +1 -0
- package/dist/esm/project-config/shared/cdn.schemas.d.ts +182 -0
- package/dist/esm/project-config/shared/cdn.schemas.d.ts.map +1 -0
- package/dist/esm/project-config/shared/cdn.schemas.js +151 -0
- package/dist/esm/project-config/shared/cdn.schemas.js.map +1 -0
- package/dist/esm/project-config/shared/csp-defaults.d.ts +92 -0
- package/dist/esm/project-config/shared/csp-defaults.d.ts.map +1 -0
- package/dist/esm/project-config/shared/csp-defaults.js +195 -0
- package/dist/esm/project-config/shared/csp-defaults.js.map +1 -0
- package/dist/esm/project-config/shared/csp-emit.d.ts +106 -0
- package/dist/esm/project-config/shared/csp-emit.d.ts.map +1 -0
- package/dist/esm/project-config/shared/csp-emit.js +305 -0
- package/dist/esm/project-config/shared/csp-emit.js.map +1 -0
- package/dist/esm/project-config/shared/csp.schemas.d.ts +266 -0
- package/dist/esm/project-config/shared/csp.schemas.d.ts.map +1 -0
- package/dist/esm/project-config/shared/csp.schemas.js +281 -0
- package/dist/esm/project-config/shared/csp.schemas.js.map +1 -0
- package/dist/esm/project-config/shared/data-services.schemas.d.ts +45 -9
- package/dist/esm/project-config/shared/data-services.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/data-services.schemas.js +45 -9
- package/dist/esm/project-config/shared/data-services.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/env-example-defaults.d.ts +0 -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 +1 -2
- package/dist/esm/project-config/shared/env-example-defaults.js.map +1 -1
- package/dist/esm/project-config/shared/environment.schemas.d.ts +134 -8
- package/dist/esm/project-config/shared/environment.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/environment.schemas.js +185 -2
- package/dist/esm/project-config/shared/environment.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/infra-providers.schemas.d.ts +779 -0
- package/dist/esm/project-config/shared/infra-providers.schemas.d.ts.map +1 -0
- package/dist/esm/project-config/shared/infra-providers.schemas.js +210 -0
- package/dist/esm/project-config/shared/infra-providers.schemas.js.map +1 -0
- package/dist/esm/project-config/shared/infra-service.schemas.d.ts +18 -0
- package/dist/esm/project-config/shared/infra-service.schemas.d.ts.map +1 -0
- package/dist/esm/project-config/shared/infra-service.schemas.js +16 -0
- package/dist/esm/project-config/shared/infra-service.schemas.js.map +1 -0
- package/dist/esm/project-config/shared/infrastructure-defaults.schemas.d.ts +83 -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 +99 -2
- package/dist/esm/project-config/shared/infrastructure-defaults.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/k8s-utils.d.ts +51 -7
- package/dist/esm/project-config/shared/k8s-utils.d.ts.map +1 -1
- package/dist/esm/project-config/shared/k8s-utils.js +59 -12
- package/dist/esm/project-config/shared/k8s-utils.js.map +1 -1
- package/dist/esm/project-config/shared/minion-platform-access.vocabulary.d.ts +31 -0
- package/dist/esm/project-config/shared/minion-platform-access.vocabulary.d.ts.map +1 -0
- package/dist/esm/project-config/shared/minion-platform-access.vocabulary.js +32 -0
- package/dist/esm/project-config/shared/minion-platform-access.vocabulary.js.map +1 -0
- package/dist/esm/project-config/shared/minion-resource-access.validation.d.ts +142 -0
- package/dist/esm/project-config/shared/minion-resource-access.validation.d.ts.map +1 -0
- package/dist/esm/project-config/shared/minion-resource-access.validation.js +159 -0
- package/dist/esm/project-config/shared/minion-resource-access.validation.js.map +1 -0
- package/dist/esm/project-config/shared/object-storage-session-policy.d.ts +100 -0
- package/dist/esm/project-config/shared/object-storage-session-policy.d.ts.map +1 -0
- package/dist/esm/project-config/shared/object-storage-session-policy.js +130 -0
- package/dist/esm/project-config/shared/object-storage-session-policy.js.map +1 -0
- package/dist/esm/project-config/shared/platform-services.schemas.d.ts +9 -14
- package/dist/esm/project-config/shared/platform-services.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/platform-services.schemas.js +13 -9
- package/dist/esm/project-config/shared/platform-services.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/schema-version.schemas.d.ts +15 -0
- package/dist/esm/project-config/shared/schema-version.schemas.d.ts.map +1 -0
- package/dist/esm/project-config/shared/schema-version.schemas.js +40 -0
- package/dist/esm/project-config/shared/schema-version.schemas.js.map +1 -0
- package/dist/esm/project-config/shared/service-definitions.schemas.d.ts +283 -8
- package/dist/esm/project-config/shared/service-definitions.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/service-definitions.schemas.js +325 -8
- package/dist/esm/project-config/shared/service-definitions.schemas.js.map +1 -1
- package/dist/esm/registry/artifact-domain.schemas.d.ts +54 -0
- package/dist/esm/registry/artifact-domain.schemas.d.ts.map +1 -0
- package/dist/esm/registry/artifact-domain.schemas.js +40 -0
- package/dist/esm/registry/artifact-domain.schemas.js.map +1 -0
- package/dist/esm/registry/companion-api.schemas.d.ts +176 -0
- package/dist/esm/registry/companion-api.schemas.d.ts.map +1 -0
- package/dist/esm/registry/companion-api.schemas.js +165 -0
- package/dist/esm/registry/companion-api.schemas.js.map +1 -0
- package/dist/esm/registry/digest.schemas.d.ts +20 -0
- package/dist/esm/registry/digest.schemas.d.ts.map +1 -0
- package/dist/esm/registry/digest.schemas.js +21 -0
- package/dist/esm/registry/digest.schemas.js.map +1 -0
- package/dist/esm/registry/index.d.ts +33 -0
- package/dist/esm/registry/index.d.ts.map +1 -0
- package/dist/esm/registry/index.js +33 -0
- package/dist/esm/registry/index.js.map +1 -0
- package/dist/esm/registry/lockfile-modules-section.schemas.d.ts +107 -0
- package/dist/esm/registry/lockfile-modules-section.schemas.d.ts.map +1 -0
- package/dist/esm/registry/lockfile-modules-section.schemas.js +67 -0
- package/dist/esm/registry/lockfile-modules-section.schemas.js.map +1 -0
- package/dist/esm/registry/module-artifact.schemas.d.ts +94 -0
- package/dist/esm/registry/module-artifact.schemas.d.ts.map +1 -0
- package/dist/esm/registry/module-artifact.schemas.js +69 -0
- package/dist/esm/registry/module-artifact.schemas.js.map +1 -0
- package/dist/esm/registry/module-manifest.schemas.d.ts +134 -0
- package/dist/esm/registry/module-manifest.schemas.d.ts.map +1 -0
- package/dist/esm/registry/module-manifest.schemas.js +155 -0
- package/dist/esm/registry/module-manifest.schemas.js.map +1 -0
- package/dist/esm/registry/registry-config.schemas.d.ts +31 -0
- package/dist/esm/registry/registry-config.schemas.d.ts.map +1 -0
- package/dist/esm/registry/registry-config.schemas.js +24 -0
- package/dist/esm/registry/registry-config.schemas.js.map +1 -0
- package/dist/esm/registry/registry-defaults.constants.d.ts +37 -0
- package/dist/esm/registry/registry-defaults.constants.d.ts.map +1 -0
- package/dist/esm/registry/registry-defaults.constants.js +37 -0
- package/dist/esm/registry/registry-defaults.constants.js.map +1 -0
- package/dist/esm/registry/registry-errors.d.ts +109 -0
- package/dist/esm/registry/registry-errors.d.ts.map +1 -0
- package/dist/esm/registry/registry-errors.js +185 -0
- package/dist/esm/registry/registry-errors.js.map +1 -0
- package/dist/esm/registry/registry-section-schemas.constants.d.ts +39 -0
- package/dist/esm/registry/registry-section-schemas.constants.d.ts.map +1 -0
- package/dist/esm/registry/registry-section-schemas.constants.js +22 -0
- package/dist/esm/registry/registry-section-schemas.constants.js.map +1 -0
- package/dist/esm/release/framework-release.constants.d.ts +26 -1
- package/dist/esm/release/framework-release.constants.d.ts.map +1 -1
- package/dist/esm/release/framework-release.constants.js +27 -2
- package/dist/esm/release/framework-release.constants.js.map +1 -1
- package/dist/esm/schemas/framework-info.schemas.d.ts +1 -1
- package/dist/esm/schemas/framework-info.schemas.d.ts.map +1 -1
- package/dist/esm/schemas/framework-info.schemas.js +1 -1
- package/dist/esm/schemas/framework-info.schemas.js.map +1 -1
- package/dist/esm/schemas/framework-secrets.schemas.d.ts +5 -5
- package/dist/esm/schemas/framework-secrets.schemas.d.ts.map +1 -1
- package/dist/esm/schemas/framework-secrets.schemas.js +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 +11 -2
- package/dist/esm/schemas/platform-application-config.schemas.js.map +1 -1
- package/dist/esm/schemas/platform-application-secrets.schemas.d.ts +7 -7
- package/dist/esm/schemas/platform-application-secrets.schemas.d.ts.map +1 -1
- package/dist/esm/schemas/platform-application-secrets.schemas.js +17 -2
- package/dist/esm/schemas/platform-application-secrets.schemas.js.map +1 -1
- package/dist/esm/schemas/platform-config.schemas.d.ts +12 -13
- package/dist/esm/schemas/platform-config.schemas.d.ts.map +1 -1
- package/dist/esm/schemas/platform-config.schemas.js +15 -3
- package/dist/esm/schemas/platform-config.schemas.js.map +1 -1
- package/dist/esm/workspace-scope/application-subject-manifest.d.ts +26 -0
- package/dist/esm/workspace-scope/application-subject-manifest.d.ts.map +1 -0
- package/dist/esm/workspace-scope/application-subject-manifest.js +43 -0
- package/dist/esm/workspace-scope/application-subject-manifest.js.map +1 -0
- package/dist/esm/workspace-scope/index.d.ts +5 -2
- package/dist/esm/workspace-scope/index.d.ts.map +1 -1
- package/dist/esm/workspace-scope/index.js +4 -1
- package/dist/esm/workspace-scope/index.js.map +1 -1
- package/dist/esm/workspace-scope/resolve-homes.d.ts +20 -0
- package/dist/esm/workspace-scope/resolve-homes.d.ts.map +1 -0
- package/dist/esm/workspace-scope/resolve-homes.js +62 -0
- package/dist/esm/workspace-scope/resolve-homes.js.map +1 -0
- package/dist/esm/workspace-scope/workspace-homes.schemas.d.ts +211 -0
- package/dist/esm/workspace-scope/workspace-homes.schemas.d.ts.map +1 -0
- package/dist/esm/workspace-scope/workspace-homes.schemas.js +113 -0
- package/dist/esm/workspace-scope/workspace-homes.schemas.js.map +1 -0
- package/dist/esm/workspace-scope/workspace-scope-detector.d.ts +10 -5
- package/dist/esm/workspace-scope/workspace-scope-detector.d.ts.map +1 -1
- package/dist/esm/workspace-scope/workspace-scope-detector.js +22 -36
- package/dist/esm/workspace-scope/workspace-scope-detector.js.map +1 -1
- package/dist/esm/workspace-scope/workspace-scope.schemas.d.ts +147 -58
- package/dist/esm/workspace-scope/workspace-scope.schemas.d.ts.map +1 -1
- package/dist/esm/workspace-scope/workspace-scope.schemas.js +174 -78
- package/dist/esm/workspace-scope/workspace-scope.schemas.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +31 -17
- package/dist/esm/credentials/credentials-provisioner.service.d.ts +0 -190
- package/dist/esm/credentials/credentials-provisioner.service.d.ts.map +0 -1
- package/dist/esm/credentials/credentials-provisioner.service.js +0 -278
- package/dist/esm/credentials/credentials-provisioner.service.js.map +0 -1
- package/dist/esm/infra-managers/infra-manager.models.d.ts +0 -146
- package/dist/esm/infra-managers/infra-manager.models.d.ts.map +0 -1
- package/dist/esm/infra-managers/infra-manager.models.js +0 -2
- package/dist/esm/infra-managers/infra-manager.models.js.map +0 -1
- package/dist/esm/infra-managers/mongo-atlas-manager.service.d.ts +0 -64
- package/dist/esm/infra-managers/mongo-atlas-manager.service.d.ts.map +0 -1
- package/dist/esm/infra-managers/mongo-atlas-manager.service.js +0 -307
- package/dist/esm/infra-managers/mongo-atlas-manager.service.js.map +0 -1
- package/dist/esm/infra-managers/postgresql-manager.service.d.ts +0 -115
- package/dist/esm/infra-managers/postgresql-manager.service.d.ts.map +0 -1
- package/dist/esm/infra-managers/postgresql-manager.service.js +0 -403
- package/dist/esm/infra-managers/postgresql-manager.service.js.map +0 -1
- package/dist/esm/infra-managers/rabbitmq-manager.service.d.ts +0 -64
- package/dist/esm/infra-managers/rabbitmq-manager.service.d.ts.map +0 -1
- package/dist/esm/infra-managers/rabbitmq-manager.service.js +0 -288
- package/dist/esm/infra-managers/rabbitmq-manager.service.js.map +0 -1
- package/dist/esm/infra-managers/redis-manager.service.d.ts +0 -78
- package/dist/esm/infra-managers/redis-manager.service.d.ts.map +0 -1
- package/dist/esm/infra-managers/redis-manager.service.js +0 -326
- package/dist/esm/infra-managers/redis-manager.service.js.map +0 -1
- package/dist/esm/project-config/define-infra-config.d.ts +0 -128
- package/dist/esm/project-config/define-infra-config.d.ts.map +0 -1
- package/dist/esm/project-config/define-infra-config.js +0 -87
- package/dist/esm/project-config/define-infra-config.js.map +0 -1
- package/dist/esm/project-config/define-platform-config.d.ts +0 -65
- package/dist/esm/project-config/define-platform-config.d.ts.map +0 -1
- package/dist/esm/project-config/define-platform-config.js +0 -22
- package/dist/esm/project-config/define-platform-config.js.map +0 -1
- package/dist/esm/project-config/define-platform-env-config.d.ts +0 -41
- package/dist/esm/project-config/define-platform-env-config.d.ts.map +0 -1
- package/dist/esm/project-config/define-platform-env-config.js +0 -45
- package/dist/esm/project-config/define-platform-env-config.js.map +0 -1
- package/dist/esm/project-config/define-project-config.d.ts +0 -38
- package/dist/esm/project-config/define-project-config.d.ts.map +0 -1
- package/dist/esm/project-config/define-project-config.js +0 -57
- package/dist/esm/project-config/define-project-config.js.map +0 -1
- package/dist/esm/project-config/define-sharing-policy.d.ts +0 -35
- package/dist/esm/project-config/define-sharing-policy.d.ts.map +0 -1
- package/dist/esm/project-config/define-sharing-policy.js +0 -30
- package/dist/esm/project-config/define-sharing-policy.js.map +0 -1
- package/dist/esm/project-config/sharing-policy-validation.d.ts +0 -40
- package/dist/esm/project-config/sharing-policy-validation.d.ts.map +0 -1
- package/dist/esm/project-config/sharing-policy-validation.js +0 -143
- package/dist/esm/project-config/sharing-policy-validation.js.map +0 -1
- package/dist/esm/runtime-bridge/platform-runtime-bridge.contracts.d.ts +0 -23
- package/dist/esm/runtime-bridge/platform-runtime-bridge.contracts.d.ts.map +0 -1
- package/dist/esm/runtime-bridge/platform-runtime-bridge.contracts.js +0 -13
- package/dist/esm/runtime-bridge/platform-runtime-bridge.contracts.js.map +0 -1
- package/src/bootstrap/application-backend-env.contracts.ts +0 -17
- package/src/bootstrap/bootstrap-planner.ts +0 -46
- package/src/bootstrap/bootstrap.contracts.ts +0 -251
- package/src/bootstrap/bootstrap.schemas.ts +0 -164
- package/src/bootstrap/platform-runtime-env.contracts.ts +0 -99
- package/src/bootstrap/runtime-topology.contracts.ts +0 -102
- package/src/credentials/credential-generator.service.ts +0 -39
- package/src/index.ts +0 -16
- package/src/project-config/__tests__/application-modules.utils.test.ts +0 -53
- package/src/project-config/__tests__/define-framework-config.test.ts +0 -43
- package/src/project-config/__tests__/define-saas-config.test.ts +0 -210
- package/src/project-config/__tests__/loader.test.ts +0 -100
- package/src/project-config/define-framework-config.ts +0 -44
- package/src/project-config/define-infra-config.ts +0 -168
- package/src/project-config/define-minion-config.ts +0 -27
- package/src/project-config/define-platform-config.ts +0 -28
- package/src/project-config/define-platform-env-config.ts +0 -59
- package/src/project-config/define-project-config.ts +0 -63
- package/src/project-config/define-saas-config.ts +0 -171
- package/src/project-config/define-sharing-policy.ts +0 -36
- package/src/project-config/define-worker-config.ts +0 -27
- package/src/project-config/index.ts +0 -23
- package/src/project-config/loader.ts +0 -220
- package/src/project-config/shared/application-modules.schemas.ts +0 -12
- package/src/project-config/shared/application-modules.utils.ts +0 -65
- package/src/project-config/shared/backing-services.schemas.ts +0 -59
- package/src/project-config/shared/data-services.schemas.ts +0 -58
- package/src/project-config/shared/env-example-defaults.ts +0 -50
- package/src/project-config/shared/environment.schemas.ts +0 -136
- package/src/project-config/shared/infrastructure-defaults.schemas.ts +0 -47
- package/src/project-config/shared/k8s-utils.ts +0 -56
- package/src/project-config/shared/platform-services.schemas.ts +0 -33
- package/src/project-config/shared/service-definitions.schemas.ts +0 -38
- package/src/project-config/sharing-policy-validation.ts +0 -159
- package/src/release/framework-release.constants.ts +0 -2
- package/src/schemas/__tests__/platform-config.schemas.test.ts +0 -90
- package/src/schemas/framework-info.schemas.ts +0 -13
- package/src/schemas/framework-secrets.schemas.ts +0 -19
- package/src/schemas/platform-application-config.schemas.ts +0 -25
- package/src/schemas/platform-application-secrets.schemas.ts +0 -78
- package/src/schemas/platform-config.schemas.ts +0 -45
- package/src/workspace-scope/index.ts +0 -2
- package/src/workspace-scope/workspace-scope-detector.ts +0 -98
- package/src/workspace-scope/workspace-scope.schemas.ts +0 -224
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Single-source-of-truth constants for module-registry defaults.
|
|
3
|
+
*
|
|
4
|
+
* Phase 0.5 lands the constants used by every registry consumer
|
|
5
|
+
* (`wildo-cli`, `wildo-module-client`, the future
|
|
6
|
+
* `platform-module-registry` server, and the dev companion). Adding
|
|
7
|
+
* new defaults here keeps the CLI, server, and lockfile readers in
|
|
8
|
+
* agreement without forcing a third package.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Default registry URL when the user is NOT inside a Wildo framework
|
|
12
|
+
* checkout. Public Wildo registry — equivalent of npm's
|
|
13
|
+
* `https://registry.npmjs.org` for module-registry artifacts.
|
|
14
|
+
*/
|
|
15
|
+
export declare const DEFAULT_PUBLIC_REGISTRY_URL = "https://registry.wildo.ai";
|
|
16
|
+
/**
|
|
17
|
+
* Default registry URL when running inside a Wildo framework
|
|
18
|
+
* checkout (framework-developer mode). Points at the local
|
|
19
|
+
* `platform-module-registry` service. The pinned port mirrors
|
|
20
|
+
* KD-7 / Review-pass-4 MEDIUM-GG: `5154` is the next free slot
|
|
21
|
+
* after the `5151`/`5152` platform services in
|
|
22
|
+
* `templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs`.
|
|
23
|
+
*/
|
|
24
|
+
export declare const DEFAULT_LOCAL_REGISTRY_URL = "http://localhost:5154";
|
|
25
|
+
/**
|
|
26
|
+
* Pinned port for the local registry service. Surfaced separately so
|
|
27
|
+
* docker-compose templates and CLI default-flags can stay aligned
|
|
28
|
+
* with the URL constant above.
|
|
29
|
+
*/
|
|
30
|
+
export declare const DEFAULT_LOCAL_REGISTRY_PORT = 5154;
|
|
31
|
+
/**
|
|
32
|
+
* Default registry id used by `wildo registry init` and the CLI's
|
|
33
|
+
* default flags when the user does not explicitly pick a registry.
|
|
34
|
+
* Matches `wildo.saas.config.ts > moduleRegistries[].id` convention.
|
|
35
|
+
*/
|
|
36
|
+
export declare const DEFAULT_REGISTRY_ID = "wildo";
|
|
37
|
+
//# sourceMappingURL=registry-defaults.constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registry-defaults.constants.d.ts","sourceRoot":"","sources":["../../../../src/registry/registry-defaults.constants.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,8BAA8B,CAAC;AAEvE;;;;;;;GAOG;AACH,eAAO,MAAM,0BAA0B,0BAA0B,CAAC;AAElE;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,OAAO,CAAC;AAEhD;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,UAAU,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Single-source-of-truth constants for module-registry defaults.
|
|
3
|
+
*
|
|
4
|
+
* Phase 0.5 lands the constants used by every registry consumer
|
|
5
|
+
* (`wildo-cli`, `wildo-module-client`, the future
|
|
6
|
+
* `platform-module-registry` server, and the dev companion). Adding
|
|
7
|
+
* new defaults here keeps the CLI, server, and lockfile readers in
|
|
8
|
+
* agreement without forcing a third package.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Default registry URL when the user is NOT inside a Wildo framework
|
|
12
|
+
* checkout. Public Wildo registry — equivalent of npm's
|
|
13
|
+
* `https://registry.npmjs.org` for module-registry artifacts.
|
|
14
|
+
*/
|
|
15
|
+
export const DEFAULT_PUBLIC_REGISTRY_URL = 'https://registry.wildo.ai';
|
|
16
|
+
/**
|
|
17
|
+
* Default registry URL when running inside a Wildo framework
|
|
18
|
+
* checkout (framework-developer mode). Points at the local
|
|
19
|
+
* `platform-module-registry` service. The pinned port mirrors
|
|
20
|
+
* KD-7 / Review-pass-4 MEDIUM-GG: `5154` is the next free slot
|
|
21
|
+
* after the `5151`/`5152` platform services in
|
|
22
|
+
* `templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs`.
|
|
23
|
+
*/
|
|
24
|
+
export const DEFAULT_LOCAL_REGISTRY_URL = 'http://localhost:5154';
|
|
25
|
+
/**
|
|
26
|
+
* Pinned port for the local registry service. Surfaced separately so
|
|
27
|
+
* docker-compose templates and CLI default-flags can stay aligned
|
|
28
|
+
* with the URL constant above.
|
|
29
|
+
*/
|
|
30
|
+
export const DEFAULT_LOCAL_REGISTRY_PORT = 5154;
|
|
31
|
+
/**
|
|
32
|
+
* Default registry id used by `wildo registry init` and the CLI's
|
|
33
|
+
* default flags when the user does not explicitly pick a registry.
|
|
34
|
+
* Matches `wildo.saas.config.ts > moduleRegistries[].id` convention.
|
|
35
|
+
*/
|
|
36
|
+
export const DEFAULT_REGISTRY_ID = 'wildo';
|
|
37
|
+
//# sourceMappingURL=registry-defaults.constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registry-defaults.constants.js","sourceRoot":"","sources":["../../../../src/registry/registry-defaults.constants.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;;;GAIG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,2BAA2B,CAAC;AAEvE;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,uBAAuB,CAAC;AAElE;;;;GAIG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,IAAI,CAAC;AAEhD;;;;GAIG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,OAAO,CAAC","sourcesContent":["/**\n * Single-source-of-truth constants for module-registry defaults.\n *\n * Phase 0.5 lands the constants used by every registry consumer\n * (`wildo-cli`, `wildo-module-client`, the future\n * `platform-module-registry` server, and the dev companion). Adding\n * new defaults here keeps the CLI, server, and lockfile readers in\n * agreement without forcing a third package.\n */\n\n/**\n * Default registry URL when the user is NOT inside a Wildo framework\n * checkout. Public Wildo registry — equivalent of npm's\n * `https://registry.npmjs.org` for module-registry artifacts.\n */\nexport const DEFAULT_PUBLIC_REGISTRY_URL = 'https://registry.wildo.ai';\n\n/**\n * Default registry URL when running inside a Wildo framework\n * checkout (framework-developer mode). Points at the local\n * `platform-module-registry` service. The pinned port mirrors\n * KD-7 / Review-pass-4 MEDIUM-GG: `5154` is the next free slot\n * after the `5151`/`5152` platform services in\n * `templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs`.\n */\nexport const DEFAULT_LOCAL_REGISTRY_URL = 'http://localhost:5154';\n\n/**\n * Pinned port for the local registry service. Surfaced separately so\n * docker-compose templates and CLI default-flags can stay aligned\n * with the URL constant above.\n */\nexport const DEFAULT_LOCAL_REGISTRY_PORT = 5154;\n\n/**\n * Default registry id used by `wildo registry init` and the CLI's\n * default flags when the user does not explicitly pick a registry.\n * Matches `wildo.saas.config.ts > moduleRegistries[].id` convention.\n */\nexport const DEFAULT_REGISTRY_ID = 'wildo';\n"]}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Registry-typed error classes.
|
|
3
|
+
*
|
|
4
|
+
* Phase 1 ships the typed-error vocabulary that Phase 2+ services
|
|
5
|
+
* raise. Each error carries a stable `code` so CLI callers can
|
|
6
|
+
* map errors to UX-specific copy without parsing messages.
|
|
7
|
+
*
|
|
8
|
+
* Errors are intentionally minimal — they encode discriminators,
|
|
9
|
+
* not full diagnostic envelopes. UX layers attach their own
|
|
10
|
+
* context (operator instructions, links, retry hints) when they
|
|
11
|
+
* surface these errors.
|
|
12
|
+
*/
|
|
13
|
+
export type RegistryErrorCode = 'WILDO_REGISTRY_ARTIFACT_INTEGRITY_MISMATCH' | 'WILDO_REGISTRY_MODULE_NOT_FOUND' | 'WILDO_REGISTRY_VERSION_NOT_FOUND' | 'WILDO_REGISTRY_VERSION_YANKED' | 'WILDO_REGISTRY_DEPENDENCY_UNSATISFIED' | 'WILDO_REGISTRY_BOUNDARY_VIOLATION' | 'WILDO_REGISTRY_CONFLICT_LOCAL_EDIT' | 'WILDO_REGISTRY_AUTH_REQUIRED' | 'WILDO_REGISTRY_AUTH_FORBIDDEN' | 'WILDO_REGISTRY_LOCKFILE_REPAIRABLE' | 'WILDO_REGISTRY_PROVIDER_SYNC_FAILED' | 'WILDO_REGISTRY_UNEXPECTED_STATUS' | 'WILDO_REGISTRY_MALFORMED_PAYLOAD';
|
|
14
|
+
export declare class RegistryError extends Error {
|
|
15
|
+
readonly code: RegistryErrorCode;
|
|
16
|
+
constructor(code: RegistryErrorCode, message: string);
|
|
17
|
+
}
|
|
18
|
+
export declare class RegistryArtifactIntegrityMismatchError extends RegistryError {
|
|
19
|
+
readonly moduleId: string;
|
|
20
|
+
readonly version: string;
|
|
21
|
+
readonly expected: string;
|
|
22
|
+
readonly actual: string;
|
|
23
|
+
constructor(moduleId: string, version: string, expected: string, actual: string);
|
|
24
|
+
}
|
|
25
|
+
export declare class RegistryModuleNotFoundError extends RegistryError {
|
|
26
|
+
readonly moduleId: string;
|
|
27
|
+
constructor(moduleId: string);
|
|
28
|
+
}
|
|
29
|
+
export declare class RegistryVersionNotFoundError extends RegistryError {
|
|
30
|
+
readonly moduleId: string;
|
|
31
|
+
readonly versionRange: string;
|
|
32
|
+
constructor(moduleId: string, versionRange: string);
|
|
33
|
+
}
|
|
34
|
+
export declare class RegistryVersionYankedError extends RegistryError {
|
|
35
|
+
readonly moduleId: string;
|
|
36
|
+
readonly version: string;
|
|
37
|
+
constructor(moduleId: string, version: string, reason?: string);
|
|
38
|
+
}
|
|
39
|
+
export declare class RegistryDependencyUnsatisfiedError extends RegistryError {
|
|
40
|
+
readonly moduleId: string;
|
|
41
|
+
readonly missing: readonly string[];
|
|
42
|
+
constructor(moduleId: string, missing: readonly string[]);
|
|
43
|
+
}
|
|
44
|
+
export declare class RegistryBoundaryViolationError extends RegistryError {
|
|
45
|
+
readonly moduleId: string;
|
|
46
|
+
readonly offendingPath: string;
|
|
47
|
+
constructor(moduleId: string, offendingPath: string);
|
|
48
|
+
}
|
|
49
|
+
export declare class RegistryConflictLocalEditError extends RegistryError {
|
|
50
|
+
readonly filePath: string;
|
|
51
|
+
constructor(filePath: string);
|
|
52
|
+
}
|
|
53
|
+
export declare class RegistryAuthRequiredError extends RegistryError {
|
|
54
|
+
readonly registryUrl: string;
|
|
55
|
+
constructor(registryUrl: string);
|
|
56
|
+
}
|
|
57
|
+
export declare class RegistryAuthForbiddenError extends RegistryError {
|
|
58
|
+
readonly action: string;
|
|
59
|
+
constructor(action: string);
|
|
60
|
+
}
|
|
61
|
+
export declare class RegistryLockfileRepairableError extends RegistryError {
|
|
62
|
+
readonly hints: readonly string[];
|
|
63
|
+
constructor(message: string, hints?: readonly string[]);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Raised when post-install / post-update / post-remove provider
|
|
67
|
+
* materialization fails after the source mutation succeeded. The
|
|
68
|
+
* companion-export discovery and `runtimeImport` reachability
|
|
69
|
+
* failure modes are both surfaced via this error so module-registry
|
|
70
|
+
* callers report them as first-class repairable integration errors
|
|
71
|
+
* (`module-registry-analysis.md` / Provider Migration WIP Seams §1).
|
|
72
|
+
*/
|
|
73
|
+
export declare class RegistryProviderSyncFailedError extends RegistryError {
|
|
74
|
+
readonly failureKind: 'companion-discovery' | 'runtime-import-reachability' | 'invalid-scope' | 'timeout' | 'unknown';
|
|
75
|
+
readonly stderrTail?: string;
|
|
76
|
+
constructor(message: string, failureKind: 'companion-discovery' | 'runtime-import-reachability' | 'invalid-scope' | 'timeout' | 'unknown', stderrTail?: string);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Raised by `RegistryServerClient` when the server returns a non-2xx
|
|
80
|
+
* status that doesn't map to a more specific typed error (404 →
|
|
81
|
+
* `RegistryModuleNotFoundError`/`RegistryVersionNotFoundError`, 401 →
|
|
82
|
+
* `RegistryAuthRequiredError`, 403 → `RegistryAuthForbiddenError`).
|
|
83
|
+
* Carries the status code + URL so callers can discriminate "registry
|
|
84
|
+
* down / 5xx" from authoritative client errors without re-parsing
|
|
85
|
+
* `Error.message` strings.
|
|
86
|
+
*/
|
|
87
|
+
export declare class RegistryUnexpectedStatusError extends RegistryError {
|
|
88
|
+
readonly registryUrl: string;
|
|
89
|
+
readonly status: number;
|
|
90
|
+
readonly statusText: string;
|
|
91
|
+
readonly action: string;
|
|
92
|
+
constructor(registryUrl: string, status: number, statusText: string, action: string);
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Raised by `RegistryServerClient` (and `RegistryCompanionClient`) when
|
|
96
|
+
* a 2xx response carries a payload the canonical Zod schema can't parse.
|
|
97
|
+
* Without this, malformed payloads previously surfaced as bare `Error`
|
|
98
|
+
* (`'Registry resolve returned a malformed payload at ...'`), which
|
|
99
|
+
* broke the `isRegistryError(err)` typed-handler contract every other
|
|
100
|
+
* client surface honored.
|
|
101
|
+
*/
|
|
102
|
+
export declare class RegistryMalformedPayloadError extends RegistryError {
|
|
103
|
+
readonly registryUrl: string;
|
|
104
|
+
readonly action: string;
|
|
105
|
+
readonly detail: string;
|
|
106
|
+
constructor(registryUrl: string, action: string, detail: string);
|
|
107
|
+
}
|
|
108
|
+
export declare function isRegistryError(value: unknown): value is RegistryError;
|
|
109
|
+
//# sourceMappingURL=registry-errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registry-errors.d.ts","sourceRoot":"","sources":["../../../../src/registry/registry-errors.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Registry-typed error classes.
|
|
3
|
+
*
|
|
4
|
+
* Phase 1 ships the typed-error vocabulary that Phase 2+ services
|
|
5
|
+
* raise. Each error carries a stable `code` so CLI callers can
|
|
6
|
+
* map errors to UX-specific copy without parsing messages.
|
|
7
|
+
*
|
|
8
|
+
* Errors are intentionally minimal — they encode discriminators,
|
|
9
|
+
* not full diagnostic envelopes. UX layers attach their own
|
|
10
|
+
* context (operator instructions, links, retry hints) when they
|
|
11
|
+
* surface these errors.
|
|
12
|
+
*/
|
|
13
|
+
export class RegistryError extends Error {
|
|
14
|
+
code;
|
|
15
|
+
constructor(code, message) {
|
|
16
|
+
super(message);
|
|
17
|
+
// L13 (third-pass review): set `name = 'RegistryError'` defensively.
|
|
18
|
+
// Subclasses still overwrite it in their constructors, but a future
|
|
19
|
+
// subclass that forgets to set `name` would leave the default
|
|
20
|
+
// `'Error'` in stack traces — misleading. With this base default,
|
|
21
|
+
// even an undeclared subclass surfaces as a `RegistryError` in
|
|
22
|
+
// logs.
|
|
23
|
+
this.name = 'RegistryError';
|
|
24
|
+
this.code = code;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export class RegistryArtifactIntegrityMismatchError extends RegistryError {
|
|
28
|
+
moduleId;
|
|
29
|
+
version;
|
|
30
|
+
expected;
|
|
31
|
+
actual;
|
|
32
|
+
constructor(moduleId, version, expected, actual) {
|
|
33
|
+
super('WILDO_REGISTRY_ARTIFACT_INTEGRITY_MISMATCH', `Artifact integrity mismatch for ${moduleId}@${version}: expected ${expected}, got ${actual}.`);
|
|
34
|
+
this.moduleId = moduleId;
|
|
35
|
+
this.version = version;
|
|
36
|
+
this.expected = expected;
|
|
37
|
+
this.actual = actual;
|
|
38
|
+
this.name = 'RegistryArtifactIntegrityMismatchError';
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
export class RegistryModuleNotFoundError extends RegistryError {
|
|
42
|
+
moduleId;
|
|
43
|
+
constructor(moduleId) {
|
|
44
|
+
super('WILDO_REGISTRY_MODULE_NOT_FOUND', `Module not found: ${moduleId}.`);
|
|
45
|
+
this.moduleId = moduleId;
|
|
46
|
+
this.name = 'RegistryModuleNotFoundError';
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
export class RegistryVersionNotFoundError extends RegistryError {
|
|
50
|
+
moduleId;
|
|
51
|
+
versionRange;
|
|
52
|
+
constructor(moduleId, versionRange) {
|
|
53
|
+
super('WILDO_REGISTRY_VERSION_NOT_FOUND', `No version of ${moduleId} satisfies "${versionRange}".`);
|
|
54
|
+
this.moduleId = moduleId;
|
|
55
|
+
this.versionRange = versionRange;
|
|
56
|
+
this.name = 'RegistryVersionNotFoundError';
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
export class RegistryVersionYankedError extends RegistryError {
|
|
60
|
+
moduleId;
|
|
61
|
+
version;
|
|
62
|
+
constructor(moduleId, version, reason) {
|
|
63
|
+
super('WILDO_REGISTRY_VERSION_YANKED', `Version ${moduleId}@${version} is yanked${reason ? `: ${reason}` : ''}.`);
|
|
64
|
+
this.moduleId = moduleId;
|
|
65
|
+
this.version = version;
|
|
66
|
+
this.name = 'RegistryVersionYankedError';
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
export class RegistryDependencyUnsatisfiedError extends RegistryError {
|
|
70
|
+
moduleId;
|
|
71
|
+
missing;
|
|
72
|
+
constructor(moduleId, missing) {
|
|
73
|
+
super('WILDO_REGISTRY_DEPENDENCY_UNSATISFIED', `Module ${moduleId} requires unmet dependencies: ${missing.join(', ')}.`);
|
|
74
|
+
this.moduleId = moduleId;
|
|
75
|
+
this.missing = missing;
|
|
76
|
+
this.name = 'RegistryDependencyUnsatisfiedError';
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
export class RegistryBoundaryViolationError extends RegistryError {
|
|
80
|
+
moduleId;
|
|
81
|
+
offendingPath;
|
|
82
|
+
constructor(moduleId, offendingPath) {
|
|
83
|
+
super('WILDO_REGISTRY_BOUNDARY_VIOLATION', `Module ${moduleId} attempts to write outside its declared boundaries: ${offendingPath}.`);
|
|
84
|
+
this.moduleId = moduleId;
|
|
85
|
+
this.offendingPath = offendingPath;
|
|
86
|
+
this.name = 'RegistryBoundaryViolationError';
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
export class RegistryConflictLocalEditError extends RegistryError {
|
|
90
|
+
filePath;
|
|
91
|
+
constructor(filePath) {
|
|
92
|
+
super('WILDO_REGISTRY_CONFLICT_LOCAL_EDIT', `Local edit detected at ${filePath}; refusing to overwrite without --force.`);
|
|
93
|
+
this.filePath = filePath;
|
|
94
|
+
this.name = 'RegistryConflictLocalEditError';
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
export class RegistryAuthRequiredError extends RegistryError {
|
|
98
|
+
registryUrl;
|
|
99
|
+
constructor(registryUrl) {
|
|
100
|
+
super('WILDO_REGISTRY_AUTH_REQUIRED', `Authentication required for ${registryUrl}. Run \`wildo registry login --url <url>\`.`);
|
|
101
|
+
this.registryUrl = registryUrl;
|
|
102
|
+
this.name = 'RegistryAuthRequiredError';
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
export class RegistryAuthForbiddenError extends RegistryError {
|
|
106
|
+
action;
|
|
107
|
+
constructor(action) {
|
|
108
|
+
super('WILDO_REGISTRY_AUTH_FORBIDDEN', `Action "${action}" is not permitted by the current credentials.`);
|
|
109
|
+
this.action = action;
|
|
110
|
+
this.name = 'RegistryAuthForbiddenError';
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
export class RegistryLockfileRepairableError extends RegistryError {
|
|
114
|
+
hints;
|
|
115
|
+
constructor(message, hints = []) {
|
|
116
|
+
super('WILDO_REGISTRY_LOCKFILE_REPAIRABLE', message);
|
|
117
|
+
this.hints = hints;
|
|
118
|
+
this.name = 'RegistryLockfileRepairableError';
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Raised when post-install / post-update / post-remove provider
|
|
123
|
+
* materialization fails after the source mutation succeeded. The
|
|
124
|
+
* companion-export discovery and `runtimeImport` reachability
|
|
125
|
+
* failure modes are both surfaced via this error so module-registry
|
|
126
|
+
* callers report them as first-class repairable integration errors
|
|
127
|
+
* (`module-registry-analysis.md` / Provider Migration WIP Seams §1).
|
|
128
|
+
*/
|
|
129
|
+
export class RegistryProviderSyncFailedError extends RegistryError {
|
|
130
|
+
failureKind;
|
|
131
|
+
stderrTail;
|
|
132
|
+
constructor(message, failureKind, stderrTail) {
|
|
133
|
+
super('WILDO_REGISTRY_PROVIDER_SYNC_FAILED', message);
|
|
134
|
+
this.failureKind = failureKind;
|
|
135
|
+
this.stderrTail = stderrTail;
|
|
136
|
+
this.name = 'RegistryProviderSyncFailedError';
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Raised by `RegistryServerClient` when the server returns a non-2xx
|
|
141
|
+
* status that doesn't map to a more specific typed error (404 →
|
|
142
|
+
* `RegistryModuleNotFoundError`/`RegistryVersionNotFoundError`, 401 →
|
|
143
|
+
* `RegistryAuthRequiredError`, 403 → `RegistryAuthForbiddenError`).
|
|
144
|
+
* Carries the status code + URL so callers can discriminate "registry
|
|
145
|
+
* down / 5xx" from authoritative client errors without re-parsing
|
|
146
|
+
* `Error.message` strings.
|
|
147
|
+
*/
|
|
148
|
+
export class RegistryUnexpectedStatusError extends RegistryError {
|
|
149
|
+
registryUrl;
|
|
150
|
+
status;
|
|
151
|
+
statusText;
|
|
152
|
+
action;
|
|
153
|
+
constructor(registryUrl, status, statusText, action) {
|
|
154
|
+
super('WILDO_REGISTRY_UNEXPECTED_STATUS', `Registry "${action}" failed with HTTP ${status} ${statusText} at ${registryUrl}.`);
|
|
155
|
+
this.registryUrl = registryUrl;
|
|
156
|
+
this.status = status;
|
|
157
|
+
this.statusText = statusText;
|
|
158
|
+
this.action = action;
|
|
159
|
+
this.name = 'RegistryUnexpectedStatusError';
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Raised by `RegistryServerClient` (and `RegistryCompanionClient`) when
|
|
164
|
+
* a 2xx response carries a payload the canonical Zod schema can't parse.
|
|
165
|
+
* Without this, malformed payloads previously surfaced as bare `Error`
|
|
166
|
+
* (`'Registry resolve returned a malformed payload at ...'`), which
|
|
167
|
+
* broke the `isRegistryError(err)` typed-handler contract every other
|
|
168
|
+
* client surface honored.
|
|
169
|
+
*/
|
|
170
|
+
export class RegistryMalformedPayloadError extends RegistryError {
|
|
171
|
+
registryUrl;
|
|
172
|
+
action;
|
|
173
|
+
detail;
|
|
174
|
+
constructor(registryUrl, action, detail) {
|
|
175
|
+
super('WILDO_REGISTRY_MALFORMED_PAYLOAD', `Registry "${action}" returned a malformed payload at ${registryUrl}: ${detail}`);
|
|
176
|
+
this.registryUrl = registryUrl;
|
|
177
|
+
this.action = action;
|
|
178
|
+
this.detail = detail;
|
|
179
|
+
this.name = 'RegistryMalformedPayloadError';
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
export function isRegistryError(value) {
|
|
183
|
+
return value instanceof RegistryError;
|
|
184
|
+
}
|
|
185
|
+
//# sourceMappingURL=registry-errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registry-errors.js","sourceRoot":"","sources":["../../../../src/registry/registry-errors.ts"],"names":[],"mappings":"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","sourcesContent":["/**\n * Registry-typed error classes.\n *\n * Phase 1 ships the typed-error vocabulary that Phase 2+ services\n * raise. Each error carries a stable `code` so CLI callers can\n * map errors to UX-specific copy without parsing messages.\n *\n * Errors are intentionally minimal — they encode discriminators,\n * not full diagnostic envelopes. UX layers attach their own\n * context (operator instructions, links, retry hints) when they\n * surface these errors.\n */\n\nexport type RegistryErrorCode =\n | 'WILDO_REGISTRY_ARTIFACT_INTEGRITY_MISMATCH'\n | 'WILDO_REGISTRY_MODULE_NOT_FOUND'\n | 'WILDO_REGISTRY_VERSION_NOT_FOUND'\n | 'WILDO_REGISTRY_VERSION_YANKED'\n | 'WILDO_REGISTRY_DEPENDENCY_UNSATISFIED'\n | 'WILDO_REGISTRY_BOUNDARY_VIOLATION'\n | 'WILDO_REGISTRY_CONFLICT_LOCAL_EDIT'\n | 'WILDO_REGISTRY_AUTH_REQUIRED'\n | 'WILDO_REGISTRY_AUTH_FORBIDDEN'\n | 'WILDO_REGISTRY_LOCKFILE_REPAIRABLE'\n | 'WILDO_REGISTRY_PROVIDER_SYNC_FAILED'\n | 'WILDO_REGISTRY_UNEXPECTED_STATUS'\n | 'WILDO_REGISTRY_MALFORMED_PAYLOAD';\n\nexport class RegistryError extends Error {\n readonly code: RegistryErrorCode;\n\n constructor(code: RegistryErrorCode, message: string) {\n super(message);\n // L13 (third-pass review): set `name = 'RegistryError'` defensively.\n // Subclasses still overwrite it in their constructors, but a future\n // subclass that forgets to set `name` would leave the default\n // `'Error'` in stack traces — misleading. With this base default,\n // even an undeclared subclass surfaces as a `RegistryError` in\n // logs.\n this.name = 'RegistryError';\n this.code = code;\n }\n}\n\nexport class RegistryArtifactIntegrityMismatchError extends RegistryError {\n constructor(\n public readonly moduleId: string,\n public readonly version: string,\n public readonly expected: string,\n public readonly actual: string,\n ) {\n super(\n 'WILDO_REGISTRY_ARTIFACT_INTEGRITY_MISMATCH',\n `Artifact integrity mismatch for ${moduleId}@${version}: expected ${expected}, got ${actual}.`,\n );\n this.name = 'RegistryArtifactIntegrityMismatchError';\n }\n}\n\nexport class RegistryModuleNotFoundError extends RegistryError {\n constructor(public readonly moduleId: string) {\n super(\n 'WILDO_REGISTRY_MODULE_NOT_FOUND',\n `Module not found: ${moduleId}.`,\n );\n this.name = 'RegistryModuleNotFoundError';\n }\n}\n\nexport class RegistryVersionNotFoundError extends RegistryError {\n constructor(public readonly moduleId: string, public readonly versionRange: string) {\n super(\n 'WILDO_REGISTRY_VERSION_NOT_FOUND',\n `No version of ${moduleId} satisfies \"${versionRange}\".`,\n );\n this.name = 'RegistryVersionNotFoundError';\n }\n}\n\nexport class RegistryVersionYankedError extends RegistryError {\n constructor(public readonly moduleId: string, public readonly version: string, reason?: string) {\n super(\n 'WILDO_REGISTRY_VERSION_YANKED',\n `Version ${moduleId}@${version} is yanked${reason ? `: ${reason}` : ''}.`,\n );\n this.name = 'RegistryVersionYankedError';\n }\n}\n\nexport class RegistryDependencyUnsatisfiedError extends RegistryError {\n constructor(public readonly moduleId: string, public readonly missing: readonly string[]) {\n super(\n 'WILDO_REGISTRY_DEPENDENCY_UNSATISFIED',\n `Module ${moduleId} requires unmet dependencies: ${missing.join(', ')}.`,\n );\n this.name = 'RegistryDependencyUnsatisfiedError';\n }\n}\n\nexport class RegistryBoundaryViolationError extends RegistryError {\n constructor(public readonly moduleId: string, public readonly offendingPath: string) {\n super(\n 'WILDO_REGISTRY_BOUNDARY_VIOLATION',\n `Module ${moduleId} attempts to write outside its declared boundaries: ${offendingPath}.`,\n );\n this.name = 'RegistryBoundaryViolationError';\n }\n}\n\nexport class RegistryConflictLocalEditError extends RegistryError {\n constructor(public readonly filePath: string) {\n super(\n 'WILDO_REGISTRY_CONFLICT_LOCAL_EDIT',\n `Local edit detected at ${filePath}; refusing to overwrite without --force.`,\n );\n this.name = 'RegistryConflictLocalEditError';\n }\n}\n\nexport class RegistryAuthRequiredError extends RegistryError {\n constructor(public readonly registryUrl: string) {\n super(\n 'WILDO_REGISTRY_AUTH_REQUIRED',\n `Authentication required for ${registryUrl}. Run \\`wildo registry login --url <url>\\`.`,\n );\n this.name = 'RegistryAuthRequiredError';\n }\n}\n\nexport class RegistryAuthForbiddenError extends RegistryError {\n constructor(public readonly action: string) {\n super(\n 'WILDO_REGISTRY_AUTH_FORBIDDEN',\n `Action \"${action}\" is not permitted by the current credentials.`,\n );\n this.name = 'RegistryAuthForbiddenError';\n }\n}\n\nexport class RegistryLockfileRepairableError extends RegistryError {\n constructor(message: string, public readonly hints: readonly string[] = []) {\n super('WILDO_REGISTRY_LOCKFILE_REPAIRABLE', message);\n this.name = 'RegistryLockfileRepairableError';\n }\n}\n\n/**\n * Raised when post-install / post-update / post-remove provider\n * materialization fails after the source mutation succeeded. The\n * companion-export discovery and `runtimeImport` reachability\n * failure modes are both surfaced via this error so module-registry\n * callers report them as first-class repairable integration errors\n * (`module-registry-analysis.md` / Provider Migration WIP Seams §1).\n */\nexport class RegistryProviderSyncFailedError extends RegistryError {\n constructor(\n message: string,\n public readonly failureKind: 'companion-discovery' | 'runtime-import-reachability' | 'invalid-scope' | 'timeout' | 'unknown',\n public readonly stderrTail?: string,\n ) {\n super('WILDO_REGISTRY_PROVIDER_SYNC_FAILED', message);\n this.name = 'RegistryProviderSyncFailedError';\n }\n}\n\n/**\n * Raised by `RegistryServerClient` when the server returns a non-2xx\n * status that doesn't map to a more specific typed error (404 →\n * `RegistryModuleNotFoundError`/`RegistryVersionNotFoundError`, 401 →\n * `RegistryAuthRequiredError`, 403 → `RegistryAuthForbiddenError`).\n * Carries the status code + URL so callers can discriminate \"registry\n * down / 5xx\" from authoritative client errors without re-parsing\n * `Error.message` strings.\n */\nexport class RegistryUnexpectedStatusError extends RegistryError {\n constructor(\n public readonly registryUrl: string,\n public readonly status: number,\n public readonly statusText: string,\n public readonly action: string,\n ) {\n super(\n 'WILDO_REGISTRY_UNEXPECTED_STATUS',\n `Registry \"${action}\" failed with HTTP ${status} ${statusText} at ${registryUrl}.`,\n );\n this.name = 'RegistryUnexpectedStatusError';\n }\n}\n\n/**\n * Raised by `RegistryServerClient` (and `RegistryCompanionClient`) when\n * a 2xx response carries a payload the canonical Zod schema can't parse.\n * Without this, malformed payloads previously surfaced as bare `Error`\n * (`'Registry resolve returned a malformed payload at ...'`), which\n * broke the `isRegistryError(err)` typed-handler contract every other\n * client surface honored.\n */\nexport class RegistryMalformedPayloadError extends RegistryError {\n constructor(\n public readonly registryUrl: string,\n public readonly action: string,\n public readonly detail: string,\n ) {\n super(\n 'WILDO_REGISTRY_MALFORMED_PAYLOAD',\n `Registry \"${action}\" returned a malformed payload at ${registryUrl}: ${detail}`,\n );\n this.name = 'RegistryMalformedPayloadError';\n }\n}\n\nexport function isRegistryError(value: unknown): value is RegistryError {\n return value instanceof RegistryError;\n}\n"]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `DEFAULT_REGISTRY_SECTION_SCHEMAS` — the section-schema registry
|
|
3
|
+
* every CLI-side lockfile reader/writer should pass to the shared
|
|
4
|
+
* lockfile library.
|
|
5
|
+
*
|
|
6
|
+
* The lockfile envelope (`SaasLockfileEnvelopeSchema`) is permissive
|
|
7
|
+
* about unknown sections (`.catchall(z.unknown())`), so a reader
|
|
8
|
+
* that does not validate `sections.modules` at parse time will
|
|
9
|
+
* silently see whatever bytes happen to be there. The
|
|
10
|
+
* `DEFAULT_REGISTRY_SECTION_SCHEMAS` map keeps every CLI caller
|
|
11
|
+
* honest by giving them a single import to validate the registry's
|
|
12
|
+
* own section.
|
|
13
|
+
*
|
|
14
|
+
* Companion callers extend this map with their own i18n schema
|
|
15
|
+
* (and any other companion-owned section) — see KD-4. The CLI
|
|
16
|
+
* uses this constant as-is.
|
|
17
|
+
*/
|
|
18
|
+
export declare const DEFAULT_REGISTRY_SECTION_SCHEMAS: {
|
|
19
|
+
readonly modules: import("zod").ZodObject<{
|
|
20
|
+
installed: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
21
|
+
moduleId: import("zod").ZodString;
|
|
22
|
+
registryId: import("zod").ZodString;
|
|
23
|
+
registryUrl: import("zod").ZodString;
|
|
24
|
+
domain: import("zod").ZodString;
|
|
25
|
+
version: import("zod").ZodString;
|
|
26
|
+
requestedRange: import("zod").ZodOptional<import("zod").ZodString>;
|
|
27
|
+
artifactDigest: import("zod").ZodString;
|
|
28
|
+
installedAt: import("zod").ZodISODateTime;
|
|
29
|
+
files: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
|
|
30
|
+
source: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
31
|
+
install: "install";
|
|
32
|
+
update: "update";
|
|
33
|
+
adopt: "adopt";
|
|
34
|
+
}>>;
|
|
35
|
+
}, import("zod/v4/core").$strict>>>;
|
|
36
|
+
}, import("zod/v4/core").$strict>;
|
|
37
|
+
};
|
|
38
|
+
export type DefaultRegistrySectionSchemas = typeof DEFAULT_REGISTRY_SECTION_SCHEMAS;
|
|
39
|
+
//# sourceMappingURL=registry-section-schemas.constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registry-section-schemas.constants.d.ts","sourceRoot":"","sources":["../../../../src/registry/registry-section-schemas.constants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;CAEnC,CAAC;AAEX,MAAM,MAAM,6BAA6B,GAAG,OAAO,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `DEFAULT_REGISTRY_SECTION_SCHEMAS` — the section-schema registry
|
|
3
|
+
* every CLI-side lockfile reader/writer should pass to the shared
|
|
4
|
+
* lockfile library.
|
|
5
|
+
*
|
|
6
|
+
* The lockfile envelope (`SaasLockfileEnvelopeSchema`) is permissive
|
|
7
|
+
* about unknown sections (`.catchall(z.unknown())`), so a reader
|
|
8
|
+
* that does not validate `sections.modules` at parse time will
|
|
9
|
+
* silently see whatever bytes happen to be there. The
|
|
10
|
+
* `DEFAULT_REGISTRY_SECTION_SCHEMAS` map keeps every CLI caller
|
|
11
|
+
* honest by giving them a single import to validate the registry's
|
|
12
|
+
* own section.
|
|
13
|
+
*
|
|
14
|
+
* Companion callers extend this map with their own i18n schema
|
|
15
|
+
* (and any other companion-owned section) — see KD-4. The CLI
|
|
16
|
+
* uses this constant as-is.
|
|
17
|
+
*/
|
|
18
|
+
import { RegistryModulesLockSectionSchema } from './lockfile-modules-section.schemas.js';
|
|
19
|
+
export const DEFAULT_REGISTRY_SECTION_SCHEMAS = {
|
|
20
|
+
modules: RegistryModulesLockSectionSchema,
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=registry-section-schemas.constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registry-section-schemas.constants.js","sourceRoot":"","sources":["../../../../src/registry/registry-section-schemas.constants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAEtF,MAAM,CAAC,MAAM,gCAAgC,GAAG;IAC9C,OAAO,EAAE,gCAAgC;CACjC,CAAC","sourcesContent":["/**\n * `DEFAULT_REGISTRY_SECTION_SCHEMAS` — the section-schema registry\n * every CLI-side lockfile reader/writer should pass to the shared\n * lockfile library.\n *\n * The lockfile envelope (`SaasLockfileEnvelopeSchema`) is permissive\n * about unknown sections (`.catchall(z.unknown())`), so a reader\n * that does not validate `sections.modules` at parse time will\n * silently see whatever bytes happen to be there. The\n * `DEFAULT_REGISTRY_SECTION_SCHEMAS` map keeps every CLI caller\n * honest by giving them a single import to validate the registry's\n * own section.\n *\n * Companion callers extend this map with their own i18n schema\n * (and any other companion-owned section) — see KD-4. The CLI\n * uses this constant as-is.\n */\n\nimport { RegistryModulesLockSectionSchema } from './lockfile-modules-section.schemas';\n\nexport const DEFAULT_REGISTRY_SECTION_SCHEMAS = {\n modules: RegistryModulesLockSectionSchema,\n} as const;\n\nexport type DefaultRegistrySectionSchemas = typeof DEFAULT_REGISTRY_SECTION_SCHEMAS;\n"]}
|
|
@@ -1,3 +1,28 @@
|
|
|
1
1
|
export declare const FRAMEWORK_RELEASE_NPM_SCOPE = "@wildo-ai";
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Container registry that hosts the published framework images.
|
|
4
|
+
*
|
|
5
|
+
* Declared EXPLICITLY rather than left to Docker's default resolution. A bare
|
|
6
|
+
* `<namespace>/<image>` reference silently means Docker Hub, which is how this
|
|
7
|
+
* framework's registry came to be chosen by default rather than by decision.
|
|
8
|
+
* Naming the host makes the choice reviewable and makes a future move a config
|
|
9
|
+
* change instead of an archaeology exercise.
|
|
10
|
+
*
|
|
11
|
+
* GHCR is used because publication authenticates with the workflow's own
|
|
12
|
+
* run-scoped `GITHUB_TOKEN` (`packages: write`) — no long-lived registry
|
|
13
|
+
* credential has to exist — and because public GHCR pulls are not subject to
|
|
14
|
+
* Docker Hub's anonymous pull-rate limits, which would otherwise throttle
|
|
15
|
+
* consumer CI pulling the base images.
|
|
16
|
+
*/
|
|
17
|
+
export declare const FRAMEWORK_RELEASE_DOCKER_REGISTRY_HOST = "ghcr.io";
|
|
18
|
+
/**
|
|
19
|
+
* Owner namespace under {@link FRAMEWORK_RELEASE_DOCKER_REGISTRY_HOST}.
|
|
20
|
+
*
|
|
21
|
+
* On GHCR this MUST equal the GitHub organization that owns the repository
|
|
22
|
+
* (`wildo-ai`), because GHCR derives package ownership and permissions from it.
|
|
23
|
+
* The former Docker Hub namespace was `wildoai` (no hyphen); it is deliberately
|
|
24
|
+
* not reused, and that Docker Hub namespace should be retained but left
|
|
25
|
+
* unpublished so the name cannot be squatted.
|
|
26
|
+
*/
|
|
27
|
+
export declare const FRAMEWORK_RELEASE_DOCKER_NAMESPACE = "wildo-ai";
|
|
3
28
|
//# sourceMappingURL=framework-release.constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"framework-release.constants.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"framework-release.constants.d.ts","sourceRoot":"","sources":["../../../../src/release/framework-release.constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B,cAAc,CAAC;AAEvD;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,sCAAsC,YAAY,CAAC;AAEhE;;;;;;;;GAQG;AACH,eAAO,MAAM,kCAAkC,aAAa,CAAC"}
|
|
@@ -1,3 +1,28 @@
|
|
|
1
1
|
export const FRAMEWORK_RELEASE_NPM_SCOPE = '@wildo-ai';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Container registry that hosts the published framework images.
|
|
4
|
+
*
|
|
5
|
+
* Declared EXPLICITLY rather than left to Docker's default resolution. A bare
|
|
6
|
+
* `<namespace>/<image>` reference silently means Docker Hub, which is how this
|
|
7
|
+
* framework's registry came to be chosen by default rather than by decision.
|
|
8
|
+
* Naming the host makes the choice reviewable and makes a future move a config
|
|
9
|
+
* change instead of an archaeology exercise.
|
|
10
|
+
*
|
|
11
|
+
* GHCR is used because publication authenticates with the workflow's own
|
|
12
|
+
* run-scoped `GITHUB_TOKEN` (`packages: write`) — no long-lived registry
|
|
13
|
+
* credential has to exist — and because public GHCR pulls are not subject to
|
|
14
|
+
* Docker Hub's anonymous pull-rate limits, which would otherwise throttle
|
|
15
|
+
* consumer CI pulling the base images.
|
|
16
|
+
*/
|
|
17
|
+
export const FRAMEWORK_RELEASE_DOCKER_REGISTRY_HOST = 'ghcr.io';
|
|
18
|
+
/**
|
|
19
|
+
* Owner namespace under {@link FRAMEWORK_RELEASE_DOCKER_REGISTRY_HOST}.
|
|
20
|
+
*
|
|
21
|
+
* On GHCR this MUST equal the GitHub organization that owns the repository
|
|
22
|
+
* (`wildo-ai`), because GHCR derives package ownership and permissions from it.
|
|
23
|
+
* The former Docker Hub namespace was `wildoai` (no hyphen); it is deliberately
|
|
24
|
+
* not reused, and that Docker Hub namespace should be retained but left
|
|
25
|
+
* unpublished so the name cannot be squatted.
|
|
26
|
+
*/
|
|
27
|
+
export const FRAMEWORK_RELEASE_DOCKER_NAMESPACE = 'wildo-ai';
|
|
28
|
+
//# sourceMappingURL=framework-release.constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"framework-release.constants.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"framework-release.constants.js","sourceRoot":"","sources":["../../../../src/release/framework-release.constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,2BAA2B,GAAG,WAAW,CAAC;AAEvD;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAG,SAAS,CAAC;AAEhE;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,UAAU,CAAC","sourcesContent":["export const FRAMEWORK_RELEASE_NPM_SCOPE = '@wildo-ai';\n\n/**\n * Container registry that hosts the published framework images.\n *\n * Declared EXPLICITLY rather than left to Docker's default resolution. A bare\n * `<namespace>/<image>` reference silently means Docker Hub, which is how this\n * framework's registry came to be chosen by default rather than by decision.\n * Naming the host makes the choice reviewable and makes a future move a config\n * change instead of an archaeology exercise.\n *\n * GHCR is used because publication authenticates with the workflow's own\n * run-scoped `GITHUB_TOKEN` (`packages: write`) — no long-lived registry\n * credential has to exist — and because public GHCR pulls are not subject to\n * Docker Hub's anonymous pull-rate limits, which would otherwise throttle\n * consumer CI pulling the base images.\n */\nexport const FRAMEWORK_RELEASE_DOCKER_REGISTRY_HOST = 'ghcr.io';\n\n/**\n * Owner namespace under {@link FRAMEWORK_RELEASE_DOCKER_REGISTRY_HOST}.\n *\n * On GHCR this MUST equal the GitHub organization that owns the repository\n * (`wildo-ai`), because GHCR derives package ownership and permissions from it.\n * The former Docker Hub namespace was `wildoai` (no hyphen); it is deliberately\n * not reused, and that Docker Hub namespace should be retained but left\n * unpublished so the name cannot be squatted.\n */\nexport const FRAMEWORK_RELEASE_DOCKER_NAMESPACE = 'wildo-ai';\n"]}
|
|
@@ -3,6 +3,6 @@ export declare const WildoFrameworkInfoSchema: z.ZodObject<{
|
|
|
3
3
|
name: z.ZodDefault<z.ZodString>;
|
|
4
4
|
version: z.ZodString;
|
|
5
5
|
minCliVersion: z.ZodString;
|
|
6
|
-
}, z.core.$strip
|
|
6
|
+
}, z.core.$strip>;
|
|
7
7
|
export type WildoFrameworkInfo = z.infer<typeof WildoFrameworkInfoSchema>;
|
|
8
8
|
//# sourceMappingURL=framework-info.schemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"framework-info.schemas.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"framework-info.schemas.d.ts","sourceRoot":"","sources":["../../../../src/schemas/framework-info.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,wBAAwB;;;;iBAInC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"framework-info.schemas.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"framework-info.schemas.js","sourceRoot":"","sources":["../../../../src/schemas/framework-info.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CACnC,iBAAiB,EACjB,kDAAkD,CACnD,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC;IAC3C,OAAO,EAAE,YAAY;IACrB,aAAa,EAAE,YAAY;CAC5B,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\n\nconst SemverSchema = z.string().regex(\n /^\\d+\\.\\d+\\.\\d+$/,\n 'must be a simple semver string in the form x.y.z',\n);\n\nexport const WildoFrameworkInfoSchema = z.object({\n name: z.string().min(1).default('wildo-ai'),\n version: SemverSchema,\n minCliVersion: SemverSchema,\n});\nexport type WildoFrameworkInfo = z.infer<typeof WildoFrameworkInfoSchema>;\n"]}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const WildoFrameworkPublishNpmSecretsSchema: z.ZodObject<{
|
|
3
3
|
publishToken: z.ZodString;
|
|
4
|
-
}, z.core.$strip
|
|
4
|
+
}, z.core.$strip>;
|
|
5
5
|
export type WildoFrameworkPublishNpmSecrets = z.infer<typeof WildoFrameworkPublishNpmSecretsSchema>;
|
|
6
6
|
export declare const WildoFrameworkPublishDockerSecretsSchema: z.ZodObject<{
|
|
7
7
|
publishUsername: z.ZodOptional<z.ZodString>;
|
|
8
8
|
publishToken: z.ZodString;
|
|
9
|
-
}, z.core.$strip
|
|
9
|
+
}, z.core.$strip>;
|
|
10
10
|
export type WildoFrameworkPublishDockerSecrets = z.infer<typeof WildoFrameworkPublishDockerSecretsSchema>;
|
|
11
11
|
export declare const WildoFrameworkSecretsSchema: z.ZodObject<{
|
|
12
12
|
providers: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
13
13
|
docker: z.ZodOptional<z.ZodObject<{
|
|
14
14
|
publishUsername: z.ZodOptional<z.ZodString>;
|
|
15
15
|
publishToken: z.ZodString;
|
|
16
|
-
}, z.core.$strip
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
17
|
npm: z.ZodOptional<z.ZodObject<{
|
|
18
18
|
publishToken: z.ZodString;
|
|
19
|
-
}, z.core.$strip
|
|
20
|
-
}, z.core.$strip
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
21
|
export type WildoFrameworkSecrets = z.infer<typeof WildoFrameworkSecretsSchema>;
|
|
22
22
|
//# sourceMappingURL=framework-secrets.schemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"framework-secrets.schemas.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"framework-secrets.schemas.d.ts","sourceRoot":"","sources":["../../../../src/schemas/framework-secrets.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,qCAAqC;;iBAEhD,CAAC;AACH,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC;AAEpG,eAAO,MAAM,wCAAwC;;;iBAGnD,CAAC;AACH,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wCAAwC,CAAC,CAAC;AAE1G,eAAO,MAAM,2BAA2B;;;;;;;;;iBAItC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
|
|
@@ -11,4 +11,4 @@ export const WildoFrameworkSecretsSchema = z.object({
|
|
|
11
11
|
docker: WildoFrameworkPublishDockerSecretsSchema.optional(),
|
|
12
12
|
npm: WildoFrameworkPublishNpmSecretsSchema.optional(),
|
|
13
13
|
});
|
|
14
|
-
//# sourceMappingURL=framework-secrets.schemas.js.map
|
|
14
|
+
//# sourceMappingURL=framework-secrets.schemas.js.map
|