@wildo-ai/dev-companion 1.1.9 → 1.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/.tsbuildinfo +1 -0
- package/dist/esm/brand/models/accepted-brand-mark.models.d.ts +46 -0
- package/dist/esm/brand/models/accepted-brand-mark.models.d.ts.map +1 -0
- package/dist/esm/brand/models/accepted-brand-mark.models.js +89 -0
- package/dist/esm/brand/models/accepted-brand-mark.models.js.map +1 -0
- package/dist/esm/brand/models/logo-creative-brief.schemas.d.ts.map +1 -1
- package/dist/esm/brand/models/logo-creative-brief.schemas.js.map +1 -1
- package/dist/esm/brand/models/logo-generation.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/brand/models/logo-generation.actors-system.definitions.js.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.map +1 -1
- package/dist/esm/brand/models/logo-judge.schemas.d.ts +5 -3
- package/dist/esm/brand/models/logo-judge.schemas.d.ts.map +1 -1
- package/dist/esm/brand/models/logo-judge.schemas.js +5 -3
- package/dist/esm/brand/models/logo-judge.schemas.js.map +1 -1
- package/dist/esm/brand/services/brand-accept.companion.service.d.ts.map +1 -1
- package/dist/esm/brand/services/brand-accept.companion.service.js.map +1 -1
- package/dist/esm/brand/services/brand-propagation.companion.utils.d.ts.map +1 -1
- package/dist/esm/brand/services/brand-propagation.companion.utils.js.map +1 -1
- package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts.map +1 -1
- package/dist/esm/brand/services/logo-deliberation.companion.service.js +10 -7
- package/dist/esm/brand/services/logo-deliberation.companion.service.js.map +1 -1
- package/dist/esm/brand/services/logo-generation.companion.service.d.ts.map +1 -1
- package/dist/esm/brand/services/logo-generation.companion.service.js.map +1 -1
- package/dist/esm/brand/utils/derived-brand-assets.d.ts.map +1 -1
- package/dist/esm/brand/utils/derived-brand-assets.js.map +1 -1
- package/dist/esm/brand/utils/stage-brand-candidate.d.ts.map +1 -1
- package/dist/esm/brand/utils/stage-brand-candidate.js.map +1 -1
- package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js.map +1 -1
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +89 -0
- 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 +133 -0
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
- package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.d.ts +52 -0
- package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.d.ts.map +1 -0
- package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.js +206 -0
- package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.js.map +1 -0
- package/dist/esm/claude-cli/models/coding-session-frame-retention.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/coding-session-frame-retention.js.map +1 -1
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts +38 -3
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js +48 -4
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js.map +1 -1
- package/dist/esm/claude-cli/models/parked-question-answer.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/parked-question-answer.models.js.map +1 -1
- package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js.map +1 -1
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts +108 -7
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js +461 -27
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.d.ts +53 -0
- package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.d.ts.map +1 -0
- package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.js +193 -0
- package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.js.map +1 -0
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +74 -1
- 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 +246 -39
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/git-change-set.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.js.map +1 -1
- package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts +15 -2
- package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/research-evidence-store.companion.js +36 -4
- package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -1
- package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.d.ts.map +1 -1
- package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.js.map +1 -1
- package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.d.ts.map +1 -1
- package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js.map +1 -1
- package/dist/esm/companion-api/companion-api.schemas.d.ts +337 -337
- package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
- package/dist/esm/companion-api/companion-api.schemas.js.map +1 -1
- package/dist/esm/companion-api/companion-error-guidance.models.d.ts.map +1 -1
- package/dist/esm/companion-api/companion-error-guidance.models.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion-file-route-confinement.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion-file-route-confinement.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion-token-floor.policy.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion-trace-exemptions.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion-trace-exemptions.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion.controller.d.ts +25 -6
- package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion.controller.js +136 -15
- package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
- package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts.map +1 -1
- package/dist/esm/core/auth/companion-auth-floor.companion.service.js.map +1 -1
- package/dist/esm/core/catalogs/catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/catalog-context.factory.models.d.ts.map +1 -1
- package/dist/esm/core/catalogs/catalog-context.factory.models.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/structured-data-catalog-audit.service.d.ts.map +1 -1
- package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js.map +1 -1
- package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.d.ts.map +1 -1
- package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.js.map +1 -1
- package/dist/esm/core/config/primary-language.companion.utils.d.ts.map +1 -1
- package/dist/esm/core/config/primary-language.companion.utils.js.map +1 -1
- package/dist/esm/core/context/application-module-generations.companion.d.ts.map +1 -1
- package/dist/esm/core/context/application-module-generations.companion.js.map +1 -1
- package/dist/esm/core/context/companion-context.d.ts.map +1 -1
- package/dist/esm/core/context/companion-context.js.map +1 -1
- package/dist/esm/core/context/companion-package-loaders.companion.d.ts.map +1 -1
- package/dist/esm/core/context/companion-package-loaders.companion.js.map +1 -1
- package/dist/esm/core/context/draft-family-values.companion.d.ts.map +1 -1
- package/dist/esm/core/context/draft-family-values.companion.js.map +1 -1
- package/dist/esm/core/inject/models/container.d.ts.map +1 -1
- package/dist/esm/core/inject/models/container.js.map +1 -1
- package/dist/esm/core/inject/models/service-types.d.ts.map +1 -1
- package/dist/esm/core/inject/models/service-types.js.map +1 -1
- package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.d.ts.map +1 -1
- package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js.map +1 -1
- package/dist/esm/core/introspection/models/companion-introspection.models.d.ts.map +1 -1
- package/dist/esm/core/introspection/models/companion-introspection.models.js.map +1 -1
- package/dist/esm/core/introspection/resources/application-secrets.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/application-secrets.companion.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-console-answer.companion.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-console-projection.companion.js +8 -1
- package/dist/esm/core/introspection/resources/creation-console-projection.companion.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts +10 -0
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.js +56 -2
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js +7 -3
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js +22 -2
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts +7 -3
- package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/launch-blockers.companion.js +28 -2
- package/dist/esm/core/introspection/resources/launch-blockers.companion.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-behavior-registry.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts +8 -2
- 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 +72 -5
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts +153 -4
- 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 +383 -30
- package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/introspection-input-closure.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/introspection-input-closure.companion.js.map +1 -1
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts +82 -2
- 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 +220 -10
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts +22 -6
- package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js +38 -7
- package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/translation-placement.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts +9 -0
- package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js +29 -9
- package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/assertions.behavior.js +10 -10
- package/dist/esm/core/introspection/subprocess/assertions.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/asset-noop-hooks.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/asset-noop-hooks.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/asset-noop-register.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/asset-noop-register.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js +20 -19
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-child.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-child.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js +9 -1
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/market-context-block.builder.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/market-context-block.builder.js +2 -1
- package/dist/esm/core/introspection/subprocess/market-context-block.builder.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts +4 -3
- package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/market-prompt-renderer.js +14 -8
- package/dist/esm/core/introspection/subprocess/market-prompt-renderer.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js +17 -4
- package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/risk-signals.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/risk-signals.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/specification-elements.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/specification-elements.behavior.js.map +1 -1
- package/dist/esm/core/introspection/workspace-element-index.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/workspace-element-index.companion.js.map +1 -1
- package/dist/esm/core/introspection/workspace-elements.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/workspace-elements.companion.js.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.companion.service.d.ts.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.companion.service.js.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.models.d.ts.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.models.js.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.schemas.js.map +1 -1
- package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts +35 -0
- package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/application-runtime-liveness.companion.js +74 -0
- package/dist/esm/core/runtime/application-runtime-liveness.companion.js.map +1 -1
- package/dist/esm/core/runtime/companion-endpoint-record.d.ts.map +1 -1
- package/dist/esm/core/runtime/companion-endpoint-record.js.map +1 -1
- package/dist/esm/core/runtime/companion-env-file.d.ts.map +1 -1
- package/dist/esm/core/runtime/companion-env-file.js.map +1 -1
- package/dist/esm/core/runtime/companion-self-restart.companion.d.ts +38 -0
- package/dist/esm/core/runtime/companion-self-restart.companion.d.ts.map +1 -0
- package/dist/esm/core/runtime/companion-self-restart.companion.js +110 -0
- package/dist/esm/core/runtime/companion-self-restart.companion.js.map +1 -0
- package/dist/esm/core/runtime/companion-startup-assembly.d.ts.map +1 -1
- package/dist/esm/core/runtime/companion-startup-assembly.js +7 -1
- package/dist/esm/core/runtime/companion-startup-assembly.js.map +1 -1
- package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts +12 -0
- package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/dev-compile-quiet.companion.js +15 -1
- package/dist/esm/core/runtime/dev-compile-quiet.companion.js.map +1 -1
- package/dist/esm/core/runtime/event-loop-stall-monitor.companion.d.ts +83 -0
- package/dist/esm/core/runtime/event-loop-stall-monitor.companion.d.ts.map +1 -0
- package/dist/esm/core/runtime/event-loop-stall-monitor.companion.js +150 -0
- package/dist/esm/core/runtime/event-loop-stall-monitor.companion.js.map +1 -0
- package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.js.map +1 -1
- package/dist/esm/core/runtime/models/companion-runtime.models.d.ts.map +1 -1
- package/dist/esm/core/runtime/models/companion-runtime.models.js.map +1 -1
- package/dist/esm/core/runtime/services/file-storage-initialization.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/services/file-storage-initialization.companion.js.map +1 -1
- package/dist/esm/core/runtime/services/start-companion-application.service.d.ts +23 -1
- 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 +50 -2
- package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
- package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.js.map +1 -1
- package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/utils/companion-platform-config.companion.js.map +1 -1
- package/dist/esm/core/runtime/utils/companion-workbench-topology.d.ts.map +1 -1
- package/dist/esm/core/runtime/utils/companion-workbench-topology.js.map +1 -1
- package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.js.map +1 -1
- package/dist/esm/core/specifications/chart-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/chart-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/composite-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/composite-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts.map +1 -1
- package/dist/esm/core/specifications/cross-registry-rendering.shared.js.map +1 -1
- package/dist/esm/core/specifications/execution-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/execution-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/feature-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/feature-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/frontend-component-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/frontend-component-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/full-custom-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/full-custom-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/guidance-flow-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/guidance-flow-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/milestone-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/milestone-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/non-composite-view-specification-context.shared.d.ts.map +1 -1
- package/dist/esm/core/specifications/non-composite-view-specification-context.shared.js.map +1 -1
- package/dist/esm/core/specifications/onboarding-element-rendering.shared.d.ts.map +1 -1
- package/dist/esm/core/specifications/onboarding-element-rendering.shared.js.map +1 -1
- package/dist/esm/core/specifications/onboarding-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/onboarding-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/product-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/product-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/resource-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/resource-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/role-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/role-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.js.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.models.d.ts.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.models.js.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.shared.d.ts.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.shared.js.map +1 -1
- package/dist/esm/core/specifications/system-email-template-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/system-email-template-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/validate-resource-field-completeness.d.ts.map +1 -1
- package/dist/esm/core/specifications/validate-resource-field-completeness.js.map +1 -1
- package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts.map +1 -1
- package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.models.d.ts.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.models.js.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.service.d.ts.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.service.js.map +1 -1
- package/dist/esm/core/utils/atomic-write.utils.d.ts.map +1 -1
- package/dist/esm/core/utils/atomic-write.utils.js.map +1 -1
- package/dist/esm/core/utils/bounded-concurrency.utils.d.ts.map +1 -1
- package/dist/esm/core/utils/bounded-concurrency.utils.js.map +1 -1
- package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts.map +1 -1
- package/dist/esm/core/utils/derived-input-signature.companion.utils.js.map +1 -1
- package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js.map +1 -1
- package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts.map +1 -1
- package/dist/esm/creation-conversation/creation-conversation.function-tools.js +4 -2
- package/dist/esm/creation-conversation/creation-conversation.function-tools.js.map +1 -1
- package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js +7 -8
- package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js.map +1 -1
- package/dist/esm/deliberations/services/deliberation.companion.service.d.ts +10 -5
- package/dist/esm/deliberations/services/deliberation.companion.service.d.ts.map +1 -1
- package/dist/esm/deliberations/services/deliberation.companion.service.js +31 -21
- package/dist/esm/deliberations/services/deliberation.companion.service.js.map +1 -1
- package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts.map +1 -1
- package/dist/esm/deliberations/services/structured-deliberation.companion.service.js.map +1 -1
- package/dist/esm/deliberations/utils/expert-agent-registration.d.ts +56 -0
- package/dist/esm/deliberations/utils/expert-agent-registration.d.ts.map +1 -0
- package/dist/esm/deliberations/utils/expert-agent-registration.js +74 -0
- package/dist/esm/deliberations/utils/expert-agent-registration.js.map +1 -0
- package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts +9 -5
- package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts.map +1 -1
- package/dist/esm/deliberations/utils/load-committed-expert-agents.js +11 -15
- package/dist/esm/deliberations/utils/load-committed-expert-agents.js.map +1 -1
- package/dist/esm/email/models/email-template.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/email/models/email-template.actors-system.definitions.js.map +1 -1
- package/dist/esm/email/services/email-spec-context-loader.companion.service.d.ts.map +1 -1
- package/dist/esm/email/services/email-spec-context-loader.companion.service.js.map +1 -1
- package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
- package/dist/esm/email/services/email-template.companion.service.js.map +1 -1
- package/dist/esm/email/utils/email-labels-file-source.utils.d.ts.map +1 -1
- package/dist/esm/email/utils/email-labels-file-source.utils.js.map +1 -1
- package/dist/esm/email/utils/email-labels-tree.utils.d.ts.map +1 -1
- package/dist/esm/email/utils/email-labels-tree.utils.js.map +1 -1
- package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts.map +1 -1
- package/dist/esm/email/utils/email-template-fs-discovery.utils.js.map +1 -1
- package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts.map +1 -1
- package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js.map +1 -1
- package/dist/esm/executions/services/companion-executions.companion.service.d.ts.map +1 -1
- package/dist/esm/executions/services/companion-executions.companion.service.js.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js.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.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts +5 -3
- package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.js +5 -3
- package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.js.map +1 -1
- package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts +17 -1
- package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts.map +1 -1
- package/dist/esm/expert-personas/services/expert-persona.companion.service.js +47 -10
- package/dist/esm/expert-personas/services/expert-persona.companion.service.js.map +1 -1
- package/dist/esm/expert-personas/services/persona-source-ownership.d.ts.map +1 -1
- package/dist/esm/expert-personas/services/persona-source-ownership.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_announcement.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_announcement.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_banner.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_banner.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_card.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_card.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_checklist.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_checklist.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_checklist_item.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_modal.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_modal.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_onboarding_view.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_onboarding_view.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_survey.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_survey.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_tooltip.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_tooltip.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_tour.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_tour.en.js.map +1 -1
- package/dist/esm/i18n/components/progression_achievement_badge.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/progression_achievement_badge.en.js.map +1 -1
- package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/progression_milestone_tracker.en.js.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts +1 -0
- package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-conversation.en.js +14 -0
- package/dist/esm/i18n/composite_views/app.creation-conversation.en.js.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-dossier.en.d.ts.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-dossier.en.js.map +1 -1
- package/dist/esm/i18n/composite_views/app.domain-model.en.d.ts.map +1 -1
- package/dist/esm/i18n/composite_views/app.domain-model.en.js.map +1 -1
- package/dist/esm/i18n/control-plane-label-blocks.d.ts +344 -0
- package/dist/esm/i18n/control-plane-label-blocks.d.ts.map +1 -0
- package/dist/esm/i18n/control-plane-label-blocks.js +115 -0
- package/dist/esm/i18n/control-plane-label-blocks.js.map +1 -0
- package/dist/esm/i18n/errors_guidance/errors-guidance.en.d.ts.map +1 -1
- package/dist/esm/i18n/errors_guidance/errors-guidance.en.js.map +1 -1
- package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts.map +1 -1
- package/dist/esm/i18n/errors_messages/errors-messages.en.js.map +1 -1
- package/dist/esm/i18n/index.d.ts.map +1 -1
- package/dist/esm/i18n/index.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts +410 -0
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js +13 -145
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts +65 -0
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js +4 -37
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts +65 -0
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js +4 -37
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchAspects.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchAspects.en.js +4 -0
- package/dist/esm/i18n/resources/workbenchAspects.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchDomainResources.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchDomainResources.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts +10 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.js +3 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts +287 -0
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +97 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchTraceSessions.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/application-creation.en.d.ts +19 -0
- package/dist/esm/i18n/system_enums/application-creation.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/application-creation.en.js +21 -0
- package/dist/esm/i18n/system_enums/application-creation.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/compliance-programme.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/flows-actors.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/flows-actors.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/localization.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/localization.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/market.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/market.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/processor-register.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/processor-register.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/risk-register.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/risk-register.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-build.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-build.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts +1 -0
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.js +2 -0
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-dossier.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-playbook-run.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-playbook-run.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-secrets.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-secrets.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js.map +1 -1
- package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.js.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling-progress.models.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling-progress.models.js.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts +29 -2
- package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling-unit.models.js +17 -0
- package/dist/esm/i18n-labelling/models/labelling-unit.models.js.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js.map +1 -1
- package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts +5 -0
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js +44 -4
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/email-template-translation.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/email-template-translation.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/guidance-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/label-file-source.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/label-file-source.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/labelling-concurrency.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.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.map +1 -1
- package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts +8 -1
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js +9 -2
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts +13 -7
- package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js +13 -7
- package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.js.map +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/market/services/market-generation.companion.service.d.ts.map +1 -1
- package/dist/esm/market/services/market-generation.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js +3 -3
- package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/application-line-catalog.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/application-line-catalog.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts +18 -0
- package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/build-task-rearm.models.js +37 -0
- package/dist/esm/meta-workflows/models/build-task-rearm.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/carried-verification-failure.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/creation-intervention.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/creation-intervention.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/generation-step-progress.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/generation-step-progress.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/human-decision-settler.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/human-decision-settler.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-run-record.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.d.ts +36 -0
- package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.js +97 -0
- package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.js.map +1 -0
- package/dist/esm/meta-workflows/models/website-copy-review.models.d.ts +124 -0
- package/dist/esm/meta-workflows/models/website-copy-review.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/website-copy-review.models.js +74 -0
- package/dist/esm/meta-workflows/models/website-copy-review.models.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +297 -8
- 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 +1089 -42
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts +143 -11
- 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 +277 -42
- 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 +38 -0
- 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 +123 -4
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts +130 -2
- package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js +251 -4
- package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.d.ts +122 -0
- package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.js +295 -0
- package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.d.ts +22 -0
- package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.js +45 -0
- package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts +53 -0
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js +97 -0
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js.map +1 -0
- package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.d.ts +17 -1
- package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.js +25 -3
- package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.js.map +1 -1
- package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts +5 -0
- package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/dossier.companion.service.js +5 -1
- package/dist/esm/meta-workflows/services/dossier.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.js.map +1 -1
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts +50 -1
- 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 +132 -54
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/governed-document-texts.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/governed-document-texts.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/landed-module-import.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/landed-module-import.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-instance.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js +50 -17
- package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts +42 -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 +62 -0
- 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 +61 -1
- 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 +398 -81
- 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.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.js.map +1 -1
- package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.d.ts.map +1 -1
- package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-doc.companion.service.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js.map +1 -1
- package/package.json +17 -17
package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-maturity-executor.companion.service.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"application-maturity-executor.companion.service.js","sourceRoot":"","sources":["../../../../src/meta-workflows/services/application-maturity-executor.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,EACL,8BAA8B,EAC9B,+CAA+C,EAC/C,2BAA2B,GAG5B,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,yBAAyB,EACzB,oCAAoC,EACpC,0BAA0B,EAC1B,yBAAyB,EACzB,kCAAkC,GAEnC,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAGjF;;;;;;;;;;;;;GAaG;AAEH,MAAM,CAAC,MAAM,iCAAiC,GAAG,4BAA4B,CAAC;AAe9E,kHAAkH;AAClH,MAAM,OAAO,iCAAkC,SAAQ,KAAK;CAAG;AAE/D,gHAAgH;AAChH,MAAM,sBAAsB,GAAG,aAAa,CAAC;AAGtC,IAAM,2CAA2C,GAAjD,MAAM,2CAA2C;IAIA;IACe;IAJpD,QAAQ,CAA+D;IAExF,YACsD,MAAqB,EACN,gBAAkC;QADjD,WAAM,GAAN,MAAM,CAAe;Q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AC,KAAK,CAAC,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SACnD,CAAC,CAAC;QACH,MAAM,MAAM,GAAa,EAAE,CAAC;QAC5B,IAAI,OAAO,GAAG,MAAM,CAAC;QACrB,IAAI,KAAK,CAAC,MAAM,KAAK,IAAI,EAAE,CAAC;YAC1B,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAAC;YAC5C,6GAA6G;YAC7G,gGAAgG;YAChG,OAAO,GAAG,0BAA0B,CAAC,aAAa,CAAC,CAAC;YACpD,MAAM,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC;QACxE,CAAC;QACD,OAAO;YACL,WAAW,EAAE,iCAAiC;YAC9C,GAAG,CAAC,KAAK,CAAC,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,IAAa,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAC3D,QAAQ;YACR,QAAQ;YACR,MAAM;YACN,oBAAoB,EAAE,OAAO,CAAC,YAAY;SAC3C,CAAC;IACJ,CAAC;CACF,CAAA;AAjEY,2CAA2C;IADvD,UAAU,EAAE;IAKR,WAAA,MAAM,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAA;IACjC,WAAA,MAAM,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAA;;GALxC,2CAA2C,CAiEvD","sourcesContent":["import { inject, injectable } from 'inversify';\nimport { SAAS_SERVICE_TYPES } from '@wildo-ai/saas-backend-lib';\nimport type { LoggerService } from '@wildo-ai/saas-backend-lib';\nimport {\n ApplicationSpecificationFamily,\n ApplicationSpecificationFamilySemanticSchemaRef,\n validateApplicationMaturity,\n type ApplicationMaturity,\n type ApplicationMaturityFinding,\n} from '@wildo-ai/saas-specifications/application-creation';\nimport {\n deriveApplicationMaturity,\n landApplicationSpecificationArtifact,\n applyCompanionExportWiring,\n planCompanionExportWiring,\n resolvePlaybookOutputLandingTarget,\n type ApplicationMaturityInputs,\n} from '@wildo-ai/application-creation-runtime';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\n\n/**\n * The `bottom_up.maturity-reading` playbook's EXECUTOR — a runner-owned step, like the capability\n * composition's (#1496).\n *\n * The run short-circuits before any brief is composed, and here the reason is stronger than it is\n * for the composition: a model asked where an application stands would ANSWER, and nothing could\n * check the answer. `deriveApplicationMaturity` reads the requirements, the decided-element graph\n * and the build plan's landing probe, so every row names the evidence a reader can go and look at.\n *\n * Nothing here commits, and nothing here refuses. A reading is a working edit until it is committed\n * (`one-source-of-truth.md`) — by a person, or under the autonomy posture by the companion before the\n * next build baseline (#1534) — and it is a MEASUREMENT rather than a gate: there is no \"done\" for\n * an application, so no stage this executor lands may stop anything.\n */\n\nexport const APPLICATION_MATURITY_PLAYBOOK_REF = 'bottom_up.maturity-reading';\n\nexport interface ApplicationMaturityExecutionResult {\n readonly playbookRef: typeof APPLICATION_MATURITY_PLAYBOOK_REF;\n readonly dryRun?: true;\n /** The reading — one row per requirement, and the stage that follows. */\n readonly maturity: ApplicationMaturity;\n /** What the reading says about the application: requirements nobody addressed, proofs nobody took. */\n readonly findings: readonly ApplicationMaturityFinding[];\n /** Package-relative paths this run wrote. Empty on a dry run. */\n readonly landed: readonly string[];\n /** Wiring steps already in place — the idempotent re-land evidence. */\n readonly wiringAlreadyInPlace: readonly string[];\n}\n\n/** The specifications package could not be reached, so nothing could be landed — a host-configuration refusal. */\nexport class ApplicationMaturityExecutionError extends Error {}\n\n/** The constant prefix every landed family constant carries (issue #65: landed constants are app-name-free). */\nconst LANDED_CONSTANT_PREFIX = 'application';\n\n@injectable()\nexport class ApplicationMaturityExecutorCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n\n public constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext) private readonly companionContext: CompanionContext,\n ) {\n this.logDebug = this.logger.debugByType('ApplicationMaturityExecutorCompanionService');\n }\n\n public async execute(input: {\n /** The landed family VALUES, the landing probe's sets and any runtime observations. */\n readonly inputs: ApplicationMaturityInputs;\n /** Derive and render, write nothing. */\n readonly dryRun?: boolean;\n }): Promise<ApplicationMaturityExecutionResult> {\n const maturity = deriveApplicationMaturity(input.inputs);\n const findings = validateApplicationMaturity(maturity);\n this.logDebug('Application maturity derived', {\n stage: maturity.stage,\n requirements: maturity.requirements.length,\n findings: findings.length,\n });\n\n const specificationsPackageRoot = this.companionContext.resolvedSpecifications?.packageRoot;\n if (!specificationsPackageRoot) {\n throw new ApplicationMaturityExecutionError(\n 'The maturity reading cannot land: this application declares no specifications package in `wildo.saas.config.ts` (`specifications`).',\n );\n }\n const target = resolvePlaybookOutputLandingTarget({\n family: ApplicationSpecificationFamily.APPLICATION_MATURITY,\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.APPLICATION_MATURITY,\n constantPrefix: LANDED_CONSTANT_PREFIX,\n });\n // Planned against the CURRENT bytes, before the write — an unwirable landing refuses at zero cost.\n const wiringRequest = {\n specificationsPackageRoot,\n outputs: [{ family: ApplicationSpecificationFamily.APPLICATION_MATURITY, packageRelativePath: target.packageRelativePath, exportedConstantName: target.exportedConstantName }],\n };\n const wiring = planCompanionExportWiring(wiringRequest);\n const landedFile = await landApplicationSpecificationArtifact({\n specificationsPackageRoot,\n target,\n value: maturity,\n ...(input.dryRun === true ? { dryRun: true } : {}),\n });\n const landed: string[] = [];\n let applied = wiring;\n if (input.dryRun !== true) {\n landed.push(landedFile.packageRelativePath);\n // LAST: a slot must never point at a file that failed to land. Applied from the files as they are NOW, never\n // from the plan above: another landing may have wired while this one awaited its write (#2249).\n applied = applyCompanionExportWiring(wiringRequest);\n landed.push(...applied.edits.map((edit) => edit.packageRelativePath));\n }\n return {\n playbookRef: APPLICATION_MATURITY_PLAYBOOK_REF,\n ...(input.dryRun === true ? { dryRun: true as const } : {}),\n maturity,\n findings,\n landed,\n wiringAlreadyInPlace: applied.alreadyWired,\n };\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-plan-authoring.companion.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"build-plan-authoring.companion.service.d.ts","sourceRoot":"","sources":["../../../../src/meta-workflows/services/build-plan-authoring.companion.service.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,EAA4B,KAAK,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACvH,OAAO,EAGL,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC/B,MAAM,wCAAwC,CAAC;AAGhD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAS7E;;;;;;;;;;;GAWG;AACH,qBACa,kCAAkC;IAIR,OAAO,CAAC,QAAQ,CAAC,MAAM;IACR,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IAJrF,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA+D;gBAGlC,MAAM,EAAE,aAAa,EACN,gBAAgB,EAAE,gBAAgB;IAKvG,oHAAoH;IACvG,oBAAoB,IAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC;IAc/D,OAAO,CAAC,KAAK,EAAE;QAC1B,QAAQ,CAAC,IAAI,EAAE,wBAAwB,CAAC;QACxC,gHAAgH;QAChH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;KAC3B,GAAG,OAAO,CAAC,yBAAyB,CAAC;CAuBvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-plan-authoring.companion.service.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"build-plan-authoring.companion.service.js","sourceRoot":"","sources":["../../../../src/meta-workflows/services/build-plan-authoring.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAE/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,wBAAwB,EAA2B,MAAM,oDAAoD,CAAC;AACvH,OAAO,EACL,wBAAwB,EACxB,mBAAmB,GAGpB,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAEjF,OAAO,EAAE,kCAAkC,EAAE,MAAM,wDAAwD,CAAC;AAE5G;;;GAGG;AACH,MAAM,sBAAsB,GAAG,aAAa,CAAC;AAE7C;;;;;;;;;;;GAWG;AAEI,IAAM,kCAAkC,GAAxC,MAAM,kCAAkC;IAIS;IACe;IAJpD,QAAQ,CAA+D;IAExF,YACsD,MAAqB,EACN,gBAAkC;QADjD,WAAM,GAAN,MAAM,CAAe;QACN,qBAAgB,GAAhB,gBAAgB,CAAkB;QAErG,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAAC;IAChE,CAAC;IAED,oHAAoH;IAC7G,KAAK,CAAC,oBAAoB;QAC/B,MAAM,OAAO,GAAG,MAAM,kCAAkC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAChF,MAAM,QAAQ,GAAI,OAAgD,CAAC,sBAAsB,CAAC;QAC1F,IAAI,QAAQ,KAAK,SAAS,IAAI,QAAQ,KAAK,IAAI;YAAE,OAAO,SAAS,CAAC;QAClE,MAAM,MAAM,GAAG,wBAAwB,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;QAC5D,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;YACpB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AM,KAAK,IAAI;SAC9B,CAAC,CAAC;QACH,OAAO,MAAM,CAAC;IAChB,CAAC;CACF,CAAA;AArDY,kCAAkC;IAD9C,UAAU,EAAE;IAKR,WAAA,MAAM,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAA;IACjC,WAAA,MAAM,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAA;;GALxC,kCAAkC,CAqD9C","sourcesContent":["import { inject, injectable } from 'inversify';\nimport type { LoggerService } from '@wildo-ai/saas-backend-lib';\nimport { SAAS_SERVICE_TYPES } from '@wildo-ai/saas-backend-lib';\nimport { BuildPlanTaskGraphSchema, type BuildPlanTaskGraph } from '@wildo-ai/saas-specifications/application-creation';\nimport {\n BuildPlanTaskAppendError,\n appendBuildPlanTask,\n type BuildPlanTaskAppendInput,\n type BuildPlanTaskAppendResult,\n} from '@wildo-ai/application-creation-runtime';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\nimport { loadSpecificationsCompanionExports } from '../../core/context/companion-package-loaders.companion';\n\n/**\n * The prefix every landed family's exported constant carries — the dossier's and the playbook\n * landing's, so a plan appended here is named exactly as the plan a playbook would land.\n */\nconst LANDED_CONSTANT_PREFIX = 'application';\n\n/**\n * AUTHORING the build plan from a session (#1454, Step 7): one task appended on the creator's word.\n *\n * The companion half is thin on purpose. Reading the current plan through the companion-exports\n * aggregate, and knowing where the specifications package is, are the two things only the companion\n * can do; the append itself — refusals, validation, rendering, wiring — is\n * {@link appendBuildPlanTask} in the runtime, where the same rules the dispatch service reads the\n * plan by are a function of bytes and a test can drive them without a companion.\n *\n * What it does NOT do: dispatch. Adding a task and running it are two decisions — \"keep it for\n * later\" is a legitimate answer to the first — and the second costs money, so it has its own door.\n */\n@injectable()\nexport class BuildPlanAuthoringCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n\n public constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext) private readonly companionContext: CompanionContext,\n ) {\n this.logDebug = this.logger.debugByType('BuildPlanAuthoring');\n }\n\n /** The plan as landed, or `undefined` when none has; an INVALID landed plan refuses rather than reading as none. */\n public async readCurrentBuildPlan(): Promise<BuildPlanTaskGraph | undefined> {\n const exports = await loadSpecificationsCompanionExports(this.companionContext);\n const authored = (exports as { buildPlanSpecification?: unknown }).buildPlanSpecification;\n if (authored === undefined || authored === null) return undefined;\n const parsed = BuildPlanTaskGraphSchema.safeParse(authored);\n if (!parsed.success) {\n throw new BuildPlanTaskAppendError(\n `The application's build plan does not satisfy its schema, so nothing can be appended to it: `\n + parsed.error.issues.slice(0, 3).map((issue) => `${issue.path.join('.')}: ${issue.message}`).join('; '),\n );\n }\n return parsed.data;\n }\n\n public async addTask(input: {\n readonly task: BuildPlanTaskAppendInput;\n /** Who asked for it: the signed-in person, stamped on the task so a refining decomposition keeps it (#1608). */\n readonly requestedBy: string;\n readonly dryRun?: boolean;\n }): Promise<BuildPlanTaskAppendResult> {\n const specificationsPackageRoot = this.companionContext.resolvedSpecifications?.packageRoot;\n if (!specificationsPackageRoot) {\n throw new BuildPlanTaskAppendError('No specifications package is declared in wildo.saas.config.ts; there is nowhere to land a build plan.');\n }\n const current = await this.readCurrentBuildPlan();\n const landed = await appendBuildPlanTask({\n specificationsPackageRoot,\n constantPrefix: LANDED_CONSTANT_PREFIX,\n current,\n task: input.task,\n requestedBy: input.requestedBy,\n ...(input.dryRun === true ? { dryRun: true } : {}),\n });\n this.logDebug('Build-plan task appended', {\n taskRef: landed.task.taskRef,\n createdPlan: landed.createdPlan,\n taskCount: landed.graph.tasks.length,\n advisoryFindings: landed.advisoryFindings.length,\n dryRun: input.dryRun === true,\n });\n return landed;\n }\n}\n"]}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { EngineCapability } from '@wildo-ai/saas-models';
|
|
2
|
+
import { DomainPlanTenancyModel } from '@wildo-ai/saas-specifications/application-creation';
|
|
3
|
+
/**
|
|
4
|
+
* Two facts a coding worker could not see, measured over ~100 coding runs of app-creation-test-005 (#2495):
|
|
5
|
+
*
|
|
6
|
+
* - **Which skills exist beyond the ones it was handed.** The skill index was opened 0 times; where the routed
|
|
7
|
+
* `skillRefs` fell short, workers read the engine's compiled `dist` instead (55% of tool calls on seed tasks).
|
|
8
|
+
* - **What the application has turned on.** 005 shipped `ORGANIZATIONS` disabled with every resource
|
|
9
|
+
* organization-scoped and organization roles on every operation, and no worker had a way to see the contradiction.
|
|
10
|
+
*
|
|
11
|
+
* Both are DERIVED here from what the application already carries — its installed `.claude/skills/INDEX.md` and its
|
|
12
|
+
* `wildo.saas.config.ts` — never a hand-kept list, so a skill or a capability added tomorrow reaches the brief the day it
|
|
13
|
+
* exists.
|
|
14
|
+
*/
|
|
15
|
+
/** Where the application's compiled skill catalogue is installed, relative to its root. */
|
|
16
|
+
export declare const INSTALLED_SKILL_INDEX_RELATIVE_PATH = ".claude/skills/INDEX.md";
|
|
17
|
+
/**
|
|
18
|
+
* The skill index as a worker needs it: the full sections of the DOMAINS its routed skills belong to (every sibling
|
|
19
|
+
* skill there, with its trigger phrases), and the heading of every other domain, so a skill the decomposer did not name
|
|
20
|
+
* can still be found. `undefined` when the application has no installed index or it holds no domain section.
|
|
21
|
+
*/
|
|
22
|
+
export declare function sliceSkillIndexForTask(indexMarkdown: string, skillRefs: readonly string[]): {
|
|
23
|
+
readonly routedDomains: readonly {
|
|
24
|
+
readonly domain: string;
|
|
25
|
+
readonly skills: string;
|
|
26
|
+
}[];
|
|
27
|
+
readonly otherDomains: readonly string[];
|
|
28
|
+
} | undefined;
|
|
29
|
+
/** What the application's configuration turns on, and how the domain plan partitions its data. */
|
|
30
|
+
export interface ApplicationCapabilityFacts {
|
|
31
|
+
readonly displayName?: string;
|
|
32
|
+
/** Every engine capability, read from `engineCapabilities`: enabled, disabled, or not declared at all. */
|
|
33
|
+
readonly enabled: readonly EngineCapability[];
|
|
34
|
+
readonly disabled: readonly EngineCapability[];
|
|
35
|
+
readonly undeclared: readonly EngineCapability[];
|
|
36
|
+
/** The domain plan's tenancy decision, when it made one. */
|
|
37
|
+
readonly tenancy?: DomainPlanTenancyModel;
|
|
38
|
+
/** A contradiction between the two, stated so the worker raises it instead of building on one half. */
|
|
39
|
+
readonly contradiction?: string;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* The application's capability facts, total over `EngineCapability` (a capability added to the vocabulary is reported
|
|
43
|
+
* the day it exists). Tenancy is the domain plan's decision; an organization-tenancy plan beside a disabled
|
|
44
|
+
* `ORGANIZATIONS` capability is the contradiction 005 shipped. Neither half is corrected here, which one is wrong is not
|
|
45
|
+
* this brief's to decide; the worker is told what it may build on (organization scoping needs the capability; a USERS
|
|
46
|
+
* plan says scope to the user) and to report the mismatch.
|
|
47
|
+
*/
|
|
48
|
+
export declare function readApplicationCapabilityFacts(input: {
|
|
49
|
+
readonly configContent: string;
|
|
50
|
+
readonly configPath: string;
|
|
51
|
+
readonly tenancy?: DomainPlanTenancyModel;
|
|
52
|
+
}): ApplicationCapabilityFacts;
|
|
53
|
+
//# sourceMappingURL=build-task-brief-application-facts.companion.d.ts.map
|
package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-task-brief-application-facts.companion.d.ts","sourceRoot":"","sources":["../../../../src/meta-workflows/services/build-task-brief-application-facts.companion.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,oDAAoD,CAAC;AAE5F;;;;;;;;;;;GAWG;AAEH,2FAA2F;AAC3F,eAAO,MAAM,mCAAmC,4BAA4B,CAAC;AAkC7E;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,aAAa,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,MAAM,EAAE,GAAG;IAC3F,QAAQ,CAAC,aAAa,EAAE,SAAS;QAAE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IACxF,QAAQ,CAAC,YAAY,EAAE,SAAS,MAAM,EAAE,CAAC;CAC1C,GAAG,SAAS,CAQZ;AAED,kGAAkG;AAClG,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,0GAA0G;IAC1G,QAAQ,CAAC,OAAO,EAAE,SAAS,gBAAgB,EAAE,CAAC;IAC9C,QAAQ,CAAC,QAAQ,EAAE,SAAS,gBAAgB,EAAE,CAAC;IAC/C,QAAQ,CAAC,UAAU,EAAE,SAAS,gBAAgB,EAAE,CAAC;IACjD,4DAA4D;IAC5D,QAAQ,CAAC,OAAO,CAAC,EAAE,sBAAsB,CAAC;IAC1C,uGAAuG;IACvG,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;CACjC;AAED;;;;;;GAMG;AAOH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE;IACpD,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,OAAO,CAAC,EAAE,sBAAsB,CAAC;CAC3C,GAAG,0BAA0B,CAyB7B"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { readApplicationDisplayName, readEngineCapabilityEnabled } from '@wildo-ai/application-creation-runtime';
|
|
2
|
+
import { EngineCapability } from '@wildo-ai/saas-models';
|
|
3
|
+
import { DomainPlanTenancyModel } from '@wildo-ai/saas-specifications/application-creation';
|
|
4
|
+
/**
|
|
5
|
+
* Two facts a coding worker could not see, measured over ~100 coding runs of app-creation-test-005 (#2495):
|
|
6
|
+
*
|
|
7
|
+
* - **Which skills exist beyond the ones it was handed.** The skill index was opened 0 times; where the routed
|
|
8
|
+
* `skillRefs` fell short, workers read the engine's compiled `dist` instead (55% of tool calls on seed tasks).
|
|
9
|
+
* - **What the application has turned on.** 005 shipped `ORGANIZATIONS` disabled with every resource
|
|
10
|
+
* organization-scoped and organization roles on every operation, and no worker had a way to see the contradiction.
|
|
11
|
+
*
|
|
12
|
+
* Both are DERIVED here from what the application already carries — its installed `.claude/skills/INDEX.md` and its
|
|
13
|
+
* `wildo.saas.config.ts` — never a hand-kept list, so a skill or a capability added tomorrow reaches the brief the day it
|
|
14
|
+
* exists.
|
|
15
|
+
*/
|
|
16
|
+
/** Where the application's compiled skill catalogue is installed, relative to its root. */
|
|
17
|
+
export const INSTALLED_SKILL_INDEX_RELATIVE_PATH = '.claude/skills/INDEX.md';
|
|
18
|
+
/** The `### …` sections under the index's `## Domains` heading, in authored order. */
|
|
19
|
+
function readDomainSections(indexMarkdown) {
|
|
20
|
+
const start = indexMarkdown.search(/^## Domains\s*$/m);
|
|
21
|
+
if (start < 0)
|
|
22
|
+
return [];
|
|
23
|
+
const afterDomains = indexMarkdown.slice(start).split('\n').slice(1).join('\n');
|
|
24
|
+
// The domains end at the next second-level heading (`## Notes`).
|
|
25
|
+
const end = afterDomains.search(/^## /m);
|
|
26
|
+
const domains = end < 0 ? afterDomains : afterDomains.slice(0, end);
|
|
27
|
+
return domains
|
|
28
|
+
.split(/^(?=### )/m)
|
|
29
|
+
.filter((chunk) => chunk.startsWith('### '))
|
|
30
|
+
.map((chunk) => {
|
|
31
|
+
const [headingLine, ...rest] = chunk.split('\n');
|
|
32
|
+
return { heading: headingLine.replace(/^### /, '').trim(), body: rest.join('\n').trim() };
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Whether a section lists the skill `skillRef` as one of its rows. The index bolds each id in backticks; a REDIRECT row
|
|
37
|
+
* (an older id kept as an installed folder) is written `` `id` _(redirect → …)_ ``, unbolded, and counts too (#2495
|
|
38
|
+
* review F8): a task routed to one belongs to that domain as much as to the skill it redirects to.
|
|
39
|
+
*/
|
|
40
|
+
function sectionListsSkill(section, skillRef) {
|
|
41
|
+
return section.body.includes(`**\`${skillRef}\`**`) || section.body.includes(`\`${skillRef}\` _(redirect`);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* The skill index as a worker needs it: the full sections of the DOMAINS its routed skills belong to (every sibling
|
|
45
|
+
* skill there, with its trigger phrases), and the heading of every other domain, so a skill the decomposer did not name
|
|
46
|
+
* can still be found. `undefined` when the application has no installed index or it holds no domain section.
|
|
47
|
+
*/
|
|
48
|
+
export function sliceSkillIndexForTask(indexMarkdown, skillRefs) {
|
|
49
|
+
const sections = readDomainSections(indexMarkdown);
|
|
50
|
+
if (sections.length === 0)
|
|
51
|
+
return undefined;
|
|
52
|
+
const routed = sections.filter((section) => skillRefs.some((skillRef) => sectionListsSkill(section, skillRef)));
|
|
53
|
+
return {
|
|
54
|
+
routedDomains: routed.map((section) => ({ domain: section.heading, skills: section.body })),
|
|
55
|
+
otherDomains: sections.filter((section) => !routed.includes(section)).map((section) => section.heading),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* The application's capability facts, total over `EngineCapability` (a capability added to the vocabulary is reported
|
|
60
|
+
* the day it exists). Tenancy is the domain plan's decision; an organization-tenancy plan beside a disabled
|
|
61
|
+
* `ORGANIZATIONS` capability is the contradiction 005 shipped. Neither half is corrected here, which one is wrong is not
|
|
62
|
+
* this brief's to decide; the worker is told what it may build on (organization scoping needs the capability; a USERS
|
|
63
|
+
* plan says scope to the user) and to report the mismatch.
|
|
64
|
+
*/
|
|
65
|
+
/*
|
|
66
|
+
* Read with the same predicate the `engine-capabilities` step writes with (#2497), so the two agree. It reads a literal
|
|
67
|
+
* `[EngineCapability.X]: { enabled: … }` entry (every application measured declares them that way); an entry reached
|
|
68
|
+
* through an imported spread or a bare string key reads as undeclared, and an imported whole object makes the read
|
|
69
|
+
* throw, which drops this source with a WARN.
|
|
70
|
+
*/
|
|
71
|
+
export function readApplicationCapabilityFacts(input) {
|
|
72
|
+
const enabled = [];
|
|
73
|
+
const disabled = [];
|
|
74
|
+
const undeclared = [];
|
|
75
|
+
for (const capability of Object.values(EngineCapability)) {
|
|
76
|
+
const state = readEngineCapabilityEnabled({ filePath: input.configPath, content: input.configContent, capability });
|
|
77
|
+
(state === true ? enabled : state === false ? disabled : undeclared).push(capability);
|
|
78
|
+
}
|
|
79
|
+
const organizationsOn = enabled.includes(EngineCapability.ORGANIZATIONS);
|
|
80
|
+
const contradiction = input.tenancy === DomainPlanTenancyModel.ORGANIZATIONS && !organizationsOn
|
|
81
|
+
? 'The domain plan partitions data by ORGANIZATION, and the configuration does not enable ORGANIZATIONS. Do not resolve this by guessing: '
|
|
82
|
+
+ 'organization-scoped resources and organization roles assume the capability. Report it in your result so the plan or the configuration is corrected.'
|
|
83
|
+
: input.tenancy === DomainPlanTenancyModel.USERS && organizationsOn
|
|
84
|
+
? 'The domain plan keeps every user\'s data their own (USERS tenancy), and the configuration enables ORGANIZATIONS. Scope this task\'s resources '
|
|
85
|
+
+ 'to the user as the plan decided, and report the mismatch in your result.'
|
|
86
|
+
: undefined;
|
|
87
|
+
const displayName = readApplicationDisplayName(input.configContent);
|
|
88
|
+
return {
|
|
89
|
+
...(displayName === undefined ? {} : { displayName }),
|
|
90
|
+
enabled,
|
|
91
|
+
disabled,
|
|
92
|
+
undeclared,
|
|
93
|
+
...(input.tenancy === undefined ? {} : { tenancy: input.tenancy }),
|
|
94
|
+
...(contradiction === undefined ? {} : { contradiction }),
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
//# sourceMappingURL=build-task-brief-application-facts.companion.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-task-brief-application-facts.companion.js","sourceRoot":"","sources":["../../../../src/meta-workflows/services/build-task-brief-application-facts.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,wCAAwC,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AAC","sourcesContent":["import { readApplicationDisplayName, readEngineCapabilityEnabled } from '@wildo-ai/application-creation-runtime';\nimport { EngineCapability } from '@wildo-ai/saas-models';\nimport { DomainPlanTenancyModel } from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * Two facts a coding worker could not see, measured over ~100 coding runs of app-creation-test-005 (#2495):\n *\n * - **Which skills exist beyond the ones it was handed.** The skill index was opened 0 times; where the routed\n * `skillRefs` fell short, workers read the engine's compiled `dist` instead (55% of tool calls on seed tasks).\n * - **What the application has turned on.** 005 shipped `ORGANIZATIONS` disabled with every resource\n * organization-scoped and organization roles on every operation, and no worker had a way to see the contradiction.\n *\n * Both are DERIVED here from what the application already carries — its installed `.claude/skills/INDEX.md` and its\n * `wildo.saas.config.ts` — never a hand-kept list, so a skill or a capability added tomorrow reaches the brief the day it\n * exists.\n */\n\n/** Where the application's compiled skill catalogue is installed, relative to its root. */\nexport const INSTALLED_SKILL_INDEX_RELATIVE_PATH = '.claude/skills/INDEX.md';\n\n/** One `### <domain>` section of the skill index. */\ninterface SkillIndexSection {\n readonly heading: string;\n readonly body: string;\n}\n\n/** The `### …` sections under the index's `## Domains` heading, in authored order. */\nfunction readDomainSections(indexMarkdown: string): readonly SkillIndexSection[] {\n const start = indexMarkdown.search(/^## Domains\\s*$/m);\n if (start < 0) return [];\n const afterDomains = indexMarkdown.slice(start).split('\\n').slice(1).join('\\n');\n // The domains end at the next second-level heading (`## Notes`).\n const end = afterDomains.search(/^## /m);\n const domains = end < 0 ? afterDomains : afterDomains.slice(0, end);\n return domains\n .split(/^(?=### )/m)\n .filter((chunk) => chunk.startsWith('### '))\n .map((chunk) => {\n const [headingLine, ...rest] = chunk.split('\\n');\n return { heading: headingLine!.replace(/^### /, '').trim(), body: rest.join('\\n').trim() };\n });\n}\n\n/**\n * Whether a section lists the skill `skillRef` as one of its rows. The index bolds each id in backticks; a REDIRECT row\n * (an older id kept as an installed folder) is written `` `id` _(redirect → …)_ ``, unbolded, and counts too (#2495\n * review F8): a task routed to one belongs to that domain as much as to the skill it redirects to.\n */\nfunction sectionListsSkill(section: SkillIndexSection, skillRef: string): boolean {\n return section.body.includes(`**\\`${skillRef}\\`**`) || section.body.includes(`\\`${skillRef}\\` _(redirect`);\n}\n\n/**\n * The skill index as a worker needs it: the full sections of the DOMAINS its routed skills belong to (every sibling\n * skill there, with its trigger phrases), and the heading of every other domain, so a skill the decomposer did not name\n * can still be found. `undefined` when the application has no installed index or it holds no domain section.\n */\nexport function sliceSkillIndexForTask(indexMarkdown: string, skillRefs: readonly string[]): {\n readonly routedDomains: readonly { readonly domain: string; readonly skills: string }[];\n readonly otherDomains: readonly string[];\n} | undefined {\n const sections = readDomainSections(indexMarkdown);\n if (sections.length === 0) return undefined;\n const routed = sections.filter((section) => skillRefs.some((skillRef) => sectionListsSkill(section, skillRef)));\n return {\n routedDomains: routed.map((section) => ({ domain: section.heading, skills: section.body })),\n otherDomains: sections.filter((section) => !routed.includes(section)).map((section) => section.heading),\n };\n}\n\n/** What the application's configuration turns on, and how the domain plan partitions its data. */\nexport interface ApplicationCapabilityFacts {\n readonly displayName?: string;\n /** Every engine capability, read from `engineCapabilities`: enabled, disabled, or not declared at all. */\n readonly enabled: readonly EngineCapability[];\n readonly disabled: readonly EngineCapability[];\n readonly undeclared: readonly EngineCapability[];\n /** The domain plan's tenancy decision, when it made one. */\n readonly tenancy?: DomainPlanTenancyModel;\n /** A contradiction between the two, stated so the worker raises it instead of building on one half. */\n readonly contradiction?: string;\n}\n\n/**\n * The application's capability facts, total over `EngineCapability` (a capability added to the vocabulary is reported\n * the day it exists). Tenancy is the domain plan's decision; an organization-tenancy plan beside a disabled\n * `ORGANIZATIONS` capability is the contradiction 005 shipped. Neither half is corrected here, which one is wrong is not\n * this brief's to decide; the worker is told what it may build on (organization scoping needs the capability; a USERS\n * plan says scope to the user) and to report the mismatch.\n */\n/*\n * Read with the same predicate the `engine-capabilities` step writes with (#2497), so the two agree. It reads a literal\n * `[EngineCapability.X]: { enabled: … }` entry (every application measured declares them that way); an entry reached\n * through an imported spread or a bare string key reads as undeclared, and an imported whole object makes the read\n * throw, which drops this source with a WARN.\n */\nexport function readApplicationCapabilityFacts(input: {\n readonly configContent: string;\n readonly configPath: string;\n readonly tenancy?: DomainPlanTenancyModel;\n}): ApplicationCapabilityFacts {\n const enabled: EngineCapability[] = [];\n const disabled: EngineCapability[] = [];\n const undeclared: EngineCapability[] = [];\n for (const capability of Object.values(EngineCapability)) {\n const state = readEngineCapabilityEnabled({ filePath: input.configPath, content: input.configContent, capability });\n (state === true ? enabled : state === false ? disabled : undeclared).push(capability);\n }\n const organizationsOn = enabled.includes(EngineCapability.ORGANIZATIONS);\n const contradiction = input.tenancy === DomainPlanTenancyModel.ORGANIZATIONS && !organizationsOn\n ? 'The domain plan partitions data by ORGANIZATION, and the configuration does not enable ORGANIZATIONS. Do not resolve this by guessing: '\n + 'organization-scoped resources and organization roles assume the capability. Report it in your result so the plan or the configuration is corrected.'\n : input.tenancy === DomainPlanTenancyModel.USERS && organizationsOn\n ? 'The domain plan keeps every user\\'s data their own (USERS tenancy), and the configuration enables ORGANIZATIONS. Scope this task\\'s resources '\n + 'to the user as the plan decided, and report the mismatch in your result.'\n : undefined;\n const displayName = readApplicationDisplayName(input.configContent);\n return {\n ...(displayName === undefined ? {} : { displayName }),\n enabled,\n disabled,\n undeclared,\n ...(input.tenancy === undefined ? {} : { tenancy: input.tenancy }),\n ...(contradiction === undefined ? {} : { contradiction }),\n };\n}\n"]}
|
package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capability-composition-executor.companion.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"capability-composition-executor.companion.service.d.ts","sourceRoot":"","sources":["../../../../src/meta-workflows/services/capability-composition-executor.companion.service.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,aAAa,EAAE,MAAM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7C,wCAAwC;QACxC,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;KAC3B,GAAG,OAAO,CAAC,oCAAoC,CAAC;CAyDlD"}
|
package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capability-composition-executor.companion.service.js","sourceRoot":"","sources":["../../../../../src/meta-workflows/services/capability-composition-executor.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,EAAE,2BAA2B,EAAE,MAAM,oDAAoD,CAAC;AACjG,OAAO,EACL,8BAA8B,EAC9B,+CAA+C,EAC/C,sBAAsB,GAGvB,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,2BAA2B,EAC3B,oCAAoC,EACpC,0BAA0B,EAC1B,yBAAyB,EACzB,kCAAkC,GAEnC,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAGjF;;;;;;;;;;;GAWG;AAEH,MAAM,CAAC,MAAM,mCAAmC,GAAG,kCAAkC,CAAC;AAiBtF,wIAAwI;AACxI,MAAM,OAAO,mCAAoC,SAAQ,KAAK;CAAG;AAEjE,gHAAgH;AAChH,MAAM,sBAAsB,GAAG,aAAa,CAAC;AAGtC,IAAM,6CAA6C,GAAnD,MAAM,6CAA6C;IAIF;IACe;IACL;IAL/C,QAAQ,CAA+D;IAExF,YACsD,MAAqB,EACN,gBAAkC,EACvC,gBAAyC;QAFnD,WAAM,GAAN,MAAM,CAAe;QACN,qBAAgB,GAAhB,gBAAgB,CAAkB;QACvC,qBAAgB,GAAhB,gBAAgB,CAAyB;QAEvG,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,+CAA+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CAAC;IACJ,CAAC;CACF,CAAA;AAzEY,6CAA6C;IADzD,UAAU,EAAE;IAKR,WAAA,MAAM,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAA;IACjC,WAAA,MAAM,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAA;IAChD,WAAA,MAAM,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAA;;GANnC,6CAA6C,CAyEzD","sourcesContent":["import { inject, injectable } from 'inversify';\nimport { SAAS_SERVICE_TYPES } from '@wildo-ai/saas-backend-lib';\nimport type { AppConfigurationService, LoggerService } from '@wildo-ai/saas-backend-lib';\nimport { getCompanionServedLanguages } from '../../core/config/primary-language.companion.utils';\nimport {\n ApplicationSpecificationFamily,\n ApplicationSpecificationFamilySemanticSchemaRef,\n CompositionDisposition,\n type CapabilityComposition,\n type CompositionScenarioRef,\n} from '@wildo-ai/saas-specifications/application-creation';\nimport {\n deriveCapabilityComposition,\n landApplicationSpecificationArtifact,\n applyCompanionExportWiring,\n planCompanionExportWiring,\n resolvePlaybookOutputLandingTarget,\n type CapabilityCompositionInputs,\n} from '@wildo-ai/application-creation-runtime';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\n\n/**\n * The `bottom_up.capability-composition` playbook's EXECUTOR — a runner-owned step like the\n * foundation's (#1491): the run short-circuits here before any brief is composed, because the\n * composition is a pure function of the definition families and a model asked to produce it would\n * be asked to decide what `deriveCapabilityComposition` already decides.\n *\n * What it does is the same three steps as every deterministic landing (`landCreatorInputAnswer`,\n * the governance facts): plan the companion-exports wiring against the current bytes, land the\n * family through the generic renderer, apply the wiring LAST so a slot never points at a file that\n * failed to land. Nothing here commits — a landed composition is a working edit until a human\n * commits it (`one-source-of-truth.md`, rules 2 and 3).\n */\n\nexport const CAPABILITY_COMPOSITION_PLAYBOOK_REF = 'bottom_up.capability-composition';\n\nexport interface CapabilityCompositionExecutionResult {\n readonly playbookRef: typeof CAPABILITY_COMPOSITION_PLAYBOOK_REF;\n readonly dryRun?: true;\n /** The derived composition — one decision per scenario the framework ships. */\n readonly composition: CapabilityComposition;\n /** The scenarios the foundation will apply, and the two it will not, each with its basis in the composition. */\n readonly needed: readonly CompositionScenarioRef[];\n readonly declined: readonly CompositionScenarioRef[];\n readonly ownedByAnotherStep: readonly CompositionScenarioRef[];\n /** Package-relative paths this run wrote (the family file and any companion-exports wiring). Empty on a dry run. */\n readonly landed: readonly string[];\n /** Wiring steps already in place — the idempotent re-land evidence. */\n readonly wiringAlreadyInPlace: readonly string[];\n}\n\n/** The specifications package could not be reached, so nothing could be landed — a host-configuration refusal, not a derivation one. */\nexport class CapabilityCompositionExecutionError extends Error {}\n\n/** The constant prefix every landed family constant carries (issue #65: landed constants are app-name-free). */\nconst LANDED_CONSTANT_PREFIX = 'application';\n\n@injectable()\nexport class CapabilityCompositionExecutorCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n\n public constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext) private readonly companionContext: CompanionContext,\n @inject(SAAS_SERVICE_TYPES.AppConfigService) private readonly appConfigService: AppConfigurationService,\n ) {\n this.logDebug = this.logger.debugByType('CapabilityCompositionExecutorCompanionService');\n }\n\n public async execute(input: {\n /** The landed definition-family VALUES the derivation reads; an absent family is simply absent. */\n readonly inputs: CapabilityCompositionInputs;\n /** Derive and render, write nothing. */\n readonly dryRun?: boolean;\n }): Promise<CapabilityCompositionExecutionResult> {\n // The languages the application serves decide `add-locale`; they are configuration, not a family,\n // so the host reads them here unless the caller already supplied them.\n const composition = deriveCapabilityComposition({\n ...input.inputs,\n servedLanguages: input.inputs.servedLanguages ?? getCompanionServedLanguages(this.appConfigService.config),\n });\n const byDisposition = (disposition: CompositionDisposition): CompositionScenarioRef[] =>\n composition.scenarioDecisions.filter((decision) => decision.disposition === disposition).map((decision) => decision.scenarioRef);\n const needed = byDisposition(CompositionDisposition.NEEDED);\n const declined = byDisposition(CompositionDisposition.DECLINED);\n const ownedByAnotherStep = byDisposition(CompositionDisposition.OWNED_BY_ANOTHER_STEP);\n this.logDebug('Capability composition derived', { needed, declined: declined.length, ownedByAnotherStep: ownedByAnotherStep.length });\n\n const specificationsPackageRoot = this.companionContext.resolvedSpecifications?.packageRoot;\n if (!specificationsPackageRoot) {\n throw new CapabilityCompositionExecutionError(\n 'The capability composition cannot land: this application declares no specifications package in `wildo.saas.config.ts` (`specifications`).',\n );\n }\n const target = resolvePlaybookOutputLandingTarget({\n family: ApplicationSpecificationFamily.CAPABILITY_COMPOSITION,\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.CAPABILITY_COMPOSITION,\n constantPrefix: LANDED_CONSTANT_PREFIX,\n });\n // Planned against the CURRENT bytes, before the write — an unwirable landing refuses at zero cost.\n const wiringRequest = {\n specificationsPackageRoot,\n outputs: [{ family: ApplicationSpecificationFamily.CAPABILITY_COMPOSITION, packageRelativePath: target.packageRelativePath, exportedConstantName: target.exportedConstantName }],\n };\n const wiring = planCompanionExportWiring(wiringRequest);\n const landedFile = await landApplicationSpecificationArtifact({\n specificationsPackageRoot,\n target,\n value: composition,\n ...(input.dryRun === true ? { dryRun: true } : {}),\n });\n const landed: string[] = [];\n let applied = wiring;\n if (input.dryRun !== true) {\n landed.push(landedFile.packageRelativePath);\n // LAST: a slot must never point at a file that failed to land. Applied from the files as they are NOW, never\n // from the plan above: another landing may have wired while this one awaited its write (#2249).\n applied = applyCompanionExportWiring(wiringRequest);\n landed.push(...applied.edits.map((edit) => edit.packageRelativePath));\n }\n return {\n playbookRef: CAPABILITY_COMPOSITION_PLAYBOOK_REF,\n ...(input.dryRun === true ? { dryRun: true as const } : {}),\n composition,\n needed,\n declined,\n ownedByAnotherStep,\n landed,\n wiringAlreadyInPlace: applied.alreadyWired,\n };\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"capability-composition-executor.companion.service.js","source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CAAA;;GANnC,6CAA6C,CAyEzD","sourcesContent":["import { inject, injectable } from 'inversify';\nimport { SAAS_SERVICE_TYPES } from '@wildo-ai/saas-backend-lib';\nimport type { AppConfigurationService, LoggerService } from '@wildo-ai/saas-backend-lib';\nimport { getCompanionServedLanguages } from '../../core/config/primary-language.companion.utils';\nimport {\n ApplicationSpecificationFamily,\n ApplicationSpecificationFamilySemanticSchemaRef,\n CompositionDisposition,\n type CapabilityComposition,\n type CompositionScenarioRef,\n} from '@wildo-ai/saas-specifications/application-creation';\nimport {\n deriveCapabilityComposition,\n landApplicationSpecificationArtifact,\n applyCompanionExportWiring,\n planCompanionExportWiring,\n resolvePlaybookOutputLandingTarget,\n type CapabilityCompositionInputs,\n} from '@wildo-ai/application-creation-runtime';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\n\n/**\n * The `bottom_up.capability-composition` playbook's EXECUTOR — a runner-owned step like the\n * foundation's (#1491): the run short-circuits here before any brief is composed, because the\n * composition is a pure function of the definition families and a model asked to produce it would\n * be asked to decide what `deriveCapabilityComposition` already decides.\n *\n * What it does is the same three steps as every deterministic landing (`landCreatorInputAnswer`,\n * the governance facts): plan the companion-exports wiring against the current bytes, land the\n * family through the generic renderer, apply the wiring LAST so a slot never points at a file that\n * failed to land. Nothing here commits — a landed composition is a working edit until a human\n * commits it (`one-source-of-truth.md`, rules 2 and 3).\n */\n\nexport const CAPABILITY_COMPOSITION_PLAYBOOK_REF = 'bottom_up.capability-composition';\n\nexport interface CapabilityCompositionExecutionResult {\n readonly playbookRef: typeof CAPABILITY_COMPOSITION_PLAYBOOK_REF;\n readonly dryRun?: true;\n /** The derived composition — one decision per scenario the framework ships. */\n readonly composition: CapabilityComposition;\n /** The scenarios the foundation will apply, and the two it will not, each with its basis in the composition. */\n readonly needed: readonly CompositionScenarioRef[];\n readonly declined: readonly CompositionScenarioRef[];\n readonly ownedByAnotherStep: readonly CompositionScenarioRef[];\n /** Package-relative paths this run wrote (the family file and any companion-exports wiring). Empty on a dry run. */\n readonly landed: readonly string[];\n /** Wiring steps already in place — the idempotent re-land evidence. */\n readonly wiringAlreadyInPlace: readonly string[];\n}\n\n/** The specifications package could not be reached, so nothing could be landed — a host-configuration refusal, not a derivation one. */\nexport class CapabilityCompositionExecutionError extends Error {}\n\n/** The constant prefix every landed family constant carries (issue #65: landed constants are app-name-free). */\nconst LANDED_CONSTANT_PREFIX = 'application';\n\n@injectable()\nexport class CapabilityCompositionExecutorCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n\n public constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext) private readonly companionContext: CompanionContext,\n @inject(SAAS_SERVICE_TYPES.AppConfigService) private readonly appConfigService: AppConfigurationService,\n ) {\n this.logDebug = this.logger.debugByType('CapabilityCompositionExecutorCompanionService');\n }\n\n public async execute(input: {\n /** The landed definition-family VALUES the derivation reads; an absent family is simply absent. */\n readonly inputs: CapabilityCompositionInputs;\n /** Derive and render, write nothing. */\n readonly dryRun?: boolean;\n }): Promise<CapabilityCompositionExecutionResult> {\n // The languages the application serves decide `add-locale`; they are configuration, not a family,\n // so the host reads them here unless the caller already supplied them.\n const composition = deriveCapabilityComposition({\n ...input.inputs,\n servedLanguages: input.inputs.servedLanguages ?? getCompanionServedLanguages(this.appConfigService.config),\n });\n const byDisposition = (disposition: CompositionDisposition): CompositionScenarioRef[] =>\n composition.scenarioDecisions.filter((decision) => decision.disposition === disposition).map((decision) => decision.scenarioRef);\n const needed = byDisposition(CompositionDisposition.NEEDED);\n const declined = byDisposition(CompositionDisposition.DECLINED);\n const ownedByAnotherStep = byDisposition(CompositionDisposition.OWNED_BY_ANOTHER_STEP);\n this.logDebug('Capability composition derived', { needed, declined: declined.length, ownedByAnotherStep: ownedByAnotherStep.length });\n\n const specificationsPackageRoot = this.companionContext.resolvedSpecifications?.packageRoot;\n if (!specificationsPackageRoot) {\n throw new CapabilityCompositionExecutionError(\n 'The capability composition cannot land: this application declares no specifications package in `wildo.saas.config.ts` (`specifications`).',\n );\n }\n const target = resolvePlaybookOutputLandingTarget({\n family: ApplicationSpecificationFamily.CAPABILITY_COMPOSITION,\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.CAPABILITY_COMPOSITION,\n constantPrefix: LANDED_CONSTANT_PREFIX,\n });\n // Planned against the CURRENT bytes, before the write — an unwirable landing refuses at zero cost.\n const wiringRequest = {\n specificationsPackageRoot,\n outputs: [{ family: ApplicationSpecificationFamily.CAPABILITY_COMPOSITION, packageRelativePath: target.packageRelativePath, exportedConstantName: target.exportedConstantName }],\n };\n const wiring = planCompanionExportWiring(wiringRequest);\n const landedFile = await landApplicationSpecificationArtifact({\n specificationsPackageRoot,\n target,\n value: composition,\n ...(input.dryRun === true ? { dryRun: true } : {}),\n });\n const landed: string[] = [];\n let applied = wiring;\n if (input.dryRun !== true) {\n landed.push(landedFile.packageRelativePath);\n // LAST: a slot must never point at a file that failed to land. Applied from the files as they are NOW, never\n // from the plan above: another landing may have wired while this one awaited its write (#2249).\n applied = applyCompanionExportWiring(wiringRequest);\n landed.push(...applied.edits.map((edit) => edit.packageRelativePath));\n }\n return {\n playbookRef: CAPABILITY_COMPOSITION_PLAYBOOK_REF,\n ...(input.dryRun === true ? { dryRun: true as const } : {}),\n composition,\n needed,\n declined,\n ownedByAnotherStep,\n landed,\n wiringAlreadyInPlace: applied.alreadyWired,\n };\n }\n}\n"]}
|
package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"creation-intervention-ledger.companion.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"creation-intervention-ledger.companion.service.d.ts","sourceRoot":"","sources":["../../../../src/meta-workflows/services/creation-intervention-ledger.companion.service.ts"],"names":[],"mappings":"AAQA,OAAO,KA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AE,MAAM,EAAE,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC;QAAE,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;IASxK;;;OAGG;IACU,mBAAmB,CAAC,KAAK,EAAE;QACtC,QAAQ,CAAC,aAAa,EAAE,SAAS,+BAA+B,EAAE,CAAC;QACnE,oHAAoH;QACpH,QAAQ,CAAC,kBAAkB,EAAE,WAAW,CAAC,MAAM,EAAE,oCAAoC,CAAC,CAAC;QACvF,uHAAuH;QACvH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;KAC/B,GAAG,OAAO,CAAC;QAAE,QAAQ,CAAC,aAAa,EAAE,SAAS,oBAAoB,EAAE,CAAC;QAAC,QAAQ,CAAC,UAAU,EAAE,SAAS,MAAM,EAAE,CAAA;KAAE,CAAC;IAwChH,2GAA2G;YAC7F,cAAc;IAwB5B;;;;OAIG;YACW,yBAAyB;IA4BvC,0EAA0E;YAC5D,sBAAsB;YAmBtB,OAAO;YAKP,GAAG;IAOjB,OAAO,CAAC,sBAAsB;IAI9B,OAAO,CAAC,iBAAiB;IAIzB,OAAO,CAAC,WAAW;CAGpB"}
|
package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"creation-intervention-ledger.companion.service.js","sourceRoot":"","sources":["../../../../../src/meta-workflows/services/creation-intervention-ledger.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEtC,OAAO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B,CAAC,QAAQ,EAAE,gDAAgD,CAAC,CAAC;IACxG,CAAC;IAEO,iBAAiB;QACvB,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,UAAU,CAAC,CAAC;IAC9D,CAAC;IAEO,WAAW;QACjB,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,cAAc,CAAC,CAAC;IAClE,CAAC;CACF,CAAA;AA5NY,0CAA0C;IADtD,UAAU,EAAE;IAKR,WAAA,MAAM,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAA;IACjC,WAAA,MAAM,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAA;IAChD,WAAA,MAAM,CAAC,uBAAuB,CAAC,6BAA6B,CAAC,CAAA;IAC7D,WAAA,MAAM,CAAC,uBAAuB,CAAC,+BAA+B,CAAC,CAAA;;GAPvD,0CAA0C,CA4NtD","sourcesContent":["import { execFile } from 'node:child_process';\nimport { mkdir, readFile, readdir, writeFile } from 'node:fs/promises';\nimport * as path from 'node:path';\nimport { promisify } from 'node:util';\n\nimport { inject, injectable } from 'inversify';\nimport { z } from 'zod';\n\nimport type { LoggerService } from '@wildo-ai/saas-backend-lib';\nimport { SAAS_SERVICE_TYPES, describeCaughtError } from '@wildo-ai/saas-backend-lib';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\nimport { sha256Hex, type CodingRunWriteRegisterCompanionService } from '../../claude-cli/services/coding-run-write-register.companion.service';\nimport type { PlaybookRunWriteRegisterCompanionService } from './playbook-run-write-register.companion.service';\nimport { OPERATOR_BUILD_TASK_REARM_REASONS } from '../models/build-task-rearm.models';\nimport {\n CREATION_BUILD_LANE,\n applyStatedReasons,\n classifyCommitAsIntervention,\n classifyWorkingTreeEdits,\n deriveBuildAttemptInterventions,\n deriveRestartIntervention,\n deriveRevertInterventions,\n type CreationBuildAttemptObservation,\n type CreationCommitObservation,\n type CreationIntervention,\n type CreationInterruptedPlaybookExecution,\n type CreationRestartRecord,\n type CreationRunFootprint,\n} from '../models/creation-intervention.models';\n\nconst execFileAsync = promisify(execFile);\n\n/** Git may only be READ here: the ledger observes the history, it never writes it. */\nconst READ_ONLY_GIT_SUBCOMMANDS = new Set(['log', 'show', 'status', 'rev-parse']);\nconst GIT_MAX_BUFFER_BYTES = 64 * 1024 * 1024;\nconst GIT_TIMEOUT_MS = 60_000;\n/** The separators the commit query's `--format` emits: a commit's start, and the end of its header. */\nconst COMMIT_MARK = '\\x1e';\nconst HEADER_END = '\\x1d';\nconst FIELD = '\\x1f';\n\nconst CreationRestartRecordSchema = z.strictObject({\n bootAt: z.string().min(1),\n codingTaskIds: z.array(z.string().min(1)),\n playbookExecutionIds: z.array(z.string().min(1)),\n generationExecutionIds: z.array(z.string().min(1)),\n});\n\nconst StatedReasonsSchema = z.record(z.string().min(1), z.strictObject({ reason: z.string().min(1), statedAt: z.string().min(1) }));\n\n/** Refused: a reason was stated for an id no current derivation produces, so it would attach to nothing. */\nexport class CreationInterventionNotFoundError extends Error {\n public constructor(public readonly interventionId: string) {\n super(`No intervention \"${interventionId}\" in this creation run. List them with \\`wildo creation report\\`.`);\n }\n}\n\n/**\n * The companion half of the INTERVENTION LEDGER (#2231). The derivations are in\n * `creation-intervention.models.ts`; this gathers what they read and keeps the two facts no later read can\n * recover — each restart (`recordRestart`, called by the boot) and each reason a person states.\n *\n * Deliberately light: the boot path injects it, so it depends on the two write registers and the context\n * only. The run rows it also needs (build attempts, playbook executions) are handed in by the report.\n *\n * Everything it stores is under `.wildo-saas/state/meta-workflows/interventions/`, throwaway like the rest of\n * that tree: deleting it loses the restarts and the stated reasons, which is time, and nothing the lane\n * reads, because nothing in the lane reads it.\n */\n@injectable()\nexport class CreationInterventionLedgerCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n\n public constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext) private readonly companionContext: CompanionContext,\n @inject(COMPANION_SERVICE_TYPES.CodingRunWriteRegisterService) private readonly codingRunWrites: CodingRunWriteRegisterCompanionService,\n @inject(COMPANION_SERVICE_TYPES.PlaybookRunWriteRegisterService) private readonly playbookRunWrites: PlaybookRunWriteRegisterCompanionService,\n ) {\n this.logDebug = this.logger.debugByType('CreationInterventionLedger');\n }\n\n /**\n * Record a boot that found runs in flight — a restart, as `deriveRestartIntervention` counts it. Called by\n * the boot right after its reconciliation, with what that reconciliation settled. A boot that found\n * nothing writes nothing: an ordinary start is no intervention. Never throws: a boot must not fail on a\n * report (`continuity-drift-and-cas-basis.md`, Rule 3).\n */\n public async recordRestart(record: CreationRestartRecord): Promise<void> {\n if (record.codingTaskIds.length + record.playbookExecutionIds.length + record.generationExecutionIds.length === 0) return;\n try {\n const parsed = CreationRestartRecordSchema.parse(record);\n await mkdir(this.restartsDirectory(), { recursive: true });\n await writeFile(path.join(this.restartsDirectory(), `${parsed.bootAt.replace(/[^0-9A-Za-z-]/g, '-')}.json`), `${JSON.stringify(parsed, null, 2)}\\n`, 'utf8');\n } catch (error) {\n this.logger.warn('Could not record the restart in the intervention ledger; the run report will not count it.', { error: describeCaughtError(error) });\n }\n }\n\n /** Every recorded restart, oldest first. An unreadable record is skipped, as the registers skip theirs. */\n public async listRestarts(): Promise<readonly CreationRestartRecord[]> {\n const entries = await readdir(this.restartsDirectory()).catch((error: NodeJS.ErrnoException) => {\n if (error?.code === 'ENOENT') return [] as string[];\n throw error;\n });\n const restarts: CreationRestartRecord[] = [];\n for (const entry of entries.filter((name) => name.endsWith('.json'))) {\n try {\n restarts.push(CreationRestartRecordSchema.parse(JSON.parse(await readFile(path.join(this.restartsDirectory(), entry), 'utf8'))));\n } catch {\n this.logDebug('Skipping unreadable restart record', { entry });\n }\n }\n return restarts.sort((left, right) => left.bootAt.localeCompare(right.bootAt));\n }\n\n /** The reasons people stated, by intervention id. */\n public async readStatedReasons(): Promise<Readonly<Record<string, { readonly reason: string; readonly statedAt: string }>>> {\n try {\n return StatedReasonsSchema.parse(JSON.parse(await readFile(this.reasonsPath(), 'utf8')));\n } catch (error) {\n if ((error as NodeJS.ErrnoException)?.code !== 'ENOENT') this.logDebug('Stated reasons unreadable; reading none', { error: String(error) });\n return {};\n }\n }\n\n /**\n * Record why a person intervened — the one thing the ledger asks of anyone. `knownIds` is the current\n * derivation's ids: a reason for an id nothing produces would attach to nothing, so it is refused.\n */\n public async stateReason(interventionId: string, reason: string, knownIds: ReadonlySet<string>): Promise<{ readonly interventionId: string; readonly statedAt: string }> {\n if (!knownIds.has(interventionId)) throw new CreationInterventionNotFoundError(interventionId);\n const statedAt = new Date().toISOString();\n const reasons = { ...(await this.readStatedReasons()), [interventionId]: { reason: reason.trim(), statedAt } };\n await mkdir(path.dirname(this.reasonsPath()), { recursive: true });\n await writeFile(this.reasonsPath(), `${JSON.stringify(StatedReasonsSchema.parse(reasons), null, 2)}\\n`, 'utf8');\n return { interventionId, statedAt };\n }\n\n /**\n * Every intervention of the run, oldest first, with the reasons stated so far — and what could not be\n * checked, said rather than silently left out.\n */\n public async deriveInterventions(input: {\n readonly buildAttempts: readonly CreationBuildAttemptObservation[];\n /** Every meta-workflows execution the report read, by id: its lane, and its root when it is a composite's child. */\n readonly playbookExecutions: ReadonlyMap<string, CreationInterruptedPlaybookExecution>;\n /** A run is in flight: the working tree then holds writes no record names yet, so uncommitted edits are not judged. */\n readonly runsInFlight: number;\n }): Promise<{ readonly interventions: readonly CreationIntervention[]; readonly notChecked: readonly string[] }> {\n const notChecked: string[] = [];\n const footprints = await this.readFootprints();\n const codingTaskRefById = new Map(input.buildAttempts.map((attempt) => [attempt.runTaskId, attempt.taskRef] as const));\n for (const record of await this.codingRunWrites.list()) codingTaskRefById.set(record.taskId, record.taskRef);\n\n const reverts = await this.playbookRunWrites.listReverts();\n const recordedRunIds = new Set((await this.playbookRunWrites.list()).map((record) => record.runId));\n // A fully reverted run's record is gone; its marker keeps its footprint. Only a marker from before that cannot.\n const unrecorded = new Set(reverts.filter((revert) => !recordedRunIds.has(revert.runId) && revert.runFootprint === undefined).map((revert) => revert.runId));\n if (unrecorded.size > 0) {\n notChecked.push(`${unrecorded.size} reverted playbook run(s) no longer have a write record, so commits of their files made before the revert are not attributed`);\n }\n const derived: CreationIntervention[] = [\n ...deriveBuildAttemptInterventions(input.buildAttempts, OPERATOR_BUILD_TASK_REARM_REASONS),\n ...deriveRevertInterventions(reverts),\n ...(await this.listRestarts()).map((restart) => deriveRestartIntervention(restart, {\n codingTaskRef: (taskId) => codingTaskRefById.get(taskId),\n playbookExecution: (executionId) => input.playbookExecutions.get(executionId),\n })),\n ];\n try {\n derived.push(...await this.deriveCommitInterventions(footprints));\n } catch (error) {\n notChecked.push(`commits: git could not be read (${describeCaughtError(error)}), so no manual commit or committed hand edit is counted`);\n }\n if (input.runsInFlight > 0) {\n notChecked.push(`uncommitted hand edits: ${input.runsInFlight} run(s) in flight are writing files no record names yet; read the report again once they settle`);\n } else {\n try {\n derived.push(...await this.deriveWorkingTreeEdits(footprints));\n } catch (error) {\n notChecked.push(`uncommitted hand edits: the working tree could not be read (${describeCaughtError(error)})`);\n }\n }\n const interventions = applyStatedReasons(derived, await this.readStatedReasons())\n .sort((left, right) => left.at.localeCompare(right.at) || left.id.localeCompare(right.id));\n return { interventions, notChecked };\n }\n\n /** What each recorded run wrote: coding runs from their change-set register, playbook runs from theirs. */\n private async readFootprints(): Promise<CreationRunFootprint[]> {\n const coding = (await this.codingRunWrites.list()).map((record) => ({\n target: { lane: CREATION_BUILD_LANE, task: record.taskRef },\n at: record.at,\n files: new Map(record.files.map((file) => [file.path, file.contentSha256 ?? null] as const)),\n }));\n const playbook = (await this.playbookRunWrites.list()).map((record) => ({\n target: { lane: record.playbookRef, task: record.runId },\n at: record.at,\n files: new Map(record.files.map((file) => [file.path, sha256Hex(file.writtenContent)] as const)),\n }));\n /*\n * A REVERTED run still wrote what it wrote: a commit of those files before the revert is still a person's\n * commit of that run's work. Its marker keeps the footprint the revert deleted from the register.\n */\n const reverted = (await this.playbookRunWrites.listReverts()).flatMap((revert) => (revert.runFootprint ? [{\n target: { lane: revert.playbookRef, task: revert.runId },\n at: revert.runFootprint.runAt,\n files: new Map(revert.runFootprint.writtenFiles.map((file) => [file.path, file.sha256] as const)),\n until: revert.at,\n }] : []));\n return [...coding, ...playbook, ...reverted];\n }\n\n /**\n * Every non-merge commit since the first recorded run, each with the bytes of the run-owned paths it\n * touched. Only those paths are hashed: a commit of nothing a run wrote is a person's own work beside the\n * lane, and `classifyCommitAsIntervention` would discard it anyway.\n */\n private async deriveCommitInterventions(footprints: readonly CreationRunFootprint[]): Promise<CreationIntervention[]> {\n if (footprints.length === 0) return [];\n const since = footprints.reduce((earliest, footprint) => (footprint.at < earliest ? footprint.at : earliest), footprints[0]!.at);\n // `--relative`: the registers hold APP-relative paths, and an application nested in its repository (every\n // `examples/*` dogfood app) would otherwise match none of them and read as needing nobody (#2231 review F3).\n const { stdout } = await this.git(['log', '--relative', '--no-merges', '--no-renames', '--name-status', `--since=${since}`,\n `--format=${COMMIT_MARK}%H${FIELD}%cI${FIELD}%an${FIELD}%s${FIELD}%b${HEADER_END}`]);\n const interventions: CreationIntervention[] = [];\n for (const chunk of stdout.split(COMMIT_MARK).filter((entry) => entry.trim().length > 0)) {\n const [header, changes = ''] = chunk.split(HEADER_END);\n const [sha, committedAt, authorName, subject, body = ''] = (header ?? '').split(FIELD);\n if (!sha || !committedAt || authorName === undefined || subject === undefined) continue;\n // `%cI` carries the committer's offset and the registers write UTC: compared as text, they must agree.\n const at = new Date(committedAt).toISOString();\n const files: { path: string; sha256: string | null }[] = [];\n for (const line of changes.split('\\n').filter((entry) => entry.includes('\\t'))) {\n const [status, filePath] = line.split('\\t');\n // Any footprint that ever held the path makes it worth hashing; ownership at this instant is decided with the bytes.\n if (!status || !filePath || !footprints.some((footprint) => footprint.files.has(filePath) && footprint.at <= at)) continue;\n files.push({ path: filePath, sha256: status.startsWith('D') ? null : sha256Hex(await this.gitBlob(`${sha}:./${filePath}`)) });\n }\n const observation: CreationCommitObservation = { sha, at, authorName, subject, body, files };\n const intervention = classifyCommitAsIntervention(observation, footprints);\n if (intervention) interventions.push(intervention);\n }\n return interventions;\n }\n\n /** Dirty run-owned files whose bytes are neither the run's nor HEAD's. */\n private async deriveWorkingTreeEdits(footprints: readonly CreationRunFootprint[]): Promise<CreationIntervention[]> {\n if (footprints.length === 0) return [];\n const owned = new Set(footprints.flatMap((footprint) => [...footprint.files.keys()]));\n // Porcelain paths are relative to the REPOSITORY root whatever the working directory; the app's prefix is stripped.\n const prefix = (await this.git(['rev-parse', '--show-prefix'])).stdout.trim();\n const { stdout } = await this.git(['status', '--porcelain=v1', '-z', '--untracked-files=all', '--no-renames', '--', '.']);\n const dirty: { path: string; sha256: string | null; headSha256: string | null }[] = [];\n for (const entry of stdout.split('\\0').filter((line) => line.length > 3)) {\n const repositoryPath = entry.slice(3);\n if (!repositoryPath.startsWith(prefix)) continue;\n const filePath = repositoryPath.slice(prefix.length);\n if (!owned.has(filePath)) continue;\n const current = await readFile(path.resolve(this.companionContext.saasRoot, filePath)).catch(() => undefined);\n const head = await this.gitBlob(`HEAD:./${filePath}`).catch(() => undefined);\n dirty.push({ path: filePath, sha256: current === undefined ? null : sha256Hex(current), headSha256: head === undefined ? null : sha256Hex(head) });\n }\n return classifyWorkingTreeEdits(dirty, footprints, new Date().toISOString());\n }\n\n private async gitBlob(object: string): Promise<Buffer> {\n const { stdout } = await execFileAsync('git', ['-C', this.companionContext.saasRoot, 'show', object], { encoding: 'buffer', maxBuffer: GIT_MAX_BUFFER_BYTES, timeout: GIT_TIMEOUT_MS });\n return stdout;\n }\n\n private async git(args: string[]): Promise<{ stdout: string }> {\n if (!READ_ONLY_GIT_SUBCOMMANDS.has(args[0] ?? '')) throw new Error(`git ${args[0]} is outside the intervention ledger's read-only set`);\n // `core.quotePath=false`: a quoted non-ASCII path would never match the registers' (#2231 review F13).\n const { stdout } = await execFileAsync('git', ['-C', this.companionContext.saasRoot, '-c', 'core.quotePath=false', ...args], { maxBuffer: GIT_MAX_BUFFER_BYTES, timeout: GIT_TIMEOUT_MS });\n return { stdout };\n }\n\n private interventionsDirectory(): string {\n return path.resolve(this.companionContext.saasRoot, '.wildo-saas/state/meta-workflows/interventions');\n }\n\n private restartsDirectory(): string {\n return path.join(this.interventionsDirectory(), 'restarts');\n }\n\n private reasonsPath(): string {\n return path.join(this.interventionsDirectory(), 'reasons.json');\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"creation-intervention-ledger.companion.service.js","sourceRoot":"","sources":["../../../../src/meta-workflows/services/creation-intervention-ledger.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEtC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAErF,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAEjF,OAAO,EAAE,SAAS,EAA+C,MAAM,uEAAuE,CAAC;AAE/I,OAAO,EAAE,iCAAiC,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,4BAA4B,EAC5B,wBAAwB,EACxB,+BAA+B,EAC/B,yBAAyB,EACzB,yBAAyB,GAO1B,MAAM,wCAAwC,CAAC;AAEhD,MAAM,aAAa,GAAG,SAAS,CAAC,QAA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,MAAM,CAAC,uBAAuB,CAAC,+BAA+B,CAAC,CAAA;;GAPvD,0CAA0C,CA4NtD","sourcesContent":["import { execFile } from 'node:child_process';\nimport { mkdir, readFile, readdir, writeFile } from 'node:fs/promises';\nimport * as path from 'node:path';\nimport { promisify } from 'node:util';\n\nimport { inject, injectable } from 'inversify';\nimport { z } from 'zod';\n\nimport type { LoggerService } from '@wildo-ai/saas-backend-lib';\nimport { SAAS_SERVICE_TYPES, describeCaughtError } from '@wildo-ai/saas-backend-lib';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\nimport { sha256Hex, type CodingRunWriteRegisterCompanionService } from '../../claude-cli/services/coding-run-write-register.companion.service';\nimport type { PlaybookRunWriteRegisterCompanionService } from './playbook-run-write-register.companion.service';\nimport { OPERATOR_BUILD_TASK_REARM_REASONS } from '../models/build-task-rearm.models';\nimport {\n CREATION_BUILD_LANE,\n applyStatedReasons,\n classifyCommitAsIntervention,\n classifyWorkingTreeEdits,\n deriveBuildAttemptInterventions,\n deriveRestartIntervention,\n deriveRevertInterventions,\n type CreationBuildAttemptObservation,\n type CreationCommitObservation,\n type CreationIntervention,\n type CreationInterruptedPlaybookExecution,\n type CreationRestartRecord,\n type CreationRunFootprint,\n} from '../models/creation-intervention.models';\n\nconst execFileAsync = promisify(execFile);\n\n/** Git may only be READ here: the ledger observes the history, it never writes it. */\nconst READ_ONLY_GIT_SUBCOMMANDS = new Set(['log', 'show', 'status', 'rev-parse']);\nconst GIT_MAX_BUFFER_BYTES = 64 * 1024 * 1024;\nconst GIT_TIMEOUT_MS = 60_000;\n/** The separators the commit query's `--format` emits: a commit's start, and the end of its header. */\nconst COMMIT_MARK = '\\x1e';\nconst HEADER_END = '\\x1d';\nconst FIELD = '\\x1f';\n\nconst CreationRestartRecordSchema = z.strictObject({\n bootAt: z.string().min(1),\n codingTaskIds: z.array(z.string().min(1)),\n playbookExecutionIds: z.array(z.string().min(1)),\n generationExecutionIds: z.array(z.string().min(1)),\n});\n\nconst StatedReasonsSchema = z.record(z.string().min(1), z.strictObject({ reason: z.string().min(1), statedAt: z.string().min(1) }));\n\n/** Refused: a reason was stated for an id no current derivation produces, so it would attach to nothing. */\nexport class CreationInterventionNotFoundError extends Error {\n public constructor(public readonly interventionId: string) {\n super(`No intervention \"${interventionId}\" in this creation run. List them with \\`wildo creation report\\`.`);\n }\n}\n\n/**\n * The companion half of the INTERVENTION LEDGER (#2231). The derivations are in\n * `creation-intervention.models.ts`; this gathers what they read and keeps the two facts no later read can\n * recover — each restart (`recordRestart`, called by the boot) and each reason a person states.\n *\n * Deliberately light: the boot path injects it, so it depends on the two write registers and the context\n * only. The run rows it also needs (build attempts, playbook executions) are handed in by the report.\n *\n * Everything it stores is under `.wildo-saas/state/meta-workflows/interventions/`, throwaway like the rest of\n * that tree: deleting it loses the restarts and the stated reasons, which is time, and nothing the lane\n * reads, because nothing in the lane reads it.\n */\n@injectable()\nexport class CreationInterventionLedgerCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n\n public constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext) private readonly companionContext: CompanionContext,\n @inject(COMPANION_SERVICE_TYPES.CodingRunWriteRegisterService) private readonly codingRunWrites: CodingRunWriteRegisterCompanionService,\n @inject(COMPANION_SERVICE_TYPES.PlaybookRunWriteRegisterService) private readonly playbookRunWrites: PlaybookRunWriteRegisterCompanionService,\n ) {\n this.logDebug = this.logger.debugByType('CreationInterventionLedger');\n }\n\n /**\n * Record a boot that found runs in flight — a restart, as `deriveRestartIntervention` counts it. Called by\n * the boot right after its reconciliation, with what that reconciliation settled. A boot that found\n * nothing writes nothing: an ordinary start is no intervention. Never throws: a boot must not fail on a\n * report (`continuity-drift-and-cas-basis.md`, Rule 3).\n */\n public async recordRestart(record: CreationRestartRecord): Promise<void> {\n if (record.codingTaskIds.length + record.playbookExecutionIds.length + record.generationExecutionIds.length === 0) return;\n try {\n const parsed = CreationRestartRecordSchema.parse(record);\n await mkdir(this.restartsDirectory(), { recursive: true });\n await writeFile(path.join(this.restartsDirectory(), `${parsed.bootAt.replace(/[^0-9A-Za-z-]/g, '-')}.json`), `${JSON.stringify(parsed, null, 2)}\\n`, 'utf8');\n } catch (error) {\n this.logger.warn('Could not record the restart in the intervention ledger; the run report will not count it.', { error: describeCaughtError(error) });\n }\n }\n\n /** Every recorded restart, oldest first. An unreadable record is skipped, as the registers skip theirs. */\n public async listRestarts(): Promise<readonly CreationRestartRecord[]> {\n const entries = await readdir(this.restartsDirectory()).catch((error: NodeJS.ErrnoException) => {\n if (error?.code === 'ENOENT') return [] as string[];\n throw error;\n });\n const restarts: CreationRestartRecord[] = [];\n for (const entry of entries.filter((name) => name.endsWith('.json'))) {\n try {\n restarts.push(CreationRestartRecordSchema.parse(JSON.parse(await readFile(path.join(this.restartsDirectory(), entry), 'utf8'))));\n } catch {\n this.logDebug('Skipping unreadable restart record', { entry });\n }\n }\n return restarts.sort((left, right) => left.bootAt.localeCompare(right.bootAt));\n }\n\n /** The reasons people stated, by intervention id. */\n public async readStatedReasons(): Promise<Readonly<Record<string, { readonly reason: string; readonly statedAt: string }>>> {\n try {\n return StatedReasonsSchema.parse(JSON.parse(await readFile(this.reasonsPath(), 'utf8')));\n } catch (error) {\n if ((error as NodeJS.ErrnoException)?.code !== 'ENOENT') this.logDebug('Stated reasons unreadable; reading none', { error: String(error) });\n return {};\n }\n }\n\n /**\n * Record why a person intervened — the one thing the ledger asks of anyone. `knownIds` is the current\n * derivation's ids: a reason for an id nothing produces would attach to nothing, so it is refused.\n */\n public async stateReason(interventionId: string, reason: string, knownIds: ReadonlySet<string>): Promise<{ readonly interventionId: string; readonly statedAt: string }> {\n if (!knownIds.has(interventionId)) throw new CreationInterventionNotFoundError(interventionId);\n const statedAt = new Date().toISOString();\n const reasons = { ...(await this.readStatedReasons()), [interventionId]: { reason: reason.trim(), statedAt } };\n await mkdir(path.dirname(this.reasonsPath()), { recursive: true });\n await writeFile(this.reasonsPath(), `${JSON.stringify(StatedReasonsSchema.parse(reasons), null, 2)}\\n`, 'utf8');\n return { interventionId, statedAt };\n }\n\n /**\n * Every intervention of the run, oldest first, with the reasons stated so far — and what could not be\n * checked, said rather than silently left out.\n */\n public async deriveInterventions(input: {\n readonly buildAttempts: readonly CreationBuildAttemptObservation[];\n /** Every meta-workflows execution the report read, by id: its lane, and its root when it is a composite's child. */\n readonly playbookExecutions: ReadonlyMap<string, CreationInterruptedPlaybookExecution>;\n /** A run is in flight: the working tree then holds writes no record names yet, so uncommitted edits are not judged. */\n readonly runsInFlight: number;\n }): Promise<{ readonly interventions: readonly CreationIntervention[]; readonly notChecked: readonly string[] }> {\n const notChecked: string[] = [];\n const footprints = await this.readFootprints();\n const codingTaskRefById = new Map(input.buildAttempts.map((attempt) => [attempt.runTaskId, attempt.taskRef] as const));\n for (const record of await this.codingRunWrites.list()) codingTaskRefById.set(record.taskId, record.taskRef);\n\n const reverts = await this.playbookRunWrites.listReverts();\n const recordedRunIds = new Set((await this.playbookRunWrites.list()).map((record) => record.runId));\n // A fully reverted run's record is gone; its marker keeps its footprint. Only a marker from before that cannot.\n const unrecorded = new Set(reverts.filter((revert) => !recordedRunIds.has(revert.runId) && revert.runFootprint === undefined).map((revert) => revert.runId));\n if (unrecorded.size > 0) {\n notChecked.push(`${unrecorded.size} reverted playbook run(s) no longer have a write record, so commits of their files made before the revert are not attributed`);\n }\n const derived: CreationIntervention[] = [\n ...deriveBuildAttemptInterventions(input.buildAttempts, OPERATOR_BUILD_TASK_REARM_REASONS),\n ...deriveRevertInterventions(reverts),\n ...(await this.listRestarts()).map((restart) => deriveRestartIntervention(restart, {\n codingTaskRef: (taskId) => codingTaskRefById.get(taskId),\n playbookExecution: (executionId) => input.playbookExecutions.get(executionId),\n })),\n ];\n try {\n derived.push(...await this.deriveCommitInterventions(footprints));\n } catch (error) {\n notChecked.push(`commits: git could not be read (${describeCaughtError(error)}), so no manual commit or committed hand edit is counted`);\n }\n if (input.runsInFlight > 0) {\n notChecked.push(`uncommitted hand edits: ${input.runsInFlight} run(s) in flight are writing files no record names yet; read the report again once they settle`);\n } else {\n try {\n derived.push(...await this.deriveWorkingTreeEdits(footprints));\n } catch (error) {\n notChecked.push(`uncommitted hand edits: the working tree could not be read (${describeCaughtError(error)})`);\n }\n }\n const interventions = applyStatedReasons(derived, await this.readStatedReasons())\n .sort((left, right) => left.at.localeCompare(right.at) || left.id.localeCompare(right.id));\n return { interventions, notChecked };\n }\n\n /** What each recorded run wrote: coding runs from their change-set register, playbook runs from theirs. */\n private async readFootprints(): Promise<CreationRunFootprint[]> {\n const coding = (await this.codingRunWrites.list()).map((record) => ({\n target: { lane: CREATION_BUILD_LANE, task: record.taskRef },\n at: record.at,\n files: new Map(record.files.map((file) => [file.path, file.contentSha256 ?? null] as const)),\n }));\n const playbook = (await this.playbookRunWrites.list()).map((record) => ({\n target: { lane: record.playbookRef, task: record.runId },\n at: record.at,\n files: new Map(record.files.map((file) => [file.path, sha256Hex(file.writtenContent)] as const)),\n }));\n /*\n * A REVERTED run still wrote what it wrote: a commit of those files before the revert is still a person's\n * commit of that run's work. Its marker keeps the footprint the revert deleted from the register.\n */\n const reverted = (await this.playbookRunWrites.listReverts()).flatMap((revert) => (revert.runFootprint ? [{\n target: { lane: revert.playbookRef, task: revert.runId },\n at: revert.runFootprint.runAt,\n files: new Map(revert.runFootprint.writtenFiles.map((file) => [file.path, file.sha256] as const)),\n until: revert.at,\n }] : []));\n return [...coding, ...playbook, ...reverted];\n }\n\n /**\n * Every non-merge commit since the first recorded run, each with the bytes of the run-owned paths it\n * touched. Only those paths are hashed: a commit of nothing a run wrote is a person's own work beside the\n * lane, and `classifyCommitAsIntervention` would discard it anyway.\n */\n private async deriveCommitInterventions(footprints: readonly CreationRunFootprint[]): Promise<CreationIntervention[]> {\n if (footprints.length === 0) return [];\n const since = footprints.reduce((earliest, footprint) => (footprint.at < earliest ? footprint.at : earliest), footprints[0]!.at);\n // `--relative`: the registers hold APP-relative paths, and an application nested in its repository (every\n // `examples/*` dogfood app) would otherwise match none of them and read as needing nobody (#2231 review F3).\n const { stdout } = await this.git(['log', '--relative', '--no-merges', '--no-renames', '--name-status', `--since=${since}`,\n `--format=${COMMIT_MARK}%H${FIELD}%cI${FIELD}%an${FIELD}%s${FIELD}%b${HEADER_END}`]);\n const interventions: CreationIntervention[] = [];\n for (const chunk of stdout.split(COMMIT_MARK).filter((entry) => entry.trim().length > 0)) {\n const [header, changes = ''] = chunk.split(HEADER_END);\n const [sha, committedAt, authorName, subject, body = ''] = (header ?? '').split(FIELD);\n if (!sha || !committedAt || authorName === undefined || subject === undefined) continue;\n // `%cI` carries the committer's offset and the registers write UTC: compared as text, they must agree.\n const at = new Date(committedAt).toISOString();\n const files: { path: string; sha256: string | null }[] = [];\n for (const line of changes.split('\\n').filter((entry) => entry.includes('\\t'))) {\n const [status, filePath] = line.split('\\t');\n // Any footprint that ever held the path makes it worth hashing; ownership at this instant is decided with the bytes.\n if (!status || !filePath || !footprints.some((footprint) => footprint.files.has(filePath) && footprint.at <= at)) continue;\n files.push({ path: filePath, sha256: status.startsWith('D') ? null : sha256Hex(await this.gitBlob(`${sha}:./${filePath}`)) });\n }\n const observation: CreationCommitObservation = { sha, at, authorName, subject, body, files };\n const intervention = classifyCommitAsIntervention(observation, footprints);\n if (intervention) interventions.push(intervention);\n }\n return interventions;\n }\n\n /** Dirty run-owned files whose bytes are neither the run's nor HEAD's. */\n private async deriveWorkingTreeEdits(footprints: readonly CreationRunFootprint[]): Promise<CreationIntervention[]> {\n if (footprints.length === 0) return [];\n const owned = new Set(footprints.flatMap((footprint) => [...footprint.files.keys()]));\n // Porcelain paths are relative to the REPOSITORY root whatever the working directory; the app's prefix is stripped.\n const prefix = (await this.git(['rev-parse', '--show-prefix'])).stdout.trim();\n const { stdout } = await this.git(['status', '--porcelain=v1', '-z', '--untracked-files=all', '--no-renames', '--', '.']);\n const dirty: { path: string; sha256: string | null; headSha256: string | null }[] = [];\n for (const entry of stdout.split('\\0').filter((line) => line.length > 3)) {\n const repositoryPath = entry.slice(3);\n if (!repositoryPath.startsWith(prefix)) continue;\n const filePath = repositoryPath.slice(prefix.length);\n if (!owned.has(filePath)) continue;\n const current = await readFile(path.resolve(this.companionContext.saasRoot, filePath)).catch(() => undefined);\n const head = await this.gitBlob(`HEAD:./${filePath}`).catch(() => undefined);\n dirty.push({ path: filePath, sha256: current === undefined ? null : sha256Hex(current), headSha256: head === undefined ? null : sha256Hex(head) });\n }\n return classifyWorkingTreeEdits(dirty, footprints, new Date().toISOString());\n }\n\n private async gitBlob(object: string): Promise<Buffer> {\n const { stdout } = await execFileAsync('git', ['-C', this.companionContext.saasRoot, 'show', object], { encoding: 'buffer', maxBuffer: GIT_MAX_BUFFER_BYTES, timeout: GIT_TIMEOUT_MS });\n return stdout;\n }\n\n private async git(args: string[]): Promise<{ stdout: string }> {\n if (!READ_ONLY_GIT_SUBCOMMANDS.has(args[0] ?? '')) throw new Error(`git ${args[0]} is outside the intervention ledger's read-only set`);\n // `core.quotePath=false`: a quoted non-ASCII path would never match the registers' (#2231 review F13).\n const { stdout } = await execFileAsync('git', ['-C', this.companionContext.saasRoot, '-c', 'core.quotePath=false', ...args], { maxBuffer: GIT_MAX_BUFFER_BYTES, timeout: GIT_TIMEOUT_MS });\n return { stdout };\n }\n\n private interventionsDirectory(): string {\n return path.resolve(this.companionContext.saasRoot, '.wildo-saas/state/meta-workflows/interventions');\n }\n\n private restartsDirectory(): string {\n return path.join(this.interventionsDirectory(), 'restarts');\n }\n\n private reasonsPath(): string {\n return path.join(this.interventionsDirectory(), 'reasons.json');\n }\n}\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CreationLaneProviderConsumer } from '@wildo-ai/application-creation-runtime';
|
|
2
|
-
import
|
|
2
|
+
import { ExternalProvider_ExchangeProtocol_Kind } from '@wildo-ai/external-connectors-models';
|
|
3
3
|
/**
|
|
4
4
|
* The creation preflight, evaluated INSIDE the companion with the registry that will refuse (#2229).
|
|
5
5
|
*
|
|
@@ -42,6 +42,22 @@ export interface CreationLanePreflightFinding {
|
|
|
42
42
|
/** What stops, per consumer — the table's sentences. */
|
|
43
43
|
readonly stops: readonly string[];
|
|
44
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
* The registry's protocol kind for one of the table's protocols.
|
|
47
|
+
*
|
|
48
|
+
* The table speaks the AUTHORING vocabulary (`BuiltinProviderProtocol`, whose values are the enum's member NAMES:
|
|
49
|
+
* `'LLM_PROVIDER'`), and the registry holds the engine's WIRE values (`ExternalProvider_ExchangeProtocol_Kind`,
|
|
50
|
+
* `'llm_provider'`), read from each module binding's `runtimeContract.kind`. The two vocabularies share KEYS, which is
|
|
51
|
+
* all `provider-protocol-vocabulary.drift.test.ts` compares; their values differ.
|
|
52
|
+
*
|
|
53
|
+
* #2415: this was a type cast (`protocol as ExternalProvider_ExchangeProtocol_Kind`), so the registry was asked
|
|
54
|
+
* whether it serves `'LLM_PROVIDER'`. It never does, so every pair was refused and every run needed
|
|
55
|
+
* `--skip-preflight`, while the CLI preflight (which compares authoring names with authoring names) passed.
|
|
56
|
+
*
|
|
57
|
+
* A name with no engine member throws rather than answering "not served": that would be a defect in the table, and
|
|
58
|
+
* reporting it as missing configuration would send the operator to fix a configuration that is correct.
|
|
59
|
+
*/
|
|
60
|
+
export declare function resolveRegistryProtocolKind(protocol: string): ExternalProvider_ExchangeProtocol_Kind;
|
|
45
61
|
/** Every pair of the lane the running registry would refuse; empty when a run may start. */
|
|
46
62
|
export declare function evaluateCreationLanePreflight(registry: CreationLanePreflightRegistry): CreationLanePreflightFinding[];
|
|
47
63
|
/** The refusal a door raises; each door translates it into its own transport's answer. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"creation-lane-preflight.companion.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"creation-lane-preflight.companion.service.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oCAAoC,CAAC,QAAQ,EAAE,SAAS,4BAA4B,EAAE,GAAG,MAAM,CAU9G;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,QAAQ,EAAE,6BAA6B,EAAE,OAAO,GAAE;IAAE,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CAAO,GAAG,IAAI,CAIpI"}
|
|
@@ -1,4 +1,28 @@
|
|
|
1
1
|
import { CREATION_LANE_PROVIDER_REQUIREMENTS, CreationLaneProviderConsumer } from '@wildo-ai/application-creation-runtime';
|
|
2
|
+
import { ExternalProvider_ExchangeProtocol_Kind } from '@wildo-ai/external-connectors-models';
|
|
3
|
+
/**
|
|
4
|
+
* The registry's protocol kind for one of the table's protocols.
|
|
5
|
+
*
|
|
6
|
+
* The table speaks the AUTHORING vocabulary (`BuiltinProviderProtocol`, whose values are the enum's member NAMES:
|
|
7
|
+
* `'LLM_PROVIDER'`), and the registry holds the engine's WIRE values (`ExternalProvider_ExchangeProtocol_Kind`,
|
|
8
|
+
* `'llm_provider'`), read from each module binding's `runtimeContract.kind`. The two vocabularies share KEYS, which is
|
|
9
|
+
* all `provider-protocol-vocabulary.drift.test.ts` compares; their values differ.
|
|
10
|
+
*
|
|
11
|
+
* #2415: this was a type cast (`protocol as ExternalProvider_ExchangeProtocol_Kind`), so the registry was asked
|
|
12
|
+
* whether it serves `'LLM_PROVIDER'`. It never does, so every pair was refused and every run needed
|
|
13
|
+
* `--skip-preflight`, while the CLI preflight (which compares authoring names with authoring names) passed.
|
|
14
|
+
*
|
|
15
|
+
* A name with no engine member throws rather than answering "not served": that would be a defect in the table, and
|
|
16
|
+
* reporting it as missing configuration would send the operator to fix a configuration that is correct.
|
|
17
|
+
*/
|
|
18
|
+
export function resolveRegistryProtocolKind(protocol) {
|
|
19
|
+
// semantic-literal-boundary: the authoring name is looked up by KEY in the engine enum, never compared as a value.
|
|
20
|
+
const kind = ExternalProvider_ExchangeProtocol_Kind[protocol];
|
|
21
|
+
if (kind === undefined) {
|
|
22
|
+
throw new Error(`The creation preflight table names protocol "${protocol}", which is not an ExternalProvider_ExchangeProtocol_Kind member name.`);
|
|
23
|
+
}
|
|
24
|
+
return kind;
|
|
25
|
+
}
|
|
2
26
|
/** Every pair of the lane the running registry would refuse; empty when a run may start. */
|
|
3
27
|
export function evaluateCreationLanePreflight(registry) {
|
|
4
28
|
const groups = new Map();
|
|
@@ -11,9 +35,7 @@ export function evaluateCreationLanePreflight(registry) {
|
|
|
11
35
|
}
|
|
12
36
|
const findings = [];
|
|
13
37
|
for (const { providerRef, protocol, consumers } of groups.values()) {
|
|
14
|
-
|
|
15
|
-
// the engine's `ExternalProvider_ExchangeProtocol_Kind` values (`provider-protocol-vocabulary.drift.test.ts`).
|
|
16
|
-
const protocolKind = protocol;
|
|
38
|
+
const protocolKind = resolveRegistryProtocolKind(protocol);
|
|
17
39
|
const stops = consumers.map((consumer) => CREATION_LANE_PROVIDER_REQUIREMENTS[consumer].stops);
|
|
18
40
|
if (!registry.isProviderEnabled(providerRef, protocolKind)) {
|
|
19
41
|
findings.push({
|