@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"csp-artifact-currency.live.contract.test.js","sourceRoot":"","sources":["../../../../../src/services/security/__tests__/csp-artifact-currency.live.contract.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AAEH,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAE9C,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAE/E,SAAS,eAAe;IACtB,MAAM,IAAI,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;IACrD,IAAI,MAAM,GAAG,IAAI,CAAC;IAClB,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,EAAE,EAAE,KAAK,EAAE,EAAE,CAAC;QACxC,IAAI,UAAU,CAAC,OAAO,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC,IAAI,UAAU,CAAC,OAAO,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC,EAAE,CAAC;YAC1G,OAAO,MAAM,CAAC;QAChB,CAAC;QACD,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;QAC/B,IAAI,MAAM,KAAK,MAAM;YAAE,MAAM;QAC7B,MAAM,GAAG,MAAM,CAAC;IAClB,CAAC;IACD,MAAM,IAAI,KAAK,CAAC,kFAAkF,CAAC,CAAC;AACtG,CAAC;AAED,MAAM,SAAS,GAAG,eAAe,EAAE,CAAC;AACpC,MAAM,aAAa,GAAG,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC;AAElD,kGAAkG;AAClG,MAAM,gBAAgB,GAAG,OAAO,CAAC;AAQjC;;;;;;;;GAQG;AACH,SAAS,oBAAoB;IAC3B,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,CAAC;QAC/B,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,OAAO,WAAW,CAAC,aAAa,CAAC;SAC9B,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;SACrE,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,CAAC,aAAa,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC;SAC3D,MAAM,CACL,CAAC,SAAS,EAAE,EAAE,CACZ,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,sBAAsB,CAAC,CAAC;QAC5D,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,6BAA6B,CAAC,CAAC,CAC1G;SACA,IAAI,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;AAC9D,CAAC;AAED;;;;;;;;;GASG;AACH,SAAS,0BAA0B;IACjC,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,CAAC;QAC/B,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,MAAM,SAAS,GAAa,EAAE,CAAC;IAC/B,KAAK,MAAM,GAAG,IAAI,WAAW,CAAC,aAAa,CAAC,EAAE,CAAC;QAC7C,MAAM,OAAO,GAAG,IAAI,CAAC,aAAa,EAAE,GAAG,CAAC,CAAC;QACzC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE;YAAE,SAAS;QAE/C,KAAK,MAAM,gBAAgB,IAAI,WAAW,CAAC,OAAO,CAAC,EAAE,CAAC;YACpD,IAAI,gBAAgB,KAAK,cAAc;gBAAE,SAAS;YAClD,MAAM,WAAW,GAAG,IAAI,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAAC;YACpD,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,WAAW,EAAE;gBAAE,SAAS;YAEnD,MAAM,YAAY,GAAG,IAAI,CAAC,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE,oBAAoB,CAAC,CAAC;YACjF,IAAI,UAAU,CAAC,YAAY,CAAC,EAAE,CAAC;gBAC7B,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC,CAAC;YACpD,CAAC;QACH,CAAC;IACH,CAAC;IACD,OAAO,SAAS,CAAC,IAAI,EAAE,CAAC;AAC1B,CAAC;AAED,MAAM,YAAY,GAAG,oBAAoB,EAAE,CAAC;AAC5C,MAAM,mBAAmB,GAAG,0BAA0B,EAAE,CAAC;AAEzD;;;;;;GAMG;AACH,MAAM,uBAAuB,GAAG,IAAI,GAAG,EAAU,CAAC;AAElD,QAAQ,CAAC,2EAA2E,EAAE,GAAG,EAAE;IACzF,EAAE,CAAC,kEAAkE,EAAE,GAAG,EAAE;QAC1E,0FAA0F;QAC1F,sFAAsF;QACtF,MAAM,CACJ,YAAY,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,WAAW,CAAC,GAAG,CAAC,EAClD,2CAA2C,aAAa,0CAA0C;cAC9F,kBAAkB,gBAAgB,2CAA2C,CAClF,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAClB,MAAM,CACJ,mBAAmB,EACnB,oFAAoF,aAAa,eAAe,CACjH,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IACpB,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,CACnB,oGAAoG,EACpG,KAAK,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE,EAAE,EAAE;QAC1B,MAAM,MAAM,GAAG,MAAM,cAAc,CAAC,IAAI,CAAC;YACvC,QAAQ;YACR,OAAO,EAAE,gBAAgB;YACzB,GAAG,EAAE,OAAO,CAAC,GAAG;YAChB,wFAAwF;YACxF,wFAAwF;YACxF,SAAS,EAAE,IAAI;SAChB,CAAC,CAAC;QAEH,KAAK,MAAM,OAAO,IAAI,MAAM,CAAC,QAAQ,EAAE,CAAC;YACtC,uBAAuB,CAAC,GAAG,CAAC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,QAAQ,EAAE,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC;QACrG,CAAC;QAED,MAAM,CACJ,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,EACpD,GAAG,GAAG,8FAA8F;cAChG,wEAAwE,CAC7E,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAClB,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,YAAY,KAAK,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAEtF,MAAM,KAAK,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,CAClC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,0BAA0B,IAAI,OAAO,CAAC,mBAAmB,CAAC,MAAM,GAAG,CAAC,CAC1F,CAAC;QAEF,MAAM,CACJ,KAAK,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;YACtB,OAAO,EAAE,OAAO,CAAC,UAAU;YAC3B,QAAQ,EAAE,OAAO,CAAC,0BAA0B,CAAC,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC,IAAI;YACnF,KAAK,EAAE,OAAO,CAAC,mBAAmB;SACnC,CAAC,CAAC,EACH,KAAK,CAAC,MAAM,GAAG,CAAC;YACd,CAAC,CAAC,uFAAuF;kBACrF,YAAY,GAAG,2EAA2E;kBAC1F,iGAAiG;kBACjG,oGAAoG;kBACpG,wDAAwD;YAC5D,CAAC,CAAC,SAAS,CACd,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAChB,CAAC,EACD,OAAO,CACR,CAAC;IAEF;;;;;;;;;;;;OAYG;IACH,EAAE,CAAC,sFAAsF,EAAE,GAAG,EAAE;QAC9F,MAAM,SAAS,GAAG,mBAAmB,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,uBAAuB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC;QAEnG,MAAM,CACJ,SAAS,EACT,SAAS,CAAC,MAAM,GAAG,CAAC;YAClB,CAAC,CAAC,kGAAkG;kBAChG,gGAAgG;kBAChG,kBAAkB,gBAAgB,yEAAyE;kBAC3G,sGAAsG;kBACtG,+CAA+C;YACnD,CAAC,CAAC,SAAS,CACd,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAChB,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["/**\n * Live contract test for the generated CSP artifacts (#513).\n *\n * Resolves every CSP-capable frontend service of EVERY dogfood application under `examples/` from\n * its real inputs — the platform baseline, the app-static block, the per-environment\n * `csp.<service>.extraDirectives` and the declared providers' own footprints — and asserts that the\n * committed `<service>/src/generated/csp.generated.json` AND every nginx marker pair under that\n * service's `nginx-config/` already say the same thing.\n *\n * ## The pipeline has two hops, and this gate covers both\n *\n * ```\n * config ──(1)──▶ <service>/src/generated/csp.generated.json ──(2)──▶ nginx marker region\n * ```\n *\n * Hop 1 is `reconcileGeneratedCspArtifacts`; hop 2 is `nginxCspMarkerPairsAreOutOfDate`, which\n * reuses the SAME pure rewriter the writing path is built on rather than re-parsing the markers\n * itself. Both are exercised here through one `CspSyncService.sync({ checkOnly: true })` call per\n * application, so the gate can never disagree with the generator it gates.\n *\n * `engine/saas-technical-doc`'s `csp-mirror-drift.test.ts` also guards hop 2, but ONLY for\n * `examples/<app>/technical-doc/` — the `'technical-doc'` path segment is hardcoded in both of its\n * discovery walks. That test compares a marker region against the committed artifact (through the\n * thin `src/csp.config.ts` re-exporter); this one compares it against a policy resolved FRESH from\n * the configuration, which is strictly stronger — a stale artifact fails hop 1 here before hop 2 is\n * ever consulted. It is deliberately NOT widened to the other services: doing so would need a\n * second marker parser competing with the rewriter, which is the \"a check that disagrees with the\n * thing it checks is worse than no check\" trade `csp-sync.service.ts` already refused.\n *\n * ## Why this gate exists\n *\n * Those artifacts are TRACKED and GENERATED, and until #513 nothing re-derived them. Measured\n * 2026-09-08 by running the command: the `website` artifact was **four months** behind its own\n * authored inputs (missing `connect-src http://localhost:4241`, authored 2026-08-11) and the `app`\n * artifact three weeks behind (missing `worker-src 'self' blob:`, authored 2026-08-19). Both\n * authors had written down what breaks without their directive — an empty PDF viewer, a\n * cross-origin capture form — and neither regenerated, because nothing asked them to.\n *\n * **Report-only is what let it accumulate.** Local CSP ships as\n * `Content-Security-Policy-Report-Only`, so a wrong policy produces no failing check, no test and\n * no error anyone reads. The first enforcement flip would have met a policy that had never once\n * been correct, and the failures would have landed on exactly the surfaces nobody exercises while\n * flipping a security header.\n *\n * ## Why the application is DISCOVERED rather than named\n *\n * This gate named `examples/wonder-todos` as a literal until 2026-09-09, so Wonder CRM — the active\n * dogfood application — had **no** config-to-artifact guard at all, and its\n * `frontend/nginx-config/default.conf` marker region was outside BOTH guards (the mirror test only\n * walks `technical-doc/`). That is the repository's most frequent defect shape: an invariant\n * applied at one of its N sites, where N grows the day somebody scaffolds an application.\n *\n * So the population is enumerated from the filesystem, and the \"guards the guard\" assertion below\n * is TOTAL over the committed artifacts rather than a count: every `csp.generated.json` that exists\n * on disk must have been RESOLVED by the walk. A discovery regression, a renamed service directory\n * or a fourth application therefore fails here instead of quietly shrinking the covered set — a\n * walk that matched nothing would otherwise report a clean repository and a broken gate identically.\n *\n * ## Why a vitest test rather than a `wildo dev sync-csp --check` subprocess\n *\n * Mirrors `check.live.contract.test.ts` and `framework-knowledge-audit.live.contract.test.ts`: it\n * runs in seconds without building the CLI binary or installing the example app, and a failure\n * surfaces the drifted service inline. The `--check` flag exists for a developer at a terminal; the\n * contract is exercised here through the same service call the flag makes.\n */\n\nimport { existsSync, readdirSync, statSync } from 'node:fs';\nimport { dirname, join, relative, resolve } from 'node:path';\nimport { fileURLToPath } from 'node:url';\n\nimport { describe, expect, it } from 'vitest';\n\nimport { CspSyncService } from '~wildo-cli/services/security/csp-sync.service';\n\nfunction resolveRepoRoot(): string {\n const here = dirname(fileURLToPath(import.meta.url));\n let cursor = here;\n for (let depth = 0; depth < 10; depth++) {\n if (existsSync(resolve(cursor, 'pnpm-workspace.yaml')) && existsSync(resolve(cursor, '.wildo-framework'))) {\n return cursor;\n }\n const parent = dirname(cursor);\n if (parent === cursor) break;\n cursor = parent;\n }\n throw new Error('Could not resolve the framework repository root from the CSP live contract test.');\n}\n\nconst REPO_ROOT = resolveRepoRoot();\nconst EXAMPLES_ROOT = join(REPO_ROOT, 'examples');\n\n/** The environment every dogfood application authors, and the only one a checkout can resolve. */\nconst CHECKED_ENV_NAME = 'local';\n\ninterface DiscoveredApplication {\n /** Directory name under `examples/`, used as the `it.each` label. */\n readonly app: string;\n readonly saasRoot: string;\n}\n\n/**\n * Every application under `examples/` that can actually be resolved.\n *\n * Both conditions are load-bearing. `wildo.saas.config.ts` is what makes a directory an\n * application at all; the authored `infrastructure/local/wildo.infra.local.config.ts` is what\n * `CspSyncService` reads for the per-environment override layer, and its absence would make the\n * resolution throw rather than report drift — a scaffolding-in-progress directory must not turn\n * this gate red for a reason that has nothing to do with CSP.\n */\nfunction discoverApplications(): readonly DiscoveredApplication[] {\n if (!existsSync(EXAMPLES_ROOT)) {\n return [];\n }\n\n return readdirSync(EXAMPLES_ROOT)\n .filter((entry) => statSync(join(EXAMPLES_ROOT, entry)).isDirectory())\n .map((app) => ({ app, saasRoot: join(EXAMPLES_ROOT, app) }))\n .filter(\n (candidate) =>\n existsSync(join(candidate.saasRoot, 'wildo.saas.config.ts')) &&\n existsSync(join(candidate.saasRoot, 'infrastructure', CHECKED_ENV_NAME, 'wildo.infra.local.config.ts')),\n )\n .sort((left, right) => left.app.localeCompare(right.app));\n}\n\n/**\n * Every committed `csp.generated.json` under `examples/`, as repo-relative paths.\n *\n * This is the POPULATION the coverage assertion is total over — read off the filesystem rather\n * than derived from the same config walk it is checking, so the two answers are independent. A\n * generated artifact is always at `<serviceRoot>/src/generated/csp.generated.json` and a service\n * root is always an immediate child of the application root, which is why one level of `readdir`\n * is enough and a recursive walk (which would descend into `node_modules` and `.wildo-saas`) is\n * not wanted here.\n */\nfunction discoverCommittedArtifacts(): readonly string[] {\n if (!existsSync(EXAMPLES_ROOT)) {\n return [];\n }\n\n const collected: string[] = [];\n for (const app of readdirSync(EXAMPLES_ROOT)) {\n const appRoot = join(EXAMPLES_ROOT, app);\n if (!statSync(appRoot).isDirectory()) continue;\n\n for (const serviceDirectory of readdirSync(appRoot)) {\n if (serviceDirectory === 'node_modules') continue;\n const serviceRoot = join(appRoot, serviceDirectory);\n if (!statSync(serviceRoot).isDirectory()) continue;\n\n const artifactPath = join(serviceRoot, 'src', 'generated', 'csp.generated.json');\n if (existsSync(artifactPath)) {\n collected.push(relative(REPO_ROOT, artifactPath));\n }\n }\n }\n return collected.sort();\n}\n\nconst APPLICATIONS = discoverApplications();\nconst COMMITTED_ARTIFACTS = discoverCommittedArtifacts();\n\n/**\n * Collected by the per-application tests below and read by the coverage assertion.\n *\n * A module-level mutable accumulator rather than a second resolution pass: resolving every\n * application's configuration twice roughly doubles the gate's runtime for no additional evidence,\n * and the coverage question is exactly \"did the runs that just happened touch every artifact\".\n */\nconst RESOLVED_ARTIFACT_PATHS = new Set<string>();\n\ndescribe('generated CSP artifacts — live contract against every dogfood application', () => {\n it('discovers the dogfood applications and their committed artifacts', () => {\n // Two independent walks, both non-empty. Either returning zero would make every assertion\n // below vacuous, which is the false-green shape this whole area keeps losing time to.\n expect(\n APPLICATIONS.map((application) => application.app),\n `expected at least one application under ${EXAMPLES_ROOT} carrying both wildo.saas.config.ts and `\n + `infrastructure/${CHECKED_ENV_NAME}/wildo.infra.local.config.ts, found none.`,\n ).not.toEqual([]);\n expect(\n COMMITTED_ARTIFACTS,\n `expected at least one committed <service>/src/generated/csp.generated.json under ${EXAMPLES_ROOT}, found none.`,\n ).not.toEqual([]);\n });\n\n it.each(APPLICATIONS)(\n '$app — every committed artifact still describes its own inputs, and every marker region mirrors it',\n async ({ app, saasRoot }) => {\n const result = await CspSyncService.sync({\n saasRoot,\n envName: CHECKED_ENV_NAME,\n env: process.env,\n // Non-negotiable here: a gate that repaired the drift it was asked to report would pass\n // CI while leaving the committed artifact wrong, which is the failure this gate is for.\n checkOnly: true,\n });\n\n for (const service of result.services) {\n RESOLVED_ARTIFACT_PATHS.add(relative(REPO_ROOT, resolve(saasRoot, service.generatedArtifactPath)));\n }\n\n expect(\n result.services.map((service) => service.serviceKey),\n `${app} resolved no CSP-capable frontend service at all. Either the application genuinely has none `\n + '(then it should not have reached this gate) or the service walk broke.',\n ).not.toEqual([]);\n expect(result.services.every((service) => service.wroteChanges === false)).toBe(true);\n\n const stale = result.services.filter(\n (service) => service.generatedArtifactOutOfDate || service.outOfDateNginxFiles.length > 0,\n );\n\n expect(\n stale.map((service) => ({\n service: service.serviceKey,\n artifact: service.generatedArtifactOutOfDate ? service.generatedArtifactPath : null,\n nginx: service.outOfDateNginxFiles,\n })),\n stale.length > 0\n ? 'Generated CSP artifacts no longer describe their inputs. Run `wildo dev sync-csp` in '\n + `examples/${app} and commit the result. These files are generated AND tracked, and local `\n + 'CSP is report-only — so a drifted one is a policy that has never been correct and nothing else '\n + 'will say so until somebody enforces it (#513). An `artifact` entry is the config-to-artifact hop; '\n + 'an `nginx` entry is the artifact-to-marker-region hop.'\n : undefined,\n ).toEqual([]);\n },\n 120_000,\n );\n\n /**\n * Guards the guard, TOTALLY rather than by a count.\n *\n * Runs last on purpose — it reads what the per-application tests resolved. Vitest executes the\n * `it`s of one file in declaration order within a single worker, so the accumulator is populated\n * by the time this reads it; were that ever to stop holding, this assertion fails loudly (the\n * resolved set would be empty) rather than passing vacuously, which is the safe direction.\n *\n * The failure it exists to catch: a committed artifact that no application's service walk claims.\n * That is what \"Wonder CRM was never checked\" looked like from the outside — two tracked,\n * generated files that nothing on earth re-derived — and a count-based assertion\n * (`length >= 3`) reported the repository clean throughout.\n */\n it('every committed csp.generated.json under examples/ was resolved by one of those runs', () => {\n const unclaimed = COMMITTED_ARTIFACTS.filter((artifact) => !RESOLVED_ARTIFACT_PATHS.has(artifact));\n\n expect(\n unclaimed,\n unclaimed.length > 0\n ? 'These committed CSP artifacts were not produced by any application resolution above, so NOTHING '\n + 'checks that they still describe their own inputs. Either the owning application is missing an '\n + `infrastructure/${CHECKED_ENV_NAME}/wildo.infra.local.config.ts (so discovery skipped it), its service is `\n + 'no longer declared as a CSP-capable frontend in wildo.saas.config.ts, or the artifact is a leftover '\n + 'from a deleted service and should be removed.'\n : undefined,\n ).toEqual([]);\n });\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"csp-boundary.test.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"csp-boundary.test.d.ts","sourceRoot":"","sources":["../../../../../src/services/security/__tests__/csp-boundary.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"csp-sync.service.test.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"csp-sync.service.test.d.ts","sourceRoot":"","sources":["../../../../../src/services/security/__tests__/csp-sync.service.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,9 +1,68 @@
|
|
|
1
|
-
import { mkdtempSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
|
|
1
|
+
import { existsSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
|
|
2
2
|
import { mkdir } from 'node:fs/promises';
|
|
3
3
|
import { tmpdir } from 'node:os';
|
|
4
4
|
import { join } from 'node:path';
|
|
5
5
|
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
|
|
6
|
+
import { PROVIDER_RUNTIME_ARTIFACT_AUTOGENERATED_WARNING, PROVIDER_RUNTIME_ARTIFACT_GENERATOR, PROVIDER_RUNTIME_ARTIFACT_RELATIVE_PATHS, } from '@wildo-ai/platform-config-lib';
|
|
7
|
+
import { ENGINE_PROVIDER_ORIGIN, ProviderTier, defineProviderMetadata, } from '@wildo-ai/saas-models/public-runtime';
|
|
6
8
|
import { CspSyncService } from '../csp-sync.service.js';
|
|
9
|
+
/**
|
|
10
|
+
* Writes the materialized frontend-services artifact `wildo config sync`
|
|
11
|
+
* emits, carrying one provider per service key with its declared CSP footprint.
|
|
12
|
+
*
|
|
13
|
+
* This is the ONLY channel the CSP composition can read a provider's origins
|
|
14
|
+
* from: the CLI is a Node process and a frontend provider module is
|
|
15
|
+
* browser-bound, so the footprint has to be data by the time it gets here.
|
|
16
|
+
*/
|
|
17
|
+
async function writeFrontendProvidersArtifact(root, bootstrapsByServiceKey) {
|
|
18
|
+
const entry = (ref, csp, publicConfig) => ({
|
|
19
|
+
metadata: defineProviderMetadata({
|
|
20
|
+
ref,
|
|
21
|
+
packageName: `@wildo-ai/provider-${ref}`,
|
|
22
|
+
tier: ProviderTier.CATALOGUE,
|
|
23
|
+
origin: ENGINE_PROVIDER_ORIGIN,
|
|
24
|
+
}),
|
|
25
|
+
providerCapabilities: [],
|
|
26
|
+
protocols: [],
|
|
27
|
+
...(csp === undefined ? {} : { csp }),
|
|
28
|
+
...(publicConfig === undefined ? {} : { publicConfig }),
|
|
29
|
+
});
|
|
30
|
+
await writeFile(join(root, PROVIDER_RUNTIME_ARTIFACT_RELATIVE_PATHS.frontendServices), `${JSON.stringify({
|
|
31
|
+
__AUTOGENERATED__: PROVIDER_RUNTIME_ARTIFACT_AUTOGENERATED_WARNING,
|
|
32
|
+
generatedBy: PROVIDER_RUNTIME_ARTIFACT_GENERATOR,
|
|
33
|
+
generatedAt: '2026-09-06T00:00:00.000Z',
|
|
34
|
+
sourceDigest: 'test-source-digest',
|
|
35
|
+
providerRefs: [],
|
|
36
|
+
providerGraphDigest: 'test-graph-digest',
|
|
37
|
+
lockfileSectionDigest: 'test-lock-digest',
|
|
38
|
+
artifactKind: 'frontendServices',
|
|
39
|
+
modules: {},
|
|
40
|
+
frontendProviderBootstraps: Object.fromEntries(Object.entries(bootstrapsByServiceKey).map(([serviceKey, providers]) => [
|
|
41
|
+
serviceKey,
|
|
42
|
+
{
|
|
43
|
+
providers: Object.fromEntries(Object.entries(providers).map(([ref, provider]) => [ref, entry(ref, provider.csp, provider.publicConfig)])),
|
|
44
|
+
},
|
|
45
|
+
])),
|
|
46
|
+
}, null, 2)}\n`);
|
|
47
|
+
}
|
|
48
|
+
const ACME_DERIVED_FOOTPRINT = {
|
|
49
|
+
scriptOrigins: [],
|
|
50
|
+
connectOrigins: [],
|
|
51
|
+
frameOrigins: [],
|
|
52
|
+
imgOrigins: [],
|
|
53
|
+
styleOrigins: [],
|
|
54
|
+
fontOrigins: [],
|
|
55
|
+
derivedOrigins: [{ publicConfigKey: 'dsn', bucket: 'connectOrigins' }],
|
|
56
|
+
};
|
|
57
|
+
const ACME_FOOTPRINT = {
|
|
58
|
+
scriptOrigins: ['https://js.acme.com'],
|
|
59
|
+
connectOrigins: ['https://api.acme.com'],
|
|
60
|
+
frameOrigins: [],
|
|
61
|
+
imgOrigins: [],
|
|
62
|
+
styleOrigins: [],
|
|
63
|
+
fontOrigins: [],
|
|
64
|
+
derivedOrigins: [],
|
|
65
|
+
};
|
|
7
66
|
let tempRoots = [];
|
|
8
67
|
async function writeFile(path, source) {
|
|
9
68
|
await mkdir(join(path, '..'), { recursive: true });
|
|
@@ -12,6 +71,8 @@ async function writeFile(path, source) {
|
|
|
12
71
|
async function createFixture(input) {
|
|
13
72
|
const root = mkdtempSync(join(tmpdir(), 'wildo-csp-sync-'));
|
|
14
73
|
tempRoots.push(root);
|
|
74
|
+
const authoredAppCsp = input.appCsp === undefined ? '{ enabled: true, reportOnly: true }' : input.appCsp;
|
|
75
|
+
const appCspLine = authoredAppCsp === null ? '' : `\n csp: ${authoredAppCsp},`;
|
|
15
76
|
await mkdir(join(root, 'app', 'nginx-config'), { recursive: true });
|
|
16
77
|
await mkdir(join(root, 'technical-doc'), { recursive: true });
|
|
17
78
|
await mkdir(join(root, 'backend-api'), { recursive: true });
|
|
@@ -29,8 +90,7 @@ export default defineSaasConfig({
|
|
|
29
90
|
path: './app',
|
|
30
91
|
serviceName: 'wonder-todos-app',
|
|
31
92
|
defaultPort: 4242,
|
|
32
|
-
frontendType: AppFrontendType.SAAS_APP
|
|
33
|
-
csp: { enabled: true, reportOnly: true },
|
|
93
|
+
frontendType: AppFrontendType.SAAS_APP,${appCspLine}
|
|
34
94
|
},
|
|
35
95
|
docs: {
|
|
36
96
|
path: './technical-doc',
|
|
@@ -72,6 +132,11 @@ export default defineInfraEnvConfig({
|
|
|
72
132
|
csp: ${input.infraCsp},
|
|
73
133
|
});
|
|
74
134
|
`);
|
|
135
|
+
if (input.docsCsp !== undefined) {
|
|
136
|
+
await writeFile(join(root, 'technical-doc', 'wildo.tech-doc.config.ts'), `export default { csp: ${input.docsCsp} };\n`);
|
|
137
|
+
await mkdir(join(root, 'technical-doc', 'nginx-config'), { recursive: true });
|
|
138
|
+
await writeFile(join(root, 'technical-doc', 'nginx-config', 'default.conf'), `server {\n # >>> wildo csp begin\n # stale\n # <<< wildo csp end\n}\n`);
|
|
139
|
+
}
|
|
75
140
|
await writeFile(join(root, 'app', 'nginx-config', 'default.conf'), `server {
|
|
76
141
|
# >>> wildo csp begin
|
|
77
142
|
# stale
|
|
@@ -109,8 +174,9 @@ describe('CspSyncService', () => {
|
|
|
109
174
|
expect.objectContaining({
|
|
110
175
|
serviceKey: 'app',
|
|
111
176
|
generatedArtifactPath: 'app/src/generated/csp.generated.json',
|
|
112
|
-
|
|
113
|
-
|
|
177
|
+
generatedArtifactOutOfDate: true,
|
|
178
|
+
outOfDateNginxFiles: ['app/nginx-config/default.conf'],
|
|
179
|
+
wroteChanges: true,
|
|
114
180
|
}),
|
|
115
181
|
]);
|
|
116
182
|
const generated = JSON.parse(readFileSync(join(root, 'app', 'src', 'generated', 'csp.generated.json'), 'utf-8'));
|
|
@@ -124,6 +190,149 @@ describe('CspSyncService', () => {
|
|
|
124
190
|
expect(nginxConfig).toContain('add_header Content-Security-Policy-Report-Only');
|
|
125
191
|
expect(nginxConfig).toContain("connect-src 'self' http://localhost:4241 ws://localhost:4241");
|
|
126
192
|
});
|
|
193
|
+
/**
|
|
194
|
+
* The two things a check mode can silently get wrong, pinned together (#513).
|
|
195
|
+
*
|
|
196
|
+
* A check that WRITES is not a check — it repairs the drift it was asked to report, so CI passes
|
|
197
|
+
* and the artifact in the repository stays wrong until someone commits the repair by accident.
|
|
198
|
+
* And a check that reports nothing is indistinguishable from a repository with no drift, which is
|
|
199
|
+
* the false-green shape every rule in `.claude/rules/` about search results exists for.
|
|
200
|
+
*
|
|
201
|
+
* So this asserts BOTH halves against the same fixture: the drift is reported, and the files are
|
|
202
|
+
* byte-identical afterwards. Mutation-proven — making `checkOnly` write reddens the byte
|
|
203
|
+
* assertions, and making it skip the comparison reddens the reporting one.
|
|
204
|
+
*/
|
|
205
|
+
it('CHECKS without writing: reports the drift and leaves every file byte-identical', async () => {
|
|
206
|
+
const root = await createFixture({
|
|
207
|
+
infraCsp: `{
|
|
208
|
+
app: { extraDirectives: { 'connect-src': ['http://localhost:4241'] } },
|
|
209
|
+
}`,
|
|
210
|
+
});
|
|
211
|
+
const artifactPath = join(root, 'app', 'src', 'generated', 'csp.generated.json');
|
|
212
|
+
const nginxPath = join(root, 'app', 'nginx-config', 'default.conf');
|
|
213
|
+
const artifactBefore = existsSync(artifactPath) ? readFileSync(artifactPath, 'utf-8') : null;
|
|
214
|
+
const nginxBefore = readFileSync(nginxPath, 'utf-8');
|
|
215
|
+
const checked = await CspSyncService.sync({
|
|
216
|
+
saasRoot: root,
|
|
217
|
+
envName: 'local',
|
|
218
|
+
serviceKey: 'app',
|
|
219
|
+
env: { VITE_API_BASE_URL: 'http://localhost:4241' },
|
|
220
|
+
checkOnly: true,
|
|
221
|
+
});
|
|
222
|
+
expect(checked.services).toEqual([
|
|
223
|
+
expect.objectContaining({
|
|
224
|
+
serviceKey: 'app',
|
|
225
|
+
generatedArtifactOutOfDate: true,
|
|
226
|
+
outOfDateNginxFiles: ['app/nginx-config/default.conf'],
|
|
227
|
+
// The whole point: it saw the drift and touched nothing.
|
|
228
|
+
wroteChanges: false,
|
|
229
|
+
}),
|
|
230
|
+
]);
|
|
231
|
+
expect(existsSync(artifactPath) ? readFileSync(artifactPath, 'utf-8') : null).toBe(artifactBefore);
|
|
232
|
+
expect(readFileSync(nginxPath, 'utf-8')).toBe(nginxBefore);
|
|
233
|
+
});
|
|
234
|
+
/**
|
|
235
|
+
* The CLEAN control, and it is not optional.
|
|
236
|
+
*
|
|
237
|
+
* Without it, a check stuck on "everything is out of date" passes the test above — and would fail
|
|
238
|
+
* CI forever on a repository that is perfectly current, which trains everyone to pass `--no-verify`.
|
|
239
|
+
* Syncing first and then checking is also the exact sequence a developer runs, so this pins the
|
|
240
|
+
* contract that matters: `sync` then `--check` is quiet.
|
|
241
|
+
*/
|
|
242
|
+
it('reports nothing once the artifacts have been synced, so a current repository passes', async () => {
|
|
243
|
+
const root = await createFixture({
|
|
244
|
+
infraCsp: `{
|
|
245
|
+
app: { extraDirectives: { 'connect-src': ['http://localhost:4241'] } },
|
|
246
|
+
}`,
|
|
247
|
+
});
|
|
248
|
+
const env = { VITE_API_BASE_URL: 'http://localhost:4241' };
|
|
249
|
+
await CspSyncService.sync({ saasRoot: root, envName: 'local', serviceKey: 'app', env });
|
|
250
|
+
const checked = await CspSyncService.sync({
|
|
251
|
+
saasRoot: root, envName: 'local', serviceKey: 'app', env, checkOnly: true,
|
|
252
|
+
});
|
|
253
|
+
expect(checked.services).toEqual([
|
|
254
|
+
expect.objectContaining({
|
|
255
|
+
serviceKey: 'app',
|
|
256
|
+
generatedArtifactOutOfDate: false,
|
|
257
|
+
outOfDateNginxFiles: [],
|
|
258
|
+
wroteChanges: false,
|
|
259
|
+
}),
|
|
260
|
+
]);
|
|
261
|
+
});
|
|
262
|
+
/**
|
|
263
|
+
* The shape a FRESHLY SCAFFOLDED application has (#417).
|
|
264
|
+
*
|
|
265
|
+
* `resolveAppCsp` used to throw for a SAAS_APP service authoring no `csp` block, and neither the
|
|
266
|
+
* skeleton template nor Wonder CRM authors one — so `wildo dev start` refused on Wonder CRM and
|
|
267
|
+
* on every application `wildo init` had just produced. The default is taken from
|
|
268
|
+
* `WildoCspConfigSchema` rather than written as a literal here, so this pin asserts the SCHEMA'S
|
|
269
|
+
* posture (CSP off until an author opts in) and not a second copy of it.
|
|
270
|
+
*
|
|
271
|
+
* Isolating: reverting `?? WildoCspConfigSchema.parse({})` to the throw reddens exactly this test
|
|
272
|
+
* and nothing else in the file, because every other case authors a block.
|
|
273
|
+
*/
|
|
274
|
+
it('SYNCS a SaaS app that authors no csp block, defaulting to the pilot posture instead of refusing', async () => {
|
|
275
|
+
// Wonder CRM's exact shape: an infra layer that names the backend origin, and NO app-static
|
|
276
|
+
// `services.app.csp` block. That is what made it the cheapest reproduction of #417 — Wonder
|
|
277
|
+
// Todos authors both layers and cannot reproduce it at all.
|
|
278
|
+
const root = await createFixture({
|
|
279
|
+
infraCsp: `{
|
|
280
|
+
app: { extraDirectives: { 'connect-src': ['http://localhost:4241'] } },
|
|
281
|
+
}`,
|
|
282
|
+
appCsp: null,
|
|
283
|
+
});
|
|
284
|
+
const result = await CspSyncService.sync({
|
|
285
|
+
saasRoot: root,
|
|
286
|
+
envName: 'local',
|
|
287
|
+
serviceKey: 'app',
|
|
288
|
+
env: { VITE_API_BASE_URL: 'http://localhost:4241' },
|
|
289
|
+
});
|
|
290
|
+
expect(result.services).toEqual([
|
|
291
|
+
expect.objectContaining({ serviceKey: 'app', wroteChanges: true }),
|
|
292
|
+
]);
|
|
293
|
+
// Report-only, which is the posture the schema's JSDoc prescribes for a first-time author and
|
|
294
|
+
// the one the skeleton's shipped artifact already claims. NOT the schema's bare `{}` default:
|
|
295
|
+
// that resolves to `enabled: false`, and `resolveServicePolicies` refuses a CSP-capable
|
|
296
|
+
// frontend whose policy resolves to null — a SECOND refusal #417's measurement did not name.
|
|
297
|
+
const generated = JSON.parse(readFileSync(join(root, 'app', 'src', 'generated', 'csp.generated.json'), 'utf-8'));
|
|
298
|
+
expect(generated.nginxHeaderName).toBe('Content-Security-Policy-Report-Only');
|
|
299
|
+
// The app can still reach its own backend: report-only would not block it either way, but a
|
|
300
|
+
// policy that omits the API origin is one flip of `reportOnly` away from breaking the app.
|
|
301
|
+
expect(generated.connectSrc).toContain('http://localhost:4241');
|
|
302
|
+
});
|
|
303
|
+
/**
|
|
304
|
+
* The SCAFFOLDED shape end to end: no app-static block, and the infra `csp` block the skeleton
|
|
305
|
+
* template now ships (#417). Distinct from the pin above, which fixes only the app-static layer —
|
|
306
|
+
* this one asserts the whole chain a fresh `wildo init` produces.
|
|
307
|
+
*
|
|
308
|
+
* Written because the first fix passed its own pin and still left the scaffold broken: the
|
|
309
|
+
* refusal has THREE sites, not the one the issue named. `resolveAppCsp` (fixed), the
|
|
310
|
+
* disabled-policy guard in `resolveServicePolicies` (which is why the default is enabled rather
|
|
311
|
+
* than the schema's bare `{}`), and `assertRuntimeOriginsAllowed`, which demands the API origin
|
|
312
|
+
* and is what the skeleton's infra block now supplies.
|
|
313
|
+
*
|
|
314
|
+
* Scoped to `app` because that IS the bare skeleton: a scaffolded application has one CSP-capable
|
|
315
|
+
* frontend until `add-website` or `add-technical-doc` gives it another, and each of those
|
|
316
|
+
* scenarios ships its own `csp` block.
|
|
317
|
+
*/
|
|
318
|
+
it('SYNCS the shape a fresh scaffold produces — infra names the backend origin, nothing authors an app-static block', async () => {
|
|
319
|
+
const root = await createFixture({
|
|
320
|
+
infraCsp: `{
|
|
321
|
+
app: { extraDirectives: { 'connect-src': ['http://localhost:4241'] } },
|
|
322
|
+
}`,
|
|
323
|
+
appCsp: null,
|
|
324
|
+
});
|
|
325
|
+
const result = await CspSyncService.sync({
|
|
326
|
+
saasRoot: root,
|
|
327
|
+
envName: 'local',
|
|
328
|
+
serviceKey: 'app',
|
|
329
|
+
env: { VITE_API_BASE_URL: 'http://localhost:4241' },
|
|
330
|
+
});
|
|
331
|
+
expect(result.services.map((service) => service.serviceKey)).toContain('app');
|
|
332
|
+
const generated = JSON.parse(readFileSync(join(root, 'app', 'src', 'generated', 'csp.generated.json'), 'utf-8'));
|
|
333
|
+
expect(generated.nginxHeaderName).toBe('Content-Security-Policy-Report-Only');
|
|
334
|
+
expect(generated.connectSrc).toContain('http://localhost:4241');
|
|
335
|
+
});
|
|
127
336
|
it('marks every CSP-capable frontend key as consumed when syncing a single service', async () => {
|
|
128
337
|
const root = await createFixture({
|
|
129
338
|
infraCsp: `{
|
|
@@ -154,5 +363,202 @@ describe('CspSyncService', () => {
|
|
|
154
363
|
env: { VITE_API_BASE_URL: 'http://localhost:4241' },
|
|
155
364
|
})).rejects.toThrow('services that are not CSP-capable frontends: backendApi');
|
|
156
365
|
});
|
|
366
|
+
it("admits a declared provider's origins into the service's composed policy", async () => {
|
|
367
|
+
const root = await createFixture({
|
|
368
|
+
infraCsp: `{
|
|
369
|
+
app: { extraDirectives: { 'connect-src': ['http://localhost:4241'] } },
|
|
370
|
+
docs: { extraDirectives: { 'connect-src': ['http://localhost:4241'] } },
|
|
371
|
+
}`,
|
|
372
|
+
});
|
|
373
|
+
await writeFrontendProvidersArtifact(root, { app: { acme: { csp: ACME_FOOTPRINT } } });
|
|
374
|
+
await CspSyncService.sync({
|
|
375
|
+
saasRoot: root,
|
|
376
|
+
envName: 'local',
|
|
377
|
+
serviceKey: 'app',
|
|
378
|
+
env: { VITE_API_BASE_URL: 'http://localhost:4241' },
|
|
379
|
+
});
|
|
380
|
+
const generated = JSON.parse(readFileSync(join(root, 'app', 'src', 'generated', 'csp.generated.json'), 'utf-8'));
|
|
381
|
+
expect(generated.connectSrc).toContain('https://api.acme.com');
|
|
382
|
+
expect(generated.nginxPolicyValue).toContain('https://js.acme.com');
|
|
383
|
+
// The provider layer runs before the WebSocket derivation, so a provider's
|
|
384
|
+
// realtime origin is authorized without anyone authoring the wss:// form.
|
|
385
|
+
expect(generated.connectSrc).toContain('wss://api.acme.com');
|
|
386
|
+
});
|
|
387
|
+
it("keeps one service's provider origins out of another service's policy", async () => {
|
|
388
|
+
// The isolation that makes the layer safe. The provider is declared for the
|
|
389
|
+
// docs service only; the app's policy must not gain a single one of its
|
|
390
|
+
// origins. Paired with the test above — same footprint, declared under the
|
|
391
|
+
// app, reaching the app's policy — this pins that the SERVICE KEY is what
|
|
392
|
+
// selects, and not merely that some artifact was read.
|
|
393
|
+
const root = await createFixture({
|
|
394
|
+
infraCsp: `{
|
|
395
|
+
app: { extraDirectives: { 'connect-src': ['http://localhost:4241'] } },
|
|
396
|
+
docs: { extraDirectives: { 'connect-src': ['http://localhost:4241'] } },
|
|
397
|
+
}`,
|
|
398
|
+
});
|
|
399
|
+
await writeFrontendProvidersArtifact(root, { docs: { acme: { csp: ACME_FOOTPRINT } } });
|
|
400
|
+
await CspSyncService.sync({
|
|
401
|
+
saasRoot: root,
|
|
402
|
+
envName: 'local',
|
|
403
|
+
serviceKey: 'app',
|
|
404
|
+
env: { VITE_API_BASE_URL: 'http://localhost:4241' },
|
|
405
|
+
});
|
|
406
|
+
const appPolicy = JSON.parse(readFileSync(join(root, 'app', 'src', 'generated', 'csp.generated.json'), 'utf-8'));
|
|
407
|
+
expect(appPolicy.nginxPolicyValue).not.toContain('https://js.acme.com');
|
|
408
|
+
expect(appPolicy.connectSrc).not.toContain('https://api.acme.com');
|
|
409
|
+
});
|
|
410
|
+
it('syncs normally when no provider artifact exists at all', async () => {
|
|
411
|
+
// A clean checkout, or an application declaring no frontend provider, has
|
|
412
|
+
// none. Refusing here would make `sync-csp` depend on a sync having run.
|
|
413
|
+
const root = await createFixture({
|
|
414
|
+
infraCsp: `{
|
|
415
|
+
app: { extraDirectives: { 'connect-src': ['http://localhost:4241'] } },
|
|
416
|
+
docs: { extraDirectives: { 'connect-src': ['http://localhost:4241'] } },
|
|
417
|
+
}`,
|
|
418
|
+
});
|
|
419
|
+
await expect(CspSyncService.sync({
|
|
420
|
+
saasRoot: root,
|
|
421
|
+
envName: 'local',
|
|
422
|
+
serviceKey: 'app',
|
|
423
|
+
env: { VITE_API_BASE_URL: 'http://localhost:4241' },
|
|
424
|
+
})).resolves.toBeDefined();
|
|
425
|
+
});
|
|
426
|
+
it('syncs normally when a declared provider carries no footprint', async () => {
|
|
427
|
+
const root = await createFixture({
|
|
428
|
+
infraCsp: `{
|
|
429
|
+
app: { extraDirectives: { 'connect-src': ['http://localhost:4241'] } },
|
|
430
|
+
docs: { extraDirectives: { 'connect-src': ['http://localhost:4241'] } },
|
|
431
|
+
}`,
|
|
432
|
+
});
|
|
433
|
+
await writeFrontendProvidersArtifact(root, { app: { acme: {} } });
|
|
434
|
+
const result = await CspSyncService.sync({
|
|
435
|
+
saasRoot: root,
|
|
436
|
+
envName: 'local',
|
|
437
|
+
serviceKey: 'app',
|
|
438
|
+
env: { VITE_API_BASE_URL: 'http://localhost:4241' },
|
|
439
|
+
});
|
|
440
|
+
expect(result.services).toHaveLength(1);
|
|
441
|
+
});
|
|
442
|
+
it("reads a provider's DERIVED origin out of its own public config", async () => {
|
|
443
|
+
// The endpoint a provider cannot know: an error-monitoring DSN, an
|
|
444
|
+
// analytics api host, a self-hosted deployment. The provider declares WHERE
|
|
445
|
+
// the origin is; this is the one place that has both the footprint and the
|
|
446
|
+
// config to read it from.
|
|
447
|
+
const root = await createFixture({
|
|
448
|
+
infraCsp: `{
|
|
449
|
+
app: { extraDirectives: { 'connect-src': ['http://localhost:4241'] } },
|
|
450
|
+
docs: { extraDirectives: { 'connect-src': ['http://localhost:4241'] } },
|
|
451
|
+
}`,
|
|
452
|
+
});
|
|
453
|
+
await writeFrontendProvidersArtifact(root, {
|
|
454
|
+
app: {
|
|
455
|
+
acme: {
|
|
456
|
+
csp: ACME_DERIVED_FOOTPRINT,
|
|
457
|
+
publicConfig: { dsn: 'https://public-key@o42.ingest.example.com/7' },
|
|
458
|
+
},
|
|
459
|
+
},
|
|
460
|
+
});
|
|
461
|
+
await CspSyncService.sync({
|
|
462
|
+
saasRoot: root,
|
|
463
|
+
envName: 'local',
|
|
464
|
+
serviceKey: 'app',
|
|
465
|
+
env: { VITE_API_BASE_URL: 'http://localhost:4241' },
|
|
466
|
+
});
|
|
467
|
+
const generated = JSON.parse(readFileSync(join(root, 'app', 'src', 'generated', 'csp.generated.json'), 'utf-8'));
|
|
468
|
+
// The origin only — never the DSN, which carries a key in its userinfo.
|
|
469
|
+
expect(generated.connectSrc).toContain('https://o42.ingest.example.com');
|
|
470
|
+
expect(generated.connectSrc.join(' ')).not.toContain('public-key');
|
|
471
|
+
expect(generated.connectSrc).toContain('wss://o42.ingest.example.com');
|
|
472
|
+
});
|
|
473
|
+
it('contributes nothing when the derived key is not configured', async () => {
|
|
474
|
+
// An application that has not turned that provider on needs no origin for
|
|
475
|
+
// it, and refusing would make an unconfigured optional provider break sync.
|
|
476
|
+
const root = await createFixture({
|
|
477
|
+
infraCsp: `{
|
|
478
|
+
app: { extraDirectives: { 'connect-src': ['http://localhost:4241'] } },
|
|
479
|
+
docs: { extraDirectives: { 'connect-src': ['http://localhost:4241'] } },
|
|
480
|
+
}`,
|
|
481
|
+
});
|
|
482
|
+
await writeFrontendProvidersArtifact(root, { app: { acme: { csp: ACME_DERIVED_FOOTPRINT } } });
|
|
483
|
+
const result = await CspSyncService.sync({
|
|
484
|
+
saasRoot: root,
|
|
485
|
+
envName: 'local',
|
|
486
|
+
serviceKey: 'app',
|
|
487
|
+
env: { VITE_API_BASE_URL: 'http://localhost:4241' },
|
|
488
|
+
});
|
|
489
|
+
expect(result.services).toHaveLength(1);
|
|
490
|
+
});
|
|
491
|
+
it('REFUSES a derived key that is configured but is not an absolute URL', async () => {
|
|
492
|
+
// The one case where the application said something and the framework
|
|
493
|
+
// cannot honour it. Dropping it silently is the blocked-in-production-only
|
|
494
|
+
// failure this whole layer exists to remove.
|
|
495
|
+
const root = await createFixture({
|
|
496
|
+
infraCsp: `{
|
|
497
|
+
app: { extraDirectives: { 'connect-src': ['http://localhost:4241'] } },
|
|
498
|
+
docs: { extraDirectives: { 'connect-src': ['http://localhost:4241'] } },
|
|
499
|
+
}`,
|
|
500
|
+
});
|
|
501
|
+
await writeFrontendProvidersArtifact(root, {
|
|
502
|
+
app: { acme: { csp: ACME_DERIVED_FOOTPRINT, publicConfig: { dsn: 'not-a-url' } } },
|
|
503
|
+
});
|
|
504
|
+
await expect(CspSyncService.sync({
|
|
505
|
+
saasRoot: root,
|
|
506
|
+
envName: 'local',
|
|
507
|
+
serviceKey: 'app',
|
|
508
|
+
env: { VITE_API_BASE_URL: 'http://localhost:4241' },
|
|
509
|
+
})).rejects.toThrow(/is not an absolute URL/);
|
|
510
|
+
});
|
|
511
|
+
});
|
|
512
|
+
/**
|
|
513
|
+
* A per-service CSP block reaches the resolver through a bare cast with NO validation (#442).
|
|
514
|
+
*
|
|
515
|
+
* `resolveAppCsp` returned it verbatim, so a hand-written PARTIAL block — the shape an author who
|
|
516
|
+
* does not use the `define*Config` helper naturally writes — arrived without the schema's defaults
|
|
517
|
+
* and killed the sync with `TypeError: Cannot convert undefined or null to object`: a stack trace
|
|
518
|
+
* naming neither their file nor the missing field.
|
|
519
|
+
*
|
|
520
|
+
* The config surface PERMITS hand-authoring, so "use the helper" is not an answer. Parsing here is.
|
|
521
|
+
*/
|
|
522
|
+
describe('CspSyncService — a hand-authored per-service block', () => {
|
|
523
|
+
it('ACCEPTS a partial block, defaulting the rest, instead of crashing on a missing directive map', async () => {
|
|
524
|
+
const root = await createFixture({
|
|
525
|
+
infraCsp: `{
|
|
526
|
+
app: { extraDirectives: { 'connect-src': ['http://localhost:4241'] } },
|
|
527
|
+
docs: { extraDirectives: { 'connect-src': ['http://localhost:4241'] } },
|
|
528
|
+
}`,
|
|
529
|
+
// Enabled and report-only, and NOTHING else: no `directives`, no `mergeStrategy`. Every field
|
|
530
|
+
// the resolver goes on to read has to come from the schema.
|
|
531
|
+
docsCsp: `{ enabled: true, reportOnly: true }`,
|
|
532
|
+
});
|
|
533
|
+
const result = await CspSyncService.sync({
|
|
534
|
+
saasRoot: root,
|
|
535
|
+
envName: 'local',
|
|
536
|
+
serviceKey: 'docs',
|
|
537
|
+
env: { VITE_API_BASE_URL: 'http://localhost:4241' },
|
|
538
|
+
});
|
|
539
|
+
expect(result.services).toEqual([
|
|
540
|
+
expect.objectContaining({ serviceKey: 'docs', wroteChanges: true }),
|
|
541
|
+
]);
|
|
542
|
+
});
|
|
543
|
+
it('REFUSES a typo with a message naming the key, rather than silently turning CSP off', async () => {
|
|
544
|
+
/*
|
|
545
|
+
* `WildoCspConfigSchema` is a `z.strictObject`, and that is the second thing parsing buys.
|
|
546
|
+
* `enable: true` is not `enabled: true`; unparsed it resolves to `enabled: false` — what the
|
|
547
|
+
* schema's own JSDoc calls "CSP off, the worst possible default" — and the sync reports success.
|
|
548
|
+
*/
|
|
549
|
+
const root = await createFixture({
|
|
550
|
+
infraCsp: `{
|
|
551
|
+
app: { extraDirectives: { 'connect-src': ['http://localhost:4241'] } },
|
|
552
|
+
docs: { extraDirectives: { 'connect-src': ['http://localhost:4241'] } },
|
|
553
|
+
}`,
|
|
554
|
+
docsCsp: `{ enable: true, reportOnly: true }`,
|
|
555
|
+
});
|
|
556
|
+
await expect(CspSyncService.sync({
|
|
557
|
+
saasRoot: root,
|
|
558
|
+
envName: 'local',
|
|
559
|
+
serviceKey: 'docs',
|
|
560
|
+
env: { VITE_API_BASE_URL: 'http://localhost:4241' },
|
|
561
|
+
})).rejects.toThrow(/enable/);
|
|
562
|
+
});
|
|
157
563
|
});
|
|
158
564
|
//# sourceMappingURL=csp-sync.service.test.js.map
|