@wildo-ai/dev-companion 1.1.5 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/brand/models/logo-generation.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/brand/models/logo-generation.actors-system.definitions.js +0 -1
- package/dist/esm/brand/models/logo-generation.actors-system.definitions.js.map +1 -1
- package/dist/esm/brand/models/logo-judge.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/brand/models/logo-judge.actors-system.definitions.js +0 -1
- package/dist/esm/brand/models/logo-judge.actors-system.definitions.js.map +1 -1
- package/dist/esm/brand/services/brand-accept.companion.service.d.ts +8 -0
- package/dist/esm/brand/services/brand-accept.companion.service.d.ts.map +1 -1
- package/dist/esm/brand/services/brand-accept.companion.service.js +6 -0
- package/dist/esm/brand/services/brand-accept.companion.service.js.map +1 -1
- package/dist/esm/brand/services/brand-propagation.companion.utils.d.ts +21 -0
- package/dist/esm/brand/services/brand-propagation.companion.utils.d.ts.map +1 -0
- package/dist/esm/brand/services/brand-propagation.companion.utils.js +33 -0
- package/dist/esm/brand/services/brand-propagation.companion.utils.js.map +1 -0
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +69 -1
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js +84 -3
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts +8 -4
- 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 +9 -5
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js.map +1 -1
- package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js +1 -1
- package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js.map +1 -1
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts +4 -0
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js +25 -3
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js.map +1 -1
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts +159 -11
- 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 +424 -41
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +333 -60
- 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 +1029 -185
- 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 +8 -2
- 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 +8 -2
- package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.d.ts +20 -0
- package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.d.ts.map +1 -0
- package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.js +29 -0
- package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.js.map +1 -0
- package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts +11 -0
- 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 +60 -7
- 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 +5 -4
- 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 +13 -4
- package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -1
- package/dist/esm/companion-api/companion-api.schemas.d.ts +193 -2
- package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
- package/dist/esm/companion-api/companion-api.schemas.js +20 -1
- package/dist/esm/companion-api/companion-api.schemas.js.map +1 -1
- package/dist/esm/companion-api/companion-error-guidance.models.d.ts +25 -0
- package/dist/esm/companion-api/companion-error-guidance.models.d.ts.map +1 -0
- package/dist/esm/companion-api/companion-error-guidance.models.js +26 -0
- package/dist/esm/companion-api/companion-error-guidance.models.js.map +1 -0
- package/dist/esm/companion-api/controllers/companion-file-route-confinement.d.ts +44 -0
- package/dist/esm/companion-api/controllers/companion-file-route-confinement.d.ts.map +1 -0
- package/dist/esm/companion-api/controllers/companion-file-route-confinement.js +111 -0
- package/dist/esm/companion-api/controllers/companion-file-route-confinement.js.map +1 -0
- package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts +6 -14
- 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 +6 -14
- 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 +12 -0
- package/dist/esm/companion-api/controllers/companion-trace-exemptions.d.ts.map +1 -0
- package/dist/esm/companion-api/controllers/companion-trace-exemptions.js +20 -0
- package/dist/esm/companion-api/controllers/companion-trace-exemptions.js.map +1 -0
- package/dist/esm/companion-api/controllers/companion.controller.d.ts +104 -14
- package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion.controller.js +516 -122
- package/dist/esm/companion-api/controllers/companion.controller.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 +6 -38
- package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js.map +1 -1
- package/dist/esm/core/config/primary-language.companion.utils.d.ts +13 -0
- package/dist/esm/core/config/primary-language.companion.utils.d.ts.map +1 -1
- package/dist/esm/core/config/primary-language.companion.utils.js +19 -0
- package/dist/esm/core/config/primary-language.companion.utils.js.map +1 -1
- package/dist/esm/core/context/companion-package-loaders.companion.js +1 -39
- package/dist/esm/core/context/companion-package-loaders.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 +16 -0
- 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 +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 +6 -0
- package/dist/esm/core/introspection/models/companion-introspection.models.js.map +1 -1
- package/dist/esm/core/introspection/resources/application-secrets.companion.d.ts +41 -0
- package/dist/esm/core/introspection/resources/application-secrets.companion.d.ts.map +1 -0
- package/dist/esm/core/introspection/resources/application-secrets.companion.js +155 -0
- package/dist/esm/core/introspection/resources/application-secrets.companion.js.map +1 -0
- package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts +76 -0
- package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts.map +1 -0
- package/dist/esm/core/introspection/resources/creation-console-answer.companion.js +197 -0
- package/dist/esm/core/introspection/resources/creation-console-answer.companion.js.map +1 -0
- package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts +47 -0
- package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts.map +1 -0
- package/dist/esm/core/introspection/resources/creation-console-projection.companion.js +199 -0
- package/dist/esm/core/introspection/resources/creation-console-projection.companion.js.map +1 -0
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts +42 -0
- 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 +173 -22
- 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 +78 -90
- 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 +288 -25
- 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 +22 -36
- 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 +49 -13
- 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 +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 +10 -15
- package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts +2 -0
- 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/asset-noop-hooks.d.ts +4 -0
- 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/companion-introspection-behavior-handlers.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js +77 -9
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts +45 -3
- 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 +8 -1
- package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts +3 -2
- 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 +8 -3
- package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts +30 -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 +128 -20
- package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts +13 -0
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js +21 -17
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js.map +1 -1
- package/dist/esm/core/runtime/companion-endpoint-record.d.ts +8 -0
- package/dist/esm/core/runtime/companion-endpoint-record.d.ts.map +1 -0
- package/dist/esm/core/runtime/companion-endpoint-record.js +23 -0
- package/dist/esm/core/runtime/companion-endpoint-record.js.map +1 -0
- package/dist/esm/core/runtime/companion-env-file.d.ts +30 -0
- package/dist/esm/core/runtime/companion-env-file.d.ts.map +1 -0
- package/dist/esm/core/runtime/companion-env-file.js +53 -0
- package/dist/esm/core/runtime/companion-env-file.js.map +1 -0
- package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts +5 -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 +11 -0
- package/dist/esm/core/runtime/dev-compile-quiet.companion.js.map +1 -1
- package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.d.ts +56 -0
- package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.d.ts.map +1 -0
- package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.js +97 -0
- package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.js.map +1 -0
- package/dist/esm/core/runtime/services/start-companion-application.service.d.ts +43 -3
- package/dist/esm/core/runtime/services/start-companion-application.service.d.ts.map +1 -1
- package/dist/esm/core/runtime/services/start-companion-application.service.js +127 -22
- package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
- package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts +11 -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 +42 -19
- package/dist/esm/core/runtime/utils/companion-platform-config.companion.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 +10 -1
- package/dist/esm/core/specifications/resource-specification-context.factory.js.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.models.d.ts +1 -7
- package/dist/esm/core/traceability/companion-traceability.models.d.ts.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.models.js +3 -5
- package/dist/esm/core/traceability/companion-traceability.models.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 +15 -14
- 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 +0 -23
- package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts.map +1 -1
- package/dist/esm/creation-conversation/creation-conversation.function-tools.js +251 -50
- package/dist/esm/creation-conversation/creation-conversation.function-tools.js.map +1 -1
- package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js +0 -2
- package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js.map +1 -1
- package/dist/esm/deliberations/services/deliberation.companion.service.d.ts.map +1 -1
- package/dist/esm/deliberations/services/deliberation.companion.service.js +3 -2
- package/dist/esm/deliberations/services/deliberation.companion.service.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 +0 -1
- package/dist/esm/email/models/email-template.actors-system.definitions.js.map +1 -1
- package/dist/esm/email/services/email-template.companion.service.d.ts +5 -3
- package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
- package/dist/esm/email/services/email-template.companion.service.js +53 -255
- 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 +12 -0
- 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 +62 -3
- 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 +52 -0
- package/dist/esm/email/utils/email-labels-tree.utils.d.ts.map +1 -0
- package/dist/esm/email/utils/email-labels-tree.utils.js +261 -0
- package/dist/esm/email/utils/email-labels-tree.utils.js.map +1 -0
- package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts +2 -0
- 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 +21 -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 +18 -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 +187 -46
- 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 +0 -1
- package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js +0 -1
- package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js.map +1 -1
- package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts.map +1 -1
- package/dist/esm/expert-personas/services/expert-persona.companion.service.js +10 -0
- package/dist/esm/expert-personas/services/expert-persona.companion.service.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts +1 -8
- 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 +2 -9
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts +2 -0
- 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 +3 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.d.ts +32 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.js +32 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.js.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts +0 -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 +0 -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 +0 -7
- 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 +0 -7
- 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 +30 -4
- 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 +31 -5
- package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts +0 -2
- 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 +0 -2
- 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 +4 -0
- 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 +5 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts +1 -15
- 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 +1 -15
- package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts +0 -3
- 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 +0 -3
- 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 +49 -16
- 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 +49 -16
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts +0 -5
- 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 +0 -5
- package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts +3 -0
- 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 +4 -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_PRICING_TABLE.en.d.ts +7 -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 +8 -2
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts +1 -0
- 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 +2 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts +1 -0
- 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 +2 -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_NUMBER.en.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts +1 -0
- 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 +2 -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 +10 -0
- 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 +11 -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_FILE.en.d.ts +8 -0
- 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 +9 -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_STRING.en.d.ts +3 -0
- 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 +4 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts +2 -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 +3 -2
- 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 +6 -0
- 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 +7 -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 +1 -0
- 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 +2 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js.map +1 -1
- package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts +0 -2
- package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/progression_milestone_tracker.en.js +0 -2
- 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 +123 -19
- 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 +12 -0
- package/dist/esm/i18n/composite_views/app.creation-dossier.en.js.map +1 -1
- package/dist/esm/i18n/errors_guidance/errors-guidance.en.d.ts +25 -0
- package/dist/esm/i18n/errors_guidance/errors-guidance.en.d.ts.map +1 -0
- package/dist/esm/i18n/errors_guidance/errors-guidance.en.js +26 -0
- package/dist/esm/i18n/errors_guidance/errors-guidance.en.js.map +1 -0
- package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts +26 -3
- package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts.map +1 -1
- package/dist/esm/i18n/errors_messages/errors-messages.en.js +25 -3
- package/dist/esm/i18n/errors_messages/errors-messages.en.js.map +1 -1
- package/dist/esm/i18n/index.d.ts +10 -8
- package/dist/esm/i18n/index.d.ts.map +1 -1
- package/dist/esm/i18n/index.js +10 -8
- package/dist/esm/i18n/index.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts +10 -0
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js +2 -0
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.d.ts +97 -0
- package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.js +60 -0
- package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchAspects.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchAspects.en.js +6 -0
- package/dist/esm/i18n/resources/workbenchAspects.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts +5 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js +1 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts +24 -0
- package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js +8 -0
- package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts +30 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.js +9 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts +17 -4
- package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js +32 -4
- package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts +8 -2
- package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js +6 -2
- package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts +18 -7
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js +17 -7
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts +28 -3
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.js +13 -3
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts +3 -2
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js +8 -2
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts +118 -8
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +42 -16
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts +12 -2
- package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js +16 -2
- package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/application-creation.en.d.ts +10 -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 +11 -0
- package/dist/esm/i18n/system_enums/application-creation.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/processor-register.en.d.ts +6 -0
- package/dist/esm/i18n/system_enums/processor-register.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/processor-register.en.js +6 -0
- package/dist/esm/i18n/system_enums/processor-register.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts +4 -1
- package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-dossier.en.js +5 -1
- package/dist/esm/i18n/system_enums/workbench-dossier.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-secrets.en.d.ts +46 -0
- package/dist/esm/i18n/system_enums/workbench-secrets.en.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-secrets.en.js +46 -0
- package/dist/esm/i18n/system_enums/workbench-secrets.en.js.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts +8 -0
- 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 +13 -0
- 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 +61 -0
- package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.js +22 -0
- package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.js.map +1 -0
- package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts +105 -24
- package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling-unit.models.js +55 -24
- 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 +0 -2
- package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js.map +1 -1
- package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.d.ts +48 -0
- package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js +145 -0
- package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js.map +1 -0
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts +70 -18
- 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 +330 -113
- 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 +45 -0
- 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 +208 -6
- 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 +11 -2
- 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 +101 -18
- 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 +64 -1
- package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js +393 -70
- package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts +9 -5
- 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 +54 -0
- package/dist/esm/i18n-labelling/utils/email-template-translation.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/email-template-translation.utils.js +74 -0
- package/dist/esm/i18n-labelling/utils/email-template-translation.utils.js.map +1 -0
- package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts +3 -3
- package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.d.ts +24 -0
- package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.js +34 -0
- package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.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 +5 -1
- package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.d.ts +76 -0
- package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.js +110 -0
- package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.js.map +1 -0
- package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.d.ts +17 -0
- package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.js +23 -0
- package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.js.map +1 -0
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts +36 -3
- 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 +77 -5
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.d.ts +38 -0
- package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.js +66 -0
- package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.js.map +1 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +9 -3
- package/dist/esm/index.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 +0 -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 +1 -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 +11 -0
- package/dist/esm/meta-workflows/models/application-line-catalog.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/application-line-catalog.models.js +17 -0
- package/dist/esm/meta-workflows/models/application-line-catalog.models.js.map +1 -0
- 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 +0 -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.js +1 -1
- package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts +14 -0
- 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 +18 -0
- package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/human-decision-settler.models.d.ts +14 -0
- package/dist/esm/meta-workflows/models/human-decision-settler.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/human-decision-settler.models.js +18 -0
- package/dist/esm/meta-workflows/models/human-decision-settler.models.js.map +1 -0
- package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts +31 -23
- 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 +36 -5
- 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 +1 -3
- 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 +19 -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 +38 -6
- 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 +48 -3
- 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 +61 -8
- package/dist/esm/meta-workflows/models/playbook-run-record.models.js.map +1 -1
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts +15 -1
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js +50 -5
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +52 -9
- 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 +131 -59
- 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 +19 -0
- package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.js +36 -0
- package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts +9 -0
- 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 +41 -17
- 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 +42 -2
- 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 +121 -4
- 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 +32 -0
- package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js +161 -0
- package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts +2 -0
- 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 +1 -0
- package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts +3 -2
- 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 +12 -3
- package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts +74 -1
- package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/dossier.companion.service.js +227 -30
- package/dist/esm/meta-workflows/services/dossier.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts +29 -2
- 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 +68 -5
- 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 +40 -0
- package/dist/esm/meta-workflows/services/governed-document-texts.companion.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/governed-document-texts.companion.js +91 -0
- package/dist/esm/meta-workflows/services/governed-document-texts.companion.js.map +1 -0
- package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.d.ts +25 -0
- package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.js +40 -0
- package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.js.map +1 -0
- package/dist/esm/meta-workflows/services/playbook-instance.companion.service.d.ts +90 -0
- package/dist/esm/meta-workflows/services/playbook-instance.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js +307 -0
- package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts +29 -0
- 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 +44 -4
- 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 +360 -47
- 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 +1424 -246
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
- package/package.json +17 -17
- package/dist/esm/__time-gov.probe.d.mts +0 -0
- package/dist/esm/__time-gov.probe.d.mts.map +0 -0
- package/dist/esm/__time-gov.probe.mjs.map +0 -0
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.head-parity.tmp.d.ts +0 -0
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.head-parity.tmp.d.ts.map +0 -0
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.head-parity.tmp.js.map +0 -0
- package/dist/esm/i18n/composite_views/app.creation-board.en.d.ts +0 -0
- package/dist/esm/i18n/composite_views/app.creation-board.en.d.ts.map +0 -0
- package/dist/esm/i18n/composite_views/app.creation-board.en.js.map +0 -0
- package/dist/esm/meta-workflows/services/creator-inputs.companion.service.d.ts +0 -0
- package/dist/esm/meta-workflows/services/creator-inputs.companion.service.d.ts.map +0 -0
- package/dist/esm/meta-workflows/services/creator-inputs.companion.service.js.map +0 -0
|
@@ -17,17 +17,21 @@ import { customShared_ResourcesConfigurationsFactoryMap } from '@wildo-ai/platfo
|
|
|
17
17
|
import { CoreResourceOperation, ErrorCustomMessageReference, FrontendNotificationCustomMessageRefs, ERROR_GUIDANCE_REFS, } from '@wildo-ai/saas-models';
|
|
18
18
|
import { SAAS_SERVICE_TYPES, ResourcesRegistryBackendService, } from '@wildo-ai/saas-backend-lib';
|
|
19
19
|
import { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types.js';
|
|
20
|
-
import { LabellingPlanIncompletenessReason,
|
|
20
|
+
import { LabellingPlanIncompletenessReason, LabellingUnitCategory, MAX_ITEMS_PER_CHUNK, } from '../models/labelling-unit.models.js';
|
|
21
21
|
import { LabellingSpecContextLoaderCompanionService } from './labelling-spec-context-loader.companion.service.js';
|
|
22
|
+
import { planResourceSectionLabelKeys } from '../utils/resource-section-label-keys.utils.js';
|
|
23
|
+
import { resolveFrontendPlanDegradation } from '../utils/incomplete-plan-refusal.utils.js';
|
|
22
24
|
import { ComponentLabelsBootstrapCompanionService } from './component-labels-bootstrap.companion.service.js';
|
|
23
|
-
import { extractResourceFieldKeys, buildEphemeralFieldKeyMeta, buildSystemEnumLabelKeys } from '../utils/schema-fields-extractor.utils.js';
|
|
25
|
+
import { extractResourceFieldKeys, buildEphemeralFieldKeyMeta, buildSystemEnumLabelKeys, collectApplicationConfigSystemEnumVocabularies, } from '../utils/schema-fields-extractor.utils.js';
|
|
24
26
|
import { collectAppGuidanceKeys, collectResourceGuidanceKeys, resolveAppLevelGuidanceLabelKeys } from '../utils/guidance-keys.utils.js';
|
|
25
27
|
import { EMPTY_FRONTEND_DERIVED_LABEL_KEYS, parseFrontendDerivedLabelSnapshot, } from '../utils/frontend-derived-label-keys.utils.js';
|
|
26
28
|
import { ROLE_LABELLING_UNIT_FILE_PATH_HINT, collectRoleKeys, collectLifecycleKeys, } from '../utils/role-lifecycle-keys.utils.js';
|
|
27
29
|
import { CompanionIntrospectionService } from '../../core/introspection/services/companion-introspection.companion.service.js';
|
|
28
|
-
import { AppFrontendType } from '@wildo-ai/saas-models';
|
|
30
|
+
import { AppFrontendType, ApplicationConfigVocabulary, CORE_FEATURE_DEFINITIONS, FeatureValueType, isLabelKeySegment } from '@wildo-ai/saas-models';
|
|
29
31
|
import { ENGINE_PAGE_METADATA } from '@wildo-ai/saas-frontend-lib/companion';
|
|
30
32
|
import { refusalLabelKey } from '../utils/declared-refusal-codes.utils.js';
|
|
33
|
+
import { PROVIDERS_LABEL_BUCKET, planProviderDisplayNameKeys, readDeclaredProviderRefs, } from '../utils/provider-display-name-keys.utils.js';
|
|
34
|
+
import { SYSTEMS_OF_RECORD_LABEL_BUCKET, planSystemOfRecordDisplayNameKeys, readDeclaredSystemOfRecordInstances, } from '../utils/system-of-record-display-name-keys.utils.js';
|
|
31
35
|
/**
|
|
32
36
|
* Resource types owned by the platform-core custom-shared vocabulary
|
|
33
37
|
* (`wildoApplication`, `wildoApplicationsVersions`,
|
|
@@ -123,18 +127,18 @@ let LabellingPlannerCompanionService = class LabellingPlannerCompanionService {
|
|
|
123
127
|
componentLabelsBootstrap;
|
|
124
128
|
companionContext;
|
|
125
129
|
introspectionService;
|
|
126
|
-
|
|
130
|
+
appConfigService;
|
|
127
131
|
logDebug;
|
|
128
132
|
guidanceFlowProvider = () => [];
|
|
129
133
|
guidanceFlowProviderRegistered = false;
|
|
130
|
-
constructor(logger, resourcesRegistryService, specContextLoader, componentLabelsBootstrap, companionContext, introspectionService,
|
|
134
|
+
constructor(logger, resourcesRegistryService, specContextLoader, componentLabelsBootstrap, companionContext, introspectionService, appConfigService) {
|
|
131
135
|
this.logger = logger;
|
|
132
136
|
this.resourcesRegistryService = resourcesRegistryService;
|
|
133
137
|
this.specContextLoader = specContextLoader;
|
|
134
138
|
this.componentLabelsBootstrap = componentLabelsBootstrap;
|
|
135
139
|
this.companionContext = companionContext;
|
|
136
140
|
this.introspectionService = introspectionService;
|
|
137
|
-
this.
|
|
141
|
+
this.appConfigService = appConfigService;
|
|
138
142
|
this.logDebug = this.logger.debugByType('LabellingPlannerService');
|
|
139
143
|
}
|
|
140
144
|
/**
|
|
@@ -181,44 +185,59 @@ let LabellingPlannerCompanionService = class LabellingPlannerCompanionService {
|
|
|
181
185
|
if (frontend.incompleteness)
|
|
182
186
|
incompleteness.push(frontend.incompleteness);
|
|
183
187
|
const frontendDerived = frontend.snapshot;
|
|
184
|
-
//
|
|
185
|
-
|
|
186
|
-
//
|
|
187
|
-
//
|
|
188
|
-
//
|
|
189
|
-
|
|
190
|
-
// authoritative; only a failed introspection degrades the family.
|
|
191
|
-
const milestones = await this.collectMilestoneDefinitions();
|
|
188
|
+
// Partial only when the snapshot should have answered — see `resolveFrontendPlanDegradation`.
|
|
189
|
+
const frontendPlanDegradation = resolveFrontendPlanDegradation(frontend.incompleteness);
|
|
190
|
+
// Milestone and product DECLARATIONS come from ONE introspection snapshot, not from the runtime registries
|
|
191
|
+
// `startApplication()` fills — see MILESTONE_INTROSPECTION_FAILED and PRODUCT_CATALOG_INTROSPECTION_FAILED. A zero
|
|
192
|
+
// there is authoritative; only a failed (or stale) introspection degrades a family.
|
|
193
|
+
const { milestones, products } = await this.collectRegistryDeclarations();
|
|
192
194
|
if (milestones.incompleteness)
|
|
193
195
|
incompleteness.push(milestones.incompleteness);
|
|
194
|
-
if (
|
|
195
|
-
incompleteness.push(
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
196
|
+
if (products.incompleteness)
|
|
197
|
+
incompleteness.push(products.incompleteness);
|
|
198
|
+
// An unreadable specification registry reads as "no specification" for every resource, which plans back every
|
|
199
|
+
// description a specification decided against — see RESOURCE_SPECIFICATIONS_UNAVAILABLE.
|
|
200
|
+
const specsLoadFailure = await this.specContextLoader.resourceSpecificationsLoadFailure();
|
|
201
|
+
const specsIncompleteness = specsLoadFailure === undefined
|
|
202
|
+
? undefined
|
|
203
|
+
: {
|
|
204
|
+
reason: LabellingPlanIncompletenessReason.RESOURCE_SPECIFICATIONS_UNAVAILABLE,
|
|
205
|
+
detail: `The resource-specification registry could not be loaded: ${specsLoadFailure}`,
|
|
206
|
+
suppressedBuckets: ['resources'],
|
|
207
|
+
};
|
|
208
|
+
if (specsIncompleteness)
|
|
209
|
+
incompleteness.push(specsIncompleteness);
|
|
210
|
+
// The pause states approval gates declare (#1864), worded in the `system_enums` theme unit. A failed read tags
|
|
211
|
+
// that unit so no write prunes the pause-state words it could not see.
|
|
212
|
+
const gates = await this.collectHumanDecisionGateDeclarations();
|
|
213
|
+
if (gates.incompleteness)
|
|
214
|
+
incompleteness.push(gates.incompleteness);
|
|
215
|
+
// Vendor names (#1895): read once here, so the incompleteness and the unit come from the SAME reading.
|
|
216
|
+
const declaredProviders = this.readDeclaredProviderPopulation();
|
|
217
|
+
if (declaredProviders.unreadable.length > 0) {
|
|
202
218
|
incompleteness.push({
|
|
203
|
-
reason: LabellingPlanIncompletenessReason.
|
|
204
|
-
detail: '
|
|
205
|
-
|
|
206
|
-
|
|
219
|
+
reason: LabellingPlanIncompletenessReason.PROVIDER_RUNTIME_ARTIFACTS_UNREADABLE,
|
|
220
|
+
detail: 'Provider runtime artifact(s) could not be read, so vendor names may be missing for the providers they declare: ' +
|
|
221
|
+
declaredProviders.unreadable.map((entry) => `${entry.kind} (${entry.path}): ${entry.detail}`).join('; ') +
|
|
222
|
+
'. Run `wildo config sync`.',
|
|
223
|
+
suppressedBuckets: [PROVIDERS_LABEL_BUCKET],
|
|
207
224
|
});
|
|
208
225
|
}
|
|
209
226
|
const units = [
|
|
210
227
|
...this.planComponentUnits(),
|
|
211
|
-
...(await this.planResourceUnits(frontendDerived)),
|
|
228
|
+
...(await this.planResourceUnits(frontendDerived, frontendPlanDegradation, specsIncompleteness)),
|
|
212
229
|
...this.planErrorsMessagesUnit(),
|
|
213
230
|
...(await this.planErrorsRefusalsUnit()),
|
|
214
|
-
...this.planThemeUnits(),
|
|
231
|
+
...this.planThemeUnits(gates),
|
|
215
232
|
...(await this.planFrontendDerivedUnits(frontendDerived)),
|
|
216
233
|
...this.planEnginePageUnits(),
|
|
217
234
|
...this.planMilestoneUnits(milestones.definitions),
|
|
218
|
-
...this.planBillingUnit(),
|
|
235
|
+
...this.planBillingUnit(products.definitions, products.featureDefinitions),
|
|
236
|
+
...this.planProvidersUnit(declaredProviders.refs),
|
|
237
|
+
...this.planSystemsOfRecordUnit(),
|
|
219
238
|
...(await this.planRolesUnit()),
|
|
220
239
|
...this.planLifecycleUnit(),
|
|
221
|
-
...(await this.planAppGuidanceUnit(frontendDerived)),
|
|
240
|
+
...(await this.planAppGuidanceUnit(frontendDerived, frontendPlanDegradation)),
|
|
222
241
|
...this.planAdditionalUnit(),
|
|
223
242
|
];
|
|
224
243
|
this.logDebug('Planned units', {
|
|
@@ -228,17 +247,6 @@ let LabellingPlannerCompanionService = class LabellingPlannerCompanionService {
|
|
|
228
247
|
});
|
|
229
248
|
return { units, incompleteness };
|
|
230
249
|
}
|
|
231
|
-
/** Billing twin of {@link milestoneRegistryReadiness}; same structural argument. */
|
|
232
|
-
get billingRegistryReadiness() {
|
|
233
|
-
if (this.productCatalogSync === undefined)
|
|
234
|
-
return LabellingRegistryReadiness.UNBOUND;
|
|
235
|
-
return this.productCatalogSync.getProductDefinitions().length === 0
|
|
236
|
-
? LabellingRegistryReadiness.UNPOPULATED
|
|
237
|
-
: LabellingRegistryReadiness.READY;
|
|
238
|
-
}
|
|
239
|
-
get billingUnitsAreDerivable() {
|
|
240
|
-
return this.billingRegistryReadiness === LabellingRegistryReadiness.READY;
|
|
241
|
-
}
|
|
242
250
|
// ================================================================
|
|
243
251
|
// Frontend-derived label families (composite views, navigation views,
|
|
244
252
|
// sidebar sections).
|
|
@@ -276,7 +284,11 @@ let LabellingPlannerCompanionService = class LabellingPlannerCompanionService {
|
|
|
276
284
|
}));
|
|
277
285
|
const units = [];
|
|
278
286
|
for (const family of families) {
|
|
279
|
-
const
|
|
287
|
+
const familyKeys = frontendKeys.filter((key) => key.startsWith(family.prefix));
|
|
288
|
+
// A composite SECTION description is optional: planned only when its specification documents one.
|
|
289
|
+
const keys = family.category === LabellingUnitCategory.COMPOSITE_VIEW
|
|
290
|
+
? await this.specContextLoader.filterUndocumentedCompositeSectionDescriptions(familyKeys)
|
|
291
|
+
: familyKeys;
|
|
280
292
|
if (keys.length === 0)
|
|
281
293
|
continue;
|
|
282
294
|
// Composite-view + non-composite-view (full-custom / flows-actors / chart /
|
|
@@ -436,7 +448,20 @@ let LabellingPlannerCompanionService = class LabellingPlannerCompanionService {
|
|
|
436
448
|
// / emptyState / sections / wizardSteps / groups / fields-block-N.
|
|
437
449
|
// Resource-attached guidance is folded into the resource unit.
|
|
438
450
|
// ================================================================
|
|
439
|
-
|
|
451
|
+
/**
|
|
452
|
+
* @param frontendIncompleteness Set when the frontend snapshot is the EMPTY fallback of an
|
|
453
|
+
* introspection that should have answered (failed or malformed — never "no frontend service", which
|
|
454
|
+
* is complete). Every resource unit then carries it (`plannedFromIncompleteInputs`), because its
|
|
455
|
+
* layout, description opt-in and empty-state secondary-action keys all come from that snapshot and
|
|
456
|
+
* are silently absent.
|
|
457
|
+
* @param specificationsIncompleteness Set when the resource-specification registry could not be loaded
|
|
458
|
+
* (RESOURCE_SPECIFICATIONS_UNAVAILABLE). Every resource unit carries it too: which section and empty-state
|
|
459
|
+
* descriptions to plan is read from the specification, and an unreadable registry would plan them all.
|
|
460
|
+
*/
|
|
461
|
+
async planResourceUnits(frontendDerived, frontendIncompleteness, specificationsIncompleteness) {
|
|
462
|
+
const plannedFromIncompleteInputs = [frontendIncompleteness, specificationsIncompleteness]
|
|
463
|
+
.filter((entry) => entry !== undefined)
|
|
464
|
+
.map((entry) => entry.reason);
|
|
440
465
|
const registry = this.resourcesRegistryService.getResourcesRegistry();
|
|
441
466
|
const allResources = (registry.resourceConfigurations || {});
|
|
442
467
|
const headerDefs = readDefs(LabellingPolicy[LabellingTypes.RESOURCES], 'header');
|
|
@@ -502,25 +527,28 @@ let LabellingPlannerCompanionService = class LabellingPlannerCompanionService {
|
|
|
502
527
|
// them for non-collection resources (singletons, nested-only sub-resources, junctions)
|
|
503
528
|
// is pure waste, so gate the whole subgroup on a collection op. Within it, gate per
|
|
504
529
|
// sub-key:
|
|
505
|
-
// - title
|
|
530
|
+
// - title → always (it falls back to a generic component label in
|
|
506
531
|
// `ResourceEmptyState`, so collection resources keep their
|
|
507
532
|
// resource-specific copy = quality preserved)
|
|
508
|
-
// -
|
|
509
|
-
//
|
|
533
|
+
// - description → only when the specification authors `emptyState.purpose` (see
|
|
534
|
+
// `resolveEmptyStateDescriptionAuthored`); with nothing authored it could
|
|
535
|
+
// only restate the header above it or the button beside it. No
|
|
536
|
+
// specification → planned, as before.
|
|
537
|
+
// - (no primary-action key: that action IS the CREATE operation and takes its title)
|
|
510
538
|
// - secondaryActionLabel → only if the frontend declares a `secondaryAction` (the one
|
|
511
539
|
// empty-state label with NO fallback; frontend-only fact bridged
|
|
512
540
|
// via `emptyStateSecondaryActionRefs`)
|
|
513
541
|
// All gates are fail-safe: a wrong skip degrades to a generic fallback, never a broken label.
|
|
514
542
|
const hasCollectionOp = opIds.includes(CoreResourceOperation.LIST) || opIds.includes(CoreResourceOperation.SEARCH);
|
|
515
543
|
if (hasCollectionOp) {
|
|
516
|
-
const hasCreateOp = opIds.includes(CoreResourceOperation.CREATE);
|
|
517
544
|
const hasSecondaryActionLabel = frontendDerived.emptyStateSecondaryActionRefs.includes(resourceType);
|
|
545
|
+
const descriptionAuthored = await this.specContextLoader.resolveEmptyStateDescriptionAuthored(resourceType);
|
|
518
546
|
const emptyStateKeys = emptyStateDefs
|
|
519
547
|
.filter((sub) => {
|
|
520
|
-
if (sub === 'primaryActionLabel')
|
|
521
|
-
return hasCreateOp;
|
|
522
548
|
if (sub === 'secondaryActionLabel')
|
|
523
549
|
return hasSecondaryActionLabel;
|
|
550
|
+
if (sub === 'description')
|
|
551
|
+
return descriptionAuthored !== false;
|
|
524
552
|
return true;
|
|
525
553
|
})
|
|
526
554
|
.map((sub) => `${LabellingTypes.RESOURCES}.${resourceType}.emptyState.${sub}`);
|
|
@@ -545,12 +573,18 @@ let LabellingPlannerCompanionService = class LabellingPlannerCompanionService {
|
|
|
545
573
|
const layoutRefs = frontendDerived.resourceLayoutRefs[resourceType]
|
|
546
574
|
?? resourceConfig
|
|
547
575
|
.frontendConfiguration?.layout?.refs;
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
576
|
+
// A section's description is planned only when its specification documents one: the slot is
|
|
577
|
+
// optional, and an undocumented description would be a model-invented sub-heading restating the
|
|
578
|
+
// title. No specification → both slots, as before (nothing to read the decision from).
|
|
579
|
+
const sectionsWithoutDescription = (layoutRefs?.sections?.length ?? 0) > 0
|
|
580
|
+
? await this.specContextLoader.resolveSectionRefsWithoutDescription(resourceType)
|
|
581
|
+
: undefined;
|
|
582
|
+
const sectionKeys = planResourceSectionLabelKeys({
|
|
583
|
+
resourceType,
|
|
584
|
+
sectionRefs: layoutRefs?.sections ?? [],
|
|
585
|
+
slotKeys: sectionDefs,
|
|
586
|
+
sectionsWithoutDescription,
|
|
587
|
+
});
|
|
554
588
|
if (sectionKeys.length)
|
|
555
589
|
subgroups.push({ id: 'sections', keys: sectionKeys });
|
|
556
590
|
const wizardKeys = [];
|
|
@@ -615,6 +649,7 @@ let LabellingPlannerCompanionService = class LabellingPlannerCompanionService {
|
|
|
615
649
|
filePathHint: { bucket: 'resources', slug: slugify(resourceType) },
|
|
616
650
|
chunks,
|
|
617
651
|
loadSpecContext: () => this.specContextLoader.loadResourceContext(resourceType),
|
|
652
|
+
...(plannedFromIncompleteInputs.length > 0 ? { plannedFromIncompleteInputs } : {}),
|
|
618
653
|
});
|
|
619
654
|
}
|
|
620
655
|
return units;
|
|
@@ -622,7 +657,7 @@ let LabellingPlannerCompanionService = class LabellingPlannerCompanionService {
|
|
|
622
657
|
// ================================================================
|
|
623
658
|
// Themes — grouped buckets (errors_messages, errors_guidance, etc.)
|
|
624
659
|
// ================================================================
|
|
625
|
-
planThemeUnits() {
|
|
660
|
+
planThemeUnits(gates) {
|
|
626
661
|
// `errors_guidance` is the one theme bucket that declares interpolation
|
|
627
662
|
// params (e.g. `retryCountdown → ["seconds"]`); thread them so regeneration
|
|
628
663
|
// seeds the placeholder and the drift validator covers it like components.
|
|
@@ -635,7 +670,7 @@ let LabellingPlannerCompanionService = class LabellingPlannerCompanionService {
|
|
|
635
670
|
{ themeId: 'errors_guidance', keys: errorsGuidance.keys, keyParams: errorsGuidance.keyParams },
|
|
636
671
|
{ themeId: 'errors_validation', keys: this.collectErrorsValidationKeys() },
|
|
637
672
|
{ themeId: 'notifications_custom', keys: this.collectNotificationsCustomKeys() },
|
|
638
|
-
{ themeId: 'system_enums', keys: this.collectSystemEnumsKeys() },
|
|
673
|
+
{ themeId: 'system_enums', keys: this.collectSystemEnumsKeys(gates.pauseStates) },
|
|
639
674
|
{ themeId: 'backend_auth_messages', keys: this.collectBackendAuthMessagesKeys() },
|
|
640
675
|
{ themeId: 'backend_sms', keys: this.collectBackendSmsKeys() },
|
|
641
676
|
];
|
|
@@ -650,6 +685,8 @@ let LabellingPlannerCompanionService = class LabellingPlannerCompanionService {
|
|
|
650
685
|
filePathHint: { bucket: 'themes', slug: themeId },
|
|
651
686
|
chunks: chunkKeys(themeId, keys, keyParams),
|
|
652
687
|
loadSpecContext: async () => undefined,
|
|
688
|
+
// The pause-state words live in `system_enums`: planned without them, the unit holds a subset (#1864).
|
|
689
|
+
...(themeId === 'system_enums' && gates.incompleteness ? { plannedFromIncompleteInputs: [gates.incompleteness.reason] } : {}),
|
|
653
690
|
});
|
|
654
691
|
}
|
|
655
692
|
return units;
|
|
@@ -686,63 +723,99 @@ let LabellingPlannerCompanionService = class LabellingPlannerCompanionService {
|
|
|
686
723
|
}];
|
|
687
724
|
}
|
|
688
725
|
/**
|
|
689
|
-
*
|
|
726
|
+
* The milestone and product DECLARATIONS, read from ONE `resources-registry` introspection of the application's
|
|
727
|
+
* shared modules.
|
|
690
728
|
*
|
|
691
|
-
*
|
|
692
|
-
*
|
|
693
|
-
*
|
|
694
|
-
*
|
|
695
|
-
*
|
|
729
|
+
* Both families used to be planned from runtime registries — `MilestoneDefinitionRegistry` and
|
|
730
|
+
* `ProductCatalogSyncBackendService` — whose only writer is `startApplication()`, which the companion never runs.
|
|
731
|
+
* Each answered `[]` for every application, and the family disappeared with nothing reported: Wonder Todos declares
|
|
732
|
+
* eight milestones and planned none (#1405), and no application ever had a plan name labelled (found by #1881's
|
|
733
|
+
* regeneration).
|
|
696
734
|
*
|
|
697
|
-
* Reading declarations restores the distinction the old
|
|
698
|
-
*
|
|
699
|
-
*
|
|
735
|
+
* Reading declarations restores the distinction the old predicates claimed but could not have: an application that
|
|
736
|
+
* declares no milestones or sells nothing answers an AUTHORITATIVE zero, and only a failed introspection degrades.
|
|
737
|
+
* Each projection degrades on its own: a subprocess predating one projection carries the other.
|
|
700
738
|
*/
|
|
701
|
-
async
|
|
702
|
-
const
|
|
703
|
-
.find(([, service]) => !service.frontendType)?.[0];
|
|
704
|
-
const degraded = (detail) => {
|
|
739
|
+
async collectRegistryDeclarations() {
|
|
740
|
+
const milestoneDegraded = (detail) => {
|
|
705
741
|
this.logger.warn(`Milestone label planning skipped: ${detail}`);
|
|
706
742
|
return {
|
|
707
743
|
definitions: [],
|
|
708
|
-
incompleteness: {
|
|
709
|
-
reason: LabellingPlanIncompletenessReason.MILESTONE_INTROSPECTION_FAILED,
|
|
710
|
-
detail,
|
|
711
|
-
suppressedBuckets: ['milestones'],
|
|
712
|
-
},
|
|
744
|
+
incompleteness: { reason: LabellingPlanIncompletenessReason.MILESTONE_INTROSPECTION_FAILED, detail, suppressedBuckets: ['milestones'] },
|
|
713
745
|
};
|
|
714
746
|
};
|
|
715
|
-
|
|
716
|
-
|
|
747
|
+
const productDegraded = (detail) => {
|
|
748
|
+
this.logger.warn(`Billing label planning skipped: ${detail}`);
|
|
749
|
+
return {
|
|
750
|
+
definitions: [],
|
|
751
|
+
featureDefinitions: [],
|
|
752
|
+
incompleteness: { reason: LabellingPlanIncompletenessReason.PRODUCT_CATALOG_INTROSPECTION_FAILED, detail, suppressedBuckets: ['billing'] },
|
|
753
|
+
};
|
|
754
|
+
};
|
|
755
|
+
const backendServiceKey = Object.entries(this.companionContext.servicesByKey)
|
|
756
|
+
.find(([, service]) => !service.frontendType)?.[0];
|
|
757
|
+
if (!backendServiceKey) {
|
|
758
|
+
const detail = 'No backend service is configured to answer the resources-registry introspection.';
|
|
759
|
+
return { milestones: milestoneDegraded(detail), products: productDegraded(detail) };
|
|
760
|
+
}
|
|
717
761
|
const result = await this.introspectionService.requestInfo({
|
|
718
762
|
serviceKey: backendServiceKey,
|
|
719
763
|
behavior: 'resources-registry',
|
|
720
764
|
});
|
|
721
765
|
if (!result.success) {
|
|
722
766
|
const message = 'error' in result ? result.error.message : 'unknown error';
|
|
723
|
-
|
|
767
|
+
const detail = `resources-registry introspection failed on '${backendServiceKey}': ${message}`;
|
|
768
|
+
return { milestones: milestoneDegraded(detail), products: productDegraded(detail) };
|
|
724
769
|
}
|
|
725
|
-
|
|
726
|
-
//
|
|
727
|
-
// application without milestones, so it degrades rather than reporting zero.
|
|
728
|
-
const
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
770
|
+
const data = result.data;
|
|
771
|
+
// A snapshot produced BEFORE a projection existed carries no key for it. That is a stale subprocess, not an
|
|
772
|
+
// application without milestones or products, so it degrades rather than reporting zero.
|
|
773
|
+
const stale = (projection) => `resources-registry on '${backendServiceKey}' returned no ${projection} array (a subprocess predating the projection, or a malformed payload).`;
|
|
774
|
+
let milestones;
|
|
775
|
+
if (!Array.isArray(data?.customMilestoneDefinitions)) {
|
|
776
|
+
milestones = milestoneDegraded(stale('customMilestoneDefinitions'));
|
|
732
777
|
}
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
const
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
778
|
+
else {
|
|
779
|
+
const definitions = [];
|
|
780
|
+
for (const entry of data.customMilestoneDefinitions) {
|
|
781
|
+
const candidate = entry;
|
|
782
|
+
if (typeof candidate?.identifier !== 'string' || candidate.identifier.length === 0)
|
|
783
|
+
continue;
|
|
784
|
+
definitions.push({
|
|
785
|
+
identifier: candidate.identifier,
|
|
786
|
+
hasDescriptionLabel: candidate.hasDescriptionLabel === true,
|
|
787
|
+
...(typeof candidate.category === 'string' ? { category: candidate.category } : {}),
|
|
788
|
+
});
|
|
789
|
+
}
|
|
790
|
+
this.logDebug(`Milestone declarations read from introspection: ${definitions.length}`);
|
|
791
|
+
milestones = { definitions };
|
|
792
|
+
}
|
|
793
|
+
let products;
|
|
794
|
+
if (!Array.isArray(data?.productDefinitions)) {
|
|
795
|
+
products = productDegraded(stale('productDefinitions'));
|
|
796
|
+
}
|
|
797
|
+
else if (!Array.isArray(data?.customFeatureDefinitions)) {
|
|
798
|
+
// The same bucket: a feature's words live beside a plan's, so a plan read without the features is not total.
|
|
799
|
+
products = productDegraded(stale('customFeatureDefinitions'));
|
|
800
|
+
}
|
|
801
|
+
else {
|
|
802
|
+
const strings = (value) => (Array.isArray(value) ? value.filter((item) => typeof item === 'string') : []);
|
|
803
|
+
const definitions = [];
|
|
804
|
+
for (const entry of data.productDefinitions) {
|
|
805
|
+
const candidate = entry;
|
|
806
|
+
if (typeof candidate?.key !== 'string' || candidate.key.length === 0)
|
|
807
|
+
continue;
|
|
808
|
+
definitions.push({
|
|
809
|
+
key: candidate.key,
|
|
810
|
+
grantedFeatures: strings(candidate.grantedFeatures),
|
|
811
|
+
grantedLimitKeys: strings(candidate.grantedLimitKeys),
|
|
812
|
+
...(typeof candidate.creditPoolKey === 'string' && candidate.creditPoolKey.length > 0 ? { creditPoolKey: candidate.creditPoolKey } : {}),
|
|
813
|
+
});
|
|
814
|
+
}
|
|
815
|
+
this.logDebug(`Product declarations read from introspection: ${definitions.length}`);
|
|
816
|
+
products = { definitions, featureDefinitions: this.readDeclaredFeatureDefinitions(data.customFeatureDefinitions) };
|
|
743
817
|
}
|
|
744
|
-
|
|
745
|
-
return { definitions };
|
|
818
|
+
return { milestones, products };
|
|
746
819
|
}
|
|
747
820
|
planMilestoneUnits(definitions) {
|
|
748
821
|
if (definitions.length === 0)
|
|
@@ -770,27 +843,55 @@ let LabellingPlannerCompanionService = class LabellingPlannerCompanionService {
|
|
|
770
843
|
loadSpecContext: async () => undefined,
|
|
771
844
|
}];
|
|
772
845
|
}
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
846
|
+
/**
|
|
847
|
+
* Every declared feature and limit (#1851): the engine's core definitions plus the application's own, as projected by
|
|
848
|
+
* the introspection. A custom definition repeating a core identifier contributes nothing new.
|
|
849
|
+
*/
|
|
850
|
+
readDeclaredFeatureDefinitions(customDefinitions) {
|
|
851
|
+
const valueTypes = new Set(Object.values(FeatureValueType));
|
|
852
|
+
const declared = new Map();
|
|
853
|
+
for (const definition of CORE_FEATURE_DEFINITIONS) {
|
|
854
|
+
declared.set(definition.identifier, { identifier: definition.identifier, valueType: definition.valueType });
|
|
855
|
+
}
|
|
856
|
+
for (const entry of customDefinitions) {
|
|
857
|
+
const candidate = entry;
|
|
858
|
+
if (typeof candidate?.identifier !== 'string' || candidate.identifier.length === 0)
|
|
859
|
+
continue;
|
|
860
|
+
if (typeof candidate.valueType !== 'string' || !valueTypes.has(candidate.valueType))
|
|
861
|
+
continue;
|
|
862
|
+
declared.set(candidate.identifier, { identifier: candidate.identifier, valueType: candidate.valueType });
|
|
863
|
+
}
|
|
864
|
+
this.logDebug(`Feature declarations: ${declared.size} (core and custom)`);
|
|
865
|
+
return [...declared.values()];
|
|
866
|
+
}
|
|
867
|
+
/**
|
|
868
|
+
* The billing words: each product's name, description and tagline, the words of every FEATURE and LIMIT, and each
|
|
869
|
+
* credit pool's. Features and limits are planned from every declaration (`featureDefinitions`, #1851), and also from
|
|
870
|
+
* a product's grants, so a grant naming an undeclared key is still worded rather than left raw.
|
|
871
|
+
*/
|
|
872
|
+
planBillingUnit(definitions, featureDefinitions) {
|
|
873
|
+
if (definitions.length === 0 && featureDefinitions.length === 0)
|
|
778
874
|
return [];
|
|
779
875
|
const keys = [];
|
|
780
876
|
const featureKeys = new Set();
|
|
781
877
|
const limitKeys = new Set();
|
|
782
878
|
const creditPoolKeys = new Set();
|
|
879
|
+
for (const feature of featureDefinitions) {
|
|
880
|
+
if (feature.valueType === FeatureValueType.LIMIT)
|
|
881
|
+
limitKeys.add(feature.identifier);
|
|
882
|
+
else
|
|
883
|
+
featureKeys.add(feature.identifier);
|
|
884
|
+
}
|
|
783
885
|
for (const def of definitions) {
|
|
784
886
|
keys.push(`${LabellingTypes.BILLING_PRODUCTS}.${def.key}.name`);
|
|
785
887
|
keys.push(`${LabellingTypes.BILLING_PRODUCTS}.${def.key}.description`);
|
|
786
888
|
keys.push(`${LabellingTypes.BILLING_PRODUCTS}.${def.key}.tagline`);
|
|
787
|
-
for (const f of def.grantedFeatures
|
|
889
|
+
for (const f of def.grantedFeatures)
|
|
788
890
|
featureKeys.add(f);
|
|
789
|
-
for (const l of
|
|
891
|
+
for (const l of def.grantedLimitKeys)
|
|
790
892
|
limitKeys.add(l);
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
creditPoolKeys.add(pool);
|
|
893
|
+
if (def.creditPoolKey)
|
|
894
|
+
creditPoolKeys.add(def.creditPoolKey);
|
|
794
895
|
}
|
|
795
896
|
for (const f of featureKeys) {
|
|
796
897
|
keys.push(`${LabellingTypes.BILLING_FEATURES}.${f}.label`);
|
|
@@ -815,6 +916,47 @@ let LabellingPlannerCompanionService = class LabellingPlannerCompanionService {
|
|
|
815
916
|
loadSpecContext: async () => undefined,
|
|
816
917
|
}];
|
|
817
918
|
}
|
|
919
|
+
/**
|
|
920
|
+
* Vendor display names — `providers.<ref>.displayName` for every provider the application declares (#1895).
|
|
921
|
+
*
|
|
922
|
+
* One unit for the whole family: the keys are one-word brand names, so a unit per vendor would be dozens of model
|
|
923
|
+
* calls for a few dozen words. The population and each key's intent are derived in
|
|
924
|
+
* `provider-display-name-keys.utils.ts`; the ref is passed as intent, never as the word.
|
|
925
|
+
*/
|
|
926
|
+
readDeclaredProviderPopulation() {
|
|
927
|
+
return readDeclaredProviderRefs(this.companionContext.saasRoot);
|
|
928
|
+
}
|
|
929
|
+
planProvidersUnit(refs) {
|
|
930
|
+
const { keys, keyMeta } = planProviderDisplayNameKeys(refs);
|
|
931
|
+
if (keys.length === 0)
|
|
932
|
+
return [];
|
|
933
|
+
return [{
|
|
934
|
+
category: LabellingUnitCategory.PROVIDERS_ROOT,
|
|
935
|
+
id: `${PROVIDERS_LABEL_BUCKET}:root`,
|
|
936
|
+
displayLabel: 'provider names',
|
|
937
|
+
filePathHint: { bucket: PROVIDERS_LABEL_BUCKET, slug: 'root' },
|
|
938
|
+
chunks: chunkKeys(PROVIDERS_LABEL_BUCKET, keys, undefined, keyMeta),
|
|
939
|
+
loadSpecContext: async () => ({ audience: LabelAudience.END_USER }),
|
|
940
|
+
}];
|
|
941
|
+
}
|
|
942
|
+
/**
|
|
943
|
+
* System-of-record instance names — `systems_of_record.<name>.displayName` for every instance the application declares
|
|
944
|
+
* (#1997). One unit for the family, like the vendor names: a handful of names, one model call. The population is the
|
|
945
|
+
* loaded saas configuration's `systemsOfRecord` block, and each key carries the name and vendor as intent only.
|
|
946
|
+
*/
|
|
947
|
+
planSystemsOfRecordUnit() {
|
|
948
|
+
const { keys, keyMeta } = planSystemOfRecordDisplayNameKeys(readDeclaredSystemOfRecordInstances(this.companionContext.saasConfig?.systemsOfRecord));
|
|
949
|
+
if (keys.length === 0)
|
|
950
|
+
return [];
|
|
951
|
+
return [{
|
|
952
|
+
category: LabellingUnitCategory.SYSTEMS_OF_RECORD_ROOT,
|
|
953
|
+
id: `${SYSTEMS_OF_RECORD_LABEL_BUCKET}:root`,
|
|
954
|
+
displayLabel: 'system-of-record names',
|
|
955
|
+
filePathHint: { bucket: SYSTEMS_OF_RECORD_LABEL_BUCKET, slug: 'root' },
|
|
956
|
+
chunks: chunkKeys(SYSTEMS_OF_RECORD_LABEL_BUCKET, keys, undefined, keyMeta),
|
|
957
|
+
loadSpecContext: async () => ({ audience: LabelAudience.END_USER }),
|
|
958
|
+
}];
|
|
959
|
+
}
|
|
818
960
|
/**
|
|
819
961
|
* `errors_messages` theme unit — split out of the generic theme loop so it
|
|
820
962
|
* can project per-ref `purpose` + `audience` from the authored
|
|
@@ -923,7 +1065,7 @@ let LabellingPlannerCompanionService = class LabellingPlannerCompanionService {
|
|
|
923
1065
|
* (`planResourceUnits`), NOT here. See `resolveAppLevelGuidanceLabelKeys` for
|
|
924
1066
|
* the override + de-duplication rule.
|
|
925
1067
|
*/
|
|
926
|
-
async planAppGuidanceUnit(derived) {
|
|
1068
|
+
async planAppGuidanceUnit(derived, frontendIncompleteness) {
|
|
927
1069
|
const keys = resolveAppLevelGuidanceLabelKeys({
|
|
928
1070
|
guidanceFlowProviderRegistered: this.guidanceFlowProviderRegistered,
|
|
929
1071
|
providerGuidanceFlowKeys: collectAppGuidanceKeys(this.guidanceFlowProvider()),
|
|
@@ -944,6 +1086,9 @@ let LabellingPlannerCompanionService = class LabellingPlannerCompanionService {
|
|
|
944
1086
|
filePathHint: { bucket: 'guidance', slug: 'root' },
|
|
945
1087
|
chunks: chunkKeys('guidance', keys, undefined, keyMeta),
|
|
946
1088
|
loadSpecContext: async () => undefined,
|
|
1089
|
+
// The discovered flow and onboarding-view keys come from the frontend snapshot; the
|
|
1090
|
+
// provider-registered ones do not, so a degraded run still plans a unit — a partial one.
|
|
1091
|
+
...(frontendIncompleteness ? { plannedFromIncompleteInputs: [frontendIncompleteness.reason] } : {}),
|
|
947
1092
|
}];
|
|
948
1093
|
}
|
|
949
1094
|
planAdditionalUnit() {
|
|
@@ -1052,7 +1197,7 @@ let LabellingPlannerCompanionService = class LabellingPlannerCompanionService {
|
|
|
1052
1197
|
}
|
|
1053
1198
|
/**
|
|
1054
1199
|
* The `system_enums.<EnumName>.<value>` keys, DERIVED — see `buildSystemEnumLabelKeys` for
|
|
1055
|
-
*
|
|
1200
|
+
* its four sources and the ordering contract.
|
|
1056
1201
|
*
|
|
1057
1202
|
* This method used to be nine literal `push(...)` calls: a hand-kept copy of another
|
|
1058
1203
|
* module's catalogue, and the exact shape that rots. It had rotted twice by the time it was
|
|
@@ -1072,10 +1217,76 @@ let LabellingPlannerCompanionService = class LabellingPlannerCompanionService {
|
|
|
1072
1217
|
* those are the two halves that have to agree; keeping them in one module is what lets one
|
|
1073
1218
|
* test assert the invariant between them.
|
|
1074
1219
|
*/
|
|
1075
|
-
collectSystemEnumsKeys() {
|
|
1220
|
+
collectSystemEnumsKeys(pauseStates) {
|
|
1076
1221
|
const registry = this.resourcesRegistryService.getResourcesRegistry();
|
|
1077
1222
|
const allResources = (registry.resourceConfigurations || {});
|
|
1078
|
-
|
|
1223
|
+
const applicationVocabularies = collectApplicationConfigSystemEnumVocabularies(this.readApplicationConfig());
|
|
1224
|
+
// The gates' pause states (#1864): declared in the backend modules rather than the configuration, same vocabulary family.
|
|
1225
|
+
if (pauseStates.length > 0)
|
|
1226
|
+
applicationVocabularies.set(ApplicationConfigVocabulary.HUMAN_DECISION_PAUSE_STATE, [...new Set(pauseStates)]);
|
|
1227
|
+
return buildSystemEnumLabelKeys(Object.values(allResources), applicationVocabularies);
|
|
1228
|
+
}
|
|
1229
|
+
/**
|
|
1230
|
+
* Every pause state an approval gate declares (#1864), from the backend subprocess (the only place a function tool
|
|
1231
|
+
* exists). An application with no backend service has no gates: an authoritative empty answer. A backend that could
|
|
1232
|
+
* not answer, or answered without the projection, is a degradation: the plan would otherwise hold no pause-state
|
|
1233
|
+
* words and a write would prune them.
|
|
1234
|
+
*/
|
|
1235
|
+
async collectHumanDecisionGateDeclarations() {
|
|
1236
|
+
const degraded = (detail) => {
|
|
1237
|
+
this.logger.warn(`Pause-state label planning skipped: ${detail}`);
|
|
1238
|
+
return {
|
|
1239
|
+
pauseStates: [],
|
|
1240
|
+
incompleteness: { reason: LabellingPlanIncompletenessReason.HUMAN_DECISION_GATES_INTROSPECTION_FAILED, detail, suppressedBuckets: [] },
|
|
1241
|
+
};
|
|
1242
|
+
};
|
|
1243
|
+
const backendServiceKey = Object.entries(this.companionContext.servicesByKey)
|
|
1244
|
+
.find(([, service]) => !service.frontendType)?.[0];
|
|
1245
|
+
if (!backendServiceKey)
|
|
1246
|
+
return { pauseStates: [] };
|
|
1247
|
+
const result = await this.introspectionService.requestInfo({ serviceKey: backendServiceKey, behavior: 'human-decision-gate-declarations' });
|
|
1248
|
+
if (!result.success) {
|
|
1249
|
+
const message = 'error' in result ? result.error.message : 'unknown error';
|
|
1250
|
+
return degraded(`human-decision-gate-declarations introspection failed on '${backendServiceKey}': ${message}`);
|
|
1251
|
+
}
|
|
1252
|
+
const gates = result.data?.gates;
|
|
1253
|
+
if (!Array.isArray(gates)) {
|
|
1254
|
+
return degraded(`human-decision-gate-declarations on '${backendServiceKey}' returned no gates array (a subprocess predating the projection, or a malformed payload).`);
|
|
1255
|
+
}
|
|
1256
|
+
const pauseStates = [];
|
|
1257
|
+
const unkeyable = [];
|
|
1258
|
+
for (const gate of gates) {
|
|
1259
|
+
const states = gate?.pauseStates;
|
|
1260
|
+
if (!Array.isArray(states))
|
|
1261
|
+
continue;
|
|
1262
|
+
for (const state of states) {
|
|
1263
|
+
if (typeof state !== 'string' || state.length === 0)
|
|
1264
|
+
continue;
|
|
1265
|
+
// A state that cannot be a key segment is refused at backend startup; the companion may still be reading
|
|
1266
|
+
// the declaration, and planning it would nest a key inside the label tree.
|
|
1267
|
+
if (isLabelKeySegment(state))
|
|
1268
|
+
pauseStates.push(state);
|
|
1269
|
+
else
|
|
1270
|
+
unkeyable.push(state);
|
|
1271
|
+
}
|
|
1272
|
+
}
|
|
1273
|
+
if (unkeyable.length > 0) {
|
|
1274
|
+
return degraded(`pause state(s) ${unkeyable.map((state) => `"${state}"`).join(', ')} contain characters a label key segment cannot hold (letters, digits, "_" and "-" only); the backend refuses them at startup.`);
|
|
1275
|
+
}
|
|
1276
|
+
this.logDebug(`Pause states read from introspection: ${pauseStates.length}`);
|
|
1277
|
+
return { pauseStates };
|
|
1278
|
+
}
|
|
1279
|
+
/**
|
|
1280
|
+
* The application's configuration, or `undefined` before it is initialized. A plan asked for before then plans the
|
|
1281
|
+
* framework's vocabularies and the schema-declared ones, and the configuration-declared ones on the next run.
|
|
1282
|
+
*/
|
|
1283
|
+
readApplicationConfig() {
|
|
1284
|
+
try {
|
|
1285
|
+
return this.appConfigService?.isInitialized?.() ? this.appConfigService.config : undefined;
|
|
1286
|
+
}
|
|
1287
|
+
catch {
|
|
1288
|
+
return undefined;
|
|
1289
|
+
}
|
|
1079
1290
|
}
|
|
1080
1291
|
collectBackendAuthMessagesKeys() {
|
|
1081
1292
|
const sectionConfig = LabellingPolicy[LabellingTypes.BACKEND_AUTH_MESSAGES];
|
|
@@ -1111,7 +1322,7 @@ LabellingPlannerCompanionService = __decorate([
|
|
|
1111
1322
|
__param(3, inject(COMPANION_SERVICE_TYPES.ComponentLabelsBootstrapService)),
|
|
1112
1323
|
__param(4, inject(COMPANION_SERVICE_TYPES.CompanionContext)),
|
|
1113
1324
|
__param(5, inject(COMPANION_SERVICE_TYPES.IntrospectionService)),
|
|
1114
|
-
__param(6, inject(SAAS_SERVICE_TYPES.
|
|
1325
|
+
__param(6, inject(SAAS_SERVICE_TYPES.AppConfigService)),
|
|
1115
1326
|
__param(6, optional()),
|
|
1116
1327
|
__metadata("design:paramtypes", [Function, ResourcesRegistryBackendService,
|
|
1117
1328
|
LabellingSpecContextLoaderCompanionService,
|
|
@@ -1126,7 +1337,13 @@ function readDefs(section, key) {
|
|
|
1126
1337
|
.map((d) => (typeof d === 'string' ? d : d?.ref))
|
|
1127
1338
|
.filter((s) => typeof s === 'string' && s.length > 0);
|
|
1128
1339
|
}
|
|
1129
|
-
|
|
1340
|
+
/**
|
|
1341
|
+
* Split a unit's keys into chunks of at most `MAX_ITEMS_PER_CHUNK`, each carrying the output schema the
|
|
1342
|
+
* model answers against. Exported for the translate pipeline's email lane (#1908), whose keys come from
|
|
1343
|
+
* an authored source file rather than from this planner, so both lanes send the model identically-shaped
|
|
1344
|
+
* requests.
|
|
1345
|
+
*/
|
|
1346
|
+
export function chunkKeys(unitId, keys, keyParams, keyMeta) {
|
|
1130
1347
|
if (keys.length <= MAX_ITEMS_PER_CHUNK) {
|
|
1131
1348
|
return [makeChunk('all', keys, keyParams, keyMeta)];
|
|
1132
1349
|
}
|