@wildo-ai/wildo-cli 1.1.7 → 1.1.9
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/src/commands/build/run.command.d.ts +8 -5
- package/dist/src/commands/build/run.command.d.ts.map +1 -1
- package/dist/src/commands/build/run.command.js +62 -9
- package/dist/src/commands/build/run.command.js.map +1 -1
- package/dist/src/commands/config/document-releases.command.d.ts.map +1 -1
- package/dist/src/commands/config/document-releases.command.js +2 -1
- package/dist/src/commands/config/document-releases.command.js.map +1 -1
- package/dist/src/commands/config/mutate.command.js +1 -1
- package/dist/src/commands/config/mutate.command.js.map +1 -1
- package/dist/src/commands/config/reapply-declaration.command.d.ts +9 -3
- package/dist/src/commands/config/reapply-declaration.command.d.ts.map +1 -1
- package/dist/src/commands/config/reapply-declaration.command.js +10 -4
- package/dist/src/commands/config/reapply-declaration.command.js.map +1 -1
- package/dist/src/commands/config/validate.command.d.ts +20 -0
- package/dist/src/commands/config/validate.command.d.ts.map +1 -1
- package/dist/src/commands/config/validate.command.js +57 -5
- package/dist/src/commands/config/validate.command.js.map +1 -1
- package/dist/src/commands/context/journey.command.d.ts +54 -0
- package/dist/src/commands/context/journey.command.d.ts.map +1 -1
- package/dist/src/commands/context/journey.command.js +126 -14
- package/dist/src/commands/context/journey.command.js.map +1 -1
- package/dist/src/commands/context/launch-blockers.command.d.ts +19 -0
- package/dist/src/commands/context/launch-blockers.command.d.ts.map +1 -0
- package/dist/src/commands/context/launch-blockers.command.js +71 -0
- package/dist/src/commands/context/launch-blockers.command.js.map +1 -0
- package/dist/src/commands/creation/answer.command.d.ts +3 -0
- package/dist/src/commands/creation/answer.command.d.ts.map +1 -1
- package/dist/src/commands/creation/answer.command.js +18 -2
- package/dist/src/commands/creation/answer.command.js.map +1 -1
- package/dist/src/commands/creation/deliberate.command.js +1 -1
- package/dist/src/commands/creation/deliberate.command.js.map +1 -1
- package/dist/src/commands/creation/depth.command.d.ts +16 -0
- package/dist/src/commands/creation/depth.command.d.ts.map +1 -0
- package/dist/src/commands/creation/depth.command.js +50 -0
- package/dist/src/commands/creation/depth.command.js.map +1 -0
- package/dist/src/commands/creation/loop.command.d.ts.map +1 -1
- package/dist/src/commands/creation/loop.command.js +11 -1
- package/dist/src/commands/creation/loop.command.js.map +1 -1
- package/dist/src/commands/creation/preflight.command.d.ts +15 -0
- package/dist/src/commands/creation/preflight.command.d.ts.map +1 -0
- package/dist/src/commands/creation/preflight.command.js +53 -0
- package/dist/src/commands/creation/preflight.command.js.map +1 -0
- package/dist/src/commands/creation/propose.command.d.ts +18 -0
- package/dist/src/commands/creation/propose.command.d.ts.map +1 -0
- package/dist/src/commands/creation/propose.command.js +57 -0
- package/dist/src/commands/creation/propose.command.js.map +1 -0
- package/dist/src/commands/creation/questions.command.d.ts.map +1 -1
- package/dist/src/commands/creation/questions.command.js +21 -6
- package/dist/src/commands/creation/questions.command.js.map +1 -1
- package/dist/src/commands/creation/reason.command.d.ts +12 -0
- package/dist/src/commands/creation/reason.command.d.ts.map +1 -0
- package/dist/src/commands/creation/reason.command.js +37 -0
- package/dist/src/commands/creation/reason.command.js.map +1 -0
- package/dist/src/commands/creation/report.command.d.ts +23 -0
- package/dist/src/commands/creation/report.command.d.ts.map +1 -0
- package/dist/src/commands/creation/report.command.js +129 -0
- package/dist/src/commands/creation/report.command.js.map +1 -0
- package/dist/src/commands/creation/run.command.d.ts +2 -0
- package/dist/src/commands/creation/run.command.d.ts.map +1 -1
- package/dist/src/commands/creation/run.command.js +9 -0
- package/dist/src/commands/creation/run.command.js.map +1 -1
- package/dist/src/commands/db/db-schema-plan-migration.utils.d.ts +28 -0
- package/dist/src/commands/db/db-schema-plan-migration.utils.d.ts.map +1 -0
- package/dist/src/commands/db/db-schema-plan-migration.utils.js +38 -0
- package/dist/src/commands/db/db-schema-plan-migration.utils.js.map +1 -0
- package/dist/src/commands/db/db-schema-plan.utils.d.ts +0 -27
- package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
- package/dist/src/commands/db/db-schema-plan.utils.js +0 -26
- package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -1
- package/dist/src/commands/db/generate.command.d.ts.map +1 -1
- package/dist/src/commands/db/generate.command.js +2 -1
- package/dist/src/commands/db/generate.command.js.map +1 -1
- package/dist/src/commands/help.command.d.ts.map +1 -1
- package/dist/src/commands/help.command.js +2 -0
- package/dist/src/commands/help.command.js.map +1 -1
- package/dist/src/commands/init.command.d.ts +6 -1
- package/dist/src/commands/init.command.d.ts.map +1 -1
- package/dist/src/commands/init.command.js +50 -12
- package/dist/src/commands/init.command.js.map +1 -1
- package/dist/src/commands/local/dev.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev.command.js +10 -5
- package/dist/src/commands/local/dev.command.js.map +1 -1
- package/dist/src/commands/local/doctor.command.d.ts +7 -4
- package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
- package/dist/src/commands/local/doctor.command.js +33 -54
- package/dist/src/commands/local/doctor.command.js.map +1 -1
- package/dist/src/commands/local/smoke.command.d.ts +18 -0
- package/dist/src/commands/local/smoke.command.d.ts.map +1 -0
- package/dist/src/commands/local/smoke.command.js +59 -0
- package/dist/src/commands/local/smoke.command.js.map +1 -0
- package/dist/src/commands/local-defaults/capture.command.d.ts.map +1 -1
- package/dist/src/commands/local-defaults/capture.command.js +3 -2
- package/dist/src/commands/local-defaults/capture.command.js.map +1 -1
- package/dist/src/commands/prefs/set.command.d.ts.map +1 -1
- package/dist/src/commands/prefs/set.command.js +6 -1
- package/dist/src/commands/prefs/set.command.js.map +1 -1
- package/dist/src/commands/secrets/set.command.d.ts.map +1 -1
- package/dist/src/commands/secrets/set.command.js +17 -4
- package/dist/src/commands/secrets/set.command.js.map +1 -1
- package/dist/src/commands/setup.command.d.ts.map +1 -1
- package/dist/src/commands/setup.command.js +5 -4
- package/dist/src/commands/setup.command.js.map +1 -1
- package/dist/src/commands/update.command.d.ts.map +1 -1
- package/dist/src/commands/update.command.js +65 -12
- package/dist/src/commands/update.command.js.map +1 -1
- package/dist/src/commands/website/audit.command.d.ts.map +1 -1
- package/dist/src/commands/website/audit.command.js +4 -0
- package/dist/src/commands/website/audit.command.js.map +1 -1
- package/dist/src/commands/workbench/open.command.js +1 -1
- package/dist/src/commands/workbench/open.command.js.map +1 -1
- package/dist/src/commands/workbench/status.command.js +1 -1
- package/dist/src/commands/workbench/status.command.js.map +1 -1
- package/dist/src/kernel/bootstrap.js +3 -2
- package/dist/src/kernel/bootstrap.js.map +1 -1
- package/dist/src/kernel/command-index-cache.d.ts +29 -0
- package/dist/src/kernel/command-index-cache.d.ts.map +1 -0
- package/dist/src/kernel/command-index-cache.js +89 -0
- package/dist/src/kernel/command-index-cache.js.map +1 -0
- package/dist/src/kernel/command-registry.d.ts +28 -0
- package/dist/src/kernel/command-registry.d.ts.map +1 -1
- package/dist/src/kernel/command-registry.js +89 -18
- package/dist/src/kernel/command-registry.js.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.d.ts +26 -5
- package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.js +39 -13
- package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/application-browser-smoke.service.d.ts +77 -0
- package/dist/src/services/application/application-browser-smoke.service.d.ts.map +1 -0
- package/dist/src/services/application/application-browser-smoke.service.js +195 -0
- package/dist/src/services/application/application-browser-smoke.service.js.map +1 -0
- package/dist/src/services/application/application-creation-readiness.service.d.ts +107 -0
- package/dist/src/services/application/application-creation-readiness.service.d.ts.map +1 -1
- package/dist/src/services/application/application-creation-readiness.service.js +278 -18
- package/dist/src/services/application/application-creation-readiness.service.js.map +1 -1
- package/dist/src/services/application/application-initialization-verification.service.d.ts +8 -3
- package/dist/src/services/application/application-initialization-verification.service.d.ts.map +1 -1
- package/dist/src/services/application/application-initialization-verification.service.js +8 -3
- package/dist/src/services/application/application-initialization-verification.service.js.map +1 -1
- package/dist/src/services/application/application-runtime-bootstrap.service.d.ts +2 -0
- package/dist/src/services/application/application-runtime-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/application-runtime-bootstrap.service.js +26 -0
- package/dist/src/services/application/application-runtime-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/backend-config.paths.d.ts +8 -0
- package/dist/src/services/application/backend-config.paths.d.ts.map +1 -0
- package/dist/src/services/application/backend-config.paths.js +9 -0
- package/dist/src/services/application/backend-config.paths.js.map +1 -0
- package/dist/src/services/application/creation-host-readiness.service.d.ts +61 -0
- package/dist/src/services/application/creation-host-readiness.service.d.ts.map +1 -0
- package/dist/src/services/application/creation-host-readiness.service.js +167 -0
- package/dist/src/services/application/creation-host-readiness.service.js.map +1 -0
- package/dist/src/services/application/creation-preflight.service.d.ts +46 -0
- package/dist/src/services/application/creation-preflight.service.d.ts.map +1 -0
- package/dist/src/services/application/creation-preflight.service.js +87 -0
- package/dist/src/services/application/creation-preflight.service.js.map +1 -0
- package/dist/src/services/application/degraded-registration-declaration-convergence.service.d.ts +79 -0
- package/dist/src/services/application/degraded-registration-declaration-convergence.service.d.ts.map +1 -0
- package/dist/src/services/application/degraded-registration-declaration-convergence.service.js +110 -0
- package/dist/src/services/application/degraded-registration-declaration-convergence.service.js.map +1 -0
- package/dist/src/services/application/dev-schema-drift.service.d.ts.map +1 -1
- package/dist/src/services/application/dev-schema-drift.service.js +2 -1
- package/dist/src/services/application/dev-schema-drift.service.js.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.d.ts +70 -10
- package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.js +100 -11
- package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.d.ts +12 -0
- package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.js +27 -2
- package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
- package/dist/src/services/application/stored-declaration-currency.service.d.ts +46 -0
- package/dist/src/services/application/stored-declaration-currency.service.d.ts.map +1 -0
- package/dist/src/services/application/stored-declaration-currency.service.js +76 -0
- package/dist/src/services/application/stored-declaration-currency.service.js.map +1 -0
- package/dist/src/services/application/systems-of-record-library.service.d.ts.map +1 -1
- package/dist/src/services/application/systems-of-record-library.service.js +3 -1
- package/dist/src/services/application/systems-of-record-library.service.js.map +1 -1
- package/dist/src/services/companion/build-console.service.d.ts +53 -3
- package/dist/src/services/companion/build-console.service.d.ts.map +1 -1
- package/dist/src/services/companion/build-console.service.js +94 -8
- package/dist/src/services/companion/build-console.service.js.map +1 -1
- package/dist/src/services/companion/creation-console.service.d.ts +25 -1
- package/dist/src/services/companion/creation-console.service.d.ts.map +1 -1
- package/dist/src/services/companion/creation-console.service.js +72 -1
- package/dist/src/services/companion/creation-console.service.js.map +1 -1
- package/dist/src/services/companion/creation-run-report.models.d.ts +97 -0
- package/dist/src/services/companion/creation-run-report.models.d.ts.map +1 -0
- package/dist/src/services/companion/creation-run-report.models.js +1 -0
- package/dist/src/services/companion/creation-run-report.models.js.map +1 -0
- package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts +0 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts.map +1 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.js +1 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.js.map +1 -1
- package/dist/src/services/compliance/governed-document-releases.generator.d.ts +0 -2
- package/dist/src/services/compliance/governed-document-releases.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/governed-document-releases.generator.js +2 -5
- package/dist/src/services/compliance/governed-document-releases.generator.js.map +1 -1
- package/dist/src/services/context/context-manager.service.d.ts.map +1 -1
- package/dist/src/services/context/context-manager.service.js +3 -0
- package/dist/src/services/context/context-manager.service.js.map +1 -1
- package/dist/src/services/context/context.schemas.d.ts +8 -3
- package/dist/src/services/context/context.schemas.d.ts.map +1 -1
- package/dist/src/services/context/context.schemas.js.map +1 -1
- package/dist/src/services/credentials/application-secrets.service.d.ts +14 -0
- package/dist/src/services/credentials/application-secrets.service.d.ts.map +1 -1
- package/dist/src/services/credentials/application-secrets.service.js +76 -7
- package/dist/src/services/credentials/application-secrets.service.js.map +1 -1
- package/dist/src/services/credentials/local-defaults.service.d.ts +42 -11
- package/dist/src/services/credentials/local-defaults.service.d.ts.map +1 -1
- package/dist/src/services/credentials/local-defaults.service.js +75 -10
- package/dist/src/services/credentials/local-defaults.service.js.map +1 -1
- package/dist/src/services/deployment/docker/compose-service-health.d.ts +5 -0
- package/dist/src/services/deployment/docker/compose-service-health.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/compose-service-health.js +5 -0
- package/dist/src/services/deployment/docker/compose-service-health.js.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts +136 -2
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.js +360 -32
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.js.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.d.ts +28 -0
- package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.js +53 -1
- package/dist/src/services/deployment/docker/docker.service.js.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts +16 -0
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.js +37 -1
- package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js +1 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js.map +1 -1
- package/dist/src/services/deployment/platform-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/deployment/platform-lifecycle.service.js +20 -8
- package/dist/src/services/deployment/platform-lifecycle.service.js.map +1 -1
- package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-setup.service.js +19 -9
- package/dist/src/services/environment/environment-setup.service.js.map +1 -1
- package/dist/src/services/environment/environment.schemas.d.ts +5 -2
- package/dist/src/services/environment/environment.schemas.d.ts.map +1 -1
- package/dist/src/services/environment/environment.schemas.js.map +1 -1
- package/dist/src/services/environment/infrastructure-host.service.js +1 -1
- package/dist/src/services/environment/infrastructure-host.service.js.map +1 -1
- package/dist/src/services/environment/platform-runtime.schemas.d.ts +9 -0
- package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -1
- package/dist/src/services/environment/platform-runtime.schemas.js +11 -0
- package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -1
- package/dist/src/services/framework/application-claude-settings.js +1 -1
- package/dist/src/services/framework/application-claude-settings.js.map +1 -1
- package/dist/src/services/framework/dev-compile-status.paths.d.ts +9 -0
- package/dist/src/services/framework/dev-compile-status.paths.d.ts.map +1 -0
- package/dist/src/services/framework/dev-compile-status.paths.js +10 -0
- package/dist/src/services/framework/dev-compile-status.paths.js.map +1 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.js +1 -1
- package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.js +3 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.js +8 -0
- package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
- package/dist/src/services/framework/framework-npm-publish.service.d.ts +20 -5
- package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-npm-publish.service.js +88 -7
- package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.js +43 -5
- package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
- package/dist/src/services/framework/installed-framework-assets.service.d.ts +20 -2
- package/dist/src/services/framework/installed-framework-assets.service.d.ts.map +1 -1
- package/dist/src/services/framework/installed-framework-assets.service.js +24 -1
- package/dist/src/services/framework/installed-framework-assets.service.js.map +1 -1
- package/dist/src/services/tracker/creation-run-tracker.service.d.ts +46 -0
- package/dist/src/services/tracker/creation-run-tracker.service.d.ts.map +1 -0
- package/dist/src/services/tracker/creation-run-tracker.service.js +66 -0
- package/dist/src/services/tracker/creation-run-tracker.service.js.map +1 -0
- package/dist/src/services/website/website-label-pack-audit.service.d.ts +11 -1
- package/dist/src/services/website/website-label-pack-audit.service.d.ts.map +1 -1
- package/dist/src/services/website/website-label-pack-audit.service.js +14 -2
- package/dist/src/services/website/website-label-pack-audit.service.js.map +1 -1
- package/package.json +20 -17
- package/scripts/dev-orchestrator/compile-diagnostic-protocol.mjs +189 -0
- package/scripts/dev-orchestrator/local-dev-protocol.mjs +683 -0
- package/scripts/dev-orchestrator/local-dev-status.mjs +1234 -0
- package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +8 -0
- package/templates/saas/scenarios/add-marketing-page/files/website/src/pages-impl/__pageRef__.page.tsx.hbs +9 -19
- package/templates/saas/scenarios/add-marketing-page/files/website/src/sections/__pageRef__.sections.tsx.hbs +6 -2
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/package.json.hbs +1 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/scripts/wait-for-publication.mjs +117 -8
- package/templates/saas/scenarios/add-technical-doc/scenario.json +3 -0
- package/templates/saas/scenarios/add-website/files/website/src/pages-impl/landing.page.tsx +7 -17
- package/templates/saas/scenarios/add-website/files/website/src/sections/landing.sections.tsx +9 -2
- package/templates/saas/scenarios/add-website/scenario.json +2 -0
- package/templates/saas/skeleton/CLAUDE.md.hbs +4 -1
- package/templates/saas/skeleton/frontend/tsconfig.json.hbs +6 -3
- package/templates/saas/skeleton/frontend/tsconfig.node.json +18 -3
- package/templates/saas/skeleton/frontend/vite-engine-dependency-prebundle.ts +247 -0
- package/templates/saas/skeleton/frontend/vite.config.ts.hbs +31 -15
- package/templates/saas/skeleton/specifications/src/brand/resolved-assets.generated.ts +10 -0
- package/templates/saas/skeleton/wildo.saas.config.ts.init.hbs +20 -6
- package/wildo-framework.info.json +1 -1
- package/dist/src/__tests__/sandbox-dependencies.test-helpers.d.ts +0 -8
- package/dist/src/__tests__/sandbox-dependencies.test-helpers.d.ts.map +0 -1
- package/dist/src/__tests__/sandbox-dependencies.test-helpers.js +0 -54
- package/dist/src/__tests__/sandbox-dependencies.test-helpers.js.map +0 -1
- package/dist/src/commands/__tests__/compose-dependency-preview.test.d.ts +0 -2
- package/dist/src/commands/__tests__/compose-dependency-preview.test.d.ts.map +0 -1
- package/dist/src/commands/__tests__/compose-dependency-preview.test.js +0 -271
- package/dist/src/commands/__tests__/compose-dependency-preview.test.js.map +0 -1
- package/dist/src/commands/__tests__/init-application-repository.test.d.ts +0 -2
- package/dist/src/commands/__tests__/init-application-repository.test.d.ts.map +0 -1
- package/dist/src/commands/__tests__/init-application-repository.test.js +0 -125
- package/dist/src/commands/__tests__/init-application-repository.test.js.map +0 -1
- package/dist/src/commands/__tests__/init-scaffold-dispatch.test.d.ts +0 -2
- package/dist/src/commands/__tests__/init-scaffold-dispatch.test.d.ts.map +0 -1
- package/dist/src/commands/__tests__/init-scaffold-dispatch.test.js +0 -51
- package/dist/src/commands/__tests__/init-scaffold-dispatch.test.js.map +0 -1
- package/dist/src/commands/__tests__/update.command.test.d.ts +0 -2
- package/dist/src/commands/__tests__/update.command.test.d.ts.map +0 -1
- package/dist/src/commands/__tests__/update.command.test.js +0 -249
- package/dist/src/commands/__tests__/update.command.test.js.map +0 -1
- package/dist/src/commands/acp/__tests__/probe.command.test.d.ts +0 -2
- package/dist/src/commands/acp/__tests__/probe.command.test.d.ts.map +0 -1
- package/dist/src/commands/acp/__tests__/probe.command.test.js +0 -36
- package/dist/src/commands/acp/__tests__/probe.command.test.js.map +0 -1
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.d.ts +0 -2
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.d.ts.map +0 -1
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.js +0 -259
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.js.map +0 -1
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.d.ts +0 -22
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.d.ts.map +0 -1
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js +0 -268
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js.map +0 -1
- package/dist/src/commands/config/__tests__/sync.command.test.d.ts +0 -2
- package/dist/src/commands/config/__tests__/sync.command.test.d.ts.map +0 -1
- package/dist/src/commands/config/__tests__/sync.command.test.js +0 -1591
- package/dist/src/commands/config/__tests__/sync.command.test.js.map +0 -1
- package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.d.ts +0 -2
- package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.d.ts.map +0 -1
- package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.js +0 -134
- package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.js.map +0 -1
- package/dist/src/commands/config/__tests__/sync.hosted.command.test.d.ts +0 -2
- package/dist/src/commands/config/__tests__/sync.hosted.command.test.d.ts.map +0 -1
- package/dist/src/commands/config/__tests__/sync.hosted.command.test.js +0 -106
- package/dist/src/commands/config/__tests__/sync.hosted.command.test.js.map +0 -1
- package/dist/src/commands/config/__tests__/validate.command.test.d.ts +0 -14
- package/dist/src/commands/config/__tests__/validate.command.test.d.ts.map +0 -1
- package/dist/src/commands/config/__tests__/validate.command.test.js +0 -1076
- package/dist/src/commands/config/__tests__/validate.command.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/assurance-basis.command.test.d.ts +0 -2
- package/dist/src/commands/context/__tests__/assurance-basis.command.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/assurance-basis.command.test.js +0 -63
- package/dist/src/commands/context/__tests__/assurance-basis.command.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.d.ts +0 -2
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.js +0 -118
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/default-service-key.test.d.ts +0 -2
- package/dist/src/commands/context/__tests__/default-service-key.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/default-service-key.test.js +0 -103
- package/dist/src/commands/context/__tests__/default-service-key.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/elements.command.test.d.ts +0 -2
- package/dist/src/commands/context/__tests__/elements.command.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/elements.command.test.js +0 -82
- package/dist/src/commands/context/__tests__/elements.command.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/info.command.test.d.ts +0 -2
- package/dist/src/commands/context/__tests__/info.command.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/info.command.test.js +0 -321
- package/dist/src/commands/context/__tests__/info.command.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/journey-application-line.test.d.ts +0 -2
- package/dist/src/commands/context/__tests__/journey-application-line.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/journey-application-line.test.js +0 -71
- package/dist/src/commands/context/__tests__/journey-application-line.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.d.ts +0 -2
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.js +0 -27
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/jurisdictions.command.test.d.ts +0 -19
- package/dist/src/commands/context/__tests__/jurisdictions.command.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/jurisdictions.command.test.js +0 -106
- package/dist/src/commands/context/__tests__/jurisdictions.command.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/pipelines.command.test.d.ts +0 -2
- package/dist/src/commands/context/__tests__/pipelines.command.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/pipelines.command.test.js +0 -136
- package/dist/src/commands/context/__tests__/pipelines.command.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/workspace.command.test.d.ts +0 -2
- package/dist/src/commands/context/__tests__/workspace.command.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/workspace.command.test.js +0 -78
- package/dist/src/commands/context/__tests__/workspace.command.test.js.map +0 -1
- package/dist/src/commands/creation/__tests__/creation.commands.test.d.ts +0 -2
- package/dist/src/commands/creation/__tests__/creation.commands.test.d.ts.map +0 -1
- package/dist/src/commands/creation/__tests__/creation.commands.test.js +0 -294
- package/dist/src/commands/creation/__tests__/creation.commands.test.js.map +0 -1
- package/dist/src/commands/creation/__tests__/revert.command.test.d.ts +0 -2
- package/dist/src/commands/creation/__tests__/revert.command.test.d.ts.map +0 -1
- package/dist/src/commands/creation/__tests__/revert.command.test.js +0 -62
- package/dist/src/commands/creation/__tests__/revert.command.test.js.map +0 -1
- package/dist/src/commands/db/__tests__/compiled-model-currency.test.d.ts +0 -2
- package/dist/src/commands/db/__tests__/compiled-model-currency.test.d.ts.map +0 -1
- package/dist/src/commands/db/__tests__/compiled-model-currency.test.js +0 -99
- package/dist/src/commands/db/__tests__/compiled-model-currency.test.js.map +0 -1
- package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.d.ts +0 -2
- package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.d.ts.map +0 -1
- package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.js +0 -68
- package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.js.map +0 -1
- package/dist/src/commands/dev/__tests__/design-tokens.command.test.d.ts +0 -2
- package/dist/src/commands/dev/__tests__/design-tokens.command.test.d.ts.map +0 -1
- package/dist/src/commands/dev/__tests__/design-tokens.command.test.js +0 -202
- package/dist/src/commands/dev/__tests__/design-tokens.command.test.js.map +0 -1
- package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.d.ts +0 -2
- package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.d.ts.map +0 -1
- package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.js +0 -69
- package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.js.map +0 -1
- package/dist/src/commands/dev/__tests__/start.command.test.d.ts +0 -2
- package/dist/src/commands/dev/__tests__/start.command.test.d.ts.map +0 -1
- package/dist/src/commands/dev/__tests__/start.command.test.js +0 -475
- package/dist/src/commands/dev/__tests__/start.command.test.js.map +0 -1
- package/dist/src/commands/dev/__tests__/start.hosted.command.test.d.ts +0 -2
- package/dist/src/commands/dev/__tests__/start.hosted.command.test.d.ts.map +0 -1
- package/dist/src/commands/dev/__tests__/start.hosted.command.test.js +0 -132
- package/dist/src/commands/dev/__tests__/start.hosted.command.test.js.map +0 -1
- package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.d.ts +0 -2
- package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.d.ts.map +0 -1
- package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.js +0 -88
- package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.js.map +0 -1
- package/dist/src/commands/dev/__tests__/stop.command.test.d.ts +0 -2
- package/dist/src/commands/dev/__tests__/stop.command.test.d.ts.map +0 -1
- package/dist/src/commands/dev/__tests__/stop.command.test.js +0 -72
- package/dist/src/commands/dev/__tests__/stop.command.test.js.map +0 -1
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.d.ts +0 -2
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.d.ts.map +0 -1
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js +0 -198
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js.map +0 -1
- package/dist/src/commands/docs/__tests__/publish.command.test.d.ts +0 -2
- package/dist/src/commands/docs/__tests__/publish.command.test.d.ts.map +0 -1
- package/dist/src/commands/docs/__tests__/publish.command.test.js +0 -124
- package/dist/src/commands/docs/__tests__/publish.command.test.js.map +0 -1
- package/dist/src/commands/frontend/__tests__/publish.command.test.d.ts +0 -2
- package/dist/src/commands/frontend/__tests__/publish.command.test.d.ts.map +0 -1
- package/dist/src/commands/frontend/__tests__/publish.command.test.js +0 -70
- package/dist/src/commands/frontend/__tests__/publish.command.test.js.map +0 -1
- package/dist/src/commands/fwk/__tests__/dev-skills.command.test.d.ts +0 -2
- package/dist/src/commands/fwk/__tests__/dev-skills.command.test.d.ts.map +0 -1
- package/dist/src/commands/fwk/__tests__/dev-skills.command.test.js +0 -79
- package/dist/src/commands/fwk/__tests__/dev-skills.command.test.js.map +0 -1
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.d.ts +0 -2
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.d.ts.map +0 -1
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js +0 -119
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js.map +0 -1
- package/dist/src/commands/fwk/__tests__/publish-all.command.test.d.ts +0 -2
- package/dist/src/commands/fwk/__tests__/publish-all.command.test.d.ts.map +0 -1
- package/dist/src/commands/fwk/__tests__/publish-all.command.test.js +0 -308
- package/dist/src/commands/fwk/__tests__/publish-all.command.test.js.map +0 -1
- package/dist/src/commands/generate/__tests__/email-command.utils.test.d.ts +0 -2
- package/dist/src/commands/generate/__tests__/email-command.utils.test.d.ts.map +0 -1
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js +0 -96
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js.map +0 -1
- package/dist/src/commands/generate/__tests__/email-test-send.command.test.d.ts +0 -2
- package/dist/src/commands/generate/__tests__/email-test-send.command.test.d.ts.map +0 -1
- package/dist/src/commands/generate/__tests__/email-test-send.command.test.js +0 -46
- package/dist/src/commands/generate/__tests__/email-test-send.command.test.js.map +0 -1
- package/dist/src/commands/generate/__tests__/empty-unit-selection.test.d.ts +0 -2
- package/dist/src/commands/generate/__tests__/empty-unit-selection.test.d.ts.map +0 -1
- package/dist/src/commands/generate/__tests__/empty-unit-selection.test.js +0 -33
- package/dist/src/commands/generate/__tests__/empty-unit-selection.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/dev-status.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/dev-status.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/dev-status.command.test.js +0 -58
- package/dist/src/commands/local/__tests__/dev-status.command.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/dev.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/dev.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/dev.command.test.js +0 -467
- package/dist/src/commands/local/__tests__/dev.command.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/dev.hosted.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/dev.hosted.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/dev.hosted.command.test.js +0 -164
- package/dist/src/commands/local/__tests__/dev.hosted.command.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/doctor.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/doctor.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/doctor.command.test.js +0 -285
- package/dist/src/commands/local/__tests__/doctor.command.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/doctor.hosted.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/doctor.hosted.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/doctor.hosted.command.test.js +0 -111
- package/dist/src/commands/local/__tests__/doctor.hosted.command.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/hosted-refusals.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/hosted-refusals.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/hosted-refusals.command.test.js +0 -136
- package/dist/src/commands/local/__tests__/hosted-refusals.command.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/init.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/init.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/init.command.test.js +0 -110
- package/dist/src/commands/local/__tests__/init.command.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/reinit.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/reinit.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/reinit.command.test.js +0 -186
- package/dist/src/commands/local/__tests__/reinit.command.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/reset.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/reset.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/reset.command.test.js +0 -308
- package/dist/src/commands/local/__tests__/reset.command.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/up.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/up.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/up.command.test.js +0 -225
- package/dist/src/commands/local/__tests__/up.command.test.js.map +0 -1
- package/dist/src/commands/lock/__tests__/check.command.test.d.ts +0 -11
- package/dist/src/commands/lock/__tests__/check.command.test.d.ts.map +0 -1
- package/dist/src/commands/lock/__tests__/check.command.test.js +0 -140
- package/dist/src/commands/lock/__tests__/check.command.test.js.map +0 -1
- package/dist/src/commands/lock/__tests__/check.live.contract.test.d.ts +0 -35
- package/dist/src/commands/lock/__tests__/check.live.contract.test.d.ts.map +0 -1
- package/dist/src/commands/lock/__tests__/check.live.contract.test.js +0 -122
- package/dist/src/commands/lock/__tests__/check.live.contract.test.js.map +0 -1
- package/dist/src/commands/market/__tests__/generate.command.test.d.ts +0 -2
- package/dist/src/commands/market/__tests__/generate.command.test.d.ts.map +0 -1
- package/dist/src/commands/market/__tests__/generate.command.test.js +0 -217
- package/dist/src/commands/market/__tests__/generate.command.test.js.map +0 -1
- package/dist/src/commands/market/__tests__/market-command.utils.test.d.ts +0 -2
- package/dist/src/commands/market/__tests__/market-command.utils.test.d.ts.map +0 -1
- package/dist/src/commands/market/__tests__/market-command.utils.test.js +0 -148
- package/dist/src/commands/market/__tests__/market-command.utils.test.js.map +0 -1
- package/dist/src/commands/providers/__tests__/required-inputs.test.d.ts +0 -2
- package/dist/src/commands/providers/__tests__/required-inputs.test.d.ts.map +0 -1
- package/dist/src/commands/providers/__tests__/required-inputs.test.js +0 -35
- package/dist/src/commands/providers/__tests__/required-inputs.test.js.map +0 -1
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.d.ts +0 -10
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.d.ts.map +0 -1
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.js +0 -232
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.js.map +0 -1
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.d.ts +0 -11
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.d.ts.map +0 -1
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.js +0 -450
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.js.map +0 -1
- package/dist/src/commands/registry/__tests__/publish.test.d.ts +0 -2
- package/dist/src/commands/registry/__tests__/publish.test.d.ts.map +0 -1
- package/dist/src/commands/registry/__tests__/publish.test.js +0 -196
- package/dist/src/commands/registry/__tests__/publish.test.js.map +0 -1
- package/dist/src/commands/registry/__tests__/repair-contract.test.d.ts +0 -2
- package/dist/src/commands/registry/__tests__/repair-contract.test.d.ts.map +0 -1
- package/dist/src/commands/registry/__tests__/repair-contract.test.js +0 -168
- package/dist/src/commands/registry/__tests__/repair-contract.test.js.map +0 -1
- package/dist/src/commands/registry/__tests__/requirements.test.d.ts +0 -2
- package/dist/src/commands/registry/__tests__/requirements.test.d.ts.map +0 -1
- package/dist/src/commands/registry/__tests__/requirements.test.js +0 -500
- package/dist/src/commands/registry/__tests__/requirements.test.js.map +0 -1
- package/dist/src/commands/registry/__tests__/version-resolution.test.d.ts +0 -2
- package/dist/src/commands/registry/__tests__/version-resolution.test.d.ts.map +0 -1
- package/dist/src/commands/registry/__tests__/version-resolution.test.js +0 -87
- package/dist/src/commands/registry/__tests__/version-resolution.test.js.map +0 -1
- package/dist/src/commands/registry/__tests__/yank.test.d.ts +0 -9
- package/dist/src/commands/registry/__tests__/yank.test.d.ts.map +0 -1
- package/dist/src/commands/registry/__tests__/yank.test.js +0 -92
- package/dist/src/commands/registry/__tests__/yank.test.js.map +0 -1
- package/dist/src/commands/remote/__tests__/remote-commands.test.d.ts +0 -2
- package/dist/src/commands/remote/__tests__/remote-commands.test.d.ts.map +0 -1
- package/dist/src/commands/remote/__tests__/remote-commands.test.js +0 -100
- package/dist/src/commands/remote/__tests__/remote-commands.test.js.map +0 -1
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.d.ts +0 -2
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.d.ts.map +0 -1
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.js +0 -61
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.js.map +0 -1
- package/dist/src/commands/website/__tests__/audit.command.test.d.ts +0 -2
- package/dist/src/commands/website/__tests__/audit.command.test.d.ts.map +0 -1
- package/dist/src/commands/website/__tests__/audit.command.test.js +0 -163
- package/dist/src/commands/website/__tests__/audit.command.test.js.map +0 -1
- package/dist/src/commands/workbench/__tests__/parallelism.command.test.d.ts +0 -2
- package/dist/src/commands/workbench/__tests__/parallelism.command.test.d.ts.map +0 -1
- package/dist/src/commands/workbench/__tests__/parallelism.command.test.js +0 -51
- package/dist/src/commands/workbench/__tests__/parallelism.command.test.js.map +0 -1
- package/dist/src/commands/workbench/__tests__/workbench.commands.test.d.ts +0 -2
- package/dist/src/commands/workbench/__tests__/workbench.commands.test.d.ts.map +0 -1
- package/dist/src/commands/workbench/__tests__/workbench.commands.test.js +0 -59
- package/dist/src/commands/workbench/__tests__/workbench.commands.test.js.map +0 -1
- package/dist/src/infrastructure/process/__tests__/spawn.utils.test.d.ts +0 -2
- package/dist/src/infrastructure/process/__tests__/spawn.utils.test.d.ts.map +0 -1
- package/dist/src/infrastructure/process/__tests__/spawn.utils.test.js +0 -138
- package/dist/src/infrastructure/process/__tests__/spawn.utils.test.js.map +0 -1
- package/dist/src/kernel/__tests__/bootstrap.test.d.ts +0 -2
- package/dist/src/kernel/__tests__/bootstrap.test.d.ts.map +0 -1
- package/dist/src/kernel/__tests__/bootstrap.test.js +0 -88
- package/dist/src/kernel/__tests__/bootstrap.test.js.map +0 -1
- package/dist/src/kernel/__tests__/command-registry.test.d.ts +0 -2
- package/dist/src/kernel/__tests__/command-registry.test.d.ts.map +0 -1
- package/dist/src/kernel/__tests__/command-registry.test.js +0 -197
- package/dist/src/kernel/__tests__/command-registry.test.js.map +0 -1
- package/dist/src/kernel/__tests__/command-runner.test.d.ts +0 -2
- package/dist/src/kernel/__tests__/command-runner.test.d.ts.map +0 -1
- package/dist/src/kernel/__tests__/command-runner.test.js +0 -285
- package/dist/src/kernel/__tests__/command-runner.test.js.map +0 -1
- package/dist/src/kernel/__tests__/command-scope-utils.test.d.ts +0 -2
- package/dist/src/kernel/__tests__/command-scope-utils.test.d.ts.map +0 -1
- package/dist/src/kernel/__tests__/command-scope-utils.test.js +0 -46
- package/dist/src/kernel/__tests__/command-scope-utils.test.js.map +0 -1
- package/dist/src/kernel/__tests__/flag-utils.test.d.ts +0 -2
- package/dist/src/kernel/__tests__/flag-utils.test.d.ts.map +0 -1
- package/dist/src/kernel/__tests__/flag-utils.test.js +0 -38
- package/dist/src/kernel/__tests__/flag-utils.test.js.map +0 -1
- package/dist/src/kernel/__tests__/hooks.test.d.ts +0 -2
- package/dist/src/kernel/__tests__/hooks.test.d.ts.map +0 -1
- package/dist/src/kernel/__tests__/hooks.test.js +0 -72
- package/dist/src/kernel/__tests__/hooks.test.js.map +0 -1
- package/dist/src/kernel/__tests__/machine-preference-answers.test.d.ts +0 -2
- package/dist/src/kernel/__tests__/machine-preference-answers.test.d.ts.map +0 -1
- package/dist/src/kernel/__tests__/machine-preference-answers.test.js +0 -118
- package/dist/src/kernel/__tests__/machine-preference-answers.test.js.map +0 -1
- package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.d.ts +0 -2
- package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.d.ts.map +0 -1
- package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.js +0 -88
- package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.js.map +0 -1
- package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.d.ts +0 -2
- package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.d.ts.map +0 -1
- package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.js +0 -154
- package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.js.map +0 -1
- package/dist/src/modules/domain/environment/__tests__/database-config.module.test.d.ts +0 -2
- package/dist/src/modules/domain/environment/__tests__/database-config.module.test.d.ts.map +0 -1
- package/dist/src/modules/domain/environment/__tests__/database-config.module.test.js +0 -89
- package/dist/src/modules/domain/environment/__tests__/database-config.module.test.js.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.js +0 -112
- package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.js.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js +0 -91
- package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.js +0 -140
- package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.js.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.js +0 -220
- package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.js.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js +0 -114
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.js +0 -884
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js +0 -254
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js.map +0 -1
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js +0 -263
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.js +0 -51
- package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.js.map +0 -1
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js +0 -160
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/application-creation-readiness.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/application-creation-readiness.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/application-creation-readiness.test.js +0 -152
- package/dist/src/services/application/__tests__/application-creation-readiness.test.js.map +0 -1
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js +0 -233
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.js +0 -29
- package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.js.map +0 -1
- package/dist/src/services/application/__tests__/application-initialization-verification.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/application-initialization-verification.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/application-initialization-verification.service.test.js +0 -159
- package/dist/src/services/application/__tests__/application-initialization-verification.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.js +0 -143
- package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.js +0 -41
- package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.js.map +0 -1
- package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.js +0 -65
- package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.js.map +0 -1
- package/dist/src/services/application/__tests__/dev-orchestrator.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/dev-orchestrator.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/dev-orchestrator.service.test.js +0 -46
- package/dist/src/services/application/__tests__/dev-orchestrator.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/dev-schema-drift.service.test.d.ts +0 -10
- package/dist/src/services/application/__tests__/dev-schema-drift.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/dev-schema-drift.service.test.js +0 -156
- package/dist/src/services/application/__tests__/dev-schema-drift.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.js +0 -60
- package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js +0 -298
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/frontend-provider-source.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/frontend-provider-source.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/frontend-provider-source.service.test.js +0 -118
- package/dist/src/services/application/__tests__/frontend-provider-source.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js +0 -175
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.js +0 -31
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.js.map +0 -1
- package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.js +0 -82
- package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.js.map +0 -1
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.js +0 -383
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/local-application-initialization.guard.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/local-application-initialization.guard.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/local-application-initialization.guard.test.js +0 -98
- package/dist/src/services/application/__tests__/local-application-initialization.guard.test.js.map +0 -1
- package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js +0 -138
- package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js.map +0 -1
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.js +0 -129
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.js +0 -76
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.js.map +0 -1
- package/dist/src/services/application/__tests__/provider-package-links.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/provider-package-links.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/provider-package-links.service.test.js +0 -284
- package/dist/src/services/application/__tests__/provider-package-links.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.js +0 -40
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.js.map +0 -1
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js +0 -946
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.d.ts +0 -19
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js +0 -188
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js.map +0 -1
- package/dist/src/services/application/__tests__/saas-scaffold.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/saas-scaffold.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/saas-scaffold.service.test.js +0 -29
- package/dist/src/services/application/__tests__/saas-scaffold.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.js +0 -860
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.js +0 -180
- package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.js.map +0 -1
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.js +0 -79
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.js.map +0 -1
- package/dist/src/services/catalog/__tests__/durable-state-classification.test.d.ts +0 -2
- package/dist/src/services/catalog/__tests__/durable-state-classification.test.d.ts.map +0 -1
- package/dist/src/services/catalog/__tests__/durable-state-classification.test.js +0 -93
- package/dist/src/services/catalog/__tests__/durable-state-classification.test.js.map +0 -1
- package/dist/src/services/catalog/__tests__/live-recreate-classification.test.d.ts +0 -2
- package/dist/src/services/catalog/__tests__/live-recreate-classification.test.d.ts.map +0 -1
- package/dist/src/services/catalog/__tests__/live-recreate-classification.test.js +0 -89
- package/dist/src/services/catalog/__tests__/live-recreate-classification.test.js.map +0 -1
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.d.ts +0 -2
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.d.ts.map +0 -1
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js +0 -172
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js.map +0 -1
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.d.ts +0 -2
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.d.ts.map +0 -1
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js +0 -152
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js.map +0 -1
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.d.ts +0 -2
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.d.ts.map +0 -1
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js +0 -123
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js.map +0 -1
- package/dist/src/services/companion/__tests__/companion-client.service.test.d.ts +0 -10
- package/dist/src/services/companion/__tests__/companion-client.service.test.d.ts.map +0 -1
- package/dist/src/services/companion/__tests__/companion-client.service.test.js +0 -241
- package/dist/src/services/companion/__tests__/companion-client.service.test.js.map +0 -1
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.d.ts +0 -2
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.d.ts.map +0 -1
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.js +0 -25
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.js.map +0 -1
- package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.d.ts +0 -2
- package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.d.ts.map +0 -1
- package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.js +0 -74
- package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.js.map +0 -1
- package/dist/src/services/companion/__tests__/console-fast-path.test.d.ts +0 -2
- package/dist/src/services/companion/__tests__/console-fast-path.test.d.ts.map +0 -1
- package/dist/src/services/companion/__tests__/console-fast-path.test.js +0 -138
- package/dist/src/services/companion/__tests__/console-fast-path.test.js.map +0 -1
- package/dist/src/services/companion/__tests__/creation-watch.test.d.ts +0 -2
- package/dist/src/services/companion/__tests__/creation-watch.test.d.ts.map +0 -1
- package/dist/src/services/companion/__tests__/creation-watch.test.js +0 -86
- package/dist/src/services/companion/__tests__/creation-watch.test.js.map +0 -1
- package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.d.ts +0 -2
- package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.d.ts.map +0 -1
- package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.js +0 -14
- package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.js.map +0 -1
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.d.ts +0 -2
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.d.ts.map +0 -1
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.js +0 -51
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.js.map +0 -1
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.d.ts +0 -2
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.d.ts.map +0 -1
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.js +0 -71
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.js.map +0 -1
- package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.d.ts +0 -2
- package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.d.ts.map +0 -1
- package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.js +0 -85
- package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.js.map +0 -1
- package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.d.ts +0 -2
- package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.d.ts.map +0 -1
- package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.js +0 -289
- package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.js.map +0 -1
- package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.d.ts +0 -2
- package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.d.ts.map +0 -1
- package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.js +0 -78
- package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.js.map +0 -1
- package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.d.ts +0 -2
- package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.d.ts.map +0 -1
- package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.js +0 -67
- package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.js.map +0 -1
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.d.ts +0 -2
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.d.ts.map +0 -1
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.js +0 -109
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.js.map +0 -1
- package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.d.ts +0 -2
- package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.d.ts.map +0 -1
- package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.js +0 -54
- package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.js.map +0 -1
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.d.ts +0 -2
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.d.ts.map +0 -1
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js +0 -56
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js.map +0 -1
- package/dist/src/services/context/__tests__/context-manager.service.test.d.ts +0 -2
- package/dist/src/services/context/__tests__/context-manager.service.test.d.ts.map +0 -1
- package/dist/src/services/context/__tests__/context-manager.service.test.js +0 -119
- package/dist/src/services/context/__tests__/context-manager.service.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.js +0 -138
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.js +0 -201
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.d.ts +0 -28
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js +0 -239
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.js +0 -328
- package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.js +0 -52
- package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.js +0 -89
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.d.ts +0 -14
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js +0 -284
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.js +0 -56
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js +0 -95
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.js +0 -113
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.js +0 -271
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/secrets-contracts.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/secrets-contracts.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/secrets-contracts.test.js +0 -277
- package/dist/src/services/credentials/__tests__/secrets-contracts.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.js +0 -54
- package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js +0 -61
- package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.js +0 -64
- package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.js +0 -90
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js +0 -369
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js +0 -51
- package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js +0 -148
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.js +0 -47
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js +0 -799
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.d.ts +0 -20
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js +0 -348
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.js +0 -83
- package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.js +0 -211
- package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.js +0 -68
- package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.js +0 -97
- package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.js +0 -258
- package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.js +0 -336
- package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.js +0 -100
- package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.js +0 -79
- package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.d.ts +0 -11
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js +0 -494
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js +0 -229
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js +0 -145
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.js +0 -100
- package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.js +0 -245
- package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.js +0 -27
- package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.js +0 -88
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.js.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.d.ts +0 -2
- package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.d.ts.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js +0 -339
- package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.d.ts +0 -2
- package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.d.ts.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.js +0 -45
- package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.js.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.d.ts +0 -2
- package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.d.ts.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.js +0 -81
- package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.js.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.d.ts +0 -2
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.d.ts.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.js +0 -151
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.js.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.d.ts +0 -2
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js +0 -1183
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.d.ts +0 -2
- package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.js +0 -156
- package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.js.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.d.ts +0 -2
- package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js +0 -199
- package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.js +0 -81
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.js +0 -62
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.js +0 -265
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.js +0 -77
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js +0 -1087
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.js +0 -39
- package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.js +0 -235
- package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.js +0 -71
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js +0 -307
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/kind.service.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/kind.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/kind.service.test.js +0 -47
- package/dist/src/services/deployment/k8s/__tests__/kind.service.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.js +0 -22
- package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.js +0 -52
- package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/compose-converge-args.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/compose-converge-args.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/compose-converge-args.test.js +0 -112
- package/dist/src/services/environment/__tests__/compose-converge-args.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/config-hydration-seam.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/config-hydration-seam.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/config-hydration-seam.test.js +0 -105
- package/dist/src/services/environment/__tests__/config-hydration-seam.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.js +0 -86
- package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js +0 -571
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/env-sync.hosted.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/env-sync.hosted.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/env-sync.hosted.test.js +0 -80
- package/dist/src/services/environment/__tests__/env-sync.hosted.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/env-sync.service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/env-sync.service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/env-sync.service.test.js +0 -195
- package/dist/src/services/environment/__tests__/env-sync.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js +0 -1896
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/environment-hydration.utils.test.d.ts +0 -22
- package/dist/src/services/environment/__tests__/environment-hydration.utils.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/environment-hydration.utils.test.js +0 -110
- package/dist/src/services/environment/__tests__/environment-hydration.utils.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.js +0 -82
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.js +0 -116
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js +0 -128
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/environment-paths.service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/environment-paths.service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/environment-paths.service.test.js +0 -18
- package/dist/src/services/environment/__tests__/environment-paths.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.js +0 -220
- package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/environment-registry.service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/environment-registry.service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/environment-registry.service.test.js +0 -175
- package/dist/src/services/environment/__tests__/environment-registry.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js +0 -321
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.js +0 -83
- package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/infrastructure-host.service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/infrastructure-host.service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/infrastructure-host.service.test.js +0 -162
- package/dist/src/services/environment/__tests__/infrastructure-host.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.js +0 -96
- package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/platform-image-ref.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/platform-image-ref.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/platform-image-ref.test.js +0 -109
- package/dist/src/services/environment/__tests__/platform-image-ref.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.js +0 -48
- package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.js +0 -96
- package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.js +0 -150
- package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.js +0 -79
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.js +0 -108
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/application-claude-settings.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/application-claude-settings.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/application-claude-settings.test.js +0 -174
- package/dist/src/services/framework/__tests__/application-claude-settings.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/application-rule-imports.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/application-rule-imports.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/application-rule-imports.test.js +0 -58
- package/dist/src/services/framework/__tests__/application-rule-imports.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.js +0 -152
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.js +0 -81
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.js +0 -66
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.js +0 -58
- package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.d.ts +0 -14
- package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.js +0 -65
- package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.js +0 -41
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.js +0 -38
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.js +0 -181
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.js +0 -415
- package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.js +0 -100
- package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js +0 -270
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js +0 -1731
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js +0 -1211
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.js +0 -783
- package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js +0 -545
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-release.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-release.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-release.service.test.js +0 -96
- package/dist/src/services/framework/__tests__/framework-release.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-secrets-writer.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-secrets-writer.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-secrets-writer.test.js +0 -64
- package/dist/src/services/framework/__tests__/framework-secrets-writer.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-update.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-update.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-update.service.test.js +0 -348
- package/dist/src/services/framework/__tests__/framework-update.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-version.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-version.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-version.service.test.js +0 -105
- package/dist/src/services/framework/__tests__/framework-version.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.js +0 -200
- package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.js +0 -60
- package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.js +0 -20
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.js +0 -28
- package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.js +0 -60
- package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.js +0 -57
- package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.js +0 -100
- package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.js +0 -92
- package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.js +0 -95
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.js +0 -255
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.js +0 -83
- package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js +0 -114
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.js +0 -905
- package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.js +0 -228
- package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js +0 -310
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js +0 -351
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.js +0 -363
- package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js +0 -226
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.js +0 -399
- package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.js +0 -177
- package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.js +0 -48
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.js +0 -818
- package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.d.ts +0 -9
- package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.js +0 -77
- package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.js +0 -221
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.js +0 -144
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.js.map +0 -1
- package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.d.ts +0 -2
- package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.d.ts.map +0 -1
- package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.js +0 -70
- package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.js.map +0 -1
- package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.d.ts +0 -2
- package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.d.ts.map +0 -1
- package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.js +0 -52
- package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.js.map +0 -1
- package/dist/src/services/frontend/__tests__/frontend-publish.service.test.d.ts +0 -2
- package/dist/src/services/frontend/__tests__/frontend-publish.service.test.d.ts.map +0 -1
- package/dist/src/services/frontend/__tests__/frontend-publish.service.test.js +0 -135
- package/dist/src/services/frontend/__tests__/frontend-publish.service.test.js.map +0 -1
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.d.ts +0 -2
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.d.ts.map +0 -1
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.js +0 -85
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.js.map +0 -1
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.d.ts +0 -2
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.d.ts.map +0 -1
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.js +0 -159
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.js.map +0 -1
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts +0 -8
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts.map +0 -1
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.js +0 -148
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.js.map +0 -1
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.d.ts +0 -2
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.d.ts.map +0 -1
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.js +0 -50
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.js.map +0 -1
- package/dist/src/services/registry/__tests__/module-registration.service.test.d.ts +0 -2
- package/dist/src/services/registry/__tests__/module-registration.service.test.d.ts.map +0 -1
- package/dist/src/services/registry/__tests__/module-registration.service.test.js +0 -302
- package/dist/src/services/registry/__tests__/module-registration.service.test.js.map +0 -1
- package/dist/src/services/registry/__tests__/module-requirements.service.test.d.ts +0 -2
- package/dist/src/services/registry/__tests__/module-requirements.service.test.d.ts.map +0 -1
- package/dist/src/services/registry/__tests__/module-requirements.service.test.js +0 -138
- package/dist/src/services/registry/__tests__/module-requirements.service.test.js.map +0 -1
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.d.ts +0 -2
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.d.ts.map +0 -1
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.js +0 -68
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.js.map +0 -1
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.d.ts +0 -2
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.d.ts.map +0 -1
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.js +0 -91
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.js.map +0 -1
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.d.ts +0 -2
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.d.ts.map +0 -1
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.js +0 -67
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.js.map +0 -1
- package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.d.ts +0 -67
- package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.d.ts.map +0 -1
- package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js +0 -229
- package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js.map +0 -1
- package/dist/src/services/security/__tests__/csp-boundary.test.d.ts +0 -2
- package/dist/src/services/security/__tests__/csp-boundary.test.d.ts.map +0 -1
- package/dist/src/services/security/__tests__/csp-boundary.test.js +0 -103
- package/dist/src/services/security/__tests__/csp-boundary.test.js.map +0 -1
- package/dist/src/services/security/__tests__/csp-sync.service.test.d.ts +0 -2
- package/dist/src/services/security/__tests__/csp-sync.service.test.d.ts.map +0 -1
- package/dist/src/services/security/__tests__/csp-sync.service.test.js +0 -617
- package/dist/src/services/security/__tests__/csp-sync.service.test.js.map +0 -1
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.d.ts +0 -2
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.d.ts.map +0 -1
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js +0 -117
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js.map +0 -1
- package/dist/src/test-utils/certificate-fixtures.test.utils.d.ts +0 -21
- package/dist/src/test-utils/certificate-fixtures.test.utils.d.ts.map +0 -1
- package/dist/src/test-utils/certificate-fixtures.test.utils.js +0 -57
- package/dist/src/test-utils/certificate-fixtures.test.utils.js.map +0 -1
- package/dist/src/test-utils/resolved-homes.test.utils.d.ts +0 -4
- package/dist/src/test-utils/resolved-homes.test.utils.d.ts.map +0 -1
- package/dist/src/test-utils/resolved-homes.test.utils.js +0 -18
- package/dist/src/test-utils/resolved-homes.test.utils.js.map +0 -1
- package/dist/tsconfig.build.tsbuildinfo +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"infrastructure-host.service.js","sourceRoot":"","sources":["../../../../../../src/services/environment/infrastructure-host.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAErF,OAAO,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAC;AACnG,OAAO,EAAE,gBAAgB,EAAE,MAAM,2DAA2D,CAAC;AAE7F,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAOjE;;;GAGG;AACH,MAAM,CAAN,IAAY,0BAYX;AAZD,WAAY,0BAA0B;IACpC,iFAAmD,CAAA;IACnD,uEAAyC,CAAA;IACzC,qFAAuD,CAAA;IACvD,6EAA+C,CAAA;IAC/C,qFAAuD,CAAA;IACvD,yEAA2C,CAAA;IAC3C,+DAAiC,CAAA;IACjC,6DAA+B,CAAA;IAC/B,2EAA6C,CAAA;IAC7C,qFAAuD,CAAA;IACvD,6EAA+C,CAA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;QAC7C,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;YAClB,MAAM,IAAI,oCAAoC,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;QACzE,CAAC;IACH,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,2BAA2B,CAAC,IAAmC,EAAE,OAAe;QACrF,OAAO,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,uBAAuB,EAAE,OAAO,EAAE,gBAAgB,CAAC,CAAC;IACzG,CAAC;CACF","sourcesContent":["/**\n * infrastructure-host — the one question every shared-infrastructure action asks first: does THIS\n * application own the infrastructure of this environment, or does it run on another application's?\n *\n * Several applications share one platform per environment. One OWNS it — its Docker Compose project or\n * cluster, its backing services, its platform services — and the others declare that owner as their\n * `infrastructureHost` in `wildo.infra.<env>.config.ts`. A hosted application registers against the\n * host's running platform and writes its OWN runtime material; everything that renders, starts, stops,\n * recreates, wipes or initializes SHARED infrastructure belongs to the host.\n *\n * Before this existed, \"whoever ran the command\" owned the shared substrate. Every application rendered\n * its own `wildo-local` compose file with the same container names and its own `local_data`, so the last\n * application to start decided the containers' configuration, credentials and data (issue #50 is the\n * outage that produced, and the runtime lease it added only protects a session that is RUNNING).\n * Declaring the host makes ownership a fact of the repository rather than of timing.\n */\n\nimport { join } from 'path';\nimport { loadInfraEnvConfig, resolveAppLayout } from '@wildo-ai/platform-config-lib';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\nimport { EnvironmentRegistry } from '~wildo-cli/services/environment/environment-registry.service';\nimport { EnvironmentPaths } from '~wildo-cli/services/environment/environment-paths.service';\n\nimport { describeCaughtError } from '@wildo-ai/saas-backend-lib';\n/** The resolved host of a hosted environment (absolute paths, produced by `loadInfraEnvConfig`). */\nexport interface EnvironmentInfrastructureHost {\n applicationRoot: string;\n infraConfigPath: string;\n}\n\n/**\n * The actions only an environment's infrastructure OWNER may perform. Each guard site names one, so the\n * refusal can say precisely what was refused and which host command does it instead.\n */\nexport enum SharedInfrastructureAction {\n RENDER_PLATFORM_COMPOSE = 'render-platform-compose',\n WRITE_PLATFORM_ENV = 'write-platform-env',\n CONVERGE_BACKING_SERVICES = 'converge-backing-services',\n STOP_BACKING_SERVICES = 'stop-backing-services',\n WIPE_BACKING_SERVICE_DATA = 'wipe-backing-service-data',\n INITIALIZE_PLATFORM = 'initialize-platform',\n START_PLATFORM = 'start-platform',\n STOP_PLATFORM = 'stop-platform',\n BOOTSTRAP_KUBERNETES = 'bootstrap-kubernetes',\n RENDER_PLATFORM_MANIFESTS = 'render-platform-manifests',\n ROTATE_SHARED_SECRETS = 'rotate-shared-secrets',\n}\n\nconst SHARED_INFRASTRUCTURE_ACTIONS: Readonly<Record<SharedInfrastructureAction, { refused: string; hostCommand: string }>> = {\n [SharedInfrastructureAction.RENDER_PLATFORM_COMPOSE]: {\n refused: 'render the shared platform Docker Compose file',\n hostCommand: 'wildo config sync --domain manifest',\n },\n [SharedInfrastructureAction.WRITE_PLATFORM_ENV]: {\n refused: 'write the shared platform environment file (.env.wildo-platform)',\n hostCommand: 'wildo config sync --domain env-files',\n },\n [SharedInfrastructureAction.CONVERGE_BACKING_SERVICES]: {\n refused: 'start or recreate the shared backing services',\n hostCommand: 'wildo local dev',\n },\n [SharedInfrastructureAction.STOP_BACKING_SERVICES]: {\n refused: 'stop the shared backing services',\n hostCommand: 'wildo local down',\n },\n [SharedInfrastructureAction.WIPE_BACKING_SERVICE_DATA]: {\n refused: 'wipe the shared backing-service data',\n hostCommand: 'wildo local reset',\n },\n [SharedInfrastructureAction.INITIALIZE_PLATFORM]: {\n refused: 'initialize the shared platform',\n hostCommand: 'wildo local init',\n },\n [SharedInfrastructureAction.START_PLATFORM]: {\n refused: 'start the shared platform services',\n hostCommand: 'wildo local dev',\n },\n [SharedInfrastructureAction.STOP_PLATFORM]: {\n refused: 'stop the shared platform services',\n hostCommand: 'wildo local down',\n },\n [SharedInfrastructureAction.BOOTSTRAP_KUBERNETES]: {\n refused: 'bootstrap the shared Kubernetes cluster',\n hostCommand: 'wildo setup',\n },\n [SharedInfrastructureAction.RENDER_PLATFORM_MANIFESTS]: {\n refused: 'render the shared Kubernetes manifests',\n hostCommand: 'wildo config sync --domain manifest',\n },\n [SharedInfrastructureAction.ROTATE_SHARED_SECRETS]: {\n refused: 'rotate the shared platform and backing-service secrets',\n hostCommand: 'wildo config sync --domain secrets --rotate-secrets',\n },\n};\n\n/**\n * A hosted application attempted an action that belongs to its infrastructure host. Names the host and\n * the command to run there, because the remedy is never \"retry here\".\n */\nexport class SharedInfrastructureOwnedByHostError extends Error {\n readonly host: EnvironmentInfrastructureHost;\n readonly action: SharedInfrastructureAction;\n\n constructor(envName: string, host: EnvironmentInfrastructureHost, action: SharedInfrastructureAction) {\n const { refused, hostCommand } = SHARED_INFRASTRUCTURE_ACTIONS[action];\n super(\n `This application runs on the infrastructure of ${host.applicationRoot} in environment '${envName}' `\n + `(declared by infrastructureHost), so it cannot ${refused} — that belongs to the host. Run it from the host application:\\n`\n + ` cd ${host.applicationRoot} && ${hostCommand}\\n`\n + 'If this environment no longer declares infrastructureHost, its generated state still describes the host: reconcile it '\n + 'first with `wildo local init` (or `wildo config sync`).',\n );\n this.name = 'SharedInfrastructureOwnedByHostError';\n this.host = host;\n this.action = action;\n }\n}\n\nexport class InfrastructureHost {\n /**\n * The host of `env`, or `null` when this application owns the environment's infrastructure.\n *\n * FAIL-CLOSED over the two persisted copies: a host named by EITHER the generated `config.json` or the\n * registry record wins. The two can disagree for a moment — `config.json` is rewritten by a reconcile,\n * the record by a refresh, and an operator may have added the link between the two — and the costs of\n * the two mistakes are not symmetric. Reading a hosted application as standalone recreates the host's\n * containers under the wrong configuration, which is an outage; reading a standalone one as hosted\n * refuses a command with a message that names the reconcile. So an ambiguity reads as hosted.\n *\n * Synchronous, because the guard sites are. Command ENTRY decisions, which run before any reconcile,\n * use {@link resolveAuthored} instead and read the authored descriptor itself.\n */\n static resolve(env: Pick<PlatformEnvironmentConfiguration, 'name' | 'infrastructureHost'>): EnvironmentInfrastructureHost | null {\n return env.infrastructureHost ?? InfrastructureHost.readPersistedHost(env.name);\n }\n\n /** {@link resolve} for a caller holding only the environment's name. */\n static resolveByName(envName: string): EnvironmentInfrastructureHost | null {\n return InfrastructureHost.readPersistedHost(envName);\n }\n\n /**\n * The host named by the PERSISTED copies (`config.json`, the registry record), or `null` when neither\n * names one — or when there is no targeted application scope to read them from at all.\n *\n * That last case returns `null` rather than throwing, and it is not an opening: a guard runs inside\n * lanes that have no application root (a CI render, a unit under test), and every path that turns an\n * environment into a HOSTED one also writes `infrastructureHost` onto the in-memory record the caller\n * passes to {@link resolve} — the seed, the authored refresh, the `config.json` hydration and setup. The\n * persisted copies are the second source, consulted to catch a record that has not been refreshed yet.\n */\n private static readPersistedHost(envName: string): EnvironmentInfrastructureHost | null {\n try {\n return EnvironmentRegistry.resolveInfrastructureHost(envName, EnvironmentPaths.resolveConfigDir(envName));\n } catch {\n return null;\n }\n }\n\n /**\n * For a command about to act on shared infrastructure: whose infrastructure is this, per the AUTHORED\n * descriptor when the application root is known and a descriptor exists — the authority, and the only\n * source that is current before any reconcile. The persisted copies are consulted only when there is no\n * descriptor to read (no targeted root, or an environment authored nowhere).\n *\n * An existing standalone descriptor therefore answers `null` even while a stale `config.json` still names\n * a host: the operator removed the link, and the command reconciles the persisted copies itself.\n */\n static async resolveForCommand(\n saasRoot: string | null | undefined,\n env: Pick<PlatformEnvironmentConfiguration, 'name' | 'infrastructureHost'>,\n ): Promise<EnvironmentInfrastructureHost | null> {\n if (saasRoot) {\n const loaded = await loadInfraEnvConfig(saasRoot, env.name);\n if (loaded !== null) return loaded.config.infrastructureHost ?? null;\n }\n return InfrastructureHost.resolve(env);\n }\n\n static isHosted(env: Pick<PlatformEnvironmentConfiguration, 'name' | 'infrastructureHost'>): boolean {\n return InfrastructureHost.resolve(env) !== null;\n }\n\n /**\n * The host as the AUTHORED descriptor declares it, resolved through the shared loader — the authority,\n * read before any generated artifact has been reconciled. `null` when the environment has no descriptor\n * or owns its infrastructure.\n */\n static async resolveAuthored(saasRoot: string, envName: string): Promise<EnvironmentInfrastructureHost | null> {\n const loaded = await loadInfraEnvConfig(saasRoot, envName);\n return loaded?.config.infrastructureHost ?? null;\n }\n\n /**\n * For a COMMAND whose whole purpose is shared infrastructure (`local up`, `local down`, `local reset`,\n * …): the refusal message to print when this environment is hosted, or `null` when it owns its\n * infrastructure. A descriptor that cannot be resolved (its host is not checked out) is a refusal too —\n * fail-closed, since \"cannot tell whose infrastructure this is\" is the one state in which acting on it\n * is least safe.\n */\n static async describeRefusal(\n saasRoot: string | null | undefined,\n env: Pick<PlatformEnvironmentConfiguration, 'name' | 'infrastructureHost'>,\n action: SharedInfrastructureAction,\n ): Promise<string | null> {\n try {\n const host = await InfrastructureHost.resolveForCommand(saasRoot, env);\n return host === null ? null : new SharedInfrastructureOwnedByHostError(env.name, host, action).message;\n } catch (error) {\n return describeCaughtError(error);\n }\n }\n\n /** Refuse a shared-infrastructure action for a hosted environment. A no-op for an owning one. */\n static assertOwnsSharedInfrastructure(\n env: Pick<PlatformEnvironmentConfiguration, 'name' | 'infrastructureHost'>,\n action: SharedInfrastructureAction,\n ): void {\n const host = InfrastructureHost.resolve(env);\n if (host !== null) {\n throw new SharedInfrastructureOwnedByHostError(env.name, host, action);\n }\n }\n\n /**\n * Where the host renders its Docker Compose project for `envName`. A hosted application INSPECTS the\n * shared containers through the host's file — the only one that describes them — and never through a\n * render of its own, which would carry its own `local_data` paths.\n */\n static resolveHostDockerComposeDir(host: EnvironmentInfrastructureHost, envName: string): string {\n return join(resolveAppLayout(host.applicationRoot).runtimeEnvironmentsHome, envName, 'docker-compose');\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"infrastructure-host.service.js","sourceRoot":"","sources":["../../../../../../src/services/environment/infrastructure-host.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,I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CAC1B,QAAmC,EACnC,GAA0E,EAC1E,MAAkC;QAElC,IAAI,CAAC;YACH,MAAM,IAAI,GAAG,MAAM,kBAAkB,CAAC,iBAAiB,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;YACvE,OAAO,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,oCAAoC,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,OAAO,CAAC;QACzG,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO,mBAAmB,CAAC,KAAK,CAAC,CAAC;QACpC,CAAC;IACH,CAAC;IAED,iGAAiG;IACjG,MAAM,CAAC,8BAA8B,CACnC,GAA0E,EAC1E,MAAkC;QAElC,MAAM,IAAI,GAAG,kBAAkB,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAC7C,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;YAClB,MAAM,IAAI,oCAAoC,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;QACzE,CAAC;IACH,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,2BAA2B,CAAC,IAAmC,EAAE,OAAe;QACrF,OAAO,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,uBAAuB,EAAE,OAAO,EAAE,gBAAgB,CAAC,CAAC;IACzG,CAAC;CACF","sourcesContent":["/**\n * infrastructure-host — the one question every shared-infrastructure action asks first: does THIS\n * application own the infrastructure of this environment, or does it run on another application's?\n *\n * Several applications share one platform per environment. One OWNS it — its Docker Compose project or\n * cluster, its backing services, its platform services — and the others declare that owner as their\n * `infrastructureHost` in `wildo.infra.<env>.config.ts`. A hosted application registers against the\n * host's running platform and writes its OWN runtime material; everything that renders, starts, stops,\n * recreates, wipes or initializes SHARED infrastructure belongs to the host.\n *\n * Before this existed, \"whoever ran the command\" owned the shared substrate. Every application rendered\n * its own `wildo-local` compose file with the same container names and its own `local_data`, so the last\n * application to start decided the containers' configuration, credentials and data (issue #50 is the\n * outage that produced, and the runtime lease it added only protects a session that is RUNNING).\n * Declaring the host makes ownership a fact of the repository rather than of timing.\n */\n\nimport { join } from 'path';\nimport { loadInfraEnvConfig, resolveAppLayout } from '@wildo-ai/platform-config-lib';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\nimport { EnvironmentRegistry } from '~wildo-cli/services/environment/environment-registry.service';\nimport { EnvironmentPaths } from '~wildo-cli/services/environment/environment-paths.service';\n\nimport { describeCaughtError } from '@wildo-ai/saas-models';\n/** The resolved host of a hosted environment (absolute paths, produced by `loadInfraEnvConfig`). */\nexport interface EnvironmentInfrastructureHost {\n applicationRoot: string;\n infraConfigPath: string;\n}\n\n/**\n * The actions only an environment's infrastructure OWNER may perform. Each guard site names one, so the\n * refusal can say precisely what was refused and which host command does it instead.\n */\nexport enum SharedInfrastructureAction {\n RENDER_PLATFORM_COMPOSE = 'render-platform-compose',\n WRITE_PLATFORM_ENV = 'write-platform-env',\n CONVERGE_BACKING_SERVICES = 'converge-backing-services',\n STOP_BACKING_SERVICES = 'stop-backing-services',\n WIPE_BACKING_SERVICE_DATA = 'wipe-backing-service-data',\n INITIALIZE_PLATFORM = 'initialize-platform',\n START_PLATFORM = 'start-platform',\n STOP_PLATFORM = 'stop-platform',\n BOOTSTRAP_KUBERNETES = 'bootstrap-kubernetes',\n RENDER_PLATFORM_MANIFESTS = 'render-platform-manifests',\n ROTATE_SHARED_SECRETS = 'rotate-shared-secrets',\n}\n\nconst SHARED_INFRASTRUCTURE_ACTIONS: Readonly<Record<SharedInfrastructureAction, { refused: string; hostCommand: string }>> = {\n [SharedInfrastructureAction.RENDER_PLATFORM_COMPOSE]: {\n refused: 'render the shared platform Docker Compose file',\n hostCommand: 'wildo config sync --domain manifest',\n },\n [SharedInfrastructureAction.WRITE_PLATFORM_ENV]: {\n refused: 'write the shared platform environment file (.env.wildo-platform)',\n hostCommand: 'wildo config sync --domain env-files',\n },\n [SharedInfrastructureAction.CONVERGE_BACKING_SERVICES]: {\n refused: 'start or recreate the shared backing services',\n hostCommand: 'wildo local dev',\n },\n [SharedInfrastructureAction.STOP_BACKING_SERVICES]: {\n refused: 'stop the shared backing services',\n hostCommand: 'wildo local down',\n },\n [SharedInfrastructureAction.WIPE_BACKING_SERVICE_DATA]: {\n refused: 'wipe the shared backing-service data',\n hostCommand: 'wildo local reset',\n },\n [SharedInfrastructureAction.INITIALIZE_PLATFORM]: {\n refused: 'initialize the shared platform',\n hostCommand: 'wildo local init',\n },\n [SharedInfrastructureAction.START_PLATFORM]: {\n refused: 'start the shared platform services',\n hostCommand: 'wildo local dev',\n },\n [SharedInfrastructureAction.STOP_PLATFORM]: {\n refused: 'stop the shared platform services',\n hostCommand: 'wildo local down',\n },\n [SharedInfrastructureAction.BOOTSTRAP_KUBERNETES]: {\n refused: 'bootstrap the shared Kubernetes cluster',\n hostCommand: 'wildo setup',\n },\n [SharedInfrastructureAction.RENDER_PLATFORM_MANIFESTS]: {\n refused: 'render the shared Kubernetes manifests',\n hostCommand: 'wildo config sync --domain manifest',\n },\n [SharedInfrastructureAction.ROTATE_SHARED_SECRETS]: {\n refused: 'rotate the shared platform and backing-service secrets',\n hostCommand: 'wildo config sync --domain secrets --rotate-secrets',\n },\n};\n\n/**\n * A hosted application attempted an action that belongs to its infrastructure host. Names the host and\n * the command to run there, because the remedy is never \"retry here\".\n */\nexport class SharedInfrastructureOwnedByHostError extends Error {\n readonly host: EnvironmentInfrastructureHost;\n readonly action: SharedInfrastructureAction;\n\n constructor(envName: string, host: EnvironmentInfrastructureHost, action: SharedInfrastructureAction) {\n const { refused, hostCommand } = SHARED_INFRASTRUCTURE_ACTIONS[action];\n super(\n `This application runs on the infrastructure of ${host.applicationRoot} in environment '${envName}' `\n + `(declared by infrastructureHost), so it cannot ${refused} — that belongs to the host. Run it from the host application:\\n`\n + ` cd ${host.applicationRoot} && ${hostCommand}\\n`\n + 'If this environment no longer declares infrastructureHost, its generated state still describes the host: reconcile it '\n + 'first with `wildo local init` (or `wildo config sync`).',\n );\n this.name = 'SharedInfrastructureOwnedByHostError';\n this.host = host;\n this.action = action;\n }\n}\n\nexport class InfrastructureHost {\n /**\n * The host of `env`, or `null` when this application owns the environment's infrastructure.\n *\n * FAIL-CLOSED over the two persisted copies: a host named by EITHER the generated `config.json` or the\n * registry record wins. The two can disagree for a moment — `config.json` is rewritten by a reconcile,\n * the record by a refresh, and an operator may have added the link between the two — and the costs of\n * the two mistakes are not symmetric. Reading a hosted application as standalone recreates the host's\n * containers under the wrong configuration, which is an outage; reading a standalone one as hosted\n * refuses a command with a message that names the reconcile. So an ambiguity reads as hosted.\n *\n * Synchronous, because the guard sites are. Command ENTRY decisions, which run before any reconcile,\n * use {@link resolveAuthored} instead and read the authored descriptor itself.\n */\n static resolve(env: Pick<PlatformEnvironmentConfiguration, 'name' | 'infrastructureHost'>): EnvironmentInfrastructureHost | null {\n return env.infrastructureHost ?? InfrastructureHost.readPersistedHost(env.name);\n }\n\n /** {@link resolve} for a caller holding only the environment's name. */\n static resolveByName(envName: string): EnvironmentInfrastructureHost | null {\n return InfrastructureHost.readPersistedHost(envName);\n }\n\n /**\n * The host named by the PERSISTED copies (`config.json`, the registry record), or `null` when neither\n * names one — or when there is no targeted application scope to read them from at all.\n *\n * That last case returns `null` rather than throwing, and it is not an opening: a guard runs inside\n * lanes that have no application root (a CI render, a unit under test), and every path that turns an\n * environment into a HOSTED one also writes `infrastructureHost` onto the in-memory record the caller\n * passes to {@link resolve} — the seed, the authored refresh, the `config.json` hydration and setup. The\n * persisted copies are the second source, consulted to catch a record that has not been refreshed yet.\n */\n private static readPersistedHost(envName: string): EnvironmentInfrastructureHost | null {\n try {\n return EnvironmentRegistry.resolveInfrastructureHost(envName, EnvironmentPaths.resolveConfigDir(envName));\n } catch {\n return null;\n }\n }\n\n /**\n * For a command about to act on shared infrastructure: whose infrastructure is this, per the AUTHORED\n * descriptor when the application root is known and a descriptor exists — the authority, and the only\n * source that is current before any reconcile. The persisted copies are consulted only when there is no\n * descriptor to read (no targeted root, or an environment authored nowhere).\n *\n * An existing standalone descriptor therefore answers `null` even while a stale `config.json` still names\n * a host: the operator removed the link, and the command reconciles the persisted copies itself.\n */\n static async resolveForCommand(\n saasRoot: string | null | undefined,\n env: Pick<PlatformEnvironmentConfiguration, 'name' | 'infrastructureHost'>,\n ): Promise<EnvironmentInfrastructureHost | null> {\n if (saasRoot) {\n const loaded = await loadInfraEnvConfig(saasRoot, env.name);\n if (loaded !== null) return loaded.config.infrastructureHost ?? null;\n }\n return InfrastructureHost.resolve(env);\n }\n\n static isHosted(env: Pick<PlatformEnvironmentConfiguration, 'name' | 'infrastructureHost'>): boolean {\n return InfrastructureHost.resolve(env) !== null;\n }\n\n /**\n * The host as the AUTHORED descriptor declares it, resolved through the shared loader — the authority,\n * read before any generated artifact has been reconciled. `null` when the environment has no descriptor\n * or owns its infrastructure.\n */\n static async resolveAuthored(saasRoot: string, envName: string): Promise<EnvironmentInfrastructureHost | null> {\n const loaded = await loadInfraEnvConfig(saasRoot, envName);\n return loaded?.config.infrastructureHost ?? null;\n }\n\n /**\n * For a COMMAND whose whole purpose is shared infrastructure (`local up`, `local down`, `local reset`,\n * …): the refusal message to print when this environment is hosted, or `null` when it owns its\n * infrastructure. A descriptor that cannot be resolved (its host is not checked out) is a refusal too —\n * fail-closed, since \"cannot tell whose infrastructure this is\" is the one state in which acting on it\n * is least safe.\n */\n static async describeRefusal(\n saasRoot: string | null | undefined,\n env: Pick<PlatformEnvironmentConfiguration, 'name' | 'infrastructureHost'>,\n action: SharedInfrastructureAction,\n ): Promise<string | null> {\n try {\n const host = await InfrastructureHost.resolveForCommand(saasRoot, env);\n return host === null ? null : new SharedInfrastructureOwnedByHostError(env.name, host, action).message;\n } catch (error) {\n return describeCaughtError(error);\n }\n }\n\n /** Refuse a shared-infrastructure action for a hosted environment. A no-op for an owning one. */\n static assertOwnsSharedInfrastructure(\n env: Pick<PlatformEnvironmentConfiguration, 'name' | 'infrastructureHost'>,\n action: SharedInfrastructureAction,\n ): void {\n const host = InfrastructureHost.resolve(env);\n if (host !== null) {\n throw new SharedInfrastructureOwnedByHostError(env.name, host, action);\n }\n }\n\n /**\n * Where the host renders its Docker Compose project for `envName`. A hosted application INSPECTS the\n * shared containers through the host's file — the only one that describes them — and never through a\n * render of its own, which would carry its own `local_data` paths.\n */\n static resolveHostDockerComposeDir(host: EnvironmentInfrastructureHost, envName: string): string {\n return join(resolveAppLayout(host.applicationRoot).runtimeEnvironmentsHome, envName, 'docker-compose');\n }\n}\n"]}
|
|
@@ -100,4 +100,13 @@ export declare const DEFAULT_DOCKER_COMPOSE_LOCAL_PROJECT_NAME = "wildo-local";
|
|
|
100
100
|
* `--wait`, an explicit service list). Orphan reaping is appended regardless.
|
|
101
101
|
*/
|
|
102
102
|
export declare function buildLocalComposeConvergeArgs(...extraFlags: readonly string[]): string[];
|
|
103
|
+
/**
|
|
104
|
+
* The PREPARATION half of a convergence: pull what is missing and (re)create every container, start
|
|
105
|
+
* none. Orphans are reaped here for the same reason as {@link buildLocalComposeConvergeArgs}.
|
|
106
|
+
*
|
|
107
|
+
* Exists so the slow, unbounded part of a first converge — image pulls on a fresh machine — happens
|
|
108
|
+
* before any readiness clock starts. The `up` that follows only STARTS containers, so a deadline
|
|
109
|
+
* measured from it measures the services rather than the network.
|
|
110
|
+
*/
|
|
111
|
+
export declare function buildLocalComposeCreateArgs(): string[];
|
|
103
112
|
//# sourceMappingURL=platform-runtime.schemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform-runtime.schemas.d.ts","sourceRoot":"","sources":["../../../../../../src/services/environment/platform-runtime.schemas.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,cAAc,CAAC;AACxC,eAAO,MAAM,WAAW,YAAY,CAAC;AAUrC,OAAO,EAGL,sBAAsB,EACvB,MAAM,+BAA+B,CAAC;AAEvC,eAAO,MAAM,mBAAmB,mBAAmB,CAAC;AACpD,eAAO,MAAM,0BAA0B,WAAW,CAAC;AAEnD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE;IAAE,oBAAoB,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,sBAAsB,CAAA;CAAE,GAAG,OAAO,CAE9H;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE;IAC7C,oBAAoB,EAAE,OAAO,CAAC;IAC9B,OAAO,EAAE,sBAAsB,CAAC;IAChC,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,MAAM,CAMT;AAMD,eAAO,MAAM,yCAAyC,gBAAgB,CAAC;AAEvE;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,6BAA6B,CAAC,GAAG,UAAU,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,EAAE,CAExF"}
|
|
1
|
+
{"version":3,"file":"platform-runtime.schemas.d.ts","sourceRoot":"","sources":["../../../../../../src/services/environment/platform-runtime.schemas.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,cAAc,CAAC;AACxC,eAAO,MAAM,WAAW,YAAY,CAAC;AAUrC,OAAO,EAGL,sBAAsB,EACvB,MAAM,+BAA+B,CAAC;AAEvC,eAAO,MAAM,mBAAmB,mBAAmB,CAAC;AACpD,eAAO,MAAM,0BAA0B,WAAW,CAAC;AAEnD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE;IAAE,oBAAoB,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,sBAAsB,CAAA;CAAE,GAAG,OAAO,CAE9H;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE;IAC7C,oBAAoB,EAAE,OAAO,CAAC;IAC9B,OAAO,EAAE,sBAAsB,CAAC;IAChC,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,MAAM,CAMT;AAMD,eAAO,MAAM,yCAAyC,gBAAgB,CAAC;AAEvE;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,6BAA6B,CAAC,GAAG,UAAU,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,EAAE,CAExF;AAED;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,IAAI,MAAM,EAAE,CAEtD"}
|
|
@@ -108,4 +108,15 @@ export const DEFAULT_DOCKER_COMPOSE_LOCAL_PROJECT_NAME = 'wildo-local';
|
|
|
108
108
|
export function buildLocalComposeConvergeArgs(...extraFlags) {
|
|
109
109
|
return ['up', '-d', ...extraFlags, '--remove-orphans'];
|
|
110
110
|
}
|
|
111
|
+
/**
|
|
112
|
+
* The PREPARATION half of a convergence: pull what is missing and (re)create every container, start
|
|
113
|
+
* none. Orphans are reaped here for the same reason as {@link buildLocalComposeConvergeArgs}.
|
|
114
|
+
*
|
|
115
|
+
* Exists so the slow, unbounded part of a first converge — image pulls on a fresh machine — happens
|
|
116
|
+
* before any readiness clock starts. The `up` that follows only STARTS containers, so a deadline
|
|
117
|
+
* measured from it measures the services rather than the network.
|
|
118
|
+
*/
|
|
119
|
+
export function buildLocalComposeCreateArgs() {
|
|
120
|
+
return ['create', '--remove-orphans'];
|
|
121
|
+
}
|
|
111
122
|
//# sourceMappingURL=platform-runtime.schemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform-runtime.schemas.js","sourceRoot":"","sources":["../../../../../../src/services/environment/platform-runtime.schemas.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG,WAAW,CAAC;AACxC,MAAM,CAAC,MAAM,WAAW,GAAG,SAAS,CAAC;AAMrC,+EAA+E;AAC/E,6BAA6B;AAC7B,+EAA+E;AAE/E,OAAO,EACL,kCAAkC,EAClC,sCAAsC,EACtC,sBAAsB,GACvB,MAAM,+BAA+B,CAAC;AAEvC,MAAM,CAAC,MAAM,mBAAmB,GAAG,gBAAgB,CAAC;AACpD,MAAM,CAAC,MAAM,0BAA0B,GAAG,QAAQ,CAAC;AAEnD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,UAAU,2BAA2B,CAAC,KAAyE;IACnH,OAAO,KAAK,CAAC,oBAAoB,IAAI,KAAK,CAAC,OAAO,KAAK,sBAAsB,CAAC,cAAc,CAAC;AAC/F,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAM,UAAU,uBAAuB,CAAC,KAKvC;IACC,IAAI,2BAA2B,CAAC,KAAK,CAAC,EAAE,CAAC;QACvC,OAAO,GAAG,mBAAmB,IAAI,KAAK,CAAC,QAAQ,IAAI,0BAA0B,EAAE,CAAC;IAClF,CAAC;IACD,MAAM,GAAG,GAAG,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC,gBAAgB,CAAC;IACrD,OAAO,GAAG,sCAAsC,IAAI,kCAAkC,IAAI,mBAAmB,IAAI,GAAG,EAAE,CAAC;AACzH,CAAC;AAED,+EAA+E;AAC/E,+BAA+B;AAC/B,+EAA+E;AAE/E,MAAM,CAAC,MAAM,yCAAyC,GAAG,aAAa,CAAC;AAEvE;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,UAAU,6BAA6B,CAAC,GAAG,UAA6B;IAC5E,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,UAAU,EAAE,kBAAkB,CAAC,CAAC;AACzD,CAAC","sourcesContent":["export const DEFAULT_HOST = 'localhost';\nexport const LISTEN_HOST = '0.0.0.0';\n\n\n\n\n\n// ============================================================================\n// Docker Registry and Images\n// ============================================================================\n\nimport {\n FRAMEWORK_RELEASE_DOCKER_NAMESPACE,\n FRAMEWORK_RELEASE_DOCKER_REGISTRY_HOST,\n WildoDeploymentRuntime,\n} from '@wildo-ai/platform-config-lib';\n\nexport const PLATFORM_IMAGE_NAME = 'wildo-platform';\nexport const DEFAULT_PLATFORM_IMAGE_TAG = 'latest';\n\n/**\n * Whether the platform image a lane NAMES is one the framework checkout BUILDS, rather than the\n * published image a runtime PULLS.\n *\n * Exactly one lane builds: a framework developer on Docker Compose, where `wildo local up --rebuild`\n * produces `wildo-platform:<tag>` from the checkout's Dockerfile. Every Kubernetes lane pulls the\n * published image, and that is a decision rather than an accident of what renders (#969, decided\n * 2026-09-14):\n *\n * - a LOCAL framework developer runs the platform natively (`shouldRunPlatformServicesNatively`), so no\n * platform manifest renders and the question never arises;\n * - an app creator, local or remote, has no checkout to build from;\n * - a REMOTE framework developer used to get `<cluster registry>/wildo-platform:latest` — an image\n * nothing in the CLI pushes there, while `k8s-bootstrap` built the checkout and pushed it to the\n * LOCAL Kind registry, which no remote pod reads. The two halves named different images. The\n * alternative, running the developer's own build remotely, needs a push-to-operator-registry step\n * that does not exist (`fwk publish docker` pushes only to the framework's registry) and would make a\n * remote cluster run code no release contains. A remote cluster is a deployment target, so it runs\n * what was released.\n *\n * Consequence to know: a remote framework developer's cluster runs the platform at the CLI's framework\n * VERSION, which must therefore be a published one. A checkout ahead of the last release names a tag the\n * registry may not hold yet; pass an explicit image tag of a published build rather than restoring a\n * local-build branch here.\n */\nexport function platformImageIsBuiltLocally(input: { isFrameworkDeveloper: boolean; runtime: WildoDeploymentRuntime }): boolean {\n return input.isFrameworkDeveloper && input.runtime === WildoDeploymentRuntime.DOCKER_COMPOSE;\n}\n\n/**\n * The image reference every platform service (`platform-init`, `platform-apps-manager`,\n * `platform-crontabs-batches-manager`, `platform-module-registry`) is rendered with, for BOTH the compose\n * file and the Kubernetes manifests.\n *\n * Two answers, and they must not be collapsed (`platformImageIsBuiltLocally` decides which):\n *\n * - **locally built** (framework developer on Docker Compose) → the bare local name\n * `wildo-platform:<tag>`. That is what `wildo local up --rebuild` produces, and a bare name is what\n * keeps Docker from ever pulling it. Framework developers run the platform NATIVELY, so the compose\n * blocks naming this image are not even rendered for them — the value exists for the `--rebuild` lane.\n * - **published** (every other lane, including every Kubernetes lane) → the REGISTRY-QUALIFIED\n * reference `docker.io/wildoai/wildo-platform:<framework version>`. The image reaches a daemon or a\n * kubelet only because the runtime pulls a qualified ref. Until 2026-09-03 the compose app-creator lane\n * rendered the bare local name, which resolves to `docker.io/library/wildo-platform` — an image that does\n * not exist. The Kubernetes lane composed `<application registry>/wildo-platform:latest` until #349,\n * and a remote framework developer kept a variant of that until #969.\n *\n * The published tag is the framework VERSION, never `latest`: `fwk publish docker` pushes the immutable\n * `<version>` tag first and only then repoints aliases, so `<version>` is the one tag guaranteed to exist\n * for the framework a CLI was cut from. Registry host and namespace are the same locked constants the\n * publish lane asserts against (`FrameworkDockerPublishService.assertLockedDockerRegistryIdentity`), so the\n * two sides cannot name different registries.\n *\n * @param input.isFrameworkDeveloper - with `runtime`, selects the lane (see above).\n * @param input.runtime - the deployment runtime the reference is rendered for.\n * @param input.frameworkVersion - the version of the framework this CLI belongs to; becomes the tag of the\n * published image. Callers pass the CLI's own package version, which the version-sync lane keeps equal to\n * the framework version.\n * @param input.imageTag - an explicit tag override (`wildo local up --image-tag`, the `runInfraWrite` seam).\n * Wins in both lanes when supplied.\n */\nexport function resolvePlatformImageRef(input: {\n isFrameworkDeveloper: boolean;\n runtime: WildoDeploymentRuntime;\n frameworkVersion: string;\n imageTag?: string;\n}): string {\n if (platformImageIsBuiltLocally(input)) {\n return `${PLATFORM_IMAGE_NAME}:${input.imageTag ?? DEFAULT_PLATFORM_IMAGE_TAG}`;\n }\n const tag = input.imageTag ?? input.frameworkVersion;\n return `${FRAMEWORK_RELEASE_DOCKER_REGISTRY_HOST}/${FRAMEWORK_RELEASE_DOCKER_NAMESPACE}/${PLATFORM_IMAGE_NAME}:${tag}`;\n}\n\n// ============================================================================\n// Docker Compose Configuration\n// ============================================================================\n\nexport const DEFAULT_DOCKER_COMPOSE_LOCAL_PROJECT_NAME = 'wildo-local';\n\n/**\n * Build the argv for a Docker Compose convergence of the local stack.\n *\n * ## Why this is a function rather than four hand-written arrays\n *\n * EVERY application renders its local compose under the SAME project name\n * ({@link DEFAULT_DOCKER_COMPOSE_LOCAL_PROJECT_NAME}) while bind-mounting its\n * OWN `<app>/.wildo-saas/local_data/`. Compose therefore only touches the\n * services the CURRENT application declares — so converging app B leaves any\n * service that only app A declares running, still bound to app A's data dirs.\n *\n * Measured 2026-09-03: `wildo-mongodb` and `wildo-mongot` were serving\n * wonder-todos' data dirs while `wildo-postgresql`, `wildo-rabbitmq`,\n * `wildo-valkey` and `wildo-minio` had been recreated on wonder-crm's — because\n * wonder-crm is PostgreSQL-only and declares no mongodb service to recreate.\n * A stack whose halves answer for different applications is the failure this\n * flag prevents, and its visible symptom was 18 cron jobs targeting a RabbitMQ\n * vhost that existed only in the OTHER application's broker state.\n *\n * `local down` already passed `--remove-orphans` for the same reason. Having it\n * on one side only meant the mixed stack could be created and then had to be\n * noticed. Routing every converge through here means a fifth call site cannot\n * forget it — enforced by `compose-converge-args.test.ts`, which fails on any\n * raw `['up', '-d', …]` literal in this package.\n *\n * @param extraFlags - Additional compose flags/services (`--force-recreate`,\n * `--wait`, an explicit service list). Orphan reaping is appended regardless.\n */\nexport function buildLocalComposeConvergeArgs(...extraFlags: readonly string[]): string[] {\n return ['up', '-d', ...extraFlags, '--remove-orphans'];\n}\n"]}
|
|
1
|
+
{"version":3,"file":"platform-runtime.schemas.js","sourceRoot":"","sources":["../../../../../../src/services/environment/platform-runtime.schemas.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG,WAAW,CAAC;AACxC,MAAM,CAAC,MAAM,WAAW,GAAG,SAAS,CAAC;AAMrC,+EAA+E;AAC/E,6BAA6B;AAC7B,+EAA+E;AAE/E,OAAO,EACL,kCAAkC,EAClC,sCAAsC,EACtC,sBAAsB,GACvB,MAAM,+BAA+B,CAAC;AAEvC,MAAM,CAAC,MAAM,mBAAmB,GAAG,gBAAgB,CAAC;AACpD,MAAM,CAAC,MAAM,0BAA0B,GAAG,QAAQ,CAAC;AAEnD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,UAAU,2BAA2B,CAAC,KAAyE;IACnH,OAAO,KAAK,CAAC,oBAAoB,IAAI,KAAK,CAAC,OAAO,KAAK,sBAAsB,CAAC,cAAc,CAAC;AAC/F,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAM,UAAU,uBAAuB,CAAC,KAKvC;IACC,IAAI,2BAA2B,CAAC,KAAK,CAAC,EAAE,CAAC;QACvC,OAAO,GAAG,mBAAmB,IAAI,KAAK,CAAC,QAAQ,IAAI,0BAA0B,EAAE,CAAC;IAClF,CAAC;IACD,MAAM,GAAG,GAAG,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC,gBAAgB,CAAC;IACrD,OAAO,GAAG,sCAAsC,IAAI,kCAAkC,IAAI,mBAAmB,IAAI,GAAG,EAAE,CAAC;AACzH,CAAC;AAED,+EAA+E;AAC/E,+BAA+B;AAC/B,+EAA+E;AAE/E,MAAM,CAAC,MAAM,yCAAyC,GAAG,aAAa,CAAC;AAEvE;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,UAAU,6BAA6B,CAAC,GAAG,UAA6B;IAC5E,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,UAAU,EAAE,kBAAkB,CAAC,CAAC;AACzD,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,2BAA2B;IACzC,OAAO,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAAC;AACxC,CAAC","sourcesContent":["export const DEFAULT_HOST = 'localhost';\nexport const LISTEN_HOST = '0.0.0.0';\n\n\n\n\n\n// ============================================================================\n// Docker Registry and Images\n// ============================================================================\n\nimport {\n FRAMEWORK_RELEASE_DOCKER_NAMESPACE,\n FRAMEWORK_RELEASE_DOCKER_REGISTRY_HOST,\n WildoDeploymentRuntime,\n} from '@wildo-ai/platform-config-lib';\n\nexport const PLATFORM_IMAGE_NAME = 'wildo-platform';\nexport const DEFAULT_PLATFORM_IMAGE_TAG = 'latest';\n\n/**\n * Whether the platform image a lane NAMES is one the framework checkout BUILDS, rather than the\n * published image a runtime PULLS.\n *\n * Exactly one lane builds: a framework developer on Docker Compose, where `wildo local up --rebuild`\n * produces `wildo-platform:<tag>` from the checkout's Dockerfile. Every Kubernetes lane pulls the\n * published image, and that is a decision rather than an accident of what renders (#969, decided\n * 2026-09-14):\n *\n * - a LOCAL framework developer runs the platform natively (`shouldRunPlatformServicesNatively`), so no\n * platform manifest renders and the question never arises;\n * - an app creator, local or remote, has no checkout to build from;\n * - a REMOTE framework developer used to get `<cluster registry>/wildo-platform:latest` — an image\n * nothing in the CLI pushes there, while `k8s-bootstrap` built the checkout and pushed it to the\n * LOCAL Kind registry, which no remote pod reads. The two halves named different images. The\n * alternative, running the developer's own build remotely, needs a push-to-operator-registry step\n * that does not exist (`fwk publish docker` pushes only to the framework's registry) and would make a\n * remote cluster run code no release contains. A remote cluster is a deployment target, so it runs\n * what was released.\n *\n * Consequence to know: a remote framework developer's cluster runs the platform at the CLI's framework\n * VERSION, which must therefore be a published one. A checkout ahead of the last release names a tag the\n * registry may not hold yet; pass an explicit image tag of a published build rather than restoring a\n * local-build branch here.\n */\nexport function platformImageIsBuiltLocally(input: { isFrameworkDeveloper: boolean; runtime: WildoDeploymentRuntime }): boolean {\n return input.isFrameworkDeveloper && input.runtime === WildoDeploymentRuntime.DOCKER_COMPOSE;\n}\n\n/**\n * The image reference every platform service (`platform-init`, `platform-apps-manager`,\n * `platform-crontabs-batches-manager`, `platform-module-registry`) is rendered with, for BOTH the compose\n * file and the Kubernetes manifests.\n *\n * Two answers, and they must not be collapsed (`platformImageIsBuiltLocally` decides which):\n *\n * - **locally built** (framework developer on Docker Compose) → the bare local name\n * `wildo-platform:<tag>`. That is what `wildo local up --rebuild` produces, and a bare name is what\n * keeps Docker from ever pulling it. Framework developers run the platform NATIVELY, so the compose\n * blocks naming this image are not even rendered for them — the value exists for the `--rebuild` lane.\n * - **published** (every other lane, including every Kubernetes lane) → the REGISTRY-QUALIFIED\n * reference `docker.io/wildoai/wildo-platform:<framework version>`. The image reaches a daemon or a\n * kubelet only because the runtime pulls a qualified ref. Until 2026-09-03 the compose app-creator lane\n * rendered the bare local name, which resolves to `docker.io/library/wildo-platform` — an image that does\n * not exist. The Kubernetes lane composed `<application registry>/wildo-platform:latest` until #349,\n * and a remote framework developer kept a variant of that until #969.\n *\n * The published tag is the framework VERSION, never `latest`: `fwk publish docker` pushes the immutable\n * `<version>` tag first and only then repoints aliases, so `<version>` is the one tag guaranteed to exist\n * for the framework a CLI was cut from. Registry host and namespace are the same locked constants the\n * publish lane asserts against (`FrameworkDockerPublishService.assertLockedDockerRegistryIdentity`), so the\n * two sides cannot name different registries.\n *\n * @param input.isFrameworkDeveloper - with `runtime`, selects the lane (see above).\n * @param input.runtime - the deployment runtime the reference is rendered for.\n * @param input.frameworkVersion - the version of the framework this CLI belongs to; becomes the tag of the\n * published image. Callers pass the CLI's own package version, which the version-sync lane keeps equal to\n * the framework version.\n * @param input.imageTag - an explicit tag override (`wildo local up --image-tag`, the `runInfraWrite` seam).\n * Wins in both lanes when supplied.\n */\nexport function resolvePlatformImageRef(input: {\n isFrameworkDeveloper: boolean;\n runtime: WildoDeploymentRuntime;\n frameworkVersion: string;\n imageTag?: string;\n}): string {\n if (platformImageIsBuiltLocally(input)) {\n return `${PLATFORM_IMAGE_NAME}:${input.imageTag ?? DEFAULT_PLATFORM_IMAGE_TAG}`;\n }\n const tag = input.imageTag ?? input.frameworkVersion;\n return `${FRAMEWORK_RELEASE_DOCKER_REGISTRY_HOST}/${FRAMEWORK_RELEASE_DOCKER_NAMESPACE}/${PLATFORM_IMAGE_NAME}:${tag}`;\n}\n\n// ============================================================================\n// Docker Compose Configuration\n// ============================================================================\n\nexport const DEFAULT_DOCKER_COMPOSE_LOCAL_PROJECT_NAME = 'wildo-local';\n\n/**\n * Build the argv for a Docker Compose convergence of the local stack.\n *\n * ## Why this is a function rather than four hand-written arrays\n *\n * EVERY application renders its local compose under the SAME project name\n * ({@link DEFAULT_DOCKER_COMPOSE_LOCAL_PROJECT_NAME}) while bind-mounting its\n * OWN `<app>/.wildo-saas/local_data/`. Compose therefore only touches the\n * services the CURRENT application declares — so converging app B leaves any\n * service that only app A declares running, still bound to app A's data dirs.\n *\n * Measured 2026-09-03: `wildo-mongodb` and `wildo-mongot` were serving\n * wonder-todos' data dirs while `wildo-postgresql`, `wildo-rabbitmq`,\n * `wildo-valkey` and `wildo-minio` had been recreated on wonder-crm's — because\n * wonder-crm is PostgreSQL-only and declares no mongodb service to recreate.\n * A stack whose halves answer for different applications is the failure this\n * flag prevents, and its visible symptom was 18 cron jobs targeting a RabbitMQ\n * vhost that existed only in the OTHER application's broker state.\n *\n * `local down` already passed `--remove-orphans` for the same reason. Having it\n * on one side only meant the mixed stack could be created and then had to be\n * noticed. Routing every converge through here means a fifth call site cannot\n * forget it — enforced by `compose-converge-args.test.ts`, which fails on any\n * raw `['up', '-d', …]` literal in this package.\n *\n * @param extraFlags - Additional compose flags/services (`--force-recreate`,\n * `--wait`, an explicit service list). Orphan reaping is appended regardless.\n */\nexport function buildLocalComposeConvergeArgs(...extraFlags: readonly string[]): string[] {\n return ['up', '-d', ...extraFlags, '--remove-orphans'];\n}\n\n/**\n * The PREPARATION half of a convergence: pull what is missing and (re)create every container, start\n * none. Orphans are reaped here for the same reason as {@link buildLocalComposeConvergeArgs}.\n *\n * Exists so the slow, unbounded part of a first converge — image pulls on a fresh machine — happens\n * before any readiness clock starts. The `up` that follows only STARTS containers, so a deadline\n * measured from it measures the services rather than the network.\n */\nexport function buildLocalComposeCreateArgs(): string[] {\n return ['create', '--remove-orphans'];\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { execFileSync } from 'node:child_process';
|
|
2
2
|
import { existsSync, readFileSync, realpathSync, writeFileSync } from 'node:fs';
|
|
3
3
|
import { isAbsolute, join, relative, resolve, sep } from 'node:path';
|
|
4
|
-
import { describeCaughtError } from '@wildo-ai/saas-
|
|
4
|
+
import { describeCaughtError } from '@wildo-ai/saas-models';
|
|
5
5
|
/**
|
|
6
6
|
* Keeps a generated application's `.claude/settings.json` wired to the `wildo` Claude Code plugin
|
|
7
7
|
* (#1651, epic #1659).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-claude-settings.js","sourceRoot":"","sources":["../../../../../../src/services/framework/application-claude-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAErE,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AAEH,kHAAkH;AAClH,MAAM,CAAC,MAAM,6BAA6B,GAAG,OAAO,CAAC;AACrD,MAAM,CAAC,MAAM,wBAAwB,GAAG,OAAO,CAAC;AAChD,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,wBAAwB,IAAI,6BAA6B,EAAE,CAAC;AAErG,sGAAsG;AACtG,MAAM,CAAC,MAAM,uCAAuC,GAAG,oBAAoB,CAAC;AAE5E;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAsB,MAAM,CAAC,MAAM,CAAC;IAClF,6BAA6B;IAC7B,kCAAkC;IAClC,4BAA4B;IAC5B,+BAA+B;IAC/B,6BAA6B;IA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AE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAC1H,MAAM,OAAO,GAAG,CAAC,OAAO;YACtB,CAAC,CAAC,iIAAiI;YACnI,CAAC,CAAC,qBAAqB,KAAK,IAAI;gBAC9B,CAAC,CAAC,yJAAyJ;gBAC3J,CAAC,CAAC,SAAS,CAAC;QAChB,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,qBAAqB,EAAE,GAAG,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IACpG,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,qBAAqB,EAAE,IAAI,EAAE,OAAO,EAAE,oBAAoB,YAAY,KAAK,mBAAmB,CAAC,KAAK,CAAC,6DAA6D,EAAE,CAAC;IAChM,CAAC;AACH,CAAC","sourcesContent":["import { execFileSync } from 'node:child_process';\nimport { existsSync, readFileSync, realpathSync, writeFileSync } from 'node:fs';\nimport { isAbsolute, join, relative, resolve, sep } from 'node:path';\n\nimport { describeCaughtError } from '@wildo-ai/saas-backend-lib';\n\n/**\n * Keeps a generated application's `.claude/settings.json` wired to the `wildo` Claude Code plugin\n * (#1651, epic #1659).\n *\n * ## What the application gets, and why each key\n *\n * The developer drives application creation from a Claude Code session (the CONSOLE). The `wildo`\n * plugin — the `/wildo:*` commands, and later the hooks, background monitor and agents — is compiled\n * into `@wildo-ai/framework-knowledge` (`dist/claude-marketplace`), so it is always exactly the\n * framework version the application installed. Claude Code reaches it through three keys of the\n * application's PROJECT settings:\n *\n * - `extraKnownMarketplaces.wildo` — a `directory` source pointing at that compiled marketplace;\n * - `enabledPlugins[\"wildo@wildo\"]` — turn the plugin on;\n * - `permissions.allow` — the read-only `wildo` verbs the console calls constantly, so the session\n * does not stop on a prompt for each (calibrated on EFFECT, as the framework's own settings are:\n * reading is allowed, anything that spends or leaves the machine is not listed here).\n *\n * ## The path is relative to the GIT ROOT, not to the application — measured, not assumed\n *\n * Measured 2026-09-25 against Claude Code 2.1.281 (recorded on #1651): a project marketplace applies\n * only after the workspace-trust dialog, and for an application inside a larger repository BOTH the\n * trust and a relative `path` are keyed to the repository root. A path relative to the application\n * loaded nothing; the same path relative to the repository root loaded the plugin. So the path is\n * expressed from `git rev-parse --show-toplevel` — `./node_modules/…` for a standalone application,\n * `./platform/factory/framework-knowledge/dist/claude-marketplace` for the monorepo's dogfood\n * applications. A marketplace outside the repository is never written: the file is committed, and a\n * machine-specific absolute path would be wrong on every other checkout.\n *\n * ## Why a MERGE with recorded ownership, never a rewrite\n *\n * `.claude/settings.json` belongs to the application — a developer adds hooks, permissions and\n * plugins of their own. This writes only the keys it owns and records, beside the managed-file\n * manifest, exactly which values it wrote. On the next sync it removes what it wrote and no longer\n * wants, and leaves everything else alone. A value the developer CHANGED after it was written (the\n * plugin turned off) is the developer's decision and is not reverted. A checkout with no record (the\n * record is gitignored, the settings are not) infers it by exact value match —\n * {@link inferClaudeSettingsOwnership}.\n */\n\n/** The marketplace and plugin names — the install id is `wildo@wildo`, and commands answer as `/wildo:<name>`. */\nexport const WILDO_CLAUDE_MARKETPLACE_NAME = 'wildo';\nexport const WILDO_CLAUDE_PLUGIN_NAME = 'wildo';\nexport const WILDO_CLAUDE_PLUGIN_ID = `${WILDO_CLAUDE_PLUGIN_NAME}@${WILDO_CLAUDE_MARKETPLACE_NAME}`;\n\n/** Where the compiled marketplace sits beside `dist/knowledge` in `@wildo-ai/framework-knowledge`. */\nexport const WILDO_CLAUDE_MARKETPLACE_DIRECTORY_NAME = 'claude-marketplace';\n\n/**\n * The console verbs allowed without a prompt: READ-ONLY ones only.\n *\n * `wildo creation run|answer` and `wildo build …` are deliberately absent: they spend model money or\n * resume work, and each `/wildo:*` command that calls them pre-approves exactly the verb it needs\n * through its own `allowed-tools` — so the approval travels with the person's explicit invocation\n * instead of standing in the project for any prompt to use.\n */\nexport const WILDO_CONSOLE_READ_ONLY_PERMISSIONS: readonly string[] = Object.freeze([\n 'Bash(wildo creation feed:*)',\n 'Bash(wildo creation questions:*)',\n 'Bash(wildo creation why:*)',\n 'Bash(wildo creation writes:*)',\n 'Bash(wildo creation diff:*)',\n 'Bash(wildo creation pulse:*)',\n 'Bash(wildo creation brief:*)',\n 'Bash(wildo build next:*)',\n 'Bash(wildo build tasks:*)',\n 'Bash(wildo build dispatches:*)',\n 'Bash(wildo context:*)',\n 'Bash(wildo workbench status:*)',\n 'Bash(wildo local doctor:*)',\n]);\n\n/**\n * The console's status line (#1657). A plugin cannot carry `statusLine` (only `agent` and\n * `subagentStatusLine` are honoured from a plugin's settings), so it is written into the application's\n * project settings beside the plugin wiring.\n *\n * `refreshInterval` because the status line otherwise refreshes only on session events, and goes quiet\n * while the session is idle — exactly when the companion finishes a run. The verb is answered by the\n * CLI's fast path, so a refresh costs milliseconds, not the kernel's load.\n */\nexport const WILDO_STATUS_LINE_COMMAND = 'wildo creation statusline';\nexport const WILDO_STATUS_LINE_REFRESH_SECONDS = 5;\n\n/** What this module wrote last time — the only values it may later change or remove. */\nexport interface ApplicationClaudeSettingsOwnership {\n readonly schemaVersion: 1;\n readonly marketplaceSourcePath: string | null;\n readonly enabledPluginWritten: boolean;\n readonly permissionsAllow: readonly string[];\n /** Whether the `statusLine` in the file is the one this module wrote. */\n readonly statusLineWritten: boolean;\n}\n\nexport const EMPTY_CLAUDE_SETTINGS_OWNERSHIP: ApplicationClaudeSettingsOwnership = Object.freeze({\n schemaVersion: 1,\n marketplaceSourcePath: null,\n enabledPluginWritten: false,\n permissionsAllow: [],\n statusLineWritten: false,\n});\n\nexport interface ApplicationClaudeSettingsDesired {\n /** The marketplace `path`, relative to the git root and `./`-prefixed; `null` when there is no plugin to point at. */\n readonly marketplaceSourcePath: string | null;\n readonly permissionsAllow: readonly string[];\n}\n\ntype JsonObject = Record<string, unknown>;\n\nfunction asObject(value: unknown): JsonObject | null {\n return typeof value === 'object' && value !== null && !Array.isArray(value) ? (value as JsonObject) : null;\n}\n\n/**\n * `current` with this module's keys set to `desired`, given what it wrote last time.\n *\n * Pure: the caller reads and writes the file. Returns `changed: false` when nothing would move, so a\n * sync leaves the file's bytes and mtime alone — a settings file that looks edited on every sync is\n * one a developer stops reading diffs of.\n */\nexport function applyApplicationClaudeSettings(\n current: JsonObject,\n desired: ApplicationClaudeSettingsDesired,\n previous: ApplicationClaudeSettingsOwnership,\n): { readonly next: JsonObject; readonly ownership: ApplicationClaudeSettingsOwnership; readonly changed: boolean } {\n const next: JsonObject = structuredClone(current);\n\n /* The marketplace entry: ours by name. Removed when there is no plugin to point at any more. */\n const marketplaces = asObject(next.extraKnownMarketplaces) ?? {};\n if (desired.marketplaceSourcePath === null) {\n if (previous.marketplaceSourcePath !== null) delete marketplaces[WILDO_CLAUDE_MARKETPLACE_NAME];\n } else {\n // semantic-literal-boundary: `directory` is Claude Code's own marketplace source type, written into its settings file.\n marketplaces[WILDO_CLAUDE_MARKETPLACE_NAME] = { source: { source: 'directory', path: desired.marketplaceSourcePath } };\n }\n if (Object.keys(marketplaces).length > 0) next.extraKnownMarketplaces = marketplaces;\n else delete next.extraKnownMarketplaces;\n\n /*\n * The plugin switch. Written `true` when absent. A value that differs from what we last wrote is the\n * developer's own decision (they turned the plugin off) and is left alone.\n */\n const enabled = asObject(next.enabledPlugins) ?? {};\n let enabledPluginWritten = previous.enabledPluginWritten;\n if (desired.marketplaceSourcePath === null) {\n if (previous.enabledPluginWritten && enabled[WILDO_CLAUDE_PLUGIN_ID] === true) delete enabled[WILDO_CLAUDE_PLUGIN_ID];\n enabledPluginWritten = false;\n } else if (!(WILDO_CLAUDE_PLUGIN_ID in enabled)) {\n enabled[WILDO_CLAUDE_PLUGIN_ID] = true;\n enabledPluginWritten = true;\n }\n if (Object.keys(enabled).length > 0) next.enabledPlugins = enabled;\n else delete next.enabledPlugins;\n\n /* Permissions: remove what we wrote and no longer want, add what we want; never touch the rest. */\n const permissions = asObject(next.permissions) ?? {};\n const allow = Array.isArray(permissions.allow) ? (permissions.allow as unknown[]).filter((entry) => typeof entry === 'string') as string[] : [];\n const desiredAllow = new Set(desired.permissionsAllow);\n const withoutStale = allow.filter((entry) => !(previous.permissionsAllow.includes(entry) && !desiredAllow.has(entry)));\n const nextAllow = [...withoutStale, ...desired.permissionsAllow.filter((entry) => !withoutStale.includes(entry))];\n if (nextAllow.length > 0) permissions.allow = nextAllow;\n else delete permissions.allow;\n if (Object.keys(permissions).length > 0) next.permissions = permissions;\n else delete next.permissions;\n\n /*\n * The status line: written when there is none; kept current while it is still the one we wrote;\n * never replaces one the developer set; removed with the plugin. It is ours only if we wrote it AND it\n * still runs our command — a developer who edited it has taken it over.\n */\n const statusLine = asObject(next.statusLine);\n const statusLineIsOurs = previous.statusLineWritten && statusLine?.command === WILDO_STATUS_LINE_COMMAND;\n let statusLineWritten = statusLineIsOurs;\n if (desired.marketplaceSourcePath === null) {\n if (statusLineIsOurs) delete next.statusLine;\n statusLineWritten = false;\n } else if (statusLine === null || statusLineIsOurs) {\n // semantic-literal-boundary: `command` is Claude Code's own status-line type, written into its settings file.\n next.statusLine = { type: 'command', command: WILDO_STATUS_LINE_COMMAND, refreshInterval: WILDO_STATUS_LINE_REFRESH_SECONDS };\n statusLineWritten = true;\n }\n\n const ownership: ApplicationClaudeSettingsOwnership = {\n schemaVersion: 1,\n marketplaceSourcePath: desired.marketplaceSourcePath,\n enabledPluginWritten,\n permissionsAllow: [...desired.permissionsAllow],\n statusLineWritten,\n };\n return { next, ownership, changed: JSON.stringify(next) !== JSON.stringify(current) };\n}\n\n/** The repository root Claude Code keys trust and relative marketplace paths to; the application root when it is not in a repository. */\nexport function resolveRepositoryRoot(applicationRoot: string): string {\n try {\n const top = execFileSync('git', ['-C', applicationRoot, 'rev-parse', '--show-toplevel'], { encoding: 'utf8', stdio: ['ignore', 'pipe', 'ignore'] }).trim();\n return top.length > 0 ? realpathSync(top) : realpathSync(applicationRoot);\n } catch {\n return realpathSync(applicationRoot);\n }\n}\n\n/**\n * The marketplace `path` for project settings: relative to the repository root, `./`-prefixed, POSIX\n * separators. `null` when the marketplace lies outside the repository — a committed settings file\n * cannot carry a path that exists only on this machine.\n *\n * `marketplaceDirectory` is taken LOGICALLY relative to the application (so an installed package is\n * addressed as `node_modules/@wildo-ai/framework-knowledge/…`, not as the version-specific store path\n * pnpm links it to — a store path would break at the next upgrade until the next sync).\n */\nexport function computeMarketplaceSourcePath(applicationRoot: string, marketplaceDirectory: string, repositoryRoot: string): string | null {\n const anchored = resolve(realpathSync(applicationRoot), relative(applicationRoot, marketplaceDirectory));\n const fromRepositoryRoot = relative(repositoryRoot, anchored);\n if (fromRepositoryRoot === '' || fromRepositoryRoot.startsWith('..') || isAbsolute(fromRepositoryRoot)) return null;\n return `./${fromRepositoryRoot.split(sep).join('/')}`;\n}\n\nconst OWNERSHIP_FILE_RELATIVE = ['.claude', '.wildo-framework-knowledge', 'claude-settings-ownership.json'] as const;\nconst SETTINGS_FILE_RELATIVE = ['.claude', 'settings.json'] as const;\n\n/**\n * Ownership when there is NO record: inferred from the committed settings by EXACT value match.\n *\n * `settings.json` is committed and the ownership record is gitignored, so every fresh clone, and every\n * other developer's checkout, starts with the file wired and no record. Reading \"no record\" as \"nothing\n * is ours\" left the status line and the permissions this module wrote belonging to nobody: never kept\n * current, and never removed with the plugin (#1659 review L4).\n *\n * A value identical to what this module writes is claimed; anything else stays the developer's. Claiming\n * a developer's identical value costs nothing — keeping it current rewrites the same value, and removing\n * it happens only when the plugin itself goes. The residual, accepted: a permission this module wrote in\n * an EARLIER version and no longer writes cannot be recognized on such a clone, so it stays; it is a\n * read-only `wildo` verb, and a stale allowance of one is harmless.\n */\nexport function inferClaudeSettingsOwnership(current: Record<string, unknown>, desired: ApplicationClaudeSettingsDesired): ApplicationClaudeSettingsOwnership {\n const marketplace = asObject(asObject(current.extraKnownMarketplaces)?.[WILDO_CLAUDE_MARKETPLACE_NAME]);\n const source = asObject(marketplace?.source);\n const allow = asObject(current.permissions)?.allow;\n return {\n schemaVersion: 1,\n marketplaceSourcePath: typeof source?.path === 'string' ? source.path : null,\n enabledPluginWritten: asObject(current.enabledPlugins)?.[WILDO_CLAUDE_PLUGIN_ID] === true,\n permissionsAllow: Array.isArray(allow) ? allow.filter((entry): entry is string => typeof entry === 'string' && desired.permissionsAllow.includes(entry)) : [],\n statusLineWritten: asObject(current.statusLine)?.command === WILDO_STATUS_LINE_COMMAND,\n };\n}\n\n/** The recorded ownership, or `null` when this checkout has none (a fresh clone): see {@link inferClaudeSettingsOwnership}. */\nfunction readOwnership(applicationRoot: string): ApplicationClaudeSettingsOwnership | null {\n const path = join(applicationRoot, ...OWNERSHIP_FILE_RELATIVE);\n if (!existsSync(path)) return null;\n const parsed = JSON.parse(readFileSync(path, 'utf8')) as Partial<ApplicationClaudeSettingsOwnership>;\n if (parsed.schemaVersion !== 1 || !Array.isArray(parsed.permissionsAllow)) {\n throw new Error(`${path} is not a claude-settings ownership record this version understands; delete it to let the next sync start over.`);\n }\n return {\n schemaVersion: 1,\n marketplaceSourcePath: typeof parsed.marketplaceSourcePath === 'string' ? parsed.marketplaceSourcePath : null,\n enabledPluginWritten: parsed.enabledPluginWritten === true,\n permissionsAllow: parsed.permissionsAllow.filter((entry): entry is string => typeof entry === 'string'),\n /* Absent in a record written before the status line existed: nothing of ours is in the file yet. */\n statusLineWritten: parsed.statusLineWritten === true,\n };\n}\n\n/** What became of the application's Claude Code settings — returned, never logged, like the rule imports. */\nexport interface ApplicationClaudeSettingsOutcome {\n readonly updated: boolean;\n /** The marketplace path written, or `null` when no plugin was wired. */\n readonly marketplaceSourcePath: string | null;\n /** Present when the settings could NOT be written, or the plugin could not be wired. */\n readonly warning?: string;\n}\n\n/**\n * Read, merge and write the application's `.claude/settings.json`.\n *\n * Non-fatal by design, for the same reason the rule imports are: a knowledge sync that succeeded must\n * not be reported as failed because the settings could not be updated. The absence is returned.\n */\nexport function syncApplicationClaudeSettings(input: {\n readonly applicationRoot: string;\n /** The compiled marketplace directory, or `null` when the knowledge payload carries none. */\n readonly marketplaceDirectory: string | null;\n}): ApplicationClaudeSettingsOutcome {\n const settingsPath = join(input.applicationRoot, ...SETTINGS_FILE_RELATIVE);\n try {\n const present = input.marketplaceDirectory !== null && existsSync(join(input.marketplaceDirectory, '.claude-plugin', 'marketplace.json'));\n const marketplaceSourcePath = present\n ? computeMarketplaceSourcePath(input.applicationRoot, input.marketplaceDirectory as string, resolveRepositoryRoot(input.applicationRoot))\n : null;\n const current = existsSync(settingsPath) ? JSON.parse(readFileSync(settingsPath, 'utf8')) as unknown : {};\n const currentObject = asObject(current);\n if (currentObject === null) {\n return { updated: false, marketplaceSourcePath: null, warning: `${settingsPath} is not a JSON object; the wildo plugin and console permissions were NOT wired.` };\n }\n const desired = { marketplaceSourcePath, permissionsAllow: WILDO_CONSOLE_READ_ONLY_PERMISSIONS };\n const previous = readOwnership(input.applicationRoot) ?? inferClaudeSettingsOwnership(currentObject, desired);\n const { next, ownership, changed } = applyApplicationClaudeSettings(currentObject, desired, previous);\n if (changed) writeFileSync(settingsPath, `${JSON.stringify(next, null, 2)}\\n`, 'utf8');\n writeFileSync(join(input.applicationRoot, ...OWNERSHIP_FILE_RELATIVE), `${JSON.stringify(ownership, null, 2)}\\n`, 'utf8');\n const warning = !present\n ? 'The installed framework knowledge carries no Claude Code plugin (dist/claude-marketplace); the /wildo:* commands are not wired.'\n : marketplaceSourcePath === null\n ? 'The wildo plugin lies outside this application\\'s git repository, so it cannot be named in the committed settings; the /wildo:* commands are not wired.'\n : undefined;\n return { updated: changed, marketplaceSourcePath, ...(warning === undefined ? {} : { warning }) };\n } catch (error) {\n return { updated: false, marketplaceSourcePath: null, warning: `Could not update ${settingsPath} (${describeCaughtError(error)}); the wildo plugin and console permissions were NOT wired.` };\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"application-claude-settings.js","sourceRoot":"","sources":["../../../../../../src/services/framework/application-claude-settings.ts"],"names":[],"mappings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K,EAAE,qBAAqB,EAAE,IAAI,EAAE,OAAO,EAAE,oBAAoB,YAAY,KAAK,mBAAmB,CAAC,KAAK,CAAC,6DAA6D,EAAE,CAAC;IAChM,CAAC;AACH,CAAC","sourcesContent":["import { execFileSync } from 'node:child_process';\nimport { existsSync, readFileSync, realpathSync, writeFileSync } from 'node:fs';\nimport { isAbsolute, join, relative, resolve, sep } from 'node:path';\n\nimport { describeCaughtError } from '@wildo-ai/saas-models';\n\n/**\n * Keeps a generated application's `.claude/settings.json` wired to the `wildo` Claude Code plugin\n * (#1651, epic #1659).\n *\n * ## What the application gets, and why each key\n *\n * The developer drives application creation from a Claude Code session (the CONSOLE). The `wildo`\n * plugin — the `/wildo:*` commands, and later the hooks, background monitor and agents — is compiled\n * into `@wildo-ai/framework-knowledge` (`dist/claude-marketplace`), so it is always exactly the\n * framework version the application installed. Claude Code reaches it through three keys of the\n * application's PROJECT settings:\n *\n * - `extraKnownMarketplaces.wildo` — a `directory` source pointing at that compiled marketplace;\n * - `enabledPlugins[\"wildo@wildo\"]` — turn the plugin on;\n * - `permissions.allow` — the read-only `wildo` verbs the console calls constantly, so the session\n * does not stop on a prompt for each (calibrated on EFFECT, as the framework's own settings are:\n * reading is allowed, anything that spends or leaves the machine is not listed here).\n *\n * ## The path is relative to the GIT ROOT, not to the application — measured, not assumed\n *\n * Measured 2026-09-25 against Claude Code 2.1.281 (recorded on #1651): a project marketplace applies\n * only after the workspace-trust dialog, and for an application inside a larger repository BOTH the\n * trust and a relative `path` are keyed to the repository root. A path relative to the application\n * loaded nothing; the same path relative to the repository root loaded the plugin. So the path is\n * expressed from `git rev-parse --show-toplevel` — `./node_modules/…` for a standalone application,\n * `./platform/factory/framework-knowledge/dist/claude-marketplace` for the monorepo's dogfood\n * applications. A marketplace outside the repository is never written: the file is committed, and a\n * machine-specific absolute path would be wrong on every other checkout.\n *\n * ## Why a MERGE with recorded ownership, never a rewrite\n *\n * `.claude/settings.json` belongs to the application — a developer adds hooks, permissions and\n * plugins of their own. This writes only the keys it owns and records, beside the managed-file\n * manifest, exactly which values it wrote. On the next sync it removes what it wrote and no longer\n * wants, and leaves everything else alone. A value the developer CHANGED after it was written (the\n * plugin turned off) is the developer's decision and is not reverted. A checkout with no record (the\n * record is gitignored, the settings are not) infers it by exact value match —\n * {@link inferClaudeSettingsOwnership}.\n */\n\n/** The marketplace and plugin names — the install id is `wildo@wildo`, and commands answer as `/wildo:<name>`. */\nexport const WILDO_CLAUDE_MARKETPLACE_NAME = 'wildo';\nexport const WILDO_CLAUDE_PLUGIN_NAME = 'wildo';\nexport const WILDO_CLAUDE_PLUGIN_ID = `${WILDO_CLAUDE_PLUGIN_NAME}@${WILDO_CLAUDE_MARKETPLACE_NAME}`;\n\n/** Where the compiled marketplace sits beside `dist/knowledge` in `@wildo-ai/framework-knowledge`. */\nexport const WILDO_CLAUDE_MARKETPLACE_DIRECTORY_NAME = 'claude-marketplace';\n\n/**\n * The console verbs allowed without a prompt: READ-ONLY ones only.\n *\n * `wildo creation run|answer` and `wildo build …` are deliberately absent: they spend model money or\n * resume work, and each `/wildo:*` command that calls them pre-approves exactly the verb it needs\n * through its own `allowed-tools` — so the approval travels with the person's explicit invocation\n * instead of standing in the project for any prompt to use.\n */\nexport const WILDO_CONSOLE_READ_ONLY_PERMISSIONS: readonly string[] = Object.freeze([\n 'Bash(wildo creation feed:*)',\n 'Bash(wildo creation questions:*)',\n 'Bash(wildo creation why:*)',\n 'Bash(wildo creation writes:*)',\n 'Bash(wildo creation diff:*)',\n 'Bash(wildo creation pulse:*)',\n 'Bash(wildo creation brief:*)',\n 'Bash(wildo build next:*)',\n 'Bash(wildo build tasks:*)',\n 'Bash(wildo build dispatches:*)',\n 'Bash(wildo context:*)',\n 'Bash(wildo workbench status:*)',\n 'Bash(wildo local doctor:*)',\n]);\n\n/**\n * The console's status line (#1657). A plugin cannot carry `statusLine` (only `agent` and\n * `subagentStatusLine` are honoured from a plugin's settings), so it is written into the application's\n * project settings beside the plugin wiring.\n *\n * `refreshInterval` because the status line otherwise refreshes only on session events, and goes quiet\n * while the session is idle — exactly when the companion finishes a run. The verb is answered by the\n * CLI's fast path, so a refresh costs milliseconds, not the kernel's load.\n */\nexport const WILDO_STATUS_LINE_COMMAND = 'wildo creation statusline';\nexport const WILDO_STATUS_LINE_REFRESH_SECONDS = 5;\n\n/** What this module wrote last time — the only values it may later change or remove. */\nexport interface ApplicationClaudeSettingsOwnership {\n readonly schemaVersion: 1;\n readonly marketplaceSourcePath: string | null;\n readonly enabledPluginWritten: boolean;\n readonly permissionsAllow: readonly string[];\n /** Whether the `statusLine` in the file is the one this module wrote. */\n readonly statusLineWritten: boolean;\n}\n\nexport const EMPTY_CLAUDE_SETTINGS_OWNERSHIP: ApplicationClaudeSettingsOwnership = Object.freeze({\n schemaVersion: 1,\n marketplaceSourcePath: null,\n enabledPluginWritten: false,\n permissionsAllow: [],\n statusLineWritten: false,\n});\n\nexport interface ApplicationClaudeSettingsDesired {\n /** The marketplace `path`, relative to the git root and `./`-prefixed; `null` when there is no plugin to point at. */\n readonly marketplaceSourcePath: string | null;\n readonly permissionsAllow: readonly string[];\n}\n\ntype JsonObject = Record<string, unknown>;\n\nfunction asObject(value: unknown): JsonObject | null {\n return typeof value === 'object' && value !== null && !Array.isArray(value) ? (value as JsonObject) : null;\n}\n\n/**\n * `current` with this module's keys set to `desired`, given what it wrote last time.\n *\n * Pure: the caller reads and writes the file. Returns `changed: false` when nothing would move, so a\n * sync leaves the file's bytes and mtime alone — a settings file that looks edited on every sync is\n * one a developer stops reading diffs of.\n */\nexport function applyApplicationClaudeSettings(\n current: JsonObject,\n desired: ApplicationClaudeSettingsDesired,\n previous: ApplicationClaudeSettingsOwnership,\n): { readonly next: JsonObject; readonly ownership: ApplicationClaudeSettingsOwnership; readonly changed: boolean } {\n const next: JsonObject = structuredClone(current);\n\n /* The marketplace entry: ours by name. Removed when there is no plugin to point at any more. */\n const marketplaces = asObject(next.extraKnownMarketplaces) ?? {};\n if (desired.marketplaceSourcePath === null) {\n if (previous.marketplaceSourcePath !== null) delete marketplaces[WILDO_CLAUDE_MARKETPLACE_NAME];\n } else {\n // semantic-literal-boundary: `directory` is Claude Code's own marketplace source type, written into its settings file.\n marketplaces[WILDO_CLAUDE_MARKETPLACE_NAME] = { source: { source: 'directory', path: desired.marketplaceSourcePath } };\n }\n if (Object.keys(marketplaces).length > 0) next.extraKnownMarketplaces = marketplaces;\n else delete next.extraKnownMarketplaces;\n\n /*\n * The plugin switch. Written `true` when absent. A value that differs from what we last wrote is the\n * developer's own decision (they turned the plugin off) and is left alone.\n */\n const enabled = asObject(next.enabledPlugins) ?? {};\n let enabledPluginWritten = previous.enabledPluginWritten;\n if (desired.marketplaceSourcePath === null) {\n if (previous.enabledPluginWritten && enabled[WILDO_CLAUDE_PLUGIN_ID] === true) delete enabled[WILDO_CLAUDE_PLUGIN_ID];\n enabledPluginWritten = false;\n } else if (!(WILDO_CLAUDE_PLUGIN_ID in enabled)) {\n enabled[WILDO_CLAUDE_PLUGIN_ID] = true;\n enabledPluginWritten = true;\n }\n if (Object.keys(enabled).length > 0) next.enabledPlugins = enabled;\n else delete next.enabledPlugins;\n\n /* Permissions: remove what we wrote and no longer want, add what we want; never touch the rest. */\n const permissions = asObject(next.permissions) ?? {};\n const allow = Array.isArray(permissions.allow) ? (permissions.allow as unknown[]).filter((entry) => typeof entry === 'string') as string[] : [];\n const desiredAllow = new Set(desired.permissionsAllow);\n const withoutStale = allow.filter((entry) => !(previous.permissionsAllow.includes(entry) && !desiredAllow.has(entry)));\n const nextAllow = [...withoutStale, ...desired.permissionsAllow.filter((entry) => !withoutStale.includes(entry))];\n if (nextAllow.length > 0) permissions.allow = nextAllow;\n else delete permissions.allow;\n if (Object.keys(permissions).length > 0) next.permissions = permissions;\n else delete next.permissions;\n\n /*\n * The status line: written when there is none; kept current while it is still the one we wrote;\n * never replaces one the developer set; removed with the plugin. It is ours only if we wrote it AND it\n * still runs our command — a developer who edited it has taken it over.\n */\n const statusLine = asObject(next.statusLine);\n const statusLineIsOurs = previous.statusLineWritten && statusLine?.command === WILDO_STATUS_LINE_COMMAND;\n let statusLineWritten = statusLineIsOurs;\n if (desired.marketplaceSourcePath === null) {\n if (statusLineIsOurs) delete next.statusLine;\n statusLineWritten = false;\n } else if (statusLine === null || statusLineIsOurs) {\n // semantic-literal-boundary: `command` is Claude Code's own status-line type, written into its settings file.\n next.statusLine = { type: 'command', command: WILDO_STATUS_LINE_COMMAND, refreshInterval: WILDO_STATUS_LINE_REFRESH_SECONDS };\n statusLineWritten = true;\n }\n\n const ownership: ApplicationClaudeSettingsOwnership = {\n schemaVersion: 1,\n marketplaceSourcePath: desired.marketplaceSourcePath,\n enabledPluginWritten,\n permissionsAllow: [...desired.permissionsAllow],\n statusLineWritten,\n };\n return { next, ownership, changed: JSON.stringify(next) !== JSON.stringify(current) };\n}\n\n/** The repository root Claude Code keys trust and relative marketplace paths to; the application root when it is not in a repository. */\nexport function resolveRepositoryRoot(applicationRoot: string): string {\n try {\n const top = execFileSync('git', ['-C', applicationRoot, 'rev-parse', '--show-toplevel'], { encoding: 'utf8', stdio: ['ignore', 'pipe', 'ignore'] }).trim();\n return top.length > 0 ? realpathSync(top) : realpathSync(applicationRoot);\n } catch {\n return realpathSync(applicationRoot);\n }\n}\n\n/**\n * The marketplace `path` for project settings: relative to the repository root, `./`-prefixed, POSIX\n * separators. `null` when the marketplace lies outside the repository — a committed settings file\n * cannot carry a path that exists only on this machine.\n *\n * `marketplaceDirectory` is taken LOGICALLY relative to the application (so an installed package is\n * addressed as `node_modules/@wildo-ai/framework-knowledge/…`, not as the version-specific store path\n * pnpm links it to — a store path would break at the next upgrade until the next sync).\n */\nexport function computeMarketplaceSourcePath(applicationRoot: string, marketplaceDirectory: string, repositoryRoot: string): string | null {\n const anchored = resolve(realpathSync(applicationRoot), relative(applicationRoot, marketplaceDirectory));\n const fromRepositoryRoot = relative(repositoryRoot, anchored);\n if (fromRepositoryRoot === '' || fromRepositoryRoot.startsWith('..') || isAbsolute(fromRepositoryRoot)) return null;\n return `./${fromRepositoryRoot.split(sep).join('/')}`;\n}\n\nconst OWNERSHIP_FILE_RELATIVE = ['.claude', '.wildo-framework-knowledge', 'claude-settings-ownership.json'] as const;\nconst SETTINGS_FILE_RELATIVE = ['.claude', 'settings.json'] as const;\n\n/**\n * Ownership when there is NO record: inferred from the committed settings by EXACT value match.\n *\n * `settings.json` is committed and the ownership record is gitignored, so every fresh clone, and every\n * other developer's checkout, starts with the file wired and no record. Reading \"no record\" as \"nothing\n * is ours\" left the status line and the permissions this module wrote belonging to nobody: never kept\n * current, and never removed with the plugin (#1659 review L4).\n *\n * A value identical to what this module writes is claimed; anything else stays the developer's. Claiming\n * a developer's identical value costs nothing — keeping it current rewrites the same value, and removing\n * it happens only when the plugin itself goes. The residual, accepted: a permission this module wrote in\n * an EARLIER version and no longer writes cannot be recognized on such a clone, so it stays; it is a\n * read-only `wildo` verb, and a stale allowance of one is harmless.\n */\nexport function inferClaudeSettingsOwnership(current: Record<string, unknown>, desired: ApplicationClaudeSettingsDesired): ApplicationClaudeSettingsOwnership {\n const marketplace = asObject(asObject(current.extraKnownMarketplaces)?.[WILDO_CLAUDE_MARKETPLACE_NAME]);\n const source = asObject(marketplace?.source);\n const allow = asObject(current.permissions)?.allow;\n return {\n schemaVersion: 1,\n marketplaceSourcePath: typeof source?.path === 'string' ? source.path : null,\n enabledPluginWritten: asObject(current.enabledPlugins)?.[WILDO_CLAUDE_PLUGIN_ID] === true,\n permissionsAllow: Array.isArray(allow) ? allow.filter((entry): entry is string => typeof entry === 'string' && desired.permissionsAllow.includes(entry)) : [],\n statusLineWritten: asObject(current.statusLine)?.command === WILDO_STATUS_LINE_COMMAND,\n };\n}\n\n/** The recorded ownership, or `null` when this checkout has none (a fresh clone): see {@link inferClaudeSettingsOwnership}. */\nfunction readOwnership(applicationRoot: string): ApplicationClaudeSettingsOwnership | null {\n const path = join(applicationRoot, ...OWNERSHIP_FILE_RELATIVE);\n if (!existsSync(path)) return null;\n const parsed = JSON.parse(readFileSync(path, 'utf8')) as Partial<ApplicationClaudeSettingsOwnership>;\n if (parsed.schemaVersion !== 1 || !Array.isArray(parsed.permissionsAllow)) {\n throw new Error(`${path} is not a claude-settings ownership record this version understands; delete it to let the next sync start over.`);\n }\n return {\n schemaVersion: 1,\n marketplaceSourcePath: typeof parsed.marketplaceSourcePath === 'string' ? parsed.marketplaceSourcePath : null,\n enabledPluginWritten: parsed.enabledPluginWritten === true,\n permissionsAllow: parsed.permissionsAllow.filter((entry): entry is string => typeof entry === 'string'),\n /* Absent in a record written before the status line existed: nothing of ours is in the file yet. */\n statusLineWritten: parsed.statusLineWritten === true,\n };\n}\n\n/** What became of the application's Claude Code settings — returned, never logged, like the rule imports. */\nexport interface ApplicationClaudeSettingsOutcome {\n readonly updated: boolean;\n /** The marketplace path written, or `null` when no plugin was wired. */\n readonly marketplaceSourcePath: string | null;\n /** Present when the settings could NOT be written, or the plugin could not be wired. */\n readonly warning?: string;\n}\n\n/**\n * Read, merge and write the application's `.claude/settings.json`.\n *\n * Non-fatal by design, for the same reason the rule imports are: a knowledge sync that succeeded must\n * not be reported as failed because the settings could not be updated. The absence is returned.\n */\nexport function syncApplicationClaudeSettings(input: {\n readonly applicationRoot: string;\n /** The compiled marketplace directory, or `null` when the knowledge payload carries none. */\n readonly marketplaceDirectory: string | null;\n}): ApplicationClaudeSettingsOutcome {\n const settingsPath = join(input.applicationRoot, ...SETTINGS_FILE_RELATIVE);\n try {\n const present = input.marketplaceDirectory !== null && existsSync(join(input.marketplaceDirectory, '.claude-plugin', 'marketplace.json'));\n const marketplaceSourcePath = present\n ? computeMarketplaceSourcePath(input.applicationRoot, input.marketplaceDirectory as string, resolveRepositoryRoot(input.applicationRoot))\n : null;\n const current = existsSync(settingsPath) ? JSON.parse(readFileSync(settingsPath, 'utf8')) as unknown : {};\n const currentObject = asObject(current);\n if (currentObject === null) {\n return { updated: false, marketplaceSourcePath: null, warning: `${settingsPath} is not a JSON object; the wildo plugin and console permissions were NOT wired.` };\n }\n const desired = { marketplaceSourcePath, permissionsAllow: WILDO_CONSOLE_READ_ONLY_PERMISSIONS };\n const previous = readOwnership(input.applicationRoot) ?? inferClaudeSettingsOwnership(currentObject, desired);\n const { next, ownership, changed } = applyApplicationClaudeSettings(currentObject, desired, previous);\n if (changed) writeFileSync(settingsPath, `${JSON.stringify(next, null, 2)}\\n`, 'utf8');\n writeFileSync(join(input.applicationRoot, ...OWNERSHIP_FILE_RELATIVE), `${JSON.stringify(ownership, null, 2)}\\n`, 'utf8');\n const warning = !present\n ? 'The installed framework knowledge carries no Claude Code plugin (dist/claude-marketplace); the /wildo:* commands are not wired.'\n : marketplaceSourcePath === null\n ? 'The wildo plugin lies outside this application\\'s git repository, so it cannot be named in the committed settings; the /wildo:* commands are not wired.'\n : undefined;\n return { updated: changed, marketplaceSourcePath, ...(warning === undefined ? {} : { warning }) };\n } catch (error) {\n return { updated: false, marketplaceSourcePath: null, warning: `Could not update ${settingsPath} (${describeCaughtError(error)}); the wildo plugin and console permissions were NOT wired.` };\n }\n}\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The dev orchestrator's per-package compile record, relative to the framework root. Owned by
|
|
3
|
+
* `scripts/dev-orchestrator/dev-compile-status.mjs`; read by the CLI, never written.
|
|
4
|
+
*
|
|
5
|
+
* A module of its own so a reader that only needs the PATH — the creation preflight's watcher check, on every
|
|
6
|
+
* `wildo creation run` — does not load the publish service and the TypeScript compiler it imports.
|
|
7
|
+
*/
|
|
8
|
+
export declare const DEV_COMPILE_STATUS_RELATIVE: string;
|
|
9
|
+
//# sourceMappingURL=dev-compile-status.paths.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dev-compile-status.paths.d.ts","sourceRoot":"","sources":["../../../../../../src/services/framework/dev-compile-status.paths.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,QAA4D,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { join } from 'path';
|
|
2
|
+
/**
|
|
3
|
+
* The dev orchestrator's per-package compile record, relative to the framework root. Owned by
|
|
4
|
+
* `scripts/dev-orchestrator/dev-compile-status.mjs`; read by the CLI, never written.
|
|
5
|
+
*
|
|
6
|
+
* A module of its own so a reader that only needs the PATH — the creation preflight's watcher check, on every
|
|
7
|
+
* `wildo creation run` — does not load the publish service and the TypeScript compiler it imports.
|
|
8
|
+
*/
|
|
9
|
+
export const DEV_COMPILE_STATUS_RELATIVE = join('.wildo-runtime-signals', 'dev-compile-status.json');
|
|
10
|
+
//# sourceMappingURL=dev-compile-status.paths.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dev-compile-status.paths.js","sourceRoot":"","sources":["../../../../../../src/services/framework/dev-compile-status.paths.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,IAAI,CAAC,wBAAwB,EAAE,yBAAyB,CAAC,CAAC","sourcesContent":["import { join } from 'path';\n\n/**\n * The dev orchestrator's per-package compile record, relative to the framework root. Owned by\n * `scripts/dev-orchestrator/dev-compile-status.mjs`; read by the CLI, never written.\n *\n * A module of its own so a reader that only needs the PATH — the creation preflight's watcher check, on every\n * `wildo creation run` — does not load the publish service and the TypeScript compiler it imports.\n */\nexport const DEV_COMPILE_STATUS_RELATIVE = join('.wildo-runtime-signals', 'dev-compile-status.json');\n"]}
|
|
@@ -4,7 +4,7 @@ import { resolveFrameworkLayout } from '@wildo-ai/platform-config-lib';
|
|
|
4
4
|
import { applyApplicationRuleImports } from './application-rule-imports.js';
|
|
5
5
|
import { WILDO_CLAUDE_MARKETPLACE_DIRECTORY_NAME, syncApplicationClaudeSettings, } from './application-claude-settings.js';
|
|
6
6
|
import { FrameworkKnowledgeApplicationGuidanceValidator, } from '../../services/framework/framework-knowledge-application-guidance.validator.js';
|
|
7
|
-
import { describeCaughtError } from '@wildo-ai/saas-
|
|
7
|
+
import { describeCaughtError } from '@wildo-ai/saas-models';
|
|
8
8
|
const SKILLS_DIRECTORY_NAME = 'skills';
|
|
9
9
|
/**
|
|
10
10
|
* Compiled always-on rules, installed beside the skills under `.claude/`.
|