@wildo-ai/wildo-cli 1.1.10 → 1.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/wildo.js +0 -0
- package/dist/src/commands/acp/probe.command.d.ts.map +1 -1
- package/dist/src/commands/acp/probe.command.js +2 -1
- package/dist/src/commands/acp/probe.command.js.map +1 -1
- package/dist/src/commands/align-deps.command.d.ts.map +1 -1
- package/dist/src/commands/align-deps.command.js +21 -3
- package/dist/src/commands/align-deps.command.js.map +1 -1
- package/dist/src/commands/assurance/assurance-command.utils.d.ts +14 -0
- package/dist/src/commands/assurance/assurance-command.utils.d.ts.map +1 -0
- package/dist/src/commands/assurance/assurance-command.utils.js +36 -0
- package/dist/src/commands/assurance/assurance-command.utils.js.map +1 -0
- package/dist/src/commands/assurance/report.command.d.ts +14 -0
- package/dist/src/commands/assurance/report.command.d.ts.map +1 -0
- package/dist/src/commands/assurance/report.command.js +28 -0
- package/dist/src/commands/assurance/report.command.js.map +1 -0
- package/dist/src/commands/assurance/run.command.d.ts +16 -0
- package/dist/src/commands/assurance/run.command.d.ts.map +1 -0
- package/dist/src/commands/assurance/run.command.js +49 -0
- package/dist/src/commands/assurance/run.command.js.map +1 -0
- package/dist/src/commands/assurance/schedule.command.d.ts +15 -0
- package/dist/src/commands/assurance/schedule.command.d.ts.map +1 -0
- package/dist/src/commands/assurance/schedule.command.js +49 -0
- package/dist/src/commands/assurance/schedule.command.js.map +1 -0
- package/dist/src/commands/blueprint/pack.command.d.ts +16 -0
- package/dist/src/commands/blueprint/pack.command.d.ts.map +1 -0
- package/dist/src/commands/blueprint/pack.command.js +86 -0
- package/dist/src/commands/blueprint/pack.command.js.map +1 -0
- package/dist/src/commands/blueprint/publish.command.d.ts +16 -0
- package/dist/src/commands/blueprint/publish.command.d.ts.map +1 -0
- package/dist/src/commands/blueprint/publish.command.js +114 -0
- package/dist/src/commands/blueprint/publish.command.js.map +1 -0
- package/dist/src/commands/blueprint/status.command.d.ts +14 -0
- package/dist/src/commands/blueprint/status.command.d.ts.map +1 -0
- package/dist/src/commands/blueprint/status.command.js +62 -0
- package/dist/src/commands/blueprint/status.command.js.map +1 -0
- package/dist/src/commands/build/accept.command.d.ts +4 -0
- package/dist/src/commands/build/accept.command.d.ts.map +1 -1
- package/dist/src/commands/build/accept.command.js +10 -1
- package/dist/src/commands/build/accept.command.js.map +1 -1
- package/dist/src/commands/build/approve.command.d.ts +18 -0
- package/dist/src/commands/build/approve.command.d.ts.map +1 -0
- package/dist/src/commands/build/approve.command.js +45 -0
- package/dist/src/commands/build/approve.command.js.map +1 -0
- package/dist/src/commands/build/checkpoint.command.d.ts +18 -0
- package/dist/src/commands/build/checkpoint.command.d.ts.map +1 -0
- package/dist/src/commands/build/checkpoint.command.js +36 -0
- package/dist/src/commands/build/checkpoint.command.js.map +1 -0
- package/dist/src/commands/build/close.command.d.ts +26 -0
- package/dist/src/commands/build/close.command.d.ts.map +1 -0
- package/dist/src/commands/build/close.command.js +58 -0
- package/dist/src/commands/build/close.command.js.map +1 -0
- package/dist/src/commands/build/dispatches.command.d.ts.map +1 -1
- package/dist/src/commands/build/dispatches.command.js +10 -4
- package/dist/src/commands/build/dispatches.command.js.map +1 -1
- package/dist/src/commands/build/next.command.d.ts.map +1 -1
- package/dist/src/commands/build/next.command.js +6 -1
- package/dist/src/commands/build/next.command.js.map +1 -1
- package/dist/src/commands/build/rearm.command.d.ts +6 -4
- package/dist/src/commands/build/rearm.command.d.ts.map +1 -1
- package/dist/src/commands/build/rearm.command.js +12 -7
- package/dist/src/commands/build/rearm.command.js.map +1 -1
- package/dist/src/commands/build/settle-window.command.d.ts +17 -0
- package/dist/src/commands/build/settle-window.command.d.ts.map +1 -0
- package/dist/src/commands/build/settle-window.command.js +42 -0
- package/dist/src/commands/build/settle-window.command.js.map +1 -0
- package/dist/src/commands/build/stop.command.d.ts +23 -0
- package/dist/src/commands/build/stop.command.d.ts.map +1 -0
- package/dist/src/commands/build/stop.command.js +52 -0
- package/dist/src/commands/build/stop.command.js.map +1 -0
- package/dist/src/commands/config/check-resources.command.d.ts +20 -6
- package/dist/src/commands/config/check-resources.command.d.ts.map +1 -1
- package/dist/src/commands/config/check-resources.command.js +36 -13
- package/dist/src/commands/config/check-resources.command.js.map +1 -1
- package/dist/src/commands/config/document-releases.command.d.ts +3 -0
- package/dist/src/commands/config/document-releases.command.d.ts.map +1 -1
- package/dist/src/commands/config/document-releases.command.js +3 -0
- package/dist/src/commands/config/document-releases.command.js.map +1 -1
- package/dist/src/commands/config/reapply-declaration.command.d.ts.map +1 -1
- package/dist/src/commands/config/reapply-declaration.command.js +24 -0
- package/dist/src/commands/config/reapply-declaration.command.js.map +1 -1
- package/dist/src/commands/config/sync.command.d.ts +17 -3
- package/dist/src/commands/config/sync.command.d.ts.map +1 -1
- package/dist/src/commands/config/sync.command.js +87 -19
- package/dist/src/commands/config/sync.command.js.map +1 -1
- package/dist/src/commands/config/validate.command.d.ts +3 -2
- package/dist/src/commands/config/validate.command.d.ts.map +1 -1
- package/dist/src/commands/config/validate.command.js +44 -12
- package/dist/src/commands/config/validate.command.js.map +1 -1
- package/dist/src/commands/context/context-command.utils.d.ts +6 -1
- package/dist/src/commands/context/context-command.utils.d.ts.map +1 -1
- package/dist/src/commands/context/context-command.utils.js +8 -2
- package/dist/src/commands/context/context-command.utils.js.map +1 -1
- package/dist/src/commands/context/elements.command.d.ts +5 -1
- package/dist/src/commands/context/elements.command.d.ts.map +1 -1
- package/dist/src/commands/context/elements.command.js +5 -1
- package/dist/src/commands/context/elements.command.js.map +1 -1
- package/dist/src/commands/context/journey.command.d.ts +33 -2
- package/dist/src/commands/context/journey.command.d.ts.map +1 -1
- package/dist/src/commands/context/journey.command.js +217 -36
- package/dist/src/commands/context/journey.command.js.map +1 -1
- package/dist/src/commands/context/launch-blockers.command.d.ts +4 -2
- package/dist/src/commands/context/launch-blockers.command.d.ts.map +1 -1
- package/dist/src/commands/context/launch-blockers.command.js +9 -6
- package/dist/src/commands/context/launch-blockers.command.js.map +1 -1
- package/dist/src/commands/context/pipelines.command.d.ts +2 -0
- package/dist/src/commands/context/pipelines.command.d.ts.map +1 -1
- package/dist/src/commands/context/pipelines.command.js +6 -3
- package/dist/src/commands/context/pipelines.command.js.map +1 -1
- package/dist/src/commands/creation/answer.command.d.ts +12 -0
- package/dist/src/commands/creation/answer.command.d.ts.map +1 -1
- package/dist/src/commands/creation/answer.command.js +71 -3
- package/dist/src/commands/creation/answer.command.js.map +1 -1
- package/dist/src/commands/creation/brief.command.d.ts +10 -3
- package/dist/src/commands/creation/brief.command.d.ts.map +1 -1
- package/dist/src/commands/creation/brief.command.js +22 -7
- package/dist/src/commands/creation/brief.command.js.map +1 -1
- package/dist/src/commands/creation/drive.command.d.ts +19 -0
- package/dist/src/commands/creation/drive.command.d.ts.map +1 -0
- package/dist/src/commands/creation/drive.command.js +110 -0
- package/dist/src/commands/creation/drive.command.js.map +1 -0
- package/dist/src/commands/creation/feed.command.d.ts +11 -0
- package/dist/src/commands/creation/feed.command.d.ts.map +1 -1
- package/dist/src/commands/creation/feed.command.js +78 -3
- package/dist/src/commands/creation/feed.command.js.map +1 -1
- package/dist/src/commands/creation/loop.command.d.ts +6 -0
- package/dist/src/commands/creation/loop.command.d.ts.map +1 -1
- package/dist/src/commands/creation/loop.command.js +16 -0
- package/dist/src/commands/creation/loop.command.js.map +1 -1
- package/dist/src/commands/creation/preflight.command.d.ts.map +1 -1
- package/dist/src/commands/creation/preflight.command.js +3 -1
- package/dist/src/commands/creation/preflight.command.js.map +1 -1
- package/dist/src/commands/creation/prompt-hook.command.d.ts +1 -1
- package/dist/src/commands/creation/prompt-hook.command.d.ts.map +1 -1
- package/dist/src/commands/creation/prompt-hook.command.js +7 -3
- package/dist/src/commands/creation/prompt-hook.command.js.map +1 -1
- package/dist/src/commands/creation/questions.command.d.ts.map +1 -1
- package/dist/src/commands/creation/questions.command.js +15 -1
- package/dist/src/commands/creation/questions.command.js.map +1 -1
- package/dist/src/commands/creation/report.command.d.ts.map +1 -1
- package/dist/src/commands/creation/report.command.js +12 -0
- package/dist/src/commands/creation/report.command.js.map +1 -1
- package/dist/src/commands/creation/revert.command.d.ts.map +1 -1
- package/dist/src/commands/creation/revert.command.js +2 -0
- package/dist/src/commands/creation/revert.command.js.map +1 -1
- package/dist/src/commands/creation/run.command.d.ts.map +1 -1
- package/dist/src/commands/creation/run.command.js +2 -1
- package/dist/src/commands/creation/run.command.js.map +1 -1
- package/dist/src/commands/creation/why.command.d.ts.map +1 -1
- package/dist/src/commands/creation/why.command.js +14 -9
- package/dist/src/commands/creation/why.command.js.map +1 -1
- package/dist/src/commands/creation/writes.command.d.ts +7 -0
- package/dist/src/commands/creation/writes.command.d.ts.map +1 -1
- package/dist/src/commands/creation/writes.command.js +21 -6
- package/dist/src/commands/creation/writes.command.js.map +1 -1
- package/dist/src/commands/db/db-schema-plan-migration.utils.d.ts +17 -0
- package/dist/src/commands/db/db-schema-plan-migration.utils.d.ts.map +1 -1
- package/dist/src/commands/db/db-schema-plan-migration.utils.js +27 -0
- package/dist/src/commands/db/db-schema-plan-migration.utils.js.map +1 -1
- package/dist/src/commands/db/db-schema-plan.utils.d.ts +33 -3
- package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
- package/dist/src/commands/db/db-schema-plan.utils.js +71 -6
- package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -1
- package/dist/src/commands/db/diff.command.d.ts +1 -1
- package/dist/src/commands/db/diff.command.js +3 -3
- package/dist/src/commands/db/diff.command.js.map +1 -1
- package/dist/src/commands/db/generate.command.d.ts +2 -3
- package/dist/src/commands/db/generate.command.d.ts.map +1 -1
- package/dist/src/commands/db/generate.command.js +34 -8
- package/dist/src/commands/db/generate.command.js.map +1 -1
- package/dist/src/commands/db/migrate.command.d.ts.map +1 -1
- package/dist/src/commands/db/migrate.command.js +9 -1
- package/dist/src/commands/db/migrate.command.js.map +1 -1
- package/dist/src/commands/dev/design-tokens-brand.command.d.ts +10 -0
- package/dist/src/commands/dev/design-tokens-brand.command.d.ts.map +1 -0
- package/dist/src/commands/dev/design-tokens-brand.command.js +24 -0
- package/dist/src/commands/dev/design-tokens-brand.command.js.map +1 -0
- package/dist/src/commands/dev/design-tokens-contract.command.d.ts +10 -0
- package/dist/src/commands/dev/design-tokens-contract.command.d.ts.map +1 -0
- package/dist/src/commands/dev/design-tokens-contract.command.js +24 -0
- package/dist/src/commands/dev/design-tokens-contract.command.js.map +1 -0
- package/dist/src/commands/dev/design-tokens-contrast.command.d.ts +10 -0
- package/dist/src/commands/dev/design-tokens-contrast.command.d.ts.map +1 -0
- package/dist/src/commands/dev/design-tokens-contrast.command.js +24 -0
- package/dist/src/commands/dev/design-tokens-contrast.command.js.map +1 -0
- package/dist/src/commands/dev/start.command.d.ts.map +1 -1
- package/dist/src/commands/dev/start.command.js +34 -8
- package/dist/src/commands/dev/start.command.js.map +1 -1
- package/dist/src/commands/docs/check.command.d.ts +25 -0
- package/dist/src/commands/docs/check.command.d.ts.map +1 -0
- package/dist/src/commands/docs/check.command.js +103 -0
- package/dist/src/commands/docs/check.command.js.map +1 -0
- package/dist/src/commands/frontend/look.command.d.ts +26 -0
- package/dist/src/commands/frontend/look.command.d.ts.map +1 -0
- package/dist/src/commands/frontend/look.command.js +132 -0
- package/dist/src/commands/frontend/look.command.js.map +1 -0
- package/dist/src/commands/fwk/dev-skills.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/dev-skills.command.js +23 -0
- package/dist/src/commands/fwk/dev-skills.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-blueprints.command.d.ts +12 -0
- package/dist/src/commands/fwk/generate-blueprints.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/generate-blueprints.command.js +76 -0
- package/dist/src/commands/fwk/generate-blueprints.command.js.map +1 -0
- package/dist/src/commands/fwk/generate-providers.command.js +2 -2
- package/dist/src/commands/fwk/generate-providers.command.js.map +1 -1
- package/dist/src/commands/fwk/graph.command.d.ts +1 -1
- package/dist/src/commands/fwk/graph.command.js +1 -1
- package/dist/src/commands/fwk/graph.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.d.ts +57 -3
- package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.js +424 -37
- package/dist/src/commands/fwk/publish-all.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-docker.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-docker.command.js +9 -0
- package/dist/src/commands/fwk/publish-docker.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-npm.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-npm.command.js +15 -4
- package/dist/src/commands/fwk/publish-npm.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-promote.command.d.ts +8 -0
- package/dist/src/commands/fwk/publish-promote.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/publish-promote.command.js +158 -0
- package/dist/src/commands/fwk/publish-promote.command.js.map +1 -0
- package/dist/src/commands/fwk/publish-providers.command.d.ts +19 -0
- package/dist/src/commands/fwk/publish-providers.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/publish-providers.command.js +88 -0
- package/dist/src/commands/fwk/publish-providers.command.js.map +1 -0
- package/dist/src/commands/fwk/registry-host.command.d.ts +41 -0
- package/dist/src/commands/fwk/registry-host.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/registry-host.command.js +393 -0
- package/dist/src/commands/fwk/registry-host.command.js.map +1 -0
- package/dist/src/commands/fwk/release.command.d.ts +22 -0
- package/dist/src/commands/fwk/release.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/release.command.js +216 -0
- package/dist/src/commands/fwk/release.command.js.map +1 -0
- package/dist/src/commands/fwk/version-show.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/version-show.command.js +1 -2
- package/dist/src/commands/fwk/version-show.command.js.map +1 -1
- package/dist/src/commands/generate/email-command.utils.d.ts +15 -2
- package/dist/src/commands/generate/email-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/email-command.utils.js +20 -7
- package/dist/src/commands/generate/email-command.utils.js.map +1 -1
- package/dist/src/commands/generate/email-status.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-status.command.js +2 -2
- package/dist/src/commands/generate/email-status.command.js.map +1 -1
- package/dist/src/commands/generate/email-translate.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-translate.command.js +2 -2
- package/dist/src/commands/generate/email-translate.command.js.map +1 -1
- package/dist/src/commands/generate/email.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email.command.js +2 -2
- package/dist/src/commands/generate/email.command.js.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.d.ts +30 -0
- package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.js +131 -14
- package/dist/src/commands/generate/labelling-command.utils.js.map +1 -1
- package/dist/src/commands/generate/labels.command.d.ts.map +1 -1
- package/dist/src/commands/generate/labels.command.js +10 -1
- package/dist/src/commands/generate/labels.command.js.map +1 -1
- package/dist/src/commands/generate/translate.command.d.ts +10 -0
- package/dist/src/commands/generate/translate.command.d.ts.map +1 -1
- package/dist/src/commands/generate/translate.command.js +37 -4
- package/dist/src/commands/generate/translate.command.js.map +1 -1
- package/dist/src/commands/help.command.d.ts.map +1 -1
- package/dist/src/commands/help.command.js +4 -0
- package/dist/src/commands/help.command.js.map +1 -1
- package/dist/src/commands/init.command.d.ts +70 -3
- package/dist/src/commands/init.command.d.ts.map +1 -1
- package/dist/src/commands/init.command.js +468 -33
- package/dist/src/commands/init.command.js.map +1 -1
- package/dist/src/commands/keys/legacy-envelope-key.command.d.ts +8 -0
- package/dist/src/commands/keys/legacy-envelope-key.command.d.ts.map +1 -0
- package/dist/src/commands/keys/legacy-envelope-key.command.js +140 -0
- package/dist/src/commands/keys/legacy-envelope-key.command.js.map +1 -0
- package/dist/src/commands/keys/rotate-signing-keys.command.d.ts +8 -0
- package/dist/src/commands/keys/rotate-signing-keys.command.d.ts.map +1 -0
- package/dist/src/commands/keys/rotate-signing-keys.command.js +158 -0
- package/dist/src/commands/keys/rotate-signing-keys.command.js.map +1 -0
- package/dist/src/commands/keys/rotate.command.d.ts +36 -0
- package/dist/src/commands/keys/rotate.command.d.ts.map +1 -0
- package/dist/src/commands/keys/rotate.command.js +140 -0
- package/dist/src/commands/keys/rotate.command.js.map +1 -0
- package/dist/src/commands/keys/thumbprint.command.d.ts +10 -0
- package/dist/src/commands/keys/thumbprint.command.d.ts.map +1 -0
- package/dist/src/commands/keys/thumbprint.command.js +64 -0
- package/dist/src/commands/keys/thumbprint.command.js.map +1 -0
- package/dist/src/commands/keys/vault-rotate-tokens.command.d.ts +7 -0
- package/dist/src/commands/keys/vault-rotate-tokens.command.d.ts.map +1 -0
- package/dist/src/commands/keys/vault-rotate-tokens.command.js +100 -0
- package/dist/src/commands/keys/vault-rotate-tokens.command.js.map +1 -0
- package/dist/src/commands/keys/vault-rotate-unseal-key.command.d.ts +7 -0
- package/dist/src/commands/keys/vault-rotate-unseal-key.command.d.ts.map +1 -0
- package/dist/src/commands/keys/vault-rotate-unseal-key.command.js +96 -0
- package/dist/src/commands/keys/vault-rotate-unseal-key.command.js.map +1 -0
- package/dist/src/commands/local/dev-status.command.d.ts +16 -4
- package/dist/src/commands/local/dev-status.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev-status.command.js +50 -6
- package/dist/src/commands/local/dev-status.command.js.map +1 -1
- package/dist/src/commands/local/dev.command.d.ts +17 -3
- package/dist/src/commands/local/dev.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev.command.js +88 -11
- package/dist/src/commands/local/dev.command.js.map +1 -1
- package/dist/src/commands/local/doctor.command.d.ts +18 -0
- package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
- package/dist/src/commands/local/doctor.command.js +129 -2
- package/dist/src/commands/local/doctor.command.js.map +1 -1
- package/dist/src/commands/local/down.command.d.ts.map +1 -1
- package/dist/src/commands/local/down.command.js +1 -2
- package/dist/src/commands/local/down.command.js.map +1 -1
- package/dist/src/commands/local/reinit.command.js +1 -1
- package/dist/src/commands/local/reinit.command.js.map +1 -1
- package/dist/src/commands/local/smoke.command.d.ts.map +1 -1
- package/dist/src/commands/local/smoke.command.js +3 -2
- package/dist/src/commands/local/smoke.command.js.map +1 -1
- package/dist/src/commands/local/sor-addresses.command.d.ts +20 -0
- package/dist/src/commands/local/sor-addresses.command.d.ts.map +1 -0
- package/dist/src/commands/local/sor-addresses.command.js +65 -0
- package/dist/src/commands/local/sor-addresses.command.js.map +1 -0
- package/dist/src/commands/local/sor-command.utils.d.ts +12 -0
- package/dist/src/commands/local/sor-command.utils.d.ts.map +1 -0
- package/dist/src/commands/local/sor-command.utils.js +28 -0
- package/dist/src/commands/local/sor-command.utils.js.map +1 -0
- package/dist/src/commands/local/sor-secrets.command.d.ts +20 -0
- package/dist/src/commands/local/sor-secrets.command.d.ts.map +1 -0
- package/dist/src/commands/local/sor-secrets.command.js +75 -0
- package/dist/src/commands/local/sor-secrets.command.js.map +1 -0
- package/dist/src/commands/local/sor-simulators.command.d.ts +21 -0
- package/dist/src/commands/local/sor-simulators.command.d.ts.map +1 -0
- package/dist/src/commands/local/sor-simulators.command.js +55 -0
- package/dist/src/commands/local/sor-simulators.command.js.map +1 -0
- package/dist/src/commands/local/up.command.d.ts +11 -5
- package/dist/src/commands/local/up.command.d.ts.map +1 -1
- package/dist/src/commands/local/up.command.js +51 -145
- package/dist/src/commands/local/up.command.js.map +1 -1
- package/dist/src/commands/lock/check.command.d.ts +15 -13
- package/dist/src/commands/lock/check.command.d.ts.map +1 -1
- package/dist/src/commands/lock/check.command.js +23 -30
- package/dist/src/commands/lock/check.command.js.map +1 -1
- package/dist/src/commands/market/generate.command.d.ts.map +1 -1
- package/dist/src/commands/market/generate.command.js +2 -1
- package/dist/src/commands/market/generate.command.js.map +1 -1
- package/dist/src/commands/providers/application-connection-session.utils.d.ts +9 -0
- package/dist/src/commands/providers/application-connection-session.utils.d.ts.map +1 -0
- package/dist/src/commands/providers/application-connection-session.utils.js +49 -0
- package/dist/src/commands/providers/application-connection-session.utils.js.map +1 -0
- package/dist/src/commands/providers/chat-command-registrations.utils.d.ts +32 -0
- package/dist/src/commands/providers/chat-command-registrations.utils.d.ts.map +1 -0
- package/dist/src/commands/providers/chat-command-registrations.utils.js +121 -0
- package/dist/src/commands/providers/chat-command-registrations.utils.js.map +1 -0
- package/dist/src/commands/providers/connect.command.d.ts +19 -0
- package/dist/src/commands/providers/connect.command.d.ts.map +1 -0
- package/dist/src/commands/providers/connect.command.js +247 -0
- package/dist/src/commands/providers/connect.command.js.map +1 -0
- package/dist/src/commands/providers/connections.command.d.ts +14 -0
- package/dist/src/commands/providers/connections.command.d.ts.map +1 -0
- package/dist/src/commands/providers/connections.command.js +74 -0
- package/dist/src/commands/providers/connections.command.js.map +1 -0
- package/dist/src/commands/providers/disconnect.command.d.ts +15 -0
- package/dist/src/commands/providers/disconnect.command.d.ts.map +1 -0
- package/dist/src/commands/providers/disconnect.command.js +91 -0
- package/dist/src/commands/providers/disconnect.command.js.map +1 -0
- package/dist/src/commands/providers/new.command.d.ts +14 -0
- package/dist/src/commands/providers/new.command.d.ts.map +1 -0
- package/dist/src/commands/providers/new.command.js +119 -0
- package/dist/src/commands/providers/new.command.js.map +1 -0
- package/dist/src/commands/providers/probe.command.d.ts +19 -0
- package/dist/src/commands/providers/probe.command.d.ts.map +1 -0
- package/dist/src/commands/providers/probe.command.js +164 -0
- package/dist/src/commands/providers/probe.command.js.map +1 -0
- package/dist/src/commands/providers/prove.command.d.ts +16 -0
- package/dist/src/commands/providers/prove.command.d.ts.map +1 -0
- package/dist/src/commands/providers/prove.command.js +174 -0
- package/dist/src/commands/providers/prove.command.js.map +1 -0
- package/dist/src/commands/providers/register.command.d.ts +34 -0
- package/dist/src/commands/providers/register.command.d.ts.map +1 -0
- package/dist/src/commands/providers/register.command.js +293 -0
- package/dist/src/commands/providers/register.command.js.map +1 -0
- package/dist/src/commands/providers/show.command.d.ts +1 -0
- package/dist/src/commands/providers/show.command.d.ts.map +1 -1
- package/dist/src/commands/providers/show.command.js +6 -46
- package/dist/src/commands/providers/show.command.js.map +1 -1
- package/dist/src/commands/registry/add.command.d.ts +3 -0
- package/dist/src/commands/registry/add.command.d.ts.map +1 -1
- package/dist/src/commands/registry/add.command.js +23 -212
- package/dist/src/commands/registry/add.command.js.map +1 -1
- package/dist/src/commands/registry/domain.command.d.ts +32 -0
- package/dist/src/commands/registry/domain.command.d.ts.map +1 -0
- package/dist/src/commands/registry/domain.command.js +118 -0
- package/dist/src/commands/registry/domain.command.js.map +1 -0
- package/dist/src/commands/registry/login.command.d.ts.map +1 -1
- package/dist/src/commands/registry/login.command.js +4 -2
- package/dist/src/commands/registry/login.command.js.map +1 -1
- package/dist/src/commands/registry/publish.command.d.ts.map +1 -1
- package/dist/src/commands/registry/publish.command.js +40 -50
- package/dist/src/commands/registry/publish.command.js.map +1 -1
- package/dist/src/commands/registry/remove.command.d.ts.map +1 -1
- package/dist/src/commands/registry/remove.command.js +16 -1
- package/dist/src/commands/registry/remove.command.js.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.d.ts +13 -2
- package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.js +137 -13
- package/dist/src/commands/registry/repair-lockfile.command.js.map +1 -1
- package/dist/src/commands/registry/search.command.d.ts.map +1 -1
- package/dist/src/commands/registry/search.command.js +4 -4
- package/dist/src/commands/registry/search.command.js.map +1 -1
- package/dist/src/commands/registry/update.command.d.ts.map +1 -1
- package/dist/src/commands/registry/update.command.js +22 -6
- package/dist/src/commands/registry/update.command.js.map +1 -1
- package/dist/src/commands/registry/whoami.command.d.ts.map +1 -1
- package/dist/src/commands/registry/whoami.command.js +4 -2
- package/dist/src/commands/registry/whoami.command.js.map +1 -1
- package/dist/src/commands/remote/sync.command.js +1 -1
- package/dist/src/commands/remote/sync.command.js.map +1 -1
- package/dist/src/commands/seal/dead.command.d.ts +11 -0
- package/dist/src/commands/seal/dead.command.d.ts.map +1 -0
- package/dist/src/commands/seal/dead.command.js +45 -0
- package/dist/src/commands/seal/dead.command.js.map +1 -0
- package/dist/src/commands/seal/export.command.d.ts +12 -0
- package/dist/src/commands/seal/export.command.d.ts.map +1 -0
- package/dist/src/commands/seal/export.command.js +67 -0
- package/dist/src/commands/seal/export.command.js.map +1 -0
- package/dist/src/commands/seal/log-export.command.d.ts +18 -0
- package/dist/src/commands/seal/log-export.command.d.ts.map +1 -0
- package/dist/src/commands/seal/log-export.command.js +98 -0
- package/dist/src/commands/seal/log-export.command.js.map +1 -0
- package/dist/src/commands/seal/log-verify.command.d.ts +13 -0
- package/dist/src/commands/seal/log-verify.command.d.ts.map +1 -0
- package/dist/src/commands/seal/log-verify.command.js +75 -0
- package/dist/src/commands/seal/log-verify.command.js.map +1 -0
- package/dist/src/commands/seal/rebuild-copy.command.d.ts +14 -0
- package/dist/src/commands/seal/rebuild-copy.command.d.ts.map +1 -0
- package/dist/src/commands/seal/rebuild-copy.command.js +48 -0
- package/dist/src/commands/seal/rebuild-copy.command.js.map +1 -0
- package/dist/src/commands/seal/retry.command.d.ts +12 -0
- package/dist/src/commands/seal/retry.command.d.ts.map +1 -0
- package/dist/src/commands/seal/retry.command.js +48 -0
- package/dist/src/commands/seal/retry.command.js.map +1 -0
- package/dist/src/commands/seal/seal-admin-door.utils.d.ts +13 -0
- package/dist/src/commands/seal/seal-admin-door.utils.d.ts.map +1 -0
- package/dist/src/commands/seal/seal-admin-door.utils.js +88 -0
- package/dist/src/commands/seal/seal-admin-door.utils.js.map +1 -0
- package/dist/src/commands/seal/signing-log-files.utils.d.ts +9 -0
- package/dist/src/commands/seal/signing-log-files.utils.d.ts.map +1 -0
- package/dist/src/commands/seal/signing-log-files.utils.js +15 -0
- package/dist/src/commands/seal/signing-log-files.utils.js.map +1 -0
- package/dist/src/commands/seal/verify.command.d.ts +27 -0
- package/dist/src/commands/seal/verify.command.d.ts.map +1 -0
- package/dist/src/commands/seal/verify.command.js +172 -0
- package/dist/src/commands/seal/verify.command.js.map +1 -0
- package/dist/src/commands/secrets/list.command.d.ts.map +1 -1
- package/dist/src/commands/secrets/list.command.js +3 -2
- package/dist/src/commands/secrets/list.command.js.map +1 -1
- package/dist/src/commands/secrets/set.command.d.ts.map +1 -1
- package/dist/src/commands/secrets/set.command.js +8 -5
- package/dist/src/commands/secrets/set.command.js.map +1 -1
- package/dist/src/commands/update.command.d.ts.map +1 -1
- package/dist/src/commands/update.command.js +89 -7
- package/dist/src/commands/update.command.js.map +1 -1
- package/dist/src/commands/website/audit.command.d.ts.map +1 -1
- package/dist/src/commands/website/audit.command.js +15 -1
- package/dist/src/commands/website/audit.command.js.map +1 -1
- package/dist/src/commands/website/look.command.d.ts +22 -0
- package/dist/src/commands/website/look.command.d.ts.map +1 -0
- package/dist/src/commands/website/look.command.js +147 -0
- package/dist/src/commands/website/look.command.js.map +1 -0
- package/dist/src/commands/workbench/open.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/open.command.js +12 -3
- package/dist/src/commands/workbench/open.command.js.map +1 -1
- package/dist/src/commands/workbench/status.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/status.command.js +2 -1
- package/dist/src/commands/workbench/status.command.js.map +1 -1
- package/dist/src/infrastructure/io/io.schemas.d.ts +4 -4
- package/dist/src/infrastructure/io/io.schemas.js +4 -4
- package/dist/src/infrastructure/io/io.schemas.js.map +1 -1
- package/dist/src/kernel/bootstrap.d.ts +10 -0
- package/dist/src/kernel/bootstrap.d.ts.map +1 -1
- package/dist/src/kernel/bootstrap.js +13 -1
- package/dist/src/kernel/bootstrap.js.map +1 -1
- package/dist/src/kernel/command-registry.d.ts.map +1 -1
- package/dist/src/kernel/command-registry.js +8 -0
- package/dist/src/kernel/command-registry.js.map +1 -1
- package/dist/src/kernel/command-runner.d.ts +5 -0
- package/dist/src/kernel/command-runner.d.ts.map +1 -1
- package/dist/src/kernel/command-runner.js +13 -1
- package/dist/src/kernel/command-runner.js.map +1 -1
- package/dist/src/kernel/hooks.d.ts.map +1 -1
- package/dist/src/kernel/hooks.js +5 -3
- package/dist/src/kernel/hooks.js.map +1 -1
- package/dist/src/kernel/json-document-output.d.ts +25 -0
- package/dist/src/kernel/json-document-output.d.ts.map +1 -0
- package/dist/src/kernel/json-document-output.js +29 -0
- package/dist/src/kernel/json-document-output.js.map +1 -0
- package/dist/src/kernel/logger.d.ts +16 -1
- package/dist/src/kernel/logger.d.ts.map +1 -1
- package/dist/src/kernel/logger.js +21 -4
- package/dist/src/kernel/logger.js.map +1 -1
- package/dist/src/kernel/types.d.ts +14 -1
- package/dist/src/kernel/types.d.ts.map +1 -1
- package/dist/src/kernel/types.js +13 -0
- package/dist/src/kernel/types.js.map +1 -1
- package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts +5 -1
- package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/creation-essentials.module.js +1 -4
- package/dist/src/modules/domain/credentials/creation-essentials.module.js.map +1 -1
- package/dist/src/services/application/ai-use-declarations.service.d.ts +89 -0
- package/dist/src/services/application/ai-use-declarations.service.d.ts.map +1 -0
- package/dist/src/services/application/ai-use-declarations.service.js +178 -0
- package/dist/src/services/application/ai-use-declarations.service.js.map +1 -0
- package/dist/src/services/application/app-bootstrap.service.d.ts +47 -3
- package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.js +158 -42
- package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/app-local-runtime-addresses.service.d.ts +19 -1
- package/dist/src/services/application/app-local-runtime-addresses.service.d.ts.map +1 -1
- package/dist/src/services/application/app-local-runtime-addresses.service.js +23 -5
- package/dist/src/services/application/app-local-runtime-addresses.service.js.map +1 -1
- package/dist/src/services/application/app-runtime-targets.service.d.ts +8 -1
- package/dist/src/services/application/app-runtime-targets.service.d.ts.map +1 -1
- package/dist/src/services/application/app-runtime-targets.service.js +23 -8
- package/dist/src/services/application/app-runtime-targets.service.js.map +1 -1
- package/dist/src/services/application/app-schema-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-schema-bootstrap.service.js +5 -1
- package/dist/src/services/application/app-schema-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.d.ts +6 -0
- package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.js +23 -2
- package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
- package/dist/src/services/application/application-browser-smoke.service.d.ts +23 -0
- package/dist/src/services/application/application-browser-smoke.service.d.ts.map +1 -1
- package/dist/src/services/application/application-browser-smoke.service.js +142 -19
- package/dist/src/services/application/application-browser-smoke.service.js.map +1 -1
- package/dist/src/services/application/application-creation-readiness.service.d.ts +10 -2
- package/dist/src/services/application/application-creation-readiness.service.d.ts.map +1 -1
- package/dist/src/services/application/application-creation-readiness.service.js +74 -21
- package/dist/src/services/application/application-creation-readiness.service.js.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.d.ts +62 -10
- package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.js +146 -22
- package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -1
- package/dist/src/services/application/application-dev-script-migration.service.d.ts +56 -0
- package/dist/src/services/application/application-dev-script-migration.service.d.ts.map +1 -0
- package/dist/src/services/application/application-dev-script-migration.service.js +208 -0
- package/dist/src/services/application/application-dev-script-migration.service.js.map +1 -0
- package/dist/src/services/application/application-initialization-verification.service.d.ts +8 -0
- package/dist/src/services/application/application-initialization-verification.service.d.ts.map +1 -1
- package/dist/src/services/application/application-initialization-verification.service.js +31 -11
- package/dist/src/services/application/application-initialization-verification.service.js.map +1 -1
- package/dist/src/services/application/application-runtime-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/application-runtime-bootstrap.service.js +2 -0
- package/dist/src/services/application/application-runtime-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/composition-provider-plan.service.d.ts +1 -1
- package/dist/src/services/application/composition-provider-plan.service.d.ts.map +1 -1
- package/dist/src/services/application/composition-provider-plan.service.js +53 -28
- package/dist/src/services/application/composition-provider-plan.service.js.map +1 -1
- package/dist/src/services/application/content-guardrail-classifier.service.d.ts +80 -0
- package/dist/src/services/application/content-guardrail-classifier.service.d.ts.map +1 -0
- package/dist/src/services/application/content-guardrail-classifier.service.js +199 -0
- package/dist/src/services/application/content-guardrail-classifier.service.js.map +1 -0
- package/dist/src/services/application/creation-host-readiness.service.d.ts +13 -1
- package/dist/src/services/application/creation-host-readiness.service.d.ts.map +1 -1
- package/dist/src/services/application/creation-host-readiness.service.js +44 -5
- package/dist/src/services/application/creation-host-readiness.service.js.map +1 -1
- package/dist/src/services/application/creation-preflight.service.d.ts +2 -2
- package/dist/src/services/application/creation-preflight.service.js +2 -2
- package/dist/src/services/application/creation-preflight.service.js.map +1 -1
- package/dist/src/services/application/dev-schema-drift.service.js +1 -1
- package/dist/src/services/application/dev-schema-drift.service.js.map +1 -1
- package/dist/src/services/application/engine-label-base-seeding.service.d.ts +85 -0
- package/dist/src/services/application/engine-label-base-seeding.service.d.ts.map +1 -0
- package/dist/src/services/application/engine-label-base-seeding.service.js +130 -0
- package/dist/src/services/application/engine-label-base-seeding.service.js.map +1 -0
- package/dist/src/services/application/environment-provider-configurations.service.d.ts.map +1 -1
- package/dist/src/services/application/environment-provider-configurations.service.js +96 -2
- package/dist/src/services/application/environment-provider-configurations.service.js.map +1 -1
- package/dist/src/services/application/frontend-provider-sdk-declarations.service.d.ts +23 -0
- package/dist/src/services/application/frontend-provider-sdk-declarations.service.d.ts.map +1 -0
- package/dist/src/services/application/frontend-provider-sdk-declarations.service.js +107 -0
- package/dist/src/services/application/frontend-provider-sdk-declarations.service.js.map +1 -0
- package/dist/src/services/application/frontend-providers-not-configured.service.d.ts +23 -0
- package/dist/src/services/application/frontend-providers-not-configured.service.d.ts.map +1 -0
- package/dist/src/services/application/frontend-providers-not-configured.service.js +62 -0
- package/dist/src/services/application/frontend-providers-not-configured.service.js.map +1 -0
- package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts +13 -2
- package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts.map +1 -1
- package/dist/src/services/application/frontend-public-config-secret-screen.service.js +4 -2
- package/dist/src/services/application/frontend-public-config-secret-screen.service.js.map +1 -1
- package/dist/src/services/application/infra-system-of-record-addresses.editor.d.ts +13 -0
- package/dist/src/services/application/infra-system-of-record-addresses.editor.d.ts.map +1 -0
- package/dist/src/services/application/infra-system-of-record-addresses.editor.js +185 -0
- package/dist/src/services/application/infra-system-of-record-addresses.editor.js.map +1 -0
- package/dist/src/services/application/provider-runtime-sync.service.d.ts +68 -9
- package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.js +300 -116
- package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.d.ts +59 -2
- package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.js +91 -24
- package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
- package/dist/src/services/application/system-of-record-simulators.service.d.ts +202 -0
- package/dist/src/services/application/system-of-record-simulators.service.d.ts.map +1 -0
- package/dist/src/services/application/system-of-record-simulators.service.js +433 -0
- package/dist/src/services/application/system-of-record-simulators.service.js.map +1 -0
- package/dist/src/services/application/systems-of-record-library.service.d.ts +1 -1
- package/dist/src/services/application/systems-of-record-library.service.d.ts.map +1 -1
- package/dist/src/services/application/systems-of-record-library.service.js +10 -6
- package/dist/src/services/application/systems-of-record-library.service.js.map +1 -1
- package/dist/src/services/assurance/assurance-cycle-location.service.d.ts +59 -0
- package/dist/src/services/assurance/assurance-cycle-location.service.d.ts.map +1 -0
- package/dist/src/services/assurance/assurance-cycle-location.service.js +139 -0
- package/dist/src/services/assurance/assurance-cycle-location.service.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-apply.service.d.ts +147 -0
- package/dist/src/services/blueprint/blueprint-apply.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-apply.service.js +490 -0
- package/dist/src/services/blueprint/blueprint-apply.service.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-artifact.service.d.ts +33 -0
- package/dist/src/services/blueprint/blueprint-artifact.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-artifact.service.js +89 -0
- package/dist/src/services/blueprint/blueprint-artifact.service.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-definition.reader.d.ts +37 -0
- package/dist/src/services/blueprint/blueprint-definition.reader.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-definition.reader.js +160 -0
- package/dist/src/services/blueprint/blueprint-definition.reader.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-export.service.d.ts +72 -0
- package/dist/src/services/blueprint/blueprint-export.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-export.service.js +900 -0
- package/dist/src/services/blueprint/blueprint-export.service.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-line.service.d.ts +76 -0
- package/dist/src/services/blueprint/blueprint-line.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-line.service.js +202 -0
- package/dist/src/services/blueprint/blueprint-line.service.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-module-references.service.d.ts +81 -0
- package/dist/src/services/blueprint/blueprint-module-references.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-module-references.service.js +185 -0
- package/dist/src/services/blueprint/blueprint-module-references.service.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-registry.service.d.ts +63 -0
- package/dist/src/services/blueprint/blueprint-registry.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-registry.service.js +119 -0
- package/dist/src/services/blueprint/blueprint-registry.service.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-report.d.ts +8 -0
- package/dist/src/services/blueprint/blueprint-report.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-report.js +32 -0
- package/dist/src/services/blueprint/blueprint-report.js.map +1 -0
- package/dist/src/services/blueprint/framework-blueprint-catalog.service.d.ts +31 -0
- package/dist/src/services/blueprint/framework-blueprint-catalog.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/framework-blueprint-catalog.service.js +65 -0
- package/dist/src/services/blueprint/framework-blueprint-catalog.service.js.map +1 -0
- package/dist/src/services/blueprint/framework-blueprints.service.d.ts +68 -0
- package/dist/src/services/blueprint/framework-blueprints.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/framework-blueprints.service.js +252 -0
- package/dist/src/services/blueprint/framework-blueprints.service.js.map +1 -0
- package/dist/src/services/catalog/service-address-resolver.service.d.ts +6 -0
- package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -1
- package/dist/src/services/catalog/service-address-resolver.service.js +4 -0
- package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.d.ts +14 -35
- package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.js +46 -8
- package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -1
- package/dist/src/services/companion/agent-stop-reason-words.d.ts +5 -0
- package/dist/src/services/companion/agent-stop-reason-words.d.ts.map +1 -0
- package/dist/src/services/companion/agent-stop-reason-words.js +25 -0
- package/dist/src/services/companion/agent-stop-reason-words.js.map +1 -0
- package/dist/src/services/companion/agent-work-shortfall-words.d.ts +8 -0
- package/dist/src/services/companion/agent-work-shortfall-words.d.ts.map +1 -0
- package/dist/src/services/companion/agent-work-shortfall-words.js +54 -0
- package/dist/src/services/companion/agent-work-shortfall-words.js.map +1 -0
- package/dist/src/services/companion/build-console.service.d.ts +228 -7
- package/dist/src/services/companion/build-console.service.d.ts.map +1 -1
- package/dist/src/services/companion/build-console.service.js +241 -17
- package/dist/src/services/companion/build-console.service.js.map +1 -1
- package/dist/src/services/companion/companion-client.service.d.ts +25 -1
- package/dist/src/services/companion/companion-client.service.d.ts.map +1 -1
- package/dist/src/services/companion/companion-client.service.js +61 -10
- package/dist/src/services/companion/companion-client.service.js.map +1 -1
- package/dist/src/services/companion/companion-health-hint.utils.d.ts +2 -1
- package/dist/src/services/companion/companion-health-hint.utils.d.ts.map +1 -1
- package/dist/src/services/companion/companion-health-hint.utils.js +8 -1
- package/dist/src/services/companion/companion-health-hint.utils.js.map +1 -1
- package/dist/src/services/companion/console-agent.d.ts +50 -0
- package/dist/src/services/companion/console-agent.d.ts.map +1 -0
- package/dist/src/services/companion/console-agent.js +67 -0
- package/dist/src/services/companion/console-agent.js.map +1 -0
- package/dist/src/services/companion/console-fast-path.d.ts +6 -4
- package/dist/src/services/companion/console-fast-path.d.ts.map +1 -1
- package/dist/src/services/companion/console-fast-path.js +12 -9
- package/dist/src/services/companion/console-fast-path.js.map +1 -1
- package/dist/src/services/companion/console-verb.utils.d.ts +7 -0
- package/dist/src/services/companion/console-verb.utils.d.ts.map +1 -1
- package/dist/src/services/companion/console-verb.utils.js +24 -2
- package/dist/src/services/companion/console-verb.utils.js.map +1 -1
- package/dist/src/services/companion/creation-console.service.d.ts +44 -13
- package/dist/src/services/companion/creation-console.service.d.ts.map +1 -1
- package/dist/src/services/companion/creation-console.service.js +121 -7
- package/dist/src/services/companion/creation-console.service.js.map +1 -1
- package/dist/src/services/companion/creation-drive.service.d.ts +232 -0
- package/dist/src/services/companion/creation-drive.service.d.ts.map +1 -0
- package/dist/src/services/companion/creation-drive.service.js +442 -0
- package/dist/src/services/companion/creation-drive.service.js.map +1 -0
- package/dist/src/services/companion/creation-run-report.models.d.ts +14 -0
- package/dist/src/services/companion/creation-run-report.models.d.ts.map +1 -1
- package/dist/src/services/companion/creation-run-report.models.js.map +1 -1
- package/dist/src/services/compliance/governed-document-releases.generator.d.ts +22 -6
- package/dist/src/services/compliance/governed-document-releases.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/governed-document-releases.generator.js +31 -11
- package/dist/src/services/compliance/governed-document-releases.generator.js.map +1 -1
- package/dist/src/services/compliance/subject-data-recipients.generator.d.ts +5 -2
- package/dist/src/services/compliance/subject-data-recipients.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/subject-data-recipients.generator.js +7 -3
- package/dist/src/services/compliance/subject-data-recipients.generator.js.map +1 -1
- package/dist/src/services/credentials/application-secret-owners.service.d.ts +6 -1
- package/dist/src/services/credentials/application-secret-owners.service.d.ts.map +1 -1
- package/dist/src/services/credentials/application-secret-owners.service.js +50 -102
- package/dist/src/services/credentials/application-secret-owners.service.js.map +1 -1
- package/dist/src/services/credentials/application-secrets.service.d.ts.map +1 -1
- package/dist/src/services/credentials/application-secrets.service.js +47 -20
- package/dist/src/services/credentials/application-secrets.service.js.map +1 -1
- package/dist/src/services/credentials/ci-secrets-adapter.service.js +2 -2
- package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts +59 -15
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.js +81 -6
- package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.d.ts +81 -148
- package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.js +92 -13
- package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
- package/dist/src/services/credentials/credentials.service.d.ts +8 -2
- package/dist/src/services/credentials/credentials.service.d.ts.map +1 -1
- package/dist/src/services/credentials/credentials.service.js +11 -2
- package/dist/src/services/credentials/credentials.service.js.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.d.ts +92 -6
- package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.js +191 -9
- package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -1
- package/dist/src/services/credentials/local-defaults.service.d.ts.map +1 -1
- package/dist/src/services/credentials/local-defaults.service.js +2 -2
- package/dist/src/services/credentials/local-defaults.service.js.map +1 -1
- package/dist/src/services/credentials/local-secrets-store.service.d.ts +14 -2
- package/dist/src/services/credentials/local-secrets-store.service.d.ts.map +1 -1
- package/dist/src/services/credentials/local-secrets-store.service.js +29 -2
- package/dist/src/services/credentials/local-secrets-store.service.js.map +1 -1
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
- package/dist/src/services/credentials/provider-env-vars.utils.js +13 -1
- package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
- package/dist/src/services/credentials/secret-requirements.service.d.ts +144 -4
- package/dist/src/services/credentials/secret-requirements.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secret-requirements.service.js +467 -20
- package/dist/src/services/credentials/secret-requirements.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-reader.service.d.ts +6 -0
- package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-reader.service.js +13 -2
- package/dist/src/services/credentials/secrets-reader.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.d.ts +9 -0
- package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.js +4 -3
- package/dist/src/services/credentials/secrets-rotation.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-writer.service.d.ts +4 -1
- package/dist/src/services/credentials/secrets-writer.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-writer.service.js +4 -2
- package/dist/src/services/credentials/secrets-writer.service.js.map +1 -1
- package/dist/src/services/data-services/data-services.schemas.d.ts +2 -1
- package/dist/src/services/data-services/data-services.schemas.d.ts.map +1 -1
- package/dist/src/services/data-services/data-services.schemas.js +5 -0
- package/dist/src/services/data-services/data-services.schemas.js.map +1 -1
- package/dist/src/services/data-services/platform-key-vault.break-glass.service.d.ts +93 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.service.d.ts.map +1 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.service.js +253 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.service.js.map +1 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.target.d.ts +22 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.target.d.ts.map +1 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.target.js +64 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.target.js.map +1 -0
- package/dist/src/services/data-services/platform-key-vault.server-config.d.ts +110 -0
- package/dist/src/services/data-services/platform-key-vault.server-config.d.ts.map +1 -0
- package/dist/src/services/data-services/platform-key-vault.server-config.js +204 -0
- package/dist/src/services/data-services/platform-key-vault.server-config.js.map +1 -0
- package/dist/src/services/deployment/application-first-run-checks.service.d.ts +131 -0
- package/dist/src/services/deployment/application-first-run-checks.service.d.ts.map +1 -0
- package/dist/src/services/deployment/application-first-run-checks.service.js +438 -0
- package/dist/src/services/deployment/application-first-run-checks.service.js.map +1 -0
- package/dist/src/services/deployment/application-runtime-environment.d.ts +93 -0
- package/dist/src/services/deployment/application-runtime-environment.d.ts.map +1 -0
- package/dist/src/services/deployment/application-runtime-environment.js +116 -0
- package/dist/src/services/deployment/application-runtime-environment.js.map +1 -0
- package/dist/src/services/deployment/ci-deploy-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/ci-deploy-generator.service.js +14 -1
- package/dist/src/services/deployment/ci-deploy-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/backing-service-health-watch.js +4 -1
- package/dist/src/services/deployment/docker/backing-service-health-watch.js.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +185 -66
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js +425 -113
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts +15 -1
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.js +19 -6
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.js.map +1 -1
- package/dist/src/services/deployment/framework-pod-network-membership.d.ts +56 -0
- package/dist/src/services/deployment/framework-pod-network-membership.d.ts.map +1 -0
- package/dist/src/services/deployment/framework-pod-network-membership.js +126 -0
- package/dist/src/services/deployment/framework-pod-network-membership.js.map +1 -0
- package/dist/src/services/deployment/infra-writer.service.d.ts +1 -1
- package/dist/src/services/deployment/infra-writer.service.d.ts.map +1 -1
- package/dist/src/services/deployment/infra-writer.service.js +5 -5
- package/dist/src/services/deployment/infra-writer.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts +38 -0
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js +51 -2
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts +69 -0
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.js +103 -1
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts +52 -12
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +235 -85
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +64 -22
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts +26 -0
- package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-operations.service.js +79 -0
- package/dist/src/services/deployment/k8s/k8s-operations.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +53 -32
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s.schemas.d.ts +5 -2
- package/dist/src/services/deployment/k8s/k8s.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s.schemas.js +5 -2
- package/dist/src/services/deployment/k8s/k8s.schemas.js.map +1 -1
- package/dist/src/services/deployment/k8s/kind.service.d.ts +10 -6
- package/dist/src/services/deployment/k8s/kind.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/kind.service.js +3 -57
- package/dist/src/services/deployment/k8s/kind.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/off-cluster-backing-services.d.ts +38 -0
- package/dist/src/services/deployment/k8s/off-cluster-backing-services.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/off-cluster-backing-services.js +84 -0
- package/dist/src/services/deployment/k8s/off-cluster-backing-services.js.map +1 -0
- package/dist/src/services/deployment/local-dev-log-retention.service.d.ts +45 -0
- package/dist/src/services/deployment/local-dev-log-retention.service.d.ts.map +1 -0
- package/dist/src/services/deployment/local-dev-log-retention.service.js +84 -0
- package/dist/src/services/deployment/local-dev-log-retention.service.js.map +1 -0
- package/dist/src/services/deployment/local-dev-session-lease.service.d.ts +2 -2
- package/dist/src/services/deployment/local-dev-session-lease.service.js +2 -2
- package/dist/src/services/deployment/local-dev-session-lease.service.js.map +1 -1
- package/dist/src/services/deployment/local-infrastructure-initialization.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-infrastructure-initialization.service.js +20 -1
- package/dist/src/services/deployment/local-infrastructure-initialization.service.js.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts +67 -0
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.js +160 -1
- package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js +32 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-command.service.d.ts +60 -0
- package/dist/src/services/design-tokens/design-tokens-command.service.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-command.service.js +317 -64
- package/dist/src/services/design-tokens/design-tokens-command.service.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-config.service.d.ts +21 -2
- package/dist/src/services/design-tokens/design-tokens-config.service.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-config.service.js +23 -40
- package/dist/src/services/design-tokens/design-tokens-config.service.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-config.template.d.ts +20 -0
- package/dist/src/services/design-tokens/design-tokens-config.template.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-config.template.js +47 -5
- package/dist/src/services/design-tokens/design-tokens-config.template.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts +28 -4
- package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-paths.service.js +67 -9
- package/dist/src/services/design-tokens/design-tokens-paths.service.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens.constants.d.ts +63 -0
- package/dist/src/services/design-tokens/design-tokens.constants.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens.constants.js +63 -0
- package/dist/src/services/design-tokens/design-tokens.constants.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens.models.d.ts +24 -0
- package/dist/src/services/design-tokens/design-tokens.models.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens.models.js +22 -0
- package/dist/src/services/design-tokens/design-tokens.models.js.map +1 -1
- package/dist/src/services/environment/authored-infra-config.utils.d.ts +38 -0
- package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -1
- package/dist/src/services/environment/authored-infra-config.utils.js +59 -1
- package/dist/src/services/environment/authored-infra-config.utils.js.map +1 -1
- package/dist/src/services/environment/authored-infra-member-authority.d.ts +87 -0
- package/dist/src/services/environment/authored-infra-member-authority.d.ts.map +1 -0
- package/dist/src/services/environment/authored-infra-member-authority.js +251 -0
- package/dist/src/services/environment/authored-infra-member-authority.js.map +1 -0
- package/dist/src/services/environment/container-host-gateway-listen-host.d.ts +56 -0
- package/dist/src/services/environment/container-host-gateway-listen-host.d.ts.map +1 -0
- package/dist/src/services/environment/container-host-gateway-listen-host.js +102 -0
- package/dist/src/services/environment/container-host-gateway-listen-host.js.map +1 -0
- package/dist/src/services/environment/env-configuration-generator.service.d.ts +17 -12
- package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.js +41 -13
- package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
- package/dist/src/services/environment/env-sync.service.d.ts +3 -2
- package/dist/src/services/environment/env-sync.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-sync.service.js +21 -7
- package/dist/src/services/environment/env-sync.service.js.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.d.ts +29 -4
- package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.js +264 -59
- package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
- package/dist/src/services/environment/environment-hydration.utils.d.ts.map +1 -1
- package/dist/src/services/environment/environment-hydration.utils.js +30 -26
- package/dist/src/services/environment/environment-hydration.utils.js.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.d.ts +19 -0
- package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.js +35 -0
- package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
- package/dist/src/services/environment/environment-paths.service.d.ts +5 -7
- package/dist/src/services/environment/environment-paths.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-paths.service.js +5 -7
- package/dist/src/services/environment/environment-paths.service.js.map +1 -1
- package/dist/src/services/environment/environment-registry.service.d.ts +5 -6
- package/dist/src/services/environment/environment-registry.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-registry.service.js +5 -6
- package/dist/src/services/environment/environment-registry.service.js.map +1 -1
- package/dist/src/services/environment/environment-service-profile.utils.d.ts +34 -0
- package/dist/src/services/environment/environment-service-profile.utils.d.ts.map +1 -0
- package/dist/src/services/environment/environment-service-profile.utils.js +43 -0
- package/dist/src/services/environment/environment-service-profile.utils.js.map +1 -0
- package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-setup.service.js +16 -20
- package/dist/src/services/environment/environment-setup.service.js.map +1 -1
- package/dist/src/services/environment/environment.schemas.d.ts +25 -10
- package/dist/src/services/environment/environment.schemas.d.ts.map +1 -1
- package/dist/src/services/environment/environment.schemas.js.map +1 -1
- package/dist/src/services/environment/environment.service.d.ts +5 -0
- package/dist/src/services/environment/environment.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment.service.js +2 -0
- package/dist/src/services/environment/environment.service.js.map +1 -1
- package/dist/src/services/environment/platform-runtime.schemas.d.ts +66 -62
- package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -1
- package/dist/src/services/environment/platform-runtime.schemas.js +69 -62
- package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -1
- package/dist/src/services/environment/runtime-bootstrap.service.d.ts +106 -58
- package/dist/src/services/environment/runtime-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/environment/runtime-bootstrap.service.js +203 -104
- package/dist/src/services/environment/runtime-bootstrap.service.js.map +1 -1
- package/dist/src/services/framework/application-agent-hooks-console.d.ts +153 -0
- package/dist/src/services/framework/application-agent-hooks-console.d.ts.map +1 -0
- package/dist/src/services/framework/application-agent-hooks-console.js +401 -0
- package/dist/src/services/framework/application-agent-hooks-console.js.map +1 -0
- package/dist/src/services/framework/application-agent-skills-console.d.ts +78 -0
- package/dist/src/services/framework/application-agent-skills-console.d.ts.map +1 -0
- package/dist/src/services/framework/application-agent-skills-console.js +116 -0
- package/dist/src/services/framework/application-agent-skills-console.js.map +1 -0
- package/dist/src/services/framework/application-console-loaders.d.ts +107 -0
- package/dist/src/services/framework/application-console-loaders.d.ts.map +1 -0
- package/dist/src/services/framework/application-console-loaders.js +221 -0
- package/dist/src/services/framework/application-console-loaders.js.map +1 -0
- package/dist/src/services/framework/application-opencode-console.d.ts +43 -0
- package/dist/src/services/framework/application-opencode-console.d.ts.map +1 -0
- package/dist/src/services/framework/application-opencode-console.js +68 -0
- package/dist/src/services/framework/application-opencode-console.js.map +1 -0
- package/dist/src/services/framework/application-provider-skills.service.d.ts +38 -0
- package/dist/src/services/framework/application-provider-skills.service.d.ts.map +1 -0
- package/dist/src/services/framework/application-provider-skills.service.js +189 -0
- package/dist/src/services/framework/application-provider-skills.service.js.map +1 -0
- package/dist/src/services/framework/application-rule-imports.d.ts +2 -1
- package/dist/src/services/framework/application-rule-imports.d.ts.map +1 -1
- package/dist/src/services/framework/application-rule-imports.js +25 -7
- package/dist/src/services/framework/application-rule-imports.js.map +1 -1
- package/dist/src/services/framework/auditable-event-catalog.generator.d.ts +49 -0
- package/dist/src/services/framework/auditable-event-catalog.generator.d.ts.map +1 -0
- package/dist/src/services/framework/auditable-event-catalog.generator.js +84 -0
- package/dist/src/services/framework/auditable-event-catalog.generator.js.map +1 -0
- package/dist/src/services/framework/claude-plugin-compiler.d.ts +6 -0
- package/dist/src/services/framework/claude-plugin-compiler.d.ts.map +1 -1
- package/dist/src/services/framework/claude-plugin-compiler.js +6 -1
- package/dist/src/services/framework/claude-plugin-compiler.js.map +1 -1
- package/dist/src/services/framework/enum-member-docs.reader.d.ts +33 -0
- package/dist/src/services/framework/enum-member-docs.reader.d.ts.map +1 -0
- package/dist/src/services/framework/enum-member-docs.reader.js +63 -0
- package/dist/src/services/framework/enum-member-docs.reader.js.map +1 -0
- package/dist/src/services/framework/flows-actors-realtime-catalog.generator.d.ts +35 -0
- package/dist/src/services/framework/flows-actors-realtime-catalog.generator.d.ts.map +1 -0
- package/dist/src/services/framework/flows-actors-realtime-catalog.generator.js +62 -0
- package/dist/src/services/framework/flows-actors-realtime-catalog.generator.js.map +1 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +25 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-development-skills-sync.service.js +82 -6
- package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
- package/dist/src/services/framework/framework-docker-publish.service.d.ts +21 -2
- package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-docker-publish.service.js +42 -12
- package/dist/src/services/framework/framework-docker-publish.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +20 -9
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.js +97 -39
- package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts +7 -3
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.js +79 -69
- package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts +6 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.js +13 -0
- package/dist/src/services/framework/framework-knowledge-scan.constants.js.map +1 -1
- package/dist/src/services/framework/framework-npm-credential.d.ts +76 -0
- package/dist/src/services/framework/framework-npm-credential.d.ts.map +1 -0
- package/dist/src/services/framework/framework-npm-credential.js +113 -0
- package/dist/src/services/framework/framework-npm-credential.js.map +1 -0
- package/dist/src/services/framework/framework-npm-dist-tag.service.d.ts +173 -0
- package/dist/src/services/framework/framework-npm-dist-tag.service.d.ts.map +1 -0
- package/dist/src/services/framework/framework-npm-dist-tag.service.js +271 -0
- package/dist/src/services/framework/framework-npm-dist-tag.service.js.map +1 -0
- package/dist/src/services/framework/framework-npm-publish.service.d.ts +50 -4
- package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-npm-publish.service.js +135 -61
- package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -1
- package/dist/src/services/framework/framework-publish-cli-origin.d.ts +22 -0
- package/dist/src/services/framework/framework-publish-cli-origin.d.ts.map +1 -0
- package/dist/src/services/framework/framework-publish-cli-origin.js +49 -0
- package/dist/src/services/framework/framework-publish-cli-origin.js.map +1 -0
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts +28 -39
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.js +58 -133
- package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
- package/dist/src/services/framework/framework-release.service.d.ts +13 -0
- package/dist/src/services/framework/framework-release.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-release.service.js +19 -3
- package/dist/src/services/framework/framework-release.service.js.map +1 -1
- package/dist/src/services/framework/framework-update.service.d.ts +13 -3
- package/dist/src/services/framework/framework-update.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-update.service.js +40 -17
- package/dist/src/services/framework/framework-update.service.js.map +1 -1
- package/dist/src/services/framework/framework-version.service.d.ts +2 -4
- package/dist/src/services/framework/framework-version.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-version.service.js +5 -7
- package/dist/src/services/framework/framework-version.service.js.map +1 -1
- package/dist/src/services/framework/frontend-library-root-exports.js +3 -3
- package/dist/src/services/framework/installed-framework-assets.service.d.ts +2 -2
- package/dist/src/services/framework/installed-framework-assets.service.d.ts.map +1 -1
- package/dist/src/services/framework/installed-framework-assets.service.js +4 -0
- package/dist/src/services/framework/installed-framework-assets.service.js.map +1 -1
- package/dist/src/services/framework/package-install.service.d.ts +20 -1
- package/dist/src/services/framework/package-install.service.d.ts.map +1 -1
- package/dist/src/services/framework/package-install.service.js +30 -3
- package/dist/src/services/framework/package-install.service.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.js +15 -7
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.js.map +1 -1
- package/dist/src/services/framework/registry-host/registry-host-monitoring.d.ts +43 -0
- package/dist/src/services/framework/registry-host/registry-host-monitoring.d.ts.map +1 -0
- package/dist/src/services/framework/registry-host/registry-host-monitoring.js +103 -0
- package/dist/src/services/framework/registry-host/registry-host-monitoring.js.map +1 -0
- package/dist/src/services/framework/registry-host/registry-host-remote.d.ts +29 -0
- package/dist/src/services/framework/registry-host/registry-host-remote.d.ts.map +1 -0
- package/dist/src/services/framework/registry-host/registry-host-remote.js +98 -0
- package/dist/src/services/framework/registry-host/registry-host-remote.js.map +1 -0
- package/dist/src/services/framework/registry-host/registry-host.service.d.ts +102 -0
- package/dist/src/services/framework/registry-host/registry-host.service.d.ts.map +1 -0
- package/dist/src/services/framework/registry-host/registry-host.service.js +318 -0
- package/dist/src/services/framework/registry-host/registry-host.service.js.map +1 -0
- package/dist/src/services/frontend/cloudflare-cdn.service.d.ts.map +1 -1
- package/dist/src/services/frontend/cloudflare-cdn.service.js +3 -6
- package/dist/src/services/frontend/cloudflare-cdn.service.js.map +1 -1
- package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts +11 -3
- package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts.map +1 -1
- package/dist/src/services/frontend/frontend-dist-uploader.service.js +72 -29
- package/dist/src/services/frontend/frontend-dist-uploader.service.js.map +1 -1
- package/dist/src/services/frontend/frontend-look.service.d.ts +264 -0
- package/dist/src/services/frontend/frontend-look.service.d.ts.map +1 -0
- package/dist/src/services/frontend/frontend-look.service.js +641 -0
- package/dist/src/services/frontend/frontend-look.service.js.map +1 -0
- package/dist/src/services/registry/application-provider-connection.service.d.ts +161 -0
- package/dist/src/services/registry/application-provider-connection.service.d.ts.map +1 -0
- package/dist/src/services/registry/application-provider-connection.service.js +337 -0
- package/dist/src/services/registry/application-provider-connection.service.js.map +1 -0
- package/dist/src/services/registry/artifact-extractor.utils.d.ts +9 -4
- package/dist/src/services/registry/artifact-extractor.utils.d.ts.map +1 -1
- package/dist/src/services/registry/artifact-extractor.utils.js +16 -9
- package/dist/src/services/registry/artifact-extractor.utils.js.map +1 -1
- package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -1
- package/dist/src/services/registry/boundary-fanout.utils.js +7 -2
- package/dist/src/services/registry/boundary-fanout.utils.js.map +1 -1
- package/dist/src/services/registry/git-ignored-paths.utils.d.ts.map +1 -1
- package/dist/src/services/registry/git-ignored-paths.utils.js +13 -2
- package/dist/src/services/registry/git-ignored-paths.utils.js.map +1 -1
- package/dist/src/services/registry/index.d.ts +0 -1
- package/dist/src/services/registry/index.d.ts.map +1 -1
- package/dist/src/services/registry/index.js +0 -1
- package/dist/src/services/registry/index.js.map +1 -1
- package/dist/src/services/registry/installed-provider-module.service.d.ts +25 -0
- package/dist/src/services/registry/installed-provider-module.service.d.ts.map +1 -0
- package/dist/src/services/registry/installed-provider-module.service.js +56 -0
- package/dist/src/services/registry/installed-provider-module.service.js.map +1 -0
- package/dist/src/services/registry/local-checkout-module-source.service.d.ts +12 -10
- package/dist/src/services/registry/local-checkout-module-source.service.d.ts.map +1 -1
- package/dist/src/services/registry/local-checkout-module-source.service.js +60 -58
- package/dist/src/services/registry/local-checkout-module-source.service.js.map +1 -1
- package/dist/src/services/registry/module-acquisition.utils.d.ts +6 -0
- package/dist/src/services/registry/module-acquisition.utils.d.ts.map +1 -1
- package/dist/src/services/registry/module-acquisition.utils.js +7 -0
- package/dist/src/services/registry/module-acquisition.utils.js.map +1 -1
- package/dist/src/services/registry/module-install.service.d.ts +70 -0
- package/dist/src/services/registry/module-install.service.d.ts.map +1 -0
- package/dist/src/services/registry/module-install.service.js +199 -0
- package/dist/src/services/registry/module-install.service.js.map +1 -0
- package/dist/src/services/registry/module-publish.service.d.ts +49 -0
- package/dist/src/services/registry/module-publish.service.d.ts.map +1 -0
- package/dist/src/services/registry/module-publish.service.js +88 -0
- package/dist/src/services/registry/module-publish.service.js.map +1 -0
- package/dist/src/services/registry/module-registration.service.d.ts +15 -0
- package/dist/src/services/registry/module-registration.service.d.ts.map +1 -1
- package/dist/src/services/registry/module-registration.service.js +413 -20
- package/dist/src/services/registry/module-registration.service.js.map +1 -1
- package/dist/src/services/registry/module-requirements.service.d.ts +42 -2
- package/dist/src/services/registry/module-requirements.service.d.ts.map +1 -1
- package/dist/src/services/registry/module-requirements.service.js +134 -7
- package/dist/src/services/registry/module-requirements.service.js.map +1 -1
- package/dist/src/services/registry/provider-configuration-checks.service.d.ts +55 -0
- package/dist/src/services/registry/provider-configuration-checks.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-configuration-checks.service.js +208 -0
- package/dist/src/services/registry/provider-configuration-checks.service.js.map +1 -0
- package/dist/src/services/registry/provider-connect.service.d.ts +244 -0
- package/dist/src/services/registry/provider-connect.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-connect.service.js +651 -0
- package/dist/src/services/registry/provider-connect.service.js.map +1 -0
- package/dist/src/services/registry/provider-graphql-schema-conformance.service.d.ts +29 -0
- package/dist/src/services/registry/provider-graphql-schema-conformance.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-graphql-schema-conformance.service.js +121 -0
- package/dist/src/services/registry/provider-graphql-schema-conformance.service.js.map +1 -0
- package/dist/src/services/registry/provider-install-step.d.ts +111 -14
- package/dist/src/services/registry/provider-install-step.d.ts.map +1 -1
- package/dist/src/services/registry/provider-install-step.js +234 -4
- package/dist/src/services/registry/provider-install-step.js.map +1 -1
- package/dist/src/services/registry/provider-module-checks.service.d.ts +38 -4
- package/dist/src/services/registry/provider-module-checks.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-module-checks.service.js +603 -20
- package/dist/src/services/registry/provider-module-checks.service.js.map +1 -1
- package/dist/src/services/registry/provider-module-engine-range.service.d.ts +88 -0
- package/dist/src/services/registry/provider-module-engine-range.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-module-engine-range.service.js +386 -0
- package/dist/src/services/registry/provider-module-engine-range.service.js.map +1 -0
- package/dist/src/services/registry/provider-module-scaffold.service.d.ts +156 -0
- package/dist/src/services/registry/provider-module-scaffold.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-module-scaffold.service.js +690 -0
- package/dist/src/services/registry/provider-module-scaffold.service.js.map +1 -0
- package/dist/src/services/registry/provider-module-vendor-packages.service.d.ts +84 -0
- package/dist/src/services/registry/provider-module-vendor-packages.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-module-vendor-packages.service.js +364 -0
- package/dist/src/services/registry/provider-module-vendor-packages.service.js.map +1 -0
- package/dist/src/services/registry/provider-openapi-conformance.service.d.ts +117 -0
- package/dist/src/services/registry/provider-openapi-conformance.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-openapi-conformance.service.js +555 -0
- package/dist/src/services/registry/provider-openapi-conformance.service.js.map +1 -0
- package/dist/src/services/registry/provider-probe-credentials.service.d.ts +94 -0
- package/dist/src/services/registry/provider-probe-credentials.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-probe-credentials.service.js +184 -0
- package/dist/src/services/registry/provider-probe-credentials.service.js.map +1 -0
- package/dist/src/services/registry/provider-probe.service.d.ts +268 -0
- package/dist/src/services/registry/provider-probe.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-probe.service.js +444 -0
- package/dist/src/services/registry/provider-probe.service.js.map +1 -0
- package/dist/src/services/registry/provider-proof.service.d.ts +206 -0
- package/dist/src/services/registry/provider-proof.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-proof.service.js +640 -0
- package/dist/src/services/registry/provider-proof.service.js.map +1 -0
- package/dist/src/services/registry/provider-publication.service.d.ts +43 -0
- package/dist/src/services/registry/provider-publication.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-publication.service.js +216 -0
- package/dist/src/services/registry/provider-publication.service.js.map +1 -0
- package/dist/src/services/registry/provider-vendor-registration.service.d.ts +83 -0
- package/dist/src/services/registry/provider-vendor-registration.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-vendor-registration.service.js +122 -0
- package/dist/src/services/registry/provider-vendor-registration.service.js.map +1 -0
- package/dist/src/services/registry/provider-wiring.service.d.ts +21 -2
- package/dist/src/services/registry/provider-wiring.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-wiring.service.js +90 -16
- package/dist/src/services/registry/provider-wiring.service.js.map +1 -1
- package/dist/src/services/registry/registry-command.utils.d.ts +19 -2
- package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -1
- package/dist/src/services/registry/registry-command.utils.js +35 -2
- package/dist/src/services/registry/registry-command.utils.js.map +1 -1
- package/dist/src/services/security/csp-sync.service.d.ts +20 -1
- package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
- package/dist/src/services/security/csp-sync.service.js +58 -35
- package/dist/src/services/security/csp-sync.service.js.map +1 -1
- package/dist/src/services/website/website-label-pack-audit.service.d.ts +2 -2
- package/dist/src/services/website/website-label-pack-audit.service.d.ts.map +1 -1
- package/dist/src/services/website/website-label-pack-audit.service.js +5 -4
- package/dist/src/services/website/website-label-pack-audit.service.js.map +1 -1
- package/dist/src/services/website/website-look.service.d.ts +167 -0
- package/dist/src/services/website/website-look.service.d.ts.map +1 -0
- package/dist/src/services/website/website-look.service.js +430 -0
- package/dist/src/services/website/website-look.service.js.map +1 -0
- package/dist/src/services/website/website-schema-org-catalog.worker.d.ts +18 -0
- package/dist/src/services/website/website-schema-org-catalog.worker.d.ts.map +1 -0
- package/dist/src/services/website/website-schema-org-catalog.worker.js +104 -0
- package/dist/src/services/website/website-schema-org-catalog.worker.js.map +1 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts +37 -5
- package/dist/src/services/website/website-structured-data-audit.service.d.ts.map +1 -1
- package/dist/src/services/website/website-structured-data-audit.service.js +82 -35
- package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
- package/dist/src/services/website/website-workspace.service.d.ts +51 -0
- package/dist/src/services/website/website-workspace.service.d.ts.map +1 -1
- package/dist/src/services/website/website-workspace.service.js +130 -4
- package/dist/src/services/website/website-workspace.service.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/framework-root-package.json +129 -60
- package/package.json +188 -100
- package/scripts/app-dependency-alignment/propagated-engine-overrides.json +70 -37
- package/scripts/dev-orchestrator/local-dev-protocol.mjs +176 -7
- package/scripts/dev-orchestrator/local-dev-status.mjs +297 -31
- package/scripts/pnpm-workspace-members.mjs +146 -0
- package/scripts/pnpm-workspace-settings.mjs +418 -0
- package/templates/infra/ci/deploy-k8s.yml.hbs +1 -1
- package/templates/infra/docker-compose/docker-compose.app.yml.hbs +17 -22
- package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +292 -62
- package/templates/infra/docker-images/platform/Dockerfile.platform-base +24 -5
- package/templates/infra/k8s/applications/wildo-ai-application/custom-domain-reconciler.yaml.hbs +222 -0
- package/templates/infra/k8s/applications/wildo-ai-application/minion.deployment.yaml.hbs +30 -13
- package/templates/infra/k8s/ingress/cert-manager/wildcard-certificate.yaml.hbs +1 -2
- package/templates/infra/k8s/internal/clamav/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/internal/immudb/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/internal/minio/deployment.yaml.hbs +7 -1
- package/templates/infra/k8s/internal/mongodb/deployment.yaml.hbs +11 -0
- package/templates/infra/k8s/internal/mongot/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/internal/openbao/configmap.yaml.hbs +20 -0
- package/templates/infra/k8s/internal/openbao/deployment.yaml.hbs +127 -0
- package/templates/infra/k8s/internal/openbao/service.yaml.hbs +20 -0
- package/templates/infra/k8s/internal/postgresql/deployment.yaml.hbs +2 -1
- package/templates/infra/k8s/internal/rabbitmq/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/internal/valkey/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/platform/platform-apps-manager/deployment.yaml.hbs +51 -76
- package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +22 -75
- package/templates/infra/k8s/platform/platform-module-registry/deployment.yaml.hbs +23 -75
- package/templates/infra/k8s/storage/local/persistent-volumes.yaml.hbs +30 -1
- package/templates/infra/registry-host/Caddyfile +33 -0
- package/templates/infra/registry-host/backup.sh +73 -0
- package/templates/infra/registry-host/docker-compose.yml +332 -0
- package/templates/infra/registry-host/restore-check.sh +43 -0
- package/templates/infra/registry-host/wildo-registry-backup.service +15 -0
- package/templates/infra/registry-host/wildo-registry-backup.timer +12 -0
- package/templates/infra/yara-service/requirements.txt +1 -1
- package/templates/saas/blueprints/b2b-saas/blueprint.json +26 -0
- package/templates/saas/blueprints/internal-tool/blueprint.json +59 -0
- package/templates/saas/blueprints/service-firm/blueprint.json +57 -0
- package/templates/saas/engine-peer-closure.json +66 -8
- package/templates/saas/i18n/email/components/EmailFooter.tsx +5 -3
- package/templates/saas/i18n/email/components/labels.en.ts +14 -0
- package/templates/saas/i18n/email/components/labels.fr.ts +13 -0
- package/templates/saas/i18n/email/email-template-definitions.ts +8 -0
- package/templates/saas/i18n/email/index.ts +1 -1
- package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationApiKeys/update.application-administrator/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/update.application-administrator/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/update.application-administrator/template.tsx +57 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationOAuthClients/deactivate.application-administrator/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/deactivate.application-administrator/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/deactivate.application-administrator/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/reactivate.application-administrator/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/reactivate.application-administrator/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/reactivate.application-administrator/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationOAuthClients/update.application-administrator/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/update.application-administrator/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/update.application-administrator/template.tsx +62 -0
- package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/create.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/update.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_ready/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_ready/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_received/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_received/template.tsx +51 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/update.users-custom_extended/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/update.users-custom_extended/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/create.organization-billing_payment-failed/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/create.organization-billing_payment-failed/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/create.organization-billing_payment-failed/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/update.organization-billing_payment-failed/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/update.organization-billing_payment-failed/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/update.organization-billing_payment-failed/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/template.tsx +9 -5
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-administrative_representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-administrative_representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-administrative_representing-organization/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/makeOwner.organization-administrative/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationMembers/makeOwner.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationMembers/makeOwner.organization-administrative/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-administrative_representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-administrative_representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-administrative_representing-organization/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.users-custom/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/stepDownAsOwner.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationMembers/stepDownAsOwner.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationMembers/stepDownAsOwner.organization-administrative/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-administrative_representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-administrative_representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-administrative_representing-organization/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.users-custom/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/update.organization-user-management/template.tsx +77 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.admin.organization-administrative/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.admin.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.admin.organization-administrative/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.organization-administrative/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.organization-administrative/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.admin.organization-administrative/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.admin.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.admin.organization-administrative/template.tsx +62 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.organization-administrative/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.organization-administrative/template.tsx +62 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/setAutonomousAgents.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/setAutonomousAgents.organization-administrative/labels.fr.ts +25 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/setAutonomousAgents.organization-administrative/template.tsx +72 -0
- package/templates/saas/i18n/email/resources/organizationProviderCredentials/releaseRouting.organization-users/labels.en.ts +25 -0
- package/templates/saas/i18n/email/resources/organizationProviderCredentials/releaseRouting.organization-users/labels.fr.ts +25 -0
- package/templates/saas/i18n/email/resources/organizationProviderCredentials/releaseRouting.organization-users/template.tsx +68 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/accept.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/accept.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/accept.organization-administrative/template.tsx +66 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/amendScope.organization-administrative/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/amendScope.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/amendScope.organization-administrative/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/decline.organization-administrative/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/decline.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/decline.organization-administrative/template.tsx +62 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_granting-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_granting-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_granting-organization/template.tsx +55 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_representing-organization/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_representing-organization/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_representing-organization/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-granting-organization/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-granting-organization/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-granting-organization/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-representing-organization/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-representing-organization/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-representing-organization/template.tsx +65 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_granting-organization/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_granting-organization/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_granting-organization/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_representing-organization/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_representing-organization/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_representing-organization/template.tsx +66 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_granting-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_granting-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_granting-organization/template.tsx +56 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_representing-organization/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/propose.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/propose.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/propose.organization-administrative/template.tsx +66 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/propose.withOperator.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/propose.withOperator.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/propose.withOperator.organization-administrative/template.tsx +66 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-granting-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-granting-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-granting-organization/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-representing-organization/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-granting-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-granting-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-granting-organization/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-representing-organization/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-granting-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-granting-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-granting-organization/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-representing-organization/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-granting-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-granting-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-granting-organization/template.tsx +56 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-representing-organization/template.tsx +59 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-granting-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-granting-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-granting-organization/template.tsx +57 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-representing-organization/template.tsx +59 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/resume.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/resume.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/resume.organization-administrative/template.tsx +66 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/suspend.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/suspend.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/suspend.organization-administrative/template.tsx +66 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/terminate.organization-administrative/labels.en.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/terminate.organization-administrative/labels.fr.ts +25 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/terminate.organization-administrative/template.tsx +73 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/accept.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/accept.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/accept.organization-administrative/template.tsx +64 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/propose.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/propose.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/propose.organization-administrative/template.tsx +64 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdraw.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdraw.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdraw.organization-administrative/template.tsx +64 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_granting-organization/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_granting-organization/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_granting-organization/template.tsx +65 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_representing-organization/template.tsx +56 -0
- package/templates/saas/i18n/email/resources/organizationSsoConfig/repairUnreadableConfiguration.organization-users/labels.en.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationSsoConfig/repairUnreadableConfiguration.organization-users/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/cancel.organization-billing_subscription-ending/labels.en.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/cancel.organization-billing_subscription-ending/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/cancel.organization-billing_subscription-ending/template.tsx +56 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/create.organization-billing_subscription-started/labels.en.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/create.organization-billing_subscription-started/labels.fr.ts +26 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/create.organization-billing_subscription-started/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-ending/labels.en.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-ending/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-ending/template.tsx +56 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-started/labels.en.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-started/labels.fr.ts +26 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-started/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/changeType.organization-administrative/labels.en.ts +26 -0
- package/templates/saas/i18n/email/resources/organizations/changeType.organization-administrative/labels.fr.ts +29 -0
- package/templates/saas/i18n/email/resources/organizations/changeType.organization-administrative/template.tsx +79 -0
- package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/create.user-self/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/restore.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/platformAccessGrants/approve.users-custom_operator/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/approve.users-custom_operator/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/approve.users-custom_operator/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/deny.users-custom_operator/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/deny.users-custom_operator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/deny.users-custom_operator/template.tsx +55 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/platformAccessGrants/revoke.users-custom_operator/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/revoke.users-custom_operator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/revoke.users-custom_operator/template.tsx +55 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/expire.organization-administrative_expired/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/expire.organization-administrative_expired/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/expire.organization-administrative_expired/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/expire.users-custom_holder/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/expire.users-custom_holder/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/expire.users-custom_holder/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/revoke.users-custom_holder/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/revoke.users-custom_holder/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/revoke.users-custom_holder/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/verify.users-custom_holder/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/verify.users-custom_holder/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/verify.users-custom_holder/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.organization-administrative_expiring/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.organization-administrative_expiring/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.organization-administrative_expiring/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.users-custom_holder/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.users-custom_holder/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.users-custom_holder/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/expire.organization-administrative/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/expire.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/expire.organization-administrative/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grant.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grant.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grant.organization-administrative/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grantSecurityCritical.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grantSecurityCritical.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grantSecurityCritical.organization-administrative/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/revoke.organization-administrative/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/revoke.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/revoke.organization-administrative/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/assign.organization-administrative/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/assign.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/assign.organization-administrative/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/settleGrantorApproval.organization-administrative/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/settleGrantorApproval.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/settleGrantorApproval.organization-administrative/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/unassign.organization-administrative/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/unassign.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/unassign.organization-administrative/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/userInvoiceRefs/create.users-custom_payment-failed/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/userInvoiceRefs/create.users-custom_payment-failed/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/userInvoiceRefs/create.users-custom_payment-failed/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/userInvoiceRefs/update.users-custom_payment-failed/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/userInvoiceRefs/update.users-custom_payment-failed/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/userInvoiceRefs/update.users-custom_payment-failed/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/cancel.users-custom_subscription-ending/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/cancel.users-custom_subscription-ending/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/cancel.users-custom_subscription-ending/template.tsx +54 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/create.users-custom_subscription-started/labels.en.ts +22 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/create.users-custom_subscription-started/labels.fr.ts +25 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/create.users-custom_subscription-started/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-ending/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-ending/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-ending/template.tsx +54 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-started/labels.en.ts +22 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-started/labels.fr.ts +25 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-started/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/create.application-administrator/template.tsx +7 -7
- package/templates/saas/i18n/email/resources/users/delete.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/update.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/system/new-device-login/labels.en.ts +6 -8
- package/templates/saas/i18n/email/system/new-device-login/labels.fr.ts +7 -9
- package/templates/saas/i18n/email/system/new-device-login/template.tsx +25 -26
- package/templates/saas/i18n/email/system/operation-approval-ended/labels.en.ts +40 -0
- package/templates/saas/i18n/email/system/operation-approval-ended/labels.fr.ts +43 -0
- package/templates/saas/i18n/email/system/operation-approval-ended/template.tsx +72 -0
- package/templates/saas/i18n/email/system/relationship-invitation/labels.en.ts +18 -0
- package/templates/saas/i18n/email/system/relationship-invitation/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/system/relationship-invitation/template.tsx +66 -0
- package/templates/saas/i18n/email/system/security-alert/labels.en.ts +5 -0
- package/templates/saas/i18n/email/system/security-alert/labels.fr.ts +13 -8
- package/templates/saas/i18n/engine/README.md +8 -3
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_COMMAND_MENU.en.ts +3 -2
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_COMMAND_MENU.fr.ts +3 -2
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.ts +5 -5
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.fr.ts +5 -5
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_SIDEBAR.en.ts +3 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_SIDEBAR.fr.ts +3 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_STATUS_BAR.en.ts +1 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_STATUS_BAR.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.en.ts +7 -2
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.ts +7 -2
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_UTILITY_PANEL.en.ts +0 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_UTILITY_PANEL.fr.ts +0 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS.en.ts +28 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS.fr.ts +28 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.ts +3 -3
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.fr.ts +3 -3
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.en.ts +56 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.fr.ts +56 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.ts +50 -10
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.ts +50 -10
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.ts +2 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.ts +12 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.fr.ts +12 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.en.ts +41 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.fr.ts +41 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_REPRESENTATIVE_ACTIVITY_SETTINGS.en.ts +35 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_REPRESENTATIVE_ACTIVITY_SETTINGS.fr.ts +35 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.en.ts +11 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.ts +17 -7
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SETTINGS_HUB.en.ts +2 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SETTINGS_HUB.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.ts +9 -8
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.fr.ts +9 -8
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ACTOR.en.ts +5 -10
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ACTOR.fr.ts +5 -10
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.en.ts +44 -11
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.fr.ts +44 -11
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.ts +97 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.ts +97 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DECISION.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DECISION.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DIFF_BLOCK.en.ts +5 -5
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DIFF_BLOCK.fr.ts +5 -5
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.ts +4 -7
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_PLAN.fr.ts +4 -7
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_USAGE.en.ts +24 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_USAGE.fr.ts +24 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.ts +2 -9
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_EXECUTION.fr.ts +2 -9
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_NODE.en.ts +1 -9
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_NODE.fr.ts +1 -9
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_GRAPH_VIEWER.en.ts +29 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_GRAPH_VIEWER.fr.ts +29 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.ts +3 -2
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.fr.ts +3 -2
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.ts +5 -4
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.fr.ts +5 -4
- package/templates/saas/i18n/engine/components/LOW_LEVEL_CHIPS_INPUT.en.ts +14 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_CHIPS_INPUT.fr.ts +14 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.ts +2 -3
- package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.ts +2 -3
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATEPICKER.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATEPICKER.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_PICKER.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_PICKER.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_RANGE_PICKER.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATE_RANGE_PICKER.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATE_RANGE_PICKER.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_LIMIT_INDICATOR.en.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_LIMIT_INDICATOR.fr.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.ts +2 -2
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.fr.ts +2 -2
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FILE_UPLOAD.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FILE_UPLOAD.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.en.ts +14 -4
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.fr.ts +14 -4
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_CODE.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_CODE.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_DURATION.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_DURATION.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.en.ts +5 -5
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.fr.ts +5 -5
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_MONEY.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_MONEY.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_RANGE_MONEY.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_RANGE_MONEY.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.en.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.fr.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_MESSAGE.en.ts +6 -6
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_MESSAGE.fr.ts +6 -6
- package/templates/saas/i18n/engine/components/LOW_LEVEL_SELECT_MULTIPLE.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_SELECT_MULTIPLE.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_STEPPER.en.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_STEPPER.fr.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_TIME_RANGE_PICKER.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_TIME_RANGE_PICKER.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.en.ts +31 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.fr.ts +31 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_LEGAL_NOTICE.en.ts +29 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_LEGAL_NOTICE.fr.ts +29 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.en.ts +6 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.fr.ts +6 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_INVITATION.en.ts +2 -2
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_INVITATION.fr.ts +2 -2
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.ts +2 -2
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.fr.ts +2 -2
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_REGISTER.en.ts +2 -2
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_REGISTER.fr.ts +2 -2
- package/templates/saas/i18n/engine/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.ts +5 -2
- package/templates/saas/i18n/engine/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.fr.ts +5 -2
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_ACTION.en.ts +2 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_ACTION.fr.ts +3 -2
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_CREATE.en.ts +3 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_CREATE.fr.ts +3 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.en.ts +4 -5
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.fr.ts +4 -5
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.ts +5 -5
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.fr.ts +6 -6
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.ts +6 -5
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.fr.ts +6 -5
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_RECORD_SHARING.en.ts +29 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_RECORD_SHARING.fr.ts +29 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_SEARCH.en.ts +0 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_SEARCH.fr.ts +0 -1
- package/templates/saas/i18n/engine/components/guidance_checklist.en.ts +1 -1
- package/templates/saas/i18n/engine/components/guidance_checklist.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/progression_milestone_tracker.en.ts +1 -1
- package/templates/saas/i18n/engine/components/progression_milestone_tracker.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/actorSystemExecutions.en.ts +342 -0
- package/templates/saas/i18n/engine/resources/actorSystemExecutions.fr.ts +342 -0
- package/templates/saas/i18n/engine/resources/actorTasks.en.ts +390 -0
- package/templates/saas/i18n/engine/resources/actorTasks.fr.ts +390 -0
- package/templates/saas/i18n/engine/resources/agentBehaviorReports.en.ts +432 -0
- package/templates/saas/i18n/engine/resources/agentBehaviorReports.fr.ts +432 -0
- package/templates/saas/i18n/engine/resources/agentOperationRecords.en.ts +497 -0
- package/templates/saas/i18n/engine/resources/agentOperationRecords.fr.ts +497 -0
- package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.en.ts +3 -3
- package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/anonymous_users.en.ts +10 -1
- package/templates/saas/i18n/engine/resources/anonymous_users.fr.ts +10 -1
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.en.ts +74 -4
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.fr.ts +74 -4
- package/templates/saas/i18n/engine/resources/applicationAgentPolicies.en.ts +113 -0
- package/templates/saas/i18n/engine/resources/applicationAgentPolicies.fr.ts +113 -0
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/applicationApiKeys.en.ts +18 -28
- package/templates/saas/i18n/engine/resources/applicationApiKeys.fr.ts +34 -44
- package/templates/saas/i18n/engine/resources/applicationAuditLogs.en.ts +20 -4
- package/templates/saas/i18n/engine/resources/applicationAuditLogs.fr.ts +20 -4
- package/templates/saas/i18n/engine/resources/applicationDataKeys.en.ts +223 -0
- package/templates/saas/i18n/engine/resources/applicationDataKeys.fr.ts +223 -0
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.en.ts +469 -21
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.fr.ts +469 -21
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.en.ts +11 -20
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.fr.ts +8 -17
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.en.ts +112 -0
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.fr.ts +112 -0
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.en.ts +17 -1
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.fr.ts +17 -1
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.en.ts +10 -21
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.fr.ts +21 -32
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.en.ts +4 -4
- package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.fr.ts +5 -5
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.en.ts +20 -6
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.fr.ts +17 -3
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.en.ts +44 -25
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.fr.ts +44 -25
- package/templates/saas/i18n/engine/resources/applicationWebhookConfig.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/applicationWebhookConfig.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/applications.en.ts +616 -8
- package/templates/saas/i18n/engine/resources/applications.fr.ts +615 -7
- package/templates/saas/i18n/engine/resources/approvalSeals.en.ts +529 -0
- package/templates/saas/i18n/engine/resources/approvalSeals.fr.ts +529 -0
- package/templates/saas/i18n/engine/resources/auditLogs.en.ts +39 -7
- package/templates/saas/i18n/engine/resources/auditLogs.fr.ts +39 -7
- package/templates/saas/i18n/engine/resources/chatConversations.en.ts +486 -0
- package/templates/saas/i18n/engine/resources/chatConversations.fr.ts +486 -0
- package/templates/saas/i18n/engine/resources/chatIdentityLinks.en.ts +271 -0
- package/templates/saas/i18n/engine/resources/chatIdentityLinks.fr.ts +271 -0
- package/templates/saas/i18n/engine/resources/consumableTokens.en.ts +10 -2
- package/templates/saas/i18n/engine/resources/consumableTokens.fr.ts +10 -2
- package/templates/saas/i18n/engine/resources/dataSeedRuns.en.ts +337 -252
- package/templates/saas/i18n/engine/resources/dataSeedRuns.fr.ts +252 -167
- package/templates/saas/i18n/engine/resources/documentSequenceCounters.en.ts +69 -0
- package/templates/saas/i18n/engine/resources/documentSequenceCounters.fr.ts +69 -0
- package/templates/saas/i18n/engine/resources/etlPipelineStates.en.ts +46 -1
- package/templates/saas/i18n/engine/resources/etlPipelineStates.fr.ts +46 -1
- package/templates/saas/i18n/engine/resources/evaluationDatasetExports.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/evaluationDatasetExports.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.en.ts +74 -50
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.fr.ts +76 -52
- package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.en.ts +2 -1
- package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.fr.ts +2 -1
- package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.en.ts +26 -3
- package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.fr.ts +26 -3
- package/templates/saas/i18n/engine/resources/externalDataPipelineRequestedKeys.en.ts +160 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineRequestedKeys.fr.ts +160 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.en.ts +180 -2
- package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.fr.ts +180 -2
- package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.en.ts +24 -0
- package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.fr.ts +24 -0
- package/templates/saas/i18n/engine/resources/files.en.ts +30 -1
- package/templates/saas/i18n/engine/resources/files.fr.ts +30 -1
- package/templates/saas/i18n/engine/resources/humanDecisionNoticeStays.en.ts +422 -0
- package/templates/saas/i18n/engine/resources/humanDecisionNoticeStays.fr.ts +422 -0
- package/templates/saas/i18n/engine/resources/jobExecutions.en.ts +253 -129
- package/templates/saas/i18n/engine/resources/jobExecutions.fr.ts +209 -85
- package/templates/saas/i18n/engine/resources/jobPayloadStorage.en.ts +2 -1
- package/templates/saas/i18n/engine/resources/jobPayloadStorage.fr.ts +2 -1
- package/templates/saas/i18n/engine/resources/legalHolds.en.ts +24 -1
- package/templates/saas/i18n/engine/resources/legalHolds.fr.ts +24 -1
- package/templates/saas/i18n/engine/resources/modelCallAttributions.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/modelCallAttributions.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/oauthConsentGrants.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/oauthConsentGrants.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/operationApprovalRequests.en.ts +699 -0
- package/templates/saas/i18n/engine/resources/operationApprovalRequests.fr.ts +699 -0
- package/templates/saas/i18n/engine/resources/organizationAgentPolicies.en.ts +184 -0
- package/templates/saas/i18n/engine/resources/organizationAgentPolicies.fr.ts +184 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/organizationApiKeys.en.ts +18 -25
- package/templates/saas/i18n/engine/resources/organizationApiKeys.fr.ts +33 -40
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.en.ts +40 -22
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.fr.ts +40 -22
- package/templates/saas/i18n/engine/resources/organizationChatSettings.en.ts +153 -0
- package/templates/saas/i18n/engine/resources/organizationChatSettings.fr.ts +153 -0
- package/templates/saas/i18n/engine/resources/organizationEmailDomains.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationFeatures.en.ts +1 -10
- package/templates/saas/i18n/engine/resources/organizationFeatures.fr.ts +1 -10
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.en.ts +469 -21
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.fr.ts +469 -21
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.en.ts +11 -20
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.fr.ts +8 -17
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.en.ts +112 -0
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.fr.ts +112 -0
- package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.en.ts +12 -4
- package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.fr.ts +12 -4
- package/templates/saas/i18n/engine/resources/organizationLifecycleState.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/organizationLifecycleState.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.en.ts +17 -1
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.fr.ts +17 -1
- package/templates/saas/i18n/engine/resources/organizationMembers.en.ts +36 -9
- package/templates/saas/i18n/engine/resources/organizationMembers.fr.ts +51 -24
- package/templates/saas/i18n/engine/resources/organizationModelUsageCeilingState.en.ts +166 -0
- package/templates/saas/i18n/engine/resources/organizationModelUsageCeilingState.fr.ts +166 -0
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.en.ts +38 -45
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.fr.ts +19 -26
- package/templates/saas/i18n/engine/resources/organizationPersonTokenCeilingState.en.ts +166 -0
- package/templates/saas/i18n/engine/resources/organizationPersonTokenCeilingState.fr.ts +166 -0
- package/templates/saas/i18n/engine/resources/organizationPreferences.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationPreferences.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationProfiles.en.ts +9 -1
- package/templates/saas/i18n/engine/resources/organizationProfiles.fr.ts +9 -1
- package/templates/saas/i18n/engine/resources/organizationProgressionState.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/organizationProgressionState.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.en.ts +30 -11
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.fr.ts +20 -1
- package/templates/saas/i18n/engine/resources/organizationRelationships.en.ts +629 -0
- package/templates/saas/i18n/engine/resources/organizationRelationships.fr.ts +629 -0
- package/templates/saas/i18n/engine/resources/organizationRepresentations.en.ts +340 -0
- package/templates/saas/i18n/engine/resources/organizationRepresentations.fr.ts +340 -0
- package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationScimTokens.en.ts +20 -20
- package/templates/saas/i18n/engine/resources/organizationScimTokens.fr.ts +9 -9
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.en.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.en.ts +6 -6
- package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.fr.ts +6 -6
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.en.ts +21 -7
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.fr.ts +18 -4
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.en.ts +69 -50
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.fr.ts +69 -50
- package/templates/saas/i18n/engine/resources/organizationSubscriptions.en.ts +169 -169
- package/templates/saas/i18n/engine/resources/organizationSubscriptions.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.en.ts +6 -6
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.fr.ts +10 -10
- package/templates/saas/i18n/engine/resources/organizationUnits.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/organizationUnits.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationUsageRecords.en.ts +19 -3
- package/templates/saas/i18n/engine/resources/organizationUsageRecords.fr.ts +18 -2
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.en.ts +9 -1
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.fr.ts +9 -1
- package/templates/saas/i18n/engine/resources/organizations.en.ts +116 -21
- package/templates/saas/i18n/engine/resources/organizations.fr.ts +116 -21
- package/templates/saas/i18n/engine/resources/platformAccessGrants.en.ts +46 -4
- package/templates/saas/i18n/engine/resources/platformAccessGrants.fr.ts +43 -1
- package/templates/saas/i18n/engine/resources/postCommitEffectOutbox.en.ts +181 -0
- package/templates/saas/i18n/engine/resources/postCommitEffectOutbox.fr.ts +181 -0
- package/templates/saas/i18n/engine/resources/prices.en.ts +10 -10
- package/templates/saas/i18n/engine/resources/prices.fr.ts +10 -10
- package/templates/saas/i18n/engine/resources/products.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/products.fr.ts +5 -5
- package/templates/saas/i18n/engine/resources/professionalQualifications.en.ts +345 -0
- package/templates/saas/i18n/engine/resources/professionalQualifications.fr.ts +345 -0
- package/templates/saas/i18n/engine/resources/promotions.en.ts +30 -2
- package/templates/saas/i18n/engine/resources/promotions.fr.ts +30 -2
- package/templates/saas/i18n/engine/resources/providerCallRecords.en.ts +69 -1
- package/templates/saas/i18n/engine/resources/providerCallRecords.fr.ts +69 -1
- package/templates/saas/i18n/engine/resources/publishedVerificationKeys.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/publishedVerificationKeys.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/relationshipCapabilityGrants.en.ts +291 -0
- package/templates/saas/i18n/engine/resources/relationshipCapabilityGrants.fr.ts +291 -0
- package/templates/saas/i18n/engine/resources/relationshipInvitations.en.ts +325 -0
- package/templates/saas/i18n/engine/resources/relationshipInvitations.fr.ts +325 -0
- package/templates/saas/i18n/engine/resources/relationshipMailboxes.en.ts +169 -0
- package/templates/saas/i18n/engine/resources/relationshipMailboxes.fr.ts +169 -0
- package/templates/saas/i18n/engine/resources/representativeAssignments.en.ts +626 -0
- package/templates/saas/i18n/engine/resources/representativeAssignments.fr.ts +626 -0
- package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/ssoDomainReservations.en.ts +147 -0
- package/templates/saas/i18n/engine/resources/ssoDomainReservations.fr.ts +147 -0
- package/templates/saas/i18n/engine/resources/transactionalCommitReceipts.en.ts +69 -0
- package/templates/saas/i18n/engine/resources/transactionalCommitReceipts.fr.ts +69 -0
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/userBillingAccounts.en.ts +47 -31
- package/templates/saas/i18n/engine/resources/userBillingAccounts.fr.ts +47 -31
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.en.ts +469 -21
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.fr.ts +469 -21
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.en.ts +11 -20
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.fr.ts +8 -17
- package/templates/saas/i18n/engine/resources/userIdentityLinks.en.ts +19 -0
- package/templates/saas/i18n/engine/resources/userIdentityLinks.fr.ts +19 -0
- package/templates/saas/i18n/engine/resources/userInvoiceRefs.en.ts +18 -5
- package/templates/saas/i18n/engine/resources/userInvoiceRefs.fr.ts +18 -5
- package/templates/saas/i18n/engine/resources/userLifecycleState.en.ts +5 -7
- package/templates/saas/i18n/engine/resources/userLifecycleState.fr.ts +2 -4
- package/templates/saas/i18n/engine/resources/userPreferences.en.ts +23 -2
- package/templates/saas/i18n/engine/resources/userPreferences.fr.ts +23 -2
- package/templates/saas/i18n/engine/resources/userProfiles.en.ts +15 -2
- package/templates/saas/i18n/engine/resources/userProfiles.fr.ts +15 -2
- package/templates/saas/i18n/engine/resources/userProgressionState.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/userProgressionState.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/userProviderCredentials.en.ts +11 -11
- package/templates/saas/i18n/engine/resources/userProviderCredentials.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/userSelfPreferences.en.ts +23 -4
- package/templates/saas/i18n/engine/resources/userSelfPreferences.fr.ts +23 -4
- package/templates/saas/i18n/engine/resources/userSelfProfiles.en.ts +15 -4
- package/templates/saas/i18n/engine/resources/userSelfProfiles.fr.ts +15 -4
- package/templates/saas/i18n/engine/resources/userSubscriptions.en.ts +7 -2
- package/templates/saas/i18n/engine/resources/userSubscriptions.fr.ts +7 -2
- package/templates/saas/i18n/engine/resources/userUsageRecords.en.ts +25 -4
- package/templates/saas/i18n/engine/resources/userUsageRecords.fr.ts +25 -4
- package/templates/saas/i18n/engine/resources/user_self.en.ts +157 -42
- package/templates/saas/i18n/engine/resources/user_self.fr.ts +170 -55
- package/templates/saas/i18n/engine/resources/users.en.ts +38 -51
- package/templates/saas/i18n/engine/resources/users.fr.ts +34 -47
- package/templates/saas/scenarios/add-3d-layout/scenario.json +2 -2
- package/templates/saas/scenarios/add-custom-operation/files/backend-api/src/modules/__moduleDir__/resources/__resourceDir__/__resourceDir__.__operationIdentifier__.default.operation.ts.hbs +1 -1
- package/templates/saas/scenarios/add-custom-operation/scenario.json +1 -0
- package/templates/saas/scenarios/add-environment/files/infrastructure/__envName__/wildo.infra.remote.config.ts.hbs +4 -4
- package/templates/saas/scenarios/add-file-picker-provider/files/frontend/src/engine/providers/__providerRef__.frontend-app.module.ts.hbs +1 -1
- package/templates/saas/scenarios/add-file-picker-provider/scenario.json +2 -0
- package/templates/saas/scenarios/add-locale/files/website/src/i18n/__localePath__/landing.landing-hero.json.hbs +6 -0
- package/templates/saas/scenarios/add-locale/files/website/src/i18n/__localePath__.json.hbs +14 -12
- package/templates/saas/scenarios/add-locale/files/website/src/pages/__localePath__/index.astro +5 -2
- package/templates/saas/scenarios/add-locale/scenario.json +7 -5
- package/templates/saas/scenarios/add-marketing-page/files/website/src/i18n/en/__pageRef__.__pageRef__-hero.json.hbs +4 -0
- package/templates/saas/scenarios/add-marketing-page/files/website/src/pages/__pageRef__.astro.hbs +5 -2
- package/templates/saas/scenarios/add-marketing-page/files/website/src/pages-impl/__pageRef__.bridge.tsx.hbs +2 -0
- package/templates/saas/scenarios/add-marketing-page/files/website/src/sections/__pageRef__.sections.tsx.hbs +16 -44
- package/templates/saas/scenarios/add-marketing-page/scenario.json +71 -19
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/package.json.hbs +6 -6
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/src/application-initialization.ts.hbs +6 -1
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/wildo.minion.config.ts.hbs +4 -4
- package/templates/saas/scenarios/add-minion/scenario.json +3 -3
- package/templates/saas/scenarios/add-module/files/frontend/src/modules/__moduleId__/app-shell.module.frontend.ts.hbs +2 -0
- package/templates/saas/scenarios/add-module/files/specifications/src/modules/__moduleId__/index.ts.hbs +2 -2
- package/templates/saas/scenarios/add-module/scenario.json +2 -0
- package/templates/saas/scenarios/add-resource/files/shared-lib/src/modules/__moduleId__/resources/__resourceDir__/__resourceDir__.schemas.ts.hbs +7 -1
- package/templates/saas/scenarios/add-resource/files/specifications/src/modules/__moduleId__/resources/__resourceDir__.resource.specification.ts.hbs +7 -7
- package/templates/saas/scenarios/add-resource/scenario.json +3 -2
- package/templates/saas/scenarios/add-technical-doc/files/patches/@docusaurus__utils@3.10.2.patch +77 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +25 -17
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/basic.conf +2 -3
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/location/cross-domain-fonts.conf.hbs +3 -5
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/sites-enabled/default.hbs +10 -19
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/package.json.hbs +5 -4
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/scripts/substitute-api-origin.mjs +64 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/scripts/verify-api-reference-conservation.ts +1 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/csp.config.ts +16 -3
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/documentation-site-locales.ts +29 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/api-reference/indexes/api-reference-search.json +4 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/consumer-documentation/indexes/search.json +4 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/csp.generated.json.hbs +10 -2
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx +29 -4
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/plugins/api-reference-pages.ts +11 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/wildo.tech-doc.config.ts.hbs +10 -7
- package/templates/saas/scenarios/add-technical-doc/scenario.json +9 -5
- package/templates/saas/scenarios/add-website/files/website/Dockerfile +2 -0
- package/templates/saas/scenarios/add-website/files/website/astro.config.ts.hbs +53 -14
- package/templates/saas/scenarios/add-website/files/website/package.json.hbs +5 -5
- package/templates/saas/scenarios/add-website/files/website/src/app-origin.ts.hbs +8 -6
- package/templates/saas/scenarios/add-website/files/website/src/brand-theme.ts +66 -0
- package/templates/saas/scenarios/add-website/files/website/src/components/FooterComponent.tsx.hbs +25 -20
- package/templates/saas/scenarios/add-website/files/website/src/components/HeaderComponent.tsx +15 -100
- package/templates/saas/scenarios/add-website/files/website/src/components/index.ts +9 -7
- package/templates/saas/scenarios/add-website/files/website/src/csp.config.ts +10 -2
- package/templates/saas/scenarios/add-website/files/website/src/generated/csp.generated.json.hbs +10 -2
- package/templates/saas/scenarios/add-website/files/website/src/i18n/en/landing.landing-hero.json.hbs +6 -0
- package/templates/saas/scenarios/add-website/files/website/src/i18n/en.json.hbs +13 -12
- package/templates/saas/scenarios/add-website/files/website/src/pages/index.astro +5 -2
- package/templates/saas/scenarios/add-website/files/website/src/pages-impl/landing.bridge.tsx +3 -1
- package/templates/saas/scenarios/add-website/files/website/src/sections/index.ts +5 -9
- package/templates/saas/scenarios/add-website/files/website/src/sections/landing.sections.tsx +22 -58
- package/templates/saas/scenarios/add-website/files/website/src/site-menu.ts +47 -0
- package/templates/saas/scenarios/add-website/files/website/src/styles/website.css +46 -411
- package/templates/saas/scenarios/add-website/files/website/src/website-root.config.ts.hbs +34 -45
- package/templates/saas/scenarios/add-website/files/website/wildo.website.config.ts.hbs +5 -4
- package/templates/saas/scenarios/add-website/scenario.json +5 -3
- package/templates/saas/scenarios/add-website-section/files/website/src/i18n/en/__pageRef__.__sectionRef__.json.hbs +10 -0
- package/templates/saas/scenarios/add-website-section/scenario.json +10 -14
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/package.json.hbs +5 -4
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/src/index.ts.hbs +2 -3
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/wildo.worker.config.ts.hbs +3 -3
- package/templates/saas/scenarios/add-worker-node/scenario.json +1 -1
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Cargo.lock.hbs +2233 -0
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Cargo.toml.hbs +13 -3
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Dockerfile.hbs +27 -9
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/README.md +96 -0
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/main.rs.hbs +159 -149
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/response_integrity.rs +851 -0
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/worker_request_keys.rs +404 -0
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/wildo.worker.config.ts.hbs +3 -3
- package/templates/saas/scenarios/add-worker-rust/scenario.json +2 -2
- package/templates/saas/skeleton/.wildo-saas/dev-framework-scripts/sync-engine.sh +39 -7
- package/templates/saas/skeleton/CLAUDE.md.hbs +8 -0
- package/templates/saas/skeleton/backend-api/Dockerfile +2 -1
- package/templates/saas/skeleton/backend-api/package.json.hbs +7 -2
- package/templates/saas/skeleton/backend-api/src/bootstrap-config.ts +13 -4
- package/templates/saas/skeleton/backend-api/src/engine/email/email-template-definitions.ts +8 -0
- package/templates/saas/skeleton/backend-api/src/engine/email/index.ts +1 -1
- package/templates/saas/skeleton/backend-api/src/engine/index.ts +2 -1
- package/templates/saas/skeleton/backend-api/src/index.ts +7 -6
- package/templates/saas/skeleton/backend-api/src/modules-registry.backend.ts.hbs +5 -0
- package/templates/saas/skeleton/backend-api/src/saas-config.backend.ts.hbs +1 -3
- package/templates/saas/skeleton/backend-api/tsconfig.build.json +1 -1
- package/templates/saas/skeleton/frontend/package.json.hbs +6 -2
- package/templates/saas/skeleton/frontend/src/__tests__/setup.ts.hbs +18 -14
- package/templates/saas/skeleton/frontend/src/config/app-shell.config.ts +2 -13
- package/templates/saas/skeleton/frontend/src/config/design-system.config.ts +35 -125
- package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +16 -12
- package/templates/saas/skeleton/frontend/src/csp.config.ts +10 -2
- package/templates/saas/skeleton/frontend/src/engine/component-registrations.frontend.ts +1 -1
- package/templates/saas/skeleton/frontend/src/generated/csp.generated.json.hbs +10 -2
- package/templates/saas/skeleton/frontend/src/index.css.hbs +170 -148
- package/templates/saas/skeleton/frontend/src/modules-registry.frontend.ts.hbs +9 -2
- package/templates/saas/skeleton/frontend/vite-engine-dependency-prebundle.ts +20 -9
- package/templates/saas/skeleton/frontend/vite.config.ts.hbs +57 -3
- package/templates/saas/skeleton/gitignore +14 -0
- package/templates/saas/skeleton/shared-lib/package.json.hbs +6 -1
- package/templates/saas/skeleton/specifications/package.json.hbs +10 -1
- package/templates/saas/skeleton/tsconfig.common.json +6 -2
- package/templates/saas/skeleton/wildo.saas.config.ts.init.hbs +53 -20
- package/wildo-framework.info.json +1 -1
- package/dist/src/services/application/provider-package-links.service.d.ts +0 -209
- package/dist/src/services/application/provider-package-links.service.d.ts.map +0 -1
- package/dist/src/services/application/provider-package-links.service.js +0 -420
- package/dist/src/services/application/provider-package-links.service.js.map +0 -1
- package/dist/src/services/registry/registry-config-resolver.service.d.ts +0 -62
- package/dist/src/services/registry/registry-config-resolver.service.d.ts.map +0 -1
- package/dist/src/services/registry/registry-config-resolver.service.js +0 -148
- package/dist/src/services/registry/registry-config-resolver.service.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/templates/infra/k8s/ingress/providers/scaleway-annotations.yaml.hbs +0 -39
- package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/template.tsx +0 -77
- package/templates/saas/i18n/email/system/organization-invitation/labels.en.ts +0 -15
- package/templates/saas/i18n/email/system/organization-invitation/labels.fr.ts +0 -21
- package/templates/saas/i18n/email/system/organization-invitation/template.tsx +0 -66
- package/templates/saas/i18n/email/system/payment-failed/labels.en.ts +0 -16
- package/templates/saas/i18n/email/system/payment-failed/labels.fr.ts +0 -21
- package/templates/saas/i18n/email/system/payment-failed/template.tsx +0 -59
- package/templates/saas/i18n/email/system/subscription-cancelled/labels.en.ts +0 -15
- package/templates/saas/i18n/email/system/subscription-cancelled/labels.fr.ts +0 -20
- package/templates/saas/i18n/email/system/subscription-cancelled/template.tsx +0 -56
- package/templates/saas/i18n/email/system/subscription-confirmation/labels.en.ts +0 -14
- package/templates/saas/i18n/email/system/subscription-confirmation/labels.fr.ts +0 -21
- package/templates/saas/i18n/email/system/subscription-confirmation/template.tsx +0 -60
- package/templates/saas/i18n/engine/resources/applicationScimTokens.en.ts +0 -240
- package/templates/saas/i18n/engine/resources/applicationScimTokens.fr.ts +0 -345
- package/templates/saas/i18n/engine/resources/clientMailboxes.en.ts +0 -169
- package/templates/saas/i18n/engine/resources/clientMailboxes.fr.ts +0 -169
- package/templates/saas/i18n/engine/resources/serviceEngagementAssignments.en.ts +0 -368
- package/templates/saas/i18n/engine/resources/serviceEngagementAssignments.fr.ts +0 -368
- package/templates/saas/i18n/engine/resources/serviceEngagements.en.ts +0 -321
- package/templates/saas/i18n/engine/resources/serviceEngagements.fr.ts +0 -321
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeed.en.ts +0 -237
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeed.fr.ts +0 -237
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.en.ts +0 -209
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.fr.ts +0 -209
- package/templates/saas/i18n/engine/resources/serviceProviderCapabilityGrants.en.ts +0 -275
- package/templates/saas/i18n/engine/resources/serviceProviderCapabilityGrants.fr.ts +0 -275
- package/templates/saas/i18n/engine/resources/serviceProviderRelationships.en.ts +0 -431
- package/templates/saas/i18n/engine/resources/serviceProviderRelationships.fr.ts +0 -431
- package/templates/saas/i18n/engine/resources/wildoApplication.en.ts +0 -590
- package/templates/saas/i18n/engine/resources/wildoApplication.fr.ts +0 -574
- package/templates/saas/i18n/engine/resources/wildoApplicationVersions.en.ts +0 -293
- package/templates/saas/i18n/engine/resources/wildoApplicationVersions.fr.ts +0 -293
- package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.en.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.fr.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.en.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.fr.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchBrandAssets.en.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchBrandAssets.fr.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.en.ts +0 -174
- package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.fr.ts +0 -174
- package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchBrandNames.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchBrandNames.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.en.ts +0 -270
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.fr.ts +0 -270
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.en.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.fr.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.en.ts +0 -306
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.fr.ts +0 -306
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.en.ts +0 -758
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.fr.ts +0 -758
- package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.en.ts +0 -238
- package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.fr.ts +0 -238
- package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.en.ts +0 -206
- package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.fr.ts +0 -206
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSections.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSections.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.en.ts +0 -254
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.fr.ts +0 -254
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateVariantSelections.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateVariantSelections.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.en.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.fr.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.en.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.fr.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.en.ts +0 -174
- package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.fr.ts +0 -174
- package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.en.ts +0 -278
- package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.fr.ts +0 -278
- package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.en.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.fr.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.en.ts +0 -518
- package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.fr.ts +0 -518
- package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.en.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.fr.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.en.ts +0 -326
- package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.fr.ts +0 -326
- package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.en.ts +0 -326
- package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.fr.ts +0 -326
- package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.en.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.fr.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchCreationHomeLines.en.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchCreationHomeLines.fr.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.en.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.fr.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.en.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.fr.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchDocumentPublicationVariants.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchDocumentPublicationVariants.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchDocumentReleases.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchDocumentReleases.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.en.ts +0 -326
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.fr.ts +0 -326
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.en.ts +0 -206
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.fr.ts +0 -206
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.en.ts +0 -366
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.fr.ts +0 -366
- package/templates/saas/i18n/engine/resources/workbenchDomainResources.en.ts +0 -534
- package/templates/saas/i18n/engine/resources/workbenchDomainResources.fr.ts +0 -534
- package/templates/saas/i18n/engine/resources/workbenchDossierEntries.en.ts +0 -273
- package/templates/saas/i18n/engine/resources/workbenchDossierEntries.fr.ts +0 -273
- package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.en.ts +0 -486
- package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.fr.ts +0 -486
- package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.en.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.fr.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchExperienceViews.en.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchExperienceViews.fr.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.en.ts +0 -390
- package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.fr.ts +0 -390
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.en.ts +0 -534
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.fr.ts +0 -534
- package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.en.ts +0 -308
- package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.fr.ts +0 -308
- package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.en.ts +0 -230
- package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.fr.ts +0 -230
- package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.en.ts +0 -334
- package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.fr.ts +0 -334
- package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.en.ts +0 -414
- package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.fr.ts +0 -414
- package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.en.ts +0 -334
- package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.fr.ts +0 -334
- package/templates/saas/i18n/engine/resources/workbenchMarketAlternatives.en.ts +0 -230
- package/templates/saas/i18n/engine/resources/workbenchMarketAlternatives.fr.ts +0 -222
- package/templates/saas/i18n/engine/resources/workbenchMarketBenefits.en.ts +0 -606
- package/templates/saas/i18n/engine/resources/workbenchMarketBenefits.fr.ts +0 -598
- package/templates/saas/i18n/engine/resources/workbenchMarketBuyingJourneys.en.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchMarketBuyingJourneys.fr.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchMarketCategories.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchMarketCategories.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchMarketChannels.en.ts +0 -270
- package/templates/saas/i18n/engine/resources/workbenchMarketChannels.fr.ts +0 -262
- package/templates/saas/i18n/engine/resources/workbenchMarketGains.en.ts +0 -270
- package/templates/saas/i18n/engine/resources/workbenchMarketGains.fr.ts +0 -262
- package/templates/saas/i18n/engine/resources/workbenchMarketIcps.en.ts +0 -990
- package/templates/saas/i18n/engine/resources/workbenchMarketIcps.fr.ts +0 -990
- package/templates/saas/i18n/engine/resources/workbenchMarketJobs.en.ts +0 -350
- package/templates/saas/i18n/engine/resources/workbenchMarketJobs.fr.ts +0 -342
- package/templates/saas/i18n/engine/resources/workbenchMarketMessageTemplates.en.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchMarketMessageTemplates.fr.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchMarketObjections.en.ts +0 -422
- package/templates/saas/i18n/engine/resources/workbenchMarketObjections.fr.ts +0 -414
- package/templates/saas/i18n/engine/resources/workbenchMarketPains.en.ts +0 -270
- package/templates/saas/i18n/engine/resources/workbenchMarketPains.fr.ts +0 -262
- package/templates/saas/i18n/engine/resources/workbenchMarketPersonas.en.ts +0 -518
- package/templates/saas/i18n/engine/resources/workbenchMarketPersonas.fr.ts +0 -510
- package/templates/saas/i18n/engine/resources/workbenchMarketPositionings.en.ts +0 -342
- package/templates/saas/i18n/engine/resources/workbenchMarketPositionings.fr.ts +0 -334
- package/templates/saas/i18n/engine/resources/workbenchMarketProofs.en.ts +0 -366
- package/templates/saas/i18n/engine/resources/workbenchMarketProofs.fr.ts +0 -358
- package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.en.ts +0 -294
- package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.fr.ts +0 -294
- package/templates/saas/i18n/engine/resources/workbenchMarketTriggers.en.ts +0 -286
- package/templates/saas/i18n/engine/resources/workbenchMarketTriggers.fr.ts +0 -278
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.en.ts +0 -534
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.fr.ts +0 -534
- package/templates/saas/i18n/engine/resources/workbenchParkedCodingQuestions.en.ts +0 -172
- package/templates/saas/i18n/engine/resources/workbenchParkedCodingQuestions.fr.ts +0 -172
- package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.en.ts +0 -254
- package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.fr.ts +0 -254
- package/templates/saas/i18n/engine/resources/workbenchPlacementGroups.en.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchPlacementGroups.fr.ts +0 -182
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.en.ts +0 -262
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.fr.ts +0 -262
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.en.ts +0 -520
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.fr.ts +0 -520
- package/templates/saas/i18n/engine/resources/workbenchPricingPlans.en.ts +0 -286
- package/templates/saas/i18n/engine/resources/workbenchPricingPlans.fr.ts +0 -286
- package/templates/saas/i18n/engine/resources/workbenchProcessorRegisterEntries.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchProcessorRegisterEntries.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchReleasePolicySelections.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchReleasePolicySelections.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.en.ts +0 -294
- package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.fr.ts +0 -294
- package/templates/saas/i18n/engine/resources/workbenchRiskRegisterEntries.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchRiskRegisterEntries.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.en.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.fr.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.en.ts +0 -559
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.fr.ts +0 -559
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.en.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.fr.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchTraceSessions.en.ts +0 -394
- package/templates/saas/i18n/engine/resources/workbenchTraceSessions.fr.ts +0 -394
- package/templates/saas/i18n/engine/resources/workbenchVisionConstraints.en.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchVisionConstraints.fr.ts +0 -182
- package/templates/saas/i18n/engine/resources/workbenchVisionIdeas.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchVisionIdeas.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchVisionMissions.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchVisionMissions.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchVisionProblems.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchVisionProblems.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.en.ts +0 -390
- package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.fr.ts +0 -390
- package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.en.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.fr.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchWebsitePages.en.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchWebsitePages.fr.ts +0 -214
- /package/templates/saas/i18n/email/resources/organizationMembers/{update.organization-users → update.organization-user-management}/labels.en.ts +0 -0
- /package/templates/saas/i18n/email/resources/organizationMembers/{update.organization-users → update.organization-user-management}/labels.fr.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry-command.utils.js","sourceRoot":"","sources":["../../../../src/services/registry/registry-command.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,QAAQ,IAAI,EAAE,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EACL,mBAAmB,EACnB,UAAU,EACV,oBAAoB,EAIpB,4BAA4B,EAC5B,qBAAqB,GACtB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,uBAAuB,EAA6B,MAAM,+BAA+B,CAAC;AAEnG,OAAO,EAAE,6BAA6B,EAAE,kBAAkB,EAAyB,MAAM,oCAAoC,CAAC;AAC9H,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAE1E;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,eAAe,CAAC,GAAmB,EAAE,IAAY;IAC/D,MAAM,IAAI,GAAG,GAAG,CAAC,UAAU,CAAC,aAAa,CAAC,GAAG,CAAC;IAC9C,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,gBAAgB,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE,CAAC;QAC7D,MAAM,IAAI,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACxC,CAAC;IACD,mEAAmE;IACnE,uDAAuD;IACvD,8DAA8D;IAC9D,6DAA6D;IAC7D,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,eAAe,CAAC,EAAE,CAAC;QAC3C,MAAM,IAAI,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACxC,CAAC;IACD,OAAO,IAAI,CAAC,eAAe,CAAC;AAC9B,CA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I,IAAI,CAAC,KAAK,IAAI,CAAC,SAAS,CAAC,QAAQ,IAAI,IAAI,CAAC,EAAE,CAAC;QACzE,MAAM,IAAI,KAAK,CACb,IAAI,QAAQ,qFAAqF;YAC/F,qFAAqF,CACxF,CAAC;IACJ,CAAC;AACH,CAAC","sourcesContent":["/**\n * Shared helpers used by every `wildo-cli/src/commands/registry/*`\n * command. Mirrors the local-utils pattern from\n * `wildo-cli/src/commands/market/market-command.utils.ts`.\n *\n * Phase 0.5 only ships saas-root resolution + a thin logger\n * adapter. Phase 1 will add credentials, registry-config readers,\n * and the proper post-mutation provider-sync runner.\n */\n\nimport { promises as fs } from 'node:fs';\nimport * as path from 'node:path';\nimport {\n ConfigArtifactsZone,\n loadConfig,\n registryProvenanceOf,\n type RegistryConfig,\n type RegistryModulesLockEntry,\n type WildoSaasConfig,\n getWorkspaceMutationLockPath,\n withDedicatedFileLock,\n} from '@wildo-ai/platform-config-lib';\nimport { RegistryLockfileService, type RegistryClientLogger } from '@wildo-ai/wildo-module-client';\nimport type { CommandContext } from '~wildo-cli/kernel/types';\nimport { assertRegistryTransportIsSafe, resolveRegistryUrl, type ResolvedRegistry } from './registry-config-resolver.service';\nimport { SaasRootRequiredError } from './saas-root-required.error';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\n\n/**\n * Read the SaaS app declaration root from the already-injected\n * `CommandContext`. Per Review-pass-4 / HIGH-CC, the canonical\n * path is `ctx.cliContext.resolvedHomes.app.declarationRoot`; the\n * `EnvironmentRegistry.getSaasRoot()` shortcut would form a\n * cross-package cycle with `wildo-module-client` and is forbidden.\n *\n * Throws `SaasRootRequiredError` when the cwd is not inside an\n * app workspace. The `CommandCategory.Registry` gate already\n * rejects pre-execution when `scope < SAAS_APP`; this guard is\n * defensive against future regressions where a registry command\n * is reached without that gate (e.g. via a non-discovery test\n * harness).\n */\nexport function requireSaasRoot(ctx: CommandContext, verb: string): string {\n const home = ctx.cliContext.resolvedHomes.app;\n if (!home || !home.isInAppWorkspace || !home.declarationRoot) {\n throw new SaasRootRequiredError(verb);\n }\n // Defensive: every downstream service (lockfile IO, smoke sandbox,\n // staging folders) joins against this path. A relative\n // `declarationRoot` would land writes under `process.cwd()` —\n // a silent corruption mode if `resolveHomes` ever regresses.\n if (!path.isAbsolute(home.declarationRoot)) {\n throw new SaasRootRequiredError(verb);\n }\n return home.declarationRoot;\n}\n\n/**\n * Lazily load the SaaS app's `wildo.saas.config.ts` and return the\n * authored `moduleRegistries` array (or an empty array when the\n * config doesn't author one).\n *\n * Phase-4 wiring requirement (H7 from third-pass review): the\n * canonical `resolveRegistryUrl({ flag, moduleRegistries })` always\n * received `moduleRegistries: undefined`, so registry IDs authored in\n * `wildo.saas.config.ts` were silently unreachable from the CLI.\n * Every registry command that takes `--registry <id|url|alias>`\n * should call this helper and forward the result to\n * `resolveRegistryUrl({ flag, moduleRegistries })`.\n *\n * Failure mode: when the SaaS config file is missing/malformed, the\n * helper returns `[]` and logs a warning. The caller still falls\n * back to the env-policy default — a config-load error must NOT\n * block `wildo registry login --registry public` in a fresh repo.\n */\nexport async function loadModuleRegistries(\n saasRoot: string,\n log?: RegistryClientLogger,\n): Promise<RegistryConfig> {\n const configPath = path.resolve(saasRoot, 'wildo.saas.config.ts');\n // M7 (4th-pass review): the no-config case (fresh repo, or `info`/\n // `search`/`login` from a non-app dir) is the COMMON path — silently\n // return `[]` so we don't print a stderr warning every time. Only\n // surface a warning when the file exists but loading fails (real\n // problem the operator should see).\n try {\n await fs.stat(configPath);\n } catch (err) {\n if ((err as NodeJS.ErrnoException).code === 'ENOENT') {\n return [];\n }\n // stat failed for some non-ENOENT reason (perms, IO error) — fall\n // through to loadConfig and let it produce a more specific error.\n }\n try {\n const cfg = await loadConfig<WildoSaasConfig>(configPath, {\n artifactLocation: {\n zone: ConfigArtifactsZone.SAAS,\n ownerRoot: saasRoot,\n },\n });\n // The schema permits `moduleRegistries?: RegistryConfig` —\n // omitted = no app-authored registries; the env-policy default\n // applies.\n return cfg.moduleRegistries ?? [];\n } catch (err) {\n log?.warn?.(\n `[registry] Failed to parse wildo.saas.config.ts at ${configPath} (${ErrorUtils.extractErrorMessage(err)}). ` +\n 'Falling back to alias/URL/env-policy resolution.',\n );\n return [];\n }\n}\n\n/**\n * Read the SaaS app declaration root WITHOUT throwing when the cwd\n * isn't an app workspace. Used by `login`/`logout`/`whoami`/`info`/\n * `search`/`ping` — the kernel gate exempts them from the SAAS_APP\n * scope requirement, so they may legitimately run outside an app.\n */\nexport function getSaasRootIfAvailable(ctx: CommandContext): string | undefined {\n const home = ctx.cliContext.resolvedHomes.app;\n if (!home || !home.isInAppWorkspace || !home.declarationRoot) {\n return undefined;\n }\n if (!path.isAbsolute(home.declarationRoot)) {\n return undefined;\n }\n return home.declarationRoot;\n}\n\n/**\n * Composite helper: load `moduleRegistries` from the SaaS app config\n * (when reachable) and forward the result to `resolveRegistryUrl`.\n * This is the canonical entry point every registry command should\n * call; passing `flag` alone (without `moduleRegistries`) was the\n * H7 finding from the third-pass review — it left registry IDs\n * authored in `wildo.saas.config.ts > moduleRegistries` silently\n * unreachable from the CLI.\n *\n * `saasRoot` is optional because `login`/`logout`/`whoami` may run\n * without a SaaS workspace (the auth verbs declare\n * `minimumScope: WorkspaceScope.UNINITIALIZED` per 5th-pass H1).\n * When omitted, this helper short-circuits the `moduleRegistries`\n * lookup entirely — no `fs.stat` of `wildo.saas.config.ts`, no\n * warning logs from `loadModuleRegistries`. The resolver still\n * works via alias / URL / env-policy fallback.\n *\n * 6th-pass K-L1 — call-site contract: pass `saasRoot: getSaasRootIfAvailable(ctx)`\n * from auth/read commands so the short-circuit fires when out of an\n * app workspace, and `saasRoot: requireSaasRoot(ctx, '<verb>')` from\n * mutation commands so the lookup is mandatory.\n */\nexport async function resolveRegistryUrlForCommand(\n ctx: CommandContext,\n args: { flag?: string; saasRoot?: string; forceFrameworkDeveloperMode?: boolean },\n): Promise<ResolvedRegistry> {\n let moduleRegistries: RegistryConfig | undefined = undefined;\n if (args.saasRoot) {\n // Only stat + load the SaaS config when a workspace is actually\n // available — `getSaasRootIfAvailable` returns `undefined`\n // outside an app dir, in which case we skip the FS read.\n moduleRegistries = await loadModuleRegistries(args.saasRoot, asRegistryLogger(ctx));\n }\n return resolveRegistryUrl({\n flag: args.flag,\n moduleRegistries,\n forceFrameworkDeveloperMode: args.forceFrameworkDeveloperMode,\n });\n}\n\n/**\n * The registry an installed module was fetched from, as its lockfile entry records it — put through the\n * same transport check `resolveRegistryUrl` applies (#1764). `update` without `--registry` and\n * `repair-lockfile` talk to the RECORDED url rather than resolving one, and until the review of #1764\n * both skipped the check: a lockfile naming plain `http://` (or a key stored for one before #1764) would\n * have sent that key in clear. Every registry call now goes through a resolver or through this.\n */\nexport async function resolveLockedRegistry(\n ctx: CommandContext,\n saasRoot: string,\n entry: RegistryModulesLockEntry,\n): Promise<{ url: string; id?: string }> {\n // A checkout-distributed entry (#2015) has no registry: `registryProvenanceOf` refuses it by name\n // rather than handing a caller an `undefined` URL to dial.\n const { registryUrl, registryId } = registryProvenanceOf(entry);\n assertRegistryTransportIsSafe(registryUrl, await loadModuleRegistries(saasRoot, asRegistryLogger(ctx)));\n return { url: registryUrl, id: registryId };\n}\n\n/**\n * Adapt the kernel's chalk-aware `Logger` to the simpler\n * `RegistryClientLogger` interface consumed by `wildo-module-client`.\n * The registry client deliberately avoids depending on `chalk` so it\n * stays usable in non-CLI hosts (companion, server) without dragging\n * the chalk surface into them.\n */\nexport function asRegistryLogger(ctx: CommandContext): RegistryClientLogger {\n return {\n info: ctx.log.info.bind(ctx.log),\n success: ctx.log.success.bind(ctx.log),\n warn: ctx.log.warn.bind(ctx.log),\n error: ctx.log.error.bind(ctx.log),\n };\n}\n\n/**\n * Run a registry command's WRITE PHASE under the application's workspace-mutation lock.\n *\n * `add` / `update` / `remove` / `repair-lockfile --fix` write application source. The companion's\n * coding-agent dispatch holds this lock for a whole agent run, and `wildo config sync` takes it around\n * its writes — so without it a registry install could land in the middle of an agent run, mixing its\n * files into the change set the run is attributed from. Until 2026-09-25 no registry command took it.\n *\n * Two rules the callers follow:\n *\n * - **Fail fast, never queue** — same policy as `config sync`: a dispatch run can hold the lock for\n * many minutes, and a silent wait reads as a hang.\n * - **Release BEFORE provider sync.** The post-mutation provider sync spawns `wildo config sync`,\n * which takes this same lock; holding it across that call would make the child refuse itself.\n *\n * Only a contention on THIS lock is reported as \"the workspace is busy\". The lockfile service takes a\n * separate file lock inside the write phase, and its `ELOCKED` is a different fact — so the report is\n * gated on whether this lock was ever acquired.\n */\nexport async function withRegistryWorkspaceMutationLock<T>(saasRoot: string, writePhase: () => Promise<T>): Promise<T> {\n const lockPath = getWorkspaceMutationLockPath(saasRoot);\n let acquired = false;\n try {\n return await withDedicatedFileLock(\n lockPath,\n async () => {\n acquired = true;\n return writePhase();\n },\n { retries: { retries: 2 } },\n );\n } catch (error) {\n if (!acquired && (error as { code?: string })?.code === 'ELOCKED') {\n throw new Error(\n `The workspace-mutation lock is held (${lockPath}) — an active coding-agent dispatch run or another ` +\n 'worktree-writing command owns the application worktree right now. Nothing was written; retry after it completes.',\n );\n }\n throw error;\n }\n}\n\n/**\n * Inside the workspace-mutation lock, confirm the module's lockfile entry is still the one the\n * command decided from BEFORE taking the lock — and refuse otherwise.\n *\n * The lock makes the write phase exclusive, but each command reads `sections.modules` first (to\n * decide whether it is installed, which files to shrink, whether the pin changed) and only then\n * takes the lock, after a network round trip. Two registry commands in one checkout can therefore\n * interleave: a second `update` would shrink against the first one's stale file set and orphan\n * files, a `remove` could be followed by an `update` re-installing the module, two `add`s could both\n * pass the \"already installed\" check. Re-reading under the lock and comparing turns each of those\n * into a clean refusal — nothing is written — and the operator re-runs the command against the\n * current state.\n *\n * `expected: undefined` asserts the module is still NOT installed (the `add` case).\n */\nexport async function assertModuleEntryUnchangedUnderLock(\n saasRoot: string,\n moduleId: string,\n expected: RegistryModulesLockEntry | undefined,\n): Promise<void> {\n const current = (await RegistryLockfileService.read(saasRoot)).installed[moduleId];\n if (JSON.stringify(current ?? null) !== JSON.stringify(expected ?? null)) {\n throw new Error(\n `\"${moduleId}\" changed in wildo-saas.lock.json while this command was running (another registry ` +\n 'command in this checkout got there first). Nothing was written; re-run the command.',\n );\n }\n}\n\n"]}
|
|
1
|
+
{"version":3,"file":"registry-command.utils.js","sourceRoot":"","sources":["../../../../src/services/registry/registry-command.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,QAAQ,IAAI,EAAE,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EACL,6BAA6B,EAC7B,mBAAmB,EACnB,UAAU,EACV,kBAAkB,EAClB,oBAAoB,EAKpB,4BAA4B,EAC5B,qBAAqB,GACtB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,uBAAuB,EAA6B,MAAM,+BAA+B,CAAC;AAEnG,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAE1E;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,eAAe,CAAC,GAAmB,EAAE,IAAY;IAC/D,MAAM,IAAI,GAAG,GAAG,CAAC,UAAU,CAAC,aAAa,CAAC,GAAG,CAAC;IAC9C,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,gBAAgB,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE,CAAC;QAC7D,MAAM,IAAI,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACxC,CAAC;IACD,mEAAmE;IACnE,uDAAuD;IACvD,8DAA8D;IAC9D,6DAA6D;IAC7D,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,eAAe,CAAC,EAAE,CAAC;QAC3C,MAAM,IAAI,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACxC,CAAC;IACD,OAAO,IAAI,CAAC,eAAe,CAAC;AAC9B,CAAC;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B,MAAM,IAAI,KAAK,CACb,wBAAwB,IAAI,6DAA6D,CAC1F,CAAC;IACJ,CAAC;IACD,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;AACrC,CAAC","sourcesContent":["/**\n * Shared helpers used by every `wildo-cli/src/commands/registry/*`\n * command. Mirrors the local-utils pattern from\n * `wildo-cli/src/commands/market/market-command.utils.ts`.\n *\n * Phase 0.5 only ships saas-root resolution + a thin logger\n * adapter. Phase 1 will add credentials, registry-config readers,\n * and the proper post-mutation provider-sync runner.\n */\n\nimport { promises as fs } from 'node:fs';\nimport * as path from 'node:path';\nimport {\n assertRegistryTransportIsSafe,\n ConfigArtifactsZone,\n loadConfig,\n resolveRegistryUrl,\n registryProvenanceOf,\n type RegistryConfig,\n type RegistryModulesLockEntry,\n type ResolvedRegistry,\n type WildoSaasConfig,\n getWorkspaceMutationLockPath,\n withDedicatedFileLock,\n} from '@wildo-ai/platform-config-lib';\nimport { RegistryLockfileService, type RegistryClientLogger } from '@wildo-ai/wildo-module-client';\nimport type { CommandContext } from '~wildo-cli/kernel/types';\nimport { SaasRootRequiredError } from './saas-root-required.error';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\n\n/**\n * Read the SaaS app declaration root from the already-injected\n * `CommandContext`. Per Review-pass-4 / HIGH-CC, the canonical\n * path is `ctx.cliContext.resolvedHomes.app.declarationRoot`; the\n * `EnvironmentRegistry.getSaasRoot()` shortcut would form a\n * cross-package cycle with `wildo-module-client` and is forbidden.\n *\n * Throws `SaasRootRequiredError` when the cwd is not inside an\n * app workspace. The `CommandCategory.Registry` gate already\n * rejects pre-execution when `scope < SAAS_APP`; this guard is\n * defensive against future regressions where a registry command\n * is reached without that gate (e.g. via a non-discovery test\n * harness).\n */\nexport function requireSaasRoot(ctx: CommandContext, verb: string): string {\n const home = ctx.cliContext.resolvedHomes.app;\n if (!home || !home.isInAppWorkspace || !home.declarationRoot) {\n throw new SaasRootRequiredError(verb);\n }\n // Defensive: every downstream service (lockfile IO, smoke sandbox,\n // staging folders) joins against this path. A relative\n // `declarationRoot` would land writes under `process.cwd()` —\n // a silent corruption mode if `resolveHomes` ever regresses.\n if (!path.isAbsolute(home.declarationRoot)) {\n throw new SaasRootRequiredError(verb);\n }\n return home.declarationRoot;\n}\n\n/**\n * Lazily load the SaaS app's `wildo.saas.config.ts` and return the\n * authored `moduleRegistries` array (or an empty array when the\n * config doesn't author one).\n *\n * Phase-4 wiring requirement (H7 from third-pass review): the\n * canonical `resolveRegistryUrl({ flag, moduleRegistries })` always\n * received `moduleRegistries: undefined`, so registry IDs authored in\n * `wildo.saas.config.ts` were silently unreachable from the CLI.\n * Every registry command that takes `--registry <id|url|alias>`\n * should call this helper and forward the result to\n * `resolveRegistryUrl({ flag, moduleRegistries })`.\n *\n * Failure mode: when the SaaS config file is missing/malformed, the\n * helper returns `[]` and logs a warning. The caller still falls\n * back to the env-policy default — a config-load error must NOT\n * block `wildo registry login --registry public` in a fresh repo.\n */\nexport async function loadModuleRegistries(\n saasRoot: string,\n log?: RegistryClientLogger,\n): Promise<RegistryConfig> {\n const configPath = path.resolve(saasRoot, 'wildo.saas.config.ts');\n // M7 (4th-pass review): the no-config case (fresh repo, or `info`/\n // `search`/`login` from a non-app dir) is the COMMON path — silently\n // return `[]` so we don't print a stderr warning every time. Only\n // surface a warning when the file exists but loading fails (real\n // problem the operator should see).\n try {\n await fs.stat(configPath);\n } catch (err) {\n if ((err as NodeJS.ErrnoException).code === 'ENOENT') {\n return [];\n }\n // stat failed for some non-ENOENT reason (perms, IO error) — fall\n // through to loadConfig and let it produce a more specific error.\n }\n try {\n const cfg = await loadConfig<WildoSaasConfig>(configPath, {\n artifactLocation: {\n zone: ConfigArtifactsZone.SAAS,\n ownerRoot: saasRoot,\n },\n });\n // The schema permits `moduleRegistries?: RegistryConfig` —\n // omitted = no app-authored registries; the env-policy default\n // applies.\n return cfg.moduleRegistries ?? [];\n } catch (err) {\n log?.warn?.(\n `[registry] Failed to parse wildo.saas.config.ts at ${configPath} (${ErrorUtils.extractErrorMessage(err)}). ` +\n 'Falling back to alias/URL/env-policy resolution.',\n );\n return [];\n }\n}\n\n/**\n * Read the SaaS app declaration root WITHOUT throwing when the cwd\n * isn't an app workspace. Used by `login`/`logout`/`whoami`/`info`/\n * `search`/`ping` — the kernel gate exempts them from the SAAS_APP\n * scope requirement, so they may legitimately run outside an app.\n */\nexport function getSaasRootIfAvailable(ctx: CommandContext): string | undefined {\n const home = ctx.cliContext.resolvedHomes.app;\n if (!home || !home.isInAppWorkspace || !home.declarationRoot) {\n return undefined;\n }\n if (!path.isAbsolute(home.declarationRoot)) {\n return undefined;\n }\n return home.declarationRoot;\n}\n\n/**\n * Composite helper: load `moduleRegistries` from the SaaS app config\n * (when reachable) and forward the result to `resolveRegistryUrl`.\n * This is the canonical entry point every registry command should\n * call; passing `flag` alone (without `moduleRegistries`) was the\n * H7 finding from the third-pass review — it left registry IDs\n * authored in `wildo.saas.config.ts > moduleRegistries` silently\n * unreachable from the CLI.\n *\n * `saasRoot` is optional because `login`/`logout`/`whoami` may run\n * without a SaaS workspace (the auth verbs declare\n * `minimumScope: WorkspaceScope.UNINITIALIZED` per 5th-pass H1).\n * When omitted, this helper short-circuits the `moduleRegistries`\n * lookup entirely — no `fs.stat` of `wildo.saas.config.ts`, no\n * warning logs from `loadModuleRegistries`. The resolver still\n * works via alias / URL / env-policy fallback.\n *\n * 6th-pass K-L1 — call-site contract: pass `saasRoot: getSaasRootIfAvailable(ctx)`\n * from auth/read commands so the short-circuit fires when out of an\n * app workspace, and `saasRoot: requireSaasRoot(ctx, '<verb>')` from\n * mutation commands so the lookup is mandatory.\n */\nexport async function resolveRegistryUrlForCommand(\n ctx: CommandContext,\n args: { flag?: string; saasRoot?: string; forceFrameworkDeveloperMode?: boolean },\n): Promise<ResolvedRegistry> {\n let moduleRegistries: RegistryConfig | undefined = undefined;\n if (args.saasRoot) {\n // Only stat + load the SaaS config when a workspace is actually\n // available — `getSaasRootIfAvailable` returns `undefined`\n // outside an app dir, in which case we skip the FS read.\n moduleRegistries = await loadModuleRegistries(args.saasRoot, asRegistryLogger(ctx));\n }\n return resolveRegistryUrl({\n flag: args.flag,\n moduleRegistries,\n forceFrameworkDeveloperMode: args.forceFrameworkDeveloperMode,\n });\n}\n\n/**\n * The registry an installed module was fetched from, as its lockfile entry records it — put through the\n * same transport check `resolveRegistryUrl` applies (#1764). `update` without `--registry` and\n * `repair-lockfile` talk to the RECORDED url rather than resolving one, and until the review of #1764\n * both skipped the check: a lockfile naming plain `http://` (or a key stored for one before #1764) would\n * have sent that key in clear. Every registry call now goes through a resolver or through this.\n */\nexport async function resolveLockedRegistry(\n ctx: CommandContext,\n saasRoot: string,\n entry: RegistryModulesLockEntry,\n): Promise<{ url: string; id?: string }> {\n // A checkout-distributed entry (#2015) has no registry: `registryProvenanceOf` refuses it by name\n // rather than handing a caller an `undefined` URL to dial.\n const { registryUrl, registryId } = registryProvenanceOf(entry);\n assertRegistryTransportIsSafe(registryUrl, await loadModuleRegistries(saasRoot, asRegistryLogger(ctx)));\n return { url: registryUrl, id: registryId };\n}\n\n/**\n * Adapt the kernel's chalk-aware `Logger` to the simpler\n * `RegistryClientLogger` interface consumed by `wildo-module-client`.\n * The registry client deliberately avoids depending on `chalk` so it\n * stays usable in non-CLI hosts (companion, server) without dragging\n * the chalk surface into them.\n */\nexport function asRegistryLogger(ctx: CommandContext): RegistryClientLogger {\n return {\n info: ctx.log.info.bind(ctx.log),\n success: ctx.log.success.bind(ctx.log),\n warn: ctx.log.warn.bind(ctx.log),\n error: ctx.log.error.bind(ctx.log),\n };\n}\n\n/**\n * Run a registry command's WRITE PHASE under the application's workspace-mutation lock.\n *\n * `add` / `update` / `remove` / `repair-lockfile --fix` write application source. The companion's\n * coding-agent dispatch holds this lock for a whole agent run, and `wildo config sync` takes it around\n * its writes — so without it a registry install could land in the middle of an agent run, mixing its\n * files into the change set the run is attributed from. Until 2026-09-25 no registry command took it.\n *\n * Two rules the callers follow:\n *\n * - **Fail fast, never queue** — same policy as `config sync`: a dispatch run can hold the lock for\n * many minutes, and a silent wait reads as a hang.\n * - **Release BEFORE provider sync.** The post-mutation provider sync spawns `wildo config sync`,\n * which takes this same lock; holding it across that call would make the child refuse itself.\n *\n * Only a contention on THIS lock is reported as \"the workspace is busy\". The lockfile service takes a\n * separate file lock inside the write phase, and its `ELOCKED` is a different fact — so the report is\n * gated on whether this lock was ever acquired.\n */\nexport async function withRegistryWorkspaceMutationLock<T>(saasRoot: string, writePhase: () => Promise<T>): Promise<T> {\n const lockPath = getWorkspaceMutationLockPath(saasRoot);\n let acquired = false;\n try {\n return await withDedicatedFileLock(\n lockPath,\n async () => {\n acquired = true;\n return writePhase();\n },\n { retries: { retries: 2 } },\n );\n } catch (error) {\n if (!acquired && (error as { code?: string })?.code === 'ELOCKED') {\n throw new Error(\n `The workspace-mutation lock is held (${lockPath}) — an active coding-agent dispatch run or another ` +\n 'worktree-writing command owns the application worktree right now. Nothing was written; retry after it completes.',\n );\n }\n throw error;\n }\n}\n\n/**\n * Inside the workspace-mutation lock, confirm the module's lockfile entry is still the one the\n * command decided from BEFORE taking the lock — and refuse otherwise.\n *\n * The lock makes the write phase exclusive, but each command reads `sections.modules` first (to\n * decide whether it is installed, which files to shrink, whether the pin changed) and only then\n * takes the lock, after a network round trip. Two registry commands in one checkout can therefore\n * interleave: a second `update` would shrink against the first one's stale file set and orphan\n * files, a `remove` could be followed by an `update` re-installing the module, two `add`s could both\n * pass the \"already installed\" check. Re-reading under the lock and comparing turns each of those\n * into a clean refusal — nothing is written — and the operator re-runs the command against the\n * current state.\n *\n * `expected: undefined` asserts the module is still NOT installed (the `add` case).\n */\nexport async function assertModuleEntryUnchangedUnderLock(\n saasRoot: string,\n moduleId: string,\n expected: RegistryModulesLockEntry | undefined,\n): Promise<void> {\n const current = (await RegistryLockfileService.read(saasRoot)).installed[moduleId];\n if (JSON.stringify(current ?? null) !== JSON.stringify(expected ?? null)) {\n throw new Error(\n `\"${moduleId}\" changed in wildo-saas.lock.json while this command was running (another registry ` +\n 'command in this checkout got there first). Nothing was written; re-run the command.',\n );\n }\n}\n\n/** A registry module spec, parsed: the registry domain, the module id inside it, and the range. */\nexport interface ParsedModuleSpec {\n domain: string;\n moduleId: string;\n range: string;\n}\n\n/**\n * Range-suffix shape: a `@` followed by something that looks like a\n * semver / npm-range token (digits, `^`, `~`, `*`, `x`, `>=`, `latest`,\n * etc.). Used to disambiguate a real `@<range>` separator from an `@`\n * inside an npm-style scope (e.g. `wildo/@scope/name`).\n */\nconst RANGE_SUFFIX_RE = /@([\\^~]?\\d|>=?|<=?|\\*|x|latest|next|canary|beta|alpha|rc)/i;\n\n/**\n * Parse `<domain>/<moduleId>[@<range>]`. The moduleId is itself\n * `<scope>/<name>` (e.g. `acme/billing`), so the registry domain is\n * always the first segment BEFORE the second `/` of the spec — i.e.\n * the spec parses as: `<domain>/<scope>/<name>[@<range>]`.\n *\n * Range defaults to `latest` when omitted. The `@` separator is\n * detected only when followed by a semver-shaped suffix\n * (`RANGE_SUFFIX_RE`), so npm-scoped ids like `wildo/@scope/name`\n * (no range) are NOT mis-parsed as having a range.\n */\nexport function parseModuleSpec(spec: string): ParsedModuleSpec {\n const rangeMatch = spec.match(RANGE_SUFFIX_RE);\n const hasRange = rangeMatch !== null && rangeMatch.index !== undefined && rangeMatch.index > 0;\n const head = hasRange ? spec.slice(0, rangeMatch!.index) : spec;\n const range = hasRange ? spec.slice(rangeMatch!.index! + 1) : 'latest';\n const slashIdx = head.indexOf('/');\n if (slashIdx <= 0 || slashIdx === head.length - 1) {\n throw new Error(\n `Invalid module spec \"${spec}\". Expected \"<domain>/<moduleId>[@<range>]\" (e.g. \"wildo/acme/billing@^1.2.0\").`,\n );\n }\n const domain = head.slice(0, slashIdx);\n const moduleId = head.slice(slashIdx + 1);\n if (!moduleId.includes('/')) {\n throw new Error(\n `Invalid module spec \"${spec}\". moduleId must be \"<scope>/<name>\" (e.g. \"acme/billing\").`,\n );\n }\n return { domain, moduleId, range };\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppFrontendType, type ResolvedCspPolicy } from '@wildo-ai/platform-config-lib';
|
|
1
|
+
import { AppFrontendType, type ResolvedCspPolicy, type WildoInfraEnvConfig, type WildoSaasConfig } from '@wildo-ai/platform-config-lib';
|
|
2
2
|
export interface GeneratedCspArtifacts {
|
|
3
3
|
readonly envName: string;
|
|
4
4
|
readonly serviceKey: string;
|
|
@@ -6,6 +6,14 @@ export interface GeneratedCspArtifacts {
|
|
|
6
6
|
readonly nginxHeaderName: string;
|
|
7
7
|
readonly nginxPolicyValue: string;
|
|
8
8
|
readonly nginxAddHeaderLine: string;
|
|
9
|
+
/**
|
|
10
|
+
* Every response header the policy needs, by name, policy first: the CSP header, then `Reporting-Endpoints` when the
|
|
11
|
+
* policy's `report-to` names a collector (#2867). What a dev server sets, so a page served there reports exactly as
|
|
12
|
+
* one served by nginx.
|
|
13
|
+
*/
|
|
14
|
+
readonly responseHeaders: Readonly<Record<string, string>>;
|
|
15
|
+
/** The nginx `add_header` lines for {@link responseHeaders}, in order: the body of every marker region. */
|
|
16
|
+
readonly nginxAddHeaderLines: readonly string[];
|
|
9
17
|
readonly metaTag: {
|
|
10
18
|
readonly tagName: 'meta';
|
|
11
19
|
readonly attributes: {
|
|
@@ -52,6 +60,17 @@ interface CspSyncServiceInput {
|
|
|
52
60
|
*/
|
|
53
61
|
readonly checkOnly?: boolean;
|
|
54
62
|
}
|
|
63
|
+
/**
|
|
64
|
+
* The origin of the environment's main backend API, where the platform CSP violation collector is served (#2867).
|
|
65
|
+
*
|
|
66
|
+
* The same derivation every other browser-facing origin of an environment takes, so the policy names the backend the
|
|
67
|
+
* environment actually runs: a REMOTE environment's main backend at its public URL (`buildServicePublicUrl`, which the
|
|
68
|
+
* ingress, `runtime.endPoints` and CORS key on), any other at `http://localhost:<defaultPort>`
|
|
69
|
+
* (`resolveLocalhostApplicationOrigins`, the origin `wildo local dev` starts it on). The main backend is
|
|
70
|
+
* `selectPrimaryBackendService`'s, the one rule every such derivation shares. `undefined` when the application declares
|
|
71
|
+
* no backend with a port: the policy then names no collector rather than an invented one.
|
|
72
|
+
*/
|
|
73
|
+
export declare function resolveCspViolationCollectorOrigin(saasConfig: Pick<WildoSaasConfig, 'services'>, infraConfig: Pick<WildoInfraEnvConfig, 'locationType' | 'publicDomain' | 'serviceHosts'>): string | undefined;
|
|
55
74
|
/**
|
|
56
75
|
* Per-service resolved CSP policy — the side-effect-free output of
|
|
57
76
|
* {@link CspSyncService.resolveServicePolicies}. Both the nginx sync (write
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"csp-sync.service.d.ts","sourceRoot":"","sources":["../../../../src/services/security/csp-sync.service.ts"],"names":[],"mappings":"AASA,OAAO,EACL,eAAe,
|
|
1
|
+
{"version":3,"file":"csp-sync.service.d.ts","sourceRoot":"","sources":["../../../../src/services/security/csp-sync.service.ts"],"names":[],"mappings":"AASA,OAAO,EACL,eAAe,EAkBf,KAAK,iBAAiB,EAEtB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACrB,MAAM,+BAA+B,CAAC;AAWvC,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,CAAC;IAC9B,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,QAAQ,CAAC,eAAe,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAC3D,2GAA2G;IAC3G,QAAQ,CAAC,mBAAmB,EAAE,SAAS,MAAM,EAAE,CAAC;IAChD,QAAQ,CAAC,OAA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,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,YAAY,EAAE,eAAe,CAAC;IACvC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,MAAM,EAAE,iBAAiB,CAAC;CACpC;AAED,qBAAa,cAAc;IACzB;;;;;;;;;;;OAWG;WACU,sBAAsB,CACjC,KAAK,EAAE,mBAAmB,GACzB,OAAO,CAAC,wBAAwB,EAAE,CAAC;WAwEzB,IAAI,CAAC,KAAK,EAAE,mBAAmB,GAAG,OAAO,CAAC,oBAAoB,CAAC;CAoD7E"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { existsSync, mkdirSync, readFileSync, readdirSync, statSync, writeFileSync, } from 'node:fs';
|
|
2
2
|
import { dirname, join, relative, resolve } from 'node:path';
|
|
3
|
-
import { AppFrontendType, ConfigArtifactsZone, EnvCspOverrideSchema, NGINX_CSP_BEGIN_MARKER, emitCspArtifacts, loadConfig, loadMaterializedFrontendProviders, resolveInfraEnvConfigPath, resolveCspPolicy, resolveFrontendServicesArtifactPath, rewriteNginxCspMarkerPairs, rewriteNginxCspMarkerPairsString, WildoCspConfigSchema, } from '@wildo-ai/platform-config-lib';
|
|
4
|
-
import { loadInfraEnvConfig
|
|
3
|
+
import { AppFrontendType, ConfigArtifactsZone, ConfigModuleResolution, EnvCspOverrideSchema, NGINX_CSP_BEGIN_MARKER, emitCspArtifacts, loadConfig, loadMaterializedFrontendProviders, resolveInfraEnvConfigPath, resolveCspPolicy, resolveFrontendServicesArtifactPath, rewriteNginxCspMarkerPairs, rewriteNginxCspMarkerPairsString, WildoCspConfigSchema, WildoLocationType, buildServicePublicUrl, resolveLocalhostApplicationOrigins, selectPrimaryBackendService, } from '@wildo-ai/platform-config-lib';
|
|
4
|
+
import { loadInfraEnvConfig } from '@wildo-ai/platform-config-lib';
|
|
5
5
|
// The footprint type is owned by the package that puts it on the wire, and is
|
|
6
6
|
// read here through the same public door every browser-bound consumer uses.
|
|
7
7
|
import { normalizeProviderFrontendCspFootprint, PROVIDER_FRONTEND_CSP_ORIGIN_BUCKETS, } from '@wildo-ai/saas-models/public-runtime';
|
|
@@ -49,52 +49,48 @@ function reconcileGeneratedCspArtifacts(input, filePath, options) {
|
|
|
49
49
|
* the marker parsing — a second parser would answer differently the first time the marker format
|
|
50
50
|
* moved, and a check that disagrees with the thing it checks is worse than no check.
|
|
51
51
|
*/
|
|
52
|
-
function nginxCspMarkerPairsAreOutOfDate(filePath,
|
|
52
|
+
function nginxCspMarkerPairsAreOutOfDate(filePath, addHeaderLines) {
|
|
53
53
|
const original = readFileSync(filePath, 'utf-8');
|
|
54
|
-
const { rewritten } = rewriteNginxCspMarkerPairsString(original,
|
|
54
|
+
const { rewritten } = rewriteNginxCspMarkerPairsString(original, addHeaderLines, filePath);
|
|
55
55
|
return rewritten !== original;
|
|
56
56
|
}
|
|
57
57
|
/** The shared authored-infra path rule (`resolveInfraEnvConfigPath`, platform-config-lib). */
|
|
58
58
|
function resolveAuthoredInfraConfigPath(saasRoot, envName) {
|
|
59
59
|
return resolveInfraEnvConfigPath(saasRoot, envName);
|
|
60
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
* Every configuration this service reads is evaluated against the CLI's own built framework packages
|
|
63
|
+
* ({@link ConfigModuleResolution.LOADER_INSTANCES}, #3440).
|
|
64
|
+
*
|
|
65
|
+
* The sync only asks what the files DECLARE (the services, their `csp` blocks, the environment's origins), and the CLI
|
|
66
|
+
* composes the policy with the `platform-config-lib` build it runs. Left to the loader's inference, a framework checkout
|
|
67
|
+
* aliases `@wildo-ai/platform-config-lib` to its `config-authoring.entry.ts` source, so the first read transpiled about
|
|
68
|
+
* 120 framework source modules: 2.2 s on a fast host and over 5 s on the CI runner, where this service's first test
|
|
69
|
+
* timed out (#3621). Same root cause and remedy as #3610 and #3615, and the mode `wildo website audit` already reads
|
|
70
|
+
* `wildo.saas.config.ts` with. The files read here import framework packages and, at most, an application's role enums;
|
|
71
|
+
* none defines a zod schema of its own, so the decorated-zod caveat of that mode does not arise.
|
|
72
|
+
*/
|
|
73
|
+
const CSP_SYNC_CONFIG_MODULE_RESOLUTION = ConfigModuleResolution.LOADER_INSTANCES;
|
|
61
74
|
async function loadSaasScopedConfig(saasRoot, filePath) {
|
|
62
75
|
return loadConfig(filePath, {
|
|
63
76
|
artifactLocation: {
|
|
64
77
|
zone: ConfigArtifactsZone.SAAS,
|
|
65
78
|
ownerRoot: saasRoot,
|
|
66
79
|
},
|
|
80
|
+
moduleResolution: CSP_SYNC_CONFIG_MODULE_RESOLUTION,
|
|
67
81
|
});
|
|
68
82
|
}
|
|
69
83
|
async function loadSaasConfig(saasRoot) {
|
|
70
84
|
return loadSaasScopedConfig(saasRoot, resolve(saasRoot, 'wildo.saas.config.ts'));
|
|
71
85
|
}
|
|
72
|
-
async function loadInfraConfig(saasRoot, envName
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
].join(',');
|
|
79
|
-
try {
|
|
80
|
-
// Through the shared loader, like every other reader of the descriptor: `csp` is application-owned, but a
|
|
81
|
-
// HOSTED descriptor is not an environment until it is resolved, and this function returns the environment.
|
|
82
|
-
return await withConsumedInfraCspServiceKeys(consumedKeys, async () => {
|
|
83
|
-
const loaded = await loadInfraEnvConfig(saasRoot, envName);
|
|
84
|
-
if (loaded === null) {
|
|
85
|
-
throw new Error(`Config file not found: ${resolveAuthoredInfraConfigPath(saasRoot, envName)}`);
|
|
86
|
-
}
|
|
87
|
-
return loaded.config;
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
|
-
finally {
|
|
91
|
-
if (previousEnvValue === undefined) {
|
|
92
|
-
delete process.env.WILDO_CONSUMED_INFRA_CSP_SERVICE_KEYS;
|
|
93
|
-
}
|
|
94
|
-
else {
|
|
95
|
-
process.env.WILDO_CONSUMED_INFRA_CSP_SERVICE_KEYS = previousEnvValue;
|
|
96
|
-
}
|
|
86
|
+
async function loadInfraConfig(saasRoot, envName) {
|
|
87
|
+
// Through the shared loader, like every other reader of the descriptor: `csp` is application-owned, but a
|
|
88
|
+
// HOSTED descriptor is not an environment until it is resolved, and this function returns the environment.
|
|
89
|
+
const loaded = await loadInfraEnvConfig(saasRoot, envName, { moduleResolution: CSP_SYNC_CONFIG_MODULE_RESOLUTION });
|
|
90
|
+
if (loaded === null) {
|
|
91
|
+
throw new Error(`Config file not found: ${resolveAuthoredInfraConfigPath(saasRoot, envName)}`);
|
|
97
92
|
}
|
|
93
|
+
return loaded.config;
|
|
98
94
|
}
|
|
99
95
|
function resolveFrontendServiceEntries(saasConfig, requestedServiceKey) {
|
|
100
96
|
const entries = Object.entries(saasConfig.services).filter(([, service]) => service.frontendType !== undefined &&
|
|
@@ -370,6 +366,28 @@ function collectNginxConfigFilesWithCspMarkers(serviceRoot) {
|
|
|
370
366
|
visit(nginxConfigRoot);
|
|
371
367
|
return collected.sort();
|
|
372
368
|
}
|
|
369
|
+
/**
|
|
370
|
+
* The origin of the environment's main backend API, where the platform CSP violation collector is served (#2867).
|
|
371
|
+
*
|
|
372
|
+
* The same derivation every other browser-facing origin of an environment takes, so the policy names the backend the
|
|
373
|
+
* environment actually runs: a REMOTE environment's main backend at its public URL (`buildServicePublicUrl`, which the
|
|
374
|
+
* ingress, `runtime.endPoints` and CORS key on), any other at `http://localhost:<defaultPort>`
|
|
375
|
+
* (`resolveLocalhostApplicationOrigins`, the origin `wildo local dev` starts it on). The main backend is
|
|
376
|
+
* `selectPrimaryBackendService`'s, the one rule every such derivation shares. `undefined` when the application declares
|
|
377
|
+
* no backend with a port: the policy then names no collector rather than an invented one.
|
|
378
|
+
*/
|
|
379
|
+
export function resolveCspViolationCollectorOrigin(saasConfig, infraConfig) {
|
|
380
|
+
if (infraConfig.locationType === WildoLocationType.REMOTE) {
|
|
381
|
+
const backendKeys = Object.entries(saasConfig.services)
|
|
382
|
+
.filter(([, service]) => service.frontendType === undefined)
|
|
383
|
+
.map(([key]) => ({ key }));
|
|
384
|
+
const primaryBackend = selectPrimaryBackendService(backendKeys);
|
|
385
|
+
return primaryBackend === undefined
|
|
386
|
+
? undefined
|
|
387
|
+
: buildServicePublicUrl({ serviceKey: primaryBackend.key, serviceHosts: infraConfig.serviceHosts, publicDomain: infraConfig.publicDomain });
|
|
388
|
+
}
|
|
389
|
+
return resolveLocalhostApplicationOrigins(saasConfig.services).api;
|
|
390
|
+
}
|
|
373
391
|
export class CspSyncService {
|
|
374
392
|
/**
|
|
375
393
|
* Resolve each CSP-capable frontend's policy WITHOUT writing anything.
|
|
@@ -387,11 +405,11 @@ export class CspSyncService {
|
|
|
387
405
|
const saasRoot = resolve(input.saasRoot);
|
|
388
406
|
const env = input.env ?? process.env;
|
|
389
407
|
const saasConfig = await loadSaasConfig(saasRoot);
|
|
390
|
-
const allCspServiceEntries = resolveFrontendServiceEntries(saasConfig, undefined);
|
|
391
408
|
const serviceEntries = resolveFrontendServiceEntries(saasConfig, input.serviceKey);
|
|
392
|
-
const
|
|
393
|
-
const infraConfig = await loadInfraConfig(saasRoot, input.envName
|
|
394
|
-
|
|
409
|
+
const cspCapableServiceKeys = resolveFrontendServiceEntries(saasConfig, undefined).map(([serviceKey]) => serviceKey);
|
|
410
|
+
const infraConfig = await loadInfraConfig(saasRoot, input.envName);
|
|
411
|
+
const violationCollectorOrigin = resolveCspViolationCollectorOrigin(saasConfig, infraConfig);
|
|
412
|
+
assertInfraCspKeysExistAsServices(infraConfig, saasConfig, new Set(cspCapableServiceKeys), input.envName);
|
|
395
413
|
const resolved = [];
|
|
396
414
|
for (const [serviceKey, service] of serviceEntries) {
|
|
397
415
|
const frontendType = service.frontendType;
|
|
@@ -422,6 +440,9 @@ export class CspSyncService {
|
|
|
422
440
|
// framework would not know whether it's resolving for local dev
|
|
423
441
|
// or prod, and apps would still have to opt-in per-env.
|
|
424
442
|
environmentId: input.envName,
|
|
443
|
+
// Where the platform violation collector is (#2867): this environment's main backend. Every CSP-capable surface
|
|
444
|
+
// names it, unless the application authored a collector of its own.
|
|
445
|
+
violationCollectorOrigin,
|
|
425
446
|
});
|
|
426
447
|
if (policy === null) {
|
|
427
448
|
throw new Error(`[wildo-csp-sync] service "${serviceKey}" resolved to a disabled CSP. CSP-capable frontend services require csp.enabled = true.`);
|
|
@@ -452,6 +473,8 @@ export class CspSyncService {
|
|
|
452
473
|
nginxHeaderName: artifacts.nginxHeaderName,
|
|
453
474
|
nginxPolicyValue: artifacts.nginxPolicyValue,
|
|
454
475
|
nginxAddHeaderLine: artifacts.nginxAddHeaderLine,
|
|
476
|
+
responseHeaders: Object.fromEntries(artifacts.responseHeaders.map((header) => [header.name, header.value])),
|
|
477
|
+
nginxAddHeaderLines: artifacts.nginxAddHeaderLines,
|
|
455
478
|
metaTag: artifacts.metaTag,
|
|
456
479
|
});
|
|
457
480
|
const generatedArtifactPath = resolve(serviceRoot, 'src', 'generated', 'csp.generated.json');
|
|
@@ -460,8 +483,8 @@ export class CspSyncService {
|
|
|
460
483
|
const outOfDateNginxFiles = [];
|
|
461
484
|
for (const nginxConfigFile of collectNginxConfigFilesWithCspMarkers(serviceRoot)) {
|
|
462
485
|
const outOfDate = write
|
|
463
|
-
? rewriteNginxCspMarkerPairs(nginxConfigFile, generatedArtifacts.
|
|
464
|
-
: nginxCspMarkerPairsAreOutOfDate(nginxConfigFile, generatedArtifacts.
|
|
486
|
+
? rewriteNginxCspMarkerPairs(nginxConfigFile, generatedArtifacts.nginxAddHeaderLines).fileWritten
|
|
487
|
+
: nginxCspMarkerPairsAreOutOfDate(nginxConfigFile, generatedArtifacts.nginxAddHeaderLines);
|
|
465
488
|
if (outOfDate) {
|
|
466
489
|
outOfDateNginxFiles.push(relative(saasRoot, nginxConfigFile));
|
|
467
490
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"csp-sync.service.js","sourceRoot":"","sources":["../../../../src/services/security/csp-sync.service.ts"],"names":[],"mappings":"AAAA,OAAO,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AAC;YACF,MAAM,mBAAmB,GAAa,EAAE,CAAC;YAEzC,KAAK,MAAM,eAAe,IAAI,qCAAqC,CAAC,WAAW,CAAC,EAAE,CAAC;gBACjF,MAAM,SAAS,GAAG,KAAK;oBACrB,CAAC,CAAC,0BAA0B,CAAC,eAAe,EAAE,kBAAkB,CAAC,kBAAkB,CAAC,CAAC,WAAW;oBAChG,CAAC,CAAC,+BAA+B,CAAC,eAAe,EAAE,kBAAkB,CAAC,kBAAkB,CAAC,CAAC;gBAC5F,IAAI,SAAS,EAAE,CAAC;oBACd,mBAAmB,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAC,CAAC;gBAChE,CAAC;YACH,CAAC;YAED,QAAQ,CAAC,IAAI,CAAC;gBACZ,UAAU;gBACV,YAAY;gBACZ,qBAAqB,EAAE,QAAQ,CAAC,QAAQ,EAAE,qBAAqB,CAAC;gBAChE,0BAA0B;gBAC1B,mBAAmB;gBACnB,YAAY,EAAE,KAAK,IAAI,CAAC,0BAA0B,IAAI,mBAAmB,CAAC,MAAM,GAAG,CAAC,CAAC;aACtF,CAAC,CAAC;QACL,CAAC;QAED,OAAO;YACL,OAAO,EAAE,KAAK,CAAC,OAAO;YACtB,QAAQ;SACT,CAAC;IACJ,CAAC;CACF","sourcesContent":["import {\n existsSync,\n mkdirSync,\n readFileSync,\n readdirSync,\n statSync,\n writeFileSync,\n} from 'node:fs';\nimport { dirname, join, relative, resolve } from 'node:path';\nimport {\n AppFrontendType,\n ConfigArtifactsZone,\n EnvCspOverrideSchema,\n NGINX_CSP_BEGIN_MARKER,\n emitCspArtifacts,\n loadConfig,\n loadMaterializedFrontendProviders,\n resolveInfraEnvConfigPath,\n resolveCspPolicy,\n resolveFrontendServicesArtifactPath,\n rewriteNginxCspMarkerPairs,\n rewriteNginxCspMarkerPairsString,\n WildoCspConfigSchema,\n type ResolvedCspPolicy,\n type WildoCspConfig,\n type WildoInfraEnvConfig,\n type WildoSaasConfig,\n} from '@wildo-ai/platform-config-lib';\nimport { loadInfraEnvConfig, withConsumedInfraCspServiceKeys } from '@wildo-ai/platform-config-lib';\n// The footprint type is owned by the package that puts it on the wire, and is\n// read here through the same public door every browser-bound consumer uses.\nimport {\n normalizeProviderFrontendCspFootprint,\n PROVIDER_FRONTEND_CSP_ORIGIN_BUCKETS,\n type ProviderFrontendCspFootprint,\n type ProviderFrontendCspOriginBucket,\n} from '@wildo-ai/saas-models/public-runtime';\n\nexport interface GeneratedCspArtifacts {\n readonly envName: string;\n readonly serviceKey: string;\n readonly connectSrc: string[];\n readonly nginxHeaderName: string;\n readonly nginxPolicyValue: string;\n readonly nginxAddHeaderLine: string;\n readonly metaTag: {\n readonly tagName: 'meta';\n readonly attributes: {\n readonly 'http-equiv': string;\n readonly content: string;\n };\n } | null;\n}\n\nexport interface CspSyncServiceResult {\n readonly envName: string;\n readonly services: CspSyncServiceEntryResult[];\n}\n\nexport interface CspSyncServiceEntryResult {\n readonly serviceKey: string;\n readonly frontendType: AppFrontendType;\n readonly generatedArtifactPath: string;\n /**\n * The policy resolved from this service's inputs differs from the committed artifact.\n *\n * Separate from `wroteChanges` on purpose. This is a fact about the REPOSITORY — the generated\n * file no longer describes its own inputs — and it is true whether or not this run was allowed to\n * repair it. Collapsing the two into one \"wrote\" boolean is what made a check mode impossible to\n * express: under `checkOnly` nothing is written and the interesting answer is still yes.\n */\n readonly generatedArtifactOutOfDate: boolean;\n /** Nginx marker pairs whose header line differs from the resolved policy, written or not. */\n readonly outOfDateNginxFiles: readonly string[];\n /** Whether this run actually touched the filesystem. Always false under `checkOnly`. */\n readonly wroteChanges: boolean;\n}\n\ninterface ServiceCspAuthoringConfig {\n readonly csp?: WildoCspConfig;\n}\n\ninterface CspSyncServiceInput {\n readonly saasRoot: string;\n readonly envName: string;\n readonly serviceKey?: string;\n readonly env?: NodeJS.ProcessEnv;\n /**\n * Resolve and compare, writing nothing.\n *\n * The CSP artifacts are TRACKED and generated, and until #513 nothing re-derived them: Wonder\n * Todos' website artifact was four months behind its own authored inputs and its `app` artifact\n * three weeks, each missing a directive whose author had written down what breaks without it.\n * Local CSP is report-only, so the drift produced no symptom and would have been discovered by\n * whoever flipped enforcement.\n */\n readonly checkOnly?: boolean;\n}\n\nconst FRONTEND_TYPES_WITH_CSP = new Set<AppFrontendType>([\n AppFrontendType.SAAS_APP,\n AppFrontendType.TECH_DOC,\n AppFrontendType.STATIC_WEBSITE,\n]);\n\nfunction parseGeneratedCspArtifacts(input: unknown): GeneratedCspArtifacts {\n if (typeof input !== 'object' || input === null) {\n throw new Error('[wildo-csp-sync] generated CSP artifacts must be an object.');\n }\n\n return input as GeneratedCspArtifacts;\n}\n\n/**\n * Compare the resolved artifact against what is on disk, and write it unless checking.\n *\n * Returns whether the two DIFFER, which is the answer both modes want — the sync path reports it as\n * \"updated\", the check path as \"out of date\". The comparison is on the exact serialized bytes, so a\n * reordering that changes nothing semantically still reports, which is correct for a file whose\n * whole purpose is to be the byte-for-byte output of a resolution.\n */\nfunction reconcileGeneratedCspArtifacts(\n input: GeneratedCspArtifacts,\n filePath: string,\n options: { readonly write: boolean },\n): boolean {\n const nextSource = `${JSON.stringify(input, null, 2)}\\n`;\n let currentSource: string | null = null;\n\n try {\n currentSource = readFileSync(filePath, 'utf-8');\n } catch {\n currentSource = null;\n }\n\n if (currentSource === nextSource) {\n return false;\n }\n\n if (options.write) {\n mkdirSync(dirname(filePath), { recursive: true });\n writeFileSync(filePath, nextSource);\n }\n return true;\n}\n\n/**\n * The same comparison for an nginx marker pair, without writing.\n *\n * Uses the PURE string rewriter the writing variant is itself built on, rather than re-implementing\n * the marker parsing — a second parser would answer differently the first time the marker format\n * moved, and a check that disagrees with the thing it checks is worse than no check.\n */\nfunction nginxCspMarkerPairsAreOutOfDate(filePath: string, addHeaderLine: string): boolean {\n const original = readFileSync(filePath, 'utf-8');\n const { rewritten } = rewriteNginxCspMarkerPairsString(original, addHeaderLine, filePath);\n return rewritten !== original;\n}\n\n/** The shared authored-infra path rule (`resolveInfraEnvConfigPath`, platform-config-lib). */\nfunction resolveAuthoredInfraConfigPath(saasRoot: string, envName: string): string {\n return resolveInfraEnvConfigPath(saasRoot, envName);\n}\n\nasync function loadSaasScopedConfig<T>(saasRoot: string, filePath: string): Promise<T> {\n return loadConfig<T>(filePath, {\n artifactLocation: {\n zone: ConfigArtifactsZone.SAAS,\n ownerRoot: saasRoot,\n },\n });\n}\n\nasync function loadSaasConfig(saasRoot: string): Promise<WildoSaasConfig> {\n return loadSaasScopedConfig<WildoSaasConfig>(\n saasRoot,\n resolve(saasRoot, 'wildo.saas.config.ts'),\n );\n}\n\nasync function loadInfraConfig(\n saasRoot: string,\n envName: string,\n consumedCspServiceKeys: Iterable<string>,\n): Promise<WildoInfraEnvConfig> {\n const consumedKeys = [...consumedCspServiceKeys];\n const previousEnvValue = process.env.WILDO_CONSUMED_INFRA_CSP_SERVICE_KEYS;\n process.env.WILDO_CONSUMED_INFRA_CSP_SERVICE_KEYS = [\n ...(previousEnvValue ?? '').split(',').map((value) => value.trim()).filter(Boolean),\n ...consumedKeys,\n ].join(',');\n\n try {\n // Through the shared loader, like every other reader of the descriptor: `csp` is application-owned, but a\n // HOSTED descriptor is not an environment until it is resolved, and this function returns the environment.\n return await withConsumedInfraCspServiceKeys(consumedKeys, async () => {\n const loaded = await loadInfraEnvConfig(saasRoot, envName);\n if (loaded === null) {\n throw new Error(`Config file not found: ${resolveAuthoredInfraConfigPath(saasRoot, envName)}`);\n }\n return loaded.config;\n });\n } finally {\n if (previousEnvValue === undefined) {\n delete process.env.WILDO_CONSUMED_INFRA_CSP_SERVICE_KEYS;\n } else {\n process.env.WILDO_CONSUMED_INFRA_CSP_SERVICE_KEYS = previousEnvValue;\n }\n }\n}\n\nfunction resolveFrontendServiceEntries(\n saasConfig: WildoSaasConfig,\n requestedServiceKey: string | undefined,\n): Array<readonly [string, WildoSaasConfig['services'][string]]> {\n const entries = Object.entries(saasConfig.services).filter(([, service]) =>\n service.frontendType !== undefined &&\n FRONTEND_TYPES_WITH_CSP.has(service.frontendType),\n );\n\n if (!requestedServiceKey) {\n return entries;\n }\n\n const match = entries.filter(([serviceKey]) => serviceKey === requestedServiceKey);\n if (match.length !== 1) {\n throw new Error(\n `[wildo-csp-sync] expected one CSP-capable frontend service named \"${requestedServiceKey}\", found ${match.length}.`,\n );\n }\n\n return match;\n}\n\nfunction assertInfraCspKeysExistAsServices(\n config: WildoInfraEnvConfig,\n saasConfig: Pick<WildoSaasConfig, 'services'>,\n cspCapableServiceKeys: ReadonlySet<string>,\n envName: string,\n): void {\n if (!config.csp) {\n return;\n }\n\n const serviceKeys = new Set(Object.keys(saasConfig.services));\n const unknownKeys = Object.keys(config.csp).filter((key) => !serviceKeys.has(key));\n if (unknownKeys.length > 0) {\n throw new Error(\n `[wildo-csp-sync] infrastructure/${envName} authored csp override keys that do not exist in wildo.saas.config.ts services: ${unknownKeys.join(', ')}.`,\n );\n }\n\n const nonFrontendKeys = Object.keys(config.csp).filter((key) => !cspCapableServiceKeys.has(key));\n if (nonFrontendKeys.length > 0) {\n throw new Error(\n `[wildo-csp-sync] infrastructure/${envName} authored csp override keys for services that are not CSP-capable frontends: ${nonFrontendKeys.join(', ')}.`,\n );\n }\n}\n\nfunction resolvePerServiceConfigPath(serviceRoot: string, frontendType: AppFrontendType): string | null {\n switch (frontendType) {\n case AppFrontendType.TECH_DOC:\n return resolve(serviceRoot, 'wildo.tech-doc.config.ts');\n case AppFrontendType.STATIC_WEBSITE:\n return resolve(serviceRoot, 'wildo.website.config.ts');\n case AppFrontendType.SAAS_APP:\n return null;\n }\n}\n\nasync function resolveAppCsp(args: {\n readonly saasRoot: string;\n readonly serviceKey: string;\n readonly serviceRoot: string;\n readonly frontendType: AppFrontendType;\n readonly service: WildoSaasConfig['services'][string];\n}): Promise<WildoCspConfig> {\n if (args.frontendType === AppFrontendType.SAAS_APP) {\n /*\n * An unauthored app-static layer DEFAULTS to the pilot posture; it is not a refusal (#417).\n *\n * The refusal fired on the ONLY path a fresh application takes. Neither the skeleton template\n * nor Wonder CRM authors a `services.<key>.csp` block — measured 2026-09-08, zero occurrences\n * of the string in either — so `wildo dev start` failed on Wonder CRM and on every application\n * `wildo init` had just produced.\n *\n * ENABLED AND REPORT-ONLY, not the schema's own `{}` default, and the reason is a SECOND\n * refusal that #417's measurement did not name. `resolveServicePolicies` below throws for any\n * CSP-capable frontend whose policy resolves to `null` — \"CSP-capable frontend services require\n * csp.enabled = true\" — while `WildoCspConfigSchema.enabled` defaults to `false`. So parsing\n * the empty object here merely moves the wall one frame down, which is what the pin for this\n * change caught. The two are not in conflict once you read what each governs: the schema's\n * default governs AUTHORING in general, and that guard governs a surface the framework has\n * already decided must carry a policy.\n *\n * So the default is the posture the schema's own JSDoc prescribes for a first-time author —\n * `reportOnly: true`, \"to triage console-surfaced violations without breaking real traffic\" —\n * and it is byte-for-byte what Wonder Todos authors and what the skeleton's shipped\n * `csp.generated.json` already CLAIMS (`Content-Security-Policy-Report-Only`). The scaffold's\n * intended posture was never \"no CSP\"; the config block to express it was simply missing.\n *\n * Everything else stays at the schema's defaults, so the merge strategy, the directive\n * overrides and the report URI have exactly one source and this is not a second copy of them.\n *\n * The cost of removing the refusal, accepted deliberately in #417: an application that DELETES\n * its `csp` block is now defaulted rather than told. It is defaulted to a policy that reports\n * and does not enforce, so the failure mode of getting this wrong is a console warning rather\n * than a broken application.\n */\n /*\n * The parse wraps the authored block too, and that half is IDEMPOTENT HARDENING rather than a\n * second fix — stated because a reader should not have to re-derive it. `wildo.saas.config.ts`\n * is loaded by a bare cast, but it is authored through `defineSaasConfig`, which already runs\n * `WildoSaasConfigSchema.parse` — and `services.<key>.csp` is `WildoCspConfigSchema.optional()`\n * there, so a partial block is already defaulted by the time it arrives. Bypassing that helper\n * is not a supported shape and would fail on other defaults first, which is why no pin reddens\n * when this parse is removed (measured, #442). What it buys is that the invariant below holds\n * unconditionally instead of by way of somebody else's helper.\n */\n return WildoCspConfigSchema.parse(args.service.csp ?? { enabled: true, reportOnly: true });\n }\n\n const configPath = resolvePerServiceConfigPath(args.serviceRoot, args.frontendType);\n if (configPath === null) {\n throw new Error(`[wildo-csp-sync] Unsupported frontend type: ${args.frontendType}`);\n }\n\n const config = await loadSaasScopedConfig<ServiceCspAuthoringConfig>(\n args.saasRoot,\n configPath,\n );\n if (config.csp === undefined) {\n throw new Error(\n `[wildo-csp-sync] ${configPath} must author a csp block so service \"${args.serviceKey}\" has an app-static layer.`,\n );\n }\n\n /*\n * ─── PARSED, not returned verbatim (#442) ────────────────────────────────────────────────────\n *\n * This branch handed the authored block straight to `resolveCspPolicy`, so a hand-written PARTIAL\n * block — `{ enabled: true, reportOnly: true }`, no `directives`, no `mergeStrategy` — arrived\n * without the schema's defaults and the sync died on `TypeError: Cannot convert undefined or null\n * to object`. A stack trace naming neither the author's file nor the missing field.\n *\n * `WildoCspConfigSchema` is a `z.strictObject`, so parsing here buys a second thing: a typo like\n * `enable: true` becomes a parse error naming the key instead of silently resolving to\n * `enabled: false` — which the schema's own JSDoc calls \"CSP off, the worst possible default\".\n *\n * The SAAS_APP branch above parses for the same reason. Both are needed and neither is redundant:\n * `wildo.saas.config.ts` is parsed by `defineSaasConfig` only when the author USES that helper,\n * and this file is loaded by a bare cast with no validation at all. So the invariant is stated\n * where it can be relied on — every block `resolveAppCsp` returns has been through the schema,\n * however it arrived.\n */\n return WildoCspConfigSchema.parse(config.csp);\n}\n\nfunction assertOriginAllowedInConnectSrc(args: {\n readonly envVarName: string;\n readonly rawUrl: string | undefined;\n readonly connectSrc: readonly string[];\n readonly envName: string;\n readonly serviceKey: string;\n}): void {\n if (!args.rawUrl) {\n return;\n }\n\n let origin: string;\n try {\n origin = new URL(args.rawUrl).origin;\n } catch {\n throw new Error(\n `[wildo-csp-sync] ${args.envVarName} must be a valid absolute URL, got \"${args.rawUrl}\".`,\n );\n }\n\n if (!args.connectSrc.includes(origin)) {\n throw new Error(\n `[wildo-csp-sync] ${args.envVarName} origin \"${origin}\" is missing from the final connect-src allowlist for service \"${args.serviceKey}\" in ${args.envName}.`,\n );\n }\n}\n\nfunction assertExplicitHmrOriginAllowed(\n env: NodeJS.ProcessEnv,\n connectSrc: readonly string[],\n envName: string,\n serviceKey: string,\n): void {\n const explicitHmrHost = env.VITE_HMR_HOST?.trim();\n const explicitHmrClientPort = env.VITE_HMR_CLIENT_PORT?.trim();\n const explicitHmrProtocol = env.VITE_HMR_PROTOCOL?.trim();\n if (!explicitHmrHost && !explicitHmrClientPort && !explicitHmrProtocol) {\n return;\n }\n\n const protocol = explicitHmrProtocol || 'ws';\n const host = explicitHmrHost || 'localhost';\n const port = explicitHmrClientPort || env.VITE_PORT?.trim() || '4242';\n const hmrOrigin = `${protocol}://${host}:${port}`;\n if (!connectSrc.includes(hmrOrigin)) {\n throw new Error(\n `[wildo-csp-sync] explicit Vite HMR origin \"${hmrOrigin}\" is missing from the final connect-src allowlist for service \"${serviceKey}\" in ${envName}.`,\n );\n }\n}\n\nfunction assertRuntimeOriginsAllowed(args: {\n readonly frontendType: AppFrontendType;\n readonly env: NodeJS.ProcessEnv;\n readonly connectSrc: readonly string[];\n readonly envName: string;\n readonly serviceKey: string;\n}): void {\n if (args.frontendType === AppFrontendType.SAAS_APP) {\n assertOriginAllowedInConnectSrc({\n envVarName: 'VITE_API_BASE_URL',\n rawUrl: args.env.VITE_API_BASE_URL,\n connectSrc: args.connectSrc,\n envName: args.envName,\n serviceKey: args.serviceKey,\n });\n assertExplicitHmrOriginAllowed(args.env, args.connectSrc, args.envName, args.serviceKey);\n }\n\n if (args.frontendType === AppFrontendType.TECH_DOC) {\n assertOriginAllowedInConnectSrc({\n envVarName: 'WILDO_DOCS_API_BASE_URL',\n rawUrl: args.env.WILDO_DOCS_API_BASE_URL,\n connectSrc: args.connectSrc,\n envName: args.envName,\n serviceKey: args.serviceKey,\n });\n }\n}\n\n/**\n * The CSP footprints of the providers DECLARED FOR ONE SERVICE (#332).\n *\n * Read from the materialized `frontend-services.runtime-providers.generated.json`\n * that `wildo config sync` writes — which is the whole reason the footprint is\n * DATA. This CLI is a Node process and a frontend provider module is\n * browser-bound; it could not execute one to ask what origins it needs, and a\n * provider whose origins had to be transcribed into every application's config\n * by hand would be wrong in production the first time anyone forgot.\n *\n * Keyed by SERVICE, not by facet: a Zoom origin the marketing site declared\n * must not be admitted for the SaaS app, which is the isolation this per-service\n * read is for.\n *\n * A missing artifact is not an error. A clean checkout, or an application that\n * declares no frontend provider at all, legitimately has none — and refusing\n * here would make `wildo dev sync-csp` depend on a sync having already run.\n */\nfunction collectProviderCspFootprints(args: {\n readonly saasRoot: string;\n readonly serviceKey: string;\n}): ReadonlyArray<ProviderFrontendCspFootprint> {\n const block = loadMaterializedFrontendProviders({\n artifactPath: resolveFrontendServicesArtifactPath(args.saasRoot),\n serviceKey: args.serviceKey,\n });\n\n if (block === undefined) {\n return [];\n }\n\n return Object.values(block.providers)\n .map((provider) => resolveProviderCspFootprint(provider, args.serviceKey))\n .filter((footprint): footprint is ProviderFrontendCspFootprint => footprint !== undefined);\n}\n\n/**\n * Fills a provider's DERIVED origins in from its own public configuration.\n *\n * Some endpoints are not knowable by the provider: an error-monitoring\n * provider sends to the host inside its DSN, an analytics provider to whatever\n * `apiHost` the application configured — a region, a reverse proxy on the\n * application's own domain, or a self-hosted deployment. The provider therefore\n * declares WHERE the origin is, and this is the one place that has both halves:\n * the served entry carries `publicConfig` and the footprint beside it.\n *\n * Without this the application would author the same host twice — once as the\n * provider's config, once in its own CSP — and the copy that drifts fails in\n * production only.\n *\n * Absent key: contributes nothing. That is the correct reading of \"this\n * application has not configured that provider\", and refusing would make an\n * unconfigured optional provider break the sync.\n *\n * Present but not a URL: FAILS, naming the provider and the key. It is the one\n * case where the application said something and the framework cannot honour it,\n * and silently dropping it produces exactly the blocked-in-production-only\n * failure the whole layer exists to remove.\n */\nfunction resolveProviderCspFootprint(\n provider: { readonly csp?: ProviderFrontendCspFootprint; readonly publicConfig?: Readonly<Record<string, unknown>>; readonly metadata: { readonly ref: string } },\n serviceKey: string,\n): ProviderFrontendCspFootprint | undefined {\n const footprint = provider.csp;\n if (footprint === undefined) return undefined;\n if (footprint.derivedOrigins.length === 0) return footprint;\n\n const resolved = normalizeProviderFrontendCspFootprint({\n ...footprint,\n // Resolved here, so nothing downstream has to know the bucket existed.\n derivedOrigins: [],\n });\n // Every bucket, from the enum (#1702). This used to be a hand-written list of six, so a provider that\n // derived an origin into a bucket added later (worker, media) would have crashed here, and one that\n // merely declared such a bucket beside a derived origin would have had it silently erased.\n const buckets = Object.fromEntries(\n PROVIDER_FRONTEND_CSP_ORIGIN_BUCKETS.map((bucket) => [bucket, [...resolved[bucket]]]),\n ) as Record<ProviderFrontendCspOriginBucket, string[]>;\n\n for (const derived of footprint.derivedOrigins) {\n const configured = provider.publicConfig?.[derived.publicConfigKey];\n if (configured === undefined || configured === null || configured === '') continue;\n\n if (typeof configured !== 'string') {\n throw new Error(\n `[wildo-csp-sync] provider \"${provider.metadata.ref}\" on service \"${serviceKey}\" declares a CSP origin `\n + `derived from publicConfig.${derived.publicConfigKey}, but that value is not a string.`,\n );\n }\n\n let origin: string;\n try {\n origin = new URL(configured).origin;\n } catch {\n throw new Error(\n `[wildo-csp-sync] provider \"${provider.metadata.ref}\" on service \"${serviceKey}\" declares a CSP origin `\n + `derived from publicConfig.${derived.publicConfigKey}, but \"${configured}\" is not an absolute URL, so `\n + 'no origin can be read from it. The provider would then be blocked by the very policy it contributes '\n + 'to — and only where CSP enforces, so the failure would first appear in production.',\n );\n }\n\n const bucket = buckets[derived.bucket];\n if (!bucket.includes(origin)) bucket.push(origin);\n }\n\n return normalizeProviderFrontendCspFootprint(buckets);\n}\n\nfunction collectNginxConfigFilesWithCspMarkers(serviceRoot: string): string[] {\n const nginxConfigRoot = resolve(serviceRoot, 'nginx-config');\n if (!existsSync(nginxConfigRoot)) {\n return [];\n }\n\n const collected: string[] = [];\n const visit = (directory: string): void => {\n for (const entry of readdirSync(directory)) {\n const path = join(directory, entry);\n const stat = statSync(path);\n if (stat.isDirectory()) {\n visit(path);\n continue;\n }\n if (stat.isFile() && readFileSync(path, 'utf-8').includes(NGINX_CSP_BEGIN_MARKER)) {\n collected.push(path);\n }\n }\n };\n\n visit(nginxConfigRoot);\n return collected.sort();\n}\n\n/**\n * Per-service resolved CSP policy — the side-effect-free output of\n * {@link CspSyncService.resolveServicePolicies}. Both the nginx sync (write\n * side) and `wildo frontend publish` (CDN edge re-home) consume this, so the\n * layered resolution (baseline ⊕ app-static ⊕ env-override ⊕ the declared\n * providers' footprints, plus the Vite dev-loosening / companion-origin\n * auto-derivations) lives in ONE place and can never drift between the two\n * consumers.\n */\nexport interface ResolvedServiceCspPolicy {\n readonly serviceKey: string;\n readonly frontendType: AppFrontendType;\n readonly serviceRoot: string;\n readonly policy: ResolvedCspPolicy;\n}\n\nexport class CspSyncService {\n /**\n * Resolve each CSP-capable frontend's policy WITHOUT writing anything.\n *\n * Loads the saas + infra configs, validates the infra `csp` keys, resolves\n * the app-static layer (SAAS_APP inline / `wildo.website.config.ts` /\n * `wildo.tech-doc.config.ts`) merged with the per-env override, and asserts\n * the runtime origins are in `connect-src`. Returns one entry per\n * CSP-capable frontend (filtered to `input.serviceKey` when given).\n *\n * This is the shared resolution seam: {@link sync} adds the nginx-write side;\n * the CDN publish path adds the `_headers` / edge-policy side.\n */\n static async resolveServicePolicies(\n input: CspSyncServiceInput,\n ): Promise<ResolvedServiceCspPolicy[]> {\n const saasRoot = resolve(input.saasRoot);\n const env = input.env ?? process.env;\n const saasConfig = await loadSaasConfig(saasRoot);\n const allCspServiceEntries = resolveFrontendServiceEntries(saasConfig, undefined);\n const serviceEntries = resolveFrontendServiceEntries(saasConfig, input.serviceKey);\n const consumedCspServiceKeys = allCspServiceEntries.map(([serviceKey]) => serviceKey);\n const infraConfig = await loadInfraConfig(saasRoot, input.envName, consumedCspServiceKeys);\n\n assertInfraCspKeysExistAsServices(\n infraConfig,\n saasConfig,\n new Set(consumedCspServiceKeys),\n input.envName,\n );\n\n const resolved: ResolvedServiceCspPolicy[] = [];\n for (const [serviceKey, service] of serviceEntries) {\n const frontendType = service.frontendType;\n if (frontendType === undefined) {\n continue;\n }\n\n const serviceRoot = resolve(saasRoot, service.path);\n const appCsp = await resolveAppCsp({\n saasRoot,\n serviceKey,\n serviceRoot,\n frontendType,\n service,\n });\n const policy = resolveCspPolicy({\n frontendType,\n appCsp,\n envOverride: EnvCspOverrideSchema.optional().parse(infraConfig.csp?.[serviceKey]),\n // The fourth layer (#332): what the providers this service declared\n // actually need to reach. Resolved per service AND per environment\n // because both axes change the answer — a provider enabled only in\n // production contributes origins only to production's policy, and CSP\n // is enforcing there while it is report-only in development, so this is\n // the one layer whose absence shows up nowhere else.\n providerCspFootprints: collectProviderCspFootprints({ saasRoot, serviceKey }),\n // Pass the env id so the resolver can auto-apply Vite dev-mode\n // loosening for `'local'` + `SAAS_APP`. Without this the\n // framework would not know whether it's resolving for local dev\n // or prod, and apps would still have to opt-in per-env.\n environmentId: input.envName,\n });\n if (policy === null) {\n throw new Error(\n `[wildo-csp-sync] service \"${serviceKey}\" resolved to a disabled CSP. CSP-capable frontend services require csp.enabled = true.`,\n );\n }\n\n const connectSrc = [...(policy.directives['connect-src'] ?? [])];\n assertRuntimeOriginsAllowed({\n frontendType,\n env,\n connectSrc,\n envName: input.envName,\n serviceKey,\n });\n\n resolved.push({ serviceKey, frontendType, serviceRoot, policy });\n }\n\n return resolved;\n }\n\n static async sync(input: CspSyncServiceInput): Promise<CspSyncServiceResult> {\n const saasRoot = resolve(input.saasRoot);\n const resolvedServices = await CspSyncService.resolveServicePolicies(input);\n\n const services: CspSyncServiceEntryResult[] = [];\n for (const { serviceKey, frontendType, serviceRoot, policy } of resolvedServices) {\n const connectSrc = [...(policy.directives['connect-src'] ?? [])];\n const artifacts = emitCspArtifacts(policy);\n const generatedArtifacts = parseGeneratedCspArtifacts({\n envName: input.envName,\n serviceKey,\n connectSrc,\n nginxHeaderName: artifacts.nginxHeaderName,\n nginxPolicyValue: artifacts.nginxPolicyValue,\n nginxAddHeaderLine: artifacts.nginxAddHeaderLine,\n metaTag: artifacts.metaTag,\n });\n const generatedArtifactPath = resolve(serviceRoot, 'src', 'generated', 'csp.generated.json');\n const write = input.checkOnly !== true;\n const generatedArtifactOutOfDate = reconcileGeneratedCspArtifacts(\n generatedArtifacts,\n generatedArtifactPath,\n { write },\n );\n const outOfDateNginxFiles: string[] = [];\n\n for (const nginxConfigFile of collectNginxConfigFilesWithCspMarkers(serviceRoot)) {\n const outOfDate = write\n ? rewriteNginxCspMarkerPairs(nginxConfigFile, generatedArtifacts.nginxAddHeaderLine).fileWritten\n : nginxCspMarkerPairsAreOutOfDate(nginxConfigFile, generatedArtifacts.nginxAddHeaderLine);\n if (outOfDate) {\n outOfDateNginxFiles.push(relative(saasRoot, nginxConfigFile));\n }\n }\n\n services.push({\n serviceKey,\n frontendType,\n generatedArtifactPath: relative(saasRoot, generatedArtifactPath),\n generatedArtifactOutOfDate,\n outOfDateNginxFiles,\n wroteChanges: write && (generatedArtifactOutOfDate || outOfDateNginxFiles.length > 0),\n });\n }\n\n return {\n envName: input.envName,\n services,\n };\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"csp-sync.service.js","sourceRoot":"","sources":["../../../../src/services/security/csp-sync.service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,SAAS,EACT,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,aAAa,GACd,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC7D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,sBAAsB,EACtB,oBAAoB,EACpB,sBAAsB,EACtB,gBAAgB,EAChB,UAAU,EACV,iCAAiC,EACjC,yBAAyB,EACzB,gBAAgB,EAChB,mCAAmC,EACnC,0BAA0B,EAC1B,gCAAgC,EAChC,oBAAoB,EACpB,iBAAiB,EACjB,qBAAqB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,IAAI,CAAC;YACvC,MAAM,0BAA0B,GAAG,8BAA8B,CAC/D,kBAAkB,EAClB,qBAAqB,EACrB,EAAE,KAAK,EAAE,CACV,CAAC;YACF,MAAM,mBAAmB,GAAa,EAAE,CAAC;YAEzC,KAAK,MAAM,eAAe,IAAI,qCAAqC,CAAC,WAAW,CAAC,EAAE,CAAC;gBACjF,MAAM,SAAS,GAAG,KAAK;oBACrB,CAAC,CAAC,0BAA0B,CAAC,eAAe,EAAE,kBAAkB,CAAC,mBAAmB,CAAC,CAAC,WAAW;oBACjG,CAAC,CAAC,+BAA+B,CAAC,eAAe,EAAE,kBAAkB,CAAC,mBAAmB,CAAC,CAAC;gBAC7F,IAAI,SAAS,EAAE,CAAC;oBACd,mBAAmB,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAC,CAAC;gBAChE,CAAC;YACH,CAAC;YAED,QAAQ,CAAC,IAAI,CAAC;gBACZ,UAAU;gBACV,YAAY;gBACZ,qBAAqB,EAAE,QAAQ,CAAC,QAAQ,EAAE,qBAAqB,CAAC;gBAChE,0BAA0B;gBAC1B,mBAAmB;gBACnB,YAAY,EAAE,KAAK,IAAI,CAAC,0BAA0B,IAAI,mBAAmB,CAAC,MAAM,GAAG,CAAC,CAAC;aACtF,CAAC,CAAC;QACL,CAAC;QAED,OAAO;YACL,OAAO,EAAE,KAAK,CAAC,OAAO;YACtB,QAAQ;SACT,CAAC;IACJ,CAAC;CACF","sourcesContent":["import {\n existsSync,\n mkdirSync,\n readFileSync,\n readdirSync,\n statSync,\n writeFileSync,\n} from 'node:fs';\nimport { dirname, join, relative, resolve } from 'node:path';\nimport {\n AppFrontendType,\n ConfigArtifactsZone,\n ConfigModuleResolution,\n EnvCspOverrideSchema,\n NGINX_CSP_BEGIN_MARKER,\n emitCspArtifacts,\n loadConfig,\n loadMaterializedFrontendProviders,\n resolveInfraEnvConfigPath,\n resolveCspPolicy,\n resolveFrontendServicesArtifactPath,\n rewriteNginxCspMarkerPairs,\n rewriteNginxCspMarkerPairsString,\n WildoCspConfigSchema,\n WildoLocationType,\n buildServicePublicUrl,\n resolveLocalhostApplicationOrigins,\n selectPrimaryBackendService,\n type ResolvedCspPolicy,\n type WildoCspConfig,\n type WildoInfraEnvConfig,\n type WildoSaasConfig,\n} from '@wildo-ai/platform-config-lib';\nimport { loadInfraEnvConfig } from '@wildo-ai/platform-config-lib';\n// The footprint type is owned by the package that puts it on the wire, and is\n// read here through the same public door every browser-bound consumer uses.\nimport {\n normalizeProviderFrontendCspFootprint,\n PROVIDER_FRONTEND_CSP_ORIGIN_BUCKETS,\n type ProviderFrontendCspFootprint,\n type ProviderFrontendCspOriginBucket,\n} from '@wildo-ai/saas-models/public-runtime';\n\nexport interface GeneratedCspArtifacts {\n readonly envName: string;\n readonly serviceKey: string;\n readonly connectSrc: string[];\n readonly nginxHeaderName: string;\n readonly nginxPolicyValue: string;\n readonly nginxAddHeaderLine: string;\n /**\n * Every response header the policy needs, by name, policy first: the CSP header, then `Reporting-Endpoints` when the\n * policy's `report-to` names a collector (#2867). What a dev server sets, so a page served there reports exactly as\n * one served by nginx.\n */\n readonly responseHeaders: Readonly<Record<string, string>>;\n /** The nginx `add_header` lines for {@link responseHeaders}, in order: the body of every marker region. */\n readonly nginxAddHeaderLines: readonly string[];\n readonly metaTag: {\n readonly tagName: 'meta';\n readonly attributes: {\n readonly 'http-equiv': string;\n readonly content: string;\n };\n } | null;\n}\n\nexport interface CspSyncServiceResult {\n readonly envName: string;\n readonly services: CspSyncServiceEntryResult[];\n}\n\nexport interface CspSyncServiceEntryResult {\n readonly serviceKey: string;\n readonly frontendType: AppFrontendType;\n readonly generatedArtifactPath: string;\n /**\n * The policy resolved from this service's inputs differs from the committed artifact.\n *\n * Separate from `wroteChanges` on purpose. This is a fact about the REPOSITORY — the generated\n * file no longer describes its own inputs — and it is true whether or not this run was allowed to\n * repair it. Collapsing the two into one \"wrote\" boolean is what made a check mode impossible to\n * express: under `checkOnly` nothing is written and the interesting answer is still yes.\n */\n readonly generatedArtifactOutOfDate: boolean;\n /** Nginx marker pairs whose header line differs from the resolved policy, written or not. */\n readonly outOfDateNginxFiles: readonly string[];\n /** Whether this run actually touched the filesystem. Always false under `checkOnly`. */\n readonly wroteChanges: boolean;\n}\n\ninterface ServiceCspAuthoringConfig {\n readonly csp?: WildoCspConfig;\n}\n\ninterface CspSyncServiceInput {\n readonly saasRoot: string;\n readonly envName: string;\n readonly serviceKey?: string;\n readonly env?: NodeJS.ProcessEnv;\n /**\n * Resolve and compare, writing nothing.\n *\n * The CSP artifacts are TRACKED and generated, and until #513 nothing re-derived them: Wonder\n * Todos' website artifact was four months behind its own authored inputs and its `app` artifact\n * three weeks, each missing a directive whose author had written down what breaks without it.\n * Local CSP is report-only, so the drift produced no symptom and would have been discovered by\n * whoever flipped enforcement.\n */\n readonly checkOnly?: boolean;\n}\n\nconst FRONTEND_TYPES_WITH_CSP = new Set<AppFrontendType>([\n AppFrontendType.SAAS_APP,\n AppFrontendType.TECH_DOC,\n AppFrontendType.STATIC_WEBSITE,\n]);\n\nfunction parseGeneratedCspArtifacts(input: unknown): GeneratedCspArtifacts {\n if (typeof input !== 'object' || input === null) {\n throw new Error('[wildo-csp-sync] generated CSP artifacts must be an object.');\n }\n\n return input as GeneratedCspArtifacts;\n}\n\n/**\n * Compare the resolved artifact against what is on disk, and write it unless checking.\n *\n * Returns whether the two DIFFER, which is the answer both modes want — the sync path reports it as\n * \"updated\", the check path as \"out of date\". The comparison is on the exact serialized bytes, so a\n * reordering that changes nothing semantically still reports, which is correct for a file whose\n * whole purpose is to be the byte-for-byte output of a resolution.\n */\nfunction reconcileGeneratedCspArtifacts(\n input: GeneratedCspArtifacts,\n filePath: string,\n options: { readonly write: boolean },\n): boolean {\n const nextSource = `${JSON.stringify(input, null, 2)}\\n`;\n let currentSource: string | null = null;\n\n try {\n currentSource = readFileSync(filePath, 'utf-8');\n } catch {\n currentSource = null;\n }\n\n if (currentSource === nextSource) {\n return false;\n }\n\n if (options.write) {\n mkdirSync(dirname(filePath), { recursive: true });\n writeFileSync(filePath, nextSource);\n }\n return true;\n}\n\n/**\n * The same comparison for an nginx marker pair, without writing.\n *\n * Uses the PURE string rewriter the writing variant is itself built on, rather than re-implementing\n * the marker parsing — a second parser would answer differently the first time the marker format\n * moved, and a check that disagrees with the thing it checks is worse than no check.\n */\nfunction nginxCspMarkerPairsAreOutOfDate(filePath: string, addHeaderLines: readonly string[]): boolean {\n const original = readFileSync(filePath, 'utf-8');\n const { rewritten } = rewriteNginxCspMarkerPairsString(original, addHeaderLines, filePath);\n return rewritten !== original;\n}\n\n/** The shared authored-infra path rule (`resolveInfraEnvConfigPath`, platform-config-lib). */\nfunction resolveAuthoredInfraConfigPath(saasRoot: string, envName: string): string {\n return resolveInfraEnvConfigPath(saasRoot, envName);\n}\n\n/**\n * Every configuration this service reads is evaluated against the CLI's own built framework packages\n * ({@link ConfigModuleResolution.LOADER_INSTANCES}, #3440).\n *\n * The sync only asks what the files DECLARE (the services, their `csp` blocks, the environment's origins), and the CLI\n * composes the policy with the `platform-config-lib` build it runs. Left to the loader's inference, a framework checkout\n * aliases `@wildo-ai/platform-config-lib` to its `config-authoring.entry.ts` source, so the first read transpiled about\n * 120 framework source modules: 2.2 s on a fast host and over 5 s on the CI runner, where this service's first test\n * timed out (#3621). Same root cause and remedy as #3610 and #3615, and the mode `wildo website audit` already reads\n * `wildo.saas.config.ts` with. The files read here import framework packages and, at most, an application's role enums;\n * none defines a zod schema of its own, so the decorated-zod caveat of that mode does not arise.\n */\nconst CSP_SYNC_CONFIG_MODULE_RESOLUTION = ConfigModuleResolution.LOADER_INSTANCES;\n\nasync function loadSaasScopedConfig<T>(saasRoot: string, filePath: string): Promise<T> {\n return loadConfig<T>(filePath, {\n artifactLocation: {\n zone: ConfigArtifactsZone.SAAS,\n ownerRoot: saasRoot,\n },\n moduleResolution: CSP_SYNC_CONFIG_MODULE_RESOLUTION,\n });\n}\n\nasync function loadSaasConfig(saasRoot: string): Promise<WildoSaasConfig> {\n return loadSaasScopedConfig<WildoSaasConfig>(\n saasRoot,\n resolve(saasRoot, 'wildo.saas.config.ts'),\n );\n}\n\nasync function loadInfraConfig(saasRoot: string, envName: string): Promise<WildoInfraEnvConfig> {\n // Through the shared loader, like every other reader of the descriptor: `csp` is application-owned, but a\n // HOSTED descriptor is not an environment until it is resolved, and this function returns the environment.\n const loaded = await loadInfraEnvConfig(saasRoot, envName, { moduleResolution: CSP_SYNC_CONFIG_MODULE_RESOLUTION });\n if (loaded === null) {\n throw new Error(`Config file not found: ${resolveAuthoredInfraConfigPath(saasRoot, envName)}`);\n }\n return loaded.config;\n}\n\nfunction resolveFrontendServiceEntries(\n saasConfig: WildoSaasConfig,\n requestedServiceKey: string | undefined,\n): Array<readonly [string, WildoSaasConfig['services'][string]]> {\n const entries = Object.entries(saasConfig.services).filter(([, service]) =>\n service.frontendType !== undefined &&\n FRONTEND_TYPES_WITH_CSP.has(service.frontendType),\n );\n\n if (!requestedServiceKey) {\n return entries;\n }\n\n const match = entries.filter(([serviceKey]) => serviceKey === requestedServiceKey);\n if (match.length !== 1) {\n throw new Error(\n `[wildo-csp-sync] expected one CSP-capable frontend service named \"${requestedServiceKey}\", found ${match.length}.`,\n );\n }\n\n return match;\n}\n\nfunction assertInfraCspKeysExistAsServices(\n config: WildoInfraEnvConfig,\n saasConfig: Pick<WildoSaasConfig, 'services'>,\n cspCapableServiceKeys: ReadonlySet<string>,\n envName: string,\n): void {\n if (!config.csp) {\n return;\n }\n\n const serviceKeys = new Set(Object.keys(saasConfig.services));\n const unknownKeys = Object.keys(config.csp).filter((key) => !serviceKeys.has(key));\n if (unknownKeys.length > 0) {\n throw new Error(\n `[wildo-csp-sync] infrastructure/${envName} authored csp override keys that do not exist in wildo.saas.config.ts services: ${unknownKeys.join(', ')}.`,\n );\n }\n\n const nonFrontendKeys = Object.keys(config.csp).filter((key) => !cspCapableServiceKeys.has(key));\n if (nonFrontendKeys.length > 0) {\n throw new Error(\n `[wildo-csp-sync] infrastructure/${envName} authored csp override keys for services that are not CSP-capable frontends: ${nonFrontendKeys.join(', ')}.`,\n );\n }\n}\n\nfunction resolvePerServiceConfigPath(serviceRoot: string, frontendType: AppFrontendType): string | null {\n switch (frontendType) {\n case AppFrontendType.TECH_DOC:\n return resolve(serviceRoot, 'wildo.tech-doc.config.ts');\n case AppFrontendType.STATIC_WEBSITE:\n return resolve(serviceRoot, 'wildo.website.config.ts');\n case AppFrontendType.SAAS_APP:\n return null;\n }\n}\n\nasync function resolveAppCsp(args: {\n readonly saasRoot: string;\n readonly serviceKey: string;\n readonly serviceRoot: string;\n readonly frontendType: AppFrontendType;\n readonly service: WildoSaasConfig['services'][string];\n}): Promise<WildoCspConfig> {\n if (args.frontendType === AppFrontendType.SAAS_APP) {\n /*\n * An unauthored app-static layer DEFAULTS to the pilot posture; it is not a refusal (#417).\n *\n * The refusal fired on the ONLY path a fresh application takes. Neither the skeleton template\n * nor Wonder CRM authors a `services.<key>.csp` block — measured 2026-09-08, zero occurrences\n * of the string in either — so `wildo dev start` failed on Wonder CRM and on every application\n * `wildo init` had just produced.\n *\n * ENABLED AND REPORT-ONLY, not the schema's own `{}` default, and the reason is a SECOND\n * refusal that #417's measurement did not name. `resolveServicePolicies` below throws for any\n * CSP-capable frontend whose policy resolves to `null` — \"CSP-capable frontend services require\n * csp.enabled = true\" — while `WildoCspConfigSchema.enabled` defaults to `false`. So parsing\n * the empty object here merely moves the wall one frame down, which is what the pin for this\n * change caught. The two are not in conflict once you read what each governs: the schema's\n * default governs AUTHORING in general, and that guard governs a surface the framework has\n * already decided must carry a policy.\n *\n * So the default is the posture the schema's own JSDoc prescribes for a first-time author —\n * `reportOnly: true`, \"to triage console-surfaced violations without breaking real traffic\" —\n * and it is byte-for-byte what Wonder Todos authors and what the skeleton's shipped\n * `csp.generated.json` already CLAIMS (`Content-Security-Policy-Report-Only`). The scaffold's\n * intended posture was never \"no CSP\"; the config block to express it was simply missing.\n *\n * Everything else stays at the schema's defaults, so the merge strategy, the directive\n * overrides and the report URI have exactly one source and this is not a second copy of them.\n *\n * The cost of removing the refusal, accepted deliberately in #417: an application that DELETES\n * its `csp` block is now defaulted rather than told. It is defaulted to a policy that reports\n * and does not enforce, so the failure mode of getting this wrong is a console warning rather\n * than a broken application.\n */\n /*\n * The parse wraps the authored block too, and that half is IDEMPOTENT HARDENING rather than a\n * second fix — stated because a reader should not have to re-derive it. `wildo.saas.config.ts`\n * is loaded by a bare cast, but it is authored through `defineSaasConfig`, which already runs\n * `WildoSaasConfigSchema.parse` — and `services.<key>.csp` is `WildoCspConfigSchema.optional()`\n * there, so a partial block is already defaulted by the time it arrives. Bypassing that helper\n * is not a supported shape and would fail on other defaults first, which is why no pin reddens\n * when this parse is removed (measured, #442). What it buys is that the invariant below holds\n * unconditionally instead of by way of somebody else's helper.\n */\n return WildoCspConfigSchema.parse(args.service.csp ?? { enabled: true, reportOnly: true });\n }\n\n const configPath = resolvePerServiceConfigPath(args.serviceRoot, args.frontendType);\n if (configPath === null) {\n throw new Error(`[wildo-csp-sync] Unsupported frontend type: ${args.frontendType}`);\n }\n\n const config = await loadSaasScopedConfig<ServiceCspAuthoringConfig>(\n args.saasRoot,\n configPath,\n );\n if (config.csp === undefined) {\n throw new Error(\n `[wildo-csp-sync] ${configPath} must author a csp block so service \"${args.serviceKey}\" has an app-static layer.`,\n );\n }\n\n /*\n * ─── PARSED, not returned verbatim (#442) ────────────────────────────────────────────────────\n *\n * This branch handed the authored block straight to `resolveCspPolicy`, so a hand-written PARTIAL\n * block — `{ enabled: true, reportOnly: true }`, no `directives`, no `mergeStrategy` — arrived\n * without the schema's defaults and the sync died on `TypeError: Cannot convert undefined or null\n * to object`. A stack trace naming neither the author's file nor the missing field.\n *\n * `WildoCspConfigSchema` is a `z.strictObject`, so parsing here buys a second thing: a typo like\n * `enable: true` becomes a parse error naming the key instead of silently resolving to\n * `enabled: false` — which the schema's own JSDoc calls \"CSP off, the worst possible default\".\n *\n * The SAAS_APP branch above parses for the same reason. Both are needed and neither is redundant:\n * `wildo.saas.config.ts` is parsed by `defineSaasConfig` only when the author USES that helper,\n * and this file is loaded by a bare cast with no validation at all. So the invariant is stated\n * where it can be relied on — every block `resolveAppCsp` returns has been through the schema,\n * however it arrived.\n */\n return WildoCspConfigSchema.parse(config.csp);\n}\n\nfunction assertOriginAllowedInConnectSrc(args: {\n readonly envVarName: string;\n readonly rawUrl: string | undefined;\n readonly connectSrc: readonly string[];\n readonly envName: string;\n readonly serviceKey: string;\n}): void {\n if (!args.rawUrl) {\n return;\n }\n\n let origin: string;\n try {\n origin = new URL(args.rawUrl).origin;\n } catch {\n throw new Error(\n `[wildo-csp-sync] ${args.envVarName} must be a valid absolute URL, got \"${args.rawUrl}\".`,\n );\n }\n\n if (!args.connectSrc.includes(origin)) {\n throw new Error(\n `[wildo-csp-sync] ${args.envVarName} origin \"${origin}\" is missing from the final connect-src allowlist for service \"${args.serviceKey}\" in ${args.envName}.`,\n );\n }\n}\n\nfunction assertExplicitHmrOriginAllowed(\n env: NodeJS.ProcessEnv,\n connectSrc: readonly string[],\n envName: string,\n serviceKey: string,\n): void {\n const explicitHmrHost = env.VITE_HMR_HOST?.trim();\n const explicitHmrClientPort = env.VITE_HMR_CLIENT_PORT?.trim();\n const explicitHmrProtocol = env.VITE_HMR_PROTOCOL?.trim();\n if (!explicitHmrHost && !explicitHmrClientPort && !explicitHmrProtocol) {\n return;\n }\n\n const protocol = explicitHmrProtocol || 'ws';\n const host = explicitHmrHost || 'localhost';\n const port = explicitHmrClientPort || env.VITE_PORT?.trim() || '4242';\n const hmrOrigin = `${protocol}://${host}:${port}`;\n if (!connectSrc.includes(hmrOrigin)) {\n throw new Error(\n `[wildo-csp-sync] explicit Vite HMR origin \"${hmrOrigin}\" is missing from the final connect-src allowlist for service \"${serviceKey}\" in ${envName}.`,\n );\n }\n}\n\nfunction assertRuntimeOriginsAllowed(args: {\n readonly frontendType: AppFrontendType;\n readonly env: NodeJS.ProcessEnv;\n readonly connectSrc: readonly string[];\n readonly envName: string;\n readonly serviceKey: string;\n}): void {\n if (args.frontendType === AppFrontendType.SAAS_APP) {\n assertOriginAllowedInConnectSrc({\n envVarName: 'VITE_API_BASE_URL',\n rawUrl: args.env.VITE_API_BASE_URL,\n connectSrc: args.connectSrc,\n envName: args.envName,\n serviceKey: args.serviceKey,\n });\n assertExplicitHmrOriginAllowed(args.env, args.connectSrc, args.envName, args.serviceKey);\n }\n\n if (args.frontendType === AppFrontendType.TECH_DOC) {\n assertOriginAllowedInConnectSrc({\n envVarName: 'WILDO_DOCS_API_BASE_URL',\n rawUrl: args.env.WILDO_DOCS_API_BASE_URL,\n connectSrc: args.connectSrc,\n envName: args.envName,\n serviceKey: args.serviceKey,\n });\n }\n}\n\n/**\n * The CSP footprints of the providers DECLARED FOR ONE SERVICE (#332).\n *\n * Read from the materialized `frontend-services.runtime-providers.generated.json`\n * that `wildo config sync` writes — which is the whole reason the footprint is\n * DATA. This CLI is a Node process and a frontend provider module is\n * browser-bound; it could not execute one to ask what origins it needs, and a\n * provider whose origins had to be transcribed into every application's config\n * by hand would be wrong in production the first time anyone forgot.\n *\n * Keyed by SERVICE, not by facet: a Zoom origin the marketing site declared\n * must not be admitted for the SaaS app, which is the isolation this per-service\n * read is for.\n *\n * A missing artifact is not an error. A clean checkout, or an application that\n * declares no frontend provider at all, legitimately has none — and refusing\n * here would make `wildo dev sync-csp` depend on a sync having already run.\n */\nfunction collectProviderCspFootprints(args: {\n readonly saasRoot: string;\n readonly serviceKey: string;\n}): ReadonlyArray<ProviderFrontendCspFootprint> {\n const block = loadMaterializedFrontendProviders({\n artifactPath: resolveFrontendServicesArtifactPath(args.saasRoot),\n serviceKey: args.serviceKey,\n });\n\n if (block === undefined) {\n return [];\n }\n\n return Object.values(block.providers)\n .map((provider) => resolveProviderCspFootprint(provider, args.serviceKey))\n .filter((footprint): footprint is ProviderFrontendCspFootprint => footprint !== undefined);\n}\n\n/**\n * Fills a provider's DERIVED origins in from its own public configuration.\n *\n * Some endpoints are not knowable by the provider: an error-monitoring\n * provider sends to the host inside its DSN, an analytics provider to whatever\n * `apiHost` the application configured — a region, a reverse proxy on the\n * application's own domain, or a self-hosted deployment. The provider therefore\n * declares WHERE the origin is, and this is the one place that has both halves:\n * the served entry carries `publicConfig` and the footprint beside it.\n *\n * Without this the application would author the same host twice — once as the\n * provider's config, once in its own CSP — and the copy that drifts fails in\n * production only.\n *\n * Absent key: contributes nothing. That is the correct reading of \"this\n * application has not configured that provider\", and refusing would make an\n * unconfigured optional provider break the sync.\n *\n * Present but not a URL: FAILS, naming the provider and the key. It is the one\n * case where the application said something and the framework cannot honour it,\n * and silently dropping it produces exactly the blocked-in-production-only\n * failure the whole layer exists to remove.\n */\nfunction resolveProviderCspFootprint(\n provider: { readonly csp?: ProviderFrontendCspFootprint; readonly publicConfig?: Readonly<Record<string, unknown>>; readonly metadata: { readonly ref: string } },\n serviceKey: string,\n): ProviderFrontendCspFootprint | undefined {\n const footprint = provider.csp;\n if (footprint === undefined) return undefined;\n if (footprint.derivedOrigins.length === 0) return footprint;\n\n const resolved = normalizeProviderFrontendCspFootprint({\n ...footprint,\n // Resolved here, so nothing downstream has to know the bucket existed.\n derivedOrigins: [],\n });\n // Every bucket, from the enum (#1702). This used to be a hand-written list of six, so a provider that\n // derived an origin into a bucket added later (worker, media) would have crashed here, and one that\n // merely declared such a bucket beside a derived origin would have had it silently erased.\n const buckets = Object.fromEntries(\n PROVIDER_FRONTEND_CSP_ORIGIN_BUCKETS.map((bucket) => [bucket, [...resolved[bucket]]]),\n ) as Record<ProviderFrontendCspOriginBucket, string[]>;\n\n for (const derived of footprint.derivedOrigins) {\n const configured = provider.publicConfig?.[derived.publicConfigKey];\n if (configured === undefined || configured === null || configured === '') continue;\n\n if (typeof configured !== 'string') {\n throw new Error(\n `[wildo-csp-sync] provider \"${provider.metadata.ref}\" on service \"${serviceKey}\" declares a CSP origin `\n + `derived from publicConfig.${derived.publicConfigKey}, but that value is not a string.`,\n );\n }\n\n let origin: string;\n try {\n origin = new URL(configured).origin;\n } catch {\n throw new Error(\n `[wildo-csp-sync] provider \"${provider.metadata.ref}\" on service \"${serviceKey}\" declares a CSP origin `\n + `derived from publicConfig.${derived.publicConfigKey}, but \"${configured}\" is not an absolute URL, so `\n + 'no origin can be read from it. The provider would then be blocked by the very policy it contributes '\n + 'to — and only where CSP enforces, so the failure would first appear in production.',\n );\n }\n\n const bucket = buckets[derived.bucket];\n if (!bucket.includes(origin)) bucket.push(origin);\n }\n\n return normalizeProviderFrontendCspFootprint(buckets);\n}\n\nfunction collectNginxConfigFilesWithCspMarkers(serviceRoot: string): string[] {\n const nginxConfigRoot = resolve(serviceRoot, 'nginx-config');\n if (!existsSync(nginxConfigRoot)) {\n return [];\n }\n\n const collected: string[] = [];\n const visit = (directory: string): void => {\n for (const entry of readdirSync(directory)) {\n const path = join(directory, entry);\n const stat = statSync(path);\n if (stat.isDirectory()) {\n visit(path);\n continue;\n }\n if (stat.isFile() && readFileSync(path, 'utf-8').includes(NGINX_CSP_BEGIN_MARKER)) {\n collected.push(path);\n }\n }\n };\n\n visit(nginxConfigRoot);\n return collected.sort();\n}\n\n/**\n * The origin of the environment's main backend API, where the platform CSP violation collector is served (#2867).\n *\n * The same derivation every other browser-facing origin of an environment takes, so the policy names the backend the\n * environment actually runs: a REMOTE environment's main backend at its public URL (`buildServicePublicUrl`, which the\n * ingress, `runtime.endPoints` and CORS key on), any other at `http://localhost:<defaultPort>`\n * (`resolveLocalhostApplicationOrigins`, the origin `wildo local dev` starts it on). The main backend is\n * `selectPrimaryBackendService`'s, the one rule every such derivation shares. `undefined` when the application declares\n * no backend with a port: the policy then names no collector rather than an invented one.\n */\nexport function resolveCspViolationCollectorOrigin(\n saasConfig: Pick<WildoSaasConfig, 'services'>,\n infraConfig: Pick<WildoInfraEnvConfig, 'locationType' | 'publicDomain' | 'serviceHosts'>,\n): string | undefined {\n if (infraConfig.locationType === WildoLocationType.REMOTE) {\n const backendKeys = Object.entries(saasConfig.services)\n .filter(([, service]) => service.frontendType === undefined)\n .map(([key]) => ({ key }));\n const primaryBackend = selectPrimaryBackendService(backendKeys);\n return primaryBackend === undefined\n ? undefined\n : buildServicePublicUrl({ serviceKey: primaryBackend.key, serviceHosts: infraConfig.serviceHosts, publicDomain: infraConfig.publicDomain });\n }\n return resolveLocalhostApplicationOrigins(saasConfig.services).api;\n}\n\n/**\n * Per-service resolved CSP policy — the side-effect-free output of\n * {@link CspSyncService.resolveServicePolicies}. Both the nginx sync (write\n * side) and `wildo frontend publish` (CDN edge re-home) consume this, so the\n * layered resolution (baseline ⊕ app-static ⊕ env-override ⊕ the declared\n * providers' footprints, plus the Vite dev-loosening / companion-origin\n * auto-derivations) lives in ONE place and can never drift between the two\n * consumers.\n */\nexport interface ResolvedServiceCspPolicy {\n readonly serviceKey: string;\n readonly frontendType: AppFrontendType;\n readonly serviceRoot: string;\n readonly policy: ResolvedCspPolicy;\n}\n\nexport class CspSyncService {\n /**\n * Resolve each CSP-capable frontend's policy WITHOUT writing anything.\n *\n * Loads the saas + infra configs, validates the infra `csp` keys, resolves\n * the app-static layer (SAAS_APP inline / `wildo.website.config.ts` /\n * `wildo.tech-doc.config.ts`) merged with the per-env override, and asserts\n * the runtime origins are in `connect-src`. Returns one entry per\n * CSP-capable frontend (filtered to `input.serviceKey` when given).\n *\n * This is the shared resolution seam: {@link sync} adds the nginx-write side;\n * the CDN publish path adds the `_headers` / edge-policy side.\n */\n static async resolveServicePolicies(\n input: CspSyncServiceInput,\n ): Promise<ResolvedServiceCspPolicy[]> {\n const saasRoot = resolve(input.saasRoot);\n const env = input.env ?? process.env;\n const saasConfig = await loadSaasConfig(saasRoot);\n const serviceEntries = resolveFrontendServiceEntries(saasConfig, input.serviceKey);\n const cspCapableServiceKeys = resolveFrontendServiceEntries(saasConfig, undefined).map(([serviceKey]) => serviceKey);\n const infraConfig = await loadInfraConfig(saasRoot, input.envName);\n const violationCollectorOrigin = resolveCspViolationCollectorOrigin(saasConfig, infraConfig);\n\n assertInfraCspKeysExistAsServices(\n infraConfig,\n saasConfig,\n new Set(cspCapableServiceKeys),\n input.envName,\n );\n\n const resolved: ResolvedServiceCspPolicy[] = [];\n for (const [serviceKey, service] of serviceEntries) {\n const frontendType = service.frontendType;\n if (frontendType === undefined) {\n continue;\n }\n\n const serviceRoot = resolve(saasRoot, service.path);\n const appCsp = await resolveAppCsp({\n saasRoot,\n serviceKey,\n serviceRoot,\n frontendType,\n service,\n });\n const policy = resolveCspPolicy({\n frontendType,\n appCsp,\n envOverride: EnvCspOverrideSchema.optional().parse(infraConfig.csp?.[serviceKey]),\n // The fourth layer (#332): what the providers this service declared\n // actually need to reach. Resolved per service AND per environment\n // because both axes change the answer — a provider enabled only in\n // production contributes origins only to production's policy, and CSP\n // is enforcing there while it is report-only in development, so this is\n // the one layer whose absence shows up nowhere else.\n providerCspFootprints: collectProviderCspFootprints({ saasRoot, serviceKey }),\n // Pass the env id so the resolver can auto-apply Vite dev-mode\n // loosening for `'local'` + `SAAS_APP`. Without this the\n // framework would not know whether it's resolving for local dev\n // or prod, and apps would still have to opt-in per-env.\n environmentId: input.envName,\n // Where the platform violation collector is (#2867): this environment's main backend. Every CSP-capable surface\n // names it, unless the application authored a collector of its own.\n violationCollectorOrigin,\n });\n if (policy === null) {\n throw new Error(\n `[wildo-csp-sync] service \"${serviceKey}\" resolved to a disabled CSP. CSP-capable frontend services require csp.enabled = true.`,\n );\n }\n\n const connectSrc = [...(policy.directives['connect-src'] ?? [])];\n assertRuntimeOriginsAllowed({\n frontendType,\n env,\n connectSrc,\n envName: input.envName,\n serviceKey,\n });\n\n resolved.push({ serviceKey, frontendType, serviceRoot, policy });\n }\n\n return resolved;\n }\n\n static async sync(input: CspSyncServiceInput): Promise<CspSyncServiceResult> {\n const saasRoot = resolve(input.saasRoot);\n const resolvedServices = await CspSyncService.resolveServicePolicies(input);\n\n const services: CspSyncServiceEntryResult[] = [];\n for (const { serviceKey, frontendType, serviceRoot, policy } of resolvedServices) {\n const connectSrc = [...(policy.directives['connect-src'] ?? [])];\n const artifacts = emitCspArtifacts(policy);\n const generatedArtifacts = parseGeneratedCspArtifacts({\n envName: input.envName,\n serviceKey,\n connectSrc,\n nginxHeaderName: artifacts.nginxHeaderName,\n nginxPolicyValue: artifacts.nginxPolicyValue,\n nginxAddHeaderLine: artifacts.nginxAddHeaderLine,\n responseHeaders: Object.fromEntries(artifacts.responseHeaders.map((header) => [header.name, header.value])),\n nginxAddHeaderLines: artifacts.nginxAddHeaderLines,\n metaTag: artifacts.metaTag,\n });\n const generatedArtifactPath = resolve(serviceRoot, 'src', 'generated', 'csp.generated.json');\n const write = input.checkOnly !== true;\n const generatedArtifactOutOfDate = reconcileGeneratedCspArtifacts(\n generatedArtifacts,\n generatedArtifactPath,\n { write },\n );\n const outOfDateNginxFiles: string[] = [];\n\n for (const nginxConfigFile of collectNginxConfigFilesWithCspMarkers(serviceRoot)) {\n const outOfDate = write\n ? rewriteNginxCspMarkerPairs(nginxConfigFile, generatedArtifacts.nginxAddHeaderLines).fileWritten\n : nginxCspMarkerPairsAreOutOfDate(nginxConfigFile, generatedArtifacts.nginxAddHeaderLines);\n if (outOfDate) {\n outOfDateNginxFiles.push(relative(saasRoot, nginxConfigFile));\n }\n }\n\n services.push({\n serviceKey,\n frontendType,\n generatedArtifactPath: relative(saasRoot, generatedArtifactPath),\n generatedArtifactOutOfDate,\n outOfDateNginxFiles,\n wroteChanges: write && (generatedArtifactOutOfDate || outOfDateNginxFiles.length > 0),\n });\n }\n\n return {\n envName: input.envName,\n services,\n };\n }\n}\n"]}
|
|
@@ -30,8 +30,8 @@ export declare function composeWebsiteLabelPackAuditReport(locales: readonly Web
|
|
|
30
30
|
* hook), and every one of the engine's missing-label errors tells the author to "run `wildo website
|
|
31
31
|
* audit`". Until this existed the command only checked structured data, so that advice sent people
|
|
32
32
|
* to a command that could not answer — and the only way to learn a pack was incomplete was a full
|
|
33
|
-
* production build. It runs the SAME validator the build runs,
|
|
34
|
-
* section registry, so the two cannot disagree about what a complete pack is.
|
|
33
|
+
* production build. It runs the SAME validator the build runs, the site's own copy of it, over the
|
|
34
|
+
* site's own context and section registry, so the two cannot disagree about what a complete pack is.
|
|
35
35
|
*/
|
|
36
36
|
export declare class WebsiteLabelPackAuditService {
|
|
37
37
|
static audit(input: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"website-label-pack-audit.service.d.ts","sourceRoot":"","sources":["../../../../src/services/website/website-label-pack-audit.service.ts"],"names":[],"mappings":"AAYA,kFAAkF;AAClF,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,6FAA6F;IAC7F,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,0FAA0F;IAC1F,QAAQ,CAAC,mBAAmB,EAAE,SAAS,MAAM,EAAE,CAAC;IAChD,kGAAkG;IAClG,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;CACtC;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,OAAO,EAAE,SAAS,2BAA2B,EAAE,CAAC;IACzD;;;OAGG;IACH,QAAQ,CAAC,oBAAoB,EAAE,SAAS,MAAM,EAAE,CAAC;IACjD,4HAA4H;IAC5H,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;CAC1B;AAED;;;GAGG;AACH,wBAAgB,kCAAkC,CAChD,OAAO,EAAE,SAAS,2BAA2B,EAAE,EAC/C,oBAAoB,EAAE,SAAS,MAAM,EAAE,GACtC,2BAA2B,CAO7B;AAED;;;;;;;;;GASG;AACH,qBAAa,4BAA4B;WAC1B,KAAK,CAAC,KAAK,EAAE;QAAE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"website-label-pack-audit.service.d.ts","sourceRoot":"","sources":["../../../../src/services/website/website-label-pack-audit.service.ts"],"names":[],"mappings":"AAYA,kFAAkF;AAClF,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,6FAA6F;IAC7F,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,0FAA0F;IAC1F,QAAQ,CAAC,mBAAmB,EAAE,SAAS,MAAM,EAAE,CAAC;IAChD,kGAAkG;IAClG,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;CACtC;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,OAAO,EAAE,SAAS,2BAA2B,EAAE,CAAC;IACzD;;;OAGG;IACH,QAAQ,CAAC,oBAAoB,EAAE,SAAS,MAAM,EAAE,CAAC;IACjD,4HAA4H;IAC5H,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;CAC1B;AAED;;;GAGG;AACH,wBAAgB,kCAAkC,CAChD,OAAO,EAAE,SAAS,2BAA2B,EAAE,EAC/C,oBAAoB,EAAE,SAAS,MAAM,EAAE,GACtC,2BAA2B,CAO7B;AAED;;;;;;;;;GASG;AACH,qBAAa,4BAA4B;WAC1B,KAAK,CAAC,KAAK,EAAE;QAAE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,2BAA2B,CAAC;CAmC/F"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { join } from 'node:path';
|
|
2
|
-
import {
|
|
3
|
-
import { loadWebsiteSourceModule, resolveWebsiteWorkspace } from '../../services/website/website-workspace.service.js';
|
|
2
|
+
import { loadWebsitePackageModule, loadWebsiteSourceModule, resolveWebsiteWorkspace, } from '../../services/website/website-workspace.service.js';
|
|
4
3
|
/**
|
|
5
4
|
* The verdict: it passes only when nothing `astro build` refuses is present. Orphaned keys are a warning.
|
|
6
5
|
* An empty page counts (#2205): before it did, the audit answered "passes" for a site the build refuses.
|
|
@@ -20,8 +19,8 @@ export function composeWebsiteLabelPackAuditReport(locales, pagesWithoutSections
|
|
|
20
19
|
* hook), and every one of the engine's missing-label errors tells the author to "run `wildo website
|
|
21
20
|
* audit`". Until this existed the command only checked structured data, so that advice sent people
|
|
22
21
|
* to a command that could not answer — and the only way to learn a pack was incomplete was a full
|
|
23
|
-
* production build. It runs the SAME validator the build runs,
|
|
24
|
-
* section registry, so the two cannot disagree about what a complete pack is.
|
|
22
|
+
* production build. It runs the SAME validator the build runs, the site's own copy of it, over the
|
|
23
|
+
* site's own context and section registry, so the two cannot disagree about what a complete pack is.
|
|
25
24
|
*/
|
|
26
25
|
export class WebsiteLabelPackAuditService {
|
|
27
26
|
static async audit(input) {
|
|
@@ -35,6 +34,8 @@ export class WebsiteLabelPackAuditService {
|
|
|
35
34
|
if (!sectionsModule.WEBSITE_SECTIONS) {
|
|
36
35
|
throw new Error(`No WEBSITE_SECTIONS export in ${join(websiteSourceRoot, 'sections', 'index.ts')}; the label audit reads every section's expected keys from it.`);
|
|
37
36
|
}
|
|
37
|
+
// The site's own copy of the validator: the one `astro build` runs on this site (#3440).
|
|
38
|
+
const { collectExpectedLabelKeysFromSections, listWebsitePagesWithoutSections, loadAndValidateAllLabelPacks } = await loadWebsitePackageModule(websiteSourceRoot, '@wildo-ai/saas-website/astro');
|
|
38
39
|
const validations = loadAndValidateAllLabelPacks(join(websiteSourceRoot, 'i18n'), siteContext, collectExpectedLabelKeysFromSections(sectionsModule.WEBSITE_SECTIONS));
|
|
39
40
|
const locales = validations.map(({ locale, result }) => ({
|
|
40
41
|
locale: String(locale),
|