@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":"workspace-elements.companion.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"workspace-elements.companion.d.ts","sourceRoot":"","sources":["../../../../../src/core/introspection/workspace-elements.companion.ts"],"names":[],"mappings":"AACA,OAAO,EAA0B,KAAK,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAEzG;;;;;;;GAOG;AAEH,uEAAuE;AACvE,MAAM,WAAW,yBAAyB;IACxC,WAAW,CAAC,OAAO,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,0BAA0B,CAAA;KAAE,GAAG,OAAO,CAAC;QAC1F,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;QAC1B,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC;QACxB,QAAQ,CAAC,eAAe,CAAC,EAAE,IAAI,CAAC;QAChC,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;KACnC,CAAC,CAAC;CACJ;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AAED,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,KAAK,EAAE,qBAAqB,CAAC;IACtC,QAAQ,CAAC,SAAS,EAAE,0BAA0B,CAAC;CAChD;AAED;;;;;;;;;;;;GAYG;AACH,wBAAsB,qBAAqB,CACzC,aAAa,EAAE,yBAAyB,EACxC,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,yBAAyB,CAAC,CAkBpC;AAED,kFAAkF;AAClF,wBAAgB,0BAA0B,CAAC,SAAS,EAAE,0BAA0B,GAAG,MAAM,CAKxF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-elements.companion.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"workspace-elements.companion.js","sourceRoot":"","sources":["../../../../../src/core/introspection/workspace-elements.companion.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAA8B,MAAM,qCAAqC,CAAC;AAuCzG;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,KAAK,UAAU,qBAAqB,CACzC,aAAwC,EACxC,UAAkB;IAElB,MAAM,MAAM,GAAG,MAAM,aAAa,CAAC,WAAW,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,0BAA0B,EAAE,CAAC,CAAC;IACrG,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;QACpB,MAAM,IAAI,KAAK,CAAC,wDAAwD,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC;IAClH,CAAC;IACD,MAAM,UAAU,GAAG,MAAM,CAAC,IAAyC,CAAC;IACpE,IAAI,UAAU,KAAK,SAAS,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,eAAe,CAAC,EAAE,CAAC;QAC3E,MAAM,IAAI,KAAK,CAAC,0EAA0E,CAAC,CAAC;IAC9F,CAAC;IACD,OAAO;QACL,KAAK,EAAE,sBAAsB,CAAC,UAAU,CAAC;QACzC,SAAS,EAAE;YACT,IAAI,EAAE,MAAM,CAAC,eAAe,KAAK,IAAI;YACrC,4FAA4F;YAC5F,+DAA+D;YAC/D,KAAK,EAAE,MAAM,CAAC,eAAe,IAAI,IAAI;SACtC;KACF,CAAC;AACJ,CAAC;AAED,kFAAkF;AAClF,MAAM,UAAU,0BAA0B,CAAC,SAAqC;IAC9E,IAAI,CAAC,SAAS,CAAC,IAAI;QAAE,OAAO,iDAAiD,CAAC;IAC9E,IAAI,SAAS,CAAC,KAAK,KAAK,IAAI;QAAE,OAAO,6FAA6F,CAAC;IACnI,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC;IACnD,OAAO,4BAA4B,OAAO,GAAG,EAAE,CAAC,CAAC,CAAC,GAAG,OAAO,GAAG,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,GAAG,EAAE,CAAC,KAAK,MAAM,CAAC;AAC3G,CAAC","sourcesContent":["import type { DomainModelProjection } from './subprocess/application-domain-model.behavior';\nimport { indexWorkspaceElements, type WorkspaceElementIndex } from './workspace-element-index.companion';\n\n/**\n * How a caller reaches the application's own code truth, once (#1437).\n *\n * The index itself is pure and knows nothing about a companion. This is the one place that FETCHES\n * the projection behind it, so the coding floor, the HTTP door and the CLI cannot end up with three\n * ways of asking — and, more importantly, cannot end up asking for three different derivations of an\n * application that is being edited underneath them.\n */\n\n/** Just enough of the introspection service to ask it one question. */\nexport interface WorkspaceProjectionReader {\n requestInfo(request: { serviceKey: string; behavior: 'application-domain-model' }): Promise<{\n readonly success: boolean;\n readonly data?: unknown;\n readonly servedFromCache?: true;\n readonly derivationAgeMs?: number;\n }>;\n}\n\n/**\n * Whether the answer was taken NOW or is being re-served, and how old it is.\n *\n * #1437's third acceptance line, and it is not bookkeeping. The registry once reported 15 resources\n * as a held derivation while the specification set and the compiled dist both had 16 — another\n * session had just added one. An agent about to edit that tree needs to be able to tell a derivation\n * taken seconds ago from one taken before the thing it is about to change.\n */\nexport interface WorkspaceElementsFreshness {\n readonly held: boolean;\n readonly ageMs: number | null;\n}\n\nexport interface WorkspaceElementsSnapshot {\n readonly index: WorkspaceElementIndex;\n readonly freshness: WorkspaceElementsFreshness;\n}\n\n/**\n * Read the application's domain model and index it.\n *\n * ONE derivation, deliberately: `application-domain-model` costs ~35 s and the introspection cache\n * keys on a behavior's INPUT, so a narrowing pushed into the derivation would make every distinct\n * question a fresh subprocess. Asking for the whole thing means the cache actually serves — the\n * first question pays, every later one is a map lookup — and two slices of one projection cannot\n * disagree about the application.\n *\n * Throws on a failed derivation rather than answering an empty index: a caller handed an index with\n * no resources cannot tell \"this application has none\" from \"the read failed\", and the second is the\n * only one that has ever been true.\n */\nexport async function readWorkspaceElements(\n introspection: WorkspaceProjectionReader,\n serviceKey: string,\n): Promise<WorkspaceElementsSnapshot> {\n const result = await introspection.requestInfo({ serviceKey, behavior: 'application-domain-model' });\n if (!result.success) {\n throw new Error(`The application's domain model could not be derived: ${JSON.stringify(result).slice(0, 400)}`);\n }\n const projection = result.data as DomainModelProjection | undefined;\n if (projection === undefined || !Array.isArray(projection.domainResources)) {\n throw new Error(\"The application's domain model derivation returned no `domainResources`.\");\n }\n return {\n index: indexWorkspaceElements(projection),\n freshness: {\n held: result.servedFromCache === true,\n // `null` rather than 0 for a fresh derivation: zero is an age, and \"taken just now\" and \"an\n // older companion that reports no age\" must not read the same.\n ageMs: result.derivationAgeMs ?? null,\n },\n };\n}\n\n/** One line a reader can act on: is this now, or is it held, and for how long. */\nexport function describeWorkspaceFreshness(freshness: WorkspaceElementsFreshness): string {\n if (!freshness.held) return 'derived now, from the working tree as it stands';\n if (freshness.ageMs === null) return 'a HELD derivation of unknown age — re-derive before trusting it against a tree being edited';\n const seconds = Math.round(freshness.ageMs / 1000);\n return `a HELD derivation, taken ${seconds < 60 ? `${seconds}s` : `${Math.round(seconds / 60)}min`} ago`;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wildo-saas-lock.companion.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"wildo-saas-lock.companion.service.d.ts","sourceRoot":"","sources":["../../../../../src/core/lock/wildo-saas-lock.companion.service.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAEL,6BAA6B,EAK9B,MAAM,+BAA+B,CAAC;AAEvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAEL,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACvB,MAAM,0BAA0B,CAAC;AAGlC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,qBACa,6BAA6B;IAIH,OAAO,CAAC,QAAQ,CAAC,MAAM;IACR,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IAJrF,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA+D;gBAGlC,MAAM,EAAE,aAAa,EACN,gBAAgB,EAAE,gBAAgB;IAKhG,eAAe,IAAI,MAAM;IAIhC;;;;;;;;;;OAUG;IACU,IAAI,IAAI,OAAO,CAAC,iBAAiB,CAAC;IAkC/C;;;;;;;;;;OAUG;IACU,MAAM,CACjB,OAAO,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,GACzD,OAAO,CAAC,iBAAiB,CAAC;IAqB7B;;;;;;;;OAQG;IACI,eAAe,IAAI,IAAI;IAQ9B,6CAA6C;IACtC,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM;IAI1C;;;;OAIG;IACI,eAAe,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM;IAQnC,eAAe,IAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC;IAKpE;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACU,cAAc,CACzB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,iBAAiB,EAIxB,aAAa,EAAE,MAAM,GAAG,SAAS,EACjC,cAAc,EAAE,MAAM,EAAE,GACvB,OAAO,CAAC,IAAI,CAAC;CAsBjB;AAyBD,OAAO,EAAE,6BAA6B,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wildo-saas-lock.companion.service.js","sourceRoot":"","sources":["../../../../src/core/lock/wildo-saas-lock.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,EACL,+BAA+B,EAC/B,6BAA6B,EAC7B,oBAAoB,EACpB,kBAAkB,EAClB,iBAAiB,GAElB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,OAAO,EACL,aAAa,GAId,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAElE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AA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AuB,CAAC,gBAAgB,CAAC,CAAA;;GALxC,6BAA6B,CA0LzC;;AAED;;;;;GAKG;AACH,SAAS,2BAA2B,CAAC,QAA8B;IACjE,OAAO,QAAwC,CAAC;AAClD,CAAC;AAED,SAAS,eAAe,CAAC,KAAc;IACrC,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;QACpC,IAAI,CAAC,IAAI,OAAO,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC;YACpD,MAAM,MAAM,GAA4B,EAAE,CAAC;YAC3C,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,CAA4B,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC;gBACnE,MAAM,CAAC,GAAG,CAAC,GAAI,CAA6B,CAAC,GAAG,CAAC,CAAC;YACpD,CAAC;YACD,OAAO,MAAM,CAAC;QAChB,CAAC;QACD,OAAO,CAAC,CAAC;IACX,CAAC,CAAC,CAAC;AACL,CAAC;AAED,OAAO,EAAE,6BAA6B,EAAE,CAAC","sourcesContent":["import { createHash } from 'node:crypto';\nimport { inject, injectable } from 'inversify';\nimport { ZodError } from 'zod';\nimport { SAAS_SERVICE_TYPES } from '@wildo-ai/saas-backend-lib';\nimport type { LoggerService } from '@wildo-ai/saas-backend-lib';\nimport {\n RegistryLockfileRepairableError,\n WILDO_SAAS_LOCK_RELATIVE_PATH,\n getWildoSaasLockPath,\n withLockfileMutate,\n readWildoSaasLock,\n type SaasLockfileEnvelope,\n} from '@wildo-ai/platform-config-lib';\nimport { COMPANION_SERVICE_TYPES } from '../inject/models/service-types';\nimport type { CompanionContext } from '../context/companion-context';\nimport {\n emptyLockFile,\n type WildoSaasLockFile,\n type I18nLockSection,\n type I18nLockUnitEntry,\n} from './wildo-saas-lock.models';\nimport { I18nLockSectionSchema } from './wildo-saas-lock.schemas';\n\n/**\n * Read/write access to `<saasRoot>/.wildo-saas/wildo-saas.lock.json`.\n *\n * Phase 1 refactor (`module-registry-analysis.md`): the companion\n * delegates locking + atomic-write to\n * `@wildo-ai/platform-config-lib`'s `withLockfileMutate(...)`. The\n * shared primitive uses `proper-lockfile` (cross-process safe) +\n * `write-file-atomic` (fsync-safe), validated by the Phase 0.B\n * contention spike.\n *\n * Removed:\n * - `writeChain` — the OS-level lock subsumes the in-memory\n * write serialization.\n * - `cached` — every read goes under the lock so cross-process\n * readers and the CLI never observe a stale cache.\n *\n * Preserved (call-sites depend on it):\n * - `mutate(file => void)` — full-envelope callback API for\n * orchestrators that need cross-section visibility.\n * - `invalidateCache(): void` — kept as a documented no-op\n * (Review-pass-4 / MEDIUM-FF). The shared library does not\n * cache; calling `invalidateCache()` is a hint with no effect.\n * - `readI18nSection`, `upsertI18nUnit`, `hashString`,\n * `hashFingerprint` — public API surface consumed by\n * `LabellizeOrchestrator` and `TranslateOrchestrator`.\n *\n * Phase 1 review hardening:\n * - H-1.1: `read()` no longer swallows ZodError into an empty\n * envelope (which silently destroyed sibling sections on\n * overwrite). Malformed envelopes throw\n * `RegistryLockfileRepairableError`; only ENOENT falls back to\n * `emptyLockFile()`.\n * - M-1.1: every read + mutate threads\n * `sectionSchemas: { i18n: I18nLockSectionSchema }` so the\n * companion-owned section is validated on the boundary.\n * - M-1.3: dead `envelope.sections = view.sections` line removed\n * (the cast already shares the underlying reference).\n * - L-1.2: file path comes from the shared\n * `getWildoSaasLockPath(saasRoot)` helper, removing the\n * companion-local `WILDO_SAAS_LOCK_FILE_NAME` constant drift.\n */\n@injectable()\nexport class WildoSaasLockCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n\n constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext) private readonly companionContext: CompanionContext,\n ) {\n this.logDebug = this.logger.debugByType('WildoSaasLockService');\n }\n\n public getLockFilePath(): string {\n return getWildoSaasLockPath(this.companionContext.saasRoot);\n }\n\n /**\n * Read the current lockfile envelope. Unsynchronized — callers\n * needing read-after-write coherence must read INSIDE\n * `mutate(...)`.\n *\n * Returns an empty envelope when the file does not yet exist\n * (ENOENT). Throws `RegistryLockfileRepairableError` when the\n * file exists but fails Zod schema validation, so the\n * orchestrator surfaces a repairable diagnostic rather than\n * silently overwriting valid sibling sections.\n */\n public async read(): Promise<WildoSaasLockFile> {\n try {\n const envelope = await readWildoSaasLock({\n saasRoot: this.companionContext.saasRoot,\n sectionSchemas: { i18n: I18nLockSectionSchema },\n createIfMissing: true,\n });\n // The two envelope types are structurally compatible — both\n // are `{ schemaVersion: 2, generatedAt, sections }`. The\n // companion's `WildoSaasLockFile` types `sections` more\n // permissively than the shared schema, so a downcast is safe.\n return envelopeToWildoSaasLockFile(envelope);\n } catch (err: unknown) {\n if (err instanceof ZodError) {\n throw new RegistryLockfileRepairableError(\n `wildo-saas.lock.json failed schema validation. Run \\`wildo registry repair-lockfile\\` to inspect.`,\n [\n `at: ${this.getLockFilePath()}`,\n ...err.issues.slice(0, 5).map(\n (issue) => `${issue.path.join('.') || '<root>'}: ${issue.message}`,\n ),\n ],\n );\n }\n const errno = (err as NodeJS.ErrnoException)?.code;\n if (errno === 'ENOENT') {\n return emptyLockFile();\n }\n // Anything else (EACCES, EIO, JSON.parse SyntaxError, ...) is\n // a real bug; do not silently overwrite the file.\n throw err;\n }\n }\n\n /**\n * Atomically apply a mutation to the lock file under an OS-level\n * lock + atomic-write commit. The mutator receives a deep-cloned\n * envelope; in-place mutation is safe.\n *\n * Cross-section preservation guarantees (KD-4 / KD-15 / KD-18) are\n * inherited from `withLockfileMutate`: every `sections.*` key the\n * mutator did NOT touch round-trips verbatim. The companion-owned\n * `sections.i18n` schema is validated on read AND post-mutation,\n * so a buggy mutator can never persist an invalid i18n payload.\n */\n public async mutate(\n mutator: (file: WildoSaasLockFile) => void | Promise<void>,\n ): Promise<WildoSaasLockFile> {\n const result = await withLockfileMutate(\n {\n saasRoot: this.companionContext.saasRoot,\n sectionSchemas: { i18n: I18nLockSectionSchema },\n },\n async (envelope) => {\n const view = envelopeToWildoSaasLockFile(envelope);\n await mutator(view);\n // `view` IS `envelope` (the cast is structural), so the\n // mutator's in-place changes are already on `envelope` —\n // no explicit re-assignment needed (M-1.3).\n },\n );\n this.logDebug('Lock file written', {\n filePath: this.getLockFilePath(),\n sectionCount: Object.keys(result.sections).length,\n });\n return envelopeToWildoSaasLockFile(result);\n }\n\n /**\n * Documented no-op. The shared library does not cache reads —\n * every read goes under the OS-level lock. This method is kept\n * to preserve the public API for external callers (Review-pass-4\n * / MEDIUM-FF). Calls have no observable effect.\n *\n * @deprecated The shared lockfile library performs read-under-lock\n * on every call; cache invalidation is no longer meaningful.\n */\n public invalidateCache(): void {\n // intentionally empty\n }\n\n // ================================================================\n // SHA helpers\n // ================================================================\n\n /** sha256 of a UTF-8 string, hex-encoded. */\n public hashString(content: string): string {\n return createHash('sha256').update(content, 'utf-8').digest('hex');\n }\n\n /**\n * Stable hash for an input \"fingerprint\": sorts keys and serializes\n * with a deterministic JSON layout so two runs with the same logical\n * payload produce the same SHA.\n */\n public hashFingerprint(payload: unknown): string {\n return this.hashString(stableStringify(payload));\n }\n\n // ================================================================\n // i18n section helpers (typed convenience over generic mutate)\n // ================================================================\n\n public async readI18nSection(): Promise<I18nLockSection | undefined> {\n const file = await this.read();\n return file.sections.i18n;\n }\n\n /**\n * Insert or replace one unit's i18n lock entry.\n *\n * **Additive only, and there is deliberately NO removal counterpart.** A unit\n * row outlives the unit — rename a resource and the old `resource:todoLists`\n * row stays forever, alongside its generated label files. That leak is known\n * and is reported rather than repaired: see `OrphanLabelArtifactsReport` in\n * `i18n-labelling/utils/orphan-label-artifacts.utils.ts` for the measurement\n * and the reasoning.\n *\n * The short version, so nobody adds the obvious `removeI18nUnit` here as a\n * tidy-up: the only available answer to \"does this unit still exist?\" is the\n * planner's unit list, and that list degrades SILENTLY — a frontend\n * introspection that could not run drops four whole label families from it\n * while looking exactly like an application that has none. A removal API on\n * this service would be called from there, so it would delete lock rows for\n * live units on any run where the frontend dev server was down. Build the\n * removal when the plan's totality is established rather than assumed, and\n * make it an explicit operator verb rather than a side effect of generation.\n *\n * `trackedLocales` is likewise a UNION and never shrinks, which is why it\n * cannot serve as the denominator for \"this locale was dropped\".\n */\n public async upsertI18nUnit(\n unitId: string,\n entry: I18nLockUnitEntry,\n // Only labellize should set / change the section's primary locale.\n // Translate passes `undefined` so locale updates do not rewrite the\n // app-config source-of-truth identity.\n primaryLocale: string | undefined,\n trackedLocales: string[],\n ): Promise<void> {\n await this.mutate((file) => {\n if (!file.sections.i18n && !primaryLocale) {\n throw new Error(\n 'Cannot create i18n lock section without a configured primaryLocale',\n );\n }\n const section: I18nLockSection = file.sections.i18n ?? {\n sectionVersion: 1,\n primaryLocale: primaryLocale!,\n trackedLocales: [],\n units: {},\n };\n if (primaryLocale) {\n section.primaryLocale = primaryLocale;\n }\n const localeSet = new Set([...section.trackedLocales, ...trackedLocales]);\n section.trackedLocales = [...localeSet].sort();\n section.units[unitId] = entry;\n file.sections.i18n = section;\n });\n }\n}\n\n/**\n * Cast the shared envelope into the companion's `WildoSaasLockFile`\n * shape. The two types share a runtime layout (`{ schemaVersion: 2,\n * generatedAt, sections }`); the companion's view types `sections`\n * more permissively, so the cross-cast is safe.\n */\nfunction envelopeToWildoSaasLockFile(envelope: SaasLockfileEnvelope): WildoSaasLockFile {\n return envelope as unknown as WildoSaasLockFile;\n}\n\nfunction stableStringify(value: unknown): string {\n return JSON.stringify(value, (_, v) => {\n if (v && typeof v === 'object' && !Array.isArray(v)) {\n const sorted: Record<string, unknown> = {};\n for (const key of Object.keys(v as Record<string, unknown>).sort()) {\n sorted[key] = (v as Record<string, unknown>)[key];\n }\n return sorted;\n }\n return v;\n });\n}\n\nexport { WILDO_SAAS_LOCK_RELATIVE_PATH };\n"]}
|
|
1
|
+
{"version":3,"file":"wildo-saas-lock.companion.service.js","sourceRoot":"","sources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AAO,CAAC,CAAC;IACX,CAAC,CAAC,CAAC;AACL,CAAC;AAED,OAAO,EAAE,6BAA6B,EAAE,CAAC","sourcesContent":["import { createHash } from 'node:crypto';\nimport { inject, injectable } from 'inversify';\nimport { ZodError } from 'zod';\nimport { SAAS_SERVICE_TYPES } from '@wildo-ai/saas-backend-lib';\nimport type { LoggerService } from '@wildo-ai/saas-backend-lib';\nimport {\n RegistryLockfileRepairableError,\n WILDO_SAAS_LOCK_RELATIVE_PATH,\n getWildoSaasLockPath,\n withLockfileMutate,\n readWildoSaasLock,\n type SaasLockfileEnvelope,\n} from '@wildo-ai/platform-config-lib';\nimport { COMPANION_SERVICE_TYPES } from '../inject/models/service-types';\nimport type { CompanionContext } from '../context/companion-context';\nimport {\n emptyLockFile,\n type WildoSaasLockFile,\n type I18nLockSection,\n type I18nLockUnitEntry,\n} from './wildo-saas-lock.models';\nimport { I18nLockSectionSchema } from './wildo-saas-lock.schemas';\n\n/**\n * Read/write access to `<saasRoot>/.wildo-saas/wildo-saas.lock.json`.\n *\n * Phase 1 refactor (`module-registry-analysis.md`): the companion\n * delegates locking + atomic-write to\n * `@wildo-ai/platform-config-lib`'s `withLockfileMutate(...)`. The\n * shared primitive uses `proper-lockfile` (cross-process safe) +\n * `write-file-atomic` (fsync-safe), validated by the Phase 0.B\n * contention spike.\n *\n * Removed:\n * - `writeChain` — the OS-level lock subsumes the in-memory\n * write serialization.\n * - `cached` — every read goes under the lock so cross-process\n * readers and the CLI never observe a stale cache.\n *\n * Preserved (call-sites depend on it):\n * - `mutate(file => void)` — full-envelope callback API for\n * orchestrators that need cross-section visibility.\n * - `invalidateCache(): void` — kept as a documented no-op\n * (Review-pass-4 / MEDIUM-FF). The shared library does not\n * cache; calling `invalidateCache()` is a hint with no effect.\n * - `readI18nSection`, `upsertI18nUnit`, `hashString`,\n * `hashFingerprint` — public API surface consumed by\n * `LabellizeOrchestrator` and `TranslateOrchestrator`.\n *\n * Phase 1 review hardening:\n * - H-1.1: `read()` no longer swallows ZodError into an empty\n * envelope (which silently destroyed sibling sections on\n * overwrite). Malformed envelopes throw\n * `RegistryLockfileRepairableError`; only ENOENT falls back to\n * `emptyLockFile()`.\n * - M-1.1: every read + mutate threads\n * `sectionSchemas: { i18n: I18nLockSectionSchema }` so the\n * companion-owned section is validated on the boundary.\n * - M-1.3: dead `envelope.sections = view.sections` line removed\n * (the cast already shares the underlying reference).\n * - L-1.2: file path comes from the shared\n * `getWildoSaasLockPath(saasRoot)` helper, removing the\n * companion-local `WILDO_SAAS_LOCK_FILE_NAME` constant drift.\n */\n@injectable()\nexport class WildoSaasLockCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n\n constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext) private readonly companionContext: CompanionContext,\n ) {\n this.logDebug = this.logger.debugByType('WildoSaasLockService');\n }\n\n public getLockFilePath(): string {\n return getWildoSaasLockPath(this.companionContext.saasRoot);\n }\n\n /**\n * Read the current lockfile envelope. Unsynchronized — callers\n * needing read-after-write coherence must read INSIDE\n * `mutate(...)`.\n *\n * Returns an empty envelope when the file does not yet exist\n * (ENOENT). Throws `RegistryLockfileRepairableError` when the\n * file exists but fails Zod schema validation, so the\n * orchestrator surfaces a repairable diagnostic rather than\n * silently overwriting valid sibling sections.\n */\n public async read(): Promise<WildoSaasLockFile> {\n try {\n const envelope = await readWildoSaasLock({\n saasRoot: this.companionContext.saasRoot,\n sectionSchemas: { i18n: I18nLockSectionSchema },\n createIfMissing: true,\n });\n // The two envelope types are structurally compatible — both\n // are `{ schemaVersion: 2, generatedAt, sections }`. The\n // companion's `WildoSaasLockFile` types `sections` more\n // permissively than the shared schema, so a downcast is safe.\n return envelopeToWildoSaasLockFile(envelope);\n } catch (err: unknown) {\n if (err instanceof ZodError) {\n throw new RegistryLockfileRepairableError(\n `wildo-saas.lock.json failed schema validation. Run \\`wildo registry repair-lockfile\\` to inspect.`,\n [\n `at: ${this.getLockFilePath()}`,\n ...err.issues.slice(0, 5).map(\n (issue) => `${issue.path.join('.') || '<root>'}: ${issue.message}`,\n ),\n ],\n );\n }\n const errno = (err as NodeJS.ErrnoException)?.code;\n if (errno === 'ENOENT') {\n return emptyLockFile();\n }\n // Anything else (EACCES, EIO, JSON.parse SyntaxError, ...) is\n // a real bug; do not silently overwrite the file.\n throw err;\n }\n }\n\n /**\n * Atomically apply a mutation to the lock file under an OS-level\n * lock + atomic-write commit. The mutator receives a deep-cloned\n * envelope; in-place mutation is safe.\n *\n * Cross-section preservation guarantees (KD-4 / KD-15 / KD-18) are\n * inherited from `withLockfileMutate`: every `sections.*` key the\n * mutator did NOT touch round-trips verbatim. The companion-owned\n * `sections.i18n` schema is validated on read AND post-mutation,\n * so a buggy mutator can never persist an invalid i18n payload.\n */\n public async mutate(\n mutator: (file: WildoSaasLockFile) => void | Promise<void>,\n ): Promise<WildoSaasLockFile> {\n const result = await withLockfileMutate(\n {\n saasRoot: this.companionContext.saasRoot,\n sectionSchemas: { i18n: I18nLockSectionSchema },\n },\n async (envelope) => {\n const view = envelopeToWildoSaasLockFile(envelope);\n await mutator(view);\n // `view` IS `envelope` (the cast is structural), so the\n // mutator's in-place changes are already on `envelope` —\n // no explicit re-assignment needed (M-1.3).\n },\n );\n this.logDebug('Lock file written', {\n filePath: this.getLockFilePath(),\n sectionCount: Object.keys(result.sections).length,\n });\n return envelopeToWildoSaasLockFile(result);\n }\n\n /**\n * Documented no-op. The shared library does not cache reads —\n * every read goes under the OS-level lock. This method is kept\n * to preserve the public API for external callers (Review-pass-4\n * / MEDIUM-FF). Calls have no observable effect.\n *\n * @deprecated The shared lockfile library performs read-under-lock\n * on every call; cache invalidation is no longer meaningful.\n */\n public invalidateCache(): void {\n // intentionally empty\n }\n\n // ================================================================\n // SHA helpers\n // ================================================================\n\n /** sha256 of a UTF-8 string, hex-encoded. */\n public hashString(content: string): string {\n return createHash('sha256').update(content, 'utf-8').digest('hex');\n }\n\n /**\n * Stable hash for an input \"fingerprint\": sorts keys and serializes\n * with a deterministic JSON layout so two runs with the same logical\n * payload produce the same SHA.\n */\n public hashFingerprint(payload: unknown): string {\n return this.hashString(stableStringify(payload));\n }\n\n // ================================================================\n // i18n section helpers (typed convenience over generic mutate)\n // ================================================================\n\n public async readI18nSection(): Promise<I18nLockSection | undefined> {\n const file = await this.read();\n return file.sections.i18n;\n }\n\n /**\n * Insert or replace one unit's i18n lock entry.\n *\n * **Additive only, and there is deliberately NO removal counterpart.** A unit\n * row outlives the unit — rename a resource and the old `resource:todoLists`\n * row stays forever, alongside its generated label files. That leak is known\n * and is reported rather than repaired: see `OrphanLabelArtifactsReport` in\n * `i18n-labelling/utils/orphan-label-artifacts.utils.ts` for the measurement\n * and the reasoning.\n *\n * The short version, so nobody adds the obvious `removeI18nUnit` here as a\n * tidy-up: the only available answer to \"does this unit still exist?\" is the\n * planner's unit list, and that list degrades SILENTLY — a frontend\n * introspection that could not run drops four whole label families from it\n * while looking exactly like an application that has none. A removal API on\n * this service would be called from there, so it would delete lock rows for\n * live units on any run where the frontend dev server was down. Build the\n * removal when the plan's totality is established rather than assumed, and\n * make it an explicit operator verb rather than a side effect of generation.\n *\n * `trackedLocales` is likewise a UNION and never shrinks, which is why it\n * cannot serve as the denominator for \"this locale was dropped\".\n */\n public async upsertI18nUnit(\n unitId: string,\n entry: I18nLockUnitEntry,\n // Only labellize should set / change the section's primary locale.\n // Translate passes `undefined` so locale updates do not rewrite the\n // app-config source-of-truth identity.\n primaryLocale: string | undefined,\n trackedLocales: string[],\n ): Promise<void> {\n await this.mutate((file) => {\n if (!file.sections.i18n && !primaryLocale) {\n throw new Error(\n 'Cannot create i18n lock section without a configured primaryLocale',\n );\n }\n const section: I18nLockSection = file.sections.i18n ?? {\n sectionVersion: 1,\n primaryLocale: primaryLocale!,\n trackedLocales: [],\n units: {},\n };\n if (primaryLocale) {\n section.primaryLocale = primaryLocale;\n }\n const localeSet = new Set([...section.trackedLocales, ...trackedLocales]);\n section.trackedLocales = [...localeSet].sort();\n section.units[unitId] = entry;\n file.sections.i18n = section;\n });\n }\n}\n\n/**\n * Cast the shared envelope into the companion's `WildoSaasLockFile`\n * shape. The two types share a runtime layout (`{ schemaVersion: 2,\n * generatedAt, sections }`); the companion's view types `sections`\n * more permissively, so the cross-cast is safe.\n */\nfunction envelopeToWildoSaasLockFile(envelope: SaasLockfileEnvelope): WildoSaasLockFile {\n return envelope as unknown as WildoSaasLockFile;\n}\n\nfunction stableStringify(value: unknown): string {\n return JSON.stringify(value, (_, v) => {\n if (v && typeof v === 'object' && !Array.isArray(v)) {\n const sorted: Record<string, unknown> = {};\n for (const key of Object.keys(v as Record<string, unknown>).sort()) {\n sorted[key] = (v as Record<string, unknown>)[key];\n }\n return sorted;\n }\n return v;\n });\n}\n\nexport { WILDO_SAAS_LOCK_RELATIVE_PATH };\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wildo-saas-lock.models.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"wildo-saas-lock.models.d.ts","sourceRoot":"","sources":["../../../../../src/core/lock/wildo-saas-lock.models.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,MAAM,WAAW,iBAAiB;IAChC,iFAAiF;IACjF,aAAa,EAAE,CAAC,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE;QACR,IAAI,CAAC,EAAE,eAAe,CAAC;QACvB,4EAA4E;QAC5E,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,uEAAuE;QACvE,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,6EAA6E;QAC7E,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC;KAChC,CAAC;CACH;AAED,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE,CAAC,CAAC;IAClB,0FAA0F;IAC1F,aAAa,EAAE,MAAM,CAAC;IACtB,4CAA4C;IAC5C,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;CAC1C;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,sEAAsE;IACtE,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,6EAA6E;IAC7E,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;IAC7C,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,MAAM,oBAAoB,GAC5B,OAAO,GACP,OAAO,GACP,QAAQ,GACR,WAAW,CAAC;AAEhB,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,oBAAoB,CAAC;IAC7B,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB;AAED,wBAAgB,oBAAoB,CAAC,aAAa,EAAE,MAAM,GAAG,eAAe,CAO3E;AAED,wBAAgB,aAAa,IAAI,iBAAiB,CAMjD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wildo-saas-lock.models.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"wildo-saas-lock.models.js","sourceRoot":"","sources":["../../../../../src/core/lock/wildo-saas-lock.models.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAwEH,MAAM,UAAU,oBAAoB,CAAC,aAAqB;IACxD,OAAO;QACL,cAAc,EAAE,CAAC;QACjB,aAAa;QACb,cAAc,EAAE,EAAE;QAClB,KAAK,EAAE,EAAE;KACV,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,aAAa;IAC3B,OAAO;QACL,aAAa,EAAE,CAAC;QAChB,WAAW,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;QACrC,QAAQ,EAAE,EAAE;KACb,CAAC;AACJ,CAAC","sourcesContent":["/**\n * Schema of `<saasRoot>/.wildo-saas/wildo-saas.lock.json`.\n *\n * Single companion-managed lock file shared by every concern that\n * needs incremental / SHA-tracked work (today: `i18n`; planned shared\n * sections include `providers` for provider/capability bindings and\n * `modules` for registry-installed code modules).\n *\n * Top-level shape is intentionally a discriminated map of sections so\n * adding a new concern only adds a new key, never mutates existing\n * ones. Every section is independently version-stamped so we can\n * migrate one concern's schema without invalidating the whole file.\n */\n\nexport interface WildoSaasLockFile {\n /** Schema marker for forward-compat. Bump only on file-wide breaking changes. */\n schemaVersion: 2;\n generatedAt: string;\n sections: {\n i18n?: I18nLockSection;\n /** Provider/capability bindings from the provider-registration refactor. */\n providers?: unknown;\n /** Installed registry code modules from the module-registry system. */\n modules?: unknown;\n /** Unknown sections must round-trip so one concern never deletes another. */\n [sectionName: string]: unknown;\n };\n}\n\nexport interface I18nLockSection {\n sectionVersion: 1;\n /** Configured application primary locale (`appPreferences.languages.defaultLanguage`). */\n primaryLocale: string;\n /** All target locales currently tracked. */\n trackedLocales: string[];\n /**\n * One entry per labellable unit (component / resource / theme group).\n * Keyed by the unit's stable `id` (see `LabellingUnit.id`).\n */\n units: Record<string, I18nLockUnitEntry>;\n}\n\nexport interface I18nLockUnitEntry {\n category: string;\n /** Display label cached for human-readable diffs in the lock file. */\n displayLabel: string;\n /**\n * SHA of the unit's *input* (sorted keys + spec-context fingerprint).\n * Changes => unit must be re-labellized for the primary locale and\n * re-translated for every target locale.\n */\n inputSha: string;\n /**\n * SHA of the unit's primary-language output file content. Changes =>\n * downstream locales become stale even if `inputSha` is identical\n * (e.g. a manual edit to the primary file should invalidate translations).\n */\n primarySha?: string;\n /** Per-locale translation status, keyed by locale code (e.g. `fr`, `de`). */\n locales: Record<string, I18nLockLocaleEntry>;\n lastLabellizedAt?: string;\n}\n\nexport type I18nLockLocaleStatus =\n | 'fresh' // sha matches inputSha+primarySha; output is up-to-date\n | 'stale' // input or primary changed; needs re-translation\n | 'failed' // last attempt errored\n | 'never_run'; // tracked but never produced\n\nexport interface I18nLockLocaleEntry {\n status: I18nLockLocaleStatus;\n /** SHA of the locale-specific output file content. */\n outputSha?: string;\n lastTranslatedAt?: string;\n lastErrorMessage?: string;\n /**\n * The primary-locale keys whose WORDS changed since this locale was last translated, when the\n * labeller knows exactly which (#1409). Translation then touches only those, so an established\n * translation is not re-worded because an unrelated key was added. ABSENT means \"unknown — translate\n * everything\", which is what a forced regeneration and every older lock entry mean.\n */\n staleKeys?: string[];\n}\n\nexport function emptyI18nLockSection(primaryLocale: string): I18nLockSection {\n return {\n sectionVersion: 1,\n primaryLocale,\n trackedLocales: [],\n units: {},\n };\n}\n\nexport function emptyLockFile(): WildoSaasLockFile {\n return {\n schemaVersion: 2,\n generatedAt: new Date().toISOString(),\n sections: {},\n };\n}\n"]}
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
*/
|
|
15
15
|
import { z } from 'zod';
|
|
16
16
|
export declare const I18nLockLocaleStatusSchema: z.ZodEnum<{
|
|
17
|
-
fresh: "fresh";
|
|
18
17
|
failed: "failed";
|
|
18
|
+
fresh: "fresh";
|
|
19
19
|
stale: "stale";
|
|
20
20
|
never_run: "never_run";
|
|
21
21
|
}>;
|
|
22
22
|
export declare const I18nLockLocaleEntrySchema: z.ZodObject<{
|
|
23
23
|
status: z.ZodEnum<{
|
|
24
|
-
fresh: "fresh";
|
|
25
24
|
failed: "failed";
|
|
25
|
+
fresh: "fresh";
|
|
26
26
|
stale: "stale";
|
|
27
27
|
never_run: "never_run";
|
|
28
28
|
}>;
|
|
@@ -38,8 +38,8 @@ export declare const I18nLockUnitEntrySchema: z.ZodObject<{
|
|
|
38
38
|
primarySha: z.ZodOptional<z.ZodString>;
|
|
39
39
|
locales: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
40
40
|
status: z.ZodEnum<{
|
|
41
|
-
fresh: "fresh";
|
|
42
41
|
failed: "failed";
|
|
42
|
+
fresh: "fresh";
|
|
43
43
|
stale: "stale";
|
|
44
44
|
never_run: "never_run";
|
|
45
45
|
}>;
|
|
@@ -61,8 +61,8 @@ export declare const I18nLockSectionSchema: z.ZodObject<{
|
|
|
61
61
|
primarySha: z.ZodOptional<z.ZodString>;
|
|
62
62
|
locales: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
63
63
|
status: z.ZodEnum<{
|
|
64
|
-
fresh: "fresh";
|
|
65
64
|
failed: "failed";
|
|
65
|
+
fresh: "fresh";
|
|
66
66
|
stale: "stale";
|
|
67
67
|
never_run: "never_run";
|
|
68
68
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wildo-saas-lock.schemas.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"wildo-saas-lock.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/core/lock/wildo-saas-lock.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,0BAA0B;;;;;EAKrC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;iBAMpC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;iBAOlC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;iBAKhC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wildo-saas-lock.schemas.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"wildo-saas-lock.schemas.js","sourceRoot":"","sources":["../../../../../src/core/lock/wildo-saas-lock.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO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,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;IAC1C,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,uBAAuB,CAAC;CACrD,CAAC,CAAC","sourcesContent":["/**\n * Zod schemas mirroring the companion-owned section types in\n * `wildo-saas-lock.models.ts`.\n *\n * These are passed to the shared lockfile library\n * (`@wildo-ai/platform-config-lib > withLockfileMutate /\n * readWildoSaasLock`) as `sectionSchemas: { i18n: I18nLockSectionSchema }`\n * so the i18n payload is validated on every read + write — closing\n * the M-1.1 gap from the Phase 1 review (companion called the\n * shared library WITHOUT validating its own section).\n *\n * Schemas mirror the TypeScript interfaces 1:1; any drift between\n * this file and `wildo-saas-lock.models.ts` is a real bug surface.\n */\n\nimport { z } from 'zod';\n\nexport const I18nLockLocaleStatusSchema = z.enum([\n 'fresh',\n 'stale',\n 'failed',\n 'never_run',\n]);\n\nexport const I18nLockLocaleEntrySchema = z.object({\n status: I18nLockLocaleStatusSchema,\n outputSha: z.string().optional(),\n lastTranslatedAt: z.string().optional(),\n lastErrorMessage: z.string().optional(),\n staleKeys: z.array(z.string()).optional(),\n});\n\nexport const I18nLockUnitEntrySchema = z.object({\n category: z.string(),\n displayLabel: z.string(),\n inputSha: z.string(),\n primarySha: z.string().optional(),\n locales: z.record(z.string(), I18nLockLocaleEntrySchema),\n lastLabellizedAt: z.string().optional(),\n});\n\nexport const I18nLockSectionSchema = z.object({\n sectionVersion: z.literal(1),\n primaryLocale: z.string().min(1),\n trackedLocales: z.array(z.string().min(1)),\n units: z.record(z.string(), I18nLockUnitEntrySchema),\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-runtime-liveness.companion.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"application-runtime-liveness.companion.d.ts","sourceRoot":"","sources":["../../../../../src/core/runtime/application-runtime-liveness.companion.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,6BAA6B;IAC5C,kGAAkG;IAClG,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,6GAA6G;IAC7G,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACjC;AAoBD;;;;GAIG;AACH,wBAAsB,kCAAkC,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,6BAA6B,EAAE,GAAG,SAAS,CAAC,CAuBxI"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-runtime-liveness.companion.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"application-runtime-liveness.companion.js","sourceRoot":"","sources":["../../../../../src/core/runtime/application-runtime-liveness.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AA2BjC;;;;GAIG;AACH,MAAM,uBAAuB,GAAG,QAAQ,CAAC;AAEzC,SAAS,cAAc,CAAC,GAAY;IAClC,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,GAAG,IAAI,CAAC;QAAE,OAAO,KAAK,CAAC;IAChF,IAAI,CAAC;QACH,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;QACrB,OAAO,IAAI,CAAC;IACd,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,iEAAiE;QACjE,OAAQ,KAA+B,CAAC,IAAI,KAAK,OAAO,CAAC;IAC3D,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,kCAAkC,CAAC,QAAgB;IACvE,MAAM,SAAS,GAAG,IAAI,CAAC,QAAQ,EAAE,aAAa,EAAE,iBAAiB,EAAE,aAAa,CAAC,CAAC;IAClF,IAAI,OAAiB,CAAC;IACtB,IAAI,CAAC;QACH,OAAO,GAAG,MAAM,OAAO,CAAC,SAAS,CAAC,CAAC;IACrC,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,MAAM,WAAW,GAAoC,EAAE,CAAC;IACxD,KAAK,MAAM,KAAK,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC;QAC5E,IAAI,MAA+B,CAAC;QACpC,IAAI,CAAC;YACH,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,QAAQ,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,CAA4B,CAAC;QACjG,CAAC;QAAC,MAAM,CAAC;YACP,SAAS;QACX,CAAC;QACD,IAAI,MAAM,CAAC,KAAK,KAAK,uBAAuB,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,WAAW,CAAC;YAAE,SAAS;QAC9F,WAAW,CAAC,IAAI,CAAC;YACf,KAAK,EAAE,OAAO,MAAM,CAAC,KAAK,KAAK,QAAQ,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC;YACnH,OAAO,EAAE,OAAO,MAAM,CAAC,OAAO,KAAK,QAAQ,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI;SACjG,CAAC,CAAC;IACL,CAAC;IACD,OAAO,WAAW,CAAC;AACrB,CAAC","sourcesContent":["import { readdir, readFile } from 'node:fs/promises';\nimport { join } from 'node:path';\n\n/**\n * Which of the application's supervised runtimes CANNOT START right now (#1537).\n *\n * The creation lane never asked whether the application it builds is alive. On the first end-to-end\n * run the backend crashed on a missing column, the runtime supervisor respawned it five times and\n * PAUSED with `CRASH_RESPAWN_EXHAUSTED`, and the build went on landing tasks above it for hours while\n * Home read \"The application works\" as progress. The supervisor had decided, and said so on every\n * diagnostics cycle; nothing in the lane read it.\n *\n * So this reads exactly that decision rather than probing anything: each supervisor publishes its\n * state to `.wildo-saas/runtime-signals/supervisors/<label>.json`, and PAUSED is the supervisor\n * stating it will not start the runtime until something changes — a crash budget spent, or a\n * readiness condition (a migration owed, a dependency not built) that respawning cannot satisfy.\n *\n * Only a LIVE supervisor's word counts. When the dev stack is stopped the files stay behind holding\n * their last state, and a stale PAUSED would report an application down that nobody is running; its\n * producer's pid being gone makes that entry say nothing, rather than something false.\n */\nexport interface UnavailableApplicationRuntime {\n /** The supervisor's label — the runtime's name in the dev loop (`backend-api`, `main-app`, …). */\n readonly label: string;\n /** Why it is paused, as the supervisor names it (`CRASH_RESPAWN_EXHAUSTED`, a readiness reason), or null. */\n readonly blocker: string | null;\n}\n\n/*\n * semantic-literal-boundary: the dev loop's supervisor protocol is written by\n * `scripts/dev-orchestrator/local-dev-protocol.mjs` (`LocalDevSupervisorState.PAUSED`), a dependency-free\n * script the distributed companion cannot import. This is the one place its value is read.\n */\nconst SUPERVISOR_STATE_PAUSED = 'PAUSED';\n\nfunction isProcessAlive(pid: unknown): boolean {\n if (typeof pid !== 'number' || !Number.isInteger(pid) || pid <= 0) return false;\n try {\n process.kill(pid, 0);\n return true;\n } catch (error) {\n // EPERM: the process exists and belongs to someone else — alive.\n return (error as NodeJS.ErrnoException).code === 'EPERM';\n }\n}\n\n/**\n * The application's runtimes whose live supervisor has paused them. `undefined` when the application\n * runs under no supervised dev loop (no supervisor directory), which is \"cannot tell\" and never \"all\n * up\"; an empty list means every supervisor that could answer says its runtime is up or starting.\n */\nexport async function readUnavailableApplicationRuntimes(saasRoot: string): Promise<readonly UnavailableApplicationRuntime[] | undefined> {\n const directory = join(saasRoot, '.wildo-saas', 'runtime-signals', 'supervisors');\n let entries: string[];\n try {\n entries = await readdir(directory);\n } catch {\n return undefined;\n }\n const unavailable: UnavailableApplicationRuntime[] = [];\n for (const entry of entries.filter((name) => name.endsWith('.json')).sort()) {\n let status: Record<string, unknown>;\n try {\n status = JSON.parse(await readFile(join(directory, entry), 'utf8')) as Record<string, unknown>;\n } catch {\n continue;\n }\n if (status.state !== SUPERVISOR_STATE_PAUSED || !isProcessAlive(status.producerPid)) continue;\n unavailable.push({\n label: typeof status.label === 'string' && status.label.length > 0 ? status.label : entry.slice(0, -'.json'.length),\n blocker: typeof status.blocker === 'string' && status.blocker.length > 0 ? status.blocker : null,\n });\n }\n return unavailable;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companion-endpoint-record.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"companion-endpoint-record.d.ts","sourceRoot":"","sources":["../../../../../src/core/runtime/companion-endpoint-record.ts"],"names":[],"mappings":"AAMA;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAUvF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companion-endpoint-record.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"companion-endpoint-record.js","sourceRoot":"","sources":["../../../../../src/core/runtime/companion-endpoint-record.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,4BAA4B,EAAgC,MAAM,gCAAgC,CAAC;AAE5G;;;;;GAKG;AACH,MAAM,UAAU,uBAAuB,CAAC,QAAgB,EAAE,MAAc;IACtE,IAAI,CAAC;QACH,MAAM,SAAS,GAAG,gBAAgB,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC;QACvD,SAAS,CAAC,SAAS,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;QAC1C,MAAM,MAAM,GAA4B,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,CAAC,GAAG,EAAE,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,EAAE,CAAC;QAC1G,aAAa,CAAC,IAAI,CAAC,SAAS,EAAE,4BAA4B,CAAC,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC;QACrG,OAAO,IAAI,CAAC;IACd,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAChE,CAAC;AACH,CAAC","sourcesContent":["import { mkdirSync, writeFileSync } from 'node:fs';\nimport { join } from 'node:path';\n\nimport { resolveAppLayout } from '@wildo-ai/platform-config-lib';\nimport { COMPANION_ENDPOINT_FILE_NAME, type CompanionEndpointRecord } from '@wildo-ai/platform-core-shared';\n\n/**\n * Record where this companion listens, for the console's fast readers (#1657).\n *\n * Best-effort BY DESIGN: the record is a convenience for a hook and a status line, and a companion that\n * cannot write it still serves every request. A failure is returned for the caller to log, never thrown.\n */\nexport function recordCompanionEndpoint(saasRoot: string, origin: string): string | null {\n try {\n const stateHome = resolveAppLayout(saasRoot).stateHome;\n mkdirSync(stateHome, { recursive: true });\n const record: CompanionEndpointRecord = { origin, pid: process.pid, startedAt: new Date().toISOString() };\n writeFileSync(join(stateHome, COMPANION_ENDPOINT_FILE_NAME), `${JSON.stringify(record, null, 2)}\\n`);\n return null;\n } catch (error) {\n return error instanceof Error ? error.message : String(error);\n }\n}\n"]}
|
|
@@ -14,17 +14,47 @@ export declare function resolveCompanionPackageRoot(fromDirectory?: string): str
|
|
|
14
14
|
* secret apply below, so the two cannot disagree about which file a restart would load.
|
|
15
15
|
*/
|
|
16
16
|
export declare const COMPANION_ENV_FILE_PATH: string;
|
|
17
|
+
/** A request to apply a name the companion's `.env` has never carried. A caller error, never applied. */
|
|
18
|
+
export declare class CompanionEnvVariableRefusal extends Error {
|
|
19
|
+
readonly envVarNames: readonly string[];
|
|
20
|
+
constructor(envVarNames: readonly string[]);
|
|
21
|
+
}
|
|
22
|
+
/** What applying one variable did: whether it is now present in this process. */
|
|
23
|
+
export interface CompanionEnvVariableApplication {
|
|
24
|
+
readonly envVarName: string;
|
|
25
|
+
readonly present: boolean;
|
|
26
|
+
}
|
|
17
27
|
/**
|
|
18
|
-
* Apply
|
|
28
|
+
* Apply variables of the companion's REGENERATED `.env` to this process, as a restart would (#1637).
|
|
19
29
|
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
30
|
+
* A secret changed while the companion runs would otherwise reach it only at its next start, because the
|
|
31
|
+
* `.env` is read once, at boot. Restarting is not the answer either: it ends every coding or playbook run
|
|
32
|
+
* in flight, and a created application's companion has no supervisor to restart it (it runs as plain
|
|
33
|
+
* `node --env-file-if-exists=.env` under `pnpm -r run dev`). Provider secrets are read from `process.env`
|
|
34
|
+
* at call time (`ExternalProvidersRegistryBackendService.getProviderSecret`), so setting the variable is
|
|
35
|
+
* enough for the next call to use it.
|
|
26
36
|
*
|
|
27
|
-
*
|
|
37
|
+
* Takes NAMES, never values. Each value is read back from the file `config sync` just wrote — the exact
|
|
38
|
+
* bytes a restart would load — so a key the companion's scope does not receive (the env builder confines
|
|
39
|
+
* it) is removed here too, never injected, and the route that calls this cannot be used to plant a value.
|
|
40
|
+
* All names are checked before any is applied, so a refused request changes nothing.
|
|
41
|
+
*
|
|
42
|
+
* Where this differs from a restart: a value the SHELL exported before `wildo local dev` wins at boot
|
|
43
|
+
* (neither `--env-file` nor `dotenv` overrides an existing variable), but this replaces it — or, on an
|
|
44
|
+
* unset, removes it. The change was made deliberately through `secrets.json`, so the file is what the
|
|
45
|
+
* person meant; a shell export of the same name is the stale one.
|
|
46
|
+
*/
|
|
47
|
+
export declare function applyCompanionEnvVariables(envVarNames: readonly string[], envFilePath?: string): CompanionEnvVariableApplication[];
|
|
48
|
+
/**
|
|
49
|
+
* Apply the variables, then rebuild the provider registry so the next provider call sees them. The ONE
|
|
50
|
+
* sequence both doors use: the workbench's secrets section, and `wildo secrets set` from a terminal
|
|
51
|
+
* (`POST /api/companion/runtime/env/apply`).
|
|
52
|
+
*
|
|
53
|
+
* If the refresh throws, the variables ARE already in `process.env` (provider secrets are read from it at
|
|
54
|
+
* call time), but a registry built from the old configuration may still refuse; the error propagates so the
|
|
55
|
+
* caller reports a failure and the person restarts, which is the safe reading.
|
|
28
56
|
*/
|
|
29
|
-
export declare function
|
|
57
|
+
export declare function reloadCompanionEnvVariables(envVarNames: readonly string[], providersRegistry: {
|
|
58
|
+
refreshFromConfig(): unknown;
|
|
59
|
+
}, envFilePath?: string): Promise<CompanionEnvVariableApplication[]>;
|
|
30
60
|
//# sourceMappingURL=companion-env-file.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companion-env-file.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"companion-env-file.d.ts","sourceRoot":"","sources":["../../../../../src/core/runtime/companion-env-file.ts"],"names":[],"mappings":"AAMA;;;;;;;;GAQG;AACH,wBAAgB,2BAA2B,CAAC,aAAa,GAAE,MAAqD,GAAG,MAAM,CAQxH;AAED;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,QAAmD,CAAC;AAoBxF,yGAAyG;AACzG,qBAAa,2BAA4B,SAAQ,KAAK;aACjB,WAAW,EAAE,SAAS,MAAM,EAAE;gBAA9B,WAAW,EAAE,SAAS,MAAM,EAAE;CAIlE;AAED,iFAAiF;AACjF,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,0BAA0B,CACxC,WAAW,EAAE,SAAS,MAAM,EAAE,EAC9B,WAAW,GAAE,MAAgC,GAC5C,+BAA+B,EAAE,CAmBnC;AAED;;;;;;;;GAQG;AACH,wBAAsB,2BAA2B,CAC/C,WAAW,EAAE,SAAS,MAAM,EAAE,EAC9B,iBAAiB,EAAE;IAAE,iBAAiB,IAAI,OAAO,CAAA;CAAE,EACnD,WAAW,GAAE,MAAgC,GAC5C,OAAO,CAAC,+BAA+B,EAAE,CAAC,CAI5C"}
|
|
@@ -28,26 +28,85 @@ export function resolveCompanionPackageRoot(fromDirectory = path.dirname(fileURL
|
|
|
28
28
|
* secret apply below, so the two cannot disagree about which file a restart would load.
|
|
29
29
|
*/
|
|
30
30
|
export const COMPANION_ENV_FILE_PATH = path.join(resolveCompanionPackageRoot(), '.env');
|
|
31
|
+
/** The variable names an env file carries; empty when it cannot be read. */
|
|
32
|
+
function readEnvFileKeys(envFilePath) {
|
|
33
|
+
try {
|
|
34
|
+
return Object.keys(dotenv.parse(readFileSync(envFilePath, 'utf8')));
|
|
35
|
+
}
|
|
36
|
+
catch {
|
|
37
|
+
return [];
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Every variable name the companion's `.env` has carried while this process ran: what it held when the
|
|
42
|
+
* process started (read when this module loads, which `index.ts` does before it loads the file), and every
|
|
43
|
+
* name applied since. A name outside it and outside the current file is not a companion env variable, so
|
|
44
|
+
* {@link applyCompanionEnvVariables} refuses it rather than deleting it — `PATH` must not be removable by
|
|
45
|
+
* naming it.
|
|
46
|
+
*/
|
|
47
|
+
const companionEnvFileKeys = new Set(readEnvFileKeys(COMPANION_ENV_FILE_PATH));
|
|
48
|
+
/** A request to apply a name the companion's `.env` has never carried. A caller error, never applied. */
|
|
49
|
+
export class CompanionEnvVariableRefusal extends Error {
|
|
50
|
+
envVarNames;
|
|
51
|
+
constructor(envVarNames) {
|
|
52
|
+
super(`Not a variable of the companion's .env: ${envVarNames.join(', ')}.`);
|
|
53
|
+
this.envVarNames = envVarNames;
|
|
54
|
+
this.name = 'CompanionEnvVariableRefusal';
|
|
55
|
+
}
|
|
56
|
+
}
|
|
31
57
|
/**
|
|
32
|
-
* Apply
|
|
58
|
+
* Apply variables of the companion's REGENERATED `.env` to this process, as a restart would (#1637).
|
|
33
59
|
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
60
|
+
* A secret changed while the companion runs would otherwise reach it only at its next start, because the
|
|
61
|
+
* `.env` is read once, at boot. Restarting is not the answer either: it ends every coding or playbook run
|
|
62
|
+
* in flight, and a created application's companion has no supervisor to restart it (it runs as plain
|
|
63
|
+
* `node --env-file-if-exists=.env` under `pnpm -r run dev`). Provider secrets are read from `process.env`
|
|
64
|
+
* at call time (`ExternalProvidersRegistryBackendService.getProviderSecret`), so setting the variable is
|
|
65
|
+
* enough for the next call to use it.
|
|
40
66
|
*
|
|
41
|
-
*
|
|
67
|
+
* Takes NAMES, never values. Each value is read back from the file `config sync` just wrote — the exact
|
|
68
|
+
* bytes a restart would load — so a key the companion's scope does not receive (the env builder confines
|
|
69
|
+
* it) is removed here too, never injected, and the route that calls this cannot be used to plant a value.
|
|
70
|
+
* All names are checked before any is applied, so a refused request changes nothing.
|
|
71
|
+
*
|
|
72
|
+
* Where this differs from a restart: a value the SHELL exported before `wildo local dev` wins at boot
|
|
73
|
+
* (neither `--env-file` nor `dotenv` overrides an existing variable), but this replaces it — or, on an
|
|
74
|
+
* unset, removes it. The change was made deliberately through `secrets.json`, so the file is what the
|
|
75
|
+
* person meant; a shell export of the same name is the stale one.
|
|
42
76
|
*/
|
|
43
|
-
export function
|
|
77
|
+
export function applyCompanionEnvVariables(envVarNames, envFilePath = COMPANION_ENV_FILE_PATH) {
|
|
44
78
|
const parsed = dotenv.parse(readFileSync(envFilePath, 'utf8'));
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
79
|
+
/*
|
|
80
|
+
* OWN properties only. `dotenv.parse` returns a plain object, so `name in parsed` admitted every
|
|
81
|
+
* `Object.prototype` member (`hasOwnProperty`, `constructor`, …): applying one set a process variable to a
|
|
82
|
+
* function's source text and shadowed the method on `process.env` (found in review, reproduced).
|
|
83
|
+
*/
|
|
84
|
+
const unknown = envVarNames.filter((name) => !Object.hasOwn(parsed, name) && !companionEnvFileKeys.has(name));
|
|
85
|
+
if (unknown.length > 0)
|
|
86
|
+
throw new CompanionEnvVariableRefusal(unknown);
|
|
87
|
+
return envVarNames.map((envVarName) => {
|
|
88
|
+
companionEnvFileKeys.add(envVarName);
|
|
89
|
+
const value = Object.hasOwn(parsed, envVarName) ? parsed[envVarName] : undefined;
|
|
90
|
+
if (value === undefined || value.length === 0) {
|
|
91
|
+
delete process.env[envVarName];
|
|
92
|
+
return { envVarName, present: false };
|
|
93
|
+
}
|
|
94
|
+
process.env[envVarName] = value;
|
|
95
|
+
return { envVarName, present: true };
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Apply the variables, then rebuild the provider registry so the next provider call sees them. The ONE
|
|
100
|
+
* sequence both doors use: the workbench's secrets section, and `wildo secrets set` from a terminal
|
|
101
|
+
* (`POST /api/companion/runtime/env/apply`).
|
|
102
|
+
*
|
|
103
|
+
* If the refresh throws, the variables ARE already in `process.env` (provider secrets are read from it at
|
|
104
|
+
* call time), but a registry built from the old configuration may still refuse; the error propagates so the
|
|
105
|
+
* caller reports a failure and the person restarts, which is the safe reading.
|
|
106
|
+
*/
|
|
107
|
+
export async function reloadCompanionEnvVariables(envVarNames, providersRegistry, envFilePath = COMPANION_ENV_FILE_PATH) {
|
|
108
|
+
const applied = applyCompanionEnvVariables(envVarNames, envFilePath);
|
|
109
|
+
await providersRegistry.refreshFromConfig();
|
|
110
|
+
return applied;
|
|
52
111
|
}
|
|
53
112
|
//# sourceMappingURL=companion-env-file.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companion-env-file.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"companion-env-file.js","sourceRoot":"","sources":["../../../../../src/core/runtime/companion-env-file.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B;;;;;;;;GAQG;AACH,MAAM,UAAU,2BAA2B,CAAC,gBAAwB,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC9G,IAAI,SAAS,GAAG,aAAa,CAAC;IAC9B,SAAS,CAAC;QACR,IAAI,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,cAAc,CAAC,CAAC;YAAE,OAAO,SAAS,CAAC;QACvE,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QACvC,IAAI,MAAM,KAAK,SAAS;YAAE,MAAM,IAAI,KAAK,CAAC,yBAAyB,aAAa,iDAAiD,CAAC,CAAC;QACnI,SAAS,GAAG,MAAM,CAAC;IACrB,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,IAAI,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,MAAM,CAAC,CAAC;AAExF,4EAA4E;AAC5E,SAAS,eAAe,CAAC,WAAmB;IAC1C,IAAI,CAAC;QACH,O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AAC,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QACjF,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC9C,OAAO,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;YAC/B,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;QACxC,CAAC;QACD,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC;QAChC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IACvC,CAAC,CAAC,CAAC;AACL,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,KAAK,UAAU,2BAA2B,CAC/C,WAA8B,EAC9B,iBAAmD,EACnD,cAAsB,uBAAuB;IAE7C,MAAM,OAAO,GAAG,0BAA0B,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;IACrE,MAAM,iBAAiB,CAAC,iBAAiB,EAAE,CAAC;IAC5C,OAAO,OAAO,CAAC;AACjB,CAAC","sourcesContent":["import { existsSync, readFileSync } from 'node:fs';\nimport path from 'node:path';\nimport { fileURLToPath } from 'node:url';\n\nimport dotenv from 'dotenv';\n\n/**\n * The companion's package root: the nearest directory above `fromDirectory` holding a `package.json`.\n *\n * Anchored on the manifest rather than on a relative hop, because the hop differs by layout: this module is\n * `src/core/runtime/` in the source tree and `dist/esm/core/runtime/` in the delivered companion, so a fixed\n * `../../../.env` named the package root in one and `dist/.env` in the other. The #1637 review found the\n * delivered companion resolving that `dist/.env`, which does not exist — while the file `config sync` writes,\n * and the one the supervisor starts the companion beside (`--cwd <package root>`), is `<package root>/.env`.\n */\nexport function resolveCompanionPackageRoot(fromDirectory: string = path.dirname(fileURLToPath(import.meta.url))): string {\n let directory = fromDirectory;\n for (;;) {\n if (existsSync(path.join(directory, 'package.json'))) return directory;\n const parent = path.dirname(directory);\n if (parent === directory) throw new Error(`No package.json above ${fromDirectory}: the companion's package root cannot be found.`);\n directory = parent;\n }\n}\n\n/**\n * The environment file the companion loads at start: `<package root>/.env`, written by\n * `wildo config sync --domain env-files`. ONE definition, read by the entry point and by the in-process\n * secret apply below, so the two cannot disagree about which file a restart would load.\n */\nexport const COMPANION_ENV_FILE_PATH = path.join(resolveCompanionPackageRoot(), '.env');\n\n/** The variable names an env file carries; empty when it cannot be read. */\nfunction readEnvFileKeys(envFilePath: string): string[] {\n try {\n return Object.keys(dotenv.parse(readFileSync(envFilePath, 'utf8')));\n } catch {\n return [];\n }\n}\n\n/**\n * Every variable name the companion's `.env` has carried while this process ran: what it held when the\n * process started (read when this module loads, which `index.ts` does before it loads the file), and every\n * name applied since. A name outside it and outside the current file is not a companion env variable, so\n * {@link applyCompanionEnvVariables} refuses it rather than deleting it — `PATH` must not be removable by\n * naming it.\n */\nconst companionEnvFileKeys = new Set<string>(readEnvFileKeys(COMPANION_ENV_FILE_PATH));\n\n/** A request to apply a name the companion's `.env` has never carried. A caller error, never applied. */\nexport class CompanionEnvVariableRefusal extends Error {\n public constructor(public readonly envVarNames: readonly string[]) {\n super(`Not a variable of the companion's .env: ${envVarNames.join(', ')}.`);\n this.name = 'CompanionEnvVariableRefusal';\n }\n}\n\n/** What applying one variable did: whether it is now present in this process. */\nexport interface CompanionEnvVariableApplication {\n readonly envVarName: string;\n readonly present: boolean;\n}\n\n/**\n * Apply variables of the companion's REGENERATED `.env` to this process, as a restart would (#1637).\n *\n * A secret changed while the companion runs would otherwise reach it only at its next start, because the\n * `.env` is read once, at boot. Restarting is not the answer either: it ends every coding or playbook run\n * in flight, and a created application's companion has no supervisor to restart it (it runs as plain\n * `node --env-file-if-exists=.env` under `pnpm -r run dev`). Provider secrets are read from `process.env`\n * at call time (`ExternalProvidersRegistryBackendService.getProviderSecret`), so setting the variable is\n * enough for the next call to use it.\n *\n * Takes NAMES, never values. Each value is read back from the file `config sync` just wrote — the exact\n * bytes a restart would load — so a key the companion's scope does not receive (the env builder confines\n * it) is removed here too, never injected, and the route that calls this cannot be used to plant a value.\n * All names are checked before any is applied, so a refused request changes nothing.\n *\n * Where this differs from a restart: a value the SHELL exported before `wildo local dev` wins at boot\n * (neither `--env-file` nor `dotenv` overrides an existing variable), but this replaces it — or, on an\n * unset, removes it. The change was made deliberately through `secrets.json`, so the file is what the\n * person meant; a shell export of the same name is the stale one.\n */\nexport function applyCompanionEnvVariables(\n envVarNames: readonly string[],\n envFilePath: string = COMPANION_ENV_FILE_PATH,\n): CompanionEnvVariableApplication[] {\n const parsed = dotenv.parse(readFileSync(envFilePath, 'utf8'));\n /*\n * OWN properties only. `dotenv.parse` returns a plain object, so `name in parsed` admitted every\n * `Object.prototype` member (`hasOwnProperty`, `constructor`, …): applying one set a process variable to a\n * function's source text and shadowed the method on `process.env` (found in review, reproduced).\n */\n const unknown = envVarNames.filter((name) => !Object.hasOwn(parsed, name) && !companionEnvFileKeys.has(name));\n if (unknown.length > 0) throw new CompanionEnvVariableRefusal(unknown);\n return envVarNames.map((envVarName) => {\n companionEnvFileKeys.add(envVarName);\n const value = Object.hasOwn(parsed, envVarName) ? parsed[envVarName] : undefined;\n if (value === undefined || value.length === 0) {\n delete process.env[envVarName];\n return { envVarName, present: false };\n }\n process.env[envVarName] = value;\n return { envVarName, present: true };\n });\n}\n\n/**\n * Apply the variables, then rebuild the provider registry so the next provider call sees them. The ONE\n * sequence both doors use: the workbench's secrets section, and `wildo secrets set` from a terminal\n * (`POST /api/companion/runtime/env/apply`).\n *\n * If the refresh throws, the variables ARE already in `process.env` (provider secrets are read from it at\n * call time), but a registry built from the old configuration may still refuse; the error propagates so the\n * caller reports a failure and the person restarts, which is the safe reading.\n */\nexport async function reloadCompanionEnvVariables(\n envVarNames: readonly string[],\n providersRegistry: { refreshFromConfig(): unknown },\n envFilePath: string = COMPANION_ENV_FILE_PATH,\n): Promise<CompanionEnvVariableApplication[]> {\n const applied = applyCompanionEnvVariables(envVarNames, envFilePath);\n await providersRegistry.refreshFromConfig();\n return applied;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companion-startup-assembly.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"companion-startup-assembly.d.ts","sourceRoot":"","sources":["../../../../../src/core/runtime/companion-startup-assembly.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EAI1B,MAAM,4BAA4B,CAAC;AA2BpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gDAAgD,CAAC;AAI7F;;;GAGG;AACH,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,SAAS,EAAE,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC;IACjE,QAAQ,CAAC,aAAa,EAAE,sBAAsB,CAAC;CAChD;AA6DD;;;;;;;;;;;GAWG;AACH,wBAAsB,wBAAwB,CAC5C,gBAAgB,EAAE,gBAAgB,EAClC,aAAa,EAAE,sBAAsB,GACpC,OAAO,CAAC,yBAAyB,CAAC,CAwIpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companion-startup-assembly.js","sourceRoot":"","sources":["../../../../src/core/runtime/companion-startup-assembly.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,2BAA2B,EAC3B,mBAAmB,GACpB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,wCAAwC,EAAE,MAAM,+BAA+B,CAAC;AAGzF,OAAO,EAAE,WAAW,EAAE,MAAM,6DAA6D,CAAC;AAC1F,OAAO,EAEL,uBAAuB,GACxB,MAAM,4BAA4B,CAAC;AAC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AG,mBAAmB;gBACtB,6FAA6F;gBAC7F,GAAG,4BAA4B;gBAC/B,uEAAuE;gBACvE,0EAA0E;gBAC1E,wBAAwB,EAAE;gBAC1B,wEAAwE;gBACxE,uEAAuE;gBACvE,mBAAmB,EAAE;gBACrB,2DAA2D;gBAC3D,qEAAqE;gBACrE,uDAAuD;gBACvD,iCAAiC,EAAE;gBACnC,kEAAkE;gBAClE,iEAAiE;gBACjE,8DAA8D;gBAC9D,+BAA+B,EAAE;gBACjC,gEAAgE;gBAChE,kCAAkC,EAAE;gBACpC,8DAA8D;gBAC9D,GAAG,qBAAqB,CAAC,MAAM;aAChC;SACF;KACF,CAAC;IAEF,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC;AACtC,CAAC","sourcesContent":["import {\n setupSaasBackendInjection,\n marketGenerationAgent,\n MARKET_GENERATION_AGENT_REF,\n describeCaughtError,\n} from '@wildo-ai/saas-backend-lib';\nimport type { FlowsActors_Agent } from '@wildo-ai/saas-models';\nimport { readFile } from 'node:fs/promises';\nimport { join } from 'node:path';\n\nimport { PROVIDER_RUNTIME_ARTIFACT_RELATIVE_PATHS } from '@wildo-ai/platform-config-lib';\nimport type { SaasRuntimeProvidersArtifact } from '@wildo-ai/platform-config-lib';\n\nimport { emailAgents } from '../../email/models/email-template.actors-system.definitions';\nimport {\n CompanionController,\n setupCompanionInjection,\n} from '../inject/models/container';\nimport { COMPANION_SERVICE_TYPES } from '../inject/models/service-types';\nimport { buildLabellingActorSystemDefinitions } from '../../i18n-labelling/models/labelling.actors-system.definitions';\nimport { buildMetaWorkflowsActorSystemDefinitions } from '../../meta-workflows/models/meta-workflows.actors-system.definitions';\nimport { applicationCodingAgents, buildApplicationCodingActorSystemDefinitions } from '../../meta-workflows/models/application-coding-agent.actors-system.definitions';\nimport { buildApplicationBuildActorSystemDefinitions } from '../../meta-workflows/models/application-build.actors-system.definitions';\nimport { applicationResearchAgents } from '../../meta-workflows/models/application-research-agent.actors-system.definitions';\nimport { briefAdequacyAgents } from '../../meta-workflows/models/brief-adequacy.actors-system.definitions';\nimport { parkedQuestionAnswererAgents } from '../../claude-cli/models/parked-question-answerer.actors-system.definitions';\nimport { buildLogoGenerationAgent } from '../../brand/models/logo-generation.actors-system.definitions';\nimport { buildLogoJudgeAgent } from '../../brand/models/logo-judge.actors-system.definitions';\nimport { buildExpertPersonaDerivationAgent } from '../../expert-personas/models/expert-persona-derivation.actors-system.definitions';\nimport { buildExpertPersonaCritiqueAgent } from '../../expert-personas/models/expert-persona-critique.actors-system.definitions';\nimport { buildDeliberationTextProducerAgent } from '../../deliberations/models/deliberation-agents.actors-system.definitions';\nimport { loadCommittedExpertAgents } from '../../deliberations/utils/load-committed-expert-agents';\nimport type { CompanionContext } from '../context/companion-context';\nimport { loadBackendCompanionExports } from '../context/companion-package-loaders.companion';\nimport type { CompanionRuntimeConfig } from './models/companion-runtime.models';\nimport type { CompanionStartupConfig } from './services/start-companion-application.service';\nimport { buildCreationConversationFunctionTools } from '../../creation-conversation/creation-conversation.function-tools';\nimport { creationConversationAgent, creationConversationFactoryMap } from '../../creation-conversation/creation-conversation.actors-system.definitions';\n\n/**\n * The complete ordinary companion composition: the DI container and the exact\n * startup config object `StartCompanionApplicationService.initialize` accepts.\n */\nexport interface AssembledCompanionStartup {\n readonly container: ReturnType<typeof setupSaasBackendInjection>;\n readonly startupConfig: CompanionStartupConfig;\n}\n\n/**\n * Loads the companion's provider-runtime topology from the APPLICATION's generated JSON artifact\n * (`.wildo-saas/generated/providers/companion.runtime-providers.generated.json`).\n *\n * This used to be a compiled-in `src/generated/wildo-provider-runtime.generated.ts` module, like\n * the backend/minion/worker hosts still use. That shape cannot survive the dist-only companion\n * distribution (issue #64): the generated module is APP-SPECIFIC data, the canonical companion\n * package at `platform/factory` is app-agnostic, and the delivered drop carries no source and no\n * compiler. The artifact content is pure environment-independent topology data, and `wildo config\n * sync` already materializes it as JSON at a path this process can reach through its application\n * root — so the JSON is the one authority and no per-companion module exists any more.\n */\nasync function loadProviderRuntime(saasRoot: string): Promise<SaasRuntimeProvidersArtifact> {\n const artifactPath = join(saasRoot, PROVIDER_RUNTIME_ARTIFACT_RELATIVE_PATHS.companion);\n try {\n const providerRuntime = JSON.parse(await readFile(artifactPath, 'utf8')) as SaasRuntimeProvidersArtifact;\n if (!providerRuntime?.scope || providerRuntime.artifactKind !== 'companion') {\n throw new Error('Companion provider runtime artifact does not carry a companion scope.');\n }\n return providerRuntime;\n } catch (error) {\n throw new Error(\n `Missing or invalid companion provider runtime artifact at ${artifactPath}. `\n + 'Run `wildo config sync` before starting this companion. '\n + describeCaughtError(error),\n );\n }\n}\n\n/**\n * Resolve the market generation agent the companion registers under\n * `MARKET_GENERATION_AGENT_REF`.\n *\n * Returns the application-authored override\n * (`BackendCompanionExports.marketGenerationAgentOverride`) when present,\n * otherwise the framework default (`marketGenerationAgent` from\n * `@wildo-ai/saas-backend-lib`). The override must reuse the canonical ref:\n * the market service invokes the agent by that fixed ref, so an override\n * under a different ref would be dead-registered and never reached. We fail\n * fast at startup with a precise message rather than silently rewrite the\n * ref (a silent rewrite would mask the authoring mistake).\n */\nfunction resolveMarketGenerationAgent(\n override: FlowsActors_Agent | undefined,\n): FlowsActors_Agent {\n if (!override) {\n return marketGenerationAgent;\n }\n if (override.ref !== MARKET_GENERATION_AGENT_REF) {\n throw new Error(\n `Application market generation agent override must use ref \"${MARKET_GENERATION_AGENT_REF}\" `\n + `(received \"${override.ref}\"). The companion invokes the market generation agent by this fixed `\n + `ref, so an override under a different ref would never be reached. Set the override's \\`ref\\` to `\n + `the canonical value (import MARKET_GENERATION_AGENT_REF from '@wildo-ai/saas-backend-lib').`,\n );\n }\n return override;\n}\n\n/**\n * Assemble the ONE ordinary companion startup composition without starting it.\n *\n * This is the single authority for what the companion mounts and registers:\n * `src/index.ts` starts exactly this composition, and the explicit\n * first-activation maintenance operation (Step 4) boots the same assembly so\n * the startup-composition observer captures the true ordinary controller/agent\n * graph rather than a hand-maintained copy that could drift from it. Assembly\n * performs loader I/O (backend companion exports, generated provider runtime,\n * committed expert charters) and DI wiring only — no HTTP, no Mongo, no\n * continuity recovery, no durable effect.\n */\nexport async function assembleCompanionStartup(\n companionContext: CompanionContext,\n runtimeConfig: CompanionRuntimeConfig,\n): Promise<AssembledCompanionStartup> {\n const { backendConfig, marketGenerationAgentOverride } = await loadBackendCompanionExports(companionContext);\n const providerRuntime = await loadProviderRuntime(companionContext.saasRoot);\n\n // The market generation agent ships a framework default; the application\n // may override provider/model/persona via its backend companion-exports.\n const effectiveMarketGenerationAgent = resolveMarketGenerationAgent(marketGenerationAgentOverride);\n\n // Charter-built expert agents (RF-6): one deliberation agent per\n // COMMITTED ExpertPersonaCharter. Fail-open here (an app without\n // charters boots normally); the deliberation composer fail-closes.\n const committedExpertAgents = await loadCommittedExpertAgents(companionContext.saasRoot);\n\n const labellingDefinitions = buildLabellingActorSystemDefinitions();\n const metaWorkflowsDefinitions = buildMetaWorkflowsActorSystemDefinitions();\n\n const container = setupCompanionInjection(\n setupSaasBackendInjection() as never,\n companionContext,\n runtimeConfig,\n ) as ReturnType<typeof setupSaasBackendInjection>;\n\n const companionController = container.get(\n COMPANION_SERVICE_TYPES.CompanionController as never,\n ) as CompanionController;\n\n /*\n * The creation assistant's tools hold the container LAZILY: a tool resolves its service on the\n * turn that calls it, never at assembly, so the tool list can be declared here beside the systems\n * and agents without ordering the container's own resolution around it (#1454, Step 4).\n */\n const creationConversationTools = buildCreationConversationFunctionTools({\n get: <T>(identifier: symbol): T => container.get(identifier as never) as T,\n });\n\n\n \n // Public-v2 assessment surface: catalog status/next reads plus token-gated\n // episode-addressed status/next and the non-terminal working-admission\n // `run`. READY posture only — see `customControllers` below.\n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n\n const startupConfig: CompanionStartupConfig = {\n /*\n * Mounted in BOTH postures. In the healthy one it is an ordinary operator route; in the degraded one it is\n * the only way out, since a registry the companion cannot accept is exactly what closed everything else.\n */\n /*\n * The journey, public-v2 episode, workbench and assurance HTTP surfaces were deleted with the\n * accepted-state ledger they served. `companionController` is the surviving general surface; the\n * playbook-execution routes return here as the rebuild reaches them\n * (`.claude/plans/rebuild-playbook-execution.md`, P3).\n */\n customControllers: [companionController],\n backendConfig,\n providerRuntime,\n flowsActorsRegistry: {\n flowActorSystemsFactoryMap: {\n ...labellingDefinitions.factoryMap,\n ...metaWorkflowsDefinitions.factoryMap,\n // The system a coding run is an execution of (#1359) — registered beside the lane it serves.\n ...buildApplicationCodingActorSystemDefinitions().factoryMap,\n // The system that owns the build plan and runs its companion generation steps (#1359).\n ...buildApplicationBuildActorSystemDefinitions().factoryMap,\n // The CREATION CONVERSATION — the one FRONTEND-visible system, behind the workbench's chat (#1454).\n ...creationConversationFactoryMap,\n },\n /*\n * The creation assistant's tools — the first `functionTools` the companion registers. Until\n * 2026-09-22 this collection was never passed to the registry, so every agent-declared\n * function ref resolved to nothing (skipped with a debug line); the coding and research agents\n * never noticed because they reach their work through ACP, not through function tools.\n */\n functionTools: [...creationConversationTools],\n agents: [\n // The creation assistant (#1454, Step 4) — registered once, here, like every other companion agent.\n creationConversationAgent,\n ...emailAgents,\n ...labellingDefinitions.agents,\n effectiveMarketGenerationAgent,\n ...metaWorkflowsDefinitions.agents,\n // The application coding agent (Claude Code through the ordinary\n // Flows/Actors AGENT_CLIENT_PROTOCOL path, `claude-code-acp` profile\n // authored in wildo.saas.config.ts). Registered exactly once, here,\n // in the one startup Agent collection — F2's typed task wrapper\n // resolves it by ref; there is no second dispatcher or registry.\n ...applicationCodingAgents,\n // The read-only sibling: same ACP transport, opposite posture. Registered beside the coding\n // Agent so \"registered exactly once\" stays one list to read.\n ...applicationResearchAgents,\n // The brief-adequacy gate (#254's rescoped shape): judges one composed brief per opted-in\n // playbook run and proposes add-only context repairs. Registered beside its siblings so\n // \"registered exactly once\" stays one list to read.\n ...briefAdequacyAgents,\n // The answering agent (#1559): a parked coding question is offered to it before the creator.\n ...parkedQuestionAnswererAgents,\n // Companion-owned IMAGE agent (brand/logo generation step). Registered\n // here, like labelling/meta-workflows — not shipped as an engine default.\n buildLogoGenerationAgent(),\n // Companion-owned JUDGE agent (brand/logo ACCEPT review point) — scores\n // a staged candidate against the authored brief (GENERATE_STRUCTURED).\n buildLogoJudgeAgent(),\n // Companion-owned expert-persona DERIVATION agent (agentic\n // deliberation system) — compiles app-specific persona charters from\n // framework role templates + the app's spec artifacts.\n buildExpertPersonaDerivationAgent(),\n // Companion-owned expert-persona CRITIQUE agent — the self-review\n // pass of the multi-pass derivation protocol (draft → critique →\n // finalize); a dedicated critic, separate from the generator.\n buildExpertPersonaCritiqueAgent(),\n // Deliberation TEXT producer (revision step for TEXT subjects).\n buildDeliberationTextProducerAgent(),\n // One deliberation agent per COMMITTED expert charter (RF-6).\n ...committedExpertAgents.agents,\n ],\n },\n };\n\n return { container, startupConfig };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"companion-startup-assembly.js","sourceRoot":"","sources":["../../../../../src/core/runtime/companion-startup-assembly.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,2BAA2B,EAC3B,mBAAmB,GACpB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,wCAAwC,EAAE,MAAM,+BAA+B,CAAC;AAGzF,OAAO,EAAE,WAAW,EAAE,MAAM,6DAA6D,CAAC;AAC1F,OAAO,EAEL,uBAAuB,GACxB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,oCAAoC,EAAE,MAAM,iEAAiE,CAAC;AACvH,OAAO,EAAE,wCAAwC,EAAE,MAAM,sEAAsE,CAAC;AAChI,OAAO,EAAE,uBAAuB,EAAE,4CAA4C,EAAE,MAAM,gFAAgF,CAAC;AACvK,OAA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nC,kEAAkE;gBAClE,iEAAiE;gBACjE,8DAA8D;gBAC9D,+BAA+B,EAAE;gBACjC,gEAAgE;gBAChE,kCAAkC,EAAE;gBACpC,8DAA8D;gBAC9D,GAAG,qBAAqB,CAAC,MAAM;aAChC;SACF;KACF,CAAC;IAEF,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC;AACtC,CAAC","sourcesContent":["import {\n setupSaasBackendInjection,\n marketGenerationAgent,\n MARKET_GENERATION_AGENT_REF,\n describeCaughtError,\n} from '@wildo-ai/saas-backend-lib';\nimport type { FlowsActors_Agent } from '@wildo-ai/saas-models';\nimport { readFile } from 'node:fs/promises';\nimport { join } from 'node:path';\n\nimport { PROVIDER_RUNTIME_ARTIFACT_RELATIVE_PATHS } from '@wildo-ai/platform-config-lib';\nimport type { SaasRuntimeProvidersArtifact } from '@wildo-ai/platform-config-lib';\n\nimport { emailAgents } from '../../email/models/email-template.actors-system.definitions';\nimport {\n CompanionController,\n setupCompanionInjection,\n} from '../inject/models/container';\nimport { COMPANION_SERVICE_TYPES } from '../inject/models/service-types';\nimport { buildLabellingActorSystemDefinitions } from '../../i18n-labelling/models/labelling.actors-system.definitions';\nimport { buildMetaWorkflowsActorSystemDefinitions } from '../../meta-workflows/models/meta-workflows.actors-system.definitions';\nimport { applicationCodingAgents, buildApplicationCodingActorSystemDefinitions } from '../../meta-workflows/models/application-coding-agent.actors-system.definitions';\nimport { buildApplicationBuildActorSystemDefinitions } from '../../meta-workflows/models/application-build.actors-system.definitions';\nimport { applicationResearchAgents } from '../../meta-workflows/models/application-research-agent.actors-system.definitions';\nimport { briefAdequacyAgents } from '../../meta-workflows/models/brief-adequacy.actors-system.definitions';\nimport { parkedQuestionAnswererAgents } from '../../claude-cli/models/parked-question-answerer.actors-system.definitions';\nimport { buildLogoGenerationAgent } from '../../brand/models/logo-generation.actors-system.definitions';\nimport { buildLogoJudgeAgent } from '../../brand/models/logo-judge.actors-system.definitions';\nimport { buildExpertPersonaDerivationAgent } from '../../expert-personas/models/expert-persona-derivation.actors-system.definitions';\nimport { buildExpertPersonaCritiqueAgent } from '../../expert-personas/models/expert-persona-critique.actors-system.definitions';\nimport { buildDeliberationTextProducerAgent } from '../../deliberations/models/deliberation-agents.actors-system.definitions';\nimport { loadCommittedExpertAgents } from '../../deliberations/utils/load-committed-expert-agents';\nimport type { CompanionContext } from '../context/companion-context';\nimport { loadBackendCompanionExports } from '../context/companion-package-loaders.companion';\nimport type { CompanionRuntimeConfig } from './models/companion-runtime.models';\nimport type { CompanionStartupConfig } from './services/start-companion-application.service';\nimport { buildCreationConversationFunctionTools } from '../../creation-conversation/creation-conversation.function-tools';\nimport { creationConversationAgent, creationConversationFactoryMap } from '../../creation-conversation/creation-conversation.actors-system.definitions';\n\n/**\n * The complete ordinary companion composition: the DI container and the exact\n * startup config object `StartCompanionApplicationService.initialize` accepts.\n */\nexport interface AssembledCompanionStartup {\n readonly container: ReturnType<typeof setupSaasBackendInjection>;\n readonly startupConfig: CompanionStartupConfig;\n}\n\n/**\n * Loads the companion's provider-runtime topology from the APPLICATION's generated JSON artifact\n * (`.wildo-saas/generated/providers/companion.runtime-providers.generated.json`).\n *\n * This used to be a compiled-in `src/generated/wildo-provider-runtime.generated.ts` module, like\n * the backend/minion/worker hosts still use. That shape cannot survive the dist-only companion\n * distribution (issue #64): the generated module is APP-SPECIFIC data, the canonical companion\n * package at `platform/factory` is app-agnostic, and the delivered drop carries no source and no\n * compiler. The artifact content is pure environment-independent topology data, and `wildo config\n * sync` already materializes it as JSON at a path this process can reach through its application\n * root — so the JSON is the one authority and no per-companion module exists any more.\n */\nasync function loadProviderRuntime(saasRoot: string): Promise<SaasRuntimeProvidersArtifact> {\n const artifactPath = join(saasRoot, PROVIDER_RUNTIME_ARTIFACT_RELATIVE_PATHS.companion);\n try {\n const providerRuntime = JSON.parse(await readFile(artifactPath, 'utf8')) as SaasRuntimeProvidersArtifact;\n if (!providerRuntime?.scope || providerRuntime.artifactKind !== 'companion') {\n throw new Error('Companion provider runtime artifact does not carry a companion scope.');\n }\n return providerRuntime;\n } catch (error) {\n throw new Error(\n `Missing or invalid companion provider runtime artifact at ${artifactPath}. `\n + 'Run `wildo config sync` before starting this companion. '\n + describeCaughtError(error),\n );\n }\n}\n\n/**\n * Resolve the market generation agent the companion registers under\n * `MARKET_GENERATION_AGENT_REF`.\n *\n * Returns the application-authored override\n * (`BackendCompanionExports.marketGenerationAgentOverride`) when present,\n * otherwise the framework default (`marketGenerationAgent` from\n * `@wildo-ai/saas-backend-lib`). The override must reuse the canonical ref:\n * the market service invokes the agent by that fixed ref, so an override\n * under a different ref would be dead-registered and never reached. We fail\n * fast at startup with a precise message rather than silently rewrite the\n * ref (a silent rewrite would mask the authoring mistake).\n */\nfunction resolveMarketGenerationAgent(\n override: FlowsActors_Agent | undefined,\n): FlowsActors_Agent {\n if (!override) {\n return marketGenerationAgent;\n }\n if (override.ref !== MARKET_GENERATION_AGENT_REF) {\n throw new Error(\n `Application market generation agent override must use ref \"${MARKET_GENERATION_AGENT_REF}\" `\n + `(received \"${override.ref}\"). The companion invokes the market generation agent by this fixed `\n + `ref, so an override under a different ref would never be reached. Set the override's \\`ref\\` to `\n + `the canonical value (import MARKET_GENERATION_AGENT_REF from '@wildo-ai/saas-backend-lib').`,\n );\n }\n return override;\n}\n\n/**\n * Assemble the ONE ordinary companion startup composition without starting it.\n *\n * This is the single authority for what the companion mounts and registers:\n * `src/index.ts` starts exactly this composition, and the explicit\n * first-activation maintenance operation (Step 4) boots the same assembly so\n * the startup-composition observer captures the true ordinary controller/agent\n * graph rather than a hand-maintained copy that could drift from it. Assembly\n * performs loader I/O (backend companion exports, generated provider runtime,\n * committed expert charters) and DI wiring only — no HTTP, no Mongo, no\n * continuity recovery, no durable effect.\n */\nexport async function assembleCompanionStartup(\n companionContext: CompanionContext,\n runtimeConfig: CompanionRuntimeConfig,\n): Promise<AssembledCompanionStartup> {\n const { backendConfig, marketGenerationAgentOverride } = await loadBackendCompanionExports(companionContext);\n const providerRuntime = await loadProviderRuntime(companionContext.saasRoot);\n\n // The market generation agent ships a framework default; the application\n // may override provider/model/persona via its backend companion-exports.\n const effectiveMarketGenerationAgent = resolveMarketGenerationAgent(marketGenerationAgentOverride);\n\n // Charter-built expert agents (RF-6): one deliberation agent per\n // COMMITTED ExpertPersonaCharter. Fail-open here (an app without\n // charters boots normally); the deliberation composer fail-closes.\n const committedExpertAgents = await loadCommittedExpertAgents(companionContext.saasRoot);\n\n const labellingDefinitions = buildLabellingActorSystemDefinitions();\n const metaWorkflowsDefinitions = buildMetaWorkflowsActorSystemDefinitions();\n\n const container = setupCompanionInjection(\n setupSaasBackendInjection() as never,\n companionContext,\n runtimeConfig,\n ) as ReturnType<typeof setupSaasBackendInjection>;\n\n const companionController = container.get(\n COMPANION_SERVICE_TYPES.CompanionController as never,\n ) as CompanionController;\n\n /*\n * The creation assistant's tools hold the container LAZILY: a tool resolves its service on the\n * turn that calls it, never at assembly, so the tool list can be declared here beside the systems\n * and agents without ordering the container's own resolution around it (#1454, Step 4).\n */\n const creationConversationTools = buildCreationConversationFunctionTools({\n get: <T>(identifier: symbol): T => container.get(identifier as never) as T,\n });\n\n\n \n // Public-v2 assessment surface: catalog status/next reads plus token-gated\n // episode-addressed status/next and the non-terminal working-admission\n // `run`. READY posture only — see `customControllers` below.\n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n\n const startupConfig: CompanionStartupConfig = {\n /*\n * Mounted in BOTH postures. In the healthy one it is an ordinary operator route; in the degraded one it is\n * the only way out, since a registry the companion cannot accept is exactly what closed everything else.\n */\n /*\n * The journey, public-v2 episode, workbench and assurance HTTP surfaces were deleted with the\n * accepted-state ledger they served. `companionController` is the surviving general surface; the\n * playbook-execution routes return here as the rebuild reaches them\n * (`.claude/plans/rebuild-playbook-execution.md`, P3).\n */\n customControllers: [companionController],\n backendConfig,\n providerRuntime,\n flowsActorsRegistry: {\n flowActorSystemsFactoryMap: {\n ...labellingDefinitions.factoryMap,\n ...metaWorkflowsDefinitions.factoryMap,\n // The system a coding run is an execution of (#1359) — registered beside the lane it serves.\n ...buildApplicationCodingActorSystemDefinitions().factoryMap,\n // The system that owns the build plan and runs its companion generation steps (#1359).\n ...buildApplicationBuildActorSystemDefinitions().factoryMap,\n // The CREATION CONVERSATION — the one FRONTEND-visible system, behind the workbench's chat (#1454).\n ...creationConversationFactoryMap,\n },\n /*\n * The creation assistant's tools — the first `functionTools` the companion registers. Until\n * 2026-09-22 this collection was never passed to the registry, so every agent-declared\n * function ref resolved to nothing (skipped with a debug line); the coding and research agents\n * never noticed because they reach their work through ACP, not through function tools.\n */\n functionTools: [...creationConversationTools],\n agents: [\n // The creation assistant (#1454, Step 4) — registered once, here, like every other companion agent.\n creationConversationAgent,\n ...emailAgents,\n ...labellingDefinitions.agents,\n effectiveMarketGenerationAgent,\n ...metaWorkflowsDefinitions.agents,\n // The application coding agent (Claude Code through the ordinary\n // Flows/Actors AGENT_CLIENT_PROTOCOL path, `claude-code-acp` profile\n // authored in wildo.saas.config.ts). Registered exactly once, here,\n // in the one startup Agent collection — F2's typed task wrapper\n // resolves it by ref; there is no second dispatcher or registry.\n ...applicationCodingAgents,\n // The read-only sibling: same ACP transport, opposite posture. Registered beside the coding\n // Agent so \"registered exactly once\" stays one list to read.\n ...applicationResearchAgents,\n // The brief-adequacy gate (#254's rescoped shape): judges one composed brief per opted-in\n // playbook run and proposes add-only context repairs. Registered beside its siblings so\n // \"registered exactly once\" stays one list to read.\n ...briefAdequacyAgents,\n // The answering agent (#1559): a parked coding question is offered to it before the creator.\n ...parkedQuestionAnswererAgents,\n // Companion-owned IMAGE agent (brand/logo generation step). Registered\n // here, like labelling/meta-workflows — not shipped as an engine default.\n buildLogoGenerationAgent(),\n // Companion-owned JUDGE agent (brand/logo ACCEPT review point) — scores\n // a staged candidate against the authored brief (GENERATE_STRUCTURED).\n buildLogoJudgeAgent(),\n // Companion-owned expert-persona DERIVATION agent (agentic\n // deliberation system) — compiles app-specific persona charters from\n // framework role templates + the app's spec artifacts.\n buildExpertPersonaDerivationAgent(),\n // Companion-owned expert-persona CRITIQUE agent — the self-review\n // pass of the multi-pass derivation protocol (draft → critique →\n // finalize); a dedicated critic, separate from the generator.\n buildExpertPersonaCritiqueAgent(),\n // Deliberation TEXT producer (revision step for TEXT subjects).\n buildDeliberationTextProducerAgent(),\n // One deliberation agent per COMMITTED expert charter (RF-6).\n ...committedExpertAgents.agents,\n ],\n },\n };\n\n return { container, startupConfig };\n}\n"]}
|