@wildo-ai/wildo-cli 1.1.2 → 1.1.3
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/bin/wildo.d.ts.map +1 -1
- package/dist/src/__tests__/sandbox-dependencies.test-helpers.d.ts.map +1 -1
- package/dist/src/commands/acp/probe.command.d.ts.map +1 -1
- package/dist/src/commands/acp/probe.command.js +13 -0
- package/dist/src/commands/acp/probe.command.js.map +1 -1
- package/dist/src/commands/align-deps.command.d.ts.map +1 -1
- package/dist/src/commands/assets/sync.command.d.ts +6 -0
- package/dist/src/commands/assets/sync.command.d.ts.map +1 -1
- package/dist/src/commands/assets/sync.command.js +13 -3
- package/dist/src/commands/assets/sync.command.js.map +1 -1
- package/dist/src/commands/brand/propagate.command.d.ts.map +1 -1
- package/dist/src/commands/compose.command.d.ts.map +1 -1
- package/dist/src/commands/compose.command.js +16 -0
- package/dist/src/commands/compose.command.js.map +1 -1
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.d.ts.map +1 -1
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js +1 -1
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js.map +1 -1
- package/dist/src/commands/config/__tests__/sync.command.test.d.ts.map +1 -1
- package/dist/src/commands/config/__tests__/sync.command.test.js +115 -8
- package/dist/src/commands/config/__tests__/sync.command.test.js.map +1 -1
- package/dist/src/commands/config/__tests__/validate.command.test.d.ts.map +1 -1
- package/dist/src/commands/config/mutate.command.d.ts.map +1 -1
- package/dist/src/commands/config/reapply-declaration.command.d.ts.map +1 -1
- package/dist/src/commands/config/sync.command.d.ts +36 -0
- package/dist/src/commands/config/sync.command.d.ts.map +1 -1
- package/dist/src/commands/config/sync.command.js +61 -7
- package/dist/src/commands/config/sync.command.js.map +1 -1
- package/dist/src/commands/config/validate.command.d.ts.map +1 -1
- package/dist/src/commands/context/__tests__/jurisdictions.command.test.d.ts +19 -0
- package/dist/src/commands/context/__tests__/jurisdictions.command.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/jurisdictions.command.test.js +106 -0
- package/dist/src/commands/context/__tests__/jurisdictions.command.test.js.map +1 -0
- package/dist/src/commands/context/coherence.command.d.ts.map +1 -1
- package/dist/src/commands/context/context-command.utils.d.ts.map +1 -1
- package/dist/src/commands/context/health.command.d.ts.map +1 -1
- package/dist/src/commands/context/info.command.d.ts.map +1 -1
- package/dist/src/commands/context/journey.command.d.ts +6 -2
- package/dist/src/commands/context/journey.command.d.ts.map +1 -1
- package/dist/src/commands/context/journey.command.js +8 -4
- package/dist/src/commands/context/journey.command.js.map +1 -1
- package/dist/src/commands/context/jurisdictions.command.d.ts +36 -0
- package/dist/src/commands/context/jurisdictions.command.d.ts.map +1 -0
- package/dist/src/commands/context/jurisdictions.command.js +115 -0
- package/dist/src/commands/context/jurisdictions.command.js.map +1 -0
- package/dist/src/commands/context/list.command.d.ts.map +1 -1
- package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
- package/dist/src/commands/db/diff.command.d.ts.map +1 -1
- package/dist/src/commands/db/generate.command.d.ts.map +1 -1
- package/dist/src/commands/db/migrate.command.d.ts.map +1 -1
- package/dist/src/commands/db/resolve.command.d.ts.map +1 -1
- package/dist/src/commands/dev/__tests__/design-tokens.command.test.d.ts.map +1 -1
- package/dist/src/commands/dev/__tests__/start.command.test.d.ts.map +1 -1
- package/dist/src/commands/dev/__tests__/start.command.test.js +6 -6
- package/dist/src/commands/dev/__tests__/start.command.test.js.map +1 -1
- package/dist/src/commands/dev/__tests__/stop.command.test.d.ts.map +1 -1
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.d.ts.map +1 -1
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js +71 -0
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js.map +1 -1
- package/dist/src/commands/dev/charts-audit.command.d.ts.map +1 -1
- package/dist/src/commands/dev/charts-audit.command.js +1 -1
- package/dist/src/commands/dev/charts-audit.command.js.map +1 -1
- package/dist/src/commands/dev/design-tokens-generate.command.d.ts.map +1 -1
- package/dist/src/commands/dev/design-tokens-init.command.d.ts.map +1 -1
- package/dist/src/commands/dev/design-tokens-validate.command.d.ts.map +1 -1
- package/dist/src/commands/dev/force-stop.command.d.ts.map +1 -1
- package/dist/src/commands/dev/resources.command.d.ts.map +1 -1
- package/dist/src/commands/dev/start.command.d.ts.map +1 -1
- package/dist/src/commands/dev/start.command.js +8 -7
- package/dist/src/commands/dev/start.command.js.map +1 -1
- package/dist/src/commands/dev/stop-all.command.d.ts.map +1 -1
- package/dist/src/commands/dev/sync-csp.command.d.ts.map +1 -1
- package/dist/src/commands/dev/sync-csp.command.js +35 -7
- package/dist/src/commands/dev/sync-csp.command.js.map +1 -1
- package/dist/src/commands/docs/__tests__/publish.command.test.d.ts +2 -0
- package/dist/src/commands/docs/__tests__/publish.command.test.d.ts.map +1 -0
- package/dist/src/commands/docs/__tests__/publish.command.test.js +101 -0
- package/dist/src/commands/docs/__tests__/publish.command.test.js.map +1 -0
- package/dist/src/commands/docs/publish.command.d.ts +29 -0
- package/dist/src/commands/docs/publish.command.d.ts.map +1 -0
- package/dist/src/commands/docs/publish.command.js +82 -0
- package/dist/src/commands/docs/publish.command.js.map +1 -0
- package/dist/src/commands/frontend/publish.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/__tests__/dev-skills.command.test.d.ts.map +1 -1
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.d.ts.map +1 -1
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js.map +1 -1
- package/dist/src/commands/fwk/audit.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/dev-skills.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/dev-skills.command.js +12 -0
- package/dist/src/commands/fwk/dev-skills.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-docs.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/generate-providers.command.d.ts +21 -0
- package/dist/src/commands/fwk/generate-providers.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/generate-providers.command.js +309 -0
- package/dist/src/commands/fwk/generate-providers.command.js.map +1 -0
- package/dist/src/commands/fwk/graph.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-docker.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-npm.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/version-bump.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/version-set.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/version-show.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/version-show.command.js +9 -1
- package/dist/src/commands/fwk/version-show.command.js.map +1 -1
- package/dist/src/commands/fwk/version-sync.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/what-touches.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/wt-status.command.d.ts +13 -4
- package/dist/src/commands/fwk/wt-status.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/wt-status.command.js +34 -5
- package/dist/src/commands/fwk/wt-status.command.js.map +1 -1
- package/dist/src/commands/fwk/wt-tail.command.d.ts +12 -6
- package/dist/src/commands/fwk/wt-tail.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/wt-tail.command.js +40 -10
- package/dist/src/commands/fwk/wt-tail.command.js.map +1 -1
- package/dist/src/commands/generate/__tests__/email-command.utils.test.d.ts.map +1 -1
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js +0 -1
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js.map +1 -1
- package/dist/src/commands/generate/email-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/email-command.utils.js +1 -0
- package/dist/src/commands/generate/email-command.utils.js.map +1 -1
- package/dist/src/commands/generate/email-preview.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-status.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-test-send.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-translate.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email.command.d.ts.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.js +1 -0
- package/dist/src/commands/generate/labelling-command.utils.js.map +1 -1
- package/dist/src/commands/generate/labels-plan.command.d.ts.map +1 -1
- package/dist/src/commands/generate/labels.command.d.ts.map +1 -1
- package/dist/src/commands/generate/translate.command.d.ts.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 +17 -0
- package/dist/src/commands/init.command.d.ts.map +1 -1
- package/dist/src/commands/init.command.js +57 -4
- package/dist/src/commands/init.command.js.map +1 -1
- package/dist/src/commands/local/__tests__/dev-status.command.test.d.ts.map +1 -1
- package/dist/src/commands/local/__tests__/dev.command.test.d.ts.map +1 -1
- package/dist/src/commands/local/__tests__/dev.command.test.js +60 -0
- package/dist/src/commands/local/__tests__/dev.command.test.js.map +1 -1
- package/dist/src/commands/local/__tests__/doctor.command.test.d.ts.map +1 -1
- package/dist/src/commands/local/__tests__/doctor.command.test.js +16 -2
- package/dist/src/commands/local/__tests__/doctor.command.test.js.map +1 -1
- package/dist/src/commands/local/__tests__/init.command.test.d.ts.map +1 -1
- package/dist/src/commands/local/__tests__/init.command.test.js +28 -1
- package/dist/src/commands/local/__tests__/init.command.test.js.map +1 -1
- package/dist/src/commands/local/__tests__/reinit.command.test.d.ts.map +1 -1
- package/dist/src/commands/local/__tests__/reset.command.test.d.ts.map +1 -1
- package/dist/src/commands/local/__tests__/up.command.test.d.ts.map +1 -1
- package/dist/src/commands/local/__tests__/up.command.test.js +7 -0
- package/dist/src/commands/local/__tests__/up.command.test.js.map +1 -1
- package/dist/src/commands/local/dev-status.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev.command.d.ts +6 -3
- package/dist/src/commands/local/dev.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev.command.js +13 -4
- package/dist/src/commands/local/dev.command.js.map +1 -1
- package/dist/src/commands/local/doctor.command.d.ts +9 -0
- package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
- package/dist/src/commands/local/doctor.command.js +24 -6
- package/dist/src/commands/local/doctor.command.js.map +1 -1
- package/dist/src/commands/local/down.command.d.ts.map +1 -1
- package/dist/src/commands/local/init.command.d.ts.map +1 -1
- package/dist/src/commands/local/init.command.js +11 -2
- package/dist/src/commands/local/init.command.js.map +1 -1
- package/dist/src/commands/local/logs.command.d.ts.map +1 -1
- package/dist/src/commands/local/reinit.command.d.ts.map +1 -1
- package/dist/src/commands/local/reset.command.d.ts.map +1 -1
- package/dist/src/commands/local/status.command.d.ts.map +1 -1
- package/dist/src/commands/local/up.command.d.ts.map +1 -1
- package/dist/src/commands/local/up.command.js.map +1 -1
- package/dist/src/commands/lock/__tests__/check.command.test.d.ts.map +1 -1
- package/dist/src/commands/lock/__tests__/check.live.contract.test.d.ts.map +1 -1
- package/dist/src/commands/lock/check.command.d.ts.map +1 -1
- package/dist/src/commands/lock/check.command.js +3 -10
- package/dist/src/commands/lock/check.command.js.map +1 -1
- package/dist/src/commands/market/__tests__/generate.command.test.d.ts.map +1 -1
- package/dist/src/commands/market/__tests__/market-command.utils.test.d.ts.map +1 -1
- package/dist/src/commands/market/__tests__/market-command.utils.test.js +0 -1
- package/dist/src/commands/market/__tests__/market-command.utils.test.js.map +1 -1
- package/dist/src/commands/market/generate.command.d.ts.map +1 -1
- package/dist/src/commands/market/market-command.utils.d.ts.map +1 -1
- package/dist/src/commands/market/market-command.utils.js +1 -0
- package/dist/src/commands/market/market-command.utils.js.map +1 -1
- package/dist/src/commands/providers/__tests__/required-inputs.test.d.ts +2 -0
- package/dist/src/commands/providers/__tests__/required-inputs.test.d.ts.map +1 -0
- package/dist/src/commands/providers/__tests__/required-inputs.test.js +35 -0
- package/dist/src/commands/providers/__tests__/required-inputs.test.js.map +1 -0
- package/dist/src/commands/providers/show.command.d.ts +51 -0
- package/dist/src/commands/providers/show.command.d.ts.map +1 -0
- package/dist/src/commands/providers/show.command.js +152 -0
- package/dist/src/commands/providers/show.command.js.map +1 -0
- package/dist/src/commands/registry/add.command.d.ts.map +1 -1
- package/dist/src/commands/registry/info.command.d.ts.map +1 -1
- package/dist/src/commands/registry/lockfile-smoke.command.d.ts.map +1 -1
- package/dist/src/commands/registry/login.command.d.ts.map +1 -1
- package/dist/src/commands/registry/logout.command.d.ts.map +1 -1
- package/dist/src/commands/registry/ping.command.d.ts.map +1 -1
- package/dist/src/commands/registry/publish.command.d.ts.map +1 -1
- package/dist/src/commands/registry/remove.command.d.ts.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
- package/dist/src/commands/registry/search.command.d.ts.map +1 -1
- package/dist/src/commands/registry/update.command.d.ts.map +1 -1
- package/dist/src/commands/registry/whoami.command.d.ts.map +1 -1
- package/dist/src/commands/remote/__tests__/remote-commands.test.d.ts.map +1 -1
- package/dist/src/commands/remote/create.command.d.ts.map +1 -1
- package/dist/src/commands/remote/list.command.d.ts.map +1 -1
- package/dist/src/commands/remote/status.command.d.ts.map +1 -1
- package/dist/src/commands/remote/sync.command.d.ts.map +1 -1
- package/dist/src/commands/setup.command.d.ts.map +1 -1
- package/dist/src/commands/version.command.d.ts.map +1 -1
- package/dist/src/commands/website/__tests__/audit.command.test.d.ts.map +1 -1
- package/dist/src/commands/website/audit.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/__tests__/workbench.commands.test.d.ts.map +1 -1
- package/dist/src/commands/workbench/open.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/status.command.d.ts.map +1 -1
- package/dist/src/infrastructure/errors/error.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/io/file.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/io/io.schemas.d.ts.map +1 -1
- package/dist/src/infrastructure/io/template-processor.d.ts.map +1 -1
- package/dist/src/infrastructure/logger/logger.service.d.ts.map +1 -1
- package/dist/src/infrastructure/process/__tests__/spawn.utils.test.d.ts.map +1 -1
- package/dist/src/infrastructure/process/spawn.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/formatting.service.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/interaction-engine.service.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/markdown-renderer.service.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/ui.schemas.d.ts.map +1 -1
- package/dist/src/infrastructure/utils/string.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/validation/validator.service.d.ts.map +1 -1
- package/dist/src/kernel/__tests__/bootstrap.test.d.ts.map +1 -1
- package/dist/src/kernel/__tests__/command-registry.test.d.ts.map +1 -1
- package/dist/src/kernel/__tests__/command-registry.test.js +9 -0
- package/dist/src/kernel/__tests__/command-registry.test.js.map +1 -1
- package/dist/src/kernel/__tests__/command-runner.test.d.ts.map +1 -1
- package/dist/src/kernel/__tests__/command-scope-utils.test.d.ts.map +1 -1
- package/dist/src/kernel/__tests__/flag-utils.test.d.ts.map +1 -1
- package/dist/src/kernel/__tests__/hooks.test.d.ts.map +1 -1
- package/dist/src/kernel/base-command.d.ts.map +1 -1
- package/dist/src/kernel/bootstrap.d.ts.map +1 -1
- package/dist/src/kernel/command-registry.d.ts.map +1 -1
- package/dist/src/kernel/command-registry.js +6 -0
- package/dist/src/kernel/command-registry.js.map +1 -1
- package/dist/src/kernel/command-runner.d.ts.map +1 -1
- package/dist/src/kernel/command-scope-utils.d.ts.map +1 -1
- package/dist/src/kernel/flag-utils.d.ts.map +1 -1
- package/dist/src/kernel/hooks.d.ts.map +1 -1
- package/dist/src/kernel/logger.d.ts.map +1 -1
- package/dist/src/kernel/types.d.ts +17 -1
- package/dist/src/kernel/types.d.ts.map +1 -1
- package/dist/src/kernel/types.js +16 -0
- package/dist/src/kernel/types.js.map +1 -1
- package/dist/src/main.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js +2 -2
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js.map +1 -1
- package/dist/src/modules/domain/credentials/admin-user.module.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/module.types.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/providers-config.module.d.ts +17 -9
- package/dist/src/modules/domain/credentials/providers-config.module.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/providers-config.module.js +18 -10
- package/dist/src/modules/domain/credentials/providers-config.module.js.map +1 -1
- package/dist/src/modules/domain/environment/__tests__/database-config.module.test.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/database-config.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/module.types.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/paths-config.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/runtime-selector.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/runtime-semantics.module.d.ts.map +1 -1
- package/dist/src/modules/domain/module.types.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.js +22 -29
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js.map +1 -1
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js +2 -2
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js +19 -0
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/application-initialization-verification.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.js.map +1 -1
- package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/dev-orchestrator.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/dev-schema-drift.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js +0 -1
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.js +8 -1
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/local-application-initialization.guard.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.js +35 -0
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/provider-package-links.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/provider-package-links.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/provider-package-links.service.test.js +156 -0
- package/dist/src/services/application/__tests__/provider-package-links.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js +28 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js +0 -1
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js.map +1 -1
- package/dist/src/services/application/__tests__/saas-scaffold.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.js.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.d.ts +34 -10
- package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.js +62 -48
- package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/app-env.service.d.ts.map +1 -1
- package/dist/src/services/application/app-local-runtime-addresses.service.d.ts.map +1 -1
- package/dist/src/services/application/app-runtime-targets.service.d.ts.map +1 -1
- package/dist/src/services/application/app-schema-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.d.ts +22 -1
- package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.js +35 -7
- package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
- package/dist/src/services/application/application-dev-port-offsets.d.ts.map +1 -1
- package/dist/src/services/application/application-initialization-verification.service.d.ts.map +1 -1
- package/dist/src/services/application/application-root.utils.d.ts.map +1 -1
- package/dist/src/services/application/application-runtime-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/application-runtime-bootstrap.service.js +0 -2
- package/dist/src/services/application/application-runtime-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/dev-orchestrator.service.d.ts.map +1 -1
- package/dist/src/services/application/dev-schema-drift.service.d.ts.map +1 -1
- package/dist/src/services/application/existing-app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/local-app-reinit.service.d.ts.map +1 -1
- package/dist/src/services/application/local-application-initialization.service.d.ts.map +1 -1
- package/dist/src/services/application/local-application-initialization.service.js +22 -6
- package/dist/src/services/application/local-application-initialization.service.js.map +1 -1
- package/dist/src/services/application/provider-package-links.service.d.ts +130 -0
- package/dist/src/services/application/provider-package-links.service.d.ts.map +1 -0
- package/dist/src/services/application/provider-package-links.service.js +280 -0
- package/dist/src/services/application/provider-package-links.service.js.map +1 -0
- package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.js +6 -20
- package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
- package/dist/src/services/application/saas-scaffold.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-scaffold.service.js +11 -2
- package/dist/src/services/application/saas-scaffold.service.js.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.js +24 -24
- package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts.map +1 -1
- package/dist/src/services/brand/brand-asset-projection.d.ts.map +1 -1
- package/dist/src/services/brand/brand-destination-utils.d.ts.map +1 -1
- package/dist/src/services/brand/brand-propagation.types.d.ts.map +1 -1
- package/dist/src/services/brand/brand-ssot-reader.d.ts.map +1 -1
- package/dist/src/services/brand/destinations/app-public.destination.d.ts.map +1 -1
- package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts.map +1 -1
- package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts.map +1 -1
- package/dist/src/services/brand/destinations/website-og.destination.d.ts.map +1 -1
- package/dist/src/services/brand/destinations/website-public.destination.d.ts.map +1 -1
- package/dist/src/services/catalog/__tests__/durable-state-classification.test.d.ts +2 -0
- package/dist/src/services/catalog/__tests__/durable-state-classification.test.d.ts.map +1 -0
- package/dist/src/services/catalog/__tests__/durable-state-classification.test.js +93 -0
- package/dist/src/services/catalog/__tests__/durable-state-classification.test.js.map +1 -0
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.d.ts.map +1 -1
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js +25 -5
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js.map +1 -1
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.d.ts.map +1 -1
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js +109 -51
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js.map +1 -1
- package/dist/src/services/catalog/service-address-resolver.service.d.ts +0 -1
- package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -1
- package/dist/src/services/catalog/service-address-resolver.service.js +23 -7
- package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.d.ts +148 -51
- package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.js +230 -78
- package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -1
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.d.ts +2 -0
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.d.ts.map +1 -0
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js +110 -0
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js.map +1 -0
- package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts +32 -0
- package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts.map +1 -1
- package/dist/src/services/coding-agents/acp-conformance-probe.service.js +165 -7
- package/dist/src/services/coding-agents/acp-conformance-probe.service.js.map +1 -1
- package/dist/src/services/companion/__tests__/companion-client.service.test.d.ts.map +1 -1
- package/dist/src/services/companion/__tests__/companion-client.service.test.js +96 -0
- package/dist/src/services/companion/__tests__/companion-client.service.test.js.map +1 -1
- package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.d.ts.map +1 -1
- package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.d.ts.map +1 -1
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.d.ts.map +1 -1
- package/dist/src/services/companion/companion-client-options.utils.d.ts.map +1 -1
- package/dist/src/services/companion/companion-client-options.utils.js +6 -0
- package/dist/src/services/companion/companion-client-options.utils.js.map +1 -1
- package/dist/src/services/companion/companion-client.service.d.ts.map +1 -1
- package/dist/src/services/companion/companion-client.service.js +34 -0
- package/dist/src/services/companion/companion-client.service.js.map +1 -1
- package/dist/src/services/companion/companion-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/companion/companion-local-token.utils.d.ts +20 -0
- package/dist/src/services/companion/companion-local-token.utils.d.ts.map +1 -0
- package/dist/src/services/companion/companion-local-token.utils.js +62 -0
- package/dist/src/services/companion/companion-local-token.utils.js.map +1 -0
- package/dist/src/services/companion/companion.schemas.d.ts +12 -0
- package/dist/src/services/companion/companion.schemas.d.ts.map +1 -1
- package/dist/src/services/companion/companion.schemas.js.map +1 -1
- package/dist/src/services/companion/git-helper.service.d.ts.map +1 -1
- package/dist/src/services/companion/local-companion-authority.service.d.ts.map +1 -1
- package/dist/src/services/companion/local-companion-authority.service.js +9 -30
- package/dist/src/services/companion/local-companion-authority.service.js.map +1 -1
- package/dist/src/services/companion/workbench-browser-launcher.service.d.ts.map +1 -1
- package/dist/src/services/companion/workbench-cli.service.d.ts.map +1 -1
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.d.ts.map +1 -1
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js +7 -0
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js.map +1 -1
- package/dist/src/services/context/__tests__/context-manager.service.test.d.ts.map +1 -1
- package/dist/src/services/context/context-manager.service.d.ts +9 -0
- package/dist/src/services/context/context-manager.service.d.ts.map +1 -1
- package/dist/src/services/context/context-manager.service.js +13 -1
- package/dist/src/services/context/context-manager.service.js.map +1 -1
- package/dist/src/services/context/context.schemas.d.ts.map +1 -1
- package/dist/src/services/context/state-manager.service.d.ts.map +1 -1
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.d.ts +28 -0
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js +197 -0
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.js +327 -0
- package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.d.ts.map +1 -1
- package/dist/src/services/credentials/__tests__/secrets-contracts.test.d.ts.map +1 -1
- package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts.map +1 -1
- package/dist/src/services/credentials/ci-secrets-adapter.service.js +98 -37
- package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts +175 -0
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -0
- package/dist/src/services/credentials/composed-provider-catalogue.js +228 -0
- package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -0
- package/dist/src/services/credentials/credentials.schemas.d.ts +2 -22
- package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.js +17 -5
- package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
- package/dist/src/services/credentials/credentials.service.d.ts.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.d.ts +105 -1
- package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.js +2 -0
- package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -1
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts +127 -7
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
- package/dist/src/services/credentials/provider-env-vars.utils.js +189 -45
- package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
- package/dist/src/services/credentials/secrets-provisioning.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-writer.service.d.ts.map +1 -1
- package/dist/src/services/data-services/data-services.schemas.d.ts +0 -1
- package/dist/src/services/data-services/data-services.schemas.d.ts.map +1 -1
- package/dist/src/services/data-services/data-services.schemas.js +0 -1
- package/dist/src/services/data-services/data-services.schemas.js.map +1 -1
- package/dist/src/services/data-services/data-services.service.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js +91 -1
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js +45 -15
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js +33 -1
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js +44 -1
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js +82 -87
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/apps-manager-diagnostics.service.d.ts.map +1 -1
- package/dist/src/services/deployment/ci-deploy-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/ci-deploy-generator.service.js +11 -1
- package/dist/src/services/deployment/ci-deploy-generator.service.js.map +1 -1
- package/dist/src/services/deployment/ci-workflow-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/ci-workflow-generator.service.js +23 -4
- package/dist/src/services/deployment/ci-workflow-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js +150 -7
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js +60 -12
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -1
- package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/infra-writer.service.d.ts.map +1 -1
- package/dist/src/services/deployment/infra-writer.service.js +11 -3
- package/dist/src/services/deployment/infra-writer.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js +110 -9
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.d.ts +2 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.js +226 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.js.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js +132 -12
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/kind.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js +3 -0
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +45 -9
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +4 -3
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js +0 -4
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts +10 -1
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +193 -33
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/kind.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-observer-lifecycle.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-output-boundary.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-session-lease.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-shutdown-coordinator.d.ts.map +1 -1
- package/dist/src/services/deployment/local-infrastructure-initialization.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts +28 -17
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.js +83 -3
- package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts.map +1 -1
- package/dist/src/services/deployment/platform-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/deployment/platform-runtime-policy.service.d.ts.map +1 -1
- package/dist/src/services/deployment/version-compare.utils.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-command.service.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-config.service.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-config.template.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-css-block.service.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens.constants.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens.models.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/compose-converge-args.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/config-hydration-seam.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js +36 -20
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/env-sync.service.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/env-sync.service.test.js +6 -4
- package/dist/src/services/environment/__tests__/env-sync.service.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js +89 -8
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/environment-hydration.utils.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js +136 -0
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/environment-paths.service.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/environment-registry.service.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js +23 -0
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/platform-image-ref.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/platform-image-ref.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.d.ts.map +1 -1
- package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.d.ts +52 -14
- package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.js +41 -38
- package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
- package/dist/src/services/environment/env-sync.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-sync.service.js +13 -13
- package/dist/src/services/environment/env-sync.service.js.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.d.ts +28 -0
- package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.js +169 -41
- package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
- package/dist/src/services/environment/environment-hydration.utils.d.ts.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.d.ts +53 -1
- package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.js +65 -1
- package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
- package/dist/src/services/environment/environment-paths.service.d.ts +2 -1
- package/dist/src/services/environment/environment-paths.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-paths.service.js +5 -3
- package/dist/src/services/environment/environment-paths.service.js.map +1 -1
- package/dist/src/services/environment/environment-registry.service.d.ts.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 +23 -9
- package/dist/src/services/environment/environment-setup.service.js.map +1 -1
- package/dist/src/services/environment/environment.schemas.d.ts.map +1 -1
- package/dist/src/services/environment/environment.service.d.ts +6 -1
- package/dist/src/services/environment/environment.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment.service.js +2 -0
- package/dist/src/services/environment/environment.service.js.map +1 -1
- package/dist/src/services/environment/platform-engine-change.utils.d.ts.map +1 -1
- package/dist/src/services/environment/platform-runtime-state.service.d.ts.map +1 -1
- package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -1
- package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -1
- package/dist/src/services/environment/runtime-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/application-rule-imports.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/application-rule-imports.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/application-rule-imports.test.js +58 -0
- package/dist/src/services/framework/__tests__/application-rule-imports.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.js +47 -0
- package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js +50 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js +4 -70
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js +78 -6
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-release.service.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-release.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-secrets-writer.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-version.service.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-version.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.d.ts.map +1 -1
- package/dist/src/services/framework/application-rule-imports.d.ts +36 -0
- package/dist/src/services/framework/application-rule-imports.d.ts.map +1 -0
- package/dist/src/services/framework/application-rule-imports.js +77 -0
- package/dist/src/services/framework/application-rule-imports.js.map +1 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +23 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-development-skills-sync.service.js +51 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
- package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-docker-publish.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-application-guidance.validator.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +45 -0
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.js +122 -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 +0 -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 +29 -215
- package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -1
- package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-npm-publish.service.js +7 -3
- package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts +44 -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 +79 -4
- package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
- package/dist/src/services/framework/framework-release.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-version.service.d.ts +13 -0
- package/dist/src/services/framework/framework-version.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-version.service.js +23 -24
- package/dist/src/services/framework/framework-version.service.js.map +1 -1
- package/dist/src/services/framework/installed-framework-assets.service.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.js +92 -0
- package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.js +83 -0
- package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js +166 -0
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.js +372 -0
- package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.js +794 -0
- package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.d.ts +14 -0
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js +1047 -0
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts +26 -0
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.js +57 -0
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/openapi-source.reader.d.ts +35 -0
- package/dist/src/services/framework/provider-transposition/openapi-source.reader.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/openapi-source.reader.js +204 -0
- package/dist/src/services/framework/provider-transposition/openapi-source.reader.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts +410 -0
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js +434 -0
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/provider-merge.d.ts +39 -0
- package/dist/src/services/framework/provider-transposition/provider-merge.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/provider-merge.js +274 -0
- package/dist/src/services/framework/provider-transposition/provider-merge.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts +130 -0
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.js +1466 -0
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/sim-source.reader.d.ts +35 -0
- package/dist/src/services/framework/provider-transposition/sim-source.reader.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/sim-source.reader.js +527 -0
- package/dist/src/services/framework/provider-transposition/sim-source.reader.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts +229 -0
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.js +96 -0
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts +55 -0
- package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/url-template.extractor.js +196 -0
- package/dist/src/services/framework/provider-transposition/url-template.extractor.js.map +1 -0
- package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.d.ts.map +1 -1
- package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.d.ts.map +1 -1
- package/dist/src/services/frontend/__tests__/frontend-publish.service.test.d.ts.map +1 -1
- package/dist/src/services/frontend/cloudflare-cdn.service.d.ts.map +1 -1
- package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts.map +1 -1
- package/dist/src/services/frontend/frontend-publish.service.d.ts.map +1 -1
- package/dist/src/services/frontend/frontend-publish.service.js +1 -1
- package/dist/src/services/frontend/frontend-publish.service.js.map +1 -1
- package/dist/src/services/generation/domain-generator.service.d.ts.map +1 -1
- package/dist/src/services/generation/generator.schemas.d.ts.map +1 -1
- package/dist/src/services/generation/operation-generator.service.d.ts.map +1 -1
- package/dist/src/services/generation/resource-generator.service.d.ts.map +1 -1
- package/dist/src/services/generation/template-registry.service.d.ts.map +1 -1
- package/dist/src/services/registry/artifact-extractor.utils.d.ts.map +1 -1
- package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -1
- package/dist/src/services/registry/index.d.ts.map +1 -1
- package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -1
- package/dist/src/services/registry/registry-config-resolver.service.d.ts.map +1 -1
- package/dist/src/services/registry/registry-credentials.service.d.ts.map +1 -1
- package/dist/src/services/registry/saas-root-required.error.d.ts.map +1 -1
- package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.d.ts +67 -0
- package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.d.ts.map +1 -0
- package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js +212 -0
- package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js.map +1 -0
- package/dist/src/services/security/__tests__/csp-boundary.test.d.ts.map +1 -1
- package/dist/src/services/security/__tests__/csp-sync.service.test.d.ts.map +1 -1
- package/dist/src/services/security/__tests__/csp-sync.service.test.js +411 -5
- package/dist/src/services/security/__tests__/csp-sync.service.test.js.map +1 -1
- package/dist/src/services/security/csp-sync.service.d.ts +27 -5
- package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
- package/dist/src/services/security/csp-sync.service.js +204 -16
- package/dist/src/services/security/csp-sync.service.js.map +1 -1
- package/dist/src/services/tools/utility-tools.service.d.ts.map +1 -1
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.d.ts +2 -0
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.d.ts.map +1 -0
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js +94 -0
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js.map +1 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts +9 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts.map +1 -1
- package/dist/src/services/website/website-structured-data-audit.service.js +72 -11
- package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
- package/dist/src/test-utils/resolved-homes.test.utils.d.ts.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/framework-root-package.json +2 -0
- package/package.json +19 -17
- package/scripts/app-dependency-alignment/propagated-engine-overrides.json +2 -0
- package/templates/infra/ci/deploy-docker-compose.yml.hbs +1 -1
- package/templates/infra/ci/deploy-k8s.yml.hbs +1 -1
- package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +330 -74
- package/templates/infra/docker-images/backend/Dockerfile.backend-base +7 -1
- package/templates/infra/docker-images/backend/Dockerfile.backend-base-java +7 -1
- package/templates/infra/docker-images/platform/Dockerfile.platform-base.dockerignore +23 -0
- package/templates/infra/k8s/applications/wildo-ai-application/backend.deployment.yaml.hbs +8 -5
- package/templates/infra/k8s/applications/wildo-ai-application/ingress.yaml.hbs +3 -2
- package/templates/infra/k8s/applications/wildo-ai-application/minion.deployment.yaml.hbs +22 -6
- package/templates/infra/k8s/applications/wildo-ai-application/worker.deployment.yaml.hbs +17 -13
- package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +11 -0
- package/templates/infra/k8s/storage/local/persistent-volumes.yaml.hbs +18 -4
- package/templates/saas/i18n/email/components/EmailHeader.tsx +9 -0
- package/templates/saas/i18n/email/components/EmailLayout.tsx +14 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applications/create.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applications/update.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.user-self/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.user-self/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizations/create.user-self/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizations/restore.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/users/create.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/users/delete.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/users/update.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/system/email-otp/template.tsx +1 -0
- package/templates/saas/i18n/email/system/email-verification/template.tsx +1 -1
- package/templates/saas/i18n/email/system/magic-link/template.tsx +1 -1
- package/templates/saas/i18n/email/system/new-device-login/template.tsx +1 -1
- package/templates/saas/i18n/email/system/organization-invitation/template.tsx +1 -0
- package/templates/saas/i18n/email/system/organization-member-removed/template.tsx +1 -0
- package/templates/saas/i18n/email/system/password-reset/template.tsx +1 -1
- package/templates/saas/i18n/email/system/payment-failed/template.tsx +1 -1
- package/templates/saas/i18n/email/system/security-alert/template.tsx +1 -0
- package/templates/saas/i18n/email/system/subscription-cancelled/template.tsx +1 -1
- package/templates/saas/i18n/email/system/subscription-confirmation/template.tsx +1 -0
- package/templates/saas/i18n/email/system/welcome-email/template.tsx +1 -1
- package/templates/saas/scenarios/add-backend-provider/scenario.json +2 -2
- package/templates/saas/scenarios/add-file-picker-provider/files/frontend/src/engine/providers/__providerRef__.frontend-app.module.ts.hbs +10 -4
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/src/index.ts.hbs +9 -5
- package/templates/saas/scenarios/add-module/scenario.json +3 -3
- package/templates/saas/scenarios/add-provider/scenario.json +36 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +18 -2
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/csp.config.ts +20 -3
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/auth/exchange.tsx +52 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx.hbs +47 -3
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/theme/Root.tsx +26 -4
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/favicon.svg +5 -4
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/logo.svg +11 -5
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/wildo.tech-doc.config.ts.hbs +18 -7
- package/templates/saas/scenarios/add-website/files/website/src/app-origin.ts.hbs +32 -16
- package/templates/saas/scenarios/add-website/files/website/src/components/HeaderComponent.tsx +2 -2
- package/templates/saas/scenarios/add-website/files/website/src/pages/index.astro +1 -0
- package/templates/saas/scenarios/add-website/files/website/src/sections/landing.sections.tsx +2 -2
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/src/index.ts.hbs +9 -5
- package/templates/saas/skeleton/.wildo-saas/dev-framework-scripts/sync-engine.sh +46 -14
- package/templates/saas/skeleton/CLAUDE.md.hbs +12 -0
- package/templates/saas/skeleton/backend-api/src/index.ts +16 -0
- package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +11 -5
- package/templates/saas/skeleton/frontend/src/engine/app-level-views/app-level-views.definitions.module.frontend.ts +1 -1
- package/templates/saas/skeleton/frontend/src/generated/csp.generated.json.hbs +17 -0
- package/templates/saas/skeleton/infrastructure/local/wildo.infra.local.config.ts.hbs +19 -0
- package/templates/saas/skeleton/wildo.saas.config.ts.init.hbs +59 -2
- package/wildo-framework.info.json +1 -1
- package/templates/infra/k8s/internal/gotenberg/deployment.yaml.hbs +0 -46
- package/templates/infra/k8s/internal/gotenberg/service.yaml.hbs +0 -19
- package/templates/infra/k8s/middleware.yaml.hbs +0 -101
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/favicon.png +0 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/logo.png +0 -0
|
@@ -342,24 +342,35 @@ export declare enum DerivedArtifactCurrencyStatus {
|
|
|
342
342
|
NOT_PROBED = "not-probed"
|
|
343
343
|
}
|
|
344
344
|
/**
|
|
345
|
-
*
|
|
346
|
-
*
|
|
347
|
-
* `
|
|
348
|
-
*
|
|
349
|
-
*
|
|
350
|
-
*
|
|
351
|
-
*
|
|
352
|
-
*
|
|
353
|
-
*
|
|
354
|
-
*
|
|
355
|
-
*
|
|
356
|
-
*
|
|
357
|
-
*
|
|
358
|
-
*
|
|
359
|
-
*
|
|
360
|
-
*
|
|
361
|
-
*
|
|
345
|
+
* Does any custom role declare a scope the authorization layer will silently skip? (#425)
|
|
346
|
+
*
|
|
347
|
+
* `AuthorizationsBackendService.addCustomRoles` files a role under APPLICATION or ORGANIZATIONS and
|
|
348
|
+
* **warns and skips** anything else — a `USER_SELF` role, or an unknown scope. So a misdeclared role
|
|
349
|
+
* ships INERT: the application carries a role its authorization never sees, and the only trace is
|
|
350
|
+
* one line in a startup log nobody reads after the first boot.
|
|
351
|
+
*
|
|
352
|
+
* ## Why this is a diagnostic and not a refusal
|
|
353
|
+
*
|
|
354
|
+
* Refusing at startup was the alternative, and it was rejected on #425: it turns a silently-inert
|
|
355
|
+
* role into a BOOT FAILURE for any application that already carries one, which is precisely why the
|
|
356
|
+
* current behaviour is a warning. So the runtime keeps skipping and this check moves the signal to
|
|
357
|
+
* where an author actually reads — with the cost that it relies on someone running `wildo local
|
|
358
|
+
* doctor`, which is stated rather than hidden.
|
|
359
|
+
*
|
|
360
|
+
* ## Why the signal is deliberately loud
|
|
361
|
+
*
|
|
362
|
+
* The failure being replaced is a warning nobody reads, and a quiet diagnostic line reproduces it
|
|
363
|
+
* exactly. So the detail names the role, the scope it declared, the scopes that exist, and says
|
|
364
|
+
* outright that the role is INERT — not "may not be applied", which reads as a caveat.
|
|
365
|
+
*
|
|
366
|
+
* Read from SOURCE rather than from a loaded config, because the role table is application
|
|
367
|
+
* TypeScript the CLI cannot import: it is authored beside the app's own code and reaches the
|
|
368
|
+
* authorization layer through the backend at startup. A literal `relatedPrimaryScope:
|
|
369
|
+
* ResourcePrimaryScope.X` is what an author writes, and it is what this reads.
|
|
362
370
|
*/
|
|
371
|
+
export declare function checkCustomRoleScopes(saasRoot: string, options?: {
|
|
372
|
+
readFile?: (path: string) => string | null;
|
|
373
|
+
}): LocalPreconditionCheckResult;
|
|
363
374
|
export declare function collectLocalPreconditionChecks(input: {
|
|
364
375
|
saasRoot: string | null;
|
|
365
376
|
frameworkPath?: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-precondition-checks.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"local-precondition-checks.service.d.ts","sourceRoot":"","sources":["../../../../src/services/deployment/local-precondition-checks.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AAmBH,OAAO,EASL,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACrB,MAAM,iEAAiE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,EAAE,OAAO,CAAC;IAClC;;;;;;;;;;;;;OAaG;IACH,mCAAmC,CAAC,EAAE,OAAO,CAAC;CAC/C,GAAG,OAAO,CAAC,4BAA4B,EAAE,CAAC,CAwC1C"}
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
* still requires a search is only half a check.
|
|
47
47
|
*/
|
|
48
48
|
import { spawnSync } from 'node:child_process';
|
|
49
|
-
import { existsSync } from 'fs';
|
|
49
|
+
import { existsSync, readFileSync } from 'fs';
|
|
50
50
|
import { homedir } from 'node:os';
|
|
51
|
-
import { CODING_AGENT_ADAPTER_PACKAGE, CODING_AGENT_ADAPTER_SPECIFIER, OPENCODE_AGENT_ARGS,
|
|
51
|
+
import { CODING_AGENT_ADAPTER_PACKAGE, CODING_AGENT_ADAPTER_SPECIFIER, OPENCODE_AGENT_ARGS, OPENCODE_AGENT_VERSION, resolveOpenCodeAgentExecutablePath, SUPPORTED_ACP_PROTOCOL_VERSIONS, } from '@wildo-ai/external-connectors-private/backend';
|
|
52
52
|
import { join, relative } from 'path';
|
|
53
53
|
import { detectDockerComposeVersion, isComposeVersionAtLeast, MINIMUM_DOCKER_COMPOSE_VERSION, } from '../../services/deployment/docker/docker-compose-readiness.service.js';
|
|
54
54
|
import { isNodeVersionSupported, isVersionAtLeast, MINIMUM_PNPM_VERSION, probeCxx20Toolchain, probePnpmExecutable, readDeclaredPackageManagerPnpmVersion, SUPPORTED_NODE_MAJOR_VERSION, Cxx20ProbeStatus, } from '../../services/deployment/host-toolchain-readiness.service.js';
|
|
@@ -377,7 +377,10 @@ export function checkCodingAgentAdapter(options = {}) {
|
|
|
377
377
|
* comes to report on a different binary from the one a run will execute.
|
|
378
378
|
*/
|
|
379
379
|
export function resolvePinnedOpenCodeAgentPath() {
|
|
380
|
-
|
|
380
|
+
// Delegates: the provider that SPAWNS this agent needs the same path, and two
|
|
381
|
+
// derivations of one path is how a probe comes to report on a different binary
|
|
382
|
+
// from the one a run executes.
|
|
383
|
+
return resolveOpenCodeAgentExecutablePath(homedir());
|
|
381
384
|
}
|
|
382
385
|
/**
|
|
383
386
|
* Probe the OPTIONAL multi-provider coding agent.
|
|
@@ -719,6 +722,82 @@ function defaultRunDerivedArtifactCurrencySweep(scriptPath, args) {
|
|
|
719
722
|
* a Compose diagnostic anyway — and reporting them first means the operator
|
|
720
723
|
* reads the causes before the consequences.
|
|
721
724
|
*/
|
|
725
|
+
/**
|
|
726
|
+
* The conventional home of an application's custom role table. Every scaffolded application has it
|
|
727
|
+
* at this path; an application that does not is reported as `not-probed`, not as a failure.
|
|
728
|
+
*/
|
|
729
|
+
const CUSTOM_ROLES_RELATIVE_PATH = 'shared-lib/src/engine/roles.ts';
|
|
730
|
+
/** The two scopes `addCustomRoles` actually files a role under. Everything else is skipped. */
|
|
731
|
+
const CUSTOM_ROLE_SUPPORTED_SCOPES = ['APPLICATION', 'ORGANIZATIONS'];
|
|
732
|
+
/**
|
|
733
|
+
* Does any custom role declare a scope the authorization layer will silently skip? (#425)
|
|
734
|
+
*
|
|
735
|
+
* `AuthorizationsBackendService.addCustomRoles` files a role under APPLICATION or ORGANIZATIONS and
|
|
736
|
+
* **warns and skips** anything else — a `USER_SELF` role, or an unknown scope. So a misdeclared role
|
|
737
|
+
* ships INERT: the application carries a role its authorization never sees, and the only trace is
|
|
738
|
+
* one line in a startup log nobody reads after the first boot.
|
|
739
|
+
*
|
|
740
|
+
* ## Why this is a diagnostic and not a refusal
|
|
741
|
+
*
|
|
742
|
+
* Refusing at startup was the alternative, and it was rejected on #425: it turns a silently-inert
|
|
743
|
+
* role into a BOOT FAILURE for any application that already carries one, which is precisely why the
|
|
744
|
+
* current behaviour is a warning. So the runtime keeps skipping and this check moves the signal to
|
|
745
|
+
* where an author actually reads — with the cost that it relies on someone running `wildo local
|
|
746
|
+
* doctor`, which is stated rather than hidden.
|
|
747
|
+
*
|
|
748
|
+
* ## Why the signal is deliberately loud
|
|
749
|
+
*
|
|
750
|
+
* The failure being replaced is a warning nobody reads, and a quiet diagnostic line reproduces it
|
|
751
|
+
* exactly. So the detail names the role, the scope it declared, the scopes that exist, and says
|
|
752
|
+
* outright that the role is INERT — not "may not be applied", which reads as a caveat.
|
|
753
|
+
*
|
|
754
|
+
* Read from SOURCE rather than from a loaded config, because the role table is application
|
|
755
|
+
* TypeScript the CLI cannot import: it is authored beside the app's own code and reaches the
|
|
756
|
+
* authorization layer through the backend at startup. A literal `relatedPrimaryScope:
|
|
757
|
+
* ResourcePrimaryScope.X` is what an author writes, and it is what this reads.
|
|
758
|
+
*/
|
|
759
|
+
export function checkCustomRoleScopes(saasRoot, options = {}) {
|
|
760
|
+
const name = 'custom role scopes';
|
|
761
|
+
const rolesPath = join(saasRoot, CUSTOM_ROLES_RELATIVE_PATH);
|
|
762
|
+
const read = options.readFile ?? ((path) => (existsSync(path) ? readFileSync(path, 'utf8') : null));
|
|
763
|
+
const source = read(rolesPath);
|
|
764
|
+
if (source === null) {
|
|
765
|
+
return {
|
|
766
|
+
name,
|
|
767
|
+
status: LocalPreconditionCheckStatus.PASS,
|
|
768
|
+
detail: `not-probed — no ${CUSTOM_ROLES_RELATIVE_PATH}`,
|
|
769
|
+
};
|
|
770
|
+
}
|
|
771
|
+
/*
|
|
772
|
+
* One match per authored `relatedPrimaryScope:` property, with the nearest preceding object key
|
|
773
|
+
* read as the role. A regex rather than a TypeScript program because this runs on every `doctor`
|
|
774
|
+
* and the question is lexical: what scope literal did the author write beside this role.
|
|
775
|
+
*/
|
|
776
|
+
const declared = [];
|
|
777
|
+
const scopePattern = /relatedPrimaryScope\s*:\s*ResourcePrimaryScope\.([A-Z_]+)/gu;
|
|
778
|
+
for (const match of source.matchAll(scopePattern)) {
|
|
779
|
+
const before = source.slice(0, match.index ?? 0);
|
|
780
|
+
const keyMatches = [...before.matchAll(/(?:^|[\s{,])\[?\s*['"`]?([A-Za-z0-9_.]+)['"`]?\s*\]?\s*:\s*\{/gmu)];
|
|
781
|
+
const roleKey = keyMatches.length > 0 ? keyMatches[keyMatches.length - 1][1] : '(unnamed role)';
|
|
782
|
+
declared.push({ roleKey, scope: match[1] });
|
|
783
|
+
}
|
|
784
|
+
if (declared.length === 0) {
|
|
785
|
+
return { name, status: LocalPreconditionCheckStatus.PASS, detail: `no custom role declares a scope in ${CUSTOM_ROLES_RELATIVE_PATH}` };
|
|
786
|
+
}
|
|
787
|
+
const inert = declared.filter((role) => !CUSTOM_ROLE_SUPPORTED_SCOPES.includes(role.scope));
|
|
788
|
+
if (inert.length === 0) {
|
|
789
|
+
return { name, status: LocalPreconditionCheckStatus.PASS, detail: `${declared.length} custom role(s), every scope supported` };
|
|
790
|
+
}
|
|
791
|
+
const listed = inert.map((role) => `"${role.roleKey}" (${role.scope})`).join(', ');
|
|
792
|
+
return {
|
|
793
|
+
name,
|
|
794
|
+
status: LocalPreconditionCheckStatus.WARN,
|
|
795
|
+
detail: `${inert.length} custom role(s) declare a scope the authorization layer SKIPS, so each one is INERT — `
|
|
796
|
+
+ `it is never applied and no request will ever match it: ${listed}. `
|
|
797
|
+
+ `Custom roles are supported at ${CUSTOM_ROLE_SUPPORTED_SCOPES.join(' and ')} only.`,
|
|
798
|
+
fix: `Edit ${CUSTOM_ROLES_RELATIVE_PATH} and give each listed role \`relatedPrimaryScope: ResourcePrimaryScope.APPLICATION\` or \`.ORGANIZATIONS\`, or delete it.`,
|
|
799
|
+
};
|
|
800
|
+
}
|
|
722
801
|
export async function collectLocalPreconditionChecks(input) {
|
|
723
802
|
const { saasRoot, frameworkPath, isFrameworkDeveloper = false, includeCodingAgentProbe = false, includeDerivedArtifactCurrencySweep = false, } = input;
|
|
724
803
|
const results = [
|
|
@@ -737,6 +816,7 @@ export async function collectLocalPreconditionChecks(input) {
|
|
|
737
816
|
}
|
|
738
817
|
if (saasRoot) {
|
|
739
818
|
results.push(await checkProviderRuntimeGeneratedModules(saasRoot));
|
|
819
|
+
results.push(checkCustomRoleScopes(saasRoot));
|
|
740
820
|
}
|
|
741
821
|
const scopedRoots = [
|
|
742
822
|
...(saasRoot ? [saasRoot] : []),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-precondition-checks.service.js","sourceRoot":"","sources":["../../../../../../src/services/deployment/local-precondition-checks.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,EACL,4BAA4B,EAC5B,8BAA8B,EAC9B,mBAAmB,EACnB,gCAAgC,EAChC,sBAAsB,EACtB,+BAA+B,GAChC,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACtC,OAAO,EACL,0BAA0B,EAC1B,uBAAuB,EACvB,8BAA8B,GAC/B,MAAM,wEAAwE,CAAC;AAChF,OAAO,EACL,sBAAsB,EACtB,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,mBAAmB,EACnB,qCAAqC,EACrC,4BAA4B,EAC5B,gBAAgB,GAGjB,MAAM,iEAAiE,CAAC;AACzE,OAAO,EACL,iCAAiC,GAElC,MAAM,sEAAsE,CAAC;AAC9E,OAAO,EAAE,+CAA+C,EAAE,MAAM,+DAA+D,CAAC;AAChI,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAC1E,OAAO,EACL,4BAA4B,GAE7B,MAAM,kEAAkE,CAAC;AAE1E;;;;GAIG;AAEH,8FAA8F;AAC9F,MAAM,CAAC,MAAM,2BAA2B,GACtC,kKAAkK,CAAC;AACrK,MAAM,CAAC,MAAM,iCAAiC,GAC5C,kEAAkE,CAAC;AACrE,MAAM,CAAC,MAAM,gCAAgC,GAC3C,mCAAmC,CAAC;AACtC,MAAM,CAAC,MAAM,wBAAwB,GACn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,EAAE,UAAU,CAAC,CAAC;IACpD,OAAO,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,YAAY,CAAC;AACnE,CAAC;AAED,SAAS,eAAe,CAAC,OAAe;IACtC,OAAO,OAAO,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC;AACpE,CAAC","sourcesContent":["/**\n * Local-development PRECONDITION checks — the things that must already be true\n * before `wildo local dev` starts doing work.\n *\n * These are deliberately separate from the runtime probes in\n * `wildo local doctor` (container health, loopback binding, backing-service\n * auth). Those answer \"is the running stack healthy?\"; these answer \"can this\n * machine run the stack at all?\" — and each one here was written from a real\n * session (2026-08-08 and 2026-08-11/12) where the answer was NO and the\n * operator found out LATE, several minutes and one cryptic error in — or, for\n * the first three, never, because nothing in this repository looked:\n *\n * 0. **Node on an unsupported major.** The supported version had four\n * disagreeing declarations and the loosest one was the published range.\n * See `SUPPORTED_NODE_MAJOR_VERSION`, now the single source.\n * 0a. **pnpm unusable.** A `packageManager` self-switch aborted mid-download,\n * leaving a 4 KB skeleton with no binary; every `pnpm` call died `ENOENT`\n * and nothing could be installed, built or run.\n * 0b. **C++ toolchain silently a decade stale.** Apple clang 21 over libc++\n * 11.0 — no `<ranges>`, `<format>` or `<coroutine>`. Every native Node\n * addon needing C++20 was unbuildable while every version string looked\n * current.\n * 1. **Docker Compose too old.** Failed with\n * `services.valkey.healthcheck Additional property start_interval is not\n * allowed`, printed AFTER \"Local infrastructure is not running. Starting\n * it...\" — so it read as an infra fault, not a toolchain one.\n * 2. **Provider-runtime modules never materialized.** The companion's\n * `src/index.ts` imports `./generated/wildo-provider-runtime.generated.js`;\n * with no `wildo config sync` behind it, compilation emitted `TS2307:\n * Cannot find module` on repeat, forever, inside the diagnostics block.\n * 3. **Orphaned dev watchers.** `tsc-watch` single-writers from a dead\n * session, reparented to init, still holding `dist/esm/.builder.pid`.\n * Every new watcher then correctly refused to become a second writer and\n * readiness blocked forever on\n * `dependency-compile-status-<pkg>-watcher-exited`.\n *\n * Both consumers — `wildo local doctor` and the `wildo local dev` preflight —\n * call these functions, so the two surfaces cannot drift into disagreeing\n * about what a healthy precondition looks like.\n *\n * Every check is READ-ONLY: it observes and reports, never repairs. `local\n * doctor` advertises itself as a read-only diagnostic and the preflight runs\n * before ownership of anything is established, so a check that mutated would\n * be wrong in both places. Each failing result carries `fix` — the exact\n * command the operator runs next — because a precondition check whose output\n * still requires a search is only half a check.\n */\n\nimport { spawnSync } from 'node:child_process';\nimport { existsSync } from 'fs';\nimport { homedir } from 'node:os';\nimport {\n CODING_AGENT_ADAPTER_PACKAGE,\n CODING_AGENT_ADAPTER_SPECIFIER,\n OPENCODE_AGENT_ARGS,\n OPENCODE_AGENT_INSTALL_DIRECTORY,\n OPENCODE_AGENT_VERSION,\n SUPPORTED_ACP_PROTOCOL_VERSIONS,\n} from '@wildo-ai/external-connectors-private/backend';\nimport { join, relative } from 'path';\nimport {\n detectDockerComposeVersion,\n isComposeVersionAtLeast,\n MINIMUM_DOCKER_COMPOSE_VERSION,\n} from '~wildo-cli/services/deployment/docker/docker-compose-readiness.service';\nimport {\n isNodeVersionSupported,\n isVersionAtLeast,\n MINIMUM_PNPM_VERSION,\n probeCxx20Toolchain,\n probePnpmExecutable,\n readDeclaredPackageManagerPnpmVersion,\n SUPPORTED_NODE_MAJOR_VERSION,\n Cxx20ProbeStatus,\n type Cxx20ProbeResult,\n type PnpmProbeResult,\n} from '~wildo-cli/services/deployment/host-toolchain-readiness.service';\nimport {\n LocalRuntimeProcessCleanupService,\n type LocalRuntimeProcessGroupCandidate,\n} from '~wildo-cli/services/deployment/local-runtime-process-cleanup.service';\nimport { resolveExpectedProviderRuntimeSourceModulePaths } from '~wildo-cli/services/application/provider-runtime-sync.service';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport {\n LocalPreconditionCheckStatus,\n type LocalPreconditionCheckResult,\n} from '~wildo-cli/services/deployment/local-precondition-checks.schemas';\n\n/**\n * The result shape and its status vocabulary live in `local-precondition-checks.schemas.ts` — a\n * module with no host-touching imports, so a consumer that mocks THIS service can still derive from\n * the one named source. See that file for why the split exists.\n */\n\n/** Remediation strings, single-sourced so doctor and the preflight quote the same command. */\nexport const COMPOSE_UPGRADE_REMEDIATION =\n 'Upgrade Docker Desktop (>= 25): `brew upgrade --cask docker` — or download it from https://docker.com/products/docker-desktop. Then re-run `wildo local doctor`.';\nexport const PROVIDER_RUNTIME_SYNC_REMEDIATION =\n 'Materialize the generated runtime artifacts: `wildo config sync`';\nexport const ORPHANED_DEV_WATCHER_REMEDIATION =\n 'Reap them: `wildo dev force-stop`';\nexport const NODE_UPGRADE_REMEDIATION =\n `Install Node ${SUPPORTED_NODE_MAJOR_VERSION}: \\`nvm install ${SUPPORTED_NODE_MAJOR_VERSION} && nvm use ${SUPPORTED_NODE_MAJOR_VERSION}\\``\n + ` (or \\`fnm use ${SUPPORTED_NODE_MAJOR_VERSION}\\`, or download it from https://nodejs.org/). Then re-run \\`wildo local doctor\\`.`;\nexport const PNPM_REPAIR_REMEDIATION =\n 'Reinstall pnpm: `corepack enable && corepack prepare pnpm@latest --activate`'\n + ' — or `npm install -g pnpm`. If a `packageManager` self-switch left a partial download,'\n + ' clear its cache first: `rm -rf ~/Library/pnpm/.tools` (macOS) / `rm -rf ~/.local/share/pnpm/.tools` (Linux).';\nexport const CXX20_TOOLCHAIN_REMEDIATION =\n 'Reinstall the Command Line Tools — this needs YOUR password, so run it yourself:'\n + ' `sudo rm -rf /Library/Developer/CommandLineTools && sudo xcode-select --install`.'\n + ' On Linux, install a C++20 toolchain (GCC >= 10 or Clang >= 16) with your package manager.';\n\n/**\n * The Node this CLI is running under must be on the supported major.\n *\n * FAILS rather than warns. The supported major is a TESTED range, not a\n * preference: it is the version CI exercises and the version the locked native\n * dependencies compile against, and a host below it is running a configuration\n * nothing in this repository verifies. `better-sqlite3` is the concrete\n * precedent in the other direction — 11.x builds on Node 22 and cannot build\n * at all on Node 26 — which is exactly why an unenforced range drifts into\n * claiming support for configurations that do not work.\n *\n * Measures `process.versions.node`: the Node executing this CLI is the Node\n * that will spawn every dev server, watcher and companion behind it, so it is\n * the honest subject even though a `nvm use` in another terminal could differ.\n *\n * `wildo local dev --skip-doctor` remains the documented bypass for an operator\n * who has decided to run unsupported anyway.\n */\nexport function checkNodeVersion(\n options: { nodeVersion?: string; supportedMajor?: number } = {},\n): LocalPreconditionCheckResult {\n const name = 'node version';\n const nodeVersion = options.nodeVersion ?? process.versions.node;\n const supportedMajor = options.supportedMajor ?? SUPPORTED_NODE_MAJOR_VERSION;\n\n if (!isNodeVersionSupported(nodeVersion, supportedMajor)) {\n return {\n name,\n status: LocalPreconditionCheckStatus.FAIL,\n detail:\n `v${nodeVersion} — this repository is developed and CI-tested on Node ${supportedMajor}. `\n + 'Older majors are not exercised anywhere, and the locked native dependencies are built against '\n + `Node ${supportedMajor}'s V8 headers.`,\n fix: NODE_UPGRADE_REMEDIATION,\n };\n }\n return { name, status: LocalPreconditionCheckStatus.PASS, detail: `v${nodeVersion} (supported major: ${supportedMajor})` };\n}\n\n/**\n * pnpm must actually EXECUTE, and should match the `packageManager` pin.\n *\n * The ordering matters and is the whole lesson of the failure this closes. On\n * 2026-08-08 a `packageManager` self-switch aborted mid-download, leaving a\n * 4 KB skeleton with no binary; pnpm was present, on PATH, and every\n * invocation died `ENOENT`. A version comparison cannot see that — the failure\n * IS the absence of a version — so this check runs pnpm first and treats an\n * inability to answer as the hard blocker it is.\n *\n * Three outcomes, deliberately not collapsed:\n *\n * - **cannot execute → FAIL.** Nothing can be installed, built or run.\n * - **below `engines.pnpm` → FAIL.** pnpm 9 and 10 differ in the self-switch\n * and build-script mechanisms this repository depends on.\n * - **executes, at or above the floor, but off the `packageManager` pin →\n * WARN.** pnpm self-switches to the pin per invocation, so this is normally\n * benign and self-correcting. It warns rather than passing because a\n * divergence here is the state the corrupt self-switch begins from.\n *\n * The pin is read from the manifest the operator will actually run pnpm in —\n * never from a constant here, which would be a fifth copy of a version this\n * repository already declares.\n */\nexport function checkPnpmToolchain(\n options: {\n manifestPath?: string | null;\n probe?: () => PnpmProbeResult;\n readDeclaredPin?: (manifestPath: string) => string | null;\n } = {},\n): LocalPreconditionCheckResult {\n const name = 'pnpm toolchain';\n const probe = options.probe ?? (() => probePnpmExecutable());\n const readDeclaredPin = options.readDeclaredPin ?? ((path: string) => readDeclaredPackageManagerPnpmVersion(path));\n\n const result = probe();\n if (result.failure !== null || result.version === null) {\n return {\n name,\n status: LocalPreconditionCheckStatus.FAIL,\n detail:\n `pnpm did not run: ${result.failure ?? 'no version reported'}. `\n + 'A `packageManager` self-switch whose download aborted leaves a shim on PATH with no binary '\n + 'behind it, so this surfaces downstream as ENOENT from unrelated commands.',\n fix: PNPM_REPAIR_REMEDIATION,\n };\n }\n\n if (!isVersionAtLeast(result.version, MINIMUM_PNPM_VERSION)) {\n return {\n name,\n status: LocalPreconditionCheckStatus.FAIL,\n detail: `v${result.version} is below the required minimum ${MINIMUM_PNPM_VERSION}.`,\n fix: PNPM_REPAIR_REMEDIATION,\n };\n }\n\n const declaredPin = options.manifestPath ? readDeclaredPin(options.manifestPath) : null;\n if (declaredPin && declaredPin !== result.version) {\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail:\n `v${result.version} is running, but \\`packageManager\\` pins pnpm@${declaredPin}. `\n + 'pnpm normally self-switches to the pin per invocation; a persistent divergence means that '\n + 'switch is not completing.',\n fix: PNPM_REPAIR_REMEDIATION,\n };\n }\n\n return {\n name,\n status: LocalPreconditionCheckStatus.PASS,\n detail: declaredPin ? `v${result.version} (matches the packageManager pin)` : `v${result.version}`,\n };\n}\n\n/**\n * The host must be able to COMPILE C++20, verified by compiling C++20.\n *\n * This check exists because a version string lied. The broken host reported\n * Apple clang 21.0.0 with SDK 26.5 while its libc++ was 11.0 (late 2020), with\n * no `<ranges>`, `<format>` or `<coroutine>`; every native Node addon needing\n * C++20 was unbuildable, which on Node 26 means all of them. Nothing derived\n * from `clang --version` could have detected that, so `probeCxx20Toolchain`\n * compiles a translation unit and reads the exit code.\n *\n * WARNS rather than fails, on every host rather than only on framework\n * developers' hosts:\n *\n * - **Warn, not fail**, because most native dependencies install from\n * prebuilt binaries and a stale toolchain only bites when one must be\n * compiled from source. Blocking `wildo local dev` over a compiler the\n * operator may never invoke would be wrong. It is also the honest severity\n * for a fix this command cannot verify or apply: the remedy needs `sudo`,\n * so the check REPORTS it and never attempts it — a precondition check that\n * tried to repair the host would violate the read-only contract both its\n * consumers advertise.\n * - **Every host**, because the audience split does not apply here: an\n * application developer whose dependency lacks a prebuild for their\n * platform hits the identical wall, and the diagnostic is worth the same\n * to them.\n *\n * `not-probed` (Windows) reports as PASS with an explicit \"not probed\" detail\n * rather than as a warning. The alternative is a permanent yellow line on every\n * Windows machine, which trains operators to skim past the diagnostics that do\n * mean something — the trade is deliberate and the detail string is what keeps\n * it honest.\n */\nexport function checkCxx20Toolchain(\n options: { probe?: () => Cxx20ProbeResult } = {},\n): LocalPreconditionCheckResult {\n const name = 'c++20 toolchain';\n const probe = options.probe ?? (() => probeCxx20Toolchain());\n const result = probe();\n\n switch (result.status) {\n case Cxx20ProbeStatus.OK:\n return { name, status: LocalPreconditionCheckStatus.PASS, detail: `\\`${result.compiler}\\` compiles C++20` };\n case Cxx20ProbeStatus.NOT_PROBED:\n return {\n name,\n status: LocalPreconditionCheckStatus.PASS,\n detail: 'not probed on Windows (an MSVC Developer environment is required to answer this)',\n };\n case Cxx20ProbeStatus.ABSENT:\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail:\n `no C++ compiler found (tried \\`${result.compiler}\\`). Native Node addons without a prebuilt `\n + 'binary for this platform cannot be installed.',\n fix: CXX20_TOOLCHAIN_REMEDIATION,\n };\n case Cxx20ProbeStatus.UNSUPPORTED:\n default:\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail:\n `\\`${result.compiler}\\` cannot compile C++20 — \\`#include <ranges>\\` failed`\n + `${result.diagnostic ? `: ${result.diagnostic}` : ''}. `\n + 'A modern clang shipping a decade-old libc++ reports a perfectly current version string, '\n + 'so this surfaces only as C++ errors deep inside a native addon build.',\n fix: CXX20_TOOLCHAIN_REMEDIATION,\n };\n }\n}\n\n/** What the coding-agent adapter probe learned. */\nexport enum CodingAgentAdapterProbeStatus {\n /** The adapter started and negotiated an ACP version this framework supports. */\n OK = 'ok',\n /** The adapter could not be started at all. */\n ABSENT = 'absent',\n /** It started but negotiated a protocol version this framework does not implement. */\n UNSUPPORTED_PROTOCOL = 'unsupported-protocol',\n}\n\nexport interface CodingAgentAdapterProbeResult {\n status: CodingAgentAdapterProbeStatus;\n negotiatedProtocolVersion?: number;\n agentName?: string;\n agentVersion?: string;\n diagnostic?: string;\n}\n\nconst CODING_AGENT_ADAPTER_REMEDIATION =\n `Run \\`npx --yes ${CODING_AGENT_ADAPTER_SPECIFIER} --help\\` once to cache it, `\n + 'or re-run the installer. Application creation cannot dispatch a coding task without it.';\n\n/**\n * Probe the coding-agent ACP adapter by EXECUTING it — spawn it and complete the\n * `initialize` handshake — rather than by reading a version string.\n *\n * That is this baseline's own hard-won rule. Apple clang reported version 21\n * truthfully while shipping a libc++ from 2020, and a pnpm shim reported a\n * version while having no binary behind it: a toolchain's account of itself is\n * not evidence. Here the equivalent trap is real and specific — `npx` resolving\n * the specifier proves a download, not that the adapter speaks a protocol\n * version we can hold it to.\n *\n * The handshake is also the ONLY thing that answers the question the coding lane\n * actually depends on: an agent negotiating an ACP major outside\n * `SUPPORTED_ACP_PROTOCOL_VERSIONS` is refused at dispatch, and finding that out\n * at `doctor` time costs seconds instead of a failed journey step.\n *\n * WARNS rather than fails, matching the C++ toolchain check: a developer who\n * never runs application creation does not need this, and a permanently red\n * line for an unused capability trains operators to skim.\n */\n\n/**\n * Spawn the adapter and complete an ACP `initialize`, with a hard timeout.\n *\n * Deliberately read-only: it opens no session and sends no prompt, so it cannot\n * touch a workspace or spend a token. The handshake alone answers both\n * questions — can this adapter start, and does it speak a protocol major this\n * framework can hold it to.\n */\nexport function probeCodingAgentAdapter(\n options: { timeoutMs?: number; command?: string; args?: readonly string[] } = {},\n): CodingAgentAdapterProbeResult {\n const timeoutMs = options.timeoutMs ?? 60_000;\n const request = JSON.stringify({\n jsonrpc: '2.0',\n id: 1,\n method: 'initialize',\n params: {\n protocolVersion: Math.max(...SUPPORTED_ACP_PROTOCOL_VERSIONS),\n // Advertise nothing: a probe must not imply the client will serve\n // filesystem or terminal callbacks it has no intention of answering.\n clientCapabilities: {},\n },\n });\n\n // The command is a PARAMETER because the handshake is agent-neutral while the\n // way to start an agent is not: the Claude adapter is an npm specifier `npx`\n // resolves, OpenCode is a pinned binary at an absolute path. Defaulting to the\n // adapter keeps every existing caller unchanged.\n const spawned = spawnSync(options.command ?? 'npx', [...(options.args ?? ['--yes', CODING_AGENT_ADAPTER_SPECIFIER])], {\n input: `${request}\\n`,\n encoding: 'utf8',\n timeout: timeoutMs,\n // The adapter resolves its own credentials from host state; the probe needs\n // no secret and passes none beyond the ambient environment it must inherit\n // to find its own installation.\n env: process.env,\n });\n\n if (spawned.error || spawned.stdout === undefined) {\n return {\n status: CodingAgentAdapterProbeStatus.ABSENT,\n diagnostic: spawned.error?.message ?? 'no output',\n };\n }\n\n for (const line of spawned.stdout.split('\\n')) {\n const trimmed = line.trim();\n if (!trimmed) continue;\n let message: unknown;\n try {\n message = JSON.parse(trimmed);\n } catch {\n // Non-JSON stdout is the adapter's own logging, not a protocol frame.\n continue;\n }\n const result = (message as { id?: unknown; result?: { protocolVersion?: unknown; agentInfo?: { name?: unknown; version?: unknown } } }).result;\n if (!result || typeof result.protocolVersion !== 'number') continue;\n\n const negotiatedProtocolVersion = result.protocolVersion;\n const agentName = typeof result.agentInfo?.name === 'string' ? result.agentInfo.name : undefined;\n const agentVersion = typeof result.agentInfo?.version === 'string' ? result.agentInfo.version : undefined;\n return SUPPORTED_ACP_PROTOCOL_VERSIONS.includes(negotiatedProtocolVersion)\n ? { status: CodingAgentAdapterProbeStatus.OK, negotiatedProtocolVersion, agentName, agentVersion }\n : { status: CodingAgentAdapterProbeStatus.UNSUPPORTED_PROTOCOL, negotiatedProtocolVersion, agentName, agentVersion };\n }\n\n return {\n status: CodingAgentAdapterProbeStatus.ABSENT,\n diagnostic: (spawned.stderr ?? '').trim().slice(-300) || 'the adapter answered no initialize result',\n };\n}\n\nexport function checkCodingAgentAdapter(\n options: { probe?: () => CodingAgentAdapterProbeResult } = {},\n): LocalPreconditionCheckResult {\n const name = 'coding-agent ACP adapter';\n const probe = options.probe ?? (() => probeCodingAgentAdapter());\n const result = probe();\n\n switch (result.status) {\n case CodingAgentAdapterProbeStatus.OK:\n return {\n name,\n status: LocalPreconditionCheckStatus.PASS,\n detail:\n `${result.agentName ?? CODING_AGENT_ADAPTER_PACKAGE}`\n + `${result.agentVersion ? `@${result.agentVersion}` : ''}`\n + ` speaks ACP v${result.negotiatedProtocolVersion}`,\n };\n case CodingAgentAdapterProbeStatus.UNSUPPORTED_PROTOCOL:\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail:\n `the adapter negotiated ACP v${result.negotiatedProtocolVersion}, which this framework does not `\n + `implement (supported: ${SUPPORTED_ACP_PROTOCOL_VERSIONS.join(', ')}). A coding dispatch will be refused.`,\n fix: `Pin the adapter to ${CODING_AGENT_ADAPTER_SPECIFIER}, which negotiates a supported version.`,\n };\n case CodingAgentAdapterProbeStatus.ABSENT:\n default:\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail:\n `could not start \\`${CODING_AGENT_ADAPTER_SPECIFIER}\\``\n + `${result.diagnostic ? `: ${result.diagnostic}` : ''}`,\n fix: CODING_AGENT_ADAPTER_REMEDIATION,\n };\n }\n}\n\n/**\n * Resolve the pinned OpenCode binary, by ABSOLUTE PATH rather than through `PATH`.\n *\n * The installer places exactly one verified build at a version-qualified path,\n * so \"which build answered\" has a single answer. Resolving through `PATH` would\n * silently prefer whatever an operator installed by hand — which is how a probe\n * comes to report on a different binary from the one a run will execute.\n */\nexport function resolvePinnedOpenCodeAgentPath(): string {\n return join(homedir(), OPENCODE_AGENT_INSTALL_DIRECTORY, `opencode-${OPENCODE_AGENT_VERSION}`, 'opencode');\n}\n\n/**\n * Probe the OPTIONAL multi-provider coding agent.\n *\n * Calibrated differently from the adapter check, deliberately. OpenCode is not\n * installed on every machine and is not needed by a developer who never\n * dispatches a coding task through it, so ABSENT is reported as a pass with a\n * detail rather than as a warning: a permanently yellow line for an unused\n * capability is what trains an operator to skim past the lines that matter.\n *\n * A binary that IS installed and cannot speak ACP is a different thing — that\n * is a broken install rather than an absent one, and it warns.\n */\nexport function checkOpenCodeAgent(\n options: { probe?: (command: string) => CodingAgentAdapterProbeResult; binaryPath?: string } = {},\n): LocalPreconditionCheckResult {\n const name = 'OpenCode ACP agent (optional)';\n const binaryPath = options.binaryPath ?? resolvePinnedOpenCodeAgentPath();\n\n if (!existsSync(binaryPath)) {\n return {\n name,\n status: LocalPreconditionCheckStatus.PASS,\n detail: `not installed — optional; the pinned build would live at ${binaryPath}`,\n };\n }\n\n const probe = options.probe ?? ((command: string) =>\n probeCodingAgentAdapter({ command, args: [...OPENCODE_AGENT_ARGS] }));\n const result = probe(binaryPath);\n\n switch (result.status) {\n case CodingAgentAdapterProbeStatus.OK:\n return {\n name,\n status: LocalPreconditionCheckStatus.PASS,\n detail:\n `${result.agentName ?? 'OpenCode'}${result.agentVersion ? `@${result.agentVersion}` : ''}`\n + ` speaks ACP v${result.negotiatedProtocolVersion}`,\n };\n case CodingAgentAdapterProbeStatus.UNSUPPORTED_PROTOCOL:\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail:\n `the installed OpenCode negotiated ACP v${result.negotiatedProtocolVersion}, which this framework does `\n + `not implement (supported: ${SUPPORTED_ACP_PROTOCOL_VERSIONS.join(', ')}). A coding dispatch will be refused.`,\n fix: `Re-run the installer to restore the pinned v${OPENCODE_AGENT_VERSION} build.`,\n };\n case CodingAgentAdapterProbeStatus.ABSENT:\n default:\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail: `a binary exists at ${binaryPath} but did not complete an ACP handshake`\n + `${result.diagnostic ? `: ${result.diagnostic}` : ''}`,\n fix: `Delete ${binaryPath} and re-run the installer to restore the verified v${OPENCODE_AGENT_VERSION} build.`,\n };\n }\n}\n\n/**\n * The Compose plugin must accept `start_interval`, which every healthcheck in\n * the generated local compose project declares (Compose >= 2.24 / Docker\n * Desktop >= 25).\n *\n * FAILS rather than warns: this is a hard blocker — the compose project is\n * rejected wholesale, so nothing downstream can run. An UNDETECTABLE version\n * also fails, because \"no Compose plugin\" is the same blocker wearing a\n * different message, and treating unknown as acceptable would let the exact\n * fresh-install host this gate exists for sail through.\n */\nexport function checkDockerComposeVersion(\n options: { detectVersion?: () => string | null } = {},\n): LocalPreconditionCheckResult {\n const detect = options.detectVersion ?? (() => detectDockerComposeVersion());\n const version = detect();\n\n if (version === null) {\n return {\n name: 'docker compose version',\n status: LocalPreconditionCheckStatus.FAIL,\n detail: `Docker Compose plugin not detected (need >= ${MINIMUM_DOCKER_COMPOSE_VERSION})`,\n fix: COMPOSE_UPGRADE_REMEDIATION,\n };\n }\n if (!isComposeVersionAtLeast(version, MINIMUM_DOCKER_COMPOSE_VERSION)) {\n return {\n name: 'docker compose version',\n status: LocalPreconditionCheckStatus.FAIL,\n detail:\n `v${version} is too old — the local compose healthchecks use \\`start_interval\\`, `\n + `which needs Compose >= ${MINIMUM_DOCKER_COMPOSE_VERSION} (Docker Desktop >= 25). `\n + 'Without it the whole project is rejected with '\n + '\"Additional property start_interval is not allowed\".',\n fix: COMPOSE_UPGRADE_REMEDIATION,\n };\n }\n return {\n name: 'docker compose version',\n status: LocalPreconditionCheckStatus.PASS,\n detail: `v${version} (>= ${MINIMUM_DOCKER_COMPOSE_VERSION})`,\n };\n}\n\n/**\n * Every runtime host that a `wildo config sync` would give a\n * `src/generated/wildo-provider-runtime.generated.ts` module must have it on\n * disk — the host's own `src/index.ts` imports it, so an absent module is a\n * compile error the operator meets as an endlessly repeating `TS2307` rather\n * than as a missing setup step.\n *\n * FAILS rather than warns: no affected host compiles at all.\n *\n * The expected set comes from the sync service's own target resolver, never\n * from a list maintained here — see\n * `resolveExpectedProviderRuntimeSourceModulePaths`.\n */\nexport async function checkProviderRuntimeGeneratedModules(\n saasRoot: string,\n options: {\n resolveExpectedModulePaths?: (saasRoot: string) => Promise<string[]>;\n moduleExists?: (modulePath: string) => boolean;\n } = {},\n): Promise<LocalPreconditionCheckResult> {\n const name = 'generated provider-runtime modules';\n const resolveExpected = options.resolveExpectedModulePaths ?? resolveExpectedProviderRuntimeSourceModulePaths;\n const moduleExists = options.moduleExists ?? ((modulePath: string) => existsSync(modulePath));\n\n let expectedModulePaths: string[];\n try {\n expectedModulePaths = await resolveExpected(saasRoot);\n } catch (error) {\n // A configuration that cannot be loaded is a different problem with a\n // different owner. Report it as unknown — claiming \"present\" would hide\n // the very gap this check exists for, and claiming \"missing\" would blame\n // provider sync for a broken `wildo.saas.config.ts`.\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail: `could not determine the expected modules: ${ErrorUtils.extractErrorMessage(error)}`,\n fix: `Resolve the configuration error above, then run \\`wildo config sync\\`.`,\n };\n }\n\n if (expectedModulePaths.length === 0) {\n return { name, status: LocalPreconditionCheckStatus.PASS, detail: 'no runtime host requires one' };\n }\n\n const missing = expectedModulePaths.filter((modulePath) => !moduleExists(modulePath));\n if (missing.length === 0) {\n return {\n name,\n status: LocalPreconditionCheckStatus.PASS,\n detail: `${expectedModulePaths.length} runtime host${expectedModulePaths.length === 1 ? '' : 's'}`,\n };\n }\n\n return {\n name,\n status: LocalPreconditionCheckStatus.FAIL,\n detail:\n `${missing.length} of ${expectedModulePaths.length} missing: `\n + missing.map((modulePath) => relativeToRootForDisplay(saasRoot, modulePath)).join(', '),\n fix: PROVIDER_RUNTIME_SYNC_REMEDIATION,\n };\n}\n\n/**\n * Report — never terminate — dev process groups whose leader lost its parent.\n *\n * WARNS rather than fails: the state is recoverable with one documented\n * command, and reaping belongs to `wildo dev force-stop` (which already routes\n * through the same `LocalRuntimeProcessCleanupService`). `wildo local dev`\n * additionally reaps them itself at startup, so a warning here is a diagnosis,\n * not an obstacle.\n *\n * Only ORPHANS are reported. A healthy `wildo local dev` running in another\n * terminal matches exactly the same patterns; flagging it would make the\n * warning permanent noise for the most normal state there is.\n */\nexport function checkOrphanedDevWatchers(\n scopedRoots: readonly string[],\n options: {\n collectCandidates?: (scopedRoots: readonly string[]) => LocalRuntimeProcessGroupCandidate[];\n } = {},\n): LocalPreconditionCheckResult {\n const name = 'orphaned dev watchers';\n if (scopedRoots.length === 0) {\n return { name, status: LocalPreconditionCheckStatus.PASS, detail: 'no scoped root to inspect' };\n }\n const collect = options.collectCandidates\n ?? ((roots: readonly string[]) => LocalRuntimeProcessCleanupService.collectCandidateProcessGroups(roots));\n\n let candidates: LocalRuntimeProcessGroupCandidate[];\n try {\n candidates = collect(scopedRoots);\n } catch (error) {\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail: `could not inspect the process table: ${ErrorUtils.extractErrorMessage(error)}`,\n fix: ORPHANED_DEV_WATCHER_REMEDIATION,\n };\n }\n\n const orphans = candidates.filter((candidate) => candidate.leaderIsOrphaned);\n if (orphans.length === 0) {\n return { name, status: LocalPreconditionCheckStatus.PASS, detail: 'none' };\n }\n\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail:\n `${orphans.length} process group${orphans.length === 1 ? '' : 's'} left by a dead session `\n + `(still holding dist single-writer locks, which blocks compile readiness): `\n + orphans.map((orphan) => `pgid ${orphan.processGroupId} ${truncateCommand(orphan.command)}`).join('; '),\n fix: ORPHANED_DEV_WATCHER_REMEDIATION,\n };\n}\n\n/**\n * Where the standalone currency sweep lives inside a framework checkout.\n *\n * A plain `.mjs` with no dependencies and no build step, invoked as a subprocess rather than\n * imported: it must stay runnable when this CLI's own `dist` is one of the suspects, which on\n * 2026-08-27 it was. One implementation, two surfaces — the same reason\n * `collectLocalPreconditionChecks` exists at all.\n */\nexport const DERIVED_ARTIFACT_CURRENCY_SWEEP_RELATIVE_PATH = 'scripts/dev-orchestrator/derived-artifact-currency-sweep.mjs';\n\n/** How long the sweep may take before doctor stops waiting. It walks every dist tree; ~5 s is typical. */\nconst DERIVED_ARTIFACT_CURRENCY_TIMEOUT_MS = 90_000;\n\n/**\n * Is every DERIVED artifact on this machine current with the source it was derived from?\n *\n * The one question nothing in this repository asked, and the one that mattered EIGHT times over\n * 2026-08-27/28 (issue #86). Not one of those failures was a logic bug: a dist, an injected `file:`\n * snapshot, an accepted-generation manifest, a virtual-store key, a config-loader cache bucket or a\n * running process had simply stopped matching its source, and every existing check answered the\n * neighbouring question — *\"is this file correct?\"* — perfectly. Three were misdiagnosed as semantic\n * conflicts in committed code before anyone dated the artifact.\n *\n * WARNS, never fails, on every host. Three separate reasons, and the first is decisive:\n *\n * - **A currency check that failed a boot would be a new way to break the stack.** That is the\n * opposite of the point, and it is the deadlock shape\n * `.claude/rules/continuity-drift-and-cas-basis.md` Rule 3 forbids — a startup path refusing over\n * something whose remedy needs the thing that just refused. Every remedy here is \"delete this\n * generated thing and let it rebuild\", which needs the dev stack the refusal would have stopped.\n * - **Some findings are legitimately transient.** A watcher mid-cycle, a supervised runtime a\n * minute behind a rebuild it is about to be respawned for. The sweep applies a grace and prints\n * the delta; a hard stop would have to be right about every one of those, and it would not be.\n * - **Several findings are advisory by nature** — unreferenced virtual-store keys cost disk and\n * nothing else.\n *\n * The detail here is a SUMMARY on purpose. The full report names every artifact with both\n * timestamps and its own remedy, which is more than a doctor line can carry; `fix` is the exact\n * command that prints it. A summary that forced the reader to go searching would reproduce the\n * defect this exists to remove, so the summary always names the worst artifact it found.\n *\n * `not-probed` (reported as PASS with an explicit detail, the idiom `checkCxx20Toolchain` uses for\n * Windows) covers the honest cases: no framework checkout resolved, or the sweep script absent —\n * which is the normal state for a generated application that consumes published packages and has no\n * framework repository to compare against.\n */\nexport function checkDerivedArtifactCurrency(input: {\n frameworkPath?: string | null;\n saasRoot?: string | null;\n runSweep?: (scriptPath: string, args: readonly string[]) => { status: number | null; stdout: string; stderr: string };\n}): LocalPreconditionCheckResult {\n const name = 'derived-artifact currency';\n const { frameworkPath, saasRoot } = input;\n\n if (!frameworkPath) {\n return {\n name,\n status: LocalPreconditionCheckStatus.PASS,\n detail:\n 'not probed — no framework checkout is resolved, and the sweep compares derived artifacts against the'\n + ' framework source they came from.',\n };\n }\n\n const scriptPath = join(frameworkPath, DERIVED_ARTIFACT_CURRENCY_SWEEP_RELATIVE_PATH);\n if (!existsSync(scriptPath)) {\n return {\n name,\n status: LocalPreconditionCheckStatus.PASS,\n detail: `not probed — ${DERIVED_ARTIFACT_CURRENCY_SWEEP_RELATIVE_PATH} is absent from ${frameworkPath}.`,\n };\n }\n\n const args = ['--json', '--framework-root', frameworkPath, ...(saasRoot ? ['--app-root', saasRoot] : [])];\n const run = input.runSweep ?? defaultRunDerivedArtifactCurrencySweep;\n const manualCommand = `node ${scriptPath}${saasRoot ? ` --app-root ${saasRoot}` : ''}`;\n\n let report: DerivedArtifactCurrencyReport;\n try {\n const result = run(scriptPath, args);\n report = JSON.parse(result.stdout) as DerivedArtifactCurrencyReport;\n } catch (error) {\n return {\n name,\n status: LocalPreconditionCheckStatus.PASS,\n detail: `not probed — the sweep could not be run: ${ErrorUtils.extractErrorMessage(error)}`,\n fix: `Run it directly to see why: \\`${manualCommand}\\``,\n };\n }\n\n const stale = report.surfaces.filter((surface) => surface.status === DerivedArtifactCurrencyStatus.STALE);\n const probed = report.surfaces.filter((surface) => surface.status !== DerivedArtifactCurrencyStatus.NOT_PROBED);\n\n if (stale.length === 0) {\n // An empty population is reported as such rather than as success — the sweep itself refuses to\n // call a surface OK when it examined nothing, and that distinction must survive the summary.\n const unprobed = report.surfaces.length - probed.length;\n return {\n name,\n status: LocalPreconditionCheckStatus.PASS,\n detail:\n `${probed.length} of ${report.surfaces.length} surfaces probed, none stale`\n + `${unprobed > 0 ? ` (${unprobed} not probed on this machine)` : ''}.`,\n };\n }\n\n const worst = stale[0].findings[0];\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail:\n `${report.findingCount} stale derived artifact${report.findingCount === 1 ? '' : 's'} across `\n + `${stale.map((surface) => `${surface.surface} (${surface.findings.length})`).join(', ')}. `\n + `e.g. ${worst?.detail ?? '(no detail)'}`,\n fix:\n `Read the full report — every artifact with both timestamps and its own remedy: \\`${manualCommand}\\`. `\n + 'Nothing there blocks the stack; each finding names the generated thing to delete or rebuild.',\n };\n}\n\n/**\n * The per-surface verdict the currency sweep emits — a MIRROR of `CurrencyStatus` in\n * `scripts/dev-orchestrator/derived-artifact-currency.mjs`, deliberately re-declared rather than\n * imported: that sweep is a repository script, this is a package, and a package may not reach\n * into `scripts/`. So the two sides own their own named source and the JSON payload is the\n * contract between them, exactly as the ETL pipeline mirrors data-seeding's orphan policy.\n *\n * The distinction each member carries is why this vocabulary must be named rather than inlined:\n * NOT_PROBED is NOT a quieter OK — a surface that examined nothing has learned nothing, and the\n * summary reports the two separately on purpose (the sweep refuses to call an unexamined surface\n * current, and that refusal has to survive the trip through this consumer).\n */\nexport enum DerivedArtifactCurrencyStatus {\n /** The surface was examined and everything it holds is current. */\n OK = 'ok',\n /** The surface was examined and holds at least one artifact older than what it derives from. */\n STALE = 'stale',\n /** Not examined on this machine — nothing was learned, which is not the same as nothing wrong. */\n NOT_PROBED = 'not-probed',\n}\n\n/** The report shape the sweep emits under `--json`. Kept minimal — only what this summary reads. */\ninterface DerivedArtifactCurrencyReport {\n readonly findingCount: number;\n readonly surfaces: readonly {\n readonly surface: string;\n readonly status: DerivedArtifactCurrencyStatus;\n readonly findings: readonly { readonly detail: string; readonly artifact: string }[];\n }[];\n}\n\nfunction defaultRunDerivedArtifactCurrencySweep(scriptPath: string, args: readonly string[]): { status: number | null; stdout: string; stderr: string } {\n const result = spawnSync(process.execPath, [scriptPath, ...args], {\n encoding: 'utf8',\n timeout: DERIVED_ARTIFACT_CURRENCY_TIMEOUT_MS,\n stdio: ['ignore', 'pipe', 'pipe'],\n });\n if (result.error) throw result.error;\n return { status: result.status, stdout: result.stdout ?? '', stderr: result.stderr ?? '' };\n}\n\n/**\n * The complete precondition SET, in report order.\n *\n * `wildo local doctor` and the `wildo local dev` preflight both call this\n * rather than assembling their own list — otherwise \"the preflight runs the\n * same checks as doctor\" is a claim in a docblock instead of a property of the\n * code, which is exactly how the preflight came to run only `docker info`\n * while its docblock promised the full diagnostic.\n *\n * Scoped roots for the orphan check mirror `wildo dev force-stop`: the app\n * root always, plus the framework checkout for a framework developer, because\n * the blocking `dist/**/.builder.pid` locks live under `engine/**` there and\n * an orphaned engine watcher is unreachable from the app root alone.\n *\n * HOST TOOLCHAIN checks come first, ahead of Docker Compose. They sit lower in\n * the stack than anything else here — a host with no usable pnpm cannot act on\n * a Compose diagnostic anyway — and reporting them first means the operator\n * reads the causes before the consequences.\n */\nexport async function collectLocalPreconditionChecks(input: {\n saasRoot: string | null;\n frameworkPath?: string | null;\n isFrameworkDeveloper?: boolean;\n /**\n * Probe the coding-agent ACP adapter by starting it.\n *\n * OFF by default, and on for `doctor` only. The probe spawns a process and\n * may resolve a package from the network on a cold cache, which is fine in a\n * diagnostic a human asked for and wrong in the `dev` preflight, where it\n * would add seconds to every start for a capability most runs never use.\n * Diagnostics that make the common path slower get skipped by operators, and\n * a skipped diagnostic reports nothing.\n */\n includeCodingAgentProbe?: boolean;\n /**\n * Sweep every derived artifact for currency.\n *\n * OFF by default and on for `doctor` only, for exactly the reason the coding-agent probe is: it\n * walks every `dist/` tree, every injected snapshot and every virtual-store key — several seconds\n * of I/O — which is fine in a diagnostic a human asked for and wrong in the `dev` preflight, where\n * it would tax every start for an answer most starts do not need. Diagnostics that make the common\n * path slower get skipped, and a skipped diagnostic reports nothing.\n *\n * There is a second reason here that does not apply to the coding-agent probe: the preflight runs\n * BEFORE the watcher fleet starts, which is the moment a dist is most legitimately behind its\n * source. Reporting that as a finding on every start would be noise with a grain of truth in it —\n * the worst kind, because operators learn to skim it.\n */\n includeDerivedArtifactCurrencySweep?: boolean;\n}): Promise<LocalPreconditionCheckResult[]> {\n const {\n saasRoot,\n frameworkPath,\n isFrameworkDeveloper = false,\n includeCodingAgentProbe = false,\n includeDerivedArtifactCurrencySweep = false,\n } = input;\n const results: LocalPreconditionCheckResult[] = [\n checkNodeVersion(),\n checkPnpmToolchain({ manifestPath: resolvePackageManagerManifestPath(input) }),\n checkCxx20Toolchain(),\n checkDockerComposeVersion(),\n ];\n\n if (includeCodingAgentProbe) {\n results.push(checkCodingAgentAdapter());\n // Behind the same flag, for the same reason: both spawn a process and may\n // touch the network on a cold cache, which is why neither runs in the `dev`\n // preflight. The OpenCode check short-circuits to a pass when the optional\n // binary is absent, so adding it costs a `stat` on the common machine.\n results.push(checkOpenCodeAgent());\n }\n\n if (saasRoot) {\n results.push(await checkProviderRuntimeGeneratedModules(saasRoot));\n }\n\n const scopedRoots = [\n ...(saasRoot ? [saasRoot] : []),\n ...(frameworkPath && isFrameworkDeveloper ? [frameworkPath] : []),\n ];\n results.push(checkOrphanedDevWatchers(scopedRoots));\n\n if (includeDerivedArtifactCurrencySweep) {\n results.push(checkDerivedArtifactCurrency({ frameworkPath, saasRoot }));\n }\n\n return results;\n}\n\n/**\n * Which manifest's `packageManager` pin the pnpm check compares against.\n *\n * The framework checkout wins for a framework developer, because that is the\n * root they run `pnpm install` in and the one whose pin their pnpm will\n * self-switch to; an application developer's authority is their own app\n * manifest. Returns `null` when neither root is known, which the check treats\n * as \"no declared pin\" — it still verifies pnpm EXECUTES, which is the half\n * that mattered on 2026-08-08.\n *\n * Note this reads the APPLICATION's own manifest for an application developer\n * rather than pushing a framework version at them: pnpm binds both audiences,\n * but each audience's pin is its own. See the audience table in\n * `.claude/rules/toolchain-installation-baseline.md`.\n */\nfunction resolvePackageManagerManifestPath(input: {\n saasRoot: string | null;\n frameworkPath?: string | null;\n isFrameworkDeveloper?: boolean;\n}): string | null {\n const { saasRoot, frameworkPath, isFrameworkDeveloper = false } = input;\n if (isFrameworkDeveloper && frameworkPath) return join(frameworkPath, 'package.json');\n return saasRoot ? join(saasRoot, 'package.json') : null;\n}\n\n/**\n * Display a module path relative to the app root when it is inside it, so the\n * diagnostic line stays readable. Falls back to the absolute path for a host\n * that lives outside the app root — truncating that into a `../../..` chain\n * would be less useful than the full path.\n */\nfunction relativeToRootForDisplay(saasRoot: string, modulePath: string): string {\n const relativePath = relative(saasRoot, modulePath);\n return relativePath.startsWith('..') ? modulePath : relativePath;\n}\n\nfunction truncateCommand(command: string): string {\n return command.length > 80 ? `${command.slice(0, 80)}…` : command;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"local-precondition-checks.service.js","sourceRoot":"","sources":["../../../../src/services/deployment/local-precondition-checks.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,EACL,4BAA4B,EAC5B,8BAA8B,EAC9B,mBAAmB,EACnB,sBAAsB,EACtB,kCAAkC,EAClC,+BAA+B,GAChC,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACtC,OAAO,EACL,0BAA0B,EAC1B,uBAAuB,EACvB,8BAA8B,GAC/B,MAAM,wEAAwE,CAAC;AAChF,OAAO,EACL,sBAAsB,EACtB,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,mBAAmB,EACnB,qCAAqC,EACrC,4BAA4B,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,OAAO,CAAC;AACjB,CAAC;AAED;;;;;;;;;;;;;;GAcG;AACH,SAAS,iCAAiC,CAAC,KAI1C;IACC,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,oBAAoB,GAAG,KAAK,EAAE,GAAG,KAAK,CAAC;IACxE,IAAI,oBAAoB,IAAI,aAAa;QAAE,OAAO,IAAI,CAAC,aAAa,EAAE,cAAc,CAAC,CAAC;IACtF,OAAO,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AAC1D,CAAC;AAED;;;;;GAKG;AACH,SAAS,wBAAwB,CAAC,QAAgB,EAAE,UAAkB;IACpE,MAAM,YAAY,GAAG,QAAQ,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;IACpD,OAAO,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,YAAY,CAAC;AACnE,CAAC;AAED,SAAS,eAAe,CAAC,OAAe;IACtC,OAAO,OAAO,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC;AACpE,CAAC","sourcesContent":["/**\n * Local-development PRECONDITION checks — the things that must already be true\n * before `wildo local dev` starts doing work.\n *\n * These are deliberately separate from the runtime probes in\n * `wildo local doctor` (container health, loopback binding, backing-service\n * auth). Those answer \"is the running stack healthy?\"; these answer \"can this\n * machine run the stack at all?\" — and each one here was written from a real\n * session (2026-08-08 and 2026-08-11/12) where the answer was NO and the\n * operator found out LATE, several minutes and one cryptic error in — or, for\n * the first three, never, because nothing in this repository looked:\n *\n * 0. **Node on an unsupported major.** The supported version had four\n * disagreeing declarations and the loosest one was the published range.\n * See `SUPPORTED_NODE_MAJOR_VERSION`, now the single source.\n * 0a. **pnpm unusable.** A `packageManager` self-switch aborted mid-download,\n * leaving a 4 KB skeleton with no binary; every `pnpm` call died `ENOENT`\n * and nothing could be installed, built or run.\n * 0b. **C++ toolchain silently a decade stale.** Apple clang 21 over libc++\n * 11.0 — no `<ranges>`, `<format>` or `<coroutine>`. Every native Node\n * addon needing C++20 was unbuildable while every version string looked\n * current.\n * 1. **Docker Compose too old.** Failed with\n * `services.valkey.healthcheck Additional property start_interval is not\n * allowed`, printed AFTER \"Local infrastructure is not running. Starting\n * it...\" — so it read as an infra fault, not a toolchain one.\n * 2. **Provider-runtime modules never materialized.** The companion's\n * `src/index.ts` imports `./generated/wildo-provider-runtime.generated.js`;\n * with no `wildo config sync` behind it, compilation emitted `TS2307:\n * Cannot find module` on repeat, forever, inside the diagnostics block.\n * 3. **Orphaned dev watchers.** `tsc-watch` single-writers from a dead\n * session, reparented to init, still holding `dist/esm/.builder.pid`.\n * Every new watcher then correctly refused to become a second writer and\n * readiness blocked forever on\n * `dependency-compile-status-<pkg>-watcher-exited`.\n *\n * Both consumers — `wildo local doctor` and the `wildo local dev` preflight —\n * call these functions, so the two surfaces cannot drift into disagreeing\n * about what a healthy precondition looks like.\n *\n * Every check is READ-ONLY: it observes and reports, never repairs. `local\n * doctor` advertises itself as a read-only diagnostic and the preflight runs\n * before ownership of anything is established, so a check that mutated would\n * be wrong in both places. Each failing result carries `fix` — the exact\n * command the operator runs next — because a precondition check whose output\n * still requires a search is only half a check.\n */\n\nimport { spawnSync } from 'node:child_process';\nimport { existsSync, readFileSync } from 'fs';\nimport { homedir } from 'node:os';\nimport {\n CODING_AGENT_ADAPTER_PACKAGE,\n CODING_AGENT_ADAPTER_SPECIFIER,\n OPENCODE_AGENT_ARGS,\n OPENCODE_AGENT_VERSION,\n resolveOpenCodeAgentExecutablePath,\n SUPPORTED_ACP_PROTOCOL_VERSIONS,\n} from '@wildo-ai/external-connectors-private/backend';\nimport { join, relative } from 'path';\nimport {\n detectDockerComposeVersion,\n isComposeVersionAtLeast,\n MINIMUM_DOCKER_COMPOSE_VERSION,\n} from '~wildo-cli/services/deployment/docker/docker-compose-readiness.service';\nimport {\n isNodeVersionSupported,\n isVersionAtLeast,\n MINIMUM_PNPM_VERSION,\n probeCxx20Toolchain,\n probePnpmExecutable,\n readDeclaredPackageManagerPnpmVersion,\n SUPPORTED_NODE_MAJOR_VERSION,\n Cxx20ProbeStatus,\n type Cxx20ProbeResult,\n type PnpmProbeResult,\n} from '~wildo-cli/services/deployment/host-toolchain-readiness.service';\nimport {\n LocalRuntimeProcessCleanupService,\n type LocalRuntimeProcessGroupCandidate,\n} from '~wildo-cli/services/deployment/local-runtime-process-cleanup.service';\nimport { resolveExpectedProviderRuntimeSourceModulePaths } from '~wildo-cli/services/application/provider-runtime-sync.service';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport {\n LocalPreconditionCheckStatus,\n type LocalPreconditionCheckResult,\n} from '~wildo-cli/services/deployment/local-precondition-checks.schemas';\n\n/**\n * The result shape and its status vocabulary live in `local-precondition-checks.schemas.ts` — a\n * module with no host-touching imports, so a consumer that mocks THIS service can still derive from\n * the one named source. See that file for why the split exists.\n */\n\n/** Remediation strings, single-sourced so doctor and the preflight quote the same command. */\nexport const COMPOSE_UPGRADE_REMEDIATION =\n 'Upgrade Docker Desktop (>= 25): `brew upgrade --cask docker` — or download it from https://docker.com/products/docker-desktop. Then re-run `wildo local doctor`.';\nexport const PROVIDER_RUNTIME_SYNC_REMEDIATION =\n 'Materialize the generated runtime artifacts: `wildo config sync`';\nexport const ORPHANED_DEV_WATCHER_REMEDIATION =\n 'Reap them: `wildo dev force-stop`';\nexport const NODE_UPGRADE_REMEDIATION =\n `Install Node ${SUPPORTED_NODE_MAJOR_VERSION}: \\`nvm install ${SUPPORTED_NODE_MAJOR_VERSION} && nvm use ${SUPPORTED_NODE_MAJOR_VERSION}\\``\n + ` (or \\`fnm use ${SUPPORTED_NODE_MAJOR_VERSION}\\`, or download it from https://nodejs.org/). Then re-run \\`wildo local doctor\\`.`;\nexport const PNPM_REPAIR_REMEDIATION =\n 'Reinstall pnpm: `corepack enable && corepack prepare pnpm@latest --activate`'\n + ' — or `npm install -g pnpm`. If a `packageManager` self-switch left a partial download,'\n + ' clear its cache first: `rm -rf ~/Library/pnpm/.tools` (macOS) / `rm -rf ~/.local/share/pnpm/.tools` (Linux).';\nexport const CXX20_TOOLCHAIN_REMEDIATION =\n 'Reinstall the Command Line Tools — this needs YOUR password, so run it yourself:'\n + ' `sudo rm -rf /Library/Developer/CommandLineTools && sudo xcode-select --install`.'\n + ' On Linux, install a C++20 toolchain (GCC >= 10 or Clang >= 16) with your package manager.';\n\n/**\n * The Node this CLI is running under must be on the supported major.\n *\n * FAILS rather than warns. The supported major is a TESTED range, not a\n * preference: it is the version CI exercises and the version the locked native\n * dependencies compile against, and a host below it is running a configuration\n * nothing in this repository verifies. `better-sqlite3` is the concrete\n * precedent in the other direction — 11.x builds on Node 22 and cannot build\n * at all on Node 26 — which is exactly why an unenforced range drifts into\n * claiming support for configurations that do not work.\n *\n * Measures `process.versions.node`: the Node executing this CLI is the Node\n * that will spawn every dev server, watcher and companion behind it, so it is\n * the honest subject even though a `nvm use` in another terminal could differ.\n *\n * `wildo local dev --skip-doctor` remains the documented bypass for an operator\n * who has decided to run unsupported anyway.\n */\nexport function checkNodeVersion(\n options: { nodeVersion?: string; supportedMajor?: number } = {},\n): LocalPreconditionCheckResult {\n const name = 'node version';\n const nodeVersion = options.nodeVersion ?? process.versions.node;\n const supportedMajor = options.supportedMajor ?? SUPPORTED_NODE_MAJOR_VERSION;\n\n if (!isNodeVersionSupported(nodeVersion, supportedMajor)) {\n return {\n name,\n status: LocalPreconditionCheckStatus.FAIL,\n detail:\n `v${nodeVersion} — this repository is developed and CI-tested on Node ${supportedMajor}. `\n + 'Older majors are not exercised anywhere, and the locked native dependencies are built against '\n + `Node ${supportedMajor}'s V8 headers.`,\n fix: NODE_UPGRADE_REMEDIATION,\n };\n }\n return { name, status: LocalPreconditionCheckStatus.PASS, detail: `v${nodeVersion} (supported major: ${supportedMajor})` };\n}\n\n/**\n * pnpm must actually EXECUTE, and should match the `packageManager` pin.\n *\n * The ordering matters and is the whole lesson of the failure this closes. On\n * 2026-08-08 a `packageManager` self-switch aborted mid-download, leaving a\n * 4 KB skeleton with no binary; pnpm was present, on PATH, and every\n * invocation died `ENOENT`. A version comparison cannot see that — the failure\n * IS the absence of a version — so this check runs pnpm first and treats an\n * inability to answer as the hard blocker it is.\n *\n * Three outcomes, deliberately not collapsed:\n *\n * - **cannot execute → FAIL.** Nothing can be installed, built or run.\n * - **below `engines.pnpm` → FAIL.** pnpm 9 and 10 differ in the self-switch\n * and build-script mechanisms this repository depends on.\n * - **executes, at or above the floor, but off the `packageManager` pin →\n * WARN.** pnpm self-switches to the pin per invocation, so this is normally\n * benign and self-correcting. It warns rather than passing because a\n * divergence here is the state the corrupt self-switch begins from.\n *\n * The pin is read from the manifest the operator will actually run pnpm in —\n * never from a constant here, which would be a fifth copy of a version this\n * repository already declares.\n */\nexport function checkPnpmToolchain(\n options: {\n manifestPath?: string | null;\n probe?: () => PnpmProbeResult;\n readDeclaredPin?: (manifestPath: string) => string | null;\n } = {},\n): LocalPreconditionCheckResult {\n const name = 'pnpm toolchain';\n const probe = options.probe ?? (() => probePnpmExecutable());\n const readDeclaredPin = options.readDeclaredPin ?? ((path: string) => readDeclaredPackageManagerPnpmVersion(path));\n\n const result = probe();\n if (result.failure !== null || result.version === null) {\n return {\n name,\n status: LocalPreconditionCheckStatus.FAIL,\n detail:\n `pnpm did not run: ${result.failure ?? 'no version reported'}. `\n + 'A `packageManager` self-switch whose download aborted leaves a shim on PATH with no binary '\n + 'behind it, so this surfaces downstream as ENOENT from unrelated commands.',\n fix: PNPM_REPAIR_REMEDIATION,\n };\n }\n\n if (!isVersionAtLeast(result.version, MINIMUM_PNPM_VERSION)) {\n return {\n name,\n status: LocalPreconditionCheckStatus.FAIL,\n detail: `v${result.version} is below the required minimum ${MINIMUM_PNPM_VERSION}.`,\n fix: PNPM_REPAIR_REMEDIATION,\n };\n }\n\n const declaredPin = options.manifestPath ? readDeclaredPin(options.manifestPath) : null;\n if (declaredPin && declaredPin !== result.version) {\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail:\n `v${result.version} is running, but \\`packageManager\\` pins pnpm@${declaredPin}. `\n + 'pnpm normally self-switches to the pin per invocation; a persistent divergence means that '\n + 'switch is not completing.',\n fix: PNPM_REPAIR_REMEDIATION,\n };\n }\n\n return {\n name,\n status: LocalPreconditionCheckStatus.PASS,\n detail: declaredPin ? `v${result.version} (matches the packageManager pin)` : `v${result.version}`,\n };\n}\n\n/**\n * The host must be able to COMPILE C++20, verified by compiling C++20.\n *\n * This check exists because a version string lied. The broken host reported\n * Apple clang 21.0.0 with SDK 26.5 while its libc++ was 11.0 (late 2020), with\n * no `<ranges>`, `<format>` or `<coroutine>`; every native Node addon needing\n * C++20 was unbuildable, which on Node 26 means all of them. Nothing derived\n * from `clang --version` could have detected that, so `probeCxx20Toolchain`\n * compiles a translation unit and reads the exit code.\n *\n * WARNS rather than fails, on every host rather than only on framework\n * developers' hosts:\n *\n * - **Warn, not fail**, because most native dependencies install from\n * prebuilt binaries and a stale toolchain only bites when one must be\n * compiled from source. Blocking `wildo local dev` over a compiler the\n * operator may never invoke would be wrong. It is also the honest severity\n * for a fix this command cannot verify or apply: the remedy needs `sudo`,\n * so the check REPORTS it and never attempts it — a precondition check that\n * tried to repair the host would violate the read-only contract both its\n * consumers advertise.\n * - **Every host**, because the audience split does not apply here: an\n * application developer whose dependency lacks a prebuild for their\n * platform hits the identical wall, and the diagnostic is worth the same\n * to them.\n *\n * `not-probed` (Windows) reports as PASS with an explicit \"not probed\" detail\n * rather than as a warning. The alternative is a permanent yellow line on every\n * Windows machine, which trains operators to skim past the diagnostics that do\n * mean something — the trade is deliberate and the detail string is what keeps\n * it honest.\n */\nexport function checkCxx20Toolchain(\n options: { probe?: () => Cxx20ProbeResult } = {},\n): LocalPreconditionCheckResult {\n const name = 'c++20 toolchain';\n const probe = options.probe ?? (() => probeCxx20Toolchain());\n const result = probe();\n\n switch (result.status) {\n case Cxx20ProbeStatus.OK:\n return { name, status: LocalPreconditionCheckStatus.PASS, detail: `\\`${result.compiler}\\` compiles C++20` };\n case Cxx20ProbeStatus.NOT_PROBED:\n return {\n name,\n status: LocalPreconditionCheckStatus.PASS,\n detail: 'not probed on Windows (an MSVC Developer environment is required to answer this)',\n };\n case Cxx20ProbeStatus.ABSENT:\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail:\n `no C++ compiler found (tried \\`${result.compiler}\\`). Native Node addons without a prebuilt `\n + 'binary for this platform cannot be installed.',\n fix: CXX20_TOOLCHAIN_REMEDIATION,\n };\n case Cxx20ProbeStatus.UNSUPPORTED:\n default:\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail:\n `\\`${result.compiler}\\` cannot compile C++20 — \\`#include <ranges>\\` failed`\n + `${result.diagnostic ? `: ${result.diagnostic}` : ''}. `\n + 'A modern clang shipping a decade-old libc++ reports a perfectly current version string, '\n + 'so this surfaces only as C++ errors deep inside a native addon build.',\n fix: CXX20_TOOLCHAIN_REMEDIATION,\n };\n }\n}\n\n/** What the coding-agent adapter probe learned. */\nexport enum CodingAgentAdapterProbeStatus {\n /** The adapter started and negotiated an ACP version this framework supports. */\n OK = 'ok',\n /** The adapter could not be started at all. */\n ABSENT = 'absent',\n /** It started but negotiated a protocol version this framework does not implement. */\n UNSUPPORTED_PROTOCOL = 'unsupported-protocol',\n}\n\nexport interface CodingAgentAdapterProbeResult {\n status: CodingAgentAdapterProbeStatus;\n negotiatedProtocolVersion?: number;\n agentName?: string;\n agentVersion?: string;\n diagnostic?: string;\n}\n\nconst CODING_AGENT_ADAPTER_REMEDIATION =\n `Run \\`npx --yes ${CODING_AGENT_ADAPTER_SPECIFIER} --help\\` once to cache it, `\n + 'or re-run the installer. Application creation cannot dispatch a coding task without it.';\n\n/**\n * Probe the coding-agent ACP adapter by EXECUTING it — spawn it and complete the\n * `initialize` handshake — rather than by reading a version string.\n *\n * That is this baseline's own hard-won rule. Apple clang reported version 21\n * truthfully while shipping a libc++ from 2020, and a pnpm shim reported a\n * version while having no binary behind it: a toolchain's account of itself is\n * not evidence. Here the equivalent trap is real and specific — `npx` resolving\n * the specifier proves a download, not that the adapter speaks a protocol\n * version we can hold it to.\n *\n * The handshake is also the ONLY thing that answers the question the coding lane\n * actually depends on: an agent negotiating an ACP major outside\n * `SUPPORTED_ACP_PROTOCOL_VERSIONS` is refused at dispatch, and finding that out\n * at `doctor` time costs seconds instead of a failed journey step.\n *\n * WARNS rather than fails, matching the C++ toolchain check: a developer who\n * never runs application creation does not need this, and a permanently red\n * line for an unused capability trains operators to skim.\n */\n\n/**\n * Spawn the adapter and complete an ACP `initialize`, with a hard timeout.\n *\n * Deliberately read-only: it opens no session and sends no prompt, so it cannot\n * touch a workspace or spend a token. The handshake alone answers both\n * questions — can this adapter start, and does it speak a protocol major this\n * framework can hold it to.\n */\nexport function probeCodingAgentAdapter(\n options: { timeoutMs?: number; command?: string; args?: readonly string[] } = {},\n): CodingAgentAdapterProbeResult {\n const timeoutMs = options.timeoutMs ?? 60_000;\n const request = JSON.stringify({\n jsonrpc: '2.0',\n id: 1,\n method: 'initialize',\n params: {\n protocolVersion: Math.max(...SUPPORTED_ACP_PROTOCOL_VERSIONS),\n // Advertise nothing: a probe must not imply the client will serve\n // filesystem or terminal callbacks it has no intention of answering.\n clientCapabilities: {},\n },\n });\n\n // The command is a PARAMETER because the handshake is agent-neutral while the\n // way to start an agent is not: the Claude adapter is an npm specifier `npx`\n // resolves, OpenCode is a pinned binary at an absolute path. Defaulting to the\n // adapter keeps every existing caller unchanged.\n const spawned = spawnSync(options.command ?? 'npx', [...(options.args ?? ['--yes', CODING_AGENT_ADAPTER_SPECIFIER])], {\n input: `${request}\\n`,\n encoding: 'utf8',\n timeout: timeoutMs,\n // The adapter resolves its own credentials from host state; the probe needs\n // no secret and passes none beyond the ambient environment it must inherit\n // to find its own installation.\n env: process.env,\n });\n\n if (spawned.error || spawned.stdout === undefined) {\n return {\n status: CodingAgentAdapterProbeStatus.ABSENT,\n diagnostic: spawned.error?.message ?? 'no output',\n };\n }\n\n for (const line of spawned.stdout.split('\\n')) {\n const trimmed = line.trim();\n if (!trimmed) continue;\n let message: unknown;\n try {\n message = JSON.parse(trimmed);\n } catch {\n // Non-JSON stdout is the adapter's own logging, not a protocol frame.\n continue;\n }\n const result = (message as { id?: unknown; result?: { protocolVersion?: unknown; agentInfo?: { name?: unknown; version?: unknown } } }).result;\n if (!result || typeof result.protocolVersion !== 'number') continue;\n\n const negotiatedProtocolVersion = result.protocolVersion;\n const agentName = typeof result.agentInfo?.name === 'string' ? result.agentInfo.name : undefined;\n const agentVersion = typeof result.agentInfo?.version === 'string' ? result.agentInfo.version : undefined;\n return SUPPORTED_ACP_PROTOCOL_VERSIONS.includes(negotiatedProtocolVersion)\n ? { status: CodingAgentAdapterProbeStatus.OK, negotiatedProtocolVersion, agentName, agentVersion }\n : { status: CodingAgentAdapterProbeStatus.UNSUPPORTED_PROTOCOL, negotiatedProtocolVersion, agentName, agentVersion };\n }\n\n return {\n status: CodingAgentAdapterProbeStatus.ABSENT,\n diagnostic: (spawned.stderr ?? '').trim().slice(-300) || 'the adapter answered no initialize result',\n };\n}\n\nexport function checkCodingAgentAdapter(\n options: { probe?: () => CodingAgentAdapterProbeResult } = {},\n): LocalPreconditionCheckResult {\n const name = 'coding-agent ACP adapter';\n const probe = options.probe ?? (() => probeCodingAgentAdapter());\n const result = probe();\n\n switch (result.status) {\n case CodingAgentAdapterProbeStatus.OK:\n return {\n name,\n status: LocalPreconditionCheckStatus.PASS,\n detail:\n `${result.agentName ?? CODING_AGENT_ADAPTER_PACKAGE}`\n + `${result.agentVersion ? `@${result.agentVersion}` : ''}`\n + ` speaks ACP v${result.negotiatedProtocolVersion}`,\n };\n case CodingAgentAdapterProbeStatus.UNSUPPORTED_PROTOCOL:\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail:\n `the adapter negotiated ACP v${result.negotiatedProtocolVersion}, which this framework does not `\n + `implement (supported: ${SUPPORTED_ACP_PROTOCOL_VERSIONS.join(', ')}). A coding dispatch will be refused.`,\n fix: `Pin the adapter to ${CODING_AGENT_ADAPTER_SPECIFIER}, which negotiates a supported version.`,\n };\n case CodingAgentAdapterProbeStatus.ABSENT:\n default:\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail:\n `could not start \\`${CODING_AGENT_ADAPTER_SPECIFIER}\\``\n + `${result.diagnostic ? `: ${result.diagnostic}` : ''}`,\n fix: CODING_AGENT_ADAPTER_REMEDIATION,\n };\n }\n}\n\n/**\n * Resolve the pinned OpenCode binary, by ABSOLUTE PATH rather than through `PATH`.\n *\n * The installer places exactly one verified build at a version-qualified path,\n * so \"which build answered\" has a single answer. Resolving through `PATH` would\n * silently prefer whatever an operator installed by hand — which is how a probe\n * comes to report on a different binary from the one a run will execute.\n */\nexport function resolvePinnedOpenCodeAgentPath(): string {\n // Delegates: the provider that SPAWNS this agent needs the same path, and two\n // derivations of one path is how a probe comes to report on a different binary\n // from the one a run executes.\n return resolveOpenCodeAgentExecutablePath(homedir());\n}\n\n/**\n * Probe the OPTIONAL multi-provider coding agent.\n *\n * Calibrated differently from the adapter check, deliberately. OpenCode is not\n * installed on every machine and is not needed by a developer who never\n * dispatches a coding task through it, so ABSENT is reported as a pass with a\n * detail rather than as a warning: a permanently yellow line for an unused\n * capability is what trains an operator to skim past the lines that matter.\n *\n * A binary that IS installed and cannot speak ACP is a different thing — that\n * is a broken install rather than an absent one, and it warns.\n */\nexport function checkOpenCodeAgent(\n options: { probe?: (command: string) => CodingAgentAdapterProbeResult; binaryPath?: string } = {},\n): LocalPreconditionCheckResult {\n const name = 'OpenCode ACP agent (optional)';\n const binaryPath = options.binaryPath ?? resolvePinnedOpenCodeAgentPath();\n\n if (!existsSync(binaryPath)) {\n return {\n name,\n status: LocalPreconditionCheckStatus.PASS,\n detail: `not installed — optional; the pinned build would live at ${binaryPath}`,\n };\n }\n\n const probe = options.probe ?? ((command: string) =>\n probeCodingAgentAdapter({ command, args: [...OPENCODE_AGENT_ARGS] }));\n const result = probe(binaryPath);\n\n switch (result.status) {\n case CodingAgentAdapterProbeStatus.OK:\n return {\n name,\n status: LocalPreconditionCheckStatus.PASS,\n detail:\n `${result.agentName ?? 'OpenCode'}${result.agentVersion ? `@${result.agentVersion}` : ''}`\n + ` speaks ACP v${result.negotiatedProtocolVersion}`,\n };\n case CodingAgentAdapterProbeStatus.UNSUPPORTED_PROTOCOL:\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail:\n `the installed OpenCode negotiated ACP v${result.negotiatedProtocolVersion}, which this framework does `\n + `not implement (supported: ${SUPPORTED_ACP_PROTOCOL_VERSIONS.join(', ')}). A coding dispatch will be refused.`,\n fix: `Re-run the installer to restore the pinned v${OPENCODE_AGENT_VERSION} build.`,\n };\n case CodingAgentAdapterProbeStatus.ABSENT:\n default:\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail: `a binary exists at ${binaryPath} but did not complete an ACP handshake`\n + `${result.diagnostic ? `: ${result.diagnostic}` : ''}`,\n fix: `Delete ${binaryPath} and re-run the installer to restore the verified v${OPENCODE_AGENT_VERSION} build.`,\n };\n }\n}\n\n/**\n * The Compose plugin must accept `start_interval`, which every healthcheck in\n * the generated local compose project declares (Compose >= 2.24 / Docker\n * Desktop >= 25).\n *\n * FAILS rather than warns: this is a hard blocker — the compose project is\n * rejected wholesale, so nothing downstream can run. An UNDETECTABLE version\n * also fails, because \"no Compose plugin\" is the same blocker wearing a\n * different message, and treating unknown as acceptable would let the exact\n * fresh-install host this gate exists for sail through.\n */\nexport function checkDockerComposeVersion(\n options: { detectVersion?: () => string | null } = {},\n): LocalPreconditionCheckResult {\n const detect = options.detectVersion ?? (() => detectDockerComposeVersion());\n const version = detect();\n\n if (version === null) {\n return {\n name: 'docker compose version',\n status: LocalPreconditionCheckStatus.FAIL,\n detail: `Docker Compose plugin not detected (need >= ${MINIMUM_DOCKER_COMPOSE_VERSION})`,\n fix: COMPOSE_UPGRADE_REMEDIATION,\n };\n }\n if (!isComposeVersionAtLeast(version, MINIMUM_DOCKER_COMPOSE_VERSION)) {\n return {\n name: 'docker compose version',\n status: LocalPreconditionCheckStatus.FAIL,\n detail:\n `v${version} is too old — the local compose healthchecks use \\`start_interval\\`, `\n + `which needs Compose >= ${MINIMUM_DOCKER_COMPOSE_VERSION} (Docker Desktop >= 25). `\n + 'Without it the whole project is rejected with '\n + '\"Additional property start_interval is not allowed\".',\n fix: COMPOSE_UPGRADE_REMEDIATION,\n };\n }\n return {\n name: 'docker compose version',\n status: LocalPreconditionCheckStatus.PASS,\n detail: `v${version} (>= ${MINIMUM_DOCKER_COMPOSE_VERSION})`,\n };\n}\n\n/**\n * Every runtime host that a `wildo config sync` would give a\n * `src/generated/wildo-provider-runtime.generated.ts` module must have it on\n * disk — the host's own `src/index.ts` imports it, so an absent module is a\n * compile error the operator meets as an endlessly repeating `TS2307` rather\n * than as a missing setup step.\n *\n * FAILS rather than warns: no affected host compiles at all.\n *\n * The expected set comes from the sync service's own target resolver, never\n * from a list maintained here — see\n * `resolveExpectedProviderRuntimeSourceModulePaths`.\n */\nexport async function checkProviderRuntimeGeneratedModules(\n saasRoot: string,\n options: {\n resolveExpectedModulePaths?: (saasRoot: string) => Promise<string[]>;\n moduleExists?: (modulePath: string) => boolean;\n } = {},\n): Promise<LocalPreconditionCheckResult> {\n const name = 'generated provider-runtime modules';\n const resolveExpected = options.resolveExpectedModulePaths ?? resolveExpectedProviderRuntimeSourceModulePaths;\n const moduleExists = options.moduleExists ?? ((modulePath: string) => existsSync(modulePath));\n\n let expectedModulePaths: string[];\n try {\n expectedModulePaths = await resolveExpected(saasRoot);\n } catch (error) {\n // A configuration that cannot be loaded is a different problem with a\n // different owner. Report it as unknown — claiming \"present\" would hide\n // the very gap this check exists for, and claiming \"missing\" would blame\n // provider sync for a broken `wildo.saas.config.ts`.\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail: `could not determine the expected modules: ${ErrorUtils.extractErrorMessage(error)}`,\n fix: `Resolve the configuration error above, then run \\`wildo config sync\\`.`,\n };\n }\n\n if (expectedModulePaths.length === 0) {\n return { name, status: LocalPreconditionCheckStatus.PASS, detail: 'no runtime host requires one' };\n }\n\n const missing = expectedModulePaths.filter((modulePath) => !moduleExists(modulePath));\n if (missing.length === 0) {\n return {\n name,\n status: LocalPreconditionCheckStatus.PASS,\n detail: `${expectedModulePaths.length} runtime host${expectedModulePaths.length === 1 ? '' : 's'}`,\n };\n }\n\n return {\n name,\n status: LocalPreconditionCheckStatus.FAIL,\n detail:\n `${missing.length} of ${expectedModulePaths.length} missing: `\n + missing.map((modulePath) => relativeToRootForDisplay(saasRoot, modulePath)).join(', '),\n fix: PROVIDER_RUNTIME_SYNC_REMEDIATION,\n };\n}\n\n/**\n * Report — never terminate — dev process groups whose leader lost its parent.\n *\n * WARNS rather than fails: the state is recoverable with one documented\n * command, and reaping belongs to `wildo dev force-stop` (which already routes\n * through the same `LocalRuntimeProcessCleanupService`). `wildo local dev`\n * additionally reaps them itself at startup, so a warning here is a diagnosis,\n * not an obstacle.\n *\n * Only ORPHANS are reported. A healthy `wildo local dev` running in another\n * terminal matches exactly the same patterns; flagging it would make the\n * warning permanent noise for the most normal state there is.\n */\nexport function checkOrphanedDevWatchers(\n scopedRoots: readonly string[],\n options: {\n collectCandidates?: (scopedRoots: readonly string[]) => LocalRuntimeProcessGroupCandidate[];\n } = {},\n): LocalPreconditionCheckResult {\n const name = 'orphaned dev watchers';\n if (scopedRoots.length === 0) {\n return { name, status: LocalPreconditionCheckStatus.PASS, detail: 'no scoped root to inspect' };\n }\n const collect = options.collectCandidates\n ?? ((roots: readonly string[]) => LocalRuntimeProcessCleanupService.collectCandidateProcessGroups(roots));\n\n let candidates: LocalRuntimeProcessGroupCandidate[];\n try {\n candidates = collect(scopedRoots);\n } catch (error) {\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail: `could not inspect the process table: ${ErrorUtils.extractErrorMessage(error)}`,\n fix: ORPHANED_DEV_WATCHER_REMEDIATION,\n };\n }\n\n const orphans = candidates.filter((candidate) => candidate.leaderIsOrphaned);\n if (orphans.length === 0) {\n return { name, status: LocalPreconditionCheckStatus.PASS, detail: 'none' };\n }\n\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail:\n `${orphans.length} process group${orphans.length === 1 ? '' : 's'} left by a dead session `\n + `(still holding dist single-writer locks, which blocks compile readiness): `\n + orphans.map((orphan) => `pgid ${orphan.processGroupId} ${truncateCommand(orphan.command)}`).join('; '),\n fix: ORPHANED_DEV_WATCHER_REMEDIATION,\n };\n}\n\n/**\n * Where the standalone currency sweep lives inside a framework checkout.\n *\n * A plain `.mjs` with no dependencies and no build step, invoked as a subprocess rather than\n * imported: it must stay runnable when this CLI's own `dist` is one of the suspects, which on\n * 2026-08-27 it was. One implementation, two surfaces — the same reason\n * `collectLocalPreconditionChecks` exists at all.\n */\nexport const DERIVED_ARTIFACT_CURRENCY_SWEEP_RELATIVE_PATH = 'scripts/dev-orchestrator/derived-artifact-currency-sweep.mjs';\n\n/** How long the sweep may take before doctor stops waiting. It walks every dist tree; ~5 s is typical. */\nconst DERIVED_ARTIFACT_CURRENCY_TIMEOUT_MS = 90_000;\n\n/**\n * Is every DERIVED artifact on this machine current with the source it was derived from?\n *\n * The one question nothing in this repository asked, and the one that mattered EIGHT times over\n * 2026-08-27/28 (issue #86). Not one of those failures was a logic bug: a dist, an injected `file:`\n * snapshot, an accepted-generation manifest, a virtual-store key, a config-loader cache bucket or a\n * running process had simply stopped matching its source, and every existing check answered the\n * neighbouring question — *\"is this file correct?\"* — perfectly. Three were misdiagnosed as semantic\n * conflicts in committed code before anyone dated the artifact.\n *\n * WARNS, never fails, on every host. Three separate reasons, and the first is decisive:\n *\n * - **A currency check that failed a boot would be a new way to break the stack.** That is the\n * opposite of the point, and it is the deadlock shape\n * `.claude/rules/continuity-drift-and-cas-basis.md` Rule 3 forbids — a startup path refusing over\n * something whose remedy needs the thing that just refused. Every remedy here is \"delete this\n * generated thing and let it rebuild\", which needs the dev stack the refusal would have stopped.\n * - **Some findings are legitimately transient.** A watcher mid-cycle, a supervised runtime a\n * minute behind a rebuild it is about to be respawned for. The sweep applies a grace and prints\n * the delta; a hard stop would have to be right about every one of those, and it would not be.\n * - **Several findings are advisory by nature** — unreferenced virtual-store keys cost disk and\n * nothing else.\n *\n * The detail here is a SUMMARY on purpose. The full report names every artifact with both\n * timestamps and its own remedy, which is more than a doctor line can carry; `fix` is the exact\n * command that prints it. A summary that forced the reader to go searching would reproduce the\n * defect this exists to remove, so the summary always names the worst artifact it found.\n *\n * `not-probed` (reported as PASS with an explicit detail, the idiom `checkCxx20Toolchain` uses for\n * Windows) covers the honest cases: no framework checkout resolved, or the sweep script absent —\n * which is the normal state for a generated application that consumes published packages and has no\n * framework repository to compare against.\n */\nexport function checkDerivedArtifactCurrency(input: {\n frameworkPath?: string | null;\n saasRoot?: string | null;\n runSweep?: (scriptPath: string, args: readonly string[]) => { status: number | null; stdout: string; stderr: string };\n}): LocalPreconditionCheckResult {\n const name = 'derived-artifact currency';\n const { frameworkPath, saasRoot } = input;\n\n if (!frameworkPath) {\n return {\n name,\n status: LocalPreconditionCheckStatus.PASS,\n detail:\n 'not probed — no framework checkout is resolved, and the sweep compares derived artifacts against the'\n + ' framework source they came from.',\n };\n }\n\n const scriptPath = join(frameworkPath, DERIVED_ARTIFACT_CURRENCY_SWEEP_RELATIVE_PATH);\n if (!existsSync(scriptPath)) {\n return {\n name,\n status: LocalPreconditionCheckStatus.PASS,\n detail: `not probed — ${DERIVED_ARTIFACT_CURRENCY_SWEEP_RELATIVE_PATH} is absent from ${frameworkPath}.`,\n };\n }\n\n const args = ['--json', '--framework-root', frameworkPath, ...(saasRoot ? ['--app-root', saasRoot] : [])];\n const run = input.runSweep ?? defaultRunDerivedArtifactCurrencySweep;\n const manualCommand = `node ${scriptPath}${saasRoot ? ` --app-root ${saasRoot}` : ''}`;\n\n let report: DerivedArtifactCurrencyReport;\n try {\n const result = run(scriptPath, args);\n report = JSON.parse(result.stdout) as DerivedArtifactCurrencyReport;\n } catch (error) {\n return {\n name,\n status: LocalPreconditionCheckStatus.PASS,\n detail: `not probed — the sweep could not be run: ${ErrorUtils.extractErrorMessage(error)}`,\n fix: `Run it directly to see why: \\`${manualCommand}\\``,\n };\n }\n\n const stale = report.surfaces.filter((surface) => surface.status === DerivedArtifactCurrencyStatus.STALE);\n const probed = report.surfaces.filter((surface) => surface.status !== DerivedArtifactCurrencyStatus.NOT_PROBED);\n\n if (stale.length === 0) {\n // An empty population is reported as such rather than as success — the sweep itself refuses to\n // call a surface OK when it examined nothing, and that distinction must survive the summary.\n const unprobed = report.surfaces.length - probed.length;\n return {\n name,\n status: LocalPreconditionCheckStatus.PASS,\n detail:\n `${probed.length} of ${report.surfaces.length} surfaces probed, none stale`\n + `${unprobed > 0 ? ` (${unprobed} not probed on this machine)` : ''}.`,\n };\n }\n\n const worst = stale[0].findings[0];\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail:\n `${report.findingCount} stale derived artifact${report.findingCount === 1 ? '' : 's'} across `\n + `${stale.map((surface) => `${surface.surface} (${surface.findings.length})`).join(', ')}. `\n + `e.g. ${worst?.detail ?? '(no detail)'}`,\n fix:\n `Read the full report — every artifact with both timestamps and its own remedy: \\`${manualCommand}\\`. `\n + 'Nothing there blocks the stack; each finding names the generated thing to delete or rebuild.',\n };\n}\n\n/**\n * The per-surface verdict the currency sweep emits — a MIRROR of `CurrencyStatus` in\n * `scripts/dev-orchestrator/derived-artifact-currency.mjs`, deliberately re-declared rather than\n * imported: that sweep is a repository script, this is a package, and a package may not reach\n * into `scripts/`. So the two sides own their own named source and the JSON payload is the\n * contract between them, exactly as the ETL pipeline mirrors data-seeding's orphan policy.\n *\n * The distinction each member carries is why this vocabulary must be named rather than inlined:\n * NOT_PROBED is NOT a quieter OK — a surface that examined nothing has learned nothing, and the\n * summary reports the two separately on purpose (the sweep refuses to call an unexamined surface\n * current, and that refusal has to survive the trip through this consumer).\n */\nexport enum DerivedArtifactCurrencyStatus {\n /** The surface was examined and everything it holds is current. */\n OK = 'ok',\n /** The surface was examined and holds at least one artifact older than what it derives from. */\n STALE = 'stale',\n /** Not examined on this machine — nothing was learned, which is not the same as nothing wrong. */\n NOT_PROBED = 'not-probed',\n}\n\n/** The report shape the sweep emits under `--json`. Kept minimal — only what this summary reads. */\ninterface DerivedArtifactCurrencyReport {\n readonly findingCount: number;\n readonly surfaces: readonly {\n readonly surface: string;\n readonly status: DerivedArtifactCurrencyStatus;\n readonly findings: readonly { readonly detail: string; readonly artifact: string }[];\n }[];\n}\n\nfunction defaultRunDerivedArtifactCurrencySweep(scriptPath: string, args: readonly string[]): { status: number | null; stdout: string; stderr: string } {\n const result = spawnSync(process.execPath, [scriptPath, ...args], {\n encoding: 'utf8',\n timeout: DERIVED_ARTIFACT_CURRENCY_TIMEOUT_MS,\n stdio: ['ignore', 'pipe', 'pipe'],\n });\n if (result.error) throw result.error;\n return { status: result.status, stdout: result.stdout ?? '', stderr: result.stderr ?? '' };\n}\n\n/**\n * The complete precondition SET, in report order.\n *\n * `wildo local doctor` and the `wildo local dev` preflight both call this\n * rather than assembling their own list — otherwise \"the preflight runs the\n * same checks as doctor\" is a claim in a docblock instead of a property of the\n * code, which is exactly how the preflight came to run only `docker info`\n * while its docblock promised the full diagnostic.\n *\n * Scoped roots for the orphan check mirror `wildo dev force-stop`: the app\n * root always, plus the framework checkout for a framework developer, because\n * the blocking `dist/**/.builder.pid` locks live under `engine/**` there and\n * an orphaned engine watcher is unreachable from the app root alone.\n *\n * HOST TOOLCHAIN checks come first, ahead of Docker Compose. They sit lower in\n * the stack than anything else here — a host with no usable pnpm cannot act on\n * a Compose diagnostic anyway — and reporting them first means the operator\n * reads the causes before the consequences.\n */\n/**\n * The conventional home of an application's custom role table. Every scaffolded application has it\n * at this path; an application that does not is reported as `not-probed`, not as a failure.\n */\nconst CUSTOM_ROLES_RELATIVE_PATH = 'shared-lib/src/engine/roles.ts';\n\n/** The two scopes `addCustomRoles` actually files a role under. Everything else is skipped. */\nconst CUSTOM_ROLE_SUPPORTED_SCOPES = ['APPLICATION', 'ORGANIZATIONS'] as const;\n\n/**\n * Does any custom role declare a scope the authorization layer will silently skip? (#425)\n *\n * `AuthorizationsBackendService.addCustomRoles` files a role under APPLICATION or ORGANIZATIONS and\n * **warns and skips** anything else — a `USER_SELF` role, or an unknown scope. So a misdeclared role\n * ships INERT: the application carries a role its authorization never sees, and the only trace is\n * one line in a startup log nobody reads after the first boot.\n *\n * ## Why this is a diagnostic and not a refusal\n *\n * Refusing at startup was the alternative, and it was rejected on #425: it turns a silently-inert\n * role into a BOOT FAILURE for any application that already carries one, which is precisely why the\n * current behaviour is a warning. So the runtime keeps skipping and this check moves the signal to\n * where an author actually reads — with the cost that it relies on someone running `wildo local\n * doctor`, which is stated rather than hidden.\n *\n * ## Why the signal is deliberately loud\n *\n * The failure being replaced is a warning nobody reads, and a quiet diagnostic line reproduces it\n * exactly. So the detail names the role, the scope it declared, the scopes that exist, and says\n * outright that the role is INERT — not \"may not be applied\", which reads as a caveat.\n *\n * Read from SOURCE rather than from a loaded config, because the role table is application\n * TypeScript the CLI cannot import: it is authored beside the app's own code and reaches the\n * authorization layer through the backend at startup. A literal `relatedPrimaryScope:\n * ResourcePrimaryScope.X` is what an author writes, and it is what this reads.\n */\nexport function checkCustomRoleScopes(\n saasRoot: string,\n options: { readFile?: (path: string) => string | null } = {},\n): LocalPreconditionCheckResult {\n const name = 'custom role scopes';\n const rolesPath = join(saasRoot, CUSTOM_ROLES_RELATIVE_PATH);\n const read = options.readFile ?? ((path: string) => (existsSync(path) ? readFileSync(path, 'utf8') : null));\n\n const source = read(rolesPath);\n if (source === null) {\n return {\n name,\n status: LocalPreconditionCheckStatus.PASS,\n detail: `not-probed — no ${CUSTOM_ROLES_RELATIVE_PATH}`,\n };\n }\n\n /*\n * One match per authored `relatedPrimaryScope:` property, with the nearest preceding object key\n * read as the role. A regex rather than a TypeScript program because this runs on every `doctor`\n * and the question is lexical: what scope literal did the author write beside this role.\n */\n const declared: Array<{ roleKey: string; scope: string }> = [];\n const scopePattern = /relatedPrimaryScope\\s*:\\s*ResourcePrimaryScope\\.([A-Z_]+)/gu;\n for (const match of source.matchAll(scopePattern)) {\n const before = source.slice(0, match.index ?? 0);\n const keyMatches = [...before.matchAll(/(?:^|[\\s{,])\\[?\\s*['\"`]?([A-Za-z0-9_.]+)['\"`]?\\s*\\]?\\s*:\\s*\\{/gmu)];\n const roleKey = keyMatches.length > 0 ? keyMatches[keyMatches.length - 1][1] : '(unnamed role)';\n declared.push({ roleKey, scope: match[1] });\n }\n\n if (declared.length === 0) {\n return { name, status: LocalPreconditionCheckStatus.PASS, detail: `no custom role declares a scope in ${CUSTOM_ROLES_RELATIVE_PATH}` };\n }\n\n const inert = declared.filter((role) => !CUSTOM_ROLE_SUPPORTED_SCOPES.includes(role.scope as (typeof CUSTOM_ROLE_SUPPORTED_SCOPES)[number]));\n if (inert.length === 0) {\n return { name, status: LocalPreconditionCheckStatus.PASS, detail: `${declared.length} custom role(s), every scope supported` };\n }\n\n const listed = inert.map((role) => `\"${role.roleKey}\" (${role.scope})`).join(', ');\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail:\n `${inert.length} custom role(s) declare a scope the authorization layer SKIPS, so each one is INERT — `\n + `it is never applied and no request will ever match it: ${listed}. `\n + `Custom roles are supported at ${CUSTOM_ROLE_SUPPORTED_SCOPES.join(' and ')} only.`,\n fix: `Edit ${CUSTOM_ROLES_RELATIVE_PATH} and give each listed role \\`relatedPrimaryScope: ResourcePrimaryScope.APPLICATION\\` or \\`.ORGANIZATIONS\\`, or delete it.`,\n };\n}\n\nexport async function collectLocalPreconditionChecks(input: {\n saasRoot: string | null;\n frameworkPath?: string | null;\n isFrameworkDeveloper?: boolean;\n /**\n * Probe the coding-agent ACP adapter by starting it.\n *\n * OFF by default, and on for `doctor` only. The probe spawns a process and\n * may resolve a package from the network on a cold cache, which is fine in a\n * diagnostic a human asked for and wrong in the `dev` preflight, where it\n * would add seconds to every start for a capability most runs never use.\n * Diagnostics that make the common path slower get skipped by operators, and\n * a skipped diagnostic reports nothing.\n */\n includeCodingAgentProbe?: boolean;\n /**\n * Sweep every derived artifact for currency.\n *\n * OFF by default and on for `doctor` only, for exactly the reason the coding-agent probe is: it\n * walks every `dist/` tree, every injected snapshot and every virtual-store key — several seconds\n * of I/O — which is fine in a diagnostic a human asked for and wrong in the `dev` preflight, where\n * it would tax every start for an answer most starts do not need. Diagnostics that make the common\n * path slower get skipped, and a skipped diagnostic reports nothing.\n *\n * There is a second reason here that does not apply to the coding-agent probe: the preflight runs\n * BEFORE the watcher fleet starts, which is the moment a dist is most legitimately behind its\n * source. Reporting that as a finding on every start would be noise with a grain of truth in it —\n * the worst kind, because operators learn to skim it.\n */\n includeDerivedArtifactCurrencySweep?: boolean;\n}): Promise<LocalPreconditionCheckResult[]> {\n const {\n saasRoot,\n frameworkPath,\n isFrameworkDeveloper = false,\n includeCodingAgentProbe = false,\n includeDerivedArtifactCurrencySweep = false,\n } = input;\n const results: LocalPreconditionCheckResult[] = [\n checkNodeVersion(),\n checkPnpmToolchain({ manifestPath: resolvePackageManagerManifestPath(input) }),\n checkCxx20Toolchain(),\n checkDockerComposeVersion(),\n ];\n\n if (includeCodingAgentProbe) {\n results.push(checkCodingAgentAdapter());\n // Behind the same flag, for the same reason: both spawn a process and may\n // touch the network on a cold cache, which is why neither runs in the `dev`\n // preflight. The OpenCode check short-circuits to a pass when the optional\n // binary is absent, so adding it costs a `stat` on the common machine.\n results.push(checkOpenCodeAgent());\n }\n\n if (saasRoot) {\n results.push(await checkProviderRuntimeGeneratedModules(saasRoot));\n results.push(checkCustomRoleScopes(saasRoot));\n }\n\n const scopedRoots = [\n ...(saasRoot ? [saasRoot] : []),\n ...(frameworkPath && isFrameworkDeveloper ? [frameworkPath] : []),\n ];\n results.push(checkOrphanedDevWatchers(scopedRoots));\n\n if (includeDerivedArtifactCurrencySweep) {\n results.push(checkDerivedArtifactCurrency({ frameworkPath, saasRoot }));\n }\n\n return results;\n}\n\n/**\n * Which manifest's `packageManager` pin the pnpm check compares against.\n *\n * The framework checkout wins for a framework developer, because that is the\n * root they run `pnpm install` in and the one whose pin their pnpm will\n * self-switch to; an application developer's authority is their own app\n * manifest. Returns `null` when neither root is known, which the check treats\n * as \"no declared pin\" — it still verifies pnpm EXECUTES, which is the half\n * that mattered on 2026-08-08.\n *\n * Note this reads the APPLICATION's own manifest for an application developer\n * rather than pushing a framework version at them: pnpm binds both audiences,\n * but each audience's pin is its own. See the audience table in\n * `.claude/rules/toolchain-installation-baseline.md`.\n */\nfunction resolvePackageManagerManifestPath(input: {\n saasRoot: string | null;\n frameworkPath?: string | null;\n isFrameworkDeveloper?: boolean;\n}): string | null {\n const { saasRoot, frameworkPath, isFrameworkDeveloper = false } = input;\n if (isFrameworkDeveloper && frameworkPath) return join(frameworkPath, 'package.json');\n return saasRoot ? join(saasRoot, 'package.json') : null;\n}\n\n/**\n * Display a module path relative to the app root when it is inside it, so the\n * diagnostic line stays readable. Falls back to the absolute path for a host\n * that lives outside the app root — truncating that into a `../../..` chain\n * would be less useful than the full path.\n */\nfunction relativeToRootForDisplay(saasRoot: string, modulePath: string): string {\n const relativePath = relative(saasRoot, modulePath);\n return relativePath.startsWith('..') ? modulePath : relativePath;\n}\n\nfunction truncateCommand(command: string): string {\n return command.length > 80 ? `${command.slice(0, 80)}…` : command;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-runtime-process-cleanup.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"local-runtime-process-cleanup.service.d.ts","sourceRoot":"","sources":["../../../../src/services/deployment/local-runtime-process-cleanup.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;A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MAAM,EAAE,GAAG,MAAM,EAAE,CAgB7E;AAED,sEAAsE;AACtE,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAmBxF;AAoBD,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,MAAM,GAAG,mBAAmB,EAAE,CAa5E;AAED,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,MAAM,GAAG,mBAAmB,EAAE,CAyB9E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform-lifecycle.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"platform-lifecycle.service.d.ts","sourceRoot":"","sources":["../../../../src/services/deployment/platform-lifecycle.service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,qDAAqD,CAAC;AAG5G,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAalG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAWtD,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,OAAO,CAAC;CAClB;AA8HD;;;;GAIG;AACH,wBAAsB,uBAAuB,CAC3C,GAAG,EAAE,gCAAgC,EACrC,GAAG,EAAE,MAAM,EACX,OAAO,GAAE;IAAE,yBAAyB,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,WAAW,CAAA;CAAO,GACzE,OAAO,CAAC,IAAI,CAAC,CAUf;AAED,MAAM,WAAW,gCAAgC;IAC/C;;;;OAIG;IACH,MAAM,EAAE,WAAW,CAAC;IACpB;;;OAGG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;CACpC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAsB,4BAA4B,CAChD,GAAG,EAAE,gCAAgC,EACrC,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,gCAAgC,GACxC,OAAO,CAAC,IAAI,CAAC,CAsBf;AAgHD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAuBxE;AAED;;;;;;;;GAQG;AACH,wBAAsB,UAAU,CAC9B,GAAG,EAAE,gCAAgC,EACrC,OAAO,EAAE,oBAAoB,EAC7B,GAAG,EAAE,MAAM,GACV,OAAO,CAAC,sBAAsB,CAAC,CAcjC;AA8CD,wBAAsB,KAAK,CACzB,GAAG,EAAE,gCAAgC,EACrC,OAAO,EAAE,oBAAoB,EAC7B,GAAG,EAAE,MAAM,GACV,OAAO,CAAC,IAAI,CAAC,CAuFf;AAED,wBAAgB,wCAAwC,CACtD,GAAG,EAAE,gCAAgC,EACrC,aAAa,EAAE,MAAM,EACrB,GAAG,EAAE,MAAM,GACV,sBAAsB,CAIxB;AAED,wBAAsB,IAAI,CAAC,GAAG,EAAE,gCAAgC,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAgC5F;AAED,wBAAgB,SAAS,CAAC,GAAG,EAAE,gCAAgC,GAAG,qBAAqB,EAAE,CAOxF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform-runtime-policy.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"platform-runtime-policy.service.d.ts","sourceRoot":"","sources":["../../../../src/services/deployment/platform-runtime-policy.service.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,qDAAqD,CAAC;AAE5G;;;;;GAKG;AACH,wBAAgB,iCAAiC,CAC/C,GAAG,EAAE,gCAAgC,EACrC,oBAAoB,EAAE,OAAO,GAC5B,OAAO,CAET;AAED;;;;;GAKG;AACH,wBAAgB,sCAAsC,CACpD,GAAG,EAAE,gCAAgC,EACrC,oBAAoB,EAAE,OAAO,GAC5B,OAAO,CAIT;AAED,wBAAgB,qCAAqC,CACnD,GAAG,EAAE,gCAAgC,EACrC,oBAAoB,EAAE,OAAO,GAC5B,OAAO,CAET;AAED,wBAAgB,iDAAiD,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAW/F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version-compare.utils.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"version-compare.utils.d.ts","sourceRoot":"","sources":["../../../../src/services/deployment/version-compare.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAQ/E;AAED;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAS1E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"design-tokens-command.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"design-tokens-command.service.d.ts","sourceRoot":"","sources":["../../../../src/services/design-tokens/design-tokens-command.service.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAmB7E,wBAAsB,mBAAmB,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC,CA8ErF;AAED,wBAAsB,uBAAuB,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC,CAoDzF;AAED,wBAAsB,uBAAuB,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC,CA4DzF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"design-tokens-config.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"design-tokens-config.service.d.ts","sourceRoot":"","sources":["../../../../src/services/design-tokens/design-tokens-config.service.ts"],"names":[],"mappings":"AAGA,OAAO,EAGL,KAAK,wBAAwB,EAC9B,MAAM,qCAAqC,CAAC;AAG7C,wBAAsB,4BAA4B,CAChD,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,wBAAwB,CAAC,CAGnC;AAED,wBAAsB,yCAAyC,CAC7D,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,wBAAwB,GAAG,IAAI,CAAC,CAkB1C;AAED,wBAAsB,yCAAyC,CAC7D,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAmBxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"design-tokens-config.template.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"design-tokens-config.template.d.ts","sourceRoot":"","sources":["../../../../src/services/design-tokens/design-tokens-config.template.ts"],"names":[],"mappings":"AAEA,wBAAgB,kCAAkC,IAAI,MAAM,CAS3D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"design-tokens-css-block.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"design-tokens-css-block.service.d.ts","sourceRoot":"","sources":["../../../../src/services/design-tokens/design-tokens-css-block.service.ts"],"names":[],"mappings":"AAMA,wBAAgB,sBAAsB,CACpC,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,GACnB;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,OAAO,CAAA;CAAE,CAM1C;AAED,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAEhE;AAED,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM,CAiBxF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"design-tokens-paths.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"design-tokens-paths.service.d.ts","sourceRoot":"","sources":["../../../../src/services/design-tokens/design-tokens-paths.service.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAEvE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,MAAM,GACf,wBAAwB,CAa1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"design-tokens.constants.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"design-tokens.constants.d.ts","sourceRoot":"","sources":["../../../../src/services/design-tokens/design-tokens.constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kCAAkC,uCAAuC,CAAC;AACvF,eAAO,MAAM,iCAAiC,oCAAoC,CAAC;AACnF,eAAO,MAAM,+BAA+B,kCAAkC,CAAC;AAE/E,eAAO,MAAM,4BAA4B,QAK6C,CAAC;AAEvF,eAAO,MAAM,wBAAwB,kHAC4E,CAAC;AAElH,eAAO,MAAM,2BAA2B,QAIvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"design-tokens.models.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"design-tokens.models.d.ts","sourceRoot":"","sources":["../../../../src/services/design-tokens/design-tokens.models.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,OAAO,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compose-converge-args.test.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"compose-converge-args.test.d.ts","sourceRoot":"","sources":["../../../../../src/services/environment/__tests__/compose-converge-args.test.ts"],"names":[],"mappings":""}
|