@wildo-ai/wildo-cli 1.1.2 → 1.1.4
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__/assurance-basis.command.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/assurance-basis.command.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/assurance-basis.command.test.js +63 -0
- package/dist/src/commands/context/__tests__/assurance-basis.command.test.js.map +1 -0
- 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/assurance-basis.command.d.ts +61 -0
- package/dist/src/commands/context/assurance-basis.command.d.ts.map +1 -0
- package/dist/src/commands/context/assurance-basis.command.js +166 -0
- package/dist/src/commands/context/assurance-basis.command.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 +5 -3
- package/dist/src/commands/dev/charts-audit.command.d.ts.map +1 -1
- package/dist/src/commands/dev/charts-audit.command.js +36 -7
- 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 +325 -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 +8 -0
- package/dist/src/commands/generate/email-preview.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-preview.command.js +57 -0
- package/dist/src/commands/generate/email-preview.command.js.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 +89 -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 +4 -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/login.command.js +2 -0
- package/dist/src/commands/registry/login.command.js.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/publish.command.js +2 -0
- package/dist/src/commands/registry/publish.command.js.map +1 -1
- package/dist/src/commands/registry/registry-transport.constants.d.ts +33 -0
- package/dist/src/commands/registry/registry-transport.constants.d.ts.map +1 -0
- package/dist/src/commands/registry/registry-transport.constants.js +33 -0
- package/dist/src/commands/registry/registry-transport.constants.js.map +1 -0
- 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/registry/whoami.command.js +2 -0
- package/dist/src/commands/registry/whoami.command.js.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__/approver-user.module.test.d.ts +2 -0
- package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.d.ts.map +1 -0
- package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.js +146 -0
- package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.js.map +1 -0
- 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/approver-user.module.d.ts +85 -0
- package/dist/src/modules/domain/credentials/approver-user.module.d.ts.map +1 -0
- package/dist/src/modules/domain/credentials/approver-user.module.js +92 -0
- package/dist/src/modules/domain/credentials/approver-user.module.js.map +1 -0
- 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.approving-administrator.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.js +111 -0
- package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.js.map +1 -0
- 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 +224 -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 +43 -10
- package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.js +92 -49
- 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 +6 -0
- package/dist/src/services/application/application-runtime-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/application-runtime-bootstrap.service.js +41 -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 +160 -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 +312 -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 +7 -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 +46 -26
- 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/companion/workbench-cli.service.js +10 -1
- package/dist/src/services/companion/workbench-cli.service.js.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__/provider-contribution-registration.guard.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js +94 -0
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js.map +1 -0
- 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 +114 -37
- package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts +209 -0
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -0
- package/dist/src/services/credentials/composed-provider-catalogue.js +263 -0
- package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -0
- package/dist/src/services/credentials/credentials.schemas.d.ts +29 -22
- package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.js +67 -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 +51 -8
- 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 +34 -7
- 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-bootstrap.service.test.js +45 -2
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.js.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 +23 -0
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js +52 -6
- 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 +188 -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 +55 -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 +17 -0
- 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 +101 -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 +86 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.js +212 -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__/base-url-is-a-declared-env-slot.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.js +100 -0
- package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.js.map +1 -0
- 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 +219 -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 +139 -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 +1586 -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/cloudflare-cdn.service.js +33 -2
- package/dist/src/services/frontend/cloudflare-cdn.service.js.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 +15 -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 +394 -90
- 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/engine-peer-closure.json +12 -0
- 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-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 +52 -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 +75 -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 +46 -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/package.json.hbs +1 -1
- package/templates/saas/skeleton/backend-api/src/companion-exports.ts +13 -2
- 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-backend-provider/scenario.json +0 -17
- 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
- package/templates/saas/skeleton/backend-api/src/provider-contributions.ts +0 -44
|
@@ -6,7 +6,8 @@ import { PlatformEnvVarsBuilder } from '../../../services/environment/env-vars-b
|
|
|
6
6
|
import { EnvironmentUtils } from '../../../services/environment/environment.service.js';
|
|
7
7
|
import { loadInfraHydratedConfig } from '../../../services/environment/env-configuration-generator.service.js';
|
|
8
8
|
import { shouldDeployPlatformServicesInRuntime } from '../../../services/deployment/platform-runtime-policy.service.js';
|
|
9
|
-
import { BackingServiceKind, BackingServiceSource, BOOTSTRAP_PLATFORM_SERVICES, DatabaseEngine, K8S_LOCAL_DEFAULTS, PlatformWildoServices, WildoLocationType, k8sServiceSecretName, k8sServiceConfigMapName, k8sAppBackendSecretName } from '@wildo-ai/platform-config-lib';
|
|
9
|
+
import { BackingServiceKind, BackingServiceSource, BOOTSTRAP_PLATFORM_SERVICES, DatabaseEngine, K8S_LOCAL_DEFAULTS, PlatformWildoServices, WildoLocationType, k8sServiceSecretName, k8sServiceConfigMapName, k8sAppBackendSecretName, k8sRuntimeProvidersSecretName, k8sRuntimeEnvSecretName } from '@wildo-ai/platform-config-lib';
|
|
10
|
+
import { buildMinionServiceName, buildWorkerServiceName } from '@wildo-ai/platform-core-shared';
|
|
10
11
|
import { MONGODB_CREDENTIAL_ENV_KEYS, VALKEY_CREDENTIAL_ENV_KEYS, RABBITMQ_CREDENTIAL_ENV_KEYS, MINIO_CREDENTIAL_ENV_KEYS, POSTGRESQL_CREDENTIAL_ENV_KEYS, IMMUDB_CREDENTIAL_ENV_KEYS, } from '../../../services/data-services/data-services.schemas.js';
|
|
11
12
|
import { K8S_LABELS, } from '../../../services/deployment/k8s/k8s.schemas.js';
|
|
12
13
|
// ============================================================================
|
|
@@ -49,8 +50,15 @@ function makeConfigMap(name, namespace, data) {
|
|
|
49
50
|
* Split a flat env var record into sensitive (→ Secret) and non-sensitive
|
|
50
51
|
* (→ ConfigMap).
|
|
51
52
|
*
|
|
52
|
-
* Sensitivity is determined exclusively by the
|
|
53
|
-
*
|
|
53
|
+
* Sensitivity is determined exclusively by the `SENSITIVE_ENV_KEYS` set (which already includes
|
|
54
|
+
* provider-key names via `PROVIDER_SENSITIVE_ENV_KEYS`).
|
|
55
|
+
*
|
|
56
|
+
* That set is LIVE, not static — it recomputes from the composed provider catalogue on every read
|
|
57
|
+
* (#329). It was a module-load snapshot until then, which was silently wrong for any provider
|
|
58
|
+
* shipped as its own package: discovery necessarily runs after the credential layer is imported,
|
|
59
|
+
* so a snapshot could not contain such a provider's keys, and they were classified non-sensitive
|
|
60
|
+
* and written into a `ConfigMap`. Nothing here changes as a result — `.has()` is the whole
|
|
61
|
+
* contract — but do not reintroduce a local copy of the set, which would restore the snapshot.
|
|
54
62
|
*
|
|
55
63
|
* Used only by the platform-service emit path (apps-manager + bootstrap
|
|
56
64
|
* services) which actually benefits from the Secret/ConfigMap split. The
|
|
@@ -94,7 +102,6 @@ export function generateK8sSecrets(env, credentials, options = {}) {
|
|
|
94
102
|
const addressCtx = ServiceAddressResolver.fromEnvironment(env, AddressPerspective.CONTAINER_INTERNAL);
|
|
95
103
|
const addresses = ServiceAddressResolver.resolve(addressCtx);
|
|
96
104
|
const output = {};
|
|
97
|
-
const configuredProviderEnvKeys = new Set(Object.keys(credentials.providerEnv ?? {}));
|
|
98
105
|
const includePlatformResources = shouldDeployPlatformServicesInRuntime(env, options.isFrameworkDeveloper ?? false);
|
|
99
106
|
function emit(name, yaml, category) {
|
|
100
107
|
output[name] = { yaml, category };
|
|
@@ -175,7 +182,15 @@ export function generateK8sSecrets(env, credentials, options = {}) {
|
|
|
175
182
|
[MINIO_CREDENTIAL_ENV_KEYS.ROOT_PASSWORD]: credentials.storage.secretKey,
|
|
176
183
|
})), 'infrastructure');
|
|
177
184
|
}
|
|
178
|
-
|
|
185
|
+
// The PAIRED site of the PostgreSQL emission gate (`invariant-call-site-enumeration.md`): the
|
|
186
|
+
// StatefulSet's `POSTGRES_USER` / `POSTGRES_PASSWORD` / `POSTGRES_DB` are REQUIRED `secretKeyRef`s,
|
|
187
|
+
// so a workload emitted without this Secret cannot start at all. `database.engine` alone is the
|
|
188
|
+
// narrower half — `needsLocalPostgreSQL` also covers an env that declares
|
|
189
|
+
// `backingServices.postgresql: { source: SELF }` on a Mongo-engined platform, which is exactly the
|
|
190
|
+
// "PostgreSQL for the application's resources" shape the Compose lane already provisions through
|
|
191
|
+
// `shouldProvisionPostgreSQL`'s identical union. `credentials.postgresql` is REQUIRED by
|
|
192
|
+
// `PlatformEnvSecretsJson_Schema`, so the widened branch can always be satisfied.
|
|
193
|
+
if (config.database.engine === DatabaseEngine.POSTGRESQL || EnvironmentUtils.needsLocalPostgreSQL(env)) {
|
|
179
194
|
const pgSecret = k8sServiceSecretName('postgresql');
|
|
180
195
|
emit(pgSecret, toYaml(makeSecret(pgSecret, namespace, {
|
|
181
196
|
[POSTGRESQL_CREDENTIAL_ENV_KEYS.ADMIN_USER]: credentials.postgresql.adminUser,
|
|
@@ -219,31 +234,82 @@ export function generateK8sSecrets(env, credentials, options = {}) {
|
|
|
219
234
|
}
|
|
220
235
|
}
|
|
221
236
|
// ========================================================================
|
|
222
|
-
// 4. Provider secrets
|
|
237
|
+
// 4. Provider secrets — ONE SECRET PER RUNTIME (issue #369)
|
|
238
|
+
//
|
|
239
|
+
// Provider credentials are APP-data, not platform-service-data, and each application runtime
|
|
240
|
+
// receives exactly the providers its `providers.scopes.<runtime>` declares — the same boundary
|
|
241
|
+
// the generated `.env` lane enforces (#329), now enforced in this lane too.
|
|
242
|
+
//
|
|
243
|
+
// ## What this replaced, because the shape is the whole defect
|
|
244
|
+
//
|
|
245
|
+
// There used to be ONE cluster-wide `providers-secret` holding the application's entire
|
|
246
|
+
// `providerEnv`, `envFrom`-mounted by the backend, every minion AND every worker. `envFrom`
|
|
247
|
+
// MERGES, so a provider key the per-app Secret withheld arrived from that second reference: on
|
|
248
|
+
// Kubernetes a worker authoring `providers: {}` received every provider key the application had,
|
|
249
|
+
// in its process environment, which is exactly what LLM-driven minion code reads. Measured by
|
|
250
|
+
// generating manifests: `providers-secret` carried `STRIPE_SECRET_KEY` and `OPENAI_API_KEY` for a
|
|
251
|
+
// runtime scoped to neither. The confinement held in the compose lane and did not exist here at
|
|
252
|
+
// all — one contract, two deployment lanes, one swept
|
|
253
|
+
// (`.claude/rules/invariant-call-site-enumeration.md` #23).
|
|
223
254
|
//
|
|
224
|
-
//
|
|
225
|
-
// provider API keys (OpenAI, Anthropic, Resend, ...) consumed by every
|
|
226
|
-
// application backend pod and dev companion via `envFrom: { optional: true }`
|
|
227
|
-
// in the deployment template. It must be emitted whenever any consumer pod
|
|
228
|
-
// could read it — independent of whether the framework-developer toggle
|
|
229
|
-
// skips emitting platform-service Secrets/ConfigMaps in this same pass.
|
|
255
|
+
// ## Three properties worth not re-deriving
|
|
230
256
|
//
|
|
231
|
-
//
|
|
232
|
-
//
|
|
233
|
-
//
|
|
234
|
-
//
|
|
235
|
-
//
|
|
236
|
-
//
|
|
257
|
+
// - **Emit-name == mount-name, from one function.** Both sides call
|
|
258
|
+
// {@link k8sRuntimeProvidersSecretName}, and the templates receive the resolved name as
|
|
259
|
+
// `{{providersSecretName}}` rather than composing it. This file already carries the scar from
|
|
260
|
+
// the other direction: an emit keyed on the backend `serviceName` produced a Secret no template
|
|
261
|
+
// mounted, and the pod failed closed at boot.
|
|
262
|
+
// - **A runtime that declares no providers gets NO Secret**, not an empty one. That is the correct
|
|
263
|
+
// outcome for `myRustWorker`, and it is why the mount stays `optional: true`.
|
|
264
|
+
// - **Category is `'application'`** (not `'platform'`): the writer routes by category into
|
|
265
|
+
// `secrets/<category>/<name>.yaml`, and a `'platform'` label would couple these emits to
|
|
266
|
+
// `includePlatformResources` at the writer side, where the platform output dir only exists when
|
|
267
|
+
// platform services are emitted. These land beside the per-app Secrets that consume them.
|
|
237
268
|
// ========================================================================
|
|
238
|
-
|
|
269
|
+
/**
|
|
270
|
+
* Emit one runtime's provider Secret and return the keys it carries, so the caller can keep them
|
|
271
|
+
* out of that runtime's other Secret rather than shipping the same credential twice.
|
|
272
|
+
*/
|
|
273
|
+
function emitRuntimeProvidersSecret(runtimeServiceName, scopedProviderRefs) {
|
|
274
|
+
const providerEnv = PlatformEnvVarsBuilder.buildScopedProviderEnv(credentials, declaredProviderScope(scopedProviderRefs));
|
|
239
275
|
const providerData = {};
|
|
240
|
-
for (const [envVarName, value] of Object.entries(
|
|
276
|
+
for (const [envVarName, value] of Object.entries(providerEnv)) {
|
|
241
277
|
setIfDefined(providerData, envVarName, value);
|
|
242
278
|
}
|
|
243
|
-
if (Object.keys(providerData).length
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
279
|
+
if (Object.keys(providerData).length === 0)
|
|
280
|
+
return new Set();
|
|
281
|
+
const secretName = k8sRuntimeProvidersSecretName(runtimeServiceName);
|
|
282
|
+
emit(secretName, toYaml(makeSecret(secretName, namespace, providerData)), 'application');
|
|
283
|
+
const keys = new Set(Object.keys(providerData));
|
|
284
|
+
// Recorded so § 6 can strip exactly these from the same runtime's ENV Secret — a provider key
|
|
285
|
+
// must have one sink per pod, and deriving the strip from the emitted Secret keeps that a
|
|
286
|
+
// single decision rather than two rules to keep in agreement.
|
|
287
|
+
providerKeysByRuntime.set(runtimeServiceName, keys);
|
|
288
|
+
return keys;
|
|
289
|
+
}
|
|
290
|
+
// Minions and workers own no other Secret in this lane, so their provider Secret is emitted
|
|
291
|
+
// directly here; the backend's is emitted inside § 5, where the per-target scope also decides
|
|
292
|
+
// what its app Secret must NOT repeat.
|
|
293
|
+
const emittedRuntimeProviderSecrets = new Set();
|
|
294
|
+
/** runtime service name → the provider keys its provider Secret carries (read by § 6). */
|
|
295
|
+
const providerKeysByRuntime = new Map();
|
|
296
|
+
for (const minion of options.applicationMinions ?? []) {
|
|
297
|
+
if (!minion.appName)
|
|
298
|
+
continue;
|
|
299
|
+
const runtimeServiceName = buildMinionServiceName(minion.appName, minion.minionName);
|
|
300
|
+
if (emittedRuntimeProviderSecrets.has(runtimeServiceName))
|
|
301
|
+
continue;
|
|
302
|
+
emittedRuntimeProviderSecrets.add(runtimeServiceName);
|
|
303
|
+
emitRuntimeProvidersSecret(runtimeServiceName, minion.scopedProviderRefs);
|
|
304
|
+
}
|
|
305
|
+
for (const worker of options.applicationWorkers ?? []) {
|
|
306
|
+
if (!worker.appName)
|
|
307
|
+
continue;
|
|
308
|
+
const runtimeServiceName = buildWorkerServiceName(worker.appName, worker.workerName);
|
|
309
|
+
if (emittedRuntimeProviderSecrets.has(runtimeServiceName))
|
|
310
|
+
continue;
|
|
311
|
+
emittedRuntimeProviderSecrets.add(runtimeServiceName);
|
|
312
|
+
emitRuntimeProvidersSecret(runtimeServiceName, worker.scopedProviderRefs);
|
|
247
313
|
}
|
|
248
314
|
// ========================================================================
|
|
249
315
|
// 5. Application backend services (one Secret per app)
|
|
@@ -266,15 +332,15 @@ export function generateK8sSecrets(env, credentials, options = {}) {
|
|
|
266
332
|
// actually delivered that granularity in practice — the per-app ConfigMap
|
|
267
333
|
// was orphan, so no operator ever read non-sensitive app vars from it.
|
|
268
334
|
//
|
|
269
|
-
// Provider env vars are emitted to
|
|
270
|
-
//
|
|
271
|
-
// template. Strip them from the per-app env so
|
|
272
|
-
// exactly one K8s sink.
|
|
335
|
+
// Provider env vars are emitted to this runtime's OWN provider Secret (§4 above, one per
|
|
336
|
+
// runtime since #369 — there is no shared `providers-secret` any more) and consumed by the pod
|
|
337
|
+
// via a separate `envFrom` block in the deployment template. Strip them from the per-app env so
|
|
338
|
+
// each provider key has exactly one K8s sink.
|
|
273
339
|
// ========================================================================
|
|
274
|
-
// One canonical `{appSlug}-secret` per app (NOT per backend service): the
|
|
275
|
-
//
|
|
276
|
-
//
|
|
277
|
-
//
|
|
340
|
+
// One canonical `{appSlug}-secret` per app (NOT per backend service): the k8s app deploy is
|
|
341
|
+
// single-pod-per-app, so the app Deployment `envFrom`-mounts it. Minions and workers used to
|
|
342
|
+
// mount this SAME Secret and no longer do — each has its own, emitted in § 6 (#377). Keying on
|
|
343
|
+
// the app SLUG (`target.appName`) keeps
|
|
278
344
|
// emit-name == mount-name; keying on the backend `serviceName` (the historical
|
|
279
345
|
// bug) produced `{serviceName}-secret`, which no template mounts → fail-closed
|
|
280
346
|
// boot. Dedup so multiple backend targets sharing one app don't collide.
|
|
@@ -305,9 +371,34 @@ export function generateK8sSecrets(env, credentials, options = {}) {
|
|
|
305
371
|
// call each declared worker's per-app ClusterIP Service.
|
|
306
372
|
workerUrls: target.workerUrls,
|
|
307
373
|
});
|
|
374
|
+
// The backend's OWN provider Secret, scoped exactly as its env was (#369). Emitted here
|
|
375
|
+
// rather than in § 4 because the same scope decides what the app Secret must NOT repeat.
|
|
376
|
+
const backendRuntimeServiceName = target.appName ?? target.serviceName;
|
|
377
|
+
const backendProviderKeys = emittedRuntimeProviderSecrets.has(backendRuntimeServiceName)
|
|
378
|
+
? new Set()
|
|
379
|
+
: emitRuntimeProvidersSecret(backendRuntimeServiceName, target.scopedProviderRefs);
|
|
380
|
+
emittedRuntimeProviderSecrets.add(backendRuntimeServiceName);
|
|
381
|
+
// Provider keys live in the provider Secret and NOWHERE ELSE, so the app Secret drops
|
|
382
|
+
// exactly the keys that Secret carries.
|
|
383
|
+
//
|
|
384
|
+
// This used to drop every key present in `credentials.providerEnv` — the UNSCOPED bag. On
|
|
385
|
+
// the OPERATOR-AUTHORED keys the two rules agree exactly, and that is provable rather than
|
|
386
|
+
// hopeful: `appEnvFull`'s provider keys are fanned out by `resolveRuntimeProviderEnv` under
|
|
387
|
+
// this same scope, and `backendProviderKeys` is that same function under that same scope, so
|
|
388
|
+
// neither rule can strip a key the other keeps.
|
|
389
|
+
//
|
|
390
|
+
// They differ on ONE key, and it is the reason to prefer this one. `IMMUDB_STATE_PUBLIC_KEY`
|
|
391
|
+
// is FRAMEWORK-INJECTED by `resolveRuntimeProviderEnv` and is absent from
|
|
392
|
+
// `credentials.providerEnv`, so the old rule did not strip it and it rode in the app Secret —
|
|
393
|
+
// which, at the time, every minion and worker also mounted. It now travels in the backend's provider
|
|
394
|
+
// Secret instead: same delivery to the backend, and withheld from a runtime not scoped to
|
|
395
|
+
// immudb, which is what the confinement is for.
|
|
396
|
+
//
|
|
397
|
+
// Deriving the strip from the emitted Secret's own keys also makes the two sides one decision
|
|
398
|
+
// rather than two rules that must be kept in agreement by hand.
|
|
308
399
|
const appEnv = {};
|
|
309
400
|
for (const [key, value] of Object.entries(appEnvFull)) {
|
|
310
|
-
if (!
|
|
401
|
+
if (!backendProviderKeys.has(key)) {
|
|
311
402
|
appEnv[key] = value;
|
|
312
403
|
}
|
|
313
404
|
}
|
|
@@ -321,6 +412,75 @@ export function generateK8sSecrets(env, credentials, options = {}) {
|
|
|
321
412
|
}
|
|
322
413
|
}
|
|
323
414
|
}
|
|
415
|
+
// ========================================================================
|
|
416
|
+
// 6. Per-minion and per-worker environment Secrets (issue #377)
|
|
417
|
+
//
|
|
418
|
+
// Every minion and worker pod used to `envFrom`-mount the BACKEND's `{appSlug}-secret`, so each
|
|
419
|
+
// received the backend's whole environment: the platform bootstrap contract, MongoDB /
|
|
420
|
+
// PostgreSQL / Redis / RabbitMQ topology, storage configuration — and, once #360 composed it,
|
|
421
|
+
// the backend's `OTEL_EXPORTER_OTLP_HEADERS` carrying the telemetry token. The per-runtime
|
|
422
|
+
// confinement #329/#360/#369 established was therefore defeated one level up: a minion scoped
|
|
423
|
+
// to `openai` alone got no telemetry token in its own provider Secret and received it anyway,
|
|
424
|
+
// out of a different runtime's environment.
|
|
425
|
+
//
|
|
426
|
+
// `buildApplicationMinionEnv` / `buildApplicationWorkerEnv` already existed, already took the
|
|
427
|
+
// runtime's `RuntimeProviderScope`, and already produced the correctly-scoped environment for
|
|
428
|
+
// the compose lane. This lane never called them. The option shapes below MIRROR the compose
|
|
429
|
+
// call sites in `env-configuration-generator.service.ts` with the REMOTE variants, so one
|
|
430
|
+
// application runtime cannot come to mean two different environments depending on how it is
|
|
431
|
+
// deployed.
|
|
432
|
+
//
|
|
433
|
+
// Two deliberate deviations, both inherited from the backend's own § 5 rather than introduced
|
|
434
|
+
// here — stated so neither reads as an oversight:
|
|
435
|
+
// - `extraEnv` is NOT merged (the compose lane merges it). Not a regression: these runtimes
|
|
436
|
+
// previously mounted the backend Secret, which carries none either.
|
|
437
|
+
// - `serviceVersion` is NOT threaded, so `service.version` is absent from
|
|
438
|
+
// `OTEL_RESOURCE_ATTRIBUTES` in this lane. Same for the backend today.
|
|
439
|
+
// ========================================================================
|
|
440
|
+
/** Emit one runtime's environment Secret, minus the keys its provider Secret already carries. */
|
|
441
|
+
function emitRuntimeEnvSecret(runtimeServiceName, runtimeEnv, providerKeys) {
|
|
442
|
+
const env = {};
|
|
443
|
+
for (const [key, value] of Object.entries(runtimeEnv)) {
|
|
444
|
+
if (!providerKeys.has(key))
|
|
445
|
+
env[key] = value;
|
|
446
|
+
}
|
|
447
|
+
if (Object.keys(env).length === 0)
|
|
448
|
+
return;
|
|
449
|
+
const secretName = k8sRuntimeEnvSecretName(runtimeServiceName);
|
|
450
|
+
emit(secretName, toYaml(makeSecret(secretName, namespace, env)), 'application');
|
|
451
|
+
}
|
|
452
|
+
for (const minion of options.applicationMinions ?? []) {
|
|
453
|
+
if (!minion.appName)
|
|
454
|
+
continue;
|
|
455
|
+
const runtimeServiceName = buildMinionServiceName(minion.appName, minion.minionName);
|
|
456
|
+
emitRuntimeEnvSecret(runtimeServiceName, PlatformEnvVarsBuilder.buildApplicationMinionEnv(minion.bootstrapCredentials, minion.serviceName, credentials, addresses, config, env.name, declaredProviderScope(minion.scopedProviderRefs),
|
|
457
|
+
// Forwarded verbatim, absence included — the builder withholds a backing service's
|
|
458
|
+
// topology from a runtime that declared no access to it, and defaulting it here would
|
|
459
|
+
// decide that at a site which knows nothing about the minion.
|
|
460
|
+
minion.accessDeclaration, {
|
|
461
|
+
appDatabaseName: minion.appDatabaseName,
|
|
462
|
+
redisKeyPrefix: minion.redisKeyPrefix,
|
|
463
|
+
storageBucketPrefix: minion.storageBucketPrefix,
|
|
464
|
+
deploymentLocationType: env.locationType,
|
|
465
|
+
// Both are LOCAL-only in the compose lane and must stay absent here: a runtime-signals
|
|
466
|
+
// home is a developer-machine path, and a direct Mongo connection is the single-node
|
|
467
|
+
// local topology rather than the cluster's replica set.
|
|
468
|
+
mongodbDirectConnection: env.locationType === WildoLocationType.LOCAL,
|
|
469
|
+
runtimeEndpoints: minion.runtimeEndpoints,
|
|
470
|
+
}), providerKeysByRuntime.get(runtimeServiceName) ?? new Set());
|
|
471
|
+
}
|
|
472
|
+
for (const worker of options.applicationWorkers ?? []) {
|
|
473
|
+
if (!worker.appName)
|
|
474
|
+
continue;
|
|
475
|
+
const runtimeServiceName = buildWorkerServiceName(worker.appName, worker.workerName);
|
|
476
|
+
emitRuntimeEnvSecret(runtimeServiceName, PlatformEnvVarsBuilder.buildApplicationWorkerEnv(worker.bootstrapCredentials, worker.workerName, worker.serviceName, credentials, config, env.name, declaredProviderScope(worker.scopedProviderRefs), {
|
|
477
|
+
// The authored inbound surface, so the worker binds the port and probe paths the
|
|
478
|
+
// Deployment's container port and probes were rendered from — one authored value, two
|
|
479
|
+
// renderers, no coincidence.
|
|
480
|
+
http: worker.http,
|
|
481
|
+
runtimeEndpoints: worker.runtimeEndpoints,
|
|
482
|
+
}), providerKeysByRuntime.get(runtimeServiceName) ?? new Set());
|
|
483
|
+
}
|
|
324
484
|
return output;
|
|
325
485
|
}
|
|
326
486
|
// ============================================================================
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"k8s-secrets-generator.service.js","sourceRoot":"","sources":["../../../../../../../src/services/deployment/k8s/k8s-secrets-generator.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AAGjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AACzF,OAAO,EAAE,qBAAqB,EAAE,MAAM,yDAAyD,CAAC;AAChG,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,8DAA8D,CAAC;AAC1H,OAAO,EAAE,sBAAsB,EAAE,MAAM,0DAA0D,CAAC;AAClG,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AAEvF,OAAO,EAAE,uBAAuB,EAAE,MAAM,qEAAqE,CAAC;AAC9G,OAAO,EAAE,qCAAqC,EAAE,MAAM,gEAAgE,CAAC;AACvH,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,2BAA2B,EAAE,cAAc,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AAC5Q,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,4BAA4B,EAC5B,yBAAyB,EACzB,8BAA8B,EAC9B,0BAA0B,GAC3B,MAAM,yDAAyD,CAAC;AACjE,OAAO,EACL,UAAU,GACX,MAAM,gDAAgD,CAAC;AAiBxD,+EAA+E;AAC/E,UAAU;AACV,+EAA+E;AAE/E,SAAS,QAAQ,CAAC,KAAa;IAC7B,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,OAAO,CAAC,C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QAClE,CAAC;IACH,CAAC;IAGD,MAAM,UAAU,GAAG,oBAAoB,CAAC,OAAO,CAAC,CAAC;IACjD,MAAM,aAAa,GAAG,uBAAuB,CAAC,OAAO,CAAC,CAAC;IAEvD,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACnC,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,UAAU,CAAC,UAAU,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC;IAClF,CAAC;IACD,IAAI,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACvC,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,aAAa,CAAC,aAAa,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC;IAC/F,CAAC;AACH,CAAC","sourcesContent":["import { stringify } from 'yaml';\nimport type { PlatformEnvConfigJson, PlatformEnvSecretsJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\nimport { SENSITIVE_ENV_KEYS } from '~wildo-cli/services/credentials/credentials.schemas';\nimport { declaredProviderScope } from '~wildo-cli/services/credentials/provider-env-vars.utils';\nimport { ServiceAddressResolver, AddressPerspective } from '~wildo-cli/services/catalog/service-address-resolver.service';\nimport { PlatformEnvVarsBuilder } from '~wildo-cli/services/environment/env-vars-builder.service';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport type { ApplicationBackendEnvTarget } from '~wildo-cli/services/environment/env-configuration-generator.service';\nimport { loadInfraHydratedConfig } from '~wildo-cli/services/environment/env-configuration-generator.service';\nimport { shouldDeployPlatformServicesInRuntime } from '~wildo-cli/services/deployment/platform-runtime-policy.service';\nimport { BackingServiceKind, BackingServiceSource, BOOTSTRAP_PLATFORM_SERVICES, DatabaseEngine, K8S_LOCAL_DEFAULTS, PlatformWildoServices, WildoLocationType, k8sServiceSecretName, k8sServiceConfigMapName, k8sAppBackendSecretName } from '@wildo-ai/platform-config-lib';\nimport {\n MONGODB_CREDENTIAL_ENV_KEYS,\n VALKEY_CREDENTIAL_ENV_KEYS,\n RABBITMQ_CREDENTIAL_ENV_KEYS,\n MINIO_CREDENTIAL_ENV_KEYS,\n POSTGRESQL_CREDENTIAL_ENV_KEYS,\n IMMUDB_CREDENTIAL_ENV_KEYS,\n} from '~wildo-cli/services/data-services/data-services.schemas';\nimport {\n K8S_LABELS,\n} from '~wildo-cli/services/deployment/k8s/k8s.schemas';\n// ============================================================================\n// Types\n// ============================================================================\n\ninterface K8sResource {\n apiVersion: 'v1';\n kind: 'Secret' | 'ConfigMap';\n metadata: {\n name: string;\n namespace: string;\n labels: Record<string, string>;\n };\n type?: 'Opaque';\n data: Record<string, string>;\n}\n\n// ============================================================================\n// Helpers\n// ============================================================================\n\nfunction toBase64(value: string): string {\n return Buffer.from(value, 'utf-8').toString('base64');\n}\n\nfunction toYaml(resource: K8sResource): string {\n return stringify(resource, { lineWidth: 0, defaultKeyType: 'PLAIN' });\n}\n\nfunction defaultLabels(): Record<string, string> {\n return {\n [K8S_LABELS.keys.PART_OF]: K8S_LABELS.values.WILDO_PLATFORM,\n [K8S_LABELS.keys.MANAGED_BY]: K8S_LABELS.values.WILDO_CLI,\n };\n}\n\nfunction makeSecret(name: string, namespace: string, rawData: Record<string, string>): K8sResource {\n const encoded: Record<string, string> = {};\n for (const [key, value] of Object.entries(rawData)) {\n encoded[key] = toBase64(value);\n }\n return {\n apiVersion: 'v1',\n kind: 'Secret',\n metadata: { name, namespace, labels: defaultLabels() },\n type: 'Opaque',\n data: encoded,\n };\n}\n\nfunction makeConfigMap(name: string, namespace: string, data: Record<string, string>): K8sResource {\n return {\n apiVersion: 'v1',\n kind: 'ConfigMap',\n metadata: { name, namespace, labels: defaultLabels() },\n data,\n };\n}\n\n/**\n * Split a flat env var record into sensitive (→ Secret) and non-sensitive\n * (→ ConfigMap).\n *\n * Sensitivity is determined exclusively by the static `SENSITIVE_ENV_KEYS` set\n * (which already includes provider-key names via `PROVIDER_SENSITIVE_ENV_KEYS`).\n *\n * Used only by the platform-service emit path (apps-manager + bootstrap\n * services) which actually benefits from the Secret/ConfigMap split. The\n * application-backend path (§5 of `generateK8sSecrets`) intentionally puts\n * everything into a single Secret per app — see the \"one Secret per app\"\n * rationale in §5.\n */\nfunction splitEnv(\n env: Record<string, string>,\n): { secret: Record<string, string>; config: Record<string, string> } {\n const secret: Record<string, string> = {};\n const config: Record<string, string> = {};\n for (const [key, value] of Object.entries(env)) {\n if (SENSITIVE_ENV_KEYS.has(key)) {\n secret[key] = value;\n } else {\n config[key] = value;\n }\n }\n return { secret, config };\n}\n\nfunction setIfDefined(target: Record<string, string>, key: string, value: string | undefined | null): void {\n if (value != null) {\n target[key] = value;\n }\n}\n\n\n// ============================================================================\n// Generator\n// ============================================================================\n\nexport type K8sResourceCategory = 'platform' | 'infrastructure' | 'application';\n\nexport interface K8sGeneratedResource {\n yaml: string;\n category: K8sResourceCategory;\n}\n\n/**\n * Generates K8s Secret + ConfigMap YAML for all platform, infra, and app services.\n *\n * Uses ServiceAddressResolver (CONTAINER_INTERNAL / K8s perspective) and\n * PlatformEnvVarsBuilder for env var construction, then splits into\n * sensitive (Secret, base64) and non-sensitive (ConfigMap, plain-text).\n *\n * Returns a map of resource-name → { yaml, category } for directory routing.\n */\nexport function generateK8sSecrets(\n env: PlatformEnvironmentConfiguration,\n credentials: PlatformEnvSecretsJson,\n options: {\n applicationBackends?: ApplicationBackendEnvTarget[];\n isFrameworkDeveloper?: boolean;\n config?: PlatformEnvConfigJson;\n } = {},\n): Record<string, K8sGeneratedResource> {\n // Single load+hydrate seam — the k8s ConfigMaps this generator emits must carry the infra posture\n // (OTEL_*/LOG_LEVEL/provider-selection) the setup config.json omits; takes `options.config` when a\n // caller (CI) already holds one.\n const config = loadInfraHydratedConfig(env, options.config);\n\n const namespace = env.kubernetes?.namespace ?? K8S_LOCAL_DEFAULTS.NAMESPACE;\n const addressCtx = ServiceAddressResolver.fromEnvironment(env, AddressPerspective.CONTAINER_INTERNAL);\n const addresses = ServiceAddressResolver.resolve(addressCtx);\n const output: Record<string, K8sGeneratedResource> = {};\n const configuredProviderEnvKeys = new Set(Object.keys(credentials.providerEnv ?? {}));\n const includePlatformResources = shouldDeployPlatformServicesInRuntime(\n env,\n options.isFrameworkDeveloper ?? false,\n );\n\n function emit(name: string, yaml: string, category: K8sResourceCategory): void {\n output[name] = { yaml, category };\n }\n\n // ========================================================================\n // 1. Apps-Manager (Secret + ConfigMap)\n // ========================================================================\n\n if (includePlatformResources) {\n const appsManagerEnv = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(\n credentials,\n addresses,\n config,\n env,\n {\n includeBootstrapAdminCredentials: false,\n },\n );\n emitPlatformService(emit, PlatformWildoServices.APPS_MANAGER, appsManagerEnv, namespace, credentials, config);\n }\n\n // ========================================================================\n // 2. Bootstrap services (Secret + ConfigMap each)\n // ========================================================================\n\n if (includePlatformResources) {\n for (const service of BOOTSTRAP_PLATFORM_SERVICES) {\n const serviceEnv = PlatformEnvVarsBuilder.buildBootstrapEnv(service, credentials, addresses, config, env);\n emitPlatformService(emit, service, serviceEnv, namespace, credentials, config);\n }\n }\n\n // ========================================================================\n // 3. Infra service secrets (for infra container startup)\n // ========================================================================\n\n // Slice 4 (4.7) — emit `mongodb-secret` only for envs that actually\n // self-deploy a local mongod. Atlas / managed envs use `apps-manager`\n // env vars to reach the external cluster instead, so a local secret\n // would be unused at best, misleading at worst.\n // Keys MUST match the env names the `mongo:8.2` entrypoint reads\n // (MONGO_INITDB_ROOT_USERNAME / MONGO_INITDB_ROOT_PASSWORD) — the\n // K8s StatefulSet binds them directly via secretKeyRef. Re-verified on 8.2\n // (issue #74): its `docker-entrypoint.sh` still reads exactly these two.\n if (EnvironmentUtils.needsLocalMongoDB(env) && credentials.mongodb) {\n const mongoSecret = k8sServiceSecretName('mongodb');\n emit(mongoSecret, toYaml(makeSecret(mongoSecret, namespace, {\n [MONGODB_CREDENTIAL_ENV_KEYS.ROOT_USER]: credentials.mongodb.rootUser,\n [MONGODB_CREDENTIAL_ENV_KEYS.ROOT_PASSWORD]: credentials.mongodb.rootPassword,\n })), 'infrastructure');\n }\n\n // Issue #74 — `mongot-secret`, the SCRAM password the MongoDB Search / Vector Search\n // sidecar authenticates to mongod with. TWO workloads read this one key, which is the\n // reason it is a framework-managed material rather than something either lane mints:\n //\n // - the `mongodb-init` Job, as an OPTIONAL env var, to create/update the\n // `searchCoordinator`-roled user;\n // - the `mongot` StatefulSet, projected as a FILE at `MONGOT_SYNC_SOURCE.PASSWORD_FILE_PATH`\n // with `defaultMode: 0400` — mongot reads a `passwordFile` path and refuses anything\n // more permissive.\n //\n // Same gate as the mongod secret: mongot is an attachment to a self-hosted mongod. Emitted\n // only when the material exists, so a CI-reconstructed secrets.json (which publishes no\n // mongot material) renders no secret, the mongot workload's volume has nothing to bind, and\n // the init Job's optional ref simply skips the user creation — degraded consistently rather\n // than half-wired.\n if (EnvironmentUtils.needsLocalMongoDB(env) && credentials.mongot?.syncSourcePassword) {\n const mongotSecret = k8sServiceSecretName('mongot');\n emit(mongotSecret, toYaml(makeSecret(mongotSecret, namespace, {\n MONGOT_SYNC_SOURCE_PASSWORD: credentials.mongot.syncSourcePassword,\n })), 'infrastructure');\n }\n\n if (credentials.valkey) {\n const valkeySecret = k8sServiceSecretName('valkey');\n emit(valkeySecret, toYaml(makeSecret(valkeySecret, namespace, {\n [VALKEY_CREDENTIAL_ENV_KEYS.PASSWORD]: credentials.valkey.adminPassword,\n })), 'infrastructure');\n }\n\n const rabbitmqSecret = k8sServiceSecretName('rabbitmq');\n emit(rabbitmqSecret, toYaml(makeSecret(rabbitmqSecret, namespace, {\n [RABBITMQ_CREDENTIAL_ENV_KEYS.DEFAULT_USER]: credentials.rabbitmq.adminUsername,\n [RABBITMQ_CREDENTIAL_ENV_KEYS.DEFAULT_PASS]: credentials.rabbitmq.adminPassword,\n [RABBITMQ_CREDENTIAL_ENV_KEYS.ERLANG_COOKIE]: credentials.rabbitmq.erlangCookie,\n })), 'infrastructure');\n\n if (config.infrastructure.storage.provider === 'minio') {\n const minioSecret = k8sServiceSecretName('minio');\n emit(minioSecret, toYaml(makeSecret(minioSecret, namespace, {\n [MINIO_CREDENTIAL_ENV_KEYS.ROOT_USER]: credentials.storage.accessKey,\n [MINIO_CREDENTIAL_ENV_KEYS.ROOT_PASSWORD]: credentials.storage.secretKey,\n })), 'infrastructure');\n }\n\n if (config.database.engine === DatabaseEngine.POSTGRESQL) {\n const pgSecret = k8sServiceSecretName('postgresql');\n emit(pgSecret, toYaml(makeSecret(pgSecret, namespace, {\n [POSTGRESQL_CREDENTIAL_ENV_KEYS.ADMIN_USER]: credentials.postgresql.adminUser,\n [POSTGRESQL_CREDENTIAL_ENV_KEYS.ADMIN_PASSWORD]: credentials.postgresql.adminPassword,\n [POSTGRESQL_CREDENTIAL_ENV_KEYS.ADMIN_DATABASE]: config.infrastructure.postgresql.database,\n })), 'infrastructure');\n }\n\n // immudb self-hosted audit store (Audit Phase 2). Emit an `immudb-secret` when this env\n // self-deploys immudb (`backingServices.immudb.source === SELF`). It carries up to two keys,\n // both consumed by the StatefulSet as OPTIONAL refs:\n //\n // - `IMMUDB_STATE_SIGNING_KEY` — the SEC1 \"EC PRIVATE KEY\" PEM immudb signs its `ImmutableState`\n // with (`--signingKey`), turning the whole-server-substitution defense ON. Provisioned from the\n // `FRAMEWORK_MANAGED_SECRET_MATERIALS` registry (`credentials.immudb.stateSigningPrivateKey`) at\n // setup AND by the idempotent self-heal, so it is present for any file-backed env. The\n // StatefulSet mounts it\n // as a FILE (immudb reads a path, not an env var). SERVER-side ONLY — the private key never\n // reaches an app pod; the matching PUBLIC key is pinned by the audit client via\n // `IMMUDB_STATE_PUBLIC_KEY` (a `providerEnv` entry → `providers-secret`, §4).\n // - `IMMUDB_ADMIN_PASSWORD` — the built-in `immudb` admin's initial password, sourced from the\n // operator's `IMMUDB_PASSWORD` provider secret so the server admin login matches the credential\n // the audit-sink provider connects with (single source of truth). Optional: absent ⇒ immudb's\n // packaged default admin.\n //\n // Mirrors the mongodb-secret shape (a dedicated infra Secret whose keys are exactly what the\n // container reads). Managed/external immudb (`source !== SELF`) self-deploys nothing, so no secret\n // is emitted; the provider still reaches the external host via its own `IMMUDB_HOST`.\n if (env.backingServices?.[BackingServiceKind.IMMUDB]?.source === BackingServiceSource.SELF) {\n const immudbSecretData: Record<string, string> = {};\n const immudbSigningKey = credentials.immudb?.stateSigningPrivateKey;\n if (immudbSigningKey) {\n immudbSecretData[IMMUDB_CREDENTIAL_ENV_KEYS.SERVER.STATE_SIGNING_KEY] = immudbSigningKey;\n }\n const immudbAdminPassword = credentials.providerEnv?.[IMMUDB_CREDENTIAL_ENV_KEYS.PROVIDER.PASSWORD];\n if (immudbAdminPassword) {\n immudbSecretData[IMMUDB_CREDENTIAL_ENV_KEYS.SERVER.ADMIN_PASSWORD] = immudbAdminPassword;\n }\n if (Object.keys(immudbSecretData).length > 0) {\n const immudbSecret = k8sServiceSecretName('immudb');\n emit(immudbSecret, toYaml(makeSecret(immudbSecret, namespace, immudbSecretData)), 'infrastructure');\n }\n }\n\n // ========================================================================\n // 4. Provider secrets (shared across application services)\n //\n // `providers-secret` is APP-data, not platform-service-data: it holds the\n // provider API keys (OpenAI, Anthropic, Resend, ...) consumed by every\n // application backend pod and dev companion via `envFrom: { optional: true }`\n // in the deployment template. It must be emitted whenever any consumer pod\n // could read it — independent of whether the framework-developer toggle\n // skips emitting platform-service Secrets/ConfigMaps in this same pass.\n //\n // Category is `'application'` (not `'platform'`): the writer routes by\n // category into `secrets/<category>/<name>.yaml`, and a `'platform'` label\n // would couple this emit to `includePlatformResources` at the writer side\n // (the platform output dir is created only when platform services are\n // emitted). Labelling it as application-data keeps the writer routing\n // honest — the file lands next to the per-app Secrets that consume it.\n // ========================================================================\n\n if (credentials.providerEnv) {\n const providerData: Record<string, string> = {};\n for (const [envVarName, value] of Object.entries(credentials.providerEnv)) {\n setIfDefined(providerData, envVarName, value);\n }\n\n if (Object.keys(providerData).length > 0) {\n const providersSecret = k8sServiceSecretName('providers');\n emit(providersSecret, toYaml(makeSecret(providersSecret, namespace, providerData)), 'application');\n }\n }\n\n // ========================================================================\n // 5. Application backend services (one Secret per app)\n //\n // Application backends emit a single per-app Secret carrying every env var\n // the pod needs at boot — sensitive AND non-sensitive together. The\n // application backend deployment template\n // (`wildo-ai-application/backend.deployment.yaml.hbs`) mounts the per-app\n // Secret via `envFrom: secretRef`, so all entries surface\n // as `process.env.*` regardless of K8s resource type. Splitting into Secret +\n // ConfigMap added zero runtime value for app backends (the ConfigMap was\n // emitted but never mounted by the template) and fragmented the canonical\n // sink.\n //\n // Tradeoff: stuffing non-sensitive vars (`MONGODB_HOST`, `REDIS_PORT`,\n // `STORAGE_BUCKET`, ...) into a `kind: Secret` loses the RBAC granularity\n // that operators sometimes use to scope read access (configmaps vs\n // secrets), and means drift detectors that diff ConfigMap content openly\n // can't see these vars. Accepted because the previous \"split\" never\n // actually delivered that granularity in practice — the per-app ConfigMap\n // was orphan, so no operator ever read non-sensitive app vars from it.\n //\n // Provider env vars are emitted to the shared `providers-secret` (§4 above)\n // and consumed by app pods via a separate `envFrom` block in the deployment\n // template. Strip them from the per-app env so each provider key has\n // exactly one K8s sink.\n // ========================================================================\n\n // One canonical `{appSlug}-secret` per app (NOT per backend service): the\n // k8s app deploy is single-pod-per-app, and the app Deployment + every minion\n // + every worker `envFrom`-mount this SAME Secret (see the `wildo-ai-application`\n // + minion/worker templates). Keying on the app SLUG (`target.appName`) keeps\n // emit-name == mount-name; keying on the backend `serviceName` (the historical\n // bug) produced `{serviceName}-secret`, which no template mounts → fail-closed\n // boot. Dedup so multiple backend targets sharing one app don't collide.\n const emittedAppSecrets = new Set<string>();\n if (options.applicationBackends) {\n for (const target of options.applicationBackends) {\n const appEnvFull = PlatformEnvVarsBuilder.buildApplicationBackendEnv(\n target.bootstrapCredentials,\n target.serviceName,\n credentials,\n addresses,\n config,\n env.name,\n // REMOTE lane, same declared scope as the local `.env`. This site had NO scope until the\n // parameter became required — so the k8s `{appSlug}-secret` carried every provider secret\n // before the filter existed, and would have carried none after it, in the one lane where\n // no dev watcher is around to notice the application failing to resolve its providers.\n declaredProviderScope(target.scopedProviderRefs),\n {\n appDatabaseName: target.appDatabaseName,\n redisKeyPrefix: target.redisKeyPrefix,\n storageBucketPrefix: target.storageBucketPrefix,\n deploymentLocationType: env.locationType,\n mongodbDirectConnection: env.locationType === WildoLocationType.LOCAL,\n // Serialized into APPLICATION_RUNTIME_ENDPOINTS so the remote app\n // backend can reconstruct `runtime.endPoints` (serviceHosts-driven\n // public URLs + cluster-DNS internal URLs). Omitting this left the\n // remote app with NO runtime topology — CORS/frontend-URL lookups\n // (`lookupFrontendPublicUrl`, X-Frontend-Service-Name) failed. The\n // target's endpoints were built by `buildK8sApplicationRuntimeEndpoints`\n // and MUST match this pass's ingress hosts (the CORS invariant).\n runtimeEndpoints: target.runtimeEndpoints,\n // Backend→worker dispatch URLs (G-8 / MW4): emit `WILDO_WORKER_<NAME>_URL`\n // into the `{appSlug}-secret` the backend pod mounts, so the backend can\n // call each declared worker's per-app ClusterIP Service.\n workerUrls: target.workerUrls,\n },\n );\n const appEnv: Record<string, string> = {};\n for (const [key, value] of Object.entries(appEnvFull)) {\n if (!configuredProviderEnvKeys.has(key)) {\n appEnv[key] = value;\n }\n }\n\n // Canonical name = `{appSlug}-secret` (`target.appName` is the app slug,\n // populated for REMOTE — the only lane that emits k8s manifests). Fall\n // back to the backend serviceName only if a caller ever omits appName.\n const secretName = k8sAppBackendSecretName(target.appName ?? target.serviceName);\n if (!emittedAppSecrets.has(secretName) && Object.keys(appEnv).length > 0) {\n emittedAppSecrets.add(secretName);\n emit(secretName, toYaml(makeSecret(secretName, namespace, appEnv)), 'application');\n }\n }\n }\n\n return output;\n}\n\n// ============================================================================\n// Per-service emit helper\n// ============================================================================\n\nfunction emitPlatformService(\n emit: (name: string, yaml: string, category: K8sResourceCategory) => void,\n service: PlatformWildoServices,\n env: Record<string, string>,\n namespace: string,\n credentials: PlatformEnvSecretsJson,\n config: PlatformEnvConfigJson,\n): void {\n const { secret, config: configData } = splitEnv(env);\n\n if (service === PlatformWildoServices.APPS_MANAGER) {\n if (credentials.atlas) {\n secret['WILDO_MONGO_ATLAS_API_KEY_PUBLIC'] = credentials.atlas.apiPublicKey;\n secret['WILDO_MONGO_ATLAS_API_KEY_PRIVATE'] = credentials.atlas.apiPrivateKey;\n }\n if (config.atlas) {\n configData['ATLAS_API_BASE_URL'] = config.atlas.apiBaseUrl;\n configData['ATLAS_PROJECT_ID'] = config.atlas.projectId;\n configData['MONGO_MAIN_CLUSTER_REF'] = config.atlas.clusterName;\n }\n }\n\n\n const secretName = k8sServiceSecretName(service);\n const configMapName = k8sServiceConfigMapName(service);\n\n if (Object.keys(secret).length > 0) {\n emit(secretName, toYaml(makeSecret(secretName, namespace, secret)), 'platform');\n }\n if (Object.keys(configData).length > 0) {\n emit(configMapName, toYaml(makeConfigMap(configMapName, namespace, configData)), 'platform');\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"k8s-secrets-generator.service.js","sourceRoot":"","sources":["../../../../../src/services/deployment/k8s/k8s-secrets-generator.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AAGjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AACzF,OAAO,EAAE,qBAAqB,EAAE,MAAM,yDAAyD,CAAC;AAChG,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,8DAA8D,CAAC;AAC1H,OAAO,EAAE,sBAAsB,EAAE,MAAM,0DAA0D,CAAC;AAClG,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AAMvF,OAAO,EAAE,uBAAuB,EAAE,MAAM,qEAAq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G,CAAC,CAAC;IAErD,IAAI,OAAO,KAAK,qBAAqB,CAAC,YAAY,EAAE,CAAC;QACnD,IAAI,WAAW,CAAC,KAAK,EAAE,CAAC;YACtB,MAAM,CAAC,kCAAkC,CAAC,GAAG,WAAW,CAAC,KAAK,CAAC,YAAY,CAAC;YAC5E,MAAM,CAAC,mCAAmC,CAAC,GAAG,WAAW,CAAC,KAAK,CAAC,aAAa,CAAC;QAChF,CAAC;QACD,IAAI,MAAM,CAAC,KAAK,EAAE,CAAC;YACjB,UAAU,CAAC,oBAAoB,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC;YAC3D,UAAU,CAAC,kBAAkB,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;YACxD,UAAU,CAAC,wBAAwB,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,WAAW,CAAC;QAClE,CAAC;IACH,CAAC;IAGD,MAAM,UAAU,GAAG,oBAAoB,CAAC,OAAO,CAAC,CAAC;IACjD,MAAM,aAAa,GAAG,uBAAuB,CAAC,OAAO,CAAC,CAAC;IAEvD,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACnC,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,UAAU,CAAC,UAAU,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC;IAClF,CAAC;IACD,IAAI,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACvC,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,aAAa,CAAC,aAAa,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC;IAC/F,CAAC;AACH,CAAC","sourcesContent":["import { stringify } from 'yaml';\nimport type { PlatformEnvConfigJson, PlatformEnvSecretsJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\nimport { SENSITIVE_ENV_KEYS } from '~wildo-cli/services/credentials/credentials.schemas';\nimport { declaredProviderScope } from '~wildo-cli/services/credentials/provider-env-vars.utils';\nimport { ServiceAddressResolver, AddressPerspective } from '~wildo-cli/services/catalog/service-address-resolver.service';\nimport { PlatformEnvVarsBuilder } from '~wildo-cli/services/environment/env-vars-builder.service';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport type {\n ApplicationBackendEnvTarget,\n ApplicationMinionEnvTarget,\n ApplicationWorkerEnvTarget,\n} from '~wildo-cli/services/environment/env-configuration-generator.service';\nimport { loadInfraHydratedConfig } from '~wildo-cli/services/environment/env-configuration-generator.service';\nimport { shouldDeployPlatformServicesInRuntime } from '~wildo-cli/services/deployment/platform-runtime-policy.service';\nimport { BackingServiceKind, BackingServiceSource, BOOTSTRAP_PLATFORM_SERVICES, DatabaseEngine, K8S_LOCAL_DEFAULTS, PlatformWildoServices, WildoLocationType, k8sServiceSecretName, k8sServiceConfigMapName, k8sAppBackendSecretName, k8sRuntimeProvidersSecretName, k8sRuntimeEnvSecretName } from '@wildo-ai/platform-config-lib';\nimport { buildMinionServiceName, buildWorkerServiceName } from '@wildo-ai/platform-core-shared';\nimport {\n MONGODB_CREDENTIAL_ENV_KEYS,\n VALKEY_CREDENTIAL_ENV_KEYS,\n RABBITMQ_CREDENTIAL_ENV_KEYS,\n MINIO_CREDENTIAL_ENV_KEYS,\n POSTGRESQL_CREDENTIAL_ENV_KEYS,\n IMMUDB_CREDENTIAL_ENV_KEYS,\n} from '~wildo-cli/services/data-services/data-services.schemas';\nimport {\n K8S_LABELS,\n} from '~wildo-cli/services/deployment/k8s/k8s.schemas';\n// ============================================================================\n// Types\n// ============================================================================\n\ninterface K8sResource {\n apiVersion: 'v1';\n kind: 'Secret' | 'ConfigMap';\n metadata: {\n name: string;\n namespace: string;\n labels: Record<string, string>;\n };\n type?: 'Opaque';\n data: Record<string, string>;\n}\n\n// ============================================================================\n// Helpers\n// ============================================================================\n\nfunction toBase64(value: string): string {\n return Buffer.from(value, 'utf-8').toString('base64');\n}\n\nfunction toYaml(resource: K8sResource): string {\n return stringify(resource, { lineWidth: 0, defaultKeyType: 'PLAIN' });\n}\n\nfunction defaultLabels(): Record<string, string> {\n return {\n [K8S_LABELS.keys.PART_OF]: K8S_LABELS.values.WILDO_PLATFORM,\n [K8S_LABELS.keys.MANAGED_BY]: K8S_LABELS.values.WILDO_CLI,\n };\n}\n\nfunction makeSecret(name: string, namespace: string, rawData: Record<string, string>): K8sResource {\n const encoded: Record<string, string> = {};\n for (const [key, value] of Object.entries(rawData)) {\n encoded[key] = toBase64(value);\n }\n return {\n apiVersion: 'v1',\n kind: 'Secret',\n metadata: { name, namespace, labels: defaultLabels() },\n type: 'Opaque',\n data: encoded,\n };\n}\n\nfunction makeConfigMap(name: string, namespace: string, data: Record<string, string>): K8sResource {\n return {\n apiVersion: 'v1',\n kind: 'ConfigMap',\n metadata: { name, namespace, labels: defaultLabels() },\n data,\n };\n}\n\n/**\n * Split a flat env var record into sensitive (→ Secret) and non-sensitive\n * (→ ConfigMap).\n *\n * Sensitivity is determined exclusively by the `SENSITIVE_ENV_KEYS` set (which already includes\n * provider-key names via `PROVIDER_SENSITIVE_ENV_KEYS`).\n *\n * That set is LIVE, not static — it recomputes from the composed provider catalogue on every read\n * (#329). It was a module-load snapshot until then, which was silently wrong for any provider\n * shipped as its own package: discovery necessarily runs after the credential layer is imported,\n * so a snapshot could not contain such a provider's keys, and they were classified non-sensitive\n * and written into a `ConfigMap`. Nothing here changes as a result — `.has()` is the whole\n * contract — but do not reintroduce a local copy of the set, which would restore the snapshot.\n *\n * Used only by the platform-service emit path (apps-manager + bootstrap\n * services) which actually benefits from the Secret/ConfigMap split. The\n * application-backend path (§5 of `generateK8sSecrets`) intentionally puts\n * everything into a single Secret per app — see the \"one Secret per app\"\n * rationale in §5.\n */\nfunction splitEnv(\n env: Record<string, string>,\n): { secret: Record<string, string>; config: Record<string, string> } {\n const secret: Record<string, string> = {};\n const config: Record<string, string> = {};\n for (const [key, value] of Object.entries(env)) {\n if (SENSITIVE_ENV_KEYS.has(key)) {\n secret[key] = value;\n } else {\n config[key] = value;\n }\n }\n return { secret, config };\n}\n\nfunction setIfDefined(target: Record<string, string>, key: string, value: string | undefined | null): void {\n if (value != null) {\n target[key] = value;\n }\n}\n\n\n// ============================================================================\n// Generator\n// ============================================================================\n\nexport type K8sResourceCategory = 'platform' | 'infrastructure' | 'application';\n\nexport interface K8sGeneratedResource {\n yaml: string;\n category: K8sResourceCategory;\n}\n\n/**\n * Generates K8s Secret + ConfigMap YAML for all platform, infra, and app services.\n *\n * Uses ServiceAddressResolver (CONTAINER_INTERNAL / K8s perspective) and\n * PlatformEnvVarsBuilder for env var construction, then splits into\n * sensitive (Secret, base64) and non-sensitive (ConfigMap, plain-text).\n *\n * Returns a map of resource-name → { yaml, category } for directory routing.\n */\nexport function generateK8sSecrets(\n env: PlatformEnvironmentConfiguration,\n credentials: PlatformEnvSecretsJson,\n options: {\n applicationBackends?: ApplicationBackendEnvTarget[];\n /**\n * The app's declared minions and workers. Each owns a provider Secret scoped to its own\n * `providers.scopes.{minions,workers}.<name>` (#369). Omitting them is not a silent \"no\n * providers\" — it emits no Secret, and the pod's `optional: true` mount then finds nothing, so\n * a caller that renders minion/worker Deployments MUST pass them here too or those runtimes\n * boot with no provider credentials at all.\n */\n applicationMinions?: ApplicationMinionEnvTarget[];\n applicationWorkers?: ApplicationWorkerEnvTarget[];\n isFrameworkDeveloper?: boolean;\n config?: PlatformEnvConfigJson;\n } = {},\n): Record<string, K8sGeneratedResource> {\n // Single load+hydrate seam — the k8s ConfigMaps this generator emits must carry the infra posture\n // (OTEL_*/LOG_LEVEL/provider-selection) the setup config.json omits; takes `options.config` when a\n // caller (CI) already holds one.\n const config = loadInfraHydratedConfig(env, options.config);\n\n const namespace = env.kubernetes?.namespace ?? K8S_LOCAL_DEFAULTS.NAMESPACE;\n const addressCtx = ServiceAddressResolver.fromEnvironment(env, AddressPerspective.CONTAINER_INTERNAL);\n const addresses = ServiceAddressResolver.resolve(addressCtx);\n const output: Record<string, K8sGeneratedResource> = {};\n const includePlatformResources = shouldDeployPlatformServicesInRuntime(\n env,\n options.isFrameworkDeveloper ?? false,\n );\n\n function emit(name: string, yaml: string, category: K8sResourceCategory): void {\n output[name] = { yaml, category };\n }\n\n // ========================================================================\n // 1. Apps-Manager (Secret + ConfigMap)\n // ========================================================================\n\n if (includePlatformResources) {\n const appsManagerEnv = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(\n credentials,\n addresses,\n config,\n env,\n {\n includeBootstrapAdminCredentials: false,\n },\n );\n emitPlatformService(emit, PlatformWildoServices.APPS_MANAGER, appsManagerEnv, namespace, credentials, config);\n }\n\n // ========================================================================\n // 2. Bootstrap services (Secret + ConfigMap each)\n // ========================================================================\n\n if (includePlatformResources) {\n for (const service of BOOTSTRAP_PLATFORM_SERVICES) {\n const serviceEnv = PlatformEnvVarsBuilder.buildBootstrapEnv(service, credentials, addresses, config, env);\n emitPlatformService(emit, service, serviceEnv, namespace, credentials, config);\n }\n }\n\n // ========================================================================\n // 3. Infra service secrets (for infra container startup)\n // ========================================================================\n\n // Slice 4 (4.7) — emit `mongodb-secret` only for envs that actually\n // self-deploy a local mongod. Atlas / managed envs use `apps-manager`\n // env vars to reach the external cluster instead, so a local secret\n // would be unused at best, misleading at worst.\n // Keys MUST match the env names the `mongo:8.2` entrypoint reads\n // (MONGO_INITDB_ROOT_USERNAME / MONGO_INITDB_ROOT_PASSWORD) — the\n // K8s StatefulSet binds them directly via secretKeyRef. Re-verified on 8.2\n // (issue #74): its `docker-entrypoint.sh` still reads exactly these two.\n if (EnvironmentUtils.needsLocalMongoDB(env) && credentials.mongodb) {\n const mongoSecret = k8sServiceSecretName('mongodb');\n emit(mongoSecret, toYaml(makeSecret(mongoSecret, namespace, {\n [MONGODB_CREDENTIAL_ENV_KEYS.ROOT_USER]: credentials.mongodb.rootUser,\n [MONGODB_CREDENTIAL_ENV_KEYS.ROOT_PASSWORD]: credentials.mongodb.rootPassword,\n })), 'infrastructure');\n }\n\n // Issue #74 — `mongot-secret`, the SCRAM password the MongoDB Search / Vector Search\n // sidecar authenticates to mongod with. TWO workloads read this one key, which is the\n // reason it is a framework-managed material rather than something either lane mints:\n //\n // - the `mongodb-init` Job, as an OPTIONAL env var, to create/update the\n // `searchCoordinator`-roled user;\n // - the `mongot` StatefulSet, projected as a FILE at `MONGOT_SYNC_SOURCE.PASSWORD_FILE_PATH`\n // with `defaultMode: 0400` — mongot reads a `passwordFile` path and refuses anything\n // more permissive.\n //\n // Same gate as the mongod secret: mongot is an attachment to a self-hosted mongod. Emitted\n // only when the material exists, so a CI-reconstructed secrets.json (which publishes no\n // mongot material) renders no secret, the mongot workload's volume has nothing to bind, and\n // the init Job's optional ref simply skips the user creation — degraded consistently rather\n // than half-wired.\n if (EnvironmentUtils.needsLocalMongoDB(env) && credentials.mongot?.syncSourcePassword) {\n const mongotSecret = k8sServiceSecretName('mongot');\n emit(mongotSecret, toYaml(makeSecret(mongotSecret, namespace, {\n MONGOT_SYNC_SOURCE_PASSWORD: credentials.mongot.syncSourcePassword,\n })), 'infrastructure');\n }\n\n if (credentials.valkey) {\n const valkeySecret = k8sServiceSecretName('valkey');\n emit(valkeySecret, toYaml(makeSecret(valkeySecret, namespace, {\n [VALKEY_CREDENTIAL_ENV_KEYS.PASSWORD]: credentials.valkey.adminPassword,\n })), 'infrastructure');\n }\n\n const rabbitmqSecret = k8sServiceSecretName('rabbitmq');\n emit(rabbitmqSecret, toYaml(makeSecret(rabbitmqSecret, namespace, {\n [RABBITMQ_CREDENTIAL_ENV_KEYS.DEFAULT_USER]: credentials.rabbitmq.adminUsername,\n [RABBITMQ_CREDENTIAL_ENV_KEYS.DEFAULT_PASS]: credentials.rabbitmq.adminPassword,\n [RABBITMQ_CREDENTIAL_ENV_KEYS.ERLANG_COOKIE]: credentials.rabbitmq.erlangCookie,\n })), 'infrastructure');\n\n if (config.infrastructure.storage.provider === 'minio') {\n const minioSecret = k8sServiceSecretName('minio');\n emit(minioSecret, toYaml(makeSecret(minioSecret, namespace, {\n [MINIO_CREDENTIAL_ENV_KEYS.ROOT_USER]: credentials.storage.accessKey,\n [MINIO_CREDENTIAL_ENV_KEYS.ROOT_PASSWORD]: credentials.storage.secretKey,\n })), 'infrastructure');\n }\n\n // The PAIRED site of the PostgreSQL emission gate (`invariant-call-site-enumeration.md`): the\n // StatefulSet's `POSTGRES_USER` / `POSTGRES_PASSWORD` / `POSTGRES_DB` are REQUIRED `secretKeyRef`s,\n // so a workload emitted without this Secret cannot start at all. `database.engine` alone is the\n // narrower half — `needsLocalPostgreSQL` also covers an env that declares\n // `backingServices.postgresql: { source: SELF }` on a Mongo-engined platform, which is exactly the\n // \"PostgreSQL for the application's resources\" shape the Compose lane already provisions through\n // `shouldProvisionPostgreSQL`'s identical union. `credentials.postgresql` is REQUIRED by\n // `PlatformEnvSecretsJson_Schema`, so the widened branch can always be satisfied.\n if (config.database.engine === DatabaseEngine.POSTGRESQL || EnvironmentUtils.needsLocalPostgreSQL(env)) {\n const pgSecret = k8sServiceSecretName('postgresql');\n emit(pgSecret, toYaml(makeSecret(pgSecret, namespace, {\n [POSTGRESQL_CREDENTIAL_ENV_KEYS.ADMIN_USER]: credentials.postgresql.adminUser,\n [POSTGRESQL_CREDENTIAL_ENV_KEYS.ADMIN_PASSWORD]: credentials.postgresql.adminPassword,\n [POSTGRESQL_CREDENTIAL_ENV_KEYS.ADMIN_DATABASE]: config.infrastructure.postgresql.database,\n })), 'infrastructure');\n }\n\n // immudb self-hosted audit store (Audit Phase 2). Emit an `immudb-secret` when this env\n // self-deploys immudb (`backingServices.immudb.source === SELF`). It carries up to two keys,\n // both consumed by the StatefulSet as OPTIONAL refs:\n //\n // - `IMMUDB_STATE_SIGNING_KEY` — the SEC1 \"EC PRIVATE KEY\" PEM immudb signs its `ImmutableState`\n // with (`--signingKey`), turning the whole-server-substitution defense ON. Provisioned from the\n // `FRAMEWORK_MANAGED_SECRET_MATERIALS` registry (`credentials.immudb.stateSigningPrivateKey`) at\n // setup AND by the idempotent self-heal, so it is present for any file-backed env. The\n // StatefulSet mounts it\n // as a FILE (immudb reads a path, not an env var). SERVER-side ONLY — the private key never\n // reaches an app pod; the matching PUBLIC key is pinned by the audit client via\n // `IMMUDB_STATE_PUBLIC_KEY` (a `providerEnv` entry → `providers-secret`, §4).\n // - `IMMUDB_ADMIN_PASSWORD` — the built-in `immudb` admin's initial password, sourced from the\n // operator's `IMMUDB_PASSWORD` provider secret so the server admin login matches the credential\n // the audit-sink provider connects with (single source of truth). Optional: absent ⇒ immudb's\n // packaged default admin.\n //\n // Mirrors the mongodb-secret shape (a dedicated infra Secret whose keys are exactly what the\n // container reads). Managed/external immudb (`source !== SELF`) self-deploys nothing, so no secret\n // is emitted; the provider still reaches the external host via its own `IMMUDB_HOST`.\n if (env.backingServices?.[BackingServiceKind.IMMUDB]?.source === BackingServiceSource.SELF) {\n const immudbSecretData: Record<string, string> = {};\n const immudbSigningKey = credentials.immudb?.stateSigningPrivateKey;\n if (immudbSigningKey) {\n immudbSecretData[IMMUDB_CREDENTIAL_ENV_KEYS.SERVER.STATE_SIGNING_KEY] = immudbSigningKey;\n }\n const immudbAdminPassword = credentials.providerEnv?.[IMMUDB_CREDENTIAL_ENV_KEYS.PROVIDER.PASSWORD];\n if (immudbAdminPassword) {\n immudbSecretData[IMMUDB_CREDENTIAL_ENV_KEYS.SERVER.ADMIN_PASSWORD] = immudbAdminPassword;\n }\n if (Object.keys(immudbSecretData).length > 0) {\n const immudbSecret = k8sServiceSecretName('immudb');\n emit(immudbSecret, toYaml(makeSecret(immudbSecret, namespace, immudbSecretData)), 'infrastructure');\n }\n }\n\n // ========================================================================\n // 4. Provider secrets — ONE SECRET PER RUNTIME (issue #369)\n //\n // Provider credentials are APP-data, not platform-service-data, and each application runtime\n // receives exactly the providers its `providers.scopes.<runtime>` declares — the same boundary\n // the generated `.env` lane enforces (#329), now enforced in this lane too.\n //\n // ## What this replaced, because the shape is the whole defect\n //\n // There used to be ONE cluster-wide `providers-secret` holding the application's entire\n // `providerEnv`, `envFrom`-mounted by the backend, every minion AND every worker. `envFrom`\n // MERGES, so a provider key the per-app Secret withheld arrived from that second reference: on\n // Kubernetes a worker authoring `providers: {}` received every provider key the application had,\n // in its process environment, which is exactly what LLM-driven minion code reads. Measured by\n // generating manifests: `providers-secret` carried `STRIPE_SECRET_KEY` and `OPENAI_API_KEY` for a\n // runtime scoped to neither. The confinement held in the compose lane and did not exist here at\n // all — one contract, two deployment lanes, one swept\n // (`.claude/rules/invariant-call-site-enumeration.md` #23).\n //\n // ## Three properties worth not re-deriving\n //\n // - **Emit-name == mount-name, from one function.** Both sides call\n // {@link k8sRuntimeProvidersSecretName}, and the templates receive the resolved name as\n // `{{providersSecretName}}` rather than composing it. This file already carries the scar from\n // the other direction: an emit keyed on the backend `serviceName` produced a Secret no template\n // mounted, and the pod failed closed at boot.\n // - **A runtime that declares no providers gets NO Secret**, not an empty one. That is the correct\n // outcome for `myRustWorker`, and it is why the mount stays `optional: true`.\n // - **Category is `'application'`** (not `'platform'`): the writer routes by category into\n // `secrets/<category>/<name>.yaml`, and a `'platform'` label would couple these emits to\n // `includePlatformResources` at the writer side, where the platform output dir only exists when\n // platform services are emitted. These land beside the per-app Secrets that consume them.\n // ========================================================================\n\n /**\n * Emit one runtime's provider Secret and return the keys it carries, so the caller can keep them\n * out of that runtime's other Secret rather than shipping the same credential twice.\n */\n function emitRuntimeProvidersSecret(\n runtimeServiceName: string,\n scopedProviderRefs: readonly string[],\n ): ReadonlySet<string> {\n const providerEnv = PlatformEnvVarsBuilder.buildScopedProviderEnv(\n credentials,\n declaredProviderScope(scopedProviderRefs),\n );\n const providerData: Record<string, string> = {};\n for (const [envVarName, value] of Object.entries(providerEnv)) {\n setIfDefined(providerData, envVarName, value);\n }\n if (Object.keys(providerData).length === 0) return new Set();\n\n const secretName = k8sRuntimeProvidersSecretName(runtimeServiceName);\n emit(secretName, toYaml(makeSecret(secretName, namespace, providerData)), 'application');\n const keys = new Set(Object.keys(providerData));\n // Recorded so § 6 can strip exactly these from the same runtime's ENV Secret — a provider key\n // must have one sink per pod, and deriving the strip from the emitted Secret keeps that a\n // single decision rather than two rules to keep in agreement.\n providerKeysByRuntime.set(runtimeServiceName, keys);\n return keys;\n }\n\n // Minions and workers own no other Secret in this lane, so their provider Secret is emitted\n // directly here; the backend's is emitted inside § 5, where the per-target scope also decides\n // what its app Secret must NOT repeat.\n const emittedRuntimeProviderSecrets = new Set<string>();\n /** runtime service name → the provider keys its provider Secret carries (read by § 6). */\n const providerKeysByRuntime = new Map<string, ReadonlySet<string>>();\n for (const minion of options.applicationMinions ?? []) {\n if (!minion.appName) continue;\n const runtimeServiceName = buildMinionServiceName(minion.appName, minion.minionName);\n if (emittedRuntimeProviderSecrets.has(runtimeServiceName)) continue;\n emittedRuntimeProviderSecrets.add(runtimeServiceName);\n emitRuntimeProvidersSecret(runtimeServiceName, minion.scopedProviderRefs);\n }\n for (const worker of options.applicationWorkers ?? []) {\n if (!worker.appName) continue;\n const runtimeServiceName = buildWorkerServiceName(worker.appName, worker.workerName);\n if (emittedRuntimeProviderSecrets.has(runtimeServiceName)) continue;\n emittedRuntimeProviderSecrets.add(runtimeServiceName);\n emitRuntimeProvidersSecret(runtimeServiceName, worker.scopedProviderRefs);\n }\n\n // ========================================================================\n // 5. Application backend services (one Secret per app)\n //\n // Application backends emit a single per-app Secret carrying every env var\n // the pod needs at boot — sensitive AND non-sensitive together. The\n // application backend deployment template\n // (`wildo-ai-application/backend.deployment.yaml.hbs`) mounts the per-app\n // Secret via `envFrom: secretRef`, so all entries surface\n // as `process.env.*` regardless of K8s resource type. Splitting into Secret +\n // ConfigMap added zero runtime value for app backends (the ConfigMap was\n // emitted but never mounted by the template) and fragmented the canonical\n // sink.\n //\n // Tradeoff: stuffing non-sensitive vars (`MONGODB_HOST`, `REDIS_PORT`,\n // `STORAGE_BUCKET`, ...) into a `kind: Secret` loses the RBAC granularity\n // that operators sometimes use to scope read access (configmaps vs\n // secrets), and means drift detectors that diff ConfigMap content openly\n // can't see these vars. Accepted because the previous \"split\" never\n // actually delivered that granularity in practice — the per-app ConfigMap\n // was orphan, so no operator ever read non-sensitive app vars from it.\n //\n // Provider env vars are emitted to this runtime's OWN provider Secret (§4 above, one per\n // runtime since #369 — there is no shared `providers-secret` any more) and consumed by the pod\n // via a separate `envFrom` block in the deployment template. Strip them from the per-app env so\n // each provider key has exactly one K8s sink.\n // ========================================================================\n\n // One canonical `{appSlug}-secret` per app (NOT per backend service): the k8s app deploy is\n // single-pod-per-app, so the app Deployment `envFrom`-mounts it. Minions and workers used to\n // mount this SAME Secret and no longer do — each has its own, emitted in § 6 (#377). Keying on\n // the app SLUG (`target.appName`) keeps\n // emit-name == mount-name; keying on the backend `serviceName` (the historical\n // bug) produced `{serviceName}-secret`, which no template mounts → fail-closed\n // boot. Dedup so multiple backend targets sharing one app don't collide.\n const emittedAppSecrets = new Set<string>();\n if (options.applicationBackends) {\n for (const target of options.applicationBackends) {\n const appEnvFull = PlatformEnvVarsBuilder.buildApplicationBackendEnv(\n target.bootstrapCredentials,\n target.serviceName,\n credentials,\n addresses,\n config,\n env.name,\n // REMOTE lane, same declared scope as the local `.env`. This site had NO scope until the\n // parameter became required — so the k8s `{appSlug}-secret` carried every provider secret\n // before the filter existed, and would have carried none after it, in the one lane where\n // no dev watcher is around to notice the application failing to resolve its providers.\n declaredProviderScope(target.scopedProviderRefs),\n {\n appDatabaseName: target.appDatabaseName,\n redisKeyPrefix: target.redisKeyPrefix,\n storageBucketPrefix: target.storageBucketPrefix,\n deploymentLocationType: env.locationType,\n mongodbDirectConnection: env.locationType === WildoLocationType.LOCAL,\n // Serialized into APPLICATION_RUNTIME_ENDPOINTS so the remote app\n // backend can reconstruct `runtime.endPoints` (serviceHosts-driven\n // public URLs + cluster-DNS internal URLs). Omitting this left the\n // remote app with NO runtime topology — CORS/frontend-URL lookups\n // (`lookupFrontendPublicUrl`, X-Frontend-Service-Name) failed. The\n // target's endpoints were built by `buildK8sApplicationRuntimeEndpoints`\n // and MUST match this pass's ingress hosts (the CORS invariant).\n runtimeEndpoints: target.runtimeEndpoints,\n // Backend→worker dispatch URLs (G-8 / MW4): emit `WILDO_WORKER_<NAME>_URL`\n // into the `{appSlug}-secret` the backend pod mounts, so the backend can\n // call each declared worker's per-app ClusterIP Service.\n workerUrls: target.workerUrls,\n },\n );\n // The backend's OWN provider Secret, scoped exactly as its env was (#369). Emitted here\n // rather than in § 4 because the same scope decides what the app Secret must NOT repeat.\n const backendRuntimeServiceName = target.appName ?? target.serviceName;\n const backendProviderKeys = emittedRuntimeProviderSecrets.has(backendRuntimeServiceName)\n ? new Set<string>()\n : emitRuntimeProvidersSecret(backendRuntimeServiceName, target.scopedProviderRefs);\n emittedRuntimeProviderSecrets.add(backendRuntimeServiceName);\n\n // Provider keys live in the provider Secret and NOWHERE ELSE, so the app Secret drops\n // exactly the keys that Secret carries.\n //\n // This used to drop every key present in `credentials.providerEnv` — the UNSCOPED bag. On\n // the OPERATOR-AUTHORED keys the two rules agree exactly, and that is provable rather than\n // hopeful: `appEnvFull`'s provider keys are fanned out by `resolveRuntimeProviderEnv` under\n // this same scope, and `backendProviderKeys` is that same function under that same scope, so\n // neither rule can strip a key the other keeps.\n //\n // They differ on ONE key, and it is the reason to prefer this one. `IMMUDB_STATE_PUBLIC_KEY`\n // is FRAMEWORK-INJECTED by `resolveRuntimeProviderEnv` and is absent from\n // `credentials.providerEnv`, so the old rule did not strip it and it rode in the app Secret —\n // which, at the time, every minion and worker also mounted. It now travels in the backend's provider\n // Secret instead: same delivery to the backend, and withheld from a runtime not scoped to\n // immudb, which is what the confinement is for.\n //\n // Deriving the strip from the emitted Secret's own keys also makes the two sides one decision\n // rather than two rules that must be kept in agreement by hand.\n const appEnv: Record<string, string> = {};\n for (const [key, value] of Object.entries(appEnvFull)) {\n if (!backendProviderKeys.has(key)) {\n appEnv[key] = value;\n }\n }\n\n // Canonical name = `{appSlug}-secret` (`target.appName` is the app slug,\n // populated for REMOTE — the only lane that emits k8s manifests). Fall\n // back to the backend serviceName only if a caller ever omits appName.\n const secretName = k8sAppBackendSecretName(target.appName ?? target.serviceName);\n if (!emittedAppSecrets.has(secretName) && Object.keys(appEnv).length > 0) {\n emittedAppSecrets.add(secretName);\n emit(secretName, toYaml(makeSecret(secretName, namespace, appEnv)), 'application');\n }\n }\n }\n\n // ========================================================================\n // 6. Per-minion and per-worker environment Secrets (issue #377)\n //\n // Every minion and worker pod used to `envFrom`-mount the BACKEND's `{appSlug}-secret`, so each\n // received the backend's whole environment: the platform bootstrap contract, MongoDB /\n // PostgreSQL / Redis / RabbitMQ topology, storage configuration — and, once #360 composed it,\n // the backend's `OTEL_EXPORTER_OTLP_HEADERS` carrying the telemetry token. The per-runtime\n // confinement #329/#360/#369 established was therefore defeated one level up: a minion scoped\n // to `openai` alone got no telemetry token in its own provider Secret and received it anyway,\n // out of a different runtime's environment.\n //\n // `buildApplicationMinionEnv` / `buildApplicationWorkerEnv` already existed, already took the\n // runtime's `RuntimeProviderScope`, and already produced the correctly-scoped environment for\n // the compose lane. This lane never called them. The option shapes below MIRROR the compose\n // call sites in `env-configuration-generator.service.ts` with the REMOTE variants, so one\n // application runtime cannot come to mean two different environments depending on how it is\n // deployed.\n //\n // Two deliberate deviations, both inherited from the backend's own § 5 rather than introduced\n // here — stated so neither reads as an oversight:\n // - `extraEnv` is NOT merged (the compose lane merges it). Not a regression: these runtimes\n // previously mounted the backend Secret, which carries none either.\n // - `serviceVersion` is NOT threaded, so `service.version` is absent from\n // `OTEL_RESOURCE_ATTRIBUTES` in this lane. Same for the backend today.\n // ========================================================================\n\n /** Emit one runtime's environment Secret, minus the keys its provider Secret already carries. */\n function emitRuntimeEnvSecret(\n runtimeServiceName: string,\n runtimeEnv: Record<string, string>,\n providerKeys: ReadonlySet<string>,\n ): void {\n const env: Record<string, string> = {};\n for (const [key, value] of Object.entries(runtimeEnv)) {\n if (!providerKeys.has(key)) env[key] = value;\n }\n if (Object.keys(env).length === 0) return;\n const secretName = k8sRuntimeEnvSecretName(runtimeServiceName);\n emit(secretName, toYaml(makeSecret(secretName, namespace, env)), 'application');\n }\n\n for (const minion of options.applicationMinions ?? []) {\n if (!minion.appName) continue;\n const runtimeServiceName = buildMinionServiceName(minion.appName, minion.minionName);\n emitRuntimeEnvSecret(\n runtimeServiceName,\n PlatformEnvVarsBuilder.buildApplicationMinionEnv(\n minion.bootstrapCredentials,\n minion.serviceName,\n credentials,\n addresses,\n config,\n env.name,\n declaredProviderScope(minion.scopedProviderRefs),\n // Forwarded verbatim, absence included — the builder withholds a backing service's\n // topology from a runtime that declared no access to it, and defaulting it here would\n // decide that at a site which knows nothing about the minion.\n minion.accessDeclaration,\n {\n appDatabaseName: minion.appDatabaseName,\n redisKeyPrefix: minion.redisKeyPrefix,\n storageBucketPrefix: minion.storageBucketPrefix,\n deploymentLocationType: env.locationType,\n // Both are LOCAL-only in the compose lane and must stay absent here: a runtime-signals\n // home is a developer-machine path, and a direct Mongo connection is the single-node\n // local topology rather than the cluster's replica set.\n mongodbDirectConnection: env.locationType === WildoLocationType.LOCAL,\n runtimeEndpoints: minion.runtimeEndpoints,\n },\n ),\n providerKeysByRuntime.get(runtimeServiceName) ?? new Set(),\n );\n }\n\n for (const worker of options.applicationWorkers ?? []) {\n if (!worker.appName) continue;\n const runtimeServiceName = buildWorkerServiceName(worker.appName, worker.workerName);\n emitRuntimeEnvSecret(\n runtimeServiceName,\n PlatformEnvVarsBuilder.buildApplicationWorkerEnv(\n worker.bootstrapCredentials,\n worker.workerName,\n worker.serviceName,\n credentials,\n config,\n env.name,\n declaredProviderScope(worker.scopedProviderRefs),\n {\n // The authored inbound surface, so the worker binds the port and probe paths the\n // Deployment's container port and probes were rendered from — one authored value, two\n // renderers, no coincidence.\n http: worker.http,\n runtimeEndpoints: worker.runtimeEndpoints,\n },\n ),\n providerKeysByRuntime.get(runtimeServiceName) ?? new Set(),\n );\n }\n\n return output;\n}\n\n// ============================================================================\n// Per-service emit helper\n// ============================================================================\n\nfunction emitPlatformService(\n emit: (name: string, yaml: string, category: K8sResourceCategory) => void,\n service: PlatformWildoServices,\n env: Record<string, string>,\n namespace: string,\n credentials: PlatformEnvSecretsJson,\n config: PlatformEnvConfigJson,\n): void {\n const { secret, config: configData } = splitEnv(env);\n\n if (service === PlatformWildoServices.APPS_MANAGER) {\n if (credentials.atlas) {\n secret['WILDO_MONGO_ATLAS_API_KEY_PUBLIC'] = credentials.atlas.apiPublicKey;\n secret['WILDO_MONGO_ATLAS_API_KEY_PRIVATE'] = credentials.atlas.apiPrivateKey;\n }\n if (config.atlas) {\n configData['ATLAS_API_BASE_URL'] = config.atlas.apiBaseUrl;\n configData['ATLAS_PROJECT_ID'] = config.atlas.projectId;\n configData['MONGO_MAIN_CLUSTER_REF'] = config.atlas.clusterName;\n }\n }\n\n\n const secretName = k8sServiceSecretName(service);\n const configMapName = k8sServiceConfigMapName(service);\n\n if (Object.keys(secret).length > 0) {\n emit(secretName, toYaml(makeSecret(secretName, namespace, secret)), 'platform');\n }\n if (Object.keys(configData).length > 0) {\n emit(configMapName, toYaml(makeConfigMap(configMapName, namespace, configData)), 'platform');\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"k8s.schemas.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"k8s.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/services/deployment/k8s/k8s.schemas.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;CAcb,CAAC;AAMX,oBAAY,cAAc;IACxB,OAAO,YAAY;IACnB,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,kBAAkB,uBAAuB;IACzC,iBAAiB,sBAAsB;CACxC;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,cAAc,EAAE,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAMD,eAAO,MAAM,gBAAgB;;;;CAInB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kind.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"kind.service.d.ts","sourceRoot":"","sources":["../../../../../src/services/deployment/k8s/kind.service.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAeH,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,QAAQ,EAAE;QACR,MAAM,EAAE,OAAO,CAAC;QAChB,OAAO,EAAE,OAAO,CAAC;QACjB,UAAU,EAAE,OAAO,CAAC;KACrB,CAAC;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,KAAK,eAAe,GAAG;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAM5D,qBAAa,WAAW;IAMtB,MAAM,CAAC,aAAa,IAAI,OAAO;IAS/B,MAAM,CAAC,eAAe,IAAI,QAAQ,EAAE;IAkBpC,MAAM,CAAC,gBAAgB,IAAI,aAAa;IAiExC,MAAM,CAAC,aAAa,CAClB,aAAa,EAAE,MAAM,EAC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2B;IAkB1C,OAAO,CAAC,MAAM,CAAC,sBAAsB;IAsBrC,OAAO,CAAC,MAAM,CAAC,iBAAiB;CAkBjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-k8s-application-pruning.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"local-k8s-application-pruning.service.d.ts","sourceRoot":"","sources":["../../../../../src/services/deployment/k8s/local-k8s-application-pruning.service.ts"],"names":[],"mappings":"AAEA,KAAK,eAAe,GAAG;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAU5D;;;GAGG;AACH,wBAAgB,oCAAoC,CAClD,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,MAAM,GACf,eAAe,CAgBjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-dev-observer-lifecycle.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"local-dev-observer-lifecycle.d.ts","sourceRoot":"","sources":["../../../../src/services/deployment/local-dev-observer-lifecycle.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;CAChC;AAED,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,yBAAyB;IACxC,KAAK,IAAI,IAAI,CAAC;IACd,IAAI,IAAI,IAAI,CAAC;CACd;AAED,UAAU,gCAAgC,CAAC,WAAW,SAAS,0BAA0B;IACvF,KAAK,EAAE,MAAM,WAAW,GAAG,IAAI,CAAC;IAChC,mBAAmB,EAAE,CAAC,UAAU,EAAE,WAAW,KAAK,IAAI,CAAC;IACvD,iBAAiB,EAAE,CAAC,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACvE,kBAAkB,EAAE,CAAC,KAAK,EAAE,4BAA4B,KAAK,IAAI,CAAC;IAClE,GAAG,CAAC,EAAE,MAAM,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC;IAC9D,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAMD;;;;;;;;GAQG;AACH,wBAAgB,+BAA+B,CAAC,WAAW,SAAS,0BAA0B,EAC5F,OAAO,EAAE,gCAAgC,CAAC,WAAW,CAAC,GACrD,yBAAyB,CAgE3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-dev-output-boundary.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"local-dev-output-boundary.d.ts","sourceRoot":"","sources":["../../../../src/services/deployment/local-dev-output-boundary.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,oBAAY,oBAAoB;IAC9B,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAED;;;;;;;GAOG;AACH,oBAAY,wBAAwB;IAClC,yFAAyF;IACzF,GAAG,QAAQ;IACX,6EAA6E;IAC7E,OAAO,YAAY;CACpB;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,+BAA+B,CAC7C,sBAAsB,EAAE,OAAO,GAAG,SAAS,GAC1C,wBAAwB,CAI1B;AAED,MAAM,WAAW,6BAA6B;IAC5C,0EAA0E;IAC1E,KAAK,EAAE,MAAM,CAAC;IACd,mEAAmE;IACnE,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,wBAAwB,CAAC;IAC5C,qE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file":"local-dev-session-lease.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"local-dev-session-lease.service.d.ts","sourceRoot":"","sources":["../../../../src/services/deployment/local-dev-session-lease.service.ts"],"names":[],"mappings":"AAiBA,UAAU,yBAAyB;IACjC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;IAC/B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,UAAU,EAAE,SAAS,MAAM,EAAE,CAAC;IACvC,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1B;AAED,qBAAa,iCAAkC,SAAQ,KAAK;aAC9B,SAAS,EAAE,MAAM;gBAAjB,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,yBAAyB,GAAG,IAAI;CAQvF;AAED;;;;;;;GAOG;AACH,qBAAa,2BAA2B;IACtC,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE;QACpB,QAAQ,EAAE,MAAM,CAAC;QACjB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;QAC7B,YAAY,EAAE,OAAO,CAAC;QACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;QAC7B,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;KACxC,GAAG,oBAAoB;CAoEzB;AAED,6FAA6F;AAC7F,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,6BAA6B,CAC3C,aAAa,EAAE,MAAM,EACrB,YAAY,GAAE,MAA+B,GAC5C,yBAAyB,GAAG,IAAI,CAQlC;AAED,wBAAgB,gCAAgC,CAAC,KAAK,EAAE;IACtD,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,YAAY,EAAE,OAAO,CAAC;CACvB,GAAG,MAAM,EAAE,CASX"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-dev-shutdown-coordinator.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"local-dev-shutdown-coordinator.d.ts","sourceRoot":"","sources":["../../../../src/services/deployment/local-dev-shutdown-coordinator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,IAAI,CAAC,YAAY,EAAE,KAAK,GAAG,QAAQ,CAAC,CAAC;IACrD,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;CAChC;AAED;;;;;;;;;GASG;AACH,oBAAY,yBAAyB;IACnC,6EAA6E;IAC7E,uBAAuB,4BAA4B;IACnD,iFAAiF;IACjF,gBAAgB,qBAAqB;IACrC,mEAAmE;IACnE,oBAAoB,yBAAyB;CAC9C;AAED;;;;;GAKG;AACH,MAAM,MAAM,qBAAqB,GAC7B;IAAE,QAAQ,CAAC,IAAI,EAAE,yBAAyB,CAAC,uBAAuB,CAAA;CAAE,GACpE;IAAE,QAAQ,CAAC,IAAI,EAAE,yBAAyB,CAAC,gBAAgB,CAAC;IAAC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;CAAE,GAC3F;IAAE,QAAQ,CAAC,IAAI,EAAE,yBAAyB,CAAC,oBAAoB,CAAC;IAAC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC;AAEpG;;;;;;GAMG;AACH,wBAAgB,iCAAiC,CAAC,KAAK,EAAE;IACvD,QAAQ,EAAE,MAAM,SAAS,0BAA0B,EAAE,CAAC;IACtD,aAAa,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACtE,WAAW,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACjC,iBAAiB,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,OAAO,EAAE,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAClF,wBAAwB,EAAE,CAAC,IAAI,EAAE,0BAA0B,EAAE,MAAM,EAAE,MAAM,CAAC,OAAO,KAAK,IAAI,CAAC;IAC7F,uBAAuB,EAAE,CAAC,IAAI,EAAE,0BAA0B,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACpF,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,OAAO,EAAE,KAAK,EAAE,qBAAqB,KAAK,OAAO,CAAC,IAAI,CAAC,CA0B1E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-infrastructure-initialization.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"local-infrastructure-initialization.service.d.ts","sourceRoot":"","sources":["../../../../src/services/deployment/local-infrastructure-initialization.service.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,qDAAqD,CAAC;AAY5G,MAAM,WAAW,sCAAsC;IACrD,GAAG,EAAE,gCAAgC,CAAC;IACtC,oBAAoB,EAAE,OAAO,CAAC;IAC9B,GAAG,EAAE,MAAM,CAAC;CACb;AAED;;;GAGG;AACH,qBAAa,wCAAwC;WACtC,WAAW,CAAC,KAAK,EAAE,sCAAsC,GAAG,OAAO,CAAC,IAAI,CAAC;mBAiBjE,cAAc;CA6CpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-precondition-checks.schemas.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"local-precondition-checks.schemas.d.ts","sourceRoot":"","sources":["../../../../src/services/deployment/local-precondition-checks.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH;;;;;;;;;;;;GAYG;AACH,oBAAY,4BAA4B;IACtC,IAAI,SAAS;IACb,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED;;;GAGG;AACH,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,4BAA4B,CAAC;IAC9C,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;CACvB"}
|