@wildo-ai/dev-companion 1.1.8 → 1.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/.tsbuildinfo +1 -1
- package/dist/esm/brand/models/accepted-brand-mark.models.d.ts +46 -0
- package/dist/esm/brand/models/accepted-brand-mark.models.d.ts.map +1 -0
- package/dist/esm/brand/models/accepted-brand-mark.models.js +89 -0
- package/dist/esm/brand/models/accepted-brand-mark.models.js.map +1 -0
- package/dist/esm/brand/models/logo-creative-brief.schemas.d.ts.map +1 -1
- package/dist/esm/brand/models/logo-creative-brief.schemas.js.map +1 -1
- package/dist/esm/brand/models/logo-generation.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/brand/models/logo-generation.actors-system.definitions.js +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 +5 -3
- package/dist/esm/brand/models/logo-judge.schemas.d.ts.map +1 -1
- package/dist/esm/brand/models/logo-judge.schemas.js +5 -3
- package/dist/esm/brand/models/logo-judge.schemas.js.map +1 -1
- package/dist/esm/brand/services/brand-accept.companion.service.d.ts +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 +10 -7
- package/dist/esm/brand/services/logo-deliberation.companion.service.js.map +1 -1
- package/dist/esm/brand/services/logo-generation.companion.service.d.ts.map +1 -1
- package/dist/esm/brand/services/logo-generation.companion.service.js.map +1 -1
- package/dist/esm/brand/utils/derived-brand-assets.d.ts.map +1 -1
- package/dist/esm/brand/utils/derived-brand-assets.js.map +1 -1
- package/dist/esm/brand/utils/stage-brand-candidate.d.ts.map +1 -1
- package/dist/esm/brand/utils/stage-brand-candidate.js.map +1 -1
- package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts +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 +130 -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 +176 -1
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
- package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.d.ts +52 -0
- package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.d.ts.map +1 -0
- package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.js +206 -0
- package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.js.map +1 -0
- package/dist/esm/claude-cli/models/coding-session-frame-retention.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/coding-session-frame-retention.js.map +1 -1
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts +38 -3
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js +48 -4
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js.map +1 -1
- package/dist/esm/claude-cli/models/parked-question-answer.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/parked-question-answer.models.js.map +1 -1
- package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js.map +1 -1
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts +165 -8
- 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 +536 -28
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.d.ts +53 -0
- package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.d.ts.map +1 -0
- package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.js +193 -0
- package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.js.map +1 -0
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +164 -6
- 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 +468 -41
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/git-change-set.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.js.map +1 -1
- package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts +15 -2
- package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/research-evidence-store.companion.js +36 -4
- package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -1
- package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.d.ts.map +1 -1
- package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.js.map +1 -1
- package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.d.ts.map +1 -1
- package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js.map +1 -1
- package/dist/esm/companion-api/companion-api.schemas.d.ts +360 -339
- 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 +88 -13
- package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion.controller.js +448 -51
- 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 +71 -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 +10 -0
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.js +58 -2
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts +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 +197 -20
- 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 +49 -7
- 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 +51 -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 +124 -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 +14 -3
- 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 +91 -5
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts +186 -11
- 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 +437 -35
- 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 +123 -24
- 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 +281 -54
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts +22 -6
- package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js +38 -7
- package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/translation-placement.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts +9 -0
- package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js +29 -9
- package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/assertions.behavior.js +10 -10
- package/dist/esm/core/introspection/subprocess/assertions.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/asset-noop-hooks.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/asset-noop-hooks.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/asset-noop-register.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/asset-noop-register.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js +20 -19
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-child.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-child.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts +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 +9 -1
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/market-context-block.builder.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/market-context-block.builder.js +2 -1
- package/dist/esm/core/introspection/subprocess/market-context-block.builder.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts +4 -3
- package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/market-prompt-renderer.js +14 -8
- package/dist/esm/core/introspection/subprocess/market-prompt-renderer.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js +17 -4
- package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/risk-signals.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/risk-signals.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js +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 +35 -0
- package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/application-runtime-liveness.companion.js +74 -0
- package/dist/esm/core/runtime/application-runtime-liveness.companion.js.map +1 -1
- package/dist/esm/core/runtime/companion-endpoint-record.d.ts.map +1 -1
- package/dist/esm/core/runtime/companion-endpoint-record.js.map +1 -1
- package/dist/esm/core/runtime/companion-env-file.d.ts +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-self-restart.companion.d.ts +38 -0
- package/dist/esm/core/runtime/companion-self-restart.companion.d.ts.map +1 -0
- package/dist/esm/core/runtime/companion-self-restart.companion.js +110 -0
- package/dist/esm/core/runtime/companion-self-restart.companion.js.map +1 -0
- package/dist/esm/core/runtime/companion-startup-assembly.d.ts.map +1 -1
- package/dist/esm/core/runtime/companion-startup-assembly.js +7 -1
- package/dist/esm/core/runtime/companion-startup-assembly.js.map +1 -1
- package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts +12 -0
- package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/dev-compile-quiet.companion.js +15 -1
- package/dist/esm/core/runtime/dev-compile-quiet.companion.js.map +1 -1
- package/dist/esm/core/runtime/event-loop-stall-monitor.companion.d.ts +83 -0
- package/dist/esm/core/runtime/event-loop-stall-monitor.companion.d.ts.map +1 -0
- package/dist/esm/core/runtime/event-loop-stall-monitor.companion.js +150 -0
- package/dist/esm/core/runtime/event-loop-stall-monitor.companion.js.map +1 -0
- package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.js.map +1 -1
- package/dist/esm/core/runtime/models/companion-runtime.models.d.ts.map +1 -1
- package/dist/esm/core/runtime/models/companion-runtime.models.js.map +1 -1
- package/dist/esm/core/runtime/services/file-storage-initialization.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/services/file-storage-initialization.companion.js.map +1 -1
- package/dist/esm/core/runtime/services/start-companion-application.service.d.ts +30 -4
- 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 +78 -12
- 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 +69 -7
- 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 +17 -12
- package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js.map +1 -1
- package/dist/esm/deliberations/services/deliberation.companion.service.d.ts +10 -5
- package/dist/esm/deliberations/services/deliberation.companion.service.d.ts.map +1 -1
- package/dist/esm/deliberations/services/deliberation.companion.service.js +31 -21
- package/dist/esm/deliberations/services/deliberation.companion.service.js.map +1 -1
- package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts.map +1 -1
- package/dist/esm/deliberations/services/structured-deliberation.companion.service.js.map +1 -1
- package/dist/esm/deliberations/utils/expert-agent-registration.d.ts +56 -0
- package/dist/esm/deliberations/utils/expert-agent-registration.d.ts.map +1 -0
- package/dist/esm/deliberations/utils/expert-agent-registration.js +74 -0
- package/dist/esm/deliberations/utils/expert-agent-registration.js.map +1 -0
- package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts +9 -5
- package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts.map +1 -1
- package/dist/esm/deliberations/utils/load-committed-expert-agents.js +11 -15
- package/dist/esm/deliberations/utils/load-committed-expert-agents.js.map +1 -1
- package/dist/esm/email/models/email-template.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/email/models/email-template.actors-system.definitions.js.map +1 -1
- package/dist/esm/email/services/email-spec-context-loader.companion.service.d.ts.map +1 -1
- package/dist/esm/email/services/email-spec-context-loader.companion.service.js.map +1 -1
- package/dist/esm/email/services/email-template.companion.service.d.ts +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 +5 -3
- package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.js +5 -3
- package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.js.map +1 -1
- package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts +17 -1
- package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts.map +1 -1
- package/dist/esm/expert-personas/services/expert-persona.companion.service.js +51 -14
- package/dist/esm/expert-personas/services/expert-persona.companion.service.js.map +1 -1
- package/dist/esm/expert-personas/services/persona-source-ownership.d.ts.map +1 -1
- package/dist/esm/expert-personas/services/persona-source-ownership.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_announcement.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_announcement.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_banner.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_banner.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_card.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_card.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_checklist.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_checklist.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_checklist_item.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_modal.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_modal.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_onboarding_view.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_onboarding_view.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_survey.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_survey.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_tooltip.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_tooltip.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_tour.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_tour.en.js.map +1 -1
- package/dist/esm/i18n/components/progression_achievement_badge.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/progression_achievement_badge.en.js.map +1 -1
- package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/progression_milestone_tracker.en.js.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts +1 -0
- package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-conversation.en.js +55 -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/control-plane-label-blocks.d.ts +344 -0
- package/dist/esm/i18n/control-plane-label-blocks.d.ts.map +1 -0
- package/dist/esm/i18n/control-plane-label-blocks.js +115 -0
- package/dist/esm/i18n/control-plane-label-blocks.js.map +1 -0
- package/dist/esm/i18n/errors_guidance/errors-guidance.en.d.ts.map +1 -1
- package/dist/esm/i18n/errors_guidance/errors-guidance.en.js.map +1 -1
- package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts.map +1 -1
- package/dist/esm/i18n/errors_messages/errors-messages.en.js.map +1 -1
- package/dist/esm/i18n/index.d.ts.map +1 -1
- package/dist/esm/i18n/index.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts +410 -0
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js +13 -145
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts +65 -0
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js +4 -37
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts +65 -0
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js +4 -37
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchAspects.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchAspects.en.js +11 -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 +56 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.js +15 -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 +553 -0
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +187 -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 +60 -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 +66 -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 +1 -0
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.js +2 -0
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts +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 +29 -2
- package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling-unit.models.js +17 -0
- package/dist/esm/i18n-labelling/models/labelling-unit.models.js.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js.map +1 -1
- package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts +5 -0
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js +44 -4
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts +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 +8 -1
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js +9 -2
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.d.ts +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 +13 -7
- package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js +13 -7
- package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.js.map +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/market/services/market-generation.companion.service.d.ts.map +1 -1
- package/dist/esm/market/services/market-generation.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js +3 -3
- package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/application-line-catalog.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/application-line-catalog.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts +85 -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 +101 -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/models/website-copy-review.actors-system.definitions.d.ts +36 -0
- package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.js +97 -0
- package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.js.map +1 -0
- package/dist/esm/meta-workflows/models/website-copy-review.models.d.ts +124 -0
- package/dist/esm/meta-workflows/models/website-copy-review.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/website-copy-review.models.js +74 -0
- package/dist/esm/meta-workflows/models/website-copy-review.models.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts +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 +672 -24
- 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 +1887 -74
- 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 +232 -14
- 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 +407 -55
- 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 +158 -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 +446 -18
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts +130 -2
- package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js +266 -10
- package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.d.ts +122 -0
- package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.js +295 -0
- package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.d.ts +22 -0
- package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.js +45 -0
- package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js +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/build-task-brief-application-facts.companion.d.ts +53 -0
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js +97 -0
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js.map +1 -0
- package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js +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 +76 -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 +88 -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 +79 -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 +185 -29
- 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 +52 -4
- 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 +134 -62
- 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 +61 -20
- 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 +134 -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 +390 -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 +166 -7
- 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 +703 -116
- 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/__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":"technical-documentation-application-derivation.companion.service.js","sourceRoot":"","sources":["../../../../../src/technical-doc/services/technical-documentation-application-derivation.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EACL,0DAA0D,EAC1D,+CAA+C,GAEhD,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACL,+CAA+C,EAC/C,iDAAiD,EACjD,iDAAiD,EACjD,6BAA6B,EAC7B,2CAA2C,EAC3C,wCAAwC,EAExC,yDAAyD,GAI1D,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,6CAA6C,EAC7C,mDAAmD,EACnD,6CAA6C,EAC7C,mDAAmD,EACnD,2DAA2D,EAI3D,yCAAyC,EACzC,6CAA6C,EAC7C,6CAA6C,EAC7C,0CAA0C,EAC1C,qCAAqC,EACrC,uCAAuC,EACvC,0CAA0C,EAC1C,qCAAqC,EACrC,4CAA4C,EAC5C,+CAA+C,GAYhD,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CA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AAC,sBAAsB;QAC3E,MAAM,EAAE,KAAK,KAAK,SAAS;YACzB,CAAC,CAAC,iDAAiD,CAAC,SAAS;YAC7D,CAAC,CAAC,iDAAiD,CAAC,MAAM;QAC5D,MAAM,EAAE,KAAK,KAAK,SAAS;YACzB,CAAC,CAAC,iDAAiD,CAAC,+BAA+B;YACnF,CAAC,CAAC,iDAAiD,CAAC,+BAA+B;QACrF,aAAa,EAAE,2CAA2C,CAAC,uBAAuB;QAClF,YAAY,EAAE,oCAAoC;QAClD,gBAAgB,EAAE,CAAC;QACnB,eAAe,EAAE,IAAI;QACrB,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,IAAI;QACjB,UAAU;QACV,UAAU,EAAE,IAAI;KACjB,CAAC;AACJ,CAAC","sourcesContent":["\nimport { CoreResourceType } from '@wildo-ai/saas-models';\nimport {\n ENGINE_DOCUMENTATION_OUTBOUND_WEBHOOK_SIGNATURE_SOURCE_REF,\n createEngineDocumentationSpecificationCatalogV1,\n type EngineDocumentationSpecificationCatalogV1,\n} from '@wildo-ai/saas-specifications/companion';\nimport {\n TechnicalDocumentationApplicabilityEvidenceAxis,\n TechnicalDocumentationApplicabilityEvidenceReason,\n TechnicalDocumentationApplicabilityEvidenceStatus,\n TechnicalDocumentationChannel,\n TechnicalDocumentationEvidenceAuthorityKind,\n TechnicalDocumentationEvidenceSubjectRef,\n canonicalizeTechnicalDocumentationJson,\n createTechnicalDocumentationEnvironmentEvidenceSnapshotV1,\n type TechnicalDocumentationAuthorizedBundleManifestV1,\n type TechnicalDocumentationEvidenceObservationV1,\n type TechnicalDocumentationPrivateDerivationManifestV1,\n} from '@wildo-ai/saas-specifications/technical-documentation';\nimport {\n createTechnicalDocumentationPrivateDerivation,\n loadApplicationConsumerDocumentationContentBundleV1,\n projectTechnicalDocumentationAuthorizedBundle,\n createApplicationOrganizationRolesDocumentationFact,\n createApplicationOrganizationUnitResourcesDocumentationFact,\n type ApplicationOrganizationRoleDocumentation,\n type ApplicationOrganizationUnitResourceDocumentation,\n type OperationProjection,\n projectApplicationConnectionDocumentation,\n projectApplicationAuthenticationDocumentation,\n projectApplicationAdministrationDocumentation,\n projectApplicationIntegrationDocumentation,\n projectApplicationDomainDocumentation,\n projectApplicationDocumentationChapters,\n RESOURCE_RELATIONSHIP_CARDINALITY_MEANINGS,\n RESOURCE_RELATIONSHIP_NATURE_MEANINGS,\n ResourceRelationshipDocumentationCardinality,\n ResourceRelationshipDocumentationDeleteStrategy,\n type ApplicationDomainRelationshipSource,\n type ResourceRelationshipDocumentation,\n type ApplicationDomainDocumentationSource,\n type ApplicationDomainOperationSource,\n type ApplicationDomainResourceSource,\n type ResourceTag,\n type ApplicationConnectionServer,\n type ApplicationAuthenticationDocumentationSource,\n type ApplicationAdministrationActionSource,\n type ApplicationAdministrationDocumentationSource,\n type ApplicationIntegrationDocumentationSource,\n} from '@wildo-ai/saas-technical-doc/companion';\nimport { inject, injectable } from 'inversify';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\n\nimport type {\n TechnicalDocumentationEnvironmentIdentityCompanionService,\n TechnicalDocumentationEnvironmentIdentityInput,\n} from './technical-documentation-environment-identity.companion.service';\n\nconst APPLICATION_DOCUMENTATION_POLICY_REF = 'technical-documentation:policy/application-consumer-public-v1';\nconst APPLICATION_DOCUMENTATION_POLICY_VERSION = 1;\nconst OPERATION_PROJECTION_AUTHORITY_REF = 'technical-documentation:authority/derived-operation-projection';\nconst APPLICATION_STARTUP_CONFIGURATION_AUTHORITY_REF = 'technical-documentation:authority/final-application-startup-configuration';\nconst ENGINE_CONTENT_CATALOG_AUTHORITY_REF = 'technical-documentation:authority/engine-documentation-specification-catalog';\n\n/**\n * Identifies the derivation implemented by this service: engine-authored content, narrow\n * source-owned application projections (resolved organization roles, unit-narrowed resources, the\n * application's own domain), and the chapters the application AUTHORED, joined to its accepted\n * documentation plan (#874).\n *\n * This was a sha256 over a hand-listed inventory of the projectors involved until 2026-08-27 —\n * a pin nothing compared, whose only reader-visible property was that it changed when someone\n * edited the list. `ref@version` says the same thing and can be looked up.\n */\nconst FRAMEWORK_DOCUMENTATION_DERIVATION_REF = 'technical-documentation:derivation/framework-content-v1';\nconst FRAMEWORK_DOCUMENTATION_DERIVATION_VERSION = 1;\nconst APPLICATION_DOCUMENTATION_BUNDLE_REF = 'technical-documentation:bundle/application-consumer-public';\n\n/**\n * These resource registrations prove that the application exposes an outbound\n * webhook configuration surface. This is framework capability introspection,\n * not application-authored documentation.\n */\nconst OUTBOUND_WEBHOOK_SURFACE_RESOURCE_IDENTIFIERS: readonly string[] = Object.freeze([\n CoreResourceType.APPLICATION_WEBHOOK_CONFIG,\n CoreResourceType.ORGANIZATION_WEBHOOK_CONFIG,\n]);\nconst ORGANIZATION_SIEM_EXPORT_RESOURCE_IDENTIFIERS: readonly string[] = Object.freeze([\n CoreResourceType.ORGANIZATION_SIEM_EXPORT_CONFIG,\n]);\nconst ORGANIZATION_SIEM_RECOVERY_RESOURCE_IDENTIFIERS: readonly string[] = Object.freeze([\n CoreResourceType.ORGANIZATION_SIEM_DELIVERY_DLQ,\n]);\n\n/**\n * The administrative matrix, joined from two things the derivation already has: the operations this\n * application admits, and its own role labels.\n *\n * Only ADMITTED operations are considered — the same inventory that gates every other page — so an\n * action this application does not publish never appears. Role identifiers are resolved to the\n * application's labels; an identifier with no label falls back to the identifier itself rather than\n * being dropped, because a reader is better served by an unfamiliar name than by a silently short\n * list. Repository-only and internal variants are excluded: they are not doors anyone can open.\n */\nfunction administrationSourceFromOperations(\n operations: readonly OperationProjection[],\n organizationRoles: readonly ApplicationOrganizationRoleDocumentation[],\n): ApplicationAdministrationDocumentationSource {\n const labelByRole = new Map(organizationRoles.map((role) => [role.role, role.label]));\n const collect = (resourceIdentifiers: readonly string[]): ApplicationAdministrationActionSource[] => {\n const seen = new Set<string>();\n const actions: ApplicationAdministrationActionSource[] = [];\n for (const operation of operations) {\n if (!resourceIdentifiers.includes(operation.resourceIdentifier)) continue;\n const action = operation.summary?.trim();\n if (action === undefined || action.length === 0 || seen.has(action)) continue;\n seen.add(action);\n actions.push({\n action,\n roleLabels: operation.roles.map((role) => labelByRole.get(role) ?? role),\n openToEveryMember: operation.roles.length === 0,\n });\n }\n return actions;\n };\n return {\n memberActions: collect([CoreResourceType.ORGANIZATION_MEMBERS]),\n organizationUnitActions: collect([CoreResourceType.ORGANIZATION_UNITS, CoreResourceType.ORGANIZATION_UNIT_MEMBERS]),\n };\n}\n\n/**\n * Turns one relationship row into something a customer can read, and refuses the part it cannot\n * resolve.\n *\n * `onParentDelete` is a CHILD-side policy (`childOperations.lifecycle.onParentDelete`) copied onto\n * both sides of the relationship, so the row alone does not say whether this resource is the parent\n * or the child. Cardinality settles it for a one-to-many — the ONE side is the parent, and the\n * foreign key sits on the many side — and settles nothing for one-to-one or many-to-many, which is\n * 51 of the rows carrying a policy on the dogfood application.\n *\n * Where it is unresolved the cascade is simply ABSENT, and the page says an empty cell means \"not\n * stated here\". Telling somebody their data survives a delete when it does not is the most\n * expensive sentence this documentation could carry; making them look it up is cheap.\n */\nfunction domainRelationshipFrom(relationship: ResourceRelationshipDocumentation): ApplicationDomainRelationshipSource {\n const many: readonly ResourceRelationshipDocumentationCardinality[] = [\n ResourceRelationshipDocumentationCardinality.MANY,\n ResourceRelationshipDocumentationCardinality.ONE_OR_MANY,\n ];\n const thisIsParent = relationship.resourceCardinality === ResourceRelationshipDocumentationCardinality.ONE\n && many.includes(relationship.relatedResourceCardinality);\n const thisIsChild = many.includes(relationship.resourceCardinality)\n && relationship.relatedResourceCardinality === ResourceRelationshipDocumentationCardinality.ONE;\n const policy = relationship.onParentDelete;\n const removes = policy?.strategy === ResourceRelationshipDocumentationDeleteStrategy.IMPERSONALIZE_AND_RETAIN\n ? 'kept but stripped of personal detail'\n : 'deleted';\n // The RESTRICT posture removes nothing, so neither cascade sentence below is true of it.\n const refusesWhileChildrenExist = policy?.strategy === ResourceRelationshipDocumentationDeleteStrategy.REFUSE_WHILE_CHILDREN_EXIST;\n const cascade = policy?.enabled !== true\n ? undefined\n : refusesWhileChildrenExist\n ? thisIsParent\n ? `Cannot be deleted while it still has \\`${relationship.relatedResourceName}\\``\n : thisIsChild\n ? `Its \\`${relationship.relatedResourceName}\\` cannot be deleted while this exists`\n : undefined\n : thisIsParent\n ? `Deleting one of these leaves its \\`${relationship.relatedResourceName}\\` ${removes}`\n : thisIsChild\n ? `${removes === 'deleted' ? 'Deleted' : 'Kept but stripped of personal detail'} when its \\`${relationship.relatedResourceName}\\` is deleted`\n : undefined;\n\n return {\n relatedResourceIdentifier: relationship.relatedResourceName,\n relatedCardinalityWords: RESOURCE_RELATIONSHIP_CARDINALITY_MEANINGS[relationship.relatedResourceCardinality],\n natureWords: RESOURCE_RELATIONSHIP_NATURE_MEANINGS[relationship.nature],\n ...(relationship.foreignKeyField === undefined ? {} : { foreignKeyField: relationship.foreignKeyField }),\n ...(cascade === undefined ? {} : { cascade }),\n };\n}\n\n/**\n * The application's own domain, assembled from three sources it already accepted.\n *\n * Only APPLICATION-OWNED resources appear. That split is the whole reason this page does not\n * restate the rest of the site: a core resource such as `organizationMembers` already has pages\n * about administering it, while `todos` had none anywhere.\n *\n * Grouping comes from `apiReferenceResourceCategories`, which an application already declares for\n * its API reference and which the categoriser has already validated (every published resource\n * named exactly once, no unknown names). Reusing it means the documentation and the reference\n * group the product the same way, and an application that renames a category renames it in one\n * place.\n *\n * When an application declares no categories the resources land in a single group named after the\n * application. That is deliberately not an invented taxonomy: guessing at domain groupings from\n * resource names is exactly the kind of inference the quality contract forbids.\n */\nfunction domainSourceFromResourceTags(input: {\n readonly applicationName: string;\n readonly resourceTags: readonly ResourceTag[];\n readonly applicationOwnedResourceIdentifiers: readonly string[];\n readonly operations: readonly OperationProjection[];\n readonly organizationRoles: readonly ApplicationOrganizationRoleDocumentation[];\n}): ApplicationDomainDocumentationSource {\n const owned = new Set(input.applicationOwnedResourceIdentifiers);\n const labelByRole = new Map(input.organizationRoles.map((role) => [role.role, role.label]));\n const operationsFor = (resourceIdentifier: string): ApplicationDomainOperationSource[] => {\n const seen = new Set<string>();\n const projected: ApplicationDomainOperationSource[] = [];\n for (const operation of input.operations) {\n if (operation.resourceIdentifier !== resourceIdentifier) continue;\n // One row per operation identifier: variants differ by transport and qualifier, which a\n // reader deciding whether they may do something does not need and cannot act on.\n if (seen.has(operation.baseOperationIdentifier)) continue;\n seen.add(operation.baseOperationIdentifier);\n const summary = operation.summary?.trim();\n /*\n * The wire facts, when the projection resolved them. A page that says what a thing is and\n * who may change it, and then cannot say how to send the request, stops one step short of\n * useful — and the method, the path and one worked example are all already here.\n */\n const example = operation.examples?.find((candidate) => candidate.request !== undefined || candidate.response !== undefined);\n projected.push({\n operationIdentifier: operation.baseOperationIdentifier,\n ...(summary === undefined || summary.length === 0 ? {} : { summary }),\n roleLabels: operation.roles.map((role) => labelByRole.get(role) ?? role),\n openToEveryMember: operation.roles.length === 0,\n ...(operation.httpVerb === undefined ? {} : { httpMethod: String(operation.httpVerb).toUpperCase() }),\n ...(operation.path === undefined ? {} : { path: operation.path }),\n ...(example === undefined ? {} : {\n example: {\n title: example.title,\n ...(example.request === undefined ? {} : { request: example.request }),\n ...(example.response === undefined ? {} : { response: example.response }),\n },\n }),\n });\n }\n return projected;\n };\n\n const byCategoryId = new Map<string, { label: string; description?: string; resources: ApplicationDomainResourceSource[] }>();\n for (const tag of input.resourceTags) {\n if (!owned.has(tag.name)) continue;\n const categoryId = tag.category?.id ?? 'application-resources';\n const label = tag.category?.label ?? input.applicationName;\n const existing = byCategoryId.get(categoryId)\n ?? { label, ...(tag.category?.description === undefined ? {} : { description: tag.category.description }), resources: [] };\n /*\n * EVERY relationship, not only those to resources this application owns.\n *\n * The first cut filtered to owned resources so every row could be a link. Measured against\n * Wonder CRM, that was wrong: its `deal` relates to `organizations` and `users` and to none of\n * its own resources, so the filter left the section empty on a resource with two real\n * connections. The projection links a related resource that has a page and names one that does\n * not, which keeps the fact and loses only the hyperlink.\n */\n const relationships = (tag.relationships ?? [])\n .map(domainRelationshipFrom)\n .sort((left, right) => left.relatedResourceIdentifier.localeCompare(right.relatedResourceIdentifier, 'en-US'));\n existing.resources.push({\n resourceIdentifier: tag.name,\n ...(tag.description === undefined ? {} : { purpose: tag.description }),\n ...(tag.lifecycleRole === undefined ? {} : { lifecycleRole: tag.lifecycleRole }),\n operations: operationsFor(tag.name),\n ...(relationships.length === 0 ? {} : { relationships }),\n });\n byCategoryId.set(categoryId, existing);\n }\n\n return {\n applicationName: input.applicationName,\n categories: [...byCategoryId.entries()]\n .map(([id, category]) => ({ id, ...category }))\n .sort((left, right) => left.label.localeCompare(right.label, 'en-US')),\n };\n}\n\nexport interface TechnicalDocumentationApplicationDerivationInput extends TechnicalDocumentationEnvironmentIdentityInput {\n readonly operations: readonly OperationProjection[];\n readonly hasConfiguredMcpToolOperations: boolean;\n readonly hasConfiguredA2aSkills: boolean;\n readonly organizationRoles: readonly ApplicationOrganizationRoleDocumentation[];\n readonly organizationUnitAwareResources: readonly ApplicationOrganizationUnitResourceDocumentation[];\n /**\n * The application's own name and published base URLs. The agent surfaces are NOT passed\n * separately: they are read from the same two flags that gate the MCP and A2A pages, so an\n * address can never be printed for a surface whose pages this application does not publish.\n */\n readonly applicationName: string;\n readonly apiServers: readonly ApplicationConnectionServer[];\n /** Per-user-type sign-in policy, read from the application's own configuration. */\n readonly authentication: ApplicationAuthenticationDocumentationSource;\n /** The tools and events this application publishes, from the same walk that gates those pages. */\n readonly integration: ApplicationIntegrationDocumentationSource;\n /** Per-resource purpose and lifecycle prose, already grouped by the application's own categories. */\n readonly resourceTags: readonly ResourceTag[];\n /** Which of those resources are the application's own rather than the framework's. */\n readonly applicationOwnedResourceIdentifiers: readonly string[];\n /**\n * The application's accepted documentation plan and authored chapter bodies, exactly as its\n * specifications package exports them (`documentationPlan`, `documentationChapters`). `unknown`\n * on purpose: the engine projector parses both, so a malformed export is refused by the schema\n * that defines it rather than by a cast here. Absent means the application authored nothing.\n */\n readonly documentationPlan?: unknown;\n readonly documentationChapters?: unknown;\n}\n\nexport interface TechnicalDocumentationApplicationDerivationResult {\n readonly privateDerivation: TechnicalDocumentationPrivateDerivationManifestV1;\n readonly publicBundle: TechnicalDocumentationAuthorizedBundleManifestV1;\n /** Chapters the plan declares that have no authored body yet — reported by the publisher, never refused. */\n readonly plannedChapterRefsWithoutBody: readonly string[];\n /** Bodies authored under a chapter ref the plan does not declare — withheld and reported, never refused. */\n readonly authoredChapterRefsWithoutPlan: readonly string[];\n}\n\n/**\n * Creates the public documentation bundle from engine-owned content, framework\n * introspection, the resolved organization-role configuration, and the chapters\n * the application authored (#874).\n *\n * The resolved operation catalog contributes capability evidence. The only\n * application-authored input is the documentation-chapter pair — the accepted\n * plan and the bodies joined to it — and this path still never SELECTS a\n * resource, workflow, persona or use case on the application's behalf: every\n * authored page exists because the application's own plan declares it.\n */\n@injectable()\nexport class TechnicalDocumentationApplicationDerivationCompanionService {\n public constructor(\n @inject(COMPANION_SERVICE_TYPES.TechnicalDocumentationEnvironmentIdentityService)\n private readonly environmentIdentity: TechnicalDocumentationEnvironmentIdentityCompanionService,\n ) {}\n\n public async deriveAuthorizedBundles(\n input: TechnicalDocumentationApplicationDerivationInput,\n ): Promise<TechnicalDocumentationApplicationDerivationResult> {\n const derivationEnvironment = this.environmentIdentity.resolveDerivationEnvironment(input);\n const derivedAt = derivationEnvironment.derivedAt;\n // First, so a malformed plan or chapter export refuses before any other work is done.\n const authoredChapters = projectApplicationDocumentationChapters({\n plan: input.documentationPlan,\n chapters: input.documentationChapters,\n });\n\n const engineCatalog = createEngineDocumentationSpecificationCatalogV1();\n const environmentEvidenceSnapshot = createTechnicalDocumentationEnvironmentEvidenceSnapshotV1({\n schemaVersion: 1,\n environmentRef: derivationEnvironment.environmentRef,\n freshnessEvaluatedAt: derivedAt,\n observations: [\n configuredAgentSurfaceObservation(\n input.hasConfiguredMcpToolOperations,\n TechnicalDocumentationEvidenceSubjectRef.APPLICATION_MCP_TOOL_SURFACE,\n derivedAt,\n ),\n configuredAgentSurfaceObservation(\n input.hasConfiguredA2aSkills,\n TechnicalDocumentationEvidenceSubjectRef.APPLICATION_A2A_AGENT_SURFACE,\n derivedAt,\n ),\n outboundWebhookSurfaceObservation(input.operations, derivedAt),\n outboundWebhookSignatureContractObservation(engineCatalog, derivedAt),\n admittedResourceSurfaceObservation(\n input.operations,\n derivedAt,\n TechnicalDocumentationEvidenceSubjectRef.ORGANIZATION_SIEM_EXPORT,\n ORGANIZATION_SIEM_EXPORT_RESOURCE_IDENTIFIERS,\n ),\n admittedResourceSurfaceObservation(\n input.operations,\n derivedAt,\n TechnicalDocumentationEvidenceSubjectRef.ORGANIZATION_SIEM_DELIVERY_RECOVERY,\n ORGANIZATION_SIEM_RECOVERY_RESOURCE_IDENTIFIERS,\n ),\n ],\n });\n const privateDerivation = createTechnicalDocumentationPrivateDerivation({\n engineContentBundle: loadApplicationConsumerDocumentationContentBundleV1(),\n environmentEvidenceSnapshot,\n engineSpecificationCatalog: engineCatalog,\n engineSpecificationCatalogIdentity: engineCatalog.identity,\n applicationOrganizationRolesFact: createApplicationOrganizationRolesDocumentationFact(input.organizationRoles),\n applicationOrganizationUnitResourcesFact: createApplicationOrganizationUnitResourcesDocumentationFact(\n input.organizationUnitAwareResources,\n ),\n applicationAuthenticationFact: projectApplicationAuthenticationDocumentation(input.authentication),\n applicationIntegrationFact: projectApplicationIntegrationDocumentation(input.integration),\n applicationDomainFact: projectApplicationDomainDocumentation(domainSourceFromResourceTags({\n applicationName: input.applicationName,\n resourceTags: input.resourceTags,\n applicationOwnedResourceIdentifiers: input.applicationOwnedResourceIdentifiers,\n operations: input.operations,\n organizationRoles: input.organizationRoles,\n })),\n applicationAdministrationFact: projectApplicationAdministrationDocumentation(\n administrationSourceFromOperations(input.operations, input.organizationRoles),\n ),\n applicationConnectionFact: projectApplicationConnectionDocumentation({\n applicationName: input.applicationName,\n apiServers: input.apiServers,\n surfaces: {\n mcpToolServer: input.hasConfiguredMcpToolOperations,\n a2aAgent: input.hasConfiguredA2aSkills,\n },\n }),\n applicationDocumentationChapterUnits: authoredChapters.units,\n derivationRef: FRAMEWORK_DOCUMENTATION_DERIVATION_REF,\n derivationVersion: FRAMEWORK_DOCUMENTATION_DERIVATION_VERSION,\n derivedAt,\n });\n const publicBundle = projectTechnicalDocumentationAuthorizedBundle({\n privateDerivation,\n channel: TechnicalDocumentationChannel.PUBLIC_PORTAL,\n policyRef: APPLICATION_DOCUMENTATION_POLICY_REF,\n policyVersion: APPLICATION_DOCUMENTATION_POLICY_VERSION,\n bundleRef: APPLICATION_DOCUMENTATION_BUNDLE_REF,\n bundleVersion: APPLICATION_DOCUMENTATION_POLICY_VERSION,\n });\n\n return Object.freeze({\n privateDerivation,\n publicBundle,\n plannedChapterRefsWithoutBody: authoredChapters.plannedChapterRefsWithoutBody,\n authoredChapterRefsWithoutPlan: authoredChapters.authoredChapterRefsWithoutPlan,\n });\n }\n}\n\n/**\n * Records whether the application's final executable declaration contains a\n * usable integration surface. This is configuration evidence, not a health\n * claim: publication never pretends that a live MCP or A2A request was made.\n */\nfunction configuredAgentSurfaceObservation(\n configured: boolean,\n subjectRef: TechnicalDocumentationEvidenceSubjectRef.APPLICATION_MCP_TOOL_SURFACE\n | TechnicalDocumentationEvidenceSubjectRef.APPLICATION_A2A_AGENT_SURFACE,\n observedAt: string,\n): TechnicalDocumentationEvidenceObservationV1 {\n return {\n axis: TechnicalDocumentationApplicabilityEvidenceAxis.CONFIGURED_ACTIVATION,\n subjectRef,\n status: configured\n ? TechnicalDocumentationApplicabilityEvidenceStatus.PROVEN\n : TechnicalDocumentationApplicabilityEvidenceStatus.DISPROVEN,\n reason: configured\n ? TechnicalDocumentationApplicabilityEvidenceReason.AUTHORITATIVE_POSITIVE_EVIDENCE\n : TechnicalDocumentationApplicabilityEvidenceReason.AUTHORITATIVE_NEGATIVE_EVIDENCE,\n authorityKind: TechnicalDocumentationEvidenceAuthorityKind.CONFIGURATION,\n authorityRef: APPLICATION_STARTUP_CONFIGURATION_AUTHORITY_REF,\n authorityVersion: 1,\n runtimeScopeRef: null,\n hostRef: null,\n hasEvidence: true,\n observedAt,\n validUntil: null,\n };\n}\n\n/**\n * Proves a customer-facing documentation journey only when every resource that\n * makes that journey executable is present in the application's admitted API\n * projection. Framework registration alone is intentionally insufficient.\n */\nfunction admittedResourceSurfaceObservation(\n operations: readonly OperationProjection[],\n observedAt: string,\n subjectRef: TechnicalDocumentationEvidenceSubjectRef,\n requiredResourceIdentifiers: readonly string[],\n): TechnicalDocumentationEvidenceObservationV1 {\n const exposedResourceIdentifiers = [...new Set(operations.map((operation) => operation.resourceIdentifier))]\n .filter((resourceIdentifier) => requiredResourceIdentifiers.includes(resourceIdentifier))\n .sort();\n const required = [...requiredResourceIdentifiers].sort();\n const exposed = required.every((resourceIdentifier) => exposedResourceIdentifiers.includes(resourceIdentifier));\n\n return {\n axis: TechnicalDocumentationApplicabilityEvidenceAxis.EXPOSED_API_SURFACE,\n subjectRef,\n status: exposed ? TechnicalDocumentationApplicabilityEvidenceStatus.PROVEN : TechnicalDocumentationApplicabilityEvidenceStatus.DISPROVEN,\n reason: exposed\n ? TechnicalDocumentationApplicabilityEvidenceReason.AUTHORITATIVE_POSITIVE_EVIDENCE\n : TechnicalDocumentationApplicabilityEvidenceReason.AUTHORITATIVE_NEGATIVE_EVIDENCE,\n authorityKind: TechnicalDocumentationEvidenceAuthorityKind.MATERIALIZED_ARTIFACT,\n authorityRef: OPERATION_PROJECTION_AUTHORITY_REF,\n authorityVersion: 1,\n runtimeScopeRef: null,\n hostRef: null,\n hasEvidence: true,\n observedAt,\n validUntil: null,\n };\n}\n\n/**\n * Introspection evidence that the generated application exposes an outbound\n * webhook configuration surface. The operation list is a materialized\n * companion-export artifact, not an accepted application specification.\n */\nfunction outboundWebhookSurfaceObservation(\n operations: readonly OperationProjection[],\n observedAt: string,\n): TechnicalDocumentationEvidenceObservationV1 {\n const exposedResourceIdentifiers = [...new Set(\n operations\n .map((operation) => operation.resourceIdentifier)\n .filter((resourceIdentifier) => OUTBOUND_WEBHOOK_SURFACE_RESOURCE_IDENTIFIERS.includes(resourceIdentifier)),\n )].sort();\n const exposed = exposedResourceIdentifiers.length > 0;\n\n return {\n axis: TechnicalDocumentationApplicabilityEvidenceAxis.EXPOSED_API_SURFACE,\n subjectRef: TechnicalDocumentationEvidenceSubjectRef.OUTBOUND_M2M_DELIVERY,\n status: exposed\n ? TechnicalDocumentationApplicabilityEvidenceStatus.PROVEN\n : TechnicalDocumentationApplicabilityEvidenceStatus.DISPROVEN,\n reason: exposed\n ? TechnicalDocumentationApplicabilityEvidenceReason.AUTHORITATIVE_POSITIVE_EVIDENCE\n : TechnicalDocumentationApplicabilityEvidenceReason.AUTHORITATIVE_NEGATIVE_EVIDENCE,\n authorityKind: TechnicalDocumentationEvidenceAuthorityKind.MATERIALIZED_ARTIFACT,\n authorityRef: OPERATION_PROJECTION_AUTHORITY_REF,\n authorityVersion: 1,\n runtimeScopeRef: null,\n hostRef: null,\n hasEvidence: true,\n observedAt,\n validUntil: null,\n };\n}\n\n/** Engine-catalog evidence that the documented signature contract still exists. */\nexport function outboundWebhookSignatureContractObservation(\n catalog: EngineDocumentationSpecificationCatalogV1,\n observedAt: string,\n): TechnicalDocumentationEvidenceObservationV1 {\n const entry = catalog.identity.entries.find(\n (candidate) => candidate.sourceRef === ENGINE_DOCUMENTATION_OUTBOUND_WEBHOOK_SIGNATURE_SOURCE_REF,\n );\n\n return {\n axis: TechnicalDocumentationApplicabilityEvidenceAxis.ENGINE_SUPPORT,\n subjectRef: TechnicalDocumentationEvidenceSubjectRef.OUTBOUND_M2M_SIGNATURE,\n status: entry === undefined\n ? TechnicalDocumentationApplicabilityEvidenceStatus.DISPROVEN\n : TechnicalDocumentationApplicabilityEvidenceStatus.PROVEN,\n reason: entry === undefined\n ? TechnicalDocumentationApplicabilityEvidenceReason.AUTHORITATIVE_NEGATIVE_EVIDENCE\n : TechnicalDocumentationApplicabilityEvidenceReason.AUTHORITATIVE_POSITIVE_EVIDENCE,\n authorityKind: TechnicalDocumentationEvidenceAuthorityKind.ENGINE_CONTENT_REGISTRY,\n authorityRef: ENGINE_CONTENT_CATALOG_AUTHORITY_REF,\n authorityVersion: 1,\n runtimeScopeRef: null,\n hostRef: null,\n hasEvidence: true,\n observedAt,\n validUntil: null,\n };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"technical-documentation-application-derivation.companion.service.js","sourceRoot":"","sources":["../../../../src/technical-doc/services/technical-documentation-application-derivation.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EACL,0DAA0D,EAC1D,+CAA+C,GAEhD,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACL,+CAA+C,EAC/C,iDAAiD,EACjD,iDAAiD,EACjD,6BAA6B,EAC7B,2CAA2C,EAC3C,wCAAwC,EAExC,yDAAyD,GAI1D,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,6CAA6C,EAC7C,mDAAmD,EACnD,6CAA6C,EAC7C,mDAAmD,EACnD,2DAA2D,EAI3D,yCAAyC,EACzC,6CAA6C,EAC7C,6CAA6C,EAC7C,0CAA0C,EAC1C,qCAAqC,EACrC,uCAAuC,EACvC,0CAA0C,EAC1C,qCAAqC,EACrC,4CAA4C,EAC5C,+CAA+C,GAYhD,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAE/C,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAOjF,MAAM,oCAAoC,GAAG,+DAA+D,CAAC;AAC7G,MAAM,wCAAwC,GAAG,CAAC,CAAC;AACnD,MAAM,kCAAkC,GAAG,gEAAgE,CAAC;AAC5G,MAAM,+CAA+C,GAAG,2EAA2E,CAAC;AACpI,MAAM,oCAAoC,GAAG,8EAA8E,CAAC;AAE5H;;;;;;;;;GASG;AACH,MAAM,sCAA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EAAE,oCAAoC;QAClD,gBAAgB,EAAE,CAAC;QACnB,eAAe,EAAE,IAAI;QACrB,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,IAAI;QACjB,UAAU;QACV,UAAU,EAAE,IAAI;KACjB,CAAC;AACJ,CAAC","sourcesContent":["\nimport { CoreResourceType } from '@wildo-ai/saas-models';\nimport {\n ENGINE_DOCUMENTATION_OUTBOUND_WEBHOOK_SIGNATURE_SOURCE_REF,\n createEngineDocumentationSpecificationCatalogV1,\n type EngineDocumentationSpecificationCatalogV1,\n} from '@wildo-ai/saas-specifications/companion';\nimport {\n TechnicalDocumentationApplicabilityEvidenceAxis,\n TechnicalDocumentationApplicabilityEvidenceReason,\n TechnicalDocumentationApplicabilityEvidenceStatus,\n TechnicalDocumentationChannel,\n TechnicalDocumentationEvidenceAuthorityKind,\n TechnicalDocumentationEvidenceSubjectRef,\n canonicalizeTechnicalDocumentationJson,\n createTechnicalDocumentationEnvironmentEvidenceSnapshotV1,\n type TechnicalDocumentationAuthorizedBundleManifestV1,\n type TechnicalDocumentationEvidenceObservationV1,\n type TechnicalDocumentationPrivateDerivationManifestV1,\n} from '@wildo-ai/saas-specifications/technical-documentation';\nimport {\n createTechnicalDocumentationPrivateDerivation,\n loadApplicationConsumerDocumentationContentBundleV1,\n projectTechnicalDocumentationAuthorizedBundle,\n createApplicationOrganizationRolesDocumentationFact,\n createApplicationOrganizationUnitResourcesDocumentationFact,\n type ApplicationOrganizationRoleDocumentation,\n type ApplicationOrganizationUnitResourceDocumentation,\n type OperationProjection,\n projectApplicationConnectionDocumentation,\n projectApplicationAuthenticationDocumentation,\n projectApplicationAdministrationDocumentation,\n projectApplicationIntegrationDocumentation,\n projectApplicationDomainDocumentation,\n projectApplicationDocumentationChapters,\n RESOURCE_RELATIONSHIP_CARDINALITY_MEANINGS,\n RESOURCE_RELATIONSHIP_NATURE_MEANINGS,\n ResourceRelationshipDocumentationCardinality,\n ResourceRelationshipDocumentationDeleteStrategy,\n type ApplicationDomainRelationshipSource,\n type ResourceRelationshipDocumentation,\n type ApplicationDomainDocumentationSource,\n type ApplicationDomainOperationSource,\n type ApplicationDomainResourceSource,\n type ResourceTag,\n type ApplicationConnectionServer,\n type ApplicationAuthenticationDocumentationSource,\n type ApplicationAdministrationActionSource,\n type ApplicationAdministrationDocumentationSource,\n type ApplicationIntegrationDocumentationSource,\n} from '@wildo-ai/saas-technical-doc/companion';\nimport { inject, injectable } from 'inversify';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\n\nimport type {\n TechnicalDocumentationEnvironmentIdentityCompanionService,\n TechnicalDocumentationEnvironmentIdentityInput,\n} from './technical-documentation-environment-identity.companion.service';\n\nconst APPLICATION_DOCUMENTATION_POLICY_REF = 'technical-documentation:policy/application-consumer-public-v1';\nconst APPLICATION_DOCUMENTATION_POLICY_VERSION = 1;\nconst OPERATION_PROJECTION_AUTHORITY_REF = 'technical-documentation:authority/derived-operation-projection';\nconst APPLICATION_STARTUP_CONFIGURATION_AUTHORITY_REF = 'technical-documentation:authority/final-application-startup-configuration';\nconst ENGINE_CONTENT_CATALOG_AUTHORITY_REF = 'technical-documentation:authority/engine-documentation-specification-catalog';\n\n/**\n * Identifies the derivation implemented by this service: engine-authored content, narrow\n * source-owned application projections (resolved organization roles, unit-narrowed resources, the\n * application's own domain), and the chapters the application AUTHORED, joined to its accepted\n * documentation plan (#874).\n *\n * This was a sha256 over a hand-listed inventory of the projectors involved until 2026-08-27 —\n * a pin nothing compared, whose only reader-visible property was that it changed when someone\n * edited the list. `ref@version` says the same thing and can be looked up.\n */\nconst FRAMEWORK_DOCUMENTATION_DERIVATION_REF = 'technical-documentation:derivation/framework-content-v1';\nconst FRAMEWORK_DOCUMENTATION_DERIVATION_VERSION = 1;\nconst APPLICATION_DOCUMENTATION_BUNDLE_REF = 'technical-documentation:bundle/application-consumer-public';\n\n/**\n * These resource registrations prove that the application exposes an outbound\n * webhook configuration surface. This is framework capability introspection,\n * not application-authored documentation.\n */\nconst OUTBOUND_WEBHOOK_SURFACE_RESOURCE_IDENTIFIERS: readonly string[] = Object.freeze([\n CoreResourceType.APPLICATION_WEBHOOK_CONFIG,\n CoreResourceType.ORGANIZATION_WEBHOOK_CONFIG,\n]);\nconst ORGANIZATION_SIEM_EXPORT_RESOURCE_IDENTIFIERS: readonly string[] = Object.freeze([\n CoreResourceType.ORGANIZATION_SIEM_EXPORT_CONFIG,\n]);\nconst ORGANIZATION_SIEM_RECOVERY_RESOURCE_IDENTIFIERS: readonly string[] = Object.freeze([\n CoreResourceType.ORGANIZATION_SIEM_DELIVERY_DLQ,\n]);\n\n/**\n * The administrative matrix, joined from two things the derivation already has: the operations this\n * application admits, and its own role labels.\n *\n * Only ADMITTED operations are considered — the same inventory that gates every other page — so an\n * action this application does not publish never appears. Role identifiers are resolved to the\n * application's labels; an identifier with no label falls back to the identifier itself rather than\n * being dropped, because a reader is better served by an unfamiliar name than by a silently short\n * list. Repository-only and internal variants are excluded: they are not doors anyone can open.\n */\nfunction administrationSourceFromOperations(\n operations: readonly OperationProjection[],\n organizationRoles: readonly ApplicationOrganizationRoleDocumentation[],\n): ApplicationAdministrationDocumentationSource {\n const labelByRole = new Map(organizationRoles.map((role) => [role.role, role.label]));\n const collect = (resourceIdentifiers: readonly string[]): ApplicationAdministrationActionSource[] => {\n const seen = new Set<string>();\n const actions: ApplicationAdministrationActionSource[] = [];\n for (const operation of operations) {\n if (!resourceIdentifiers.includes(operation.resourceIdentifier)) continue;\n const action = operation.summary?.trim();\n if (action === undefined || action.length === 0 || seen.has(action)) continue;\n seen.add(action);\n actions.push({\n action,\n roleLabels: operation.roles.map((role) => labelByRole.get(role) ?? role),\n openToEveryMember: operation.roles.length === 0,\n });\n }\n return actions;\n };\n return {\n memberActions: collect([CoreResourceType.ORGANIZATION_MEMBERS]),\n organizationUnitActions: collect([CoreResourceType.ORGANIZATION_UNITS, CoreResourceType.ORGANIZATION_UNIT_MEMBERS]),\n };\n}\n\n/**\n * Turns one relationship row into something a customer can read, and refuses the part it cannot\n * resolve.\n *\n * `onParentDelete` is a CHILD-side policy (`childOperations.lifecycle.onParentDelete`) copied onto\n * both sides of the relationship, so the row alone does not say whether this resource is the parent\n * or the child. Cardinality settles it for a one-to-many — the ONE side is the parent, and the\n * foreign key sits on the many side — and settles nothing for one-to-one or many-to-many, which is\n * 51 of the rows carrying a policy on the dogfood application.\n *\n * Where it is unresolved the cascade is simply ABSENT, and the page says an empty cell means \"not\n * stated here\". Telling somebody their data survives a delete when it does not is the most\n * expensive sentence this documentation could carry; making them look it up is cheap.\n */\nfunction domainRelationshipFrom(relationship: ResourceRelationshipDocumentation): ApplicationDomainRelationshipSource {\n const many: readonly ResourceRelationshipDocumentationCardinality[] = [\n ResourceRelationshipDocumentationCardinality.MANY,\n ResourceRelationshipDocumentationCardinality.ONE_OR_MANY,\n ];\n const thisIsParent = relationship.resourceCardinality === ResourceRelationshipDocumentationCardinality.ONE\n && many.includes(relationship.relatedResourceCardinality);\n const thisIsChild = many.includes(relationship.resourceCardinality)\n && relationship.relatedResourceCardinality === ResourceRelationshipDocumentationCardinality.ONE;\n const policy = relationship.onParentDelete;\n const removes = policy?.strategy === ResourceRelationshipDocumentationDeleteStrategy.IMPERSONALIZE_AND_RETAIN\n ? 'kept but stripped of personal detail'\n : 'deleted';\n // The RESTRICT posture removes nothing, so neither cascade sentence below is true of it.\n const refusesWhileChildrenExist = policy?.strategy === ResourceRelationshipDocumentationDeleteStrategy.REFUSE_WHILE_CHILDREN_EXIST;\n const cascade = policy?.enabled !== true\n ? undefined\n : refusesWhileChildrenExist\n ? thisIsParent\n ? `Cannot be deleted while it still has \\`${relationship.relatedResourceName}\\``\n : thisIsChild\n ? `Its \\`${relationship.relatedResourceName}\\` cannot be deleted while this exists`\n : undefined\n : thisIsParent\n ? `Deleting one of these leaves its \\`${relationship.relatedResourceName}\\` ${removes}`\n : thisIsChild\n ? `${removes === 'deleted' ? 'Deleted' : 'Kept but stripped of personal detail'} when its \\`${relationship.relatedResourceName}\\` is deleted`\n : undefined;\n\n return {\n relatedResourceIdentifier: relationship.relatedResourceName,\n relatedCardinalityWords: RESOURCE_RELATIONSHIP_CARDINALITY_MEANINGS[relationship.relatedResourceCardinality],\n natureWords: RESOURCE_RELATIONSHIP_NATURE_MEANINGS[relationship.nature],\n ...(relationship.foreignKeyField === undefined ? {} : { foreignKeyField: relationship.foreignKeyField }),\n ...(cascade === undefined ? {} : { cascade }),\n };\n}\n\n/**\n * The application's own domain, assembled from three sources it already accepted.\n *\n * Only APPLICATION-OWNED resources appear. That split is the whole reason this page does not\n * restate the rest of the site: a core resource such as `organizationMembers` already has pages\n * about administering it, while `todos` had none anywhere.\n *\n * Grouping comes from `apiReferenceResourceCategories`, which an application already declares for\n * its API reference and which the categoriser has already validated (every published resource\n * named exactly once, no unknown names). Reusing it means the documentation and the reference\n * group the product the same way, and an application that renames a category renames it in one\n * place.\n *\n * When an application declares no categories the resources land in a single group named after the\n * application. That is deliberately not an invented taxonomy: guessing at domain groupings from\n * resource names is exactly the kind of inference the quality contract forbids.\n */\nfunction domainSourceFromResourceTags(input: {\n readonly applicationName: string;\n readonly resourceTags: readonly ResourceTag[];\n readonly applicationOwnedResourceIdentifiers: readonly string[];\n readonly operations: readonly OperationProjection[];\n readonly organizationRoles: readonly ApplicationOrganizationRoleDocumentation[];\n}): ApplicationDomainDocumentationSource {\n const owned = new Set(input.applicationOwnedResourceIdentifiers);\n const labelByRole = new Map(input.organizationRoles.map((role) => [role.role, role.label]));\n const operationsFor = (resourceIdentifier: string): ApplicationDomainOperationSource[] => {\n const seen = new Set<string>();\n const projected: ApplicationDomainOperationSource[] = [];\n for (const operation of input.operations) {\n if (operation.resourceIdentifier !== resourceIdentifier) continue;\n // One row per operation identifier: variants differ by transport and qualifier, which a\n // reader deciding whether they may do something does not need and cannot act on.\n if (seen.has(operation.baseOperationIdentifier)) continue;\n seen.add(operation.baseOperationIdentifier);\n const summary = operation.summary?.trim();\n /*\n * The wire facts, when the projection resolved them. A page that says what a thing is and\n * who may change it, and then cannot say how to send the request, stops one step short of\n * useful — and the method, the path and one worked example are all already here.\n */\n const example = operation.examples?.find((candidate) => candidate.request !== undefined || candidate.response !== undefined);\n projected.push({\n operationIdentifier: operation.baseOperationIdentifier,\n ...(summary === undefined || summary.length === 0 ? {} : { summary }),\n roleLabels: operation.roles.map((role) => labelByRole.get(role) ?? role),\n openToEveryMember: operation.roles.length === 0,\n ...(operation.httpVerb === undefined ? {} : { httpMethod: String(operation.httpVerb).toUpperCase() }),\n ...(operation.path === undefined ? {} : { path: operation.path }),\n ...(example === undefined ? {} : {\n example: {\n title: example.title,\n ...(example.request === undefined ? {} : { request: example.request }),\n ...(example.response === undefined ? {} : { response: example.response }),\n },\n }),\n });\n }\n return projected;\n };\n\n const byCategoryId = new Map<string, { label: string; description?: string; resources: ApplicationDomainResourceSource[] }>();\n for (const tag of input.resourceTags) {\n if (!owned.has(tag.name)) continue;\n const categoryId = tag.category?.id ?? 'application-resources';\n const label = tag.category?.label ?? input.applicationName;\n const existing = byCategoryId.get(categoryId)\n ?? { label, ...(tag.category?.description === undefined ? {} : { description: tag.category.description }), resources: [] };\n /*\n * EVERY relationship, not only those to resources this application owns.\n *\n * The first cut filtered to owned resources so every row could be a link. Measured against\n * Wonder CRM, that was wrong: its `deal` relates to `organizations` and `users` and to none of\n * its own resources, so the filter left the section empty on a resource with two real\n * connections. The projection links a related resource that has a page and names one that does\n * not, which keeps the fact and loses only the hyperlink.\n */\n const relationships = (tag.relationships ?? [])\n .map(domainRelationshipFrom)\n .sort((left, right) => left.relatedResourceIdentifier.localeCompare(right.relatedResourceIdentifier, 'en-US'));\n existing.resources.push({\n resourceIdentifier: tag.name,\n ...(tag.description === undefined ? {} : { purpose: tag.description }),\n ...(tag.lifecycleRole === undefined ? {} : { lifecycleRole: tag.lifecycleRole }),\n operations: operationsFor(tag.name),\n ...(relationships.length === 0 ? {} : { relationships }),\n });\n byCategoryId.set(categoryId, existing);\n }\n\n return {\n applicationName: input.applicationName,\n categories: [...byCategoryId.entries()]\n .map(([id, category]) => ({ id, ...category }))\n .sort((left, right) => left.label.localeCompare(right.label, 'en-US')),\n };\n}\n\nexport interface TechnicalDocumentationApplicationDerivationInput extends TechnicalDocumentationEnvironmentIdentityInput {\n readonly operations: readonly OperationProjection[];\n readonly hasConfiguredMcpToolOperations: boolean;\n readonly hasConfiguredA2aSkills: boolean;\n readonly organizationRoles: readonly ApplicationOrganizationRoleDocumentation[];\n readonly organizationUnitAwareResources: readonly ApplicationOrganizationUnitResourceDocumentation[];\n /**\n * The application's own name and published base URLs. The agent surfaces are NOT passed\n * separately: they are read from the same two flags that gate the MCP and A2A pages, so an\n * address can never be printed for a surface whose pages this application does not publish.\n */\n readonly applicationName: string;\n readonly apiServers: readonly ApplicationConnectionServer[];\n /** Per-user-type sign-in policy, read from the application's own configuration. */\n readonly authentication: ApplicationAuthenticationDocumentationSource;\n /** The tools and events this application publishes, from the same walk that gates those pages. */\n readonly integration: ApplicationIntegrationDocumentationSource;\n /** Per-resource purpose and lifecycle prose, already grouped by the application's own categories. */\n readonly resourceTags: readonly ResourceTag[];\n /** Which of those resources are the application's own rather than the framework's. */\n readonly applicationOwnedResourceIdentifiers: readonly string[];\n /**\n * The application's accepted documentation plan and authored chapter bodies, exactly as its\n * specifications package exports them (`documentationPlan`, `documentationChapters`). `unknown`\n * on purpose: the engine projector parses both, so a malformed export is refused by the schema\n * that defines it rather than by a cast here. Absent means the application authored nothing.\n */\n readonly documentationPlan?: unknown;\n readonly documentationChapters?: unknown;\n}\n\nexport interface TechnicalDocumentationApplicationDerivationResult {\n readonly privateDerivation: TechnicalDocumentationPrivateDerivationManifestV1;\n readonly publicBundle: TechnicalDocumentationAuthorizedBundleManifestV1;\n /** Chapters the plan declares that have no authored body yet — reported by the publisher, never refused. */\n readonly plannedChapterRefsWithoutBody: readonly string[];\n /** Bodies authored under a chapter ref the plan does not declare — withheld and reported, never refused. */\n readonly authoredChapterRefsWithoutPlan: readonly string[];\n}\n\n/**\n * Creates the public documentation bundle from engine-owned content, framework\n * introspection, the resolved organization-role configuration, and the chapters\n * the application authored (#874).\n *\n * The resolved operation catalog contributes capability evidence. The only\n * application-authored input is the documentation-chapter pair — the accepted\n * plan and the bodies joined to it — and this path still never SELECTS a\n * resource, workflow, persona or use case on the application's behalf: every\n * authored page exists because the application's own plan declares it.\n */\n@injectable()\nexport class TechnicalDocumentationApplicationDerivationCompanionService {\n public constructor(\n @inject(COMPANION_SERVICE_TYPES.TechnicalDocumentationEnvironmentIdentityService)\n private readonly environmentIdentity: TechnicalDocumentationEnvironmentIdentityCompanionService,\n ) {}\n\n public async deriveAuthorizedBundles(\n input: TechnicalDocumentationApplicationDerivationInput,\n ): Promise<TechnicalDocumentationApplicationDerivationResult> {\n const derivationEnvironment = this.environmentIdentity.resolveDerivationEnvironment(input);\n const derivedAt = derivationEnvironment.derivedAt;\n // First, so a malformed plan or chapter export refuses before any other work is done.\n const authoredChapters = projectApplicationDocumentationChapters({\n plan: input.documentationPlan,\n chapters: input.documentationChapters,\n });\n\n const engineCatalog = createEngineDocumentationSpecificationCatalogV1();\n const environmentEvidenceSnapshot = createTechnicalDocumentationEnvironmentEvidenceSnapshotV1({\n schemaVersion: 1,\n environmentRef: derivationEnvironment.environmentRef,\n freshnessEvaluatedAt: derivedAt,\n observations: [\n configuredAgentSurfaceObservation(\n input.hasConfiguredMcpToolOperations,\n TechnicalDocumentationEvidenceSubjectRef.APPLICATION_MCP_TOOL_SURFACE,\n derivedAt,\n ),\n configuredAgentSurfaceObservation(\n input.hasConfiguredA2aSkills,\n TechnicalDocumentationEvidenceSubjectRef.APPLICATION_A2A_AGENT_SURFACE,\n derivedAt,\n ),\n outboundWebhookSurfaceObservation(input.operations, derivedAt),\n outboundWebhookSignatureContractObservation(engineCatalog, derivedAt),\n admittedResourceSurfaceObservation(\n input.operations,\n derivedAt,\n TechnicalDocumentationEvidenceSubjectRef.ORGANIZATION_SIEM_EXPORT,\n ORGANIZATION_SIEM_EXPORT_RESOURCE_IDENTIFIERS,\n ),\n admittedResourceSurfaceObservation(\n input.operations,\n derivedAt,\n TechnicalDocumentationEvidenceSubjectRef.ORGANIZATION_SIEM_DELIVERY_RECOVERY,\n ORGANIZATION_SIEM_RECOVERY_RESOURCE_IDENTIFIERS,\n ),\n ],\n });\n const privateDerivation = createTechnicalDocumentationPrivateDerivation({\n engineContentBundle: loadApplicationConsumerDocumentationContentBundleV1(),\n environmentEvidenceSnapshot,\n engineSpecificationCatalog: engineCatalog,\n engineSpecificationCatalogIdentity: engineCatalog.identity,\n applicationOrganizationRolesFact: createApplicationOrganizationRolesDocumentationFact(input.organizationRoles),\n applicationOrganizationUnitResourcesFact: createApplicationOrganizationUnitResourcesDocumentationFact(\n input.organizationUnitAwareResources,\n ),\n applicationAuthenticationFact: projectApplicationAuthenticationDocumentation(input.authentication),\n applicationIntegrationFact: projectApplicationIntegrationDocumentation(input.integration),\n applicationDomainFact: projectApplicationDomainDocumentation(domainSourceFromResourceTags({\n applicationName: input.applicationName,\n resourceTags: input.resourceTags,\n applicationOwnedResourceIdentifiers: input.applicationOwnedResourceIdentifiers,\n operations: input.operations,\n organizationRoles: input.organizationRoles,\n })),\n applicationAdministrationFact: projectApplicationAdministrationDocumentation(\n administrationSourceFromOperations(input.operations, input.organizationRoles),\n ),\n applicationConnectionFact: projectApplicationConnectionDocumentation({\n applicationName: input.applicationName,\n apiServers: input.apiServers,\n surfaces: {\n mcpToolServer: input.hasConfiguredMcpToolOperations,\n a2aAgent: input.hasConfiguredA2aSkills,\n },\n }),\n applicationDocumentationChapterUnits: authoredChapters.units,\n derivationRef: FRAMEWORK_DOCUMENTATION_DERIVATION_REF,\n derivationVersion: FRAMEWORK_DOCUMENTATION_DERIVATION_VERSION,\n derivedAt,\n });\n const publicBundle = projectTechnicalDocumentationAuthorizedBundle({\n privateDerivation,\n channel: TechnicalDocumentationChannel.PUBLIC_PORTAL,\n policyRef: APPLICATION_DOCUMENTATION_POLICY_REF,\n policyVersion: APPLICATION_DOCUMENTATION_POLICY_VERSION,\n bundleRef: APPLICATION_DOCUMENTATION_BUNDLE_REF,\n bundleVersion: APPLICATION_DOCUMENTATION_POLICY_VERSION,\n });\n\n return Object.freeze({\n privateDerivation,\n publicBundle,\n plannedChapterRefsWithoutBody: authoredChapters.plannedChapterRefsWithoutBody,\n authoredChapterRefsWithoutPlan: authoredChapters.authoredChapterRefsWithoutPlan,\n });\n }\n}\n\n/**\n * Records whether the application's final executable declaration contains a\n * usable integration surface. This is configuration evidence, not a health\n * claim: publication never pretends that a live MCP or A2A request was made.\n */\nfunction configuredAgentSurfaceObservation(\n configured: boolean,\n subjectRef: TechnicalDocumentationEvidenceSubjectRef.APPLICATION_MCP_TOOL_SURFACE\n | TechnicalDocumentationEvidenceSubjectRef.APPLICATION_A2A_AGENT_SURFACE,\n observedAt: string,\n): TechnicalDocumentationEvidenceObservationV1 {\n return {\n axis: TechnicalDocumentationApplicabilityEvidenceAxis.CONFIGURED_ACTIVATION,\n subjectRef,\n status: configured\n ? TechnicalDocumentationApplicabilityEvidenceStatus.PROVEN\n : TechnicalDocumentationApplicabilityEvidenceStatus.DISPROVEN,\n reason: configured\n ? TechnicalDocumentationApplicabilityEvidenceReason.AUTHORITATIVE_POSITIVE_EVIDENCE\n : TechnicalDocumentationApplicabilityEvidenceReason.AUTHORITATIVE_NEGATIVE_EVIDENCE,\n authorityKind: TechnicalDocumentationEvidenceAuthorityKind.CONFIGURATION,\n authorityRef: APPLICATION_STARTUP_CONFIGURATION_AUTHORITY_REF,\n authorityVersion: 1,\n runtimeScopeRef: null,\n hostRef: null,\n hasEvidence: true,\n observedAt,\n validUntil: null,\n };\n}\n\n/**\n * Proves a customer-facing documentation journey only when every resource that\n * makes that journey executable is present in the application's admitted API\n * projection. Framework registration alone is intentionally insufficient.\n */\nfunction admittedResourceSurfaceObservation(\n operations: readonly OperationProjection[],\n observedAt: string,\n subjectRef: TechnicalDocumentationEvidenceSubjectRef,\n requiredResourceIdentifiers: readonly string[],\n): TechnicalDocumentationEvidenceObservationV1 {\n const exposedResourceIdentifiers = [...new Set(operations.map((operation) => operation.resourceIdentifier))]\n .filter((resourceIdentifier) => requiredResourceIdentifiers.includes(resourceIdentifier))\n .sort();\n const required = [...requiredResourceIdentifiers].sort();\n const exposed = required.every((resourceIdentifier) => exposedResourceIdentifiers.includes(resourceIdentifier));\n\n return {\n axis: TechnicalDocumentationApplicabilityEvidenceAxis.EXPOSED_API_SURFACE,\n subjectRef,\n status: exposed ? TechnicalDocumentationApplicabilityEvidenceStatus.PROVEN : TechnicalDocumentationApplicabilityEvidenceStatus.DISPROVEN,\n reason: exposed\n ? TechnicalDocumentationApplicabilityEvidenceReason.AUTHORITATIVE_POSITIVE_EVIDENCE\n : TechnicalDocumentationApplicabilityEvidenceReason.AUTHORITATIVE_NEGATIVE_EVIDENCE,\n authorityKind: TechnicalDocumentationEvidenceAuthorityKind.MATERIALIZED_ARTIFACT,\n authorityRef: OPERATION_PROJECTION_AUTHORITY_REF,\n authorityVersion: 1,\n runtimeScopeRef: null,\n hostRef: null,\n hasEvidence: true,\n observedAt,\n validUntil: null,\n };\n}\n\n/**\n * Introspection evidence that the generated application exposes an outbound\n * webhook configuration surface. The operation list is a materialized\n * companion-export artifact, not an accepted application specification.\n */\nfunction outboundWebhookSurfaceObservation(\n operations: readonly OperationProjection[],\n observedAt: string,\n): TechnicalDocumentationEvidenceObservationV1 {\n const exposedResourceIdentifiers = [...new Set(\n operations\n .map((operation) => operation.resourceIdentifier)\n .filter((resourceIdentifier) => OUTBOUND_WEBHOOK_SURFACE_RESOURCE_IDENTIFIERS.includes(resourceIdentifier)),\n )].sort();\n const exposed = exposedResourceIdentifiers.length > 0;\n\n return {\n axis: TechnicalDocumentationApplicabilityEvidenceAxis.EXPOSED_API_SURFACE,\n subjectRef: TechnicalDocumentationEvidenceSubjectRef.OUTBOUND_M2M_DELIVERY,\n status: exposed\n ? TechnicalDocumentationApplicabilityEvidenceStatus.PROVEN\n : TechnicalDocumentationApplicabilityEvidenceStatus.DISPROVEN,\n reason: exposed\n ? TechnicalDocumentationApplicabilityEvidenceReason.AUTHORITATIVE_POSITIVE_EVIDENCE\n : TechnicalDocumentationApplicabilityEvidenceReason.AUTHORITATIVE_NEGATIVE_EVIDENCE,\n authorityKind: TechnicalDocumentationEvidenceAuthorityKind.MATERIALIZED_ARTIFACT,\n authorityRef: OPERATION_PROJECTION_AUTHORITY_REF,\n authorityVersion: 1,\n runtimeScopeRef: null,\n hostRef: null,\n hasEvidence: true,\n observedAt,\n validUntil: null,\n };\n}\n\n/** Engine-catalog evidence that the documented signature contract still exists. */\nexport function outboundWebhookSignatureContractObservation(\n catalog: EngineDocumentationSpecificationCatalogV1,\n observedAt: string,\n): TechnicalDocumentationEvidenceObservationV1 {\n const entry = catalog.identity.entries.find(\n (candidate) => candidate.sourceRef === ENGINE_DOCUMENTATION_OUTBOUND_WEBHOOK_SIGNATURE_SOURCE_REF,\n );\n\n return {\n axis: TechnicalDocumentationApplicabilityEvidenceAxis.ENGINE_SUPPORT,\n subjectRef: TechnicalDocumentationEvidenceSubjectRef.OUTBOUND_M2M_SIGNATURE,\n status: entry === undefined\n ? TechnicalDocumentationApplicabilityEvidenceStatus.DISPROVEN\n : TechnicalDocumentationApplicabilityEvidenceStatus.PROVEN,\n reason: entry === undefined\n ? TechnicalDocumentationApplicabilityEvidenceReason.AUTHORITATIVE_NEGATIVE_EVIDENCE\n : TechnicalDocumentationApplicabilityEvidenceReason.AUTHORITATIVE_POSITIVE_EVIDENCE,\n authorityKind: TechnicalDocumentationEvidenceAuthorityKind.ENGINE_CONTENT_REGISTRY,\n authorityRef: ENGINE_CONTENT_CATALOG_AUTHORITY_REF,\n authorityVersion: 1,\n runtimeScopeRef: null,\n hostRef: null,\n hasEvidence: true,\n observedAt,\n validUntil: null,\n };\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"technical-documentation-environment-identity.companion.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"technical-documentation-environment-identity.companion.service.d.ts","sourceRoot":"","sources":["../../../../src/technical-doc/services/technical-documentation-environment-identity.companion.service.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAO7E,MAAM,WAAW,8CAA8C;IAC7D,2GAA2G;IAC3G,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;CACpC;AAED,MAAM,WAAW,2CAA2C;IAC1D,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,kJAAkJ;IAClJ,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,0CAA0C;IACzD,GAAG,IAAI,IAAI,CAAC;CACb;AAED,qBACa,4CAA6C,YAAW,0CAA0C;IACtG,GAAG,IAAI,IAAI;CAGnB;AAED;;;;;;;;;;;;;GAaG;AACH,qBACa,yDAAyD;IAOlE,OAAO,CAAC,QAAQ,CAAC,KAAK;IANxB,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAmB;gBAIlD,gBAAgB,EAAE,gBAAgB,EAEjB,KAAK,GAAE,0CAA+F;IAKlH,4BAA4B,CACjC,KAAK,EAAE,8CAA8C,GACpD,2CAA2C;CAyB/C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"technical-documentation-environment-identity.companion.service.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"technical-documentation-environment-identity.companion.service.js","sourceRoot":"","sources":["../../../../src/technical-doc/services/technical-documentation-environment-identity.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACzD,OAAO,EACL,+BAA+B,EAC/B,gDAAgD,GACjD,MAAM,uDAAuD,CAAC;AAG/D,OAAO,EAAE,uBA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,CAAC,WAAW;YACvC,iBAAiB,EAAE,YAAY,KAAK,CAAC,iBAAiB,EAAE;SACzD,EAAE,MAAM,CAAC,CAAC;QACX,MAAM,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC;QACvC,IAAI,CAAC,CAAC,aAAa,YAAY,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAC,OAAO,EAAE,CAAC,EAAE,CAAC;YAClF,MAAM,IAAI,KAAK,CAAC,mEAAmE,CAAC,CAAC;QACvF,CAAC;QACD,OAAO,MAAM,CAAC,MAAM,CAAC;YACnB,cAAc,EAAE,+BAA+B,CAAC,KAAK,CAAC,QAAQ,CAAC,cAAc,CAAC;YAC9E,SAAS,EAAE,aAAa,CAAC,WAAW,EAAE;SACvC,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AAvCY,yDAAyD;IADrE,UAAU,EAAE;IAKR,WAAA,MAAM,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAA;IAEhD,WAAA,MAAM,CAAC,uBAAuB,CAAC,sCAAsC,CAAC,CAAA;IAAE,WAAA,QAAQ,EAAE,CAAA;;GAN1E,yDAAyD,CAuCrE","sourcesContent":["import { createHash } from 'node:crypto';\n\nimport { inject, injectable, optional } from 'inversify';\nimport {\n TechnicalDocumentationRefSchema,\n resolveTechnicalDocumentationEnvironmentIdentity,\n} from '@wildo-ai/saas-specifications/technical-documentation';\n\nimport type { CompanionContext } from '../../core/context/companion-context';\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\n\nfunction digest(value: string): string {\n return `sha256:${createHash('sha256').update(value).digest('hex')}`;\n}\n\nexport interface TechnicalDocumentationEnvironmentIdentityInput {\n /** Canonical key in `wildo.saas.config.ts#services`; identity is derived, never supplied by the caller. */\n readonly backendServiceKey: string;\n}\n\nexport interface TechnicalDocumentationDerivationEnvironment {\n readonly environmentRef: string;\n /** Derivation timestamp. Documentation evidence is source-derived, so this stamps the derivation, it does not bound an observation's validity. */\n readonly derivedAt: string;\n}\n\nexport interface TechnicalDocumentationEnvironmentClockPort {\n now(): Date;\n}\n\n@injectable()\nexport class SystemTechnicalDocumentationEnvironmentClock implements TechnicalDocumentationEnvironmentClockPort {\n public now(): Date {\n return new Date();\n }\n}\n\n/**\n * Resolves the named environment a documentation derivation is being produced\n * for, and the instant it was produced.\n *\n * This replaced a receipt-reading runtime-evidence service under decision D14.\n * Documentation evidence is derived from source and the environment's\n * declarative configuration, so nothing here reads a runtime receipt, a\n * filesystem signal or a health probe — the service exists only to name the\n * environment and stamp the derivation.\n *\n * `derivedAt` deliberately carries no expiry. The prior model sealed observations\n * with a `validUntil`, which made documentation builds race their own evidence;\n * source-derived facts do not expire between the derivation and its publication.\n */\n@injectable()\nexport class TechnicalDocumentationEnvironmentIdentityCompanionService {\n private readonly companionContext: CompanionContext;\n\n public constructor(\n @inject(COMPANION_SERVICE_TYPES.CompanionContext)\n companionContext: CompanionContext,\n @inject(COMPANION_SERVICE_TYPES.TechnicalDocumentationEnvironmentClock) @optional()\n private readonly clock: TechnicalDocumentationEnvironmentClockPort = new SystemTechnicalDocumentationEnvironmentClock(),\n ) {\n this.companionContext = companionContext;\n }\n\n public resolveDerivationEnvironment(\n input: TechnicalDocumentationEnvironmentIdentityInput,\n ): TechnicalDocumentationDerivationEnvironment {\n const backendService = this.companionContext.servicesByKey[input.backendServiceKey];\n if (backendService === undefined || backendService.frontendType !== undefined) {\n throw new Error(`technical-documentation derivation requires a declared backend service key: ${input.backendServiceKey}`);\n }\n const applicationId = process.env.APPLICATION_ID;\n const environmentId = process.env.PLATFORM_ENVIRONMENT_ID;\n if (applicationId === undefined || environmentId === undefined) {\n throw new Error('technical-documentation derivation requires companion APPLICATION_ID and PLATFORM_ENVIRONMENT_ID authorities');\n }\n const identity = resolveTechnicalDocumentationEnvironmentIdentity({\n applicationId,\n environmentId,\n serviceName: backendService.serviceName,\n serviceIdentifier: `services.${input.backendServiceKey}`,\n }, digest);\n const derivedAtDate = this.clock.now();\n if (!(derivedAtDate instanceof Date) || !Number.isFinite(derivedAtDate.getTime())) {\n throw new Error('technical-documentation derivation clock returned an invalid date');\n }\n return Object.freeze({\n environmentRef: TechnicalDocumentationRefSchema.parse(identity.environmentRef),\n derivedAt: derivedAtDate.toISOString(),\n });\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"technical-documentation-pilot-assets.companion.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"technical-documentation-pilot-assets.companion.service.d.ts","sourceRoot":"","sources":["../../../../src/technical-doc/services/technical-documentation-pilot-assets.companion.service.ts"],"names":[],"mappings":"AAMA,OAAO,EAWL,KAAK,gDAAgD,EACrD,KAAK,mDAAmD,EAEzD,MAAM,uDAAuD,CAAC;AAe/D,MAAM,WAAW,gDAAgD;IAC/D,QAAQ,CAAC,mBAAmB,EAAE,mDAAmD,CAAC;IAClF,QAAQ,CAAC,gBAAgB,EAAE,WAAW,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;CAC5D;AAiCD,iKAAiK;AACjK,qBAAa,iDAAiD;IAC/C,OAAO,CAAC,KAAK,EAAE;QAC1B,QAAQ,CAAC,gBAAgB,EAAE,gDAAgD,CAAC;QAC5E,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;KAC9B,GAAG,OAAO,CAAC,gDAAgD,CAAC;CAsH9D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"technical-documentation-pilot-assets.companion.service.js","sourceRoot":"","sources":["../../../../../src/technical-doc/services/technical-documentation-pilot-assets.companion.service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wCAAwC,EACxC,4CAA4C,EAC5C,sDAAsD,EACtD,gDAAgD,GACjD,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,sCAAsC,EACtC,yDAAyD,EACzD,4DAA4D,EAC5D,+BAA+B,EAC/B,sCAAsC,EACtC,iCAAiC,EAC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,MAAM,mBAAmB,GAAG,yDAAyD,CAAC;YACpF,aAAa,EAAE,CAAC;YAChB,cAAc,EAAE,8CAA8C;YAC9D,kBAAkB,EAAE,KAAK,CAAC,gBAAgB,CAAC,aAAa;YACxD,wBAAwB,EAAE,EAAE,GAAG,EAAE,KAAK,CAAC,gBAAgB,CAAC,SAAS,EAAE,OAAO,EAAE,KAAK,CAAC,gBAAgB,CAAC,aAAa,EAAE;YAClH,QAAQ;YACR,gBAAgB,EAAE,EAAE,MAAM,EAAE;YAC5B,UAAU;SACX,CAAC,CAAC;QACH,OAAO,MAAM,CAAC,MAAM,CAAC;YACnB,mBAAmB;YACnB,gBAAgB,EAAE,WAAW;SAC9B,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import {\n materializeTechnicalDocumentationDiagram,\n materializeTechnicalDocumentationPlaceholder,\n TECHNICAL_DOCUMENTATION_APPLICATION_REQUEST_DIAGRAM_V1,\n technicalDocumentationCanonicalAssetRelativePath,\n} from '@wildo-ai/saas-technical-doc/companion';\nimport {\n canonicalizeTechnicalDocumentationJson,\n createTechnicalDocumentationResolvedAssetBundleManifestV1,\n resolveMostRestrictiveTechnicalDocumentationAssetAccessClass,\n TechnicalDocumentationAssetKind,\n TechnicalDocumentationAssetAccessClass,\n TechnicalDocumentationAssetOrigin,\n TechnicalDocumentationAssetPublicationEligibility,\n TechnicalDocumentationAssetResolutionStatus,\n TechnicalDocumentationNormalizedRelativePathSchema,\n type TechnicalDocumentationAssetRequestV1,\n type TechnicalDocumentationAuthorizedBundleManifestV1,\n type TechnicalDocumentationResolvedAssetBundleManifestV1,\n type TechnicalDocumentationResolvedAssetV1,\n} from '@wildo-ai/saas-specifications/technical-documentation';\n\n/**\n * Provenance for an asset that was never captured. Named explicitly so a PLACEHOLDER can\n * never be mistaken for the output of a real producer when reading a resolved bundle.\n */\nconst PLACEHOLDER_PRODUCER_REF = 'technical-documentation:producer/unresolved-placeholder';\n\n/**\n * This asset bundle's stable name. Its VERSION tracks the authorized bundle it resolves against:\n * one authorized bundle version has exactly one resolved asset bundle, and re-resolving the same\n * bundle produces the same assets.\n */\nconst TECHNICAL_DOCUMENTATION_PILOT_ASSET_BUNDLE_REF = 'technical-documentation:asset-bundle/pilot';\n\nexport interface TechnicalDocumentationPilotAssetResolutionResult {\n readonly resolvedAssetBundle: TechnicalDocumentationResolvedAssetBundleManifestV1;\n readonly assetBytesByPath: ReadonlyMap<string, Uint8Array>;\n}\n\nfunction classificationFor(request: TechnicalDocumentationAssetRequestV1) {\n const effectiveAccessClass = resolveMostRestrictiveTechnicalDocumentationAssetAccessClass([\n request.accessClass,\n request.sourceAccessClass,\n request.viewedTenantAccessClass,\n request.roleAccessClass,\n ]);\n return {\n requestAccessClass: request.accessClass,\n sourceAccessClass: request.sourceAccessClass,\n viewedTenantAccessClass: request.viewedTenantAccessClass,\n roleAccessClass: request.roleAccessClass,\n effectiveAccessClass,\n publicationEligibility: effectiveAccessClass === TechnicalDocumentationAssetAccessClass.PUBLIC\n ? TechnicalDocumentationAssetPublicationEligibility.PUBLIC_ELIGIBLE\n : TechnicalDocumentationAssetPublicationEligibility.NON_PUBLIC,\n } as const;\n}\n\nfunction collectAuthorizedAssetRequests(bundle: TechnicalDocumentationAuthorizedBundleManifestV1): TechnicalDocumentationAssetRequestV1[] {\n const requestsByRef = new Map<string, TechnicalDocumentationAssetRequestV1>();\n for (const request of bundle.units.flatMap((unit) => unit.assetRequests)) {\n const existing = requestsByRef.get(request.assetRef);\n if (existing !== undefined && canonicalizeTechnicalDocumentationJson(existing) !== canonicalizeTechnicalDocumentationJson(request)) {\n throw new Error(`technical-documentation authorized units contain conflicting requests for ${request.assetRef}`);\n }\n requestsByRef.set(request.assetRef, request);\n }\n return [...requestsByRef.values()].sort((left, right) => left.assetRef.localeCompare(right.assetRef, 'en-US'));\n}\n\n/** Companion-owned resolver: reusable producers return bytes, while the configured application binds them to the exact authorized bundle and capture runtime. */\nexport class TechnicalDocumentationPilotAssetsCompanionService {\n public async resolve(input: {\n readonly authorizedBundle: TechnicalDocumentationAuthorizedBundleManifestV1;\n readonly resolvedAt?: string;\n }): Promise<TechnicalDocumentationPilotAssetResolutionResult> {\n const requests = collectAuthorizedAssetRequests(input.authorizedBundle);\n const assets: TechnicalDocumentationResolvedAssetV1[] = [];\n const bytesByPath = new Map<string, Uint8Array>();\n const resolvedAt = input.resolvedAt ?? new Date().toISOString();\n\n for (const request of requests) {\n const classification = classificationFor(request);\n if (request.kind === TechnicalDocumentationAssetKind.DIAGRAM && request.origin === TechnicalDocumentationAssetOrigin.DETERMINISTIC_RENDER) {\n /*\n * The staleness check that stood here compared `output.semanticInputDigest` against\n * `request.expectedSemanticInputDigest`. Both were produced by calling this same\n * materializer over this same frozen constant, in this same process, so the comparison\n * could not fail. What CAN disagree is the request's named semantic input against the\n * definition actually materialized — two independently authored names.\n */\n if (request.semanticInputRef !== TECHNICAL_DOCUMENTATION_APPLICATION_REQUEST_DIAGRAM_V1.diagramRef) {\n throw new Error(\n `technical-documentation diagram request names a different semantic input: ${request.assetRef} `\n + `wants ${request.semanticInputRef}, the deterministic renderer materializes `\n + `${TECHNICAL_DOCUMENTATION_APPLICATION_REQUEST_DIAGRAM_V1.diagramRef}`,\n );\n }\n const output = materializeTechnicalDocumentationDiagram(TECHNICAL_DOCUMENTATION_APPLICATION_REQUEST_DIAGRAM_V1);\n const normalizedRelativePath = TechnicalDocumentationNormalizedRelativePathSchema.parse(\n technicalDocumentationCanonicalAssetRelativePath({ assetRef: request.assetRef, kind: request.kind, mediaType: output.mediaType }),\n );\n bytesByPath.set(normalizedRelativePath, output.bytes);\n assets.push({\n assetRef: request.assetRef,\n kind: request.kind,\n origin: request.origin,\n accessClass: request.accessClass,\n requiredness: request.requiredness,\n rights: request.rights,\n semanticInputRef: request.semanticInputRef,\n classification,\n producerProvenance: {\n producerRef: request.captureOrRenderProfileRef,\n producerVersion: 1,\n sourceRef: TECHNICAL_DOCUMENTATION_APPLICATION_REQUEST_DIAGRAM_V1.diagramRef,\n },\n status: TechnicalDocumentationAssetResolutionStatus.RESOLVED,\n semanticInputObserved: true,\n normalizedRelativePath,\n mediaType: output.mediaType,\n byteLength: output.bytes.byteLength,\n byteDigest: output.byteDigest,\n resolvedAt,\n failureReason: null,\n });\n continue;\n }\n\n if (request.kind === TechnicalDocumentationAssetKind.PRODUCT_SCREENSHOT && request.origin === TechnicalDocumentationAssetOrigin.PLAYWRIGHT_CAPTURE) {\n /**\n * No capture supplied — ship a PLACEHOLDER rather than blocking the whole\n * documentation tree on a browser, a provisioned tenant and a live stack.\n *\n * The asset stays REQUIRED: this page genuinely needs an image, and the outstanding\n * refinement remains visible as \"still PLACEHOLDER\". What is deferred is the\n * PICTURE, never the obligation. Whether provisional imagery may actually ship is an\n * ENVIRONMENT decision, enforced at publication — not an authoring one, which is why\n * nothing here consults the declaration to decide it.\n *\n * `semanticInputObserved` is deliberately false: no capture observed anything, and\n * claiming an observation here would manufacture agreement between a request and a\n * capture that never ran.\n */\n const placeholder = materializeTechnicalDocumentationPlaceholder({ assetRef: request.assetRef, altText: request.altText });\n const placeholderPath = TechnicalDocumentationNormalizedRelativePathSchema.parse(\n technicalDocumentationCanonicalAssetRelativePath({ assetRef: request.assetRef, kind: request.kind, mediaType: placeholder.mediaType }),\n );\n if (bytesByPath.has(placeholderPath)) throw new Error(`technical-documentation resolved assets collide at ${placeholderPath}`);\n bytesByPath.set(placeholderPath, placeholder.bytes);\n assets.push({\n assetRef: request.assetRef,\n kind: request.kind,\n origin: request.origin,\n accessClass: request.accessClass,\n requiredness: request.requiredness,\n rights: request.rights,\n semanticInputRef: request.semanticInputRef,\n classification,\n producerProvenance: {\n producerRef: PLACEHOLDER_PRODUCER_REF,\n producerVersion: 1,\n sourceRef: request.captureOrRenderProfileRef,\n },\n status: TechnicalDocumentationAssetResolutionStatus.PLACEHOLDER,\n semanticInputObserved: false,\n normalizedRelativePath: placeholderPath,\n mediaType: placeholder.mediaType,\n byteLength: placeholder.bytes.byteLength,\n byteDigest: placeholder.byteDigest,\n resolvedAt,\n failureReason: null,\n });\n continue;\n }\n\n throw new Error(`technical-documentation pilot has no authorized resolver for ${request.kind}/${request.origin}`);\n }\n\n const resolvedAssetBundle = createTechnicalDocumentationResolvedAssetBundleManifestV1({\n schemaVersion: 1,\n assetBundleRef: TECHNICAL_DOCUMENTATION_PILOT_ASSET_BUNDLE_REF,\n assetBundleVersion: input.authorizedBundle.bundleVersion,\n authorizedBundleIdentity: { ref: input.authorizedBundle.bundleRef, version: input.authorizedBundle.bundleVersion },\n requests,\n resolvedAssetSet: { assets },\n resolvedAt,\n });\n return Object.freeze({\n resolvedAssetBundle,\n assetBytesByPath: bytesByPath,\n });\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"technical-documentation-pilot-assets.companion.service.js","sourceRoot":"","sources":["../../../../src/technical-doc/services/technical-documentation-pilot-assets.companion.service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wCAAwC,EACxC,4CAA4C,EAC5C,sDAAsD,EACtD,gDAAgD,GACjD,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,sCAAsC,EACtC,yDAAyD,EACzD,4DAA4D,EAC5D,+BAA+B,EAC/B,sCAAsC,EACtC,iCAAiC,EACjC,iDAAiD,EACjD,2CAA2C,EAC3C,kDAAkD,GAKnD,MAAM,uDAAuD,CAAC;AAE/D;;;GAGG;AACH,MAAM,wBAAwB,GAAG,yDAAyD,CAAC;AAE3F;;;;GAIG;AACH,MAAM,8CAA8C,GAAG,4CAA4C,CAAC;AAOpG,SAAS,iBAAiB,CAAC,OAA6C;IACtE,MAAM,oBAAoB,GAAG,4DAA4D,CAAC;QACxF,OAAO,CAAC,WAAW;QACnB,OAAO,CAAC,iBAAiB;QACzB,OAAO,CAAC,uBAAuB;QAC/B,OAAO,CAAC,eAAe;KACxB,CAAC,CAAC;IACH,OAAO;QACL,kBAAkB,EAAE,OAAO,CAAC,WAAW;QACvC,iBAAiB,EAAE,OAAO,CAAC,iBAAiB;QAC5C,uB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eTechnicalDocumentationDiagram,\n materializeTechnicalDocumentationPlaceholder,\n TECHNICAL_DOCUMENTATION_APPLICATION_REQUEST_DIAGRAM_V1,\n technicalDocumentationCanonicalAssetRelativePath,\n} from '@wildo-ai/saas-technical-doc/companion';\nimport {\n canonicalizeTechnicalDocumentationJson,\n createTechnicalDocumentationResolvedAssetBundleManifestV1,\n resolveMostRestrictiveTechnicalDocumentationAssetAccessClass,\n TechnicalDocumentationAssetKind,\n TechnicalDocumentationAssetAccessClass,\n TechnicalDocumentationAssetOrigin,\n TechnicalDocumentationAssetPublicationEligibility,\n TechnicalDocumentationAssetResolutionStatus,\n TechnicalDocumentationNormalizedRelativePathSchema,\n type TechnicalDocumentationAssetRequestV1,\n type TechnicalDocumentationAuthorizedBundleManifestV1,\n type TechnicalDocumentationResolvedAssetBundleManifestV1,\n type TechnicalDocumentationResolvedAssetV1,\n} from '@wildo-ai/saas-specifications/technical-documentation';\n\n/**\n * Provenance for an asset that was never captured. Named explicitly so a PLACEHOLDER can\n * never be mistaken for the output of a real producer when reading a resolved bundle.\n */\nconst PLACEHOLDER_PRODUCER_REF = 'technical-documentation:producer/unresolved-placeholder';\n\n/**\n * This asset bundle's stable name. Its VERSION tracks the authorized bundle it resolves against:\n * one authorized bundle version has exactly one resolved asset bundle, and re-resolving the same\n * bundle produces the same assets.\n */\nconst TECHNICAL_DOCUMENTATION_PILOT_ASSET_BUNDLE_REF = 'technical-documentation:asset-bundle/pilot';\n\nexport interface TechnicalDocumentationPilotAssetResolutionResult {\n readonly resolvedAssetBundle: TechnicalDocumentationResolvedAssetBundleManifestV1;\n readonly assetBytesByPath: ReadonlyMap<string, Uint8Array>;\n}\n\nfunction classificationFor(request: TechnicalDocumentationAssetRequestV1) {\n const effectiveAccessClass = resolveMostRestrictiveTechnicalDocumentationAssetAccessClass([\n request.accessClass,\n request.sourceAccessClass,\n request.viewedTenantAccessClass,\n request.roleAccessClass,\n ]);\n return {\n requestAccessClass: request.accessClass,\n sourceAccessClass: request.sourceAccessClass,\n viewedTenantAccessClass: request.viewedTenantAccessClass,\n roleAccessClass: request.roleAccessClass,\n effectiveAccessClass,\n publicationEligibility: effectiveAccessClass === TechnicalDocumentationAssetAccessClass.PUBLIC\n ? TechnicalDocumentationAssetPublicationEligibility.PUBLIC_ELIGIBLE\n : TechnicalDocumentationAssetPublicationEligibility.NON_PUBLIC,\n } as const;\n}\n\nfunction collectAuthorizedAssetRequests(bundle: TechnicalDocumentationAuthorizedBundleManifestV1): TechnicalDocumentationAssetRequestV1[] {\n const requestsByRef = new Map<string, TechnicalDocumentationAssetRequestV1>();\n for (const request of bundle.units.flatMap((unit) => unit.assetRequests)) {\n const existing = requestsByRef.get(request.assetRef);\n if (existing !== undefined && canonicalizeTechnicalDocumentationJson(existing) !== canonicalizeTechnicalDocumentationJson(request)) {\n throw new Error(`technical-documentation authorized units contain conflicting requests for ${request.assetRef}`);\n }\n requestsByRef.set(request.assetRef, request);\n }\n return [...requestsByRef.values()].sort((left, right) => left.assetRef.localeCompare(right.assetRef, 'en-US'));\n}\n\n/** Companion-owned resolver: reusable producers return bytes, while the configured application binds them to the exact authorized bundle and capture runtime. */\nexport class TechnicalDocumentationPilotAssetsCompanionService {\n public async resolve(input: {\n readonly authorizedBundle: TechnicalDocumentationAuthorizedBundleManifestV1;\n readonly resolvedAt?: string;\n }): Promise<TechnicalDocumentationPilotAssetResolutionResult> {\n const requests = collectAuthorizedAssetRequests(input.authorizedBundle);\n const assets: TechnicalDocumentationResolvedAssetV1[] = [];\n const bytesByPath = new Map<string, Uint8Array>();\n const resolvedAt = input.resolvedAt ?? new Date().toISOString();\n\n for (const request of requests) {\n const classification = classificationFor(request);\n if (request.kind === TechnicalDocumentationAssetKind.DIAGRAM && request.origin === TechnicalDocumentationAssetOrigin.DETERMINISTIC_RENDER) {\n /*\n * The staleness check that stood here compared `output.semanticInputDigest` against\n * `request.expectedSemanticInputDigest`. Both were produced by calling this same\n * materializer over this same frozen constant, in this same process, so the comparison\n * could not fail. What CAN disagree is the request's named semantic input against the\n * definition actually materialized — two independently authored names.\n */\n if (request.semanticInputRef !== TECHNICAL_DOCUMENTATION_APPLICATION_REQUEST_DIAGRAM_V1.diagramRef) {\n throw new Error(\n `technical-documentation diagram request names a different semantic input: ${request.assetRef} `\n + `wants ${request.semanticInputRef}, the deterministic renderer materializes `\n + `${TECHNICAL_DOCUMENTATION_APPLICATION_REQUEST_DIAGRAM_V1.diagramRef}`,\n );\n }\n const output = materializeTechnicalDocumentationDiagram(TECHNICAL_DOCUMENTATION_APPLICATION_REQUEST_DIAGRAM_V1);\n const normalizedRelativePath = TechnicalDocumentationNormalizedRelativePathSchema.parse(\n technicalDocumentationCanonicalAssetRelativePath({ assetRef: request.assetRef, kind: request.kind, mediaType: output.mediaType }),\n );\n bytesByPath.set(normalizedRelativePath, output.bytes);\n assets.push({\n assetRef: request.assetRef,\n kind: request.kind,\n origin: request.origin,\n accessClass: request.accessClass,\n requiredness: request.requiredness,\n rights: request.rights,\n semanticInputRef: request.semanticInputRef,\n classification,\n producerProvenance: {\n producerRef: request.captureOrRenderProfileRef,\n producerVersion: 1,\n sourceRef: TECHNICAL_DOCUMENTATION_APPLICATION_REQUEST_DIAGRAM_V1.diagramRef,\n },\n status: TechnicalDocumentationAssetResolutionStatus.RESOLVED,\n semanticInputObserved: true,\n normalizedRelativePath,\n mediaType: output.mediaType,\n byteLength: output.bytes.byteLength,\n byteDigest: output.byteDigest,\n resolvedAt,\n failureReason: null,\n });\n continue;\n }\n\n if (request.kind === TechnicalDocumentationAssetKind.PRODUCT_SCREENSHOT && request.origin === TechnicalDocumentationAssetOrigin.PLAYWRIGHT_CAPTURE) {\n /**\n * No capture supplied — ship a PLACEHOLDER rather than blocking the whole\n * documentation tree on a browser, a provisioned tenant and a live stack.\n *\n * The asset stays REQUIRED: this page genuinely needs an image, and the outstanding\n * refinement remains visible as \"still PLACEHOLDER\". What is deferred is the\n * PICTURE, never the obligation. Whether provisional imagery may actually ship is an\n * ENVIRONMENT decision, enforced at publication — not an authoring one, which is why\n * nothing here consults the declaration to decide it.\n *\n * `semanticInputObserved` is deliberately false: no capture observed anything, and\n * claiming an observation here would manufacture agreement between a request and a\n * capture that never ran.\n */\n const placeholder = materializeTechnicalDocumentationPlaceholder({ assetRef: request.assetRef, altText: request.altText });\n const placeholderPath = TechnicalDocumentationNormalizedRelativePathSchema.parse(\n technicalDocumentationCanonicalAssetRelativePath({ assetRef: request.assetRef, kind: request.kind, mediaType: placeholder.mediaType }),\n );\n if (bytesByPath.has(placeholderPath)) throw new Error(`technical-documentation resolved assets collide at ${placeholderPath}`);\n bytesByPath.set(placeholderPath, placeholder.bytes);\n assets.push({\n assetRef: request.assetRef,\n kind: request.kind,\n origin: request.origin,\n accessClass: request.accessClass,\n requiredness: request.requiredness,\n rights: request.rights,\n semanticInputRef: request.semanticInputRef,\n classification,\n producerProvenance: {\n producerRef: PLACEHOLDER_PRODUCER_REF,\n producerVersion: 1,\n sourceRef: request.captureOrRenderProfileRef,\n },\n status: TechnicalDocumentationAssetResolutionStatus.PLACEHOLDER,\n semanticInputObserved: false,\n normalizedRelativePath: placeholderPath,\n mediaType: placeholder.mediaType,\n byteLength: placeholder.bytes.byteLength,\n byteDigest: placeholder.byteDigest,\n resolvedAt,\n failureReason: null,\n });\n continue;\n }\n\n throw new Error(`technical-documentation pilot has no authorized resolver for ${request.kind}/${request.origin}`);\n }\n\n const resolvedAssetBundle = createTechnicalDocumentationResolvedAssetBundleManifestV1({\n schemaVersion: 1,\n assetBundleRef: TECHNICAL_DOCUMENTATION_PILOT_ASSET_BUNDLE_REF,\n assetBundleVersion: input.authorizedBundle.bundleVersion,\n authorizedBundleIdentity: { ref: input.authorizedBundle.bundleRef, version: input.authorizedBundle.bundleVersion },\n requests,\n resolvedAssetSet: { assets },\n resolvedAt,\n });\n return Object.freeze({\n resolvedAssetBundle,\n assetBytesByPath: bytesByPath,\n });\n }\n}\n"]}
|
package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"technical-documentation-pilot.companion.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"technical-documentation-pilot.companion.service.d.ts","sourceRoot":"","sources":["../../../../src/technical-doc/services/technical-documentation-pilot.companion.service.ts"],"names":[],"mappings":"AAKA,OAAO,EAEL,KAAK,0CAA0C,EAG/C,KAAK,gDAAgD,EACrD,KAAK,iDAAiD,EACtD,KAAK,yCAAyC,EAC9C,KAAK,mDAAmD,EACxD,KAAK,yCAAyC,EAC/C,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,mDAAmD,EAOnD,yCAAyC,EACzC,KAAK,uBAAuB,EAC5B,KAAK,mCAAmC,EAExC,KAAK,oCAAoC,EAC1C,MAAM,wCAAwC,CAAC;AAgBhD,MAAM,WAAW,4CAA4C;IAC3D,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,QAAQ,EAAE,UAAU,CAAC,OAAO,mDAAmD,CAAC,CAAC;IAC1F,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC,OAAO,yCAAyC,CAAC,CAAC;CACnF;AAED,MAAM,WAAW,0CAA2C,SAAQ,4CAA4C;IAC9G;;;OAGG;IACH,QAAQ,CAAC,gBAAgB,EAAE;QACzB,QAAQ,CAAC,UAAU,EAAE,yCAAyC,CAAC;QAC/D,QAAQ,CAAC,gBAAgB,EAAE,yCAAyC,CAAC;QACrE,QAAQ,CAAC,mBAAmB,EAAE,yCAAyC,CAAC;QACxE,QAAQ,CAAC,MAAM,EAAE,yCAAyC,CAAC;KAC5D,CAAC;IACF,QAAQ,CAAC,aAAa,EAAE;QAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC;IACzD,QAAQ,CAAC,YAAY,EAAE,SAAS;QAAE,QAAQ,CAAC,OAAO,EAAE,MA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K,MAAM,GAAG,IAAI,CAAC;QAC3G,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;KAC/B,GAAG,OAAO,CAAC,0CAA0C,CAAC;IAwF1C,OAAO,CAAC,KAAK,EAAE;QAC1B,QAAQ,CAAC,gBAAgB,EAAE,gDAAgD,CAAC;QAC5E,QAAQ,CAAC,mBAAmB,EAAE,mDAAmD,CAAC;QAClF,QAAQ,CAAC,mBAAmB,EAAE,yCAAyC,CAAC;QACxE,QAAQ,CAAC,eAAe,EAAE,SAAS,oCAAoC,EAAE,CAAC;QAC1E,QAAQ,CAAC,wBAAwB,EAAE,SAAS,MAAM,EAAE,CAAC;QACrD,QAAQ,CAAC,OAAO,EAAE,mCAAmC,CAAC;QACtD,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;KAC/B,GAAG,OAAO,CAAC,4CAA4C,CAAC;IAyBzD,iFAAiF;IACpE,uBAAuB,CAAC,KAAK,EAAE;QAC1C,QAAQ,CAAC,SAAS,EAAE,uBAAuB,CAAC;QAC5C,QAAQ,CAAC,cAAc,EAAE,SAAS,MAAM,EAAE,CAAC;KAC5C,GAAG,OAAO,CAAC;QAAE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,WAAW,EAAE,SAAS,MAAM,EAAE,CAAA;KAAE,CAAC;IAanF;;;;;;;OAOG;YACW,yBAAyB;YAqBzB,wBAAwB;IAiCtC;;;;;;;;OAQG;YACW,2CAA2C;YAqB3C,kBAAkB;YAyBlB,sBAAsB;YAiBtB,2BAA2B;CAkB1C"}
|
package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"technical-documentation-pilot.companion.service.js","sourceRoot":"","sources":["../../../../../src/technical-doc/services/technical-documentation-pilot.companion.service.ts"],"names":[],"mappings":"AAAA,OA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B,GAAG,CAAC,GAAG,aAAa,CAAC,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,EAAE,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,YAAY,GAAG,CAAC,CAAC,CAAC;gBACjH,IAAI,CAAC,iBAAiB;oBAAE,MAAM,EAAE,CAAC,YAAY,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;;oBAC/D,MAAM,IAAI,CAAC,2BAA2B,CAAC,QAAQ,EAAE,aAAa,EAAE,YAAY,CAAC,CAAC;YACrF,CAAC;iBAAM,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CAAC;gBAC5C,MAAM,EAAE,CAAC,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;YAC1C,CAAC;QACH,CAAC;IACH,CAAC;CACF","sourcesContent":["import { randomUUID } from 'node:crypto';\nimport { constants } from 'node:fs';\nimport { access, lstat, mkdir, open, readFile, readdir, rename, rm, writeFile } from 'node:fs/promises';\nimport path from 'node:path';\n\nimport {\n TechnicalDocumentationApplicabilityEvidenceStatus,\n type TechnicalDocumentationApiReferenceTargetV1,\n TechnicalDocumentationAssetResolutionStatus,\n TechnicalDocumentationChannel,\n type TechnicalDocumentationAuthorizedBundleManifestV1,\n type TechnicalDocumentationPrivateDerivationManifestV1,\n type TechnicalDocumentationVersionedIdentityV1,\n type TechnicalDocumentationResolvedAssetBundleManifestV1,\n type TechnicalDocumentationSupportedApiVersion,\n} from '@wildo-ai/saas-specifications/technical-documentation';\nimport {\n createTechnicalDocumentationAggregateRenderManifest,\n createTechnicalDocumentationRenderModel,\n readTechnicalDocumentationAuthorizedRenderInput,\n renderTechnicalDocumentationDocusaurus,\n renderTechnicalDocumentationSearchIndexes,\n renderVerifiedTechnicalDocumentationOpenApi,\n technicalDocumentationSha256Bytes,\n validateTechnicalDocumentationManagedTree,\n type OpenApiGenerationOutput,\n type TechnicalDocumentationOutputBudgets,\n type TechnicalDocumentationRenderedFile,\n type TechnicalDocumentationRendererResult,\n} from '@wildo-ai/saas-technical-doc/companion';\n\nimport { TechnicalDocumentationPilotAssetsCompanionService } from './technical-documentation-pilot-assets.companion.service';\n\nconst GENERATED_ROOT_RELATIVE_PATH = path.join('technical-doc', 'src', 'generated', 'consumer-documentation');\nconst API_REFERENCE_GENERATED_ROOT_RELATIVE_PATH = path.join('technical-doc', 'src', 'generated', 'api-reference');\nconst RENDER_MANIFEST_FILE_NAME = 'render-output-manifest.json';\nconst CONSUMER_DOCUMENTATION_RENDER_REF = 'technical-documentation:render/consumer-documentation';\nconst CONSUMER_DOCUMENTATION_PUBLICATION_SIGNAL_RELATIVE_PATH = path.join(\n '.wildo-saas',\n 'runtime-signals',\n 'technical-documentation',\n 'consumer-documentation-published.json',\n);\nconst publicationOperationQueues = new Map<string, Promise<void>>();\n\nexport interface TechnicalDocumentationPilotPublicationResult {\n readonly rootPath: string;\n readonly contentPath: string;\n readonly manifest: ReturnType<typeof createTechnicalDocumentationAggregateRenderManifest>;\n readonly validation: ReturnType<typeof validateTechnicalDocumentationManagedTree>;\n}\n\nexport interface TechnicalDocumentationPilotOperationResult extends TechnicalDocumentationPilotPublicationResult {\n /**\n * Which exact stage outputs this operation joined, named `ref@version`. Four sha256 fields until\n * 2026-08-27 — unreadable in a log, unmergeable across branches, and never compared to anything.\n */\n readonly causalIdentities: {\n readonly derivation: TechnicalDocumentationVersionedIdentityV1;\n readonly authorizedBundle: TechnicalDocumentationVersionedIdentityV1;\n readonly resolvedAssetBundle: TechnicalDocumentationVersionedIdentityV1;\n readonly render: TechnicalDocumentationVersionedIdentityV1;\n };\n readonly channelCounts: { readonly publicUnits: number };\n readonly suppressions: readonly { readonly unitRef: string; readonly reason: string }[];\n readonly evidenceLimitations: readonly { readonly axis: string; readonly subjectRef: string; readonly status: string; readonly reason: string }[];\n readonly assetStates: readonly { readonly assetRef: string; readonly status: string; readonly byteDigest: string | null }[];\n readonly freshnessEvaluatedAt: string;\n}\n\nexport interface TechnicalDocumentationPilotCompositionDerivation {\n readonly privateDerivation: Pick<\n TechnicalDocumentationPrivateDerivationManifestV1,\n 'derivationRef' | 'derivationVersion' | 'environmentEvidenceSnapshot'\n >;\n readonly publicBundle: TechnicalDocumentationAuthorizedBundleManifestV1;\n}\n\nfunction assertPathWithin(parent: string, child: string): void {\n const relative = path.relative(parent, child);\n if (relative === '' || relative.startsWith('..') || path.isAbsolute(relative)) {\n throw new Error(`technical-documentation managed path escapes its root: ${child}`);\n }\n}\n\nasync function pathExists(target: string): Promise<boolean> {\n try {\n await access(target, constants.F_OK);\n return true;\n } catch {\n return false;\n }\n}\n\nasync function fsyncPath(target: string): Promise<void> {\n const handle = await open(target, 'r');\n try {\n await handle.sync();\n } finally {\n await handle.close();\n }\n}\n\nasync function listRegularFiles(root: string, relative = ''): Promise<string[]> {\n const current = relative === '' ? root : path.join(root, relative);\n const entries = await readdir(current, { withFileTypes: true });\n const files: string[] = [];\n for (const entry of entries) {\n const childRelative = relative === '' ? entry.name : path.join(relative, entry.name);\n const child = path.join(root, childRelative);\n const info = await lstat(child);\n if (info.isSymbolicLink()) throw new Error(`technical-documentation generated tree rejects symbolic links: ${childRelative}`);\n if (info.isDirectory()) files.push(...await listRegularFiles(root, childRelative));\n else if (info.isFile()) files.push(childRelative.split(path.sep).join('/'));\n else throw new Error(`technical-documentation generated tree rejects non-regular entry: ${childRelative}`);\n }\n return files.sort();\n}\n\n/**\n * Companion-owned generation boundary for application-consumer documentation.\n *\n * The complete result is synchronized into one stable, generator-owned tree.\n * API-reference files are managed directly at stable semantic paths with no\n * checksum manifest or content-addressed identity. Previous versions, diffs,\n * and rollback are intentionally delegated to Git.\n */\nexport class TechnicalDocumentationPilotCompanionService {\n public constructor(private readonly saasRoot: string) {}\n\n private async withExclusivePublicationOperation<T>(rootPath: string, operation: () => Promise<T>): Promise<T> {\n const predecessor = publicationOperationQueues.get(rootPath) ?? Promise.resolve();\n let release!: () => void;\n const currentOperation = new Promise<void>((resolve) => {\n release = resolve;\n });\n const queueTail = predecessor.catch(() => undefined).then(() => currentOperation);\n publicationOperationQueues.set(rootPath, queueTail);\n await predecessor.catch(() => undefined);\n try {\n return await operation();\n } finally {\n release();\n if (publicationOperationQueues.get(rootPath) === queueTail) publicationOperationQueues.delete(rootPath);\n }\n }\n\n public async generateValidateAndPublish(input: {\n readonly derivation: TechnicalDocumentationPilotCompositionDerivation;\n readonly supportedApiVersion: TechnicalDocumentationSupportedApiVersion;\n readonly refuseProvisionalAssets?: boolean;\n readonly forbiddenPublicSentinels: readonly string[];\n readonly budgets: TechnicalDocumentationOutputBudgets;\n /** Returns `null` when this application does not publish the target — the link degrades to plain text (#472). */\n readonly resolveApiReferenceTarget?: (target: TechnicalDocumentationApiReferenceTargetV1) => string | null;\n readonly resolvedAt?: string;\n readonly publishedAt?: string;\n }): Promise<TechnicalDocumentationPilotOperationResult> {\n const publicationEvaluatedAt = input.publishedAt ?? new Date().toISOString();\n const publicationEvaluatedAtEpochMs = Date.parse(publicationEvaluatedAt);\n const freshnessEvaluatedAtEpochMs = Date.parse(input.derivation.privateDerivation.environmentEvidenceSnapshot.freshnessEvaluatedAt);\n if (publicationEvaluatedAtEpochMs < freshnessEvaluatedAtEpochMs) {\n throw new Error('technical-documentation publication time cannot precede the derivation freshness evaluation');\n }\n const assets = await new TechnicalDocumentationPilotAssetsCompanionService().resolve({\n authorizedBundle: input.derivation.publicBundle,\n ...(input.resolvedAt === undefined ? {} : { resolvedAt: input.resolvedAt }),\n });\n if (input.refuseProvisionalAssets === true) {\n const provisional = assets.resolvedAssetBundle.resolvedAssetSet.assets\n .filter((asset) => asset.status === TechnicalDocumentationAssetResolutionStatus.PLACEHOLDER)\n .map((asset) => asset.assetRef);\n if (provisional.length > 0) {\n throw new Error(`technical-documentation publication refuses provisional assets in this environment: ${provisional.join(', ')}`);\n }\n }\n\n const verified = readTechnicalDocumentationAuthorizedRenderInput({\n authorizedBundle: input.derivation.publicBundle,\n resolvedAssetBundle: assets.resolvedAssetBundle,\n assetBytesByPath: assets.assetBytesByPath,\n });\n for (const observation of input.derivation.privateDerivation.environmentEvidenceSnapshot.observations) {\n if (\n observation.validUntil !== null\n && [\n TechnicalDocumentationApplicabilityEvidenceStatus.PROVEN,\n TechnicalDocumentationApplicabilityEvidenceStatus.DISPROVEN,\n TechnicalDocumentationApplicabilityEvidenceStatus.CONFLICTED,\n ].includes(observation.status)\n && Date.parse(observation.validUntil) <= publicationEvaluatedAtEpochMs\n ) {\n throw new Error(`technical-documentation publication requires re-derivation because evidence expired during asset resolution: ${observation.axis}/${observation.subjectRef}`);\n }\n }\n\n const renderModel = createTechnicalDocumentationRenderModel(verified.authorizedBundle);\n /*\n * Two renderers, not three. A portable-markdown family was rendered here for as long as this\n * pipeline existed and NOTHING ever read it: the site mounts `docusaurus/docs`,\n * `docusaurus/sidebars.json` and `docusaurus/static`, and `src/pages/search.tsx` reads\n * `indexes/search.json` — measured with a positive control, so the empty result is a real\n * absence rather than a bad probe. It cost 81 files and 511 KB per publication, half the\n * published bytes, and it silently DOUBLED the operator-facing page budget: both families emit\n * `MARKDOWN_DOCUMENT`, so a 81-page application counted 162 against `maximumPageCount` (#274).\n */\n const rendererResults = [\n renderTechnicalDocumentationSearchIndexes(renderModel),\n renderTechnicalDocumentationDocusaurus({ model: renderModel, resolvedAssetBundle: verified.resolvedAssetBundle, assetBytesByPath: assets.assetBytesByPath, resolveApiReferenceTarget: input.resolveApiReferenceTarget }),\n ];\n const publication = await this.publish({\n authorizedBundle: verified.authorizedBundle,\n resolvedAssetBundle: verified.resolvedAssetBundle,\n supportedApiVersion: input.supportedApiVersion,\n rendererResults,\n forbiddenPublicSentinels: input.forbiddenPublicSentinels,\n budgets: input.budgets,\n publishedAt: publicationEvaluatedAt,\n });\n const evidenceLimitations = input.derivation.privateDerivation.environmentEvidenceSnapshot.observations\n .filter((observation) => observation.status !== TechnicalDocumentationApplicabilityEvidenceStatus.PROVEN)\n .map((observation) => ({ axis: observation.axis, subjectRef: observation.subjectRef, status: observation.status, reason: observation.reason }));\n\n return Object.freeze({\n ...publication,\n causalIdentities: Object.freeze({\n derivation: { ref: input.derivation.privateDerivation.derivationRef, version: input.derivation.privateDerivation.derivationVersion },\n authorizedBundle: { ref: verified.authorizedBundle.bundleRef, version: verified.authorizedBundle.bundleVersion },\n resolvedAssetBundle: { ref: verified.resolvedAssetBundle.assetBundleRef, version: verified.resolvedAssetBundle.assetBundleVersion },\n render: { ref: publication.manifest.renderRef, version: publication.manifest.renderVersion },\n }),\n channelCounts: Object.freeze({ publicUnits: input.derivation.publicBundle.units.length }),\n suppressions: Object.freeze(input.derivation.publicBundle.decisions\n .filter((decision) => decision.publishedUnitVersion === null)\n .map((decision) => ({ unitRef: decision.unitRef, reason: decision.reason }))),\n evidenceLimitations: Object.freeze(evidenceLimitations),\n assetStates: Object.freeze(assets.resolvedAssetBundle.resolvedAssetSet.assets.map((asset) => ({\n assetRef: asset.assetRef,\n status: asset.status,\n byteDigest: asset.byteDigest,\n }))),\n freshnessEvaluatedAt: input.derivation.privateDerivation.environmentEvidenceSnapshot.freshnessEvaluatedAt,\n });\n }\n\n public async publish(input: {\n readonly authorizedBundle: TechnicalDocumentationAuthorizedBundleManifestV1;\n readonly resolvedAssetBundle: TechnicalDocumentationResolvedAssetBundleManifestV1;\n readonly supportedApiVersion: TechnicalDocumentationSupportedApiVersion;\n readonly rendererResults: readonly TechnicalDocumentationRendererResult[];\n readonly forbiddenPublicSentinels: readonly string[];\n readonly budgets: TechnicalDocumentationOutputBudgets;\n readonly publishedAt?: string;\n }): Promise<TechnicalDocumentationPilotPublicationResult> {\n const rootPath = path.resolve(this.saasRoot, GENERATED_ROOT_RELATIVE_PATH);\n return this.withExclusivePublicationOperation(rootPath, async () => {\n if (input.authorizedBundle.channel !== TechnicalDocumentationChannel.PUBLIC_PORTAL) {\n throw new Error('technical-documentation consumer publisher accepts only a PUBLIC_PORTAL bundle');\n }\n const manifest = createTechnicalDocumentationAggregateRenderManifest({\n ...input,\n renderRef: CONSUMER_DOCUMENTATION_RENDER_REF,\n // One render per authorized bundle version: re-rendering the same bundle is the same render.\n renderVersion: input.authorizedBundle.bundleVersion,\n });\n const files = input.rendererResults.flatMap((result) => result.files);\n const validation = validateTechnicalDocumentationManagedTree({ ...input, manifest, files });\n assertPathWithin(path.resolve(this.saasRoot), rootPath);\n await this.synchronizeGeneratedTree(rootPath, RENDER_MANIFEST_FILE_NAME, manifest, files);\n await this.writeConsumerDocumentationPublicationSignal({\n renderRef: manifest.renderRef,\n renderVersion: manifest.renderVersion,\n publishedAt: input.publishedAt ?? new Date().toISOString(),\n });\n return Object.freeze({ rootPath, contentPath: rootPath, manifest, validation });\n });\n }\n\n /** Publishes only renderer-produced OpenAPI files into the separate API tree. */\n public async publishOpenApiDocuments(input: {\n readonly documents: OpenApiGenerationOutput;\n readonly sourceUnitRefs: readonly string[];\n }): Promise<{ readonly rootPath: string; readonly outputPaths: readonly string[] }> {\n const rootPath = path.resolve(this.saasRoot, API_REFERENCE_GENERATED_ROOT_RELATIVE_PATH);\n return this.withExclusivePublicationOperation(rootPath, async () => {\n assertPathWithin(path.resolve(this.saasRoot), rootPath);\n const renderer = renderVerifiedTechnicalDocumentationOpenApi(input);\n await this.synchronizeGeneratedFiles(rootPath, renderer.files);\n return Object.freeze({\n rootPath,\n outputPaths: Object.freeze(renderer.files.map((file) => file.normalizedRelativePath).sort()),\n });\n });\n }\n\n /**\n * Synchronizes a generated tree from semantic paths alone.\n *\n * The API reference is reproducible output checked into Git, so a parallel\n * checksum inventory adds a second representation without adding product\n * meaning. Exact path inventory still prevents stale generated files from\n * surviving a section or filename change.\n */\n private async synchronizeGeneratedFiles(\n rootPath: string,\n files: readonly Pick<TechnicalDocumentationRenderedFile, 'normalizedRelativePath' | 'bytes'>[],\n ): Promise<void> {\n await mkdir(rootPath, { recursive: true });\n const rootInfo = await lstat(rootPath);\n if (!rootInfo.isDirectory() || rootInfo.isSymbolicLink()) {\n throw new Error('technical-documentation generated root must be a regular directory');\n }\n\n const expectedPaths = new Set(files.map((file) => file.normalizedRelativePath));\n for (const file of files) await this.writeGeneratedFile(rootPath, file.normalizedRelativePath, file.bytes);\n await this.removeStaleGeneratedEntries(rootPath, expectedPaths);\n\n const inventory = await listRegularFiles(rootPath);\n if (inventory.join('\\0') !== [...expectedPaths].sort().join('\\0')) {\n throw new Error('technical-documentation generated tree inventory does not match the render result');\n }\n await fsyncPath(rootPath);\n }\n\n private async synchronizeGeneratedTree(\n rootPath: string,\n manifestFileName: string,\n manifest: { readonly outputs: readonly { readonly normalizedRelativePath: string; readonly byteLength: number; readonly byteDigest: string }[] },\n files: readonly TechnicalDocumentationRenderedFile[],\n ): Promise<void> {\n await mkdir(rootPath, { recursive: true });\n const rootInfo = await lstat(rootPath);\n if (!rootInfo.isDirectory() || rootInfo.isSymbolicLink()) {\n throw new Error('technical-documentation generated root must be a regular directory');\n }\n\n const expectedPaths = new Set<string>([\n manifestFileName,\n ...files.map((file) => file.normalizedRelativePath),\n ]);\n for (const file of files) await this.writeGeneratedFile(rootPath, file.normalizedRelativePath, file.bytes);\n await this.writeGeneratedFile(rootPath, manifestFileName, `${JSON.stringify(manifest, null, 2)}\\n`);\n await this.removeStaleGeneratedEntries(rootPath, expectedPaths);\n\n const inventory = await listRegularFiles(rootPath);\n if (inventory.join('\\0') !== [...expectedPaths].sort().join('\\0')) {\n throw new Error('technical-documentation generated tree inventory does not match the render result');\n }\n for (const output of manifest.outputs) {\n const bytes = await readFile(path.join(rootPath, output.normalizedRelativePath));\n if (bytes.byteLength !== output.byteLength || technicalDocumentationSha256Bytes(bytes) !== output.byteDigest) {\n throw new Error(`technical-documentation generated tree byte mismatch: ${output.normalizedRelativePath}`);\n }\n }\n await fsyncPath(rootPath);\n }\n\n /**\n * Tells the local docs host that a complete, verified publication is ready.\n *\n * This signal is deliberately outside the checked-in generated tree. The\n * tree remains a stable, content-addressed-by-manifest publication owned by\n * Git; the signal is ephemeral local-dev orchestration state. It is written\n * only after all rendered bytes and the manifest have been synchronized and\n * re-verified, so a Docusaurus reload cannot observe a half-publication.\n */\n private async writeConsumerDocumentationPublicationSignal(input: {\n readonly renderRef: string;\n readonly renderVersion: number;\n readonly publishedAt: string;\n }): Promise<void> {\n const signalPath = path.resolve(this.saasRoot, CONSUMER_DOCUMENTATION_PUBLICATION_SIGNAL_RELATIVE_PATH);\n assertPathWithin(path.resolve(this.saasRoot), signalPath);\n const signalDirectory = path.dirname(signalPath);\n await mkdir(signalDirectory, { recursive: true });\n const temporaryPath = path.join(signalDirectory, `.${path.basename(signalPath)}.wildo-tmp-${randomUUID()}`);\n try {\n await writeFile(temporaryPath, `${JSON.stringify({ schemaVersion: 1, ...input }, null, 2)}\\n`);\n await fsyncPath(temporaryPath);\n await rename(temporaryPath, signalPath);\n await fsyncPath(signalDirectory);\n } catch (error) {\n await rm(temporaryPath, { force: true });\n throw error;\n }\n }\n\n private async writeGeneratedFile(rootPath: string, relativePath: string, bytes: Uint8Array | string): Promise<void> {\n const target = path.resolve(rootPath, relativePath);\n assertPathWithin(rootPath, target);\n await this.prepareGeneratedParent(rootPath, path.dirname(target));\n if (await pathExists(target)) {\n const targetInfo = await lstat(target);\n if (targetInfo.isDirectory()) await rm(target, { recursive: true });\n else if (targetInfo.isFile()) {\n const currentBytes = await readFile(target);\n const nextBytes = typeof bytes === 'string' ? Buffer.from(bytes, 'utf8') : bytes;\n if (currentBytes.equals(nextBytes)) return;\n }\n }\n const temporary = path.join(path.dirname(target), `.${path.basename(target)}.wildo-tmp-${randomUUID()}`);\n try {\n await writeFile(temporary, bytes);\n await fsyncPath(temporary);\n await rename(temporary, target);\n await fsyncPath(path.dirname(target));\n } catch (error) {\n await rm(temporary, { force: true });\n throw error;\n }\n }\n\n private async prepareGeneratedParent(rootPath: string, parentPath: string): Promise<void> {\n const relative = path.relative(rootPath, parentPath);\n if (relative === '') return;\n let current = rootPath;\n for (const segment of relative.split(path.sep)) {\n current = path.join(current, segment);\n let directoryExists = false;\n if (await pathExists(current)) {\n const info = await lstat(current);\n if (info.isSymbolicLink()) throw new Error(`technical-documentation generated path rejects symbolic-link parent: ${current}`);\n if (!info.isDirectory()) await rm(current);\n else directoryExists = true;\n }\n if (!directoryExists) await mkdir(current);\n }\n }\n\n private async removeStaleGeneratedEntries(\n rootPath: string,\n expectedPaths: ReadonlySet<string>,\n relativeDirectory = '',\n ): Promise<void> {\n const directory = relativeDirectory === '' ? rootPath : path.join(rootPath, relativeDirectory);\n for (const entry of await readdir(directory, { withFileTypes: true })) {\n const relativePath = (relativeDirectory === '' ? entry.name : `${relativeDirectory}/${entry.name}`).split(path.sep).join('/');\n const absolutePath = path.join(rootPath, relativePath);\n if (entry.isDirectory() && !entry.isSymbolicLink()) {\n const directoryIsNeeded = [...expectedPaths].some((expectedPath) => expectedPath.startsWith(`${relativePath}/`));\n if (!directoryIsNeeded) await rm(absolutePath, { recursive: true });\n else await this.removeStaleGeneratedEntries(rootPath, expectedPaths, relativePath);\n } else if (!expectedPaths.has(relativePath)) {\n await rm(absolutePath, { force: true });\n }\n }\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"technical-documentation-pilot.companion.service.js","sourceRoot":"","sources":["../../../../src/technical-doc/services/technical-documentation-pilot.companion.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACxG,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EACL,iDAAiD,EAEjD,2CAA2C,EAC3C,6BAA6B,GAM9B,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,mDAAmD,EACnD,uCAAuC,EACvC,+CAA+C,EAC/C,sCAAsC,EACtC,yCAA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YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;YAC1C,CAAC;QACH,CAAC;IACH,CAAC;CACF","sourcesContent":["import { randomUUID } from 'node:crypto';\nimport { constants } from 'node:fs';\nimport { access, lstat, mkdir, open, readFile, readdir, rename, rm, writeFile } from 'node:fs/promises';\nimport path from 'node:path';\n\nimport {\n TechnicalDocumentationApplicabilityEvidenceStatus,\n type TechnicalDocumentationApiReferenceTargetV1,\n TechnicalDocumentationAssetResolutionStatus,\n TechnicalDocumentationChannel,\n type TechnicalDocumentationAuthorizedBundleManifestV1,\n type TechnicalDocumentationPrivateDerivationManifestV1,\n type TechnicalDocumentationVersionedIdentityV1,\n type TechnicalDocumentationResolvedAssetBundleManifestV1,\n type TechnicalDocumentationSupportedApiVersion,\n} from '@wildo-ai/saas-specifications/technical-documentation';\nimport {\n createTechnicalDocumentationAggregateRenderManifest,\n createTechnicalDocumentationRenderModel,\n readTechnicalDocumentationAuthorizedRenderInput,\n renderTechnicalDocumentationDocusaurus,\n renderTechnicalDocumentationSearchIndexes,\n renderVerifiedTechnicalDocumentationOpenApi,\n technicalDocumentationSha256Bytes,\n validateTechnicalDocumentationManagedTree,\n type OpenApiGenerationOutput,\n type TechnicalDocumentationOutputBudgets,\n type TechnicalDocumentationRenderedFile,\n type TechnicalDocumentationRendererResult,\n} from '@wildo-ai/saas-technical-doc/companion';\n\nimport { TechnicalDocumentationPilotAssetsCompanionService } from './technical-documentation-pilot-assets.companion.service';\n\nconst GENERATED_ROOT_RELATIVE_PATH = path.join('technical-doc', 'src', 'generated', 'consumer-documentation');\nconst API_REFERENCE_GENERATED_ROOT_RELATIVE_PATH = path.join('technical-doc', 'src', 'generated', 'api-reference');\nconst RENDER_MANIFEST_FILE_NAME = 'render-output-manifest.json';\nconst CONSUMER_DOCUMENTATION_RENDER_REF = 'technical-documentation:render/consumer-documentation';\nconst CONSUMER_DOCUMENTATION_PUBLICATION_SIGNAL_RELATIVE_PATH = path.join(\n '.wildo-saas',\n 'runtime-signals',\n 'technical-documentation',\n 'consumer-documentation-published.json',\n);\nconst publicationOperationQueues = new Map<string, Promise<void>>();\n\nexport interface TechnicalDocumentationPilotPublicationResult {\n readonly rootPath: string;\n readonly contentPath: string;\n readonly manifest: ReturnType<typeof createTechnicalDocumentationAggregateRenderManifest>;\n readonly validation: ReturnType<typeof validateTechnicalDocumentationManagedTree>;\n}\n\nexport interface TechnicalDocumentationPilotOperationResult extends TechnicalDocumentationPilotPublicationResult {\n /**\n * Which exact stage outputs this operation joined, named `ref@version`. Four sha256 fields until\n * 2026-08-27 — unreadable in a log, unmergeable across branches, and never compared to anything.\n */\n readonly causalIdentities: {\n readonly derivation: TechnicalDocumentationVersionedIdentityV1;\n readonly authorizedBundle: TechnicalDocumentationVersionedIdentityV1;\n readonly resolvedAssetBundle: TechnicalDocumentationVersionedIdentityV1;\n readonly render: TechnicalDocumentationVersionedIdentityV1;\n };\n readonly channelCounts: { readonly publicUnits: number };\n readonly suppressions: readonly { readonly unitRef: string; readonly reason: string }[];\n readonly evidenceLimitations: readonly { readonly axis: string; readonly subjectRef: string; readonly status: string; readonly reason: string }[];\n readonly assetStates: readonly { readonly assetRef: string; readonly status: string; readonly byteDigest: string | null }[];\n readonly freshnessEvaluatedAt: string;\n}\n\nexport interface TechnicalDocumentationPilotCompositionDerivation {\n readonly privateDerivation: Pick<\n TechnicalDocumentationPrivateDerivationManifestV1,\n 'derivationRef' | 'derivationVersion' | 'environmentEvidenceSnapshot'\n >;\n readonly publicBundle: TechnicalDocumentationAuthorizedBundleManifestV1;\n}\n\nfunction assertPathWithin(parent: string, child: string): void {\n const relative = path.relative(parent, child);\n if (relative === '' || relative.startsWith('..') || path.isAbsolute(relative)) {\n throw new Error(`technical-documentation managed path escapes its root: ${child}`);\n }\n}\n\nasync function pathExists(target: string): Promise<boolean> {\n try {\n await access(target, constants.F_OK);\n return true;\n } catch {\n return false;\n }\n}\n\nasync function fsyncPath(target: string): Promise<void> {\n const handle = await open(target, 'r');\n try {\n await handle.sync();\n } finally {\n await handle.close();\n }\n}\n\nasync function listRegularFiles(root: string, relative = ''): Promise<string[]> {\n const current = relative === '' ? root : path.join(root, relative);\n const entries = await readdir(current, { withFileTypes: true });\n const files: string[] = [];\n for (const entry of entries) {\n const childRelative = relative === '' ? entry.name : path.join(relative, entry.name);\n const child = path.join(root, childRelative);\n const info = await lstat(child);\n if (info.isSymbolicLink()) throw new Error(`technical-documentation generated tree rejects symbolic links: ${childRelative}`);\n if (info.isDirectory()) files.push(...await listRegularFiles(root, childRelative));\n else if (info.isFile()) files.push(childRelative.split(path.sep).join('/'));\n else throw new Error(`technical-documentation generated tree rejects non-regular entry: ${childRelative}`);\n }\n return files.sort();\n}\n\n/**\n * Companion-owned generation boundary for application-consumer documentation.\n *\n * The complete result is synchronized into one stable, generator-owned tree.\n * API-reference files are managed directly at stable semantic paths with no\n * checksum manifest or content-addressed identity. Previous versions, diffs,\n * and rollback are intentionally delegated to Git.\n */\nexport class TechnicalDocumentationPilotCompanionService {\n public constructor(private readonly saasRoot: string) {}\n\n private async withExclusivePublicationOperation<T>(rootPath: string, operation: () => Promise<T>): Promise<T> {\n const predecessor = publicationOperationQueues.get(rootPath) ?? Promise.resolve();\n let release!: () => void;\n const currentOperation = new Promise<void>((resolve) => {\n release = resolve;\n });\n const queueTail = predecessor.catch(() => undefined).then(() => currentOperation);\n publicationOperationQueues.set(rootPath, queueTail);\n await predecessor.catch(() => undefined);\n try {\n return await operation();\n } finally {\n release();\n if (publicationOperationQueues.get(rootPath) === queueTail) publicationOperationQueues.delete(rootPath);\n }\n }\n\n public async generateValidateAndPublish(input: {\n readonly derivation: TechnicalDocumentationPilotCompositionDerivation;\n readonly supportedApiVersion: TechnicalDocumentationSupportedApiVersion;\n readonly refuseProvisionalAssets?: boolean;\n readonly forbiddenPublicSentinels: readonly string[];\n readonly budgets: TechnicalDocumentationOutputBudgets;\n /** Returns `null` when this application does not publish the target — the link degrades to plain text (#472). */\n readonly resolveApiReferenceTarget?: (target: TechnicalDocumentationApiReferenceTargetV1) => string | null;\n readonly resolvedAt?: string;\n readonly publishedAt?: string;\n }): Promise<TechnicalDocumentationPilotOperationResult> {\n const publicationEvaluatedAt = input.publishedAt ?? new Date().toISOString();\n const publicationEvaluatedAtEpochMs = Date.parse(publicationEvaluatedAt);\n const freshnessEvaluatedAtEpochMs = Date.parse(input.derivation.privateDerivation.environmentEvidenceSnapshot.freshnessEvaluatedAt);\n if (publicationEvaluatedAtEpochMs < freshnessEvaluatedAtEpochMs) {\n throw new Error('technical-documentation publication time cannot precede the derivation freshness evaluation');\n }\n const assets = await new TechnicalDocumentationPilotAssetsCompanionService().resolve({\n authorizedBundle: input.derivation.publicBundle,\n ...(input.resolvedAt === undefined ? {} : { resolvedAt: input.resolvedAt }),\n });\n if (input.refuseProvisionalAssets === true) {\n const provisional = assets.resolvedAssetBundle.resolvedAssetSet.assets\n .filter((asset) => asset.status === TechnicalDocumentationAssetResolutionStatus.PLACEHOLDER)\n .map((asset) => asset.assetRef);\n if (provisional.length > 0) {\n throw new Error(`technical-documentation publication refuses provisional assets in this environment: ${provisional.join(', ')}`);\n }\n }\n\n const verified = readTechnicalDocumentationAuthorizedRenderInput({\n authorizedBundle: input.derivation.publicBundle,\n resolvedAssetBundle: assets.resolvedAssetBundle,\n assetBytesByPath: assets.assetBytesByPath,\n });\n for (const observation of input.derivation.privateDerivation.environmentEvidenceSnapshot.observations) {\n if (\n observation.validUntil !== null\n && [\n TechnicalDocumentationApplicabilityEvidenceStatus.PROVEN,\n TechnicalDocumentationApplicabilityEvidenceStatus.DISPROVEN,\n TechnicalDocumentationApplicabilityEvidenceStatus.CONFLICTED,\n ].includes(observation.status)\n && Date.parse(observation.validUntil) <= publicationEvaluatedAtEpochMs\n ) {\n throw new Error(`technical-documentation publication requires re-derivation because evidence expired during asset resolution: ${observation.axis}/${observation.subjectRef}`);\n }\n }\n\n const renderModel = createTechnicalDocumentationRenderModel(verified.authorizedBundle);\n /*\n * Two renderers, not three. A portable-markdown family was rendered here for as long as this\n * pipeline existed and NOTHING ever read it: the site mounts `docusaurus/docs`,\n * `docusaurus/sidebars.json` and `docusaurus/static`, and `src/pages/search.tsx` reads\n * `indexes/search.json` — measured with a positive control, so the empty result is a real\n * absence rather than a bad probe. It cost 81 files and 511 KB per publication, half the\n * published bytes, and it silently DOUBLED the operator-facing page budget: both families emit\n * `MARKDOWN_DOCUMENT`, so a 81-page application counted 162 against `maximumPageCount` (#274).\n */\n const rendererResults = [\n renderTechnicalDocumentationSearchIndexes(renderModel),\n renderTechnicalDocumentationDocusaurus({ model: renderModel, resolvedAssetBundle: verified.resolvedAssetBundle, assetBytesByPath: assets.assetBytesByPath, resolveApiReferenceTarget: input.resolveApiReferenceTarget }),\n ];\n const publication = await this.publish({\n authorizedBundle: verified.authorizedBundle,\n resolvedAssetBundle: verified.resolvedAssetBundle,\n supportedApiVersion: input.supportedApiVersion,\n rendererResults,\n forbiddenPublicSentinels: input.forbiddenPublicSentinels,\n budgets: input.budgets,\n publishedAt: publicationEvaluatedAt,\n });\n const evidenceLimitations = input.derivation.privateDerivation.environmentEvidenceSnapshot.observations\n .filter((observation) => observation.status !== TechnicalDocumentationApplicabilityEvidenceStatus.PROVEN)\n .map((observation) => ({ axis: observation.axis, subjectRef: observation.subjectRef, status: observation.status, reason: observation.reason }));\n\n return Object.freeze({\n ...publication,\n causalIdentities: Object.freeze({\n derivation: { ref: input.derivation.privateDerivation.derivationRef, version: input.derivation.privateDerivation.derivationVersion },\n authorizedBundle: { ref: verified.authorizedBundle.bundleRef, version: verified.authorizedBundle.bundleVersion },\n resolvedAssetBundle: { ref: verified.resolvedAssetBundle.assetBundleRef, version: verified.resolvedAssetBundle.assetBundleVersion },\n render: { ref: publication.manifest.renderRef, version: publication.manifest.renderVersion },\n }),\n channelCounts: Object.freeze({ publicUnits: input.derivation.publicBundle.units.length }),\n suppressions: Object.freeze(input.derivation.publicBundle.decisions\n .filter((decision) => decision.publishedUnitVersion === null)\n .map((decision) => ({ unitRef: decision.unitRef, reason: decision.reason }))),\n evidenceLimitations: Object.freeze(evidenceLimitations),\n assetStates: Object.freeze(assets.resolvedAssetBundle.resolvedAssetSet.assets.map((asset) => ({\n assetRef: asset.assetRef,\n status: asset.status,\n byteDigest: asset.byteDigest,\n }))),\n freshnessEvaluatedAt: input.derivation.privateDerivation.environmentEvidenceSnapshot.freshnessEvaluatedAt,\n });\n }\n\n public async publish(input: {\n readonly authorizedBundle: TechnicalDocumentationAuthorizedBundleManifestV1;\n readonly resolvedAssetBundle: TechnicalDocumentationResolvedAssetBundleManifestV1;\n readonly supportedApiVersion: TechnicalDocumentationSupportedApiVersion;\n readonly rendererResults: readonly TechnicalDocumentationRendererResult[];\n readonly forbiddenPublicSentinels: readonly string[];\n readonly budgets: TechnicalDocumentationOutputBudgets;\n readonly publishedAt?: string;\n }): Promise<TechnicalDocumentationPilotPublicationResult> {\n const rootPath = path.resolve(this.saasRoot, GENERATED_ROOT_RELATIVE_PATH);\n return this.withExclusivePublicationOperation(rootPath, async () => {\n if (input.authorizedBundle.channel !== TechnicalDocumentationChannel.PUBLIC_PORTAL) {\n throw new Error('technical-documentation consumer publisher accepts only a PUBLIC_PORTAL bundle');\n }\n const manifest = createTechnicalDocumentationAggregateRenderManifest({\n ...input,\n renderRef: CONSUMER_DOCUMENTATION_RENDER_REF,\n // One render per authorized bundle version: re-rendering the same bundle is the same render.\n renderVersion: input.authorizedBundle.bundleVersion,\n });\n const files = input.rendererResults.flatMap((result) => result.files);\n const validation = validateTechnicalDocumentationManagedTree({ ...input, manifest, files });\n assertPathWithin(path.resolve(this.saasRoot), rootPath);\n await this.synchronizeGeneratedTree(rootPath, RENDER_MANIFEST_FILE_NAME, manifest, files);\n await this.writeConsumerDocumentationPublicationSignal({\n renderRef: manifest.renderRef,\n renderVersion: manifest.renderVersion,\n publishedAt: input.publishedAt ?? new Date().toISOString(),\n });\n return Object.freeze({ rootPath, contentPath: rootPath, manifest, validation });\n });\n }\n\n /** Publishes only renderer-produced OpenAPI files into the separate API tree. */\n public async publishOpenApiDocuments(input: {\n readonly documents: OpenApiGenerationOutput;\n readonly sourceUnitRefs: readonly string[];\n }): Promise<{ readonly rootPath: string; readonly outputPaths: readonly string[] }> {\n const rootPath = path.resolve(this.saasRoot, API_REFERENCE_GENERATED_ROOT_RELATIVE_PATH);\n return this.withExclusivePublicationOperation(rootPath, async () => {\n assertPathWithin(path.resolve(this.saasRoot), rootPath);\n const renderer = renderVerifiedTechnicalDocumentationOpenApi(input);\n await this.synchronizeGeneratedFiles(rootPath, renderer.files);\n return Object.freeze({\n rootPath,\n outputPaths: Object.freeze(renderer.files.map((file) => file.normalizedRelativePath).sort()),\n });\n });\n }\n\n /**\n * Synchronizes a generated tree from semantic paths alone.\n *\n * The API reference is reproducible output checked into Git, so a parallel\n * checksum inventory adds a second representation without adding product\n * meaning. Exact path inventory still prevents stale generated files from\n * surviving a section or filename change.\n */\n private async synchronizeGeneratedFiles(\n rootPath: string,\n files: readonly Pick<TechnicalDocumentationRenderedFile, 'normalizedRelativePath' | 'bytes'>[],\n ): Promise<void> {\n await mkdir(rootPath, { recursive: true });\n const rootInfo = await lstat(rootPath);\n if (!rootInfo.isDirectory() || rootInfo.isSymbolicLink()) {\n throw new Error('technical-documentation generated root must be a regular directory');\n }\n\n const expectedPaths = new Set(files.map((file) => file.normalizedRelativePath));\n for (const file of files) await this.writeGeneratedFile(rootPath, file.normalizedRelativePath, file.bytes);\n await this.removeStaleGeneratedEntries(rootPath, expectedPaths);\n\n const inventory = await listRegularFiles(rootPath);\n if (inventory.join('\\0') !== [...expectedPaths].sort().join('\\0')) {\n throw new Error('technical-documentation generated tree inventory does not match the render result');\n }\n await fsyncPath(rootPath);\n }\n\n private async synchronizeGeneratedTree(\n rootPath: string,\n manifestFileName: string,\n manifest: { readonly outputs: readonly { readonly normalizedRelativePath: string; readonly byteLength: number; readonly byteDigest: string }[] },\n files: readonly TechnicalDocumentationRenderedFile[],\n ): Promise<void> {\n await mkdir(rootPath, { recursive: true });\n const rootInfo = await lstat(rootPath);\n if (!rootInfo.isDirectory() || rootInfo.isSymbolicLink()) {\n throw new Error('technical-documentation generated root must be a regular directory');\n }\n\n const expectedPaths = new Set<string>([\n manifestFileName,\n ...files.map((file) => file.normalizedRelativePath),\n ]);\n for (const file of files) await this.writeGeneratedFile(rootPath, file.normalizedRelativePath, file.bytes);\n await this.writeGeneratedFile(rootPath, manifestFileName, `${JSON.stringify(manifest, null, 2)}\\n`);\n await this.removeStaleGeneratedEntries(rootPath, expectedPaths);\n\n const inventory = await listRegularFiles(rootPath);\n if (inventory.join('\\0') !== [...expectedPaths].sort().join('\\0')) {\n throw new Error('technical-documentation generated tree inventory does not match the render result');\n }\n for (const output of manifest.outputs) {\n const bytes = await readFile(path.join(rootPath, output.normalizedRelativePath));\n if (bytes.byteLength !== output.byteLength || technicalDocumentationSha256Bytes(bytes) !== output.byteDigest) {\n throw new Error(`technical-documentation generated tree byte mismatch: ${output.normalizedRelativePath}`);\n }\n }\n await fsyncPath(rootPath);\n }\n\n /**\n * Tells the local docs host that a complete, verified publication is ready.\n *\n * This signal is deliberately outside the checked-in generated tree. The\n * tree remains a stable, content-addressed-by-manifest publication owned by\n * Git; the signal is ephemeral local-dev orchestration state. It is written\n * only after all rendered bytes and the manifest have been synchronized and\n * re-verified, so a Docusaurus reload cannot observe a half-publication.\n */\n private async writeConsumerDocumentationPublicationSignal(input: {\n readonly renderRef: string;\n readonly renderVersion: number;\n readonly publishedAt: string;\n }): Promise<void> {\n const signalPath = path.resolve(this.saasRoot, CONSUMER_DOCUMENTATION_PUBLICATION_SIGNAL_RELATIVE_PATH);\n assertPathWithin(path.resolve(this.saasRoot), signalPath);\n const signalDirectory = path.dirname(signalPath);\n await mkdir(signalDirectory, { recursive: true });\n const temporaryPath = path.join(signalDirectory, `.${path.basename(signalPath)}.wildo-tmp-${randomUUID()}`);\n try {\n await writeFile(temporaryPath, `${JSON.stringify({ schemaVersion: 1, ...input }, null, 2)}\\n`);\n await fsyncPath(temporaryPath);\n await rename(temporaryPath, signalPath);\n await fsyncPath(signalDirectory);\n } catch (error) {\n await rm(temporaryPath, { force: true });\n throw error;\n }\n }\n\n private async writeGeneratedFile(rootPath: string, relativePath: string, bytes: Uint8Array | string): Promise<void> {\n const target = path.resolve(rootPath, relativePath);\n assertPathWithin(rootPath, target);\n await this.prepareGeneratedParent(rootPath, path.dirname(target));\n if (await pathExists(target)) {\n const targetInfo = await lstat(target);\n if (targetInfo.isDirectory()) await rm(target, { recursive: true });\n else if (targetInfo.isFile()) {\n const currentBytes = await readFile(target);\n const nextBytes = typeof bytes === 'string' ? Buffer.from(bytes, 'utf8') : bytes;\n if (currentBytes.equals(nextBytes)) return;\n }\n }\n const temporary = path.join(path.dirname(target), `.${path.basename(target)}.wildo-tmp-${randomUUID()}`);\n try {\n await writeFile(temporary, bytes);\n await fsyncPath(temporary);\n await rename(temporary, target);\n await fsyncPath(path.dirname(target));\n } catch (error) {\n await rm(temporary, { force: true });\n throw error;\n }\n }\n\n private async prepareGeneratedParent(rootPath: string, parentPath: string): Promise<void> {\n const relative = path.relative(rootPath, parentPath);\n if (relative === '') return;\n let current = rootPath;\n for (const segment of relative.split(path.sep)) {\n current = path.join(current, segment);\n let directoryExists = false;\n if (await pathExists(current)) {\n const info = await lstat(current);\n if (info.isSymbolicLink()) throw new Error(`technical-documentation generated path rejects symbolic-link parent: ${current}`);\n if (!info.isDirectory()) await rm(current);\n else directoryExists = true;\n }\n if (!directoryExists) await mkdir(current);\n }\n }\n\n private async removeStaleGeneratedEntries(\n rootPath: string,\n expectedPaths: ReadonlySet<string>,\n relativeDirectory = '',\n ): Promise<void> {\n const directory = relativeDirectory === '' ? rootPath : path.join(rootPath, relativeDirectory);\n for (const entry of await readdir(directory, { withFileTypes: true })) {\n const relativePath = (relativeDirectory === '' ? entry.name : `${relativeDirectory}/${entry.name}`).split(path.sep).join('/');\n const absolutePath = path.join(rootPath, relativePath);\n if (entry.isDirectory() && !entry.isSymbolicLink()) {\n const directoryIsNeeded = [...expectedPaths].some((expectedPath) => expectedPath.startsWith(`${relativePath}/`));\n if (!directoryIsNeeded) await rm(absolutePath, { recursive: true });\n else await this.removeStaleGeneratedEntries(rootPath, expectedPaths, relativePath);\n } else if (!expectedPaths.has(relativePath)) {\n await rm(absolutePath, { force: true });\n }\n }\n }\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildo-ai/dev-companion",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
4
4
|
"description": "Wildo.ai Dev Companion — local development management and introspection service. Canonical source home; applications receive only the built dist below their .wildo-saas/wildo-dev-companion drop.",
|
|
5
5
|
"author": "Wildo AI",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
7
7
|
"type": "module",
|
|
8
|
+
"bin": {
|
|
9
|
+
"wildo-dev-companion-supervised": "./bin/wildo-dev-companion-supervised.mjs"
|
|
10
|
+
},
|
|
8
11
|
"exports": {
|
|
9
12
|
".": {
|
|
10
13
|
"types": "./dist/esm/index.d.ts",
|
|
@@ -16,7 +19,8 @@
|
|
|
16
19
|
"module": "./dist/esm/index.js",
|
|
17
20
|
"types": "./dist/esm/index.d.ts",
|
|
18
21
|
"files": [
|
|
19
|
-
"dist/"
|
|
22
|
+
"dist/",
|
|
23
|
+
"bin/"
|
|
20
24
|
],
|
|
21
25
|
"scripts": {
|
|
22
26
|
"build": "tsc -p tsconfig.build.json && node ../../../scripts/run-tsc-alias-safe.mjs --project tsconfig.build.json --dist dist/esm",
|
|
@@ -32,22 +36,22 @@
|
|
|
32
36
|
"dependencies": {
|
|
33
37
|
"@react-email/components": "^1.0.8",
|
|
34
38
|
"@react-email/render": "^2.0.4",
|
|
35
|
-
"@wildo-ai/application-creation-runtime": "1.1.
|
|
36
|
-
"@wildo-ai/external-connectors-models": "1.1.
|
|
37
|
-
"@wildo-ai/framework-knowledge": "1.1.
|
|
38
|
-
"@wildo-ai/platform-config-lib": "1.1.
|
|
39
|
-
"@wildo-ai/platform-core-backend": "1.1.
|
|
40
|
-
"@wildo-ai/platform-core-shared": "1.1.
|
|
41
|
-
"@wildo-ai/platform-shared-lib": "1.1.
|
|
42
|
-
"@wildo-ai/presets-components-models": "1.1.
|
|
43
|
-
"@wildo-ai/saas-backend-lib": "1.1.
|
|
44
|
-
"@wildo-ai/saas-frontend-lib": "1.1.
|
|
45
|
-
"@wildo-ai/saas-models": "1.1.
|
|
46
|
-
"@wildo-ai/saas-specifications": "1.1.
|
|
47
|
-
"@wildo-ai/saas-technical-doc": "1.1.
|
|
48
|
-
"@wildo-ai/saas-website": "1.1.
|
|
49
|
-
"@wildo-ai/wildo-module-client": "1.1.
|
|
50
|
-
"@wildo-ai/zod-decorators": "1.1.
|
|
39
|
+
"@wildo-ai/application-creation-runtime": "1.1.10",
|
|
40
|
+
"@wildo-ai/external-connectors-models": "1.1.10",
|
|
41
|
+
"@wildo-ai/framework-knowledge": "1.1.10",
|
|
42
|
+
"@wildo-ai/platform-config-lib": "1.1.10",
|
|
43
|
+
"@wildo-ai/platform-core-backend": "1.1.10",
|
|
44
|
+
"@wildo-ai/platform-core-shared": "1.1.10",
|
|
45
|
+
"@wildo-ai/platform-shared-lib": "1.1.10",
|
|
46
|
+
"@wildo-ai/presets-components-models": "1.1.10",
|
|
47
|
+
"@wildo-ai/saas-backend-lib": "1.1.10",
|
|
48
|
+
"@wildo-ai/saas-frontend-lib": "1.1.10",
|
|
49
|
+
"@wildo-ai/saas-models": "1.1.10",
|
|
50
|
+
"@wildo-ai/saas-specifications": "1.1.10",
|
|
51
|
+
"@wildo-ai/saas-technical-doc": "1.1.10",
|
|
52
|
+
"@wildo-ai/saas-website": "1.1.10",
|
|
53
|
+
"@wildo-ai/wildo-module-client": "1.1.10",
|
|
54
|
+
"@wildo-ai/zod-decorators": "1.1.10",
|
|
51
55
|
"big.js": "^6.2.2",
|
|
52
56
|
"cors": "^2.8.5",
|
|
53
57
|
"date-fns": "^4.1.0",
|