@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
|
@@ -2,7 +2,9 @@ import { CreationConsoleAnswerAction, CreationConsoleQuestionKind, parseCreation
|
|
|
2
2
|
import { MetaWorkflow_EvaluationVerdict } from '@wildo-ai/saas-models/meta-workflows';
|
|
3
3
|
import { ApplicationCreatorInputAnswerStanding, playbookInstanceId } from '@wildo-ai/saas-specifications/application-creation';
|
|
4
4
|
import { INTERVIEW_ANSWER_PROPOSER_REF } from '@wildo-ai/application-creation-runtime';
|
|
5
|
-
import {
|
|
5
|
+
import { getFrameworkKnowledgePlaybook } from '@wildo-ai/framework-knowledge';
|
|
6
|
+
import { CompanionClient, CompanionRefusalError, CompanionRequestTimeoutError } from './companion-client.service.js';
|
|
7
|
+
import { PulseFailure, describePulseFailure } from './console-fast-path.js';
|
|
6
8
|
import { GitHelper } from './git-helper.service.js';
|
|
7
9
|
import { CompanionRequestRetryPolicy } from './companion.schemas.js';
|
|
8
10
|
/**
|
|
@@ -23,6 +25,8 @@ export const CreationConsoleClient = {
|
|
|
23
25
|
*/
|
|
24
26
|
readFeedOnce: async (options) => readJsonOnce('/api/companion/creation/feed', options),
|
|
25
27
|
readPulseOnce: async (options) => readJsonOnce('/api/companion/creation/pulse', options),
|
|
28
|
+
/** The eligibility board, as {@link PlaybookStanding} rows — what `wildo creation why` explains an unrun playbook from. */
|
|
29
|
+
readPlaybookBoard: (options) => CompanionClient.get('/api/companion/playbooks', options),
|
|
26
30
|
readQuestions: (options) => CompanionClient.get('/api/companion/creation/questions', options),
|
|
27
31
|
answer: (options, request) => CompanionClient.post('/api/companion/creation/questions/answer', request, options),
|
|
28
32
|
/* Interview depth and proposed answers (#2129). Proposing writes nothing; depth is a dossier write. */
|
|
@@ -43,7 +47,11 @@ export const CreationConsoleClient = {
|
|
|
43
47
|
derivePersona: (options, roleRef) => CompanionClient.post('/api/companion/expert-personas/derive', { roleRef }, options),
|
|
44
48
|
acceptPersona: (options, roleRef) => CompanionClient.post('/api/companion/expert-personas/accept', { roleRef }, options),
|
|
45
49
|
deliberate: (options, request) => CompanionClient.post('/api/companion/deliberations/run', request, options),
|
|
50
|
+
/* The logo (#2411): deliberate then accept in one call; refused over an accepted mark unless `redraw`. */
|
|
51
|
+
brandLogo: (options, redraw) => CompanionClient.post('/api/companion/brand/logo', redraw ? { redraw: true } : {}, options),
|
|
46
52
|
acceptRun: (options, runId, force) => CompanionClient.post(`/api/companion/runs/writes/${encodeURIComponent(runId)}/accept`, force ? { force: true } : {}, options),
|
|
53
|
+
/* The creator's recorded answers, committed on their own (#2332). */
|
|
54
|
+
acceptDossier: (options) => CompanionClient.post('/api/companion/creation/dossier/accept', {}, options),
|
|
47
55
|
};
|
|
48
56
|
/**
|
|
49
57
|
* Whether a feed line is the one a console REFERENCE names — a question id, a line id, a run id, a
|
|
@@ -54,6 +62,64 @@ export function feedLineNamesReference(line, reference) {
|
|
|
54
62
|
return line.questionId === reference || line.lineId === reference || line.targetResourceId === reference
|
|
55
63
|
|| line.target?.runId === reference || line.taskRef === reference || line.playbookRef === reference;
|
|
56
64
|
}
|
|
65
|
+
export function locateInterviewInQueue(playbookRef, unansweredQuestionRefs, queue) {
|
|
66
|
+
const compiled = getFrameworkKnowledgePlaybook(playbookRef)?.playbook;
|
|
67
|
+
const sharedByRef = new Map((compiled?.method?.elicitation?.questions ?? [])
|
|
68
|
+
.filter((question) => question.sameDecisionAs !== undefined)
|
|
69
|
+
.map((question) => [question.ref, question.sameDecisionAs]));
|
|
70
|
+
const asked = new Set(queue.questions
|
|
71
|
+
.filter((question) => question.kind === CreationConsoleQuestionKind.INTERVIEW && question.instanceKey === null && question.playbookRef !== null)
|
|
72
|
+
.flatMap((question) => question.fields.map((field) => `${question.playbookRef}#${field.ref}`)));
|
|
73
|
+
const askedNow = [];
|
|
74
|
+
const notAskedYet = [];
|
|
75
|
+
for (const ref of unansweredQuestionRefs) {
|
|
76
|
+
const shared = sharedByRef.get(ref);
|
|
77
|
+
if (asked.has(`${playbookRef}#${ref}`))
|
|
78
|
+
askedNow.push(ref);
|
|
79
|
+
else if (shared && asked.has(`${shared.playbookRef}#${shared.questionRef}`))
|
|
80
|
+
askedNow.push(`${ref} (asked as ${shared.playbookRef}#${shared.questionRef})`);
|
|
81
|
+
else
|
|
82
|
+
notAskedYet.push(ref);
|
|
83
|
+
}
|
|
84
|
+
return { askedNow, notAskedYet };
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Where a playbook stands NOW: what holds it (from the board), and where each unanswered interview question
|
|
88
|
+
* stands (from the queue, see {@link locateInterviewInQueue}).
|
|
89
|
+
*
|
|
90
|
+
* The unmet preconditions lead when it cannot run. Saying its questions waited on the person sent them to
|
|
91
|
+
* `wildo creation answer`, which refuses a question the queue is not asking (app-creation-test-005,
|
|
92
|
+
* 2026-10-03). `interview` absent means the queue could not be read: the questions are then named without a
|
|
93
|
+
* claim about whether they are asked.
|
|
94
|
+
*/
|
|
95
|
+
export function describePlaybookStanding(standing, hasRecentRun, interview) {
|
|
96
|
+
const unanswered = standing.unansweredQuestionRefs ?? [];
|
|
97
|
+
const onRecord = standing.wouldReplace ?? [];
|
|
98
|
+
const history = hasRecentRun ? '' : onRecord.length > 0 ? `, no recent run (on record: ${onRecord.join(', ')})` : ', no recent run and nothing on record';
|
|
99
|
+
const askedNow = interview?.askedNow ?? [];
|
|
100
|
+
const state = !standing.eligible ? 'blocked' : unanswered.length > 0 ? 'waiting for you' : 'eligible: nothing holds it';
|
|
101
|
+
const out = [`playbook ${standing.playbookRef} — ${state}${history}`];
|
|
102
|
+
if (!standing.eligible) {
|
|
103
|
+
for (const reason of standing.unmet.length > 0 ? standing.unmet : ['not eligible, and the board gave no reason'])
|
|
104
|
+
out.push(` unmet: ${reason}`);
|
|
105
|
+
}
|
|
106
|
+
if (unanswered.length === 0)
|
|
107
|
+
return out;
|
|
108
|
+
out.push(` its interview: ${unanswered.length} question(s) unanswered — ${unanswered.join(', ')}`);
|
|
109
|
+
if (interview === undefined) {
|
|
110
|
+
out.push(' could not read the question queue, so whether they are asked now is not known: wildo creation questions');
|
|
111
|
+
return out;
|
|
112
|
+
}
|
|
113
|
+
if (askedNow.length > 0)
|
|
114
|
+
out.push(` asked now: ${askedNow.join(', ')} → wildo creation questions`);
|
|
115
|
+
if (interview.notAskedYet.length > 0) {
|
|
116
|
+
out.push(standing.eligible
|
|
117
|
+
// Eligible and still not queued is a disagreement this command cannot explain; it says so rather than guess.
|
|
118
|
+
? ` not in the question queue, although it can run: ${interview.notAskedYet.join(', ')}`
|
|
119
|
+
: ` not asked yet: ${interview.notAskedYet.join(', ')} — the queue asks ${interview.notAskedYet.length === 1 ? 'it' : 'them'} once nothing above holds this playbook`);
|
|
120
|
+
}
|
|
121
|
+
return out;
|
|
122
|
+
}
|
|
57
123
|
/** One round of a playbook loop in words: what ran and what it landed or hit, what was refused, or why it stopped. */
|
|
58
124
|
export function describeLoopStep(step) {
|
|
59
125
|
const lines = [`round ${step.iteration}${step.stopRationale ? ` — stopped: ${step.stopRationale}` : ''}`];
|
|
@@ -67,8 +133,9 @@ export function describeLoopStep(step) {
|
|
|
67
133
|
}
|
|
68
134
|
async function readJsonOnce(path, options) {
|
|
69
135
|
const response = await CompanionClient.request(path, { method: 'GET' }, options, CompanionRequestRetryPolicy.NO_RETRY);
|
|
136
|
+
// Typed, so a caller can tell "it answered no" from "nothing is there" without reading the message.
|
|
70
137
|
if (!response.ok)
|
|
71
|
-
throw new
|
|
138
|
+
throw new CompanionRefusalError(`Companion API ${path}: ${response.status} ${response.statusText}`, response.status);
|
|
72
139
|
return await response.json();
|
|
73
140
|
}
|
|
74
141
|
/**
|
|
@@ -86,27 +153,38 @@ export function describeFeedLineCompact(line) {
|
|
|
86
153
|
* event. The first successful feed read only establishes what already happened (the session-start brief
|
|
87
154
|
* reported it). A companion that cannot be reached is said once, and its return once. Runs until
|
|
88
155
|
* `shouldStop` answers true (the command passes a function that never does).
|
|
156
|
+
*
|
|
157
|
+
* "Cannot be reached" has three meanings, and only one of them may say "start it" (#2394). Nothing
|
|
158
|
+
* listening means the companion is not running. A request that TIMES OUT means a process accepted the
|
|
159
|
+
* connection and did not answer in time: running and busy. An HTTP error status means it answered and
|
|
160
|
+
* said no, while starting or in diagnostics: running too. Telling a person or a supervisor to start a
|
|
161
|
+
* running companion ended in a restart that killed the runs it was busy with. On app-creation-test-005
|
|
162
|
+
* the monitor flipped to "not reachable" every one to two minutes through a build wave, on one live pid.
|
|
163
|
+
* The wording is the pulse's (`describePulseFailure`), so `wildo creation pulse` says the same thing.
|
|
89
164
|
*/
|
|
90
165
|
export async function watchCreationEvents(port) {
|
|
91
166
|
let seen = null;
|
|
92
167
|
let lastPulseKey = null;
|
|
93
168
|
let lastFeedAt = Number.NEGATIVE_INFINITY;
|
|
94
|
-
|
|
169
|
+
/** Why the last pulse failed, or `null` while the companion answers. */
|
|
170
|
+
let failure = null;
|
|
95
171
|
while (!port.shouldStop()) {
|
|
96
172
|
let pulseKey = null;
|
|
97
173
|
try {
|
|
98
174
|
const pulse = await port.readPulse();
|
|
99
175
|
pulseKey = `${pulse.sequence}:${pulse.runsInFlight}`;
|
|
100
|
-
if (
|
|
101
|
-
port.say('Dev companion is back.');
|
|
102
|
-
|
|
176
|
+
if (failure !== null) {
|
|
177
|
+
port.say(failure === PulseFailure.UNREACHABLE ? 'Dev companion is back.' : 'Dev companion is answering again.');
|
|
178
|
+
failure = null;
|
|
103
179
|
lastPulseKey = null;
|
|
104
180
|
}
|
|
105
181
|
}
|
|
106
|
-
catch {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
182
|
+
catch (error) {
|
|
183
|
+
const next = classifyCompanionRequestFailure(error);
|
|
184
|
+
// Said once per state: a companion going from busy to stopped (or back) is news, the same one twice is not.
|
|
185
|
+
if (next !== failure)
|
|
186
|
+
port.say(`Dev companion ${describePulseFailure(next)} Waiting for it.`);
|
|
187
|
+
failure = next;
|
|
110
188
|
}
|
|
111
189
|
if (pulseKey !== null && (pulseKey !== lastPulseKey || port.now() - lastFeedAt >= port.feedFallbackMs)) {
|
|
112
190
|
try {
|
|
@@ -130,6 +208,25 @@ export async function watchCreationEvents(port) {
|
|
|
130
208
|
await port.sleep(port.pulseIntervalMs);
|
|
131
209
|
}
|
|
132
210
|
}
|
|
211
|
+
/**
|
|
212
|
+
* Why a request to the companion failed, in the pulse's vocabulary, so the watcher and `wildo creation
|
|
213
|
+
* pulse` give the same advice (#2394 review L1). A timeout — including one that fires while the body is
|
|
214
|
+
* read, after the headers — means a process is there and busy; an HTTP error status, or a body that does
|
|
215
|
+
* not parse, means it is there and answered something unusable; anything else (a refused or reset
|
|
216
|
+
* connection, no endpoint, no token) means nothing is listening.
|
|
217
|
+
*/
|
|
218
|
+
export function classifyCompanionRequestFailure(error) {
|
|
219
|
+
if (error instanceof CompanionRequestTimeoutError)
|
|
220
|
+
return PulseFailure.SLOW;
|
|
221
|
+
if (error instanceof Error && (error.name === 'TimeoutError' || error.name === 'AbortError'))
|
|
222
|
+
return PulseFailure.SLOW;
|
|
223
|
+
if (error instanceof CompanionRefusalError)
|
|
224
|
+
return PulseFailure.REFUSED;
|
|
225
|
+
// `response.json()` on a body that is not JSON: it answered, so it is running.
|
|
226
|
+
if (error instanceof SyntaxError)
|
|
227
|
+
return PulseFailure.REFUSED;
|
|
228
|
+
return PulseFailure.UNREACHABLE;
|
|
229
|
+
}
|
|
133
230
|
/** The Home sections whose lines are EVENTS a follower waits for; suggestions move with every edit and are not. */
|
|
134
231
|
const FOLLOWED_SECTIONS = new Set([WorkbenchCreationHomeSection.SINCE, WorkbenchCreationHomeSection.ASKED]);
|
|
135
232
|
/**
|
|
@@ -197,6 +294,11 @@ export function describeFeedLine(line) {
|
|
|
197
294
|
out.push(` ${error}`);
|
|
198
295
|
break;
|
|
199
296
|
}
|
|
297
|
+
case WorkbenchCreationHomeLineKind.CODING_AGENT_USAGE_LIMITED:
|
|
298
|
+
// `subject` is when the build resumes; the task is the one whose run met the limit (#2388).
|
|
299
|
+
out.push(`PAUSED coding agent usage limit reached — resumes at ${line.subject ?? 'its reset'}${when}`);
|
|
300
|
+
out.push(` met by build task ${line.taskRef ?? line.targetResourceId}; no attempt is counted, and the build continues on its own`);
|
|
301
|
+
break;
|
|
200
302
|
case WorkbenchCreationHomeLineKind.CLARIFICATION:
|
|
201
303
|
out.push(`ASKED playbook ${subject} stopped on questions only you can answer${when}`);
|
|
202
304
|
break;
|
|
@@ -293,8 +395,19 @@ export function describeQuestion(question) {
|
|
|
293
395
|
out.push(` [${field.ref}] ${field.question}`);
|
|
294
396
|
if (field.why)
|
|
295
397
|
out.push(` why: ${field.why}`);
|
|
296
|
-
if (field.options.length > 0)
|
|
398
|
+
if (field.options.length > 0 && field.optionDetails !== undefined) {
|
|
399
|
+
// A computed option is a summary; what it summarizes is printed under it, so it is never chosen blind (#2337).
|
|
400
|
+
out.push(' options:');
|
|
401
|
+
field.options.forEach((option, index) => {
|
|
402
|
+
out.push(` - ${option}`);
|
|
403
|
+
const detail = field.optionDetails?.[index];
|
|
404
|
+
if (detail)
|
|
405
|
+
out.push(` ${detail}`);
|
|
406
|
+
});
|
|
407
|
+
}
|
|
408
|
+
else if (field.options.length > 0) {
|
|
297
409
|
out.push(` options: ${field.options.join(' | ')}`);
|
|
410
|
+
}
|
|
298
411
|
}
|
|
299
412
|
for (const command of describeAnswerCommand(question))
|
|
300
413
|
out.push(` → ${command}`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"creation-console.service.js","sourceRoot":"","sources":["../../../../../../src/services/companion/creation-console.service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,8BAA8B,EAU9B,6BAA6B,EAC7B,4BAA4B,GAC7B,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAA6B,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AACjH,OAAO,EAAE,qCAAqC,EAAE,kBAAkB,EAA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estionId,\n type CreationConsole_AnswerOutcome,\n type CreationConsole_AnswerRequest,\n type CreationConsole_Feed,\n type CreationConsole_FeedLine,\n type CreationConsole_ProposalRequest,\n type CreationConsole_ProposalResponse,\n type CreationConsole_Pulse,\n type CreationConsole_Question,\n type CreationConsole_QuestionQueue,\n WorkbenchCreationHomeLineKind,\n WorkbenchCreationHomeSection,\n} from '@wildo-ai/platform-core-shared';\n\nimport { ApplicationInterviewDepth, MetaWorkflow_EvaluationVerdict } from '@wildo-ai/saas-models/meta-workflows';\nimport { ApplicationCreatorInputAnswerStanding, playbookInstanceId } from '@wildo-ai/saas-specifications/application-creation';\nimport { INTERVIEW_ANSWER_PROPOSER_REF } from '@wildo-ai/application-creation-runtime';\n\nimport { CompanionClient } from './companion-client.service';\nimport type { CreationRunReport } from './creation-run-report.models';\nimport type { ConsoleAcceptOutcome } from './build-console.service';\nimport { GitHelper } from './git-helper.service';\nimport { CompanionRequestRetryPolicy, type CompanionClientOptions } from './companion.schemas';\n\n/**\n * The CREATION CONSOLE on the CLI side — how a coding-agent session (or a person at a terminal)\n * follows what the companion did and answers what it asks.\n *\n * The companion is the master of creation; the console drives it and the workbench shows its state.\n * Everything here reads the companion's `/api/companion/creation/*` routes, which serve the SAME\n * creation-plane rows the workbench renders and answer through the SAME services — so this module\n * holds transport and wording only, never a fact of its own.\n */\nexport const CreationConsoleClient = {\n readFeed: (options: CompanionClientOptions): Promise<CreationConsole_Feed> =>\n CompanionClient.get<CreationConsole_Feed>('/api/companion/creation/feed', options),\n\n /**\n * The feed and the pulse in ONE attempt each (#1657): a background watcher and a session-start hook\n * must learn at once that the companion is down, not after the safe-read retries a person's command\n * gets. A refusal and a failed connection both throw, as `get` does.\n */\n readFeedOnce: async (options: CompanionClientOptions): Promise<CreationConsole_Feed> =>\n readJsonOnce<CreationConsole_Feed>('/api/companion/creation/feed', options),\n readPulseOnce: async (options: CompanionClientOptions): Promise<CreationConsole_Pulse> =>\n readJsonOnce<CreationConsole_Pulse>('/api/companion/creation/pulse', options),\n\n readQuestions: (options: CompanionClientOptions): Promise<CreationConsole_QuestionQueue> =>\n CompanionClient.get<CreationConsole_QuestionQueue>('/api/companion/creation/questions', options),\n\n answer: (options: CompanionClientOptions, request: CreationConsole_AnswerRequest): Promise<CreationConsole_AnswerOutcome> =>\n CompanionClient.post<CreationConsole_AnswerOutcome>('/api/companion/creation/questions/answer', request, options),\n\n /* Interview depth and proposed answers (#2129). Proposing writes nothing; depth is a dossier write. */\n setInterviewDepth: (options: CompanionClientOptions, interviewDepth: ApplicationInterviewDepth) =>\n CompanionClient.post<{ readonly interviewDepth: string; readonly packageRelativePath: string }>('/api/companion/creation/interview/depth', { interviewDepth }, options),\n proposeInterviewAnswers: (options: CompanionClientOptions, request: CreationConsole_ProposalRequest): Promise<CreationConsole_ProposalResponse> =>\n CompanionClient.post<CreationConsole_ProposalResponse>('/api/companion/creation/interview/proposals', request, options),\n\n /* The write register (#1652): what each playbook run wrote, its diff, revert and accept. */\n writes: (options: CompanionClientOptions) =>\n CompanionClient.get<{ readonly runs: ReadonlyArray<{ readonly runId: string; readonly playbookRef: string; readonly at: string; readonly files: ReadonlyArray<{ readonly path: string; readonly existedBefore: boolean }> }> }>('/api/companion/runs/writes', options),\n diff: (options: CompanionClientOptions, runId: string) =>\n CompanionClient.get<{ readonly runId: string; readonly playbookRef: string; readonly at: string; readonly files: ReadonlyArray<{ readonly path: string; readonly diverged: boolean; readonly diff: string }> }>(`/api/companion/runs/writes/${encodeURIComponent(runId)}/diff`, options),\n revert: (options: CompanionClientOptions, runId: string, force: boolean) =>\n // `refusedLaterRun` (#1614, #1666): files a LATER run landed on, never reverted — not even under force.\n // Both refusal lists OPTIONAL: a companion older than a field omits it, and the renderer reads it so.\n CompanionClient.post<{\n readonly reverted: readonly string[];\n readonly refusedDiverged?: readonly string[];\n readonly refusedLaterRun?: ReadonlyArray<{ readonly path: string; readonly runId: string }>;\n }>(`/api/companion/runs/writes/${encodeURIComponent(runId)}/revert`, force ? { force: true } : {}, options),\n /* The run report and the intervention ledger (#2231): read-only, plus the one thing it asks — a reason. */\n report: (options: CompanionClientOptions): Promise<CreationRunReport> =>\n CompanionClient.get<CreationRunReport>('/api/companion/creation/report', options),\n stateInterventionReason: (options: CompanionClientOptions, interventionId: string, reason: string) =>\n CompanionClient.post<{ readonly interventionId: string; readonly statedAt: string }>(\n `/api/companion/creation/interventions/${encodeURIComponent(interventionId)}/reason`, { reason }, options),\n loop: (options: CompanionClientOptions, request: { readonly goal: string; readonly maximumIterations: number; readonly fanOut?: number; readonly skipPreflight?: boolean }) =>\n CompanionClient.post<ConsoleLoopResult>('/api/companion/playbooks/loop', request, options),\n /* Reviewer charters and deliberations (#1656): the console door to what `journey-run` taught as raw routes. */\n derivePersona: (options: CompanionClientOptions, roleRef: string) =>\n CompanionClient.post<Record<string, unknown>>('/api/companion/expert-personas/derive', { roleRef }, options),\n acceptPersona: (options: CompanionClientOptions, roleRef: string) =>\n CompanionClient.post<Record<string, unknown>>('/api/companion/expert-personas/accept', { roleRef }, options),\n deliberate: (options: CompanionClientOptions, request: Record<string, unknown>) =>\n CompanionClient.post<Record<string, unknown>>('/api/companion/deliberations/run', request, options),\n acceptRun: (options: CompanionClientOptions, runId: string, force: boolean) =>\n CompanionClient.post<ConsoleAcceptOutcome>(`/api/companion/runs/writes/${encodeURIComponent(runId)}/accept`, force ? { force: true } : {}, options),\n};\n\n/**\n * Whether a feed line is the one a console REFERENCE names — a question id, a line id, a run id, a\n * build task or a playbook. Every identifier the console prints resolves through this one predicate,\n * so `wildo creation why` and `wildo workbench open` accept exactly the same references.\n */\nexport function feedLineNamesReference(line: CreationConsole_FeedLine, reference: string): boolean {\n return line.questionId === reference || line.lineId === reference || line.targetResourceId === reference\n || line.target?.runId === reference || line.taskRef === reference || line.playbookRef === reference;\n}\n\n/** What `POST /playbooks/loop` answers — only the fields the console prints; `--json` prints the rest. */\nexport interface ConsoleLoopResult {\n readonly stoppedBecause: string;\n readonly steps: ReadonlyArray<{\n readonly iteration: number;\n readonly lanes: ReadonlyArray<{ readonly playbookRef: string; readonly rationale: string; readonly landed?: readonly string[]; readonly failure?: string }>;\n readonly droppedLanes: ReadonlyArray<{ readonly playbookRef: string; readonly reason: string }>;\n readonly stopRationale?: string;\n }>;\n}\n\n/** One round of a playbook loop in words: what ran and what it landed or hit, what was refused, or why it stopped. */\nexport function describeLoopStep(step: ConsoleLoopResult['steps'][number]): string[] {\n const lines = [`round ${step.iteration}${step.stopRationale ? ` — stopped: ${step.stopRationale}` : ''}`];\n for (const lane of step.lanes) {\n lines.push(` ${lane.playbookRef} — ${lane.failure ? `failed: ${lane.failure}` : `landed ${lane.landed?.join(', ') || 'nothing'}`}`);\n lines.push(` why this one: ${lane.rationale}`);\n }\n for (const dropped of step.droppedLanes) lines.push(` not run: ${dropped.playbookRef} — ${dropped.reason}`);\n return lines;\n}\n\nasync function readJsonOnce<T>(path: string, options: CompanionClientOptions): Promise<T> {\n const response = await CompanionClient.request(path, { method: 'GET' }, options, CompanionRequestRetryPolicy.NO_RETRY);\n if (!response.ok) throw new Error(`Companion API ${path}: ${response.status} ${response.statusText}`);\n return await response.json() as T;\n}\n\n/**\n * One feed line as ONE line of text — what the background watcher prints, because each line it prints\n * becomes one notification in the session (#1657). The same words as {@link describeFeedLine}, joined.\n */\nexport function describeFeedLineCompact(line: CreationConsole_FeedLine): string {\n return describeFeedLine(line).map((text) => text.trim()).join(' · ');\n}\n\n/**\n * The console's PUSH loop (#1657), behind `wildo creation watch` — separated from the command so its\n * behaviour is pinned without a companion or a clock.\n *\n * Polls the pulse; reads the feed when the pulse moved or `feedFallbackMs` passed; says ONE line per new\n * event. The first successful feed read only establishes what already happened (the session-start brief\n * reported it). A companion that cannot be reached is said once, and its return once. Runs until\n * `shouldStop` answers true (the command passes a function that never does).\n */\nexport async function watchCreationEvents(port: {\n readonly readPulse: () => Promise<CreationConsole_Pulse>;\n readonly readFeed: () => Promise<CreationConsole_Feed>;\n readonly say: (text: string) => void;\n readonly sleep: (ms: number) => Promise<void>;\n readonly now: () => number;\n readonly shouldStop: () => boolean;\n readonly pulseIntervalMs: number;\n readonly feedFallbackMs: number;\n}): Promise<void> {\n let seen: Set<string> | null = null;\n let lastPulseKey: string | null = null;\n let lastFeedAt = Number.NEGATIVE_INFINITY;\n let down = false;\n while (!port.shouldStop()) {\n let pulseKey: string | null = null;\n try {\n const pulse = await port.readPulse();\n pulseKey = `${pulse.sequence}:${pulse.runsInFlight}`;\n if (down) {\n port.say('Dev companion is back.');\n down = false;\n lastPulseKey = null;\n }\n } catch {\n if (!down) port.say('Dev companion is not reachable; waiting for it (start it with `wildo local dev`).');\n down = true;\n }\n if (pulseKey !== null && (pulseKey !== lastPulseKey || port.now() - lastFeedAt >= port.feedFallbackMs)) {\n try {\n const feed = await port.readFeed();\n lastFeedAt = port.now();\n if (seen === null) {\n seen = new Set(feed.lines.map(feedLineSignature));\n } else {\n for (const line of newFollowedLines(feed.lines, seen)) {\n seen.add(feedLineSignature(line));\n port.say(describeFeedLineCompact(line));\n }\n }\n lastPulseKey = pulseKey;\n } catch {\n /* The pulse answered and the feed did not: try again next tick without announcing anything. */\n }\n }\n await port.sleep(port.pulseIntervalMs);\n }\n}\n\n/** The Home sections whose lines are EVENTS a follower waits for; suggestions move with every edit and are not. */\nconst FOLLOWED_SECTIONS: ReadonlySet<string> = new Set([WorkbenchCreationHomeSection.SINCE, WorkbenchCreationHomeSection.ASKED]);\n\n/**\n * A line's SIGNATURE — what makes it \"the same line\" to a follower. A line whose facts changed (a\n * dispatch that became acceptable, a run that failed) is news again; the attached row is excluded,\n * because its timestamps move on every read without anything having happened.\n */\nexport function feedLineSignature(line: CreationConsole_FeedLine): string {\n return JSON.stringify([line.lineId, line.at, line.failed, line.acceptable, line.needsAnswers, line.stuckReason, line.questionId]);\n}\n\n/**\n * The followed lines that are NEW since `seen` — the one comparison `--follow` makes. `seen` is the\n * set of signatures already printed, so a line printed once is never printed twice, however often\n * the feed is read.\n */\nexport function newFollowedLines(lines: readonly CreationConsole_FeedLine[], seen: ReadonlySet<string>): CreationConsole_FeedLine[] {\n return lines.filter((line) => FOLLOWED_SECTIONS.has(line.section) && !seen.has(feedLineSignature(line)));\n}\n\nfunction stringField(row: Record<string, unknown> | null, field: string): string | null {\n const value = row?.[field];\n return typeof value === 'string' && value.length > 0 ? value : null;\n}\n\n/**\n * One feed line in words. The kind vocabulary is the companion's (`WorkbenchCreationHomeLineKind`);\n * an unknown kind is printed as its raw value rather than guessed at, so a newer companion's line is\n * visibly unfamiliar instead of quietly misdescribed.\n */\nexport function describeFeedLine(line: CreationConsole_FeedLine): string[] {\n const subject = line.playbookRef ?? line.taskRef ?? line.subject ?? line.targetResourceId;\n const when = line.at ? ` (${line.at})` : '';\n const out: string[] = [];\n switch (line.kind) {\n case WorkbenchCreationHomeLineKind.RUN_COMPLETED: {\n out.push(`${line.failed ? 'REFUSED' : 'completed'} playbook ${subject}${when}`);\n const verdict = stringField(line.target, 'judgeOverall');\n if (verdict) out.push(` judge: ${verdict}`);\n /* The criteria that did not pass are what a console acts on; a PASS needs no rationale read out. */\n const criteria = line.target?.judgeCriteria;\n if (Array.isArray(criteria)) {\n for (const criterion of criteria as { criterionRef?: unknown; verdict?: unknown; rationale?: unknown }[]) {\n if (criterion.verdict === MetaWorkflow_EvaluationVerdict.PASS || typeof criterion.criterionRef !== 'string') continue;\n out.push(` ${String(criterion.verdict)} ${criterion.criterionRef}: ${String(criterion.rationale ?? '')}`);\n }\n }\n const skipped = stringField(line.target, 'judgeSkipped');\n if (skipped) out.push(` judge did not run: ${skipped}`);\n const error = stringField(line.target, 'error');\n if (error) out.push(` ${error}`);\n break;\n }\n case WorkbenchCreationHomeLineKind.RUN_INTERRUPTED:\n out.push(`interrupted playbook ${subject}${when} — running it again resumes it`);\n break;\n case WorkbenchCreationHomeLineKind.DISPATCH_SETTLED: {\n const objective = stringField(line.target, 'objective');\n out.push(`${line.failed ? 'FAILED' : 'finished'} build task ${subject}${when}${objective ? ` — ${objective}` : ''}`);\n if (line.acceptable) out.push(` its writes wait to be committed → wildo build accept ${line.taskRef ?? subject}`);\n const error = stringField(line.target, 'error');\n if (error) out.push(` ${error}`);\n break;\n }\n case WorkbenchCreationHomeLineKind.CLARIFICATION:\n out.push(`ASKED playbook ${subject} stopped on questions only you can answer${when}`);\n break;\n case WorkbenchCreationHomeLineKind.PARKED_QUESTION:\n out.push(`ASKED the coding run for ${subject} is parked on a question${when}`);\n break;\n case WorkbenchCreationHomeLineKind.GOVERNANCE_DOCUMENT:\n out.push(`ASKED governed document ${subject} still needs facts (answer them in the workbench)`);\n break;\n case WorkbenchCreationHomeLineKind.UNBLOCK_THE_PLAN:\n out.push(`ASKED the build plan is stuck at ${subject}: ${line.stuckReason ?? 'no reason recorded'}`);\n break;\n case WorkbenchCreationHomeLineKind.CONTINUE_THE_PLAN:\n out.push(`next build task ${line.taskRef ?? subject}${line.subject ? ` — ${line.subject}` : ''}`);\n break;\n case WorkbenchCreationHomeLineKind.PRODUCE_MISSING:\n out.push(`next playbook ${subject} would produce a missing artifact${line.needsAnswers ? ' (it has questions for you first)' : ''}`);\n break;\n case WorkbenchCreationHomeLineKind.REFRESH_STALE:\n out.push(`next playbook ${subject} would refresh a stale artifact${line.needsAnswers ? ' (it has questions for you first)' : ''}`);\n break;\n default:\n out.push(`${line.kind} ${subject}${when}`);\n }\n if (line.questionId) out.push(` question: ${line.questionId} → wildo creation questions`);\n return out;\n}\n\n/** The `wildo creation answer` invocation that answers a question, for a reader to copy. */\nexport function describeAnswerCommand(question: CreationConsole_Question): string[] {\n if (question.actions.length === 0) return [];\n const revision = question.revision !== null ? ` --revision ${question.revision}` : '';\n const commands: string[] = [];\n if (question.actions.includes(CreationConsoleAnswerAction.ANSWER)) {\n commands.push(question.fields.length === 1\n /*\n * `--person` in the hint: the command is copied by agents as often as by people, and from inside an\n * agent session an unattributed answer is refused (#1658). For a person at a terminal it names what\n * the default would have been anyway.\n */\n ? `wildo creation answer ${question.questionId}${revision} --person \"<answer>\"`\n : `wildo creation answer ${question.questionId}${revision} --person --answer ${question.fields.map((field) => `${field.ref}=\"<answer>\"`).join(' ')}`);\n }\n /* An interview question the person does not know (#2129): have it proposed, then keep the proposal as an assumption. */\n if (question.kind === CreationConsoleQuestionKind.INTERVIEW && question.proposable === true && question.assumedAnswer === null && question.playbookRef !== null) {\n commands.push(`wildo creation propose ${question.playbookRef}${question.instanceKey ? ` --instance ${question.instanceKey}` : ''} --question ${question.fields[0]!.ref}`);\n }\n if (question.actions.includes(CreationConsoleAnswerAction.DECLINE)) commands.push(`wildo creation answer ${question.questionId}${revision} --decline`);\n if (question.actions.includes(CreationConsoleAnswerAction.CANCEL)) commands.push(`wildo creation answer ${question.questionId}${revision} --cancel`);\n return commands;\n}\n\nconst QUESTION_KIND_WORDS: Readonly<Record<CreationConsoleQuestionKind, string>> = {\n [CreationConsoleQuestionKind.CLARIFICATION]: 'a playbook run stopped to ask',\n [CreationConsoleQuestionKind.PARKED_CODING_QUESTION]: 'a coding run is parked on a question',\n [CreationConsoleQuestionKind.INTERVIEW]: 'a step can run once this is answered',\n [CreationConsoleQuestionKind.GOVERNANCE_FACT]: 'a drafted governed document needs this fact — answer it in the workbench',\n};\n\n/** One queued question in words, followed by the command(s) that answer it. */\nexport function describeQuestion(question: CreationConsole_Question): string[] {\n const step = question.playbookRef === null ? null : playbookInstanceId(question.playbookRef, question.instanceKey ?? undefined);\n const about = step ?? question.taskRef ?? question.definitionRef ?? '';\n const out: string[] = [`${question.questionId} — ${QUESTION_KIND_WORDS[question.kind]}${about ? ` (${about})` : ''}`];\n if (question.producingFamily) out.push(` producing: ${question.producingFamily}`);\n if (question.dryRun === true) out.push(' dry run: answering writes nothing');\n if (question.routedToUserId) out.push(' asked of the person who started its run: only they may answer it — in the workbench, signed in as them');\n if (question.resumable === false) out.push(' the run cannot re-enter its session: answering starts a new one that restates the task');\n if (question.affectsFamilies.length > 0) out.push(` an answer reaches: ${question.affectsFamilies.join(', ')}`);\n if (question.kind === CreationConsoleQuestionKind.INTERVIEW) {\n /* #2129: whether a simple interview asks it, and whether a proposal can stand in when the person does not know. */\n if (question.askedInSimpleInterview === false) out.push(' detail: a simple interview proposes it instead of asking');\n if (question.proposable === false) out.push(' only the person can answer it: it is never proposed');\n if (question.regulatedDomain === true) {\n // Only ever assumed on review (an unattended round never assumes one), so a kept one is named when revisited.\n out.push(question.assumedAnswer !== null\n ? ' regulated domain: kept on review — name it to the person when revisiting it'\n : ' regulated domain: name any proposed answer to the person before keeping it');\n }\n if (question.assumedAnswer !== null) out.push(` assumed (to revisit): ${question.assumedAnswer} — answering records the person's own answer in its place`);\n if (question.assumptionRationale) out.push(` because: ${question.assumptionRationale}`);\n }\n for (const field of question.fields) {\n out.push(` [${field.ref}] ${field.question}`);\n if (field.why) out.push(` why: ${field.why}`);\n if (field.options.length > 0) out.push(` options: ${field.options.join(' | ')}`);\n }\n for (const command of describeAnswerCommand(question)) out.push(` → ${command}`);\n return out;\n}\n\n/**\n * Build the answer request from the CLI's inputs. Throws a sentence when the inputs do not make one\n * request — the companion refuses the same things, but a refusal before the round trip names the\n * flag to change.\n *\n * `value` is the positional answer, for a question with ONE field; `pairs` are `--answer ref=value`.\n */\n/** Parse `ref=value` tokens; `flag` names the flag in the error. */\nfunction parseAnswerPairs(pairs: readonly string[], flag: string): { ref: string; value: string }[] {\n return pairs.map((pair) => {\n const separator = pair.indexOf('=');\n if (separator <= 0) {\n /* The flags are variadic: an answer typed AFTER one is taken as one more pair — the likelier cause of a pair with no ref. */\n throw new Error(`\"${pair}\" is not ref=value. \\`${flag}\\` takes every token after it, so give a positional answer BEFORE \\`${flag}\\`, `\n + `or answer every question with \\`${flag} ref=value\\`.`);\n }\n return { ref: pair.slice(0, separator), value: pair.slice(separator + 1) };\n });\n}\n\n/**\n * The only author an agent may record for an answer it DERIVED itself. A derived answer is by\n * definition not the person's, so the prefix is enforced rather than trusted.\n */\nexport const AGENT_ANSWER_AUTHOR_PREFIX = 'agent:';\n\nexport function buildAnswerRequest(input: {\n readonly questionId: string;\n readonly revision?: string;\n readonly value?: string;\n /** `--answer ref=value`: answers the PERSON gave (authored by `answeredByRef`). */\n readonly pairs: readonly string[];\n /** `--derived ref=value`: answers an AGENT derived on its own (authored by `derivedByRef`). */\n readonly derivedPairs?: readonly string[];\n readonly derivedByRef?: string;\n /**\n * The positional answer is a PROPOSAL the person let stand because they did not know (#2129): recorded as\n * ASSUMED, authored by the companion's proposer, with the proposer's reason. Interview questions only.\n */\n readonly assumed?: boolean;\n readonly assumptionRationale?: string;\n readonly decline: boolean;\n readonly cancel: boolean;\n /** The author of the person's answers — and the request's default author. */\n readonly answeredByRef?: string;\n /** The question as the queue serves it, to resolve a positional answer's field ref. */\n readonly question: CreationConsole_Question | null;\n}): CreationConsole_AnswerRequest {\n const parsed = parseCreationConsoleQuestionId(input.questionId);\n if (!parsed) throw new Error(`\"${input.questionId}\" is not a question id — copy one from \\`wildo creation questions\\`.`);\n if (input.decline && input.cancel) throw new Error('Pass --decline or --cancel, not both.');\n const base = {\n questionId: input.questionId,\n ...(input.revision ? { revision: input.revision } : {}),\n ...(input.answeredByRef ? { answeredByRef: input.answeredByRef } : {}),\n };\n const personAnswers = parseAnswerPairs(input.pairs, '--answer');\n const derived = parseAnswerPairs(input.derivedPairs ?? [], '--derived');\n if (derived.length > 0) {\n if (!input.derivedByRef?.startsWith(AGENT_ANSWER_AUTHOR_PREFIX) || input.derivedByRef.length === AGENT_ANSWER_AUTHOR_PREFIX.length) {\n throw new Error(`A derived answer names the agent that derived it: --derived-by ${AGENT_ANSWER_AUTHOR_PREFIX}<name>.`);\n }\n }\n if (input.assumptionRationale !== undefined && input.assumed !== true) throw new Error('--rationale explains an assumption: pass it with --assumed.');\n if (input.assumed === true) {\n if (parsed.kind !== CreationConsoleQuestionKind.INTERVIEW) {\n throw new Error('--assumed records a proposed interview answer; only interview questions take one. A playbook round takes --decline to let the run decide.');\n }\n if (input.value === undefined || personAnswers.length > 0 || derived.length > 0 || input.decline || input.cancel) {\n throw new Error('--assumed takes the proposed answer positionally, and nothing else: wildo creation answer <questionId> --assumed \"<value>\" --rationale \"<why>\".');\n }\n if (!input.question) throw new Error(`Nothing waits under \"${input.questionId}\" now — read \\`wildo creation questions\\` again.`);\n return {\n ...base,\n action: CreationConsoleAnswerAction.ANSWER,\n answers: [{\n ref: input.question.fields[0]!.ref,\n value: input.value,\n /* The proposer is the author: the person let it stand, they did not decide it. */\n answeredByRef: INTERVIEW_ANSWER_PROPOSER_REF,\n standing: ApplicationCreatorInputAnswerStanding.ASSUMED,\n ...(input.assumptionRationale !== undefined ? { assumptionRationale: input.assumptionRationale } : {}),\n }],\n };\n }\n if (input.cancel) {\n if (input.value !== undefined || personAnswers.length > 0 || derived.length > 0) throw new Error('--cancel carries no answer.');\n return { ...base, action: CreationConsoleAnswerAction.CANCEL };\n }\n if (input.value !== undefined) {\n if (personAnswers.length > 0 || derived.length > 0) throw new Error('Give the answer either positionally or with --answer / --derived, not both.');\n if (!input.question) throw new Error(`Nothing waits under \"${input.questionId}\" now — read \\`wildo creation questions\\` again.`);\n if (input.question.fields.length !== 1) {\n throw new Error(`\"${input.questionId}\" asks ${input.question.fields.length} questions; answer each with --answer ${input.question.fields.map((field) => `${field.ref}=…`).join(' ')}.`);\n }\n personAnswers.push({ ref: input.question.fields[0]!.ref, value: input.value });\n }\n /* Each answer carries its author, so a round an agent and the person answered together records both (#1658). */\n const answers = [\n ...personAnswers.map((answer) => ({ ...answer, ...(input.answeredByRef ? { answeredByRef: input.answeredByRef } : {}) })),\n ...derived.map((answer) => ({ ...answer, answeredByRef: input.derivedByRef! })),\n ];\n if (answers.some((answer) => answer.value.trim().length === 0)) throw new Error('An answer cannot be empty.');\n if (new Set(answers.map((answer) => answer.ref)).size !== answers.length) throw new Error('Each question is answered once.');\n if (input.decline) {\n /* \"These I answered, decide the rest\" — the run decides only what is left unanswered. */\n return { ...base, action: CreationConsoleAnswerAction.DECLINE, ...(answers.length > 0 ? { answers } : {}) };\n }\n if (answers.length === 0) throw new Error('No answer given: pass it positionally, with --answer / --derived ref=value, or use --decline / --cancel.');\n return { ...base, action: CreationConsoleAnswerAction.ANSWER, answers };\n}\n\n/**\n * Whether this process was started by a coding agent (Claude Code sets `CLAUDECODE=1`; agents following\n * the emerging cross-agent convention set `AI_AGENT`). Used for ONE decision: an answer sent from inside\n * an agent session must say whose it is, because there the git identity is the person's and the typist\n * is the agent — defaulting would record the agent's derivation as the person's decision (#1658).\n */\nexport function isRunningInsideCodingAgent(env: NodeJS.ProcessEnv = process.env): boolean {\n return env.CLAUDECODE === '1' || (typeof env.AI_AGENT === 'string' && env.AI_AGENT.trim().length > 0);\n}\n\n/**\n * Who answers, when the caller does not say: the workspace's git identity — the author of the commit\n * that will accept the answer, which is the provenance this repository already trusts for an\n * acceptance (`one-source-of-truth.md` rule 7). `null` when git has none configured.\n *\n * PREFIXED `git:`, like the `agent:<name>` an agent answering on its own sends, because the same\n * `answeredByRef` field also holds the workbench's signed-in user ids: a reader of the dossier can then\n * tell which door an answer came through and what kind of identity it names.\n */\nexport async function readGitIdentity(repositoryRoot: string): Promise<string | null> {\n try {\n const { stdout } = await GitHelper.runGit(repositoryRoot, ['config', 'user.email']);\n const email = stdout.trim();\n return email.length > 0 ? `git:${email}` : null;\n } catch {\n return null;\n }\n}\n\n/**\n * A proposal response in words (#2129): each proposed answer, why, and the command that keeps it as an\n * assumption. What could not be proposed is named, for the person to answer.\n */\nexport function describeInterviewProposals(response: CreationConsole_ProposalResponse): string[] {\n const out: string[] = [];\n if (response.proposals.length === 0 && response.unproposed.length === 0) {\n return [`Nothing to propose for ${response.playbookRef}: every question it would propose is answered, or no interview depth is chosen yet (wildo creation depth).`];\n }\n for (const proposal of response.proposals) {\n out.push(`[${proposal.questionRef}] ${proposal.question}${proposal.regulatedDomain ? ' (REGULATED DOMAIN — name it to the person before keeping it)' : ''}`, ` proposed: ${proposal.value}`, ` because: ${proposal.rationale}`);\n if (proposal.questionId !== null) {\n out.push(` → keep it: wildo creation answer ${proposal.questionId} --assumed ${JSON.stringify(proposal.value)} --rationale ${JSON.stringify(proposal.rationale)}`);\n }\n }\n for (const missing of response.unproposed) out.push(`[${missing.questionRef}] could not be proposed (${missing.reason}) — ask the person.`);\n return out;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"creation-console.service.js","sourceRoot":"","sources":["../../../../../../src/services/companion/creation-console.service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,8BAA8B,EAU9B,6BAA6B,EAC7B,4BAA4B,GAC7B,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAA6B,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AACjH,OAAO,EAAE,qCAAqC,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AAC/H,OAAO,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC;AACvF,OAAO,EAAE,6BAA6B,EAAE,MAAM,+BAA+B,CAAC;AAE9E,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,4BAA4B,EAAE,MAAM,4BAA4B,CAAC;AAClH,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAGzE,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,2BAA2B,EAA+B,MAAM,qBAAqB,CAAC;AAS/F;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,QAAQ,EAAE,CAAC,OAA+B,EAAiC,EAAE,CAC3E,eAAe,CAAC,GAAG,CAAuB,8BAA8B,EAAE,OAAO,CAAC;IAEpF;;;;OAIG;IACH,YAAY,EAAE,KAAK,EAAE,OAA+B,EAAiC,EAAE,CACrF,YAAY,CAAuB,8BAA8B,EAAE,OAAO,CAAC;IAC7E,aAAa,EAAE,KAAK,EAAE,OAA+B,EAAkC,EAAE,CACvF,YAAY,CAAwB,+BAA+B,EAAE,OAAO,CAAC;IAE/E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swerRequest,\n type CreationConsole_Feed,\n type CreationConsole_FeedLine,\n type CreationConsole_ProposalRequest,\n type CreationConsole_ProposalResponse,\n type CreationConsole_Pulse,\n type CreationConsole_Question,\n type CreationConsole_QuestionQueue,\n WorkbenchCreationHomeLineKind,\n WorkbenchCreationHomeSection,\n} from '@wildo-ai/platform-core-shared';\n\nimport { ApplicationInterviewDepth, MetaWorkflow_EvaluationVerdict } from '@wildo-ai/saas-models/meta-workflows';\nimport { ApplicationCreatorInputAnswerStanding, playbookInstanceId } from '@wildo-ai/saas-specifications/application-creation';\nimport { INTERVIEW_ANSWER_PROPOSER_REF } from '@wildo-ai/application-creation-runtime';\nimport { getFrameworkKnowledgePlaybook } from '@wildo-ai/framework-knowledge';\n\nimport { CompanionClient, CompanionRefusalError, CompanionRequestTimeoutError } from './companion-client.service';\nimport { PulseFailure, describePulseFailure } from './console-fast-path';\nimport type { CreationRunReport } from './creation-run-report.models';\nimport type { ConsoleAcceptOutcome } from './build-console.service';\nimport { GitHelper } from './git-helper.service';\nimport { CompanionRequestRetryPolicy, type CompanionClientOptions } from './companion.schemas';\n\n/** What `POST /brand/logo` answers: the panel's winner, what was promoted into the specification, and its warnings. */\nexport interface ConsoleBrandLogoOutcome {\n readonly redrawn: boolean;\n readonly deliberation: { readonly recordPath: string; readonly staged: { readonly winnerRef: string }; readonly warnings: readonly string[] };\n readonly accept: { readonly promotedFiles: readonly string[]; readonly resolvedAssetsModulePath: string; readonly warnings: readonly string[] };\n}\n\n/**\n * The CREATION CONSOLE on the CLI side — how a coding-agent session (or a person at a terminal)\n * follows what the companion did and answers what it asks.\n *\n * The companion is the master of creation; the console drives it and the workbench shows its state.\n * Everything here reads the companion's `/api/companion/creation/*` routes, which serve the SAME\n * creation-plane rows the workbench renders and answer through the SAME services — so this module\n * holds transport and wording only, never a fact of its own.\n */\nexport const CreationConsoleClient = {\n readFeed: (options: CompanionClientOptions): Promise<CreationConsole_Feed> =>\n CompanionClient.get<CreationConsole_Feed>('/api/companion/creation/feed', options),\n\n /**\n * The feed and the pulse in ONE attempt each (#1657): a background watcher and a session-start hook\n * must learn at once that the companion is down, not after the safe-read retries a person's command\n * gets. A refusal and a failed connection both throw, as `get` does.\n */\n readFeedOnce: async (options: CompanionClientOptions): Promise<CreationConsole_Feed> =>\n readJsonOnce<CreationConsole_Feed>('/api/companion/creation/feed', options),\n readPulseOnce: async (options: CompanionClientOptions): Promise<CreationConsole_Pulse> =>\n readJsonOnce<CreationConsole_Pulse>('/api/companion/creation/pulse', options),\n\n /** The eligibility board, as {@link PlaybookStanding} rows — what `wildo creation why` explains an unrun playbook from. */\n readPlaybookBoard: (options: CompanionClientOptions): Promise<{ readonly playbooks: readonly PlaybookStanding[] }> =>\n CompanionClient.get<{ readonly playbooks: readonly PlaybookStanding[] }>('/api/companion/playbooks', options),\n\n readQuestions: (options: CompanionClientOptions): Promise<CreationConsole_QuestionQueue> =>\n CompanionClient.get<CreationConsole_QuestionQueue>('/api/companion/creation/questions', options),\n\n answer: (options: CompanionClientOptions, request: CreationConsole_AnswerRequest): Promise<CreationConsole_AnswerOutcome> =>\n CompanionClient.post<CreationConsole_AnswerOutcome>('/api/companion/creation/questions/answer', request, options),\n\n /* Interview depth and proposed answers (#2129). Proposing writes nothing; depth is a dossier write. */\n setInterviewDepth: (options: CompanionClientOptions, interviewDepth: ApplicationInterviewDepth) =>\n CompanionClient.post<{ readonly interviewDepth: string; readonly packageRelativePath: string }>('/api/companion/creation/interview/depth', { interviewDepth }, options),\n proposeInterviewAnswers: (options: CompanionClientOptions, request: CreationConsole_ProposalRequest): Promise<CreationConsole_ProposalResponse> =>\n CompanionClient.post<CreationConsole_ProposalResponse>('/api/companion/creation/interview/proposals', request, options),\n\n /* The write register (#1652): what each playbook run wrote, its diff, revert and accept. */\n writes: (options: CompanionClientOptions) =>\n CompanionClient.get<{ readonly runs: ReadonlyArray<{ readonly runId: string; readonly playbookRef: string; readonly at: string; readonly files: ReadonlyArray<{ readonly path: string; readonly existedBefore: boolean }> }> }>('/api/companion/runs/writes', options),\n diff: (options: CompanionClientOptions, runId: string) =>\n CompanionClient.get<{ readonly runId: string; readonly playbookRef: string; readonly at: string; readonly files: ReadonlyArray<{ readonly path: string; readonly diverged: boolean; readonly diff: string }> }>(`/api/companion/runs/writes/${encodeURIComponent(runId)}/diff`, options),\n revert: (options: CompanionClientOptions, runId: string, force: boolean) =>\n // `refusedLaterRun` (#1614, #1666): files a LATER run landed on, never reverted — not even under force.\n // Both refusal lists OPTIONAL: a companion older than a field omits it, and the renderer reads it so.\n CompanionClient.post<{\n readonly reverted: readonly string[];\n readonly refusedDiverged?: readonly string[];\n readonly refusedLaterRun?: ReadonlyArray<{ readonly path: string; readonly runId: string }>;\n }>(`/api/companion/runs/writes/${encodeURIComponent(runId)}/revert`, force ? { force: true } : {}, options),\n /* The run report and the intervention ledger (#2231): read-only, plus the one thing it asks — a reason. */\n report: (options: CompanionClientOptions): Promise<CreationRunReport> =>\n CompanionClient.get<CreationRunReport>('/api/companion/creation/report', options),\n stateInterventionReason: (options: CompanionClientOptions, interventionId: string, reason: string) =>\n CompanionClient.post<{ readonly interventionId: string; readonly statedAt: string }>(\n `/api/companion/creation/interventions/${encodeURIComponent(interventionId)}/reason`, { reason }, options),\n loop: (options: CompanionClientOptions, request: { readonly goal: string; readonly maximumIterations: number; readonly fanOut?: number; readonly skipPreflight?: boolean }) =>\n CompanionClient.post<ConsoleLoopResult>('/api/companion/playbooks/loop', request, options),\n /* Reviewer charters and deliberations (#1656): the console door to what `journey-run` taught as raw routes. */\n derivePersona: (options: CompanionClientOptions, roleRef: string) =>\n CompanionClient.post<Record<string, unknown>>('/api/companion/expert-personas/derive', { roleRef }, options),\n acceptPersona: (options: CompanionClientOptions, roleRef: string) =>\n CompanionClient.post<Record<string, unknown>>('/api/companion/expert-personas/accept', { roleRef }, options),\n deliberate: (options: CompanionClientOptions, request: Record<string, unknown>) =>\n CompanionClient.post<Record<string, unknown>>('/api/companion/deliberations/run', request, options),\n /* The logo (#2411): deliberate then accept in one call; refused over an accepted mark unless `redraw`. */\n brandLogo: (options: CompanionClientOptions, redraw: boolean) =>\n CompanionClient.post<ConsoleBrandLogoOutcome>('/api/companion/brand/logo', redraw ? { redraw: true } : {}, options),\n acceptRun: (options: CompanionClientOptions, runId: string, force: boolean) =>\n CompanionClient.post<ConsoleAcceptOutcome>(`/api/companion/runs/writes/${encodeURIComponent(runId)}/accept`, force ? { force: true } : {}, options),\n /* The creator's recorded answers, committed on their own (#2332). */\n acceptDossier: (options: CompanionClientOptions) =>\n CompanionClient.post<ConsoleAcceptOutcome>('/api/companion/creation/dossier/accept', {}, options),\n};\n\n/**\n * Whether a feed line is the one a console REFERENCE names — a question id, a line id, a run id, a\n * build task or a playbook. Every identifier the console prints resolves through this one predicate,\n * so `wildo creation why` and `wildo workbench open` accept exactly the same references.\n */\nexport function feedLineNamesReference(line: CreationConsole_FeedLine, reference: string): boolean {\n return line.questionId === reference || line.lineId === reference || line.targetResourceId === reference\n || line.target?.runId === reference || line.taskRef === reference || line.playbookRef === reference;\n}\n\n/** One playbook's row on the eligibility board (`GET /playbooks`) — only the fields `wildo creation why` reads. */\nexport interface PlaybookStanding {\n readonly playbookRef: string;\n readonly eligible: boolean;\n readonly unmet: readonly string[];\n /** The interview questions the dossier does not answer yet. Absent from a companion older than the dossier. */\n readonly unansweredQuestionRefs?: readonly string[];\n /** Output families already on record. */\n readonly wouldReplace?: readonly string[];\n}\n\n/**\n * Where a playbook's unanswered interview questions stand in the companion's question queue: asked NOW, or not\n * asked until the playbook can run.\n *\n * Read from the queue, never inferred from the board: the dossier asks a question while ANY step reading it can\n * run, so a question a held playbook shares with a runnable one (`sameDecisionAs`) is already asked, under the\n * owning step's name. The share is resolved through this CLI's compiled catalog, the one map from a playbook's\n * own question ref to the decision it shares. Interview items of an opened instance are not the playbook's own\n * and are not matched.\n */\nexport interface InterviewQueueStanding {\n /** In `wildo creation questions` now, as `<ref>` or `<ref> (asked as <owner>#<ownerRef>)`. */\n readonly askedNow: readonly string[];\n /** Asked of no one until the playbook itself can run. */\n readonly notAskedYet: readonly string[];\n}\n\nexport function locateInterviewInQueue(\n playbookRef: string,\n unansweredQuestionRefs: readonly string[],\n queue: Pick<CreationConsole_QuestionQueue, 'questions'>,\n): InterviewQueueStanding {\n const compiled = getFrameworkKnowledgePlaybook(playbookRef)?.playbook as\n | { method?: { elicitation?: { questions?: readonly { ref: string; sameDecisionAs?: { playbookRef: string; questionRef: string } }[] } } }\n | undefined;\n const sharedByRef = new Map((compiled?.method?.elicitation?.questions ?? [])\n .filter((question) => question.sameDecisionAs !== undefined)\n .map((question) => [question.ref, question.sameDecisionAs!]));\n const asked = new Set(queue.questions\n .filter((question) => question.kind === CreationConsoleQuestionKind.INTERVIEW && question.instanceKey === null && question.playbookRef !== null)\n .flatMap((question) => question.fields.map((field) => `${question.playbookRef}#${field.ref}`)));\n const askedNow: string[] = [];\n const notAskedYet: string[] = [];\n for (const ref of unansweredQuestionRefs) {\n const shared = sharedByRef.get(ref);\n if (asked.has(`${playbookRef}#${ref}`)) askedNow.push(ref);\n else if (shared && asked.has(`${shared.playbookRef}#${shared.questionRef}`)) askedNow.push(`${ref} (asked as ${shared.playbookRef}#${shared.questionRef})`);\n else notAskedYet.push(ref);\n }\n return { askedNow, notAskedYet };\n}\n\n/**\n * Where a playbook stands NOW: what holds it (from the board), and where each unanswered interview question\n * stands (from the queue, see {@link locateInterviewInQueue}).\n *\n * The unmet preconditions lead when it cannot run. Saying its questions waited on the person sent them to\n * `wildo creation answer`, which refuses a question the queue is not asking (app-creation-test-005,\n * 2026-10-03). `interview` absent means the queue could not be read: the questions are then named without a\n * claim about whether they are asked.\n */\nexport function describePlaybookStanding(standing: PlaybookStanding, hasRecentRun: boolean, interview: InterviewQueueStanding | undefined): string[] {\n const unanswered = standing.unansweredQuestionRefs ?? [];\n const onRecord = standing.wouldReplace ?? [];\n const history = hasRecentRun ? '' : onRecord.length > 0 ? `, no recent run (on record: ${onRecord.join(', ')})` : ', no recent run and nothing on record';\n const askedNow = interview?.askedNow ?? [];\n const state = !standing.eligible ? 'blocked' : unanswered.length > 0 ? 'waiting for you' : 'eligible: nothing holds it';\n const out = [`playbook ${standing.playbookRef} — ${state}${history}`];\n if (!standing.eligible) {\n for (const reason of standing.unmet.length > 0 ? standing.unmet : ['not eligible, and the board gave no reason']) out.push(` unmet: ${reason}`);\n }\n if (unanswered.length === 0) return out;\n out.push(` its interview: ${unanswered.length} question(s) unanswered — ${unanswered.join(', ')}`);\n if (interview === undefined) {\n out.push(' could not read the question queue, so whether they are asked now is not known: wildo creation questions');\n return out;\n }\n if (askedNow.length > 0) out.push(` asked now: ${askedNow.join(', ')} → wildo creation questions`);\n if (interview.notAskedYet.length > 0) {\n out.push(standing.eligible\n // Eligible and still not queued is a disagreement this command cannot explain; it says so rather than guess.\n ? ` not in the question queue, although it can run: ${interview.notAskedYet.join(', ')}`\n : ` not asked yet: ${interview.notAskedYet.join(', ')} — the queue asks ${interview.notAskedYet.length === 1 ? 'it' : 'them'} once nothing above holds this playbook`);\n }\n return out;\n}\n\n/** What `POST /playbooks/loop` answers — only the fields the console prints; `--json` prints the rest. */\nexport interface ConsoleLoopResult {\n readonly stoppedBecause: string;\n readonly steps: ReadonlyArray<{\n readonly iteration: number;\n readonly lanes: ReadonlyArray<{ readonly playbookRef: string; readonly rationale: string; readonly landed?: readonly string[]; readonly failure?: string }>;\n readonly droppedLanes: ReadonlyArray<{ readonly playbookRef: string; readonly reason: string }>;\n readonly stopRationale?: string;\n }>;\n}\n\n/** One round of a playbook loop in words: what ran and what it landed or hit, what was refused, or why it stopped. */\nexport function describeLoopStep(step: ConsoleLoopResult['steps'][number]): string[] {\n const lines = [`round ${step.iteration}${step.stopRationale ? ` — stopped: ${step.stopRationale}` : ''}`];\n for (const lane of step.lanes) {\n lines.push(` ${lane.playbookRef} — ${lane.failure ? `failed: ${lane.failure}` : `landed ${lane.landed?.join(', ') || 'nothing'}`}`);\n lines.push(` why this one: ${lane.rationale}`);\n }\n for (const dropped of step.droppedLanes) lines.push(` not run: ${dropped.playbookRef} — ${dropped.reason}`);\n return lines;\n}\n\nasync function readJsonOnce<T>(path: string, options: CompanionClientOptions): Promise<T> {\n const response = await CompanionClient.request(path, { method: 'GET' }, options, CompanionRequestRetryPolicy.NO_RETRY);\n // Typed, so a caller can tell \"it answered no\" from \"nothing is there\" without reading the message.\n if (!response.ok) throw new CompanionRefusalError(`Companion API ${path}: ${response.status} ${response.statusText}`, response.status);\n return await response.json() as T;\n}\n\n/**\n * One feed line as ONE line of text — what the background watcher prints, because each line it prints\n * becomes one notification in the session (#1657). The same words as {@link describeFeedLine}, joined.\n */\nexport function describeFeedLineCompact(line: CreationConsole_FeedLine): string {\n return describeFeedLine(line).map((text) => text.trim()).join(' · ');\n}\n\n/**\n * The console's PUSH loop (#1657), behind `wildo creation watch` — separated from the command so its\n * behaviour is pinned without a companion or a clock.\n *\n * Polls the pulse; reads the feed when the pulse moved or `feedFallbackMs` passed; says ONE line per new\n * event. The first successful feed read only establishes what already happened (the session-start brief\n * reported it). A companion that cannot be reached is said once, and its return once. Runs until\n * `shouldStop` answers true (the command passes a function that never does).\n *\n * \"Cannot be reached\" has three meanings, and only one of them may say \"start it\" (#2394). Nothing\n * listening means the companion is not running. A request that TIMES OUT means a process accepted the\n * connection and did not answer in time: running and busy. An HTTP error status means it answered and\n * said no, while starting or in diagnostics: running too. Telling a person or a supervisor to start a\n * running companion ended in a restart that killed the runs it was busy with. On app-creation-test-005\n * the monitor flipped to \"not reachable\" every one to two minutes through a build wave, on one live pid.\n * The wording is the pulse's (`describePulseFailure`), so `wildo creation pulse` says the same thing.\n */\nexport async function watchCreationEvents(port: {\n readonly readPulse: () => Promise<CreationConsole_Pulse>;\n readonly readFeed: () => Promise<CreationConsole_Feed>;\n readonly say: (text: string) => void;\n readonly sleep: (ms: number) => Promise<void>;\n readonly now: () => number;\n readonly shouldStop: () => boolean;\n readonly pulseIntervalMs: number;\n readonly feedFallbackMs: number;\n}): Promise<void> {\n let seen: Set<string> | null = null;\n let lastPulseKey: string | null = null;\n let lastFeedAt = Number.NEGATIVE_INFINITY;\n /** Why the last pulse failed, or `null` while the companion answers. */\n let failure: PulseFailure | null = null;\n while (!port.shouldStop()) {\n let pulseKey: string | null = null;\n try {\n const pulse = await port.readPulse();\n pulseKey = `${pulse.sequence}:${pulse.runsInFlight}`;\n if (failure !== null) {\n port.say(failure === PulseFailure.UNREACHABLE ? 'Dev companion is back.' : 'Dev companion is answering again.');\n failure = null;\n lastPulseKey = null;\n }\n } catch (error) {\n const next = classifyCompanionRequestFailure(error);\n // Said once per state: a companion going from busy to stopped (or back) is news, the same one twice is not.\n if (next !== failure) port.say(`Dev companion ${describePulseFailure(next)} Waiting for it.`);\n failure = next;\n }\n if (pulseKey !== null && (pulseKey !== lastPulseKey || port.now() - lastFeedAt >= port.feedFallbackMs)) {\n try {\n const feed = await port.readFeed();\n lastFeedAt = port.now();\n if (seen === null) {\n seen = new Set(feed.lines.map(feedLineSignature));\n } else {\n for (const line of newFollowedLines(feed.lines, seen)) {\n seen.add(feedLineSignature(line));\n port.say(describeFeedLineCompact(line));\n }\n }\n lastPulseKey = pulseKey;\n } catch {\n /* The pulse answered and the feed did not: try again next tick without announcing anything. */\n }\n }\n await port.sleep(port.pulseIntervalMs);\n }\n}\n\n/**\n * Why a request to the companion failed, in the pulse's vocabulary, so the watcher and `wildo creation\n * pulse` give the same advice (#2394 review L1). A timeout — including one that fires while the body is\n * read, after the headers — means a process is there and busy; an HTTP error status, or a body that does\n * not parse, means it is there and answered something unusable; anything else (a refused or reset\n * connection, no endpoint, no token) means nothing is listening.\n */\nexport function classifyCompanionRequestFailure(error: unknown): PulseFailure {\n if (error instanceof CompanionRequestTimeoutError) return PulseFailure.SLOW;\n if (error instanceof Error && (error.name === 'TimeoutError' || error.name === 'AbortError')) return PulseFailure.SLOW;\n if (error instanceof CompanionRefusalError) return PulseFailure.REFUSED;\n // `response.json()` on a body that is not JSON: it answered, so it is running.\n if (error instanceof SyntaxError) return PulseFailure.REFUSED;\n return PulseFailure.UNREACHABLE;\n}\n\n/** The Home sections whose lines are EVENTS a follower waits for; suggestions move with every edit and are not. */\nconst FOLLOWED_SECTIONS: ReadonlySet<string> = new Set([WorkbenchCreationHomeSection.SINCE, WorkbenchCreationHomeSection.ASKED]);\n\n/**\n * A line's SIGNATURE — what makes it \"the same line\" to a follower. A line whose facts changed (a\n * dispatch that became acceptable, a run that failed) is news again; the attached row is excluded,\n * because its timestamps move on every read without anything having happened.\n */\nexport function feedLineSignature(line: CreationConsole_FeedLine): string {\n return JSON.stringify([line.lineId, line.at, line.failed, line.acceptable, line.needsAnswers, line.stuckReason, line.questionId]);\n}\n\n/**\n * The followed lines that are NEW since `seen` — the one comparison `--follow` makes. `seen` is the\n * set of signatures already printed, so a line printed once is never printed twice, however often\n * the feed is read.\n */\nexport function newFollowedLines(lines: readonly CreationConsole_FeedLine[], seen: ReadonlySet<string>): CreationConsole_FeedLine[] {\n return lines.filter((line) => FOLLOWED_SECTIONS.has(line.section) && !seen.has(feedLineSignature(line)));\n}\n\nfunction stringField(row: Record<string, unknown> | null, field: string): string | null {\n const value = row?.[field];\n return typeof value === 'string' && value.length > 0 ? value : null;\n}\n\n/**\n * One feed line in words. The kind vocabulary is the companion's (`WorkbenchCreationHomeLineKind`);\n * an unknown kind is printed as its raw value rather than guessed at, so a newer companion's line is\n * visibly unfamiliar instead of quietly misdescribed.\n */\nexport function describeFeedLine(line: CreationConsole_FeedLine): string[] {\n const subject = line.playbookRef ?? line.taskRef ?? line.subject ?? line.targetResourceId;\n const when = line.at ? ` (${line.at})` : '';\n const out: string[] = [];\n switch (line.kind) {\n case WorkbenchCreationHomeLineKind.RUN_COMPLETED: {\n out.push(`${line.failed ? 'REFUSED' : 'completed'} playbook ${subject}${when}`);\n const verdict = stringField(line.target, 'judgeOverall');\n if (verdict) out.push(` judge: ${verdict}`);\n /* The criteria that did not pass are what a console acts on; a PASS needs no rationale read out. */\n const criteria = line.target?.judgeCriteria;\n if (Array.isArray(criteria)) {\n for (const criterion of criteria as { criterionRef?: unknown; verdict?: unknown; rationale?: unknown }[]) {\n if (criterion.verdict === MetaWorkflow_EvaluationVerdict.PASS || typeof criterion.criterionRef !== 'string') continue;\n out.push(` ${String(criterion.verdict)} ${criterion.criterionRef}: ${String(criterion.rationale ?? '')}`);\n }\n }\n const skipped = stringField(line.target, 'judgeSkipped');\n if (skipped) out.push(` judge did not run: ${skipped}`);\n const error = stringField(line.target, 'error');\n if (error) out.push(` ${error}`);\n break;\n }\n case WorkbenchCreationHomeLineKind.RUN_INTERRUPTED:\n out.push(`interrupted playbook ${subject}${when} — running it again resumes it`);\n break;\n case WorkbenchCreationHomeLineKind.DISPATCH_SETTLED: {\n const objective = stringField(line.target, 'objective');\n out.push(`${line.failed ? 'FAILED' : 'finished'} build task ${subject}${when}${objective ? ` — ${objective}` : ''}`);\n if (line.acceptable) out.push(` its writes wait to be committed → wildo build accept ${line.taskRef ?? subject}`);\n const error = stringField(line.target, 'error');\n if (error) out.push(` ${error}`);\n break;\n }\n case WorkbenchCreationHomeLineKind.CODING_AGENT_USAGE_LIMITED:\n // `subject` is when the build resumes; the task is the one whose run met the limit (#2388).\n out.push(`PAUSED coding agent usage limit reached — resumes at ${line.subject ?? 'its reset'}${when}`);\n out.push(` met by build task ${line.taskRef ?? line.targetResourceId}; no attempt is counted, and the build continues on its own`);\n break;\n case WorkbenchCreationHomeLineKind.CLARIFICATION:\n out.push(`ASKED playbook ${subject} stopped on questions only you can answer${when}`);\n break;\n case WorkbenchCreationHomeLineKind.PARKED_QUESTION:\n out.push(`ASKED the coding run for ${subject} is parked on a question${when}`);\n break;\n case WorkbenchCreationHomeLineKind.GOVERNANCE_DOCUMENT:\n out.push(`ASKED governed document ${subject} still needs facts (answer them in the workbench)`);\n break;\n case WorkbenchCreationHomeLineKind.UNBLOCK_THE_PLAN:\n out.push(`ASKED the build plan is stuck at ${subject}: ${line.stuckReason ?? 'no reason recorded'}`);\n break;\n case WorkbenchCreationHomeLineKind.CONTINUE_THE_PLAN:\n out.push(`next build task ${line.taskRef ?? subject}${line.subject ? ` — ${line.subject}` : ''}`);\n break;\n case WorkbenchCreationHomeLineKind.PRODUCE_MISSING:\n out.push(`next playbook ${subject} would produce a missing artifact${line.needsAnswers ? ' (it has questions for you first)' : ''}`);\n break;\n case WorkbenchCreationHomeLineKind.REFRESH_STALE:\n out.push(`next playbook ${subject} would refresh a stale artifact${line.needsAnswers ? ' (it has questions for you first)' : ''}`);\n break;\n default:\n out.push(`${line.kind} ${subject}${when}`);\n }\n if (line.questionId) out.push(` question: ${line.questionId} → wildo creation questions`);\n return out;\n}\n\n/** The `wildo creation answer` invocation that answers a question, for a reader to copy. */\nexport function describeAnswerCommand(question: CreationConsole_Question): string[] {\n if (question.actions.length === 0) return [];\n const revision = question.revision !== null ? ` --revision ${question.revision}` : '';\n const commands: string[] = [];\n if (question.actions.includes(CreationConsoleAnswerAction.ANSWER)) {\n commands.push(question.fields.length === 1\n /*\n * `--person` in the hint: the command is copied by agents as often as by people, and from inside an\n * agent session an unattributed answer is refused (#1658). For a person at a terminal it names what\n * the default would have been anyway.\n */\n ? `wildo creation answer ${question.questionId}${revision} --person \"<answer>\"`\n : `wildo creation answer ${question.questionId}${revision} --person --answer ${question.fields.map((field) => `${field.ref}=\"<answer>\"`).join(' ')}`);\n }\n /* An interview question the person does not know (#2129): have it proposed, then keep the proposal as an assumption. */\n if (question.kind === CreationConsoleQuestionKind.INTERVIEW && question.proposable === true && question.assumedAnswer === null && question.playbookRef !== null) {\n commands.push(`wildo creation propose ${question.playbookRef}${question.instanceKey ? ` --instance ${question.instanceKey}` : ''} --question ${question.fields[0]!.ref}`);\n }\n if (question.actions.includes(CreationConsoleAnswerAction.DECLINE)) commands.push(`wildo creation answer ${question.questionId}${revision} --decline`);\n if (question.actions.includes(CreationConsoleAnswerAction.CANCEL)) commands.push(`wildo creation answer ${question.questionId}${revision} --cancel`);\n return commands;\n}\n\nconst QUESTION_KIND_WORDS: Readonly<Record<CreationConsoleQuestionKind, string>> = {\n [CreationConsoleQuestionKind.CLARIFICATION]: 'a playbook run stopped to ask',\n [CreationConsoleQuestionKind.PARKED_CODING_QUESTION]: 'a coding run is parked on a question',\n [CreationConsoleQuestionKind.INTERVIEW]: 'a step can run once this is answered',\n [CreationConsoleQuestionKind.GOVERNANCE_FACT]: 'a drafted governed document needs this fact — answer it in the workbench',\n};\n\n/** One queued question in words, followed by the command(s) that answer it. */\nexport function describeQuestion(question: CreationConsole_Question): string[] {\n const step = question.playbookRef === null ? null : playbookInstanceId(question.playbookRef, question.instanceKey ?? undefined);\n const about = step ?? question.taskRef ?? question.definitionRef ?? '';\n const out: string[] = [`${question.questionId} — ${QUESTION_KIND_WORDS[question.kind]}${about ? ` (${about})` : ''}`];\n if (question.producingFamily) out.push(` producing: ${question.producingFamily}`);\n if (question.dryRun === true) out.push(' dry run: answering writes nothing');\n if (question.routedToUserId) out.push(' asked of the person who started its run: only they may answer it — in the workbench, signed in as them');\n if (question.resumable === false) out.push(' the run cannot re-enter its session: answering starts a new one that restates the task');\n if (question.affectsFamilies.length > 0) out.push(` an answer reaches: ${question.affectsFamilies.join(', ')}`);\n if (question.kind === CreationConsoleQuestionKind.INTERVIEW) {\n /* #2129: whether a simple interview asks it, and whether a proposal can stand in when the person does not know. */\n if (question.askedInSimpleInterview === false) out.push(' detail: a simple interview proposes it instead of asking');\n if (question.proposable === false) out.push(' only the person can answer it: it is never proposed');\n if (question.regulatedDomain === true) {\n // Only ever assumed on review (an unattended round never assumes one), so a kept one is named when revisited.\n out.push(question.assumedAnswer !== null\n ? ' regulated domain: kept on review — name it to the person when revisiting it'\n : ' regulated domain: name any proposed answer to the person before keeping it');\n }\n if (question.assumedAnswer !== null) out.push(` assumed (to revisit): ${question.assumedAnswer} — answering records the person's own answer in its place`);\n if (question.assumptionRationale) out.push(` because: ${question.assumptionRationale}`);\n }\n for (const field of question.fields) {\n out.push(` [${field.ref}] ${field.question}`);\n if (field.why) out.push(` why: ${field.why}`);\n if (field.options.length > 0 && field.optionDetails !== undefined) {\n // A computed option is a summary; what it summarizes is printed under it, so it is never chosen blind (#2337).\n out.push(' options:');\n field.options.forEach((option, index) => {\n out.push(` - ${option}`);\n const detail = field.optionDetails?.[index];\n if (detail) out.push(` ${detail}`);\n });\n } else if (field.options.length > 0) {\n out.push(` options: ${field.options.join(' | ')}`);\n }\n }\n for (const command of describeAnswerCommand(question)) out.push(` → ${command}`);\n return out;\n}\n\n/**\n * Build the answer request from the CLI's inputs. Throws a sentence when the inputs do not make one\n * request — the companion refuses the same things, but a refusal before the round trip names the\n * flag to change.\n *\n * `value` is the positional answer, for a question with ONE field; `pairs` are `--answer ref=value`.\n */\n/** Parse `ref=value` tokens; `flag` names the flag in the error. */\nfunction parseAnswerPairs(pairs: readonly string[], flag: string): { ref: string; value: string }[] {\n return pairs.map((pair) => {\n const separator = pair.indexOf('=');\n if (separator <= 0) {\n /* The flags are variadic: an answer typed AFTER one is taken as one more pair — the likelier cause of a pair with no ref. */\n throw new Error(`\"${pair}\" is not ref=value. \\`${flag}\\` takes every token after it, so give a positional answer BEFORE \\`${flag}\\`, `\n + `or answer every question with \\`${flag} ref=value\\`.`);\n }\n return { ref: pair.slice(0, separator), value: pair.slice(separator + 1) };\n });\n}\n\n/**\n * The only author an agent may record for an answer it DERIVED itself. A derived answer is by\n * definition not the person's, so the prefix is enforced rather than trusted.\n */\nexport const AGENT_ANSWER_AUTHOR_PREFIX = 'agent:';\n\nexport function buildAnswerRequest(input: {\n readonly questionId: string;\n readonly revision?: string;\n readonly value?: string;\n /** `--answer ref=value`: answers the PERSON gave (authored by `answeredByRef`). */\n readonly pairs: readonly string[];\n /** `--derived ref=value`: answers an AGENT derived on its own (authored by `derivedByRef`). */\n readonly derivedPairs?: readonly string[];\n readonly derivedByRef?: string;\n /**\n * The positional answer is a PROPOSAL the person let stand because they did not know (#2129): recorded as\n * ASSUMED, authored by the companion's proposer, with the proposer's reason. Interview questions only.\n */\n readonly assumed?: boolean;\n readonly assumptionRationale?: string;\n readonly decline: boolean;\n readonly cancel: boolean;\n /** The author of the person's answers — and the request's default author. */\n readonly answeredByRef?: string;\n /** The question as the queue serves it, to resolve a positional answer's field ref. */\n readonly question: CreationConsole_Question | null;\n}): CreationConsole_AnswerRequest {\n const parsed = parseCreationConsoleQuestionId(input.questionId);\n if (!parsed) throw new Error(`\"${input.questionId}\" is not a question id — copy one from \\`wildo creation questions\\`.`);\n if (input.decline && input.cancel) throw new Error('Pass --decline or --cancel, not both.');\n const base = {\n questionId: input.questionId,\n ...(input.revision ? { revision: input.revision } : {}),\n ...(input.answeredByRef ? { answeredByRef: input.answeredByRef } : {}),\n };\n const personAnswers = parseAnswerPairs(input.pairs, '--answer');\n const derived = parseAnswerPairs(input.derivedPairs ?? [], '--derived');\n if (derived.length > 0) {\n if (!input.derivedByRef?.startsWith(AGENT_ANSWER_AUTHOR_PREFIX) || input.derivedByRef.length === AGENT_ANSWER_AUTHOR_PREFIX.length) {\n throw new Error(`A derived answer names the agent that derived it: --derived-by ${AGENT_ANSWER_AUTHOR_PREFIX}<name>.`);\n }\n }\n if (input.assumptionRationale !== undefined && input.assumed !== true) throw new Error('--rationale explains an assumption: pass it with --assumed.');\n if (input.assumed === true) {\n if (parsed.kind !== CreationConsoleQuestionKind.INTERVIEW) {\n throw new Error('--assumed records a proposed interview answer; only interview questions take one. A playbook round takes --decline to let the run decide.');\n }\n if (input.value === undefined || personAnswers.length > 0 || derived.length > 0 || input.decline || input.cancel) {\n throw new Error('--assumed takes the proposed answer positionally, and nothing else: wildo creation answer <questionId> --assumed \"<value>\" --rationale \"<why>\".');\n }\n if (!input.question) throw new Error(`Nothing waits under \"${input.questionId}\" now — read \\`wildo creation questions\\` again.`);\n return {\n ...base,\n action: CreationConsoleAnswerAction.ANSWER,\n answers: [{\n ref: input.question.fields[0]!.ref,\n value: input.value,\n /* The proposer is the author: the person let it stand, they did not decide it. */\n answeredByRef: INTERVIEW_ANSWER_PROPOSER_REF,\n standing: ApplicationCreatorInputAnswerStanding.ASSUMED,\n ...(input.assumptionRationale !== undefined ? { assumptionRationale: input.assumptionRationale } : {}),\n }],\n };\n }\n if (input.cancel) {\n if (input.value !== undefined || personAnswers.length > 0 || derived.length > 0) throw new Error('--cancel carries no answer.');\n return { ...base, action: CreationConsoleAnswerAction.CANCEL };\n }\n if (input.value !== undefined) {\n if (personAnswers.length > 0 || derived.length > 0) throw new Error('Give the answer either positionally or with --answer / --derived, not both.');\n if (!input.question) throw new Error(`Nothing waits under \"${input.questionId}\" now — read \\`wildo creation questions\\` again.`);\n if (input.question.fields.length !== 1) {\n throw new Error(`\"${input.questionId}\" asks ${input.question.fields.length} questions; answer each with --answer ${input.question.fields.map((field) => `${field.ref}=…`).join(' ')}.`);\n }\n personAnswers.push({ ref: input.question.fields[0]!.ref, value: input.value });\n }\n /* Each answer carries its author, so a round an agent and the person answered together records both (#1658). */\n const answers = [\n ...personAnswers.map((answer) => ({ ...answer, ...(input.answeredByRef ? { answeredByRef: input.answeredByRef } : {}) })),\n ...derived.map((answer) => ({ ...answer, answeredByRef: input.derivedByRef! })),\n ];\n if (answers.some((answer) => answer.value.trim().length === 0)) throw new Error('An answer cannot be empty.');\n if (new Set(answers.map((answer) => answer.ref)).size !== answers.length) throw new Error('Each question is answered once.');\n if (input.decline) {\n /* \"These I answered, decide the rest\" — the run decides only what is left unanswered. */\n return { ...base, action: CreationConsoleAnswerAction.DECLINE, ...(answers.length > 0 ? { answers } : {}) };\n }\n if (answers.length === 0) throw new Error('No answer given: pass it positionally, with --answer / --derived ref=value, or use --decline / --cancel.');\n return { ...base, action: CreationConsoleAnswerAction.ANSWER, answers };\n}\n\n/**\n * Whether this process was started by a coding agent (Claude Code sets `CLAUDECODE=1`; agents following\n * the emerging cross-agent convention set `AI_AGENT`). Used for ONE decision: an answer sent from inside\n * an agent session must say whose it is, because there the git identity is the person's and the typist\n * is the agent — defaulting would record the agent's derivation as the person's decision (#1658).\n */\nexport function isRunningInsideCodingAgent(env: NodeJS.ProcessEnv = process.env): boolean {\n return env.CLAUDECODE === '1' || (typeof env.AI_AGENT === 'string' && env.AI_AGENT.trim().length > 0);\n}\n\n/**\n * Who answers, when the caller does not say: the workspace's git identity — the author of the commit\n * that will accept the answer, which is the provenance this repository already trusts for an\n * acceptance (`one-source-of-truth.md` rule 7). `null` when git has none configured.\n *\n * PREFIXED `git:`, like the `agent:<name>` an agent answering on its own sends, because the same\n * `answeredByRef` field also holds the workbench's signed-in user ids: a reader of the dossier can then\n * tell which door an answer came through and what kind of identity it names.\n */\nexport async function readGitIdentity(repositoryRoot: string): Promise<string | null> {\n try {\n const { stdout } = await GitHelper.runGit(repositoryRoot, ['config', 'user.email']);\n const email = stdout.trim();\n return email.length > 0 ? `git:${email}` : null;\n } catch {\n return null;\n }\n}\n\n/**\n * A proposal response in words (#2129): each proposed answer, why, and the command that keeps it as an\n * assumption. What could not be proposed is named, for the person to answer.\n */\nexport function describeInterviewProposals(response: CreationConsole_ProposalResponse): string[] {\n const out: string[] = [];\n if (response.proposals.length === 0 && response.unproposed.length === 0) {\n return [`Nothing to propose for ${response.playbookRef}: every question it would propose is answered, or no interview depth is chosen yet (wildo creation depth).`];\n }\n for (const proposal of response.proposals) {\n out.push(`[${proposal.questionRef}] ${proposal.question}${proposal.regulatedDomain ? ' (REGULATED DOMAIN — name it to the person before keeping it)' : ''}`, ` proposed: ${proposal.value}`, ` because: ${proposal.rationale}`);\n if (proposal.questionId !== null) {\n out.push(` → keep it: wildo creation answer ${proposal.questionId} --assumed ${JSON.stringify(proposal.value)} --rationale ${JSON.stringify(proposal.rationale)}`);\n }\n }\n for (const missing of response.unproposed) out.push(`[${missing.questionRef}] could not be proposed (${missing.reason}) — ask the person.`);\n return out;\n}\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Does the backend configuration actually CARRY what a generated compliance module holds?
|
|
3
3
|
*
|
|
4
|
-
* `wildo config document-releases`, `wildo config service-consent`, `wildo config data-retention
|
|
5
|
-
* subject-data-recipients` write modules into
|
|
4
|
+
* `wildo config document-releases`, `wildo config service-consent`, `wildo config data-retention`, `wildo config
|
|
5
|
+
* subject-data-recipients` and `wildo config legal-notice` write modules into
|
|
6
6
|
* `backend-api/src/`, and the `document-releases` and `service-consent` validate domains check that
|
|
7
7
|
* each module is CURRENT. Neither checked that anything imports it. A module can therefore be
|
|
8
8
|
* byte-for-byte current while `saas-config.backend.ts` never assigns it — and then the running
|
|
@@ -41,7 +41,9 @@ export declare enum GeneratedComplianceConfigField {
|
|
|
41
41
|
/** The retention schedule the retention-class sweep enforces (#1613). */
|
|
42
42
|
DATA_RETENTION = "dataRetention",
|
|
43
43
|
/** Who else holds a data subject's data — what a subject export lists and a subject erasure accounts for (#1710). */
|
|
44
|
-
SUBJECT_DATA_RECIPIENTS = "subjectDataRecipients"
|
|
44
|
+
SUBJECT_DATA_RECIPIENTS = "subjectDataRecipients",
|
|
45
|
+
/** The legal notice (imprint) the `/legal-notice` page renders (#2588). */
|
|
46
|
+
LEGAL_NOTICE = "legalNotice"
|
|
45
47
|
}
|
|
46
48
|
/** One generated constant and the configuration field it must reach. */
|
|
47
49
|
export interface GeneratedComplianceBinding {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generated-compliance-module-wiring.d.ts","sourceRoot":"","sources":["../../../../../../src/services/compliance/generated-compliance-module-wiring.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AASH,mHAAmH;AAGnH,2FAA2F;AAC3F,oBAAY,8BAA8B;IACxC,uFAAuF;IACvF,0BAA0B,6BAA6B;IACvD,8DAA8D;IAC9D,gBAAgB,oBAAoB;IACpC,8CAA8C;IAC9C,2BAA2B,8BAA8B;IACzD,yEAAyE;IACzE,cAAc,kBAAkB;IAChC,qHAAqH;IACrH,uBAAuB,0BAA0B;
|
|
1
|
+
{"version":3,"file":"generated-compliance-module-wiring.d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
|
|
1
1
|
/**
|
|
2
2
|
* Does the backend configuration actually CARRY what a generated compliance module holds?
|
|
3
3
|
*
|
|
4
|
-
* `wildo config document-releases`, `wildo config service-consent`, `wildo config data-retention
|
|
5
|
-
* subject-data-recipients` write modules into
|
|
4
|
+
* `wildo config document-releases`, `wildo config service-consent`, `wildo config data-retention`, `wildo config
|
|
5
|
+
* subject-data-recipients` and `wildo config legal-notice` write modules into
|
|
6
6
|
* `backend-api/src/`, and the `document-releases` and `service-consent` validate domains check that
|
|
7
7
|
* each module is CURRENT. Neither checked that anything imports it. A module can therefore be
|
|
8
8
|
* byte-for-byte current while `saas-config.backend.ts` never assigns it — and then the running
|
|
@@ -48,6 +48,8 @@ export var GeneratedComplianceConfigField;
|
|
|
48
48
|
GeneratedComplianceConfigField["DATA_RETENTION"] = "dataRetention";
|
|
49
49
|
/** Who else holds a data subject's data — what a subject export lists and a subject erasure accounts for (#1710). */
|
|
50
50
|
GeneratedComplianceConfigField["SUBJECT_DATA_RECIPIENTS"] = "subjectDataRecipients";
|
|
51
|
+
/** The legal notice (imprint) the `/legal-notice` page renders (#2588). */
|
|
52
|
+
GeneratedComplianceConfigField["LEGAL_NOTICE"] = "legalNotice";
|
|
51
53
|
})(GeneratedComplianceConfigField || (GeneratedComplianceConfigField = {}));
|
|
52
54
|
export class GeneratedComplianceWiringError extends Error {
|
|
53
55
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generated-compliance-module-wiring.js","sourceRoot":"","sources":["../../../../../../src/services/compliance/generated-compliance-module-wiring.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,4BAA4B,EAAE,MAAM,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CAA0C,CAAC,UAAkB,EAAE,SAAgD;IAC7H,MAAM,SAAS,GAAG,KAAK,QAAQ,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC;IACvE,MAAM,SAAS,GAAG,SAAS,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC9E,MAAM,WAAW,GAAG,SAAS,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,GAAG,OAAO,CAAC,KAAK,KAAK,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACvG,OAAO,GAAG,4BAA4B,mBAAmB,SAAS,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,cAAc,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI;UAC7H,YAAY,SAAS,YAAY,SAAS,gBAAgB,WAAW,wBAAwB,CAAC;AACpG,CAAC","sourcesContent":["/**\n * Does the backend configuration actually CARRY what a generated compliance module holds?\n *\n * `wildo config document-releases`, `wildo config service-consent`, `wildo config data-retention` and `wildo config\n * subject-data-recipients` write modules into\n * `backend-api/src/`, and the `document-releases` and `service-consent` validate domains check that\n * each module is CURRENT. Neither checked that anything imports it. A module can therefore be\n * byte-for-byte current while `saas-config.backend.ts` never assigns it — and then the running\n * application serves no public privacy or terms document, offers no acceptance control at\n * registration and enforces no consent gate, with every check green.\n *\n * That is not hypothetical wiring trivia: an application that adopts governed documents later (Wonder\n * Todos holds a compliance programme and no release yet) gets the module the day its first draft\n * lands, and nothing in `saas-config.backend.ts` names it.\n *\n * ## Why the comparison is by VALUE, not by reading the import text\n *\n * The question is whether the RUNNING configuration carries the value, and a configuration can import\n * the constant and still assign something else, or assign it through a helper module. So both sides are\n * loaded the way a process would load them — the generated module through `tsImport`, the backend\n * configuration through `loadConfig` — and compared structurally with key order ignored. Both parse\n * through the same schema, so a carried value compares equal and an uncarried one cannot.\n *\n * ## Why an EMPTY value owes nothing\n *\n * A module exporting `[]` or `undefined` changes nothing when it is not carried: the runtime default is\n * the same empty value. Refusing it would turn every application with nothing to publish red over an\n * import that could not change a byte of behaviour — the same reason both domains PASS when no module\n * exists at all. It also means the backend configuration is not loaded for an application that has\n * nothing to carry.\n */\n\nimport { existsSync } from 'node:fs';\nimport { basename, join } from 'node:path';\n\nimport { loadConfig } from '@wildo-ai/platform-config-lib';\nimport { BACKEND_CONFIG_RELATIVE_PATH } from '~wildo-cli/services/application/backend-config.paths';\nimport { tsImport } from 'tsx/esm/api';\n\n/** The backend configuration every generated compliance module is carried by. Relative to the application root. */\n\n\n/** The `compliance` field a generated constant must reach in the backend configuration. */\nexport enum GeneratedComplianceConfigField {\n /** The consent surfaces the registration control and the interaction recorder read. */\n GOVERNED_DOCUMENT_RELEASES = 'governedDocumentReleases',\n /** The documents the public privacy and terms pages serve. */\n PUBLIC_DOCUMENTS = 'publicDocuments',\n /** The consent gate's runtime requirement. */\n SERVICE_CONSENT_REQUIREMENT = 'serviceConsentRequirement',\n /** The retention schedule the retention-class sweep enforces (#1613). */\n DATA_RETENTION = 'dataRetention',\n /** Who else holds a data subject's data — what a subject export lists and a subject erasure accounts for (#1710). */\n SUBJECT_DATA_RECIPIENTS = 'subjectDataRecipients',\n}\n\n/** One generated constant and the configuration field it must reach. */\nexport interface GeneratedComplianceBinding {\n readonly field: GeneratedComplianceConfigField;\n readonly constantName: string;\n}\n\nexport class GeneratedComplianceWiringError extends Error {}\n\n/** Recursively key-sorted JSON, so two structurally equal values compare equal whatever order produced them. */\nfunction canonicalJson(value: unknown): string {\n return JSON.stringify(value, (_key, nested: unknown) => {\n if (nested === null || typeof nested !== 'object' || Array.isArray(nested)) return nested;\n return Object.fromEntries(Object.keys(nested).sort().map((key) => [key, (nested as Record<string, unknown>)[key]]));\n });\n}\n\nconst owesCarrying = (value: unknown): boolean => value !== undefined && value !== null && !(Array.isArray(value) && value.length === 0);\n\n/**\n * The bindings whose generated value is NOT what the backend configuration carries.\n *\n * Throws when a value is owed and the backend configuration cannot be found or loaded: an unknowable\n * answer is not a pass, which is how both validate domains already treat a generator that cannot load.\n */\nexport async function findUncarriedGeneratedComplianceValues(input: {\n readonly appRoot: string;\n readonly modulePath: string;\n readonly bindings: readonly GeneratedComplianceBinding[];\n /** Test seams; production loads both files the way a process would. */\n readonly loadModuleExports?: (path: string) => Promise<Record<string, unknown>>;\n readonly loadBackendConfig?: (path: string) => Promise<unknown>;\n}): Promise<readonly GeneratedComplianceBinding[]> {\n const loadModuleExports = input.loadModuleExports\n ?? (async (path: string) => (await tsImport(path, { parentURL: import.meta.url })) as Record<string, unknown>);\n const moduleExports = await loadModuleExports(input.modulePath);\n const owed = input.bindings.filter((binding) => owesCarrying(moduleExports[binding.constantName]));\n if (owed.length === 0) return [];\n\n const backendConfigPath = join(input.appRoot, BACKEND_CONFIG_RELATIVE_PATH);\n if (!existsSync(backendConfigPath)) {\n throw new GeneratedComplianceWiringError(\n `${basename(input.modulePath)} holds values to carry, and there is no ${BACKEND_CONFIG_RELATIVE_PATH} to carry them.`,\n );\n }\n const loadBackendConfig = input.loadBackendConfig ?? ((path: string) => loadConfig<unknown>(path));\n const backendConfig = (await loadBackendConfig(backendConfigPath)) as { compliance?: Record<string, unknown> } | undefined;\n const compliance = backendConfig?.compliance ?? {};\n return owed.filter((binding) => canonicalJson(compliance[binding.field]) !== canonicalJson(moduleExports[binding.constantName]));\n}\n\n/** The remedy, naming the exact import and assignments — so the gate output alone is enough to fix it. */\nexport function describeUncarriedGeneratedComplianceValues(modulePath: string, uncarried: readonly GeneratedComplianceBinding[]): string {\n const specifier = `./${basename(modulePath).replace(/\\.ts$/u, '.js')}`;\n const constants = uncarried.map((binding) => binding.constantName).join(', ');\n const assignments = uncarried.map((binding) => `${binding.field}: ${binding.constantName}`).join(', ');\n return `${BACKEND_CONFIG_RELATIVE_PATH} does not carry ${uncarried.map((binding) => `compliance.${binding.field}`).join(', ')}. `\n + `Import { ${constants} } from '${specifier}' and assign ${assignments} under \\`compliance\\`.`;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"generated-compliance-module-wiring.js","sourceRoot":"","sources":["../../../../../../src/services/compliance/generated-compliance-module-wiring.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,4BAA4B,EAAE,MAAM,sDAAsD,CAAC;AACpG,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,mHAAmH;AAGnH,2FAA2F;AAC3F,MAAM,CAAN,IAAY,8BAaX;AAbD,WAAY,8BAA8B;IACxC,uFAAuF;IACvF,yFAAuD,CAAA;IACvD,8DAA8D;IAC9D,sEAAoC,CAAA;IACpC,8CAA8C;IAC9C,2FAAyD,CAAA;IACzD,yEAAyE;IACzE,kEAAgC,CAAA;IAChC,qHAAqH;IACrH,mFAAiD,CAAA;IACjD,2EAA2E;IAC3E,8DAA4B,CAAA;AAC9B,CAAC,EAbW,8BAA8B,KAA9B,8BAA8B,QAazC;AAQD,MAAM,OAAO,8BAA+B,SAAQ,KAAK;CAAG;AAE5D,gHAAgH;AAChH,SAAS,aAAa,CAAC,KAAc;IACnC,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC,IAAI,EAAE,MAAe,EAAE,EAAE;QACrD,IAAI,MAAM,KAAK,IAAI,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC;YAAE,OAAO,MAAM,CAAC;QAC1F,OAAO,MAAM,CAAC,WAAW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* Does the backend configuration actually CARRY what a generated compliance module holds?\n *\n * `wildo config document-releases`, `wildo config service-consent`, `wildo config data-retention`, `wildo config\n * subject-data-recipients` and `wildo config legal-notice` write modules into\n * `backend-api/src/`, and the `document-releases` and `service-consent` validate domains check that\n * each module is CURRENT. Neither checked that anything imports it. A module can therefore be\n * byte-for-byte current while `saas-config.backend.ts` never assigns it — and then the running\n * application serves no public privacy or terms document, offers no acceptance control at\n * registration and enforces no consent gate, with every check green.\n *\n * That is not hypothetical wiring trivia: an application that adopts governed documents later (Wonder\n * Todos holds a compliance programme and no release yet) gets the module the day its first draft\n * lands, and nothing in `saas-config.backend.ts` names it.\n *\n * ## Why the comparison is by VALUE, not by reading the import text\n *\n * The question is whether the RUNNING configuration carries the value, and a configuration can import\n * the constant and still assign something else, or assign it through a helper module. So both sides are\n * loaded the way a process would load them — the generated module through `tsImport`, the backend\n * configuration through `loadConfig` — and compared structurally with key order ignored. Both parse\n * through the same schema, so a carried value compares equal and an uncarried one cannot.\n *\n * ## Why an EMPTY value owes nothing\n *\n * A module exporting `[]` or `undefined` changes nothing when it is not carried: the runtime default is\n * the same empty value. Refusing it would turn every application with nothing to publish red over an\n * import that could not change a byte of behaviour — the same reason both domains PASS when no module\n * exists at all. It also means the backend configuration is not loaded for an application that has\n * nothing to carry.\n */\n\nimport { existsSync } from 'node:fs';\nimport { basename, join } from 'node:path';\n\nimport { loadConfig } from '@wildo-ai/platform-config-lib';\nimport { BACKEND_CONFIG_RELATIVE_PATH } from '~wildo-cli/services/application/backend-config.paths';\nimport { tsImport } from 'tsx/esm/api';\n\n/** The backend configuration every generated compliance module is carried by. Relative to the application root. */\n\n\n/** The `compliance` field a generated constant must reach in the backend configuration. */\nexport enum GeneratedComplianceConfigField {\n /** The consent surfaces the registration control and the interaction recorder read. */\n GOVERNED_DOCUMENT_RELEASES = 'governedDocumentReleases',\n /** The documents the public privacy and terms pages serve. */\n PUBLIC_DOCUMENTS = 'publicDocuments',\n /** The consent gate's runtime requirement. */\n SERVICE_CONSENT_REQUIREMENT = 'serviceConsentRequirement',\n /** The retention schedule the retention-class sweep enforces (#1613). */\n DATA_RETENTION = 'dataRetention',\n /** Who else holds a data subject's data — what a subject export lists and a subject erasure accounts for (#1710). */\n SUBJECT_DATA_RECIPIENTS = 'subjectDataRecipients',\n /** The legal notice (imprint) the `/legal-notice` page renders (#2588). */\n LEGAL_NOTICE = 'legalNotice',\n}\n\n/** One generated constant and the configuration field it must reach. */\nexport interface GeneratedComplianceBinding {\n readonly field: GeneratedComplianceConfigField;\n readonly constantName: string;\n}\n\nexport class GeneratedComplianceWiringError extends Error {}\n\n/** Recursively key-sorted JSON, so two structurally equal values compare equal whatever order produced them. */\nfunction canonicalJson(value: unknown): string {\n return JSON.stringify(value, (_key, nested: unknown) => {\n if (nested === null || typeof nested !== 'object' || Array.isArray(nested)) return nested;\n return Object.fromEntries(Object.keys(nested).sort().map((key) => [key, (nested as Record<string, unknown>)[key]]));\n });\n}\n\nconst owesCarrying = (value: unknown): boolean => value !== undefined && value !== null && !(Array.isArray(value) && value.length === 0);\n\n/**\n * The bindings whose generated value is NOT what the backend configuration carries.\n *\n * Throws when a value is owed and the backend configuration cannot be found or loaded: an unknowable\n * answer is not a pass, which is how both validate domains already treat a generator that cannot load.\n */\nexport async function findUncarriedGeneratedComplianceValues(input: {\n readonly appRoot: string;\n readonly modulePath: string;\n readonly bindings: readonly GeneratedComplianceBinding[];\n /** Test seams; production loads both files the way a process would. */\n readonly loadModuleExports?: (path: string) => Promise<Record<string, unknown>>;\n readonly loadBackendConfig?: (path: string) => Promise<unknown>;\n}): Promise<readonly GeneratedComplianceBinding[]> {\n const loadModuleExports = input.loadModuleExports\n ?? (async (path: string) => (await tsImport(path, { parentURL: import.meta.url })) as Record<string, unknown>);\n const moduleExports = await loadModuleExports(input.modulePath);\n const owed = input.bindings.filter((binding) => owesCarrying(moduleExports[binding.constantName]));\n if (owed.length === 0) return [];\n\n const backendConfigPath = join(input.appRoot, BACKEND_CONFIG_RELATIVE_PATH);\n if (!existsSync(backendConfigPath)) {\n throw new GeneratedComplianceWiringError(\n `${basename(input.modulePath)} holds values to carry, and there is no ${BACKEND_CONFIG_RELATIVE_PATH} to carry them.`,\n );\n }\n const loadBackendConfig = input.loadBackendConfig ?? ((path: string) => loadConfig<unknown>(path));\n const backendConfig = (await loadBackendConfig(backendConfigPath)) as { compliance?: Record<string, unknown> } | undefined;\n const compliance = backendConfig?.compliance ?? {};\n return owed.filter((binding) => canonicalJson(compliance[binding.field]) !== canonicalJson(moduleExports[binding.constantName]));\n}\n\n/** The remedy, naming the exact import and assignments — so the gate output alone is enough to fix it. */\nexport function describeUncarriedGeneratedComplianceValues(modulePath: string, uncarried: readonly GeneratedComplianceBinding[]): string {\n const specifier = `./${basename(modulePath).replace(/\\.ts$/u, '.js')}`;\n const constants = uncarried.map((binding) => binding.constantName).join(', ');\n const assignments = uncarried.map((binding) => `${binding.field}: ${binding.constantName}`).join(', ');\n return `${BACKEND_CONFIG_RELATIVE_PATH} does not carry ${uncarried.map((binding) => `compliance.${binding.field}`).join(', ')}. `\n + `Import { ${constants} } from '${specifier}' and assign ${assignments} under \\`compliance\\`.`;\n}\n"]}
|