@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 @@
|
|
|
1
|
+
{"version":3,"file":"docker-compose-generator.service.js","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/docker-compose-generator.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AAC/E,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAG7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,gBAAgB,EAAE,MAAM,2DAA2D,CAAC;AAC7F,OAAO,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAC;AACnG,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,EACjB,cAAc,EACd,iBAAiB,EACjB,+BAA+B,EAC/B,wCAAwC,EACxC,sBAAsB,GAIvB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,gCAAgC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,MAAM,QAAQ,GAAG,SAAS,CAAC,eAAe,CAAC,UAAU,CAAC,uBAAuB,EAAE,OAAO,CAAC,CAAC;IAExF,MAAM,UAAU,GAAG,gBAAgB,CAAC,uBAAuB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACtE,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,CAAC;QAC5B,SAAS,CAAC,UAAU,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAC7C,CAAC;IAED,aAAa,CAAC,IAAI,CAAC,UAAU,EAAE,UAAU,CAAC,6BAA6B,CAAC,EAAE,QAAQ,CAAC,CAAC;AACtF,CAAC","sourcesContent":["import { chmodSync, existsSync, mkdirSync, statSync, writeFileSync } from 'fs';\nimport { join, posix, relative } from 'path';\nimport type { PlatformEnvSecretsJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport { EnvironmentPaths } from '~wildo-cli/services/environment/environment-paths.service';\nimport { EnvironmentRegistry } from '~wildo-cli/services/environment/environment-registry.service';\nimport {\n BackingServiceKind,\n BackingServiceSource,\n INFRA_DEFAULT_PORTS,\n loadMinionConfigs,\n loadSaasConfig,\n loadWorkerConfigs,\n RUNTIME_MANDATORY_WRITABLE_PATH,\n PROVIDER_RUNTIME_GENERATED_ENV_FILE_NAME,\n resolveFrameworkLayout,\n type WildoMinionConfig,\n type WildoSaasConfig,\n type WildoWorkerConfig,\n} from '@wildo-ai/platform-config-lib';\nimport { buildMinionServiceName, buildWorkerServiceName } from '@wildo-ai/platform-core-shared';\nimport { FILE_NAMES, GENERATED_FILE_HEADER } from '~wildo-cli/infrastructure/io/io.schemas';\nimport { DEFAULT_DOCKER_COMPOSE_LOCAL_PROJECT_NAME, resolvePlatformImageRef } from '~wildo-cli/services/environment/platform-runtime.schemas';\nimport { readVersion } from '~wildo-cli/kernel/bootstrap';\nimport { ServiceAddressResolver, AddressPerspective } from '~wildo-cli/services/catalog/service-address-resolver.service';\nimport { PlatformEnvVarsBuilder } from '~wildo-cli/services/environment/env-vars-builder.service';\nimport { loadInfraHydratedConfig } from '~wildo-cli/services/environment/env-configuration-generator.service';\nimport { SecretsReader } from '~wildo-cli/services/credentials/secrets-reader.service';\nimport { IMMUDB_CREDENTIAL_ENV_KEYS, MONGOT_SYNC_SOURCE } from '~wildo-cli/services/data-services/data-services.schemas';\nimport { TemplateProcessor } from '~wildo-cli/infrastructure/io/template-processor';\n\n/**\n * Local-data subdir + filename for the immudb state-signing PRIVATE key materialized for the\n * self-hosted compose immudb container. Kept OUT of the `immudb/` data volume (which is the\n * store the key protects) so a data wipe never removes the signing key.\n */\nconst IMMUDB_SIGNING_KEY_DIR = 'immudb-signing';\nconst IMMUDB_SIGNING_KEY_FILENAME = 'state-signing.key';\n\n/**\n * Issue #74 — local-data subdir + filename for the `mongot` sync-source password file.\n *\n * Same shape and same reasoning as the immudb signing key above: kept OUT of both the\n * `mongodb/` and `mongot/` data directories so a data wipe never removes it, and mounted as a\n * FILE because mongot reads a path (`syncSource.replicaSet.scramAuth.passwordFile`) and never\n * an environment variable.\n *\n * The MODE differs from immudb's, and that difference is not cosmetic: immudb's key is written\n * `0644` because its container UID differs from the host owner, while mongot REFUSES to start on\n * anything more permissive than `0400` (`Secret file … permissions are too permissive (must only\n * be readable by owner)`, exit 1). mongot's image runs as root, so root reads the file whatever\n * the bind mount reports as its owner — measured 2026-08-27 with a host-owned `0400` file and a\n * `mongodb/mongodb-community-search:1.70.3` container that read it and reached `SERVING`.\n */\nconst MONGOT_PASSWORD_DIR = 'mongot-auth';\nconst MONGOT_PASSWORD_FILENAME = 'sync-source.password';\n\n/**\n * Slice 4.8 — ClamAV self-deploy gating.\n *\n * Returns `true` when the env author declared\n * `backingServices.clamav: { source: SELF }` in\n * `wildo.infra.<env>.config.ts` — i.e. they opted into the local\n * `clamav/clamav:1.4` container instead of pointing at an external\n * MANAGED clamd. Returns `false` for MANAGED / external sources or\n * when the entry is omitted entirely.\n *\n * Single source of truth consumed by:\n * - {@link renderDockerComposeTemplate}'s `includeLocalClamAV`\n * context value (drives the `{{#if includeLocalClamAV}}` block in\n * `docker-compose.wildo-platform.yml.hbs`).\n * - {@link getDockerComposeLocalDataServices} (decides whether\n * `local_data/clamav/` must be pre-created / wiped).\n * - K8s side: {@link getDeployableInfraServicesForK8s} delegates to\n * this same predicate so Compose ⇄ K8s parity is structural,\n * not duplicated.\n *\n * Reading from `env.backingServices` (in-memory authored snapshot)\n * instead of `loadConfigJson` keeps the resolver synchronous and\n * matches the pattern used by {@link resolveInfraHostPort} below.\n */\nfunction resolveIncludeLocalClamAV(env: PlatformEnvironmentConfiguration): boolean {\n return env.backingServices?.[BackingServiceKind.CLAMAV]?.source === BackingServiceSource.SELF;\n}\n\n/**\n * Audit Phase 2 — immudb self-deploy gating. Emits the local `immudb` container\n * (tamper-evident audit-log store) only when `backingServices.immudb.source ===\n * SELF`; a MANAGED immudb (Vault) is an external endpoint. Mirrors\n * {@link resolveIncludeLocalClamAV}.\n */\nfunction resolveIncludeLocalImmudb(env: PlatformEnvironmentConfiguration): boolean {\n return env.backingServices?.[BackingServiceKind.IMMUDB]?.source === BackingServiceSource.SELF;\n}\n\n/**\n * Slice 4 (4.3) — convenience wrapper that resolves saasRoot from the\n * registry and pre-creates every `local_data/<service>/` subdir the\n * compose file will bind-mount.\n *\n * Exists so every CLI seam that runs `docker compose up` against the\n * platform-local compose file shares the SAME pre-up step (single source\n * of truth — D5 decision). Call sites:\n * - `LocalUpCommand.runDockerCompose` / `restartDockerCompose`\n * - `LocalAppReinitService.startEnvironment`\n * - `dev/start.command.ts startDockerInfra`\n *\n * Throws when no SaaS root can be resolved — this keeps the failure\n * loud at the call site (matching how the generator itself throws above).\n */\n/**\n * Whether a host path the generated compose file BIND-MOUNTS is missing, so the render must be\n * redone before `docker compose up`.\n *\n * ## The hazard this closes\n *\n * Docker does not fail on a missing bind-mount SOURCE — it silently creates a DIRECTORY there. So a\n * file the container expects becomes a directory, and the failure surfaces inside the container as\n * something unrelated to mounting. immudb reports\n * `unable to configure the cryptographic signer: read /etc/immudb/state-signing.key: is a directory`\n * and exits unhealthy, which compose reports only as `container wildo-immudb is unhealthy`.\n *\n * Measured 2026-08-22 on the first cold start after a full `local_data` reset: the compose file\n * survived the reset while the key it mounts did not. The render is skipped when the compose file\n * already exists — the \"write only when missing\" test asks about the COMPOSE FILE, never about the\n * files compose MOUNTS — and the only other force condition is \"new secret material was minted\".\n * The key material was NOT new (it lives in the authored `secrets.json`, outside `local_data`), so\n * nothing forced a re-render and `wildo local dev` failed with infrastructure it could not start.\n *\n * The material always survives a data reset, so this is recoverable by construction: re-render, and\n * the key is written back from `secrets.json`.\n *\n * Returns false when immudb is not self-hosted here, or when no keypair is provisioned at all —\n * that second case is the documented graceful degradation (immudb runs UNSIGNED and the client warns\n * once), not something to force a render for.\n */\nexport function isComposeHostMountedArtifactMissing(\n env: PlatformEnvironmentConfiguration,\n localDataPath: string,\n): boolean {\n if (!resolveIncludeLocalImmudb(env)) return false;\n\n const secrets = SecretsReader.loadSecrets(env.name);\n if (!secrets?.immudb?.stateSigningPrivateKey) return false;\n\n const signingKeyPath = join(localDataPath, IMMUDB_SIGNING_KEY_DIR, IMMUDB_SIGNING_KEY_FILENAME);\n // A DIRECTORY at this path is the Docker-created stand-in, and is exactly as broken as absence —\n // re-rendering replaces it with the file.\n if (!existsSync(signingKeyPath)) return true;\n return !statSync(signingKeyPath).isFile();\n}\n\nexport function ensureLocalDataServiceDirsForComposeRender(\n env: PlatformEnvironmentConfiguration,\n): void {\n const saasRoot = EnvironmentRegistry.getSaasRoot();\n if (!saasRoot) {\n throw new Error(\n 'Cannot pre-create local_data subdirs: no targeted SaaS app root detected.',\n );\n }\n const services = getDockerComposeLocalDataServices(env);\n EnvironmentPaths.ensureLocalDataServiceDirs(saasRoot, services);\n}\n\n/**\n * Slice 4 (4.4) — wipe wrapper for `wildo local reset`.\n *\n * Counterpart of {@link ensureLocalDataServiceDirsForComposeRender}. Resolves\n * the SaaS root and the same per-env service list that compose actually\n * rendered, then calls {@link EnvironmentPaths.wipeLocalDataServiceDirs}\n * fail-closed — so a stale on-host PG datadir or Mongo journal cannot\n * silently survive a reset and corrupt the next `wildo local up`.\n *\n * Caller MUST invoke this AFTER `docker compose down -v` so no container\n * still holds the bind-mount target open.\n */\nexport function wipeLocalDataServiceDirsForCompose(\n env: PlatformEnvironmentConfiguration,\n): void {\n const saasRoot = EnvironmentRegistry.getSaasRoot();\n if (!saasRoot) {\n throw new Error(\n 'Cannot wipe local_data subdirs: no targeted SaaS app root detected.',\n );\n }\n const services = getDockerComposeLocalDataServices(env);\n EnvironmentPaths.wipeLocalDataServiceDirs(saasRoot, services);\n}\n\n/**\n * Slice 4 (4.3) — single source of truth for which infra services the\n * generated compose file actually renders for a given env.\n *\n * MUST stay in lockstep with the `{{#if include*}}` guards in\n * `docker-compose.wildo-platform.yml.hbs`. Returns the short container-name\n * list (the same tokens used as `local_data/<service>/` subdir names and\n * as the K8s PV `hostPath` `/mnt/local-data/<service>/` segment).\n *\n * Used by every CLI seam that runs `docker compose up` to pre-create the\n * matching `local_data/<service>/` bind-mount source directories before\n * Docker would otherwise create them root-owned. A divergence between this\n * list and the template's `{{#if}}` guards would silently create\n * permission-denied failures on first up — so callers MUST use this helper,\n * not a hand-written list.\n *\n * Stateless services (gotenberg) are intentionally excluded — they have no\n * bind mount in the template.\n */\nexport function getDockerComposeLocalDataServices(\n env: PlatformEnvironmentConfiguration,\n): readonly string[] {\n const config = EnvironmentUtils.loadConfigJson(env.name);\n const services: string[] = [];\n if (EnvironmentUtils.needsLocalMongoDB(env)) {\n services.push('mongodb');\n // Issue #74 — mongot's Lucene index directory. Same gate as mongod (it is an attachment to\n // one, not an independently sourced service), and STATEFUL: losing it costs a full re-read\n // of every indexed collection through the change stream, not just a restart.\n services.push('mongot');\n }\n services.push('valkey', 'rabbitmq', 'minio');\n if (EnvironmentUtils.needsLocalPostgreSQL(env)) {\n services.push('postgresql');\n }\n if (resolveIncludeLocalClamAV(env)) {\n services.push('clamav');\n }\n if (resolveIncludeLocalImmudb(env)) {\n services.push('immudb');\n }\n return services;\n}\n\n/**\n * MinIO console UI listens on 9001 alongside the API on 9000. The console\n * port is image-defined and not part of the author's `s3` surface — keep it\n * pinned so the generated compose file always exposes the admin UI for\n * local debugging.\n */\nconst MINIO_CONSOLE_PORT = 9001;\n\n/**\n * Resolve the host-side port to publish for an infra container.\n *\n * The container always listens on its image-default port (`internalPort`).\n * The author may override the host-side port to avoid conflicts with other\n * services on their machine; in that case the compose generator emits\n * `${authorPort}:${internalPort}` so that:\n * - tools on the host connect to `localhost:${authorPort}` (matches the\n * `HOST_FACING` perspective from `ServiceAddressResolver`)\n * - other compose containers connect to `${containerName}:${internalPort}`\n * (matches the `CONTAINER_INTERNAL` perspective)\n */\nfunction resolveInfraHostPort(\n env: PlatformEnvironmentConfiguration,\n kind: BackingServiceKind,\n internalPort: number,\n): number {\n const override = env.backingServices?.[kind];\n if (!override || override.source !== BackingServiceSource.SELF) {\n return internalPort;\n }\n return override.port ?? internalPort;\n}\n\n\n// ============================================================================\n// Generate .env.wildo-platform (Docker Compose env file)\n// ============================================================================\n\n/**\n * Encode one `.env.wildo-platform` value for its reader: **Docker Compose's own env-file parser**\n * (compose-go), which is NOT the `dotenv` package that reads the per-service `.env` files.\n *\n * ## The two readers differ on exactly one axis\n *\n * Both expand `\\n` / `\\r` inside double quotes and both accept a quoted value spanning physical\n * lines. They diverge on backslash escapes — verified 2026-08-05 with `docker compose config`, the\n * authoritative resolution step:\n *\n * | reader | `\\n` in `\"…\"` | `\\\"` in `\"…\"` |\n * |------------|---------------|----------------------|\n * | `dotenv` | expands | NOT unescaped (kept literal — the trap `encodeDotenvValue` documents) |\n * | compose-go | expands | unescapes |\n *\n * So compose-go is a FULLY unescaping reader, and the correct encoding here is the ordinary\n * escape-and-quote — the same contract `formatEnvFile` (ci-deploy-generator) already writes for the\n * compose lane. `encodeDotenvValue`'s form-SELECTION exists to dodge a lossiness that only affects\n * dotenv; do not reuse it here, and do not \"fix\" this to match it.\n *\n * ## Why not the previous verbatim-quote\n *\n * This helper used to emit `\"${value}\"` verbatim for multi-line values (reproducing the bytes the\n * old `quoteMultiline` produced). That is lossy the moment a value carries BOTH a newline and a\n * `\"`: the inner quote closes the string early and Compose rejects the whole file with\n * `unexpected character \"\\\"\" in variable name` (reproduced 2026-08-05). No value routed here does\n * that today — PEMs carry no quotes — but it is the same latent writer/reader mismatch that\n * produced this session's two live incidents, so it is closed rather than documented.\n *\n * Builders hand us RAW values by contract (see the value-contract note in\n * `env-vars-builder.service.ts`), so encoding happens exactly once, here.\n */\nexport function encodeComposeEnvValue(value: string): string {\n if (!/[\\s=#\"'\\\\]|\\n/.test(value) && value !== '') return value;\n return `\"${value.replace(/\\\\/g, '\\\\\\\\').replace(/\"/g, '\\\\\"').replace(/\\r/g, '\\\\r').replace(/\\n/g, '\\\\n')}\"`;\n}\n\nexport function generateEnvWildoPlatform(\n env: PlatformEnvironmentConfiguration,\n isFrameworkDeveloper: boolean,\n credentials: PlatformEnvSecretsJson,\n): void {\n // Single load+hydrate seam — the platform env this generator emits for a REMOTE compose deploy\n // must carry the infra posture (OTEL_*/LOG_LEVEL/provider-selection) the setup config.json omits.\n const config = loadInfraHydratedConfig(env);\n\n const composeDir = EnvironmentUtils.resolveDockerComposeDir(env.name);\n if (!existsSync(composeDir)) {\n mkdirSync(composeDir, { recursive: true });\n }\n\n const infraEnv = PlatformEnvVarsBuilder.buildInfraCredentialEnv(credentials, config, env);\n\n const lines: string[] = [\n GENERATED_FILE_HEADER,\n '',\n '# === Infra service credentials ===',\n ];\n\n for (const [key, value] of Object.entries(infraEnv)) {\n lines.push(`${key}=${encodeComposeEnvValue(value)}`);\n }\n\n if (!isFrameworkDeveloper) {\n const addressCtx = ServiceAddressResolver.fromEnvironment(env, AddressPerspective.CONTAINER_INTERNAL);\n const addresses = ServiceAddressResolver.resolve(addressCtx);\n const platformEnv = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(\n credentials, addresses, config, env,\n );\n\n lines.push('');\n lines.push('# === Platform service env vars ===');\n\n for (const [key, value] of Object.entries(platformEnv)) {\n if (!(key in infraEnv)) {\n lines.push(`${key}=${encodeComposeEnvValue(value)}`);\n }\n }\n }\n\n writeFileSync(join(composeDir, FILE_NAMES.ENV_WILDO_PLATFORM), lines.join('\\n') + '\\n');\n}\n\n// ============================================================================\n// Render Docker Compose template (Handlebars)\n// ============================================================================\n\n/**\n * Step 6 — compose entry shapes for the per-app minion / worker\n * services. Each service builds from the **wildo-ai monorepo root**\n * (Q1 (B) decision 2026-05-06) so the package's Dockerfile can resolve\n * file:-injected `@wildo-ai/*` engine deps + the nested Wonder Todos\n * workspace lockfile in one go (mirrors `examples/wonder-todos/frontend/Dockerfile`'s\n * established pattern). The Dockerfile path is therefore relative to\n * the framework root, not to the package itself.\n *\n * Env-files mount the Step 5b `.wildo-providers.env`; the platform's\n * `.env.wildo-platform` is loaded separately via `docker compose --env-file`\n * (see `docker.service.ts`) so we deliberately do NOT mount it again\n * via `env_file:` here.\n *\n * Both shapes are emitted under the compose `app-runtimes` profile so\n * `wildo local up` defaults to the platform-only flow and operators\n * opt-in to running app runtimes locally with\n * `docker compose --profile app-runtimes up` (or a future\n * `--include-app-runtimes` flag on `wildo local up`).\n */\nexport interface DockerComposeAppMinionEntry {\n /** Compose service name — `<saasSlug>-minion-<dnsName>` (bucket key RFC1123-normalized via `buildMinionServiceName`). */\n serviceName: string;\n /** Container name pinned for log-tailing convenience. */\n containerName: string;\n /** Absolute build context (the wildo-ai monorepo root). */\n buildContext: string;\n /** POSIX-relative Dockerfile path (from `buildContext` → the minion package's Dockerfile). */\n dockerfile: string;\n /** Per-package provider env-file path (Step 5b emission). */\n providerEnvFile: string;\n /** Bucket key from `wildo.saas.config.ts > minions`. */\n minionKey: string;\n /** Display name from the per-folder config. */\n displayName: string;\n /**\n * The owning app's apps-manager-minted `APPLICATION_ID` (a Mongo `_id`),\n * baked as a per-service literal so the minion boots with the correct\n * bootstrap identity. It is app-specific and NOT present in the app-agnostic\n * `.env.wildo-platform`, so a shell-interpolated `${APPLICATION_ID}` would\n * resolve empty and fail-close the container at boot. Resolved from the\n * persisted `application-runtime-identity.json`; falls back to the\n * `${APPLICATION_ID}` interpolation token only when the app has never been\n * bootstrapped in this env (see {@link renderDockerComposeTemplate}).\n */\n applicationId: string;\n /**\n * `user:` — `<uid>:<gid>` from the authored `isolation`, mirroring the k8s\n * pod `runAsUser`/`runAsGroup`.\n */\n runAsUser: string;\n /**\n * The SAME uid/gid as {@link runAsUser}, kept as separate numbers because each\n * `tmpfs:` entry must carry `uid=`/`gid=` options — docker mounts a tmpfs\n * root-owned 0755, so a non-root container cannot write it. Two fields rather\n * than parsing the combined string back apart in the template.\n */\n runAsUserId: number;\n runAsGroupId: number;\n /**\n * Every writable tmpfs path: the mandatory `/tmp` first, then authored\n * additions. Compose gets `tmpfs:` where k8s gets `emptyDir` volumes; the\n * pairing with `read_only: true` is identical and equally load-bearing (the\n * liveness heartbeat file lives under `/tmp`).\n */\n writablePaths: readonly string[];\n /** `pids_limit` — fork-bomb ceiling, mirroring the k8s value. */\n pidsLimit: number;\n}\n\nexport interface DockerComposeAppWorkerEntry {\n /** Compose service name — `<saasSlug>-worker-<dnsName>` (bucket key RFC1123-normalized via `buildWorkerServiceName`). */\n serviceName: string;\n /** Container name pinned for log-tailing convenience. */\n containerName: string;\n /** Absolute build context (the wildo-ai monorepo root). */\n buildContext: string;\n /** POSIX-relative Dockerfile path (from `buildContext` → the worker package's Dockerfile). */\n dockerfile: string;\n /** Per-package provider env-file path (Step 5b emission). */\n providerEnvFile: string;\n /** Bucket key from `wildo.saas.config.ts > workers`. */\n workerKey: string;\n /** Display name from the per-folder config. */\n displayName: string;\n /**\n * The owning app's apps-manager-minted `APPLICATION_ID` (a Mongo `_id`),\n * baked as a per-service literal so the worker boots with the correct\n * bootstrap identity. It is app-specific and NOT present in the app-agnostic\n * `.env.wildo-platform`, so a shell-interpolated `${APPLICATION_ID}` would\n * resolve empty and fail-close `readWorkerBootstrapEnv()` at boot. Resolved\n * from the persisted `application-runtime-identity.json`; falls back to the\n * `${APPLICATION_ID}` interpolation token only when the app has never been\n * bootstrapped in this env (see {@link renderDockerComposeTemplate}).\n */\n applicationId: string;\n /** HTTP port the worker listens on (also the host-side mapping). */\n httpPort: number;\n /** `/healthz` (or operator-overridden) — informational; no compose-side healthcheck is configured. */\n healthPath: string;\n /** `/readyz` (or operator-overridden) — informational; no compose-side readiness probe is configured. */\n readyPath: string;\n /** `user:` — `<uid>:<gid>`, mirroring the k8s pod `runAsUser`/`runAsGroup`. */\n runAsUser: string;\n /** Same values as {@link DockerComposeAppWorkerEntry.runAsUser}, as numbers for the `tmpfs:` `uid=`/`gid=` options. */\n runAsUserId: number;\n runAsGroupId: number;\n /** Writable tmpfs paths: the mandatory one first, then authored additions. */\n writablePaths: readonly string[];\n /** `pids_limit` — fork-bomb ceiling. */\n pidsLimit: number;\n}\n\n/**\n * The compose service + container name for a per-app minion/worker. Delegates to\n * the SHARED name builders so the compose service name is RFC1123-normalized and\n * byte-identical to the k8s Service name, the CI-built image ref, and the backend's\n * `WILDO_WORKER_<NAME>_URL` dispatch host (all derived from the same helper). A\n * camelCase bucket key (`marketingScrapper`) therefore resolves the same on the\n * compose network as in k8s (`{slug}-minion-marketing-scrapper`) — the backend\n * dispatch URL host would otherwise never resolve to the raw-key service name. The\n * RAW bucket key stays the runtime IDENTITY (`APP_OWNED_SERVICE_NAME`), carried\n * separately on the compose entry as `workerKey`/`minionKey`.\n */\nfunction deriveAppRuntimeServiceName(saasSlug: string, kind: 'minion' | 'worker', bucketKey: string): string {\n return kind === 'minion'\n ? buildMinionServiceName(saasSlug, bucketKey)\n : buildWorkerServiceName(saasSlug, bucketKey);\n}\n\nfunction deriveAppRuntimeContainerName(saasSlug: string, kind: 'minion' | 'worker', bucketKey: string): string {\n return deriveAppRuntimeServiceName(saasSlug, kind, bucketKey);\n}\n\n/**\n * Resolve the wildo-ai monorepo root from the framework path passed to\n * the renderer. Used as the compose `build.context` so each runtime-host\n * Dockerfile sees the full monorepo (file:-injected engine deps, nested\n * Wonder Todos workspace lockfile, etc.).\n */\nfunction resolveFrameworkRoot(frameworkPath: string): string {\n return resolveFrameworkLayout(frameworkPath).repositoryRoot;\n}\n\n/**\n * POSIX-relative path from the framework root to a package's Dockerfile.\n * Compose's `dockerfile:` field is interpreted relative to `build.context`\n * (the framework root for Step 6), so the path here must be relative\n * AND POSIX-style (Compose normalizes Windows paths but mixed-style is a\n * known footgun on macOS-host / Linux-container builds).\n */\nfunction relativeDockerfilePath(frameworkRoot: string, packageRoot: string): string {\n return posix.join(...relative(frameworkRoot, packageRoot).split(/[/\\\\]/), 'Dockerfile');\n}\n\n/**\n * Build the per-minion compose entries from the loaded saas + minion\n * configs. The provider env-file path is stable across runs (Step 5b\n * emits it on every `wildo config sync`); compose mounts it via\n * `env_file:` so the minion's process env contains the canonical\n * `WILDO_PROVIDER_*` keys at boot.\n */\nfunction buildAppMinionComposeEntries(input: {\n saasRoot: string;\n frameworkRoot: string;\n saasConfig: WildoSaasConfig;\n minionEntries: ReadonlyArray<{ key: string; absolutePath: string; config: WildoMinionConfig }>;\n /** Owning app's resolved `APPLICATION_ID` (or the `${APPLICATION_ID}` fallback) baked per service. */\n applicationId: string;\n}): DockerComposeAppMinionEntry[] {\n const { saasRoot, frameworkRoot, saasConfig, minionEntries, applicationId } = input;\n return minionEntries.map((entry) => {\n const ref = saasConfig.minions?.[entry.key];\n if (!ref) {\n // Defensive — `loadMinionConfigs` reads from this same bucket so\n // mismatch is impossible in practice. Fail loudly if invariants drift.\n throw new Error(\n `[docker-compose-generator] Minion '${entry.key}' loaded but not found in `\n + `wildo.saas.config.ts > minions. Re-run \\`wildo config sync\\`.`,\n );\n }\n const packageRoot = join(saasRoot, ref.path);\n const providerEnvFile = join(packageRoot, PROVIDER_RUNTIME_GENERATED_ENV_FILE_NAME);\n return {\n serviceName: deriveAppRuntimeServiceName(saasConfig.slug, 'minion', entry.key),\n containerName: deriveAppRuntimeContainerName(saasConfig.slug, 'minion', entry.key),\n buildContext: frameworkRoot,\n dockerfile: relativeDockerfilePath(frameworkRoot, packageRoot),\n providerEnvFile,\n minionKey: entry.key,\n displayName: entry.config.displayName,\n applicationId,\n runAsUser: `${entry.config.isolation.runAsUser}:${entry.config.isolation.runAsGroup}`,\n runAsUserId: entry.config.isolation.runAsUser,\n runAsGroupId: entry.config.isolation.runAsGroup,\n // Mandatory `/tmp` first, then authored additions — the same ordering and\n // the same reason as the k8s renderer. The schema rejects `/tmp` inside\n // `writablePaths`, so prepending cannot produce a duplicate.\n writablePaths: [RUNTIME_MANDATORY_WRITABLE_PATH, ...entry.config.isolation.writablePaths],\n pidsLimit: entry.config.isolation.pidsLimit,\n };\n });\n}\n\nfunction buildAppWorkerComposeEntries(input: {\n saasRoot: string;\n frameworkRoot: string;\n saasConfig: WildoSaasConfig;\n workerEntries: ReadonlyArray<{ key: string; absolutePath: string; config: WildoWorkerConfig }>;\n /** Owning app's resolved `APPLICATION_ID` (or the `${APPLICATION_ID}` fallback) baked per service. */\n applicationId: string;\n}): DockerComposeAppWorkerEntry[] {\n const { saasRoot, frameworkRoot, saasConfig, workerEntries, applicationId } = input;\n return workerEntries.map((entry) => {\n const ref = saasConfig.workers?.[entry.key];\n if (!ref) {\n throw new Error(\n `[docker-compose-generator] Worker '${entry.key}' loaded but not found in `\n + `wildo.saas.config.ts > workers. Re-run \\`wildo config sync\\`.`,\n );\n }\n const packageRoot = join(saasRoot, ref.path);\n const providerEnvFile = join(packageRoot, PROVIDER_RUNTIME_GENERATED_ENV_FILE_NAME);\n return {\n serviceName: deriveAppRuntimeServiceName(saasConfig.slug, 'worker', entry.key),\n containerName: deriveAppRuntimeContainerName(saasConfig.slug, 'worker', entry.key),\n buildContext: frameworkRoot,\n dockerfile: relativeDockerfilePath(frameworkRoot, packageRoot),\n providerEnvFile,\n workerKey: entry.key,\n displayName: entry.config.displayName,\n applicationId,\n runAsUser: `${entry.config.isolation.runAsUser}:${entry.config.isolation.runAsGroup}`,\n runAsUserId: entry.config.isolation.runAsUser,\n runAsGroupId: entry.config.isolation.runAsGroup,\n writablePaths: [RUNTIME_MANDATORY_WRITABLE_PATH, ...entry.config.isolation.writablePaths],\n pidsLimit: entry.config.isolation.pidsLimit,\n httpPort: entry.config.http.port,\n healthPath: entry.config.http.healthPath,\n readyPath: entry.config.http.readyPath,\n };\n });\n}\n\n/**\n * Docker Compose shell-interpolation token used as the `APPLICATION_ID` value\n * ONLY when no persisted identity is available yet — a cold\n * `config sync --domain manifest` / `wildo local up` self-heal before the app's\n * first credential fetch. Preserves the pre-fix behaviour (interpolated from\n * `.env.wildo-platform`, which resolves empty) and leaves the operator a manual\n * override escape hatch, rather than silently baking an empty literal. Normal\n * flows persist the real id before rendering, so this is the rare cold path.\n */\nconst APPLICATION_ID_COMPOSE_INTERPOLATION_FALLBACK = '${APPLICATION_ID}';\n\nexport async function renderDockerComposeTemplate(\n env: PlatformEnvironmentConfiguration,\n frameworkPath: string,\n isFrameworkDeveloper: boolean,\n imageTag?: string,\n): Promise<void> {\n const config = EnvironmentUtils.loadConfigJson(env.name);\n if (!config) throw new Error('config.json not found');\n\n const processor = new TemplateProcessor(\n resolveFrameworkLayout(frameworkPath).dockerComposeTemplatesHome,\n );\n\n // Slice 4 (4.2) — `localDataPath` template variable.\n //\n // Resolves to the absolute host path\n // `<saasRoot>/.wildo-saas/local_data` so each per-service bind mount in\n // the rendered compose file is unambiguous. We deliberately use ABSOLUTE\n // paths (D4 decision in the slice plan) instead of paths relative to the\n // generated compose file location:\n // - Relative paths would walk up several segments\n // (`../../../local_data/<svc>`) and break if the on-disk layout\n // between `.wildo-saas/infrastructure/environments/<env>/docker-compose/`\n // and `.wildo-saas/local_data/` ever changes.\n // - Absolute paths are independent of `cwd` and survive any future\n // reshuffling of the runtime layout.\n //\n // The CLI guarantees the per-service subdirs exist before\n // `docker compose up` via `EnvironmentPaths.ensureLocalDataServiceDirs()`\n // (Slice 4.3); Docker would otherwise create them as root-owned mount\n // points which container UIDs cannot write to.\n const saasRoot = EnvironmentRegistry.getSaasRoot();\n if (!saasRoot) {\n throw new Error(\n 'Cannot render docker-compose template: no targeted SaaS app root detected.',\n );\n }\n const localDataPath = EnvironmentPaths.resolveScopedLocalDataDir(saasRoot);\n\n // Step 6 — load per-app minion/worker configs so the compose template\n // can emit a service for each one under the `app-runtimes` profile.\n // The platform path stays unchanged when there are no minions/workers\n // declared (the template's `{{#if appMinions.length}}` / `{{#if appWorkers.length}}`\n // guards drop the sections entirely in that case). Framework-developer\n // mode skips the load to keep the platform-only flow side-effect-free.\n const saasConfigForRuntimes = isFrameworkDeveloper\n ? null\n : await loadSaasConfig(join(saasRoot, 'wildo.saas.config.ts'));\n const minionEntries = saasConfigForRuntimes\n ? await loadMinionConfigs(saasRoot, saasConfigForRuntimes)\n : [];\n const workerEntries = saasConfigForRuntimes\n ? await loadWorkerConfigs(saasRoot, saasConfigForRuntimes)\n : [];\n // Step 6 (Q1 (B)) — `build.context` for runtime-host services is the\n // wildo-ai monorepo root so each Dockerfile can resolve file:-injected\n // engine deps. The Dockerfile itself lives inside the package; its\n // path is computed relative to the framework root.\n const frameworkRoot = resolveFrameworkRoot(frameworkPath);\n\n // Resolve the owning app's apps-manager-minted APPLICATION_ID from the\n // persisted `application-runtime-identity.json` so each per-app minion/worker\n // service bakes the correct bootstrap-identity literal. Read OFFLINE (no\n // apps-manager round-trip) so even the `--domain manifest` re-render and the\n // `wildo local up` self-heal produce a runnable app-runtimes block; the\n // credential-fetching flows persist the value up front. Falls back to the\n // `${APPLICATION_ID}` interpolation token only for a cold app that has never\n // been bootstrapped in this env.\n const applicationId = saasConfigForRuntimes\n ? (EnvironmentUtils.loadApplicationRuntimeIdentity(env.name)?.[saasConfigForRuntimes.slug]?.applicationId\n ?? APPLICATION_ID_COMPOSE_INTERPOLATION_FALLBACK)\n : APPLICATION_ID_COMPOSE_INTERPOLATION_FALLBACK;\n\n const appMinions = saasConfigForRuntimes\n ? buildAppMinionComposeEntries({ saasRoot, frameworkRoot, saasConfig: saasConfigForRuntimes, minionEntries, applicationId })\n : [];\n const appWorkers = saasConfigForRuntimes\n ? buildAppWorkerComposeEntries({ saasRoot, frameworkRoot, saasConfig: saasConfigForRuntimes, workerEntries, applicationId })\n : [];\n\n // Slice 2 Phase 5b Wave 2 — local OTel collector inclusion + host port.\n // Emitted only when infra `observability.enabled` AND the authored OTLP\n // endpoint targets localhost (the endpoint IS this local collector; a remote\n // BetterStack endpoint gets no local collector). The host port is parsed from\n // the endpoint so the published `localhost:<port>` matches exactly what the\n // preload-instrumented backend + companion hosts target; defaults to the\n // OTLP/HTTP standard 4318 when the endpoint omits an explicit port.\n const OTEL_OTLP_HTTP_DEFAULT_PORT = '4318';\n const otelObservability = env.observability;\n let includeOtelCollector = false;\n let otelCollectorHostPort = OTEL_OTLP_HTTP_DEFAULT_PORT;\n if (otelObservability?.enabled) {\n let parsedEndpoint: URL | undefined;\n try {\n parsedEndpoint = new URL(otelObservability.endpoint);\n } catch {\n parsedEndpoint = undefined;\n }\n if (\n parsedEndpoint &&\n (parsedEndpoint.hostname === 'localhost' ||\n parsedEndpoint.hostname === '127.0.0.1')\n ) {\n includeOtelCollector = true;\n otelCollectorHostPort = parsedEndpoint.port || OTEL_OTLP_HTTP_DEFAULT_PORT;\n }\n }\n\n // Audit Phase 2 — materialize the immudb state-signing PRIVATE key so the self-hosted immudb\n // container can sign its `ImmutableState` (`--signingKey`), turning the whole-server-substitution\n // defense ON. Only when this env self-hosts immudb AND a keypair was provisioned\n // (`credentials.immudb`, minted from the `FRAMEWORK_MANAGED_SECRET_MATERIALS` registry at setup\n // and by the idempotent self-heal, so present for any file-backed env). The key is the SEC1 \"EC PRIVATE KEY\"\n // PEM immudb parses; written `0644` because the compose bind mount preserves host ownership and\n // immudb's container UID differs, so the file must be world-readable to load (proven in the\n // immudb integration test). SERVER-side ONLY — the private key never enters app env; the matching\n // PUBLIC key reaches the audit client via `IMMUDB_STATE_PUBLIC_KEY` (env-vars-builder). When no\n // keypair is provisioned the template's `{{#if immudbSigningKeyHostPath}}` block drops and immudb\n // runs UNSIGNED (client warns once) — graceful degradation.\n let immudbSigningKeyHostPath: string | undefined;\n // The built-in `immudb` admin's INITIAL password, sourced from the operator's `IMMUDB_PASSWORD`\n // provider secret so the server's admin login matches the credential the audit-sink provider\n // connects with. `IMMUDB_CREDENTIAL_ENV_KEYS`' own docstring states this copy as the contract\n // (\"its value is copied into the server's ADMIN_PASSWORD so the two always match (single source of\n // truth) — otherwise the server's admin login and the app's connection password would diverge (an\n // operator footgun)\"), and the K8S lane implements it (`k8s-secrets-generator` →\n // `immudb/deployment.yaml.hbs`). THIS lane did not: the compose service rendered no `environment:`\n // at all, so a self-hosted local immudb always initialized on immudb's PACKAGED DEFAULT admin\n // password while the app connected with the authored one — the exact divergence the contract names,\n // reachable only on the lane every developer runs. One contract, two deployment lanes, applied to\n // one (`.claude/rules/invariant-call-site-enumeration.md`).\n //\n // Read from the SAME `SecretsReader` load as the signing key. Undefined ⇒ the template's\n // `{{#if immudbAdminPassword}}` block drops and immudb keeps its packaged default, matching both\n // the previous compose behavior and the k8s lane's `optional: true` secretKeyRef.\n //\n // ⚠️ immudb only adopts this on a FRESH data dir — it is the INITIAL password, not a reset. An\n // existing `local_data/immudb` keeps whatever it was initialized with, so changing the authored\n // value on a provisioned env requires removing that directory (or rotating via `immuadmin`).\n let immudbAdminPassword: string | undefined;\n if (resolveIncludeLocalImmudb(env)) {\n const secrets = SecretsReader.loadSecrets(env.name);\n const signingPrivateKey = secrets?.immudb?.stateSigningPrivateKey;\n if (signingPrivateKey) {\n const signingKeyDir = join(localDataPath, IMMUDB_SIGNING_KEY_DIR);\n mkdirSync(signingKeyDir, { recursive: true });\n const signingKeyPath = join(signingKeyDir, IMMUDB_SIGNING_KEY_FILENAME);\n writeFileSync(signingKeyPath, signingPrivateKey, { mode: 0o644 });\n immudbSigningKeyHostPath = signingKeyPath;\n }\n immudbAdminPassword = secrets?.providerEnv?.[IMMUDB_CREDENTIAL_ENV_KEYS.PROVIDER.PASSWORD];\n }\n\n // Issue #74 — materialize the `mongot` sync-source password so BOTH containers that need it can\n // read the SAME bytes: `mongodb-init` creates the `searchCoordinator` user with it, and `mongot`\n // authenticates with it. Neither can be given the other's copy, and minting it per-container is\n // how the two silently diverge — so it comes from the single framework-managed material and is\n // written once here.\n //\n // `0400` because mongot enforces it (see MONGOT_PASSWORD_DIR). Written on every render, which is\n // deliberate: the compose file is skipped when it already exists, so a `local_data` reset that\n // removes this file while leaving the compose file behind is exactly the failure\n // `isComposeHostMountedArtifactMissing` was written for one service over — and here it would\n // surface as a mongot that cannot authenticate rather than as anything naming the missing file.\n //\n // `undefined` ⇒ the template's `{{#if mongotPasswordHostPath}}` guard drops the mongot service\n // entirely and mongod runs without a search sidecar. That is the honest degradation: a\n // half-wired mongot that mongod routes `$vectorSearch` to and that cannot answer is worse than\n // no mongot at all, because the application's boot probe tests REACHABILITY.\n let mongotPasswordHostPath: string | undefined;\n if (EnvironmentUtils.needsLocalMongoDB(env)) {\n const mongotPassword = SecretsReader.loadSecrets(env.name)?.mongot?.syncSourcePassword;\n if (mongotPassword) {\n const mongotAuthDir = join(localDataPath, MONGOT_PASSWORD_DIR);\n mkdirSync(mongotAuthDir, { recursive: true });\n const passwordPath = join(mongotAuthDir, MONGOT_PASSWORD_FILENAME);\n // A PREVIOUS render left this file at 0400 — owner READ-only — and `writeFileSync` opens for\n // WRITE, so a re-render EACCES's on the file it wrote itself. That made `wildo local init`\n // succeed exactly once per machine and fail on every subsequent run, which is the worst shape\n // for a first-run-only bug: the failure lands on someone whose environment already worked.\n // Widen just long enough to rewrite, then re-narrow. Unlinking instead would leave a window\n // with no file at all, which a running mongot re-reading its password would lose.\n if (existsSync(passwordPath)) {\n chmodSync(passwordPath, MONGOT_SYNC_SOURCE.PASSWORD_FILE_REWRITE_MODE);\n }\n writeFileSync(passwordPath, mongotPassword, { mode: MONGOT_SYNC_SOURCE.PASSWORD_FILE_MODE });\n // `writeFileSync`'s `mode` is only honored when it CREATES the file — an existing file keeps\n // whatever mode it already had, so re-render alone cannot repair a loosened one. chmod\n // unconditionally, or a file that was ever created differently keeps crashing mongot.\n chmodSync(passwordPath, MONGOT_SYNC_SOURCE.PASSWORD_FILE_MODE);\n mongotPasswordHostPath = passwordPath;\n }\n }\n\n const context = {\n composeName: DEFAULT_DOCKER_COMPOSE_LOCAL_PROJECT_NAME,\n /**\n * Slice 2 Phase 5b Wave 2 — local OTel collector. `includeOtelCollector`\n * gates both the service (under `services:`) and the inline `configs:`\n * entry that supplies its config (the contrib image is distroless — no\n * shell for an entrypoint heredoc). Ports default to OTLP/HTTP 4318.\n */\n includeOtelCollector,\n otelCollectorHostPort,\n otelCollectorInternalPort: OTEL_OTLP_HTTP_DEFAULT_PORT,\n includeLocalMongoDB: EnvironmentUtils.needsLocalMongoDB(env),\n /**\n * NOT `config.database.engine === POSTGRESQL` — see\n * {@link EnvironmentLifecycle.needsLocalPostgreSQL}. That field also SUBTRACTS MongoDB\n * (`needsLocalMongoDB`), so it could never express \"MongoDB for the platform, PostgreSQL for the\n * application's resources\", which is what an app on the PostgreSQL persistence adapter needs.\n */\n includePostgreSQL: EnvironmentUtils.needsLocalPostgreSQL(env),\n includeLocalClamAV: resolveIncludeLocalClamAV(env),\n includeLocalImmudb: resolveIncludeLocalImmudb(env),\n /**\n * Absolute host path of the materialized immudb state-signing PRIVATE key, or `undefined`\n * when immudb is not self-hosted / no keypair is provisioned. Gates the `--signingKey` block\n * (mount + `command`) in the compose immudb service so it signs its state.\n */\n immudbSigningKeyHostPath,\n /**\n * The self-hosted immudb server's INITIAL admin password, copied from the operator's\n * `providerEnv.IMMUDB_PASSWORD` so the server admin and the audit-sink client share one source of\n * truth. `undefined` ⇒ the template's `environment:` block drops and immudb keeps its packaged\n * default (matching the k8s lane's `optional: true` secretKeyRef).\n */\n immudbAdminPassword,\n /**\n * Issue #74 — absolute host path of the materialized mongot sync-source password file, or\n * `undefined` when this env self-hosts no mongod / carries no mongot material. Gates the whole\n * `mongot` service and the `mongodb-init` step that creates its user.\n */\n mongotPasswordHostPath,\n /** In-container mount point both mongot and mongodb-init read that file at. */\n mongotPasswordFilePath: MONGOT_SYNC_SOURCE.PASSWORD_FILE_PATH,\n /** The `searchCoordinator`-roled user mongot authenticates to mongod as. */\n mongotSyncSourceUsername: MONGOT_SYNC_SOURCE.USERNAME,\n mongotSyncSourceAuthSource: MONGOT_SYNC_SOURCE.AUTH_SOURCE,\n mongotConfigFilePath: MONGOT_SYNC_SOURCE.CONFIG_FILE_PATH,\n mongotDataPath: MONGOT_SYNC_SOURCE.DATA_PATH,\n includePlatformServices: !isFrameworkDeveloper,\n /** Step 6 — per-app minion + worker compose entries (under `app-runtimes` profile). */\n appMinions,\n appWorkers,\n /** Slug used to disambiguate compose service names across coexisting apps on the same host. */\n saasSlug: saasConfigForRuntimes?.slug ?? '',\n /**\n * Registry-qualified in app-creator mode, bare local name in framework-developer mode —\n * see `resolvePlatformImageRef` for why the two lanes differ and why the tag is the\n * framework version rather than `latest`.\n */\n platformImageRef: resolvePlatformImageRef({ isFrameworkDeveloper, frameworkVersion: readVersion(), imageTag }),\n localDataPath,\n /**\n * Host-side port mappings for self-deployed infra services. Each value\n * defaults to the image-internal port (which is what container-internal\n * traffic always uses); when the author overrides\n * `backingServices.<kind>.port` for a SELF source, that value drives the\n * host-side mapping so `localhost:${authorPort}` reaches the container.\n */\n infraHostPorts: {\n mongodb: resolveInfraHostPort(env, BackingServiceKind.MONGODB, INFRA_DEFAULT_PORTS.MONGODB),\n valkey: resolveInfraHostPort(env, BackingServiceKind.REDIS, INFRA_DEFAULT_PORTS.VALKEY),\n rabbitmq: resolveInfraHostPort(env, BackingServiceKind.RABBITMQ, INFRA_DEFAULT_PORTS.RABBITMQ),\n rabbitmqManagement: INFRA_DEFAULT_PORTS.RABBITMQ_MANAGEMENT,\n minio: resolveInfraHostPort(env, BackingServiceKind.S3, INFRA_DEFAULT_PORTS.MINIO),\n minioConsole: MINIO_CONSOLE_PORT,\n gotenberg: resolveInfraHostPort(env, BackingServiceKind.GOTENBERG, INFRA_DEFAULT_PORTS.GOTENBERG),\n postgresql: resolveInfraHostPort(env, BackingServiceKind.POSTGRESQL, INFRA_DEFAULT_PORTS.POSTGRESQL),\n clamav: resolveInfraHostPort(env, BackingServiceKind.CLAMAV, INFRA_DEFAULT_PORTS.CLAMAV),\n immudb: resolveInfraHostPort(env, BackingServiceKind.IMMUDB, INFRA_DEFAULT_PORTS.IMMUDB),\n },\n infraInternalPorts: {\n mongodb: INFRA_DEFAULT_PORTS.MONGODB,\n valkey: INFRA_DEFAULT_PORTS.VALKEY,\n rabbitmq: INFRA_DEFAULT_PORTS.RABBITMQ,\n rabbitmqManagement: INFRA_DEFAULT_PORTS.RABBITMQ_MANAGEMENT,\n minio: INFRA_DEFAULT_PORTS.MINIO,\n minioConsole: MINIO_CONSOLE_PORT,\n gotenberg: INFRA_DEFAULT_PORTS.GOTENBERG_INTERNAL,\n postgresql: INFRA_DEFAULT_PORTS.POSTGRESQL,\n clamav: INFRA_DEFAULT_PORTS.CLAMAV,\n immudb: INFRA_DEFAULT_PORTS.IMMUDB,\n // Issue #74 — mongot's three listeners. Present in `infraInternalPorts` and deliberately\n // ABSENT from `infraHostPorts`: nothing on the host is a mongot client (clients talk to\n // mongod, which routes to mongot over gRPC), so publishing them would widen the local\n // attack surface for no consumer.\n mongotGrpc: INFRA_DEFAULT_PORTS.MONGOT_GRPC,\n mongotHealth: INFRA_DEFAULT_PORTS.MONGOT_HEALTH,\n mongotMetrics: INFRA_DEFAULT_PORTS.MONGOT_METRICS,\n },\n };\n\n const rendered = processor.processTemplate(FILE_NAMES.DOCKER_COMPOSE_TEMPLATE, context);\n\n const composeDir = EnvironmentUtils.resolveDockerComposeDir(env.name);\n if (!existsSync(composeDir)) {\n mkdirSync(composeDir, { recursive: true });\n }\n\n writeFileSync(join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM), rendered);\n}\n"]}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Registered Docker Compose bootstrap and readiness lifecycle.
|
|
3
|
+
*
|
|
4
|
+
* Compose projects contain two different runtime contracts:
|
|
5
|
+
*
|
|
6
|
+
* - persistent services become usable by remaining running and healthy;
|
|
7
|
+
* - initializer services become usable by exiting exactly once with code 0.
|
|
8
|
+
*
|
|
9
|
+
* `docker compose up --wait` cannot represent both contracts at once: it
|
|
10
|
+
* treats a successfully exited initializer as a stopped service and fails the
|
|
11
|
+
* whole command. This service therefore starts the full graph, gates the
|
|
12
|
+
* registered one-shot initializers on successful completion, and only then
|
|
13
|
+
* applies Compose's health wait to the persistent service set.
|
|
14
|
+
*/
|
|
15
|
+
import type { Logger } from '../../../kernel/types';
|
|
16
|
+
import type { PlatformRuntimeContext } from './docker.schemas';
|
|
17
|
+
/**
|
|
18
|
+
* Minimum Docker Compose plugin version the generated local compose project
|
|
19
|
+
* requires. Every one of its service healthchecks declares `start_interval`,
|
|
20
|
+
* which Compose only ACCEPTS from v2.24 (Docker Desktop >= 25) — see the
|
|
21
|
+
* healthcheck cadence policy comment in
|
|
22
|
+
* `templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs`.
|
|
23
|
+
*
|
|
24
|
+
* An older plugin rejects the whole project with
|
|
25
|
+
* `services.valkey.healthcheck Additional property start_interval is not allowed`,
|
|
26
|
+
* and it does so LATE — after `wildo local dev` has already printed
|
|
27
|
+
* "Local infrastructure is not running. Starting it..." — which reads as an
|
|
28
|
+
* infrastructure fault rather than a toolchain one.
|
|
29
|
+
*
|
|
30
|
+
* This is the COMPOSE PLUGIN version, deliberately not the Docker Engine
|
|
31
|
+
* version: the plugin is what validates the compose schema, and the two are
|
|
32
|
+
* versioned independently.
|
|
33
|
+
*
|
|
34
|
+
* `platform/factory/scripts/install.sh` carries the same minimum as
|
|
35
|
+
* `MIN_DOCKER_COMPOSE_VERSION` because a POSIX shell installer cannot import a
|
|
36
|
+
* TypeScript constant. The two are pinned together by
|
|
37
|
+
* `__tests__/local-precondition-checks.service.test.ts`, so a bump here that
|
|
38
|
+
* forgets the installer fails CI rather than silently diverging.
|
|
39
|
+
*/
|
|
40
|
+
export declare const MINIMUM_DOCKER_COMPOSE_VERSION = "2.24";
|
|
41
|
+
export declare class DockerComposeReadinessService {
|
|
42
|
+
static startAndWait(infraCtx: PlatformRuntimeContext, log: Logger, timeoutSeconds?: number): Promise<void>;
|
|
43
|
+
private static waitForOneShotService;
|
|
44
|
+
private static parseServiceStatus;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Parse a Compose version string into a comparable `major.minor.patch` triple.
|
|
48
|
+
*
|
|
49
|
+
* Accepts every shape the plugin actually emits — `2.24.1`, `v2.39.4`,
|
|
50
|
+
* `2.2` (no patch), `2.24.0-desktop.1` (a pre-release/build suffix on the
|
|
51
|
+
* patch, which Docker Desktop ships). Returns `null` for anything without a
|
|
52
|
+
* leading numeric major, so an unrecognised string degrades to "unknown"
|
|
53
|
+
* rather than being silently read as `0.0.0` (which would fail EVERY host).
|
|
54
|
+
*
|
|
55
|
+
* A thin Compose-named alias over the shared comparator in
|
|
56
|
+
* `../version-compare.utils` — the arithmetic is identical for every toolchain
|
|
57
|
+
* gate, and keeping one copy is what stops a later gate re-deriving it as a
|
|
58
|
+
* string compare.
|
|
59
|
+
*/
|
|
60
|
+
export declare function parseComposeVersionTriple(raw: string): [number, number, number] | null;
|
|
61
|
+
/**
|
|
62
|
+
* `current >= minimum`, comparing numerically component by component.
|
|
63
|
+
*
|
|
64
|
+
* Deliberately NOT a lexicographic string compare: `'2.9' >= '2.24'` is true
|
|
65
|
+
* as strings and false as versions, and 2.9 is exactly the vintage this gate
|
|
66
|
+
* exists to reject. Returns `false` when either side is unparseable — an
|
|
67
|
+
* unknown version cannot be evidence that the requirement is met.
|
|
68
|
+
*/
|
|
69
|
+
export declare function isComposeVersionAtLeast(current: string, minimum: string): boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Extract the plugin version from `docker compose version` output.
|
|
72
|
+
*
|
|
73
|
+
* `--short` is the stable machine-readable field and is tried first by
|
|
74
|
+
* `detectDockerComposeVersion`; `longOutput` is the human line
|
|
75
|
+
* (`Docker Compose version v2.39.4`) kept as a fallback for very old plugins
|
|
76
|
+
* that predate `--short`. Pure so the parsing is testable without a daemon.
|
|
77
|
+
*/
|
|
78
|
+
export declare function parseDockerComposeVersionOutput(shortOutput: string | null, longOutput?: string | null): string | null;
|
|
79
|
+
/**
|
|
80
|
+
* Probe the installed Compose plugin version. Returns `null` when the plugin
|
|
81
|
+
* is absent or its output is unrecognisable — callers must treat that as
|
|
82
|
+
* "unknown", never as "old enough" or "too old".
|
|
83
|
+
*
|
|
84
|
+
* Does NOT require a running daemon: `docker compose version` is answered by
|
|
85
|
+
* the CLI plugin itself, which is why the gate can still report accurately on
|
|
86
|
+
* a host where Docker Desktop has not been launched.
|
|
87
|
+
*/
|
|
88
|
+
export declare function detectDockerComposeVersion(run?: (command: string) => string): string | null;
|
|
89
|
+
//# sourceMappingURL=docker-compose-readiness.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"docker-compose-readiness.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/docker-compose-readiness.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAGtD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAI/D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,8BAA8B,SAAS,CAAC;AAerD,qBAAa,6BAA6B;WAC3B,YAAY,CACvB,QAAQ,EAAE,sBAAsB,EAChC,GAAG,EAAE,MAAM,EACX,cAAc,SAAM,GACnB,OAAO,CAAC,IAAI,CAAC;mBAkEK,qBAAqB;IA+B1C,OAAO,CAAC,MAAM,CAAC,kBAAkB;CAmBlC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAEtF;AAED;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAEjF;AAED;;;;;;;GAOG;AACH,wBAAgB,+BAA+B,CAC7C,WAAW,EAAE,MAAM,GAAG,IAAI,EAC1B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GACzB,MAAM,GAAG,IAAI,CAOf;AAED;;;;;;;;GAQG;AACH,wBAAgB,0BAA0B,CACxC,GAAG,GAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MAA6E,GACtG,MAAM,GAAG,IAAI,CAgBf"}
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Registered Docker Compose bootstrap and readiness lifecycle.
|
|
3
|
+
*
|
|
4
|
+
* Compose projects contain two different runtime contracts:
|
|
5
|
+
*
|
|
6
|
+
* - persistent services become usable by remaining running and healthy;
|
|
7
|
+
* - initializer services become usable by exiting exactly once with code 0.
|
|
8
|
+
*
|
|
9
|
+
* `docker compose up --wait` cannot represent both contracts at once: it
|
|
10
|
+
* treats a successfully exited initializer as a stopped service and fails the
|
|
11
|
+
* whole command. This service therefore starts the full graph, gates the
|
|
12
|
+
* registered one-shot initializers on successful completion, and only then
|
|
13
|
+
* applies Compose's health wait to the persistent service set.
|
|
14
|
+
*/
|
|
15
|
+
import { execSync } from 'child_process';
|
|
16
|
+
import { PlatformDataServices } from '../../../services/data-services/data-services.schemas.js';
|
|
17
|
+
import { isVersionAtLeast, parseVersionTriple } from '../../../services/deployment/version-compare.utils.js';
|
|
18
|
+
import { DockerUtils } from './docker.service.js';
|
|
19
|
+
import { buildLocalComposeConvergeArgs } from '../../../services/environment/platform-runtime.schemas.js';
|
|
20
|
+
/**
|
|
21
|
+
* Minimum Docker Compose plugin version the generated local compose project
|
|
22
|
+
* requires. Every one of its service healthchecks declares `start_interval`,
|
|
23
|
+
* which Compose only ACCEPTS from v2.24 (Docker Desktop >= 25) — see the
|
|
24
|
+
* healthcheck cadence policy comment in
|
|
25
|
+
* `templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs`.
|
|
26
|
+
*
|
|
27
|
+
* An older plugin rejects the whole project with
|
|
28
|
+
* `services.valkey.healthcheck Additional property start_interval is not allowed`,
|
|
29
|
+
* and it does so LATE — after `wildo local dev` has already printed
|
|
30
|
+
* "Local infrastructure is not running. Starting it..." — which reads as an
|
|
31
|
+
* infrastructure fault rather than a toolchain one.
|
|
32
|
+
*
|
|
33
|
+
* This is the COMPOSE PLUGIN version, deliberately not the Docker Engine
|
|
34
|
+
* version: the plugin is what validates the compose schema, and the two are
|
|
35
|
+
* versioned independently.
|
|
36
|
+
*
|
|
37
|
+
* `platform/factory/scripts/install.sh` carries the same minimum as
|
|
38
|
+
* `MIN_DOCKER_COMPOSE_VERSION` because a POSIX shell installer cannot import a
|
|
39
|
+
* TypeScript constant. The two are pinned together by
|
|
40
|
+
* `__tests__/local-precondition-checks.service.test.ts`, so a bump here that
|
|
41
|
+
* forgets the installer fails CI rather than silently diverging.
|
|
42
|
+
*/
|
|
43
|
+
export const MINIMUM_DOCKER_COMPOSE_VERSION = '2.24';
|
|
44
|
+
const REGISTERED_ONE_SHOT_SERVICES = [
|
|
45
|
+
PlatformDataServices.MONGODB_INIT,
|
|
46
|
+
PlatformDataServices.MINIO_INIT,
|
|
47
|
+
];
|
|
48
|
+
const ONE_SHOT_POLL_INTERVAL_MS = 500;
|
|
49
|
+
export class DockerComposeReadinessService {
|
|
50
|
+
static async startAndWait(infraCtx, log, timeoutSeconds = 120) {
|
|
51
|
+
const renderedServices = DockerUtils.runDockerCompose(infraCtx, ['config', '--services'])
|
|
52
|
+
.split('\n')
|
|
53
|
+
.map((service) => service.trim())
|
|
54
|
+
.filter((service) => service.length > 0);
|
|
55
|
+
if (renderedServices.length === 0) {
|
|
56
|
+
throw new Error('The generated Docker Compose project contains no services.');
|
|
57
|
+
}
|
|
58
|
+
const oneShotServices = REGISTERED_ONE_SHOT_SERVICES.filter((service) => renderedServices.includes(service));
|
|
59
|
+
const persistentServices = renderedServices.filter((service) => !oneShotServices.includes(service));
|
|
60
|
+
if (persistentServices.length === 0) {
|
|
61
|
+
throw new Error('The generated Docker Compose project contains no persistent services.');
|
|
62
|
+
}
|
|
63
|
+
// `--remove-orphans` for the same reason `local down` passes it, and it is
|
|
64
|
+
// needed MORE here: every application renders its compose under the SAME
|
|
65
|
+
// project name (`wildo-local`) while bind-mounting its OWN `local_data/`, so
|
|
66
|
+
// a converge that only touches the services THIS app declares leaves the
|
|
67
|
+
// previous app's extra services running against the previous app's data
|
|
68
|
+
// dirs. That produces a stack whose halves disagree — measured 2026-09-03:
|
|
69
|
+
// `wildo-mongodb`/`wildo-mongot` still serving wonder-todos' data dirs while
|
|
70
|
+
// postgres/rabbit/valkey/minio had been recreated on wonder-crm's, because
|
|
71
|
+
// wonder-crm is PostgreSQL-only and declares no mongodb service to recreate.
|
|
72
|
+
// The visible cost was 18 cron jobs pointing at a vhost that existed only in
|
|
73
|
+
// the other app's broker state. Orphan reaping is what keeps one converge
|
|
74
|
+
// from producing a half-migrated stack.
|
|
75
|
+
//
|
|
76
|
+
// Safe against the shared-platform attach case: `local dev` skips
|
|
77
|
+
// convergence entirely when another session owns the platform (issue #50),
|
|
78
|
+
// so this line is only reached by a session that is converging anyway.
|
|
79
|
+
DockerUtils.runDockerCompose(infraCtx, buildLocalComposeConvergeArgs(), { inherit: true });
|
|
80
|
+
for (const service of oneShotServices) {
|
|
81
|
+
log.info(` Waiting for ${service} initializer completion...`);
|
|
82
|
+
await DockerComposeReadinessService.waitForOneShotService(infraCtx, service, timeoutSeconds * 1_000);
|
|
83
|
+
log.info(` ${service} initializer completed.`);
|
|
84
|
+
}
|
|
85
|
+
// Orphan reaping is a no-op the second time (the converge above already did
|
|
86
|
+
// it), but this goes through the same builder so the package holds exactly
|
|
87
|
+
// one place that spells a compose convergence.
|
|
88
|
+
DockerUtils.runDockerCompose(infraCtx, buildLocalComposeConvergeArgs('--wait', '--wait-timeout', String(timeoutSeconds), ...persistentServices), { inherit: true });
|
|
89
|
+
}
|
|
90
|
+
static async waitForOneShotService(infraCtx, service, timeoutMs) {
|
|
91
|
+
const startedAt = Date.now();
|
|
92
|
+
while (Date.now() - startedAt < timeoutMs) {
|
|
93
|
+
const output = DockerUtils.runDockerCompose(infraCtx, ['ps', '-a', '--format', 'json', service]);
|
|
94
|
+
const status = DockerComposeReadinessService.parseServiceStatus(output, service);
|
|
95
|
+
if (status?.State === 'exited') {
|
|
96
|
+
if (status.ExitCode === 0) {
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
throw new Error(`${service} initializer exited with code ${status.ExitCode ?? 'unknown'}. `
|
|
100
|
+
+ `Inspect it with 'docker compose logs ${service}'.`);
|
|
101
|
+
}
|
|
102
|
+
await new Promise((resolve) => setTimeout(resolve, ONE_SHOT_POLL_INTERVAL_MS));
|
|
103
|
+
}
|
|
104
|
+
throw new Error(`${service} initializer did not complete within ${Math.ceil(timeoutMs / 1_000)}s. `
|
|
105
|
+
+ `Inspect it with 'docker compose ps -a ${service}' and 'docker compose logs ${service}'.`);
|
|
106
|
+
}
|
|
107
|
+
static parseServiceStatus(output, service) {
|
|
108
|
+
for (const line of output.split('\n')) {
|
|
109
|
+
const trimmed = line.trim();
|
|
110
|
+
if (!trimmed)
|
|
111
|
+
continue;
|
|
112
|
+
let status;
|
|
113
|
+
try {
|
|
114
|
+
status = JSON.parse(trimmed);
|
|
115
|
+
}
|
|
116
|
+
catch {
|
|
117
|
+
throw new Error(`Docker Compose returned invalid status JSON for ${service}.`);
|
|
118
|
+
}
|
|
119
|
+
if (!status.Service || status.Service === service) {
|
|
120
|
+
return status;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
return null;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Parse a Compose version string into a comparable `major.minor.patch` triple.
|
|
128
|
+
*
|
|
129
|
+
* Accepts every shape the plugin actually emits — `2.24.1`, `v2.39.4`,
|
|
130
|
+
* `2.2` (no patch), `2.24.0-desktop.1` (a pre-release/build suffix on the
|
|
131
|
+
* patch, which Docker Desktop ships). Returns `null` for anything without a
|
|
132
|
+
* leading numeric major, so an unrecognised string degrades to "unknown"
|
|
133
|
+
* rather than being silently read as `0.0.0` (which would fail EVERY host).
|
|
134
|
+
*
|
|
135
|
+
* A thin Compose-named alias over the shared comparator in
|
|
136
|
+
* `../version-compare.utils` — the arithmetic is identical for every toolchain
|
|
137
|
+
* gate, and keeping one copy is what stops a later gate re-deriving it as a
|
|
138
|
+
* string compare.
|
|
139
|
+
*/
|
|
140
|
+
export function parseComposeVersionTriple(raw) {
|
|
141
|
+
return parseVersionTriple(raw);
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* `current >= minimum`, comparing numerically component by component.
|
|
145
|
+
*
|
|
146
|
+
* Deliberately NOT a lexicographic string compare: `'2.9' >= '2.24'` is true
|
|
147
|
+
* as strings and false as versions, and 2.9 is exactly the vintage this gate
|
|
148
|
+
* exists to reject. Returns `false` when either side is unparseable — an
|
|
149
|
+
* unknown version cannot be evidence that the requirement is met.
|
|
150
|
+
*/
|
|
151
|
+
export function isComposeVersionAtLeast(current, minimum) {
|
|
152
|
+
return isVersionAtLeast(current, minimum);
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Extract the plugin version from `docker compose version` output.
|
|
156
|
+
*
|
|
157
|
+
* `--short` is the stable machine-readable field and is tried first by
|
|
158
|
+
* `detectDockerComposeVersion`; `longOutput` is the human line
|
|
159
|
+
* (`Docker Compose version v2.39.4`) kept as a fallback for very old plugins
|
|
160
|
+
* that predate `--short`. Pure so the parsing is testable without a daemon.
|
|
161
|
+
*/
|
|
162
|
+
export function parseDockerComposeVersionOutput(shortOutput, longOutput) {
|
|
163
|
+
const short = shortOutput?.trim().replace(/^v/i, '') ?? '';
|
|
164
|
+
if (short.length > 0 && parseComposeVersionTriple(short)) {
|
|
165
|
+
return short;
|
|
166
|
+
}
|
|
167
|
+
const long = longOutput?.match(/[Vv]ersion\s+v?(\d[\d.]*)/);
|
|
168
|
+
return long ? long[1] : null;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Probe the installed Compose plugin version. Returns `null` when the plugin
|
|
172
|
+
* is absent or its output is unrecognisable — callers must treat that as
|
|
173
|
+
* "unknown", never as "old enough" or "too old".
|
|
174
|
+
*
|
|
175
|
+
* Does NOT require a running daemon: `docker compose version` is answered by
|
|
176
|
+
* the CLI plugin itself, which is why the gate can still report accurately on
|
|
177
|
+
* a host where Docker Desktop has not been launched.
|
|
178
|
+
*/
|
|
179
|
+
export function detectDockerComposeVersion(run = (command) => execSync(command, { encoding: 'utf-8', stdio: 'pipe' })) {
|
|
180
|
+
let shortOutput = null;
|
|
181
|
+
try {
|
|
182
|
+
shortOutput = run('docker compose version --short');
|
|
183
|
+
}
|
|
184
|
+
catch {
|
|
185
|
+
shortOutput = null;
|
|
186
|
+
}
|
|
187
|
+
let longOutput = null;
|
|
188
|
+
if (!shortOutput || !parseComposeVersionTriple(shortOutput.trim().replace(/^v/i, ''))) {
|
|
189
|
+
try {
|
|
190
|
+
longOutput = run('docker compose version');
|
|
191
|
+
}
|
|
192
|
+
catch {
|
|
193
|
+
longOutput = null;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
return parseDockerComposeVersionOutput(shortOutput, longOutput);
|
|
197
|
+
}
|
|
198
|
+
//# sourceMappingURL=docker-compose-readiness.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"docker-compose-readiness.service.js","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/docker-compose-readiness.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,yDAAyD,CAAC;AAC/F,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,sDAAsD,CAAC;AAE5G,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,6BAA6B,EAAE,MAAM,0DAA0D,CAAC;AAEzG;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,MAAM,CAAC;AAErD,MAAM,4BAA4B,GAAG;IACnC,oBAAoB,CAAC,YAAY;IACjC,oBAAoB,CAAC,UAAU;CACvB,CAAC;AAEX,MAAM,yBAAyB,GAAG,GAAG,CAAC;AAQtC,MAAM,OAAO,6BAA6B;IACxC,MAAM,CAAC,KAAK,CAAC,YAAY,CACvB,QAAgC,EAChC,GAAW,EACX,cAAc,GAAG,GAAG;QAEpB,MAAM,gBAAgB,GAAG,WAAW,CAAC,gBAAgB,CACnD,QAAQ,EACR,CAAC,QAAQ,EAAE,YAAY,CAAC,CACzB;aACE,KAAK,CAAC,IAAI,CAAC;aACX,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;aAChC,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAE3C,IAAI,gBAAgB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAClC,MAAM,IAAI,KAAK,CAAC,4DAA4D,CAAC,CAAC;QAChF,CAAC;QAED,MAAM,eAAe,GAAG,4BAA4B,CAAC,MAAM,CACzD,CAAC,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,EAAE,CAAC;IAEvG,IAAI,WAAW,GAAkB,IAAI,CAAC;IACtC,IAAI,CAAC;QACH,WAAW,GAAG,GAAG,CAAC,gCAAgC,CAAC,CAAC;IACtD,CAAC;IAAC,MAAM,CAAC;QACP,WAAW,GAAG,IAAI,CAAC;IACrB,CAAC;IACD,IAAI,UAAU,GAAkB,IAAI,CAAC;IACrC,IAAI,CAAC,WAAW,IAAI,CAAC,yBAAyB,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC;QACtF,IAAI,CAAC;YACH,UAAU,GAAG,GAAG,CAAC,wBAAwB,CAAC,CAAC;QAC7C,CAAC;QAAC,MAAM,CAAC;YACP,UAAU,GAAG,IAAI,CAAC;QACpB,CAAC;IACH,CAAC;IACD,OAAO,+BAA+B,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;AAClE,CAAC","sourcesContent":["/**\n * Registered Docker Compose bootstrap and readiness lifecycle.\n *\n * Compose projects contain two different runtime contracts:\n *\n * - persistent services become usable by remaining running and healthy;\n * - initializer services become usable by exiting exactly once with code 0.\n *\n * `docker compose up --wait` cannot represent both contracts at once: it\n * treats a successfully exited initializer as a stopped service and fails the\n * whole command. This service therefore starts the full graph, gates the\n * registered one-shot initializers on successful completion, and only then\n * applies Compose's health wait to the persistent service set.\n */\n\nimport { execSync } from 'child_process';\nimport type { Logger } from '~wildo-cli/kernel/types';\nimport { PlatformDataServices } from '~wildo-cli/services/data-services/data-services.schemas';\nimport { isVersionAtLeast, parseVersionTriple } from '~wildo-cli/services/deployment/version-compare.utils';\nimport type { PlatformRuntimeContext } from './docker.schemas';\nimport { DockerUtils } from './docker.service';\nimport { buildLocalComposeConvergeArgs } from '~wildo-cli/services/environment/platform-runtime.schemas';\n\n/**\n * Minimum Docker Compose plugin version the generated local compose project\n * requires. Every one of its service healthchecks declares `start_interval`,\n * which Compose only ACCEPTS from v2.24 (Docker Desktop >= 25) — see the\n * healthcheck cadence policy comment in\n * `templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs`.\n *\n * An older plugin rejects the whole project with\n * `services.valkey.healthcheck Additional property start_interval is not allowed`,\n * and it does so LATE — after `wildo local dev` has already printed\n * \"Local infrastructure is not running. Starting it...\" — which reads as an\n * infrastructure fault rather than a toolchain one.\n *\n * This is the COMPOSE PLUGIN version, deliberately not the Docker Engine\n * version: the plugin is what validates the compose schema, and the two are\n * versioned independently.\n *\n * `platform/factory/scripts/install.sh` carries the same minimum as\n * `MIN_DOCKER_COMPOSE_VERSION` because a POSIX shell installer cannot import a\n * TypeScript constant. The two are pinned together by\n * `__tests__/local-precondition-checks.service.test.ts`, so a bump here that\n * forgets the installer fails CI rather than silently diverging.\n */\nexport const MINIMUM_DOCKER_COMPOSE_VERSION = '2.24';\n\nconst REGISTERED_ONE_SHOT_SERVICES = [\n PlatformDataServices.MONGODB_INIT,\n PlatformDataServices.MINIO_INIT,\n] as const;\n\nconst ONE_SHOT_POLL_INTERVAL_MS = 500;\n\ninterface ComposeProcessStatus {\n Service?: string;\n State?: string;\n ExitCode?: number;\n}\n\nexport class DockerComposeReadinessService {\n static async startAndWait(\n infraCtx: PlatformRuntimeContext,\n log: Logger,\n timeoutSeconds = 120,\n ): Promise<void> {\n const renderedServices = DockerUtils.runDockerCompose(\n infraCtx,\n ['config', '--services'],\n )\n .split('\\n')\n .map((service) => service.trim())\n .filter((service) => service.length > 0);\n\n if (renderedServices.length === 0) {\n throw new Error('The generated Docker Compose project contains no services.');\n }\n\n const oneShotServices = REGISTERED_ONE_SHOT_SERVICES.filter(\n (service) => renderedServices.includes(service),\n );\n const persistentServices = renderedServices.filter(\n (service) => !oneShotServices.includes(service as typeof oneShotServices[number]),\n );\n if (persistentServices.length === 0) {\n throw new Error('The generated Docker Compose project contains no persistent services.');\n }\n\n // `--remove-orphans` for the same reason `local down` passes it, and it is\n // needed MORE here: every application renders its compose under the SAME\n // project name (`wildo-local`) while bind-mounting its OWN `local_data/`, so\n // a converge that only touches the services THIS app declares leaves the\n // previous app's extra services running against the previous app's data\n // dirs. That produces a stack whose halves disagree — measured 2026-09-03:\n // `wildo-mongodb`/`wildo-mongot` still serving wonder-todos' data dirs while\n // postgres/rabbit/valkey/minio had been recreated on wonder-crm's, because\n // wonder-crm is PostgreSQL-only and declares no mongodb service to recreate.\n // The visible cost was 18 cron jobs pointing at a vhost that existed only in\n // the other app's broker state. Orphan reaping is what keeps one converge\n // from producing a half-migrated stack.\n //\n // Safe against the shared-platform attach case: `local dev` skips\n // convergence entirely when another session owns the platform (issue #50),\n // so this line is only reached by a session that is converging anyway.\n DockerUtils.runDockerCompose(infraCtx, buildLocalComposeConvergeArgs(), { inherit: true });\n\n for (const service of oneShotServices) {\n log.info(` Waiting for ${service} initializer completion...`);\n await DockerComposeReadinessService.waitForOneShotService(\n infraCtx,\n service,\n timeoutSeconds * 1_000,\n );\n log.info(` ${service} initializer completed.`);\n }\n\n // Orphan reaping is a no-op the second time (the converge above already did\n // it), but this goes through the same builder so the package holds exactly\n // one place that spells a compose convergence.\n DockerUtils.runDockerCompose(\n infraCtx,\n buildLocalComposeConvergeArgs(\n '--wait',\n '--wait-timeout',\n String(timeoutSeconds),\n ...persistentServices,\n ),\n { inherit: true },\n );\n }\n\n private static async waitForOneShotService(\n infraCtx: PlatformRuntimeContext,\n service: string,\n timeoutMs: number,\n ): Promise<void> {\n const startedAt = Date.now();\n while (Date.now() - startedAt < timeoutMs) {\n const output = DockerUtils.runDockerCompose(\n infraCtx,\n ['ps', '-a', '--format', 'json', service],\n );\n const status = DockerComposeReadinessService.parseServiceStatus(output, service);\n if (status?.State === 'exited') {\n if (status.ExitCode === 0) {\n return;\n }\n throw new Error(\n `${service} initializer exited with code ${status.ExitCode ?? 'unknown'}. `\n + `Inspect it with 'docker compose logs ${service}'.`,\n );\n }\n\n await new Promise((resolve) => setTimeout(resolve, ONE_SHOT_POLL_INTERVAL_MS));\n }\n\n throw new Error(\n `${service} initializer did not complete within ${Math.ceil(timeoutMs / 1_000)}s. `\n + `Inspect it with 'docker compose ps -a ${service}' and 'docker compose logs ${service}'.`,\n );\n }\n\n private static parseServiceStatus(\n output: string,\n service: string,\n ): ComposeProcessStatus | null {\n for (const line of output.split('\\n')) {\n const trimmed = line.trim();\n if (!trimmed) continue;\n let status: ComposeProcessStatus;\n try {\n status = JSON.parse(trimmed) as ComposeProcessStatus;\n } catch {\n throw new Error(`Docker Compose returned invalid status JSON for ${service}.`);\n }\n if (!status.Service || status.Service === service) {\n return status;\n }\n }\n return null;\n }\n}\n\n/**\n * Parse a Compose version string into a comparable `major.minor.patch` triple.\n *\n * Accepts every shape the plugin actually emits — `2.24.1`, `v2.39.4`,\n * `2.2` (no patch), `2.24.0-desktop.1` (a pre-release/build suffix on the\n * patch, which Docker Desktop ships). Returns `null` for anything without a\n * leading numeric major, so an unrecognised string degrades to \"unknown\"\n * rather than being silently read as `0.0.0` (which would fail EVERY host).\n *\n * A thin Compose-named alias over the shared comparator in\n * `../version-compare.utils` — the arithmetic is identical for every toolchain\n * gate, and keeping one copy is what stops a later gate re-deriving it as a\n * string compare.\n */\nexport function parseComposeVersionTriple(raw: string): [number, number, number] | null {\n return parseVersionTriple(raw);\n}\n\n/**\n * `current >= minimum`, comparing numerically component by component.\n *\n * Deliberately NOT a lexicographic string compare: `'2.9' >= '2.24'` is true\n * as strings and false as versions, and 2.9 is exactly the vintage this gate\n * exists to reject. Returns `false` when either side is unparseable — an\n * unknown version cannot be evidence that the requirement is met.\n */\nexport function isComposeVersionAtLeast(current: string, minimum: string): boolean {\n return isVersionAtLeast(current, minimum);\n}\n\n/**\n * Extract the plugin version from `docker compose version` output.\n *\n * `--short` is the stable machine-readable field and is tried first by\n * `detectDockerComposeVersion`; `longOutput` is the human line\n * (`Docker Compose version v2.39.4`) kept as a fallback for very old plugins\n * that predate `--short`. Pure so the parsing is testable without a daemon.\n */\nexport function parseDockerComposeVersionOutput(\n shortOutput: string | null,\n longOutput?: string | null,\n): string | null {\n const short = shortOutput?.trim().replace(/^v/i, '') ?? '';\n if (short.length > 0 && parseComposeVersionTriple(short)) {\n return short;\n }\n const long = longOutput?.match(/[Vv]ersion\\s+v?(\\d[\\d.]*)/);\n return long ? long[1] : null;\n}\n\n/**\n * Probe the installed Compose plugin version. Returns `null` when the plugin\n * is absent or its output is unrecognisable — callers must treat that as\n * \"unknown\", never as \"old enough\" or \"too old\".\n *\n * Does NOT require a running daemon: `docker compose version` is answered by\n * the CLI plugin itself, which is why the gate can still report accurately on\n * a host where Docker Desktop has not been launched.\n */\nexport function detectDockerComposeVersion(\n run: (command: string) => string = (command) => execSync(command, { encoding: 'utf-8', stdio: 'pipe' }),\n): string | null {\n let shortOutput: string | null = null;\n try {\n shortOutput = run('docker compose version --short');\n } catch {\n shortOutput = null;\n }\n let longOutput: string | null = null;\n if (!shortOutput || !parseComposeVersionTriple(shortOutput.trim().replace(/^v/i, ''))) {\n try {\n longOutput = run('docker compose version');\n } catch {\n longOutput = null;\n }\n }\n return parseDockerComposeVersionOutput(shortOutput, longOutput);\n}\n"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface PlatformRuntimeContext {
|
|
2
|
+
composeDir?: string;
|
|
3
|
+
composeFile?: string;
|
|
4
|
+
envFile: string;
|
|
5
|
+
}
|
|
6
|
+
export interface DockerContainerStatus {
|
|
7
|
+
name: string;
|
|
8
|
+
running: boolean;
|
|
9
|
+
status?: string;
|
|
10
|
+
error?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface DockerCheck {
|
|
13
|
+
available: boolean;
|
|
14
|
+
running: boolean;
|
|
15
|
+
error?: string;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=docker.schemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"docker.schemas.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/docker.schemas.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,sBAAsB;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"docker.schemas.js","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/docker.schemas.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,gEAAgE;AAChE,+EAA+E","sourcesContent":["// ============================================================================\n// Docker types — used by DockerUtils and infra runtime commands\n// ============================================================================\n\nexport interface PlatformRuntimeContext {\n composeDir?: string;\n composeFile?: string;\n envFile: string;\n}\n\nexport interface DockerContainerStatus {\n name: string;\n running: boolean;\n status?: string;\n error?: string;\n}\n\nexport interface DockerCheck {\n available: boolean;\n running: boolean;\n error?: string;\n}\n"]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { DockerCheck, DockerContainerStatus, PlatformRuntimeContext } from '../../../services/deployment/docker/docker.schemas';
|
|
2
|
+
export declare class DockerUtils {
|
|
3
|
+
static checkDockerRunning(): DockerCheck;
|
|
4
|
+
static isContainerRunning(name: string): boolean;
|
|
5
|
+
static containerExists(name: string): boolean;
|
|
6
|
+
static startContainer(name: string): {
|
|
7
|
+
success: boolean;
|
|
8
|
+
error?: string;
|
|
9
|
+
};
|
|
10
|
+
static stopContainer(name: string): {
|
|
11
|
+
success: boolean;
|
|
12
|
+
error?: string;
|
|
13
|
+
};
|
|
14
|
+
static removeContainer(name: string): {
|
|
15
|
+
success: boolean;
|
|
16
|
+
error?: string;
|
|
17
|
+
};
|
|
18
|
+
static getContainerStatus(name: string): DockerContainerStatus;
|
|
19
|
+
static runDockerCompose(infraCtx: PlatformRuntimeContext, args: string[], options?: {
|
|
20
|
+
inherit?: boolean;
|
|
21
|
+
}): string;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=docker.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"docker.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/docker.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,sDAAsD,CAAC;AAIlI,qBAAa,WAAW;IACtB,MAAM,CAAC,kBAAkB,IAAI,WAAW;IAcxC,MAAM,CAAC,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAWhD,MAAM,CAAC,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAS7C,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE;IASzE,MAAM,CAAC,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE;IASxE,MAAM,CAAC,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE;IAS1E,MAAM,CAAC,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,qBAAqB;IAa9D,MAAM,CAAC,gBAAgB,CACrB,QAAQ,EAAE,sBAAsB,EAChC,IAAI,EAAE,MAAM,EAAE,EACd,OAAO,GAAE;QAAE,OAAO,CAAC,EAAE,OAAO,CAAA;KAAO,GAClC,MAAM;CAmBV"}
|