@wildo-ai/dev-companion 1.1.8 → 1.1.10
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/bin/companion-supervisor.d.mts +33 -0
- package/bin/companion-supervisor.mjs +174 -0
- package/bin/wildo-dev-companion-supervised.mjs +16 -0
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/brand/models/accepted-brand-mark.models.d.ts +46 -0
- package/dist/esm/brand/models/accepted-brand-mark.models.d.ts.map +1 -0
- package/dist/esm/brand/models/accepted-brand-mark.models.js +89 -0
- package/dist/esm/brand/models/accepted-brand-mark.models.js.map +1 -0
- package/dist/esm/brand/models/logo-creative-brief.schemas.d.ts.map +1 -1
- package/dist/esm/brand/models/logo-creative-brief.schemas.js.map +1 -1
- package/dist/esm/brand/models/logo-generation.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/brand/models/logo-generation.actors-system.definitions.js +8 -2
- package/dist/esm/brand/models/logo-generation.actors-system.definitions.js.map +1 -1
- package/dist/esm/brand/models/logo-judge.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/brand/models/logo-judge.actors-system.definitions.js +8 -2
- package/dist/esm/brand/models/logo-judge.actors-system.definitions.js.map +1 -1
- package/dist/esm/brand/models/logo-judge.schemas.d.ts +5 -3
- package/dist/esm/brand/models/logo-judge.schemas.d.ts.map +1 -1
- package/dist/esm/brand/models/logo-judge.schemas.js +5 -3
- package/dist/esm/brand/models/logo-judge.schemas.js.map +1 -1
- package/dist/esm/brand/services/brand-accept.companion.service.d.ts +1 -1
- package/dist/esm/brand/services/brand-accept.companion.service.d.ts.map +1 -1
- package/dist/esm/brand/services/brand-accept.companion.service.js +9 -11
- package/dist/esm/brand/services/brand-accept.companion.service.js.map +1 -1
- package/dist/esm/brand/services/brand-propagation.companion.utils.d.ts.map +1 -1
- package/dist/esm/brand/services/brand-propagation.companion.utils.js.map +1 -1
- package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts.map +1 -1
- package/dist/esm/brand/services/logo-deliberation.companion.service.js +10 -7
- package/dist/esm/brand/services/logo-deliberation.companion.service.js.map +1 -1
- package/dist/esm/brand/services/logo-generation.companion.service.d.ts.map +1 -1
- package/dist/esm/brand/services/logo-generation.companion.service.js.map +1 -1
- package/dist/esm/brand/utils/derived-brand-assets.d.ts.map +1 -1
- package/dist/esm/brand/utils/derived-brand-assets.js.map +1 -1
- package/dist/esm/brand/utils/stage-brand-candidate.d.ts.map +1 -1
- package/dist/esm/brand/utils/stage-brand-candidate.js.map +1 -1
- package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts +21 -0
- package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js +33 -1
- package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js.map +1 -1
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +130 -2
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js +176 -1
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
- package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.d.ts +52 -0
- package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.d.ts.map +1 -0
- package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.js +206 -0
- package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.js.map +1 -0
- package/dist/esm/claude-cli/models/coding-session-frame-retention.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/coding-session-frame-retention.js.map +1 -1
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts +38 -3
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js +48 -4
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js.map +1 -1
- package/dist/esm/claude-cli/models/parked-question-answer.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/parked-question-answer.models.js.map +1 -1
- package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js.map +1 -1
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts +165 -8
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js +536 -28
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.d.ts +53 -0
- package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.d.ts.map +1 -0
- package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.js +193 -0
- package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.js.map +1 -0
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +164 -6
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js +468 -41
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/git-change-set.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.js.map +1 -1
- package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts +15 -2
- package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/research-evidence-store.companion.js +36 -4
- package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -1
- package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.d.ts.map +1 -1
- package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.js.map +1 -1
- package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.d.ts.map +1 -1
- package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js.map +1 -1
- package/dist/esm/companion-api/companion-api.schemas.d.ts +360 -339
- package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
- package/dist/esm/companion-api/companion-api.schemas.js +13 -2
- package/dist/esm/companion-api/companion-api.schemas.js.map +1 -1
- package/dist/esm/companion-api/companion-error-guidance.models.d.ts.map +1 -1
- package/dist/esm/companion-api/companion-error-guidance.models.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion-file-route-confinement.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion-file-route-confinement.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion-token-floor.policy.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion-trace-exemptions.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion-trace-exemptions.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion.controller.d.ts +88 -13
- package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion.controller.js +448 -51
- package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
- package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts.map +1 -1
- package/dist/esm/core/auth/companion-auth-floor.companion.service.js.map +1 -1
- package/dist/esm/core/catalogs/catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/catalog-context.factory.models.d.ts.map +1 -1
- package/dist/esm/core/catalogs/catalog-context.factory.models.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/structured-data-catalog-audit.service.d.ts.map +1 -1
- package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js.map +1 -1
- package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.d.ts.map +1 -1
- package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.js.map +1 -1
- package/dist/esm/core/config/primary-language.companion.utils.d.ts +5 -4
- package/dist/esm/core/config/primary-language.companion.utils.d.ts.map +1 -1
- package/dist/esm/core/config/primary-language.companion.utils.js +5 -4
- package/dist/esm/core/config/primary-language.companion.utils.js.map +1 -1
- package/dist/esm/core/context/application-module-generations.companion.d.ts +103 -0
- package/dist/esm/core/context/application-module-generations.companion.d.ts.map +1 -0
- package/dist/esm/core/context/application-module-generations.companion.js +313 -0
- package/dist/esm/core/context/application-module-generations.companion.js.map +1 -0
- package/dist/esm/core/context/companion-context.d.ts.map +1 -1
- package/dist/esm/core/context/companion-context.js.map +1 -1
- package/dist/esm/core/context/companion-package-loaders.companion.d.ts +19 -19
- package/dist/esm/core/context/companion-package-loaders.companion.d.ts.map +1 -1
- package/dist/esm/core/context/companion-package-loaders.companion.js +52 -40
- package/dist/esm/core/context/companion-package-loaders.companion.js.map +1 -1
- package/dist/esm/core/context/draft-family-values.companion.d.ts.map +1 -1
- package/dist/esm/core/context/draft-family-values.companion.js.map +1 -1
- package/dist/esm/core/inject/models/container.d.ts.map +1 -1
- package/dist/esm/core/inject/models/container.js +4 -0
- package/dist/esm/core/inject/models/container.js.map +1 -1
- package/dist/esm/core/inject/models/service-types.d.ts +4 -0
- package/dist/esm/core/inject/models/service-types.d.ts.map +1 -1
- package/dist/esm/core/inject/models/service-types.js +4 -0
- package/dist/esm/core/inject/models/service-types.js.map +1 -1
- package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.d.ts.map +1 -1
- package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js.map +1 -1
- package/dist/esm/core/introspection/models/companion-introspection.models.d.ts.map +1 -1
- package/dist/esm/core/introspection/models/companion-introspection.models.js.map +1 -1
- package/dist/esm/core/introspection/resources/application-secrets.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/application-secrets.companion.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts +15 -1
- package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-console-answer.companion.js +38 -3
- package/dist/esm/core/introspection/resources/creation-console-answer.companion.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts +21 -0
- package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-console-projection.companion.js +71 -25
- package/dist/esm/core/introspection/resources/creation-console-projection.companion.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts +10 -0
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.js +58 -2
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts +0 -28
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js +197 -20
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js +49 -7
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts +51 -0
- package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts.map +1 -0
- package/dist/esm/core/introspection/resources/launch-blockers.companion.js +124 -0
- package/dist/esm/core/introspection/resources/launch-blockers.companion.js.map +1 -0
- package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts +14 -3
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.js +91 -5
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts +186 -11
- package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js +437 -35
- package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/introspection-input-closure.companion.d.ts +44 -0
- package/dist/esm/core/introspection/services/introspection-input-closure.companion.d.ts.map +1 -0
- package/dist/esm/core/introspection/services/introspection-input-closure.companion.js +104 -0
- package/dist/esm/core/introspection/services/introspection-input-closure.companion.js.map +1 -0
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts +123 -24
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js +281 -54
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts +22 -6
- package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js +38 -7
- package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/translation-placement.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts +9 -0
- package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js +29 -9
- package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/assertions.behavior.js +10 -10
- package/dist/esm/core/introspection/subprocess/assertions.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/asset-noop-hooks.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/asset-noop-hooks.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/asset-noop-register.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/asset-noop-register.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js +20 -19
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-child.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-child.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts +7 -1
- package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js +13 -4
- package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js +9 -1
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/market-context-block.builder.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/market-context-block.builder.js +2 -1
- package/dist/esm/core/introspection/subprocess/market-context-block.builder.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts +4 -3
- package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/market-prompt-renderer.js +14 -8
- package/dist/esm/core/introspection/subprocess/market-prompt-renderer.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js +17 -4
- package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/risk-signals.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/risk-signals.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js +7 -0
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/specification-elements.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/specification-elements.behavior.js.map +1 -1
- package/dist/esm/core/introspection/workspace-element-index.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/workspace-element-index.companion.js.map +1 -1
- package/dist/esm/core/introspection/workspace-elements.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/workspace-elements.companion.js.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.companion.service.d.ts.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.companion.service.js.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.models.d.ts.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.models.js.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts +4 -4
- package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.schemas.js.map +1 -1
- package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts +35 -0
- package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/application-runtime-liveness.companion.js +74 -0
- package/dist/esm/core/runtime/application-runtime-liveness.companion.js.map +1 -1
- package/dist/esm/core/runtime/companion-endpoint-record.d.ts.map +1 -1
- package/dist/esm/core/runtime/companion-endpoint-record.js.map +1 -1
- package/dist/esm/core/runtime/companion-env-file.d.ts +39 -9
- package/dist/esm/core/runtime/companion-env-file.d.ts.map +1 -1
- package/dist/esm/core/runtime/companion-env-file.js +75 -16
- package/dist/esm/core/runtime/companion-env-file.js.map +1 -1
- package/dist/esm/core/runtime/companion-self-restart.companion.d.ts +38 -0
- package/dist/esm/core/runtime/companion-self-restart.companion.d.ts.map +1 -0
- package/dist/esm/core/runtime/companion-self-restart.companion.js +110 -0
- package/dist/esm/core/runtime/companion-self-restart.companion.js.map +1 -0
- package/dist/esm/core/runtime/companion-startup-assembly.d.ts.map +1 -1
- package/dist/esm/core/runtime/companion-startup-assembly.js +7 -1
- package/dist/esm/core/runtime/companion-startup-assembly.js.map +1 -1
- package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts +12 -0
- package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/dev-compile-quiet.companion.js +15 -1
- package/dist/esm/core/runtime/dev-compile-quiet.companion.js.map +1 -1
- package/dist/esm/core/runtime/event-loop-stall-monitor.companion.d.ts +83 -0
- package/dist/esm/core/runtime/event-loop-stall-monitor.companion.d.ts.map +1 -0
- package/dist/esm/core/runtime/event-loop-stall-monitor.companion.js +150 -0
- package/dist/esm/core/runtime/event-loop-stall-monitor.companion.js.map +1 -0
- package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.js.map +1 -1
- package/dist/esm/core/runtime/models/companion-runtime.models.d.ts.map +1 -1
- package/dist/esm/core/runtime/models/companion-runtime.models.js.map +1 -1
- package/dist/esm/core/runtime/services/file-storage-initialization.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/services/file-storage-initialization.companion.js.map +1 -1
- package/dist/esm/core/runtime/services/start-companion-application.service.d.ts +30 -4
- package/dist/esm/core/runtime/services/start-companion-application.service.d.ts.map +1 -1
- package/dist/esm/core/runtime/services/start-companion-application.service.js +78 -12
- package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
- package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.js.map +1 -1
- package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/utils/companion-platform-config.companion.js.map +1 -1
- package/dist/esm/core/runtime/utils/companion-workbench-topology.d.ts.map +1 -1
- package/dist/esm/core/runtime/utils/companion-workbench-topology.js.map +1 -1
- package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.js.map +1 -1
- package/dist/esm/core/specifications/chart-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/chart-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/composite-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/composite-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts.map +1 -1
- package/dist/esm/core/specifications/cross-registry-rendering.shared.js.map +1 -1
- package/dist/esm/core/specifications/execution-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/execution-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/feature-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/feature-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/frontend-component-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/frontend-component-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/full-custom-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/full-custom-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/guidance-flow-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/guidance-flow-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/milestone-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/milestone-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/non-composite-view-specification-context.shared.d.ts.map +1 -1
- package/dist/esm/core/specifications/non-composite-view-specification-context.shared.js.map +1 -1
- package/dist/esm/core/specifications/onboarding-element-rendering.shared.d.ts.map +1 -1
- package/dist/esm/core/specifications/onboarding-element-rendering.shared.js.map +1 -1
- package/dist/esm/core/specifications/onboarding-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/onboarding-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/product-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/product-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/resource-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/resource-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/role-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/role-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.js.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.models.d.ts.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.models.js.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.shared.d.ts.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.shared.js.map +1 -1
- package/dist/esm/core/specifications/system-email-template-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/system-email-template-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/validate-resource-field-completeness.d.ts.map +1 -1
- package/dist/esm/core/specifications/validate-resource-field-completeness.js.map +1 -1
- package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts.map +1 -1
- package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.models.d.ts.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.models.js.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.service.d.ts.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.service.js.map +1 -1
- package/dist/esm/core/utils/atomic-write.utils.d.ts.map +1 -1
- package/dist/esm/core/utils/atomic-write.utils.js.map +1 -1
- package/dist/esm/core/utils/bounded-concurrency.utils.d.ts +17 -0
- package/dist/esm/core/utils/bounded-concurrency.utils.d.ts.map +1 -0
- package/dist/esm/core/utils/bounded-concurrency.utils.js +37 -0
- package/dist/esm/core/utils/bounded-concurrency.utils.js.map +1 -0
- package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts +10 -1
- package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts.map +1 -1
- package/dist/esm/core/utils/derived-input-signature.companion.utils.js +9 -2
- package/dist/esm/core/utils/derived-input-signature.companion.utils.js.map +1 -1
- package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js +2 -0
- package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js.map +1 -1
- package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts.map +1 -1
- package/dist/esm/creation-conversation/creation-conversation.function-tools.js +69 -7
- package/dist/esm/creation-conversation/creation-conversation.function-tools.js.map +1 -1
- package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts +0 -17
- package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js +17 -12
- package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js.map +1 -1
- package/dist/esm/deliberations/services/deliberation.companion.service.d.ts +10 -5
- package/dist/esm/deliberations/services/deliberation.companion.service.d.ts.map +1 -1
- package/dist/esm/deliberations/services/deliberation.companion.service.js +31 -21
- package/dist/esm/deliberations/services/deliberation.companion.service.js.map +1 -1
- package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts.map +1 -1
- package/dist/esm/deliberations/services/structured-deliberation.companion.service.js.map +1 -1
- package/dist/esm/deliberations/utils/expert-agent-registration.d.ts +56 -0
- package/dist/esm/deliberations/utils/expert-agent-registration.d.ts.map +1 -0
- package/dist/esm/deliberations/utils/expert-agent-registration.js +74 -0
- package/dist/esm/deliberations/utils/expert-agent-registration.js.map +1 -0
- package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts +9 -5
- package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts.map +1 -1
- package/dist/esm/deliberations/utils/load-committed-expert-agents.js +11 -15
- package/dist/esm/deliberations/utils/load-committed-expert-agents.js.map +1 -1
- package/dist/esm/email/models/email-template.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/email/models/email-template.actors-system.definitions.js.map +1 -1
- package/dist/esm/email/services/email-spec-context-loader.companion.service.d.ts.map +1 -1
- package/dist/esm/email/services/email-spec-context-loader.companion.service.js.map +1 -1
- package/dist/esm/email/services/email-template.companion.service.d.ts +6 -1
- package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
- package/dist/esm/email/services/email-template.companion.service.js +4 -1
- package/dist/esm/email/services/email-template.companion.service.js.map +1 -1
- package/dist/esm/email/utils/email-labels-file-source.utils.d.ts.map +1 -1
- package/dist/esm/email/utils/email-labels-file-source.utils.js.map +1 -1
- package/dist/esm/email/utils/email-labels-tree.utils.d.ts.map +1 -1
- package/dist/esm/email/utils/email-labels-tree.utils.js.map +1 -1
- package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts.map +1 -1
- package/dist/esm/email/utils/email-template-fs-discovery.utils.js.map +1 -1
- package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts.map +1 -1
- package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js.map +1 -1
- package/dist/esm/executions/services/companion-executions.companion.service.d.ts.map +1 -1
- package/dist/esm/executions/services/companion-executions.companion.service.js.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js +8 -2
- package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js +8 -2
- package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts +5 -3
- package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.js +5 -3
- package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.js.map +1 -1
- package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts +17 -1
- package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts.map +1 -1
- package/dist/esm/expert-personas/services/expert-persona.companion.service.js +51 -14
- package/dist/esm/expert-personas/services/expert-persona.companion.service.js.map +1 -1
- package/dist/esm/expert-personas/services/persona-source-ownership.d.ts.map +1 -1
- package/dist/esm/expert-personas/services/persona-source-ownership.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_announcement.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_announcement.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_banner.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_banner.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_card.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_card.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_checklist.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_checklist.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_checklist_item.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_modal.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_modal.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_onboarding_view.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_onboarding_view.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_survey.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_survey.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_tooltip.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_tooltip.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_tour.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_tour.en.js.map +1 -1
- package/dist/esm/i18n/components/progression_achievement_badge.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/progression_achievement_badge.en.js.map +1 -1
- package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/progression_milestone_tracker.en.js.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts +1 -0
- package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-conversation.en.js +55 -1
- package/dist/esm/i18n/composite_views/app.creation-conversation.en.js.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-dossier.en.d.ts.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-dossier.en.js.map +1 -1
- package/dist/esm/i18n/composite_views/app.domain-model.en.d.ts.map +1 -1
- package/dist/esm/i18n/composite_views/app.domain-model.en.js.map +1 -1
- package/dist/esm/i18n/control-plane-label-blocks.d.ts +344 -0
- package/dist/esm/i18n/control-plane-label-blocks.d.ts.map +1 -0
- package/dist/esm/i18n/control-plane-label-blocks.js +115 -0
- package/dist/esm/i18n/control-plane-label-blocks.js.map +1 -0
- package/dist/esm/i18n/errors_guidance/errors-guidance.en.d.ts.map +1 -1
- package/dist/esm/i18n/errors_guidance/errors-guidance.en.js.map +1 -1
- package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts.map +1 -1
- package/dist/esm/i18n/errors_messages/errors-messages.en.js.map +1 -1
- package/dist/esm/i18n/index.d.ts.map +1 -1
- package/dist/esm/i18n/index.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts +410 -0
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js +13 -145
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts +65 -0
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js +4 -37
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts +65 -0
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js +4 -37
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchAspects.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchAspects.en.js +11 -0
- package/dist/esm/i18n/resources/workbenchAspects.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts +5 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js +5 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts +1 -1
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js +2 -1
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchDomainResources.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchDomainResources.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts +56 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.js +15 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts +553 -0
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +187 -5
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchTraceSessions.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/application-creation.en.d.ts +60 -0
- package/dist/esm/i18n/system_enums/application-creation.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/application-creation.en.js +66 -1
- package/dist/esm/i18n/system_enums/application-creation.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/compliance-programme.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/flows-actors.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/flows-actors.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/localization.en.d.ts +82 -0
- package/dist/esm/i18n/system_enums/localization.en.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/localization.en.js +82 -0
- package/dist/esm/i18n/system_enums/localization.en.js.map +1 -0
- package/dist/esm/i18n/system_enums/market.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/market.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/processor-register.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/processor-register.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/risk-register.en.d.ts +1 -0
- package/dist/esm/i18n/system_enums/risk-register.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/risk-register.en.js +1 -0
- package/dist/esm/i18n/system_enums/risk-register.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-build.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-build.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts +1 -0
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.js +2 -0
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts +10 -0
- package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-dossier.en.js +13 -0
- package/dist/esm/i18n/system_enums/workbench-dossier.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-playbook-run.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-playbook-run.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-secrets.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-secrets.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js.map +1 -1
- package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.js.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling-progress.models.d.ts +43 -0
- package/dist/esm/i18n-labelling/models/labelling-progress.models.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/models/labelling-progress.models.js +34 -0
- package/dist/esm/i18n-labelling/models/labelling-progress.models.js.map +1 -0
- package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts +29 -2
- package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling-unit.models.js +17 -0
- package/dist/esm/i18n-labelling/models/labelling-unit.models.js.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js.map +1 -1
- package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts +5 -0
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js +44 -4
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts +8 -0
- package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js +97 -56
- package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts +18 -0
- package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js +269 -153
- package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/email-template-translation.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/email-template-translation.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/guidance-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/label-file-source.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/label-file-source.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.d.ts +41 -0
- package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.js +47 -0
- package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.js.map +1 -0
- package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts +12 -0
- package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js +10 -2
- package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts +8 -1
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js +9 -2
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.d.ts +89 -0
- package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.js +229 -0
- package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.js.map +1 -0
- package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts +13 -7
- package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js +13 -7
- package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.js.map +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/market/services/market-generation.companion.service.d.ts.map +1 -1
- package/dist/esm/market/services/market-generation.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js +3 -3
- package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/application-line-catalog.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/application-line-catalog.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts +85 -1
- package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/build-task-rearm.models.js +101 -0
- package/dist/esm/meta-workflows/models/build-task-rearm.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/carried-verification-failure.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/creation-intervention.models.d.ts +308 -0
- package/dist/esm/meta-workflows/models/creation-intervention.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/creation-intervention.models.js +365 -0
- package/dist/esm/meta-workflows/models/creation-intervention.models.js.map +1 -0
- package/dist/esm/meta-workflows/models/generation-step-progress.models.d.ts +61 -0
- package/dist/esm/meta-workflows/models/generation-step-progress.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/generation-step-progress.models.js +58 -0
- package/dist/esm/meta-workflows/models/generation-step-progress.models.js.map +1 -0
- package/dist/esm/meta-workflows/models/human-decision-settler.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/human-decision-settler.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts +10 -6
- package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js +11 -6
- package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts +3 -0
- package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js +8 -1
- package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts +26 -0
- package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-run-record.models.js +66 -10
- package/dist/esm/meta-workflows/models/playbook-run-record.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.d.ts +36 -0
- package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.js +97 -0
- package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.js.map +1 -0
- package/dist/esm/meta-workflows/models/website-copy-review.models.d.ts +124 -0
- package/dist/esm/meta-workflows/models/website-copy-review.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/website-copy-review.models.js +74 -0
- package/dist/esm/meta-workflows/models/website-copy-review.models.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts +13 -0
- package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.js +33 -0
- package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.d.ts +145 -0
- package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.js +179 -0
- package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +672 -24
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js +1887 -74
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts +232 -14
- package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js +407 -55
- package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts +158 -3
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js +446 -18
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts +130 -2
- package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js +266 -10
- package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.d.ts +122 -0
- package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.js +295 -0
- package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.d.ts +22 -0
- package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.js +45 -0
- package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js +10 -11
- package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts +53 -0
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js +97 -0
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js.map +1 -0
- package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js +10 -11
- package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts +82 -0
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js +291 -0
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.d.ts +76 -0
- package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.js +88 -0
- package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts +53 -0
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js +164 -0
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.d.ts +37 -0
- package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.js +52 -0
- package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.js.map +1 -0
- package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts +79 -14
- package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/dossier.companion.service.js +185 -29
- package/dist/esm/meta-workflows/services/dossier.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.js.map +1 -1
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts +52 -4
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js +134 -62
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/governed-document-texts.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/governed-document-texts.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.d.ts +67 -0
- package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.js +64 -0
- package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.js.map +1 -0
- package/dist/esm/meta-workflows/services/landed-module-import.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/landed-module-import.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-instance.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js +61 -20
- package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts +134 -4
- package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js +390 -7
- package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +166 -7
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.js +703 -116
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts +62 -1
- package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js +152 -2
- package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.js.map +1 -1
- package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.d.ts.map +1 -1
- package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-doc.companion.service.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js.map +1 -1
- package/package.json +22 -18
- package/dist/esm/__tests__/asset-noop.d.ts +0 -3
- package/dist/esm/__tests__/asset-noop.d.ts.map +0 -1
- package/dist/esm/__tests__/asset-noop.js +0 -2
- package/dist/esm/__tests__/asset-noop.js.map +0 -1
- package/dist/esm/__tests__/chdir-dogfood-app.setup.d.ts +0 -2
- package/dist/esm/__tests__/chdir-dogfood-app.setup.d.ts.map +0 -1
- package/dist/esm/__tests__/chdir-dogfood-app.setup.js +0 -44
- package/dist/esm/__tests__/chdir-dogfood-app.setup.js.map +0 -1
- package/dist/esm/__tests__/internal-test-view.d.ts +0 -39
- package/dist/esm/__tests__/internal-test-view.d.ts.map +0 -1
- package/dist/esm/__tests__/internal-test-view.js +0 -2
- package/dist/esm/__tests__/internal-test-view.js.map +0 -1
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts +0 -50
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts.map +0 -1
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js +0 -157
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js.map +0 -1
- package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts +0 -8
- package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts.map +0 -1
- package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js +0 -43
- package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js.map +0 -1
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts +0 -79
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts.map +0 -1
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js +0 -193
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dossier.companion.service.js","sourceRoot":"","sources":["../../../../../src/meta-workflows/services/dossier.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,6BAA6B,EAAE,+BAA+B,EAAE,MAAM,+BAA+B,CAAC;AAC/G,OAAO,EACL,kDAAkD,EAClD,8BAA8B,EAC9B,0CAA0C,EAC1C,8BAA8B,EAC9B,+CAA+C,EAC/C,0BAA0B,EAC1B,qBAAqB,GAQtB,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,8CAA8C,EAC9C,8CAA8C,GAE/C,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EACL,wBAAwB,EACxB,sBAAsB,EACtB,sBAAsB,EACtB,2BAA2B,EAC3B,kCAAkC,EAClC,iCAAiC,GAClC,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EAAE,kBAAkB,EAAE,MAAM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CAAC,WAAmB;QAC5C,MAAM,QAAQ,GAAG,6BAA6B,CAAC,WAAW,CAAC,CAAC;QAC5D,IAAI,CAAC,QAAQ;YAAE,OAAO,SAAS,CAAC;QAChC,MAAM,MAAM,GAAG,0BAA0B,CAAC,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;QACvE,OAAO,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;IAClD,CAAC;CACF,CAAA;AAnXY,uBAAuB;IADnC,UAAU,EAAE;IAKR,WAAA,MAAM,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAA;IACjC,WAAA,MAAM,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAA;;GALxC,uBAAuB,CAmXnC;;AAED,6EAA6E;AAC7E,SAAS,cAAc,CAAC,MAAiD;IACvE,OAAO,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,iBAAiB,EAAE,MAAM,EAAE,CAAC;AACnE,CAAC","sourcesContent":["import { existsSync } from 'node:fs';\nimport { join } from 'node:path';\nimport { inject, injectable } from 'inversify';\nimport { getFrameworkKnowledgePlaybook, listFrameworkKnowledgePlaybooks } from '@wildo-ai/framework-knowledge';\nimport {\n ApplicationAuthoredDocumentFactSpecificationSchema,\n ApplicationCreatorInputsSchema,\n ApplicationDocumentFactSpecificationSchema,\n ApplicationSpecificationFamily,\n ApplicationSpecificationFamilySemanticSchemaRef,\n MetaWorkflowPlaybookSchema,\n creatorInputAnswerKey,\n type ApplicationAuthoredDocumentFactSpecification,\n type ApplicationComplianceDocumentCandidateSet,\n type ApplicationCreatorInputAnswer,\n type ApplicationCreatorInputs,\n type ApplicationDocumentFactSpecification,\n type ComplianceDocumentCandidate,\n type MetaWorkflowPlaybook,\n} from '@wildo-ai/saas-specifications/application-creation';\nimport {\n createInitialAssuranceDocumentAuthorityCatalog,\n selectAssuranceDocumentBlueprintForDocumentRef,\n type AssuranceDocumentPublicationVariant,\n} from '@wildo-ai/saas-specifications/assurance';\nimport type { GovernedDocumentPublicDocument, GovernedDocumentRelease } from '@wildo-ai/saas-models';\nimport {\n PlaybookElicitationError,\n deriveAffectedFamilies,\n landCreatorInputAnswer,\n resolveApplicationLineScope,\n resolvePlaybookOutputLandingTarget,\n unansweredElicitationQuestionRefs,\n} from '@wildo-ai/application-creation-runtime';\nimport type { LoggerService } from '@wildo-ai/saas-backend-lib';\nimport { SAAS_SERVICE_TYPES } from '@wildo-ai/saas-backend-lib';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport { importLandedTypeScriptModule } from './landed-module-import.companion';\nimport type { CompanionContext } from '../../core/context/companion-context';\nimport { loadSpecificationsCompanionExports } from '../../core/context/companion-package-loaders.companion';\nimport { selectCurrentGovernedDocumentTexts } from './governed-document-texts.companion';\nimport { readCompiledApplicationLineCatalog } from '../models/application-line-catalog.models';\n\n/**\n * THE DOSSIER's companion service (#1454, Steps 5–6): what the creator was asked — by a playbook\n * interview or by a governed document — what they said, and the one door for saying more.\n *\n * ## Two sources, one join\n *\n * The QUESTIONS are the compiled playbook catalog's — every `method.elicitation.questions` entry of\n * every playbook that declares one. The ANSWERS are the `creator-inputs` family, read through the\n * application's companion-exports aggregate like every other landed family. Neither alone is what\n * a person reads, so {@link listDossierEntries} is the join: one entry per declared question,\n * carrying the answer when there is one and `STILL_NEEDED` when there is not.\n *\n * ## One writer, and it lands a family\n *\n * {@link recordAnswer} is the only way an answer enters the dossier — the resource operation and\n * the assistant's `record_answer` tool both arrive here. It validates the answer against the\n * question's kind with the SAME function a run applies when it reads the answer back, merges it\n * into the dossier by key, and lands the family file. It does not commit: a landed dossier is a\n * working edit until a human commits it (`.claude/rules/one-source-of-truth.md`, rules 2 and 3).\n *\n * ## An answer to a question no playbook asks any more is REPORTED, not dropped\n *\n * The catalog moves. A committed answer whose question was renamed or retired stays in the file\n * and is listed as ORPHANED here, so the person who gave it can see it went nowhere — deleting it\n * silently would be a regeneration destroying a human decision, the defect the two document-facts\n * families exist to prevent.\n */\n\n/** The constant prefix every landed family uses — neutral by contract (#65), never the application's name. */\nconst LANDED_CONSTANT_PREFIX = 'application';\n\n/** One question of the catalog, with the creator's answer when there is one. */\nexport interface DossierEntry {\n readonly playbookRef: string;\n /** The playbook INSTANCE this row asks for (#1609); absent on the default instance's rows. */\n readonly instanceKey?: string;\n /** What that instance was opened FOR, as its activation records it; absent on the default instance's rows. */\n readonly instancePurpose?: string;\n readonly questionRef: string;\n readonly question: string;\n readonly kind: string;\n readonly options: readonly string[];\n readonly position: number;\n readonly answer: ApplicationCreatorInputAnswer | undefined;\n /**\n * On an instance's row with no answer of its own: the step's own answer, which the instance runs on\n * until it is given one (#1609). Absent on the default instance's rows, and whenever `answer` is set.\n */\n readonly answerFromTheStep?: ApplicationCreatorInputAnswer;\n /**\n * Every family this answer feeds — what the asking playbook produces and everything downstream of\n * it — so \"changing this affects: …\" is on the row before anyone saves (#1454, Step 8). Derived\n * from the catalog's declared inputs and outputs; empty for a playbook that produces nothing.\n */\n readonly affectsFamilies: readonly string[];\n /**\n * The family whose SUBJECT this question belongs to (#1454, gap 4): what the asking step itself\n * produces; for a composite that produces nothing directly, what the steps it admits produce; and\n * only then the first family its answer reaches. The last is a downstream family — a compliance\n * interview reaches the vision by way of the build — so it is the fallback, never the first choice.\n */\n readonly subjectFamily: string | undefined;\n /**\n * The OTHER steps that READ this decision through a `sameDecisionAs` fallback (#1454 review) — every\n * such step without an answer of its own. The decision is ONE row, at its owner; those steps'\n * interviews show and answer this row, so a creator is asked once. A fallback that holds its own\n * (legacy) answer reads that answer instead, and is listed on its own row, not here.\n */\n readonly sharedWithPlaybookRefs: readonly string[];\n}\n\n/** A committed answer whose question the catalog no longer declares. */\nexport interface OrphanedDossierAnswer {\n readonly answer: ApplicationCreatorInputAnswer;\n /** `unknown_playbook` when the playbook itself is gone, `unknown_question` when only the question is. */\n readonly reason: 'unknown_playbook' | 'unknown_question';\n}\n\nexport interface DossierListing {\n readonly entries: readonly DossierEntry[];\n readonly orphaned: readonly OrphanedDossierAnswer[];\n}\n\nexport interface RecordAnswerResult {\n readonly answer: ApplicationCreatorInputAnswer;\n readonly packageRelativePath: string;\n /** The asking playbook's questions still unanswered after this one — empty means it can run. */\n readonly unansweredQuestionRefs: readonly string[];\n readonly dryRun: boolean;\n}\n\n@injectable()\nexport class DossierCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n\n public constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext) private readonly companionContext: CompanionContext,\n ) {\n this.logDebug = this.logger.debugByType('DossierCompanionService');\n }\n\n /**\n * The dossier as LANDED — the family read through the companion-exports aggregate, re-parsed\n * because a person may have edited the file by hand. A file that does not parse is reported as\n * absent with a debug line rather than thrown: the dossier being unreadable must not take the\n * eligibility board down with it, and the artifact list reports the family as invalid on its own.\n */\n public async readCreatorInputs(): Promise<ApplicationCreatorInputs | undefined> {\n const exports = await loadSpecificationsCompanionExports(this.companionContext);\n const raw = (exports as { creatorInputs?: unknown }).creatorInputs;\n if (raw === undefined || raw === null) return undefined;\n const parsed = ApplicationCreatorInputsSchema.safeParse(raw);\n if (!parsed.success) {\n this.logDebug('The landed creator-inputs family does not satisfy its schema; reading the dossier as empty', {\n issue: parsed.error.issues[0]?.message,\n });\n return undefined;\n }\n return parsed.data;\n }\n\n /**\n * The AUTHORED governed-document facts as landed (#1454, Step 6) — the governance half of the\n * dossier, read through the same aggregate as the interview half and re-parsed for the same\n * reason. What a governance landing merges INTO, and what decides a question's standing.\n */\n public async readAuthoredDocumentFacts(): Promise<ApplicationAuthoredDocumentFactSpecification | undefined> {\n const exports = await loadSpecificationsCompanionExports(this.companionContext);\n const raw = (exports as { authoredDocumentFactSpecification?: unknown }).authoredDocumentFactSpecification;\n if (raw === undefined || raw === null) return undefined;\n const parsed = ApplicationAuthoredDocumentFactSpecificationSchema.safeParse(raw);\n if (!parsed.success) {\n this.logDebug('The landed document-facts-authored family does not satisfy its schema; reading the governance facts as empty', {\n issue: parsed.error.issues[0]?.message,\n });\n return undefined;\n }\n return parsed.data;\n }\n\n /**\n * The governed-document facts the PRODUCT established, as landed by the document-facts step\n * (#1454, gap 4) — what the dossier shows as \"read from the product\". Re-parsed like its siblings:\n * a landed file that no longer satisfies its schema reads as nothing read yet, never as an answer.\n */\n public async readDerivedDocumentFacts(): Promise<ApplicationDocumentFactSpecification | undefined> {\n const exports = await loadSpecificationsCompanionExports(this.companionContext);\n const raw = (exports as { documentFactSpecification?: unknown }).documentFactSpecification;\n if (raw === undefined || raw === null) return undefined;\n const parsed = ApplicationDocumentFactSpecificationSchema.safeParse(raw);\n if (!parsed.success) {\n this.logDebug('The landed document-facts family does not satisfy its schema; reading the product facts as unread', {\n issue: parsed.error.issues[0]?.message,\n });\n return undefined;\n }\n return parsed.data;\n }\n\n /**\n * The governed documents the creator ASKED FOR — those with a landed draft — as definition refs.\n *\n * Read off the landed candidate-set FILE the way the run service reads it (the family has no\n * companion-exports slot: a draft is not accepted truth), and joined to definitions through the\n * catalog's own `document:` → `document-definition:` rule. An open fact of a drafted document is\n * asked of the person now; one of an undrafted document is merely not told yet.\n */\n public async listDraftedGovernedDocumentDefinitionRefs(): Promise<ReadonlySet<string>> {\n let drafts: readonly ComplianceDocumentCandidate[];\n try {\n drafts = await this.readLandedGovernedDocumentDrafts();\n } catch (error) {\n // An unreadable draft set is the artifact list's finding; here it reads as \"nothing drafted\", never as a throw on every dossier read.\n this.logDebug('The landed draft set could not be read; treating no document as drafted', { error: String(error) });\n return new Set();\n }\n const catalog = createInitialAssuranceDocumentAuthorityCatalog();\n const refs = new Set<string>();\n for (const candidate of drafts) {\n const selection = selectAssuranceDocumentBlueprintForDocumentRef(catalog, candidate.documentRef);\n if (selection) refs.add(selection.definition.identity.definitionRef);\n }\n return refs;\n }\n\n /**\n * Every governed document's CURRENT text, keyed by definition ref (#1645): its release, else its\n * latest draft — see {@link selectCurrentGovernedDocumentTexts}. What the workbench prints when the\n * creator asks for all their documents as one PDF.\n *\n * Unlike {@link listDraftedGovernedDocumentDefinitionRefs}, an unreadable draft set THROWS here. That\n * method answers a question a dossier can survive not knowing; this one produces a file a person hands\n * to a reviewer, and printing every document as \"not composed yet\" because the drafts could not be\n * read would be a false document.\n */\n public async readCurrentGovernedDocumentTexts(at: Date): Promise<ReadonlyMap<string, GovernedDocumentPublicDocument>> {\n const exports = (await loadSpecificationsCompanionExports(this.companionContext)) as {\n documentReleaseSet?: { releases?: readonly GovernedDocumentRelease[] };\n documentPublicationSpecification?: { variants?: readonly AssuranceDocumentPublicationVariant[] };\n } | undefined;\n const catalog = createInitialAssuranceDocumentAuthorityCatalog();\n return selectCurrentGovernedDocumentTexts({\n releases: exports?.documentReleaseSet?.releases ?? [],\n drafts: await this.readLandedGovernedDocumentDrafts(),\n definitionRefOfDraft: (draft) => selectAssuranceDocumentBlueprintForDocumentRef(catalog, draft.documentRef)?.definition.identity.definitionRef,\n publishedVariants: exports?.documentPublicationSpecification?.variants ?? [],\n at: at.toISOString(),\n });\n }\n\n /**\n * The drafts in the landed candidate-set FILE, read the way the run service reads it (the family has\n * no companion-exports slot: a draft is not accepted truth). No file is no drafts; a file that cannot\n * be loaded THROWS — each caller decides what not knowing means for it.\n */\n private async readLandedGovernedDocumentDrafts(): Promise<readonly ComplianceDocumentCandidate[]> {\n const specificationsPackageRoot = this.companionContext.resolvedSpecifications?.packageRoot;\n if (specificationsPackageRoot === undefined) return [];\n const target = resolvePlaybookOutputLandingTarget({\n family: ApplicationSpecificationFamily.COMPLIANCE_DOCUMENT_CANDIDATE_SET,\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.COMPLIANCE_DOCUMENT_CANDIDATE_SET,\n constantPrefix: LANDED_CONSTANT_PREFIX,\n });\n const modulePath = join(specificationsPackageRoot, target.packageRelativePath);\n if (!existsSync(modulePath)) return [];\n const loaded = await importLandedTypeScriptModule(modulePath, import.meta.url);\n const set = loaded[target.exportedConstantName] as ApplicationComplianceDocumentCandidateSet | undefined;\n return set?.candidates ?? [];\n }\n\n /** Every declared interview question across the catalog, joined with the dossier's answers. */\n public async listDossierEntries(): Promise<DossierListing> {\n const creatorInputs = await this.readCreatorInputs();\n const answersByKey = new Map<string, ApplicationCreatorInputAnswer>();\n // Keyed WITH the instance (#1609): an instance's answer never takes the default instance's place.\n for (const answer of creatorInputs?.answers ?? []) answersByKey.set(creatorInputAnswerKey(answer.playbookRef, answer.questionRef, answer.instanceKey), answer);\n\n const entries: DossierEntry[] = [];\n const claimed = new Set<string>();\n const knownPlaybookRefs = new Set<string>();\n /* The whole parsed catalog first: what an answer affects is a question about every OTHER playbook. */\n const catalog = listFrameworkKnowledgePlaybooks()\n .map((summary) => this.readParsedPlaybook(summary.ref))\n .filter((playbook): playbook is MetaWorkflowPlaybook => playbook !== undefined);\n /*\n * Which fallback steps READ each owner's decision — the owner row carries them. A fallback holding\n * an answer of its own reads THAT answer (`readAnswersForPlaybookQuestions`: an own answer wins),\n * so it is not listed here: its interview shows its own row alone, and the owner's row neither\n * appears in that interview nor dates that step's result (#1454 review, LOW).\n */\n const sharedWith = new Map<string, string[]>();\n for (const playbook of catalog) {\n for (const question of playbook.method?.elicitation?.questions ?? []) {\n if (!question.sameDecisionAs) continue;\n if (answersByKey.has(creatorInputAnswerKey(playbook.ref, question.ref))) continue;\n const ownerKey = creatorInputAnswerKey(question.sameDecisionAs.playbookRef, question.sameDecisionAs.questionRef);\n sharedWith.set(ownerKey, [...(sharedWith.get(ownerKey) ?? []), playbook.ref]);\n }\n }\n /*\n * Only the questions of the playbooks this application's LINE runs (#1605): an internal tool is never\n * asked for its pricing tiers or its brand. An answer to a question outside the line is KEPT, neither\n * listed nor reported orphaned: it records a previous line's decision and returns if the line does.\n */\n const lineScope = resolveApplicationLineScope({ catalog: readCompiledApplicationLineCatalog(), creatorInputs });\n for (const playbook of catalog) {\n knownPlaybookRefs.add(playbook.ref);\n const questions = playbook.method?.elicitation?.questions ?? [];\n if (!lineScope.admittedPlaybookRefs.has(playbook.ref)) {\n for (const question of questions) claimed.add(creatorInputAnswerKey(playbook.ref, question.ref));\n continue;\n }\n const affectsFamilies = questions.length > 0 ? deriveAffectedFamilies(playbook.ref, catalog) : [];\n const ownFamily = playbook.outputs?.[0]?.family;\n const admittedFamily = (playbook.method?.choreography?.admits ?? [])\n .map((ref) => catalog.find((candidate) => candidate.ref === ref)?.outputs?.[0]?.family)\n .find((family): family is string => typeof family === 'string');\n const subjectFamily = ownFamily ?? admittedFamily ?? affectsFamilies[0];\n questions.forEach((question, position) => {\n const key = creatorInputAnswerKey(playbook.ref, question.ref);\n claimed.add(key);\n /*\n * A question that asks the SAME DECISION as another step's (#1454, gap 4 and its two reviews)\n * is ONE row, at the step that owns it. The owner's row names this step in\n * `sharedWithPlaybookRefs`, so this step's interview shows and answers THAT row (and\n * `recordAnswer` files an answer to the fallback under the owner), which is what keeps one\n * decision from being asked twice or answered two ways. The fallback's own row is listed only\n * when it carries an answer of its own — a legacy answer that wins for this step, and so must\n * be visible and changeable rather than overriding the owner's from nowhere.\n */\n if (question.sameDecisionAs !== undefined && !answersByKey.has(key)) return;\n entries.push({\n playbookRef: playbook.ref,\n questionRef: question.ref,\n question: question.question,\n kind: String(question.kind),\n options: [...(question.options ?? [])],\n position,\n answer: answersByKey.get(key),\n affectsFamilies,\n subjectFamily,\n sharedWithPlaybookRefs: sharedWith.get(key) ?? [],\n });\n });\n /*\n * Each OPENED INSTANCE of this playbook (#1609) asks its questions again, on its own rows: its answer\n * wins for that instance, and a question it leaves unanswered reads the default instance's row. A\n * shared decision is the default instance's and is not repeated per instance.\n */\n for (const activation of Object.values(creatorInputs?.activations ?? {})) {\n if (activation.playbookRef !== playbook.ref) continue;\n questions.forEach((question, position) => {\n if (question.sameDecisionAs !== undefined) return;\n const key = creatorInputAnswerKey(playbook.ref, question.ref, activation.instanceKey);\n claimed.add(key);\n /*\n * A CLOSED instance (#1608) asks nothing any more, so it has no rows. Its answers are still claimed:\n * they answered a real question of a real instance, and reporting them as orphaned would say otherwise.\n */\n if (activation.closure !== undefined) return;\n entries.push({\n playbookRef: playbook.ref,\n instanceKey: activation.instanceKey,\n instancePurpose: activation.purpose,\n questionRef: question.ref,\n question: question.question,\n kind: String(question.kind),\n options: [...(question.options ?? [])],\n position,\n answer: answersByKey.get(key),\n ...(answersByKey.has(key) ? {} : withStepAnswer(answersByKey.get(creatorInputAnswerKey(playbook.ref, question.ref)))),\n affectsFamilies,\n subjectFamily,\n sharedWithPlaybookRefs: [],\n });\n });\n }\n }\n const orphaned: OrphanedDossierAnswer[] = (creatorInputs?.answers ?? [])\n .filter((answer) => !claimed.has(creatorInputAnswerKey(answer.playbookRef, answer.questionRef, answer.instanceKey)))\n .map((answer) => ({ answer, reason: knownPlaybookRefs.has(answer.playbookRef) ? 'unknown_question' : 'unknown_playbook' }));\n return { entries, orphaned };\n }\n\n /**\n * Record one answer. Refuses — by name, as a `PlaybookElicitationError` the dispatch translates to\n * a 400 — an unknown playbook, a question the playbook does not ask, a CHOICE outside its options\n * or an ambiguous CONFIRM. Everything else lands.\n */\n public async recordAnswer(input: {\n readonly playbookRef: string;\n /** The INSTANCE the answer is for (#1609); it must be opened, and a shared decision is never redirected for it. */\n readonly instanceKey?: string;\n readonly questionRef: string;\n readonly value: string;\n readonly answeredByRef: string;\n readonly dryRun?: boolean;\n }): Promise<RecordAnswerResult> {\n const specificationsPackageRoot = this.companionContext.resolvedSpecifications?.packageRoot;\n if (!specificationsPackageRoot) {\n throw new Error('No specifications package is declared in wildo.saas.config.ts; there is nowhere to land the dossier.');\n }\n const askingPlaybook = this.readParsedPlaybook(input.playbookRef);\n if (!askingPlaybook) {\n throw new PlaybookElicitationError(`No compiled playbook is registered under \"${input.playbookRef}\", so nothing asks \"${input.questionRef}\".`);\n }\n /*\n * An answer to a question that shares its decision with another step is filed under the OWNER\n * (#1454 review): one decision, one answer, whichever step asked it. The owner is resolved from\n * the catalog, never from the caller, and refused like any unknown playbook if it has gone.\n */\n const current = await this.readCreatorInputs();\n /*\n * ...UNLESS the fallback already holds an answer of its own (a legacy answer, listed on its own\n * row). That answer wins for its step, so a change made on that row must change THAT answer —\n * redirected to the owner, the save reported success while the step kept reading the old value\n * (third review, A1).\n */\n const declared = askingPlaybook.method?.elicitation?.questions?.find((question) => question.ref === input.questionRef)?.sameDecisionAs;\n const holdsOwnAnswer = (current?.answers ?? []).some((answer) => answer.playbookRef === input.playbookRef && answer.questionRef === input.questionRef\n && answer.instanceKey === input.instanceKey);\n // A shared decision is the DEFAULT instance's (#1609): an instance's answer stays its own.\n const shared = declared !== undefined && !holdsOwnAnswer && input.instanceKey === undefined ? declared : undefined;\n const playbook = shared ? this.readParsedPlaybook(shared.playbookRef) : askingPlaybook;\n if (!playbook) {\n throw new PlaybookElicitationError(`\"${input.questionRef}\" of \"${input.playbookRef}\" shares its decision with \"${shared?.playbookRef}\", which is no longer a compiled playbook.`);\n }\n const questionRef = shared ? shared.questionRef : input.questionRef;\n const landed = await landCreatorInputAnswer({\n specificationsPackageRoot,\n constantPrefix: LANDED_CONSTANT_PREFIX,\n playbook,\n current,\n questionRef,\n ...(input.instanceKey !== undefined ? { instanceKey: input.instanceKey } : {}),\n value: input.value,\n answeredByRef: input.answeredByRef,\n answeredAt: new Date().toISOString(),\n ...(input.dryRun === true ? { dryRun: true } : {}),\n });\n this.logDebug('Dossier answer recorded', {\n playbookRef: playbook.ref,\n questionRef,\n askedBy: input.playbookRef,\n packageRelativePath: landed.packageRelativePath,\n dryRun: input.dryRun === true,\n });\n return {\n answer: landed.answer,\n packageRelativePath: landed.packageRelativePath,\n /* What the step that ASKED still needs — the owner's answer now counts for it through the shared decision. */\n unansweredQuestionRefs: unansweredElicitationQuestionRefs(askingPlaybook, landed.creatorInputs),\n dryRun: input.dryRun === true,\n };\n }\n\n /**\n * FILE what a step's Run gate collected (#1454 review, LOW): each answer to a question the dossier\n * does NOT answer for that step yet is recorded through {@link recordAnswer} — the same validation,\n * the same shared-decision filing, the same provenance — so the next run does not ask again and the\n * dossier stops saying \"still needed\" about a step that ran.\n *\n * Only the STILL-NEEDED ones. The run route's `elicitationAnswers` is also a per-run OVERRIDE of an\n * answer the dossier holds (Step 5: \"request answers override\"); filing an override would silently\n * rewrite a decision the creator made elsewhere, so an answered question's override stays an\n * override. A blank answer is not an answer and is left to the run, which names what is missing.\n *\n * Sequential on purpose: each `recordAnswer` re-reads the dossier it merges into, so two answers\n * filed in parallel would each land a file missing the other.\n */\n public async fileStillNeededAnswers(input: {\n readonly playbookRef: string;\n /** The instance the run is for (#1609): its pre-answers are filed as THAT instance's answers. */\n readonly instanceKey?: string;\n readonly answers: readonly { readonly questionRef: string; readonly answer: string }[];\n readonly answeredByRef: string;\n }): Promise<readonly string[]> {\n const playbook = this.readParsedPlaybook(input.playbookRef);\n if (!playbook) return [];\n const stillNeeded = new Set(unansweredElicitationQuestionRefs(playbook, await this.readCreatorInputs(), input.instanceKey));\n const filed: string[] = [];\n for (const answer of input.answers) {\n if (!stillNeeded.has(answer.questionRef) || answer.answer.trim().length === 0) continue;\n await this.recordAnswer({\n playbookRef: input.playbookRef,\n questionRef: answer.questionRef,\n value: answer.answer,\n answeredByRef: input.answeredByRef,\n ...(input.instanceKey !== undefined ? { instanceKey: input.instanceKey } : {}),\n });\n filed.push(answer.questionRef);\n }\n return filed;\n }\n\n /** A catalog entry that does not satisfy its own contract is skipped, never fatal — one malformed playbook must not hide the rest. */\n private readParsedPlaybook(playbookRef: string): MetaWorkflowPlaybook | undefined {\n const hydrated = getFrameworkKnowledgePlaybook(playbookRef);\n if (!hydrated) return undefined;\n const parsed = MetaWorkflowPlaybookSchema.safeParse(hydrated.playbook);\n return parsed.success ? parsed.data : undefined;\n }\n}\n\n/** Spread onto an instance's row: the step's own answer, when it has one. */\nfunction withStepAnswer(answer: ApplicationCreatorInputAnswer | undefined): { readonly answerFromTheStep?: ApplicationCreatorInputAnswer } {\n return answer === undefined ? {} : { answerFromTheStep: answer };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"dossier.companion.service.js","sourceRoot":"","sources":["../../../../src/meta-workflows/services/dossier.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,6BAA6B,EAAE,+BAA+B,EAAE,MAAM,+BAA+B,CAAC;AAC/G,OAAO,EACL,kDAAkD,EAClD,8BAA8B,EAC9B,0CAA0C,EAC1C,8BAA8B,EAC9B,+CAA+C,EAC/C,0BAA0B,EAC1B,qBAAqB,GAStB,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,8CAA8C,EAC9C,8CAA8C,GAE/C,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EAAE,iCAAiC,EAAE,MAAM,gCAAgC,CAAC;AACnF,OAAO,EAAE,2CAA2C,EAAE,+BAA+B,EAAE,oCAAoC,EAAkC,MAAM,sCAAsC,CAAC;AAC1M,OAAO,EACL,wBAAwB,EACxB,kCAAkC,EAClC,sBAAsB,EACtB,6BAA6B,EAE7B,sBAAsB,EACtB,kBAAkB,EAClB,2BAA2B,EAC3B,kCAAkC,EAClC,iCAAiC,GAClC,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AAEhF,OAAO,EAAE,kCAAkC,EAAE,MAAM,wDAAwD,CAAC;AAE5G,OAAO,EAAE,kCAAkC,EAAE,MAAM,qCAAqC,CAAC;AACzF,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,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IAKR,WAAA,MAAM,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAA;IACjC,WAAA,MAAM,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAA;;GALxC,uBAAuB,CAgfnC;;AAED,6EAA6E;AAC7E,SAAS,cAAc,CAAC,MAAiD;IACvE,OAAO,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,iBAAiB,EAAE,MAAM,EAAE,CAAC;AACnE,CAAC","sourcesContent":["import { existsSync } from 'node:fs';\nimport { join } from 'node:path';\nimport { inject, injectable } from 'inversify';\nimport { getFrameworkKnowledgePlaybook, listFrameworkKnowledgePlaybooks } from '@wildo-ai/framework-knowledge';\nimport {\n ApplicationAuthoredDocumentFactSpecificationSchema,\n ApplicationCreatorInputsSchema,\n ApplicationDocumentFactSpecificationSchema,\n ApplicationSpecificationFamily,\n ApplicationSpecificationFamilySemanticSchemaRef,\n MetaWorkflowPlaybookSchema,\n creatorInputAnswerKey,\n type ApplicationCreatorInputAnswerStanding,\n type ApplicationAuthoredDocumentFactSpecification,\n type ApplicationComplianceDocumentCandidateSet,\n type ApplicationCreatorInputAnswer,\n type ApplicationCreatorInputs,\n type ApplicationDocumentFactSpecification,\n type ComplianceDocumentCandidate,\n type MetaWorkflowPlaybook,\n} from '@wildo-ai/saas-specifications/application-creation';\nimport {\n createInitialAssuranceDocumentAuthorityCatalog,\n selectAssuranceDocumentBlueprintForDocumentRef,\n type AssuranceDocumentPublicationVariant,\n} from '@wildo-ai/saas-specifications/assurance';\nimport type { GovernedDocumentPublicDocument, GovernedDocumentRelease } from '@wildo-ai/saas-models';\nimport { WorkbenchDossierEntryOptionsState } from '@wildo-ai/platform-core-shared';\nimport { isElicitationQuestionAskedInSimpleInterview, isElicitationQuestionProposable, isRegulatedDomainElicitationQuestion, type ApplicationInterviewDepth } from '@wildo-ai/saas-models/meta-workflows';\nimport {\n PlaybookElicitationError,\n createCompanionExportsFamilyReader,\n deriveAffectedFamilies,\n materializeElicitationOptions,\n type ElicitationOptionsSourceReads,\n landCreatorInputAnswer,\n landInterviewDepth,\n resolveApplicationLineScope,\n resolvePlaybookOutputLandingTarget,\n unansweredElicitationQuestionRefs,\n} from '@wildo-ai/application-creation-runtime';\nimport type { LoggerService } from '@wildo-ai/saas-backend-lib';\nimport { SAAS_SERVICE_TYPES } from '@wildo-ai/saas-backend-lib';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport { importLandedTypeScriptModule } from './landed-module-import.companion';\nimport type { CompanionContext } from '../../core/context/companion-context';\nimport { loadSpecificationsCompanionExports } from '../../core/context/companion-package-loaders.companion';\nimport type { InterviewQuestionDisposition } from '../../core/introspection/resources/creation-console-projection.companion';\nimport { selectCurrentGovernedDocumentTexts } from './governed-document-texts.companion';\nimport { serializeDossierWrite } from './dossier-write-queue.companion.utils';\nimport { readCompiledApplicationLineCatalog } from '../models/application-line-catalog.models';\n\n/**\n * THE DOSSIER's companion service (#1454, Steps 5–6): what the creator was asked — by a playbook\n * interview or by a governed document — what they said, and the one door for saying more.\n *\n * ## Two sources, one join\n *\n * The QUESTIONS are the compiled playbook catalog's — every `method.elicitation.questions` entry of\n * every playbook that declares one. The ANSWERS are the `creator-inputs` family, read through the\n * application's companion-exports aggregate like every other landed family. Neither alone is what\n * a person reads, so {@link listDossierEntries} is the join: one entry per declared question,\n * carrying the answer when there is one and `STILL_NEEDED` when there is not.\n *\n * ## One writer, and it lands a family\n *\n * An answer enters the dossier by two doors only, and both land it through the same private\n * `landAnswer`: {@link recordAnswer}, where the resource operation and the assistant's `record_answer`\n * tool both arrive, and {@link fileStillNeededAnswers}, for what a run's gate collected. It\n * validates the answer against the question's kind with the SAME function a run applies when it\n * reads the answer back, merges it into the dossier by key, and lands the family file. It does not commit: a landed dossier is a\n * working edit until a human commits it (`.claude/rules/one-source-of-truth.md`, rules 2 and 3). It reaches history with the\n * first accepted run whose commit imports it, which carries it, or on its own through `wildo creation accept --dossier`\n * (`AcceptedChangeCommitCompanionService`, #2332).\n *\n * Every write here is a read-modify-write of that one file, so every write goes through\n * {@link serializeDossierWrite}: two overlapping saves would otherwise both build on the same read, and\n * the second would erase the first one's change (#2179).\n *\n * ## An answer to a question no playbook asks any more is REPORTED, not dropped\n *\n * The catalog moves. A committed answer whose question was renamed or retired stays in the file\n * and is listed as ORPHANED here, so the person who gave it can see it went nowhere — deleting it\n * silently would be a regeneration destroying a human decision, the defect the two document-facts\n * families exist to prevent.\n */\n\n/** The constant prefix every landed family uses — neutral by contract (#65), never the application's name. */\nconst LANDED_CONSTANT_PREFIX = 'application';\n\n/** One question of the catalog, with the creator's answer when there is one. */\nexport interface DossierEntry {\n readonly playbookRef: string;\n /** The playbook INSTANCE this row asks for (#1609); absent on the default instance's rows. */\n readonly instanceKey?: string;\n /** What that instance was opened FOR, as its activation records it; absent on the default instance's rows. */\n readonly instancePurpose?: string;\n readonly questionRef: string;\n readonly question: string;\n readonly kind: string;\n readonly options: readonly string[];\n /** What each COMPUTED option stands for (#2337) — the resolved `optionDetails`; empty for authored options. */\n readonly optionDetails: readonly { readonly option: string; readonly detail: string }[];\n /**\n * Whether the options can be offered now — `NOT_YET_AVAILABLE` for a computed CHOICE whose source has not\n * landed or offers nothing, `ANSWER_NO_LONGER_OFFERED` when the recorded answer is not among the computed\n * options any more (it is then not carried as `answer`, so the question reads as still needed).\n */\n readonly optionsState: WorkbenchDossierEntryOptionsState;\n readonly position: number;\n readonly answer: ApplicationCreatorInputAnswer | undefined;\n /**\n * On an instance's row with no answer of its own: the step's own answer, which the instance runs on\n * until it is given one (#1609). Absent on the default instance's rows, and whenever `answer` is set.\n */\n readonly answerFromTheStep?: ApplicationCreatorInputAnswer;\n /**\n * Every family this answer feeds — what the asking playbook produces and everything downstream of\n * it — so \"changing this affects: …\" is on the row before anyone saves (#1454, Step 8). Derived\n * from the catalog's declared inputs and outputs; empty for a playbook that produces nothing.\n */\n readonly affectsFamilies: readonly string[];\n /**\n * The family whose SUBJECT this question belongs to (#1454, gap 4): what the asking step itself\n * produces; for a composite that produces nothing directly, what the steps it admits produce; and\n * only then the first family its answer reaches. The last is a downstream family — a compliance\n * interview reaches the vision by way of the build — so it is the fallback, never the first choice.\n */\n readonly subjectFamily: string | undefined;\n /**\n * The OTHER steps that READ this decision through a `sameDecisionAs` fallback (#1454 review) — every\n * such step without an answer of its own. The decision is ONE row, at its owner; those steps'\n * interviews show and answer this row, so a creator is asked once. A fallback that holds its own\n * (legacy) answer reads that answer instead, and is listed on its own row, not here.\n */\n readonly sharedWithPlaybookRefs: readonly string[];\n /** Whether a SIMPLE interview asks it of the person (#2129); otherwise it is proposed (reviewed, or assumed unattended). */\n readonly askedInSimpleInterview: boolean;\n /** Whether an answer may be proposed when the person does not know (#2129). */\n readonly proposable: boolean;\n /** It concerns a regulated domain (#2129): a proposal is named to the person before it is kept. */\n readonly regulatedDomain: boolean;\n}\n\n/**\n * One question's interview disposition (#2129) — what a surface needs to run a simple interview. Read\n * through the shared predicates, never re-derived, so the dossier page, the workbench interview and the\n * console queue select the same questions.\n */\nfunction interviewQuestionDisposition(question: NonNullable<NonNullable<MetaWorkflowPlaybook['method']>['elicitation']>['questions'][number]): InterviewQuestionDisposition {\n return {\n askedInSimpleInterview: isElicitationQuestionAskedInSimpleInterview(question),\n proposable: isElicitationQuestionProposable(question),\n regulatedDomain: isRegulatedDomainElicitationQuestion(question),\n };\n}\n\n/** A committed answer whose question the catalog no longer declares. */\nexport interface OrphanedDossierAnswer {\n readonly answer: ApplicationCreatorInputAnswer;\n /** `unknown_playbook` when the playbook itself is gone, `unknown_question` when only the question is. */\n readonly reason: 'unknown_playbook' | 'unknown_question';\n}\n\nexport interface DossierListing {\n readonly entries: readonly DossierEntry[];\n readonly orphaned: readonly OrphanedDossierAnswer[];\n /** How deep this application's interviews go (#2129); undefined until the person chooses. */\n readonly interviewDepth: ApplicationInterviewDepth | undefined;\n}\n\n/**\n * One answer to record. Named, rather than derived from the private `landAnswer`'s parameter, so the public\n * {@link DossierCompanionService.recordAnswer} keeps its type in emitted declarations (#2179 review).\n */\nexport interface RecordAnswerInput {\n readonly playbookRef: string;\n /** The INSTANCE the answer is for (#1609); it must be opened, and a shared decision is never redirected for it. */\n readonly instanceKey?: string;\n readonly questionRef: string;\n readonly value: string;\n readonly answeredByRef: string;\n /** ASSUMED for a proposed answer the person let stand or an unattended round recorded (#2129); refused for a question only they may answer. */\n readonly standing?: ApplicationCreatorInputAnswerStanding;\n /** The proposer's reason, stored with an ASSUMED answer. */\n readonly assumptionRationale?: string;\n readonly dryRun?: boolean;\n}\n\nexport interface RecordAnswerResult {\n readonly answer: ApplicationCreatorInputAnswer;\n readonly packageRelativePath: string;\n /** The asking playbook's questions still unanswered after this one — empty means it can run. */\n readonly unansweredQuestionRefs: readonly string[];\n readonly dryRun: boolean;\n}\n\n@injectable()\nexport class DossierCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n\n public constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext) private readonly companionContext: CompanionContext,\n ) {\n this.logDebug = this.logger.debugByType('DossierCompanionService');\n }\n\n /**\n * The dossier as LANDED — the family read through the companion-exports aggregate, re-parsed\n * because a person may have edited the file by hand. A file that does not parse is reported as\n * absent with a debug line rather than thrown: the dossier being unreadable must not take the\n * eligibility board down with it, and the artifact list reports the family as invalid on its own.\n */\n public async readCreatorInputs(): Promise<ApplicationCreatorInputs | undefined> {\n const exports = await loadSpecificationsCompanionExports(this.companionContext);\n const raw = (exports as { creatorInputs?: unknown }).creatorInputs;\n if (raw === undefined || raw === null) return undefined;\n const parsed = ApplicationCreatorInputsSchema.safeParse(raw);\n if (!parsed.success) {\n this.logDebug('The landed creator-inputs family does not satisfy its schema; reading the dossier as empty', {\n issue: parsed.error.issues[0]?.message,\n });\n return undefined;\n }\n return parsed.data;\n }\n\n /**\n * The AUTHORED governed-document facts as landed (#1454, Step 6) — the governance half of the\n * dossier, read through the same aggregate as the interview half and re-parsed for the same\n * reason. What a governance landing merges INTO, and what decides a question's standing.\n */\n public async readAuthoredDocumentFacts(): Promise<ApplicationAuthoredDocumentFactSpecification | undefined> {\n const exports = await loadSpecificationsCompanionExports(this.companionContext);\n const raw = (exports as { authoredDocumentFactSpecification?: unknown }).authoredDocumentFactSpecification;\n if (raw === undefined || raw === null) return undefined;\n const parsed = ApplicationAuthoredDocumentFactSpecificationSchema.safeParse(raw);\n if (!parsed.success) {\n this.logDebug('The landed document-facts-authored family does not satisfy its schema; reading the governance facts as empty', {\n issue: parsed.error.issues[0]?.message,\n });\n return undefined;\n }\n return parsed.data;\n }\n\n /**\n * The governed-document facts the PRODUCT established, as landed by the document-facts step\n * (#1454, gap 4) — what the dossier shows as \"read from the product\". Re-parsed like its siblings:\n * a landed file that no longer satisfies its schema reads as nothing read yet, never as an answer.\n */\n public async readDerivedDocumentFacts(): Promise<ApplicationDocumentFactSpecification | undefined> {\n const exports = await loadSpecificationsCompanionExports(this.companionContext);\n const raw = (exports as { documentFactSpecification?: unknown }).documentFactSpecification;\n if (raw === undefined || raw === null) return undefined;\n const parsed = ApplicationDocumentFactSpecificationSchema.safeParse(raw);\n if (!parsed.success) {\n this.logDebug('The landed document-facts family does not satisfy its schema; reading the product facts as unread', {\n issue: parsed.error.issues[0]?.message,\n });\n return undefined;\n }\n return parsed.data;\n }\n\n /**\n * The governed documents the creator ASKED FOR — those with a landed draft — as definition refs.\n *\n * Read off the landed candidate-set FILE the way the run service reads it (the family has no\n * companion-exports slot: a draft is not accepted truth), and joined to definitions through the\n * catalog's own `document:` → `document-definition:` rule. An open fact of a drafted document is\n * asked of the person now; one of an undrafted document is merely not told yet.\n */\n public async listDraftedGovernedDocumentDefinitionRefs(): Promise<ReadonlySet<string>> {\n let drafts: readonly ComplianceDocumentCandidate[];\n try {\n drafts = await this.readLandedGovernedDocumentDrafts();\n } catch (error) {\n // An unreadable draft set is the artifact list's finding; here it reads as \"nothing drafted\", never as a throw on every dossier read.\n this.logDebug('The landed draft set could not be read; treating no document as drafted', { error: String(error) });\n return new Set();\n }\n const catalog = createInitialAssuranceDocumentAuthorityCatalog();\n const refs = new Set<string>();\n for (const candidate of drafts) {\n const selection = selectAssuranceDocumentBlueprintForDocumentRef(catalog, candidate.documentRef);\n if (selection) refs.add(selection.definition.identity.definitionRef);\n }\n return refs;\n }\n\n /**\n * Every governed document's CURRENT text, keyed by definition ref (#1645): its release, else its\n * latest draft — see {@link selectCurrentGovernedDocumentTexts}. What the workbench prints when the\n * creator asks for all their documents as one PDF.\n *\n * Unlike {@link listDraftedGovernedDocumentDefinitionRefs}, an unreadable draft set THROWS here. That\n * method answers a question a dossier can survive not knowing; this one produces a file a person hands\n * to a reviewer, and printing every document as \"not composed yet\" because the drafts could not be\n * read would be a false document.\n */\n public async readCurrentGovernedDocumentTexts(at: Date): Promise<ReadonlyMap<string, GovernedDocumentPublicDocument>> {\n const exports = (await loadSpecificationsCompanionExports(this.companionContext)) as {\n documentReleaseSet?: { releases?: readonly GovernedDocumentRelease[] };\n documentPublicationSpecification?: { variants?: readonly AssuranceDocumentPublicationVariant[] };\n } | undefined;\n const catalog = createInitialAssuranceDocumentAuthorityCatalog();\n return selectCurrentGovernedDocumentTexts({\n releases: exports?.documentReleaseSet?.releases ?? [],\n drafts: await this.readLandedGovernedDocumentDrafts(),\n definitionRefOfDraft: (draft) => selectAssuranceDocumentBlueprintForDocumentRef(catalog, draft.documentRef)?.definition.identity.definitionRef,\n publishedVariants: exports?.documentPublicationSpecification?.variants ?? [],\n at: at.toISOString(),\n });\n }\n\n /**\n * The drafts in the landed candidate-set FILE, read the way the run service reads it (the family has\n * no companion-exports slot: a draft is not accepted truth). No file is no drafts; a file that cannot\n * be loaded THROWS — each caller decides what not knowing means for it.\n */\n private async readLandedGovernedDocumentDrafts(): Promise<readonly ComplianceDocumentCandidate[]> {\n const specificationsPackageRoot = this.companionContext.resolvedSpecifications?.packageRoot;\n if (specificationsPackageRoot === undefined) return [];\n const target = resolvePlaybookOutputLandingTarget({\n family: ApplicationSpecificationFamily.COMPLIANCE_DOCUMENT_CANDIDATE_SET,\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.COMPLIANCE_DOCUMENT_CANDIDATE_SET,\n constantPrefix: LANDED_CONSTANT_PREFIX,\n });\n const modulePath = join(specificationsPackageRoot, target.packageRelativePath);\n if (!existsSync(modulePath)) return [];\n const loaded = await importLandedTypeScriptModule(modulePath, import.meta.url);\n const set = loaded[target.exportedConstantName] as ApplicationComplianceDocumentCandidateSet | undefined;\n return set?.candidates ?? [];\n }\n\n /** Every declared interview question across the catalog, joined with the dossier's answers. */\n public async listDossierEntries(): Promise<DossierListing> {\n const creatorInputs = await this.readCreatorInputs();\n const answersByKey = new Map<string, ApplicationCreatorInputAnswer>();\n // Keyed WITH the instance (#1609): an instance's answer never takes the default instance's place.\n for (const answer of creatorInputs?.answers ?? []) answersByKey.set(creatorInputAnswerKey(answer.playbookRef, answer.questionRef, answer.instanceKey), answer);\n\n const entries: DossierEntry[] = [];\n const claimed = new Set<string>();\n const knownPlaybookRefs = new Set<string>();\n /* The whole parsed catalog first: what an answer affects is a question about every OTHER playbook. */\n /*\n * COMPUTED options resolved once for the whole listing (the brand-name choice is computed from the landed\n * screening): a row shows exactly the options its answer will be checked against. A question whose source\n * has not landed lists no options — its playbook is not eligible yet, so it is not asked now either.\n */\n const optionReads = await this.readElicitationOptionSources();\n const unavailableOptionsByPlaybook = new Map<string, ReadonlyMap<string, string>>();\n const catalog = listFrameworkKnowledgePlaybooks()\n .map((summary) => this.readParsedPlaybook(summary.ref))\n .filter((playbook): playbook is MetaWorkflowPlaybook => playbook !== undefined)\n .map((playbook) => {\n const materialized = materializeElicitationOptions(playbook, optionReads);\n unavailableOptionsByPlaybook.set(playbook.ref, materialized.unavailableOptions);\n return materialized.playbook;\n });\n /*\n * The state of a question's options, and the answer as it may still be READ: an answer to a computed\n * CHOICE that is no longer among its options would be refused by the run, so it is not carried as the\n * answer — the row reads as still needed and says why.\n */\n const optionsOf = (playbook: MetaWorkflowPlaybook, question: { readonly ref: string; readonly optionsFrom?: unknown; readonly options?: readonly string[] }, answer: ApplicationCreatorInputAnswer | undefined): { readonly optionsState: WorkbenchDossierEntryOptionsState; readonly answer: ApplicationCreatorInputAnswer | undefined } => {\n if (question.optionsFrom === undefined) return { optionsState: WorkbenchDossierEntryOptionsState.AVAILABLE, answer };\n if (unavailableOptionsByPlaybook.get(playbook.ref)?.has(question.ref)) return { optionsState: WorkbenchDossierEntryOptionsState.NOT_YET_AVAILABLE, answer };\n if (answer !== undefined && !(question.options ?? []).includes(answer.value)) return { optionsState: WorkbenchDossierEntryOptionsState.ANSWER_NO_LONGER_OFFERED, answer: undefined };\n return { optionsState: WorkbenchDossierEntryOptionsState.AVAILABLE, answer };\n };\n /*\n * Which fallback steps READ each owner's decision — the owner row carries them. A fallback holding\n * an answer of its own reads THAT answer (`readAnswersForPlaybookQuestions`: an own answer wins),\n * so it is not listed here: its interview shows its own row alone, and the owner's row neither\n * appears in that interview nor dates that step's result (#1454 review, LOW).\n */\n const sharedWith = new Map<string, string[]>();\n for (const playbook of catalog) {\n for (const question of playbook.method?.elicitation?.questions ?? []) {\n if (!question.sameDecisionAs) continue;\n if (answersByKey.has(creatorInputAnswerKey(playbook.ref, question.ref))) continue;\n const ownerKey = creatorInputAnswerKey(question.sameDecisionAs.playbookRef, question.sameDecisionAs.questionRef);\n sharedWith.set(ownerKey, [...(sharedWith.get(ownerKey) ?? []), playbook.ref]);\n }\n }\n /*\n * Only the questions of the playbooks this application's LINE runs (#1605): an internal tool is never\n * asked for its pricing tiers or its brand. An answer to a question outside the line is KEPT, neither\n * listed nor reported orphaned: it records a previous line's decision and returns if the line does.\n */\n const lineScope = resolveApplicationLineScope({ catalog: readCompiledApplicationLineCatalog(), creatorInputs });\n for (const playbook of catalog) {\n knownPlaybookRefs.add(playbook.ref);\n const questions = playbook.method?.elicitation?.questions ?? [];\n if (!lineScope.admittedPlaybookRefs.has(playbook.ref)) {\n for (const question of questions) claimed.add(creatorInputAnswerKey(playbook.ref, question.ref));\n continue;\n }\n const affectsFamilies = questions.length > 0 ? deriveAffectedFamilies(playbook.ref, catalog) : [];\n const ownFamily = playbook.outputs?.[0]?.family;\n const admittedFamily = (playbook.method?.choreography?.admits ?? [])\n .map((ref) => catalog.find((candidate) => candidate.ref === ref)?.outputs?.[0]?.family)\n .find((family): family is string => typeof family === 'string');\n const subjectFamily = ownFamily ?? admittedFamily ?? affectsFamilies[0];\n questions.forEach((question, position) => {\n const key = creatorInputAnswerKey(playbook.ref, question.ref);\n claimed.add(key);\n /*\n * A question that asks the SAME DECISION as another step's (#1454, gap 4 and its two reviews)\n * is ONE row, at the step that owns it. The owner's row names this step in\n * `sharedWithPlaybookRefs`, so this step's interview shows and answers THAT row (and\n * `recordAnswer` files an answer to the fallback under the owner), which is what keeps one\n * decision from being asked twice or answered two ways. The fallback's own row is listed only\n * when it carries an answer of its own — a legacy answer that wins for this step, and so must\n * be visible and changeable rather than overriding the owner's from nowhere.\n */\n if (question.sameDecisionAs !== undefined && !answersByKey.has(key)) return;\n const options = optionsOf(playbook, question, answersByKey.get(key));\n entries.push({\n playbookRef: playbook.ref,\n questionRef: question.ref,\n question: question.question,\n kind: String(question.kind),\n options: [...(question.options ?? [])],\n optionDetails: (question.optionDetails ?? []).map((entry) => ({ ...entry })),\n optionsState: options.optionsState,\n position,\n answer: options.answer,\n ...interviewQuestionDisposition(question),\n affectsFamilies,\n subjectFamily,\n sharedWithPlaybookRefs: sharedWith.get(key) ?? [],\n });\n });\n /*\n * Each OPENED INSTANCE of this playbook (#1609) asks its questions again, on its own rows: its answer\n * wins for that instance, and a question it leaves unanswered reads the default instance's row. A\n * shared decision is the default instance's and is not repeated per instance.\n */\n for (const activation of Object.values(creatorInputs?.activations ?? {})) {\n if (activation.playbookRef !== playbook.ref) continue;\n questions.forEach((question, position) => {\n if (question.sameDecisionAs !== undefined) return;\n const key = creatorInputAnswerKey(playbook.ref, question.ref, activation.instanceKey);\n claimed.add(key);\n /*\n * A CLOSED instance (#1608) asks nothing any more, so it has no rows. Its answers are still claimed:\n * they answered a real question of a real instance, and reporting them as orphaned would say otherwise.\n */\n if (activation.closure !== undefined) return;\n const options = optionsOf(playbook, question, answersByKey.get(key));\n entries.push({\n playbookRef: playbook.ref,\n instanceKey: activation.instanceKey,\n instancePurpose: activation.purpose,\n questionRef: question.ref,\n question: question.question,\n kind: String(question.kind),\n options: [...(question.options ?? [])],\n optionDetails: (question.optionDetails ?? []).map((entry) => ({ ...entry })),\n optionsState: options.optionsState,\n position,\n answer: options.answer,\n ...interviewQuestionDisposition(question),\n ...(answersByKey.has(key) ? {} : withStepAnswer(answersByKey.get(creatorInputAnswerKey(playbook.ref, question.ref)))),\n affectsFamilies,\n subjectFamily,\n sharedWithPlaybookRefs: [],\n });\n });\n }\n }\n const orphaned: OrphanedDossierAnswer[] = (creatorInputs?.answers ?? [])\n .filter((answer) => !claimed.has(creatorInputAnswerKey(answer.playbookRef, answer.questionRef, answer.instanceKey)))\n .map((answer) => ({ answer, reason: knownPlaybookRefs.has(answer.playbookRef) ? 'unknown_question' : 'unknown_playbook' }));\n return { entries, orphaned, interviewDepth: creatorInputs?.interviewDepth };\n }\n\n /**\n * Record one answer. Refuses — by name, as a `PlaybookElicitationError` the dispatch translates to\n * a 400 — an unknown playbook, a question the playbook does not ask, a CHOICE outside its options\n * or an ambiguous CONFIRM. Everything else lands, one dossier write at a time (#2179).\n */\n public async recordAnswer(input: RecordAnswerInput): Promise<RecordAnswerResult> {\n const specificationsPackageRoot = this.companionContext.resolvedSpecifications?.packageRoot;\n // No package: `landAnswer` refuses with its own message, and there is nothing to serialize.\n if (!specificationsPackageRoot) return this.landAnswer(input);\n return serializeDossierWrite(specificationsPackageRoot, () => this.landAnswer(input));\n }\n\n /**\n * {@link recordAnswer} without taking the dossier write queue: the caller must already hold it. The queue\n * is not re-entrant, so a method that files several answers takes it once and lands each through here.\n */\n private async landAnswer(input: RecordAnswerInput): Promise<RecordAnswerResult> {\n const specificationsPackageRoot = this.companionContext.resolvedSpecifications?.packageRoot;\n if (!specificationsPackageRoot) {\n throw new Error('No specifications package is declared in wildo.saas.config.ts; there is nowhere to land the dossier.');\n }\n const askingPlaybook = this.readParsedPlaybook(input.playbookRef);\n if (!askingPlaybook) {\n throw new PlaybookElicitationError(`No compiled playbook is registered under \"${input.playbookRef}\", so nothing asks \"${input.questionRef}\".`);\n }\n /*\n * An answer to a question that shares its decision with another step is filed under the OWNER\n * (#1454 review): one decision, one answer, whichever step asked it. The owner is resolved from\n * the catalog, never from the caller, and refused like any unknown playbook if it has gone.\n */\n const current = await this.readCreatorInputs();\n /*\n * ...UNLESS the fallback already holds an answer of its own (a legacy answer, listed on its own\n * row). That answer wins for its step, so a change made on that row must change THAT answer —\n * redirected to the owner, the save reported success while the step kept reading the old value\n * (third review, A1).\n */\n const declared = askingPlaybook.method?.elicitation?.questions?.find((question) => question.ref === input.questionRef)?.sameDecisionAs;\n const holdsOwnAnswer = (current?.answers ?? []).some((answer) => answer.playbookRef === input.playbookRef && answer.questionRef === input.questionRef\n && answer.instanceKey === input.instanceKey);\n // A shared decision is the DEFAULT instance's (#1609): an instance's answer stays its own.\n const shared = declared !== undefined && !holdsOwnAnswer && input.instanceKey === undefined ? declared : undefined;\n const playbook = shared ? this.readParsedPlaybook(shared.playbookRef) : askingPlaybook;\n if (!playbook) {\n throw new PlaybookElicitationError(`\"${input.questionRef}\" of \"${input.playbookRef}\" shares its decision with \"${shared?.playbookRef}\", which is no longer a compiled playbook.`);\n }\n const questionRef = shared ? shared.questionRef : input.questionRef;\n /*\n * Computed options are resolved HERE, against the families landed now, so a computed CHOICE is checked\n * against the list the person was shown. A source with nothing to offer is refused with its own reason\n * (e.g. \"no brand-name screening has landed yet\") rather than as an answer outside an empty list.\n */\n const computesOptions = playbook.method?.elicitation?.questions?.find((question) => question.ref === questionRef)?.optionsFrom !== undefined;\n const materialized = computesOptions\n ? materializeElicitationOptions(playbook, await this.readElicitationOptionSources())\n : { playbook, unavailableOptions: new Map<string, string>() };\n const unavailable = materialized.unavailableOptions.get(questionRef);\n if (unavailable !== undefined) throw new PlaybookElicitationError(`\"${questionRef}\" of \"${playbook.ref}\" cannot be answered yet: ${unavailable}`);\n const landed = await landCreatorInputAnswer({\n specificationsPackageRoot,\n constantPrefix: LANDED_CONSTANT_PREFIX,\n playbook: materialized.playbook,\n current,\n questionRef,\n ...(input.instanceKey !== undefined ? { instanceKey: input.instanceKey } : {}),\n value: input.value,\n answeredByRef: input.answeredByRef,\n ...(input.standing !== undefined ? { standing: input.standing } : {}),\n ...(input.assumptionRationale !== undefined ? { assumptionRationale: input.assumptionRationale } : {}),\n answeredAt: new Date().toISOString(),\n ...(input.dryRun === true ? { dryRun: true } : {}),\n });\n this.logDebug('Dossier answer recorded', {\n playbookRef: playbook.ref,\n questionRef,\n askedBy: input.playbookRef,\n packageRelativePath: landed.packageRelativePath,\n dryRun: input.dryRun === true,\n });\n return {\n answer: landed.answer,\n packageRelativePath: landed.packageRelativePath,\n /* What the step that ASKED still needs — the owner's answer now counts for it through the shared decision. */\n unansweredQuestionRefs: unansweredElicitationQuestionRefs(askingPlaybook, landed.creatorInputs),\n dryRun: input.dryRun === true,\n };\n }\n\n /**\n * FILE what a step's Run gate collected (#1454 review, LOW): each answer to a question the dossier\n * does NOT answer for that step yet is landed as {@link recordAnswer} lands it (`landAnswer`) — the same validation,\n * the same shared-decision filing, the same provenance — so the next run does not ask again and the\n * dossier stops saying \"still needed\" about a step that ran.\n *\n * Only the STILL-NEEDED ones. The run route's `elicitationAnswers` is also a per-run OVERRIDE of an\n * answer the dossier holds (Step 5: \"request answers override\"); filing an override would silently\n * rewrite a decision the creator made elsewhere, so an answered question's override stays an\n * override. A blank answer is not an answer and is left to the run, which names what is missing.\n *\n * Sequential on purpose: each answer re-reads the dossier it merges into, so two answers filed in\n * parallel would each land a file missing the other.\n *\n * The whole filing holds the dossier write queue ONCE (#2179), the \"still needed\" read included. Taken\n * per answer instead, a person's answer could land between that read and the filing, and the gate's\n * answer would then overwrite a decision the creator had just made: the override this method exists\n * never to file.\n */\n public async fileStillNeededAnswers(input: {\n readonly playbookRef: string;\n /** The instance the run is for (#1609): its pre-answers are filed as THAT instance's answers. */\n readonly instanceKey?: string;\n readonly answers: readonly { readonly questionRef: string; readonly answer: string }[];\n readonly answeredByRef: string;\n }): Promise<readonly string[]> {\n const playbook = this.readParsedPlaybook(input.playbookRef);\n if (!playbook) return [];\n const file = async (): Promise<readonly string[]> => {\n const stillNeeded = new Set(unansweredElicitationQuestionRefs(playbook, await this.readCreatorInputs(), input.instanceKey));\n const filed: string[] = [];\n for (const answer of input.answers) {\n if (!stillNeeded.has(answer.questionRef) || answer.answer.trim().length === 0) continue;\n await this.landAnswer({\n playbookRef: input.playbookRef,\n questionRef: answer.questionRef,\n value: answer.answer,\n answeredByRef: input.answeredByRef,\n ...(input.instanceKey !== undefined ? { instanceKey: input.instanceKey } : {}),\n });\n filed.push(answer.questionRef);\n }\n return filed;\n };\n const specificationsPackageRoot = this.companionContext.resolvedSpecifications?.packageRoot;\n return specificationsPackageRoot ? serializeDossierWrite(specificationsPackageRoot, file) : file();\n }\n\n /** The landed families a computed interview option is resolved from, read through the companion-exports aggregate. */\n private async readElicitationOptionSources(): Promise<ElicitationOptionsSourceReads> {\n try {\n return createCompanionExportsFamilyReader((await loadSpecificationsCompanionExports(this.companionContext)) as unknown as Readonly<Record<string, unknown>>);\n } catch (error) {\n /*\n * An aggregate that cannot be loaded reads as NOTHING LANDED, like every other family this service reads:\n * a computed question then offers no options and cannot be answered (it is refused with its reason), and\n * the rest of the dossier still lists. Throwing here would take the whole dossier down over one question.\n */\n this.logDebug('The specifications aggregate could not be loaded; computed interview options read as unavailable', { error: String(error) });\n return createCompanionExportsFamilyReader(undefined);\n }\n }\n\n /**\n * Record how deep this application's interviews go (#2129). A working edit in the dossier, like an answer,\n * and queued like one (#2179).\n */\n public async recordInterviewDepth(interviewDepth: ApplicationInterviewDepth): Promise<{ readonly interviewDepth: ApplicationInterviewDepth; readonly packageRelativePath: string }> {\n const specificationsPackageRoot = this.companionContext.resolvedSpecifications?.packageRoot;\n if (!specificationsPackageRoot) {\n throw new Error('No specifications package is declared in wildo.saas.config.ts; there is nowhere to land the dossier.');\n }\n const landed = await serializeDossierWrite(specificationsPackageRoot, async () => landInterviewDepth({\n specificationsPackageRoot,\n constantPrefix: LANDED_CONSTANT_PREFIX,\n current: await this.readCreatorInputs(),\n interviewDepth,\n }));\n this.logDebug('Interview depth recorded', { interviewDepth, packageRelativePath: landed.packageRelativePath });\n return { interviewDepth, packageRelativePath: landed.packageRelativePath };\n }\n\n /**\n * One playbook as an answer to it is checked: parsed from the compiled catalog, with its COMPUTED options\n * resolved against what has landed now — the list a person is shown and a proposal must choose from\n * (#2129). `undefined` when the catalog holds no such playbook.\n */\n public async readAnswerablePlaybook(playbookRef: string): Promise<MetaWorkflowPlaybook | undefined> {\n const playbook = this.readParsedPlaybook(playbookRef);\n if (!playbook) return undefined;\n const computesOptions = (playbook.method?.elicitation?.questions ?? []).some((question) => question.optionsFrom !== undefined);\n return computesOptions ? materializeElicitationOptions(playbook, await this.readElicitationOptionSources()).playbook : playbook;\n }\n\n /**\n * Each interview question's depth and whether it may be proposed (#2129), keyed `<playbookRef>#<questionRef>`\n * — what the console queue tells a surface so it can run a simple interview. Computed options are resolved\n * first, so a computed CHOICE with nothing to offer yet reads as not proposable.\n */\n public async readInterviewQuestionDispositions(): Promise<ReadonlyMap<string, InterviewQuestionDisposition>> {\n const dispositions = new Map<string, InterviewQuestionDisposition>();\n for (const listed of this.listInterviewPlaybooks()) {\n const playbook = (await this.readAnswerablePlaybook(listed.ref)) ?? listed;\n for (const question of playbook.method?.elicitation?.questions ?? []) {\n dispositions.set(`${playbook.ref}#${question.ref}`, interviewQuestionDisposition(question));\n }\n }\n return dispositions;\n }\n\n /** Every compiled playbook that declares an interview — the question texts a proposal reads the dossier through. */\n public listInterviewPlaybooks(): readonly MetaWorkflowPlaybook[] {\n return listFrameworkKnowledgePlaybooks()\n .map((entry) => this.readParsedPlaybook(entry.ref))\n .filter((playbook): playbook is MetaWorkflowPlaybook => (playbook?.method?.elicitation?.questions?.length ?? 0) > 0);\n }\n\n /** A catalog entry that does not satisfy its own contract is skipped, never fatal — one malformed playbook must not hide the rest. */\n private readParsedPlaybook(playbookRef: string): MetaWorkflowPlaybook | undefined {\n const hydrated = getFrameworkKnowledgePlaybook(playbookRef);\n if (!hydrated) return undefined;\n const parsed = MetaWorkflowPlaybookSchema.safeParse(hydrated.playbook);\n return parsed.success ? parsed.data : undefined;\n }\n}\n\n/** Spread onto an instance's row: the step's own answer, when it has one. */\nfunction withStepAnswer(answer: ApplicationCreatorInputAnswer | undefined): { readonly answerFromTheStep?: ApplicationCreatorInputAnswer } {\n return answer === undefined ? {} : { answerFromTheStep: answer };\n}\n"]}
|
package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"engine-settings-destination-catalog.companion.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"engine-settings-destination-catalog.companion.d.ts","sourceRoot":"","sources":["../../../../src/meta-workflows/services/engine-settings-destination-catalog.companion.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAgB,qCAAqC,IAAI,SAAS,MAAM,EAAE,CAoCzE"}
|
package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"engine-settings-destination-catalog.companion.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"engine-settings-destination-catalog.companion.js","sourceRoot":"","sources":["../../../../src/meta-workflows/services/engine-settings-destination-catalog.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,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AAC,iBAAiB,WAAW,CAAC,oBAAoB,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;aACrG,CAAC;YACF,OAAO,OAAO,WAAW,CAAC,GAAG,QAAQ,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;QACxH,CAAC,CAAC;QACF,EAAE;QACF,iGAAiG;QACjG,qEAAqE;KACtE,CAAC;AACJ,CAAC","sourcesContent":["import { ENGINE_SETTINGS_DESTINATIONS, SettingsSectionTargetKind } from '@wildo-ai/saas-frontend-lib/companion';\n\n/**\n * The settings destinations the ENGINE ships, rendered for a planner (#1435).\n *\n * `bottom_up.placement-plan` decides where each settings destination sits, and its own declaration\n * says why it needs them: *\"A planner working from the definition artifacts alone invents destination\n * refs that resolve to nothing, and every decision it emits is unplaceable.\"* The composer never\n * delivered them. So the method told the model the refs \"come from the engine catalog and the\n * workspace, read as workspace truth\", the workspace-truth section rendered modules, resources and\n * fields, and the model had to recall sixteen ids it had never been shown.\n *\n * It fails LOUDLY, which is the one mercy: `UNKNOWN_SUBJECT` is a HARD FLOOR in the semantic\n * authority, and `ENGINE_SETTINGS_DESTINATION` is the only subject kind whose universe anyone holds\n * — the authority passes exactly this vocabulary. So an invented ref refuses the landing rather than\n * placing something that never renders. What it cost was every run that hit it.\n *\n * There is a second, quieter gain. Claiming the kind also switches on `SUBJECT_NOT_DECIDED`, one\n * warning per destination the plan says nothing about — so a planner that can SEE the sixteen can\n * rule on all of them, and a plan that deliberately covers three says so instead of appearing\n * forgetful.\n *\n * ## What is rendered, and what is not\n *\n * The ref and what the destination SHOWS — a resource operation, an engine panel, a set of sub-tabs\n * — plus its role and feature gating. That is the planner's input: it decides where a destination\n * sits, never what it means, and the target is what tells it which rail a destination belongs on.\n *\n * NO LABEL, and that is not an omission: a destination's words come from\n * `settings_hub.sections.<ref>.label` in the i18n tree, and the catalogue carries none. Inventing\n * one here from the ref would be the humanized-fallback defect\n * (`.claude/rules/display-text-comes-from-i18n.md`) in a brief instead of a UI.\n *\n * TOTAL over the shipped catalogue rather than a hand-kept list, so a destination added tomorrow\n * reaches the planner by existing — the property `derive-before-you-ask.md` rule 3 asks for.\n */\nexport function composeEngineSettingsDestinationLines(): readonly string[] {\n const describeTarget = (destination: (typeof ENGINE_SETTINGS_DESTINATIONS)[number]): string => {\n const target = destination.target;\n switch (target.kind) {\n case SettingsSectionTargetKind.RESOURCE_OPERATION:\n return `shows the \\`${String(target.resourceType)}\\` resource's \\`${String(target.operation)}\\` operation`;\n case SettingsSectionTargetKind.ENGINE_PANEL:\n return `shows the engine panel \\`${String(target.panelRef)}\\``;\n default: {\n // SUB_TABS and whatever a later engine revision adds. Counted rather than named, because the\n // planner places the DESTINATION and a sub-tab is internal to it.\n const subTabs = (target as { readonly subTabs?: readonly unknown[] }).subTabs;\n return Array.isArray(subTabs)\n ? `groups ${subTabs.length} sub-tab(s)`\n : `target kind \\`${String(target.kind)}\\``;\n }\n }\n };\n\n return [\n '## Settings destinations the engine ships (the CLOSED vocabulary a placement may name)',\n 'These refs are the whole universe for an engine settings destination. A ref that is not one of',\n 'them resolves to nothing and the placement validator REFUSES the plan — it is a hard floor, not a',\n 'warning. Do not invent one, and do not rename one.',\n '',\n ...ENGINE_SETTINGS_DESTINATIONS.map((destination) => {\n const gates = [\n ...(destination.requiredRoles?.length ? [`roles: ${destination.requiredRoles.join(', ')}`] : []),\n ...(destination.entitlementFeatureId ? [`entitled by \\`${destination.entitlementFeatureId}\\``] : []),\n ];\n return `- \\`${destination.ref}\\` — ${describeTarget(destination)}${gates.length > 0 ? ` (${gates.join('; ')})` : ''}`;\n }),\n '',\n 'An application may also place its own resource operations and views. Those are NOT in this list',\n 'and are not checked against it — only an engine destination ref is.',\n ];\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execution-trace-read.companion.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"execution-trace-read.companion.service.d.ts","sourceRoot":"","sources":["../../../../src/meta-workflows/services/execution-trace-read.companion.service.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAI7E,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,iDAAiD;IACjD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,qGAAqG;IACrG,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,iGAAiG;IACjG,QAAQ,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC;CAC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,CAAC,MAAM,IAAI,CAAC,kBAAkB,CAAC,SAAS,EAAE,OAAO,EAAE,WAAW,CAAC,CAAC,CAAC,IAAI,EAAE;SACnF,CAAC,CAAC,CAAC,CAAC;IACP,CAAC;CACF,CAAA;AAhPY,kCAAkC;IAD9C,UAAU,EAAE;IAGR,WAAA,MAAM,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAA;;GAFxC,kCAAkC,CAgP9C","sourcesContent":["import { readdir, readFile, realpath, stat } from 'node:fs/promises';\nimport { isAbsolute, join, relative, sep } from 'node:path';\n\nimport { inject, injectable } from 'inversify';\n\nimport { resolveAppLayout } from '@wildo-ai/platform-config-lib';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\nimport { CompanionTraceAliasKind } from '../../core/traceability/companion-traceability.models';\nimport { sanitizeTraceName } from '../../core/traceability/companion-traceability.service';\n\nexport interface ExecutionTraceSessionSummary {\n readonly sessionId: string;\n readonly startedAt: string;\n readonly label: string | null;\n readonly eventCount: number;\n readonly stepCount: number;\n}\n\nexport interface ExecutionTraceEvent {\n readonly timestamp: string;\n readonly type: string;\n readonly summary: string;\n readonly stepId?: string;\n readonly payload?: unknown;\n}\n\n/**\n * What a session spent, in TOKENS. Never a currency amount — see `summarizeSessionUsage` for why.\n */\nexport interface ExecutionTraceUsageSummary {\n readonly sessionId: string;\n /** Agent calls found in the session's events. */\n readonly agentCalls: number;\n /** How many of those carried no usage — the reason a total can be a floor rather than the figure. */\n readonly callsWithoutUsage: number;\n readonly promptTokens: number;\n readonly completionTokens: number;\n readonly totalTokens: number;\n}\n\nexport interface ExecutionTraceStep {\n readonly stepDirName: string;\n /** File names only — a listing, not the bodies. One answer artifact can be tens of kilobytes. */\n readonly artifacts: readonly string[];\n}\n\nexport interface ExecutionTraceSession extends ExecutionTraceSessionSummary {\n readonly events: readonly ExecutionTraceEvent[];\n readonly steps: readonly ExecutionTraceStep[];\n}\n\nexport class ExecutionTraceNotFoundError extends Error {}\n\n/**\n * Read what a run recorded — the half that makes a trace a trace.\n *\n * Two write-only journal streams were deleted on 2026-08-24 for having no reader. The events this serves\n * are written by the same kind of code, and the difference is exactly this service: it shipped in the same\n * change as the writer, so \"a person can read it\" was true on day one rather than promised.\n *\n * It is READ-ONLY and takes no session identity from the caller beyond the id it is asked for — resolved\n * against the companion's own logs home, and refusing any id that is not a plain session directory name, so\n * a request cannot walk out of the tree it is allowed to read.\n */\n@injectable()\nexport class ExecutionTraceReadCompanionService {\n public constructor(\n @inject(COMPANION_SERVICE_TYPES.CompanionContext) private readonly companionContext: CompanionContext,\n ) {}\n\n public async listSessions(limit = 50): Promise<readonly ExecutionTraceSessionSummary[]> {\n const names = await this.readTraceDirectory();\n // Session directory names are `dev-<ISO-ish timestamp>-<suffix>`, so lexical DESC is chronological.\n const newestFirst = names.filter((name) => name.startsWith('dev-')).sort().reverse().slice(0, limit);\n const summaries = await Promise.all(newestFirst.map((name) => this.summarize(name)));\n return summaries.filter((entry): entry is ExecutionTraceSessionSummary => entry !== null);\n }\n\n /**\n * Every confined session directory name, unbounded and without per-session summary reads.\n * Directory entries are resolved to enforce the same boundary as addressed reads.\n *\n * Exists for JOIN resolution (a write record's runId → its session by longest-prefix match):\n * bounding that lookup with the display limit made records older than the newest N silently\n * lose their trace link, which is a correctness question the display bound has no business\n * answering (completion-review finding 11a).\n */\n public async listSessionIds(): Promise<readonly string[]> {\n const names = await this.readTraceDirectory();\n return names.filter((name) => name.startsWith('dev-'));\n }\n\n /**\n * ONE session's summary, addressed — for the read of a session the bounded listing no longer holds.\n *\n * `listSessions` is display-bounded to the newest N, and a development companion records a session\n * per request: thousands a day. A run's trace therefore leaves the listing within hours while its\n * write record still links to it. `null` when the id names no session; the id is confined to the\n * sessions root by the same path resolution every addressed read uses.\n */\n public async summarizeSession(sessionId: string): Promise<ExecutionTraceSessionSummary | null> {\n if (!sessionId.startsWith('dev-')) return null;\n return this.summarize(sessionId).catch(() => null);\n }\n\n public async readSession(sessionId: string): Promise<ExecutionTraceSession> {\n const sessionDir = await this.resolveTracePath(sessionId);\n const exists = await stat(sessionDir).then((entry) => entry.isDirectory(), () => false);\n if (!exists) throw new ExecutionTraceNotFoundError(`No trace session \"${sessionId}\".`);\n\n const summary = await this.summarize(sessionId);\n if (!summary) throw new ExecutionTraceNotFoundError(`Trace session \"${sessionId}\" has no readable session record.`);\n return { ...summary, events: await this.readEvents(sessionId), steps: await this.readSteps(sessionId) };\n }\n\n /**\n * What one session SPENT — summed from the agent-call events already on disk (#1274).\n *\n * ## The issue said nothing records this. Something does.\n *\n * `#1274` reported \"no cost, at any layer… nothing in the companion or the creation runtime records\n * what a run spent. A sweep of both trees returns only `maxOutputTokens`.\" That sweep searched\n * SOURCE for a cost field and missed the producer, which is not a field but a SINK:\n * `CompanionAgentCallTraceSink.recordAgentCall` writes `trace.context.usage` into this session's\n * `events.ndjson` on every agent call. Measured on Wonder CRM before writing this: 2,887 event\n * files carry a `usage` object, with real `promptTokens` / `completionTokens` / `totalTokens`.\n *\n * So this is a DERIVATION over data that already exists, not a new producer — which is why it is a\n * read on the trace service rather than a change to how runs execute.\n *\n * ## Why `complete` is carried rather than assumed\n *\n * Two things make a total an understatement, and both are silent:\n *\n * - the sink writes at `DEBUG`, so a session recorded at a lower traceability level has agent\n * calls whose usage was never written;\n * - a provider may answer without usage at all, which the engine marks per call\n * (`tokenUsageComplete`).\n *\n * A number presented as \"what this run cost\" that is quietly a floor is worse than no number, so\n * the caller is told how many calls contributed and whether any lacked usage. `callsWithoutUsage`\n * is the honest half of the answer.\n *\n * No price. Tokens are what the trace records; a currency amount would need a per-model rate card\n * this repository does not have, and inventing one would put a fabricated number where an operator\n * expects a measured one.\n */\n public async summarizeSessionUsage(sessionId: string): Promise<ExecutionTraceUsageSummary> {\n const events = await this.readEvents(sessionId);\n let promptTokens = 0;\n let completionTokens = 0;\n let totalTokens = 0;\n let agentCalls = 0;\n let callsWithoutUsage = 0;\n\n for (const event of events) {\n /* The sink types these `agent-call-<outcome>`; a failed call still spent its prompt. */\n if (!event.type.startsWith('agent-call')) continue;\n agentCalls += 1;\n const usage = (event.payload as { usage?: Record<string, unknown> } | undefined)?.usage;\n if (!usage || typeof usage !== 'object') { callsWithoutUsage += 1; continue; }\n const read = (key: string): number => (typeof usage[key] === 'number' ? usage[key] as number : 0);\n const prompt = read('promptTokens');\n const completion = read('completionTokens');\n /* `totalTokens` is the provider's own figure where it gave one; otherwise the two halves. */\n const total = read('totalTokens') || prompt + completion;\n if (prompt === 0 && completion === 0 && total === 0) { callsWithoutUsage += 1; continue; }\n promptTokens += prompt;\n completionTokens += completion;\n totalTokens += total;\n }\n\n return { sessionId, agentCalls, callsWithoutUsage, promptTokens, completionTokens, totalTokens };\n }\n\n /** One artifact's body, by session and step and file name. The bodies are why the trace is worth keeping. */\n public async readArtifact(sessionId: string, stepDirName: string, fileName: string): Promise<string> {\n return this.readTraceFile(sessionId, 'steps', stepDirName, fileName).catch(() => {\n throw new ExecutionTraceNotFoundError(`No artifact \"${fileName}\" in step \"${stepDirName}\" of session \"${sessionId}\".`);\n });\n }\n\n /**\n * The trace sessions one ACTOR TASK ran in, latest first (#1328).\n *\n * A coding run registers its trace session under an alias keyed by the durable task id\n * (`CompanionTraceAliasKind.ACTOR_TASK`), so the join from a task to what it recorded — its compiled\n * input prompt, the agent's whole output, its change set — already exists on disk. This reads it,\n * rather than stamping a second copy of the session id onto the task row: the alias is what the\n * writer maintains, including for a run that resumed into a second session.\n *\n * An alias nobody wrote is NOT an error — a task the coding lane never ran has none, which is the\n * ordinary case — so it answers the empty list. Every id returned is one this service can itself\n * read: an alias naming a session outside the sessions root, or one that no longer exists, is\n * dropped, so the alias file cannot widen what the trace boundary admits.\n */\n // assurance-control: WILDO.SECURITY.FAIL_CLOSED — the alias is confined to its own root and every session it names is re-checked against the trace boundary.\n public async listActorTaskSessionIds(taskId: string): Promise<readonly string[]> {\n const aliasesRoot = join(resolveAppLayout(this.companionContext.saasRoot).companionLogsHome, 'aliases', CompanionTraceAliasKind.ACTOR_TASK);\n let raw: string;\n try {\n const root = await realpath(aliasesRoot);\n const target = await realpath(join(root, `${sanitizeTraceName(taskId)}.json`));\n const offset = relative(root, target);\n if (isAbsolute(offset) || offset === '..' || offset.startsWith(`..${sep}`)) return [];\n raw = await readFile(target, 'utf8');\n } catch { return []; }\n let record: unknown;\n try { record = JSON.parse(raw); } catch { return []; }\n if (typeof record !== 'object' || record === null) return [];\n const bag = record as Record<string, unknown>;\n /*\n * A single-session alias serializes `latestSession` and `sessions[0]` as the string \"[Circular]\"\n * (they ARE `canonicalSession`), so only entries that are objects carry an id of their own.\n */\n const sessionIdOf = (value: unknown): string | null => (typeof value === 'object' && value !== null && typeof (value as Record<string, unknown>).sessionId === 'string'\n ? (value as Record<string, unknown>).sessionId as string\n : null);\n const named = [sessionIdOf(bag.latestSession), ...(Array.isArray(bag.sessions) ? [...bag.sessions].reverse().map(sessionIdOf) : []), sessionIdOf(bag.canonicalSession)]\n .filter((sessionId): sessionId is string => sessionId !== null);\n const readable: string[] = [];\n for (const sessionId of [...new Set(named)]) {\n if (await this.summarize(sessionId).catch(() => null)) readable.push(sessionId);\n }\n return readable;\n }\n\n /**\n * One boundary for every trace read, including files discovered through directory listings.\n * Names cannot select parent directories. Resolve symbolic links before checking confinement,\n * then read the resolved target. Links inside this application's sessions root are permitted;\n * this is an application-log boundary, not isolation between individual trace sessions.\n */\n // assurance-control: WILDO.SECURITY.FAIL_CLOSED — reject invalid names and unresolved or escaped trace targets before reading.\n private async resolveTracePath(...names: string[]): Promise<string> {\n if (names.some(name => !/^[A-Za-z0-9._-]+$/.test(name) || name === '.' || name === '..')) {\n throw new ExecutionTraceNotFoundError('Invalid trace path component.');\n }\n try {\n const root = await realpath(this.sessionsRoot());\n const target = await realpath(join(root, ...names));\n const offset = relative(root, target);\n if (isAbsolute(offset) || offset === '..' || offset.startsWith(`..${sep}`)) {\n throw new ExecutionTraceNotFoundError('Trace target is outside the application trace root.');\n }\n return target;\n } catch {\n throw new ExecutionTraceNotFoundError('Trace target is unavailable.');\n }\n }\n\n private async readTraceFile(...names: string[]): Promise<string> {\n return readFile(await this.resolveTracePath(...names), 'utf8');\n }\n\n /** Do not advertise escaped links, even when the caller only asks for a directory listing. */\n private async readTraceDirectory(...names: string[]): Promise<string[]> {\n try {\n const entries = await readdir(await this.resolveTracePath(...names));\n const checked = await Promise.all(entries.map(async name => {\n try { await this.resolveTracePath(...names, name); return name; }\n catch { return null; }\n }));\n return checked.filter((name): name is string => name !== null);\n } catch { return []; }\n }\n\n private sessionsRoot(): string {\n return join(resolveAppLayout(this.companionContext.saasRoot).companionLogsHome, 'sessions');\n }\n\n private async summarize(sessionId: string): Promise<ExecutionTraceSessionSummary | null> {\n const record = await this.readTraceFile(sessionId, 'session.json').then(\n (raw) => JSON.parse(raw) as Record<string, unknown>,\n () => null,\n );\n if (!record) return null;\n const events = await this.readEvents(sessionId);\n const steps = await this.readTraceDirectory(sessionId, 'steps');\n return {\n sessionId,\n startedAt: typeof record.startedAt === 'string' ? record.startedAt : '',\n label: typeof record.label === 'string' ? record.label : null,\n eventCount: events.length,\n stepCount: steps.length,\n };\n }\n\n private async readEvents(sessionId: string): Promise<readonly ExecutionTraceEvent[]> {\n const raw = await this.readTraceFile(sessionId, 'events.ndjson').catch(() => '');\n return raw\n .split('\\n')\n .filter((line) => line.trim().length > 0)\n .flatMap((line) => {\n try { return [JSON.parse(line) as ExecutionTraceEvent]; } catch { return []; }\n });\n }\n\n private async readSteps(sessionId: string): Promise<readonly ExecutionTraceStep[]> {\n const stepNames = await this.readTraceDirectory(sessionId, 'steps');\n return Promise.all(stepNames.sort().map(async (stepDirName) => ({\n stepDirName,\n artifacts: (await this.readTraceDirectory(sessionId, 'steps', stepDirName)).sort(),\n })));\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"execution-trace-read.companion.service.js","sourceRoot":"","sources":["../../../../src/meta-workflows/services/execution-trace-read.companion.service.ts"],"names":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EAAE,OAAO,EAAE,WAAW,CAAC,CAAC,CAAC,IAAI,EAAE;SACnF,CAAC,CAAC,CAAC,CAAC;IACP,CAAC;CACF,CAAA;AAhPY,kCAAkC;IAD9C,UAAU,EAAE;IAGR,WAAA,MAAM,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAA;;GAFxC,kCAAkC,CAgP9C","sourcesContent":["import { readdir, readFile, realpath, stat } from 'node:fs/promises';\nimport { isAbsolute, join, relative, sep } from 'node:path';\n\nimport { inject, injectable } from 'inversify';\n\nimport { resolveAppLayout } from '@wildo-ai/platform-config-lib';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\nimport { CompanionTraceAliasKind } from '../../core/traceability/companion-traceability.models';\nimport { sanitizeTraceName } from '../../core/traceability/companion-traceability.service';\n\nexport interface ExecutionTraceSessionSummary {\n readonly sessionId: string;\n readonly startedAt: string;\n readonly label: string | null;\n readonly eventCount: number;\n readonly stepCount: number;\n}\n\nexport interface ExecutionTraceEvent {\n readonly timestamp: string;\n readonly type: string;\n readonly summary: string;\n readonly stepId?: string;\n readonly payload?: unknown;\n}\n\n/**\n * What a session spent, in TOKENS. Never a currency amount — see `summarizeSessionUsage` for why.\n */\nexport interface ExecutionTraceUsageSummary {\n readonly sessionId: string;\n /** Agent calls found in the session's events. */\n readonly agentCalls: number;\n /** How many of those carried no usage — the reason a total can be a floor rather than the figure. */\n readonly callsWithoutUsage: number;\n readonly promptTokens: number;\n readonly completionTokens: number;\n readonly totalTokens: number;\n}\n\nexport interface ExecutionTraceStep {\n readonly stepDirName: string;\n /** File names only — a listing, not the bodies. One answer artifact can be tens of kilobytes. */\n readonly artifacts: readonly string[];\n}\n\nexport interface ExecutionTraceSession extends ExecutionTraceSessionSummary {\n readonly events: readonly ExecutionTraceEvent[];\n readonly steps: readonly ExecutionTraceStep[];\n}\n\nexport class ExecutionTraceNotFoundError extends Error {}\n\n/**\n * Read what a run recorded — the half that makes a trace a trace.\n *\n * Two write-only journal streams were deleted on 2026-08-24 for having no reader. The events this serves\n * are written by the same kind of code, and the difference is exactly this service: it shipped in the same\n * change as the writer, so \"a person can read it\" was true on day one rather than promised.\n *\n * It is READ-ONLY and takes no session identity from the caller beyond the id it is asked for — resolved\n * against the companion's own logs home, and refusing any id that is not a plain session directory name, so\n * a request cannot walk out of the tree it is allowed to read.\n */\n@injectable()\nexport class ExecutionTraceReadCompanionService {\n public constructor(\n @inject(COMPANION_SERVICE_TYPES.CompanionContext) private readonly companionContext: CompanionContext,\n ) {}\n\n public async listSessions(limit = 50): Promise<readonly ExecutionTraceSessionSummary[]> {\n const names = await this.readTraceDirectory();\n // Session directory names are `dev-<ISO-ish timestamp>-<suffix>`, so lexical DESC is chronological.\n const newestFirst = names.filter((name) => name.startsWith('dev-')).sort().reverse().slice(0, limit);\n const summaries = await Promise.all(newestFirst.map((name) => this.summarize(name)));\n return summaries.filter((entry): entry is ExecutionTraceSessionSummary => entry !== null);\n }\n\n /**\n * Every confined session directory name, unbounded and without per-session summary reads.\n * Directory entries are resolved to enforce the same boundary as addressed reads.\n *\n * Exists for JOIN resolution (a write record's runId → its session by longest-prefix match):\n * bounding that lookup with the display limit made records older than the newest N silently\n * lose their trace link, which is a correctness question the display bound has no business\n * answering (completion-review finding 11a).\n */\n public async listSessionIds(): Promise<readonly string[]> {\n const names = await this.readTraceDirectory();\n return names.filter((name) => name.startsWith('dev-'));\n }\n\n /**\n * ONE session's summary, addressed — for the read of a session the bounded listing no longer holds.\n *\n * `listSessions` is display-bounded to the newest N, and a development companion records a session\n * per request: thousands a day. A run's trace therefore leaves the listing within hours while its\n * write record still links to it. `null` when the id names no session; the id is confined to the\n * sessions root by the same path resolution every addressed read uses.\n */\n public async summarizeSession(sessionId: string): Promise<ExecutionTraceSessionSummary | null> {\n if (!sessionId.startsWith('dev-')) return null;\n return this.summarize(sessionId).catch(() => null);\n }\n\n public async readSession(sessionId: string): Promise<ExecutionTraceSession> {\n const sessionDir = await this.resolveTracePath(sessionId);\n const exists = await stat(sessionDir).then((entry) => entry.isDirectory(), () => false);\n if (!exists) throw new ExecutionTraceNotFoundError(`No trace session \"${sessionId}\".`);\n\n const summary = await this.summarize(sessionId);\n if (!summary) throw new ExecutionTraceNotFoundError(`Trace session \"${sessionId}\" has no readable session record.`);\n return { ...summary, events: await this.readEvents(sessionId), steps: await this.readSteps(sessionId) };\n }\n\n /**\n * What one session SPENT — summed from the agent-call events already on disk (#1274).\n *\n * ## The issue said nothing records this. Something does.\n *\n * `#1274` reported \"no cost, at any layer… nothing in the companion or the creation runtime records\n * what a run spent. A sweep of both trees returns only `maxOutputTokens`.\" That sweep searched\n * SOURCE for a cost field and missed the producer, which is not a field but a SINK:\n * `CompanionAgentCallTraceSink.recordAgentCall` writes `trace.context.usage` into this session's\n * `events.ndjson` on every agent call. Measured on Wonder CRM before writing this: 2,887 event\n * files carry a `usage` object, with real `promptTokens` / `completionTokens` / `totalTokens`.\n *\n * So this is a DERIVATION over data that already exists, not a new producer — which is why it is a\n * read on the trace service rather than a change to how runs execute.\n *\n * ## Why `complete` is carried rather than assumed\n *\n * Two things make a total an understatement, and both are silent:\n *\n * - the sink writes at `DEBUG`, so a session recorded at a lower traceability level has agent\n * calls whose usage was never written;\n * - a provider may answer without usage at all, which the engine marks per call\n * (`tokenUsageComplete`).\n *\n * A number presented as \"what this run cost\" that is quietly a floor is worse than no number, so\n * the caller is told how many calls contributed and whether any lacked usage. `callsWithoutUsage`\n * is the honest half of the answer.\n *\n * No price. Tokens are what the trace records; a currency amount would need a per-model rate card\n * this repository does not have, and inventing one would put a fabricated number where an operator\n * expects a measured one.\n */\n public async summarizeSessionUsage(sessionId: string): Promise<ExecutionTraceUsageSummary> {\n const events = await this.readEvents(sessionId);\n let promptTokens = 0;\n let completionTokens = 0;\n let totalTokens = 0;\n let agentCalls = 0;\n let callsWithoutUsage = 0;\n\n for (const event of events) {\n /* The sink types these `agent-call-<outcome>`; a failed call still spent its prompt. */\n if (!event.type.startsWith('agent-call')) continue;\n agentCalls += 1;\n const usage = (event.payload as { usage?: Record<string, unknown> } | undefined)?.usage;\n if (!usage || typeof usage !== 'object') { callsWithoutUsage += 1; continue; }\n const read = (key: string): number => (typeof usage[key] === 'number' ? usage[key] as number : 0);\n const prompt = read('promptTokens');\n const completion = read('completionTokens');\n /* `totalTokens` is the provider's own figure where it gave one; otherwise the two halves. */\n const total = read('totalTokens') || prompt + completion;\n if (prompt === 0 && completion === 0 && total === 0) { callsWithoutUsage += 1; continue; }\n promptTokens += prompt;\n completionTokens += completion;\n totalTokens += total;\n }\n\n return { sessionId, agentCalls, callsWithoutUsage, promptTokens, completionTokens, totalTokens };\n }\n\n /** One artifact's body, by session and step and file name. The bodies are why the trace is worth keeping. */\n public async readArtifact(sessionId: string, stepDirName: string, fileName: string): Promise<string> {\n return this.readTraceFile(sessionId, 'steps', stepDirName, fileName).catch(() => {\n throw new ExecutionTraceNotFoundError(`No artifact \"${fileName}\" in step \"${stepDirName}\" of session \"${sessionId}\".`);\n });\n }\n\n /**\n * The trace sessions one ACTOR TASK ran in, latest first (#1328).\n *\n * A coding run registers its trace session under an alias keyed by the durable task id\n * (`CompanionTraceAliasKind.ACTOR_TASK`), so the join from a task to what it recorded — its compiled\n * input prompt, the agent's whole output, its change set — already exists on disk. This reads it,\n * rather than stamping a second copy of the session id onto the task row: the alias is what the\n * writer maintains, including for a run that resumed into a second session.\n *\n * An alias nobody wrote is NOT an error — a task the coding lane never ran has none, which is the\n * ordinary case — so it answers the empty list. Every id returned is one this service can itself\n * read: an alias naming a session outside the sessions root, or one that no longer exists, is\n * dropped, so the alias file cannot widen what the trace boundary admits.\n */\n // assurance-control: WILDO.SECURITY.FAIL_CLOSED — the alias is confined to its own root and every session it names is re-checked against the trace boundary.\n public async listActorTaskSessionIds(taskId: string): Promise<readonly string[]> {\n const aliasesRoot = join(resolveAppLayout(this.companionContext.saasRoot).companionLogsHome, 'aliases', CompanionTraceAliasKind.ACTOR_TASK);\n let raw: string;\n try {\n const root = await realpath(aliasesRoot);\n const target = await realpath(join(root, `${sanitizeTraceName(taskId)}.json`));\n const offset = relative(root, target);\n if (isAbsolute(offset) || offset === '..' || offset.startsWith(`..${sep}`)) return [];\n raw = await readFile(target, 'utf8');\n } catch { return []; }\n let record: unknown;\n try { record = JSON.parse(raw); } catch { return []; }\n if (typeof record !== 'object' || record === null) return [];\n const bag = record as Record<string, unknown>;\n /*\n * A single-session alias serializes `latestSession` and `sessions[0]` as the string \"[Circular]\"\n * (they ARE `canonicalSession`), so only entries that are objects carry an id of their own.\n */\n const sessionIdOf = (value: unknown): string | null => (typeof value === 'object' && value !== null && typeof (value as Record<string, unknown>).sessionId === 'string'\n ? (value as Record<string, unknown>).sessionId as string\n : null);\n const named = [sessionIdOf(bag.latestSession), ...(Array.isArray(bag.sessions) ? [...bag.sessions].reverse().map(sessionIdOf) : []), sessionIdOf(bag.canonicalSession)]\n .filter((sessionId): sessionId is string => sessionId !== null);\n const readable: string[] = [];\n for (const sessionId of [...new Set(named)]) {\n if (await this.summarize(sessionId).catch(() => null)) readable.push(sessionId);\n }\n return readable;\n }\n\n /**\n * One boundary for every trace read, including files discovered through directory listings.\n * Names cannot select parent directories. Resolve symbolic links before checking confinement,\n * then read the resolved target. Links inside this application's sessions root are permitted;\n * this is an application-log boundary, not isolation between individual trace sessions.\n */\n // assurance-control: WILDO.SECURITY.FAIL_CLOSED — reject invalid names and unresolved or escaped trace targets before reading.\n private async resolveTracePath(...names: string[]): Promise<string> {\n if (names.some(name => !/^[A-Za-z0-9._-]+$/.test(name) || name === '.' || name === '..')) {\n throw new ExecutionTraceNotFoundError('Invalid trace path component.');\n }\n try {\n const root = await realpath(this.sessionsRoot());\n const target = await realpath(join(root, ...names));\n const offset = relative(root, target);\n if (isAbsolute(offset) || offset === '..' || offset.startsWith(`..${sep}`)) {\n throw new ExecutionTraceNotFoundError('Trace target is outside the application trace root.');\n }\n return target;\n } catch {\n throw new ExecutionTraceNotFoundError('Trace target is unavailable.');\n }\n }\n\n private async readTraceFile(...names: string[]): Promise<string> {\n return readFile(await this.resolveTracePath(...names), 'utf8');\n }\n\n /** Do not advertise escaped links, even when the caller only asks for a directory listing. */\n private async readTraceDirectory(...names: string[]): Promise<string[]> {\n try {\n const entries = await readdir(await this.resolveTracePath(...names));\n const checked = await Promise.all(entries.map(async name => {\n try { await this.resolveTracePath(...names, name); return name; }\n catch { return null; }\n }));\n return checked.filter((name): name is string => name !== null);\n } catch { return []; }\n }\n\n private sessionsRoot(): string {\n return join(resolveAppLayout(this.companionContext.saasRoot).companionLogsHome, 'sessions');\n }\n\n private async summarize(sessionId: string): Promise<ExecutionTraceSessionSummary | null> {\n const record = await this.readTraceFile(sessionId, 'session.json').then(\n (raw) => JSON.parse(raw) as Record<string, unknown>,\n () => null,\n );\n if (!record) return null;\n const events = await this.readEvents(sessionId);\n const steps = await this.readTraceDirectory(sessionId, 'steps');\n return {\n sessionId,\n startedAt: typeof record.startedAt === 'string' ? record.startedAt : '',\n label: typeof record.label === 'string' ? record.label : null,\n eventCount: events.length,\n stepCount: steps.length,\n };\n }\n\n private async readEvents(sessionId: string): Promise<readonly ExecutionTraceEvent[]> {\n const raw = await this.readTraceFile(sessionId, 'events.ndjson').catch(() => '');\n return raw\n .split('\\n')\n .filter((line) => line.trim().length > 0)\n .flatMap((line) => {\n try { return [JSON.parse(line) as ExecutionTraceEvent]; } catch { return []; }\n });\n }\n\n private async readSteps(sessionId: string): Promise<readonly ExecutionTraceStep[]> {\n const stepNames = await this.readTraceDirectory(sessionId, 'steps');\n return Promise.all(stepNames.sort().map(async (stepDirName) => ({\n stepDirName,\n artifacts: (await this.readTraceDirectory(sessionId, 'steps', stepDirName)).sort(),\n })));\n }\n}\n"]}
|
package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external-authentication-brief.companion.utils.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"external-authentication-brief.companion.utils.d.ts","sourceRoot":"","sources":["../../../../src/meta-workflows/services/external-authentication-brief.companion.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA0E,KAAK,kBAAkB,EAAE,KAAK,mBAAmB,EAAE,KAAK,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AACzM,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAEjF,0GAA0G;AAC1G,wBAAgB,kCAAkC,CAAC,MAAM,EAAE;IACzD,IAAI,CAAC,EAAE;QAAE,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;QAAC,oBAAoB,CAAC,EAAE,UAAU,EAAE,CAAA;KAAE,CAAC;IAC1F,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE;QAAE,IAAI,CAAC,EAAE,IAAI,CAAC,kBAAkB,EAAE,oBAAoB,GAAG,WAAW,CAAC,CAAA;KAAE,CAAC,CAAC;IACpG,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE;QAAE,aAAa,CAAC,EAAE,oBAAoB,CAAA;KAAE,CAAC,CAAC;CAC9E,GAAG,SAAS,EAAE,SAAS,EAAE,SAAS,IAAI,CAAC,2BAA2B,EAAE,KAAK,GAAG,yBAAyB,CAAC,EAAE,GAAG,MAAM,EAAE,CAwBnH"}
|
package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external-authentication-brief.companion.utils.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"external-authentication-brief.companion.utils.js","sourceRoot":"","sources":["../../../../src/meta-workflows/services/external-authentication-brief.companion.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,4BAA4B,EAAE,qBAAqB,EAAE,iBAAiB,EAAgF,MAAM,uBAAuB,CAAC;AAGzM,0GAA0G;AAC1G,MAAM,UAAU,k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AAC,SAAS,CAAC,EAAE,QAAQ,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,MAAM,CAAC,IAAI,EAAE,qBAAqB,EAAE,MAAM,CAAC,iBAAiB,EAAE,CAAC;QAClK,8VAA8V;QAC9V,qOAAqO;QACrO,iKAAiK;QACjK,8PAA8P;QAC9P,iPAAiP;QACjP,uIAAuI;QACvI,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,SAAS,EAAE,QAAQ,CAAC,uBAAuB,EAAE,CAAC,CAAC,CAAC;QACpK,wMAAwM;KACzM,CAAC;AACJ,CAAC","sourcesContent":["import { AuthMethod, ExternalAssuranceEnforcement, MfaPolicyConfigSchema, getEnabledMethods, type UserTypeAuthPolicy, type OrgAuthMethodPolicy, type OrgTypeAuthOverrides } from '@wildo-ai/saas-models';\nimport type { ProviderSpecificationConfig } from '@wildo-ai/saas-specifications';\n\n/** Product facts for drafting terms. Configuration availability never proves an active IdP connection. */\nexport function composeExternalAuthenticationBrief(config: {\n auth?: { orgAuthMethodPolicy?: OrgAuthMethodPolicy; expandableOrgMethods?: AuthMethod[] };\n userTypes?: Record<string, { auth?: Pick<UserTypeAuthPolicy, 'authMethodsEnabled' | 'mfaPolicy'> }>;\n organizationTypes?: Record<string, { authOverrides?: OrgTypeAuthOverrides }>;\n} | undefined, providers: readonly Pick<ProviderSpecificationConfig, 'ref' | 'authenticationAssurance'>[]): string[] {\n const heading = '## External sign-in assurance (declared authentication policy)';\n if (!config?.userTypes) return [heading, 'UNREADABLE: user-type authentication configuration is unavailable. Do not infer that external sign-in is absent or draft a definitive assurance fact.'];\n const policies = Object.entries(config.userTypes).map(([userType, entry]) => {\n const methods = getEnabledMethods(entry.auth?.authMethodsEnabled);\n const policy = MfaPolicyConfigSchema.parse(entry.auth?.mfaPolicy ?? {});\n return { userType, socialLogin: methods.has(AuthMethod.EXTERNAL_OAUTH2), enterpriseOidc: methods.has(AuthMethod.ORG_OPENID_CONNECT),\n requireMFA: policy.requireMFA, requireStrongMFA: policy.requireStrongMFA, acceptableMFAMethods: policy.acceptableMFAMethods,\n missingAssurance: policy.externalAssuranceEnforcement ?? ExternalAssuranceEnforcement.WARN };\n });\n const strictOrganizations = Object.entries(config.organizationTypes ?? {})\n .filter(([, definition]) => definition.authOverrides?.mfaPolicy?.externalAssuranceEnforcement === ExternalAssuranceEnforcement.STRICT).map(([ref]) => ref);\n return [heading,\n 'Source: backend companion exports userTypes.auth and organizationTypes.authOverrides. These declarations describe supported behavior, not proof of an active tenant IdP or MFA in a particular login.',\n JSON.stringify({ policies, strictOrganizationTypes: strictOrganizations, organizationMethodPolicy: config.auth, organizationOverrides: config.organizationTypes }),\n 'Derive document-fact:external-sign-in-assurance from these policies. These are base policies: organization overrides may enable or restrict methods under organizationMethodPolicy. Do not infer external-login absence from a user-type base policy alone; resolve applicable overrides and active connection configuration before making an absence claim.',\n 'Where enterprise OAuth2/OIDC SSO is configured, the customer administers its identity provider and enforces authentication/MFA there. Wildo accepts that delegated assurance, not an assertion that it observed individual factors.',\n 'Wildo retains callback/token validation, identity binding, local account/access checks and session admission. Delegation does not waive these responsibilities.',\n 'For social login, missing/insufficient required MFA warns by default; strict policy refuses session issuance. Organization restrictions can require strict mode and cannot weaken it. Named/strong local methods are not inferred from generic provider MFA.',\n 'A strict refusal can occur after authenticated identity provisioning/linking; it never issues a local authenticated session. Native authentication and SAML have separate policies; do not describe this OAuth2 rule as a universal login rule.',\n 'Provider catalogue research below is capability context, not evidence that every listed provider is enabled or that a login used MFA:',\n JSON.stringify(providers.filter(provider => provider.authenticationAssurance).map(provider => ({ ref: provider.ref, assurance: provider.authenticationAssurance }))),\n 'State the applicable responsibility split in service terms; preserve qualified legal review of liability. Do not invent certification, universal social-provider MFA or active enterprise connections.',\n ];\n}\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { CompositionScenarioRef } from '@wildo-ai/saas-specifications/application-creation';
|
|
2
|
-
import type {
|
|
2
|
+
import type { LoggerService } from '@wildo-ai/saas-backend-lib';
|
|
3
3
|
import { type CompanionBrandPropagation } from '../../brand/services/brand-propagation.companion.utils';
|
|
4
4
|
import { type EngineCapability } from '@wildo-ai/saas-models';
|
|
5
|
-
import { FoundationPrimaryScope, type FoundationCapabilityBasis, type FoundationBackgroundExecutionOutcome, type FoundationCompositionScenarioOutcome, type FoundationHostFacts } from '@wildo-ai/application-creation-runtime';
|
|
5
|
+
import { type FoundationCompositionPlan, FoundationPrimaryScope, type FoundationCapabilityBasis, type FoundationBackgroundExecutionOutcome, type FoundationCompositionScenarioOutcome, type FoundationHostFacts } from '@wildo-ai/application-creation-runtime';
|
|
6
6
|
import type { CompanionContext } from '../../core/context/companion-context';
|
|
7
7
|
/**
|
|
8
8
|
* The foundation playbook's EXECUTOR — the domain-plan → compose bridge, run instead of typed by
|
|
@@ -212,6 +212,18 @@ export declare function resolveCreatorSelectedEngineProvider(capability: EngineC
|
|
|
212
212
|
readonly questionRef: string;
|
|
213
213
|
readonly answer: string;
|
|
214
214
|
}>): CreatorSelectedProviderResolution | undefined;
|
|
215
|
+
/** What {@link FoundationExecutorCompanionService.deriveSatisfiableEngineCapabilityPlan} answers (#2497). */
|
|
216
|
+
export interface SatisfiableEngineCapabilityPlan {
|
|
217
|
+
readonly plan: Pick<FoundationCompositionPlan, 'engineCapabilityChanges' | 'engineCapabilitiesOwedAProvider'>;
|
|
218
|
+
/** Every capability in the plan, in order: what the `engine-capabilities` step must leave enabled to land. */
|
|
219
|
+
readonly capabilities: readonly EngineCapability[];
|
|
220
|
+
}
|
|
221
|
+
/** What the build lane's `engine-capabilities` step did (#2497). */
|
|
222
|
+
export interface EngineCapabilityAlignmentResult extends Pick<FoundationExecutionResult, 'engineCapabilityChanges' | 'engineCapabilitiesOwedAProvider'> {
|
|
223
|
+
/** `false` when no domain plan with a tenancy has landed, so nothing could be derived. */
|
|
224
|
+
readonly derived: boolean;
|
|
225
|
+
readonly capabilities: readonly EngineCapability[];
|
|
226
|
+
}
|
|
215
227
|
export declare class FoundationExecutionError extends Error {
|
|
216
228
|
}
|
|
217
229
|
/**
|
|
@@ -225,9 +237,8 @@ export declare function alreadyComposedWitness(invocation: {
|
|
|
225
237
|
export declare class FoundationExecutorCompanionService {
|
|
226
238
|
private readonly logger;
|
|
227
239
|
private readonly companionContext;
|
|
228
|
-
private readonly appConfigService;
|
|
229
240
|
private readonly logDebug;
|
|
230
|
-
constructor(logger: LoggerService, companionContext: CompanionContext
|
|
241
|
+
constructor(logger: LoggerService, companionContext: CompanionContext);
|
|
231
242
|
execute(input: {
|
|
232
243
|
/** The landed domain-plan VALUE (the run service resolves it from artifact state). */
|
|
233
244
|
readonly domainPlan: unknown;
|
|
@@ -242,6 +253,43 @@ export declare class FoundationExecutorCompanionService {
|
|
|
242
253
|
/** Compute and report everything, write nothing. */
|
|
243
254
|
readonly dryRun?: boolean;
|
|
244
255
|
}): Promise<FoundationExecutionResult>;
|
|
256
|
+
/**
|
|
257
|
+
* Turn on what a capability plan says this application needs (#1272, #1488), and report what stays owed.
|
|
258
|
+
*
|
|
259
|
+
* Shared by the foundation run and by the build lane's `engine-capabilities` step (#2497), so the two cannot
|
|
260
|
+
* disagree about how a need becomes configuration: a provider-free capability is enabled; a capability the
|
|
261
|
+
* engine refuses to boot without a provider is served by the creator's chosen provider, else by a
|
|
262
|
+
* credential-free engine provider, else reported owed.
|
|
263
|
+
*/
|
|
264
|
+
private applyEngineCapabilityPlan;
|
|
265
|
+
/**
|
|
266
|
+
* The engine capabilities the application's LANDED decisions imply and this companion can turn on without a
|
|
267
|
+
* person (#2497), whether or not they are on already: every provider-free need, and every need a
|
|
268
|
+
* credential-free engine provider can serve. A need that only a commercial provider can serve (BILLING, SMS)
|
|
269
|
+
* is left out, because no step of ours can satisfy it and a step that can never land would hold the build.
|
|
270
|
+
*
|
|
271
|
+
* Read from the landed domain plan's `tenancy`, the business model and the integration plan, the same
|
|
272
|
+
* inputs the foundation reads. `undefined` when no domain plan with a tenancy has landed: there is nothing
|
|
273
|
+
* to derive from, which is a different answer from "nothing is needed".
|
|
274
|
+
*/
|
|
275
|
+
deriveSatisfiableEngineCapabilityPlan(): Promise<SatisfiableEngineCapabilityPlan | undefined>;
|
|
276
|
+
/**
|
|
277
|
+
* The build lane's `engine-capabilities` step (#2497): enable every satisfiable capability the decisions imply
|
|
278
|
+
* that the application's configuration does not already enable.
|
|
279
|
+
*
|
|
280
|
+
* A capability already on is left exactly as it is, provider included: re-declaring `email-preview` over a
|
|
281
|
+
* provider the creator chose afterwards would undo a decision. So this only ever ADDS what is missing.
|
|
282
|
+
*
|
|
283
|
+
* "Missing" includes an explicit `enabled: false`, and that is deliberate: the scaffold itself writes
|
|
284
|
+
* `ORGANIZATIONS: { enabled: false }`, so `false` cannot be read as a creator's decision. The consequence is
|
|
285
|
+
* that a creator who turns off a capability the decisions imply sees it turned back on at the next build;
|
|
286
|
+
* the remedy is the decision itself (the domain plan's tenancy, the integration plan's channels). The same
|
|
287
|
+
* holds for a capability declared with a provider but disabled: enabling it here also declares and, for a
|
|
288
|
+
* SELECT_ONE capability, selects the credential-free provider beside the one already declared.
|
|
289
|
+
*/
|
|
290
|
+
alignEngineCapabilitiesWithDecisions(input?: {
|
|
291
|
+
readonly dryRun?: boolean;
|
|
292
|
+
}): Promise<EngineCapabilityAlignmentResult>;
|
|
245
293
|
/**
|
|
246
294
|
* The host facts an optional-package scenario needs and no family declares (#1491): the slug and display
|
|
247
295
|
* name from the SaaS config, the port block from the declared services, and the public domain from the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"foundation-executor.companion.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"foundation-executor.companion.service.d.ts","sourceRoot":"","sources":["../../../../src/meta-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