@wildo-ai/wildo-cli 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +34 -0
- package/bin/wildo-tsc-native.mjs +108 -0
- package/bin/wildo.ts +10 -0
- package/dist/bin/wildo.d.ts +3 -0
- package/dist/bin/wildo.d.ts.map +1 -0
- package/dist/bin/wildo.js +7 -0
- package/dist/bin/wildo.js.map +1 -0
- package/dist/src/__tests__/sandbox-dependencies.test-helpers.d.ts +8 -0
- package/dist/src/__tests__/sandbox-dependencies.test-helpers.d.ts.map +1 -0
- package/dist/src/__tests__/sandbox-dependencies.test-helpers.js +54 -0
- package/dist/src/__tests__/sandbox-dependencies.test-helpers.js.map +1 -0
- package/dist/src/commands/acp/probe.command.d.ts +30 -0
- package/dist/src/commands/acp/probe.command.d.ts.map +1 -0
- package/dist/src/commands/acp/probe.command.js +122 -0
- package/dist/src/commands/acp/probe.command.js.map +1 -0
- package/dist/src/commands/align-deps.command.d.ts +7 -0
- package/dist/src/commands/align-deps.command.d.ts.map +1 -0
- package/dist/src/commands/align-deps.command.js +102 -0
- package/dist/src/commands/align-deps.command.js.map +1 -0
- package/dist/src/commands/assets/sync.command.d.ts +23 -0
- package/dist/src/commands/assets/sync.command.d.ts.map +1 -0
- package/dist/src/commands/assets/sync.command.js +59 -0
- package/dist/src/commands/assets/sync.command.js.map +1 -0
- package/dist/src/commands/brand/propagate.command.d.ts +62 -0
- package/dist/src/commands/brand/propagate.command.d.ts.map +1 -0
- package/dist/src/commands/brand/propagate.command.js +193 -0
- package/dist/src/commands/brand/propagate.command.js.map +1 -0
- package/dist/src/commands/compose.command.d.ts +7 -0
- package/dist/src/commands/compose.command.d.ts.map +1 -0
- package/dist/src/commands/compose.command.js +99 -0
- package/dist/src/commands/compose.command.js.map +1 -0
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.d.ts +22 -0
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.d.ts.map +1 -0
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js +268 -0
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js.map +1 -0
- package/dist/src/commands/config/__tests__/sync.command.test.d.ts +2 -0
- package/dist/src/commands/config/__tests__/sync.command.test.d.ts.map +1 -0
- package/dist/src/commands/config/__tests__/sync.command.test.js +1229 -0
- package/dist/src/commands/config/__tests__/sync.command.test.js.map +1 -0
- package/dist/src/commands/config/__tests__/validate.command.test.d.ts +14 -0
- package/dist/src/commands/config/__tests__/validate.command.test.d.ts.map +1 -0
- package/dist/src/commands/config/__tests__/validate.command.test.js +375 -0
- package/dist/src/commands/config/__tests__/validate.command.test.js.map +1 -0
- package/dist/src/commands/config/mutate.command.d.ts +32 -0
- package/dist/src/commands/config/mutate.command.d.ts.map +1 -0
- package/dist/src/commands/config/mutate.command.js +119 -0
- package/dist/src/commands/config/mutate.command.js.map +1 -0
- package/dist/src/commands/config/reapply-declaration.command.d.ts +40 -0
- package/dist/src/commands/config/reapply-declaration.command.d.ts.map +1 -0
- package/dist/src/commands/config/reapply-declaration.command.js +174 -0
- package/dist/src/commands/config/reapply-declaration.command.js.map +1 -0
- package/dist/src/commands/config/sync.command.d.ts +123 -0
- package/dist/src/commands/config/sync.command.d.ts.map +1 -0
- package/dist/src/commands/config/sync.command.js +1170 -0
- package/dist/src/commands/config/sync.command.js.map +1 -0
- package/dist/src/commands/config/validate.command.d.ts +117 -0
- package/dist/src/commands/config/validate.command.d.ts.map +1 -0
- package/dist/src/commands/config/validate.command.js +563 -0
- package/dist/src/commands/config/validate.command.js.map +1 -0
- package/dist/src/commands/context/coherence.command.d.ts +13 -0
- package/dist/src/commands/context/coherence.command.d.ts.map +1 -0
- package/dist/src/commands/context/coherence.command.js +44 -0
- package/dist/src/commands/context/coherence.command.js.map +1 -0
- package/dist/src/commands/context/context-command.utils.d.ts +43 -0
- package/dist/src/commands/context/context-command.utils.d.ts.map +1 -0
- package/dist/src/commands/context/context-command.utils.js +57 -0
- package/dist/src/commands/context/context-command.utils.js.map +1 -0
- package/dist/src/commands/context/health.command.d.ts +11 -0
- package/dist/src/commands/context/health.command.d.ts.map +1 -0
- package/dist/src/commands/context/health.command.js +40 -0
- package/dist/src/commands/context/health.command.js.map +1 -0
- package/dist/src/commands/context/info.command.d.ts +20 -0
- package/dist/src/commands/context/info.command.d.ts.map +1 -0
- package/dist/src/commands/context/info.command.js +90 -0
- package/dist/src/commands/context/info.command.js.map +1 -0
- package/dist/src/commands/context/journey.command.d.ts +16 -0
- package/dist/src/commands/context/journey.command.d.ts.map +1 -0
- package/dist/src/commands/context/journey.command.js +69 -0
- package/dist/src/commands/context/journey.command.js.map +1 -0
- package/dist/src/commands/context/list.command.d.ts +15 -0
- package/dist/src/commands/context/list.command.d.ts.map +1 -0
- package/dist/src/commands/context/list.command.js +60 -0
- package/dist/src/commands/context/list.command.js.map +1 -0
- package/dist/src/commands/db/db-schema-plan.utils.d.ts +26 -0
- package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -0
- package/dist/src/commands/db/db-schema-plan.utils.js +89 -0
- package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -0
- package/dist/src/commands/db/diff.command.d.ts +39 -0
- package/dist/src/commands/db/diff.command.d.ts.map +1 -0
- package/dist/src/commands/db/diff.command.js +153 -0
- package/dist/src/commands/db/diff.command.js.map +1 -0
- package/dist/src/commands/db/generate.command.d.ts +32 -0
- package/dist/src/commands/db/generate.command.d.ts.map +1 -0
- package/dist/src/commands/db/generate.command.js +139 -0
- package/dist/src/commands/db/generate.command.js.map +1 -0
- package/dist/src/commands/db/migrate.command.d.ts +41 -0
- package/dist/src/commands/db/migrate.command.d.ts.map +1 -0
- package/dist/src/commands/db/migrate.command.js +111 -0
- package/dist/src/commands/db/migrate.command.js.map +1 -0
- package/dist/src/commands/db/resolve.command.d.ts +22 -0
- package/dist/src/commands/db/resolve.command.d.ts.map +1 -0
- package/dist/src/commands/db/resolve.command.js +97 -0
- package/dist/src/commands/db/resolve.command.js.map +1 -0
- package/dist/src/commands/dev/__tests__/design-tokens.command.test.d.ts +2 -0
- package/dist/src/commands/dev/__tests__/design-tokens.command.test.d.ts.map +1 -0
- package/dist/src/commands/dev/__tests__/design-tokens.command.test.js +202 -0
- package/dist/src/commands/dev/__tests__/design-tokens.command.test.js.map +1 -0
- package/dist/src/commands/dev/__tests__/start.command.test.d.ts +2 -0
- package/dist/src/commands/dev/__tests__/start.command.test.d.ts.map +1 -0
- package/dist/src/commands/dev/__tests__/start.command.test.js +468 -0
- package/dist/src/commands/dev/__tests__/start.command.test.js.map +1 -0
- package/dist/src/commands/dev/__tests__/stop.command.test.d.ts +2 -0
- package/dist/src/commands/dev/__tests__/stop.command.test.d.ts.map +1 -0
- package/dist/src/commands/dev/__tests__/stop.command.test.js +72 -0
- package/dist/src/commands/dev/__tests__/stop.command.test.js.map +1 -0
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.d.ts +2 -0
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.d.ts.map +1 -0
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js +114 -0
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js.map +1 -0
- package/dist/src/commands/dev/charts-audit.command.d.ts +19 -0
- package/dist/src/commands/dev/charts-audit.command.d.ts.map +1 -0
- package/dist/src/commands/dev/charts-audit.command.js +74 -0
- package/dist/src/commands/dev/charts-audit.command.js.map +1 -0
- package/dist/src/commands/dev/design-tokens-generate.command.d.ts +10 -0
- package/dist/src/commands/dev/design-tokens-generate.command.d.ts.map +1 -0
- package/dist/src/commands/dev/design-tokens-generate.command.js +24 -0
- package/dist/src/commands/dev/design-tokens-generate.command.js.map +1 -0
- package/dist/src/commands/dev/design-tokens-init.command.d.ts +10 -0
- package/dist/src/commands/dev/design-tokens-init.command.d.ts.map +1 -0
- package/dist/src/commands/dev/design-tokens-init.command.js +24 -0
- package/dist/src/commands/dev/design-tokens-init.command.js.map +1 -0
- package/dist/src/commands/dev/design-tokens-validate.command.d.ts +10 -0
- package/dist/src/commands/dev/design-tokens-validate.command.d.ts.map +1 -0
- package/dist/src/commands/dev/design-tokens-validate.command.js +24 -0
- package/dist/src/commands/dev/design-tokens-validate.command.js.map +1 -0
- package/dist/src/commands/dev/force-stop.command.d.ts +29 -0
- package/dist/src/commands/dev/force-stop.command.d.ts.map +1 -0
- package/dist/src/commands/dev/force-stop.command.js +68 -0
- package/dist/src/commands/dev/force-stop.command.js.map +1 -0
- package/dist/src/commands/dev/resources.command.d.ts +16 -0
- package/dist/src/commands/dev/resources.command.d.ts.map +1 -0
- package/dist/src/commands/dev/resources.command.js +45 -0
- package/dist/src/commands/dev/resources.command.js.map +1 -0
- package/dist/src/commands/dev/start.command.d.ts +16 -0
- package/dist/src/commands/dev/start.command.d.ts.map +1 -0
- package/dist/src/commands/dev/start.command.js +409 -0
- package/dist/src/commands/dev/start.command.js.map +1 -0
- package/dist/src/commands/dev/stop-all.command.d.ts +14 -0
- package/dist/src/commands/dev/stop-all.command.d.ts.map +1 -0
- package/dist/src/commands/dev/stop-all.command.js +96 -0
- package/dist/src/commands/dev/stop-all.command.js.map +1 -0
- package/dist/src/commands/dev/sync-csp.command.d.ts +7 -0
- package/dist/src/commands/dev/sync-csp.command.d.ts.map +1 -0
- package/dist/src/commands/dev/sync-csp.command.js +61 -0
- package/dist/src/commands/dev/sync-csp.command.js.map +1 -0
- package/dist/src/commands/frontend/publish.command.d.ts +16 -0
- package/dist/src/commands/frontend/publish.command.d.ts.map +1 -0
- package/dist/src/commands/frontend/publish.command.js +91 -0
- package/dist/src/commands/frontend/publish.command.js.map +1 -0
- package/dist/src/commands/fwk/__tests__/dev-skills.command.test.d.ts +2 -0
- package/dist/src/commands/fwk/__tests__/dev-skills.command.test.d.ts.map +1 -0
- package/dist/src/commands/fwk/__tests__/dev-skills.command.test.js +79 -0
- package/dist/src/commands/fwk/__tests__/dev-skills.command.test.js.map +1 -0
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.d.ts +2 -0
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.d.ts.map +1 -0
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js +113 -0
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js.map +1 -0
- package/dist/src/commands/fwk/audit.command.d.ts +19 -0
- package/dist/src/commands/fwk/audit.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/audit.command.js +83 -0
- package/dist/src/commands/fwk/audit.command.js.map +1 -0
- package/dist/src/commands/fwk/dev-skills.command.d.ts +12 -0
- package/dist/src/commands/fwk/dev-skills.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/dev-skills.command.js +56 -0
- package/dist/src/commands/fwk/dev-skills.command.js.map +1 -0
- package/dist/src/commands/fwk/generate-docs.command.d.ts +7 -0
- package/dist/src/commands/fwk/generate-docs.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/generate-docs.command.js +38 -0
- package/dist/src/commands/fwk/generate-docs.command.js.map +1 -0
- package/dist/src/commands/fwk/graph.command.d.ts +18 -0
- package/dist/src/commands/fwk/graph.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/graph.command.js +56 -0
- package/dist/src/commands/fwk/graph.command.js.map +1 -0
- package/dist/src/commands/fwk/publish-all.command.d.ts +7 -0
- package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/publish-all.command.js +51 -0
- package/dist/src/commands/fwk/publish-all.command.js.map +1 -0
- package/dist/src/commands/fwk/publish-docker.command.d.ts +8 -0
- package/dist/src/commands/fwk/publish-docker.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/publish-docker.command.js +89 -0
- package/dist/src/commands/fwk/publish-docker.command.js.map +1 -0
- package/dist/src/commands/fwk/publish-npm.command.d.ts +8 -0
- package/dist/src/commands/fwk/publish-npm.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/publish-npm.command.js +114 -0
- package/dist/src/commands/fwk/publish-npm.command.js.map +1 -0
- package/dist/src/commands/fwk/version-bump.command.d.ts +7 -0
- package/dist/src/commands/fwk/version-bump.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/version-bump.command.js +25 -0
- package/dist/src/commands/fwk/version-bump.command.js.map +1 -0
- package/dist/src/commands/fwk/version-set.command.d.ts +7 -0
- package/dist/src/commands/fwk/version-set.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/version-set.command.js +24 -0
- package/dist/src/commands/fwk/version-set.command.js.map +1 -0
- package/dist/src/commands/fwk/version-show.command.d.ts +7 -0
- package/dist/src/commands/fwk/version-show.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/version-show.command.js +22 -0
- package/dist/src/commands/fwk/version-show.command.js.map +1 -0
- package/dist/src/commands/fwk/version-sync.command.d.ts +7 -0
- package/dist/src/commands/fwk/version-sync.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/version-sync.command.js +18 -0
- package/dist/src/commands/fwk/version-sync.command.js.map +1 -0
- package/dist/src/commands/fwk/what-touches.command.d.ts +17 -0
- package/dist/src/commands/fwk/what-touches.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/what-touches.command.js +48 -0
- package/dist/src/commands/fwk/what-touches.command.js.map +1 -0
- package/dist/src/commands/fwk/wt-status.command.d.ts +22 -0
- package/dist/src/commands/fwk/wt-status.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/wt-status.command.js +60 -0
- package/dist/src/commands/fwk/wt-status.command.js.map +1 -0
- package/dist/src/commands/fwk/wt-tail.command.d.ts +22 -0
- package/dist/src/commands/fwk/wt-tail.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/wt-tail.command.js +64 -0
- package/dist/src/commands/fwk/wt-tail.command.js.map +1 -0
- package/dist/src/commands/generate/__tests__/email-command.utils.test.d.ts +2 -0
- package/dist/src/commands/generate/__tests__/email-command.utils.test.d.ts.map +1 -0
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js +94 -0
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js.map +1 -0
- package/dist/src/commands/generate/email-command.utils.d.ts +72 -0
- package/dist/src/commands/generate/email-command.utils.d.ts.map +1 -0
- package/dist/src/commands/generate/email-command.utils.js +91 -0
- package/dist/src/commands/generate/email-command.utils.js.map +1 -0
- package/dist/src/commands/generate/email-preview.command.d.ts +7 -0
- package/dist/src/commands/generate/email-preview.command.d.ts.map +1 -0
- package/dist/src/commands/generate/email-preview.command.js +62 -0
- package/dist/src/commands/generate/email-preview.command.js.map +1 -0
- package/dist/src/commands/generate/email-status.command.d.ts +7 -0
- package/dist/src/commands/generate/email-status.command.d.ts.map +1 -0
- package/dist/src/commands/generate/email-status.command.js +42 -0
- package/dist/src/commands/generate/email-status.command.js.map +1 -0
- package/dist/src/commands/generate/email-test-send.command.d.ts +7 -0
- package/dist/src/commands/generate/email-test-send.command.d.ts.map +1 -0
- package/dist/src/commands/generate/email-test-send.command.js +67 -0
- package/dist/src/commands/generate/email-test-send.command.js.map +1 -0
- package/dist/src/commands/generate/email-translate.command.d.ts +7 -0
- package/dist/src/commands/generate/email-translate.command.d.ts.map +1 -0
- package/dist/src/commands/generate/email-translate.command.js +59 -0
- package/dist/src/commands/generate/email-translate.command.js.map +1 -0
- package/dist/src/commands/generate/email.command.d.ts +10 -0
- package/dist/src/commands/generate/email.command.d.ts.map +1 -0
- package/dist/src/commands/generate/email.command.js +62 -0
- package/dist/src/commands/generate/email.command.js.map +1 -0
- package/dist/src/commands/generate/labelling-command.utils.d.ts +138 -0
- package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -0
- package/dist/src/commands/generate/labelling-command.utils.js +422 -0
- package/dist/src/commands/generate/labelling-command.utils.js.map +1 -0
- package/dist/src/commands/generate/labels-plan.command.d.ts +34 -0
- package/dist/src/commands/generate/labels-plan.command.d.ts.map +1 -0
- package/dist/src/commands/generate/labels-plan.command.js +103 -0
- package/dist/src/commands/generate/labels-plan.command.js.map +1 -0
- package/dist/src/commands/generate/labels.command.d.ts +29 -0
- package/dist/src/commands/generate/labels.command.d.ts.map +1 -0
- package/dist/src/commands/generate/labels.command.js +87 -0
- package/dist/src/commands/generate/labels.command.js.map +1 -0
- package/dist/src/commands/generate/translate.command.d.ts +31 -0
- package/dist/src/commands/generate/translate.command.d.ts.map +1 -0
- package/dist/src/commands/generate/translate.command.js +95 -0
- package/dist/src/commands/generate/translate.command.js.map +1 -0
- package/dist/src/commands/help.command.d.ts +7 -0
- package/dist/src/commands/help.command.d.ts.map +1 -0
- package/dist/src/commands/help.command.js +86 -0
- package/dist/src/commands/help.command.js.map +1 -0
- package/dist/src/commands/init.command.d.ts +113 -0
- package/dist/src/commands/init.command.d.ts.map +1 -0
- package/dist/src/commands/init.command.js +636 -0
- package/dist/src/commands/init.command.js.map +1 -0
- package/dist/src/commands/local/__tests__/dev-status.command.test.d.ts +2 -0
- package/dist/src/commands/local/__tests__/dev-status.command.test.d.ts.map +1 -0
- package/dist/src/commands/local/__tests__/dev-status.command.test.js +58 -0
- package/dist/src/commands/local/__tests__/dev-status.command.test.js.map +1 -0
- package/dist/src/commands/local/__tests__/dev.command.test.d.ts +2 -0
- package/dist/src/commands/local/__tests__/dev.command.test.d.ts.map +1 -0
- package/dist/src/commands/local/__tests__/dev.command.test.js +399 -0
- package/dist/src/commands/local/__tests__/dev.command.test.js.map +1 -0
- package/dist/src/commands/local/__tests__/doctor.command.test.d.ts +2 -0
- package/dist/src/commands/local/__tests__/doctor.command.test.d.ts.map +1 -0
- package/dist/src/commands/local/__tests__/doctor.command.test.js +260 -0
- package/dist/src/commands/local/__tests__/doctor.command.test.js.map +1 -0
- package/dist/src/commands/local/__tests__/init.command.test.d.ts +2 -0
- package/dist/src/commands/local/__tests__/init.command.test.d.ts.map +1 -0
- package/dist/src/commands/local/__tests__/init.command.test.js +83 -0
- package/dist/src/commands/local/__tests__/init.command.test.js.map +1 -0
- package/dist/src/commands/local/__tests__/reinit.command.test.d.ts +2 -0
- package/dist/src/commands/local/__tests__/reinit.command.test.d.ts.map +1 -0
- package/dist/src/commands/local/__tests__/reinit.command.test.js +177 -0
- package/dist/src/commands/local/__tests__/reinit.command.test.js.map +1 -0
- package/dist/src/commands/local/__tests__/reset.command.test.d.ts +2 -0
- package/dist/src/commands/local/__tests__/reset.command.test.d.ts.map +1 -0
- package/dist/src/commands/local/__tests__/reset.command.test.js +266 -0
- package/dist/src/commands/local/__tests__/reset.command.test.js.map +1 -0
- package/dist/src/commands/local/__tests__/up.command.test.d.ts +2 -0
- package/dist/src/commands/local/__tests__/up.command.test.d.ts.map +1 -0
- package/dist/src/commands/local/__tests__/up.command.test.js +207 -0
- package/dist/src/commands/local/__tests__/up.command.test.js.map +1 -0
- package/dist/src/commands/local/dev-status.command.d.ts +15 -0
- package/dist/src/commands/local/dev-status.command.d.ts.map +1 -0
- package/dist/src/commands/local/dev-status.command.js +84 -0
- package/dist/src/commands/local/dev-status.command.js.map +1 -0
- package/dist/src/commands/local/dev.command.d.ts +150 -0
- package/dist/src/commands/local/dev.command.d.ts.map +1 -0
- package/dist/src/commands/local/dev.command.js +813 -0
- package/dist/src/commands/local/dev.command.js.map +1 -0
- package/dist/src/commands/local/doctor.command.d.ts +177 -0
- package/dist/src/commands/local/doctor.command.d.ts.map +1 -0
- package/dist/src/commands/local/doctor.command.js +863 -0
- package/dist/src/commands/local/doctor.command.js.map +1 -0
- package/dist/src/commands/local/down.command.d.ts +9 -0
- package/dist/src/commands/local/down.command.d.ts.map +1 -0
- package/dist/src/commands/local/down.command.js +117 -0
- package/dist/src/commands/local/down.command.js.map +1 -0
- package/dist/src/commands/local/init.command.d.ts +15 -0
- package/dist/src/commands/local/init.command.d.ts.map +1 -0
- package/dist/src/commands/local/init.command.js +85 -0
- package/dist/src/commands/local/init.command.js.map +1 -0
- package/dist/src/commands/local/logs.command.d.ts +9 -0
- package/dist/src/commands/local/logs.command.d.ts.map +1 -0
- package/dist/src/commands/local/logs.command.js +61 -0
- package/dist/src/commands/local/logs.command.js.map +1 -0
- package/dist/src/commands/local/reinit.command.d.ts +35 -0
- package/dist/src/commands/local/reinit.command.d.ts.map +1 -0
- package/dist/src/commands/local/reinit.command.js +135 -0
- package/dist/src/commands/local/reinit.command.js.map +1 -0
- package/dist/src/commands/local/reset.command.d.ts +42 -0
- package/dist/src/commands/local/reset.command.d.ts.map +1 -0
- package/dist/src/commands/local/reset.command.js +203 -0
- package/dist/src/commands/local/reset.command.js.map +1 -0
- package/dist/src/commands/local/status.command.d.ts +9 -0
- package/dist/src/commands/local/status.command.d.ts.map +1 -0
- package/dist/src/commands/local/status.command.js +79 -0
- package/dist/src/commands/local/status.command.js.map +1 -0
- package/dist/src/commands/local/up.command.d.ts +32 -0
- package/dist/src/commands/local/up.command.d.ts.map +1 -0
- package/dist/src/commands/local/up.command.js +355 -0
- package/dist/src/commands/local/up.command.js.map +1 -0
- package/dist/src/commands/lock/__tests__/check.command.test.d.ts +11 -0
- package/dist/src/commands/lock/__tests__/check.command.test.d.ts.map +1 -0
- package/dist/src/commands/lock/__tests__/check.command.test.js +140 -0
- package/dist/src/commands/lock/__tests__/check.command.test.js.map +1 -0
- package/dist/src/commands/lock/__tests__/check.live.contract.test.d.ts +35 -0
- package/dist/src/commands/lock/__tests__/check.live.contract.test.d.ts.map +1 -0
- package/dist/src/commands/lock/__tests__/check.live.contract.test.js +122 -0
- package/dist/src/commands/lock/__tests__/check.live.contract.test.js.map +1 -0
- package/dist/src/commands/lock/check.command.d.ts +92 -0
- package/dist/src/commands/lock/check.command.d.ts.map +1 -0
- package/dist/src/commands/lock/check.command.js +242 -0
- package/dist/src/commands/lock/check.command.js.map +1 -0
- package/dist/src/commands/market/__tests__/generate.command.test.d.ts +2 -0
- package/dist/src/commands/market/__tests__/generate.command.test.d.ts.map +1 -0
- package/dist/src/commands/market/__tests__/generate.command.test.js +207 -0
- package/dist/src/commands/market/__tests__/generate.command.test.js.map +1 -0
- package/dist/src/commands/market/__tests__/market-command.utils.test.d.ts +2 -0
- package/dist/src/commands/market/__tests__/market-command.utils.test.d.ts.map +1 -0
- package/dist/src/commands/market/__tests__/market-command.utils.test.js +146 -0
- package/dist/src/commands/market/__tests__/market-command.utils.test.js.map +1 -0
- package/dist/src/commands/market/generate.command.d.ts +56 -0
- package/dist/src/commands/market/generate.command.d.ts.map +1 -0
- package/dist/src/commands/market/generate.command.js +191 -0
- package/dist/src/commands/market/generate.command.js.map +1 -0
- package/dist/src/commands/market/market-command.utils.d.ts +70 -0
- package/dist/src/commands/market/market-command.utils.d.ts.map +1 -0
- package/dist/src/commands/market/market-command.utils.js +89 -0
- package/dist/src/commands/market/market-command.utils.js.map +1 -0
- package/dist/src/commands/registry/add.command.d.ts +37 -0
- package/dist/src/commands/registry/add.command.d.ts.map +1 -0
- package/dist/src/commands/registry/add.command.js +251 -0
- package/dist/src/commands/registry/add.command.js.map +1 -0
- package/dist/src/commands/registry/info.command.d.ts +14 -0
- package/dist/src/commands/registry/info.command.d.ts.map +1 -0
- package/dist/src/commands/registry/info.command.js +83 -0
- package/dist/src/commands/registry/info.command.js.map +1 -0
- package/dist/src/commands/registry/lockfile-smoke.command.d.ts +31 -0
- package/dist/src/commands/registry/lockfile-smoke.command.d.ts.map +1 -0
- package/dist/src/commands/registry/lockfile-smoke.command.js +131 -0
- package/dist/src/commands/registry/lockfile-smoke.command.js.map +1 -0
- package/dist/src/commands/registry/login.command.d.ts +28 -0
- package/dist/src/commands/registry/login.command.d.ts.map +1 -0
- package/dist/src/commands/registry/login.command.js +117 -0
- package/dist/src/commands/registry/login.command.js.map +1 -0
- package/dist/src/commands/registry/logout.command.d.ts +15 -0
- package/dist/src/commands/registry/logout.command.d.ts.map +1 -0
- package/dist/src/commands/registry/logout.command.js +47 -0
- package/dist/src/commands/registry/logout.command.js.map +1 -0
- package/dist/src/commands/registry/ping.command.d.ts +21 -0
- package/dist/src/commands/registry/ping.command.d.ts.map +1 -0
- package/dist/src/commands/registry/ping.command.js +92 -0
- package/dist/src/commands/registry/ping.command.js.map +1 -0
- package/dist/src/commands/registry/publish.command.d.ts +37 -0
- package/dist/src/commands/registry/publish.command.d.ts.map +1 -0
- package/dist/src/commands/registry/publish.command.js +211 -0
- package/dist/src/commands/registry/publish.command.js.map +1 -0
- package/dist/src/commands/registry/remove.command.d.ts +25 -0
- package/dist/src/commands/registry/remove.command.d.ts.map +1 -0
- package/dist/src/commands/registry/remove.command.js +122 -0
- package/dist/src/commands/registry/remove.command.js.map +1 -0
- package/dist/src/commands/registry/repair-lockfile.command.d.ts +31 -0
- package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -0
- package/dist/src/commands/registry/repair-lockfile.command.js +174 -0
- package/dist/src/commands/registry/repair-lockfile.command.js.map +1 -0
- package/dist/src/commands/registry/search.command.d.ts +15 -0
- package/dist/src/commands/registry/search.command.d.ts.map +1 -0
- package/dist/src/commands/registry/search.command.js +76 -0
- package/dist/src/commands/registry/search.command.js.map +1 -0
- package/dist/src/commands/registry/update.command.d.ts +32 -0
- package/dist/src/commands/registry/update.command.d.ts.map +1 -0
- package/dist/src/commands/registry/update.command.js +297 -0
- package/dist/src/commands/registry/update.command.js.map +1 -0
- package/dist/src/commands/registry/whoami.command.d.ts +16 -0
- package/dist/src/commands/registry/whoami.command.d.ts.map +1 -0
- package/dist/src/commands/registry/whoami.command.js +116 -0
- package/dist/src/commands/registry/whoami.command.js.map +1 -0
- package/dist/src/commands/remote/__tests__/remote-commands.test.d.ts +2 -0
- package/dist/src/commands/remote/__tests__/remote-commands.test.d.ts.map +1 -0
- package/dist/src/commands/remote/__tests__/remote-commands.test.js +100 -0
- package/dist/src/commands/remote/__tests__/remote-commands.test.js.map +1 -0
- package/dist/src/commands/remote/create.command.d.ts +7 -0
- package/dist/src/commands/remote/create.command.d.ts.map +1 -0
- package/dist/src/commands/remote/create.command.js +110 -0
- package/dist/src/commands/remote/create.command.js.map +1 -0
- package/dist/src/commands/remote/list.command.d.ts +7 -0
- package/dist/src/commands/remote/list.command.d.ts.map +1 -0
- package/dist/src/commands/remote/list.command.js +46 -0
- package/dist/src/commands/remote/list.command.js.map +1 -0
- package/dist/src/commands/remote/status.command.d.ts +7 -0
- package/dist/src/commands/remote/status.command.d.ts.map +1 -0
- package/dist/src/commands/remote/status.command.js +67 -0
- package/dist/src/commands/remote/status.command.js.map +1 -0
- package/dist/src/commands/remote/sync.command.d.ts +7 -0
- package/dist/src/commands/remote/sync.command.d.ts.map +1 -0
- package/dist/src/commands/remote/sync.command.js +27 -0
- package/dist/src/commands/remote/sync.command.js.map +1 -0
- package/dist/src/commands/setup.command.d.ts +19 -0
- package/dist/src/commands/setup.command.d.ts.map +1 -0
- package/dist/src/commands/setup.command.js +95 -0
- package/dist/src/commands/setup.command.js.map +1 -0
- package/dist/src/commands/version.command.d.ts +7 -0
- package/dist/src/commands/version.command.d.ts.map +1 -0
- package/dist/src/commands/version.command.js +16 -0
- package/dist/src/commands/version.command.js.map +1 -0
- package/dist/src/commands/website/__tests__/audit.command.test.d.ts +2 -0
- package/dist/src/commands/website/__tests__/audit.command.test.d.ts.map +1 -0
- package/dist/src/commands/website/__tests__/audit.command.test.js +105 -0
- package/dist/src/commands/website/__tests__/audit.command.test.js.map +1 -0
- package/dist/src/commands/website/audit.command.d.ts +12 -0
- package/dist/src/commands/website/audit.command.d.ts.map +1 -0
- package/dist/src/commands/website/audit.command.js +90 -0
- package/dist/src/commands/website/audit.command.js.map +1 -0
- package/dist/src/commands/workbench/__tests__/workbench.commands.test.d.ts +2 -0
- package/dist/src/commands/workbench/__tests__/workbench.commands.test.d.ts.map +1 -0
- package/dist/src/commands/workbench/__tests__/workbench.commands.test.js +59 -0
- package/dist/src/commands/workbench/__tests__/workbench.commands.test.js.map +1 -0
- package/dist/src/commands/workbench/open.command.d.ts +7 -0
- package/dist/src/commands/workbench/open.command.d.ts.map +1 -0
- package/dist/src/commands/workbench/open.command.js +26 -0
- package/dist/src/commands/workbench/open.command.js.map +1 -0
- package/dist/src/commands/workbench/status.command.d.ts +7 -0
- package/dist/src/commands/workbench/status.command.d.ts.map +1 -0
- package/dist/src/commands/workbench/status.command.js +47 -0
- package/dist/src/commands/workbench/status.command.js.map +1 -0
- package/dist/src/infrastructure/errors/error.utils.d.ts +30 -0
- package/dist/src/infrastructure/errors/error.utils.d.ts.map +1 -0
- package/dist/src/infrastructure/errors/error.utils.js +80 -0
- package/dist/src/infrastructure/errors/error.utils.js.map +1 -0
- package/dist/src/infrastructure/io/file.utils.d.ts +11 -0
- package/dist/src/infrastructure/io/file.utils.d.ts.map +1 -0
- package/dist/src/infrastructure/io/file.utils.js +36 -0
- package/dist/src/infrastructure/io/file.utils.js.map +1 -0
- package/dist/src/infrastructure/io/io.schemas.d.ts +39 -0
- package/dist/src/infrastructure/io/io.schemas.d.ts.map +1 -0
- package/dist/src/infrastructure/io/io.schemas.js +45 -0
- package/dist/src/infrastructure/io/io.schemas.js.map +1 -0
- package/dist/src/infrastructure/io/template-processor.d.ts +31 -0
- package/dist/src/infrastructure/io/template-processor.d.ts.map +1 -0
- package/dist/src/infrastructure/io/template-processor.js +160 -0
- package/dist/src/infrastructure/io/template-processor.js.map +1 -0
- package/dist/src/infrastructure/logger/logger.service.d.ts +62 -0
- package/dist/src/infrastructure/logger/logger.service.d.ts.map +1 -0
- package/dist/src/infrastructure/logger/logger.service.js +116 -0
- package/dist/src/infrastructure/logger/logger.service.js.map +1 -0
- package/dist/src/infrastructure/process/__tests__/spawn.utils.test.d.ts +2 -0
- package/dist/src/infrastructure/process/__tests__/spawn.utils.test.d.ts.map +1 -0
- package/dist/src/infrastructure/process/__tests__/spawn.utils.test.js +138 -0
- package/dist/src/infrastructure/process/__tests__/spawn.utils.test.js.map +1 -0
- package/dist/src/infrastructure/process/spawn.utils.d.ts +60 -0
- package/dist/src/infrastructure/process/spawn.utils.d.ts.map +1 -0
- package/dist/src/infrastructure/process/spawn.utils.js +222 -0
- package/dist/src/infrastructure/process/spawn.utils.js.map +1 -0
- package/dist/src/infrastructure/ui/formatting.service.d.ts +23 -0
- package/dist/src/infrastructure/ui/formatting.service.d.ts.map +1 -0
- package/dist/src/infrastructure/ui/formatting.service.js +106 -0
- package/dist/src/infrastructure/ui/formatting.service.js.map +1 -0
- package/dist/src/infrastructure/ui/interaction-engine.service.d.ts +17 -0
- package/dist/src/infrastructure/ui/interaction-engine.service.d.ts.map +1 -0
- package/dist/src/infrastructure/ui/interaction-engine.service.js +87 -0
- package/dist/src/infrastructure/ui/interaction-engine.service.js.map +1 -0
- package/dist/src/infrastructure/ui/markdown-renderer.service.d.ts +8 -0
- package/dist/src/infrastructure/ui/markdown-renderer.service.d.ts.map +1 -0
- package/dist/src/infrastructure/ui/markdown-renderer.service.js +153 -0
- package/dist/src/infrastructure/ui/markdown-renderer.service.js.map +1 -0
- package/dist/src/infrastructure/ui/ui.schemas.d.ts +36 -0
- package/dist/src/infrastructure/ui/ui.schemas.d.ts.map +1 -0
- package/dist/src/infrastructure/ui/ui.schemas.js +12 -0
- package/dist/src/infrastructure/ui/ui.schemas.js.map +1 -0
- package/dist/src/infrastructure/utils/string.utils.d.ts +8 -0
- package/dist/src/infrastructure/utils/string.utils.d.ts.map +1 -0
- package/dist/src/infrastructure/utils/string.utils.js +10 -0
- package/dist/src/infrastructure/utils/string.utils.js.map +1 -0
- package/dist/src/infrastructure/validation/validator.service.d.ts +31 -0
- package/dist/src/infrastructure/validation/validator.service.d.ts.map +1 -0
- package/dist/src/infrastructure/validation/validator.service.js +52 -0
- package/dist/src/infrastructure/validation/validator.service.js.map +1 -0
- package/dist/src/kernel/__tests__/bootstrap.test.d.ts +2 -0
- package/dist/src/kernel/__tests__/bootstrap.test.d.ts.map +1 -0
- package/dist/src/kernel/__tests__/bootstrap.test.js +88 -0
- package/dist/src/kernel/__tests__/bootstrap.test.js.map +1 -0
- package/dist/src/kernel/__tests__/command-registry.test.d.ts +2 -0
- package/dist/src/kernel/__tests__/command-registry.test.d.ts.map +1 -0
- package/dist/src/kernel/__tests__/command-registry.test.js +188 -0
- package/dist/src/kernel/__tests__/command-registry.test.js.map +1 -0
- package/dist/src/kernel/__tests__/command-runner.test.d.ts +2 -0
- package/dist/src/kernel/__tests__/command-runner.test.d.ts.map +1 -0
- package/dist/src/kernel/__tests__/command-runner.test.js +285 -0
- package/dist/src/kernel/__tests__/command-runner.test.js.map +1 -0
- package/dist/src/kernel/__tests__/command-scope-utils.test.d.ts +2 -0
- package/dist/src/kernel/__tests__/command-scope-utils.test.d.ts.map +1 -0
- package/dist/src/kernel/__tests__/command-scope-utils.test.js +46 -0
- package/dist/src/kernel/__tests__/command-scope-utils.test.js.map +1 -0
- package/dist/src/kernel/__tests__/flag-utils.test.d.ts +2 -0
- package/dist/src/kernel/__tests__/flag-utils.test.d.ts.map +1 -0
- package/dist/src/kernel/__tests__/flag-utils.test.js +38 -0
- package/dist/src/kernel/__tests__/flag-utils.test.js.map +1 -0
- package/dist/src/kernel/__tests__/hooks.test.d.ts +2 -0
- package/dist/src/kernel/__tests__/hooks.test.d.ts.map +1 -0
- package/dist/src/kernel/__tests__/hooks.test.js +72 -0
- package/dist/src/kernel/__tests__/hooks.test.js.map +1 -0
- package/dist/src/kernel/base-command.d.ts +26 -0
- package/dist/src/kernel/base-command.d.ts.map +1 -0
- package/dist/src/kernel/base-command.js +79 -0
- package/dist/src/kernel/base-command.js.map +1 -0
- package/dist/src/kernel/bootstrap.d.ts +9 -0
- package/dist/src/kernel/bootstrap.d.ts.map +1 -0
- package/dist/src/kernel/bootstrap.js +109 -0
- package/dist/src/kernel/bootstrap.js.map +1 -0
- package/dist/src/kernel/command-registry.d.ts +44 -0
- package/dist/src/kernel/command-registry.d.ts.map +1 -0
- package/dist/src/kernel/command-registry.js +248 -0
- package/dist/src/kernel/command-registry.js.map +1 -0
- package/dist/src/kernel/command-runner.d.ts +26 -0
- package/dist/src/kernel/command-runner.d.ts.map +1 -0
- package/dist/src/kernel/command-runner.js +169 -0
- package/dist/src/kernel/command-runner.js.map +1 -0
- package/dist/src/kernel/command-scope-utils.d.ts +27 -0
- package/dist/src/kernel/command-scope-utils.d.ts.map +1 -0
- package/dist/src/kernel/command-scope-utils.js +40 -0
- package/dist/src/kernel/command-scope-utils.js.map +1 -0
- package/dist/src/kernel/flag-utils.d.ts +32 -0
- package/dist/src/kernel/flag-utils.d.ts.map +1 -0
- package/dist/src/kernel/flag-utils.js +43 -0
- package/dist/src/kernel/flag-utils.js.map +1 -0
- package/dist/src/kernel/hooks.d.ts +17 -0
- package/dist/src/kernel/hooks.d.ts.map +1 -0
- package/dist/src/kernel/hooks.js +51 -0
- package/dist/src/kernel/hooks.js.map +1 -0
- package/dist/src/kernel/logger.d.ts +3 -0
- package/dist/src/kernel/logger.d.ts.map +1 -0
- package/dist/src/kernel/logger.js +10 -0
- package/dist/src/kernel/logger.js.map +1 -0
- package/dist/src/kernel/types.d.ts +145 -0
- package/dist/src/kernel/types.d.ts.map +1 -0
- package/dist/src/kernel/types.js +66 -0
- package/dist/src/kernel/types.js.map +1 -0
- package/dist/src/main.d.ts +7 -0
- package/dist/src/main.d.ts.map +1 -0
- package/dist/src/main.js +12 -0
- package/dist/src/main.js.map +1 -0
- package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.d.ts +2 -0
- package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.d.ts.map +1 -0
- package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.js +88 -0
- package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.js.map +1 -0
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts +2 -0
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts.map +1 -0
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js +96 -0
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js.map +1 -0
- package/dist/src/modules/domain/credentials/admin-user.module.d.ts +53 -0
- package/dist/src/modules/domain/credentials/admin-user.module.d.ts.map +1 -0
- package/dist/src/modules/domain/credentials/admin-user.module.js +130 -0
- package/dist/src/modules/domain/credentials/admin-user.module.js.map +1 -0
- package/dist/src/modules/domain/credentials/module.types.d.ts +2 -0
- package/dist/src/modules/domain/credentials/module.types.d.ts.map +1 -0
- package/dist/src/modules/domain/credentials/module.types.js +1 -0
- package/dist/src/modules/domain/credentials/module.types.js.map +1 -0
- package/dist/src/modules/domain/credentials/providers-config.module.d.ts +31 -0
- package/dist/src/modules/domain/credentials/providers-config.module.d.ts.map +1 -0
- package/dist/src/modules/domain/credentials/providers-config.module.js +146 -0
- package/dist/src/modules/domain/credentials/providers-config.module.js.map +1 -0
- package/dist/src/modules/domain/environment/__tests__/database-config.module.test.d.ts +2 -0
- package/dist/src/modules/domain/environment/__tests__/database-config.module.test.d.ts.map +1 -0
- package/dist/src/modules/domain/environment/__tests__/database-config.module.test.js +89 -0
- package/dist/src/modules/domain/environment/__tests__/database-config.module.test.js.map +1 -0
- package/dist/src/modules/domain/environment/database-config.module.d.ts +10 -0
- package/dist/src/modules/domain/environment/database-config.module.d.ts.map +1 -0
- package/dist/src/modules/domain/environment/database-config.module.js +131 -0
- package/dist/src/modules/domain/environment/database-config.module.js.map +1 -0
- package/dist/src/modules/domain/environment/module.types.d.ts +14 -0
- package/dist/src/modules/domain/environment/module.types.d.ts.map +1 -0
- package/dist/src/modules/domain/environment/module.types.js +1 -0
- package/dist/src/modules/domain/environment/module.types.js.map +1 -0
- package/dist/src/modules/domain/environment/paths-config.module.d.ts +15 -0
- package/dist/src/modules/domain/environment/paths-config.module.d.ts.map +1 -0
- package/dist/src/modules/domain/environment/paths-config.module.js +90 -0
- package/dist/src/modules/domain/environment/paths-config.module.js.map +1 -0
- package/dist/src/modules/domain/environment/runtime-selector.module.d.ts +7 -0
- package/dist/src/modules/domain/environment/runtime-selector.module.d.ts.map +1 -0
- package/dist/src/modules/domain/environment/runtime-selector.module.js +30 -0
- package/dist/src/modules/domain/environment/runtime-selector.module.js.map +1 -0
- package/dist/src/modules/domain/environment/runtime-semantics.module.d.ts +8 -0
- package/dist/src/modules/domain/environment/runtime-semantics.module.d.ts.map +1 -0
- package/dist/src/modules/domain/environment/runtime-semantics.module.js +35 -0
- package/dist/src/modules/domain/environment/runtime-semantics.module.js.map +1 -0
- package/dist/src/modules/domain/module.types.d.ts +10 -0
- package/dist/src/modules/domain/module.types.d.ts.map +1 -0
- package/dist/src/modules/domain/module.types.js +1 -0
- package/dist/src/modules/domain/module.types.js.map +1 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.js +129 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.js.map +1 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.js +220 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.js.map +1 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js +112 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js.map +1 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.js +873 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js +237 -0
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js.map +1 -0
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js +244 -0
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js +81 -0
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js +211 -0
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/application-initialization-verification.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/application-initialization-verification.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/application-initialization-verification.service.test.js +159 -0
- package/dist/src/services/application/__tests__/application-initialization-verification.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.js +137 -0
- package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.js +41 -0
- package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.js.map +1 -0
- package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.js +65 -0
- package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.js.map +1 -0
- package/dist/src/services/application/__tests__/dev-orchestrator.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/dev-orchestrator.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/dev-orchestrator.service.test.js +46 -0
- package/dist/src/services/application/__tests__/dev-orchestrator.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/dev-schema-drift.service.test.d.ts +10 -0
- package/dist/src/services/application/__tests__/dev-schema-drift.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/dev-schema-drift.service.test.js +142 -0
- package/dist/src/services/application/__tests__/dev-schema-drift.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js +292 -0
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.js +348 -0
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/local-application-initialization.guard.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/local-application-initialization.guard.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/local-application-initialization.guard.test.js +98 -0
- package/dist/src/services/application/__tests__/local-application-initialization.guard.test.js.map +1 -0
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.js +94 -0
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js +771 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.d.ts +19 -0
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js +173 -0
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js.map +1 -0
- package/dist/src/services/application/__tests__/saas-scaffold.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/saas-scaffold.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/saas-scaffold.service.test.js +29 -0
- package/dist/src/services/application/__tests__/saas-scaffold.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.js +378 -0
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.js.map +1 -0
- package/dist/src/services/application/app-bootstrap.service.d.ts +438 -0
- package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -0
- package/dist/src/services/application/app-bootstrap.service.js +1512 -0
- package/dist/src/services/application/app-bootstrap.service.js.map +1 -0
- package/dist/src/services/application/app-env.service.d.ts +18 -0
- package/dist/src/services/application/app-env.service.d.ts.map +1 -0
- package/dist/src/services/application/app-env.service.js +55 -0
- package/dist/src/services/application/app-env.service.js.map +1 -0
- package/dist/src/services/application/app-local-runtime-addresses.service.d.ts +34 -0
- package/dist/src/services/application/app-local-runtime-addresses.service.d.ts.map +1 -0
- package/dist/src/services/application/app-local-runtime-addresses.service.js +110 -0
- package/dist/src/services/application/app-local-runtime-addresses.service.js.map +1 -0
- package/dist/src/services/application/app-runtime-targets.service.d.ts +74 -0
- package/dist/src/services/application/app-runtime-targets.service.d.ts.map +1 -0
- package/dist/src/services/application/app-runtime-targets.service.js +134 -0
- package/dist/src/services/application/app-runtime-targets.service.js.map +1 -0
- package/dist/src/services/application/app-schema-bootstrap.service.d.ts +81 -0
- package/dist/src/services/application/app-schema-bootstrap.service.d.ts.map +1 -0
- package/dist/src/services/application/app-schema-bootstrap.service.js +139 -0
- package/dist/src/services/application/app-schema-bootstrap.service.js.map +1 -0
- package/dist/src/services/application/application-assets-delivery.service.d.ts +75 -0
- package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -0
- package/dist/src/services/application/application-assets-delivery.service.js +152 -0
- package/dist/src/services/application/application-assets-delivery.service.js.map +1 -0
- package/dist/src/services/application/application-dependency-alignment.service.d.ts +142 -0
- package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -0
- package/dist/src/services/application/application-dependency-alignment.service.js +388 -0
- package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -0
- package/dist/src/services/application/application-dev-port-offsets.d.ts +35 -0
- package/dist/src/services/application/application-dev-port-offsets.d.ts.map +1 -0
- package/dist/src/services/application/application-dev-port-offsets.js +35 -0
- package/dist/src/services/application/application-dev-port-offsets.js.map +1 -0
- package/dist/src/services/application/application-initialization-verification.service.d.ts +51 -0
- package/dist/src/services/application/application-initialization-verification.service.d.ts.map +1 -0
- package/dist/src/services/application/application-initialization-verification.service.js +124 -0
- package/dist/src/services/application/application-initialization-verification.service.js.map +1 -0
- package/dist/src/services/application/application-root.utils.d.ts +9 -0
- package/dist/src/services/application/application-root.utils.d.ts.map +1 -0
- package/dist/src/services/application/application-root.utils.js +21 -0
- package/dist/src/services/application/application-root.utils.js.map +1 -0
- package/dist/src/services/application/application-runtime-bootstrap.service.d.ts +39 -0
- package/dist/src/services/application/application-runtime-bootstrap.service.d.ts.map +1 -0
- package/dist/src/services/application/application-runtime-bootstrap.service.js +99 -0
- package/dist/src/services/application/application-runtime-bootstrap.service.js.map +1 -0
- package/dist/src/services/application/dev-orchestrator.service.d.ts +31 -0
- package/dist/src/services/application/dev-orchestrator.service.d.ts.map +1 -0
- package/dist/src/services/application/dev-orchestrator.service.js +182 -0
- package/dist/src/services/application/dev-orchestrator.service.js.map +1 -0
- package/dist/src/services/application/dev-schema-drift.service.d.ts +75 -0
- package/dist/src/services/application/dev-schema-drift.service.d.ts.map +1 -0
- package/dist/src/services/application/dev-schema-drift.service.js +210 -0
- package/dist/src/services/application/dev-schema-drift.service.js.map +1 -0
- package/dist/src/services/application/existing-app-bootstrap.service.d.ts +18 -0
- package/dist/src/services/application/existing-app-bootstrap.service.d.ts.map +1 -0
- package/dist/src/services/application/existing-app-bootstrap.service.js +221 -0
- package/dist/src/services/application/existing-app-bootstrap.service.js.map +1 -0
- package/dist/src/services/application/local-app-reinit.service.d.ts +41 -0
- package/dist/src/services/application/local-app-reinit.service.d.ts.map +1 -0
- package/dist/src/services/application/local-app-reinit.service.js +118 -0
- package/dist/src/services/application/local-app-reinit.service.js.map +1 -0
- package/dist/src/services/application/local-application-initialization.service.d.ts +36 -0
- package/dist/src/services/application/local-application-initialization.service.d.ts.map +1 -0
- package/dist/src/services/application/local-application-initialization.service.js +96 -0
- package/dist/src/services/application/local-application-initialization.service.js.map +1 -0
- package/dist/src/services/application/provider-runtime-sync.service.d.ts +63 -0
- package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -0
- package/dist/src/services/application/provider-runtime-sync.service.js +609 -0
- package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -0
- package/dist/src/services/application/saas-scaffold.service.d.ts +14 -0
- package/dist/src/services/application/saas-scaffold.service.d.ts.map +1 -0
- package/dist/src/services/application/saas-scaffold.service.js +86 -0
- package/dist/src/services/application/saas-scaffold.service.js.map +1 -0
- package/dist/src/services/application/saas-skeleton.service.d.ts +69 -0
- package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -0
- package/dist/src/services/application/saas-skeleton.service.js +774 -0
- package/dist/src/services/application/saas-skeleton.service.js.map +1 -0
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts +23 -0
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts.map +1 -0
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.js +190 -0
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.js.map +1 -0
- package/dist/src/services/brand/brand-asset-projection.d.ts +39 -0
- package/dist/src/services/brand/brand-asset-projection.d.ts.map +1 -0
- package/dist/src/services/brand/brand-asset-projection.js +68 -0
- package/dist/src/services/brand/brand-asset-projection.js.map +1 -0
- package/dist/src/services/brand/brand-destination-utils.d.ts +137 -0
- package/dist/src/services/brand/brand-destination-utils.d.ts.map +1 -0
- package/dist/src/services/brand/brand-destination-utils.js +227 -0
- package/dist/src/services/brand/brand-destination-utils.js.map +1 -0
- package/dist/src/services/brand/brand-propagation.types.d.ts +101 -0
- package/dist/src/services/brand/brand-propagation.types.d.ts.map +1 -0
- package/dist/src/services/brand/brand-propagation.types.js +22 -0
- package/dist/src/services/brand/brand-propagation.types.js.map +1 -0
- package/dist/src/services/brand/brand-ssot-reader.d.ts +52 -0
- package/dist/src/services/brand/brand-ssot-reader.d.ts.map +1 -0
- package/dist/src/services/brand/brand-ssot-reader.js +146 -0
- package/dist/src/services/brand/brand-ssot-reader.js.map +1 -0
- package/dist/src/services/brand/destinations/app-public.destination.d.ts +30 -0
- package/dist/src/services/brand/destinations/app-public.destination.d.ts.map +1 -0
- package/dist/src/services/brand/destinations/app-public.destination.js +79 -0
- package/dist/src/services/brand/destinations/app-public.destination.js.map +1 -0
- package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts +61 -0
- package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts.map +1 -0
- package/dist/src/services/brand/destinations/runtime-app-config.destination.js +149 -0
- package/dist/src/services/brand/destinations/runtime-app-config.destination.js.map +1 -0
- package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts +22 -0
- package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts.map +1 -0
- package/dist/src/services/brand/destinations/technical-doc-static.destination.js +84 -0
- package/dist/src/services/brand/destinations/technical-doc-static.destination.js.map +1 -0
- package/dist/src/services/brand/destinations/website-og.destination.d.ts +34 -0
- package/dist/src/services/brand/destinations/website-og.destination.d.ts.map +1 -0
- package/dist/src/services/brand/destinations/website-og.destination.js +80 -0
- package/dist/src/services/brand/destinations/website-og.destination.js.map +1 -0
- package/dist/src/services/brand/destinations/website-public.destination.d.ts +40 -0
- package/dist/src/services/brand/destinations/website-public.destination.d.ts.map +1 -0
- package/dist/src/services/brand/destinations/website-public.destination.js +122 -0
- package/dist/src/services/brand/destinations/website-public.destination.js.map +1 -0
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.d.ts +2 -0
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.d.ts.map +1 -0
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js +142 -0
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js.map +1 -0
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.d.ts +2 -0
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.d.ts.map +1 -0
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js +94 -0
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js.map +1 -0
- package/dist/src/services/catalog/service-address-resolver.service.d.ts +91 -0
- package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -0
- package/dist/src/services/catalog/service-address-resolver.service.js +255 -0
- package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -0
- package/dist/src/services/catalog/service-catalog.schemas.d.ts +165 -0
- package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -0
- package/dist/src/services/catalog/service-catalog.schemas.js +273 -0
- package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -0
- package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts +105 -0
- package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts.map +1 -0
- package/dist/src/services/coding-agents/acp-conformance-probe.service.js +418 -0
- package/dist/src/services/coding-agents/acp-conformance-probe.service.js.map +1 -0
- package/dist/src/services/companion/__tests__/companion-client.service.test.d.ts +10 -0
- package/dist/src/services/companion/__tests__/companion-client.service.test.d.ts.map +1 -0
- package/dist/src/services/companion/__tests__/companion-client.service.test.js +95 -0
- package/dist/src/services/companion/__tests__/companion-client.service.test.js.map +1 -0
- package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.d.ts +2 -0
- package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.d.ts.map +1 -0
- package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.js +74 -0
- package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.js.map +1 -0
- package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.d.ts +2 -0
- package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.d.ts.map +1 -0
- package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.js +14 -0
- package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.js.map +1 -0
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.d.ts +2 -0
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.d.ts.map +1 -0
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.js +50 -0
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.js.map +1 -0
- package/dist/src/services/companion/companion-client-options.utils.d.ts +17 -0
- package/dist/src/services/companion/companion-client-options.utils.d.ts.map +1 -0
- package/dist/src/services/companion/companion-client-options.utils.js +31 -0
- package/dist/src/services/companion/companion-client-options.utils.js.map +1 -0
- package/dist/src/services/companion/companion-client.service.d.ts +16 -0
- package/dist/src/services/companion/companion-client.service.d.ts.map +1 -0
- package/dist/src/services/companion/companion-client.service.js +149 -0
- package/dist/src/services/companion/companion-client.service.js.map +1 -0
- package/dist/src/services/companion/companion-lifecycle.service.d.ts +18 -0
- package/dist/src/services/companion/companion-lifecycle.service.d.ts.map +1 -0
- package/dist/src/services/companion/companion-lifecycle.service.js +96 -0
- package/dist/src/services/companion/companion-lifecycle.service.js.map +1 -0
- package/dist/src/services/companion/companion.schemas.d.ts +36 -0
- package/dist/src/services/companion/companion.schemas.d.ts.map +1 -0
- package/dist/src/services/companion/companion.schemas.js +25 -0
- package/dist/src/services/companion/companion.schemas.js.map +1 -0
- package/dist/src/services/companion/git-helper.service.d.ts +29 -0
- package/dist/src/services/companion/git-helper.service.d.ts.map +1 -0
- package/dist/src/services/companion/git-helper.service.js +59 -0
- package/dist/src/services/companion/git-helper.service.js.map +1 -0
- package/dist/src/services/companion/local-companion-authority.service.d.ts +24 -0
- package/dist/src/services/companion/local-companion-authority.service.d.ts.map +1 -0
- package/dist/src/services/companion/local-companion-authority.service.js +79 -0
- package/dist/src/services/companion/local-companion-authority.service.js.map +1 -0
- package/dist/src/services/companion/workbench-browser-launcher.service.d.ts +9 -0
- package/dist/src/services/companion/workbench-browser-launcher.service.d.ts.map +1 -0
- package/dist/src/services/companion/workbench-browser-launcher.service.js +34 -0
- package/dist/src/services/companion/workbench-browser-launcher.service.js.map +1 -0
- package/dist/src/services/companion/workbench-cli.service.d.ts +41 -0
- package/dist/src/services/companion/workbench-cli.service.d.ts.map +1 -0
- package/dist/src/services/companion/workbench-cli.service.js +74 -0
- package/dist/src/services/companion/workbench-cli.service.js.map +1 -0
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.d.ts +2 -0
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.d.ts.map +1 -0
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js +49 -0
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js.map +1 -0
- package/dist/src/services/context/__tests__/context-manager.service.test.d.ts +2 -0
- package/dist/src/services/context/__tests__/context-manager.service.test.d.ts.map +1 -0
- package/dist/src/services/context/__tests__/context-manager.service.test.js +119 -0
- package/dist/src/services/context/__tests__/context-manager.service.test.js.map +1 -0
- package/dist/src/services/context/context-manager.service.d.ts +66 -0
- package/dist/src/services/context/context-manager.service.d.ts.map +1 -0
- package/dist/src/services/context/context-manager.service.js +161 -0
- package/dist/src/services/context/context-manager.service.js.map +1 -0
- package/dist/src/services/context/context.schemas.d.ts +31 -0
- package/dist/src/services/context/context.schemas.d.ts.map +1 -0
- package/dist/src/services/context/context.schemas.js +1 -0
- package/dist/src/services/context/context.schemas.js.map +1 -0
- package/dist/src/services/context/state-manager.service.d.ts +49 -0
- package/dist/src/services/context/state-manager.service.d.ts.map +1 -0
- package/dist/src/services/context/state-manager.service.js +94 -0
- package/dist/src/services/context/state-manager.service.js.map +1 -0
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.d.ts +14 -0
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js +258 -0
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/secrets-contracts.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/secrets-contracts.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/secrets-contracts.test.js +277 -0
- package/dist/src/services/credentials/__tests__/secrets-contracts.test.js.map +1 -0
- package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts +31 -0
- package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts.map +1 -0
- package/dist/src/services/credentials/ci-secrets-adapter.service.js +124 -0
- package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -0
- package/dist/src/services/credentials/credentials.schemas.d.ts +498 -0
- package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -0
- package/dist/src/services/credentials/credentials.schemas.js +454 -0
- package/dist/src/services/credentials/credentials.schemas.js.map +1 -0
- package/dist/src/services/credentials/credentials.service.d.ts +23 -0
- package/dist/src/services/credentials/credentials.service.d.ts.map +1 -0
- package/dist/src/services/credentials/credentials.service.js +118 -0
- package/dist/src/services/credentials/credentials.service.js.map +1 -0
- package/dist/src/services/credentials/framework-managed-secrets.d.ts +169 -0
- package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -0
- package/dist/src/services/credentials/framework-managed-secrets.js +406 -0
- package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -0
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts +142 -0
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -0
- package/dist/src/services/credentials/provider-env-vars.utils.js +420 -0
- package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -0
- package/dist/src/services/credentials/secrets-provisioning.service.d.ts +109 -0
- package/dist/src/services/credentials/secrets-provisioning.service.d.ts.map +1 -0
- package/dist/src/services/credentials/secrets-provisioning.service.js +104 -0
- package/dist/src/services/credentials/secrets-provisioning.service.js.map +1 -0
- package/dist/src/services/credentials/secrets-reader.service.d.ts +64 -0
- package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -0
- package/dist/src/services/credentials/secrets-reader.service.js +222 -0
- package/dist/src/services/credentials/secrets-reader.service.js.map +1 -0
- package/dist/src/services/credentials/secrets-rotation.service.d.ts +21 -0
- package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -0
- package/dist/src/services/credentials/secrets-rotation.service.js +30 -0
- package/dist/src/services/credentials/secrets-rotation.service.js.map +1 -0
- package/dist/src/services/credentials/secrets-writer.service.d.ts +29 -0
- package/dist/src/services/credentials/secrets-writer.service.d.ts.map +1 -0
- package/dist/src/services/credentials/secrets-writer.service.js +63 -0
- package/dist/src/services/credentials/secrets-writer.service.js.map +1 -0
- package/dist/src/services/data-services/data-services.schemas.d.ts +229 -0
- package/dist/src/services/data-services/data-services.schemas.d.ts.map +1 -0
- package/dist/src/services/data-services/data-services.schemas.js +239 -0
- package/dist/src/services/data-services/data-services.schemas.js.map +1 -0
- package/dist/src/services/data-services/data-services.service.d.ts +14 -0
- package/dist/src/services/data-services/data-services.service.d.ts.map +1 -0
- package/dist/src/services/data-services/data-services.service.js +24 -0
- package/dist/src/services/data-services/data-services.service.js.map +1 -0
- package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.js +64 -0
- package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js +147 -0
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js +39 -0
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js +286 -0
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.d.ts +20 -0
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js +316 -0
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.js +211 -0
- package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.js +97 -0
- package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.js +258 -0
- package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.js +223 -0
- package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.js +100 -0
- package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.d.ts +11 -0
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js +451 -0
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js +189 -0
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js +150 -0
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.js +245 -0
- package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.js +27 -0
- package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.js.map +1 -0
- package/dist/src/services/deployment/apps-manager-diagnostics.service.d.ts +7 -0
- package/dist/src/services/deployment/apps-manager-diagnostics.service.d.ts.map +1 -0
- package/dist/src/services/deployment/apps-manager-diagnostics.service.js +51 -0
- package/dist/src/services/deployment/apps-manager-diagnostics.service.js.map +1 -0
- package/dist/src/services/deployment/ci-deploy-generator.service.d.ts +54 -0
- package/dist/src/services/deployment/ci-deploy-generator.service.d.ts.map +1 -0
- package/dist/src/services/deployment/ci-deploy-generator.service.js +319 -0
- package/dist/src/services/deployment/ci-deploy-generator.service.js.map +1 -0
- package/dist/src/services/deployment/ci-workflow-generator.service.d.ts +109 -0
- package/dist/src/services/deployment/ci-workflow-generator.service.d.ts.map +1 -0
- package/dist/src/services/deployment/ci-workflow-generator.service.js +160 -0
- package/dist/src/services/deployment/ci-workflow-generator.service.js.map +1 -0
- package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.d.ts +2 -0
- package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.d.ts.map +1 -0
- package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.js +45 -0
- package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.js.map +1 -0
- package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.d.ts +2 -0
- package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.d.ts.map +1 -0
- package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.js +81 -0
- package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.js.map +1 -0
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.d.ts +2 -0
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js +814 -0
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js.map +1 -0
- package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.d.ts +2 -0
- package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.js +77 -0
- package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.js.map +1 -0
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +225 -0
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -0
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js +696 -0
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -0
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts +89 -0
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts.map +1 -0
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.js +198 -0
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.js.map +1 -0
- package/dist/src/services/deployment/docker/docker.schemas.d.ts +17 -0
- package/dist/src/services/deployment/docker/docker.schemas.d.ts.map +1 -0
- package/dist/src/services/deployment/docker/docker.schemas.js +4 -0
- package/dist/src/services/deployment/docker/docker.schemas.js.map +1 -0
- package/dist/src/services/deployment/docker/docker.service.d.ts +23 -0
- package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -0
- package/dist/src/services/deployment/docker/docker.service.js +94 -0
- package/dist/src/services/deployment/docker/docker.service.js.map +1 -0
- package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts +209 -0
- package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts.map +1 -0
- package/dist/src/services/deployment/host-toolchain-readiness.service.js +283 -0
- package/dist/src/services/deployment/host-toolchain-readiness.service.js.map +1 -0
- package/dist/src/services/deployment/infra-writer.service.d.ts +16 -0
- package/dist/src/services/deployment/infra-writer.service.d.ts.map +1 -0
- package/dist/src/services/deployment/infra-writer.service.js +71 -0
- package/dist/src/services/deployment/infra-writer.service.js.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.d.ts +2 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.js +235 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.js.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.d.ts +2 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js +968 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.d.ts +2 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.js +39 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.js.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.d.ts +2 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js +175 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/kind.service.test.d.ts +2 -0
- package/dist/src/services/deployment/k8s/__tests__/kind.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/kind.service.test.js +47 -0
- package/dist/src/services/deployment/k8s/__tests__/kind.service.test.js.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.d.ts +2 -0
- package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.js +22 -0
- package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.js.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts +30 -0
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js +659 -0
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts +47 -0
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.js +135 -0
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.js.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts +283 -0
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +874 -0
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +164 -0
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js +74 -0
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts +152 -0
- package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-operations.service.js +430 -0
- package/dist/src/services/deployment/k8s/k8s-operations.service.js.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts +23 -0
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +351 -0
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -0
- package/dist/src/services/deployment/k8s/k8s.schemas.d.ts +36 -0
- package/dist/src/services/deployment/k8s/k8s.schemas.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/k8s.schemas.js +39 -0
- package/dist/src/services/deployment/k8s/k8s.schemas.js.map +1 -0
- package/dist/src/services/deployment/k8s/kind.service.d.ts +64 -0
- package/dist/src/services/deployment/k8s/kind.service.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/kind.service.js +448 -0
- package/dist/src/services/deployment/k8s/kind.service.js.map +1 -0
- package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.d.ts +11 -0
- package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.js +29 -0
- package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.js.map +1 -0
- package/dist/src/services/deployment/local-dev-observer-lifecycle.d.ts +35 -0
- package/dist/src/services/deployment/local-dev-observer-lifecycle.d.ts.map +1 -0
- package/dist/src/services/deployment/local-dev-observer-lifecycle.js +80 -0
- package/dist/src/services/deployment/local-dev-observer-lifecycle.js.map +1 -0
- package/dist/src/services/deployment/local-dev-output-boundary.d.ts +120 -0
- package/dist/src/services/deployment/local-dev-output-boundary.d.ts.map +1 -0
- package/dist/src/services/deployment/local-dev-output-boundary.js +450 -0
- package/dist/src/services/deployment/local-dev-output-boundary.js.map +1 -0
- package/dist/src/services/deployment/local-dev-session-lease.service.d.ts +63 -0
- package/dist/src/services/deployment/local-dev-session-lease.service.d.ts.map +1 -0
- package/dist/src/services/deployment/local-dev-session-lease.service.js +240 -0
- package/dist/src/services/deployment/local-dev-session-lease.service.js.map +1 -0
- package/dist/src/services/deployment/local-dev-shutdown-coordinator.d.ts +56 -0
- package/dist/src/services/deployment/local-dev-shutdown-coordinator.d.ts.map +1 -0
- package/dist/src/services/deployment/local-dev-shutdown-coordinator.js +62 -0
- package/dist/src/services/deployment/local-dev-shutdown-coordinator.js.map +1 -0
- package/dist/src/services/deployment/local-infrastructure-initialization.service.d.ts +16 -0
- package/dist/src/services/deployment/local-infrastructure-initialization.service.d.ts.map +1 -0
- package/dist/src/services/deployment/local-infrastructure-initialization.service.js +72 -0
- package/dist/src/services/deployment/local-infrastructure-initialization.service.js.map +1 -0
- package/dist/src/services/deployment/local-precondition-checks.schemas.d.ts +41 -0
- package/dist/src/services/deployment/local-precondition-checks.schemas.d.ts.map +1 -0
- package/dist/src/services/deployment/local-precondition-checks.schemas.js +32 -0
- package/dist/src/services/deployment/local-precondition-checks.schemas.js.map +1 -0
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts +394 -0
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -0
- package/dist/src/services/deployment/local-precondition-checks.service.js +785 -0
- package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -0
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts +83 -0
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts.map +1 -0
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js +298 -0
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js.map +1 -0
- package/dist/src/services/deployment/platform-lifecycle.service.d.ts +105 -0
- package/dist/src/services/deployment/platform-lifecycle.service.d.ts.map +1 -0
- package/dist/src/services/deployment/platform-lifecycle.service.js +509 -0
- package/dist/src/services/deployment/platform-lifecycle.service.js.map +1 -0
- package/dist/src/services/deployment/platform-runtime-policy.service.d.ts +18 -0
- package/dist/src/services/deployment/platform-runtime-policy.service.d.ts.map +1 -0
- package/dist/src/services/deployment/platform-runtime-policy.service.js +33 -0
- package/dist/src/services/deployment/platform-runtime-policy.service.js.map +1 -0
- package/dist/src/services/deployment/version-compare.utils.d.ts +38 -0
- package/dist/src/services/deployment/version-compare.utils.d.ts.map +1 -0
- package/dist/src/services/deployment/version-compare.utils.js +59 -0
- package/dist/src/services/deployment/version-compare.utils.js.map +1 -0
- package/dist/src/services/design-tokens/design-tokens-command.service.d.ts +5 -0
- package/dist/src/services/design-tokens/design-tokens-command.service.d.ts.map +1 -0
- package/dist/src/services/design-tokens/design-tokens-command.service.js +277 -0
- package/dist/src/services/design-tokens/design-tokens-command.service.js.map +1 -0
- package/dist/src/services/design-tokens/design-tokens-config.service.d.ts +5 -0
- package/dist/src/services/design-tokens/design-tokens-config.service.d.ts.map +1 -0
- package/dist/src/services/design-tokens/design-tokens-config.service.js +45 -0
- package/dist/src/services/design-tokens/design-tokens-config.service.js.map +1 -0
- package/dist/src/services/design-tokens/design-tokens-config.template.d.ts +2 -0
- package/dist/src/services/design-tokens/design-tokens-config.template.d.ts.map +1 -0
- package/dist/src/services/design-tokens/design-tokens-config.template.js +12 -0
- package/dist/src/services/design-tokens/design-tokens-config.template.js.map +1 -0
- package/dist/src/services/design-tokens/design-tokens-css-block.service.d.ts +7 -0
- package/dist/src/services/design-tokens/design-tokens-css-block.service.d.ts.map +1 -0
- package/dist/src/services/design-tokens/design-tokens-css-block.service.js +24 -0
- package/dist/src/services/design-tokens/design-tokens-css-block.service.js.map +1 -0
- package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts +23 -0
- package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts.map +1 -0
- package/dist/src/services/design-tokens/design-tokens-paths.service.js +49 -0
- package/dist/src/services/design-tokens/design-tokens-paths.service.js.map +1 -0
- package/dist/src/services/design-tokens/design-tokens.constants.d.ts +7 -0
- package/dist/src/services/design-tokens/design-tokens.constants.d.ts.map +1 -0
- package/dist/src/services/design-tokens/design-tokens.constants.js +16 -0
- package/dist/src/services/design-tokens/design-tokens.constants.js.map +1 -0
- package/dist/src/services/design-tokens/design-tokens.models.d.ts +7 -0
- package/dist/src/services/design-tokens/design-tokens.models.d.ts.map +1 -0
- package/dist/src/services/design-tokens/design-tokens.models.js +1 -0
- package/dist/src/services/design-tokens/design-tokens.models.js.map +1 -0
- package/dist/src/services/environment/__tests__/compose-converge-args.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/compose-converge-args.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/compose-converge-args.test.js +93 -0
- package/dist/src/services/environment/__tests__/compose-converge-args.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/config-hydration-seam.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/config-hydration-seam.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/config-hydration-seam.test.js +105 -0
- package/dist/src/services/environment/__tests__/config-hydration-seam.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js +555 -0
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/env-sync.service.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/env-sync.service.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/env-sync.service.test.js +122 -0
- package/dist/src/services/environment/__tests__/env-sync.service.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js +1547 -0
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/environment-hydration.utils.test.d.ts +22 -0
- package/dist/src/services/environment/__tests__/environment-hydration.utils.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/environment-hydration.utils.test.js +100 -0
- package/dist/src/services/environment/__tests__/environment-hydration.utils.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.js +82 -0
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.js +116 -0
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/environment-paths.service.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/environment-paths.service.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/environment-paths.service.test.js +18 -0
- package/dist/src/services/environment/__tests__/environment-paths.service.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/environment-registry.service.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/environment-registry.service.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/environment-registry.service.test.js +175 -0
- package/dist/src/services/environment/__tests__/environment-registry.service.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js +164 -0
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.js +96 -0
- package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/platform-image-ref.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/platform-image-ref.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/platform-image-ref.test.js +30 -0
- package/dist/src/services/environment/__tests__/platform-image-ref.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.js +48 -0
- package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.js +96 -0
- package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.js +121 -0
- package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.js.map +1 -0
- package/dist/src/services/environment/authored-infra-config.utils.d.ts +69 -0
- package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -0
- package/dist/src/services/environment/authored-infra-config.utils.js +174 -0
- package/dist/src/services/environment/authored-infra-config.utils.js.map +1 -0
- package/dist/src/services/environment/env-configuration-generator.service.d.ts +340 -0
- package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -0
- package/dist/src/services/environment/env-configuration-generator.service.js +560 -0
- package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -0
- package/dist/src/services/environment/env-sync.service.d.ts +36 -0
- package/dist/src/services/environment/env-sync.service.d.ts.map +1 -0
- package/dist/src/services/environment/env-sync.service.js +166 -0
- package/dist/src/services/environment/env-sync.service.js.map +1 -0
- package/dist/src/services/environment/env-vars-builder.service.d.ts +301 -0
- package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -0
- package/dist/src/services/environment/env-vars-builder.service.js +1493 -0
- package/dist/src/services/environment/env-vars-builder.service.js.map +1 -0
- package/dist/src/services/environment/environment-hydration.utils.d.ts +92 -0
- package/dist/src/services/environment/environment-hydration.utils.d.ts.map +1 -0
- package/dist/src/services/environment/environment-hydration.utils.js +178 -0
- package/dist/src/services/environment/environment-hydration.utils.js.map +1 -0
- package/dist/src/services/environment/environment-lifecycle.service.d.ts +103 -0
- package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -0
- package/dist/src/services/environment/environment-lifecycle.service.js +264 -0
- package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -0
- package/dist/src/services/environment/environment-paths.service.d.ts +235 -0
- package/dist/src/services/environment/environment-paths.service.d.ts.map +1 -0
- package/dist/src/services/environment/environment-paths.service.js +472 -0
- package/dist/src/services/environment/environment-paths.service.js.map +1 -0
- package/dist/src/services/environment/environment-registry.service.d.ts +111 -0
- package/dist/src/services/environment/environment-registry.service.d.ts.map +1 -0
- package/dist/src/services/environment/environment-registry.service.js +391 -0
- package/dist/src/services/environment/environment-registry.service.js.map +1 -0
- package/dist/src/services/environment/environment-setup.service.d.ts +28 -0
- package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -0
- package/dist/src/services/environment/environment-setup.service.js +304 -0
- package/dist/src/services/environment/environment-setup.service.js.map +1 -0
- package/dist/src/services/environment/environment.schemas.d.ts +211 -0
- package/dist/src/services/environment/environment.schemas.d.ts.map +1 -0
- package/dist/src/services/environment/environment.schemas.js +56 -0
- package/dist/src/services/environment/environment.schemas.js.map +1 -0
- package/dist/src/services/environment/environment.service.d.ts +74 -0
- package/dist/src/services/environment/environment.service.d.ts.map +1 -0
- package/dist/src/services/environment/environment.service.js +65 -0
- package/dist/src/services/environment/environment.service.js.map +1 -0
- package/dist/src/services/environment/platform-engine-change.utils.d.ts +87 -0
- package/dist/src/services/environment/platform-engine-change.utils.d.ts.map +1 -0
- package/dist/src/services/environment/platform-engine-change.utils.js +121 -0
- package/dist/src/services/environment/platform-engine-change.utils.js.map +1 -0
- package/dist/src/services/environment/platform-runtime-state.service.d.ts +14 -0
- package/dist/src/services/environment/platform-runtime-state.service.d.ts.map +1 -0
- package/dist/src/services/environment/platform-runtime-state.service.js +68 -0
- package/dist/src/services/environment/platform-runtime-state.service.js.map +1 -0
- package/dist/src/services/environment/platform-runtime.schemas.d.ts +74 -0
- package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -0
- package/dist/src/services/environment/platform-runtime.schemas.js +85 -0
- package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -0
- package/dist/src/services/environment/runtime-bootstrap.service.d.ts +285 -0
- package/dist/src/services/environment/runtime-bootstrap.service.d.ts.map +1 -0
- package/dist/src/services/environment/runtime-bootstrap.service.js +436 -0
- package/dist/src/services/environment/runtime-bootstrap.service.js.map +1 -0
- package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.d.ts +14 -0
- package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.js +65 -0
- package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.js +41 -0
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.js +38 -0
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.js +181 -0
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.js +328 -0
- package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.js +84 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js +232 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js +1316 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js +1224 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.js +504 -0
- package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js +456 -0
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-release.service.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/framework-release.service.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/framework-release.service.test.js +75 -0
- package/dist/src/services/framework/__tests__/framework-release.service.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-secrets-writer.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/framework-secrets-writer.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/framework-secrets-writer.test.js +64 -0
- package/dist/src/services/framework/__tests__/framework-secrets-writer.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-version.service.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/framework-version.service.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/framework-version.service.test.js +105 -0
- package/dist/src/services/framework/__tests__/framework-version.service.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.js +60 -0
- package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.js.map +1 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +67 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts.map +1 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.js +536 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -0
- package/dist/src/services/framework/framework-docker-publish.service.d.ts +82 -0
- package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -0
- package/dist/src/services/framework/framework-docker-publish.service.js +234 -0
- package/dist/src/services/framework/framework-docker-publish.service.js.map +1 -0
- package/dist/src/services/framework/framework-knowledge-application-guidance.validator.d.ts +42 -0
- package/dist/src/services/framework/framework-knowledge-application-guidance.validator.d.ts.map +1 -0
- package/dist/src/services/framework/framework-knowledge-application-guidance.validator.js +214 -0
- package/dist/src/services/framework/framework-knowledge-application-guidance.validator.js.map +1 -0
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +547 -0
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -0
- package/dist/src/services/framework/framework-knowledge-audit.service.js +2138 -0
- package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -0
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts +181 -0
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -0
- package/dist/src/services/framework/framework-knowledge-generation.service.js +1794 -0
- package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -0
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts +11 -0
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -0
- package/dist/src/services/framework/framework-knowledge-scan.constants.js +74 -0
- package/dist/src/services/framework/framework-knowledge-scan.constants.js.map +1 -0
- package/dist/src/services/framework/framework-npm-publish.service.d.ts +82 -0
- package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -0
- package/dist/src/services/framework/framework-npm-publish.service.js +365 -0
- package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -0
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts +111 -0
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -0
- package/dist/src/services/framework/framework-publish-manifest.service.js +520 -0
- package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -0
- package/dist/src/services/framework/framework-release.service.d.ts +40 -0
- package/dist/src/services/framework/framework-release.service.d.ts.map +1 -0
- package/dist/src/services/framework/framework-release.service.js +104 -0
- package/dist/src/services/framework/framework-release.service.js.map +1 -0
- package/dist/src/services/framework/framework-version.service.d.ts +39 -0
- package/dist/src/services/framework/framework-version.service.d.ts.map +1 -0
- package/dist/src/services/framework/framework-version.service.js +200 -0
- package/dist/src/services/framework/framework-version.service.js.map +1 -0
- package/dist/src/services/framework/installed-framework-assets.service.d.ts +61 -0
- package/dist/src/services/framework/installed-framework-assets.service.d.ts.map +1 -0
- package/dist/src/services/framework/installed-framework-assets.service.js +87 -0
- package/dist/src/services/framework/installed-framework-assets.service.js.map +1 -0
- package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.d.ts +2 -0
- package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.d.ts.map +1 -0
- package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.js +69 -0
- package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.js.map +1 -0
- package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.d.ts +2 -0
- package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.d.ts.map +1 -0
- package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.js +52 -0
- package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.js.map +1 -0
- package/dist/src/services/frontend/__tests__/frontend-publish.service.test.d.ts +2 -0
- package/dist/src/services/frontend/__tests__/frontend-publish.service.test.d.ts.map +1 -0
- package/dist/src/services/frontend/__tests__/frontend-publish.service.test.js +129 -0
- package/dist/src/services/frontend/__tests__/frontend-publish.service.test.js.map +1 -0
- package/dist/src/services/frontend/cloudflare-cdn.service.d.ts +49 -0
- package/dist/src/services/frontend/cloudflare-cdn.service.d.ts.map +1 -0
- package/dist/src/services/frontend/cloudflare-cdn.service.js +84 -0
- package/dist/src/services/frontend/cloudflare-cdn.service.js.map +1 -0
- package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts +62 -0
- package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts.map +1 -0
- package/dist/src/services/frontend/frontend-dist-uploader.service.js +149 -0
- package/dist/src/services/frontend/frontend-dist-uploader.service.js.map +1 -0
- package/dist/src/services/frontend/frontend-publish.service.d.ts +70 -0
- package/dist/src/services/frontend/frontend-publish.service.d.ts.map +1 -0
- package/dist/src/services/frontend/frontend-publish.service.js +211 -0
- package/dist/src/services/frontend/frontend-publish.service.js.map +1 -0
- package/dist/src/services/generation/domain-generator.service.d.ts +11 -0
- package/dist/src/services/generation/domain-generator.service.d.ts.map +1 -0
- package/dist/src/services/generation/domain-generator.service.js +35 -0
- package/dist/src/services/generation/domain-generator.service.js.map +1 -0
- package/dist/src/services/generation/generator.schemas.d.ts +27 -0
- package/dist/src/services/generation/generator.schemas.d.ts.map +1 -0
- package/dist/src/services/generation/generator.schemas.js +4 -0
- package/dist/src/services/generation/generator.schemas.js.map +1 -0
- package/dist/src/services/generation/operation-generator.service.d.ts +11 -0
- package/dist/src/services/generation/operation-generator.service.d.ts.map +1 -0
- package/dist/src/services/generation/operation-generator.service.js +42 -0
- package/dist/src/services/generation/operation-generator.service.js.map +1 -0
- package/dist/src/services/generation/resource-generator.service.d.ts +11 -0
- package/dist/src/services/generation/resource-generator.service.d.ts.map +1 -0
- package/dist/src/services/generation/resource-generator.service.js +41 -0
- package/dist/src/services/generation/resource-generator.service.js.map +1 -0
- package/dist/src/services/generation/template-registry.service.d.ts +13 -0
- package/dist/src/services/generation/template-registry.service.d.ts.map +1 -0
- package/dist/src/services/generation/template-registry.service.js +25 -0
- package/dist/src/services/generation/template-registry.service.js.map +1 -0
- package/dist/src/services/registry/artifact-extractor.utils.d.ts +49 -0
- package/dist/src/services/registry/artifact-extractor.utils.d.ts.map +1 -0
- package/dist/src/services/registry/artifact-extractor.utils.js +146 -0
- package/dist/src/services/registry/artifact-extractor.utils.js.map +1 -0
- package/dist/src/services/registry/boundary-fanout.utils.d.ts +95 -0
- package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -0
- package/dist/src/services/registry/boundary-fanout.utils.js +178 -0
- package/dist/src/services/registry/boundary-fanout.utils.js.map +1 -0
- package/dist/src/services/registry/index.d.ts +7 -0
- package/dist/src/services/registry/index.d.ts.map +1 -0
- package/dist/src/services/registry/index.js +7 -0
- package/dist/src/services/registry/index.js.map +1 -0
- package/dist/src/services/registry/registry-command.utils.d.ts +90 -0
- package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -0
- package/dist/src/services/registry/registry-command.utils.js +164 -0
- package/dist/src/services/registry/registry-command.utils.js.map +1 -0
- package/dist/src/services/registry/registry-config-resolver.service.d.ts +50 -0
- package/dist/src/services/registry/registry-config-resolver.service.d.ts.map +1 -0
- package/dist/src/services/registry/registry-config-resolver.service.js +88 -0
- package/dist/src/services/registry/registry-config-resolver.service.js.map +1 -0
- package/dist/src/services/registry/registry-credentials.service.d.ts +64 -0
- package/dist/src/services/registry/registry-credentials.service.d.ts.map +1 -0
- package/dist/src/services/registry/registry-credentials.service.js +171 -0
- package/dist/src/services/registry/registry-credentials.service.js.map +1 -0
- package/dist/src/services/registry/saas-root-required.error.d.ts +22 -0
- package/dist/src/services/registry/saas-root-required.error.d.ts.map +1 -0
- package/dist/src/services/registry/saas-root-required.error.js +26 -0
- package/dist/src/services/registry/saas-root-required.error.js.map +1 -0
- package/dist/src/services/security/__tests__/csp-boundary.test.d.ts +2 -0
- package/dist/src/services/security/__tests__/csp-boundary.test.d.ts.map +1 -0
- package/dist/src/services/security/__tests__/csp-boundary.test.js +99 -0
- package/dist/src/services/security/__tests__/csp-boundary.test.js.map +1 -0
- package/dist/src/services/security/__tests__/csp-sync.service.test.d.ts +2 -0
- package/dist/src/services/security/__tests__/csp-sync.service.test.d.ts.map +1 -0
- package/dist/src/services/security/__tests__/csp-sync.service.test.js +158 -0
- package/dist/src/services/security/__tests__/csp-sync.service.test.js.map +1 -0
- package/dist/src/services/security/csp-sync.service.d.ts +65 -0
- package/dist/src/services/security/csp-sync.service.d.ts.map +1 -0
- package/dist/src/services/security/csp-sync.service.js +294 -0
- package/dist/src/services/security/csp-sync.service.js.map +1 -0
- package/dist/src/services/tools/utility-tools.service.d.ts +47 -0
- package/dist/src/services/tools/utility-tools.service.d.ts.map +1 -0
- package/dist/src/services/tools/utility-tools.service.js +332 -0
- package/dist/src/services/tools/utility-tools.service.js.map +1 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts +15 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts.map +1 -0
- package/dist/src/services/website/website-structured-data-audit.service.js +125 -0
- package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -0
- package/dist/src/test-utils/resolved-homes.test.utils.d.ts +4 -0
- package/dist/src/test-utils/resolved-homes.test.utils.d.ts.map +1 -0
- package/dist/src/test-utils/resolved-homes.test.utils.js +18 -0
- package/dist/src/test-utils/resolved-homes.test.utils.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/framework-root-package.json +270 -0
- package/package.json +431 -0
- package/scripts/app-dependency-alignment/propagated-engine-overrides.json +773 -0
- package/templates/config/app-backend-env.example.hbs +47 -0
- package/templates/infra/ci/README.md +36 -0
- package/templates/infra/ci/deploy-docker-compose.yml.hbs +103 -0
- package/templates/infra/ci/deploy-k8s.yml.hbs +114 -0
- package/templates/infra/ci/wildo-config-validation.yml.hbs +40 -0
- package/templates/infra/docker-compose/.env.example +24 -0
- package/templates/infra/docker-compose/docker-compose.app.yml.hbs +174 -0
- package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +1198 -0
- package/templates/infra/docker-images/application/.dockerignore +83 -0
- package/templates/infra/docker-images/backend/Dockerfile.backend-base +43 -0
- package/templates/infra/docker-images/backend/Dockerfile.backend-base-java +31 -0
- package/templates/infra/docker-images/platform/Dockerfile.platform-base +178 -0
- package/templates/infra/docker-images/platform/Dockerfile.platform-base.dockerignore +46 -0
- package/templates/infra/docker-images/platform/entrypoint.sh +191 -0
- package/templates/infra/docker-images/platform/verify-peers.mjs +67 -0
- package/templates/infra/k8s/applications/wildo-ai-application/backend.deployment.yaml.hbs +164 -0
- package/templates/infra/k8s/applications/wildo-ai-application/backend.immudb-audit-state.pvc.yaml.hbs +43 -0
- package/templates/infra/k8s/applications/wildo-ai-application/backend.service.yaml.hbs +31 -0
- package/templates/infra/k8s/applications/wildo-ai-application/frontend.deployment.yaml.hbs +117 -0
- package/templates/infra/k8s/applications/wildo-ai-application/frontend.service.yaml.hbs +27 -0
- package/templates/infra/k8s/applications/wildo-ai-application/ingress.yaml.hbs +59 -0
- package/templates/infra/k8s/applications/wildo-ai-application/minion.deployment.yaml.hbs +158 -0
- package/templates/infra/k8s/applications/wildo-ai-application/worker.deployment.yaml.hbs +145 -0
- package/templates/infra/k8s/applications/wildo-ai-application/worker.service.yaml.hbs +29 -0
- package/templates/infra/k8s/ingress/cert-manager/cluster-issuer.yaml.hbs +44 -0
- package/templates/infra/k8s/ingress/cert-manager/local/selfsigned-issuer.yaml +48 -0
- package/templates/infra/k8s/ingress/cert-manager/local/wildcard-certificate.yaml +24 -0
- package/templates/infra/k8s/ingress/cert-manager/wildcard-certificate.yaml.hbs +41 -0
- package/templates/infra/k8s/ingress/providers/scaleway-annotations.yaml.hbs +39 -0
- package/templates/infra/k8s/ingress/traefik/local/values.yaml +57 -0
- package/templates/infra/k8s/ingress/traefik/values.yaml.hbs +79 -0
- package/templates/infra/k8s/internal/clamav/deployment.yaml.hbs +96 -0
- package/templates/infra/k8s/internal/clamav/service.yaml.hbs +22 -0
- package/templates/infra/k8s/internal/gotenberg/deployment.yaml.hbs +46 -0
- package/templates/infra/k8s/internal/gotenberg/service.yaml.hbs +19 -0
- package/templates/infra/k8s/internal/immudb/deployment.yaml.hbs +153 -0
- package/templates/infra/k8s/internal/immudb/service.yaml.hbs +21 -0
- package/templates/infra/k8s/internal/minio/deployment.yaml.hbs +97 -0
- package/templates/infra/k8s/internal/minio/service.yaml.hbs +23 -0
- package/templates/infra/k8s/internal/mongodb/deployment.yaml.hbs +273 -0
- package/templates/infra/k8s/internal/mongodb/service.yaml.hbs +24 -0
- package/templates/infra/k8s/internal/mongot/configmap.yaml.hbs +53 -0
- package/templates/infra/k8s/internal/mongot/deployment.yaml.hbs +123 -0
- package/templates/infra/k8s/internal/mongot/service.yaml.hbs +33 -0
- package/templates/infra/k8s/internal/postgresql/configmap.yaml.hbs +46 -0
- package/templates/infra/k8s/internal/postgresql/deployment.yaml.hbs +131 -0
- package/templates/infra/k8s/internal/postgresql/service.yaml.hbs +19 -0
- package/templates/infra/k8s/internal/rabbitmq/deployment.yaml.hbs +105 -0
- package/templates/infra/k8s/internal/rabbitmq/service.yaml.hbs +23 -0
- package/templates/infra/k8s/internal/valkey/configmap.yaml.hbs +23 -0
- package/templates/infra/k8s/internal/valkey/deployment.yaml.hbs +129 -0
- package/templates/infra/k8s/internal/valkey/service.yaml.hbs +19 -0
- package/templates/infra/k8s/middleware.yaml.hbs +101 -0
- package/templates/infra/k8s/namespace.yaml.hbs +7 -0
- package/templates/infra/k8s/platform/platform-apps-manager/deployment.yaml.hbs +172 -0
- package/templates/infra/k8s/platform/platform-apps-manager/service.yaml +19 -0
- package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +161 -0
- package/templates/infra/k8s/platform/platform-crontabs-batches-manager/service.yaml +19 -0
- package/templates/infra/k8s/platform/platform-module-registry/deployment.yaml.hbs +161 -0
- package/templates/infra/k8s/platform/platform-module-registry/service.yaml +19 -0
- package/templates/infra/k8s/storage/local/persistent-volumes.yaml.hbs +221 -0
- package/templates/infra/k8s/storage/local/storage-class.yaml +74 -0
- package/templates/infra/k8s/tls-config.yaml.hbs +41 -0
- package/templates/infra/yara-rules/archives.yar +99 -0
- package/templates/infra/yara-rules/executables.yar +88 -0
- package/templates/infra/yara-rules/office_macros.yar +79 -0
- package/templates/infra/yara-rules/scripts.yar +103 -0
- package/templates/infra/yara-rules/webshells.yar +111 -0
- package/templates/infra/yara-service/Dockerfile +30 -0
- package/templates/infra/yara-service/api.py +236 -0
- package/templates/infra/yara-service/requirements.txt +3 -0
- package/templates/infra/yara-service/rules/archives.yar +99 -0
- package/templates/infra/yara-service/rules/executables.yar +88 -0
- package/templates/infra/yara-service/rules/office_macros.yar +79 -0
- package/templates/infra/yara-service/rules/scripts.yar +103 -0
- package/templates/infra/yara-service/rules/webshells.yar +111 -0
- package/templates/saas/engine-peer-closure.json +569 -0
- package/templates/saas/i18n/email/components/AlertBox.tsx +53 -0
- package/templates/saas/i18n/email/components/BodyText.tsx +25 -0
- package/templates/saas/i18n/email/components/Card.tsx +23 -0
- package/templates/saas/i18n/email/components/Divider.tsx +19 -0
- package/templates/saas/i18n/email/components/EmailFooter.tsx +47 -0
- package/templates/saas/i18n/email/components/EmailHeader.tsx +37 -0
- package/templates/saas/i18n/email/components/EmailLayout.tsx +52 -0
- package/templates/saas/i18n/email/components/HeadingText.tsx +27 -0
- package/templates/saas/i18n/email/components/InfoRow.tsx +43 -0
- package/templates/saas/i18n/email/components/OtpCodeDisplay.tsx +35 -0
- package/templates/saas/i18n/email/components/PrimaryButton.tsx +30 -0
- package/templates/saas/i18n/email/components/SecondaryButton.tsx +31 -0
- package/templates/saas/i18n/email/components/index.ts +35 -0
- package/templates/saas/i18n/email/email-template-definitions.ts +46 -0
- package/templates/saas/i18n/email/index.ts +2 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/template.tsx +51 -0
- package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/template.tsx +51 -0
- package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/template.tsx +51 -0
- package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/template.tsx +51 -0
- package/templates/saas/i18n/email/resources/applications/create.organization-administrative/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/applications/create.organization-administrative/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/template.tsx +51 -0
- package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/template.tsx +51 -0
- package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/template.tsx +51 -0
- package/templates/saas/i18n/email/resources/applications/update.organization-administrative/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/applications/update.organization-administrative/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/labels.en.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/template.tsx +80 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/labels.en.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/template.tsx +80 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/labels.en.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/template.tsx +80 -0
- package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/labels.en.ts +30 -0
- package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/template.tsx +84 -0
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/template.tsx +77 -0
- package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/labels.en.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/template.tsx +73 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/template.tsx +77 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.user-self/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.user-self/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/template.tsx +77 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.user-self/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.user-self/template.tsx +43 -0
- package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/template.tsx +77 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/labels.en.ts +15 -0
- package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/template.tsx +51 -0
- package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/labels.en.ts +15 -0
- package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/template.tsx +54 -0
- package/templates/saas/i18n/email/resources/organizations/create.user-self/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/organizations/create.user-self/template.tsx +52 -0
- package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/organizations/restore.organization-users/labels.en.ts +11 -0
- package/templates/saas/i18n/email/resources/organizations/restore.organization-users/template.tsx +39 -0
- package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/labels.en.ts +11 -0
- package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/template.tsx +37 -0
- package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/labels.en.ts +39 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/template.tsx +102 -0
- package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/template.tsx +46 -0
- package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/labels.en.ts +12 -0
- package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/template.tsx +46 -0
- package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/users/create.application-administrator/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/users/create.application-administrator/template.tsx +56 -0
- package/templates/saas/i18n/email/resources/users/delete.application-administrator/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/users/delete.application-administrator/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/users/update.application-administrator/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/users/update.application-administrator/template.tsx +50 -0
- package/templates/saas/i18n/email/system/email-otp/labels.en.ts +10 -0
- package/templates/saas/i18n/email/system/email-otp/template.tsx +44 -0
- package/templates/saas/i18n/email/system/email-verification/labels.en.ts +11 -0
- package/templates/saas/i18n/email/system/email-verification/template.tsx +39 -0
- package/templates/saas/i18n/email/system/magic-link/labels.en.ts +10 -0
- package/templates/saas/i18n/email/system/magic-link/template.tsx +44 -0
- package/templates/saas/i18n/email/system/new-device-login/labels.en.ts +18 -0
- package/templates/saas/i18n/email/system/new-device-login/template.tsx +62 -0
- package/templates/saas/i18n/email/system/organization-invitation/labels.en.ts +15 -0
- package/templates/saas/i18n/email/system/organization-invitation/template.tsx +65 -0
- package/templates/saas/i18n/email/system/organization-member-removed/labels.en.ts +14 -0
- package/templates/saas/i18n/email/system/organization-member-removed/template.tsx +54 -0
- package/templates/saas/i18n/email/system/password-reset/labels.en.ts +10 -0
- package/templates/saas/i18n/email/system/password-reset/template.tsx +42 -0
- package/templates/saas/i18n/email/system/payment-failed/labels.en.ts +16 -0
- package/templates/saas/i18n/email/system/payment-failed/template.tsx +59 -0
- package/templates/saas/i18n/email/system/security-alert/labels.en.ts +16 -0
- package/templates/saas/i18n/email/system/security-alert/template.tsx +71 -0
- package/templates/saas/i18n/email/system/subscription-cancelled/labels.en.ts +15 -0
- package/templates/saas/i18n/email/system/subscription-cancelled/template.tsx +56 -0
- package/templates/saas/i18n/email/system/subscription-confirmation/labels.en.ts +14 -0
- package/templates/saas/i18n/email/system/subscription-confirmation/template.tsx +59 -0
- package/templates/saas/i18n/email/system/welcome-email/labels.en.ts +15 -0
- package/templates/saas/i18n/email/system/welcome-email/template.tsx +42 -0
- package/templates/saas/scenarios/add-backend-provider/scenario.json +17 -0
- package/templates/saas/scenarios/add-custom-operation/files/backend-api/src/modules/__moduleDir__/resources/__resourceDir__/__resourceDir__.__operationIdentifier__.default.operation.ts.hbs +36 -0
- package/templates/saas/scenarios/add-custom-operation/scenario.json +61 -0
- package/templates/saas/scenarios/add-environment/files/infrastructure/__envName__/wildo.infra.remote.config.ts.hbs +73 -0
- package/templates/saas/scenarios/add-environment/scenario.json +53 -0
- package/templates/saas/scenarios/add-file-picker-provider/files/frontend/src/engine/providers/__providerRef__.frontend-app.module.ts.hbs +27 -0
- package/templates/saas/scenarios/add-file-picker-provider/scenario.json +27 -0
- package/templates/saas/scenarios/add-locale/files/website/src/i18n/__localePath__.json.hbs +18 -0
- package/templates/saas/scenarios/add-locale/files/website/src/pages/__localePath__/index.astro +52 -0
- package/templates/saas/scenarios/add-locale/scenario.json +19 -0
- package/templates/saas/scenarios/add-marketing-page/files/website/src/pages/__pageRef__.astro.hbs +52 -0
- package/templates/saas/scenarios/add-marketing-page/files/website/src/pages-impl/__pageRef__.bridge.tsx.hbs +22 -0
- package/templates/saas/scenarios/add-marketing-page/files/website/src/pages-impl/__pageRef__.page.tsx.hbs +49 -0
- package/templates/saas/scenarios/add-marketing-page/files/website/src/sections/__pageRef__.sections.tsx.hbs +59 -0
- package/templates/saas/scenarios/add-marketing-page/scenario.json +38 -0
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/Dockerfile.hbs +20 -0
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/package.json.hbs +42 -0
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/src/application-initialization.ts.hbs +81 -0
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/src/companion-exports.ts.hbs +15 -0
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/src/index.ts.hbs +135 -0
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/src/minion-init.ts.hbs +39 -0
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/tsconfig.build.json +12 -0
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/tsconfig.json +16 -0
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/wildo.minion.config.ts.hbs +33 -0
- package/templates/saas/scenarios/add-minion/scenario.json +27 -0
- package/templates/saas/scenarios/add-module/files/backend-api/src/modules/__moduleId__/addons/container.ts.hbs +9 -0
- package/templates/saas/scenarios/add-module/files/backend-api/src/modules/__moduleId__/addons/container.types.ts.hbs +2 -0
- package/templates/saas/scenarios/add-module/files/backend-api/src/modules/__moduleId__/addons/controllers/index.ts.hbs +12 -0
- package/templates/saas/scenarios/add-module/files/backend-api/src/modules/__moduleId__/addons/services/index.ts.hbs +8 -0
- package/templates/saas/scenarios/add-module/files/backend-api/src/modules/__moduleId__/index.ts.hbs +17 -0
- package/templates/saas/scenarios/add-module/files/backend-api/src/modules/__moduleId__/resources/index.ts +9 -0
- package/templates/saas/scenarios/add-module/files/frontend/src/modules/__moduleId__/app-level-views/index.ts.hbs +11 -0
- package/templates/saas/scenarios/add-module/files/frontend/src/modules/__moduleId__/app-level-views/view-refs.frontend.ts.hbs +6 -0
- package/templates/saas/scenarios/add-module/files/frontend/src/modules/__moduleId__/app-shell.module.frontend.ts.hbs +33 -0
- package/templates/saas/scenarios/add-module/files/frontend/src/modules/__moduleId__/index.ts.hbs +14 -0
- package/templates/saas/scenarios/add-module/files/frontend/src/modules/__moduleId__/resources/index.ts.hbs +11 -0
- package/templates/saas/scenarios/add-module/files/shared-lib/src/modules/__moduleId__/index.ts.hbs +16 -0
- package/templates/saas/scenarios/add-module/files/shared-lib/src/modules/__moduleId__/resources/__moduleId__.relationships.ts.hbs +27 -0
- package/templates/saas/scenarios/add-module/files/shared-lib/src/modules/__moduleId__/resources/__moduleId__.resource-configs.ts.hbs +17 -0
- package/templates/saas/scenarios/add-module/files/shared-lib/src/modules/__moduleId__/resources/__moduleId__.resources-types.ts.hbs +10 -0
- package/templates/saas/scenarios/add-module/files/shared-lib/src/modules/__moduleId__/resources/index.ts.hbs +7 -0
- package/templates/saas/scenarios/add-module/files/specifications/src/modules/__moduleId__/chart-view-specifications.ts.hbs +12 -0
- package/templates/saas/scenarios/add-module/files/specifications/src/modules/__moduleId__/composite-views/index.ts.hbs +4 -0
- package/templates/saas/scenarios/add-module/files/specifications/src/modules/__moduleId__/execution-view-specifications.ts.hbs +11 -0
- package/templates/saas/scenarios/add-module/files/specifications/src/modules/__moduleId__/index.ts.hbs +31 -0
- package/templates/saas/scenarios/add-module/files/specifications/src/modules/__moduleId__/resources/index.ts.hbs +10 -0
- package/templates/saas/scenarios/add-module/scenario.json +69 -0
- package/templates/saas/scenarios/add-resource/files/shared-lib/src/modules/__moduleId__/resources/__resourceDir__/__resourceDir__.resources-config.ts.hbs +86 -0
- package/templates/saas/scenarios/add-resource/files/shared-lib/src/modules/__moduleId__/resources/__resourceDir__/__resourceDir__.schemas.ts.hbs +26 -0
- package/templates/saas/scenarios/add-resource/files/specifications/src/modules/__moduleId__/resources/__resourceDir__.resource.specification.ts.hbs +126 -0
- package/templates/saas/scenarios/add-resource/scenario.json +149 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +288 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/README.md +195 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/basic.conf +20 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/directive-only/cross-domain-insecure.conf +12 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/location/cross-domain-fonts.conf.hbs +40 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/location/protect-system-files.conf +20 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/mime.types +108 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/nginx.conf +91 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/sites-enabled/default.hbs +112 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/package.json.hbs +56 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/scripts/verify-api-reference-conservation.ts +110 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/scripts/wait-for-publication.mjs +54 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/companion-exports.ts +16 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/VerifiedApiReference.tsx +72 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/csp.config.ts +89 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/css/custom.css +951 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/csp.generated.json.hbs +13 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated-consumer-documentation.ts +41 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/api/application-administration.tsx +5 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/api/index.tsx +5 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/index.tsx +12 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx.hbs +83 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/theme/Root.tsx +10 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/theme/SearchBar/index.tsx +38 -0
- 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/favicon.svg +11 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/logo.png +0 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/logo.svg +11 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/tsconfig.json +27 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/wildo.tech-doc.config.ts.hbs +87 -0
- package/templates/saas/scenarios/add-technical-doc/scenario.json +27 -0
- package/templates/saas/scenarios/add-website/files/website/astro.config.ts.hbs +103 -0
- package/templates/saas/scenarios/add-website/files/website/nginx-config/default.conf.hbs +15 -0
- package/templates/saas/scenarios/add-website/files/website/package.json.hbs +32 -0
- package/templates/saas/scenarios/add-website/files/website/src/api-origin.ts.hbs +25 -0
- package/templates/saas/scenarios/add-website/files/website/src/app-origin.ts.hbs +21 -0
- package/templates/saas/scenarios/add-website/files/website/src/companion-exports.ts +7 -0
- package/templates/saas/scenarios/add-website/files/website/src/components/FooterComponent.tsx.hbs +63 -0
- package/templates/saas/scenarios/add-website/files/website/src/components/HeaderComponent.tsx +119 -0
- package/templates/saas/scenarios/add-website/files/website/src/components/index.ts +20 -0
- package/templates/saas/scenarios/add-website/files/website/src/csp.config.ts +40 -0
- package/templates/saas/scenarios/add-website/files/website/src/env.d.ts +1 -0
- package/templates/saas/scenarios/add-website/files/website/src/generated/csp.generated.json.hbs +11 -0
- package/templates/saas/scenarios/add-website/files/website/src/head-assets.ts +22 -0
- package/templates/saas/scenarios/add-website/files/website/src/i18n/en.json.hbs +18 -0
- package/templates/saas/scenarios/add-website/files/website/src/pages/index.astro +52 -0
- package/templates/saas/scenarios/add-website/files/website/src/pages/robots.txt.ts +30 -0
- package/templates/saas/scenarios/add-website/files/website/src/pages-impl/landing.bridge.tsx +34 -0
- package/templates/saas/scenarios/add-website/files/website/src/pages-impl/landing.page.tsx +50 -0
- package/templates/saas/scenarios/add-website/files/website/src/provider-contributions.ts +10 -0
- package/templates/saas/scenarios/add-website/files/website/src/sections/index.ts +59 -0
- package/templates/saas/scenarios/add-website/files/website/src/sections/landing.sections.tsx +76 -0
- package/templates/saas/scenarios/add-website/files/website/src/site.constants.ts.hbs +15 -0
- package/templates/saas/scenarios/add-website/files/website/src/styles/website.css +441 -0
- package/templates/saas/scenarios/add-website/files/website/src/website-root.config.ts.hbs +126 -0
- package/templates/saas/scenarios/add-website/files/website/src/website-site-context.ts +81 -0
- package/templates/saas/scenarios/add-website/files/website/tsconfig.json +12 -0
- package/templates/saas/scenarios/add-website/files/website/wildo.website.config.ts.hbs +32 -0
- package/templates/saas/scenarios/add-website/scenario.json +25 -0
- package/templates/saas/scenarios/add-website-section/scenario.json +43 -0
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/Dockerfile.hbs +19 -0
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/package.json.hbs +40 -0
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/src/companion-exports.ts.hbs +17 -0
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/src/index.ts.hbs +180 -0
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/tsconfig.build.json +12 -0
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/tsconfig.json +16 -0
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/wildo.worker.config.ts.hbs +38 -0
- package/templates/saas/scenarios/add-worker-node/scenario.json +24 -0
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Cargo.toml.hbs +21 -0
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Dockerfile.hbs +21 -0
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/main.rs.hbs +408 -0
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/wildo.worker.config.ts.hbs +41 -0
- package/templates/saas/scenarios/add-worker-rust/scenario.json +22 -0
- package/templates/saas/skeleton/.wildo-saas/application-creation-workbench/package.json.hbs +10 -0
- package/templates/saas/skeleton/.wildo-saas/application-creation-workbench/scripts/dev-supervised.sh.hbs +161 -0
- package/templates/saas/skeleton/.wildo-saas/dev-framework-scripts/resolve-home-path.mts +62 -0
- package/templates/saas/skeleton/.wildo-saas/dev-framework-scripts/sync-engine.sh +552 -0
- package/templates/saas/skeleton/.wildo-saas/wildo-dev-companion/scripts/dev-supervised.sh +75 -0
- package/templates/saas/skeleton/CLAUDE.md.hbs +82 -0
- package/templates/saas/skeleton/backend-api/package.json.hbs +50 -0
- package/templates/saas/skeleton/backend-api/scripts/dev-supervised.sh.hbs +116 -0
- package/templates/saas/skeleton/backend-api/src/backend-owned-module.ts +8 -0
- package/templates/saas/skeleton/backend-api/src/bootstrap-config.ts +51 -0
- package/templates/saas/skeleton/backend-api/src/companion-exports.ts +37 -0
- package/templates/saas/skeleton/backend-api/src/engine/email/email-template-definitions.ts +46 -0
- package/templates/saas/skeleton/backend-api/src/engine/email/index.ts +2 -0
- package/templates/saas/skeleton/backend-api/src/engine/i18n/index.ts +30 -0
- package/templates/saas/skeleton/backend-api/src/engine/index.ts +16 -0
- package/templates/saas/skeleton/backend-api/src/engine/resources/index.ts +8 -0
- package/templates/saas/skeleton/backend-api/src/index.ts +99 -0
- package/templates/saas/skeleton/backend-api/src/modules/index.ts +21 -0
- package/templates/saas/skeleton/backend-api/src/modules-registry.backend.ts.hbs +71 -0
- package/templates/saas/skeleton/backend-api/src/provider-contributions.ts +44 -0
- package/templates/saas/skeleton/backend-api/src/saas-config.backend.ts.hbs +165 -0
- package/templates/saas/skeleton/backend-api/tsconfig.build.json +14 -0
- package/templates/saas/skeleton/backend-api/tsconfig.json.hbs +24 -0
- package/templates/saas/skeleton/backend-api/tsconfig.runtime.json.hbs +12 -0
- package/templates/saas/skeleton/frontend/Dockerfile +25 -0
- package/templates/saas/skeleton/frontend/index.html.hbs +57 -0
- package/templates/saas/skeleton/frontend/nginx-config/default.conf.hbs +15 -0
- package/templates/saas/skeleton/frontend/package.json.hbs +83 -0
- package/templates/saas/skeleton/frontend/scripts/dev-supervised.sh +129 -0
- package/templates/saas/skeleton/frontend/src/__tests__/setup.ts.hbs +156 -0
- package/templates/saas/skeleton/frontend/src/__tests__/vitest-jsdom-globals-setup.mjs +120 -0
- package/templates/saas/skeleton/frontend/src/browser-bootstrap/__tests__/first-paint-ownership.test.ts +41 -0
- package/templates/saas/skeleton/frontend/src/browser-bootstrap/app-shell-bootstrap.ts +46 -0
- package/templates/saas/skeleton/frontend/src/companion-exports.ts.hbs +60 -0
- package/templates/saas/skeleton/frontend/src/config/app-shell.config.ts +184 -0
- package/templates/saas/skeleton/frontend/src/config/design-system.config.ts +169 -0
- package/templates/saas/skeleton/frontend/src/config/global-views.config.ts +91 -0
- package/templates/saas/skeleton/frontend/src/config/index.ts +5 -0
- package/templates/saas/skeleton/frontend/src/config/navigation.config.ts +100 -0
- package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +49 -0
- package/templates/saas/skeleton/frontend/src/csp.config.ts +37 -0
- package/templates/saas/skeleton/frontend/src/engine/app-level-views/app-level-views.definitions.module.frontend.ts +133 -0
- package/templates/saas/skeleton/frontend/src/engine/app-shell.module.frontend.ts +17 -0
- package/templates/saas/skeleton/frontend/src/engine/component-registrations.frontend.ts +42 -0
- package/templates/saas/skeleton/frontend/src/engine/index.ts +15 -0
- package/templates/saas/skeleton/frontend/src/engine/providers/index.ts +10 -0
- package/templates/saas/skeleton/frontend/src/engine/resources/resource-ui-behavior.frontend.ts +14 -0
- package/templates/saas/skeleton/frontend/src/generated/csp.generated.json.hbs +13 -0
- package/templates/saas/skeleton/frontend/src/index.css.hbs +714 -0
- package/templates/saas/skeleton/frontend/src/main.tsx +13 -0
- package/templates/saas/skeleton/frontend/src/modules/index.ts +17 -0
- package/templates/saas/skeleton/frontend/src/modules-registry.frontend.ts.hbs +76 -0
- package/templates/saas/skeleton/frontend/src/provider-contributions.ts.hbs +17 -0
- package/templates/saas/skeleton/frontend/src/vite-env.d.ts +1 -0
- package/templates/saas/skeleton/frontend/tsconfig.json.hbs +49 -0
- package/templates/saas/skeleton/frontend/tsconfig.library.json +39 -0
- package/templates/saas/skeleton/frontend/tsconfig.node.json +11 -0
- package/templates/saas/skeleton/frontend/vite.config.ts.hbs +439 -0
- package/templates/saas/skeleton/gitignore +75 -0
- package/templates/saas/skeleton/infrastructure/local/wildo.infra.local.config.ts.hbs +49 -0
- package/templates/saas/skeleton/shared-lib/package.json.hbs +48 -0
- package/templates/saas/skeleton/shared-lib/src/companion-exports.ts +19 -0
- package/templates/saas/skeleton/shared-lib/src/engine/features.ts +82 -0
- package/templates/saas/skeleton/shared-lib/src/engine/index.ts +27 -0
- package/templates/saas/skeleton/shared-lib/src/engine/milestones.ts +16 -0
- package/templates/saas/skeleton/shared-lib/src/engine/product.ts +18 -0
- package/templates/saas/skeleton/shared-lib/src/engine/roles.ts +8 -0
- package/templates/saas/skeleton/shared-lib/src/index.ts +11 -0
- package/templates/saas/skeleton/shared-lib/src/modules-registry.shared.ts +29 -0
- package/templates/saas/skeleton/shared-lib/tsconfig.build.json.hbs +24 -0
- package/templates/saas/skeleton/shared-lib/tsconfig.json.hbs +19 -0
- package/templates/saas/skeleton/specifications/package.json.hbs +43 -0
- package/templates/saas/skeleton/specifications/src/companion-exports.ts +37 -0
- package/templates/saas/skeleton/specifications/src/engine/engine.all-modules.specifications.ts +7 -0
- package/templates/saas/skeleton/specifications/src/index.ts +12 -0
- package/templates/saas/skeleton/specifications/src/module-registry.specification.ts.hbs +28 -0
- package/templates/saas/skeleton/specifications/tsconfig.build.json +11 -0
- package/templates/saas/skeleton/specifications/tsconfig.json +12 -0
- package/templates/saas/skeleton/tsconfig-saas.json +20 -0
- package/templates/saas/skeleton/tsconfig.common.json +60 -0
- package/templates/saas/skeleton/turbo.json +17 -0
- package/templates/saas/skeleton/wildo.saas.config.ts.init.hbs +135 -0
- package/wildo-framework.info.json +5 -0
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reconciling an in-memory environment registry record against the persisted
|
|
3
|
+
* `config.json` snapshot — the environment's on-disk source of truth.
|
|
4
|
+
*
|
|
5
|
+
* ## Why this is a shared service and not a helper inside one command
|
|
6
|
+
*
|
|
7
|
+
* This function used to be module-private to `commands/config/sync.command.ts`. The
|
|
8
|
+
* hydration itself was correct; being unreachable was the defect. Three code paths
|
|
9
|
+
* generate an application's runtime topology from an environment record, and only the
|
|
10
|
+
* one that owned this function reconciled first:
|
|
11
|
+
*
|
|
12
|
+
* | Entry point | Reconciled |
|
|
13
|
+
* |---|---|
|
|
14
|
+
* | `wildo config sync` | yes — it declared this function |
|
|
15
|
+
* | `wildo local dev` (`commands/dev/start.command.ts`) | NO |
|
|
16
|
+
* | `ApplicationRuntimeBootstrapService.initialize` | NO |
|
|
17
|
+
*
|
|
18
|
+
* Both of the unreconciled paths already LOADED `config.json` for other reasons and
|
|
19
|
+
* then read identity fields off the un-reconciled registry record anyway, so the fact
|
|
20
|
+
* they needed was in memory and was ignored.
|
|
21
|
+
*
|
|
22
|
+
* What that cost, on 2026-08-13: an environment authored a local edge scheme that `wildo config
|
|
23
|
+
* sync` reconciled and wrote into the frontend env plus `APPLICATION_RUNTIME_ENDPOINTS`. A later
|
|
24
|
+
* `wildo local dev` regenerated the SAME surfaces without reconciling, so the field read
|
|
25
|
+
* `undefined` and every generated URL fell back to the default — while the dev server, which reads
|
|
26
|
+
* `app/.env`, kept serving what a developer had put there by hand. The browser then sent an
|
|
27
|
+
* `Origin` the backend was not configured to expect, and AUTH-10 (`_validateFrontendAppOrigin`)
|
|
28
|
+
* refused every `POST /auth/identify` with a 403. Login was completely broken, and nothing in any
|
|
29
|
+
* log named the cause.
|
|
30
|
+
*
|
|
31
|
+
* That incident had TWO causes and this file only fixed one. The second — `app/.env` being a file
|
|
32
|
+
* nothing generated, because the frontend sink was `.env.example` and Vite's `loadEnv` never reads
|
|
33
|
+
* it — was closed on 2026-08-15: `env-configuration-generator.service.ts` now writes `.env`
|
|
34
|
+
* alongside `.env.example`, as every other service kind already did. So even an unreconciled
|
|
35
|
+
* regeneration can no longer leave the runtime reading a hand-written file, and a developer who
|
|
36
|
+
* needs a local override uses `.env.local`, which Vite prefers and nothing generates.
|
|
37
|
+
*
|
|
38
|
+
* It resurfaced on 2026-08-15 in its simplest form — a machine with no `app/.env` at all, failing
|
|
39
|
+
* as `Missing required environment variable: VITE_API_BASE_URL` from deep inside `initializeApp`
|
|
40
|
+
* rather than as anything naming setup.
|
|
41
|
+
*
|
|
42
|
+
* (The specific field has since been removed; the reconciliation gap it exposed has not, and
|
|
43
|
+
* applies to every field the registry persists.)
|
|
44
|
+
*
|
|
45
|
+
* The generalisable shape: a registry record is a lossy CACHE of `config.json`, so any
|
|
46
|
+
* caller that reads an identity field off it without reconciling first is reading a
|
|
47
|
+
* value that may predate the last authoring change. Reconcile at every entry point that
|
|
48
|
+
* generates from an environment, and keep this function importable so a new entry point
|
|
49
|
+
* can reuse it instead of re-deriving one field at a time.
|
|
50
|
+
*
|
|
51
|
+
* @see `.claude/rules/invariant-call-site-enumeration.md` — a policy expressed as a
|
|
52
|
+
* module-private helper enumerates as "1/1 applied" and is wrong at every site that
|
|
53
|
+
* cannot name it.
|
|
54
|
+
*/
|
|
55
|
+
import { WildoDeploymentRuntime, WildoLocationType, K8S_LOCAL_DEFAULTS, } from '@wildo-ai/platform-config-lib';
|
|
56
|
+
/**
|
|
57
|
+
* Re-apply a parsed `config.json` snapshot onto an in-memory environment
|
|
58
|
+
* registry record.
|
|
59
|
+
*
|
|
60
|
+
* **Slice 3 deep-review M-4 (2026-04-13) — partial-merge contract.**
|
|
61
|
+
*
|
|
62
|
+
* `PlatformEnvironmentConfiguration` is a deliberately NARROWER projection
|
|
63
|
+
* than `PlatformEnvConfigJson`. It only mirrors the registry-relevant
|
|
64
|
+
* subset of `config.json`; the following persisted fields are intentionally
|
|
65
|
+
* NOT round-tripped through the registry and are instead read directly
|
|
66
|
+
* from `config.json` at the call sites that consume them:
|
|
67
|
+
*
|
|
68
|
+
* - `infrastructure.storage` (provider, useSsl, bucket) — read by
|
|
69
|
+
* `env-vars-builder` to emit `STORAGE_BUCKET` / `STORAGE_USE_SSL`.
|
|
70
|
+
* - `infrastructure.postgresql` (database, sslMode) — read by the
|
|
71
|
+
* postgresql container generator and `env-vars-builder`.
|
|
72
|
+
* - `atlas` — read by the Atlas integration helpers.
|
|
73
|
+
* - `externalServices` / `externalEndpoints` — read by the
|
|
74
|
+
* remote-managed-services hand-off.
|
|
75
|
+
*
|
|
76
|
+
* The registry only owns runtime-mutable identity + lifecycle state
|
|
77
|
+
* (location, runtime, paths, kubernetes overlay, remoteProvider,
|
|
78
|
+
* backingServices snapshot, serviceAuth snapshot, logging snapshot,
|
|
79
|
+
* setupStatus, timestamps). Adding a field here would mean adding it to
|
|
80
|
+
* `PlatformEnvironmentConfiguration` AND ensuring every consumer prefers
|
|
81
|
+
* the registry value over the persisted JSON — currently the pattern is
|
|
82
|
+
* the inverse (consumers read JSON, registry caches a runtime subset),
|
|
83
|
+
* which keeps `config.json` as the single source of truth on disk.
|
|
84
|
+
*
|
|
85
|
+
* If a future consumer needs registry access to one of the
|
|
86
|
+
* NOT-round-tripped fields, add it to `PlatformEnvironmentConfiguration`
|
|
87
|
+
* first, then thread it here, then audit every existing consumer to make
|
|
88
|
+
* sure the dual-source-of-truth doesn't drift.
|
|
89
|
+
*/
|
|
90
|
+
export function hydrateEnvironmentFromConfig(env, config) {
|
|
91
|
+
const isLocalKubernetes = env.runtime === WildoDeploymentRuntime.KUBERNETES
|
|
92
|
+
&& env.locationType === WildoLocationType.LOCAL;
|
|
93
|
+
return {
|
|
94
|
+
...env,
|
|
95
|
+
runtimeEnvironment: config.runtimeEnvironment ?? env.runtimeEnvironment,
|
|
96
|
+
/**
|
|
97
|
+
* The platform's database engine — persisted `config.json` WINS whenever it carries one.
|
|
98
|
+
*
|
|
99
|
+
* This field was the one member of the registry record with no path from authored config: it
|
|
100
|
+
* was written only by the interactive setup prompt, straight into `environments.json`, while
|
|
101
|
+
* `config.json` carried its own copy built from the authored descriptor. Two writers, two
|
|
102
|
+
* stores, no reconciliation — precisely the dual-source-of-truth this function's contract note
|
|
103
|
+
* warns about, and the reason the engine could not be reproduced on another machine.
|
|
104
|
+
*
|
|
105
|
+
* Projecting it here makes `config.json` the single authority and the registry the cache it
|
|
106
|
+
* already claims to be, matching the source-of-truth ordering used by `backingServices`,
|
|
107
|
+
* `serviceAuth` and `logging` directly below.
|
|
108
|
+
*
|
|
109
|
+
* The `?? env.database` fallback is NOT redundant, and an earlier revision of this comment
|
|
110
|
+
* argued the opposite: `database` is REQUIRED on `PlatformEnvConfigJson`, therefore a parsed
|
|
111
|
+
* config always carries one, therefore projecting it unconditionally is honest. That reasoning
|
|
112
|
+
* is derived from the TYPE and is falsified by the CALLERS — `loadConfigJson` returns a value
|
|
113
|
+
* read off disk, and `wildo dev start` hydrates with whatever it got. Projecting
|
|
114
|
+
* unconditionally wrote `undefined` over a field the registry record REQUIRES, which is worse
|
|
115
|
+
* than any stale value: `getDatabaseChoice` then falls through to its `MONGODB` default, so a
|
|
116
|
+
* PostgreSQL platform silently reads as Mongo at exactly the sites that decide which containers
|
|
117
|
+
* render. Caught by `start.command.test.ts`, whose fixture omits the field.
|
|
118
|
+
*
|
|
119
|
+
* The fallback costs nothing where the reasoning above DOES hold — a well-formed config.json
|
|
120
|
+
* always wins, which is what `prefers the config.json database engine…` pins.
|
|
121
|
+
*/
|
|
122
|
+
database: config.database ?? env.database,
|
|
123
|
+
publicDomain: config.publicDomain ?? env.publicDomain,
|
|
124
|
+
// Every field here is projected EXPLICITLY, and that is the whole contract: a field omitted from
|
|
125
|
+
// this list silently keeps the persisted environment on its previous value while the authored
|
|
126
|
+
// config says otherwise. That divergence surfaces nowhere until something downstream reads the
|
|
127
|
+
// stale value and behaves in a way no log explains.
|
|
128
|
+
serviceHosts: config.serviceHosts ?? env.serviceHosts,
|
|
129
|
+
cdn: config.cdn ?? env.cdn,
|
|
130
|
+
kubernetes: config.kubernetes
|
|
131
|
+
? {
|
|
132
|
+
...config.kubernetes,
|
|
133
|
+
imageRegistry: config.remoteProvider?.registryEndpoint ?? env.kubernetes?.imageRegistry,
|
|
134
|
+
}
|
|
135
|
+
: isLocalKubernetes
|
|
136
|
+
? {
|
|
137
|
+
namespace: env.kubernetes?.namespace ?? K8S_LOCAL_DEFAULTS.NAMESPACE,
|
|
138
|
+
imageRegistry: env.kubernetes?.imageRegistry,
|
|
139
|
+
}
|
|
140
|
+
: env.kubernetes,
|
|
141
|
+
remoteProvider: config.remoteProvider ?? env.remoteProvider,
|
|
142
|
+
/**
|
|
143
|
+
* config.json is the source of truth for the persisted backing-services
|
|
144
|
+
* snapshot (it was synced from `wildo.infra.<env>.config.ts` at
|
|
145
|
+
* `wildo config sync` time). Always prefer it over the in-memory env
|
|
146
|
+
* state, which may be a stale registry entry from before the last sync.
|
|
147
|
+
*/
|
|
148
|
+
backingServices: config.backingServices ?? env.backingServices,
|
|
149
|
+
/**
|
|
150
|
+
* Same source-of-truth ordering as `backingServices`: persisted
|
|
151
|
+
* `serviceAuth` snapshot wins, in-memory registry value is the fallback.
|
|
152
|
+
*/
|
|
153
|
+
serviceAuth: config.serviceAuth ?? env.serviceAuth,
|
|
154
|
+
/**
|
|
155
|
+
* Persisted `logging` snapshot wins (Slice 3.5). Fallback to in-memory
|
|
156
|
+
* registry value preserves the same source-of-truth ordering used for
|
|
157
|
+
* `backingServices` and `serviceAuth`.
|
|
158
|
+
*/
|
|
159
|
+
logging: config.logging ?? env.logging,
|
|
160
|
+
/**
|
|
161
|
+
* Persisted `observability` snapshot wins (Slice 2 Phase 5); in-memory registry
|
|
162
|
+
* value is the fallback — same source-of-truth ordering as `logging`/`serviceAuth`.
|
|
163
|
+
*/
|
|
164
|
+
observability: config.observability ?? env.observability,
|
|
165
|
+
/**
|
|
166
|
+
* Persisted `providerSelection` snapshot wins (per-env provider selection
|
|
167
|
+
* override); in-memory registry value is the fallback — same source-of-truth
|
|
168
|
+
* ordering as `logging`/`observability`.
|
|
169
|
+
*/
|
|
170
|
+
providerSelection: config.providerSelection ?? env.providerSelection,
|
|
171
|
+
/**
|
|
172
|
+
* Persisted `documentationSite` snapshot wins; in-memory registry value is the
|
|
173
|
+
* fallback — same source-of-truth ordering as `providerSelection`.
|
|
174
|
+
*/
|
|
175
|
+
documentationSite: config.documentationSite ?? env.documentationSite,
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
//# sourceMappingURL=environment-hydration.utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environment-hydration.utils.js","sourceRoot":"","sources":["../../../../../../src/services/environment/environment-hydration.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AAEH,OAAO,EACL,sBAAsB,EACtB,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,+BAA+B,CAAC;AAIvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAM,UAAU,4BAA4B,CAC1C,GAAqC,EACrC,MAA6B;IAE7B,MAAM,iBAAiB,GACrB,GAAG,CAAC,OAAO,KAAK,sBAAsB,CAAC,UAAU;WAC9C,GAAG,CAAC,YAAY,KAAK,iBAAiB,CAAC,KAAK,CAAC;IAElD,OAAO;QACL,GAAG,GAAG;QACN,kBAAkB,EAAE,MAAM,CAAC,kBAAkB,IAAI,GAAG,CAAC,kBAAkB;QACvE;;;;;;;;;;;;;;;;;;;;;;;;;WAyBG;QACH,QAAQ,EAAE,MAAM,CAAC,QAAQ,IAAI,GAAG,CAAC,QAAQ;QACzC,YAAY,EAAE,MAAM,CAAC,YAAY,IAAI,GAAG,CAAC,YAAY;QACrD,iGAAiG;QACjG,8FAA8F;QAC9F,+FAA+F;QAC/F,oDAAoD;QACpD,YAAY,EAAE,MAAM,CAAC,YAAY,IAAI,GAAG,CAAC,YAAY;QACrD,GAAG,EAAE,MAAM,CAAC,GAAG,IAAI,GAAG,CAAC,GAAG;QAC1B,UAAU,EAAE,MAAM,CAAC,UAAU;YAC3B,CAAC,CAAC;gBACE,GAAG,MAAM,CAAC,UAAU;gBACpB,aAAa,EAAE,MAAM,CAAC,cAAc,EAAE,gBAAgB,IAAI,GAAG,CAAC,UAAU,EAAE,aAAa;aACxF;YACH,CAAC,CAAC,iBAAiB;gBACjB,CAAC,CAAC;oBACE,SAAS,EAAE,GAAG,CAAC,UAAU,EAAE,SAAS,IAAI,kBAAkB,CAAC,SAAS;oBACpE,aAAa,EAAE,GAAG,CAAC,UAAU,EAAE,aAAa;iBAC7C;gBACH,CAAC,CAAC,GAAG,CAAC,UAAU;QACpB,cAAc,EAAE,MAAM,CAAC,cAAc,IAAI,GAAG,CAAC,cAAc;QAC3D;;;;;WAKG;QACH,eAAe,EAAE,MAAM,CAAC,eAAe,IAAI,GAAG,CAAC,eAAe;QAC9D;;;WAGG;QACH,WAAW,EAAE,MAAM,CAAC,WAAW,IAAI,GAAG,CAAC,WAAW;QAClD;;;;WAIG;QACH,OAAO,EAAE,MAAM,CAAC,OAAO,IAAI,GAAG,CAAC,OAAO;QACtC;;;WAGG;QACH,aAAa,EAAE,MAAM,CAAC,aAAa,IAAI,GAAG,CAAC,aAAa;QACxD;;;;WAIG;QACH,iBAAiB,EAAE,MAAM,CAAC,iBAAiB,IAAI,GAAG,CAAC,iBAAiB;QACpE;;;WAGG;QACH,iBAAiB,EAAE,MAAM,CAAC,iBAAiB,IAAI,GAAG,CAAC,iBAAiB;KACrE,CAAC;AACJ,CAAC","sourcesContent":["/**\n * Reconciling an in-memory environment registry record against the persisted\n * `config.json` snapshot — the environment's on-disk source of truth.\n *\n * ## Why this is a shared service and not a helper inside one command\n *\n * This function used to be module-private to `commands/config/sync.command.ts`. The\n * hydration itself was correct; being unreachable was the defect. Three code paths\n * generate an application's runtime topology from an environment record, and only the\n * one that owned this function reconciled first:\n *\n * | Entry point | Reconciled |\n * |---|---|\n * | `wildo config sync` | yes — it declared this function |\n * | `wildo local dev` (`commands/dev/start.command.ts`) | NO |\n * | `ApplicationRuntimeBootstrapService.initialize` | NO |\n *\n * Both of the unreconciled paths already LOADED `config.json` for other reasons and\n * then read identity fields off the un-reconciled registry record anyway, so the fact\n * they needed was in memory and was ignored.\n *\n * What that cost, on 2026-08-13: an environment authored a local edge scheme that `wildo config\n * sync` reconciled and wrote into the frontend env plus `APPLICATION_RUNTIME_ENDPOINTS`. A later\n * `wildo local dev` regenerated the SAME surfaces without reconciling, so the field read\n * `undefined` and every generated URL fell back to the default — while the dev server, which reads\n * `app/.env`, kept serving what a developer had put there by hand. The browser then sent an\n * `Origin` the backend was not configured to expect, and AUTH-10 (`_validateFrontendAppOrigin`)\n * refused every `POST /auth/identify` with a 403. Login was completely broken, and nothing in any\n * log named the cause.\n *\n * That incident had TWO causes and this file only fixed one. The second — `app/.env` being a file\n * nothing generated, because the frontend sink was `.env.example` and Vite's `loadEnv` never reads\n * it — was closed on 2026-08-15: `env-configuration-generator.service.ts` now writes `.env`\n * alongside `.env.example`, as every other service kind already did. So even an unreconciled\n * regeneration can no longer leave the runtime reading a hand-written file, and a developer who\n * needs a local override uses `.env.local`, which Vite prefers and nothing generates.\n *\n * It resurfaced on 2026-08-15 in its simplest form — a machine with no `app/.env` at all, failing\n * as `Missing required environment variable: VITE_API_BASE_URL` from deep inside `initializeApp`\n * rather than as anything naming setup.\n *\n * (The specific field has since been removed; the reconciliation gap it exposed has not, and\n * applies to every field the registry persists.)\n *\n * The generalisable shape: a registry record is a lossy CACHE of `config.json`, so any\n * caller that reads an identity field off it without reconciling first is reading a\n * value that may predate the last authoring change. Reconcile at every entry point that\n * generates from an environment, and keep this function importable so a new entry point\n * can reuse it instead of re-deriving one field at a time.\n *\n * @see `.claude/rules/invariant-call-site-enumeration.md` — a policy expressed as a\n * module-private helper enumerates as \"1/1 applied\" and is wrong at every site that\n * cannot name it.\n */\n\nimport {\n WildoDeploymentRuntime,\n WildoLocationType,\n K8S_LOCAL_DEFAULTS,\n} from '@wildo-ai/platform-config-lib';\nimport type { PlatformEnvConfigJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\n\n/**\n * Re-apply a parsed `config.json` snapshot onto an in-memory environment\n * registry record.\n *\n * **Slice 3 deep-review M-4 (2026-04-13) — partial-merge contract.**\n *\n * `PlatformEnvironmentConfiguration` is a deliberately NARROWER projection\n * than `PlatformEnvConfigJson`. It only mirrors the registry-relevant\n * subset of `config.json`; the following persisted fields are intentionally\n * NOT round-tripped through the registry and are instead read directly\n * from `config.json` at the call sites that consume them:\n *\n * - `infrastructure.storage` (provider, useSsl, bucket) — read by\n * `env-vars-builder` to emit `STORAGE_BUCKET` / `STORAGE_USE_SSL`.\n * - `infrastructure.postgresql` (database, sslMode) — read by the\n * postgresql container generator and `env-vars-builder`.\n * - `atlas` — read by the Atlas integration helpers.\n * - `externalServices` / `externalEndpoints` — read by the\n * remote-managed-services hand-off.\n *\n * The registry only owns runtime-mutable identity + lifecycle state\n * (location, runtime, paths, kubernetes overlay, remoteProvider,\n * backingServices snapshot, serviceAuth snapshot, logging snapshot,\n * setupStatus, timestamps). Adding a field here would mean adding it to\n * `PlatformEnvironmentConfiguration` AND ensuring every consumer prefers\n * the registry value over the persisted JSON — currently the pattern is\n * the inverse (consumers read JSON, registry caches a runtime subset),\n * which keeps `config.json` as the single source of truth on disk.\n *\n * If a future consumer needs registry access to one of the\n * NOT-round-tripped fields, add it to `PlatformEnvironmentConfiguration`\n * first, then thread it here, then audit every existing consumer to make\n * sure the dual-source-of-truth doesn't drift.\n */\nexport function hydrateEnvironmentFromConfig(\n env: PlatformEnvironmentConfiguration,\n config: PlatformEnvConfigJson,\n): PlatformEnvironmentConfiguration {\n const isLocalKubernetes =\n env.runtime === WildoDeploymentRuntime.KUBERNETES\n && env.locationType === WildoLocationType.LOCAL;\n\n return {\n ...env,\n runtimeEnvironment: config.runtimeEnvironment ?? env.runtimeEnvironment,\n /**\n * The platform's database engine — persisted `config.json` WINS whenever it carries one.\n *\n * This field was the one member of the registry record with no path from authored config: it\n * was written only by the interactive setup prompt, straight into `environments.json`, while\n * `config.json` carried its own copy built from the authored descriptor. Two writers, two\n * stores, no reconciliation — precisely the dual-source-of-truth this function's contract note\n * warns about, and the reason the engine could not be reproduced on another machine.\n *\n * Projecting it here makes `config.json` the single authority and the registry the cache it\n * already claims to be, matching the source-of-truth ordering used by `backingServices`,\n * `serviceAuth` and `logging` directly below.\n *\n * The `?? env.database` fallback is NOT redundant, and an earlier revision of this comment\n * argued the opposite: `database` is REQUIRED on `PlatformEnvConfigJson`, therefore a parsed\n * config always carries one, therefore projecting it unconditionally is honest. That reasoning\n * is derived from the TYPE and is falsified by the CALLERS — `loadConfigJson` returns a value\n * read off disk, and `wildo dev start` hydrates with whatever it got. Projecting\n * unconditionally wrote `undefined` over a field the registry record REQUIRES, which is worse\n * than any stale value: `getDatabaseChoice` then falls through to its `MONGODB` default, so a\n * PostgreSQL platform silently reads as Mongo at exactly the sites that decide which containers\n * render. Caught by `start.command.test.ts`, whose fixture omits the field.\n *\n * The fallback costs nothing where the reasoning above DOES hold — a well-formed config.json\n * always wins, which is what `prefers the config.json database engine…` pins.\n */\n database: config.database ?? env.database,\n publicDomain: config.publicDomain ?? env.publicDomain,\n // Every field here is projected EXPLICITLY, and that is the whole contract: a field omitted from\n // this list silently keeps the persisted environment on its previous value while the authored\n // config says otherwise. That divergence surfaces nowhere until something downstream reads the\n // stale value and behaves in a way no log explains.\n serviceHosts: config.serviceHosts ?? env.serviceHosts,\n cdn: config.cdn ?? env.cdn,\n kubernetes: config.kubernetes\n ? {\n ...config.kubernetes,\n imageRegistry: config.remoteProvider?.registryEndpoint ?? env.kubernetes?.imageRegistry,\n }\n : isLocalKubernetes\n ? {\n namespace: env.kubernetes?.namespace ?? K8S_LOCAL_DEFAULTS.NAMESPACE,\n imageRegistry: env.kubernetes?.imageRegistry,\n }\n : env.kubernetes,\n remoteProvider: config.remoteProvider ?? env.remoteProvider,\n /**\n * config.json is the source of truth for the persisted backing-services\n * snapshot (it was synced from `wildo.infra.<env>.config.ts` at\n * `wildo config sync` time). Always prefer it over the in-memory env\n * state, which may be a stale registry entry from before the last sync.\n */\n backingServices: config.backingServices ?? env.backingServices,\n /**\n * Same source-of-truth ordering as `backingServices`: persisted\n * `serviceAuth` snapshot wins, in-memory registry value is the fallback.\n */\n serviceAuth: config.serviceAuth ?? env.serviceAuth,\n /**\n * Persisted `logging` snapshot wins (Slice 3.5). Fallback to in-memory\n * registry value preserves the same source-of-truth ordering used for\n * `backingServices` and `serviceAuth`.\n */\n logging: config.logging ?? env.logging,\n /**\n * Persisted `observability` snapshot wins (Slice 2 Phase 5); in-memory registry\n * value is the fallback — same source-of-truth ordering as `logging`/`serviceAuth`.\n */\n observability: config.observability ?? env.observability,\n /**\n * Persisted `providerSelection` snapshot wins (per-env provider selection\n * override); in-memory registry value is the fallback — same source-of-truth\n * ordering as `logging`/`observability`.\n */\n providerSelection: config.providerSelection ?? env.providerSelection,\n /**\n * Persisted `documentationSite` snapshot wins; in-memory registry value is the\n * fallback — same source-of-truth ordering as `providerSelection`.\n */\n documentationSite: config.documentationSite ?? env.documentationSite,\n };\n}\n"]}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EnvironmentLifecycle — initialization, setup status, and domain-specific helpers.
|
|
3
|
+
*
|
|
4
|
+
* Handles environment creation, setup flow tracking, database configuration,
|
|
5
|
+
* and infrastructure service resolution. Depends on EnvironmentRegistry for
|
|
6
|
+
* state persistence.
|
|
7
|
+
*/
|
|
8
|
+
import { PlatformEnvironmentConfiguration, PlatformEnvOperatingSystem, SetupStatus } from '../../services/environment/environment.schemas';
|
|
9
|
+
import { DatabaseEngine, PlatformWildoServices, WildoDeploymentRuntime, WildoLocationType, type BackingServicesEnvConfig } from '@wildo-ai/platform-config-lib';
|
|
10
|
+
import { PlatformDatabaseChoice, PlatformDataServices } from '../../services/data-services/data-services.schemas';
|
|
11
|
+
export declare class EnvironmentLifecycle {
|
|
12
|
+
static initializeLocal(overrides?: Partial<PlatformEnvironmentConfiguration>): PlatformEnvironmentConfiguration;
|
|
13
|
+
static initializeEnvironment(name: string, locationType: WildoLocationType, overrides?: Partial<PlatformEnvironmentConfiguration>): PlatformEnvironmentConfiguration;
|
|
14
|
+
static updateEnvironmentState(env: PlatformEnvironmentConfiguration): void;
|
|
15
|
+
static getSetupStatus(envName?: string): SetupStatus;
|
|
16
|
+
static setSetupStatus(status: SetupStatus, envName?: string): void;
|
|
17
|
+
static isSetupCompleted(envName?: string): boolean;
|
|
18
|
+
static isPlatformInitialized(envName?: string): boolean;
|
|
19
|
+
static markPlatformInitialized(envName?: string): void;
|
|
20
|
+
static clearPlatformInitialized(envName?: string): void;
|
|
21
|
+
static getDatabaseChoice(envName?: string): PlatformDatabaseChoice;
|
|
22
|
+
static getDatabaseEngine(envName?: string): DatabaseEngine;
|
|
23
|
+
static setDatabaseChoice(database: PlatformDatabaseChoice, envName?: string): void;
|
|
24
|
+
/**
|
|
25
|
+
* Should this environment self-deploy a MongoDB container?
|
|
26
|
+
*
|
|
27
|
+
* A UNION of the two ways an environment can ask for one — the exact mirror of
|
|
28
|
+
* {@link needsLocalPostgreSQL}, and made a union for the mirror-image reason (Phase 5.1, D7):
|
|
29
|
+
* once the PLATFORM engine moves to PostgreSQL, `engine === MONGODB` goes false — but a
|
|
30
|
+
* transition environment still runs every Mongo-backed APPLICATION it always ran, and deleting
|
|
31
|
+
* mongod from under them because the platform moved is the same inexpressibility defect the
|
|
32
|
+
* PostgreSQL gate had, with the stores swapped. Dual-store environments are a first-class state.
|
|
33
|
+
*
|
|
34
|
+
* - platform half: the environment's own database engine is self-hosted MongoDB (unchanged
|
|
35
|
+
* meaning — Atlas/MANAGED envs still get no local mongod);
|
|
36
|
+
* - authored half: `backingServices.mongodb: { source: SELF }` in `wildo.infra.<env>.config.ts`,
|
|
37
|
+
* which composes with ANY platform engine.
|
|
38
|
+
*
|
|
39
|
+
* Takes the env structurally (name + authored `backingServices` snapshot) for the same freshness
|
|
40
|
+
* reason as the PostgreSQL predicate; name-only callers build the shape from the registry.
|
|
41
|
+
*/
|
|
42
|
+
static needsLocalMongoDB(env: {
|
|
43
|
+
name: string;
|
|
44
|
+
backingServices?: BackingServicesEnvConfig;
|
|
45
|
+
}): boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Should this environment self-deploy a PostgreSQL container?
|
|
48
|
+
*
|
|
49
|
+
* ## Why this is not simply `getDatabaseEngine() === POSTGRESQL`
|
|
50
|
+
*
|
|
51
|
+
* `database.engine` is the PLATFORM's own database choice, and it is EXCLUSIVE with MongoDB by
|
|
52
|
+
* construction: {@link needsLocalMongoDB}'s PLATFORM half is `engine === MONGODB && source === SELF`
|
|
53
|
+
* (since Phase 5.1 it is a union with an authored `backingServices.mongodb` half — a transition
|
|
54
|
+
* env keeps mongod for its Mongo-backed apps after the platform engine moves), so selecting
|
|
55
|
+
* PostgreSQL there removes MongoDB from the rendered compose file entirely. That is correct for
|
|
56
|
+
* what the field means — apps-manager stores `APPLICATION_ID` as a Mongo `_id`, so the platform
|
|
57
|
+
* control plane IS Mongo-backed — but it left no way to express the configuration an application
|
|
58
|
+
* on the PostgreSQL persistence adapter actually needs: **MongoDB for the platform, PostgreSQL for
|
|
59
|
+
* the application's own resources.** Both containers, at once.
|
|
60
|
+
*
|
|
61
|
+
* Until this predicate existed, PostgreSQL was the ONE self-hosted service in the compose template
|
|
62
|
+
* not gated on its own declaration. Every sibling reads `backingServices.<kind>.source === SELF`
|
|
63
|
+
* (`resolveIncludeLocalClamAV`, `resolveIncludeLocalImmudb`, and MongoDB above). PostgreSQL read a
|
|
64
|
+
* field that also subtracts a different service, which is why no environment could ever have one.
|
|
65
|
+
*
|
|
66
|
+
* So the rule is a UNION of the two ways an environment can ask for a local PostgreSQL:
|
|
67
|
+
*
|
|
68
|
+
* - the platform's own database engine is PostgreSQL and self-hosted — the pre-existing meaning,
|
|
69
|
+
* preserved exactly;
|
|
70
|
+
* - the env author declared `backingServices.postgresql: { source: SELF }` in
|
|
71
|
+
* `wildo.infra.<env>.config.ts` — the additive meaning, which composes with any platform engine.
|
|
72
|
+
*
|
|
73
|
+
* `source === SELF` is required on BOTH halves. The engine half previously ignored `source`, so a
|
|
74
|
+
* MANAGED PostgreSQL (an external RDS) would still have spawned a local container. Requiring SELF
|
|
75
|
+
* matches {@link needsLocalMongoDB} and every sibling resolver; it is unreachable as a behaviour
|
|
76
|
+
* change today because the only CLI path that writes `engine: POSTGRESQL` also writes
|
|
77
|
+
* `source: SELF`.
|
|
78
|
+
*
|
|
79
|
+
* Takes the env STRUCTURALLY (name + the in-memory authored `backingServices` snapshot) rather
|
|
80
|
+
* than a name alone, because the authored snapshot is what the compose generator and the K8s
|
|
81
|
+
* catalog both hold and it can be fresher than the persisted registry entry — the same shape
|
|
82
|
+
* `getDeployableInfraServicesForK8s` already accepts for exactly that reason.
|
|
83
|
+
*
|
|
84
|
+
* Single source of truth for the four sites that ask this question:
|
|
85
|
+
* - `renderDockerComposeTemplate`'s `includePostgreSQL` context value;
|
|
86
|
+
* - `getDockerComposeLocalDataServices` (whether `local_data/postgresql/` must be pre-created);
|
|
87
|
+
* - `getDeployableInfraServicesForK8s` (Compose ⇄ K8s parity);
|
|
88
|
+
* - `shouldProvisionPostgreSQL` in `env-vars-builder.service.ts` (whether env files carry the
|
|
89
|
+
* PostgreSQL admin credentials — half of its union rule). That site used to keep the bare
|
|
90
|
+
* engine predicate this JSDoc rejects, so the compose file rendered a postgres service whose
|
|
91
|
+
* `POSTGRES_ADMIN_PASSWORD` was never emitted (2026-08-11: crash-looping container, failed
|
|
92
|
+
* `wildo local dev`). A fifth site must reuse one of these, never re-derive.
|
|
93
|
+
*/
|
|
94
|
+
static needsLocalPostgreSQL(env: {
|
|
95
|
+
name: string;
|
|
96
|
+
backingServices?: BackingServicesEnvConfig;
|
|
97
|
+
}): boolean;
|
|
98
|
+
static getRuntime(envName?: string): WildoDeploymentRuntime;
|
|
99
|
+
static getRequiredInfraServices(envName?: string): PlatformDataServices[];
|
|
100
|
+
static getRequiredPlatformServices(): PlatformWildoServices[];
|
|
101
|
+
static detectOS(): PlatformEnvOperatingSystem;
|
|
102
|
+
}
|
|
103
|
+
//# sourceMappingURL=environment-lifecycle.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environment-lifecycle.service.d.ts","sourceRoot":"","sources":["../../../../../../src/services/environment/environment-lifecycle.service.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,gCAAgC,EAChC,0BAA0B,EAE1B,WAAW,EACZ,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAA4C,cAAc,EAA0B,qBAAqB,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,KAAK,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAElO,OAAO,EACL,sBAAsB,EACtB,oBAAoB,EACrB,MAAM,yDAAyD,CAAC;AAKjE,qBAAa,oBAAoB;IAM/B,MAAM,CAAC,eAAe,CACpB,SAAS,CAAC,EAAE,OAAO,CAAC,gCAAgC,CAAC,GACpD,gCAAgC;IAQnC,MAAM,CAAC,qBAAqB,CAC1B,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,iBAAiB,EAC/B,SAAS,CAAC,EAAE,OAAO,CAAC,gCAAgC,CAAC,GACpD,gCAAgC;IAqDnC,MAAM,CAAC,sBAAsB,CAAC,GAAG,EAAE,gCAAgC,GAAG,IAAI;IA+B1E,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW;IAKpD,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI;IASlE,MAAM,CAAC,gBAAgB,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO;IAQlD,MAAM,CAAC,qBAAqB,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO;IAIvD,MAAM,CAAC,uBAAuB,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI;IAItD,MAAM,CAAC,wBAAwB,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI;IAQvD,MAAM,CAAC,iBAAiB,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,sBAAsB;IAQlE,MAAM,CAAC,iBAAiB,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,cAAc;IAI1D,MAAM,CAAC,iBAAiB,CAAC,QAAQ,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI;IAKlF;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,iBAAiB,CAAC,GAAG,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,eAAe,CAAC,EAAE,wBAAwB,CAAA;KAAE,GAAG,OAAO;IAOpG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+CG;IACH,MAAM,CAAC,oBAAoB,CAAC,GAAG,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,eAAe,CAAC,EAAE,wBAAwB,CAAA;KAAE,GAAG,OAAO;IAavG,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,sBAAsB;IAS3D,MAAM,CAAC,wBAAwB,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,oBAAoB,EAAE;IAiBzE,MAAM,CAAC,2BAA2B,IAAI,qBAAqB,EAAE;IAY7D,MAAM,CAAC,QAAQ,IAAI,0BAA0B;CAM9C"}
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EnvironmentLifecycle — initialization, setup status, and domain-specific helpers.
|
|
3
|
+
*
|
|
4
|
+
* Handles environment creation, setup flow tracking, database configuration,
|
|
5
|
+
* and infrastructure service resolution. Depends on EnvironmentRegistry for
|
|
6
|
+
* state persistence.
|
|
7
|
+
*/
|
|
8
|
+
import { PlatformEnvOperatingSystem, parsePlatformEnvironmentId, SetupStatus, } from '../../services/environment/environment.schemas.js';
|
|
9
|
+
import { BackingServiceKind, BackingServiceSource, DatabaseEngine, PUBLIC_DOMAIN_DEFAULTS, PlatformWildoServices, WildoDeploymentRuntime, WildoLocationType } from '@wildo-ai/platform-config-lib';
|
|
10
|
+
import { RuntimeEnvironment } from '@wildo-ai/saas-models';
|
|
11
|
+
import { PlatformDataServices, } from '../../services/data-services/data-services.schemas.js';
|
|
12
|
+
import { EnvironmentPaths } from '../../services/environment/environment-paths.service.js';
|
|
13
|
+
import { EnvironmentRegistry } from '../../services/environment/environment-registry.service.js';
|
|
14
|
+
import { PlatformRuntimeStateService } from '../../services/environment/platform-runtime-state.service.js';
|
|
15
|
+
export class EnvironmentLifecycle {
|
|
16
|
+
// --------------------------------------------------------------------------
|
|
17
|
+
// Initialization
|
|
18
|
+
// --------------------------------------------------------------------------
|
|
19
|
+
static initializeLocal(overrides) {
|
|
20
|
+
return EnvironmentLifecycle.initializeEnvironment(WildoLocationType.LOCAL, WildoLocationType.LOCAL, overrides);
|
|
21
|
+
}
|
|
22
|
+
static initializeEnvironment(name, locationType, overrides) {
|
|
23
|
+
const validatedName = parsePlatformEnvironmentId(name);
|
|
24
|
+
const existing = EnvironmentRegistry.get(validatedName);
|
|
25
|
+
if (existing)
|
|
26
|
+
return existing;
|
|
27
|
+
const now = new Date().toISOString();
|
|
28
|
+
const defaultDatabase = {
|
|
29
|
+
engine: DatabaseEngine.MONGODB,
|
|
30
|
+
source: BackingServiceSource.SELF,
|
|
31
|
+
};
|
|
32
|
+
const seededRuntime = overrides?.runtime ?? WildoDeploymentRuntime.DOCKER_COMPOSE;
|
|
33
|
+
// `publicDomain` is required on `PlatformEnvironmentConfiguration`
|
|
34
|
+
// (mirrors the schema-required `WildoInfraEnvConfig.publicDomain`).
|
|
35
|
+
// For the local-init path the canonical write-time default depends
|
|
36
|
+
// on the seeded runtime; remote callers MUST pass an explicit
|
|
37
|
+
// `publicDomain` override (no remote default exists).
|
|
38
|
+
const seededPublicDomain = overrides?.publicDomain
|
|
39
|
+
?? (locationType === WildoLocationType.LOCAL
|
|
40
|
+
? (seededRuntime === WildoDeploymentRuntime.KUBERNETES
|
|
41
|
+
? PUBLIC_DOMAIN_DEFAULTS.LOCAL_K8S
|
|
42
|
+
: PUBLIC_DOMAIN_DEFAULTS.LOCAL_COMPOSE)
|
|
43
|
+
: undefined);
|
|
44
|
+
if (!seededPublicDomain) {
|
|
45
|
+
throw new Error(`EnvironmentLifecycle.initializeEnvironment: '${validatedName}' (remote) must be initialized with an explicit publicDomain override.`);
|
|
46
|
+
}
|
|
47
|
+
const env = {
|
|
48
|
+
name: validatedName,
|
|
49
|
+
locationType,
|
|
50
|
+
runtime: seededRuntime,
|
|
51
|
+
runtimeEnvironment: overrides?.runtimeEnvironment
|
|
52
|
+
?? (locationType === WildoLocationType.LOCAL ? RuntimeEnvironment.DEVELOPMENT : undefined),
|
|
53
|
+
os: EnvironmentLifecycle.detectOS(),
|
|
54
|
+
secretsPath: overrides?.secretsPath ?? EnvironmentPaths.resolveDefaultSecretsBase(),
|
|
55
|
+
configPath: overrides?.configPath ?? EnvironmentPaths.resolveDefaultConfigBase(),
|
|
56
|
+
infraPath: overrides?.infraPath ?? EnvironmentPaths.resolveDefaultInfraBase(),
|
|
57
|
+
database: overrides?.database ?? defaultDatabase,
|
|
58
|
+
publicDomain: seededPublicDomain,
|
|
59
|
+
setupStatus: overrides?.setupStatus ?? SetupStatus.NOT_STARTED,
|
|
60
|
+
createdAt: overrides?.createdAt ?? now,
|
|
61
|
+
updatedAt: overrides?.updatedAt ?? now,
|
|
62
|
+
...overrides,
|
|
63
|
+
};
|
|
64
|
+
EnvironmentRegistry.insert(env);
|
|
65
|
+
return env;
|
|
66
|
+
}
|
|
67
|
+
// --------------------------------------------------------------------------
|
|
68
|
+
// Batch update (from full env config object)
|
|
69
|
+
// --------------------------------------------------------------------------
|
|
70
|
+
static updateEnvironmentState(env) {
|
|
71
|
+
EnvironmentRegistry.update(env.name, {
|
|
72
|
+
runtime: env.runtime,
|
|
73
|
+
runtimeEnvironment: env.runtimeEnvironment,
|
|
74
|
+
secretsPath: env.secretsPath,
|
|
75
|
+
configPath: env.configPath,
|
|
76
|
+
infraPath: env.infraPath,
|
|
77
|
+
database: env.database,
|
|
78
|
+
publicDomain: env.publicDomain,
|
|
79
|
+
/**
|
|
80
|
+
* The edge SCHEME and its certificate travel WITH the domain — the three together are the
|
|
81
|
+
* environment's public identity, and a record carrying one without the others describes a
|
|
82
|
+
* host nobody is served on.
|
|
83
|
+
*
|
|
84
|
+
* Persisting them is defence in depth, not the primary mechanism: `config.json` remains the
|
|
85
|
+
* on-disk source of truth and every generator reconciles against it through
|
|
86
|
+
* `hydrateEnvironmentFromConfig`. But omitting them here made the registry actively
|
|
87
|
+
* misleading rather than merely partial — a reader saw `publicDomain: 'localhost'` with no
|
|
88
|
+
* scheme and could not tell "http" from "never round-tripped", which is exactly the reading
|
|
89
|
+
* that produced an http topology for a TLS dev edge on 2026-08-13.
|
|
90
|
+
*/
|
|
91
|
+
kubernetes: env.kubernetes,
|
|
92
|
+
backingServices: env.backingServices,
|
|
93
|
+
serviceAuth: env.serviceAuth,
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
// --------------------------------------------------------------------------
|
|
97
|
+
// Setup status
|
|
98
|
+
// --------------------------------------------------------------------------
|
|
99
|
+
static getSetupStatus(envName) {
|
|
100
|
+
const name = envName ?? EnvironmentRegistry.getCurrentName();
|
|
101
|
+
return EnvironmentRegistry.get(name)?.setupStatus ?? SetupStatus.NOT_STARTED;
|
|
102
|
+
}
|
|
103
|
+
static setSetupStatus(status, envName) {
|
|
104
|
+
const name = envName ?? EnvironmentRegistry.getCurrentName();
|
|
105
|
+
const updates = { setupStatus: status };
|
|
106
|
+
if (status === SetupStatus.COMPLETED) {
|
|
107
|
+
updates.setupCompletedAt = new Date().toISOString();
|
|
108
|
+
}
|
|
109
|
+
EnvironmentRegistry.update(name, updates);
|
|
110
|
+
}
|
|
111
|
+
static isSetupCompleted(envName) {
|
|
112
|
+
return EnvironmentLifecycle.getSetupStatus(envName) === SetupStatus.COMPLETED;
|
|
113
|
+
}
|
|
114
|
+
// --------------------------------------------------------------------------
|
|
115
|
+
// Platform initialization (apps-manager INIT mode)
|
|
116
|
+
// --------------------------------------------------------------------------
|
|
117
|
+
static isPlatformInitialized(envName) {
|
|
118
|
+
return PlatformRuntimeStateService.isPlatformInitialized(envName);
|
|
119
|
+
}
|
|
120
|
+
static markPlatformInitialized(envName) {
|
|
121
|
+
PlatformRuntimeStateService.markPlatformInitialized(envName);
|
|
122
|
+
}
|
|
123
|
+
static clearPlatformInitialized(envName) {
|
|
124
|
+
PlatformRuntimeStateService.clearPlatformInitialized(envName);
|
|
125
|
+
}
|
|
126
|
+
// --------------------------------------------------------------------------
|
|
127
|
+
// Database helpers
|
|
128
|
+
// --------------------------------------------------------------------------
|
|
129
|
+
static getDatabaseChoice(envName) {
|
|
130
|
+
const name = envName ?? EnvironmentRegistry.getCurrentName();
|
|
131
|
+
return EnvironmentRegistry.get(name)?.database ?? {
|
|
132
|
+
engine: DatabaseEngine.MONGODB,
|
|
133
|
+
source: BackingServiceSource.SELF,
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
static getDatabaseEngine(envName) {
|
|
137
|
+
return EnvironmentLifecycle.getDatabaseChoice(envName).engine;
|
|
138
|
+
}
|
|
139
|
+
static setDatabaseChoice(database, envName) {
|
|
140
|
+
const name = envName ?? EnvironmentRegistry.getCurrentName();
|
|
141
|
+
EnvironmentRegistry.update(name, { database });
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Should this environment self-deploy a MongoDB container?
|
|
145
|
+
*
|
|
146
|
+
* A UNION of the two ways an environment can ask for one — the exact mirror of
|
|
147
|
+
* {@link needsLocalPostgreSQL}, and made a union for the mirror-image reason (Phase 5.1, D7):
|
|
148
|
+
* once the PLATFORM engine moves to PostgreSQL, `engine === MONGODB` goes false — but a
|
|
149
|
+
* transition environment still runs every Mongo-backed APPLICATION it always ran, and deleting
|
|
150
|
+
* mongod from under them because the platform moved is the same inexpressibility defect the
|
|
151
|
+
* PostgreSQL gate had, with the stores swapped. Dual-store environments are a first-class state.
|
|
152
|
+
*
|
|
153
|
+
* - platform half: the environment's own database engine is self-hosted MongoDB (unchanged
|
|
154
|
+
* meaning — Atlas/MANAGED envs still get no local mongod);
|
|
155
|
+
* - authored half: `backingServices.mongodb: { source: SELF }` in `wildo.infra.<env>.config.ts`,
|
|
156
|
+
* which composes with ANY platform engine.
|
|
157
|
+
*
|
|
158
|
+
* Takes the env structurally (name + authored `backingServices` snapshot) for the same freshness
|
|
159
|
+
* reason as the PostgreSQL predicate; name-only callers build the shape from the registry.
|
|
160
|
+
*/
|
|
161
|
+
static needsLocalMongoDB(env) {
|
|
162
|
+
const db = EnvironmentLifecycle.getDatabaseChoice(env.name);
|
|
163
|
+
const platformEngineIsSelfHostedMongo = db.engine === DatabaseEngine.MONGODB && db.source === BackingServiceSource.SELF;
|
|
164
|
+
const authorDeclaredSelfHostedMongo = env.backingServices?.[BackingServiceKind.MONGODB]?.source === BackingServiceSource.SELF;
|
|
165
|
+
return platformEngineIsSelfHostedMongo || authorDeclaredSelfHostedMongo;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* Should this environment self-deploy a PostgreSQL container?
|
|
169
|
+
*
|
|
170
|
+
* ## Why this is not simply `getDatabaseEngine() === POSTGRESQL`
|
|
171
|
+
*
|
|
172
|
+
* `database.engine` is the PLATFORM's own database choice, and it is EXCLUSIVE with MongoDB by
|
|
173
|
+
* construction: {@link needsLocalMongoDB}'s PLATFORM half is `engine === MONGODB && source === SELF`
|
|
174
|
+
* (since Phase 5.1 it is a union with an authored `backingServices.mongodb` half — a transition
|
|
175
|
+
* env keeps mongod for its Mongo-backed apps after the platform engine moves), so selecting
|
|
176
|
+
* PostgreSQL there removes MongoDB from the rendered compose file entirely. That is correct for
|
|
177
|
+
* what the field means — apps-manager stores `APPLICATION_ID` as a Mongo `_id`, so the platform
|
|
178
|
+
* control plane IS Mongo-backed — but it left no way to express the configuration an application
|
|
179
|
+
* on the PostgreSQL persistence adapter actually needs: **MongoDB for the platform, PostgreSQL for
|
|
180
|
+
* the application's own resources.** Both containers, at once.
|
|
181
|
+
*
|
|
182
|
+
* Until this predicate existed, PostgreSQL was the ONE self-hosted service in the compose template
|
|
183
|
+
* not gated on its own declaration. Every sibling reads `backingServices.<kind>.source === SELF`
|
|
184
|
+
* (`resolveIncludeLocalClamAV`, `resolveIncludeLocalImmudb`, and MongoDB above). PostgreSQL read a
|
|
185
|
+
* field that also subtracts a different service, which is why no environment could ever have one.
|
|
186
|
+
*
|
|
187
|
+
* So the rule is a UNION of the two ways an environment can ask for a local PostgreSQL:
|
|
188
|
+
*
|
|
189
|
+
* - the platform's own database engine is PostgreSQL and self-hosted — the pre-existing meaning,
|
|
190
|
+
* preserved exactly;
|
|
191
|
+
* - the env author declared `backingServices.postgresql: { source: SELF }` in
|
|
192
|
+
* `wildo.infra.<env>.config.ts` — the additive meaning, which composes with any platform engine.
|
|
193
|
+
*
|
|
194
|
+
* `source === SELF` is required on BOTH halves. The engine half previously ignored `source`, so a
|
|
195
|
+
* MANAGED PostgreSQL (an external RDS) would still have spawned a local container. Requiring SELF
|
|
196
|
+
* matches {@link needsLocalMongoDB} and every sibling resolver; it is unreachable as a behaviour
|
|
197
|
+
* change today because the only CLI path that writes `engine: POSTGRESQL` also writes
|
|
198
|
+
* `source: SELF`.
|
|
199
|
+
*
|
|
200
|
+
* Takes the env STRUCTURALLY (name + the in-memory authored `backingServices` snapshot) rather
|
|
201
|
+
* than a name alone, because the authored snapshot is what the compose generator and the K8s
|
|
202
|
+
* catalog both hold and it can be fresher than the persisted registry entry — the same shape
|
|
203
|
+
* `getDeployableInfraServicesForK8s` already accepts for exactly that reason.
|
|
204
|
+
*
|
|
205
|
+
* Single source of truth for the four sites that ask this question:
|
|
206
|
+
* - `renderDockerComposeTemplate`'s `includePostgreSQL` context value;
|
|
207
|
+
* - `getDockerComposeLocalDataServices` (whether `local_data/postgresql/` must be pre-created);
|
|
208
|
+
* - `getDeployableInfraServicesForK8s` (Compose ⇄ K8s parity);
|
|
209
|
+
* - `shouldProvisionPostgreSQL` in `env-vars-builder.service.ts` (whether env files carry the
|
|
210
|
+
* PostgreSQL admin credentials — half of its union rule). That site used to keep the bare
|
|
211
|
+
* engine predicate this JSDoc rejects, so the compose file rendered a postgres service whose
|
|
212
|
+
* `POSTGRES_ADMIN_PASSWORD` was never emitted (2026-08-11: crash-looping container, failed
|
|
213
|
+
* `wildo local dev`). A fifth site must reuse one of these, never re-derive.
|
|
214
|
+
*/
|
|
215
|
+
static needsLocalPostgreSQL(env) {
|
|
216
|
+
const db = EnvironmentLifecycle.getDatabaseChoice(env.name);
|
|
217
|
+
const platformEngineIsSelfHostedPostgres = db.engine === DatabaseEngine.POSTGRESQL && db.source === BackingServiceSource.SELF;
|
|
218
|
+
const authorDeclaredSelfHostedPostgres = env.backingServices?.[BackingServiceKind.POSTGRESQL]?.source === BackingServiceSource.SELF;
|
|
219
|
+
return platformEngineIsSelfHostedPostgres || authorDeclaredSelfHostedPostgres;
|
|
220
|
+
}
|
|
221
|
+
// --------------------------------------------------------------------------
|
|
222
|
+
// Runtime
|
|
223
|
+
// --------------------------------------------------------------------------
|
|
224
|
+
static getRuntime(envName) {
|
|
225
|
+
const name = envName ?? EnvironmentRegistry.getCurrentName();
|
|
226
|
+
return EnvironmentRegistry.get(name)?.runtime ?? WildoDeploymentRuntime.DOCKER_COMPOSE;
|
|
227
|
+
}
|
|
228
|
+
// --------------------------------------------------------------------------
|
|
229
|
+
// Infrastructure service resolution
|
|
230
|
+
// --------------------------------------------------------------------------
|
|
231
|
+
static getRequiredInfraServices(envName) {
|
|
232
|
+
const services = [
|
|
233
|
+
PlatformDataServices.VALKEY,
|
|
234
|
+
PlatformDataServices.RABBITMQ,
|
|
235
|
+
PlatformDataServices.MINIO,
|
|
236
|
+
PlatformDataServices.MINIO_INIT,
|
|
237
|
+
PlatformDataServices.GOTENBERG,
|
|
238
|
+
];
|
|
239
|
+
const name = envName ?? EnvironmentRegistry.getCurrentName();
|
|
240
|
+
if (EnvironmentLifecycle.needsLocalMongoDB({ name, backingServices: EnvironmentRegistry.get(name)?.backingServices })) {
|
|
241
|
+
services.unshift(PlatformDataServices.MONGODB, PlatformDataServices.MONGODB_INIT);
|
|
242
|
+
}
|
|
243
|
+
return services;
|
|
244
|
+
}
|
|
245
|
+
static getRequiredPlatformServices() {
|
|
246
|
+
return [
|
|
247
|
+
PlatformWildoServices.PLATFORM_INIT,
|
|
248
|
+
PlatformWildoServices.APPS_MANAGER,
|
|
249
|
+
PlatformWildoServices.CRONTABS_BATCHES_MANAGER,
|
|
250
|
+
];
|
|
251
|
+
}
|
|
252
|
+
// --------------------------------------------------------------------------
|
|
253
|
+
// OS detection
|
|
254
|
+
// --------------------------------------------------------------------------
|
|
255
|
+
static detectOS() {
|
|
256
|
+
const platform = process.platform;
|
|
257
|
+
if (platform === 'win32')
|
|
258
|
+
return PlatformEnvOperatingSystem.WINDOWS;
|
|
259
|
+
if (platform === 'darwin')
|
|
260
|
+
return PlatformEnvOperatingSystem.MACOS;
|
|
261
|
+
return PlatformEnvOperatingSystem.LINUX;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
//# sourceMappingURL=environment-lifecycle.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environment-lifecycle.service.js","sourceRoot":"","sources":["../../../../../../src/services/environment/environment-lifecycle.service.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAEL,0BAA0B,EAC1B,0BAA0B,EAC1B,WAAW,GACZ,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,cAAc,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,iBAAiB,EAAiC,MAAM,+BAA+B,CAAC;AAClO,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAEL,oBAAoB,GACrB,MAAM,yDAAyD,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2DAA2D,CAAC;AAC7F,OAAO,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAC;AACnG,OAAO,EAAE,2BAA2B,EAAE,MAAM,gEAAgE,CAAC;AAE7G,MAAM,OAAO,oBAAoB;IAE/B,6EAA6E;IAC7E,iBAAiB;IACjB,6EAA6E;IAE7E,MAAM,CAAC,eAAe,CACpB,SAAqD;QAErD,OAAO,oBAAoB,CAAC,qBAAqB,CAC/C,iBAAiB,CAAC,KAAK,EACvB,iBAAiB,CAAC,KAAK,EACvB,SAAS,CACV,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,qBAAqB,CAC1B,IAAY,EACZ,YAA+B,EAC/B,SAAqD;QAErD,MAAM,aAAa,GAAG,0BAA0B,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,QAAQ,GAAG,mBAAmB,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;QACxD,IAAI,QAAQ;YAAE,OAAO,QAAQ,CAAC;QAE9B,MAAM,GAAG,GAAG,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;QACrC,MAAM,eAAe,GAAG;YACtB,MAAM,EAAE,cAAc,CAAC,OAAO;YAC9B,MAAM,EAAE,oBAAoB,CAAC,IAAI;SAClC,CAAC;QACF,MAAM,aAAa,GAAG,SAAS,EAAE,OAAO,IAAI,sBAAsB,CAAC,cAAc,CAAC;QAClF,mEAAmE;QACnE,oEAAoE;QACpE,mEAAmE;QACnE,8DAA8D;QAC9D,sDAAsD;QACtD,MAAM,kBAAkB,GAAG,SAAS,EAAE,YAAY;eAC7C,CAAC,YAAY,KAAK,iBAAiB,CAAC,KAAK;gBAC1C,CAAC,CAAC,CAAC,aAAa,KAAK,sBAAsB,CAAC,UAAU;oBACpD,CAAC,CAAC,sBAAsB,CAAC,SAAS;oBAClC,CAAC,CAAC,sBAAsB,CAAC,aAAa,CAAC;gBACzC,CAAC,CAAC,SAAS,CAAC,CAAC;QACjB,IAAI,CAAC,kBAAkB,EAAE,CAAC;YACxB,MAAM,IAAI,KAAK,CACb,gDAAgD,aAAa,wEAAwE,CACtI,CAAC;QACJ,CAAC;QACD,MAAM,GAAG,GAAqC;YAC5C,IAAI,EAAE,aAAa;YACnB,YAAY;YACZ,OAAO,EAAE,aAAa;YACtB,kBAAkB,EAAE,SAAS,EAAE,kBAAkB;mBAC5C,CAAC,YAAY,KAAK,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC,kBAAkB,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5F,EAAE,EAAE,oBAAoB,CAAC,QAAQ,EAAE;YACnC,WAAW,EAAE,SAAS,EAAE,WAAW,IAAI,gBAAgB,CAAC,yBAAyB,EAAE;YACnF,UAAU,EAAE,SAAS,EAAE,UAAU,IAAI,gBAAgB,CAAC,wBAAwB,EAAE;YAChF,SAAS,EAAE,SAAS,EAAE,SAAS,IAAI,gBAAgB,CAAC,uBAAuB,EAAE;YAC7E,QAAQ,EAAE,SAAS,EAAE,QAAQ,IAAI,eAAe;YAChD,YAAY,EAAE,kBAAkB;YAChC,WAAW,EAAE,SAAS,EAAE,WAAW,IAAI,WAAW,CAAC,WAAW;YAC9D,SAAS,EAAE,SAAS,EAAE,SAAS,IAAI,GAAG;YACtC,SAAS,EAAE,SAAS,EAAE,SAAS,IAAI,GAAG;YACtC,GAAG,SAAS;SACb,CAAC;QAEF,mBAAmB,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QAChC,OAAO,GAAG,CAAC;IACb,CAAC;IAED,6EAA6E;IAC7E,6CAA6C;IAC7C,6EAA6E;IAE7E,MAAM,CAAC,sBAAsB,CAAC,GAAqC;QACjE,mBAAmB,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,EAAE;YACnC,OAAO,EAAE,GAAG,CAAC,OAAO;YACpB,kBAAkB,EAAE,GAAG,CAAC,kBAAkB;YAC1C,WAAW,EAAE,GAAG,CAAC,WAAW;YAC5B,UAAU,EAAE,GAAG,CAAC,UAAU;YAC1B,SAAS,EAAE,GAAG,CAAC,SAAS;YACxB,QAAQ,EAAE,GAAG,CAAC,QAAQ;YACtB,YAAY,EAAE,GAAG,CAAC,YAAY;YAC9B;;;;;;;;;;;eAWG;YACH,UAAU,EAAE,GAAG,CAAC,UAAU;YAC1B,eAAe,EAAE,GAAG,CAAC,eAAe;YACpC,WAAW,EAAE,GAAG,CAAC,WAAW;SAC7B,CAAC,CAAC;IACL,CAAC;IAED,6EAA6E;IAC7E,eAAe;IACf,6EAA6E;IAE7E,MAAM,CAAC,cAAc,CAAC,OAAgB;QACpC,MAAM,IAAI,GAAG,OAAO,IAAI,mBAAmB,CAAC,cAAc,EAAE,CAAC;QAC7D,OAAO,mBAAmB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,WAAW,IAAI,WAAW,CAAC,WAAW,CAAC;IAC/E,CAAC;IAED,MAAM,CAAC,cAAc,CAAC,MAAmB,EAAE,OAAgB;QACzD,MAAM,IAAI,GAAG,OAAO,IAAI,mBAAmB,CAAC,cAAc,EAAE,CAAC;QAC7D,MAAM,OAAO,GAA8C,EAAE,WAAW,EAAE,MAAM,EAAE,CAAC;QACnF,IAAI,MAAM,KAAK,WAAW,CAAC,SAAS,EAAE,CAAC;YACrC,OAAO,CAAC,gBAAgB,GAAG,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;QACtD,CAAC;QACD,mBAAmB,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC5C,CAAC;IAED,MAAM,CAAC,gBAAgB,CAAC,OAAgB;QACtC,OAAO,oBAAoB,CAAC,cAAc,CAAC,OAAO,CAAC,KAAK,WAAW,CAAC,SAAS,CAAC;IAChF,CAAC;IAED,6EAA6E;IAC7E,mDAAmD;IACnD,6EAA6E;IAE7E,MAAM,CAAC,qBAAqB,CAAC,OAAgB;QAC3C,OAAO,2BAA2B,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC;IACpE,CAAC;IAED,MAAM,CAAC,uBAAuB,CAAC,OAAgB;QAC7C,2BAA2B,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED,MAAM,CAAC,wBAAwB,CAAC,OAAgB;QAC9C,2BAA2B,CAAC,wBAAwB,CAAC,OAAO,CAAC,CAAC;IAChE,CAAC;IAED,6EAA6E;IAC7E,mBAAmB;IACnB,6EAA6E;IAE7E,MAAM,CAAC,iBAAiB,CAAC,OAAgB;QACvC,MAAM,IAAI,GAAG,OAAO,IAAI,mBAAmB,CAAC,cAAc,EAAE,CAAC;QAC7D,OAAO,mBAAmB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,QAAQ,IAAI;YAChD,MAAM,EAAE,cAAc,CAAC,OAAO;YAC9B,MAAM,EAAE,oBAAoB,CAAC,IAAI;SAClC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,iBAAiB,CAAC,OAAgB;QACvC,OAAO,oBAAoB,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC;IAChE,CAAC;IAED,MAAM,CAAC,iBAAiB,CAAC,QAAgC,EAAE,OAAgB;QACzE,MAAM,IAAI,GAAG,OAAO,IAAI,mBAAmB,CAAC,cAAc,EAAE,CAAC;QAC7D,mBAAmB,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;IACjD,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,iBAAiB,CAAC,GAAiE;QACxF,MAAM,EAAE,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QAC5D,MAAM,+BAA+B,GAAG,EAAE,CAAC,MAAM,KAAK,cAAc,CAAC,OAAO,IAAI,EAAE,CAAC,MAAM,KAAK,oBAAoB,CAAC,IAAI,CAAC;QACxH,MAAM,6BAA6B,GAAG,GAAG,CAAC,eAAe,EAAE,CAAC,kBAAkB,CAAC,OAAO,CAAC,EAAE,MAAM,KAAK,oBAAoB,CAAC,IAAI,CAAC;QAC9H,OAAO,+BAA+B,IAAI,6BAA6B,CAAC;IAC1E,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+CG;IACH,MAAM,CAAC,oBAAoB,CAAC,GAAiE;QAC3F,MAAM,EAAE,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QAC5D,MAAM,kCAAkC,GACtC,EAAE,CAAC,MAAM,KAAK,cAAc,CAAC,UAAU,IAAI,EAAE,CAAC,MAAM,KAAK,oBAAoB,CAAC,IAAI,CAAC;QACrF,MAAM,gCAAgC,GACpC,GAAG,CAAC,eAAe,EAAE,CAAC,kBAAkB,CAAC,UAAU,CAAC,EAAE,MAAM,KAAK,oBAAoB,CAAC,IAAI,CAAC;QAC7F,OAAO,kCAAkC,IAAI,gCAAgC,CAAC;IAChF,CAAC;IAED,6EAA6E;IAC7E,UAAU;IACV,6EAA6E;IAE7E,MAAM,CAAC,UAAU,CAAC,OAAgB;QAChC,MAAM,IAAI,GAAG,OAAO,IAAI,mBAAmB,CAAC,cAAc,EAAE,CAAC;QAC7D,OAAO,mBAAmB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,OAAO,IAAI,sBAAsB,CAAC,cAAc,CAAC;IACzF,CAAC;IAED,6EAA6E;IAC7E,oCAAoC;IACpC,6EAA6E;IAE7E,MAAM,CAAC,wBAAwB,CAAC,OAAgB;QAC9C,MAAM,QAAQ,GAA2B;YACvC,oBAAoB,CAAC,MAAM;YAC3B,oBAAoB,CAAC,QAAQ;YAC7B,oBAAoB,CAAC,KAAK;YAC1B,oBAAoB,CAAC,UAAU;YAC/B,oBAAoB,CAAC,SAAS;SAC/B,CAAC;QAEF,MAAM,IAAI,GAAG,OAAO,IAAI,mBAAmB,CAAC,cAAc,EAAE,CAAC;QAC7D,IAAI,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,mBAAmB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,eAAe,EAAE,CAAC,EAAE,CAAC;YACtH,QAAQ,CAAC,OAAO,CAAC,oBAAoB,CAAC,OAAO,EAAE,oBAAoB,CAAC,YAAY,CAAC,CAAC;QACpF,CAAC;QAED,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,MAAM,CAAC,2BAA2B;QAChC,OAAO;YACL,qBAAqB,CAAC,aAAa;YACnC,qBAAqB,CAAC,YAAY;YAClC,qBAAqB,CAAC,wBAAwB;SAC/C,CAAC;IACJ,CAAC;IAED,6EAA6E;IAC7E,eAAe;IACf,6EAA6E;IAE7E,MAAM,CAAC,QAAQ;QACb,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;QAClC,IAAI,QAAQ,KAAK,OAAO;YAAE,OAAO,0BAA0B,CAAC,OAAO,CAAC;QACpE,IAAI,QAAQ,KAAK,QAAQ;YAAE,OAAO,0BAA0B,CAAC,KAAK,CAAC;QACnE,OAAO,0BAA0B,CAAC,KAAK,CAAC;IAC1C,CAAC;CACF","sourcesContent":["/**\n * EnvironmentLifecycle — initialization, setup status, and domain-specific helpers.\n *\n * Handles environment creation, setup flow tracking, database configuration,\n * and infrastructure service resolution. Depends on EnvironmentRegistry for\n * state persistence.\n */\n\nimport {\n PlatformEnvironmentConfiguration,\n PlatformEnvOperatingSystem,\n parsePlatformEnvironmentId,\n SetupStatus,\n} from '~wildo-cli/services/environment/environment.schemas';\nimport { BackingServiceKind, BackingServiceSource, DatabaseEngine, PUBLIC_DOMAIN_DEFAULTS, PlatformWildoServices, WildoDeploymentRuntime, WildoLocationType, type BackingServicesEnvConfig } from '@wildo-ai/platform-config-lib';\nimport { RuntimeEnvironment } from '@wildo-ai/saas-models';\nimport {\n PlatformDatabaseChoice,\n PlatformDataServices,\n} from '~wildo-cli/services/data-services/data-services.schemas';\nimport { EnvironmentPaths } from '~wildo-cli/services/environment/environment-paths.service';\nimport { EnvironmentRegistry } from '~wildo-cli/services/environment/environment-registry.service';\nimport { PlatformRuntimeStateService } from '~wildo-cli/services/environment/platform-runtime-state.service';\n\nexport class EnvironmentLifecycle {\n\n // --------------------------------------------------------------------------\n // Initialization\n // --------------------------------------------------------------------------\n\n static initializeLocal(\n overrides?: Partial<PlatformEnvironmentConfiguration>,\n ): PlatformEnvironmentConfiguration {\n return EnvironmentLifecycle.initializeEnvironment(\n WildoLocationType.LOCAL,\n WildoLocationType.LOCAL,\n overrides,\n );\n }\n\n static initializeEnvironment(\n name: string,\n locationType: WildoLocationType,\n overrides?: Partial<PlatformEnvironmentConfiguration>,\n ): PlatformEnvironmentConfiguration {\n const validatedName = parsePlatformEnvironmentId(name);\n const existing = EnvironmentRegistry.get(validatedName);\n if (existing) return existing;\n\n const now = new Date().toISOString();\n const defaultDatabase = {\n engine: DatabaseEngine.MONGODB,\n source: BackingServiceSource.SELF,\n };\n const seededRuntime = overrides?.runtime ?? WildoDeploymentRuntime.DOCKER_COMPOSE;\n // `publicDomain` is required on `PlatformEnvironmentConfiguration`\n // (mirrors the schema-required `WildoInfraEnvConfig.publicDomain`).\n // For the local-init path the canonical write-time default depends\n // on the seeded runtime; remote callers MUST pass an explicit\n // `publicDomain` override (no remote default exists).\n const seededPublicDomain = overrides?.publicDomain\n ?? (locationType === WildoLocationType.LOCAL\n ? (seededRuntime === WildoDeploymentRuntime.KUBERNETES\n ? PUBLIC_DOMAIN_DEFAULTS.LOCAL_K8S\n : PUBLIC_DOMAIN_DEFAULTS.LOCAL_COMPOSE)\n : undefined);\n if (!seededPublicDomain) {\n throw new Error(\n `EnvironmentLifecycle.initializeEnvironment: '${validatedName}' (remote) must be initialized with an explicit publicDomain override.`,\n );\n }\n const env: PlatformEnvironmentConfiguration = {\n name: validatedName,\n locationType,\n runtime: seededRuntime,\n runtimeEnvironment: overrides?.runtimeEnvironment\n ?? (locationType === WildoLocationType.LOCAL ? RuntimeEnvironment.DEVELOPMENT : undefined),\n os: EnvironmentLifecycle.detectOS(),\n secretsPath: overrides?.secretsPath ?? EnvironmentPaths.resolveDefaultSecretsBase(),\n configPath: overrides?.configPath ?? EnvironmentPaths.resolveDefaultConfigBase(),\n infraPath: overrides?.infraPath ?? EnvironmentPaths.resolveDefaultInfraBase(),\n database: overrides?.database ?? defaultDatabase,\n publicDomain: seededPublicDomain,\n setupStatus: overrides?.setupStatus ?? SetupStatus.NOT_STARTED,\n createdAt: overrides?.createdAt ?? now,\n updatedAt: overrides?.updatedAt ?? now,\n ...overrides,\n };\n\n EnvironmentRegistry.insert(env);\n return env;\n }\n\n // --------------------------------------------------------------------------\n // Batch update (from full env config object)\n // --------------------------------------------------------------------------\n\n static updateEnvironmentState(env: PlatformEnvironmentConfiguration): void {\n EnvironmentRegistry.update(env.name, {\n runtime: env.runtime,\n runtimeEnvironment: env.runtimeEnvironment,\n secretsPath: env.secretsPath,\n configPath: env.configPath,\n infraPath: env.infraPath,\n database: env.database,\n publicDomain: env.publicDomain,\n /**\n * The edge SCHEME and its certificate travel WITH the domain — the three together are the\n * environment's public identity, and a record carrying one without the others describes a\n * host nobody is served on.\n *\n * Persisting them is defence in depth, not the primary mechanism: `config.json` remains the\n * on-disk source of truth and every generator reconciles against it through\n * `hydrateEnvironmentFromConfig`. But omitting them here made the registry actively\n * misleading rather than merely partial — a reader saw `publicDomain: 'localhost'` with no\n * scheme and could not tell \"http\" from \"never round-tripped\", which is exactly the reading\n * that produced an http topology for a TLS dev edge on 2026-08-13.\n */\n kubernetes: env.kubernetes,\n backingServices: env.backingServices,\n serviceAuth: env.serviceAuth,\n });\n }\n\n // --------------------------------------------------------------------------\n // Setup status\n // --------------------------------------------------------------------------\n\n static getSetupStatus(envName?: string): SetupStatus {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n return EnvironmentRegistry.get(name)?.setupStatus ?? SetupStatus.NOT_STARTED;\n }\n\n static setSetupStatus(status: SetupStatus, envName?: string): void {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n const updates: Partial<PlatformEnvironmentConfiguration> = { setupStatus: status };\n if (status === SetupStatus.COMPLETED) {\n updates.setupCompletedAt = new Date().toISOString();\n }\n EnvironmentRegistry.update(name, updates);\n }\n\n static isSetupCompleted(envName?: string): boolean {\n return EnvironmentLifecycle.getSetupStatus(envName) === SetupStatus.COMPLETED;\n }\n\n // --------------------------------------------------------------------------\n // Platform initialization (apps-manager INIT mode)\n // --------------------------------------------------------------------------\n\n static isPlatformInitialized(envName?: string): boolean {\n return PlatformRuntimeStateService.isPlatformInitialized(envName);\n }\n\n static markPlatformInitialized(envName?: string): void {\n PlatformRuntimeStateService.markPlatformInitialized(envName);\n }\n\n static clearPlatformInitialized(envName?: string): void {\n PlatformRuntimeStateService.clearPlatformInitialized(envName);\n }\n\n // --------------------------------------------------------------------------\n // Database helpers\n // --------------------------------------------------------------------------\n\n static getDatabaseChoice(envName?: string): PlatformDatabaseChoice {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n return EnvironmentRegistry.get(name)?.database ?? {\n engine: DatabaseEngine.MONGODB,\n source: BackingServiceSource.SELF,\n };\n }\n\n static getDatabaseEngine(envName?: string): DatabaseEngine {\n return EnvironmentLifecycle.getDatabaseChoice(envName).engine;\n }\n\n static setDatabaseChoice(database: PlatformDatabaseChoice, envName?: string): void {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n EnvironmentRegistry.update(name, { database });\n }\n\n /**\n * Should this environment self-deploy a MongoDB container?\n *\n * A UNION of the two ways an environment can ask for one — the exact mirror of\n * {@link needsLocalPostgreSQL}, and made a union for the mirror-image reason (Phase 5.1, D7):\n * once the PLATFORM engine moves to PostgreSQL, `engine === MONGODB` goes false — but a\n * transition environment still runs every Mongo-backed APPLICATION it always ran, and deleting\n * mongod from under them because the platform moved is the same inexpressibility defect the\n * PostgreSQL gate had, with the stores swapped. Dual-store environments are a first-class state.\n *\n * - platform half: the environment's own database engine is self-hosted MongoDB (unchanged\n * meaning — Atlas/MANAGED envs still get no local mongod);\n * - authored half: `backingServices.mongodb: { source: SELF }` in `wildo.infra.<env>.config.ts`,\n * which composes with ANY platform engine.\n *\n * Takes the env structurally (name + authored `backingServices` snapshot) for the same freshness\n * reason as the PostgreSQL predicate; name-only callers build the shape from the registry.\n */\n static needsLocalMongoDB(env: { name: string; backingServices?: BackingServicesEnvConfig }): boolean {\n const db = EnvironmentLifecycle.getDatabaseChoice(env.name);\n const platformEngineIsSelfHostedMongo = db.engine === DatabaseEngine.MONGODB && db.source === BackingServiceSource.SELF;\n const authorDeclaredSelfHostedMongo = env.backingServices?.[BackingServiceKind.MONGODB]?.source === BackingServiceSource.SELF;\n return platformEngineIsSelfHostedMongo || authorDeclaredSelfHostedMongo;\n }\n\n /**\n * Should this environment self-deploy a PostgreSQL container?\n *\n * ## Why this is not simply `getDatabaseEngine() === POSTGRESQL`\n *\n * `database.engine` is the PLATFORM's own database choice, and it is EXCLUSIVE with MongoDB by\n * construction: {@link needsLocalMongoDB}'s PLATFORM half is `engine === MONGODB && source === SELF`\n * (since Phase 5.1 it is a union with an authored `backingServices.mongodb` half — a transition\n * env keeps mongod for its Mongo-backed apps after the platform engine moves), so selecting\n * PostgreSQL there removes MongoDB from the rendered compose file entirely. That is correct for\n * what the field means — apps-manager stores `APPLICATION_ID` as a Mongo `_id`, so the platform\n * control plane IS Mongo-backed — but it left no way to express the configuration an application\n * on the PostgreSQL persistence adapter actually needs: **MongoDB for the platform, PostgreSQL for\n * the application's own resources.** Both containers, at once.\n *\n * Until this predicate existed, PostgreSQL was the ONE self-hosted service in the compose template\n * not gated on its own declaration. Every sibling reads `backingServices.<kind>.source === SELF`\n * (`resolveIncludeLocalClamAV`, `resolveIncludeLocalImmudb`, and MongoDB above). PostgreSQL read a\n * field that also subtracts a different service, which is why no environment could ever have one.\n *\n * So the rule is a UNION of the two ways an environment can ask for a local PostgreSQL:\n *\n * - the platform's own database engine is PostgreSQL and self-hosted — the pre-existing meaning,\n * preserved exactly;\n * - the env author declared `backingServices.postgresql: { source: SELF }` in\n * `wildo.infra.<env>.config.ts` — the additive meaning, which composes with any platform engine.\n *\n * `source === SELF` is required on BOTH halves. The engine half previously ignored `source`, so a\n * MANAGED PostgreSQL (an external RDS) would still have spawned a local container. Requiring SELF\n * matches {@link needsLocalMongoDB} and every sibling resolver; it is unreachable as a behaviour\n * change today because the only CLI path that writes `engine: POSTGRESQL` also writes\n * `source: SELF`.\n *\n * Takes the env STRUCTURALLY (name + the in-memory authored `backingServices` snapshot) rather\n * than a name alone, because the authored snapshot is what the compose generator and the K8s\n * catalog both hold and it can be fresher than the persisted registry entry — the same shape\n * `getDeployableInfraServicesForK8s` already accepts for exactly that reason.\n *\n * Single source of truth for the four sites that ask this question:\n * - `renderDockerComposeTemplate`'s `includePostgreSQL` context value;\n * - `getDockerComposeLocalDataServices` (whether `local_data/postgresql/` must be pre-created);\n * - `getDeployableInfraServicesForK8s` (Compose ⇄ K8s parity);\n * - `shouldProvisionPostgreSQL` in `env-vars-builder.service.ts` (whether env files carry the\n * PostgreSQL admin credentials — half of its union rule). That site used to keep the bare\n * engine predicate this JSDoc rejects, so the compose file rendered a postgres service whose\n * `POSTGRES_ADMIN_PASSWORD` was never emitted (2026-08-11: crash-looping container, failed\n * `wildo local dev`). A fifth site must reuse one of these, never re-derive.\n */\n static needsLocalPostgreSQL(env: { name: string; backingServices?: BackingServicesEnvConfig }): boolean {\n const db = EnvironmentLifecycle.getDatabaseChoice(env.name);\n const platformEngineIsSelfHostedPostgres =\n db.engine === DatabaseEngine.POSTGRESQL && db.source === BackingServiceSource.SELF;\n const authorDeclaredSelfHostedPostgres =\n env.backingServices?.[BackingServiceKind.POSTGRESQL]?.source === BackingServiceSource.SELF;\n return platformEngineIsSelfHostedPostgres || authorDeclaredSelfHostedPostgres;\n }\n\n // --------------------------------------------------------------------------\n // Runtime\n // --------------------------------------------------------------------------\n\n static getRuntime(envName?: string): WildoDeploymentRuntime {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n return EnvironmentRegistry.get(name)?.runtime ?? WildoDeploymentRuntime.DOCKER_COMPOSE;\n }\n\n // --------------------------------------------------------------------------\n // Infrastructure service resolution\n // --------------------------------------------------------------------------\n\n static getRequiredInfraServices(envName?: string): PlatformDataServices[] {\n const services: PlatformDataServices[] = [\n PlatformDataServices.VALKEY,\n PlatformDataServices.RABBITMQ,\n PlatformDataServices.MINIO,\n PlatformDataServices.MINIO_INIT,\n PlatformDataServices.GOTENBERG,\n ];\n\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n if (EnvironmentLifecycle.needsLocalMongoDB({ name, backingServices: EnvironmentRegistry.get(name)?.backingServices })) {\n services.unshift(PlatformDataServices.MONGODB, PlatformDataServices.MONGODB_INIT);\n }\n\n return services;\n }\n\n static getRequiredPlatformServices(): PlatformWildoServices[] {\n return [\n PlatformWildoServices.PLATFORM_INIT,\n PlatformWildoServices.APPS_MANAGER,\n PlatformWildoServices.CRONTABS_BATCHES_MANAGER,\n ];\n }\n\n // --------------------------------------------------------------------------\n // OS detection\n // --------------------------------------------------------------------------\n\n static detectOS(): PlatformEnvOperatingSystem {\n const platform = process.platform;\n if (platform === 'win32') return PlatformEnvOperatingSystem.WINDOWS;\n if (platform === 'darwin') return PlatformEnvOperatingSystem.MACOS;\n return PlatformEnvOperatingSystem.LINUX;\n }\n}\n"]}
|