@wildo-ai/dev-companion 1.1.13 → 1.1.15
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/claude-cli/models/coding-agent-dispatch.models.d.ts +89 -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 +114 -9
- 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 +46 -1
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js +39 -2
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js.map +1 -1
- package/dist/esm/claude-cli/models/shared-tree-reconciliation.models.d.ts +6 -0
- package/dist/esm/claude-cli/models/shared-tree-reconciliation.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/shared-tree-reconciliation.models.js.map +1 -1
- package/dist/esm/claude-cli/models/verification-tool-availability.models.d.ts +19 -5
- package/dist/esm/claude-cli/models/verification-tool-availability.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/verification-tool-availability.models.js +17 -5
- package/dist/esm/claude-cli/models/verification-tool-availability.models.js.map +1 -1
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts +16 -1
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js +53 -6
- 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 +145 -6
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js +474 -47
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts +6 -2
- package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/git-change-set.companion.service.js +16 -39
- package/dist/esm/claude-cli/services/git-change-set.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts +14 -0
- 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 +35 -0
- package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -1
- package/dist/esm/claude-cli/services/unrecorded-provider-directories.companion.d.ts +36 -0
- package/dist/esm/claude-cli/services/unrecorded-provider-directories.companion.d.ts.map +1 -0
- package/dist/esm/claude-cli/services/unrecorded-provider-directories.companion.js +134 -0
- package/dist/esm/claude-cli/services/unrecorded-provider-directories.companion.js.map +1 -0
- package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js +31 -2
- package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js.map +1 -1
- package/dist/esm/companion-api/companion-api.schemas.d.ts +2 -0
- package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
- package/dist/esm/companion-api/companion-api.schemas.js +8 -0
- package/dist/esm/companion-api/companion-api.schemas.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion.controller.d.ts +7 -0
- package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion.controller.js +26 -12
- package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
- package/dist/esm/companion-api/controllers/long-held-request.companion.d.ts +17 -0
- package/dist/esm/companion-api/controllers/long-held-request.companion.d.ts.map +1 -0
- package/dist/esm/companion-api/controllers/long-held-request.companion.js +33 -0
- package/dist/esm/companion-api/controllers/long-held-request.companion.js.map +1 -0
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts +9 -0
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.js +12 -0
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js +7 -1
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts +8 -20
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js +37 -142
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/introspection-source-walk.worker.d.ts +64 -0
- package/dist/esm/core/introspection/services/introspection-source-walk.worker.d.ts.map +1 -0
- package/dist/esm/core/introspection/services/introspection-source-walk.worker.js +304 -0
- package/dist/esm/core/introspection/services/introspection-source-walk.worker.js.map +1 -0
- package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts +3 -2
- package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/translation-placement.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js +24 -14
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
- package/dist/esm/core/introspection/workspace-element-index.companion.d.ts +42 -0
- package/dist/esm/core/introspection/workspace-element-index.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/workspace-element-index.companion.js +42 -0
- package/dist/esm/core/introspection/workspace-element-index.companion.js.map +1 -1
- package/dist/esm/core/runtime/companion-language-model-route.d.ts +16 -1
- package/dist/esm/core/runtime/companion-language-model-route.d.ts.map +1 -1
- package/dist/esm/core/runtime/companion-language-model-route.js +23 -1
- package/dist/esm/core/runtime/companion-language-model-route.js.map +1 -1
- package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts +53 -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 +119 -2
- package/dist/esm/core/runtime/dev-compile-quiet.companion.js.map +1 -1
- 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 +16 -3
- 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 +2 -2
- 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 +6 -6
- package/dist/esm/core/runtime/utils/companion-platform-config.companion.js.map +1 -1
- package/dist/esm/core/utils/git-read-broker.companion.d.ts +62 -0
- package/dist/esm/core/utils/git-read-broker.companion.d.ts.map +1 -0
- package/dist/esm/core/utils/git-read-broker.companion.js +282 -0
- package/dist/esm/core/utils/git-read-broker.companion.js.map +1 -0
- package/dist/esm/core/utils/local-write-recording.companion.d.ts +8 -1
- package/dist/esm/core/utils/local-write-recording.companion.d.ts.map +1 -1
- package/dist/esm/core/utils/local-write-recording.companion.js +7 -23
- package/dist/esm/core/utils/local-write-recording.companion.js.map +1 -1
- package/dist/esm/email/services/email-template.companion.service.d.ts +5 -0
- package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
- package/dist/esm/email/services/email-template.companion.service.js +44 -11
- package/dist/esm/email/services/email-template.companion.service.js.map +1 -1
- package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts +26 -2
- package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts.map +1 -1
- package/dist/esm/email/utils/email-template-fs-discovery.utils.js +41 -2
- package/dist/esm/email/utils/email-template-fs-discovery.utils.js.map +1 -1
- package/dist/esm/email/utils/email-template-scanner-calls.companion.utils.d.ts +19 -0
- package/dist/esm/email/utils/email-template-scanner-calls.companion.utils.d.ts.map +1 -0
- package/dist/esm/email/utils/email-template-scanner-calls.companion.utils.js +171 -0
- package/dist/esm/email/utils/email-template-scanner-calls.companion.utils.js.map +1 -0
- package/dist/esm/email/utils/module-email-root.companion.utils.d.ts +75 -0
- package/dist/esm/email/utils/module-email-root.companion.utils.d.ts.map +1 -0
- package/dist/esm/email/utils/module-email-root.companion.utils.js +162 -0
- package/dist/esm/email/utils/module-email-root.companion.utils.js.map +1 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.en.d.ts +29 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.en.js +29 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.en.js.map +1 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.fr.d.ts +29 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.fr.js +29 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts +1 -0
- 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 +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.d.ts +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.js +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts +1 -0
- 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 +2 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.fr.d.ts +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.fr.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.fr.js +2 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.fr.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.d.ts +5 -2
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.js +5 -2
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.d.ts +5 -2
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.js +5 -2
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.en.d.ts +41 -0
- package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.en.js +41 -0
- package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.fr.d.ts +41 -0
- package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.fr.js +41 -0
- package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js +2 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.d.ts +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.js +2 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts +1 -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 +2 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.fr.d.ts +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.fr.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.fr.js +2 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.fr.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js +2 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.d.ts +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.js +2 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts +2 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js +3 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.fr.d.ts +2 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.fr.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.fr.js +3 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.fr.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.fr.d.ts +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.fr.js +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.fr.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts +2 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js +3 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.fr.d.ts +3 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.fr.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.fr.js +4 -2
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.fr.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts +17 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js +18 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.fr.d.ts +17 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.fr.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.fr.js +18 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.fr.js.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-conversation.fr.d.ts +206 -195
- package/dist/esm/i18n/composite_views/app.creation-conversation.fr.d.ts.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-conversation.fr.js +206 -195
- package/dist/esm/i18n/composite_views/app.creation-conversation.fr.js.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-dossier.fr.d.ts +10 -0
- package/dist/esm/i18n/composite_views/app.creation-dossier.fr.d.ts.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-dossier.fr.js +12 -2
- package/dist/esm/i18n/composite_views/app.creation-dossier.fr.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.fr.d.ts +70 -0
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.fr.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.fr.js +70 -0
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.fr.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.fr.d.ts +12 -2
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.fr.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.fr.js +12 -2
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.fr.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.fr.d.ts +10 -0
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.fr.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.fr.js +10 -0
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.fr.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchAspects.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchAspects.en.js +4 -0
- package/dist/esm/i18n/resources/workbenchAspects.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.fr.d.ts +25 -20
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.fr.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.fr.js +25 -20
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.fr.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.fr.d.ts +32 -32
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.fr.js +32 -32
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.fr.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildTaskRecords.fr.d.ts +65 -65
- package/dist/esm/i18n/resources/workbenchBuildTaskRecords.fr.js +65 -65
- package/dist/esm/i18n/resources/workbenchBuildTaskRecords.fr.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchDossierEntries.fr.d.ts +20 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.fr.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchDossierEntries.fr.js +20 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.fr.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.fr.d.ts +12 -0
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.fr.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.fr.js +13 -1
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.fr.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts +35 -0
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +12 -0
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.fr.d.ts +536 -531
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.fr.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.fr.js +536 -531
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.fr.js.map +1 -1
- package/dist/esm/i18n/system_enums/application-creation.fr.d.ts +170 -170
- package/dist/esm/i18n/system_enums/application-creation.fr.js +170 -170
- package/dist/esm/i18n/system_enums/application-creation.fr.js.map +1 -1
- package/dist/esm/i18n/system_enums/flows-actors.fr.d.ts +22 -22
- package/dist/esm/i18n/system_enums/flows-actors.fr.js +22 -22
- package/dist/esm/i18n/system_enums/flows-actors.fr.js.map +1 -1
- package/dist/esm/i18n/system_enums/run-records.fr.d.ts +21 -21
- package/dist/esm/i18n/system_enums/run-records.fr.js +21 -21
- package/dist/esm/i18n/system_enums/run-records.fr.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-build.en.d.ts +3 -2
- package/dist/esm/i18n/system_enums/workbench-build.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-build.en.js +3 -2
- package/dist/esm/i18n/system_enums/workbench-build.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-build.fr.d.ts +37 -33
- package/dist/esm/i18n/system_enums/workbench-build.fr.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-build.fr.js +37 -33
- package/dist/esm/i18n/system_enums/workbench-build.fr.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts +1 -0
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.js +1 -0
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-creation-home.fr.d.ts +18 -17
- package/dist/esm/i18n/system_enums/workbench-creation-home.fr.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-creation-home.fr.js +18 -17
- package/dist/esm/i18n/system_enums/workbench-creation-home.fr.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-dossier.fr.d.ts +7 -5
- package/dist/esm/i18n/system_enums/workbench-dossier.fr.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-dossier.fr.js +8 -6
- package/dist/esm/i18n/system_enums/workbench-dossier.fr.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-secrets.fr.d.ts +12 -12
- package/dist/esm/i18n/system_enums/workbench-secrets.fr.js +12 -12
- package/dist/esm/i18n/system_enums/workbench-secrets.fr.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.fr.d.ts +1 -0
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.fr.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.fr.js +2 -1
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.fr.js.map +1 -1
- package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js +7 -3
- package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js +3 -4
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts +11 -0
- 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 +21 -0
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js.map +1 -1
- package/dist/esm/meta-workflows/models/creation-journey-timeline.models.d.ts +9 -0
- package/dist/esm/meta-workflows/models/creation-journey-timeline.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/creation-journey-timeline.models.js +18 -2
- package/dist/esm/meta-workflows/models/creation-journey-timeline.models.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +153 -22
- 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 +970 -208
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-follow-up-derivation.companion.d.ts +115 -13
- package/dist/esm/meta-workflows/services/application-build-follow-up-derivation.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-follow-up-derivation.companion.js +295 -56
- package/dist/esm/meta-workflows/services/application-build-follow-up-derivation.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-landing-projection.companion.d.ts +3 -3
- package/dist/esm/meta-workflows/services/application-build-landing-projection.companion.js +3 -3
- package/dist/esm/meta-workflows/services/application-build-landing-projection.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-task-closure.companion.d.ts +9 -0
- package/dist/esm/meta-workflows/services/application-build-task-closure.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-task-closure.companion.js +19 -0
- package/dist/esm/meta-workflows/services/application-build-task-closure.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts +1 -1
- 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 +48 -26
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts +12 -0
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js +30 -1
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js +4 -5
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js +12 -1
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js.map +1 -1
- 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 +6 -3
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run-write-register-window.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run-write-register-window.companion.js +3 -5
- package/dist/esm/meta-workflows/services/playbook-run-write-register-window.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +8 -1
- 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 +119 -25
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/provider-registry-brief.companion.utils.d.ts +55 -1
- package/dist/esm/meta-workflows/services/provider-registry-brief.companion.utils.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/provider-registry-brief.companion.utils.js +157 -10
- package/dist/esm/meta-workflows/services/provider-registry-brief.companion.utils.js.map +1 -1
- package/dist/esm/module-layout/module-layout-convention.companion.d.ts +158 -0
- package/dist/esm/module-layout/module-layout-convention.companion.d.ts.map +1 -0
- package/dist/esm/module-layout/module-layout-convention.companion.js +272 -0
- package/dist/esm/module-layout/module-layout-convention.companion.js.map +1 -0
- package/dist/esm/module-layout/module-layout-inspection.companion.d.ts +42 -0
- package/dist/esm/module-layout/module-layout-inspection.companion.d.ts.map +1 -0
- package/dist/esm/module-layout/module-layout-inspection.companion.js +290 -0
- package/dist/esm/module-layout/module-layout-inspection.companion.js.map +1 -0
- package/dist/esm/module-layout/module-source-files.companion.d.ts +3 -0
- package/dist/esm/module-layout/module-source-files.companion.d.ts.map +1 -0
- package/dist/esm/module-layout/module-source-files.companion.js +45 -0
- package/dist/esm/module-layout/module-source-files.companion.js.map +1 -0
- package/package.json +18 -18
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companion-api.schemas.d.ts","sourceRoot":"","sources":["../../../src/companion-api/companion-api.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAIL,kBAAkB,EAEnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,4CAA4C,EAC5C,sCAAsC,EACtC,+CAA+C,EAC/C,uCAAuC,EACvC,uCAAuC,EACxC,MAAM,6DAA6D,CAAC;AAiBrE;;;;GAIG;AAMH;;;;;oEAKoE;AAIpE,eAAO,MAAM,eAAe,EAAE,CAAC,CAAC,SAAS,CAAC;IACxC,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC;IAClB,WAAW,EAAE,CAAC,CAAC,UAAU,CAAC;IAC1B,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC;CACnB,CAOC,CAAC;AAOH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0B9C,CAAC;AA0BH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAqB7C,CAAC;AAOH;;oEAEoE;AAEpE,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,OAAO,CAAC;CAC5B;AAGD,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,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AC7D,MAAM,MAAM,mCAAmC,GAC7C,CAAC,CAAC,KAAK,CAAC,OAAO,yCAAyC,CAAC,CAAC;AAC5D,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAC9F,MAAM,MAAM,+BAA+B,GACzC,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC;AACxD,MAAM,MAAM,+BAA+B,GACzC,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC;AACxD,MAAM,MAAM,kCAAkC,GAC5C,CAAC,CAAC,KAAK,CAAC,OAAO,wCAAwC,CAAC,CAAC"}
|
|
@@ -320,6 +320,12 @@ export const CompanionUpdateActorExecutionRequestSchema = z.object({
|
|
|
320
320
|
* re-arm takes, so the CLI's door and the workbench's cannot come to accept different things.
|
|
321
321
|
*/
|
|
322
322
|
export const CompanionRearmBuildTaskRequestSchema = z.strictObject(Workbench_BuildTaskRearmRequest_Schema.shape);
|
|
323
|
+
/**
|
|
324
|
+
* The reports of a derived follow-up the person was shown before deciding on it (#3833), by the reference
|
|
325
|
+
* `wildo build tasks` lists (`coveredReports[].ref`). The door refuses a decision on a follow-up that covers reports
|
|
326
|
+
* when this is absent, or when the follow-up covers a report outside it.
|
|
327
|
+
*/
|
|
328
|
+
const CoveredReportRefsSchema = z.array(z.string().trim().min(1)).optional();
|
|
323
329
|
/**
|
|
324
330
|
* `POST /build/tasks/:taskRef/close` (#3224, #3227): a task done another way, or a derived follow-up declined. Exactly one
|
|
325
331
|
* of `satisfiedBy` (a task of the plan or a commit on HEAD) and `declined`, and always a reason.
|
|
@@ -328,10 +334,12 @@ export const CompanionCloseBuildTaskRequestSchema = z.strictObject({
|
|
|
328
334
|
satisfiedBy: z.string().trim().min(1).optional(),
|
|
329
335
|
declined: z.boolean().optional(),
|
|
330
336
|
reason: z.string().trim().min(1),
|
|
337
|
+
coveredReportRefs: CoveredReportRefsSchema,
|
|
331
338
|
}).refine((request) => (request.satisfiedBy !== undefined) !== (request.declined === true), { message: 'name what satisfied the task (satisfiedBy) or decline it (declined: true), not both and not neither' });
|
|
332
339
|
/** `POST /build/tasks/:taskRef/approve` (#3227): let a derived follow-up run, with what the person said, if anything. */
|
|
333
340
|
export const CompanionApproveFollowUpTaskRequestSchema = z.strictObject({
|
|
334
341
|
note: z.string().trim().min(1).optional(),
|
|
342
|
+
coveredReportRefs: CoveredReportRefsSchema,
|
|
335
343
|
});
|
|
336
344
|
/**
|
|
337
345
|
* `POST /build/tasks/:taskRef/dispatch` (#1652). `despiteLanded` runs a task its landing probe calls landed,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companion-api.schemas.js","sourceRoot":"","sources":["../../../src/companion-api/companion-api.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,kBAAkB,EAClB,2BAA2B,EAC3B,2BAA2B,EAC3B,kBAAkB,EAClB,8BAA8B,GAC/B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,4CAA4C,EAC5C,sCAAsC,EACtC,+CAA+C,EAC/C,uCAAuC,EACvC,uCAAuC,GACxC,MAAM,6DAA6D,CAAC;AACrE,OAAO,EACL,2CAA2C,GAC5C,MAAM,6DAA6D,CAAC;AACrE,OAAO,EAAE,sCAAsC,EAAE,MAAM,gCAAgC,CAAC;AAExF,MAAM,8BAA8B,GAAG,IAAI,GAAG,CAAqB;IACjE,kBAAkB,CAAC,SAAS;IAC5B,kBAAkB,CAAC,MAAM;IACzB,kBAAkB,CAAC,SAAS;IAC5B,kBAAkB,CAAC,OAAO;CAC3B,CAAC,CAAC;AAEH,SAAS,2BAA2B,CAAC,MAA0B;IAC7D,OAAO,8BAA8B,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACpD,CAAC;AAED;;;;GAIG;AAEH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AgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;QAC7C,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;QAC7C,uBAAuB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;QACpD,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;KAClD,CAAC;IACF,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CAChC,CAAC,CAAC","sourcesContent":["import { CodingAgentHostLoginState } from '@wildo-ai/external-connectors-models';\nimport { z } from 'zod';\nimport {\n Actors_Task_Schema,\n ActorSystem_ExecutionSchema,\n FlowSystem_Execution_Schema,\n FlowsActors_Status,\n HumanDecision_ResolutionSchema,\n} from '@wildo-ai/saas-models';\nimport {\n CompanionIntrospectionBehaviorCategoryValues,\n CompanionIntrospectionBehaviorIdValues,\n CompanionIntrospectionMaterializationKindValues,\n CompanionIntrospectionRouteTargetValues,\n CompanionIntrospectionServiceKindValues,\n} from '../core/introspection/models/companion-introspection.models';\nimport {\n safeParseSpecificationContextFactoryRequest,\n} from '../core/specifications/specification-context-factory.models';\nimport { Workbench_BuildTaskRearmRequest_Schema } from '@wildo-ai/platform-core-shared';\n\nconst TERMINAL_FLOWS_ACTORS_STATUSES = new Set<FlowsActors_Status>([\n FlowsActors_Status.COMPLETED,\n FlowsActors_Status.FAILED,\n FlowsActors_Status.CANCELLED,\n FlowsActors_Status.ABORTED,\n]);\n\nfunction isTerminalFlowsActorsStatus(status: FlowsActors_Status): boolean {\n return TERMINAL_FLOWS_ACTORS_STATUSES.has(status);\n}\n\n/**\n * Dev Companion API Schemas\n * \n * DTOs for communication between platform services and the dev companion\n */\n\n// =============================================================================\n// File Operations\n// =============================================================================\n\n/** ──────────────────────────────────────────────────────────────\n * Internal Schemas with z.ZodObject type annotation\n * \n * ✅ Preserves all ZodObject methods (.extend, .partial, .omit, .pick, .shape)\n * ✅ Compatible with isolatedDeclarations: true (OXC)\n * ────────────────────────────────────────────────────────────── */\n\n\n\nexport const FileEntrySchema: z.ZodObject<{\n name: z.ZodString;\n isDirectory: z.ZodBoolean;\n path: z.ZodString;\n}> = z.object({\n /** File or directory name */\n name: z.string(),\n /** Whether this entry is a directory */\n isDirectory: z.boolean(),\n /** Full relative path */\n path: z.string(),\n});\n\n// =============================================================================\n// Resources Registry\n// =============================================================================\n\n\nexport const CompanionIntrospectionRequestSchema = z.object({\n serviceKey: z.string().min(1),\n behavior: z.enum(CompanionIntrospectionBehaviorIdValues),\n input: z.unknown().optional(),\n}).transform((request, context) => {\n if (request.behavior !== 'specification-context-parts') {\n return request;\n }\n\n const parsedInput = safeParseSpecificationContextFactoryRequest(request.input);\n if ('issues' in parsedInput) {\n for (const issue of parsedInput.issues) {\n context.addIssue({\n code: 'custom',\n message: issue.message,\n path: ['input', ...issue.path],\n });\n }\n\n return z.NEVER;\n }\n\n return {\n ...request,\n input: parsedInput.data,\n };\n});\n\nconst CompanionIntrospectionResultBaseSchema = z.object({\n serviceKey: z.string().min(1),\n serviceKind: z.enum(CompanionIntrospectionServiceKindValues),\n behavior: z.enum(CompanionIntrospectionBehaviorIdValues),\n behaviorCategory: z.enum(CompanionIntrospectionBehaviorCategoryValues),\n materializationKind: z.enum(CompanionIntrospectionMaterializationKindValues),\n targetId: z.enum(CompanionIntrospectionRouteTargetValues),\n durationMs: z.number().nonnegative(),\n stdout: z.string().optional(),\n stderr: z.string().optional(),\n /**\n * Parent-side provenance, never sent by the child.\n *\n * Declared here anyway so the schema and the two hand-written interfaces below describe the same\n * shape: the parent's derivation cache stamps this on a memoized result, and a schema that did\n * not know the key would strip it from anything that round-trips through a parse.\n */\n servedFromCache: z.literal(true).optional(),\n});\nconst CompanionIntrospectionErrorSchema = z.object({\n message: z.string(),\n name: z.string().optional(),\n stack: z.string().optional(),\n});\nexport const CompanionIntrospectionResultSchema = z.discriminatedUnion('success', [\n CompanionIntrospectionResultBaseSchema.extend({\n success: z.literal(true),\n // `data` may carry any shape (per-behavior payloads vary), but the success\n // branch must always deliver SOMETHING — the asymmetry mirrors the failure\n // branch's required `error` block. Since zod 4.6 an absent `z.unknown()` key\n // is already refused (`nonoptional`); the refinement still refuses a key that\n // is PRESENT and `undefined`, which an in-process result can carry and JSON\n // cannot (#3504). A typed schema would over-constrain the payload union.\n data: z.unknown().refine((value) => value !== undefined, {\n message: 'data is required for successful introspection results',\n }),\n /** Set by the child when the behavior asked that this answer not be retained (#2846 review N6). */\n notRetained: z.literal(true).optional(),\n error: z.never().optional(),\n }),\n CompanionIntrospectionResultBaseSchema.extend({\n success: z.literal(false),\n data: z.never().optional(),\n error: CompanionIntrospectionErrorSchema,\n }),\n]);\n\n// =============================================================================\n// Health Check\n// =============================================================================\n\n\n/** ──────────────────────────────────────────────────────────────\n * Explicit Interfaces (for OXC isolatedDeclarations compatibility)\n * ────────────────────────────────────────────────────────────── */\n\nexport interface FileUpdateRequest {\n path: string;\n content: string;\n encoding: string;\n createDirectories: boolean;\n}\n\n\nexport interface FileEntry {\n name: string;\n isDirectory: boolean;\n path: string;\n}\n\n\n\n\nexport interface CompanionIntrospectionRequest {\n serviceKey: string;\n behavior: typeof CompanionIntrospectionBehaviorIdValues[number];\n input?: unknown;\n}\n\nexport interface CompanionIntrospectionSuccessResult {\n success: true;\n serviceKey: string;\n serviceKind: typeof CompanionIntrospectionServiceKindValues[number];\n behavior: typeof CompanionIntrospectionBehaviorIdValues[number];\n behaviorCategory: typeof CompanionIntrospectionBehaviorCategoryValues[number];\n materializationKind: typeof CompanionIntrospectionMaterializationKindValues[number];\n targetId: typeof CompanionIntrospectionRouteTargetValues[number];\n durationMs: number;\n data: unknown;\n stdout?: string;\n stderr?: string;\n /** Set when a memoized derivation answered this request; see the schema above. */\n servedFromCache?: true;\n}\n\nexport interface CompanionIntrospectionFailureResult {\n success: false;\n serviceKey: string;\n serviceKind: typeof CompanionIntrospectionServiceKindValues[number];\n behavior: typeof CompanionIntrospectionBehaviorIdValues[number];\n behaviorCategory: typeof CompanionIntrospectionBehaviorCategoryValues[number];\n materializationKind: typeof CompanionIntrospectionMaterializationKindValues[number];\n targetId: typeof CompanionIntrospectionRouteTargetValues[number];\n durationMs: number;\n error: {\n message: string;\n name?: string;\n stack?: string;\n };\n stdout?: string;\n stderr?: string;\n}\n\nexport type CompanionIntrospectionResult =\n | CompanionIntrospectionSuccessResult\n | CompanionIntrospectionFailureResult;\n\n\n/**\n * The ENVELOPE of a governance-fact landing request (#192) — and deliberately only the envelope.\n *\n * ## Why this stops where it does\n *\n * Everything about what makes an ANSWER SET valid — which questions this document asks, whether each\n * was answered, whether a qualified-review answer names a reviewer, whether \"does not apply\" is even\n * offered — belongs to `buildGovernanceFactDeclarations`, which derives it from the engine's question\n * catalog. A second copy here could only ever disagree with the one that actually refuses, and would\n * refuse with a worse message.\n *\n * What the transport must still check is that a body is SHAPED like a request at all. Without this a\n * malformed payload reached the service and threw a `TypeError` on a missing `answers` array, which\n * the generic error path classifies INTERNAL and sanitizes to the literal \"internal\" — a 500 saying\n * nothing for what is plainly a bad request. Measured against the live companion, 2026-09-03.\n *\n * So `answers` is `z.array(z.unknown())`: present and a list, contents unexamined. That is the exact\n * line between \"this is a request\" and \"this is a good answer set\".\n */\nexport const CompanionLandGovernanceFactsRequestSchema = z.object({\n definitionRef: z.string().min(1),\n decidedByRef: z.string().min(1),\n decidedAt: z.string().min(1),\n governanceScope: z.object({\n subjectKind: z.string().min(1),\n subjectRef: z.string().min(1),\n scopeRef: z.string().min(1),\n scopeVersion: z.number().int().positive(),\n participantRefs: z.array(z.string()),\n precedenceRuleRefs: z.array(z.string()),\n }),\n answers: z.array(z.unknown()),\n});\n\nexport const CompanionExecutionsListQuerySchema = z.object({\n systemRef: z.string().min(1).optional(),\n status: z.enum(FlowsActors_Status).optional(),\n limit: z.coerce.number().int().min(1).max(200).default(50),\n /**\n * Only executions CREATED strictly before this instant (#3266). With {@link finishedAfter} it bounds a listing to the\n * executions whose span may overlap one window, `[finishedAfter, createdBefore]`, so the answer for an old window does\n * not depend on how many executions were updated since. Without the bound a newest-updated listing capped at 200 rows\n * stops reaching a window once 200 later executions exist, and every question about it fails closed for good.\n */\n createdBefore: z.iso.datetime().optional(),\n /**\n * Only executions that FINISHED strictly after this instant (#3266): a row with no finish instant (one still open)\n * matches nothing, so a reader asking about open executions lists them by `status` instead.\n */\n finishedAfter: z.iso.datetime().optional(),\n});\n\nexport const CompanionCreateActorExecutionRequestSchema = ActorSystem_ExecutionSchema.omit({\n _id: true,\n kind: true,\n}).extend({\n createdAt: ActorSystem_ExecutionSchema.shape.createdAt.optional(),\n updatedAt: ActorSystem_ExecutionSchema.shape.updatedAt.optional(),\n statusChanges: ActorSystem_ExecutionSchema.shape.statusChanges.default([]),\n standaloneTasks: ActorSystem_ExecutionSchema.shape.standaloneTasks.default([]),\n standaloneTaskStates: ActorSystem_ExecutionSchema.shape.standaloneTaskStates.default([]),\n}).superRefine((value, ctx) => {\n if (value.finishedAt && !isTerminalFlowsActorsStatus(value.status)) {\n ctx.addIssue({\n code: 'custom',\n message: 'finishedAt can only be provided for a terminal execution status',\n path: ['finishedAt'],\n });\n }\n\n const seenTaskIds = new Set<string>();\n value.standaloneTasks.forEach((task, index) => {\n if (seenTaskIds.has(task._id)) {\n ctx.addIssue({\n code: 'custom',\n message: 'standalone task ids must be unique within one execution payload',\n path: ['standaloneTasks', index, '_id'],\n });\n return;\n }\n\n seenTaskIds.add(task._id);\n\n if (task.completedAt && !isTerminalFlowsActorsStatus(task.status)) {\n ctx.addIssue({\n code: 'custom',\n message: 'completedAt can only be provided for a terminal task status',\n path: ['standaloneTasks', index, 'completedAt'],\n });\n }\n });\n\n value.standaloneTaskStates.forEach((taskState, index) => {\n if (!seenTaskIds.has(taskState.taskId)) {\n ctx.addIssue({\n code: 'custom',\n message: 'standaloneTaskStates must reference a task declared in standaloneTasks',\n path: ['standaloneTaskStates', index, 'taskId'],\n });\n }\n });\n});\n\nexport const CompanionCreateFlowExecutionRequestSchema = FlowSystem_Execution_Schema.omit({\n _id: true,\n kind: true,\n}).extend({\n createdAt: FlowSystem_Execution_Schema.shape.createdAt.optional(),\n updatedAt: FlowSystem_Execution_Schema.shape.updatedAt.optional(),\n statusChanges: FlowSystem_Execution_Schema.shape.statusChanges.default([]),\n nodeStates: FlowSystem_Execution_Schema.shape.nodeStates.default([]),\n}).superRefine((value, ctx) => {\n if (value.finishedAt && !isTerminalFlowsActorsStatus(value.status)) {\n ctx.addIssue({\n code: 'custom',\n message: 'finishedAt can only be provided for a terminal execution status',\n path: ['finishedAt'],\n });\n }\n});\n\nconst EMPTY_ACTORS_MEMORY = {\n shortTerm: { entries: [] },\n longTerm: { entries: [] },\n working: { entries: [] },\n};\n\nexport const CompanionActorTasksListQuerySchema = z.object({\n executionId: z.string().min(1).optional(),\n status: z.enum(FlowsActors_Status).optional(),\n /**\n * Keep only tasks addressed to one of these actors — applied BEFORE `limit` trims (#1359).\n *\n * Without it the trim spans every actor: a caller looking for one lane's rows read the N most\n * recently updated tasks of the whole application, so a busy judge or labelling lane could push a\n * coding row out of the window and the caller would conclude it never existed. The list is\n * materialised before it is trimmed, so this is an in-memory filter and not a nested-path query a\n * store might silently ignore. A single value arrives as a string from a query string.\n */\n actorRefs: z.union([z.string().min(1).transform((value) => [value]), z.array(z.string().min(1)).min(1)]).optional(),\n limit: z.coerce.number().int().min(1).max(200).default(50),\n});\n\n// `.strict()` refuses unknown context keys instead of Zod's default silent strip.\nconst CompanionExternalActorTaskContextSchema = Actors_Task_Schema.shape.context.strict();\n\nexport const CompanionCreateActorTaskRequestSchema = Actors_Task_Schema.omit({\n _id: true,\n createdAt: true,\n updatedAt: true,\n}).extend({\n title: z.string().min(1),\n initiator: Actors_Task_Schema.shape.initiator.default({}),\n relationships: Actors_Task_Schema.shape.relationships.default([]),\n input: Actors_Task_Schema.shape.input.default({}),\n memory: Actors_Task_Schema.shape.memory.default(EMPTY_ACTORS_MEMORY),\n context: CompanionExternalActorTaskContextSchema.default({}),\n actorStates: Actors_Task_Schema.shape.actorStates.default([]),\n createdAt: Actors_Task_Schema.shape.createdAt.optional(),\n updatedAt: Actors_Task_Schema.shape.updatedAt.optional(),\n wildoApplicationActorSystemExecutionId: z.string().min(1).optional(),\n}).superRefine((value, ctx) => {\n if (value.completedAt && !isTerminalFlowsActorsStatus(value.status)) {\n ctx.addIssue({\n code: 'custom',\n message: 'completedAt can only be provided for a terminal task status',\n path: ['completedAt'],\n });\n }\n});\n\n/**\n * Settling an EXECUTION, which until 2026-09-19 nothing could do (#1343).\n *\n * `createActorExecution` existed and no update did, so an execution could be opened and never\n * closed: its `status` stayed wherever it was created while `standaloneTaskStates` moved underneath\n * it, because `syncTaskIntoExecutionSnapshot` writes the task snapshot and never the execution's own\n * state. An execution stuck at `PROCESSING` forever is the shape this lane already suffers from —\n * a control-plane row that looks like it tracks something and does not.\n *\n * Deliberately NARROW: status, and the two fields that only mean anything beside it. Everything\n * else about an execution is either immutable (`systemRef`, `kind`) or maintained by the task\n * snapshot, and a broad update DTO would invite a caller to rewrite the latter by hand.\n */\nexport const CompanionUpdateActorExecutionRequestSchema = z.object({\n status: ActorSystem_ExecutionSchema.shape.status,\n /** Only meaningful for a terminal status; the service refuses the combination otherwise. */\n finishedAt: ActorSystem_ExecutionSchema.shape.finishedAt,\n statusChanges: ActorSystem_ExecutionSchema.shape.statusChanges.optional(),\n /**\n * The two fields the engine's driver writes beside a move (#1360): the human decision a run now\n * waits on, and its resume inputs. `null` CLEARS, absent leaves alone — the distinction the driver\n * relies on when a resume clears the suspension and keeps the checkpoint. Still narrow: these are\n * the execution's own state, not the task snapshot a caller must never rewrite by hand.\n */\n suspension: ActorSystem_ExecutionSchema.shape.suspension,\n checkpoint: ActorSystem_ExecutionSchema.shape.checkpoint,\n /**\n * How the decision a move out of waiting ENDS (#1594 I4). Honoured only by the guarded swap, which writes\n * it onto the status change it appends — in the same statement as the move.\n */\n resolution: HumanDecision_ResolutionSchema.optional(),\n /**\n * The agent-work record a settle of a REVIEW still owes (#1599 I3, #1922). Written by the guarded swap in the same\n * statement as the move; written back (`null` clears) by the plain update only when a settle that could not complete\n * is put back on its question. Its own clear, once the record exists, is a compare-and-swap of its own.\n */\n pendingCorrectionRecord: ActorSystem_ExecutionSchema.shape.pendingCorrectionRecord,\n}).superRefine((value, ctx) => {\n if (value.finishedAt && !isTerminalFlowsActorsStatus(value.status)) {\n ctx.addIssue({\n code: 'custom',\n message: 'finishedAt can only be provided for a terminal execution status',\n path: ['finishedAt'],\n });\n }\n});\nexport type CompanionUpdateActorExecutionRequest = z.infer<typeof CompanionUpdateActorExecutionRequestSchema>;\n\n/**\n * `POST /build/tasks/:taskRef/rearm` (#1535) — why the task goes back in the queue: a person's reason and what was fixed.\n *\n * The workbench's `rearm` operation's request, made strict for this route (#2530 review L6): ONE declaration of what a\n * re-arm takes, so the CLI's door and the workbench's cannot come to accept different things.\n */\nexport const CompanionRearmBuildTaskRequestSchema = z.strictObject(Workbench_BuildTaskRearmRequest_Schema.shape);\nexport type CompanionRearmBuildTaskRequest = z.infer<typeof CompanionRearmBuildTaskRequestSchema>;\n\n/**\n * `POST /build/tasks/:taskRef/close` (#3224, #3227): a task done another way, or a derived follow-up declined. Exactly one\n * of `satisfiedBy` (a task of the plan or a commit on HEAD) and `declined`, and always a reason.\n */\nexport const CompanionCloseBuildTaskRequestSchema = z.strictObject({\n satisfiedBy: z.string().trim().min(1).optional(),\n declined: z.boolean().optional(),\n reason: z.string().trim().min(1),\n}).refine((request) => (request.satisfiedBy !== undefined) !== (request.declined === true), { message: 'name what satisfied the task (satisfiedBy) or decline it (declined: true), not both and not neither' });\nexport type CompanionCloseBuildTaskRequest = z.infer<typeof CompanionCloseBuildTaskRequestSchema>;\n\n/** `POST /build/tasks/:taskRef/approve` (#3227): let a derived follow-up run, with what the person said, if anything. */\nexport const CompanionApproveFollowUpTaskRequestSchema = z.strictObject({\n note: z.string().trim().min(1).optional(),\n});\nexport type CompanionApproveFollowUpTaskRequest = z.infer<typeof CompanionApproveFollowUpTaskRequestSchema>;\n\n/**\n * `POST /build/tasks/:taskRef/dispatch` (#1652). `despiteLanded` runs a task its landing probe calls landed,\n * because the operator says that landing is wrong (#2217) — the same reasons and the same required note as a\n * re-arm, recorded on the run it starts.\n */\nexport const CompanionDispatchNamedBuildTaskRequestSchema = z.strictObject({\n despiteLanded: CompanionRearmBuildTaskRequestSchema.optional(),\n /** Start past a creation-preflight refusal (#2229) — the person's explicit decision, `wildo build run --skip-preflight`. */\n skipPreflight: z.boolean().optional(),\n});\n\nexport const CompanionUpdateActorTaskRequestSchema = Actors_Task_Schema.omit({\n _id: true,\n createdAt: true,\n context: true,\n}).partial().extend({\n title: z.string().min(1).optional(),\n context: CompanionExternalActorTaskContextSchema.optional(),\n updatedAt: Actors_Task_Schema.shape.updatedAt.optional(),\n wildoApplicationActorSystemExecutionId: z.string().min(1).optional(),\n clearExecutionLink: z.boolean().optional(),\n}).refine(\n (value) => !(value.clearExecutionLink && value.wildoApplicationActorSystemExecutionId),\n {\n message: 'clearExecutionLink cannot be combined with wildoApplicationActorSystemExecutionId',\n path: ['clearExecutionLink'],\n },\n);\n\n// =============================================================================\n// Coding-agent status (typed Flows/Actors coding path)\n// =============================================================================\n// The raw dispatch request/response DTOs were deleted with the\n// POST /coding-agent/dispatch endpoint at the first-activation hard cut.\n\n/**\n * Readiness snapshot for `GET /api/companion/coding-agent/status`.\n * `codingAgentRegistered` only reflects the agent registry —\n * it does NOT guarantee the `claude` binary is present or authenticated.\n */\nexport const CompanionCodingAgentStatusResponseSchema = z.object({\n codingAgentRegistered: z.boolean(),\n /**\n * The SELECTED agent's login on this host, read from the agent's own status command (#1637) —\n * what \"registered\" cannot say: a registered agent whose operator is signed out fails every run.\n * `null` when the selection cannot be resolved or its provider declares no way to read the login.\n */\n codingAgentLogin: z.object({\n providerRef: z.string().min(1),\n state: z.enum(CodingAgentHostLoginState),\n detail: z.string(),\n remedy: z.string().nullable(),\n }).nullable(),\n activeRun: z.object({\n taskId: z.string().min(1),\n startedAt: z.string().min(1),\n }).nullable(),\n /**\n * Coding tasks PARKED on an operator question, answerable in this process via\n * `POST /coding-agent/session/respond`. Always present (empty when none), so a\n * client tells \"nothing is waiting\" from \"the field is missing\".\n */\n pendingQuestions: z.array(z.object({\n taskId: z.string().min(1),\n taskRef: z.string().min(1),\n question: z.string().min(1),\n parkedAt: z.string().min(1),\n /** Whether the answer can resume the same agent session (agent advertised loadSession). */\n resumable: z.boolean(),\n /** Which of the run's questions this is; `respond` requires it back, so the answer continues only this one (#1581). */\n suspensionRef: z.string().min(1),\n })),\n limits: z.object({\n defaultTimeoutMs: z.number().int().positive(),\n hardMaxTimeoutMs: z.number().int().positive(),\n defaultMaxCapturedBytes: z.number().int().positive(),\n hardMaxCapturedBytes: z.number().int().positive(),\n }),\n lockFilePath: z.string().min(1),\n});\n\nexport type CompanionExecutionsListQuery = z.infer<typeof CompanionExecutionsListQuerySchema>;\nexport type CompanionCreateActorExecutionRequest =\n z.infer<typeof CompanionCreateActorExecutionRequestSchema>;\nexport type CompanionCreateFlowExecutionRequest =\n z.infer<typeof CompanionCreateFlowExecutionRequestSchema>;\nexport type CompanionActorTasksListQuery = z.infer<typeof CompanionActorTasksListQuerySchema>;\nexport type CompanionCreateActorTaskRequest =\n z.infer<typeof CompanionCreateActorTaskRequestSchema>;\nexport type CompanionUpdateActorTaskRequest =\n z.infer<typeof CompanionUpdateActorTaskRequestSchema>;\nexport type CompanionCodingAgentStatusResponse =\n z.infer<typeof CompanionCodingAgentStatusResponseSchema>;\n"]}
|
|
1
|
+
{"version":3,"file":"companion-api.schemas.js","sourceRoot":"","sources":["../../../src/companion-api/companion-api.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EAAE,CAAC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AAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CAChC,CAAC,CAAC","sourcesContent":["import { CodingAgentHostLoginState } from '@wildo-ai/external-connectors-models';\nimport { z } from 'zod';\nimport {\n Actors_Task_Schema,\n ActorSystem_ExecutionSchema,\n FlowSystem_Execution_Schema,\n FlowsActors_Status,\n HumanDecision_ResolutionSchema,\n} from '@wildo-ai/saas-models';\nimport {\n CompanionIntrospectionBehaviorCategoryValues,\n CompanionIntrospectionBehaviorIdValues,\n CompanionIntrospectionMaterializationKindValues,\n CompanionIntrospectionRouteTargetValues,\n CompanionIntrospectionServiceKindValues,\n} from '../core/introspection/models/companion-introspection.models';\nimport {\n safeParseSpecificationContextFactoryRequest,\n} from '../core/specifications/specification-context-factory.models';\nimport { Workbench_BuildTaskRearmRequest_Schema } from '@wildo-ai/platform-core-shared';\n\nconst TERMINAL_FLOWS_ACTORS_STATUSES = new Set<FlowsActors_Status>([\n FlowsActors_Status.COMPLETED,\n FlowsActors_Status.FAILED,\n FlowsActors_Status.CANCELLED,\n FlowsActors_Status.ABORTED,\n]);\n\nfunction isTerminalFlowsActorsStatus(status: FlowsActors_Status): boolean {\n return TERMINAL_FLOWS_ACTORS_STATUSES.has(status);\n}\n\n/**\n * Dev Companion API Schemas\n * \n * DTOs for communication between platform services and the dev companion\n */\n\n// =============================================================================\n// File Operations\n// =============================================================================\n\n/** ──────────────────────────────────────────────────────────────\n * Internal Schemas with z.ZodObject type annotation\n * \n * ✅ Preserves all ZodObject methods (.extend, .partial, .omit, .pick, .shape)\n * ✅ Compatible with isolatedDeclarations: true (OXC)\n * ────────────────────────────────────────────────────────────── */\n\n\n\nexport const FileEntrySchema: z.ZodObject<{\n name: z.ZodString;\n isDirectory: z.ZodBoolean;\n path: z.ZodString;\n}> = z.object({\n /** File or directory name */\n name: z.string(),\n /** Whether this entry is a directory */\n isDirectory: z.boolean(),\n /** Full relative path */\n path: z.string(),\n});\n\n// =============================================================================\n// Resources Registry\n// =============================================================================\n\n\nexport const CompanionIntrospectionRequestSchema = z.object({\n serviceKey: z.string().min(1),\n behavior: z.enum(CompanionIntrospectionBehaviorIdValues),\n input: z.unknown().optional(),\n}).transform((request, context) => {\n if (request.behavior !== 'specification-context-parts') {\n return request;\n }\n\n const parsedInput = safeParseSpecificationContextFactoryRequest(request.input);\n if ('issues' in parsedInput) {\n for (const issue of parsedInput.issues) {\n context.addIssue({\n code: 'custom',\n message: issue.message,\n path: ['input', ...issue.path],\n });\n }\n\n return z.NEVER;\n }\n\n return {\n ...request,\n input: parsedInput.data,\n };\n});\n\nconst CompanionIntrospectionResultBaseSchema = z.object({\n serviceKey: z.string().min(1),\n serviceKind: z.enum(CompanionIntrospectionServiceKindValues),\n behavior: z.enum(CompanionIntrospectionBehaviorIdValues),\n behaviorCategory: z.enum(CompanionIntrospectionBehaviorCategoryValues),\n materializationKind: z.enum(CompanionIntrospectionMaterializationKindValues),\n targetId: z.enum(CompanionIntrospectionRouteTargetValues),\n durationMs: z.number().nonnegative(),\n stdout: z.string().optional(),\n stderr: z.string().optional(),\n /**\n * Parent-side provenance, never sent by the child.\n *\n * Declared here anyway so the schema and the two hand-written interfaces below describe the same\n * shape: the parent's derivation cache stamps this on a memoized result, and a schema that did\n * not know the key would strip it from anything that round-trips through a parse.\n */\n servedFromCache: z.literal(true).optional(),\n});\nconst CompanionIntrospectionErrorSchema = z.object({\n message: z.string(),\n name: z.string().optional(),\n stack: z.string().optional(),\n});\nexport const CompanionIntrospectionResultSchema = z.discriminatedUnion('success', [\n CompanionIntrospectionResultBaseSchema.extend({\n success: z.literal(true),\n // `data` may carry any shape (per-behavior payloads vary), but the success\n // branch must always deliver SOMETHING — the asymmetry mirrors the failure\n // branch's required `error` block. Since zod 4.6 an absent `z.unknown()` key\n // is already refused (`nonoptional`); the refinement still refuses a key that\n // is PRESENT and `undefined`, which an in-process result can carry and JSON\n // cannot (#3504). A typed schema would over-constrain the payload union.\n data: z.unknown().refine((value) => value !== undefined, {\n message: 'data is required for successful introspection results',\n }),\n /** Set by the child when the behavior asked that this answer not be retained (#2846 review N6). */\n notRetained: z.literal(true).optional(),\n error: z.never().optional(),\n }),\n CompanionIntrospectionResultBaseSchema.extend({\n success: z.literal(false),\n data: z.never().optional(),\n error: CompanionIntrospectionErrorSchema,\n }),\n]);\n\n// =============================================================================\n// Health Check\n// =============================================================================\n\n\n/** ──────────────────────────────────────────────────────────────\n * Explicit Interfaces (for OXC isolatedDeclarations compatibility)\n * ────────────────────────────────────────────────────────────── */\n\nexport interface FileUpdateRequest {\n path: string;\n content: string;\n encoding: string;\n createDirectories: boolean;\n}\n\n\nexport interface FileEntry {\n name: string;\n isDirectory: boolean;\n path: string;\n}\n\n\n\n\nexport interface CompanionIntrospectionRequest {\n serviceKey: string;\n behavior: typeof CompanionIntrospectionBehaviorIdValues[number];\n input?: unknown;\n}\n\nexport interface CompanionIntrospectionSuccessResult {\n success: true;\n serviceKey: string;\n serviceKind: typeof CompanionIntrospectionServiceKindValues[number];\n behavior: typeof CompanionIntrospectionBehaviorIdValues[number];\n behaviorCategory: typeof CompanionIntrospectionBehaviorCategoryValues[number];\n materializationKind: typeof CompanionIntrospectionMaterializationKindValues[number];\n targetId: typeof CompanionIntrospectionRouteTargetValues[number];\n durationMs: number;\n data: unknown;\n stdout?: string;\n stderr?: string;\n /** Set when a memoized derivation answered this request; see the schema above. */\n servedFromCache?: true;\n}\n\nexport interface CompanionIntrospectionFailureResult {\n success: false;\n serviceKey: string;\n serviceKind: typeof CompanionIntrospectionServiceKindValues[number];\n behavior: typeof CompanionIntrospectionBehaviorIdValues[number];\n behaviorCategory: typeof CompanionIntrospectionBehaviorCategoryValues[number];\n materializationKind: typeof CompanionIntrospectionMaterializationKindValues[number];\n targetId: typeof CompanionIntrospectionRouteTargetValues[number];\n durationMs: number;\n error: {\n message: string;\n name?: string;\n stack?: string;\n };\n stdout?: string;\n stderr?: string;\n}\n\nexport type CompanionIntrospectionResult =\n | CompanionIntrospectionSuccessResult\n | CompanionIntrospectionFailureResult;\n\n\n/**\n * The ENVELOPE of a governance-fact landing request (#192) — and deliberately only the envelope.\n *\n * ## Why this stops where it does\n *\n * Everything about what makes an ANSWER SET valid — which questions this document asks, whether each\n * was answered, whether a qualified-review answer names a reviewer, whether \"does not apply\" is even\n * offered — belongs to `buildGovernanceFactDeclarations`, which derives it from the engine's question\n * catalog. A second copy here could only ever disagree with the one that actually refuses, and would\n * refuse with a worse message.\n *\n * What the transport must still check is that a body is SHAPED like a request at all. Without this a\n * malformed payload reached the service and threw a `TypeError` on a missing `answers` array, which\n * the generic error path classifies INTERNAL and sanitizes to the literal \"internal\" — a 500 saying\n * nothing for what is plainly a bad request. Measured against the live companion, 2026-09-03.\n *\n * So `answers` is `z.array(z.unknown())`: present and a list, contents unexamined. That is the exact\n * line between \"this is a request\" and \"this is a good answer set\".\n */\nexport const CompanionLandGovernanceFactsRequestSchema = z.object({\n definitionRef: z.string().min(1),\n decidedByRef: z.string().min(1),\n decidedAt: z.string().min(1),\n governanceScope: z.object({\n subjectKind: z.string().min(1),\n subjectRef: z.string().min(1),\n scopeRef: z.string().min(1),\n scopeVersion: z.number().int().positive(),\n participantRefs: z.array(z.string()),\n precedenceRuleRefs: z.array(z.string()),\n }),\n answers: z.array(z.unknown()),\n});\n\nexport const CompanionExecutionsListQuerySchema = z.object({\n systemRef: z.string().min(1).optional(),\n status: z.enum(FlowsActors_Status).optional(),\n limit: z.coerce.number().int().min(1).max(200).default(50),\n /**\n * Only executions CREATED strictly before this instant (#3266). With {@link finishedAfter} it bounds a listing to the\n * executions whose span may overlap one window, `[finishedAfter, createdBefore]`, so the answer for an old window does\n * not depend on how many executions were updated since. Without the bound a newest-updated listing capped at 200 rows\n * stops reaching a window once 200 later executions exist, and every question about it fails closed for good.\n */\n createdBefore: z.iso.datetime().optional(),\n /**\n * Only executions that FINISHED strictly after this instant (#3266): a row with no finish instant (one still open)\n * matches nothing, so a reader asking about open executions lists them by `status` instead.\n */\n finishedAfter: z.iso.datetime().optional(),\n});\n\nexport const CompanionCreateActorExecutionRequestSchema = ActorSystem_ExecutionSchema.omit({\n _id: true,\n kind: true,\n}).extend({\n createdAt: ActorSystem_ExecutionSchema.shape.createdAt.optional(),\n updatedAt: ActorSystem_ExecutionSchema.shape.updatedAt.optional(),\n statusChanges: ActorSystem_ExecutionSchema.shape.statusChanges.default([]),\n standaloneTasks: ActorSystem_ExecutionSchema.shape.standaloneTasks.default([]),\n standaloneTaskStates: ActorSystem_ExecutionSchema.shape.standaloneTaskStates.default([]),\n}).superRefine((value, ctx) => {\n if (value.finishedAt && !isTerminalFlowsActorsStatus(value.status)) {\n ctx.addIssue({\n code: 'custom',\n message: 'finishedAt can only be provided for a terminal execution status',\n path: ['finishedAt'],\n });\n }\n\n const seenTaskIds = new Set<string>();\n value.standaloneTasks.forEach((task, index) => {\n if (seenTaskIds.has(task._id)) {\n ctx.addIssue({\n code: 'custom',\n message: 'standalone task ids must be unique within one execution payload',\n path: ['standaloneTasks', index, '_id'],\n });\n return;\n }\n\n seenTaskIds.add(task._id);\n\n if (task.completedAt && !isTerminalFlowsActorsStatus(task.status)) {\n ctx.addIssue({\n code: 'custom',\n message: 'completedAt can only be provided for a terminal task status',\n path: ['standaloneTasks', index, 'completedAt'],\n });\n }\n });\n\n value.standaloneTaskStates.forEach((taskState, index) => {\n if (!seenTaskIds.has(taskState.taskId)) {\n ctx.addIssue({\n code: 'custom',\n message: 'standaloneTaskStates must reference a task declared in standaloneTasks',\n path: ['standaloneTaskStates', index, 'taskId'],\n });\n }\n });\n});\n\nexport const CompanionCreateFlowExecutionRequestSchema = FlowSystem_Execution_Schema.omit({\n _id: true,\n kind: true,\n}).extend({\n createdAt: FlowSystem_Execution_Schema.shape.createdAt.optional(),\n updatedAt: FlowSystem_Execution_Schema.shape.updatedAt.optional(),\n statusChanges: FlowSystem_Execution_Schema.shape.statusChanges.default([]),\n nodeStates: FlowSystem_Execution_Schema.shape.nodeStates.default([]),\n}).superRefine((value, ctx) => {\n if (value.finishedAt && !isTerminalFlowsActorsStatus(value.status)) {\n ctx.addIssue({\n code: 'custom',\n message: 'finishedAt can only be provided for a terminal execution status',\n path: ['finishedAt'],\n });\n }\n});\n\nconst EMPTY_ACTORS_MEMORY = {\n shortTerm: { entries: [] },\n longTerm: { entries: [] },\n working: { entries: [] },\n};\n\nexport const CompanionActorTasksListQuerySchema = z.object({\n executionId: z.string().min(1).optional(),\n status: z.enum(FlowsActors_Status).optional(),\n /**\n * Keep only tasks addressed to one of these actors — applied BEFORE `limit` trims (#1359).\n *\n * Without it the trim spans every actor: a caller looking for one lane's rows read the N most\n * recently updated tasks of the whole application, so a busy judge or labelling lane could push a\n * coding row out of the window and the caller would conclude it never existed. The list is\n * materialised before it is trimmed, so this is an in-memory filter and not a nested-path query a\n * store might silently ignore. A single value arrives as a string from a query string.\n */\n actorRefs: z.union([z.string().min(1).transform((value) => [value]), z.array(z.string().min(1)).min(1)]).optional(),\n limit: z.coerce.number().int().min(1).max(200).default(50),\n});\n\n// `.strict()` refuses unknown context keys instead of Zod's default silent strip.\nconst CompanionExternalActorTaskContextSchema = Actors_Task_Schema.shape.context.strict();\n\nexport const CompanionCreateActorTaskRequestSchema = Actors_Task_Schema.omit({\n _id: true,\n createdAt: true,\n updatedAt: true,\n}).extend({\n title: z.string().min(1),\n initiator: Actors_Task_Schema.shape.initiator.default({}),\n relationships: Actors_Task_Schema.shape.relationships.default([]),\n input: Actors_Task_Schema.shape.input.default({}),\n memory: Actors_Task_Schema.shape.memory.default(EMPTY_ACTORS_MEMORY),\n context: CompanionExternalActorTaskContextSchema.default({}),\n actorStates: Actors_Task_Schema.shape.actorStates.default([]),\n createdAt: Actors_Task_Schema.shape.createdAt.optional(),\n updatedAt: Actors_Task_Schema.shape.updatedAt.optional(),\n wildoApplicationActorSystemExecutionId: z.string().min(1).optional(),\n}).superRefine((value, ctx) => {\n if (value.completedAt && !isTerminalFlowsActorsStatus(value.status)) {\n ctx.addIssue({\n code: 'custom',\n message: 'completedAt can only be provided for a terminal task status',\n path: ['completedAt'],\n });\n }\n});\n\n/**\n * Settling an EXECUTION, which until 2026-09-19 nothing could do (#1343).\n *\n * `createActorExecution` existed and no update did, so an execution could be opened and never\n * closed: its `status` stayed wherever it was created while `standaloneTaskStates` moved underneath\n * it, because `syncTaskIntoExecutionSnapshot` writes the task snapshot and never the execution's own\n * state. An execution stuck at `PROCESSING` forever is the shape this lane already suffers from —\n * a control-plane row that looks like it tracks something and does not.\n *\n * Deliberately NARROW: status, and the two fields that only mean anything beside it. Everything\n * else about an execution is either immutable (`systemRef`, `kind`) or maintained by the task\n * snapshot, and a broad update DTO would invite a caller to rewrite the latter by hand.\n */\nexport const CompanionUpdateActorExecutionRequestSchema = z.object({\n status: ActorSystem_ExecutionSchema.shape.status,\n /** Only meaningful for a terminal status; the service refuses the combination otherwise. */\n finishedAt: ActorSystem_ExecutionSchema.shape.finishedAt,\n statusChanges: ActorSystem_ExecutionSchema.shape.statusChanges.optional(),\n /**\n * The two fields the engine's driver writes beside a move (#1360): the human decision a run now\n * waits on, and its resume inputs. `null` CLEARS, absent leaves alone — the distinction the driver\n * relies on when a resume clears the suspension and keeps the checkpoint. Still narrow: these are\n * the execution's own state, not the task snapshot a caller must never rewrite by hand.\n */\n suspension: ActorSystem_ExecutionSchema.shape.suspension,\n checkpoint: ActorSystem_ExecutionSchema.shape.checkpoint,\n /**\n * How the decision a move out of waiting ENDS (#1594 I4). Honoured only by the guarded swap, which writes\n * it onto the status change it appends — in the same statement as the move.\n */\n resolution: HumanDecision_ResolutionSchema.optional(),\n /**\n * The agent-work record a settle of a REVIEW still owes (#1599 I3, #1922). Written by the guarded swap in the same\n * statement as the move; written back (`null` clears) by the plain update only when a settle that could not complete\n * is put back on its question. Its own clear, once the record exists, is a compare-and-swap of its own.\n */\n pendingCorrectionRecord: ActorSystem_ExecutionSchema.shape.pendingCorrectionRecord,\n}).superRefine((value, ctx) => {\n if (value.finishedAt && !isTerminalFlowsActorsStatus(value.status)) {\n ctx.addIssue({\n code: 'custom',\n message: 'finishedAt can only be provided for a terminal execution status',\n path: ['finishedAt'],\n });\n }\n});\nexport type CompanionUpdateActorExecutionRequest = z.infer<typeof CompanionUpdateActorExecutionRequestSchema>;\n\n/**\n * `POST /build/tasks/:taskRef/rearm` (#1535) — why the task goes back in the queue: a person's reason and what was fixed.\n *\n * The workbench's `rearm` operation's request, made strict for this route (#2530 review L6): ONE declaration of what a\n * re-arm takes, so the CLI's door and the workbench's cannot come to accept different things.\n */\nexport const CompanionRearmBuildTaskRequestSchema = z.strictObject(Workbench_BuildTaskRearmRequest_Schema.shape);\nexport type CompanionRearmBuildTaskRequest = z.infer<typeof CompanionRearmBuildTaskRequestSchema>;\n\n/**\n * The reports of a derived follow-up the person was shown before deciding on it (#3833), by the reference\n * `wildo build tasks` lists (`coveredReports[].ref`). The door refuses a decision on a follow-up that covers reports\n * when this is absent, or when the follow-up covers a report outside it.\n */\nconst CoveredReportRefsSchema = z.array(z.string().trim().min(1)).optional();\n\n/**\n * `POST /build/tasks/:taskRef/close` (#3224, #3227): a task done another way, or a derived follow-up declined. Exactly one\n * of `satisfiedBy` (a task of the plan or a commit on HEAD) and `declined`, and always a reason.\n */\nexport const CompanionCloseBuildTaskRequestSchema = z.strictObject({\n satisfiedBy: z.string().trim().min(1).optional(),\n declined: z.boolean().optional(),\n reason: z.string().trim().min(1),\n coveredReportRefs: CoveredReportRefsSchema,\n}).refine((request) => (request.satisfiedBy !== undefined) !== (request.declined === true), { message: 'name what satisfied the task (satisfiedBy) or decline it (declined: true), not both and not neither' });\nexport type CompanionCloseBuildTaskRequest = z.infer<typeof CompanionCloseBuildTaskRequestSchema>;\n\n/** `POST /build/tasks/:taskRef/approve` (#3227): let a derived follow-up run, with what the person said, if anything. */\nexport const CompanionApproveFollowUpTaskRequestSchema = z.strictObject({\n note: z.string().trim().min(1).optional(),\n coveredReportRefs: CoveredReportRefsSchema,\n});\nexport type CompanionApproveFollowUpTaskRequest = z.infer<typeof CompanionApproveFollowUpTaskRequestSchema>;\n\n/**\n * `POST /build/tasks/:taskRef/dispatch` (#1652). `despiteLanded` runs a task its landing probe calls landed,\n * because the operator says that landing is wrong (#2217) — the same reasons and the same required note as a\n * re-arm, recorded on the run it starts.\n */\nexport const CompanionDispatchNamedBuildTaskRequestSchema = z.strictObject({\n despiteLanded: CompanionRearmBuildTaskRequestSchema.optional(),\n /** Start past a creation-preflight refusal (#2229) — the person's explicit decision, `wildo build run --skip-preflight`. */\n skipPreflight: z.boolean().optional(),\n});\n\nexport const CompanionUpdateActorTaskRequestSchema = Actors_Task_Schema.omit({\n _id: true,\n createdAt: true,\n context: true,\n}).partial().extend({\n title: z.string().min(1).optional(),\n context: CompanionExternalActorTaskContextSchema.optional(),\n updatedAt: Actors_Task_Schema.shape.updatedAt.optional(),\n wildoApplicationActorSystemExecutionId: z.string().min(1).optional(),\n clearExecutionLink: z.boolean().optional(),\n}).refine(\n (value) => !(value.clearExecutionLink && value.wildoApplicationActorSystemExecutionId),\n {\n message: 'clearExecutionLink cannot be combined with wildoApplicationActorSystemExecutionId',\n path: ['clearExecutionLink'],\n },\n);\n\n// =============================================================================\n// Coding-agent status (typed Flows/Actors coding path)\n// =============================================================================\n// The raw dispatch request/response DTOs were deleted with the\n// POST /coding-agent/dispatch endpoint at the first-activation hard cut.\n\n/**\n * Readiness snapshot for `GET /api/companion/coding-agent/status`.\n * `codingAgentRegistered` only reflects the agent registry —\n * it does NOT guarantee the `claude` binary is present or authenticated.\n */\nexport const CompanionCodingAgentStatusResponseSchema = z.object({\n codingAgentRegistered: z.boolean(),\n /**\n * The SELECTED agent's login on this host, read from the agent's own status command (#1637) —\n * what \"registered\" cannot say: a registered agent whose operator is signed out fails every run.\n * `null` when the selection cannot be resolved or its provider declares no way to read the login.\n */\n codingAgentLogin: z.object({\n providerRef: z.string().min(1),\n state: z.enum(CodingAgentHostLoginState),\n detail: z.string(),\n remedy: z.string().nullable(),\n }).nullable(),\n activeRun: z.object({\n taskId: z.string().min(1),\n startedAt: z.string().min(1),\n }).nullable(),\n /**\n * Coding tasks PARKED on an operator question, answerable in this process via\n * `POST /coding-agent/session/respond`. Always present (empty when none), so a\n * client tells \"nothing is waiting\" from \"the field is missing\".\n */\n pendingQuestions: z.array(z.object({\n taskId: z.string().min(1),\n taskRef: z.string().min(1),\n question: z.string().min(1),\n parkedAt: z.string().min(1),\n /** Whether the answer can resume the same agent session (agent advertised loadSession). */\n resumable: z.boolean(),\n /** Which of the run's questions this is; `respond` requires it back, so the answer continues only this one (#1581). */\n suspensionRef: z.string().min(1),\n })),\n limits: z.object({\n defaultTimeoutMs: z.number().int().positive(),\n hardMaxTimeoutMs: z.number().int().positive(),\n defaultMaxCapturedBytes: z.number().int().positive(),\n hardMaxCapturedBytes: z.number().int().positive(),\n }),\n lockFilePath: z.string().min(1),\n});\n\nexport type CompanionExecutionsListQuery = z.infer<typeof CompanionExecutionsListQuerySchema>;\nexport type CompanionCreateActorExecutionRequest =\n z.infer<typeof CompanionCreateActorExecutionRequestSchema>;\nexport type CompanionCreateFlowExecutionRequest =\n z.infer<typeof CompanionCreateFlowExecutionRequestSchema>;\nexport type CompanionActorTasksListQuery = z.infer<typeof CompanionActorTasksListQuerySchema>;\nexport type CompanionCreateActorTaskRequest =\n z.infer<typeof CompanionCreateActorTaskRequestSchema>;\nexport type CompanionUpdateActorTaskRequest =\n z.infer<typeof CompanionUpdateActorTaskRequestSchema>;\nexport type CompanionCodingAgentStatusResponse =\n z.infer<typeof CompanionCodingAgentStatusResponseSchema>;\n"]}
|
|
@@ -12,6 +12,7 @@ import { ExecutionTraceReadCompanionService } from '../../meta-workflows/service
|
|
|
12
12
|
import { ApplicationBuildDispatchCompanionService } from '../../meta-workflows/services/application-build-dispatch.companion.service';
|
|
13
13
|
import { PlaybookRunWriteRegisterCompanionService } from '../../meta-workflows/services/playbook-run-write-register.companion.service';
|
|
14
14
|
import { CreationRunReportCompanionService } from '../../meta-workflows/services/creation-run-report.companion.service';
|
|
15
|
+
import { type PlaybookLoopResult } from '@wildo-ai/application-creation-runtime';
|
|
15
16
|
import { MarketGenerationCompanionService } from '../../market/services/market-generation.companion.service';
|
|
16
17
|
import { LogoGenerationCompanionService } from '../../brand/services/logo-generation.companion.service';
|
|
17
18
|
import { LogoDeliberationCompanionService } from '../../brand/services/logo-deliberation.companion.service';
|
|
@@ -944,4 +945,10 @@ export declare class CompanionController extends AbstractControllerBackendServic
|
|
|
944
945
|
private documentationLaneRefusal;
|
|
945
946
|
}
|
|
946
947
|
export default CompanionController;
|
|
948
|
+
/**
|
|
949
|
+
* What `POST /playbooks/loop` answers (#3848). Built from the loop's result field by field, so a field the CLI reads must
|
|
950
|
+
* be named here: `stoppedAtIteration` was added to the result and dropped by this response, and the drive fell back to the
|
|
951
|
+
* LAST step, which under rolling admission may not be the one that stopped the loop.
|
|
952
|
+
*/
|
|
953
|
+
export declare function describePlaybookLoopResponse(result: PlaybookLoopResult): Record<string, unknown>;
|
|
947
954
|
//# sourceMappingURL=companion.controller.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companion.controller.d.ts","sourceRoot":"","sources":["../../../../src/companion-api/controllers/companion.controller.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,gCAAgC,EAChC,aAAa,EACb,0BAA0B,EAC1B,mBAAmB,EAGnB,KAAK,2BAA2B,EAChC,KAAK,uCAAuC,EAC7C,MAAM,4BAA4B,CAAC;AAqCpC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yDAAyD,CAAC;AAEvG,OAAO,EAAE,gCAAgC,EAAE,MAAM,mEAAmE,CAAC;AACrH,OAAO,EAAE,qCAAqC,EAAE,MAAM,wEAAwE,CAAC;AAC/H,OAAO,EAAE,qCAAqC,EAAE,MAAM,wEAAwE,CAAC;AAC/H,OAAO,EAAE,2CAA2C,EAAE,MAAM,gFAAgF,CAAC;AAG7I,OAAO,EAAE,6BAA6B,EAAE,MAAM,uDAAuD,CAAC;AACtG,OAAO,EAA0D,2BAA2B,EAAyD,MAAM,8DAA8D,CAAC;AAC1N,OAAO,EAAE,gCAAgC,EAA+D,MAAM,mEAAmE,CAAC;AAClL,OAAO,EAAkC,uCAAuC,EAAE,MAAM,gFAAgF,CAAC;AAoCzK,OAAO,EAEL,kCAAkC,EACnC,MAAM,sEAAsE,CAAC;AAC9E,OAAO,EACL,wCAAwC,EAUzC,MAAM,4EAA4E,CAAC;AAKpF,OAAO,EAGL,wCAAwC,EAEzC,MAAM,6EAA6E,CAAC;AACrF,OAAO,EAAE,iCAAiC,EAAE,MAAM,qEAAqE,CAAC;
|
|
1
|
+
{"version":3,"file":"companion.controller.d.ts","sourceRoot":"","sources":["../../../../src/companion-api/controllers/companion.controller.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,gCAAgC,EAChC,aAAa,EACb,0BAA0B,EAC1B,mBAAmB,EAGnB,KAAK,2BAA2B,EAChC,KAAK,uCAAuC,EAC7C,MAAM,4BAA4B,CAAC;AAqCpC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yDAAyD,CAAC;AAEvG,OAAO,EAAE,gCAAgC,EAAE,MAAM,mEAAmE,CAAC;AACrH,OAAO,EAAE,qCAAqC,EAAE,MAAM,wEAAwE,CAAC;AAC/H,OAAO,EAAE,qCAAqC,EAAE,MAAM,wEAAwE,CAAC;AAC/H,OAAO,EAAE,2CAA2C,EAAE,MAAM,gFAAgF,CAAC;AAG7I,OAAO,EAAE,6BAA6B,EAAE,MAAM,uDAAuD,CAAC;AACtG,OAAO,EAA0D,2BAA2B,EAAyD,MAAM,8DAA8D,CAAC;AAC1N,OAAO,EAAE,gCAAgC,EAA+D,MAAM,mEAAmE,CAAC;AAClL,OAAO,EAAkC,uCAAuC,EAAE,MAAM,gFAAgF,CAAC;AAoCzK,OAAO,EAEL,kCAAkC,EACnC,MAAM,sEAAsE,CAAC;AAC9E,OAAO,EACL,wCAAwC,EAUzC,MAAM,4EAA4E,CAAC;AAKpF,OAAO,EAGL,wCAAwC,EA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BAAgB,4BAA4B,CAAC,MAAM,EAAE,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAahG"}
|
|
@@ -55,6 +55,7 @@ import { CreationRunReportCompanionService } from '../../meta-workflows/services
|
|
|
55
55
|
import { CreationInterventionNotFoundError } from '../../meta-workflows/services/creation-intervention-ledger.companion.service.js';
|
|
56
56
|
import { composeGovernanceQuestionnaires, GovernanceQuestionnaireError, landGovernanceFactDeclarations, PlaybookOutputLandingHeldError, SpecificationWriteRefusedError, PlaybookElicitationError, PlaybookGenerationError, PlaybookClarificationError, } from '@wildo-ai/application-creation-runtime';
|
|
57
57
|
import { MarketGenerationCompanionService } from '../../market/services/market-generation.companion.service.js';
|
|
58
|
+
import { holdOpenWithoutInactivityTimeout } from './long-held-request.companion.js';
|
|
58
59
|
import { LogoGenerationCompanionService } from '../../brand/services/logo-generation.companion.service.js';
|
|
59
60
|
import { assertCreationLanePreflight, CreationLanePreflightRefusedError } from '../../meta-workflows/services/creation-lane-preflight.companion.service.js';
|
|
60
61
|
import { LogoDeliberationCompanionService } from '../../brand/services/logo-deliberation.companion.service.js';
|
|
@@ -2115,6 +2116,8 @@ let CompanionController = class CompanionController extends AbstractControllerBa
|
|
|
2115
2116
|
* have a ceiling the CALLER chose, not one this handler picked on their behalf.
|
|
2116
2117
|
*/
|
|
2117
2118
|
async runPlaybookLoop(req, res, next) {
|
|
2119
|
+
// A loop is held for as long as it runs, often past the server's 30-minute inactivity limit (#3888).
|
|
2120
|
+
holdOpenWithoutInactivityTimeout(req, res);
|
|
2118
2121
|
try {
|
|
2119
2122
|
const body = req.body || {};
|
|
2120
2123
|
const goal = typeof body.goal === 'string' && body.goal.trim().length > 0 ? body.goal.trim() : null;
|
|
@@ -2145,15 +2148,7 @@ let CompanionController = class CompanionController extends AbstractControllerBa
|
|
|
2145
2148
|
...(fanOut !== undefined ? { maximumLanesPerIteration: fanOut } : {}),
|
|
2146
2149
|
...(res.locals.companionTraceSession ? { session: res.locals.companionTraceSession } : {}),
|
|
2147
2150
|
});
|
|
2148
|
-
res.json(
|
|
2149
|
-
stoppedBecause: result.stoppedBecause,
|
|
2150
|
-
// Where and on what the environment stopped it, when it did (#3235): `wildo creation loop` says so.
|
|
2151
|
-
...(result.interruption ? { interruption: result.interruption } : {}),
|
|
2152
|
-
steps: result.steps,
|
|
2153
|
-
accepted: false,
|
|
2154
|
-
note: 'Any files written are working edits. Review `git status` and commit to accept them. '
|
|
2155
|
-
+ 'Each iteration may run several output-disjoint lanes concurrently; every lane records its own revertible run.',
|
|
2156
|
-
});
|
|
2151
|
+
res.json(describePlaybookLoopResponse(result));
|
|
2157
2152
|
}
|
|
2158
2153
|
catch (error) {
|
|
2159
2154
|
if (error instanceof PlaybookRunAlreadyInFlightError) {
|
|
@@ -3665,10 +3660,10 @@ let CompanionController = class CompanionController extends AbstractControllerBa
|
|
|
3665
3660
|
return rowsByBehavior.get(behavior)?.find((row) => row[identityField] === resourceId) ?? null;
|
|
3666
3661
|
}),
|
|
3667
3662
|
specifications: { faults: [...specifications.faults], moduleFaults: specifications.moduleFaults.map((fault) => ({ ...fault, causedBy: [...fault.causedBy], withheldSpecifications: [...fault.withheldSpecifications] })), loadError: specifications.loadError },
|
|
3668
|
-
// What the running wave's
|
|
3663
|
+
// What the running wave's oldest slot is waiting on (#3206), and how many it prepares at once (#3883).
|
|
3669
3664
|
buildPreparation: (() => {
|
|
3670
|
-
const { waveStartedAt, stopRequestedAt, heldByStopSince, preparing } = this.buildDispatchService.readBuildDispatchPreparation();
|
|
3671
|
-
return { waveStartedAt, stopRequestedAt, heldByStopSince, preparing: preparing === null ? null : preparing.summary };
|
|
3665
|
+
const { waveStartedAt, stopRequestedAt, heldByStopSince, preparing, preparingCount } = this.buildDispatchService.readBuildDispatchPreparation();
|
|
3666
|
+
return { waveStartedAt, stopRequestedAt, heldByStopSince, preparing: preparing === null ? null : preparing.summary, preparingCount };
|
|
3672
3667
|
})(),
|
|
3673
3668
|
// Why dispatch is held, if it is (#3215): the read the wave makes before each slot, so the two cannot disagree.
|
|
3674
3669
|
buildHold: await (async () => {
|
|
@@ -4422,4 +4417,23 @@ function isSameFailure(boardFailure, loadError) {
|
|
|
4422
4417
|
const firstLine = loadError.split('\n')[0].trim();
|
|
4423
4418
|
return firstLine.length > 0 && boardFailure.includes(firstLine);
|
|
4424
4419
|
}
|
|
4420
|
+
/**
|
|
4421
|
+
* What `POST /playbooks/loop` answers (#3848). Built from the loop's result field by field, so a field the CLI reads must
|
|
4422
|
+
* be named here: `stoppedAtIteration` was added to the result and dropped by this response, and the drive fell back to the
|
|
4423
|
+
* LAST step, which under rolling admission may not be the one that stopped the loop.
|
|
4424
|
+
*/
|
|
4425
|
+
export function describePlaybookLoopResponse(result) {
|
|
4426
|
+
return {
|
|
4427
|
+
stoppedBecause: result.stoppedBecause,
|
|
4428
|
+
// Where and on what the environment stopped it, when it did (#3235): `wildo creation loop` says so.
|
|
4429
|
+
...(result.interruption ? { interruption: result.interruption } : {}),
|
|
4430
|
+
// The step that stopped it, when one did (#3848): steps settle out of order, so the last one may be another.
|
|
4431
|
+
...(result.stoppedAtIteration !== undefined ? { stoppedAtIteration: result.stoppedAtIteration } : {}),
|
|
4432
|
+
steps: result.steps,
|
|
4433
|
+
accepted: false,
|
|
4434
|
+
note: 'Any files written are working edits. Review `git status` and commit to accept them. '
|
|
4435
|
+
+ 'Each iteration may run several output-disjoint lanes concurrently, and a free slot is refilled as soon as a lane '
|
|
4436
|
+
+ 'finishes; every lane records its own revertible run.',
|
|
4437
|
+
};
|
|
4438
|
+
}
|
|
4425
4439
|
//# sourceMappingURL=companion.controller.js.map
|