@wildo-ai/dev-companion 1.1.6 → 1.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/__tests__/asset-noop.d.ts.map +1 -1
- package/dist/esm/__tests__/asset-noop.js.map +1 -1
- package/dist/esm/__tests__/chdir-dogfood-app.setup.d.ts.map +1 -1
- package/dist/esm/__tests__/chdir-dogfood-app.setup.js.map +1 -1
- package/dist/esm/__tests__/internal-test-view.d.ts.map +1 -1
- package/dist/esm/__tests__/internal-test-view.js.map +1 -1
- 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.map +1 -1
- 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.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.map +1 -1
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
- package/dist/esm/claude-cli/models/coding-session-frame-retention.d.ts.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.map +1 -1
- 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/__tests__/support/in-memory-coding-actor-plane.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js.map +1 -1
- 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.map +1 -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.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.map +1 -1
- 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.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.map +1 -1
- 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/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.map +1 -1
- 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.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.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.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/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.map +1 -1
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js.map +1 -1
- 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.map +1 -1
- 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.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.map +1 -1
- 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.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.map +1 -1
- 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.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.map +1 -1
- package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts.map +1 -1
- 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.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.map +1 -1
- 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-startup-assembly.d.ts.map +1 -1
- package/dist/esm/core/runtime/companion-startup-assembly.js.map +1 -1
- package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/dev-compile-quiet.companion.js.map +1 -1
- package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.d.ts.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.map +1 -1
- 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/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.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.map +1 -1
- package/dist/esm/deliberations/services/deliberation.companion.service.d.ts.map +1 -1
- 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/load-committed-expert-agents.d.ts.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-conversation.en.js.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-dossier.en.d.ts.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-dossier.en.js.map +1 -1
- package/dist/esm/i18n/composite_views/app.domain-model.en.d.ts.map +1 -1
- package/dist/esm/i18n/composite_views/app.domain-model.en.js.map +1 -1
- package/dist/esm/i18n/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.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts.map +1 -1
- 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.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.map +1 -1
- 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.map +1 -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.map +1 -1
- package/dist/esm/i18n/system_enums/application-creation.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/compliance-programme.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/flows-actors.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/flows-actors.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/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.map +1 -1
- 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-unit.models.d.ts.map +1 -1
- 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.map +1 -1
- 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/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.map +1 -1
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts.map +1 -1
- 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.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.map +1 -1
- 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/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/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js.map +1 -1
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js.map +1 -1
- 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.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.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js.map +1 -1
- 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/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/dossier.companion.service.d.ts.map +1 -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.map +1 -1
- 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/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.map +1 -1
- 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.map +1 -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.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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"creation-console-answer.companion.js","sourceRoot":"","sources":["../../../../../../src/core/introspection/resources/creation-console-answer.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,8BAA8B,EAC9B,8BAA8B,GAQ/B,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAC;AACxF,OAAO,EAAE,gCAAgC,EAAE,MAAM,sCAAsC,CAAC;AAExF;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,mGAAmG;AACnG,MAAM,CAAN,IAAY,0BAOX;AAPD,WAAY,0BAA0B;IACpC,sDAAsD;IACtD,qDAAuB,CAAA;IACvB,wFAAwF;IACxF,yDAA2B,CA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AC5I,CAAC;oBACD,OAAO,MAAM,CAAC,OAAO,CAAC,CAAC;gBACzB,CAAC;gBACD,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,uBAAuB,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAE,CAAC,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,CAAC,CAAE,CAAC,aAAa,IAAI,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;YACtK,CAAC;YACD,KAAK,2BAA2B,CAAC,SAAS,CAAC,CAAC,CAAC;gBAC3C,MAAM,aAAa,GAAG,OAAO,CAAC,CAAC,CAAE,CAAC,aAAa,IAAI,OAAO,CAAC,aAAa,CAAC;gBACzE,IAAI,CAAC,aAAa,EAAE,CAAC;oBACnB,MAAM,CAAC,0BAA0B,CAAC,SAAS,EACzC,mJAAmJ,CAAC,CAAC;gBACzJ,CAAC;gBACD,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,qBAAqB,CAAC;oBAC9C,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,WAAW,CAAC;oBACzC,WAAW,EAAE,OAAO,CAAC,CAAC,CAAE,CAAC,GAAG;oBAC5B,KAAK,EAAE,OAAO,CAAC,CAAC,CAAE,CAAC,KAAK;oBACxB,aAAa;iBACd,CAAC,CAAC,CAAC;YACN,CAAC;YACD,KAAK,2BAA2B,CAAC,eAAe;gBAC9C,6EAA6E;gBAC7E,OAAO,MAAM,CAAC,0BAA0B,CAAC,SAAS,EAAE,IAAI,QAAQ,CAAC,UAAU,wCAAwC,CAAC,CAAC;QACzH,CAAC;IACH,CAAC;YAAS,CAAC;QACT,KAAK,CAAC,UAAU,EAAE,CAAC;IACrB,CAAC;AACH,CAAC","sourcesContent":["import {\n CreationConsoleAnswerAction,\n CreationConsoleQuestionKind,\n WorkbenchCreationPlaneBehavior,\n parseCreationConsoleQuestionId,\n type CreationConsole_AnswerOutcome,\n type CreationConsole_AnswerRequest,\n type CreationConsole_Question,\n type Workbench_DossierEntry,\n type Workbench_GovernanceQuestion,\n type Workbench_ParkedCodingQuestion,\n type Workbench_WaitingPlaybookRun,\n} from '@wildo-ai/platform-core-shared';\n\nimport { buildCreationConsoleQuestions } from './creation-console-projection.companion';\nimport { MetaWorkflow_ClarificationAction } from '@wildo-ai/saas-models/meta-workflows';\n\n/**\n * The CREATION CONSOLE's answer door — one entry for every question the companion asks, routed to the\n * SAME service the matching workbench operation calls:\n *\n * | kind | service | workbench operation it mirrors |\n * |---|---|---|\n * | clarification | `PlaybookRunCompanionService.resumePlaybookRun` | `workbenchPlaybooks.resume_run` |\n * | parked coding question | `CodingAgentDispatchCompanionService.respondToApplicationCodingTaskQuestion` / `cancelApplicationCodingTask` | `workbenchParkedCodingQuestions.answer` / `.cancel` |\n * | interview | `DossierCompanionService.recordAnswer` | `workbenchDossierEntries.answer` |\n *\n * The services are reached through PORTS so this module is a pure function of its inputs and can be\n * pinned without a container; the controller binds them.\n *\n * ## The item is resolved FRESH, and its revision must match\n *\n * The request names a question by the id the console read, and carries the REVISION it read (a\n * clarification's round, a parked run's suspension ref). The queue is re-derived here and the item\n * found by id; a revision that moved is refused as SUPERSEDED rather than applied — the hazard #1581\n * and #1584 closed on the workbench's doors, where an answer typed for one question landed on the\n * next one the run asked under the same id. The services check it again; this refusal is the one\n * that names the console's own terms.\n */\n\n/** Why an answer was refused before any service was reached — each maps to its own HTTP status. */\nexport enum CreationConsoleRefusalKind {\n /** The request cannot be applied as written — 400. */\n MALFORMED = 'malformed',\n /** Nothing waits under that id now: answered, cancelled or finished meanwhile — 409. */\n NOT_WAITING = 'not-waiting',\n /** The question waiting under that id is not the one that was read — 409. */\n SUPERSEDED = 'superseded',\n}\n\nexport class CreationConsoleRefusal extends Error {\n public constructor(public readonly refusal: CreationConsoleRefusalKind, message: string) {\n super(message);\n this.name = 'CreationConsoleRefusal';\n }\n}\n\nexport interface CreationConsolePorts {\n /** The creation plane's rows for one behavior, as the projection serves them. */\n readonly deriveRows: (behavior: WorkbenchCreationPlaneBehavior) => Promise<readonly Record<string, unknown>[]>;\n readonly resumePlaybookRun: (input: {\n readonly runId: string;\n readonly round: number;\n readonly action: MetaWorkflow_ClarificationAction;\n readonly answers?: readonly { readonly ref: string; readonly answer: string; readonly answeredByRef?: string }[];\n readonly answeredByRef?: string;\n }) => Promise<unknown>;\n readonly respondToParkedQuestion: (taskId: string, answer: string, suspensionRef: string, answeredByRef?: string) => Promise<unknown>;\n readonly cancelCodingRun: (taskId: string) => Promise<{ readonly cancelled: boolean }>;\n readonly recordInterviewAnswer: (input: {\n readonly playbookRef: string;\n readonly questionRef: string;\n readonly value: string;\n readonly answeredByRef: string;\n }) => Promise<unknown>;\n /** The boards move after an answer; the next read must not answer \"as of before\". */\n readonly invalidate: () => void;\n}\n\n/** The behavior each question kind is derived from — TOTAL, so a new kind is a compile error until placed. */\nconst SOURCE_BEHAVIOR_BY_KIND: Readonly<Record<CreationConsoleQuestionKind, WorkbenchCreationPlaneBehavior>> = {\n [CreationConsoleQuestionKind.CLARIFICATION]: WorkbenchCreationPlaneBehavior.WAITING_PLAYBOOK_RUNS,\n [CreationConsoleQuestionKind.PARKED_CODING_QUESTION]: WorkbenchCreationPlaneBehavior.PARKED_CODING_QUESTIONS,\n [CreationConsoleQuestionKind.INTERVIEW]: WorkbenchCreationPlaneBehavior.DOSSIER_ENTRIES,\n [CreationConsoleQuestionKind.GOVERNANCE_FACT]: WorkbenchCreationPlaneBehavior.GOVERNANCE_QUESTIONS,\n};\n\n/**\n * The question queue, derived from the rows of the kinds asked for (every kind by default). Deriving\n * only what an answer needs keeps the answer door from paying for boards it never reads.\n */\nexport async function readCreationConsoleQuestions(\n ports: Pick<CreationConsolePorts, 'deriveRows'>,\n kinds: readonly CreationConsoleQuestionKind[] = Object.values(CreationConsoleQuestionKind),\n): Promise<CreationConsole_Question[]> {\n const rowsOf = async <Row>(kind: CreationConsoleQuestionKind): Promise<readonly Row[]> =>\n kinds.includes(kind) ? (await ports.deriveRows(SOURCE_BEHAVIOR_BY_KIND[kind])) as unknown as readonly Row[] : [];\n const [waiting, parked, dossier, governance] = await Promise.all([\n rowsOf<Workbench_WaitingPlaybookRun>(CreationConsoleQuestionKind.CLARIFICATION),\n rowsOf<Workbench_ParkedCodingQuestion>(CreationConsoleQuestionKind.PARKED_CODING_QUESTION),\n rowsOf<Workbench_DossierEntry>(CreationConsoleQuestionKind.INTERVIEW),\n rowsOf<Workbench_GovernanceQuestion>(CreationConsoleQuestionKind.GOVERNANCE_FACT),\n ]);\n return buildCreationConsoleQuestions({ waiting, parked, dossier, governance });\n}\n\nfunction refuse(kind: CreationConsoleRefusalKind, message: string): never {\n throw new CreationConsoleRefusal(kind, message);\n}\n\n/** Check the request against the item as it stands now, before any service is reached. */\nfunction admit(question: CreationConsole_Question, request: CreationConsole_AnswerRequest): void {\n if (question.actions.length === 0) {\n refuse(CreationConsoleRefusalKind.MALFORMED, question.kind === CreationConsoleQuestionKind.GOVERNANCE_FACT\n ? `\"${question.questionId}\" is a governed-document fact. Facts are landed as a whole-document sitting that also names the `\n + 'governance scope and who decided, which the console does not carry — answer it in the workbench\\'s governance panel.'\n : question.routedToUserId\n ? `\"${question.questionId}\" was asked of the person who started its run, and only they may answer it. `\n + 'The console carries no signed-in person — answer it in the workbench, signed in as them.'\n : `\"${question.questionId}\" cannot be answered from the console.`);\n }\n if (!question.actions.includes(request.action)) {\n refuse(CreationConsoleRefusalKind.MALFORMED, `\"${question.questionId}\" admits ${question.actions.join(', ')} — not ${request.action}.`);\n }\n if (question.revision !== null) {\n if (!request.revision) {\n refuse(CreationConsoleRefusalKind.MALFORMED,\n `\"${question.questionId}\" carries a revision (${question.revision}); send the one you read, so an answer never lands on a later question.`);\n }\n if (request.revision !== question.revision) {\n refuse(CreationConsoleRefusalKind.SUPERSEDED,\n `\"${question.questionId}\" has moved on: it now waits on revision ${question.revision}, and this answer was written for ${request.revision}. `\n + 'Read the queue again and answer what it asks now.');\n }\n }\n const answers = request.answers ?? [];\n /*\n * A DECLINE may carry the answers the person DID give (#1658) — \"these I answered, decide the rest\" —\n * so they are checked like an answer's. A CANCEL withdraws the run and carries none.\n */\n if (request.action === CreationConsoleAnswerAction.CANCEL) {\n if (answers.length > 0) refuse(CreationConsoleRefusalKind.MALFORMED, '`cancel` carries no answers; send `answer` to answer, or `decline` with the answers you did give.');\n return;\n }\n if (request.action === CreationConsoleAnswerAction.ANSWER && answers.length === 0) {\n refuse(CreationConsoleRefusalKind.MALFORMED, '`answer` needs at least one `{ ref, value }`.');\n }\n const known = new Set(question.fields.map((field) => field.ref));\n const unknown = answers.filter((answer) => !known.has(answer.ref)).map((answer) => answer.ref);\n if (unknown.length > 0) {\n refuse(CreationConsoleRefusalKind.MALFORMED,\n `\"${question.questionId}\" asks ${[...known].map((ref) => `\"${ref}\"`).join(', ')} — not ${unknown.map((ref) => `\"${ref}\"`).join(', ')}.`);\n }\n if (new Set(answers.map((answer) => answer.ref)).size !== answers.length) {\n refuse(CreationConsoleRefusalKind.MALFORMED, 'Each question is answered once per request.');\n }\n}\n\nconst CLARIFICATION_ACTION_BY_CONSOLE_ACTION: Readonly<Record<CreationConsoleAnswerAction, MetaWorkflow_ClarificationAction>> = {\n [CreationConsoleAnswerAction.ANSWER]: MetaWorkflow_ClarificationAction.ACCEPT,\n [CreationConsoleAnswerAction.DECLINE]: MetaWorkflow_ClarificationAction.DECLINE,\n [CreationConsoleAnswerAction.CANCEL]: MetaWorkflow_ClarificationAction.CANCEL,\n};\n\n/**\n * Apply one answer. Refusals the services raise (a validation of the answer's content, a run that\n * moved between this read and theirs) propagate UNTOUCHED, for the caller to translate the way it\n * translates them on every other door.\n */\nexport async function answerCreationConsoleQuestion(\n ports: CreationConsolePorts,\n request: CreationConsole_AnswerRequest,\n): Promise<CreationConsole_AnswerOutcome> {\n const parsed = parseCreationConsoleQuestionId(request.questionId);\n if (!parsed) {\n refuse(CreationConsoleRefusalKind.MALFORMED,\n `\"${request.questionId}\" is not a question id. Ids look like \"<kind>:<row>\", as \\`wildo creation questions\\` prints them; `\n + `the kinds are ${Object.values(CreationConsoleQuestionKind).join(', ')}.`);\n }\n const question = (await readCreationConsoleQuestions(ports, [parsed.kind]))\n .find((candidate) => candidate.questionId === request.questionId);\n if (!question) {\n refuse(CreationConsoleRefusalKind.NOT_WAITING,\n `Nothing waits under \"${request.questionId}\" now — it was answered, cancelled or finished meanwhile. Read the queue again.`);\n }\n admit(question, request);\n\n const answers = request.answers ?? [];\n const settle = (outcome: unknown): CreationConsole_AnswerOutcome => ({\n questionId: question.questionId,\n kind: question.kind,\n action: request.action,\n outcome,\n });\n\n try {\n switch (question.kind) {\n case CreationConsoleQuestionKind.CLARIFICATION: {\n const waiting = (await ports.deriveRows(WorkbenchCreationPlaneBehavior.WAITING_PLAYBOOK_RUNS) as unknown as readonly Workbench_WaitingPlaybookRun[])\n .find((row) => row.workbenchWaitingPlaybookRunId === parsed.rowId);\n if (!waiting) refuse(CreationConsoleRefusalKind.NOT_WAITING, `The run behind \"${request.questionId}\" stopped waiting meanwhile.`);\n return settle(await ports.resumePlaybookRun({\n runId: waiting.runId,\n round: Number(question.revision),\n action: CLARIFICATION_ACTION_BY_CONSOLE_ACTION[request.action],\n /* Each answer keeps its own author, so a round an agent and the person answered together records both (#1658). */\n ...(answers.length > 0\n ? { answers: answers.map((answer) => ({ ref: answer.ref, answer: answer.value, ...(answer.answeredByRef ? { answeredByRef: answer.answeredByRef } : {}) })) }\n : {}),\n /* Who answered reaches the committed DECISIONS.md, for every kind, not only the dossier (#1658). */\n ...(request.answeredByRef ? { answeredByRef: request.answeredByRef } : {}),\n }));\n }\n case CreationConsoleQuestionKind.PARKED_CODING_QUESTION: {\n const parked = (await ports.deriveRows(WorkbenchCreationPlaneBehavior.PARKED_CODING_QUESTIONS) as unknown as readonly Workbench_ParkedCodingQuestion[])\n .find((row) => row.workbenchParkedCodingQuestionId === parsed.rowId);\n if (!parked) refuse(CreationConsoleRefusalKind.NOT_WAITING, `The coding run behind \"${request.questionId}\" stopped waiting meanwhile.`);\n if (request.action === CreationConsoleAnswerAction.CANCEL) {\n const outcome = await ports.cancelCodingRun(parked.taskId);\n /* The row existed a moment ago: \"nothing to cancel\" means the run moved on, which is a refusal, never a success. */\n if (!outcome.cancelled) {\n refuse(CreationConsoleRefusalKind.NOT_WAITING, 'This coding run is no longer waiting: it was answered, cancelled or finished meanwhile.');\n }\n return settle(outcome);\n }\n return settle(await ports.respondToParkedQuestion(parked.taskId, answers[0]!.value, String(question.revision), answers[0]!.answeredByRef ?? request.answeredByRef));\n }\n case CreationConsoleQuestionKind.INTERVIEW: {\n const answeredByRef = answers[0]!.answeredByRef ?? request.answeredByRef;\n if (!answeredByRef) {\n refuse(CreationConsoleRefusalKind.MALFORMED,\n 'An interview answer records who gave it: send `answeredByRef` (`wildo` sends your git identity; an agent answering on its own sends its own ref).');\n }\n return settle(await ports.recordInterviewAnswer({\n playbookRef: String(question.playbookRef),\n questionRef: answers[0]!.ref,\n value: answers[0]!.value,\n answeredByRef,\n }));\n }\n case CreationConsoleQuestionKind.GOVERNANCE_FACT:\n /* `admit` refuses first — an item with no actions is never answered here. */\n return refuse(CreationConsoleRefusalKind.MALFORMED, `\"${question.questionId}\" cannot be answered from the console.`);\n }\n } finally {\n ports.invalidate();\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"creation-console-answer.companion.js","sourceRoot":"","sources":["../../../../../src/core/introspection/resources/creation-console-answer.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,8BAA8B,EAC9B,8BAA8B,GAQ/B,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAC;AACxF,OAAO,EAAE,gCAAgC,EAAE,MAAM,sCAAsC,CAAC;AAExF;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,mGAAmG;AACnG,MAAM,CAAN,IAAY,0BAOX;AAPD,WAAY,0B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CreationPlaneBehavior,\n parseCreationConsoleQuestionId,\n type CreationConsole_AnswerOutcome,\n type CreationConsole_AnswerRequest,\n type CreationConsole_Question,\n type Workbench_DossierEntry,\n type Workbench_GovernanceQuestion,\n type Workbench_ParkedCodingQuestion,\n type Workbench_WaitingPlaybookRun,\n} from '@wildo-ai/platform-core-shared';\n\nimport { buildCreationConsoleQuestions } from './creation-console-projection.companion';\nimport { MetaWorkflow_ClarificationAction } from '@wildo-ai/saas-models/meta-workflows';\n\n/**\n * The CREATION CONSOLE's answer door — one entry for every question the companion asks, routed to the\n * SAME service the matching workbench operation calls:\n *\n * | kind | service | workbench operation it mirrors |\n * |---|---|---|\n * | clarification | `PlaybookRunCompanionService.resumePlaybookRun` | `workbenchPlaybooks.resume_run` |\n * | parked coding question | `CodingAgentDispatchCompanionService.respondToApplicationCodingTaskQuestion` / `cancelApplicationCodingTask` | `workbenchParkedCodingQuestions.answer` / `.cancel` |\n * | interview | `DossierCompanionService.recordAnswer` | `workbenchDossierEntries.answer` |\n *\n * The services are reached through PORTS so this module is a pure function of its inputs and can be\n * pinned without a container; the controller binds them.\n *\n * ## The item is resolved FRESH, and its revision must match\n *\n * The request names a question by the id the console read, and carries the REVISION it read (a\n * clarification's round, a parked run's suspension ref). The queue is re-derived here and the item\n * found by id; a revision that moved is refused as SUPERSEDED rather than applied — the hazard #1581\n * and #1584 closed on the workbench's doors, where an answer typed for one question landed on the\n * next one the run asked under the same id. The services check it again; this refusal is the one\n * that names the console's own terms.\n */\n\n/** Why an answer was refused before any service was reached — each maps to its own HTTP status. */\nexport enum CreationConsoleRefusalKind {\n /** The request cannot be applied as written — 400. */\n MALFORMED = 'malformed',\n /** Nothing waits under that id now: answered, cancelled or finished meanwhile — 409. */\n NOT_WAITING = 'not-waiting',\n /** The question waiting under that id is not the one that was read — 409. */\n SUPERSEDED = 'superseded',\n}\n\nexport class CreationConsoleRefusal extends Error {\n public constructor(public readonly refusal: CreationConsoleRefusalKind, message: string) {\n super(message);\n this.name = 'CreationConsoleRefusal';\n }\n}\n\nexport interface CreationConsolePorts {\n /** The creation plane's rows for one behavior, as the projection serves them. */\n readonly deriveRows: (behavior: WorkbenchCreationPlaneBehavior) => Promise<readonly Record<string, unknown>[]>;\n readonly resumePlaybookRun: (input: {\n readonly runId: string;\n readonly round: number;\n readonly action: MetaWorkflow_ClarificationAction;\n readonly answers?: readonly { readonly ref: string; readonly answer: string; readonly answeredByRef?: string }[];\n readonly answeredByRef?: string;\n }) => Promise<unknown>;\n readonly respondToParkedQuestion: (taskId: string, answer: string, suspensionRef: string, answeredByRef?: string) => Promise<unknown>;\n readonly cancelCodingRun: (taskId: string) => Promise<{ readonly cancelled: boolean }>;\n readonly recordInterviewAnswer: (input: {\n readonly playbookRef: string;\n readonly questionRef: string;\n readonly value: string;\n readonly answeredByRef: string;\n }) => Promise<unknown>;\n /** The boards move after an answer; the next read must not answer \"as of before\". */\n readonly invalidate: () => void;\n}\n\n/** The behavior each question kind is derived from — TOTAL, so a new kind is a compile error until placed. */\nconst SOURCE_BEHAVIOR_BY_KIND: Readonly<Record<CreationConsoleQuestionKind, WorkbenchCreationPlaneBehavior>> = {\n [CreationConsoleQuestionKind.CLARIFICATION]: WorkbenchCreationPlaneBehavior.WAITING_PLAYBOOK_RUNS,\n [CreationConsoleQuestionKind.PARKED_CODING_QUESTION]: WorkbenchCreationPlaneBehavior.PARKED_CODING_QUESTIONS,\n [CreationConsoleQuestionKind.INTERVIEW]: WorkbenchCreationPlaneBehavior.DOSSIER_ENTRIES,\n [CreationConsoleQuestionKind.GOVERNANCE_FACT]: WorkbenchCreationPlaneBehavior.GOVERNANCE_QUESTIONS,\n};\n\n/**\n * The question queue, derived from the rows of the kinds asked for (every kind by default). Deriving\n * only what an answer needs keeps the answer door from paying for boards it never reads.\n */\nexport async function readCreationConsoleQuestions(\n ports: Pick<CreationConsolePorts, 'deriveRows'>,\n kinds: readonly CreationConsoleQuestionKind[] = Object.values(CreationConsoleQuestionKind),\n): Promise<CreationConsole_Question[]> {\n const rowsOf = async <Row>(kind: CreationConsoleQuestionKind): Promise<readonly Row[]> =>\n kinds.includes(kind) ? (await ports.deriveRows(SOURCE_BEHAVIOR_BY_KIND[kind])) as unknown as readonly Row[] : [];\n const [waiting, parked, dossier, governance] = await Promise.all([\n rowsOf<Workbench_WaitingPlaybookRun>(CreationConsoleQuestionKind.CLARIFICATION),\n rowsOf<Workbench_ParkedCodingQuestion>(CreationConsoleQuestionKind.PARKED_CODING_QUESTION),\n rowsOf<Workbench_DossierEntry>(CreationConsoleQuestionKind.INTERVIEW),\n rowsOf<Workbench_GovernanceQuestion>(CreationConsoleQuestionKind.GOVERNANCE_FACT),\n ]);\n return buildCreationConsoleQuestions({ waiting, parked, dossier, governance });\n}\n\nfunction refuse(kind: CreationConsoleRefusalKind, message: string): never {\n throw new CreationConsoleRefusal(kind, message);\n}\n\n/** Check the request against the item as it stands now, before any service is reached. */\nfunction admit(question: CreationConsole_Question, request: CreationConsole_AnswerRequest): void {\n if (question.actions.length === 0) {\n refuse(CreationConsoleRefusalKind.MALFORMED, question.kind === CreationConsoleQuestionKind.GOVERNANCE_FACT\n ? `\"${question.questionId}\" is a governed-document fact. Facts are landed as a whole-document sitting that also names the `\n + 'governance scope and who decided, which the console does not carry — answer it in the workbench\\'s governance panel.'\n : question.routedToUserId\n ? `\"${question.questionId}\" was asked of the person who started its run, and only they may answer it. `\n + 'The console carries no signed-in person — answer it in the workbench, signed in as them.'\n : `\"${question.questionId}\" cannot be answered from the console.`);\n }\n if (!question.actions.includes(request.action)) {\n refuse(CreationConsoleRefusalKind.MALFORMED, `\"${question.questionId}\" admits ${question.actions.join(', ')} — not ${request.action}.`);\n }\n if (question.revision !== null) {\n if (!request.revision) {\n refuse(CreationConsoleRefusalKind.MALFORMED,\n `\"${question.questionId}\" carries a revision (${question.revision}); send the one you read, so an answer never lands on a later question.`);\n }\n if (request.revision !== question.revision) {\n refuse(CreationConsoleRefusalKind.SUPERSEDED,\n `\"${question.questionId}\" has moved on: it now waits on revision ${question.revision}, and this answer was written for ${request.revision}. `\n + 'Read the queue again and answer what it asks now.');\n }\n }\n const answers = request.answers ?? [];\n /*\n * A DECLINE may carry the answers the person DID give (#1658) — \"these I answered, decide the rest\" —\n * so they are checked like an answer's. A CANCEL withdraws the run and carries none.\n */\n if (request.action === CreationConsoleAnswerAction.CANCEL) {\n if (answers.length > 0) refuse(CreationConsoleRefusalKind.MALFORMED, '`cancel` carries no answers; send `answer` to answer, or `decline` with the answers you did give.');\n return;\n }\n if (request.action === CreationConsoleAnswerAction.ANSWER && answers.length === 0) {\n refuse(CreationConsoleRefusalKind.MALFORMED, '`answer` needs at least one `{ ref, value }`.');\n }\n const known = new Set(question.fields.map((field) => field.ref));\n const unknown = answers.filter((answer) => !known.has(answer.ref)).map((answer) => answer.ref);\n if (unknown.length > 0) {\n refuse(CreationConsoleRefusalKind.MALFORMED,\n `\"${question.questionId}\" asks ${[...known].map((ref) => `\"${ref}\"`).join(', ')} — not ${unknown.map((ref) => `\"${ref}\"`).join(', ')}.`);\n }\n if (new Set(answers.map((answer) => answer.ref)).size !== answers.length) {\n refuse(CreationConsoleRefusalKind.MALFORMED, 'Each question is answered once per request.');\n }\n}\n\nconst CLARIFICATION_ACTION_BY_CONSOLE_ACTION: Readonly<Record<CreationConsoleAnswerAction, MetaWorkflow_ClarificationAction>> = {\n [CreationConsoleAnswerAction.ANSWER]: MetaWorkflow_ClarificationAction.ACCEPT,\n [CreationConsoleAnswerAction.DECLINE]: MetaWorkflow_ClarificationAction.DECLINE,\n [CreationConsoleAnswerAction.CANCEL]: MetaWorkflow_ClarificationAction.CANCEL,\n};\n\n/**\n * Apply one answer. Refusals the services raise (a validation of the answer's content, a run that\n * moved between this read and theirs) propagate UNTOUCHED, for the caller to translate the way it\n * translates them on every other door.\n */\nexport async function answerCreationConsoleQuestion(\n ports: CreationConsolePorts,\n request: CreationConsole_AnswerRequest,\n): Promise<CreationConsole_AnswerOutcome> {\n const parsed = parseCreationConsoleQuestionId(request.questionId);\n if (!parsed) {\n refuse(CreationConsoleRefusalKind.MALFORMED,\n `\"${request.questionId}\" is not a question id. Ids look like \"<kind>:<row>\", as \\`wildo creation questions\\` prints them; `\n + `the kinds are ${Object.values(CreationConsoleQuestionKind).join(', ')}.`);\n }\n const question = (await readCreationConsoleQuestions(ports, [parsed.kind]))\n .find((candidate) => candidate.questionId === request.questionId);\n if (!question) {\n refuse(CreationConsoleRefusalKind.NOT_WAITING,\n `Nothing waits under \"${request.questionId}\" now — it was answered, cancelled or finished meanwhile. Read the queue again.`);\n }\n admit(question, request);\n\n const answers = request.answers ?? [];\n const settle = (outcome: unknown): CreationConsole_AnswerOutcome => ({\n questionId: question.questionId,\n kind: question.kind,\n action: request.action,\n outcome,\n });\n\n try {\n switch (question.kind) {\n case CreationConsoleQuestionKind.CLARIFICATION: {\n const waiting = (await ports.deriveRows(WorkbenchCreationPlaneBehavior.WAITING_PLAYBOOK_RUNS) as unknown as readonly Workbench_WaitingPlaybookRun[])\n .find((row) => row.workbenchWaitingPlaybookRunId === parsed.rowId);\n if (!waiting) refuse(CreationConsoleRefusalKind.NOT_WAITING, `The run behind \"${request.questionId}\" stopped waiting meanwhile.`);\n return settle(await ports.resumePlaybookRun({\n runId: waiting.runId,\n round: Number(question.revision),\n action: CLARIFICATION_ACTION_BY_CONSOLE_ACTION[request.action],\n /* Each answer keeps its own author, so a round an agent and the person answered together records both (#1658). */\n ...(answers.length > 0\n ? { answers: answers.map((answer) => ({ ref: answer.ref, answer: answer.value, ...(answer.answeredByRef ? { answeredByRef: answer.answeredByRef } : {}) })) }\n : {}),\n /* Who answered reaches the committed DECISIONS.md, for every kind, not only the dossier (#1658). */\n ...(request.answeredByRef ? { answeredByRef: request.answeredByRef } : {}),\n }));\n }\n case CreationConsoleQuestionKind.PARKED_CODING_QUESTION: {\n const parked = (await ports.deriveRows(WorkbenchCreationPlaneBehavior.PARKED_CODING_QUESTIONS) as unknown as readonly Workbench_ParkedCodingQuestion[])\n .find((row) => row.workbenchParkedCodingQuestionId === parsed.rowId);\n if (!parked) refuse(CreationConsoleRefusalKind.NOT_WAITING, `The coding run behind \"${request.questionId}\" stopped waiting meanwhile.`);\n if (request.action === CreationConsoleAnswerAction.CANCEL) {\n const outcome = await ports.cancelCodingRun(parked.taskId);\n /* The row existed a moment ago: \"nothing to cancel\" means the run moved on, which is a refusal, never a success. */\n if (!outcome.cancelled) {\n refuse(CreationConsoleRefusalKind.NOT_WAITING, 'This coding run is no longer waiting: it was answered, cancelled or finished meanwhile.');\n }\n return settle(outcome);\n }\n return settle(await ports.respondToParkedQuestion(parked.taskId, answers[0]!.value, String(question.revision), answers[0]!.answeredByRef ?? request.answeredByRef));\n }\n case CreationConsoleQuestionKind.INTERVIEW: {\n const answeredByRef = answers[0]!.answeredByRef ?? request.answeredByRef;\n if (!answeredByRef) {\n refuse(CreationConsoleRefusalKind.MALFORMED,\n 'An interview answer records who gave it: send `answeredByRef` (`wildo` sends your git identity; an agent answering on its own sends its own ref).');\n }\n return settle(await ports.recordInterviewAnswer({\n playbookRef: String(question.playbookRef),\n questionRef: answers[0]!.ref,\n value: answers[0]!.value,\n answeredByRef,\n }));\n }\n case CreationConsoleQuestionKind.GOVERNANCE_FACT:\n /* `admit` refuses first — an item with no actions is never answered here. */\n return refuse(CreationConsoleRefusalKind.MALFORMED, `\"${question.questionId}\" cannot be answered from the console.`);\n }\n } finally {\n ports.invalidate();\n }\n}\n"]}
|
package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"creation-console-projection.companion.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"creation-console-projection.companion.d.ts","sourceRoot":"","sources":["../../../../../src/core/introspection/resources/creation-console-projection.companion.ts"],"names":[],"mappings":"AACA,OAAO,EAKL,8BAA8B,EAC9B,4BAA4B,EAE5B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EAClC,MAAM,gCAAgC,CAAC;AAExC;;;;;;;GAOG;AAEH;;;;;;;GAOG;AACH,eAAO,MAAM,wCAAwC,EAAE,QAAQ,CAAC,MAAM,CAAC,8BAA8B,EAAE,4BAA4B,CAAC,CAiBnI,CAAC;AAOF,gGAAgG;AAChG,wBAAgB,oCAAoC,CAAC,YAAY,EAAE,MAAM,GAAG,8BAA8B,GAAG,IAAI,CAEhH;AAwBD,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,OAAO,EAAE,SAAS,4BAA4B,EAAE,CAAC;IAC1D,QAAQ,CAAC,MAAM,EAAE,SAAS,8BAA8B,EAAE,CAAC;IAC3D,QAAQ,CAAC,OAAO,EAAE,SAAS,sBAAsB,EAAE,CAAC;IACpD,QAAQ,CAAC,UAAU,EAAE,SAAS,4BAA4B,EAAE,CAAC;CAC9D;AAED;;;;;;;;;GASG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,6BAA6B,GAAG,wBAAwB,EAAE,CA+F9G;AAED;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,SAAS,0BAA0B,EAAE,EAC5C,aAAa,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,GAC1F,wBAAwB,EAAE,CAqB5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"creation-console-projection.companion.js","sourceRoot":"","sources":["../../../../../../src/core/introspection/resources/creation-console-projection.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,0CAA0C,EAC1C,6BAA6B,EAC7B,8BAA8B,EAC9B,4BAA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AAC,+BAA+B,CAAC,YAAY,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,IAAI;SACvG,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC","sourcesContent":["import { HumanDecision_FieldKind } from '@wildo-ai/saas-models';\nimport {\n CreationConsoleAnswerAction,\n CreationConsoleQuestionKind,\n WORKBENCH_PARKED_CODING_QUESTION_FIELD_REF,\n WorkbenchCreationHomeLineKind,\n WorkbenchCreationPlaneBehavior,\n WorkbenchShared_ResourceType,\n formatCreationConsoleQuestionId,\n type CreationConsole_FeedLine,\n type CreationConsole_Question,\n type Workbench_CreationHomeLine,\n type Workbench_DossierEntry,\n type Workbench_GovernanceQuestion,\n type Workbench_ParkedCodingQuestion,\n type Workbench_WaitingPlaybookRun,\n} from '@wildo-ai/platform-core-shared';\n\n/**\n * The CREATION CONSOLE's view of the creation plane — pure functions over rows the projection already\n * derives, so the console and the workbench read one set of facts (see the contract's JSDoc in\n * `workbench-creation-console.custom.shared.schemas.ts` for why the console needs a view at all).\n *\n * Nothing here derives a fact of its own. It FOLDS: four row kinds into one question queue, and each\n * Home line together with the row it points at into one feed line.\n */\n\n/**\n * Which resource each creation-plane behavior serves — TOTAL over the behaviors, so a behavior added\n * tomorrow is a compile error here until it is placed. The feed needs it the other way round (a Home\n * line names its target by RESOURCE TYPE, and the projection derives by BEHAVIOR); the inverse is\n * computed below, never kept by hand. Held equal to the resource configurations' own\n * `introspectionBinding` by `__tests__/creation-console.test.ts`, which is what stops the two\n * spellings of one binding from drifting.\n */\nexport const CREATION_PLANE_RESOURCE_TYPE_BY_BEHAVIOR: Readonly<Record<WorkbenchCreationPlaneBehavior, WorkbenchShared_ResourceType>> = {\n [WorkbenchCreationPlaneBehavior.PLAYBOOK_ELIGIBILITY]: WorkbenchShared_ResourceType.PLAYBOOKS,\n [WorkbenchCreationPlaneBehavior.BUILD_PLAN_TASKS]: WorkbenchShared_ResourceType.BUILD_PLAN_TASKS,\n [WorkbenchCreationPlaneBehavior.RUN_WRITE_RECORDS]: WorkbenchShared_ResourceType.RUN_WRITE_RECORDS,\n [WorkbenchCreationPlaneBehavior.TRACE_SESSIONS]: WorkbenchShared_ResourceType.TRACE_SESSIONS,\n [WorkbenchCreationPlaneBehavior.GOVERNANCE_DOCUMENTS]: WorkbenchShared_ResourceType.GOVERNANCE_DOCUMENTS,\n [WorkbenchCreationPlaneBehavior.GOVERNANCE_QUESTIONS]: WorkbenchShared_ResourceType.GOVERNANCE_QUESTIONS,\n [WorkbenchCreationPlaneBehavior.BUILD_DISPATCH_PLAN]: WorkbenchShared_ResourceType.BUILD_DISPATCH_PLAN,\n [WorkbenchCreationPlaneBehavior.BUILD_DISPATCHES]: WorkbenchShared_ResourceType.BUILD_DISPATCHES,\n [WorkbenchCreationPlaneBehavior.PLAYBOOK_RUNS]: WorkbenchShared_ResourceType.PLAYBOOK_RUNS,\n [WorkbenchCreationPlaneBehavior.WAITING_PLAYBOOK_RUNS]: WorkbenchShared_ResourceType.WAITING_PLAYBOOK_RUNS,\n [WorkbenchCreationPlaneBehavior.CODING_LANE_STATUS]: WorkbenchShared_ResourceType.CODING_LANE_STATUS,\n [WorkbenchCreationPlaneBehavior.PARKED_CODING_QUESTIONS]: WorkbenchShared_ResourceType.PARKED_CODING_QUESTIONS,\n [WorkbenchCreationPlaneBehavior.DOSSIER_ENTRIES]: WorkbenchShared_ResourceType.DOSSIER_ENTRIES,\n [WorkbenchCreationPlaneBehavior.HOME_LINES]: WorkbenchShared_ResourceType.HOME_LINES,\n [WorkbenchCreationPlaneBehavior.CREATION_OUTCOMES]: WorkbenchShared_ResourceType.CREATION_OUTCOMES,\n [WorkbenchCreationPlaneBehavior.APPLICATION_SECRETS]: WorkbenchShared_ResourceType.APPLICATION_SECRETS,\n};\n\nconst BEHAVIOR_BY_RESOURCE_TYPE: ReadonlyMap<string, WorkbenchCreationPlaneBehavior> = new Map(\n (Object.entries(CREATION_PLANE_RESOURCE_TYPE_BY_BEHAVIOR) as [WorkbenchCreationPlaneBehavior, WorkbenchShared_ResourceType][])\n .map(([behavior, resourceType]) => [resourceType, behavior]),\n);\n\n/** The creation-plane behavior serving a resource type, or `null` for one outside the plane. */\nexport function creationPlaneBehaviorForResourceType(resourceType: string): WorkbenchCreationPlaneBehavior | null {\n return BEHAVIOR_BY_RESOURCE_TYPE.get(resourceType) ?? null;\n}\n\n/**\n * The Home line kinds that are about exactly ONE queued question, and which kind of question it is.\n * A governed document is about several facts, so its line names none — the queue lists each fact.\n */\nconst QUESTION_KIND_BY_LINE_KIND: Readonly<Partial<Record<WorkbenchCreationHomeLineKind, CreationConsoleQuestionKind>>> = {\n [WorkbenchCreationHomeLineKind.CLARIFICATION]: CreationConsoleQuestionKind.CLARIFICATION,\n [WorkbenchCreationHomeLineKind.PARKED_QUESTION]: CreationConsoleQuestionKind.PARKED_CODING_QUESTION,\n};\n\nfunction isoOrNull(value: unknown): string | null {\n if (value instanceof Date) return Number.isNaN(value.getTime()) ? null : value.toISOString();\n return typeof value === 'string' && value.length > 0 ? value : null;\n}\n\n/** Newest first; an item with no instant sorts after every item with one. */\nfunction compareNewestFirst(left: string | null, right: string | null): number {\n if (left === null && right === null) return 0;\n if (left === null) return 1;\n if (right === null) return -1;\n return right.localeCompare(left);\n}\n\nexport interface CreationConsoleQuestionInputs {\n readonly waiting: readonly Workbench_WaitingPlaybookRun[];\n readonly parked: readonly Workbench_ParkedCodingQuestion[];\n readonly dossier: readonly Workbench_DossierEntry[];\n readonly governance: readonly Workbench_GovernanceQuestion[];\n}\n\n/**\n * Everything waiting on the person, as ONE queue — in the order Home ranks it: what holds a live run\n * first (a clarification round, a parked coding worker), newest first; then the interview questions a\n * step can run as soon as they are answered; then the facts drafted documents still need.\n *\n * The selection is the projection's, never re-derived: a dossier entry is queued when it is\n * `askedNow`, a governance question when it is `askedNow`, a waiting run when its checkpoint is\n * READABLE (an unreadable checkpoint is a condition an operator inspects, not a question anyone can\n * answer — the same cut Home makes).\n */\nexport function buildCreationConsoleQuestions(input: CreationConsoleQuestionInputs): CreationConsole_Question[] {\n const blank = {\n playbookRef: null,\n taskRef: null,\n instanceKey: null,\n definitionRef: null,\n revision: null,\n producingFamily: null,\n dryRun: null,\n resumable: null,\n affectsFamilies: [] as string[],\n routedToUserId: null,\n };\n\n const holdingARun: CreationConsole_Question[] = [];\n for (const waiting of input.waiting) {\n if (!waiting.readable || waiting.round === null) continue;\n holdingARun.push({\n ...blank,\n questionId: formatCreationConsoleQuestionId(CreationConsoleQuestionKind.CLARIFICATION, waiting.workbenchWaitingPlaybookRunId),\n kind: CreationConsoleQuestionKind.CLARIFICATION,\n askedAt: isoOrNull(waiting.suspendedAt),\n playbookRef: waiting.playbookRef,\n revision: String(waiting.round),\n fields: waiting.requests.map((request) => ({\n ref: request.ref,\n question: request.question,\n why: request.why,\n kind: request.kind,\n options: [...request.options],\n })),\n /*\n * A question routed to its run's starter (#1751) is theirs alone, and the console carries no person:\n * listed, so nothing waiting is hidden, and answered in the workbench as them.\n */\n actions: waiting.routedToUserId\n ? []\n : [CreationConsoleAnswerAction.ANSWER, CreationConsoleAnswerAction.DECLINE, CreationConsoleAnswerAction.CANCEL],\n routedToUserId: waiting.routedToUserId,\n producingFamily: waiting.family,\n dryRun: waiting.dryRun,\n });\n }\n for (const parked of input.parked) {\n holdingARun.push({\n ...blank,\n questionId: formatCreationConsoleQuestionId(CreationConsoleQuestionKind.PARKED_CODING_QUESTION, parked.workbenchParkedCodingQuestionId),\n kind: CreationConsoleQuestionKind.PARKED_CODING_QUESTION,\n askedAt: isoOrNull(parked.parkedAt),\n taskRef: parked.taskRef,\n revision: parked.suspensionRef,\n /* The agent asks ONE free-text question; the field ref is the one the workbench's gate answers under. */\n fields: [{ ref: WORKBENCH_PARKED_CODING_QUESTION_FIELD_REF, question: parked.question, why: null, kind: HumanDecision_FieldKind.FREE_TEXT, options: [] }],\n actions: [CreationConsoleAnswerAction.ANSWER, CreationConsoleAnswerAction.CANCEL],\n resumable: parked.resumable,\n });\n }\n holdingARun.sort((left, right) => compareNewestFirst(left.askedAt, right.askedAt));\n\n const interview: CreationConsole_Question[] = input.dossier\n .filter((entry) => entry.askedNow)\n .slice()\n .sort((left, right) => left.playbookRef.localeCompare(right.playbookRef) || left.position - right.position)\n .map((entry) => ({\n ...blank,\n questionId: formatCreationConsoleQuestionId(CreationConsoleQuestionKind.INTERVIEW, entry.workbenchDossierEntryId),\n kind: CreationConsoleQuestionKind.INTERVIEW,\n askedAt: null,\n playbookRef: entry.playbookRef,\n instanceKey: entry.instanceKey,\n fields: [{ ref: entry.questionRef, question: entry.question, why: null, kind: entry.kind, options: [...entry.options] }],\n actions: [CreationConsoleAnswerAction.ANSWER],\n affectsFamilies: [...entry.affectsFamilies],\n }));\n\n const governance: CreationConsole_Question[] = input.governance\n .filter((question) => question.askedNow)\n .map((question) => ({\n ...blank,\n questionId: formatCreationConsoleQuestionId(CreationConsoleQuestionKind.GOVERNANCE_FACT, question.workbenchGovernanceQuestionId),\n kind: CreationConsoleQuestionKind.GOVERNANCE_FACT,\n askedAt: null,\n definitionRef: question.definitionRef,\n fields: [{\n ref: question.questionRef,\n question: question.creatorPrompt,\n why: question.decisionPurpose,\n kind: question.answerKind,\n options: question.semanticOptions.map((option) => option.optionRef),\n }],\n /* Listed, never answered here — see `CreationConsoleQuestionKind.GOVERNANCE_FACT`. */\n actions: [],\n }));\n\n return [...holdingARun, ...interview, ...governance];\n}\n\n/**\n * Home's lines as FEED lines: each carries the row it points at, so a console reads a completed run's\n * verdict or a dispatch's error in the same read, and the id of the one question it is about, so the\n * console can answer it without a lookup.\n *\n * `resolveTarget` is the projection's row for (resource type, row id), or `null` when the row has gone\n * since the line was derived — a line whose target moved on is still a true line about the past.\n */\nexport function buildCreationConsoleFeed(\n lines: readonly Workbench_CreationHomeLine[],\n resolveTarget: (resourceType: string, resourceId: string) => Record<string, unknown> | null,\n): CreationConsole_FeedLine[] {\n return lines.map((line) => {\n const questionKind = QUESTION_KIND_BY_LINE_KIND[line.kind];\n return {\n lineId: line.workbenchCreationHomeLineId,\n section: line.section,\n kind: line.kind,\n at: isoOrNull(line.at),\n playbookRef: line.playbookRef,\n taskRef: line.taskRef,\n subject: line.subject,\n failed: line.failed,\n acceptable: line.acceptable,\n needsAnswers: line.needsAnswers,\n stuckReason: line.stuckReason,\n targetResourceType: line.targetResourceType,\n targetResourceId: line.targetResourceId,\n target: resolveTarget(line.targetResourceType, line.targetResourceId),\n questionId: questionKind ? formatCreationConsoleQuestionId(questionKind, line.targetResourceId) : null,\n };\n });\n}\n"]}
|
|
1
|
+
{"version":3,"file":"creation-console-projection.companion.js","sourceRoot":"","sources":["../../../../../src/core/introspection/resources/creation-console-projection.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,0CAA0C,EAC1C,6BAA6B,EAC7B,8BAA8B,EAC9B,4BAA4B,EAC5B,+BAA+B,GAQhC,MAAM,gCAAgC,CAAC;AAExC;;;;;;;GAOG;AAEH;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAmF;IACtI,CAAC,8BAA8B,CAAC,oBAAoB,CAAC,EAAE,4BAA4B,CAAC,SAAS;IAC7F,CAAC,8BAA8B,CAAC,gBAAgB,CAAC,EAAE,4BAA4B,CAAC,gBAAgB;IAChG,CAAC,8BAA8B,CAAC,iBAAiB,CAAC,EAAE,4BAA4B,CAAC,iBAAiB;IAClG,CAAC,8BAA8B,CAAC,cAAc,CAAC,EAAE,4BAA4B,CAAC,cAAc;IAC5F,CAAC,8BAA8B,CAAC,oBAAoB,CAAC,EAAE,4BAA4B,CAAC,oBAAoB;IACxG,CAAC,8BAA8B,CAAC,oBAAoB,CAAC,EAAE,4BAA4B,CAAC,oBAAoB;IACxG,CAAC,8BAA8B,CAAC,mBAAmB,CAAC,EAAE,4BAA4B,CAAC,mBAAmB;IACtG,CAAC,8BAA8B,CA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,CAAC,2BAA2B;YACxC,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,EAAE,EAAE,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC;YACtB,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,kBAAkB,EAAE,IAAI,CAAC,kBAAkB;YAC3C,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,MAAM,EAAE,aAAa,CAAC,IAAI,CAAC,kBAAkB,EAAE,IAAI,CAAC,gBAAgB,CAAC;YACrE,UAAU,EAAE,YAAY,CAAC,CAAC,CAAC,+BAA+B,CAAC,YAAY,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,IAAI;SACvG,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC","sourcesContent":["import { HumanDecision_FieldKind } from '@wildo-ai/saas-models';\nimport {\n CreationConsoleAnswerAction,\n CreationConsoleQuestionKind,\n WORKBENCH_PARKED_CODING_QUESTION_FIELD_REF,\n WorkbenchCreationHomeLineKind,\n WorkbenchCreationPlaneBehavior,\n WorkbenchShared_ResourceType,\n formatCreationConsoleQuestionId,\n type CreationConsole_FeedLine,\n type CreationConsole_Question,\n type Workbench_CreationHomeLine,\n type Workbench_DossierEntry,\n type Workbench_GovernanceQuestion,\n type Workbench_ParkedCodingQuestion,\n type Workbench_WaitingPlaybookRun,\n} from '@wildo-ai/platform-core-shared';\n\n/**\n * The CREATION CONSOLE's view of the creation plane — pure functions over rows the projection already\n * derives, so the console and the workbench read one set of facts (see the contract's JSDoc in\n * `workbench-creation-console.custom.shared.schemas.ts` for why the console needs a view at all).\n *\n * Nothing here derives a fact of its own. It FOLDS: four row kinds into one question queue, and each\n * Home line together with the row it points at into one feed line.\n */\n\n/**\n * Which resource each creation-plane behavior serves — TOTAL over the behaviors, so a behavior added\n * tomorrow is a compile error here until it is placed. The feed needs it the other way round (a Home\n * line names its target by RESOURCE TYPE, and the projection derives by BEHAVIOR); the inverse is\n * computed below, never kept by hand. Held equal to the resource configurations' own\n * `introspectionBinding` by `__tests__/creation-console.test.ts`, which is what stops the two\n * spellings of one binding from drifting.\n */\nexport const CREATION_PLANE_RESOURCE_TYPE_BY_BEHAVIOR: Readonly<Record<WorkbenchCreationPlaneBehavior, WorkbenchShared_ResourceType>> = {\n [WorkbenchCreationPlaneBehavior.PLAYBOOK_ELIGIBILITY]: WorkbenchShared_ResourceType.PLAYBOOKS,\n [WorkbenchCreationPlaneBehavior.BUILD_PLAN_TASKS]: WorkbenchShared_ResourceType.BUILD_PLAN_TASKS,\n [WorkbenchCreationPlaneBehavior.RUN_WRITE_RECORDS]: WorkbenchShared_ResourceType.RUN_WRITE_RECORDS,\n [WorkbenchCreationPlaneBehavior.TRACE_SESSIONS]: WorkbenchShared_ResourceType.TRACE_SESSIONS,\n [WorkbenchCreationPlaneBehavior.GOVERNANCE_DOCUMENTS]: WorkbenchShared_ResourceType.GOVERNANCE_DOCUMENTS,\n [WorkbenchCreationPlaneBehavior.GOVERNANCE_QUESTIONS]: WorkbenchShared_ResourceType.GOVERNANCE_QUESTIONS,\n [WorkbenchCreationPlaneBehavior.BUILD_DISPATCH_PLAN]: WorkbenchShared_ResourceType.BUILD_DISPATCH_PLAN,\n [WorkbenchCreationPlaneBehavior.BUILD_DISPATCHES]: WorkbenchShared_ResourceType.BUILD_DISPATCHES,\n [WorkbenchCreationPlaneBehavior.PLAYBOOK_RUNS]: WorkbenchShared_ResourceType.PLAYBOOK_RUNS,\n [WorkbenchCreationPlaneBehavior.WAITING_PLAYBOOK_RUNS]: WorkbenchShared_ResourceType.WAITING_PLAYBOOK_RUNS,\n [WorkbenchCreationPlaneBehavior.CODING_LANE_STATUS]: WorkbenchShared_ResourceType.CODING_LANE_STATUS,\n [WorkbenchCreationPlaneBehavior.PARKED_CODING_QUESTIONS]: WorkbenchShared_ResourceType.PARKED_CODING_QUESTIONS,\n [WorkbenchCreationPlaneBehavior.DOSSIER_ENTRIES]: WorkbenchShared_ResourceType.DOSSIER_ENTRIES,\n [WorkbenchCreationPlaneBehavior.HOME_LINES]: WorkbenchShared_ResourceType.HOME_LINES,\n [WorkbenchCreationPlaneBehavior.CREATION_OUTCOMES]: WorkbenchShared_ResourceType.CREATION_OUTCOMES,\n [WorkbenchCreationPlaneBehavior.APPLICATION_SECRETS]: WorkbenchShared_ResourceType.APPLICATION_SECRETS,\n};\n\nconst BEHAVIOR_BY_RESOURCE_TYPE: ReadonlyMap<string, WorkbenchCreationPlaneBehavior> = new Map(\n (Object.entries(CREATION_PLANE_RESOURCE_TYPE_BY_BEHAVIOR) as [WorkbenchCreationPlaneBehavior, WorkbenchShared_ResourceType][])\n .map(([behavior, resourceType]) => [resourceType, behavior]),\n);\n\n/** The creation-plane behavior serving a resource type, or `null` for one outside the plane. */\nexport function creationPlaneBehaviorForResourceType(resourceType: string): WorkbenchCreationPlaneBehavior | null {\n return BEHAVIOR_BY_RESOURCE_TYPE.get(resourceType) ?? null;\n}\n\n/**\n * The Home line kinds that are about exactly ONE queued question, and which kind of question it is.\n * A governed document is about several facts, so its line names none — the queue lists each fact.\n */\nconst QUESTION_KIND_BY_LINE_KIND: Readonly<Partial<Record<WorkbenchCreationHomeLineKind, CreationConsoleQuestionKind>>> = {\n [WorkbenchCreationHomeLineKind.CLARIFICATION]: CreationConsoleQuestionKind.CLARIFICATION,\n [WorkbenchCreationHomeLineKind.PARKED_QUESTION]: CreationConsoleQuestionKind.PARKED_CODING_QUESTION,\n};\n\nfunction isoOrNull(value: unknown): string | null {\n if (value instanceof Date) return Number.isNaN(value.getTime()) ? null : value.toISOString();\n return typeof value === 'string' && value.length > 0 ? value : null;\n}\n\n/** Newest first; an item with no instant sorts after every item with one. */\nfunction compareNewestFirst(left: string | null, right: string | null): number {\n if (left === null && right === null) return 0;\n if (left === null) return 1;\n if (right === null) return -1;\n return right.localeCompare(left);\n}\n\nexport interface CreationConsoleQuestionInputs {\n readonly waiting: readonly Workbench_WaitingPlaybookRun[];\n readonly parked: readonly Workbench_ParkedCodingQuestion[];\n readonly dossier: readonly Workbench_DossierEntry[];\n readonly governance: readonly Workbench_GovernanceQuestion[];\n}\n\n/**\n * Everything waiting on the person, as ONE queue — in the order Home ranks it: what holds a live run\n * first (a clarification round, a parked coding worker), newest first; then the interview questions a\n * step can run as soon as they are answered; then the facts drafted documents still need.\n *\n * The selection is the projection's, never re-derived: a dossier entry is queued when it is\n * `askedNow`, a governance question when it is `askedNow`, a waiting run when its checkpoint is\n * READABLE (an unreadable checkpoint is a condition an operator inspects, not a question anyone can\n * answer — the same cut Home makes).\n */\nexport function buildCreationConsoleQuestions(input: CreationConsoleQuestionInputs): CreationConsole_Question[] {\n const blank = {\n playbookRef: null,\n taskRef: null,\n instanceKey: null,\n definitionRef: null,\n revision: null,\n producingFamily: null,\n dryRun: null,\n resumable: null,\n affectsFamilies: [] as string[],\n routedToUserId: null,\n };\n\n const holdingARun: CreationConsole_Question[] = [];\n for (const waiting of input.waiting) {\n if (!waiting.readable || waiting.round === null) continue;\n holdingARun.push({\n ...blank,\n questionId: formatCreationConsoleQuestionId(CreationConsoleQuestionKind.CLARIFICATION, waiting.workbenchWaitingPlaybookRunId),\n kind: CreationConsoleQuestionKind.CLARIFICATION,\n askedAt: isoOrNull(waiting.suspendedAt),\n playbookRef: waiting.playbookRef,\n revision: String(waiting.round),\n fields: waiting.requests.map((request) => ({\n ref: request.ref,\n question: request.question,\n why: request.why,\n kind: request.kind,\n options: [...request.options],\n })),\n /*\n * A question routed to its run's starter (#1751) is theirs alone, and the console carries no person:\n * listed, so nothing waiting is hidden, and answered in the workbench as them.\n */\n actions: waiting.routedToUserId\n ? []\n : [CreationConsoleAnswerAction.ANSWER, CreationConsoleAnswerAction.DECLINE, CreationConsoleAnswerAction.CANCEL],\n routedToUserId: waiting.routedToUserId,\n producingFamily: waiting.family,\n dryRun: waiting.dryRun,\n });\n }\n for (const parked of input.parked) {\n holdingARun.push({\n ...blank,\n questionId: formatCreationConsoleQuestionId(CreationConsoleQuestionKind.PARKED_CODING_QUESTION, parked.workbenchParkedCodingQuestionId),\n kind: CreationConsoleQuestionKind.PARKED_CODING_QUESTION,\n askedAt: isoOrNull(parked.parkedAt),\n taskRef: parked.taskRef,\n revision: parked.suspensionRef,\n /* The agent asks ONE free-text question; the field ref is the one the workbench's gate answers under. */\n fields: [{ ref: WORKBENCH_PARKED_CODING_QUESTION_FIELD_REF, question: parked.question, why: null, kind: HumanDecision_FieldKind.FREE_TEXT, options: [] }],\n actions: [CreationConsoleAnswerAction.ANSWER, CreationConsoleAnswerAction.CANCEL],\n resumable: parked.resumable,\n });\n }\n holdingARun.sort((left, right) => compareNewestFirst(left.askedAt, right.askedAt));\n\n const interview: CreationConsole_Question[] = input.dossier\n .filter((entry) => entry.askedNow)\n .slice()\n .sort((left, right) => left.playbookRef.localeCompare(right.playbookRef) || left.position - right.position)\n .map((entry) => ({\n ...blank,\n questionId: formatCreationConsoleQuestionId(CreationConsoleQuestionKind.INTERVIEW, entry.workbenchDossierEntryId),\n kind: CreationConsoleQuestionKind.INTERVIEW,\n askedAt: null,\n playbookRef: entry.playbookRef,\n instanceKey: entry.instanceKey,\n fields: [{ ref: entry.questionRef, question: entry.question, why: null, kind: entry.kind, options: [...entry.options] }],\n actions: [CreationConsoleAnswerAction.ANSWER],\n affectsFamilies: [...entry.affectsFamilies],\n }));\n\n const governance: CreationConsole_Question[] = input.governance\n .filter((question) => question.askedNow)\n .map((question) => ({\n ...blank,\n questionId: formatCreationConsoleQuestionId(CreationConsoleQuestionKind.GOVERNANCE_FACT, question.workbenchGovernanceQuestionId),\n kind: CreationConsoleQuestionKind.GOVERNANCE_FACT,\n askedAt: null,\n definitionRef: question.definitionRef,\n fields: [{\n ref: question.questionRef,\n question: question.creatorPrompt,\n why: question.decisionPurpose,\n kind: question.answerKind,\n options: question.semanticOptions.map((option) => option.optionRef),\n }],\n /* Listed, never answered here — see `CreationConsoleQuestionKind.GOVERNANCE_FACT`. */\n actions: [],\n }));\n\n return [...holdingARun, ...interview, ...governance];\n}\n\n/**\n * Home's lines as FEED lines: each carries the row it points at, so a console reads a completed run's\n * verdict or a dispatch's error in the same read, and the id of the one question it is about, so the\n * console can answer it without a lookup.\n *\n * `resolveTarget` is the projection's row for (resource type, row id), or `null` when the row has gone\n * since the line was derived — a line whose target moved on is still a true line about the past.\n */\nexport function buildCreationConsoleFeed(\n lines: readonly Workbench_CreationHomeLine[],\n resolveTarget: (resourceType: string, resourceId: string) => Record<string, unknown> | null,\n): CreationConsole_FeedLine[] {\n return lines.map((line) => {\n const questionKind = QUESTION_KIND_BY_LINE_KIND[line.kind];\n return {\n lineId: line.workbenchCreationHomeLineId,\n section: line.section,\n kind: line.kind,\n at: isoOrNull(line.at),\n playbookRef: line.playbookRef,\n taskRef: line.taskRef,\n subject: line.subject,\n failed: line.failed,\n acceptable: line.acceptable,\n needsAnswers: line.needsAnswers,\n stuckReason: line.stuckReason,\n targetResourceType: line.targetResourceType,\n targetResourceId: line.targetResourceId,\n target: resolveTarget(line.targetResourceType, line.targetResourceId),\n questionId: questionKind ? formatCreationConsoleQuestionId(questionKind, line.targetResourceId) : null,\n };\n });\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"creation-home-projection.companion.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"creation-home-projection.companion.d.ts","sourceRoot":"","sources":["../../../../../src/core/introspection/resources/creation-home-projection.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,oDAAoD,CAAC;AACpG,OAAO,EAGL,4BAA4B,EAG5B,wBAAwB,E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;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,iBAAiB,EAAE,QAAQ,CAAC,MAAM,CAAC,8BAA8B,EAAE,wBAAwB,GAAG,IAAI,CAAC,CAqD/G,CAAC;AAEF,MAAM,WAAW,qBAAqB;IACpC,+DAA+D;IAC/D,QAAQ,CAAC,SAAS,EAAE,SAAS;QAAE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,KAAK,EAAE,mCAAmC,CAAA;KAAE,EAAE,CAAC;IAChH,iHAAiH;IACjH,QAAQ,CAAC,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC5C,gCAAgC;IAChC,QAAQ,CAAC,KAAK,EAAE,SAAS;QAAE,QAAQ,CAAC,MAAM,EAAE,4BAA4B,CAAA;KAAE,EAAE,CAAC;IAC7E;;;OAGG;IACH,QAAQ,CAAC,mBAAmB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CAClD;AAED;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,qBAAqB,GAAG,SAAS,kBAAkB,EAAE,CAwDjG;AAED,kFAAkF;AAClF,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,uBAAuB,EAAE,QAAQ,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"creation-home-projection.companion.js","sourceRoot":"","sources":["../../../../../../src/core/introspection/resources/creation-home-projection.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,oDAAoD,CAAC;AACpG,OAAO,EACL,4BAA4B,EAC5B,0BAA0B,EAC1B,4BAA4B,EAC5B,6BAA6B,EAC7B,4BAA4B,EAC5B,wBAAwB,EACxB,8BAA8B,EAC9B,4BAA4B,EAC5B,mCAAmC,EACnC,oCAAoC,GAWrC,MAAM,gCAAgC,CAAC;AAyBxC,4EAA4E;AAC5E,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAA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KAAK,8BAA8B,CAAC,IAAI,CAAC,CAAC;YACrF,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,mBAAmB,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC;QACpK,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,mBAAmB,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC;QAC9J,CAAC;IACH,CAAC,CAAC,CAAC;IACH,OAAO,oCAAoC,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,CAAE,CAAC,CAAC;AACnF,CAAC","sourcesContent":["import { ApplicationSpecificationFamily } from '@wildo-ai/saas-specifications/application-creation';\nimport {\n Workbench_BuildDispatchPhase,\n Workbench_PlaybookRunState,\n WorkbenchBuildPlanTaskStatus,\n WorkbenchCreationHomeLineKind,\n WorkbenchCreationHomeSection,\n WorkbenchCreationOutcome,\n WorkbenchCreationOutcomeStatus,\n WorkbenchShared_ResourceType,\n WorkbenchSpecificationArtifactState,\n WORKBENCH_CREATION_OUTCOMES_IN_ORDER,\n type Workbench_BuildDispatch,\n type Workbench_BuildDispatchPlan,\n type Workbench_BuildPlanTask,\n type Workbench_CreationHomeLine,\n type Workbench_CreationOutcome,\n type Workbench_GovernanceDocument,\n type Workbench_ParkedCodingQuestion,\n type Workbench_Playbook,\n type Workbench_PlaybookRun,\n type Workbench_WaitingPlaybookRun,\n} from '@wildo-ai/platform-core-shared';\n\n/**\n * HOME, derived (#1454): the lines the conversation page opens on, and where the application\n * stands — pure functions of the creation-plane rows the projection service already computes.\n *\n * ## Why here and not in the page\n *\n * Until 2026-09-22 the workbench read seven resources on their own cadences and derived every one\n * of these facts itself, on every poll, in three modules nothing but the page could reach. A line\n * is a FACT about the application (\"this run was refused\", \"this task's writes wait to be\n * committed\", \"this step can run and its output is missing\"); facts are derived where the rows are,\n * once, and served as rows (`derive-before-you-ask.md`). The page renders; the assistant's tools read\n * the same rows; and a test of the derivation is a test of what every reader sees.\n *\n * Both builders take the ROWS — the projected shapes the resources serve — rather than the companion\n * services' own records, so a fact is decided from exactly what a reader could see, never from a\n * field the projection dropped.\n */\n\n/** The row shape the home-lines projection emits, before the identity is stamped. */\nexport type CreationHomeLineRow = Omit<Workbench_CreationHomeLine, 'workbenchCreationHomeLineId'>;\n/** The row shape the outcomes projection emits, before the identity is stamped. */\nexport type CreationOutcomeRow = Omit<Workbench_CreationOutcome, 'workbenchCreationOutcomeId'>;\n\n/** How many playbook suggestions Home shows beside the plan's next step. */\nexport const HOME_PLAYBOOK_SUGGESTION_COUNT = 3;\n\n/** Newest first; a row with no instant sorts after every row with one. */\nfunction compareNewestFirst(left: Date | null, right: Date | null): number {\n if (left === null && right === null) return 0;\n if (left === null) return 1;\n if (right === null) return -1;\n return right.getTime() - left.getTime();\n}\n\n/**\n * The RANKING of what is asked of the creator: what stops a run that is otherwise executing comes\n * first (a clarification, a parked question); a document waiting on a fact does not block a run and\n * comes after. Within a rank, newest first.\n */\nconst ASKED_RANK: Readonly<Partial<Record<WorkbenchCreationHomeLineKind, number>>> = {\n [WorkbenchCreationHomeLineKind.CLARIFICATION]: 0,\n [WorkbenchCreationHomeLineKind.PARKED_QUESTION]: 0,\n [WorkbenchCreationHomeLineKind.GOVERNANCE_DOCUMENT]: 1,\n /*\n * Below a question (which holds a live agent session) and above a document: the plan is frozen\n * until it is unblocked, and the usual remedy is one commit.\n */\n [WorkbenchCreationHomeLineKind.UNBLOCK_THE_PLAN]: 1,\n};\n\nexport interface CreationHomeLineInputs {\n readonly runs: readonly Workbench_PlaybookRun[];\n readonly dispatches: readonly Workbench_BuildDispatch[];\n readonly waiting: readonly Workbench_WaitingPlaybookRun[];\n readonly parked: readonly Workbench_ParkedCodingQuestion[];\n readonly documents: readonly Workbench_GovernanceDocument[];\n readonly dispatchPlan: readonly Workbench_BuildDispatchPlan[];\n readonly playbooks: readonly Workbench_Playbook[];\n /** Every family the artifact projection reports, with its state. */\n readonly artifacts: readonly { readonly family: string; readonly state: WorkbenchSpecificationArtifactState }[];\n}\n\n/**\n * Every line of Home, all three sections. SINCE lines are NOT windowed here: \"since the creator was\n * last here\" is a per-viewer fact the page keeps in its own browser, so the page cuts the list; the\n * projection serves every settled run and dispatch it knows, newest first, and every interrupted\n * run whatever its date.\n */\nexport function buildCreationHomeLines(input: CreationHomeLineInputs): readonly CreationHomeLineRow[] {\n const line = (\n section: WorkbenchCreationHomeSection,\n kind: WorkbenchCreationHomeLineKind,\n target: { resourceType: WorkbenchShared_ResourceType; resourceId: string },\n facts: Partial<Pick<CreationHomeLineRow, 'at' | 'playbookRef' | 'taskRef' | 'subject' | 'failed' | 'acceptable' | 'needsAnswers' | 'stuckReason'>> = {},\n ): CreationHomeLineRow => ({\n section,\n kind,\n at: null,\n playbookRef: null,\n taskRef: null,\n subject: null,\n failed: false,\n acceptable: false,\n needsAnswers: false,\n stuckReason: null,\n targetResourceType: target.resourceType,\n targetResourceId: target.resourceId,\n ...facts,\n });\n\n /* SINCE — what happened. */\n const since: CreationHomeLineRow[] = [];\n for (const run of input.runs) {\n const target = { resourceType: WorkbenchShared_ResourceType.PLAYBOOK_RUNS, resourceId: run.workbenchPlaybookRunId };\n if (run.state === Workbench_PlaybookRunState.COMPLETED) {\n since.push(line(WorkbenchCreationHomeSection.SINCE, WorkbenchCreationHomeLineKind.RUN_COMPLETED, target, {\n at: run.finishedAt ?? null, playbookRef: run.playbookRef, failed: run.ok === false,\n }));\n } else if (run.state === Workbench_PlaybookRunState.INTERRUPTED) {\n since.push(line(WorkbenchCreationHomeSection.SINCE, WorkbenchCreationHomeLineKind.RUN_INTERRUPTED, target, {\n at: run.checkpointedAt ?? run.startedAt ?? null, playbookRef: run.playbookRef,\n }));\n }\n }\n for (const dispatch of input.dispatches) {\n if (dispatch.phase !== Workbench_BuildDispatchPhase.FINISHED && dispatch.phase !== Workbench_BuildDispatchPhase.FAILED) continue;\n since.push(line(WorkbenchCreationHomeSection.SINCE, WorkbenchCreationHomeLineKind.DISPATCH_SETTLED,\n { resourceType: WorkbenchShared_ResourceType.BUILD_DISPATCHES, resourceId: dispatch.workbenchBuildDispatchId }, {\n at: dispatch.settledAt ?? null,\n taskRef: dispatch.taskRef,\n failed: dispatch.phase === Workbench_BuildDispatchPhase.FAILED,\n /* The one state ACCEPT addresses: finished, its writes recorded, nothing committed yet. */\n acceptable: dispatch.phase === Workbench_BuildDispatchPhase.FINISHED && dispatch.accepted === false,\n }));\n }\n since.sort((left, right) => compareNewestFirst(left.at, right.at));\n\n /* ASKED — what blocks something NOW and waits on the creator. */\n const asked: CreationHomeLineRow[] = [];\n for (const waiting of input.waiting) {\n /* An unreadable checkpoint is a condition to show on its own row, not a question anyone can answer. */\n if (!waiting.readable) continue;\n asked.push(line(WorkbenchCreationHomeSection.ASKED, WorkbenchCreationHomeLineKind.CLARIFICATION,\n { resourceType: WorkbenchShared_ResourceType.WAITING_PLAYBOOK_RUNS, resourceId: waiting.workbenchWaitingPlaybookRunId },\n { at: waiting.suspendedAt ?? null, playbookRef: waiting.playbookRef ?? null }));\n }\n for (const parked of input.parked) {\n asked.push(line(WorkbenchCreationHomeSection.ASKED, WorkbenchCreationHomeLineKind.PARKED_QUESTION,\n { resourceType: WorkbenchShared_ResourceType.PARKED_CODING_QUESTIONS, resourceId: parked.workbenchParkedCodingQuestionId },\n { at: parked.parkedAt ?? null, taskRef: parked.taskRef }));\n }\n for (const document of input.documents) {\n /*\n * Only a document the creator ASKED FOR (a draft exists) and that still needs a fact (#1454,\n * Step 6). A permanent count of every open fact of every undrafted document would train the eye\n * to skip the number.\n */\n if (!document.drafted || document.openCount === 0) continue;\n asked.push(line(WorkbenchCreationHomeSection.ASKED, WorkbenchCreationHomeLineKind.GOVERNANCE_DOCUMENT,\n { resourceType: WorkbenchShared_ResourceType.GOVERNANCE_DOCUMENTS, resourceId: document.workbenchGovernanceDocumentId },\n { subject: document.definitionRef }));\n }\n /*\n * The plan itself, when it can run NOTHING (#1451). The dispatch-plan row carries one entry per\n * ready task dispatch passed over, and a row with no `taskRef` that is not `exhausted` means every\n * one of them is stuck — so this is the state where the plan needs the creator rather than a\n * dispatch. One line per stuck task: each carries its own remedy.\n *\n * Beside a next task the row still lists what the selection skipped, and those are NOT shown here:\n * the plan is moving, and a line asking for something that is not blocking anything is how an\n * ASKED list stops being read.\n */\n for (const row of input.dispatchPlan) {\n if (row.taskRef !== null || row.exhausted) continue;\n for (const stuck of row.stuckTasks ?? []) {\n asked.push(line(WorkbenchCreationHomeSection.ASKED, WorkbenchCreationHomeLineKind.UNBLOCK_THE_PLAN,\n { resourceType: WorkbenchShared_ResourceType.BUILD_DISPATCH_PLAN, resourceId: row.workbenchBuildDispatchPlanId },\n { taskRef: stuck.taskRef, stuckReason: stuck.reason }));\n }\n }\n asked.sort((left, right) => {\n const rank = (ASKED_RANK[left.kind] ?? 9) - (ASKED_RANK[right.kind] ?? 9);\n return rank !== 0 ? rank : compareNewestFirst(left.at, right.at);\n });\n\n /*\n * SUGGESTION — what the creator could do next, outcome-first: the plan's next READY task, then\n * eligible playbooks producing a MISSING family before those refreshing a STALE one (a gap is\n * worth more than a refresh), capped.\n */\n const suggestions: CreationHomeLineRow[] = [];\n const next = input.dispatchPlan.find((row) => row.taskRef !== null && row.objective !== null);\n if (next && next.taskRef && next.objective) {\n suggestions.push(line(WorkbenchCreationHomeSection.SUGGESTION, WorkbenchCreationHomeLineKind.CONTINUE_THE_PLAN,\n { resourceType: WorkbenchShared_ResourceType.BUILD_DISPATCH_PLAN, resourceId: next.workbenchBuildDispatchPlanId },\n { taskRef: next.taskRef, subject: next.objective }));\n }\n const missingFamilies = new Set(\n input.artifacts.filter((artifact) => artifact.state === WorkbenchSpecificationArtifactState.NOT_LANDED).map((artifact) => artifact.family),\n );\n const producing: CreationHomeLineRow[] = [];\n const refreshing: CreationHomeLineRow[] = [];\n for (const playbook of input.playbooks) {\n if (!playbook.eligible) continue;\n const target = { resourceType: WorkbenchShared_ResourceType.PLAYBOOKS, resourceId: playbook.workbenchPlaybookId };\n const facts = { playbookRef: playbook.playbookRef, needsAnswers: playbook.unansweredQuestionRefs.length > 0 };\n if (playbook.outputOwners.some((owner) => missingFamilies.has(owner.family))) {\n producing.push(line(WorkbenchCreationHomeSection.SUGGESTION, WorkbenchCreationHomeLineKind.PRODUCE_MISSING, target, facts));\n } else if (playbook.staleOutputs.length > 0) {\n refreshing.push(line(WorkbenchCreationHomeSection.SUGGESTION, WorkbenchCreationHomeLineKind.REFRESH_STALE, target, facts));\n }\n }\n const playbookSuggestions = [...producing, ...refreshing].slice(0, HOME_PLAYBOOK_SUGGESTION_COUNT);\n\n return [...since, ...asked, ...suggestions, ...playbookSuggestions];\n}\n\n/**\n * Every specification family belongs to exactly ONE outcome, and the map is TOTAL by construction:\n * `Record<ApplicationSpecificationFamily, …>` makes a family added to the semantic authority a\n * compile error here until it is placed. That is the property the page's mock promised — \"derived\n * from what exists\" — and the reason this is a typed record rather than a lookup with a default.\n *\n * `RISK_REGISTER` is under the rules rather than under what-we-build: it says what the exposure\n * MEANS, which is an obligation, and its playbook is in the compliance analysis.\n *\n * `null` is a placement too, and the map stays total: `CREATOR_INPUTS` — the dossier — is INPUT the\n * creator gives, never a deliverable a step produces, so counting it toward an outcome would make\n * \"know what we build\" one answer closer to done for having been asked a question. A family placed\n * `null` is measured by nothing; the compiler still refuses a family placed nowhere.\n */\nexport const OUTCOME_BY_FAMILY: Readonly<Record<ApplicationSpecificationFamily, WorkbenchCreationOutcome | null>> = {\n [ApplicationSpecificationFamily.VISION_BRIEF]: WorkbenchCreationOutcome.KNOW_WHAT_WE_BUILD,\n [ApplicationSpecificationFamily.MARKET_SNAPSHOT]: WorkbenchCreationOutcome.KNOW_WHAT_WE_BUILD,\n [ApplicationSpecificationFamily.REQUIREMENTS]: WorkbenchCreationOutcome.KNOW_WHAT_WE_BUILD,\n [ApplicationSpecificationFamily.FEATURE_DRAFTS]: WorkbenchCreationOutcome.KNOW_WHAT_WE_BUILD,\n [ApplicationSpecificationFamily.BUSINESS_MODEL]: WorkbenchCreationOutcome.KNOW_WHAT_WE_BUILD,\n [ApplicationSpecificationFamily.ROADMAP]: WorkbenchCreationOutcome.KNOW_WHAT_WE_BUILD,\n [ApplicationSpecificationFamily.BRAND_BRIEF]: WorkbenchCreationOutcome.KNOW_WHAT_WE_BUILD,\n [ApplicationSpecificationFamily.COMPLIANCE_PROGRAM]: WorkbenchCreationOutcome.KNOW_THE_RULES,\n [ApplicationSpecificationFamily.COMPLIANCE_DOCUMENT_CANDIDATE]: WorkbenchCreationOutcome.KNOW_THE_RULES,\n [ApplicationSpecificationFamily.COMPLIANCE_DOCUMENT_CANDIDATE_SET]: WorkbenchCreationOutcome.KNOW_THE_RULES,\n [ApplicationSpecificationFamily.DOCUMENT_RELEASE_POLICY]: WorkbenchCreationOutcome.KNOW_THE_RULES,\n [ApplicationSpecificationFamily.DOCUMENT_FACTS]: WorkbenchCreationOutcome.KNOW_THE_RULES,\n [ApplicationSpecificationFamily.DOCUMENT_FACTS_AUTHORED]: WorkbenchCreationOutcome.KNOW_THE_RULES,\n [ApplicationSpecificationFamily.PROCESSOR_REGISTER]: WorkbenchCreationOutcome.KNOW_THE_RULES,\n [ApplicationSpecificationFamily.RISK_REGISTER]: WorkbenchCreationOutcome.KNOW_THE_RULES,\n [ApplicationSpecificationFamily.DOMAIN_PLAN]: WorkbenchCreationOutcome.APPLICATION_WORKS,\n [ApplicationSpecificationFamily.PLACEMENT_PLAN]: WorkbenchCreationOutcome.APPLICATION_WORKS,\n [ApplicationSpecificationFamily.BUILD_PLAN]: WorkbenchCreationOutcome.APPLICATION_WORKS,\n // Which optional packages the application is composed with — part of the application working, like its placement (#1491).\n [ApplicationSpecificationFamily.CAPABILITY_COMPOSITION]: WorkbenchCreationOutcome.APPLICATION_WORKS,\n /*\n * READY_FOR_A_REAL_USER, not APPLICATION_WORKS: an application works without a marketing site, and\n * what the site says is what a stranger meets first (#1492). The same reading the governed\n * documents carry — the outcome is about facing the public, not about the product functioning.\n */\n [ApplicationSpecificationFamily.WEBSITE_PLAN]: WorkbenchCreationOutcome.READY_FOR_A_REAL_USER,\n /* Same reading as the website: documentation is what a stranger meets, not what makes the product work. */\n [ApplicationSpecificationFamily.DOCUMENTATION_PLAN]: WorkbenchCreationOutcome.READY_FOR_A_REAL_USER,\n /* APPLICATION_WORKS: without a composed shell there is no route to the generated screens (#1493). */\n [ApplicationSpecificationFamily.EXPERIENCE_PLAN]: WorkbenchCreationOutcome.APPLICATION_WORKS,\n /*\n * APPLICATION_WORKS: a worker the backend delegates to, and a minion that keeps the data true,\n * are part of the product functioning — not of it facing a stranger (#1495). An application whose\n * nightly sweep was never planned works wrongly in a way no screen shows.\n */\n [ApplicationSpecificationFamily.INTEGRATION_PLAN]: WorkbenchCreationOutcome.APPLICATION_WORKS,\n /*\n * `null`, and this one is the most important null in the map (#1496): the maturity reading is a\n * MEASUREMENT OF the outcomes, so counting it toward one would let an application advance for\n * having measured itself. It is also never \"done\" by construction — the next requirement lowers\n * it — so an outcome that waited for it could never complete.\n */\n [ApplicationSpecificationFamily.APPLICATION_MATURITY]: null,\n [ApplicationSpecificationFamily.DOCUMENT_PUBLICATION]: WorkbenchCreationOutcome.READY_FOR_A_REAL_USER,\n [ApplicationSpecificationFamily.DOCUMENT_RELEASE_SET]: WorkbenchCreationOutcome.READY_FOR_A_REAL_USER,\n [ApplicationSpecificationFamily.CREATOR_INPUTS]: null,\n /*\n * `null` for the same reason as the dossier: the expert-persona charters STAFF the panels that decide\n * placement and the logo; they say nothing about the product itself, so counting them toward an outcome\n * would move \"application works\" for having hired reviewers (#572).\n */\n [ApplicationSpecificationFamily.EXPERT_PERSONAS]: null,\n};\n\nexport interface CreationOutcomeInputs {\n /** The artifact projection's rows, one per family it knows. */\n readonly artifacts: readonly { readonly family: string; readonly state: WorkbenchSpecificationArtifactState }[];\n /** Every family some playbook reports as stale — the union of `staleOutputs[].family` over the playbook rows. */\n readonly staleFamilies: ReadonlySet<string>;\n /** The build-plan task rows. */\n readonly tasks: readonly { readonly status: WorkbenchBuildPlanTaskStatus }[];\n /**\n * The application's runtimes a live supervisor has paused (`readUnavailableApplicationRuntimes`), or\n * undefined when none could answer (#1537).\n */\n readonly unavailableRuntimes?: readonly string[];\n}\n\n/**\n * Where the application stands, outcome by outcome — always four rows, in reading order. \"Done\" is\n * strict: every family of the outcome landed, valid and not stale; for the application working,\n * every build task landed too; for readiness, every OTHER outcome done as well — an application is\n * not ready for a real user because its documents are published while its build plan is\n * half-landed.\n *\n * A family the projection does not report is not counted against an outcome: the population is the\n * reported rows, filtered through the total map, never the map alone.\n */\nexport function buildCreationOutcomes(input: CreationOutcomeInputs): readonly CreationOutcomeRow[] {\n const isFamily = (value: string): value is ApplicationSpecificationFamily => Object.prototype.hasOwnProperty.call(OUTCOME_BY_FAMILY, value);\n\n const counts = new Map<WorkbenchCreationOutcome, { total: number; landed: number; invalid: number; missing: number; stale: number }>();\n for (const outcome of WORKBENCH_CREATION_OUTCOMES_IN_ORDER) counts.set(outcome, { total: 0, landed: 0, invalid: 0, missing: 0, stale: 0 });\n for (const artifact of input.artifacts) {\n if (!isFamily(artifact.family)) continue;\n const outcome = OUTCOME_BY_FAMILY[artifact.family];\n if (outcome === null) continue;\n const count = counts.get(outcome)!;\n count.total += 1;\n if (artifact.state === WorkbenchSpecificationArtifactState.NOT_LANDED) count.missing += 1;\n else if (artifact.state === WorkbenchSpecificationArtifactState.LANDED_INVALID) count.invalid += 1;\n else if (input.staleFamilies.has(artifact.family)) count.stale += 1;\n else count.landed += 1;\n }\n\n const tasksTotal = input.tasks.length;\n const tasksLanded = input.tasks.filter((task) => task.status === WorkbenchBuildPlanTaskStatus.LANDED).length;\n\n const statusOf = (count: { total: number; landed: number; invalid: number; stale: number }, extraDone: boolean, extraStarted: boolean): WorkbenchCreationOutcomeStatus => {\n const familiesDone = count.total > 0 && count.landed === count.total;\n if (familiesDone && extraDone) return WorkbenchCreationOutcomeStatus.DONE;\n const started = count.landed + count.invalid + count.stale > 0 || extraStarted;\n return started ? WorkbenchCreationOutcomeStatus.IN_PROGRESS : WorkbenchCreationOutcomeStatus.NOT_STARTED;\n };\n\n const rows = new Map<WorkbenchCreationOutcome, CreationOutcomeRow>();\n WORKBENCH_CREATION_OUTCOMES_IN_ORDER.forEach((outcome, position) => {\n const count = counts.get(outcome)!;\n const families = {\n familiesTotal: count.total, familiesLanded: count.landed, familiesInvalid: count.invalid, familiesMissing: count.missing, familiesStale: count.stale,\n };\n if (outcome === WorkbenchCreationOutcome.APPLICATION_WORKS) {\n /*\n * An application that cannot start does not work, whatever has landed (#1537). Measured on the\n * first end-to-end run: the backend was paused by its supervisor for hours while this row read\n * as progress. Never DONE while a runtime is down; still IN_PROGRESS, because the work landed so\n * far is real — the row says what it is, and `unavailableRuntimes` says what stops it.\n */\n const unavailableRuntimes = input.unavailableRuntimes === undefined ? null : [...input.unavailableRuntimes];\n const runtimeDown = unavailableRuntimes !== null && unavailableRuntimes.length > 0;\n rows.set(outcome, {\n outcome, position, ...families, tasksTotal, tasksLanded, unavailableRuntimes,\n status: statusOf(count, tasksTotal > 0 && tasksLanded === tasksTotal && !runtimeDown, tasksLanded > 0 || runtimeDown),\n });\n } else if (outcome === WorkbenchCreationOutcome.READY_FOR_A_REAL_USER) {\n const othersDone = WORKBENCH_CREATION_OUTCOMES_IN_ORDER\n .filter((other) => other !== outcome)\n .every((other) => rows.get(other)?.status === WorkbenchCreationOutcomeStatus.DONE);\n rows.set(outcome, { outcome, position, ...families, tasksTotal: null, tasksLanded: null, unavailableRuntimes: null, status: statusOf(count, othersDone, false) });\n } else {\n rows.set(outcome, { outcome, position, ...families, tasksTotal: null, tasksLanded: null, unavailableRuntimes: null, status: statusOf(count, true, false) });\n }\n });\n return WORKBENCH_CREATION_OUTCOMES_IN_ORDER.map((outcome) => rows.get(outcome)!);\n}\n\n/** The build-plan task rows' status — the one field the outcomes read of them. */\nexport type CreationOutcomeTaskRow = Pick<Workbench_BuildPlanTask, 'status'>;\n"]}
|
|
1
|
+
{"version":3,"file":"creation-home-projection.companion.js","sourceRoot":"","sources":["../../../../../src/core/introspection/resources/creation-home-projection.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,oDAAoD,CAAC;AACpG,OAAO,EACL,4BAA4B,EAC5B,0BAA0B,EAC1B,4BAA4B,EAC5B,6BAA6B,EAC7B,4BAA4B,EAC5B,wBAAwB,EACxB,8BAA8B,EAC9B,4BAA4B,EAC5B,mCAAmC,EACnC,oCAAoC,GAWrC,MAAM,gCAAgC,CAAC;AAyBxC,4EAA4E;AAC5E,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC;AAEhD,0EAA0E;AAC1E,SAAS,kBAAkB,CAAC,IAAiB,EAAE,KAAkB;IAC/D,IAAI,IAAI,KAAK,IAAI,IAAI,KAAK,KAAK,IAAI;QAAE,OAAO,CAAC,CAAC;IAC9C,IAAI,IAAI,KAAK,IAAI;QAAE,OAAO,CAAC,CAAC;IAC5B,IAAI,KAAK,KAAK,IAAI;QAAE,OAAO,CAAC,CAAC,CAAC;IAC9B,OAAO,KAAK,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;AAC1C,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,GAAqE;IACnF,CAAC,6BAA6B,CAAC,aAAa,CAAC,EAAE,CAAC;IAChD,CAAC,6BAA6B,CAAC,eAAe,CAAC,EAAE,CAAC;I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AQ,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC;QAC9J,CAAC;IACH,CAAC,CAAC,CAAC;IACH,OAAO,oCAAoC,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,CAAE,CAAC,CAAC;AACnF,CAAC","sourcesContent":["import { ApplicationSpecificationFamily } from '@wildo-ai/saas-specifications/application-creation';\nimport {\n Workbench_BuildDispatchPhase,\n Workbench_PlaybookRunState,\n WorkbenchBuildPlanTaskStatus,\n WorkbenchCreationHomeLineKind,\n WorkbenchCreationHomeSection,\n WorkbenchCreationOutcome,\n WorkbenchCreationOutcomeStatus,\n WorkbenchShared_ResourceType,\n WorkbenchSpecificationArtifactState,\n WORKBENCH_CREATION_OUTCOMES_IN_ORDER,\n type Workbench_BuildDispatch,\n type Workbench_BuildDispatchPlan,\n type Workbench_BuildPlanTask,\n type Workbench_CreationHomeLine,\n type Workbench_CreationOutcome,\n type Workbench_GovernanceDocument,\n type Workbench_ParkedCodingQuestion,\n type Workbench_Playbook,\n type Workbench_PlaybookRun,\n type Workbench_WaitingPlaybookRun,\n} from '@wildo-ai/platform-core-shared';\n\n/**\n * HOME, derived (#1454): the lines the conversation page opens on, and where the application\n * stands — pure functions of the creation-plane rows the projection service already computes.\n *\n * ## Why here and not in the page\n *\n * Until 2026-09-22 the workbench read seven resources on their own cadences and derived every one\n * of these facts itself, on every poll, in three modules nothing but the page could reach. A line\n * is a FACT about the application (\"this run was refused\", \"this task's writes wait to be\n * committed\", \"this step can run and its output is missing\"); facts are derived where the rows are,\n * once, and served as rows (`derive-before-you-ask.md`). The page renders; the assistant's tools read\n * the same rows; and a test of the derivation is a test of what every reader sees.\n *\n * Both builders take the ROWS — the projected shapes the resources serve — rather than the companion\n * services' own records, so a fact is decided from exactly what a reader could see, never from a\n * field the projection dropped.\n */\n\n/** The row shape the home-lines projection emits, before the identity is stamped. */\nexport type CreationHomeLineRow = Omit<Workbench_CreationHomeLine, 'workbenchCreationHomeLineId'>;\n/** The row shape the outcomes projection emits, before the identity is stamped. */\nexport type CreationOutcomeRow = Omit<Workbench_CreationOutcome, 'workbenchCreationOutcomeId'>;\n\n/** How many playbook suggestions Home shows beside the plan's next step. */\nexport const HOME_PLAYBOOK_SUGGESTION_COUNT = 3;\n\n/** Newest first; a row with no instant sorts after every row with one. */\nfunction compareNewestFirst(left: Date | null, right: Date | null): number {\n if (left === null && right === null) return 0;\n if (left === null) return 1;\n if (right === null) return -1;\n return right.getTime() - left.getTime();\n}\n\n/**\n * The RANKING of what is asked of the creator: what stops a run that is otherwise executing comes\n * first (a clarification, a parked question); a document waiting on a fact does not block a run and\n * comes after. Within a rank, newest first.\n */\nconst ASKED_RANK: Readonly<Partial<Record<WorkbenchCreationHomeLineKind, number>>> = {\n [WorkbenchCreationHomeLineKind.CLARIFICATION]: 0,\n [WorkbenchCreationHomeLineKind.PARKED_QUESTION]: 0,\n [WorkbenchCreationHomeLineKind.GOVERNANCE_DOCUMENT]: 1,\n /*\n * Below a question (which holds a live agent session) and above a document: the plan is frozen\n * until it is unblocked, and the usual remedy is one commit.\n */\n [WorkbenchCreationHomeLineKind.UNBLOCK_THE_PLAN]: 1,\n};\n\nexport interface CreationHomeLineInputs {\n readonly runs: readonly Workbench_PlaybookRun[];\n readonly dispatches: readonly Workbench_BuildDispatch[];\n readonly waiting: readonly Workbench_WaitingPlaybookRun[];\n readonly parked: readonly Workbench_ParkedCodingQuestion[];\n readonly documents: readonly Workbench_GovernanceDocument[];\n readonly dispatchPlan: readonly Workbench_BuildDispatchPlan[];\n readonly playbooks: readonly Workbench_Playbook[];\n /** Every family the artifact projection reports, with its state. */\n readonly artifacts: readonly { readonly family: string; readonly state: WorkbenchSpecificationArtifactState }[];\n}\n\n/**\n * Every line of Home, all three sections. SINCE lines are NOT windowed here: \"since the creator was\n * last here\" is a per-viewer fact the page keeps in its own browser, so the page cuts the list; the\n * projection serves every settled run and dispatch it knows, newest first, and every interrupted\n * run whatever its date.\n */\nexport function buildCreationHomeLines(input: CreationHomeLineInputs): readonly CreationHomeLineRow[] {\n const line = (\n section: WorkbenchCreationHomeSection,\n kind: WorkbenchCreationHomeLineKind,\n target: { resourceType: WorkbenchShared_ResourceType; resourceId: string },\n facts: Partial<Pick<CreationHomeLineRow, 'at' | 'playbookRef' | 'taskRef' | 'subject' | 'failed' | 'acceptable' | 'needsAnswers' | 'stuckReason'>> = {},\n ): CreationHomeLineRow => ({\n section,\n kind,\n at: null,\n playbookRef: null,\n taskRef: null,\n subject: null,\n failed: false,\n acceptable: false,\n needsAnswers: false,\n stuckReason: null,\n targetResourceType: target.resourceType,\n targetResourceId: target.resourceId,\n ...facts,\n });\n\n /* SINCE — what happened. */\n const since: CreationHomeLineRow[] = [];\n for (const run of input.runs) {\n const target = { resourceType: WorkbenchShared_ResourceType.PLAYBOOK_RUNS, resourceId: run.workbenchPlaybookRunId };\n if (run.state === Workbench_PlaybookRunState.COMPLETED) {\n since.push(line(WorkbenchCreationHomeSection.SINCE, WorkbenchCreationHomeLineKind.RUN_COMPLETED, target, {\n at: run.finishedAt ?? null, playbookRef: run.playbookRef, failed: run.ok === false,\n }));\n } else if (run.state === Workbench_PlaybookRunState.INTERRUPTED) {\n since.push(line(WorkbenchCreationHomeSection.SINCE, WorkbenchCreationHomeLineKind.RUN_INTERRUPTED, target, {\n at: run.checkpointedAt ?? run.startedAt ?? null, playbookRef: run.playbookRef,\n }));\n }\n }\n for (const dispatch of input.dispatches) {\n if (dispatch.phase !== Workbench_BuildDispatchPhase.FINISHED && dispatch.phase !== Workbench_BuildDispatchPhase.FAILED) continue;\n since.push(line(WorkbenchCreationHomeSection.SINCE, WorkbenchCreationHomeLineKind.DISPATCH_SETTLED,\n { resourceType: WorkbenchShared_ResourceType.BUILD_DISPATCHES, resourceId: dispatch.workbenchBuildDispatchId }, {\n at: dispatch.settledAt ?? null,\n taskRef: dispatch.taskRef,\n failed: dispatch.phase === Workbench_BuildDispatchPhase.FAILED,\n /* The one state ACCEPT addresses: finished, its writes recorded, nothing committed yet. */\n acceptable: dispatch.phase === Workbench_BuildDispatchPhase.FINISHED && dispatch.accepted === false,\n }));\n }\n since.sort((left, right) => compareNewestFirst(left.at, right.at));\n\n /* ASKED — what blocks something NOW and waits on the creator. */\n const asked: CreationHomeLineRow[] = [];\n for (const waiting of input.waiting) {\n /* An unreadable checkpoint is a condition to show on its own row, not a question anyone can answer. */\n if (!waiting.readable) continue;\n asked.push(line(WorkbenchCreationHomeSection.ASKED, WorkbenchCreationHomeLineKind.CLARIFICATION,\n { resourceType: WorkbenchShared_ResourceType.WAITING_PLAYBOOK_RUNS, resourceId: waiting.workbenchWaitingPlaybookRunId },\n { at: waiting.suspendedAt ?? null, playbookRef: waiting.playbookRef ?? null }));\n }\n for (const parked of input.parked) {\n asked.push(line(WorkbenchCreationHomeSection.ASKED, WorkbenchCreationHomeLineKind.PARKED_QUESTION,\n { resourceType: WorkbenchShared_ResourceType.PARKED_CODING_QUESTIONS, resourceId: parked.workbenchParkedCodingQuestionId },\n { at: parked.parkedAt ?? null, taskRef: parked.taskRef }));\n }\n for (const document of input.documents) {\n /*\n * Only a document the creator ASKED FOR (a draft exists) and that still needs a fact (#1454,\n * Step 6). A permanent count of every open fact of every undrafted document would train the eye\n * to skip the number.\n */\n if (!document.drafted || document.openCount === 0) continue;\n asked.push(line(WorkbenchCreationHomeSection.ASKED, WorkbenchCreationHomeLineKind.GOVERNANCE_DOCUMENT,\n { resourceType: WorkbenchShared_ResourceType.GOVERNANCE_DOCUMENTS, resourceId: document.workbenchGovernanceDocumentId },\n { subject: document.definitionRef }));\n }\n /*\n * The plan itself, when it can run NOTHING (#1451). The dispatch-plan row carries one entry per\n * ready task dispatch passed over, and a row with no `taskRef` that is not `exhausted` means every\n * one of them is stuck — so this is the state where the plan needs the creator rather than a\n * dispatch. One line per stuck task: each carries its own remedy.\n *\n * Beside a next task the row still lists what the selection skipped, and those are NOT shown here:\n * the plan is moving, and a line asking for something that is not blocking anything is how an\n * ASKED list stops being read.\n */\n for (const row of input.dispatchPlan) {\n if (row.taskRef !== null || row.exhausted) continue;\n for (const stuck of row.stuckTasks ?? []) {\n asked.push(line(WorkbenchCreationHomeSection.ASKED, WorkbenchCreationHomeLineKind.UNBLOCK_THE_PLAN,\n { resourceType: WorkbenchShared_ResourceType.BUILD_DISPATCH_PLAN, resourceId: row.workbenchBuildDispatchPlanId },\n { taskRef: stuck.taskRef, stuckReason: stuck.reason }));\n }\n }\n asked.sort((left, right) => {\n const rank = (ASKED_RANK[left.kind] ?? 9) - (ASKED_RANK[right.kind] ?? 9);\n return rank !== 0 ? rank : compareNewestFirst(left.at, right.at);\n });\n\n /*\n * SUGGESTION — what the creator could do next, outcome-first: the plan's next READY task, then\n * eligible playbooks producing a MISSING family before those refreshing a STALE one (a gap is\n * worth more than a refresh), capped.\n */\n const suggestions: CreationHomeLineRow[] = [];\n const next = input.dispatchPlan.find((row) => row.taskRef !== null && row.objective !== null);\n if (next && next.taskRef && next.objective) {\n suggestions.push(line(WorkbenchCreationHomeSection.SUGGESTION, WorkbenchCreationHomeLineKind.CONTINUE_THE_PLAN,\n { resourceType: WorkbenchShared_ResourceType.BUILD_DISPATCH_PLAN, resourceId: next.workbenchBuildDispatchPlanId },\n { taskRef: next.taskRef, subject: next.objective }));\n }\n const missingFamilies = new Set(\n input.artifacts.filter((artifact) => artifact.state === WorkbenchSpecificationArtifactState.NOT_LANDED).map((artifact) => artifact.family),\n );\n const producing: CreationHomeLineRow[] = [];\n const refreshing: CreationHomeLineRow[] = [];\n for (const playbook of input.playbooks) {\n if (!playbook.eligible) continue;\n const target = { resourceType: WorkbenchShared_ResourceType.PLAYBOOKS, resourceId: playbook.workbenchPlaybookId };\n const facts = { playbookRef: playbook.playbookRef, needsAnswers: playbook.unansweredQuestionRefs.length > 0 };\n if (playbook.outputOwners.some((owner) => missingFamilies.has(owner.family))) {\n producing.push(line(WorkbenchCreationHomeSection.SUGGESTION, WorkbenchCreationHomeLineKind.PRODUCE_MISSING, target, facts));\n } else if (playbook.staleOutputs.length > 0) {\n refreshing.push(line(WorkbenchCreationHomeSection.SUGGESTION, WorkbenchCreationHomeLineKind.REFRESH_STALE, target, facts));\n }\n }\n const playbookSuggestions = [...producing, ...refreshing].slice(0, HOME_PLAYBOOK_SUGGESTION_COUNT);\n\n return [...since, ...asked, ...suggestions, ...playbookSuggestions];\n}\n\n/**\n * Every specification family belongs to exactly ONE outcome, and the map is TOTAL by construction:\n * `Record<ApplicationSpecificationFamily, …>` makes a family added to the semantic authority a\n * compile error here until it is placed. That is the property the page's mock promised — \"derived\n * from what exists\" — and the reason this is a typed record rather than a lookup with a default.\n *\n * `RISK_REGISTER` is under the rules rather than under what-we-build: it says what the exposure\n * MEANS, which is an obligation, and its playbook is in the compliance analysis.\n *\n * `null` is a placement too, and the map stays total: `CREATOR_INPUTS` — the dossier — is INPUT the\n * creator gives, never a deliverable a step produces, so counting it toward an outcome would make\n * \"know what we build\" one answer closer to done for having been asked a question. A family placed\n * `null` is measured by nothing; the compiler still refuses a family placed nowhere.\n */\nexport const OUTCOME_BY_FAMILY: Readonly<Record<ApplicationSpecificationFamily, WorkbenchCreationOutcome | null>> = {\n [ApplicationSpecificationFamily.VISION_BRIEF]: WorkbenchCreationOutcome.KNOW_WHAT_WE_BUILD,\n [ApplicationSpecificationFamily.MARKET_SNAPSHOT]: WorkbenchCreationOutcome.KNOW_WHAT_WE_BUILD,\n [ApplicationSpecificationFamily.REQUIREMENTS]: WorkbenchCreationOutcome.KNOW_WHAT_WE_BUILD,\n [ApplicationSpecificationFamily.FEATURE_DRAFTS]: WorkbenchCreationOutcome.KNOW_WHAT_WE_BUILD,\n [ApplicationSpecificationFamily.BUSINESS_MODEL]: WorkbenchCreationOutcome.KNOW_WHAT_WE_BUILD,\n [ApplicationSpecificationFamily.ROADMAP]: WorkbenchCreationOutcome.KNOW_WHAT_WE_BUILD,\n [ApplicationSpecificationFamily.BRAND_BRIEF]: WorkbenchCreationOutcome.KNOW_WHAT_WE_BUILD,\n [ApplicationSpecificationFamily.COMPLIANCE_PROGRAM]: WorkbenchCreationOutcome.KNOW_THE_RULES,\n [ApplicationSpecificationFamily.COMPLIANCE_DOCUMENT_CANDIDATE]: WorkbenchCreationOutcome.KNOW_THE_RULES,\n [ApplicationSpecificationFamily.COMPLIANCE_DOCUMENT_CANDIDATE_SET]: WorkbenchCreationOutcome.KNOW_THE_RULES,\n [ApplicationSpecificationFamily.DOCUMENT_RELEASE_POLICY]: WorkbenchCreationOutcome.KNOW_THE_RULES,\n [ApplicationSpecificationFamily.DOCUMENT_FACTS]: WorkbenchCreationOutcome.KNOW_THE_RULES,\n [ApplicationSpecificationFamily.DOCUMENT_FACTS_AUTHORED]: WorkbenchCreationOutcome.KNOW_THE_RULES,\n [ApplicationSpecificationFamily.PROCESSOR_REGISTER]: WorkbenchCreationOutcome.KNOW_THE_RULES,\n [ApplicationSpecificationFamily.RISK_REGISTER]: WorkbenchCreationOutcome.KNOW_THE_RULES,\n [ApplicationSpecificationFamily.DOMAIN_PLAN]: WorkbenchCreationOutcome.APPLICATION_WORKS,\n [ApplicationSpecificationFamily.PLACEMENT_PLAN]: WorkbenchCreationOutcome.APPLICATION_WORKS,\n [ApplicationSpecificationFamily.BUILD_PLAN]: WorkbenchCreationOutcome.APPLICATION_WORKS,\n // Which optional packages the application is composed with — part of the application working, like its placement (#1491).\n [ApplicationSpecificationFamily.CAPABILITY_COMPOSITION]: WorkbenchCreationOutcome.APPLICATION_WORKS,\n /*\n * READY_FOR_A_REAL_USER, not APPLICATION_WORKS: an application works without a marketing site, and\n * what the site says is what a stranger meets first (#1492). The same reading the governed\n * documents carry — the outcome is about facing the public, not about the product functioning.\n */\n [ApplicationSpecificationFamily.WEBSITE_PLAN]: WorkbenchCreationOutcome.READY_FOR_A_REAL_USER,\n /* Same reading as the website: documentation is what a stranger meets, not what makes the product work. */\n [ApplicationSpecificationFamily.DOCUMENTATION_PLAN]: WorkbenchCreationOutcome.READY_FOR_A_REAL_USER,\n /* APPLICATION_WORKS: without a composed shell there is no route to the generated screens (#1493). */\n [ApplicationSpecificationFamily.EXPERIENCE_PLAN]: WorkbenchCreationOutcome.APPLICATION_WORKS,\n /*\n * APPLICATION_WORKS: a worker the backend delegates to, and a minion that keeps the data true,\n * are part of the product functioning — not of it facing a stranger (#1495). An application whose\n * nightly sweep was never planned works wrongly in a way no screen shows.\n */\n [ApplicationSpecificationFamily.INTEGRATION_PLAN]: WorkbenchCreationOutcome.APPLICATION_WORKS,\n /*\n * `null`, and this one is the most important null in the map (#1496): the maturity reading is a\n * MEASUREMENT OF the outcomes, so counting it toward one would let an application advance for\n * having measured itself. It is also never \"done\" by construction — the next requirement lowers\n * it — so an outcome that waited for it could never complete.\n */\n [ApplicationSpecificationFamily.APPLICATION_MATURITY]: null,\n [ApplicationSpecificationFamily.DOCUMENT_PUBLICATION]: WorkbenchCreationOutcome.READY_FOR_A_REAL_USER,\n [ApplicationSpecificationFamily.DOCUMENT_RELEASE_SET]: WorkbenchCreationOutcome.READY_FOR_A_REAL_USER,\n [ApplicationSpecificationFamily.CREATOR_INPUTS]: null,\n /*\n * `null` for the same reason as the dossier: the expert-persona charters STAFF the panels that decide\n * placement and the logo; they say nothing about the product itself, so counting them toward an outcome\n * would move \"application works\" for having hired reviewers (#572).\n */\n [ApplicationSpecificationFamily.EXPERT_PERSONAS]: null,\n};\n\nexport interface CreationOutcomeInputs {\n /** The artifact projection's rows, one per family it knows. */\n readonly artifacts: readonly { readonly family: string; readonly state: WorkbenchSpecificationArtifactState }[];\n /** Every family some playbook reports as stale — the union of `staleOutputs[].family` over the playbook rows. */\n readonly staleFamilies: ReadonlySet<string>;\n /** The build-plan task rows. */\n readonly tasks: readonly { readonly status: WorkbenchBuildPlanTaskStatus }[];\n /**\n * The application's runtimes a live supervisor has paused (`readUnavailableApplicationRuntimes`), or\n * undefined when none could answer (#1537).\n */\n readonly unavailableRuntimes?: readonly string[];\n}\n\n/**\n * Where the application stands, outcome by outcome — always four rows, in reading order. \"Done\" is\n * strict: every family of the outcome landed, valid and not stale; for the application working,\n * every build task landed too; for readiness, every OTHER outcome done as well — an application is\n * not ready for a real user because its documents are published while its build plan is\n * half-landed.\n *\n * A family the projection does not report is not counted against an outcome: the population is the\n * reported rows, filtered through the total map, never the map alone.\n */\nexport function buildCreationOutcomes(input: CreationOutcomeInputs): readonly CreationOutcomeRow[] {\n const isFamily = (value: string): value is ApplicationSpecificationFamily => Object.prototype.hasOwnProperty.call(OUTCOME_BY_FAMILY, value);\n\n const counts = new Map<WorkbenchCreationOutcome, { total: number; landed: number; invalid: number; missing: number; stale: number }>();\n for (const outcome of WORKBENCH_CREATION_OUTCOMES_IN_ORDER) counts.set(outcome, { total: 0, landed: 0, invalid: 0, missing: 0, stale: 0 });\n for (const artifact of input.artifacts) {\n if (!isFamily(artifact.family)) continue;\n const outcome = OUTCOME_BY_FAMILY[artifact.family];\n if (outcome === null) continue;\n const count = counts.get(outcome)!;\n count.total += 1;\n if (artifact.state === WorkbenchSpecificationArtifactState.NOT_LANDED) count.missing += 1;\n else if (artifact.state === WorkbenchSpecificationArtifactState.LANDED_INVALID) count.invalid += 1;\n else if (input.staleFamilies.has(artifact.family)) count.stale += 1;\n else count.landed += 1;\n }\n\n const tasksTotal = input.tasks.length;\n const tasksLanded = input.tasks.filter((task) => task.status === WorkbenchBuildPlanTaskStatus.LANDED).length;\n\n const statusOf = (count: { total: number; landed: number; invalid: number; stale: number }, extraDone: boolean, extraStarted: boolean): WorkbenchCreationOutcomeStatus => {\n const familiesDone = count.total > 0 && count.landed === count.total;\n if (familiesDone && extraDone) return WorkbenchCreationOutcomeStatus.DONE;\n const started = count.landed + count.invalid + count.stale > 0 || extraStarted;\n return started ? WorkbenchCreationOutcomeStatus.IN_PROGRESS : WorkbenchCreationOutcomeStatus.NOT_STARTED;\n };\n\n const rows = new Map<WorkbenchCreationOutcome, CreationOutcomeRow>();\n WORKBENCH_CREATION_OUTCOMES_IN_ORDER.forEach((outcome, position) => {\n const count = counts.get(outcome)!;\n const families = {\n familiesTotal: count.total, familiesLanded: count.landed, familiesInvalid: count.invalid, familiesMissing: count.missing, familiesStale: count.stale,\n };\n if (outcome === WorkbenchCreationOutcome.APPLICATION_WORKS) {\n /*\n * An application that cannot start does not work, whatever has landed (#1537). Measured on the\n * first end-to-end run: the backend was paused by its supervisor for hours while this row read\n * as progress. Never DONE while a runtime is down; still IN_PROGRESS, because the work landed so\n * far is real — the row says what it is, and `unavailableRuntimes` says what stops it.\n */\n const unavailableRuntimes = input.unavailableRuntimes === undefined ? null : [...input.unavailableRuntimes];\n const runtimeDown = unavailableRuntimes !== null && unavailableRuntimes.length > 0;\n rows.set(outcome, {\n outcome, position, ...families, tasksTotal, tasksLanded, unavailableRuntimes,\n status: statusOf(count, tasksTotal > 0 && tasksLanded === tasksTotal && !runtimeDown, tasksLanded > 0 || runtimeDown),\n });\n } else if (outcome === WorkbenchCreationOutcome.READY_FOR_A_REAL_USER) {\n const othersDone = WORKBENCH_CREATION_OUTCOMES_IN_ORDER\n .filter((other) => other !== outcome)\n .every((other) => rows.get(other)?.status === WorkbenchCreationOutcomeStatus.DONE);\n rows.set(outcome, { outcome, position, ...families, tasksTotal: null, tasksLanded: null, unavailableRuntimes: null, status: statusOf(count, othersDone, false) });\n } else {\n rows.set(outcome, { outcome, position, ...families, tasksTotal: null, tasksLanded: null, unavailableRuntimes: null, status: statusOf(count, true, false) });\n }\n });\n return WORKBENCH_CREATION_OUTCOMES_IN_ORDER.map((outcome) => rows.get(outcome)!);\n}\n\n/** The build-plan task rows' status — the one field the outcomes read of them. */\nexport type CreationOutcomeTaskRow = Pick<Workbench_BuildPlanTask, 'status'>;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"creation-plane-dispatch.custom-impl.companion.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"creation-plane-dispatch.custom-impl.companion.service.d.ts","sourceRoot":"","sources":["../../../../../src/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.ts"],"names":[],"mappings":"AA2DA,OAAO,EAML,KAAK,0CAA0C,EAChD,MAAM,4BAA4B,CAAC;AAqCpC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH;;;;;;;;GAQG;AACH,wBAAgB,mCAAmC,CACjD,KAAK,EAAE,OAAO,EACd,gBAAgB,EAAE,OAAO,EACzB,KAAK,EAAE;IAAE,YAAY,EAAE;QAAE,UAAU,EAAE,CAAC,GAAG,IAAI,EAAE,KAAK,EAAE,KAAK,OAAO,CAAA;KAAE,CAAA;CAAE,GACrE,OAAO,CAmFT;AAs+BD;;;;GAIG;AACH,wBAAgB,oCAAoC,IAAI,0CAA0C,EAAE,CAwBnG"}
|