@wildo-ai/dev-companion 1.1.7 → 1.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/companion-supervisor.d.mts +33 -0
- package/bin/companion-supervisor.mjs +174 -0
- package/bin/wildo-dev-companion-supervised.mjs +16 -0
- package/dist/esm/brand/models/logo-creative-brief.schemas.d.ts.map +1 -1
- package/dist/esm/brand/models/logo-creative-brief.schemas.js.map +1 -1
- package/dist/esm/brand/models/logo-generation.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/brand/models/logo-generation.actors-system.definitions.js +8 -2
- package/dist/esm/brand/models/logo-generation.actors-system.definitions.js.map +1 -1
- package/dist/esm/brand/models/logo-judge.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/brand/models/logo-judge.actors-system.definitions.js +8 -2
- package/dist/esm/brand/models/logo-judge.actors-system.definitions.js.map +1 -1
- package/dist/esm/brand/models/logo-judge.schemas.d.ts.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 +1 -1
- package/dist/esm/brand/services/brand-accept.companion.service.d.ts.map +1 -1
- package/dist/esm/brand/services/brand-accept.companion.service.js +9 -11
- package/dist/esm/brand/services/brand-accept.companion.service.js.map +1 -1
- package/dist/esm/brand/services/brand-propagation.companion.utils.d.ts.map +1 -1
- package/dist/esm/brand/services/brand-propagation.companion.utils.js.map +1 -1
- package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts.map +1 -1
- package/dist/esm/brand/services/logo-deliberation.companion.service.js.map +1 -1
- package/dist/esm/brand/services/logo-generation.companion.service.d.ts.map +1 -1
- package/dist/esm/brand/services/logo-generation.companion.service.js.map +1 -1
- package/dist/esm/brand/utils/derived-brand-assets.d.ts.map +1 -1
- package/dist/esm/brand/utils/derived-brand-assets.js.map +1 -1
- package/dist/esm/brand/utils/stage-brand-candidate.d.ts.map +1 -1
- package/dist/esm/brand/utils/stage-brand-candidate.js.map +1 -1
- package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts +21 -0
- package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js +33 -1
- package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js.map +1 -1
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +41 -2
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js +43 -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/accepted-change-commit.companion.service.d.ts +57 -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 +75 -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 +90 -5
- 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 +242 -22
- 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 +23 -2
- package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
- package/dist/esm/companion-api/companion-api.schemas.js +13 -2
- package/dist/esm/companion-api/companion-api.schemas.js.map +1 -1
- package/dist/esm/companion-api/companion-error-guidance.models.d.ts.map +1 -1
- package/dist/esm/companion-api/companion-error-guidance.models.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion-file-route-confinement.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion-file-route-confinement.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion-token-floor.policy.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion-trace-exemptions.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion-trace-exemptions.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion.controller.d.ts +63 -7
- package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion.controller.js +315 -39
- package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
- package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts.map +1 -1
- package/dist/esm/core/auth/companion-auth-floor.companion.service.js.map +1 -1
- package/dist/esm/core/catalogs/catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/catalog-context.factory.models.d.ts.map +1 -1
- package/dist/esm/core/catalogs/catalog-context.factory.models.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/structured-data-catalog-audit.service.d.ts.map +1 -1
- package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js.map +1 -1
- package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.d.ts.map +1 -1
- package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.js.map +1 -1
- package/dist/esm/core/config/primary-language.companion.utils.d.ts +5 -4
- package/dist/esm/core/config/primary-language.companion.utils.d.ts.map +1 -1
- package/dist/esm/core/config/primary-language.companion.utils.js +5 -4
- package/dist/esm/core/config/primary-language.companion.utils.js.map +1 -1
- package/dist/esm/core/context/application-module-generations.companion.d.ts +103 -0
- package/dist/esm/core/context/application-module-generations.companion.d.ts.map +1 -0
- package/dist/esm/core/context/application-module-generations.companion.js +313 -0
- package/dist/esm/core/context/application-module-generations.companion.js.map +1 -0
- package/dist/esm/core/context/companion-context.d.ts.map +1 -1
- package/dist/esm/core/context/companion-context.js.map +1 -1
- package/dist/esm/core/context/companion-package-loaders.companion.d.ts +19 -19
- package/dist/esm/core/context/companion-package-loaders.companion.d.ts.map +1 -1
- package/dist/esm/core/context/companion-package-loaders.companion.js +52 -40
- package/dist/esm/core/context/companion-package-loaders.companion.js.map +1 -1
- package/dist/esm/core/context/draft-family-values.companion.d.ts.map +1 -1
- package/dist/esm/core/context/draft-family-values.companion.js.map +1 -1
- package/dist/esm/core/inject/models/container.d.ts.map +1 -1
- package/dist/esm/core/inject/models/container.js +4 -0
- package/dist/esm/core/inject/models/container.js.map +1 -1
- package/dist/esm/core/inject/models/service-types.d.ts +4 -0
- package/dist/esm/core/inject/models/service-types.d.ts.map +1 -1
- package/dist/esm/core/inject/models/service-types.js +4 -0
- package/dist/esm/core/inject/models/service-types.js.map +1 -1
- package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.d.ts.map +1 -1
- package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js.map +1 -1
- package/dist/esm/core/introspection/models/companion-introspection.models.d.ts.map +1 -1
- package/dist/esm/core/introspection/models/companion-introspection.models.js.map +1 -1
- package/dist/esm/core/introspection/resources/application-secrets.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/application-secrets.companion.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts +15 -1
- package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-console-answer.companion.js +38 -3
- package/dist/esm/core/introspection/resources/creation-console-answer.companion.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts +21 -0
- package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-console-projection.companion.js +64 -25
- package/dist/esm/core/introspection/resources/creation-console-projection.companion.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.js +2 -0
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts +0 -28
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js +192 -19
- 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 +27 -5
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts +47 -0
- package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts.map +1 -0
- package/dist/esm/core/introspection/resources/launch-blockers.companion.js +98 -0
- package/dist/esm/core/introspection/resources/launch-blockers.companion.js.map +1 -0
- package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts +6 -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 +20 -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 +34 -8
- 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 +61 -12
- package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/introspection-input-closure.companion.d.ts +44 -0
- package/dist/esm/core/introspection/services/introspection-input-closure.companion.d.ts.map +1 -0
- package/dist/esm/core/introspection/services/introspection-input-closure.companion.js +104 -0
- package/dist/esm/core/introspection/services/introspection-input-closure.companion.js.map +1 -0
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts +41 -22
- 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 +64 -47
- 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 +7 -1
- package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js +13 -4
- package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js.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 +7 -0
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/specification-elements.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/specification-elements.behavior.js.map +1 -1
- package/dist/esm/core/introspection/workspace-element-index.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/workspace-element-index.companion.js.map +1 -1
- package/dist/esm/core/introspection/workspace-elements.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/workspace-elements.companion.js.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.companion.service.d.ts.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.companion.service.js.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.models.d.ts.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.models.js.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts +4 -4
- package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.schemas.js.map +1 -1
- package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts.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 +39 -9
- package/dist/esm/core/runtime/companion-env-file.d.ts.map +1 -1
- package/dist/esm/core/runtime/companion-env-file.js +75 -16
- package/dist/esm/core/runtime/companion-env-file.js.map +1 -1
- package/dist/esm/core/runtime/companion-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 +7 -3
- 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 +29 -11
- package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
- package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.js.map +1 -1
- package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/utils/companion-platform-config.companion.js.map +1 -1
- package/dist/esm/core/runtime/utils/companion-workbench-topology.d.ts.map +1 -1
- package/dist/esm/core/runtime/utils/companion-workbench-topology.js.map +1 -1
- package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.js.map +1 -1
- package/dist/esm/core/specifications/chart-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/chart-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/composite-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/composite-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts.map +1 -1
- package/dist/esm/core/specifications/cross-registry-rendering.shared.js.map +1 -1
- package/dist/esm/core/specifications/execution-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/execution-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/feature-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/feature-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/frontend-component-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/frontend-component-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/full-custom-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/full-custom-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/guidance-flow-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/guidance-flow-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/milestone-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/milestone-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/non-composite-view-specification-context.shared.d.ts.map +1 -1
- package/dist/esm/core/specifications/non-composite-view-specification-context.shared.js.map +1 -1
- package/dist/esm/core/specifications/onboarding-element-rendering.shared.d.ts.map +1 -1
- package/dist/esm/core/specifications/onboarding-element-rendering.shared.js.map +1 -1
- package/dist/esm/core/specifications/onboarding-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/onboarding-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/product-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/product-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/resource-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/resource-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/role-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/role-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.js.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.models.d.ts.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.models.js.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.shared.d.ts.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.shared.js.map +1 -1
- package/dist/esm/core/specifications/system-email-template-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/system-email-template-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/validate-resource-field-completeness.d.ts.map +1 -1
- package/dist/esm/core/specifications/validate-resource-field-completeness.js.map +1 -1
- package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts.map +1 -1
- package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.models.d.ts.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.models.js.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.service.d.ts.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.service.js.map +1 -1
- package/dist/esm/core/utils/atomic-write.utils.d.ts.map +1 -1
- package/dist/esm/core/utils/atomic-write.utils.js.map +1 -1
- package/dist/esm/core/utils/bounded-concurrency.utils.d.ts +17 -0
- package/dist/esm/core/utils/bounded-concurrency.utils.d.ts.map +1 -0
- package/dist/esm/core/utils/bounded-concurrency.utils.js +37 -0
- package/dist/esm/core/utils/bounded-concurrency.utils.js.map +1 -0
- package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts +10 -1
- package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts.map +1 -1
- package/dist/esm/core/utils/derived-input-signature.companion.utils.js +9 -2
- package/dist/esm/core/utils/derived-input-signature.companion.utils.js.map +1 -1
- package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js +2 -0
- package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js.map +1 -1
- package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts.map +1 -1
- package/dist/esm/creation-conversation/creation-conversation.function-tools.js +66 -6
- package/dist/esm/creation-conversation/creation-conversation.function-tools.js.map +1 -1
- package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts +0 -17
- package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js +10 -4
- 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 +6 -1
- package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
- package/dist/esm/email/services/email-template.companion.service.js +4 -1
- package/dist/esm/email/services/email-template.companion.service.js.map +1 -1
- package/dist/esm/email/utils/email-labels-file-source.utils.d.ts.map +1 -1
- package/dist/esm/email/utils/email-labels-file-source.utils.js.map +1 -1
- package/dist/esm/email/utils/email-labels-tree.utils.d.ts.map +1 -1
- package/dist/esm/email/utils/email-labels-tree.utils.js.map +1 -1
- package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts.map +1 -1
- package/dist/esm/email/utils/email-template-fs-discovery.utils.js.map +1 -1
- package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts.map +1 -1
- package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js.map +1 -1
- package/dist/esm/executions/services/companion-executions.companion.service.d.ts.map +1 -1
- package/dist/esm/executions/services/companion-executions.companion.service.js.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js +8 -2
- package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js +8 -2
- package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts.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 +7 -7
- 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 +41 -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 +7 -0
- package/dist/esm/i18n/resources/workbenchAspects.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts +5 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js +5 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts +1 -1
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js +2 -1
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchDomainResources.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchDomainResources.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts +46 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.js +12 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts +266 -0
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +91 -5
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchTraceSessions.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/application-creation.en.d.ts +41 -0
- package/dist/esm/i18n/system_enums/application-creation.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/application-creation.en.js +45 -1
- package/dist/esm/i18n/system_enums/application-creation.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/compliance-programme.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/flows-actors.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/flows-actors.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/localization.en.d.ts +82 -0
- package/dist/esm/i18n/system_enums/localization.en.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/localization.en.js +82 -0
- package/dist/esm/i18n/system_enums/localization.en.js.map +1 -0
- package/dist/esm/i18n/system_enums/market.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/market.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/processor-register.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/processor-register.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/risk-register.en.d.ts +1 -0
- package/dist/esm/i18n/system_enums/risk-register.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/risk-register.en.js +1 -0
- package/dist/esm/i18n/system_enums/risk-register.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-build.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-build.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts.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 +10 -0
- package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-dossier.en.js +13 -0
- package/dist/esm/i18n/system_enums/workbench-dossier.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-playbook-run.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-playbook-run.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-secrets.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-secrets.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js.map +1 -1
- package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.js.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling-progress.models.d.ts +43 -0
- package/dist/esm/i18n-labelling/models/labelling-progress.models.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/models/labelling-progress.models.js +34 -0
- package/dist/esm/i18n-labelling/models/labelling-progress.models.js.map +1 -0
- package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts.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 +8 -0
- package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js +97 -56
- package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts +18 -0
- package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js +269 -153
- package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/email-template-translation.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/email-template-translation.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/guidance-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/label-file-source.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/label-file-source.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.d.ts +41 -0
- package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.js +47 -0
- package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.js.map +1 -0
- package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts +12 -0
- package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js +10 -2
- package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.d.ts +89 -0
- package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.js +229 -0
- package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.js.map +1 -0
- package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts.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 +67 -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 +64 -0
- package/dist/esm/meta-workflows/models/build-task-rearm.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/carried-verification-failure.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/creation-intervention.models.d.ts +308 -0
- package/dist/esm/meta-workflows/models/creation-intervention.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/creation-intervention.models.js +365 -0
- package/dist/esm/meta-workflows/models/creation-intervention.models.js.map +1 -0
- package/dist/esm/meta-workflows/models/generation-step-progress.models.d.ts +61 -0
- package/dist/esm/meta-workflows/models/generation-step-progress.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/generation-step-progress.models.js +58 -0
- package/dist/esm/meta-workflows/models/generation-step-progress.models.js.map +1 -0
- package/dist/esm/meta-workflows/models/human-decision-settler.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/human-decision-settler.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts +10 -6
- package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js +11 -6
- package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts +3 -0
- package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js +8 -1
- package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts +26 -0
- package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-run-record.models.js +66 -10
- package/dist/esm/meta-workflows/models/playbook-run-record.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts +13 -0
- package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.js +33 -0
- package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.d.ts +145 -0
- package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.js +179 -0
- package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +376 -17
- 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 +805 -39
- 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 +93 -7
- 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 +142 -25
- 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 +120 -3
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js +325 -16
- 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 +15 -6
- 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 +10 -11
- package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js +10 -11
- package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts +82 -0
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js +291 -0
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.d.ts +60 -0
- package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.js +66 -0
- package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts +53 -0
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js +164 -0
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.d.ts +37 -0
- package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.js +52 -0
- package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.js.map +1 -0
- package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts +74 -14
- package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/dossier.companion.service.js +180 -28
- 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 +2 -3
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js +2 -8
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/governed-document-texts.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/governed-document-texts.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.d.ts +67 -0
- package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.js +64 -0
- package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.js.map +1 -0
- package/dist/esm/meta-workflows/services/landed-module-import.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/landed-module-import.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-instance.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js +11 -3
- 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 +92 -4
- package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js +328 -7
- package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +105 -6
- 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 +309 -39
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts +62 -1
- package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js +152 -2
- package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.js.map +1 -1
- package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.d.ts.map +1 -1
- package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-doc.companion.service.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js.map +1 -1
- package/package.json +22 -18
- package/dist/esm/.tsbuildinfo +0 -1
- package/dist/esm/__tests__/asset-noop.d.ts +0 -3
- package/dist/esm/__tests__/asset-noop.d.ts.map +0 -1
- package/dist/esm/__tests__/asset-noop.js +0 -2
- package/dist/esm/__tests__/asset-noop.js.map +0 -1
- package/dist/esm/__tests__/chdir-dogfood-app.setup.d.ts +0 -2
- package/dist/esm/__tests__/chdir-dogfood-app.setup.d.ts.map +0 -1
- package/dist/esm/__tests__/chdir-dogfood-app.setup.js +0 -44
- package/dist/esm/__tests__/chdir-dogfood-app.setup.js.map +0 -1
- package/dist/esm/__tests__/internal-test-view.d.ts +0 -39
- package/dist/esm/__tests__/internal-test-view.d.ts.map +0 -1
- package/dist/esm/__tests__/internal-test-view.js +0 -2
- package/dist/esm/__tests__/internal-test-view.js.map +0 -1
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts +0 -50
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts.map +0 -1
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js +0 -157
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js.map +0 -1
- package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts +0 -8
- package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts.map +0 -1
- package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js +0 -43
- package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js.map +0 -1
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts +0 -79
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts.map +0 -1
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js +0 -193
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companion-introspection.models.js","sourceRoot":"","sources":["../../../../../src/core/introspection/models/companion-introspection.models.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uCAAuC,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,gBAAgB,CAAU,CAAC;AAGzG,MAAM,CAAC,MAAM,uCAAuC,GAAG,CAAC,SAAS,EAAE,UAAU,CAAU,CAAC;AAGxF,MAAM,CAAC,MAAM,sCAAsC,GAAG;IACpD,oBAAoB;IACpB,+BAA+B;IAC/B;;;;OAIG;IACH,kCAAkC;IAClC,yBAAyB;IACzB,kCAAkC;IAClC,6BAA6B;IAC7B,mBAAmB;IACnB,6BAA6B;IA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ues = ['service', 'library', 'specifications'] as const;\nexport type CompanionIntrospectionRouteTargetId = typeof CompanionIntrospectionRouteTargetValues[number];\n\nexport const CompanionIntrospectionServiceKindValues = ['backend', 'frontend'] as const;\nexport type CompanionIntrospectionServiceKind = typeof CompanionIntrospectionServiceKindValues[number];\n\nexport const CompanionIntrospectionBehaviorIdValues = [\n 'resources-registry',\n 'email-template-placement-info',\n /**\n * The pause states every approval gate declares (`humanApproval.deadlines.pauseStates` on a backend module's function\n * tools, #1864), read in the BACKEND subprocess. The labelling planner words each one under\n * `system_enums.HumanDecisionPauseState.<state>`; nothing else in the companion sees a function tool.\n */\n 'human-decision-gate-declarations',\n 'translation-needed-info',\n 'frontend-artifact-placement-info',\n 'design-system-source-config',\n 'design-tokens-css',\n 'frontend-labels-needed-info',\n 'resource-specifications',\n 'specification-context-parts',\n 'catalog-context-parts',\n 'market-context-for-feature',\n 'market-context-for-icp',\n 'market-render-prompt',\n /**\n * Technical-documentation OpenAPI generator input projection\n * (`saas-technical-doc.md` Step 3b). Walks the resolved\n * `ResourcesRegistry` in the backend subprocess, materializes every\n * resource configuration, runs the URL builder so per-operation\n * `initiatorInfos[].url` are populated, and projects each\n * `(operation × initiatorInfo)` row into the\n * `OpenApiGenerationInputSchema` shape declared in\n * `@wildo-ai/saas-technical-doc/companion`.\n *\n * Why subprocess-side: the projection runs `z.toJSONSchema(...)` on\n * each operation's `requestDto` / `responseDto`, which requires\n * loading `@wildo-ai/saas-models` (and its `initZodDecorators()`\n * boot). Doing this in the subprocess keeps the parent companion\n * bundle decorator-framework-free per `saas-models-public-runtime.md`\n * K-3.\n */\n 'openapi-generation-input',\n /**\n * Frontend chart-registration refs — every `chartViews[].chartDefinition.ref`\n * across the app's resources, materialized in the FRONTEND subprocess. The\n * parent composes these with the backend-registered chart refs to detect a\n * frontend chartView whose chart is not registered backend-side (a silent\n * runtime `chart_not_found` 404). Kept separate from `frontend-labels-needed-info`\n * so chart-registration data does not thread through the labelling pipeline.\n */\n 'chart-registration-refs',\n /**\n * The application's authored settings rail, verified against the engine destination\n * catalog in the FRONTEND subprocess (fresh working-tree import).\n *\n * Exists for a failure that is silent by construction: a placement naming a\n * `destinationRef` the catalog does not ship is not a type error —\n * `resolveSettingsHubConfig` DROPS it and the section simply never renders. So a\n * `SHELL_PLACEMENT` coding task can pass `check:app-typecheck`, report verified, and\n * leave the application missing a settings section nobody is told about. Same class\n * as the FK-resolution sweep, and answered the same way: ask the working tree.\n */\n 'settings-placement-content',\n /**\n * What the application's shell actually COMPOSES, per placement surface (sidebar, user\n * dropdown, command palette), read from the RESOLVED configuration in the frontend subprocess.\n *\n * Exists because a `SHELL_PLACEMENT` task's product cannot be witnessed by text. Its declared\n * products are PLACEMENT-PLAN refs, which nothing in the tree is obliged to spell and nothing\n * does; and the `wildo init` scaffold already writes every shell key and hosts the same\n * components, so a built application differs from a fresh one in the CONTENT of those\n * structures and never in which symbols appear. Only the resolved merge separates them.\n *\n * Reports one row per surface and no verdict: an application composes at least one surface and\n * deliberately not all, so which ones is a product decision the CALLER asserts against.\n * `SETTINGS_HUB`, the fourth placement surface, is answered by `settings-placement-content`.\n */\n 'app-shell-placement-content',\n /**\n * Assertion Surface behaviors (app-creation meta-workflows, master\n * plan S1). Serve the authored `AssertionSpecificationSnapshot` from\n * the specifications target:\n *\n * - `assertions-list` — authored entries, filtered by lane / kind\n * (pure projection; no live registry).\n * - `assertions-resolve` — entries plus live probe findings derived\n * at query time against the resources registry (requires the\n * `library` target); the parent composes LLM interpretation on top.\n * - `assertions-reconcile` — computes per-entry status\n * (assumed → landed → drifted / unverifiable) by diffing authored\n * assumptions against introspected reality (requires `library`).\n *\n * Kebab-case string-tuple ids (the introspection plane convention —\n * one behavior id per operation, no `input.op` discriminator).\n */\n 'assertions-list',\n 'assertions-resolve',\n 'assertions-reconcile',\n /**\n * Top-down **definition-specifications** projection (app-creation\n * meta-workflows, journey-buildout GAP-D1-9). Serves the presence +\n * structural validity + cross-family coherence of the authored C-4\n * definition set (`vision-brief` / `market-snapshot` / `requirements` /\n * `roadmap` / `business-model`) off the specifications target's companion\n * exports. Runs each family's `_core` validator (shared with the\n * journey-snapshot per-artifact validation seam) as a durable load-time\n * guard — an ERROR or an unresolved cross-family ref fails closed instead of\n * shipping silently. Pure/deterministic; no live registry, no LLM.\n */\n 'definition-specifications',\n /**\n * Brand logo-generation prompt assembly (app-creation meta-workflows —\n * brand-identity). Reads the authored `BrandSnapshot` off the specifications\n * target's companion exports, validates it (`validateBrandSnapshot`), and\n * assembles the text-to-image prompt (brand name + logo direction + visual\n * tone, optionally enriched by the market `tonesOfVoice`). Pure/deterministic\n * — no image call here; the parent `LogoGenerationCompanionService` invokes\n * the image agent with the returned prompt.\n */\n 'brand-render-prompt',\n /**\n * Expert-persona DERIVATION INPUTS projection (agentic deliberation\n * system, Step 2). Resolves the specification-tier snapshots a role's\n * charter derivation is shaped by (`shapingInputKinds` of the framework\n * `ExpertRoleTemplate`: vision / market / brand / requirements /\n * business-model / accepted-decisions), returning the resolved subset plus\n * the kinds that are missing (the parent derivation service fails closed\n * on missing kinds) and the kinds this target cannot resolve\n * (DESIGN_SYSTEM — the parent composes it from the frontend\n * `design-system-source-config` behavior). Pure/deterministic; no LLM.\n */\n 'expert-persona-derivation-inputs',\n /**\n * Committed expert-persona CHARTERS read-back (agentic deliberation\n * system). Serves the app's `expertPersonaCharters` companion export\n * (the accepted charters under `specifications/src/personas/`) — consumed\n * by the accept step's human-edit overwrite guard + validator run, and by\n * the deliberation system's startup agent factory. Pure/deterministic.\n */\n 'expert-persona-charters',\n /**\n * **compliance-primary-facts** — what a compliance document can say about this application,\n * derived from its resource configurations.\n *\n * Reads the five compliance-bearing declarations off every materialized resource\n * (`retentionPolicy.mode`, `dataSubjectPolicy.kind`, `systemAccessPolicy.exportSubject` and the\n * two retained see-through verbs) and reports them split by ORIGIN — engine-declared versus\n * application-declared. The split is the finding: the engine already answers most of a privacy\n * notice for every generated application, and what it cannot answer is the application's own\n * domain data about third parties, which is most of what such a notice exists to describe.\n *\n * Needs the `library` target (resource CONFIGS live in the app's shared-lib; the specifications\n * target carries SPECS, which do not hold these fields). Pure/deterministic, and modelless by\n * construction — every value is a lookup of a declaration already written down.\n */\n 'compliance-primary-facts',\n /**\n * **risk-signals** — the two DERIVED risk-signal families that need materialized resources: which\n * personal-data categories this application's OWN schemas declare, and how many operations are\n * reachable by an external agent over MCP (#1435).\n *\n * Returns INPUTS, never signals. The observation sentences live in the engine\n * (`application-risk-signals.derivations.ts`), so the assurance report and the `top_down.risk-register`\n * brief read one wording of one measurement rather than two that drift.\n *\n * The OTHER four application-time signals are deliberately NOT here: the capability surface, the\n * retention declarations and the provider hosting are pure functions of `wildo.saas.config.ts`,\n * which the companion already holds, so putting them behind a subprocess would spend a process to\n * read a value already in memory.\n *\n * Needs the `library` target, like `compliance-primary-facts` above and for the same reason:\n * resource CONFIGS live in the app's shared-lib. Pure/deterministic and modelless by construction.\n */\n 'risk-signals',\n /**\n * **application-domain-model** — the observed application's resources, the module that owns each,\n * the relationships they participate in, and the prose of their specifications, in ONE projection.\n *\n * Needs BOTH targets, which is the whole point: module ownership and the specification overlay live\n * on the `specifications` target, the relationship edges on the `library` one. Reading them through\n * the two behaviors that already answer half each (`resource-specifications`, `resources-registry`)\n * means two subprocess runs against a working tree an operator is editing, so the nodes may come\n * from one state of the application and the edges from the next — a picture of an application that\n * never existed, with nothing to detect it.\n */\n 'application-domain-model',\n /**\n * **specification-artifacts** — every application-specification family the journey produces,\n * projected for a HUMAN reviewer rather than for a language model.\n *\n * The companion already reads this content: `market-context-for-icp`, `market-render-prompt`,\n * `brand-render-prompt`, `specification-context-parts` and their siblings all resolve the same\n * authored snapshots — and every one of them renders PROSE FOR A MODEL. The loading and resolution\n * paths were proven; the projection whose consumer is an operator did not exist, so a creator could\n * not review what the journey had decided about their product without opening TypeScript files\n * (issue #162).\n *\n * Enumerates `APPLICATION_SPECIFICATION_SEMANTIC_SCHEMA_BINDINGS` — so the population cannot drift\n * from the authority — and, per family, reports whether it landed, whether its own `_core`\n * validator still passes, which playbooks produce it, and the artifact rendered as a document.\n *\n * ## Where it deliberately differs from `definition-specifications`\n *\n * That behavior THROWS on any ERROR-severity structural issue, which is correct for a load-time\n * guard and exactly wrong here: it would make an invalid artifact the one thing a reviewer cannot\n * look at, at the moment they most need to. This one REPORTS. Both run the same validators through\n * the same authority, so they cannot disagree about what is valid — only about what to do about it.\n *\n * Pure/deterministic and modelless. `specifications` target only: every family's accepted value is\n * a companion export of that package.\n */\n 'specification-artifacts',\n 'family-aspects',\n /**\n * **specification-elements** — MAP, GET and RELATED over the decided elements, parameterised (#1418).\n * The pull door for tool-bearing agents; `family-aspects` stays the workbench's full dump.\n */\n 'specification-elements',\n] as const;\nexport type CompanionIntrospectionBehaviorId = typeof CompanionIntrospectionBehaviorIdValues[number];\n\n/**\n * The error name a behavior throws when the CALLER's input is wrong — refused, not broken (#1418).\n *\n * The controller maps it to a 400 carrying the message, so the refusal a handler wrote (\"`get` takes\n * `refs` OR `aspectKeys`\") reaches the caller. Without it a bad input answered 500 INTERNAL, sanitized\n * to nothing, and the CLI then suggested the companion might be down — measured on the first live run of\n * `wildo context elements` (#1459). The name travels as a string across the subprocess boundary, which\n * is why the contract is a name rather than a class the parent must import.\n */\nexport const INTROSPECTION_INPUT_VALIDATION_ERROR_NAME = 'IntrospectionInputValidationError';\n\n/** Throw this from a behavior handler when the input cannot be read. See the name above. */\nexport class IntrospectionInputValidationError extends Error {\n public constructor(message: string) {\n super(message);\n this.name = INTROSPECTION_INPUT_VALIDATION_ERROR_NAME;\n }\n}\n\nexport const CompanionIntrospectionBehaviorCategoryValues = [\n 'resources',\n 'translation',\n 'email',\n 'frontend-design-system',\n 'labels',\n 'specifications',\n 'market',\n 'brand',\n 'expert-personas',\n 'technical-doc',\n 'charts',\n 'assertions',\n] as const;\nexport type CompanionIntrospectionBehaviorCategory =\n typeof CompanionIntrospectionBehaviorCategoryValues[number];\n\nexport const CompanionIntrospectionMaterializationKindValues = [\n 'json-snapshot',\n 'text-artifact',\n] as const;\nexport type CompanionIntrospectionMaterializationKind =\n typeof CompanionIntrospectionMaterializationKindValues[number];\n\nexport interface CompanionIntrospectionBehaviorRoutingDefinition {\n target: CompanionIntrospectionRouteTargetId;\n requiredTargets?: CompanionIntrospectionRouteTargetId[];\n}\n\nexport interface CompanionIntrospectionBehaviorExecutionDefinition {\n materializationBoundary: 'subprocess';\n compositionBoundary: 'parent';\n materializationKind: CompanionIntrospectionMaterializationKind;\n}\n\nexport interface CompanionIntrospectionBehaviorDefinition {\n behaviorId: CompanionIntrospectionBehaviorId;\n description: string;\n category: CompanionIntrospectionBehaviorCategory;\n supportedServiceKinds: CompanionIntrospectionServiceKind[];\n routingByServiceKind: Partial<\n Record<CompanionIntrospectionServiceKind, CompanionIntrospectionBehaviorRoutingDefinition>\n >;\n execution: CompanionIntrospectionBehaviorExecutionDefinition;\n /**\n * The input a PARAMETERISED behavior accepts, in one line — published by the catalog (#1418).\n *\n * An agent reaching the door through `wildo context list` could not learn a behavior's parameters\n * from it and had to guess; the `info` help example guessed wrong. Absent = the behavior takes no\n * input. Prose rather than a JSON schema on purpose: the reader is a person or an agent deciding\n * what to send, and the handler's own parser is what refuses a wrong shape.\n */\n inputSummary?: string;\n}\n\nexport interface CompanionIntrospectionResolvedBehaviorDefinition {\n behaviorId: CompanionIntrospectionBehaviorId;\n description: string;\n category: CompanionIntrospectionBehaviorCategory;\n serviceKind: CompanionIntrospectionServiceKind;\n route: CompanionIntrospectionBehaviorRoutingDefinition;\n execution: CompanionIntrospectionBehaviorExecutionDefinition;\n}\n\nexport interface CompanionIntrospectionResolvedPackageTarget {\n targetId: CompanionIntrospectionRouteTargetId;\n packageRoot: string;\n entryPath: string;\n declaredPath?: string;\n}\n\n/**\n * Minimal trusted homes snapshot passed from the parent companion process into\n * introspection children so subprocesses never need to rediscover app or\n * framework roots from cwd.\n */\nexport interface CompanionIntrospectionHomesSnapshot {\n appDeclarationRoot: string;\n appRuntimeHome: string;\n companionHome: string;\n frameworkRepositoryRoot: string | null;\n}\n\nexport interface CompanionIntrospectionRequest {\n serviceKey: string;\n behavior: CompanionIntrospectionBehaviorId;\n input?: unknown;\n}\n\nexport interface CompanionIntrospectionResolvedTarget {\n serviceKey: string;\n servicePath: string;\n serviceName: string;\n serviceKind: CompanionIntrospectionServiceKind;\n behavior: CompanionIntrospectionBehaviorId;\n behaviorCategory: CompanionIntrospectionBehaviorCategory;\n materializationKind: CompanionIntrospectionMaterializationKind;\n targetId: CompanionIntrospectionRouteTargetId;\n packageRoot: string;\n entryPath: string;\n resolvedTargets: Partial<Record<CompanionIntrospectionRouteTargetId, CompanionIntrospectionResolvedPackageTarget>>;\n resolvedBehavior: CompanionIntrospectionResolvedBehaviorDefinition;\n input?: unknown;\n}\n\nexport interface CompanionIntrospectionChildRequest {\n behavior: CompanionIntrospectionBehaviorId;\n serviceKind: CompanionIntrospectionServiceKind;\n behaviorCategory: CompanionIntrospectionBehaviorCategory;\n materializationKind: CompanionIntrospectionMaterializationKind;\n targetId: CompanionIntrospectionRouteTargetId;\n serviceKey: string;\n entryPath: string;\n packageRoot: string;\n homes: CompanionIntrospectionHomesSnapshot;\n resolvedTargets: Partial<Record<CompanionIntrospectionRouteTargetId, CompanionIntrospectionResolvedPackageTarget>>;\n input?: unknown;\n}\n\nexport interface CompanionIntrospectionErrorDetails {\n message: string;\n name?: string;\n stack?: string;\n}\n\nexport interface CompanionIntrospectionSuccessResult {\n success: true;\n behavior: CompanionIntrospectionBehaviorId;\n serviceKey: string;\n serviceKind: CompanionIntrospectionServiceKind;\n behaviorCategory: CompanionIntrospectionBehaviorCategory;\n materializationKind: CompanionIntrospectionMaterializationKind;\n targetId: CompanionIntrospectionRouteTargetId;\n data: unknown;\n durationMs: number;\n stdout?: string;\n stderr?: string;\n /**\n * Set when this exact derivation was memoized against a source-tree observation that still matches,\n * so no subprocess ran and no application module graph was re-imported.\n *\n * Provenance, not a control: `durationMs` stays the ORIGINAL derivation's cost, because that is the\n * number the acceptance measurement is about. Absent on a freshly derived result rather than\n * `false`, so a consumer reading it can tell \"not cached\" from \"an older companion that had no\n * cache\".\n */\n servedFromCache?: true;\n /**\n * How long ago the held derivation was COMPILED, in milliseconds (#1437).\n *\n * Present exactly when {@link servedFromCache} is, and absent otherwise for the same reason it is:\n * a consumer can tell \"freshly derived\" from \"an older companion that did not report an age\".\n *\n * The number already existed and was thrown away — the state service computed it to write one\n * debug line. A consumer reading a held answer cannot tell a derivation taken seconds ago from one\n * taken before the application changed underneath it, and on a shared working tree that difference\n * is the one it most needs: the registry once reported 15 resources as a held derivation while the\n * specification set and the compiled dist both had 16, because another session had just added one.\n */\n derivationAgeMs?: number;\n}\n\nexport interface CompanionIntrospectionFailureResult {\n success: false;\n behavior: CompanionIntrospectionBehaviorId;\n serviceKey: string;\n serviceKind: CompanionIntrospectionServiceKind;\n behaviorCategory: CompanionIntrospectionBehaviorCategory;\n materializationKind: CompanionIntrospectionMaterializationKind;\n targetId: CompanionIntrospectionRouteTargetId;\n durationMs: number;\n error: CompanionIntrospectionErrorDetails;\n stdout?: string;\n stderr?: string;\n}\n\nexport type CompanionIntrospectionResult =\n | CompanionIntrospectionSuccessResult\n | CompanionIntrospectionFailureResult;\n"]}
|
|
1
|
+
{"version":3,"file":"companion-introspection.models.js","sourceRoot":"","sources":["../../../../../../src/core/introspection/models/companion-introspection.models.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uCAAuC,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,gBAAgB,CAAU,CAAC;AAGzG,MAAM,CAAC,MAAM,uCAAuC,GAAG,CAAC,SAAS,EAAE,UAAU,CAAU,CAAC;AAGxF,MAAM,CAAC,MAAM,sCAAsC,GAAG;IACpD,oBAAoB;IACpB,+BAA+B;IAC/B;;;;OAIG;IACH,kCAAkC;IAClC,yBAAyB;IACzB,kCAAkC;IAClC,6BAA6B;IAC7B,mBAAmB;IACnB,6BAA6B;IAC7B,yBAAyB;IACzB,6BAA6B;IAC7B,uBAAuB;IACvB,4BAA4B;IAC5B,wBAAwB;IACxB,sBAAsB;IACtB;;;;;;;;;;;;;;;;OAgBG;IACH,0BAA0B;IAC1B;;;;;;;OAOG;IACH,yBAAyB;IACzB;;;;;;;;;;OAUG;IACH,4BAA4B;IAC5B;;;;;;;;;;;;;OAaG;IACH,6BAA6B;IAC7B;;;;;;;;;;;;;;;;OAgBG;IACH,iBAAiB;IACjB,oBAAoB;IACpB,sBAAsB;IACtB;;;;;;;;;;OAUG;IACH,2BAA2B;IAC3B;;;;;;;;OAQG;IACH,qBAAqB;IACrB;;;;;;;;;;OAUG;IACH,kCAAkC;IAClC;;;;;;OAMG;IACH,yBAAyB;IACzB;;;;;;;;;;;;;;OAcG;IACH,0BAA0B;IAC1B;;;;;;;;;;;;;;;;OAgBG;IACH,cAAc;IACd;;;;;;;;;;OAUG;IACH,0BAA0B;IAC1B;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,yBAAyB;IACzB,gBAAgB;IAChB;;;OAGG;IACH,wBAAwB;CAChB,CAAC;AAGX;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAG,mCAAmC,CAAC;AAE7F,4FAA4F;AAC5F,MAAM,OAAO,iCAAkC,SAAQ,KAAK;IAC1D,YAAmB,OAAe;QAChC,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,yCAAyC,CAAC;IACxD,CAAC;CACF;AAED,MAAM,CAAC,MAAM,4CAA4C,GAAG;IAC1D,WAAW;IACX,aAAa;IACb,OAAO;IACP,wBAAwB;IACxB,QAAQ;IACR,gBAAgB;IAChB,QAAQ;IACR,OAAO;IACP,iBAAiB;IACjB,eAAe;IACf,QAAQ;IACR,YAAY;CACJ,CAAC;AAIX,MAAM,CAAC,MAAM,+CAA+C,GAAG;IAC7D,eAAe;IACf,eAAe;CACP,CAAC","sourcesContent":["export const CompanionIntrospectionRouteTargetValues = ['service', 'library', 'specifications'] as const;\nexport type CompanionIntrospectionRouteTargetId = typeof CompanionIntrospectionRouteTargetValues[number];\n\nexport const CompanionIntrospectionServiceKindValues = ['backend', 'frontend'] as const;\nexport type CompanionIntrospectionServiceKind = typeof CompanionIntrospectionServiceKindValues[number];\n\nexport const CompanionIntrospectionBehaviorIdValues = [\n 'resources-registry',\n 'email-template-placement-info',\n /**\n * The pause states every approval gate declares (`humanApproval.deadlines.pauseStates` on a backend module's function\n * tools, #1864), read in the BACKEND subprocess. The labelling planner words each one under\n * `system_enums.HumanDecisionPauseState.<state>`; nothing else in the companion sees a function tool.\n */\n 'human-decision-gate-declarations',\n 'translation-needed-info',\n 'frontend-artifact-placement-info',\n 'design-system-source-config',\n 'design-tokens-css',\n 'frontend-labels-needed-info',\n 'resource-specifications',\n 'specification-context-parts',\n 'catalog-context-parts',\n 'market-context-for-feature',\n 'market-context-for-icp',\n 'market-render-prompt',\n /**\n * Technical-documentation OpenAPI generator input projection\n * (`saas-technical-doc.md` Step 3b). Walks the resolved\n * `ResourcesRegistry` in the backend subprocess, materializes every\n * resource configuration, runs the URL builder so per-operation\n * `initiatorInfos[].url` are populated, and projects each\n * `(operation × initiatorInfo)` row into the\n * `OpenApiGenerationInputSchema` shape declared in\n * `@wildo-ai/saas-technical-doc/companion`.\n *\n * Why subprocess-side: the projection runs `z.toJSONSchema(...)` on\n * each operation's `requestDto` / `responseDto`, which requires\n * loading `@wildo-ai/saas-models` (and its `initZodDecorators()`\n * boot). Doing this in the subprocess keeps the parent companion\n * bundle decorator-framework-free per `saas-models-public-runtime.md`\n * K-3.\n */\n 'openapi-generation-input',\n /**\n * Frontend chart-registration refs — every `chartViews[].chartDefinition.ref`\n * across the app's resources, materialized in the FRONTEND subprocess. The\n * parent composes these with the backend-registered chart refs to detect a\n * frontend chartView whose chart is not registered backend-side (a silent\n * runtime `chart_not_found` 404). Kept separate from `frontend-labels-needed-info`\n * so chart-registration data does not thread through the labelling pipeline.\n */\n 'chart-registration-refs',\n /**\n * The application's authored settings rail, verified against the engine destination\n * catalog in the FRONTEND subprocess (fresh working-tree import).\n *\n * Exists for a failure that is silent by construction: a placement naming a\n * `destinationRef` the catalog does not ship is not a type error —\n * `resolveSettingsHubConfig` DROPS it and the section simply never renders. So a\n * `SHELL_PLACEMENT` coding task can pass `check:app-typecheck`, report verified, and\n * leave the application missing a settings section nobody is told about. Same class\n * as the FK-resolution sweep, and answered the same way: ask the working tree.\n */\n 'settings-placement-content',\n /**\n * What the application's shell actually COMPOSES, per placement surface (sidebar, user\n * dropdown, command palette), read from the RESOLVED configuration in the frontend subprocess.\n *\n * Exists because a `SHELL_PLACEMENT` task's product cannot be witnessed by text. Its declared\n * products are PLACEMENT-PLAN refs, which nothing in the tree is obliged to spell and nothing\n * does; and the `wildo init` scaffold already writes every shell key and hosts the same\n * components, so a built application differs from a fresh one in the CONTENT of those\n * structures and never in which symbols appear. Only the resolved merge separates them.\n *\n * Reports one row per surface and no verdict: an application composes at least one surface and\n * deliberately not all, so which ones is a product decision the CALLER asserts against.\n * `SETTINGS_HUB`, the fourth placement surface, is answered by `settings-placement-content`.\n */\n 'app-shell-placement-content',\n /**\n * Assertion Surface behaviors (app-creation meta-workflows, master\n * plan S1). Serve the authored `AssertionSpecificationSnapshot` from\n * the specifications target:\n *\n * - `assertions-list` — authored entries, filtered by lane / kind\n * (pure projection; no live registry).\n * - `assertions-resolve` — entries plus live probe findings derived\n * at query time against the resources registry (requires the\n * `library` target); the parent composes LLM interpretation on top.\n * - `assertions-reconcile` — computes per-entry status\n * (assumed → landed → drifted / unverifiable) by diffing authored\n * assumptions against introspected reality (requires `library`).\n *\n * Kebab-case string-tuple ids (the introspection plane convention —\n * one behavior id per operation, no `input.op` discriminator).\n */\n 'assertions-list',\n 'assertions-resolve',\n 'assertions-reconcile',\n /**\n * Top-down **definition-specifications** projection (app-creation\n * meta-workflows, journey-buildout GAP-D1-9). Serves the presence +\n * structural validity + cross-family coherence of the authored C-4\n * definition set (`vision-brief` / `market-snapshot` / `requirements` /\n * `roadmap` / `business-model`) off the specifications target's companion\n * exports. Runs each family's `_core` validator (shared with the\n * journey-snapshot per-artifact validation seam) as a durable load-time\n * guard — an ERROR or an unresolved cross-family ref fails closed instead of\n * shipping silently. Pure/deterministic; no live registry, no LLM.\n */\n 'definition-specifications',\n /**\n * Brand logo-generation prompt assembly (app-creation meta-workflows —\n * brand-identity). Reads the authored `BrandSnapshot` off the specifications\n * target's companion exports, validates it (`validateBrandSnapshot`), and\n * assembles the text-to-image prompt (brand name + logo direction + visual\n * tone, optionally enriched by the market `tonesOfVoice`). Pure/deterministic\n * — no image call here; the parent `LogoGenerationCompanionService` invokes\n * the image agent with the returned prompt.\n */\n 'brand-render-prompt',\n /**\n * Expert-persona DERIVATION INPUTS projection (agentic deliberation\n * system, Step 2). Resolves the specification-tier snapshots a role's\n * charter derivation is shaped by (`shapingInputKinds` of the framework\n * `ExpertRoleTemplate`: vision / market / brand / requirements /\n * business-model / accepted-decisions), returning the resolved subset plus\n * the kinds that are missing (the parent derivation service fails closed\n * on missing kinds) and the kinds this target cannot resolve\n * (DESIGN_SYSTEM — the parent composes it from the frontend\n * `design-system-source-config` behavior). Pure/deterministic; no LLM.\n */\n 'expert-persona-derivation-inputs',\n /**\n * Committed expert-persona CHARTERS read-back (agentic deliberation\n * system). Serves the app's `expertPersonaCharters` companion export\n * (the accepted charters under `specifications/src/personas/`) — consumed\n * by the accept step's human-edit overwrite guard + validator run, and by\n * the deliberation system's startup agent factory. Pure/deterministic.\n */\n 'expert-persona-charters',\n /**\n * **compliance-primary-facts** — what a compliance document can say about this application,\n * derived from its resource configurations.\n *\n * Reads the five compliance-bearing declarations off every materialized resource\n * (`retentionPolicy.mode`, `dataSubjectPolicy.kind`, `systemAccessPolicy.exportSubject` and the\n * two retained see-through verbs) and reports them split by ORIGIN — engine-declared versus\n * application-declared. The split is the finding: the engine already answers most of a privacy\n * notice for every generated application, and what it cannot answer is the application's own\n * domain data about third parties, which is most of what such a notice exists to describe.\n *\n * Needs the `library` target (resource CONFIGS live in the app's shared-lib; the specifications\n * target carries SPECS, which do not hold these fields). Pure/deterministic, and modelless by\n * construction — every value is a lookup of a declaration already written down.\n */\n 'compliance-primary-facts',\n /**\n * **risk-signals** — the two DERIVED risk-signal families that need materialized resources: which\n * personal-data categories this application's OWN schemas declare, and how many operations are\n * reachable by an external agent over MCP (#1435).\n *\n * Returns INPUTS, never signals. The observation sentences live in the engine\n * (`application-risk-signals.derivations.ts`), so the assurance report and the `top_down.risk-register`\n * brief read one wording of one measurement rather than two that drift.\n *\n * The OTHER four application-time signals are deliberately NOT here: the capability surface, the\n * retention declarations and the provider hosting are pure functions of `wildo.saas.config.ts`,\n * which the companion already holds, so putting them behind a subprocess would spend a process to\n * read a value already in memory.\n *\n * Needs the `library` target, like `compliance-primary-facts` above and for the same reason:\n * resource CONFIGS live in the app's shared-lib. Pure/deterministic and modelless by construction.\n */\n 'risk-signals',\n /**\n * **application-domain-model** — the observed application's resources, the module that owns each,\n * the relationships they participate in, and the prose of their specifications, in ONE projection.\n *\n * Needs BOTH targets, which is the whole point: module ownership and the specification overlay live\n * on the `specifications` target, the relationship edges on the `library` one. Reading them through\n * the two behaviors that already answer half each (`resource-specifications`, `resources-registry`)\n * means two subprocess runs against a working tree an operator is editing, so the nodes may come\n * from one state of the application and the edges from the next — a picture of an application that\n * never existed, with nothing to detect it.\n */\n 'application-domain-model',\n /**\n * **specification-artifacts** — every application-specification family the journey produces,\n * projected for a HUMAN reviewer rather than for a language model.\n *\n * The companion already reads this content: `market-context-for-icp`, `market-render-prompt`,\n * `brand-render-prompt`, `specification-context-parts` and their siblings all resolve the same\n * authored snapshots — and every one of them renders PROSE FOR A MODEL. The loading and resolution\n * paths were proven; the projection whose consumer is an operator did not exist, so a creator could\n * not review what the journey had decided about their product without opening TypeScript files\n * (issue #162).\n *\n * Enumerates `APPLICATION_SPECIFICATION_SEMANTIC_SCHEMA_BINDINGS` — so the population cannot drift\n * from the authority — and, per family, reports whether it landed, whether its own `_core`\n * validator still passes, which playbooks produce it, and the artifact rendered as a document.\n *\n * ## Where it deliberately differs from `definition-specifications`\n *\n * That behavior THROWS on any ERROR-severity structural issue, which is correct for a load-time\n * guard and exactly wrong here: it would make an invalid artifact the one thing a reviewer cannot\n * look at, at the moment they most need to. This one REPORTS. Both run the same validators through\n * the same authority, so they cannot disagree about what is valid — only about what to do about it.\n *\n * Pure/deterministic and modelless. `specifications` target only: every family's accepted value is\n * a companion export of that package.\n */\n 'specification-artifacts',\n 'family-aspects',\n /**\n * **specification-elements** — MAP, GET and RELATED over the decided elements, parameterised (#1418).\n * The pull door for tool-bearing agents; `family-aspects` stays the workbench's full dump.\n */\n 'specification-elements',\n] as const;\nexport type CompanionIntrospectionBehaviorId = typeof CompanionIntrospectionBehaviorIdValues[number];\n\n/**\n * The error name a behavior throws when the CALLER's input is wrong — refused, not broken (#1418).\n *\n * The controller maps it to a 400 carrying the message, so the refusal a handler wrote (\"`get` takes\n * `refs` OR `aspectKeys`\") reaches the caller. Without it a bad input answered 500 INTERNAL, sanitized\n * to nothing, and the CLI then suggested the companion might be down — measured on the first live run of\n * `wildo context elements` (#1459). The name travels as a string across the subprocess boundary, which\n * is why the contract is a name rather than a class the parent must import.\n */\nexport const INTROSPECTION_INPUT_VALIDATION_ERROR_NAME = 'IntrospectionInputValidationError';\n\n/** Throw this from a behavior handler when the input cannot be read. See the name above. */\nexport class IntrospectionInputValidationError extends Error {\n public constructor(message: string) {\n super(message);\n this.name = INTROSPECTION_INPUT_VALIDATION_ERROR_NAME;\n }\n}\n\nexport const CompanionIntrospectionBehaviorCategoryValues = [\n 'resources',\n 'translation',\n 'email',\n 'frontend-design-system',\n 'labels',\n 'specifications',\n 'market',\n 'brand',\n 'expert-personas',\n 'technical-doc',\n 'charts',\n 'assertions',\n] as const;\nexport type CompanionIntrospectionBehaviorCategory =\n typeof CompanionIntrospectionBehaviorCategoryValues[number];\n\nexport const CompanionIntrospectionMaterializationKindValues = [\n 'json-snapshot',\n 'text-artifact',\n] as const;\nexport type CompanionIntrospectionMaterializationKind =\n typeof CompanionIntrospectionMaterializationKindValues[number];\n\nexport interface CompanionIntrospectionBehaviorRoutingDefinition {\n target: CompanionIntrospectionRouteTargetId;\n requiredTargets?: CompanionIntrospectionRouteTargetId[];\n}\n\nexport interface CompanionIntrospectionBehaviorExecutionDefinition {\n materializationBoundary: 'subprocess';\n compositionBoundary: 'parent';\n materializationKind: CompanionIntrospectionMaterializationKind;\n}\n\nexport interface CompanionIntrospectionBehaviorDefinition {\n behaviorId: CompanionIntrospectionBehaviorId;\n description: string;\n category: CompanionIntrospectionBehaviorCategory;\n supportedServiceKinds: CompanionIntrospectionServiceKind[];\n routingByServiceKind: Partial<\n Record<CompanionIntrospectionServiceKind, CompanionIntrospectionBehaviorRoutingDefinition>\n >;\n execution: CompanionIntrospectionBehaviorExecutionDefinition;\n /**\n * The input a PARAMETERISED behavior accepts, in one line — published by the catalog (#1418).\n *\n * An agent reaching the door through `wildo context list` could not learn a behavior's parameters\n * from it and had to guess; the `info` help example guessed wrong. Absent = the behavior takes no\n * input. Prose rather than a JSON schema on purpose: the reader is a person or an agent deciding\n * what to send, and the handler's own parser is what refuses a wrong shape.\n */\n inputSummary?: string;\n}\n\nexport interface CompanionIntrospectionResolvedBehaviorDefinition {\n behaviorId: CompanionIntrospectionBehaviorId;\n description: string;\n category: CompanionIntrospectionBehaviorCategory;\n serviceKind: CompanionIntrospectionServiceKind;\n route: CompanionIntrospectionBehaviorRoutingDefinition;\n execution: CompanionIntrospectionBehaviorExecutionDefinition;\n}\n\nexport interface CompanionIntrospectionResolvedPackageTarget {\n targetId: CompanionIntrospectionRouteTargetId;\n packageRoot: string;\n entryPath: string;\n declaredPath?: string;\n}\n\n/**\n * Minimal trusted homes snapshot passed from the parent companion process into\n * introspection children so subprocesses never need to rediscover app or\n * framework roots from cwd.\n */\nexport interface CompanionIntrospectionHomesSnapshot {\n appDeclarationRoot: string;\n appRuntimeHome: string;\n companionHome: string;\n frameworkRepositoryRoot: string | null;\n}\n\nexport interface CompanionIntrospectionRequest {\n serviceKey: string;\n behavior: CompanionIntrospectionBehaviorId;\n input?: unknown;\n}\n\nexport interface CompanionIntrospectionResolvedTarget {\n serviceKey: string;\n servicePath: string;\n serviceName: string;\n serviceKind: CompanionIntrospectionServiceKind;\n behavior: CompanionIntrospectionBehaviorId;\n behaviorCategory: CompanionIntrospectionBehaviorCategory;\n materializationKind: CompanionIntrospectionMaterializationKind;\n targetId: CompanionIntrospectionRouteTargetId;\n packageRoot: string;\n entryPath: string;\n resolvedTargets: Partial<Record<CompanionIntrospectionRouteTargetId, CompanionIntrospectionResolvedPackageTarget>>;\n resolvedBehavior: CompanionIntrospectionResolvedBehaviorDefinition;\n input?: unknown;\n}\n\nexport interface CompanionIntrospectionChildRequest {\n behavior: CompanionIntrospectionBehaviorId;\n serviceKind: CompanionIntrospectionServiceKind;\n behaviorCategory: CompanionIntrospectionBehaviorCategory;\n materializationKind: CompanionIntrospectionMaterializationKind;\n targetId: CompanionIntrospectionRouteTargetId;\n serviceKey: string;\n entryPath: string;\n packageRoot: string;\n homes: CompanionIntrospectionHomesSnapshot;\n resolvedTargets: Partial<Record<CompanionIntrospectionRouteTargetId, CompanionIntrospectionResolvedPackageTarget>>;\n input?: unknown;\n}\n\nexport interface CompanionIntrospectionErrorDetails {\n message: string;\n name?: string;\n stack?: string;\n}\n\nexport interface CompanionIntrospectionSuccessResult {\n success: true;\n behavior: CompanionIntrospectionBehaviorId;\n serviceKey: string;\n serviceKind: CompanionIntrospectionServiceKind;\n behaviorCategory: CompanionIntrospectionBehaviorCategory;\n materializationKind: CompanionIntrospectionMaterializationKind;\n targetId: CompanionIntrospectionRouteTargetId;\n data: unknown;\n durationMs: number;\n stdout?: string;\n stderr?: string;\n /**\n * Set when this exact derivation was memoized against a source-tree observation that still matches,\n * so no subprocess ran and no application module graph was re-imported.\n *\n * Provenance, not a control: `durationMs` stays the ORIGINAL derivation's cost, because that is the\n * number the acceptance measurement is about. Absent on a freshly derived result rather than\n * `false`, so a consumer reading it can tell \"not cached\" from \"an older companion that had no\n * cache\".\n */\n servedFromCache?: true;\n /**\n * How long ago the held derivation was COMPILED, in milliseconds (#1437).\n *\n * Present exactly when {@link servedFromCache} is, and absent otherwise for the same reason it is:\n * a consumer can tell \"freshly derived\" from \"an older companion that did not report an age\".\n *\n * The number already existed and was thrown away — the state service computed it to write one\n * debug line. A consumer reading a held answer cannot tell a derivation taken seconds ago from one\n * taken before the application changed underneath it, and on a shared working tree that difference\n * is the one it most needs: the registry once reported 15 resources as a held derivation while the\n * specification set and the compiled dist both had 16, because another session had just added one.\n */\n derivationAgeMs?: number;\n}\n\nexport interface CompanionIntrospectionFailureResult {\n success: false;\n behavior: CompanionIntrospectionBehaviorId;\n serviceKey: string;\n serviceKind: CompanionIntrospectionServiceKind;\n behaviorCategory: CompanionIntrospectionBehaviorCategory;\n materializationKind: CompanionIntrospectionMaterializationKind;\n targetId: CompanionIntrospectionRouteTargetId;\n durationMs: number;\n error: CompanionIntrospectionErrorDetails;\n stdout?: string;\n stderr?: string;\n}\n\nexport type CompanionIntrospectionResult =\n | CompanionIntrospectionSuccessResult\n | CompanionIntrospectionFailureResult;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-secrets.companion.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"application-secrets.companion.d.ts","sourceRoot":"","sources":["../../../../../../src/core/introspection/resources/application-secrets.companion.ts"],"names":[],"mappings":"AAcA,OAAO,EAEL,KAAK,qBAAqB,EAG1B,KAAK,wCAAwC,EAC9C,MAAM,gCAAgC,CAAC;AAmCxC;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,OAAO,EAAE,wCAAwC,CAAC;IAC3D,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,IAAI,CAAC;CAC5D;AAyBD,4GAA4G;AAC5G,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,2EAA2E;AAC3E,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,UAAU,EAAE,SAAS,MAAM,EAAE,CAAC;CACxC;AA4BD,sGAAsG;AACtG,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAqBhE;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,GAAG,CAAC,CAIxD;AAED,gHAAgH;AAChH,wBAAsB,sBAAsB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC;IACtE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;IAChC,UAAU,EAAE,4BAA4B,EAAE,CAAC;IAC3C,UAAU,EAAE,4BAA4B,EAAE,CAAC;CAC5C,CAAC,CAkBD;AAED;;;GAGG;AACH,wBAAsB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAW9K;AAED,2EAA2E;AAC3E,wBAAsB,sBAAsB,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,uBAAuB,CAAC,CASjK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-secrets.companion.js","sourceRoot":"","sources":["../../../../../src/core/introspection/resources/application-secrets.companion.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,sBAAsB,EAAE,mBAA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AAK,UAAU,oBAAoB,CAAC,QAAgB,EAAE,OAAe,EAAE,IAA2B,EAAE,UAAkB,EAAE,KAAa;IAC1I,MAAM,MAAM,GAAG,MAAM,wBAAwB,CAAC;QAC5C,OAAO,EAAE,OAAO;QAChB,qGAAqG;QACrG,IAAI,EAAE,CAAC,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,eAAe,EAAE,0BAA0B,EAAE,QAAQ,CAAC;QAC7H,GAAG,EAAE,QAAQ;QACb,GAAG,EAAE,cAAc,EAAE;QACrB,YAAY,EAAE,KAAK;QACnB,SAAS,EAAE,iBAAiB;KAC7B,CAAC,CAAC;IACH,OAAO,yBAAyB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AAClD,CAAC;AAED,2EAA2E;AAC3E,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAAC,QAAgB,EAAE,OAAe,EAAE,IAA2B,EAAE,UAAkB;IAC7H,MAAM,MAAM,GAAG,MAAM,wBAAwB,CAAC;QAC5C,OAAO,EAAE,OAAO;QAChB,IAAI,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,0BAA0B,EAAE,QAAQ,CAAC;QAC9G,GAAG,EAAE,QAAQ;QACb,GAAG,EAAE,cAAc,EAAE;QACrB,SAAS,EAAE,iBAAiB;KAC7B,CAAC,CAAC;IACH,OAAO,yBAAyB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AAClD,CAAC","sourcesContent":["/**\n * The workbench's secrets section, served by running `wildo secrets` (#1637).\n *\n * The companion never reads or writes a secret itself. `wildo secrets` is the one writer — it owns\n * `secrets.json`'s schema and its single writer, the env-file regeneration, the restart of the\n * runtimes that read a key, and the GitHub secrets of a remote environment — so the section goes\n * through it, and a secret has one mutation path whether a person types it in a terminal or here.\n * The companion's generic file routes refuse secret-bearing paths for the same reason\n * (`companion-file-route-confinement.ts`).\n *\n * Values travel ONE way, on the child's stdin, and are never held, logged or returned: the listing\n * carries names and standings only.\n */\nimport { BoundedSubprocessError, describeCaughtError, executeBoundedSubprocess } from '@wildo-ai/saas-backend-lib';\nimport {\n applicationSecretRowId,\n type ApplicationSecretKind,\n type ApplicationSecretRemoteLevel,\n type ApplicationSecretStanding,\n type Workbench_ApplicationSecretChangeOutcome,\n} from '@wildo-ai/platform-core-shared';\n\n/**\n * Listing loads the application once and asks GitHub per remote environment: 86 s was measured for one\n * environment on a loaded machine (2026-09-26), against a 120 s bound that a second environment or a busier\n * hour would pass. Re-measured 2026-09-27 with the system-of-record facets and the built backend's inbound\n * endpoints also read: 74 s wall, 19.5 s CPU, for `local`. Only the first read waits on it (the board refreshes behind the rows it serves), so the\n * bound is about not abandoning a slow listing, not about a person waiting.\n */\nconst LIST_TIMEOUT_MS = 300_000;\nconst CHANGE_TIMEOUT_MS = 300_000;\n\n/** What `wildo secrets list --all --json` prints (`commands/secrets/list.command.ts`). */\ninterface SecretsListingEnvironment {\n readonly envName: string;\n readonly error?: string | null;\n /** What the listing could not derive (a backend not built, a facet unreadable), each saying why. */\n readonly incomplete?: readonly string[];\n readonly requirements: ReadonlyArray<{\n readonly envVarName: string;\n readonly kind: ApplicationSecretKind;\n readonly ownerRef: string | null;\n readonly description: string | null;\n readonly capabilities: readonly string[];\n readonly runtimes: readonly string[];\n readonly standing: ApplicationSecretStanding;\n readonly creationEssential: boolean;\n readonly remoteLevel?: ApplicationSecretRemoteLevel;\n }>;\n}\n\ninterface SecretsListing {\n readonly environments: ReadonlyArray<SecretsListingEnvironment>;\n}\n\n/**\n * What a set/unset answered: the outcome the page is shown, and the environment's rows after the change\n * (#1782). `environmentRows` is `null` when the CLI did not report them, and the caller then drops its\n * listing instead of patching it.\n */\nexport interface ApplicationSecretChange {\n readonly outcome: Workbench_ApplicationSecretChangeOutcome;\n readonly environmentRows: Record<string, unknown>[] | null;\n}\n\n/** One environment's requirements as workbench rows — the ONE mapping a listing and a change both use. */\nfunction toWorkbenchSecretRows(environment: SecretsListingEnvironment): Record<string, unknown>[] {\n return environment.requirements.map((requirement) => ({\n workbenchApplicationSecretId: applicationSecretRowId(environment.envName, requirement.kind, requirement.envVarName),\n environmentName: environment.envName,\n envVarName: requirement.envVarName,\n standing: requirement.standing,\n kind: requirement.kind,\n ownerRef: requirement.ownerRef,\n description: requirement.description,\n capabilities: [...requirement.capabilities],\n runtimes: [...requirement.runtimes],\n creationEssential: requirement.creationEssential,\n remoteLevel: requirement.remoteLevel ?? null,\n }));\n}\n\n/** Split the CLI's change answer: the report rides beside the outcome and never reaches the page. */\nfunction toApplicationSecretChange(stdout: string): ApplicationSecretChange {\n const { environmentAfterChange, ...outcome } = parseSecretsCliJson<Workbench_ApplicationSecretChangeOutcome & { environmentAfterChange?: SecretsListingEnvironment }>(stdout);\n return { outcome, environmentRows: environmentAfterChange ? toWorkbenchSecretRows(environmentAfterChange) : null };\n}\n\n/** One environment the listing could not read, named so the section can say so rather than show nothing. */\nexport interface UnreadableSecretsEnvironment {\n readonly envName: string;\n readonly error: string;\n}\n\n/** One environment listed only in part, with what was left out and why. */\nexport interface IncompleteSecretsEnvironment {\n readonly envName: string;\n readonly incomplete: readonly string[];\n}\n\n/**\n * What the CLI child inherits from the companion's environment — named, never the whole of it, which\n * carries platform secrets a child must not receive. Everything else is what a terminal would give the\n * same command: identity and locale; temp dirs; the proxy and certificate variables a networked `gh`\n * needs; `gh`'s own token and host variables (a remote environment's secrets are written through it);\n * the Wildo selection variables; and the coding agents' config pointers, because `wildo secrets list`\n * reports the selected agent's login and must read it where the agent does.\n */\nconst CLI_INHERITED_ENV_KEYS = [\n 'PATH', 'HOME', 'USER', 'LOGNAME', 'SHELL', 'TERM', 'LANG', 'LC_ALL', 'LC_CTYPE', 'TMPDIR', 'TMP', 'TEMP',\n 'XDG_CONFIG_HOME', 'XDG_CACHE_HOME', 'XDG_STATE_HOME', 'XDG_RUNTIME_DIR',\n 'SSL_CERT_FILE', 'SSL_CERT_DIR', 'NODE_EXTRA_CA_CERTS', 'HTTP_PROXY', 'HTTPS_PROXY', 'NO_PROXY', 'http_proxy', 'https_proxy', 'no_proxy',\n 'GH_TOKEN', 'GITHUB_TOKEN', 'GH_HOST', 'GH_ENTERPRISE_TOKEN', 'GH_CONFIG_DIR',\n 'WILDO_HOME', 'WILDO_CODING_AGENT',\n 'CLAUDE_CONFIG_DIR', 'CODEX_HOME',\n] as const;\n\nfunction cliEnvironment(): NodeJS.ProcessEnv {\n const env: NodeJS.ProcessEnv = {};\n for (const key of CLI_INHERITED_ENV_KEYS) {\n const value = process.env[key];\n if (value !== undefined) env[key] = value;\n }\n return env;\n}\n\n/** The CLI's own sentence for a failure: its `{\"error\": …}` answer, else the last line it printed. */\nexport function describeSecretsCliFailure(error: unknown): string {\n if (error instanceof BoundedSubprocessError) {\n /*\n * The refusal's own sentence, from the `{\"error\": …}` line a `--json` run prints on stdout. The text\n * fallback below reads the LAST stderr line, which is the CLI's generic \"secrets set failed\" summary;\n * it stays only for a run that died before it could answer (a crash, a timeout).\n */\n const answered = String(error.details.stdout ?? '').split('\\n').map((line) => line.trim()).filter((line) => line.startsWith('{')).at(-1);\n if (answered !== undefined) {\n try {\n const { error: sentence } = JSON.parse(answered) as { error?: unknown };\n if (typeof sentence === 'string' && sentence.length > 0) return sentence;\n } catch {\n // Not the refusal document; fall through to the text.\n }\n }\n const output = `${String(error.details.stderr ?? '')}\\n${String(error.details.stdout ?? '')}`;\n const lines = output.split('\\n').map((line) => line.replace(/\\u001b\\[[0-9;]*m/g, '').trim()).filter((line) => line.length > 0);\n return lines.at(-1)?.replace(/^✖\\s*/, '') ?? error.message;\n }\n return describeCaughtError(error);\n}\n\n/**\n * The JSON document a `--json` run printed: its LAST line that is one. The CLI prints its answer as\n * one line precisely so it can be found among anything else a run writes to stdout (a notice, a warning).\n */\nexport function parseSecretsCliJson<T>(stdout: string): T {\n const line = stdout.split('\\n').map((candidate) => candidate.trim()).filter((candidate) => candidate.startsWith('{')).at(-1);\n if (line === undefined) throw new Error('`wildo secrets` printed no JSON answer.');\n return JSON.parse(line) as T;\n}\n\n/** Every (environment, secret) row, plus the environments that could not be read, or were read only in part. */\nexport async function readApplicationSecrets(saasRoot: string): Promise<{\n rows: Record<string, unknown>[];\n unreadable: UnreadableSecretsEnvironment[];\n incomplete: IncompleteSecretsEnvironment[];\n}> {\n const result = await executeBoundedSubprocess({\n command: 'wildo',\n args: ['secrets', 'list', '--all', '--json'],\n cwd: saasRoot,\n env: cliEnvironment(),\n timeoutMs: LIST_TIMEOUT_MS,\n });\n const listing = parseSecretsCliJson<SecretsListing>(result.stdout);\n const rows: Record<string, unknown>[] = [];\n const unreadable: UnreadableSecretsEnvironment[] = [];\n const incomplete: IncompleteSecretsEnvironment[] = [];\n for (const environment of listing.environments) {\n if (environment.error) unreadable.push({ envName: environment.envName, error: environment.error });\n if ((environment.incomplete ?? []).length > 0) incomplete.push({ envName: environment.envName, incomplete: environment.incomplete! });\n rows.push(...toWorkbenchSecretRows(environment));\n }\n return { rows, unreadable, incomplete };\n}\n\n/**\n * Provide one secret's value — on the child's stdin, never in its arguments. `kind` names the `secrets.json`\n * section, because a name alone can be in two (a key left in the wrong one by a migration).\n */\nexport async function setApplicationSecret(saasRoot: string, envName: string, kind: ApplicationSecretKind, envVarName: string, value: string): Promise<ApplicationSecretChange> {\n const result = await executeBoundedSubprocess({\n command: 'wildo',\n // `--skip-companion-restart`: this process serves the request; it applies the change itself instead.\n args: ['secrets', 'set', envVarName, '--env', envName, '--kind', kind, '--value-stdin', '--skip-companion-restart', '--json'],\n cwd: saasRoot,\n env: cliEnvironment(),\n stdinPayload: value,\n timeoutMs: CHANGE_TIMEOUT_MS,\n });\n return toApplicationSecretChange(result.stdout);\n}\n\n/** Remove one secret from one environment, in the section `kind` names. */\nexport async function unsetApplicationSecret(saasRoot: string, envName: string, kind: ApplicationSecretKind, envVarName: string): Promise<ApplicationSecretChange> {\n const result = await executeBoundedSubprocess({\n command: 'wildo',\n args: ['secrets', 'unset', envVarName, '--env', envName, '--kind', kind, '--skip-companion-restart', '--json'],\n cwd: saasRoot,\n env: cliEnvironment(),\n timeoutMs: CHANGE_TIMEOUT_MS,\n });\n return toApplicationSecretChange(result.stdout);\n}\n"]}
|
|
1
|
+
{"version":3,"file":"application-secrets.companion.js","sourceRoot":"","sources":["../../../../../../src/core/introspection/resources/application-secrets.companion.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACnH,OAAO,EACL,sBAAsB,GAKvB,MAAM,gCAAgC,CAAC;AAExC;;;;;;GAMG;AACH,MAAM,eAAe,GAAG,OAAO,CAAC;AAChC,MAAM,iBAAiB,GAAG,OAAO,CAAC;AAmClC,0GAA0G;AAC1G,SAAS,qBAAqB,CAAC,WAAsC;IACnE,OAAO,WAAW,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC;QACpD,4BAA4B,EAAE,sBAAsB,CAAC,WAAW,CAAC,OAAO,EAAE,WAAW,CAAC,IAAI,EAAE,WAAW,CAAC,UAAU,CAAC;QACnH,eAAe,EAAE,WAAW,CAAC,OAAO;QACpC,UAAU,EAAE,WAAW,CAAC,UAAU;QAClC,QAAQ,EAAE,WAAW,CAAC,QAAQ;QAC9B,IAAI,EAAE,WAAW,CAAC,IAAI;QACtB,QAAQ,EAAE,WAAW,CAAC,QAAQ;QAC9B,WAAW,EAAE,WAAW,CAAC,WAAW;QACpC,YAAY,EAAE,CAAC,GAAG,WAAW,CAAC,YAAY,CAAC;QAC3C,QAAQ,EAAE,CAAC,GAAG,WAAW,CAAC,QAAQ,CAAC;QACnC,iBAAiB,EAAE,WAAW,CAAC,iBAAiB;QAChD,WAAW,EAAE,WAAW,CAAC,WAAW,IAAI,IAAI;KAC7C,CAAC,CAAC,CAAC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ACrB,SAAS,EAAE,iBAAiB;KAC7B,CAAC,CAAC;IACH,OAAO,yBAAyB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AAClD,CAAC","sourcesContent":["/**\n * The workbench's secrets section, served by running `wildo secrets` (#1637).\n *\n * The companion never reads or writes a secret itself. `wildo secrets` is the one writer — it owns\n * `secrets.json`'s schema and its single writer, the env-file regeneration, the restart of the\n * runtimes that read a key, and the GitHub secrets of a remote environment — so the section goes\n * through it, and a secret has one mutation path whether a person types it in a terminal or here.\n * The companion's generic file routes refuse secret-bearing paths for the same reason\n * (`companion-file-route-confinement.ts`).\n *\n * Values travel ONE way, on the child's stdin, and are never held, logged or returned: the listing\n * carries names and standings only.\n */\nimport { BoundedSubprocessError, describeCaughtError, executeBoundedSubprocess } from '@wildo-ai/saas-backend-lib';\nimport {\n applicationSecretRowId,\n type ApplicationSecretKind,\n type ApplicationSecretRemoteLevel,\n type ApplicationSecretStanding,\n type Workbench_ApplicationSecretChangeOutcome,\n} from '@wildo-ai/platform-core-shared';\n\n/**\n * Listing loads the application once and asks GitHub per remote environment: 86 s was measured for one\n * environment on a loaded machine (2026-09-26), against a 120 s bound that a second environment or a busier\n * hour would pass. Re-measured 2026-09-27 with the system-of-record facets and the built backend's inbound\n * endpoints also read: 74 s wall, 19.5 s CPU, for `local`. Only the first read waits on it (the board refreshes behind the rows it serves), so the\n * bound is about not abandoning a slow listing, not about a person waiting.\n */\nconst LIST_TIMEOUT_MS = 300_000;\nconst CHANGE_TIMEOUT_MS = 300_000;\n\n/** What `wildo secrets list --all --json` prints (`commands/secrets/list.command.ts`). */\ninterface SecretsListingEnvironment {\n readonly envName: string;\n readonly error?: string | null;\n /** What the listing could not derive (a backend not built, a facet unreadable), each saying why. */\n readonly incomplete?: readonly string[];\n readonly requirements: ReadonlyArray<{\n readonly envVarName: string;\n readonly kind: ApplicationSecretKind;\n readonly ownerRef: string | null;\n readonly description: string | null;\n readonly capabilities: readonly string[];\n readonly runtimes: readonly string[];\n readonly standing: ApplicationSecretStanding;\n readonly creationEssential: boolean;\n readonly remoteLevel?: ApplicationSecretRemoteLevel;\n }>;\n}\n\ninterface SecretsListing {\n readonly environments: ReadonlyArray<SecretsListingEnvironment>;\n}\n\n/**\n * What a set/unset answered: the outcome the page is shown, and the environment's rows after the change\n * (#1782). `environmentRows` is `null` when the CLI did not report them, and the caller then drops its\n * listing instead of patching it.\n */\nexport interface ApplicationSecretChange {\n readonly outcome: Workbench_ApplicationSecretChangeOutcome;\n readonly environmentRows: Record<string, unknown>[] | null;\n}\n\n/** One environment's requirements as workbench rows — the ONE mapping a listing and a change both use. */\nfunction toWorkbenchSecretRows(environment: SecretsListingEnvironment): Record<string, unknown>[] {\n return environment.requirements.map((requirement) => ({\n workbenchApplicationSecretId: applicationSecretRowId(environment.envName, requirement.kind, requirement.envVarName),\n environmentName: environment.envName,\n envVarName: requirement.envVarName,\n standing: requirement.standing,\n kind: requirement.kind,\n ownerRef: requirement.ownerRef,\n description: requirement.description,\n capabilities: [...requirement.capabilities],\n runtimes: [...requirement.runtimes],\n creationEssential: requirement.creationEssential,\n remoteLevel: requirement.remoteLevel ?? null,\n }));\n}\n\n/** Split the CLI's change answer: the report rides beside the outcome and never reaches the page. */\nfunction toApplicationSecretChange(stdout: string): ApplicationSecretChange {\n const { environmentAfterChange, ...outcome } = parseSecretsCliJson<Workbench_ApplicationSecretChangeOutcome & { environmentAfterChange?: SecretsListingEnvironment }>(stdout);\n return { outcome, environmentRows: environmentAfterChange ? toWorkbenchSecretRows(environmentAfterChange) : null };\n}\n\n/** One environment the listing could not read, named so the section can say so rather than show nothing. */\nexport interface UnreadableSecretsEnvironment {\n readonly envName: string;\n readonly error: string;\n}\n\n/** One environment listed only in part, with what was left out and why. */\nexport interface IncompleteSecretsEnvironment {\n readonly envName: string;\n readonly incomplete: readonly string[];\n}\n\n/**\n * What the CLI child inherits from the companion's environment — named, never the whole of it, which\n * carries platform secrets a child must not receive. Everything else is what a terminal would give the\n * same command: identity and locale; temp dirs; the proxy and certificate variables a networked `gh`\n * needs; `gh`'s own token and host variables (a remote environment's secrets are written through it);\n * the Wildo selection variables; and the coding agents' config pointers, because `wildo secrets list`\n * reports the selected agent's login and must read it where the agent does.\n */\nconst CLI_INHERITED_ENV_KEYS = [\n 'PATH', 'HOME', 'USER', 'LOGNAME', 'SHELL', 'TERM', 'LANG', 'LC_ALL', 'LC_CTYPE', 'TMPDIR', 'TMP', 'TEMP',\n 'XDG_CONFIG_HOME', 'XDG_CACHE_HOME', 'XDG_STATE_HOME', 'XDG_RUNTIME_DIR',\n 'SSL_CERT_FILE', 'SSL_CERT_DIR', 'NODE_EXTRA_CA_CERTS', 'HTTP_PROXY', 'HTTPS_PROXY', 'NO_PROXY', 'http_proxy', 'https_proxy', 'no_proxy',\n 'GH_TOKEN', 'GITHUB_TOKEN', 'GH_HOST', 'GH_ENTERPRISE_TOKEN', 'GH_CONFIG_DIR',\n 'WILDO_HOME', 'WILDO_CODING_AGENT',\n 'CLAUDE_CONFIG_DIR', 'CODEX_HOME',\n] as const;\n\nfunction cliEnvironment(): NodeJS.ProcessEnv {\n const env: NodeJS.ProcessEnv = {};\n for (const key of CLI_INHERITED_ENV_KEYS) {\n const value = process.env[key];\n if (value !== undefined) env[key] = value;\n }\n return env;\n}\n\n/** The CLI's own sentence for a failure: its `{\"error\": …}` answer, else the last line it printed. */\nexport function describeSecretsCliFailure(error: unknown): string {\n if (error instanceof BoundedSubprocessError) {\n /*\n * The refusal's own sentence, from the `{\"error\": …}` line a `--json` run prints on stdout. The text\n * fallback below reads the LAST stderr line, which is the CLI's generic \"secrets set failed\" summary;\n * it stays only for a run that died before it could answer (a crash, a timeout).\n */\n const answered = String(error.details.stdout ?? '').split('\\n').map((line) => line.trim()).filter((line) => line.startsWith('{')).at(-1);\n if (answered !== undefined) {\n try {\n const { error: sentence } = JSON.parse(answered) as { error?: unknown };\n if (typeof sentence === 'string' && sentence.length > 0) return sentence;\n } catch {\n // Not the refusal document; fall through to the text.\n }\n }\n const output = `${String(error.details.stderr ?? '')}\\n${String(error.details.stdout ?? '')}`;\n const lines = output.split('\\n').map((line) => line.replace(/\\u001b\\[[0-9;]*m/g, '').trim()).filter((line) => line.length > 0);\n return lines.at(-1)?.replace(/^✖\\s*/, '') ?? error.message;\n }\n return describeCaughtError(error);\n}\n\n/**\n * The JSON document a `--json` run printed: its LAST line that is one. The CLI prints its answer as\n * one line precisely so it can be found among anything else a run writes to stdout (a notice, a warning).\n */\nexport function parseSecretsCliJson<T>(stdout: string): T {\n const line = stdout.split('\\n').map((candidate) => candidate.trim()).filter((candidate) => candidate.startsWith('{')).at(-1);\n if (line === undefined) throw new Error('`wildo secrets` printed no JSON answer.');\n return JSON.parse(line) as T;\n}\n\n/** Every (environment, secret) row, plus the environments that could not be read, or were read only in part. */\nexport async function readApplicationSecrets(saasRoot: string): Promise<{\n rows: Record<string, unknown>[];\n unreadable: UnreadableSecretsEnvironment[];\n incomplete: IncompleteSecretsEnvironment[];\n}> {\n const result = await executeBoundedSubprocess({\n command: 'wildo',\n args: ['secrets', 'list', '--all', '--json'],\n cwd: saasRoot,\n env: cliEnvironment(),\n timeoutMs: LIST_TIMEOUT_MS,\n });\n const listing = parseSecretsCliJson<SecretsListing>(result.stdout);\n const rows: Record<string, unknown>[] = [];\n const unreadable: UnreadableSecretsEnvironment[] = [];\n const incomplete: IncompleteSecretsEnvironment[] = [];\n for (const environment of listing.environments) {\n if (environment.error) unreadable.push({ envName: environment.envName, error: environment.error });\n if ((environment.incomplete ?? []).length > 0) incomplete.push({ envName: environment.envName, incomplete: environment.incomplete! });\n rows.push(...toWorkbenchSecretRows(environment));\n }\n return { rows, unreadable, incomplete };\n}\n\n/**\n * Provide one secret's value — on the child's stdin, never in its arguments. `kind` names the `secrets.json`\n * section, because a name alone can be in two (a key left in the wrong one by a migration).\n */\nexport async function setApplicationSecret(saasRoot: string, envName: string, kind: ApplicationSecretKind, envVarName: string, value: string): Promise<ApplicationSecretChange> {\n const result = await executeBoundedSubprocess({\n command: 'wildo',\n // `--skip-companion-restart`: this process serves the request; it applies the change itself instead.\n args: ['secrets', 'set', envVarName, '--env', envName, '--kind', kind, '--value-stdin', '--skip-companion-restart', '--json'],\n cwd: saasRoot,\n env: cliEnvironment(),\n stdinPayload: value,\n timeoutMs: CHANGE_TIMEOUT_MS,\n });\n return toApplicationSecretChange(result.stdout);\n}\n\n/** Remove one secret from one environment, in the section `kind` names. */\nexport async function unsetApplicationSecret(saasRoot: string, envName: string, kind: ApplicationSecretKind, envVarName: string): Promise<ApplicationSecretChange> {\n const result = await executeBoundedSubprocess({\n command: 'wildo',\n args: ['secrets', 'unset', envVarName, '--env', envName, '--kind', kind, '--skip-companion-restart', '--json'],\n cwd: saasRoot,\n env: cliEnvironment(),\n timeoutMs: CHANGE_TIMEOUT_MS,\n });\n return toApplicationSecretChange(result.stdout);\n}\n"]}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { CreationConsoleQuestionKind, WorkbenchCreationPlaneBehavior, type CreationConsole_AnswerOutcome, type CreationConsole_AnswerRequest, type CreationConsole_Question } from '@wildo-ai/platform-core-shared';
|
|
2
|
+
import { type InterviewQuestionDisposition } from './creation-console-projection.companion';
|
|
3
|
+
import { ApplicationCreatorInputAnswerStanding } from '@wildo-ai/saas-specifications/application-creation';
|
|
2
4
|
import { MetaWorkflow_ClarificationAction } from '@wildo-ai/saas-models/meta-workflows';
|
|
3
5
|
/**
|
|
4
6
|
* The CREATION CONSOLE's answer door — one entry for every question the companion asks, routed to the
|
|
@@ -55,10 +57,17 @@ export interface CreationConsolePorts {
|
|
|
55
57
|
}>;
|
|
56
58
|
readonly recordInterviewAnswer: (input: {
|
|
57
59
|
readonly playbookRef: string;
|
|
60
|
+
/** The opened INSTANCE the question is asked for (#1609); absent for the step itself. */
|
|
61
|
+
readonly instanceKey?: string;
|
|
58
62
|
readonly questionRef: string;
|
|
59
63
|
readonly value: string;
|
|
60
64
|
readonly answeredByRef: string;
|
|
65
|
+
/** ASSUMED when the person let a proposed answer stand (#2129). */
|
|
66
|
+
readonly standing?: ApplicationCreatorInputAnswerStanding;
|
|
67
|
+
readonly assumptionRationale?: string;
|
|
61
68
|
}) => Promise<unknown>;
|
|
69
|
+
/** Each interview question's depth and whether it may be proposed (#2129), for the queue to carry. */
|
|
70
|
+
readonly readInterviewDispositions?: () => Promise<ReadonlyMap<string, InterviewQuestionDisposition>>;
|
|
62
71
|
/** The boards move after an answer; the next read must not answer "as of before". */
|
|
63
72
|
readonly invalidate: () => void;
|
|
64
73
|
}
|
|
@@ -66,7 +75,12 @@ export interface CreationConsolePorts {
|
|
|
66
75
|
* The question queue, derived from the rows of the kinds asked for (every kind by default). Deriving
|
|
67
76
|
* only what an answer needs keeps the answer door from paying for boards it never reads.
|
|
68
77
|
*/
|
|
69
|
-
export declare function readCreationConsoleQuestions(ports: Pick<CreationConsolePorts, 'deriveRows'>, kinds?: readonly CreationConsoleQuestionKind[]): Promise<CreationConsole_Question[]>;
|
|
78
|
+
export declare function readCreationConsoleQuestions(ports: Pick<CreationConsolePorts, 'deriveRows' | 'readInterviewDispositions'>, kinds?: readonly CreationConsoleQuestionKind[]): Promise<CreationConsole_Question[]>;
|
|
79
|
+
/**
|
|
80
|
+
* The interview answers that are ASSUMPTIONS (#2129), listed apart from the queue so nothing reads them as
|
|
81
|
+
* waiting. The answer door finds an item here too, so answering one records the person's own answer.
|
|
82
|
+
*/
|
|
83
|
+
export declare function readCreationConsoleAssumptions(ports: Pick<CreationConsolePorts, 'deriveRows' | 'readInterviewDispositions'>): Promise<CreationConsole_Question[]>;
|
|
70
84
|
/**
|
|
71
85
|
* Apply one answer. Refusals the services raise (a validation of the answer's content, a run that
|
|
72
86
|
* moved between this read and theirs) propagate UNTOUCHED, for the caller to translate the way it
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"creation-console-answer.companion.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"creation-console-answer.companion.d.ts","sourceRoot":"","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;;;GAGG;AACH,wBAAsB,8BAA8B,CAAC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,YAAY,GAAG,2BAA2B,CAAC,GAAG,OAAO,CAAC,wBAAwB,EAAE,CAAC,CAIvK;AA2ED;;;;GAIG;AACH,wBAAsB,6BAA6B,CACjD,KAAK,EAAE,oBAAoB,EAC3B,OAAO,EAAE,6BAA6B,GACrC,OAAO,CAAC,6BAA6B,CAAC,CAoFxC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CreationConsoleAnswerAction, CreationConsoleQuestionKind, WorkbenchCreationPlaneBehavior, parseCreationConsoleQuestionId, } from '@wildo-ai/platform-core-shared';
|
|
2
|
-
import { buildCreationConsoleQuestions } from './creation-console-projection.companion.js';
|
|
2
|
+
import { buildCreationConsoleAssumptions, buildCreationConsoleQuestions } from './creation-console-projection.companion.js';
|
|
3
|
+
import { ApplicationCreatorInputAnswerStanding } from '@wildo-ai/saas-specifications/application-creation';
|
|
3
4
|
import { MetaWorkflow_ClarificationAction } from '@wildo-ai/saas-models/meta-workflows';
|
|
4
5
|
/**
|
|
5
6
|
* The CREATION CONSOLE's answer door — one entry for every question the companion asks, routed to the
|
|
@@ -60,7 +61,17 @@ export async function readCreationConsoleQuestions(ports, kinds = Object.values(
|
|
|
60
61
|
rowsOf(CreationConsoleQuestionKind.INTERVIEW),
|
|
61
62
|
rowsOf(CreationConsoleQuestionKind.GOVERNANCE_FACT),
|
|
62
63
|
]);
|
|
63
|
-
|
|
64
|
+
const interviewDispositions = kinds.includes(CreationConsoleQuestionKind.INTERVIEW) ? await ports.readInterviewDispositions?.() : undefined;
|
|
65
|
+
return buildCreationConsoleQuestions({ waiting, parked, dossier, governance, ...(interviewDispositions ? { interviewDispositions } : {}) });
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* The interview answers that are ASSUMPTIONS (#2129), listed apart from the queue so nothing reads them as
|
|
69
|
+
* waiting. The answer door finds an item here too, so answering one records the person's own answer.
|
|
70
|
+
*/
|
|
71
|
+
export async function readCreationConsoleAssumptions(ports) {
|
|
72
|
+
const dossier = (await ports.deriveRows(WorkbenchCreationPlaneBehavior.DOSSIER_ENTRIES));
|
|
73
|
+
const interviewDispositions = await ports.readInterviewDispositions?.();
|
|
74
|
+
return buildCreationConsoleAssumptions({ dossier, ...(interviewDispositions ? { interviewDispositions } : {}) });
|
|
64
75
|
}
|
|
65
76
|
function refuse(kind, message) {
|
|
66
77
|
throw new CreationConsoleRefusal(kind, message);
|
|
@@ -109,6 +120,21 @@ function admit(question, request) {
|
|
|
109
120
|
if (new Set(answers.map((answer) => answer.ref)).size !== answers.length) {
|
|
110
121
|
refuse(CreationConsoleRefusalKind.MALFORMED, 'Each question is answered once per request.');
|
|
111
122
|
}
|
|
123
|
+
/*
|
|
124
|
+
* An ASSUMED answer (#2129) exists only in the dossier: a run's clarification has `decline` for "decide it
|
|
125
|
+
* yourself", and a parked coding question is the agent's own. Elsewhere it is refused rather than dropped,
|
|
126
|
+
* because dropping it would record a proposal as the person's decision.
|
|
127
|
+
*/
|
|
128
|
+
for (const answer of answers) {
|
|
129
|
+
if (answer.standing === undefined && answer.assumptionRationale === undefined)
|
|
130
|
+
continue;
|
|
131
|
+
if (question.kind !== CreationConsoleQuestionKind.INTERVIEW) {
|
|
132
|
+
refuse(CreationConsoleRefusalKind.MALFORMED, `Only an interview answer can be recorded as an assumption; "${question.questionId}" is a ${question.kind}.`);
|
|
133
|
+
}
|
|
134
|
+
if (answer.standing !== undefined && !Object.values(ApplicationCreatorInputAnswerStanding).includes(answer.standing)) {
|
|
135
|
+
refuse(CreationConsoleRefusalKind.MALFORMED, `"${answer.standing}" is not a standing; send one of ${Object.values(ApplicationCreatorInputAnswerStanding).join(', ')}.`);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
112
138
|
}
|
|
113
139
|
const CLARIFICATION_ACTION_BY_CONSOLE_ACTION = {
|
|
114
140
|
[CreationConsoleAnswerAction.ANSWER]: MetaWorkflow_ClarificationAction.ACCEPT,
|
|
@@ -127,7 +153,11 @@ export async function answerCreationConsoleQuestion(ports, request) {
|
|
|
127
153
|
+ `the kinds are ${Object.values(CreationConsoleQuestionKind).join(', ')}.`);
|
|
128
154
|
}
|
|
129
155
|
const question = (await readCreationConsoleQuestions(ports, [parsed.kind]))
|
|
130
|
-
.find((candidate) => candidate.questionId === request.questionId)
|
|
156
|
+
.find((candidate) => candidate.questionId === request.questionId)
|
|
157
|
+
/* An assumption is not waiting, but it is answerable: revisiting it records the person's own answer (#2129). */
|
|
158
|
+
?? (parsed.kind === CreationConsoleQuestionKind.INTERVIEW
|
|
159
|
+
? (await readCreationConsoleAssumptions(ports)).find((candidate) => candidate.questionId === request.questionId)
|
|
160
|
+
: undefined);
|
|
131
161
|
if (!question) {
|
|
132
162
|
refuse(CreationConsoleRefusalKind.NOT_WAITING, `Nothing waits under "${request.questionId}" now — it was answered, cancelled or finished meanwhile. Read the queue again.`);
|
|
133
163
|
}
|
|
@@ -178,11 +208,16 @@ export async function answerCreationConsoleQuestion(ports, request) {
|
|
|
178
208
|
if (!answeredByRef) {
|
|
179
209
|
refuse(CreationConsoleRefusalKind.MALFORMED, 'An interview answer records who gave it: send `answeredByRef` (`wildo` sends your git identity; an agent answering on its own sends its own ref).');
|
|
180
210
|
}
|
|
211
|
+
const standing = answers[0].standing;
|
|
181
212
|
return settle(await ports.recordInterviewAnswer({
|
|
182
213
|
playbookRef: String(question.playbookRef),
|
|
214
|
+
/* The instance the question is asked for: without it an instance's answer landed on the step itself. */
|
|
215
|
+
...(question.instanceKey !== null ? { instanceKey: question.instanceKey } : {}),
|
|
183
216
|
questionRef: answers[0].ref,
|
|
184
217
|
value: answers[0].value,
|
|
185
218
|
answeredByRef,
|
|
219
|
+
...(standing !== undefined ? { standing } : {}),
|
|
220
|
+
...(answers[0].assumptionRationale !== undefined ? { assumptionRationale: answers[0].assumptionRationale } : {}),
|
|
186
221
|
}));
|
|
187
222
|
}
|
|
188
223
|
case CreationConsoleQuestionKind.GOVERNANCE_FACT:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"creation-console-answer.companion.js","sourceRoot":"","sources":["../../../../../src/core/introspection/resources/creation-console-answer.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,8BAA8B,EAC9B,8BAA8B,GAQ/B,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAC;AACxF,OAAO,EAAE,gCAAgC,EAAE,MAAM,sCAAsC,CAAC;AAExF;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,mGAAmG;AACnG,MAAM,CAAN,IAAY,0BAOX;AAPD,WAAY,0BAA0B;IACpC,sDAAsD;IACtD,qDAAuB,CAAA;IACvB,wFAAwF;IACxF,yDAA2B,CAAA;IAC3B,6EAA6E;IAC7E,uDAAyB,CAAA;AAC3B,CAAC,EAPW,0BAA0B,KAA1B,0BAA0B,QAOrC;AAED,MAAM,OAAO,sBAAuB,SAAQ,KAAK;IACZ;IAAnC,YAAmC,OAAmC,EAAE,OAAe;QACrF,KAAK,CAAC,OAAO,CAAC,CAAC;QADkB,YAAO,GAAP,OAAO,CAA4B;QAEpE,IAAI,CAAC,IAAI,GAAG,wBAAwB,CAAC;IACvC,CAAC;CACF;AAwBD,8GAA8G;AAC9G,MAAM,uBAAuB,GAAkF;IAC7G,CAAC,2BAA2B,CAAC,aAAa,CAAC,EAAE,8BAA8B,CAAC,qBAAqB;IACjG,CAAC,2BAA2B,CAAC,sBAAsB,CAAC,EAAE,8BAA8B,CAAC,uBAAuB;IAC5G,CAAC,2BAA2B,CAAC,SAAS,CAAC,EAAE,8BAA8B,CAAC,eAAe;IACvF,CAAC,2BAA2B,CAAC,eAAe,CAAC,EAAE,8BAA8B,CAAC,oBAAoB;CACnG,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,4BAA4B,CAChD,KAA+C,EAC/C,Q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BACzC,WAAW,EAAE,OAAO,CAAC,CAAC,CAAE,CAAC,GAAG;oBAC5B,KAAK,EAAE,OAAO,CAAC,CAAC,CAAE,CAAC,KAAK;oBACxB,aAAa;iBACd,CAAC,CAAC,CAAC;YACN,CAAC;YACD,KAAK,2BAA2B,CAAC,eAAe;gBAC9C,6EAA6E;gBAC7E,OAAO,MAAM,CAAC,0BAA0B,CAAC,SAAS,EAAE,IAAI,QAAQ,CAAC,UAAU,wCAAwC,CAAC,CAAC;QACzH,CAAC;IACH,CAAC;YAAS,CAAC;QACT,KAAK,CAAC,UAAU,EAAE,CAAC;IACrB,CAAC;AACH,CAAC","sourcesContent":["import {\n CreationConsoleAnswerAction,\n CreationConsoleQuestionKind,\n WorkbenchCreationPlaneBehavior,\n parseCreationConsoleQuestionId,\n type CreationConsole_AnswerOutcome,\n type CreationConsole_AnswerRequest,\n type CreationConsole_Question,\n type Workbench_DossierEntry,\n type Workbench_GovernanceQuestion,\n type Workbench_ParkedCodingQuestion,\n type Workbench_WaitingPlaybookRun,\n} from '@wildo-ai/platform-core-shared';\n\nimport { buildCreationConsoleQuestions } from './creation-console-projection.companion';\nimport { MetaWorkflow_ClarificationAction } from '@wildo-ai/saas-models/meta-workflows';\n\n/**\n * The CREATION CONSOLE's answer door — one entry for every question the companion asks, routed to the\n * SAME service the matching workbench operation calls:\n *\n * | kind | service | workbench operation it mirrors |\n * |---|---|---|\n * | clarification | `PlaybookRunCompanionService.resumePlaybookRun` | `workbenchPlaybooks.resume_run` |\n * | parked coding question | `CodingAgentDispatchCompanionService.respondToApplicationCodingTaskQuestion` / `cancelApplicationCodingTask` | `workbenchParkedCodingQuestions.answer` / `.cancel` |\n * | interview | `DossierCompanionService.recordAnswer` | `workbenchDossierEntries.answer` |\n *\n * The services are reached through PORTS so this module is a pure function of its inputs and can be\n * pinned without a container; the controller binds them.\n *\n * ## The item is resolved FRESH, and its revision must match\n *\n * The request names a question by the id the console read, and carries the REVISION it read (a\n * clarification's round, a parked run's suspension ref). The queue is re-derived here and the item\n * found by id; a revision that moved is refused as SUPERSEDED rather than applied — the hazard #1581\n * and #1584 closed on the workbench's doors, where an answer typed for one question landed on the\n * next one the run asked under the same id. The services check it again; this refusal is the one\n * that names the console's own terms.\n */\n\n/** Why an answer was refused before any service was reached — each maps to its own HTTP status. */\nexport enum CreationConsoleRefusalKind {\n /** The request cannot be applied as written — 400. */\n MALFORMED = 'malformed',\n /** Nothing waits under that id now: answered, cancelled or finished meanwhile — 409. */\n NOT_WAITING = 'not-waiting',\n /** The question waiting under that id is not the one that was read — 409. */\n SUPERSEDED = 'superseded',\n}\n\nexport class CreationConsoleRefusal extends Error {\n public constructor(public readonly refusal: CreationConsoleRefusalKind, message: string) {\n super(message);\n this.name = 'CreationConsoleRefusal';\n }\n}\n\nexport interface CreationConsolePorts {\n /** The creation plane's rows for one behavior, as the projection serves them. */\n readonly deriveRows: (behavior: WorkbenchCreationPlaneBehavior) => Promise<readonly Record<string, unknown>[]>;\n readonly resumePlaybookRun: (input: {\n readonly runId: string;\n readonly round: number;\n readonly action: MetaWorkflow_ClarificationAction;\n readonly answers?: readonly { readonly ref: string; readonly answer: string; readonly answeredByRef?: string }[];\n readonly answeredByRef?: string;\n }) => Promise<unknown>;\n readonly respondToParkedQuestion: (taskId: string, answer: string, suspensionRef: string, answeredByRef?: string) => Promise<unknown>;\n readonly cancelCodingRun: (taskId: string) => Promise<{ readonly cancelled: boolean }>;\n readonly recordInterviewAnswer: (input: {\n readonly playbookRef: string;\n readonly questionRef: string;\n readonly value: string;\n readonly answeredByRef: string;\n }) => Promise<unknown>;\n /** The boards move after an answer; the next read must not answer \"as of before\". */\n readonly invalidate: () => void;\n}\n\n/** The behavior each question kind is derived from — TOTAL, so a new kind is a compile error until placed. */\nconst SOURCE_BEHAVIOR_BY_KIND: Readonly<Record<CreationConsoleQuestionKind, WorkbenchCreationPlaneBehavior>> = {\n [CreationConsoleQuestionKind.CLARIFICATION]: WorkbenchCreationPlaneBehavior.WAITING_PLAYBOOK_RUNS,\n [CreationConsoleQuestionKind.PARKED_CODING_QUESTION]: WorkbenchCreationPlaneBehavior.PARKED_CODING_QUESTIONS,\n [CreationConsoleQuestionKind.INTERVIEW]: WorkbenchCreationPlaneBehavior.DOSSIER_ENTRIES,\n [CreationConsoleQuestionKind.GOVERNANCE_FACT]: WorkbenchCreationPlaneBehavior.GOVERNANCE_QUESTIONS,\n};\n\n/**\n * The question queue, derived from the rows of the kinds asked for (every kind by default). Deriving\n * only what an answer needs keeps the answer door from paying for boards it never reads.\n */\nexport async function readCreationConsoleQuestions(\n ports: Pick<CreationConsolePorts, 'deriveRows'>,\n kinds: readonly CreationConsoleQuestionKind[] = Object.values(CreationConsoleQuestionKind),\n): Promise<CreationConsole_Question[]> {\n const rowsOf = async <Row>(kind: CreationConsoleQuestionKind): Promise<readonly Row[]> =>\n kinds.includes(kind) ? (await ports.deriveRows(SOURCE_BEHAVIOR_BY_KIND[kind])) as unknown as readonly Row[] : [];\n const [waiting, parked, dossier, governance] = await Promise.all([\n rowsOf<Workbench_WaitingPlaybookRun>(CreationConsoleQuestionKind.CLARIFICATION),\n rowsOf<Workbench_ParkedCodingQuestion>(CreationConsoleQuestionKind.PARKED_CODING_QUESTION),\n rowsOf<Workbench_DossierEntry>(CreationConsoleQuestionKind.INTERVIEW),\n rowsOf<Workbench_GovernanceQuestion>(CreationConsoleQuestionKind.GOVERNANCE_FACT),\n ]);\n return buildCreationConsoleQuestions({ waiting, parked, dossier, governance });\n}\n\nfunction refuse(kind: CreationConsoleRefusalKind, message: string): never {\n throw new CreationConsoleRefusal(kind, message);\n}\n\n/** Check the request against the item as it stands now, before any service is reached. */\nfunction admit(question: CreationConsole_Question, request: CreationConsole_AnswerRequest): void {\n if (question.actions.length === 0) {\n refuse(CreationConsoleRefusalKind.MALFORMED, question.kind === CreationConsoleQuestionKind.GOVERNANCE_FACT\n ? `\"${question.questionId}\" is a governed-document fact. Facts are landed as a whole-document sitting that also names the `\n + 'governance scope and who decided, which the console does not carry — answer it in the workbench\\'s governance panel.'\n : question.routedToUserId\n ? `\"${question.questionId}\" was asked of the person who started its run, and only they may answer it. `\n + 'The console carries no signed-in person — answer it in the workbench, signed in as them.'\n : `\"${question.questionId}\" cannot be answered from the console.`);\n }\n if (!question.actions.includes(request.action)) {\n refuse(CreationConsoleRefusalKind.MALFORMED, `\"${question.questionId}\" admits ${question.actions.join(', ')} — not ${request.action}.`);\n }\n if (question.revision !== null) {\n if (!request.revision) {\n refuse(CreationConsoleRefusalKind.MALFORMED,\n `\"${question.questionId}\" carries a revision (${question.revision}); send the one you read, so an answer never lands on a later question.`);\n }\n if (request.revision !== question.revision) {\n refuse(CreationConsoleRefusalKind.SUPERSEDED,\n `\"${question.questionId}\" has moved on: it now waits on revision ${question.revision}, and this answer was written for ${request.revision}. `\n + 'Read the queue again and answer what it asks now.');\n }\n }\n const answers = request.answers ?? [];\n /*\n * A DECLINE may carry the answers the person DID give (#1658) — \"these I answered, decide the rest\" —\n * so they are checked like an answer's. A CANCEL withdraws the run and carries none.\n */\n if (request.action === CreationConsoleAnswerAction.CANCEL) {\n if (answers.length > 0) refuse(CreationConsoleRefusalKind.MALFORMED, '`cancel` carries no answers; send `answer` to answer, or `decline` with the answers you did give.');\n return;\n }\n if (request.action === CreationConsoleAnswerAction.ANSWER && answers.length === 0) {\n refuse(CreationConsoleRefusalKind.MALFORMED, '`answer` needs at least one `{ ref, value }`.');\n }\n const known = new Set(question.fields.map((field) => field.ref));\n const unknown = answers.filter((answer) => !known.has(answer.ref)).map((answer) => answer.ref);\n if (unknown.length > 0) {\n refuse(CreationConsoleRefusalKind.MALFORMED,\n `\"${question.questionId}\" asks ${[...known].map((ref) => `\"${ref}\"`).join(', ')} — not ${unknown.map((ref) => `\"${ref}\"`).join(', ')}.`);\n }\n if (new Set(answers.map((answer) => answer.ref)).size !== answers.length) {\n refuse(CreationConsoleRefusalKind.MALFORMED, 'Each question is answered once per request.');\n }\n}\n\nconst CLARIFICATION_ACTION_BY_CONSOLE_ACTION: Readonly<Record<CreationConsoleAnswerAction, MetaWorkflow_ClarificationAction>> = {\n [CreationConsoleAnswerAction.ANSWER]: MetaWorkflow_ClarificationAction.ACCEPT,\n [CreationConsoleAnswerAction.DECLINE]: MetaWorkflow_ClarificationAction.DECLINE,\n [CreationConsoleAnswerAction.CANCEL]: MetaWorkflow_ClarificationAction.CANCEL,\n};\n\n/**\n * Apply one answer. Refusals the services raise (a validation of the answer's content, a run that\n * moved between this read and theirs) propagate UNTOUCHED, for the caller to translate the way it\n * translates them on every other door.\n */\nexport async function answerCreationConsoleQuestion(\n ports: CreationConsolePorts,\n request: CreationConsole_AnswerRequest,\n): Promise<CreationConsole_AnswerOutcome> {\n const parsed = parseCreationConsoleQuestionId(request.questionId);\n if (!parsed) {\n refuse(CreationConsoleRefusalKind.MALFORMED,\n `\"${request.questionId}\" is not a question id. Ids look like \"<kind>:<row>\", as \\`wildo creation questions\\` prints them; `\n + `the kinds are ${Object.values(CreationConsoleQuestionKind).join(', ')}.`);\n }\n const question = (await readCreationConsoleQuestions(ports, [parsed.kind]))\n .find((candidate) => candidate.questionId === request.questionId);\n if (!question) {\n refuse(CreationConsoleRefusalKind.NOT_WAITING,\n `Nothing waits under \"${request.questionId}\" now — it was answered, cancelled or finished meanwhile. Read the queue again.`);\n }\n admit(question, request);\n\n const answers = request.answers ?? [];\n const settle = (outcome: unknown): CreationConsole_AnswerOutcome => ({\n questionId: question.questionId,\n kind: question.kind,\n action: request.action,\n outcome,\n });\n\n try {\n switch (question.kind) {\n case CreationConsoleQuestionKind.CLARIFICATION: {\n const waiting = (await ports.deriveRows(WorkbenchCreationPlaneBehavior.WAITING_PLAYBOOK_RUNS) as unknown as readonly Workbench_WaitingPlaybookRun[])\n .find((row) => row.workbenchWaitingPlaybookRunId === parsed.rowId);\n if (!waiting) refuse(CreationConsoleRefusalKind.NOT_WAITING, `The run behind \"${request.questionId}\" stopped waiting meanwhile.`);\n return settle(await ports.resumePlaybookRun({\n runId: waiting.runId,\n round: Number(question.revision),\n action: CLARIFICATION_ACTION_BY_CONSOLE_ACTION[request.action],\n /* Each answer keeps its own author, so a round an agent and the person answered together records both (#1658). */\n ...(answers.length > 0\n ? { answers: answers.map((answer) => ({ ref: answer.ref, answer: answer.value, ...(answer.answeredByRef ? { answeredByRef: answer.answeredByRef } : {}) })) }\n : {}),\n /* Who answered reaches the committed DECISIONS.md, for every kind, not only the dossier (#1658). */\n ...(request.answeredByRef ? { answeredByRef: request.answeredByRef } : {}),\n }));\n }\n case CreationConsoleQuestionKind.PARKED_CODING_QUESTION: {\n const parked = (await ports.deriveRows(WorkbenchCreationPlaneBehavior.PARKED_CODING_QUESTIONS) as unknown as readonly Workbench_ParkedCodingQuestion[])\n .find((row) => row.workbenchParkedCodingQuestionId === parsed.rowId);\n if (!parked) refuse(CreationConsoleRefusalKind.NOT_WAITING, `The coding run behind \"${request.questionId}\" stopped waiting meanwhile.`);\n if (request.action === CreationConsoleAnswerAction.CANCEL) {\n const outcome = await ports.cancelCodingRun(parked.taskId);\n /* The row existed a moment ago: \"nothing to cancel\" means the run moved on, which is a refusal, never a success. */\n if (!outcome.cancelled) {\n refuse(CreationConsoleRefusalKind.NOT_WAITING, 'This coding run is no longer waiting: it was answered, cancelled or finished meanwhile.');\n }\n return settle(outcome);\n }\n return settle(await ports.respondToParkedQuestion(parked.taskId, answers[0]!.value, String(question.revision), answers[0]!.answeredByRef ?? request.answeredByRef));\n }\n case CreationConsoleQuestionKind.INTERVIEW: {\n const answeredByRef = answers[0]!.answeredByRef ?? request.answeredByRef;\n if (!answeredByRef) {\n refuse(CreationConsoleRefusalKind.MALFORMED,\n 'An interview answer records who gave it: send `answeredByRef` (`wildo` sends your git identity; an agent answering on its own sends its own ref).');\n }\n return settle(await ports.recordInterviewAnswer({\n playbookRef: String(question.playbookRef),\n questionRef: answers[0]!.ref,\n value: answers[0]!.value,\n answeredByRef,\n }));\n }\n case CreationConsoleQuestionKind.GOVERNANCE_FACT:\n /* `admit` refuses first — an item with no actions is never answered here. */\n return refuse(CreationConsoleRefusalKind.MALFORMED, `\"${question.questionId}\" cannot be answered from the console.`);\n }\n } finally {\n ports.invalidate();\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"creation-console-answer.companion.js","sourceRoot":"","sources":["../../../../../../src/core/introspection/resources/creation-console-answer.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,8BAA8B,EAC9B,8BAA8B,GAQ/B,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAAE,+BAA+B,EAAE,6BAA6B,EAAqC,MAAM,yCAAyC,CAAC;AAC5J,OAAO,EAAE,qCAAqC,EAAE,MAAM,oDAAoD,CAAC;AAC3G,OAAO,EAAE,gCAAgC,EAAE,MAAM,sCAAsC,CAAC;AAExF;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,mGAAmG;AACnG,MAAM,CAAN,IAAY,0BAOX;AAPD,WAAY,0BAA0B;IACpC,sDAAsD;IACtD,qDAAuB,CAAA;IACvB,wFAAwF;IACxF,yDAA2B,CAAA;IAC3B,6EAA6E;IAC7E,uDAAyB,CAAA;AAC3B,CAAC,EAPW,0BAA0B,KAA1B,0BAA0B,QAOrC;AAED,MAAM,OAAO,sBAAuB,SAAQ,KAAK;IACZ;IAAnC,YAAmC,OAAmC,EAAE,OAAe;QACrF,KAAK,CAAC,OAAO,CAAC,CAAC;QADkB,YAAO,GAAP,OAAO,CAA4B;QAEpE,IAAI,CAAC,IAAI,GAAG,wBAAwB,CAAC;IACvC,CAAC;CACF;AA+BD,8GAA8G;AAC9G,MAAM,uBAAuB,GAAkF;IAC7G,CAAC,2BAA2B,CAAC,aAAa,CAAC,EAAE,8BAA8B,CAAC,qBAAqB;IACjG,CAAC,2BAA2B,CAAC,sBAAsB,CAAC,EAAE,8BAA8B,CAAC,uBAAuB;IAC5G,CAAC,2BAA2B,CAAC,SAAS,CAAC,EAAE,8BAA8B,CAAC,eAAe;IACvF,CA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,eAAe;gBAC9C,6EAA6E;gBAC7E,OAAO,MAAM,CAAC,0BAA0B,CAAC,SAAS,EAAE,IAAI,QAAQ,CAAC,UAAU,wCAAwC,CAAC,CAAC;QACzH,CAAC;IACH,CAAC;YAAS,CAAC;QACT,KAAK,CAAC,UAAU,EAAE,CAAC;IACrB,CAAC;AACH,CAAC","sourcesContent":["import {\n CreationConsoleAnswerAction,\n CreationConsoleQuestionKind,\n WorkbenchCreationPlaneBehavior,\n parseCreationConsoleQuestionId,\n type CreationConsole_AnswerOutcome,\n type CreationConsole_AnswerRequest,\n type CreationConsole_Question,\n type Workbench_DossierEntry,\n type Workbench_GovernanceQuestion,\n type Workbench_ParkedCodingQuestion,\n type Workbench_WaitingPlaybookRun,\n} from '@wildo-ai/platform-core-shared';\n\nimport { buildCreationConsoleAssumptions, buildCreationConsoleQuestions, type InterviewQuestionDisposition } from './creation-console-projection.companion';\nimport { ApplicationCreatorInputAnswerStanding } from '@wildo-ai/saas-specifications/application-creation';\nimport { MetaWorkflow_ClarificationAction } from '@wildo-ai/saas-models/meta-workflows';\n\n/**\n * The CREATION CONSOLE's answer door — one entry for every question the companion asks, routed to the\n * SAME service the matching workbench operation calls:\n *\n * | kind | service | workbench operation it mirrors |\n * |---|---|---|\n * | clarification | `PlaybookRunCompanionService.resumePlaybookRun` | `workbenchPlaybooks.resume_run` |\n * | parked coding question | `CodingAgentDispatchCompanionService.respondToApplicationCodingTaskQuestion` / `cancelApplicationCodingTask` | `workbenchParkedCodingQuestions.answer` / `.cancel` |\n * | interview | `DossierCompanionService.recordAnswer` | `workbenchDossierEntries.answer` |\n *\n * The services are reached through PORTS so this module is a pure function of its inputs and can be\n * pinned without a container; the controller binds them.\n *\n * ## The item is resolved FRESH, and its revision must match\n *\n * The request names a question by the id the console read, and carries the REVISION it read (a\n * clarification's round, a parked run's suspension ref). The queue is re-derived here and the item\n * found by id; a revision that moved is refused as SUPERSEDED rather than applied — the hazard #1581\n * and #1584 closed on the workbench's doors, where an answer typed for one question landed on the\n * next one the run asked under the same id. The services check it again; this refusal is the one\n * that names the console's own terms.\n */\n\n/** Why an answer was refused before any service was reached — each maps to its own HTTP status. */\nexport enum CreationConsoleRefusalKind {\n /** The request cannot be applied as written — 400. */\n MALFORMED = 'malformed',\n /** Nothing waits under that id now: answered, cancelled or finished meanwhile — 409. */\n NOT_WAITING = 'not-waiting',\n /** The question waiting under that id is not the one that was read — 409. */\n SUPERSEDED = 'superseded',\n}\n\nexport class CreationConsoleRefusal extends Error {\n public constructor(public readonly refusal: CreationConsoleRefusalKind, message: string) {\n super(message);\n this.name = 'CreationConsoleRefusal';\n }\n}\n\nexport interface CreationConsolePorts {\n /** The creation plane's rows for one behavior, as the projection serves them. */\n readonly deriveRows: (behavior: WorkbenchCreationPlaneBehavior) => Promise<readonly Record<string, unknown>[]>;\n readonly resumePlaybookRun: (input: {\n readonly runId: string;\n readonly round: number;\n readonly action: MetaWorkflow_ClarificationAction;\n readonly answers?: readonly { readonly ref: string; readonly answer: string; readonly answeredByRef?: string }[];\n readonly answeredByRef?: string;\n }) => Promise<unknown>;\n readonly respondToParkedQuestion: (taskId: string, answer: string, suspensionRef: string, answeredByRef?: string) => Promise<unknown>;\n readonly cancelCodingRun: (taskId: string) => Promise<{ readonly cancelled: boolean }>;\n readonly recordInterviewAnswer: (input: {\n readonly playbookRef: string;\n /** The opened INSTANCE the question is asked for (#1609); absent for the step itself. */\n readonly instanceKey?: string;\n readonly questionRef: string;\n readonly value: string;\n readonly answeredByRef: string;\n /** ASSUMED when the person let a proposed answer stand (#2129). */\n readonly standing?: ApplicationCreatorInputAnswerStanding;\n readonly assumptionRationale?: string;\n }) => Promise<unknown>;\n /** Each interview question's depth and whether it may be proposed (#2129), for the queue to carry. */\n readonly readInterviewDispositions?: () => Promise<ReadonlyMap<string, InterviewQuestionDisposition>>;\n /** The boards move after an answer; the next read must not answer \"as of before\". */\n readonly invalidate: () => void;\n}\n\n/** The behavior each question kind is derived from — TOTAL, so a new kind is a compile error until placed. */\nconst SOURCE_BEHAVIOR_BY_KIND: Readonly<Record<CreationConsoleQuestionKind, WorkbenchCreationPlaneBehavior>> = {\n [CreationConsoleQuestionKind.CLARIFICATION]: WorkbenchCreationPlaneBehavior.WAITING_PLAYBOOK_RUNS,\n [CreationConsoleQuestionKind.PARKED_CODING_QUESTION]: WorkbenchCreationPlaneBehavior.PARKED_CODING_QUESTIONS,\n [CreationConsoleQuestionKind.INTERVIEW]: WorkbenchCreationPlaneBehavior.DOSSIER_ENTRIES,\n [CreationConsoleQuestionKind.GOVERNANCE_FACT]: WorkbenchCreationPlaneBehavior.GOVERNANCE_QUESTIONS,\n};\n\n/**\n * The question queue, derived from the rows of the kinds asked for (every kind by default). Deriving\n * only what an answer needs keeps the answer door from paying for boards it never reads.\n */\nexport async function readCreationConsoleQuestions(\n ports: Pick<CreationConsolePorts, 'deriveRows' | 'readInterviewDispositions'>,\n kinds: readonly CreationConsoleQuestionKind[] = Object.values(CreationConsoleQuestionKind),\n): Promise<CreationConsole_Question[]> {\n const rowsOf = async <Row>(kind: CreationConsoleQuestionKind): Promise<readonly Row[]> =>\n kinds.includes(kind) ? (await ports.deriveRows(SOURCE_BEHAVIOR_BY_KIND[kind])) as unknown as readonly Row[] : [];\n const [waiting, parked, dossier, governance] = await Promise.all([\n rowsOf<Workbench_WaitingPlaybookRun>(CreationConsoleQuestionKind.CLARIFICATION),\n rowsOf<Workbench_ParkedCodingQuestion>(CreationConsoleQuestionKind.PARKED_CODING_QUESTION),\n rowsOf<Workbench_DossierEntry>(CreationConsoleQuestionKind.INTERVIEW),\n rowsOf<Workbench_GovernanceQuestion>(CreationConsoleQuestionKind.GOVERNANCE_FACT),\n ]);\n const interviewDispositions = kinds.includes(CreationConsoleQuestionKind.INTERVIEW) ? await ports.readInterviewDispositions?.() : undefined;\n return buildCreationConsoleQuestions({ waiting, parked, dossier, governance, ...(interviewDispositions ? { interviewDispositions } : {}) });\n}\n\n/**\n * The interview answers that are ASSUMPTIONS (#2129), listed apart from the queue so nothing reads them as\n * waiting. The answer door finds an item here too, so answering one records the person's own answer.\n */\nexport async function readCreationConsoleAssumptions(ports: Pick<CreationConsolePorts, 'deriveRows' | 'readInterviewDispositions'>): Promise<CreationConsole_Question[]> {\n const dossier = (await ports.deriveRows(WorkbenchCreationPlaneBehavior.DOSSIER_ENTRIES)) as unknown as readonly Workbench_DossierEntry[];\n const interviewDispositions = await ports.readInterviewDispositions?.();\n return buildCreationConsoleAssumptions({ dossier, ...(interviewDispositions ? { interviewDispositions } : {}) });\n}\n\nfunction refuse(kind: CreationConsoleRefusalKind, message: string): never {\n throw new CreationConsoleRefusal(kind, message);\n}\n\n/** Check the request against the item as it stands now, before any service is reached. */\nfunction admit(question: CreationConsole_Question, request: CreationConsole_AnswerRequest): void {\n if (question.actions.length === 0) {\n refuse(CreationConsoleRefusalKind.MALFORMED, question.kind === CreationConsoleQuestionKind.GOVERNANCE_FACT\n ? `\"${question.questionId}\" is a governed-document fact. Facts are landed as a whole-document sitting that also names the `\n + 'governance scope and who decided, which the console does not carry — answer it in the workbench\\'s governance panel.'\n : question.routedToUserId\n ? `\"${question.questionId}\" was asked of the person who started its run, and only they may answer it. `\n + 'The console carries no signed-in person — answer it in the workbench, signed in as them.'\n : `\"${question.questionId}\" cannot be answered from the console.`);\n }\n if (!question.actions.includes(request.action)) {\n refuse(CreationConsoleRefusalKind.MALFORMED, `\"${question.questionId}\" admits ${question.actions.join(', ')} — not ${request.action}.`);\n }\n if (question.revision !== null) {\n if (!request.revision) {\n refuse(CreationConsoleRefusalKind.MALFORMED,\n `\"${question.questionId}\" carries a revision (${question.revision}); send the one you read, so an answer never lands on a later question.`);\n }\n if (request.revision !== question.revision) {\n refuse(CreationConsoleRefusalKind.SUPERSEDED,\n `\"${question.questionId}\" has moved on: it now waits on revision ${question.revision}, and this answer was written for ${request.revision}. `\n + 'Read the queue again and answer what it asks now.');\n }\n }\n const answers = request.answers ?? [];\n /*\n * A DECLINE may carry the answers the person DID give (#1658) — \"these I answered, decide the rest\" —\n * so they are checked like an answer's. A CANCEL withdraws the run and carries none.\n */\n if (request.action === CreationConsoleAnswerAction.CANCEL) {\n if (answers.length > 0) refuse(CreationConsoleRefusalKind.MALFORMED, '`cancel` carries no answers; send `answer` to answer, or `decline` with the answers you did give.');\n return;\n }\n if (request.action === CreationConsoleAnswerAction.ANSWER && answers.length === 0) {\n refuse(CreationConsoleRefusalKind.MALFORMED, '`answer` needs at least one `{ ref, value }`.');\n }\n const known = new Set(question.fields.map((field) => field.ref));\n const unknown = answers.filter((answer) => !known.has(answer.ref)).map((answer) => answer.ref);\n if (unknown.length > 0) {\n refuse(CreationConsoleRefusalKind.MALFORMED,\n `\"${question.questionId}\" asks ${[...known].map((ref) => `\"${ref}\"`).join(', ')} — not ${unknown.map((ref) => `\"${ref}\"`).join(', ')}.`);\n }\n if (new Set(answers.map((answer) => answer.ref)).size !== answers.length) {\n refuse(CreationConsoleRefusalKind.MALFORMED, 'Each question is answered once per request.');\n }\n /*\n * An ASSUMED answer (#2129) exists only in the dossier: a run's clarification has `decline` for \"decide it\n * yourself\", and a parked coding question is the agent's own. Elsewhere it is refused rather than dropped,\n * because dropping it would record a proposal as the person's decision.\n */\n for (const answer of answers) {\n if (answer.standing === undefined && answer.assumptionRationale === undefined) continue;\n if (question.kind !== CreationConsoleQuestionKind.INTERVIEW) {\n refuse(CreationConsoleRefusalKind.MALFORMED, `Only an interview answer can be recorded as an assumption; \"${question.questionId}\" is a ${question.kind}.`);\n }\n if (answer.standing !== undefined && !Object.values(ApplicationCreatorInputAnswerStanding).includes(answer.standing as ApplicationCreatorInputAnswerStanding)) {\n refuse(CreationConsoleRefusalKind.MALFORMED,\n `\"${answer.standing}\" is not a standing; send one of ${Object.values(ApplicationCreatorInputAnswerStanding).join(', ')}.`);\n }\n }\n}\n\nconst CLARIFICATION_ACTION_BY_CONSOLE_ACTION: Readonly<Record<CreationConsoleAnswerAction, MetaWorkflow_ClarificationAction>> = {\n [CreationConsoleAnswerAction.ANSWER]: MetaWorkflow_ClarificationAction.ACCEPT,\n [CreationConsoleAnswerAction.DECLINE]: MetaWorkflow_ClarificationAction.DECLINE,\n [CreationConsoleAnswerAction.CANCEL]: MetaWorkflow_ClarificationAction.CANCEL,\n};\n\n/**\n * Apply one answer. Refusals the services raise (a validation of the answer's content, a run that\n * moved between this read and theirs) propagate UNTOUCHED, for the caller to translate the way it\n * translates them on every other door.\n */\nexport async function answerCreationConsoleQuestion(\n ports: CreationConsolePorts,\n request: CreationConsole_AnswerRequest,\n): Promise<CreationConsole_AnswerOutcome> {\n const parsed = parseCreationConsoleQuestionId(request.questionId);\n if (!parsed) {\n refuse(CreationConsoleRefusalKind.MALFORMED,\n `\"${request.questionId}\" is not a question id. Ids look like \"<kind>:<row>\", as \\`wildo creation questions\\` prints them; `\n + `the kinds are ${Object.values(CreationConsoleQuestionKind).join(', ')}.`);\n }\n const question = (await readCreationConsoleQuestions(ports, [parsed.kind]))\n .find((candidate) => candidate.questionId === request.questionId)\n /* An assumption is not waiting, but it is answerable: revisiting it records the person's own answer (#2129). */\n ?? (parsed.kind === CreationConsoleQuestionKind.INTERVIEW\n ? (await readCreationConsoleAssumptions(ports)).find((candidate) => candidate.questionId === request.questionId)\n : undefined);\n if (!question) {\n refuse(CreationConsoleRefusalKind.NOT_WAITING,\n `Nothing waits under \"${request.questionId}\" now — it was answered, cancelled or finished meanwhile. Read the queue again.`);\n }\n admit(question, request);\n\n const answers = request.answers ?? [];\n const settle = (outcome: unknown): CreationConsole_AnswerOutcome => ({\n questionId: question.questionId,\n kind: question.kind,\n action: request.action,\n outcome,\n });\n\n try {\n switch (question.kind) {\n case CreationConsoleQuestionKind.CLARIFICATION: {\n const waiting = (await ports.deriveRows(WorkbenchCreationPlaneBehavior.WAITING_PLAYBOOK_RUNS) as unknown as readonly Workbench_WaitingPlaybookRun[])\n .find((row) => row.workbenchWaitingPlaybookRunId === parsed.rowId);\n if (!waiting) refuse(CreationConsoleRefusalKind.NOT_WAITING, `The run behind \"${request.questionId}\" stopped waiting meanwhile.`);\n return settle(await ports.resumePlaybookRun({\n runId: waiting.runId,\n round: Number(question.revision),\n action: CLARIFICATION_ACTION_BY_CONSOLE_ACTION[request.action],\n /* Each answer keeps its own author, so a round an agent and the person answered together records both (#1658). */\n ...(answers.length > 0\n ? { answers: answers.map((answer) => ({ ref: answer.ref, answer: answer.value, ...(answer.answeredByRef ? { answeredByRef: answer.answeredByRef } : {}) })) }\n : {}),\n /* Who answered reaches the committed DECISIONS.md, for every kind, not only the dossier (#1658). */\n ...(request.answeredByRef ? { answeredByRef: request.answeredByRef } : {}),\n }));\n }\n case CreationConsoleQuestionKind.PARKED_CODING_QUESTION: {\n const parked = (await ports.deriveRows(WorkbenchCreationPlaneBehavior.PARKED_CODING_QUESTIONS) as unknown as readonly Workbench_ParkedCodingQuestion[])\n .find((row) => row.workbenchParkedCodingQuestionId === parsed.rowId);\n if (!parked) refuse(CreationConsoleRefusalKind.NOT_WAITING, `The coding run behind \"${request.questionId}\" stopped waiting meanwhile.`);\n if (request.action === CreationConsoleAnswerAction.CANCEL) {\n const outcome = await ports.cancelCodingRun(parked.taskId);\n /* The row existed a moment ago: \"nothing to cancel\" means the run moved on, which is a refusal, never a success. */\n if (!outcome.cancelled) {\n refuse(CreationConsoleRefusalKind.NOT_WAITING, 'This coding run is no longer waiting: it was answered, cancelled or finished meanwhile.');\n }\n return settle(outcome);\n }\n return settle(await ports.respondToParkedQuestion(parked.taskId, answers[0]!.value, String(question.revision), answers[0]!.answeredByRef ?? request.answeredByRef));\n }\n case CreationConsoleQuestionKind.INTERVIEW: {\n const answeredByRef = answers[0]!.answeredByRef ?? request.answeredByRef;\n if (!answeredByRef) {\n refuse(CreationConsoleRefusalKind.MALFORMED,\n 'An interview answer records who gave it: send `answeredByRef` (`wildo` sends your git identity; an agent answering on its own sends its own ref).');\n }\n const standing = answers[0]!.standing as ApplicationCreatorInputAnswerStanding | undefined;\n return settle(await ports.recordInterviewAnswer({\n playbookRef: String(question.playbookRef),\n /* The instance the question is asked for: without it an instance's answer landed on the step itself. */\n ...(question.instanceKey !== null ? { instanceKey: question.instanceKey } : {}),\n questionRef: answers[0]!.ref,\n value: answers[0]!.value,\n answeredByRef,\n ...(standing !== undefined ? { standing } : {}),\n ...(answers[0]!.assumptionRationale !== undefined ? { assumptionRationale: answers[0]!.assumptionRationale } : {}),\n }));\n }\n case CreationConsoleQuestionKind.GOVERNANCE_FACT:\n /* `admit` refuses first — an item with no actions is never answered here. */\n return refuse(CreationConsoleRefusalKind.MALFORMED, `\"${question.questionId}\" cannot be answered from the console.`);\n }\n } finally {\n ports.invalidate();\n }\n}\n"]}
|
|
@@ -23,7 +23,28 @@ export interface CreationConsoleQuestionInputs {
|
|
|
23
23
|
readonly parked: readonly Workbench_ParkedCodingQuestion[];
|
|
24
24
|
readonly dossier: readonly Workbench_DossierEntry[];
|
|
25
25
|
readonly governance: readonly Workbench_GovernanceQuestion[];
|
|
26
|
+
/**
|
|
27
|
+
* Each interview question's depth and whether it may be proposed (#2129), keyed by
|
|
28
|
+
* {@link interviewQuestionKey}. Absent, or missing a question: ESSENTIAL and not proposable — the reading
|
|
29
|
+
* that asks the person, which is never wrong, only longer.
|
|
30
|
+
*/
|
|
31
|
+
readonly interviewDispositions?: ReadonlyMap<string, InterviewQuestionDisposition>;
|
|
26
32
|
}
|
|
33
|
+
/** What a surface needs to know about one interview question to run a simple interview (#2129). */
|
|
34
|
+
export interface InterviewQuestionDisposition {
|
|
35
|
+
readonly askedInSimpleInterview: boolean;
|
|
36
|
+
readonly proposable: boolean;
|
|
37
|
+
readonly regulatedDomain: boolean;
|
|
38
|
+
}
|
|
39
|
+
/** The one key {@link CreationConsoleQuestionInputs.interviewDispositions} is addressed by. Refs never contain `#`. */
|
|
40
|
+
export declare function interviewQuestionKey(playbookRef: string, questionRef: string): string;
|
|
41
|
+
/**
|
|
42
|
+
* The interview answers that are ASSUMPTIONS (#2129), as console items carrying their `assumedAnswer`. Kept
|
|
43
|
+
* OUT of {@link buildCreationConsoleQuestions}: nothing waits on an assumption, so listing it there would make
|
|
44
|
+
* every reader of the queue — a count of what is blocked, an agent working the queue item by item — treat it
|
|
45
|
+
* as an open question and put it to the person again. It is listed apart, to be revisited when they choose.
|
|
46
|
+
*/
|
|
47
|
+
export declare function buildCreationConsoleAssumptions(input: Pick<CreationConsoleQuestionInputs, 'dossier' | 'interviewDispositions'>): CreationConsole_Question[];
|
|
27
48
|
/**
|
|
28
49
|
* Everything waiting on the person, as ONE queue — in the order Home ranks it: what holds a live run
|
|
29
50
|
* first (a clarification round, a parked coding worker), newest first; then the interview questions a
|
package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"creation-console-projection.companion.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"creation-console-projection.companion.d.ts","sourceRoot":"","sources":["../../../../../../src/core/introspection/resources/creation-console-projection.companion.ts"],"names":[],"mappings":"AACA,OAAO,EAKL,8BAA8B,EAE9B,4BAA4B,EAE5B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EAClC,MAAM,gCAAgC,CAAC;AAExC;;;;;;;GAOG;AAEH;;;;;;;GAOG;AACH,eAAO,MAAM,wCAAwC,EAAE,QAAQ,CAAC,MAAM,CAAC,8BAA8B,EAAE,4BAA4B,CAAC,CAiBnI,CAAC;AAOF,gGAAgG;AAChG,wBAAgB,oCAAoC,CAAC,YAAY,EAAE,MAAM,GAAG,8BAA8B,GAAG,IAAI,CAEhH;AAwBD,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,OAAO,EAAE,SAAS,4BAA4B,EAAE,CAAC;IAC1D,QAAQ,CAAC,MAAM,EAAE,SAAS,8BAA8B,EAAE,CAAC;IAC3D,QAA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