@wildo-ai/wildo-cli 1.1.10 → 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/bin/wildo.d.ts.map +1 -1
- package/dist/bin/wildo.js +0 -0
- package/dist/bin/wildo.js.map +1 -1
- 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/assets/sync.command.d.ts.map +1 -1
- package/dist/src/commands/assets/sync.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/brand/propagate.command.d.ts.map +1 -1
- package/dist/src/commands/brand/propagate.command.js.map +1 -1
- package/dist/src/commands/build/accept.command.d.ts.map +1 -1
- package/dist/src/commands/build/accept.command.js.map +1 -1
- 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/next.command.d.ts.map +1 -1
- package/dist/src/commands/build/next.command.js.map +1 -1
- package/dist/src/commands/build/rearm.command.d.ts +6 -4
- package/dist/src/commands/build/rearm.command.d.ts.map +1 -1
- package/dist/src/commands/build/rearm.command.js +12 -7
- package/dist/src/commands/build/rearm.command.js.map +1 -1
- package/dist/src/commands/build/run.command.d.ts.map +1 -1
- package/dist/src/commands/build/run.command.js.map +1 -1
- package/dist/src/commands/build/tasks.command.d.ts.map +1 -1
- package/dist/src/commands/build/tasks.command.js.map +1 -1
- package/dist/src/commands/compose.command.d.ts.map +1 -1
- package/dist/src/commands/compose.command.js.map +1 -1
- package/dist/src/commands/config/check-resources.command.d.ts.map +1 -1
- package/dist/src/commands/config/check-resources.command.js +3 -1
- package/dist/src/commands/config/check-resources.command.js.map +1 -1
- package/dist/src/commands/config/data-retention.command.d.ts.map +1 -1
- package/dist/src/commands/config/data-retention.command.js.map +1 -1
- package/dist/src/commands/config/document-releases.command.d.ts.map +1 -1
- package/dist/src/commands/config/document-releases.command.js.map +1 -1
- package/dist/src/commands/config/legal-notice.command.d.ts.map +1 -1
- package/dist/src/commands/config/legal-notice.command.js.map +1 -1
- package/dist/src/commands/config/mutate.command.d.ts.map +1 -1
- package/dist/src/commands/config/mutate.command.js.map +1 -1
- package/dist/src/commands/config/reapply-declaration.command.d.ts.map +1 -1
- package/dist/src/commands/config/reapply-declaration.command.js +24 -0
- package/dist/src/commands/config/reapply-declaration.command.js.map +1 -1
- package/dist/src/commands/config/service-consent.command.d.ts.map +1 -1
- package/dist/src/commands/config/service-consent.command.js.map +1 -1
- package/dist/src/commands/config/subject-data-recipients.command.d.ts.map +1 -1
- package/dist/src/commands/config/subject-data-recipients.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 +3 -2
- package/dist/src/commands/config/validate.command.d.ts.map +1 -1
- package/dist/src/commands/config/validate.command.js +35 -3
- package/dist/src/commands/config/validate.command.js.map +1 -1
- package/dist/src/commands/context/assurance-basis.command.d.ts.map +1 -1
- package/dist/src/commands/context/assurance-basis.command.js.map +1 -1
- package/dist/src/commands/context/coherence.command.d.ts.map +1 -1
- package/dist/src/commands/context/coherence.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/health.command.d.ts.map +1 -1
- package/dist/src/commands/context/health.command.js.map +1 -1
- package/dist/src/commands/context/info.command.d.ts.map +1 -1
- package/dist/src/commands/context/info.command.js.map +1 -1
- package/dist/src/commands/context/journey.command.d.ts.map +1 -1
- package/dist/src/commands/context/journey.command.js +43 -6
- package/dist/src/commands/context/journey.command.js.map +1 -1
- package/dist/src/commands/context/jurisdictions.command.d.ts.map +1 -1
- package/dist/src/commands/context/jurisdictions.command.js.map +1 -1
- package/dist/src/commands/context/launch-blockers.command.d.ts.map +1 -1
- package/dist/src/commands/context/launch-blockers.command.js +3 -2
- package/dist/src/commands/context/launch-blockers.command.js.map +1 -1
- package/dist/src/commands/context/list.command.d.ts.map +1 -1
- package/dist/src/commands/context/list.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/context/workspace.command.d.ts.map +1 -1
- package/dist/src/commands/context/workspace.command.js.map +1 -1
- package/dist/src/commands/creation/accept.command.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/src/commands/creation/brand-logo.command.js.map +1 -1
- package/dist/src/commands/creation/brief.command.d.ts.map +1 -1
- package/dist/src/commands/creation/brief.command.js.map +1 -1
- package/dist/src/commands/creation/deliberate.command.d.ts.map +1 -1
- package/dist/src/commands/creation/deliberate.command.js.map +1 -1
- package/dist/src/commands/creation/depth.command.d.ts.map +1 -1
- package/dist/src/commands/creation/depth.command.js.map +1 -1
- package/dist/src/commands/creation/diff.command.d.ts.map +1 -1
- package/dist/src/commands/creation/diff.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/loop.command.d.ts.map +1 -1
- package/dist/src/commands/creation/loop.command.js.map +1 -1
- package/dist/src/commands/creation/persona.command.d.ts.map +1 -1
- 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/prompt-hook.command.d.ts.map +1 -1
- package/dist/src/commands/creation/prompt-hook.command.js.map +1 -1
- package/dist/src/commands/creation/propose.command.d.ts.map +1 -1
- package/dist/src/commands/creation/propose.command.js.map +1 -1
- package/dist/src/commands/creation/pulse.command.d.ts.map +1 -1
- package/dist/src/commands/creation/pulse.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/reason.command.d.ts.map +1 -1
- package/dist/src/commands/creation/reason.command.js.map +1 -1
- package/dist/src/commands/creation/report.command.d.ts.map +1 -1
- package/dist/src/commands/creation/report.command.js.map +1 -1
- package/dist/src/commands/creation/revert.command.d.ts.map +1 -1
- package/dist/src/commands/creation/revert.command.js.map +1 -1
- package/dist/src/commands/creation/run.command.d.ts.map +1 -1
- package/dist/src/commands/creation/run.command.js +2 -1
- package/dist/src/commands/creation/run.command.js.map +1 -1
- package/dist/src/commands/creation/statusline.command.d.ts.map +1 -1
- package/dist/src/commands/creation/statusline.command.js.map +1 -1
- package/dist/src/commands/creation/watch.command.d.ts.map +1 -1
- package/dist/src/commands/creation/watch.command.js.map +1 -1
- package/dist/src/commands/creation/why.command.d.ts.map +1 -1
- package/dist/src/commands/creation/why.command.js.map +1 -1
- package/dist/src/commands/creation/writes.command.d.ts.map +1 -1
- package/dist/src/commands/creation/writes.command.js.map +1 -1
- package/dist/src/commands/db/db-schema-plan-migration.utils.d.ts +17 -0
- package/dist/src/commands/db/db-schema-plan-migration.utils.d.ts.map +1 -1
- package/dist/src/commands/db/db-schema-plan-migration.utils.js +27 -0
- package/dist/src/commands/db/db-schema-plan-migration.utils.js.map +1 -1
- package/dist/src/commands/db/db-schema-plan.utils.d.ts +33 -3
- package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
- package/dist/src/commands/db/db-schema-plan.utils.js +71 -6
- package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -1
- package/dist/src/commands/db/diff.command.d.ts.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/db/migrate.command.d.ts.map +1 -1
- package/dist/src/commands/db/migrate.command.js.map +1 -1
- package/dist/src/commands/db/resolve.command.d.ts.map +1 -1
- package/dist/src/commands/db/resolve.command.js.map +1 -1
- package/dist/src/commands/dev/charts-audit.command.d.ts.map +1 -1
- package/dist/src/commands/dev/charts-audit.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/design-tokens-generate.command.d.ts.map +1 -1
- package/dist/src/commands/dev/design-tokens-generate.command.js.map +1 -1
- package/dist/src/commands/dev/design-tokens-init.command.d.ts.map +1 -1
- package/dist/src/commands/dev/design-tokens-init.command.js.map +1 -1
- package/dist/src/commands/dev/design-tokens-validate.command.d.ts.map +1 -1
- package/dist/src/commands/dev/design-tokens-validate.command.js.map +1 -1
- package/dist/src/commands/dev/force-stop.command.d.ts.map +1 -1
- package/dist/src/commands/dev/force-stop.command.js.map +1 -1
- package/dist/src/commands/dev/resources.command.d.ts.map +1 -1
- package/dist/src/commands/dev/resources.command.js.map +1 -1
- 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/dev/stop-all.command.d.ts.map +1 -1
- package/dist/src/commands/dev/stop-all.command.js.map +1 -1
- package/dist/src/commands/dev/sync-csp.command.d.ts.map +1 -1
- package/dist/src/commands/dev/sync-csp.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/docs/publish.command.d.ts.map +1 -1
- package/dist/src/commands/docs/publish.command.js.map +1 -1
- 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/frontend/publish.command.d.ts.map +1 -1
- package/dist/src/commands/frontend/publish.command.js.map +1 -1
- package/dist/src/commands/fwk/audit.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/audit.command.js.map +1 -1
- 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/generate-docs.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/generate-docs.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-providers.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/generate-providers.command.js.map +1 -1
- package/dist/src/commands/fwk/graph.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/graph.command.js.map +1 -1
- 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-docker.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-docker.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-npm.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-npm.command.js.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-bump.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/version-bump.command.js.map +1 -1
- package/dist/src/commands/fwk/version-set.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/version-set.command.js.map +1 -1
- 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/fwk/version-sync.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/version-sync.command.js.map +1 -1
- package/dist/src/commands/fwk/what-touches.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/what-touches.command.js.map +1 -1
- package/dist/src/commands/fwk/wt-status.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/wt-status.command.js.map +1 -1
- package/dist/src/commands/fwk/wt-tail.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/wt-tail.command.js.map +1 -1
- package/dist/src/commands/generate/email-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/email-command.utils.js.map +1 -1
- package/dist/src/commands/generate/email-preview.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-preview.command.js.map +1 -1
- package/dist/src/commands/generate/email-status.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-status.command.js.map +1 -1
- package/dist/src/commands/generate/email-test-send.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-test-send.command.js.map +1 -1
- package/dist/src/commands/generate/email-translate.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-translate.command.js.map +1 -1
- package/dist/src/commands/generate/email.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email.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-plan.command.d.ts.map +1 -1
- package/dist/src/commands/generate/labels-plan.command.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/deregister.command.d.ts.map +1 -1
- package/dist/src/commands/local/deregister.command.js.map +1 -1
- package/dist/src/commands/local/dev-status.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev-status.command.js.map +1 -1
- 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/down.command.d.ts.map +1 -1
- package/dist/src/commands/local/down.command.js.map +1 -1
- package/dist/src/commands/local/init.command.d.ts.map +1 -1
- package/dist/src/commands/local/init.command.js.map +1 -1
- package/dist/src/commands/local/logs.command.d.ts.map +1 -1
- package/dist/src/commands/local/logs.command.js.map +1 -1
- package/dist/src/commands/local/reinit.command.d.ts.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/reset.command.d.ts.map +1 -1
- package/dist/src/commands/local/reset.command.js.map +1 -1
- package/dist/src/commands/local/restore.command.d.ts.map +1 -1
- package/dist/src/commands/local/restore.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/status.command.d.ts.map +1 -1
- package/dist/src/commands/local/status.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/local-defaults/capture.command.d.ts.map +1 -1
- package/dist/src/commands/local-defaults/capture.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/market/market-command.utils.d.ts.map +1 -1
- package/dist/src/commands/market/market-command.utils.js.map +1 -1
- package/dist/src/commands/prefs/set.command.d.ts.map +1 -1
- package/dist/src/commands/prefs/set.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/info.command.d.ts.map +1 -1
- package/dist/src/commands/registry/info.command.js.map +1 -1
- package/dist/src/commands/registry/key.command.d.ts.map +1 -1
- package/dist/src/commands/registry/key.command.js.map +1 -1
- package/dist/src/commands/registry/lockfile-smoke.command.d.ts.map +1 -1
- package/dist/src/commands/registry/lockfile-smoke.command.js.map +1 -1
- package/dist/src/commands/registry/login.command.d.ts.map +1 -1
- package/dist/src/commands/registry/login.command.js.map +1 -1
- package/dist/src/commands/registry/logout.command.d.ts.map +1 -1
- package/dist/src/commands/registry/logout.command.js.map +1 -1
- package/dist/src/commands/registry/outdated.command.d.ts.map +1 -1
- package/dist/src/commands/registry/outdated.command.js.map +1 -1
- package/dist/src/commands/registry/ping.command.d.ts.map +1 -1
- package/dist/src/commands/registry/ping.command.js.map +1 -1
- package/dist/src/commands/registry/publish.command.d.ts.map +1 -1
- package/dist/src/commands/registry/publish.command.js +26 -50
- package/dist/src/commands/registry/publish.command.js.map +1 -1
- package/dist/src/commands/registry/registry-transport.constants.d.ts.map +1 -1
- package/dist/src/commands/registry/registry-transport.constants.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/status.command.d.ts.map +1 -1
- package/dist/src/commands/registry/status.command.js.map +1 -1
- package/dist/src/commands/registry/update.command.d.ts.map +1 -1
- package/dist/src/commands/registry/update.command.js +22 -6
- package/dist/src/commands/registry/update.command.js.map +1 -1
- package/dist/src/commands/registry/whoami.command.d.ts.map +1 -1
- package/dist/src/commands/registry/whoami.command.js.map +1 -1
- package/dist/src/commands/registry/yank.command.d.ts.map +1 -1
- package/dist/src/commands/registry/yank.command.js.map +1 -1
- package/dist/src/commands/remote/create.command.d.ts.map +1 -1
- package/dist/src/commands/remote/create.command.js.map +1 -1
- package/dist/src/commands/remote/list.command.d.ts.map +1 -1
- package/dist/src/commands/remote/list.command.js.map +1 -1
- package/dist/src/commands/remote/status.command.d.ts.map +1 -1
- package/dist/src/commands/remote/status.command.js.map +1 -1
- package/dist/src/commands/remote/sync.command.d.ts.map +1 -1
- package/dist/src/commands/remote/sync.command.js.map +1 -1
- package/dist/src/commands/seal/dead.command.d.ts +11 -0
- package/dist/src/commands/seal/dead.command.d.ts.map +1 -0
- package/dist/src/commands/seal/dead.command.js +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/github.command.d.ts.map +1 -1
- package/dist/src/commands/secrets/github.command.js.map +1 -1
- 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/secrets/unset.command.d.ts.map +1 -1
- package/dist/src/commands/secrets/unset.command.js.map +1 -1
- package/dist/src/commands/setup.command.d.ts.map +1 -1
- package/dist/src/commands/setup.command.js.map +1 -1
- package/dist/src/commands/update.command.d.ts.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/version.command.d.ts.map +1 -1
- package/dist/src/commands/version.command.js.map +1 -1
- package/dist/src/commands/website/audit.command.d.ts.map +1 -1
- package/dist/src/commands/website/audit.command.js.map +1 -1
- package/dist/src/commands/website/look.command.d.ts +22 -0
- package/dist/src/commands/website/look.command.d.ts.map +1 -0
- package/dist/src/commands/website/look.command.js +147 -0
- package/dist/src/commands/website/look.command.js.map +1 -0
- package/dist/src/commands/workbench/open.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/open.command.js.map +1 -1
- package/dist/src/commands/workbench/parallelism.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/parallelism.command.js.map +1 -1
- package/dist/src/commands/workbench/status.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/status.command.js +2 -1
- package/dist/src/commands/workbench/status.command.js.map +1 -1
- package/dist/src/infrastructure/errors/error.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/errors/error.utils.js.map +1 -1
- package/dist/src/infrastructure/io/file.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/io/file.utils.js.map +1 -1
- package/dist/src/infrastructure/io/io.schemas.d.ts.map +1 -1
- package/dist/src/infrastructure/io/io.schemas.js.map +1 -1
- package/dist/src/infrastructure/io/template-processor.d.ts.map +1 -1
- package/dist/src/infrastructure/io/template-processor.js.map +1 -1
- package/dist/src/infrastructure/logger/logger.service.d.ts.map +1 -1
- package/dist/src/infrastructure/logger/logger.service.js.map +1 -1
- package/dist/src/infrastructure/process/spawn.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/process/spawn.utils.js.map +1 -1
- package/dist/src/infrastructure/ui/formatting.service.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/formatting.service.js.map +1 -1
- package/dist/src/infrastructure/ui/interaction-engine.service.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/interaction-engine.service.js.map +1 -1
- package/dist/src/infrastructure/ui/markdown-renderer.service.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/markdown-renderer.service.js.map +1 -1
- package/dist/src/infrastructure/ui/ui.schemas.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/ui.schemas.js.map +1 -1
- package/dist/src/infrastructure/utils/string.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/utils/string.utils.js.map +1 -1
- package/dist/src/infrastructure/validation/validator.service.d.ts.map +1 -1
- package/dist/src/infrastructure/validation/validator.service.js.map +1 -1
- package/dist/src/kernel/base-command.d.ts.map +1 -1
- package/dist/src/kernel/base-command.js.map +1 -1
- package/dist/src/kernel/bootstrap.d.ts.map +1 -1
- package/dist/src/kernel/bootstrap.js.map +1 -1
- package/dist/src/kernel/command-index-cache.d.ts.map +1 -1
- package/dist/src/kernel/command-index-cache.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/command-scope-utils.d.ts.map +1 -1
- package/dist/src/kernel/command-scope-utils.js.map +1 -1
- package/dist/src/kernel/flag-utils.d.ts.map +1 -1
- package/dist/src/kernel/flag-utils.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/main.d.ts.map +1 -1
- package/dist/src/main.js.map +1 -1
- package/dist/src/modules/domain/credentials/admin-user.module.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/admin-user.module.js.map +1 -1
- package/dist/src/modules/domain/credentials/approver-user.module.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/approver-user.module.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/modules/domain/credentials/module.types.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/module.types.js.map +1 -1
- package/dist/src/modules/domain/environment/database-config.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/database-config.module.js.map +1 -1
- package/dist/src/modules/domain/environment/module.types.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/module.types.js.map +1 -1
- package/dist/src/modules/domain/environment/paths-config.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/paths-config.module.js.map +1 -1
- package/dist/src/modules/domain/environment/runtime-selector.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/runtime-selector.module.js.map +1 -1
- package/dist/src/modules/domain/environment/runtime-semantics.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/runtime-semantics.module.js.map +1 -1
- package/dist/src/modules/domain/module.types.d.ts.map +1 -1
- package/dist/src/modules/domain/module.types.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-env.service.d.ts.map +1 -1
- package/dist/src/services/application/app-env.service.js.map +1 -1
- package/dist/src/services/application/app-local-runtime-addresses.service.d.ts.map +1 -1
- package/dist/src/services/application/app-local-runtime-addresses.service.js.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/app-schema-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-schema-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.d.ts +6 -0
- package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.js +13 -1
- package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
- package/dist/src/services/application/application-browser-smoke.service.d.ts.map +1 -1
- package/dist/src/services/application/application-browser-smoke.service.js.map +1 -1
- package/dist/src/services/application/application-creation-readiness.service.d.ts +10 -2
- package/dist/src/services/application/application-creation-readiness.service.d.ts.map +1 -1
- package/dist/src/services/application/application-creation-readiness.service.js +74 -21
- package/dist/src/services/application/application-creation-readiness.service.js.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.d.ts +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/application-dev-port-offsets.d.ts.map +1 -1
- package/dist/src/services/application/application-dev-port-offsets.js.map +1 -1
- package/dist/src/services/application/application-initialization-verification.service.d.ts.map +1 -1
- package/dist/src/services/application/application-initialization-verification.service.js.map +1 -1
- package/dist/src/services/application/application-root.utils.d.ts.map +1 -1
- package/dist/src/services/application/application-root.utils.js.map +1 -1
- package/dist/src/services/application/application-runtime-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/application-runtime-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/backend-config.paths.d.ts.map +1 -1
- package/dist/src/services/application/backend-config.paths.js.map +1 -1
- package/dist/src/services/application/composition-provider-plan.service.d.ts.map +1 -1
- package/dist/src/services/application/composition-provider-plan.service.js.map +1 -1
- package/dist/src/services/application/content-guardrail-classifier.service.d.ts +80 -0
- package/dist/src/services/application/content-guardrail-classifier.service.d.ts.map +1 -0
- package/dist/src/services/application/content-guardrail-classifier.service.js +199 -0
- package/dist/src/services/application/content-guardrail-classifier.service.js.map +1 -0
- package/dist/src/services/application/creation-host-readiness.service.d.ts.map +1 -1
- package/dist/src/services/application/creation-host-readiness.service.js.map +1 -1
- package/dist/src/services/application/creation-preflight.service.d.ts +2 -2
- package/dist/src/services/application/creation-preflight.service.d.ts.map +1 -1
- 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/degraded-registration-declaration-convergence.service.d.ts.map +1 -1
- package/dist/src/services/application/degraded-registration-declaration-convergence.service.js.map +1 -1
- package/dist/src/services/application/dev-orchestrator.service.d.ts.map +1 -1
- package/dist/src/services/application/dev-orchestrator.service.js.map +1 -1
- package/dist/src/services/application/dev-schema-drift.service.d.ts.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/existing-app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/existing-app-bootstrap.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-provider-source.service.d.ts.map +1 -1
- package/dist/src/services/application/frontend-provider-source.service.js.map +1 -1
- 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/local-app-reinit.service.d.ts.map +1 -1
- package/dist/src/services/application/local-app-reinit.service.js.map +1 -1
- package/dist/src/services/application/local-application-initialization.service.d.ts.map +1 -1
- package/dist/src/services/application/local-application-initialization.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-scaffold.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-scaffold.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/stored-declaration-currency.service.d.ts.map +1 -1
- package/dist/src/services/application/stored-declaration-currency.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/coding-agents/acp-conformance-probe.service.d.ts.map +1 -1
- package/dist/src/services/coding-agents/acp-conformance-probe.service.js.map +1 -1
- package/dist/src/services/coding-agents/coding-agent-login.service.d.ts.map +1 -1
- package/dist/src/services/coding-agents/coding-agent-login.service.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 +50 -1
- package/dist/src/services/companion/build-console.service.d.ts.map +1 -1
- package/dist/src/services/companion/build-console.service.js +61 -6
- package/dist/src/services/companion/build-console.service.js.map +1 -1
- package/dist/src/services/companion/companion-client-options.utils.d.ts.map +1 -1
- package/dist/src/services/companion/companion-client-options.utils.js.map +1 -1
- package/dist/src/services/companion/companion-client.service.d.ts.map +1 -1
- package/dist/src/services/companion/companion-client.service.js.map +1 -1
- package/dist/src/services/companion/companion-health-hint.utils.d.ts.map +1 -1
- package/dist/src/services/companion/companion-health-hint.utils.js.map +1 -1
- package/dist/src/services/companion/companion-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/companion/companion-lifecycle.service.js.map +1 -1
- package/dist/src/services/companion/companion-local-token.utils.d.ts.map +1 -1
- package/dist/src/services/companion/companion-local-token.utils.js.map +1 -1
- package/dist/src/services/companion/companion.schemas.d.ts.map +1 -1
- package/dist/src/services/companion/companion.schemas.js.map +1 -1
- package/dist/src/services/companion/console-fast-path.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/src/services/companion/creation-console.service.js.map +1 -1
- package/dist/src/services/companion/creation-run-report.models.d.ts.map +1 -1
- package/dist/src/services/companion/creation-run-report.models.js.map +1 -1
- package/dist/src/services/companion/git-helper.service.d.ts.map +1 -1
- package/dist/src/services/companion/git-helper.service.js.map +1 -1
- package/dist/src/services/companion/local-companion-authority.service.d.ts.map +1 -1
- package/dist/src/services/companion/local-companion-authority.service.js.map +1 -1
- package/dist/src/services/companion/workbench-browser-launcher.service.d.ts.map +1 -1
- package/dist/src/services/companion/workbench-browser-launcher.service.js.map +1 -1
- package/dist/src/services/companion/workbench-cli.service.d.ts.map +1 -1
- package/dist/src/services/companion/workbench-cli.service.js.map +1 -1
- package/dist/src/services/compliance/data-retention-schedule.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/data-retention-schedule.generator.js.map +1 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts.map +1 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.js.map +1 -1
- package/dist/src/services/compliance/governed-document-releases.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/governed-document-releases.generator.js.map +1 -1
- package/dist/src/services/compliance/legal-notice.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/legal-notice.generator.js.map +1 -1
- package/dist/src/services/compliance/service-consent-requirement.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/service-consent-requirement.generator.js.map +1 -1
- package/dist/src/services/compliance/subject-data-recipients.generator.d.ts +5 -2
- package/dist/src/services/compliance/subject-data-recipients.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/subject-data-recipients.generator.js +7 -3
- package/dist/src/services/compliance/subject-data-recipients.generator.js.map +1 -1
- package/dist/src/services/context/context-manager.service.d.ts.map +1 -1
- package/dist/src/services/context/context-manager.service.js.map +1 -1
- package/dist/src/services/context/context.schemas.d.ts.map +1 -1
- package/dist/src/services/context/context.schemas.js.map +1 -1
- package/dist/src/services/context/machine-preferences.writer.d.ts.map +1 -1
- package/dist/src/services/context/machine-preferences.writer.js.map +1 -1
- package/dist/src/services/context/state-manager.service.d.ts.map +1 -1
- package/dist/src/services/context/state-manager.service.js.map +1 -1
- package/dist/src/services/credentials/application-secret-owners.service.d.ts.map +1 -1
- package/dist/src/services/credentials/application-secret-owners.service.js.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.d.ts.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/credentials.service.d.ts.map +1 -1
- package/dist/src/services/credentials/credentials.service.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/provider-secret-format.d.ts.map +1 -1
- package/dist/src/services/credentials/provider-secret-format.js.map +1 -1
- package/dist/src/services/credentials/remote-secrets-store.service.d.ts.map +1 -1
- package/dist/src/services/credentials/remote-secrets-store.service.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-provisioning.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-provisioning.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/credentials/secrets-writer.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-writer.service.js.map +1 -1
- package/dist/src/services/data-services/data-services.schemas.d.ts +2 -1
- package/dist/src/services/data-services/data-services.schemas.d.ts.map +1 -1
- package/dist/src/services/data-services/data-services.schemas.js +5 -0
- package/dist/src/services/data-services/data-services.schemas.js.map +1 -1
- package/dist/src/services/data-services/data-services.service.d.ts.map +1 -1
- package/dist/src/services/data-services/data-services.service.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/apps-manager-diagnostics.service.d.ts.map +1 -1
- package/dist/src/services/deployment/apps-manager-diagnostics.service.js.map +1 -1
- package/dist/src/services/deployment/ci-deploy-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/ci-deploy-generator.service.js.map +1 -1
- package/dist/src/services/deployment/ci-workflow-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/ci-workflow-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/backing-service-health-watch.js +4 -1
- package/dist/src/services/deployment/docker/backing-service-health-watch.js.map +1 -1
- package/dist/src/services/deployment/docker/compose-service-health.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/compose-service-health.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/docker/docker.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker.schemas.js.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.js.map +1 -1
- package/dist/src/services/deployment/docker/local-data-adoption.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/local-data-adoption.service.js.map +1 -1
- package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/host-toolchain-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/cluster-controller-charts.constants.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.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/k8s/local-k8s-application-pruning.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/local-k8s-application-pruning.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-observer-lifecycle.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-observer-lifecycle.js.map +1 -1
- package/dist/src/services/deployment/local-dev-output-boundary.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-output-boundary.js.map +1 -1
- package/dist/src/services/deployment/local-dev-session-lease.service.d.ts +2 -2
- package/dist/src/services/deployment/local-dev-session-lease.service.d.ts.map +1 -1
- 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-dev-shutdown-coordinator.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-shutdown-coordinator.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.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.schemas.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/deployment/local-runtime-process-cleanup.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js.map +1 -1
- package/dist/src/services/deployment/platform-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/deployment/platform-lifecycle.service.js.map +1 -1
- package/dist/src/services/deployment/platform-runtime-policy.service.d.ts.map +1 -1
- package/dist/src/services/deployment/platform-runtime-policy.service.js.map +1 -1
- package/dist/src/services/deployment/version-compare.utils.d.ts.map +1 -1
- package/dist/src/services/deployment/version-compare.utils.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-css-block.service.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-css-block.service.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/application-backing-service-addressing.utils.d.ts.map +1 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.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-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
- package/dist/src/services/environment/environment-paths.service.d.ts +5 -7
- package/dist/src/services/environment/environment-paths.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-paths.service.js +5 -7
- package/dist/src/services/environment/environment-paths.service.js.map +1 -1
- package/dist/src/services/environment/environment-registry.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-registry.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/environment.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment.service.js.map +1 -1
- package/dist/src/services/environment/hosted-infrastructure-leftovers.service.d.ts.map +1 -1
- package/dist/src/services/environment/hosted-infrastructure-leftovers.service.js.map +1 -1
- package/dist/src/services/environment/infrastructure-host.service.d.ts.map +1 -1
- package/dist/src/services/environment/infrastructure-host.service.js.map +1 -1
- package/dist/src/services/environment/platform-engine-change.utils.d.ts.map +1 -1
- package/dist/src/services/environment/platform-engine-change.utils.js.map +1 -1
- package/dist/src/services/environment/platform-runtime-state.service.d.ts.map +1 -1
- package/dist/src/services/environment/platform-runtime-state.service.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.map +1 -1
- 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.map +1 -1
- package/dist/src/services/framework/dev-compile-status.paths.d.ts.map +1 -1
- package/dist/src/services/framework/dev-compile-status.paths.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-application-guidance.validator.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-application-guidance.validator.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-component-catalog.generator.d.ts.map +1 -1
- package/dist/src/services/framework/frontend-component-catalog.generator.js.map +1 -1
- package/dist/src/services/framework/frontend-library-root-exports.d.ts.map +1 -1
- package/dist/src/services/framework/frontend-library-root-exports.js +3 -3
- package/dist/src/services/framework/frontend-library-root-exports.js.map +1 -1
- package/dist/src/services/framework/installed-framework-assets.service.d.ts.map +1 -1
- package/dist/src/services/framework/installed-framework-assets.service.js.map +1 -1
- package/dist/src/services/framework/npm-registry-output.d.ts.map +1 -1
- package/dist/src/services/framework/npm-registry-output.js.map +1 -1
- 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/activepieces-source.reader.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/api-version-settlement.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/api-version-settlement.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/base-url-settlement.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/base-url-settlement.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-source.reader.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-source.reader.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-merge.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-merge.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/provider-transposition/request-helper-url.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/request-helper-url.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/sim-source.reader.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/sim-source.reader.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/url-template.extractor.js.map +1 -1
- package/dist/src/services/framework/registry-host/registry-host-monitoring.d.ts +43 -0
- package/dist/src/services/framework/registry-host/registry-host-monitoring.d.ts.map +1 -0
- package/dist/src/services/framework/registry-host/registry-host-monitoring.js +103 -0
- package/dist/src/services/framework/registry-host/registry-host-monitoring.js.map +1 -0
- package/dist/src/services/framework/registry-host/registry-host-remote.d.ts +29 -0
- package/dist/src/services/framework/registry-host/registry-host-remote.d.ts.map +1 -0
- package/dist/src/services/framework/registry-host/registry-host-remote.js +98 -0
- package/dist/src/services/framework/registry-host/registry-host-remote.js.map +1 -0
- package/dist/src/services/framework/registry-host/registry-host.service.d.ts +102 -0
- package/dist/src/services/framework/registry-host/registry-host.service.d.ts.map +1 -0
- package/dist/src/services/framework/registry-host/registry-host.service.js +318 -0
- package/dist/src/services/framework/registry-host/registry-host.service.js.map +1 -0
- package/dist/src/services/frontend/cloudflare-cdn.service.d.ts.map +1 -1
- package/dist/src/services/frontend/cloudflare-cdn.service.js.map +1 -1
- package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts.map +1 -1
- package/dist/src/services/frontend/frontend-dist-uploader.service.js.map +1 -1
- package/dist/src/services/frontend/frontend-look.service.d.ts +264 -0
- package/dist/src/services/frontend/frontend-look.service.d.ts.map +1 -0
- package/dist/src/services/frontend/frontend-look.service.js +640 -0
- package/dist/src/services/frontend/frontend-look.service.js.map +1 -0
- package/dist/src/services/frontend/frontend-publish.service.d.ts.map +1 -1
- package/dist/src/services/frontend/frontend-publish.service.js.map +1 -1
- package/dist/src/services/generation/domain-generator.service.d.ts.map +1 -1
- package/dist/src/services/generation/domain-generator.service.js.map +1 -1
- package/dist/src/services/generation/generator.schemas.d.ts.map +1 -1
- package/dist/src/services/generation/generator.schemas.js.map +1 -1
- package/dist/src/services/generation/operation-generator.service.d.ts.map +1 -1
- package/dist/src/services/generation/operation-generator.service.js.map +1 -1
- package/dist/src/services/generation/resource-generator.service.d.ts.map +1 -1
- package/dist/src/services/generation/resource-generator.service.js.map +1 -1
- package/dist/src/services/generation/template-registry.service.d.ts.map +1 -1
- package/dist/src/services/generation/template-registry.service.js.map +1 -1
- 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/artifact-trust.utils.d.ts.map +1 -1
- package/dist/src/services/registry/artifact-trust.utils.js.map +1 -1
- package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -1
- package/dist/src/services/registry/boundary-fanout.utils.js +7 -2
- package/dist/src/services/registry/boundary-fanout.utils.js.map +1 -1
- package/dist/src/services/registry/git-ignored-paths.utils.d.ts.map +1 -1
- package/dist/src/services/registry/git-ignored-paths.utils.js.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-file-state.utils.d.ts.map +1 -1
- package/dist/src/services/registry/installed-file-state.utils.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/migration-obligation.utils.d.ts.map +1 -1
- package/dist/src/services/registry/migration-obligation.utils.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-artifact-files.utils.d.ts.map +1 -1
- package/dist/src/services/registry/module-artifact-files.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-identity.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-module-identity.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/registry/registry-credentials.service.d.ts.map +1 -1
- package/dist/src/services/registry/registry-credentials.service.js.map +1 -1
- package/dist/src/services/registry/saas-root-required.error.d.ts.map +1 -1
- package/dist/src/services/registry/saas-root-required.error.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/tools/utility-tools.service.d.ts.map +1 -1
- package/dist/src/services/tools/utility-tools.service.js.map +1 -1
- package/dist/src/services/tracker/creation-run-tracker.service.d.ts.map +1 -1
- package/dist/src/services/tracker/creation-run-tracker.service.js.map +1 -1
- package/dist/src/services/website/website-label-pack-audit.service.d.ts.map +1 -1
- package/dist/src/services/website/website-label-pack-audit.service.js.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 +8 -0
- package/templates/saas/i18n/email/index.ts +1 -1
- package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationApiKeys/update.application-administrator/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/update.application-administrator/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/update.application-administrator/template.tsx +57 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationOAuthClients/deactivate.application-administrator/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/deactivate.application-administrator/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/deactivate.application-administrator/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/reactivate.application-administrator/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/reactivate.application-administrator/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/reactivate.application-administrator/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationOAuthClients/update.application-administrator/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/update.application-administrator/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/update.application-administrator/template.tsx +62 -0
- package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/create.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/update.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/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 +16 -9
- package/templates/saas/scenarios/add-locale/files/website/src/pages/__localePath__/index.astro +5 -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 +5 -2
- package/templates/saas/scenarios/add-marketing-page/files/website/src/pages-impl/__pageRef__.bridge.tsx.hbs +2 -0
- package/templates/saas/scenarios/add-marketing-page/files/website/src/sections/__pageRef__.sections.tsx.hbs +16 -44
- package/templates/saas/scenarios/add-marketing-page/scenario.json +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 +2 -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 +25 -20
- package/templates/saas/scenarios/add-website/files/website/src/components/HeaderComponent.tsx +15 -100
- package/templates/saas/scenarios/add-website/files/website/src/components/index.ts +9 -7
- package/templates/saas/scenarios/add-website/files/website/src/i18n/en.json.hbs +15 -9
- package/templates/saas/scenarios/add-website/files/website/src/pages/index.astro +5 -2
- package/templates/saas/scenarios/add-website/files/website/src/pages-impl/landing.bridge.tsx +3 -1
- package/templates/saas/scenarios/add-website/files/website/src/sections/index.ts +5 -9
- package/templates/saas/scenarios/add-website/files/website/src/sections/landing.sections.tsx +22 -58
- package/templates/saas/scenarios/add-website/files/website/src/site-menu.ts +47 -0
- package/templates/saas/scenarios/add-website/files/website/src/styles/website.css +46 -411
- package/templates/saas/scenarios/add-website/files/website/src/website-root.config.ts.hbs +34 -45
- package/templates/saas/scenarios/add-website/files/website/wildo.website.config.ts.hbs +5 -4
- package/templates/saas/scenarios/add-website/scenario.json +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 +8 -0
- package/templates/saas/skeleton/backend-api/src/engine/email/index.ts +1 -1
- package/templates/saas/skeleton/backend-api/src/engine/index.ts +2 -1
- package/templates/saas/skeleton/backend-api/src/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/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/dist/tsconfig.build.tsbuildinfo +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/templates/saas/i18n/email/system/organization-invitation/labels.en.ts +0 -15
- package/templates/saas/i18n/email/system/organization-invitation/labels.fr.ts +0 -21
- package/templates/saas/i18n/email/system/organization-invitation/template.tsx +0 -66
- package/templates/saas/i18n/email/system/payment-failed/labels.en.ts +0 -16
- package/templates/saas/i18n/email/system/payment-failed/labels.fr.ts +0 -21
- package/templates/saas/i18n/email/system/payment-failed/template.tsx +0 -59
- package/templates/saas/i18n/email/system/subscription-cancelled/labels.en.ts +0 -15
- package/templates/saas/i18n/email/system/subscription-cancelled/labels.fr.ts +0 -20
- package/templates/saas/i18n/email/system/subscription-cancelled/template.tsx +0 -56
- package/templates/saas/i18n/email/system/subscription-confirmation/labels.en.ts +0 -14
- package/templates/saas/i18n/email/system/subscription-confirmation/labels.fr.ts +0 -21
- package/templates/saas/i18n/email/system/subscription-confirmation/template.tsx +0 -60
- package/templates/saas/i18n/engine/resources/applicationScimTokens.en.ts +0 -240
- package/templates/saas/i18n/engine/resources/applicationScimTokens.fr.ts +0 -345
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.en.ts +0 -209
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.fr.ts +0 -209
- package/templates/saas/i18n/engine/resources/wildoApplication.en.ts +0 -590
- package/templates/saas/i18n/engine/resources/wildoApplication.fr.ts +0 -574
- package/templates/saas/i18n/engine/resources/wildoApplicationVersions.en.ts +0 -293
- package/templates/saas/i18n/engine/resources/wildoApplicationVersions.fr.ts +0 -293
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { BuildTaskRearmReason, CodingRunFailureAttribution } from '@wildo-ai/platform-core-shared';
|
|
1
2
|
import { CompanionClient } from './companion-client.service.js';
|
|
3
|
+
import { describeAgentStopReason } from './agent-stop-reason-words.js';
|
|
4
|
+
import { describeAgentWorkShortfall } from './agent-work-shortfall-words.js';
|
|
2
5
|
/**
|
|
3
6
|
* The newest review recorded on a task's runs: the review of the copy the task's tree holds now. The companion lists a
|
|
4
7
|
* task's attempts NEWEST FIRST (`describeBuildTaskRecords`), so the first one carrying a review is the newest.
|
|
@@ -33,6 +36,35 @@ export function describeWebsiteCopyReview(review, indent, taskRef) {
|
|
|
33
36
|
`${indent} To have the copy rewritten: wildo build run ${taskRef} --despite-landed --reason operator-judgement --note "<the finding>"`,
|
|
34
37
|
];
|
|
35
38
|
}
|
|
39
|
+
/** The newest visual review recorded on a task's runs (attempts are listed newest first). */
|
|
40
|
+
export function latestWebsiteVisualReview(task) {
|
|
41
|
+
return task.attempts.find((attempt) => attempt.websiteVisualReview !== undefined)?.websiteVisualReview;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* The lines one visual review reads as (#2785): what the camera measured, each rubric rule the drawing breaks with what
|
|
45
|
+
* the shot shows and what would fix it, and where the shots are. Or why the drawing was not reviewed. Advisory, and said
|
|
46
|
+
* so: the task landed, and redrawing the section is the remedy.
|
|
47
|
+
*/
|
|
48
|
+
export function describeWebsiteVisualReview(review, indent, taskRef) {
|
|
49
|
+
// semantic-literal-boundary: the companion's WebsiteVisualReviewOutcome wire value, read from its HTTP response
|
|
50
|
+
if (review.outcome === 'not-reviewed')
|
|
51
|
+
return [`${indent}drawing not reviewed: ${review.notReviewedReason ?? 'no reason recorded'}`];
|
|
52
|
+
const what = review.sectionRefs?.length ? `section(s) ${review.sectionRefs.join(', ')}` : `page(s) ${(review.routes ?? []).join(', ')}`;
|
|
53
|
+
const measured = review.measurements.map((measurement) => `${indent} measured · ${[measurement.route, measurement.viewport].filter(Boolean).join(' · ')} · ${measurement.what}${measurement.targets.length > 0 ? ` (${measurement.targets.join(', ')})` : ''}`);
|
|
54
|
+
if (review.findings.length === 0 && measured.length === 0) {
|
|
55
|
+
return [`${indent}drawing reviewed at ${review.reviewedAt} (${what}, ${review.shownImageCount} shot(s)): keeps the visual rubric`];
|
|
56
|
+
}
|
|
57
|
+
return [
|
|
58
|
+
`${indent}drawing reviewed at ${review.reviewedAt} (${what}, ${review.shownImageCount} shot(s)): ${review.findings.length} rubric rule(s) broken, ${measured.length} measurement(s) (advisory: the task landed)`,
|
|
59
|
+
...measured,
|
|
60
|
+
...review.findings.flatMap((finding) => [
|
|
61
|
+
`${indent} ${[finding.route, finding.locale, finding.viewport, finding.sectionRef].filter(Boolean).join(' · ')} · ${finding.rule}: ${finding.observation}`,
|
|
62
|
+
`${indent} ${finding.remedy}`,
|
|
63
|
+
]),
|
|
64
|
+
...(review.shotFiles?.length ? [`${indent} shots: ${review.shotFiles.join(', ')}`] : []),
|
|
65
|
+
`${indent} To have it redrawn: wildo build run ${taskRef} --despite-landed --reason operator-judgement --note "<the finding>"`,
|
|
66
|
+
];
|
|
67
|
+
}
|
|
36
68
|
/**
|
|
37
69
|
* How long a running step may go without advancing before its line says so. A labelling unit takes tens
|
|
38
70
|
* of seconds, so ten minutes of silence is not slowness; it is worth a look.
|
|
@@ -114,15 +146,24 @@ export function describeBuildTasks(result) {
|
|
|
114
146
|
]),
|
|
115
147
|
...tasks.map((task) => {
|
|
116
148
|
const copyFindings = latestWebsiteCopyReview(task)?.findings.length ?? 0;
|
|
149
|
+
const visual = latestWebsiteVisualReview(task);
|
|
150
|
+
const drawingFindings = (visual?.findings.length ?? 0) + (visual?.measurements.length ?? 0);
|
|
117
151
|
// A section that landed with no run of its own is reviewed through its page run (#2593): point there.
|
|
118
152
|
const reviewedWith = latestWebsiteCopyReview(task) === undefined ? copyCoveredBy.get(task.taskRef) : undefined;
|
|
119
|
-
return ` ${listedStatus(task).padEnd(10)} ${task.taskRef}${task.stuck ? ` — stuck: ${task.stuck.reason}` : ''}${task.attempts.length > 0 ? ` (${task.attempts.length} attempt(s))` : ''}${task.landedBeforeAnyRun ? ` — found in ${task.landedBeforeAnyRun.probedPaths.join(', ') || 'its declared site'}, never run` : ''}${task.progress ? ` — ${describeGenerationStepProgress(task.progress)}` : ''}${copyFindings > 0 ? ` — copy: ${copyFindings} claim(s) its build does not back` : ''}${reviewedWith ? ` — copy reviewed with ${reviewedWith}` : ''}`;
|
|
153
|
+
return ` ${listedStatus(task).padEnd(10)} ${task.taskRef}${task.stuck ? ` — stuck: ${task.stuck.reason}` : ''}${task.attempts.length > 0 ? ` (${task.attempts.length} attempt(s))` : ''}${task.landedBeforeAnyRun ? ` — found in ${task.landedBeforeAnyRun.probedPaths.join(', ') || 'its declared site'}, never run` : ''}${task.progress ? ` — ${describeGenerationStepProgress(task.progress)}` : ''}${copyFindings > 0 ? ` — copy: ${copyFindings} claim(s) its build does not back` : ''}${reviewedWith ? ` — copy reviewed with ${reviewedWith}` : ''}${drawingFindings > 0 ? ` — drawing: ${drawingFindings} finding(s)` : ''}`;
|
|
120
154
|
}),
|
|
121
155
|
];
|
|
122
156
|
const withCopyFindings = tasks.filter((task) => (latestWebsiteCopyReview(task)?.findings.length ?? 0) > 0);
|
|
123
157
|
if (withCopyFindings.length > 0) {
|
|
124
158
|
lines.push(` ${withCopyFindings.length} website task(s) wrote copy claiming what the build does not back: wildo creation why <taskRef> shows each claim.`);
|
|
125
159
|
}
|
|
160
|
+
const withDrawingFindings = tasks.filter((task) => {
|
|
161
|
+
const visual = latestWebsiteVisualReview(task);
|
|
162
|
+
return (visual?.findings.length ?? 0) + (visual?.measurements.length ?? 0) > 0;
|
|
163
|
+
});
|
|
164
|
+
if (withDrawingFindings.length > 0) {
|
|
165
|
+
lines.push(` ${withDrawingFindings.length} website task(s) drew what breaks the visual rubric or failed a measurement: wildo creation why <taskRef> shows each.`);
|
|
166
|
+
}
|
|
126
167
|
if (found > 0) {
|
|
127
168
|
lines.push(' `found`: the landing probe finds the product, but no run of the task produced it — a sibling task or a person may have,', ' or the probe may be reading something that is not the product. If it is wrong: wildo build run <taskRef> --despite-landed --reason <reason> --note "<why>"');
|
|
128
169
|
}
|
|
@@ -153,15 +194,26 @@ export function describeBuildTaskWhy(task) {
|
|
|
153
194
|
lines.push(` ${counter.phase} ${describeCounter(counter)}`);
|
|
154
195
|
}
|
|
155
196
|
for (const unmet of task.unmetProbes ?? []) {
|
|
197
|
+
// A registry probe is said by what the module registers (#2966): the probe object itself names no file to look in.
|
|
198
|
+
if (unmet.registered) {
|
|
199
|
+
if (unmet.registered.unanswerable)
|
|
200
|
+
lines.push(` could not read what the application declares: ${unmet.registered.unanswerable}`);
|
|
201
|
+
for (const shortfall of unmet.registered.missing)
|
|
202
|
+
lines.push(` not registered as planned: ${describeAgentWorkShortfall(shortfall)}`);
|
|
203
|
+
if (unmet.registered.uncommittedPaths.length > 0)
|
|
204
|
+
lines.push(` registration not committed: ${unmet.registered.uncommittedPaths.join(', ')}`);
|
|
205
|
+
continue;
|
|
206
|
+
}
|
|
156
207
|
lines.push(` not found: ${JSON.stringify(unmet.probe)}${unmet.satisfiedInWorkingTree ? ' (present in the working tree, not committed)' : ''}`);
|
|
157
208
|
}
|
|
158
|
-
// The companion lists attempts NEWEST FIRST
|
|
209
|
+
// The companion lists a task's attempts NEWEST FIRST: the last attempt is the first one. Read as the last element,
|
|
210
|
+
// every line below described the oldest run, including the interference and re-arm hint (#2530 review).
|
|
159
211
|
const last = task.attempts[0];
|
|
160
212
|
if (last) {
|
|
161
213
|
// The disposition and whose failure it was, so "failed" is never the whole answer (#2390).
|
|
162
|
-
//
|
|
163
|
-
const concluded = [last.disposition, last.failureAttribution ===
|
|
164
|
-
lines.push(` last attempt ${last.runTaskId}: ${last.status}${concluded ? ` (${concluded})` : ''}${last.settledAt ? ` at ${last.settledAt}` : ''}${last.agentStopReason ? ` (agent
|
|
214
|
+
// The vocabulary is `@wildo-ai/platform-core-shared`'s since #2530, so the wire value is compared to its member.
|
|
215
|
+
const concluded = [last.disposition, last.failureAttribution === CodingRunFailureAttribution.HOST ? 'the host\'s failure, not the work\'s' : undefined].filter(Boolean).join(', ');
|
|
216
|
+
lines.push(` last attempt ${last.runTaskId}: ${last.status}${concluded ? ` (${concluded})` : ''}${last.settledAt ? ` at ${last.settledAt}` : ''}${last.agentStopReason ? ` (the agent ${describeAgentStopReason(last.agentStopReason)})` : ''}`);
|
|
165
217
|
if (last.error)
|
|
166
218
|
lines.push(` ${last.error}`);
|
|
167
219
|
if (last.failedCheckRefs?.length)
|
|
@@ -174,7 +226,7 @@ export function describeBuildTaskWhy(task) {
|
|
|
174
226
|
lines.push(last.interference.requeued
|
|
175
227
|
? ' the build wave re-armed it and re-runs it alone'
|
|
176
228
|
// Not re-armed, so the completed run still holds the task: it must be released before it can run again.
|
|
177
|
-
: ` the build wave did not re-run it (its interference re-runs are spent, or the re-arm failed) → wildo build rearm ${task.taskRef} --reason
|
|
229
|
+
: ` the build wave did not re-run it (its interference re-runs are spent, or the re-arm failed) → wildo build rearm ${task.taskRef} --reason ${BuildTaskRearmReason.OPERATOR_JUDGEMENT} --note "<why>", then wildo build run ${task.taskRef}`);
|
|
178
230
|
}
|
|
179
231
|
if (last.rearm)
|
|
180
232
|
lines.push(` re-armed (${last.rearm.reason}): ${last.rearm.note}`);
|
|
@@ -192,6 +244,9 @@ export function describeBuildTaskWhy(task) {
|
|
|
192
244
|
const review = latestWebsiteCopyReview(task);
|
|
193
245
|
if (review)
|
|
194
246
|
lines.push(...describeWebsiteCopyReview(review, ' ', task.taskRef));
|
|
247
|
+
const visualReview = latestWebsiteVisualReview(task);
|
|
248
|
+
if (visualReview)
|
|
249
|
+
lines.push(...describeWebsiteVisualReview(visualReview, ' ', task.taskRef));
|
|
195
250
|
return lines;
|
|
196
251
|
}
|
|
197
252
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-console.service.js","sourceRoot":"","sources":["../../../../src/services/companion/build-console.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAyE7D;;;GAGG;AACH,MAAM,UAAU,uBAAuB,CAAC,IAA8C;IACpF,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,iBAAiB,KAAK,SAAS,CAAC,EAAE,iBAAiB,CAAC;AACrG,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,yBAAyB,CAAC,MAAgC,EAAE,MAAc,EAAE,OAAe;IACzG,8GAA8G;IAC9G,IAAI,MAAM,CAAC,OAAO,KAAK,cAAc;QAAE,OAAO,CAAC,GAAG,MAAM,sBAAsB,MAAM,CAAC,iBAAiB,IAAI,oBAAoB,EAAE,CAAC,CAAC;IAClI,MAAM,KAAK,GAAG,GAAG,MAAM,CAAC,MAAM,IAAI,gBAAgB,GAAG,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,qCAAqC,MAAM,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjJ,MAAM,KAAK,GAAG;QACZ,GAAG,CAAC,MAAM,CAAC,oBAAoB,EAAE,MAAM,CA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CAAC;AAED;;;;;GAKG;AACH,0GAA0G;AAC1G,MAAM,8BAA8B,GAAwB,IAAI,GAAG,CAAC,CAAC,qCAAqC,EAAE,sBAAsB,CAAC,CAAC,CAAC;AAErI,oFAAoF;AACpF,MAAM,UAAU,qBAAqB,CAAC,OAAe,EAAE,OAA6B;IAClF,IAAI,OAAO,CAAC,gBAAgB;QAAE,OAAO,CAAC,GAAG,OAAO,yBAAyB,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IAC5I,OAAO;QACL,aAAa,OAAO,CAAC,cAAc,CAAC,MAAM,eAAe,OAAO,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG;QACrI,GAAG,CAAC,OAAO,CAAC,YAAY,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,sBAAsB,OAAO,mEAAmE,CAAC;QAClJ,GAAG,OAAO,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,mBAAmB,OAAO,CAAC,IAAI,MAAM,OAAO,CAAC,MAAM,GAAG,8BAA8B,CAAC,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;KACrL,CAAC;AACJ,CAAC","sourcesContent":["import { CompanionClient } from './companion-client.service';\nimport type { CompanionClientOptions } from './companion.schemas';\n\n/**\n * The build half of the creation console (#1652, epic #1659) — the verbs a Claude Code session needs to\n * run the build lane: what is next, run it, why it has not landed, accept what it wrote, re-arm it.\n *\n * Every verb calls a companion route that calls the same service the workbench's operation calls, so\n * the console and the dashboard cannot disagree about what happened. The shapes below are the fields\n * the words need, not a second copy of the companion's contracts: `--json` prints the companion's\n * document unchanged, which is the form an agent reads.\n */\n\n/** The fields of a build task record this console prints (`GET /build/tasks`). */\nexport interface ConsoleBuildTaskRecord {\n readonly taskRef: string;\n readonly targetKind: string;\n readonly status: string;\n readonly attempts: ReadonlyArray<{\n readonly runTaskId: string;\n /** This run was started past a landing an operator said was wrong (#2217). */\n readonly landedOverride?: { readonly reason: string; readonly note: string };\n readonly startedAt: string;\n readonly settledAt?: string;\n readonly status: string;\n /** How the run concluded (`agent_execution_failed`, `verification_failed`, …): the companion's disposition wire value. */\n readonly disposition?: string;\n /** Whose failure it was, `task` or `host` (#1581): a host failure judged nothing about the work. */\n readonly failureAttribution?: string;\n /** Why it failed, in words: the agent's error, a refusal, a capture failure (#2390). */\n readonly error?: string;\n readonly failedCheckRefs?: readonly string[];\n readonly outOfScopePaths?: readonly string[];\n readonly agentStopReason?: string;\n /** Set when the task was put back in the queue after this run (#1535), by a person or by the wave (#2210). */\n readonly rearm?: { readonly reason: string; readonly note: string };\n readonly unmetRequirements?: ReadonlyArray<{ readonly requirementRef: string; readonly missing: string }>;\n readonly unmetRequirementsMalformed?: string;\n /** The run completed and a sibling of its wave overwrote its declared product (#2210). */\n readonly interference?: {\n readonly overlappingTaskRefs: readonly string[];\n readonly contendedProductPaths: readonly string[];\n readonly requeued: boolean;\n };\n /** What the review of a website run's copy found (#2593). Advisory: the task lands either way. */\n readonly websiteCopyReview?: ConsoleWebsiteCopyReview;\n }>;\n readonly stuck?: { readonly reason: string; readonly uncommittedPaths?: readonly string[] };\n readonly unmetProbes?: ReadonlyArray<{ readonly probe: Record<string, unknown>; readonly satisfiedInWorkingTree: boolean }>;\n readonly waitingOn?: readonly string[];\n /** Landed, and no run of this task ever started: where the probe found the product (#2217). */\n readonly landedBeforeAnyRun?: { readonly probedPaths: readonly string[] };\n /** A generation step running in the companion right now: how far it has got (#2215). */\n readonly progress?: ConsoleGenerationStepProgress;\n}\n\n/** The companion's `WebsiteCopyReview` (#2593), as this client reads it. */\nexport interface ConsoleWebsiteCopyReview {\n /** `reviewed` or `not-reviewed`: the companion's `WebsiteCopyReviewOutcome` wire values. */\n readonly outcome: string;\n readonly reviewedAt: string;\n readonly locale?: string;\n readonly localeFallback?: string;\n readonly reviewedLabelKeyCount: number;\n /** `standing` absent when the build state could not be read. */\n readonly standings: ReadonlyArray<{ readonly requirementRef: string; readonly standing?: string; readonly peopleFilledResourceRefs?: readonly string[] }>;\n readonly alsoReviewedTaskRefs?: readonly string[];\n readonly standingsUnread?: true;\n readonly findings: ReadonlyArray<{ readonly kind: string; readonly labelKey: string; readonly quote: string; readonly requirementRef?: string; readonly explanation: string }>;\n readonly droppedFindingCount?: number;\n readonly notReviewedReason?: string;\n}\n\n/**\n * The newest review recorded on a task's runs: the review of the copy the task's tree holds now. The companion lists a\n * task's attempts NEWEST FIRST (`describeBuildTaskRecords`), so the first one carrying a review is the newest.\n */\nexport function latestWebsiteCopyReview(task: Pick<ConsoleBuildTaskRecord, 'attempts'>): ConsoleWebsiteCopyReview | undefined {\n return task.attempts.find((attempt) => attempt.websiteCopyReview !== undefined)?.websiteCopyReview;\n}\n\n/**\n * The lines one copy review reads as (#2593): each finding with the words it quotes and the standing it was found\n * under, or why the copy was not reviewed. Advisory, and said so: the task landed, and rewriting the copy is the remedy.\n */\nexport function describeWebsiteCopyReview(review: ConsoleWebsiteCopyReview, indent: string, taskRef: string): string[] {\n // semantic-literal-boundary: the companion's WebsiteCopyReviewOutcome wire value, read from its HTTP response\n if (review.outcome === 'not-reviewed') return [`${indent}copy not reviewed: ${review.notReviewedReason ?? 'no reason recorded'}`];\n const where = `${review.locale ?? 'unknown locale'}${review.localeFallback ? `, in place of the default locale: ${review.localeFallback}` : ''}`;\n const scope = [\n ...(review.alsoReviewedTaskRefs?.length ? [`${indent} also reviewed the copy of ${review.alsoReviewedTaskRefs.join(', ')}, which no run of their own wrote`] : []),\n // The review could not hold any availability claim to a standing: say so, rather than read as clean.\n ...(review.standingsUnread ? [`${indent} the build state could not be read, so no claim of availability was checked against what the build delivers`] : []),\n ];\n if (review.findings.length === 0) return [`${indent}copy reviewed at ${review.reviewedAt} (${review.reviewedLabelKeyCount} label(s), ${where}): no claim its build does not back`, ...scope];\n const standingOf = new Map(review.standings.map((entry) => [entry.requirementRef, entry.standing]));\n return [\n `${indent}copy reviewed at ${review.reviewedAt} (${where}): ${review.findings.length} claim(s) its build does not back (advisory: the task landed)`,\n ...scope,\n ...review.findings.flatMap((finding) => [\n `${indent} ${finding.kind} ${finding.labelKey}${finding.requirementRef ? ` → ${finding.requirementRef} (${standingOf.get(finding.requirementRef) ?? 'standing unknown'})` : ''}: ${JSON.stringify(finding.quote)}`,\n `${indent} ${finding.explanation}`,\n ]),\n `${indent} To have the copy rewritten: wildo build run ${taskRef} --despite-landed --reason operator-judgement --note \"<the finding>\"`,\n ];\n}\n\n/** The companion's `GenerationStepProgress`, as this client reads it. */\nexport interface ConsoleGenerationStepProgress {\n readonly generationStepRef: string;\n readonly startedAt: string;\n readonly lastAdvancedAt: string;\n readonly counters: ReadonlyArray<{\n readonly phase: string;\n readonly locale: string;\n readonly total: number;\n readonly done: number;\n readonly failed: number;\n }>;\n}\n\n/**\n * How long a running step may go without advancing before its line says so. A labelling unit takes tens\n * of seconds, so ten minutes of silence is not slowness; it is worth a look.\n */\nconst GENERATION_STEP_SILENCE_WORTH_NAMING_MS = 10 * 60_000;\n\nfunction describeElapsed(fromIso: string, now: number): string {\n const seconds = Math.max(0, Math.round((now - Date.parse(fromIso)) / 1000));\n if (seconds < 90) return `${seconds}s`;\n const minutes = Math.round(seconds / 60);\n return minutes < 90 ? `${minutes}m` : `${Math.floor(minutes / 60)}h${String(minutes % 60).padStart(2, '0')}`;\n}\n\nfunction describeCounter(counter: ConsoleGenerationStepProgress['counters'][number]): string {\n return `${counter.locale} ${counter.done}/${counter.total}${counter.failed > 0 ? ` (${counter.failed} failed)` : ''}`;\n}\n\n/**\n * A running step's progress on one line (#2215): each phase's counters, then how long since it last\n * advanced. `now` is a parameter so the wording is testable.\n */\nexport function describeGenerationStepProgress(progress: ConsoleGenerationStepProgress, now: number = Date.now()): string {\n const byPhase = new Map<string, string[]>();\n for (const counter of progress.counters) {\n byPhase.set(counter.phase, [...(byPhase.get(counter.phase) ?? []), describeCounter(counter)]);\n }\n const phases = [...byPhase.entries()].map(([phase, counters]) => `${phase} ${counters.join(', ')}`);\n const silentMs = now - Date.parse(progress.lastAdvancedAt);\n const advanced = silentMs >= GENERATION_STEP_SILENCE_WORTH_NAMING_MS\n ? `no progress for ${describeElapsed(progress.lastAdvancedAt, now)}`\n : `last advanced ${describeElapsed(progress.lastAdvancedAt, now)} ago`;\n return [`running ${describeElapsed(progress.startedAt, now)}`, ...phases, advanced].join(' · ');\n}\n\nexport interface ConsoleBuildTaskRecords {\n readonly records: {\n readonly tasks: readonly ConsoleBuildTaskRecord[];\n readonly summary: {\n readonly taskCount: number;\n readonly landed: number;\n /** Absent from a companion older than #2217. */\n readonly landedBeforeAnyRun?: number;\n readonly blocked: number;\n readonly readyNeverAttempted: number;\n readonly readyToRetry: number;\n };\n /** Backends whose last start failed (#2405). Absent from an older companion, and when there is none. */\n readonly bootFailures?: ReadonlyArray<{\n readonly serviceIdentifier: string;\n readonly failedAt: string;\n readonly message: string | null;\n readonly lastStartedAt: string | null;\n /** Tasks whose run completed since the last good start. Absent from an older companion. */\n readonly candidateTaskRefs?: readonly string[];\n }>;\n } | null;\n}\n\nexport interface ConsoleAcceptOutcome {\n readonly commitSha?: string | null;\n readonly committedPaths: readonly string[];\n /** Of `committedPaths`, the creator's dossier files carried because a committed file imports them (#2332). */\n readonly carriedPaths?: readonly string[];\n readonly refusedPaths: ReadonlyArray<{ readonly path: string; readonly reason: string }>;\n readonly alreadyCommitted?: boolean;\n}\n\nconst encode = encodeURIComponent;\n\nexport const BuildConsoleClient = {\n next: (options: CompanionClientOptions) => CompanionClient.get<Record<string, unknown>>('/api/companion/build/next', options),\n tasks: (options: CompanionClientOptions) => CompanionClient.get<ConsoleBuildTaskRecords>('/api/companion/build/tasks', options),\n dispatches: (options: CompanionClientOptions) => CompanionClient.get<{ readonly dispatches: readonly Record<string, unknown>[] }>('/api/companion/build/dispatches', options),\n /**\n * Run the build, detached: the route answers at submission and the feed reports how it went. With a build\n * parallelism above one the companion starts a WAVE and answers `wave` (#2208); `single` asks for the next\n * ready task alone, which is also what a degree of one gets.\n */\n runNext: (options: CompanionClientOptions, single = false, skipPreflight = false) =>\n CompanionClient.post<Record<string, unknown>>('/api/companion/build/dispatch-next', {\n async: true,\n ...(single ? { single: true } : {}),\n // The person started past a creation-preflight refusal (#2229); the companion's own gate honours the same decision.\n ...(skipPreflight ? { skipPreflight: true } : {}),\n }, options),\n /** `despiteLanded` runs a task the probe calls landed, recording why on the run (#2217). */\n runNamed: (options: CompanionClientOptions, taskRef: string, despiteLanded?: { readonly reason: string; readonly note: string }, skipPreflight = false) =>\n CompanionClient.post<Record<string, unknown>>(`/api/companion/build/tasks/${encode(taskRef)}/dispatch`, {\n ...(despiteLanded ? { despiteLanded } : {}),\n ...(skipPreflight ? { skipPreflight: true } : {}),\n }, options),\n accept: (options: CompanionClientOptions, taskRef: string, force: boolean) =>\n CompanionClient.post<ConsoleAcceptOutcome>(`/api/companion/build/tasks/${encode(taskRef)}/accept`, force ? { force: true } : {}, options),\n rearm: (options: CompanionClientOptions, taskRef: string, reason: string, note: string) =>\n CompanionClient.post<{ readonly rearmedRunTaskIds: readonly string[]; readonly rearm: { readonly reason: string } }>(\n `/api/companion/build/tasks/${encode(taskRef)}/rearm`, { reason, note }, options),\n};\n\n/**\n * The status word a task is listed under. A landing no run of the task produced reads `found`, never `landed`\n * (#2217): `landed` beside a task with no attempts reads as \"built by its own run\", which is exactly what it was\n * not — in `app-creation-test-004` eighteen website sections read landed while their pages listed none of them.\n */\nfunction listedStatus(task: ConsoleBuildTaskRecord): string {\n return task.landedBeforeAnyRun ? 'found' : task.status;\n}\n\n/** One line per task of the plan — status first, because that is what a reader scans for. */\nexport function describeBuildTasks(result: ConsoleBuildTaskRecords): string[] {\n if (result.records === null) return ['This application has no build plan yet.'];\n const { summary, tasks } = result.records;\n const found = summary.landedBeforeAnyRun ?? tasks.filter((task) => task.landedBeforeAnyRun).length;\n const copyCoveredBy = new Map(tasks.flatMap((task) => (latestWebsiteCopyReview(task)?.alsoReviewedTaskRefs ?? []).map((covered) => [covered, task.taskRef] as const)));\n const lines = [\n `${summary.landed}/${summary.taskCount} landed${found > 0 ? ` (${found} found before any run of their own)` : ''} · ${summary.blocked} blocked · ${summary.readyNeverAttempted} ready, never run · ${summary.readyToRetry} ready to retry`,\n // First, because nothing below can be trusted to run while it holds (#2405): the build lane stops dispatching too.\n ...(result.records.bootFailures ?? []).flatMap((failure) => [\n `THE BACKEND DOES NOT START (${failure.serviceIdentifier}, since ${failure.failedAt}${failure.lastStartedAt ? `; last good start ${failure.lastStartedAt}` : ''}) — the build lane dispatches nothing until it does:`,\n ` ${failure.message ?? 'no reason recorded'}`,\n ...((failure.candidateTaskRefs ?? []).length > 0 ? [` Landed since its last good start: ${failure.candidateTaskRefs!.join(', ')}`] : []),\n ` Fix the task that landed it: wildo build run ${failure.candidateTaskRefs?.length === 1 ? failure.candidateTaskRefs[0] : '<taskRef>'} --despite-landed --reason operator-judgement --note \"<the refusal above>\"`,\n ]),\n ...tasks.map((task) => {\n const copyFindings = latestWebsiteCopyReview(task)?.findings.length ?? 0;\n // A section that landed with no run of its own is reviewed through its page run (#2593): point there.\n const reviewedWith = latestWebsiteCopyReview(task) === undefined ? copyCoveredBy.get(task.taskRef) : undefined;\n return ` ${listedStatus(task).padEnd(10)} ${task.taskRef}${task.stuck ? ` — stuck: ${task.stuck.reason}` : ''}${task.attempts.length > 0 ? ` (${task.attempts.length} attempt(s))` : ''}${task.landedBeforeAnyRun ? ` — found in ${task.landedBeforeAnyRun.probedPaths.join(', ') || 'its declared site'}, never run` : ''}${task.progress ? ` — ${describeGenerationStepProgress(task.progress)}` : ''}${copyFindings > 0 ? ` — copy: ${copyFindings} claim(s) its build does not back` : ''}${reviewedWith ? ` — copy reviewed with ${reviewedWith}` : ''}`;\n }),\n ];\n const withCopyFindings = tasks.filter((task) => (latestWebsiteCopyReview(task)?.findings.length ?? 0) > 0);\n if (withCopyFindings.length > 0) {\n lines.push(` ${withCopyFindings.length} website task(s) wrote copy claiming what the build does not back: wildo creation why <taskRef> shows each claim.`);\n }\n if (found > 0) {\n lines.push(\n ' `found`: the landing probe finds the product, but no run of the task produced it — a sibling task or a person may have,',\n ' or the probe may be reading something that is not the product. If it is wrong: wildo build run <taskRef> --despite-landed --reason <reason> --note \"<why>\"',\n );\n }\n return lines;\n}\n\n/**\n * Why one task has not landed, from its own record: its status, the reason it is stuck, what it waits\n * on, what its landing probes did not find, and how its last attempt ended — and, for a website task,\n * what the review of its copy found (#2593), which a LANDED task can carry too. Nothing here is\n * inferred — each line is a field the companion recorded.\n */\nexport function describeBuildTaskWhy(task: ConsoleBuildTaskRecord): string[] {\n const lines = [`${task.taskRef} (${task.targetKind}) — ${listedStatus(task)}`];\n if (task.landedBeforeAnyRun) {\n lines.push(` found before any run of its own, in ${task.landedBeforeAnyRun.probedPaths.join(', ') || 'its declared site'}`);\n lines.push(` if that is not the product: wildo build run ${task.taskRef} --despite-landed --reason <reason> --note \"<why>\"`);\n }\n if (task.stuck) {\n lines.push(` stuck: ${task.stuck.reason}`);\n if (task.stuck.uncommittedPaths?.length) lines.push(` written but not committed: ${task.stuck.uncommittedPaths.join(', ')} → wildo build accept ${task.taskRef}`);\n }\n if (task.waitingOn?.length) lines.push(` waits on: ${task.waitingOn.join(', ')}`);\n if (task.progress) {\n lines.push(` running: ${describeGenerationStepProgress(task.progress)}`);\n for (const counter of task.progress.counters) lines.push(` ${counter.phase} ${describeCounter(counter)}`);\n }\n for (const unmet of task.unmetProbes ?? []) {\n lines.push(` not found: ${JSON.stringify(unmet.probe)}${unmet.satisfiedInWorkingTree ? ' (present in the working tree, not committed)' : ''}`);\n }\n // The companion lists attempts NEWEST FIRST (`describeBuildTaskRecords`), so the last attempt is the first one.\n const last = task.attempts[0];\n if (last) {\n // The disposition and whose failure it was, so \"failed\" is never the whole answer (#2390).\n // semantic-literal-boundary: the companion's CodingRunFailureAttribution wire value, read from its HTTP response\n const concluded = [last.disposition, last.failureAttribution === 'host' ? 'the host\\'s failure, not the work\\'s' : undefined].filter(Boolean).join(', ');\n lines.push(` last attempt ${last.runTaskId}: ${last.status}${concluded ? ` (${concluded})` : ''}${last.settledAt ? ` at ${last.settledAt}` : ''}${last.agentStopReason ? ` (agent stopped: ${last.agentStopReason})` : ''}`);\n if (last.error) lines.push(` ${last.error}`);\n if (last.failedCheckRefs?.length) lines.push(` failed checks: ${last.failedCheckRefs.join(', ')}`);\n if (last.outOfScopePaths?.length) lines.push(` wrote outside its scope: ${last.outOfScopePaths.join(', ')}`);\n if (last.interference) {\n // Suspected, never proven: the wave sees that a sibling changed the product's file during the run, not which line it replaced.\n lines.push(` its product is missing, and concurrent run(s) ${last.interference.overlappingTaskRefs.join(', ')} changed ${last.interference.contendedProductPaths.join(', ')} during it (suspected interference)`);\n lines.push(last.interference.requeued\n ? ' the build wave re-armed it and re-runs it alone'\n // Not re-armed, so the completed run still holds the task: it must be released before it can run again.\n : ` the build wave did not re-run it (its interference re-runs are spent, or the re-arm failed) → wildo build rearm ${task.taskRef} --reason operator-judgement --note \"<why>\", then wildo build run ${task.taskRef}`);\n }\n if (last.rearm) lines.push(` re-armed (${last.rearm.reason}): ${last.rearm.note}`);\n // What the run's agent said it could not meet (#2496): a completed run's entries become follow-up tasks in the plan.\n for (const unmet of last.unmetRequirements ?? []) lines.push(` reported unmet ${unmet.requirementRef}: ${unmet.missing}`);\n if (last.unmetRequirementsMalformed) lines.push(` its unmet-requirements block could not be read: ${last.unmetRequirementsMalformed}`);\n if (last.landedOverride) lines.push(` run despite a landing (${last.landedOverride.reason}): ${last.landedOverride.note}`);\n } else {\n lines.push(' never attempted');\n }\n const review = latestWebsiteCopyReview(task);\n if (review) lines.push(...describeWebsiteCopyReview(review, ' ', task.taskRef));\n return lines;\n}\n\n/**\n * The refusal reasons `--force` passes: only the two about BYTES (dirty before the run, edited since). The\n * others are about WHOSE work a path is (not this run's, not claimed by it, without its own product, #2209),\n * and no force makes a path another writer's work into this run's — so the hint must not offer it there.\n * Wire values of the companion's `AcceptRefusalReason`, which this package does not import.\n */\n// semantic-literal-boundary: the companion's AcceptRefusalReason wire values, read from its HTTP response\nconst FORCE_PASSABLE_ACCEPT_REFUSALS: ReadonlySet<string> = new Set(['carries_changes_from_before_the_run', 'edited_since_the_run']);\n\n/** An accept outcome in words: what was committed, and what was refused and why. */\nexport function describeAcceptOutcome(subject: string, outcome: ConsoleAcceptOutcome): string[] {\n if (outcome.alreadyCommitted) return [`${subject} was already committed${outcome.commitSha ? ` (${outcome.commitSha.slice(0, 8)})` : ''}.`];\n return [\n `Committed ${outcome.committedPaths.length} file(s) of ${subject}${outcome.commitSha ? ` as ${outcome.commitSha.slice(0, 8)}` : ''}.`,\n ...(outcome.carriedPaths ?? []).map((carried) => ` carried with it: ${carried} — the creator's recorded answers, which a committed file imports`),\n ...outcome.refusedPaths.map((refused) => ` not included: ${refused.path} — ${refused.reason}${FORCE_PASSABLE_ACCEPT_REFUSALS.has(refused.reason) ? ' (--force includes it)' : ''}`),\n ];\n}\n"]}
|
|
1
|
+
{"version":3,"file":"build-console.service.js","sourceRoot":"","sources":["../../../../../../src/services/companion/build-console.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AACnG,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAE7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAmF1E;;;GAGG;AACH,MAAM,UAAU,uBAAuB,CA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AE,GAAG;QACrI,GAAG,CAAC,OAAO,CAAC,YAAY,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,sBAAsB,OAAO,mEAAmE,CAAC;QAClJ,GAAG,OAAO,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,mBAAmB,OAAO,CAAC,IAAI,MAAM,OAAO,CAAC,MAAM,GAAG,8BAA8B,CAAC,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;KACrL,CAAC;AACJ,CAAC","sourcesContent":["import { BuildTaskRearmReason, CodingRunFailureAttribution } from '@wildo-ai/platform-core-shared';\nimport { CompanionClient } from './companion-client.service';\nimport type { CompanionClientOptions } from './companion.schemas';\nimport { describeAgentStopReason } from './agent-stop-reason-words';\nimport { describeAgentWorkShortfall } from './agent-work-shortfall-words';\n\n/**\n * The build half of the creation console (#1652, epic #1659) — the verbs a Claude Code session needs to\n * run the build lane: what is next, run it, why it has not landed, accept what it wrote, re-arm it.\n *\n * Every verb calls a companion route that calls the same service the workbench's operation calls, so\n * the console and the dashboard cannot disagree about what happened. The shapes below are the fields\n * the words need, not a second copy of the companion's contracts: `--json` prints the companion's\n * document unchanged, which is the form an agent reads.\n */\n\n/** The fields of a build task record this console prints (`GET /build/tasks`). */\nexport interface ConsoleBuildTaskRecord {\n readonly taskRef: string;\n readonly targetKind: string;\n readonly status: string;\n readonly attempts: ReadonlyArray<{\n readonly runTaskId: string;\n /** This run was started past a landing an operator said was wrong (#2217). */\n readonly landedOverride?: { readonly reason: string; readonly note: string };\n readonly startedAt: string;\n readonly settledAt?: string;\n readonly status: string;\n /** How the run concluded (`agent_execution_failed`, `verification_failed`, …): the companion's disposition wire value. */\n readonly disposition?: string;\n /** Whose failure it was, a `CodingRunFailureAttribution` (#1581): a host failure judged nothing about the work. */\n readonly failureAttribution?: string;\n /** Why it failed, in words: the agent's error, a refusal, a capture failure (#2390). */\n readonly error?: string;\n readonly failedCheckRefs?: readonly string[];\n readonly outOfScopePaths?: readonly string[];\n readonly agentStopReason?: string;\n /** Set when the task was put back in the queue after this run (#1535), by a person or by the wave (#2210). */\n readonly rearm?: { readonly reason: string; readonly note: string };\n readonly unmetRequirements?: ReadonlyArray<{ readonly requirementRef: string; readonly missing: string }>;\n readonly unmetRequirementsMalformed?: string;\n /** The run completed and a sibling of its wave overwrote its declared product (#2210). */\n readonly interference?: {\n readonly overlappingTaskRefs: readonly string[];\n readonly contendedProductPaths: readonly string[];\n readonly requeued: boolean;\n };\n /** What the review of a website run's copy found (#2593). Advisory: the task lands either way. */\n readonly websiteCopyReview?: ConsoleWebsiteCopyReview;\n /** What the review of a website run's drawing found (#2785). Advisory: the task lands either way. */\n readonly websiteVisualReview?: ConsoleWebsiteVisualReview;\n }>;\n readonly stuck?: { readonly reason: string; readonly uncommittedPaths?: readonly string[] };\n readonly unmetProbes?: ReadonlyArray<{\n readonly probe: Record<string, unknown>;\n readonly satisfiedInWorkingTree: boolean;\n /** A registry probe's explanation (#2966): what the task's module does not register as planned, or why it could not be read. */\n readonly registered?: {\n readonly unanswerable?: string;\n readonly missing: ReadonlyArray<{ readonly kind: string; readonly ref: string; readonly planned: string | null; readonly registered: string | null }>;\n readonly uncommittedPaths: readonly string[];\n };\n }>;\n readonly waitingOn?: readonly string[];\n /** Landed, and no run of this task ever started: where the probe found the product (#2217). */\n readonly landedBeforeAnyRun?: { readonly probedPaths: readonly string[] };\n /** A generation step running in the companion right now: how far it has got (#2215). */\n readonly progress?: ConsoleGenerationStepProgress;\n}\n\n/** The companion's `WebsiteCopyReview` (#2593), as this client reads it. */\nexport interface ConsoleWebsiteCopyReview {\n /** `reviewed` or `not-reviewed`: the companion's `WebsiteCopyReviewOutcome` wire values. */\n readonly outcome: string;\n readonly reviewedAt: string;\n readonly locale?: string;\n readonly localeFallback?: string;\n readonly reviewedLabelKeyCount: number;\n /** `standing` absent when the build state could not be read. */\n readonly standings: ReadonlyArray<{ readonly requirementRef: string; readonly standing?: string; readonly peopleFilledResourceRefs?: readonly string[] }>;\n readonly alsoReviewedTaskRefs?: readonly string[];\n readonly standingsUnread?: true;\n readonly findings: ReadonlyArray<{ readonly kind: string; readonly labelKey: string; readonly quote: string; readonly requirementRef?: string; readonly explanation: string }>;\n readonly droppedFindingCount?: number;\n readonly notReviewedReason?: string;\n}\n\n/**\n * The newest review recorded on a task's runs: the review of the copy the task's tree holds now. The companion lists a\n * task's attempts NEWEST FIRST (`describeBuildTaskRecords`), so the first one carrying a review is the newest.\n */\nexport function latestWebsiteCopyReview(task: Pick<ConsoleBuildTaskRecord, 'attempts'>): ConsoleWebsiteCopyReview | undefined {\n return task.attempts.find((attempt) => attempt.websiteCopyReview !== undefined)?.websiteCopyReview;\n}\n\n/**\n * The lines one copy review reads as (#2593): each finding with the words it quotes and the standing it was found\n * under, or why the copy was not reviewed. Advisory, and said so: the task landed, and rewriting the copy is the remedy.\n */\nexport function describeWebsiteCopyReview(review: ConsoleWebsiteCopyReview, indent: string, taskRef: string): string[] {\n // semantic-literal-boundary: the companion's WebsiteCopyReviewOutcome wire value, read from its HTTP response\n if (review.outcome === 'not-reviewed') return [`${indent}copy not reviewed: ${review.notReviewedReason ?? 'no reason recorded'}`];\n const where = `${review.locale ?? 'unknown locale'}${review.localeFallback ? `, in place of the default locale: ${review.localeFallback}` : ''}`;\n const scope = [\n ...(review.alsoReviewedTaskRefs?.length ? [`${indent} also reviewed the copy of ${review.alsoReviewedTaskRefs.join(', ')}, which no run of their own wrote`] : []),\n // The review could not hold any availability claim to a standing: say so, rather than read as clean.\n ...(review.standingsUnread ? [`${indent} the build state could not be read, so no claim of availability was checked against what the build delivers`] : []),\n ];\n if (review.findings.length === 0) return [`${indent}copy reviewed at ${review.reviewedAt} (${review.reviewedLabelKeyCount} label(s), ${where}): no claim its build does not back`, ...scope];\n const standingOf = new Map(review.standings.map((entry) => [entry.requirementRef, entry.standing]));\n return [\n `${indent}copy reviewed at ${review.reviewedAt} (${where}): ${review.findings.length} claim(s) its build does not back (advisory: the task landed)`,\n ...scope,\n ...review.findings.flatMap((finding) => [\n `${indent} ${finding.kind} ${finding.labelKey}${finding.requirementRef ? ` → ${finding.requirementRef} (${standingOf.get(finding.requirementRef) ?? 'standing unknown'})` : ''}: ${JSON.stringify(finding.quote)}`,\n `${indent} ${finding.explanation}`,\n ]),\n `${indent} To have the copy rewritten: wildo build run ${taskRef} --despite-landed --reason operator-judgement --note \"<the finding>\"`,\n ];\n}\n\n/** The companion's `WebsiteVisualReview` (#2785), as this client reads it. */\nexport interface ConsoleWebsiteVisualReview {\n /** `reviewed` or `not-reviewed`: the companion's `WebsiteVisualReviewOutcome` wire values. */\n readonly outcome: string;\n readonly reviewedAt: string;\n readonly routes?: readonly string[];\n readonly sectionRefs?: readonly string[];\n readonly shownImageCount: number;\n readonly shotFiles?: readonly string[];\n readonly findings: ReadonlyArray<{ readonly rule: string; readonly route: string; readonly locale?: string; readonly viewport: string; readonly sectionRef?: string; readonly observation: string; readonly remedy: string }>;\n /** `viewport` absent for what holds at any width (the page answered an error). */\n readonly measurements: ReadonlyArray<{ readonly route: string; readonly viewport?: string; readonly what: string; readonly targets: readonly string[] }>;\n readonly droppedFindingCount?: number;\n readonly notReviewedReason?: string;\n}\n\n/** The newest visual review recorded on a task's runs (attempts are listed newest first). */\nexport function latestWebsiteVisualReview(task: Pick<ConsoleBuildTaskRecord, 'attempts'>): ConsoleWebsiteVisualReview | undefined {\n return task.attempts.find((attempt) => attempt.websiteVisualReview !== undefined)?.websiteVisualReview;\n}\n\n/**\n * The lines one visual review reads as (#2785): what the camera measured, each rubric rule the drawing breaks with what\n * the shot shows and what would fix it, and where the shots are. Or why the drawing was not reviewed. Advisory, and said\n * so: the task landed, and redrawing the section is the remedy.\n */\nexport function describeWebsiteVisualReview(review: ConsoleWebsiteVisualReview, indent: string, taskRef: string): string[] {\n // semantic-literal-boundary: the companion's WebsiteVisualReviewOutcome wire value, read from its HTTP response\n if (review.outcome === 'not-reviewed') return [`${indent}drawing not reviewed: ${review.notReviewedReason ?? 'no reason recorded'}`];\n const what = review.sectionRefs?.length ? `section(s) ${review.sectionRefs.join(', ')}` : `page(s) ${(review.routes ?? []).join(', ')}`;\n const measured = review.measurements.map((measurement) => `${indent} measured · ${[measurement.route, measurement.viewport].filter(Boolean).join(' · ')} · ${measurement.what}${measurement.targets.length > 0 ? ` (${measurement.targets.join(', ')})` : ''}`);\n if (review.findings.length === 0 && measured.length === 0) {\n return [`${indent}drawing reviewed at ${review.reviewedAt} (${what}, ${review.shownImageCount} shot(s)): keeps the visual rubric`];\n }\n return [\n `${indent}drawing reviewed at ${review.reviewedAt} (${what}, ${review.shownImageCount} shot(s)): ${review.findings.length} rubric rule(s) broken, ${measured.length} measurement(s) (advisory: the task landed)`,\n ...measured,\n ...review.findings.flatMap((finding) => [\n `${indent} ${[finding.route, finding.locale, finding.viewport, finding.sectionRef].filter(Boolean).join(' · ')} · ${finding.rule}: ${finding.observation}`,\n `${indent} ${finding.remedy}`,\n ]),\n ...(review.shotFiles?.length ? [`${indent} shots: ${review.shotFiles.join(', ')}`] : []),\n `${indent} To have it redrawn: wildo build run ${taskRef} --despite-landed --reason operator-judgement --note \"<the finding>\"`,\n ];\n}\n\n/** The companion's `GenerationStepProgress`, as this client reads it. */\nexport interface ConsoleGenerationStepProgress {\n readonly generationStepRef: string;\n readonly startedAt: string;\n readonly lastAdvancedAt: string;\n readonly counters: ReadonlyArray<{\n readonly phase: string;\n readonly locale: string;\n readonly total: number;\n readonly done: number;\n readonly failed: number;\n }>;\n}\n\n/**\n * How long a running step may go without advancing before its line says so. A labelling unit takes tens\n * of seconds, so ten minutes of silence is not slowness; it is worth a look.\n */\nconst GENERATION_STEP_SILENCE_WORTH_NAMING_MS = 10 * 60_000;\n\nfunction describeElapsed(fromIso: string, now: number): string {\n const seconds = Math.max(0, Math.round((now - Date.parse(fromIso)) / 1000));\n if (seconds < 90) return `${seconds}s`;\n const minutes = Math.round(seconds / 60);\n return minutes < 90 ? `${minutes}m` : `${Math.floor(minutes / 60)}h${String(minutes % 60).padStart(2, '0')}`;\n}\n\nfunction describeCounter(counter: ConsoleGenerationStepProgress['counters'][number]): string {\n return `${counter.locale} ${counter.done}/${counter.total}${counter.failed > 0 ? ` (${counter.failed} failed)` : ''}`;\n}\n\n/**\n * A running step's progress on one line (#2215): each phase's counters, then how long since it last\n * advanced. `now` is a parameter so the wording is testable.\n */\nexport function describeGenerationStepProgress(progress: ConsoleGenerationStepProgress, now: number = Date.now()): string {\n const byPhase = new Map<string, string[]>();\n for (const counter of progress.counters) {\n byPhase.set(counter.phase, [...(byPhase.get(counter.phase) ?? []), describeCounter(counter)]);\n }\n const phases = [...byPhase.entries()].map(([phase, counters]) => `${phase} ${counters.join(', ')}`);\n const silentMs = now - Date.parse(progress.lastAdvancedAt);\n const advanced = silentMs >= GENERATION_STEP_SILENCE_WORTH_NAMING_MS\n ? `no progress for ${describeElapsed(progress.lastAdvancedAt, now)}`\n : `last advanced ${describeElapsed(progress.lastAdvancedAt, now)} ago`;\n return [`running ${describeElapsed(progress.startedAt, now)}`, ...phases, advanced].join(' · ');\n}\n\nexport interface ConsoleBuildTaskRecords {\n readonly records: {\n readonly tasks: readonly ConsoleBuildTaskRecord[];\n readonly summary: {\n readonly taskCount: number;\n readonly landed: number;\n /** Absent from a companion older than #2217. */\n readonly landedBeforeAnyRun?: number;\n readonly blocked: number;\n readonly readyNeverAttempted: number;\n readonly readyToRetry: number;\n };\n /** Backends whose last start failed (#2405). Absent from an older companion, and when there is none. */\n readonly bootFailures?: ReadonlyArray<{\n readonly serviceIdentifier: string;\n readonly failedAt: string;\n readonly message: string | null;\n readonly lastStartedAt: string | null;\n /** Tasks whose run completed since the last good start. Absent from an older companion. */\n readonly candidateTaskRefs?: readonly string[];\n }>;\n } | null;\n}\n\nexport interface ConsoleAcceptOutcome {\n readonly commitSha?: string | null;\n readonly committedPaths: readonly string[];\n /** Of `committedPaths`, the creator's dossier files carried because a committed file imports them (#2332). */\n readonly carriedPaths?: readonly string[];\n readonly refusedPaths: ReadonlyArray<{ readonly path: string; readonly reason: string }>;\n readonly alreadyCommitted?: boolean;\n}\n\nconst encode = encodeURIComponent;\n\nexport const BuildConsoleClient = {\n next: (options: CompanionClientOptions) => CompanionClient.get<Record<string, unknown>>('/api/companion/build/next', options),\n tasks: (options: CompanionClientOptions) => CompanionClient.get<ConsoleBuildTaskRecords>('/api/companion/build/tasks', options),\n dispatches: (options: CompanionClientOptions) => CompanionClient.get<{ readonly dispatches: readonly Record<string, unknown>[] }>('/api/companion/build/dispatches', options),\n /**\n * Run the build, detached: the route answers at submission and the feed reports how it went. With a build\n * parallelism above one the companion starts a WAVE and answers `wave` (#2208); `single` asks for the next\n * ready task alone, which is also what a degree of one gets.\n */\n runNext: (options: CompanionClientOptions, single = false, skipPreflight = false) =>\n CompanionClient.post<Record<string, unknown>>('/api/companion/build/dispatch-next', {\n async: true,\n ...(single ? { single: true } : {}),\n // The person started past a creation-preflight refusal (#2229); the companion's own gate honours the same decision.\n ...(skipPreflight ? { skipPreflight: true } : {}),\n }, options),\n /** `despiteLanded` runs a task the probe calls landed, recording why on the run (#2217). */\n runNamed: (options: CompanionClientOptions, taskRef: string, despiteLanded?: { readonly reason: string; readonly note: string }, skipPreflight = false) =>\n CompanionClient.post<Record<string, unknown>>(`/api/companion/build/tasks/${encode(taskRef)}/dispatch`, {\n ...(despiteLanded ? { despiteLanded } : {}),\n ...(skipPreflight ? { skipPreflight: true } : {}),\n }, options),\n accept: (options: CompanionClientOptions, taskRef: string, force: boolean) =>\n CompanionClient.post<ConsoleAcceptOutcome>(`/api/companion/build/tasks/${encode(taskRef)}/accept`, force ? { force: true } : {}, options),\n rearm: (options: CompanionClientOptions, taskRef: string, reason: string, note: string) =>\n CompanionClient.post<{ readonly rearmedRunTaskIds: readonly string[]; readonly rearm: { readonly reason: string } }>(\n `/api/companion/build/tasks/${encode(taskRef)}/rearm`, { reason, note }, options),\n};\n\n/**\n * The status word a task is listed under. A landing no run of the task produced reads `found`, never `landed`\n * (#2217): `landed` beside a task with no attempts reads as \"built by its own run\", which is exactly what it was\n * not — in `app-creation-test-004` eighteen website sections read landed while their pages listed none of them.\n */\nfunction listedStatus(task: ConsoleBuildTaskRecord): string {\n return task.landedBeforeAnyRun ? 'found' : task.status;\n}\n\n/** One line per task of the plan — status first, because that is what a reader scans for. */\nexport function describeBuildTasks(result: ConsoleBuildTaskRecords): string[] {\n if (result.records === null) return ['This application has no build plan yet.'];\n const { summary, tasks } = result.records;\n const found = summary.landedBeforeAnyRun ?? tasks.filter((task) => task.landedBeforeAnyRun).length;\n const copyCoveredBy = new Map(tasks.flatMap((task) => (latestWebsiteCopyReview(task)?.alsoReviewedTaskRefs ?? []).map((covered) => [covered, task.taskRef] as const)));\n const lines = [\n `${summary.landed}/${summary.taskCount} landed${found > 0 ? ` (${found} found before any run of their own)` : ''} · ${summary.blocked} blocked · ${summary.readyNeverAttempted} ready, never run · ${summary.readyToRetry} ready to retry`,\n // First, because nothing below can be trusted to run while it holds (#2405): the build lane stops dispatching too.\n ...(result.records.bootFailures ?? []).flatMap((failure) => [\n `THE BACKEND DOES NOT START (${failure.serviceIdentifier}, since ${failure.failedAt}${failure.lastStartedAt ? `; last good start ${failure.lastStartedAt}` : ''}) — the build lane dispatches nothing until it does:`,\n ` ${failure.message ?? 'no reason recorded'}`,\n ...((failure.candidateTaskRefs ?? []).length > 0 ? [` Landed since its last good start: ${failure.candidateTaskRefs!.join(', ')}`] : []),\n ` Fix the task that landed it: wildo build run ${failure.candidateTaskRefs?.length === 1 ? failure.candidateTaskRefs[0] : '<taskRef>'} --despite-landed --reason operator-judgement --note \"<the refusal above>\"`,\n ]),\n ...tasks.map((task) => {\n const copyFindings = latestWebsiteCopyReview(task)?.findings.length ?? 0;\n const visual = latestWebsiteVisualReview(task);\n const drawingFindings = (visual?.findings.length ?? 0) + (visual?.measurements.length ?? 0);\n // A section that landed with no run of its own is reviewed through its page run (#2593): point there.\n const reviewedWith = latestWebsiteCopyReview(task) === undefined ? copyCoveredBy.get(task.taskRef) : undefined;\n return ` ${listedStatus(task).padEnd(10)} ${task.taskRef}${task.stuck ? ` — stuck: ${task.stuck.reason}` : ''}${task.attempts.length > 0 ? ` (${task.attempts.length} attempt(s))` : ''}${task.landedBeforeAnyRun ? ` — found in ${task.landedBeforeAnyRun.probedPaths.join(', ') || 'its declared site'}, never run` : ''}${task.progress ? ` — ${describeGenerationStepProgress(task.progress)}` : ''}${copyFindings > 0 ? ` — copy: ${copyFindings} claim(s) its build does not back` : ''}${reviewedWith ? ` — copy reviewed with ${reviewedWith}` : ''}${drawingFindings > 0 ? ` — drawing: ${drawingFindings} finding(s)` : ''}`;\n }),\n ];\n const withCopyFindings = tasks.filter((task) => (latestWebsiteCopyReview(task)?.findings.length ?? 0) > 0);\n if (withCopyFindings.length > 0) {\n lines.push(` ${withCopyFindings.length} website task(s) wrote copy claiming what the build does not back: wildo creation why <taskRef> shows each claim.`);\n }\n const withDrawingFindings = tasks.filter((task) => {\n const visual = latestWebsiteVisualReview(task);\n return (visual?.findings.length ?? 0) + (visual?.measurements.length ?? 0) > 0;\n });\n if (withDrawingFindings.length > 0) {\n lines.push(` ${withDrawingFindings.length} website task(s) drew what breaks the visual rubric or failed a measurement: wildo creation why <taskRef> shows each.`);\n }\n if (found > 0) {\n lines.push(\n ' `found`: the landing probe finds the product, but no run of the task produced it — a sibling task or a person may have,',\n ' or the probe may be reading something that is not the product. If it is wrong: wildo build run <taskRef> --despite-landed --reason <reason> --note \"<why>\"',\n );\n }\n return lines;\n}\n\n/**\n * Why one task has not landed, from its own record: its status, the reason it is stuck, what it waits\n * on, what its landing probes did not find, and how its last attempt ended — and, for a website task,\n * what the review of its copy found (#2593), which a LANDED task can carry too. Nothing here is\n * inferred — each line is a field the companion recorded.\n */\nexport function describeBuildTaskWhy(task: ConsoleBuildTaskRecord): string[] {\n const lines = [`${task.taskRef} (${task.targetKind}) — ${listedStatus(task)}`];\n if (task.landedBeforeAnyRun) {\n lines.push(` found before any run of its own, in ${task.landedBeforeAnyRun.probedPaths.join(', ') || 'its declared site'}`);\n lines.push(` if that is not the product: wildo build run ${task.taskRef} --despite-landed --reason <reason> --note \"<why>\"`);\n }\n if (task.stuck) {\n lines.push(` stuck: ${task.stuck.reason}`);\n if (task.stuck.uncommittedPaths?.length) lines.push(` written but not committed: ${task.stuck.uncommittedPaths.join(', ')} → wildo build accept ${task.taskRef}`);\n }\n if (task.waitingOn?.length) lines.push(` waits on: ${task.waitingOn.join(', ')}`);\n if (task.progress) {\n lines.push(` running: ${describeGenerationStepProgress(task.progress)}`);\n for (const counter of task.progress.counters) lines.push(` ${counter.phase} ${describeCounter(counter)}`);\n }\n for (const unmet of task.unmetProbes ?? []) {\n // A registry probe is said by what the module registers (#2966): the probe object itself names no file to look in.\n if (unmet.registered) {\n if (unmet.registered.unanswerable) lines.push(` could not read what the application declares: ${unmet.registered.unanswerable}`);\n for (const shortfall of unmet.registered.missing) lines.push(` not registered as planned: ${describeAgentWorkShortfall(shortfall)}`);\n if (unmet.registered.uncommittedPaths.length > 0) lines.push(` registration not committed: ${unmet.registered.uncommittedPaths.join(', ')}`);\n continue;\n }\n lines.push(` not found: ${JSON.stringify(unmet.probe)}${unmet.satisfiedInWorkingTree ? ' (present in the working tree, not committed)' : ''}`);\n }\n // The companion lists a task's attempts NEWEST FIRST: the last attempt is the first one. Read as the last element,\n // every line below described the oldest run, including the interference and re-arm hint (#2530 review).\n const last = task.attempts[0];\n if (last) {\n // The disposition and whose failure it was, so \"failed\" is never the whole answer (#2390).\n // The vocabulary is `@wildo-ai/platform-core-shared`'s since #2530, so the wire value is compared to its member.\n const concluded = [last.disposition, last.failureAttribution === CodingRunFailureAttribution.HOST ? 'the host\\'s failure, not the work\\'s' : undefined].filter(Boolean).join(', ');\n lines.push(` last attempt ${last.runTaskId}: ${last.status}${concluded ? ` (${concluded})` : ''}${last.settledAt ? ` at ${last.settledAt}` : ''}${last.agentStopReason ? ` (the agent ${describeAgentStopReason(last.agentStopReason)})` : ''}`);\n if (last.error) lines.push(` ${last.error}`);\n if (last.failedCheckRefs?.length) lines.push(` failed checks: ${last.failedCheckRefs.join(', ')}`);\n if (last.outOfScopePaths?.length) lines.push(` wrote outside its scope: ${last.outOfScopePaths.join(', ')}`);\n if (last.interference) {\n // Suspected, never proven: the wave sees that a sibling changed the product's file during the run, not which line it replaced.\n lines.push(` its product is missing, and concurrent run(s) ${last.interference.overlappingTaskRefs.join(', ')} changed ${last.interference.contendedProductPaths.join(', ')} during it (suspected interference)`);\n lines.push(last.interference.requeued\n ? ' the build wave re-armed it and re-runs it alone'\n // Not re-armed, so the completed run still holds the task: it must be released before it can run again.\n : ` the build wave did not re-run it (its interference re-runs are spent, or the re-arm failed) → wildo build rearm ${task.taskRef} --reason ${BuildTaskRearmReason.OPERATOR_JUDGEMENT} --note \"<why>\", then wildo build run ${task.taskRef}`);\n }\n if (last.rearm) lines.push(` re-armed (${last.rearm.reason}): ${last.rearm.note}`);\n // What the run's agent said it could not meet (#2496): a completed run's entries become follow-up tasks in the plan.\n for (const unmet of last.unmetRequirements ?? []) lines.push(` reported unmet ${unmet.requirementRef}: ${unmet.missing}`);\n if (last.unmetRequirementsMalformed) lines.push(` its unmet-requirements block could not be read: ${last.unmetRequirementsMalformed}`);\n if (last.landedOverride) lines.push(` run despite a landing (${last.landedOverride.reason}): ${last.landedOverride.note}`);\n } else {\n lines.push(' never attempted');\n }\n const review = latestWebsiteCopyReview(task);\n if (review) lines.push(...describeWebsiteCopyReview(review, ' ', task.taskRef));\n const visualReview = latestWebsiteVisualReview(task);\n if (visualReview) lines.push(...describeWebsiteVisualReview(visualReview, ' ', task.taskRef));\n return lines;\n}\n\n/**\n * The refusal reasons `--force` passes: only the two about BYTES (dirty before the run, edited since). The\n * others are about WHOSE work a path is (not this run's, not claimed by it, without its own product, #2209),\n * and no force makes a path another writer's work into this run's — so the hint must not offer it there.\n * Wire values of the companion's `AcceptRefusalReason`, which this package does not import.\n */\n// semantic-literal-boundary: the companion's AcceptRefusalReason wire values, read from its HTTP response\nconst FORCE_PASSABLE_ACCEPT_REFUSALS: ReadonlySet<string> = new Set(['carries_changes_from_before_the_run', 'edited_since_the_run']);\n\n/** An accept outcome in words: what was committed, and what was refused and why. */\nexport function describeAcceptOutcome(subject: string, outcome: ConsoleAcceptOutcome): string[] {\n if (outcome.alreadyCommitted) return [`${subject} was already committed${outcome.commitSha ? ` (${outcome.commitSha.slice(0, 8)})` : ''}.`];\n return [\n `Committed ${outcome.committedPaths.length} file(s) of ${subject}${outcome.commitSha ? ` as ${outcome.commitSha.slice(0, 8)}` : ''}.`,\n ...(outcome.carriedPaths ?? []).map((carried) => ` carried with it: ${carried} — the creator's recorded answers, which a committed file imports`),\n ...outcome.refusedPaths.map((refused) => ` not included: ${refused.path} — ${refused.reason}${FORCE_PASSABLE_ACCEPT_REFUSALS.has(refused.reason) ? ' (--force includes it)' : ''}`),\n ];\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companion-client-options.utils.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"companion-client-options.utils.d.ts","sourceRoot":"","sources":["../../../../../../src/services/companion/companion-client-options.utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAE9D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAElE;;;;;;;;;;GAUG;AACH,wBAAsB,wCAAwC,CAC5D,GAAG,EAAE,cAAc,EACnB,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,sBAAsB,CAAC,CAkBjC;AAED,iHAAiH;AACjH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,sBAAsB,GAAG,MAAM,CAEhF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companion-client-options.utils.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"companion-client-options.utils.js","sourceRoot":"","sources":["../../../../../../src/services/companion/companion-client-options.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mCAAmC,EAAE,MAAM,qEAAqE,CAAC;AAE1H,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAG7D;;;;;;;;;;GAUG;AACH,MAAM,CAAC,KAAK,UAAU,wCAAwC,CAC5D,GAAmB,EACnB,SAAiB;IAEjB,MAAM,QAAQ,GAAG,GAAG,CAAC,UAAU,CAAC,aAAa,CAAC,GAAG,CAAC,eAAe,CAAC;IAClE,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,OAAO,EAAE,SAAS,EAAE,CAAC;IACvB,CAAC;IACD,MAAM,gBAAgB,GAAG,MAAM,mCAAmC,CAAC,QAAQ,CAAC,CAAC;IAC7E,MAAM,YAAY,GAAG,gBAAgB,EAAE,YAAY,CAAC;IACpD;;;;OAIG;IACH,OAAO;QACL,OAAO,EAAE,QAAQ;QACjB,OAAO,EAAE,YAAY,EAAE,GAAG;QAC1B,IAAI,EAAE,YAAY,EAAE,IAAI;QACxB,SAAS;KACV,CAAC;AACJ,CAAC;AAED,iHAAiH;AACjH,MAAM,UAAU,wBAAwB,CAAC,OAA+B;IACtE,OAAO,OAAO,CAAC,OAAO,IAAI,oBAAoB,OAAO,CAAC,IAAI,IAAI,sBAAsB,EAAE,CAAC;AACzF,CAAC","sourcesContent":["import { loadAppLocalRuntimeServiceAddresses } from '~wildo-cli/services/application/app-local-runtime-addresses.service';\nimport type { CommandContext } from '~wildo-cli/kernel/types';\nimport { COMPANION_DEFAULT_PORT } from './companion.schemas';\nimport type { CompanionClientOptions } from './companion.schemas';\n\n/**\n * Resolve the running application's dev-companion address from the CLI's command context.\n *\n * ONE resolver, shared, because the rule it encodes (\"the companion's address comes from the app's\n * local runtime service addresses, falling back to the client default\") already existed twice as\n * module-private copies (`email-command.utils.ts`, `labelling-command.utils.ts`) before the context\n * command family would have made it three — the exact shape\n * `.claude/rules/invariant-call-site-enumeration.md` #13 records for policies expressed as private\n * constants. New companion-calling commands use this; the two older copies are unchanged deliberately\n * (repointing them is a mechanical follow-up, not a behavior change, and not this change's mandate).\n */\nexport async function resolveCompanionClientOptionsFromContext(\n ctx: CommandContext,\n timeoutMs: number,\n): Promise<CompanionClientOptions> {\n const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;\n if (!saasRoot) {\n return { timeoutMs };\n }\n const serviceAddresses = await loadAppLocalRuntimeServiceAddresses(saasRoot);\n const devCompanion = serviceAddresses?.devCompanion;\n /*\n * `appRoot` is carried, not dropped: it is what `CompanionClient` reads the P-29b companion token\n * from on a mutating call. Every resolver here already had it — it is where the companion's address\n * came from — and discarding it is precisely why no CLI verb ever sent the token.\n */\n return {\n appRoot: saasRoot,\n baseUrl: devCompanion?.url,\n port: devCompanion?.port,\n timeoutMs,\n };\n}\n\n/** The address a resolved options object will actually dial — for the source header a context command prints. */\nexport function describeCompanionAddress(options: CompanionClientOptions): string {\n return options.baseUrl ?? `http://localhost:${options.port ?? COMPANION_DEFAULT_PORT}`;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companion-client.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"companion-client.service.d.ts","sourceRoot":"","sources":["../../../../../../src/services/companion/companion-client.service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAaH,OAAO,EAGL,2BAA2B,EAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AA2NlE;;;GAGG;AACH,qBAAa,qBAAsB,SAAQ,KAAK;aACM,MAAM,EAAE,MAAM;gBAA/C,OAAO,EAAE,MAAM,EAAkB,MAAM,EAAE,MAAM;CAInE;AAED;;;;;;GAMG;AACH,eAAO,MAAM,+BAA+B,IAAI,CAAC;AACjD,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAE/D;AAED;;;;;;GAMG;AACH,qBAAa,4BAA6B,SAAQ,KAAK;aAClB,SAAS,EAAE,MAAM;gBAAjB,SAAS,EAAE,MAAM;CAIrD;AAED,eAAO,MAAM,eAAe;kBAElB,MAAM,SACN,WAAW,YACP,sBAAsB,gBACnB,2BAA2B,GACvC,OAAO,CAAC,QAAQ,CAAC;QAaV,CAAC,QAAQ,MAAM,YAAY,sBAAsB,GAAG,OAAO,CAAC,CAAC,CAAC;SAM7D,CAAC,QACJ,MAAM,SACL,OAAO,YACJ,sBAAsB,gBACnB,2BAA2B,GACvC,OAAO,CAAC,CAAC,CAAC;IAeb,uCAAuC;mBAClB,sBAAsB,GAAG,OAAO,CAAC,OAAO,CAAC;CAS/D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companion-client.service.js","sourceRoot":"","sources":["../../../../src/services/companion/companion-client.service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,gFAAgF;AAChF,gFAAgF;AAChF,iFAAiF;AACjF,gDAAgD;AAChD,wEAAwE;AACxE,6EAA6E;AAC7E,gFAAgF;AAChF,6EAA6E;AAC7E,6BAA6B;AAC7B,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EACL,sBAAsB,EACtB,4BAA4B,EAC5B,2BAA2B,GAC5B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,sBAAsB,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAE9H;;;;;;;;;;;;;;;;;GAiBG;AACH,IAAI,iBAAoC,CAAC;AACzC,SAAS,mBAAmB;IAC1B,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACvB,iBAAiB,GAAG,IAAI,KAAK,CAAC;YAC5B,cAAc,EAAE,EAAE,GAAG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AC,WAAW,EAAE,CAAC;IACpD,OAAO,MAAM,KAAK,KAAK,IAAI,MAAM,KAAK,MAAM;QAC1C,CAAC,CAAC,2BAA2B,CAAC,SAAS;QACvC,CAAC,CAAC,2BAA2B,CAAC,QAAQ,CAAC;AAC3C,CAAC","sourcesContent":["/**\n * CompanionClientService — HTTP client for companion REST API.\n *\n * IMPLEMENTATION: DONE — get, post, ping, 10s timeout via AbortSignal.timeout.\n * Protocol (endpoints, payloads) TBD when companion service is defined.\n */\n\n// BOTH fetch and Agent must come from the SAME undici. Node's GLOBAL fetch is a\n// different undici (bundled 8.x on Node 26) whose dispatch-handler interface is\n// incompatible with this package's Agent (6.x) — passing our Agent as the global\n// fetch's `dispatcher` fails every request with\n// `InvalidArgumentError: invalid onError method (UND_ERR_INVALID_ARG)`.\n// That silently broke every long-running companion RPC (labels / translate /\n// email generation) when the toolchain moved to Node 26. Importing undici's own\n// fetch keeps the dispatcher/handler pair version-coherent regardless of the\n// Node-bundled undici major.\nimport { Agent, fetch } from 'undici';\nimport { WildoHeaderKeys } from '@wildo-ai/saas-models';\nimport {\n COMPANION_DEFAULT_PORT,\n COMPANION_DEFAULT_TIMEOUT_MS,\n CompanionRequestRetryPolicy,\n} from './companion.schemas';\nimport type { CompanionClientOptions } from './companion.schemas';\nimport { COMPANION_TOKEN_HEADER, CompanionTokenAbsentError, readCompanionTokenNoFollow } from './companion-local-token.utils';\n\n/**\n * Lazily-built `undici.Agent` with long head/body timeouts for companion\n * RPCs. Required because Node's native `fetch` (undici under the hood)\n * defaults to `headersTimeout: 300_000` (5 min) — even if the caller\n * passes `AbortSignal.timeout(...)` with a longer ceiling, undici will\n * still give up at 5 min waiting for response headers.\n *\n * The companion's labelling, translation, and email generation endpoints\n * legitimately exceed 5 min (LLM batch jobs). The companion-side fix is\n * in `engine/saas-backend-lib` (`appConfiguration.runtime.httpServerConfiguration`);\n * this is the matching client-side fix. Both must move together — a\n * 30-min server-side `requestTimeout` is useless if the client gives up\n * at 5 min.\n *\n * 31 minutes (slightly above the 30-min companion server timeout) keeps\n * the abort signal as the canonical authority over total request budget\n * while letting the dispatcher stay out of the way.\n */\nlet _longRunningAgent: Agent | undefined;\nfunction getLongRunningAgent(): Agent {\n if (!_longRunningAgent) {\n _longRunningAgent = new Agent({\n headersTimeout: 31 * 60_000,\n bodyTimeout: 31 * 60_000,\n keepAliveTimeout: 31 * 60_000,\n });\n }\n return _longRunningAgent;\n}\n\nfunction getBaseUrl(options?: CompanionClientOptions): string {\n const port = options?.port ?? COMPANION_DEFAULT_PORT;\n return options?.baseUrl ?? `http://localhost:${port}`;\n}\n\n/** Attempts (including the first) for transient connection failures. */\nconst CONNECTION_RETRY_ATTEMPTS = 4;\n/** Delay between connection-retry attempts (≈1.2s total across 4 attempts). */\nconst CONNECTION_RETRY_DELAY_MS = 400;\n\n/**\n * A transient connection failure — the companion is briefly unreachable, e.g.\n * mid-restart after a source edit (dev watcher → runtime-supervisor). undici's\n * `fetch` throws `TypeError: fetch failed` with the underlying error on `.cause`.\n * We retry ONLY these (never timeouts or HTTP status errors, which are real).\n */\nfunction isTransientConnectionError(err: unknown): boolean {\n if (!(err instanceof Error)) {\n return false;\n }\n const code = (err as { cause?: { code?: string } }).cause?.code;\n return code === 'ECONNREFUSED' || code === 'ECONNRESET' || code === 'ECONNABORTED' || code === 'EAI_AGAIN';\n}\n\nasync function fetchWithTimeout(\n url: string,\n init: RequestInit & { timeoutMs?: number },\n options?: CompanionClientOptions,\n retryPolicy: CompanionRequestRetryPolicy = defaultRetryPolicy(init),\n): Promise<Response> {\n const timeoutMs = init.timeoutMs ?? options?.timeoutMs ?? COMPANION_DEFAULT_TIMEOUT_MS;\n const attempts = retryPolicy === CompanionRequestRetryPolicy.SAFE_READ ? CONNECTION_RETRY_ATTEMPTS : 1;\n\n let lastError: unknown;\n for (let attempt = 1; attempt <= attempts; attempt++) {\n // Fresh signal per attempt — an aborted/consumed AbortSignal can't be reused.\n const signal = AbortSignal.timeout(timeoutMs);\n try {\n // The cast bridges the AMBIENT `RequestInit` this function's signature uses\n // (undici-types via @types/node) and the imported undici's own structurally\n // identical `RequestInit` — the two type packages declare nominal twins\n // (FormData/Blob) that TypeScript refuses to unify across module identities.\n // Runtime-coherent by construction: fetch, Agent and the init all come from\n // the same imported undici (see the import note at the top of this file).\n return await fetch(url, {\n ...init,\n signal,\n dispatcher: getLongRunningAgent(),\n } as unknown as Parameters<typeof fetch>[1]);\n } catch (err) {\n if (err instanceof Error && (err.name === 'AbortError' || err.name === 'TimeoutError')) {\n throw new CompanionRequestTimeoutError(timeoutMs);\n }\n lastError = err;\n // Retry a briefly-unreachable companion (mid-restart); fail fast otherwise.\n if (attempt < attempts && isTransientConnectionError(err)) {\n await new Promise((resolve) => setTimeout(resolve, CONNECTION_RETRY_DELAY_MS));\n continue;\n }\n throw err;\n }\n }\n throw lastError;\n}\n\n/**\n * Methods that need no companion token — the same set the companion's own floor lets through.\n *\n * Kept as the METHOD rather than as a list of mutating routes for the reason the server side gives at\n * `COMPANION_TOKEN_FLOOR_UNGATED_METHODS`: the two ends must agree, and a verb is the only\n * discriminator both can compute without maintaining a copy of the other's route table.\n */\nconst COMPANION_TOKEN_UNGATED_METHODS: ReadonlySet<string> = new Set(['GET', 'HEAD', 'OPTIONS']);\n\n/**\n * Attach the machine-local companion token to a mutating request (P-29b).\n *\n * This is the CLIENT half of one invariant, and it lives HERE — at the single point every CLI\n * companion request funnels through — rather than at each of the eight call sites that build one.\n * Those call sites are four near-identical `resolveCompanionClientOptions` copies plus an inline\n * object literal in `charts-audit.command.ts`; a per-call-site attach would have been five hand-applied\n * copies of a rule, and the sixth would have been written without it.\n *\n * An explicitly-supplied token header WINS: `requestAuthorizedLocalCompanion` sets one, and a caller\n * that has gone to the trouble of naming a credential must not have it silently replaced.\n *\n * A failed read is raised, not swallowed. Sending the request without the token would trade a local\n * error that names the token file for a remote 401 that names the same file one hop further away —\n * and the local one can say WHY (the file is missing, or its mode is too broad), which the server\n * cannot know.\n *\n * **An ABSENT `appRoot` sends nothing and lets the companion refuse**, and that decision was\n * re-examined on 2026-09-10 rather than reversed. Raising locally instead was tried: it makes every\n * mutating call require an application root, which is true of the CLI's real callers and NOT of a\n * request whose only problem is a companion that has restarted — so the refusal has to be legible\n * wherever it comes from, not only in the one branch that can see it early. That is what\n * `describeCompanionFailure` below does, and it covers the stale-token case the local throw could\n * not. The branch is reachable: a `wildo` invocation with no targeted app resolves\n * `{ timeoutMs }` alone (`companion-client-options.utils.ts`).\n */\nasync function resolveCompanionTokenHeader(\n method: string,\n headers: Headers,\n options?: CompanionClientOptions,\n): Promise<void> {\n if (COMPANION_TOKEN_UNGATED_METHODS.has(method.toUpperCase())) return;\n if (options?.appRoot === undefined || headers.has(COMPANION_TOKEN_HEADER)) return;\n headers.set(COMPANION_TOKEN_HEADER, await readCompanionTokenNoFollow(options.appRoot));\n}\n\n/**\n * Turn a companion failure into a sentence that names the CAUSE, not only the status.\n *\n * A `401` from the companion carries `type: AUTHENTICATION`, a severity and a correlation id, and\n * NOTHING else — measured against the running companion on 2026-09-10. `sanitizeErrorForClient`\n * strips the explanatory context before it leaves the process, deliberately: a refusal must not teach\n * an unauthorized caller where the credential lives. The sentence that does explain is in the\n * COMPANION'S log, under the same correlation id.\n *\n * So `Companion API /api/companion/x: 401 Unauthorized` is all a CLI user would otherwise see, and it\n * reads as \"the thing I asked for failed\" rather than \"I sent no credential\" — the defect class this\n * whole change closed for three callers outside the CLI. The client is the one place that knows both\n * halves (which application it targeted, and whether it attached anything), so it is the one place\n * that can say which of the two happened.\n */\nfunction describeCompanionFailure(\n path: string,\n method: string,\n response: Response,\n options?: CompanionClientOptions,\n refusal?: string,\n): string {\n const base = refusal === undefined\n ? `Companion API ${path}: ${response.status} ${response.statusText}`\n : `Companion API ${path}: ${response.status} ${response.statusText} — ${refusal}`;\n if (response.status !== 401) return base;\n /*\n * The floor is VERB-discriminated, so this explanation has to be too — and the same set the attach\n * reads is the one that decides here, twenty lines apart in one file rather than two copies. A 401\n * on a READ is not a missing mutation credential: it comes from somewhere else entirely, and\n * telling the caller to check its companion token would send them to the wrong place.\n */\n if (COMPANION_TOKEN_UNGATED_METHODS.has(method.toUpperCase())) {\n return `${base} — this is a READ, which the companion's local-token floor does not gate, so the `\n + 'refusal is not about the machine-local token.';\n }\n return options?.appRoot === undefined\n ? `${base} — this route mutates and needs the machine-local companion token, and no targeted `\n + 'application was resolved, so none was sent. Run the command from inside a Wildo application.'\n : `${base} — the companion refused the token read from ${options.appRoot}/.wildo-saas/state/`\n + 'companion.token. It mints a fresh one on every boot, so this usually means it restarted; '\n + 'the companion\\'s own log carries the full refusal under the response\\'s correlation id.';\n}\n\n/**\n * The companion's own explanation of a refusal, when the body carries one.\n *\n * A refused REQUEST (a 4xx) answers with the reason the handler wrote — the engine's error envelope\n * allow-lists `message` in `details` for VALIDATION, CONFLICT and RATE_LIMIT. Without reading it, a\n * caller saw `400 Bad Request` and nothing else, and the refusal naming the fix (\"`get` takes `refs` OR\n * `aspectKeys`\") reached nobody (#1459, found on the first live `wildo context elements` run).\n *\n * Every OTHER type loses its `details` to the client sanitizer, so a refusal whose words matter (a 404\n * among them) carries them as `userGuidance` instead: when there is no `details.message`, read its\n * `explanation` and its `resolution`, joined when both are present (#1588). The raw text is right here — the CLI has no label tree to resolve\n * the guidance key against.\n *\n * Best-effort and non-throwing: an empty or non-JSON body simply yields no detail, and the status line\n * stands on its own as before.\n */\nasync function readRefusalDetail(response: Response): Promise<string | undefined> {\n try {\n const body = await response.clone().json() as {\n error?: { details?: { message?: unknown }; userGuidance?: { explanation?: unknown; resolution?: unknown } };\n };\n const text = (value: unknown): string | undefined => (typeof value === 'string' && value.trim().length > 0 ? value : undefined);\n const details = text(body?.error?.details?.message);\n if (details) return details;\n // Both halves when both are present: the resolution is the actionable one (#1588 review F4).\n const guidance = [text(body?.error?.userGuidance?.explanation), text(body?.error?.userGuidance?.resolution)].filter((part): part is string => part !== undefined);\n return guidance.length > 0 ? guidance.join(' ') : undefined;\n } catch {\n return undefined;\n }\n}\n\n/**\n * The companion ANSWERED, with a non-2xx status (#1588): carries that status, so a caller can tell a\n * refusal from a companion that is not there without parsing the message.\n */\nexport class CompanionRefusalError extends Error {\n public constructor(message: string, public readonly status: number) {\n super(message);\n this.name = 'CompanionRefusalError';\n }\n}\n\n/**\n * The creation console's exit code for a failed companion call (#1652): 2 when the companion could not\n * be REACHED (nothing listening, connection reset, or a companion that never started here and so\n * left no token), 1 for everything else — a refusal it answered, a\n * timeout, a malformed request. The distinction is the one an agent branches on: \"fix what you sent\"\n * versus \"start the stack\", and it must not be recovered by parsing an error message.\n */\nexport const COMPANION_UNREACHABLE_EXIT_CODE = 2;\nexport function companionFailureExitCode(error: unknown): number {\n return isTransientConnectionError(error) || error instanceof CompanionTokenAbsentError ? COMPANION_UNREACHABLE_EXIT_CODE : 1;\n}\n\n/**\n * The CLIENT gave up waiting — the companion may still be doing the work. Distinct from\n * {@link CompanionRefusalError} (the companion answered no) and from an unreachable companion, because a\n * caller whose request STARTS work must not report a timeout as a failure: `wildo creation answer` on a\n * playbook round is refused fast when the answer is wrong and otherwise holds the request open for the\n * whole continuation, so a timeout there means the answer was admitted and the run is still going.\n */\nexport class CompanionRequestTimeoutError extends Error {\n public constructor(public readonly timeoutMs: number) {\n super(`Companion API request timed out after ${timeoutMs}ms`);\n this.name = 'CompanionRequestTimeoutError';\n }\n}\n\nexport const CompanionClient = {\n async request(\n path: string,\n init: RequestInit = {},\n options?: CompanionClientOptions,\n retryPolicy: CompanionRequestRetryPolicy = defaultRetryPolicy(init),\n ): Promise<Response> {\n const base = getBaseUrl(options);\n const headers = new Headers(options?.headers);\n new Headers(init.headers).forEach((value, key) => headers.set(key, value));\n await resolveCompanionTokenHeader(init.method ?? 'GET', headers, options);\n return fetchWithTimeout(\n `${base}${path.startsWith('/') ? path : `/${path}`}`,\n { ...init, headers },\n options,\n retryPolicy,\n );\n },\n\n async get<T>(path: string, options?: CompanionClientOptions): Promise<T> {\n const res = await CompanionClient.request(path, {}, options, CompanionRequestRetryPolicy.SAFE_READ);\n if (!res.ok) throw new CompanionRefusalError(describeCompanionFailure(path, 'GET', res, options, await readRefusalDetail(res)), res.status);\n return res.json() as Promise<T>;\n },\n\n async post<T>(\n path: string,\n body?: unknown,\n options?: CompanionClientOptions,\n retryPolicy: CompanionRequestRetryPolicy = CompanionRequestRetryPolicy.NO_RETRY,\n ): Promise<T> {\n const res = await CompanionClient.request(\n path,\n {\n method: 'POST',\n headers: { [WildoHeaderKeys.CONTENT_TYPE]: 'application/json' },\n body: body ? JSON.stringify(body) : undefined,\n },\n options,\n retryPolicy,\n );\n if (!res.ok) throw new CompanionRefusalError(describeCompanionFailure(path, 'POST', res, options, await readRefusalDetail(res)), res.status);\n return res.json() as Promise<T>;\n },\n\n /** Check if companion is reachable. */\n async ping(options?: CompanionClientOptions): Promise<boolean> {\n try {\n const base = getBaseUrl(options);\n const res = await fetchWithTimeout(`${base}/health`, { method: 'GET' }, options, CompanionRequestRetryPolicy.SAFE_READ);\n return res.ok;\n } catch {\n return false;\n }\n },\n};\n\n/**\n * Reads and heads are safe by their transport semantics. Every other method\n * starts no-retry unless a caller declares a stronger semantic contract.\n */\nfunction defaultRetryPolicy(init: RequestInit): CompanionRequestRetryPolicy {\n const method = (init.method ?? 'GET').toUpperCase();\n return method === 'GET' || method === 'HEAD'\n ? CompanionRequestRetryPolicy.SAFE_READ\n : CompanionRequestRetryPolicy.NO_RETRY;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"companion-client.service.js","sourceRoot":"","sources":["../../../../../../src/services/companion/companion-client.service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,gFAAgF;AAChF,gFAAgF;AAChF,iFAAiF;AACjF,gDAAgD;AAChD,wEAAwE;AACxE,6EAA6E;AAC7E,gFAAgF;AAChF,6EAA6E;AAC7E,6BAA6B;AAC7B,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,eAAe,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AAM,GAAG,GAAG,MAAM,gBAAgB,CAAC,GAAG,IAAI,SAAS,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,2BAA2B,CAAC,SAAS,CAAC,CAAC;YACxH,OAAO,GAAG,CAAC,EAAE,CAAC;QAChB,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,KAAK,CAAC;QACf,CAAC;IACH,CAAC;CACF,CAAC;AAEF;;;GAGG;AACH,SAAS,kBAAkB,CAAC,IAAiB;IAC3C,MAAM,MAAM,GAAG,CAAC,IAAI,CAAC,MAAM,IAAI,KAAK,CAAC,CAAC,WAAW,EAAE,CAAC;IACpD,OAAO,MAAM,KAAK,KAAK,IAAI,MAAM,KAAK,MAAM;QAC1C,CAAC,CAAC,2BAA2B,CAAC,SAAS;QACvC,CAAC,CAAC,2BAA2B,CAAC,QAAQ,CAAC;AAC3C,CAAC","sourcesContent":["/**\n * CompanionClientService — HTTP client for companion REST API.\n *\n * IMPLEMENTATION: DONE — get, post, ping, 10s timeout via AbortSignal.timeout.\n * Protocol (endpoints, payloads) TBD when companion service is defined.\n */\n\n// BOTH fetch and Agent must come from the SAME undici. Node's GLOBAL fetch is a\n// different undici (bundled 8.x on Node 26) whose dispatch-handler interface is\n// incompatible with this package's Agent (6.x) — passing our Agent as the global\n// fetch's `dispatcher` fails every request with\n// `InvalidArgumentError: invalid onError method (UND_ERR_INVALID_ARG)`.\n// That silently broke every long-running companion RPC (labels / translate /\n// email generation) when the toolchain moved to Node 26. Importing undici's own\n// fetch keeps the dispatcher/handler pair version-coherent regardless of the\n// Node-bundled undici major.\nimport { Agent, fetch } from 'undici';\nimport { WildoHeaderKeys } from '@wildo-ai/saas-models';\nimport {\n COMPANION_DEFAULT_PORT,\n COMPANION_DEFAULT_TIMEOUT_MS,\n CompanionRequestRetryPolicy,\n} from './companion.schemas';\nimport type { CompanionClientOptions } from './companion.schemas';\nimport { COMPANION_TOKEN_HEADER, CompanionTokenAbsentError, readCompanionTokenNoFollow } from './companion-local-token.utils';\n\n/**\n * Lazily-built `undici.Agent` with long head/body timeouts for companion\n * RPCs. Required because Node's native `fetch` (undici under the hood)\n * defaults to `headersTimeout: 300_000` (5 min) — even if the caller\n * passes `AbortSignal.timeout(...)` with a longer ceiling, undici will\n * still give up at 5 min waiting for response headers.\n *\n * The companion's labelling, translation, and email generation endpoints\n * legitimately exceed 5 min (LLM batch jobs). The companion-side fix is\n * in `engine/saas-backend-lib` (`appConfiguration.runtime.httpServerConfiguration`);\n * this is the matching client-side fix. Both must move together — a\n * 30-min server-side `requestTimeout` is useless if the client gives up\n * at 5 min.\n *\n * 31 minutes (slightly above the 30-min companion server timeout) keeps\n * the abort signal as the canonical authority over total request budget\n * while letting the dispatcher stay out of the way.\n */\nlet _longRunningAgent: Agent | undefined;\nfunction getLongRunningAgent(): Agent {\n if (!_longRunningAgent) {\n _longRunningAgent = new Agent({\n headersTimeout: 31 * 60_000,\n bodyTimeout: 31 * 60_000,\n keepAliveTimeout: 31 * 60_000,\n });\n }\n return _longRunningAgent;\n}\n\nfunction getBaseUrl(options?: CompanionClientOptions): string {\n const port = options?.port ?? COMPANION_DEFAULT_PORT;\n return options?.baseUrl ?? `http://localhost:${port}`;\n}\n\n/** Attempts (including the first) for transient connection failures. */\nconst CONNECTION_RETRY_ATTEMPTS = 4;\n/** Delay between connection-retry attempts (≈1.2s total across 4 attempts). */\nconst CONNECTION_RETRY_DELAY_MS = 400;\n\n/**\n * A transient connection failure — the companion is briefly unreachable, e.g.\n * mid-restart after a source edit (dev watcher → runtime-supervisor). undici's\n * `fetch` throws `TypeError: fetch failed` with the underlying error on `.cause`.\n * We retry ONLY these (never timeouts or HTTP status errors, which are real).\n */\nfunction isTransientConnectionError(err: unknown): boolean {\n if (!(err instanceof Error)) {\n return false;\n }\n const code = (err as { cause?: { code?: string } }).cause?.code;\n return code === 'ECONNREFUSED' || code === 'ECONNRESET' || code === 'ECONNABORTED' || code === 'EAI_AGAIN';\n}\n\nasync function fetchWithTimeout(\n url: string,\n init: RequestInit & { timeoutMs?: number },\n options?: CompanionClientOptions,\n retryPolicy: CompanionRequestRetryPolicy = defaultRetryPolicy(init),\n): Promise<Response> {\n const timeoutMs = init.timeoutMs ?? options?.timeoutMs ?? COMPANION_DEFAULT_TIMEOUT_MS;\n const attempts = retryPolicy === CompanionRequestRetryPolicy.SAFE_READ ? CONNECTION_RETRY_ATTEMPTS : 1;\n\n let lastError: unknown;\n for (let attempt = 1; attempt <= attempts; attempt++) {\n // Fresh signal per attempt — an aborted/consumed AbortSignal can't be reused.\n const signal = AbortSignal.timeout(timeoutMs);\n try {\n // The cast bridges the AMBIENT `RequestInit` this function's signature uses\n // (undici-types via @types/node) and the imported undici's own structurally\n // identical `RequestInit` — the two type packages declare nominal twins\n // (FormData/Blob) that TypeScript refuses to unify across module identities.\n // Runtime-coherent by construction: fetch, Agent and the init all come from\n // the same imported undici (see the import note at the top of this file).\n return await fetch(url, {\n ...init,\n signal,\n dispatcher: getLongRunningAgent(),\n } as unknown as Parameters<typeof fetch>[1]);\n } catch (err) {\n if (err instanceof Error && (err.name === 'AbortError' || err.name === 'TimeoutError')) {\n throw new CompanionRequestTimeoutError(timeoutMs);\n }\n lastError = err;\n // Retry a briefly-unreachable companion (mid-restart); fail fast otherwise.\n if (attempt < attempts && isTransientConnectionError(err)) {\n await new Promise((resolve) => setTimeout(resolve, CONNECTION_RETRY_DELAY_MS));\n continue;\n }\n throw err;\n }\n }\n throw lastError;\n}\n\n/**\n * Methods that need no companion token — the same set the companion's own floor lets through.\n *\n * Kept as the METHOD rather than as a list of mutating routes for the reason the server side gives at\n * `COMPANION_TOKEN_FLOOR_UNGATED_METHODS`: the two ends must agree, and a verb is the only\n * discriminator both can compute without maintaining a copy of the other's route table.\n */\nconst COMPANION_TOKEN_UNGATED_METHODS: ReadonlySet<string> = new Set(['GET', 'HEAD', 'OPTIONS']);\n\n/**\n * Attach the machine-local companion token to a mutating request (P-29b).\n *\n * This is the CLIENT half of one invariant, and it lives HERE — at the single point every CLI\n * companion request funnels through — rather than at each of the eight call sites that build one.\n * Those call sites are four near-identical `resolveCompanionClientOptions` copies plus an inline\n * object literal in `charts-audit.command.ts`; a per-call-site attach would have been five hand-applied\n * copies of a rule, and the sixth would have been written without it.\n *\n * An explicitly-supplied token header WINS: `requestAuthorizedLocalCompanion` sets one, and a caller\n * that has gone to the trouble of naming a credential must not have it silently replaced.\n *\n * A failed read is raised, not swallowed. Sending the request without the token would trade a local\n * error that names the token file for a remote 401 that names the same file one hop further away —\n * and the local one can say WHY (the file is missing, or its mode is too broad), which the server\n * cannot know.\n *\n * **An ABSENT `appRoot` sends nothing and lets the companion refuse**, and that decision was\n * re-examined on 2026-09-10 rather than reversed. Raising locally instead was tried: it makes every\n * mutating call require an application root, which is true of the CLI's real callers and NOT of a\n * request whose only problem is a companion that has restarted — so the refusal has to be legible\n * wherever it comes from, not only in the one branch that can see it early. That is what\n * `describeCompanionFailure` below does, and it covers the stale-token case the local throw could\n * not. The branch is reachable: a `wildo` invocation with no targeted app resolves\n * `{ timeoutMs }` alone (`companion-client-options.utils.ts`).\n */\nasync function resolveCompanionTokenHeader(\n method: string,\n headers: Headers,\n options?: CompanionClientOptions,\n): Promise<void> {\n if (COMPANION_TOKEN_UNGATED_METHODS.has(method.toUpperCase())) return;\n if (options?.appRoot === undefined || headers.has(COMPANION_TOKEN_HEADER)) return;\n headers.set(COMPANION_TOKEN_HEADER, await readCompanionTokenNoFollow(options.appRoot));\n}\n\n/**\n * Turn a companion failure into a sentence that names the CAUSE, not only the status.\n *\n * A `401` from the companion carries `type: AUTHENTICATION`, a severity and a correlation id, and\n * NOTHING else — measured against the running companion on 2026-09-10. `sanitizeErrorForClient`\n * strips the explanatory context before it leaves the process, deliberately: a refusal must not teach\n * an unauthorized caller where the credential lives. The sentence that does explain is in the\n * COMPANION'S log, under the same correlation id.\n *\n * So `Companion API /api/companion/x: 401 Unauthorized` is all a CLI user would otherwise see, and it\n * reads as \"the thing I asked for failed\" rather than \"I sent no credential\" — the defect class this\n * whole change closed for three callers outside the CLI. The client is the one place that knows both\n * halves (which application it targeted, and whether it attached anything), so it is the one place\n * that can say which of the two happened.\n */\nfunction describeCompanionFailure(\n path: string,\n method: string,\n response: Response,\n options?: CompanionClientOptions,\n refusal?: string,\n): string {\n const base = refusal === undefined\n ? `Companion API ${path}: ${response.status} ${response.statusText}`\n : `Companion API ${path}: ${response.status} ${response.statusText} — ${refusal}`;\n if (response.status !== 401) return base;\n /*\n * The floor is VERB-discriminated, so this explanation has to be too — and the same set the attach\n * reads is the one that decides here, twenty lines apart in one file rather than two copies. A 401\n * on a READ is not a missing mutation credential: it comes from somewhere else entirely, and\n * telling the caller to check its companion token would send them to the wrong place.\n */\n if (COMPANION_TOKEN_UNGATED_METHODS.has(method.toUpperCase())) {\n return `${base} — this is a READ, which the companion's local-token floor does not gate, so the `\n + 'refusal is not about the machine-local token.';\n }\n return options?.appRoot === undefined\n ? `${base} — this route mutates and needs the machine-local companion token, and no targeted `\n + 'application was resolved, so none was sent. Run the command from inside a Wildo application.'\n : `${base} — the companion refused the token read from ${options.appRoot}/.wildo-saas/state/`\n + 'companion.token. It mints a fresh one on every boot, so this usually means it restarted; '\n + 'the companion\\'s own log carries the full refusal under the response\\'s correlation id.';\n}\n\n/**\n * The companion's own explanation of a refusal, when the body carries one.\n *\n * A refused REQUEST (a 4xx) answers with the reason the handler wrote — the engine's error envelope\n * allow-lists `message` in `details` for VALIDATION, CONFLICT and RATE_LIMIT. Without reading it, a\n * caller saw `400 Bad Request` and nothing else, and the refusal naming the fix (\"`get` takes `refs` OR\n * `aspectKeys`\") reached nobody (#1459, found on the first live `wildo context elements` run).\n *\n * Every OTHER type loses its `details` to the client sanitizer, so a refusal whose words matter (a 404\n * among them) carries them as `userGuidance` instead: when there is no `details.message`, read its\n * `explanation` and its `resolution`, joined when both are present (#1588). The raw text is right here — the CLI has no label tree to resolve\n * the guidance key against.\n *\n * Best-effort and non-throwing: an empty or non-JSON body simply yields no detail, and the status line\n * stands on its own as before.\n */\nasync function readRefusalDetail(response: Response): Promise<string | undefined> {\n try {\n const body = await response.clone().json() as {\n error?: { details?: { message?: unknown }; userGuidance?: { explanation?: unknown; resolution?: unknown } };\n };\n const text = (value: unknown): string | undefined => (typeof value === 'string' && value.trim().length > 0 ? value : undefined);\n const details = text(body?.error?.details?.message);\n if (details) return details;\n // Both halves when both are present: the resolution is the actionable one (#1588 review F4).\n const guidance = [text(body?.error?.userGuidance?.explanation), text(body?.error?.userGuidance?.resolution)].filter((part): part is string => part !== undefined);\n return guidance.length > 0 ? guidance.join(' ') : undefined;\n } catch {\n return undefined;\n }\n}\n\n/**\n * The companion ANSWERED, with a non-2xx status (#1588): carries that status, so a caller can tell a\n * refusal from a companion that is not there without parsing the message.\n */\nexport class CompanionRefusalError extends Error {\n public constructor(message: string, public readonly status: number) {\n super(message);\n this.name = 'CompanionRefusalError';\n }\n}\n\n/**\n * The creation console's exit code for a failed companion call (#1652): 2 when the companion could not\n * be REACHED (nothing listening, connection reset, or a companion that never started here and so\n * left no token), 1 for everything else — a refusal it answered, a\n * timeout, a malformed request. The distinction is the one an agent branches on: \"fix what you sent\"\n * versus \"start the stack\", and it must not be recovered by parsing an error message.\n */\nexport const COMPANION_UNREACHABLE_EXIT_CODE = 2;\nexport function companionFailureExitCode(error: unknown): number {\n return isTransientConnectionError(error) || error instanceof CompanionTokenAbsentError ? COMPANION_UNREACHABLE_EXIT_CODE : 1;\n}\n\n/**\n * The CLIENT gave up waiting — the companion may still be doing the work. Distinct from\n * {@link CompanionRefusalError} (the companion answered no) and from an unreachable companion, because a\n * caller whose request STARTS work must not report a timeout as a failure: `wildo creation answer` on a\n * playbook round is refused fast when the answer is wrong and otherwise holds the request open for the\n * whole continuation, so a timeout there means the answer was admitted and the run is still going.\n */\nexport class CompanionRequestTimeoutError extends Error {\n public constructor(public readonly timeoutMs: number) {\n super(`Companion API request timed out after ${timeoutMs}ms`);\n this.name = 'CompanionRequestTimeoutError';\n }\n}\n\nexport const CompanionClient = {\n async request(\n path: string,\n init: RequestInit = {},\n options?: CompanionClientOptions,\n retryPolicy: CompanionRequestRetryPolicy = defaultRetryPolicy(init),\n ): Promise<Response> {\n const base = getBaseUrl(options);\n const headers = new Headers(options?.headers);\n new Headers(init.headers).forEach((value, key) => headers.set(key, value));\n await resolveCompanionTokenHeader(init.method ?? 'GET', headers, options);\n return fetchWithTimeout(\n `${base}${path.startsWith('/') ? path : `/${path}`}`,\n { ...init, headers },\n options,\n retryPolicy,\n );\n },\n\n async get<T>(path: string, options?: CompanionClientOptions): Promise<T> {\n const res = await CompanionClient.request(path, {}, options, CompanionRequestRetryPolicy.SAFE_READ);\n if (!res.ok) throw new CompanionRefusalError(describeCompanionFailure(path, 'GET', res, options, await readRefusalDetail(res)), res.status);\n return res.json() as Promise<T>;\n },\n\n async post<T>(\n path: string,\n body?: unknown,\n options?: CompanionClientOptions,\n retryPolicy: CompanionRequestRetryPolicy = CompanionRequestRetryPolicy.NO_RETRY,\n ): Promise<T> {\n const res = await CompanionClient.request(\n path,\n {\n method: 'POST',\n headers: { [WildoHeaderKeys.CONTENT_TYPE]: 'application/json' },\n body: body ? JSON.stringify(body) : undefined,\n },\n options,\n retryPolicy,\n );\n if (!res.ok) throw new CompanionRefusalError(describeCompanionFailure(path, 'POST', res, options, await readRefusalDetail(res)), res.status);\n return res.json() as Promise<T>;\n },\n\n /** Check if companion is reachable. */\n async ping(options?: CompanionClientOptions): Promise<boolean> {\n try {\n const base = getBaseUrl(options);\n const res = await fetchWithTimeout(`${base}/health`, { method: 'GET' }, options, CompanionRequestRetryPolicy.SAFE_READ);\n return res.ok;\n } catch {\n return false;\n }\n },\n};\n\n/**\n * Reads and heads are safe by their transport semantics. Every other method\n * starts no-retry unless a caller declares a stronger semantic contract.\n */\nfunction defaultRetryPolicy(init: RequestInit): CompanionRequestRetryPolicy {\n const method = (init.method ?? 'GET').toUpperCase();\n return method === 'GET' || method === 'HEAD'\n ? CompanionRequestRetryPolicy.SAFE_READ\n : CompanionRequestRetryPolicy.NO_RETRY;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companion-health-hint.utils.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"companion-health-hint.utils.d.ts","sourceRoot":"","sources":["../../../../../../src/services/companion/companion-health-hint.utils.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAE1D;AAED;;;;;;;;GAQG;AACH,wBAAgB,mCAAmC,CACjD,GAAG,EAAE;IAAE,GAAG,EAAE;QAAE,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;KAAE,CAAA;CAAE,EAClD,KAAK,EAAE,OAAO,EACd,IAAI,GAAE,MAA4B,GACjC,IAAI,CAON"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companion-health-hint.utils.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"companion-health-hint.utils.js","sourceRoot":"","sources":["../../../../../../src/services/companion/companion-health-hint.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,MAAM,mBAAmB,GAAG,iFAAiF,CAAC;AAE9G;;;;;;GAMG;AACH,MAAM,UAAU,kBAAkB,CAAC,KAAc;IAC/C,OAAO,KAAK,YAAY,qBAAqB,IAAI,KAAK,CAAC,MAAM,IAAI,GAAG,IAAI,KAAK,CAAC,MAAM,GAAG,GAAG,CAAC;AAC7F,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,mCAAmC,CACjD,GAAkD,EAClD,KAAc,EACd,OAAe,mBAAmB;IAElC,IAAI,kBAAkB,CAAC,KAAK,CAAC;QAAE,OAAO;IACtC,IAAI,KAAK,YAAY,qBAAqB,EAAE,CAAC;QAC3C,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,0CAA0C,KAAK,CAAC,MAAM,6BAA6B,CAAC,CAAC;QACnG,OAAO;IACT,CAAC;IACD,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AACtB,CAAC","sourcesContent":["import { CompanionRefusalError } from './companion-client.service';\n\nconst DEFAULT_HEALTH_HINT = 'Is the application\\'s dev companion running? Check with `wildo context health`.';\n\n/**\n * Whether the companion ANSWERED and refused (a 4xx), so a failure is its answer rather than its absence.\n *\n * Read ONLY from the typed status the client attaches to every HTTP failure (`CompanionRefusalError`).\n * Anything else — a transport failure, a timeout, an unreadable token file — is not an answer, whatever its\n * text contains; guessing from the text could only ever hide the hint wrongly (#1588 review N3, R2).\n */\nexport function isCompanionRefusal(error: unknown): boolean {\n return error instanceof CompanionRefusalError && error.status >= 400 && error.status < 500;\n}\n\n/**\n * The hint that fits how a companion request failed (#1459, #1588), for every CLI verb that reaches it — ONE\n * helper, so no verb re-derives the gate or forgets it:\n *\n * - a 4xx: the companion answered and refused, and its words are the whole answer — no hint;\n * - a 5xx: it answered and FAILED — \"is it running?\" is wrong advice, its own log names the cause;\n * - anything else: it did not answer — the caller's \"is it running?\" line (an address and how to start\n * the stack, when the verb has them).\n */\nexport function logCompanionHealthHintUnlessRefused(\n ctx: { log: { error: (message: string) => void } },\n error: unknown,\n hint: string = DEFAULT_HEALTH_HINT,\n): void {\n if (isCompanionRefusal(error)) return;\n if (error instanceof CompanionRefusalError) {\n ctx.log.error(`The dev companion answered but failed (${error.status}); its log names the cause.`);\n return;\n }\n ctx.log.error(hint);\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companion-lifecycle.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"companion-lifecycle.service.d.ts","sourceRoot":"","sources":["../../../../../../src/services/companion/companion-lifecycle.service.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AA8BtD,eAAO,MAAM,kBAAkB;oBACb,MAAM,OAAO,MAAM,GAAG,OAAO;cAYnC,MAAM,aAAa,MAAM,GAAG,OAAO;yBAwBxB,MAAM,GAAG,eAAe;IAc7C,uDAAuD;kBACzC,MAAM,aAAa,MAAM,GAAG,IAAI;CAK/C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companion-lifecycle.service.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"companion-lifecycle.service.js","sourceRoot":"","sources":["../../../../../../src/services/companion/companion-lifecycle.service.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AACpF,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAG/B,OAAO,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAC;AACnG,OAAO,EAAE,gBAAgB,EAAE,MAAM,2DAA2D,CAAC;AAC7F,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAE1E,SAAS,mBAAmB,CAAC,QAAiB;IAC5C,MAAM,gBAAgB,GAAG,QAAQ,IAAI,mBAAmB,CAAC,WAAW,EAAE,CAAC;IACvE,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACtB,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;IACpD,CAAC;IACD,OAAO,gBAAgB,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;AAC7D,CAAC;AAED,SAAS,cAAc,CAAC,QAAiB;IACvC,MAAM,OAAO,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC;IAC9C,MAAM,QAAQ,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAClC,IAAI,CAAC,UAAU,CAAC,QAAQ,CAA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Ac,CAAC,QAAQ,CAAC,CAAC;QACzB,aAAa,CAAC,OAAO,EAAE,MAAM,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC,CAAC;IAC/C,CAAC;CACF,CAAC","sourcesContent":["/**\n * CompanionLifecycleService — start/stop/status for companion process.\n *\n * IMPLEMENTATION: PARTIAL\n * - DONE: stop(), getStatus(), writePid(), PID file handling\n * - DEFERRED: start() — companion HTTP server does not exist yet.\n * When ready: spawn the companion binary, write PID via writePid().\n */\n\nimport { existsSync, mkdirSync, readFileSync, writeFileSync, unlinkSync } from 'fs';\nimport { dirname } from 'path';\nimport type { CompanionStatus } from './companion.schemas';\nimport type { Logger } from '~wildo-cli/kernel/types';\nimport { EnvironmentRegistry } from '~wildo-cli/services/environment/environment-registry.service';\nimport { EnvironmentPaths } from '~wildo-cli/services/environment/environment-paths.service';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\n\nfunction getCompanionPidFile(saasRoot?: string): string {\n const resolvedSaasRoot = saasRoot ?? EnvironmentRegistry.getSaasRoot();\n if (!resolvedSaasRoot) {\n throw new Error('No targeted app root detected.');\n }\n return EnvironmentPaths.companionPidPath(resolvedSaasRoot);\n}\n\nfunction ensureStateDir(saasRoot?: string): void {\n const pidFile = getCompanionPidFile(saasRoot);\n const stateDir = dirname(pidFile);\n if (!existsSync(stateDir)) {\n mkdirSync(stateDir, { recursive: true });\n }\n}\n\nfunction isPidRunning(pid: number): boolean {\n try {\n process.kill(pid, 0);\n return true;\n } catch {\n return false;\n }\n}\n\nexport const CompanionLifecycle = {\n start(saasRoot: string, log: Logger): boolean {\n ensureStateDir(saasRoot);\n const existing = CompanionLifecycle.getStatus(saasRoot);\n if (existing.running) {\n log.info(`Companion already running (PID ${existing.pid})`);\n return true;\n }\n // TODO: spawn companion process when command/config is defined\n log.warn('Companion start not yet implemented — process command TBD');\n return false;\n },\n\n stop(log: Logger, saasRoot?: string): boolean {\n const pidFile = getCompanionPidFile(saasRoot);\n const status = CompanionLifecycle.getStatus(saasRoot);\n if (!status.running || status.pid === undefined) {\n log.info('Companion is not running');\n if (existsSync(pidFile)) unlinkSync(pidFile);\n return true;\n }\n try {\n process.kill(status.pid, 'SIGTERM');\n unlinkSync(pidFile);\n log.success('Companion stopped');\n return true;\n } catch (err) {\n if (!isPidRunning(status.pid)) {\n unlinkSync(pidFile);\n log.info('Companion was not running (stale PID file removed)');\n return true;\n }\n log.error(`Failed to stop companion: ${ErrorUtils.extractErrorMessage(err)}`);\n return false;\n }\n },\n\n getStatus(saasRoot?: string): CompanionStatus {\n const pidFile = getCompanionPidFile(saasRoot);\n if (!existsSync(pidFile)) {\n return { running: false };\n }\n try {\n const pid = parseInt(readFileSync(pidFile, 'utf-8').trim(), 10);\n if (Number.isNaN(pid)) return { running: false };\n return { running: isPidRunning(pid), pid };\n } catch {\n return { running: false };\n }\n },\n\n /** Write PID file (used when spawn is implemented). */\n writePid(pid: number, saasRoot?: string): void {\n const pidFile = getCompanionPidFile(saasRoot);\n ensureStateDir(saasRoot);\n writeFileSync(pidFile, String(pid), 'utf-8');\n },\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companion-local-token.utils.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"companion-local-token.utils.d.ts","sourceRoot":"","sources":["../../../../../../src/services/companion/companion-local-token.utils.ts"],"names":[],"mappings":"AAqBA;;;;;;;GAOG;AAEH,eAAO,MAAM,sBAAsB,4BAA4B,CAAC;AAKhE,yEAAyE;AACzE,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAEjE;AAED;;;;;;GAMG;AACH;;;;;GAKG;AACH,qBAAa,yBAA0B,SAAQ,KAAK;aACf,SAAS,EAAE,MAAM;gBAAjB,SAAS,EAAE,MAAM;CAIrD;AAED,wBAAsB,0BAA0B,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAkBjF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companion-local-token.utils.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"companion-local-token.utils.js","sourceRoot":"","sources":["../../../../../../src/services/companion/companion-local-token.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE;;;;;;;;;;;GAWG;AAEH,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;AAEpD;;;;;;;GAOG;AACH,kGAAkG;AAClG,MAAM,CAAC,MAAM,sBAAsB,GAAG,yBAAyB,CAAC;AAEhE,wGAAwG;AACxG,MAAM,uBAAuB,GAAG,gBAAgB,CAAC;AAEjD,yEAAyE;AACzE,MAAM,UAAU,yBAAyB,CAAC,OAAe;IACvD,OAAO,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,SAAS,EAAE,yBAAyB,CAAC,CAAC;AAC9E,CAAC;AAED;;;;;;GAMG;AACH;;;;;GAKG;AACH,MAAM,OAAO,yBAA0B,SAAQ,KAAK;IACf;IAAnC,YAAmC,SAAiB;QAClD,KAAK,CAAC,yBAAyB,SAAS,gGAAgG,CAAC,CAAC;QADzG,cAAS,GAAT,SAAS,CAAQ;QAElD,IAAI,CAAC,IAAI,GAAG,2BAA2B,CAAC;IAC1C,CAAC;CACF;AAED,MAAM,CAAC,KAAK,UAAU,0BAA0B,CAAC,OAAe;IAC9D,MAAM,SAAS,GAAG,yBAAyB,CAAC,OAAO,CAAC,CAAC;IACrD,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,CAAC,KAA4B,EAAE,EAAE;QAC7E,IAAI,KAAK,EAAE,IAAI,KAAK,QAAQ;YAAE,MAAM,IAAI,yBAAyB,CAAC,SAAS,CAAC,CAAC;QAC7E,MAAM,KAAK,CAAC;IACd,CAAC,CAAC,CAAC;IACH,IAAI,QAAQ,CAAC,cAAc,EAAE,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE;QAAE,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;IACrH,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC;QAAE,MAAM,IAAI,KAAK,CAAC,sEAAsE,CAAC,CAAC;IAC3J,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,EAAE,SAAS,CAAC,QAAQ,GAAG,CAAC,SAAS,CAAC,UAAU,IAAI,CAAC,CAAC,CAAC,CAAC;IACvF,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,IAAI,EAAE,CAAC;QACnC,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,MAAM,CAAC,GAAG,KAAK,QAAQ,CAAC,GAAG,IAAI,MAAM,CAAC,GAAG,KAAK,QAAQ,CAAC,GAAG;YAAE,MAAM,IAAI,KAAK,CAAC,kDAAkD,CAAC,CAAC;QACxJ,MAAM,KAAK,GAAG,CAAC,MAAM,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;QACrD,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,KAAK,CAAC;YAAE,MAAM,IAAI,KAAK,CAAC,wDAAwD,CAAC,CAAC;QACpH,OAAO,KAAK,CAAC;IACf,CAAC;YAAS,CAAC;QACT,MAAM,MAAM,CAAC,KAAK,EAAE,CAAC;IACvB,CAAC;AACH,CAAC","sourcesContent":["import { constants } from 'node:fs';\nimport { lstat, open } from 'node:fs/promises';\nimport { join } from 'node:path';\n\nimport { resolveAppLayout } from '@wildo-ai/platform-config-lib';\n\n/**\n * The machine-local companion credential, and the hardened read of it.\n *\n * Extracted from `local-companion-authority.service.ts` so that BOTH senders can share one reader:\n * that service's `requestAuthorizedLocalCompanion`, and `CompanionClient.request`, which now attaches\n * the token to every mutating companion call. It cannot live in either of them — the authority service\n * imports `CompanionClient`, so putting the reader there and importing it back would close a cycle.\n *\n * There is exactly one reader on purpose. The alternative was a second copy inside the client, and a\n * second copy of a permission-checked, no-follow, inode-stable read is precisely where the checks\n * quietly diverge until one caller is doing an ordinary `readFile`.\n */\n\nconst COMPANION_TOKEN_FILE_NAME = 'companion.token';\n\n/**\n * The header the companion's own floor reads.\n *\n * Its SERVER twin is `COMPANION_TOKEN_HEADER` in\n * `platform/factory/wildo-dev-companion/src/core/auth/companion-auth-floor.companion.service.ts`.\n * Move one, move both — the CLI and the companion share no package, so this string is a wire\n * contract between two processes rather than a value either of them owns.\n */\n// semantic-literal-boundary: private companion HTTP protocol translated only by this CLI adapter.\nexport const COMPANION_TOKEN_HEADER = 'x-wildo-companion-token';\n\n/** The shape the companion mints (`randomBytes(32).toString('hex')`) — anything else is not a token. */\nconst COMPANION_TOKEN_PATTERN = /^[0-9a-f]{64}$/;\n\n/** Where the companion writes the token for a given application root. */\nexport function resolveCompanionTokenPath(appRoot: string): string {\n return join(resolveAppLayout(appRoot).stateHome, COMPANION_TOKEN_FILE_NAME);\n}\n\n/**\n * Read the token without ever following a symlink, and without trusting the path between `lstat` and\n * `open`: the descriptor's own `dev`/`ino` are compared against what was inspected, so a file swapped\n * in that window is refused rather than read. The 0600 check is the client half of the companion's\n * own `chmod` — a token another user can read is not a credential, and the honest response is to stop\n * rather than to send it.\n */\n/**\n * No companion token exists for this application: its companion has never started here. The companion\n * writes the token at startup and leaves it in place when it stops, so an ABSENT token is the \"start\n * the stack\" case rather than a broken credential — and the creation console exits 2 on it, as it does\n * on a companion that refuses the connection (#1652).\n */\nexport class CompanionTokenAbsentError extends Error {\n public constructor(public readonly tokenPath: string) {\n super(`No companion token at ${tokenPath}: the dev companion has never started for this application. Start it with \\`wildo local dev\\`.`);\n this.name = 'CompanionTokenAbsentError';\n }\n}\n\nexport async function readCompanionTokenNoFollow(appRoot: string): Promise<string> {\n const tokenPath = resolveCompanionTokenPath(appRoot);\n const observed = await lstat(tokenPath).catch((error: NodeJS.ErrnoException) => {\n if (error?.code === 'ENOENT') throw new CompanionTokenAbsentError(tokenPath);\n throw error;\n });\n if (observed.isSymbolicLink() || !observed.isFile()) throw new Error('Companion token is not a regular local file.');\n if (process.platform !== 'win32' && (observed.mode & 0o077) !== 0) throw new Error('Companion token permissions are broader than the required mode 0600.');\n const handle = await open(tokenPath, constants.O_RDONLY | (constants.O_NOFOLLOW ?? 0));\n try {\n const opened = await handle.stat();\n if (!opened.isFile() || opened.dev !== observed.dev || opened.ino !== observed.ino) throw new Error('Companion token file changed while being opened.');\n const token = (await handle.readFile('utf8')).trim();\n if (!COMPANION_TOKEN_PATTERN.test(token)) throw new Error('Companion token has an invalid local credential shape.');\n return token;\n } finally {\n await handle.close();\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companion.schemas.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"companion.schemas.d.ts","sourceRoot":"","sources":["../../../../../../src/services/companion/companion.schemas.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,sDAAsD;AACtD,eAAO,MAAM,sBAAsB,OAAO,CAAC;AAE3C,mCAAmC;AACnC,eAAO,MAAM,4BAA4B,QAAS,CAAC;AAEnD,MAAM,WAAW,sBAAsB;IACrC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,mEAAmE;IACnE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sEAAsE;IACtE,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAC3C;;;;;;;;;;OAUG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;;;;;GAOG;AACH,oBAAY,2BAA2B;IACrC,mFAAmF;IACnF,SAAS,cAAc;IACvB,kFAAkF;IAClF,QAAQ,aAAa;CACtB"}
|