@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
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* the driver would pin what the lane TELLS it and nothing about what then happens to the rows, and
|
|
7
7
|
* mocking the adapter would hide the one place a driver move becomes a companion write. So both are
|
|
8
8
|
* the production classes; only `CompanionExecutionsCompanionService` is a double — the same four
|
|
9
|
-
* task methods the lane's tests always stubbed, plus the
|
|
9
|
+
* task methods the lane's tests always stubbed, plus the five execution methods the adapter calls,
|
|
10
10
|
* with the one behaviour of the real service the driver depends on: a task created under an
|
|
11
11
|
* execution appears in that execution's `standaloneTasks`.
|
|
12
12
|
*
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { vi } from 'vitest';
|
|
17
17
|
import { ActorsSystemBackendService } from '@wildo-ai/saas-backend-lib';
|
|
18
|
-
import { FlowsActors_Status } from '@wildo-ai/saas-models';
|
|
18
|
+
import { ErrorCustomMessageReference, FlowsActors_Status } from '@wildo-ai/saas-models';
|
|
19
19
|
import { CompanionActorExecutionPersistenceAdapter } from '../../../../executions/services/companion-actor-execution-persistence.adapter.js';
|
|
20
20
|
import { APPLICATION_CODING_SYSTEM_REF, buildApplicationCodingActorSystemDefinitions, } from '../../../../meta-workflows/models/application-coding-agent.actors-system.definitions.js';
|
|
21
21
|
import { APPLICATION_BUILD_SYSTEM_REF, buildApplicationBuildActorSystemDefinitions } from '../../../../meta-workflows/models/application-build.actors-system.definitions.js';
|
|
@@ -39,6 +39,27 @@ function buildExecutionsServiceDouble() {
|
|
|
39
39
|
throw new Error(`no execution ${executionId}`);
|
|
40
40
|
// `null` clears, absent leaves alone — assigning every PRESENT key is exactly that.
|
|
41
41
|
Object.assign(row, patch);
|
|
42
|
+
// As the real service: a non-terminal row keeps no finish instant (#1586 review N1).
|
|
43
|
+
if (![FlowsActors_Status.COMPLETED, FlowsActors_Status.FAILED, FlowsActors_Status.CANCELLED, FlowsActors_Status.ABORTED].includes(row['status']))
|
|
44
|
+
delete row['finishedAt'];
|
|
45
|
+
return row;
|
|
46
|
+
}),
|
|
47
|
+
/*
|
|
48
|
+
* The real service's compare-and-swap (#1586): moves the row only while it still waits on
|
|
49
|
+
* `expected`, and answers `null` — writing nothing — otherwise. No `await` between the check and
|
|
50
|
+
* the write, so no other call interleaves, as the one guarded statement guarantees in production.
|
|
51
|
+
*/
|
|
52
|
+
updateSuspendedActorExecution: vi.fn(async (executionId, expected, patch) => {
|
|
53
|
+
const row = executions.get(executionId);
|
|
54
|
+
const waiting = row?.['suspension'];
|
|
55
|
+
if (!row || row['status'] !== FlowsActors_Status.AWAITING_APPROVAL || !waiting)
|
|
56
|
+
return null;
|
|
57
|
+
const matches = expected.suspensionId !== undefined ? waiting.suspensionId === expected.suspensionId : waiting.suspendedAt === expected.suspendedAt;
|
|
58
|
+
if (!matches)
|
|
59
|
+
return null;
|
|
60
|
+
Object.assign(row, patch);
|
|
61
|
+
if (![FlowsActors_Status.COMPLETED, FlowsActors_Status.FAILED, FlowsActors_Status.CANCELLED, FlowsActors_Status.ABORTED].includes(row['status']))
|
|
62
|
+
delete row['finishedAt'];
|
|
42
63
|
return row;
|
|
43
64
|
}),
|
|
44
65
|
getActorExecution: vi.fn(async (executionId) => {
|
|
@@ -78,8 +99,9 @@ function buildExecutionsServiceDouble() {
|
|
|
78
99
|
}),
|
|
79
100
|
getActorTask: vi.fn(async (taskId) => {
|
|
80
101
|
const row = tasks.get(taskId);
|
|
102
|
+
// As the companion's executions service reports it, so a reader can tell "no such task" from a failed read.
|
|
81
103
|
if (!row)
|
|
82
|
-
throw new Error('not found');
|
|
104
|
+
throw Object.assign(new Error('not found'), { customMessageReference: ErrorCustomMessageReference.NOT_FOUND });
|
|
83
105
|
return row;
|
|
84
106
|
}),
|
|
85
107
|
listActorTasks: vi.fn(async (query) => [...tasks.values()].filter((row) => query.status === undefined || row.status === query.status)),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"in-memory-coding-actor-plane.js","sourceRoot":"","sources":["../../../../../../../src/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,EAAE,kBAAkB,EAAoB,MAAM,uBAAuB,CAAC;AAE7E,OAAO,EAAE,yCAAyC,EAAE,MAAM,+EAA+E,CAAC;AAC1I,OAAO,EACL,6BAA6B,EAC7B,4CAA4C,GAC7C,MAAM,sFAAsF,CAAC;AAC9F,OAAO,EAAE,4BAA4B,EAAE,2CAA2C,EAAE,MAAM,+EAA+E,CAAC;AAC1K,OAAO,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AAenF,SAAS,4BAA4B;IACnC,MAAM,UAAU,GAAG,IAAI,GAAG,EAAe,CAAC;IAC1C,MAAM,KAAK,GAAG,IAAI,GAAG,EAAe,CAAC;IACrC,IAAI,iBAAiB,GAAG,CAAC,CAAC;IAC1B,IAAI,YAAY,GAAG,CAAC,CAAC;IACrB,MAAM,GAAG,GAAG,GAAG,EAAE,CAAC,0BAA0B,CAAC;IAE7C,MAAM,OAAO,GAAG;QACd,oBAAoB,EAAE,EAAE,CAAC,EAAE,CAAC,KAAK,EAAE,OAAgC,EAAE,EAAE;YACrE,iBAAiB,IAAI,CAAC,CAAC;YACvB,MAAM,GAAG,GAAQ,EAAE,GAAG,OAAO,EAAE,GAAG,EAAE,QAAQ,iBAAiB,EAAE,EAAE,eAAe,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE,EA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rC,CAAC,CAAC;IACH,OAAO,KAAK,CAAC;AACf,CAAC;AAED,oGAAoG;AACpG,MAAM,CAAC,MAAM,cAAc,GAAG,kBAAkB,CAAC,iBAAiB,CAAC","sourcesContent":["/**\n * The REAL engine execution driver and the REAL companion persistence adapter, over an in-memory\n * executions store — for tests of the coding lane (#1359).\n *\n * A coding run is an actor-system execution the engine opens, suspends, resumes and settles. Mocking\n * the driver would pin what the lane TELLS it and nothing about what then happens to the rows, and\n * mocking the adapter would hide the one place a driver move becomes a companion write. So both are\n * the production classes; only `CompanionExecutionsCompanionService` is a double — the same four\n * task methods the lane's tests always stubbed, plus the four execution methods the adapter calls,\n * with the one behaviour of the real service the driver depends on: a task created under an\n * execution appears in that execution's `standaloneTasks`.\n *\n * Every method is a `vi.fn`, so a test still asserts `createActorTask` / `updateActorTask` payloads\n * exactly as before — they are now what the ADAPTER wrote, which is what production writes.\n */\nimport { vi } from 'vitest';\nimport { ActorsSystemBackendService } from '@wildo-ai/saas-backend-lib';\nimport { FlowsActors_Status, type ActorSystem } from '@wildo-ai/saas-models';\n\nimport { CompanionActorExecutionPersistenceAdapter } from '../../../../executions/services/companion-actor-execution-persistence.adapter';\nimport {\n APPLICATION_CODING_SYSTEM_REF,\n buildApplicationCodingActorSystemDefinitions,\n} from '../../../../meta-workflows/models/application-coding-agent.actors-system.definitions';\nimport { APPLICATION_BUILD_SYSTEM_REF, buildApplicationBuildActorSystemDefinitions } from '../../../../meta-workflows/models/application-build.actors-system.definitions';\nimport { CODING_RUN_OPTIONS } from '../../coding-agent-dispatch.companion.service';\n\ntype Row = Record<string, unknown> & { _id: string };\n\nexport interface InMemoryCodingActorPlane {\n readonly executionsService: ReturnType<typeof buildExecutionsServiceDouble>['service'];\n readonly actorsSystem: ActorsSystemBackendService;\n readonly executions: Map<string, Row>;\n readonly tasks: Map<string, Row>;\n /** The one task row a single-run test reads; throws when none was created. */\n onlyTask(): Row;\n /** The one execution row a single-run test reads; throws when none was created. */\n onlyExecution(): Row;\n}\n\nfunction buildExecutionsServiceDouble() {\n const executions = new Map<string, Row>();\n const tasks = new Map<string, Row>();\n let executionSequence = 0;\n let taskSequence = 0;\n const now = () => '2026-07-03T10:00:00.000Z';\n\n const service = {\n createActorExecution: vi.fn(async (payload: Record<string, unknown>) => {\n executionSequence += 1;\n const row: Row = { ...payload, _id: `exec-${executionSequence}`, standaloneTasks: [], createdAt: now(), updatedAt: now() };\n executions.set(row._id, row);\n return row;\n }),\n updateActorExecution: vi.fn(async (executionId: string, patch: Record<string, unknown>) => {\n const row = executions.get(executionId);\n if (!row) throw new Error(`no execution ${executionId}`);\n // `null` clears, absent leaves alone — assigning every PRESENT key is exactly that.\n Object.assign(row, patch);\n return row;\n }),\n getActorExecution: vi.fn(async (executionId: string) => {\n const row = executions.get(executionId);\n if (!row) throw new Error(`no execution ${executionId}`);\n return row;\n }),\n // Both filters optional, newest first, trimmed to `limit` — the real service's list.\n listActorExecutions: vi.fn(async (query: { systemRef?: string; status?: string; limit?: number }) =>\n [...executions.values()]\n .filter((row) => (query.systemRef === undefined || row.systemRef === query.systemRef) && (query.status === undefined || row.status === query.status))\n .reverse()\n .slice(0, query.limit ?? 50)),\n createActorTask: vi.fn(async (payload: Record<string, unknown>) => {\n taskSequence += 1;\n const row: Row = {\n ...payload,\n _id: `task-${taskSequence}`,\n organizationId: 'org-1',\n wildoApplicationId: 'app-1',\n createdAt: now(),\n updatedAt: now(),\n };\n tasks.set(row._id, row);\n const executionId = payload.wildoApplicationActorSystemExecutionId;\n if (typeof executionId === 'string') {\n (executions.get(executionId)?.standaloneTasks as Row[] | undefined)?.push(row);\n }\n return row;\n }),\n updateActorTask: vi.fn(async (taskId: string, patch: Record<string, unknown>) => {\n const row = tasks.get(taskId);\n if (!row) throw new Error(`no task ${taskId}`);\n Object.assign(row, patch);\n return row;\n }),\n getActorTask: vi.fn(async (taskId: string) => {\n const row = tasks.get(taskId);\n if (!row) throw new Error('not found');\n return row;\n }),\n listActorTasks: vi.fn(async (query: { status?: string }) =>\n [...tasks.values()].filter((row) => query.status === undefined || row.status === query.status)),\n };\n return { service, executions, tasks };\n}\n\nexport function createInMemoryCodingActorPlane(): InMemoryCodingActorPlane {\n const { service, executions, tasks } = buildExecutionsServiceDouble();\n // BOTH systems a build dispatch can run under, registered the way the startup assembly registers\n // them — so the driver's roster check is the production one for a coding run and a generation step.\n const systems = new Map<string, ActorSystem>([\n [APPLICATION_CODING_SYSTEM_REF, buildApplicationCodingActorSystemDefinitions().factoryMap[APPLICATION_CODING_SYSTEM_REF]!() as ActorSystem],\n [APPLICATION_BUILD_SYSTEM_REF, buildApplicationBuildActorSystemDefinitions().factoryMap[APPLICATION_BUILD_SYSTEM_REF]!() as ActorSystem],\n ]);\n const resolveSystem = (ref: string): ActorSystem => {\n const system = systems.get(ref);\n if (!system) throw new Error(`unregistered actor system ${ref}`);\n return system;\n };\n const actorsSystem = new ActorsSystemBackendService(\n { debugByType: () => () => undefined, setDebugTypeLogging: () => undefined, error: () => undefined, warn: () => undefined } as never,\n {\n buildError: (type: string, _cause: unknown, detail: { customMessageReference: string }) =>\n Object.assign(new Error(`${type}:${detail.customMessageReference}`), { customMessageReference: detail.customMessageReference }),\n } as never,\n { getSystemOrThrow: resolveSystem, getSystem: (ref: string) => systems.get(ref), getActors: () => [...systems.values()] } as never,\n {} as never,\n new CompanionActorExecutionPersistenceAdapter(service as never),\n );\n const only = (rows: Map<string, Row>, what: string): Row => {\n if (rows.size !== 1) throw new Error(`expected exactly one ${what}, found ${rows.size}`);\n return [...rows.values()][0]!;\n };\n return {\n executionsService: service,\n actorsSystem,\n executions,\n tasks,\n onlyTask: () => only(tasks, 'task'),\n onlyExecution: () => only(executions, 'execution'),\n };\n}\n\n/**\n * Give a dispatch service built with `Object.create(prototype)` what its constructor and field\n * initializers would have: the store, the engine driver over it, and the production reading of a\n * coding run's result.\n */\nexport function wireInMemoryCodingActorPlane(service: object, plane: InMemoryCodingActorPlane = createInMemoryCodingActorPlane()): InMemoryCodingActorPlane {\n Object.assign(service as Record<string, unknown>, {\n executionsService: plane.executionsService,\n actorsSystem: plane.actorsSystem,\n codingRunOptions: CODING_RUN_OPTIONS,\n });\n return plane;\n}\n\n/** Re-exported so a test asserting a waiting row does not import the engine enum for one member. */\nexport const WAITING_STATUS = FlowsActors_Status.AWAITING_APPROVAL;\n"]}
|
|
1
|
+
{"version":3,"file":"in-memory-coding-actor-plane.js","sourceRoot":"","sources":["../../../../../../../src/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,EAAE,2BAA2B,EAAE,kBAAkB,EAAoB,MAAM,uBAAuB,CAAC;AAE1G,OAAO,EAAE,yCAAyC,EAAE,MAAM,+EAA+E,CAAC;AAC1I,OAAO,EACL,6BAA6B,EAC7B,4CAA4C,GAC7C,MAAM,sFAAsF,CAAC;AAC9F,OAAO,EAAE,4BAA4B,EAAE,2CAA2C,EAAE,MAAM,+EAA+E,CAAC;AAC1K,OAAO,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AAenF,SAAS,4BAA4B;IACnC,MAAM,UAAU,GAAG,IAAI,GAAG,EAAe,CAAC;IAC1C,MAAM,KAAK,GAAG,IAAI,GAAG,EAAe,CAAC;IACrC,IAAI,iBAAiB,GAAG,CAAC,CAAC;IAC1B,IAAI,YAAY,GAAG,CAAC,CAAC;IACrB,MAAM,GAAG,GAAG,GAAG,EAAE,CAAC,0BAA0B,CAAC;IAE7C,MAAM,OAAO,GAAG;QACd,oBAAoB,EAAE,EAAE,CAAC,EAAE,CAAC,KAAK,EAAE,OAAgC,EAAE,EAAE;YACrE,iBAAiB,IAAI,CAAC,CAAC;YACvB,MAAM,GAAG,GAAQ,EAAE,GAAG,OAAO,EAAE,GAAG,EAAE,QAAQ,iB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E;QAChD,iBAAiB,EAAE,KAAK,CAAC,iBAAiB;QAC1C,YAAY,EAAE,KAAK,CAAC,YAAY;QAChC,gBAAgB,EAAE,kBAAkB;KACrC,CAAC,CAAC;IACH,OAAO,KAAK,CAAC;AACf,CAAC;AAED,oGAAoG;AACpG,MAAM,CAAC,MAAM,cAAc,GAAG,kBAAkB,CAAC,iBAAiB,CAAC","sourcesContent":["/**\n * The REAL engine execution driver and the REAL companion persistence adapter, over an in-memory\n * executions store — for tests of the coding lane (#1359).\n *\n * A coding run is an actor-system execution the engine opens, suspends, resumes and settles. Mocking\n * the driver would pin what the lane TELLS it and nothing about what then happens to the rows, and\n * mocking the adapter would hide the one place a driver move becomes a companion write. So both are\n * the production classes; only `CompanionExecutionsCompanionService` is a double — the same four\n * task methods the lane's tests always stubbed, plus the five execution methods the adapter calls,\n * with the one behaviour of the real service the driver depends on: a task created under an\n * execution appears in that execution's `standaloneTasks`.\n *\n * Every method is a `vi.fn`, so a test still asserts `createActorTask` / `updateActorTask` payloads\n * exactly as before — they are now what the ADAPTER wrote, which is what production writes.\n */\nimport { vi } from 'vitest';\nimport { ActorsSystemBackendService } from '@wildo-ai/saas-backend-lib';\nimport { ErrorCustomMessageReference, FlowsActors_Status, type ActorSystem } from '@wildo-ai/saas-models';\n\nimport { CompanionActorExecutionPersistenceAdapter } from '../../../../executions/services/companion-actor-execution-persistence.adapter';\nimport {\n APPLICATION_CODING_SYSTEM_REF,\n buildApplicationCodingActorSystemDefinitions,\n} from '../../../../meta-workflows/models/application-coding-agent.actors-system.definitions';\nimport { APPLICATION_BUILD_SYSTEM_REF, buildApplicationBuildActorSystemDefinitions } from '../../../../meta-workflows/models/application-build.actors-system.definitions';\nimport { CODING_RUN_OPTIONS } from '../../coding-agent-dispatch.companion.service';\n\ntype Row = Record<string, unknown> & { _id: string };\n\nexport interface InMemoryCodingActorPlane {\n readonly executionsService: ReturnType<typeof buildExecutionsServiceDouble>['service'];\n readonly actorsSystem: ActorsSystemBackendService;\n readonly executions: Map<string, Row>;\n readonly tasks: Map<string, Row>;\n /** The one task row a single-run test reads; throws when none was created. */\n onlyTask(): Row;\n /** The one execution row a single-run test reads; throws when none was created. */\n onlyExecution(): Row;\n}\n\nfunction buildExecutionsServiceDouble() {\n const executions = new Map<string, Row>();\n const tasks = new Map<string, Row>();\n let executionSequence = 0;\n let taskSequence = 0;\n const now = () => '2026-07-03T10:00:00.000Z';\n\n const service = {\n createActorExecution: vi.fn(async (payload: Record<string, unknown>) => {\n executionSequence += 1;\n const row: Row = { ...payload, _id: `exec-${executionSequence}`, standaloneTasks: [], createdAt: now(), updatedAt: now() };\n executions.set(row._id, row);\n return row;\n }),\n updateActorExecution: vi.fn(async (executionId: string, patch: Record<string, unknown>) => {\n const row = executions.get(executionId);\n if (!row) throw new Error(`no execution ${executionId}`);\n // `null` clears, absent leaves alone — assigning every PRESENT key is exactly that.\n Object.assign(row, patch);\n // As the real service: a non-terminal row keeps no finish instant (#1586 review N1).\n if (![FlowsActors_Status.COMPLETED, FlowsActors_Status.FAILED, FlowsActors_Status.CANCELLED, FlowsActors_Status.ABORTED].includes(row['status'] as FlowsActors_Status)) delete row['finishedAt'];\n return row;\n }),\n /*\n * The real service's compare-and-swap (#1586): moves the row only while it still waits on\n * `expected`, and answers `null` — writing nothing — otherwise. No `await` between the check and\n * the write, so no other call interleaves, as the one guarded statement guarantees in production.\n */\n updateSuspendedActorExecution: vi.fn(async (executionId: string, expected: { suspensionId?: string; suspendedAt: string }, patch: Record<string, unknown>) => {\n const row = executions.get(executionId);\n const waiting = row?.['suspension'] as { suspensionId?: string; suspendedAt?: string } | null | undefined;\n if (!row || row['status'] !== FlowsActors_Status.AWAITING_APPROVAL || !waiting) return null;\n const matches = expected.suspensionId !== undefined ? waiting.suspensionId === expected.suspensionId : waiting.suspendedAt === expected.suspendedAt;\n if (!matches) return null;\n Object.assign(row, patch);\n if (![FlowsActors_Status.COMPLETED, FlowsActors_Status.FAILED, FlowsActors_Status.CANCELLED, FlowsActors_Status.ABORTED].includes(row['status'] as FlowsActors_Status)) delete row['finishedAt'];\n return row;\n }),\n getActorExecution: vi.fn(async (executionId: string) => {\n const row = executions.get(executionId);\n if (!row) throw new Error(`no execution ${executionId}`);\n return row;\n }),\n // Both filters optional, newest first, trimmed to `limit` — the real service's list.\n listActorExecutions: vi.fn(async (query: { systemRef?: string; status?: string; limit?: number }) =>\n [...executions.values()]\n .filter((row) => (query.systemRef === undefined || row.systemRef === query.systemRef) && (query.status === undefined || row.status === query.status))\n .reverse()\n .slice(0, query.limit ?? 50)),\n createActorTask: vi.fn(async (payload: Record<string, unknown>) => {\n taskSequence += 1;\n const row: Row = {\n ...payload,\n _id: `task-${taskSequence}`,\n organizationId: 'org-1',\n wildoApplicationId: 'app-1',\n createdAt: now(),\n updatedAt: now(),\n };\n tasks.set(row._id, row);\n const executionId = payload.wildoApplicationActorSystemExecutionId;\n if (typeof executionId === 'string') {\n (executions.get(executionId)?.standaloneTasks as Row[] | undefined)?.push(row);\n }\n return row;\n }),\n updateActorTask: vi.fn(async (taskId: string, patch: Record<string, unknown>) => {\n const row = tasks.get(taskId);\n if (!row) throw new Error(`no task ${taskId}`);\n Object.assign(row, patch);\n return row;\n }),\n getActorTask: vi.fn(async (taskId: string) => {\n const row = tasks.get(taskId);\n // As the companion's executions service reports it, so a reader can tell \"no such task\" from a failed read.\n if (!row) throw Object.assign(new Error('not found'), { customMessageReference: ErrorCustomMessageReference.NOT_FOUND });\n return row;\n }),\n listActorTasks: vi.fn(async (query: { status?: string }) =>\n [...tasks.values()].filter((row) => query.status === undefined || row.status === query.status)),\n };\n return { service, executions, tasks };\n}\n\nexport function createInMemoryCodingActorPlane(): InMemoryCodingActorPlane {\n const { service, executions, tasks } = buildExecutionsServiceDouble();\n // BOTH systems a build dispatch can run under, registered the way the startup assembly registers\n // them — so the driver's roster check is the production one for a coding run and a generation step.\n const systems = new Map<string, ActorSystem>([\n [APPLICATION_CODING_SYSTEM_REF, buildApplicationCodingActorSystemDefinitions().factoryMap[APPLICATION_CODING_SYSTEM_REF]!() as ActorSystem],\n [APPLICATION_BUILD_SYSTEM_REF, buildApplicationBuildActorSystemDefinitions().factoryMap[APPLICATION_BUILD_SYSTEM_REF]!() as ActorSystem],\n ]);\n const resolveSystem = (ref: string): ActorSystem => {\n const system = systems.get(ref);\n if (!system) throw new Error(`unregistered actor system ${ref}`);\n return system;\n };\n const actorsSystem = new ActorsSystemBackendService(\n { debugByType: () => () => undefined, setDebugTypeLogging: () => undefined, error: () => undefined, warn: () => undefined } as never,\n {\n buildError: (type: string, _cause: unknown, detail: { customMessageReference: string }) =>\n Object.assign(new Error(`${type}:${detail.customMessageReference}`), { customMessageReference: detail.customMessageReference }),\n } as never,\n { getSystemOrThrow: resolveSystem, getSystem: (ref: string) => systems.get(ref), getActors: () => [...systems.values()] } as never,\n {} as never,\n new CompanionActorExecutionPersistenceAdapter(service as never),\n );\n const only = (rows: Map<string, Row>, what: string): Row => {\n if (rows.size !== 1) throw new Error(`expected exactly one ${what}, found ${rows.size}`);\n return [...rows.values()][0]!;\n };\n return {\n executionsService: service,\n actorsSystem,\n executions,\n tasks,\n onlyTask: () => only(tasks, 'task'),\n onlyExecution: () => only(executions, 'execution'),\n };\n}\n\n/**\n * Give a dispatch service built with `Object.create(prototype)` what its constructor and field\n * initializers would have: the store, the engine driver over it, and the production reading of a\n * coding run's result.\n */\nexport function wireInMemoryCodingActorPlane(service: object, plane: InMemoryCodingActorPlane = createInMemoryCodingActorPlane()): InMemoryCodingActorPlane {\n Object.assign(service as Record<string, unknown>, {\n executionsService: plane.executionsService,\n actorsSystem: plane.actorsSystem,\n codingRunOptions: CODING_RUN_OPTIONS,\n });\n return plane;\n}\n\n/** Re-exported so a test asserting a waiting row does not import the engine enum for one member. */\nexport const WAITING_STATUS = FlowsActors_Status.AWAITING_APPROVAL;\n"]}
|
|
@@ -2,6 +2,7 @@ import type { LoggerService } from '@wildo-ai/saas-backend-lib';
|
|
|
2
2
|
import type { CompanionContext } from '../../core/context/companion-context';
|
|
3
3
|
import { PlaybookRunWriteRegisterCompanionService } from '../../meta-workflows/services/playbook-run-write-register.companion.service';
|
|
4
4
|
import { CodingRunWriteRegisterCompanionService } from './coding-run-write-register.companion.service';
|
|
5
|
+
import type { CompanionExecutionsCompanionService } from '../../executions/services/companion-executions.companion.service';
|
|
5
6
|
/**
|
|
6
7
|
* WHO accepted — written into the commit message, because a commit the system made and a commit a
|
|
7
8
|
* person made are different facts, and the history is the only record of either
|
|
@@ -13,22 +14,32 @@ export declare enum AcceptOrigin {
|
|
|
13
14
|
/** The dispatch loop, because the autonomy posture maps a run's result to notify-and-proceed. */
|
|
14
15
|
AUTONOMY_POSTURE = "autonomy_posture",
|
|
15
16
|
/**
|
|
16
|
-
* The end of a parallel build wave (#1528), under the same posture,
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
17
|
+
* The end of a parallel build wave, or of any SHARING EPISODE (#1528, #1805), under the same posture,
|
|
18
|
+
* with `force`: runs sharing one tree by decision make "already dirty at the run's baseline", "edited
|
|
19
|
+
* since the run" and "not claimed" the NORMAL case. Called only when nothing of the episode still
|
|
20
|
+
* writes, so the tree holds its merged result; committed as ONE change naming every run it may carry,
|
|
21
|
+
* never under one run's name; and a path another lane produced is still never committed.
|
|
21
22
|
*/
|
|
22
23
|
WAVE_RECONCILIATION = "wave_reconciliation",
|
|
23
24
|
/**
|
|
24
25
|
* A coding run the companion stopped under, at the next start, under the same posture, with
|
|
25
|
-
* `force
|
|
26
|
+
* `force` — alone only as the sole known writer of its window, otherwise with every run it may have
|
|
27
|
+
* shared the tree with, writer unknown (#1805). Nobody is left to accept its writes: the run is settled INTERRUPTED_REQUIRES_REVIEW, and
|
|
26
28
|
* its retry finds them already in the tree and cannot claim them (they were dirty at ITS baseline).
|
|
27
29
|
* Measured 2026-09-24 on scratch-journey: an interrupted user-menu placement left
|
|
28
30
|
* `app-shell.config.ts` dirty, and every shell surface that file carries stopped landing.
|
|
29
31
|
*/
|
|
30
32
|
INTERRUPTED_RUN_RECOVERY = "interrupted_run_recovery"
|
|
31
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* Who took a DECISION recorded in a specification file (#1609): the creator, or the agent acting in their
|
|
36
|
+
* conversation. Under the automatic posture the companion AUTHORS every such commit, so this trailer is the
|
|
37
|
+
* only place the difference survives.
|
|
38
|
+
*/
|
|
39
|
+
export declare enum DecisionRecordActor {
|
|
40
|
+
CREATOR = "creator",
|
|
41
|
+
AGENT = "agent"
|
|
42
|
+
}
|
|
32
43
|
export declare enum AcceptRefusalReason {
|
|
33
44
|
/** Already dirty when the run started: the file may carry another session's hunks beside the run's. */
|
|
34
45
|
CARRIES_CHANGES_FROM_BEFORE_THE_RUN = "carries_changes_from_before_the_run",
|
|
@@ -38,8 +49,8 @@ export declare enum AcceptRefusalReason {
|
|
|
38
49
|
NOT_THIS_RUN = "not_this_run",
|
|
39
50
|
/**
|
|
40
51
|
* The run shared the tree with others (#1528) and has no evidence of its own that it wrote this path:
|
|
41
|
-
* it may be a sibling's. Left for that sibling's accept, or for the
|
|
42
|
-
*
|
|
52
|
+
* it may be a sibling's. Left for that sibling's accept, or for the shared-tree reconciliation, which
|
|
53
|
+
* commits what the runs left as ONE change naming every run whose writes it may carry (#1805).
|
|
43
54
|
*/
|
|
44
55
|
NOT_CLAIMED_BY_THE_RUN = "not_claimed_by_the_run"
|
|
45
56
|
}
|
|
@@ -65,6 +76,25 @@ export declare class NothingToAcceptError extends Error {
|
|
|
65
76
|
readonly reason: AcceptRefusalReason;
|
|
66
77
|
}[]);
|
|
67
78
|
}
|
|
79
|
+
/**
|
|
80
|
+
* A PERSON's acceptance refused because a coding worker is writing the same tree right now. 409: the
|
|
81
|
+
* request is fine, the moment is not — accept again once the run settles.
|
|
82
|
+
*
|
|
83
|
+
* A commit inside a live run's window destroys its attribution (the run's baseline no longer matches
|
|
84
|
+
* HEAD, so what it wrote can no longer be told apart from what the commit carried), and it can sweep in a
|
|
85
|
+
* file the worker is halfway through. The console's commands said "never commit while a dispatch runs"
|
|
86
|
+
* as prose only, which a model may skip and a person at the workbench never read.
|
|
87
|
+
*/
|
|
88
|
+
export declare class CodingRunWritingTheTreeError extends Error {
|
|
89
|
+
readonly liveRuns: readonly {
|
|
90
|
+
readonly executionId: string;
|
|
91
|
+
readonly taskRef: string | null;
|
|
92
|
+
}[];
|
|
93
|
+
constructor(liveRuns: readonly {
|
|
94
|
+
readonly executionId: string;
|
|
95
|
+
readonly taskRef: string | null;
|
|
96
|
+
}[]);
|
|
97
|
+
}
|
|
68
98
|
export declare class AcceptedChangeCommitError extends Error {
|
|
69
99
|
readonly stderr: string;
|
|
70
100
|
constructor(message: string, stderr: string);
|
|
@@ -74,8 +104,16 @@ export declare class AcceptedChangeCommitCompanionService {
|
|
|
74
104
|
private readonly companionContext;
|
|
75
105
|
private readonly codingRunWrites;
|
|
76
106
|
private readonly playbookRunWrites;
|
|
107
|
+
private readonly executions;
|
|
77
108
|
private readonly logDebug;
|
|
78
|
-
constructor(logger: LoggerService, companionContext: CompanionContext, codingRunWrites: CodingRunWriteRegisterCompanionService, playbookRunWrites: PlaybookRunWriteRegisterCompanionService);
|
|
109
|
+
constructor(logger: LoggerService, companionContext: CompanionContext, codingRunWrites: CodingRunWriteRegisterCompanionService, playbookRunWrites: PlaybookRunWriteRegisterCompanionService, executions: Pick<CompanionExecutionsCompanionService, 'listActorExecutions'>);
|
|
110
|
+
/**
|
|
111
|
+
* A PERSON's acceptance waits for the tree to be quiet; the automatic origins do not ask. They run from
|
|
112
|
+
* inside the coding dispatch's own window (at a baseline, at the end of a wave, at recovery), where the
|
|
113
|
+
* run being accepted is the one holding it — refusing them would refuse the dispatch its own commit.
|
|
114
|
+
* Read from the actor plane, so a run another process started is seen too.
|
|
115
|
+
*/
|
|
116
|
+
private refuseWhileACodingRunWrites;
|
|
79
117
|
/** Accept the latest recorded coding run of a build-plan task. `subject` is the task's objective, for the message. */
|
|
80
118
|
acceptCodingRun(input: {
|
|
81
119
|
readonly taskRef: string;
|
|
@@ -84,6 +122,90 @@ export declare class AcceptedChangeCommitCompanionService {
|
|
|
84
122
|
/** Defaults to OPERATOR: the workbench predates the loop, and an unstated origin must not read as automatic. */
|
|
85
123
|
readonly origin?: AcceptOrigin;
|
|
86
124
|
}): Promise<AcceptedChangeCommitOutcome>;
|
|
125
|
+
/**
|
|
126
|
+
* Commit what runs that SHARED the working tree left uncommitted as ONE change, naming every run whose
|
|
127
|
+
* writes it may carry (#1805). The two origins that may ask: the end of a parallel build wave, and the
|
|
128
|
+
* recovery of runs a restart interrupted.
|
|
129
|
+
*
|
|
130
|
+
* ## Why one commit, and not one per run
|
|
131
|
+
*
|
|
132
|
+
* Runs in one tree each capture everything that moved since their own baseline, so every capture holds
|
|
133
|
+
* siblings' writes. A run's CLAIMS (the file locations its agent reported) separate them only where an
|
|
134
|
+
* agent reports; an agent writing through a shell reports nothing, so a missing claim says nothing
|
|
135
|
+
* about who wrote a file (measured 2026-09-27: a run whose capture was entirely a failed sibling's files
|
|
136
|
+
* claimed none of them, and the per-task reconciliation committed them under its name). A run a restart
|
|
137
|
+
* interrupted has no claims at all — they were held in memory. So once a run's own accept has taken
|
|
138
|
+
* what it claimed, what remains in the tree cannot be attributed, and this does not pretend to: one
|
|
139
|
+
* commit, "writer unknown", naming every recorded run that may carry one of its files, failed runs included
|
|
140
|
+
* (Paul, #1805: "one commit that names every run whose writes it may carry, failed ones included").
|
|
141
|
+
*
|
|
142
|
+
* ## What is committed
|
|
143
|
+
*
|
|
144
|
+
* The union of each run's paths this door can accept under FORCE — never one the run's capture proves
|
|
145
|
+
* is not its (a parallel commit, another lane, outside the application) — restricted to the paths STILL
|
|
146
|
+
* UNCOMMITTED now. A path already at HEAD was committed by its run's own accept and needs nothing, and a
|
|
147
|
+
* run whose paths are all at HEAD contributes nothing here: it is neither named nor marked. That also
|
|
148
|
+
* means nothing is ever "already committed" here: with no uncommitted path there is nothing to accept.
|
|
149
|
+
*/
|
|
150
|
+
acceptSharedTreeRunsTogether(input: {
|
|
151
|
+
/** The runs' task ids — the write register's keys, so two runs of one task stay two. */
|
|
152
|
+
readonly taskIds: readonly string[];
|
|
153
|
+
readonly origin: AcceptOrigin.WAVE_RECONCILIATION | AcceptOrigin.INTERRUPTED_RUN_RECOVERY;
|
|
154
|
+
}): Promise<AcceptedChangeCommitOutcome & {
|
|
155
|
+
readonly taskIds: readonly string[];
|
|
156
|
+
}>;
|
|
157
|
+
/**
|
|
158
|
+
* Which recorded runs may carry which paths' current changes (#1805), answered for a whole set of paths at
|
|
159
|
+
* once. A run may carry a path when its capture holds the path as its OWN (never as a parallel commit's,
|
|
160
|
+
* another lane's, or outside the application) and no commit THIS LANE made since that capture touched the
|
|
161
|
+
* path.
|
|
162
|
+
*
|
|
163
|
+
* Only this lane's commits end it, because only they are known to take the WHOLE working file: every one is
|
|
164
|
+
* a pathspec commit of the file as it stands, so what the run left in it is then in history, or was
|
|
165
|
+
* overwritten before (#1805 review 6 G1). They are recognised by the trailer KEYS this service writes
|
|
166
|
+
* (`LANE_COMMIT_TRAILERS`). Another author's commit proves nothing either way: a temporary-index commit or
|
|
167
|
+
* `git add -p` can take their own hunk and leave the run's in the working tree, so the run stays "may", as
|
|
168
|
+
* the rule says. So does a run whose version a person threw away without a commit (review 5 L3). Both
|
|
169
|
+
* over-name, which is the direction the rule accepts, and the bytes test in the caller still commits a path
|
|
170
|
+
* only when its current state is one a run left.
|
|
171
|
+
*
|
|
172
|
+
* Known limit — this can UNDER-name when a commit carrying a lane key was NOT made against the file as it
|
|
173
|
+
* stood after the capture, yet sits after it in history (reviews 7 I3, 8 L1). Two shapes: a person's commit
|
|
174
|
+
* that COPIES a lane trailer (`commit -c`/`-C` of a lane commit, an `--amend` of one with partial staging, a
|
|
175
|
+
* squash), and a lane commit made BEFORE the capture and re-attached after it (`reset --soft` back, the run,
|
|
176
|
+
* `reset --soft` forward; a stash and cherry-pick around a run). The second is closed wherever the clock
|
|
177
|
+
* can tell: a lane commit whose committer second is EARLIER than the capture's second ends no claim. That
|
|
178
|
+
* can only over-name, and a commit in the capture's own second still counts, so the review 5 F1 objection
|
|
179
|
+
* to clocks does not arise. What remains is a copied trailer, or a re-attached commit within the capture's
|
|
180
|
+
* second. `revert` copies no trailer and `cherry-pick` refuses over dirty files.
|
|
181
|
+
*
|
|
182
|
+
* "Since that capture" is HISTORY ORDER, never a clock (review 5 F1): a commit's `%ct` is whole seconds,
|
|
183
|
+
* and a run's own accept usually lands within the second of its capture. And it is the DESCENDANTS of the
|
|
184
|
+
* record's post-run HEAD (`--ancestry-path <postRunHeadSha>..HEAD`), not merely what that HEAD cannot reach
|
|
185
|
+
* (review 7 M1): after a rebase or a branch switch that carries the dirty files across, lane commits made
|
|
186
|
+
* BEFORE the capture are rewritten into the plain range with their trailers intact, and would end a claim
|
|
187
|
+
* on lines still uncommitted. With the ancestry path a rewritten history counts nothing, and its runs stay
|
|
188
|
+
* named. A post-run HEAD git cannot resolve is no evidence either way, so its runs are kept too. Renames
|
|
189
|
+
* are not followed (`--no-renames`), so a moved file is listed under both its names.
|
|
190
|
+
*
|
|
191
|
+
* One `git log` per distinct post-run HEAD, over only the paths asked about (review 6 C1): the query runs
|
|
192
|
+
* under the workspace lock and at every companion start, and one per path per record was minutes on a
|
|
193
|
+
* register a few days old.
|
|
194
|
+
*/
|
|
195
|
+
private carryTest;
|
|
196
|
+
/**
|
|
197
|
+
* Whether a run is NOT the sole known writer of what it left (#1805 review 5 F2): some OTHER recorded run
|
|
198
|
+
* may carry one of its still-uncommitted paths. Asked by restart recovery before it commits a lone
|
|
199
|
+
* interrupted run under its own name — the same test the shared-tree door names runs by, so the two cannot
|
|
200
|
+
* disagree about who may have written a file.
|
|
201
|
+
*/
|
|
202
|
+
anotherRunMayCarry(taskId: string): Promise<boolean>;
|
|
203
|
+
/**
|
|
204
|
+
* Which of these paths differ from HEAD right now — modified, deleted, or new and untracked. Read from
|
|
205
|
+
* `git status` rather than from the register, because what the register recorded may since have been
|
|
206
|
+
* committed by the run's own accept.
|
|
207
|
+
*/
|
|
208
|
+
private uncommittedAmong;
|
|
87
209
|
/** Accept a playbook run's writes, from its register: the same divergence test `revert` applies. */
|
|
88
210
|
acceptPlaybookRun(input: {
|
|
89
211
|
readonly runId: string;
|
|
@@ -106,12 +228,18 @@ export declare class AcceptedChangeCommitCompanionService {
|
|
|
106
228
|
* **Oldest first, and superseded writes are refused, not errors.** A later run that rewrote a file
|
|
107
229
|
* makes an earlier run's copy `diverged`, so the earlier run is refused for that path and the later
|
|
108
230
|
* one commits it. A run whose every path was superseded throws `NothingToAcceptError`, which is
|
|
109
|
-
* counted here, not raised.
|
|
231
|
+
* counted here, not raised.
|
|
232
|
+
*
|
|
233
|
+
* **Superseded is counted apart from edited (#1614).** A later RUN that rewrote the path read this
|
|
234
|
+
* run's landing first, or merged into it: the landing refuses to replace a file that moved since the
|
|
235
|
+
* run read it, so a later run can no longer discard an earlier one. A path no later run wrote was
|
|
236
|
+
* changed by a person or a tool, and that is reported as `editedOutsideRuns`, not as superseded. Records whose paths already match HEAD are stamped with no new commit,
|
|
110
237
|
* which is how the unstamped backlog of a run carried by hand is absorbed on the first pass.
|
|
111
238
|
*/
|
|
112
239
|
acceptPendingPlaybookRuns(origin: AcceptOrigin): Promise<{
|
|
113
240
|
readonly accepted: number;
|
|
114
241
|
readonly superseded: number;
|
|
242
|
+
readonly editedOutsideRuns: number;
|
|
115
243
|
readonly failed: number;
|
|
116
244
|
}>;
|
|
117
245
|
/**
|
|
@@ -122,9 +250,29 @@ export declare class AcceptedChangeCommitCompanionService {
|
|
|
122
250
|
/**
|
|
123
251
|
* `git add -- <paths>` then `git commit -F <message> -- <paths>`. A deleted path is staged as a
|
|
124
252
|
* removal by the same `add`. When the paths are already identical to HEAD there is nothing to
|
|
125
|
-
* commit, and that is answered as `alreadyCommitted` with
|
|
253
|
+
* commit, and that is answered as `alreadyCommitted` with the commit that last changed those paths rather than as a failure.
|
|
126
254
|
*/
|
|
127
255
|
private commitPaths;
|
|
256
|
+
/**
|
|
257
|
+
* Commit a DECISION the creator (or their agent) just recorded in a specification file, at the moment it
|
|
258
|
+
* is recorded (#1609): opening a playbook instance is a decision about product scope, and a decision that
|
|
259
|
+
* lives only as a working edit is lost to a checkout and invisible to a re-clone.
|
|
260
|
+
*
|
|
261
|
+
* The caller holds the workspace lock around the write and this commit, so no coding run's baseline can
|
|
262
|
+
* see the file half-recorded. The message carries the purpose and the actor as trailers
|
|
263
|
+
* (`Wildo-Purpose:`, `Wildo-Actor:`), because the author is the companion under the automatic posture.
|
|
264
|
+
*/
|
|
265
|
+
commitDecisionRecord(input: {
|
|
266
|
+
readonly paths: readonly string[];
|
|
267
|
+
/** One line: what was decided. */
|
|
268
|
+
readonly summary: string;
|
|
269
|
+
readonly purpose: string;
|
|
270
|
+
readonly actor: DecisionRecordActor;
|
|
271
|
+
readonly origin: AcceptOrigin;
|
|
272
|
+
}): Promise<Omit<AcceptedChangeCommitOutcome, 'refusedPaths' | 'message'> & {
|
|
273
|
+
readonly commitSha: string;
|
|
274
|
+
readonly message: string;
|
|
275
|
+
}>;
|
|
128
276
|
/** `git -C <saasRoot> <args>` — argv array, never a shell; the subcommand MUST be in the allow-list. */
|
|
129
277
|
private execGit;
|
|
130
278
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accepted-change-commit.companion.service.d.ts","sourceRoot":"","sources":["../../../../../src/claude-cli/services/accepted-change-commit.companion.service.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAIhE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,
|
|
1
|
+
{"version":3,"file":"accepted-change-commit.companion.service.d.ts","sourceRoot":"","sources":["../../../../../src/claude-cli/services/accepted-change-commit.companion.service.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC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