@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
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Moves an existing app-creator application's package `dev` scripts onto the supervised dev loop (#3287).
|
|
3
|
+
*
|
|
4
|
+
* ## Why `wildo update` has to do this
|
|
5
|
+
*
|
|
6
|
+
* #3214, #3215, #3216, #3226 and #3257 moved every node package of an app-creator application onto `wildo-dev-runtime`:
|
|
7
|
+
* the shared library and the specifications publish through `compile`, the backend, a minion and a node worker run
|
|
8
|
+
* under `serve`, the frontend keeps its config library current through `frontend`. Each writes a compile record whose
|
|
9
|
+
* `READY` means "emitted, rewritten, verified", and the supervisor starts a runtime only on published builds, restarts
|
|
10
|
+
* it when a package it loads publishes, and owns its process group. Only NEW applications got that: `wildo init` renders
|
|
11
|
+
* the skeleton and `wildo compose` the scenarios, and nothing rewrites a member script afterwards. An application
|
|
12
|
+
* created before kept `tsc-watch … --onSuccess …`, which is how a backend started between shared-lib's emit and its
|
|
13
|
+
* alias pass (`ERR_MODULE_NOT_FOUND`, #3216) and how an orphan kept a port (#3214).
|
|
14
|
+
*
|
|
15
|
+
* ## What it changes, and what it never touches
|
|
16
|
+
*
|
|
17
|
+
* A package is moved ONLY when its `dev` is exactly a script an earlier scaffold generated for it — every app-creator
|
|
18
|
+
* value the skeleton and scenario templates have carried, read from their git history (see
|
|
19
|
+
* {@link PREVIOUSLY_GENERATED_DEV_SCRIPTS}). A `dev` the application reshaped is LEFT ALONE and reported, because an
|
|
20
|
+
* edited script is a decision someone made, and the update cannot tell what it was for. A package whose project file
|
|
21
|
+
* the supervised script needs is missing (a frontend scaffolded before `tsconfig.library.json` existed) is also left
|
|
22
|
+
* alone and reported: the new script would fail where the old one ran.
|
|
23
|
+
*
|
|
24
|
+
* On a move: `dev` becomes the current scaffold's, {@link DEV_RUNTIME_BIN_PACKAGE} is declared as a devDependency (pnpm
|
|
25
|
+
* links the `wildo-dev-runtime` bin only into a package that declares the package shipping it), the backend's
|
|
26
|
+
* generated `dev:serve` is removed (the supervisor starts the server), and `tsc-watch` is dropped when no remaining
|
|
27
|
+
* script names it. Run BEFORE the update's install, so the new devDependency is installed with the rest. Idempotent: a
|
|
28
|
+
* package already on its current script is reported as current and not written.
|
|
29
|
+
*
|
|
30
|
+
* ## A package that already runs the bin, but declares the wrong package for it (#3263)
|
|
31
|
+
*
|
|
32
|
+
* Until #3263 the bin shipped inside `@wildo-ai/platform-core-shared`, and the scaffold and this migration declared that
|
|
33
|
+
* package. The bin now ships in {@link DEV_RUNTIME_BIN_PACKAGE}, so every member whose scripts name `wildo-dev-runtime`
|
|
34
|
+
* — current, moved, or the application's own edit of one — gets that package declared when it is missing, or the next
|
|
35
|
+
* install would leave the scripts naming a program nothing links. The old `@wildo-ai/platform-core-shared` devDependency
|
|
36
|
+
* is left in place: it is harmless, and the package may be imported for other reasons.
|
|
37
|
+
*
|
|
38
|
+
* Only an application pinned to RELEASES reaches it (`wildo update` does not move a checkout-linked, framework-dev
|
|
39
|
+
* application), so the framework developer's observer scripts are never in front of it.
|
|
40
|
+
*/
|
|
41
|
+
import { existsSync, readFileSync, writeFileSync } from 'node:fs';
|
|
42
|
+
import { basename, join } from 'node:path';
|
|
43
|
+
import { expandWorkspaceMemberPatterns, readWorkspacePackagePatterns } from '../../services/application/application-dependency-alignment.service.js';
|
|
44
|
+
/** The package that ships the `wildo-dev-runtime` bin. The bin is what the scripts name; this is what must be declared. */
|
|
45
|
+
export const DEV_RUNTIME_BIN_PACKAGE = '@wildo-ai/wildo-dev-runtime';
|
|
46
|
+
/** The program the supervised scripts run. A member whose scripts name it must declare {@link DEV_RUNTIME_BIN_PACKAGE}. */
|
|
47
|
+
const DEV_RUNTIME_BIN = 'wildo-dev-runtime';
|
|
48
|
+
/** Which generated package a workspace member is, which decides its old and its current `dev`. */
|
|
49
|
+
export var ApplicationDevScriptPackageKind;
|
|
50
|
+
(function (ApplicationDevScriptPackageKind) {
|
|
51
|
+
ApplicationDevScriptPackageKind["SHARED_LIB"] = "shared-lib";
|
|
52
|
+
ApplicationDevScriptPackageKind["BACKEND_API"] = "backend-api";
|
|
53
|
+
ApplicationDevScriptPackageKind["FRONTEND"] = "frontend";
|
|
54
|
+
ApplicationDevScriptPackageKind["SPECIFICATIONS"] = "specifications";
|
|
55
|
+
ApplicationDevScriptPackageKind["MINION"] = "minion";
|
|
56
|
+
ApplicationDevScriptPackageKind["WORKER"] = "worker";
|
|
57
|
+
})(ApplicationDevScriptPackageKind || (ApplicationDevScriptPackageKind = {}));
|
|
58
|
+
/** What happened to one package's `dev`. */
|
|
59
|
+
export var ApplicationDevScriptMigrationOutcome;
|
|
60
|
+
(function (ApplicationDevScriptMigrationOutcome) {
|
|
61
|
+
/** Its `dev` was a previously generated script and is now the current scaffold's. */
|
|
62
|
+
ApplicationDevScriptMigrationOutcome["MIGRATED"] = "migrated";
|
|
63
|
+
/** Its `dev` already is the current scaffold's. */
|
|
64
|
+
ApplicationDevScriptMigrationOutcome["ALREADY_CURRENT"] = "already-current";
|
|
65
|
+
/** Its `dev` is not a script any scaffold generated: the application's own, left alone. */
|
|
66
|
+
ApplicationDevScriptMigrationOutcome["NOT_RECOGNISED"] = "not-recognised";
|
|
67
|
+
/** Generated, but the file the supervised script reads is missing: left alone, the new script would fail. */
|
|
68
|
+
ApplicationDevScriptMigrationOutcome["NOT_MIGRATABLE"] = "not-migratable";
|
|
69
|
+
})(ApplicationDevScriptMigrationOutcome || (ApplicationDevScriptMigrationOutcome = {}));
|
|
70
|
+
const TSC_ALIAS = 'tsc-alias -p tsconfig.build.json --resolve-full-paths --resolve-full-extension .js';
|
|
71
|
+
/**
|
|
72
|
+
* Every `dev` the app-creator branch of the skeleton and scenario templates has generated for each kind, from their git
|
|
73
|
+
* history (`git log --follow -p` on each `package.json.hbs`, 2026-11-03). Pinned against that history's shape by the
|
|
74
|
+
* service test; the CURRENT values are pinned against the templates themselves.
|
|
75
|
+
*/
|
|
76
|
+
export const PREVIOUSLY_GENERATED_DEV_SCRIPTS = {
|
|
77
|
+
[ApplicationDevScriptPackageKind.SHARED_LIB]: [
|
|
78
|
+
`tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess "pnpm exec ${TSC_ALIAS}"`,
|
|
79
|
+
],
|
|
80
|
+
[ApplicationDevScriptPackageKind.BACKEND_API]: [
|
|
81
|
+
// Compile-only: nothing started the server (until #2226).
|
|
82
|
+
`tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess "${TSC_ALIAS}"`,
|
|
83
|
+
`tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess "sh -c '${TSC_ALIAS} && node dist/index.js'"`,
|
|
84
|
+
'tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess "pnpm run dev:serve"',
|
|
85
|
+
],
|
|
86
|
+
[ApplicationDevScriptPackageKind.FRONTEND]: ['vite'],
|
|
87
|
+
[ApplicationDevScriptPackageKind.SPECIFICATIONS]: [
|
|
88
|
+
`tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess "${TSC_ALIAS}"`,
|
|
89
|
+
],
|
|
90
|
+
[ApplicationDevScriptPackageKind.MINION]: ['tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess "node dist/index.js"'],
|
|
91
|
+
[ApplicationDevScriptPackageKind.WORKER]: ['tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess "node dist/index.js"'],
|
|
92
|
+
};
|
|
93
|
+
/** The backend's generated `dev:serve`, removed with the `dev` that called it. */
|
|
94
|
+
export const PREVIOUSLY_GENERATED_BACKEND_DEV_SERVE = `${TSC_ALIAS} && node dist/index.js`;
|
|
95
|
+
/**
|
|
96
|
+
* The current scaffold's `dev` for a kind; a minion's and a worker's label is its directory name, as the scenario
|
|
97
|
+
* templates write it (`--label {{minionDir}}`). Pinned equal to the rendered templates by the service test.
|
|
98
|
+
*/
|
|
99
|
+
export function currentGeneratedDevScript(kind, packageDirectory) {
|
|
100
|
+
switch (kind) {
|
|
101
|
+
case ApplicationDevScriptPackageKind.SHARED_LIB:
|
|
102
|
+
case ApplicationDevScriptPackageKind.SPECIFICATIONS:
|
|
103
|
+
return 'wildo-dev-runtime compile --project tsconfig.build.json --dist dist/esm';
|
|
104
|
+
case ApplicationDevScriptPackageKind.BACKEND_API:
|
|
105
|
+
return 'wildo-dev-runtime serve --project tsconfig.build.json --dist dist --entry dist/index.js --label backend-api';
|
|
106
|
+
case ApplicationDevScriptPackageKind.FRONTEND:
|
|
107
|
+
return 'wildo-dev-runtime frontend --command vite --project tsconfig.library.json --dist dist/library';
|
|
108
|
+
case ApplicationDevScriptPackageKind.MINION:
|
|
109
|
+
case ApplicationDevScriptPackageKind.WORKER:
|
|
110
|
+
return `wildo-dev-runtime serve --project tsconfig.build.json --dist dist --entry dist/index.js --label ${basename(packageDirectory)}`;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
/** The project file the current script compiles with, relative to the package: absent, the script cannot run. */
|
|
114
|
+
function requiredProjectFile(kind) {
|
|
115
|
+
return kind === ApplicationDevScriptPackageKind.FRONTEND ? 'tsconfig.library.json' : 'tsconfig.build.json';
|
|
116
|
+
}
|
|
117
|
+
/** Which generated package a member is: a minion or a worker by its declared `wildo.kind`, the rest by the skeleton's directory. */
|
|
118
|
+
function classifyMember(packageDirectory, manifest) {
|
|
119
|
+
if (manifest.wildo?.kind === 'minion')
|
|
120
|
+
return ApplicationDevScriptPackageKind.MINION;
|
|
121
|
+
if (manifest.wildo?.kind === 'worker')
|
|
122
|
+
return ApplicationDevScriptPackageKind.WORKER;
|
|
123
|
+
switch (packageDirectory) {
|
|
124
|
+
case 'shared-lib': return ApplicationDevScriptPackageKind.SHARED_LIB;
|
|
125
|
+
case 'backend-api': return ApplicationDevScriptPackageKind.BACKEND_API;
|
|
126
|
+
case 'frontend': return ApplicationDevScriptPackageKind.FRONTEND;
|
|
127
|
+
case 'specifications': return ApplicationDevScriptPackageKind.SPECIFICATIONS;
|
|
128
|
+
default: return undefined;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Move every generated member of the application at `applicationRoot` onto the supervised dev loop; see the module
|
|
133
|
+
* JSDoc. Returns one result per generated member it found (members that are none of the six kinds are not listed).
|
|
134
|
+
*/
|
|
135
|
+
export function migrateApplicationDevScripts(applicationRoot) {
|
|
136
|
+
const { members } = expandWorkspaceMemberPatterns(applicationRoot, readWorkspacePackagePatterns(join(applicationRoot, 'pnpm-workspace.yaml')));
|
|
137
|
+
const results = [];
|
|
138
|
+
for (const packageDirectory of members) {
|
|
139
|
+
const manifestPath = join(applicationRoot, packageDirectory, 'package.json');
|
|
140
|
+
if (!existsSync(manifestPath))
|
|
141
|
+
continue;
|
|
142
|
+
const original = readFileSync(manifestPath, 'utf8');
|
|
143
|
+
let manifest;
|
|
144
|
+
try {
|
|
145
|
+
manifest = JSON.parse(original);
|
|
146
|
+
}
|
|
147
|
+
catch {
|
|
148
|
+
continue;
|
|
149
|
+
}
|
|
150
|
+
const kind = classifyMember(packageDirectory, manifest);
|
|
151
|
+
if (kind === undefined)
|
|
152
|
+
continue;
|
|
153
|
+
const previousDev = manifest.scripts?.dev;
|
|
154
|
+
const current = currentGeneratedDevScript(kind, packageDirectory);
|
|
155
|
+
const base = { packageDirectory, kind, previousDev };
|
|
156
|
+
const leftAlone = (result) => {
|
|
157
|
+
const declared = declareBinPackageWhereNamed(manifestPath, original, manifest);
|
|
158
|
+
results.push(declared ? { ...result, declaredBinPackage: true } : result);
|
|
159
|
+
};
|
|
160
|
+
if (previousDev === current) {
|
|
161
|
+
leftAlone({ ...base, outcome: ApplicationDevScriptMigrationOutcome.ALREADY_CURRENT });
|
|
162
|
+
continue;
|
|
163
|
+
}
|
|
164
|
+
if (previousDev === undefined || !PREVIOUSLY_GENERATED_DEV_SCRIPTS[kind].includes(previousDev)) {
|
|
165
|
+
leftAlone({ ...base, outcome: ApplicationDevScriptMigrationOutcome.NOT_RECOGNISED });
|
|
166
|
+
continue;
|
|
167
|
+
}
|
|
168
|
+
const projectFile = requiredProjectFile(kind);
|
|
169
|
+
if (!existsSync(join(applicationRoot, packageDirectory, projectFile))) {
|
|
170
|
+
leftAlone({ ...base, outcome: ApplicationDevScriptMigrationOutcome.NOT_MIGRATABLE, reason: `${packageDirectory}/${projectFile} is missing, and the supervised script compiles with it` });
|
|
171
|
+
continue;
|
|
172
|
+
}
|
|
173
|
+
const scripts = { ...manifest.scripts, dev: current };
|
|
174
|
+
if (kind === ApplicationDevScriptPackageKind.BACKEND_API && scripts['dev:serve'] === PREVIOUSLY_GENERATED_BACKEND_DEV_SERVE)
|
|
175
|
+
delete scripts['dev:serve'];
|
|
176
|
+
const devDependencies = { ...manifest.devDependencies };
|
|
177
|
+
if (devDependencies[DEV_RUNTIME_BIN_PACKAGE] === undefined)
|
|
178
|
+
devDependencies[DEV_RUNTIME_BIN_PACKAGE] = '*';
|
|
179
|
+
if (!Object.values(scripts).some((script) => script.includes('tsc-watch')))
|
|
180
|
+
delete devDependencies['tsc-watch'];
|
|
181
|
+
const migrated = { ...manifest, scripts, devDependencies: sortedRecord(devDependencies) };
|
|
182
|
+
writeManifest(manifestPath, original, migrated);
|
|
183
|
+
results.push({ ...base, outcome: ApplicationDevScriptMigrationOutcome.MIGRATED });
|
|
184
|
+
}
|
|
185
|
+
return results;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* For a member whose `dev` was left as it is: when one of its scripts names `wildo-dev-runtime` and it does not declare
|
|
189
|
+
* {@link DEV_RUNTIME_BIN_PACKAGE}, declare it (see the module JSDoc, #3263). Returns whether it wrote.
|
|
190
|
+
*/
|
|
191
|
+
function declareBinPackageWhereNamed(manifestPath, original, manifest) {
|
|
192
|
+
const namesBin = Object.values(manifest.scripts ?? {}).some((script) => new RegExp(`(^|[\\s;&|(])${DEV_RUNTIME_BIN}(\\s|$)`, 'u').test(script));
|
|
193
|
+
if (!namesBin || manifest.devDependencies?.[DEV_RUNTIME_BIN_PACKAGE] !== undefined)
|
|
194
|
+
return false;
|
|
195
|
+
const devDependencies = sortedRecord({ ...manifest.devDependencies, [DEV_RUNTIME_BIN_PACKAGE]: '*' });
|
|
196
|
+
writeManifest(manifestPath, original, { ...manifest, devDependencies });
|
|
197
|
+
return true;
|
|
198
|
+
}
|
|
199
|
+
/** Writes a manifest with the indentation it was read with. */
|
|
200
|
+
function writeManifest(manifestPath, original, manifest) {
|
|
201
|
+
const indent = /^\{\n(\s+)"/u.exec(original)?.[1] ?? ' ';
|
|
202
|
+
writeFileSync(manifestPath, `${JSON.stringify(manifest, null, indent)}\n`, 'utf8');
|
|
203
|
+
}
|
|
204
|
+
/** Dependency blocks are kept in key order, as pnpm writes them. */
|
|
205
|
+
function sortedRecord(record) {
|
|
206
|
+
return Object.fromEntries(Object.keys(record).sort().map((key) => [key, record[key]]));
|
|
207
|
+
}
|
|
208
|
+
//# sourceMappingURL=application-dev-script-migration.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application-dev-script-migration.service.js","sourceRoot":"","sources":["../../../../src/services/application/application-dev-script-migration.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAE3C,OAAO,EAAE,6BAA6B,EAAE,4BAA4B,EAAE,MAAM,0EAA0E,CAAC;AAEvJ,2HAA2H;AAC3H,MAAM,CAAC,MAAM,uBAAuB,GAAG,6BAA6B,CAAC;AAErE,2HAA2H;AAC3H,MAAM,eAAe,GAAG,mBAAmB,CAAC;AAE5C,kGAAkG;AAClG,MAAM,CAAN,IAAY,+BAOX;AAPD,WAAY,+BAA+B;IACzC,4DAAyB,CAAA;IACzB,8DAA2B,CA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AAC;AAED,oEAAoE;AACpE,SAAS,YAAY,CAAC,MAA8B;IAClD,OAAO,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,CAAE,CAAC,CAAC,CAAC,CAAC;AAC1F,CAAC","sourcesContent":["/**\n * Moves an existing app-creator application's package `dev` scripts onto the supervised dev loop (#3287).\n *\n * ## Why `wildo update` has to do this\n *\n * #3214, #3215, #3216, #3226 and #3257 moved every node package of an app-creator application onto `wildo-dev-runtime`:\n * the shared library and the specifications publish through `compile`, the backend, a minion and a node worker run\n * under `serve`, the frontend keeps its config library current through `frontend`. Each writes a compile record whose\n * `READY` means \"emitted, rewritten, verified\", and the supervisor starts a runtime only on published builds, restarts\n * it when a package it loads publishes, and owns its process group. Only NEW applications got that: `wildo init` renders\n * the skeleton and `wildo compose` the scenarios, and nothing rewrites a member script afterwards. An application\n * created before kept `tsc-watch … --onSuccess …`, which is how a backend started between shared-lib's emit and its\n * alias pass (`ERR_MODULE_NOT_FOUND`, #3216) and how an orphan kept a port (#3214).\n *\n * ## What it changes, and what it never touches\n *\n * A package is moved ONLY when its `dev` is exactly a script an earlier scaffold generated for it — every app-creator\n * value the skeleton and scenario templates have carried, read from their git history (see\n * {@link PREVIOUSLY_GENERATED_DEV_SCRIPTS}). A `dev` the application reshaped is LEFT ALONE and reported, because an\n * edited script is a decision someone made, and the update cannot tell what it was for. A package whose project file\n * the supervised script needs is missing (a frontend scaffolded before `tsconfig.library.json` existed) is also left\n * alone and reported: the new script would fail where the old one ran.\n *\n * On a move: `dev` becomes the current scaffold's, {@link DEV_RUNTIME_BIN_PACKAGE} is declared as a devDependency (pnpm\n * links the `wildo-dev-runtime` bin only into a package that declares the package shipping it), the backend's\n * generated `dev:serve` is removed (the supervisor starts the server), and `tsc-watch` is dropped when no remaining\n * script names it. Run BEFORE the update's install, so the new devDependency is installed with the rest. Idempotent: a\n * package already on its current script is reported as current and not written.\n *\n * ## A package that already runs the bin, but declares the wrong package for it (#3263)\n *\n * Until #3263 the bin shipped inside `@wildo-ai/platform-core-shared`, and the scaffold and this migration declared that\n * package. The bin now ships in {@link DEV_RUNTIME_BIN_PACKAGE}, so every member whose scripts name `wildo-dev-runtime`\n * — current, moved, or the application's own edit of one — gets that package declared when it is missing, or the next\n * install would leave the scripts naming a program nothing links. The old `@wildo-ai/platform-core-shared` devDependency\n * is left in place: it is harmless, and the package may be imported for other reasons.\n *\n * Only an application pinned to RELEASES reaches it (`wildo update` does not move a checkout-linked, framework-dev\n * application), so the framework developer's observer scripts are never in front of it.\n */\nimport { existsSync, readFileSync, writeFileSync } from 'node:fs';\nimport { basename, join } from 'node:path';\n\nimport { expandWorkspaceMemberPatterns, readWorkspacePackagePatterns } from '~wildo-cli/services/application/application-dependency-alignment.service';\n\n/** The package that ships the `wildo-dev-runtime` bin. The bin is what the scripts name; this is what must be declared. */\nexport const DEV_RUNTIME_BIN_PACKAGE = '@wildo-ai/wildo-dev-runtime';\n\n/** The program the supervised scripts run. A member whose scripts name it must declare {@link DEV_RUNTIME_BIN_PACKAGE}. */\nconst DEV_RUNTIME_BIN = 'wildo-dev-runtime';\n\n/** Which generated package a workspace member is, which decides its old and its current `dev`. */\nexport enum ApplicationDevScriptPackageKind {\n SHARED_LIB = 'shared-lib',\n BACKEND_API = 'backend-api',\n FRONTEND = 'frontend',\n SPECIFICATIONS = 'specifications',\n MINION = 'minion',\n WORKER = 'worker',\n}\n\n/** What happened to one package's `dev`. */\nexport enum ApplicationDevScriptMigrationOutcome {\n /** Its `dev` was a previously generated script and is now the current scaffold's. */\n MIGRATED = 'migrated',\n /** Its `dev` already is the current scaffold's. */\n ALREADY_CURRENT = 'already-current',\n /** Its `dev` is not a script any scaffold generated: the application's own, left alone. */\n NOT_RECOGNISED = 'not-recognised',\n /** Generated, but the file the supervised script reads is missing: left alone, the new script would fail. */\n NOT_MIGRATABLE = 'not-migratable',\n}\n\nexport interface ApplicationDevScriptMigrationResult {\n /** The member directory, relative to the application root (`shared-lib`, `minions/lead-enricher`). */\n readonly packageDirectory: string;\n readonly kind: ApplicationDevScriptPackageKind;\n readonly outcome: ApplicationDevScriptMigrationOutcome;\n /** The `dev` it had. */\n readonly previousDev: string | undefined;\n /** Why it was left alone, for {@link ApplicationDevScriptMigrationOutcome.NOT_MIGRATABLE}. */\n readonly reason?: string;\n /**\n * Set when its `dev` was NOT moved but its scripts already name `wildo-dev-runtime` and it did not declare\n * {@link DEV_RUNTIME_BIN_PACKAGE}, so the update declared it (#3263). A moved package always gets it declared.\n */\n readonly declaredBinPackage?: true;\n}\n\nconst TSC_ALIAS = 'tsc-alias -p tsconfig.build.json --resolve-full-paths --resolve-full-extension .js';\n\n/**\n * Every `dev` the app-creator branch of the skeleton and scenario templates has generated for each kind, from their git\n * history (`git log --follow -p` on each `package.json.hbs`, 2026-11-03). Pinned against that history's shape by the\n * service test; the CURRENT values are pinned against the templates themselves.\n */\nexport const PREVIOUSLY_GENERATED_DEV_SCRIPTS: Readonly<Record<ApplicationDevScriptPackageKind, readonly string[]>> = {\n [ApplicationDevScriptPackageKind.SHARED_LIB]: [\n `tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"pnpm exec ${TSC_ALIAS}\"`,\n ],\n [ApplicationDevScriptPackageKind.BACKEND_API]: [\n // Compile-only: nothing started the server (until #2226).\n `tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"${TSC_ALIAS}\"`,\n `tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"sh -c '${TSC_ALIAS} && node dist/index.js'\"`,\n 'tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"pnpm run dev:serve\"',\n ],\n [ApplicationDevScriptPackageKind.FRONTEND]: ['vite'],\n [ApplicationDevScriptPackageKind.SPECIFICATIONS]: [\n `tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"${TSC_ALIAS}\"`,\n ],\n [ApplicationDevScriptPackageKind.MINION]: ['tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node dist/index.js\"'],\n [ApplicationDevScriptPackageKind.WORKER]: ['tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node dist/index.js\"'],\n};\n\n/** The backend's generated `dev:serve`, removed with the `dev` that called it. */\nexport const PREVIOUSLY_GENERATED_BACKEND_DEV_SERVE = `${TSC_ALIAS} && node dist/index.js`;\n\n/**\n * The current scaffold's `dev` for a kind; a minion's and a worker's label is its directory name, as the scenario\n * templates write it (`--label {{minionDir}}`). Pinned equal to the rendered templates by the service test.\n */\nexport function currentGeneratedDevScript(kind: ApplicationDevScriptPackageKind, packageDirectory: string): string {\n switch (kind) {\n case ApplicationDevScriptPackageKind.SHARED_LIB:\n case ApplicationDevScriptPackageKind.SPECIFICATIONS:\n return 'wildo-dev-runtime compile --project tsconfig.build.json --dist dist/esm';\n case ApplicationDevScriptPackageKind.BACKEND_API:\n return 'wildo-dev-runtime serve --project tsconfig.build.json --dist dist --entry dist/index.js --label backend-api';\n case ApplicationDevScriptPackageKind.FRONTEND:\n return 'wildo-dev-runtime frontend --command vite --project tsconfig.library.json --dist dist/library';\n case ApplicationDevScriptPackageKind.MINION:\n case ApplicationDevScriptPackageKind.WORKER:\n return `wildo-dev-runtime serve --project tsconfig.build.json --dist dist --entry dist/index.js --label ${basename(packageDirectory)}`;\n }\n}\n\n/** The project file the current script compiles with, relative to the package: absent, the script cannot run. */\nfunction requiredProjectFile(kind: ApplicationDevScriptPackageKind): string {\n return kind === ApplicationDevScriptPackageKind.FRONTEND ? 'tsconfig.library.json' : 'tsconfig.build.json';\n}\n\ninterface PackageManifest {\n name?: string;\n wildo?: { kind?: string };\n scripts?: Record<string, string>;\n devDependencies?: Record<string, string>;\n [key: string]: unknown;\n}\n\n/** Which generated package a member is: a minion or a worker by its declared `wildo.kind`, the rest by the skeleton's directory. */\nfunction classifyMember(packageDirectory: string, manifest: PackageManifest): ApplicationDevScriptPackageKind | undefined {\n if (manifest.wildo?.kind === 'minion') return ApplicationDevScriptPackageKind.MINION;\n if (manifest.wildo?.kind === 'worker') return ApplicationDevScriptPackageKind.WORKER;\n switch (packageDirectory) {\n case 'shared-lib': return ApplicationDevScriptPackageKind.SHARED_LIB;\n case 'backend-api': return ApplicationDevScriptPackageKind.BACKEND_API;\n case 'frontend': return ApplicationDevScriptPackageKind.FRONTEND;\n case 'specifications': return ApplicationDevScriptPackageKind.SPECIFICATIONS;\n default: return undefined;\n }\n}\n\n/**\n * Move every generated member of the application at `applicationRoot` onto the supervised dev loop; see the module\n * JSDoc. Returns one result per generated member it found (members that are none of the six kinds are not listed).\n */\nexport function migrateApplicationDevScripts(applicationRoot: string): ApplicationDevScriptMigrationResult[] {\n const { members } = expandWorkspaceMemberPatterns(applicationRoot, readWorkspacePackagePatterns(join(applicationRoot, 'pnpm-workspace.yaml')));\n const results: ApplicationDevScriptMigrationResult[] = [];\n for (const packageDirectory of members) {\n const manifestPath = join(applicationRoot, packageDirectory, 'package.json');\n if (!existsSync(manifestPath)) continue;\n const original = readFileSync(manifestPath, 'utf8');\n let manifest: PackageManifest;\n try {\n manifest = JSON.parse(original) as PackageManifest;\n } catch {\n continue;\n }\n const kind = classifyMember(packageDirectory, manifest);\n if (kind === undefined) continue;\n const previousDev = manifest.scripts?.dev;\n const current = currentGeneratedDevScript(kind, packageDirectory);\n const base = { packageDirectory, kind, previousDev };\n const leftAlone = (result: Omit<ApplicationDevScriptMigrationResult, 'declaredBinPackage'>): void => {\n const declared = declareBinPackageWhereNamed(manifestPath, original, manifest);\n results.push(declared ? { ...result, declaredBinPackage: true } : result);\n };\n if (previousDev === current) {\n leftAlone({ ...base, outcome: ApplicationDevScriptMigrationOutcome.ALREADY_CURRENT });\n continue;\n }\n if (previousDev === undefined || !PREVIOUSLY_GENERATED_DEV_SCRIPTS[kind].includes(previousDev)) {\n leftAlone({ ...base, outcome: ApplicationDevScriptMigrationOutcome.NOT_RECOGNISED });\n continue;\n }\n const projectFile = requiredProjectFile(kind);\n if (!existsSync(join(applicationRoot, packageDirectory, projectFile))) {\n leftAlone({ ...base, outcome: ApplicationDevScriptMigrationOutcome.NOT_MIGRATABLE, reason: `${packageDirectory}/${projectFile} is missing, and the supervised script compiles with it` });\n continue;\n }\n\n const scripts = { ...manifest.scripts, dev: current };\n if (kind === ApplicationDevScriptPackageKind.BACKEND_API && scripts['dev:serve'] === PREVIOUSLY_GENERATED_BACKEND_DEV_SERVE) delete scripts['dev:serve'];\n const devDependencies = { ...manifest.devDependencies };\n if (devDependencies[DEV_RUNTIME_BIN_PACKAGE] === undefined) devDependencies[DEV_RUNTIME_BIN_PACKAGE] = '*';\n if (!Object.values(scripts).some((script) => script.includes('tsc-watch'))) delete devDependencies['tsc-watch'];\n const migrated: PackageManifest = { ...manifest, scripts, devDependencies: sortedRecord(devDependencies) };\n writeManifest(manifestPath, original, migrated);\n results.push({ ...base, outcome: ApplicationDevScriptMigrationOutcome.MIGRATED });\n }\n return results;\n}\n\n/**\n * For a member whose `dev` was left as it is: when one of its scripts names `wildo-dev-runtime` and it does not declare\n * {@link DEV_RUNTIME_BIN_PACKAGE}, declare it (see the module JSDoc, #3263). Returns whether it wrote.\n */\nfunction declareBinPackageWhereNamed(manifestPath: string, original: string, manifest: PackageManifest): boolean {\n const namesBin = Object.values(manifest.scripts ?? {}).some((script) => new RegExp(`(^|[\\\\s;&|(])${DEV_RUNTIME_BIN}(\\\\s|$)`, 'u').test(script));\n if (!namesBin || manifest.devDependencies?.[DEV_RUNTIME_BIN_PACKAGE] !== undefined) return false;\n const devDependencies = sortedRecord({ ...manifest.devDependencies, [DEV_RUNTIME_BIN_PACKAGE]: '*' });\n writeManifest(manifestPath, original, { ...manifest, devDependencies });\n return true;\n}\n\n/** Writes a manifest with the indentation it was read with. */\nfunction writeManifest(manifestPath: string, original: string, manifest: PackageManifest): void {\n const indent = /^\\{\\n(\\s+)\"/u.exec(original)?.[1] ?? ' ';\n writeFileSync(manifestPath, `${JSON.stringify(manifest, null, indent)}\\n`, 'utf8');\n}\n\n/** Dependency blocks are kept in key order, as pnpm writes them. */\nfunction sortedRecord(record: Record<string, string>): Record<string, string> {\n return Object.fromEntries(Object.keys(record).sort().map((key) => [key, record[key]!]));\n}\n"]}
|
|
@@ -7,6 +7,14 @@ export interface ApplicationInitializationVerificationInput {
|
|
|
7
7
|
env: PlatformEnvironmentConfiguration;
|
|
8
8
|
credentials: PlatformEnvSecretsJson;
|
|
9
9
|
appSlug: string;
|
|
10
|
+
/**
|
|
11
|
+
* The application's id, as the registration this run just performed returned it (`APPLICATION_ID` of its bootstrap
|
|
12
|
+
* credentials). It is the AUDIENCE of apps-manager's signed answer (#2950): apps-manager signs every
|
|
13
|
+
* `apps-to-manager` answer for the application's id, whichever header addressed it, so the probe learns the id from
|
|
14
|
+
* the registration rather than asking apps-manager to bind a second, slug-shaped audience. One audience vocabulary
|
|
15
|
+
* for every reader of the channel.
|
|
16
|
+
*/
|
|
17
|
+
applicationId: string;
|
|
10
18
|
/**
|
|
11
19
|
* The declaration this initialization was performed against, i.e. the current
|
|
12
20
|
* `wildo.saas.config.ts` projection.
|
package/dist/src/services/application/application-initialization-verification.service.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-initialization-verification.service.d.ts","sourceRoot":"","sources":["../../../../src/services/application/application-initialization-verification.service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"application-initialization-verification.service.d.ts","sourceRoot":"","sources":["../../../../src/services/application/application-initialization-verification.service.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAEhF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAClG,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,qDAAqD,CAAC;AAU5G,+FAA+F;AAC/F,wBAAgB,kCAAkC,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,SAAiC,GAAG,MAAM,CAgB1H;AAkBD,MAAM,WAAW,0CAA0C;IACzD,GAAG,EAAE,gCAAgC,CAAC;IACtC,WAAW,EAAE,sBAAsB,CAAC;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB;;;;;;OAMG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;;;;;OAQG;IACH,kBAAkB,EAAE,0BAA0B,CAAC;IAC/C,yGAAyG;IACzG,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;;;;;;;;;GAUG;AACH,qBAAa,4CAA4C;WAC1C,cAAc,CACzB,KAAK,EAAE,0CAA0C,GAChD,OAAO,CAAC,IAAI,CAAC;IAuEhB;;;;;;;;;;;;;;;;;OAiBG;mBACkB,oCAAoC;CA0B1D"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { sign } from 'node:crypto';
|
|
2
|
-
import { PlatformApplicationType } from '@wildo-ai/saas-backend-lib';
|
|
2
|
+
import { fetchVerifiedAppsManagerJson, PlatformApplicationType } from '@wildo-ai/saas-backend-lib';
|
|
3
3
|
import { WildoHeaderKeys } from '@wildo-ai/saas-models';
|
|
4
|
-
import { APPS_MANAGER_APPLICATION_CONFIG_PATH } from '@wildo-ai/platform-config-lib';
|
|
4
|
+
import { APPLICATION_BACKEND_PRINCIPAL, APPS_MANAGER_APPLICATION_CONFIG_PATH, buildRuntimeResponseVerificationKeySet, isRuntimeResponseVerificationError, parseRuntimeResponseVerificationKeySet, } from '@wildo-ai/platform-config-lib';
|
|
5
5
|
import { AppBootstrapService } from '../../services/application/app-bootstrap.service.js';
|
|
6
6
|
import { AddressPerspective, ServiceAddressResolver } from '../../services/catalog/service-address-resolver.service.js';
|
|
7
7
|
import { ErrorUtils } from '../../infrastructure/errors/error.utils.js';
|
|
@@ -27,6 +27,19 @@ export function signAppsManagerInitializationProbe(privateKey, nowSeconds = Math
|
|
|
27
27
|
}).toString('base64url');
|
|
28
28
|
return `${signingInput}.${signature}`;
|
|
29
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* apps-manager's response verification keys (current, then next), from the platform credentials: the same two public
|
|
32
|
+
* halves every runtime's `PLATFORM_APPS_MANAGER_RESPONSE_VERIFICATION_KEYS` is built from. Fails loud without them,
|
|
33
|
+
* because a probe that cannot verify the answer must not vouch for it.
|
|
34
|
+
*/
|
|
35
|
+
function appsManagerResponseVerificationKeys(credentials) {
|
|
36
|
+
const keys = credentials.platform.appsManagerResponseSigning;
|
|
37
|
+
if (!keys) {
|
|
38
|
+
throw new Error("Initialization verification cannot verify apps-manager's answer: secrets.platform.appsManagerResponseSigning is "
|
|
39
|
+
+ 'missing (#2921). Run `wildo config sync` (or `wildo local dev`), which mints the response keys into secrets.json.');
|
|
40
|
+
}
|
|
41
|
+
return parseRuntimeResponseVerificationKeySet(buildRuntimeResponseVerificationKeySet([keys.publicKey, keys.nextPublicKey]));
|
|
42
|
+
}
|
|
30
43
|
/**
|
|
31
44
|
* Executable postcondition for a complete platform + application initialization generation. Health and
|
|
32
45
|
* successful writes are insufficient: this crosses the real JWT verification door and reads the exact app
|
|
@@ -46,9 +59,13 @@ export class ApplicationInitializationVerificationService {
|
|
|
46
59
|
})();
|
|
47
60
|
const token = signAppsManagerInitializationProbe(input.credentials.platform.appsManager.privateKey);
|
|
48
61
|
const url = `${appsManagerUrl.replace(/\/$/, '')}${APPS_MANAGER_APPLICATION_CONFIG_PATH}`;
|
|
62
|
+
const keys = appsManagerResponseVerificationKeys(input.credentials);
|
|
63
|
+
// assurance-control: WILDO.SECRETS.CONTRACT_INTEGRITY — the initialization postcondition trusts no configuration apps-manager did not sign for this application and this request (#2950)
|
|
49
64
|
let response;
|
|
65
|
+
let body;
|
|
50
66
|
try {
|
|
51
|
-
|
|
67
|
+
// apps-manager answers a platform caller as the application's BACKEND principal, so that is the audience checked.
|
|
68
|
+
({ response, body } = await fetchVerifiedAppsManagerJson(url, {
|
|
52
69
|
method: 'GET',
|
|
53
70
|
headers: {
|
|
54
71
|
[WildoHeaderKeys.AUTHORIZATION]: `Bearer ${token}`,
|
|
@@ -56,19 +73,22 @@ export class ApplicationInitializationVerificationService {
|
|
|
56
73
|
[WildoHeaderKeys.TARGET_APP_SLUG]: input.appSlug,
|
|
57
74
|
},
|
|
58
75
|
signal: AbortSignal.timeout(VERIFICATION_TIMEOUT_MS),
|
|
59
|
-
});
|
|
76
|
+
}, { keys, applicationId: input.applicationId, principal: APPLICATION_BACKEND_PRINCIPAL }));
|
|
60
77
|
}
|
|
61
78
|
catch (error) {
|
|
79
|
+
if (isRuntimeResponseVerificationError(error)) {
|
|
80
|
+
throw new Error(`Initialization verification refused apps-manager's answer at ${url} (${error.failure}): ${error.message}. `
|
|
81
|
+
+ `Whatever answered is not apps-manager signing for application ${input.applicationId}, so nothing it said is trusted.`);
|
|
82
|
+
}
|
|
62
83
|
throw new Error(`Initialization verification could not reach apps-manager at ${url}: ${ErrorUtils.extractErrorMessage(error)}`);
|
|
63
84
|
}
|
|
64
|
-
let body;
|
|
65
|
-
try {
|
|
66
|
-
body = await response.json();
|
|
67
|
-
}
|
|
68
|
-
catch {
|
|
69
|
-
body = null;
|
|
70
|
-
}
|
|
71
85
|
if (!response.ok) {
|
|
86
|
+
try {
|
|
87
|
+
body = await response.json();
|
|
88
|
+
}
|
|
89
|
+
catch {
|
|
90
|
+
body = null;
|
|
91
|
+
}
|
|
72
92
|
const diagnosis = response.status === 401
|
|
73
93
|
? 'The platform-owned apps-manager signing key and DB-persisted verification key are not one generation.'
|
|
74
94
|
: 'The registered application-config postcondition did not answer successfully.';
|
package/dist/src/services/application/application-initialization-verification.service.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-initialization-verification.service.js","sourceRoot":"","sources":["../../../../src/services/application/application-initialization-verification.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,EAA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,KAAK,CACb,qCAAqC,KAAK,CAAC,OAAO,4DAA4D,CAC/G,CAAC;QACJ,CAAC;QAED,MAAM,4CAA4C,CAAC,oCAAoC,CAAC,KAAK,CAAC,CAAC;IACjG,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACK,MAAM,CAAC,KAAK,CAAC,oCAAoC,CACvD,KAAiD;QAEjD,IAAI,OAAoC,CAAC;QACzC,IAAI,CAAC;YACH,OAAO,GAAG,MAAM,mBAAmB,CAAC,6BAA6B,CAAC,KAAK,CAAC,GAAG,EAAE,KAAK,CAAC,WAAW,EAAE;gBAC9F,OAAO,EAAE,KAAK,CAAC,OAAO;gBACtB,kBAAkB,EAAE,KAAK,CAAC,kBAAkB;gBAC5C,MAAM,EAAE,IAAI;aACb,CAAC,CAAC;QACL,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAI,KAAK,CACb,wEAAwE,KAAK,CAAC,OAAO,YAAY;kBAC/F,yBAAyB,UAAU,CAAC,mBAAmB,CAAC,KAAK,CAAC,IAAI;kBAClE,6FAA6F,CAChG,CAAC;QACJ,CAAC;QAED,IAAI,OAAO,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACrC,MAAM,IAAI,KAAK,CACb,4DAA4D,KAAK,CAAC,OAAO,2BAA2B;kBAClG,yCAAyC,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI;kBAC7E,2DAA2D,KAAK,CAAC,OAAO,EAAE,CAC7E,CAAC;QACJ,CAAC;IACH,CAAC;CACF","sourcesContent":["import { sign } from 'node:crypto';\nimport { PlatformApplicationType } from '@wildo-ai/saas-backend-lib';\nimport { WildoHeaderKeys } from '@wildo-ai/saas-models';\nimport { APPS_MANAGER_APPLICATION_CONFIG_PATH } from '@wildo-ai/platform-config-lib';\nimport type { AdminAppManagedDeclaration } from '@wildo-ai/platform-config-lib';\nimport { AppBootstrapService } from '~wildo-cli/services/application/app-bootstrap.service';\nimport type { PlatformEnvSecretsJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\nimport { AddressPerspective, ServiceAddressResolver } from '~wildo-cli/services/catalog/service-address-resolver.service';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\n\nconst VERIFICATION_TIMEOUT_MS = 15_000;\n\nfunction encodeJwtPart(value: unknown): string {\n return Buffer.from(JSON.stringify(value)).toString('base64url');\n}\n\n/** Sign the exact PLATFORM_TO_PLATFORM token apps-manager must accept after initialization. */\nexport function signAppsManagerInitializationProbe(privateKey: string, nowSeconds = Math.floor(Date.now() / 1_000)): string {\n const serviceId = PlatformApplicationType.PLATFORM_APPS_MANAGER;\n const header = encodeJwtPart({ alg: 'ES256', typ: 'JWT' });\n const payload = encodeJwtPart({\n iss: serviceId,\n sub: serviceId,\n aud: serviceId,\n iat: nowSeconds,\n exp: nowSeconds + 60,\n });\n const signingInput = `${header}.${payload}`;\n const signature = sign('sha256', Buffer.from(signingInput), {\n key: privateKey,\n dsaEncoding: 'ieee-p1363',\n }).toString('base64url');\n return `${signingInput}.${signature}`;\n}\n\nexport interface ApplicationInitializationVerificationInput {\n env: PlatformEnvironmentConfiguration;\n credentials: PlatformEnvSecretsJson;\n appSlug: string;\n /**\n * The declaration this initialization was performed against, i.e. the current\n * `wildo.saas.config.ts` projection.\n *\n * REQUIRED, deliberately. This is the only input that lets the postcondition COMPARE rather than\n * merely assert existence, and an optional field is one a caller silently omits — which is how\n * issue #97's \"managed application config verified\" came to pass against a document that\n * contradicted the authored source in an operator-visible way.\n */\n managedDeclaration: AdminAppManagedDeclaration;\n /** Test/diagnostic override. Normal callers derive this from the registered service address resolver. */\n appsManagerUrl?: string;\n}\n\n/**\n * Executable postcondition for a complete platform + application initialization generation. Health and\n * successful writes are insufficient: this crosses the real JWT verification door and reads the exact app\n * config that generated runtimes will consume.\n *\n * It then asks the harder question — is that config the same GENERATION as the declaration this\n * initialization was performed against? A postcondition that only proves a document EXISTS cannot fail\n * on the defect it is named after, and a verification that cannot fail is worse than none because it\n * actively discourages looking (issue #97: the stored provider configuration had been frozen at\n * registration for a day while every run reported the config coherent).\n */\nexport class ApplicationInitializationVerificationService {\n static async assertCoherent(\n input: ApplicationInitializationVerificationInput,\n ): Promise<void> {\n const appsManagerUrl = input.appsManagerUrl ?? (() => {\n const addressContext = ServiceAddressResolver.fromEnvironment(\n input.env,\n AddressPerspective.HOST_FACING,\n );\n return ServiceAddressResolver.resolve(addressContext).platform.appsManager.url;\n })();\n const token = signAppsManagerInitializationProbe(input.credentials.platform.appsManager.privateKey);\n const url = `${appsManagerUrl.replace(/\\/$/, '')}${APPS_MANAGER_APPLICATION_CONFIG_PATH}`;\n\n let response: Response;\n try {\n response = await fetch(url, {\n method: 'GET',\n headers: {\n [WildoHeaderKeys.AUTHORIZATION]: `Bearer ${token}`,\n [WildoHeaderKeys.SERVICE_ID]: PlatformApplicationType.PLATFORM_APPS_MANAGER,\n [WildoHeaderKeys.TARGET_APP_SLUG]: input.appSlug,\n },\n signal: AbortSignal.timeout(VERIFICATION_TIMEOUT_MS),\n });\n } catch (error) {\n throw new Error(\n `Initialization verification could not reach apps-manager at ${url}: ${ErrorUtils.extractErrorMessage(error)}`,\n );\n }\n\n let body: unknown;\n try {\n body = await response.json();\n } catch {\n body = null;\n }\n\n if (!response.ok) {\n const diagnosis = response.status === 401\n ? 'The platform-owned apps-manager signing key and DB-persisted verification key are not one generation.'\n : 'The registered application-config postcondition did not answer successfully.';\n throw new Error(\n `Initialization verification failed with HTTP ${response.status}. ${diagnosis} Body: ${JSON.stringify(body).slice(0, 500)}`,\n );\n }\n\n const outer = body && typeof body === 'object' ? body as Record<string, unknown> : {};\n const candidate = outer.data && typeof outer.data === 'object'\n ? outer.data as Record<string, unknown>\n : outer;\n if (candidate.appSlug !== input.appSlug) {\n throw new Error(\n `Initialization verification read appSlug '${String(candidate.appSlug)}', expected '${input.appSlug}'.`,\n );\n }\n const frontends = candidate.frontendServices;\n if (!frontends || typeof frontends !== 'object' || Array.isArray(frontends) || Object.keys(frontends).length === 0) {\n throw new Error(\n `Initialization verification read '${input.appSlug}' without a non-empty managed frontendServices projection.`,\n );\n }\n\n await ApplicationInitializationVerificationService.assertStoredConfigMatchesDeclaration(input);\n }\n\n /**\n * Ask apps-manager what a declaration reapply WOULD change. An empty `updatedFields` is the\n * coherence proof; a non-empty one names the exact stale slices.\n *\n * The comparison is deliberately NOT re-implemented here. `reapplyManagedDeclaration` is the one\n * owner of the declaration projection, so asking IT the question means the check can never vouch\n * for a projection it no longer describes — the call-site divergence\n * `.claude/rules/invariant-call-site-enumeration.md` exists to prevent.\n *\n * This runs AFTER the projection has been converged — by `/initialize` on a normal registration,\n * or by `DegradedRegistrationDeclarationConvergenceService` when registration degraded and never\n * called `/initialize` (until 2026-10-01 nothing covered that path, and an ordinary\n * `engineCapabilities` edit stopped `wildo local dev` here). So on a LOCAL start drift here is not\n * \"the operator forgot to reapply\" — it is the convergence having failed to hold, which is a defect\n * worth stopping on rather than warning about. The one exception is a degraded NON-local start: the\n * convergence step deliberately leaves a remote environment alone, so drift there is the\n * operator's to apply, and the remedy below is the right one.\n */\n private static async assertStoredConfigMatchesDeclaration(\n input: ApplicationInitializationVerificationInput,\n ): Promise<void> {\n let preview: { updatedFields: string[] };\n try {\n preview = await AppBootstrapService.reapplyApplicationDeclaration(input.env, input.credentials, {\n appSlug: input.appSlug,\n managedDeclaration: input.managedDeclaration,\n dryRun: true,\n });\n } catch (error) {\n throw new Error(\n `Initialization verification could not compare the stored config for '${input.appSlug}' against `\n + `wildo.saas.config.ts: ${ErrorUtils.extractErrorMessage(error)}. `\n + 'The comparison is not optional — an initialization that cannot be compared is not verified.',\n );\n }\n\n if (preview.updatedFields.length > 0) {\n throw new Error(\n `Initialization verification found the stored config for '${input.appSlug}' out of generation with `\n + `wildo.saas.config.ts. Stale slice(s): ${preview.updatedFields.join(', ')}. `\n + `Apply them with: wildo config reapply-declaration --app ${input.appSlug}`,\n );\n }\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"application-initialization-verification.service.js","sourceRoot":"","sources":["../../../../src/services/application/application-initialization-verification.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,4BAA4B,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACnG,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EACL,6BAA6B,EAC7B,oCAAoC,EACpC,sCAAsC,EACtC,kCAAkC,EAClC,sCAAsC,GAEvC,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uDAAuD,CAAC;AAG5F,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,8DAA8D,CAAC;AAC1H,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAE1E,MAAM,uBAAuB,GAAG,MAAM,CAAC;AAEvC,SAAS,aAAa,CAAC,KAAc;IACnC,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;AAClE,CAAC;AAED,+FAA+F;AAC/F,MAAM,UAAU,kCAAkC,CAAC,UAAkB,EAAE,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,KAAK,CAAC;IAChH,MAAM,SAAS,GAAG,uBAAuB,CAAC,qBAAqB,CAAC;IAChE,MAAM,MAAM,GAAG,aAAa,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,CAAC;IAC3D,MAAM,OAAO,GAAG,aAAa,CAAC;QAC5B,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,UAAU;QACf,GAAG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;;;;;;;;;;;OAiBG;IACK,MAAM,CAAC,KAAK,CAAC,oCAAoC,CACvD,KAAiD;QAEjD,IAAI,OAAoC,CAAC;QACzC,IAAI,CAAC;YACH,OAAO,GAAG,MAAM,mBAAmB,CAAC,6BAA6B,CAAC,KAAK,CAAC,GAAG,EAAE,KAAK,CAAC,WAAW,EAAE;gBAC9F,OAAO,EAAE,KAAK,CAAC,OAAO;gBACtB,kBAAkB,EAAE,KAAK,CAAC,kBAAkB;gBAC5C,MAAM,EAAE,IAAI;aACb,CAAC,CAAC;QACL,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAI,KAAK,CACb,wEAAwE,KAAK,CAAC,OAAO,YAAY;kBAC/F,yBAAyB,UAAU,CAAC,mBAAmB,CAAC,KAAK,CAAC,IAAI;kBAClE,6FAA6F,CAChG,CAAC;QACJ,CAAC;QAED,IAAI,OAAO,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACrC,MAAM,IAAI,KAAK,CACb,4DAA4D,KAAK,CAAC,OAAO,2BAA2B;kBAClG,yCAAyC,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI;kBAC7E,2DAA2D,KAAK,CAAC,OAAO,EAAE,CAC7E,CAAC;QACJ,CAAC;IACH,CAAC;CACF","sourcesContent":["import { sign } from 'node:crypto';\nimport { fetchVerifiedAppsManagerJson, PlatformApplicationType } from '@wildo-ai/saas-backend-lib';\nimport { WildoHeaderKeys } from '@wildo-ai/saas-models';\nimport {\n APPLICATION_BACKEND_PRINCIPAL,\n APPS_MANAGER_APPLICATION_CONFIG_PATH,\n buildRuntimeResponseVerificationKeySet,\n isRuntimeResponseVerificationError,\n parseRuntimeResponseVerificationKeySet,\n type RuntimeResponseVerificationKey,\n} from '@wildo-ai/platform-config-lib';\nimport type { AdminAppManagedDeclaration } from '@wildo-ai/platform-config-lib';\nimport { AppBootstrapService } from '~wildo-cli/services/application/app-bootstrap.service';\nimport type { PlatformEnvSecretsJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\nimport { AddressPerspective, ServiceAddressResolver } from '~wildo-cli/services/catalog/service-address-resolver.service';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\n\nconst VERIFICATION_TIMEOUT_MS = 15_000;\n\nfunction encodeJwtPart(value: unknown): string {\n return Buffer.from(JSON.stringify(value)).toString('base64url');\n}\n\n/** Sign the exact PLATFORM_TO_PLATFORM token apps-manager must accept after initialization. */\nexport function signAppsManagerInitializationProbe(privateKey: string, nowSeconds = Math.floor(Date.now() / 1_000)): string {\n const serviceId = PlatformApplicationType.PLATFORM_APPS_MANAGER;\n const header = encodeJwtPart({ alg: 'ES256', typ: 'JWT' });\n const payload = encodeJwtPart({\n iss: serviceId,\n sub: serviceId,\n aud: serviceId,\n iat: nowSeconds,\n exp: nowSeconds + 60,\n });\n const signingInput = `${header}.${payload}`;\n const signature = sign('sha256', Buffer.from(signingInput), {\n key: privateKey,\n dsaEncoding: 'ieee-p1363',\n }).toString('base64url');\n return `${signingInput}.${signature}`;\n}\n\n/**\n * apps-manager's response verification keys (current, then next), from the platform credentials: the same two public\n * halves every runtime's `PLATFORM_APPS_MANAGER_RESPONSE_VERIFICATION_KEYS` is built from. Fails loud without them,\n * because a probe that cannot verify the answer must not vouch for it.\n */\nfunction appsManagerResponseVerificationKeys(credentials: PlatformEnvSecretsJson): RuntimeResponseVerificationKey[] {\n const keys = credentials.platform.appsManagerResponseSigning;\n if (!keys) {\n throw new Error(\n \"Initialization verification cannot verify apps-manager's answer: secrets.platform.appsManagerResponseSigning is \"\n + 'missing (#2921). Run `wildo config sync` (or `wildo local dev`), which mints the response keys into secrets.json.',\n );\n }\n return parseRuntimeResponseVerificationKeySet(buildRuntimeResponseVerificationKeySet([keys.publicKey, keys.nextPublicKey]));\n}\n\nexport interface ApplicationInitializationVerificationInput {\n env: PlatformEnvironmentConfiguration;\n credentials: PlatformEnvSecretsJson;\n appSlug: string;\n /**\n * The application's id, as the registration this run just performed returned it (`APPLICATION_ID` of its bootstrap\n * credentials). It is the AUDIENCE of apps-manager's signed answer (#2950): apps-manager signs every\n * `apps-to-manager` answer for the application's id, whichever header addressed it, so the probe learns the id from\n * the registration rather than asking apps-manager to bind a second, slug-shaped audience. One audience vocabulary\n * for every reader of the channel.\n */\n applicationId: string;\n /**\n * The declaration this initialization was performed against, i.e. the current\n * `wildo.saas.config.ts` projection.\n *\n * REQUIRED, deliberately. This is the only input that lets the postcondition COMPARE rather than\n * merely assert existence, and an optional field is one a caller silently omits — which is how\n * issue #97's \"managed application config verified\" came to pass against a document that\n * contradicted the authored source in an operator-visible way.\n */\n managedDeclaration: AdminAppManagedDeclaration;\n /** Test/diagnostic override. Normal callers derive this from the registered service address resolver. */\n appsManagerUrl?: string;\n}\n\n/**\n * Executable postcondition for a complete platform + application initialization generation. Health and\n * successful writes are insufficient: this crosses the real JWT verification door and reads the exact app\n * config that generated runtimes will consume.\n *\n * It then asks the harder question — is that config the same GENERATION as the declaration this\n * initialization was performed against? A postcondition that only proves a document EXISTS cannot fail\n * on the defect it is named after, and a verification that cannot fail is worse than none because it\n * actively discourages looking (issue #97: the stored provider configuration had been frozen at\n * registration for a day while every run reported the config coherent).\n */\nexport class ApplicationInitializationVerificationService {\n static async assertCoherent(\n input: ApplicationInitializationVerificationInput,\n ): Promise<void> {\n const appsManagerUrl = input.appsManagerUrl ?? (() => {\n const addressContext = ServiceAddressResolver.fromEnvironment(\n input.env,\n AddressPerspective.HOST_FACING,\n );\n return ServiceAddressResolver.resolve(addressContext).platform.appsManager.url;\n })();\n const token = signAppsManagerInitializationProbe(input.credentials.platform.appsManager.privateKey);\n const url = `${appsManagerUrl.replace(/\\/$/, '')}${APPS_MANAGER_APPLICATION_CONFIG_PATH}`;\n const keys = appsManagerResponseVerificationKeys(input.credentials);\n\n // assurance-control: WILDO.SECRETS.CONTRACT_INTEGRITY — the initialization postcondition trusts no configuration apps-manager did not sign for this application and this request (#2950)\n let response: Response;\n let body: unknown;\n try {\n // apps-manager answers a platform caller as the application's BACKEND principal, so that is the audience checked.\n ({ response, body } = await fetchVerifiedAppsManagerJson(url, {\n method: 'GET',\n headers: {\n [WildoHeaderKeys.AUTHORIZATION]: `Bearer ${token}`,\n [WildoHeaderKeys.SERVICE_ID]: PlatformApplicationType.PLATFORM_APPS_MANAGER,\n [WildoHeaderKeys.TARGET_APP_SLUG]: input.appSlug,\n },\n signal: AbortSignal.timeout(VERIFICATION_TIMEOUT_MS),\n }, { keys, applicationId: input.applicationId, principal: APPLICATION_BACKEND_PRINCIPAL }));\n } catch (error) {\n if (isRuntimeResponseVerificationError(error)) {\n throw new Error(\n `Initialization verification refused apps-manager's answer at ${url} (${error.failure}): ${error.message}. `\n + `Whatever answered is not apps-manager signing for application ${input.applicationId}, so nothing it said is trusted.`,\n );\n }\n throw new Error(\n `Initialization verification could not reach apps-manager at ${url}: ${ErrorUtils.extractErrorMessage(error)}`,\n );\n }\n\n if (!response.ok) {\n try {\n body = await response.json();\n } catch {\n body = null;\n }\n const diagnosis = response.status === 401\n ? 'The platform-owned apps-manager signing key and DB-persisted verification key are not one generation.'\n : 'The registered application-config postcondition did not answer successfully.';\n throw new Error(\n `Initialization verification failed with HTTP ${response.status}. ${diagnosis} Body: ${JSON.stringify(body).slice(0, 500)}`,\n );\n }\n\n const outer = body && typeof body === 'object' ? body as Record<string, unknown> : {};\n const candidate = outer.data && typeof outer.data === 'object'\n ? outer.data as Record<string, unknown>\n : outer;\n if (candidate.appSlug !== input.appSlug) {\n throw new Error(\n `Initialization verification read appSlug '${String(candidate.appSlug)}', expected '${input.appSlug}'.`,\n );\n }\n const frontends = candidate.frontendServices;\n if (!frontends || typeof frontends !== 'object' || Array.isArray(frontends) || Object.keys(frontends).length === 0) {\n throw new Error(\n `Initialization verification read '${input.appSlug}' without a non-empty managed frontendServices projection.`,\n );\n }\n\n await ApplicationInitializationVerificationService.assertStoredConfigMatchesDeclaration(input);\n }\n\n /**\n * Ask apps-manager what a declaration reapply WOULD change. An empty `updatedFields` is the\n * coherence proof; a non-empty one names the exact stale slices.\n *\n * The comparison is deliberately NOT re-implemented here. `reapplyManagedDeclaration` is the one\n * owner of the declaration projection, so asking IT the question means the check can never vouch\n * for a projection it no longer describes — the call-site divergence\n * `.claude/rules/invariant-call-site-enumeration.md` exists to prevent.\n *\n * This runs AFTER the projection has been converged — by `/initialize` on a normal registration,\n * or by `DegradedRegistrationDeclarationConvergenceService` when registration degraded and never\n * called `/initialize` (until 2026-10-01 nothing covered that path, and an ordinary\n * `engineCapabilities` edit stopped `wildo local dev` here). So on a LOCAL start drift here is not\n * \"the operator forgot to reapply\" — it is the convergence having failed to hold, which is a defect\n * worth stopping on rather than warning about. The one exception is a degraded NON-local start: the\n * convergence step deliberately leaves a remote environment alone, so drift there is the\n * operator's to apply, and the remedy below is the right one.\n */\n private static async assertStoredConfigMatchesDeclaration(\n input: ApplicationInitializationVerificationInput,\n ): Promise<void> {\n let preview: { updatedFields: string[] };\n try {\n preview = await AppBootstrapService.reapplyApplicationDeclaration(input.env, input.credentials, {\n appSlug: input.appSlug,\n managedDeclaration: input.managedDeclaration,\n dryRun: true,\n });\n } catch (error) {\n throw new Error(\n `Initialization verification could not compare the stored config for '${input.appSlug}' against `\n + `wildo.saas.config.ts: ${ErrorUtils.extractErrorMessage(error)}. `\n + 'The comparison is not optional — an initialization that cannot be compared is not verified.',\n );\n }\n\n if (preview.updatedFields.length > 0) {\n throw new Error(\n `Initialization verification found the stored config for '${input.appSlug}' out of generation with `\n + `wildo.saas.config.ts. Stale slice(s): ${preview.updatedFields.join(', ')}. `\n + `Apply them with: wildo config reapply-declaration --app ${input.appSlug}`,\n );\n }\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-runtime-bootstrap.service.d.ts","sourceRoot":"","sources":["../../../../src/services/application/application-runtime-bootstrap.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAMH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEtD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAElG,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,qDAAqD,CAAC;AAM5G,MAAM,WAAW,gCAAgC;IAC/C,GAAG,EAAE,gCAAgC,CAAC;IACtC,WAAW,EAAE,sBAAsB,CAAC;IACpC,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,iCAAiC;IAChD,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,qBAAa,kCAAkC;WAChC,UAAU,CACrB,KAAK,EAAE,gCAAgC,GACtC,OAAO,CAAC,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"application-runtime-bootstrap.service.d.ts","sourceRoot":"","sources":["../../../../src/services/application/application-runtime-bootstrap.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAMH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEtD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAElG,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,qDAAqD,CAAC;AAM5G,MAAM,WAAW,gCAAgC;IAC/C,GAAG,EAAE,gCAAgC,CAAC;IACtC,WAAW,EAAE,sBAAsB,CAAC;IACpC,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,iCAAiC;IAChD,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,qBAAa,kCAAkC;WAChC,UAAU,CACrB,KAAK,EAAE,gCAAgC,GACtC,OAAO,CAAC,iCAAiC,CAAC;IA2J7C;;;;OAIG;IACH,OAAO,CAAC,MAAM,CAAC,sBAAsB;CAoCtC"}
|
|
@@ -116,6 +116,8 @@ export class ApplicationRuntimeBootstrapService {
|
|
|
116
116
|
env: resolvedEnv,
|
|
117
117
|
credentials: input.credentials,
|
|
118
118
|
appSlug: prepared.runtimeTarget.appSlug,
|
|
119
|
+
// The audience of apps-manager's signed answer (#2950): the id this run's registration returned.
|
|
120
|
+
applicationId: prepared.bootstrapCredentials.APPLICATION_ID,
|
|
119
121
|
// The declaration this run initialized against — what makes the postcondition a COMPARISON
|
|
120
122
|
// rather than an existence assertion (issue #97).
|
|
121
123
|
managedDeclaration: prepared.runtimeTarget.managedDeclaration,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-runtime-bootstrap.service.js","sourceRoot":"","sources":["../../../../src/services/application/application-runtime-bootstrap.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AAErE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uDAAuD,CAAC;AAE5F,OAAO,EAAE,IAAI,IAAI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AAO,CAAC,GAAG,EAAE,CAAC;QACrE,MAAM,IAAI,KAAK,CACb,0CAA0C,OAAO,CAAC,MAAM,OAAO,OAAO,CAAC,MAAM,eAAe;cAC1F,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,OAAO,QAAQ,CAAC,eAAe,EAAE,IAAI,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI;cACzF,8FAA8F;cAC9F,qFAAqF;cACrF,6EAA6E,CAChF,CAAC;IACJ,CAAC;CACF","sourcesContent":["/**\n * Canonical application-runtime bootstrap orchestration.\n *\n * This service is the single local lifecycle seam that turns an authored SaaS\n * application declaration into runnable process configuration:\n *\n * apps-manager registration by stable slug\n * -> bootstrap credential fetch\n * -> derived APPLICATION_ID persistence\n * -> backend/companion/frontend/worker/minion target projection\n * -> generated env materialization\n * -> declaration convergence, when registration degraded and so did not apply it\n * -> postcondition: JWT door + stored config compared against the declaration\n *\n * Callers must make apps-manager ready before entering this service. Keeping\n * that boundary explicit prevents application processes from racing the\n * database-owned identity/config/secrets records they consume at startup.\n */\n\nimport { existsSync } from 'node:fs';\nimport { join, relative } from 'node:path';\n\nimport { FILE_NAMES } from '~wildo-cli/infrastructure/io/io.schemas';\nimport type { Logger } from '~wildo-cli/kernel/types';\nimport { AppBootstrapService } from '~wildo-cli/services/application/app-bootstrap.service';\nimport type { PlatformEnvSecretsJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport { sync as envSync } from '~wildo-cli/services/environment/env-sync.service';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport { hydrateEnvironmentFromConfig } from '~wildo-cli/services/environment/environment-hydration.utils';\nimport { ApplicationInitializationVerificationService } from './application-initialization-verification.service';\nimport { DegradedRegistrationDeclarationConvergenceService } from './degraded-registration-declaration-convergence.service';\n\nexport interface ApplicationRuntimeBootstrapInput {\n env: PlatformEnvironmentConfiguration;\n credentials: PlatformEnvSecretsJson;\n frameworkPath: string;\n saasRoot: string;\n isFrameworkDeveloper: boolean;\n requestedAppSlug?: string | undefined;\n log: Logger;\n}\n\nexport interface ApplicationRuntimeBootstrapResult {\n backendCount: number;\n companionCount: number;\n frontendCount: number;\n workerCount: number;\n minionCount: number;\n}\n\nexport class ApplicationRuntimeBootstrapService {\n static async initialize(\n input: ApplicationRuntimeBootstrapInput,\n ): Promise<ApplicationRuntimeBootstrapResult> {\n const config = EnvironmentUtils.loadConfigJson(input.env.name);\n if (!config) {\n throw new Error(`No config for '${input.env.name}'. Run 'wildo setup' first.`);\n }\n\n /**\n * Reconcile the caller's environment record against `config.json` before any target is\n * projected from it. The record is a registry CACHE that persists only a subset of the\n * authored environment, so an identity field authored since the last write reads as\n * `undefined` here and every generator silently takes its default — see the contract on\n * {@link hydrateEnvironmentFromConfig} for what that cost when the default was `http`\n * against a TLS dev edge.\n */\n const resolvedEnv = hydrateEnvironmentFromConfig(input.env, config);\n\n const registeredTargetInput = {\n env: resolvedEnv,\n credentials: input.credentials,\n saasRoot: input.saasRoot,\n config,\n requestedAppSlug: input.requestedAppSlug,\n };\n\n input.log.info(' Registering application once and materializing every runtime target from one snapshot...');\n\n const prepared = await AppBootstrapService.prepareApplicationEnvTargets(registeredTargetInput);\n if (!prepared) {\n throw new Error(\n 'Application bootstrap resolved no application target. Check wildo.saas.config.ts and the selected application slug.',\n );\n }\n const projectionInput = { ...registeredTargetInput, prepared };\n\n // These builders are projections over the same prepared registration/credential generation. They no\n // longer make independent initialize + credential-fetch requests, so a single logical bootstrap cannot\n // mix observations from multiple control-plane generations.\n const applicationBackends = await AppBootstrapService.buildApplicationBackendTargets(\n projectionInput,\n );\n const companionApis = await AppBootstrapService.buildApplicationCompanionTargets(\n projectionInput,\n );\n const applicationWorkers = await AppBootstrapService.buildApplicationWorkerTargets(\n projectionInput,\n );\n const applicationMinions = await AppBootstrapService.buildApplicationMinionTargets(\n projectionInput,\n );\n const applicationFrontends = await AppBootstrapService.buildApplicationFrontendTargets({\n saasRoot: input.saasRoot,\n requestedAppSlug: input.requestedAppSlug,\n prepared,\n });\n\n const result: ApplicationRuntimeBootstrapResult = {\n backendCount: applicationBackends.length,\n companionCount: companionApis.length,\n frontendCount: applicationFrontends.length,\n workerCount: applicationWorkers.length,\n minionCount: applicationMinions.length,\n };\n const targetCount = Object.values(result).reduce((total, count) => total + count, 0);\n if (targetCount === 0) {\n throw new Error(\n 'Application bootstrap resolved no runtime targets. Check wildo.saas.config.ts and the selected application slug.',\n );\n }\n\n await envSync(\n resolvedEnv,\n input.credentials,\n {\n frameworkPath: input.frameworkPath,\n isFrameworkDeveloper: input.isFrameworkDeveloper,\n // Without it the foreign-owner skip in `envSync` can never apply, so `--register-only` — whose contract is\n // \"no shared substrate is touched\" — rewrote every platform service's env from THIS application (#1112).\n invokingAppRoot: input.saasRoot,\n applicationBackends,\n companionApis,\n applicationFrontends,\n applicationWorkers,\n applicationMinions,\n },\n input.log,\n );\n\n /*\n * Converge, then verify. A non-degraded registration has already applied the declaration through\n * `/initialize`; a DEGRADED one never called it, so the postcondition below would report the\n * author's own edit as drift. Apply the missing step first — see the service for exactly what it\n * will and will not apply unattended.\n */\n // Name what registration applied, so an edited declaration is never applied silently.\n if (prepared.declarationConvergedFields !== undefined && prepared.declarationConvergedFields.length > 0) {\n input.log.info(\n ` Applied wildo.saas.config.ts to the stored config of '${prepared.runtimeTarget.appSlug}' `\n + `— ${prepared.declarationConvergedFields.length} slice(s):`,\n );\n for (const field of prepared.declarationConvergedFields) {\n input.log.info(` • ${field}`);\n }\n }\n if (prepared.degraded) {\n await DegradedRegistrationDeclarationConvergenceService.converge({\n env: resolvedEnv,\n credentials: input.credentials,\n appSlug: prepared.runtimeTarget.appSlug,\n managedDeclaration: prepared.runtimeTarget.managedDeclaration,\n log: input.log,\n });\n }\n\n input.log.info(' Verifying the registered platform JWT door and managed application config...');\n await ApplicationInitializationVerificationService.assertCoherent({\n env: resolvedEnv,\n credentials: input.credentials,\n appSlug: prepared.runtimeTarget.appSlug,\n // The declaration this run initialized against — what makes the postcondition a COMPARISON\n // rather than an existence assertion (issue #97).\n managedDeclaration: prepared.runtimeTarget.managedDeclaration,\n });\n\n /*\n * The claim below says \"materialized\". Make it TRUE rather than hopeful.\n *\n * Every target here is a process that reads its `.env` at startup and fails without it, so\n * \"materialized\" has to mean the file is on disk — not that a writer was invoked. Until\n * 2026-09-10 it meant the second: the application env writes were gated on framework-developer\n * mode, so an app-creator application was told \"1 backend, 1 companion, 1 frontend materialized\"\n * with zero `.env` files written, and the failure surfaced much later and somewhere else — the\n * companion dying on `APPLICATION_ID ... undefined` inside `pnpm --parallel`, which took the\n * rest of the stack down with it and named nothing.\n *\n * A postcondition here is worth more than a checker: it fires in the run that caused it, names\n * the files, and cannot be true-by-accident. It also guards the reverse direction — a project\n * that never completed `wildo local init` now says so here instead of compiling happily and\n * running nothing.\n */\n ApplicationRuntimeBootstrapService.assertRuntimeEnvOnDisk(\n [...applicationBackends, ...companionApis, ...applicationFrontends,\n ...applicationWorkers, ...applicationMinions],\n input.log,\n );\n\n input.log.success(\n ` Application runtime materialized: ${result.backendCount} backend, `\n + `${result.companionCount} companion, ${result.frontendCount} frontend, `\n + `${result.workerCount} worker, ${result.minionCount} minion target(s).`,\n );\n return result;\n }\n\n /**\n * Refuse to report materialization for a target whose `.env` is not on disk.\n *\n * @see the note at the call site for the defect this exists to prevent.\n */\n private static assertRuntimeEnvOnDisk(\n targets: readonly { applicationRoot: string; relativeDir: string }[],\n log: Logger,\n ): void {\n /*\n * Only targets that actually carry both path fields are checkable. The type requires them, so a\n * target without them is a test double rather than a real runtime target — this postcondition\n * must not turn a partial mock into a crash (`join(undefined, ...)` throws a TypeError that\n * reads as a bug in the thing being verified). Anything skipped is REPORTED rather than hidden,\n * so a real target that somehow lost its anchor is still visible.\n */\n const checkable = targets.filter(\n (target) => typeof target?.applicationRoot === 'string' && typeof target?.relativeDir === 'string',\n );\n const skipped = targets.length - checkable.length;\n const missing = checkable\n .map((target) => join(target.applicationRoot, target.relativeDir, FILE_NAMES.DOT_ENV))\n .filter((path) => !existsSync(path));\n\n if (missing.length === 0) {\n log.info(\n ` Runtime env verified on disk for ${checkable.length} target(s).`\n + (skipped > 0 ? ` (${skipped} target(s) carried no path anchor and were not checkable.)` : ''),\n );\n return;\n }\n\n const applicationRoot = targets[0]?.applicationRoot ?? process.cwd();\n throw new Error(\n `Application runtime env is missing for ${missing.length} of ${targets.length} target(s):\\n`\n + `${missing.map((path) => ` - ${relative(applicationRoot, path) || path}`).join('\\n')}\\n`\n + 'Each of these is read at process startup, so the application would compile and then fail to '\n + 'run with an unrelated-looking validation error. Re-run `wildo local init` for this '\n + 'application; if it persists, the env generator did not receive this target.',\n );\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"application-runtime-bootstrap.service.js","sourceRoot":"","sources":["../../../../src/services/application/application-runtime-bootstrap.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AAErE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uDAAuD,CAAC;AAE5F,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAEnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,4BAA4B,EAAE,MAAM,6DAA6D,CAAC;AAC3G,OAAO,EAAE,4CAA4C,EAAE,MAAM,mDAAmD,CAAC;AACjH,OAAO,EAAE,iDAAiD,EAAE,MAAM,yDAAyD,CAAC;AAoB5H,MAAM,OAAO,kCAAkC;IAC7C,MAAM,CAAC,KAAK,CAAC,UAAU,CACrB,KAAuC;QAEv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C,IAAI,CAAC,IAAI;cACzF,8FAA8F;cAC9F,qFAAqF;cACrF,6EAA6E,CAChF,CAAC;IACJ,CAAC;CACF","sourcesContent":["/**\n * Canonical application-runtime bootstrap orchestration.\n *\n * This service is the single local lifecycle seam that turns an authored SaaS\n * application declaration into runnable process configuration:\n *\n * apps-manager registration by stable slug\n * -> bootstrap credential fetch\n * -> derived APPLICATION_ID persistence\n * -> backend/companion/frontend/worker/minion target projection\n * -> generated env materialization\n * -> declaration convergence, when registration degraded and so did not apply it\n * -> postcondition: JWT door + stored config compared against the declaration\n *\n * Callers must make apps-manager ready before entering this service. Keeping\n * that boundary explicit prevents application processes from racing the\n * database-owned identity/config/secrets records they consume at startup.\n */\n\nimport { existsSync } from 'node:fs';\nimport { join, relative } from 'node:path';\n\nimport { FILE_NAMES } from '~wildo-cli/infrastructure/io/io.schemas';\nimport type { Logger } from '~wildo-cli/kernel/types';\nimport { AppBootstrapService } from '~wildo-cli/services/application/app-bootstrap.service';\nimport type { PlatformEnvSecretsJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport { sync as envSync } from '~wildo-cli/services/environment/env-sync.service';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport { hydrateEnvironmentFromConfig } from '~wildo-cli/services/environment/environment-hydration.utils';\nimport { ApplicationInitializationVerificationService } from './application-initialization-verification.service';\nimport { DegradedRegistrationDeclarationConvergenceService } from './degraded-registration-declaration-convergence.service';\n\nexport interface ApplicationRuntimeBootstrapInput {\n env: PlatformEnvironmentConfiguration;\n credentials: PlatformEnvSecretsJson;\n frameworkPath: string;\n saasRoot: string;\n isFrameworkDeveloper: boolean;\n requestedAppSlug?: string | undefined;\n log: Logger;\n}\n\nexport interface ApplicationRuntimeBootstrapResult {\n backendCount: number;\n companionCount: number;\n frontendCount: number;\n workerCount: number;\n minionCount: number;\n}\n\nexport class ApplicationRuntimeBootstrapService {\n static async initialize(\n input: ApplicationRuntimeBootstrapInput,\n ): Promise<ApplicationRuntimeBootstrapResult> {\n const config = EnvironmentUtils.loadConfigJson(input.env.name);\n if (!config) {\n throw new Error(`No config for '${input.env.name}'. Run 'wildo setup' first.`);\n }\n\n /**\n * Reconcile the caller's environment record against `config.json` before any target is\n * projected from it. The record is a registry CACHE that persists only a subset of the\n * authored environment, so an identity field authored since the last write reads as\n * `undefined` here and every generator silently takes its default — see the contract on\n * {@link hydrateEnvironmentFromConfig} for what that cost when the default was `http`\n * against a TLS dev edge.\n */\n const resolvedEnv = hydrateEnvironmentFromConfig(input.env, config);\n\n const registeredTargetInput = {\n env: resolvedEnv,\n credentials: input.credentials,\n saasRoot: input.saasRoot,\n config,\n requestedAppSlug: input.requestedAppSlug,\n };\n\n input.log.info(' Registering application once and materializing every runtime target from one snapshot...');\n\n const prepared = await AppBootstrapService.prepareApplicationEnvTargets(registeredTargetInput);\n if (!prepared) {\n throw new Error(\n 'Application bootstrap resolved no application target. Check wildo.saas.config.ts and the selected application slug.',\n );\n }\n const projectionInput = { ...registeredTargetInput, prepared };\n\n // These builders are projections over the same prepared registration/credential generation. They no\n // longer make independent initialize + credential-fetch requests, so a single logical bootstrap cannot\n // mix observations from multiple control-plane generations.\n const applicationBackends = await AppBootstrapService.buildApplicationBackendTargets(\n projectionInput,\n );\n const companionApis = await AppBootstrapService.buildApplicationCompanionTargets(\n projectionInput,\n );\n const applicationWorkers = await AppBootstrapService.buildApplicationWorkerTargets(\n projectionInput,\n );\n const applicationMinions = await AppBootstrapService.buildApplicationMinionTargets(\n projectionInput,\n );\n const applicationFrontends = await AppBootstrapService.buildApplicationFrontendTargets({\n saasRoot: input.saasRoot,\n requestedAppSlug: input.requestedAppSlug,\n prepared,\n });\n\n const result: ApplicationRuntimeBootstrapResult = {\n backendCount: applicationBackends.length,\n companionCount: companionApis.length,\n frontendCount: applicationFrontends.length,\n workerCount: applicationWorkers.length,\n minionCount: applicationMinions.length,\n };\n const targetCount = Object.values(result).reduce((total, count) => total + count, 0);\n if (targetCount === 0) {\n throw new Error(\n 'Application bootstrap resolved no runtime targets. Check wildo.saas.config.ts and the selected application slug.',\n );\n }\n\n await envSync(\n resolvedEnv,\n input.credentials,\n {\n frameworkPath: input.frameworkPath,\n isFrameworkDeveloper: input.isFrameworkDeveloper,\n // Without it the foreign-owner skip in `envSync` can never apply, so `--register-only` — whose contract is\n // \"no shared substrate is touched\" — rewrote every platform service's env from THIS application (#1112).\n invokingAppRoot: input.saasRoot,\n applicationBackends,\n companionApis,\n applicationFrontends,\n applicationWorkers,\n applicationMinions,\n },\n input.log,\n );\n\n /*\n * Converge, then verify. A non-degraded registration has already applied the declaration through\n * `/initialize`; a DEGRADED one never called it, so the postcondition below would report the\n * author's own edit as drift. Apply the missing step first — see the service for exactly what it\n * will and will not apply unattended.\n */\n // Name what registration applied, so an edited declaration is never applied silently.\n if (prepared.declarationConvergedFields !== undefined && prepared.declarationConvergedFields.length > 0) {\n input.log.info(\n ` Applied wildo.saas.config.ts to the stored config of '${prepared.runtimeTarget.appSlug}' `\n + `— ${prepared.declarationConvergedFields.length} slice(s):`,\n );\n for (const field of prepared.declarationConvergedFields) {\n input.log.info(` • ${field}`);\n }\n }\n if (prepared.degraded) {\n await DegradedRegistrationDeclarationConvergenceService.converge({\n env: resolvedEnv,\n credentials: input.credentials,\n appSlug: prepared.runtimeTarget.appSlug,\n managedDeclaration: prepared.runtimeTarget.managedDeclaration,\n log: input.log,\n });\n }\n\n input.log.info(' Verifying the registered platform JWT door and managed application config...');\n await ApplicationInitializationVerificationService.assertCoherent({\n env: resolvedEnv,\n credentials: input.credentials,\n appSlug: prepared.runtimeTarget.appSlug,\n // The audience of apps-manager's signed answer (#2950): the id this run's registration returned.\n applicationId: prepared.bootstrapCredentials.APPLICATION_ID,\n // The declaration this run initialized against — what makes the postcondition a COMPARISON\n // rather than an existence assertion (issue #97).\n managedDeclaration: prepared.runtimeTarget.managedDeclaration,\n });\n\n /*\n * The claim below says \"materialized\". Make it TRUE rather than hopeful.\n *\n * Every target here is a process that reads its `.env` at startup and fails without it, so\n * \"materialized\" has to mean the file is on disk — not that a writer was invoked. Until\n * 2026-09-10 it meant the second: the application env writes were gated on framework-developer\n * mode, so an app-creator application was told \"1 backend, 1 companion, 1 frontend materialized\"\n * with zero `.env` files written, and the failure surfaced much later and somewhere else — the\n * companion dying on `APPLICATION_ID ... undefined` inside `pnpm --parallel`, which took the\n * rest of the stack down with it and named nothing.\n *\n * A postcondition here is worth more than a checker: it fires in the run that caused it, names\n * the files, and cannot be true-by-accident. It also guards the reverse direction — a project\n * that never completed `wildo local init` now says so here instead of compiling happily and\n * running nothing.\n */\n ApplicationRuntimeBootstrapService.assertRuntimeEnvOnDisk(\n [...applicationBackends, ...companionApis, ...applicationFrontends,\n ...applicationWorkers, ...applicationMinions],\n input.log,\n );\n\n input.log.success(\n ` Application runtime materialized: ${result.backendCount} backend, `\n + `${result.companionCount} companion, ${result.frontendCount} frontend, `\n + `${result.workerCount} worker, ${result.minionCount} minion target(s).`,\n );\n return result;\n }\n\n /**\n * Refuse to report materialization for a target whose `.env` is not on disk.\n *\n * @see the note at the call site for the defect this exists to prevent.\n */\n private static assertRuntimeEnvOnDisk(\n targets: readonly { applicationRoot: string; relativeDir: string }[],\n log: Logger,\n ): void {\n /*\n * Only targets that actually carry both path fields are checkable. The type requires them, so a\n * target without them is a test double rather than a real runtime target — this postcondition\n * must not turn a partial mock into a crash (`join(undefined, ...)` throws a TypeError that\n * reads as a bug in the thing being verified). Anything skipped is REPORTED rather than hidden,\n * so a real target that somehow lost its anchor is still visible.\n */\n const checkable = targets.filter(\n (target) => typeof target?.applicationRoot === 'string' && typeof target?.relativeDir === 'string',\n );\n const skipped = targets.length - checkable.length;\n const missing = checkable\n .map((target) => join(target.applicationRoot, target.relativeDir, FILE_NAMES.DOT_ENV))\n .filter((path) => !existsSync(path));\n\n if (missing.length === 0) {\n log.info(\n ` Runtime env verified on disk for ${checkable.length} target(s).`\n + (skipped > 0 ? ` (${skipped} target(s) carried no path anchor and were not checkable.)` : ''),\n );\n return;\n }\n\n const applicationRoot = targets[0]?.applicationRoot ?? process.cwd();\n throw new Error(\n `Application runtime env is missing for ${missing.length} of ${targets.length} target(s):\\n`\n + `${missing.map((path) => ` - ${relative(applicationRoot, path) || path}`).join('\\n')}\\n`\n + 'Each of these is read at process startup, so the application would compile and then fail to '\n + 'run with an unrelated-looking validation error. Re-run `wildo local init` for this '\n + 'application; if it persists, the env generator did not receive this target.',\n );\n }\n}\n"]}
|
|
@@ -2,7 +2,7 @@ import { type CompositionScenarioApplyPlan } from "@wildo-ai/application-creatio
|
|
|
2
2
|
/**
|
|
3
3
|
* Finish the CLI's composition preview against prospective file contents. Provider resolution sees
|
|
4
4
|
* newly created packages and workspace declarations without writing a temporary application tree.
|
|
5
|
-
* Fold
|
|
5
|
+
* Fold each resulting root file into every planned writer of that path; the sequential apply
|
|
6
6
|
* must never overwrite a computed override with an earlier authored-edit snapshot. The companion
|
|
7
7
|
* does not run this CLI-owned provider reconciliation; shared peer expansion lives in core planning.
|
|
8
8
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"composition-provider-plan.service.d.ts","sourceRoot":"","sources":["../../../../src/services/application/composition-provider-plan.service.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"composition-provider-plan.service.d.ts","sourceRoot":"","sources":["../../../../src/services/application/composition-provider-plan.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,4BAA4B,EAClC,MAAM,wCAAwC,CAAC;AAUhD;;;;;;GAMG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE;IAClD,IAAI,EAAE,4BAA4B,CAAC;IACnC,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,GAAG,EAAE;QAAE,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;QAAC,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;KAAE,CAAC;CAC3E,GAAG,4BAA4B,CAgC/B"}
|