@wildo-ai/wildo-cli 1.1.9 → 1.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/commands/acp/probe.command.d.ts.map +1 -1
- package/dist/src/commands/acp/probe.command.js +2 -1
- package/dist/src/commands/acp/probe.command.js.map +1 -1
- package/dist/src/commands/align-deps.command.d.ts.map +1 -1
- package/dist/src/commands/align-deps.command.js +17 -1
- package/dist/src/commands/align-deps.command.js.map +1 -1
- package/dist/src/commands/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/dispatches.command.d.ts.map +1 -1
- package/dist/src/commands/build/dispatches.command.js +6 -1
- package/dist/src/commands/build/dispatches.command.js.map +1 -1
- package/dist/src/commands/build/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/config/check-resources.command.d.ts +50 -0
- package/dist/src/commands/config/check-resources.command.d.ts.map +1 -0
- package/dist/src/commands/config/check-resources.command.js +123 -0
- package/dist/src/commands/config/check-resources.command.js.map +1 -0
- package/dist/src/commands/config/legal-notice.command.d.ts +17 -0
- package/dist/src/commands/config/legal-notice.command.d.ts.map +1 -0
- package/dist/src/commands/config/legal-notice.command.js +59 -0
- package/dist/src/commands/config/legal-notice.command.js.map +1 -0
- 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 +13 -0
- package/dist/src/commands/config/sync.command.d.ts.map +1 -1
- package/dist/src/commands/config/sync.command.js +37 -2
- package/dist/src/commands/config/sync.command.js.map +1 -1
- package/dist/src/commands/config/validate.command.d.ts +11 -2
- package/dist/src/commands/config/validate.command.d.ts.map +1 -1
- package/dist/src/commands/config/validate.command.js +100 -7
- 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 +3 -1
- package/dist/src/commands/context/elements.command.d.ts.map +1 -1
- package/dist/src/commands/context/elements.command.js +3 -1
- package/dist/src/commands/context/elements.command.js.map +1 -1
- package/dist/src/commands/context/journey.command.d.ts +8 -2
- package/dist/src/commands/context/journey.command.d.ts.map +1 -1
- package/dist/src/commands/context/journey.command.js +143 -16
- package/dist/src/commands/context/journey.command.js.map +1 -1
- package/dist/src/commands/context/launch-blockers.command.d.ts +2 -1
- package/dist/src/commands/context/launch-blockers.command.d.ts.map +1 -1
- package/dist/src/commands/context/launch-blockers.command.js +6 -4
- 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/accept.command.d.ts +4 -0
- package/dist/src/commands/creation/accept.command.d.ts.map +1 -1
- package/dist/src/commands/creation/accept.command.js +29 -4
- package/dist/src/commands/creation/accept.command.js.map +1 -1
- package/dist/src/commands/creation/answer.command.d.ts.map +1 -1
- package/dist/src/commands/creation/answer.command.js +2 -1
- package/dist/src/commands/creation/answer.command.js.map +1 -1
- package/dist/src/commands/creation/brand-logo.command.d.ts +18 -0
- package/dist/src/commands/creation/brand-logo.command.d.ts.map +1 -0
- package/dist/src/commands/creation/brand-logo.command.js +43 -0
- package/dist/src/commands/creation/brand-logo.command.js.map +1 -0
- package/dist/src/commands/creation/deliberate.command.d.ts +2 -2
- package/dist/src/commands/creation/deliberate.command.js +2 -2
- package/dist/src/commands/creation/deliberate.command.js.map +1 -1
- package/dist/src/commands/creation/depth.command.js +1 -1
- package/dist/src/commands/creation/depth.command.js.map +1 -1
- package/dist/src/commands/creation/feed.command.d.ts.map +1 -1
- package/dist/src/commands/creation/feed.command.js +3 -2
- package/dist/src/commands/creation/feed.command.js.map +1 -1
- package/dist/src/commands/creation/persona.command.d.ts +3 -2
- package/dist/src/commands/creation/persona.command.d.ts.map +1 -1
- package/dist/src/commands/creation/persona.command.js +10 -3
- package/dist/src/commands/creation/persona.command.js.map +1 -1
- package/dist/src/commands/creation/preflight.command.d.ts.map +1 -1
- package/dist/src/commands/creation/preflight.command.js +3 -1
- package/dist/src/commands/creation/preflight.command.js.map +1 -1
- package/dist/src/commands/creation/questions.command.d.ts.map +1 -1
- package/dist/src/commands/creation/questions.command.js +2 -1
- package/dist/src/commands/creation/questions.command.js.map +1 -1
- package/dist/src/commands/creation/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 +3 -1
- package/dist/src/commands/creation/why.command.d.ts.map +1 -1
- package/dist/src/commands/creation/why.command.js +28 -9
- package/dist/src/commands/creation/why.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.js +1 -1
- package/dist/src/commands/db/diff.command.js.map +1 -1
- package/dist/src/commands/db/generate.command.d.ts.map +1 -1
- package/dist/src/commands/db/generate.command.js +32 -5
- package/dist/src/commands/db/generate.command.js.map +1 -1
- package/dist/src/commands/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 +91 -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 +3 -0
- package/dist/src/commands/fwk/dev-skills.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-blueprints.command.d.ts +12 -0
- package/dist/src/commands/fwk/generate-blueprints.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/generate-blueprints.command.js +75 -0
- package/dist/src/commands/fwk/generate-blueprints.command.js.map +1 -0
- package/dist/src/commands/fwk/publish-all.command.d.ts +4 -3
- package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.js +94 -32
- package/dist/src/commands/fwk/publish-all.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-promote.command.d.ts +8 -0
- package/dist/src/commands/fwk/publish-promote.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/publish-promote.command.js +137 -0
- package/dist/src/commands/fwk/publish-promote.command.js.map +1 -0
- package/dist/src/commands/fwk/publish-providers.command.d.ts +19 -0
- package/dist/src/commands/fwk/publish-providers.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/publish-providers.command.js +80 -0
- package/dist/src/commands/fwk/publish-providers.command.js.map +1 -0
- package/dist/src/commands/fwk/registry-host.command.d.ts +41 -0
- package/dist/src/commands/fwk/registry-host.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/registry-host.command.js +393 -0
- package/dist/src/commands/fwk/registry-host.command.js.map +1 -0
- package/dist/src/commands/fwk/version-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/labelling-command.utils.d.ts +15 -0
- package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.js +21 -2
- package/dist/src/commands/generate/labelling-command.utils.js.map +1 -1
- package/dist/src/commands/generate/labels.command.d.ts.map +1 -1
- package/dist/src/commands/generate/labels.command.js +10 -1
- package/dist/src/commands/generate/labels.command.js.map +1 -1
- package/dist/src/commands/generate/translate.command.d.ts +5 -0
- package/dist/src/commands/generate/translate.command.d.ts.map +1 -1
- package/dist/src/commands/generate/translate.command.js +30 -3
- package/dist/src/commands/generate/translate.command.js.map +1 -1
- package/dist/src/commands/help.command.d.ts.map +1 -1
- package/dist/src/commands/help.command.js +2 -0
- package/dist/src/commands/help.command.js.map +1 -1
- package/dist/src/commands/init.command.d.ts +59 -0
- package/dist/src/commands/init.command.d.ts.map +1 -1
- package/dist/src/commands/init.command.js +401 -12
- package/dist/src/commands/init.command.js.map +1 -1
- package/dist/src/commands/keys/rotate.command.d.ts +36 -0
- package/dist/src/commands/keys/rotate.command.d.ts.map +1 -0
- package/dist/src/commands/keys/rotate.command.js +140 -0
- package/dist/src/commands/keys/rotate.command.js.map +1 -0
- package/dist/src/commands/keys/thumbprint.command.d.ts +10 -0
- package/dist/src/commands/keys/thumbprint.command.d.ts.map +1 -0
- package/dist/src/commands/keys/thumbprint.command.js +64 -0
- package/dist/src/commands/keys/thumbprint.command.js.map +1 -0
- package/dist/src/commands/local/dev.command.d.ts +8 -1
- package/dist/src/commands/local/dev.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev.command.js +37 -6
- package/dist/src/commands/local/dev.command.js.map +1 -1
- package/dist/src/commands/local/doctor.command.d.ts +18 -0
- package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
- package/dist/src/commands/local/doctor.command.js +115 -1
- package/dist/src/commands/local/doctor.command.js.map +1 -1
- package/dist/src/commands/local/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 +2 -1
- package/dist/src/commands/local/smoke.command.js.map +1 -1
- package/dist/src/commands/local/up.command.d.ts +11 -5
- package/dist/src/commands/local/up.command.d.ts.map +1 -1
- package/dist/src/commands/local/up.command.js +51 -145
- package/dist/src/commands/local/up.command.js.map +1 -1
- package/dist/src/commands/lock/check.command.d.ts +8 -6
- package/dist/src/commands/lock/check.command.d.ts.map +1 -1
- package/dist/src/commands/lock/check.command.js +12 -19
- package/dist/src/commands/lock/check.command.js.map +1 -1
- package/dist/src/commands/market/generate.command.d.ts.map +1 -1
- package/dist/src/commands/market/generate.command.js +2 -1
- package/dist/src/commands/market/generate.command.js.map +1 -1
- package/dist/src/commands/providers/chat-command-registrations.utils.d.ts +32 -0
- package/dist/src/commands/providers/chat-command-registrations.utils.d.ts.map +1 -0
- package/dist/src/commands/providers/chat-command-registrations.utils.js +120 -0
- package/dist/src/commands/providers/chat-command-registrations.utils.js.map +1 -0
- package/dist/src/commands/providers/new.command.d.ts +14 -0
- package/dist/src/commands/providers/new.command.d.ts.map +1 -0
- package/dist/src/commands/providers/new.command.js +119 -0
- package/dist/src/commands/providers/new.command.js.map +1 -0
- package/dist/src/commands/providers/probe.command.d.ts +20 -0
- package/dist/src/commands/providers/probe.command.d.ts.map +1 -0
- package/dist/src/commands/providers/probe.command.js +164 -0
- package/dist/src/commands/providers/probe.command.js.map +1 -0
- package/dist/src/commands/providers/register.command.d.ts +34 -0
- package/dist/src/commands/providers/register.command.d.ts.map +1 -0
- package/dist/src/commands/providers/register.command.js +258 -0
- package/dist/src/commands/providers/register.command.js.map +1 -0
- package/dist/src/commands/providers/show.command.d.ts +1 -0
- package/dist/src/commands/providers/show.command.d.ts.map +1 -1
- package/dist/src/commands/providers/show.command.js +6 -46
- package/dist/src/commands/providers/show.command.js.map +1 -1
- package/dist/src/commands/registry/add.command.d.ts +3 -0
- package/dist/src/commands/registry/add.command.d.ts.map +1 -1
- package/dist/src/commands/registry/add.command.js +23 -212
- package/dist/src/commands/registry/add.command.js.map +1 -1
- package/dist/src/commands/registry/domain.command.d.ts +32 -0
- package/dist/src/commands/registry/domain.command.d.ts.map +1 -0
- package/dist/src/commands/registry/domain.command.js +118 -0
- package/dist/src/commands/registry/domain.command.js.map +1 -0
- package/dist/src/commands/registry/publish.command.d.ts.map +1 -1
- package/dist/src/commands/registry/publish.command.js +26 -50
- package/dist/src/commands/registry/publish.command.js.map +1 -1
- package/dist/src/commands/registry/remove.command.d.ts.map +1 -1
- package/dist/src/commands/registry/remove.command.js +16 -1
- package/dist/src/commands/registry/remove.command.js.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.d.ts +11 -1
- package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.js +145 -12
- package/dist/src/commands/registry/repair-lockfile.command.js.map +1 -1
- package/dist/src/commands/registry/search.command.d.ts.map +1 -1
- package/dist/src/commands/registry/search.command.js +4 -4
- package/dist/src/commands/registry/search.command.js.map +1 -1
- package/dist/src/commands/registry/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/seal/dead.command.d.ts +11 -0
- package/dist/src/commands/seal/dead.command.d.ts.map +1 -0
- package/dist/src/commands/seal/dead.command.js +44 -0
- package/dist/src/commands/seal/dead.command.js.map +1 -0
- package/dist/src/commands/seal/export.command.d.ts +12 -0
- package/dist/src/commands/seal/export.command.d.ts.map +1 -0
- package/dist/src/commands/seal/export.command.js +67 -0
- package/dist/src/commands/seal/export.command.js.map +1 -0
- package/dist/src/commands/seal/log-export.command.d.ts +18 -0
- package/dist/src/commands/seal/log-export.command.d.ts.map +1 -0
- package/dist/src/commands/seal/log-export.command.js +93 -0
- package/dist/src/commands/seal/log-export.command.js.map +1 -0
- package/dist/src/commands/seal/log-verify.command.d.ts +13 -0
- package/dist/src/commands/seal/log-verify.command.d.ts.map +1 -0
- package/dist/src/commands/seal/log-verify.command.js +74 -0
- package/dist/src/commands/seal/log-verify.command.js.map +1 -0
- package/dist/src/commands/seal/retry.command.d.ts +12 -0
- package/dist/src/commands/seal/retry.command.d.ts.map +1 -0
- package/dist/src/commands/seal/retry.command.js +48 -0
- package/dist/src/commands/seal/retry.command.js.map +1 -0
- package/dist/src/commands/seal/seal-admin-door.utils.d.ts +13 -0
- package/dist/src/commands/seal/seal-admin-door.utils.d.ts.map +1 -0
- package/dist/src/commands/seal/seal-admin-door.utils.js +88 -0
- package/dist/src/commands/seal/seal-admin-door.utils.js.map +1 -0
- package/dist/src/commands/seal/signing-log-files.utils.d.ts +9 -0
- package/dist/src/commands/seal/signing-log-files.utils.d.ts.map +1 -0
- package/dist/src/commands/seal/signing-log-files.utils.js +15 -0
- package/dist/src/commands/seal/signing-log-files.utils.js.map +1 -0
- package/dist/src/commands/seal/verify.command.d.ts +18 -0
- package/dist/src/commands/seal/verify.command.d.ts.map +1 -0
- package/dist/src/commands/seal/verify.command.js +120 -0
- package/dist/src/commands/seal/verify.command.js.map +1 -0
- package/dist/src/commands/secrets/list.command.d.ts.map +1 -1
- package/dist/src/commands/secrets/list.command.js +3 -2
- package/dist/src/commands/secrets/list.command.js.map +1 -1
- package/dist/src/commands/secrets/set.command.d.ts.map +1 -1
- package/dist/src/commands/secrets/set.command.js +3 -2
- package/dist/src/commands/secrets/set.command.js.map +1 -1
- package/dist/src/commands/update.command.js +3 -0
- package/dist/src/commands/update.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/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/kernel/command-registry.d.ts.map +1 -1
- package/dist/src/kernel/command-registry.js +3 -0
- package/dist/src/kernel/command-registry.js.map +1 -1
- package/dist/src/kernel/command-runner.d.ts +5 -0
- package/dist/src/kernel/command-runner.d.ts.map +1 -1
- package/dist/src/kernel/command-runner.js +13 -1
- package/dist/src/kernel/command-runner.js.map +1 -1
- package/dist/src/kernel/hooks.d.ts.map +1 -1
- package/dist/src/kernel/hooks.js +5 -3
- package/dist/src/kernel/hooks.js.map +1 -1
- package/dist/src/kernel/json-document-output.d.ts +25 -0
- package/dist/src/kernel/json-document-output.d.ts.map +1 -0
- package/dist/src/kernel/json-document-output.js +29 -0
- package/dist/src/kernel/json-document-output.js.map +1 -0
- package/dist/src/kernel/logger.d.ts +16 -1
- package/dist/src/kernel/logger.d.ts.map +1 -1
- package/dist/src/kernel/logger.js +21 -4
- package/dist/src/kernel/logger.js.map +1 -1
- package/dist/src/kernel/types.d.ts +6 -0
- package/dist/src/kernel/types.d.ts.map +1 -1
- package/dist/src/kernel/types.js +6 -0
- package/dist/src/kernel/types.js.map +1 -1
- package/dist/src/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 +6 -1
- package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.js +12 -1
- package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/app-runtime-targets.service.d.ts.map +1 -1
- package/dist/src/services/application/app-runtime-targets.service.js +6 -0
- package/dist/src/services/application/app-runtime-targets.service.js.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.d.ts +6 -0
- package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.js +13 -1
- package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
- package/dist/src/services/application/application-creation-readiness.service.d.ts +10 -2
- package/dist/src/services/application/application-creation-readiness.service.d.ts.map +1 -1
- package/dist/src/services/application/application-creation-readiness.service.js +74 -21
- package/dist/src/services/application/application-creation-readiness.service.js.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.d.ts +52 -4
- package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.js +118 -8
- package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -1
- package/dist/src/services/application/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-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/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/provider-package-links.service.d.ts +7 -6
- package/dist/src/services/application/provider-package-links.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-package-links.service.js +7 -6
- package/dist/src/services/application/provider-package-links.service.js.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.d.ts +68 -9
- package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.js +264 -108
- package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.d.ts +53 -0
- package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.js +45 -13
- package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
- package/dist/src/services/application/systems-of-record-library.service.d.ts.map +1 -1
- package/dist/src/services/application/systems-of-record-library.service.js +4 -3
- package/dist/src/services/application/systems-of-record-library.service.js.map +1 -1
- package/dist/src/services/blueprint/blueprint-apply.service.d.ts +147 -0
- package/dist/src/services/blueprint/blueprint-apply.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-apply.service.js +490 -0
- package/dist/src/services/blueprint/blueprint-apply.service.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-artifact.service.d.ts +33 -0
- package/dist/src/services/blueprint/blueprint-artifact.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-artifact.service.js +88 -0
- package/dist/src/services/blueprint/blueprint-artifact.service.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-definition.reader.d.ts +37 -0
- package/dist/src/services/blueprint/blueprint-definition.reader.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-definition.reader.js +160 -0
- package/dist/src/services/blueprint/blueprint-definition.reader.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-export.service.d.ts +72 -0
- package/dist/src/services/blueprint/blueprint-export.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-export.service.js +899 -0
- package/dist/src/services/blueprint/blueprint-export.service.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-line.service.d.ts +76 -0
- package/dist/src/services/blueprint/blueprint-line.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-line.service.js +200 -0
- package/dist/src/services/blueprint/blueprint-line.service.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-module-references.service.d.ts +81 -0
- package/dist/src/services/blueprint/blueprint-module-references.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-module-references.service.js +185 -0
- package/dist/src/services/blueprint/blueprint-module-references.service.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-registry.service.d.ts +63 -0
- package/dist/src/services/blueprint/blueprint-registry.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-registry.service.js +119 -0
- package/dist/src/services/blueprint/blueprint-registry.service.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-report.d.ts +8 -0
- package/dist/src/services/blueprint/blueprint-report.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-report.js +32 -0
- package/dist/src/services/blueprint/blueprint-report.js.map +1 -0
- package/dist/src/services/blueprint/framework-blueprint-catalog.service.d.ts +31 -0
- package/dist/src/services/blueprint/framework-blueprint-catalog.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/framework-blueprint-catalog.service.js +65 -0
- package/dist/src/services/blueprint/framework-blueprint-catalog.service.js.map +1 -0
- package/dist/src/services/blueprint/framework-blueprints.service.d.ts +68 -0
- package/dist/src/services/blueprint/framework-blueprints.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/framework-blueprints.service.js +239 -0
- package/dist/src/services/blueprint/framework-blueprints.service.js.map +1 -0
- package/dist/src/services/catalog/service-address-resolver.service.d.ts +6 -0
- package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -1
- package/dist/src/services/catalog/service-address-resolver.service.js +4 -0
- package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.d.ts +7 -3
- package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.js +24 -3
- package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -1
- package/dist/src/services/companion/agent-stop-reason-words.d.ts +5 -0
- package/dist/src/services/companion/agent-stop-reason-words.d.ts.map +1 -0
- package/dist/src/services/companion/agent-stop-reason-words.js +25 -0
- package/dist/src/services/companion/agent-stop-reason-words.js.map +1 -0
- package/dist/src/services/companion/agent-work-shortfall-words.d.ts +8 -0
- package/dist/src/services/companion/agent-work-shortfall-words.d.ts.map +1 -0
- package/dist/src/services/companion/agent-work-shortfall-words.js +35 -0
- package/dist/src/services/companion/agent-work-shortfall-words.js.map +1 -0
- package/dist/src/services/companion/build-console.service.d.ts +111 -2
- package/dist/src/services/companion/build-console.service.d.ts.map +1 -1
- package/dist/src/services/companion/build-console.service.js +126 -6
- package/dist/src/services/companion/build-console.service.js.map +1 -1
- package/dist/src/services/companion/console-fast-path.d.ts +21 -3
- package/dist/src/services/companion/console-fast-path.d.ts.map +1 -1
- package/dist/src/services/companion/console-fast-path.js +57 -12
- package/dist/src/services/companion/console-fast-path.js.map +1 -1
- package/dist/src/services/companion/console-verb.utils.d.ts.map +1 -1
- package/dist/src/services/companion/console-verb.utils.js +2 -1
- package/dist/src/services/companion/console-verb.utils.js.map +1 -1
- package/dist/src/services/companion/creation-console.service.d.ts +76 -0
- package/dist/src/services/companion/creation-console.service.d.ts.map +1 -1
- package/dist/src/services/companion/creation-console.service.js +124 -11
- package/dist/src/services/companion/creation-console.service.js.map +1 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts +5 -3
- package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts.map +1 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.js +4 -2
- package/dist/src/services/compliance/generated-compliance-module-wiring.js.map +1 -1
- package/dist/src/services/compliance/legal-notice.generator.d.ts +45 -0
- package/dist/src/services/compliance/legal-notice.generator.d.ts.map +1 -0
- package/dist/src/services/compliance/legal-notice.generator.js +97 -0
- package/dist/src/services/compliance/legal-notice.generator.js.map +1 -0
- 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-secrets.service.d.ts.map +1 -1
- package/dist/src/services/credentials/application-secrets.service.js +5 -7
- package/dist/src/services/credentials/application-secrets.service.js.map +1 -1
- package/dist/src/services/credentials/ci-secrets-adapter.service.js +2 -2
- package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts +5 -12
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.js +12 -0
- package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.d.ts +77 -0
- package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.js +69 -1
- package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.d.ts +77 -5
- package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.js +155 -1
- package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -1
- package/dist/src/services/credentials/local-defaults.service.d.ts.map +1 -1
- package/dist/src/services/credentials/local-defaults.service.js +2 -2
- package/dist/src/services/credentials/local-defaults.service.js.map +1 -1
- package/dist/src/services/credentials/local-secrets-store.service.d.ts +14 -2
- package/dist/src/services/credentials/local-secrets-store.service.d.ts.map +1 -1
- package/dist/src/services/credentials/local-secrets-store.service.js +29 -2
- package/dist/src/services/credentials/local-secrets-store.service.js.map +1 -1
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
- package/dist/src/services/credentials/provider-env-vars.utils.js +4 -0
- package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
- package/dist/src/services/credentials/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.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.js +3 -2
- package/dist/src/services/credentials/secrets-rotation.service.js.map +1 -1
- package/dist/src/services/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.server-config.d.ts +79 -0
- package/dist/src/services/data-services/platform-key-vault.server-config.d.ts.map +1 -0
- package/dist/src/services/data-services/platform-key-vault.server-config.js +157 -0
- package/dist/src/services/data-services/platform-key-vault.server-config.js.map +1 -0
- package/dist/src/services/deployment/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 +9 -16
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js +67 -25
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts +15 -1
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.js +19 -6
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.js.map +1 -1
- package/dist/src/services/deployment/infra-writer.service.d.ts +1 -1
- package/dist/src/services/deployment/infra-writer.service.d.ts.map +1 -1
- package/dist/src/services/deployment/infra-writer.service.js +2 -2
- package/dist/src/services/deployment/infra-writer.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts +38 -0
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js +51 -2
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts +69 -0
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.js +103 -1
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts +1 -2
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +59 -45
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +26 -20
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts +26 -0
- package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-operations.service.js +79 -0
- package/dist/src/services/deployment/k8s/k8s-operations.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +19 -2
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s.schemas.d.ts +5 -2
- package/dist/src/services/deployment/k8s/k8s.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s.schemas.js +5 -2
- package/dist/src/services/deployment/k8s/k8s.schemas.js.map +1 -1
- package/dist/src/services/deployment/k8s/kind.service.d.ts +10 -6
- package/dist/src/services/deployment/k8s/kind.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/kind.service.js +3 -57
- package/dist/src/services/deployment/k8s/kind.service.js.map +1 -1
- package/dist/src/services/deployment/local-dev-log-retention.service.d.ts +45 -0
- package/dist/src/services/deployment/local-dev-log-retention.service.d.ts.map +1 -0
- package/dist/src/services/deployment/local-dev-log-retention.service.js +83 -0
- package/dist/src/services/deployment/local-dev-log-retention.service.js.map +1 -0
- package/dist/src/services/deployment/local-dev-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 +14 -0
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.js +42 -0
- package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
- package/dist/src/services/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 +30 -0
- package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -1
- package/dist/src/services/environment/authored-infra-config.utils.js +47 -1
- package/dist/src/services/environment/authored-infra-config.utils.js.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.d.ts +4 -4
- package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.js +18 -12
- package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
- package/dist/src/services/environment/env-sync.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-sync.service.js +1 -1
- package/dist/src/services/environment/env-sync.service.js.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.js +201 -6
- package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
- package/dist/src/services/environment/environment-hydration.utils.d.ts.map +1 -1
- package/dist/src/services/environment/environment-hydration.utils.js +6 -0
- package/dist/src/services/environment/environment-hydration.utils.js.map +1 -1
- package/dist/src/services/environment/environment-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-setup.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-setup.service.js +15 -19
- package/dist/src/services/environment/environment-setup.service.js.map +1 -1
- package/dist/src/services/environment/environment.schemas.d.ts +21 -3
- package/dist/src/services/environment/environment.schemas.d.ts.map +1 -1
- package/dist/src/services/environment/environment.schemas.js.map +1 -1
- package/dist/src/services/environment/platform-runtime.schemas.d.ts +36 -58
- package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -1
- package/dist/src/services/environment/platform-runtime.schemas.js +37 -58
- package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -1
- package/dist/src/services/environment/runtime-bootstrap.service.d.ts +17 -12
- package/dist/src/services/environment/runtime-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/environment/runtime-bootstrap.service.js +100 -23
- package/dist/src/services/environment/runtime-bootstrap.service.js.map +1 -1
- package/dist/src/services/framework/application-claude-settings.d.ts +39 -5
- package/dist/src/services/framework/application-claude-settings.d.ts.map +1 -1
- package/dist/src/services/framework/application-claude-settings.js +100 -25
- package/dist/src/services/framework/application-claude-settings.js.map +1 -1
- package/dist/src/services/framework/application-provider-skills.service.d.ts +38 -0
- package/dist/src/services/framework/application-provider-skills.service.d.ts.map +1 -0
- package/dist/src/services/framework/application-provider-skills.service.js +189 -0
- package/dist/src/services/framework/application-provider-skills.service.js.map +1 -0
- package/dist/src/services/framework/application-rule-imports.d.ts +2 -1
- package/dist/src/services/framework/application-rule-imports.d.ts.map +1 -1
- package/dist/src/services/framework/application-rule-imports.js +25 -7
- package/dist/src/services/framework/application-rule-imports.js.map +1 -1
- package/dist/src/services/framework/auditable-event-catalog.generator.d.ts +49 -0
- package/dist/src/services/framework/auditable-event-catalog.generator.d.ts.map +1 -0
- package/dist/src/services/framework/auditable-event-catalog.generator.js +84 -0
- package/dist/src/services/framework/auditable-event-catalog.generator.js.map +1 -0
- package/dist/src/services/framework/claude-plugin-compiler.d.ts.map +1 -1
- package/dist/src/services/framework/claude-plugin-compiler.js +3 -2
- 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 +30 -0
- package/dist/src/services/framework/flows-actors-realtime-catalog.generator.d.ts.map +1 -0
- package/dist/src/services/framework/flows-actors-realtime-catalog.generator.js +57 -0
- package/dist/src/services/framework/flows-actors-realtime-catalog.generator.js.map +1 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +6 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-development-skills-sync.service.js +64 -2
- package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
- package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-docker-publish.service.js +3 -2
- package/dist/src/services/framework/framework-docker-publish.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +0 -6
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.js +11 -36
- package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts +7 -3
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.js +79 -69
- package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts +6 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.js +13 -0
- package/dist/src/services/framework/framework-knowledge-scan.constants.js.map +1 -1
- package/dist/src/services/framework/framework-npm-dist-tag.service.d.ts +81 -0
- package/dist/src/services/framework/framework-npm-dist-tag.service.d.ts.map +1 -0
- package/dist/src/services/framework/framework-npm-dist-tag.service.js +149 -0
- package/dist/src/services/framework/framework-npm-dist-tag.service.js.map +1 -0
- package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-npm-publish.service.js +7 -5
- package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts +10 -36
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.js +15 -58
- package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
- package/dist/src/services/framework/framework-release.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-release.service.js +4 -1
- package/dist/src/services/framework/framework-release.service.js.map +1 -1
- package/dist/src/services/framework/framework-update.service.d.ts +6 -0
- package/dist/src/services/framework/framework-update.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-update.service.js +15 -1
- package/dist/src/services/framework/framework-update.service.js.map +1 -1
- package/dist/src/services/framework/framework-version.service.d.ts +2 -4
- package/dist/src/services/framework/framework-version.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-version.service.js +5 -7
- package/dist/src/services/framework/framework-version.service.js.map +1 -1
- package/dist/src/services/framework/frontend-library-root-exports.js +3 -3
- package/dist/src/services/framework/package-install.service.d.ts +9 -0
- package/dist/src/services/framework/package-install.service.d.ts.map +1 -1
- package/dist/src/services/framework/package-install.service.js +14 -0
- package/dist/src/services/framework/package-install.service.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.js +12 -4
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.js.map +1 -1
- package/dist/src/services/framework/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/frontend-look.service.d.ts +264 -0
- package/dist/src/services/frontend/frontend-look.service.d.ts.map +1 -0
- package/dist/src/services/frontend/frontend-look.service.js +640 -0
- package/dist/src/services/frontend/frontend-look.service.js.map +1 -0
- package/dist/src/services/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/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 +79 -0
- package/dist/src/services/registry/module-publish.service.js.map +1 -0
- package/dist/src/services/registry/module-registration.service.d.ts +26 -0
- package/dist/src/services/registry/module-registration.service.d.ts.map +1 -1
- package/dist/src/services/registry/module-registration.service.js +474 -20
- package/dist/src/services/registry/module-registration.service.js.map +1 -1
- package/dist/src/services/registry/module-requirements.service.d.ts +42 -2
- package/dist/src/services/registry/module-requirements.service.d.ts.map +1 -1
- package/dist/src/services/registry/module-requirements.service.js +133 -6
- package/dist/src/services/registry/module-requirements.service.js.map +1 -1
- package/dist/src/services/registry/provider-install-step.d.ts +77 -14
- package/dist/src/services/registry/provider-install-step.d.ts.map +1 -1
- package/dist/src/services/registry/provider-install-step.js +189 -4
- package/dist/src/services/registry/provider-install-step.js.map +1 -1
- package/dist/src/services/registry/provider-module-checks.service.d.ts +27 -4
- package/dist/src/services/registry/provider-module-checks.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-module-checks.service.js +513 -19
- package/dist/src/services/registry/provider-module-checks.service.js.map +1 -1
- package/dist/src/services/registry/provider-module-scaffold.service.d.ts +156 -0
- package/dist/src/services/registry/provider-module-scaffold.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-module-scaffold.service.js +681 -0
- package/dist/src/services/registry/provider-module-scaffold.service.js.map +1 -0
- package/dist/src/services/registry/provider-module-vendor-packages.service.d.ts +84 -0
- package/dist/src/services/registry/provider-module-vendor-packages.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-module-vendor-packages.service.js +361 -0
- package/dist/src/services/registry/provider-module-vendor-packages.service.js.map +1 -0
- package/dist/src/services/registry/provider-openapi-conformance.service.d.ts +107 -0
- package/dist/src/services/registry/provider-openapi-conformance.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-openapi-conformance.service.js +484 -0
- package/dist/src/services/registry/provider-openapi-conformance.service.js.map +1 -0
- package/dist/src/services/registry/provider-probe.service.d.ts +84 -0
- package/dist/src/services/registry/provider-probe.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-probe.service.js +230 -0
- package/dist/src/services/registry/provider-probe.service.js.map +1 -0
- package/dist/src/services/registry/provider-publication.service.d.ts +35 -0
- package/dist/src/services/registry/provider-publication.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-publication.service.js +203 -0
- package/dist/src/services/registry/provider-publication.service.js.map +1 -0
- package/dist/src/services/registry/provider-vendor-registration.service.d.ts +73 -0
- package/dist/src/services/registry/provider-vendor-registration.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-vendor-registration.service.js +88 -0
- package/dist/src/services/registry/provider-vendor-registration.service.js.map +1 -0
- package/dist/src/services/registry/provider-wiring.service.d.ts +21 -2
- package/dist/src/services/registry/provider-wiring.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-wiring.service.js +90 -16
- package/dist/src/services/registry/provider-wiring.service.js.map +1 -1
- package/dist/src/services/registry/registry-command.utils.d.ts +19 -2
- package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -1
- package/dist/src/services/registry/registry-command.utils.js +35 -2
- package/dist/src/services/registry/registry-command.utils.js.map +1 -1
- package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
- package/dist/src/services/security/csp-sync.service.js +11 -30
- package/dist/src/services/security/csp-sync.service.js.map +1 -1
- package/dist/src/services/website/website-look.service.d.ts +167 -0
- package/dist/src/services/website/website-look.service.d.ts.map +1 -0
- package/dist/src/services/website/website-look.service.js +430 -0
- package/dist/src/services/website/website-look.service.js.map +1 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts +5 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts.map +1 -1
- package/dist/src/services/website/website-structured-data-audit.service.js +20 -0
- package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
- package/dist/src/services/website/website-workspace.service.d.ts +16 -0
- package/dist/src/services/website/website-workspace.service.d.ts.map +1 -1
- package/dist/src/services/website/website-workspace.service.js +19 -2
- package/dist/src/services/website/website-workspace.service.js.map +1 -1
- package/framework-root-package.json +9 -2
- package/package.json +26 -19
- package/scripts/app-dependency-alignment/propagated-engine-overrides.json +4 -11
- package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +159 -5
- package/templates/infra/docker-images/platform/Dockerfile.platform-base +23 -5
- package/templates/infra/k8s/internal/minio/deployment.yaml.hbs +6 -1
- package/templates/infra/k8s/internal/openbao/configmap.yaml.hbs +20 -0
- package/templates/infra/k8s/internal/openbao/deployment.yaml.hbs +110 -0
- package/templates/infra/k8s/internal/openbao/service.yaml.hbs +20 -0
- package/templates/infra/k8s/platform/platform-apps-manager/deployment.yaml.hbs +23 -79
- package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +21 -75
- package/templates/infra/k8s/platform/platform-module-registry/deployment.yaml.hbs +22 -75
- package/templates/infra/k8s/storage/local/persistent-volumes.yaml.hbs +27 -0
- package/templates/infra/registry-host/Caddyfile +33 -0
- package/templates/infra/registry-host/backup.sh +73 -0
- package/templates/infra/registry-host/docker-compose.yml +328 -0
- package/templates/infra/registry-host/restore-check.sh +43 -0
- package/templates/infra/registry-host/wildo-registry-backup.service +15 -0
- package/templates/infra/registry-host/wildo-registry-backup.timer +12 -0
- package/templates/saas/blueprints/b2b-saas/blueprint.json +26 -0
- package/templates/saas/blueprints/internal-tool/blueprint.json +47 -0
- package/templates/saas/blueprints/service-firm/blueprint.json +57 -0
- package/templates/saas/i18n/email/components/EmailFooter.tsx +5 -3
- package/templates/saas/i18n/email/components/labels.en.ts +14 -0
- package/templates/saas/i18n/email/components/labels.fr.ts +13 -0
- package/templates/saas/i18n/email/email-template-definitions.ts +13 -1
- package/templates/saas/i18n/email/index.ts +1 -1
- package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationApiKeys/update.application-administrator/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/update.application-administrator/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/update.application-administrator/template.tsx +57 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationOAuthClients/deactivate.application-administrator/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/deactivate.application-administrator/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/deactivate.application-administrator/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/reactivate.application-administrator/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/reactivate.application-administrator/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/reactivate.application-administrator/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationOAuthClients/update.application-administrator/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/update.application-administrator/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/update.application-administrator/template.tsx +62 -0
- package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/create.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/update.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/create.organization-billing_payment-failed/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/create.organization-billing_payment-failed/labels.fr.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/create.organization-billing_payment-failed/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/update.organization-billing_payment-failed/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/update.organization-billing_payment-failed/labels.fr.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/update.organization-billing_payment-failed/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/template.tsx +9 -5
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-administrative_representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-administrative_representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-administrative_representing-organization/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/makeOwner.organization-administrative/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationMembers/makeOwner.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationMembers/makeOwner.organization-administrative/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-administrative_representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-administrative_representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-administrative_representing-organization/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.users-custom/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/stepDownAsOwner.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationMembers/stepDownAsOwner.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationMembers/stepDownAsOwner.organization-administrative/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-administrative_representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-administrative_representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-administrative_representing-organization/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.users-custom/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.admin.organization-administrative/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.admin.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.admin.organization-administrative/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.organization-administrative/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.organization-administrative/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.admin.organization-administrative/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.admin.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.admin.organization-administrative/template.tsx +62 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.organization-administrative/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.organization-administrative/template.tsx +62 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/setAutonomousAgents.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/setAutonomousAgents.organization-administrative/labels.fr.ts +25 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/setAutonomousAgents.organization-administrative/template.tsx +72 -0
- package/templates/saas/i18n/email/resources/organizationProviderCredentials/releaseRouting.organization-users/labels.en.ts +25 -0
- package/templates/saas/i18n/email/resources/organizationProviderCredentials/releaseRouting.organization-users/labels.fr.ts +25 -0
- package/templates/saas/i18n/email/resources/organizationProviderCredentials/releaseRouting.organization-users/template.tsx +68 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/accept.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/accept.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/accept.organization-administrative/template.tsx +66 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/amendScope.organization-administrative/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/amendScope.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/amendScope.organization-administrative/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/decline.organization-administrative/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/decline.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/decline.organization-administrative/template.tsx +62 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_granting-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_granting-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_granting-organization/template.tsx +55 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_representing-organization/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_representing-organization/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_representing-organization/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-granting-organization/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-granting-organization/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-granting-organization/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-representing-organization/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-representing-organization/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-representing-organization/template.tsx +65 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_granting-organization/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_granting-organization/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_granting-organization/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_representing-organization/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_representing-organization/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_representing-organization/template.tsx +66 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_granting-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_granting-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_granting-organization/template.tsx +56 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_representing-organization/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/propose.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/propose.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/propose.organization-administrative/template.tsx +66 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/propose.withOperator.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/propose.withOperator.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/propose.withOperator.organization-administrative/template.tsx +66 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-granting-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-granting-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-granting-organization/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-representing-organization/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-granting-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-granting-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-granting-organization/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-representing-organization/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-granting-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-granting-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-granting-organization/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-representing-organization/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-granting-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-granting-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-granting-organization/template.tsx +56 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-representing-organization/template.tsx +59 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-granting-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-granting-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-granting-organization/template.tsx +57 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-representing-organization/template.tsx +59 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/resume.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/resume.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/resume.organization-administrative/template.tsx +66 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/suspend.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/suspend.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/suspend.organization-administrative/template.tsx +66 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/terminate.organization-administrative/labels.en.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/terminate.organization-administrative/labels.fr.ts +25 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/terminate.organization-administrative/template.tsx +73 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/accept.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/accept.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/accept.organization-administrative/template.tsx +64 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/propose.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/propose.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/propose.organization-administrative/template.tsx +64 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdraw.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdraw.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdraw.organization-administrative/template.tsx +64 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_granting-organization/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_granting-organization/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_granting-organization/template.tsx +65 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_representing-organization/template.tsx +56 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/cancel.organization-billing_subscription-ending/labels.en.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/cancel.organization-billing_subscription-ending/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/cancel.organization-billing_subscription-ending/template.tsx +56 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/create.organization-billing_subscription-started/labels.en.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/create.organization-billing_subscription-started/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/create.organization-billing_subscription-started/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-ending/labels.en.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-ending/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-ending/template.tsx +56 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-started/labels.en.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-started/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-started/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/changeType.organization-administrative/labels.en.ts +26 -0
- package/templates/saas/i18n/email/resources/organizations/changeType.organization-administrative/labels.fr.ts +29 -0
- package/templates/saas/i18n/email/resources/organizations/changeType.organization-administrative/template.tsx +79 -0
- package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/create.user-self/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/restore.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/platformAccessGrants/approve.users-custom_operator/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/approve.users-custom_operator/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/approve.users-custom_operator/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/deny.users-custom_operator/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/deny.users-custom_operator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/deny.users-custom_operator/template.tsx +55 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/platformAccessGrants/revoke.users-custom_operator/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/revoke.users-custom_operator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/revoke.users-custom_operator/template.tsx +55 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/expire.organization-administrative_expired/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/expire.organization-administrative_expired/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/expire.organization-administrative_expired/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/expire.users-custom_holder/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/expire.users-custom_holder/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/expire.users-custom_holder/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/revoke.users-custom_holder/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/revoke.users-custom_holder/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/revoke.users-custom_holder/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/verify.users-custom_holder/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/verify.users-custom_holder/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/verify.users-custom_holder/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.organization-administrative_expiring/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.organization-administrative_expiring/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.organization-administrative_expiring/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.users-custom_holder/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.users-custom_holder/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.users-custom_holder/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/expire.organization-administrative/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/expire.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/expire.organization-administrative/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grant.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grant.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grant.organization-administrative/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grantSecurityCritical.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grantSecurityCritical.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grantSecurityCritical.organization-administrative/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/revoke.organization-administrative/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/revoke.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/revoke.organization-administrative/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/assign.organization-administrative/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/assign.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/assign.organization-administrative/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/settleGrantorApproval.organization-administrative/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/settleGrantorApproval.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/settleGrantorApproval.organization-administrative/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/unassign.organization-administrative/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/unassign.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/unassign.organization-administrative/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/userInvoiceRefs/create.users-custom_payment-failed/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/userInvoiceRefs/create.users-custom_payment-failed/labels.fr.ts +18 -0
- package/templates/saas/i18n/email/resources/userInvoiceRefs/create.users-custom_payment-failed/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/userInvoiceRefs/update.users-custom_payment-failed/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/userInvoiceRefs/update.users-custom_payment-failed/labels.fr.ts +18 -0
- package/templates/saas/i18n/email/resources/userInvoiceRefs/update.users-custom_payment-failed/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/cancel.users-custom_subscription-ending/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/cancel.users-custom_subscription-ending/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/cancel.users-custom_subscription-ending/template.tsx +54 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/create.users-custom_subscription-started/labels.en.ts +22 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/create.users-custom_subscription-started/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/create.users-custom_subscription-started/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-ending/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-ending/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-ending/template.tsx +54 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-started/labels.en.ts +22 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-started/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-started/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/create.application-administrator/template.tsx +7 -7
- package/templates/saas/i18n/email/resources/users/delete.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/update.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/system/new-device-login/labels.en.ts +6 -8
- package/templates/saas/i18n/email/system/new-device-login/labels.fr.ts +6 -8
- package/templates/saas/i18n/email/system/new-device-login/template.tsx +25 -26
- package/templates/saas/i18n/email/system/operation-approval-ended/labels.en.ts +40 -0
- package/templates/saas/i18n/email/system/operation-approval-ended/labels.fr.ts +43 -0
- package/templates/saas/i18n/email/system/operation-approval-ended/template.tsx +72 -0
- package/templates/saas/i18n/email/system/relationship-invitation/labels.en.ts +18 -0
- package/templates/saas/i18n/email/system/relationship-invitation/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/system/relationship-invitation/template.tsx +66 -0
- package/templates/saas/i18n/email/system/security-alert/labels.en.ts +5 -0
- package/templates/saas/i18n/email/system/security-alert/labels.fr.ts +13 -8
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_COMMAND_MENU.en.ts +2 -2
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_COMMAND_MENU.fr.ts +2 -2
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.ts +5 -5
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.fr.ts +5 -5
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_SIDEBAR.en.ts +3 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_SIDEBAR.fr.ts +3 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_STATUS_BAR.en.ts +1 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_STATUS_BAR.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.en.ts +6 -2
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.ts +6 -2
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_UTILITY_PANEL.en.ts +0 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_UTILITY_PANEL.fr.ts +0 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS.en.ts +28 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS.fr.ts +28 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.en.ts +55 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.fr.ts +55 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.ts +47 -10
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.ts +47 -10
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.ts +12 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.fr.ts +12 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.en.ts +38 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.fr.ts +38 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.en.ts +11 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.ts +11 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SETTINGS_HUB.en.ts +2 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SETTINGS_HUB.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.ts +1 -9
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.fr.ts +1 -9
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ACTOR.en.ts +5 -10
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ACTOR.fr.ts +5 -10
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.en.ts +28 -9
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.fr.ts +28 -9
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.ts +92 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.ts +92 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DECISION.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DECISION.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DIFF_BLOCK.en.ts +5 -5
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DIFF_BLOCK.fr.ts +5 -5
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.ts +4 -7
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_PLAN.fr.ts +4 -7
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_USAGE.en.ts +21 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_USAGE.fr.ts +21 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.ts +2 -9
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_EXECUTION.fr.ts +2 -9
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_NODE.en.ts +1 -9
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_NODE.fr.ts +1 -9
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_GRAPH_VIEWER.en.ts +29 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_GRAPH_VIEWER.fr.ts +29 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.ts +3 -2
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.fr.ts +3 -2
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.ts +5 -4
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.fr.ts +5 -4
- package/templates/saas/i18n/engine/components/LOW_LEVEL_CHIPS_INPUT.en.ts +14 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_CHIPS_INPUT.fr.ts +14 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.ts +2 -3
- package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.ts +2 -3
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATEPICKER.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATEPICKER.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_PICKER.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_PICKER.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_RANGE_PICKER.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATE_RANGE_PICKER.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATE_RANGE_PICKER.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_LIMIT_INDICATOR.en.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_LIMIT_INDICATOR.fr.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.ts +2 -2
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.fr.ts +2 -2
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FILE_UPLOAD.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FILE_UPLOAD.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.en.ts +14 -4
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.fr.ts +14 -4
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_CODE.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_CODE.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_DURATION.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_DURATION.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.en.ts +5 -5
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.fr.ts +5 -5
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_MONEY.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_MONEY.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_RANGE_MONEY.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_RANGE_MONEY.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_MESSAGE.en.ts +6 -6
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_MESSAGE.fr.ts +6 -6
- package/templates/saas/i18n/engine/components/LOW_LEVEL_SELECT_MULTIPLE.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_SELECT_MULTIPLE.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_STEPPER.en.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_STEPPER.fr.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_TIME_RANGE_PICKER.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_TIME_RANGE_PICKER.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.en.ts +31 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.fr.ts +31 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_LEGAL_NOTICE.en.ts +29 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_LEGAL_NOTICE.fr.ts +29 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.en.ts +5 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.fr.ts +5 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_INVITATION.en.ts +2 -2
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_INVITATION.fr.ts +2 -2
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.ts +2 -2
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.fr.ts +2 -2
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_REGISTER.en.ts +2 -2
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_REGISTER.fr.ts +2 -2
- package/templates/saas/i18n/engine/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.ts +5 -2
- package/templates/saas/i18n/engine/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.fr.ts +5 -2
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_ACTION.en.ts +2 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_ACTION.fr.ts +3 -2
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_CREATE.en.ts +3 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_CREATE.fr.ts +3 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.en.ts +4 -5
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.fr.ts +4 -5
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.ts +5 -5
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.fr.ts +6 -6
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.ts +6 -5
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.fr.ts +6 -5
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_RECORD_SHARING.en.ts +29 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_RECORD_SHARING.fr.ts +29 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_SEARCH.en.ts +0 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_SEARCH.fr.ts +0 -1
- package/templates/saas/i18n/engine/components/guidance_checklist.en.ts +1 -1
- package/templates/saas/i18n/engine/components/guidance_checklist.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/progression_milestone_tracker.en.ts +1 -1
- package/templates/saas/i18n/engine/components/progression_milestone_tracker.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/actorSystemExecutions.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/actorSystemExecutions.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/actorTasks.en.ts +397 -0
- package/templates/saas/i18n/engine/resources/actorTasks.fr.ts +397 -0
- package/templates/saas/i18n/engine/resources/anonymous_users.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/anonymous_users.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.en.ts +55 -0
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.fr.ts +55 -0
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/applicationApiKeys.en.ts +5 -2
- package/templates/saas/i18n/engine/resources/applicationApiKeys.fr.ts +35 -32
- package/templates/saas/i18n/engine/resources/applicationAuditLogs.en.ts +20 -4
- package/templates/saas/i18n/engine/resources/applicationAuditLogs.fr.ts +20 -4
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.en.ts +405 -21
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.fr.ts +405 -21
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.en.ts +104 -0
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.fr.ts +104 -0
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.en.ts +5 -2
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.fr.ts +23 -20
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.en.ts +14 -0
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.fr.ts +14 -0
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.en.ts +43 -24
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.fr.ts +43 -24
- package/templates/saas/i18n/engine/resources/applicationWebhookConfig.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/applicationWebhookConfig.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/applications.en.ts +336 -0
- package/templates/saas/i18n/engine/resources/applications.fr.ts +336 -0
- package/templates/saas/i18n/engine/resources/auditLogs.en.ts +39 -7
- package/templates/saas/i18n/engine/resources/auditLogs.fr.ts +39 -7
- package/templates/saas/i18n/engine/resources/chatConversations.en.ts +486 -0
- package/templates/saas/i18n/engine/resources/chatConversations.fr.ts +486 -0
- package/templates/saas/i18n/engine/resources/chatIdentityLinks.en.ts +271 -0
- package/templates/saas/i18n/engine/resources/chatIdentityLinks.fr.ts +271 -0
- package/templates/saas/i18n/engine/resources/consumableTokens.en.ts +10 -2
- package/templates/saas/i18n/engine/resources/consumableTokens.fr.ts +10 -2
- package/templates/saas/i18n/engine/resources/dataSeedRuns.en.ts +140 -11
- package/templates/saas/i18n/engine/resources/dataSeedRuns.fr.ts +140 -11
- package/templates/saas/i18n/engine/resources/documentSequenceCounters.en.ts +69 -0
- package/templates/saas/i18n/engine/resources/documentSequenceCounters.fr.ts +69 -0
- package/templates/saas/i18n/engine/resources/etlPipelineStates.en.ts +46 -1
- package/templates/saas/i18n/engine/resources/etlPipelineStates.fr.ts +46 -1
- package/templates/saas/i18n/engine/resources/evaluationDatasetExports.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/evaluationDatasetExports.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.en.ts +72 -48
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.fr.ts +72 -48
- package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.en.ts +2 -1
- package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.fr.ts +2 -1
- package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.en.ts +26 -3
- package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.fr.ts +26 -3
- package/templates/saas/i18n/engine/resources/externalDataPipelineRequestedKeys.en.ts +160 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineRequestedKeys.fr.ts +160 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.en.ts +180 -2
- package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.fr.ts +180 -2
- package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.en.ts +24 -0
- package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.fr.ts +24 -0
- package/templates/saas/i18n/engine/resources/humanDecisionNoticeStays.en.ts +422 -0
- package/templates/saas/i18n/engine/resources/humanDecisionNoticeStays.fr.ts +422 -0
- package/templates/saas/i18n/engine/resources/jobExecutions.en.ts +153 -7
- package/templates/saas/i18n/engine/resources/jobExecutions.fr.ts +153 -7
- package/templates/saas/i18n/engine/resources/jobPayloadStorage.en.ts +2 -1
- package/templates/saas/i18n/engine/resources/jobPayloadStorage.fr.ts +2 -1
- package/templates/saas/i18n/engine/resources/legalHolds.en.ts +23 -0
- package/templates/saas/i18n/engine/resources/legalHolds.fr.ts +23 -0
- package/templates/saas/i18n/engine/resources/modelCallAttributions.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/modelCallAttributions.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/oauthConsentGrants.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/oauthConsentGrants.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/operationApprovalRequests.en.ts +478 -0
- package/templates/saas/i18n/engine/resources/operationApprovalRequests.fr.ts +478 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/organizationApiKeys.en.ts +5 -2
- package/templates/saas/i18n/engine/resources/organizationApiKeys.fr.ts +36 -33
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/organizationChatSettings.en.ts +153 -0
- package/templates/saas/i18n/engine/resources/organizationChatSettings.fr.ts +153 -0
- package/templates/saas/i18n/engine/resources/organizationEmailDomains.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationFeatures.en.ts +0 -9
- package/templates/saas/i18n/engine/resources/organizationFeatures.fr.ts +0 -9
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.en.ts +405 -21
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.fr.ts +405 -21
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.en.ts +104 -0
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.fr.ts +104 -0
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/organizationMembers.en.ts +13 -5
- package/templates/saas/i18n/engine/resources/organizationMembers.fr.ts +31 -23
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.en.ts +5 -2
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.fr.ts +18 -15
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.en.ts +19 -0
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.fr.ts +19 -0
- package/templates/saas/i18n/engine/resources/{serviceProviderRelationships.en.ts → organizationRelationships.en.ts} +220 -37
- package/templates/saas/i18n/engine/resources/{serviceProviderRelationships.fr.ts → organizationRelationships.fr.ts} +204 -21
- package/templates/saas/i18n/engine/resources/{serviceEngagements.en.ts → organizationRepresentations.en.ts} +97 -84
- package/templates/saas/i18n/engine/resources/{serviceEngagements.fr.ts → organizationRepresentations.fr.ts} +75 -62
- package/templates/saas/i18n/engine/resources/organizationScimTokens.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/organizationScimTokens.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.en.ts +14 -0
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.fr.ts +14 -0
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.en.ts +68 -49
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.fr.ts +68 -49
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.en.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.fr.ts +9 -9
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/organizations.en.ts +71 -11
- package/templates/saas/i18n/engine/resources/organizations.fr.ts +71 -11
- package/templates/saas/i18n/engine/resources/platformAccessGrants.en.ts +42 -0
- package/templates/saas/i18n/engine/resources/platformAccessGrants.fr.ts +42 -0
- package/templates/saas/i18n/engine/resources/promotions.en.ts +28 -0
- package/templates/saas/i18n/engine/resources/promotions.fr.ts +28 -0
- package/templates/saas/i18n/engine/resources/providerCallRecords.en.ts +50 -0
- package/templates/saas/i18n/engine/resources/providerCallRecords.fr.ts +50 -0
- package/templates/saas/i18n/engine/resources/{serviceProviderCapabilityGrants.en.ts → relationshipCapabilityGrants.en.ts} +19 -3
- package/templates/saas/i18n/engine/resources/{serviceProviderCapabilityGrants.fr.ts → relationshipCapabilityGrants.fr.ts} +40 -24
- package/templates/saas/i18n/engine/resources/{serviceProviderActivityFeed.en.ts → relationshipInvitations.en.ts} +137 -55
- package/templates/saas/i18n/engine/resources/{serviceProviderActivityFeed.fr.ts → relationshipInvitations.fr.ts} +137 -55
- package/templates/saas/i18n/engine/resources/{clientMailboxes.en.ts → relationshipMailboxes.en.ts} +35 -35
- package/templates/saas/i18n/engine/resources/{clientMailboxes.fr.ts → relationshipMailboxes.fr.ts} +39 -39
- package/templates/saas/i18n/engine/resources/{serviceEngagementAssignments.en.ts → representativeAssignments.en.ts} +43 -6
- package/templates/saas/i18n/engine/resources/{serviceEngagementAssignments.fr.ts → representativeAssignments.fr.ts} +43 -6
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/userBillingAccounts.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/userBillingAccounts.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.en.ts +405 -21
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.fr.ts +405 -21
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/userIdentityLinks.en.ts +19 -0
- package/templates/saas/i18n/engine/resources/userIdentityLinks.fr.ts +19 -0
- package/templates/saas/i18n/engine/resources/userPreferences.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/userPreferences.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/userSelfPreferences.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/userSelfPreferences.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/user_self.en.ts +112 -38
- package/templates/saas/i18n/engine/resources/user_self.fr.ts +125 -51
- package/templates/saas/i18n/engine/resources/users.en.ts +15 -15
- package/templates/saas/i18n/engine/resources/users.fr.ts +11 -11
- package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.en.ts +27 -11
- package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.fr.ts +27 -3
- package/templates/saas/i18n/engine/resources/workbenchBrandNameCandidates.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandNameCandidates.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandNameJurisdictions.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandNameJurisdictions.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandNameNiceClasses.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandNameNiceClasses.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandNames.en.ts +27 -11
- package/templates/saas/i18n/engine/resources/workbenchBrandNames.fr.ts +27 -3
- package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.en.ts +27 -11
- package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.fr.ts +27 -3
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.en.ts +24 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.fr.ts +24 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.en.ts +209 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.fr.ts +209 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildTaskRecords.en.ts +702 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildTaskRecords.fr.ts +702 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.en.ts +120 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.fr.ts +120 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanLifecycles.en.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanLifecycles.fr.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.en.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.fr.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.en.ts +64 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.fr.ts +64 -0
- package/templates/saas/i18n/engine/resources/workbenchDossierEntries.en.ts +183 -0
- package/templates/saas/i18n/engine/resources/workbenchDossierEntries.fr.ts +183 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceHomes.en.ts +254 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceHomes.fr.ts +254 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceViews.en.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceViews.fr.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.en.ts +40 -0
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.fr.ts +40 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketPains.en.ts +58 -34
- package/templates/saas/i18n/engine/resources/workbenchMarketPains.fr.ts +58 -26
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.en.ts +40 -0
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.fr.ts +40 -0
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.en.ts +96 -0
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.fr.ts +96 -0
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.en.ts +736 -0
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.fr.ts +736 -0
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.en.ts +40 -0
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.fr.ts +40 -0
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.en.ts +232 -0
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.fr.ts +232 -0
- package/templates/saas/scenarios/add-3d-layout/scenario.json +2 -2
- package/templates/saas/scenarios/add-custom-operation/files/backend-api/src/modules/__moduleDir__/resources/__resourceDir__/__resourceDir__.__operationIdentifier__.default.operation.ts.hbs +1 -1
- package/templates/saas/scenarios/add-custom-operation/scenario.json +1 -0
- package/templates/saas/scenarios/add-environment/files/infrastructure/__envName__/wildo.infra.remote.config.ts.hbs +4 -4
- package/templates/saas/scenarios/add-file-picker-provider/files/frontend/src/engine/providers/__providerRef__.frontend-app.module.ts.hbs +1 -1
- package/templates/saas/scenarios/add-file-picker-provider/scenario.json +2 -0
- package/templates/saas/scenarios/add-locale/files/website/src/i18n/__localePath__.json.hbs +37 -10
- package/templates/saas/scenarios/add-locale/files/website/src/pages/__localePath__/index.astro +6 -2
- package/templates/saas/scenarios/add-locale/scenario.json +5 -3
- package/templates/saas/scenarios/add-marketing-page/files/website/src/pages/__pageRef__.astro.hbs +6 -2
- package/templates/saas/scenarios/add-marketing-page/files/website/src/pages-impl/__pageRef__.bridge.tsx.hbs +2 -0
- package/templates/saas/scenarios/add-marketing-page/files/website/src/sections/__pageRef__.sections.tsx.hbs +16 -44
- package/templates/saas/scenarios/add-marketing-page/scenario.json +72 -18
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/package.json.hbs +4 -4
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/src/application-initialization.ts.hbs +6 -1
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/wildo.minion.config.ts.hbs +4 -4
- package/templates/saas/scenarios/add-minion/scenario.json +3 -3
- package/templates/saas/scenarios/add-module/files/frontend/src/modules/__moduleId__/app-shell.module.frontend.ts.hbs +2 -0
- package/templates/saas/scenarios/add-module/files/specifications/src/modules/__moduleId__/index.ts.hbs +2 -2
- package/templates/saas/scenarios/add-module/scenario.json +7 -0
- package/templates/saas/scenarios/add-resource/files/shared-lib/src/modules/__moduleId__/resources/__resourceDir__/__resourceDir__.schemas.ts.hbs +1 -1
- package/templates/saas/scenarios/add-resource/files/specifications/src/modules/__moduleId__/resources/__resourceDir__.resource.specification.ts.hbs +7 -7
- package/templates/saas/scenarios/add-resource/scenario.json +2 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +10 -4
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/package.json.hbs +4 -3
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/scripts/substitute-api-origin.mjs +64 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/plugins/api-reference-pages.ts +11 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/wildo.tech-doc.config.ts.hbs +2 -2
- package/templates/saas/scenarios/add-technical-doc/scenario.json +2 -2
- package/templates/saas/scenarios/add-website/files/website/astro.config.ts.hbs +49 -6
- package/templates/saas/scenarios/add-website/files/website/package.json.hbs +1 -1
- package/templates/saas/scenarios/add-website/files/website/src/app-origin.ts.hbs +8 -6
- package/templates/saas/scenarios/add-website/files/website/src/brand-theme.ts +66 -0
- package/templates/saas/scenarios/add-website/files/website/src/components/FooterComponent.tsx.hbs +27 -14
- 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/content/llms.txt.hbs +3 -3
- package/templates/saas/scenarios/add-website/files/website/src/i18n/en.json.hbs +19 -9
- package/templates/saas/scenarios/add-website/files/website/src/pages/index.astro +6 -2
- package/templates/saas/scenarios/add-website/files/website/src/pages/llms.txt.ts +3 -1
- 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 +53 -404
- package/templates/saas/scenarios/add-website/files/website/src/website-root.config.ts.hbs +34 -45
- package/templates/saas/scenarios/add-website/files/website/wildo.website.config.ts.hbs +5 -4
- package/templates/saas/scenarios/add-website/scenario.json +1 -1
- package/templates/saas/scenarios/add-website-section/scenario.json +17 -7
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/package.json.hbs +2 -2
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/wildo.worker.config.ts.hbs +3 -3
- package/templates/saas/scenarios/add-worker-node/scenario.json +1 -1
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Cargo.toml.hbs +1 -1
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/main.rs.hbs +9 -2
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/wildo.worker.config.ts.hbs +3 -3
- package/templates/saas/skeleton/CLAUDE.md.hbs +8 -0
- package/templates/saas/skeleton/backend-api/Dockerfile +2 -1
- package/templates/saas/skeleton/backend-api/src/bootstrap-config.ts +13 -4
- package/templates/saas/skeleton/backend-api/src/engine/email/email-template-definitions.ts +13 -1
- package/templates/saas/skeleton/backend-api/src/engine/email/index.ts +1 -1
- package/templates/saas/skeleton/backend-api/src/engine/index.ts +2 -1
- package/templates/saas/skeleton/backend-api/src/modules-registry.backend.ts.hbs +5 -0
- package/templates/saas/skeleton/frontend/src/config/app-shell.config.ts +2 -13
- package/templates/saas/skeleton/frontend/src/config/design-system.config.ts +35 -125
- package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +14 -12
- package/templates/saas/skeleton/frontend/src/index.css.hbs +145 -130
- package/templates/saas/skeleton/frontend/src/modules-registry.frontend.ts.hbs +2 -0
- package/templates/saas/skeleton/frontend/vite.config.ts.hbs +35 -0
- package/templates/saas/skeleton/gitignore +1 -0
- package/templates/saas/skeleton/shared-lib/src/engine/roles.ts +10 -2
- package/templates/saas/skeleton/specifications/src/companion-exports.ts +28 -3
- package/templates/saas/skeleton/wildo.saas.config.ts.init.hbs +53 -20
- package/wildo-framework.info.json +1 -1
- package/dist/src/services/registry/registry-config-resolver.service.d.ts +0 -62
- package/dist/src/services/registry/registry-config-resolver.service.d.ts.map +0 -1
- package/dist/src/services/registry/registry-config-resolver.service.js +0 -148
- package/dist/src/services/registry/registry-config-resolver.service.js.map +0 -1
- package/templates/saas/i18n/email/system/organization-invitation/labels.en.ts +0 -15
- package/templates/saas/i18n/email/system/organization-invitation/labels.fr.ts +0 -21
- package/templates/saas/i18n/email/system/organization-invitation/template.tsx +0 -66
- package/templates/saas/i18n/email/system/payment-failed/labels.en.ts +0 -16
- package/templates/saas/i18n/email/system/payment-failed/labels.fr.ts +0 -21
- package/templates/saas/i18n/email/system/payment-failed/template.tsx +0 -59
- package/templates/saas/i18n/email/system/subscription-cancelled/labels.en.ts +0 -15
- package/templates/saas/i18n/email/system/subscription-cancelled/labels.fr.ts +0 -20
- package/templates/saas/i18n/email/system/subscription-cancelled/template.tsx +0 -56
- package/templates/saas/i18n/email/system/subscription-confirmation/labels.en.ts +0 -14
- package/templates/saas/i18n/email/system/subscription-confirmation/labels.fr.ts +0 -21
- package/templates/saas/i18n/email/system/subscription-confirmation/template.tsx +0 -60
- package/templates/saas/i18n/engine/resources/applicationScimTokens.en.ts +0 -240
- package/templates/saas/i18n/engine/resources/applicationScimTokens.fr.ts +0 -345
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.en.ts +0 -209
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.fr.ts +0 -209
- package/templates/saas/i18n/engine/resources/wildoApplication.en.ts +0 -590
- package/templates/saas/i18n/engine/resources/wildoApplication.fr.ts +0 -574
- package/templates/saas/i18n/engine/resources/wildoApplicationVersions.en.ts +0 -293
- package/templates/saas/i18n/engine/resources/wildoApplicationVersions.fr.ts +0 -293
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dev.command.js","sourceRoot":"","sources":["../../../../../../src/commands/local/dev.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4FG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,KAAK,EAAqB,MAAM,eAAe,CAAC;AACjF,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,IAAI,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAW,MAAM,MAAM,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAE1E,OAAO,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC1G,OAAO,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAsC,MAAM,6DAA6D,CAAC;AACrI,OAAO,EAAE,WAAW,EAAE,MAAM,sDAAsD,CAAC;AACnF,OAAO,EAAE,6BAA6B,EAAE,MAAM,wEAAwE,CAAC;AAEvH,OAAO,EAAE,+BAA+B,EAAE,MAAM,oEAAoE,CAAC;AACrH,OAAO,EAAE,gBAAgB,EAAE,MAAM,2DAA2D,CAAC;AAC7F,OAAO,KAAK,iBAAiB,MAAM,2DAA2D,CAAC;AAC/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,kCAAk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BACxB,IAAI,OAAO;oBAAE,OAAO;gBACpB,OAAO,GAAG,IAAI,CAAC;gBACf,QAAQ,CAAC,cAAc,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;gBACzC,QAAQ,CAAC,cAAc,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;gBACzC,QAAQ,CAAC,cAAc,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;gBACzC,YAAY,EAAE,CAAC;YACjB,CAAC,CAAC;YACF,QAAQ,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;YAC/B,QAAQ,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;YAC/B,QAAQ,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;YAC/B,cAAc,CAAC,GAAG,EAAE;gBAClB,IAAI,QAAQ,CAAC,iBAAiB,KAAK,KAAK;oBAAE,MAAM,EAAE,CAAC;YACrD,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["/**\n * `wildo local dev` — start everything needed for local development.\n *\n * This is the canonical \"one command, please\" entry point for daily dev work.\n * It owns the full local-dev orchestration so the operator does not have to\n * juggle \"did I start the platform?\", \"is the infra container stack up?\",\n * \"are there orphan tsc-watch processes from last night's session?\" — those\n * questions are answered (and acted on) automatically.\n *\n * # What it does, in order\n *\n * 1. **Exclusive ownership + stale-process cleanup.** Atomically claims the\n * app generation (and, when applicable, the shared framework generation)\n * before it can stop or replace anything. It then reaps only prior local\n * dev process trees whose argv contains an exact selected root path.\n *\n * 2. **Preflight diagnostic.** Runs the Docker-daemon probe plus the shared\n * `wildo local doctor` PRECONDITIONS — Compose plugin version, generated\n * provider-runtime modules, orphaned dev watchers\n * (`services/deployment/local-precondition-checks.service.ts`, which\n * documents the fresh-install failure each one closes). A blocking\n * failure aborts BEFORE any process spawn so the operator sees one\n * precise fix line instead of a cryptic crash minutes later, deep inside\n * the app process. `--skip-doctor` bypasses the step.\n *\n * Doctor's RUNTIME probes (container health, loopback binding,\n * Mongo/Valkey auth, stale credentials) deliberately stay out: they\n * describe a stack this command has not started yet, and step 3 below\n * gates on Compose readiness anyway. Run `wildo local doctor` for those.\n *\n * 3. **Local infrastructure ready.** Self-heal the local runtime artifacts\n * (config.json + the docker-compose manifest + `.env.wildo-platform`)\n * from the authored `wildo.infra.<env>.config.ts` via the same\n * `RuntimeBootstrap.ensureLocalRuntimeArtifacts` preflight `wildo local\n * up` runs — only-if-missing, so a warm tree is untouched — then, if\n * `docker compose ps` shows none of our containers running, bring them\n * up, then block on Compose readiness. Without the preflight a fresh clone (the generated tree is\n * gitignored) hard-fails with \"Docker Compose file not found\".\n * `.env.wildo-platform` still requires `secrets.json`, which only\n * `wildo setup` (or `wildo setup --non-interactive`) mints.\n *\n * 4. **Platform initialization + readiness** (framework-dev mode only).\n * Run the registered, idempotent apps-manager INIT lifecycle against the\n * mounted database, then spawn root `pnpm dev` and wait for apps-manager,\n * crontabs-batches-manager, and module-registry `/health/ready`.\n *\n * 5. **Application registration + materialization.** Reconcile the authored\n * app by stable slug through apps-manager, fetch its current credentials,\n * persist the database-minted application id, and emit every backend,\n * companion, frontend, worker, and minion env target.\n *\n * 6. **App dev stack.** Only after steps 1–5 succeed, spawn `pnpm dev`\n * from the SaaS app root —\n * backend-api + companion + main-app + website + technical-doc + the\n * marketing-scrapper minion + the my-node-worker worker.\n *\n * The worker was added on 2026-09-08 (#426). Until then no local stack\n * started one, so the backend-to-worker chain — the advertised way to move\n * work off the request path — had never run anywhere, and its failure modes\n * would have been discovered by an application author rather than by us.\n *\n * # Output\n *\n * All combined stdout/stderr is tee'd to\n * `<saasRoot>/.wildo-saas/logs/dev-<YYYYMMDD-HHMMSS>.log`. The directory\n * is app-owned (gitignored by the app's `.wildo-saas/`) so logs survive\n * Ctrl-C and can be inspected after a crash. The console still shows\n * the live stream — the tee is an additive capture, not a redirect.\n *\n * # Signals\n *\n * Ctrl-C in this terminal terminates each owned process tree, waits for every\n * child `close` event (the stdout/stderr drain barrier), and only then closes\n * the combined log. The stale-cleanup step at the start of the next invocation\n * remains the recovery path for an unclean parent-process death.\n *\n * # Why \"local dev\" and not \"dev start\"\n *\n * `wildo dev start` exists today but deliberately does NOT start the\n * platform side (`platform-runtime-policy.service.ts::shouldCliStartPlatformServicesNatively`\n * returns false). We don't break that contract — `dev start` remains the\n * app-only orchestrator; `local dev` is the everything orchestrator that\n * additionally owns the platform stack in framework-dev mode.\n *\n * `local dev` lives in `CommandCategory.Local` next to `local up` /\n * `local down` / `local doctor` / `local reset` so the \"everything\n * happening on this machine for this app\" surface is one coherent group,\n * keyed off the SaaS app workspace (NOT the framework checkout). This is\n * the right shape: every SaaS app needs a \"start everything\" verb, not\n * just the dogfood example app. The retired `wildo fwk wt-dev` command\n * (and `scripts/wt/dev.sh`, and the `/wt-dev` slash command) hard-coded\n * Wonder Todos as the target — wrong shape, replaced by this command.\n */\n\nimport chalk from 'chalk';\nimport { execFileSync, execSync, spawn, type ChildProcess } from 'child_process';\nimport { existsSync, mkdirSync, createWriteStream } from 'fs';\nimport { join, resolve } from 'path';\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport type { CommandMeta, CommandContext, CommandResult } from '~wildo-cli/kernel/types';\nimport { WildoDeploymentRuntime, WildoLocationType, WorkspaceScope } from '@wildo-ai/platform-config-lib';\nimport { ContextManager } from '~wildo-cli/services/context/context-manager.service';\nimport { InfrastructureHost, type EnvironmentInfrastructureHost } from '~wildo-cli/services/environment/infrastructure-host.service';\nimport { DockerUtils } from '~wildo-cli/services/deployment/docker/docker.service';\nimport { DockerComposeReadinessService } from '~wildo-cli/services/deployment/docker/docker-compose-readiness.service';\nimport type { BackingServiceHealthWatch } from '~wildo-cli/services/deployment/docker/backing-service-health-watch';\nimport { createBackingServiceHealthWatch } from '~wildo-cli/services/deployment/docker/backing-service-health-watch';\nimport { RuntimeBootstrap } from '~wildo-cli/services/environment/runtime-bootstrap.service';\nimport * as PlatformLifecycle from '~wildo-cli/services/deployment/platform-lifecycle.service';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport { ApplicationRuntimeBootstrapService } from '~wildo-cli/services/application/application-runtime-bootstrap.service';\nimport { LocalRuntimeProcessCleanupService } from '~wildo-cli/services/deployment/local-runtime-process-cleanup.service';\nimport { collectLocalPreconditionChecks } from '~wildo-cli/services/deployment/local-precondition-checks.service';\nimport { CODING_AGENT_SELECTION_ENV_VAR } from '~wildo-cli/services/coding-agents/coding-agent-login.service';\nimport { regenerateUnusableProviderRuntimeModules } from '~wildo-cli/services/application/provider-runtime-sync.service';\nimport {\n DevSchemaDriftOutcome,\n reconcileDevelopmentSchemaDrift,\n} from '~wildo-cli/services/application/dev-schema-drift.service';\nimport { LocalPreconditionCheckStatus } from '~wildo-cli/services/deployment/local-precondition-checks.schemas';\nimport { LocalDevSessionLeaseService, type LocalDevSessionLease,\n SharedPlatformAccess,\n SharedPlatformIntent,\n decideSharedPlatformAccess,\n} from '~wildo-cli/services/deployment/local-dev-session-lease.service';\nimport { SpawnUtils } from '~wildo-cli/infrastructure/process/spawn.utils';\nimport {\n createLocalDevShutdownCoordinator,\n LocalDevShutdownCauseKind,\n type LocalDevShutdownCause,\n} from '~wildo-cli/services/deployment/local-dev-shutdown-coordinator';\nimport { createLocalDevObserverLifecycle, type LocalDevObserverLifecycle } from '~wildo-cli/services/deployment/local-dev-observer-lifecycle';\nimport {\n LocalDevConsoleRendering,\n LocalDevOutputFlowController,\n LocalDevOutputBoundary,\n LocalDevOutputSink,\n LocalDevOutputStream,\n resolveLocalDevConsoleRendering,\n} from '~wildo-cli/services/deployment/local-dev-output-boundary';\n\ninterface SpawnedTree {\n readonly label: string;\n readonly child: ChildProcess;\n readonly exit: Promise<number>;\n readonly affectsStackLifetime: boolean;\n}\n\n/**\n * Shared prefix for the two shutdown causes raised by a lost session lease —\n * the callback that observes the loss, and the branch that acts on it after the\n * coordinator exists. One constant so the operator sees the same sentence\n * whichever of the two wins the race.\n */\nconst LOCAL_DEV_OWNERSHIP_LOST_REASON = 'local development ownership was taken by another session';\n\nexport default class LocalDevCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'local dev',\n description:\n 'Start everything for local development — preflight doctor, kill stale processes, ensure infra, start platform (framework-dev only) + app, tee logs to .wildo-saas/logs/',\n category: CommandCategory.Local,\n minimumScope: WorkspaceScope.SAAS_APP,\n unavailabilityMessage: '`wildo local dev` requires a SaaS app workspace (a directory containing wildo.saas.config.ts).',\n flags: {\n 'skip-doctor': {\n type: 'boolean',\n description: 'Skip the preflight `local doctor` check. Useful when iterating on the orchestrator itself.',\n default: false,\n },\n 'skip-platform': {\n type: 'boolean',\n description: 'Do not start the platform stack even in framework-dev mode (assume it is already running in another terminal).',\n default: false,\n },\n 'kill-only': {\n type: 'boolean',\n description: 'Run the stale-process cleanup step and exit. Does NOT start any process.',\n default: false,\n },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const devSessionStartedAtMs = Date.now();\n const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;\n if (!saasRoot) {\n ctx.log.error('No targeted app root detected. Navigate to a directory containing wildo.saas.config.ts.');\n return { success: false };\n }\n\n const env = ctx.activeEnv;\n if (!env) {\n ctx.log.error('No active environment. Run `wildo init` first.');\n return { success: false };\n }\n if (env.locationType === WildoLocationType.REMOTE) {\n ctx.log.error('`wildo local dev` is for LOCAL environments only.');\n return { success: false };\n }\n if (env.runtime === WildoDeploymentRuntime.KUBERNETES) {\n ctx.log.error(\n 'K8s orchestration via `wildo local dev` is not implemented yet. Use `wildo dev start` for the app side and start platform pods via your K8s tooling.',\n );\n return { success: false };\n }\n\n // Console log presentation is owned by the authored `logging` infra aspect\n // (`wildo.infra.<env>.config.ts` → `LOG_FORMATTED_CONSOLE_ERRORS`), the same\n // authority `LoggerService` reads at boot. The dev CLI must not add a second,\n // unconfigurable formatter on top of it: an operator who authored\n // `formattedConsoleErrors: false` for a machine-shaped stream keeps seeing\n // that stream in the terminal. The `dev-*.log` capture stays raw JSON either way.\n const consoleRendering = resolveLocalDevConsoleRendering(env.logging?.formattedConsoleErrors);\n\n const frameworkPath = ctx.cliContext.resolvedHomes.framework.repositoryRoot;\n const isFrameworkDeveloper = ctx.preferences?.isFrameworkDeveloper ?? false;\n /*\n * The companion selects its coding agent from `WILDO_CODING_AGENT` (a host decision). A machine\n * that chose one at `wildo init`/`setup` records it as a preference; exporting it here is what makes\n * every process this command starts — the companion among them — dispatch to that agent. An\n * explicit `WILDO_CODING_AGENT` in the operator's shell still wins (#1637).\n */\n const codingAgentPreference = ctx.preferences?.defaults?.codingAgent;\n if (codingAgentPreference && !process.env[CODING_AGENT_SELECTION_ENV_VAR]?.trim()) {\n process.env[CODING_AGENT_SELECTION_ENV_VAR] = codingAgentPreference;\n }\n const skipPlatform = ctx.flags.skipPlatform === true || ctx.flags['skip-platform'] === true;\n const skipDoctor = ctx.flags.skipDoctor === true || ctx.flags['skip-doctor'] === true;\n const killOnly = ctx.flags.killOnly === true || ctx.flags['kill-only'] === true;\n /*\n * Whose infrastructure is this? Read from the AUTHORED descriptor, before any generated artifact is\n * reconciled — a hosted application must never start the platform or converge the shared containers,\n * and deciding that from a stale `config.json` is how the host's containers get recreated.\n */\n let hostedBy: EnvironmentInfrastructureHost | null;\n try {\n hostedBy = await InfrastructureHost.resolveAuthored(saasRoot, env.name);\n } catch (error) {\n ctx.log.error(` Cannot resolve this environment's infrastructure: ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false };\n }\n const willStartPlatform = !!frameworkPath && isFrameworkDeveloper && !skipPlatform && hostedBy === null;\n\n ctx.log.info(chalk.cyan('\\n wildo local dev — preparing local development stack\\n'));\n\n let sessionLease: LocalDevSessionLease | null = null;\n let leaseCompromise: Error | null = null;\n let requestShutdown: ((signal: NodeJS.Signals, cause: LocalDevShutdownCause) => Promise<void>) | null = null;\n let readinessAbort: AbortController | null = null;\n // Declared out here, not inside the try, because the `finally` reaps it:\n // its interval would otherwise outlive an early return and hold the\n // event loop open.\n let backingServiceHealthWatch: BackingServiceHealthWatch | null = null;\n let sigintHandler: (() => void) | null = null;\n let sigtermHandler: (() => void) | null = null;\n if (!killOnly) {\n try {\n // Ownership precedes every mutating operation below. A contender must\n // never stop platform services or clean the incumbent's processes\n // before discovering that another session owns this generation.\n sessionLease = LocalDevSessionLeaseService.acquire({\n saasRoot,\n frameworkRoot: frameworkPath,\n ownsPlatform: willStartPlatform,\n onCompromised: (error) => {\n leaseCompromise = error;\n ctx.log.error(` Local development ownership was compromised: ${ErrorUtils.extractErrorMessage(error)}`);\n if (requestShutdown) {\n void requestShutdown('SIGTERM', {\n kind: LocalDevShutdownCauseKind.INTERNAL_FAILURE,\n description: `${LOCAL_DEV_OWNERSHIP_LOST_REASON}: ${ErrorUtils.extractErrorMessage(error)}`,\n });\n }\n },\n });\n } catch (error) {\n ctx.log.error(` Cannot start local development: ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false };\n }\n }\n\n try {\n // ─── Step 1: stale-process cleanup ────────────────────────────────\n if (willStartPlatform) {\n // `local reinit` and older lifecycle commands may have started tracked\n // native services directly. Stop those first so the graph-supervised root\n // `pnpm dev` tree remains the sole long-running owner of platform ports.\n try {\n await PlatformLifecycle.stop(env, ctx.log);\n } catch (error) {\n ctx.log.warn(` Could not stop a previously tracked platform lifecycle: ${ErrorUtils.extractErrorMessage(error)}`);\n }\n if (leaseCompromise) return { success: false };\n }\n // An attached app invocation (`--skip-platform`) does not own the shared\n // framework generation. Scoping cleanup to the app root still reaps this\n // app's prior supervisors/runtimes, but cannot select a framework watcher or\n // platform process merely because its argv contains the framework root.\n const cleanupRoots = [saasRoot, ...(willStartPlatform && frameworkPath ? [frameworkPath] : [])];\n let killed: number;\n try {\n killed = await LocalRuntimeProcessCleanupService.stop(cleanupRoots, ctx.log);\n } catch (error) {\n ctx.log.error(` Local process ownership could not be established: ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false };\n }\n if (leaseCompromise) return { success: false };\n if (killed > 0) {\n ctx.log.info(` ${chalk.dim(`Killed ${killed} stale process(es) from prior session.`)}\\n`);\n }\n\n if (killOnly) {\n ctx.log.success(' --kill-only complete; no processes started.\\n');\n return { success: true };\n }\n\n // ─── Step 1.5: regenerate provider-runtime modules nobody generated, or that a reader would refuse ───\n // Derived from configuration, so a missing or refused one is repaired rather than refused — see\n // `regenerateUnusableProviderRuntimeModules`. Best-effort: the preflight below still reports\n // anything this could not produce, with its own fix.\n try {\n const repair = await regenerateUnusableProviderRuntimeModules(ctx.log, saasRoot, env.name, {\n frameworkPath: ctx.cliContext.resolvedHomes.framework.repositoryRoot ?? null,\n });\n if (repair.missingBefore.length > 0) {\n const repaired = repair.missingBefore.length - repair.missingAfter.length;\n ctx.log.info(` Regenerated ${repaired} of ${repair.missingBefore.length} missing provider-runtime module(s) for environment '${env.name}'.`);\n }\n if (repair.refusedBefore.length > 0) {\n const repaired = repair.refusedBefore.length - repair.refusedAfter.length;\n ctx.log.info(\n ` Regenerated ${repaired} of ${repair.refusedBefore.length} provider-runtime artifact(s) generated before the framework changed what`\n + ` their readers require, for environment '${env.name}': ${repair.refusedBefore.map((artifact) => artifact.relativePath).join(', ')}.`,\n );\n }\n } catch (error) {\n ctx.log.warn(` Could not check the provider-runtime modules before start: ${ErrorUtils.extractErrorMessage(error)}`);\n }\n\n // ─── Step 2: preflight preconditions (fatal on any `fail`, not only Docker) ───\n if (!skipDoctor) {\n const doctorOk = await this.runPreflightDoctorChecks(ctx);\n if (!doctorOk) {\n ctx.log.error(\n ' Preflight checks failed. See the diagnostic output above; re-run `wildo local doctor` for the full list. Use `--skip-doctor` to bypass.\\n',\n );\n return { success: false };\n }\n }\n\n // ─── Step 3: ensure infrastructure containers ready ───────────────\n // Bootstrap the local runtime artifacts FIRST — `resolveInfraContext` below throws outright\n // when the docker-compose file is absent, and on a fresh checkout (the generated tree is\n // gitignored) NOTHING has rendered it yet. This is the \"delegate to the same code path as\n // `wildo local up`\" this command's docblock promises: `local up` self-heals config.json + the\n // compose manifest + `.env.wildo-platform` from the authored `wildo.infra.<env>.config.ts`\n // (`bootstrapLocalRuntimeArtifacts` → `RuntimeBootstrap.ensureLocalRuntimeArtifacts`), while\n // `local dev` used to skip straight to `docker compose up -d` and hard-fail with\n // \"Docker Compose file not found … Run 'wildo local up'\". That made `local dev` a\n // second-class citizen on any tree that had never run `local up` — a fresh clone, and every\n // unattended/CI VM. Same self-heal, same only-if-missing write policy, so a warm tree is\n // unaffected (each artifact is written only when it does not already exist).\n //\n // NOTE the one artifact this canNOT conjure: `.env.wildo-platform` needs `secrets.json`, which\n // only `wildo setup` mints (`wildo setup --non-interactive` for a headless lane). The error\n // raised there says so explicitly.\n const bootstrapped = await this.bootstrapLocalRuntimeArtifacts(ctx, env, saasRoot, frameworkPath, isFrameworkDeveloper);\n if (!bootstrapped) {\n return { success: false };\n }\n if (leaseCompromise) return { success: false };\n\n let infraCtx: ReturnType<typeof ContextManager.resolveInfraContext>;\n try {\n infraCtx = ContextManager.resolveInfraContext(env.name);\n } catch (error) {\n // For a hosted environment this names the host and the command that renders its project.\n ctx.log.error(` ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false };\n }\n let infraRunning = false;\n try {\n const out = DockerUtils.runDockerCompose(infraCtx, ['ps', '-q']);\n infraRunning = out.trim().length > 0;\n } catch {\n infraRunning = false;\n }\n /*\n * ATTACH, never converge, when another session owns the shared platform (issue #50). The\n * backing containers carry shared names, so `docker compose up` from THIS app's generated\n * compose RECREATES them under this app's config — swapping the substrate out from under every\n * process of the owning session (measured 2026-08-25: mongo re-advertised its replica set under\n * the container hostname and valkey re-seeded ACLs; the whole running stack lost its\n * databases). `--skip-platform` skips the platform NODE services but used to walk straight into\n * this convergence. Read-only verification is the only thing an attaching session may do.\n */\n /*\n * Two different reasons to attach rather than converge, and they are not the same question.\n * A HOSTED application's infrastructure belongs to its host whether or not a host session is live;\n * a shared platform owned by another `wildo local dev` session is #1126's decision, which only\n * applies when this application owns its own infrastructure.\n */\n const platformAccess = hostedBy === null\n ? decideSharedPlatformAccess({\n frameworkRoot: frameworkPath,\n saasRoot,\n intent: SharedPlatformIntent.CONVERGE,\n infraRunning,\n })\n : null;\n if (platformAccess?.access === SharedPlatformAccess.REFUSE) {\n ctx.log.error(` ${platformAccess.message}`);\n return { success: false };\n }\n if (hostedBy !== null) {\n /*\n * A HOSTED application always attaches: the containers and the platform are its host's, whether\n * or not a host session is live right now. It verifies, never converges — and refuses to start\n * anything, because the only process that may is the host's.\n */\n if (!infraRunning) {\n ctx.log.error(\n ` This application runs on the infrastructure of ${hostedBy.applicationRoot}, and that infrastructure is not `\n + `running. Start it from the host first: cd ${hostedBy.applicationRoot} && wildo local dev`,\n );\n return { success: false };\n }\n ctx.log.info(\n chalk.cyan(` Attaching to the infrastructure of ${hostedBy.applicationRoot}; infrastructure convergence and the platform `\n + 'lifecycle are the host\\'s.\\n'),\n );\n } else if (platformAccess?.access === SharedPlatformAccess.ATTACH) {\n ctx.log.info(chalk.cyan(` ${platformAccess.message}\\n`));\n } else {\n ctx.log.info(\n infraRunning\n ? ' Local infrastructure is running; verifying readiness...\\n'\n : chalk.cyan(' Local infrastructure is not running. Starting it and waiting for readiness...\\n'),\n );\n try {\n await DockerComposeReadinessService.startAndWait(infraCtx, ctx.log);\n ctx.log.success(' Infrastructure containers are ready.\\n');\n } catch (error) {\n ctx.log.error(` Failed to make infrastructure ready: ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false };\n }\n\n // Readiness above is a statement about ONE INSTANT. A backing service\n // can die at any point afterwards and, when its container outlives the\n // service it provides, Docker's `restart:` policy cannot reach it and\n // its healthcheck is wired to nothing — so it stays dead, silently,\n // until the next converge. Measured 2026-09-17: 3.8 hours with malware\n // scanning absent in front of a live application, reported by nothing.\n //\n // Read-only, and started ONLY on the branch that converged the stack:\n // the ATTACH and hosted-by paths declare the platform lifecycle to be\n // the host session's, and two sessions warning about one container is\n // how a warning becomes noise the reader learns to skip.\n backingServiceHealthWatch = createBackingServiceHealthWatch({ infraCtx, log: ctx.log });\n backingServiceHealthWatch.start();\n }\n if (leaseCompromise) return { success: false };\n\n // ─── Step 3.5: reconcile injected framework snapshots (framework-dev only) ───\n // Close the startup-drift window BEFORE any app process spawns. When the\n // engine is consumed from a local checkout via pnpm `file:` injected deps,\n // a new engine dist file added since the last reconcile (e.g. by a parallel\n // session while this stack was down) is absent from the app's hard-linked\n // snapshot until something re-materializes it — and a bare consumer (Astro\n // website, Docusaurus) that boots against the hole hard-exits and, through\n // pnpm's parallel bail, tears the whole stack down. Reconciling here (a\n // millisecond hard-link mirror, no pnpm) guarantees backend-api / website\n // start against a coherent snapshot at t=0. sync-engine.sh performs its own\n // compile-ready-gated reconcile once running; this is the pre-spawn belt.\n // Best-effort: a failure here never blocks dev startup — the sync daemon\n // retries. Only meaningful in framework-dev mode (published-package installs\n // have no injected snapshot to drift). See\n // `.claude/plans/engine-app-dist-sync-analysis.md` hole H1.\n //\n // Gate on framework-dev mode ONLY — NOT on `willStartPlatform`. The app stack\n // is started unconditionally below, so it needs a coherent snapshot even when\n // `--skip-platform` is passed (platform already running in another terminal);\n // tying this to the platform flag would silently reintroduce the H1 drift\n // window for that common flow.\n if (frameworkPath && isFrameworkDeveloper) {\n this.reconcileInjectedSnapshots(ctx, frameworkPath, saasRoot);\n }\n\n // ─── Step 4: prepare log capture ──────────────────────────────────\n const logsDir = join(saasRoot, '.wildo-saas', 'logs');\n mkdirSync(logsDir, { recursive: true });\n const timestamp = new Date().toISOString().replace(/[:.]/g, '-').slice(0, 19); // 2026-05-21T09-00-00\n const logFile = join(logsDir, `dev-${timestamp}.log`);\n const logStream = createWriteStream(logFile, { flags: 'a' });\n ctx.log.info(` Logging combined output to ${chalk.dim(logFile)}\\n`);\n\n // ─── Step 5: initialize platform, then start its child tree ──────\n const children: SpawnedTree[] = [];\n\n if (willStartPlatform && frameworkPath) {\n try {\n await PlatformLifecycle.initialize(env, { frameworkPath, skipInit: false }, ctx.log);\n } catch (error) {\n ctx.log.error(` Platform initialization failed: ${ErrorUtils.extractErrorMessage(error)}`);\n await this.closeLogStream(logStream);\n return { success: false };\n }\n\n ctx.log.info(chalk.cyan(' Starting platform stack (apps-manager + crontabs-batches-manager + module-registry)...\\n'));\n children.push(this.spawnTree('platform', frameworkPath, logStream, chalk.blue, consoleRendering));\n } else if (frameworkPath && isFrameworkDeveloper) {\n ctx.log.info(chalk.yellow(' --skip-platform: platform stack NOT started by this command (expected to be already running).\\n'));\n }\n\n let shuttingDown = false;\n let diagnosticsLifecycle: LocalDevObserverLifecycle | null = null;\n const shutdown = createLocalDevShutdownCoordinator({\n getTrees: () => children,\n terminateTree: async (pid, signal) => {\n await SpawnUtils.terminateProcessTree(pid, {\n gracefulSignal: signal,\n forceSignal: 'SIGKILL',\n timeoutMs: 10_000,\n pollIntervalMs: 100,\n });\n },\n closeOutput: () => this.closeLogStream(logStream),\n onShutdownStarted: (signal, cause) => {\n shuttingDown = true;\n readinessAbort?.abort();\n diagnosticsLifecycle?.stop();\n backingServiceHealthWatch?.stop();\n // Name the TRIGGER, not the signal forwarded to the children. Every\n // teardown used to announce itself as \"Received SIGTERM\", so a stack\n // that stopped itself was indistinguishable from one another process\n // had killed.\n ctx.log.info(chalk.yellow(\n cause.kind === LocalDevShutdownCauseKind.OPERATING_SYSTEM_SIGNAL\n ? `\\n Received ${signal}. Shutting down child trees...\\n`\n : `\\n Shutting down child trees — ${cause.description}\\n`,\n ));\n },\n onTreeTerminationStarted: ({ label, child }, signal) => {\n ctx.log.info(` sending ${signal} to ${label} (pid ${child.pid})`);\n },\n onTreeTerminationFailed: ({ label }, error) => {\n ctx.log.warn(` ${label} teardown failed: ${ErrorUtils.extractErrorMessage(error)}`);\n },\n });\n requestShutdown = shutdown;\n if (leaseCompromise) {\n await shutdown('SIGTERM', { kind: LocalDevShutdownCauseKind.INTERNAL_FAILURE, description: LOCAL_DEV_OWNERSHIP_LOST_REASON });\n return { success: false };\n }\n sigintHandler = () => {\n void shutdown('SIGINT', { kind: LocalDevShutdownCauseKind.OPERATING_SYSTEM_SIGNAL });\n };\n sigtermHandler = () => {\n void shutdown('SIGTERM', { kind: LocalDevShutdownCauseKind.OPERATING_SYSTEM_SIGNAL });\n };\n process.once('SIGINT', sigintHandler);\n process.once('SIGTERM', sigtermHandler);\n\n // Start the read-only observer before the platform-readiness barrier. This\n // is the phase most likely to appear \"stuck\" when a framework producer or\n // runtime gate is unhealthy, so starting it after registered-app bootstrap\n // would hide the causal facts until they were no longer needed. Its own\n // exit remains non-fatal, while every early-return shutdown below reaps it.\n if (frameworkPath && isFrameworkDeveloper) {\n diagnosticsLifecycle = createLocalDevObserverLifecycle({\n spawn: () => this.spawnDiagnosticsObserver(frameworkPath, saasRoot, logStream, consoleRendering),\n onGenerationStarted: (generation) => children.push(generation),\n onGenerationEnded: (generation) => {\n const index = children.indexOf(generation);\n if (index >= 0) children.splice(index, 1);\n },\n onRestartScheduled: ({ consecutiveFailures, delayMs }) => {\n ctx.log.warn(\n ` Diagnostics observer unavailable; retry ${consecutiveFailures} in ${Math.round(delayMs / 1000)}s. The development stack continues.`,\n );\n },\n });\n diagnosticsLifecycle.start();\n }\n\n // ─── Step 6: platform readiness + registered app bootstrap ────────\n //\n // Both audiences. For a framework developer the platform is the child tree started in step 5;\n // for an application creator it is the platform CONTAINERS step 3 converged, answering the\n // same `/health/ready` contract on the same published ports. Until 2026-09-06 this step also\n // required `isFrameworkDeveloper`, so an app-creator `local dev` started application processes\n // that had never been registered and had no `.env`.\n if (frameworkPath) {\n const platformTree = children.find((tree) => tree.label === 'platform');\n readinessAbort = new AbortController();\n if (shuttingDown) readinessAbort.abort();\n if (platformTree) {\n void platformTree.exit.then(() => readinessAbort.abort());\n }\n\n try {\n await PlatformLifecycle.waitForPlatformServicesReady(env, ctx.log, {\n // A platform generation owned by this command must not surface an\n // append-only runtime log left by a prior session. When attaching\n // with --skip-platform, the other owner's older log remains valid\n // evidence and no lower bound is asserted.\n diagnosticEvidenceSinceMs: willStartPlatform ? devSessionStartedAtMs : undefined,\n signal: readinessAbort.signal,\n });\n if (shuttingDown) {\n // A shutdown is already in flight, so the coordinator returns its\n // existing promise and this cause is never reported. Stated anyway:\n // the type requires it, and a future reordering that made this the\n // FIRST call must not silently inherit a wrong reason.\n await shutdown('SIGTERM', {\n kind: LocalDevShutdownCauseKind.INTERNAL_FAILURE,\n description: 'shutdown requested while waiting for platform readiness',\n });\n return { success: false };\n }\n\n const credentials = EnvironmentUtils.loadSecretsJson(env.name);\n if (!credentials) {\n throw new Error(`No secrets for '${env.name}'. Run 'wildo setup' first.`);\n }\n await ApplicationRuntimeBootstrapService.initialize({\n env,\n credentials,\n frameworkPath,\n saasRoot,\n isFrameworkDeveloper,\n log: ctx.log,\n });\n } catch (error) {\n readinessAbort.abort();\n ctx.log.error(` Registered local bootstrap failed: ${ErrorUtils.extractErrorMessage(error)}`);\n await shutdown('SIGTERM', {\n kind: LocalDevShutdownCauseKind.INTERNAL_FAILURE,\n description: `registered local bootstrap failed: ${ErrorUtils.extractErrorMessage(error)}`,\n });\n return { success: false };\n }\n }\n\n // ─── Step 6.5: reconcile the application's PostgreSQL schema with its model ───\n //\n // HERE, and not earlier or later, for three reasons: infrastructure is up (so the database is\n // reachable), the platform has finished bootstrapping (so the application's database exists and\n // is seeded), and the app processes have NOT started — which is the whole point. A migration\n // applied after the backend booted would have been applied behind a process that already read\n // the schema; applied before it, the backend simply comes up correct.\n //\n // Advisory by construction: the service never throws for a drift decision, and only the two\n // outcomes that mean \"a human must read something\" stop the start. Every other outcome —\n // in sync, not adopted, a stale or unavailable model — proceeds, because a diagnostic that can\n // refuse to start a stack over its own uncertainty is worse than the crash it replaces.\n try {\n const drift = await reconcileDevelopmentSchemaDrift({\n ctx,\n saasRoot,\n envName: env.name,\n appliedBy: `wildo local dev:${process.pid}`,\n log: (message) => ctx.log.info(message),\n });\n if (drift.message) {\n const stops = drift.outcome === DevSchemaDriftOutcome.REFUSED\n || drift.outcome === DevSchemaDriftOutcome.GENERATED_NEEDS_REVIEW;\n if (stops) {\n ctx.log.error(` ${drift.message}`);\n // The backend would fail its physical-schema gate seconds from now with a message that\n // names neither the migration nor the command. Stopping here says both.\n await shutdown('SIGTERM', {\n kind: LocalDevShutdownCauseKind.INTERNAL_FAILURE,\n description: `application schema drift needs a human: ${drift.outcome}`,\n });\n return { success: false };\n }\n ctx.log.info(chalk.yellow(` ${drift.message}`));\n }\n } catch (error) {\n // A DEFECT in the check itself, never a drift verdict. Report and continue: the boot gate\n // remains the backstop, and a broken diagnostic must not be why a stack cannot start.\n ctx.log.warn(` Schema-drift check failed to run (continuing): ${ErrorUtils.extractErrorMessage(error)}`);\n }\n\n // ─── Step 7: app processes may start only after bootstrap ─────────\n ctx.log.info(chalk.cyan(` Starting app stack from ${chalk.dim(saasRoot)}...\\n`));\n children.push(this.spawnTree('app', saasRoot, logStream, chalk.green, consoleRendering));\n\n // ─── Step 8: wait for any child to exit, then propagate exit ──────\n const exitCode = await Promise.race(children.filter((tree) => tree.affectsStackLifetime).map((tree) => tree.exit));\n await shutdown('SIGTERM', {\n kind: LocalDevShutdownCauseKind.MANAGED_PROCESS_EXIT,\n description: `a managed process tree exited (code ${exitCode}); tearing down the rest of the stack`,\n });\n\n return { success: exitCode === 0 };\n } finally {\n // The GUARANTEE, distinct from the stop inside the shutdown coordinator.\n // That one runs first so the watch cannot warn about containers while the\n // stack is deliberately being torn down; this one runs on EVERY exit,\n // including the early `return { success: false }` paths between the\n // converge and the child spawn. Its interval would otherwise hold the\n // event loop open and `wildo local dev` would hang instead of exiting.\n // `stop()` is idempotent, so both firing is free.\n backingServiceHealthWatch?.stop();\n if (sigintHandler) process.removeListener('SIGINT', sigintHandler);\n if (sigtermHandler) process.removeListener('SIGTERM', sigtermHandler);\n await sessionLease?.release();\n }\n }\n\n // ────────────────────────────────────────────────────────────────────\n // Helpers\n // ────────────────────────────────────────────────────────────────────\n\n /**\n * Self-heal the local runtime artifacts (config.json, the docker-compose manifest, and\n * `.env.wildo-platform`) from the authored `wildo.infra.<env>.config.ts` before anything reads\n * them. Mirrors `local up`'s preflight of the same name — deliberately the SAME\n * `RuntimeBootstrap.ensureLocalRuntimeArtifacts` entry point rather than a parallel\n * implementation, so the two commands can never drift on write policy.\n *\n * Returns `true` on success, `false` on a logged failure (the caller short-circuits with\n * `success: false`), so a missing `secrets.json` surfaces as its own actionable message\n * (\"Run 'wildo setup'\") instead of the downstream \"Docker Compose file not found\".\n */\n private async bootstrapLocalRuntimeArtifacts(\n ctx: CommandContext,\n env: NonNullable<CommandContext['activeEnv']>,\n saasRoot: string,\n frameworkPath: string | null,\n isFrameworkDeveloper: boolean,\n ): Promise<boolean> {\n try {\n await RuntimeBootstrap.ensureLocalRuntimeArtifacts({\n env,\n saasRoot,\n frameworkPath,\n isFrameworkDeveloper,\n log: ctx.log,\n });\n return true;\n } catch (err) {\n ctx.log.error(`Failed to bootstrap local runtime artifacts: ${ErrorUtils.extractErrorMessage(err)}`);\n return false;\n }\n }\n\n /**\n * The `local doctor` PRECONDITIONS, run inline before this command spawns or\n * stops anything.\n *\n * The precondition SET comes from `collectLocalPreconditionChecks` — the\n * same function `wildo local doctor` calls — so the two surfaces cannot\n * disagree. This used to be a lone `docker info` while the command docblock\n * promised \"the same checks as `wildo local doctor`\"; the three fresh-install\n * failures that motivated those checks all landed in the gap between the\n * claim and the code.\n *\n * Still run inline rather than by shelling out to `wildo local doctor`: the\n * exit decision has to be tied to SPECIFIC checks (a stale Valkey ACL must\n * not block a startup), and a shell-out would flatten every result into one\n * process exit code. Doctor's RUNTIME probes stay out for the reason given\n * in this command's docblock, step 2.\n *\n * A `fail` aborts (the run cannot succeed); a `warn` is printed and\n * continues (recoverable, and for orphaned watchers step 1 reaped them\n * moments ago). `--skip-doctor` bypasses the whole step, unchanged.\n */\n private async runPreflightDoctorChecks(ctx: CommandContext): Promise<boolean> {\n let blocked = false;\n try {\n execSync('docker info', { stdio: 'pipe' });\n ctx.log.info(' ✓ Docker daemon reachable');\n } catch {\n ctx.log.error(' ✗ Docker daemon is not reachable.');\n ctx.log.error(' fix: Launch Docker Desktop: `open -a Docker`. Then retry.');\n blocked = true;\n }\n\n const results = await collectLocalPreconditionChecks({\n saasRoot: ctx.cliContext.resolvedHomes.app.declarationRoot,\n frameworkPath: ctx.cliContext.resolvedHomes.framework.repositoryRoot,\n isFrameworkDeveloper: ctx.preferences?.isFrameworkDeveloper ?? false,\n codingAgentPreference: ctx.preferences?.defaults?.codingAgent,\n });\n for (const result of results) {\n const detail = result.detail ? ` (${result.detail})` : '';\n if (result.status === LocalPreconditionCheckStatus.PASS) {\n ctx.log.info(` ✓ ${result.name}${detail}`);\n continue;\n }\n if (result.status === LocalPreconditionCheckStatus.WARN) {\n ctx.log.warn(` ⚠ ${result.name}${detail}`);\n } else {\n ctx.log.error(` ✗ ${result.name}${detail}`);\n blocked = true;\n }\n if (result.fix) {\n ctx.log.info(` ${chalk.dim('fix:')} ${result.fix}`);\n }\n }\n\n return !blocked;\n }\n\n /**\n * Hard-link any missing/drifted framework dist file into the app's pnpm\n * `file:`-injected snapshots BEFORE spawning the app stack, so no consumer\n * boots against a snapshot that is missing a newly-added engine file.\n *\n * Delegates to `scripts/dev-orchestrator/dev-wonder-sync-inputs.mjs\n * --reconcile-injected` in the framework checkout — the same file-level\n * reconciler `sync-engine.sh` uses, which converges added/drifted files in\n * milliseconds without a `pnpm install` (and therefore without the\n * partial-materialization / pnpm-11 `--force` hazards). Best-effort: any\n * failure is logged and swallowed so it never blocks `wildo local dev`; the\n * backgrounded sync daemon repairs on its own compile-ready-gated pass.\n */\n private reconcileInjectedSnapshots(ctx: CommandContext, frameworkPath: string, saasRoot: string): void {\n const script = join(frameworkPath, 'scripts', 'dev-orchestrator', 'dev-wonder-sync-inputs.mjs');\n if (!existsSync(script)) {\n // Not a monorepo-checkout layout (or the script moved) — nothing to reconcile.\n return;\n }\n\n ctx.log.info(' Reconciling injected framework snapshots before app start...');\n try {\n // execFileSync (no shell) so app/framework paths never pass through `/bin/sh`\n // interpolation, and a `timeout` upper-bounds the preflight — a hung\n // filesystem must not block `wildo local dev` forever. A timeout throws, which\n // the catch below turns into the same best-effort warning as any other failure.\n const out = execFileSync(process.execPath, [script, '--framework-root', frameworkPath, '--wonder-root', saasRoot, '--reconcile-injected'], {\n encoding: 'utf-8',\n stdio: 'pipe',\n timeout: 60_000,\n });\n const linked = out.split('\\n').filter((line) => line.includes('Reconciled') || line.includes('already mirror'));\n if (linked.length > 0) {\n ctx.log.info(` ${chalk.dim(linked.join('\\n '))}`);\n }\n ctx.log.success(' ✓ Injected snapshots coherent\\n');\n } catch (error) {\n // A reconcile failure at preflight (e.g. a brand-new engine package with no\n // injected root yet, needing pnpm) must NOT block startup — the sync daemon\n // will escalate. Surface it as a warning with the reconciler's own message.\n const detail =\n error instanceof Error && 'stderr' in error && (error as { stderr?: Buffer }).stderr\n ? (error as { stderr: Buffer }).stderr.toString().trim()\n : ErrorUtils.extractErrorMessage(error);\n ctx.log.warn(\n ` ⚠ Snapshot reconcile did not fully converge (continuing; sync daemon will retry):\\n ${chalk.dim(detail.split('\\n').join('\\n '))}\\n`,\n );\n }\n }\n\n private spawnTree(\n label: string,\n cwd: string,\n logStream: NodeJS.WritableStream,\n color: (s: string) => string,\n consoleRendering: LocalDevConsoleRendering,\n ): SpawnedTree {\n const child = spawn('pnpm', ['dev'], {\n cwd,\n env: { ...process.env, FORCE_COLOR: '1' },\n stdio: ['ignore', 'pipe', 'pipe'],\n detached: SpawnUtils.shouldUseProcessGroups(),\n });\n\n return this.observeChild({\n label,\n child,\n logStream,\n color,\n consoleRendering,\n affectsStackLifetime: true,\n });\n }\n\n private spawnDiagnosticsObserver(\n frameworkRoot: string,\n appRoot: string,\n logStream: NodeJS.WritableStream,\n consoleRendering: LocalDevConsoleRendering,\n ): SpawnedTree | null {\n const scriptPath = join(frameworkRoot, 'scripts/dev-orchestrator/local-dev-status.mjs');\n if (!existsSync(scriptPath)) {\n return null;\n }\n const child = spawn(process.execPath, [scriptPath, '--framework-root', frameworkRoot, '--app-root', appRoot, '--watch', '--changes-only'], {\n cwd: frameworkRoot,\n stdio: ['ignore', 'pipe', 'pipe'],\n detached: SpawnUtils.shouldUseProcessGroups(),\n });\n\n return this.observeChild({\n label: 'diagnostics',\n child,\n logStream,\n color: chalk.magenta,\n consoleRendering,\n affectsStackLifetime: false,\n });\n }\n\n private observeChild({\n label,\n child,\n logStream,\n color,\n consoleRendering,\n affectsStackLifetime,\n }: {\n label: string;\n child: ChildProcess;\n logStream: NodeJS.WritableStream;\n color: (text: string) => string;\n consoleRendering: LocalDevConsoleRendering;\n affectsStackLifetime: boolean;\n }): SpawnedTree {\n const prefix = color(`[${label}] `);\n const outputBoundary = new LocalDevOutputBoundary({\n label,\n consolePrefix: prefix,\n consoleRendering,\n writeConsole: (text) => process.stdout.write(text),\n writeCapture: (text) => logStream.write(text),\n });\n const outputFlow = new LocalDevOutputFlowController({\n pauseSources: () => {\n child.stdout?.pause();\n child.stderr?.pause();\n },\n resumeSources: () => {\n child.stdout?.resume();\n child.stderr?.resume();\n },\n waitForDrain: (sink) => this.waitForWritableDrain(sink === LocalDevOutputSink.CONSOLE ? process.stdout : logStream),\n });\n child.stdout?.on('data', (chunk: Buffer) => {\n outputFlow.accept(outputBoundary.push(LocalDevOutputStream.STDOUT, chunk));\n });\n child.stderr?.on('data', (chunk: Buffer) => {\n outputFlow.accept(outputBoundary.push(LocalDevOutputStream.STDERR, chunk));\n });\n child.stdout?.once('end', () => {\n outputFlow.accept(outputBoundary.end(LocalDevOutputStream.STDOUT));\n });\n child.stderr?.once('end', () => {\n outputFlow.accept(outputBoundary.end(LocalDevOutputStream.STDERR));\n });\n\n const exit = new Promise<number>((resolveExit) => {\n let settled = false;\n const settle = (code: number): void => {\n if (settled) return;\n settled = true;\n resolveExit(code);\n };\n // `close` fires only after the stdio streams close. Settling on `exit`\n // could let the parent end the capture file while the child's final\n // buffered line was still waiting to be decoded and framed.\n child.once('close', (code, signal) => {\n outputFlow.accept(outputBoundary.end(LocalDevOutputStream.STDOUT));\n outputFlow.accept(outputBoundary.end(LocalDevOutputStream.STDERR));\n void outputFlow.waitForIdle().then(() => {\n const suffix = affectsStackLifetime ? '' : '; development stack continues';\n process.stdout.write(chalk.dim(` ${label} exited (code=${code ?? 'null'}, signal=${signal ?? 'null'}${suffix})\\n`));\n settle(code ?? (signal ? 130 : 1));\n });\n });\n child.once('error', (error) => {\n outputFlow.accept(outputBoundary.end(LocalDevOutputStream.STDOUT));\n outputFlow.accept(outputBoundary.end(LocalDevOutputStream.STDERR));\n void outputFlow.waitForIdle().then(() => {\n process.stderr.write(` ${label} failed to spawn: ${error.message}\\n`);\n settle(1);\n });\n });\n });\n\n return { label, child, exit, affectsStackLifetime };\n }\n\n private closeLogStream(logStream: NodeJS.WritableStream): Promise<void> {\n return new Promise((resolveClose, rejectClose) => {\n logStream.once('finish', resolveClose);\n logStream.once('error', rejectClose);\n logStream.end();\n });\n }\n\n private waitForWritableDrain(stream: NodeJS.WritableStream): Promise<void> {\n const writable = stream as NodeJS.WritableStream & { writableNeedDrain?: boolean };\n if (writable.writableNeedDrain === false) return Promise.resolve();\n return new Promise((resolveDrain) => {\n let settled = false;\n const settle = (): void => {\n if (settled) return;\n settled = true;\n writable.removeListener('drain', settle);\n writable.removeListener('close', settle);\n writable.removeListener('error', settle);\n resolveDrain();\n };\n writable.once('drain', settle);\n writable.once('close', settle);\n writable.once('error', settle);\n queueMicrotask(() => {\n if (writable.writableNeedDrain === false) settle();\n });\n });\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"dev.command.js","sourceRoot":"","sources":["../../../../../../src/commands/local/dev.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AO,EAAE,MAAM,CAAC,CAAC;gBACzC,QAAQ,CAAC,cAAc,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;gBACzC,QAAQ,CAAC,cAAc,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;gBACzC,YAAY,EAAE,CAAC;YACjB,CAAC,CAAC;YACF,QAAQ,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;YAC/B,QAAQ,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;YAC/B,QAAQ,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;YAC/B,cAAc,CAAC,GAAG,EAAE;gBAClB,IAAI,QAAQ,CAAC,iBAAiB,KAAK,KAAK;oBAAE,MAAM,EAAE,CAAC;YACrD,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["/**\n * `wildo local dev` — start everything needed for local development.\n *\n * This is the canonical \"one command, please\" entry point for daily dev work.\n * It owns the full local-dev orchestration so the operator does not have to\n * juggle \"did I start the platform?\", \"is the infra container stack up?\",\n * \"are there orphan tsc-watch processes from last night's session?\" — those\n * questions are answered (and acted on) automatically.\n *\n * # What it does, in order\n *\n * 1. **Exclusive ownership + stale-process cleanup.** Atomically claims the\n * app generation (and, when applicable, the shared framework generation)\n * before it can stop or replace anything. It then reaps only prior local\n * dev process trees whose argv contains an exact selected root path.\n *\n * 2. **Preflight diagnostic.** Runs the Docker-daemon probe plus the shared\n * `wildo local doctor` PRECONDITIONS — Compose plugin version, generated\n * provider-runtime modules, orphaned dev watchers\n * (`services/deployment/local-precondition-checks.service.ts`, which\n * documents the fresh-install failure each one closes). A blocking\n * failure aborts BEFORE any process spawn so the operator sees one\n * precise fix line instead of a cryptic crash minutes later, deep inside\n * the app process. `--skip-doctor` bypasses the step.\n *\n * Doctor's RUNTIME probes (container health, loopback binding,\n * Mongo/Valkey auth, stale credentials) deliberately stay out: they\n * describe a stack this command has not started yet, and step 3 below\n * gates on Compose readiness anyway. Run `wildo local doctor` for those.\n *\n * 3. **Local infrastructure ready.** Self-heal the local runtime artifacts\n * (config.json + the docker-compose manifest + `.env.wildo-platform`)\n * from the authored `wildo.infra.<env>.config.ts` via the same\n * `RuntimeBootstrap.ensureLocalRuntimeArtifacts` preflight `wildo local\n * up` runs — only-if-missing, except that `config.json` is rewritten\n * when an authored field it carries for the `.env` files diverges\n * (`CONFIG_JSON_FIELDS_TRACKING_AUTHORED`) — then, if\n * `docker compose ps` shows none of our containers running, bring them\n * up, then block on Compose readiness. Without the preflight a fresh clone (the generated tree is\n * gitignored) hard-fails with \"Docker Compose file not found\".\n * `.env.wildo-platform` still requires `secrets.json`, which only\n * `wildo setup` (or `wildo setup --non-interactive`) mints.\n *\n * 4. **Platform initialization + readiness** (framework-dev mode only).\n * Run the registered, idempotent apps-manager INIT lifecycle against the\n * mounted database, then spawn root `pnpm dev` and wait for apps-manager,\n * crontabs-batches-manager, and module-registry `/health/ready`.\n *\n * 5. **Application registration + materialization.** Reconcile the authored\n * app by stable slug through apps-manager, fetch its current credentials,\n * persist the database-minted application id, and emit every backend,\n * companion, frontend, worker, and minion env target.\n *\n * 6. **App dev stack.** Only after steps 1–5 succeed, spawn `pnpm dev`\n * from the SaaS app root —\n * backend-api + companion + main-app + website + technical-doc + the\n * marketing-scrapper minion + the my-node-worker worker.\n *\n * The worker was added on 2026-09-08 (#426). Until then no local stack\n * started one, so the backend-to-worker chain — the advertised way to move\n * work off the request path — had never run anywhere, and its failure modes\n * would have been discovered by an application author rather than by us.\n *\n * # Output\n *\n * All combined stdout/stderr is tee'd to\n * `<saasRoot>/.wildo-saas/logs/dev-<YYYYMMDD-HHMMSS>.log`. The directory\n * is app-owned (gitignored by the app's `.wildo-saas/`) so logs survive\n * Ctrl-C and can be inspected after a crash. The console still shows\n * the live stream — the tee is an additive capture, not a redirect.\n *\n * Before opening a run's log, the logs of earlier runs are compressed to\n * `.log.gz` and kept 90 days, then expired (`local-dev-log-retention.service.ts`).\n * They are the host archive the assurance evidence collector reads, which reads\n * the compressed form too.\n *\n * # Signals\n *\n * Ctrl-C in this terminal terminates each owned process tree, waits for every\n * child `close` event (the stdout/stderr drain barrier), and only then closes\n * the combined log. The stale-cleanup step at the start of the next invocation\n * remains the recovery path for an unclean parent-process death.\n *\n * # Why \"local dev\" and not \"dev start\"\n *\n * `wildo dev start` exists today but deliberately does NOT start the\n * platform side (`platform-runtime-policy.service.ts::shouldCliStartPlatformServicesNatively`\n * returns false). We don't break that contract — `dev start` remains the\n * app-only orchestrator; `local dev` is the everything orchestrator that\n * additionally owns the platform stack in framework-dev mode.\n *\n * `local dev` lives in `CommandCategory.Local` next to `local up` /\n * `local down` / `local doctor` / `local reset` so the \"everything\n * happening on this machine for this app\" surface is one coherent group,\n * keyed off the SaaS app workspace (NOT the framework checkout). This is\n * the right shape: every SaaS app needs a \"start everything\" verb, not\n * just the dogfood example app. The retired `wildo fwk wt-dev` command\n * (and `scripts/wt/dev.sh`, and the `/wt-dev` slash command) hard-coded\n * Wonder Todos as the target — wrong shape, replaced by this command.\n */\n\nimport chalk from 'chalk';\nimport { execFileSync, execSync, spawn, type ChildProcess } from 'child_process';\nimport { existsSync, mkdirSync, createWriteStream } from 'fs';\nimport { join, resolve } from 'path';\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport type { CommandMeta, CommandContext, CommandResult } from '~wildo-cli/kernel/types';\nimport { WildoDeploymentRuntime, WildoLocationType, WorkspaceScope } from '@wildo-ai/platform-config-lib';\nimport { ContextManager } from '~wildo-cli/services/context/context-manager.service';\nimport { InfrastructureHost, type EnvironmentInfrastructureHost } from '~wildo-cli/services/environment/infrastructure-host.service';\nimport { DockerUtils } from '~wildo-cli/services/deployment/docker/docker.service';\nimport { DockerComposeReadinessService } from '~wildo-cli/services/deployment/docker/docker-compose-readiness.service';\nimport type { BackingServiceHealthWatch } from '~wildo-cli/services/deployment/docker/backing-service-health-watch';\nimport { createBackingServiceHealthWatch } from '~wildo-cli/services/deployment/docker/backing-service-health-watch';\nimport { RuntimeBootstrap } from '~wildo-cli/services/environment/runtime-bootstrap.service';\nimport * as PlatformLifecycle from '~wildo-cli/services/deployment/platform-lifecycle.service';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport { ApplicationRuntimeBootstrapService } from '~wildo-cli/services/application/application-runtime-bootstrap.service';\nimport { LocalRuntimeProcessCleanupService } from '~wildo-cli/services/deployment/local-runtime-process-cleanup.service';\nimport { collectLocalPreconditionChecks } from '~wildo-cli/services/deployment/local-precondition-checks.service';\nimport { CODING_AGENT_SELECTION_ENV_VAR } from '~wildo-cli/services/coding-agents/coding-agent-login.service';\nimport { regenerateUnusableProviderRuntimeModules } from '~wildo-cli/services/application/provider-runtime-sync.service';\nimport {\n DevSchemaDriftOutcome,\n reconcileDevelopmentSchemaDrift,\n} from '~wildo-cli/services/application/dev-schema-drift.service';\nimport { LocalPreconditionCheckStatus } from '~wildo-cli/services/deployment/local-precondition-checks.schemas';\nimport { LocalDevSessionLeaseService, type LocalDevSessionLease,\n SharedPlatformAccess,\n SharedPlatformIntent,\n decideSharedPlatformAccess,\n} from '~wildo-cli/services/deployment/local-dev-session-lease.service';\nimport { SpawnUtils } from '~wildo-cli/infrastructure/process/spawn.utils';\nimport {\n createLocalDevShutdownCoordinator,\n LocalDevShutdownCauseKind,\n type LocalDevShutdownCause,\n} from '~wildo-cli/services/deployment/local-dev-shutdown-coordinator';\nimport { createLocalDevObserverLifecycle, type LocalDevObserverLifecycle } from '~wildo-cli/services/deployment/local-dev-observer-lifecycle';\nimport { LOCAL_DEV_LOG_RETENTION_DAYS, retainLocalDevLogs } from '~wildo-cli/services/deployment/local-dev-log-retention.service';\nimport {\n LocalDevConsoleRendering,\n LocalDevOutputFlowController,\n LocalDevOutputBoundary,\n LocalDevOutputSink,\n LocalDevOutputStream,\n resolveLocalDevConsoleRendering,\n} from '~wildo-cli/services/deployment/local-dev-output-boundary';\n\ninterface SpawnedTree {\n readonly label: string;\n readonly child: ChildProcess;\n readonly exit: Promise<number>;\n readonly affectsStackLifetime: boolean;\n}\n\n/**\n * Shared prefix for the two shutdown causes raised by a lost session lease —\n * the callback that observes the loss, and the branch that acts on it after the\n * coordinator exists. One constant so the operator sees the same sentence\n * whichever of the two wins the race.\n */\nconst LOCAL_DEV_OWNERSHIP_LOST_REASON = 'local development ownership was taken by another session';\n\nexport default class LocalDevCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'local dev',\n description:\n 'Start everything for local development — preflight doctor, kill stale processes, ensure infra, start platform (framework-dev only) + app, tee logs to .wildo-saas/logs/',\n category: CommandCategory.Local,\n minimumScope: WorkspaceScope.SAAS_APP,\n unavailabilityMessage: '`wildo local dev` requires a SaaS app workspace (a directory containing wildo.saas.config.ts).',\n flags: {\n 'skip-doctor': {\n type: 'boolean',\n description: 'Skip the preflight `local doctor` check. Useful when iterating on the orchestrator itself.',\n default: false,\n },\n 'skip-platform': {\n type: 'boolean',\n description: 'Do not start the platform stack even in framework-dev mode (assume it is already running in another terminal).',\n default: false,\n },\n 'kill-only': {\n type: 'boolean',\n description: 'Run the stale-process cleanup step and exit. Does NOT start any process.',\n default: false,\n },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const devSessionStartedAtMs = Date.now();\n const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;\n if (!saasRoot) {\n ctx.log.error('No targeted app root detected. Navigate to a directory containing wildo.saas.config.ts.');\n return { success: false };\n }\n\n const env = ctx.activeEnv;\n if (!env) {\n ctx.log.error('No active environment. Run `wildo init` first.');\n return { success: false };\n }\n if (env.locationType === WildoLocationType.REMOTE) {\n ctx.log.error('`wildo local dev` is for LOCAL environments only.');\n return { success: false };\n }\n if (env.runtime === WildoDeploymentRuntime.KUBERNETES) {\n ctx.log.error(\n 'K8s orchestration via `wildo local dev` is not implemented yet. Use `wildo dev start` for the app side and start platform pods via your K8s tooling.',\n );\n return { success: false };\n }\n\n // Console log presentation is owned by the authored `logging` infra aspect\n // (`wildo.infra.<env>.config.ts` → `LOG_FORMATTED_CONSOLE_ERRORS`), the same\n // authority `LoggerService` reads at boot. The dev CLI must not add a second,\n // unconfigurable formatter on top of it: an operator who authored\n // `formattedConsoleErrors: false` for a machine-shaped stream keeps seeing\n // that stream in the terminal. The `dev-*.log` capture stays raw JSON either way.\n const consoleRendering = resolveLocalDevConsoleRendering(env.logging?.formattedConsoleErrors);\n\n const frameworkPath = ctx.cliContext.resolvedHomes.framework.repositoryRoot;\n const isFrameworkDeveloper = ctx.preferences?.isFrameworkDeveloper ?? false;\n /*\n * The companion selects its coding agent from `WILDO_CODING_AGENT` (a host decision). A machine\n * that chose one at `wildo init`/`setup` records it as a preference; exporting it here is what makes\n * every process this command starts — the companion among them — dispatch to that agent. An\n * explicit `WILDO_CODING_AGENT` in the operator's shell still wins (#1637).\n */\n const codingAgentPreference = ctx.preferences?.defaults?.codingAgent;\n if (codingAgentPreference && !process.env[CODING_AGENT_SELECTION_ENV_VAR]?.trim()) {\n process.env[CODING_AGENT_SELECTION_ENV_VAR] = codingAgentPreference;\n }\n const skipPlatform = ctx.flags.skipPlatform === true || ctx.flags['skip-platform'] === true;\n const skipDoctor = ctx.flags.skipDoctor === true || ctx.flags['skip-doctor'] === true;\n const killOnly = ctx.flags.killOnly === true || ctx.flags['kill-only'] === true;\n /*\n * Whose infrastructure is this? Read from the AUTHORED descriptor, before any generated artifact is\n * reconciled — a hosted application must never start the platform or converge the shared containers,\n * and deciding that from a stale `config.json` is how the host's containers get recreated.\n */\n let hostedBy: EnvironmentInfrastructureHost | null;\n try {\n hostedBy = await InfrastructureHost.resolveAuthored(saasRoot, env.name);\n } catch (error) {\n ctx.log.error(` Cannot resolve this environment's infrastructure: ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false };\n }\n const willStartPlatform = !!frameworkPath && isFrameworkDeveloper && !skipPlatform && hostedBy === null;\n\n ctx.log.info(chalk.cyan('\\n wildo local dev — preparing local development stack\\n'));\n\n let sessionLease: LocalDevSessionLease | null = null;\n let leaseCompromise: Error | null = null;\n let requestShutdown: ((signal: NodeJS.Signals, cause: LocalDevShutdownCause) => Promise<void>) | null = null;\n let readinessAbort: AbortController | null = null;\n // Declared out here, not inside the try, because the `finally` reaps it:\n // its interval would otherwise outlive an early return and hold the\n // event loop open.\n let backingServiceHealthWatch: BackingServiceHealthWatch | null = null;\n let sigintHandler: (() => void) | null = null;\n let sigtermHandler: (() => void) | null = null;\n if (!killOnly) {\n try {\n // Ownership precedes every mutating operation below. A contender must\n // never stop platform services or clean the incumbent's processes\n // before discovering that another session owns this generation.\n sessionLease = LocalDevSessionLeaseService.acquire({\n saasRoot,\n frameworkRoot: frameworkPath,\n ownsPlatform: willStartPlatform,\n onCompromised: (error) => {\n leaseCompromise = error;\n ctx.log.error(` Local development ownership was compromised: ${ErrorUtils.extractErrorMessage(error)}`);\n if (requestShutdown) {\n void requestShutdown('SIGTERM', {\n kind: LocalDevShutdownCauseKind.INTERNAL_FAILURE,\n description: `${LOCAL_DEV_OWNERSHIP_LOST_REASON}: ${ErrorUtils.extractErrorMessage(error)}`,\n });\n }\n },\n });\n } catch (error) {\n ctx.log.error(` Cannot start local development: ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false };\n }\n }\n\n try {\n // ─── Step 1: stale-process cleanup ────────────────────────────────\n if (willStartPlatform) {\n // `local reinit` and older lifecycle commands may have started tracked\n // native services directly. Stop those first so the graph-supervised root\n // `pnpm dev` tree remains the sole long-running owner of platform ports.\n try {\n await PlatformLifecycle.stop(env, ctx.log);\n } catch (error) {\n ctx.log.warn(` Could not stop a previously tracked platform lifecycle: ${ErrorUtils.extractErrorMessage(error)}`);\n }\n if (leaseCompromise) return { success: false };\n }\n // An attached app invocation (`--skip-platform`) does not own the shared\n // framework generation. Scoping cleanup to the app root still reaps this\n // app's prior supervisors/runtimes, but cannot select a framework watcher or\n // platform process merely because its argv contains the framework root.\n const cleanupRoots = [saasRoot, ...(willStartPlatform && frameworkPath ? [frameworkPath] : [])];\n let killed: number;\n try {\n killed = await LocalRuntimeProcessCleanupService.stop(cleanupRoots, ctx.log);\n } catch (error) {\n ctx.log.error(` Local process ownership could not be established: ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false };\n }\n if (leaseCompromise) return { success: false };\n if (killed > 0) {\n ctx.log.info(` ${chalk.dim(`Killed ${killed} stale process(es) from prior session.`)}\\n`);\n }\n\n if (killOnly) {\n ctx.log.success(' --kill-only complete; no processes started.\\n');\n return { success: true };\n }\n\n // ─── Step 1.5: regenerate provider-runtime modules nobody generated, a reader would refuse, or the declaration has moved past ───\n // Derived from configuration, so a missing, refused or outdated one is repaired rather than refused — see\n // `regenerateUnusableProviderRuntimeModules`. This is what makes \"restart with `wildo local dev`\" apply a provider\n // added to `wildo.saas.config.ts`. Best-effort: the preflight below still reports\n // anything this could not produce, with its own fix.\n try {\n const repair = await regenerateUnusableProviderRuntimeModules(ctx.log, saasRoot, env.name, {\n frameworkPath: ctx.cliContext.resolvedHomes.framework.repositoryRoot ?? null,\n });\n if (repair.missingBefore.length > 0) {\n const repaired = repair.missingBefore.length - repair.missingAfter.length;\n ctx.log.info(` Regenerated ${repaired} of ${repair.missingBefore.length} missing provider-runtime module(s) for environment '${env.name}'.`);\n }\n if (repair.libraryDeclaredIn.length > 0) {\n // The install is the operator's (#2111 review F1). Until the library is installed discovery cannot list its facets,\n // so this start cannot regenerate the modules to include them. Once it is installed, a facet list that leaves it\n // out is behind the declaration, and the next start regenerates it; `wildo config sync` does the same at once,\n // which is the remedy the shipped knowledge names for the backend's \"no facet\" refusal.\n ctx.log.warn(` Declared the system-of-record facet library on ${repair.libraryDeclaredIn.join(', ')}. Run \\`pnpm install\\`, then \\`wildo -y config sync --local --domain env-files\\` to list its facets in the provider-runtime modules, before the backend can read a vendor facet.`);\n }\n if (repair.behindBefore.length > 0) {\n const regenerated = repair.behindBefore.length - repair.behindAfter.length;\n ctx.log.info(\n ` Regenerated ${regenerated} of ${repair.behindBefore.length} provider-runtime artifact(s) the configuration has moved past, for`\n + ` environment '${env.name}': ${repair.behindBefore.map((artifact) => `${artifact.relativePath} (${artifact.differingFields.join(', ')})`).join(', ')}.`,\n );\n }\n if (repair.refusedBefore.length > 0) {\n const repaired = repair.refusedBefore.length - repair.refusedAfter.length;\n ctx.log.info(\n ` Regenerated ${repaired} of ${repair.refusedBefore.length} provider-runtime artifact(s) generated before the framework changed what`\n + ` their readers require, for environment '${env.name}': ${repair.refusedBefore.map((artifact) => artifact.relativePath).join(', ')}.`,\n );\n }\n } catch (error) {\n ctx.log.warn(` Could not check the provider-runtime modules before start: ${ErrorUtils.extractErrorMessage(error)}`);\n }\n\n // ─── Step 2: preflight preconditions (fatal on any `fail`, not only Docker) ───\n if (!skipDoctor) {\n const doctorOk = await this.runPreflightDoctorChecks(ctx);\n if (!doctorOk) {\n ctx.log.error(\n ' Preflight checks failed. See the diagnostic output above; re-run `wildo local doctor` for the full list. Use `--skip-doctor` to bypass.\\n',\n );\n return { success: false };\n }\n }\n\n // ─── Step 3: ensure infrastructure containers ready ───────────────\n // Bootstrap the local runtime artifacts FIRST — `resolveInfraContext` below throws outright\n // when the docker-compose file is absent, and on a fresh checkout (the generated tree is\n // gitignored) NOTHING has rendered it yet. This is the \"delegate to the same code path as\n // `wildo local up`\" this command's docblock promises: `local up` self-heals config.json + the\n // compose manifest + `.env.wildo-platform` from the authored `wildo.infra.<env>.config.ts`\n // (`bootstrapLocalRuntimeArtifacts` → `RuntimeBootstrap.ensureLocalRuntimeArtifacts`), while\n // `local dev` used to skip straight to `docker compose up -d` and hard-fail with\n // \"Docker Compose file not found … Run 'wildo local up'\". That made `local dev` a\n // second-class citizen on any tree that had never run `local up` — a fresh clone, and every\n // unattended/CI VM. Same self-heal, same write policy: each artifact is written only when it\n // does not already exist, except `config.json`, which is also rewritten when a member of\n // `CONFIG_JSON_FIELDS_TRACKING_AUTHORED` diverges from the authored descriptor.\n //\n // NOTE the one artifact this canNOT conjure: `.env.wildo-platform` needs `secrets.json`, which\n // only `wildo setup` mints (`wildo setup --non-interactive` for a headless lane). The error\n // raised there says so explicitly.\n const bootstrapped = await this.bootstrapLocalRuntimeArtifacts(ctx, env, saasRoot, frameworkPath, isFrameworkDeveloper);\n if (!bootstrapped) {\n return { success: false };\n }\n if (leaseCompromise) return { success: false };\n\n let infraCtx: ReturnType<typeof ContextManager.resolveInfraContext>;\n try {\n infraCtx = ContextManager.resolveInfraContext(env.name);\n } catch (error) {\n // For a hosted environment this names the host and the command that renders its project.\n ctx.log.error(` ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false };\n }\n let infraRunning = false;\n try {\n const out = DockerUtils.runDockerCompose(infraCtx, ['ps', '-q']);\n infraRunning = out.trim().length > 0;\n } catch {\n infraRunning = false;\n }\n /*\n * ATTACH, never converge, when another session owns the shared platform (issue #50). The\n * backing containers carry shared names, so `docker compose up` from THIS app's generated\n * compose RECREATES them under this app's config — swapping the substrate out from under every\n * process of the owning session (measured 2026-08-25: mongo re-advertised its replica set under\n * the container hostname and valkey re-seeded ACLs; the whole running stack lost its\n * databases). `--skip-platform` skips the platform NODE services but used to walk straight into\n * this convergence. Read-only verification is the only thing an attaching session may do.\n */\n /*\n * Two different reasons to attach rather than converge, and they are not the same question.\n * A HOSTED application's infrastructure belongs to its host whether or not a host session is live;\n * a shared platform owned by another `wildo local dev` session is #1126's decision, which only\n * applies when this application owns its own infrastructure.\n */\n const platformAccess = hostedBy === null\n ? decideSharedPlatformAccess({\n frameworkRoot: frameworkPath,\n saasRoot,\n intent: SharedPlatformIntent.CONVERGE,\n infraRunning,\n })\n : null;\n if (platformAccess?.access === SharedPlatformAccess.REFUSE) {\n ctx.log.error(` ${platformAccess.message}`);\n return { success: false };\n }\n if (hostedBy !== null) {\n /*\n * A HOSTED application always attaches: the containers and the platform are its host's, whether\n * or not a host session is live right now. It verifies, never converges — and refuses to start\n * anything, because the only process that may is the host's.\n */\n if (!infraRunning) {\n ctx.log.error(\n ` This application runs on the infrastructure of ${hostedBy.applicationRoot}, and that infrastructure is not `\n + `running. Start it from the host first: cd ${hostedBy.applicationRoot} && wildo local dev`,\n );\n return { success: false };\n }\n ctx.log.info(\n chalk.cyan(` Attaching to the infrastructure of ${hostedBy.applicationRoot}; infrastructure convergence and the platform `\n + 'lifecycle are the host\\'s.\\n'),\n );\n } else if (platformAccess?.access === SharedPlatformAccess.ATTACH) {\n ctx.log.info(chalk.cyan(` ${platformAccess.message}\\n`));\n } else {\n ctx.log.info(\n infraRunning\n ? ' Local infrastructure is running; verifying readiness...\\n'\n : chalk.cyan(' Local infrastructure is not running. Starting it and waiting for readiness...\\n'),\n );\n try {\n await DockerComposeReadinessService.startAndWait(infraCtx, ctx.log);\n ctx.log.success(' Infrastructure containers are ready.\\n');\n } catch (error) {\n ctx.log.error(` Failed to make infrastructure ready: ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false };\n }\n\n // Readiness above is a statement about ONE INSTANT. A backing service\n // can die at any point afterwards and, when its container outlives the\n // service it provides, Docker's `restart:` policy cannot reach it and\n // its healthcheck is wired to nothing — so it stays dead, silently,\n // until the next converge. Measured 2026-09-17: 3.8 hours with malware\n // scanning absent in front of a live application, reported by nothing.\n //\n // Read-only, and started ONLY on the branch that converged the stack:\n // the ATTACH and hosted-by paths declare the platform lifecycle to be\n // the host session's, and two sessions warning about one container is\n // how a warning becomes noise the reader learns to skip.\n backingServiceHealthWatch = createBackingServiceHealthWatch({ infraCtx, log: ctx.log });\n backingServiceHealthWatch.start();\n }\n if (leaseCompromise) return { success: false };\n\n // ─── Step 3.5: reconcile injected framework snapshots (framework-dev only) ───\n // Close the startup-drift window BEFORE any app process spawns. When the\n // engine is consumed from a local checkout via pnpm `file:` injected deps,\n // a new engine dist file added since the last reconcile (e.g. by a parallel\n // session while this stack was down) is absent from the app's hard-linked\n // snapshot until something re-materializes it — and a bare consumer (Astro\n // website, Docusaurus) that boots against the hole hard-exits and, through\n // pnpm's parallel bail, tears the whole stack down. Reconciling here (a\n // millisecond hard-link mirror, no pnpm) guarantees backend-api / website\n // start against a coherent snapshot at t=0. sync-engine.sh performs its own\n // compile-ready-gated reconcile once running; this is the pre-spawn belt.\n // Best-effort: a failure here never blocks dev startup — the sync daemon\n // retries. Only meaningful in framework-dev mode (published-package installs\n // have no injected snapshot to drift). See\n // `.claude/plans/engine-app-dist-sync-analysis.md` hole H1.\n //\n // Gate on framework-dev mode ONLY — NOT on `willStartPlatform`. The app stack\n // is started unconditionally below, so it needs a coherent snapshot even when\n // `--skip-platform` is passed (platform already running in another terminal);\n // tying this to the platform flag would silently reintroduce the H1 drift\n // window for that common flow.\n if (frameworkPath && isFrameworkDeveloper) {\n this.reconcileInjectedSnapshots(ctx, frameworkPath, saasRoot);\n }\n\n // ─── Step 4: prepare log capture ──────────────────────────────────\n const logsDir = join(saasRoot, '.wildo-saas', 'logs');\n mkdirSync(logsDir, { recursive: true });\n // Compress the logs of earlier runs and expire compressed ones past the retention window, BEFORE this\n // run's log exists — so the only logs touched are those of runs that have ended. Best-effort: it reports\n // and never blocks the start (see `local-dev-log-retention.service.ts`).\n const retention = await retainLocalDevLogs(logsDir);\n if (retention.compressed.length > 0 || retention.expired.length > 0) {\n ctx.log.info(` Run logs: ${retention.compressed.length} compressed, ${retention.expired.length} expired (kept ${LOCAL_DEV_LOG_RETENTION_DAYS} days)`);\n }\n for (const failure of retention.failed) ctx.log.warn(` Run log ${failure.name} left as it was: ${failure.reason}`);\n const timestamp = new Date().toISOString().replace(/[:.]/g, '-').slice(0, 19); // 2026-05-21T09-00-00\n const logFile = join(logsDir, `dev-${timestamp}.log`);\n const logStream = createWriteStream(logFile, { flags: 'a' });\n ctx.log.info(` Logging combined output to ${chalk.dim(logFile)}\\n`);\n\n // ─── Step 5: initialize platform, then start its child tree ──────\n const children: SpawnedTree[] = [];\n\n if (willStartPlatform && frameworkPath) {\n try {\n await PlatformLifecycle.initialize(env, { frameworkPath, skipInit: false }, ctx.log);\n } catch (error) {\n ctx.log.error(` Platform initialization failed: ${ErrorUtils.extractErrorMessage(error)}`);\n await this.closeLogStream(logStream);\n return { success: false };\n }\n\n ctx.log.info(chalk.cyan(' Starting platform stack (apps-manager + crontabs-batches-manager + module-registry)...\\n'));\n children.push(this.spawnTree('platform', frameworkPath, logStream, chalk.blue, consoleRendering));\n } else if (frameworkPath && isFrameworkDeveloper) {\n ctx.log.info(chalk.yellow(' --skip-platform: platform stack NOT started by this command (expected to be already running).\\n'));\n }\n\n let shuttingDown = false;\n let diagnosticsLifecycle: LocalDevObserverLifecycle | null = null;\n const shutdown = createLocalDevShutdownCoordinator({\n getTrees: () => children,\n terminateTree: async (pid, signal) => {\n await SpawnUtils.terminateProcessTree(pid, {\n gracefulSignal: signal,\n forceSignal: 'SIGKILL',\n timeoutMs: 10_000,\n pollIntervalMs: 100,\n });\n },\n closeOutput: () => this.closeLogStream(logStream),\n onShutdownStarted: (signal, cause) => {\n shuttingDown = true;\n readinessAbort?.abort();\n diagnosticsLifecycle?.stop();\n backingServiceHealthWatch?.stop();\n // Name the TRIGGER, not the signal forwarded to the children. Every\n // teardown used to announce itself as \"Received SIGTERM\", so a stack\n // that stopped itself was indistinguishable from one another process\n // had killed.\n ctx.log.info(chalk.yellow(\n cause.kind === LocalDevShutdownCauseKind.OPERATING_SYSTEM_SIGNAL\n ? `\\n Received ${signal}. Shutting down child trees...\\n`\n : `\\n Shutting down child trees — ${cause.description}\\n`,\n ));\n },\n onTreeTerminationStarted: ({ label, child }, signal) => {\n ctx.log.info(` sending ${signal} to ${label} (pid ${child.pid})`);\n },\n onTreeTerminationFailed: ({ label }, error) => {\n ctx.log.warn(` ${label} teardown failed: ${ErrorUtils.extractErrorMessage(error)}`);\n },\n });\n requestShutdown = shutdown;\n if (leaseCompromise) {\n await shutdown('SIGTERM', { kind: LocalDevShutdownCauseKind.INTERNAL_FAILURE, description: LOCAL_DEV_OWNERSHIP_LOST_REASON });\n return { success: false };\n }\n sigintHandler = () => {\n void shutdown('SIGINT', { kind: LocalDevShutdownCauseKind.OPERATING_SYSTEM_SIGNAL });\n };\n sigtermHandler = () => {\n void shutdown('SIGTERM', { kind: LocalDevShutdownCauseKind.OPERATING_SYSTEM_SIGNAL });\n };\n process.once('SIGINT', sigintHandler);\n process.once('SIGTERM', sigtermHandler);\n\n // Start the read-only observer before the platform-readiness barrier. This\n // is the phase most likely to appear \"stuck\" when a framework producer or\n // runtime gate is unhealthy, so starting it after registered-app bootstrap\n // would hide the causal facts until they were no longer needed. Its own\n // exit remains non-fatal, while every early-return shutdown below reaps it.\n if (frameworkPath && isFrameworkDeveloper) {\n diagnosticsLifecycle = createLocalDevObserverLifecycle({\n spawn: () => this.spawnDiagnosticsObserver(frameworkPath, saasRoot, logStream, consoleRendering),\n onGenerationStarted: (generation) => children.push(generation),\n onGenerationEnded: (generation) => {\n const index = children.indexOf(generation);\n if (index >= 0) children.splice(index, 1);\n },\n onRestartScheduled: ({ consecutiveFailures, delayMs }) => {\n ctx.log.warn(\n ` Diagnostics observer unavailable; retry ${consecutiveFailures} in ${Math.round(delayMs / 1000)}s. The development stack continues.`,\n );\n },\n });\n diagnosticsLifecycle.start();\n }\n\n // ─── Step 6: platform readiness + registered app bootstrap ────────\n //\n // Both audiences. For a framework developer the platform is the child tree started in step 5;\n // for an application creator it is the platform CONTAINERS step 3 converged, answering the\n // same `/health/ready` contract on the same published ports. Until 2026-09-06 this step also\n // required `isFrameworkDeveloper`, so an app-creator `local dev` started application processes\n // that had never been registered and had no `.env`.\n if (frameworkPath) {\n const platformTree = children.find((tree) => tree.label === 'platform');\n readinessAbort = new AbortController();\n if (shuttingDown) readinessAbort.abort();\n if (platformTree) {\n void platformTree.exit.then(() => readinessAbort.abort());\n }\n\n try {\n await PlatformLifecycle.waitForPlatformServicesReady(env, ctx.log, {\n // A platform generation owned by this command must not surface an\n // append-only runtime log left by a prior session. When attaching\n // with --skip-platform, the other owner's older log remains valid\n // evidence and no lower bound is asserted.\n diagnosticEvidenceSinceMs: willStartPlatform ? devSessionStartedAtMs : undefined,\n signal: readinessAbort.signal,\n });\n if (shuttingDown) {\n // A shutdown is already in flight, so the coordinator returns its\n // existing promise and this cause is never reported. Stated anyway:\n // the type requires it, and a future reordering that made this the\n // FIRST call must not silently inherit a wrong reason.\n await shutdown('SIGTERM', {\n kind: LocalDevShutdownCauseKind.INTERNAL_FAILURE,\n description: 'shutdown requested while waiting for platform readiness',\n });\n return { success: false };\n }\n\n const credentials = EnvironmentUtils.loadSecretsJson(env.name);\n if (!credentials) {\n throw new Error(`No secrets for '${env.name}'. Run 'wildo setup' first.`);\n }\n await ApplicationRuntimeBootstrapService.initialize({\n env,\n credentials,\n frameworkPath,\n saasRoot,\n isFrameworkDeveloper,\n log: ctx.log,\n });\n } catch (error) {\n readinessAbort.abort();\n ctx.log.error(` Registered local bootstrap failed: ${ErrorUtils.extractErrorMessage(error)}`);\n await shutdown('SIGTERM', {\n kind: LocalDevShutdownCauseKind.INTERNAL_FAILURE,\n description: `registered local bootstrap failed: ${ErrorUtils.extractErrorMessage(error)}`,\n });\n return { success: false };\n }\n }\n\n // ─── Step 6.5: reconcile the application's PostgreSQL schema with its model ───\n //\n // HERE, and not earlier or later, for three reasons: infrastructure is up (so the database is\n // reachable), the platform has finished bootstrapping (so the application's database exists and\n // is seeded), and the app processes have NOT started — which is the whole point. A migration\n // applied after the backend booted would have been applied behind a process that already read\n // the schema; applied before it, the backend simply comes up correct.\n //\n // Advisory by construction: the service never throws for a drift decision, and only the two\n // outcomes that mean \"a human must read something\" stop the start. Every other outcome —\n // in sync, not adopted, a stale or unavailable model — proceeds, because a diagnostic that can\n // refuse to start a stack over its own uncertainty is worse than the crash it replaces.\n try {\n const drift = await reconcileDevelopmentSchemaDrift({\n ctx,\n saasRoot,\n envName: env.name,\n appliedBy: `wildo local dev:${process.pid}`,\n log: (message) => ctx.log.info(message),\n });\n if (drift.message) {\n const stops = drift.outcome === DevSchemaDriftOutcome.REFUSED\n || drift.outcome === DevSchemaDriftOutcome.GENERATED_NEEDS_REVIEW;\n if (stops) {\n ctx.log.error(` ${drift.message}`);\n // The backend would fail its physical-schema gate seconds from now with a message that\n // names neither the migration nor the command. Stopping here says both.\n await shutdown('SIGTERM', {\n kind: LocalDevShutdownCauseKind.INTERNAL_FAILURE,\n description: `application schema drift needs a human: ${drift.outcome}`,\n });\n return { success: false };\n }\n ctx.log.info(chalk.yellow(` ${drift.message}`));\n }\n } catch (error) {\n // A DEFECT in the check itself, never a drift verdict. Report and continue: the boot gate\n // remains the backstop, and a broken diagnostic must not be why a stack cannot start.\n ctx.log.warn(` Schema-drift check failed to run (continuing): ${ErrorUtils.extractErrorMessage(error)}`);\n }\n\n // ─── Step 7: app processes may start only after bootstrap ─────────\n ctx.log.info(chalk.cyan(` Starting app stack from ${chalk.dim(saasRoot)}...\\n`));\n children.push(this.spawnTree('app', saasRoot, logStream, chalk.green, consoleRendering));\n\n // ─── Step 8: wait for any child to exit, then propagate exit ──────\n const exitCode = await Promise.race(children.filter((tree) => tree.affectsStackLifetime).map((tree) => tree.exit));\n await shutdown('SIGTERM', {\n kind: LocalDevShutdownCauseKind.MANAGED_PROCESS_EXIT,\n description: `a managed process tree exited (code ${exitCode}); tearing down the rest of the stack`,\n });\n\n return { success: exitCode === 0 };\n } finally {\n // The GUARANTEE, distinct from the stop inside the shutdown coordinator.\n // That one runs first so the watch cannot warn about containers while the\n // stack is deliberately being torn down; this one runs on EVERY exit,\n // including the early `return { success: false }` paths between the\n // converge and the child spawn. Its interval would otherwise hold the\n // event loop open and `wildo local dev` would hang instead of exiting.\n // `stop()` is idempotent, so both firing is free.\n backingServiceHealthWatch?.stop();\n if (sigintHandler) process.removeListener('SIGINT', sigintHandler);\n if (sigtermHandler) process.removeListener('SIGTERM', sigtermHandler);\n await sessionLease?.release();\n }\n }\n\n // ────────────────────────────────────────────────────────────────────\n // Helpers\n // ────────────────────────────────────────────────────────────────────\n\n /**\n * Self-heal the local runtime artifacts (config.json, the docker-compose manifest, and\n * `.env.wildo-platform`) from the authored `wildo.infra.<env>.config.ts` before anything reads\n * them. Mirrors `local up`'s preflight of the same name — deliberately the SAME\n * `RuntimeBootstrap.ensureLocalRuntimeArtifacts` entry point rather than a parallel\n * implementation, so the two commands can never drift on write policy.\n *\n * Returns `true` on success, `false` on a logged failure (the caller short-circuits with\n * `success: false`), so a missing `secrets.json` surfaces as its own actionable message\n * (\"Run 'wildo setup'\") instead of the downstream \"Docker Compose file not found\".\n */\n private async bootstrapLocalRuntimeArtifacts(\n ctx: CommandContext,\n env: NonNullable<CommandContext['activeEnv']>,\n saasRoot: string,\n frameworkPath: string | null,\n isFrameworkDeveloper: boolean,\n ): Promise<boolean> {\n try {\n await RuntimeBootstrap.ensureLocalRuntimeArtifacts({\n env,\n saasRoot,\n frameworkPath,\n isFrameworkDeveloper,\n log: ctx.log,\n });\n return true;\n } catch (err) {\n ctx.log.error(`Failed to bootstrap local runtime artifacts: ${ErrorUtils.extractErrorMessage(err)}`);\n return false;\n }\n }\n\n /**\n * The `local doctor` PRECONDITIONS, run inline before this command spawns or\n * stops anything.\n *\n * The precondition SET comes from `collectLocalPreconditionChecks` — the\n * same function `wildo local doctor` calls — so the two surfaces cannot\n * disagree. This used to be a lone `docker info` while the command docblock\n * promised \"the same checks as `wildo local doctor`\"; the three fresh-install\n * failures that motivated those checks all landed in the gap between the\n * claim and the code.\n *\n * Still run inline rather than by shelling out to `wildo local doctor`: the\n * exit decision has to be tied to SPECIFIC checks (a stale Valkey ACL must\n * not block a startup), and a shell-out would flatten every result into one\n * process exit code. Doctor's RUNTIME probes stay out for the reason given\n * in this command's docblock, step 2.\n *\n * A `fail` aborts (the run cannot succeed); a `warn` is printed and\n * continues (recoverable, and for orphaned watchers step 1 reaped them\n * moments ago). `--skip-doctor` bypasses the whole step, unchanged.\n */\n private async runPreflightDoctorChecks(ctx: CommandContext): Promise<boolean> {\n let blocked = false;\n try {\n execSync('docker info', { stdio: 'pipe' });\n ctx.log.info(' ✓ Docker daemon reachable');\n } catch {\n ctx.log.error(' ✗ Docker daemon is not reachable.');\n ctx.log.error(' fix: Launch Docker Desktop: `open -a Docker`. Then retry.');\n blocked = true;\n }\n\n const results = await collectLocalPreconditionChecks({\n saasRoot: ctx.cliContext.resolvedHomes.app.declarationRoot,\n frameworkPath: ctx.cliContext.resolvedHomes.framework.repositoryRoot,\n isFrameworkDeveloper: ctx.preferences?.isFrameworkDeveloper ?? false,\n codingAgentPreference: ctx.preferences?.defaults?.codingAgent,\n });\n for (const result of results) {\n const detail = result.detail ? ` (${result.detail})` : '';\n if (result.status === LocalPreconditionCheckStatus.PASS) {\n ctx.log.info(` ✓ ${result.name}${detail}`);\n continue;\n }\n if (result.status === LocalPreconditionCheckStatus.WARN) {\n ctx.log.warn(` ⚠ ${result.name}${detail}`);\n } else {\n ctx.log.error(` ✗ ${result.name}${detail}`);\n blocked = true;\n }\n if (result.fix) {\n ctx.log.info(` ${chalk.dim('fix:')} ${result.fix}`);\n }\n }\n\n return !blocked;\n }\n\n /**\n * Hard-link any missing/drifted framework dist file into the app's pnpm\n * `file:`-injected snapshots BEFORE spawning the app stack, so no consumer\n * boots against a snapshot that is missing a newly-added engine file.\n *\n * Delegates to `scripts/dev-orchestrator/dev-wonder-sync-inputs.mjs\n * --reconcile-injected` in the framework checkout — the same file-level\n * reconciler `sync-engine.sh` uses, which converges added/drifted files in\n * milliseconds without a `pnpm install` (and therefore without the\n * partial-materialization / pnpm-11 `--force` hazards). Best-effort: any\n * failure is logged and swallowed so it never blocks `wildo local dev`; the\n * backgrounded sync daemon repairs on its own compile-ready-gated pass.\n */\n private reconcileInjectedSnapshots(ctx: CommandContext, frameworkPath: string, saasRoot: string): void {\n const script = join(frameworkPath, 'scripts', 'dev-orchestrator', 'dev-wonder-sync-inputs.mjs');\n if (!existsSync(script)) {\n // Not a monorepo-checkout layout (or the script moved) — nothing to reconcile.\n return;\n }\n\n ctx.log.info(' Reconciling injected framework snapshots before app start...');\n try {\n // execFileSync (no shell) so app/framework paths never pass through `/bin/sh`\n // interpolation, and a `timeout` upper-bounds the preflight — a hung\n // filesystem must not block `wildo local dev` forever. A timeout throws, which\n // the catch below turns into the same best-effort warning as any other failure.\n const out = execFileSync(process.execPath, [script, '--framework-root', frameworkPath, '--wonder-root', saasRoot, '--reconcile-injected'], {\n encoding: 'utf-8',\n stdio: 'pipe',\n timeout: 60_000,\n });\n const linked = out.split('\\n').filter((line) => line.includes('Reconciled') || line.includes('already mirror'));\n if (linked.length > 0) {\n ctx.log.info(` ${chalk.dim(linked.join('\\n '))}`);\n }\n ctx.log.success(' ✓ Injected snapshots coherent\\n');\n } catch (error) {\n // A reconcile failure at preflight (e.g. a brand-new engine package with no\n // injected root yet, needing pnpm) must NOT block startup — the sync daemon\n // will escalate. Surface it as a warning with the reconciler's own message.\n const detail =\n error instanceof Error && 'stderr' in error && (error as { stderr?: Buffer }).stderr\n ? (error as { stderr: Buffer }).stderr.toString().trim()\n : ErrorUtils.extractErrorMessage(error);\n ctx.log.warn(\n ` ⚠ Snapshot reconcile did not fully converge (continuing; sync daemon will retry):\\n ${chalk.dim(detail.split('\\n').join('\\n '))}\\n`,\n );\n }\n }\n\n private spawnTree(\n label: string,\n cwd: string,\n logStream: NodeJS.WritableStream,\n color: (s: string) => string,\n consoleRendering: LocalDevConsoleRendering,\n ): SpawnedTree {\n const child = spawn('pnpm', ['dev'], {\n cwd,\n env: { ...process.env, FORCE_COLOR: '1' },\n stdio: ['ignore', 'pipe', 'pipe'],\n detached: SpawnUtils.shouldUseProcessGroups(),\n });\n\n return this.observeChild({\n label,\n child,\n logStream,\n color,\n consoleRendering,\n affectsStackLifetime: true,\n });\n }\n\n private spawnDiagnosticsObserver(\n frameworkRoot: string,\n appRoot: string,\n logStream: NodeJS.WritableStream,\n consoleRendering: LocalDevConsoleRendering,\n ): SpawnedTree | null {\n const scriptPath = join(frameworkRoot, 'scripts/dev-orchestrator/local-dev-status.mjs');\n if (!existsSync(scriptPath)) {\n return null;\n }\n const child = spawn(process.execPath, [scriptPath, '--framework-root', frameworkRoot, '--app-root', appRoot, '--watch', '--changes-only'], {\n cwd: frameworkRoot,\n stdio: ['ignore', 'pipe', 'pipe'],\n detached: SpawnUtils.shouldUseProcessGroups(),\n });\n\n return this.observeChild({\n label: 'diagnostics',\n child,\n logStream,\n color: chalk.magenta,\n consoleRendering,\n affectsStackLifetime: false,\n });\n }\n\n private observeChild({\n label,\n child,\n logStream,\n color,\n consoleRendering,\n affectsStackLifetime,\n }: {\n label: string;\n child: ChildProcess;\n logStream: NodeJS.WritableStream;\n color: (text: string) => string;\n consoleRendering: LocalDevConsoleRendering;\n affectsStackLifetime: boolean;\n }): SpawnedTree {\n const prefix = color(`[${label}] `);\n const outputBoundary = new LocalDevOutputBoundary({\n label,\n consolePrefix: prefix,\n consoleRendering,\n writeConsole: (text) => process.stdout.write(text),\n writeCapture: (text) => logStream.write(text),\n });\n const outputFlow = new LocalDevOutputFlowController({\n pauseSources: () => {\n child.stdout?.pause();\n child.stderr?.pause();\n },\n resumeSources: () => {\n child.stdout?.resume();\n child.stderr?.resume();\n },\n waitForDrain: (sink) => this.waitForWritableDrain(sink === LocalDevOutputSink.CONSOLE ? process.stdout : logStream),\n });\n child.stdout?.on('data', (chunk: Buffer) => {\n outputFlow.accept(outputBoundary.push(LocalDevOutputStream.STDOUT, chunk));\n });\n child.stderr?.on('data', (chunk: Buffer) => {\n outputFlow.accept(outputBoundary.push(LocalDevOutputStream.STDERR, chunk));\n });\n child.stdout?.once('end', () => {\n outputFlow.accept(outputBoundary.end(LocalDevOutputStream.STDOUT));\n });\n child.stderr?.once('end', () => {\n outputFlow.accept(outputBoundary.end(LocalDevOutputStream.STDERR));\n });\n\n const exit = new Promise<number>((resolveExit) => {\n let settled = false;\n const settle = (code: number): void => {\n if (settled) return;\n settled = true;\n resolveExit(code);\n };\n // `close` fires only after the stdio streams close. Settling on `exit`\n // could let the parent end the capture file while the child's final\n // buffered line was still waiting to be decoded and framed.\n child.once('close', (code, signal) => {\n outputFlow.accept(outputBoundary.end(LocalDevOutputStream.STDOUT));\n outputFlow.accept(outputBoundary.end(LocalDevOutputStream.STDERR));\n void outputFlow.waitForIdle().then(() => {\n const suffix = affectsStackLifetime ? '' : '; development stack continues';\n process.stdout.write(chalk.dim(` ${label} exited (code=${code ?? 'null'}, signal=${signal ?? 'null'}${suffix})\\n`));\n settle(code ?? (signal ? 130 : 1));\n });\n });\n child.once('error', (error) => {\n outputFlow.accept(outputBoundary.end(LocalDevOutputStream.STDOUT));\n outputFlow.accept(outputBoundary.end(LocalDevOutputStream.STDERR));\n void outputFlow.waitForIdle().then(() => {\n process.stderr.write(` ${label} failed to spawn: ${error.message}\\n`);\n settle(1);\n });\n });\n });\n\n return { label, child, exit, affectsStackLifetime };\n }\n\n private closeLogStream(logStream: NodeJS.WritableStream): Promise<void> {\n return new Promise((resolveClose, rejectClose) => {\n logStream.once('finish', resolveClose);\n logStream.once('error', rejectClose);\n logStream.end();\n });\n }\n\n private waitForWritableDrain(stream: NodeJS.WritableStream): Promise<void> {\n const writable = stream as NodeJS.WritableStream & { writableNeedDrain?: boolean };\n if (writable.writableNeedDrain === false) return Promise.resolve();\n return new Promise((resolveDrain) => {\n let settled = false;\n const settle = (): void => {\n if (settled) return;\n settled = true;\n writable.removeListener('drain', settle);\n writable.removeListener('close', settle);\n writable.removeListener('error', settle);\n resolveDrain();\n };\n writable.once('drain', settle);\n writable.once('close', settle);\n writable.once('error', settle);\n queueMicrotask(() => {\n if (writable.writableNeedDrain === false) settle();\n });\n });\n }\n}\n"]}
|
|
@@ -89,6 +89,17 @@ import type { CommandMeta, CommandContext, CommandResult } from '../../kernel/ty
|
|
|
89
89
|
export default class LocalDoctorCommand extends BaseCommand {
|
|
90
90
|
readonly meta: CommandMeta;
|
|
91
91
|
run(ctx: CommandContext): Promise<CommandResult>;
|
|
92
|
+
/**
|
|
93
|
+
* The AI uses of the application's service that owe a declaration (`aiUse` on an agent, `aiUsePosture` for a
|
|
94
|
+
* use no agent carries), from the same derivation the compliance brief uses. See `ai-use-declarations.service.ts`.
|
|
95
|
+
*/
|
|
96
|
+
private checkAiUseDeclarations;
|
|
97
|
+
/**
|
|
98
|
+
* Whether each authored environment can serve the classifier-backed content guardrails the agents declare. See
|
|
99
|
+
* `content-guardrail-classifier.service.ts`. The configuration, the environments and the provider catalogue are read
|
|
100
|
+
* from disk; the agents come from the companion read above.
|
|
101
|
+
*/
|
|
102
|
+
private checkContentGuardrailClassifier;
|
|
92
103
|
/**
|
|
93
104
|
* Does the stored managed application config still match `wildo.saas.config.ts`?
|
|
94
105
|
*
|
|
@@ -171,6 +182,13 @@ export default class LocalDoctorCommand extends BaseCommand {
|
|
|
171
182
|
* native build and the exception (plus its template `platform:` pin) is stale.
|
|
172
183
|
*/
|
|
173
184
|
private checkContainerArchitectures;
|
|
185
|
+
/**
|
|
186
|
+
* Declared frontend providers missing a key their module requires (#2658 context), read from the artifacts the
|
|
187
|
+
* last `wildo config sync` wrote. A WARN, never a FAIL: an application without a vendor account still runs, and
|
|
188
|
+
* the provider is simply absent. An artifact written before the required-key list existed is named as such,
|
|
189
|
+
* never reported as "configured".
|
|
190
|
+
*/
|
|
191
|
+
private checkFrontendProviderKeys;
|
|
174
192
|
/**
|
|
175
193
|
* Surface `wildo-shared-pg-*` integration-test servers older than the harness TTL.
|
|
176
194
|
* Observation only — the authoritative reaper lives in the test harness's global
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctor.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/local/doctor.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqFG;AAOH,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAI7D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,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AAC,mBAAmB;IAe3B,OAAO,CAAC,MAAM;CAmCf"}
|
|
@@ -95,10 +95,20 @@ import { CommandCategory } from '../../kernel/types.js';
|
|
|
95
95
|
import { ErrorUtils } from '../../infrastructure/errors/error.utils.js';
|
|
96
96
|
import { WildoDeploymentRuntime, WildoLocationType } from '@wildo-ai/platform-config-lib';
|
|
97
97
|
import { collectCreationPreflightChecks } from '../../services/application/creation-preflight.service.js';
|
|
98
|
+
import { aiUseDeclarationsCheck, assessApplicationAiUseDeclarations, readAgentAiUseDeclarationsFromCompanion, } from '../../services/application/ai-use-declarations.service.js';
|
|
99
|
+
import { resolveCompanionClientOptionsFromContext } from '../../services/companion/companion-client-options.utils.js';
|
|
100
|
+
import { readFrontendProviderKeyReportOnDisk } from '../../services/application/frontend-providers-not-configured.service.js';
|
|
101
|
+
import { describeFrontendProviderNotConfigured } from '@wildo-ai/saas-models';
|
|
98
102
|
import { collectLocalPreconditionChecks } from '../../services/deployment/local-precondition-checks.service.js';
|
|
103
|
+
import { CONTENT_GUARDRAIL_CLASSIFIER_CHECK_NAME, EnvironmentProviderEnvReadingKind, contentGuardrailClassifierCheck, guardedAgentRefs, readEnvironmentClassifiers, readEnvironmentProviderEnv, } from '../../services/application/content-guardrail-classifier.service.js';
|
|
104
|
+
import { getComposedProviderSecretsCatalogue, resolveAndRegisterSaasProviderContributions } from '../../services/credentials/composed-provider-catalogue.js';
|
|
105
|
+
import { settleAllAuthoredInfraEnvConfigs } from '../../services/environment/authored-infra-config.utils.js';
|
|
106
|
+
import { EnvironmentUtils } from '../../services/environment/environment.service.js';
|
|
107
|
+
import { loadSaasConfig, WORKSPACE_CONFIG_NAMES } from '@wildo-ai/platform-config-lib';
|
|
99
108
|
import { LocalPreconditionCheckStatus, } from '../../services/deployment/local-precondition-checks.schemas.js';
|
|
100
109
|
import { InfrastructureHost } from '../../services/environment/infrastructure-host.service.js';
|
|
101
110
|
import { collectHostedInfrastructureLeftovers } from '../../services/environment/hosted-infrastructure-leftovers.service.js';
|
|
111
|
+
import { JsonDocumentLayout, writeJsonDocument } from '../../kernel/json-document-output.js';
|
|
102
112
|
import { StoredDeclarationCurrency, StoredDeclarationCurrencyService, } from '../../services/application/stored-declaration-currency.service.js';
|
|
103
113
|
// Canonical admin user names baked into the framework's container images.
|
|
104
114
|
// Anything else in the user/ACL list is a per-app (or scoped) entry
|
|
@@ -120,6 +130,12 @@ const DECLARED_NON_NATIVE_CONTAINERS = new Set(['wildo-clamav']);
|
|
|
120
130
|
* contract); the doctor only OBSERVES, because reaping belongs to the test harness.
|
|
121
131
|
*/
|
|
122
132
|
const SHARED_PG_LEAK_TTL_MS = 3 * 3_600_000;
|
|
133
|
+
/**
|
|
134
|
+
* How long doctor waits for the dev companion to answer the agents' AI-use declarations (#2848). The introspection
|
|
135
|
+
* imports the application's compiled backend in a subprocess, which takes seconds; past this the agent half of the
|
|
136
|
+
* line is reported as not probed rather than holding the whole diagnostic.
|
|
137
|
+
*/
|
|
138
|
+
const AI_USE_DECLARATIONS_COMPANION_TIMEOUT_MS = 30_000;
|
|
123
139
|
export default class LocalDoctorCommand extends BaseCommand {
|
|
124
140
|
meta = {
|
|
125
141
|
name: 'local doctor',
|
|
@@ -261,6 +277,12 @@ export default class LocalDoctorCommand extends BaseCommand {
|
|
|
261
277
|
// produce a "cannot compare" line beside the health line that already said
|
|
262
278
|
// why.
|
|
263
279
|
results.push(await this.checkDeclarationCurrency(ctx));
|
|
280
|
+
// ─── 11b. Declared frontend providers have their keys ─────────────
|
|
281
|
+
// Read from the artifacts the last `wildo config sync` wrote: a provider declared without the key its module
|
|
282
|
+
// requires is absent from every page, and until this check a browser was the only place that said so.
|
|
283
|
+
if (saasRoot) {
|
|
284
|
+
results.push(this.checkFrontendProviderKeys(saasRoot));
|
|
285
|
+
}
|
|
264
286
|
// ─── 12. Can the application-creation journey START? ──────────────
|
|
265
287
|
//
|
|
266
288
|
// A different question from every check above, which ask whether the STACK is up. These ask
|
|
@@ -280,6 +302,24 @@ export default class LocalDoctorCommand extends BaseCommand {
|
|
|
280
302
|
frameworkRoot: ctx.cliContext.resolvedHomes.framework.repositoryRoot,
|
|
281
303
|
}));
|
|
282
304
|
}
|
|
305
|
+
// ─── 13. Which AI uses still owe a declaration (#2848) ────────────
|
|
306
|
+
//
|
|
307
|
+
// A WARN, never a FAIL, and not a creation-readiness check: the runtime refuses nothing for an undeclared use,
|
|
308
|
+
// and the privacy notice lists it as outstanding. The agents are read from the running companion; without one,
|
|
309
|
+
// the agent half is reported as not probed rather than guessed.
|
|
310
|
+
if (saasRoot) {
|
|
311
|
+
// One companion read for both agent lines: the AI-use declarations and the content-guardrail classifier.
|
|
312
|
+
const agentsRead = this.detectCompanionPort(saasRoot)
|
|
313
|
+
? await readAgentAiUseDeclarationsFromCompanion(await resolveCompanionClientOptionsFromContext(ctx, AI_USE_DECLARATIONS_COMPANION_TIMEOUT_MS))
|
|
314
|
+
: { notReadBecause: 'the dev companion is not running' };
|
|
315
|
+
results.push(await this.checkAiUseDeclarations(saasRoot, agentsRead));
|
|
316
|
+
// ─── 14. Which environments can serve the agents' content guardrails (#2292) ────
|
|
317
|
+
//
|
|
318
|
+
// A WARN, never a FAIL: an agent declaring prompt-injection screening or output moderation refuses every turn in
|
|
319
|
+
// an environment where no AI_CONTENT_SAFETY classifier can serve it, and the backend says so only when it boots
|
|
320
|
+
// THERE. This reads every authored environment, offline, by the provider registry's own ordering rule.
|
|
321
|
+
results.push(await this.checkContentGuardrailClassifier(saasRoot, agentsRead));
|
|
322
|
+
}
|
|
283
323
|
this.render(ctx, results, asJson);
|
|
284
324
|
const hasFailure = results.some((r) => r.status === LocalPreconditionCheckStatus.FAIL);
|
|
285
325
|
return { success: !hasFailure };
|
|
@@ -287,6 +327,58 @@ export default class LocalDoctorCommand extends BaseCommand {
|
|
|
287
327
|
// ────────────────────────────────────────────────────────────────────
|
|
288
328
|
// Individual checks
|
|
289
329
|
// ────────────────────────────────────────────────────────────────────
|
|
330
|
+
/**
|
|
331
|
+
* The AI uses of the application's service that owe a declaration (`aiUse` on an agent, `aiUsePosture` for a
|
|
332
|
+
* use no agent carries), from the same derivation the compliance brief uses. See `ai-use-declarations.service.ts`.
|
|
333
|
+
*/
|
|
334
|
+
async checkAiUseDeclarations(saasRoot, read) {
|
|
335
|
+
const agents = 'agents' in read ? read.agents : undefined;
|
|
336
|
+
const report = await assessApplicationAiUseDeclarations({ saasRoot, agents });
|
|
337
|
+
return aiUseDeclarationsCheck(report, 'notReadBecause' in read ? read.notReadBecause : undefined);
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* Whether each authored environment can serve the classifier-backed content guardrails the agents declare. See
|
|
341
|
+
* `content-guardrail-classifier.service.ts`. The configuration, the environments and the provider catalogue are read
|
|
342
|
+
* from disk; the agents come from the companion read above.
|
|
343
|
+
*/
|
|
344
|
+
async checkContentGuardrailClassifier(saasRoot, read) {
|
|
345
|
+
const guardedAgents = 'agents' in read ? guardedAgentRefs(read.agents) : undefined;
|
|
346
|
+
const notReadBecause = 'notReadBecause' in read
|
|
347
|
+
? read.notReadBecause
|
|
348
|
+
: guardedAgents === undefined ? 'the dev companion\'s agent reading predates the guardrail fields; redeliver the companion' : undefined;
|
|
349
|
+
if (guardedAgents !== undefined && guardedAgents.length === 0)
|
|
350
|
+
return contentGuardrailClassifierCheck({ readings: [], guardedAgents });
|
|
351
|
+
try {
|
|
352
|
+
const saasConfig = await loadSaasConfig(join(saasRoot, WORKSPACE_CONFIG_NAMES.SAAS));
|
|
353
|
+
await resolveAndRegisterSaasProviderContributions({ saasRoot, saasConfig });
|
|
354
|
+
const readings = readEnvironmentClassifiers({
|
|
355
|
+
saasConfig,
|
|
356
|
+
environments: await settleAllAuthoredInfraEnvConfigs(saasRoot),
|
|
357
|
+
catalogue: getComposedProviderSecretsCatalogue(),
|
|
358
|
+
// Only `providerEnv` is read, unvalidated: a file in an older shape still says which keys it holds, and a file
|
|
359
|
+
// that cannot be read is reported with its path, never as absent.
|
|
360
|
+
providerEnvOf: (envName) => {
|
|
361
|
+
let path;
|
|
362
|
+
try {
|
|
363
|
+
path = join(EnvironmentUtils.resolveSecretsDir(envName), 'secrets.json');
|
|
364
|
+
}
|
|
365
|
+
catch (error) {
|
|
366
|
+
return { kind: EnvironmentProviderEnvReadingKind.UNREADABLE, path: `the ${envName} secrets directory`, reason: ErrorUtils.extractErrorMessage(error) };
|
|
367
|
+
}
|
|
368
|
+
return readEnvironmentProviderEnv(path);
|
|
369
|
+
},
|
|
370
|
+
});
|
|
371
|
+
return contentGuardrailClassifierCheck({ readings, guardedAgents, ...(notReadBecause ? { agentsNotReadBecause: notReadBecause } : {}) });
|
|
372
|
+
}
|
|
373
|
+
catch (error) {
|
|
374
|
+
return {
|
|
375
|
+
name: CONTENT_GUARDRAIL_CLASSIFIER_CHECK_NAME,
|
|
376
|
+
status: LocalPreconditionCheckStatus.WARN,
|
|
377
|
+
detail: `not probed: the configuration or the provider catalogue could not be read (${ErrorUtils.extractErrorMessage(error)})`,
|
|
378
|
+
fix: 'Run `wildo config sync` to see why the configuration does not load.',
|
|
379
|
+
};
|
|
380
|
+
}
|
|
381
|
+
}
|
|
290
382
|
/**
|
|
291
383
|
* Does the stored managed application config still match `wildo.saas.config.ts`?
|
|
292
384
|
*
|
|
@@ -785,6 +877,28 @@ export default class LocalDoctorCommand extends BaseCommand {
|
|
|
785
877
|
}
|
|
786
878
|
return results;
|
|
787
879
|
}
|
|
880
|
+
/**
|
|
881
|
+
* Declared frontend providers missing a key their module requires (#2658 context), read from the artifacts the
|
|
882
|
+
* last `wildo config sync` wrote. A WARN, never a FAIL: an application without a vendor account still runs, and
|
|
883
|
+
* the provider is simply absent. An artifact written before the required-key list existed is named as such,
|
|
884
|
+
* never reported as "configured".
|
|
885
|
+
*/
|
|
886
|
+
checkFrontendProviderKeys(saasRoot) {
|
|
887
|
+
const name = 'frontend provider keys';
|
|
888
|
+
const report = readFrontendProviderKeyReportOnDisk(saasRoot);
|
|
889
|
+
if (report === null) {
|
|
890
|
+
return { name, status: LocalPreconditionCheckStatus.PASS, detail: 'no generated provider configuration yet (run `wildo config sync`)' };
|
|
891
|
+
}
|
|
892
|
+
const lines = report.notConfigured.map((entry) => describeFrontendProviderNotConfigured(entry));
|
|
893
|
+
if (report.predatingEntries.length > 0) {
|
|
894
|
+
const named = report.predatingEntries.map((entry) => `"${entry.providerRef}" on service "${entry.serviceKey}"`).join(', ');
|
|
895
|
+
lines.push(`The generated provider configuration predates the required-key check, so it cannot say whether ${named} ${report.predatingEntries.length > 1 ? 'are' : 'is'} configured: run \`wildo config sync\`.`);
|
|
896
|
+
}
|
|
897
|
+
if (lines.length === 0) {
|
|
898
|
+
return { name, status: LocalPreconditionCheckStatus.PASS, detail: 'every declared frontend provider has the keys it requires' };
|
|
899
|
+
}
|
|
900
|
+
return { name, status: LocalPreconditionCheckStatus.WARN, detail: lines.join('\n') };
|
|
901
|
+
}
|
|
788
902
|
/**
|
|
789
903
|
* Surface `wildo-shared-pg-*` integration-test servers older than the harness TTL.
|
|
790
904
|
* Observation only — the authoritative reaper lives in the test harness's global
|
|
@@ -905,7 +1019,7 @@ export default class LocalDoctorCommand extends BaseCommand {
|
|
|
905
1019
|
// ────────────────────────────────────────────────────────────────────
|
|
906
1020
|
render(ctx, results, asJson) {
|
|
907
1021
|
if (asJson) {
|
|
908
|
-
|
|
1022
|
+
writeJsonDocument(results, JsonDocumentLayout.INDENTED);
|
|
909
1023
|
return;
|
|
910
1024
|
}
|
|
911
1025
|
const passCount = results.filter((r) => r.status === LocalPreconditionCheckStatus.PASS).length;
|