@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
|
@@ -6,13 +6,14 @@ import { ensureSaasAppScope } from '../../kernel/command-scope-utils.js';
|
|
|
6
6
|
import { ErrorUtils } from '../../infrastructure/errors/error.utils.js';
|
|
7
7
|
import { logCompanionHealthHintUnlessRefused } from '../../services/companion/companion-health-hint.utils.js';
|
|
8
8
|
import { CompanionClient, companionFailureExitCode } from '../../services/companion/companion-client.service.js';
|
|
9
|
-
import { CONTEXT_READ_TIMEOUT_MS, printSourceHeader, resolveContextOptions } from './context-command.utils.js';
|
|
9
|
+
import { CONTEXT_READ_TIMEOUT_MS, printJsonPayload, printSourceHeader, resolveContextOptions } from './context-command.utils.js';
|
|
10
10
|
/**
|
|
11
11
|
* `wildo context launch-blockers` — what still stands between this application and a real user (#2238).
|
|
12
12
|
*
|
|
13
13
|
* Reads the companion's `GET /api/companion/creation/launch-blockers`, the one derivation of the list
|
|
14
14
|
* (`deriveLaunchBlockers`): the undeclared parts of the operator's identity, the governance questions waiting on
|
|
15
|
-
* the person, the undeclared retention classes, the undeclared subject-data recipients
|
|
15
|
+
* the person, the undeclared retention classes, the undeclared subject-data recipients, the sign-up acceptance and a
|
|
16
|
+
* brand name its trademark screening has not cleared (#2338).
|
|
16
17
|
* Each entry names where it is decided and what settles it, and settling one removes it on the next read.
|
|
17
18
|
*
|
|
18
19
|
* It REPORTS and always exits 0 on a read: the list marks, it never blocks
|
|
@@ -22,7 +23,7 @@ import { CONTEXT_READ_TIMEOUT_MS, printSourceHeader, resolveContextOptions } fro
|
|
|
22
23
|
export default class ContextLaunchBlockersCommand extends BaseCommand {
|
|
23
24
|
meta = {
|
|
24
25
|
name: 'context launch-blockers',
|
|
25
|
-
description: 'List what still stands between this application and a real user: each open compliance decision, where it is decided and what settles it.',
|
|
26
|
+
description: 'List what still stands between this application and a real user: each open compliance decision, and a brand name not cleared by its trademark screening — where it is decided and what settles it.',
|
|
26
27
|
category: CommandCategory.Context,
|
|
27
28
|
flags: {
|
|
28
29
|
json: { type: 'boolean', description: 'Emit the launch-blocker list document.', default: false },
|
|
@@ -35,7 +36,8 @@ export default class ContextLaunchBlockersCommand extends BaseCommand {
|
|
|
35
36
|
const options = await resolveContextOptions(ctx, CONTEXT_READ_TIMEOUT_MS);
|
|
36
37
|
const list = LaunchBlockerListSchema.parse(await CompanionClient.get('/api/companion/creation/launch-blockers', options));
|
|
37
38
|
if (ctx.flags.json === true) {
|
|
38
|
-
ctx.log.info
|
|
39
|
+
// On stdout, alone (#2068): a `--json` run's log lines go to stderr, so `ctx.log.info` would print nothing here.
|
|
40
|
+
printJsonPayload(ctx, list);
|
|
39
41
|
return { success: true };
|
|
40
42
|
}
|
|
41
43
|
printSourceHeader(ctx, options, { surface: 'launch blockers', freshness: 'wildo.saas.config.ts, generated modules and the question queue, read at request time' });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"launch-blockers.command.js","sourceRoot":"","sources":["../../../../../../src/commands/context/launch-blockers.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,uBAAuB,EAA0B,MAAM,oDAAoD,CAAC;AAErH,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAC1E,OAAO,EAAE,mCAAmC,EAAE,MAAM,2DAA2D,CAAC;AAChH,OAAO,EAAE,eAAe,EAAE,wBAAwB,EAAE,MAAM,wDAAwD,CAAC;AACnH,OAAO,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"launch-blockers.command.js","sourceRoot":"","sources":["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GG;YACH,KAAK,MAAM,WAAW,IAAI,IAAI,CAAC,kBAAkB,EAAE,CAAC;gBAClD,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,wBAAwB,WAAW,CAAC,MAAM,KAAK,WAAW,CAAC,MAAM,2CAA2C,CAAC,CAAC;YAC7H,CAAC;YACD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;QAC3B,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,uCAAuC,UAAU,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;YAC9F,mCAAmC,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;YAChD,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,wBAAwB,CAAC,KAAK,CAAC,EAAE,CAAC;QACvE,CAAC;IACH,CAAC;CACF","sourcesContent":["import chalk from 'chalk';\n\nimport { LaunchBlockerListSchema, type LaunchBlockerList } from '@wildo-ai/saas-specifications/application-creation';\n\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandMeta, CommandContext, CommandResult } from '~wildo-cli/kernel/types';\nimport { ensureSaasAppScope } from '~wildo-cli/kernel/command-scope-utils';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport { logCompanionHealthHintUnlessRefused } from '~wildo-cli/services/companion/companion-health-hint.utils';\nimport { CompanionClient, companionFailureExitCode } from '~wildo-cli/services/companion/companion-client.service';\nimport { CONTEXT_READ_TIMEOUT_MS, printJsonPayload, printSourceHeader, resolveContextOptions } from './context-command.utils';\n\n/**\n * `wildo context launch-blockers` — what still stands between this application and a real user (#2238).\n *\n * Reads the companion's `GET /api/companion/creation/launch-blockers`, the one derivation of the list\n * (`deriveLaunchBlockers`): the undeclared parts of the operator's identity, the governance questions waiting on\n * the person, the undeclared retention classes, the undeclared subject-data recipients, the sign-up acceptance and a\n * brand name its trademark screening has not cleared (#2338).\n * Each entry names where it is decided and what settles it, and settling one removes it on the next read.\n *\n * It REPORTS and always exits 0 on a read: the list marks, it never blocks\n * (`application-creation-directive.md`). Gate 3 is where these points become gates. `--json` is the document a\n * run report or an agent reads.\n */\nexport default class ContextLaunchBlockersCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'context launch-blockers',\n description: 'List what still stands between this application and a real user: each open compliance decision, and a brand name not cleared by its trademark screening — where it is decided and what settles it.',\n category: CommandCategory.Context,\n flags: {\n json: { type: 'boolean', description: 'Emit the launch-blocker list document.', default: false },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n if (!ensureSaasAppScope(ctx)) return { success: false };\n try {\n const options = await resolveContextOptions(ctx, CONTEXT_READ_TIMEOUT_MS);\n const list: LaunchBlockerList = LaunchBlockerListSchema.parse(await CompanionClient.get<unknown>('/api/companion/creation/launch-blockers', options));\n if (ctx.flags.json === true) {\n // On stdout, alone (#2068): a `--json` run's log lines go to stderr, so `ctx.log.info` would print nothing here.\n printJsonPayload(ctx, list);\n return { success: true };\n }\n printSourceHeader(ctx, options, { surface: 'launch blockers', freshness: 'wildo.saas.config.ts, generated modules and the question queue, read at request time' });\n ctx.log.info('');\n if (list.blockers.length === 0 && list.unevaluatedSources.length === 0) {\n ctx.log.success('Nothing open stands between this application and launch.');\n return { success: true };\n }\n if (list.blockers.length > 0) {\n ctx.log.info(chalk.bold(`${list.blockers.length} open decision(s) before you can launch — marked, not blocking\\n`));\n for (const blocker of list.blockers) {\n ctx.log.info(` • ${blocker.statement}`);\n ctx.log.info(chalk.dim(` decided in: ${blocker.decidedIn}`));\n ctx.log.info(chalk.dim(` settle it: ${blocker.settledBy}`));\n }\n }\n /*\n * An unread source is not a clean one. Printed apart, so \"nothing open\" is never what an unreadable\n * configuration or question queue looks like.\n */\n for (const unevaluated of list.unevaluatedSources) {\n ctx.log.warn(` Could not evaluate ${unevaluated.source}: ${unevaluated.reason}. Its decisions are UNKNOWN, not settled.`);\n }\n return { success: true };\n } catch (error) {\n ctx.log.error(`Could not read the launch blockers: ${ErrorUtils.extractErrorMessage(error)}`);\n logCompanionHealthHintUnlessRefused(ctx, error);\n return { success: false, exitCode: companionFailureExitCode(error) };\n }\n }\n}\n"]}
|
|
@@ -22,4 +22,6 @@ export default class ContextPipelinesCommand extends BaseCommand {
|
|
|
22
22
|
readonly meta: CommandMeta;
|
|
23
23
|
run(ctx: CommandContext): Promise<CommandResult>;
|
|
24
24
|
}
|
|
25
|
+
/** The backend's local base URL: the generated runtime address of the primary backend, else its declared port. */
|
|
26
|
+
export declare function resolveBackendBaseUrl(saasRoot: string): Promise<string | null>;
|
|
25
27
|
//# sourceMappingURL=pipelines.command.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipelines.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/context/pipelines.command.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pipelines.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/context/pipelines.command.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAkB1F,uFAAuF;AACvF,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAQrF;AAED;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,OAAO,OAAO,uBAAwB,SAAQ,WAAW;IAC9D,QAAQ,CAAC,IAAI,EAAE,WAAW,CAQxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CA4EvD;AAED,kHAAkH;AAClH,wBAAsB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAOpF"}
|
|
@@ -115,10 +115,13 @@ export default class ContextPipelinesCommand extends BaseCommand {
|
|
|
115
115
|
for (const pipeline of pipelines) {
|
|
116
116
|
const health = pipeline.health;
|
|
117
117
|
const failing = health && health.consecutiveFailures > 0 ? chalk.red(` · failing: ${health.consecutiveFailures} run(s) in a row`) : '';
|
|
118
|
+
// #2096 — the inbound passes complete, so `failing` stays quiet, while nothing is being sent.
|
|
119
|
+
const notSending = health && (health.consecutiveSendingFailures ?? 0) > 0
|
|
120
|
+
? chalk.red(` · not sending: the sending half failed ${health.consecutiveSendingFailures} run(s) in a row`) : '';
|
|
118
121
|
const unreachable = pipeline.sourceUnreachable ? chalk.yellow(` · source unreachable since ${pipeline.sourceUnreachable.since}`) : '';
|
|
119
|
-
ctx.log.info(`${chalk.bold(pipeline.resourceType)} ← ${pipeline.
|
|
122
|
+
ctx.log.info(`${chalk.bold(pipeline.resourceType)} ← ${pipeline.systemOfRecord}`
|
|
120
123
|
+ ` · last completed pass: ${health?.lastCompletedPassAt ?? 'never'} (${describeAge(health?.lastCompletedPassAt, now)})`
|
|
121
|
-
+ ` · last full pass: ${describeAge(health?.lastCompletedFullPassAt, now)}${failing}${unreachable}`);
|
|
124
|
+
+ ` · last full pass: ${describeAge(health?.lastCompletedFullPassAt, now)}${failing}${notSending}${unreachable}`);
|
|
122
125
|
}
|
|
123
126
|
}
|
|
124
127
|
printJsonPayload(ctx, body);
|
|
@@ -126,7 +129,7 @@ export default class ContextPipelinesCommand extends BaseCommand {
|
|
|
126
129
|
}
|
|
127
130
|
}
|
|
128
131
|
/** The backend's local base URL: the generated runtime address of the primary backend, else its declared port. */
|
|
129
|
-
async function resolveBackendBaseUrl(saasRoot) {
|
|
132
|
+
export async function resolveBackendBaseUrl(saasRoot) {
|
|
130
133
|
const target = await AppRuntimeTargetsService.resolve(saasRoot, { environmentName: null });
|
|
131
134
|
const primary = target ? selectPrimaryBackendService(target.backendServices) : undefined;
|
|
132
135
|
if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CAAC;QACH,CAAC;QACD,gBAAgB,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;QAC5B,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC3B,CAAC;CACF;AAED,kHAAkH;AAClH,KAAK,UAAU,qBAAqB,CAAC,QAAgB;IACnD,MAAM,MAAM,GAAG,MAAM,wBAAwB,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,CAAC;IAC3F,MAAM,OAAO,GAAG,MAAM,CAAC,CAAC,CAAC,2BAA2B,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IACzF,IAAI,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAC1B,MAAM,OAAO,GAAG,CAAC,MAAM,mCAAmC,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACrF,IAAI,OAAO,EAAE,GAAG;QAAE,OAAO,OAAO,CAAC,GAAG,CAAC;IACrC,OAAO,OAAO,CAAC,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,oBAAoB,OAAO,CAAC,WAAW,EAAE,CAAC;AAC9F,CAAC;AAED,mFAAmF;AACnF,SAAS,eAAe,CAAC,MAAc;IACrC,IAAI,MAAM,KAAK,GAAG;QAAE,OAAO,gHAAgH,CAAC;IAC5I,IAAI,MAAM,KAAK,GAAG;QAAE,OAAO,oIAAoI,CAAC;IAChK,IAAI,MAAM,KAAK,GAAG;QAAE,OAAO,sGAAsG,CAAC;IAClI,OAAO,oDAAoD,CAAC;AAC9D,CAAC","sourcesContent":["import chalk from 'chalk';\nimport { selectPrimaryBackendService, WildoLocationType } from '@wildo-ai/platform-config-lib';\nimport {\n ExternalDataAdminEndpointHeaderKey,\n ExternalDataAdminEndpointMountBasePath,\n ExternalDataAdminEndpointPath,\n} from '@wildo-ai/saas-backend-lib';\n\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandMeta, CommandContext, CommandResult } from '~wildo-cli/kernel/types';\nimport { ensureSaasAppScope } from '~wildo-cli/kernel/command-scope-utils';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport { loadAppLocalRuntimeServiceAddresses } from '~wildo-cli/services/application/app-local-runtime-addresses.service';\nimport { AppRuntimeTargetsService } from '~wildo-cli/services/application/app-runtime-targets.service';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport { printJsonPayload } from './context-command.utils';\n\n/** A read of one small listing; a backend that needs longer than this is not answering the question asked. */\nconst PIPELINES_READ_TIMEOUT_MS = 30_000;\n\n/** What the listing says about one pipeline — only the fields this command summarises; the JSON carries the rest. */\ninterface PipelineListingEntry {\n readonly resourceType: string;\n readonly declaration?: { readonly binding?: { readonly system?: string } };\n readonly sourceUnreachable?: { readonly since?: string; readonly failedAttempts?: number } | null;\n readonly health?: {\n readonly lastRunAt: string | null;\n readonly lastOutcome: string | null;\n readonly lastCompletedPassAt: string | null;\n readonly lastCompletedFullPassAt: string | null;\n readonly consecutiveFailures: number;\n };\n}\n\n/** The staleness of an instant, in the unit a person reads: minutes, hours or days. */\nexport function describeAge(instant: string | null | undefined, nowMs: number): string {\n if (!instant) return 'never';\n const ageMs = Math.max(0, nowMs - Date.parse(instant));\n const minutes = Math.floor(ageMs / 60_000);\n if (minutes < 60) return `${minutes} min ago`;\n const hours = Math.floor(minutes / 60);\n if (hours < 48) return `${hours} h ago`;\n return `${Math.floor(hours / 24)} d ago`;\n}\n\n/**\n * `wildo context pipelines` — every external-data pipeline the application declares, with what its run history says\n * (#1740): when it last completed a pass (and a full one), how long ago that was, and whether it is failing. With\n * `--runs <resourceType>`, that pipeline's runs, newest first, each with its failure kind and the source rows it refused.\n *\n * ## Why this verb asks the BACKEND, not the companion\n *\n * Every other verb of the family reads through the dev companion. This one cannot: a pipeline's history lives in the\n * running application's own database, and the companion neither calls the application backend nor holds its admin\n * secret. The backend already answers it at its external-data admin door, and the CLI already holds that door's secret\n * (`secrets.json → application.adminSecret`, the value the backend receives as `APPLICATION_ADMIN_SECRET`) and the\n * backend's local address. Building a companion route plus a way to hand it the secret would add a hop that knows\n * nothing more. The verb stays READ-ONLY, like the family: it issues GETs only.\n *\n * LOCAL only: the address is the locally-running backend's, so the secret is the active LOCAL environment's.\n */\nexport default class ContextPipelinesCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'context pipelines',\n description: 'List the external-data pipelines this application declares, with their last completed pass and health, from the running backend. `--runs <resourceType>` prints one pipeline\\'s run history with its rejected rows.',\n category: CommandCategory.Context,\n flags: {\n runs: { type: 'string', description: 'A pipeline\\'s destination resource type: print its run history instead of the listing.' },\n limit: { type: 'number', description: 'With --runs: how many runs (default 20, at most 100).' },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n if (!ensureSaasAppScope(ctx)) return { success: false };\n const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot!;\n const env = ctx.activeEnv;\n if (!env) {\n ctx.log.error('No active environment. Run `wildo init` first.');\n return { success: false };\n }\n if (env.locationType === WildoLocationType.REMOTE) {\n ctx.log.error('`wildo context pipelines` asks the LOCALLY-running backend; the active environment is remote.');\n return { success: false };\n }\n const secret = EnvironmentUtils.loadSecretsJson(env.name)?.application?.adminSecret;\n if (!secret) {\n ctx.log.error(`No application admin secret is stored for '${env.name}'. Run \\`wildo config sync\\`, then restart the application.`);\n return { success: false };\n }\n const baseUrl = await resolveBackendBaseUrl(saasRoot);\n if (!baseUrl) {\n ctx.log.error('Could not resolve the application backend\\'s local address: no backend service declares a port.');\n return { success: false };\n }\n\n const runsOf = typeof ctx.flags.runs === 'string' && ctx.flags.runs.length > 0 ? ctx.flags.runs : null;\n const path = runsOf === null\n ? ExternalDataAdminEndpointPath.PIPELINES\n : `${ExternalDataAdminEndpointPath.RUNS}?${new URLSearchParams({\n resourceType: runsOf,\n ...(ctx.flags.limit === undefined ? {} : { limit: String(ctx.flags.limit) }),\n }).toString()}`;\n const url = `${baseUrl.replace(/\\/$/, '')}${ExternalDataAdminEndpointMountBasePath}${path}`;\n\n let response: Response;\n try {\n response = await fetch(url, {\n headers: { [ExternalDataAdminEndpointHeaderKey]: secret },\n signal: AbortSignal.timeout(PIPELINES_READ_TIMEOUT_MS),\n });\n } catch (error) {\n ctx.log.error(`${chalk.red('unreachable')} — application backend at ${baseUrl}: ${ErrorUtils.extractErrorMessage(error)}`);\n ctx.log.error('Start the stack with `wildo local dev` from the application root. Nothing was read: this is not an empty answer.');\n return { success: false };\n }\n const body = await response.json().catch(() => null) as Record<string, unknown> | null;\n if (!response.ok) {\n ctx.log.error(`${chalk.yellow(`HTTP ${response.status}`)} — application backend at ${baseUrl}${path}: ${describeRefusal(response.status)}`);\n if (body) printJsonPayload(ctx, body);\n return { success: false };\n }\n\n if (body === null) {\n // A 200 with no JSON is not the admin door (another service on that port, a proxy page): saying \"no pipeline\"\n // here would be the empty answer this verb promises never to give.\n ctx.log.error(`${chalk.yellow('unexpected answer')} — ${baseUrl}${path} answered 200 without a JSON body: is that the application backend?`);\n return { success: false };\n }\n ctx.log.info(`source: application-backend ${baseUrl} · external-data admin door · freshness: CURRENT (read from the running backend's store)`);\n if (runsOf === null) {\n const pipelines = (body?.pipelines ?? []) as PipelineListingEntry[];\n if (pipelines.length === 0) ctx.log.info('This application declares no external-data pipeline.');\n const now = Date.now();\n for (const pipeline of pipelines) {\n const health = pipeline.health;\n const failing = health && health.consecutiveFailures > 0 ? chalk.red(` · failing: ${health.consecutiveFailures} run(s) in a row`) : '';\n const unreachable = pipeline.sourceUnreachable ? chalk.yellow(` · source unreachable since ${pipeline.sourceUnreachable.since}`) : '';\n ctx.log.info(`${chalk.bold(pipeline.resourceType)} ← ${pipeline.declaration?.binding?.system ?? '?'}`\n + ` · last completed pass: ${health?.lastCompletedPassAt ?? 'never'} (${describeAge(health?.lastCompletedPassAt, now)})`\n + ` · last full pass: ${describeAge(health?.lastCompletedFullPassAt, now)}${failing}${unreachable}`);\n }\n }\n printJsonPayload(ctx, body);\n return { success: true };\n }\n}\n\n/** The backend's local base URL: the generated runtime address of the primary backend, else its declared port. */\nasync function resolveBackendBaseUrl(saasRoot: string): Promise<string | null> {\n const target = await AppRuntimeTargetsService.resolve(saasRoot, { environmentName: null });\n const primary = target ? selectPrimaryBackendService(target.backendServices) : undefined;\n if (!primary) return null;\n const address = (await loadAppLocalRuntimeServiceAddresses(saasRoot))?.[primary.key];\n if (address?.url) return address.url;\n return primary.defaultPort === undefined ? null : `http://localhost:${primary.defaultPort}`;\n}\n\n/** What each refusal of the admin door means — the three are different repairs. */\nfunction describeRefusal(status: number): string {\n if (status === 503) return 'the backend has no admin secret configured (APPLICATION_ADMIN_SECRET): run `wildo config sync` and restart it.';\n if (status === 401) return 'the admin secret was refused: the stored secret and the running backend\\'s differ — restart the backend after `wildo config sync`.';\n if (status === 400) return 'the request was refused as invalid (see the body): is that resource a declared pipeline destination?';\n return 'the backend answered with an error (see the body).';\n}\n"]}
|
|
1
|
+
{"version":3,"file":"pipelines.command.js","sourceRoot":"","sources":["../../../../../../src/commands/context/pipelines.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,2BAA2B,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAC/F,OAAO,EACL,kCAAkC,EAClC,sCAAsC,EACtC,6BAA6B,GAG9B,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAC1E,OAAO,EAAE,mCAAmC,EAAE,MAAM,qEAAqE,CAAC;AAC1H,OAAO,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AC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IACzF,IAAI,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAC1B,MAAM,OAAO,GAAG,CAAC,MAAM,mCAAmC,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACrF,IAAI,OAAO,EAAE,GAAG;QAAE,OAAO,OAAO,CAAC,GAAG,CAAC;IACrC,OAAO,OAAO,CAAC,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,oBAAoB,OAAO,CAAC,WAAW,EAAE,CAAC;AAC9F,CAAC;AAED,mFAAmF;AACnF,SAAS,eAAe,CAAC,MAAc;IACrC,IAAI,MAAM,KAAK,GAAG;QAAE,OAAO,gHAAgH,CAAC;IAC5I,IAAI,MAAM,KAAK,GAAG;QAAE,OAAO,oIAAoI,CAAC;IAChK,IAAI,MAAM,KAAK,GAAG;QAAE,OAAO,sGAAsG,CAAC;IAClI,OAAO,oDAAoD,CAAC;AAC9D,CAAC","sourcesContent":["import chalk from 'chalk';\nimport { selectPrimaryBackendService, WildoLocationType } from '@wildo-ai/platform-config-lib';\nimport {\n ExternalDataAdminEndpointHeaderKey,\n ExternalDataAdminEndpointMountBasePath,\n ExternalDataAdminEndpointPath,\n type ExternalDataAdminWire,\n type ExternalDataPipelineListingEntry,\n} from '@wildo-ai/saas-backend-lib';\n\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandMeta, CommandContext, CommandResult } from '~wildo-cli/kernel/types';\nimport { ensureSaasAppScope } from '~wildo-cli/kernel/command-scope-utils';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport { loadAppLocalRuntimeServiceAddresses } from '~wildo-cli/services/application/app-local-runtime-addresses.service';\nimport { AppRuntimeTargetsService } from '~wildo-cli/services/application/app-runtime-targets.service';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport { printJsonPayload } from './context-command.utils';\n\n/** A read of one small listing; a backend that needs longer than this is not answering the question asked. */\nconst PIPELINES_READ_TIMEOUT_MS = 30_000;\n\n/**\n * What the listing says about one pipeline — only the fields this command summarises; the JSON carries the rest. Picked\n * from the backend's own answer type (#2105), as it arrives over HTTP: a field renamed there is a compile error here,\n * where an invented shape (`declaration.binding.system`) once showed every system as \"?\" with a green test.\n */\ntype PipelineListingEntry = Pick<ExternalDataAdminWire<ExternalDataPipelineListingEntry>, 'resourceType' | 'systemOfRecord' | 'sourceUnreachable' | 'health'>;\n\n/** The staleness of an instant, in the unit a person reads: minutes, hours or days. */\nexport function describeAge(instant: string | null | undefined, nowMs: number): string {\n if (!instant) return 'never';\n const ageMs = Math.max(0, nowMs - Date.parse(instant));\n const minutes = Math.floor(ageMs / 60_000);\n if (minutes < 60) return `${minutes} min ago`;\n const hours = Math.floor(minutes / 60);\n if (hours < 48) return `${hours} h ago`;\n return `${Math.floor(hours / 24)} d ago`;\n}\n\n/**\n * `wildo context pipelines` — every external-data pipeline the application declares, with what its run history says\n * (#1740): when it last completed a pass (and a full one), how long ago that was, and whether it is failing. With\n * `--runs <resourceType>`, that pipeline's runs, newest first, each with its failure kind and the source rows it refused.\n *\n * ## Why this verb asks the BACKEND, not the companion\n *\n * Every other verb of the family reads through the dev companion. This one cannot: a pipeline's history lives in the\n * running application's own database, and the companion neither calls the application backend nor holds its admin\n * secret. The backend already answers it at its external-data admin door, and the CLI already holds that door's secret\n * (`secrets.json → application.adminSecret`, the value the backend receives as `APPLICATION_ADMIN_SECRET`) and the\n * backend's local address. Building a companion route plus a way to hand it the secret would add a hop that knows\n * nothing more. The verb stays READ-ONLY, like the family: it issues GETs only.\n *\n * LOCAL only: the address is the locally-running backend's, so the secret is the active LOCAL environment's.\n */\nexport default class ContextPipelinesCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'context pipelines',\n description: 'List the external-data pipelines this application declares, with their last completed pass and health, from the running backend. `--runs <resourceType>` prints one pipeline\\'s run history with its rejected rows.',\n category: CommandCategory.Context,\n flags: {\n runs: { type: 'string', description: 'A pipeline\\'s destination resource type: print its run history instead of the listing.' },\n limit: { type: 'number', description: 'With --runs: how many runs (default 20, at most 100).' },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n if (!ensureSaasAppScope(ctx)) return { success: false };\n const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot!;\n const env = ctx.activeEnv;\n if (!env) {\n ctx.log.error('No active environment. Run `wildo init` first.');\n return { success: false };\n }\n if (env.locationType === WildoLocationType.REMOTE) {\n ctx.log.error('`wildo context pipelines` asks the LOCALLY-running backend; the active environment is remote.');\n return { success: false };\n }\n const secret = EnvironmentUtils.loadSecretsJson(env.name)?.application?.adminSecret;\n if (!secret) {\n ctx.log.error(`No application admin secret is stored for '${env.name}'. Run \\`wildo config sync\\`, then restart the application.`);\n return { success: false };\n }\n const baseUrl = await resolveBackendBaseUrl(saasRoot);\n if (!baseUrl) {\n ctx.log.error('Could not resolve the application backend\\'s local address: no backend service declares a port.');\n return { success: false };\n }\n\n const runsOf = typeof ctx.flags.runs === 'string' && ctx.flags.runs.length > 0 ? ctx.flags.runs : null;\n const path = runsOf === null\n ? ExternalDataAdminEndpointPath.PIPELINES\n : `${ExternalDataAdminEndpointPath.RUNS}?${new URLSearchParams({\n resourceType: runsOf,\n ...(ctx.flags.limit === undefined ? {} : { limit: String(ctx.flags.limit) }),\n }).toString()}`;\n const url = `${baseUrl.replace(/\\/$/, '')}${ExternalDataAdminEndpointMountBasePath}${path}`;\n\n let response: Response;\n try {\n response = await fetch(url, {\n headers: { [ExternalDataAdminEndpointHeaderKey]: secret },\n signal: AbortSignal.timeout(PIPELINES_READ_TIMEOUT_MS),\n });\n } catch (error) {\n ctx.log.error(`${chalk.red('unreachable')} — application backend at ${baseUrl}: ${ErrorUtils.extractErrorMessage(error)}`);\n ctx.log.error('Start the stack with `wildo local dev` from the application root. Nothing was read: this is not an empty answer.');\n return { success: false };\n }\n const body = await response.json().catch(() => null) as Record<string, unknown> | null;\n if (!response.ok) {\n ctx.log.error(`${chalk.yellow(`HTTP ${response.status}`)} — application backend at ${baseUrl}${path}: ${describeRefusal(response.status)}`);\n if (body) printJsonPayload(ctx, body);\n return { success: false };\n }\n\n if (body === null) {\n // A 200 with no JSON is not the admin door (another service on that port, a proxy page): saying \"no pipeline\"\n // here would be the empty answer this verb promises never to give.\n ctx.log.error(`${chalk.yellow('unexpected answer')} — ${baseUrl}${path} answered 200 without a JSON body: is that the application backend?`);\n return { success: false };\n }\n ctx.log.info(`source: application-backend ${baseUrl} · external-data admin door · freshness: CURRENT (read from the running backend's store)`);\n if (runsOf === null) {\n const pipelines = (body?.pipelines ?? []) as PipelineListingEntry[];\n if (pipelines.length === 0) ctx.log.info('This application declares no external-data pipeline.');\n const now = Date.now();\n for (const pipeline of pipelines) {\n const health = pipeline.health;\n const failing = health && health.consecutiveFailures > 0 ? chalk.red(` · failing: ${health.consecutiveFailures} run(s) in a row`) : '';\n // #2096 — the inbound passes complete, so `failing` stays quiet, while nothing is being sent.\n const notSending = health && (health.consecutiveSendingFailures ?? 0) > 0\n ? chalk.red(` · not sending: the sending half failed ${health.consecutiveSendingFailures} run(s) in a row`) : '';\n const unreachable = pipeline.sourceUnreachable ? chalk.yellow(` · source unreachable since ${pipeline.sourceUnreachable.since}`) : '';\n ctx.log.info(`${chalk.bold(pipeline.resourceType)} ← ${pipeline.systemOfRecord}`\n + ` · last completed pass: ${health?.lastCompletedPassAt ?? 'never'} (${describeAge(health?.lastCompletedPassAt, now)})`\n + ` · last full pass: ${describeAge(health?.lastCompletedFullPassAt, now)}${failing}${notSending}${unreachable}`);\n }\n }\n printJsonPayload(ctx, body);\n return { success: true };\n }\n}\n\n/** The backend's local base URL: the generated runtime address of the primary backend, else its declared port. */\nexport async function resolveBackendBaseUrl(saasRoot: string): Promise<string | null> {\n const target = await AppRuntimeTargetsService.resolve(saasRoot, { environmentName: null });\n const primary = target ? selectPrimaryBackendService(target.backendServices) : undefined;\n if (!primary) return null;\n const address = (await loadAppLocalRuntimeServiceAddresses(saasRoot))?.[primary.key];\n if (address?.url) return address.url;\n return primary.defaultPort === undefined ? null : `http://localhost:${primary.defaultPort}`;\n}\n\n/** What each refusal of the admin door means — the three are different repairs. */\nfunction describeRefusal(status: number): string {\n if (status === 503) return 'the backend has no admin secret configured (APPLICATION_ADMIN_SECRET): run `wildo config sync` and restart it.';\n if (status === 401) return 'the admin secret was refused: the stored secret and the running backend\\'s differ — restart the backend after `wildo config sync`.';\n if (status === 400) return 'the request was refused as invalid (see the body): is that resource a declared pipeline destination?';\n return 'the backend answered with an error (see the body).';\n}\n"]}
|
|
@@ -4,6 +4,10 @@ import type { CommandContext, CommandMeta, CommandResult } from '../../kernel/ty
|
|
|
4
4
|
* `wildo creation accept <runId>` — commit what one PLAYBOOK run wrote (#1652). A coding run of a build
|
|
5
5
|
* task is accepted with `wildo build accept <taskRef>`; both go through the companion's one commit
|
|
6
6
|
* service, as the workbench's `accept` does.
|
|
7
|
+
*
|
|
8
|
+
* `wildo creation accept --dossier` commits the creator's recorded answers on their own (#2332). Answers
|
|
9
|
+
* and the interview depth are recorded without a commit; a run's accept carries the dossier it reads, and
|
|
10
|
+
* this is the door for answers no accepted run has read yet.
|
|
7
11
|
*/
|
|
8
12
|
export default class CreationAcceptCommand extends BaseCommand {
|
|
9
13
|
readonly meta: CommandMeta;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accept.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/creation/accept.command.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAK1F
|
|
1
|
+
{"version":3,"file":"accept.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/creation/accept.command.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAK1F;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,WAAW;IAC5D,QAAQ,CAAC,IAAI,EAAE,WAAW,CAWxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CA6BvD"}
|
|
@@ -8,21 +8,46 @@ import { CONSOLE_WRITE_TIMEOUT_MS, runConsoleVerb } from '../../services/compani
|
|
|
8
8
|
* `wildo creation accept <runId>` — commit what one PLAYBOOK run wrote (#1652). A coding run of a build
|
|
9
9
|
* task is accepted with `wildo build accept <taskRef>`; both go through the companion's one commit
|
|
10
10
|
* service, as the workbench's `accept` does.
|
|
11
|
+
*
|
|
12
|
+
* `wildo creation accept --dossier` commits the creator's recorded answers on their own (#2332). Answers
|
|
13
|
+
* and the interview depth are recorded without a commit; a run's accept carries the dossier it reads, and
|
|
14
|
+
* this is the door for answers no accepted run has read yet.
|
|
11
15
|
*/
|
|
12
16
|
export default class CreationAcceptCommand extends BaseCommand {
|
|
13
17
|
meta = {
|
|
14
18
|
name: 'creation accept',
|
|
15
|
-
description: 'Commit what one playbook run wrote.',
|
|
19
|
+
description: 'Commit what one playbook run wrote, or with --dossier the creator\'s recorded answers.',
|
|
16
20
|
category: CommandCategory.Local,
|
|
17
21
|
minimumScope: WorkspaceScope.SAAS_APP,
|
|
18
|
-
args: [{ name: 'runId', description: 'The run, as `wildo creation writes` lists it', required:
|
|
22
|
+
args: [{ name: 'runId', description: 'The run, as `wildo creation writes` lists it (omit with --dossier)', required: false }],
|
|
19
23
|
flags: {
|
|
20
|
-
|
|
24
|
+
dossier: { type: 'boolean', description: 'Commit the creator\'s recorded answers (the dossier) instead of a run.', default: false },
|
|
25
|
+
force: { type: 'boolean', description: 'Include files edited since the run (not with --dossier).', default: false },
|
|
21
26
|
json: { type: 'boolean', description: 'Emit the outcome document.', default: false },
|
|
22
27
|
},
|
|
23
28
|
};
|
|
24
29
|
async run(ctx) {
|
|
25
|
-
const runId =
|
|
30
|
+
const runId = typeof ctx.args.runId === 'string' ? ctx.args.runId.trim() : '';
|
|
31
|
+
if (ctx.flags.dossier === true) {
|
|
32
|
+
if (runId.length > 0) {
|
|
33
|
+
ctx.log.error('--dossier commits the recorded answers, not a run: give a run id or --dossier, not both.');
|
|
34
|
+
return { success: false };
|
|
35
|
+
}
|
|
36
|
+
if (ctx.flags.force === true) {
|
|
37
|
+
ctx.log.error('--force applies to a run (files edited since it); the dossier is committed as it stands, so it takes no --force.');
|
|
38
|
+
return { success: false };
|
|
39
|
+
}
|
|
40
|
+
return runConsoleVerb(ctx, {
|
|
41
|
+
failureLabel: 'Could not accept the dossier',
|
|
42
|
+
timeoutMs: CONSOLE_WRITE_TIMEOUT_MS,
|
|
43
|
+
call: (options) => CreationConsoleClient.acceptDossier(options),
|
|
44
|
+
render: (outcome) => describeAcceptOutcome('the dossier', outcome),
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
if (runId.length === 0) {
|
|
48
|
+
ctx.log.error('Name the run to accept (`wildo creation writes` lists them), or pass --dossier to commit the recorded answers.');
|
|
49
|
+
return { success: false };
|
|
50
|
+
}
|
|
26
51
|
return runConsoleVerb(ctx, {
|
|
27
52
|
failureLabel: `Could not accept ${runId}`,
|
|
28
53
|
timeoutMs: CONSOLE_WRITE_TIMEOUT_MS,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accept.command.js","sourceRoot":"","sources":["../../../../../../src/commands/creation/accept.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,y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AAK,EAAE;YACzC,SAAS,EAAE,wBAAwB;YACnC,IAAI,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,qBAAqB,CAAC,SAAS,CAAC,OAAO,EAAE,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,KAAK,KAAK,IAAI,CAAC;YAC5F,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,qBAAqB,CAAC,KAAK,EAAE,OAAO,CAAC;SAC3D,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { WorkspaceScope } from '@wildo-ai/platform-config-lib';\n\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandContext, CommandMeta, CommandResult } from '~wildo-cli/kernel/types';\nimport { describeAcceptOutcome } from '~wildo-cli/services/companion/build-console.service';\nimport { CreationConsoleClient } from '~wildo-cli/services/companion/creation-console.service';\nimport { CONSOLE_WRITE_TIMEOUT_MS, runConsoleVerb } from '~wildo-cli/services/companion/console-verb.utils';\n\n/**\n * `wildo creation accept <runId>` — commit what one PLAYBOOK run wrote (#1652). A coding run of a build\n * task is accepted with `wildo build accept <taskRef>`; both go through the companion's one commit\n * service, as the workbench's `accept` does.\n *\n * `wildo creation accept --dossier` commits the creator's recorded answers on their own (#2332). Answers\n * and the interview depth are recorded without a commit; a run's accept carries the dossier it reads, and\n * this is the door for answers no accepted run has read yet.\n */\nexport default class CreationAcceptCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'creation accept',\n description: 'Commit what one playbook run wrote, or with --dossier the creator\\'s recorded answers.',\n category: CommandCategory.Local,\n minimumScope: WorkspaceScope.SAAS_APP,\n args: [{ name: 'runId', description: 'The run, as `wildo creation writes` lists it (omit with --dossier)', required: false }],\n flags: {\n dossier: { type: 'boolean', description: 'Commit the creator\\'s recorded answers (the dossier) instead of a run.', default: false },\n force: { type: 'boolean', description: 'Include files edited since the run (not with --dossier).', default: false },\n json: { type: 'boolean', description: 'Emit the outcome document.', default: false },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const runId = typeof ctx.args.runId === 'string' ? ctx.args.runId.trim() : '';\n if (ctx.flags.dossier === true) {\n if (runId.length > 0) {\n ctx.log.error('--dossier commits the recorded answers, not a run: give a run id or --dossier, not both.');\n return { success: false };\n }\n if (ctx.flags.force === true) {\n ctx.log.error('--force applies to a run (files edited since it); the dossier is committed as it stands, so it takes no --force.');\n return { success: false };\n }\n return runConsoleVerb(ctx, {\n failureLabel: 'Could not accept the dossier',\n timeoutMs: CONSOLE_WRITE_TIMEOUT_MS,\n call: (options) => CreationConsoleClient.acceptDossier(options),\n render: (outcome) => describeAcceptOutcome('the dossier', outcome),\n });\n }\n if (runId.length === 0) {\n ctx.log.error('Name the run to accept (`wildo creation writes` lists them), or pass --dossier to commit the recorded answers.');\n return { success: false };\n }\n return runConsoleVerb(ctx, {\n failureLabel: `Could not accept ${runId}`,\n timeoutMs: CONSOLE_WRITE_TIMEOUT_MS,\n call: (options) => CreationConsoleClient.acceptRun(options, runId, ctx.flags.force === true),\n render: (outcome) => describeAcceptOutcome(runId, outcome),\n });\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"answer.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/creation/answer.command.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"answer.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/creation/answer.command.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAyB1F;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,WAAW;IAC5D,QAAQ,CAAC,IAAI,EAAE,WAAW,CAsBxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CA2FvD"}
|
|
@@ -8,6 +8,7 @@ import { ErrorUtils } from '../../infrastructure/errors/error.utils.js';
|
|
|
8
8
|
import { CompanionRequestTimeoutError, companionFailureExitCode } from '../../services/companion/companion-client.service.js';
|
|
9
9
|
import { buildAnswerRequest, CreationConsoleClient, isRunningInsideCodingAgent, readGitIdentity } from '../../services/companion/creation-console.service.js';
|
|
10
10
|
import { CONTEXT_READ_TIMEOUT_MS, resolveContextOptions } from '../context/context-command.utils.js';
|
|
11
|
+
import { writeJsonDocument } from '../../kernel/json-document-output.js';
|
|
11
12
|
/**
|
|
12
13
|
* The `--answer ref=value` tokens AS GIVEN. Deliberately not `parseCsvFlag`: that splits on commas, and
|
|
13
14
|
* an answer is prose — "EU, then the UK" would arrive as two broken pairs.
|
|
@@ -147,7 +148,7 @@ export default class CreationAnswerCommand extends BaseCommand {
|
|
|
147
148
|
try {
|
|
148
149
|
const outcome = await CreationConsoleClient.answer(await resolveContextOptions(ctx, ANSWER_TIMEOUT_MS), request);
|
|
149
150
|
if (ctx.flags.json === true) {
|
|
150
|
-
|
|
151
|
+
writeJsonDocument(outcome);
|
|
151
152
|
}
|
|
152
153
|
else {
|
|
153
154
|
ctx.log.success(`${chalk.bold(outcome.action)} → ${outcome.questionId}`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"answer.command.js","sourceRoot":"","sources":["../../../../../../src/commands/creation/answer.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,2BAA2B,EAAE,8BAA8B,EAAsC,MAAM,gCAAgC,CAAC;AAEjJ,OAAO,EAAE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AA2E,CAAC,CAAC,CAAC;gBACrG,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;YAC3B,CAAC;YACD,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,oBAAoB,UAAU,KAAK,UAAU,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;YAC1F,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,wBAAwB,CAAC,KAAK,CAAC,EAAE,CAAC;QACvE,CAAC;IACH,CAAC;CACF","sourcesContent":["import chalk from 'chalk';\n\nimport { WorkspaceScope } from '@wildo-ai/platform-config-lib';\nimport { CreationConsoleQuestionKind, parseCreationConsoleQuestionId, type CreationConsole_AnswerRequest } from '@wildo-ai/platform-core-shared';\n\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandContext, CommandMeta, CommandResult } from '~wildo-cli/kernel/types';\nimport { ensureSaasAppScope } from '~wildo-cli/kernel/command-scope-utils';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport { CompanionRequestTimeoutError, companionFailureExitCode } from '~wildo-cli/services/companion/companion-client.service';\nimport { buildAnswerRequest, CreationConsoleClient, isRunningInsideCodingAgent, readGitIdentity } from '~wildo-cli/services/companion/creation-console.service';\nimport { CONTEXT_READ_TIMEOUT_MS, resolveContextOptions } from '../context/context-command.utils';\n\n/**\n * The `--answer ref=value` tokens AS GIVEN. Deliberately not `parseCsvFlag`: that splits on commas, and\n * an answer is prose — \"EU, then the UK\" would arrive as two broken pairs.\n */\nfunction answerPairs(value: unknown): string[] {\n if (Array.isArray(value)) return value.filter((entry): entry is string => typeof entry === 'string');\n return typeof value === 'string' ? [value] : [];\n}\n\n/**\n * How long to wait for the companion's reply. An answer to a playbook round holds the request open\n * while the run CONTINUES (generation, validation, judge), which can outlast any sensible wait — but a\n * wrong answer is refused before the continuation starts, so reaching this limit means the answer was\n * admitted, and is reported as that rather than as a failure.\n */\nconst ANSWER_TIMEOUT_MS = 10 * 60 * 1000;\n\n/**\n * `wildo creation answer <questionId> [answer]` — answer, decline or cancel one question the companion\n * waits on. The answer reaches the same companion service the workbench's own button does.\n *\n * - One question: pass the answer positionally.\n * - A playbook round with several questions: `--answer ref=value` per question.\n * - `--decline` lets the asking run decide and state its assumption; `--cancel` abandons the run.\n * - `--decline` may carry the answers you DID give: the run decides only the questions left unanswered.\n * - `--revision` is the one `wildo creation questions` printed. It is REQUIRED for a playbook round and\n * a parked coding run, because both can ask again under the same id — an answer written for the\n * previous question is refused rather than applied to the next one.\n *\n * ## Who answered (#1658)\n *\n * Every answer records its author, into the dossier, the committed `DECISIONS.md` or `CODING-ANSWERS.md`.\n *\n * - `--answer` (and a positional answer) is the PERSON's: your git identity, or `--by`.\n * - `--derived ref=value --derived-by agent:<name>` is an answer an agent derived on its own from the\n * application. One call may carry both, which is how a round mixing the two is answered at all.\n * - INSIDE AN AGENT SESSION the person's answers must be declared: `--person` (your git identity) or\n * `--by`. There the git identity belongs to the person and the typist is the agent, so a silent default\n * is exactly how an agent's derivation would be recorded as the person's decision.\n * - `--assumed \"<value>\" --rationale \"<why>\"` (#2129) keeps a PROPOSAL from `wildo creation propose` for an\n * interview question the person did not know: recorded as ASSUMED, authored by the companion's proposer,\n * never as the person's decision. The dossier lists it to revisit.\n */\nexport default class CreationAnswerCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'creation answer',\n description: 'Answer, decline or cancel one question the companion waits on.',\n category: CommandCategory.Local,\n minimumScope: WorkspaceScope.SAAS_APP,\n args: [\n { name: 'questionId', description: 'The question, as `wildo creation questions` names it', required: true },\n { name: 'answer', description: 'The answer, for a question that asks one thing', required: false },\n ],\n flags: {\n answer: { type: 'string[]', description: 'ref=value, once per question of a round with several: the person\\'s answers.' },\n derived: { type: 'string[]', description: 'ref=value: an answer an agent derived on its own from the application (needs --derived-by).' },\n 'derived-by': { type: 'string', description: 'The agent that derived the --derived answers, as agent:<name>.' },\n person: { type: 'boolean', description: 'The --answer values are the person\\'s own (your git identity). Required inside an agent session.', default: false },\n assumed: { type: 'boolean', description: 'The positional answer is a proposal the person let stand because they did not know (interview questions; recorded as assumed).', default: false },\n rationale: { type: 'string', description: 'Required with --assumed: what the proposal rests on, as `wildo creation propose` printed it.' },\n revision: { type: 'string', description: 'The revision `wildo creation questions` printed (required for a playbook round or a parked coding run).' },\n decline: { type: 'boolean', description: 'Let the asking run decide what is left unanswered and state its assumption (playbook rounds).', default: false },\n cancel: { type: 'boolean', description: 'Abandon the run that asked.', default: false },\n by: { type: 'string', description: 'Who gave the --answer values (default: your git identity).' },\n json: { type: 'boolean', description: 'Emit the companion\\'s outcome document.', default: false },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n if (!ensureSaasAppScope(ctx)) return { success: false };\n const questionId = typeof ctx.args.questionId === 'string' ? ctx.args.questionId : '';\n const parsed = parseCreationConsoleQuestionId(questionId);\n if (!parsed) {\n ctx.log.error(`\"${questionId}\" is not a question id — copy one from \\`wildo creation questions\\`.`);\n return { success: false };\n }\n let request: CreationConsole_AnswerRequest;\n try {\n /*\n * Read the item first, on the ordinary READ deadline: a positional answer needs its field ref, and\n * the reader sees what is being answered. Kept OUTSIDE the timeout-means-sent handling below —\n * a read that times out has sent nothing, and must say so.\n */\n const readOptions = await resolveContextOptions(ctx, CONTEXT_READ_TIMEOUT_MS);\n const queue = await CreationConsoleClient.readQuestions(readOptions);\n /* An assumption (#2129) is not waiting, but it is answerable: revisiting it records the person's own answer. */\n const question = queue.questions.find((candidate) => candidate.questionId === questionId)\n ?? (queue.assumptions ?? []).find((candidate) => candidate.questionId === questionId)\n ?? null;\n\n /*\n * WHO answers, for every kind (#1658): the committed DECISIONS.md and CODING-ANSWERS.md say who,\n * as the dossier does. The person's answers are theirs by `--by` or by git identity; an agent's own\n * derivations come through `--derived` under `--derived-by`. Only the dossier REQUIRES an author, so\n * only an interview answer is refused without one.\n */\n const personPairs = answerPairs(ctx.flags.answer);\n const derivedPairs = answerPairs(ctx.flags.derived);\n let answeredByRef = typeof ctx.flags.by === 'string' && ctx.flags.by.trim().length > 0 ? ctx.flags.by.trim() : undefined;\n /* An assumption is reviewed by what it rests on (#2129): without --rationale there is nothing to show at review. */\n if (ctx.flags.assumed === true && !(typeof ctx.flags.rationale === 'string' && ctx.flags.rationale.trim().length > 0)) {\n ctx.log.error('--assumed records a proposal the person kept; pass --rationale \"<why>\" as `wildo creation propose` printed it. Nothing was sent.');\n return { success: false };\n }\n /* An assumed answer is the proposer's, not the person's (#2129), so it needs no --person. */\n const givesPersonAnswers = personPairs.length > 0 || (typeof ctx.args.answer === 'string' && ctx.flags.assumed !== true);\n if (givesPersonAnswers && !answeredByRef && ctx.flags.person !== true && isRunningInsideCodingAgent()) {\n ctx.log.error('Inside an agent session, say whose answer this is: --person when the person gave it (recorded under their git identity), '\n + 'or --derived ref=value --derived-by agent:<name> when you derived it yourself. Nothing was sent.');\n return { success: false };\n }\n if (!answeredByRef) {\n const appRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;\n answeredByRef = appRoot ? (await readGitIdentity(appRoot)) ?? undefined : undefined;\n }\n if (!answeredByRef && parsed.kind === CreationConsoleQuestionKind.INTERVIEW) {\n ctx.log.error('An interview answer records who gave it, and git has no user.email here. Pass --by <who>.');\n return { success: false };\n }\n\n request = buildAnswerRequest({\n questionId,\n ...(typeof ctx.flags.revision === 'string' ? { revision: ctx.flags.revision } : {}),\n ...(typeof ctx.args.answer === 'string' ? { value: ctx.args.answer } : {}),\n pairs: personPairs,\n derivedPairs,\n ...(typeof ctx.flags['derived-by'] === 'string' ? { derivedByRef: ctx.flags['derived-by'].trim() } : {}),\n ...(ctx.flags.assumed === true ? { assumed: true } : {}),\n ...(typeof ctx.flags.rationale === 'string' && ctx.flags.rationale.trim().length > 0 ? { assumptionRationale: ctx.flags.rationale.trim() } : {}),\n decline: ctx.flags.decline === true,\n cancel: ctx.flags.cancel === true,\n ...(answeredByRef ? { answeredByRef } : {}),\n question,\n });\n } catch (error) {\n ctx.log.error(`Could not answer ${questionId}: ${ErrorUtils.extractErrorMessage(error)} (nothing was sent).`);\n return { success: false, exitCode: companionFailureExitCode(error) };\n }\n\n try {\n const outcome = await CreationConsoleClient.answer(await resolveContextOptions(ctx, ANSWER_TIMEOUT_MS), request);\n if (ctx.flags.json === true) {\n ctx.log.info(JSON.stringify(outcome));\n } else {\n ctx.log.success(`${chalk.bold(outcome.action)} → ${outcome.questionId}`);\n ctx.log.info(chalk.dim(' Follow what it does next with: wildo creation feed --follow --exit-on-change'));\n }\n return { success: true };\n } catch (error) {\n /* Only the POST: see ANSWER_TIMEOUT_MS — a wrong answer is refused before the run continues. */\n if (error instanceof CompanionRequestTimeoutError) {\n ctx.log.success(`Answer sent to ${questionId}; the run is still continuing.`);\n ctx.log.info(chalk.dim(' Its outcome will show in: wildo creation feed --follow --exit-on-change'));\n return { success: true };\n }\n ctx.log.error(`Could not answer ${questionId}: ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false, exitCode: companionFailureExitCode(error) };\n }\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"answer.command.js","sourceRoot":"","sources":["../../../../../../src/commands/creation/answer.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,2BAA2B,EAAE,8BAA8B,EAAsC,MAAM,gCAAgC,CAAC;AAEjJ,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAC1E,OAAO,EAAE,4BAA4B,EAAE,wBAAwB,EAAE,MAAM,wDAAwD,CAAC;AAChI,OAAO,EAAE,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,KAAK,CAAC,EAAE,CAAC;QACvE,CAAC;IACH,CAAC;CACF","sourcesContent":["import chalk from 'chalk';\n\nimport { WorkspaceScope } from '@wildo-ai/platform-config-lib';\nimport { CreationConsoleQuestionKind, parseCreationConsoleQuestionId, type CreationConsole_AnswerRequest } from '@wildo-ai/platform-core-shared';\n\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandContext, CommandMeta, CommandResult } from '~wildo-cli/kernel/types';\nimport { ensureSaasAppScope } from '~wildo-cli/kernel/command-scope-utils';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport { CompanionRequestTimeoutError, companionFailureExitCode } from '~wildo-cli/services/companion/companion-client.service';\nimport { buildAnswerRequest, CreationConsoleClient, isRunningInsideCodingAgent, readGitIdentity } from '~wildo-cli/services/companion/creation-console.service';\nimport { CONTEXT_READ_TIMEOUT_MS, resolveContextOptions } from '../context/context-command.utils';\nimport { writeJsonDocument } from '~wildo-cli/kernel/json-document-output';\n\n/**\n * The `--answer ref=value` tokens AS GIVEN. Deliberately not `parseCsvFlag`: that splits on commas, and\n * an answer is prose — \"EU, then the UK\" would arrive as two broken pairs.\n */\nfunction answerPairs(value: unknown): string[] {\n if (Array.isArray(value)) return value.filter((entry): entry is string => typeof entry === 'string');\n return typeof value === 'string' ? [value] : [];\n}\n\n/**\n * How long to wait for the companion's reply. An answer to a playbook round holds the request open\n * while the run CONTINUES (generation, validation, judge), which can outlast any sensible wait — but a\n * wrong answer is refused before the continuation starts, so reaching this limit means the answer was\n * admitted, and is reported as that rather than as a failure.\n */\nconst ANSWER_TIMEOUT_MS = 10 * 60 * 1000;\n\n/**\n * `wildo creation answer <questionId> [answer]` — answer, decline or cancel one question the companion\n * waits on. The answer reaches the same companion service the workbench's own button does.\n *\n * - One question: pass the answer positionally.\n * - A playbook round with several questions: `--answer ref=value` per question.\n * - `--decline` lets the asking run decide and state its assumption; `--cancel` abandons the run.\n * - `--decline` may carry the answers you DID give: the run decides only the questions left unanswered.\n * - `--revision` is the one `wildo creation questions` printed. It is REQUIRED for a playbook round and\n * a parked coding run, because both can ask again under the same id — an answer written for the\n * previous question is refused rather than applied to the next one.\n *\n * ## Who answered (#1658)\n *\n * Every answer records its author, into the dossier, the committed `DECISIONS.md` or `CODING-ANSWERS.md`.\n *\n * - `--answer` (and a positional answer) is the PERSON's: your git identity, or `--by`.\n * - `--derived ref=value --derived-by agent:<name>` is an answer an agent derived on its own from the\n * application. One call may carry both, which is how a round mixing the two is answered at all.\n * - INSIDE AN AGENT SESSION the person's answers must be declared: `--person` (your git identity) or\n * `--by`. There the git identity belongs to the person and the typist is the agent, so a silent default\n * is exactly how an agent's derivation would be recorded as the person's decision.\n * - `--assumed \"<value>\" --rationale \"<why>\"` (#2129) keeps a PROPOSAL from `wildo creation propose` for an\n * interview question the person did not know: recorded as ASSUMED, authored by the companion's proposer,\n * never as the person's decision. The dossier lists it to revisit.\n */\nexport default class CreationAnswerCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'creation answer',\n description: 'Answer, decline or cancel one question the companion waits on.',\n category: CommandCategory.Local,\n minimumScope: WorkspaceScope.SAAS_APP,\n args: [\n { name: 'questionId', description: 'The question, as `wildo creation questions` names it', required: true },\n { name: 'answer', description: 'The answer, for a question that asks one thing', required: false },\n ],\n flags: {\n answer: { type: 'string[]', description: 'ref=value, once per question of a round with several: the person\\'s answers.' },\n derived: { type: 'string[]', description: 'ref=value: an answer an agent derived on its own from the application (needs --derived-by).' },\n 'derived-by': { type: 'string', description: 'The agent that derived the --derived answers, as agent:<name>.' },\n person: { type: 'boolean', description: 'The --answer values are the person\\'s own (your git identity). Required inside an agent session.', default: false },\n assumed: { type: 'boolean', description: 'The positional answer is a proposal the person let stand because they did not know (interview questions; recorded as assumed).', default: false },\n rationale: { type: 'string', description: 'Required with --assumed: what the proposal rests on, as `wildo creation propose` printed it.' },\n revision: { type: 'string', description: 'The revision `wildo creation questions` printed (required for a playbook round or a parked coding run).' },\n decline: { type: 'boolean', description: 'Let the asking run decide what is left unanswered and state its assumption (playbook rounds).', default: false },\n cancel: { type: 'boolean', description: 'Abandon the run that asked.', default: false },\n by: { type: 'string', description: 'Who gave the --answer values (default: your git identity).' },\n json: { type: 'boolean', description: 'Emit the companion\\'s outcome document.', default: false },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n if (!ensureSaasAppScope(ctx)) return { success: false };\n const questionId = typeof ctx.args.questionId === 'string' ? ctx.args.questionId : '';\n const parsed = parseCreationConsoleQuestionId(questionId);\n if (!parsed) {\n ctx.log.error(`\"${questionId}\" is not a question id — copy one from \\`wildo creation questions\\`.`);\n return { success: false };\n }\n let request: CreationConsole_AnswerRequest;\n try {\n /*\n * Read the item first, on the ordinary READ deadline: a positional answer needs its field ref, and\n * the reader sees what is being answered. Kept OUTSIDE the timeout-means-sent handling below —\n * a read that times out has sent nothing, and must say so.\n */\n const readOptions = await resolveContextOptions(ctx, CONTEXT_READ_TIMEOUT_MS);\n const queue = await CreationConsoleClient.readQuestions(readOptions);\n /* An assumption (#2129) is not waiting, but it is answerable: revisiting it records the person's own answer. */\n const question = queue.questions.find((candidate) => candidate.questionId === questionId)\n ?? (queue.assumptions ?? []).find((candidate) => candidate.questionId === questionId)\n ?? null;\n\n /*\n * WHO answers, for every kind (#1658): the committed DECISIONS.md and CODING-ANSWERS.md say who,\n * as the dossier does. The person's answers are theirs by `--by` or by git identity; an agent's own\n * derivations come through `--derived` under `--derived-by`. Only the dossier REQUIRES an author, so\n * only an interview answer is refused without one.\n */\n const personPairs = answerPairs(ctx.flags.answer);\n const derivedPairs = answerPairs(ctx.flags.derived);\n let answeredByRef = typeof ctx.flags.by === 'string' && ctx.flags.by.trim().length > 0 ? ctx.flags.by.trim() : undefined;\n /* An assumption is reviewed by what it rests on (#2129): without --rationale there is nothing to show at review. */\n if (ctx.flags.assumed === true && !(typeof ctx.flags.rationale === 'string' && ctx.flags.rationale.trim().length > 0)) {\n ctx.log.error('--assumed records a proposal the person kept; pass --rationale \"<why>\" as `wildo creation propose` printed it. Nothing was sent.');\n return { success: false };\n }\n /* An assumed answer is the proposer's, not the person's (#2129), so it needs no --person. */\n const givesPersonAnswers = personPairs.length > 0 || (typeof ctx.args.answer === 'string' && ctx.flags.assumed !== true);\n if (givesPersonAnswers && !answeredByRef && ctx.flags.person !== true && isRunningInsideCodingAgent()) {\n ctx.log.error('Inside an agent session, say whose answer this is: --person when the person gave it (recorded under their git identity), '\n + 'or --derived ref=value --derived-by agent:<name> when you derived it yourself. Nothing was sent.');\n return { success: false };\n }\n if (!answeredByRef) {\n const appRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;\n answeredByRef = appRoot ? (await readGitIdentity(appRoot)) ?? undefined : undefined;\n }\n if (!answeredByRef && parsed.kind === CreationConsoleQuestionKind.INTERVIEW) {\n ctx.log.error('An interview answer records who gave it, and git has no user.email here. Pass --by <who>.');\n return { success: false };\n }\n\n request = buildAnswerRequest({\n questionId,\n ...(typeof ctx.flags.revision === 'string' ? { revision: ctx.flags.revision } : {}),\n ...(typeof ctx.args.answer === 'string' ? { value: ctx.args.answer } : {}),\n pairs: personPairs,\n derivedPairs,\n ...(typeof ctx.flags['derived-by'] === 'string' ? { derivedByRef: ctx.flags['derived-by'].trim() } : {}),\n ...(ctx.flags.assumed === true ? { assumed: true } : {}),\n ...(typeof ctx.flags.rationale === 'string' && ctx.flags.rationale.trim().length > 0 ? { assumptionRationale: ctx.flags.rationale.trim() } : {}),\n decline: ctx.flags.decline === true,\n cancel: ctx.flags.cancel === true,\n ...(answeredByRef ? { answeredByRef } : {}),\n question,\n });\n } catch (error) {\n ctx.log.error(`Could not answer ${questionId}: ${ErrorUtils.extractErrorMessage(error)} (nothing was sent).`);\n return { success: false, exitCode: companionFailureExitCode(error) };\n }\n\n try {\n const outcome = await CreationConsoleClient.answer(await resolveContextOptions(ctx, ANSWER_TIMEOUT_MS), request);\n if (ctx.flags.json === true) {\n writeJsonDocument(outcome);\n } else {\n ctx.log.success(`${chalk.bold(outcome.action)} → ${outcome.questionId}`);\n ctx.log.info(chalk.dim(' Follow what it does next with: wildo creation feed --follow --exit-on-change'));\n }\n return { success: true };\n } catch (error) {\n /* Only the POST: see ANSWER_TIMEOUT_MS — a wrong answer is refused before the run continues. */\n if (error instanceof CompanionRequestTimeoutError) {\n ctx.log.success(`Answer sent to ${questionId}; the run is still continuing.`);\n ctx.log.info(chalk.dim(' Its outcome will show in: wildo creation feed --follow --exit-on-change'));\n return { success: true };\n }\n ctx.log.error(`Could not answer ${questionId}: ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false, exitCode: companionFailureExitCode(error) };\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BaseCommand } from '../../kernel/base-command';
|
|
2
|
+
import type { CommandContext, CommandMeta, CommandResult } from '../../kernel/types';
|
|
3
|
+
/**
|
|
4
|
+
* `wildo creation brand logo [--redraw]` (#2411) — draw the application's logo and accept it, in one call: the expert
|
|
5
|
+
* panel deliberates, the winner is promoted into `specifications/src/brand/`, and the mark is copied to every surface
|
|
6
|
+
* that serves it. The same composition the build's logo step runs.
|
|
7
|
+
*
|
|
8
|
+
* Without `--redraw` it refuses when the application already carries an accepted mark, because replacing an
|
|
9
|
+
* application's identity is a deliberate act. Before this verb, a person whose logo step would not run had to call
|
|
10
|
+
* `POST /brand/deliberate-logo` and `/brand/accept-logo` by hand with the companion token (`app-creation-test-005`).
|
|
11
|
+
*
|
|
12
|
+
* Expensive: a panel of three experts, several generated images and a vision judge.
|
|
13
|
+
*/
|
|
14
|
+
export default class CreationBrandLogoCommand extends BaseCommand {
|
|
15
|
+
readonly meta: CommandMeta;
|
|
16
|
+
run(ctx: CommandContext): Promise<CommandResult>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=brand-logo.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brand-logo.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/creation/brand-logo.command.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAI1F;;;;;;;;;;GAUG;AACH,MAAM,CAAC,OAAO,OAAO,wBAAyB,SAAQ,WAAW;IAC/D,QAAQ,CAAC,IAAI,EAAE,WAAW,CASxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CAcvD"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { WorkspaceScope } from '@wildo-ai/platform-config-lib';
|
|
2
|
+
import { BaseCommand } from '../../kernel/base-command.js';
|
|
3
|
+
import { CommandCategory } from '../../kernel/types.js';
|
|
4
|
+
import { CreationConsoleClient } from '../../services/companion/creation-console.service.js';
|
|
5
|
+
import { CONSOLE_WRITE_TIMEOUT_MS, runConsoleVerb } from '../../services/companion/console-verb.utils.js';
|
|
6
|
+
/**
|
|
7
|
+
* `wildo creation brand logo [--redraw]` (#2411) — draw the application's logo and accept it, in one call: the expert
|
|
8
|
+
* panel deliberates, the winner is promoted into `specifications/src/brand/`, and the mark is copied to every surface
|
|
9
|
+
* that serves it. The same composition the build's logo step runs.
|
|
10
|
+
*
|
|
11
|
+
* Without `--redraw` it refuses when the application already carries an accepted mark, because replacing an
|
|
12
|
+
* application's identity is a deliberate act. Before this verb, a person whose logo step would not run had to call
|
|
13
|
+
* `POST /brand/deliberate-logo` and `/brand/accept-logo` by hand with the companion token (`app-creation-test-005`).
|
|
14
|
+
*
|
|
15
|
+
* Expensive: a panel of three experts, several generated images and a vision judge.
|
|
16
|
+
*/
|
|
17
|
+
export default class CreationBrandLogoCommand extends BaseCommand {
|
|
18
|
+
meta = {
|
|
19
|
+
name: 'creation brand logo',
|
|
20
|
+
description: 'Draw and accept the application\'s logo; --redraw replaces an accepted one.',
|
|
21
|
+
category: CommandCategory.Local,
|
|
22
|
+
minimumScope: WorkspaceScope.SAAS_APP,
|
|
23
|
+
flags: {
|
|
24
|
+
redraw: { type: 'boolean', description: 'Replace the accepted logo with a newly drawn one.', default: false },
|
|
25
|
+
json: { type: 'boolean', description: 'Emit the companion\'s document.', default: false },
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
async run(ctx) {
|
|
29
|
+
const redraw = ctx.flags.redraw === true;
|
|
30
|
+
return runConsoleVerb(ctx, {
|
|
31
|
+
failureLabel: 'The logo could not be drawn',
|
|
32
|
+
timeoutMs: CONSOLE_WRITE_TIMEOUT_MS,
|
|
33
|
+
call: (options) => CreationConsoleClient.brandLogo(options, redraw),
|
|
34
|
+
render: (outcome) => [
|
|
35
|
+
`${outcome.redrawn ? 'Redrew' : 'Drew'} the logo: the panel chose ${outcome.deliberation.staged.winnerRef} (record: ${outcome.deliberation.recordPath}).`,
|
|
36
|
+
`Accepted into ${outcome.accept.resolvedAssetsModulePath}: ${outcome.accept.promotedFiles.length} file(s).`,
|
|
37
|
+
...[...outcome.deliberation.warnings, ...outcome.accept.warnings].map((warning) => ` warning: ${warning}`),
|
|
38
|
+
'The mark and the copies made for each surface are working edits until you commit them (git status lists them).',
|
|
39
|
+
],
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=brand-logo.command.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brand-logo.command.js","sourceRoot":"","sources":["../../../../../../src/commands/creation/brand-logo.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,wDAAwD,CAAC;AAC/F,OAAO,EAA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,CAAC,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,cAAc,OAAO,EAAE,CAAC;gBAC3G,gHAAgH;aACjH;SACF,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { WorkspaceScope } from '@wildo-ai/platform-config-lib';\n\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandContext, CommandMeta, CommandResult } from '~wildo-cli/kernel/types';\nimport { CreationConsoleClient } from '~wildo-cli/services/companion/creation-console.service';\nimport { CONSOLE_WRITE_TIMEOUT_MS, runConsoleVerb } from '~wildo-cli/services/companion/console-verb.utils';\n\n/**\n * `wildo creation brand logo [--redraw]` (#2411) — draw the application's logo and accept it, in one call: the expert\n * panel deliberates, the winner is promoted into `specifications/src/brand/`, and the mark is copied to every surface\n * that serves it. The same composition the build's logo step runs.\n *\n * Without `--redraw` it refuses when the application already carries an accepted mark, because replacing an\n * application's identity is a deliberate act. Before this verb, a person whose logo step would not run had to call\n * `POST /brand/deliberate-logo` and `/brand/accept-logo` by hand with the companion token (`app-creation-test-005`).\n *\n * Expensive: a panel of three experts, several generated images and a vision judge.\n */\nexport default class CreationBrandLogoCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'creation brand logo',\n description: 'Draw and accept the application\\'s logo; --redraw replaces an accepted one.',\n category: CommandCategory.Local,\n minimumScope: WorkspaceScope.SAAS_APP,\n flags: {\n redraw: { type: 'boolean', description: 'Replace the accepted logo with a newly drawn one.', default: false },\n json: { type: 'boolean', description: 'Emit the companion\\'s document.', default: false },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const redraw = ctx.flags.redraw === true;\n return runConsoleVerb(ctx, {\n failureLabel: 'The logo could not be drawn',\n timeoutMs: CONSOLE_WRITE_TIMEOUT_MS,\n call: (options) => CreationConsoleClient.brandLogo(options, redraw),\n render: (outcome) => [\n `${outcome.redrawn ? 'Redrew' : 'Drew'} the logo: the panel chose ${outcome.deliberation.staged.winnerRef} (record: ${outcome.deliberation.recordPath}).`,\n `Accepted into ${outcome.accept.resolvedAssetsModulePath}: ${outcome.accept.promotedFiles.length} file(s).`,\n ...[...outcome.deliberation.warnings, ...outcome.accept.warnings].map((warning) => ` warning: ${warning}`),\n 'The mark and the copies made for each surface are working edits until you commit them (git status lists them).',\n ],\n });\n }\n}\n"]}
|
|
@@ -6,8 +6,8 @@ import type { CommandContext, CommandMeta, CommandResult } from '../../kernel/ty
|
|
|
6
6
|
*
|
|
7
7
|
* The request is a file because it IS a document — `workDomain`, `briefContext`, `candidates`,
|
|
8
8
|
* `reviewerRoleRefs`, `coordinatorRoleRef` — and the companion validates it; this command keeps no
|
|
9
|
-
* second copy of that shape. A role with no
|
|
10
|
-
* `wildo creation persona
|
|
9
|
+
* second copy of that shape. A role with no committed charter is refused (derive and accept it with
|
|
10
|
+
* `wildo creation persona`; no restart, #2349). It is expensive: candidates × reviewers per
|
|
11
11
|
* round, plus the rubric and the synthesis.
|
|
12
12
|
*/
|
|
13
13
|
export default class CreationDeliberateCommand extends BaseCommand {
|
|
@@ -12,8 +12,8 @@ import { CONSOLE_WRITE_TIMEOUT_MS, runConsoleVerb } from '../../services/compani
|
|
|
12
12
|
*
|
|
13
13
|
* The request is a file because it IS a document — `workDomain`, `briefContext`, `candidates`,
|
|
14
14
|
* `reviewerRoleRefs`, `coordinatorRoleRef` — and the companion validates it; this command keeps no
|
|
15
|
-
* second copy of that shape. A role with no
|
|
16
|
-
* `wildo creation persona
|
|
15
|
+
* second copy of that shape. A role with no committed charter is refused (derive and accept it with
|
|
16
|
+
* `wildo creation persona`; no restart, #2349). It is expensive: candidates × reviewers per
|
|
17
17
|
* round, plus the rubric and the synthesis.
|
|
18
18
|
*/
|
|
19
19
|
export default class CreationDeliberateCommand extends BaseCommand {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deliberate.command.js","sourceRoot":"","sources":["../../../../../../src/commands/creation/deliberate.command.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AC5B,CAAC;QACD,IAAI,OAAgC,CAAC;QACrC,IAAI,CAAC;YACH,MAAM,MAAM,GAAY,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;YACzE,IAAI,MAAM,KAAK,IAAI,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC;gBAAE,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;YAClI,OAAO,GAAG,MAAiC,CAAC;QAC9C,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,kBAAkB,KAAK,KAAK,mBAAmB,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;YACxE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;QAC5B,CAAC;QACD,OAAO,cAAc,CAAC,GAAG,EAAE;YACzB,YAAY,EAAE,gCAAgC;YAC9C,SAAS,EAAE,wBAAwB;YACnC,IAAI,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,qBAAqB,CAAC,UAAU,CAAC,OAAO,EAAE,OAAO,CAAC;YACrE,MAAM,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;SACtD,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { readFileSync } from 'node:fs';\nimport { resolve } from 'node:path';\n\nimport { WorkspaceScope } from '@wildo-ai/platform-config-lib';\n\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandContext, CommandMeta, CommandResult } from '~wildo-cli/kernel/types';\nimport { describeCaughtError } from '@wildo-ai/saas-models';\nimport { CreationConsoleClient } from '~wildo-cli/services/companion/creation-console.service';\nimport { CONSOLE_WRITE_TIMEOUT_MS, runConsoleVerb } from '~wildo-cli/services/companion/console-verb.utils';\n\n/**\n * `wildo creation deliberate --input <file.json>` — convene reviewers over several text candidates\n * (#1656): a rubric, bounded review rounds, a synthesis.\n *\n * The request is a file because it IS a document — `workDomain`, `briefContext`, `candidates`,\n * `reviewerRoleRefs`, `coordinatorRoleRef` — and the companion validates it; this command keeps no\n * second copy of that shape. A role with no
|
|
1
|
+
{"version":3,"file":"deliberate.command.js","sourceRoot":"","sources":["../../../../../../src/commands/creation/deliberate.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,wDAAwD,CAAC;AAC/F,OAAO,EAAE,wBAAwB,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAE5G;;;;;;;;;GASG;AACH,MAAM,CAAC,OAAO,OAAO,yBAA0B,SAAQ,WAAW;IACvD,IAAI,GAAgB;QAC3B,IAAI,EAAE,qBAAqB;QAC3B,WAAW,EAAE,qFAAqF;QAClG,QAAQ,EAAE,eAAe,CAAC,KAAK;QAC/B,YAAY,EAAE,cAAc,CAAC,QAAQ;QACrC,KAAK,EAAE;YACL,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,yFAAyF,EAAE;YACjI,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,iCAAiC,EAAE,OAAO,EAAE,KAAK,EAAE;SAC1F;KACF,CAAC;IAEF,KAAK,CAAC,GAAG,CAAC,GAAmB;QAC3B,MAA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} from 'node:fs';\nimport { resolve } from 'node:path';\n\nimport { WorkspaceScope } from '@wildo-ai/platform-config-lib';\n\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandContext, CommandMeta, CommandResult } from '~wildo-cli/kernel/types';\nimport { describeCaughtError } from '@wildo-ai/saas-models';\nimport { CreationConsoleClient } from '~wildo-cli/services/companion/creation-console.service';\nimport { CONSOLE_WRITE_TIMEOUT_MS, runConsoleVerb } from '~wildo-cli/services/companion/console-verb.utils';\n\n/**\n * `wildo creation deliberate --input <file.json>` — convene reviewers over several text candidates\n * (#1656): a rubric, bounded review rounds, a synthesis.\n *\n * The request is a file because it IS a document — `workDomain`, `briefContext`, `candidates`,\n * `reviewerRoleRefs`, `coordinatorRoleRef` — and the companion validates it; this command keeps no\n * second copy of that shape. A role with no committed charter is refused (derive and accept it with\n * `wildo creation persona`; no restart, #2349). It is expensive: candidates × reviewers per\n * round, plus the rubric and the synthesis.\n */\nexport default class CreationDeliberateCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'creation deliberate',\n description: 'Convene reviewer personas over several text candidates, and return their synthesis.',\n category: CommandCategory.Local,\n minimumScope: WorkspaceScope.SAAS_APP,\n flags: {\n input: { type: 'string', description: 'A JSON file: workDomain, briefContext, candidates, reviewerRoleRefs, coordinatorRoleRef' },\n json: { type: 'boolean', description: 'Emit the companion\\'s document.', default: false },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const input = typeof ctx.flags.input === 'string' ? ctx.flags.input : '';\n if (input.length === 0) {\n ctx.log.error('Usage: wildo creation deliberate --input <request.json>');\n return { success: false };\n }\n let request: Record<string, unknown>;\n try {\n const parsed: unknown = JSON.parse(readFileSync(resolve(input), 'utf8'));\n if (parsed === null || typeof parsed !== 'object' || Array.isArray(parsed)) throw new Error('the file must hold one JSON object');\n request = parsed as Record<string, unknown>;\n } catch (error) {\n ctx.log.error(`Could not read ${input}: ${describeCaughtError(error)}`);\n return { success: false };\n }\n return runConsoleVerb(ctx, {\n failureLabel: 'The deliberation could not run',\n timeoutMs: CONSOLE_WRITE_TIMEOUT_MS,\n call: (options) => CreationConsoleClient.deliberate(options, request),\n render: (result) => [JSON.stringify(result, null, 2)],\n });\n }\n}\n"]}
|
|
@@ -43,7 +43,7 @@ export default class CreationDepthCommand extends BaseCommand {
|
|
|
43
43
|
failureLabel: `Could not set the interview depth to ${depth}`,
|
|
44
44
|
timeoutMs: CONSOLE_WRITE_TIMEOUT_MS,
|
|
45
45
|
call: (options) => CreationConsoleClient.setInterviewDepth(options, depth),
|
|
46
|
-
render: (recorded) => [`Interview depth: ${recorded.interviewDepth} (recorded in ${recorded.packageRelativePath}
|
|
46
|
+
render: (recorded) => [`Interview depth: ${recorded.interviewDepth} (recorded in ${recorded.packageRelativePath}, not committed yet: commit it with \`wildo creation accept --dossier\`; a run's accept also carries it when that commit imports the dossier).`],
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"depth.command.js","sourceRoot":"","sources":["../../../../../../src/commands/creation/depth.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AAEjF,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,wDAAwD,CAAC;AAC/F,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAErI;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,WAAW;IAClD,IAAI,GAAgB;QAC3B,IAAI,EAAE,gBAAgB;QACtB,WAAW,EAAE,6EAA6E;QAC1F,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MAAM,CAAC,MAAM,CAAC,yBAAyB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,KAAK,SAAS,CAAC,CAAC;QACpG,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,SAAS,6CAA6C,MAAM,CAAC,MAAM,CAAC,yBAAyB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YAChI,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;QAC5B,CAAC;QACD,OAAO,cAAc,CAAC,GAAG,EAAE;YACzB,YAAY,EAAE,wCAAwC,KAAK,EAAE;YAC7D,SAAS,EAAE,wBAAwB;YACnC,IAAI,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,qBAAqB,CAAC,iBAAiB,CAAC,OAAO,EAAE,KAAK,CAAC;YAC1E,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,oBAAoB,QAAQ,CAAC,cAAc,iBAAiB,QAAQ,CAAC,mBAAmB,gJAAgJ,CAAC;SACjQ,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { WorkspaceScope } from '@wildo-ai/platform-config-lib';\nimport { ApplicationInterviewDepth } from '@wildo-ai/saas-models/meta-workflows';\n\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandContext, CommandMeta, CommandResult } from '~wildo-cli/kernel/types';\nimport { CreationConsoleClient } from '~wildo-cli/services/companion/creation-console.service';\nimport { CONSOLE_READ_TIMEOUT_MS, CONSOLE_WRITE_TIMEOUT_MS, runConsoleVerb } from '~wildo-cli/services/companion/console-verb.utils';\n\n/**\n * `wildo creation depth [simple|detailed]` — read or set how deep this application's interviews go (#2129).\n *\n * SIMPLE asks each interview's essential questions and proposes the rest (for review, or as assumptions an unattended\n * round records, never for a regulated-domain question); DETAILED asks them all.\n * The choice is recorded in the application's dossier, because it is a fact about how THIS application's\n * decisions were made rather than a preference of whoever is typing. With no argument it prints the current\n * depth, or that none is chosen yet.\n */\nexport default class CreationDepthCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'creation depth',\n description: 'Read or set how deep this application\\'s interviews go: simple or detailed.',\n category: CommandCategory.Local,\n minimumScope: WorkspaceScope.SAAS_APP,\n args: [{ name: 'depth', description: `One of: ${Object.values(ApplicationInterviewDepth).join(', ')}. Omit to read it.`, required: false }],\n flags: { json: { type: 'boolean', description: 'Emit the companion\\'s answer.', default: false } },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const requested = typeof ctx.args.depth === 'string' ? ctx.args.depth.trim().toLowerCase() : '';\n if (requested.length === 0) {\n return runConsoleVerb(ctx, {\n failureLabel: 'Could not read the interview depth',\n timeoutMs: CONSOLE_READ_TIMEOUT_MS,\n call: async (options) => ({ interviewDepth: (await CreationConsoleClient.readQuestions(options)).interviewDepth }),\n render: ({ interviewDepth }) => [interviewDepth === null\n ? `No interview depth is chosen yet. Choose one: wildo creation depth ${Object.values(ApplicationInterviewDepth).join(' | ')}`\n : `Interview depth: ${interviewDepth}`],\n });\n }\n const depth = Object.values(ApplicationInterviewDepth).find((candidate) => candidate === requested);\n if (depth === undefined) {\n ctx.log.error(`\"${requested}\" is not an interview depth — use one of: ${Object.values(ApplicationInterviewDepth).join(', ')}.`);\n return { success: false };\n }\n return runConsoleVerb(ctx, {\n failureLabel: `Could not set the interview depth to ${depth}`,\n timeoutMs: CONSOLE_WRITE_TIMEOUT_MS,\n call: (options) => CreationConsoleClient.setInterviewDepth(options, depth),\n render: (recorded) => [`Interview depth: ${recorded.interviewDepth} (recorded in ${recorded.packageRelativePath}, not committed yet: commit it with \\`wildo creation accept --dossier\\`; a run's accept also carries it when that commit imports the dossier).`],\n });\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feed.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/creation/feed.command.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"feed.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/creation/feed.command.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAgB1F;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,WAAW;IAC1D,QAAQ,CAAC,IAAI,EAAE,WAAW,CAaxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;IA4DtD,OAAO,CAAC,aAAa;CAkBtB"}
|