@wildo-ai/dev-companion 1.1.4 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/__tests__/asset-noop.d.ts.map +1 -1
- package/dist/esm/__tests__/chdir-dogfood-app.setup.d.ts.map +1 -1
- package/dist/esm/__tests__/internal-test-view.d.ts.map +1 -1
- package/dist/esm/brand/models/logo-creative-brief.schemas.d.ts.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 +0 -1
- 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 +0 -1
- package/dist/esm/brand/models/logo-judge.actors-system.definitions.js.map +1 -1
- package/dist/esm/brand/models/logo-judge.schemas.d.ts.map +1 -1
- package/dist/esm/brand/services/brand-accept.companion.service.d.ts +8 -0
- package/dist/esm/brand/services/brand-accept.companion.service.d.ts.map +1 -1
- package/dist/esm/brand/services/brand-accept.companion.service.js +30 -5
- package/dist/esm/brand/services/brand-accept.companion.service.js.map +1 -1
- package/dist/esm/brand/services/brand-propagation.companion.utils.d.ts +21 -0
- package/dist/esm/brand/services/brand-propagation.companion.utils.d.ts.map +1 -0
- package/dist/esm/brand/services/brand-propagation.companion.utils.js +33 -0
- package/dist/esm/brand/services/brand-propagation.companion.utils.js.map +1 -0
- package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts +7 -0
- package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts.map +1 -1
- package/dist/esm/brand/services/logo-deliberation.companion.service.js +7 -0
- 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 +143 -0
- package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts.map +1 -0
- package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js +84 -0
- package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js.map +1 -0
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +197 -16
- 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 +255 -12
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
- package/dist/esm/claude-cli/models/coding-session-frame-retention.d.ts +85 -0
- package/dist/esm/claude-cli/models/coding-session-frame-retention.d.ts.map +1 -0
- package/dist/esm/claude-cli/models/coding-session-frame-retention.js +122 -0
- package/dist/esm/claude-cli/models/coding-session-frame-retention.js.map +1 -0
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts +102 -0
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts.map +1 -0
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js +139 -0
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js.map +1 -0
- package/dist/esm/claude-cli/models/parked-question-answer.models.d.ts +94 -0
- package/dist/esm/claude-cli/models/parked-question-answer.models.d.ts.map +1 -0
- package/dist/esm/claude-cli/models/parked-question-answer.models.js +137 -0
- package/dist/esm/claude-cli/models/parked-question-answer.models.js.map +1 -0
- package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.d.ts +16 -0
- package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.d.ts.map +1 -0
- package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js +46 -0
- package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js.map +1 -0
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts +50 -0
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts.map +1 -0
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js +157 -0
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js.map +1 -0
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts +279 -0
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts.map +1 -0
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js +754 -0
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -0
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +957 -83
- 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 +2743 -410
- 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 +115 -0
- package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.d.ts.map +1 -0
- package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js +192 -0
- package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js.map +1 -0
- package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts +215 -7
- 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 +532 -60
- 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 +20 -0
- package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.d.ts.map +1 -0
- package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.js +29 -0
- package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.js.map +1 -0
- package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts +38 -6
- 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 +156 -12
- 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 +5 -4
- 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 +13 -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-raw-feature-id-literals.companion.d.ts.map +1 -1
- package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js +8 -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 +408 -140
- package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
- package/dist/esm/companion-api/companion-api.schemas.js +72 -7
- package/dist/esm/companion-api/companion-api.schemas.js.map +1 -1
- package/dist/esm/companion-api/companion-error-guidance.models.d.ts +25 -0
- package/dist/esm/companion-api/companion-error-guidance.models.d.ts.map +1 -0
- package/dist/esm/companion-api/companion-error-guidance.models.js +26 -0
- package/dist/esm/companion-api/companion-error-guidance.models.js.map +1 -0
- package/dist/esm/companion-api/controllers/companion-file-route-confinement.d.ts +44 -0
- package/dist/esm/companion-api/controllers/companion-file-route-confinement.d.ts.map +1 -0
- package/dist/esm/companion-api/controllers/companion-file-route-confinement.js +111 -0
- package/dist/esm/companion-api/controllers/companion-file-route-confinement.js.map +1 -0
- package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts +6 -14
- 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 +20 -17
- 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 +12 -0
- package/dist/esm/companion-api/controllers/companion-trace-exemptions.d.ts.map +1 -0
- package/dist/esm/companion-api/controllers/companion-trace-exemptions.js +20 -0
- package/dist/esm/companion-api/controllers/companion-trace-exemptions.js.map +1 -0
- package/dist/esm/companion-api/controllers/companion.controller.d.ts +268 -21
- package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion.controller.js +998 -171
- package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
- package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts +39 -4
- 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 +39 -4
- 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.models.d.ts.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-rating-catalog-context.factory.d.ts.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/blog-posting-catalog-context.factory.d.ts.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/faq-page-catalog-context.factory.d.ts.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/organization-catalog-context.factory.d.ts.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/review-catalog-context.factory.d.ts.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/website-catalog-context.factory.d.ts.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 +6 -38
- 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 +54 -0
- package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.d.ts.map +1 -0
- package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.js +78 -0
- package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.js.map +1 -0
- package/dist/esm/core/config/primary-language.companion.utils.d.ts +26 -0
- package/dist/esm/core/config/primary-language.companion.utils.d.ts.map +1 -1
- package/dist/esm/core/config/primary-language.companion.utils.js +31 -0
- package/dist/esm/core/config/primary-language.companion.utils.js.map +1 -1
- package/dist/esm/core/context/companion-context.d.ts.map +1 -1
- package/dist/esm/core/context/companion-context.js +4 -0
- package/dist/esm/core/context/companion-context.js.map +1 -1
- package/dist/esm/core/context/companion-package-loaders.companion.d.ts +57 -0
- package/dist/esm/core/context/companion-package-loaders.companion.d.ts.map +1 -1
- package/dist/esm/core/context/companion-package-loaders.companion.js +179 -43
- package/dist/esm/core/context/companion-package-loaders.companion.js.map +1 -1
- package/dist/esm/core/context/draft-family-values.companion.d.ts +23 -0
- package/dist/esm/core/context/draft-family-values.companion.d.ts.map +1 -0
- package/dist/esm/core/context/draft-family-values.companion.js +49 -0
- package/dist/esm/core/context/draft-family-values.companion.js.map +1 -0
- package/dist/esm/core/inject/models/container.d.ts.map +1 -1
- package/dist/esm/core/inject/models/container.js +32 -4
- package/dist/esm/core/inject/models/container.js.map +1 -1
- package/dist/esm/core/inject/models/service-types.d.ts +16 -2
- package/dist/esm/core/inject/models/service-types.d.ts.map +1 -1
- package/dist/esm/core/inject/models/service-types.js +18 -2
- 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 +90 -2
- 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 +37 -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 +61 -0
- package/dist/esm/core/introspection/models/companion-introspection.models.js.map +1 -1
- package/dist/esm/core/introspection/resources/application-secrets.companion.d.ts +41 -0
- package/dist/esm/core/introspection/resources/application-secrets.companion.d.ts.map +1 -0
- package/dist/esm/core/introspection/resources/application-secrets.companion.js +155 -0
- package/dist/esm/core/introspection/resources/application-secrets.companion.js.map +1 -0
- package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts +76 -0
- package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts.map +1 -0
- package/dist/esm/core/introspection/resources/creation-console-answer.companion.js +197 -0
- package/dist/esm/core/introspection/resources/creation-console-answer.companion.js.map +1 -0
- package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts +47 -0
- package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts.map +1 -0
- package/dist/esm/core/introspection/resources/creation-console-projection.companion.js +199 -0
- package/dist/esm/core/introspection/resources/creation-console-projection.companion.js.map +1 -0
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts +93 -0
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts.map +1 -0
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.js +290 -0
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -0
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts +42 -0
- 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 +788 -23
- 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 +580 -17
- 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 +1678 -91
- 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 +80 -37
- 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 +181 -19
- 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 +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 +21 -15
- package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js.map +1 -1
- 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.companion.service.d.ts +21 -0
- 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 +21 -3
- 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.map +1 -1
- package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js +11 -3
- package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts +15 -5
- 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 +28 -15
- 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 +24 -0
- 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 +29 -5
- 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/subprocess/app-shell-placement-content.behavior.d.ts +116 -0
- package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts.map +1 -0
- package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js +223 -0
- package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js.map +1 -0
- package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts +11 -6
- 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 +2 -1
- package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/assertions.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/asset-noop-hooks.d.ts +4 -0
- 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/brand-prompt-renderer.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.d.ts.map +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 +153 -52
- 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-module-exports.utils.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts +45 -3
- 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 +8 -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/engine-resource-population.subprocess.utils.d.ts +33 -0
- package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.d.ts.map +1 -0
- package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.js +59 -0
- package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.js.map +1 -0
- package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts +33 -0
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js +46 -140
- 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 +18 -2
- 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 +147 -48
- 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-prompt-renderer.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts +54 -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 +242 -28
- 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 +79 -0
- package/dist/esm/core/introspection/subprocess/risk-signals.behavior.d.ts.map +1 -0
- package/dist/esm/core/introspection/subprocess/risk-signals.behavior.js +49 -0
- package/dist/esm/core/introspection/subprocess/risk-signals.behavior.js.map +1 -0
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts +13 -0
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js +334 -228
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/specification-elements.behavior.d.ts +72 -0
- package/dist/esm/core/introspection/subprocess/specification-elements.behavior.d.ts.map +1 -0
- package/dist/esm/core/introspection/subprocess/specification-elements.behavior.js +123 -0
- package/dist/esm/core/introspection/subprocess/specification-elements.behavior.js.map +1 -0
- package/dist/esm/core/introspection/workspace-element-index.companion.d.ts +184 -0
- package/dist/esm/core/introspection/workspace-element-index.companion.d.ts.map +1 -0
- package/dist/esm/core/introspection/workspace-element-index.companion.js +311 -0
- package/dist/esm/core/introspection/workspace-element-index.companion.js.map +1 -0
- package/dist/esm/core/introspection/workspace-elements.companion.d.ts +54 -0
- package/dist/esm/core/introspection/workspace-elements.companion.d.ts.map +1 -0
- package/dist/esm/core/introspection/workspace-elements.companion.js +43 -0
- package/dist/esm/core/introspection/workspace-elements.companion.js.map +1 -0
- 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 +7 -0
- 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 +7 -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 +1 -0
- package/dist/esm/core/lock/wildo-saas-lock.schemas.js.map +1 -1
- package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts +31 -0
- package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts.map +1 -0
- package/dist/esm/core/runtime/application-runtime-liveness.companion.js +53 -0
- package/dist/esm/core/runtime/application-runtime-liveness.companion.js.map +1 -0
- package/dist/esm/core/runtime/companion-endpoint-record.d.ts +8 -0
- package/dist/esm/core/runtime/companion-endpoint-record.d.ts.map +1 -0
- package/dist/esm/core/runtime/companion-endpoint-record.js +23 -0
- package/dist/esm/core/runtime/companion-endpoint-record.js.map +1 -0
- package/dist/esm/core/runtime/companion-env-file.d.ts +30 -0
- package/dist/esm/core/runtime/companion-env-file.d.ts.map +1 -0
- package/dist/esm/core/runtime/companion-env-file.js +53 -0
- package/dist/esm/core/runtime/companion-env-file.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 +30 -1
- package/dist/esm/core/runtime/companion-startup-assembly.js.map +1 -1
- package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts +5 -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 +11 -0
- package/dist/esm/core/runtime/dev-compile-quiet.companion.js.map +1 -1
- package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.d.ts +56 -0
- package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.d.ts.map +1 -0
- package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.js +97 -0
- package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.js.map +1 -0
- package/dist/esm/core/runtime/models/companion-runtime.models.d.ts.map +1 -1
- package/dist/esm/core/runtime/services/file-storage-initialization.companion.d.ts +54 -0
- package/dist/esm/core/runtime/services/file-storage-initialization.companion.d.ts.map +1 -0
- package/dist/esm/core/runtime/services/file-storage-initialization.companion.js +54 -0
- package/dist/esm/core/runtime/services/file-storage-initialization.companion.js.map +1 -0
- package/dist/esm/core/runtime/services/start-companion-application.service.d.ts +51 -2
- 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 +290 -34
- 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-platform-config.companion.d.ts +14 -4
- 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 +69 -28
- 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/platform-core-domain-modules.companion.d.ts.map +1 -1
- package/dist/esm/core/specifications/chart-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/composite-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts +0 -4
- package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts.map +1 -1
- package/dist/esm/core/specifications/cross-registry-rendering.shared.js +0 -4
- 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/feature-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/frontend-component-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/full-custom-view-specification-context.factory.d.ts.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/non-composite-view-specification-context.shared.d.ts.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 +6 -34
- 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/resource-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/resource-specification-context.factory.js +12 -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/specification-context-factory.d.ts.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.shared.d.ts.map +1 -1
- package/dist/esm/core/specifications/system-email-template-specification-context.factory.d.ts.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-custom-implementation-context.template.d.ts.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-translation-context.template.d.ts.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-custom-implementation-context.template.d.ts.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-translation-context.template.d.ts.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-custom-implementation-context.template.d.ts.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-translation-context.template.d.ts.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-custom-implementation-context.template.d.ts.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-translation-context.template.d.ts.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-custom-implementation-context.template.d.ts.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-translation-context.template.d.ts.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-custom-implementation-context.template.d.ts.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-translation-context.template.d.ts.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-custom-implementation-context.template.d.ts.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-translation-context.template.d.ts.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-custom-implementation-context.template.d.ts.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-translation-context.template.d.ts.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-custom-implementation-context.template.d.ts.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-translation-context.template.d.ts.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-custom-implementation-context.template.d.ts.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-translation-context.template.d.ts.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-custom-implementation-context.template.d.ts.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-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/validate-resource-field-completeness.d.ts.map +1 -1
- package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts +4 -2
- 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 +12 -2
- 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 +1 -7
- package/dist/esm/core/traceability/companion-traceability.models.d.ts.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.models.js +3 -5
- package/dist/esm/core/traceability/companion-traceability.models.js.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.service.d.ts +21 -1
- package/dist/esm/core/traceability/companion-traceability.service.d.ts.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.service.js +25 -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/derived-input-signature.companion.utils.d.ts +45 -0
- package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts.map +1 -0
- package/dist/esm/core/utils/derived-input-signature.companion.utils.js +96 -0
- package/dist/esm/core/utils/derived-input-signature.companion.utils.js.map +1 -0
- package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.d.ts +35 -0
- package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.d.ts.map +1 -0
- package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js +119 -0
- package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js.map +1 -0
- package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts +11 -0
- package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts.map +1 -0
- package/dist/esm/creation-conversation/creation-conversation.function-tools.js +481 -0
- package/dist/esm/creation-conversation/creation-conversation.function-tools.js.map +1 -0
- 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 +0 -2
- package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js.map +1 -1
- package/dist/esm/deliberations/services/deliberation.companion.service.d.ts +19 -1
- package/dist/esm/deliberations/services/deliberation.companion.service.d.ts.map +1 -1
- package/dist/esm/deliberations/services/deliberation.companion.service.js +63 -6
- package/dist/esm/deliberations/services/deliberation.companion.service.js.map +1 -1
- package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts +3 -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 +7 -2
- package/dist/esm/deliberations/services/structured-deliberation.companion.service.js.map +1 -1
- package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts.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 +0 -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 +35 -3
- package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
- package/dist/esm/email/services/email-template.companion.service.js +145 -296
- 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 +12 -0
- 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 +62 -3
- 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 +52 -0
- package/dist/esm/email/utils/email-labels-tree.utils.d.ts.map +1 -0
- package/dist/esm/email/utils/email-labels-tree.utils.js +261 -0
- package/dist/esm/email/utils/email-labels-tree.utils.js.map +1 -0
- package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts.map +1 -1
- package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts +36 -0
- package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts.map +1 -0
- package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js +150 -0
- package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js.map +1 -0
- package/dist/esm/executions/services/companion-executions.companion.service.d.ts +54 -4
- package/dist/esm/executions/services/companion-executions.companion.service.d.ts.map +1 -1
- package/dist/esm/executions/services/companion-executions.companion.service.js +321 -49
- 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 +0 -1
- 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 +0 -1
- 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.map +1 -1
- package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts +5 -0
- 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 +68 -8
- 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 +8 -0
- package/dist/esm/expert-personas/services/persona-source-ownership.d.ts.map +1 -0
- package/dist/esm/expert-personas/services/persona-source-ownership.js +83 -0
- package/dist/esm/expert-personas/services/persona-source-ownership.js.map +1 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.d.ts +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 +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 +4 -4
- 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 +4 -4
- 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 +2 -2
- 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 +2 -2
- 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_NAVIGATION_BACK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts +5 -10
- 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 +6 -11
- 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 +2 -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 +2 -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 +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 +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 +6 -5
- package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js +7 -6
- 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 +3 -3
- 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 +3 -3
- 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_USER_DROPDOWN.en.d.ts +4 -2
- 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 +5 -3
- 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 +2 -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 +2 -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 +32 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.js +32 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.js.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts +0 -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 +0 -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 +0 -7
- 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 +0 -7
- 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 +69 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js +69 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.d.ts +26 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.js +26 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.js.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.d.ts +18 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.js +18 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.js.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.d.ts +3 -3
- 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 +3 -3
- 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 +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 +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 +1 -3
- 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 +1 -3
- 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 +8 -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 +8 -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 +10 -10
- 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 +10 -10
- 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 +21 -23
- 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 +21 -23
- 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 +1 -0
- 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 +2 -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 +17 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.js +17 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.js.map +1 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.d.ts +5 -5
- 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 +5 -5
- 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 +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 +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 +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 +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 +16 -2
- 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 +16 -2
- 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 +3 -3
- 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 +3 -3
- 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_AI_ACTOR.en.d.ts +8 -8
- 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 +8 -8
- 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 +14 -17
- 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 +14 -17
- 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 +54 -5
- 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 +55 -6
- 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 +2 -2
- 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 +2 -2
- 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 +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 +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_CODE_BLOCK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.d.ts +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 +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 +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 +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_DECISION.en.d.ts +2 -2
- 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 +2 -2
- 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 +21 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.js +21 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts +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 +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 +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 +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_NODE.en.d.ts.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_MESSAGE.en.d.ts +2 -2
- 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 +2 -2
- 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 +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 +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_PLAN.en.d.ts.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_SYSTEM_CATALOG.en.d.ts +4 -10
- 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 +4 -10
- 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 +4 -4
- 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 +4 -4
- 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 +2 -2
- 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 +2 -2
- 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 +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 +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 +1 -0
- 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 +2 -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 +28 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js +28 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts +1 -0
- 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 +2 -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 +10 -3
- 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 +11 -4
- 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 +3 -2
- 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 +4 -3
- 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 +4 -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 +5 -2
- 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_BUTTON.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.d.ts.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_COLOR_INPUT.en.d.ts +3 -3
- 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 +3 -3
- 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 +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 +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 +3 -3
- 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 +3 -3
- 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 +15 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.js +15 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.d.ts +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 +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_CODE.en.d.ts +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 +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_FILE.en.d.ts +5 -3
- 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 +5 -3
- 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 +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 +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 +3 -0
- 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 +4 -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_IMAGE.en.d.ts +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 +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_MONEY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.d.ts +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 +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 +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 +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 +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 +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 +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 +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 +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 +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 +22 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.js +22 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.d.ts +2 -2
- 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 +2 -2
- 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_UNAVAILABLE_PROMPT.en.d.ts +6 -6
- 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 +6 -6
- 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 +3 -3
- 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 +3 -3
- 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 +16 -8
- 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 +17 -9
- 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 +30 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js +30 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js.map +1 -0
- 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_CODE.en.d.ts +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 +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 +47 -20
- 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 +47 -20
- 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_STRING.en.d.ts +3 -0
- 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 +4 -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 +5 -5
- 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 +5 -5
- 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_LOADING_OVERLAY.en.d.ts.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_OPERATIONS_CONFIRM_CRITICAL.en.d.ts +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 +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_PAGINATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.d.ts +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.js +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.d.ts +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.js +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.d.ts +3 -3
- package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.js +3 -3
- 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 +15 -0
- package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.js +15 -0
- package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.js.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts +5 -3
- 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 +6 -4
- 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 +10 -9
- 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 +11 -10
- 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 +5 -5
- 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 +5 -5
- 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 +6 -6
- 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 +6 -6
- 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 +7 -7
- 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 +7 -7
- 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 +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 +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 +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 +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 +4 -4
- 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 +4 -4
- 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 +24 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.js +24 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.js.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts +6 -4
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js +6 -4
- 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 +14 -10
- 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 +14 -10
- 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 +6 -6
- 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 +6 -6
- 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 +11 -8
- 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 +12 -9
- 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 +9 -8
- 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 +9 -8
- 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 +25 -9
- 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 +25 -9
- 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 +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 +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 +2 -2
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js +2 -2
- 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 +1 -0
- 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 +2 -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 +25 -24
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js +26 -25
- 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 +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 +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 +3 -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 +4 -2
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.d.ts +2 -2
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.js +2 -2
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts +13 -12
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js +13 -12
- 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 +7 -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 +7 -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 +13 -0
- 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 +14 -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_READ.en.d.ts +6 -6
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.js +6 -6
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts +2 -2
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js +2 -2
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.d.ts +2 -2
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.js +2 -2
- 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_banner.en.d.ts +1 -1
- package/dist/esm/i18n/components/guidance_banner.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_banner.en.js +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_checklist.en.d.ts +2 -2
- package/dist/esm/i18n/components/guidance_checklist.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_checklist.en.js +2 -2
- package/dist/esm/i18n/components/guidance_checklist.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts +1 -0
- package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_checklist_item.en.js +2 -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_onboarding_view.en.d.ts +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 +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 +1 -0
- package/dist/esm/i18n/components/guidance_survey.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_survey.en.js +2 -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_tour.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/progression_achievement_badge.en.d.ts +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 +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 +5 -3
- package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/progression_milestone_tracker.en.js +6 -4
- 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 +18 -0
- package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts.map +1 -0
- package/dist/esm/i18n/composite_views/app.creation-conversation.en.js +356 -0
- package/dist/esm/i18n/composite_views/app.creation-conversation.en.js.map +1 -0
- package/dist/esm/i18n/composite_views/app.creation-dossier.en.d.ts +15 -0
- package/dist/esm/i18n/composite_views/app.creation-dossier.en.d.ts.map +1 -0
- package/dist/esm/i18n/composite_views/app.creation-dossier.en.js +70 -0
- package/dist/esm/i18n/composite_views/app.creation-dossier.en.js.map +1 -0
- package/dist/esm/i18n/composite_views/app.domain-model.en.d.ts.map +1 -1
- package/dist/esm/i18n/errors_guidance/errors-guidance.en.d.ts +25 -0
- package/dist/esm/i18n/errors_guidance/errors-guidance.en.d.ts.map +1 -0
- package/dist/esm/i18n/errors_guidance/errors-guidance.en.js +26 -0
- package/dist/esm/i18n/errors_guidance/errors-guidance.en.js.map +1 -0
- package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts +119 -0
- package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts.map +1 -0
- package/dist/esm/i18n/errors_messages/errors-messages.en.js +76 -0
- package/dist/esm/i18n/errors_messages/errors-messages.en.js.map +1 -0
- package/dist/esm/i18n/index.d.ts +10 -8
- package/dist/esm/i18n/index.d.ts.map +1 -1
- package/dist/esm/i18n/index.js +10 -8
- package/dist/esm/i18n/index.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts +2024 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js +518 -0
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts +878 -8
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js +247 -0
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts +504 -1
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js +153 -0
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.d.ts +97 -0
- package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.js +60 -0
- package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchAspects.en.d.ts +78 -0
- package/dist/esm/i18n/resources/workbenchAspects.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchAspects.en.js +261 -0
- package/dist/esm/i18n/resources/workbenchAspects.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts +149 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js +79 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts +94 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js +75 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts +70 -5
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js +67 -0
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts +104 -0
- package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js +58 -0
- package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.d.ts +95 -0
- package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.js +54 -0
- package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.d.ts +95 -0
- package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.js +51 -0
- package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchDomainResources.en.d.ts +1 -1
- package/dist/esm/i18n/resources/workbenchDomainResources.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchDomainResources.en.js +2 -2
- package/dist/esm/i18n/resources/workbenchDomainResources.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts +138 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.js +70 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts +112 -0
- package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js +115 -0
- package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.d.ts +121 -0
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.js +84 -0
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts +89 -0
- package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js +75 -0
- package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts +170 -0
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js +113 -0
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts +167 -6
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.js +113 -0
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts +95 -4
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js +85 -0
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts +5174 -247
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +1238 -55
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts +86 -3
- package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchTraceSessions.en.js +90 -0
- package/dist/esm/i18n/resources/workbenchTraceSessions.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts +107 -0
- package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js +91 -0
- package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js.map +1 -0
- package/dist/esm/i18n/system_enums/application-creation.en.d.ts +282 -0
- package/dist/esm/i18n/system_enums/application-creation.en.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/application-creation.en.js +330 -0
- package/dist/esm/i18n/system_enums/application-creation.en.js.map +1 -0
- package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts +154 -0
- package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/compliance-programme.en.js +154 -0
- package/dist/esm/i18n/system_enums/compliance-programme.en.js.map +1 -0
- package/dist/esm/i18n/system_enums/flows-actors.en.d.ts +54 -0
- package/dist/esm/i18n/system_enums/flows-actors.en.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/flows-actors.en.js +54 -0
- package/dist/esm/i18n/system_enums/flows-actors.en.js.map +1 -0
- package/dist/esm/i18n/system_enums/market.en.d.ts +12 -2
- package/dist/esm/i18n/system_enums/market.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/market.en.js +12 -2
- package/dist/esm/i18n/system_enums/market.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/processor-register.en.d.ts +49 -0
- package/dist/esm/i18n/system_enums/processor-register.en.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/processor-register.en.js +49 -0
- package/dist/esm/i18n/system_enums/processor-register.en.js.map +1 -0
- package/dist/esm/i18n/system_enums/risk-register.en.d.ts +56 -0
- package/dist/esm/i18n/system_enums/risk-register.en.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/risk-register.en.js +56 -0
- package/dist/esm/i18n/system_enums/risk-register.en.js.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-build.en.d.ts +50 -0
- package/dist/esm/i18n/system_enums/workbench-build.en.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-build.en.js +55 -0
- package/dist/esm/i18n/system_enums/workbench-build.en.js.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts +47 -0
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.js +48 -0
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.js.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts +21 -0
- package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-dossier.en.js +22 -0
- package/dist/esm/i18n/system_enums/workbench-dossier.en.js.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-playbook-run.en.d.ts +29 -0
- package/dist/esm/i18n/system_enums/workbench-playbook-run.en.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-playbook-run.en.js +29 -0
- package/dist/esm/i18n/system_enums/workbench-playbook-run.en.js.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-secrets.en.d.ts +46 -0
- package/dist/esm/i18n/system_enums/workbench-secrets.en.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-secrets.en.js +46 -0
- package/dist/esm/i18n/system_enums/workbench-secrets.en.js.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts +32 -0
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js +37 -0
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js.map +1 -0
- package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.d.ts +61 -0
- package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.js +22 -0
- package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.js.map +1 -0
- package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts +134 -5
- package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling-unit.models.js +69 -4
- 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 +0 -2
- 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/email-template-labelling-units.companion.service.d.ts +48 -0
- package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js +145 -0
- package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js.map +1 -0
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts +82 -20
- 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 +433 -89
- 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 +53 -8
- 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 +253 -45
- 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 +113 -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 +539 -16
- 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 +64 -1
- 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 +423 -71
- 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 +91 -0
- package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.js +149 -0
- package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.js.map +1 -0
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts +31 -0
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js +44 -0
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js.map +1 -0
- package/dist/esm/i18n-labelling/utils/email-template-translation.utils.d.ts +54 -0
- package/dist/esm/i18n-labelling/utils/email-template-translation.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/email-template-translation.utils.js +74 -0
- package/dist/esm/i18n-labelling/utils/email-template-translation.utils.js.map +1 -0
- package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts +30 -3
- 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 +27 -0
- 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 +12 -0
- package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/guidance-keys.utils.js +58 -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 +24 -0
- package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.js +34 -0
- package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.js.map +1 -0
- 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 +19 -0
- 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/orphan-label-artifacts.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js +5 -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.map +1 -1
- package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js +10 -0
- 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 +76 -0
- package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.js +110 -0
- package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.js.map +1 -0
- package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.d.ts +17 -0
- package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.js +23 -0
- package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.js.map +1 -0
- package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts +63 -27
- 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 +251 -139
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts +11 -0
- 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 +27 -3
- 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 +38 -0
- package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.js +66 -0
- package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.js.map +1 -0
- package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.d.ts.map +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +9 -3
- 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/meta-workflows/models/application-build.actors-system.definitions.d.ts +29 -0
- package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js +58 -0
- package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js.map +1 -0
- package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts +35 -0
- 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 +69 -5
- 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 +11 -0
- package/dist/esm/meta-workflows/models/application-line-catalog.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/application-line-catalog.models.js +17 -0
- package/dist/esm/meta-workflows/models/application-line-catalog.models.js.map +1 -0
- 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 +6 -5
- 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 +1 -0
- 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 +22 -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 +46 -0
- package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/build-task-rearm.models.js +43 -0
- package/dist/esm/meta-workflows/models/build-task-rearm.models.js.map +1 -0
- package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts +34 -0
- package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/carried-verification-failure.models.js +59 -0
- package/dist/esm/meta-workflows/models/carried-verification-failure.models.js.map +1 -0
- package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts +79 -0
- package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js +101 -0
- package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js.map +1 -0
- package/dist/esm/meta-workflows/models/human-decision-settler.models.d.ts +14 -0
- package/dist/esm/meta-workflows/models/human-decision-settler.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/human-decision-settler.models.js +18 -0
- package/dist/esm/meta-workflows/models/human-decision-settler.models.js.map +1 -0
- package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts +83 -13
- 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 +101 -7
- 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 +28 -8
- 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 +227 -0
- package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js +305 -0
- package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js.map +1 -0
- package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts +401 -0
- package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/playbook-run-record.models.js +470 -0
- package/dist/esm/meta-workflows/models/playbook-run-record.models.js.map +1 -0
- package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.d.ts +14 -0
- package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.js +21 -0
- package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.js.map +1 -0
- package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js +3 -1
- package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js.map +1 -1
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts +79 -0
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js +193 -0
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +969 -48
- 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 +2123 -150
- 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 +19 -0
- package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.js +36 -0
- package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts +124 -36
- 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 +305 -58
- 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 +442 -16
- 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 +1514 -69
- 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 +32 -0
- package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js +161 -0
- package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.d.ts +47 -0
- package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js +103 -0
- package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts +31 -0
- package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js +89 -0
- package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts +48 -0
- package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js +111 -0
- package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts +154 -0
- package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/dossier.companion.service.js +428 -0
- package/dist/esm/meta-workflows/services/dossier.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.d.ts +36 -0
- package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.js +72 -0
- package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.js.map +1 -0
- package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts +82 -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 +200 -31
- 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 +16 -0
- package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.js +29 -0
- package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.js.map +1 -0
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts +225 -3
- 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 +445 -12
- 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 +40 -0
- package/dist/esm/meta-workflows/services/governed-document-texts.companion.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/governed-document-texts.companion.js +91 -0
- package/dist/esm/meta-workflows/services/governed-document-texts.companion.js.map +1 -0
- package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.d.ts +25 -0
- package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.js +40 -0
- package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.js.map +1 -0
- package/dist/esm/meta-workflows/services/landed-module-import.companion.d.ts +2 -0
- package/dist/esm/meta-workflows/services/landed-module-import.companion.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/landed-module-import.companion.js +36 -0
- package/dist/esm/meta-workflows/services/landed-module-import.companion.js.map +1 -0
- package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-instance.companion.service.d.ts +90 -0
- package/dist/esm/meta-workflows/services/playbook-instance.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js +307 -0
- package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts +86 -0
- 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 +126 -6
- 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 +1278 -193
- 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 +4375 -500
- 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 +100 -0
- package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js +156 -0
- package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.d.ts +49 -0
- package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.js +93 -0
- package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.js.map +1 -0
- package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.d.ts +45 -0
- package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.d.ts.map +1 -0
- package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.js +145 -0
- package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.js.map +1 -0
- package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts +33 -9
- 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 +70 -29
- 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 +20 -5
- 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 +38 -16
- 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-pilot-assets.companion.service.d.ts.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 +18 -18
- package/dist/esm/i18n/composite_views/app.creation-board.en.d.ts +0 -13
- package/dist/esm/i18n/composite_views/app.creation-board.en.d.ts.map +0 -1
- package/dist/esm/i18n/composite_views/app.creation-board.en.js +0 -91
- package/dist/esm/i18n/composite_views/app.creation-board.en.js.map +0 -1
- package/dist/esm/meta-workflows/services/playbook-choreography-checkpoint.companion.service.d.ts +0 -92
- package/dist/esm/meta-workflows/services/playbook-choreography-checkpoint.companion.service.d.ts.map +0 -1
- package/dist/esm/meta-workflows/services/playbook-choreography-checkpoint.companion.service.js +0 -178
- package/dist/esm/meta-workflows/services/playbook-choreography-checkpoint.companion.service.js.map +0 -1
- package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.d.ts +0 -107
- package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.d.ts.map +0 -1
- package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.js +0 -188
- package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.js.map +0 -1
|
@@ -51,7 +51,6 @@ export function buildExpertAgent(profile) {
|
|
|
51
51
|
maxTokens: 16000,
|
|
52
52
|
accessControl: [{
|
|
53
53
|
primaryScope: ResourcePrimaryScope.APPLICATION,
|
|
54
|
-
requiresApproval: false,
|
|
55
54
|
}],
|
|
56
55
|
riskLevel: ResourceOperationRiskLevel.LOW,
|
|
57
56
|
},
|
|
@@ -123,7 +122,6 @@ export function buildDeliberationTextProducerAgent() {
|
|
|
123
122
|
maxTokens: 16000,
|
|
124
123
|
accessControl: [{
|
|
125
124
|
primaryScope: ResourcePrimaryScope.APPLICATION,
|
|
126
|
-
requiresApproval: false,
|
|
127
125
|
}],
|
|
128
126
|
riskLevel: ResourceOperationRiskLevel.LOW,
|
|
129
127
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deliberation-agents.actors-system.definitions.js","sourceRoot":"","sources":["../../../../src/deliberations/models/deliberation-agents.actors-system.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,EAC1B,oBAAoB,GACrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,yCAAyC,EAAE,0CAA0C,EAAE,uCAAuC,EAAE,w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AC;AAE9C,MAAM,UAAU,kCAAkC;IAChD,OAAO;QACL,GAAG,EAAE,oCAAoC;QACzC,WAAW,EAAE,kCAAkC;QAC/C,MAAM,EAAE,wBAAwB,CAAC,MAAM;QACvC,MAAM,EAAE;YACN,WAAW,EAAE,WAAW;YACxB,0FAA0F;YAC1F,4FAA4F;YAC5F,2FAA2F;YAC3F,uFAAuF;YACvF,oEAAoE;YACpE,kBAAkB,EAAE,uBAAuB,CAAC,aAAa;YACzD,YAAY,EAAE,wBAAwB,CAAC,mBAAmB;YAC1D,SAAS,EAAE,KAAK;YAChB,aAAa,EAAE,CAAC;oBACd,YAAY,EAAE,oBAAoB,CAAC,WAAW;oBAC9C,gBAAgB,EAAE,KAAK;iBACxB,CAAC;YACF,SAAS,EAAE,0BAA0B,CAAC,GAAG;SAC1C;QACD,mBAAmB,EAAE;YACnB,YAAY,EAAE,wBAAwB,CAAC,mBAAmB;YAC1D,WAAW,EAAE,WAAW;YACxB,WAAW,EAAE,yCAAyC;YACtD,YAAY,EAAE,0CAA0C;YACxD,sBAAsB,EAAE,uCAAuC;SAClB;QAC/C,UAAU,EAAE;YACV,IAAI,EACF,4FAA4F;kBAC1F,qEAAqE;YACzE,OAAO,EACL,uFAAuF;kBACrF,4FAA4F;kBAC5F,kDAAkD;YACtD,SAAS,EAAE,4BAA4B,CAAC,UAAU;YAClD;;;;;;;;;;eAUG;YACH,YAAY,EAAE,EAAE;SACjB;QACD,SAAS,EAAE,0BAA0B;KACtC,CAAC;AACJ,CAAC","sourcesContent":["import { z } from 'zod';\nimport type { FlowsActors_Agent, RuntimeExpertProfile } from '@wildo-ai/saas-models';\nimport {\n FlowsActors_Agent_Skill_Type,\n FlowsActors_Agent_Status,\n ResourceOperationRiskLevel,\n ResourcePrimaryScope,\n} from '@wildo-ai/saas-models';\nimport { LLMProvider_GenerateStructuredInputSchema, LLMProvider_GenerateStructuredOutputSchema, LLMProvider_OperationContext_BaseSchema, LLMProvider_OperationKey, LLM_Model_Applicability } from '@wildo-ai/external-connectors-models';\nimport type { LLMProvider_OperationDefinitionBase } from '@wildo-ai/external-connectors-models';\n\n/**\n * Deliberation agent factories (agentic deliberation system, Step 3).\n *\n * **Expert agents are BUILT FROM COMMITTED CHARTERS at companion startup**\n * (RF-6): one agent per accepted `ExpertPersonaCharter`, its promptSpec\n * compiled from the DERIVED persona (prose + priorities + taboos +\n * qualityBar + reviewProtocol) — the anti-taste-as-code payoff: the judge's\n * voice comes from the app's own specification, never from framework code.\n * A charter accepted AFTER startup has no agent until the companion\n * restarts (the registry indexes agents at startup) — the deliberation\n * composer fail-closes with exactly that instruction.\n *\n * All on `anthropic/claude-fable-5` with explicit `maxTokens` (the Claude 5\n * family rejects sampling params, and @ai-sdk/anthropic@3.0.67 defaults\n * unknown models to a 4096-token cap that truncates long structured\n * outputs — both learned live 2026-07-16).\n */\n\n/** The agent ref an expert charter's agent is registered under. */\nexport function expertAgentRefForRole(roleRef: string): string {\n return `expert.${roleRef}.agent`;\n}\n\nexport function buildExpertAgent(profile: RuntimeExpertProfile): FlowsActors_Agent {\n const personaSections = [\n profile.personaProse,\n `Your ordered judgment priorities (most important first):\\n${profile.priorities.map((p) => `- ${p}`).join('\\n')}`,\n profile.taboos.length > 0\n ? `Hard taboos you never reward or produce:\\n${profile.taboos.map((t) => `- ${t}`).join('\\n')}`\n : '',\n profile.qualityBar && profile.qualityBar.length > 0\n ? `What a 95+ candidate looks like for this application:\\n${profile.qualityBar.map((q) => `- ${q}`).join('\\n')}`\n : '',\n ].filter((section) => section.length > 0).join('\\n\\n');\n\n return {\n ref: expertAgentRefForRole(profile.roleRef),\n displayName: `Expert: ${profile.roleRef}`,\n status: FlowsActors_Agent_Status.ACTIVE,\n config: {\n providerRef: 'anthropic',\n // DEEP_JUDGMENT: the enum names \"deliberation\" among its own examples (#439). Resolves to\n // `claude-fable-5` on `anthropic` today — the model both of these pinned. The text producer\n // takes the same class as the experts deliberately: STRUCTURED_AUTHORING would read as the\n // tidier label and would resolve to `claude-sonnet-5`, changing which model writes the\n // deliberation's conclusion. A relabelling should not move a model.\n modelApplicability: LLM_Model_Applicability.DEEP_JUDGMENT,\n operationKey: LLMProvider_OperationKey.GENERATE_STRUCTURED,\n // No sampling params (Claude 5 rejects them); explicit output budget\n // (SDK unknown-model default is 4096 and truncates mid-JSON).\n maxTokens: 16000,\n accessControl: [{\n primaryScope: ResourcePrimaryScope.APPLICATION,\n requiresApproval: false,\n }],\n riskLevel: ResourceOperationRiskLevel.LOW,\n },\n operationDefinition: {\n operationKey: LLMProvider_OperationKey.GENERATE_STRUCTURED,\n providerRef: 'anthropic',\n inputSchema: LLMProvider_GenerateStructuredInputSchema,\n outputSchema: LLMProvider_GenerateStructuredOutputSchema,\n operationContextSchema: LLMProvider_OperationContext_BaseSchema,\n } satisfies LLMProvider_OperationDefinitionBase,\n promptSpec: {\n role:\n 'You sit on a creative deliberation panel for this application. Depending on the task you '\n + 'derive evaluation rubrics, review candidates against a rubric, coordinate rounds, or '\n + 'synthesize a final decision — always emitting output that conforms EXACTLY to the provided '\n + 'schema, always grounded in what the task material actually shows.',\n persona: personaSections,\n skillType: FlowsActors_Agent_Skill_Type.DECISION,\n /*\n * The FRAMEWORK slice — the craft of reviewing on a rubric, reusable across every work domain\n * and every application. It was EMPTY, and the persona above is the other slice: charter prose,\n * priorities, taboos and quality bar, all derived from THIS application. So a reviewer knew what\n * this product cares about and nothing about how to review.\n *\n * Kept separate rather than folded into the persona, per `app-creation-dynamic-context.md`\n * design 5: application knowledge says what and why, framework knowledge says how, and merging\n * them lets one application's charter quietly redefine what reviewing means.\n */\n instructions: [\n 'Score EVERY criterion the rubric declares, and no others. A criterion you skip is not a low score — it is a missing measurement, and the aggregate cannot tell the difference.',\n 'A score without a reason is not a review. Say what in the candidate produced the number, quoting or pointing at the specific part.',\n 'Critiques must be ACTIONABLE: name what to change, not what you disliked. \"The tagline buries the outcome\" is usable; \"weak copy\" is not.',\n 'Judge against the brief and the rubric, never against your own taste. \"Not how I would have done it\" is not a finding; \"misses a criterion the rubric declares\" is.',\n 'Your dissent is PRESERVED, not averaged away. If you disagree with where the panel is heading, say so plainly rather than converging — a panel that agrees because it expects to agree has measured one lens, not several.',\n 'Never reward what the taboos forbid, however well executed. A polished violation is still a violation.',\n 'If the candidate is genuinely good, say so. A reviewer who never accepts is as uninformative as one who never refuses.',\n ],\n },\n createdAt: '2026-07-16T00:00:00.000Z',\n };\n}\n\n/**\n * The TEXT revision producer — the deliberation's revise step for TEXT\n * subjects (RF-4: text revises the draft; the IMAGE path regenerates via\n * the brand pipeline instead, wired in the brand refit). Deliberately a\n * separate GENERATION agent, not an expert: producing is not judging.\n */\nexport const DELIBERATION_TEXT_PRODUCER_AGENT_REF = 'deliberation.text-producer.agent';\n\nconst _DeliberationTextRevisionOutputSchema = z.object({\n /** The full revised candidate text (wholesale replacement). */\n revisedText: z.string(),\n});\nexport const DeliberationTextRevisionOutputSchema: typeof _DeliberationTextRevisionOutputSchema =\n _DeliberationTextRevisionOutputSchema;\nexport type DeliberationTextRevisionOutput = z.infer<typeof _DeliberationTextRevisionOutputSchema>;\nconst _DeliberationTextRevisionOutputStrictSchema = _DeliberationTextRevisionOutputSchema.strict();\nexport const DeliberationTextRevisionOutputStrictSchema: typeof _DeliberationTextRevisionOutputStrictSchema =\n _DeliberationTextRevisionOutputStrictSchema;\n\nexport function buildDeliberationTextProducerAgent(): FlowsActors_Agent {\n return {\n ref: DELIBERATION_TEXT_PRODUCER_AGENT_REF,\n displayName: 'Deliberation Text Producer Agent',\n status: FlowsActors_Agent_Status.ACTIVE,\n config: {\n providerRef: 'anthropic',\n // DEEP_JUDGMENT: the enum names \"deliberation\" among its own examples (#439). Resolves to\n // `claude-fable-5` on `anthropic` today — the model both of these pinned. The text producer\n // takes the same class as the experts deliberately: STRUCTURED_AUTHORING would read as the\n // tidier label and would resolve to `claude-sonnet-5`, changing which model writes the\n // deliberation's conclusion. A relabelling should not move a model.\n modelApplicability: LLM_Model_Applicability.DEEP_JUDGMENT,\n operationKey: LLMProvider_OperationKey.GENERATE_STRUCTURED,\n maxTokens: 16000,\n accessControl: [{\n primaryScope: ResourcePrimaryScope.APPLICATION,\n requiresApproval: false,\n }],\n riskLevel: ResourceOperationRiskLevel.LOW,\n },\n operationDefinition: {\n operationKey: LLMProvider_OperationKey.GENERATE_STRUCTURED,\n providerRef: 'anthropic',\n inputSchema: LLMProvider_GenerateStructuredInputSchema,\n outputSchema: LLMProvider_GenerateStructuredOutputSchema,\n operationContextSchema: LLMProvider_OperationContext_BaseSchema,\n } satisfies LLMProvider_OperationDefinitionBase,\n promptSpec: {\n role:\n 'You revise a TEXT work-product candidate per a creative panel\\'s critiques, returning the '\n + 'full revised text conforming EXACTLY to the provided output schema.',\n persona:\n 'You are a disciplined reviser: you address EVERY panel critique concretely, you keep '\n + 'everything the panel did not challenge (this is a revision, not a rewrite), and you never '\n + 'introduce new claims the brief does not support.',\n skillType: FlowsActors_Agent_Skill_Type.GENERATION,\n /*\n * DELIBERATELY EMPTY, and stated rather than left silent.\n *\n * This is the second `instructions: []` in this file and it is NOT the same defect as the\n * expert agent's above. The producer's craft — address every critique concretely, keep what the\n * panel did not challenge, introduce no claim the brief does not support — is already written\n * into its persona two fields up, and that craft is three sentences rather than a body of\n * knowledge. Duplicating it here would create two places to edit and one to forget.\n *\n * If it grows beyond what a persona can carry, it belongs here, in the framework slice.\n */\n instructions: [],\n },\n createdAt: '2026-07-16T00:00:00.000Z',\n };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"deliberation-agents.actors-system.definitions.js","sourceRoot":"","sources":["../../../../../src/deliberations/models/deliberation-agents.actors-system.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,EAC1B,oBAAoB,GACrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,yCAAyC,EAAE,0CAA0C,EAAE,uCAAuC,EAA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CAAkC;IAChD,OAAO;QACL,GAAG,EAAE,oCAAoC;QACzC,WAAW,EAAE,kCAAkC;QAC/C,MAAM,EAAE,wBAAwB,CAAC,MAAM;QACvC,MAAM,EAAE;YACN,WAAW,EAAE,WAAW;YACxB,0FAA0F;YAC1F,4FAA4F;YAC5F,2FAA2F;YAC3F,uFAAuF;YACvF,oEAAoE;YACpE,kBAAkB,EAAE,uBAAuB,CAAC,aAAa;YACzD,YAAY,EAAE,wBAAwB,CAAC,mBAAmB;YAC1D,SAAS,EAAE,KAAK;YAChB,aAAa,EAAE,CAAC;oBACd,YAAY,EAAE,oBAAoB,CAAC,WAAW;iBAC/C,CAAC;YACF,SAAS,EAAE,0BAA0B,CAAC,GAAG;SAC1C;QACD,mBAAmB,EAAE;YACnB,YAAY,EAAE,wBAAwB,CAAC,mBAAmB;YAC1D,WAAW,EAAE,WAAW;YACxB,WAAW,EAAE,yCAAyC;YACtD,YAAY,EAAE,0CAA0C;YACxD,sBAAsB,EAAE,uCAAuC;SAClB;QAC/C,UAAU,EAAE;YACV,IAAI,EACF,4FAA4F;kBAC1F,qEAAqE;YACzE,OAAO,EACL,uFAAuF;kBACrF,4FAA4F;kBAC5F,kDAAkD;YACtD,SAAS,EAAE,4BAA4B,CAAC,UAAU;YAClD;;;;;;;;;;eAUG;YACH,YAAY,EAAE,EAAE;SACjB;QACD,SAAS,EAAE,0BAA0B;KACtC,CAAC;AACJ,CAAC","sourcesContent":["import { z } from 'zod';\nimport type { FlowsActors_Agent, RuntimeExpertProfile } from '@wildo-ai/saas-models';\nimport {\n FlowsActors_Agent_Skill_Type,\n FlowsActors_Agent_Status,\n ResourceOperationRiskLevel,\n ResourcePrimaryScope,\n} from '@wildo-ai/saas-models';\nimport { LLMProvider_GenerateStructuredInputSchema, LLMProvider_GenerateStructuredOutputSchema, LLMProvider_OperationContext_BaseSchema, LLMProvider_OperationKey, LLM_Model_Applicability } from '@wildo-ai/external-connectors-models';\nimport type { LLMProvider_OperationDefinitionBase } from '@wildo-ai/external-connectors-models';\n\n/**\n * Deliberation agent factories (agentic deliberation system, Step 3).\n *\n * **Expert agents are BUILT FROM COMMITTED CHARTERS at companion startup**\n * (RF-6): one agent per accepted `ExpertPersonaCharter`, its promptSpec\n * compiled from the DERIVED persona (prose + priorities + taboos +\n * qualityBar + reviewProtocol) — the anti-taste-as-code payoff: the judge's\n * voice comes from the app's own specification, never from framework code.\n * A charter accepted AFTER startup has no agent until the companion\n * restarts (the registry indexes agents at startup) — the deliberation\n * composer fail-closes with exactly that instruction.\n *\n * All on `anthropic/claude-fable-5` with explicit `maxTokens` (the Claude 5\n * family rejects sampling params, and @ai-sdk/anthropic@3.0.67 defaults\n * unknown models to a 4096-token cap that truncates long structured\n * outputs — both learned live 2026-07-16).\n */\n\n/** The agent ref an expert charter's agent is registered under. */\nexport function expertAgentRefForRole(roleRef: string): string {\n return `expert.${roleRef}.agent`;\n}\n\nexport function buildExpertAgent(profile: RuntimeExpertProfile): FlowsActors_Agent {\n const personaSections = [\n profile.personaProse,\n `Your ordered judgment priorities (most important first):\\n${profile.priorities.map((p) => `- ${p}`).join('\\n')}`,\n profile.taboos.length > 0\n ? `Hard taboos you never reward or produce:\\n${profile.taboos.map((t) => `- ${t}`).join('\\n')}`\n : '',\n profile.qualityBar && profile.qualityBar.length > 0\n ? `What a 95+ candidate looks like for this application:\\n${profile.qualityBar.map((q) => `- ${q}`).join('\\n')}`\n : '',\n ].filter((section) => section.length > 0).join('\\n\\n');\n\n return {\n ref: expertAgentRefForRole(profile.roleRef),\n displayName: `Expert: ${profile.roleRef}`,\n status: FlowsActors_Agent_Status.ACTIVE,\n config: {\n providerRef: 'anthropic',\n // DEEP_JUDGMENT: the enum names \"deliberation\" among its own examples (#439). Resolves to\n // `claude-fable-5` on `anthropic` today — the model both of these pinned. The text producer\n // takes the same class as the experts deliberately: STRUCTURED_AUTHORING would read as the\n // tidier label and would resolve to `claude-sonnet-5`, changing which model writes the\n // deliberation's conclusion. A relabelling should not move a model.\n modelApplicability: LLM_Model_Applicability.DEEP_JUDGMENT,\n operationKey: LLMProvider_OperationKey.GENERATE_STRUCTURED,\n // No sampling params (Claude 5 rejects them); explicit output budget\n // (SDK unknown-model default is 4096 and truncates mid-JSON).\n maxTokens: 16000,\n accessControl: [{\n primaryScope: ResourcePrimaryScope.APPLICATION,\n }],\n riskLevel: ResourceOperationRiskLevel.LOW,\n },\n operationDefinition: {\n operationKey: LLMProvider_OperationKey.GENERATE_STRUCTURED,\n providerRef: 'anthropic',\n inputSchema: LLMProvider_GenerateStructuredInputSchema,\n outputSchema: LLMProvider_GenerateStructuredOutputSchema,\n operationContextSchema: LLMProvider_OperationContext_BaseSchema,\n } satisfies LLMProvider_OperationDefinitionBase,\n promptSpec: {\n role:\n 'You sit on a creative deliberation panel for this application. Depending on the task you '\n + 'derive evaluation rubrics, review candidates against a rubric, coordinate rounds, or '\n + 'synthesize a final decision — always emitting output that conforms EXACTLY to the provided '\n + 'schema, always grounded in what the task material actually shows.',\n persona: personaSections,\n skillType: FlowsActors_Agent_Skill_Type.DECISION,\n /*\n * The FRAMEWORK slice — the craft of reviewing on a rubric, reusable across every work domain\n * and every application. It was EMPTY, and the persona above is the other slice: charter prose,\n * priorities, taboos and quality bar, all derived from THIS application. So a reviewer knew what\n * this product cares about and nothing about how to review.\n *\n * Kept separate rather than folded into the persona, per `app-creation-dynamic-context.md`\n * design 5: application knowledge says what and why, framework knowledge says how, and merging\n * them lets one application's charter quietly redefine what reviewing means.\n */\n instructions: [\n 'Score EVERY criterion the rubric declares, and no others. A criterion you skip is not a low score — it is a missing measurement, and the aggregate cannot tell the difference.',\n 'A score without a reason is not a review. Say what in the candidate produced the number, quoting or pointing at the specific part.',\n 'Critiques must be ACTIONABLE: name what to change, not what you disliked. \"The tagline buries the outcome\" is usable; \"weak copy\" is not.',\n 'Judge against the brief and the rubric, never against your own taste. \"Not how I would have done it\" is not a finding; \"misses a criterion the rubric declares\" is.',\n 'Your dissent is PRESERVED, not averaged away. If you disagree with where the panel is heading, say so plainly rather than converging — a panel that agrees because it expects to agree has measured one lens, not several.',\n 'Never reward what the taboos forbid, however well executed. A polished violation is still a violation.',\n 'If the candidate is genuinely good, say so. A reviewer who never accepts is as uninformative as one who never refuses.',\n ],\n },\n createdAt: '2026-07-16T00:00:00.000Z',\n };\n}\n\n/**\n * The TEXT revision producer — the deliberation's revise step for TEXT\n * subjects (RF-4: text revises the draft; the IMAGE path regenerates via\n * the brand pipeline instead, wired in the brand refit). Deliberately a\n * separate GENERATION agent, not an expert: producing is not judging.\n */\nexport const DELIBERATION_TEXT_PRODUCER_AGENT_REF = 'deliberation.text-producer.agent';\n\nconst _DeliberationTextRevisionOutputSchema = z.object({\n /** The full revised candidate text (wholesale replacement). */\n revisedText: z.string(),\n});\nexport const DeliberationTextRevisionOutputSchema: typeof _DeliberationTextRevisionOutputSchema =\n _DeliberationTextRevisionOutputSchema;\nexport type DeliberationTextRevisionOutput = z.infer<typeof _DeliberationTextRevisionOutputSchema>;\nconst _DeliberationTextRevisionOutputStrictSchema = _DeliberationTextRevisionOutputSchema.strict();\nexport const DeliberationTextRevisionOutputStrictSchema: typeof _DeliberationTextRevisionOutputStrictSchema =\n _DeliberationTextRevisionOutputStrictSchema;\n\nexport function buildDeliberationTextProducerAgent(): FlowsActors_Agent {\n return {\n ref: DELIBERATION_TEXT_PRODUCER_AGENT_REF,\n displayName: 'Deliberation Text Producer Agent',\n status: FlowsActors_Agent_Status.ACTIVE,\n config: {\n providerRef: 'anthropic',\n // DEEP_JUDGMENT: the enum names \"deliberation\" among its own examples (#439). Resolves to\n // `claude-fable-5` on `anthropic` today — the model both of these pinned. The text producer\n // takes the same class as the experts deliberately: STRUCTURED_AUTHORING would read as the\n // tidier label and would resolve to `claude-sonnet-5`, changing which model writes the\n // deliberation's conclusion. A relabelling should not move a model.\n modelApplicability: LLM_Model_Applicability.DEEP_JUDGMENT,\n operationKey: LLMProvider_OperationKey.GENERATE_STRUCTURED,\n maxTokens: 16000,\n accessControl: [{\n primaryScope: ResourcePrimaryScope.APPLICATION,\n }],\n riskLevel: ResourceOperationRiskLevel.LOW,\n },\n operationDefinition: {\n operationKey: LLMProvider_OperationKey.GENERATE_STRUCTURED,\n providerRef: 'anthropic',\n inputSchema: LLMProvider_GenerateStructuredInputSchema,\n outputSchema: LLMProvider_GenerateStructuredOutputSchema,\n operationContextSchema: LLMProvider_OperationContext_BaseSchema,\n } satisfies LLMProvider_OperationDefinitionBase,\n promptSpec: {\n role:\n 'You revise a TEXT work-product candidate per a creative panel\\'s critiques, returning the '\n + 'full revised text conforming EXACTLY to the provided output schema.',\n persona:\n 'You are a disciplined reviser: you address EVERY panel critique concretely, you keep '\n + 'everything the panel did not challenge (this is a revision, not a rewrite), and you never '\n + 'introduce new claims the brief does not support.',\n skillType: FlowsActors_Agent_Skill_Type.GENERATION,\n /*\n * DELIBERATELY EMPTY, and stated rather than left silent.\n *\n * This is the second `instructions: []` in this file and it is NOT the same defect as the\n * expert agent's above. The producer's craft — address every critique concretely, keep what the\n * panel did not challenge, introduce no claim the brief does not support — is already written\n * into its persona two fields up, and that craft is three sentences rather than a body of\n * knowledge. Duplicating it here would create two places to edit and one to forget.\n *\n * If it grows beyond what a persona can carry, it belongs here, in the framework slice.\n */\n instructions: [],\n },\n createdAt: '2026-07-16T00:00:00.000Z',\n };\n}\n"]}
|
|
@@ -60,6 +60,18 @@ export declare class DeliberationCompanionService {
|
|
|
60
60
|
constructor(logger: LoggerService, errorBuilder: ErrorBuilderBackendService, actorsSystemService: ActorsSystemBackendService, agentsService: AgentsBackendService, companionContext: CompanionContext, companionIntrospectionService: CompanionIntrospectionService);
|
|
61
61
|
run(options: DeliberationRunOptions, traceContext?: AgentTraceContext): Promise<DeliberationRunResult>;
|
|
62
62
|
private validateOptions;
|
|
63
|
+
/**
|
|
64
|
+
* What each seated role reads beyond the shared brief, keyed by role ref (#1423).
|
|
65
|
+
*
|
|
66
|
+
* Resolves each role's DECLARED `shapingInputKinds` against this application's landed families, so
|
|
67
|
+
* per-role selection happens at RUN time rather than being frozen into charter prose at derivation.
|
|
68
|
+
* It is selection from a declaration, not a planner choosing per agent (#251).
|
|
69
|
+
*
|
|
70
|
+
* Best-effort by construction: an unreadable specifications package leaves every seat with the shared
|
|
71
|
+
* brief, which is exactly the behaviour before this existed. A deliberation must not fail because a
|
|
72
|
+
* seat's extra context could not be composed.
|
|
73
|
+
*/
|
|
74
|
+
private composeExpertRoleContextsByRole;
|
|
63
75
|
/**
|
|
64
76
|
* Resolve one expert seat: committed charter (fail-closed, RF-6) +
|
|
65
77
|
* NARROWNESS enforcement on the right axis — `ownDomain` gates OWNERSHIP
|
|
@@ -72,7 +84,13 @@ export declare class DeliberationCompanionService {
|
|
|
72
84
|
bindExpert(roleRef: string, charterByRole: Map<string, ExpertPersonaCharter>, gate: {
|
|
73
85
|
ownDomain?: ExpertWorkDomain;
|
|
74
86
|
reviewDomain?: ExpertWorkDomain;
|
|
75
|
-
}
|
|
87
|
+
},
|
|
88
|
+
/**
|
|
89
|
+
* What this seat reads beyond the shared brief (#1423) — see {@link composeExpertRoleContextsByRole}.
|
|
90
|
+
* Optional so the other composer that reuses this seam (the brand/logo IMAGE flow) is unchanged
|
|
91
|
+
* until it supplies one, and a seat without it reads the shared brief alone, as every seat did.
|
|
92
|
+
*/
|
|
93
|
+
roleContext?: string): DeliberationExpertBinding;
|
|
76
94
|
/**
|
|
77
95
|
* Committed charters via the read-back behavior, Zod-validated at the
|
|
78
96
|
* seam. PUBLIC on purpose: this + `bindExpert` are the shared composer
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deliberation.companion.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"deliberation.companion.service.d.ts","sourceRoot":"","sources":["../../../../../src/deliberations/services/deliberation.companion.service.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC1B,aAAa,EAEb,KAAK,oBAAoB,EAC1B,MAAM,4BAA4B,CA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AGlC,MAAM,EAAE,aAAa,EAExD,YAAY,EAAE,0BAA0B,EAExC,mBAAmB,EAAE,0BAA0B,EAE/C,aAAa,EAAE,oBAAoB,EAEnC,gBAAgB,EAAE,gBAAgB,EAElC,6BAA6B,EAAE,6BAA6B;IAMlE,GAAG,CACd,OAAO,EAAE,sBAAsB,EAC/B,YAAY,CAAC,EAAE,iBAAiB,GAC/B,OAAO,CAAC,qBAAqB,CAAC;IA6GjC,OAAO,CAAC,eAAe;IA0BvB;;;;;;;;;;OAUG;YACW,+BAA+B;IAuB7C;;;;;;;;OAQG;IACI,UAAU,CACf,OAAO,EAAE,MAAM,EACf,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,oBAAoB,CAAC,EAChD,IAAI,EAAE;QAAE,SAAS,CAAC,EAAE,gBAAgB,CAAC;QAAC,YAAY,CAAC,EAAE,gBAAgB,CAAA;KAAE;IACvE;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GACnB,yBAAyB;IAwD5B;;;;;OAKG;IACU,qBAAqB,IAAI,OAAO,CAAC,oBAAoB,EAAE,CAAC;IAqCrE,uEAAuE;YACzD,UAAU;CAuCzB"}
|
|
@@ -16,7 +16,10 @@ import { resolve } from 'node:path';
|
|
|
16
16
|
import { inject, injectable } from 'inversify';
|
|
17
17
|
import { ActorsSystemBackendService, ErrorBuilderBackendService, LoggerService, SAAS_SERVICE_TYPES, } from '@wildo-ai/saas-backend-lib';
|
|
18
18
|
import { ErrorCustomMessageReference, ErrorType, FlowsActors_IO_PartKind, } from '@wildo-ai/saas-models';
|
|
19
|
-
import { ExpertPersonaCharterSchema, getExpertRoleTemplate, } from '@wildo-ai/saas-specifications';
|
|
19
|
+
import { ExpertPersonaCharterSchema, getExpertRoleTemplate, resolveNotApplicableFamilies, } from '@wildo-ai/saas-specifications';
|
|
20
|
+
import { composeExpertRoleContext, decidedFamilyValuesFromCompanionExports } from '@wildo-ai/application-creation-runtime';
|
|
21
|
+
import { loadSpecificationsCompanionExports } from '../../core/context/companion-package-loaders.companion.js';
|
|
22
|
+
import { loadDraftFamilyValues } from '../../core/context/draft-family-values.companion.js';
|
|
20
23
|
import { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types.js';
|
|
21
24
|
import { CompanionIntrospectionService } from '../../core/introspection/services/companion-introspection.companion.service.js';
|
|
22
25
|
import { DELIBERATION_TEXT_PRODUCER_AGENT_REF, DeliberationTextRevisionOutputSchema, DeliberationTextRevisionOutputStrictSchema, expertAgentRefForRole, } from '../models/deliberation-agents.actors-system.definitions.js';
|
|
@@ -70,12 +73,22 @@ let DeliberationCompanionService = class DeliberationCompanionService {
|
|
|
70
73
|
// ── Experts: committed charters → narrowness-gated bindings ──
|
|
71
74
|
const charters = await this.readCommittedCharters();
|
|
72
75
|
const charterByRole = new Map(charters.map((charter) => [charter.roleRef, charter]));
|
|
73
|
-
const reviewers = options.reviewerRoleRefs.map((roleRef) => this.bindExpert(roleRef, charterByRole, { reviewDomain: options.workDomain }));
|
|
74
|
-
const coordinator = this.bindExpert(options.coordinatorRoleRef, charterByRole, {});
|
|
75
76
|
const rubricDeriverRole = options.rubricDeriverRoleRef ?? options.reviewerRoleRefs[0];
|
|
77
|
+
/*
|
|
78
|
+
* Each seat's OWN context (#1423), composed once per run from the roles actually seated. Before
|
|
79
|
+
* this, the panel's narrowness lived only in charter prose: every seat received one identical
|
|
80
|
+
* brief, so a design-system guardian and a brand strategist judged the same words.
|
|
81
|
+
*/
|
|
82
|
+
const roleContexts = await this.composeExpertRoleContextsByRole([
|
|
83
|
+
...options.reviewerRoleRefs,
|
|
84
|
+
options.coordinatorRoleRef,
|
|
85
|
+
...(rubricDeriverRole ? [rubricDeriverRole] : []),
|
|
86
|
+
]);
|
|
87
|
+
const reviewers = options.reviewerRoleRefs.map((roleRef) => this.bindExpert(roleRef, charterByRole, { reviewDomain: options.workDomain }, roleContexts.get(roleRef)));
|
|
88
|
+
const coordinator = this.bindExpert(options.coordinatorRoleRef, charterByRole, {}, roleContexts.get(options.coordinatorRoleRef));
|
|
76
89
|
const rubricDeriver = this.bindExpert(rubricDeriverRole, charterByRole, {
|
|
77
90
|
ownDomain: options.workDomain,
|
|
78
|
-
});
|
|
91
|
+
}, rubricDeriverRole === undefined ? undefined : roleContexts.get(rubricDeriverRole));
|
|
79
92
|
// ── Initial candidates: persist bytes, hand locators+payload to the engine ──
|
|
80
93
|
const relDir = `${DELIBERATIONS_DIR_SEGMENTS.join('/')}/${deliberationRef}/candidates`;
|
|
81
94
|
const initialCandidates = [];
|
|
@@ -168,6 +181,40 @@ let DeliberationCompanionService = class DeliberationCompanionService {
|
|
|
168
181
|
});
|
|
169
182
|
}
|
|
170
183
|
}
|
|
184
|
+
/**
|
|
185
|
+
* What each seated role reads beyond the shared brief, keyed by role ref (#1423).
|
|
186
|
+
*
|
|
187
|
+
* Resolves each role's DECLARED `shapingInputKinds` against this application's landed families, so
|
|
188
|
+
* per-role selection happens at RUN time rather than being frozen into charter prose at derivation.
|
|
189
|
+
* It is selection from a declaration, not a planner choosing per agent (#251).
|
|
190
|
+
*
|
|
191
|
+
* Best-effort by construction: an unreadable specifications package leaves every seat with the shared
|
|
192
|
+
* brief, which is exactly the behaviour before this existed. A deliberation must not fail because a
|
|
193
|
+
* seat's extra context could not be composed.
|
|
194
|
+
*/
|
|
195
|
+
async composeExpertRoleContextsByRole(roleRefs) {
|
|
196
|
+
const contexts = new Map();
|
|
197
|
+
try {
|
|
198
|
+
const companionExports = await loadSpecificationsCompanionExports(this.companionContext);
|
|
199
|
+
const valuesByFamily = {
|
|
200
|
+
...Object.fromEntries(await loadDraftFamilyValues(this.companionContext.resolvedSpecifications?.packageRoot)),
|
|
201
|
+
...decidedFamilyValuesFromCompanionExports(companionExports),
|
|
202
|
+
};
|
|
203
|
+
const notApplicableFamilies = resolveNotApplicableFamilies(companionExports.creatorInputs);
|
|
204
|
+
for (const roleRef of new Set(roleRefs.filter((ref) => ref !== undefined))) {
|
|
205
|
+
const template = getExpertRoleTemplate(roleRef);
|
|
206
|
+
if (!template)
|
|
207
|
+
continue;
|
|
208
|
+
const composed = composeExpertRoleContext({ shapingInputKinds: template.shapingInputKinds, valuesByFamily, notApplicableFamilies });
|
|
209
|
+
if (composed !== undefined)
|
|
210
|
+
contexts.set(roleRef, composed);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
catch (error) {
|
|
214
|
+
this.logger.warn('Per-role deliberation context omitted; every seat reads the shared brief', { error: String(error) });
|
|
215
|
+
}
|
|
216
|
+
return contexts;
|
|
217
|
+
}
|
|
171
218
|
/**
|
|
172
219
|
* Resolve one expert seat: committed charter (fail-closed, RF-6) +
|
|
173
220
|
* NARROWNESS enforcement on the right axis — `ownDomain` gates OWNERSHIP
|
|
@@ -177,7 +224,13 @@ let DeliberationCompanionService = class DeliberationCompanionService {
|
|
|
177
224
|
* owning marks) — + charter→runtime-profile mapping (domains from the
|
|
178
225
|
* framework TEMPLATE; substance from the derived charter).
|
|
179
226
|
*/
|
|
180
|
-
bindExpert(roleRef, charterByRole, gate
|
|
227
|
+
bindExpert(roleRef, charterByRole, gate,
|
|
228
|
+
/**
|
|
229
|
+
* What this seat reads beyond the shared brief (#1423) — see {@link composeExpertRoleContextsByRole}.
|
|
230
|
+
* Optional so the other composer that reuses this seam (the brand/logo IMAGE flow) is unchanged
|
|
231
|
+
* until it supplies one, and a seat without it reads the shared brief alone, as every seat did.
|
|
232
|
+
*/
|
|
233
|
+
roleContext) {
|
|
181
234
|
const template = getExpertRoleTemplate(roleRef);
|
|
182
235
|
if (!template) {
|
|
183
236
|
throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
|
|
@@ -226,7 +279,11 @@ let DeliberationCompanionService = class DeliberationCompanionService {
|
|
|
226
279
|
...(charter.qualityBar !== undefined ? { qualityBar: charter.qualityBar } : {}),
|
|
227
280
|
...(charter.reviewProtocol !== undefined ? { reviewProtocol: charter.reviewProtocol } : {}),
|
|
228
281
|
};
|
|
229
|
-
return {
|
|
282
|
+
return {
|
|
283
|
+
profile,
|
|
284
|
+
agentRef: expertAgentRefForRole(roleRef),
|
|
285
|
+
...(roleContext !== undefined && roleContext.trim() !== '' ? { roleContext } : {}),
|
|
286
|
+
};
|
|
230
287
|
}
|
|
231
288
|
/**
|
|
232
289
|
* Committed charters via the read-back behavior, Zod-validated at the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deliberation.companion.service.js","sourceRoot":"","sources":["../../../../src/deliberations/services/deliberation.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC1B,aAAa,EACb,kBAAkB,GAEnB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,2BAA2B,EAC3B,SAAS,EAET,uBAAuB,GAQxB,MAAM,uBAAuB,CAAC;AAK/B,OAAO,EACL,0BAA0B,EAC1B,qBAAqB,GAEtB,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAEjF,OAAO,EAAE,6BAA6B,EAAE,MAAM,6EAA6E,CAAC;AAC5H,OAAO,EACL,oCAAoC,EACpC,oCAAoC,EACpC,0CAA0C,EAC1C,qBAAqB,GACtB,MAAM,yDAAyD,CAAC;AAyBjE,MAAM,0BAA0B,GAAG,CAAC,aAAa,EAAE,WAAW,EAAE,eAAe,CAAU,CAAC;AAE1F;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEI,IAAM,4BAA4B,GAAlC,MAAM,4BAA4B;IAIe;IAEnC;IAEA;IAEA;IAEA;IAEA;IAbF,QAAQ,CAA+D;IAExF,YACsD,MA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A,MAAM,CAAC,uBAAuB,CAAC,oBAAoB,CAAC,CAAA;qCATO,aAAa;QAE1C,0BAA0B;QAEnB,0BAA0B,oBAMhB,6BAA6B;GAdpE,4BAA4B,CAwSxC","sourcesContent":["import { randomUUID } from 'node:crypto';\nimport { mkdir, writeFile } from 'node:fs/promises';\nimport { resolve } from 'node:path';\n\nimport { inject, injectable } from 'inversify';\nimport {\n ActorsSystemBackendService,\n ErrorBuilderBackendService,\n LoggerService,\n SAAS_SERVICE_TYPES,\n type AgentsBackendService,\n} from '@wildo-ai/saas-backend-lib';\nimport {\n ErrorCustomMessageReference,\n ErrorType,\n ExpertWorkDomain,\n FlowsActors_IO_PartKind,\n type AgentTraceContext,\n type DeliberationCandidateInput,\n type DeliberationExpertBinding,\n type DeliberationPlan,\n type DeliberationRecord,\n type FlowsActors_Agent_Invocation,\n type RuntimeExpertProfile,\n} from '@wildo-ai/saas-models';\nimport {\n LLMProvider_GenerateStructuredInputSchema,\n LLMProvider_GenerateStructuredOutputSchema,\n} from '@wildo-ai/external-connectors-models';\nimport {\n ExpertPersonaCharterSchema,\n getExpertRoleTemplate,\n type ExpertPersonaCharter,\n} from '@wildo-ai/saas-specifications';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\nimport { CompanionIntrospectionService } from '../../core/introspection/services/companion-introspection.companion.service';\nimport {\n DELIBERATION_TEXT_PRODUCER_AGENT_REF,\n DeliberationTextRevisionOutputSchema,\n DeliberationTextRevisionOutputStrictSchema,\n expertAgentRefForRole,\n} from '../models/deliberation-agents.actors-system.definitions';\n\n/** A TEXT-subject deliberation request (the v1 route; IMAGE arrives with the brand refit). */\nexport interface DeliberationRunOptions {\n workDomain: ExpertWorkDomain;\n /** The assembled work-product brief every pass is grounded on. */\n briefContext: string;\n /** The initial candidate set (inline text; the service persists the bytes). */\n candidates: Array<{ ref: string; text: string }>;\n /** Panel roles — each must have a committed charter AND cover the work domain. */\n reviewerRoleRefs: string[];\n /** Coordinator role — the manager hat; NOT domain-gated (documented in the plan). */\n coordinatorRoleRef: string;\n /** Rubric-deriving role (default: the first reviewer — the domain owner). */\n rubricDeriverRoleRef?: string;\n roundBudget?: number;\n shortlistSize?: number;\n}\n\nexport interface DeliberationRunResult {\n record: DeliberationRecord;\n /** saasRoot-relative path of the persisted record. */\n recordPath: string;\n}\n\nconst DELIBERATIONS_DIR_SEGMENTS = ['.wildo-saas', 'generated', 'deliberations'] as const;\n\n/**\n * Deliberation COMPOSER (agentic deliberation system, Step 3) — the\n * companion half of the split: it owns charters, agents, candidate BYTES\n * and record persistence; the ENGINE (`ActorsSystemBackendService.\n * executeDeliberation`) owns the orchestration semantics.\n *\n * Composition steps: read the committed charters (introspection read-back,\n * Zod-validated) → enforce NARROWNESS fail-closed (every reviewer's role\n * must declare the deliberation's work domain; the coordinator is the\n * manager hat and is not domain-gated) → map charters to runtime profiles\n * (workDomains come from the TEMPLATE — the charter carries substance, the\n * framework carries routing) → persist the initial candidate bytes under\n * `.wildo-saas/generated/deliberations/<ref>/candidates/` → hand the engine\n * a plan whose PRODUCER callback revises TEXT candidates through the\n * `deliberation.text-producer.agent` and persists each revision → persist\n * the returned `DeliberationRecord` (RF-2).\n *\n * Fail-closed posture (RF-6): a reviewer/coordinator role without a\n * committed charter aborts with \"derive + accept the charter first\"; a\n * charter accepted after startup has no registered agent until the\n * companion restarts — the error says exactly that.\n */\n@injectable()\nexport class DeliberationCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n\n constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(SAAS_SERVICE_TYPES.ErrorBuilderService)\n private readonly errorBuilder: ErrorBuilderBackendService,\n @inject(SAAS_SERVICE_TYPES.ActorsSystemBackendService)\n private readonly actorsSystemService: ActorsSystemBackendService,\n @inject(SAAS_SERVICE_TYPES.AgentsBackendService)\n private readonly agentsService: AgentsBackendService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext)\n private readonly companionContext: CompanionContext,\n @inject(COMPANION_SERVICE_TYPES.IntrospectionService)\n private readonly companionIntrospectionService: CompanionIntrospectionService,\n ) {\n this.logDebug = this.logger.debugByType('DeliberationCompanionService');\n this.logger.setDebugTypeLogging('DeliberationCompanionService', true);\n }\n\n public async run(\n options: DeliberationRunOptions,\n traceContext?: AgentTraceContext,\n ): Promise<DeliberationRunResult> {\n this.validateOptions(options);\n const deliberationRef = `delib-${options.workDomain.toLowerCase()}-${randomUUID().slice(0, 8)}`;\n const deliberationDirAbs = resolve(\n this.companionContext.saasRoot, ...DELIBERATIONS_DIR_SEGMENTS, deliberationRef,\n );\n const candidatesDirAbs = resolve(deliberationDirAbs, 'candidates');\n await mkdir(candidatesDirAbs, { recursive: true });\n\n // ── Experts: committed charters → narrowness-gated bindings ──\n const charters = await this.readCommittedCharters();\n const charterByRole = new Map(charters.map((charter) => [charter.roleRef, charter]));\n const reviewers = options.reviewerRoleRefs.map((roleRef) =>\n this.bindExpert(roleRef, charterByRole, { reviewDomain: options.workDomain }));\n const coordinator = this.bindExpert(options.coordinatorRoleRef, charterByRole, {});\n const rubricDeriverRole = options.rubricDeriverRoleRef ?? options.reviewerRoleRefs[0];\n const rubricDeriver = this.bindExpert(rubricDeriverRole, charterByRole, {\n ownDomain: options.workDomain,\n });\n\n // ── Initial candidates: persist bytes, hand locators+payload to the engine ──\n const relDir = `${DELIBERATIONS_DIR_SEGMENTS.join('/')}/${deliberationRef}/candidates`;\n const initialCandidates: DeliberationCandidateInput[] = [];\n for (const candidate of options.candidates) {\n const fileName = `${candidate.ref}.txt`;\n await writeFile(resolve(candidatesDirAbs, fileName), candidate.text, 'utf8');\n initialCandidates.push({\n ref: candidate.ref,\n storageRef: `${relDir}/${fileName}`,\n content: { kind: FlowsActors_IO_PartKind.TEXT, text: candidate.text },\n });\n }\n\n // ── Producer: TEXT revision via the producer agent + byte persistence ──\n let revisionSequence = 0;\n const producer = {\n produceRevision: async (\n parent: DeliberationCandidateInput,\n revisionPrompt: string,\n ): Promise<DeliberationCandidateInput> => {\n if (parent.content.kind !== FlowsActors_IO_PartKind.TEXT) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: { message: 'The TEXT deliberation route cannot revise non-text candidates.' },\n });\n }\n const revised = await this.reviseText(parent.content.text, revisionPrompt, options.briefContext, traceContext);\n revisionSequence += 1;\n const ref = `${parent.ref}-rev${revisionSequence}`;\n const fileName = `${ref}.txt`;\n await writeFile(resolve(candidatesDirAbs, fileName), revised, 'utf8');\n return {\n ref,\n storageRef: `${relDir}/${fileName}`,\n content: { kind: FlowsActors_IO_PartKind.TEXT, text: revised },\n };\n },\n };\n\n const plan: DeliberationPlan = {\n deliberationRef,\n workDomain: options.workDomain,\n subjectKind: FlowsActors_IO_PartKind.TEXT,\n briefContext: options.briefContext,\n reviewers,\n coordinator,\n rubricDeriver,\n producerAgentRef: DELIBERATION_TEXT_PRODUCER_AGENT_REF,\n producer,\n initialCandidates,\n roundBudget: options.roundBudget ?? 2,\n shortlistSize: options.shortlistSize ?? 2,\n };\n\n this.logDebug('deliberation composed', {\n deliberationRef,\n reviewers: reviewers.map((binding) => binding.profile.roleRef),\n coordinator: coordinator.profile.roleRef,\n candidates: initialCandidates.length,\n });\n\n // ── Engine orchestration → persist the record (RF-2) ────────\n const record = await this.actorsSystemService.executeDeliberation(plan, traceContext);\n const recordPath = `${DELIBERATIONS_DIR_SEGMENTS.join('/')}/${deliberationRef}/record.json`;\n await writeFile(\n resolve(deliberationDirAbs, 'record.json'),\n `${JSON.stringify(record, null, 2)}\\n`,\n 'utf8',\n );\n this.logDebug('deliberation record persisted', {\n deliberationRef,\n status: record.status,\n rounds: record.rounds.length,\n winnerRef: record.synthesis?.winnerRef,\n recordPath,\n });\n return { record, recordPath };\n }\n\n private validateOptions(options: DeliberationRunOptions): void {\n /*\n * The SAME floor the engine enforces (`validateDeliberationPlan`), raised here too\n * so the composer refuses before spending a charter read — and, more importantly,\n * so the two sites do not disagree about what a panel IS. Two floors for one\n * invariant is how a rule ends up half-applied\n * (`invariant-call-site-enumeration.md`); if this bound moves, move both.\n */\n if (options.candidates.length === 0 || options.reviewerRoleRefs.length < 2) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: {\n message: 'A deliberation needs ≥1 candidate and ≥2 reviewer roles — a panel of one is a judge, '\n + 'not a deliberation, and its record would carry an always-empty dissent.',\n },\n });\n }\n const refs = new Set(options.candidates.map((candidate) => candidate.ref));\n if (refs.size !== options.candidates.length) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: { message: 'Candidate refs must be unique.' },\n });\n }\n }\n\n /**\n * Resolve one expert seat: committed charter (fail-closed, RF-6) +\n * NARROWNESS enforcement on the right axis — `ownDomain` gates OWNERSHIP\n * (rubric derivation / brief authoring: `template.workDomains`),\n * `reviewDomain` gates PANEL PARTICIPATION (`template.reviewScopes` —\n * a guardian/strategist reviews a mark through its own lens without\n * owning marks) — + charter→runtime-profile mapping (domains from the\n * framework TEMPLATE; substance from the derived charter).\n */\n public bindExpert(\n roleRef: string,\n charterByRole: Map<string, ExpertPersonaCharter>,\n gate: { ownDomain?: ExpertWorkDomain; reviewDomain?: ExpertWorkDomain },\n ): DeliberationExpertBinding {\n const template = getExpertRoleTemplate(roleRef);\n if (!template) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: { message: `Unknown expert role '${roleRef}' — no such template in EXPERT_ROLE_TEMPLATES.` },\n });\n }\n if (gate.ownDomain !== undefined && !template.workDomains.includes(gate.ownDomain)) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: {\n message: `NARROWNESS (ownership): role '${roleRef}' does not OWN work domain '${gate.ownDomain}' `\n + `(owns [${template.workDomains.join(', ')}]) — only the domain owner authors briefs and `\n + `derives rubrics. Use the owning role instead.`,\n },\n });\n }\n if (gate.reviewDomain !== undefined && !template.reviewScopes.includes(gate.reviewDomain)) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: {\n message: `NARROWNESS (lens): role '${roleRef}' does not review work domain '${gate.reviewDomain}' `\n + `(review scopes: [${template.reviewScopes.join(', ')}]) — an expert never sits on a panel `\n + `outside its lens reach. Convene a role whose review scope covers the domain.`,\n },\n });\n }\n const charter = charterByRole.get(roleRef);\n if (!charter) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: {\n message: `Role '${roleRef}' has no COMMITTED charter — derive + accept it first `\n + `(POST /expert-personas/derive then /accept), then RESTART the companion so its agent `\n + `registers (agents are indexed at startup).`,\n },\n });\n }\n const profile: RuntimeExpertProfile = {\n charterRef: charter.charterRef,\n roleRef: charter.roleRef,\n workDomains: template.workDomains,\n personaProse: charter.personaProse,\n priorities: charter.priorities,\n taboos: charter.taboos,\n ...(charter.qualityBar !== undefined ? { qualityBar: charter.qualityBar } : {}),\n ...(charter.reviewProtocol !== undefined ? { reviewProtocol: charter.reviewProtocol } : {}),\n };\n return { profile, agentRef: expertAgentRefForRole(roleRef) };\n }\n\n /**\n * Committed charters via the read-back behavior, Zod-validated at the\n * seam. PUBLIC on purpose: this + `bindExpert` are the shared composer\n * seams other deliberation adopters (e.g. the brand/logo IMAGE flow)\n * reuse instead of duplicating charter/narrowness logic.\n */\n public async readCommittedCharters(): Promise<ExpertPersonaCharter[]> {\n const backendServiceKey = Object.entries(this.companionContext.servicesByKey)\n .find(([, service]) => !service.frontendType)?.[0];\n if (!backendServiceKey) {\n throw this.errorBuilder.buildError(ErrorType.CONFIGURATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.CONFIGURATION,\n context: { message: 'No backend service available to resolve the expert-persona-charters behavior.' },\n });\n }\n const introspection = await this.companionIntrospectionService.requestInfo({\n serviceKey: backendServiceKey,\n behavior: 'expert-persona-charters',\n input: {},\n });\n if (introspection.success === false) {\n const failure = introspection;\n throw this.errorBuilder.buildError(ErrorType.INTERNAL, undefined, {\n customMessageReference: ErrorCustomMessageReference.INTERNAL,\n context: { message: failure.error.message, behavior: failure.behavior },\n });\n }\n const raw = (introspection.data as { charters?: unknown[] }).charters ?? [];\n return raw.map((candidate, index) => {\n const parsed = ExpertPersonaCharterSchema.safeParse(candidate);\n if (!parsed.success) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: {\n message: `Committed charter at index ${index} is structurally invalid: `\n + parsed.error.issues.map((issue) => `${issue.path.join('.')}: ${issue.message}`).join('; '),\n },\n });\n }\n return parsed.data;\n });\n }\n\n /** One TEXT revision through the producer agent (strict-validated). */\n private async reviseText(\n currentText: string,\n revisionPrompt: string,\n briefContext: string,\n traceContext?: AgentTraceContext,\n ): Promise<string> {\n const prompt = [\n briefContext,\n '',\n '# Current candidate text',\n currentText,\n '',\n revisionPrompt,\n ].join('\\n');\n const invocation: FlowsActors_Agent_Invocation<\n typeof LLMProvider_GenerateStructuredInputSchema,\n typeof LLMProvider_GenerateStructuredOutputSchema\n > = {\n agentRef: DELIBERATION_TEXT_PRODUCER_AGENT_REF,\n initiator: {},\n invocationContext: [],\n input: { prompt, schema: DeliberationTextRevisionOutputSchema },\n output: { object: {} },\n executionContext: {},\n artifactBindings: [],\n };\n const response = await this.agentsService.invokeAgent(invocation, traceContext);\n const raw = (response.output as { object?: unknown } | undefined)?.object;\n const parsed = DeliberationTextRevisionOutputStrictSchema.safeParse(raw);\n if (!parsed.success || parsed.data.revisedText.trim().length === 0) {\n throw this.errorBuilder.buildError(ErrorType.INTERNAL, undefined, {\n customMessageReference: ErrorCustomMessageReference.INTERNAL,\n context: {\n message: 'The text producer returned an invalid/empty revision — re-run the deliberation.',\n },\n });\n }\n return parsed.data.revisedText;\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"deliberation.companion.service.js","sourceRoot":"","sources":["../../../../../src/deliberations/services/deliberation.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC1B,aAAa,EACb,kBAAkB,GAEnB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,2BAA2B,EAC3B,SAAS,EAET,uBAAuB,GAQxB,MAAM,uBAAuB,CAAC;AAK/B,OAAO,EACL,0BAA0B,EAC1B,qBAAqB,EACrB,4BAA4B,GAG7B,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,wBAAwB,EAAE,uCAAuC,EAAE,MAAM,wCAAwC,CAAC;AAC3H,OAAO,EAAE,kCAAkC,EAAE,MAAM,wDAAwD,CAAC;AAC5G,OAAO,EAAE,qBAAqB,EAAE,MAAM,kDAAkD,CAAC;AACzF,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAEjF,OAAO,EAAE,6BAA6B,EAAE,MAAM,6EAA6E,CAAC;AAC5H,OAAO,EACL,oCAAoC,EACpC,oCAAoC,EACpC,0CAA0C,EAC1C,qBAAqB,GACtB,MAAM,yDAAyD,CAAC;AAyBjE,MAAM,0BAA0B,GAAG,CAAC,aAAa,EAAE,WAAW,EAAE,eAAe,CAAU,CAAC;AAE1F;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEI,IAAM,4BAA4B,GAAlC,MAAM,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C,EAAE,CAAC;YACnE,MAAM,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,SAAS,CAAC,QAAQ,EAAE,SAAS,EAAE;gBAChE,sBAAsB,EAAE,2BAA2B,CAAC,QAAQ;gBAC5D,OAAO,EAAE;oBACP,OAAO,EAAE,iFAAiF;iBAC3F;aACF,CAAC,CAAC;QACL,CAAC;QACD,OAAO,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC;IACjC,CAAC;CACF,CAAA;AA9VY,4BAA4B;IADxC,UAAU,EAAE;IAKR,WAAA,MAAM,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAA;IACjC,WAAA,MAAM,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,CAAA;IAE9C,WAAA,MAAM,CAAC,kBAAkB,CAAC,0BAA0B,CAAC,CAAA;IAErD,WAAA,MAAM,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,CAAA;IAE/C,WAAA,MAAM,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAA;IAEhD,WAAA,MAAM,CAAC,uBAAuB,CAAC,oBAAoB,CAAC,CAAA;qCATO,aAAa;QAE1C,0BAA0B;QAEnB,0BAA0B,oBAMhB,6BAA6B;GAdpE,4BAA4B,CA8VxC","sourcesContent":["import { randomUUID } from 'node:crypto';\nimport { mkdir, writeFile } from 'node:fs/promises';\nimport { resolve } from 'node:path';\n\nimport { inject, injectable } from 'inversify';\nimport {\n ActorsSystemBackendService,\n ErrorBuilderBackendService,\n LoggerService,\n SAAS_SERVICE_TYPES,\n type AgentsBackendService,\n} from '@wildo-ai/saas-backend-lib';\nimport {\n ErrorCustomMessageReference,\n ErrorType,\n ExpertWorkDomain,\n FlowsActors_IO_PartKind,\n type AgentTraceContext,\n type DeliberationCandidateInput,\n type DeliberationExpertBinding,\n type DeliberationPlan,\n type DeliberationRecord,\n type FlowsActors_Agent_Invocation,\n type RuntimeExpertProfile,\n} from '@wildo-ai/saas-models';\nimport {\n LLMProvider_GenerateStructuredInputSchema,\n LLMProvider_GenerateStructuredOutputSchema,\n} from '@wildo-ai/external-connectors-models';\nimport {\n ExpertPersonaCharterSchema,\n getExpertRoleTemplate,\n resolveNotApplicableFamilies,\n type ApplicationCreatorInputs,\n type ExpertPersonaCharter,\n} from '@wildo-ai/saas-specifications';\n\nimport { composeExpertRoleContext, decidedFamilyValuesFromCompanionExports } from '@wildo-ai/application-creation-runtime';\nimport { loadSpecificationsCompanionExports } from '../../core/context/companion-package-loaders.companion';\nimport { loadDraftFamilyValues } from '../../core/context/draft-family-values.companion';\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\nimport { CompanionIntrospectionService } from '../../core/introspection/services/companion-introspection.companion.service';\nimport {\n DELIBERATION_TEXT_PRODUCER_AGENT_REF,\n DeliberationTextRevisionOutputSchema,\n DeliberationTextRevisionOutputStrictSchema,\n expertAgentRefForRole,\n} from '../models/deliberation-agents.actors-system.definitions';\n\n/** A TEXT-subject deliberation request (the v1 route; IMAGE arrives with the brand refit). */\nexport interface DeliberationRunOptions {\n workDomain: ExpertWorkDomain;\n /** The assembled work-product brief every pass is grounded on. */\n briefContext: string;\n /** The initial candidate set (inline text; the service persists the bytes). */\n candidates: Array<{ ref: string; text: string }>;\n /** Panel roles — each must have a committed charter AND cover the work domain. */\n reviewerRoleRefs: string[];\n /** Coordinator role — the manager hat; NOT domain-gated (documented in the plan). */\n coordinatorRoleRef: string;\n /** Rubric-deriving role (default: the first reviewer — the domain owner). */\n rubricDeriverRoleRef?: string;\n roundBudget?: number;\n shortlistSize?: number;\n}\n\nexport interface DeliberationRunResult {\n record: DeliberationRecord;\n /** saasRoot-relative path of the persisted record. */\n recordPath: string;\n}\n\nconst DELIBERATIONS_DIR_SEGMENTS = ['.wildo-saas', 'generated', 'deliberations'] as const;\n\n/**\n * Deliberation COMPOSER (agentic deliberation system, Step 3) — the\n * companion half of the split: it owns charters, agents, candidate BYTES\n * and record persistence; the ENGINE (`ActorsSystemBackendService.\n * executeDeliberation`) owns the orchestration semantics.\n *\n * Composition steps: read the committed charters (introspection read-back,\n * Zod-validated) → enforce NARROWNESS fail-closed (every reviewer's role\n * must declare the deliberation's work domain; the coordinator is the\n * manager hat and is not domain-gated) → map charters to runtime profiles\n * (workDomains come from the TEMPLATE — the charter carries substance, the\n * framework carries routing) → persist the initial candidate bytes under\n * `.wildo-saas/generated/deliberations/<ref>/candidates/` → hand the engine\n * a plan whose PRODUCER callback revises TEXT candidates through the\n * `deliberation.text-producer.agent` and persists each revision → persist\n * the returned `DeliberationRecord` (RF-2).\n *\n * Fail-closed posture (RF-6): a reviewer/coordinator role without a\n * committed charter aborts with \"derive + accept the charter first\"; a\n * charter accepted after startup has no registered agent until the\n * companion restarts — the error says exactly that.\n */\n@injectable()\nexport class DeliberationCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n\n constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(SAAS_SERVICE_TYPES.ErrorBuilderService)\n private readonly errorBuilder: ErrorBuilderBackendService,\n @inject(SAAS_SERVICE_TYPES.ActorsSystemBackendService)\n private readonly actorsSystemService: ActorsSystemBackendService,\n @inject(SAAS_SERVICE_TYPES.AgentsBackendService)\n private readonly agentsService: AgentsBackendService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext)\n private readonly companionContext: CompanionContext,\n @inject(COMPANION_SERVICE_TYPES.IntrospectionService)\n private readonly companionIntrospectionService: CompanionIntrospectionService,\n ) {\n this.logDebug = this.logger.debugByType('DeliberationCompanionService');\n this.logger.setDebugTypeLogging('DeliberationCompanionService', true);\n }\n\n public async run(\n options: DeliberationRunOptions,\n traceContext?: AgentTraceContext,\n ): Promise<DeliberationRunResult> {\n this.validateOptions(options);\n const deliberationRef = `delib-${options.workDomain.toLowerCase()}-${randomUUID().slice(0, 8)}`;\n const deliberationDirAbs = resolve(\n this.companionContext.saasRoot, ...DELIBERATIONS_DIR_SEGMENTS, deliberationRef,\n );\n const candidatesDirAbs = resolve(deliberationDirAbs, 'candidates');\n await mkdir(candidatesDirAbs, { recursive: true });\n\n // ── Experts: committed charters → narrowness-gated bindings ──\n const charters = await this.readCommittedCharters();\n const charterByRole = new Map(charters.map((charter) => [charter.roleRef, charter]));\n const rubricDeriverRole = options.rubricDeriverRoleRef ?? options.reviewerRoleRefs[0];\n /*\n * Each seat's OWN context (#1423), composed once per run from the roles actually seated. Before\n * this, the panel's narrowness lived only in charter prose: every seat received one identical\n * brief, so a design-system guardian and a brand strategist judged the same words.\n */\n const roleContexts = await this.composeExpertRoleContextsByRole([\n ...options.reviewerRoleRefs,\n options.coordinatorRoleRef,\n ...(rubricDeriverRole ? [rubricDeriverRole] : []),\n ]);\n const reviewers = options.reviewerRoleRefs.map((roleRef) =>\n this.bindExpert(roleRef, charterByRole, { reviewDomain: options.workDomain }, roleContexts.get(roleRef)));\n const coordinator = this.bindExpert(options.coordinatorRoleRef, charterByRole, {}, roleContexts.get(options.coordinatorRoleRef));\n const rubricDeriver = this.bindExpert(rubricDeriverRole, charterByRole, {\n ownDomain: options.workDomain,\n }, rubricDeriverRole === undefined ? undefined : roleContexts.get(rubricDeriverRole));\n\n // ── Initial candidates: persist bytes, hand locators+payload to the engine ──\n const relDir = `${DELIBERATIONS_DIR_SEGMENTS.join('/')}/${deliberationRef}/candidates`;\n const initialCandidates: DeliberationCandidateInput[] = [];\n for (const candidate of options.candidates) {\n const fileName = `${candidate.ref}.txt`;\n await writeFile(resolve(candidatesDirAbs, fileName), candidate.text, 'utf8');\n initialCandidates.push({\n ref: candidate.ref,\n storageRef: `${relDir}/${fileName}`,\n content: { kind: FlowsActors_IO_PartKind.TEXT, text: candidate.text },\n });\n }\n\n // ── Producer: TEXT revision via the producer agent + byte persistence ──\n let revisionSequence = 0;\n const producer = {\n produceRevision: async (\n parent: DeliberationCandidateInput,\n revisionPrompt: string,\n ): Promise<DeliberationCandidateInput> => {\n if (parent.content.kind !== FlowsActors_IO_PartKind.TEXT) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: { message: 'The TEXT deliberation route cannot revise non-text candidates.' },\n });\n }\n const revised = await this.reviseText(parent.content.text, revisionPrompt, options.briefContext, traceContext);\n revisionSequence += 1;\n const ref = `${parent.ref}-rev${revisionSequence}`;\n const fileName = `${ref}.txt`;\n await writeFile(resolve(candidatesDirAbs, fileName), revised, 'utf8');\n return {\n ref,\n storageRef: `${relDir}/${fileName}`,\n content: { kind: FlowsActors_IO_PartKind.TEXT, text: revised },\n };\n },\n };\n\n const plan: DeliberationPlan = {\n deliberationRef,\n workDomain: options.workDomain,\n subjectKind: FlowsActors_IO_PartKind.TEXT,\n briefContext: options.briefContext,\n reviewers,\n coordinator,\n rubricDeriver,\n producerAgentRef: DELIBERATION_TEXT_PRODUCER_AGENT_REF,\n producer,\n initialCandidates,\n roundBudget: options.roundBudget ?? 2,\n shortlistSize: options.shortlistSize ?? 2,\n };\n\n this.logDebug('deliberation composed', {\n deliberationRef,\n reviewers: reviewers.map((binding) => binding.profile.roleRef),\n coordinator: coordinator.profile.roleRef,\n candidates: initialCandidates.length,\n });\n\n // ── Engine orchestration → persist the record (RF-2) ────────\n const record = await this.actorsSystemService.executeDeliberation(plan, traceContext);\n const recordPath = `${DELIBERATIONS_DIR_SEGMENTS.join('/')}/${deliberationRef}/record.json`;\n await writeFile(\n resolve(deliberationDirAbs, 'record.json'),\n `${JSON.stringify(record, null, 2)}\\n`,\n 'utf8',\n );\n this.logDebug('deliberation record persisted', {\n deliberationRef,\n status: record.status,\n rounds: record.rounds.length,\n winnerRef: record.synthesis?.winnerRef,\n recordPath,\n });\n return { record, recordPath };\n }\n\n private validateOptions(options: DeliberationRunOptions): void {\n /*\n * The SAME floor the engine enforces (`validateDeliberationPlan`), raised here too\n * so the composer refuses before spending a charter read — and, more importantly,\n * so the two sites do not disagree about what a panel IS. Two floors for one\n * invariant is how a rule ends up half-applied\n * (`invariant-call-site-enumeration.md`); if this bound moves, move both.\n */\n if (options.candidates.length === 0 || options.reviewerRoleRefs.length < 2) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: {\n message: 'A deliberation needs ≥1 candidate and ≥2 reviewer roles — a panel of one is a judge, '\n + 'not a deliberation, and its record would carry an always-empty dissent.',\n },\n });\n }\n const refs = new Set(options.candidates.map((candidate) => candidate.ref));\n if (refs.size !== options.candidates.length) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: { message: 'Candidate refs must be unique.' },\n });\n }\n }\n\n /**\n * What each seated role reads beyond the shared brief, keyed by role ref (#1423).\n *\n * Resolves each role's DECLARED `shapingInputKinds` against this application's landed families, so\n * per-role selection happens at RUN time rather than being frozen into charter prose at derivation.\n * It is selection from a declaration, not a planner choosing per agent (#251).\n *\n * Best-effort by construction: an unreadable specifications package leaves every seat with the shared\n * brief, which is exactly the behaviour before this existed. A deliberation must not fail because a\n * seat's extra context could not be composed.\n */\n private async composeExpertRoleContextsByRole(roleRefs: readonly (string | undefined)[]): Promise<Map<string, string>> {\n const contexts = new Map<string, string>();\n try {\n const companionExports = await loadSpecificationsCompanionExports(this.companionContext);\n const valuesByFamily = {\n ...Object.fromEntries(await loadDraftFamilyValues(this.companionContext.resolvedSpecifications?.packageRoot)),\n ...decidedFamilyValuesFromCompanionExports(companionExports as unknown as Record<string, unknown>),\n };\n const notApplicableFamilies = resolveNotApplicableFamilies(\n (companionExports as unknown as { creatorInputs?: ApplicationCreatorInputs }).creatorInputs,\n );\n for (const roleRef of new Set(roleRefs.filter((ref): ref is string => ref !== undefined))) {\n const template = getExpertRoleTemplate(roleRef);\n if (!template) continue;\n const composed = composeExpertRoleContext({ shapingInputKinds: template.shapingInputKinds, valuesByFamily, notApplicableFamilies });\n if (composed !== undefined) contexts.set(roleRef, composed);\n }\n } catch (error) {\n this.logger.warn('Per-role deliberation context omitted; every seat reads the shared brief', { error: String(error) });\n }\n return contexts;\n }\n\n /**\n * Resolve one expert seat: committed charter (fail-closed, RF-6) +\n * NARROWNESS enforcement on the right axis — `ownDomain` gates OWNERSHIP\n * (rubric derivation / brief authoring: `template.workDomains`),\n * `reviewDomain` gates PANEL PARTICIPATION (`template.reviewScopes` —\n * a guardian/strategist reviews a mark through its own lens without\n * owning marks) — + charter→runtime-profile mapping (domains from the\n * framework TEMPLATE; substance from the derived charter).\n */\n public bindExpert(\n roleRef: string,\n charterByRole: Map<string, ExpertPersonaCharter>,\n gate: { ownDomain?: ExpertWorkDomain; reviewDomain?: ExpertWorkDomain },\n /**\n * What this seat reads beyond the shared brief (#1423) — see {@link composeExpertRoleContextsByRole}.\n * Optional so the other composer that reuses this seam (the brand/logo IMAGE flow) is unchanged\n * until it supplies one, and a seat without it reads the shared brief alone, as every seat did.\n */\n roleContext?: string,\n ): DeliberationExpertBinding {\n const template = getExpertRoleTemplate(roleRef);\n if (!template) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: { message: `Unknown expert role '${roleRef}' — no such template in EXPERT_ROLE_TEMPLATES.` },\n });\n }\n if (gate.ownDomain !== undefined && !template.workDomains.includes(gate.ownDomain)) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: {\n message: `NARROWNESS (ownership): role '${roleRef}' does not OWN work domain '${gate.ownDomain}' `\n + `(owns [${template.workDomains.join(', ')}]) — only the domain owner authors briefs and `\n + `derives rubrics. Use the owning role instead.`,\n },\n });\n }\n if (gate.reviewDomain !== undefined && !template.reviewScopes.includes(gate.reviewDomain)) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: {\n message: `NARROWNESS (lens): role '${roleRef}' does not review work domain '${gate.reviewDomain}' `\n + `(review scopes: [${template.reviewScopes.join(', ')}]) — an expert never sits on a panel `\n + `outside its lens reach. Convene a role whose review scope covers the domain.`,\n },\n });\n }\n const charter = charterByRole.get(roleRef);\n if (!charter) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: {\n message: `Role '${roleRef}' has no COMMITTED charter — derive + accept it first `\n + `(POST /expert-personas/derive then /accept), then RESTART the companion so its agent `\n + `registers (agents are indexed at startup).`,\n },\n });\n }\n const profile: RuntimeExpertProfile = {\n charterRef: charter.charterRef,\n roleRef: charter.roleRef,\n workDomains: template.workDomains,\n personaProse: charter.personaProse,\n priorities: charter.priorities,\n taboos: charter.taboos,\n ...(charter.qualityBar !== undefined ? { qualityBar: charter.qualityBar } : {}),\n ...(charter.reviewProtocol !== undefined ? { reviewProtocol: charter.reviewProtocol } : {}),\n };\n return {\n profile,\n agentRef: expertAgentRefForRole(roleRef),\n ...(roleContext !== undefined && roleContext.trim() !== '' ? { roleContext } : {}),\n };\n }\n\n /**\n * Committed charters via the read-back behavior, Zod-validated at the\n * seam. PUBLIC on purpose: this + `bindExpert` are the shared composer\n * seams other deliberation adopters (e.g. the brand/logo IMAGE flow)\n * reuse instead of duplicating charter/narrowness logic.\n */\n public async readCommittedCharters(): Promise<ExpertPersonaCharter[]> {\n const backendServiceKey = Object.entries(this.companionContext.servicesByKey)\n .find(([, service]) => !service.frontendType)?.[0];\n if (!backendServiceKey) {\n throw this.errorBuilder.buildError(ErrorType.CONFIGURATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.CONFIGURATION,\n context: { message: 'No backend service available to resolve the expert-persona-charters behavior.' },\n });\n }\n const introspection = await this.companionIntrospectionService.requestInfo({\n serviceKey: backendServiceKey,\n behavior: 'expert-persona-charters',\n input: {},\n });\n if (introspection.success === false) {\n const failure = introspection;\n throw this.errorBuilder.buildError(ErrorType.INTERNAL, undefined, {\n customMessageReference: ErrorCustomMessageReference.INTERNAL,\n context: { message: failure.error.message, behavior: failure.behavior },\n });\n }\n const raw = (introspection.data as { charters?: unknown[] }).charters ?? [];\n return raw.map((candidate, index) => {\n const parsed = ExpertPersonaCharterSchema.safeParse(candidate);\n if (!parsed.success) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: {\n message: `Committed charter at index ${index} is structurally invalid: `\n + parsed.error.issues.map((issue) => `${issue.path.join('.')}: ${issue.message}`).join('; '),\n },\n });\n }\n return parsed.data;\n });\n }\n\n /** One TEXT revision through the producer agent (strict-validated). */\n private async reviseText(\n currentText: string,\n revisionPrompt: string,\n briefContext: string,\n traceContext?: AgentTraceContext,\n ): Promise<string> {\n const prompt = [\n briefContext,\n '',\n '# Current candidate text',\n currentText,\n '',\n revisionPrompt,\n ].join('\\n');\n const invocation: FlowsActors_Agent_Invocation<\n typeof LLMProvider_GenerateStructuredInputSchema,\n typeof LLMProvider_GenerateStructuredOutputSchema\n > = {\n agentRef: DELIBERATION_TEXT_PRODUCER_AGENT_REF,\n initiator: {},\n invocationContext: [],\n input: { prompt, schema: DeliberationTextRevisionOutputSchema },\n output: { object: {} },\n executionContext: {},\n artifactBindings: [],\n };\n const response = await this.agentsService.invokeAgent(invocation, traceContext);\n const raw = (response.output as { object?: unknown } | undefined)?.object;\n const parsed = DeliberationTextRevisionOutputStrictSchema.safeParse(raw);\n if (!parsed.success || parsed.data.revisedText.trim().length === 0) {\n throw this.errorBuilder.buildError(ErrorType.INTERNAL, undefined, {\n customMessageReference: ErrorCustomMessageReference.INTERNAL,\n context: {\n message: 'The text producer returned an invalid/empty revision — re-run the deliberation.',\n },\n });\n }\n return parsed.data.revisedText;\n }\n}\n"]}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import { type MetaWorkflow_PlaybookDeliberation } from '@wildo-ai/saas-models/meta-workflows';
|
|
1
2
|
import { ErrorBuilderBackendService, LoggerService, ActorsSystemBackendService } from '@wildo-ai/saas-backend-lib';
|
|
2
3
|
import { type AgentTraceContext, type DeliberationRecord } from '@wildo-ai/saas-models';
|
|
3
|
-
import type { MetaWorkflow_PlaybookDeliberation } from '@wildo-ai/saas-specifications/application-creation';
|
|
4
4
|
import type { CompanionContext } from '../../core/context/companion-context';
|
|
5
5
|
import { DeliberationCompanionService } from './deliberation.companion.service';
|
|
6
6
|
/** How one structured candidate is produced or revised — supplied by the caller, which owns the schema. */
|
|
7
7
|
export interface StructuredCandidateProducer {
|
|
8
|
+
/** Identity of the agent used by the caller's initial/revision callbacks. The caller owns registry resolution; this service retains its nonempty identity in the review record. */
|
|
9
|
+
readonly agentRef: string;
|
|
8
10
|
/**
|
|
9
11
|
* Produce candidate `index` of `total`. The caller varies its own prompt so the
|
|
10
12
|
* candidates genuinely differ; this service never composes prompts, because the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"structured-deliberation.companion.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"structured-deliberation.companion.service.d.ts","sourceRoot":"","sources":["../../../../../src/deliberations/services/structured-deliberation.companion.service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,iCAAiC,EACvC,MAAM,sCAAsC,CAAC;AAM9C,OAAO,EACL,0BAA0B,EAC1B,aAAa,EAEb,0BAA0B,EAC3B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAIL,KAAK,iBAAiB,EAItB,KAAK,kBAAkB,EACxB,MAAM,uBAAuB,CAAC;AAG/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AAIhF,2GAA2G;AAC3G,MAAM,WAAW,2BAA2B;IAC1C,mLAAmL;IACnL,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EA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;CA6I1C"}
|
|
@@ -17,7 +17,6 @@ import { inject, injectable } from 'inversify';
|
|
|
17
17
|
import { ErrorBuilderBackendService, LoggerService, SAAS_SERVICE_TYPES, ActorsSystemBackendService, } from '@wildo-ai/saas-backend-lib';
|
|
18
18
|
import { ErrorCustomMessageReference, ErrorType, FlowsActors_IO_PartKind, DeliberationStatus, } from '@wildo-ai/saas-models';
|
|
19
19
|
import { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types.js';
|
|
20
|
-
import { DELIBERATION_TEXT_PRODUCER_AGENT_REF } from '../models/deliberation-agents.actors-system.definitions.js';
|
|
21
20
|
import { DeliberationCompanionService } from './deliberation.companion.service.js';
|
|
22
21
|
const DELIBERATIONS_DIR_SEGMENTS = ['.wildo-saas', 'generated', 'deliberations'];
|
|
23
22
|
/**
|
|
@@ -52,6 +51,12 @@ let StructuredDeliberationCompanionService = class StructuredDeliberationCompani
|
|
|
52
51
|
}
|
|
53
52
|
async run(input) {
|
|
54
53
|
const { panel, producer } = input;
|
|
54
|
+
if (typeof producer.agentRef !== 'string' || producer.agentRef.trim().length === 0) {
|
|
55
|
+
throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
|
|
56
|
+
customMessageReference: ErrorCustomMessageReference.VALIDATION,
|
|
57
|
+
context: { message: 'A structured deliberation must name the agent that produces its candidates and revisions.' },
|
|
58
|
+
});
|
|
59
|
+
}
|
|
55
60
|
const deliberationRef = `delib-${input.label.toLowerCase().replace(/[^a-z0-9]+/g, '-')}-${randomUUID().slice(0, 8)}`;
|
|
56
61
|
const deliberationDirAbs = resolve(this.companionContext.saasRoot, ...DELIBERATIONS_DIR_SEGMENTS, deliberationRef);
|
|
57
62
|
const candidatesDirAbs = resolve(deliberationDirAbs, 'candidates');
|
|
@@ -115,7 +120,7 @@ let StructuredDeliberationCompanionService = class StructuredDeliberationCompani
|
|
|
115
120
|
// The revision producer is the CALLER's structured generator, not the text
|
|
116
121
|
// producer agent; this ref is the audit stamp for who produced revisions, and
|
|
117
122
|
// naming the text agent would be a lie about what ran.
|
|
118
|
-
producerAgentRef:
|
|
123
|
+
producerAgentRef: producer.agentRef,
|
|
119
124
|
producer: {
|
|
120
125
|
produceRevision: async (parent, revisionPrompt) => {
|
|
121
126
|
if (parent.content.kind !== FlowsActors_IO_PartKind.STRUCTURED) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"structured-deliberation.companion.service.js","sourceRoot":"","sources":["../../../../src/deliberations/services/structured-deliberation.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EACL,0BAA0B,EAC1B,aAAa,EACb,kBAAkB,EAClB,0BAA0B,GAC3B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,2BAA2B,EAC3B,SAAS,EACT,uBAAuB,EAIvB,kBAAkB,GAEnB,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAEjF,OAAO,EAAE,oCAAoC,EAAE,MAAM,yDAAyD,CAAC;AAC/G,OAAO,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AAEhF,MAAM,0BAA0B,GAAG,CAAC,aAAa,EAAE,WAAW,EAAE,eAAe,CAAU,CAAC;AA6B1F;;;;;;;;;;;;;GAaG;AAEI,IAAM,sCAAsC,GAA5C,MAAM,sCAAsC;IAIK;IAEnC;IAEA;IAEA;IAEA;IAXF,QAAQ,CAA+D;IAExF,YACsD,MAAqB,EAExD,YAAwC,EAExC,mBAA+C,EAE/C,gBAAkC,EAElC,oBAAkD;QARf,WAAM,GAAN,MAAM,CAAe;QAExD,i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CAPQ,aAAa;QAE1C,0BAA0B;QAEnB,0BAA0B,UAIzB,4BAA4B;GAZ1D,sCAAsC,CAkKlD","sourcesContent":["import { randomUUID } from 'node:crypto';\nimport { mkdir, writeFile } from 'node:fs/promises';\nimport { resolve } from 'node:path';\n\nimport { inject, injectable } from 'inversify';\nimport {\n ErrorBuilderBackendService,\n LoggerService,\n SAAS_SERVICE_TYPES,\n ActorsSystemBackendService,\n} from '@wildo-ai/saas-backend-lib';\nimport {\n ErrorCustomMessageReference,\n ErrorType,\n FlowsActors_IO_PartKind,\n type AgentTraceContext,\n type DeliberationCandidateInput,\n type DeliberationPlan,\n DeliberationStatus,\n type DeliberationRecord,\n} from '@wildo-ai/saas-models';\nimport type { MetaWorkflow_PlaybookDeliberation } from '@wildo-ai/saas-specifications/application-creation';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\nimport { DELIBERATION_TEXT_PRODUCER_AGENT_REF } from '../models/deliberation-agents.actors-system.definitions';\nimport { DeliberationCompanionService } from './deliberation.companion.service';\n\nconst DELIBERATIONS_DIR_SEGMENTS = ['.wildo-saas', 'generated', 'deliberations'] as const;\n\n/** How one structured candidate is produced or revised — supplied by the caller, which owns the schema. */\nexport interface StructuredCandidateProducer {\n /**\n * Produce candidate `index` of `total`. The caller varies its own prompt so the\n * candidates genuinely differ; this service never composes prompts, because the\n * brief belongs to whatever family is being deliberated.\n */\n produceInitial(index: number, total: number): Promise<unknown>;\n /** Revise `parent` against the coordinator's deterministic revision prompt. */\n produceRevision(parent: unknown, revisionPrompt: string): Promise<unknown>;\n /**\n * OPTIONAL human-readable framing rendered ABOVE the candidate's JSON — never\n * instead of it. See `DeliberationCandidateContent`: the engine always renders the\n * value, so a projection that drifts cannot cause the panel to score prose while\n * the winner is data.\n */\n project?(value: unknown): string | undefined;\n}\n\nexport interface StructuredDeliberationResult {\n /** The winning candidate's value — what the caller lands. */\n readonly winner: unknown;\n readonly record: DeliberationRecord;\n /** saasRoot-relative path of the persisted record. */\n readonly recordPath: string;\n}\n\n/**\n * Runs an expert panel over STRUCTURED candidates.\n *\n * The sibling of `LogoDeliberationCompanionService` for the third subject kind, and\n * built the same way: charter reading and narrowness gating are delegated to the\n * shared `DeliberationCompanionService` seams (`readCommittedCharters`, `bindExpert`),\n * so the working TEXT route is untouched and there is one implementation of \"who may\n * sit on this panel\".\n *\n * Deliberately GENERIC over the family. It knows nothing about placement, or any\n * other artifact: the caller owns the schema, the brief and the prompts, and hands in\n * a producer. That keeps this service from accumulating a per-family branch every\n * time another artifact becomes worth arguing over.\n */\n@injectable()\nexport class StructuredDeliberationCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n\n constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(SAAS_SERVICE_TYPES.ErrorBuilderService)\n private readonly errorBuilder: ErrorBuilderBackendService,\n @inject(SAAS_SERVICE_TYPES.ActorsSystemBackendService)\n private readonly actorsSystemService: ActorsSystemBackendService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext)\n private readonly companionContext: CompanionContext,\n @inject(COMPANION_SERVICE_TYPES.DeliberationService)\n private readonly deliberationComposer: DeliberationCompanionService,\n ) {\n this.logDebug = this.logger.debugByType('StructuredDeliberationCompanionService');\n this.logger.setDebugTypeLogging('StructuredDeliberationCompanionService', true);\n }\n\n public async run(input: {\n /** The panel, as the playbook declared it. */\n readonly panel: MetaWorkflow_PlaybookDeliberation;\n /** The assembled brief every pass is grounded on — the caller's, not this service's. */\n readonly briefContext: string;\n /** Correlation label, e.g. `placement-plan`. Used in the deliberation ref. */\n readonly label: string;\n readonly producer: StructuredCandidateProducer;\n readonly traceContext?: AgentTraceContext;\n }): Promise<StructuredDeliberationResult> {\n const { panel, producer } = input;\n const deliberationRef = `delib-${input.label.toLowerCase().replace(/[^a-z0-9]+/g, '-')}-${randomUUID().slice(0, 8)}`;\n const deliberationDirAbs = resolve(this.companionContext.saasRoot, ...DELIBERATIONS_DIR_SEGMENTS, deliberationRef);\n const candidatesDirAbs = resolve(deliberationDirAbs, 'candidates');\n await mkdir(candidatesDirAbs, { recursive: true });\n const relDir = `${DELIBERATIONS_DIR_SEGMENTS.join('/')}/${deliberationRef}/candidates`;\n\n // ── Panel: committed charters → narrowness-gated bindings (shared seams) ──\n const charters = await this.deliberationComposer.readCommittedCharters();\n const charterByRole = new Map(charters.map((charter) => [charter.roleRef, charter]));\n const reviewers = panel.reviewerRoleRefs.map((roleRef) =>\n this.deliberationComposer.bindExpert(roleRef, charterByRole, { reviewDomain: panel.workDomain }));\n const coordinator = this.deliberationComposer.bindExpert(panel.coordinatorRoleRef, charterByRole, {});\n const rubricDeriverRole = panel.rubricDeriverRoleRef ?? panel.reviewerRoleRefs[0]!;\n const rubricDeriver = this.deliberationComposer.bindExpert(rubricDeriverRole, charterByRole, {\n ownDomain: panel.workDomain,\n });\n\n // ── Initial candidates: persist bytes, hand locators + payload to the engine ──\n /*\n * Every candidate VALUE this run produced, keyed by ref — initial and revised alike.\n *\n * Necessary because the persisted `DeliberationRecord` carries only refs and\n * storage locators, never payloads (the engine never holds candidate bytes, RF-2).\n * A first cut resolved the winner from `record.rounds[].candidateSet` and would\n * have resolved any REVISED winner to `undefined` — which is most of them, since\n * revision is the point of a multi-round panel.\n */\n const valueByRef = new Map<string, unknown>();\n\n const persist = async (ref: string, value: unknown): Promise<DeliberationCandidateInput> => {\n const fileName = `${ref}.json`;\n await writeFile(resolve(candidatesDirAbs, fileName), `${JSON.stringify(value, null, 2)}\\n`, 'utf8');\n valueByRef.set(ref, value);\n const projection = producer.project?.(value);\n return {\n ref,\n storageRef: `${relDir}/${fileName}`,\n content: {\n kind: FlowsActors_IO_PartKind.STRUCTURED,\n value,\n ...(projection === undefined ? {} : { projection }),\n },\n };\n };\n\n const initialCandidates: DeliberationCandidateInput[] = [];\n for (let index = 0; index < panel.candidateCount; index += 1) {\n const value = await producer.produceInitial(index, panel.candidateCount);\n initialCandidates.push(await persist(`c${index + 1}`, value));\n }\n if (initialCandidates.length === 0) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: { message: 'A structured deliberation produced no candidates — there is nothing to deliberate over.' },\n });\n }\n\n let revisionSequence = 0;\n const plan: DeliberationPlan = {\n deliberationRef,\n workDomain: panel.workDomain,\n subjectKind: FlowsActors_IO_PartKind.STRUCTURED,\n briefContext: input.briefContext,\n reviewers,\n coordinator,\n rubricDeriver,\n // The revision producer is the CALLER's structured generator, not the text\n // producer agent; this ref is the audit stamp for who produced revisions, and\n // naming the text agent would be a lie about what ran.\n producerAgentRef: DELIBERATION_TEXT_PRODUCER_AGENT_REF,\n producer: {\n produceRevision: async (parent, revisionPrompt) => {\n if (parent.content.kind !== FlowsActors_IO_PartKind.STRUCTURED) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: { message: 'The STRUCTURED deliberation route cannot revise a non-structured candidate.' },\n });\n }\n const revised = await producer.produceRevision(parent.content.value, revisionPrompt);\n revisionSequence += 1;\n return persist(`${parent.ref}-rev${revisionSequence}`, revised);\n },\n },\n initialCandidates,\n roundBudget: panel.roundBudget ?? 2,\n shortlistSize: panel.shortlistSize ?? 2,\n };\n\n const record = await this.actorsSystemService.executeDeliberation(plan, input.traceContext);\n const recordPath = `${DELIBERATIONS_DIR_SEGMENTS.join('/')}/${deliberationRef}/record.json`;\n await writeFile(resolve(deliberationDirAbs, 'record.json'), `${JSON.stringify(record, null, 2)}\\n`, 'utf8');\n\n /*\n * Resolve the winner from the values THIS RUN produced, and fail loudly when the\n * ref does not resolve: a coordinator naming a candidate that does not exist must\n * never land an `undefined` artifact.\n */\n /*\n * A REJECTED panel is a RESULT, and it must not surface as \"something went wrong\".\n * The engine completed, every lens was heard, and the answer is \"none of these\" —\n * so the message says that, names the rejected count, and points at the record\n * where the critiques are. Reporting it as a missing winner would send the reader\n * looking for a defect in the machinery instead of at the candidates.\n */\n if (record.status === DeliberationStatus.REJECTED) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: {\n message: `The panel REJECTED every one of the ${initialCandidates.length} candidate(s) for `\n + `'${input.label}' — this is a verdict, not a failure. Nothing is landed. The reviewers' `\n + `critiques are in ${recordPath}; widen the brief or the candidate set and re-run.`,\n },\n });\n }\n\n const winnerRef = record.synthesis?.winnerRef;\n const winner = winnerRef === undefined ? undefined : valueByRef.get(winnerRef);\n if (winnerRef === undefined || winner === undefined) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: {\n message: `The deliberation produced no resolvable winner (synthesis ref ${winnerRef ?? 'absent'}); `\n + `record at ${recordPath}. A run that cannot name its winner has decided nothing, and landing `\n + 'anything here would attribute an unargued artifact to a panel.',\n },\n });\n }\n\n this.logDebug('structured deliberation complete', {\n deliberationRef, status: record.status, rounds: record.rounds.length, winnerRef, recordPath,\n });\n return { winner, record, recordPath };\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"structured-deliberation.companion.service.js","sourceRoot":"","sources":["../../../../../src/deliberations/services/structured-deliberation.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EACL,0BAA0B,EAC1B,aAAa,EACb,kBAAkB,EAClB,0BAA0B,GAC3B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,2BAA2B,EAC3B,SAAS,EACT,uBAAuB,EAIvB,kBAA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,SAAS,EAAE;gBAClE,sBAAsB,EAAE,2BAA2B,CAAC,UAAU;gBAC9D,OAAO,EAAE;oBACP,OAAO,EAAE,iEAAiE,SAAS,IAAI,QAAQ,KAAK;0BAChG,aAAa,UAAU,uEAAuE;0BAC9F,gEAAgE;iBACrE;aACF,CAAC,CAAC;QACL,CAAC;QAED,IAAI,CAAC,QAAQ,CAAC,kCAAkC,EAAE;YAChD,eAAe,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,UAAU;SAC5F,CAAC,CAAC;QACH,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC;IACxC,CAAC;CACF,CAAA;AAxKY,sCAAsC;IADlD,UAAU,EAAE;IAKR,WAAA,MAAM,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAA;IACjC,WAAA,MAAM,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,CAAA;IAE9C,WAAA,MAAM,CAAC,kBAAkB,CAAC,0BAA0B,CAAC,CAAA;IAErD,WAAA,MAAM,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAA;IAEhD,WAAA,MAAM,CAAC,uBAAuB,CAAC,mBAAmB,CAAC,CAAA;qCAPQ,aAAa;QAE1C,0BAA0B;QAEnB,0BAA0B,UAIzB,4BAA4B;GAZ1D,sCAAsC,CAwKlD","sourcesContent":["import {\n type MetaWorkflow_PlaybookDeliberation,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport { randomUUID } from 'node:crypto';\nimport { mkdir, writeFile } from 'node:fs/promises';\nimport { resolve } from 'node:path';\n\nimport { inject, injectable } from 'inversify';\nimport {\n ErrorBuilderBackendService,\n LoggerService,\n SAAS_SERVICE_TYPES,\n ActorsSystemBackendService,\n} from '@wildo-ai/saas-backend-lib';\nimport {\n ErrorCustomMessageReference,\n ErrorType,\n FlowsActors_IO_PartKind,\n type AgentTraceContext,\n type DeliberationCandidateInput,\n type DeliberationPlan,\n DeliberationStatus,\n type DeliberationRecord,\n} from '@wildo-ai/saas-models';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\nimport { DeliberationCompanionService } from './deliberation.companion.service';\n\nconst DELIBERATIONS_DIR_SEGMENTS = ['.wildo-saas', 'generated', 'deliberations'] as const;\n\n/** How one structured candidate is produced or revised — supplied by the caller, which owns the schema. */\nexport interface StructuredCandidateProducer {\n /** Identity of the agent used by the caller's initial/revision callbacks. The caller owns registry resolution; this service retains its nonempty identity in the review record. */\n readonly agentRef: string;\n /**\n * Produce candidate `index` of `total`. The caller varies its own prompt so the\n * candidates genuinely differ; this service never composes prompts, because the\n * brief belongs to whatever family is being deliberated.\n */\n produceInitial(index: number, total: number): Promise<unknown>;\n /** Revise `parent` against the coordinator's deterministic revision prompt. */\n produceRevision(parent: unknown, revisionPrompt: string): Promise<unknown>;\n /**\n * OPTIONAL human-readable framing rendered ABOVE the candidate's JSON — never\n * instead of it. See `DeliberationCandidateContent`: the engine always renders the\n * value, so a projection that drifts cannot cause the panel to score prose while\n * the winner is data.\n */\n project?(value: unknown): string | undefined;\n}\n\nexport interface StructuredDeliberationResult {\n /** The winning candidate's value — what the caller lands. */\n readonly winner: unknown;\n readonly record: DeliberationRecord;\n /** saasRoot-relative path of the persisted record. */\n readonly recordPath: string;\n}\n\n/**\n * Runs an expert panel over STRUCTURED candidates.\n *\n * The sibling of `LogoDeliberationCompanionService` for the third subject kind, and\n * built the same way: charter reading and narrowness gating are delegated to the\n * shared `DeliberationCompanionService` seams (`readCommittedCharters`, `bindExpert`),\n * so the working TEXT route is untouched and there is one implementation of \"who may\n * sit on this panel\".\n *\n * Deliberately GENERIC over the family. It knows nothing about placement, or any\n * other artifact: the caller owns the schema, the brief and the prompts, and hands in\n * a producer. That keeps this service from accumulating a per-family branch every\n * time another artifact becomes worth arguing over.\n */\n@injectable()\nexport class StructuredDeliberationCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n\n constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(SAAS_SERVICE_TYPES.ErrorBuilderService)\n private readonly errorBuilder: ErrorBuilderBackendService,\n @inject(SAAS_SERVICE_TYPES.ActorsSystemBackendService)\n private readonly actorsSystemService: ActorsSystemBackendService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext)\n private readonly companionContext: CompanionContext,\n @inject(COMPANION_SERVICE_TYPES.DeliberationService)\n private readonly deliberationComposer: DeliberationCompanionService,\n ) {\n this.logDebug = this.logger.debugByType('StructuredDeliberationCompanionService');\n this.logger.setDebugTypeLogging('StructuredDeliberationCompanionService', true);\n }\n\n public async run(input: {\n /** The panel, as the playbook declared it. */\n readonly panel: MetaWorkflow_PlaybookDeliberation;\n /** The assembled brief every pass is grounded on — the caller's, not this service's. */\n readonly briefContext: string;\n /** Correlation label, e.g. `placement-plan`. Used in the deliberation ref. */\n readonly label: string;\n readonly producer: StructuredCandidateProducer;\n readonly traceContext?: AgentTraceContext;\n }): Promise<StructuredDeliberationResult> {\n const { panel, producer } = input;\n if (typeof producer.agentRef !== 'string' || producer.agentRef.trim().length === 0) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: { message: 'A structured deliberation must name the agent that produces its candidates and revisions.' },\n });\n }\n const deliberationRef = `delib-${input.label.toLowerCase().replace(/[^a-z0-9]+/g, '-')}-${randomUUID().slice(0, 8)}`;\n const deliberationDirAbs = resolve(this.companionContext.saasRoot, ...DELIBERATIONS_DIR_SEGMENTS, deliberationRef);\n const candidatesDirAbs = resolve(deliberationDirAbs, 'candidates');\n await mkdir(candidatesDirAbs, { recursive: true });\n const relDir = `${DELIBERATIONS_DIR_SEGMENTS.join('/')}/${deliberationRef}/candidates`;\n\n // ── Panel: committed charters → narrowness-gated bindings (shared seams) ──\n const charters = await this.deliberationComposer.readCommittedCharters();\n const charterByRole = new Map(charters.map((charter) => [charter.roleRef, charter]));\n const reviewers = panel.reviewerRoleRefs.map((roleRef) =>\n this.deliberationComposer.bindExpert(roleRef, charterByRole, { reviewDomain: panel.workDomain }));\n const coordinator = this.deliberationComposer.bindExpert(panel.coordinatorRoleRef, charterByRole, {});\n const rubricDeriverRole = panel.rubricDeriverRoleRef ?? panel.reviewerRoleRefs[0]!;\n const rubricDeriver = this.deliberationComposer.bindExpert(rubricDeriverRole, charterByRole, {\n ownDomain: panel.workDomain,\n });\n\n // ── Initial candidates: persist bytes, hand locators + payload to the engine ──\n /*\n * Every candidate VALUE this run produced, keyed by ref — initial and revised alike.\n *\n * Necessary because the persisted `DeliberationRecord` carries only refs and\n * storage locators, never payloads (the engine never holds candidate bytes, RF-2).\n * A first cut resolved the winner from `record.rounds[].candidateSet` and would\n * have resolved any REVISED winner to `undefined` — which is most of them, since\n * revision is the point of a multi-round panel.\n */\n const valueByRef = new Map<string, unknown>();\n\n const persist = async (ref: string, value: unknown): Promise<DeliberationCandidateInput> => {\n const fileName = `${ref}.json`;\n await writeFile(resolve(candidatesDirAbs, fileName), `${JSON.stringify(value, null, 2)}\\n`, 'utf8');\n valueByRef.set(ref, value);\n const projection = producer.project?.(value);\n return {\n ref,\n storageRef: `${relDir}/${fileName}`,\n content: {\n kind: FlowsActors_IO_PartKind.STRUCTURED,\n value,\n ...(projection === undefined ? {} : { projection }),\n },\n };\n };\n\n const initialCandidates: DeliberationCandidateInput[] = [];\n for (let index = 0; index < panel.candidateCount; index += 1) {\n const value = await producer.produceInitial(index, panel.candidateCount);\n initialCandidates.push(await persist(`c${index + 1}`, value));\n }\n if (initialCandidates.length === 0) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: { message: 'A structured deliberation produced no candidates — there is nothing to deliberate over.' },\n });\n }\n\n let revisionSequence = 0;\n const plan: DeliberationPlan = {\n deliberationRef,\n workDomain: panel.workDomain,\n subjectKind: FlowsActors_IO_PartKind.STRUCTURED,\n briefContext: input.briefContext,\n reviewers,\n coordinator,\n rubricDeriver,\n // The revision producer is the CALLER's structured generator, not the text\n // producer agent; this ref is the audit stamp for who produced revisions, and\n // naming the text agent would be a lie about what ran.\n producerAgentRef: producer.agentRef,\n producer: {\n produceRevision: async (parent, revisionPrompt) => {\n if (parent.content.kind !== FlowsActors_IO_PartKind.STRUCTURED) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: { message: 'The STRUCTURED deliberation route cannot revise a non-structured candidate.' },\n });\n }\n const revised = await producer.produceRevision(parent.content.value, revisionPrompt);\n revisionSequence += 1;\n return persist(`${parent.ref}-rev${revisionSequence}`, revised);\n },\n },\n initialCandidates,\n roundBudget: panel.roundBudget ?? 2,\n shortlistSize: panel.shortlistSize ?? 2,\n };\n\n const record = await this.actorsSystemService.executeDeliberation(plan, input.traceContext);\n const recordPath = `${DELIBERATIONS_DIR_SEGMENTS.join('/')}/${deliberationRef}/record.json`;\n await writeFile(resolve(deliberationDirAbs, 'record.json'), `${JSON.stringify(record, null, 2)}\\n`, 'utf8');\n\n /*\n * Resolve the winner from the values THIS RUN produced, and fail loudly when the\n * ref does not resolve: a coordinator naming a candidate that does not exist must\n * never land an `undefined` artifact.\n */\n /*\n * A REJECTED panel is a RESULT, and it must not surface as \"something went wrong\".\n * The engine completed, every lens was heard, and the answer is \"none of these\" —\n * so the message says that, names the rejected count, and points at the record\n * where the critiques are. Reporting it as a missing winner would send the reader\n * looking for a defect in the machinery instead of at the candidates.\n */\n if (record.status === DeliberationStatus.REJECTED) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: {\n message: `The panel REJECTED every one of the ${initialCandidates.length} candidate(s) for `\n + `'${input.label}' — this is a verdict, not a failure. Nothing is landed. The reviewers' `\n + `critiques are in ${recordPath}; widen the brief or the candidate set and re-run.`,\n },\n });\n }\n\n const winnerRef = record.synthesis?.winnerRef;\n const winner = winnerRef === undefined ? undefined : valueByRef.get(winnerRef);\n if (winnerRef === undefined || winner === undefined) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: {\n message: `The deliberation produced no resolvable winner (synthesis ref ${winnerRef ?? 'absent'}); `\n + `record at ${recordPath}. A run that cannot name its winner has decided nothing, and landing `\n + 'anything here would attribute an unargued artifact to a panel.',\n },\n });\n }\n\n this.logDebug('structured deliberation complete', {\n deliberationRef, status: record.status, rounds: record.rounds.length, winnerRef, recordPath,\n });\n return { winner, record, recordPath };\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"load-committed-expert-agents.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"load-committed-expert-agents.d.ts","sourceRoot":"","sources":["../../../../../src/deliberations/utils/load-committed-expert-agents.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AASrF;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,yBAAyB,CAC7C,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC;IAAE,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAAC,QAAQ,EAAE,oBAAoB,EAAE,CAAA;CAAE,CAAC,CA4C5E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-template.actors-system.definitions.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"email-template.actors-system.definitions.d.ts","sourceRoot":"","sources":["../../../../../src/email/models/email-template.actors-system.definitions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,EAAE,iBAAiB,EAA0D,MAAM,uBAAuB,CAAC;AAOlH;;;;;;;;;;GAUG;AACH,eAAO,MAAM,4BAA4B,EAAE,iBAmC1C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,WAAW,EAAE,iBAAiB,EAE1C,CAAC"}
|
|
@@ -51,7 +51,6 @@ export const emailTemplateGenerationAgent = {
|
|
|
51
51
|
temperature: 0.4, // Slightly higher for creative template generation
|
|
52
52
|
accessControl: [{
|
|
53
53
|
primaryScope: ResourcePrimaryScope.APPLICATION,
|
|
54
|
-
requiresApproval: false,
|
|
55
54
|
}],
|
|
56
55
|
riskLevel: ResourceOperationRiskLevel.LOW,
|
|
57
56
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-template.actors-system.definitions.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"email-template.actors-system.definitions.js","sourceRoot":"","sources":["../../../../../src/email/models/email-template.actors-system.definitions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,EAAqB,wBAAwB,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAC;AAClH,OAAO,EAAE,mCAAmC,EAAE,oCAAoC,EAAE,uCAAuC,EAAuC,wBAAwB,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAClQ,OAAO,EACL,0BAA0B,EAC1B,oBAAoB,GACrB,MAAM,uBAAuB,CAAC;AAE/B;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAsB;IAC7D,GAAG,EAAE,iCAAiC;IACtC,WAAW,EAAE,iCAAiC;IAC9C,MAAM,EAAE,wBAAwB,CAAC,MAAM;IACvC,MAAM,EAAE;QACN,WAAW,EAAE,QAAQ;QACrB,8FAA8F;QAC9F,6CAA6C;QAC7C,kBAAkB,EAAE,uBAAuB,CAAC,oBAAoB;QAChE,YAAY,EAAE,wBAAwB,CAAC,aAAa;QACpD,WAAW,EAAE,GAAG,EAAE,mDAAmD;QACrE,aAAa,EAAE,CAAC;gBACd,YAAY,EAAE,oBAAoB,CAAC,WAAW;aAC/C,CAAC;QACF,SAAS,EAAE,0BAA0B,CAAC,GAAG;KAC1C;IACD,mBAAmB,EAAE;QACnB,YAAY,EAAE,wBAAwB,CAAC,aAAa;QACpD,WAAW,EAAE,QAAQ;QACrB,WAAW,EAAE,mCAAmC;QAChD,YAAY,EAAE,oCAAoC;QAClD,sBAAsB,EAAE,uCAAuC;KAClB;IAC/C,UAAU,EAAE;QACV,IAAI,EAAE;;kGAEwF;QAC9F,OAAO,EAAE;;;qFAGwE;QACjF,SAAS,EAAE,4BAA4B,CAAC,UAAU;QAClD,YAAY,EAAE,EAAE;KACjB;IACD,SAAS,EAAE,0BAA0B;CACtC,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,WAAW,GAAwB;IAC9C,4BAA4B;CAC7B,CAAC","sourcesContent":["/**\n * Email Template Generation Agent Definition — COMPANION-OWNED.\n *\n * Defines the LLM agent the dev companion invokes to scaffold the\n * **file-based** email-template authoring artifacts:\n * - `template.tsx` — a typed `EmailTemplateDefinition<L>` exporting\n * `subject` + `body` functions consuming `EmailTemplateProps<L>`.\n * - `labels.<locale>.ts` — co-located per-locale label maps.\n *\n * This is a build-time generation agent with the SAME ownership tier as the\n * labelling / logo agents: defined and registered by the companion, NOT\n * shipped as an engine default. Its only live consumer is the companion's\n * `email-template.companion.service.ts` (`generateTemplateArtifactsWithAgent`),\n * which invokes it by `agentRef: 'email-template.generation.agent'` and writes\n * the returned `templateSource` + `labels` to disk before calling\n * `refreshEmailTemplateRegistry()`.\n *\n * The engine owns only the generic execution MACHINERY (AgentsBackendService,\n * the LLM transport) + the runtime `EmailTemplateRegistryBackendService` that\n * reads the scaffolded files from the filesystem. The build-time agent that\n * writes them lives here, where it is consumed.\n *\n * (Relocated from `@wildo-ai/saas-backend-lib` — an engine runtime library —\n * because it is companion-only build-time tooling, never used by an engine\n * runtime service.)\n */\n\nimport { FlowsActors_Agent, FlowsActors_Agent_Status, FlowsActors_Agent_Skill_Type } from '@wildo-ai/saas-models';\nimport { LLMProvider_GenerateTextInputSchema, LLMProvider_GenerateTextOutputSchema, LLMProvider_OperationContext_BaseSchema, LLMProvider_OperationDefinitionBase, LLMProvider_OperationKey, LLM_Model_Applicability } from '@wildo-ai/external-connectors-models';\nimport {\n ResourceOperationRiskLevel,\n ResourcePrimaryScope,\n} from '@wildo-ai/saas-models';\n\n/**\n * Agent for scaffolding **file-based** email-template artifacts\n * (`template.tsx` + `labels.<locale>.ts`) via an LLM call.\n *\n * Uses `GENERATE_TEXT` because the output is raw code (TSX source + a JSON\n * labels map embedded in the response) rather than a structured object. The\n * companion service prompts the agent to return\n * `{ templateSource: string, labels: Record<string, string> }`, then parses,\n * validates, and writes those artifacts to disk before refreshing\n * `EmailTemplateRegistryBackendService`.\n */\nexport const emailTemplateGenerationAgent: FlowsActors_Agent = {\n ref: 'email-template.generation.agent',\n displayName: 'Email Template Generation Agent',\n status: FlowsActors_Agent_Status.ACTIVE,\n config: {\n providerRef: 'openai',\n // STRUCTURED_AUTHORING: copy generated against a template (#439). Resolves to `gpt-5.6-terra`\n // on `openai` today — the model this pinned.\n modelApplicability: LLM_Model_Applicability.STRUCTURED_AUTHORING,\n operationKey: LLMProvider_OperationKey.GENERATE_TEXT,\n temperature: 0.4, // Slightly higher for creative template generation\n accessControl: [{\n primaryScope: ResourcePrimaryScope.APPLICATION,\n }],\n riskLevel: ResourceOperationRiskLevel.LOW,\n },\n operationDefinition: {\n operationKey: LLMProvider_OperationKey.GENERATE_TEXT,\n providerRef: 'openai',\n inputSchema: LLMProvider_GenerateTextInputSchema,\n outputSchema: LLMProvider_GenerateTextOutputSchema,\n operationContextSchema: LLMProvider_OperationContext_BaseSchema,\n } satisfies LLMProvider_OperationDefinitionBase,\n promptSpec: {\n role: `You are an expert email template developer specializing in React Email components.\nYour task is to generate professional, accessible, and visually appealing email templates using TSX syntax.\nYou create templates that work across all major email clients (Gmail, Outlook, Apple Mail, etc.).`,\n persona: `You write clean, maintainable TSX code with proper TypeScript types.\nYou follow email best practices: inline styles, table-based layouts for compatibility, mobile-responsive design.\nYou use the provided predefined components and design tokens consistently.\nYou never use external APIs, fetch calls, or any code that could be a security risk.`,\n skillType: FlowsActors_Agent_Skill_Type.GENERATION,\n instructions: [],\n },\n createdAt: '2024-01-01T00:00:00.000Z',\n};\n\n/**\n * Aggregate list of companion email agents, spread into the companion\n * bootstrap's `flowsActorsRegistry.agents` in `src/index.ts`. Currently a\n * singleton; new email-related build-time agents belong here.\n */\nexport const emailAgents: FlowsActors_Agent[] = [\n emailTemplateGenerationAgent,\n];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-spec-context-loader.companion.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"email-spec-context-loader.companion.service.d.ts","sourceRoot":"","sources":["../../../../../src/email/services/email-spec-context-loader.companion.service.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAIhE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAK7E;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBACa,sCAAsC;IAMZ,OAAO,CAAC,QAAQ,CAAC,MAAM;IACR,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IANrF,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA+D;IACxF,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA8C;IAC3E,OAAO,CAAC,gBAAgB,CAAiD;gBAGnB,MAAM,EAAE,aAAa,EACN,gBAAgB,EAAE,gBAAgB;IAKvG;;;;OAIG;IACH;;;;OAIG;IACU,qBAAqB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC;IAO9F;;;;;OAKG;IACU,sBAAsB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC;IAO/F;;;;;;OAMG;YACW,YAAY;IAwC1B;;;;;OAKG;YACW,oBAAoB;CAmBnC"}
|