@wildo-ai/wildo-cli 1.1.10 → 1.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/wildo.d.ts.map +1 -1
- package/dist/bin/wildo.js +0 -0
- package/dist/bin/wildo.js.map +1 -1
- package/dist/src/commands/acp/probe.command.d.ts.map +1 -1
- package/dist/src/commands/acp/probe.command.js +2 -1
- package/dist/src/commands/acp/probe.command.js.map +1 -1
- package/dist/src/commands/align-deps.command.d.ts.map +1 -1
- package/dist/src/commands/align-deps.command.js +17 -1
- package/dist/src/commands/align-deps.command.js.map +1 -1
- package/dist/src/commands/assets/sync.command.d.ts.map +1 -1
- package/dist/src/commands/assets/sync.command.js.map +1 -1
- package/dist/src/commands/blueprint/pack.command.d.ts +16 -0
- package/dist/src/commands/blueprint/pack.command.d.ts.map +1 -0
- package/dist/src/commands/blueprint/pack.command.js +86 -0
- package/dist/src/commands/blueprint/pack.command.js.map +1 -0
- package/dist/src/commands/blueprint/publish.command.d.ts +16 -0
- package/dist/src/commands/blueprint/publish.command.d.ts.map +1 -0
- package/dist/src/commands/blueprint/publish.command.js +114 -0
- package/dist/src/commands/blueprint/publish.command.js.map +1 -0
- package/dist/src/commands/blueprint/status.command.d.ts +14 -0
- package/dist/src/commands/blueprint/status.command.d.ts.map +1 -0
- package/dist/src/commands/blueprint/status.command.js +62 -0
- package/dist/src/commands/blueprint/status.command.js.map +1 -0
- package/dist/src/commands/brand/propagate.command.d.ts.map +1 -1
- package/dist/src/commands/brand/propagate.command.js.map +1 -1
- package/dist/src/commands/build/accept.command.d.ts.map +1 -1
- package/dist/src/commands/build/accept.command.js.map +1 -1
- package/dist/src/commands/build/dispatches.command.d.ts.map +1 -1
- package/dist/src/commands/build/dispatches.command.js +6 -1
- package/dist/src/commands/build/dispatches.command.js.map +1 -1
- package/dist/src/commands/build/next.command.d.ts.map +1 -1
- package/dist/src/commands/build/next.command.js.map +1 -1
- package/dist/src/commands/build/rearm.command.d.ts +6 -4
- package/dist/src/commands/build/rearm.command.d.ts.map +1 -1
- package/dist/src/commands/build/rearm.command.js +12 -7
- package/dist/src/commands/build/rearm.command.js.map +1 -1
- package/dist/src/commands/build/run.command.d.ts.map +1 -1
- package/dist/src/commands/build/run.command.js.map +1 -1
- package/dist/src/commands/build/tasks.command.d.ts.map +1 -1
- package/dist/src/commands/build/tasks.command.js.map +1 -1
- package/dist/src/commands/compose.command.d.ts.map +1 -1
- package/dist/src/commands/compose.command.js.map +1 -1
- package/dist/src/commands/config/check-resources.command.d.ts.map +1 -1
- package/dist/src/commands/config/check-resources.command.js +3 -1
- package/dist/src/commands/config/check-resources.command.js.map +1 -1
- package/dist/src/commands/config/data-retention.command.d.ts.map +1 -1
- package/dist/src/commands/config/data-retention.command.js.map +1 -1
- package/dist/src/commands/config/document-releases.command.d.ts.map +1 -1
- package/dist/src/commands/config/document-releases.command.js.map +1 -1
- package/dist/src/commands/config/legal-notice.command.d.ts.map +1 -1
- package/dist/src/commands/config/legal-notice.command.js.map +1 -1
- package/dist/src/commands/config/mutate.command.d.ts.map +1 -1
- package/dist/src/commands/config/mutate.command.js.map +1 -1
- package/dist/src/commands/config/reapply-declaration.command.d.ts.map +1 -1
- package/dist/src/commands/config/reapply-declaration.command.js +24 -0
- package/dist/src/commands/config/reapply-declaration.command.js.map +1 -1
- package/dist/src/commands/config/service-consent.command.d.ts.map +1 -1
- package/dist/src/commands/config/service-consent.command.js.map +1 -1
- package/dist/src/commands/config/subject-data-recipients.command.d.ts.map +1 -1
- package/dist/src/commands/config/subject-data-recipients.command.js.map +1 -1
- package/dist/src/commands/config/sync.command.d.ts +13 -0
- package/dist/src/commands/config/sync.command.d.ts.map +1 -1
- package/dist/src/commands/config/sync.command.js +37 -2
- package/dist/src/commands/config/sync.command.js.map +1 -1
- package/dist/src/commands/config/validate.command.d.ts +3 -2
- package/dist/src/commands/config/validate.command.d.ts.map +1 -1
- package/dist/src/commands/config/validate.command.js +35 -3
- package/dist/src/commands/config/validate.command.js.map +1 -1
- package/dist/src/commands/context/assurance-basis.command.d.ts.map +1 -1
- package/dist/src/commands/context/assurance-basis.command.js.map +1 -1
- package/dist/src/commands/context/coherence.command.d.ts.map +1 -1
- package/dist/src/commands/context/coherence.command.js.map +1 -1
- package/dist/src/commands/context/context-command.utils.d.ts +6 -1
- package/dist/src/commands/context/context-command.utils.d.ts.map +1 -1
- package/dist/src/commands/context/context-command.utils.js +8 -2
- package/dist/src/commands/context/context-command.utils.js.map +1 -1
- package/dist/src/commands/context/elements.command.d.ts +3 -1
- package/dist/src/commands/context/elements.command.d.ts.map +1 -1
- package/dist/src/commands/context/elements.command.js +3 -1
- package/dist/src/commands/context/elements.command.js.map +1 -1
- package/dist/src/commands/context/health.command.d.ts.map +1 -1
- package/dist/src/commands/context/health.command.js.map +1 -1
- package/dist/src/commands/context/info.command.d.ts.map +1 -1
- package/dist/src/commands/context/info.command.js.map +1 -1
- package/dist/src/commands/context/journey.command.d.ts.map +1 -1
- package/dist/src/commands/context/journey.command.js +43 -6
- package/dist/src/commands/context/journey.command.js.map +1 -1
- package/dist/src/commands/context/jurisdictions.command.d.ts.map +1 -1
- package/dist/src/commands/context/jurisdictions.command.js.map +1 -1
- package/dist/src/commands/context/launch-blockers.command.d.ts.map +1 -1
- package/dist/src/commands/context/launch-blockers.command.js +3 -2
- package/dist/src/commands/context/launch-blockers.command.js.map +1 -1
- package/dist/src/commands/context/list.command.d.ts.map +1 -1
- package/dist/src/commands/context/list.command.js.map +1 -1
- package/dist/src/commands/context/pipelines.command.d.ts +2 -0
- package/dist/src/commands/context/pipelines.command.d.ts.map +1 -1
- package/dist/src/commands/context/pipelines.command.js +6 -3
- package/dist/src/commands/context/pipelines.command.js.map +1 -1
- package/dist/src/commands/context/workspace.command.d.ts.map +1 -1
- package/dist/src/commands/context/workspace.command.js.map +1 -1
- package/dist/src/commands/creation/accept.command.d.ts.map +1 -1
- package/dist/src/commands/creation/accept.command.js.map +1 -1
- package/dist/src/commands/creation/answer.command.d.ts.map +1 -1
- package/dist/src/commands/creation/answer.command.js +2 -1
- package/dist/src/commands/creation/answer.command.js.map +1 -1
- package/dist/src/commands/creation/brand-logo.command.d.ts.map +1 -1
- package/dist/src/commands/creation/brand-logo.command.js.map +1 -1
- package/dist/src/commands/creation/brief.command.d.ts.map +1 -1
- package/dist/src/commands/creation/brief.command.js.map +1 -1
- package/dist/src/commands/creation/deliberate.command.d.ts.map +1 -1
- package/dist/src/commands/creation/deliberate.command.js.map +1 -1
- package/dist/src/commands/creation/depth.command.d.ts.map +1 -1
- package/dist/src/commands/creation/depth.command.js.map +1 -1
- package/dist/src/commands/creation/diff.command.d.ts.map +1 -1
- package/dist/src/commands/creation/diff.command.js.map +1 -1
- package/dist/src/commands/creation/feed.command.d.ts.map +1 -1
- package/dist/src/commands/creation/feed.command.js +3 -2
- package/dist/src/commands/creation/feed.command.js.map +1 -1
- package/dist/src/commands/creation/loop.command.d.ts.map +1 -1
- package/dist/src/commands/creation/loop.command.js.map +1 -1
- package/dist/src/commands/creation/persona.command.d.ts.map +1 -1
- package/dist/src/commands/creation/persona.command.js.map +1 -1
- package/dist/src/commands/creation/preflight.command.d.ts.map +1 -1
- package/dist/src/commands/creation/preflight.command.js +3 -1
- package/dist/src/commands/creation/preflight.command.js.map +1 -1
- package/dist/src/commands/creation/prompt-hook.command.d.ts.map +1 -1
- package/dist/src/commands/creation/prompt-hook.command.js.map +1 -1
- package/dist/src/commands/creation/propose.command.d.ts.map +1 -1
- package/dist/src/commands/creation/propose.command.js.map +1 -1
- package/dist/src/commands/creation/pulse.command.d.ts.map +1 -1
- package/dist/src/commands/creation/pulse.command.js.map +1 -1
- package/dist/src/commands/creation/questions.command.d.ts.map +1 -1
- package/dist/src/commands/creation/questions.command.js +2 -1
- package/dist/src/commands/creation/questions.command.js.map +1 -1
- package/dist/src/commands/creation/reason.command.d.ts.map +1 -1
- package/dist/src/commands/creation/reason.command.js.map +1 -1
- package/dist/src/commands/creation/report.command.d.ts.map +1 -1
- package/dist/src/commands/creation/report.command.js.map +1 -1
- package/dist/src/commands/creation/revert.command.d.ts.map +1 -1
- package/dist/src/commands/creation/revert.command.js.map +1 -1
- package/dist/src/commands/creation/run.command.d.ts.map +1 -1
- package/dist/src/commands/creation/run.command.js +2 -1
- package/dist/src/commands/creation/run.command.js.map +1 -1
- package/dist/src/commands/creation/statusline.command.d.ts.map +1 -1
- package/dist/src/commands/creation/statusline.command.js.map +1 -1
- package/dist/src/commands/creation/watch.command.d.ts.map +1 -1
- package/dist/src/commands/creation/watch.command.js.map +1 -1
- package/dist/src/commands/creation/why.command.d.ts.map +1 -1
- package/dist/src/commands/creation/why.command.js.map +1 -1
- package/dist/src/commands/creation/writes.command.d.ts.map +1 -1
- package/dist/src/commands/creation/writes.command.js.map +1 -1
- package/dist/src/commands/db/db-schema-plan-migration.utils.d.ts +17 -0
- package/dist/src/commands/db/db-schema-plan-migration.utils.d.ts.map +1 -1
- package/dist/src/commands/db/db-schema-plan-migration.utils.js +27 -0
- package/dist/src/commands/db/db-schema-plan-migration.utils.js.map +1 -1
- package/dist/src/commands/db/db-schema-plan.utils.d.ts +33 -3
- package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
- package/dist/src/commands/db/db-schema-plan.utils.js +71 -6
- package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -1
- package/dist/src/commands/db/diff.command.d.ts.map +1 -1
- package/dist/src/commands/db/diff.command.js +1 -1
- package/dist/src/commands/db/diff.command.js.map +1 -1
- package/dist/src/commands/db/generate.command.d.ts.map +1 -1
- package/dist/src/commands/db/generate.command.js +32 -5
- package/dist/src/commands/db/generate.command.js.map +1 -1
- package/dist/src/commands/db/migrate.command.d.ts.map +1 -1
- package/dist/src/commands/db/migrate.command.js.map +1 -1
- package/dist/src/commands/db/resolve.command.d.ts.map +1 -1
- package/dist/src/commands/db/resolve.command.js.map +1 -1
- package/dist/src/commands/dev/charts-audit.command.d.ts.map +1 -1
- package/dist/src/commands/dev/charts-audit.command.js.map +1 -1
- package/dist/src/commands/dev/design-tokens-brand.command.d.ts +10 -0
- package/dist/src/commands/dev/design-tokens-brand.command.d.ts.map +1 -0
- package/dist/src/commands/dev/design-tokens-brand.command.js +24 -0
- package/dist/src/commands/dev/design-tokens-brand.command.js.map +1 -0
- package/dist/src/commands/dev/design-tokens-contract.command.d.ts +10 -0
- package/dist/src/commands/dev/design-tokens-contract.command.d.ts.map +1 -0
- package/dist/src/commands/dev/design-tokens-contract.command.js +24 -0
- package/dist/src/commands/dev/design-tokens-contract.command.js.map +1 -0
- package/dist/src/commands/dev/design-tokens-contrast.command.d.ts +10 -0
- package/dist/src/commands/dev/design-tokens-contrast.command.d.ts.map +1 -0
- package/dist/src/commands/dev/design-tokens-contrast.command.js +24 -0
- package/dist/src/commands/dev/design-tokens-contrast.command.js.map +1 -0
- package/dist/src/commands/dev/design-tokens-generate.command.d.ts.map +1 -1
- package/dist/src/commands/dev/design-tokens-generate.command.js.map +1 -1
- package/dist/src/commands/dev/design-tokens-init.command.d.ts.map +1 -1
- package/dist/src/commands/dev/design-tokens-init.command.js.map +1 -1
- package/dist/src/commands/dev/design-tokens-validate.command.d.ts.map +1 -1
- package/dist/src/commands/dev/design-tokens-validate.command.js.map +1 -1
- package/dist/src/commands/dev/force-stop.command.d.ts.map +1 -1
- package/dist/src/commands/dev/force-stop.command.js.map +1 -1
- package/dist/src/commands/dev/resources.command.d.ts.map +1 -1
- package/dist/src/commands/dev/resources.command.js.map +1 -1
- package/dist/src/commands/dev/start.command.d.ts.map +1 -1
- package/dist/src/commands/dev/start.command.js +34 -8
- package/dist/src/commands/dev/start.command.js.map +1 -1
- package/dist/src/commands/dev/stop-all.command.d.ts.map +1 -1
- package/dist/src/commands/dev/stop-all.command.js.map +1 -1
- package/dist/src/commands/dev/sync-csp.command.d.ts.map +1 -1
- package/dist/src/commands/dev/sync-csp.command.js.map +1 -1
- package/dist/src/commands/docs/check.command.d.ts +25 -0
- package/dist/src/commands/docs/check.command.d.ts.map +1 -0
- package/dist/src/commands/docs/check.command.js +91 -0
- package/dist/src/commands/docs/check.command.js.map +1 -0
- package/dist/src/commands/docs/publish.command.d.ts.map +1 -1
- package/dist/src/commands/docs/publish.command.js.map +1 -1
- package/dist/src/commands/frontend/look.command.d.ts +26 -0
- package/dist/src/commands/frontend/look.command.d.ts.map +1 -0
- package/dist/src/commands/frontend/look.command.js +132 -0
- package/dist/src/commands/frontend/look.command.js.map +1 -0
- package/dist/src/commands/frontend/publish.command.d.ts.map +1 -1
- package/dist/src/commands/frontend/publish.command.js.map +1 -1
- package/dist/src/commands/fwk/audit.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/audit.command.js.map +1 -1
- package/dist/src/commands/fwk/dev-skills.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/dev-skills.command.js +3 -0
- package/dist/src/commands/fwk/dev-skills.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-blueprints.command.d.ts +12 -0
- package/dist/src/commands/fwk/generate-blueprints.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/generate-blueprints.command.js +75 -0
- package/dist/src/commands/fwk/generate-blueprints.command.js.map +1 -0
- package/dist/src/commands/fwk/generate-docs.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/generate-docs.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-providers.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/generate-providers.command.js.map +1 -1
- package/dist/src/commands/fwk/graph.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/graph.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.d.ts +4 -3
- package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.js +94 -32
- package/dist/src/commands/fwk/publish-all.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-docker.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-docker.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-npm.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-npm.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-promote.command.d.ts +8 -0
- package/dist/src/commands/fwk/publish-promote.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/publish-promote.command.js +137 -0
- package/dist/src/commands/fwk/publish-promote.command.js.map +1 -0
- package/dist/src/commands/fwk/publish-providers.command.d.ts +19 -0
- package/dist/src/commands/fwk/publish-providers.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/publish-providers.command.js +80 -0
- package/dist/src/commands/fwk/publish-providers.command.js.map +1 -0
- package/dist/src/commands/fwk/registry-host.command.d.ts +41 -0
- package/dist/src/commands/fwk/registry-host.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/registry-host.command.js +393 -0
- package/dist/src/commands/fwk/registry-host.command.js.map +1 -0
- package/dist/src/commands/fwk/version-bump.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/version-bump.command.js.map +1 -1
- package/dist/src/commands/fwk/version-set.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/version-set.command.js.map +1 -1
- package/dist/src/commands/fwk/version-show.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/version-show.command.js +1 -2
- package/dist/src/commands/fwk/version-show.command.js.map +1 -1
- package/dist/src/commands/fwk/version-sync.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/version-sync.command.js.map +1 -1
- package/dist/src/commands/fwk/what-touches.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/what-touches.command.js.map +1 -1
- package/dist/src/commands/fwk/wt-status.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/wt-status.command.js.map +1 -1
- package/dist/src/commands/fwk/wt-tail.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/wt-tail.command.js.map +1 -1
- package/dist/src/commands/generate/email-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/email-command.utils.js.map +1 -1
- package/dist/src/commands/generate/email-preview.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-preview.command.js.map +1 -1
- package/dist/src/commands/generate/email-status.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-status.command.js.map +1 -1
- package/dist/src/commands/generate/email-test-send.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-test-send.command.js.map +1 -1
- package/dist/src/commands/generate/email-translate.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-translate.command.js.map +1 -1
- package/dist/src/commands/generate/email.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email.command.js.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.d.ts +15 -0
- package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.js +21 -2
- package/dist/src/commands/generate/labelling-command.utils.js.map +1 -1
- package/dist/src/commands/generate/labels-plan.command.d.ts.map +1 -1
- package/dist/src/commands/generate/labels-plan.command.js.map +1 -1
- package/dist/src/commands/generate/labels.command.d.ts.map +1 -1
- package/dist/src/commands/generate/labels.command.js +10 -1
- package/dist/src/commands/generate/labels.command.js.map +1 -1
- package/dist/src/commands/generate/translate.command.d.ts +5 -0
- package/dist/src/commands/generate/translate.command.d.ts.map +1 -1
- package/dist/src/commands/generate/translate.command.js +30 -3
- package/dist/src/commands/generate/translate.command.js.map +1 -1
- package/dist/src/commands/help.command.d.ts.map +1 -1
- package/dist/src/commands/help.command.js +2 -0
- package/dist/src/commands/help.command.js.map +1 -1
- package/dist/src/commands/init.command.d.ts +59 -0
- package/dist/src/commands/init.command.d.ts.map +1 -1
- package/dist/src/commands/init.command.js +401 -12
- package/dist/src/commands/init.command.js.map +1 -1
- package/dist/src/commands/keys/rotate.command.d.ts +36 -0
- package/dist/src/commands/keys/rotate.command.d.ts.map +1 -0
- package/dist/src/commands/keys/rotate.command.js +140 -0
- package/dist/src/commands/keys/rotate.command.js.map +1 -0
- package/dist/src/commands/keys/thumbprint.command.d.ts +10 -0
- package/dist/src/commands/keys/thumbprint.command.d.ts.map +1 -0
- package/dist/src/commands/keys/thumbprint.command.js +64 -0
- package/dist/src/commands/keys/thumbprint.command.js.map +1 -0
- package/dist/src/commands/local/deregister.command.d.ts.map +1 -1
- package/dist/src/commands/local/deregister.command.js.map +1 -1
- package/dist/src/commands/local/dev-status.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev-status.command.js.map +1 -1
- package/dist/src/commands/local/dev.command.d.ts +8 -1
- package/dist/src/commands/local/dev.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev.command.js +37 -6
- package/dist/src/commands/local/dev.command.js.map +1 -1
- package/dist/src/commands/local/doctor.command.d.ts +18 -0
- package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
- package/dist/src/commands/local/doctor.command.js +115 -1
- package/dist/src/commands/local/doctor.command.js.map +1 -1
- package/dist/src/commands/local/down.command.d.ts.map +1 -1
- package/dist/src/commands/local/down.command.js.map +1 -1
- package/dist/src/commands/local/init.command.d.ts.map +1 -1
- package/dist/src/commands/local/init.command.js.map +1 -1
- package/dist/src/commands/local/logs.command.d.ts.map +1 -1
- package/dist/src/commands/local/logs.command.js.map +1 -1
- package/dist/src/commands/local/reinit.command.d.ts.map +1 -1
- package/dist/src/commands/local/reinit.command.js +1 -1
- package/dist/src/commands/local/reinit.command.js.map +1 -1
- package/dist/src/commands/local/reset.command.d.ts.map +1 -1
- package/dist/src/commands/local/reset.command.js.map +1 -1
- package/dist/src/commands/local/restore.command.d.ts.map +1 -1
- package/dist/src/commands/local/restore.command.js.map +1 -1
- package/dist/src/commands/local/smoke.command.d.ts.map +1 -1
- package/dist/src/commands/local/smoke.command.js +2 -1
- package/dist/src/commands/local/smoke.command.js.map +1 -1
- package/dist/src/commands/local/status.command.d.ts.map +1 -1
- package/dist/src/commands/local/status.command.js.map +1 -1
- package/dist/src/commands/local/up.command.d.ts +11 -5
- package/dist/src/commands/local/up.command.d.ts.map +1 -1
- package/dist/src/commands/local/up.command.js +51 -145
- package/dist/src/commands/local/up.command.js.map +1 -1
- package/dist/src/commands/local-defaults/capture.command.d.ts.map +1 -1
- package/dist/src/commands/local-defaults/capture.command.js.map +1 -1
- package/dist/src/commands/lock/check.command.d.ts +8 -6
- package/dist/src/commands/lock/check.command.d.ts.map +1 -1
- package/dist/src/commands/lock/check.command.js +12 -19
- package/dist/src/commands/lock/check.command.js.map +1 -1
- package/dist/src/commands/market/generate.command.d.ts.map +1 -1
- package/dist/src/commands/market/generate.command.js +2 -1
- package/dist/src/commands/market/generate.command.js.map +1 -1
- package/dist/src/commands/market/market-command.utils.d.ts.map +1 -1
- package/dist/src/commands/market/market-command.utils.js.map +1 -1
- package/dist/src/commands/prefs/set.command.d.ts.map +1 -1
- package/dist/src/commands/prefs/set.command.js.map +1 -1
- package/dist/src/commands/providers/chat-command-registrations.utils.d.ts +32 -0
- package/dist/src/commands/providers/chat-command-registrations.utils.d.ts.map +1 -0
- package/dist/src/commands/providers/chat-command-registrations.utils.js +120 -0
- package/dist/src/commands/providers/chat-command-registrations.utils.js.map +1 -0
- package/dist/src/commands/providers/new.command.d.ts +14 -0
- package/dist/src/commands/providers/new.command.d.ts.map +1 -0
- package/dist/src/commands/providers/new.command.js +119 -0
- package/dist/src/commands/providers/new.command.js.map +1 -0
- package/dist/src/commands/providers/probe.command.d.ts +20 -0
- package/dist/src/commands/providers/probe.command.d.ts.map +1 -0
- package/dist/src/commands/providers/probe.command.js +164 -0
- package/dist/src/commands/providers/probe.command.js.map +1 -0
- package/dist/src/commands/providers/register.command.d.ts +34 -0
- package/dist/src/commands/providers/register.command.d.ts.map +1 -0
- package/dist/src/commands/providers/register.command.js +258 -0
- package/dist/src/commands/providers/register.command.js.map +1 -0
- package/dist/src/commands/providers/show.command.d.ts +1 -0
- package/dist/src/commands/providers/show.command.d.ts.map +1 -1
- package/dist/src/commands/providers/show.command.js +6 -46
- package/dist/src/commands/providers/show.command.js.map +1 -1
- package/dist/src/commands/registry/add.command.d.ts +3 -0
- package/dist/src/commands/registry/add.command.d.ts.map +1 -1
- package/dist/src/commands/registry/add.command.js +23 -212
- package/dist/src/commands/registry/add.command.js.map +1 -1
- package/dist/src/commands/registry/domain.command.d.ts +32 -0
- package/dist/src/commands/registry/domain.command.d.ts.map +1 -0
- package/dist/src/commands/registry/domain.command.js +118 -0
- package/dist/src/commands/registry/domain.command.js.map +1 -0
- package/dist/src/commands/registry/info.command.d.ts.map +1 -1
- package/dist/src/commands/registry/info.command.js.map +1 -1
- package/dist/src/commands/registry/key.command.d.ts.map +1 -1
- package/dist/src/commands/registry/key.command.js.map +1 -1
- package/dist/src/commands/registry/lockfile-smoke.command.d.ts.map +1 -1
- package/dist/src/commands/registry/lockfile-smoke.command.js.map +1 -1
- package/dist/src/commands/registry/login.command.d.ts.map +1 -1
- package/dist/src/commands/registry/login.command.js.map +1 -1
- package/dist/src/commands/registry/logout.command.d.ts.map +1 -1
- package/dist/src/commands/registry/logout.command.js.map +1 -1
- package/dist/src/commands/registry/outdated.command.d.ts.map +1 -1
- package/dist/src/commands/registry/outdated.command.js.map +1 -1
- package/dist/src/commands/registry/ping.command.d.ts.map +1 -1
- package/dist/src/commands/registry/ping.command.js.map +1 -1
- package/dist/src/commands/registry/publish.command.d.ts.map +1 -1
- package/dist/src/commands/registry/publish.command.js +26 -50
- package/dist/src/commands/registry/publish.command.js.map +1 -1
- package/dist/src/commands/registry/registry-transport.constants.d.ts.map +1 -1
- package/dist/src/commands/registry/registry-transport.constants.js.map +1 -1
- package/dist/src/commands/registry/remove.command.d.ts.map +1 -1
- package/dist/src/commands/registry/remove.command.js +16 -1
- package/dist/src/commands/registry/remove.command.js.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.d.ts +11 -1
- package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.js +145 -12
- package/dist/src/commands/registry/repair-lockfile.command.js.map +1 -1
- package/dist/src/commands/registry/search.command.d.ts.map +1 -1
- package/dist/src/commands/registry/search.command.js +4 -4
- package/dist/src/commands/registry/search.command.js.map +1 -1
- package/dist/src/commands/registry/status.command.d.ts.map +1 -1
- package/dist/src/commands/registry/status.command.js.map +1 -1
- package/dist/src/commands/registry/update.command.d.ts.map +1 -1
- package/dist/src/commands/registry/update.command.js +22 -6
- package/dist/src/commands/registry/update.command.js.map +1 -1
- package/dist/src/commands/registry/whoami.command.d.ts.map +1 -1
- package/dist/src/commands/registry/whoami.command.js.map +1 -1
- package/dist/src/commands/registry/yank.command.d.ts.map +1 -1
- package/dist/src/commands/registry/yank.command.js.map +1 -1
- package/dist/src/commands/remote/create.command.d.ts.map +1 -1
- package/dist/src/commands/remote/create.command.js.map +1 -1
- package/dist/src/commands/remote/list.command.d.ts.map +1 -1
- package/dist/src/commands/remote/list.command.js.map +1 -1
- package/dist/src/commands/remote/status.command.d.ts.map +1 -1
- package/dist/src/commands/remote/status.command.js.map +1 -1
- package/dist/src/commands/remote/sync.command.d.ts.map +1 -1
- package/dist/src/commands/remote/sync.command.js.map +1 -1
- package/dist/src/commands/seal/dead.command.d.ts +11 -0
- package/dist/src/commands/seal/dead.command.d.ts.map +1 -0
- package/dist/src/commands/seal/dead.command.js +44 -0
- package/dist/src/commands/seal/dead.command.js.map +1 -0
- package/dist/src/commands/seal/export.command.d.ts +12 -0
- package/dist/src/commands/seal/export.command.d.ts.map +1 -0
- package/dist/src/commands/seal/export.command.js +67 -0
- package/dist/src/commands/seal/export.command.js.map +1 -0
- package/dist/src/commands/seal/log-export.command.d.ts +18 -0
- package/dist/src/commands/seal/log-export.command.d.ts.map +1 -0
- package/dist/src/commands/seal/log-export.command.js +93 -0
- package/dist/src/commands/seal/log-export.command.js.map +1 -0
- package/dist/src/commands/seal/log-verify.command.d.ts +13 -0
- package/dist/src/commands/seal/log-verify.command.d.ts.map +1 -0
- package/dist/src/commands/seal/log-verify.command.js +74 -0
- package/dist/src/commands/seal/log-verify.command.js.map +1 -0
- package/dist/src/commands/seal/retry.command.d.ts +12 -0
- package/dist/src/commands/seal/retry.command.d.ts.map +1 -0
- package/dist/src/commands/seal/retry.command.js +48 -0
- package/dist/src/commands/seal/retry.command.js.map +1 -0
- package/dist/src/commands/seal/seal-admin-door.utils.d.ts +13 -0
- package/dist/src/commands/seal/seal-admin-door.utils.d.ts.map +1 -0
- package/dist/src/commands/seal/seal-admin-door.utils.js +88 -0
- package/dist/src/commands/seal/seal-admin-door.utils.js.map +1 -0
- package/dist/src/commands/seal/signing-log-files.utils.d.ts +9 -0
- package/dist/src/commands/seal/signing-log-files.utils.d.ts.map +1 -0
- package/dist/src/commands/seal/signing-log-files.utils.js +15 -0
- package/dist/src/commands/seal/signing-log-files.utils.js.map +1 -0
- package/dist/src/commands/seal/verify.command.d.ts +18 -0
- package/dist/src/commands/seal/verify.command.d.ts.map +1 -0
- package/dist/src/commands/seal/verify.command.js +120 -0
- package/dist/src/commands/seal/verify.command.js.map +1 -0
- package/dist/src/commands/secrets/github.command.d.ts.map +1 -1
- package/dist/src/commands/secrets/github.command.js.map +1 -1
- package/dist/src/commands/secrets/list.command.d.ts.map +1 -1
- package/dist/src/commands/secrets/list.command.js +3 -2
- package/dist/src/commands/secrets/list.command.js.map +1 -1
- package/dist/src/commands/secrets/set.command.d.ts.map +1 -1
- package/dist/src/commands/secrets/set.command.js +3 -2
- package/dist/src/commands/secrets/set.command.js.map +1 -1
- package/dist/src/commands/secrets/unset.command.d.ts.map +1 -1
- package/dist/src/commands/secrets/unset.command.js.map +1 -1
- package/dist/src/commands/setup.command.d.ts.map +1 -1
- package/dist/src/commands/setup.command.js.map +1 -1
- package/dist/src/commands/update.command.d.ts.map +1 -1
- package/dist/src/commands/update.command.js +3 -0
- package/dist/src/commands/update.command.js.map +1 -1
- package/dist/src/commands/version.command.d.ts.map +1 -1
- package/dist/src/commands/version.command.js.map +1 -1
- package/dist/src/commands/website/audit.command.d.ts.map +1 -1
- package/dist/src/commands/website/audit.command.js.map +1 -1
- package/dist/src/commands/website/look.command.d.ts +22 -0
- package/dist/src/commands/website/look.command.d.ts.map +1 -0
- package/dist/src/commands/website/look.command.js +147 -0
- package/dist/src/commands/website/look.command.js.map +1 -0
- package/dist/src/commands/workbench/open.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/open.command.js.map +1 -1
- package/dist/src/commands/workbench/parallelism.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/parallelism.command.js.map +1 -1
- package/dist/src/commands/workbench/status.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/status.command.js +2 -1
- package/dist/src/commands/workbench/status.command.js.map +1 -1
- package/dist/src/infrastructure/errors/error.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/errors/error.utils.js.map +1 -1
- package/dist/src/infrastructure/io/file.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/io/file.utils.js.map +1 -1
- package/dist/src/infrastructure/io/io.schemas.d.ts.map +1 -1
- package/dist/src/infrastructure/io/io.schemas.js.map +1 -1
- package/dist/src/infrastructure/io/template-processor.d.ts.map +1 -1
- package/dist/src/infrastructure/io/template-processor.js.map +1 -1
- package/dist/src/infrastructure/logger/logger.service.d.ts.map +1 -1
- package/dist/src/infrastructure/logger/logger.service.js.map +1 -1
- package/dist/src/infrastructure/process/spawn.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/process/spawn.utils.js.map +1 -1
- package/dist/src/infrastructure/ui/formatting.service.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/formatting.service.js.map +1 -1
- package/dist/src/infrastructure/ui/interaction-engine.service.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/interaction-engine.service.js.map +1 -1
- package/dist/src/infrastructure/ui/markdown-renderer.service.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/markdown-renderer.service.js.map +1 -1
- package/dist/src/infrastructure/ui/ui.schemas.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/ui.schemas.js.map +1 -1
- package/dist/src/infrastructure/utils/string.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/utils/string.utils.js.map +1 -1
- package/dist/src/infrastructure/validation/validator.service.d.ts.map +1 -1
- package/dist/src/infrastructure/validation/validator.service.js.map +1 -1
- package/dist/src/kernel/base-command.d.ts.map +1 -1
- package/dist/src/kernel/base-command.js.map +1 -1
- package/dist/src/kernel/bootstrap.d.ts.map +1 -1
- package/dist/src/kernel/bootstrap.js.map +1 -1
- package/dist/src/kernel/command-index-cache.d.ts.map +1 -1
- package/dist/src/kernel/command-index-cache.js.map +1 -1
- package/dist/src/kernel/command-registry.d.ts.map +1 -1
- package/dist/src/kernel/command-registry.js +3 -0
- package/dist/src/kernel/command-registry.js.map +1 -1
- package/dist/src/kernel/command-runner.d.ts +5 -0
- package/dist/src/kernel/command-runner.d.ts.map +1 -1
- package/dist/src/kernel/command-runner.js +13 -1
- package/dist/src/kernel/command-runner.js.map +1 -1
- package/dist/src/kernel/command-scope-utils.d.ts.map +1 -1
- package/dist/src/kernel/command-scope-utils.js.map +1 -1
- package/dist/src/kernel/flag-utils.d.ts.map +1 -1
- package/dist/src/kernel/flag-utils.js.map +1 -1
- package/dist/src/kernel/hooks.d.ts.map +1 -1
- package/dist/src/kernel/hooks.js +5 -3
- package/dist/src/kernel/hooks.js.map +1 -1
- package/dist/src/kernel/json-document-output.d.ts +25 -0
- package/dist/src/kernel/json-document-output.d.ts.map +1 -0
- package/dist/src/kernel/json-document-output.js +29 -0
- package/dist/src/kernel/json-document-output.js.map +1 -0
- package/dist/src/kernel/logger.d.ts +16 -1
- package/dist/src/kernel/logger.d.ts.map +1 -1
- package/dist/src/kernel/logger.js +21 -4
- package/dist/src/kernel/logger.js.map +1 -1
- package/dist/src/kernel/types.d.ts +6 -0
- package/dist/src/kernel/types.d.ts.map +1 -1
- package/dist/src/kernel/types.js +6 -0
- package/dist/src/kernel/types.js.map +1 -1
- package/dist/src/main.d.ts.map +1 -1
- package/dist/src/main.js.map +1 -1
- package/dist/src/modules/domain/credentials/admin-user.module.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/admin-user.module.js.map +1 -1
- package/dist/src/modules/domain/credentials/approver-user.module.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/approver-user.module.js.map +1 -1
- package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts +5 -1
- package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/creation-essentials.module.js +1 -4
- package/dist/src/modules/domain/credentials/creation-essentials.module.js.map +1 -1
- package/dist/src/modules/domain/credentials/module.types.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/module.types.js.map +1 -1
- package/dist/src/modules/domain/environment/database-config.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/database-config.module.js.map +1 -1
- package/dist/src/modules/domain/environment/module.types.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/module.types.js.map +1 -1
- package/dist/src/modules/domain/environment/paths-config.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/paths-config.module.js.map +1 -1
- package/dist/src/modules/domain/environment/runtime-selector.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/runtime-selector.module.js.map +1 -1
- package/dist/src/modules/domain/environment/runtime-semantics.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/runtime-semantics.module.js.map +1 -1
- package/dist/src/modules/domain/module.types.d.ts.map +1 -1
- package/dist/src/modules/domain/module.types.js.map +1 -1
- package/dist/src/services/application/ai-use-declarations.service.d.ts +89 -0
- package/dist/src/services/application/ai-use-declarations.service.d.ts.map +1 -0
- package/dist/src/services/application/ai-use-declarations.service.js +178 -0
- package/dist/src/services/application/ai-use-declarations.service.js.map +1 -0
- package/dist/src/services/application/app-bootstrap.service.d.ts +6 -1
- package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.js +12 -1
- package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/app-env.service.d.ts.map +1 -1
- package/dist/src/services/application/app-env.service.js.map +1 -1
- package/dist/src/services/application/app-local-runtime-addresses.service.d.ts.map +1 -1
- package/dist/src/services/application/app-local-runtime-addresses.service.js.map +1 -1
- package/dist/src/services/application/app-runtime-targets.service.d.ts.map +1 -1
- package/dist/src/services/application/app-runtime-targets.service.js +6 -0
- package/dist/src/services/application/app-runtime-targets.service.js.map +1 -1
- package/dist/src/services/application/app-schema-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-schema-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.d.ts +6 -0
- package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.js +13 -1
- package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
- package/dist/src/services/application/application-browser-smoke.service.d.ts.map +1 -1
- package/dist/src/services/application/application-browser-smoke.service.js.map +1 -1
- package/dist/src/services/application/application-creation-readiness.service.d.ts +10 -2
- package/dist/src/services/application/application-creation-readiness.service.d.ts.map +1 -1
- package/dist/src/services/application/application-creation-readiness.service.js +74 -21
- package/dist/src/services/application/application-creation-readiness.service.js.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.d.ts +52 -4
- package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.js +118 -8
- package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -1
- package/dist/src/services/application/application-dev-port-offsets.d.ts.map +1 -1
- package/dist/src/services/application/application-dev-port-offsets.js.map +1 -1
- package/dist/src/services/application/application-initialization-verification.service.d.ts.map +1 -1
- package/dist/src/services/application/application-initialization-verification.service.js.map +1 -1
- package/dist/src/services/application/application-root.utils.d.ts.map +1 -1
- package/dist/src/services/application/application-root.utils.js.map +1 -1
- package/dist/src/services/application/application-runtime-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/application-runtime-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/backend-config.paths.d.ts.map +1 -1
- package/dist/src/services/application/backend-config.paths.js.map +1 -1
- package/dist/src/services/application/composition-provider-plan.service.d.ts.map +1 -1
- package/dist/src/services/application/composition-provider-plan.service.js.map +1 -1
- package/dist/src/services/application/content-guardrail-classifier.service.d.ts +80 -0
- package/dist/src/services/application/content-guardrail-classifier.service.d.ts.map +1 -0
- package/dist/src/services/application/content-guardrail-classifier.service.js +199 -0
- package/dist/src/services/application/content-guardrail-classifier.service.js.map +1 -0
- package/dist/src/services/application/creation-host-readiness.service.d.ts.map +1 -1
- package/dist/src/services/application/creation-host-readiness.service.js.map +1 -1
- package/dist/src/services/application/creation-preflight.service.d.ts +2 -2
- package/dist/src/services/application/creation-preflight.service.d.ts.map +1 -1
- package/dist/src/services/application/creation-preflight.service.js +2 -2
- package/dist/src/services/application/creation-preflight.service.js.map +1 -1
- package/dist/src/services/application/degraded-registration-declaration-convergence.service.d.ts.map +1 -1
- package/dist/src/services/application/degraded-registration-declaration-convergence.service.js.map +1 -1
- package/dist/src/services/application/dev-orchestrator.service.d.ts.map +1 -1
- package/dist/src/services/application/dev-orchestrator.service.js.map +1 -1
- package/dist/src/services/application/dev-schema-drift.service.d.ts.map +1 -1
- package/dist/src/services/application/dev-schema-drift.service.js +1 -1
- package/dist/src/services/application/dev-schema-drift.service.js.map +1 -1
- package/dist/src/services/application/environment-provider-configurations.service.d.ts.map +1 -1
- package/dist/src/services/application/environment-provider-configurations.service.js +96 -2
- package/dist/src/services/application/environment-provider-configurations.service.js.map +1 -1
- package/dist/src/services/application/existing-app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/existing-app-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/frontend-provider-sdk-declarations.service.d.ts +23 -0
- package/dist/src/services/application/frontend-provider-sdk-declarations.service.d.ts.map +1 -0
- package/dist/src/services/application/frontend-provider-sdk-declarations.service.js +107 -0
- package/dist/src/services/application/frontend-provider-sdk-declarations.service.js.map +1 -0
- package/dist/src/services/application/frontend-provider-source.service.d.ts.map +1 -1
- package/dist/src/services/application/frontend-provider-source.service.js.map +1 -1
- package/dist/src/services/application/frontend-providers-not-configured.service.d.ts +23 -0
- package/dist/src/services/application/frontend-providers-not-configured.service.d.ts.map +1 -0
- package/dist/src/services/application/frontend-providers-not-configured.service.js +62 -0
- package/dist/src/services/application/frontend-providers-not-configured.service.js.map +1 -0
- package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts +13 -2
- package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts.map +1 -1
- package/dist/src/services/application/frontend-public-config-secret-screen.service.js +4 -2
- package/dist/src/services/application/frontend-public-config-secret-screen.service.js.map +1 -1
- package/dist/src/services/application/local-app-reinit.service.d.ts.map +1 -1
- package/dist/src/services/application/local-app-reinit.service.js.map +1 -1
- package/dist/src/services/application/local-application-initialization.service.d.ts.map +1 -1
- package/dist/src/services/application/local-application-initialization.service.js.map +1 -1
- package/dist/src/services/application/provider-package-links.service.d.ts +7 -6
- package/dist/src/services/application/provider-package-links.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-package-links.service.js +7 -6
- package/dist/src/services/application/provider-package-links.service.js.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.d.ts +68 -9
- package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.js +264 -108
- package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
- package/dist/src/services/application/saas-scaffold.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-scaffold.service.js.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.d.ts +53 -0
- package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.js +45 -13
- package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
- package/dist/src/services/application/stored-declaration-currency.service.d.ts.map +1 -1
- package/dist/src/services/application/stored-declaration-currency.service.js.map +1 -1
- package/dist/src/services/application/systems-of-record-library.service.d.ts.map +1 -1
- package/dist/src/services/application/systems-of-record-library.service.js +4 -3
- package/dist/src/services/application/systems-of-record-library.service.js.map +1 -1
- package/dist/src/services/blueprint/blueprint-apply.service.d.ts +147 -0
- package/dist/src/services/blueprint/blueprint-apply.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-apply.service.js +490 -0
- package/dist/src/services/blueprint/blueprint-apply.service.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-artifact.service.d.ts +33 -0
- package/dist/src/services/blueprint/blueprint-artifact.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-artifact.service.js +88 -0
- package/dist/src/services/blueprint/blueprint-artifact.service.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-definition.reader.d.ts +37 -0
- package/dist/src/services/blueprint/blueprint-definition.reader.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-definition.reader.js +160 -0
- package/dist/src/services/blueprint/blueprint-definition.reader.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-export.service.d.ts +72 -0
- package/dist/src/services/blueprint/blueprint-export.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-export.service.js +899 -0
- package/dist/src/services/blueprint/blueprint-export.service.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-line.service.d.ts +76 -0
- package/dist/src/services/blueprint/blueprint-line.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-line.service.js +200 -0
- package/dist/src/services/blueprint/blueprint-line.service.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-module-references.service.d.ts +81 -0
- package/dist/src/services/blueprint/blueprint-module-references.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-module-references.service.js +185 -0
- package/dist/src/services/blueprint/blueprint-module-references.service.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-registry.service.d.ts +63 -0
- package/dist/src/services/blueprint/blueprint-registry.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-registry.service.js +119 -0
- package/dist/src/services/blueprint/blueprint-registry.service.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-report.d.ts +8 -0
- package/dist/src/services/blueprint/blueprint-report.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-report.js +32 -0
- package/dist/src/services/blueprint/blueprint-report.js.map +1 -0
- package/dist/src/services/blueprint/framework-blueprint-catalog.service.d.ts +31 -0
- package/dist/src/services/blueprint/framework-blueprint-catalog.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/framework-blueprint-catalog.service.js +65 -0
- package/dist/src/services/blueprint/framework-blueprint-catalog.service.js.map +1 -0
- package/dist/src/services/blueprint/framework-blueprints.service.d.ts +68 -0
- package/dist/src/services/blueprint/framework-blueprints.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/framework-blueprints.service.js +239 -0
- package/dist/src/services/blueprint/framework-blueprints.service.js.map +1 -0
- package/dist/src/services/catalog/service-address-resolver.service.d.ts +6 -0
- package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -1
- package/dist/src/services/catalog/service-address-resolver.service.js +4 -0
- package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.d.ts +7 -3
- package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.js +24 -3
- package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -1
- package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts.map +1 -1
- package/dist/src/services/coding-agents/acp-conformance-probe.service.js.map +1 -1
- package/dist/src/services/coding-agents/coding-agent-login.service.d.ts.map +1 -1
- package/dist/src/services/coding-agents/coding-agent-login.service.js.map +1 -1
- package/dist/src/services/companion/agent-stop-reason-words.d.ts +5 -0
- package/dist/src/services/companion/agent-stop-reason-words.d.ts.map +1 -0
- package/dist/src/services/companion/agent-stop-reason-words.js +25 -0
- package/dist/src/services/companion/agent-stop-reason-words.js.map +1 -0
- package/dist/src/services/companion/agent-work-shortfall-words.d.ts +8 -0
- package/dist/src/services/companion/agent-work-shortfall-words.d.ts.map +1 -0
- package/dist/src/services/companion/agent-work-shortfall-words.js +35 -0
- package/dist/src/services/companion/agent-work-shortfall-words.js.map +1 -0
- package/dist/src/services/companion/build-console.service.d.ts +50 -1
- package/dist/src/services/companion/build-console.service.d.ts.map +1 -1
- package/dist/src/services/companion/build-console.service.js +61 -6
- package/dist/src/services/companion/build-console.service.js.map +1 -1
- package/dist/src/services/companion/companion-client-options.utils.d.ts.map +1 -1
- package/dist/src/services/companion/companion-client-options.utils.js.map +1 -1
- package/dist/src/services/companion/companion-client.service.d.ts.map +1 -1
- package/dist/src/services/companion/companion-client.service.js.map +1 -1
- package/dist/src/services/companion/companion-health-hint.utils.d.ts.map +1 -1
- package/dist/src/services/companion/companion-health-hint.utils.js.map +1 -1
- package/dist/src/services/companion/companion-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/companion/companion-lifecycle.service.js.map +1 -1
- package/dist/src/services/companion/companion-local-token.utils.d.ts.map +1 -1
- package/dist/src/services/companion/companion-local-token.utils.js.map +1 -1
- package/dist/src/services/companion/companion.schemas.d.ts.map +1 -1
- package/dist/src/services/companion/companion.schemas.js.map +1 -1
- package/dist/src/services/companion/console-fast-path.d.ts.map +1 -1
- package/dist/src/services/companion/console-fast-path.js.map +1 -1
- package/dist/src/services/companion/console-verb.utils.d.ts.map +1 -1
- package/dist/src/services/companion/console-verb.utils.js +2 -1
- package/dist/src/services/companion/console-verb.utils.js.map +1 -1
- package/dist/src/services/companion/creation-console.service.d.ts.map +1 -1
- package/dist/src/services/companion/creation-console.service.js.map +1 -1
- package/dist/src/services/companion/creation-run-report.models.d.ts.map +1 -1
- package/dist/src/services/companion/creation-run-report.models.js.map +1 -1
- package/dist/src/services/companion/git-helper.service.d.ts.map +1 -1
- package/dist/src/services/companion/git-helper.service.js.map +1 -1
- package/dist/src/services/companion/local-companion-authority.service.d.ts.map +1 -1
- package/dist/src/services/companion/local-companion-authority.service.js.map +1 -1
- package/dist/src/services/companion/workbench-browser-launcher.service.d.ts.map +1 -1
- package/dist/src/services/companion/workbench-browser-launcher.service.js.map +1 -1
- package/dist/src/services/companion/workbench-cli.service.d.ts.map +1 -1
- package/dist/src/services/companion/workbench-cli.service.js.map +1 -1
- package/dist/src/services/compliance/data-retention-schedule.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/data-retention-schedule.generator.js.map +1 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts.map +1 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.js.map +1 -1
- package/dist/src/services/compliance/governed-document-releases.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/governed-document-releases.generator.js.map +1 -1
- package/dist/src/services/compliance/legal-notice.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/legal-notice.generator.js.map +1 -1
- package/dist/src/services/compliance/service-consent-requirement.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/service-consent-requirement.generator.js.map +1 -1
- package/dist/src/services/compliance/subject-data-recipients.generator.d.ts +5 -2
- package/dist/src/services/compliance/subject-data-recipients.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/subject-data-recipients.generator.js +7 -3
- package/dist/src/services/compliance/subject-data-recipients.generator.js.map +1 -1
- package/dist/src/services/context/context-manager.service.d.ts.map +1 -1
- package/dist/src/services/context/context-manager.service.js.map +1 -1
- package/dist/src/services/context/context.schemas.d.ts.map +1 -1
- package/dist/src/services/context/context.schemas.js.map +1 -1
- package/dist/src/services/context/machine-preferences.writer.d.ts.map +1 -1
- package/dist/src/services/context/machine-preferences.writer.js.map +1 -1
- package/dist/src/services/context/state-manager.service.d.ts.map +1 -1
- package/dist/src/services/context/state-manager.service.js.map +1 -1
- package/dist/src/services/credentials/application-secret-owners.service.d.ts.map +1 -1
- package/dist/src/services/credentials/application-secret-owners.service.js.map +1 -1
- package/dist/src/services/credentials/application-secrets.service.d.ts.map +1 -1
- package/dist/src/services/credentials/application-secrets.service.js +5 -7
- package/dist/src/services/credentials/application-secrets.service.js.map +1 -1
- package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts.map +1 -1
- package/dist/src/services/credentials/ci-secrets-adapter.service.js +2 -2
- package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts +5 -12
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.js +12 -0
- package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.d.ts +77 -0
- package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.js +69 -1
- package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
- package/dist/src/services/credentials/credentials.service.d.ts.map +1 -1
- package/dist/src/services/credentials/credentials.service.js.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.d.ts +77 -5
- package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.js +155 -1
- package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -1
- package/dist/src/services/credentials/local-defaults.service.d.ts.map +1 -1
- package/dist/src/services/credentials/local-defaults.service.js +2 -2
- package/dist/src/services/credentials/local-defaults.service.js.map +1 -1
- package/dist/src/services/credentials/local-secrets-store.service.d.ts +14 -2
- package/dist/src/services/credentials/local-secrets-store.service.d.ts.map +1 -1
- package/dist/src/services/credentials/local-secrets-store.service.js +29 -2
- package/dist/src/services/credentials/local-secrets-store.service.js.map +1 -1
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
- package/dist/src/services/credentials/provider-env-vars.utils.js +4 -0
- package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
- package/dist/src/services/credentials/provider-secret-format.d.ts.map +1 -1
- package/dist/src/services/credentials/provider-secret-format.js.map +1 -1
- package/dist/src/services/credentials/remote-secrets-store.service.d.ts.map +1 -1
- package/dist/src/services/credentials/remote-secrets-store.service.js.map +1 -1
- package/dist/src/services/credentials/secret-requirements.service.d.ts +144 -4
- package/dist/src/services/credentials/secret-requirements.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secret-requirements.service.js +467 -20
- package/dist/src/services/credentials/secret-requirements.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-provisioning.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-provisioning.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-reader.service.d.ts +6 -0
- package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-reader.service.js +13 -2
- package/dist/src/services/credentials/secrets-reader.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.js +3 -2
- package/dist/src/services/credentials/secrets-rotation.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-writer.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-writer.service.js.map +1 -1
- package/dist/src/services/data-services/data-services.schemas.d.ts +2 -1
- package/dist/src/services/data-services/data-services.schemas.d.ts.map +1 -1
- package/dist/src/services/data-services/data-services.schemas.js +5 -0
- package/dist/src/services/data-services/data-services.schemas.js.map +1 -1
- package/dist/src/services/data-services/data-services.service.d.ts.map +1 -1
- package/dist/src/services/data-services/data-services.service.js.map +1 -1
- package/dist/src/services/data-services/platform-key-vault.server-config.d.ts +79 -0
- package/dist/src/services/data-services/platform-key-vault.server-config.d.ts.map +1 -0
- package/dist/src/services/data-services/platform-key-vault.server-config.js +157 -0
- package/dist/src/services/data-services/platform-key-vault.server-config.js.map +1 -0
- package/dist/src/services/deployment/apps-manager-diagnostics.service.d.ts.map +1 -1
- package/dist/src/services/deployment/apps-manager-diagnostics.service.js.map +1 -1
- package/dist/src/services/deployment/ci-deploy-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/ci-deploy-generator.service.js.map +1 -1
- package/dist/src/services/deployment/ci-workflow-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/ci-workflow-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/backing-service-health-watch.js +4 -1
- package/dist/src/services/deployment/docker/backing-service-health-watch.js.map +1 -1
- package/dist/src/services/deployment/docker/compose-service-health.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/compose-service-health.js.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +9 -16
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js +67 -25
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts +15 -1
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.js +19 -6
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.js.map +1 -1
- package/dist/src/services/deployment/docker/docker.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker.schemas.js.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.js.map +1 -1
- package/dist/src/services/deployment/docker/local-data-adoption.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/local-data-adoption.service.js.map +1 -1
- package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/host-toolchain-readiness.service.js.map +1 -1
- package/dist/src/services/deployment/infra-writer.service.d.ts +1 -1
- package/dist/src/services/deployment/infra-writer.service.d.ts.map +1 -1
- package/dist/src/services/deployment/infra-writer.service.js +2 -2
- package/dist/src/services/deployment/infra-writer.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts +38 -0
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js +51 -2
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts +69 -0
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.js +103 -1
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts +1 -2
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +59 -45
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +26 -20
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts +26 -0
- package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-operations.service.js +79 -0
- package/dist/src/services/deployment/k8s/k8s-operations.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +19 -2
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s.schemas.d.ts +5 -2
- package/dist/src/services/deployment/k8s/k8s.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s.schemas.js +5 -2
- package/dist/src/services/deployment/k8s/k8s.schemas.js.map +1 -1
- package/dist/src/services/deployment/k8s/kind.service.d.ts +10 -6
- package/dist/src/services/deployment/k8s/kind.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/kind.service.js +3 -57
- package/dist/src/services/deployment/k8s/kind.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.js.map +1 -1
- package/dist/src/services/deployment/local-dev-log-retention.service.d.ts +45 -0
- package/dist/src/services/deployment/local-dev-log-retention.service.d.ts.map +1 -0
- package/dist/src/services/deployment/local-dev-log-retention.service.js +83 -0
- package/dist/src/services/deployment/local-dev-log-retention.service.js.map +1 -0
- package/dist/src/services/deployment/local-dev-observer-lifecycle.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-observer-lifecycle.js.map +1 -1
- package/dist/src/services/deployment/local-dev-output-boundary.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-output-boundary.js.map +1 -1
- package/dist/src/services/deployment/local-dev-session-lease.service.d.ts +2 -2
- package/dist/src/services/deployment/local-dev-session-lease.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-session-lease.service.js +2 -2
- package/dist/src/services/deployment/local-dev-session-lease.service.js.map +1 -1
- package/dist/src/services/deployment/local-dev-shutdown-coordinator.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-shutdown-coordinator.js.map +1 -1
- package/dist/src/services/deployment/local-infrastructure-initialization.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-infrastructure-initialization.service.js +20 -1
- package/dist/src/services/deployment/local-infrastructure-initialization.service.js.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.schemas.js.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts +14 -0
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.js +42 -0
- package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js.map +1 -1
- package/dist/src/services/deployment/platform-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/deployment/platform-lifecycle.service.js.map +1 -1
- package/dist/src/services/deployment/platform-runtime-policy.service.d.ts.map +1 -1
- package/dist/src/services/deployment/platform-runtime-policy.service.js.map +1 -1
- package/dist/src/services/deployment/version-compare.utils.d.ts.map +1 -1
- package/dist/src/services/deployment/version-compare.utils.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-command.service.d.ts +60 -0
- package/dist/src/services/design-tokens/design-tokens-command.service.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-command.service.js +317 -64
- package/dist/src/services/design-tokens/design-tokens-command.service.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-config.service.d.ts +21 -2
- package/dist/src/services/design-tokens/design-tokens-config.service.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-config.service.js +23 -40
- package/dist/src/services/design-tokens/design-tokens-config.service.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-config.template.d.ts +20 -0
- package/dist/src/services/design-tokens/design-tokens-config.template.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-config.template.js +47 -5
- package/dist/src/services/design-tokens/design-tokens-config.template.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-css-block.service.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-css-block.service.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts +28 -4
- package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-paths.service.js +67 -9
- package/dist/src/services/design-tokens/design-tokens-paths.service.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens.constants.d.ts +63 -0
- package/dist/src/services/design-tokens/design-tokens.constants.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens.constants.js +63 -0
- package/dist/src/services/design-tokens/design-tokens.constants.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens.models.d.ts +24 -0
- package/dist/src/services/design-tokens/design-tokens.models.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens.models.js +22 -0
- package/dist/src/services/design-tokens/design-tokens.models.js.map +1 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.d.ts.map +1 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.js.map +1 -1
- package/dist/src/services/environment/authored-infra-config.utils.d.ts +30 -0
- package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -1
- package/dist/src/services/environment/authored-infra-config.utils.js +47 -1
- package/dist/src/services/environment/authored-infra-config.utils.js.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.d.ts +4 -4
- package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.js +18 -12
- package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
- package/dist/src/services/environment/env-sync.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-sync.service.js +1 -1
- package/dist/src/services/environment/env-sync.service.js.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.js +201 -6
- package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
- package/dist/src/services/environment/environment-hydration.utils.d.ts.map +1 -1
- package/dist/src/services/environment/environment-hydration.utils.js +6 -0
- package/dist/src/services/environment/environment-hydration.utils.js.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
- package/dist/src/services/environment/environment-paths.service.d.ts +5 -7
- package/dist/src/services/environment/environment-paths.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-paths.service.js +5 -7
- package/dist/src/services/environment/environment-paths.service.js.map +1 -1
- package/dist/src/services/environment/environment-registry.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-registry.service.js.map +1 -1
- package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-setup.service.js +15 -19
- package/dist/src/services/environment/environment-setup.service.js.map +1 -1
- package/dist/src/services/environment/environment.schemas.d.ts +21 -3
- package/dist/src/services/environment/environment.schemas.d.ts.map +1 -1
- package/dist/src/services/environment/environment.schemas.js.map +1 -1
- package/dist/src/services/environment/environment.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment.service.js.map +1 -1
- package/dist/src/services/environment/hosted-infrastructure-leftovers.service.d.ts.map +1 -1
- package/dist/src/services/environment/hosted-infrastructure-leftovers.service.js.map +1 -1
- package/dist/src/services/environment/infrastructure-host.service.d.ts.map +1 -1
- package/dist/src/services/environment/infrastructure-host.service.js.map +1 -1
- package/dist/src/services/environment/platform-engine-change.utils.d.ts.map +1 -1
- package/dist/src/services/environment/platform-engine-change.utils.js.map +1 -1
- package/dist/src/services/environment/platform-runtime-state.service.d.ts.map +1 -1
- package/dist/src/services/environment/platform-runtime-state.service.js.map +1 -1
- package/dist/src/services/environment/platform-runtime.schemas.d.ts +36 -58
- package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -1
- package/dist/src/services/environment/platform-runtime.schemas.js +37 -58
- package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -1
- package/dist/src/services/environment/runtime-bootstrap.service.d.ts +17 -12
- package/dist/src/services/environment/runtime-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/environment/runtime-bootstrap.service.js +100 -23
- package/dist/src/services/environment/runtime-bootstrap.service.js.map +1 -1
- package/dist/src/services/framework/application-claude-settings.d.ts.map +1 -1
- package/dist/src/services/framework/application-claude-settings.js.map +1 -1
- package/dist/src/services/framework/application-provider-skills.service.d.ts +38 -0
- package/dist/src/services/framework/application-provider-skills.service.d.ts.map +1 -0
- package/dist/src/services/framework/application-provider-skills.service.js +189 -0
- package/dist/src/services/framework/application-provider-skills.service.js.map +1 -0
- package/dist/src/services/framework/application-rule-imports.d.ts +2 -1
- package/dist/src/services/framework/application-rule-imports.d.ts.map +1 -1
- package/dist/src/services/framework/application-rule-imports.js +25 -7
- package/dist/src/services/framework/application-rule-imports.js.map +1 -1
- package/dist/src/services/framework/auditable-event-catalog.generator.d.ts +49 -0
- package/dist/src/services/framework/auditable-event-catalog.generator.d.ts.map +1 -0
- package/dist/src/services/framework/auditable-event-catalog.generator.js +84 -0
- package/dist/src/services/framework/auditable-event-catalog.generator.js.map +1 -0
- package/dist/src/services/framework/claude-plugin-compiler.d.ts.map +1 -1
- package/dist/src/services/framework/claude-plugin-compiler.js.map +1 -1
- package/dist/src/services/framework/dev-compile-status.paths.d.ts.map +1 -1
- package/dist/src/services/framework/dev-compile-status.paths.js.map +1 -1
- package/dist/src/services/framework/enum-member-docs.reader.d.ts +33 -0
- package/dist/src/services/framework/enum-member-docs.reader.d.ts.map +1 -0
- package/dist/src/services/framework/enum-member-docs.reader.js +63 -0
- package/dist/src/services/framework/enum-member-docs.reader.js.map +1 -0
- package/dist/src/services/framework/flows-actors-realtime-catalog.generator.d.ts +30 -0
- package/dist/src/services/framework/flows-actors-realtime-catalog.generator.d.ts.map +1 -0
- package/dist/src/services/framework/flows-actors-realtime-catalog.generator.js +57 -0
- package/dist/src/services/framework/flows-actors-realtime-catalog.generator.js.map +1 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +6 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-development-skills-sync.service.js +64 -2
- package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
- package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-docker-publish.service.js +3 -2
- package/dist/src/services/framework/framework-docker-publish.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-application-guidance.validator.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-application-guidance.validator.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +0 -6
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.js +11 -36
- package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts +7 -3
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.js +79 -69
- package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts +6 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.js +13 -0
- package/dist/src/services/framework/framework-knowledge-scan.constants.js.map +1 -1
- package/dist/src/services/framework/framework-npm-dist-tag.service.d.ts +81 -0
- package/dist/src/services/framework/framework-npm-dist-tag.service.d.ts.map +1 -0
- package/dist/src/services/framework/framework-npm-dist-tag.service.js +149 -0
- package/dist/src/services/framework/framework-npm-dist-tag.service.js.map +1 -0
- package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-npm-publish.service.js +7 -5
- package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts +10 -36
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.js +15 -58
- package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
- package/dist/src/services/framework/framework-release.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-release.service.js +4 -1
- package/dist/src/services/framework/framework-release.service.js.map +1 -1
- package/dist/src/services/framework/framework-update.service.d.ts +6 -0
- package/dist/src/services/framework/framework-update.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-update.service.js +15 -1
- package/dist/src/services/framework/framework-update.service.js.map +1 -1
- package/dist/src/services/framework/framework-version.service.d.ts +2 -4
- package/dist/src/services/framework/framework-version.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-version.service.js +5 -7
- package/dist/src/services/framework/framework-version.service.js.map +1 -1
- package/dist/src/services/framework/frontend-component-catalog.generator.d.ts.map +1 -1
- package/dist/src/services/framework/frontend-component-catalog.generator.js.map +1 -1
- package/dist/src/services/framework/frontend-library-root-exports.d.ts.map +1 -1
- package/dist/src/services/framework/frontend-library-root-exports.js +3 -3
- package/dist/src/services/framework/frontend-library-root-exports.js.map +1 -1
- package/dist/src/services/framework/installed-framework-assets.service.d.ts.map +1 -1
- package/dist/src/services/framework/installed-framework-assets.service.js.map +1 -1
- package/dist/src/services/framework/npm-registry-output.d.ts.map +1 -1
- package/dist/src/services/framework/npm-registry-output.js.map +1 -1
- package/dist/src/services/framework/package-install.service.d.ts +9 -0
- package/dist/src/services/framework/package-install.service.d.ts.map +1 -1
- package/dist/src/services/framework/package-install.service.js +14 -0
- package/dist/src/services/framework/package-install.service.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/api-version-settlement.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/api-version-settlement.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/base-url-settlement.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/base-url-settlement.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-source.reader.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-source.reader.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-merge.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-merge.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.js +12 -4
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/request-helper-url.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/request-helper-url.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/sim-source.reader.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/sim-source.reader.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/url-template.extractor.js.map +1 -1
- package/dist/src/services/framework/registry-host/registry-host-monitoring.d.ts +43 -0
- package/dist/src/services/framework/registry-host/registry-host-monitoring.d.ts.map +1 -0
- package/dist/src/services/framework/registry-host/registry-host-monitoring.js +103 -0
- package/dist/src/services/framework/registry-host/registry-host-monitoring.js.map +1 -0
- package/dist/src/services/framework/registry-host/registry-host-remote.d.ts +29 -0
- package/dist/src/services/framework/registry-host/registry-host-remote.d.ts.map +1 -0
- package/dist/src/services/framework/registry-host/registry-host-remote.js +98 -0
- package/dist/src/services/framework/registry-host/registry-host-remote.js.map +1 -0
- package/dist/src/services/framework/registry-host/registry-host.service.d.ts +102 -0
- package/dist/src/services/framework/registry-host/registry-host.service.d.ts.map +1 -0
- package/dist/src/services/framework/registry-host/registry-host.service.js +318 -0
- package/dist/src/services/framework/registry-host/registry-host.service.js.map +1 -0
- package/dist/src/services/frontend/cloudflare-cdn.service.d.ts.map +1 -1
- package/dist/src/services/frontend/cloudflare-cdn.service.js.map +1 -1
- package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts.map +1 -1
- package/dist/src/services/frontend/frontend-dist-uploader.service.js.map +1 -1
- package/dist/src/services/frontend/frontend-look.service.d.ts +264 -0
- package/dist/src/services/frontend/frontend-look.service.d.ts.map +1 -0
- package/dist/src/services/frontend/frontend-look.service.js +640 -0
- package/dist/src/services/frontend/frontend-look.service.js.map +1 -0
- package/dist/src/services/frontend/frontend-publish.service.d.ts.map +1 -1
- package/dist/src/services/frontend/frontend-publish.service.js.map +1 -1
- package/dist/src/services/generation/domain-generator.service.d.ts.map +1 -1
- package/dist/src/services/generation/domain-generator.service.js.map +1 -1
- package/dist/src/services/generation/generator.schemas.d.ts.map +1 -1
- package/dist/src/services/generation/generator.schemas.js.map +1 -1
- package/dist/src/services/generation/operation-generator.service.d.ts.map +1 -1
- package/dist/src/services/generation/operation-generator.service.js.map +1 -1
- package/dist/src/services/generation/resource-generator.service.d.ts.map +1 -1
- package/dist/src/services/generation/resource-generator.service.js.map +1 -1
- package/dist/src/services/generation/template-registry.service.d.ts.map +1 -1
- package/dist/src/services/generation/template-registry.service.js.map +1 -1
- package/dist/src/services/registry/artifact-extractor.utils.d.ts +9 -4
- package/dist/src/services/registry/artifact-extractor.utils.d.ts.map +1 -1
- package/dist/src/services/registry/artifact-extractor.utils.js +16 -9
- package/dist/src/services/registry/artifact-extractor.utils.js.map +1 -1
- package/dist/src/services/registry/artifact-trust.utils.d.ts.map +1 -1
- package/dist/src/services/registry/artifact-trust.utils.js.map +1 -1
- package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -1
- package/dist/src/services/registry/boundary-fanout.utils.js +7 -2
- package/dist/src/services/registry/boundary-fanout.utils.js.map +1 -1
- package/dist/src/services/registry/git-ignored-paths.utils.d.ts.map +1 -1
- package/dist/src/services/registry/git-ignored-paths.utils.js.map +1 -1
- package/dist/src/services/registry/index.d.ts +0 -1
- package/dist/src/services/registry/index.d.ts.map +1 -1
- package/dist/src/services/registry/index.js +0 -1
- package/dist/src/services/registry/index.js.map +1 -1
- package/dist/src/services/registry/installed-file-state.utils.d.ts.map +1 -1
- package/dist/src/services/registry/installed-file-state.utils.js.map +1 -1
- package/dist/src/services/registry/installed-provider-module.service.d.ts +25 -0
- package/dist/src/services/registry/installed-provider-module.service.d.ts.map +1 -0
- package/dist/src/services/registry/installed-provider-module.service.js +56 -0
- package/dist/src/services/registry/installed-provider-module.service.js.map +1 -0
- package/dist/src/services/registry/local-checkout-module-source.service.d.ts +12 -10
- package/dist/src/services/registry/local-checkout-module-source.service.d.ts.map +1 -1
- package/dist/src/services/registry/local-checkout-module-source.service.js +60 -58
- package/dist/src/services/registry/local-checkout-module-source.service.js.map +1 -1
- package/dist/src/services/registry/migration-obligation.utils.d.ts.map +1 -1
- package/dist/src/services/registry/migration-obligation.utils.js.map +1 -1
- package/dist/src/services/registry/module-acquisition.utils.d.ts +6 -0
- package/dist/src/services/registry/module-acquisition.utils.d.ts.map +1 -1
- package/dist/src/services/registry/module-acquisition.utils.js +7 -0
- package/dist/src/services/registry/module-acquisition.utils.js.map +1 -1
- package/dist/src/services/registry/module-artifact-files.utils.d.ts.map +1 -1
- package/dist/src/services/registry/module-artifact-files.utils.js.map +1 -1
- package/dist/src/services/registry/module-install.service.d.ts +70 -0
- package/dist/src/services/registry/module-install.service.d.ts.map +1 -0
- package/dist/src/services/registry/module-install.service.js +199 -0
- package/dist/src/services/registry/module-install.service.js.map +1 -0
- package/dist/src/services/registry/module-publish.service.d.ts +49 -0
- package/dist/src/services/registry/module-publish.service.d.ts.map +1 -0
- package/dist/src/services/registry/module-publish.service.js +79 -0
- package/dist/src/services/registry/module-publish.service.js.map +1 -0
- package/dist/src/services/registry/module-registration.service.d.ts +26 -0
- package/dist/src/services/registry/module-registration.service.d.ts.map +1 -1
- package/dist/src/services/registry/module-registration.service.js +474 -20
- package/dist/src/services/registry/module-registration.service.js.map +1 -1
- package/dist/src/services/registry/module-requirements.service.d.ts +42 -2
- package/dist/src/services/registry/module-requirements.service.d.ts.map +1 -1
- package/dist/src/services/registry/module-requirements.service.js +133 -6
- package/dist/src/services/registry/module-requirements.service.js.map +1 -1
- package/dist/src/services/registry/provider-install-step.d.ts +77 -14
- package/dist/src/services/registry/provider-install-step.d.ts.map +1 -1
- package/dist/src/services/registry/provider-install-step.js +189 -4
- package/dist/src/services/registry/provider-install-step.js.map +1 -1
- package/dist/src/services/registry/provider-module-checks.service.d.ts +27 -4
- package/dist/src/services/registry/provider-module-checks.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-module-checks.service.js +513 -19
- package/dist/src/services/registry/provider-module-checks.service.js.map +1 -1
- package/dist/src/services/registry/provider-module-identity.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-module-identity.service.js.map +1 -1
- package/dist/src/services/registry/provider-module-scaffold.service.d.ts +156 -0
- package/dist/src/services/registry/provider-module-scaffold.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-module-scaffold.service.js +681 -0
- package/dist/src/services/registry/provider-module-scaffold.service.js.map +1 -0
- package/dist/src/services/registry/provider-module-vendor-packages.service.d.ts +84 -0
- package/dist/src/services/registry/provider-module-vendor-packages.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-module-vendor-packages.service.js +361 -0
- package/dist/src/services/registry/provider-module-vendor-packages.service.js.map +1 -0
- package/dist/src/services/registry/provider-openapi-conformance.service.d.ts +107 -0
- package/dist/src/services/registry/provider-openapi-conformance.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-openapi-conformance.service.js +484 -0
- package/dist/src/services/registry/provider-openapi-conformance.service.js.map +1 -0
- package/dist/src/services/registry/provider-probe.service.d.ts +84 -0
- package/dist/src/services/registry/provider-probe.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-probe.service.js +230 -0
- package/dist/src/services/registry/provider-probe.service.js.map +1 -0
- package/dist/src/services/registry/provider-publication.service.d.ts +35 -0
- package/dist/src/services/registry/provider-publication.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-publication.service.js +203 -0
- package/dist/src/services/registry/provider-publication.service.js.map +1 -0
- package/dist/src/services/registry/provider-vendor-registration.service.d.ts +73 -0
- package/dist/src/services/registry/provider-vendor-registration.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-vendor-registration.service.js +88 -0
- package/dist/src/services/registry/provider-vendor-registration.service.js.map +1 -0
- package/dist/src/services/registry/provider-wiring.service.d.ts +21 -2
- package/dist/src/services/registry/provider-wiring.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-wiring.service.js +90 -16
- package/dist/src/services/registry/provider-wiring.service.js.map +1 -1
- package/dist/src/services/registry/registry-command.utils.d.ts +19 -2
- package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -1
- package/dist/src/services/registry/registry-command.utils.js +35 -2
- package/dist/src/services/registry/registry-command.utils.js.map +1 -1
- package/dist/src/services/registry/registry-credentials.service.d.ts.map +1 -1
- package/dist/src/services/registry/registry-credentials.service.js.map +1 -1
- package/dist/src/services/registry/saas-root-required.error.d.ts.map +1 -1
- package/dist/src/services/registry/saas-root-required.error.js.map +1 -1
- package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
- package/dist/src/services/security/csp-sync.service.js +11 -30
- package/dist/src/services/security/csp-sync.service.js.map +1 -1
- package/dist/src/services/tools/utility-tools.service.d.ts.map +1 -1
- package/dist/src/services/tools/utility-tools.service.js.map +1 -1
- package/dist/src/services/tracker/creation-run-tracker.service.d.ts.map +1 -1
- package/dist/src/services/tracker/creation-run-tracker.service.js.map +1 -1
- package/dist/src/services/website/website-label-pack-audit.service.d.ts.map +1 -1
- package/dist/src/services/website/website-label-pack-audit.service.js.map +1 -1
- package/dist/src/services/website/website-look.service.d.ts +167 -0
- package/dist/src/services/website/website-look.service.d.ts.map +1 -0
- package/dist/src/services/website/website-look.service.js +430 -0
- package/dist/src/services/website/website-look.service.js.map +1 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts +5 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts.map +1 -1
- package/dist/src/services/website/website-structured-data-audit.service.js +20 -0
- package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
- package/dist/src/services/website/website-workspace.service.d.ts +16 -0
- package/dist/src/services/website/website-workspace.service.d.ts.map +1 -1
- package/dist/src/services/website/website-workspace.service.js +19 -2
- package/dist/src/services/website/website-workspace.service.js.map +1 -1
- package/framework-root-package.json +9 -2
- package/package.json +26 -19
- package/scripts/app-dependency-alignment/propagated-engine-overrides.json +4 -11
- package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +159 -5
- package/templates/infra/docker-images/platform/Dockerfile.platform-base +23 -5
- package/templates/infra/k8s/internal/minio/deployment.yaml.hbs +6 -1
- package/templates/infra/k8s/internal/openbao/configmap.yaml.hbs +20 -0
- package/templates/infra/k8s/internal/openbao/deployment.yaml.hbs +110 -0
- package/templates/infra/k8s/internal/openbao/service.yaml.hbs +20 -0
- package/templates/infra/k8s/platform/platform-apps-manager/deployment.yaml.hbs +23 -79
- package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +21 -75
- package/templates/infra/k8s/platform/platform-module-registry/deployment.yaml.hbs +22 -75
- package/templates/infra/k8s/storage/local/persistent-volumes.yaml.hbs +27 -0
- package/templates/infra/registry-host/Caddyfile +33 -0
- package/templates/infra/registry-host/backup.sh +73 -0
- package/templates/infra/registry-host/docker-compose.yml +328 -0
- package/templates/infra/registry-host/restore-check.sh +43 -0
- package/templates/infra/registry-host/wildo-registry-backup.service +15 -0
- package/templates/infra/registry-host/wildo-registry-backup.timer +12 -0
- package/templates/saas/blueprints/b2b-saas/blueprint.json +26 -0
- package/templates/saas/blueprints/internal-tool/blueprint.json +47 -0
- package/templates/saas/blueprints/service-firm/blueprint.json +57 -0
- package/templates/saas/i18n/email/components/EmailFooter.tsx +5 -3
- package/templates/saas/i18n/email/components/labels.en.ts +14 -0
- package/templates/saas/i18n/email/components/labels.fr.ts +13 -0
- package/templates/saas/i18n/email/email-template-definitions.ts +8 -0
- package/templates/saas/i18n/email/index.ts +1 -1
- package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationApiKeys/update.application-administrator/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/update.application-administrator/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/update.application-administrator/template.tsx +57 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationOAuthClients/deactivate.application-administrator/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/deactivate.application-administrator/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/deactivate.application-administrator/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/reactivate.application-administrator/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/reactivate.application-administrator/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/reactivate.application-administrator/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationOAuthClients/update.application-administrator/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/update.application-administrator/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/update.application-administrator/template.tsx +62 -0
- package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/create.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/update.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/create.organization-billing_payment-failed/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/create.organization-billing_payment-failed/labels.fr.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/create.organization-billing_payment-failed/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/update.organization-billing_payment-failed/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/update.organization-billing_payment-failed/labels.fr.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/update.organization-billing_payment-failed/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/template.tsx +9 -5
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-administrative_representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-administrative_representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-administrative_representing-organization/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/makeOwner.organization-administrative/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationMembers/makeOwner.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationMembers/makeOwner.organization-administrative/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-administrative_representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-administrative_representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-administrative_representing-organization/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.users-custom/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/stepDownAsOwner.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationMembers/stepDownAsOwner.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationMembers/stepDownAsOwner.organization-administrative/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-administrative_representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-administrative_representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-administrative_representing-organization/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.users-custom/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.admin.organization-administrative/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.admin.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.admin.organization-administrative/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.organization-administrative/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.organization-administrative/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.admin.organization-administrative/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.admin.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.admin.organization-administrative/template.tsx +62 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.organization-administrative/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.organization-administrative/template.tsx +62 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/setAutonomousAgents.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/setAutonomousAgents.organization-administrative/labels.fr.ts +25 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/setAutonomousAgents.organization-administrative/template.tsx +72 -0
- package/templates/saas/i18n/email/resources/organizationProviderCredentials/releaseRouting.organization-users/labels.en.ts +25 -0
- package/templates/saas/i18n/email/resources/organizationProviderCredentials/releaseRouting.organization-users/labels.fr.ts +25 -0
- package/templates/saas/i18n/email/resources/organizationProviderCredentials/releaseRouting.organization-users/template.tsx +68 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/accept.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/accept.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/accept.organization-administrative/template.tsx +66 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/amendScope.organization-administrative/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/amendScope.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/amendScope.organization-administrative/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/decline.organization-administrative/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/decline.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/decline.organization-administrative/template.tsx +62 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_granting-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_granting-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_granting-organization/template.tsx +55 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_representing-organization/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_representing-organization/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_representing-organization/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-granting-organization/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-granting-organization/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-granting-organization/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-representing-organization/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-representing-organization/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-representing-organization/template.tsx +65 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_granting-organization/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_granting-organization/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_granting-organization/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_representing-organization/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_representing-organization/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_representing-organization/template.tsx +66 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_granting-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_granting-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_granting-organization/template.tsx +56 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_representing-organization/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/propose.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/propose.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/propose.organization-administrative/template.tsx +66 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/propose.withOperator.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/propose.withOperator.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/propose.withOperator.organization-administrative/template.tsx +66 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-granting-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-granting-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-granting-organization/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-representing-organization/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-granting-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-granting-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-granting-organization/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-representing-organization/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-granting-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-granting-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-granting-organization/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-representing-organization/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-granting-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-granting-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-granting-organization/template.tsx +56 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-representing-organization/template.tsx +59 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-granting-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-granting-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-granting-organization/template.tsx +57 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-representing-organization/template.tsx +59 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/resume.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/resume.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/resume.organization-administrative/template.tsx +66 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/suspend.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/suspend.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/suspend.organization-administrative/template.tsx +66 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/terminate.organization-administrative/labels.en.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/terminate.organization-administrative/labels.fr.ts +25 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/terminate.organization-administrative/template.tsx +73 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/accept.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/accept.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/accept.organization-administrative/template.tsx +64 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/propose.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/propose.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/propose.organization-administrative/template.tsx +64 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdraw.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdraw.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdraw.organization-administrative/template.tsx +64 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_granting-organization/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_granting-organization/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_granting-organization/template.tsx +65 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_representing-organization/template.tsx +56 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/cancel.organization-billing_subscription-ending/labels.en.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/cancel.organization-billing_subscription-ending/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/cancel.organization-billing_subscription-ending/template.tsx +56 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/create.organization-billing_subscription-started/labels.en.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/create.organization-billing_subscription-started/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/create.organization-billing_subscription-started/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-ending/labels.en.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-ending/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-ending/template.tsx +56 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-started/labels.en.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-started/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-started/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/changeType.organization-administrative/labels.en.ts +26 -0
- package/templates/saas/i18n/email/resources/organizations/changeType.organization-administrative/labels.fr.ts +29 -0
- package/templates/saas/i18n/email/resources/organizations/changeType.organization-administrative/template.tsx +79 -0
- package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/create.user-self/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/restore.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/platformAccessGrants/approve.users-custom_operator/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/approve.users-custom_operator/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/approve.users-custom_operator/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/deny.users-custom_operator/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/deny.users-custom_operator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/deny.users-custom_operator/template.tsx +55 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/platformAccessGrants/revoke.users-custom_operator/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/revoke.users-custom_operator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/revoke.users-custom_operator/template.tsx +55 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/expire.organization-administrative_expired/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/expire.organization-administrative_expired/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/expire.organization-administrative_expired/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/expire.users-custom_holder/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/expire.users-custom_holder/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/expire.users-custom_holder/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/revoke.users-custom_holder/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/revoke.users-custom_holder/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/revoke.users-custom_holder/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/verify.users-custom_holder/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/verify.users-custom_holder/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/verify.users-custom_holder/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.organization-administrative_expiring/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.organization-administrative_expiring/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.organization-administrative_expiring/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.users-custom_holder/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.users-custom_holder/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.users-custom_holder/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/expire.organization-administrative/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/expire.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/expire.organization-administrative/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grant.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grant.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grant.organization-administrative/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grantSecurityCritical.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grantSecurityCritical.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grantSecurityCritical.organization-administrative/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/revoke.organization-administrative/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/revoke.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/revoke.organization-administrative/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/assign.organization-administrative/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/assign.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/assign.organization-administrative/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/settleGrantorApproval.organization-administrative/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/settleGrantorApproval.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/settleGrantorApproval.organization-administrative/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/unassign.organization-administrative/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/unassign.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/unassign.organization-administrative/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/userInvoiceRefs/create.users-custom_payment-failed/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/userInvoiceRefs/create.users-custom_payment-failed/labels.fr.ts +18 -0
- package/templates/saas/i18n/email/resources/userInvoiceRefs/create.users-custom_payment-failed/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/userInvoiceRefs/update.users-custom_payment-failed/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/userInvoiceRefs/update.users-custom_payment-failed/labels.fr.ts +18 -0
- package/templates/saas/i18n/email/resources/userInvoiceRefs/update.users-custom_payment-failed/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/cancel.users-custom_subscription-ending/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/cancel.users-custom_subscription-ending/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/cancel.users-custom_subscription-ending/template.tsx +54 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/create.users-custom_subscription-started/labels.en.ts +22 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/create.users-custom_subscription-started/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/create.users-custom_subscription-started/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-ending/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-ending/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-ending/template.tsx +54 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-started/labels.en.ts +22 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-started/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-started/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/create.application-administrator/template.tsx +7 -7
- package/templates/saas/i18n/email/resources/users/delete.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/update.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/system/new-device-login/labels.en.ts +6 -8
- package/templates/saas/i18n/email/system/new-device-login/labels.fr.ts +6 -8
- package/templates/saas/i18n/email/system/new-device-login/template.tsx +25 -26
- package/templates/saas/i18n/email/system/operation-approval-ended/labels.en.ts +40 -0
- package/templates/saas/i18n/email/system/operation-approval-ended/labels.fr.ts +43 -0
- package/templates/saas/i18n/email/system/operation-approval-ended/template.tsx +72 -0
- package/templates/saas/i18n/email/system/relationship-invitation/labels.en.ts +18 -0
- package/templates/saas/i18n/email/system/relationship-invitation/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/system/relationship-invitation/template.tsx +66 -0
- package/templates/saas/i18n/email/system/security-alert/labels.en.ts +5 -0
- package/templates/saas/i18n/email/system/security-alert/labels.fr.ts +13 -8
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_COMMAND_MENU.en.ts +2 -2
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_COMMAND_MENU.fr.ts +2 -2
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.ts +5 -5
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.fr.ts +5 -5
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_SIDEBAR.en.ts +3 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_SIDEBAR.fr.ts +3 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_STATUS_BAR.en.ts +1 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_STATUS_BAR.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.en.ts +6 -2
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.ts +6 -2
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_UTILITY_PANEL.en.ts +0 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_UTILITY_PANEL.fr.ts +0 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS.en.ts +28 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS.fr.ts +28 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.en.ts +55 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.fr.ts +55 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.ts +47 -10
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.ts +47 -10
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.ts +12 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.fr.ts +12 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.en.ts +38 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.fr.ts +38 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.en.ts +11 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.ts +11 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SETTINGS_HUB.en.ts +2 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SETTINGS_HUB.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.ts +1 -9
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.fr.ts +1 -9
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ACTOR.en.ts +5 -10
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ACTOR.fr.ts +5 -10
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.en.ts +28 -9
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.fr.ts +28 -9
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.ts +92 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.ts +92 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DECISION.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DECISION.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DIFF_BLOCK.en.ts +5 -5
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DIFF_BLOCK.fr.ts +5 -5
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.ts +4 -7
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_PLAN.fr.ts +4 -7
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_USAGE.en.ts +21 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_USAGE.fr.ts +21 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.ts +2 -9
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_EXECUTION.fr.ts +2 -9
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_NODE.en.ts +1 -9
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_NODE.fr.ts +1 -9
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_GRAPH_VIEWER.en.ts +29 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_GRAPH_VIEWER.fr.ts +29 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.ts +3 -2
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.fr.ts +3 -2
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.ts +5 -4
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.fr.ts +5 -4
- package/templates/saas/i18n/engine/components/LOW_LEVEL_CHIPS_INPUT.en.ts +14 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_CHIPS_INPUT.fr.ts +14 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.ts +2 -3
- package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.ts +2 -3
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATEPICKER.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATEPICKER.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_PICKER.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_PICKER.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_RANGE_PICKER.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATE_RANGE_PICKER.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATE_RANGE_PICKER.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_LIMIT_INDICATOR.en.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_LIMIT_INDICATOR.fr.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.ts +2 -2
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.fr.ts +2 -2
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FILE_UPLOAD.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FILE_UPLOAD.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.en.ts +14 -4
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.fr.ts +14 -4
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_CODE.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_CODE.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_DURATION.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_DURATION.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.en.ts +5 -5
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.fr.ts +5 -5
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_MONEY.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_MONEY.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_RANGE_MONEY.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_RANGE_MONEY.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_MESSAGE.en.ts +6 -6
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_MESSAGE.fr.ts +6 -6
- package/templates/saas/i18n/engine/components/LOW_LEVEL_SELECT_MULTIPLE.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_SELECT_MULTIPLE.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_STEPPER.en.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_STEPPER.fr.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_TIME_RANGE_PICKER.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_TIME_RANGE_PICKER.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.en.ts +31 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.fr.ts +31 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_LEGAL_NOTICE.en.ts +29 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_LEGAL_NOTICE.fr.ts +29 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.en.ts +5 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.fr.ts +5 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_INVITATION.en.ts +2 -2
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_INVITATION.fr.ts +2 -2
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.ts +2 -2
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.fr.ts +2 -2
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_REGISTER.en.ts +2 -2
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_REGISTER.fr.ts +2 -2
- package/templates/saas/i18n/engine/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.ts +5 -2
- package/templates/saas/i18n/engine/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.fr.ts +5 -2
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_ACTION.en.ts +2 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_ACTION.fr.ts +3 -2
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_CREATE.en.ts +3 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_CREATE.fr.ts +3 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.en.ts +4 -5
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.fr.ts +4 -5
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.ts +5 -5
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.fr.ts +6 -6
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.ts +6 -5
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.fr.ts +6 -5
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_RECORD_SHARING.en.ts +29 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_RECORD_SHARING.fr.ts +29 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_SEARCH.en.ts +0 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_SEARCH.fr.ts +0 -1
- package/templates/saas/i18n/engine/components/guidance_checklist.en.ts +1 -1
- package/templates/saas/i18n/engine/components/guidance_checklist.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/progression_milestone_tracker.en.ts +1 -1
- package/templates/saas/i18n/engine/components/progression_milestone_tracker.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/actorSystemExecutions.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/actorSystemExecutions.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/actorTasks.en.ts +397 -0
- package/templates/saas/i18n/engine/resources/actorTasks.fr.ts +397 -0
- package/templates/saas/i18n/engine/resources/anonymous_users.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/anonymous_users.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.en.ts +55 -0
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.fr.ts +55 -0
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/applicationApiKeys.en.ts +5 -2
- package/templates/saas/i18n/engine/resources/applicationApiKeys.fr.ts +35 -32
- package/templates/saas/i18n/engine/resources/applicationAuditLogs.en.ts +20 -4
- package/templates/saas/i18n/engine/resources/applicationAuditLogs.fr.ts +20 -4
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.en.ts +405 -21
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.fr.ts +405 -21
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.en.ts +104 -0
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.fr.ts +104 -0
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.en.ts +5 -2
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.fr.ts +23 -20
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.en.ts +14 -0
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.fr.ts +14 -0
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.en.ts +43 -24
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.fr.ts +43 -24
- package/templates/saas/i18n/engine/resources/applicationWebhookConfig.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/applicationWebhookConfig.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/applications.en.ts +336 -0
- package/templates/saas/i18n/engine/resources/applications.fr.ts +336 -0
- package/templates/saas/i18n/engine/resources/auditLogs.en.ts +39 -7
- package/templates/saas/i18n/engine/resources/auditLogs.fr.ts +39 -7
- package/templates/saas/i18n/engine/resources/chatConversations.en.ts +486 -0
- package/templates/saas/i18n/engine/resources/chatConversations.fr.ts +486 -0
- package/templates/saas/i18n/engine/resources/chatIdentityLinks.en.ts +271 -0
- package/templates/saas/i18n/engine/resources/chatIdentityLinks.fr.ts +271 -0
- package/templates/saas/i18n/engine/resources/consumableTokens.en.ts +10 -2
- package/templates/saas/i18n/engine/resources/consumableTokens.fr.ts +10 -2
- package/templates/saas/i18n/engine/resources/dataSeedRuns.en.ts +140 -11
- package/templates/saas/i18n/engine/resources/dataSeedRuns.fr.ts +140 -11
- package/templates/saas/i18n/engine/resources/documentSequenceCounters.en.ts +69 -0
- package/templates/saas/i18n/engine/resources/documentSequenceCounters.fr.ts +69 -0
- package/templates/saas/i18n/engine/resources/etlPipelineStates.en.ts +46 -1
- package/templates/saas/i18n/engine/resources/etlPipelineStates.fr.ts +46 -1
- package/templates/saas/i18n/engine/resources/evaluationDatasetExports.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/evaluationDatasetExports.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.en.ts +72 -48
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.fr.ts +72 -48
- package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.en.ts +2 -1
- package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.fr.ts +2 -1
- package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.en.ts +26 -3
- package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.fr.ts +26 -3
- package/templates/saas/i18n/engine/resources/externalDataPipelineRequestedKeys.en.ts +160 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineRequestedKeys.fr.ts +160 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.en.ts +180 -2
- package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.fr.ts +180 -2
- package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.en.ts +24 -0
- package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.fr.ts +24 -0
- package/templates/saas/i18n/engine/resources/humanDecisionNoticeStays.en.ts +422 -0
- package/templates/saas/i18n/engine/resources/humanDecisionNoticeStays.fr.ts +422 -0
- package/templates/saas/i18n/engine/resources/jobExecutions.en.ts +153 -7
- package/templates/saas/i18n/engine/resources/jobExecutions.fr.ts +153 -7
- package/templates/saas/i18n/engine/resources/jobPayloadStorage.en.ts +2 -1
- package/templates/saas/i18n/engine/resources/jobPayloadStorage.fr.ts +2 -1
- package/templates/saas/i18n/engine/resources/legalHolds.en.ts +23 -0
- package/templates/saas/i18n/engine/resources/legalHolds.fr.ts +23 -0
- package/templates/saas/i18n/engine/resources/modelCallAttributions.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/modelCallAttributions.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/oauthConsentGrants.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/oauthConsentGrants.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/operationApprovalRequests.en.ts +478 -0
- package/templates/saas/i18n/engine/resources/operationApprovalRequests.fr.ts +478 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/organizationApiKeys.en.ts +5 -2
- package/templates/saas/i18n/engine/resources/organizationApiKeys.fr.ts +36 -33
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/organizationChatSettings.en.ts +153 -0
- package/templates/saas/i18n/engine/resources/organizationChatSettings.fr.ts +153 -0
- package/templates/saas/i18n/engine/resources/organizationEmailDomains.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationFeatures.en.ts +0 -9
- package/templates/saas/i18n/engine/resources/organizationFeatures.fr.ts +0 -9
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.en.ts +405 -21
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.fr.ts +405 -21
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.en.ts +104 -0
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.fr.ts +104 -0
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/organizationMembers.en.ts +13 -5
- package/templates/saas/i18n/engine/resources/organizationMembers.fr.ts +31 -23
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.en.ts +5 -2
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.fr.ts +18 -15
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.en.ts +19 -0
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.fr.ts +19 -0
- package/templates/saas/i18n/engine/resources/{serviceProviderRelationships.en.ts → organizationRelationships.en.ts} +220 -37
- package/templates/saas/i18n/engine/resources/{serviceProviderRelationships.fr.ts → organizationRelationships.fr.ts} +204 -21
- package/templates/saas/i18n/engine/resources/{serviceEngagements.en.ts → organizationRepresentations.en.ts} +97 -84
- package/templates/saas/i18n/engine/resources/{serviceEngagements.fr.ts → organizationRepresentations.fr.ts} +75 -62
- package/templates/saas/i18n/engine/resources/organizationScimTokens.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/organizationScimTokens.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.en.ts +14 -0
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.fr.ts +14 -0
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.en.ts +68 -49
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.fr.ts +68 -49
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.en.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.fr.ts +9 -9
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/organizations.en.ts +71 -11
- package/templates/saas/i18n/engine/resources/organizations.fr.ts +71 -11
- package/templates/saas/i18n/engine/resources/platformAccessGrants.en.ts +42 -0
- package/templates/saas/i18n/engine/resources/platformAccessGrants.fr.ts +42 -0
- package/templates/saas/i18n/engine/resources/promotions.en.ts +28 -0
- package/templates/saas/i18n/engine/resources/promotions.fr.ts +28 -0
- package/templates/saas/i18n/engine/resources/providerCallRecords.en.ts +50 -0
- package/templates/saas/i18n/engine/resources/providerCallRecords.fr.ts +50 -0
- package/templates/saas/i18n/engine/resources/{serviceProviderCapabilityGrants.en.ts → relationshipCapabilityGrants.en.ts} +19 -3
- package/templates/saas/i18n/engine/resources/{serviceProviderCapabilityGrants.fr.ts → relationshipCapabilityGrants.fr.ts} +40 -24
- package/templates/saas/i18n/engine/resources/{serviceProviderActivityFeed.en.ts → relationshipInvitations.en.ts} +137 -55
- package/templates/saas/i18n/engine/resources/{serviceProviderActivityFeed.fr.ts → relationshipInvitations.fr.ts} +137 -55
- package/templates/saas/i18n/engine/resources/{clientMailboxes.en.ts → relationshipMailboxes.en.ts} +35 -35
- package/templates/saas/i18n/engine/resources/{clientMailboxes.fr.ts → relationshipMailboxes.fr.ts} +39 -39
- package/templates/saas/i18n/engine/resources/{serviceEngagementAssignments.en.ts → representativeAssignments.en.ts} +43 -6
- package/templates/saas/i18n/engine/resources/{serviceEngagementAssignments.fr.ts → representativeAssignments.fr.ts} +43 -6
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/userBillingAccounts.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/userBillingAccounts.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.en.ts +405 -21
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.fr.ts +405 -21
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/userIdentityLinks.en.ts +19 -0
- package/templates/saas/i18n/engine/resources/userIdentityLinks.fr.ts +19 -0
- package/templates/saas/i18n/engine/resources/userPreferences.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/userPreferences.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/userSelfPreferences.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/userSelfPreferences.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/user_self.en.ts +112 -38
- package/templates/saas/i18n/engine/resources/user_self.fr.ts +125 -51
- package/templates/saas/i18n/engine/resources/users.en.ts +15 -15
- package/templates/saas/i18n/engine/resources/users.fr.ts +11 -11
- package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.en.ts +27 -11
- package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.fr.ts +27 -3
- package/templates/saas/i18n/engine/resources/workbenchBrandNameCandidates.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandNameCandidates.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandNameJurisdictions.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandNameJurisdictions.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandNameNiceClasses.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandNameNiceClasses.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandNames.en.ts +27 -11
- package/templates/saas/i18n/engine/resources/workbenchBrandNames.fr.ts +27 -3
- package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.en.ts +27 -11
- package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.fr.ts +27 -3
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.en.ts +24 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.fr.ts +24 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.en.ts +209 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.fr.ts +209 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildTaskRecords.en.ts +702 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildTaskRecords.fr.ts +702 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.en.ts +120 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.fr.ts +120 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanLifecycles.en.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanLifecycles.fr.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.en.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.fr.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.en.ts +64 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.fr.ts +64 -0
- package/templates/saas/i18n/engine/resources/workbenchDossierEntries.en.ts +183 -0
- package/templates/saas/i18n/engine/resources/workbenchDossierEntries.fr.ts +183 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceHomes.en.ts +254 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceHomes.fr.ts +254 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceViews.en.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceViews.fr.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.en.ts +40 -0
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.fr.ts +40 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketPains.en.ts +58 -34
- package/templates/saas/i18n/engine/resources/workbenchMarketPains.fr.ts +58 -26
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.en.ts +40 -0
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.fr.ts +40 -0
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.en.ts +96 -0
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.fr.ts +96 -0
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.en.ts +736 -0
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.fr.ts +736 -0
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.en.ts +40 -0
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.fr.ts +40 -0
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.en.ts +232 -0
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.fr.ts +232 -0
- package/templates/saas/scenarios/add-3d-layout/scenario.json +2 -2
- package/templates/saas/scenarios/add-custom-operation/files/backend-api/src/modules/__moduleDir__/resources/__resourceDir__/__resourceDir__.__operationIdentifier__.default.operation.ts.hbs +1 -1
- package/templates/saas/scenarios/add-custom-operation/scenario.json +1 -0
- package/templates/saas/scenarios/add-environment/files/infrastructure/__envName__/wildo.infra.remote.config.ts.hbs +4 -4
- package/templates/saas/scenarios/add-file-picker-provider/files/frontend/src/engine/providers/__providerRef__.frontend-app.module.ts.hbs +1 -1
- package/templates/saas/scenarios/add-file-picker-provider/scenario.json +2 -0
- package/templates/saas/scenarios/add-locale/files/website/src/i18n/__localePath__.json.hbs +16 -9
- package/templates/saas/scenarios/add-locale/files/website/src/pages/__localePath__/index.astro +5 -2
- package/templates/saas/scenarios/add-locale/scenario.json +5 -3
- package/templates/saas/scenarios/add-marketing-page/files/website/src/pages/__pageRef__.astro.hbs +5 -2
- package/templates/saas/scenarios/add-marketing-page/files/website/src/pages-impl/__pageRef__.bridge.tsx.hbs +2 -0
- package/templates/saas/scenarios/add-marketing-page/files/website/src/sections/__pageRef__.sections.tsx.hbs +16 -44
- package/templates/saas/scenarios/add-marketing-page/scenario.json +72 -18
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/package.json.hbs +4 -4
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/src/application-initialization.ts.hbs +6 -1
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/wildo.minion.config.ts.hbs +4 -4
- package/templates/saas/scenarios/add-minion/scenario.json +3 -3
- package/templates/saas/scenarios/add-module/files/frontend/src/modules/__moduleId__/app-shell.module.frontend.ts.hbs +2 -0
- package/templates/saas/scenarios/add-module/files/specifications/src/modules/__moduleId__/index.ts.hbs +2 -2
- package/templates/saas/scenarios/add-module/scenario.json +2 -0
- package/templates/saas/scenarios/add-resource/files/shared-lib/src/modules/__moduleId__/resources/__resourceDir__/__resourceDir__.schemas.ts.hbs +1 -1
- package/templates/saas/scenarios/add-resource/files/specifications/src/modules/__moduleId__/resources/__resourceDir__.resource.specification.ts.hbs +7 -7
- package/templates/saas/scenarios/add-resource/scenario.json +2 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +10 -4
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/package.json.hbs +4 -3
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/scripts/substitute-api-origin.mjs +64 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/plugins/api-reference-pages.ts +11 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/wildo.tech-doc.config.ts.hbs +2 -2
- package/templates/saas/scenarios/add-technical-doc/scenario.json +2 -2
- package/templates/saas/scenarios/add-website/files/website/astro.config.ts.hbs +49 -6
- package/templates/saas/scenarios/add-website/files/website/package.json.hbs +1 -1
- package/templates/saas/scenarios/add-website/files/website/src/app-origin.ts.hbs +8 -6
- package/templates/saas/scenarios/add-website/files/website/src/brand-theme.ts +66 -0
- package/templates/saas/scenarios/add-website/files/website/src/components/FooterComponent.tsx.hbs +25 -20
- package/templates/saas/scenarios/add-website/files/website/src/components/HeaderComponent.tsx +15 -100
- package/templates/saas/scenarios/add-website/files/website/src/components/index.ts +9 -7
- package/templates/saas/scenarios/add-website/files/website/src/i18n/en.json.hbs +15 -9
- package/templates/saas/scenarios/add-website/files/website/src/pages/index.astro +5 -2
- package/templates/saas/scenarios/add-website/files/website/src/pages-impl/landing.bridge.tsx +3 -1
- package/templates/saas/scenarios/add-website/files/website/src/sections/index.ts +5 -9
- package/templates/saas/scenarios/add-website/files/website/src/sections/landing.sections.tsx +22 -58
- package/templates/saas/scenarios/add-website/files/website/src/site-menu.ts +47 -0
- package/templates/saas/scenarios/add-website/files/website/src/styles/website.css +46 -411
- package/templates/saas/scenarios/add-website/files/website/src/website-root.config.ts.hbs +34 -45
- package/templates/saas/scenarios/add-website/files/website/wildo.website.config.ts.hbs +5 -4
- package/templates/saas/scenarios/add-website/scenario.json +1 -1
- package/templates/saas/scenarios/add-website-section/scenario.json +17 -7
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/package.json.hbs +2 -2
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/wildo.worker.config.ts.hbs +3 -3
- package/templates/saas/scenarios/add-worker-node/scenario.json +1 -1
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Cargo.toml.hbs +1 -1
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/main.rs.hbs +9 -2
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/wildo.worker.config.ts.hbs +3 -3
- package/templates/saas/skeleton/CLAUDE.md.hbs +8 -0
- package/templates/saas/skeleton/backend-api/Dockerfile +2 -1
- package/templates/saas/skeleton/backend-api/src/bootstrap-config.ts +13 -4
- package/templates/saas/skeleton/backend-api/src/engine/email/email-template-definitions.ts +8 -0
- package/templates/saas/skeleton/backend-api/src/engine/email/index.ts +1 -1
- package/templates/saas/skeleton/backend-api/src/engine/index.ts +2 -1
- package/templates/saas/skeleton/backend-api/src/modules-registry.backend.ts.hbs +5 -0
- package/templates/saas/skeleton/frontend/src/config/app-shell.config.ts +2 -13
- package/templates/saas/skeleton/frontend/src/config/design-system.config.ts +35 -125
- package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +14 -12
- package/templates/saas/skeleton/frontend/src/index.css.hbs +145 -130
- package/templates/saas/skeleton/frontend/src/modules-registry.frontend.ts.hbs +2 -0
- package/templates/saas/skeleton/frontend/vite.config.ts.hbs +35 -0
- package/templates/saas/skeleton/gitignore +1 -0
- package/templates/saas/skeleton/wildo.saas.config.ts.init.hbs +53 -20
- package/wildo-framework.info.json +1 -1
- package/dist/src/services/registry/registry-config-resolver.service.d.ts +0 -62
- package/dist/src/services/registry/registry-config-resolver.service.d.ts.map +0 -1
- package/dist/src/services/registry/registry-config-resolver.service.js +0 -148
- package/dist/src/services/registry/registry-config-resolver.service.js.map +0 -1
- package/dist/tsconfig.build.tsbuildinfo +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/templates/saas/i18n/email/system/organization-invitation/labels.en.ts +0 -15
- package/templates/saas/i18n/email/system/organization-invitation/labels.fr.ts +0 -21
- package/templates/saas/i18n/email/system/organization-invitation/template.tsx +0 -66
- package/templates/saas/i18n/email/system/payment-failed/labels.en.ts +0 -16
- package/templates/saas/i18n/email/system/payment-failed/labels.fr.ts +0 -21
- package/templates/saas/i18n/email/system/payment-failed/template.tsx +0 -59
- package/templates/saas/i18n/email/system/subscription-cancelled/labels.en.ts +0 -15
- package/templates/saas/i18n/email/system/subscription-cancelled/labels.fr.ts +0 -20
- package/templates/saas/i18n/email/system/subscription-cancelled/template.tsx +0 -56
- package/templates/saas/i18n/email/system/subscription-confirmation/labels.en.ts +0 -14
- package/templates/saas/i18n/email/system/subscription-confirmation/labels.fr.ts +0 -21
- package/templates/saas/i18n/email/system/subscription-confirmation/template.tsx +0 -60
- package/templates/saas/i18n/engine/resources/applicationScimTokens.en.ts +0 -240
- package/templates/saas/i18n/engine/resources/applicationScimTokens.fr.ts +0 -345
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.en.ts +0 -209
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.fr.ts +0 -209
- package/templates/saas/i18n/engine/resources/wildoApplication.en.ts +0 -590
- package/templates/saas/i18n/engine/resources/wildoApplication.fr.ts +0 -574
- package/templates/saas/i18n/engine/resources/wildoApplicationVersions.en.ts +0 -293
- package/templates/saas/i18n/engine/resources/wildoApplicationVersions.fr.ts +0 -293
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ci-deploy-generator.service.js","sourceRoot":"","sources":["../../../../src/services/deployment/ci-deploy-generator.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAQ5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,0DAA0D,CAAC;AAClG,OAAO,EAAE,uBAAuB,EAAE,MAAM,qEAAqE,CAAC;AAC9G,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,8DAA8D,CAAC;AAC1H,OAAO,EAAE,kBAAkB,EAAE,MAAM,kEAAkE,CAAC;AACtG,OAAO,EAAE,oBAAoB,EAAE,MAAM,mEAAmE,CAAC;AACzG,OAAO,EAAE,kBAAkB,EAAE,MAAM,6DAA6D,CAAC;AACjG,OAAO,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AACpF,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,iBAAiB,EACjB,qBAAqB,EACrB,kBAAkB,EAClB,+BAA+B,EAC/B,0BAA0B,EAC1B,+BAA+B,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AAM,cAAc,GAAG,IAAI,CAAC,UAAU,EAAE,wBAAwB,CAAC,CAAC;YAClE,aAAa,CAAC,cAAc,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;YAChD,YAAY,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACpC,CAAC;QAED,GAAG,CAAC,IAAI,CAAC,eAAe,YAAY,CAAC,MAAM,2BAA2B,CAAC,CAAC;IAC1E,CAAC;IAED,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,CAAC;AACnC,CAAC","sourcesContent":["/**\n * CiDeployGeneratorService — generate deployment artifacts in CI mode.\n *\n * Produces the files a CI pipeline needs to deploy a Wildo app:\n * - **Kubernetes**: K8s Secret + ConfigMap YAML, written to `<outputDir>/k8s/`\n * - **Docker Compose**: `.env` files for docker-compose services, written to `<outputDir>/compose/`\n *\n * `<outputDir>` is the env-scoped deploy zone\n * `<appRoot>/.wildo-saas/deploy/<env>/`, resolved by\n * `EnvironmentPaths.resolveScopedDeployArtifactsDir`. Every render also writes\n * an ignore-everything `.gitignore` there — see\n * {@link DEPLOY_ZONE_GITIGNORE_CONTENT}.\n *\n * In CI mode secrets are reconstructed from flat env vars (GitHub Secrets\n * injected via `WILDO_SECRET_*`) instead of reading `secrets.json` from disk.\n * The OUTPUT LOCATION is identical either way — a local\n * `wildo config sync --domain config` deposits the same secret-bearing files,\n * which is precisely why the ignore guard is unconditional.\n */\n\nimport { mkdirSync, writeFileSync } from 'fs';\nimport { join } from 'path';\nimport type { PlatformEnvSecretsJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport type { PlatformEnvConfigJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport type {\n ApplicationBackendEnvTarget,\n ApplicationWorkerEnvTarget,\n ApplicationMinionEnvTarget,\n} from '~wildo-cli/services/environment/env-configuration-generator.service';\nimport { PlatformEnvVarsBuilder } from '~wildo-cli/services/environment/env-vars-builder.service';\nimport { loadInfraHydratedConfig } from '~wildo-cli/services/environment/env-configuration-generator.service';\nimport { ServiceAddressResolver, AddressPerspective } from '~wildo-cli/services/catalog/service-address-resolver.service';\nimport { generateK8sSecrets } from '~wildo-cli/services/deployment/k8s/k8s-secrets-generator.service';\nimport { K8sManifestGenerator } from '~wildo-cli/services/deployment/k8s/k8s-manifest-generator.service';\nimport { InfrastructureHost } from '~wildo-cli/services/environment/infrastructure-host.service';\nimport { TemplateProcessor } from '~wildo-cli/infrastructure/io/template-processor';\nimport {\n resolveFrameworkLayout,\n WildoDeploymentRuntime,\n WildoLocationType,\n PlatformWildoServices,\n BackingServiceKind,\n RUNTIME_MANDATORY_WRITABLE_PATH,\n RUNTIME_DEFAULT_PIDS_LIMIT,\n APP_BACKEND_DEFAULT_RUNTIME_UID,\n APP_FRONTEND_DEFAULT_RUNTIME_UID,\n APP_FRONTEND_MANDATORY_WRITABLE_PATHS,\n} from '@wildo-ai/platform-config-lib';\nimport { IMMUDB_AUDIT_STATE_CONTAINER_DIR } from '~wildo-cli/services/data-services/data-services.schemas';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\nimport type { Logger } from '~wildo-cli/kernel/types';\nimport { declaredProviderScope } from '~wildo-cli/services/credentials/provider-env-vars.utils';\n\n/**\n * Format a record of env vars into a `.env` file string.\n * Values containing spaces, `=`, `#`, or newlines are double-quoted.\n */\nfunction formatEnvFile(env: Record<string, string>): string {\n const lines: string[] = [];\n for (const [key, value] of Object.entries(env)) {\n const needsQuoting = /[\\s=#\"'\\\\]|\\n/.test(value);\n const formatted = needsQuoting\n ? `${key}=\"${value.replace(/\\\\/g, '\\\\\\\\').replace(/\"/g, '\\\\\"').replace(/\\r/g, '\\\\r').replace(/\\n/g, '\\\\n')}\"`\n : `${key}=${value}`;\n lines.push(formatted);\n }\n return lines.join('\\n') + '\\n';\n}\n\n/**\n * Ignore-everything guard written into each rendered deploy-artifact directory.\n *\n * EVERY file this generator emits is secret-bearing by construction — K8s\n * `Secret` manifests carry base64 credentials, the compose `.env` files carry\n * the platform admin secret, the apps-manager signing key and database URLs\n * with passwords. The zone lives inside `.wildo-saas/`, which is a PARTLY\n * TRACKED tree, so \"it's under a dot-directory\" is not protection.\n *\n * The framework does not generate an application's root `.gitignore`, so an\n * app-authored rule is a guarantee the framework cannot make on the app's\n * behalf. Writing the guard beside the artifacts makes the zone self-protecting\n * from its very first render, in every application, with no bootstrap step and\n * nothing for an app author to remember. The app's own root rule\n * (`.wildo-saas/deploy/`) stays as defense in depth.\n *\n * Bare `*` — deliberately no `!.gitignore` re-include. The guard is a generated\n * artifact regenerated on every render; it is not repository truth and must not\n * be committed either. It does not affect `kubectl apply` / `docker compose`,\n * which read the directory directly and know nothing about git.\n *\n * Precedent: `templates/infra/docker-compose/.gitignore` ships the same\n * shape next to its generated `.env`.\n */\nconst DEPLOY_ZONE_GITIGNORE_CONTENT = [\n '# Generated deploy artifacts — every file here carries credentials.',\n '# Written by `wildo config sync --domain config`; never commit any of it.',\n '*',\n '',\n].join('\\n');\n\n/**\n * Write the {@link DEPLOY_ZONE_GITIGNORE_CONTENT} guard into a rendered deploy\n * directory. Unconditional (not `existsSync`-gated) so a deleted or edited\n * guard self-heals on the next render and cannot silently drift.\n */\nfunction writeDeployZoneIgnoreGuard(outputDir: string): string {\n const guardPath = join(outputDir, '.gitignore');\n writeFileSync(guardPath, DEPLOY_ZONE_GITIGNORE_CONTENT, 'utf8');\n return guardPath;\n}\n\nexport interface CiDeployGenerateOptions {\n env: PlatformEnvironmentConfiguration;\n credentials: PlatformEnvSecretsJson;\n config: PlatformEnvConfigJson;\n runtime: WildoDeploymentRuntime;\n outputDir: string;\n applicationBackends?: ApplicationBackendEnvTarget[];\n /** App-owned worker/minion deploy targets — render per-worker/per-minion k8s manifests (REMOTE). */\n applicationWorkers?: ApplicationWorkerEnvTarget[];\n applicationMinions?: ApplicationMinionEnvTarget[];\n /**\n * Framework repository root — required to resolve `templates/infra/k8s/**`\n * when rendering the remote-cluster TLS manifests (ClusterIssuer, tls-config)\n * + Traefik Helm values, AND the per-app Deployment/Ingress/Service. When\n * omitted, only Secrets/ConfigMaps are emitted (the pre-remote-TLS behavior).\n */\n frameworkPath?: string;\n /**\n * Container image tag for the app Deployment (e.g. the CI git SHA / release\n * tag). Defaults to `DEFAULT_PLATFORM_IMAGE_TAG` when omitted.\n */\n imageTag?: string;\n}\n\nexport interface CiDeployGenerateResult {\n filesWritten: string[];\n runtime: WildoDeploymentRuntime;\n}\n\nexport function generateCiDeployArtifacts(\n options: CiDeployGenerateOptions,\n log: Logger,\n): CiDeployGenerateResult {\n const { env, credentials, runtime, outputDir, applicationBackends } = options;\n const filesWritten: string[] = [];\n\n mkdirSync(outputDir, { recursive: true });\n filesWritten.push(writeDeployZoneIgnoreGuard(outputDir));\n\n if (runtime === WildoDeploymentRuntime.KUBERNETES) {\n const replicaOverrides = options.config.kubernetes?.services ?? {};\n const appliedReplicaKeys = new Set<string>();\n const replicaFor = (key: string | undefined): number | undefined => key ? replicaOverrides[key]?.replicas : undefined;\n const k8sDir = join(outputDir, 'k8s');\n mkdirSync(k8sDir, { recursive: true });\n\n // Minions and workers are passed for their PROVIDER SECRETS (#369), not merely for symmetry:\n // each application runtime now owns a Secret scoped to its own `providers.scopes` entry, and a\n // runtime whose targets are omitted here gets no Secret at all while its Deployment still\n // mounts one optionally — i.e. it would boot with no provider credentials. The same two lists\n // already drive the Deployment render below, so both sides read one population.\n const k8sResources = generateK8sSecrets(env, credentials, {\n applicationBackends,\n applicationMinions: options.applicationMinions,\n applicationWorkers: options.applicationWorkers,\n config: options.config,\n });\n\n for (const [name, resource] of Object.entries(k8sResources)) {\n const filePath = join(k8sDir, `${name}.yaml`);\n writeFileSync(filePath, resource.yaml, 'utf8');\n filesWritten.push(filePath);\n }\n\n // Remote-cluster TLS manifests (ClusterIssuer + Traefik ServersTransport)\n // as FLAT siblings of the Secrets — CI's `kubectl apply -f k8s/` is\n // non-recursive — plus the provider-agnostic Traefik Helm values consumed\n // by the CI `helm install traefik -f traefik-values.yaml` step. No-ops for\n // LOCAL envs; requires `frameworkPath` to resolve the templates.\n if (options.frameworkPath) {\n // The ClusterIssuer and the Traefik install are the CLUSTER's, installed once by its infrastructure\n // host; a hosted application deploys its own workloads into that cluster and nothing cluster-wide.\n if (!InfrastructureHost.isHosted(env)) {\n filesWritten.push(\n ...K8sManifestGenerator.renderRemoteClusterInfra(env, options.frameworkPath, k8sDir),\n );\n const traefikValuesPath = K8sManifestGenerator.renderRemoteTraefikValues(\n env, options.frameworkPath, outputDir,\n );\n if (traefikValuesPath) filesWritten.push(traefikValuesPath);\n }\n\n // Per-service app manifests, as FLAT files: a backend Deployment+Service,\n // one nginx Deployment+Service per frontend, and one Ingress routing each\n // serviceHosts host → its per-service Service. This is the reachable remote\n // self-host app-deploy path (LOCAL-only renderAllManifests never runs the\n // app render). Deduped per app (the primary-first backend target carries\n // the shared appName/ingressRoutes/frontends context); the backend mounts\n // the canonical `{appSlug}-secret` emitted above.\n const renderedApps = new Set<string>();\n for (const target of applicationBackends ?? []) {\n if (!target.appName || !target.ingressRoutes?.length || renderedApps.has(target.appName)) {\n continue;\n }\n renderedApps.add(target.appName);\n const applicationManifests = K8sManifestGenerator.renderApplicationForTarget(\n env,\n options.frameworkPath,\n {\n appName: target.appName,\n backendServiceName: target.serviceName,\n backendReplicas: replicaFor(target.serviceKey),\n ingressRoutes: target.ingressRoutes,\n podPorts: target.podPorts,\n healthPort: target.healthPort,\n // `frontends` already carries each frontend's own resolved isolation.\n frontends: target.frontends?.map((frontend) => ({ ...frontend, replicas: replicaFor(frontend.serviceKey) })),\n isolation: target.isolation,\n },\n options.imageTag,\n );\n for (const { name, yaml } of applicationManifests) {\n // Count a key as applied only when its Deployment was actually emitted.\n for (const service of [target, ...(target.frontends ?? [])]) {\n if (service.serviceKey && name === `${service.serviceName}-deployment`) appliedReplicaKeys.add(service.serviceKey);\n }\n const appManifestPath = join(k8sDir, `${name}.yaml`);\n writeFileSync(appManifestPath, yaml, 'utf8');\n filesWritten.push(appManifestPath);\n }\n }\n\n // Per-app-owned worker Deployments + ClusterIP Services. Worker dispatch\n // addresses are supplied by the application target builder.\n for (const worker of options.applicationWorkers ?? []) {\n if (!worker.appName) continue;\n for (const { name, yaml } of K8sManifestGenerator.renderWorkerForTarget(\n env,\n options.frameworkPath,\n {\n appName: worker.appName,\n workerName: worker.workerName,\n httpPort: worker.http?.port,\n replicas: worker.replicas,\n healthPath: worker.http?.healthPath,\n readyPath: worker.http?.readyPath,\n isolation: worker.isolation,\n metricsPath: worker.http?.metricsPath,\n },\n options.imageTag,\n )) {\n const workerPath = join(k8sDir, `${name}.yaml`);\n writeFileSync(workerPath, yaml, 'utf8');\n filesWritten.push(workerPath);\n }\n }\n\n // Per-app-owned minion Deployments (KD-5 — singleton, shares app scope).\n for (const minion of options.applicationMinions ?? []) {\n if (!minion.appName) continue;\n for (const { name, yaml } of K8sManifestGenerator.renderMinionForTarget(\n env,\n options.frameworkPath,\n {\n appName: minion.appName,\n minionName: minion.minionName,\n // Forwarded verbatim, absence included — see `accessDeclaration` on\n // the target type. Defaulting it here would decide the minion's\n // network membership at a site that knows nothing about it.\n accessDeclaration: minion.accessDeclaration,\n reinstantiationPolicy: minion.reinstantiationPolicy,\n gracePeriodSec: minion.gracePeriodSec,\n liveness: minion.liveness,\n isolation: minion.isolation,\n },\n options.imageTag,\n )) {\n const minionPath = join(k8sDir, `${name}.yaml`);\n writeFileSync(minionPath, yaml, 'utf8');\n filesWritten.push(minionPath);\n }\n }\n }\n\n const platformKeys = new Set<string>(Object.values(PlatformWildoServices));\n for (const [key, override] of Object.entries(replicaOverrides)) {\n if (override.replicas !== undefined && !appliedReplicaKeys.has(key) && !platformKeys.has(key)) {\n log.warn(`Kubernetes replica override '${key}' was not applied: no matching application Deployment was emitted. Use the authored SaaS service key; CDN, unserved and absent targets have no Deployment.`);\n }\n }\n log.info(` Generated ${filesWritten.length} K8s resources`);\n }\n\n if (runtime === WildoDeploymentRuntime.DOCKER_COMPOSE) {\n const composeDir = join(outputDir, 'compose');\n mkdirSync(composeDir, { recursive: true });\n\n const addressCtx = ServiceAddressResolver.fromEnvironment(env, AddressPerspective.CONTAINER_INTERNAL);\n const addresses = ServiceAddressResolver.resolve(addressCtx);\n\n // Single load+hydrate seam — the REMOTE compose platform + app env this generator emits must\n // carry the infra posture (OTEL_*/LOG_LEVEL/provider-selection) the setup config.json omits.\n const config = loadInfraHydratedConfig(env, options.config);\n const infraEnv = PlatformEnvVarsBuilder.buildInfraCredentialEnv(credentials, config, env);\n const platformEnv = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(\n credentials, addresses, config, env,\n );\n const mergedEnv = { ...infraEnv, ...platformEnv };\n // The platform compose env is the infrastructure host's deploy artifact; a hosted application ships\n // only its own runtime env files below.\n if (!InfrastructureHost.isHosted(env)) {\n const platformEnvPath = join(composeDir, '.env.wildo-platform');\n writeFileSync(platformEnvPath, formatEnvFile(mergedEnv), 'utf8');\n filesWritten.push(platformEnvPath);\n }\n\n if (applicationBackends) {\n for (const target of applicationBackends) {\n const appEnv = PlatformEnvVarsBuilder.buildApplicationBackendEnv(\n target.bootstrapCredentials,\n target.serviceName,\n credentials,\n addresses,\n config,\n env.name,\n // REMOTE compose lane — see the sibling k8s-secrets call site. Both were invisible to\n // the original enumeration because they build the same backend env from a different\n // generator, and neither is exercised by a local `wildo config sync`.\n declaredProviderScope(target.scopedProviderRefs),\n {\n appDatabaseName: target.appDatabaseName,\n redisKeyPrefix: target.redisKeyPrefix,\n storageBucketPrefix: target.storageBucketPrefix,\n deploymentLocationType: env.locationType,\n mongodbDirectConnection: env.locationType === WildoLocationType.LOCAL,\n // Serialized into APPLICATION_RUNTIME_ENDPOINTS so the compose app\n // reconstructs `runtime.endPoints`. For REMOTE these are the\n // serviceHosts-driven public URLs (matching the Traefik ingress\n // routes emitted below — the CORS invariant); omitting them left the\n // remote compose app with no runtime topology.\n runtimeEndpoints: target.runtimeEndpoints,\n // Backend→worker dispatch URLs (G-8 / MW4): emit `WILDO_WORKER_<NAME>_URL`\n // into the backend's `.env` so it can reach each declared worker on the\n // shared network (same `{appSlug}-worker-{name}` service name as k8s).\n workerUrls: target.workerUrls,\n },\n );\n const envPath = join(composeDir, `${target.serviceName}.env`);\n writeFileSync(envPath, formatEnvFile(appEnv), 'utf8');\n filesWritten.push(envPath);\n }\n }\n\n // Self-hosted app serving stack: the app image behind a Traefik reverse\n // proxy that TLS-terminates and routes each serviceHosts subdomain to its\n // port (the docker counterpart of the k8s ingress — SAME `ingressRoutes`).\n // Rendered only when the app carries a deploy context (REMOTE).\n const appDeployTarget = applicationBackends?.find(\n (t) => t.appName && t.ingressRoutes && t.ingressRoutes.length > 0,\n );\n if (options.frameworkPath && appDeployTarget?.appName && appDeployTarget.ingressRoutes) {\n const composeTemplatesHome = resolveFrameworkLayout(options.frameworkPath).dockerComposeTemplatesHome;\n const tp = new TemplateProcessor(composeTemplatesHome);\n // Traefik's Let's Encrypt resolver still registers with an empty contact\n // email (ACME v2 makes it optional), but the operator then gets no\n // expiry-warning mail — surface it so a self-hoster can set\n // `remoteProvider.acmeEmail` before certs silently near expiry.\n if (!env.remoteProvider?.acmeEmail) {\n log.warn(\n ' remoteProvider.acmeEmail is unset — the app Traefik stack will request TLS certs without a contact email (no expiry notifications).',\n );\n }\n // Per-service model: build the app CONTAINER list (the backend + one nginx\n // container per frontend), each with its serviceHosts host + the port\n // Traefik load-balances to. In compose Traefik routes straight to the\n // container's own port — the backend's API port; a frontend nginx's :80\n // (NOT the k8s Service port). The backend loads its `${serviceName}.env`;\n // static frontends load none (config baked at build time).\n const routeByService = new Map(\n appDeployTarget.ingressRoutes.map((r) => [r.serviceName, r]),\n );\n const backendRoute = routeByService.get(appDeployTarget.serviceName);\n // Durable immudb audit trust-anchor mount for the backend container — set when the env has an\n // immudb audit backing service configured (same gate as the k8s app-backend PVC). The compose\n // backend then gets IMMUDB_STATE_DIR + a named volume mounted at it; without a durable volume the\n // audit client runs EPHEMERAL and a cross-restart rollback of the ledger is silently re-adopted.\n const immudbAuditStateDir = env.backingServices?.[BackingServiceKind.IMMUDB]\n ? IMMUDB_AUDIT_STATE_CONTAINER_DIR\n : undefined;\n // Container isolation, projected identically for both kinds. `runAsUser`\n // is the combined `<uid>:<gid>` compose wants for `user:`; the numeric\n // pair rides alongside because every `tmpfs:` entry needs `uid=`/`gid=`\n // options — a bare tmpfs is root-owned 0755 and unwritable by the non-root\n // process this same block just declared.\n const composeIsolation = (\n isolation: { runAsUser: number; runAsGroup: number; writablePaths: string[] } | undefined,\n fallbackUid: number,\n fallbackWritablePaths: readonly string[],\n ) => {\n const uid = isolation?.runAsUser ?? fallbackUid;\n const gid = isolation?.runAsGroup ?? fallbackUid;\n return {\n runAsUser: `${uid}:${gid}`,\n runAsUserId: uid,\n runAsGroupId: gid,\n writablePaths: [\n RUNTIME_MANDATORY_WRITABLE_PATH,\n ...(isolation?.writablePaths ?? fallbackWritablePaths),\n ],\n pidsLimit: RUNTIME_DEFAULT_PIDS_LIMIT,\n };\n };\n const appContainers = [\n ...(backendRoute\n ? [\n {\n serviceName: appDeployTarget.serviceName,\n host: backendRoute.host,\n port: backendRoute.port,\n isBackend: true,\n envFile: `${appDeployTarget.serviceName}.env`,\n immudbAuditStateDir,\n ...composeIsolation(appDeployTarget.isolation, APP_BACKEND_DEFAULT_RUNTIME_UID, []),\n },\n ]\n : []),\n ...(appDeployTarget.frontends ?? []).flatMap((fe) => {\n const r = routeByService.get(fe.serviceName);\n return r\n ? [{\n serviceName: fe.serviceName,\n host: r.host,\n // Traefik routes to the container's own port. nginx keeps :80 —\n // containers set `ip_unprivileged_port_start=0`, so binding it\n // as a non-root user works (measured, not assumed).\n port: 80,\n isBackend: false,\n ...composeIsolation(\n fe.isolation,\n APP_FRONTEND_DEFAULT_RUNTIME_UID,\n APP_FRONTEND_MANDATORY_WRITABLE_PATHS,\n ),\n }]\n : [];\n }),\n ];\n const rendered = tp.processTemplate('docker-compose.app.yml.hbs', {\n appName: appDeployTarget.appName,\n appContainers,\n registry: env.remoteProvider?.registryEndpoint ?? '',\n acmeEmail: env.remoteProvider?.acmeEmail ?? '',\n envName: env.name,\n // The edge — the reverse proxy, :80/:443 and the ACME store — belongs to whoever owns the\n // infrastructure. A hosted environment renders its services and labels only; the host's proxy\n // already binds those ports and discovers these containers over the shared `wildo-edge` network.\n hostedByAnotherApplication: InfrastructureHost.isHosted(env),\n });\n const appComposePath = join(composeDir, 'docker-compose.app.yml');\n writeFileSync(appComposePath, rendered, 'utf8');\n filesWritten.push(appComposePath);\n }\n\n log.info(` Generated ${filesWritten.length} Docker Compose env files`);\n }\n\n return { filesWritten, runtime };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"ci-deploy-generator.service.js","sourceRoot":"","sources":["../../../../../../src/services/deployment/ci-deploy-generator.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAQ5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,0DAA0D,CAAC;AAClG,OAAO,EAAE,uBAAuB,EAAE,MAAM,qEAAqE,CAAC;AAC9G,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,8DAA8D,CAAC;AAC1H,OAAO,EAAE,kBAAkB,EAAE,MAAM,kEAAkE,CAAC;AACtG,OAAO,EAAE,oBAAoB,EAAE,MAAM,mEAAmE,CAAC;AACzG,OAAO,EAAE,kBAAkB,EAAE,MAAM,6DAA6D,CAAC;AACjG,OAAO,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AACpF,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,iBAAiB,EACjB,qBAAqB,EACrB,kBAAkB,EAClB,+BAA+B,EAC/B,0BAA0B,EAC1B,+BAA+B,EAC/B,gCAAgC,EAChC,qCAAqC,GACtC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,gCAA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cAAc,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;YAChD,YAAY,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACpC,CAAC;QAED,GAAG,CAAC,IAAI,CAAC,eAAe,YAAY,CAAC,MAAM,2BAA2B,CAAC,CAAC;IAC1E,CAAC;IAED,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,CAAC;AACnC,CAAC","sourcesContent":["/**\n * CiDeployGeneratorService — generate deployment artifacts in CI mode.\n *\n * Produces the files a CI pipeline needs to deploy a Wildo app:\n * - **Kubernetes**: K8s Secret + ConfigMap YAML, written to `<outputDir>/k8s/`\n * - **Docker Compose**: `.env` files for docker-compose services, written to `<outputDir>/compose/`\n *\n * `<outputDir>` is the env-scoped deploy zone\n * `<appRoot>/.wildo-saas/deploy/<env>/`, resolved by\n * `EnvironmentPaths.resolveScopedDeployArtifactsDir`. Every render also writes\n * an ignore-everything `.gitignore` there — see\n * {@link DEPLOY_ZONE_GITIGNORE_CONTENT}.\n *\n * In CI mode secrets are reconstructed from flat env vars (GitHub Secrets\n * injected via `WILDO_SECRET_*`) instead of reading `secrets.json` from disk.\n * The OUTPUT LOCATION is identical either way — a local\n * `wildo config sync --domain config` deposits the same secret-bearing files,\n * which is precisely why the ignore guard is unconditional.\n */\n\nimport { mkdirSync, writeFileSync } from 'fs';\nimport { join } from 'path';\nimport type { PlatformEnvSecretsJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport type { PlatformEnvConfigJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport type {\n ApplicationBackendEnvTarget,\n ApplicationWorkerEnvTarget,\n ApplicationMinionEnvTarget,\n} from '~wildo-cli/services/environment/env-configuration-generator.service';\nimport { PlatformEnvVarsBuilder } from '~wildo-cli/services/environment/env-vars-builder.service';\nimport { loadInfraHydratedConfig } from '~wildo-cli/services/environment/env-configuration-generator.service';\nimport { ServiceAddressResolver, AddressPerspective } from '~wildo-cli/services/catalog/service-address-resolver.service';\nimport { generateK8sSecrets } from '~wildo-cli/services/deployment/k8s/k8s-secrets-generator.service';\nimport { K8sManifestGenerator } from '~wildo-cli/services/deployment/k8s/k8s-manifest-generator.service';\nimport { InfrastructureHost } from '~wildo-cli/services/environment/infrastructure-host.service';\nimport { TemplateProcessor } from '~wildo-cli/infrastructure/io/template-processor';\nimport {\n resolveFrameworkLayout,\n WildoDeploymentRuntime,\n WildoLocationType,\n PlatformWildoServices,\n BackingServiceKind,\n RUNTIME_MANDATORY_WRITABLE_PATH,\n RUNTIME_DEFAULT_PIDS_LIMIT,\n APP_BACKEND_DEFAULT_RUNTIME_UID,\n APP_FRONTEND_DEFAULT_RUNTIME_UID,\n APP_FRONTEND_MANDATORY_WRITABLE_PATHS,\n} from '@wildo-ai/platform-config-lib';\nimport { IMMUDB_AUDIT_STATE_CONTAINER_DIR } from '~wildo-cli/services/data-services/data-services.schemas';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\nimport type { Logger } from '~wildo-cli/kernel/types';\nimport { declaredProviderScope } from '~wildo-cli/services/credentials/provider-env-vars.utils';\n\n/**\n * Format a record of env vars into a `.env` file string.\n * Values containing spaces, `=`, `#`, or newlines are double-quoted.\n */\nfunction formatEnvFile(env: Record<string, string>): string {\n const lines: string[] = [];\n for (const [key, value] of Object.entries(env)) {\n const needsQuoting = /[\\s=#\"'\\\\]|\\n/.test(value);\n const formatted = needsQuoting\n ? `${key}=\"${value.replace(/\\\\/g, '\\\\\\\\').replace(/\"/g, '\\\\\"').replace(/\\r/g, '\\\\r').replace(/\\n/g, '\\\\n')}\"`\n : `${key}=${value}`;\n lines.push(formatted);\n }\n return lines.join('\\n') + '\\n';\n}\n\n/**\n * Ignore-everything guard written into each rendered deploy-artifact directory.\n *\n * EVERY file this generator emits is secret-bearing by construction — K8s\n * `Secret` manifests carry base64 credentials, the compose `.env` files carry\n * the platform admin secret, the apps-manager signing key and database URLs\n * with passwords. The zone lives inside `.wildo-saas/`, which is a PARTLY\n * TRACKED tree, so \"it's under a dot-directory\" is not protection.\n *\n * The framework does not generate an application's root `.gitignore`, so an\n * app-authored rule is a guarantee the framework cannot make on the app's\n * behalf. Writing the guard beside the artifacts makes the zone self-protecting\n * from its very first render, in every application, with no bootstrap step and\n * nothing for an app author to remember. The app's own root rule\n * (`.wildo-saas/deploy/`) stays as defense in depth.\n *\n * Bare `*` — deliberately no `!.gitignore` re-include. The guard is a generated\n * artifact regenerated on every render; it is not repository truth and must not\n * be committed either. It does not affect `kubectl apply` / `docker compose`,\n * which read the directory directly and know nothing about git.\n *\n * Precedent: `templates/infra/docker-compose/.gitignore` ships the same\n * shape next to its generated `.env`.\n */\nconst DEPLOY_ZONE_GITIGNORE_CONTENT = [\n '# Generated deploy artifacts — every file here carries credentials.',\n '# Written by `wildo config sync --domain config`; never commit any of it.',\n '*',\n '',\n].join('\\n');\n\n/**\n * Write the {@link DEPLOY_ZONE_GITIGNORE_CONTENT} guard into a rendered deploy\n * directory. Unconditional (not `existsSync`-gated) so a deleted or edited\n * guard self-heals on the next render and cannot silently drift.\n */\nfunction writeDeployZoneIgnoreGuard(outputDir: string): string {\n const guardPath = join(outputDir, '.gitignore');\n writeFileSync(guardPath, DEPLOY_ZONE_GITIGNORE_CONTENT, 'utf8');\n return guardPath;\n}\n\nexport interface CiDeployGenerateOptions {\n env: PlatformEnvironmentConfiguration;\n credentials: PlatformEnvSecretsJson;\n config: PlatformEnvConfigJson;\n runtime: WildoDeploymentRuntime;\n outputDir: string;\n applicationBackends?: ApplicationBackendEnvTarget[];\n /** App-owned worker/minion deploy targets — render per-worker/per-minion k8s manifests (REMOTE). */\n applicationWorkers?: ApplicationWorkerEnvTarget[];\n applicationMinions?: ApplicationMinionEnvTarget[];\n /**\n * Framework repository root — required to resolve `templates/infra/k8s/**`\n * when rendering the remote-cluster TLS manifests (ClusterIssuer, tls-config)\n * + Traefik Helm values, AND the per-app Deployment/Ingress/Service. When\n * omitted, only Secrets/ConfigMaps are emitted (the pre-remote-TLS behavior).\n */\n frameworkPath?: string;\n /**\n * Container image tag for the app Deployment (e.g. the CI git SHA / release\n * tag). Defaults to `DEFAULT_PLATFORM_IMAGE_TAG` when omitted.\n */\n imageTag?: string;\n}\n\nexport interface CiDeployGenerateResult {\n filesWritten: string[];\n runtime: WildoDeploymentRuntime;\n}\n\nexport function generateCiDeployArtifacts(\n options: CiDeployGenerateOptions,\n log: Logger,\n): CiDeployGenerateResult {\n const { env, credentials, runtime, outputDir, applicationBackends } = options;\n const filesWritten: string[] = [];\n\n mkdirSync(outputDir, { recursive: true });\n filesWritten.push(writeDeployZoneIgnoreGuard(outputDir));\n\n if (runtime === WildoDeploymentRuntime.KUBERNETES) {\n const replicaOverrides = options.config.kubernetes?.services ?? {};\n const appliedReplicaKeys = new Set<string>();\n const replicaFor = (key: string | undefined): number | undefined => key ? replicaOverrides[key]?.replicas : undefined;\n const k8sDir = join(outputDir, 'k8s');\n mkdirSync(k8sDir, { recursive: true });\n\n // Minions and workers are passed for their PROVIDER SECRETS (#369), not merely for symmetry:\n // each application runtime now owns a Secret scoped to its own `providers.scopes` entry, and a\n // runtime whose targets are omitted here gets no Secret at all while its Deployment still\n // mounts one optionally — i.e. it would boot with no provider credentials. The same two lists\n // already drive the Deployment render below, so both sides read one population.\n const k8sResources = generateK8sSecrets(env, credentials, {\n applicationBackends,\n applicationMinions: options.applicationMinions,\n applicationWorkers: options.applicationWorkers,\n config: options.config,\n });\n\n for (const [name, resource] of Object.entries(k8sResources)) {\n const filePath = join(k8sDir, `${name}.yaml`);\n writeFileSync(filePath, resource.yaml, 'utf8');\n filesWritten.push(filePath);\n }\n\n // Remote-cluster TLS manifests (ClusterIssuer + Traefik ServersTransport)\n // as FLAT siblings of the Secrets — CI's `kubectl apply -f k8s/` is\n // non-recursive — plus the provider-agnostic Traefik Helm values consumed\n // by the CI `helm install traefik -f traefik-values.yaml` step. No-ops for\n // LOCAL envs; requires `frameworkPath` to resolve the templates.\n if (options.frameworkPath) {\n // The ClusterIssuer and the Traefik install are the CLUSTER's, installed once by its infrastructure\n // host; a hosted application deploys its own workloads into that cluster and nothing cluster-wide.\n if (!InfrastructureHost.isHosted(env)) {\n filesWritten.push(\n ...K8sManifestGenerator.renderRemoteClusterInfra(env, options.frameworkPath, k8sDir),\n );\n const traefikValuesPath = K8sManifestGenerator.renderRemoteTraefikValues(\n env, options.frameworkPath, outputDir,\n );\n if (traefikValuesPath) filesWritten.push(traefikValuesPath);\n }\n\n // Per-service app manifests, as FLAT files: a backend Deployment+Service,\n // one nginx Deployment+Service per frontend, and one Ingress routing each\n // serviceHosts host → its per-service Service. This is the reachable remote\n // self-host app-deploy path (LOCAL-only renderAllManifests never runs the\n // app render). Deduped per app (the primary-first backend target carries\n // the shared appName/ingressRoutes/frontends context); the backend mounts\n // the canonical `{appSlug}-secret` emitted above.\n const renderedApps = new Set<string>();\n for (const target of applicationBackends ?? []) {\n if (!target.appName || !target.ingressRoutes?.length || renderedApps.has(target.appName)) {\n continue;\n }\n renderedApps.add(target.appName);\n const applicationManifests = K8sManifestGenerator.renderApplicationForTarget(\n env,\n options.frameworkPath,\n {\n appName: target.appName,\n backendServiceName: target.serviceName,\n backendReplicas: replicaFor(target.serviceKey),\n ingressRoutes: target.ingressRoutes,\n podPorts: target.podPorts,\n healthPort: target.healthPort,\n // `frontends` already carries each frontend's own resolved isolation.\n frontends: target.frontends?.map((frontend) => ({ ...frontend, replicas: replicaFor(frontend.serviceKey) })),\n isolation: target.isolation,\n },\n options.imageTag,\n );\n for (const { name, yaml } of applicationManifests) {\n // Count a key as applied only when its Deployment was actually emitted.\n for (const service of [target, ...(target.frontends ?? [])]) {\n if (service.serviceKey && name === `${service.serviceName}-deployment`) appliedReplicaKeys.add(service.serviceKey);\n }\n const appManifestPath = join(k8sDir, `${name}.yaml`);\n writeFileSync(appManifestPath, yaml, 'utf8');\n filesWritten.push(appManifestPath);\n }\n }\n\n // Per-app-owned worker Deployments + ClusterIP Services. Worker dispatch\n // addresses are supplied by the application target builder.\n for (const worker of options.applicationWorkers ?? []) {\n if (!worker.appName) continue;\n for (const { name, yaml } of K8sManifestGenerator.renderWorkerForTarget(\n env,\n options.frameworkPath,\n {\n appName: worker.appName,\n workerName: worker.workerName,\n httpPort: worker.http?.port,\n replicas: worker.replicas,\n healthPath: worker.http?.healthPath,\n readyPath: worker.http?.readyPath,\n isolation: worker.isolation,\n metricsPath: worker.http?.metricsPath,\n },\n options.imageTag,\n )) {\n const workerPath = join(k8sDir, `${name}.yaml`);\n writeFileSync(workerPath, yaml, 'utf8');\n filesWritten.push(workerPath);\n }\n }\n\n // Per-app-owned minion Deployments (KD-5 — singleton, shares app scope).\n for (const minion of options.applicationMinions ?? []) {\n if (!minion.appName) continue;\n for (const { name, yaml } of K8sManifestGenerator.renderMinionForTarget(\n env,\n options.frameworkPath,\n {\n appName: minion.appName,\n minionName: minion.minionName,\n // Forwarded verbatim, absence included — see `accessDeclaration` on\n // the target type. Defaulting it here would decide the minion's\n // network membership at a site that knows nothing about it.\n accessDeclaration: minion.accessDeclaration,\n reinstantiationPolicy: minion.reinstantiationPolicy,\n gracePeriodSec: minion.gracePeriodSec,\n liveness: minion.liveness,\n isolation: minion.isolation,\n },\n options.imageTag,\n )) {\n const minionPath = join(k8sDir, `${name}.yaml`);\n writeFileSync(minionPath, yaml, 'utf8');\n filesWritten.push(minionPath);\n }\n }\n }\n\n const platformKeys = new Set<string>(Object.values(PlatformWildoServices));\n for (const [key, override] of Object.entries(replicaOverrides)) {\n if (override.replicas !== undefined && !appliedReplicaKeys.has(key) && !platformKeys.has(key)) {\n log.warn(`Kubernetes replica override '${key}' was not applied: no matching application Deployment was emitted. Use the authored SaaS service key; CDN, unserved and absent targets have no Deployment.`);\n }\n }\n log.info(` Generated ${filesWritten.length} K8s resources`);\n }\n\n if (runtime === WildoDeploymentRuntime.DOCKER_COMPOSE) {\n const composeDir = join(outputDir, 'compose');\n mkdirSync(composeDir, { recursive: true });\n\n const addressCtx = ServiceAddressResolver.fromEnvironment(env, AddressPerspective.CONTAINER_INTERNAL);\n const addresses = ServiceAddressResolver.resolve(addressCtx);\n\n // Single load+hydrate seam — the REMOTE compose platform + app env this generator emits must\n // carry the infra posture (OTEL_*/LOG_LEVEL/provider-selection) the setup config.json omits.\n const config = loadInfraHydratedConfig(env, options.config);\n const infraEnv = PlatformEnvVarsBuilder.buildInfraCredentialEnv(credentials, config, env);\n const platformEnv = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(\n credentials, addresses, config, env,\n );\n const mergedEnv = { ...infraEnv, ...platformEnv };\n // The platform compose env is the infrastructure host's deploy artifact; a hosted application ships\n // only its own runtime env files below.\n if (!InfrastructureHost.isHosted(env)) {\n const platformEnvPath = join(composeDir, '.env.wildo-platform');\n writeFileSync(platformEnvPath, formatEnvFile(mergedEnv), 'utf8');\n filesWritten.push(platformEnvPath);\n }\n\n if (applicationBackends) {\n for (const target of applicationBackends) {\n const appEnv = PlatformEnvVarsBuilder.buildApplicationBackendEnv(\n target.bootstrapCredentials,\n target.serviceName,\n credentials,\n addresses,\n config,\n env.name,\n // REMOTE compose lane — see the sibling k8s-secrets call site. Both were invisible to\n // the original enumeration because they build the same backend env from a different\n // generator, and neither is exercised by a local `wildo config sync`.\n declaredProviderScope(target.scopedProviderRefs),\n {\n appDatabaseName: target.appDatabaseName,\n redisKeyPrefix: target.redisKeyPrefix,\n storageBucketPrefix: target.storageBucketPrefix,\n deploymentLocationType: env.locationType,\n mongodbDirectConnection: env.locationType === WildoLocationType.LOCAL,\n // Serialized into APPLICATION_RUNTIME_ENDPOINTS so the compose app\n // reconstructs `runtime.endPoints`. For REMOTE these are the\n // serviceHosts-driven public URLs (matching the Traefik ingress\n // routes emitted below — the CORS invariant); omitting them left the\n // remote compose app with no runtime topology.\n runtimeEndpoints: target.runtimeEndpoints,\n // Backend→worker dispatch URLs (G-8 / MW4): emit `WILDO_WORKER_<NAME>_URL`\n // into the backend's `.env` so it can reach each declared worker on the\n // shared network (same `{appSlug}-worker-{name}` service name as k8s).\n workerUrls: target.workerUrls,\n },\n );\n const envPath = join(composeDir, `${target.serviceName}.env`);\n writeFileSync(envPath, formatEnvFile(appEnv), 'utf8');\n filesWritten.push(envPath);\n }\n }\n\n // Self-hosted app serving stack: the app image behind a Traefik reverse\n // proxy that TLS-terminates and routes each serviceHosts subdomain to its\n // port (the docker counterpart of the k8s ingress — SAME `ingressRoutes`).\n // Rendered only when the app carries a deploy context (REMOTE).\n const appDeployTarget = applicationBackends?.find(\n (t) => t.appName && t.ingressRoutes && t.ingressRoutes.length > 0,\n );\n if (options.frameworkPath && appDeployTarget?.appName && appDeployTarget.ingressRoutes) {\n const composeTemplatesHome = resolveFrameworkLayout(options.frameworkPath).dockerComposeTemplatesHome;\n const tp = new TemplateProcessor(composeTemplatesHome);\n // Traefik's Let's Encrypt resolver still registers with an empty contact\n // email (ACME v2 makes it optional), but the operator then gets no\n // expiry-warning mail — surface it so a self-hoster can set\n // `remoteProvider.acmeEmail` before certs silently near expiry.\n if (!env.remoteProvider?.acmeEmail) {\n log.warn(\n ' remoteProvider.acmeEmail is unset — the app Traefik stack will request TLS certs without a contact email (no expiry notifications).',\n );\n }\n // Per-service model: build the app CONTAINER list (the backend + one nginx\n // container per frontend), each with its serviceHosts host + the port\n // Traefik load-balances to. In compose Traefik routes straight to the\n // container's own port — the backend's API port; a frontend nginx's :80\n // (NOT the k8s Service port). The backend loads its `${serviceName}.env`;\n // static frontends load none (config baked at build time).\n const routeByService = new Map(\n appDeployTarget.ingressRoutes.map((r) => [r.serviceName, r]),\n );\n const backendRoute = routeByService.get(appDeployTarget.serviceName);\n // Durable immudb audit trust-anchor mount for the backend container — set when the env has an\n // immudb audit backing service configured (same gate as the k8s app-backend PVC). The compose\n // backend then gets IMMUDB_STATE_DIR + a named volume mounted at it; without a durable volume the\n // audit client runs EPHEMERAL and a cross-restart rollback of the ledger is silently re-adopted.\n const immudbAuditStateDir = env.backingServices?.[BackingServiceKind.IMMUDB]\n ? IMMUDB_AUDIT_STATE_CONTAINER_DIR\n : undefined;\n // Container isolation, projected identically for both kinds. `runAsUser`\n // is the combined `<uid>:<gid>` compose wants for `user:`; the numeric\n // pair rides alongside because every `tmpfs:` entry needs `uid=`/`gid=`\n // options — a bare tmpfs is root-owned 0755 and unwritable by the non-root\n // process this same block just declared.\n const composeIsolation = (\n isolation: { runAsUser: number; runAsGroup: number; writablePaths: string[] } | undefined,\n fallbackUid: number,\n fallbackWritablePaths: readonly string[],\n ) => {\n const uid = isolation?.runAsUser ?? fallbackUid;\n const gid = isolation?.runAsGroup ?? fallbackUid;\n return {\n runAsUser: `${uid}:${gid}`,\n runAsUserId: uid,\n runAsGroupId: gid,\n writablePaths: [\n RUNTIME_MANDATORY_WRITABLE_PATH,\n ...(isolation?.writablePaths ?? fallbackWritablePaths),\n ],\n pidsLimit: RUNTIME_DEFAULT_PIDS_LIMIT,\n };\n };\n const appContainers = [\n ...(backendRoute\n ? [\n {\n serviceName: appDeployTarget.serviceName,\n host: backendRoute.host,\n port: backendRoute.port,\n isBackend: true,\n envFile: `${appDeployTarget.serviceName}.env`,\n immudbAuditStateDir,\n ...composeIsolation(appDeployTarget.isolation, APP_BACKEND_DEFAULT_RUNTIME_UID, []),\n },\n ]\n : []),\n ...(appDeployTarget.frontends ?? []).flatMap((fe) => {\n const r = routeByService.get(fe.serviceName);\n return r\n ? [{\n serviceName: fe.serviceName,\n host: r.host,\n // Traefik routes to the container's own port. nginx keeps :80 —\n // containers set `ip_unprivileged_port_start=0`, so binding it\n // as a non-root user works (measured, not assumed).\n port: 80,\n isBackend: false,\n ...composeIsolation(\n fe.isolation,\n APP_FRONTEND_DEFAULT_RUNTIME_UID,\n APP_FRONTEND_MANDATORY_WRITABLE_PATHS,\n ),\n }]\n : [];\n }),\n ];\n const rendered = tp.processTemplate('docker-compose.app.yml.hbs', {\n appName: appDeployTarget.appName,\n appContainers,\n registry: env.remoteProvider?.registryEndpoint ?? '',\n acmeEmail: env.remoteProvider?.acmeEmail ?? '',\n envName: env.name,\n // The edge — the reverse proxy, :80/:443 and the ACME store — belongs to whoever owns the\n // infrastructure. A hosted environment renders its services and labels only; the host's proxy\n // already binds those ports and discovers these containers over the shared `wildo-edge` network.\n hostedByAnotherApplication: InfrastructureHost.isHosted(env),\n });\n const appComposePath = join(composeDir, 'docker-compose.app.yml');\n writeFileSync(appComposePath, rendered, 'utf8');\n filesWritten.push(appComposePath);\n }\n\n log.info(` Generated ${filesWritten.length} Docker Compose env files`);\n }\n\n return { filesWritten, runtime };\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ci-workflow-generator.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"ci-workflow-generator.service.d.ts","sourceRoot":"","sources":["../../../../../../src/services/deployment/ci-workflow-generator.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,EACL,eAAe,EAKf,KAAK,qBAAqB,EAC3B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AACpF,OAAO,EAA8B,KAAK,sBAAsB,EAAE,MAAM,4DAA4D,CAAC;AAGrI;;;;;;GAMG;AACH,wBAAgB,iCAAiC,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAE7E;AAED,oGAAoG;AACpG,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,6BAA6B,EAAE,QAAQ,CAAC,MAAM,CAAC,eAAe,EAAE,SAAS,MAAM,EAAE,CAAC,CAI9F,CAAC;AAEF,MAAM,WAAW,0BAA0B;IACzC,+FAA+F;IAC/F,QAAQ,CAAC,YAAY,EAAE,eAAe,GAAG,SAAS,CAAC;IACnD,QAAQ,CAAC,WAAW,EAAE,MA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CACvC,OAAO,EAAE,MAAM,EACf,aAAa,EAAE,MAAM,EACrB,OAAO,EAAE,gCAAgC,GACxC,+BAA+B,CAyBjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ci-workflow-generator.service.js","sourceRoot":"","sources":["../../../../src/services/deployment/ci-workflow-generator.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EACL,eAAe,EACf,qBAAqB,EACrB,sBAAsB,EACtB,sBAAsB,EACtB,qBAAqB,GAEtB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,4BAA4B,EAAE,MAAM,iEAAiE,CAAC;AAC/G,OAAO,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AACpF,OAAO,EAAE,0BAA0B,EAA+B,MAAM,4DAA4D,CAAC;AACrI,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,wEAAwE,CAAC;AAE3H;;;;;;GAMG;AACH,MAAM,UAAU,iCAAiC,CAAC,WAAmB;IACnE,OAAO,GAAG,WAAW,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,aAAa,CAAC;AAC1D,CAAC;AAQD;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAyD;IACjG,CAAC,eAAe,CAAC,QAAQ,CAAC,EAAE,CAAC,eAAe,EAAE,4BAA4B,EAAE,mBAAmB,CAAC;IAChG,CAAC,eAAe,CAAC,cAAc,CAAC,EAAE,CAAC,uBAAuB,EAAE,mBAAmB,EAAE,mBAAmB,CAAC;IACrG,CAAC,eAAe,CAAC,QAAQ,CAAC,EAAE,CAAC,iBAAiB,EAAE,yBAAyB,EAAE,oBAAoB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AAY,EAAE,kCAAkC,CAAC,CAAC;IACxE,MAAM,MAAM,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;IACpC,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,KAAK,IAAI,CAAC;IAErC,IAAI,MAAM,IAAI,CAAC,KAAK,EAAE,CAAC;QACrB,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;IAC/E,CAAC;IAED,MAAM,OAAO,GAAG,EAAE,CAAC,eAAe,CAAC,iCAAiC,EAAE;QACpE,OAAO,EAAE,OAAO,CAAC,OAAO;QACxB,WAAW,EAAE,OAAO,CAAC,WAAW,IAAI,wCAAwC;KAC7E,CAAC,CAAC;IACH,aAAa,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAEzC,OAAO;QACL,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,CAAC,MAAM;QAChB,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,MAAM,IAAI,KAAK;KAC7B,CAAC;AACJ,CAAC","sourcesContent":["/**\n * CiWorkflowGeneratorService — generate GitHub Actions workflow files.\n *\n * Produces `.github/workflows/deploy-<env>.yml` files based on the\n * environment's infra config (`deployment.branch`, `deployment.runtime`).\n *\n * Templates live in `templates/infra/ci/` and are rendered via\n * the shared `TemplateProcessor` (Handlebars).\n */\n\nimport { mkdirSync, writeFileSync, existsSync } from 'fs';\nimport { join } from 'path';\nimport {\n AppFrontendType,\n buildServicePublicUrl,\n resolveFrameworkLayout,\n WildoDeploymentRuntime,\n WildoImageTagStrategy,\n type WildoDeploymentConfig,\n} from '@wildo-ai/platform-config-lib';\nimport { RuntimeEnvironment } from '@wildo-ai/saas-models';\nimport { SUPPORTED_NODE_MAJOR_VERSION } from '~wildo-cli/services/deployment/host-toolchain-readiness.service';\nimport { TemplateProcessor } from '~wildo-cli/infrastructure/io/template-processor';\nimport { getRequiredCiSecretEnvVars, type ApplicationCiSecretKey } from '~wildo-cli/services/credentials/ci-secrets-adapter.service';\nimport { CERT_MANAGER_CHART, TRAEFIK_CHART } from '~wildo-cli/services/deployment/k8s/cluster-controller-charts.constants';\n\n/**\n * The Dockerfile the deploy workflow builds for a declared service / minion / worker path — ONE mapping\n * (#984), read by `wildo config sync --domain cicd` when it derives the per-service build targets and\n * by the template contract that holds every shipped service path to a Dockerfile at exactly this\n * location. The path is the authored `path` (`./backend-api`, `./minions/<dir>`), the Dockerfile sits\n * at its root, and the build context is the application root.\n */\nexport function resolveServiceImageDockerfilePath(servicePath: string): string {\n return `${servicePath.replace(/^\\.\\//, '')}/Dockerfile`;\n}\n\n/** One `--build-arg` a service image is built with. Values are origins and names, never secrets. */\nexport interface ServiceImageBuildArg {\n readonly name: string;\n readonly value: string;\n}\n\n/**\n * The build-time `ARG`s each FRONTEND kind's shipped Dockerfile declares, and so the ones its deploy build must\n * pass (#1125). A backend, minion or worker image declares none: its configuration is read at RUNTIME.\n *\n * A frontend-shaped image bakes its origins in at BUILD time, and the build context deliberately excludes every\n * `.env*` (they can carry credentials). So a CI build that passes no build-args produces an image with empty\n * origins — a frontend that calls no API, a docs portal that recognises no application, a website that never\n * opts into indexing — while the workflow stays green. Keyed by the kind, total over `AppFrontendType`, so a new\n * frontend kind cannot compile without saying what it needs; `deployment-template-contracts.test.ts` holds each\n * list equal to the `ARG`s the shipped Dockerfile of that kind declares.\n */\nexport const SERVICE_IMAGE_BUILD_ARG_NAMES: Readonly<Record<AppFrontendType, readonly string[]>> = {\n [AppFrontendType.SAAS_APP]: ['VITE_APP_NAME', 'VITE_FRONTEND_SERVICE_NAME', 'VITE_API_BASE_URL'],\n [AppFrontendType.STATIC_WEBSITE]: ['PUBLIC_ALLOW_INDEXING', 'PUBLIC_API_ORIGIN', 'PUBLIC_APP_ORIGIN'],\n [AppFrontendType.TECH_DOC]: ['WILDO_INFRA_ENV', 'WILDO_DOCS_API_BASE_URL', 'WILDO_DOCS_APP_URL', 'WILDO_DOCS_FRONTEND_SERVICE_NAME'],\n};\n\nexport interface ServiceImageBuildArgsInput {\n /** `undefined` for a backend, minion or worker — an image that declares no build-time args. */\n readonly frontendType: AppFrontendType | undefined;\n readonly serviceName: string;\n readonly appDisplayName: string;\n /** The infra environment id (`wildo.infra.<env>.config.ts > environment`). */\n readonly envName: string;\n readonly runtimeEnvironment?: RuntimeEnvironment | undefined;\n readonly publicDomain?: string | undefined;\n readonly serviceHosts?: Record<string, string> | undefined;\n /** `config.services.<key>` of the main backend API — the host its public URL resolves from. */\n readonly mainBackendApiServiceKey?: string | undefined;\n /** `config.services.<key>` of the SaaS application frontend, which the documentation site deep-links to. */\n readonly saasAppServiceKey?: string | undefined;\n /** The environment's authored documentation-site origins; each one, when authored, wins over the derived value. */\n readonly documentationSite?: { readonly apiBaseUrl?: string; readonly appUrl?: string; readonly frontendServiceName?: string } | undefined;\n}\n\n/**\n * The build args ONE service image needs in ONE environment, derived from what the application and the environment\n * already declare (#1125) — and the names this environment cannot supply a value for.\n *\n * Every public origin comes from `buildServicePublicUrl`, the helper the ingress routes, `runtime.endPoints` and\n * CORS already key on, so the origin baked into a frontend is the one the backend accepts. The documentation\n * site takes its authored `documentationSite` values when present and the same derived origins otherwise.\n * `PUBLIC_ALLOW_INDEXING` is `true` exactly for an environment whose `runtimeEnvironment` is PRODUCTION — the\n * website's robots are fail-closed noindex, and \"production opts in\" is now a declared fact, not a manual flag.\n *\n * An unresolvable value is REPORTED, never invented: an empty origin compiled into a bundle is the defect this\n * exists to prevent, so the name is returned in `unresolved` and the workflow says so beside the build step.\n */\nexport function resolveServiceImageBuildArgs(input: ServiceImageBuildArgsInput): {\n readonly buildArgs: readonly ServiceImageBuildArg[];\n readonly unresolved: readonly string[];\n} {\n if (input.frontendType === undefined) return { buildArgs: [], unresolved: [] };\n const publicUrlOf = (serviceKey: string | undefined): string | undefined =>\n serviceKey === undefined || !input.publicDomain\n ? undefined\n : buildServicePublicUrl({ serviceKey, serviceHosts: input.serviceHosts, publicDomain: input.publicDomain });\n const apiBaseUrl = publicUrlOf(input.mainBackendApiServiceKey);\n const valueOf: Readonly<Record<string, () => string | undefined>> = {\n VITE_APP_NAME: () => input.appDisplayName || undefined,\n VITE_FRONTEND_SERVICE_NAME: () => input.serviceName,\n VITE_API_BASE_URL: () => apiBaseUrl,\n PUBLIC_ALLOW_INDEXING: () => String(input.runtimeEnvironment === RuntimeEnvironment.PRODUCTION),\n // The website's capture forms POST here. Without it a non-production build falls back to the single `apiOrigin`\n // authored in `wildo.website.config.ts` — production's — so a staging site wrote into the production API.\n PUBLIC_API_ORIGIN: () => apiBaseUrl,\n // The app the website's CTAs link into — this environment's, not the single production `appOrigin` the website config\n // authors as its default (#1166).\n PUBLIC_APP_ORIGIN: () => publicUrlOf(input.saasAppServiceKey),\n WILDO_INFRA_ENV: () => input.envName,\n WILDO_DOCS_API_BASE_URL: () => input.documentationSite?.apiBaseUrl ?? apiBaseUrl,\n WILDO_DOCS_APP_URL: () => input.documentationSite?.appUrl ?? publicUrlOf(input.saasAppServiceKey),\n WILDO_DOCS_FRONTEND_SERVICE_NAME: () => input.documentationSite?.frontendServiceName ?? input.serviceName,\n };\n const buildArgs: ServiceImageBuildArg[] = [];\n const unresolved: string[] = [];\n for (const name of SERVICE_IMAGE_BUILD_ARG_NAMES[input.frontendType]) {\n const value = valueOf[name]?.();\n if (value === undefined || value === '') unresolved.push(name);\n else buildArgs.push({ name, value });\n }\n return { buildArgs, unresolved };\n}\n\n/** `docker build` flags for a set of build args, each single-quoted for the POSIX shell a workflow step runs in. */\nexport function renderDockerBuildArgFlags(buildArgs: readonly ServiceImageBuildArg[]): string {\n return buildArgs.map(({ name, value }) => ` --build-arg '${`${name}=${value}`.replace(/'/g, `'\\\\''`)}'`).join('');\n}\n\nexport interface WorkflowEnvConfig {\n envName: string;\n deployment: WildoDeploymentConfig;\n appName: string;\n /**\n * Per-service build targets (per-service deploy model): each app service\n * (backend + every frontend) AND each app-owned minion/worker builds its OWN\n * image from its OWN Dockerfile. `serviceName` is the pushed image name and\n * matches the k8s/compose manifest image refs — the raw\n * `services.<key>.serviceName` for services, `{appSlug}-minion-{key}` /\n * `{appSlug}-worker-{key}` for minions/workers (coherent with\n * `renderMinionForTarget` / `renderWorkerForTarget`). `dockerfile` is the path\n * to that target's Dockerfile (build context = the app root). Derived from\n * `wildo.saas.config.ts` `services.<key>.{serviceName,path}` +\n * `minions.<key>.path` + `workers.<key>.path`.\n */\n services?: Array<{\n serviceName: string;\n dockerfile: string;\n /** Build-time args this service's image needs in this environment (#1125). Absent for an image that declares none. */\n buildArgs?: readonly ServiceImageBuildArg[];\n /** Names the environment supplies no value for — rendered as a comment beside the build step, never as an empty arg. */\n unresolvedBuildArgs?: readonly string[];\n }>;\n /**\n * The application secrets this environment's deploy job must receive — provider secrets, system-of-record\n * credentials and inbound endpoint secrets, each under its own kind (#1650). A secret missing here never reaches\n * the job, whatever the GitHub Environment holds.\n */\n applicationSecretKeys?: readonly ApplicationCiSecretKey[];\n /**\n * The environment's `remoteProvider.registryEndpoint` — the registry BOTH deploy manifests pull every image from\n * (`docker-compose.app.yml` directly, the Kubernetes deployments through `kubernetes.imageRegistry`), and so the one\n * the workflow pushes to.\n *\n * The workflow used to push Kubernetes images to `deployment.registry` (defaulting to GHCR) and Compose images\n * nowhere, while the host pulled from this endpoint (#1165). That field is gone. Absent, a Compose workflow builds\n * and publishes nothing and says so beside the build steps; a remote Kubernetes environment cannot lack it —\n * the infra schema requires `remoteProvider` there.\n */\n registryEndpoint?: string | undefined;\n /**\n * Whether this environment OWNS its cluster — `false` when it runs on another application's infrastructure\n * (`infrastructureHost`). Only the owner's workflow installs the cluster-wide controllers (cert-manager,\n * Traefik); a hosted application deploys its own workloads into the host's cluster. Omitted means owned.\n */\n ownsClusterInfrastructure?: boolean;\n}\n\nexport interface CiInitResult {\n created: string[];\n skipped: string[];\n}\n\n/**\n * Generates the `${{ secrets.X }}` mapping block for GitHub Actions.\n * Maps each `WILDO_SECRET_*` env var to its corresponding GitHub Secret.\n * Returned as a pre-formatted string for direct injection into the template.\n */\nfunction buildSecretsEnvBlock(applicationSecretKeys: readonly ApplicationCiSecretKey[] = []): string {\n const { required, optional } = getRequiredCiSecretEnvVars(applicationSecretKeys);\n const lines: string[] = [];\n\n for (const envVar of required) {\n lines.push(` ${envVar}: \\${{ secrets.${envVar} }}`);\n }\n\n if (optional.length > 0) {\n lines.push(' # Optional — set these GitHub Secrets if your environment uses them');\n for (const envVar of optional) {\n lines.push(` ${envVar}: \\${{ secrets.${envVar} }}`);\n }\n }\n\n return lines.join('\\n');\n}\n\nfunction buildImageTag(strategy: WildoImageTagStrategy): string {\n switch (strategy) {\n case WildoImageTagStrategy.COMMIT_SHA:\n return '${{ github.sha }}';\n case WildoImageTagStrategy.BRANCH_NAME:\n return '${{ github.ref_name }}';\n case WildoImageTagStrategy.SEMVER:\n return '${{ github.event.release.tag_name || github.ref_name }}';\n }\n}\n\n/**\n * Build the template variables for a workflow config.\n * Pre-computes dynamic values (imageTag, secretsEnvBlock) so the\n * `.hbs` template handles only structural layout.\n */\nfunction buildTemplateVars(config: WorkflowEnvConfig): Record<string, unknown> {\n const { envName, deployment, appName } = config;\n\n // The registry the manifests pull from — see `WorkflowEnvConfig.registryEndpoint` (#1165).\n const registry = config.registryEndpoint || undefined;\n const namespace = deployment.runtime === WildoDeploymentRuntime.KUBERNETES ? deployment.namespace : undefined;\n\n return {\n appName,\n envName,\n branch: deployment.branch,\n registry,\n namespace,\n imageTag: buildImageTag(deployment.imageTagStrategy),\n secretsEnvBlock: buildSecretsEnvBlock(config.applicationSecretKeys ?? []),\n /*\n * The deploy workflows used to hard-code `node-version: 22` while the framework's named\n * authority said 26 (#421). A Handlebars template cannot import a TypeScript constant, so the\n * value is RENDERED from the same constant the validation workflow derives from — and the\n * rendered result is pinned by `deployment-template-contracts.test.ts`, which is the only\n * reason the copies in `install.sh`, `install.ps1` and the CI workflows stopped drifting.\n */\n nodeVersion: String(SUPPORTED_NODE_MAJOR_VERSION),\n // Only the cluster's infrastructure owner installs its controllers; see `WorkflowEnvConfig.ownsClusterInfrastructure`.\n ownsClusterInfrastructure: config.ownsClusterInfrastructure !== false,\n // The Traefik chart the workflow installs, pinned in one place with the bootstrap's (#1788 review, D1).\n traefikChartVersion: TRAEFIK_CHART.version,\n certManagerChartVersion: CERT_MANAGER_CHART.version,\n // Per-service image builds (per-service deploy model). Empty → the workflow\n // renders no build steps (an app with no services is a misconfiguration the\n // upstream resolver rejects, but the template stays render-safe).\n // `dockerBuildArgFlags` is pre-rendered and shell-quoted here: a Handlebars template cannot quote a value that\n // may carry a space or an apostrophe (an application's display name), and the plain `docker build` step needs it.\n services: (config.services ?? []).map((service) => ({\n ...service,\n buildArgs: service.buildArgs ?? [],\n unresolvedBuildArgs: service.unresolvedBuildArgs ?? [],\n dockerBuildArgFlags: renderDockerBuildArgFlags(service.buildArgs ?? []),\n })),\n };\n}\n\n/**\n * Generate a GitHub Actions workflow YAML for a single environment.\n */\nexport function generateWorkflow(config: WorkflowEnvConfig, tp: TemplateProcessor): string {\n const vars = buildTemplateVars(config);\n const templateFile = config.deployment.runtime === WildoDeploymentRuntime.KUBERNETES\n ? 'deploy-k8s.yml.hbs'\n : 'deploy-docker-compose.yml.hbs';\n\n return tp.processTemplate(templateFile, vars);\n}\n\n/**\n * Write workflow files to `<appRoot>/.github/workflows/`.\n * Skips files that already exist unless `force` is true.\n */\nexport function writeWorkflows(\n appRoot: string,\n environments: WorkflowEnvConfig[],\n frameworkPath: string,\n force: boolean = false,\n): CiInitResult {\n const tp = new TemplateProcessor(resolveFrameworkLayout(frameworkPath).ciTemplatesHome);\n const workflowsDir = join(appRoot, '.github', 'workflows');\n mkdirSync(workflowsDir, { recursive: true });\n\n const created: string[] = [];\n const skipped: string[] = [];\n\n for (const envConfig of environments) {\n const fileName = `deploy-${envConfig.envName}.yml`;\n const filePath = join(workflowsDir, fileName);\n\n if (existsSync(filePath) && !force) {\n skipped.push(filePath);\n continue;\n }\n\n const content = generateWorkflow(envConfig, tp);\n writeFileSync(filePath, content, 'utf8');\n created.push(filePath);\n }\n\n return { created, skipped };\n}\n\n// ============================================================================\n// Slice 6.8 / F-48 — per-app `wildo config validate` workflow installer\n// ============================================================================\n\n/**\n * Canonical filename for the per-PR validation workflow. Pinned in one\n * place so `wildo config validate --domain cicd` (which checks for the\n * SAME path) and the installer below cannot drift.\n */\nexport const WILDO_VALIDATION_WORKFLOW_FILENAME = 'wildo-config-validation.yml';\n\n/**\n * Default Node.js version baked into the validation workflow.\n *\n * RECONCILED 2026-09-08 (#421). This constant used to be `'22'` and this comment used to enumerate\n * a four-way disagreement — the constant at 22, `MINIMUM_VERSIONS.NODE` at 20.0.0, the two deploy\n * templates hard-coded at 22, and `SUPPORTED_NODE_MAJOR_VERSION` at 26 — and to record that\n * reconciling them was a behaviour change rather than a docstring edit. That decision was taken:\n * every one of them now reads the named authority.\n *\n * DERIVED, not restated. A generated pipeline must provision the major the framework supports, and\n * a second literal here is a second thing to remember on the next bump. The deploy templates cannot\n * import a TypeScript constant, so they are rendered from the same value and PINNED by a test — the\n * pattern `host-toolchain-readiness.service.test.ts` already applies to the copies in `install.sh`,\n * `install.ps1` and the CI workflows, and the only reason those four stopped drifting.\n */\nconst VALIDATION_WORKFLOW_DEFAULT_NODE_VERSION = String(SUPPORTED_NODE_MAJOR_VERSION);\n\nexport interface ValidationWorkflowInstallResult {\n /**\n * Absolute path of the workflow file when it was either freshly\n * created or already present at install time.\n */\n path: string;\n /** True when this run created the file. */\n created: boolean;\n /**\n * True when the file already existed and we LEFT IT IN PLACE\n * (idempotent install — operator's local edits, if any, are\n * preserved). Always `false` when `force: true`.\n */\n skipped: boolean;\n /**\n * True when `force: true` and the install REPLACED an existing file.\n * Carries the same fail-loud intent as `local reset` — operators\n * need to see when their authored edits were overwritten.\n */\n overwritten: boolean;\n}\n\nexport interface InstallValidationWorkflowOptions {\n appName: string;\n /**\n * Explicit Node.js version string to bake into the workflow's\n * `actions/setup-node` step. Defaults to\n * {@link VALIDATION_WORKFLOW_DEFAULT_NODE_VERSION}. Pass an explicit\n * value when the customer-app pins a different Node major.\n */\n nodeVersion?: string;\n /**\n * When `true`, overwrite an existing workflow file. Default `false`\n * (idempotent install — preserves local edits).\n */\n force?: boolean;\n}\n\n/**\n * Materialize the per-PR validation workflow into\n * `<appRoot>/.github/workflows/wildo-config-validation.yml`.\n *\n * Slice 6.8.b — wired into both `wildo init` (post-scaffold, every new\n * app gets the gate by default) and `wildo setup` (post-success,\n * back-fills existing apps that pre-date Slice 6.8). Idempotent by\n * default: if the file already exists, the installer leaves it alone\n * and the caller logs a \"would-overwrite\" warning under `--force`.\n *\n * Why a single dedicated installer (vs reusing `writeWorkflows`):\n * `writeWorkflows` is parameterized per-env and produces one file per\n * environment; the validation workflow is per-APP (single file,\n * env-agnostic). Reusing the same loop would force a fake \"validation\n * env\" abstraction that doesn't exist anywhere else and would muddy\n * the deploy-workflow contract. Two installers, one canonical\n * concern each.\n */\nexport function installValidationWorkflow(\n appRoot: string,\n frameworkPath: string,\n options: InstallValidationWorkflowOptions,\n): ValidationWorkflowInstallResult {\n const tp = new TemplateProcessor(resolveFrameworkLayout(frameworkPath).ciTemplatesHome);\n const workflowsDir = join(appRoot, '.github', 'workflows');\n mkdirSync(workflowsDir, { recursive: true });\n\n const filePath = join(workflowsDir, WILDO_VALIDATION_WORKFLOW_FILENAME);\n const exists = existsSync(filePath);\n const force = options.force === true;\n\n if (exists && !force) {\n return { path: filePath, created: false, skipped: true, overwritten: false };\n }\n\n const content = tp.processTemplate('wildo-config-validation.yml.hbs', {\n appName: options.appName,\n nodeVersion: options.nodeVersion ?? VALIDATION_WORKFLOW_DEFAULT_NODE_VERSION,\n });\n writeFileSync(filePath, content, 'utf8');\n\n return {\n path: filePath,\n created: !exists,\n skipped: false,\n overwritten: exists && force,\n };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"ci-workflow-generator.service.js","sourceRoot":"","sources":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AC,KAAK,EAAE,CAAC;QACrB,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;IAC/E,CAAC;IAED,MAAM,OAAO,GAAG,EAAE,CAAC,eAAe,CAAC,iCAAiC,EAAE;QACpE,OAAO,EAAE,OAAO,CAAC,OAAO;QACxB,WAAW,EAAE,OAAO,CAAC,WAAW,IAAI,wCAAwC;KAC7E,CAAC,CAAC;IACH,aAAa,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAEzC,OAAO;QACL,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,CAAC,MAAM;QAChB,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,MAAM,IAAI,KAAK;KAC7B,CAAC;AACJ,CAAC","sourcesContent":["/**\n * CiWorkflowGeneratorService — generate GitHub Actions workflow files.\n *\n * Produces `.github/workflows/deploy-<env>.yml` files based on the\n * environment's infra config (`deployment.branch`, `deployment.runtime`).\n *\n * Templates live in `templates/infra/ci/` and are rendered via\n * the shared `TemplateProcessor` (Handlebars).\n */\n\nimport { mkdirSync, writeFileSync, existsSync } from 'fs';\nimport { join } from 'path';\nimport {\n AppFrontendType,\n buildServicePublicUrl,\n resolveFrameworkLayout,\n WildoDeploymentRuntime,\n WildoImageTagStrategy,\n type WildoDeploymentConfig,\n} from '@wildo-ai/platform-config-lib';\nimport { RuntimeEnvironment } from '@wildo-ai/saas-models';\nimport { SUPPORTED_NODE_MAJOR_VERSION } from '~wildo-cli/services/deployment/host-toolchain-readiness.service';\nimport { TemplateProcessor } from '~wildo-cli/infrastructure/io/template-processor';\nimport { getRequiredCiSecretEnvVars, type ApplicationCiSecretKey } from '~wildo-cli/services/credentials/ci-secrets-adapter.service';\nimport { CERT_MANAGER_CHART, TRAEFIK_CHART } from '~wildo-cli/services/deployment/k8s/cluster-controller-charts.constants';\n\n/**\n * The Dockerfile the deploy workflow builds for a declared service / minion / worker path — ONE mapping\n * (#984), read by `wildo config sync --domain cicd` when it derives the per-service build targets and\n * by the template contract that holds every shipped service path to a Dockerfile at exactly this\n * location. The path is the authored `path` (`./backend-api`, `./minions/<dir>`), the Dockerfile sits\n * at its root, and the build context is the application root.\n */\nexport function resolveServiceImageDockerfilePath(servicePath: string): string {\n return `${servicePath.replace(/^\\.\\//, '')}/Dockerfile`;\n}\n\n/** One `--build-arg` a service image is built with. Values are origins and names, never secrets. */\nexport interface ServiceImageBuildArg {\n readonly name: string;\n readonly value: string;\n}\n\n/**\n * The build-time `ARG`s each FRONTEND kind's shipped Dockerfile declares, and so the ones its deploy build must\n * pass (#1125). A backend, minion or worker image declares none: its configuration is read at RUNTIME.\n *\n * A frontend-shaped image bakes its origins in at BUILD time, and the build context deliberately excludes every\n * `.env*` (they can carry credentials). So a CI build that passes no build-args produces an image with empty\n * origins — a frontend that calls no API, a docs portal that recognises no application, a website that never\n * opts into indexing — while the workflow stays green. Keyed by the kind, total over `AppFrontendType`, so a new\n * frontend kind cannot compile without saying what it needs; `deployment-template-contracts.test.ts` holds each\n * list equal to the `ARG`s the shipped Dockerfile of that kind declares.\n */\nexport const SERVICE_IMAGE_BUILD_ARG_NAMES: Readonly<Record<AppFrontendType, readonly string[]>> = {\n [AppFrontendType.SAAS_APP]: ['VITE_APP_NAME', 'VITE_FRONTEND_SERVICE_NAME', 'VITE_API_BASE_URL'],\n [AppFrontendType.STATIC_WEBSITE]: ['PUBLIC_ALLOW_INDEXING', 'PUBLIC_API_ORIGIN', 'PUBLIC_APP_ORIGIN'],\n [AppFrontendType.TECH_DOC]: ['WILDO_INFRA_ENV', 'WILDO_DOCS_API_BASE_URL', 'WILDO_DOCS_APP_URL', 'WILDO_DOCS_FRONTEND_SERVICE_NAME'],\n};\n\nexport interface ServiceImageBuildArgsInput {\n /** `undefined` for a backend, minion or worker — an image that declares no build-time args. */\n readonly frontendType: AppFrontendType | undefined;\n readonly serviceName: string;\n readonly appDisplayName: string;\n /** The infra environment id (`wildo.infra.<env>.config.ts > environment`). */\n readonly envName: string;\n readonly runtimeEnvironment?: RuntimeEnvironment | undefined;\n readonly publicDomain?: string | undefined;\n readonly serviceHosts?: Record<string, string> | undefined;\n /** `config.services.<key>` of the main backend API — the host its public URL resolves from. */\n readonly mainBackendApiServiceKey?: string | undefined;\n /** `config.services.<key>` of the SaaS application frontend, which the documentation site deep-links to. */\n readonly saasAppServiceKey?: string | undefined;\n /** The environment's authored documentation-site origins; each one, when authored, wins over the derived value. */\n readonly documentationSite?: { readonly apiBaseUrl?: string; readonly appUrl?: string; readonly frontendServiceName?: string } | undefined;\n}\n\n/**\n * The build args ONE service image needs in ONE environment, derived from what the application and the environment\n * already declare (#1125) — and the names this environment cannot supply a value for.\n *\n * Every public origin comes from `buildServicePublicUrl`, the helper the ingress routes, `runtime.endPoints` and\n * CORS already key on, so the origin baked into a frontend is the one the backend accepts. The documentation\n * site takes its authored `documentationSite` values when present and the same derived origins otherwise.\n * `PUBLIC_ALLOW_INDEXING` is `true` exactly for an environment whose `runtimeEnvironment` is PRODUCTION — the\n * website's robots are fail-closed noindex, and \"production opts in\" is now a declared fact, not a manual flag.\n *\n * An unresolvable value is REPORTED, never invented: an empty origin compiled into a bundle is the defect this\n * exists to prevent, so the name is returned in `unresolved` and the workflow says so beside the build step.\n */\nexport function resolveServiceImageBuildArgs(input: ServiceImageBuildArgsInput): {\n readonly buildArgs: readonly ServiceImageBuildArg[];\n readonly unresolved: readonly string[];\n} {\n if (input.frontendType === undefined) return { buildArgs: [], unresolved: [] };\n const publicUrlOf = (serviceKey: string | undefined): string | undefined =>\n serviceKey === undefined || !input.publicDomain\n ? undefined\n : buildServicePublicUrl({ serviceKey, serviceHosts: input.serviceHosts, publicDomain: input.publicDomain });\n const apiBaseUrl = publicUrlOf(input.mainBackendApiServiceKey);\n const valueOf: Readonly<Record<string, () => string | undefined>> = {\n VITE_APP_NAME: () => input.appDisplayName || undefined,\n VITE_FRONTEND_SERVICE_NAME: () => input.serviceName,\n VITE_API_BASE_URL: () => apiBaseUrl,\n PUBLIC_ALLOW_INDEXING: () => String(input.runtimeEnvironment === RuntimeEnvironment.PRODUCTION),\n // The website's capture forms POST here. Without it a non-production build falls back to the single `apiOrigin`\n // authored in `wildo.website.config.ts` — production's — so a staging site wrote into the production API.\n PUBLIC_API_ORIGIN: () => apiBaseUrl,\n // The app the website's CTAs link into — this environment's, not the single production `appOrigin` the website config\n // authors as its default (#1166).\n PUBLIC_APP_ORIGIN: () => publicUrlOf(input.saasAppServiceKey),\n WILDO_INFRA_ENV: () => input.envName,\n WILDO_DOCS_API_BASE_URL: () => input.documentationSite?.apiBaseUrl ?? apiBaseUrl,\n WILDO_DOCS_APP_URL: () => input.documentationSite?.appUrl ?? publicUrlOf(input.saasAppServiceKey),\n WILDO_DOCS_FRONTEND_SERVICE_NAME: () => input.documentationSite?.frontendServiceName ?? input.serviceName,\n };\n const buildArgs: ServiceImageBuildArg[] = [];\n const unresolved: string[] = [];\n for (const name of SERVICE_IMAGE_BUILD_ARG_NAMES[input.frontendType]) {\n const value = valueOf[name]?.();\n if (value === undefined || value === '') unresolved.push(name);\n else buildArgs.push({ name, value });\n }\n return { buildArgs, unresolved };\n}\n\n/** `docker build` flags for a set of build args, each single-quoted for the POSIX shell a workflow step runs in. */\nexport function renderDockerBuildArgFlags(buildArgs: readonly ServiceImageBuildArg[]): string {\n return buildArgs.map(({ name, value }) => ` --build-arg '${`${name}=${value}`.replace(/'/g, `'\\\\''`)}'`).join('');\n}\n\nexport interface WorkflowEnvConfig {\n envName: string;\n deployment: WildoDeploymentConfig;\n appName: string;\n /**\n * Per-service build targets (per-service deploy model): each app service\n * (backend + every frontend) AND each app-owned minion/worker builds its OWN\n * image from its OWN Dockerfile. `serviceName` is the pushed image name and\n * matches the k8s/compose manifest image refs — the raw\n * `services.<key>.serviceName` for services, `{appSlug}-minion-{key}` /\n * `{appSlug}-worker-{key}` for minions/workers (coherent with\n * `renderMinionForTarget` / `renderWorkerForTarget`). `dockerfile` is the path\n * to that target's Dockerfile (build context = the app root). Derived from\n * `wildo.saas.config.ts` `services.<key>.{serviceName,path}` +\n * `minions.<key>.path` + `workers.<key>.path`.\n */\n services?: Array<{\n serviceName: string;\n dockerfile: string;\n /** Build-time args this service's image needs in this environment (#1125). Absent for an image that declares none. */\n buildArgs?: readonly ServiceImageBuildArg[];\n /** Names the environment supplies no value for — rendered as a comment beside the build step, never as an empty arg. */\n unresolvedBuildArgs?: readonly string[];\n }>;\n /**\n * The application secrets this environment's deploy job must receive — provider secrets, system-of-record\n * credentials and inbound endpoint secrets, each under its own kind (#1650). A secret missing here never reaches\n * the job, whatever the GitHub Environment holds.\n */\n applicationSecretKeys?: readonly ApplicationCiSecretKey[];\n /**\n * The environment's `remoteProvider.registryEndpoint` — the registry BOTH deploy manifests pull every image from\n * (`docker-compose.app.yml` directly, the Kubernetes deployments through `kubernetes.imageRegistry`), and so the one\n * the workflow pushes to.\n *\n * The workflow used to push Kubernetes images to `deployment.registry` (defaulting to GHCR) and Compose images\n * nowhere, while the host pulled from this endpoint (#1165). That field is gone. Absent, a Compose workflow builds\n * and publishes nothing and says so beside the build steps; a remote Kubernetes environment cannot lack it —\n * the infra schema requires `remoteProvider` there.\n */\n registryEndpoint?: string | undefined;\n /**\n * Whether this environment OWNS its cluster — `false` when it runs on another application's infrastructure\n * (`infrastructureHost`). Only the owner's workflow installs the cluster-wide controllers (cert-manager,\n * Traefik); a hosted application deploys its own workloads into the host's cluster. Omitted means owned.\n */\n ownsClusterInfrastructure?: boolean;\n}\n\nexport interface CiInitResult {\n created: string[];\n skipped: string[];\n}\n\n/**\n * Generates the `${{ secrets.X }}` mapping block for GitHub Actions.\n * Maps each `WILDO_SECRET_*` env var to its corresponding GitHub Secret.\n * Returned as a pre-formatted string for direct injection into the template.\n */\nfunction buildSecretsEnvBlock(applicationSecretKeys: readonly ApplicationCiSecretKey[] = []): string {\n const { required, optional } = getRequiredCiSecretEnvVars(applicationSecretKeys);\n const lines: string[] = [];\n\n for (const envVar of required) {\n lines.push(` ${envVar}: \\${{ secrets.${envVar} }}`);\n }\n\n if (optional.length > 0) {\n lines.push(' # Optional — set these GitHub Secrets if your environment uses them');\n for (const envVar of optional) {\n lines.push(` ${envVar}: \\${{ secrets.${envVar} }}`);\n }\n }\n\n return lines.join('\\n');\n}\n\nfunction buildImageTag(strategy: WildoImageTagStrategy): string {\n switch (strategy) {\n case WildoImageTagStrategy.COMMIT_SHA:\n return '${{ github.sha }}';\n case WildoImageTagStrategy.BRANCH_NAME:\n return '${{ github.ref_name }}';\n case WildoImageTagStrategy.SEMVER:\n return '${{ github.event.release.tag_name || github.ref_name }}';\n }\n}\n\n/**\n * Build the template variables for a workflow config.\n * Pre-computes dynamic values (imageTag, secretsEnvBlock) so the\n * `.hbs` template handles only structural layout.\n */\nfunction buildTemplateVars(config: WorkflowEnvConfig): Record<string, unknown> {\n const { envName, deployment, appName } = config;\n\n // The registry the manifests pull from — see `WorkflowEnvConfig.registryEndpoint` (#1165).\n const registry = config.registryEndpoint || undefined;\n const namespace = deployment.runtime === WildoDeploymentRuntime.KUBERNETES ? deployment.namespace : undefined;\n\n return {\n appName,\n envName,\n branch: deployment.branch,\n registry,\n namespace,\n imageTag: buildImageTag(deployment.imageTagStrategy),\n secretsEnvBlock: buildSecretsEnvBlock(config.applicationSecretKeys ?? []),\n /*\n * The deploy workflows used to hard-code `node-version: 22` while the framework's named\n * authority said 26 (#421). A Handlebars template cannot import a TypeScript constant, so the\n * value is RENDERED from the same constant the validation workflow derives from — and the\n * rendered result is pinned by `deployment-template-contracts.test.ts`, which is the only\n * reason the copies in `install.sh`, `install.ps1` and the CI workflows stopped drifting.\n */\n nodeVersion: String(SUPPORTED_NODE_MAJOR_VERSION),\n // Only the cluster's infrastructure owner installs its controllers; see `WorkflowEnvConfig.ownsClusterInfrastructure`.\n ownsClusterInfrastructure: config.ownsClusterInfrastructure !== false,\n // The Traefik chart the workflow installs, pinned in one place with the bootstrap's (#1788 review, D1).\n traefikChartVersion: TRAEFIK_CHART.version,\n certManagerChartVersion: CERT_MANAGER_CHART.version,\n // Per-service image builds (per-service deploy model). Empty → the workflow\n // renders no build steps (an app with no services is a misconfiguration the\n // upstream resolver rejects, but the template stays render-safe).\n // `dockerBuildArgFlags` is pre-rendered and shell-quoted here: a Handlebars template cannot quote a value that\n // may carry a space or an apostrophe (an application's display name), and the plain `docker build` step needs it.\n services: (config.services ?? []).map((service) => ({\n ...service,\n buildArgs: service.buildArgs ?? [],\n unresolvedBuildArgs: service.unresolvedBuildArgs ?? [],\n dockerBuildArgFlags: renderDockerBuildArgFlags(service.buildArgs ?? []),\n })),\n };\n}\n\n/**\n * Generate a GitHub Actions workflow YAML for a single environment.\n */\nexport function generateWorkflow(config: WorkflowEnvConfig, tp: TemplateProcessor): string {\n const vars = buildTemplateVars(config);\n const templateFile = config.deployment.runtime === WildoDeploymentRuntime.KUBERNETES\n ? 'deploy-k8s.yml.hbs'\n : 'deploy-docker-compose.yml.hbs';\n\n return tp.processTemplate(templateFile, vars);\n}\n\n/**\n * Write workflow files to `<appRoot>/.github/workflows/`.\n * Skips files that already exist unless `force` is true.\n */\nexport function writeWorkflows(\n appRoot: string,\n environments: WorkflowEnvConfig[],\n frameworkPath: string,\n force: boolean = false,\n): CiInitResult {\n const tp = new TemplateProcessor(resolveFrameworkLayout(frameworkPath).ciTemplatesHome);\n const workflowsDir = join(appRoot, '.github', 'workflows');\n mkdirSync(workflowsDir, { recursive: true });\n\n const created: string[] = [];\n const skipped: string[] = [];\n\n for (const envConfig of environments) {\n const fileName = `deploy-${envConfig.envName}.yml`;\n const filePath = join(workflowsDir, fileName);\n\n if (existsSync(filePath) && !force) {\n skipped.push(filePath);\n continue;\n }\n\n const content = generateWorkflow(envConfig, tp);\n writeFileSync(filePath, content, 'utf8');\n created.push(filePath);\n }\n\n return { created, skipped };\n}\n\n// ============================================================================\n// Slice 6.8 / F-48 — per-app `wildo config validate` workflow installer\n// ============================================================================\n\n/**\n * Canonical filename for the per-PR validation workflow. Pinned in one\n * place so `wildo config validate --domain cicd` (which checks for the\n * SAME path) and the installer below cannot drift.\n */\nexport const WILDO_VALIDATION_WORKFLOW_FILENAME = 'wildo-config-validation.yml';\n\n/**\n * Default Node.js version baked into the validation workflow.\n *\n * RECONCILED 2026-09-08 (#421). This constant used to be `'22'` and this comment used to enumerate\n * a four-way disagreement — the constant at 22, `MINIMUM_VERSIONS.NODE` at 20.0.0, the two deploy\n * templates hard-coded at 22, and `SUPPORTED_NODE_MAJOR_VERSION` at 26 — and to record that\n * reconciling them was a behaviour change rather than a docstring edit. That decision was taken:\n * every one of them now reads the named authority.\n *\n * DERIVED, not restated. A generated pipeline must provision the major the framework supports, and\n * a second literal here is a second thing to remember on the next bump. The deploy templates cannot\n * import a TypeScript constant, so they are rendered from the same value and PINNED by a test — the\n * pattern `host-toolchain-readiness.service.test.ts` already applies to the copies in `install.sh`,\n * `install.ps1` and the CI workflows, and the only reason those four stopped drifting.\n */\nconst VALIDATION_WORKFLOW_DEFAULT_NODE_VERSION = String(SUPPORTED_NODE_MAJOR_VERSION);\n\nexport interface ValidationWorkflowInstallResult {\n /**\n * Absolute path of the workflow file when it was either freshly\n * created or already present at install time.\n */\n path: string;\n /** True when this run created the file. */\n created: boolean;\n /**\n * True when the file already existed and we LEFT IT IN PLACE\n * (idempotent install — operator's local edits, if any, are\n * preserved). Always `false` when `force: true`.\n */\n skipped: boolean;\n /**\n * True when `force: true` and the install REPLACED an existing file.\n * Carries the same fail-loud intent as `local reset` — operators\n * need to see when their authored edits were overwritten.\n */\n overwritten: boolean;\n}\n\nexport interface InstallValidationWorkflowOptions {\n appName: string;\n /**\n * Explicit Node.js version string to bake into the workflow's\n * `actions/setup-node` step. Defaults to\n * {@link VALIDATION_WORKFLOW_DEFAULT_NODE_VERSION}. Pass an explicit\n * value when the customer-app pins a different Node major.\n */\n nodeVersion?: string;\n /**\n * When `true`, overwrite an existing workflow file. Default `false`\n * (idempotent install — preserves local edits).\n */\n force?: boolean;\n}\n\n/**\n * Materialize the per-PR validation workflow into\n * `<appRoot>/.github/workflows/wildo-config-validation.yml`.\n *\n * Slice 6.8.b — wired into both `wildo init` (post-scaffold, every new\n * app gets the gate by default) and `wildo setup` (post-success,\n * back-fills existing apps that pre-date Slice 6.8). Idempotent by\n * default: if the file already exists, the installer leaves it alone\n * and the caller logs a \"would-overwrite\" warning under `--force`.\n *\n * Why a single dedicated installer (vs reusing `writeWorkflows`):\n * `writeWorkflows` is parameterized per-env and produces one file per\n * environment; the validation workflow is per-APP (single file,\n * env-agnostic). Reusing the same loop would force a fake \"validation\n * env\" abstraction that doesn't exist anywhere else and would muddy\n * the deploy-workflow contract. Two installers, one canonical\n * concern each.\n */\nexport function installValidationWorkflow(\n appRoot: string,\n frameworkPath: string,\n options: InstallValidationWorkflowOptions,\n): ValidationWorkflowInstallResult {\n const tp = new TemplateProcessor(resolveFrameworkLayout(frameworkPath).ciTemplatesHome);\n const workflowsDir = join(appRoot, '.github', 'workflows');\n mkdirSync(workflowsDir, { recursive: true });\n\n const filePath = join(workflowsDir, WILDO_VALIDATION_WORKFLOW_FILENAME);\n const exists = existsSync(filePath);\n const force = options.force === true;\n\n if (exists && !force) {\n return { path: filePath, created: false, skipped: true, overwritten: false };\n }\n\n const content = tp.processTemplate('wildo-config-validation.yml.hbs', {\n appName: options.appName,\n nodeVersion: options.nodeVersion ?? VALIDATION_WORKFLOW_DEFAULT_NODE_VERSION,\n });\n writeFileSync(filePath, content, 'utf8');\n\n return {\n path: filePath,\n created: !exists,\n skipped: false,\n overwritten: exists && force,\n };\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backing-service-health-watch.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"backing-service-health-watch.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/backing-service-health-watch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AI,CAAC;CACd;AAED,wBAAgB,+BAA+B,CAC7C,OAAO,EAAE,gCAAgC,GACxC,yBAAyB,CAwN3B"}
|
|
@@ -110,7 +110,10 @@ export function createBackingServiceHealthWatch(options) {
|
|
|
110
110
|
// project name, so an orphan reap from a background timer could remove
|
|
111
111
|
// ANOTHER application's running containers (#1126) — mid-session, with
|
|
112
112
|
// nobody watching. A watch may replace what it was asked about and
|
|
113
|
-
// nothing else.
|
|
113
|
+
// nothing else. For the same reason it is not routed through
|
|
114
|
+
// `DockerComposeReadinessService.startAndWait` (#2161): that door
|
|
115
|
+
// converges the WHOLE project and gates its initializers, while this
|
|
116
|
+
// replaces one persistent service whose replacement the next tick checks.
|
|
114
117
|
// compose-converge-waiver: a watch may replace what it was asked about and NOTHING else, so this
|
|
115
118
|
// is the one convergence that must not carry `--remove-orphans` (see the paragraph above, #1126).
|
|
116
119
|
runCompose(options.infraCtx, ['up', '-d', '--force-recreate', service]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backing-service-health-watch.js","sourceRoot":"","sources":["../../../../../src/services/deployment/docker/backing-service-health-watch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AAIH,OAAO,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AAGhH,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EACL,sBAAsB,EACtB,wBAAwB,EACxB,6BAA6B,EAC7B,yBAAyB,GAC1B,MAAM,0BAA0B,CAAC;AAElC;;;;GAIG;AACH,MAAM,wBAAwB,GAAG,MAAM,CAAC;AAExC;;;;;GAKG;AACH,MAAM,4BAA4B,GAAG,OAAO,CAAC;AAE7C;;;;GAIG;AACH,MAAM,oCAAoC,GAAG,CAAC,CAAC;AA6B/C,MAAM,UAAU,+BAA+B,CAC7C,OAAyC;IAEzC,MAAM,cAAc,GAAG,OAAO,CAAC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,YAAY,GAAG,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;YAC7C,IAAI,YAAY,KAAK,SAAS,IAAI,EAAE,GAAG,YAAY,GAAG,kBAAkB;gBAAE,SAAS;YACnF,UAAU,CAAC,GAAG,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;YAC5B,OAAO,CAAC,GAAG,CAAC,IAAI,CACd,YAAY,KAAK,SAAS;gBACxB,CAAC,CAAC,KAAK,OAAO,oEAAoE;sBAC9E,wDAAwD;sBACxD,sBAAsB,CAAC,OAAO,EAAE,cAAc,CAAC;gBACnD,CAAC,CAAC,KAAK,OAAO,4BAA4B;sBACtC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,YAAY,CAAC,GAAG,MAAM,CAAC,KAAK;sBAChD,sBAAsB,CAAC,OAAO,EAAE,cAAc,CAAC,CACtD,CAAC;QACJ,CAAC;IACH,CAAC,CAAC;IAEF,OAAO;QACL,KAAK;YACH,IAAI,MAAM,KAAK,IAAI;gBAAE,OAAO;YAC5B,MAAM,GAAG,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;QAC1C,CAAC;QACD,IAAI;YACF,IAAI,MAAM,KAAK,IAAI;gBAAE,OAAO;YAC5B,eAAe,CAAC,MAAM,CAAC,CAAC;YACxB,MAAM,GAAG,IAAI,CAAC;YACd,UAAU,CAAC,KAAK,EAAE,CAAC;YACnB,eAAe,CAAC,KAAK,EAAE,CAAC;YACxB,gBAAgB,CAAC,KAAK,EAAE,CAAC;YACzB,eAAe,CAAC,KAAK,EAAE,CAAC;YACxB,UAAU,CAAC,KAAK,EAAE,CAAC;QACrB,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["/**\n * Says out loud, while the stack is running, that a backing service has died.\n *\n * WHY THIS EXISTS, measured 2026-09-17 on the Wonder Todos local stack.\n *\n * The Docker VM took a global OOM at 05:42 and the kernel chose `clamd`. The\n * upstream `clamav/clamav` entrypoint ends `clamd --foreground &` and then\n * `exec tail -f /dev/null`, so PID 1 outlived the service: `tail` and\n * `freshclam` kept running, `clamd` became a zombie, and the container reported\n * `Up 22 hours`. `restart: unless-stopped` fires on a container EXITING, so it\n * could never reach this. The healthcheck detected it perfectly — 226\n * consecutive failures — and Compose has no restart-on-unhealthy, so the\n * detection was wired to nothing.\n *\n * File-upload malware scanning was therefore absent for 3.8 hours with an\n * application live in front of it, and NOTHING SAID SO. At the time of writing\n * this watch, no surface in the repository reported a running-but-unhealthy\n * container: not `wildo local doctor`, not `wt-status`, not the dev observer.\n * The outage surfaced only when the next `wildo local dev` ran `up --wait`.\n *\n * REPAIR IS PER-SERVICE, and the catalog decides. The converge-time lane may\n * recreate anything, because nothing is connected yet. Here an application is\n * live, so replacing a container drops every connection it holds — which is\n * free for `clamav` and destructive for `postgresql`. `LiveRecreateSafety` on\n * the infra catalog is what tells them apart (#1266); only `SAFE` is repaired,\n * everything else is reported with the consequence an operator needs in order\n * to decide. A service the catalog does not classify at all — `otel-collector`\n * today — is reported, never repaired: unknown is not a licence to act.\n *\n * CRASH LOOPS ARE REPORTED TOO, and never repaired (2026-09-25). The first version of this watch\n * left a restarting container to \"the surrounding lanes\", on the premise that Docker CAN restart\n * it. None of those lanes watches a running session, and restarting is not repairing: on\n * 2026-09-24 mongod segfaulted, left a journal record recovery could not parse, and was restarted\n * 243 times over 88 minutes while this watch said nothing. Between restarts it read\n * `running`/`starting`, never `unhealthy`, so the health half was blind to it by construction. The\n * signal is Docker's RESTART COUNT, and the report carries the container's last failure line,\n * which is the only copy that survives if a later re-render removes the container. Never\n * recreated: a fault that survives a restart survives a recreate, and a recreate of a stateful\n * service is the destructive act the catalog exists to gate.\n */\n\nimport type { Logger } from '~wildo-cli/kernel/types';\nimport type { LiveRecreateClassification } from '~wildo-cli/services/catalog/service-catalog.schemas';\nimport { INFRA_SERVICE_CATALOG, LiveRecreateSafety } from '~wildo-cli/services/catalog/service-catalog.schemas';\nimport type { PlatformDataServices } from '~wildo-cli/services/data-services/data-services.schemas';\nimport type { PlatformRuntimeContext } from './docker.schemas';\nimport { DockerUtils } from './docker.service';\nimport {\n COMPOSE_HEALTH_HEALTHY,\n COMPOSE_HEALTH_UNHEALTHY,\n parseComposeServiceContainers,\n parseRunningServiceHealth,\n} from './compose-service-health';\n\n/**\n * Slow enough to be invisible next to a dev loop's own output, fast enough that\n * a death is announced while the developer is still holding the context that\n * makes it meaningful.\n */\nconst DEFAULT_POLL_INTERVAL_MS = 30_000;\n\n/**\n * A single line at minute one scrolls out of a busy dev log and is very nearly\n * as silent as no line at all, so an outage keeps saying so. Slow enough not to\n * become noise the reader learns to skip — which is the failure mode that makes\n * a warning worthless.\n */\nconst DEFAULT_REMINDER_INTERVAL_MS = 300_000;\n\n/**\n * Consecutive polls without a new restart before a crash loop is announced as over. More than one,\n * because Docker's restart back-off grows between attempts and can outlast a single poll interval,\n * so one quiet poll is not evidence that the loop ended.\n */\nconst QUIET_POLLS_BEFORE_CRASH_LOOP_CLEARS = 3;\n\nexport interface BackingServiceHealthWatchOptions {\n readonly infraCtx: PlatformRuntimeContext;\n readonly log: Logger;\n readonly pollIntervalMs?: number;\n readonly reminderIntervalMs?: number;\n /** Injected for tests; defaults to the real Compose invocation. */\n readonly runCompose?: (infraCtx: PlatformRuntimeContext, args: string[]) => string;\n /**\n * How a compose service name is classified. Defaults to the infra catalog;\n * returns `null` for a service the catalog does not describe, which the watch\n * treats as \"report, never repair\".\n */\n readonly resolveRecreateSafety?: (service: string) => LiveRecreateClassification | null;\n /** Injected for tests; defaults to `docker inspect` restart counts, keyed by container name. */\n readonly readRestartCounts?: (containerNames: readonly string[]) => Map<string, number>;\n /** Injected for tests; defaults to the last failure-looking line of `docker logs`. */\n readonly readLastFailureLine?: (containerName: string) => string | null;\n readonly now?: () => number;\n readonly schedule?: (callback: () => void, delayMs: number) => unknown;\n readonly cancelScheduled?: (handle: unknown) => void;\n}\n\nexport interface BackingServiceHealthWatch {\n start(): void;\n stop(): void;\n}\n\nexport function createBackingServiceHealthWatch(\n options: BackingServiceHealthWatchOptions,\n): BackingServiceHealthWatch {\n const pollIntervalMs = options.pollIntervalMs ?? DEFAULT_POLL_INTERVAL_MS;\n const reminderIntervalMs = options.reminderIntervalMs ?? DEFAULT_REMINDER_INTERVAL_MS;\n const runCompose = options.runCompose\n ?? ((infraCtx, args) => DockerUtils.runDockerCompose(infraCtx, args));\n const now = options.now ?? Date.now;\n const schedule = options.schedule ?? ((callback, delayMs) => setInterval(callback, delayMs));\n const cancelScheduled = options.cancelScheduled\n ?? ((handle) => clearInterval(handle as ReturnType<typeof setInterval>));\n const resolveRecreateSafety = options.resolveRecreateSafety\n ?? ((service: string) => INFRA_SERVICE_CATALOG[service as PlatformDataServices]?.liveRecreate ?? null);\n const readRestartCounts = options.readRestartCounts ?? ((names) => DockerUtils.readRestartCounts(names));\n const readLastFailureLine = options.readLastFailureLine ?? ((name) => DockerUtils.readLastFailureLine(name));\n\n /** service -> restart count at the previous poll. The first reading is a BASELINE, never an alarm. */\n const lastRestartCount = new Map<string, number>();\n /** service -> when its crash loop was last REPORTED. */\n const crashReportedAt = new Map<string, number>();\n /** service -> consecutive polls with no new restart while a crash loop is reported. */\n const quietPolls = new Map<string, number>();\n\n /** service -> when it was last REPORTED, so a long outage re-announces itself. */\n const reportedAt = new Map<string, number>();\n /**\n * Services already repaired during the CURRENT unhealthy episode. Cleared when\n * a service recovers, so a later relapse is repaired again — but a repair that\n * did not take is never retried in a loop, which would turn a broken container\n * into a container that is also being restarted every thirty seconds.\n */\n const repairAttempted = new Set<string>();\n let handle: unknown = null;\n\n const recreateCommand = (service: string): string =>\n `docker compose up -d --force-recreate ${service}`;\n\n /**\n * Replace a SAFE service, once per unhealthy episode.\n *\n * Returns whether the recreate command succeeded — not whether the service is\n * healthy again. The next tick answers that, and letting the tick answer it is\n * what keeps this from becoming a second, blocking wait inside a watch.\n */\n const repair = (service: string, consequence: string): void => {\n repairAttempted.add(service);\n options.log.warn(\n ` ${service} is running but UNHEALTHY — the container outlived the service it provides, `\n + `which Docker's restart policy cannot reach. Recreating it: ${consequence}`,\n );\n try {\n // DELIBERATELY NOT `buildLocalComposeConvergeArgs`, whose whole point is\n // that the package spells a CONVERGENCE in exactly one place. This is not\n // a convergence: it is a targeted replacement of one named container, and\n // the difference that matters is `--remove-orphans`, which the builder\n // always appends. Every application renders its compose under the same\n // project name, so an orphan reap from a background timer could remove\n // ANOTHER application's running containers (#1126) — mid-session, with\n // nobody watching. A watch may replace what it was asked about and\n // nothing else.\n // compose-converge-waiver: a watch may replace what it was asked about and NOTHING else, so this\n // is the one convergence that must not carry `--remove-orphans` (see the paragraph above, #1126).\n runCompose(options.infraCtx, ['up', '-d', '--force-recreate', service]);\n options.log.info(` Recreated ${service}; the next check will say whether it came back.`);\n } catch {\n // Report, never retry. A recreate that fails is a real fault, and a watch\n // that keeps trying turns it into a container restarted every tick.\n options.log.error(\n ` Recreating ${service} FAILED. Run '${recreateCommand(service)}' by hand and read its output.`,\n );\n }\n };\n\n /** Why this service was NOT repaired, and what it costs to do it deliberately. */\n const describeWhyNotRepaired = (\n service: string,\n classification: LiveRecreateClassification | null,\n ): string => {\n if (classification === null) {\n return `It is not in the infra catalog, so nothing describes what recreating it would cost — `\n + `it is left alone. Run '${recreateCommand(service)}' if you know it is safe.`;\n }\n return `Not recreated automatically: ${classification.consequence}. `\n + `Run '${recreateCommand(service)}' when that is acceptable.`;\n };\n\n /**\n * Reports containers Docker keeps restarting. Never repairs them — see the file header.\n */\n const watchRestarts = (containers: Map<string, string>, at: number): void => {\n let counts: Map<string, number>;\n try {\n counts = readRestartCounts([...containers.values()]);\n } catch {\n return;\n }\n for (const [service, container] of containers) {\n const count = counts.get(container);\n if (count === undefined) continue;\n const previous = lastRestartCount.get(service);\n lastRestartCount.set(service, count);\n if (previous === undefined) continue;\n\n if (count > previous) {\n quietPolls.delete(service);\n const lastReported = crashReportedAt.get(service);\n if (lastReported !== undefined && at - lastReported < reminderIntervalMs) continue;\n crashReportedAt.set(service, at);\n const failure = readLastFailureLine(container);\n options.log.error(\n ` ${service} keeps RESTARTING (${count} restarts, ${count - previous} since the last check). `\n + 'Docker restarts it, but a fault that survives a restart is not repaired by one, and it is NOT '\n + 'recreated automatically. '\n + (failure ? `Its last failure line: ${failure} ` : '')\n + `Read 'docker logs ${container} --tail 100' before anything removes the container.`,\n );\n continue;\n }\n\n if (crashReportedAt.has(service)) {\n const quiet = (quietPolls.get(service) ?? 0) + 1;\n quietPolls.set(service, quiet);\n if (quiet >= QUIET_POLLS_BEFORE_CRASH_LOOP_CLEARS) {\n crashReportedAt.delete(service);\n quietPolls.delete(service);\n options.log.success(` ${service} has stopped restarting (${count} restarts in total).`);\n }\n }\n }\n };\n\n const tick = (): void => {\n let psOutput: string;\n let health: Map<string, string>;\n try {\n // `--all`: a container between restarts is `restarting`, which a running-only listing may omit.\n psOutput = runCompose(options.infraCtx, ['ps', '--all', '--format', 'json']);\n health = parseRunningServiceHealth(psOutput);\n } catch {\n // A watch that cannot ask must never take the dev loop down with it, and\n // must not claim health either — it simply says nothing this tick.\n return;\n }\n\n const at = now();\n watchRestarts(parseComposeServiceContainers(psOutput), at);\n const unhealthy = [...health.entries()]\n .filter(([, status]) => status === COMPOSE_HEALTH_UNHEALTHY)\n .map(([service]) => service);\n\n for (const service of [...reportedAt.keys()]) {\n const status = health.get(service);\n if (status === COMPOSE_HEALTH_HEALTHY) {\n reportedAt.delete(service);\n repairAttempted.delete(service);\n options.log.success(` ${service} is healthy again.`);\n continue;\n }\n if (status === undefined) {\n // No longer running at all. Not a recovery, and not this watch's\n // subject — forget it silently rather than announce a health it does\n // not have.\n reportedAt.delete(service);\n repairAttempted.delete(service);\n }\n // Anything else — `starting`, or an empty health — is neither a fault nor\n // a recovery, so it is left tracked and unannounced. Claiming recovery\n // here is the defect this shape exists to avoid: a repaired container\n // leaves the unhealthy set within seconds and can take MINUTES to become\n // healthy, and it may still end up unhealthy.\n }\n\n for (const service of unhealthy) {\n const classification = resolveRecreateSafety(service);\n\n if (\n classification?.safety === LiveRecreateSafety.SAFE\n && !repairAttempted.has(service)\n ) {\n reportedAt.set(service, at);\n repair(service, classification.consequence);\n continue;\n }\n\n const lastReported = reportedAt.get(service);\n if (lastReported !== undefined && at - lastReported < reminderIntervalMs) continue;\n reportedAt.set(service, at);\n options.log.warn(\n lastReported === undefined\n ? ` ${service} is running but UNHEALTHY — the container outlived the service it `\n + `provides, which Docker's restart policy cannot reach. `\n + describeWhyNotRepaired(service, classification)\n : ` ${service} is STILL unhealthy after `\n + `${Math.round((at - lastReported) / 60_000)}m. `\n + describeWhyNotRepaired(service, classification),\n );\n }\n };\n\n return {\n start(): void {\n if (handle !== null) return;\n handle = schedule(tick, pollIntervalMs);\n },\n stop(): void {\n if (handle === null) return;\n cancelScheduled(handle);\n handle = null;\n reportedAt.clear();\n repairAttempted.clear();\n lastRestartCount.clear();\n crashReportedAt.clear();\n quietPolls.clear();\n },\n };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"backing-service-health-watch.js","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/backing-service-health-watch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AAIH,OAAO,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AAGhH,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EACL,sBAAsB,EACtB,wBAAwB,EACxB,6BAA6B,EAC7B,yBAAyB,GAC1B,MAAM,0BAA0B,CAAC;AAElC;;;;GAIG;AACH,MAAM,wBAAwB,GAAG,MAAM,CAAC;AAExC;;;;;GAKG;AACH,MAAM,4BAA4B,GAAG,OAAO,CAAC;AAE7C;;;;GAIG;AACH,MAAM,oCAAoC,GAAG,CAAC,CAAC;AA6B/C,MAAM,UAAU,+BAA+B,CAC7C,OAAyC;IAEzC,MAAM,cAAc,GAAG,OAAO,CAAC,cAAc,IAAI,wBAAwB,C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S;YACX,CAAC;YAED,MAAM,YAAY,GAAG,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;YAC7C,IAAI,YAAY,KAAK,SAAS,IAAI,EAAE,GAAG,YAAY,GAAG,kBAAkB;gBAAE,SAAS;YACnF,UAAU,CAAC,GAAG,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;YAC5B,OAAO,CAAC,GAAG,CAAC,IAAI,CACd,YAAY,KAAK,SAAS;gBACxB,CAAC,CAAC,KAAK,OAAO,oEAAoE;sBAC9E,wDAAwD;sBACxD,sBAAsB,CAAC,OAAO,EAAE,cAAc,CAAC;gBACnD,CAAC,CAAC,KAAK,OAAO,4BAA4B;sBACtC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,YAAY,CAAC,GAAG,MAAM,CAAC,KAAK;sBAChD,sBAAsB,CAAC,OAAO,EAAE,cAAc,CAAC,CACtD,CAAC;QACJ,CAAC;IACH,CAAC,CAAC;IAEF,OAAO;QACL,KAAK;YACH,IAAI,MAAM,KAAK,IAAI;gBAAE,OAAO;YAC5B,MAAM,GAAG,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;QAC1C,CAAC;QACD,IAAI;YACF,IAAI,MAAM,KAAK,IAAI;gBAAE,OAAO;YAC5B,eAAe,CAAC,MAAM,CAAC,CAAC;YACxB,MAAM,GAAG,IAAI,CAAC;YACd,UAAU,CAAC,KAAK,EAAE,CAAC;YACnB,eAAe,CAAC,KAAK,EAAE,CAAC;YACxB,gBAAgB,CAAC,KAAK,EAAE,CAAC;YACzB,eAAe,CAAC,KAAK,EAAE,CAAC;YACxB,UAAU,CAAC,KAAK,EAAE,CAAC;QACrB,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["/**\n * Says out loud, while the stack is running, that a backing service has died.\n *\n * WHY THIS EXISTS, measured 2026-09-17 on the Wonder Todos local stack.\n *\n * The Docker VM took a global OOM at 05:42 and the kernel chose `clamd`. The\n * upstream `clamav/clamav` entrypoint ends `clamd --foreground &` and then\n * `exec tail -f /dev/null`, so PID 1 outlived the service: `tail` and\n * `freshclam` kept running, `clamd` became a zombie, and the container reported\n * `Up 22 hours`. `restart: unless-stopped` fires on a container EXITING, so it\n * could never reach this. The healthcheck detected it perfectly — 226\n * consecutive failures — and Compose has no restart-on-unhealthy, so the\n * detection was wired to nothing.\n *\n * File-upload malware scanning was therefore absent for 3.8 hours with an\n * application live in front of it, and NOTHING SAID SO. At the time of writing\n * this watch, no surface in the repository reported a running-but-unhealthy\n * container: not `wildo local doctor`, not `wt-status`, not the dev observer.\n * The outage surfaced only when the next `wildo local dev` ran `up --wait`.\n *\n * REPAIR IS PER-SERVICE, and the catalog decides. The converge-time lane may\n * recreate anything, because nothing is connected yet. Here an application is\n * live, so replacing a container drops every connection it holds — which is\n * free for `clamav` and destructive for `postgresql`. `LiveRecreateSafety` on\n * the infra catalog is what tells them apart (#1266); only `SAFE` is repaired,\n * everything else is reported with the consequence an operator needs in order\n * to decide. A service the catalog does not classify at all — `otel-collector`\n * today — is reported, never repaired: unknown is not a licence to act.\n *\n * CRASH LOOPS ARE REPORTED TOO, and never repaired (2026-09-25). The first version of this watch\n * left a restarting container to \"the surrounding lanes\", on the premise that Docker CAN restart\n * it. None of those lanes watches a running session, and restarting is not repairing: on\n * 2026-09-24 mongod segfaulted, left a journal record recovery could not parse, and was restarted\n * 243 times over 88 minutes while this watch said nothing. Between restarts it read\n * `running`/`starting`, never `unhealthy`, so the health half was blind to it by construction. The\n * signal is Docker's RESTART COUNT, and the report carries the container's last failure line,\n * which is the only copy that survives if a later re-render removes the container. Never\n * recreated: a fault that survives a restart survives a recreate, and a recreate of a stateful\n * service is the destructive act the catalog exists to gate.\n */\n\nimport type { Logger } from '~wildo-cli/kernel/types';\nimport type { LiveRecreateClassification } from '~wildo-cli/services/catalog/service-catalog.schemas';\nimport { INFRA_SERVICE_CATALOG, LiveRecreateSafety } from '~wildo-cli/services/catalog/service-catalog.schemas';\nimport type { PlatformDataServices } from '~wildo-cli/services/data-services/data-services.schemas';\nimport type { PlatformRuntimeContext } from './docker.schemas';\nimport { DockerUtils } from './docker.service';\nimport {\n COMPOSE_HEALTH_HEALTHY,\n COMPOSE_HEALTH_UNHEALTHY,\n parseComposeServiceContainers,\n parseRunningServiceHealth,\n} from './compose-service-health';\n\n/**\n * Slow enough to be invisible next to a dev loop's own output, fast enough that\n * a death is announced while the developer is still holding the context that\n * makes it meaningful.\n */\nconst DEFAULT_POLL_INTERVAL_MS = 30_000;\n\n/**\n * A single line at minute one scrolls out of a busy dev log and is very nearly\n * as silent as no line at all, so an outage keeps saying so. Slow enough not to\n * become noise the reader learns to skip — which is the failure mode that makes\n * a warning worthless.\n */\nconst DEFAULT_REMINDER_INTERVAL_MS = 300_000;\n\n/**\n * Consecutive polls without a new restart before a crash loop is announced as over. More than one,\n * because Docker's restart back-off grows between attempts and can outlast a single poll interval,\n * so one quiet poll is not evidence that the loop ended.\n */\nconst QUIET_POLLS_BEFORE_CRASH_LOOP_CLEARS = 3;\n\nexport interface BackingServiceHealthWatchOptions {\n readonly infraCtx: PlatformRuntimeContext;\n readonly log: Logger;\n readonly pollIntervalMs?: number;\n readonly reminderIntervalMs?: number;\n /** Injected for tests; defaults to the real Compose invocation. */\n readonly runCompose?: (infraCtx: PlatformRuntimeContext, args: string[]) => string;\n /**\n * How a compose service name is classified. Defaults to the infra catalog;\n * returns `null` for a service the catalog does not describe, which the watch\n * treats as \"report, never repair\".\n */\n readonly resolveRecreateSafety?: (service: string) => LiveRecreateClassification | null;\n /** Injected for tests; defaults to `docker inspect` restart counts, keyed by container name. */\n readonly readRestartCounts?: (containerNames: readonly string[]) => Map<string, number>;\n /** Injected for tests; defaults to the last failure-looking line of `docker logs`. */\n readonly readLastFailureLine?: (containerName: string) => string | null;\n readonly now?: () => number;\n readonly schedule?: (callback: () => void, delayMs: number) => unknown;\n readonly cancelScheduled?: (handle: unknown) => void;\n}\n\nexport interface BackingServiceHealthWatch {\n start(): void;\n stop(): void;\n}\n\nexport function createBackingServiceHealthWatch(\n options: BackingServiceHealthWatchOptions,\n): BackingServiceHealthWatch {\n const pollIntervalMs = options.pollIntervalMs ?? DEFAULT_POLL_INTERVAL_MS;\n const reminderIntervalMs = options.reminderIntervalMs ?? DEFAULT_REMINDER_INTERVAL_MS;\n const runCompose = options.runCompose\n ?? ((infraCtx, args) => DockerUtils.runDockerCompose(infraCtx, args));\n const now = options.now ?? Date.now;\n const schedule = options.schedule ?? ((callback, delayMs) => setInterval(callback, delayMs));\n const cancelScheduled = options.cancelScheduled\n ?? ((handle) => clearInterval(handle as ReturnType<typeof setInterval>));\n const resolveRecreateSafety = options.resolveRecreateSafety\n ?? ((service: string) => INFRA_SERVICE_CATALOG[service as PlatformDataServices]?.liveRecreate ?? null);\n const readRestartCounts = options.readRestartCounts ?? ((names) => DockerUtils.readRestartCounts(names));\n const readLastFailureLine = options.readLastFailureLine ?? ((name) => DockerUtils.readLastFailureLine(name));\n\n /** service -> restart count at the previous poll. The first reading is a BASELINE, never an alarm. */\n const lastRestartCount = new Map<string, number>();\n /** service -> when its crash loop was last REPORTED. */\n const crashReportedAt = new Map<string, number>();\n /** service -> consecutive polls with no new restart while a crash loop is reported. */\n const quietPolls = new Map<string, number>();\n\n /** service -> when it was last REPORTED, so a long outage re-announces itself. */\n const reportedAt = new Map<string, number>();\n /**\n * Services already repaired during the CURRENT unhealthy episode. Cleared when\n * a service recovers, so a later relapse is repaired again — but a repair that\n * did not take is never retried in a loop, which would turn a broken container\n * into a container that is also being restarted every thirty seconds.\n */\n const repairAttempted = new Set<string>();\n let handle: unknown = null;\n\n const recreateCommand = (service: string): string =>\n `docker compose up -d --force-recreate ${service}`;\n\n /**\n * Replace a SAFE service, once per unhealthy episode.\n *\n * Returns whether the recreate command succeeded — not whether the service is\n * healthy again. The next tick answers that, and letting the tick answer it is\n * what keeps this from becoming a second, blocking wait inside a watch.\n */\n const repair = (service: string, consequence: string): void => {\n repairAttempted.add(service);\n options.log.warn(\n ` ${service} is running but UNHEALTHY — the container outlived the service it provides, `\n + `which Docker's restart policy cannot reach. Recreating it: ${consequence}`,\n );\n try {\n // DELIBERATELY NOT `buildLocalComposeConvergeArgs`, whose whole point is\n // that the package spells a CONVERGENCE in exactly one place. This is not\n // a convergence: it is a targeted replacement of one named container, and\n // the difference that matters is `--remove-orphans`, which the builder\n // always appends. Every application renders its compose under the same\n // project name, so an orphan reap from a background timer could remove\n // ANOTHER application's running containers (#1126) — mid-session, with\n // nobody watching. A watch may replace what it was asked about and\n // nothing else. For the same reason it is not routed through\n // `DockerComposeReadinessService.startAndWait` (#2161): that door\n // converges the WHOLE project and gates its initializers, while this\n // replaces one persistent service whose replacement the next tick checks.\n // compose-converge-waiver: a watch may replace what it was asked about and NOTHING else, so this\n // is the one convergence that must not carry `--remove-orphans` (see the paragraph above, #1126).\n runCompose(options.infraCtx, ['up', '-d', '--force-recreate', service]);\n options.log.info(` Recreated ${service}; the next check will say whether it came back.`);\n } catch {\n // Report, never retry. A recreate that fails is a real fault, and a watch\n // that keeps trying turns it into a container restarted every tick.\n options.log.error(\n ` Recreating ${service} FAILED. Run '${recreateCommand(service)}' by hand and read its output.`,\n );\n }\n };\n\n /** Why this service was NOT repaired, and what it costs to do it deliberately. */\n const describeWhyNotRepaired = (\n service: string,\n classification: LiveRecreateClassification | null,\n ): string => {\n if (classification === null) {\n return `It is not in the infra catalog, so nothing describes what recreating it would cost — `\n + `it is left alone. Run '${recreateCommand(service)}' if you know it is safe.`;\n }\n return `Not recreated automatically: ${classification.consequence}. `\n + `Run '${recreateCommand(service)}' when that is acceptable.`;\n };\n\n /**\n * Reports containers Docker keeps restarting. Never repairs them — see the file header.\n */\n const watchRestarts = (containers: Map<string, string>, at: number): void => {\n let counts: Map<string, number>;\n try {\n counts = readRestartCounts([...containers.values()]);\n } catch {\n return;\n }\n for (const [service, container] of containers) {\n const count = counts.get(container);\n if (count === undefined) continue;\n const previous = lastRestartCount.get(service);\n lastRestartCount.set(service, count);\n if (previous === undefined) continue;\n\n if (count > previous) {\n quietPolls.delete(service);\n const lastReported = crashReportedAt.get(service);\n if (lastReported !== undefined && at - lastReported < reminderIntervalMs) continue;\n crashReportedAt.set(service, at);\n const failure = readLastFailureLine(container);\n options.log.error(\n ` ${service} keeps RESTARTING (${count} restarts, ${count - previous} since the last check). `\n + 'Docker restarts it, but a fault that survives a restart is not repaired by one, and it is NOT '\n + 'recreated automatically. '\n + (failure ? `Its last failure line: ${failure} ` : '')\n + `Read 'docker logs ${container} --tail 100' before anything removes the container.`,\n );\n continue;\n }\n\n if (crashReportedAt.has(service)) {\n const quiet = (quietPolls.get(service) ?? 0) + 1;\n quietPolls.set(service, quiet);\n if (quiet >= QUIET_POLLS_BEFORE_CRASH_LOOP_CLEARS) {\n crashReportedAt.delete(service);\n quietPolls.delete(service);\n options.log.success(` ${service} has stopped restarting (${count} restarts in total).`);\n }\n }\n }\n };\n\n const tick = (): void => {\n let psOutput: string;\n let health: Map<string, string>;\n try {\n // `--all`: a container between restarts is `restarting`, which a running-only listing may omit.\n psOutput = runCompose(options.infraCtx, ['ps', '--all', '--format', 'json']);\n health = parseRunningServiceHealth(psOutput);\n } catch {\n // A watch that cannot ask must never take the dev loop down with it, and\n // must not claim health either — it simply says nothing this tick.\n return;\n }\n\n const at = now();\n watchRestarts(parseComposeServiceContainers(psOutput), at);\n const unhealthy = [...health.entries()]\n .filter(([, status]) => status === COMPOSE_HEALTH_UNHEALTHY)\n .map(([service]) => service);\n\n for (const service of [...reportedAt.keys()]) {\n const status = health.get(service);\n if (status === COMPOSE_HEALTH_HEALTHY) {\n reportedAt.delete(service);\n repairAttempted.delete(service);\n options.log.success(` ${service} is healthy again.`);\n continue;\n }\n if (status === undefined) {\n // No longer running at all. Not a recovery, and not this watch's\n // subject — forget it silently rather than announce a health it does\n // not have.\n reportedAt.delete(service);\n repairAttempted.delete(service);\n }\n // Anything else — `starting`, or an empty health — is neither a fault nor\n // a recovery, so it is left tracked and unannounced. Claiming recovery\n // here is the defect this shape exists to avoid: a repaired container\n // leaves the unhealthy set within seconds and can take MINUTES to become\n // healthy, and it may still end up unhealthy.\n }\n\n for (const service of unhealthy) {\n const classification = resolveRecreateSafety(service);\n\n if (\n classification?.safety === LiveRecreateSafety.SAFE\n && !repairAttempted.has(service)\n ) {\n reportedAt.set(service, at);\n repair(service, classification.consequence);\n continue;\n }\n\n const lastReported = reportedAt.get(service);\n if (lastReported !== undefined && at - lastReported < reminderIntervalMs) continue;\n reportedAt.set(service, at);\n options.log.warn(\n lastReported === undefined\n ? ` ${service} is running but UNHEALTHY — the container outlived the service it `\n + `provides, which Docker's restart policy cannot reach. `\n + describeWhyNotRepaired(service, classification)\n : ` ${service} is STILL unhealthy after `\n + `${Math.round((at - lastReported) / 60_000)}m. `\n + describeWhyNotRepaired(service, classification),\n );\n }\n };\n\n return {\n start(): void {\n if (handle !== null) return;\n handle = schedule(tick, pollIntervalMs);\n },\n stop(): void {\n if (handle === null) return;\n cancelScheduled(handle);\n handle = null;\n reportedAt.clear();\n repairAttempted.clear();\n lastRestartCount.clear();\n crashReportedAt.clear();\n quietPolls.clear();\n },\n };\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compose-service-health.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"compose-service-health.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/compose-service-health.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,YAAY,CAAC;AAC/C,eAAO,MAAM,wBAAwB,cAAc,CAAC;AACpD;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,aAAa,CAAC;AAClD,eAAO,MAAM,sBAAsB,YAAY,CAAC;AAChD;;;GAGG;AACH,eAAO,MAAM,wCAAwC,mCAAmC,CAAC;AAEzF,oDAAoD;AACpD,MAAM,WAAW,uBAAuB;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,iFAAiF;IACjF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,gCAAgC,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAIzE;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,MAAM,GAAG,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAgB7E;AAED;;;;;;GAMG;AACH,wBAAgB,6BAA6B,CAAC,MAAM,EAAE,MAAM,GAAG,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAcjF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compose-service-health.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"compose-service-health.js","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/compose-service-health.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;;;;GAKG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,SAAS,CAAC;AAC/C,MAAM,CAAC,MAAM,wBAAwB,GAAG,WAAW,CAAC;AACpD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,UAAU,CAAC;AAClD,MAAM,CAAC,MAAM,sBAAsB,GAAG,SAAS,CAAC;AAChD;;;GAGG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAG,gCAAgC,CAAC;AAkBzF;;;;;;;;;;;;;;GAcG;AACH,MAAM,UAAU,gCAAgC,CAAC,MAAc;IAC7D,OAAO,CAAC,GAAG,yBAAyB,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,CAAC;SACpD,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,EAAE,EAAE,CAAC,MAAM,KAAK,wBAAwB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AI,GAAG,CAAC,IAAI;YAAE,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC;IACrE,CAAC;IACD,OAAO,UAAU,CAAC;AACpB,CAAC","sourcesContent":["/**\n * The one reading of Compose's health vocabulary.\n *\n * Two lanes need it and must never diverge: the converge-time repair in\n * `DockerComposeReadinessService`, and the in-session watch in\n * `backing-service-health-watch`. A predicate that decides whether a backing\n * service counts as failed is exactly the kind that gets copied and then\n * silently disagrees with itself, so it is defined here once and imported.\n */\n\n/**\n * Compose's own wire values for a container that is up, and for a healthcheck\n * that has exhausted its retries. Read at this boundary and nowhere else.\n *\n * semantic-literal-boundary: Docker Compose `ps --format json` wire values.\n */\nexport const COMPOSE_STATE_RUNNING = 'running';\nexport const COMPOSE_HEALTH_UNHEALTHY = 'unhealthy';\n/**\n * A container inside its `start_period`, or one whose probe has not yet\n * succeeded. It is neither a fault nor a recovery — measured 2026-09-17, a\n * recreated `clamav` sits here for MINUTES while it loads a 1.3 GB signature\n * database under emulation.\n */\nexport const COMPOSE_HEALTH_STARTING = 'starting';\nexport const COMPOSE_HEALTH_HEALTHY = 'healthy';\n/**\n * The `depends_on` condition by which a dependant declares that the service it waits on FINISHES —\n * which makes that service a one-shot, whatever else its definition says.\n */\nexport const COMPOSE_CONDITION_COMPLETED_SUCCESSFULLY = 'service_completed_successfully';\n\n/** One row of `docker compose ps --format json`. */\nexport interface ComposeServiceHealthRow {\n Service?: string;\n /** The container's name, which is what `docker inspect` / `docker logs` take. */\n Name?: string;\n State?: string;\n /**\n * Present only for services that DECLARE a healthcheck. Compose reports `''`\n * for the rest, which is why \"not healthy\" is never read as a fault — only\n * the explicit `unhealthy` is. Testing for \"not healthy\" would sweep in every\n * service that simply declares no probe.\n */\n Health?: string;\n ExitCode?: number;\n}\n\n/**\n * The services Compose reports as RUNNING and UNHEALTHY — the one state\n * Docker's own `restart:` policy cannot reach, because the container has not\n * exited and never will.\n *\n * Deliberately excludes `exited` and `restarting`: those are ordinary faults\n * that the surrounding lanes must keep reporting loudly, and folding them in\n * here would let a crash-loop be treated as a container that merely outlived\n * its service.\n *\n * Tolerant of partial output on purpose. Compose emits one JSON object per\n * line, and one unparseable line must not hide the lines that did parse — a\n * watch that returns nothing because of a single malformed row is\n * indistinguishable from a healthy stack.\n */\nexport function parseRunningButUnhealthyServices(output: string): string[] {\n return [...parseRunningServiceHealth(output).entries()]\n .filter(([, health]) => health === COMPOSE_HEALTH_UNHEALTHY)\n .map(([service]) => service);\n}\n\n/**\n * Health, per RUNNING service, exactly as Compose reports it.\n *\n * Returned instead of a pair of lists because the three answers are genuinely\n * distinct and collapsing them is how a watch comes to claim a recovery that\n * has not happened: `starting` is NOT `unhealthy`, so \"no longer in the\n * unhealthy set\" is true of a container that is still loading. Measured on the\n * live stack — a repaired `clamav` left the unhealthy set within two seconds and\n * did not become healthy for minutes.\n *\n * Services that are not running are omitted: a stopped container is the subject\n * of a different question, and including it would let a caller read \"absent from\n * the unhealthy set\" as health.\n */\nexport function parseRunningServiceHealth(output: string): Map<string, string> {\n const health = new Map<string, string>();\n for (const line of output.split('\\n')) {\n const trimmed = line.trim();\n if (!trimmed) continue;\n let row: ComposeServiceHealthRow;\n try {\n row = JSON.parse(trimmed) as ComposeServiceHealthRow;\n } catch {\n continue;\n }\n if (row.Service && row.State === COMPOSE_STATE_RUNNING) {\n health.set(row.Service, row.Health ?? '');\n }\n }\n return health;\n}\n\n/**\n * Compose service → container name, for EVERY listed container whatever its state.\n *\n * The crash-loop half of the watch needs the container, not the health: a container restarting on\n * a fault it cannot recover from is `restarting` or briefly `running`/`starting`, never `unhealthy`,\n * so `parseRunningServiceHealth` is blind to it by construction. Same tolerance for partial output.\n */\nexport function parseComposeServiceContainers(output: string): Map<string, string> {\n const containers = new Map<string, string>();\n for (const line of output.split('\\n')) {\n const trimmed = line.trim();\n if (!trimmed) continue;\n let row: ComposeServiceHealthRow;\n try {\n row = JSON.parse(trimmed) as ComposeServiceHealthRow;\n } catch {\n continue;\n }\n if (row.Service && row.Name) containers.set(row.Service, row.Name);\n }\n return containers;\n}\n"]}
|
|
@@ -2,21 +2,6 @@ import type { PlatformEnvSecretsJson } from '../../../services/credentials/crede
|
|
|
2
2
|
import type { PlatformEnvironmentConfiguration } from '../../../services/environment/environment.schemas';
|
|
3
3
|
import { WildoLocalDataStorage } from '@wildo-ai/platform-config-lib';
|
|
4
4
|
import { type PlatformServiceMemoryProfile } from '../../../services/catalog/service-catalog.schemas';
|
|
5
|
-
/**
|
|
6
|
-
* Slice 4 (4.3) — convenience wrapper that resolves saasRoot from the
|
|
7
|
-
* registry and pre-creates every `local_data/<service>/` subdir the
|
|
8
|
-
* compose file will bind-mount.
|
|
9
|
-
*
|
|
10
|
-
* Exists so every CLI seam that runs `docker compose up` against the
|
|
11
|
-
* platform-local compose file shares the SAME pre-up step (single source
|
|
12
|
-
* of truth — D5 decision). Call sites:
|
|
13
|
-
* - `LocalUpCommand.runDockerCompose` / `restartDockerCompose`
|
|
14
|
-
* - `LocalAppReinitService.startEnvironment`
|
|
15
|
-
* - `dev/start.command.ts startDockerInfra`
|
|
16
|
-
*
|
|
17
|
-
* Throws when no SaaS root can be resolved — this keeps the failure
|
|
18
|
-
* loud at the call site (matching how the generator itself throws above).
|
|
19
|
-
*/
|
|
20
5
|
/**
|
|
21
6
|
* Whether a host path the generated compose file BIND-MOUNTS is missing, so the render must be
|
|
22
7
|
* redone before `docker compose up`.
|
|
@@ -56,6 +41,13 @@ export declare function isComposeHostMountedArtifactMissing(env: PlatformEnviron
|
|
|
56
41
|
* The infrastructure-host assertion runs FIRST, before the mode is consulted: whether this
|
|
57
42
|
* environment may converge backing services at all is a question about ownership, and it must be
|
|
58
43
|
* answered the same way under both storage modes.
|
|
44
|
+
*
|
|
45
|
+
* Slice 4 (4.3): resolves saasRoot from the registry, so every CLI seam that runs `docker compose up`
|
|
46
|
+
* against the platform-local compose file shares the SAME pre-up step (single source of truth, D5).
|
|
47
|
+
* Call sites: `LocalUpCommand.runDockerCompose`, `LocalAppReinitService.startEnvironment`, and
|
|
48
|
+
* `dev/start.command.ts` (`startDockerInfra` and its "infra already running" branch). (`LocalUpCommand.restartDockerCompose`,
|
|
49
|
+
* the `local up --rebuild` restart, was one until #2988 removed it.) Throws when no SaaS root can be
|
|
50
|
+
* resolved, which keeps the failure loud at the call site.
|
|
59
51
|
*/
|
|
60
52
|
export declare function ensureLocalDataServiceDirsForComposeRender(env: PlatformEnvironmentConfiguration): void;
|
|
61
53
|
/**
|
|
@@ -205,6 +197,7 @@ export declare function buildLocalDataMountSources(env: PlatformEnvironmentConfi
|
|
|
205
197
|
*/
|
|
206
198
|
export declare function buildLocalDataVolumeDeclarations(env: PlatformEnvironmentConfiguration, saasRoot: string, renderedServices: {
|
|
207
199
|
mongot: boolean;
|
|
200
|
+
openbao: boolean;
|
|
208
201
|
}): readonly {
|
|
209
202
|
name: string;
|
|
210
203
|
}[];
|
|
@@ -381,5 +374,5 @@ export interface DockerComposeAppWorkerEntry {
|
|
|
381
374
|
/** `pids_limit` — fork-bomb ceiling. */
|
|
382
375
|
pidsLimit: number;
|
|
383
376
|
}
|
|
384
|
-
export declare function renderDockerComposeTemplate(env: PlatformEnvironmentConfiguration, frameworkPath: string, isFrameworkDeveloper: boolean
|
|
377
|
+
export declare function renderDockerComposeTemplate(env: PlatformEnvironmentConfiguration, frameworkPath: string, isFrameworkDeveloper: boolean): Promise<void>;
|
|
385
378
|
//# sourceMappingURL=docker-compose-generator.service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docker-compose-generator.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"docker-compose-generator.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/docker-compose-generator.service.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAClG,OAAO,KAAK,EAAE,gCAAgC,EA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