@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":"frontend-labels-needed-info.behavior.js","sourceRoot":"","sources":["../../../../../../src/core/introspection/subprocess/frontend-labels-needed-info.behavior.ts"],"names":[],"mappings":"AACA,OAAO,EACL,6BAA6B,EAE7B,wCAAwC,EAIxC,4BAA4B,EAC5B,yBAAyB,GAC1B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,kCAAkC,EAClC,sBAAsB,GACvB,MAAM,+CAA+C,CAAC;AACvD,OAAO,EACL,8BAA8B,EAC9B,uBAAuB,EACvB,qBAAqB,GAEtB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,eAAe,EACf,cAAc,EACd,yBAAyB,EAEzB,6BAA6B,EAC7B,sBAAsB,EACtB,iCAAiC,GAClC,MAAM,qCAAqC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AC;QACxF,uBAAuB,EAAE,8BAA8B,CAAC,EAAE,eAAe,EAAE,CAAC;QAC5E,eAAe,EAAE,oBAAoB,CAAC,MAAM;QAC5C,kBAAkB,EAAE,iBAAiB,CAAC,OAAO;QAC7C,0BAA0B;QAC1B,6BAA6B;QAC7B,kBAAkB;KACnB,CAAC;AACJ,CAAC","sourcesContent":["import { z } from 'zod';\nimport {\n ApplicationLevelComponentType,\n type AnyFrontendResourceConfiguration,\n buildFrontendCompanionResourceUIBehavior,\n type FrontendCompanionExports,\n type FrontendModule,\n type SidebarSection,\n ENGINE_SETTINGS_DESTINATIONS,\n SettingsSectionTargetKind,\n} from '@wildo-ai/saas-frontend-lib/companion';\nimport {\n ResourcesRepositoryFrontendService,\n WildoBackendHttpClient,\n} from '@wildo-ai/saas-frontend-lib/companion-runtime';\nimport {\n buildSharedSaaSModulesRegistry,\n GUIDANCE_ELEMENT_FIELDS,\n OnboardingElementType,\n type SharedSaaSModule,\n} from '@wildo-ai/saas-models';\nimport {\n LabellingPolicy,\n LabellingTypes,\n NavigationViewLabelFamily,\n type LabellingUnitaryDef,\n resolveDeclaredSystemEnumName,\n resolveFieldEnumSchema,\n synthesizeUnionDiscriminatorEnums,\n} from '@wildo-ai/presets-components-models';\nimport {\n getEnumValues,\n getUnionObjectMembers,\n getZodDefArrayProperty,\n getZodDefSchemaProperty,\n getZodObjectShape,\n getZodType,\n hasDescriptionForDisplay,\n hasDescriptionForEdit,\n hasTooltipForDisplay,\n hasTooltipForEdit,\n isFieldContainerSchema,\n unwrapSchema,\n} from '@wildo-ai/zod-decorators';\n\ninterface FrontendLabelsNeededInfo {\n /**\n * App-specific label keys the planner consumes SELECTIVELY: it keeps the\n * frontend-only `composite_views.*` / `views.*` / `sidebar_sections.*`\n * namespaces and drops `resources.*` + resource-scoped `guidance.*` (those\n * are materialized by `planResourceUnits` off the backend resources registry).\n * Resource-scoped guidance is still included here as a faithful mirror of the\n * frontend label graph even though the planner drops it.\n */\n appSpecificLabelKeys: string[];\n /**\n * App-level guidance-flow keys (`guidance.<flowRef>.*`) sourced from\n * `module.guidanceFlows`. Surfaced as its own field because the planner treats\n * the app-bootstrap `setGuidanceFlowProvider` as the OVERRIDE owner for\n * guidance flows and falls back to this discovery-derived set only when no\n * provider is registered. Kept separate from resource-scoped guidance (which\n * the planner always drops) so the override targets app-level flows alone.\n */\n appLevelGuidanceFlowLabelKeys: string[];\n /**\n * Onboarding-view keys (`guidance.<onboardingViewRef>.*`) sourced from\n * `module.onboardingViews`. Onboarding views deliberately share the\n * `guidance.*` runtime namespace + `OnboardingElement` schema with guidance\n * flows, but have NO provider contract, so the planner always owns them from\n * this discovery-derived set. Separated from `appLevelGuidanceFlowLabelKeys`\n * so the guidance-flow provider override can never suppress them.\n */\n onboardingViewLabelKeys: string[];\n /**\n * Per-key interpolation params (full key → param names) for CUSTOM execution\n * view labels declared on `executionView.labels`. Threaded so the planner can\n * enforce the placeholder contract for param'd view labels (e.g.\n * `graphSummaryTemplate{todoCount,taskCount,linkCount}`), exactly like the\n * components bucket. Empty when no view declares param'd labels.\n */\n viewLabelParams: Record<string, string[]>;\n /**\n * AUTHORED wording per settings-hub label key, threaded into the\n * `settings-hub:root` unit as `purpose` so generation TRANSLATES the intent\n * instead of inventing from the ref. See the field's JSDoc in\n * `frontend-derived-label-keys.utils.ts` for the regression that motivated it.\n */\n settingsHubKeyMeta: Record<string, string>;\n /**\n * Per-operation description OPT-IN, keyed `resourceType → operationIdentifier[]`.\n *\n * Extracted from the merged frontend ui-behavior (`operationFrontendConfig.hasDescription`)\n * — a frontend-only fact ONLY this subprocess can read (the planner main process\n * never sees `operationFrontendConfig`, which carries React components). The planner\n * routes it to `planResourceUnits`, which emits the\n * `resources.{type}.operations.{op}.description` key for each flagged op so the copy\n * flows through `projectResourceKeyMeta` (spec-driven quality). Covers EVERY resource\n * in the ui-behavior — including engine resources (e.g. `organizations`) that have no\n * materialized shared base in this subprocess but ARE present in the\n * `RESOURCES_FRONTEND_MAIN_APP` overlay. Empty when no operation opts in.\n */\n operationDescriptionOptIns: Record<string, string[]>;\n /**\n * Resource types whose frontend empty-state config declares a `secondaryAction`.\n *\n * `secondaryActionLabel` is the only empty-state label with no generic fallback in\n * `ResourceEmptyState` (it renders solely when `frontendConfiguration.emptyState\n * .secondaryAction` is set). The planner emits that key for these resource types only,\n * eliminating its over-generation for the majority of resources that have no secondary\n * action. Empty-state presence is gated by the planner off backend collection operations\n * (the title has a generic fallback, so it needs no bridge; the primary action is the CREATE\n * operation and takes its title, so it has no key of its own).\n */\n emptyStateSecondaryActionRefs: string[];\n /**\n * Structural layout refs authored in each resource's ui-behavior, `resourceType → axes`.\n *\n * `layout.refs` is readable only here, and the planner had no way to reach it — which is why no\n * section, wizard step or group in any application has ever had a label (measured 2026-09-18:\n * 0 of 315 resource label units across both dogfood applications carried a `sections` block,\n * while `<Section>` looks up `resources.{type}.sections.{ref}.title` and therefore rendered the\n * raw ref as its heading).\n */\n resourceLayoutRefs: Record<string, { sections: string[]; wizardSteps: string[]; groups: string[]; filterPresets: string[] }>;\n}\n\ninterface FieldInfo {\n isEnum: boolean;\n enumValues?: string[];\n isSystemEnum?: boolean;\n schema?: z.ZodTypeAny;\n}\n\ntype FrontendModulesLoader = () => Promise<FrontendModule[]>;\ntype FrontendSharedModulesLoader = () => Promise<SharedSaaSModule[]>;\n\nfunction seedFrontendCompanionEnvironment(serviceKey: string): void {\n (globalThis as { __VITE_ENV__?: Record<string, string | undefined> }).__VITE_ENV__ = {\n MODE: 'development',\n NODE_ENV: 'development',\n VITE_PORT: '3000',\n VITE_API_BASE_URL: 'http://localhost',\n VITE_APP_NAME: 'companion',\n VITE_FRONTEND_SERVICE_NAME: serviceKey,\n };\n}\n\n/**\n * @param discriminatorEnums - set only when walking one member of a union: the union's discriminator enums\n * (`synthesizeUnionDiscriminatorEnums`), read in place of that member's own literal so the path carries\n * the whole vocabulary — the answer the labelling planner and the renderer give for the same field (#1021).\n * @param insideUnresolvableUnion - `true` once the walk is inside a union `getUnionObjectMembers` does not\n * recognise. The renderer walks nothing below such a union, so no field in the subtree is registered as an\n * enum of any shape — the planner's rule too. Carried through object, array and intersection recursion.\n */\nfunction collectSchemaFields(\n schema: z.ZodTypeAny | undefined,\n basePath: string[],\n acc: Map<string, FieldInfo>,\n activeSchemas: Set<object> = new Set(),\n discriminatorEnums?: Readonly<Record<string, z.ZodTypeAny>>,\n insideUnresolvableUnion = false,\n): void {\n if (!schema) {\n return;\n }\n\n const unwrapped = unwrapSchema(schema);\n if (!unwrapped) {\n return;\n }\n\n if (typeof unwrapped === 'object' && unwrapped !== null) {\n if (activeSchemas.has(unwrapped)) {\n return;\n }\n }\n\n const nextActiveSchemas = new Set(activeSchemas);\n if (typeof unwrapped === 'object' && unwrapped !== null) {\n nextActiveSchemas.add(unwrapped);\n }\n\n const typeName = getZodType(unwrapped);\n if (!typeName) {\n return;\n }\n\n switch (typeName) {\n case 'object': {\n // A structured value (money, address, duration, code, file, every range) holds no fields: its component\n // labels its parts, so the renderer never looks them up. Same gate as the labelling planner's (#1959).\n if (!isFieldContainerSchema(schema)) break;\n const shape = getZodObjectShape(unwrapped);\n for (const key of Object.keys(shape)) {\n const nextPath = [...basePath, key];\n const child = shape[key];\n registerField(nextPath, child, acc, discriminatorEnums?.[key], insideUnresolvableUnion);\n collectSchemaFields(child, nextPath, acc, nextActiveSchemas, undefined, insideUnresolvableUnion);\n }\n break;\n }\n case 'array': {\n const element = getZodDefSchemaProperty(unwrapped, 'element');\n if (element) {\n collectSchemaFields(element, basePath, acc, nextActiveSchemas, undefined, insideUnresolvableUnion);\n }\n break;\n }\n case 'union':\n case 'discriminatedUnion': {\n const unionMembers = getUnionObjectMembers(unwrapped);\n const unionDiscriminatorEnums = synthesizeUnionDiscriminatorEnums(unionMembers);\n const memberInsideUnresolvableUnion = insideUnresolvableUnion || unionMembers.length === 0;\n const options = getZodDefArrayProperty(unwrapped, 'options') || [];\n for (const option of options) {\n if (option && typeof option === 'object') {\n collectSchemaFields(option as z.ZodTypeAny, basePath, acc, nextActiveSchemas, unionDiscriminatorEnums, memberInsideUnresolvableUnion);\n }\n }\n break;\n }\n case 'intersection': {\n const left = getZodDefSchemaProperty(unwrapped, 'left');\n const right = getZodDefSchemaProperty(unwrapped, 'right');\n if (left) {\n collectSchemaFields(left, basePath, acc, nextActiveSchemas, undefined, insideUnresolvableUnion);\n }\n if (right) {\n collectSchemaFields(right, basePath, acc, nextActiveSchemas, undefined, insideUnresolvableUnion);\n }\n break;\n }\n /*\n * No wrapper cases (`optional`/`nullable`/`default`/`effects`/`transform`/`refine`), deliberately: `unwrapSchema`\n * above peels optional, nullable, default, pipe, readonly and catch, and Zod 4 has no `effects`/`refine` type\n * (a refinement is a check on the same schema). The one survivor among the removed case labels is\n * `transform` (e.g. the `in` side of a `z.preprocess` pipe), whose def carries no inner schema — so the removed\n * case could only ever do nothing. `prefault`, `lazy` and `nonoptional` also survive `unwrapSchema`, but no case\n * here ever walked them. Measured 2026-09-14 over optional, nullable, nullish, default, transform, refine,\n * superRefine, preprocess, pipe, readonly, catch, prefault, lazy, brand and a chained wrapper.\n */\n default:\n break;\n }\n}\n\nfunction registerField(\n pathSegments: string[],\n schema: z.ZodTypeAny | undefined,\n acc: Map<string, FieldInfo>,\n enumSourceSchema?: z.ZodTypeAny,\n insideUnresolvableUnion = false,\n): void {\n if (!schema || pathSegments.length === 0) {\n return;\n }\n\n const fieldPath = pathSegments.join('.');\n const unwrapped = unwrapSchema(schema);\n if (!unwrapped) {\n return;\n }\n\n /*\n * Whether the field carries a vocabulary is `resolveFieldEnumSchema`'s answer, shared with the labelling\n * planner and the renderer. Asking \"is the unwrapped type `enum`\" missed a discriminator literal (#1021)\n * and an array's element (#1079), both of which the renderer looks words up for. A union's discriminator\n * reads the enum synthesized across its members (`enumSourceSchema`). Inside a union no key discriminates\n * (`insideUnresolvableUnion`) nothing is an enum: the renderer asks for no word anywhere below it.\n */\n const resolvedEnumSchema = resolveFieldEnumSchema(enumSourceSchema ?? schema);\n const enumSchema = insideUnresolvableUnion ? undefined : resolvedEnumSchema;\n if (enumSchema) {\n const enumValues = getEnumValues(enumSchema).map(String);\n acc.set(fieldPath, {\n isEnum: true,\n enumValues,\n /*\n * The same answer the labelling planner and the frontend cascade use (#966). This gate used to ask\n * \"decorated AND registered in `SYSTEM_ENUM_NAMES`\" — a third decider. A decorated vocabulary no\n * frontend registered (`PlatformAccessGrantStatus`) then got per-field keys here while the planner\n * suppressed them and the renderer read `system_enums`, and a plain `z.enum(DateFormat)` got per-field\n * keys the renderer never needed.\n */\n isSystemEnum: Boolean(resolveDeclaredSystemEnumName(enumSchema, enumValues)),\n schema,\n });\n return;\n }\n\n if (!acc.has(fieldPath)) {\n acc.set(fieldPath, {\n isEnum: false,\n schema,\n });\n }\n}\n\nfunction collectFrontendResourceLabelKeys(\n resourceConfigurations: Record<string, AnyFrontendResourceConfiguration>,\n): string[] {\n const resourcesSectionPolicy = LabellingPolicy[LabellingTypes.RESOURCES] as Record<string, unknown>;\n const headerDefs: LabellingUnitaryDef[] = Array.isArray(resourcesSectionPolicy?.header)\n ? resourcesSectionPolicy.header as LabellingUnitaryDef[]\n : [];\n const operationsDefs: LabellingUnitaryDef[] = Array.isArray(resourcesSectionPolicy?.operations)\n ? resourcesSectionPolicy.operations as LabellingUnitaryDef[]\n : [];\n const emptyStateDefs: LabellingUnitaryDef[] = Array.isArray(resourcesSectionPolicy?.emptyState)\n ? resourcesSectionPolicy.emptyState as LabellingUnitaryDef[]\n : [];\n\n const fieldsSectionPolicy = LabellingPolicy[LabellingTypes.RESOURCES_FIELDS] as Record<string, unknown>;\n const displayDefs: LabellingUnitaryDef[] = Array.isArray(fieldsSectionPolicy?.display)\n ? fieldsSectionPolicy.display as LabellingUnitaryDef[]\n : [];\n const editDefs: LabellingUnitaryDef[] = Array.isArray(fieldsSectionPolicy?.edit)\n ? fieldsSectionPolicy.edit as LabellingUnitaryDef[]\n : [];\n const sectionPolicy = LabellingPolicy[LabellingTypes.RESOURCES_SECTIONS] as Record<string, unknown>;\n const sectionDefs: LabellingUnitaryDef[] = Array.isArray(sectionPolicy?.section)\n ? sectionPolicy.section as LabellingUnitaryDef[]\n : [];\n const wizardStepPolicy = LabellingPolicy[LabellingTypes.RESOURCES_WIZARD_STEPS] as Record<string, unknown>;\n const wizardStepDefs: LabellingUnitaryDef[] = Array.isArray(wizardStepPolicy?.section)\n ? wizardStepPolicy.section as LabellingUnitaryDef[]\n : [];\n\n const keys: string[] = [];\n\n for (const [resourceType, resourceConfig] of Object.entries(resourceConfigurations)) {\n if (resourceConfig.isSystemResource) {\n continue;\n }\n\n for (const def of headerDefs) {\n const key = typeof def === 'string' ? def : def?.ref;\n if (key) {\n keys.push(`${LabellingTypes.RESOURCES}.${resourceType}.header.${key}`);\n }\n }\n\n const operationIdentifiers = Array.from(\n new Set((resourceConfig.operations || []).map((operation) => String(operation.operationIdentifier))),\n );\n // Operation `description` keys are OPT-IN and intentionally NOT emitted here: this\n // mirror's `resources.*` keys are dropped by the planner, and the per-operation\n // description opt-in (`operationFrontendConfig.hasDescription`) is delivered to\n // `planResourceUnits` via the dedicated `operationDescriptionOptIns` snapshot field\n // (see this behavior's return value + `frontend-derived-label-keys.utils.ts`). That\n // way the `.description` key is emitted exactly once, by the planner, with spec keyMeta.\n for (const operationIdentifier of operationIdentifiers) {\n for (const def of operationsDefs) {\n const key = typeof def === 'string' ? def : def?.ref;\n if (key) {\n keys.push(`${LabellingTypes.RESOURCES}.${resourceType}.operations.${operationIdentifier}.${key}`);\n }\n }\n }\n\n for (const def of emptyStateDefs) {\n const key = typeof def === 'string' ? def : def?.ref;\n if (key) {\n keys.push(`${LabellingTypes.RESOURCES}.${resourceType}.emptyState.${key}`);\n }\n }\n\n const layoutRefs = resourceConfig.frontendConfiguration?.layout?.refs;\n for (const sectionRef of layoutRefs?.sections ?? []) {\n for (const def of sectionDefs) {\n const key = typeof def === 'string' ? def : def?.ref;\n if (key) {\n keys.push(`${LabellingTypes.RESOURCES}.${resourceType}.sections.${sectionRef}.${key}`);\n }\n }\n }\n for (const stepRef of layoutRefs?.wizardSteps ?? []) {\n for (const def of wizardStepDefs) {\n const key = typeof def === 'string' ? def : def?.ref;\n if (key) {\n keys.push(`${LabellingTypes.RESOURCES}.${resourceType}.wizardSteps.${stepRef}.${key}`);\n }\n }\n }\n for (const groupRef of layoutRefs?.groups ?? []) {\n keys.push(`${LabellingTypes.RESOURCES}.${resourceType}.groups.${groupRef}.title`);\n }\n\n const fieldInfoMap = new Map<string, FieldInfo>();\n collectSchemaFields(resourceConfig.mainSchema as z.ZodTypeAny, [], fieldInfoMap);\n\n for (const operation of resourceConfig.operations || []) {\n if (operation.requestDto) {\n collectSchemaFields(operation.requestDto as z.ZodTypeAny, [], fieldInfoMap);\n }\n if (operation.responseDto) {\n collectSchemaFields(operation.responseDto as z.ZodTypeAny, [], fieldInfoMap);\n }\n }\n\n const topLevelFields = new Set<string>();\n for (const fieldPath of fieldInfoMap.keys()) {\n if (!fieldPath.startsWith('data.')) {\n topLevelFields.add(fieldPath);\n }\n }\n\n const filteredFieldPaths = [...fieldInfoMap.keys()].filter((fieldPath) => {\n if (!fieldPath.startsWith('data.')) {\n return true;\n }\n\n return !topLevelFields.has(fieldPath.slice(5));\n });\n\n for (const fieldPath of filteredFieldPaths.sort()) {\n const info = fieldInfoMap.get(fieldPath);\n if (!info) {\n continue;\n }\n\n for (const def of displayDefs) {\n const key = typeof def === 'string' ? def : def?.ref;\n if (key) {\n keys.push(`${LabellingTypes.RESOURCES}.${resourceType}.fields.${fieldPath}.display.${key}`);\n }\n }\n\n for (const def of editDefs) {\n const key = typeof def === 'string' ? def : def?.ref;\n if (key) {\n keys.push(`${LabellingTypes.RESOURCES}.${resourceType}.fields.${fieldPath}.edit.${key}`);\n }\n }\n\n if (info.schema) {\n if (hasTooltipForDisplay(info.schema)) {\n keys.push(`${LabellingTypes.RESOURCES}.${resourceType}.fields.${fieldPath}.display.tooltip`);\n }\n if (hasTooltipForEdit(info.schema)) {\n keys.push(`${LabellingTypes.RESOURCES}.${resourceType}.fields.${fieldPath}.edit.tooltip`);\n }\n if (hasDescriptionForDisplay(info.schema)) {\n keys.push(`${LabellingTypes.RESOURCES}.${resourceType}.fields.${fieldPath}.display.description`);\n }\n if (hasDescriptionForEdit(info.schema)) {\n keys.push(`${LabellingTypes.RESOURCES}.${resourceType}.fields.${fieldPath}.edit.description`);\n }\n }\n\n if (info.isEnum && info.enumValues && info.enumValues.length > 0 && !info.isSystemEnum) {\n for (const enumValue of info.enumValues) {\n keys.push(`${LabellingTypes.RESOURCES}.${resourceType}.fields.${fieldPath}.enum.${enumValue}`);\n }\n }\n }\n }\n\n return keys;\n}\n\nfunction collectCompositeViewLabelKeys(params: {\n frontendModules: FrontendModule[];\n resourceConfigurations: Record<string, AnyFrontendResourceConfiguration>;\n}): string[] {\n const compositePolicy = LabellingPolicy[LabellingTypes.COMPOSITE_VIEWS] as Record<string, unknown>;\n const viewDefs: LabellingUnitaryDef[] = Array.isArray(compositePolicy?.view)\n ? compositePolicy.view as LabellingUnitaryDef[]\n : [];\n const sectionDefs: LabellingUnitaryDef[] = Array.isArray(compositePolicy?.section)\n ? compositePolicy.section as LabellingUnitaryDef[]\n : [];\n const keys: string[] = [];\n\n /*\n * A composite view's OWN declared label refs, beyond the baseline `view` / `section` pairs.\n *\n * Same contract as the view-family helper below and for the same reason: a composite's component\n * renders captions, KPI names and failure sentences the baseline pair cannot carry, and the only\n * alternative to a declared key is English written into the component.\n */\n const pushDeclaredCompositeLabels = (\n translationRef: string,\n labels: ReadonlyArray<{ ref?: unknown } | undefined> | undefined,\n ) => {\n for (const label of labels ?? []) {\n const labelRef = label?.ref;\n if (typeof labelRef !== 'string' || labelRef.length === 0) continue;\n keys.push(`${LabellingTypes.COMPOSITE_VIEWS}.${translationRef}.${labelRef}`);\n }\n };\n\n for (const module of params.frontendModules) {\n for (const [viewRef, compositeView] of Object.entries(module.compositeViews ?? {})) {\n const translationRef = `app.${viewRef}`;\n for (const def of viewDefs) {\n const key = typeof def === 'string' ? def : def?.ref;\n if (key) {\n keys.push(`${LabellingTypes.COMPOSITE_VIEWS}.${translationRef}.${key}`);\n }\n }\n for (const sectionRef of compositeView.sectionRefs ?? []) {\n for (const def of sectionDefs) {\n const key = typeof def === 'string' ? def : def?.ref;\n if (key) {\n keys.push(`${LabellingTypes.COMPOSITE_VIEWS}.${translationRef}.sections.${sectionRef}.${key}`);\n }\n }\n }\n pushDeclaredCompositeLabels(\n translationRef,\n (compositeView as { labels?: ReadonlyArray<{ ref?: unknown }> }).labels,\n );\n }\n }\n\n for (const resourceConfig of Object.values(params.resourceConfigurations)) {\n for (const compositeView of resourceConfig.frontendConfiguration?.compositeViews ?? []) {\n for (const def of viewDefs) {\n const key = typeof def === 'string' ? def : def?.ref;\n if (key) {\n keys.push(`${LabellingTypes.COMPOSITE_VIEWS}.${compositeView.translationRef}.${key}`);\n }\n }\n for (const sectionRef of compositeView.sectionRefs ?? []) {\n for (const def of sectionDefs) {\n const key = typeof def === 'string' ? def : def?.ref;\n if (key) {\n keys.push(`${LabellingTypes.COMPOSITE_VIEWS}.${compositeView.translationRef}.sections.${sectionRef}.${key}`);\n }\n }\n }\n pushDeclaredCompositeLabels(\n compositeView.translationRef,\n (compositeView as { labels?: ReadonlyArray<{ ref?: unknown }> }).labels,\n );\n }\n }\n\n return keys;\n}\n\nfunction collectNavigationViewLabelKeys(params: {\n frontendModules: FrontendModule[];\n resourceConfigurations: Record<string, AnyFrontendResourceConfiguration>;\n}): { keys: string[]; params: Record<string, string[]> } {\n const viewPolicy = LabellingPolicy[LabellingTypes.VIEWS] as Record<string, unknown> | undefined;\n const keys = new Set<string>();\n const viewLabelParams: Record<string, string[]> = {};\n const readViewKeys = (family: NavigationViewLabelFamily): string[] =>\n readLabellingKeys(viewPolicy, family);\n const addViewKeys = (\n family: NavigationViewLabelFamily,\n translationRef: string,\n ) => {\n for (const key of readViewKeys(family)) {\n keys.add(`${LabellingTypes.VIEWS}.${family}.${translationRef}.${key}`);\n }\n };\n\n /*\n * A view-declared label ref, beyond the family's baseline title/description.\n *\n * Factored out of the EXECUTION branch when FULL_CUSTOM gained the same declaration: a custom\n * renderer's own captions have to come from somewhere, and the only alternative to a declared key\n * is English written into the component, which no locale can translate. Object-form params\n * (`{ key }`) collapse to the name; plain-string params pass through.\n */\n const addDeclaredViewLabels = (\n family: NavigationViewLabelFamily,\n translationRef: string,\n labels: ReadonlyArray<{ ref?: unknown; params?: ReadonlyArray<unknown> } | undefined> | undefined,\n ) => {\n for (const label of labels ?? []) {\n const labelRef = label?.ref;\n if (typeof labelRef !== 'string' || labelRef.length === 0) continue;\n const fullKey = `${LabellingTypes.VIEWS}.${family}.${translationRef}.${labelRef}`;\n keys.add(fullKey);\n const paramNames = (label?.params ?? [])\n .map((p) => (typeof p === 'string' ? p : (p as { key?: unknown } | undefined)?.key))\n .filter((p): p is string => typeof p === 'string' && p.length > 0);\n if (paramNames.length > 0) viewLabelParams[fullKey] = paramNames;\n }\n };\n\n for (const module of params.frontendModules) {\n for (const fullCustomView of module.fullCustomViews ?? []) {\n const translationRef = `app.${fullCustomView.ref}`;\n addViewKeys(NavigationViewLabelFamily.FULL_CUSTOM, translationRef);\n addDeclaredViewLabels(\n NavigationViewLabelFamily.FULL_CUSTOM,\n translationRef,\n (fullCustomView as { labels?: ReadonlyArray<{ ref?: unknown; params?: ReadonlyArray<unknown> }> }).labels,\n );\n }\n\n for (const flowsActorsView of module.flowsActorsViews ?? []) {\n addViewKeys(\n NavigationViewLabelFamily.FLOWS_ACTORS,\n `app.${flowsActorsView.ref}`,\n );\n }\n }\n\n for (const [resourceType, resourceConfig] of Object.entries(params.resourceConfigurations)) {\n for (const chartView of resourceConfig.frontendConfiguration?.chartViews ?? []) {\n addViewKeys(\n NavigationViewLabelFamily.CHART,\n `resources.${resourceType}.${chartView.ref}`,\n );\n }\n\n for (const executionView of resourceConfig.frontendConfiguration?.executionViews ?? []) {\n const translationRef = `resources.${resourceType}.${executionView.ref}`;\n // Baseline framework keys (title/description) from the policy, then the view's own declared\n // refs and their interpolation params.\n addViewKeys(NavigationViewLabelFamily.EXECUTION, translationRef);\n addDeclaredViewLabels(NavigationViewLabelFamily.EXECUTION, translationRef, executionView.labels);\n }\n }\n\n return { keys: Array.from(keys), params: viewLabelParams };\n}\n\n/**\n * Collect `sidebar_sections.<ref>.{title,description}` keys.\n *\n * Section refs are the union of:\n * - app-level sections authored on `appShellConfig[SIDEBAR].contentSections`\n * - per-module `sidebarSections` contributions (a module can declare whole\n * sections, e.g. tasks-manager's `main` + `tools`).\n *\n * `LabellingPolicy[SIDEBAR_SECTIONS]` is intentionally empty (the section-ref\n * space is app-defined, not statically enumerable), so the canonical\n * `title` / `description` sub-keys are encoded here — matching the runtime\n * lookup `tSidebarSection(ref, 'title' | 'description')`.\n */\nfunction collectSidebarSectionLabelKeys(params: {\n frontendModules: FrontendModule[];\n appShellConfig: unknown;\n}): string[] {\n const sidebarConfig = isRecord(params.appShellConfig)\n ? params.appShellConfig[ApplicationLevelComponentType.SIDEBAR]\n : undefined;\n const appLevelSections: SidebarSection[] =\n isRecord(sidebarConfig) && Array.isArray(sidebarConfig.contentSections)\n ? sidebarConfig.contentSections as SidebarSection[]\n : [];\n\n const moduleSections: SidebarSection[] = params.frontendModules\n .flatMap((module) => module.sidebarSections ?? []);\n\n const subKeys = ['title', 'description'] as const;\n const seen = new Set<string>();\n const keys: string[] = [];\n for (const section of [...appLevelSections, ...moduleSections]) {\n const ref = section?.ref;\n if (!ref || seen.has(ref)) continue;\n seen.add(ref);\n for (const sub of subKeys) {\n keys.push(`${LabellingTypes.SIDEBAR_SECTIONS}.${ref}.${sub}`);\n }\n }\n return keys;\n}\n\n/**\n * Settings Hub rail labels — one `label` key per authored category and per\n * PLACED section.\n *\n * Sibling of {@link collectSidebarSectionLabelKeys}, and empty for the same\n * reason its policy entry is: the ref space is the application's\n * (`settingsHub.categories` / `settingsHub.placements`), so it cannot be\n * enumerated from a static table. The canonical `label` sub-key is encoded here,\n * matching the runtime lookups `tSettingsHubCategory(ref, fallback)` and\n * `tSettingsHubSection(ref, fallback)`.\n *\n * Keys derive from PLACEMENTS, never from the engine destination catalog. A\n * destination the application did not place renders nowhere, so generating a\n * label for it would pay an LLM call for a string no user can reach — and would\n * quietly re-assert the framework-owns-the-rail model the placement split exists\n * to remove.\n */\nfunction collectSettingsHubLabelKeys(params: { settingsHubConfig: unknown }): { keys: string[]; keyMeta: Record<string, string> } {\n const config = params.settingsHubConfig;\n if (!isRecord(config)) return { keys: [], keyMeta: {} };\n\n const keys: string[] = [];\n const keyMeta: Record<string, string> = {};\n const seen = new Set<string>();\n\n const categories = Array.isArray(config.categories) ? config.categories : [];\n for (const category of categories) {\n const ref = isRecord(category) && typeof category.ref === 'string' ? category.ref : undefined;\n if (!ref || seen.has(`categories.${ref}`)) continue;\n seen.add(`categories.${ref}`);\n const key = `${LabellingTypes.SETTINGS_HUB}.categories.${ref}.label`;\n keys.push(key);\n if (isRecord(category) && typeof category.label === 'string' && category.label.length > 0) {\n keyMeta[key] = category.label;\n }\n }\n\n const destinationsByRef = new Map(\n ENGINE_SETTINGS_DESTINATIONS.map(destination => [destination.ref, destination]),\n );\n\n const pushSectionKey = (ref: string, authoredLabel?: unknown): void => {\n if (seen.has(`sections.${ref}`)) return;\n seen.add(`sections.${ref}`);\n const key = `${LabellingTypes.SETTINGS_HUB}.sections.${ref}.label`;\n keys.push(key);\n // The authored string is the INTENT. Without it the prompt sees only the ref\n // and invents from it — which on Wonder CRM turned \"User provisioning\" into\n // \"SCIM\" and \"Audit streaming\" into \"SIEM\".\n if (typeof authoredLabel === 'string' && authoredLabel.length > 0) {\n keyMeta[key] = authoredLabel;\n }\n };\n\n const placements = Array.isArray(config.placements) ? config.placements : [];\n for (const placement of placements) {\n const ref = isRecord(placement) && typeof placement.destinationRef === 'string'\n ? placement.destinationRef\n : undefined;\n if (!ref) continue;\n\n // A placement naming a destination the catalog does not ship resolves to\n // nothing (`resolveSettingsHubConfig` drops it) and is refused at DEV\n // startup, so it renders nowhere — the same reason an UNPLACED destination\n // gets no key. Generating one would pay an LLM call for a string no user\n // can reach, and the collector would disagree with the resolver about what\n // exists.\n const destination = destinationsByRef.get(ref);\n if (destination === undefined) continue;\n\n pushSectionKey(ref, isRecord(placement) ? placement.label : undefined);\n\n // SUB-TABS of a placed destination.\n //\n // A destination like `sso` renders inner tabs (\"Configuration\",\n // \"Connections\") whose labels the ENGINE authors. They resolve through\n // `tSettingsHubSection(subTab.ref, subTab.label)` — the same namespace,\n // keyed by the SUB-TAB's ref — so without a key here they render their\n // English fallback forever, in every locale. Eight such labels existed when\n // this was written, and section-level generation alone would have declared\n // the hub \"localizable\" while they stayed permanently English.\n //\n // Resolved against the engine catalog because a placement carries only a\n // ref; what the destination CONTAINS is the engine's fact, not the\n // application's.\n const target = destination.target;\n if (target?.kind === SettingsSectionTargetKind.SUB_TABS) {\n for (const subTab of target.subTabs) {\n pushSectionKey(subTab.ref, subTab.label);\n }\n }\n }\n\n return { keys, keyMeta };\n}\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n return Boolean(value) && typeof value === 'object';\n}\n\nfunction readLabellingKeys(\n section: Record<string, unknown> | undefined,\n entryKey: string,\n): string[] {\n const defs = Array.isArray(section?.[entryKey])\n ? section[entryKey] as LabellingUnitaryDef[]\n : [];\n\n return defs\n .map((def) => typeof def === 'string' ? def : def?.ref)\n .filter((key): key is string => Boolean(key));\n}\n\ntype GuidanceNamespacePolicyContext = {\n flowKeys: string[];\n tourStepKeys: string[];\n surveyQuestionKeys: string[];\n surveyOptionKeys: string[];\n};\n\n/**\n * Read the `guidance` LabellingPolicy sub-key lists once so the per-entry\n * extractor can stay a pure function shared across all three guidance sources\n * (resource-scoped flows, app-level flows, onboarding views).\n */\nfunction buildGuidanceNamespacePolicyContext(): GuidanceNamespacePolicyContext {\n const guidancePolicy = LabellingPolicy[LabellingTypes.GUIDANCE] as Record<string, unknown> | undefined;\n return {\n flowKeys: readLabellingKeys(guidancePolicy, 'flow'),\n tourStepKeys: readLabellingKeys(guidancePolicy, 'tour_step'),\n surveyQuestionKeys: readLabellingKeys(guidancePolicy, 'survey_question'),\n surveyOptionKeys: readLabellingKeys(guidancePolicy, 'survey_option'),\n };\n}\n\n/**\n * Emit every `guidance.<namespace>.…` label key for a single guidance-namespace\n * entry — a guidance flow OR an onboarding view (both are structurally\n * `{ ref, elements }` and render through the identical runtime path). Emits:\n * - flow-level keys (`guidance.<namespace>.{title,description}` from the `flow`\n * policy) — for guidance flows these back `tGuidanceFlow` reads (e.g.\n * activation-criterion titles); for onboarding views they back the authored\n * flow-level `textSlots` (wizard-chrome headline) the spec layer documents.\n * - per-element keys from `GUIDANCE_ELEMENT_FIELDS[element.type]` — the\n * per-element-type field map (MODAL → title/description/content/actionLabel,\n * etc.) the runtime element renderers read via `makeTrGuidanceElement(ref, el)`.\n * - nested TOUR step and SURVEY question/option keys.\n *\n * `namespace` is the segment between `guidance.` and the rest of the key — the\n * EXACT string the runtime uses as the flow's `ref` (mirroring the planner-side\n * `buildGuidanceFlowKeys({ flowNamespace })`):\n * - app-level guidance flows + onboarding views → the bare authored `ref`;\n * - resource-scoped guidance → `<resourceType>.<flowRef>` (see\n * `compileResourceGuidance` → `namespacedRef`).\n *\n * Onboarding views are a SEPARATE authored concept from guidance flows\n * (distinct `OnboardingViewDefinition` schema, distinct module surface, distinct\n * spec family) but deliberately share the `guidance.*` runtime namespace and the\n * `OnboardingElement` schema — there is NO separate `onboarding.*` namespace —\n * so one extractor serves both.\n */\nfunction collectGuidanceNamespaceEntryKeys(\n namespace: string,\n elements: ReadonlyArray<Record<string, unknown>> | undefined,\n policy: GuidanceNamespacePolicyContext,\n): string[] {\n const keys = new Set<string>();\n\n for (const key of policy.flowKeys) {\n keys.add(`${LabellingTypes.GUIDANCE}.${namespace}.${key}`);\n }\n\n for (const element of elements ?? []) {\n const elementRef = typeof element.ref === 'string' ? element.ref : undefined;\n if (!elementRef) {\n continue;\n }\n\n const elementType = element.type as OnboardingElementType | undefined;\n for (const field of elementType ? (GUIDANCE_ELEMENT_FIELDS[elementType] ?? []) : []) {\n keys.add(`${LabellingTypes.GUIDANCE}.${namespace}.elements.${elementRef}.${field}`);\n }\n\n if (elementType === OnboardingElementType.TOUR) {\n const steps = Array.isArray(element.steps) ? element.steps as Array<Record<string, unknown>> : [];\n for (const step of steps) {\n const stepRef = typeof step.ref === 'string' ? step.ref : undefined;\n if (!stepRef) {\n continue;\n }\n for (const key of policy.tourStepKeys) {\n keys.add(`${LabellingTypes.GUIDANCE}.${namespace}.elements.${elementRef}.tour_steps.${stepRef}.${key}`);\n }\n }\n }\n\n if (elementType === OnboardingElementType.SURVEY) {\n const questions = Array.isArray(element.questions) ? element.questions as Array<Record<string, unknown>> : [];\n for (const question of questions) {\n const questionId = typeof question.id === 'string' ? question.id : undefined;\n if (!questionId) {\n continue;\n }\n\n for (const key of policy.surveyQuestionKeys) {\n keys.add(`${LabellingTypes.GUIDANCE}.${namespace}.elements.${elementRef}.survey_questions.${questionId}.${key}`);\n }\n\n const options = Array.isArray(question.options) ? question.options as Array<Record<string, unknown>> : [];\n for (const option of options) {\n const optionRef = typeof option.ref === 'string' ? option.ref : undefined;\n if (!optionRef) {\n continue;\n }\n for (const key of policy.surveyOptionKeys) {\n keys.add(`${LabellingTypes.GUIDANCE}.${namespace}.elements.${elementRef}.survey_questions.${questionId}.options.${optionRef}.${key}`);\n }\n }\n }\n }\n }\n\n return Array.from(keys);\n}\n\n/**\n * Read the `{ ref, elements }` projection of a raw authored guidance/onboarding\n * entry. The runtime schemas (`GuidanceFlowDefinition`, `OnboardingViewDefinition`,\n * resource `frontendConfiguration.guidance`) are all structurally compatible here.\n */\nfunction readGuidanceEntry(raw: unknown): { ref?: string; elements?: Array<Record<string, unknown>> } {\n return raw as { ref?: string; elements?: Array<Record<string, unknown>> };\n}\n\n/**\n * Resource-scoped guidance flows (`resourceConfig.frontendConfiguration.guidance`).\n *\n * The runtime compiles these into the GLOBAL guidance namespace under\n * `${resourceType}.${flow.ref}` (see `compileResourceGuidance` → `namespacedRef`,\n * e.g. `TASKS.list-intro`), so the discovery mirror keys them PREFIXED to match\n * the runtime AND `planResourceUnits` (`collectResourceGuidanceKeys`). Returned\n * inside `appSpecificLabelKeys`; the planner DROPS them (resource-scoped guidance\n * is owned + materialized by `planResourceUnits` off the backend resources\n * registry), but the discovery surface stays a TRUTHFUL mirror of the frontend\n * label graph — an unprefixed key here would mirror a namespace the runtime never\n * reads.\n */\nfunction collectResourceScopedGuidanceLabelKeys(params: {\n resourceConfigurations: Record<string, AnyFrontendResourceConfiguration>;\n}): string[] {\n const policy = buildGuidanceNamespacePolicyContext();\n const keys = new Set<string>();\n for (const [resourceType, resourceConfig] of Object.entries(params.resourceConfigurations)) {\n for (const flow of resourceConfig.frontendConfiguration?.guidance ?? []) {\n const entry = readGuidanceEntry(flow);\n if (!entry.ref) {\n continue;\n }\n for (const key of collectGuidanceNamespaceEntryKeys(`${resourceType}.${entry.ref}`, entry.elements, policy)) {\n keys.add(key);\n }\n }\n }\n return Array.from(keys);\n}\n\n/**\n * App-level guidance flows (`module.guidanceFlows`) → `guidance.<flowRef>.*`.\n *\n * Surfaced as its OWN discovery field (not folded into `appSpecificLabelKeys`)\n * because the planner's `setGuidanceFlowProvider` override targets guidance\n * flows specifically: when an app registers a provider the planner trusts it and\n * ignores this set; otherwise this discovery-derived set is the source. Without\n * it, app-level guidance flows would have no owner (the provider is optional and\n * the frontend-derived path otherwise drops `guidance.*`). Keyed by the bare\n * authored `ref` — the runtime does NOT namespace app-level flows.\n */\nfunction collectAppLevelGuidanceFlowLabelKeys(params: {\n frontendModules: FrontendModule[];\n}): string[] {\n const policy = buildGuidanceNamespacePolicyContext();\n const keys = new Set<string>();\n for (const module of params.frontendModules) {\n for (const flow of module.guidanceFlows ?? []) {\n const entry = readGuidanceEntry(flow);\n if (!entry.ref) {\n continue;\n }\n for (const key of collectGuidanceNamespaceEntryKeys(entry.ref, entry.elements, policy)) {\n keys.add(key);\n }\n }\n }\n return Array.from(keys);\n}\n\n/**\n * Module-level onboarding views (`module.onboardingViews`) → `guidance.<viewRef>.*`.\n *\n * Onboarding views share the `guidance.*` runtime namespace + `OnboardingElement`\n * schema with guidance flows and render through the same `GuidanceRenderer` →\n * per-element `makeTrGuidanceElement(ref, el)` path, but they are a SEPARATE\n * authored concept with NO provider contract, so the planner always owns them\n * from this discovery-derived field. Keyed by the bare authored `ref` — matching\n * `OnboardingView`'s `translationRef` (`viewRefProp || doc.ref || …`). Omitting\n * this collector strands an onboarding view's authored element copy\n * (title/description/content/actionLabel) with no generated labels — the bug this\n * collector closes.\n */\nfunction collectOnboardingViewLabelKeys(params: {\n frontendModules: FrontendModule[];\n}): string[] {\n const policy = buildGuidanceNamespacePolicyContext();\n const keys = new Set<string>();\n for (const module of params.frontendModules) {\n for (const onboardingView of module.onboardingViews ?? []) {\n const entry = readGuidanceEntry(onboardingView);\n if (!entry.ref) {\n continue;\n }\n for (const key of collectGuidanceNamespaceEntryKeys(entry.ref, entry.elements, policy)) {\n keys.add(key);\n }\n }\n }\n return Array.from(keys);\n}\n\nexport async function runFrontendLabelsNeededInfo(\n frontendCompanionExports: FrontendCompanionExports,\n context: {\n serviceKey: string;\n },\n): Promise<FrontendLabelsNeededInfo> {\n const loadFrontendModules = frontendCompanionExports.loadFrontendModules as FrontendModulesLoader | undefined;\n if (!loadFrontendModules) {\n throw new Error(\n 'Target companion export does not expose loadFrontendModules().',\n );\n }\n\n const loadSharedModules = frontendCompanionExports.loadSharedModules as FrontendSharedModulesLoader | undefined;\n if (!loadSharedModules) {\n throw new Error(\n 'Target companion export does not expose loadSharedModules().',\n );\n }\n\n seedFrontendCompanionEnvironment(context.serviceKey);\n const [frontendModules, sharedModules] = await Promise.all([\n loadFrontendModules(),\n loadSharedModules(),\n ]);\n const sharedRegistry = buildSharedSaaSModulesRegistry(...sharedModules);\n const resourceRepository = new ResourcesRepositoryFrontendService(\n new WildoBackendHttpClient({\n baseURL: 'http://localhost',\n enableNetworkQueue: false,\n }),\n );\n\n // Capture the merged ui-behavior overlay: it is BOTH the operation-frontend-config\n // source for `initializeResources` AND the only readable source of per-operation\n // `hasDescription` opt-ins (operationFrontendConfig is invisible to the planner\n // main process). It covers EVERY resource in the frontend module chain — including\n // engine resources like `organizations` that have no materialized shared base here.\n const resourceUIBehavior = buildFrontendCompanionResourceUIBehavior(...frontendModules);\n await resourceRepository.initializeResources(\n sharedRegistry.resourceConfigurations,\n sharedRegistry.resourceFieldIdentifiers,\n sharedRegistry.resourceRelationships,\n undefined,\n resourceUIBehavior,\n );\n\n const resourcesRegistry = resourceRepository.getResourcesRegistry();\n const resourceConfigurations: Record<string, AnyFrontendResourceConfiguration> =\n resourcesRegistry.resourceConfigurations || {};\n const navigationViewLabels = collectNavigationViewLabelKeys({\n frontendModules,\n resourceConfigurations,\n });\n\n // Per-operation description OPT-IN — extracted from the merged ui-behavior `views`\n // (the ONLY readable source of `operationFrontendConfig.hasDescription`). Keyed\n // resourceType → opIds; the planner's `planResourceUnits` emits the matching\n // `resources.{type}.operations.{op}.description` key so the copy flows through\n // spec-driven `projectResourceKeyMeta`. Iterates the ui-behavior overlay — NOT the\n // materialized `resourceConfigurations` — so engine resources (e.g. organizations)\n // with no shared base here are still covered. `views` keys are `TypedOperationKey`:\n // a bare `string` for the default operation, or `[operationId, variantKey]` for a\n // non-default variant (collapse to the operation identifier either way).\n const operationDescriptionOptIns: Record<string, string[]> = {};\n // Empty-state `secondaryActionLabel` is the one empty-state label with NO generic fallback\n // in `ResourceEmptyState` — it renders only when the frontend config declares a\n // `secondaryAction`. Surface those resource types so the planner emits that key for them\n // alone (empty-state presence is gated by the planner directly off backend collection\n // operations, since the title DOES have a fallback; the primary action has no key — it is the\n // CREATE operation and takes its title).\n const emptyStateSecondaryActionRefs: string[] = [];\n // Structural layout refs, read from the SAME overlay for the same reason: `layout.refs` is\n // authored in the ui-behavior, so this subprocess is the only process that can see it. The\n // planner used to read it off the backend registry's `frontendConfiguration`, where it is never\n // populated — and its own `resources.*` keys (computed correctly a few hundred lines above,\n // where `layoutRefs` IS in scope) are dropped as planner-owned. Surfacing the refs here lets\n // `planResourceUnits` emit `resources.{type}.sections.{ref}.{title,description}` for real.\n const resourceLayoutRefs: Record<string, { sections: string[]; wizardSteps: string[]; groups: string[]; filterPresets: string[] }> = {};\n for (const [resourceType, behavior] of Object.entries(resourceUIBehavior)) {\n if (behavior?.emptyState?.secondaryAction) {\n emptyStateSecondaryActionRefs.push(resourceType);\n }\n const asStrings = (value: unknown): string[] =>\n Array.isArray(value) ? value.filter((entry): entry is string => typeof entry === 'string') : [];\n\n const authoredRefs = (behavior as { layout?: { refs?: { sections?: unknown; wizardSteps?: unknown; groups?: unknown } } })?.layout?.refs;\n\n /*\n * FILTER-PRESET refs, collected from the same ui-behavior overlay for the same reason the\n * layout refs above are: they are authored per collection VIEW\n * (`views → collectionDisplayConfig.presetFilters`), which only this subprocess can import.\n * A preset with no authored label renders its raw `ref` as a pill, so a ref that never reaches\n * the planner is a pill reading `created-today` in every locale, forever.\n *\n * Deduplicated across views because LIST and SEARCH of one resource commonly declare the same\n * presets, and one ref is one label whichever view showed it.\n */\n const filterPresetRefs = new Set<string>();\n const viewEntries = behavior?.views;\n if (viewEntries instanceof Map) {\n for (const [, operationConfig] of viewEntries) {\n const presets = (operationConfig as { collectionDisplayConfig?: { presetFilters?: unknown } })\n ?.collectionDisplayConfig?.presetFilters;\n if (!Array.isArray(presets)) continue;\n for (const preset of presets) {\n const ref = (preset as { ref?: unknown })?.ref;\n if (typeof ref === 'string' && ref.length > 0) filterPresetRefs.add(ref);\n }\n }\n }\n\n if (authoredRefs || filterPresetRefs.size > 0) {\n const refs = {\n sections: asStrings(authoredRefs?.sections),\n wizardSteps: asStrings(authoredRefs?.wizardSteps),\n groups: asStrings(authoredRefs?.groups),\n filterPresets: Array.from(filterPresetRefs),\n };\n if (refs.sections.length || refs.wizardSteps.length || refs.groups.length || refs.filterPresets.length) {\n resourceLayoutRefs[resourceType] = refs;\n }\n }\n const views = behavior?.views;\n if (!(views instanceof Map)) continue;\n const flagged = new Set<string>();\n for (const [operationKey, operationConfig] of views) {\n if (operationConfig?.hasDescription) {\n flagged.add(Array.isArray(operationKey) ? String(operationKey[0]) : String(operationKey));\n }\n }\n if (flagged.size > 0) operationDescriptionOptIns[resourceType] = Array.from(flagged);\n }\n\n const settingsHubLabels = collectSettingsHubLabelKeys({\n settingsHubConfig: (frontendCompanionExports as { settingsHubConfig?: unknown }).settingsHubConfig,\n });\n\n return {\n appSpecificLabelKeys: [\n ...collectFrontendResourceLabelKeys(resourceConfigurations),\n ...collectCompositeViewLabelKeys({\n frontendModules,\n resourceConfigurations,\n }),\n ...navigationViewLabels.keys,\n ...collectSidebarSectionLabelKeys({\n frontendModules,\n appShellConfig: frontendCompanionExports.appShellConfig,\n }),\n ...settingsHubLabels.keys,\n ...collectResourceScopedGuidanceLabelKeys({\n resourceConfigurations,\n }),\n ],\n appLevelGuidanceFlowLabelKeys: collectAppLevelGuidanceFlowLabelKeys({ frontendModules }),\n onboardingViewLabelKeys: collectOnboardingViewLabelKeys({ frontendModules }),\n viewLabelParams: navigationViewLabels.params,\n settingsHubKeyMeta: settingsHubLabels.keyMeta,\n operationDescriptionOptIns,\n emptyStateSecondaryActionRefs,\n resourceLayoutRefs,\n };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"frontend-labels-needed-info.behavior.js","sourceRoot":"","sources":["../../../../../src/core/introspection/subprocess/frontend-labels-needed-info.behavior.ts"],"names":[],"mappings":"AACA,OAAO,EACL,6BAA6B,EAE7B,wCAAwC,EAIxC,4BAA4B,EAC5B,yBAAyB,GAC1B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,kCAAkC,EAClC,sBAAsB,GACvB,MAAM,+CAA+C,CAAC;AACvD,OAAO,EACL,8BAA8B,EAC9B,uBAAuB,EACvB,qBAAqB,GAEtB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,eAAe,EACf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BACxC,sBAAsB;aACvB,CAAC;SACH;QACD,6BAA6B,EAAE,oCAAoC,CAAC,EAAE,eAAe,EAAE,CAAC;QACxF,uBAAuB,EAAE,8BAA8B,CAAC,EAAE,eAAe,EAAE,CAAC;QAC5E,eAAe,EAAE,oBAAoB,CAAC,MAAM;QAC5C,kBAAkB,EAAE,iBAAiB,CAAC,OAAO;QAC7C,0BAA0B;QAC1B,6BAA6B;QAC7B,kBAAkB;KACnB,CAAC;AACJ,CAAC","sourcesContent":["import { z } from 'zod';\nimport {\n ApplicationLevelComponentType,\n type AnyFrontendResourceConfiguration,\n buildFrontendCompanionResourceUIBehavior,\n type FrontendCompanionExports,\n type FrontendModule,\n type SidebarSection,\n ENGINE_SETTINGS_DESTINATIONS,\n SettingsSectionTargetKind,\n} from '@wildo-ai/saas-frontend-lib/companion';\nimport {\n ResourcesRepositoryFrontendService,\n WildoBackendHttpClient,\n} from '@wildo-ai/saas-frontend-lib/companion-runtime';\nimport {\n buildSharedSaaSModulesRegistry,\n GUIDANCE_ELEMENT_FIELDS,\n OnboardingElementType,\n type SharedSaaSModule,\n} from '@wildo-ai/saas-models';\nimport {\n LabellingPolicy,\n LabellingTypes,\n NavigationViewLabelFamily,\n type LabellingUnitaryDef,\n resolveDeclaredSystemEnumName,\n resolveFieldEnumSchema,\n synthesizeUnionDiscriminatorEnums,\n} from '@wildo-ai/presets-components-models';\nimport {\n getEnumValues,\n getUnionObjectMembers,\n getZodDefArrayProperty,\n getZodDefSchemaProperty,\n getZodObjectShape,\n getZodType,\n hasDescriptionForDisplay,\n hasDescriptionForEdit,\n hasTooltipForDisplay,\n hasTooltipForEdit,\n isFieldContainerSchema,\n unwrapSchema,\n} from '@wildo-ai/zod-decorators';\n\ninterface FrontendLabelsNeededInfo {\n /**\n * App-specific label keys the planner consumes SELECTIVELY: it keeps the\n * frontend-only `composite_views.*` / `views.*` / `sidebar_sections.*`\n * namespaces and drops `resources.*` + resource-scoped `guidance.*` (those\n * are materialized by `planResourceUnits` off the backend resources registry).\n * Resource-scoped guidance is still included here as a faithful mirror of the\n * frontend label graph even though the planner drops it.\n */\n appSpecificLabelKeys: string[];\n /**\n * App-level guidance-flow keys (`guidance.<flowRef>.*`) sourced from\n * `module.guidanceFlows`. Surfaced as its own field because the planner treats\n * the app-bootstrap `setGuidanceFlowProvider` as the OVERRIDE owner for\n * guidance flows and falls back to this discovery-derived set only when no\n * provider is registered. Kept separate from resource-scoped guidance (which\n * the planner always drops) so the override targets app-level flows alone.\n */\n appLevelGuidanceFlowLabelKeys: string[];\n /**\n * Onboarding-view keys (`guidance.<onboardingViewRef>.*`) sourced from\n * `module.onboardingViews`. Onboarding views deliberately share the\n * `guidance.*` runtime namespace + `OnboardingElement` schema with guidance\n * flows, but have NO provider contract, so the planner always owns them from\n * this discovery-derived set. Separated from `appLevelGuidanceFlowLabelKeys`\n * so the guidance-flow provider override can never suppress them.\n */\n onboardingViewLabelKeys: string[];\n /**\n * Per-key interpolation params (full key → param names) for CUSTOM execution\n * view labels declared on `executionView.labels`. Threaded so the planner can\n * enforce the placeholder contract for param'd view labels (e.g.\n * `graphSummaryTemplate{todoCount,taskCount,linkCount}`), exactly like the\n * components bucket. Empty when no view declares param'd labels.\n */\n viewLabelParams: Record<string, string[]>;\n /**\n * AUTHORED wording per settings-hub label key, threaded into the\n * `settings-hub:root` unit as `purpose` so generation TRANSLATES the intent\n * instead of inventing from the ref. See the field's JSDoc in\n * `frontend-derived-label-keys.utils.ts` for the regression that motivated it.\n */\n settingsHubKeyMeta: Record<string, string>;\n /**\n * Per-operation description OPT-IN, keyed `resourceType → operationIdentifier[]`.\n *\n * Extracted from the merged frontend ui-behavior (`operationFrontendConfig.hasDescription`)\n * — a frontend-only fact ONLY this subprocess can read (the planner main process\n * never sees `operationFrontendConfig`, which carries React components). The planner\n * routes it to `planResourceUnits`, which emits the\n * `resources.{type}.operations.{op}.description` key for each flagged op so the copy\n * flows through `projectResourceKeyMeta` (spec-driven quality). Covers EVERY resource\n * in the ui-behavior — including engine resources (e.g. `organizations`) that have no\n * materialized shared base in this subprocess but ARE present in the\n * `RESOURCES_FRONTEND_MAIN_APP` overlay. Empty when no operation opts in.\n */\n operationDescriptionOptIns: Record<string, string[]>;\n /**\n * Resource types whose frontend empty-state config declares a `secondaryAction`.\n *\n * `secondaryActionLabel` is the only empty-state label with no generic fallback in\n * `ResourceEmptyState` (it renders solely when `frontendConfiguration.emptyState\n * .secondaryAction` is set). The planner emits that key for these resource types only,\n * eliminating its over-generation for the majority of resources that have no secondary\n * action. Empty-state presence is gated by the planner off backend collection operations\n * (the title has a generic fallback, so it needs no bridge; the primary action is the CREATE\n * operation and takes its title, so it has no key of its own).\n */\n emptyStateSecondaryActionRefs: string[];\n /**\n * Structural layout refs authored in each resource's ui-behavior, `resourceType → axes`.\n *\n * `layout.refs` is readable only here, and the planner had no way to reach it — which is why no\n * section, wizard step or group in any application has ever had a label (measured 2026-09-18:\n * 0 of 315 resource label units across both dogfood applications carried a `sections` block,\n * while `<Section>` looks up `resources.{type}.sections.{ref}.title` and therefore rendered the\n * raw ref as its heading).\n */\n resourceLayoutRefs: Record<string, { sections: string[]; wizardSteps: string[]; groups: string[]; filterPresets: string[] }>;\n}\n\ninterface FieldInfo {\n isEnum: boolean;\n enumValues?: string[];\n isSystemEnum?: boolean;\n schema?: z.ZodTypeAny;\n}\n\ntype FrontendModulesLoader = () => Promise<FrontendModule[]>;\ntype FrontendSharedModulesLoader = () => Promise<SharedSaaSModule[]>;\n\nfunction seedFrontendCompanionEnvironment(serviceKey: string): void {\n (globalThis as { __VITE_ENV__?: Record<string, string | undefined> }).__VITE_ENV__ = {\n MODE: 'development',\n NODE_ENV: 'development',\n VITE_PORT: '3000',\n VITE_API_BASE_URL: 'http://localhost',\n VITE_APP_NAME: 'companion',\n VITE_FRONTEND_SERVICE_NAME: serviceKey,\n };\n}\n\n/**\n * @param discriminatorEnums - set only when walking one member of a union: the union's discriminator enums\n * (`synthesizeUnionDiscriminatorEnums`), read in place of that member's own literal so the path carries\n * the whole vocabulary — the answer the labelling planner and the renderer give for the same field (#1021).\n * @param insideUnresolvableUnion - `true` once the walk is inside a union `getUnionObjectMembers` does not\n * recognise. The renderer walks nothing below such a union, so no field in the subtree is registered as an\n * enum of any shape — the planner's rule too. Carried through object, array and intersection recursion.\n */\nfunction collectSchemaFields(\n schema: z.ZodTypeAny | undefined,\n basePath: string[],\n acc: Map<string, FieldInfo>,\n activeSchemas: Set<object> = new Set(),\n discriminatorEnums?: Readonly<Record<string, z.ZodTypeAny>>,\n insideUnresolvableUnion = false,\n): void {\n if (!schema) {\n return;\n }\n\n const unwrapped = unwrapSchema(schema);\n if (!unwrapped) {\n return;\n }\n\n if (typeof unwrapped === 'object' && unwrapped !== null) {\n if (activeSchemas.has(unwrapped)) {\n return;\n }\n }\n\n const nextActiveSchemas = new Set(activeSchemas);\n if (typeof unwrapped === 'object' && unwrapped !== null) {\n nextActiveSchemas.add(unwrapped);\n }\n\n const typeName = getZodType(unwrapped);\n if (!typeName) {\n return;\n }\n\n switch (typeName) {\n case 'object': {\n // A structured value (money, address, duration, code, file, every range) holds no fields: its component\n // labels its parts, so the renderer never looks them up. Same gate as the labelling planner's (#1959).\n if (!isFieldContainerSchema(schema)) break;\n const shape = getZodObjectShape(unwrapped);\n for (const key of Object.keys(shape)) {\n const nextPath = [...basePath, key];\n const child = shape[key];\n registerField(nextPath, child, acc, discriminatorEnums?.[key], insideUnresolvableUnion);\n collectSchemaFields(child, nextPath, acc, nextActiveSchemas, undefined, insideUnresolvableUnion);\n }\n break;\n }\n case 'array': {\n const element = getZodDefSchemaProperty(unwrapped, 'element');\n if (element) {\n collectSchemaFields(element, basePath, acc, nextActiveSchemas, undefined, insideUnresolvableUnion);\n }\n break;\n }\n case 'union':\n case 'discriminatedUnion': {\n const unionMembers = getUnionObjectMembers(unwrapped);\n const unionDiscriminatorEnums = synthesizeUnionDiscriminatorEnums(unionMembers);\n const memberInsideUnresolvableUnion = insideUnresolvableUnion || unionMembers.length === 0;\n const options = getZodDefArrayProperty(unwrapped, 'options') || [];\n for (const option of options) {\n if (option && typeof option === 'object') {\n collectSchemaFields(option as z.ZodTypeAny, basePath, acc, nextActiveSchemas, unionDiscriminatorEnums, memberInsideUnresolvableUnion);\n }\n }\n break;\n }\n case 'intersection': {\n const left = getZodDefSchemaProperty(unwrapped, 'left');\n const right = getZodDefSchemaProperty(unwrapped, 'right');\n if (left) {\n collectSchemaFields(left, basePath, acc, nextActiveSchemas, undefined, insideUnresolvableUnion);\n }\n if (right) {\n collectSchemaFields(right, basePath, acc, nextActiveSchemas, undefined, insideUnresolvableUnion);\n }\n break;\n }\n /*\n * No wrapper cases (`optional`/`nullable`/`default`/`effects`/`transform`/`refine`), deliberately: `unwrapSchema`\n * above peels optional, nullable, default, pipe, readonly and catch, and Zod 4 has no `effects`/`refine` type\n * (a refinement is a check on the same schema). The one survivor among the removed case labels is\n * `transform` (e.g. the `in` side of a `z.preprocess` pipe), whose def carries no inner schema — so the removed\n * case could only ever do nothing. `prefault`, `lazy` and `nonoptional` also survive `unwrapSchema`, but no case\n * here ever walked them. Measured 2026-09-14 over optional, nullable, nullish, default, transform, refine,\n * superRefine, preprocess, pipe, readonly, catch, prefault, lazy, brand and a chained wrapper.\n */\n default:\n break;\n }\n}\n\nfunction registerField(\n pathSegments: string[],\n schema: z.ZodTypeAny | undefined,\n acc: Map<string, FieldInfo>,\n enumSourceSchema?: z.ZodTypeAny,\n insideUnresolvableUnion = false,\n): void {\n if (!schema || pathSegments.length === 0) {\n return;\n }\n\n const fieldPath = pathSegments.join('.');\n const unwrapped = unwrapSchema(schema);\n if (!unwrapped) {\n return;\n }\n\n /*\n * Whether the field carries a vocabulary is `resolveFieldEnumSchema`'s answer, shared with the labelling\n * planner and the renderer. Asking \"is the unwrapped type `enum`\" missed a discriminator literal (#1021)\n * and an array's element (#1079), both of which the renderer looks words up for. A union's discriminator\n * reads the enum synthesized across its members (`enumSourceSchema`). Inside a union no key discriminates\n * (`insideUnresolvableUnion`) nothing is an enum: the renderer asks for no word anywhere below it.\n */\n const resolvedEnumSchema = resolveFieldEnumSchema(enumSourceSchema ?? schema);\n const enumSchema = insideUnresolvableUnion ? undefined : resolvedEnumSchema;\n if (enumSchema) {\n const enumValues = getEnumValues(enumSchema).map(String);\n acc.set(fieldPath, {\n isEnum: true,\n enumValues,\n /*\n * The same answer the labelling planner and the frontend cascade use (#966). This gate used to ask\n * \"decorated AND registered in `SYSTEM_ENUM_NAMES`\" — a third decider. A decorated vocabulary no\n * frontend registered (`PlatformAccessGrantStatus`) then got per-field keys here while the planner\n * suppressed them and the renderer read `system_enums`, and a plain `z.enum(DateFormat)` got per-field\n * keys the renderer never needed.\n */\n isSystemEnum: Boolean(resolveDeclaredSystemEnumName(enumSchema, enumValues)),\n schema,\n });\n return;\n }\n\n if (!acc.has(fieldPath)) {\n acc.set(fieldPath, {\n isEnum: false,\n schema,\n });\n }\n}\n\nfunction collectFrontendResourceLabelKeys(\n resourceConfigurations: Record<string, AnyFrontendResourceConfiguration>,\n): string[] {\n const resourcesSectionPolicy = LabellingPolicy[LabellingTypes.RESOURCES] as Record<string, unknown>;\n const headerDefs: LabellingUnitaryDef[] = Array.isArray(resourcesSectionPolicy?.header)\n ? resourcesSectionPolicy.header as LabellingUnitaryDef[]\n : [];\n const operationsDefs: LabellingUnitaryDef[] = Array.isArray(resourcesSectionPolicy?.operations)\n ? resourcesSectionPolicy.operations as LabellingUnitaryDef[]\n : [];\n const emptyStateDefs: LabellingUnitaryDef[] = Array.isArray(resourcesSectionPolicy?.emptyState)\n ? resourcesSectionPolicy.emptyState as LabellingUnitaryDef[]\n : [];\n\n const fieldsSectionPolicy = LabellingPolicy[LabellingTypes.RESOURCES_FIELDS] as Record<string, unknown>;\n const displayDefs: LabellingUnitaryDef[] = Array.isArray(fieldsSectionPolicy?.display)\n ? fieldsSectionPolicy.display as LabellingUnitaryDef[]\n : [];\n const editDefs: LabellingUnitaryDef[] = Array.isArray(fieldsSectionPolicy?.edit)\n ? fieldsSectionPolicy.edit as LabellingUnitaryDef[]\n : [];\n const sectionPolicy = LabellingPolicy[LabellingTypes.RESOURCES_SECTIONS] as Record<string, unknown>;\n const sectionDefs: LabellingUnitaryDef[] = Array.isArray(sectionPolicy?.section)\n ? sectionPolicy.section as LabellingUnitaryDef[]\n : [];\n const wizardStepPolicy = LabellingPolicy[LabellingTypes.RESOURCES_WIZARD_STEPS] as Record<string, unknown>;\n const wizardStepDefs: LabellingUnitaryDef[] = Array.isArray(wizardStepPolicy?.section)\n ? wizardStepPolicy.section as LabellingUnitaryDef[]\n : [];\n\n const keys: string[] = [];\n\n for (const [resourceType, resourceConfig] of Object.entries(resourceConfigurations)) {\n if (resourceConfig.isSystemResource) {\n continue;\n }\n\n for (const def of headerDefs) {\n const key = typeof def === 'string' ? def : def?.ref;\n if (key) {\n keys.push(`${LabellingTypes.RESOURCES}.${resourceType}.header.${key}`);\n }\n }\n\n const operationIdentifiers = Array.from(\n new Set((resourceConfig.operations || []).map((operation) => String(operation.operationIdentifier))),\n );\n // Operation `description` keys are OPT-IN and intentionally NOT emitted here: this\n // mirror's `resources.*` keys are dropped by the planner, and the per-operation\n // description opt-in (`operationFrontendConfig.hasDescription`) is delivered to\n // `planResourceUnits` via the dedicated `operationDescriptionOptIns` snapshot field\n // (see this behavior's return value + `frontend-derived-label-keys.utils.ts`). That\n // way the `.description` key is emitted exactly once, by the planner, with spec keyMeta.\n for (const operationIdentifier of operationIdentifiers) {\n for (const def of operationsDefs) {\n const key = typeof def === 'string' ? def : def?.ref;\n if (key) {\n keys.push(`${LabellingTypes.RESOURCES}.${resourceType}.operations.${operationIdentifier}.${key}`);\n }\n }\n }\n\n for (const def of emptyStateDefs) {\n const key = typeof def === 'string' ? def : def?.ref;\n if (key) {\n keys.push(`${LabellingTypes.RESOURCES}.${resourceType}.emptyState.${key}`);\n }\n }\n\n const layoutRefs = resourceConfig.frontendConfiguration?.layout?.refs;\n for (const sectionRef of layoutRefs?.sections ?? []) {\n for (const def of sectionDefs) {\n const key = typeof def === 'string' ? def : def?.ref;\n if (key) {\n keys.push(`${LabellingTypes.RESOURCES}.${resourceType}.sections.${sectionRef}.${key}`);\n }\n }\n }\n for (const stepRef of layoutRefs?.wizardSteps ?? []) {\n for (const def of wizardStepDefs) {\n const key = typeof def === 'string' ? def : def?.ref;\n if (key) {\n keys.push(`${LabellingTypes.RESOURCES}.${resourceType}.wizardSteps.${stepRef}.${key}`);\n }\n }\n }\n for (const groupRef of layoutRefs?.groups ?? []) {\n keys.push(`${LabellingTypes.RESOURCES}.${resourceType}.groups.${groupRef}.title`);\n }\n\n const fieldInfoMap = new Map<string, FieldInfo>();\n collectSchemaFields(resourceConfig.mainSchema as z.ZodTypeAny, [], fieldInfoMap);\n\n for (const operation of resourceConfig.operations || []) {\n if (operation.requestDto) {\n collectSchemaFields(operation.requestDto as z.ZodTypeAny, [], fieldInfoMap);\n }\n if (operation.responseDto) {\n collectSchemaFields(operation.responseDto as z.ZodTypeAny, [], fieldInfoMap);\n }\n }\n\n const topLevelFields = new Set<string>();\n for (const fieldPath of fieldInfoMap.keys()) {\n if (!fieldPath.startsWith('data.')) {\n topLevelFields.add(fieldPath);\n }\n }\n\n const filteredFieldPaths = [...fieldInfoMap.keys()].filter((fieldPath) => {\n if (!fieldPath.startsWith('data.')) {\n return true;\n }\n\n return !topLevelFields.has(fieldPath.slice(5));\n });\n\n for (const fieldPath of filteredFieldPaths.sort()) {\n const info = fieldInfoMap.get(fieldPath);\n if (!info) {\n continue;\n }\n\n for (const def of displayDefs) {\n const key = typeof def === 'string' ? def : def?.ref;\n if (key) {\n keys.push(`${LabellingTypes.RESOURCES}.${resourceType}.fields.${fieldPath}.display.${key}`);\n }\n }\n\n for (const def of editDefs) {\n const key = typeof def === 'string' ? def : def?.ref;\n if (key) {\n keys.push(`${LabellingTypes.RESOURCES}.${resourceType}.fields.${fieldPath}.edit.${key}`);\n }\n }\n\n if (info.schema) {\n if (hasTooltipForDisplay(info.schema)) {\n keys.push(`${LabellingTypes.RESOURCES}.${resourceType}.fields.${fieldPath}.display.tooltip`);\n }\n if (hasTooltipForEdit(info.schema)) {\n keys.push(`${LabellingTypes.RESOURCES}.${resourceType}.fields.${fieldPath}.edit.tooltip`);\n }\n if (hasDescriptionForDisplay(info.schema)) {\n keys.push(`${LabellingTypes.RESOURCES}.${resourceType}.fields.${fieldPath}.display.description`);\n }\n if (hasDescriptionForEdit(info.schema)) {\n keys.push(`${LabellingTypes.RESOURCES}.${resourceType}.fields.${fieldPath}.edit.description`);\n }\n }\n\n if (info.isEnum && info.enumValues && info.enumValues.length > 0 && !info.isSystemEnum) {\n for (const enumValue of info.enumValues) {\n keys.push(`${LabellingTypes.RESOURCES}.${resourceType}.fields.${fieldPath}.enum.${enumValue}`);\n }\n }\n }\n }\n\n return keys;\n}\n\nfunction collectCompositeViewLabelKeys(params: {\n frontendModules: FrontendModule[];\n resourceConfigurations: Record<string, AnyFrontendResourceConfiguration>;\n}): string[] {\n const compositePolicy = LabellingPolicy[LabellingTypes.COMPOSITE_VIEWS] as Record<string, unknown>;\n const viewDefs: LabellingUnitaryDef[] = Array.isArray(compositePolicy?.view)\n ? compositePolicy.view as LabellingUnitaryDef[]\n : [];\n const sectionDefs: LabellingUnitaryDef[] = Array.isArray(compositePolicy?.section)\n ? compositePolicy.section as LabellingUnitaryDef[]\n : [];\n const keys: string[] = [];\n\n /*\n * A composite view's OWN declared label refs, beyond the baseline `view` / `section` pairs.\n *\n * Same contract as the view-family helper below and for the same reason: a composite's component\n * renders captions, KPI names and failure sentences the baseline pair cannot carry, and the only\n * alternative to a declared key is English written into the component.\n */\n const pushDeclaredCompositeLabels = (\n translationRef: string,\n labels: ReadonlyArray<{ ref?: unknown } | undefined> | undefined,\n ) => {\n for (const label of labels ?? []) {\n const labelRef = label?.ref;\n if (typeof labelRef !== 'string' || labelRef.length === 0) continue;\n keys.push(`${LabellingTypes.COMPOSITE_VIEWS}.${translationRef}.${labelRef}`);\n }\n };\n\n for (const module of params.frontendModules) {\n for (const [viewRef, compositeView] of Object.entries(module.compositeViews ?? {})) {\n const translationRef = `app.${viewRef}`;\n for (const def of viewDefs) {\n const key = typeof def === 'string' ? def : def?.ref;\n if (key) {\n keys.push(`${LabellingTypes.COMPOSITE_VIEWS}.${translationRef}.${key}`);\n }\n }\n for (const sectionRef of compositeView.sectionRefs ?? []) {\n for (const def of sectionDefs) {\n const key = typeof def === 'string' ? def : def?.ref;\n if (key) {\n keys.push(`${LabellingTypes.COMPOSITE_VIEWS}.${translationRef}.sections.${sectionRef}.${key}`);\n }\n }\n }\n pushDeclaredCompositeLabels(\n translationRef,\n (compositeView as { labels?: ReadonlyArray<{ ref?: unknown }> }).labels,\n );\n }\n }\n\n for (const resourceConfig of Object.values(params.resourceConfigurations)) {\n for (const compositeView of resourceConfig.frontendConfiguration?.compositeViews ?? []) {\n for (const def of viewDefs) {\n const key = typeof def === 'string' ? def : def?.ref;\n if (key) {\n keys.push(`${LabellingTypes.COMPOSITE_VIEWS}.${compositeView.translationRef}.${key}`);\n }\n }\n for (const sectionRef of compositeView.sectionRefs ?? []) {\n for (const def of sectionDefs) {\n const key = typeof def === 'string' ? def : def?.ref;\n if (key) {\n keys.push(`${LabellingTypes.COMPOSITE_VIEWS}.${compositeView.translationRef}.sections.${sectionRef}.${key}`);\n }\n }\n }\n pushDeclaredCompositeLabels(\n compositeView.translationRef,\n (compositeView as { labels?: ReadonlyArray<{ ref?: unknown }> }).labels,\n );\n }\n }\n\n return keys;\n}\n\nfunction collectNavigationViewLabelKeys(params: {\n frontendModules: FrontendModule[];\n resourceConfigurations: Record<string, AnyFrontendResourceConfiguration>;\n}): { keys: string[]; params: Record<string, string[]> } {\n const viewPolicy = LabellingPolicy[LabellingTypes.VIEWS] as Record<string, unknown> | undefined;\n const keys = new Set<string>();\n const viewLabelParams: Record<string, string[]> = {};\n const readViewKeys = (family: NavigationViewLabelFamily): string[] =>\n readLabellingKeys(viewPolicy, family);\n const addViewKeys = (\n family: NavigationViewLabelFamily,\n translationRef: string,\n ) => {\n for (const key of readViewKeys(family)) {\n keys.add(`${LabellingTypes.VIEWS}.${family}.${translationRef}.${key}`);\n }\n };\n\n /*\n * A view-declared label ref, beyond the family's baseline title/description.\n *\n * Factored out of the EXECUTION branch when FULL_CUSTOM gained the same declaration: a custom\n * renderer's own captions have to come from somewhere, and the only alternative to a declared key\n * is English written into the component, which no locale can translate. Object-form params\n * (`{ key }`) collapse to the name; plain-string params pass through.\n */\n const addDeclaredViewLabels = (\n family: NavigationViewLabelFamily,\n translationRef: string,\n labels: ReadonlyArray<{ ref?: unknown; params?: ReadonlyArray<unknown> } | undefined> | undefined,\n ) => {\n for (const label of labels ?? []) {\n const labelRef = label?.ref;\n if (typeof labelRef !== 'string' || labelRef.length === 0) continue;\n const fullKey = `${LabellingTypes.VIEWS}.${family}.${translationRef}.${labelRef}`;\n keys.add(fullKey);\n const paramNames = (label?.params ?? [])\n .map((p) => (typeof p === 'string' ? p : (p as { key?: unknown } | undefined)?.key))\n .filter((p): p is string => typeof p === 'string' && p.length > 0);\n if (paramNames.length > 0) viewLabelParams[fullKey] = paramNames;\n }\n };\n\n for (const module of params.frontendModules) {\n for (const fullCustomView of module.fullCustomViews ?? []) {\n const translationRef = `app.${fullCustomView.ref}`;\n addViewKeys(NavigationViewLabelFamily.FULL_CUSTOM, translationRef);\n addDeclaredViewLabels(\n NavigationViewLabelFamily.FULL_CUSTOM,\n translationRef,\n (fullCustomView as { labels?: ReadonlyArray<{ ref?: unknown; params?: ReadonlyArray<unknown> }> }).labels,\n );\n }\n\n for (const flowsActorsView of module.flowsActorsViews ?? []) {\n addViewKeys(\n NavigationViewLabelFamily.FLOWS_ACTORS,\n `app.${flowsActorsView.ref}`,\n );\n }\n }\n\n for (const [resourceType, resourceConfig] of Object.entries(params.resourceConfigurations)) {\n for (const chartView of resourceConfig.frontendConfiguration?.chartViews ?? []) {\n addViewKeys(\n NavigationViewLabelFamily.CHART,\n `resources.${resourceType}.${chartView.ref}`,\n );\n }\n\n for (const executionView of resourceConfig.frontendConfiguration?.executionViews ?? []) {\n const translationRef = `resources.${resourceType}.${executionView.ref}`;\n // Baseline framework keys (title/description) from the policy, then the view's own declared\n // refs and their interpolation params.\n addViewKeys(NavigationViewLabelFamily.EXECUTION, translationRef);\n addDeclaredViewLabels(NavigationViewLabelFamily.EXECUTION, translationRef, executionView.labels);\n }\n }\n\n return { keys: Array.from(keys), params: viewLabelParams };\n}\n\n/**\n * Collect `sidebar_sections.<ref>.{title,description}` keys.\n *\n * Section refs are the union of:\n * - app-level sections authored on `appShellConfig[SIDEBAR].contentSections`\n * - per-module `sidebarSections` contributions (a module can declare whole\n * sections, e.g. tasks-manager's `main` + `tools`).\n *\n * `LabellingPolicy[SIDEBAR_SECTIONS]` is intentionally empty (the section-ref\n * space is app-defined, not statically enumerable), so the canonical\n * `title` / `description` sub-keys are encoded here — matching the runtime\n * lookup `tSidebarSection(ref, 'title' | 'description')`.\n */\nfunction collectSidebarSectionLabelKeys(params: {\n frontendModules: FrontendModule[];\n appShellConfig: unknown;\n}): string[] {\n const sidebarConfig = isRecord(params.appShellConfig)\n ? params.appShellConfig[ApplicationLevelComponentType.SIDEBAR]\n : undefined;\n const appLevelSections: SidebarSection[] =\n isRecord(sidebarConfig) && Array.isArray(sidebarConfig.contentSections)\n ? sidebarConfig.contentSections as SidebarSection[]\n : [];\n\n const moduleSections: SidebarSection[] = params.frontendModules\n .flatMap((module) => module.sidebarSections ?? []);\n\n const subKeys = ['title', 'description'] as const;\n const seen = new Set<string>();\n const keys: string[] = [];\n for (const section of [...appLevelSections, ...moduleSections]) {\n const ref = section?.ref;\n if (!ref || seen.has(ref)) continue;\n seen.add(ref);\n for (const sub of subKeys) {\n keys.push(`${LabellingTypes.SIDEBAR_SECTIONS}.${ref}.${sub}`);\n }\n }\n return keys;\n}\n\n/**\n * Settings Hub rail labels — one `label` key per authored category and per\n * PLACED section.\n *\n * Sibling of {@link collectSidebarSectionLabelKeys}, and empty for the same\n * reason its policy entry is: the ref space is the application's\n * (`settingsHub.categories` / `settingsHub.placements`), so it cannot be\n * enumerated from a static table. The canonical `label` sub-key is encoded here,\n * matching the runtime lookups `tSettingsHubCategory(ref, fallback)` and\n * `tSettingsHubSection(ref, fallback)`.\n *\n * Keys derive from PLACEMENTS, never from the engine destination catalog. A\n * destination the application did not place renders nowhere, so generating a\n * label for it would pay an LLM call for a string no user can reach — and would\n * quietly re-assert the framework-owns-the-rail model the placement split exists\n * to remove.\n */\nfunction collectSettingsHubLabelKeys(params: { settingsHubConfig: unknown }): { keys: string[]; keyMeta: Record<string, string> } {\n const config = params.settingsHubConfig;\n if (!isRecord(config)) return { keys: [], keyMeta: {} };\n\n const keys: string[] = [];\n const keyMeta: Record<string, string> = {};\n const seen = new Set<string>();\n\n const categories = Array.isArray(config.categories) ? config.categories : [];\n for (const category of categories) {\n const ref = isRecord(category) && typeof category.ref === 'string' ? category.ref : undefined;\n if (!ref || seen.has(`categories.${ref}`)) continue;\n seen.add(`categories.${ref}`);\n const key = `${LabellingTypes.SETTINGS_HUB}.categories.${ref}.label`;\n keys.push(key);\n if (isRecord(category) && typeof category.label === 'string' && category.label.length > 0) {\n keyMeta[key] = category.label;\n }\n }\n\n const destinationsByRef = new Map(\n ENGINE_SETTINGS_DESTINATIONS.map(destination => [destination.ref, destination]),\n );\n\n const pushSectionKey = (ref: string, authoredLabel?: unknown): void => {\n if (seen.has(`sections.${ref}`)) return;\n seen.add(`sections.${ref}`);\n const key = `${LabellingTypes.SETTINGS_HUB}.sections.${ref}.label`;\n keys.push(key);\n // The authored string is the INTENT. Without it the prompt sees only the ref\n // and invents from it — which on Wonder CRM turned \"User provisioning\" into\n // \"SCIM\" and \"Audit streaming\" into \"SIEM\".\n if (typeof authoredLabel === 'string' && authoredLabel.length > 0) {\n keyMeta[key] = authoredLabel;\n }\n };\n\n const placements = Array.isArray(config.placements) ? config.placements : [];\n for (const placement of placements) {\n const ref = isRecord(placement) && typeof placement.destinationRef === 'string'\n ? placement.destinationRef\n : undefined;\n if (!ref) continue;\n\n // A placement naming a destination the catalog does not ship resolves to\n // nothing (`resolveSettingsHubConfig` drops it) and is refused at DEV\n // startup, so it renders nowhere — the same reason an UNPLACED destination\n // gets no key. Generating one would pay an LLM call for a string no user\n // can reach, and the collector would disagree with the resolver about what\n // exists.\n const destination = destinationsByRef.get(ref);\n if (destination === undefined) continue;\n\n pushSectionKey(ref, isRecord(placement) ? placement.label : undefined);\n\n // SUB-TABS of a placed destination.\n //\n // A destination like `sso` renders inner tabs (\"Configuration\",\n // \"Connections\") whose labels the ENGINE authors. They resolve through\n // `tSettingsHubSection(subTab.ref, subTab.label)` — the same namespace,\n // keyed by the SUB-TAB's ref — so without a key here they render their\n // English fallback forever, in every locale. Eight such labels existed when\n // this was written, and section-level generation alone would have declared\n // the hub \"localizable\" while they stayed permanently English.\n //\n // Resolved against the engine catalog because a placement carries only a\n // ref; what the destination CONTAINS is the engine's fact, not the\n // application's.\n const target = destination.target;\n if (target?.kind === SettingsSectionTargetKind.SUB_TABS) {\n for (const subTab of target.subTabs) {\n pushSectionKey(subTab.ref, subTab.label);\n }\n }\n }\n\n return { keys, keyMeta };\n}\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n return Boolean(value) && typeof value === 'object';\n}\n\nfunction readLabellingKeys(\n section: Record<string, unknown> | undefined,\n entryKey: string,\n): string[] {\n const defs = Array.isArray(section?.[entryKey])\n ? section[entryKey] as LabellingUnitaryDef[]\n : [];\n\n return defs\n .map((def) => typeof def === 'string' ? def : def?.ref)\n .filter((key): key is string => Boolean(key));\n}\n\ntype GuidanceNamespacePolicyContext = {\n flowKeys: string[];\n tourStepKeys: string[];\n surveyQuestionKeys: string[];\n surveyOptionKeys: string[];\n};\n\n/**\n * Read the `guidance` LabellingPolicy sub-key lists once so the per-entry\n * extractor can stay a pure function shared across all three guidance sources\n * (resource-scoped flows, app-level flows, onboarding views).\n */\nfunction buildGuidanceNamespacePolicyContext(): GuidanceNamespacePolicyContext {\n const guidancePolicy = LabellingPolicy[LabellingTypes.GUIDANCE] as Record<string, unknown> | undefined;\n return {\n flowKeys: readLabellingKeys(guidancePolicy, 'flow'),\n tourStepKeys: readLabellingKeys(guidancePolicy, 'tour_step'),\n surveyQuestionKeys: readLabellingKeys(guidancePolicy, 'survey_question'),\n surveyOptionKeys: readLabellingKeys(guidancePolicy, 'survey_option'),\n };\n}\n\n/**\n * Emit every `guidance.<namespace>.…` label key for a single guidance-namespace\n * entry — a guidance flow OR an onboarding view (both are structurally\n * `{ ref, elements }` and render through the identical runtime path). Emits:\n * - flow-level keys (`guidance.<namespace>.{title,description}` from the `flow`\n * policy) — for guidance flows these back `tGuidanceFlow` reads (e.g.\n * activation-criterion titles); for onboarding views they back the authored\n * flow-level `textSlots` (wizard-chrome headline) the spec layer documents.\n * - per-element keys from `GUIDANCE_ELEMENT_FIELDS[element.type]` — the\n * per-element-type field map (MODAL → title/description/content/actionLabel,\n * etc.) the runtime element renderers read via `makeTrGuidanceElement(ref, el)`.\n * - nested TOUR step and SURVEY question/option keys.\n *\n * `namespace` is the segment between `guidance.` and the rest of the key — the\n * EXACT string the runtime uses as the flow's `ref` (mirroring the planner-side\n * `buildGuidanceFlowKeys({ flowNamespace })`):\n * - app-level guidance flows + onboarding views → the bare authored `ref`;\n * - resource-scoped guidance → `<resourceType>.<flowRef>` (see\n * `compileResourceGuidance` → `namespacedRef`).\n *\n * Onboarding views are a SEPARATE authored concept from guidance flows\n * (distinct `OnboardingViewDefinition` schema, distinct module surface, distinct\n * spec family) but deliberately share the `guidance.*` runtime namespace and the\n * `OnboardingElement` schema — there is NO separate `onboarding.*` namespace —\n * so one extractor serves both.\n */\nfunction collectGuidanceNamespaceEntryKeys(\n namespace: string,\n elements: ReadonlyArray<Record<string, unknown>> | undefined,\n policy: GuidanceNamespacePolicyContext,\n): string[] {\n const keys = new Set<string>();\n\n for (const key of policy.flowKeys) {\n keys.add(`${LabellingTypes.GUIDANCE}.${namespace}.${key}`);\n }\n\n for (const element of elements ?? []) {\n const elementRef = typeof element.ref === 'string' ? element.ref : undefined;\n if (!elementRef) {\n continue;\n }\n\n const elementType = element.type as OnboardingElementType | undefined;\n for (const field of elementType ? (GUIDANCE_ELEMENT_FIELDS[elementType] ?? []) : []) {\n keys.add(`${LabellingTypes.GUIDANCE}.${namespace}.elements.${elementRef}.${field}`);\n }\n\n if (elementType === OnboardingElementType.TOUR) {\n const steps = Array.isArray(element.steps) ? element.steps as Array<Record<string, unknown>> : [];\n for (const step of steps) {\n const stepRef = typeof step.ref === 'string' ? step.ref : undefined;\n if (!stepRef) {\n continue;\n }\n for (const key of policy.tourStepKeys) {\n keys.add(`${LabellingTypes.GUIDANCE}.${namespace}.elements.${elementRef}.tour_steps.${stepRef}.${key}`);\n }\n }\n }\n\n if (elementType === OnboardingElementType.SURVEY) {\n const questions = Array.isArray(element.questions) ? element.questions as Array<Record<string, unknown>> : [];\n for (const question of questions) {\n const questionId = typeof question.id === 'string' ? question.id : undefined;\n if (!questionId) {\n continue;\n }\n\n for (const key of policy.surveyQuestionKeys) {\n keys.add(`${LabellingTypes.GUIDANCE}.${namespace}.elements.${elementRef}.survey_questions.${questionId}.${key}`);\n }\n\n const options = Array.isArray(question.options) ? question.options as Array<Record<string, unknown>> : [];\n for (const option of options) {\n const optionRef = typeof option.ref === 'string' ? option.ref : undefined;\n if (!optionRef) {\n continue;\n }\n for (const key of policy.surveyOptionKeys) {\n keys.add(`${LabellingTypes.GUIDANCE}.${namespace}.elements.${elementRef}.survey_questions.${questionId}.options.${optionRef}.${key}`);\n }\n }\n }\n }\n }\n\n return Array.from(keys);\n}\n\n/**\n * Read the `{ ref, elements }` projection of a raw authored guidance/onboarding\n * entry. The runtime schemas (`GuidanceFlowDefinition`, `OnboardingViewDefinition`,\n * resource `frontendConfiguration.guidance`) are all structurally compatible here.\n */\nfunction readGuidanceEntry(raw: unknown): { ref?: string; elements?: Array<Record<string, unknown>> } {\n return raw as { ref?: string; elements?: Array<Record<string, unknown>> };\n}\n\n/**\n * Resource-scoped guidance flows (`resourceConfig.frontendConfiguration.guidance`).\n *\n * The runtime compiles these into the GLOBAL guidance namespace under\n * `${resourceType}.${flow.ref}` (see `compileResourceGuidance` → `namespacedRef`,\n * e.g. `TASKS.list-intro`), so the discovery mirror keys them PREFIXED to match\n * the runtime AND `planResourceUnits` (`collectResourceGuidanceKeys`). Returned\n * inside `appSpecificLabelKeys`; the planner DROPS them (resource-scoped guidance\n * is owned + materialized by `planResourceUnits` off the backend resources\n * registry), but the discovery surface stays a TRUTHFUL mirror of the frontend\n * label graph — an unprefixed key here would mirror a namespace the runtime never\n * reads.\n */\nfunction collectResourceScopedGuidanceLabelKeys(params: {\n resourceConfigurations: Record<string, AnyFrontendResourceConfiguration>;\n}): string[] {\n const policy = buildGuidanceNamespacePolicyContext();\n const keys = new Set<string>();\n for (const [resourceType, resourceConfig] of Object.entries(params.resourceConfigurations)) {\n for (const flow of resourceConfig.frontendConfiguration?.guidance ?? []) {\n const entry = readGuidanceEntry(flow);\n if (!entry.ref) {\n continue;\n }\n for (const key of collectGuidanceNamespaceEntryKeys(`${resourceType}.${entry.ref}`, entry.elements, policy)) {\n keys.add(key);\n }\n }\n }\n return Array.from(keys);\n}\n\n/**\n * App-level guidance flows (`module.guidanceFlows`) → `guidance.<flowRef>.*`.\n *\n * Surfaced as its OWN discovery field (not folded into `appSpecificLabelKeys`)\n * because the planner's `setGuidanceFlowProvider` override targets guidance\n * flows specifically: when an app registers a provider the planner trusts it and\n * ignores this set; otherwise this discovery-derived set is the source. Without\n * it, app-level guidance flows would have no owner (the provider is optional and\n * the frontend-derived path otherwise drops `guidance.*`). Keyed by the bare\n * authored `ref` — the runtime does NOT namespace app-level flows.\n */\nfunction collectAppLevelGuidanceFlowLabelKeys(params: {\n frontendModules: FrontendModule[];\n}): string[] {\n const policy = buildGuidanceNamespacePolicyContext();\n const keys = new Set<string>();\n for (const module of params.frontendModules) {\n for (const flow of module.guidanceFlows ?? []) {\n const entry = readGuidanceEntry(flow);\n if (!entry.ref) {\n continue;\n }\n for (const key of collectGuidanceNamespaceEntryKeys(entry.ref, entry.elements, policy)) {\n keys.add(key);\n }\n }\n }\n return Array.from(keys);\n}\n\n/**\n * Module-level onboarding views (`module.onboardingViews`) → `guidance.<viewRef>.*`.\n *\n * Onboarding views share the `guidance.*` runtime namespace + `OnboardingElement`\n * schema with guidance flows and render through the same `GuidanceRenderer` →\n * per-element `makeTrGuidanceElement(ref, el)` path, but they are a SEPARATE\n * authored concept with NO provider contract, so the planner always owns them\n * from this discovery-derived field. Keyed by the bare authored `ref` — matching\n * `OnboardingView`'s `translationRef` (`viewRefProp || doc.ref || …`). Omitting\n * this collector strands an onboarding view's authored element copy\n * (title/description/content/actionLabel) with no generated labels — the bug this\n * collector closes.\n */\nfunction collectOnboardingViewLabelKeys(params: {\n frontendModules: FrontendModule[];\n}): string[] {\n const policy = buildGuidanceNamespacePolicyContext();\n const keys = new Set<string>();\n for (const module of params.frontendModules) {\n for (const onboardingView of module.onboardingViews ?? []) {\n const entry = readGuidanceEntry(onboardingView);\n if (!entry.ref) {\n continue;\n }\n for (const key of collectGuidanceNamespaceEntryKeys(entry.ref, entry.elements, policy)) {\n keys.add(key);\n }\n }\n }\n return Array.from(keys);\n}\n\nexport async function runFrontendLabelsNeededInfo(\n frontendCompanionExports: FrontendCompanionExports,\n context: {\n serviceKey: string;\n },\n): Promise<FrontendLabelsNeededInfo> {\n const loadFrontendModules = frontendCompanionExports.loadFrontendModules as FrontendModulesLoader | undefined;\n if (!loadFrontendModules) {\n throw new Error(\n 'Target companion export does not expose loadFrontendModules().',\n );\n }\n\n const loadSharedModules = frontendCompanionExports.loadSharedModules as FrontendSharedModulesLoader | undefined;\n if (!loadSharedModules) {\n throw new Error(\n 'Target companion export does not expose loadSharedModules().',\n );\n }\n\n seedFrontendCompanionEnvironment(context.serviceKey);\n const [frontendModules, sharedModules] = await Promise.all([\n loadFrontendModules(),\n loadSharedModules(),\n ]);\n const sharedRegistry = buildSharedSaaSModulesRegistry(...sharedModules);\n const resourceRepository = new ResourcesRepositoryFrontendService(\n new WildoBackendHttpClient({\n baseURL: 'http://localhost',\n enableNetworkQueue: false,\n }),\n );\n\n // Capture the merged ui-behavior overlay: it is BOTH the operation-frontend-config\n // source for `initializeResources` AND the only readable source of per-operation\n // `hasDescription` opt-ins (operationFrontendConfig is invisible to the planner\n // main process). It covers EVERY resource in the frontend module chain — including\n // engine resources like `organizations` that have no materialized shared base here.\n const resourceUIBehavior = buildFrontendCompanionResourceUIBehavior(...frontendModules);\n await resourceRepository.initializeResources(\n sharedRegistry.resourceConfigurations,\n sharedRegistry.resourceFieldIdentifiers,\n sharedRegistry.resourceRelationships,\n undefined,\n resourceUIBehavior,\n );\n\n const resourcesRegistry = resourceRepository.getResourcesRegistry();\n const resourceConfigurations: Record<string, AnyFrontendResourceConfiguration> =\n resourcesRegistry.resourceConfigurations || {};\n const navigationViewLabels = collectNavigationViewLabelKeys({\n frontendModules,\n resourceConfigurations,\n });\n\n // Per-operation description OPT-IN — extracted from the merged ui-behavior `views`\n // (the ONLY readable source of `operationFrontendConfig.hasDescription`). Keyed\n // resourceType → opIds; the planner's `planResourceUnits` emits the matching\n // `resources.{type}.operations.{op}.description` key so the copy flows through\n // spec-driven `projectResourceKeyMeta`. Iterates the ui-behavior overlay — NOT the\n // materialized `resourceConfigurations` — so engine resources (e.g. organizations)\n // with no shared base here are still covered. `views` keys are `TypedOperationKey`:\n // a bare `string` for the default operation, or `[operationId, variantKey]` for a\n // non-default variant (collapse to the operation identifier either way).\n const operationDescriptionOptIns: Record<string, string[]> = {};\n // Empty-state `secondaryActionLabel` is the one empty-state label with NO generic fallback\n // in `ResourceEmptyState` — it renders only when the frontend config declares a\n // `secondaryAction`. Surface those resource types so the planner emits that key for them\n // alone (empty-state presence is gated by the planner directly off backend collection\n // operations, since the title DOES have a fallback; the primary action has no key — it is the\n // CREATE operation and takes its title).\n const emptyStateSecondaryActionRefs: string[] = [];\n // Structural layout refs, read from the SAME overlay for the same reason: `layout.refs` is\n // authored in the ui-behavior, so this subprocess is the only process that can see it. The\n // planner used to read it off the backend registry's `frontendConfiguration`, where it is never\n // populated — and its own `resources.*` keys (computed correctly a few hundred lines above,\n // where `layoutRefs` IS in scope) are dropped as planner-owned. Surfacing the refs here lets\n // `planResourceUnits` emit `resources.{type}.sections.{ref}.{title,description}` for real.\n const resourceLayoutRefs: Record<string, { sections: string[]; wizardSteps: string[]; groups: string[]; filterPresets: string[] }> = {};\n for (const [resourceType, behavior] of Object.entries(resourceUIBehavior)) {\n if (behavior?.emptyState?.secondaryAction) {\n emptyStateSecondaryActionRefs.push(resourceType);\n }\n const asStrings = (value: unknown): string[] =>\n Array.isArray(value) ? value.filter((entry): entry is string => typeof entry === 'string') : [];\n\n const authoredRefs = (behavior as { layout?: { refs?: { sections?: unknown; wizardSteps?: unknown; groups?: unknown } } })?.layout?.refs;\n\n /*\n * FILTER-PRESET refs, collected from the same ui-behavior overlay for the same reason the\n * layout refs above are: they are authored per collection VIEW\n * (`views → collectionDisplayConfig.presetFilters`), which only this subprocess can import.\n * A preset with no authored label renders its raw `ref` as a pill, so a ref that never reaches\n * the planner is a pill reading `created-today` in every locale, forever.\n *\n * Deduplicated across views because LIST and SEARCH of one resource commonly declare the same\n * presets, and one ref is one label whichever view showed it.\n */\n const filterPresetRefs = new Set<string>();\n const viewEntries = behavior?.views;\n if (viewEntries instanceof Map) {\n for (const [, operationConfig] of viewEntries) {\n const presets = (operationConfig as { collectionDisplayConfig?: { presetFilters?: unknown } })\n ?.collectionDisplayConfig?.presetFilters;\n if (!Array.isArray(presets)) continue;\n for (const preset of presets) {\n const ref = (preset as { ref?: unknown })?.ref;\n if (typeof ref === 'string' && ref.length > 0) filterPresetRefs.add(ref);\n }\n }\n }\n\n if (authoredRefs || filterPresetRefs.size > 0) {\n const refs = {\n sections: asStrings(authoredRefs?.sections),\n wizardSteps: asStrings(authoredRefs?.wizardSteps),\n groups: asStrings(authoredRefs?.groups),\n filterPresets: Array.from(filterPresetRefs),\n };\n if (refs.sections.length || refs.wizardSteps.length || refs.groups.length || refs.filterPresets.length) {\n resourceLayoutRefs[resourceType] = refs;\n }\n }\n const views = behavior?.views;\n if (!(views instanceof Map)) continue;\n const flagged = new Set<string>();\n for (const [operationKey, operationConfig] of views) {\n if (operationConfig?.hasDescription) {\n flagged.add(Array.isArray(operationKey) ? String(operationKey[0]) : String(operationKey));\n }\n }\n if (flagged.size > 0) operationDescriptionOptIns[resourceType] = Array.from(flagged);\n }\n\n const settingsHubLabels = collectSettingsHubLabelKeys({\n settingsHubConfig: (frontendCompanionExports as { settingsHubConfig?: unknown }).settingsHubConfig,\n });\n\n return {\n appSpecificLabelKeys: [\n ...collectFrontendResourceLabelKeys(resourceConfigurations),\n ...collectCompositeViewLabelKeys({\n frontendModules,\n resourceConfigurations,\n }),\n ...navigationViewLabels.keys,\n ...collectSidebarSectionLabelKeys({\n frontendModules,\n appShellConfig: frontendCompanionExports.appShellConfig,\n }),\n ...settingsHubLabels.keys,\n ...collectResourceScopedGuidanceLabelKeys({\n resourceConfigurations,\n }),\n ],\n appLevelGuidanceFlowLabelKeys: collectAppLevelGuidanceFlowLabelKeys({ frontendModules }),\n onboardingViewLabelKeys: collectOnboardingViewLabelKeys({ frontendModules }),\n viewLabelParams: navigationViewLabels.params,\n settingsHubKeyMeta: settingsHubLabels.keyMeta,\n operationDescriptionOptIns,\n emptyStateSecondaryActionRefs,\n resourceLayoutRefs,\n };\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"market-context-block.builder.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"market-context-block.builder.d.ts","sourceRoot":"","sources":["../../../../../src/core/introspection/subprocess/market-context-block.builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,cAAc,EAIpB,MAAM,+BAA+B,CAAC;AAEvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,MAAM,WAAW,uBAAuB;IACtC;yEACqE;IACrE,QAAQ,EAAE,cAAc,CAAC;IACzB,MAAM,EACF;QAAE,IAAI,EAAE,SAAS,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,GACvC;QAAE,IAAI,EAAE,KAAK,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IACpC;;+BAE2B;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,uBAAuB;IACtC;;2DAEuD;IACvD,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,yEAAyE;IACzE,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,wEAAwE;IACxE,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,MAAM,WAAW,wBAAwB;IACvC,oEAAoE;IACpE,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,uBAAuB,CAAC;CAChC;AA+BD,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,uBAAuB,GAC7B,wBAAwB,CA6D1B;AA4VD,0DAA0D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"market-context-block.builder.js","sourceRoot":"","sources":["../../../../../../src/core/introspection/subprocess/market-context-block.builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,WAAW,EAGX,kBAAkB,GAEnB,MAAM,+BAA+B,CAAC;AAgGvC,MAAM,iBAAiB,GAAgC;IACrD,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;IACrB,CAAC,WAAW,CAAC,SAAS,CAAC,EAAE,CAAC;IAC1B,CAAC,WAAW,CAAC,WAAW,CAAC,EAAE,CAAC;IAC5B,CAAC,WAAW,CAAC,QAAQ,CAAC,EAAE,CAAC;IACzB,CAAC,WAAW,CAAC,WAAW,CAAC,EAAE,CAAC;CAC7B,CAAC;AAEF;;wEAEwE;AACxE,MAAM,+BAA+B,G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C,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC;AAED;;;;;;GAMG;AACH,SAAS,uBAAuB,CAAC,KAAyB;IACxD,IAAI,KAAK,KAAK,SAAS;QAAE,OAAO,SAAS,CAAC;IAC1C,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC;IAC7B,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,SAAS,CAAC;IAC3C,IAAI,OAAO,CAAC,MAAM,GAAG,0BAA0B,EAAE,CAAC;QAChD,MAAM,IAAI,KAAK,CACb,kDAAkD,OAAO,CAAC,MAAM,cAAc;cAC5E,QAAQ,0BAA0B,qDAAqD;cACvF,4EAA4E,CAC/E,CAAC;IACJ,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,SAAS,2BAA2B,CAAC,cAAsB;IACzD,OAAO;QACL,qBAAqB;QACrB,iCAAiC,cAAc,0GAA0G;KAC1J,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC;AACD,0DAA0D","sourcesContent":["import {\n type FeatureBenefitConfig,\n type MarketICPConfig,\n ICPPriority,\n type MarketSnapshot,\n type ToneOfVoiceConfig,\n AuthoredConfidence,\n type MarketAuthoredMetadata,\n} from '@wildo-ai/saas-specifications';\n\n/**\n * @wildo_source:part:start market.context-block.builder facet:layer:companion facet:family:market\n *\n * Pure builder that renders an English \"market context\" prose block\n * from a validated `MarketSnapshot`. The block is consumed by:\n *\n * - the dev-companion subprocess behaviors `market-context-for-feature`\n * and `market-context-for-icp` (Phase 4.1);\n * - the market generation CLI (`wildo market generate`) which\n * concatenates the block with a `MarketMessageTemplate.promptTemplate`\n * before sending to the LLM (Phase 4.2).\n *\n * **Pure function — no I/O, no DI, no runtime registry access, no\n * mutation of the input snapshot.** The same `(snapshot, intent)`\n * input always renders the same output (deterministic section order,\n * deterministic ICP / benefit ordering by ref). This keeps the block\n * trivial to snapshot-test and trivial to diff between snapshot\n * versions.\n *\n * **English-only by contract (D15 / §12).** When `outputLanguage` is\n * provided, the builder appends an \"Output language\" instruction line\n * for the LLM, but does NOT translate any of the content above it.\n * Translation happens at LLM-output time, never inside the spec.\n *\n * **Intent kinds:**\n * - `{ kind: 'feature', featureRef }` — answers \"I'm editing this\n * feature, what is its market context?\". Surfaces every benefit\n * whose `deliveredByFeatureRefs[]` contains `featureRef`, the\n * ICPs those benefits matter to, and the anti-target ICPs that\n * would be repelled by them.\n * - `{ kind: 'icp', icpRef }` — answers \"I'm writing copy for this\n * ICP, what's their world?\". Surfaces the ICP's pains/gains/jobs,\n * the benefits whose `importanceByICP[]` weights them at >= 5,\n * and their preferred voice.\n *\n * **Section order (load-bearing — consumers may rely on it):**\n * 1. `## Market context` header (with intent line)\n * 2. `### Category`\n * 3. `### Benefits in scope`\n * 4. `### Most-affected ICPs`\n * 5. `### Anti-target ICPs (do not pitch)`\n * 6. `### Tone of voice`\n * 7. `### Open questions / low-confidence entries` (skipped if empty)\n * 8. `### Output language` (only when `outputLanguage` is set)\n *\n * Empty sections are kept (with an explicit `_(none)_` line) for\n * sections 2–6 so the LLM sees the absence rather than silently\n * inferring it. Section 7 is the lone exception — empty\n * \"low-confidence\" lists carry no signal and are dropped.\n */\nexport interface MarketContextBlockInput {\n /** Validated `MarketSnapshot`. Caller is responsible for running\n * `validateMarketSnapshot` first; this builder trusts the input. */\n snapshot: MarketSnapshot;\n intent:\n | { kind: 'feature'; featureRef: string }\n | { kind: 'icp'; icpRef: string };\n /** Optional BCP-47 tag (e.g. `'fr'`, `'pt-BR'`). When set, the\n * builder appends an \"Output language\" instruction; never\n * translates the body. */\n outputLanguage?: string;\n}\n\n/**\n * Trace of the entities the builder considered. Useful for the CLI's\n * `--explain` mode and for unit tests that assert \"the builder\n * picked the right ICP\" without parsing prose.\n *\n * **Schema contract.** This interface is intentionally kept\n * structurally compatible with the public `MarketContextBlockTraceSchema`\n * contract exported by `@wildo-ai/saas-specifications`\n * — the Phase-4.2 market generation CLI parses the companion HTTP\n * response against that Zod schema. Any drift between this\n * interface and that schema must be reflected on **both** sides\n * (the schema is the cross-process contract; this interface is the\n * local renderer typing).\n */\nexport interface MarketContextBlockTrace {\n /** Refs of every ICP whose section was rendered. Order matches\n * the rendered output: feature intent → score-desc / priority /\n * ref; icp intent → single requested ref or empty. */\n icpsConsidered: string[];\n /** Ordered (by ref) refs of every benefit whose section was rendered. */\n benefitsConsidered: string[];\n /** Ref of the tone of voice whose do/don't were rendered, or `null`. */\n voiceUsed: string | null;\n}\n\nexport interface MarketContextBlockResult {\n /** English markdown prose, ready to concatenate with a template. */\n block: string;\n trace: MarketContextBlockTrace;\n}\n\nconst ICP_PRIORITY_RANK: Record<ICPPriority, number> = {\n [ICPPriority.CORE]: 0,\n [ICPPriority.EXPANSION]: 1,\n [ICPPriority.EXPLORATORY]: 2,\n [ICPPriority.DEFERRED]: 3,\n [ICPPriority.ANTI_TARGET]: 4,\n};\n\n/** Per-ICP fitness threshold for the `icp` intent's \"Benefits in scope\"\n * section. Benefits with `importanceByICP[icp].weight >= 5` are\n * considered relevant; below 5 the benefit is \"noise\" for that ICP. */\nconst ICP_BENEFIT_RELEVANCE_THRESHOLD = 5;\n\n/** Maximum number of \"Most-affected ICPs\" lines rendered for the\n * `feature` intent. Plan §10.2 caps at 3: the prompt should\n * surface the *primary* audiences for a feature edit, not enumerate\n * every ICP that mentioned it. The cap also keeps prompts short for\n * snapshots with dozens of ICPs. */\nconst MAX_AFFECTED_ICPS_RENDERED = 3;\n\n/** Defensive cap on the `outputLanguage` value rendered into the\n * prompt. BCP-47 language tags are short by spec (the longest\n * registered tag is well under 35 chars); a value longer than this\n * is a misuse — most likely a caller pasted a paragraph instead of\n * a tag. We refuse rather than silently embed garbage in the LLM\n * prompt. The companion handlers also validate at the request\n * boundary; this is a defense-in-depth guard for direct callers. */\nconst MAX_OUTPUT_LANGUAGE_LENGTH = 64;\n\nexport function buildMarketContextBlock(\n input: MarketContextBlockInput,\n): MarketContextBlockResult {\n const { snapshot, intent, outputLanguage } = input;\n\n const icpsByRef = new Map(snapshot.icps.map(icp => [icp.ref, icp] as const));\n const benefitsByRef = new Map(snapshot.benefits.map(b => [b.ref, b] as const));\n const voicesByRef = new Map(snapshot.tonesOfVoice.map(v => [v.ref, v] as const));\n\n const benefitsInScope = collectBenefitsInScope(snapshot, intent);\n const affectedIcps = collectAffectedIcps(intent, benefitsInScope, icpsByRef);\n const antiTargetIcps = snapshot.icps\n .filter(icp => icp.priority === ICPPriority.ANTI_TARGET)\n .slice()\n .sort(compareByRef);\n\n const voice = pickPreferredVoice({\n intent,\n icpsByRef,\n affectedIcps,\n voicesByRef,\n });\n\n const lowConfidenceEntries = collectLowConfidenceEntries({\n intent,\n snapshot,\n benefitsInScope,\n affectedIcps,\n });\n\n const lines: string[] = [];\n\n lines.push(renderHeader(intent));\n lines.push('');\n lines.push(renderCategorySection(snapshot));\n lines.push('');\n lines.push(renderBenefitsSection(benefitsInScope));\n lines.push('');\n lines.push(renderAffectedIcpsSection(affectedIcps, intent, benefitsInScope));\n lines.push('');\n lines.push(renderAntiTargetSection(antiTargetIcps));\n lines.push('');\n lines.push(renderVoiceSection(voice));\n\n if (lowConfidenceEntries.length > 0) {\n lines.push('');\n lines.push(renderLowConfidenceSection(lowConfidenceEntries));\n }\n\n const normalizedOutputLanguage = normalizeOutputLanguage(outputLanguage);\n if (normalizedOutputLanguage) {\n lines.push('');\n lines.push(renderOutputLanguageSection(normalizedOutputLanguage));\n }\n\n return {\n block: lines.join('\\n'),\n trace: {\n icpsConsidered: affectedIcps.map(icp => icp.ref),\n benefitsConsidered: benefitsInScope.map(b => b.ref),\n voiceUsed: voice?.ref ?? null,\n },\n };\n}\n\n// ---------------------------------------------------------------------------\n// Collection helpers\n// ---------------------------------------------------------------------------\n\nfunction collectBenefitsInScope(\n snapshot: MarketSnapshot,\n intent: MarketContextBlockInput['intent'],\n): FeatureBenefitConfig[] {\n if (intent.kind === 'feature') {\n return snapshot.benefits\n .filter(b => b.deliveredByFeatureRefs.includes(intent.featureRef))\n .slice()\n .sort(compareByRef);\n }\n\n return snapshot.benefits\n .filter(b =>\n b.importanceByICP.some(\n imp =>\n imp.icpRef === intent.icpRef &&\n imp.weight >= ICP_BENEFIT_RELEVANCE_THRESHOLD,\n ),\n )\n .slice()\n .sort(compareByRef);\n}\n\n/**\n * Per-ICP score for the `feature` intent's `### Most-affected ICPs`\n * ranking. Plan §10.2 calls for `weight × pain/gain degree`. Concretely:\n *\n * score(icp) = max over benefits-in-scope of (\n * importanceByICP[icp].weight × max(degree across that benefit's\n * relieves[] / creates[] / advances[] edges)\n * )\n *\n * **Why max-of-max instead of a sum.** A benefit's degree edges are\n * authored as \"this benefit relieves pain X to degree 9\" — they\n * describe the **strength of one outcome**, not a list of outcomes\n * to add up. Summing across edges would over-weight benefits with\n * many shallow edges; summing across benefits would over-weight ICPs\n * that appear on lots of mid-importance benefits. The signal we want\n * for \"most-affected ICPs\" is \"what is the strongest claim this\n * feature lets us make for this ICP\", which is a max-of-max.\n *\n * **Tie-breaks are deterministic** (rank → ref) so the rendered\n * output is snapshot-stable.\n */\nfunction scoreIcpForFeatureIntent(\n icpRef: string,\n benefitsInScope: FeatureBenefitConfig[],\n): number {\n let best = 0;\n for (const benefit of benefitsInScope) {\n const weight = benefit.importanceByICP.find(imp => imp.icpRef === icpRef)?.weight;\n if (weight === undefined || weight <= 0) continue;\n let bestDegree = 0;\n for (const edge of benefit.relieves) bestDegree = Math.max(bestDegree, edge.degree);\n for (const edge of benefit.creates) bestDegree = Math.max(bestDegree, edge.degree);\n for (const edge of benefit.advances) bestDegree = Math.max(bestDegree, edge.degree);\n // Benefits with no degree edges still carry weight signal — use 1\n // as a neutral multiplier so a weight-only ranking still differentiates.\n const benefitScore = weight * (bestDegree > 0 ? bestDegree : 1);\n if (benefitScore > best) best = benefitScore;\n }\n return best;\n}\n\nfunction collectAffectedIcps(\n intent: MarketContextBlockInput['intent'],\n benefitsInScope: FeatureBenefitConfig[],\n icpsByRef: Map<string, MarketICPConfig>,\n): MarketICPConfig[] {\n if (intent.kind === 'icp') {\n const icp = icpsByRef.get(intent.icpRef);\n return icp ? [icp] : [];\n }\n\n const refs = new Set<string>();\n for (const benefit of benefitsInScope) {\n for (const imp of benefit.importanceByICP) {\n refs.add(imp.icpRef);\n }\n }\n\n type ScoredIcp = { icp: MarketICPConfig; score: number };\n const scored: ScoredIcp[] = [];\n for (const ref of refs) {\n const icp = icpsByRef.get(ref);\n if (!icp || icp.priority === ICPPriority.ANTI_TARGET) continue;\n scored.push({ icp, score: scoreIcpForFeatureIntent(ref, benefitsInScope) });\n }\n\n // Primary sort: weighted score (descending). Ties: priority rank\n // (CORE before EXPANSION before lower priorities). Final tie-break:\n // ref (alphabetical) for snapshot-stable output.\n scored.sort((a, b) => {\n if (a.score !== b.score) return b.score - a.score;\n const rankDelta = ICP_PRIORITY_RANK[a.icp.priority] - ICP_PRIORITY_RANK[b.icp.priority];\n if (rankDelta !== 0) return rankDelta;\n return compareByRef(a.icp, b.icp);\n });\n\n return scored.slice(0, MAX_AFFECTED_ICPS_RENDERED).map(entry => entry.icp);\n}\n\nfunction pickPreferredVoice(params: {\n intent: MarketContextBlockInput['intent'];\n icpsByRef: Map<string, MarketICPConfig>;\n affectedIcps: MarketICPConfig[];\n voicesByRef: Map<string, ToneOfVoiceConfig>;\n}): ToneOfVoiceConfig | null {\n const { intent, icpsByRef, affectedIcps, voicesByRef } = params;\n\n if (intent.kind === 'icp') {\n const icp = icpsByRef.get(intent.icpRef);\n if (icp?.preferredVoiceRef) {\n const voice = voicesByRef.get(icp.preferredVoiceRef);\n if (voice) return voice;\n }\n }\n\n for (const icp of affectedIcps) {\n if (icp.preferredVoiceRef) {\n const voice = voicesByRef.get(icp.preferredVoiceRef);\n if (voice) return voice;\n }\n }\n\n return null;\n}\n\ninterface LowConfidenceEntry {\n /** Dotted path inside the snapshot. */\n path: string;\n /** Display name of the entity (best-effort: `name` if present, else `ref`). */\n label: string;\n notes?: string;\n}\n\nfunction collectLowConfidenceEntries(params: {\n intent: MarketContextBlockInput['intent'];\n snapshot: MarketSnapshot;\n benefitsInScope: FeatureBenefitConfig[];\n affectedIcps: MarketICPConfig[];\n}): LowConfidenceEntry[] {\n const { intent, snapshot, benefitsInScope, affectedIcps } = params;\n const entries: LowConfidenceEntry[] = [];\n\n if (isLowConfidence(snapshot.category.authored)) {\n entries.push({\n path: 'category',\n label: snapshot.category.name,\n notes: snapshot.category.authored?.notes,\n });\n }\n\n for (const icp of affectedIcps) {\n if (isLowConfidence(icp.authored)) {\n entries.push({\n path: `icps[${snapshot.icps.indexOf(icp)}]`,\n label: icp.name,\n notes: icp.authored?.notes,\n });\n }\n }\n\n for (const benefit of benefitsInScope) {\n if (isLowConfidence(benefit.authored)) {\n entries.push({\n path: `benefits[${snapshot.benefits.indexOf(benefit)}]`,\n label: benefit.claim,\n notes: benefit.authored?.notes,\n });\n }\n }\n\n // Personas: surface LOW-confidence personas whose `belongsToIcpRefs[]`\n // intersects the **affected ICPs** for either intent kind. Under\n // `icp` intent this is the requested ICP itself; under `feature`\n // intent it's any ICP that the renderer surfaced under\n // \"Most-affected ICPs\". Restricting to affected ICPs keeps the\n // section signal-dense — we don't dump every LOW persona in the\n // snapshot, only the ones the LLM is about to write copy for.\n const affectedIcpRefs = new Set(affectedIcps.map(i => i.ref));\n if (affectedIcpRefs.size > 0) {\n for (const persona of snapshot.personas) {\n if (!isLowConfidence(persona.authored)) continue;\n if (!persona.belongsToIcpRefs.some(ref => affectedIcpRefs.has(ref))) continue;\n entries.push({\n path: `personas[${snapshot.personas.indexOf(persona)}]`,\n label: persona.name,\n notes: persona.authored?.notes,\n });\n }\n }\n\n return entries;\n}\n\nfunction isLowConfidence(authored: MarketAuthoredMetadata | undefined): boolean {\n return authored?.confidence === AuthoredConfidence.LOW;\n}\n\nfunction compareByRef<T extends { ref: string }>(a: T, b: T): number {\n return a.ref.localeCompare(b.ref);\n}\n\n// ---------------------------------------------------------------------------\n// Render helpers\n// ---------------------------------------------------------------------------\n\nfunction renderHeader(intent: MarketContextBlockInput['intent']): string {\n const intentLine =\n intent.kind === 'feature'\n ? `(intent: feature \\`${intent.featureRef}\\`)`\n : `(intent: icp \\`${intent.icpRef}\\`)`;\n return `## Market context ${intentLine}`;\n}\n\nfunction renderCategorySection(snapshot: MarketSnapshot): string {\n const { name, definition } = snapshot.category;\n return [\n '### Category',\n `- **Name:** ${name}`,\n `- **Definition:** ${definition}`,\n ].join('\\n');\n}\n\nfunction renderBenefitsSection(benefits: FeatureBenefitConfig[]): string {\n const lines = ['### Benefits in scope'];\n if (benefits.length === 0) {\n lines.push('_(none)_');\n return lines.join('\\n');\n }\n for (const benefit of benefits) {\n const edges: string[] = [];\n for (const e of benefit.relieves) {\n edges.push(`relieves \\`${e.painRef}\\` (degree ${e.degree})`);\n }\n for (const e of benefit.creates) {\n edges.push(`creates \\`${e.gainRef}\\` (degree ${e.degree})`);\n }\n for (const e of benefit.advances) {\n edges.push(`advances \\`${e.jobRef}\\` (degree ${e.degree})`);\n }\n const edgeSummary = edges.length > 0 ? ` — ${edges.join('; ')}` : '';\n lines.push(`- **${benefit.claim}** (\\`${benefit.ref}\\`, role ${benefit.role})${edgeSummary}`);\n }\n return lines.join('\\n');\n}\n\nfunction renderAffectedIcpsSection(\n icps: MarketICPConfig[],\n intent: MarketContextBlockInput['intent'],\n benefitsInScope: FeatureBenefitConfig[],\n): string {\n const heading =\n intent.kind === 'feature'\n ? '### Most-affected ICPs'\n : '### ICP profile';\n const lines = [heading];\n if (icps.length === 0) {\n lines.push('_(none)_');\n return lines.join('\\n');\n }\n\n for (const icp of icps) {\n const relevantImportance = benefitsInScope\n .flatMap(b => b.importanceByICP)\n .filter(imp => imp.icpRef === icp.ref);\n const kanoSummary =\n relevantImportance.length > 0\n ? ` — kano: ${relevantImportance\n .map(i => `${i.kanoCategory}@${i.weight}`)\n .join(', ')}`\n : '';\n lines.push(\n `- **${icp.name}** (\\`${icp.ref}\\`, priority ${icp.priority}, archetype ${icp.archetype})${kanoSummary}`,\n );\n }\n\n return lines.join('\\n');\n}\n\nfunction renderAntiTargetSection(icps: MarketICPConfig[]): string {\n const lines = ['### Anti-target ICPs (do not pitch)'];\n if (icps.length === 0) {\n lines.push('_(none)_');\n return lines.join('\\n');\n }\n for (const icp of icps) {\n lines.push(`- **${icp.name}** (\\`${icp.ref}\\`, archetype ${icp.archetype})`);\n }\n return lines.join('\\n');\n}\n\nfunction renderVoiceSection(voice: ToneOfVoiceConfig | null): string {\n const lines = ['### Tone of voice'];\n if (!voice) {\n lines.push('_(none — fall back to neutral)_');\n return lines.join('\\n');\n }\n lines.push(`- **${voice.name}** (\\`${voice.ref}\\`) — ${voice.description}`);\n lines.push(`- **address:** ${voice.address}`);\n lines.push(`- **do:** ${voice.doExamples.map(s => `\"${s}\"`).join('; ')}`);\n lines.push(`- **don't:** ${voice.dontExamples.map(s => `\"${s}\"`).join('; ')}`);\n return lines.join('\\n');\n}\n\nfunction renderLowConfidenceSection(entries: LowConfidenceEntry[]): string {\n const lines = ['### Open questions / low-confidence entries'];\n for (const entry of entries) {\n const noteSuffix = entry.notes ? ` — ${entry.notes}` : '';\n lines.push(`- \\`${entry.path}\\` **${entry.label}**${noteSuffix}`);\n }\n return lines.join('\\n');\n}\n\n/**\n * Trim and validate an `outputLanguage` value before it lands inside\n * the prompt. Returns `undefined` for missing / empty / whitespace-only\n * inputs (so the section is skipped entirely). Throws for values\n * longer than {@link MAX_OUTPUT_LANGUAGE_LENGTH} — that's a caller\n * misuse (e.g. pasting a paragraph instead of a tag).\n */\nfunction normalizeOutputLanguage(value: string | undefined): string | undefined {\n if (value === undefined) return undefined;\n const trimmed = value.trim();\n if (trimmed.length === 0) return undefined;\n if (trimmed.length > MAX_OUTPUT_LANGUAGE_LENGTH) {\n throw new Error(\n `buildMarketContextBlock: \\`outputLanguage\\` is ${trimmed.length} chars long `\n + `(max ${MAX_OUTPUT_LANGUAGE_LENGTH}). Pass a BCP-47 tag (e.g. \\`'fr'\\`, \\`'pt-BR'\\`), `\n + `not a sentence — translation prose belongs in the LLM output, not the tag.`,\n );\n }\n return trimmed;\n}\n\nfunction renderOutputLanguageSection(outputLanguage: string): string {\n return [\n '### Output language',\n `Produce the final output in \\`${outputLanguage}\\`. The market context above is English on purpose — do not translate it; translate at output time only.`,\n ].join('\\n');\n}\n/** @wildo_source:part:end market.context-block.builder */\n"]}
|
|
1
|
+
{"version":3,"file":"market-context-block.builder.js","sourceRoot":"","sources":["../../../../../src/core/introspection/subprocess/market-context-block.builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,WAAW,EAGX,kBAAkB,GAEnB,MAAM,+BAA+B,CAAC;AAgGvC,MAAM,iBAAiB,GAAgC;IACrD,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;IACrB,CAAC,WAAW,CAAC,SAAS,CAAC,EAAE,CAAC;IAC1B,CAAC,WAAW,CAAC,WAAW,CAAC,EAAE,CAAC;IAC5B,CAAC,WAAW,CAAC,QAAQ,CAAC,EAAE,CAAC;IACzB,CAAC,WAAW,CAAC,WAAW,CAAC,EAAE,CAAC;CAC7B,CAAC;AAEF;;wEAEwE;AACxE,MAAM,+BAA+B,GAAG,CAAC,CAAC;AAE1C;;;;qCAIqC;AACrC,MAAM,0BAA0B,GAAG,CAAC,CAAC;AAErC;;;;;;qEAMqE;AACrE,MAAM,0BAA0B,GAAG,EAAE,CAAC;AAEtC,MAAM,UAAU,uBAAuB,CACrC,KAA8B;IAE9B,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAE,GAAG,KAAK,CAAC;IAEnD,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,CAAU,CAAC,CAAC,CAAC;IAC7E,MAAM,aAAa,GAAG,IAAI,GAAG,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC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,SAAS,2BAA2B,CAAC,cAAsB;IACzD,OAAO;QACL,qBAAqB;QACrB,iCAAiC,cAAc,0GAA0G;KAC1J,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC;AACD,0DAA0D","sourcesContent":["import {\n type FeatureBenefitConfig,\n type MarketICPConfig,\n ICPPriority,\n type MarketSnapshot,\n type ToneOfVoiceConfig,\n AuthoredConfidence,\n type MarketAuthoredMetadata,\n} from '@wildo-ai/saas-specifications';\n\n/**\n * @wildo_source:part:start market.context-block.builder facet:layer:companion facet:family:market\n *\n * Pure builder that renders an English \"market context\" prose block\n * from a validated `MarketSnapshot`. The block is consumed by:\n *\n * - the dev-companion subprocess behaviors `market-context-for-feature`\n * and `market-context-for-icp` (Phase 4.1);\n * - the market generation CLI (`wildo market generate`) which\n * concatenates the block with a `MarketMessageTemplate.promptTemplate`\n * before sending to the LLM (Phase 4.2).\n *\n * **Pure function — no I/O, no DI, no runtime registry access, no\n * mutation of the input snapshot.** The same `(snapshot, intent)`\n * input always renders the same output (deterministic section order,\n * deterministic ICP / benefit ordering by ref). This keeps the block\n * trivial to snapshot-test and trivial to diff between snapshot\n * versions.\n *\n * **English-only by contract (D15 / §12).** When `outputLanguage` is\n * provided, the builder appends an \"Output language\" instruction line\n * for the LLM, but does NOT translate any of the content above it.\n * Translation happens at LLM-output time, never inside the spec.\n *\n * **Intent kinds:**\n * - `{ kind: 'feature', featureRef }` — answers \"I'm editing this\n * feature, what is its market context?\". Surfaces every benefit\n * whose `deliveredByFeatureRefs[]` contains `featureRef`, the\n * ICPs those benefits matter to, and the anti-target ICPs that\n * would be repelled by them.\n * - `{ kind: 'icp', icpRef }` — answers \"I'm writing copy for this\n * ICP, what's their world?\". Surfaces the ICP's pains/gains/jobs,\n * the benefits whose `importanceByICP[]` weights them at >= 5,\n * and their preferred voice.\n *\n * **Section order (load-bearing — consumers may rely on it):**\n * 1. `## Market context` header (with intent line)\n * 2. `### Category`\n * 3. `### Benefits in scope`\n * 4. `### Most-affected ICPs`\n * 5. `### Anti-target ICPs (do not pitch)`\n * 6. `### Tone of voice`\n * 7. `### Open questions / low-confidence entries` (skipped if empty)\n * 8. `### Output language` (only when `outputLanguage` is set)\n *\n * Empty sections are kept (with an explicit `_(none)_` line) for\n * sections 2–6 so the LLM sees the absence rather than silently\n * inferring it. Section 7 is the lone exception — empty\n * \"low-confidence\" lists carry no signal and are dropped.\n */\nexport interface MarketContextBlockInput {\n /** Validated `MarketSnapshot`. Caller is responsible for running\n * `validateMarketSnapshot` first; this builder trusts the input. */\n snapshot: MarketSnapshot;\n intent:\n | { kind: 'feature'; featureRef: string }\n | { kind: 'icp'; icpRef: string };\n /** Optional BCP-47 tag (e.g. `'fr'`, `'pt-BR'`). When set, the\n * builder appends an \"Output language\" instruction; never\n * translates the body. */\n outputLanguage?: string;\n}\n\n/**\n * Trace of the entities the builder considered. Useful for the CLI's\n * `--explain` mode and for unit tests that assert \"the builder\n * picked the right ICP\" without parsing prose.\n *\n * **Schema contract.** This interface is intentionally kept\n * structurally compatible with the public `MarketContextBlockTraceSchema`\n * contract exported by `@wildo-ai/saas-specifications`\n * — the Phase-4.2 market generation CLI parses the companion HTTP\n * response against that Zod schema. Any drift between this\n * interface and that schema must be reflected on **both** sides\n * (the schema is the cross-process contract; this interface is the\n * local renderer typing).\n */\nexport interface MarketContextBlockTrace {\n /** Refs of every ICP whose section was rendered. Order matches\n * the rendered output: feature intent → score-desc / priority /\n * ref; icp intent → single requested ref or empty. */\n icpsConsidered: string[];\n /** Ordered (by ref) refs of every benefit whose section was rendered. */\n benefitsConsidered: string[];\n /** Ref of the tone of voice whose do/don't were rendered, or `null`. */\n voiceUsed: string | null;\n}\n\nexport interface MarketContextBlockResult {\n /** English markdown prose, ready to concatenate with a template. */\n block: string;\n trace: MarketContextBlockTrace;\n}\n\nconst ICP_PRIORITY_RANK: Record<ICPPriority, number> = {\n [ICPPriority.CORE]: 0,\n [ICPPriority.EXPANSION]: 1,\n [ICPPriority.EXPLORATORY]: 2,\n [ICPPriority.DEFERRED]: 3,\n [ICPPriority.ANTI_TARGET]: 4,\n};\n\n/** Per-ICP fitness threshold for the `icp` intent's \"Benefits in scope\"\n * section. Benefits with `importanceByICP[icp].weight >= 5` are\n * considered relevant; below 5 the benefit is \"noise\" for that ICP. */\nconst ICP_BENEFIT_RELEVANCE_THRESHOLD = 5;\n\n/** Maximum number of \"Most-affected ICPs\" lines rendered for the\n * `feature` intent. Plan §10.2 caps at 3: the prompt should\n * surface the *primary* audiences for a feature edit, not enumerate\n * every ICP that mentioned it. The cap also keeps prompts short for\n * snapshots with dozens of ICPs. */\nconst MAX_AFFECTED_ICPS_RENDERED = 3;\n\n/** Defensive cap on the `outputLanguage` value rendered into the\n * prompt. BCP-47 language tags are short by spec (the longest\n * registered tag is well under 35 chars); a value longer than this\n * is a misuse — most likely a caller pasted a paragraph instead of\n * a tag. We refuse rather than silently embed garbage in the LLM\n * prompt. The companion handlers also validate at the request\n * boundary; this is a defense-in-depth guard for direct callers. */\nconst MAX_OUTPUT_LANGUAGE_LENGTH = 64;\n\nexport function buildMarketContextBlock(\n input: MarketContextBlockInput,\n): MarketContextBlockResult {\n const { snapshot, intent, outputLanguage } = input;\n\n const icpsByRef = new Map(snapshot.icps.map(icp => [icp.ref, icp] as const));\n const benefitsByRef = new Map(snapshot.benefits.map(b => [b.ref, b] as const));\n const voicesByRef = new Map(snapshot.tonesOfVoice.map(v => [v.ref, v] as const));\n\n const benefitsInScope = collectBenefitsInScope(snapshot, intent);\n const affectedIcps = collectAffectedIcps(intent, benefitsInScope, icpsByRef);\n const antiTargetIcps = snapshot.icps\n .filter(icp => icp.priority === ICPPriority.ANTI_TARGET)\n .slice()\n .sort(compareByRef);\n\n const voice = pickPreferredVoice({\n intent,\n icpsByRef,\n affectedIcps,\n voicesByRef,\n });\n\n const lowConfidenceEntries = collectLowConfidenceEntries({\n intent,\n snapshot,\n benefitsInScope,\n affectedIcps,\n });\n\n const lines: string[] = [];\n\n lines.push(renderHeader(intent));\n lines.push('');\n lines.push(renderCategorySection(snapshot));\n lines.push('');\n lines.push(renderBenefitsSection(benefitsInScope));\n lines.push('');\n lines.push(renderAffectedIcpsSection(affectedIcps, intent, benefitsInScope));\n lines.push('');\n lines.push(renderAntiTargetSection(antiTargetIcps));\n lines.push('');\n lines.push(renderVoiceSection(voice));\n\n if (lowConfidenceEntries.length > 0) {\n lines.push('');\n lines.push(renderLowConfidenceSection(lowConfidenceEntries));\n }\n\n const normalizedOutputLanguage = normalizeOutputLanguage(outputLanguage);\n if (normalizedOutputLanguage) {\n lines.push('');\n lines.push(renderOutputLanguageSection(normalizedOutputLanguage));\n }\n\n return {\n block: lines.join('\\n'),\n trace: {\n icpsConsidered: affectedIcps.map(icp => icp.ref),\n benefitsConsidered: benefitsInScope.map(b => b.ref),\n voiceUsed: voice?.ref ?? null,\n },\n };\n}\n\n// ---------------------------------------------------------------------------\n// Collection helpers\n// ---------------------------------------------------------------------------\n\nfunction collectBenefitsInScope(\n snapshot: MarketSnapshot,\n intent: MarketContextBlockInput['intent'],\n): FeatureBenefitConfig[] {\n if (intent.kind === 'feature') {\n return snapshot.benefits\n .filter(b => b.deliveredByFeatureRefs.includes(intent.featureRef))\n .slice()\n .sort(compareByRef);\n }\n\n return snapshot.benefits\n .filter(b =>\n b.importanceByICP.some(\n imp =>\n imp.icpRef === intent.icpRef &&\n imp.weight >= ICP_BENEFIT_RELEVANCE_THRESHOLD,\n ),\n )\n .slice()\n .sort(compareByRef);\n}\n\n/**\n * Per-ICP score for the `feature` intent's `### Most-affected ICPs`\n * ranking. Plan §10.2 calls for `weight × pain/gain degree`. Concretely:\n *\n * score(icp) = max over benefits-in-scope of (\n * importanceByICP[icp].weight × max(degree across that benefit's\n * relieves[] / creates[] / advances[] edges)\n * )\n *\n * **Why max-of-max instead of a sum.** A benefit's degree edges are\n * authored as \"this benefit relieves pain X to degree 9\" — they\n * describe the **strength of one outcome**, not a list of outcomes\n * to add up. Summing across edges would over-weight benefits with\n * many shallow edges; summing across benefits would over-weight ICPs\n * that appear on lots of mid-importance benefits. The signal we want\n * for \"most-affected ICPs\" is \"what is the strongest claim this\n * feature lets us make for this ICP\", which is a max-of-max.\n *\n * **Tie-breaks are deterministic** (rank → ref) so the rendered\n * output is snapshot-stable.\n */\nfunction scoreIcpForFeatureIntent(\n icpRef: string,\n benefitsInScope: FeatureBenefitConfig[],\n): number {\n let best = 0;\n for (const benefit of benefitsInScope) {\n const weight = benefit.importanceByICP.find(imp => imp.icpRef === icpRef)?.weight;\n if (weight === undefined || weight <= 0) continue;\n let bestDegree = 0;\n for (const edge of benefit.relieves) bestDegree = Math.max(bestDegree, edge.degree);\n for (const edge of benefit.creates) bestDegree = Math.max(bestDegree, edge.degree);\n for (const edge of benefit.advances) bestDegree = Math.max(bestDegree, edge.degree);\n // Benefits with no degree edges still carry weight signal — use 1\n // as a neutral multiplier so a weight-only ranking still differentiates.\n const benefitScore = weight * (bestDegree > 0 ? bestDegree : 1);\n if (benefitScore > best) best = benefitScore;\n }\n return best;\n}\n\nfunction collectAffectedIcps(\n intent: MarketContextBlockInput['intent'],\n benefitsInScope: FeatureBenefitConfig[],\n icpsByRef: Map<string, MarketICPConfig>,\n): MarketICPConfig[] {\n if (intent.kind === 'icp') {\n const icp = icpsByRef.get(intent.icpRef);\n return icp ? [icp] : [];\n }\n\n const refs = new Set<string>();\n for (const benefit of benefitsInScope) {\n for (const imp of benefit.importanceByICP) {\n refs.add(imp.icpRef);\n }\n }\n\n type ScoredIcp = { icp: MarketICPConfig; score: number };\n const scored: ScoredIcp[] = [];\n for (const ref of refs) {\n const icp = icpsByRef.get(ref);\n if (!icp || icp.priority === ICPPriority.ANTI_TARGET) continue;\n scored.push({ icp, score: scoreIcpForFeatureIntent(ref, benefitsInScope) });\n }\n\n // Primary sort: weighted score (descending). Ties: priority rank\n // (CORE before EXPANSION before lower priorities). Final tie-break:\n // ref (alphabetical) for snapshot-stable output.\n scored.sort((a, b) => {\n if (a.score !== b.score) return b.score - a.score;\n const rankDelta = ICP_PRIORITY_RANK[a.icp.priority] - ICP_PRIORITY_RANK[b.icp.priority];\n if (rankDelta !== 0) return rankDelta;\n return compareByRef(a.icp, b.icp);\n });\n\n return scored.slice(0, MAX_AFFECTED_ICPS_RENDERED).map(entry => entry.icp);\n}\n\nfunction pickPreferredVoice(params: {\n intent: MarketContextBlockInput['intent'];\n icpsByRef: Map<string, MarketICPConfig>;\n affectedIcps: MarketICPConfig[];\n voicesByRef: Map<string, ToneOfVoiceConfig>;\n}): ToneOfVoiceConfig | null {\n const { intent, icpsByRef, affectedIcps, voicesByRef } = params;\n\n if (intent.kind === 'icp') {\n const icp = icpsByRef.get(intent.icpRef);\n if (icp?.preferredVoiceRef) {\n const voice = voicesByRef.get(icp.preferredVoiceRef);\n if (voice) return voice;\n }\n }\n\n for (const icp of affectedIcps) {\n if (icp.preferredVoiceRef) {\n const voice = voicesByRef.get(icp.preferredVoiceRef);\n if (voice) return voice;\n }\n }\n\n return null;\n}\n\ninterface LowConfidenceEntry {\n /** Dotted path inside the snapshot. */\n path: string;\n /** Display name of the entity (best-effort: `name` if present, else `ref`). */\n label: string;\n notes?: string;\n}\n\nfunction collectLowConfidenceEntries(params: {\n intent: MarketContextBlockInput['intent'];\n snapshot: MarketSnapshot;\n benefitsInScope: FeatureBenefitConfig[];\n affectedIcps: MarketICPConfig[];\n}): LowConfidenceEntry[] {\n const { intent, snapshot, benefitsInScope, affectedIcps } = params;\n const entries: LowConfidenceEntry[] = [];\n\n if (isLowConfidence(snapshot.category.authored)) {\n entries.push({\n path: 'category',\n label: snapshot.category.name,\n notes: snapshot.category.authored?.notes,\n });\n }\n\n for (const icp of affectedIcps) {\n if (isLowConfidence(icp.authored)) {\n entries.push({\n path: `icps[${snapshot.icps.indexOf(icp)}]`,\n label: icp.name,\n notes: icp.authored?.notes,\n });\n }\n }\n\n for (const benefit of benefitsInScope) {\n if (isLowConfidence(benefit.authored)) {\n entries.push({\n path: `benefits[${snapshot.benefits.indexOf(benefit)}]`,\n label: benefit.claim,\n notes: benefit.authored?.notes,\n });\n }\n }\n\n // Personas: surface LOW-confidence personas whose `belongsToIcpRefs[]`\n // intersects the **affected ICPs** for either intent kind. Under\n // `icp` intent this is the requested ICP itself; under `feature`\n // intent it's any ICP that the renderer surfaced under\n // \"Most-affected ICPs\". Restricting to affected ICPs keeps the\n // section signal-dense — we don't dump every LOW persona in the\n // snapshot, only the ones the LLM is about to write copy for.\n const affectedIcpRefs = new Set(affectedIcps.map(i => i.ref));\n if (affectedIcpRefs.size > 0) {\n for (const persona of snapshot.personas) {\n if (!isLowConfidence(persona.authored)) continue;\n if (!persona.belongsToIcpRefs.some(ref => affectedIcpRefs.has(ref))) continue;\n entries.push({\n path: `personas[${snapshot.personas.indexOf(persona)}]`,\n label: persona.name,\n notes: persona.authored?.notes,\n });\n }\n }\n\n return entries;\n}\n\nfunction isLowConfidence(authored: MarketAuthoredMetadata | undefined): boolean {\n return authored?.confidence === AuthoredConfidence.LOW;\n}\n\nfunction compareByRef<T extends { ref: string }>(a: T, b: T): number {\n return a.ref.localeCompare(b.ref);\n}\n\n// ---------------------------------------------------------------------------\n// Render helpers\n// ---------------------------------------------------------------------------\n\nfunction renderHeader(intent: MarketContextBlockInput['intent']): string {\n const intentLine =\n intent.kind === 'feature'\n ? `(intent: feature \\`${intent.featureRef}\\`)`\n : `(intent: icp \\`${intent.icpRef}\\`)`;\n return `## Market context ${intentLine}`;\n}\n\nfunction renderCategorySection(snapshot: MarketSnapshot): string {\n const { name, definition } = snapshot.category;\n return [\n '### Category',\n `- **Name:** ${name}`,\n `- **Definition:** ${definition}`,\n ].join('\\n');\n}\n\nfunction renderBenefitsSection(benefits: FeatureBenefitConfig[]): string {\n const lines = ['### Benefits in scope'];\n if (benefits.length === 0) {\n lines.push('_(none)_');\n return lines.join('\\n');\n }\n for (const benefit of benefits) {\n const edges: string[] = [];\n for (const e of benefit.relieves) {\n edges.push(`relieves \\`${e.painRef}\\` (degree ${e.degree})`);\n }\n for (const e of benefit.creates) {\n edges.push(`creates \\`${e.gainRef}\\` (degree ${e.degree})`);\n }\n for (const e of benefit.advances) {\n edges.push(`advances \\`${e.jobRef}\\` (degree ${e.degree})`);\n }\n const edgeSummary = edges.length > 0 ? ` — ${edges.join('; ')}` : '';\n lines.push(`- **${benefit.claim}** (\\`${benefit.ref}\\`, role ${benefit.role})${edgeSummary}`);\n }\n return lines.join('\\n');\n}\n\nfunction renderAffectedIcpsSection(\n icps: MarketICPConfig[],\n intent: MarketContextBlockInput['intent'],\n benefitsInScope: FeatureBenefitConfig[],\n): string {\n const heading =\n intent.kind === 'feature'\n ? '### Most-affected ICPs'\n : '### ICP profile';\n const lines = [heading];\n if (icps.length === 0) {\n lines.push('_(none)_');\n return lines.join('\\n');\n }\n\n for (const icp of icps) {\n const relevantImportance = benefitsInScope\n .flatMap(b => b.importanceByICP)\n .filter(imp => imp.icpRef === icp.ref);\n const kanoSummary =\n relevantImportance.length > 0\n ? ` — kano: ${relevantImportance\n .map(i => `${i.kanoCategory}@${i.weight}`)\n .join(', ')}`\n : '';\n lines.push(\n `- **${icp.name}** (\\`${icp.ref}\\`, priority ${icp.priority}, archetype ${icp.archetype})${kanoSummary}`,\n );\n }\n\n return lines.join('\\n');\n}\n\nfunction renderAntiTargetSection(icps: MarketICPConfig[]): string {\n const lines = ['### Anti-target ICPs (do not pitch)'];\n if (icps.length === 0) {\n lines.push('_(none)_');\n return lines.join('\\n');\n }\n for (const icp of icps) {\n lines.push(`- **${icp.name}** (\\`${icp.ref}\\`, archetype ${icp.archetype})`);\n }\n return lines.join('\\n');\n}\n\nfunction renderVoiceSection(voice: ToneOfVoiceConfig | null): string {\n const lines = ['### Tone of voice'];\n if (!voice) {\n lines.push('_(none — fall back to neutral)_');\n return lines.join('\\n');\n }\n lines.push(`- **${voice.name}** (\\`${voice.ref}\\`) — ${voice.description}`);\n lines.push(`- **address:** ${voice.address}`);\n lines.push(`- **do:** ${voice.doExamples.map(s => `\"${s}\"`).join('; ')}`);\n lines.push(`- **don't:** ${voice.dontExamples.map(s => `\"${s}\"`).join('; ')}`);\n return lines.join('\\n');\n}\n\nfunction renderLowConfidenceSection(entries: LowConfidenceEntry[]): string {\n const lines = ['### Open questions / low-confidence entries'];\n for (const entry of entries) {\n const noteSuffix = entry.notes ? ` — ${entry.notes}` : '';\n lines.push(`- \\`${entry.path}\\` **${entry.label}**${noteSuffix}`);\n }\n return lines.join('\\n');\n}\n\n/**\n * Trim and validate an `outputLanguage` value before it lands inside\n * the prompt. Returns `undefined` for missing / empty / whitespace-only\n * inputs (so the section is skipped entirely). Throws for values\n * longer than {@link MAX_OUTPUT_LANGUAGE_LENGTH} — that's a caller\n * misuse (e.g. pasting a paragraph instead of a tag).\n */\nfunction normalizeOutputLanguage(value: string | undefined): string | undefined {\n if (value === undefined) return undefined;\n const trimmed = value.trim();\n if (trimmed.length === 0) return undefined;\n if (trimmed.length > MAX_OUTPUT_LANGUAGE_LENGTH) {\n throw new Error(\n `buildMarketContextBlock: \\`outputLanguage\\` is ${trimmed.length} chars long `\n + `(max ${MAX_OUTPUT_LANGUAGE_LENGTH}). Pass a BCP-47 tag (e.g. \\`'fr'\\`, \\`'pt-BR'\\`), `\n + `not a sentence — translation prose belongs in the LLM output, not the tag.`,\n );\n }\n return trimmed;\n}\n\nfunction renderOutputLanguageSection(outputLanguage: string): string {\n return [\n '### Output language',\n `Produce the final output in \\`${outputLanguage}\\`. The market context above is English on purpose — do not translate it; translate at output time only.`,\n ].join('\\n');\n}\n/** @wildo_source:part:end market.context-block.builder */\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"market-prompt-renderer.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"market-prompt-renderer.d.ts","sourceRoot":"","sources":["../../../../../src/core/introspection/subprocess/market-prompt-renderer.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAM1B,KAAK,cAAc,EACpB,MAAM,+BAA+B,CAAC;AA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