@wildo-ai/wildo-cli 1.1.10 → 1.1.12
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.js +0 -0
- 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 +21 -3
- package/dist/src/commands/align-deps.command.js.map +1 -1
- package/dist/src/commands/assurance/assurance-command.utils.d.ts +14 -0
- package/dist/src/commands/assurance/assurance-command.utils.d.ts.map +1 -0
- package/dist/src/commands/assurance/assurance-command.utils.js +36 -0
- package/dist/src/commands/assurance/assurance-command.utils.js.map +1 -0
- package/dist/src/commands/assurance/report.command.d.ts +14 -0
- package/dist/src/commands/assurance/report.command.d.ts.map +1 -0
- package/dist/src/commands/assurance/report.command.js +28 -0
- package/dist/src/commands/assurance/report.command.js.map +1 -0
- package/dist/src/commands/assurance/run.command.d.ts +16 -0
- package/dist/src/commands/assurance/run.command.d.ts.map +1 -0
- package/dist/src/commands/assurance/run.command.js +49 -0
- package/dist/src/commands/assurance/run.command.js.map +1 -0
- package/dist/src/commands/assurance/schedule.command.d.ts +15 -0
- package/dist/src/commands/assurance/schedule.command.d.ts.map +1 -0
- package/dist/src/commands/assurance/schedule.command.js +49 -0
- package/dist/src/commands/assurance/schedule.command.js.map +1 -0
- 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/build/accept.command.d.ts +4 -0
- package/dist/src/commands/build/accept.command.d.ts.map +1 -1
- package/dist/src/commands/build/accept.command.js +10 -1
- package/dist/src/commands/build/accept.command.js.map +1 -1
- package/dist/src/commands/build/approve.command.d.ts +18 -0
- package/dist/src/commands/build/approve.command.d.ts.map +1 -0
- package/dist/src/commands/build/approve.command.js +45 -0
- package/dist/src/commands/build/approve.command.js.map +1 -0
- package/dist/src/commands/build/checkpoint.command.d.ts +18 -0
- package/dist/src/commands/build/checkpoint.command.d.ts.map +1 -0
- package/dist/src/commands/build/checkpoint.command.js +36 -0
- package/dist/src/commands/build/checkpoint.command.js.map +1 -0
- package/dist/src/commands/build/close.command.d.ts +26 -0
- package/dist/src/commands/build/close.command.d.ts.map +1 -0
- package/dist/src/commands/build/close.command.js +58 -0
- package/dist/src/commands/build/close.command.js.map +1 -0
- package/dist/src/commands/build/dispatches.command.d.ts.map +1 -1
- package/dist/src/commands/build/dispatches.command.js +10 -4
- 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 +6 -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/settle-window.command.d.ts +17 -0
- package/dist/src/commands/build/settle-window.command.d.ts.map +1 -0
- package/dist/src/commands/build/settle-window.command.js +42 -0
- package/dist/src/commands/build/settle-window.command.js.map +1 -0
- package/dist/src/commands/build/stop.command.d.ts +23 -0
- package/dist/src/commands/build/stop.command.d.ts.map +1 -0
- package/dist/src/commands/build/stop.command.js +52 -0
- package/dist/src/commands/build/stop.command.js.map +1 -0
- package/dist/src/commands/config/check-resources.command.d.ts +20 -6
- package/dist/src/commands/config/check-resources.command.d.ts.map +1 -1
- package/dist/src/commands/config/check-resources.command.js +36 -13
- package/dist/src/commands/config/check-resources.command.js.map +1 -1
- package/dist/src/commands/config/document-releases.command.d.ts +3 -0
- package/dist/src/commands/config/document-releases.command.d.ts.map +1 -1
- package/dist/src/commands/config/document-releases.command.js +3 -0
- package/dist/src/commands/config/document-releases.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/sync.command.d.ts +17 -3
- package/dist/src/commands/config/sync.command.d.ts.map +1 -1
- package/dist/src/commands/config/sync.command.js +87 -19
- 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 +44 -12
- package/dist/src/commands/config/validate.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 +5 -1
- package/dist/src/commands/context/elements.command.d.ts.map +1 -1
- package/dist/src/commands/context/elements.command.js +5 -1
- package/dist/src/commands/context/elements.command.js.map +1 -1
- package/dist/src/commands/context/journey.command.d.ts +33 -2
- package/dist/src/commands/context/journey.command.d.ts.map +1 -1
- package/dist/src/commands/context/journey.command.js +217 -36
- package/dist/src/commands/context/journey.command.js.map +1 -1
- package/dist/src/commands/context/launch-blockers.command.d.ts +4 -2
- package/dist/src/commands/context/launch-blockers.command.d.ts.map +1 -1
- package/dist/src/commands/context/launch-blockers.command.js +9 -6
- package/dist/src/commands/context/launch-blockers.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/creation/answer.command.d.ts +12 -0
- package/dist/src/commands/creation/answer.command.d.ts.map +1 -1
- package/dist/src/commands/creation/answer.command.js +71 -3
- package/dist/src/commands/creation/answer.command.js.map +1 -1
- package/dist/src/commands/creation/brief.command.d.ts +10 -3
- package/dist/src/commands/creation/brief.command.d.ts.map +1 -1
- package/dist/src/commands/creation/brief.command.js +22 -7
- package/dist/src/commands/creation/brief.command.js.map +1 -1
- package/dist/src/commands/creation/drive.command.d.ts +19 -0
- package/dist/src/commands/creation/drive.command.d.ts.map +1 -0
- package/dist/src/commands/creation/drive.command.js +110 -0
- package/dist/src/commands/creation/drive.command.js.map +1 -0
- package/dist/src/commands/creation/feed.command.d.ts +11 -0
- package/dist/src/commands/creation/feed.command.d.ts.map +1 -1
- package/dist/src/commands/creation/feed.command.js +78 -3
- package/dist/src/commands/creation/feed.command.js.map +1 -1
- package/dist/src/commands/creation/loop.command.d.ts +6 -0
- package/dist/src/commands/creation/loop.command.d.ts.map +1 -1
- package/dist/src/commands/creation/loop.command.js +16 -0
- package/dist/src/commands/creation/loop.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 +1 -1
- package/dist/src/commands/creation/prompt-hook.command.d.ts.map +1 -1
- package/dist/src/commands/creation/prompt-hook.command.js +7 -3
- package/dist/src/commands/creation/prompt-hook.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 +15 -1
- package/dist/src/commands/creation/questions.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 +12 -0
- 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 +2 -0
- 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/why.command.d.ts.map +1 -1
- package/dist/src/commands/creation/why.command.js +14 -9
- package/dist/src/commands/creation/why.command.js.map +1 -1
- package/dist/src/commands/creation/writes.command.d.ts +7 -0
- package/dist/src/commands/creation/writes.command.d.ts.map +1 -1
- package/dist/src/commands/creation/writes.command.js +21 -6
- 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 +1 -1
- package/dist/src/commands/db/diff.command.js +3 -3
- package/dist/src/commands/db/diff.command.js.map +1 -1
- package/dist/src/commands/db/generate.command.d.ts +2 -3
- package/dist/src/commands/db/generate.command.d.ts.map +1 -1
- package/dist/src/commands/db/generate.command.js +34 -8
- 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 +9 -1
- package/dist/src/commands/db/migrate.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/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/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 +103 -0
- package/dist/src/commands/docs/check.command.js.map +1 -0
- 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/fwk/dev-skills.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/dev-skills.command.js +23 -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 +76 -0
- package/dist/src/commands/fwk/generate-blueprints.command.js.map +1 -0
- package/dist/src/commands/fwk/generate-providers.command.js +2 -2
- package/dist/src/commands/fwk/generate-providers.command.js.map +1 -1
- package/dist/src/commands/fwk/graph.command.d.ts +1 -1
- package/dist/src/commands/fwk/graph.command.js +1 -1
- package/dist/src/commands/fwk/graph.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.d.ts +57 -3
- package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.js +424 -37
- 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 +9 -0
- 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 +15 -4
- 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 +158 -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 +88 -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/release.command.d.ts +22 -0
- package/dist/src/commands/fwk/release.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/release.command.js +216 -0
- package/dist/src/commands/fwk/release.command.js.map +1 -0
- 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/generate/email-command.utils.d.ts +15 -2
- package/dist/src/commands/generate/email-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/email-command.utils.js +20 -7
- package/dist/src/commands/generate/email-command.utils.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 +2 -2
- package/dist/src/commands/generate/email-status.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 +2 -2
- 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 +2 -2
- package/dist/src/commands/generate/email.command.js.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.d.ts +30 -0
- package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.js +131 -14
- package/dist/src/commands/generate/labelling-command.utils.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 +10 -0
- package/dist/src/commands/generate/translate.command.d.ts.map +1 -1
- package/dist/src/commands/generate/translate.command.js +37 -4
- 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 +4 -0
- package/dist/src/commands/help.command.js.map +1 -1
- package/dist/src/commands/init.command.d.ts +70 -3
- package/dist/src/commands/init.command.d.ts.map +1 -1
- package/dist/src/commands/init.command.js +468 -33
- package/dist/src/commands/init.command.js.map +1 -1
- package/dist/src/commands/keys/legacy-envelope-key.command.d.ts +8 -0
- package/dist/src/commands/keys/legacy-envelope-key.command.d.ts.map +1 -0
- package/dist/src/commands/keys/legacy-envelope-key.command.js +140 -0
- package/dist/src/commands/keys/legacy-envelope-key.command.js.map +1 -0
- package/dist/src/commands/keys/rotate-signing-keys.command.d.ts +8 -0
- package/dist/src/commands/keys/rotate-signing-keys.command.d.ts.map +1 -0
- package/dist/src/commands/keys/rotate-signing-keys.command.js +158 -0
- package/dist/src/commands/keys/rotate-signing-keys.command.js.map +1 -0
- 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/keys/vault-rotate-tokens.command.d.ts +7 -0
- package/dist/src/commands/keys/vault-rotate-tokens.command.d.ts.map +1 -0
- package/dist/src/commands/keys/vault-rotate-tokens.command.js +100 -0
- package/dist/src/commands/keys/vault-rotate-tokens.command.js.map +1 -0
- package/dist/src/commands/keys/vault-rotate-unseal-key.command.d.ts +7 -0
- package/dist/src/commands/keys/vault-rotate-unseal-key.command.d.ts.map +1 -0
- package/dist/src/commands/keys/vault-rotate-unseal-key.command.js +96 -0
- package/dist/src/commands/keys/vault-rotate-unseal-key.command.js.map +1 -0
- package/dist/src/commands/local/dev-status.command.d.ts +16 -4
- package/dist/src/commands/local/dev-status.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev-status.command.js +50 -6
- package/dist/src/commands/local/dev-status.command.js.map +1 -1
- package/dist/src/commands/local/dev.command.d.ts +17 -3
- package/dist/src/commands/local/dev.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev.command.js +88 -11
- 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 +129 -2
- 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 +1 -2
- package/dist/src/commands/local/down.command.js.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/smoke.command.d.ts.map +1 -1
- package/dist/src/commands/local/smoke.command.js +3 -2
- package/dist/src/commands/local/smoke.command.js.map +1 -1
- package/dist/src/commands/local/sor-addresses.command.d.ts +20 -0
- package/dist/src/commands/local/sor-addresses.command.d.ts.map +1 -0
- package/dist/src/commands/local/sor-addresses.command.js +65 -0
- package/dist/src/commands/local/sor-addresses.command.js.map +1 -0
- package/dist/src/commands/local/sor-command.utils.d.ts +12 -0
- package/dist/src/commands/local/sor-command.utils.d.ts.map +1 -0
- package/dist/src/commands/local/sor-command.utils.js +28 -0
- package/dist/src/commands/local/sor-command.utils.js.map +1 -0
- package/dist/src/commands/local/sor-secrets.command.d.ts +20 -0
- package/dist/src/commands/local/sor-secrets.command.d.ts.map +1 -0
- package/dist/src/commands/local/sor-secrets.command.js +75 -0
- package/dist/src/commands/local/sor-secrets.command.js.map +1 -0
- package/dist/src/commands/local/sor-simulators.command.d.ts +21 -0
- package/dist/src/commands/local/sor-simulators.command.d.ts.map +1 -0
- package/dist/src/commands/local/sor-simulators.command.js +55 -0
- package/dist/src/commands/local/sor-simulators.command.js.map +1 -0
- 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/lock/check.command.d.ts +15 -13
- package/dist/src/commands/lock/check.command.d.ts.map +1 -1
- package/dist/src/commands/lock/check.command.js +23 -30
- 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/providers/application-connection-session.utils.d.ts +9 -0
- package/dist/src/commands/providers/application-connection-session.utils.d.ts.map +1 -0
- package/dist/src/commands/providers/application-connection-session.utils.js +49 -0
- package/dist/src/commands/providers/application-connection-session.utils.js.map +1 -0
- 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 +121 -0
- package/dist/src/commands/providers/chat-command-registrations.utils.js.map +1 -0
- package/dist/src/commands/providers/connect.command.d.ts +19 -0
- package/dist/src/commands/providers/connect.command.d.ts.map +1 -0
- package/dist/src/commands/providers/connect.command.js +247 -0
- package/dist/src/commands/providers/connect.command.js.map +1 -0
- package/dist/src/commands/providers/connections.command.d.ts +14 -0
- package/dist/src/commands/providers/connections.command.d.ts.map +1 -0
- package/dist/src/commands/providers/connections.command.js +74 -0
- package/dist/src/commands/providers/connections.command.js.map +1 -0
- package/dist/src/commands/providers/disconnect.command.d.ts +15 -0
- package/dist/src/commands/providers/disconnect.command.d.ts.map +1 -0
- package/dist/src/commands/providers/disconnect.command.js +91 -0
- package/dist/src/commands/providers/disconnect.command.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 +19 -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/prove.command.d.ts +16 -0
- package/dist/src/commands/providers/prove.command.d.ts.map +1 -0
- package/dist/src/commands/providers/prove.command.js +174 -0
- package/dist/src/commands/providers/prove.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 +293 -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/login.command.d.ts.map +1 -1
- package/dist/src/commands/registry/login.command.js +4 -2
- package/dist/src/commands/registry/login.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 +40 -50
- package/dist/src/commands/registry/publish.command.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 +13 -2
- package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.js +137 -13
- 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/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 +4 -2
- package/dist/src/commands/registry/whoami.command.js.map +1 -1
- package/dist/src/commands/remote/sync.command.js +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 +45 -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 +98 -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 +75 -0
- package/dist/src/commands/seal/log-verify.command.js.map +1 -0
- package/dist/src/commands/seal/rebuild-copy.command.d.ts +14 -0
- package/dist/src/commands/seal/rebuild-copy.command.d.ts.map +1 -0
- package/dist/src/commands/seal/rebuild-copy.command.js +48 -0
- package/dist/src/commands/seal/rebuild-copy.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 +27 -0
- package/dist/src/commands/seal/verify.command.d.ts.map +1 -0
- package/dist/src/commands/seal/verify.command.js +172 -0
- package/dist/src/commands/seal/verify.command.js.map +1 -0
- 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 +8 -5
- package/dist/src/commands/secrets/set.command.js.map +1 -1
- package/dist/src/commands/update.command.d.ts.map +1 -1
- package/dist/src/commands/update.command.js +89 -7
- package/dist/src/commands/update.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 +15 -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 +12 -3
- package/dist/src/commands/workbench/open.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/io/io.schemas.d.ts +4 -4
- package/dist/src/infrastructure/io/io.schemas.js +4 -4
- package/dist/src/infrastructure/io/io.schemas.js.map +1 -1
- package/dist/src/kernel/bootstrap.d.ts +10 -0
- package/dist/src/kernel/bootstrap.d.ts.map +1 -1
- package/dist/src/kernel/bootstrap.js +13 -1
- package/dist/src/kernel/bootstrap.js.map +1 -1
- package/dist/src/kernel/command-registry.d.ts.map +1 -1
- package/dist/src/kernel/command-registry.js +8 -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/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 +14 -1
- package/dist/src/kernel/types.d.ts.map +1 -1
- package/dist/src/kernel/types.js +13 -0
- package/dist/src/kernel/types.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/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 +47 -3
- package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.js +158 -42
- package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/app-local-runtime-addresses.service.d.ts +19 -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 +23 -5
- 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 +8 -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 +23 -8
- 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 +5 -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 +23 -2
- package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
- package/dist/src/services/application/application-browser-smoke.service.d.ts +23 -0
- package/dist/src/services/application/application-browser-smoke.service.d.ts.map +1 -1
- package/dist/src/services/application/application-browser-smoke.service.js +142 -19
- 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 +62 -10
- package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.js +146 -22
- package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -1
- package/dist/src/services/application/application-dev-script-migration.service.d.ts +56 -0
- package/dist/src/services/application/application-dev-script-migration.service.d.ts.map +1 -0
- package/dist/src/services/application/application-dev-script-migration.service.js +208 -0
- package/dist/src/services/application/application-dev-script-migration.service.js.map +1 -0
- package/dist/src/services/application/application-initialization-verification.service.d.ts +8 -0
- package/dist/src/services/application/application-initialization-verification.service.d.ts.map +1 -1
- package/dist/src/services/application/application-initialization-verification.service.js +31 -11
- package/dist/src/services/application/application-initialization-verification.service.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 +2 -0
- package/dist/src/services/application/application-runtime-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/composition-provider-plan.service.d.ts +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 +53 -28
- 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 +13 -1
- package/dist/src/services/application/creation-host-readiness.service.d.ts.map +1 -1
- package/dist/src/services/application/creation-host-readiness.service.js +44 -5
- 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.js +2 -2
- package/dist/src/services/application/creation-preflight.service.js.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/engine-label-base-seeding.service.d.ts +85 -0
- package/dist/src/services/application/engine-label-base-seeding.service.d.ts.map +1 -0
- package/dist/src/services/application/engine-label-base-seeding.service.js +130 -0
- package/dist/src/services/application/engine-label-base-seeding.service.js.map +1 -0
- 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/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-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/infra-system-of-record-addresses.editor.d.ts +13 -0
- package/dist/src/services/application/infra-system-of-record-addresses.editor.d.ts.map +1 -0
- package/dist/src/services/application/infra-system-of-record-addresses.editor.js +185 -0
- package/dist/src/services/application/infra-system-of-record-addresses.editor.js.map +1 -0
- 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 +300 -116
- package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.d.ts +59 -2
- package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.js +91 -24
- package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
- package/dist/src/services/application/system-of-record-simulators.service.d.ts +202 -0
- package/dist/src/services/application/system-of-record-simulators.service.d.ts.map +1 -0
- package/dist/src/services/application/system-of-record-simulators.service.js +433 -0
- package/dist/src/services/application/system-of-record-simulators.service.js.map +1 -0
- package/dist/src/services/application/systems-of-record-library.service.d.ts +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 +10 -6
- package/dist/src/services/application/systems-of-record-library.service.js.map +1 -1
- package/dist/src/services/assurance/assurance-cycle-location.service.d.ts +59 -0
- package/dist/src/services/assurance/assurance-cycle-location.service.d.ts.map +1 -0
- package/dist/src/services/assurance/assurance-cycle-location.service.js +139 -0
- package/dist/src/services/assurance/assurance-cycle-location.service.js.map +1 -0
- 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 +89 -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 +900 -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 +202 -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 +252 -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 +14 -35
- package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.js +46 -8
- package/dist/src/services/catalog/service-catalog.schemas.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 +54 -0
- package/dist/src/services/companion/agent-work-shortfall-words.js.map +1 -0
- package/dist/src/services/companion/build-console.service.d.ts +228 -7
- package/dist/src/services/companion/build-console.service.d.ts.map +1 -1
- package/dist/src/services/companion/build-console.service.js +241 -17
- package/dist/src/services/companion/build-console.service.js.map +1 -1
- package/dist/src/services/companion/companion-client.service.d.ts +25 -1
- package/dist/src/services/companion/companion-client.service.d.ts.map +1 -1
- package/dist/src/services/companion/companion-client.service.js +61 -10
- package/dist/src/services/companion/companion-client.service.js.map +1 -1
- package/dist/src/services/companion/companion-health-hint.utils.d.ts +2 -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 +8 -1
- package/dist/src/services/companion/companion-health-hint.utils.js.map +1 -1
- package/dist/src/services/companion/console-agent.d.ts +50 -0
- package/dist/src/services/companion/console-agent.d.ts.map +1 -0
- package/dist/src/services/companion/console-agent.js +67 -0
- package/dist/src/services/companion/console-agent.js.map +1 -0
- package/dist/src/services/companion/console-fast-path.d.ts +6 -4
- package/dist/src/services/companion/console-fast-path.d.ts.map +1 -1
- package/dist/src/services/companion/console-fast-path.js +12 -9
- package/dist/src/services/companion/console-fast-path.js.map +1 -1
- package/dist/src/services/companion/console-verb.utils.d.ts +7 -0
- package/dist/src/services/companion/console-verb.utils.d.ts.map +1 -1
- package/dist/src/services/companion/console-verb.utils.js +24 -2
- package/dist/src/services/companion/console-verb.utils.js.map +1 -1
- package/dist/src/services/companion/creation-console.service.d.ts +44 -13
- package/dist/src/services/companion/creation-console.service.d.ts.map +1 -1
- package/dist/src/services/companion/creation-console.service.js +121 -7
- package/dist/src/services/companion/creation-console.service.js.map +1 -1
- package/dist/src/services/companion/creation-drive.service.d.ts +232 -0
- package/dist/src/services/companion/creation-drive.service.d.ts.map +1 -0
- package/dist/src/services/companion/creation-drive.service.js +442 -0
- package/dist/src/services/companion/creation-drive.service.js.map +1 -0
- package/dist/src/services/companion/creation-run-report.models.d.ts +14 -0
- 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/compliance/governed-document-releases.generator.d.ts +22 -6
- package/dist/src/services/compliance/governed-document-releases.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/governed-document-releases.generator.js +31 -11
- package/dist/src/services/compliance/governed-document-releases.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/credentials/application-secret-owners.service.d.ts +6 -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 +50 -102
- 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 +47 -20
- package/dist/src/services/credentials/application-secrets.service.js.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 +59 -15
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.js +81 -6
- package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.d.ts +81 -148
- package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.js +92 -13
- package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
- package/dist/src/services/credentials/credentials.service.d.ts +8 -2
- package/dist/src/services/credentials/credentials.service.d.ts.map +1 -1
- package/dist/src/services/credentials/credentials.service.js +11 -2
- package/dist/src/services/credentials/credentials.service.js.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.d.ts +92 -6
- package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.js +191 -9
- 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 +13 -1
- package/dist/src/services/credentials/provider-env-vars.utils.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-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 +9 -0
- package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.js +4 -3
- package/dist/src/services/credentials/secrets-rotation.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-writer.service.d.ts +4 -1
- package/dist/src/services/credentials/secrets-writer.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-writer.service.js +4 -2
- 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/platform-key-vault.break-glass.service.d.ts +93 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.service.d.ts.map +1 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.service.js +253 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.service.js.map +1 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.target.d.ts +22 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.target.d.ts.map +1 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.target.js +64 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.target.js.map +1 -0
- package/dist/src/services/data-services/platform-key-vault.server-config.d.ts +110 -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 +204 -0
- package/dist/src/services/data-services/platform-key-vault.server-config.js.map +1 -0
- package/dist/src/services/deployment/application-first-run-checks.service.d.ts +131 -0
- package/dist/src/services/deployment/application-first-run-checks.service.d.ts.map +1 -0
- package/dist/src/services/deployment/application-first-run-checks.service.js +438 -0
- package/dist/src/services/deployment/application-first-run-checks.service.js.map +1 -0
- package/dist/src/services/deployment/application-runtime-environment.d.ts +93 -0
- package/dist/src/services/deployment/application-runtime-environment.d.ts.map +1 -0
- package/dist/src/services/deployment/application-runtime-environment.js +116 -0
- package/dist/src/services/deployment/application-runtime-environment.js.map +1 -0
- package/dist/src/services/deployment/ci-deploy-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/ci-deploy-generator.service.js +14 -1
- package/dist/src/services/deployment/ci-deploy-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/docker-compose-generator.service.d.ts +185 -66
- 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 +425 -113
- 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/framework-pod-network-membership.d.ts +56 -0
- package/dist/src/services/deployment/framework-pod-network-membership.d.ts.map +1 -0
- package/dist/src/services/deployment/framework-pod-network-membership.js +126 -0
- package/dist/src/services/deployment/framework-pod-network-membership.js.map +1 -0
- 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 +5 -5
- package/dist/src/services/deployment/infra-writer.service.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 +52 -12
- 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 +235 -85
- 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 +64 -22
- 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 +53 -32
- 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/off-cluster-backing-services.d.ts +38 -0
- package/dist/src/services/deployment/k8s/off-cluster-backing-services.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/off-cluster-backing-services.js +84 -0
- package/dist/src/services/deployment/k8s/off-cluster-backing-services.js.map +1 -0
- 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 +84 -0
- package/dist/src/services/deployment/local-dev-log-retention.service.js.map +1 -0
- package/dist/src/services/deployment/local-dev-session-lease.service.d.ts +2 -2
- 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-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.service.d.ts +67 -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 +160 -1
- 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 +32 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.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-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/authored-infra-config.utils.d.ts +38 -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 +59 -1
- package/dist/src/services/environment/authored-infra-config.utils.js.map +1 -1
- package/dist/src/services/environment/authored-infra-member-authority.d.ts +87 -0
- package/dist/src/services/environment/authored-infra-member-authority.d.ts.map +1 -0
- package/dist/src/services/environment/authored-infra-member-authority.js +251 -0
- package/dist/src/services/environment/authored-infra-member-authority.js.map +1 -0
- package/dist/src/services/environment/container-host-gateway-listen-host.d.ts +56 -0
- package/dist/src/services/environment/container-host-gateway-listen-host.d.ts.map +1 -0
- package/dist/src/services/environment/container-host-gateway-listen-host.js +102 -0
- package/dist/src/services/environment/container-host-gateway-listen-host.js.map +1 -0
- package/dist/src/services/environment/env-configuration-generator.service.d.ts +17 -12
- package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.js +41 -13
- package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
- package/dist/src/services/environment/env-sync.service.d.ts +3 -2
- package/dist/src/services/environment/env-sync.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-sync.service.js +21 -7
- package/dist/src/services/environment/env-sync.service.js.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.d.ts +29 -4
- package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.js +264 -59
- 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 +30 -26
- package/dist/src/services/environment/environment-hydration.utils.js.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.d.ts +19 -0
- package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.js +35 -0
- 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 +5 -6
- package/dist/src/services/environment/environment-registry.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-registry.service.js +5 -6
- package/dist/src/services/environment/environment-registry.service.js.map +1 -1
- package/dist/src/services/environment/environment-service-profile.utils.d.ts +34 -0
- package/dist/src/services/environment/environment-service-profile.utils.d.ts.map +1 -0
- package/dist/src/services/environment/environment-service-profile.utils.js +43 -0
- package/dist/src/services/environment/environment-service-profile.utils.js.map +1 -0
- package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-setup.service.js +16 -20
- package/dist/src/services/environment/environment-setup.service.js.map +1 -1
- package/dist/src/services/environment/environment.schemas.d.ts +25 -10
- 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 +5 -0
- package/dist/src/services/environment/environment.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment.service.js +2 -0
- package/dist/src/services/environment/environment.service.js.map +1 -1
- package/dist/src/services/environment/platform-runtime.schemas.d.ts +66 -62
- package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -1
- package/dist/src/services/environment/platform-runtime.schemas.js +69 -62
- package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -1
- package/dist/src/services/environment/runtime-bootstrap.service.d.ts +106 -58
- package/dist/src/services/environment/runtime-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/environment/runtime-bootstrap.service.js +203 -104
- package/dist/src/services/environment/runtime-bootstrap.service.js.map +1 -1
- package/dist/src/services/framework/application-agent-hooks-console.d.ts +153 -0
- package/dist/src/services/framework/application-agent-hooks-console.d.ts.map +1 -0
- package/dist/src/services/framework/application-agent-hooks-console.js +401 -0
- package/dist/src/services/framework/application-agent-hooks-console.js.map +1 -0
- package/dist/src/services/framework/application-agent-skills-console.d.ts +78 -0
- package/dist/src/services/framework/application-agent-skills-console.d.ts.map +1 -0
- package/dist/src/services/framework/application-agent-skills-console.js +116 -0
- package/dist/src/services/framework/application-agent-skills-console.js.map +1 -0
- package/dist/src/services/framework/application-console-loaders.d.ts +107 -0
- package/dist/src/services/framework/application-console-loaders.d.ts.map +1 -0
- package/dist/src/services/framework/application-console-loaders.js +221 -0
- package/dist/src/services/framework/application-console-loaders.js.map +1 -0
- package/dist/src/services/framework/application-opencode-console.d.ts +43 -0
- package/dist/src/services/framework/application-opencode-console.d.ts.map +1 -0
- package/dist/src/services/framework/application-opencode-console.js +68 -0
- package/dist/src/services/framework/application-opencode-console.js.map +1 -0
- 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 +6 -0
- package/dist/src/services/framework/claude-plugin-compiler.d.ts.map +1 -1
- package/dist/src/services/framework/claude-plugin-compiler.js +6 -1
- package/dist/src/services/framework/claude-plugin-compiler.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 +35 -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 +62 -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 +25 -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 +82 -6
- 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 +21 -2
- package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-docker-publish.service.js +42 -12
- package/dist/src/services/framework/framework-docker-publish.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +20 -9
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.js +97 -39
- 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-credential.d.ts +76 -0
- package/dist/src/services/framework/framework-npm-credential.d.ts.map +1 -0
- package/dist/src/services/framework/framework-npm-credential.js +113 -0
- package/dist/src/services/framework/framework-npm-credential.js.map +1 -0
- package/dist/src/services/framework/framework-npm-dist-tag.service.d.ts +173 -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 +271 -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 +50 -4
- package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-npm-publish.service.js +135 -61
- package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -1
- package/dist/src/services/framework/framework-publish-cli-origin.d.ts +22 -0
- package/dist/src/services/framework/framework-publish-cli-origin.d.ts.map +1 -0
- package/dist/src/services/framework/framework-publish-cli-origin.js +49 -0
- package/dist/src/services/framework/framework-publish-cli-origin.js.map +1 -0
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts +28 -39
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.js +58 -133
- package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
- package/dist/src/services/framework/framework-release.service.d.ts +13 -0
- package/dist/src/services/framework/framework-release.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-release.service.js +19 -3
- package/dist/src/services/framework/framework-release.service.js.map +1 -1
- package/dist/src/services/framework/framework-update.service.d.ts +13 -3
- package/dist/src/services/framework/framework-update.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-update.service.js +40 -17
- 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-library-root-exports.js +3 -3
- package/dist/src/services/framework/installed-framework-assets.service.d.ts +2 -2
- package/dist/src/services/framework/installed-framework-assets.service.d.ts.map +1 -1
- package/dist/src/services/framework/installed-framework-assets.service.js +4 -0
- package/dist/src/services/framework/installed-framework-assets.service.js.map +1 -1
- package/dist/src/services/framework/package-install.service.d.ts +20 -1
- package/dist/src/services/framework/package-install.service.d.ts.map +1 -1
- package/dist/src/services/framework/package-install.service.js +30 -3
- package/dist/src/services/framework/package-install.service.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 +15 -7
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.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 +3 -6
- package/dist/src/services/frontend/cloudflare-cdn.service.js.map +1 -1
- package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts +11 -3
- package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts.map +1 -1
- package/dist/src/services/frontend/frontend-dist-uploader.service.js +72 -29
- 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 +641 -0
- package/dist/src/services/frontend/frontend-look.service.js.map +1 -0
- package/dist/src/services/registry/application-provider-connection.service.d.ts +161 -0
- package/dist/src/services/registry/application-provider-connection.service.d.ts.map +1 -0
- package/dist/src/services/registry/application-provider-connection.service.js +337 -0
- package/dist/src/services/registry/application-provider-connection.service.js.map +1 -0
- 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/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 +13 -2
- 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-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/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-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 +88 -0
- package/dist/src/services/registry/module-publish.service.js.map +1 -0
- package/dist/src/services/registry/module-registration.service.d.ts +15 -0
- package/dist/src/services/registry/module-registration.service.d.ts.map +1 -1
- package/dist/src/services/registry/module-registration.service.js +413 -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 +134 -7
- package/dist/src/services/registry/module-requirements.service.js.map +1 -1
- package/dist/src/services/registry/provider-configuration-checks.service.d.ts +55 -0
- package/dist/src/services/registry/provider-configuration-checks.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-configuration-checks.service.js +208 -0
- package/dist/src/services/registry/provider-configuration-checks.service.js.map +1 -0
- package/dist/src/services/registry/provider-connect.service.d.ts +244 -0
- package/dist/src/services/registry/provider-connect.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-connect.service.js +651 -0
- package/dist/src/services/registry/provider-connect.service.js.map +1 -0
- package/dist/src/services/registry/provider-graphql-schema-conformance.service.d.ts +29 -0
- package/dist/src/services/registry/provider-graphql-schema-conformance.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-graphql-schema-conformance.service.js +121 -0
- package/dist/src/services/registry/provider-graphql-schema-conformance.service.js.map +1 -0
- package/dist/src/services/registry/provider-install-step.d.ts +111 -14
- package/dist/src/services/registry/provider-install-step.d.ts.map +1 -1
- package/dist/src/services/registry/provider-install-step.js +234 -4
- package/dist/src/services/registry/provider-install-step.js.map +1 -1
- package/dist/src/services/registry/provider-module-checks.service.d.ts +38 -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 +603 -20
- package/dist/src/services/registry/provider-module-checks.service.js.map +1 -1
- package/dist/src/services/registry/provider-module-engine-range.service.d.ts +88 -0
- package/dist/src/services/registry/provider-module-engine-range.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-module-engine-range.service.js +386 -0
- package/dist/src/services/registry/provider-module-engine-range.service.js.map +1 -0
- 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 +690 -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 +364 -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 +117 -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 +555 -0
- package/dist/src/services/registry/provider-openapi-conformance.service.js.map +1 -0
- package/dist/src/services/registry/provider-probe-credentials.service.d.ts +94 -0
- package/dist/src/services/registry/provider-probe-credentials.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-probe-credentials.service.js +184 -0
- package/dist/src/services/registry/provider-probe-credentials.service.js.map +1 -0
- package/dist/src/services/registry/provider-probe.service.d.ts +268 -0
- package/dist/src/services/registry/provider-probe.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-probe.service.js +444 -0
- package/dist/src/services/registry/provider-probe.service.js.map +1 -0
- package/dist/src/services/registry/provider-proof.service.d.ts +206 -0
- package/dist/src/services/registry/provider-proof.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-proof.service.js +640 -0
- package/dist/src/services/registry/provider-proof.service.js.map +1 -0
- package/dist/src/services/registry/provider-publication.service.d.ts +43 -0
- package/dist/src/services/registry/provider-publication.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-publication.service.js +216 -0
- package/dist/src/services/registry/provider-publication.service.js.map +1 -0
- package/dist/src/services/registry/provider-vendor-registration.service.d.ts +83 -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 +122 -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/security/csp-sync.service.d.ts +20 -1
- package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
- package/dist/src/services/security/csp-sync.service.js +58 -35
- package/dist/src/services/security/csp-sync.service.js.map +1 -1
- package/dist/src/services/website/website-label-pack-audit.service.d.ts +2 -2
- 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 +5 -4
- 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-schema-org-catalog.worker.d.ts +18 -0
- package/dist/src/services/website/website-schema-org-catalog.worker.d.ts.map +1 -0
- package/dist/src/services/website/website-schema-org-catalog.worker.js +104 -0
- package/dist/src/services/website/website-schema-org-catalog.worker.js.map +1 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts +37 -5
- 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 +82 -35
- package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
- package/dist/src/services/website/website-workspace.service.d.ts +51 -0
- package/dist/src/services/website/website-workspace.service.d.ts.map +1 -1
- package/dist/src/services/website/website-workspace.service.js +130 -4
- package/dist/src/services/website/website-workspace.service.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/framework-root-package.json +129 -60
- package/package.json +188 -100
- package/scripts/app-dependency-alignment/propagated-engine-overrides.json +70 -37
- package/scripts/dev-orchestrator/local-dev-protocol.mjs +176 -7
- package/scripts/dev-orchestrator/local-dev-status.mjs +297 -31
- package/scripts/pnpm-workspace-members.mjs +146 -0
- package/scripts/pnpm-workspace-settings.mjs +418 -0
- package/templates/infra/ci/deploy-k8s.yml.hbs +1 -1
- package/templates/infra/docker-compose/docker-compose.app.yml.hbs +17 -22
- package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +292 -62
- package/templates/infra/docker-images/platform/Dockerfile.platform-base +24 -5
- package/templates/infra/k8s/applications/wildo-ai-application/custom-domain-reconciler.yaml.hbs +222 -0
- package/templates/infra/k8s/applications/wildo-ai-application/minion.deployment.yaml.hbs +30 -13
- package/templates/infra/k8s/ingress/cert-manager/wildcard-certificate.yaml.hbs +1 -2
- package/templates/infra/k8s/internal/clamav/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/internal/immudb/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/internal/minio/deployment.yaml.hbs +7 -1
- package/templates/infra/k8s/internal/mongodb/deployment.yaml.hbs +11 -0
- package/templates/infra/k8s/internal/mongot/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/internal/openbao/configmap.yaml.hbs +20 -0
- package/templates/infra/k8s/internal/openbao/deployment.yaml.hbs +127 -0
- package/templates/infra/k8s/internal/openbao/service.yaml.hbs +20 -0
- package/templates/infra/k8s/internal/postgresql/deployment.yaml.hbs +2 -1
- package/templates/infra/k8s/internal/rabbitmq/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/internal/valkey/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/platform/platform-apps-manager/deployment.yaml.hbs +51 -76
- package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +22 -75
- package/templates/infra/k8s/platform/platform-module-registry/deployment.yaml.hbs +23 -75
- package/templates/infra/k8s/storage/local/persistent-volumes.yaml.hbs +30 -1
- 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 +332 -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/infra/yara-service/requirements.txt +1 -1
- package/templates/saas/blueprints/b2b-saas/blueprint.json +26 -0
- package/templates/saas/blueprints/internal-tool/blueprint.json +59 -0
- package/templates/saas/blueprints/service-firm/blueprint.json +57 -0
- package/templates/saas/engine-peer-closure.json +66 -8
- 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/dataSubjectRequests/create.users-custom_ready/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_ready/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_received/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_received/template.tsx +51 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/update.users-custom_extended/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/update.users-custom_extended/template.tsx +49 -0
- 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 +21 -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 +21 -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-user-management/template.tsx +77 -0
- 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/organizationSsoConfig/repairUnreadableConfiguration.organization-users/labels.en.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationSsoConfig/repairUnreadableConfiguration.organization-users/template.tsx +63 -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 +24 -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 +26 -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 +24 -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 +26 -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 +20 -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 +20 -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 +23 -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 +25 -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 +23 -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 +25 -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 +7 -9
- 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/README.md +8 -3
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_COMMAND_MENU.en.ts +3 -2
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_COMMAND_MENU.fr.ts +3 -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 +7 -2
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.ts +7 -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_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.ts +3 -3
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.fr.ts +3 -3
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.en.ts +56 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.fr.ts +56 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.ts +50 -10
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.ts +50 -10
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.ts +2 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.fr.ts +2 -1
- 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 +41 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.fr.ts +41 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_REPRESENTATIVE_ACTIVITY_SETTINGS.en.ts +35 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_REPRESENTATIVE_ACTIVITY_SETTINGS.fr.ts +35 -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 +17 -7
- 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 +9 -8
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.fr.ts +9 -8
- 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 +44 -11
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.fr.ts +44 -11
- 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 +97 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.ts +97 -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 +24 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_USAGE.fr.ts +24 -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_FIELD_STRING.en.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.fr.ts +4 -1
- 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 +6 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.fr.ts +6 -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 +342 -0
- package/templates/saas/i18n/engine/resources/actorSystemExecutions.fr.ts +342 -0
- package/templates/saas/i18n/engine/resources/actorTasks.en.ts +390 -0
- package/templates/saas/i18n/engine/resources/actorTasks.fr.ts +390 -0
- package/templates/saas/i18n/engine/resources/agentBehaviorReports.en.ts +432 -0
- package/templates/saas/i18n/engine/resources/agentBehaviorReports.fr.ts +432 -0
- package/templates/saas/i18n/engine/resources/agentOperationRecords.en.ts +497 -0
- package/templates/saas/i18n/engine/resources/agentOperationRecords.fr.ts +497 -0
- package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.en.ts +3 -3
- package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/anonymous_users.en.ts +10 -1
- package/templates/saas/i18n/engine/resources/anonymous_users.fr.ts +10 -1
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.en.ts +74 -4
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.fr.ts +74 -4
- package/templates/saas/i18n/engine/resources/applicationAgentPolicies.en.ts +113 -0
- package/templates/saas/i18n/engine/resources/applicationAgentPolicies.fr.ts +113 -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 +18 -28
- package/templates/saas/i18n/engine/resources/applicationApiKeys.fr.ts +34 -44
- 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/applicationDataKeys.en.ts +223 -0
- package/templates/saas/i18n/engine/resources/applicationDataKeys.fr.ts +223 -0
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.en.ts +469 -21
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.fr.ts +469 -21
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.en.ts +11 -20
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.fr.ts +8 -17
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.en.ts +112 -0
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.fr.ts +112 -0
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.en.ts +17 -1
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.fr.ts +17 -1
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.en.ts +10 -21
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.fr.ts +21 -32
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.en.ts +4 -4
- package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.fr.ts +5 -5
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.en.ts +20 -6
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.fr.ts +17 -3
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.en.ts +44 -25
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.fr.ts +44 -25
- 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 +616 -8
- package/templates/saas/i18n/engine/resources/applications.fr.ts +615 -7
- package/templates/saas/i18n/engine/resources/approvalSeals.en.ts +529 -0
- package/templates/saas/i18n/engine/resources/approvalSeals.fr.ts +529 -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 +337 -252
- package/templates/saas/i18n/engine/resources/dataSeedRuns.fr.ts +252 -167
- 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 +74 -50
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.fr.ts +76 -52
- 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/files.en.ts +30 -1
- package/templates/saas/i18n/engine/resources/files.fr.ts +30 -1
- 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 +253 -129
- package/templates/saas/i18n/engine/resources/jobExecutions.fr.ts +209 -85
- 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 +24 -1
- package/templates/saas/i18n/engine/resources/legalHolds.fr.ts +24 -1
- package/templates/saas/i18n/engine/resources/modelCallAttributions.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/modelCallAttributions.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.fr.ts +16 -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 +699 -0
- package/templates/saas/i18n/engine/resources/operationApprovalRequests.fr.ts +699 -0
- package/templates/saas/i18n/engine/resources/organizationAgentPolicies.en.ts +184 -0
- package/templates/saas/i18n/engine/resources/organizationAgentPolicies.fr.ts +184 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.fr.ts +1 -1
- 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 +18 -25
- package/templates/saas/i18n/engine/resources/organizationApiKeys.fr.ts +33 -40
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.en.ts +40 -22
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.fr.ts +40 -22
- 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 +1 -10
- package/templates/saas/i18n/engine/resources/organizationFeatures.fr.ts +1 -10
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.en.ts +469 -21
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.fr.ts +469 -21
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.en.ts +11 -20
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.fr.ts +8 -17
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.en.ts +112 -0
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.fr.ts +112 -0
- package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.en.ts +12 -4
- package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.fr.ts +12 -4
- package/templates/saas/i18n/engine/resources/organizationLifecycleState.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/organizationLifecycleState.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.en.ts +17 -1
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.fr.ts +17 -1
- package/templates/saas/i18n/engine/resources/organizationMembers.en.ts +36 -9
- package/templates/saas/i18n/engine/resources/organizationMembers.fr.ts +51 -24
- package/templates/saas/i18n/engine/resources/organizationModelUsageCeilingState.en.ts +166 -0
- package/templates/saas/i18n/engine/resources/organizationModelUsageCeilingState.fr.ts +166 -0
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.en.ts +38 -45
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.fr.ts +19 -26
- package/templates/saas/i18n/engine/resources/organizationPersonTokenCeilingState.en.ts +166 -0
- package/templates/saas/i18n/engine/resources/organizationPersonTokenCeilingState.fr.ts +166 -0
- package/templates/saas/i18n/engine/resources/organizationPreferences.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationPreferences.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationProfiles.en.ts +9 -1
- package/templates/saas/i18n/engine/resources/organizationProfiles.fr.ts +9 -1
- package/templates/saas/i18n/engine/resources/organizationProgressionState.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/organizationProgressionState.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.en.ts +30 -11
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.fr.ts +20 -1
- package/templates/saas/i18n/engine/resources/organizationRelationships.en.ts +629 -0
- package/templates/saas/i18n/engine/resources/organizationRelationships.fr.ts +629 -0
- package/templates/saas/i18n/engine/resources/organizationRepresentations.en.ts +340 -0
- package/templates/saas/i18n/engine/resources/organizationRepresentations.fr.ts +340 -0
- package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationScimTokens.en.ts +20 -20
- package/templates/saas/i18n/engine/resources/organizationScimTokens.fr.ts +9 -9
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.en.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.en.ts +6 -6
- package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.fr.ts +6 -6
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.en.ts +21 -7
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.fr.ts +18 -4
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.en.ts +69 -50
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.fr.ts +69 -50
- package/templates/saas/i18n/engine/resources/organizationSubscriptions.en.ts +169 -169
- package/templates/saas/i18n/engine/resources/organizationSubscriptions.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.en.ts +6 -6
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.fr.ts +10 -10
- package/templates/saas/i18n/engine/resources/organizationUnits.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/organizationUnits.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationUsageRecords.en.ts +19 -3
- package/templates/saas/i18n/engine/resources/organizationUsageRecords.fr.ts +18 -2
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.en.ts +9 -1
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.fr.ts +9 -1
- package/templates/saas/i18n/engine/resources/organizations.en.ts +116 -21
- package/templates/saas/i18n/engine/resources/organizations.fr.ts +116 -21
- package/templates/saas/i18n/engine/resources/platformAccessGrants.en.ts +46 -4
- package/templates/saas/i18n/engine/resources/platformAccessGrants.fr.ts +43 -1
- package/templates/saas/i18n/engine/resources/postCommitEffectOutbox.en.ts +181 -0
- package/templates/saas/i18n/engine/resources/postCommitEffectOutbox.fr.ts +181 -0
- package/templates/saas/i18n/engine/resources/prices.en.ts +10 -10
- package/templates/saas/i18n/engine/resources/prices.fr.ts +10 -10
- package/templates/saas/i18n/engine/resources/products.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/products.fr.ts +5 -5
- package/templates/saas/i18n/engine/resources/professionalQualifications.en.ts +345 -0
- package/templates/saas/i18n/engine/resources/professionalQualifications.fr.ts +345 -0
- package/templates/saas/i18n/engine/resources/promotions.en.ts +30 -2
- package/templates/saas/i18n/engine/resources/promotions.fr.ts +30 -2
- package/templates/saas/i18n/engine/resources/providerCallRecords.en.ts +69 -1
- package/templates/saas/i18n/engine/resources/providerCallRecords.fr.ts +69 -1
- package/templates/saas/i18n/engine/resources/publishedVerificationKeys.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/publishedVerificationKeys.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/relationshipCapabilityGrants.en.ts +291 -0
- package/templates/saas/i18n/engine/resources/relationshipCapabilityGrants.fr.ts +291 -0
- package/templates/saas/i18n/engine/resources/relationshipInvitations.en.ts +325 -0
- package/templates/saas/i18n/engine/resources/relationshipInvitations.fr.ts +325 -0
- package/templates/saas/i18n/engine/resources/relationshipMailboxes.en.ts +169 -0
- package/templates/saas/i18n/engine/resources/relationshipMailboxes.fr.ts +169 -0
- package/templates/saas/i18n/engine/resources/representativeAssignments.en.ts +626 -0
- package/templates/saas/i18n/engine/resources/representativeAssignments.fr.ts +626 -0
- package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/ssoDomainReservations.en.ts +147 -0
- package/templates/saas/i18n/engine/resources/ssoDomainReservations.fr.ts +147 -0
- package/templates/saas/i18n/engine/resources/transactionalCommitReceipts.en.ts +69 -0
- package/templates/saas/i18n/engine/resources/transactionalCommitReceipts.fr.ts +69 -0
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.fr.ts +1 -1
- 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 +47 -31
- package/templates/saas/i18n/engine/resources/userBillingAccounts.fr.ts +47 -31
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.en.ts +469 -21
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.fr.ts +469 -21
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.en.ts +11 -20
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.fr.ts +8 -17
- 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/userInvoiceRefs.en.ts +18 -5
- package/templates/saas/i18n/engine/resources/userInvoiceRefs.fr.ts +18 -5
- package/templates/saas/i18n/engine/resources/userLifecycleState.en.ts +5 -7
- package/templates/saas/i18n/engine/resources/userLifecycleState.fr.ts +2 -4
- package/templates/saas/i18n/engine/resources/userPreferences.en.ts +23 -2
- package/templates/saas/i18n/engine/resources/userPreferences.fr.ts +23 -2
- package/templates/saas/i18n/engine/resources/userProfiles.en.ts +15 -2
- package/templates/saas/i18n/engine/resources/userProfiles.fr.ts +15 -2
- package/templates/saas/i18n/engine/resources/userProgressionState.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/userProgressionState.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/userProviderCredentials.en.ts +11 -11
- package/templates/saas/i18n/engine/resources/userProviderCredentials.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/userSelfPreferences.en.ts +23 -4
- package/templates/saas/i18n/engine/resources/userSelfPreferences.fr.ts +23 -4
- package/templates/saas/i18n/engine/resources/userSelfProfiles.en.ts +15 -4
- package/templates/saas/i18n/engine/resources/userSelfProfiles.fr.ts +15 -4
- package/templates/saas/i18n/engine/resources/userSubscriptions.en.ts +7 -2
- package/templates/saas/i18n/engine/resources/userSubscriptions.fr.ts +7 -2
- package/templates/saas/i18n/engine/resources/userUsageRecords.en.ts +25 -4
- package/templates/saas/i18n/engine/resources/userUsageRecords.fr.ts +25 -4
- package/templates/saas/i18n/engine/resources/user_self.en.ts +157 -42
- package/templates/saas/i18n/engine/resources/user_self.fr.ts +170 -55
- package/templates/saas/i18n/engine/resources/users.en.ts +38 -51
- package/templates/saas/i18n/engine/resources/users.fr.ts +34 -47
- 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__/landing.landing-hero.json.hbs +6 -0
- package/templates/saas/scenarios/add-locale/files/website/src/i18n/__localePath__.json.hbs +14 -12
- package/templates/saas/scenarios/add-locale/files/website/src/pages/__localePath__/index.astro +5 -2
- package/templates/saas/scenarios/add-locale/scenario.json +7 -5
- package/templates/saas/scenarios/add-marketing-page/files/website/src/i18n/en/__pageRef__.__pageRef__-hero.json.hbs +4 -0
- 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 +71 -19
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/package.json.hbs +6 -6
- 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 +7 -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 +3 -2
- package/templates/saas/scenarios/add-technical-doc/files/patches/@docusaurus__utils@3.10.2.patch +77 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +25 -17
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/basic.conf +2 -3
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/location/cross-domain-fonts.conf.hbs +3 -5
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/sites-enabled/default.hbs +10 -19
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/package.json.hbs +5 -4
- 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/scripts/verify-api-reference-conservation.ts +1 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/csp.config.ts +16 -3
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/documentation-site-locales.ts +29 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/api-reference/indexes/api-reference-search.json +4 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/consumer-documentation/indexes/search.json +4 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/csp.generated.json.hbs +10 -2
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx +29 -4
- 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 +10 -7
- package/templates/saas/scenarios/add-technical-doc/scenario.json +9 -5
- package/templates/saas/scenarios/add-website/files/website/Dockerfile +2 -0
- package/templates/saas/scenarios/add-website/files/website/astro.config.ts.hbs +53 -14
- package/templates/saas/scenarios/add-website/files/website/package.json.hbs +5 -5
- 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/csp.config.ts +10 -2
- package/templates/saas/scenarios/add-website/files/website/src/generated/csp.generated.json.hbs +10 -2
- package/templates/saas/scenarios/add-website/files/website/src/i18n/en/landing.landing-hero.json.hbs +6 -0
- package/templates/saas/scenarios/add-website/files/website/src/i18n/en.json.hbs +13 -12
- 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 +5 -3
- package/templates/saas/scenarios/add-website-section/files/website/src/i18n/en/__pageRef__.__sectionRef__.json.hbs +10 -0
- package/templates/saas/scenarios/add-website-section/scenario.json +10 -14
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/package.json.hbs +5 -4
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/src/index.ts.hbs +2 -3
- 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.lock.hbs +2233 -0
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Cargo.toml.hbs +13 -3
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Dockerfile.hbs +27 -9
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/README.md +96 -0
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/main.rs.hbs +159 -149
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/response_integrity.rs +851 -0
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/worker_request_keys.rs +404 -0
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/wildo.worker.config.ts.hbs +3 -3
- package/templates/saas/scenarios/add-worker-rust/scenario.json +2 -2
- package/templates/saas/skeleton/.wildo-saas/dev-framework-scripts/sync-engine.sh +39 -7
- package/templates/saas/skeleton/CLAUDE.md.hbs +8 -0
- package/templates/saas/skeleton/backend-api/Dockerfile +2 -1
- package/templates/saas/skeleton/backend-api/package.json.hbs +7 -2
- 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/index.ts +7 -6
- package/templates/saas/skeleton/backend-api/src/modules-registry.backend.ts.hbs +5 -0
- package/templates/saas/skeleton/backend-api/src/saas-config.backend.ts.hbs +1 -3
- package/templates/saas/skeleton/backend-api/tsconfig.build.json +1 -1
- package/templates/saas/skeleton/frontend/package.json.hbs +6 -2
- package/templates/saas/skeleton/frontend/src/__tests__/setup.ts.hbs +18 -14
- 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 +16 -12
- package/templates/saas/skeleton/frontend/src/csp.config.ts +10 -2
- package/templates/saas/skeleton/frontend/src/engine/component-registrations.frontend.ts +1 -1
- package/templates/saas/skeleton/frontend/src/generated/csp.generated.json.hbs +10 -2
- package/templates/saas/skeleton/frontend/src/index.css.hbs +170 -148
- package/templates/saas/skeleton/frontend/src/modules-registry.frontend.ts.hbs +9 -2
- package/templates/saas/skeleton/frontend/vite-engine-dependency-prebundle.ts +20 -9
- package/templates/saas/skeleton/frontend/vite.config.ts.hbs +57 -3
- package/templates/saas/skeleton/gitignore +14 -0
- package/templates/saas/skeleton/shared-lib/package.json.hbs +6 -1
- package/templates/saas/skeleton/specifications/package.json.hbs +10 -1
- package/templates/saas/skeleton/tsconfig.common.json +6 -2
- package/templates/saas/skeleton/wildo.saas.config.ts.init.hbs +53 -20
- package/wildo-framework.info.json +1 -1
- package/dist/src/services/application/provider-package-links.service.d.ts +0 -209
- package/dist/src/services/application/provider-package-links.service.d.ts.map +0 -1
- package/dist/src/services/application/provider-package-links.service.js +0 -420
- package/dist/src/services/application/provider-package-links.service.js.map +0 -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.tsbuildinfo +0 -1
- package/templates/infra/k8s/ingress/providers/scaleway-annotations.yaml.hbs +0 -39
- package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/template.tsx +0 -77
- 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/clientMailboxes.en.ts +0 -169
- package/templates/saas/i18n/engine/resources/clientMailboxes.fr.ts +0 -169
- package/templates/saas/i18n/engine/resources/serviceEngagementAssignments.en.ts +0 -368
- package/templates/saas/i18n/engine/resources/serviceEngagementAssignments.fr.ts +0 -368
- package/templates/saas/i18n/engine/resources/serviceEngagements.en.ts +0 -321
- package/templates/saas/i18n/engine/resources/serviceEngagements.fr.ts +0 -321
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeed.en.ts +0 -237
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeed.fr.ts +0 -237
- 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/serviceProviderCapabilityGrants.en.ts +0 -275
- package/templates/saas/i18n/engine/resources/serviceProviderCapabilityGrants.fr.ts +0 -275
- package/templates/saas/i18n/engine/resources/serviceProviderRelationships.en.ts +0 -431
- package/templates/saas/i18n/engine/resources/serviceProviderRelationships.fr.ts +0 -431
- 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
- package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.en.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.fr.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.en.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.fr.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchBrandAssets.en.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchBrandAssets.fr.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.en.ts +0 -174
- package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.fr.ts +0 -174
- package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchBrandNames.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchBrandNames.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.en.ts +0 -270
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.fr.ts +0 -270
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.en.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.fr.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.en.ts +0 -306
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.fr.ts +0 -306
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.en.ts +0 -758
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.fr.ts +0 -758
- package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.en.ts +0 -238
- package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.fr.ts +0 -238
- package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.en.ts +0 -206
- package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.fr.ts +0 -206
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSections.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSections.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.en.ts +0 -254
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.fr.ts +0 -254
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateVariantSelections.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateVariantSelections.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.en.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.fr.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.en.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.fr.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.en.ts +0 -174
- package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.fr.ts +0 -174
- package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.en.ts +0 -278
- package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.fr.ts +0 -278
- package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.en.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.fr.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.en.ts +0 -518
- package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.fr.ts +0 -518
- package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.en.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.fr.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.en.ts +0 -326
- package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.fr.ts +0 -326
- package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.en.ts +0 -326
- package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.fr.ts +0 -326
- package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.en.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.fr.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchCreationHomeLines.en.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchCreationHomeLines.fr.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.en.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.fr.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.en.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.fr.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchDocumentPublicationVariants.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchDocumentPublicationVariants.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchDocumentReleases.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchDocumentReleases.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.en.ts +0 -326
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.fr.ts +0 -326
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.en.ts +0 -206
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.fr.ts +0 -206
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.en.ts +0 -366
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.fr.ts +0 -366
- package/templates/saas/i18n/engine/resources/workbenchDomainResources.en.ts +0 -534
- package/templates/saas/i18n/engine/resources/workbenchDomainResources.fr.ts +0 -534
- package/templates/saas/i18n/engine/resources/workbenchDossierEntries.en.ts +0 -273
- package/templates/saas/i18n/engine/resources/workbenchDossierEntries.fr.ts +0 -273
- package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.en.ts +0 -486
- package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.fr.ts +0 -486
- package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.en.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.fr.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchExperienceViews.en.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchExperienceViews.fr.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.en.ts +0 -390
- package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.fr.ts +0 -390
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.en.ts +0 -534
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.fr.ts +0 -534
- package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.en.ts +0 -308
- package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.fr.ts +0 -308
- package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.en.ts +0 -230
- package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.fr.ts +0 -230
- package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.en.ts +0 -334
- package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.fr.ts +0 -334
- package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.en.ts +0 -414
- package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.fr.ts +0 -414
- package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.en.ts +0 -334
- package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.fr.ts +0 -334
- package/templates/saas/i18n/engine/resources/workbenchMarketAlternatives.en.ts +0 -230
- package/templates/saas/i18n/engine/resources/workbenchMarketAlternatives.fr.ts +0 -222
- package/templates/saas/i18n/engine/resources/workbenchMarketBenefits.en.ts +0 -606
- package/templates/saas/i18n/engine/resources/workbenchMarketBenefits.fr.ts +0 -598
- package/templates/saas/i18n/engine/resources/workbenchMarketBuyingJourneys.en.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchMarketBuyingJourneys.fr.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchMarketCategories.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchMarketCategories.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchMarketChannels.en.ts +0 -270
- package/templates/saas/i18n/engine/resources/workbenchMarketChannels.fr.ts +0 -262
- package/templates/saas/i18n/engine/resources/workbenchMarketGains.en.ts +0 -270
- package/templates/saas/i18n/engine/resources/workbenchMarketGains.fr.ts +0 -262
- package/templates/saas/i18n/engine/resources/workbenchMarketIcps.en.ts +0 -990
- package/templates/saas/i18n/engine/resources/workbenchMarketIcps.fr.ts +0 -990
- package/templates/saas/i18n/engine/resources/workbenchMarketJobs.en.ts +0 -350
- package/templates/saas/i18n/engine/resources/workbenchMarketJobs.fr.ts +0 -342
- package/templates/saas/i18n/engine/resources/workbenchMarketMessageTemplates.en.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchMarketMessageTemplates.fr.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchMarketObjections.en.ts +0 -422
- package/templates/saas/i18n/engine/resources/workbenchMarketObjections.fr.ts +0 -414
- package/templates/saas/i18n/engine/resources/workbenchMarketPains.en.ts +0 -270
- package/templates/saas/i18n/engine/resources/workbenchMarketPains.fr.ts +0 -262
- package/templates/saas/i18n/engine/resources/workbenchMarketPersonas.en.ts +0 -518
- package/templates/saas/i18n/engine/resources/workbenchMarketPersonas.fr.ts +0 -510
- package/templates/saas/i18n/engine/resources/workbenchMarketPositionings.en.ts +0 -342
- package/templates/saas/i18n/engine/resources/workbenchMarketPositionings.fr.ts +0 -334
- package/templates/saas/i18n/engine/resources/workbenchMarketProofs.en.ts +0 -366
- package/templates/saas/i18n/engine/resources/workbenchMarketProofs.fr.ts +0 -358
- package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.en.ts +0 -294
- package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.fr.ts +0 -294
- package/templates/saas/i18n/engine/resources/workbenchMarketTriggers.en.ts +0 -286
- package/templates/saas/i18n/engine/resources/workbenchMarketTriggers.fr.ts +0 -278
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.en.ts +0 -534
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.fr.ts +0 -534
- package/templates/saas/i18n/engine/resources/workbenchParkedCodingQuestions.en.ts +0 -172
- package/templates/saas/i18n/engine/resources/workbenchParkedCodingQuestions.fr.ts +0 -172
- package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.en.ts +0 -254
- package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.fr.ts +0 -254
- package/templates/saas/i18n/engine/resources/workbenchPlacementGroups.en.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchPlacementGroups.fr.ts +0 -182
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.en.ts +0 -262
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.fr.ts +0 -262
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.en.ts +0 -520
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.fr.ts +0 -520
- package/templates/saas/i18n/engine/resources/workbenchPricingPlans.en.ts +0 -286
- package/templates/saas/i18n/engine/resources/workbenchPricingPlans.fr.ts +0 -286
- package/templates/saas/i18n/engine/resources/workbenchProcessorRegisterEntries.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchProcessorRegisterEntries.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchReleasePolicySelections.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchReleasePolicySelections.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.en.ts +0 -294
- package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.fr.ts +0 -294
- package/templates/saas/i18n/engine/resources/workbenchRiskRegisterEntries.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchRiskRegisterEntries.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.en.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.fr.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.en.ts +0 -559
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.fr.ts +0 -559
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.en.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.fr.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchTraceSessions.en.ts +0 -394
- package/templates/saas/i18n/engine/resources/workbenchTraceSessions.fr.ts +0 -394
- package/templates/saas/i18n/engine/resources/workbenchVisionConstraints.en.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchVisionConstraints.fr.ts +0 -182
- package/templates/saas/i18n/engine/resources/workbenchVisionIdeas.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchVisionIdeas.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchVisionMissions.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchVisionMissions.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchVisionProblems.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchVisionProblems.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.en.ts +0 -390
- package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.fr.ts +0 -390
- package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.en.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.fr.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchWebsitePages.en.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchWebsitePages.fr.ts +0 -214
- /package/templates/saas/i18n/email/resources/organizationMembers/{update.organization-users → update.organization-user-management}/labels.en.ts +0 -0
- /package/templates/saas/i18n/email/resources/organizationMembers/{update.organization-users → update.organization-user-management}/labels.fr.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environment-paths.service.js","sourceRoot":"","sources":["../../../../src/services/environment/environment-paths.service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EACL,gBAAgB,EAChB,sBAAsB,GACvB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAC;AACnG,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAE1E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAM,0BAA0B,GAAgD;IAC9E,OAAO,EAAE,CAAC,IAAI,EAAE,UAAU,CAAC;CAC5B,CAAC;AAEF,MAAM,OAAO,gBAAgB;IACnB,MAAM,CAAC,gBAAgB,CAAC,QAAgB;QAC9C,OAAO,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IACpC,CAAC;IAEO,MAAM,CAAC,qBAAqB;QAClC,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,WAAW,EAAE,CAAC;QAC3D,IAAI,CAAC,gBAAgB,EAAE,CAAC;YACtB,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;QACpD,CAAC;QACD,OAAO,gBAAgB,CAAC;IAC1B,CAAC;IAED,6EAA6E;IAC7E,uBAAuB;IACvB,6EAA6E;IAE7E,MAAM,CAAC,wBAAwB,CAAC,QAAgB;QAC9C,OAAO,gBAAgB,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC,WAAW,CAAC;IACjE,CAAC;IAED,MAAM,CAAC,qBAAqB,CA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IAAI,CACL,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,gBAAgB,CAAC,QAAiB;QACvC,OAAO,gBAAgB,CAAC,6BAA6B,CACnD,QAAQ,IAAI,gBAAgB,CAAC,qBAAqB,EAAE,CACrD,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,UAAU,CAAC,QAAiB;QACjC,OAAO,gBAAgB,CAAC,uBAAuB,CAC7C,QAAQ,IAAI,gBAAgB,CAAC,qBAAqB,EAAE,CACrD,CAAC;IACJ,CAAC;IAED,6EAA6E;IAC7E,oBAAoB;IACpB,6EAA6E;IAE7E,MAAM,CAAC,wBAAwB,CAAC,aAAqB;QACnD,MAAM,SAAS,GAAG,IAAI,CAAC,aAAa,EAAE,IAAI,EAAE,eAAe,CAAC,CAAC;QAC7D,IAAI,UAAU,CAAC,IAAI,CAAC,SAAS,EAAE,cAAc,CAAC,CAAC,EAAE,CAAC;YAChD,OAAO,SAAS,CAAC;QACnB,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;CACF","sourcesContent":["/**\n * EnvironmentPaths — path resolution for environment-scoped resources.\n *\n * Resolves secrets, config, and infrastructure directories for any environment.\n * Depends on EnvironmentRegistry for env config lookups.\n */\n\nimport { existsSync, mkdirSync, rmSync } from 'fs';\nimport { join, resolve } from 'path';\nimport {\n resolveAppLayout,\n resolveFrameworkLayout,\n} from '@wildo-ai/platform-config-lib';\nimport { EnvironmentRegistry } from '~wildo-cli/services/environment/environment-registry.service';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\n\n/**\n * Container-image `VOLUME` child-paths that must be bind-mounted INDIVIDUALLY\n * (as `local_data/<service>/<subdir>`) rather than via a single parent bind.\n *\n * **The anonymous-volume shadowing trap.** The Docker daemon honors an image's\n * `VOLUME` declarations by mounting a fresh ANONYMOUS volume on each declared\n * path that is not already covered by a MORE-specific mount. `mongo:8.2` declares\n * `VOLUME /data/db` and `VOLUME /data/configdb`; a single parent bind at `/data`\n * is LESS specific than those child paths, so Docker layers an anonymous volume\n * over `/data/db` (mongod's real `--dbpath`). The parent bind becomes a decoy\n * catching nothing that matters, and every container recreate mints a fresh empty\n * `/data/db` — silently discarding the database. (It used to catch the replica\n * keyfile; that moved to `/tmp` on 2026-09-09 when the compose service started\n * running AS `mongodb`, which cannot write the root-owned `/data`.) Binding the exact\n * declared child paths defeats the anonymous volumes so the host directory is\n * authoritative. This map lists, per service container name, those child subdirs\n * so {@link EnvironmentPaths.ensureLocalDataServiceDirs} materializes them\n * host-side (Docker would otherwise auto-create them root-owned, breaking the\n * container UID's write access).\n *\n * MUST stay in lockstep with the per-service `volumes:` binds in\n * `templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs`. The\n * compose-generator test renders the REAL template and pins `/data/db` +\n * `/data/configdb`, so a template/here drift fails CI.\n *\n * `mongo:8.2` is the ONLY image in the current infra roster that declares child\n * `VOLUME`s under its bind path (empirically audited 2026-07-18 against every\n * infra image's `docker inspect … .Config.Volumes`: valkey/clamav/immudb/\n * otel declare none; rabbitmq/minio/postgresql declare their VOLUME at\n * exactly the bind path). Every other service binds its single real data path\n * directly, so it is absent here and keeps the single-dir default.\n *\n * RE-VERIFIED on the 8.2 bump (issue #74) rather than carried forward: an image-family\n * change is exactly when a `VOLUME` claim can quietly stop being true, and the consequence\n * here is a silently discarded database. `docker image inspect mongo:8.2` still reports\n * `{\"/data/configdb\":{},\"/data/db\":{}}`, so both binds and this map stay correct.\n *\n * `mongot` is deliberately NOT in this map even though it is the other half of the same\n * bump: `mongodb/mongodb-community-search:1.70.3` declares NO `VOLUME` at all\n * (`.Config.Volumes` is `null`), so its single `/data/mongot` bind needs no child split and\n * keeps the single-dir default like every other service.\n */\nconst INFRA_SERVICE_DATA_SUBDIRS: Readonly<Record<string, readonly string[]>> = {\n mongodb: ['db', 'configdb'],\n};\n\nexport class EnvironmentPaths {\n private static resolveAppLayout(saasRoot: string) {\n return resolveAppLayout(saasRoot);\n }\n\n private static resolveScopedSaasRoot(): string {\n const registrySaasRoot = EnvironmentRegistry.getSaasRoot();\n if (!registrySaasRoot) {\n throw new Error('No targeted app root detected.');\n }\n return registrySaasRoot;\n }\n\n // --------------------------------------------------------------------------\n // Scoped runtime roots\n // --------------------------------------------------------------------------\n\n static resolveScopedRuntimeRoot(saasRoot: string): string {\n return EnvironmentPaths.resolveAppLayout(saasRoot).runtimeHome;\n }\n\n static resolveScopedStateDir(saasRoot: string): string {\n return EnvironmentPaths.resolveAppLayout(saasRoot).stateHome;\n }\n\n static resolveScopedEnvironmentStateDir(saasRoot: string, envName: string): string {\n return join(EnvironmentPaths.resolveScopedStateDir(saasRoot), envName);\n }\n\n static resolveScopedLogsDir(saasRoot: string): string {\n return EnvironmentPaths.resolveAppLayout(saasRoot).logsHome;\n }\n\n static resolveScopedCompanionLogsDir(saasRoot: string): string {\n return EnvironmentPaths.resolveAppLayout(saasRoot).companionLogsHome;\n }\n\n static resolveScopedEnvironmentRoot(saasRoot: string, envName: string): string {\n return join(EnvironmentPaths.resolveAppLayout(saasRoot).runtimeEnvironmentsHome, envName);\n }\n\n static resolveScopedEnvStateFile(saasRoot: string): string {\n return join(EnvironmentPaths.resolveAppLayout(saasRoot).stateHome, 'environments.json');\n }\n\n static resolveScopedSecretsBase(saasRoot: string): string {\n return EnvironmentPaths.resolveAppLayout(saasRoot).authoredInfrastructureHome;\n }\n\n static resolveScopedConfigBase(saasRoot: string): string {\n return EnvironmentPaths.resolveAppLayout(saasRoot).runtimeInfrastructureHome;\n }\n\n static resolveScopedInfraBase(saasRoot: string): string {\n return EnvironmentPaths.resolveAppLayout(saasRoot).runtimeInfrastructureHome;\n }\n\n static resolveScopedPlatformPidsPath(saasRoot: string, envName: string): string {\n return join(EnvironmentPaths.resolveScopedEnvironmentStateDir(saasRoot, envName), 'platform.pids');\n }\n\n static resolveScopedPlatformRuntimeStatePath(saasRoot: string, envName: string): string {\n return join(EnvironmentPaths.resolveScopedEnvironmentStateDir(saasRoot, envName), 'runtime.json');\n }\n\n static resolveScopedCompanionPidPath(saasRoot: string): string {\n return join(EnvironmentPaths.resolveScopedStateDir(saasRoot), 'companion.pid');\n }\n\n static resolveScopedDevPidPath(saasRoot: string): string {\n return join(EnvironmentPaths.resolveScopedStateDir(saasRoot), 'dev.pid');\n }\n\n static resolveScopedPlatformLogsDir(saasRoot: string, envName: string): string {\n return join(EnvironmentPaths.resolveScopedLogsDir(saasRoot), envName);\n }\n\n static resolveFrameworkRuntimeRoot(frameworkRoot: string): string {\n return resolveFrameworkLayout(frameworkRoot).markerHome;\n }\n\n static resolveSaasRuntimeRoot(saasRoot: string): string {\n return EnvironmentPaths.resolveAppLayout(saasRoot).runtimeHome;\n }\n\n static resolveScopedLocalDataDir(saasRoot: string): string {\n return EnvironmentPaths.resolveAppLayout(saasRoot).localDataHome;\n }\n\n /**\n * Resolve the absolute path to a single backing-service subdirectory\n * under the canonical local-data root.\n *\n * Mirrors the per-service layout used by both runtimes:\n * - Compose: `<saasRoot>/.wildo-saas/local_data/<service>/` (bind mount source)\n * - K8s: `/mnt/local-data/<service>/` (Kind hostPath, same tree)\n *\n * The <service> token is the short container name from\n * `INFRA_SERVICE_CATALOG` (e.g. `mongodb`, `valkey`, `rabbitmq`,\n * `minio`, `postgresql`, `clamav`), keeping the host layout and the\n * K8s PV `hostPath` segment in lockstep.\n */\n static resolveScopedLocalDataServiceDir(saasRoot: string, service: string): string {\n return join(EnvironmentPaths.resolveScopedLocalDataDir(saasRoot), service);\n }\n\n /**\n * Slice 4 (4.3) — local_data subdir bootstrapper.\n *\n * Creates `<saasRoot>/.wildo-saas/local_data/<service>/` for each given\n * service, idempotently (`mkdir -p` semantics via `recursive: true`).\n *\n * **Child-VOLUME services.** For a service listed in\n * {@link INFRA_SERVICE_DATA_SUBDIRS} (today only `mongodb`), the per-declared\n * child subdirs are created instead of the bare service dir — e.g. `mongodb`\n * yields `local_data/mongodb/db` + `local_data/mongodb/configdb` (both parents\n * are created by `recursive: true`). Those are the exact bind SOURCES the\n * compose file mounts onto `/data/db` + `/data/configdb`, defeating the\n * anonymous-volume trap described on that constant.\n *\n * **Why this exists.** Slice 4 cut Compose over from named volumes\n * (`mongodb_data`, `valkey_data`, ...) to bind mounts under\n * `local_data/`. Docker creates missing bind-mount source directories\n * automatically, but with **root ownership** — the container UID then\n * cannot write to the mount. Pre-creating the dirs as the calling user\n * sidesteps that whole class of permission problem.\n *\n * **Single source of truth for callers (Compose-only).** Every CLI seam\n * that runs `docker compose up` against the platform-local compose file\n * must call this helper FIRST (Slice 4 D5 decision). Today the call\n * sites are (verified end-of-Slice 4 second-pass-3):\n *\n * 1. `commands/local/up.command.ts runDockerCompose` — default\n * `wildo local up` Compose path.\n * 2. `commands/local/up.command.ts restartDockerCompose` — same file's\n * `wildo local up --rebuild` path (force-recreate after rebuilding\n * the platform image).\n * 3. `commands/dev/start.command.ts startDockerInfra` — `wildo dev start`\n * Compose cold-start (framework-developer flow).\n * 4. `commands/dev/start.command.ts ensureInfraRunning` — same file's\n * \"infra is already running\" defensive branch (Slice 4 review fix\n * Compose M-3); without this an operator who manually `rm -rf`'d a\n * `local_data/<svc>` dir mid-session would see Docker recreate the\n * bind source as root-owned the next time the container restarted.\n * 5. `services/application/local-app-reinit.service.ts startEnvironment` —\n * `wildo local reinit` Compose re-bootstrap path.\n *\n * The companion wipe path (`wildo local reset` and\n * `LocalAppReinitService.resetEnvironment`) calls\n * {@link wipeLocalDataServiceDirs} after `docker compose down` to remove\n * these subdirs — the reset+up pair is symmetric.\n *\n * **Note on K8s:** the K8s/Kind path does NOT call this helper. Kind only\n * `mkdir -p`s the **root** `local_data/` once via\n * `KindService.getHostMountPaths`; per-`<svc>` subdirs are created INSIDE\n * the Kind node by the StatefulSet pods themselves the first time they\n * mount their PV. Adding a per-service `mkdir` on the host for K8s would\n * be semantically wrong (the bind-mount target lives inside the cluster\n * node, not on the host filesystem the host UID writes to).\n *\n * @param saasRoot - resolved SaaS app root (caller's responsibility to\n * resolve via `EnvironmentRegistry.getSaasRoot()` so the failure mode\n * is explicit at the call site).\n * @param services - short container-name list of services that will be\n * bind-mounted by the rendered compose file. Caller should pass only\n * the services actually emitted into compose for this env (e.g. omit\n * `mongodb` when `needsLocalMongoDB` is false) so we do not litter\n * `local_data/` with unused subdirs.\n */\n static ensureLocalDataServiceDirs(saasRoot: string, services: readonly string[]): void {\n const localDataDir = EnvironmentPaths.resolveScopedLocalDataDir(saasRoot);\n if (!existsSync(localDataDir)) {\n mkdirSync(localDataDir, { recursive: true });\n }\n for (const service of services) {\n const childSubdirs = INFRA_SERVICE_DATA_SUBDIRS[service];\n if (childSubdirs && childSubdirs.length > 0) {\n // Image declares child VOLUMEs under its data path (e.g. mongo → /data/db\n // + /data/configdb): create each child as its own bind SOURCE so the\n // compose child binds are authoritative and the parent-bind anonymous-\n // volume trap is defeated. `recursive: true` also creates the parent\n // `local_data/<service>/`.\n for (const subdir of childSubdirs) {\n const childDir = join(localDataDir, service, subdir);\n if (!existsSync(childDir)) {\n mkdirSync(childDir, { recursive: true });\n }\n }\n continue;\n }\n const serviceDir = join(localDataDir, service);\n if (!existsSync(serviceDir)) {\n mkdirSync(serviceDir, { recursive: true });\n }\n }\n }\n\n /**\n * Slice 4 (4.4) — local_data subdir wiper, fail-closed.\n *\n * Counterpart of {@link ensureLocalDataServiceDirs}. Removes the\n * per-service directories under `<saasRoot>/.wildo-saas/local_data/`\n * after the caller has stopped the workloads that hold those files\n * (Compose: `docker compose down -v`; K8s: PVCs deleted).\n *\n * **Fail-closed semantics (D6 decision).** If `rmSync` throws on a\n * subdir (locked file, permission denied, mount busy, …), this helper\n * re-throws with an aggregated message instead of swallowing the error.\n * Symmetry with the K8s wipe path: K8s already throws on PVC delete\n * failure; the Compose host wipe must mirror that contract or\n * `wildo local reset` would silently leave stale on-host state behind\n * and corrupt the next `wildo local up`.\n *\n * **Scope.** We deliberately wipe only the listed `services` subdirs,\n * NOT the parent `local_data/` directory itself, because:\n * - The parent may host future per-env subdirs (`.gitkeep`, etc.).\n * - Removing the parent would force every concurrent compose project\n * in the same SaaS root to recreate it.\n *\n * @param saasRoot - resolved SaaS app root.\n * @param services - short container-name list to wipe. Caller passes\n * only the services actually deployed in this env (must mirror the\n * list given to {@link ensureLocalDataServiceDirs} so reset+up are\n * symmetric).\n */\n static wipeLocalDataServiceDirs(saasRoot: string, services: readonly string[]): void {\n const localDataDir = EnvironmentPaths.resolveScopedLocalDataDir(saasRoot);\n if (!existsSync(localDataDir)) {\n return;\n }\n const failures: string[] = [];\n for (const service of services) {\n const serviceDir = join(localDataDir, service);\n if (!existsSync(serviceDir)) continue;\n try {\n rmSync(serviceDir, { recursive: true, force: true });\n } catch (error) {\n failures.push(\n `${serviceDir}: ${ErrorUtils.extractErrorMessage(error)}`,\n );\n }\n }\n if (failures.length > 0) {\n throw new Error(\n `Failed to wipe local_data subdirs:\\n - ${failures.join('\\n - ')}`,\n );\n }\n }\n\n static resolveDefaultSecretsBase(saasRoot?: string): string {\n const resolvedSaasRoot = saasRoot ?? EnvironmentPaths.resolveScopedSaasRoot();\n return EnvironmentPaths.resolveAppLayout(resolvedSaasRoot).authoredInfrastructureHome;\n }\n\n static resolveDefaultConfigBase(saasRoot?: string): string {\n const resolvedSaasRoot = saasRoot ?? EnvironmentPaths.resolveScopedSaasRoot();\n return EnvironmentPaths.resolveAppLayout(resolvedSaasRoot).runtimeInfrastructureHome;\n }\n\n static resolveDefaultInfraBase(saasRoot?: string): string {\n const resolvedSaasRoot = saasRoot ?? EnvironmentPaths.resolveScopedSaasRoot();\n return EnvironmentPaths.resolveAppLayout(resolvedSaasRoot).runtimeInfrastructureHome;\n }\n\n // --------------------------------------------------------------------------\n // Base path getters (raw, before env-scoped resolution)\n // --------------------------------------------------------------------------\n\n static getSecretsPath(envName?: string): string {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n return EnvironmentRegistry.get(name)?.secretsPath ?? EnvironmentPaths.resolveDefaultSecretsBase();\n }\n\n static getConfigPath(envName?: string): string {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n return EnvironmentRegistry.get(name)?.configPath ?? EnvironmentPaths.resolveDefaultConfigBase();\n }\n\n static getInfraPath(envName?: string): string {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n return EnvironmentRegistry.get(name)?.infraPath ?? EnvironmentPaths.resolveDefaultInfraBase();\n }\n\n static setPaths(\n paths: { secretsPath?: string; configPath?: string; infraPath?: string },\n envName?: string,\n ): void {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n EnvironmentRegistry.update(name, paths);\n }\n\n // --------------------------------------------------------------------------\n // Resolved paths (base + environments/<envName>/)\n // --------------------------------------------------------------------------\n\n private static resolvePath(basePath: string, envName: string): string {\n return join(resolve(basePath), 'environments', envName);\n }\n\n /**\n * Compare `basePath` against the canonical authored-infra home for the\n * CURRENT CLI app scope (the one registered at bootstrap through the\n * `EnvironmentRegistry` SaaS-root resolver) rather than re-running\n * `resolveWorkspaceScope` from `basePath` on every read. This is the Phase\n * 5 contract: every consumer of environment paths must trust the resolved\n * homes snapshot instead of rediscovering workspace state.\n *\n * Narrow semantic note — DELIBERATELY accepted: if an override points\n * `secretsPath` at *another* app's canonical authored-infrastructure home,\n * we now return `false` and fall back to the flat `environments/<env>`\n * layout. The previous implementation would have re-walked `basePath`,\n * detected that \"other\" app, and still applied the nested\n * `<env>/secrets` layout. Cross-app secret overrides are not a supported\n * flow in Phase 5 — pointing one app's registry at another app's secrets\n * home already implies the operator is opting out of the canonical layout,\n * so the flat fallback is the safer behavior.\n */\n private static isDefaultSaasSecretsBase(basePath: string): boolean {\n const saasRoot = EnvironmentRegistry.getSaasRoot();\n if (!saasRoot) {\n return false;\n }\n return resolve(basePath) === EnvironmentPaths.resolveAppLayout(saasRoot).authoredInfrastructureHome;\n }\n\n /**\n * Same contract as {@link isDefaultSaasSecretsBase}: compare against the\n * CURRENT scoped app's canonical runtime-infrastructure home, not against\n * whatever workspace walking up from `basePath` would rediscover. See the\n * \"narrow semantic note\" on that helper for the tradeoff this makes.\n */\n private static isDefaultSaasGeneratedInfraBase(basePath: string): boolean {\n const saasRoot = EnvironmentRegistry.getSaasRoot();\n if (!saasRoot) {\n return false;\n }\n return resolve(basePath) === EnvironmentPaths.resolveAppLayout(saasRoot).runtimeInfrastructureHome;\n }\n\n static resolveSecretsDir(envName?: string): string {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n const basePath = EnvironmentPaths.getSecretsPath(name);\n if (EnvironmentPaths.isDefaultSaasSecretsBase(basePath)) {\n return join(resolve(basePath), name, 'secrets');\n }\n return EnvironmentPaths.resolvePath(basePath, name);\n }\n\n static resolveConfigDir(envName?: string): string {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n const basePath = EnvironmentPaths.getConfigPath(name);\n if (EnvironmentPaths.isDefaultSaasGeneratedInfraBase(basePath)) {\n return join(resolve(basePath), 'environments', name, 'generated', 'config');\n }\n return EnvironmentPaths.resolvePath(basePath, name);\n }\n\n /**\n * Per-env generated `providers/` dir — sibling to `generated/config/`, home\n * of the {@link FILE_NAMES.PROVIDER_SECRETS_ENV} sink. In the DEFAULT scoped\n * layout it is `…/environments/<env>/generated/providers`, deliberately a\n * distinct leaf from `generated/config` so secret provider values never sit\n * beside the non-secret `config.json`. NOTE: under a NON-default\n * `secretsPath`/config-base override this falls back to the same flat\n * `environments/<env>` dir as {@link resolveConfigDir} (an operator opting out\n * of the canonical layout), so the config/secret separation holds only for the\n * default layout. Shares the generated-infra base (`getConfigPath`), so an\n * override that relocates the config base moves this dir with it.\n *\n * The out-of-band consumer path is reconstructed independently in\n * `engine-behavior-e2e/src/provider-env.ts:providerSecretsEnvPath` — keep the\n * two segment lists in sync (pinned by that loader's path test + the sink\n * filename pin in `provider-secrets-env.service.test.ts`).\n */\n static resolveGeneratedProvidersDir(envName?: string): string {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n const basePath = EnvironmentPaths.getConfigPath(name);\n if (EnvironmentPaths.isDefaultSaasGeneratedInfraBase(basePath)) {\n return join(resolve(basePath), 'environments', name, 'generated', 'providers');\n }\n return EnvironmentPaths.resolvePath(basePath, name);\n }\n\n static resolveInfraDir(envName?: string): string {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n const basePath = EnvironmentPaths.getInfraPath(name);\n if (EnvironmentPaths.isDefaultSaasGeneratedInfraBase(basePath)) {\n return join(resolve(basePath), 'environments', name);\n }\n return EnvironmentPaths.resolvePath(basePath, name);\n }\n\n static resolveDockerComposeDir(envName?: string): string {\n return join(EnvironmentPaths.resolveInfraDir(envName), 'docker-compose');\n }\n\n /**\n * Per-env deployment-artifact staging dir — `<saasRoot>/.wildo-saas/deploy/<env>/`.\n *\n * This is where `wildo config sync --domain config` renders the material a\n * DEPLOYMENT consumes: `k8s/` (Secret + ConfigMap + Deployment/Ingress/Service\n * manifests) and `compose/` (per-service `.env` files). The generated deploy\n * workflows address the same path relative to the app repo root, so the\n * segment list here and the literal in `templates/infra/ci/deploy-*.yml.hbs`\n * are one contract — pinned by `deployment-template-contracts.test.ts`, which\n * rebuilds the expected literal from the same layout constants.\n *\n * NOT the local runtime render. `wildo local up` / `wildo dev start` load\n * {@link resolveDockerComposeDir}, a different tree with different content\n * (docker-compose interpolation env + the platform compose file). Keep the two\n * distinct: one is what a developer machine runs, this one is what a\n * deployment applies.\n *\n * Every file written here is secret-bearing, which is why\n * `generateCiDeployArtifacts` also writes an ignore-everything `.gitignore`\n * into the zone root — see `APP_RUNTIME_SUBDIR_NAMES.DEPLOY` in\n * `@wildo-ai/platform-config-lib`.\n *\n * Unlike {@link resolveInfraDir}, this is NOT relocatable by a\n * `secretsPath`/config-base override: the deploy zone is addressed by the CI\n * workflow through a fixed repo-relative path, so an override that moved it\n * would break `kubectl apply` with no signal.\n */\n static resolveScopedDeployArtifactsDir(saasRoot: string, envName: string): string {\n return join(EnvironmentPaths.resolveAppLayout(saasRoot).deployArtifactsHome, envName);\n }\n\n /**\n * Registry-scoped form of {@link resolveScopedDeployArtifactsDir} for callers\n * that do not already hold the app root.\n */\n static resolveDeployArtifactsDir(envName?: string): string {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n return EnvironmentPaths.resolveScopedDeployArtifactsDir(\n EnvironmentPaths.resolveScopedSaasRoot(),\n name,\n );\n }\n\n static platformPidsPath(envName?: string): string {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n return EnvironmentPaths.resolveScopedPlatformPidsPath(\n EnvironmentPaths.resolveScopedSaasRoot(),\n name,\n );\n }\n\n static platformLogsDir(envName?: string): string {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n return EnvironmentPaths.resolveScopedPlatformLogsDir(\n EnvironmentPaths.resolveScopedSaasRoot(),\n name,\n );\n }\n\n static platformRuntimeStatePath(envName?: string): string {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n return EnvironmentPaths.resolveScopedPlatformRuntimeStatePath(\n EnvironmentPaths.resolveScopedSaasRoot(),\n name,\n );\n }\n\n static companionPidPath(saasRoot?: string): string {\n return EnvironmentPaths.resolveScopedCompanionPidPath(\n saasRoot ?? EnvironmentPaths.resolveScopedSaasRoot(),\n );\n }\n\n static devPidPath(saasRoot?: string): string {\n return EnvironmentPaths.resolveScopedDevPidPath(\n saasRoot ?? EnvironmentPaths.resolveScopedSaasRoot(),\n );\n }\n\n // --------------------------------------------------------------------------\n // Detection helpers\n // --------------------------------------------------------------------------\n\n static detectSiblingSecretsRepo(frameworkPath: string): string | null {\n const candidate = join(frameworkPath, '..', 'wildo-secrets');\n if (existsSync(join(candidate, 'environments'))) {\n return candidate;\n }\n return null;\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"environment-paths.service.js","sourceRoot":"","sources":["../../../../src/services/environment/environment-paths.service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EACL,gBAAgB,EAChB,sBAAsB,GACv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,MAAM,SAAS,GAAG,IAAI,CAAC,aAAa,EAAE,IAAI,EAAE,eAAe,CAAC,CAAC;QAC7D,IAAI,UAAU,CAAC,IAAI,CAAC,SAAS,EAAE,cAAc,CAAC,CAAC,EAAE,CAAC;YAChD,OAAO,SAAS,CAAC;QACnB,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;CACF","sourcesContent":["/**\n * EnvironmentPaths — path resolution for environment-scoped resources.\n *\n * Resolves secrets, config, and infrastructure directories for any environment.\n * Depends on EnvironmentRegistry for env config lookups.\n */\n\nimport { existsSync, mkdirSync, rmSync } from 'fs';\nimport { join, resolve } from 'path';\nimport {\n resolveAppLayout,\n resolveFrameworkLayout,\n} from '@wildo-ai/platform-config-lib';\nimport { EnvironmentRegistry } from '~wildo-cli/services/environment/environment-registry.service';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\n\n/**\n * Container-image `VOLUME` child-paths that must be bind-mounted INDIVIDUALLY\n * (as `local_data/<service>/<subdir>`) rather than via a single parent bind.\n *\n * **The anonymous-volume shadowing trap.** The Docker daemon honors an image's\n * `VOLUME` declarations by mounting a fresh ANONYMOUS volume on each declared\n * path that is not already covered by a MORE-specific mount. `mongo:8.2` declares\n * `VOLUME /data/db` and `VOLUME /data/configdb`; a single parent bind at `/data`\n * is LESS specific than those child paths, so Docker layers an anonymous volume\n * over `/data/db` (mongod's real `--dbpath`). The parent bind becomes a decoy\n * catching nothing that matters, and every container recreate mints a fresh empty\n * `/data/db` — silently discarding the database. (It used to catch the replica\n * keyfile; that moved to `/tmp` on 2026-09-09 when the compose service started\n * running AS `mongodb`, which cannot write the root-owned `/data`.) Binding the exact\n * declared child paths defeats the anonymous volumes so the host directory is\n * authoritative. This map lists, per service container name, those child subdirs\n * so {@link EnvironmentPaths.ensureLocalDataServiceDirs} materializes them\n * host-side (Docker would otherwise auto-create them root-owned, breaking the\n * container UID's write access).\n *\n * MUST stay in lockstep with the per-service `volumes:` binds in\n * `templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs`. The\n * compose-generator test renders the REAL template and pins `/data/db` +\n * `/data/configdb`, so a template/here drift fails CI.\n *\n * `mongo:8.2` is the ONLY image in the current infra roster that declares child\n * `VOLUME`s under its bind path (empirically audited 2026-07-18 against every\n * infra image's `docker inspect … .Config.Volumes`: valkey/clamav/immudb/\n * otel declare none; rabbitmq/minio/postgresql declare their VOLUME at\n * exactly the bind path). Every other service binds its single real data path\n * directly, so it is absent here and keeps the single-dir default.\n *\n * RE-VERIFIED on the 8.2 bump (issue #74) rather than carried forward: an image-family\n * change is exactly when a `VOLUME` claim can quietly stop being true, and the consequence\n * here is a silently discarded database. `docker image inspect mongo:8.2` still reports\n * `{\"/data/configdb\":{},\"/data/db\":{}}`, so both binds and this map stay correct.\n *\n * `mongot` is deliberately NOT in this map even though it is the other half of the same\n * bump: `mongodb/mongodb-community-search:1.70.3` declares NO `VOLUME` at all\n * (`.Config.Volumes` is `null`), so its single `/data/mongot` bind needs no child split and\n * keeps the single-dir default like every other service.\n */\nconst INFRA_SERVICE_DATA_SUBDIRS: Readonly<Record<string, readonly string[]>> = {\n mongodb: ['db', 'configdb'],\n};\n\nexport class EnvironmentPaths {\n private static resolveAppLayout(saasRoot: string) {\n return resolveAppLayout(saasRoot);\n }\n\n private static resolveScopedSaasRoot(): string {\n const registrySaasRoot = EnvironmentRegistry.getSaasRoot();\n if (!registrySaasRoot) {\n throw new Error('No targeted app root detected.');\n }\n return registrySaasRoot;\n }\n\n // --------------------------------------------------------------------------\n // Scoped runtime roots\n // --------------------------------------------------------------------------\n\n static resolveScopedRuntimeRoot(saasRoot: string): string {\n return EnvironmentPaths.resolveAppLayout(saasRoot).runtimeHome;\n }\n\n static resolveScopedStateDir(saasRoot: string): string {\n return EnvironmentPaths.resolveAppLayout(saasRoot).stateHome;\n }\n\n static resolveScopedEnvironmentStateDir(saasRoot: string, envName: string): string {\n return join(EnvironmentPaths.resolveScopedStateDir(saasRoot), envName);\n }\n\n static resolveScopedLogsDir(saasRoot: string): string {\n return EnvironmentPaths.resolveAppLayout(saasRoot).logsHome;\n }\n\n static resolveScopedCompanionLogsDir(saasRoot: string): string {\n return EnvironmentPaths.resolveAppLayout(saasRoot).companionLogsHome;\n }\n\n static resolveScopedEnvironmentRoot(saasRoot: string, envName: string): string {\n return join(EnvironmentPaths.resolveAppLayout(saasRoot).runtimeEnvironmentsHome, envName);\n }\n\n static resolveScopedEnvStateFile(saasRoot: string): string {\n return join(EnvironmentPaths.resolveAppLayout(saasRoot).stateHome, 'environments.json');\n }\n\n static resolveScopedSecretsBase(saasRoot: string): string {\n return EnvironmentPaths.resolveAppLayout(saasRoot).authoredInfrastructureHome;\n }\n\n static resolveScopedConfigBase(saasRoot: string): string {\n return EnvironmentPaths.resolveAppLayout(saasRoot).runtimeInfrastructureHome;\n }\n\n static resolveScopedInfraBase(saasRoot: string): string {\n return EnvironmentPaths.resolveAppLayout(saasRoot).runtimeInfrastructureHome;\n }\n\n static resolveScopedPlatformPidsPath(saasRoot: string, envName: string): string {\n return join(EnvironmentPaths.resolveScopedEnvironmentStateDir(saasRoot, envName), 'platform.pids');\n }\n\n static resolveScopedPlatformRuntimeStatePath(saasRoot: string, envName: string): string {\n return join(EnvironmentPaths.resolveScopedEnvironmentStateDir(saasRoot, envName), 'runtime.json');\n }\n\n static resolveScopedCompanionPidPath(saasRoot: string): string {\n return join(EnvironmentPaths.resolveScopedStateDir(saasRoot), 'companion.pid');\n }\n\n static resolveScopedDevPidPath(saasRoot: string): string {\n return join(EnvironmentPaths.resolveScopedStateDir(saasRoot), 'dev.pid');\n }\n\n static resolveScopedPlatformLogsDir(saasRoot: string, envName: string): string {\n return join(EnvironmentPaths.resolveScopedLogsDir(saasRoot), envName);\n }\n\n static resolveFrameworkRuntimeRoot(frameworkRoot: string): string {\n return resolveFrameworkLayout(frameworkRoot).markerHome;\n }\n\n static resolveSaasRuntimeRoot(saasRoot: string): string {\n return EnvironmentPaths.resolveAppLayout(saasRoot).runtimeHome;\n }\n\n static resolveScopedLocalDataDir(saasRoot: string): string {\n return EnvironmentPaths.resolveAppLayout(saasRoot).localDataHome;\n }\n\n /**\n * Resolve the absolute path to a single backing-service subdirectory\n * under the canonical local-data root.\n *\n * Mirrors the per-service layout used by both runtimes:\n * - Compose: `<saasRoot>/.wildo-saas/local_data/<service>/` (bind mount source)\n * - K8s: `/mnt/local-data/<service>/` (Kind hostPath, same tree)\n *\n * The <service> token is the short container name from\n * `INFRA_SERVICE_CATALOG` (e.g. `mongodb`, `valkey`, `rabbitmq`,\n * `minio`, `postgresql`, `clamav`), keeping the host layout and the\n * K8s PV `hostPath` segment in lockstep.\n */\n static resolveScopedLocalDataServiceDir(saasRoot: string, service: string): string {\n return join(EnvironmentPaths.resolveScopedLocalDataDir(saasRoot), service);\n }\n\n /**\n * Slice 4 (4.3) — local_data subdir bootstrapper.\n *\n * Creates `<saasRoot>/.wildo-saas/local_data/<service>/` for each given\n * service, idempotently (`mkdir -p` semantics via `recursive: true`).\n *\n * **Child-VOLUME services.** For a service listed in\n * {@link INFRA_SERVICE_DATA_SUBDIRS} (today only `mongodb`), the per-declared\n * child subdirs are created instead of the bare service dir — e.g. `mongodb`\n * yields `local_data/mongodb/db` + `local_data/mongodb/configdb` (both parents\n * are created by `recursive: true`). Those are the exact bind SOURCES the\n * compose file mounts onto `/data/db` + `/data/configdb`, defeating the\n * anonymous-volume trap described on that constant.\n *\n * **Why this exists.** Slice 4 cut Compose over from named volumes\n * (`mongodb_data`, `valkey_data`, ...) to bind mounts under\n * `local_data/`. Docker creates missing bind-mount source directories\n * automatically, but with **root ownership** — the container UID then\n * cannot write to the mount. Pre-creating the dirs as the calling user\n * sidesteps that whole class of permission problem.\n *\n * **Single source of truth for callers (Compose-only).** Every CLI seam\n * that runs `docker compose up` against the platform-local compose file\n * must call this helper FIRST (Slice 4 D5 decision). Today the call\n * sites are (verified end-of-Slice 4 second-pass-3):\n *\n * 1. `commands/local/up.command.ts runDockerCompose` — default\n * `wildo local up` Compose path. (Its `--rebuild` restart was a second\n * site until #2988 removed the flag.)\n * 2. `commands/dev/start.command.ts startDockerInfra` — `wildo dev start`\n * Compose cold-start (framework-developer flow).\n * 3. `commands/dev/start.command.ts ensureInfraRunning` — same file's\n * \"infra is already running\" defensive branch (Slice 4 review fix\n * Compose M-3); without this an operator who manually `rm -rf`'d a\n * `local_data/<svc>` dir mid-session would see Docker recreate the\n * bind source as root-owned the next time the container restarted.\n * 4. `services/application/local-app-reinit.service.ts startEnvironment` —\n * `wildo local reinit` Compose re-bootstrap path.\n *\n * The companion wipe path (`wildo local reset` and\n * `LocalAppReinitService.resetEnvironment`) calls\n * {@link wipeLocalDataServiceDirs} after `docker compose down` to remove\n * these subdirs — the reset+up pair is symmetric.\n *\n * **Note on K8s:** the K8s/Kind path does NOT call this helper. Kind only\n * `mkdir -p`s the **root** `local_data/` once via\n * `KindService.getHostMountPaths`; per-`<svc>` subdirs are created INSIDE\n * the Kind node by the StatefulSet pods themselves the first time they\n * mount their PV. Adding a per-service `mkdir` on the host for K8s would\n * be semantically wrong (the bind-mount target lives inside the cluster\n * node, not on the host filesystem the host UID writes to).\n *\n * @param saasRoot - resolved SaaS app root (caller's responsibility to\n * resolve via `EnvironmentRegistry.getSaasRoot()` so the failure mode\n * is explicit at the call site).\n * @param services - short container-name list of services that will be\n * bind-mounted by the rendered compose file. Caller should pass only\n * the services actually emitted into compose for this env (e.g. omit\n * `mongodb` when `needsLocalMongoDB` is false) so we do not litter\n * `local_data/` with unused subdirs.\n */\n static ensureLocalDataServiceDirs(saasRoot: string, services: readonly string[]): void {\n const localDataDir = EnvironmentPaths.resolveScopedLocalDataDir(saasRoot);\n if (!existsSync(localDataDir)) {\n mkdirSync(localDataDir, { recursive: true });\n }\n for (const service of services) {\n const childSubdirs = INFRA_SERVICE_DATA_SUBDIRS[service];\n if (childSubdirs && childSubdirs.length > 0) {\n // Image declares child VOLUMEs under its data path (e.g. mongo → /data/db\n // + /data/configdb): create each child as its own bind SOURCE so the\n // compose child binds are authoritative and the parent-bind anonymous-\n // volume trap is defeated. `recursive: true` also creates the parent\n // `local_data/<service>/`.\n for (const subdir of childSubdirs) {\n const childDir = join(localDataDir, service, subdir);\n if (!existsSync(childDir)) {\n mkdirSync(childDir, { recursive: true });\n }\n }\n continue;\n }\n const serviceDir = join(localDataDir, service);\n if (!existsSync(serviceDir)) {\n mkdirSync(serviceDir, { recursive: true });\n }\n }\n }\n\n /**\n * Slice 4 (4.4) — local_data subdir wiper, fail-closed.\n *\n * Counterpart of {@link ensureLocalDataServiceDirs}. Removes the\n * per-service directories under `<saasRoot>/.wildo-saas/local_data/`\n * after the caller has stopped the workloads that hold those files\n * (Compose: `docker compose down -v`; K8s: PVCs deleted).\n *\n * **Fail-closed semantics (D6 decision).** If `rmSync` throws on a\n * subdir (locked file, permission denied, mount busy, …), this helper\n * re-throws with an aggregated message instead of swallowing the error.\n * Symmetry with the K8s wipe path: K8s already throws on PVC delete\n * failure; the Compose host wipe must mirror that contract or\n * `wildo local reset` would silently leave stale on-host state behind\n * and corrupt the next `wildo local up`.\n *\n * **Scope.** We deliberately wipe only the listed `services` subdirs,\n * NOT the parent `local_data/` directory itself, because:\n * - The parent may host future per-env subdirs (`.gitkeep`, etc.).\n * - Removing the parent would force every concurrent compose project\n * in the same SaaS root to recreate it.\n *\n * @param saasRoot - resolved SaaS app root.\n * @param services - short container-name list to wipe. Caller passes\n * only the services actually deployed in this env (must mirror the\n * list given to {@link ensureLocalDataServiceDirs} so reset+up are\n * symmetric).\n */\n static wipeLocalDataServiceDirs(saasRoot: string, services: readonly string[]): void {\n const localDataDir = EnvironmentPaths.resolveScopedLocalDataDir(saasRoot);\n if (!existsSync(localDataDir)) {\n return;\n }\n const failures: string[] = [];\n for (const service of services) {\n const serviceDir = join(localDataDir, service);\n if (!existsSync(serviceDir)) continue;\n try {\n rmSync(serviceDir, { recursive: true, force: true });\n } catch (error) {\n failures.push(\n `${serviceDir}: ${ErrorUtils.extractErrorMessage(error)}`,\n );\n }\n }\n if (failures.length > 0) {\n throw new Error(\n `Failed to wipe local_data subdirs:\\n - ${failures.join('\\n - ')}`,\n );\n }\n }\n\n static resolveDefaultSecretsBase(saasRoot?: string): string {\n const resolvedSaasRoot = saasRoot ?? EnvironmentPaths.resolveScopedSaasRoot();\n return EnvironmentPaths.resolveAppLayout(resolvedSaasRoot).authoredInfrastructureHome;\n }\n\n static resolveDefaultConfigBase(saasRoot?: string): string {\n const resolvedSaasRoot = saasRoot ?? EnvironmentPaths.resolveScopedSaasRoot();\n return EnvironmentPaths.resolveAppLayout(resolvedSaasRoot).runtimeInfrastructureHome;\n }\n\n static resolveDefaultInfraBase(saasRoot?: string): string {\n const resolvedSaasRoot = saasRoot ?? EnvironmentPaths.resolveScopedSaasRoot();\n return EnvironmentPaths.resolveAppLayout(resolvedSaasRoot).runtimeInfrastructureHome;\n }\n\n // --------------------------------------------------------------------------\n // Base path getters (raw, before env-scoped resolution)\n // --------------------------------------------------------------------------\n\n static getSecretsPath(envName?: string): string {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n return EnvironmentRegistry.get(name)?.secretsPath ?? EnvironmentPaths.resolveDefaultSecretsBase();\n }\n\n static getConfigPath(envName?: string): string {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n return EnvironmentRegistry.get(name)?.configPath ?? EnvironmentPaths.resolveDefaultConfigBase();\n }\n\n static getInfraPath(envName?: string): string {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n return EnvironmentRegistry.get(name)?.infraPath ?? EnvironmentPaths.resolveDefaultInfraBase();\n }\n\n static setPaths(\n paths: { secretsPath?: string; configPath?: string; infraPath?: string },\n envName?: string,\n ): void {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n EnvironmentRegistry.update(name, paths);\n }\n\n // --------------------------------------------------------------------------\n // Resolved paths (base + environments/<envName>/)\n // --------------------------------------------------------------------------\n\n private static resolvePath(basePath: string, envName: string): string {\n return join(resolve(basePath), 'environments', envName);\n }\n\n /**\n * Compare `basePath` against the canonical authored-infra home for the\n * CURRENT CLI app scope (the one registered at bootstrap through the\n * `EnvironmentRegistry` SaaS-root resolver) rather than re-running\n * `resolveWorkspaceScope` from `basePath` on every read. This is the Phase\n * 5 contract: every consumer of environment paths must trust the resolved\n * homes snapshot instead of rediscovering workspace state.\n *\n * Narrow semantic note — DELIBERATELY accepted: if an override points\n * `secretsPath` at *another* app's canonical authored-infrastructure home,\n * we now return `false` and fall back to the flat `environments/<env>`\n * layout. The previous implementation would have re-walked `basePath`,\n * detected that \"other\" app, and still applied the nested\n * `<env>/secrets` layout. Cross-app secret overrides are not a supported\n * flow in Phase 5 — pointing one app's registry at another app's secrets\n * home already implies the operator is opting out of the canonical layout,\n * so the flat fallback is the safer behavior.\n */\n private static isDefaultSaasSecretsBase(basePath: string): boolean {\n const saasRoot = EnvironmentRegistry.getSaasRoot();\n if (!saasRoot) {\n return false;\n }\n return resolve(basePath) === EnvironmentPaths.resolveAppLayout(saasRoot).authoredInfrastructureHome;\n }\n\n /**\n * Same contract as {@link isDefaultSaasSecretsBase}: compare against the\n * CURRENT scoped app's canonical runtime-infrastructure home, not against\n * whatever workspace walking up from `basePath` would rediscover. See the\n * \"narrow semantic note\" on that helper for the tradeoff this makes.\n */\n private static isDefaultSaasGeneratedInfraBase(basePath: string): boolean {\n const saasRoot = EnvironmentRegistry.getSaasRoot();\n if (!saasRoot) {\n return false;\n }\n return resolve(basePath) === EnvironmentPaths.resolveAppLayout(saasRoot).runtimeInfrastructureHome;\n }\n\n static resolveSecretsDir(envName?: string): string {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n const basePath = EnvironmentPaths.getSecretsPath(name);\n if (EnvironmentPaths.isDefaultSaasSecretsBase(basePath)) {\n return join(resolve(basePath), name, 'secrets');\n }\n return EnvironmentPaths.resolvePath(basePath, name);\n }\n\n static resolveConfigDir(envName?: string): string {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n const basePath = EnvironmentPaths.getConfigPath(name);\n if (EnvironmentPaths.isDefaultSaasGeneratedInfraBase(basePath)) {\n return join(resolve(basePath), 'environments', name, 'generated', 'config');\n }\n return EnvironmentPaths.resolvePath(basePath, name);\n }\n\n /**\n * Per-env generated `providers/` dir — sibling to `generated/config/`, home\n * of the {@link FILE_NAMES.PROVIDER_SECRETS_ENV} sink. In the DEFAULT scoped\n * layout it is `…/environments/<env>/generated/providers`, deliberately a\n * distinct leaf from `generated/config` so secret provider values never sit\n * beside the non-secret `config.json`. NOTE: under a NON-default\n * `secretsPath`/config-base override this falls back to the same flat\n * `environments/<env>` dir as {@link resolveConfigDir} (an operator opting out\n * of the canonical layout), so the config/secret separation holds only for the\n * default layout. Shares the generated-infra base (`getConfigPath`), so an\n * override that relocates the config base moves this dir with it.\n *\n * The out-of-band consumer path is reconstructed independently in\n * `engine-behavior-e2e/src/provider-env.ts:providerSecretsEnvPath` — keep the\n * two segment lists in sync (pinned by that loader's path test + the sink\n * filename pin in `provider-secrets-env.service.test.ts`).\n */\n static resolveGeneratedProvidersDir(envName?: string): string {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n const basePath = EnvironmentPaths.getConfigPath(name);\n if (EnvironmentPaths.isDefaultSaasGeneratedInfraBase(basePath)) {\n return join(resolve(basePath), 'environments', name, 'generated', 'providers');\n }\n return EnvironmentPaths.resolvePath(basePath, name);\n }\n\n static resolveInfraDir(envName?: string): string {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n const basePath = EnvironmentPaths.getInfraPath(name);\n if (EnvironmentPaths.isDefaultSaasGeneratedInfraBase(basePath)) {\n return join(resolve(basePath), 'environments', name);\n }\n return EnvironmentPaths.resolvePath(basePath, name);\n }\n\n static resolveDockerComposeDir(envName?: string): string {\n return join(EnvironmentPaths.resolveInfraDir(envName), 'docker-compose');\n }\n\n /**\n * Per-env deployment-artifact staging dir — `<saasRoot>/.wildo-saas/deploy/<env>/`.\n *\n * This is where `wildo config sync --domain config` renders the material a\n * DEPLOYMENT consumes: `k8s/` (Secret + ConfigMap + Deployment/Ingress/Service\n * manifests) and `compose/` (per-service `.env` files). The generated deploy\n * workflows address the same path relative to the app repo root, so the\n * segment list here and the literal in `templates/infra/ci/deploy-*.yml.hbs`\n * are one contract — pinned by `deployment-template-contracts.test.ts`, which\n * rebuilds the expected literal from the same layout constants.\n *\n * NOT the local runtime render. `wildo local up` / `wildo dev start` load\n * {@link resolveDockerComposeDir}, a different tree with different content\n * (docker-compose interpolation env + the platform compose file). Keep the two\n * distinct: one is what a developer machine runs, this one is what a\n * deployment applies.\n *\n * Every file written here is secret-bearing, which is why\n * `generateCiDeployArtifacts` also writes an ignore-everything `.gitignore`\n * into the zone root — see `APP_RUNTIME_SUBDIR_NAMES.DEPLOY` in\n * `@wildo-ai/platform-config-lib`.\n *\n * Unlike {@link resolveInfraDir}, this is NOT relocatable by a\n * `secretsPath`/config-base override: the deploy zone is addressed by the CI\n * workflow through a fixed repo-relative path, so an override that moved it\n * would break `kubectl apply` with no signal.\n */\n static resolveScopedDeployArtifactsDir(saasRoot: string, envName: string): string {\n return join(EnvironmentPaths.resolveAppLayout(saasRoot).deployArtifactsHome, envName);\n }\n\n /**\n * Registry-scoped form of {@link resolveScopedDeployArtifactsDir} for callers\n * that do not already hold the app root.\n */\n static resolveDeployArtifactsDir(envName?: string): string {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n return EnvironmentPaths.resolveScopedDeployArtifactsDir(\n EnvironmentPaths.resolveScopedSaasRoot(),\n name,\n );\n }\n\n static platformPidsPath(envName?: string): string {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n return EnvironmentPaths.resolveScopedPlatformPidsPath(\n EnvironmentPaths.resolveScopedSaasRoot(),\n name,\n );\n }\n\n static platformLogsDir(envName?: string): string {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n return EnvironmentPaths.resolveScopedPlatformLogsDir(\n EnvironmentPaths.resolveScopedSaasRoot(),\n name,\n );\n }\n\n static platformRuntimeStatePath(envName?: string): string {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n return EnvironmentPaths.resolveScopedPlatformRuntimeStatePath(\n EnvironmentPaths.resolveScopedSaasRoot(),\n name,\n );\n }\n\n static companionPidPath(saasRoot?: string): string {\n return EnvironmentPaths.resolveScopedCompanionPidPath(\n saasRoot ?? EnvironmentPaths.resolveScopedSaasRoot(),\n );\n }\n\n static devPidPath(saasRoot?: string): string {\n return EnvironmentPaths.resolveScopedDevPidPath(\n saasRoot ?? EnvironmentPaths.resolveScopedSaasRoot(),\n );\n }\n\n // --------------------------------------------------------------------------\n // Detection helpers\n // --------------------------------------------------------------------------\n\n static detectSiblingSecretsRepo(frameworkPath: string): string | null {\n const candidate = join(frameworkPath, '..', 'wildo-secrets');\n if (existsSync(join(candidate, 'environments'))) {\n return candidate;\n }\n return null;\n }\n}\n"]}
|
|
@@ -101,10 +101,9 @@ export declare class EnvironmentRegistry {
|
|
|
101
101
|
* credential-fetching bootstrap flows.
|
|
102
102
|
*
|
|
103
103
|
* Deliberately UNCACHED (unlike config/secrets): it is read only a handful of
|
|
104
|
-
* times per process (
|
|
105
|
-
* by {@link saveApplicationRuntimeIdentity}
|
|
106
|
-
*
|
|
107
|
-
* reading disk keeps that write-then-read coherent by construction.
|
|
104
|
+
* times per process (by the offline credential reconstruction) and is written
|
|
105
|
+
* mid-run by {@link saveApplicationRuntimeIdentity} — always reading disk keeps
|
|
106
|
+
* that write-then-read coherent by construction.
|
|
108
107
|
*
|
|
109
108
|
* Returns `null` when the file is absent (app never bootstrapped in this env)
|
|
110
109
|
* or fails schema validation.
|
|
@@ -114,8 +113,8 @@ export declare class EnvironmentRegistry {
|
|
|
114
113
|
* Persist the apps-manager-minted `APPLICATION_ID` for `appSlug` into the
|
|
115
114
|
* env's `application-runtime-identity.json`, MERGING with any other apps'
|
|
116
115
|
* ids already recorded for the env so a single app's write never SILENTLY
|
|
117
|
-
* wipes a sibling's. Called from the credential-fetching bootstrap seam so
|
|
118
|
-
* later
|
|
116
|
+
* wipes a sibling's. Called from the credential-fetching bootstrap seam so a
|
|
117
|
+
* later degraded regeneration can rebuild bootstrap credentials offline.
|
|
119
118
|
*
|
|
120
119
|
* If the existing file is valid JSON but fails schema validation, it is
|
|
121
120
|
* rebuilt from empty (any sibling ids are lost) — but only after a loud
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environment-registry.service.d.ts","sourceRoot":"","sources":["../../../../src/services/environment/environment-registry.service.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAUH,OAAO,EACL,gCAAgC,EAChC,yBAAyB,EAC1B,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EACL,8BAA8B,EAE9B,qBAAqB,EAErB,sBAAsB,EAGvB,MAAM,qDAAqD,CAAC;AAc7D,KAAK,gBAAgB,GAAG,MAAM,MAAM,GAAG,IAAI,CAAC;AAE5C,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,MAAM,CAAC,UAAU,CAAgD;IACzE,OAAO,CAAC,MAAM,CAAC,gBAAgB,CAAwC;IACvE,OAAO,CAAC,MAAM,CAAC,gBAAgB,CAAiC;IAMhE,OAAO,CAAC,MAAM,CAAC,eAAe;IAW9B,MAAM,CAAC,WAAW,IAAI,MAAM,GAAG,IAAI;IAInC,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI;IAIzD,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,gBAAgB,GAAG,IAAI,GAAG,IAAI;IAInE,MAAM,CAAC,qBAAqB,IAAI,IAAI;WAIvB,oBAAoB,CAAC,CAAC,EACjC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACnC,QAAQ,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,GAC7B,OAAO,CAAC,CAAC,CAAC;IAUb,OAAO,CAAC,MAAM,CAAC,oBAAoB;IAQnC,OAAO,CAAC,MAAM,CAAC,eAAe;IAI9B,OAAO,CAAC,MAAM,CAAC,mCAAmC;IAi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M,CAAC;QAAC,eAAe,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;IAMlI;;;;;;;;;;;;;OAaG;IACH,OAAO,CAAC,MAAM,CAAC,qBAAqB;IAwCpC,MAAM,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,sBAAsB,GAAG,IAAI;IAqC5F;;;;;OAKG;IACH,OAAO,CAAC,MAAM,CAAC,yBAAyB;IAQxC
|
|
1
|
+
{"version":3,"file":"environment-registry.service.d.ts","sourceRoot":"","sources":["../../../../src/services/environment/environment-registry.service.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAUH,OAAO,EACL,gCAAgC,EAChC,yBAAyB,EAC1B,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EACL,8BAA8B,EAE9B,qBAAqB,EAErB,sBAAsB,EAGvB,MAAM,qDAAqD,CAAC;AAc7D,KAAK,gBAAgB,GAAG,MAAM,MAAM,GAAG,IAAI,CAAC;AAE5C,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,MAAM,CAAC,UAAU,CAAgD;IACzE,OAAO,CAAC,MAAM,CAAC,gBAAgB,CAAwC;IACvE,OAAO,CAAC,MAAM,CAAC,gBAAgB,CAAiC;IAMhE,OAAO,CAAC,MAAM,CAAC,eAAe;IAW9B,MAAM,CAAC,WAAW,IAAI,MAAM,GAAG,IAAI;IAInC,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI;IAIzD,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,gBAAgB,GAAG,IAAI,GAAG,IAAI;IAInE,MAAM,CAAC,qBAAqB,IAAI,IAAI;WAIvB,oBAAoB,CAAC,CAAC,EACjC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACnC,QAAQ,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,GAC7B,OAAO,CAAC,CAAC,CAAC;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;;;;;OAYG;IACH,MAAM,CAAC,yBAAyB,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG;QAAE,eAAe,EAAE,MAAM,CAAC;QAAC,eAAe,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;IAMlI;;;;;;;;;;;;;OAaG;IACH,OAAO,CAAC,MAAM,CAAC,qBAAqB;IAwCpC,MAAM,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,sBAAsB,GAAG,IAAI;IAqC5F;;;;;OAKG;IACH,OAAO,CAAC,MAAM,CAAC,yBAAyB;IAQxC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,8BAA8B,CACnC,OAAO,CAAC,EAAE,MAAM,EAChB,SAAS,CAAC,EAAE,MAAM,GACjB,8BAA8B,GAAG,IAAI;IAkBxC;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,8BAA8B,CACnC,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,EACf,aAAa,EAAE,MAAM,EACrB,SAAS,CAAC,EAAE,MAAM,GACjB,IAAI;IA6BP;;;;;;;;;;OAUG;IACH,MAAM,CAAC,iCAAiC,CACtC,OAAO,EAAE,MAAM,EACf,SAAS,CAAC,EAAE,MAAM,GACjB,IAAI;IASP,MAAM,CAAC,eAAe,IAAI,IAAI;CAI/B"}
|
|
@@ -372,10 +372,9 @@ export class EnvironmentRegistry {
|
|
|
372
372
|
* credential-fetching bootstrap flows.
|
|
373
373
|
*
|
|
374
374
|
* Deliberately UNCACHED (unlike config/secrets): it is read only a handful of
|
|
375
|
-
* times per process (
|
|
376
|
-
* by {@link saveApplicationRuntimeIdentity}
|
|
377
|
-
*
|
|
378
|
-
* reading disk keeps that write-then-read coherent by construction.
|
|
375
|
+
* times per process (by the offline credential reconstruction) and is written
|
|
376
|
+
* mid-run by {@link saveApplicationRuntimeIdentity} — always reading disk keeps
|
|
377
|
+
* that write-then-read coherent by construction.
|
|
379
378
|
*
|
|
380
379
|
* Returns `null` when the file is absent (app never bootstrapped in this env)
|
|
381
380
|
* or fails schema validation.
|
|
@@ -401,8 +400,8 @@ export class EnvironmentRegistry {
|
|
|
401
400
|
* Persist the apps-manager-minted `APPLICATION_ID` for `appSlug` into the
|
|
402
401
|
* env's `application-runtime-identity.json`, MERGING with any other apps'
|
|
403
402
|
* ids already recorded for the env so a single app's write never SILENTLY
|
|
404
|
-
* wipes a sibling's. Called from the credential-fetching bootstrap seam so
|
|
405
|
-
* later
|
|
403
|
+
* wipes a sibling's. Called from the credential-fetching bootstrap seam so a
|
|
404
|
+
* later degraded regeneration can rebuild bootstrap credentials offline.
|
|
406
405
|
*
|
|
407
406
|
* If the existing file is valid JSON but fails schema validation, it is
|
|
408
407
|
* rebuilt from empty (any sibling ids are lost) — but only after a loud
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environment-registry.service.js","sourceRoot":"","sources":["../../../../src/services/environment/environment-registry.service.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AACpF,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAErC,OAAO,EAAE,8BAA8B,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxF,OAAO,EACL,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,+BAA+B,CAAC;AAKvC,OAAO,EAEL,qCAAqC,EAErC,4BAA4B,EAE5B,6BAA6B,EAC7B,8BAA8B,GAC/B,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAE1E,gHAAgH;AAChH,SAAS,iCAAiC,CAAC,OAA+B;IACxE,MAAM,gBAAgB,GAAG,8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AAC,iCAAiC,CACtC,OAAe,EACf,SAAkB;QAElB,MAAM,GAAG,GAAG,mBAAmB,CAAC,yBAAyB,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QAC9E,IAAI,CAAC,GAAG;YAAE,OAAO;QACjB,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,4BAA4B,CAAC,CAAC;QACpE,IAAI,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC;YACzB,UAAU,CAAC,QAAQ,CAAC,CAAC;QACvB,CAAC;IACH,CAAC;IAED,MAAM,CAAC,eAAe;QACpB,mBAAmB,CAAC,eAAe,GAAG,EAAE,CAAC;QACzC,mBAAmB,CAAC,gBAAgB,GAAG,EAAE,CAAC;IAC5C,CAAC","sourcesContent":["/**\n * EnvironmentRegistry — state persistence + querying for platform environments.\n *\n * Owns the environment state registry.\n * Provides CRUD operations and config/secrets JSON loading.\n *\n * Other env sub-services (lifecycle, paths) depend on this.\n */\n\nimport { existsSync, mkdirSync, readFileSync, unlinkSync, writeFileSync } from 'fs';\nimport { dirname, join } from 'path';\nimport type { ZodError } from 'zod';\nimport { DEFAULT_ZOD_ISSUE_RENDER_LIMIT, formatZodIssues } from '@wildo-ai/saas-models';\nimport {\n resolveAppLayout,\n WildoLocationType,\n} from '@wildo-ai/platform-config-lib';\nimport {\n PlatformEnvironmentConfiguration,\n PlatformEnvironmentsState,\n} from '~wildo-cli/services/environment/environment.schemas';\nimport {\n ApplicationRuntimeIdentityJson,\n ApplicationRuntimeIdentityJson_Schema,\n PlatformEnvConfigJson,\n PlatformEnvConfigJson_Schema,\n PlatformEnvSecretsJson,\n PlatformEnvSecretsJson_Schema,\n projectApplicationOwnedSecrets,\n} from '~wildo-cli/services/credentials/credentials.schemas';\nimport { FILE_NAMES } from '~wildo-cli/infrastructure/io/io.schemas';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\n\n/** `secrets` with every APPLICATION-owned section removed — what a host contributes to a hosted environment. */\nfunction projectWithoutApplicationSections(secrets: PlatformEnvSecretsJson): Partial<PlatformEnvSecretsJson> {\n const applicationOwned = projectApplicationOwnedSecrets(secrets);\n const shared: Record<string, unknown> = { ...secrets };\n for (const section of Object.keys(applicationOwned)) delete shared[section];\n return shared as Partial<PlatformEnvSecretsJson>;\n}\n\nconst STATE_VERSION = 1;\nconst MEMORY_STATE_KEY = '__memory__';\ntype SaasRootResolver = () => string | null;\n\nexport class EnvironmentRegistry {\n private static stateByKey = new Map<string, PlatformEnvironmentsState>();\n private static saasRootOverride: string | null | undefined = undefined;\n private static saasRootResolver: SaasRootResolver | null = null;\n\n // --------------------------------------------------------------------------\n // State persistence\n // --------------------------------------------------------------------------\n\n private static resolveSaasRoot(): string | null {\n if (EnvironmentRegistry.saasRootOverride !== undefined) {\n return EnvironmentRegistry.saasRootOverride;\n }\n\n if (EnvironmentRegistry.saasRootResolver) {\n return EnvironmentRegistry.saasRootResolver();\n }\n return null;\n }\n\n static getSaasRoot(): string | null {\n return EnvironmentRegistry.resolveSaasRoot();\n }\n\n static setSaasRootOverride(saasRoot: string | null): void {\n EnvironmentRegistry.saasRootOverride = saasRoot;\n }\n\n static setSaasRootResolver(resolver: SaasRootResolver | null): void {\n EnvironmentRegistry.saasRootResolver = resolver;\n }\n\n static clearSaasRootOverride(): void {\n EnvironmentRegistry.saasRootOverride = undefined;\n }\n\n static async withSaasRootOverride<T>(\n saasRoot: string | null | undefined,\n callback: () => Promise<T> | T,\n ): Promise<T> {\n const previousOverride = EnvironmentRegistry.saasRootOverride;\n EnvironmentRegistry.saasRootOverride = saasRoot;\n try {\n return await callback();\n } finally {\n EnvironmentRegistry.saasRootOverride = previousOverride;\n }\n }\n\n private static resolveStateFilePath(saasRoot: string | null = EnvironmentRegistry.resolveSaasRoot()): string | null {\n if (!saasRoot) {\n return null;\n }\n\n return join(resolveAppLayout(saasRoot).stateHome, 'environments.json');\n }\n\n private static resolveStateKey(saasRoot: string | null = EnvironmentRegistry.resolveSaasRoot()): string {\n return EnvironmentRegistry.resolveStateFilePath(saasRoot) ?? MEMORY_STATE_KEY;\n }\n\n private static scrubObsoleteEnvironmentStateFields(\n state: PlatformEnvironmentsState,\n ): { state: PlatformEnvironmentsState; changed: boolean } {\n let changed = false;\n\n const environments = Object.fromEntries(\n Object.entries(state.environments).map(([envName, env]) => {\n const {\n platformInitialized: _platformInitialized,\n platformInitializedAt: _platformInitializedAt,\n ...rest\n } = env as PlatformEnvironmentConfiguration & {\n platformInitialized?: boolean;\n platformInitializedAt?: string;\n };\n\n if (_platformInitialized !== undefined || _platformInitializedAt !== undefined) {\n changed = true;\n }\n\n return [envName, rest as PlatformEnvironmentConfiguration];\n }),\n );\n\n return {\n state: {\n ...state,\n environments,\n },\n changed,\n };\n }\n\n static load(): PlatformEnvironmentsState {\n const stateKey = EnvironmentRegistry.resolveStateKey();\n const cached = EnvironmentRegistry.stateByKey.get(stateKey);\n if (cached) return cached;\n\n const stateFile = EnvironmentRegistry.resolveStateFilePath();\n\n try {\n if (stateFile && existsSync(stateFile)) {\n const raw = JSON.parse(readFileSync(stateFile, 'utf8')) as PlatformEnvironmentsState;\n const normalized = EnvironmentRegistry.scrubObsoleteEnvironmentStateFields(raw);\n EnvironmentRegistry.stateByKey.set(stateKey, normalized.state);\n if (normalized.changed) {\n EnvironmentRegistry.save();\n }\n return normalized.state;\n }\n } catch {\n // Corrupted file — fall through to default\n }\n\n const fresh: PlatformEnvironmentsState = {\n version: STATE_VERSION,\n currentEnvironment: WildoLocationType.LOCAL,\n environments: {},\n };\n EnvironmentRegistry.stateByKey.set(stateKey, fresh);\n return fresh;\n }\n\n static save(): void {\n const state = EnvironmentRegistry.load();\n const stateFile = EnvironmentRegistry.resolveStateFilePath();\n if (!stateFile) {\n return;\n }\n\n const stateDir = dirname(stateFile);\n if (!existsSync(stateDir)) {\n mkdirSync(stateDir, { recursive: true });\n }\n writeFileSync(stateFile, JSON.stringify(state, null, 2), 'utf8');\n }\n\n static reset(): void {\n EnvironmentRegistry.stateByKey.clear();\n EnvironmentRegistry.saasRootResolver = null;\n EnvironmentRegistry.saasRootOverride = undefined;\n EnvironmentRegistry.invalidateCache();\n }\n\n // --------------------------------------------------------------------------\n // Querying\n // --------------------------------------------------------------------------\n\n static getAll(): Record<string, PlatformEnvironmentConfiguration> {\n return EnvironmentRegistry.load().environments;\n }\n\n static get(name: string): PlatformEnvironmentConfiguration | undefined {\n return EnvironmentRegistry.load().environments[name];\n }\n\n static getCurrent(): PlatformEnvironmentConfiguration | undefined {\n return EnvironmentRegistry.get(EnvironmentRegistry.getCurrentName());\n }\n\n static getCurrentName(): string {\n return EnvironmentRegistry.load().currentEnvironment || WildoLocationType.LOCAL;\n }\n\n static listNames(): string[] {\n return Object.keys(EnvironmentRegistry.load().environments);\n }\n\n // --------------------------------------------------------------------------\n // Mutations\n // --------------------------------------------------------------------------\n\n static switchTo(name: string): void {\n const state = EnvironmentRegistry.load();\n if (!state.environments[name]) {\n throw new Error(`Environment '${name}' not found`);\n }\n state.currentEnvironment = name;\n EnvironmentRegistry.save();\n }\n\n static update(\n name: string,\n updates: Partial<Omit<PlatformEnvironmentConfiguration, 'name' | 'locationType' | 'createdAt'>>,\n ): void {\n const state = EnvironmentRegistry.load();\n const env = state.environments[name];\n if (!env) {\n throw new Error(`Environment '${name}' not found`);\n }\n Object.assign(env, updates, { updatedAt: new Date().toISOString() });\n EnvironmentRegistry.save();\n }\n\n static remove(name: string): void {\n if (name === WildoLocationType.LOCAL) {\n throw new Error(\"Cannot remove the 'local' environment\");\n }\n const state = EnvironmentRegistry.load();\n if (!state.environments[name]) {\n throw new Error(`Environment '${name}' not found`);\n }\n if (state.currentEnvironment === name) {\n state.currentEnvironment = WildoLocationType.LOCAL;\n }\n delete state.environments[name];\n EnvironmentRegistry.save();\n }\n\n /**\n * Insert a new environment into the registry (low-level).\n * Does not set defaults — caller is responsible for providing a complete config.\n */\n static insert(env: PlatformEnvironmentConfiguration): void {\n const state = EnvironmentRegistry.load();\n state.environments[env.name] = env;\n if (!state.currentEnvironment) {\n state.currentEnvironment = env.name;\n }\n EnvironmentRegistry.save();\n }\n\n // --------------------------------------------------------------------------\n // Config/secrets JSON loading (lazy, cached)\n // --------------------------------------------------------------------------\n\n private static configJsonCache: Record<string, PlatformEnvConfigJson> = {};\n private static secretsJsonCache: Record<string, PlatformEnvSecretsJson> = {};\n\n private static resolveScopedJsonCacheKey(envName: string): string {\n return `${EnvironmentRegistry.resolveStateKey()}::${envName}`;\n }\n\n /**\n * Read + JSON-parse a file. Returns `null` if the file does not exist;\n * surfaces a clear stderr warning when the file exists but cannot be\n * parsed as JSON (instead of swallowing silently — see Finding L from\n * the post-flattening greenfield-bootstrap audit).\n */\n private static loadJsonFile(filePath: string): unknown {\n if (!existsSync(filePath)) {\n return null;\n }\n try {\n return JSON.parse(readFileSync(filePath, 'utf8'));\n } catch (err) {\n const message = ErrorUtils.extractErrorMessage(err);\n process.stderr.write(\n `[wildo-cli] Failed to parse JSON at ${filePath}: ${message}\\n`,\n );\n return null;\n }\n }\n\n /**\n * Format the leading Zod issues so operators can see WHY a schema\n * validation failed instead of staring at a generic \"No <thing>\"\n * downstream error.\n */\n private static formatZodIssuesForLog(error: ZodError, limit = DEFAULT_ZOD_ISSUE_RENDER_LIMIT): string {\n return formatZodIssues(error.issues, { limit, includeCode: true })\n .map((entry) => ` - ${entry}`)\n .join('\\n');\n }\n\n static loadConfigJson(envName?: string, configDir?: string): PlatformEnvConfigJson | null {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n const cacheKey = EnvironmentRegistry.resolveScopedJsonCacheKey(name);\n if (EnvironmentRegistry.configJsonCache[cacheKey]) {\n return EnvironmentRegistry.configJsonCache[cacheKey]!;\n }\n const saasRoot = EnvironmentRegistry.resolveSaasRoot();\n const dir = configDir ?? (\n saasRoot\n ? join(resolveAppLayout(saasRoot).runtimeEnvironmentsHome, name, 'generated', 'config')\n : null\n );\n if (!dir) return null;\n const filePath = join(dir, 'config.json');\n const raw = EnvironmentRegistry.loadJsonFile(filePath);\n if (!raw) return null;\n const parsed = PlatformEnvConfigJson_Schema.safeParse(raw);\n if (!parsed.success) {\n process.stderr.write(\n `[wildo-cli] config.json for environment '${name}' failed schema validation at ${filePath}:\\n`\n + `${EnvironmentRegistry.formatZodIssuesForLog(parsed.error)}\\n`,\n );\n return null;\n }\n EnvironmentRegistry.configJsonCache[cacheKey] = parsed.data;\n return parsed.data;\n }\n\n /**\n * The application whose infrastructure environment `envName` runs on, or `null` when this application\n * owns it (`wildo.infra.<env>.config.ts > infrastructureHost`, resolved).\n *\n * FAIL-CLOSED over the two persisted copies — a host named by EITHER the generated `config.json` or the\n * registry record wins. They can briefly disagree (one is rewritten by a reconcile, the other by a\n * refresh), and the mistakes are not symmetric: reading a hosted application as standalone recreates\n * the host's containers and re-mints its credentials, while reading a standalone one as hosted refuses\n * a command with a message that names the reconcile.\n *\n * Lives HERE, not in `InfrastructureHost`, because the secrets loader below needs it and\n * `InfrastructureHost` depends on this registry; one rule, no import cycle.\n */\n static resolveInfrastructureHost(envName: string, configDir?: string): { applicationRoot: string; infraConfigPath: string } | null {\n return EnvironmentRegistry.loadConfigJson(envName, configDir)?.infrastructureHost\n ?? EnvironmentRegistry.get(envName)?.infrastructureHost\n ?? null;\n }\n\n /**\n * The effective `secrets.json` of a HOSTED environment: the host's shared credentials, overlaid with\n * the application-owned sections of this application's own file (`SECRETS_SECTION_OWNERSHIP`).\n *\n * The host's file is the ONE copy of every shared credential — the one the running containers and\n * platform services were given. Reading the hosted application's own copy instead is how two\n * applications came to hold different passwords for one mongot. Shared sections still present in the\n * hosted file (left from before it was hosted) are IGNORED, never merged.\n *\n * Application-owned sections are NOT inherited from the host: the host's `application.adminSecret`\n * guards the host application's operator doors, and handing it to another application would share that\n * door. A hosted application missing a required application section (its `admin`) fails validation\n * here with the message naming its own file.\n */\n private static loadHostedSecretsJson(\n envName: string,\n ownFilePath: string,\n host: { applicationRoot: string; infraConfigPath: string },\n ): PlatformEnvSecretsJson | null {\n const hostFilePath = join(resolveAppLayout(host.applicationRoot).authoredInfrastructureHome, envName, 'secrets', 'secrets.json');\n const hostRaw = EnvironmentRegistry.loadJsonFile(hostFilePath);\n if (!hostRaw) {\n process.stderr.write(\n `[wildo-cli] Environment '${envName}' runs on the infrastructure of ${host.applicationRoot}, whose shared credentials `\n + `live in ${hostFilePath} — and that file is missing or unreadable. Run \\`wildo setup\\` in the host application.\\n`,\n );\n return null;\n }\n const hostParsed = PlatformEnvSecretsJson_Schema.safeParse(hostRaw);\n if (!hostParsed.success) {\n process.stderr.write(\n `[wildo-cli] The infrastructure host's secrets.json for environment '${envName}' failed schema validation at ${hostFilePath}:\\n`\n + `${EnvironmentRegistry.formatZodIssuesForLog(hostParsed.error)}\\n`,\n );\n return null;\n }\n\n const ownRaw = (EnvironmentRegistry.loadJsonFile(ownFilePath) ?? {}) as Partial<PlatformEnvSecretsJson>;\n const effective = {\n ...projectWithoutApplicationSections(hostParsed.data),\n ...projectApplicationOwnedSecrets(ownRaw),\n };\n const parsed = PlatformEnvSecretsJson_Schema.safeParse(effective);\n if (!parsed.success) {\n process.stderr.write(\n `[wildo-cli] secrets.json for hosted environment '${envName}' is incomplete: the host (${hostFilePath}) supplies the `\n + `shared credentials, and ${ownFilePath} must supply this application's own:\\n`\n + `${EnvironmentRegistry.formatZodIssuesForLog(parsed.error)}\\n`,\n );\n return null;\n }\n return parsed.data;\n }\n\n static loadSecretsJson(envName?: string, secretsDir?: string): PlatformEnvSecretsJson | null {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n const cacheKey = EnvironmentRegistry.resolveScopedJsonCacheKey(name);\n if (EnvironmentRegistry.secretsJsonCache[cacheKey]) {\n return EnvironmentRegistry.secretsJsonCache[cacheKey]!;\n }\n const saasRoot = EnvironmentRegistry.resolveSaasRoot();\n const dir = secretsDir ?? (\n saasRoot\n ? join(resolveAppLayout(saasRoot).authoredInfrastructureHome, name, 'secrets')\n : null\n );\n if (!dir) return null;\n const filePath = join(dir, 'secrets.json');\n\n const host = EnvironmentRegistry.resolveInfrastructureHost(name);\n if (host !== null) {\n const hosted = EnvironmentRegistry.loadHostedSecretsJson(name, filePath, host);\n if (hosted !== null) EnvironmentRegistry.secretsJsonCache[cacheKey] = hosted;\n return hosted;\n }\n\n const raw = EnvironmentRegistry.loadJsonFile(filePath);\n if (!raw) return null;\n const parsed = PlatformEnvSecretsJson_Schema.safeParse(raw);\n if (!parsed.success) {\n process.stderr.write(\n `[wildo-cli] secrets.json for environment '${name}' failed schema validation at ${filePath}:\\n`\n + `${EnvironmentRegistry.formatZodIssuesForLog(parsed.error)}\\n`\n + ` Hint: repair this file or restore from a known-good backup; setup must not replace invalid existing credentials.\\n`,\n );\n return null;\n }\n EnvironmentRegistry.secretsJsonCache[cacheKey] = parsed.data;\n return parsed.data;\n }\n\n /**\n * Resolve the env's generated `config/` dir — the home of `config.json` and\n * `application-runtime-identity.json`. Mirrors the fallback path\n * {@link loadConfigJson} computes; callers going through `EnvironmentUtils`\n * pass the already-resolved `EnvironmentPaths.resolveConfigDir()` instead.\n */\n private static resolveGeneratedConfigDir(name: string, configDir?: string): string | null {\n if (configDir) return configDir;\n const saasRoot = EnvironmentRegistry.resolveSaasRoot();\n return saasRoot\n ? join(resolveAppLayout(saasRoot).runtimeEnvironmentsHome, name, 'generated', 'config')\n : null;\n }\n\n /**\n * Load the generated `application-runtime-identity.json` for an env — the\n * per-env `{ [appSlug]: { applicationId } }` map persisted by the\n * credential-fetching bootstrap flows.\n *\n * Deliberately UNCACHED (unlike config/secrets): it is read only a handful of\n * times per process (once per docker-compose render) and is written mid-run\n * by {@link saveApplicationRuntimeIdentity} during the SAME `wildo config\n * sync` that later re-reads it for the offline manifest render — always\n * reading disk keeps that write-then-read coherent by construction.\n *\n * Returns `null` when the file is absent (app never bootstrapped in this env)\n * or fails schema validation.\n */\n static loadApplicationRuntimeIdentity(\n envName?: string,\n configDir?: string,\n ): ApplicationRuntimeIdentityJson | null {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n const dir = EnvironmentRegistry.resolveGeneratedConfigDir(name, configDir);\n if (!dir) return null;\n const filePath = join(dir, FILE_NAMES.APPLICATION_RUNTIME_IDENTITY);\n const raw = EnvironmentRegistry.loadJsonFile(filePath);\n if (!raw) return null;\n const parsed = ApplicationRuntimeIdentityJson_Schema.safeParse(raw);\n if (!parsed.success) {\n process.stderr.write(\n `[wildo-cli] ${FILE_NAMES.APPLICATION_RUNTIME_IDENTITY} for environment '${name}' failed schema validation at ${filePath}:\\n`\n + `${EnvironmentRegistry.formatZodIssuesForLog(parsed.error)}\\n`,\n );\n return null;\n }\n return parsed.data;\n }\n\n /**\n * Persist the apps-manager-minted `APPLICATION_ID` for `appSlug` into the\n * env's `application-runtime-identity.json`, MERGING with any other apps'\n * ids already recorded for the env so a single app's write never SILENTLY\n * wipes a sibling's. Called from the credential-fetching bootstrap seam so\n * later OFFLINE compose renders can bake the literal.\n *\n * If the existing file is valid JSON but fails schema validation, it is\n * rebuilt from empty (any sibling ids are lost) — but only after a loud\n * stderr warning. Silent data loss on a schema-invalid file is the one\n * non-obvious hazard of the read-merge-write, so it is surfaced rather than\n * swallowed; bootstrap still proceeds because the live apps-manager DB is the\n * authority and every affected app re-mints on its next bootstrap.\n */\n static saveApplicationRuntimeIdentity(\n envName: string,\n appSlug: string,\n applicationId: string,\n configDir?: string,\n ): void {\n const dir = EnvironmentRegistry.resolveGeneratedConfigDir(envName, configDir);\n if (!dir) return;\n const filePath = join(dir, FILE_NAMES.APPLICATION_RUNTIME_IDENTITY);\n const existingRaw = EnvironmentRegistry.loadJsonFile(filePath);\n const existingParsed = existingRaw\n ? ApplicationRuntimeIdentityJson_Schema.safeParse(existingRaw)\n : null;\n if (existingParsed && !existingParsed.success) {\n // Present and valid JSON, but not the identity shape (`loadJsonFile`\n // already warns + returns null for non-JSON, so this is specifically the\n // schema-mismatch case). Rebuilding the map from `{}` below drops any\n // OTHER apps' ids the file held — surface it loudly instead of losing\n // data silently.\n process.stderr.write(\n `[wildo-cli] ${FILE_NAMES.APPLICATION_RUNTIME_IDENTITY} for environment '${envName}' is present but failed schema `\n + `validation at ${filePath}; overwriting with the freshly-resolved id for '${appSlug}' — any other apps' ids it `\n + `held are dropped and will be re-minted on their next bootstrap:\\n`\n + `${EnvironmentRegistry.formatZodIssuesForLog(existingParsed.error)}\\n`,\n );\n }\n const map: ApplicationRuntimeIdentityJson = existingParsed?.success ? existingParsed.data : {};\n map[appSlug] = { applicationId };\n if (!existsSync(dir)) {\n mkdirSync(dir, { recursive: true });\n }\n writeFileSync(filePath, `${JSON.stringify(map, null, 2)}\\n`);\n }\n\n /**\n * Remove every apps-manager-minted application identity derived from an\n * environment's platform database.\n *\n * `APPLICATION_ID` is a Mongo `_id`, so it is valid only for the database\n * generation that minted it. A destructive platform-data reset must delete\n * this file together with the database; otherwise offline Compose rendering\n * and generated application env files keep injecting dangling identities\n * into the next generation. The live apps-manager database remains the\n * authority and the next registered bootstrap recreates this cache.\n */\n static clearApplicationRuntimeIdentities(\n envName: string,\n configDir?: string,\n ): void {\n const dir = EnvironmentRegistry.resolveGeneratedConfigDir(envName, configDir);\n if (!dir) return;\n const filePath = join(dir, FILE_NAMES.APPLICATION_RUNTIME_IDENTITY);\n if (existsSync(filePath)) {\n unlinkSync(filePath);\n }\n }\n\n static invalidateCache(): void {\n EnvironmentRegistry.configJsonCache = {};\n EnvironmentRegistry.secretsJsonCache = {};\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"environment-registry.service.js","sourceRoot":"","sources":["../../../../src/services/environment/environment-registry.service.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AACpF,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAErC,OAAO,EAAE,8BAA8B,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACx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OAAO,CAAC,GAAG,EAAE,aAAa,EAAE,CAAC;QACjC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;YACrB,SAAS,CAAC,GAAG,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;QACtC,CAAC;QACD,aAAa,CAAC,QAAQ,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC;IAC/D,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CAAC,iCAAiC,CACtC,OAAe,EACf,SAAkB;QAElB,MAAM,GAAG,GAAG,mBAAmB,CAAC,yBAAyB,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QAC9E,IAAI,CAAC,GAAG;YAAE,OAAO;QACjB,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,4BAA4B,CAAC,CAAC;QACpE,IAAI,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC;YACzB,UAAU,CAAC,QAAQ,CAAC,CAAC;QACvB,CAAC;IACH,CAAC;IAED,MAAM,CAAC,eAAe;QACpB,mBAAmB,CAAC,eAAe,GAAG,EAAE,CAAC;QACzC,mBAAmB,CAAC,gBAAgB,GAAG,EAAE,CAAC;IAC5C,CAAC","sourcesContent":["/**\n * EnvironmentRegistry — state persistence + querying for platform environments.\n *\n * Owns the environment state registry.\n * Provides CRUD operations and config/secrets JSON loading.\n *\n * Other env sub-services (lifecycle, paths) depend on this.\n */\n\nimport { existsSync, mkdirSync, readFileSync, unlinkSync, writeFileSync } from 'fs';\nimport { dirname, join } from 'path';\nimport type { ZodError } from 'zod';\nimport { DEFAULT_ZOD_ISSUE_RENDER_LIMIT, formatZodIssues } from '@wildo-ai/saas-models';\nimport {\n resolveAppLayout,\n WildoLocationType,\n} from '@wildo-ai/platform-config-lib';\nimport {\n PlatformEnvironmentConfiguration,\n PlatformEnvironmentsState,\n} from '~wildo-cli/services/environment/environment.schemas';\nimport {\n ApplicationRuntimeIdentityJson,\n ApplicationRuntimeIdentityJson_Schema,\n PlatformEnvConfigJson,\n PlatformEnvConfigJson_Schema,\n PlatformEnvSecretsJson,\n PlatformEnvSecretsJson_Schema,\n projectApplicationOwnedSecrets,\n} from '~wildo-cli/services/credentials/credentials.schemas';\nimport { FILE_NAMES } from '~wildo-cli/infrastructure/io/io.schemas';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\n\n/** `secrets` with every APPLICATION-owned section removed — what a host contributes to a hosted environment. */\nfunction projectWithoutApplicationSections(secrets: PlatformEnvSecretsJson): Partial<PlatformEnvSecretsJson> {\n const applicationOwned = projectApplicationOwnedSecrets(secrets);\n const shared: Record<string, unknown> = { ...secrets };\n for (const section of Object.keys(applicationOwned)) delete shared[section];\n return shared as Partial<PlatformEnvSecretsJson>;\n}\n\nconst STATE_VERSION = 1;\nconst MEMORY_STATE_KEY = '__memory__';\ntype SaasRootResolver = () => string | null;\n\nexport class EnvironmentRegistry {\n private static stateByKey = new Map<string, PlatformEnvironmentsState>();\n private static saasRootOverride: string | null | undefined = undefined;\n private static saasRootResolver: SaasRootResolver | null = null;\n\n // --------------------------------------------------------------------------\n // State persistence\n // --------------------------------------------------------------------------\n\n private static resolveSaasRoot(): string | null {\n if (EnvironmentRegistry.saasRootOverride !== undefined) {\n return EnvironmentRegistry.saasRootOverride;\n }\n\n if (EnvironmentRegistry.saasRootResolver) {\n return EnvironmentRegistry.saasRootResolver();\n }\n return null;\n }\n\n static getSaasRoot(): string | null {\n return EnvironmentRegistry.resolveSaasRoot();\n }\n\n static setSaasRootOverride(saasRoot: string | null): void {\n EnvironmentRegistry.saasRootOverride = saasRoot;\n }\n\n static setSaasRootResolver(resolver: SaasRootResolver | null): void {\n EnvironmentRegistry.saasRootResolver = resolver;\n }\n\n static clearSaasRootOverride(): void {\n EnvironmentRegistry.saasRootOverride = undefined;\n }\n\n static async withSaasRootOverride<T>(\n saasRoot: string | null | undefined,\n callback: () => Promise<T> | T,\n ): Promise<T> {\n const previousOverride = EnvironmentRegistry.saasRootOverride;\n EnvironmentRegistry.saasRootOverride = saasRoot;\n try {\n return await callback();\n } finally {\n EnvironmentRegistry.saasRootOverride = previousOverride;\n }\n }\n\n private static resolveStateFilePath(saasRoot: string | null = EnvironmentRegistry.resolveSaasRoot()): string | null {\n if (!saasRoot) {\n return null;\n }\n\n return join(resolveAppLayout(saasRoot).stateHome, 'environments.json');\n }\n\n private static resolveStateKey(saasRoot: string | null = EnvironmentRegistry.resolveSaasRoot()): string {\n return EnvironmentRegistry.resolveStateFilePath(saasRoot) ?? MEMORY_STATE_KEY;\n }\n\n private static scrubObsoleteEnvironmentStateFields(\n state: PlatformEnvironmentsState,\n ): { state: PlatformEnvironmentsState; changed: boolean } {\n let changed = false;\n\n const environments = Object.fromEntries(\n Object.entries(state.environments).map(([envName, env]) => {\n const {\n platformInitialized: _platformInitialized,\n platformInitializedAt: _platformInitializedAt,\n ...rest\n } = env as PlatformEnvironmentConfiguration & {\n platformInitialized?: boolean;\n platformInitializedAt?: string;\n };\n\n if (_platformInitialized !== undefined || _platformInitializedAt !== undefined) {\n changed = true;\n }\n\n return [envName, rest as PlatformEnvironmentConfiguration];\n }),\n );\n\n return {\n state: {\n ...state,\n environments,\n },\n changed,\n };\n }\n\n static load(): PlatformEnvironmentsState {\n const stateKey = EnvironmentRegistry.resolveStateKey();\n const cached = EnvironmentRegistry.stateByKey.get(stateKey);\n if (cached) return cached;\n\n const stateFile = EnvironmentRegistry.resolveStateFilePath();\n\n try {\n if (stateFile && existsSync(stateFile)) {\n const raw = JSON.parse(readFileSync(stateFile, 'utf8')) as PlatformEnvironmentsState;\n const normalized = EnvironmentRegistry.scrubObsoleteEnvironmentStateFields(raw);\n EnvironmentRegistry.stateByKey.set(stateKey, normalized.state);\n if (normalized.changed) {\n EnvironmentRegistry.save();\n }\n return normalized.state;\n }\n } catch {\n // Corrupted file — fall through to default\n }\n\n const fresh: PlatformEnvironmentsState = {\n version: STATE_VERSION,\n currentEnvironment: WildoLocationType.LOCAL,\n environments: {},\n };\n EnvironmentRegistry.stateByKey.set(stateKey, fresh);\n return fresh;\n }\n\n static save(): void {\n const state = EnvironmentRegistry.load();\n const stateFile = EnvironmentRegistry.resolveStateFilePath();\n if (!stateFile) {\n return;\n }\n\n const stateDir = dirname(stateFile);\n if (!existsSync(stateDir)) {\n mkdirSync(stateDir, { recursive: true });\n }\n writeFileSync(stateFile, JSON.stringify(state, null, 2), 'utf8');\n }\n\n static reset(): void {\n EnvironmentRegistry.stateByKey.clear();\n EnvironmentRegistry.saasRootResolver = null;\n EnvironmentRegistry.saasRootOverride = undefined;\n EnvironmentRegistry.invalidateCache();\n }\n\n // --------------------------------------------------------------------------\n // Querying\n // --------------------------------------------------------------------------\n\n static getAll(): Record<string, PlatformEnvironmentConfiguration> {\n return EnvironmentRegistry.load().environments;\n }\n\n static get(name: string): PlatformEnvironmentConfiguration | undefined {\n return EnvironmentRegistry.load().environments[name];\n }\n\n static getCurrent(): PlatformEnvironmentConfiguration | undefined {\n return EnvironmentRegistry.get(EnvironmentRegistry.getCurrentName());\n }\n\n static getCurrentName(): string {\n return EnvironmentRegistry.load().currentEnvironment || WildoLocationType.LOCAL;\n }\n\n static listNames(): string[] {\n return Object.keys(EnvironmentRegistry.load().environments);\n }\n\n // --------------------------------------------------------------------------\n // Mutations\n // --------------------------------------------------------------------------\n\n static switchTo(name: string): void {\n const state = EnvironmentRegistry.load();\n if (!state.environments[name]) {\n throw new Error(`Environment '${name}' not found`);\n }\n state.currentEnvironment = name;\n EnvironmentRegistry.save();\n }\n\n static update(\n name: string,\n updates: Partial<Omit<PlatformEnvironmentConfiguration, 'name' | 'locationType' | 'createdAt'>>,\n ): void {\n const state = EnvironmentRegistry.load();\n const env = state.environments[name];\n if (!env) {\n throw new Error(`Environment '${name}' not found`);\n }\n Object.assign(env, updates, { updatedAt: new Date().toISOString() });\n EnvironmentRegistry.save();\n }\n\n static remove(name: string): void {\n if (name === WildoLocationType.LOCAL) {\n throw new Error(\"Cannot remove the 'local' environment\");\n }\n const state = EnvironmentRegistry.load();\n if (!state.environments[name]) {\n throw new Error(`Environment '${name}' not found`);\n }\n if (state.currentEnvironment === name) {\n state.currentEnvironment = WildoLocationType.LOCAL;\n }\n delete state.environments[name];\n EnvironmentRegistry.save();\n }\n\n /**\n * Insert a new environment into the registry (low-level).\n * Does not set defaults — caller is responsible for providing a complete config.\n */\n static insert(env: PlatformEnvironmentConfiguration): void {\n const state = EnvironmentRegistry.load();\n state.environments[env.name] = env;\n if (!state.currentEnvironment) {\n state.currentEnvironment = env.name;\n }\n EnvironmentRegistry.save();\n }\n\n // --------------------------------------------------------------------------\n // Config/secrets JSON loading (lazy, cached)\n // --------------------------------------------------------------------------\n\n private static configJsonCache: Record<string, PlatformEnvConfigJson> = {};\n private static secretsJsonCache: Record<string, PlatformEnvSecretsJson> = {};\n\n private static resolveScopedJsonCacheKey(envName: string): string {\n return `${EnvironmentRegistry.resolveStateKey()}::${envName}`;\n }\n\n /**\n * Read + JSON-parse a file. Returns `null` if the file does not exist;\n * surfaces a clear stderr warning when the file exists but cannot be\n * parsed as JSON (instead of swallowing silently — see Finding L from\n * the post-flattening greenfield-bootstrap audit).\n */\n private static loadJsonFile(filePath: string): unknown {\n if (!existsSync(filePath)) {\n return null;\n }\n try {\n return JSON.parse(readFileSync(filePath, 'utf8'));\n } catch (err) {\n const message = ErrorUtils.extractErrorMessage(err);\n process.stderr.write(\n `[wildo-cli] Failed to parse JSON at ${filePath}: ${message}\\n`,\n );\n return null;\n }\n }\n\n /**\n * Format the leading Zod issues so operators can see WHY a schema\n * validation failed instead of staring at a generic \"No <thing>\"\n * downstream error.\n */\n private static formatZodIssuesForLog(error: ZodError, limit = DEFAULT_ZOD_ISSUE_RENDER_LIMIT): string {\n return formatZodIssues(error.issues, { limit, includeCode: true })\n .map((entry) => ` - ${entry}`)\n .join('\\n');\n }\n\n static loadConfigJson(envName?: string, configDir?: string): PlatformEnvConfigJson | null {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n const cacheKey = EnvironmentRegistry.resolveScopedJsonCacheKey(name);\n if (EnvironmentRegistry.configJsonCache[cacheKey]) {\n return EnvironmentRegistry.configJsonCache[cacheKey]!;\n }\n const saasRoot = EnvironmentRegistry.resolveSaasRoot();\n const dir = configDir ?? (\n saasRoot\n ? join(resolveAppLayout(saasRoot).runtimeEnvironmentsHome, name, 'generated', 'config')\n : null\n );\n if (!dir) return null;\n const filePath = join(dir, 'config.json');\n const raw = EnvironmentRegistry.loadJsonFile(filePath);\n if (!raw) return null;\n const parsed = PlatformEnvConfigJson_Schema.safeParse(raw);\n if (!parsed.success) {\n process.stderr.write(\n `[wildo-cli] config.json for environment '${name}' failed schema validation at ${filePath}:\\n`\n + `${EnvironmentRegistry.formatZodIssuesForLog(parsed.error)}\\n`,\n );\n return null;\n }\n EnvironmentRegistry.configJsonCache[cacheKey] = parsed.data;\n return parsed.data;\n }\n\n /**\n * The application whose infrastructure environment `envName` runs on, or `null` when this application\n * owns it (`wildo.infra.<env>.config.ts > infrastructureHost`, resolved).\n *\n * FAIL-CLOSED over the two persisted copies — a host named by EITHER the generated `config.json` or the\n * registry record wins. They can briefly disagree (one is rewritten by a reconcile, the other by a\n * refresh), and the mistakes are not symmetric: reading a hosted application as standalone recreates\n * the host's containers and re-mints its credentials, while reading a standalone one as hosted refuses\n * a command with a message that names the reconcile.\n *\n * Lives HERE, not in `InfrastructureHost`, because the secrets loader below needs it and\n * `InfrastructureHost` depends on this registry; one rule, no import cycle.\n */\n static resolveInfrastructureHost(envName: string, configDir?: string): { applicationRoot: string; infraConfigPath: string } | null {\n return EnvironmentRegistry.loadConfigJson(envName, configDir)?.infrastructureHost\n ?? EnvironmentRegistry.get(envName)?.infrastructureHost\n ?? null;\n }\n\n /**\n * The effective `secrets.json` of a HOSTED environment: the host's shared credentials, overlaid with\n * the application-owned sections of this application's own file (`SECRETS_SECTION_OWNERSHIP`).\n *\n * The host's file is the ONE copy of every shared credential — the one the running containers and\n * platform services were given. Reading the hosted application's own copy instead is how two\n * applications came to hold different passwords for one mongot. Shared sections still present in the\n * hosted file (left from before it was hosted) are IGNORED, never merged.\n *\n * Application-owned sections are NOT inherited from the host: the host's `application.adminSecret`\n * guards the host application's operator doors, and handing it to another application would share that\n * door. A hosted application missing a required application section (its `admin`) fails validation\n * here with the message naming its own file.\n */\n private static loadHostedSecretsJson(\n envName: string,\n ownFilePath: string,\n host: { applicationRoot: string; infraConfigPath: string },\n ): PlatformEnvSecretsJson | null {\n const hostFilePath = join(resolveAppLayout(host.applicationRoot).authoredInfrastructureHome, envName, 'secrets', 'secrets.json');\n const hostRaw = EnvironmentRegistry.loadJsonFile(hostFilePath);\n if (!hostRaw) {\n process.stderr.write(\n `[wildo-cli] Environment '${envName}' runs on the infrastructure of ${host.applicationRoot}, whose shared credentials `\n + `live in ${hostFilePath} — and that file is missing or unreadable. Run \\`wildo setup\\` in the host application.\\n`,\n );\n return null;\n }\n const hostParsed = PlatformEnvSecretsJson_Schema.safeParse(hostRaw);\n if (!hostParsed.success) {\n process.stderr.write(\n `[wildo-cli] The infrastructure host's secrets.json for environment '${envName}' failed schema validation at ${hostFilePath}:\\n`\n + `${EnvironmentRegistry.formatZodIssuesForLog(hostParsed.error)}\\n`,\n );\n return null;\n }\n\n const ownRaw = (EnvironmentRegistry.loadJsonFile(ownFilePath) ?? {}) as Partial<PlatformEnvSecretsJson>;\n const effective = {\n ...projectWithoutApplicationSections(hostParsed.data),\n ...projectApplicationOwnedSecrets(ownRaw),\n };\n const parsed = PlatformEnvSecretsJson_Schema.safeParse(effective);\n if (!parsed.success) {\n process.stderr.write(\n `[wildo-cli] secrets.json for hosted environment '${envName}' is incomplete: the host (${hostFilePath}) supplies the `\n + `shared credentials, and ${ownFilePath} must supply this application's own:\\n`\n + `${EnvironmentRegistry.formatZodIssuesForLog(parsed.error)}\\n`,\n );\n return null;\n }\n return parsed.data;\n }\n\n static loadSecretsJson(envName?: string, secretsDir?: string): PlatformEnvSecretsJson | null {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n const cacheKey = EnvironmentRegistry.resolveScopedJsonCacheKey(name);\n if (EnvironmentRegistry.secretsJsonCache[cacheKey]) {\n return EnvironmentRegistry.secretsJsonCache[cacheKey]!;\n }\n const saasRoot = EnvironmentRegistry.resolveSaasRoot();\n const dir = secretsDir ?? (\n saasRoot\n ? join(resolveAppLayout(saasRoot).authoredInfrastructureHome, name, 'secrets')\n : null\n );\n if (!dir) return null;\n const filePath = join(dir, 'secrets.json');\n\n const host = EnvironmentRegistry.resolveInfrastructureHost(name);\n if (host !== null) {\n const hosted = EnvironmentRegistry.loadHostedSecretsJson(name, filePath, host);\n if (hosted !== null) EnvironmentRegistry.secretsJsonCache[cacheKey] = hosted;\n return hosted;\n }\n\n const raw = EnvironmentRegistry.loadJsonFile(filePath);\n if (!raw) return null;\n const parsed = PlatformEnvSecretsJson_Schema.safeParse(raw);\n if (!parsed.success) {\n process.stderr.write(\n `[wildo-cli] secrets.json for environment '${name}' failed schema validation at ${filePath}:\\n`\n + `${EnvironmentRegistry.formatZodIssuesForLog(parsed.error)}\\n`\n + ` Hint: repair this file or restore from a known-good backup; setup must not replace invalid existing credentials.\\n`,\n );\n return null;\n }\n EnvironmentRegistry.secretsJsonCache[cacheKey] = parsed.data;\n return parsed.data;\n }\n\n /**\n * Resolve the env's generated `config/` dir — the home of `config.json` and\n * `application-runtime-identity.json`. Mirrors the fallback path\n * {@link loadConfigJson} computes; callers going through `EnvironmentUtils`\n * pass the already-resolved `EnvironmentPaths.resolveConfigDir()` instead.\n */\n private static resolveGeneratedConfigDir(name: string, configDir?: string): string | null {\n if (configDir) return configDir;\n const saasRoot = EnvironmentRegistry.resolveSaasRoot();\n return saasRoot\n ? join(resolveAppLayout(saasRoot).runtimeEnvironmentsHome, name, 'generated', 'config')\n : null;\n }\n\n /**\n * Load the generated `application-runtime-identity.json` for an env — the\n * per-env `{ [appSlug]: { applicationId } }` map persisted by the\n * credential-fetching bootstrap flows.\n *\n * Deliberately UNCACHED (unlike config/secrets): it is read only a handful of\n * times per process (by the offline credential reconstruction) and is written\n * mid-run by {@link saveApplicationRuntimeIdentity} — always reading disk keeps\n * that write-then-read coherent by construction.\n *\n * Returns `null` when the file is absent (app never bootstrapped in this env)\n * or fails schema validation.\n */\n static loadApplicationRuntimeIdentity(\n envName?: string,\n configDir?: string,\n ): ApplicationRuntimeIdentityJson | null {\n const name = envName ?? EnvironmentRegistry.getCurrentName();\n const dir = EnvironmentRegistry.resolveGeneratedConfigDir(name, configDir);\n if (!dir) return null;\n const filePath = join(dir, FILE_NAMES.APPLICATION_RUNTIME_IDENTITY);\n const raw = EnvironmentRegistry.loadJsonFile(filePath);\n if (!raw) return null;\n const parsed = ApplicationRuntimeIdentityJson_Schema.safeParse(raw);\n if (!parsed.success) {\n process.stderr.write(\n `[wildo-cli] ${FILE_NAMES.APPLICATION_RUNTIME_IDENTITY} for environment '${name}' failed schema validation at ${filePath}:\\n`\n + `${EnvironmentRegistry.formatZodIssuesForLog(parsed.error)}\\n`,\n );\n return null;\n }\n return parsed.data;\n }\n\n /**\n * Persist the apps-manager-minted `APPLICATION_ID` for `appSlug` into the\n * env's `application-runtime-identity.json`, MERGING with any other apps'\n * ids already recorded for the env so a single app's write never SILENTLY\n * wipes a sibling's. Called from the credential-fetching bootstrap seam so a\n * later degraded regeneration can rebuild bootstrap credentials offline.\n *\n * If the existing file is valid JSON but fails schema validation, it is\n * rebuilt from empty (any sibling ids are lost) — but only after a loud\n * stderr warning. Silent data loss on a schema-invalid file is the one\n * non-obvious hazard of the read-merge-write, so it is surfaced rather than\n * swallowed; bootstrap still proceeds because the live apps-manager DB is the\n * authority and every affected app re-mints on its next bootstrap.\n */\n static saveApplicationRuntimeIdentity(\n envName: string,\n appSlug: string,\n applicationId: string,\n configDir?: string,\n ): void {\n const dir = EnvironmentRegistry.resolveGeneratedConfigDir(envName, configDir);\n if (!dir) return;\n const filePath = join(dir, FILE_NAMES.APPLICATION_RUNTIME_IDENTITY);\n const existingRaw = EnvironmentRegistry.loadJsonFile(filePath);\n const existingParsed = existingRaw\n ? ApplicationRuntimeIdentityJson_Schema.safeParse(existingRaw)\n : null;\n if (existingParsed && !existingParsed.success) {\n // Present and valid JSON, but not the identity shape (`loadJsonFile`\n // already warns + returns null for non-JSON, so this is specifically the\n // schema-mismatch case). Rebuilding the map from `{}` below drops any\n // OTHER apps' ids the file held — surface it loudly instead of losing\n // data silently.\n process.stderr.write(\n `[wildo-cli] ${FILE_NAMES.APPLICATION_RUNTIME_IDENTITY} for environment '${envName}' is present but failed schema `\n + `validation at ${filePath}; overwriting with the freshly-resolved id for '${appSlug}' — any other apps' ids it `\n + `held are dropped and will be re-minted on their next bootstrap:\\n`\n + `${EnvironmentRegistry.formatZodIssuesForLog(existingParsed.error)}\\n`,\n );\n }\n const map: ApplicationRuntimeIdentityJson = existingParsed?.success ? existingParsed.data : {};\n map[appSlug] = { applicationId };\n if (!existsSync(dir)) {\n mkdirSync(dir, { recursive: true });\n }\n writeFileSync(filePath, `${JSON.stringify(map, null, 2)}\\n`);\n }\n\n /**\n * Remove every apps-manager-minted application identity derived from an\n * environment's platform database.\n *\n * `APPLICATION_ID` is a Mongo `_id`, so it is valid only for the database\n * generation that minted it. A destructive platform-data reset must delete\n * this file together with the database; otherwise offline Compose rendering\n * and generated application env files keep injecting dangling identities\n * into the next generation. The live apps-manager database remains the\n * authority and the next registered bootstrap recreates this cache.\n */\n static clearApplicationRuntimeIdentities(\n envName: string,\n configDir?: string,\n ): void {\n const dir = EnvironmentRegistry.resolveGeneratedConfigDir(envName, configDir);\n if (!dir) return;\n const filePath = join(dir, FILE_NAMES.APPLICATION_RUNTIME_IDENTITY);\n if (existsSync(filePath)) {\n unlinkSync(filePath);\n }\n }\n\n static invalidateCache(): void {\n EnvironmentRegistry.configJsonCache = {};\n EnvironmentRegistry.secretsJsonCache = {};\n }\n}\n"]}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { BackingServiceKind, EnvironmentServiceProfile, EnvironmentServiceProfileOptionalService, type BackingServicesEnvConfig } from '@wildo-ai/platform-config-lib';
|
|
2
|
+
/**
|
|
3
|
+
* #2303 — what an environment's service profile allows it to RUN, asked by BOTH deployment lanes (the Docker Compose
|
|
4
|
+
* generator and the Kubernetes manifests) through these functions, so the two cannot disagree about which workloads a
|
|
5
|
+
* profile removes.
|
|
6
|
+
*
|
|
7
|
+
* The descriptor schema refuses the same contradictions while it is parsed (`define-infra-env-config.ts`). These are
|
|
8
|
+
* the render-time site of the same invariants, for an environment record that reaches a lane by another path (a
|
|
9
|
+
* `config.json` persisted before the profile was authored, a registry record): a render that silently dropped a
|
|
10
|
+
* service would leave a capability that looks enabled and does nothing, and a render that kept it would ignore the
|
|
11
|
+
* profile. Neither may win in silence, so the render stops and says why.
|
|
12
|
+
*/
|
|
13
|
+
export interface ServiceProfileEnvInput {
|
|
14
|
+
readonly name: string;
|
|
15
|
+
readonly backingServices?: BackingServicesEnvConfig;
|
|
16
|
+
readonly serviceProfile?: EnvironmentServiceProfile;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Whether the environment self-hosts an OPTIONAL backing service, refusing a SELF declaration its profile omits.
|
|
20
|
+
*/
|
|
21
|
+
export declare function selfHostsOptionalServiceAllowedByProfile(env: ServiceProfileEnvInput, kind: BackingServiceKind.CLAMAV | BackingServiceKind.IMMUDB, service: EnvironmentServiceProfileOptionalService): boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Whether the `mongot` search sidecar belongs in this environment: it is an attachment to a self-hosted mongod, and the
|
|
24
|
+
* profile may omit it. Every mongot artifact of a lane (the workload, mongod's `mongotHost` routing parameters, the
|
|
25
|
+
* sync-source user and secret, the data directory or persistent volume) reads this one answer.
|
|
26
|
+
*/
|
|
27
|
+
export declare function includesMongoSearchSidecar(env: ServiceProfileEnvInput): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Refuse to render a profile that runs one database family beside two self-hosted database engines. The descriptor
|
|
30
|
+
* refuses the declarations that would bring a second family; this catches a record that reached the lane without
|
|
31
|
+
* passing through it.
|
|
32
|
+
*/
|
|
33
|
+
export declare function assertProfileRunsItsDatabaseFamilies(env: ServiceProfileEnvInput): void;
|
|
34
|
+
//# sourceMappingURL=environment-service-profile.utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environment-service-profile.utils.d.ts","sourceRoot":"","sources":["../../../../src/services/environment/environment-service-profile.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAGlB,yBAAyB,EACzB,wCAAwC,EAIxC,KAAK,wBAAwB,EAC9B,MAAM,+BAA+B,CAAC;AAIvC;;;;;;;;;;GAUG;AACH,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,eAAe,CAAC,EAAE,wBAAwB,CAAC;IACpD,QAAQ,CAAC,cAAc,CAAC,EAAE,yBAAyB,CAAC;CACrD;AAED;;GAEG;AACH,wBAAgB,wCAAwC,CACtD,GAAG,EAAE,sBAAsB,EAC3B,IAAI,EAAE,kBAAkB,CAAC,MAAM,GAAG,kBAAkB,CAAC,MAAM,EAC3D,OAAO,EAAE,wCAAwC,GAChD,OAAO,CAWT;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,sBAAsB,GAAG,OAAO,CAK/E;AAED;;;;GAIG;AACH,wBAAgB,oCAAoC,CAAC,GAAG,EAAE,sBAAsB,GAAG,IAAI,CAWtF"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { BackingServiceSource, DEFAULT_ENVIRONMENT_SERVICE_PROFILE, EnvironmentServiceProfile, EnvironmentServiceProfileOptionalService, describeServiceOmittedByEnvironmentServiceProfile, environmentServiceProfileOmits, environmentServiceProfileRunsOneDatabaseFamily, } from '@wildo-ai/platform-config-lib';
|
|
2
|
+
import { EnvironmentUtils } from '../../services/environment/environment.service.js';
|
|
3
|
+
/**
|
|
4
|
+
* Whether the environment self-hosts an OPTIONAL backing service, refusing a SELF declaration its profile omits.
|
|
5
|
+
*/
|
|
6
|
+
export function selfHostsOptionalServiceAllowedByProfile(env, kind, service) {
|
|
7
|
+
const selfHosted = EnvironmentUtils.selfHostsBackingService(env, kind);
|
|
8
|
+
const profile = env.serviceProfile ?? DEFAULT_ENVIRONMENT_SERVICE_PROFILE;
|
|
9
|
+
if (selfHosted && environmentServiceProfileOmits(profile, service)) {
|
|
10
|
+
throw new Error(`Environment "${env.name}": ${describeServiceOmittedByEnvironmentServiceProfile(profile, service)} `
|
|
11
|
+
+ `Yet \`backingServices.${kind}\` declares { source: ${BackingServiceSource.SELF} }. Remove that declaration, `
|
|
12
|
+
+ `or set serviceProfile to '${EnvironmentServiceProfile.FULL}', then render again.`);
|
|
13
|
+
}
|
|
14
|
+
return selfHosted;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Whether the `mongot` search sidecar belongs in this environment: it is an attachment to a self-hosted mongod, and the
|
|
18
|
+
* profile may omit it. Every mongot artifact of a lane (the workload, mongod's `mongotHost` routing parameters, the
|
|
19
|
+
* sync-source user and secret, the data directory or persistent volume) reads this one answer.
|
|
20
|
+
*/
|
|
21
|
+
export function includesMongoSearchSidecar(env) {
|
|
22
|
+
// `needsLocalMongoDB` is what `selfHostsBackingService(env, MONGODB)` answers with; named directly, as both lanes did
|
|
23
|
+
// before this helper existed.
|
|
24
|
+
return EnvironmentUtils.needsLocalMongoDB(env)
|
|
25
|
+
&& !environmentServiceProfileOmits(env.serviceProfile, EnvironmentServiceProfileOptionalService.MONGODB_SEARCH);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Refuse to render a profile that runs one database family beside two self-hosted database engines. The descriptor
|
|
29
|
+
* refuses the declarations that would bring a second family; this catches a record that reached the lane without
|
|
30
|
+
* passing through it.
|
|
31
|
+
*/
|
|
32
|
+
export function assertProfileRunsItsDatabaseFamilies(env) {
|
|
33
|
+
const profile = env.serviceProfile ?? DEFAULT_ENVIRONMENT_SERVICE_PROFILE;
|
|
34
|
+
if (!environmentServiceProfileRunsOneDatabaseFamily(profile))
|
|
35
|
+
return;
|
|
36
|
+
if (EnvironmentUtils.needsLocalMongoDB(env) && EnvironmentUtils.needsLocalPostgreSQL(env)) {
|
|
37
|
+
throw new Error(`Environment "${env.name}": serviceProfile '${profile}' runs ONE database family, and this environment would run both a `
|
|
38
|
+
+ 'MongoDB and a PostgreSQL. Put the platform and the application on the same engine (`database.engine` and '
|
|
39
|
+
+ '`applicationDatabase.engine` in wildo.infra.<env>.config.ts), declare only that store in `backingServices`, '
|
|
40
|
+
+ `run \`wildo config sync\`, or set serviceProfile to '${EnvironmentServiceProfile.FULL}'.`);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=environment-service-profile.utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environment-service-profile.utils.js","sourceRoot":"","sources":["../../../../src/services/environment/environment-service-profile.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,oBAAoB,EACpB,mCAAmC,EACnC,yBAAyB,EACzB,wCAAwC,EACxC,iDAAiD,EACjD,8BAA8B,EAC9B,8CAA8C,GAE/C,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AAmBvF;;GAEG;AACH,MAAM,UAAU,wCAAwC,CACtD,GAA2B,EAC3B,IAA2D,EAC3D,OAAiD;IAEjD,MAAM,UAAU,GAAG,gBAAgB,CAAC,uBAAuB,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;IACvE,MAAM,OAAO,GAAG,GAAG,CAAC,cAAc,IAAI,mCAAmC,CAAC;IAC1E,IAAI,UAAU,IAAI,8BAA8B,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE,CAAC;QACnE,MAAM,IAAI,KAAK,CACb,gBAAgB,GAAG,CAAC,IAAI,MAAM,iDAAiD,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG;cAClG,yBAAyB,IAAI,yBAAyB,oBAAoB,CAAC,IAAI,+BAA+B;cAC9G,6BAA6B,yBAAyB,CAAC,IAAI,uBAAuB,CACrF,CAAC;IACJ,CAAC;IACD,OAAO,UAAU,CAAC;AACpB,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,0BAA0B,CAAC,GAA2B;IACpE,sHAAsH;IACtH,8BAA8B;IAC9B,OAAO,gBAAgB,CAAC,iBAAiB,CAAC,GAAG,CAAC;WACzC,CAAC,8BAA8B,CAAC,GAAG,CAAC,cAAc,EAAE,wCAAwC,CAAC,cAAc,CAAC,CAAC;AACpH,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,oCAAoC,CAAC,GAA2B;IAC9E,MAAM,OAAO,GAAG,GAAG,CAAC,cAAc,IAAI,mCAAmC,CAAC;IAC1E,IAAI,CAAC,8CAA8C,CAAC,OAAO,CAAC;QAAE,OAAO;IACrE,IAAI,gBAAgB,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,gBAAgB,CAAC,oBAAoB,CAAC,GAAG,CAAC,EAAE,CAAC;QAC1F,MAAM,IAAI,KAAK,CACb,gBAAgB,GAAG,CAAC,IAAI,sBAAsB,OAAO,oEAAoE;cACvH,2GAA2G;cAC3G,8GAA8G;cAC9G,wDAAwD,yBAAyB,CAAC,IAAI,IAAI,CAC7F,CAAC;IACJ,CAAC;AACH,CAAC","sourcesContent":["import {\n BackingServiceKind,\n BackingServiceSource,\n DEFAULT_ENVIRONMENT_SERVICE_PROFILE,\n EnvironmentServiceProfile,\n EnvironmentServiceProfileOptionalService,\n describeServiceOmittedByEnvironmentServiceProfile,\n environmentServiceProfileOmits,\n environmentServiceProfileRunsOneDatabaseFamily,\n type BackingServicesEnvConfig,\n} from '@wildo-ai/platform-config-lib';\n\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\n\n/**\n * #2303 — what an environment's service profile allows it to RUN, asked by BOTH deployment lanes (the Docker Compose\n * generator and the Kubernetes manifests) through these functions, so the two cannot disagree about which workloads a\n * profile removes.\n *\n * The descriptor schema refuses the same contradictions while it is parsed (`define-infra-env-config.ts`). These are\n * the render-time site of the same invariants, for an environment record that reaches a lane by another path (a\n * `config.json` persisted before the profile was authored, a registry record): a render that silently dropped a\n * service would leave a capability that looks enabled and does nothing, and a render that kept it would ignore the\n * profile. Neither may win in silence, so the render stops and says why.\n */\nexport interface ServiceProfileEnvInput {\n readonly name: string;\n readonly backingServices?: BackingServicesEnvConfig;\n readonly serviceProfile?: EnvironmentServiceProfile;\n}\n\n/**\n * Whether the environment self-hosts an OPTIONAL backing service, refusing a SELF declaration its profile omits.\n */\nexport function selfHostsOptionalServiceAllowedByProfile(\n env: ServiceProfileEnvInput,\n kind: BackingServiceKind.CLAMAV | BackingServiceKind.IMMUDB,\n service: EnvironmentServiceProfileOptionalService,\n): boolean {\n const selfHosted = EnvironmentUtils.selfHostsBackingService(env, kind);\n const profile = env.serviceProfile ?? DEFAULT_ENVIRONMENT_SERVICE_PROFILE;\n if (selfHosted && environmentServiceProfileOmits(profile, service)) {\n throw new Error(\n `Environment \"${env.name}\": ${describeServiceOmittedByEnvironmentServiceProfile(profile, service)} `\n + `Yet \\`backingServices.${kind}\\` declares { source: ${BackingServiceSource.SELF} }. Remove that declaration, `\n + `or set serviceProfile to '${EnvironmentServiceProfile.FULL}', then render again.`,\n );\n }\n return selfHosted;\n}\n\n/**\n * Whether the `mongot` search sidecar belongs in this environment: it is an attachment to a self-hosted mongod, and the\n * profile may omit it. Every mongot artifact of a lane (the workload, mongod's `mongotHost` routing parameters, the\n * sync-source user and secret, the data directory or persistent volume) reads this one answer.\n */\nexport function includesMongoSearchSidecar(env: ServiceProfileEnvInput): boolean {\n // `needsLocalMongoDB` is what `selfHostsBackingService(env, MONGODB)` answers with; named directly, as both lanes did\n // before this helper existed.\n return EnvironmentUtils.needsLocalMongoDB(env)\n && !environmentServiceProfileOmits(env.serviceProfile, EnvironmentServiceProfileOptionalService.MONGODB_SEARCH);\n}\n\n/**\n * Refuse to render a profile that runs one database family beside two self-hosted database engines. The descriptor\n * refuses the declarations that would bring a second family; this catches a record that reached the lane without\n * passing through it.\n */\nexport function assertProfileRunsItsDatabaseFamilies(env: ServiceProfileEnvInput): void {\n const profile = env.serviceProfile ?? DEFAULT_ENVIRONMENT_SERVICE_PROFILE;\n if (!environmentServiceProfileRunsOneDatabaseFamily(profile)) return;\n if (EnvironmentUtils.needsLocalMongoDB(env) && EnvironmentUtils.needsLocalPostgreSQL(env)) {\n throw new Error(\n `Environment \"${env.name}\": serviceProfile '${profile}' runs ONE database family, and this environment would run both a `\n + 'MongoDB and a PostgreSQL. Put the platform and the application on the same engine (`database.engine` and '\n + '`applicationDatabase.engine` in wildo.infra.<env>.config.ts), declare only that store in `backingServices`, '\n + `run \\`wildo config sync\\`, or set serviceProfile to '${EnvironmentServiceProfile.FULL}'.`,\n );\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environment-setup.service.d.ts","sourceRoot":"","sources":["../../../../src/services/environment/environment-setup.service.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAItG,OAAO,EAOL,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AAOvC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AA0BtD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAsB,WAAW,CAC/B,OAAO,EAAE,MAAM,EACf,YAAY,EAAE,iBAAiB,EAC/B,OAAO,EAAE,aAAa,EACtB,GAAG,EAAE,MAAM,GACV,OAAO,CAAC,WAAW,CAAC,
|
|
1
|
+
{"version":3,"file":"environment-setup.service.d.ts","sourceRoot":"","sources":["../../../../src/services/environment/environment-setup.service.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAItG,OAAO,EAOL,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AAOvC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AA0BtD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAsB,WAAW,CAC/B,OAAO,EAAE,MAAM,EACf,YAAY,EAAE,iBAAiB,EAC/B,OAAO,EAAE,aAAa,EACtB,GAAG,EAAE,MAAM,GACV,OAAO,CAAC,WAAW,CAAC,CAmXtB"}
|