@wildo-ai/dev-companion 1.1.1 → 1.1.3
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 +12 -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 +11 -0
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +153 -1
- 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 +408 -38
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts +25 -10
- package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js +65 -24
- package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts +70 -0
- package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts.map +1 -0
- package/dist/esm/claude-cli/services/research-evidence-store.companion.js +110 -0
- package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -0
- package/dist/esm/companion-api/companion-api.schemas.d.ts +59 -2
- package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
- package/dist/esm/companion-api/companion-api.schemas.js +60 -0
- package/dist/esm/companion-api/companion-api.schemas.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion.controller.d.ts +62 -1
- package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion.controller.js +295 -19
- package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
- package/dist/esm/core/inject/models/container.d.ts.map +1 -1
- package/dist/esm/core/inject/models/container.js +11 -0
- package/dist/esm/core/inject/models/container.js.map +1 -1
- package/dist/esm/core/inject/models/service-types.d.ts +5 -0
- package/dist/esm/core/inject/models/service-types.d.ts.map +1 -1
- package/dist/esm/core/inject/models/service-types.js +5 -0
- package/dist/esm/core/inject/models/service-types.js.map +1 -1
- package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.d.ts.map +1 -1
- package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js +81 -0
- package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js.map +1 -1
- package/dist/esm/core/introspection/models/companion-introspection.models.d.ts +11 -1
- package/dist/esm/core/introspection/models/companion-introspection.models.d.ts.map +1 -1
- package/dist/esm/core/introspection/models/companion-introspection.models.js +39 -0
- package/dist/esm/core/introspection/models/companion-introspection.models.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts +8 -0
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts.map +1 -0
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js +317 -0
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js.map +1 -0
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts +45 -0
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts.map +1 -0
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js +243 -0
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -0
- package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts +123 -0
- package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts.map +1 -0
- package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js +298 -0
- package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js.map +1 -0
- package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts +78 -1
- package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js +155 -6
- package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts +131 -2
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.js +259 -9
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts +243 -0
- package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts.map +1 -0
- package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js +417 -0
- package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js.map +1 -0
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts +186 -0
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts.map +1 -0
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js +368 -0
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js.map +1 -0
- package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts +101 -0
- package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts.map +1 -0
- package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js +278 -0
- package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js.map +1 -0
- package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts +370 -0
- package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts.map +1 -0
- package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.js +167 -0
- package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.js.map +1 -0
- 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 +332 -3
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts +40 -0
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts.map +1 -0
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js +126 -0
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js.map +1 -0
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts +51 -0
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts.map +1 -0
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js +391 -0
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js.map +1 -0
- package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts +103 -0
- package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts.map +1 -0
- package/dist/esm/core/runtime/dev-compile-quiet.companion.js +124 -0
- package/dist/esm/core/runtime/dev-compile-quiet.companion.js.map +1 -0
- package/dist/esm/core/runtime/services/start-companion-application.service.d.ts +39 -2
- 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 +122 -11
- package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
- package/dist/esm/core/specifications/non-composite-view-specification-context.shared.d.ts +6 -0
- package/dist/esm/core/specifications/non-composite-view-specification-context.shared.d.ts.map +1 -1
- package/dist/esm/core/specifications/non-composite-view-specification-context.shared.js.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.shared.d.ts +23 -0
- package/dist/esm/core/specifications/specification-context-factory.shared.d.ts.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.shared.js +26 -4
- package/dist/esm/core/specifications/specification-context-factory.shared.js.map +1 -1
- package/dist/esm/executions/services/companion-executions.companion.service.d.ts.map +1 -1
- package/dist/esm/executions/services/companion-executions.companion.service.js +13 -8
- package/dist/esm/executions/services/companion-executions.companion.service.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts +12 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js +12 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-board.en.d.ts +13 -0
- package/dist/esm/i18n/composite_views/app.creation-board.en.d.ts.map +1 -0
- package/dist/esm/i18n/composite_views/app.creation-board.en.js +91 -0
- package/dist/esm/i18n/composite_views/app.creation-board.en.js.map +1 -0
- package/dist/esm/i18n/composite_views/app.domain-model.en.d.ts +38 -0
- package/dist/esm/i18n/composite_views/app.domain-model.en.d.ts.map +1 -0
- package/dist/esm/i18n/composite_views/app.domain-model.en.js +41 -0
- package/dist/esm/i18n/composite_views/app.domain-model.en.js.map +1 -0
- package/dist/esm/i18n/index.d.ts +3 -3
- package/dist/esm/i18n/index.js +3 -3
- package/dist/esm/i18n/index.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts +24 -0
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js +20 -0
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js.map +1 -0
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts +31 -0
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js +27 -0
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js.map +1 -0
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts +24 -0
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js +20 -0
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts +28 -0
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js +24 -0
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchDomainResources.en.d.ts +138 -0
- package/dist/esm/i18n/resources/workbenchDomainResources.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchDomainResources.en.js +100 -0
- package/dist/esm/i18n/resources/workbenchDomainResources.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts +29 -0
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.js +25 -0
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts +27 -0
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js +23 -0
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts +806 -0
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +326 -0
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts +26 -0
- package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchTraceSessions.en.js +22 -0
- package/dist/esm/i18n/resources/workbenchTraceSessions.en.js.map +1 -0
- package/dist/esm/i18n/system_enums/market.en.d.ts +202 -0
- package/dist/esm/i18n/system_enums/market.en.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/market.en.js +209 -0
- package/dist/esm/i18n/system_enums/market.en.js.map +1 -0
- package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts +31 -0
- package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js +91 -8
- package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts +4 -2
- package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js +10 -7
- package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +80 -7
- 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 +261 -24
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts +46 -3
- package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js +95 -2
- package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts +9 -0
- package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.js +13 -0
- package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts +12 -0
- package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js +23 -0
- package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +113 -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 +517 -54
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.d.ts +40 -0
- package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.js +63 -1
- package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts +21 -0
- package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-doc.companion.service.js +84 -2
- package/dist/esm/technical-doc/services/technical-doc.companion.service.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts +10 -1
- package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js +10 -1
- package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js.map +1 -1
- package/package.json +17 -17
- package/dist/esm/.builder.pid +0 -9
- package/dist/esm/i18n/resources/workbenchApplicationModules.en.d.ts +0 -36
- package/dist/esm/i18n/resources/workbenchApplicationModules.en.d.ts.map +0 -1
- package/dist/esm/i18n/resources/workbenchApplicationModules.en.js +0 -32
- package/dist/esm/i18n/resources/workbenchApplicationModules.en.js.map +0 -1
- package/dist/esm/i18n/resources/workbenchResourceRelationships.en.d.ts +0 -29
- package/dist/esm/i18n/resources/workbenchResourceRelationships.en.d.ts.map +0 -1
- package/dist/esm/i18n/resources/workbenchResourceRelationships.en.js +0 -25
- package/dist/esm/i18n/resources/workbenchResourceRelationships.en.js.map +0 -1
|
@@ -44,15 +44,18 @@ export declare const CompanionIntrospectionRequestSchema: z.ZodPipe<z.ZodObject<
|
|
|
44
44
|
"expert-persona-derivation-inputs": "expert-persona-derivation-inputs";
|
|
45
45
|
"expert-persona-charters": "expert-persona-charters";
|
|
46
46
|
"compliance-primary-facts": "compliance-primary-facts";
|
|
47
|
+
"application-domain-model": "application-domain-model";
|
|
48
|
+
"specification-artifacts": "specification-artifacts";
|
|
49
|
+
"family-aspects": "family-aspects";
|
|
47
50
|
}>;
|
|
48
51
|
input: z.ZodOptional<z.ZodUnknown>;
|
|
49
52
|
}, z.core.$strip>, z.ZodTransform<{
|
|
50
53
|
serviceKey: string;
|
|
51
|
-
behavior: "resources-registry" | "email-template-placement-info" | "translation-needed-info" | "frontend-artifact-placement-info" | "design-system-source-config" | "design-tokens-css" | "frontend-labels-needed-info" | "resource-specifications" | "specification-context-parts" | "catalog-context-parts" | "market-context-for-feature" | "market-context-for-icp" | "market-render-prompt" | "openapi-generation-input" | "chart-registration-refs" | "settings-placement-content" | "assertions-list" | "assertions-resolve" | "assertions-reconcile" | "definition-specifications" | "brand-render-prompt" | "expert-persona-derivation-inputs" | "expert-persona-charters" | "compliance-primary-facts";
|
|
54
|
+
behavior: "resources-registry" | "email-template-placement-info" | "translation-needed-info" | "frontend-artifact-placement-info" | "design-system-source-config" | "design-tokens-css" | "frontend-labels-needed-info" | "resource-specifications" | "specification-context-parts" | "catalog-context-parts" | "market-context-for-feature" | "market-context-for-icp" | "market-render-prompt" | "openapi-generation-input" | "chart-registration-refs" | "settings-placement-content" | "assertions-list" | "assertions-resolve" | "assertions-reconcile" | "definition-specifications" | "brand-render-prompt" | "expert-persona-derivation-inputs" | "expert-persona-charters" | "compliance-primary-facts" | "application-domain-model" | "specification-artifacts" | "family-aspects";
|
|
52
55
|
input?: unknown;
|
|
53
56
|
}, {
|
|
54
57
|
serviceKey: string;
|
|
55
|
-
behavior: "resources-registry" | "email-template-placement-info" | "translation-needed-info" | "frontend-artifact-placement-info" | "design-system-source-config" | "design-tokens-css" | "frontend-labels-needed-info" | "resource-specifications" | "specification-context-parts" | "catalog-context-parts" | "market-context-for-feature" | "market-context-for-icp" | "market-render-prompt" | "openapi-generation-input" | "chart-registration-refs" | "settings-placement-content" | "assertions-list" | "assertions-resolve" | "assertions-reconcile" | "definition-specifications" | "brand-render-prompt" | "expert-persona-derivation-inputs" | "expert-persona-charters" | "compliance-primary-facts";
|
|
58
|
+
behavior: "resources-registry" | "email-template-placement-info" | "translation-needed-info" | "frontend-artifact-placement-info" | "design-system-source-config" | "design-tokens-css" | "frontend-labels-needed-info" | "resource-specifications" | "specification-context-parts" | "catalog-context-parts" | "market-context-for-feature" | "market-context-for-icp" | "market-render-prompt" | "openapi-generation-input" | "chart-registration-refs" | "settings-placement-content" | "assertions-list" | "assertions-resolve" | "assertions-reconcile" | "definition-specifications" | "brand-render-prompt" | "expert-persona-derivation-inputs" | "expert-persona-charters" | "compliance-primary-facts" | "application-domain-model" | "specification-artifacts" | "family-aspects";
|
|
56
59
|
input?: unknown;
|
|
57
60
|
}>>;
|
|
58
61
|
export declare const CompanionIntrospectionResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -86,6 +89,9 @@ export declare const CompanionIntrospectionResultSchema: z.ZodDiscriminatedUnion
|
|
|
86
89
|
"expert-persona-derivation-inputs": "expert-persona-derivation-inputs";
|
|
87
90
|
"expert-persona-charters": "expert-persona-charters";
|
|
88
91
|
"compliance-primary-facts": "compliance-primary-facts";
|
|
92
|
+
"application-domain-model": "application-domain-model";
|
|
93
|
+
"specification-artifacts": "specification-artifacts";
|
|
94
|
+
"family-aspects": "family-aspects";
|
|
89
95
|
}>;
|
|
90
96
|
behaviorCategory: z.ZodEnum<{
|
|
91
97
|
specifications: "specifications";
|
|
@@ -113,6 +119,7 @@ export declare const CompanionIntrospectionResultSchema: z.ZodDiscriminatedUnion
|
|
|
113
119
|
durationMs: z.ZodNumber;
|
|
114
120
|
stdout: z.ZodOptional<z.ZodString>;
|
|
115
121
|
stderr: z.ZodOptional<z.ZodString>;
|
|
122
|
+
servedFromCache: z.ZodOptional<z.ZodLiteral<true>>;
|
|
116
123
|
success: z.ZodLiteral<true>;
|
|
117
124
|
data: z.ZodUnknown;
|
|
118
125
|
error: z.ZodOptional<z.ZodNever>;
|
|
@@ -147,6 +154,9 @@ export declare const CompanionIntrospectionResultSchema: z.ZodDiscriminatedUnion
|
|
|
147
154
|
"expert-persona-derivation-inputs": "expert-persona-derivation-inputs";
|
|
148
155
|
"expert-persona-charters": "expert-persona-charters";
|
|
149
156
|
"compliance-primary-facts": "compliance-primary-facts";
|
|
157
|
+
"application-domain-model": "application-domain-model";
|
|
158
|
+
"specification-artifacts": "specification-artifacts";
|
|
159
|
+
"family-aspects": "family-aspects";
|
|
150
160
|
}>;
|
|
151
161
|
behaviorCategory: z.ZodEnum<{
|
|
152
162
|
specifications: "specifications";
|
|
@@ -174,6 +184,7 @@ export declare const CompanionIntrospectionResultSchema: z.ZodDiscriminatedUnion
|
|
|
174
184
|
durationMs: z.ZodNumber;
|
|
175
185
|
stdout: z.ZodOptional<z.ZodString>;
|
|
176
186
|
stderr: z.ZodOptional<z.ZodString>;
|
|
187
|
+
servedFromCache: z.ZodOptional<z.ZodLiteral<true>>;
|
|
177
188
|
success: z.ZodLiteral<false>;
|
|
178
189
|
data: z.ZodOptional<z.ZodNever>;
|
|
179
190
|
error: z.ZodObject<{
|
|
@@ -213,6 +224,8 @@ export interface CompanionIntrospectionSuccessResult {
|
|
|
213
224
|
data: unknown;
|
|
214
225
|
stdout?: string;
|
|
215
226
|
stderr?: string;
|
|
227
|
+
/** Set when a memoized derivation answered this request; see the schema above. */
|
|
228
|
+
servedFromCache?: true;
|
|
216
229
|
}
|
|
217
230
|
export interface CompanionIntrospectionFailureResult {
|
|
218
231
|
success: false;
|
|
@@ -232,6 +245,41 @@ export interface CompanionIntrospectionFailureResult {
|
|
|
232
245
|
stderr?: string;
|
|
233
246
|
}
|
|
234
247
|
export type CompanionIntrospectionResult = CompanionIntrospectionSuccessResult | CompanionIntrospectionFailureResult;
|
|
248
|
+
/**
|
|
249
|
+
* The ENVELOPE of a governance-fact landing request (#192) — and deliberately only the envelope.
|
|
250
|
+
*
|
|
251
|
+
* ## Why this stops where it does
|
|
252
|
+
*
|
|
253
|
+
* Everything about what makes an ANSWER SET valid — which questions this document asks, whether each
|
|
254
|
+
* was answered, whether a qualified-review answer names a reviewer, whether "does not apply" is even
|
|
255
|
+
* offered — belongs to `buildGovernanceFactDeclarations`, which derives it from the engine's question
|
|
256
|
+
* catalog. A second copy here could only ever disagree with the one that actually refuses, and would
|
|
257
|
+
* refuse with a worse message.
|
|
258
|
+
*
|
|
259
|
+
* What the transport must still check is that a body is SHAPED like a request at all. Without this a
|
|
260
|
+
* malformed payload reached the service and threw a `TypeError` on a missing `answers` array, which
|
|
261
|
+
* the generic error path classifies INTERNAL and sanitizes to the literal "internal" — a 500 saying
|
|
262
|
+
* nothing for what is plainly a bad request. Measured against the live companion, 2026-09-03.
|
|
263
|
+
*
|
|
264
|
+
* So `answers` is `z.array(z.unknown())`: present and a list, contents unexamined. That is the exact
|
|
265
|
+
* line between "this is a request" and "this is a good answer set".
|
|
266
|
+
*/
|
|
267
|
+
export declare const CompanionLandGovernanceFactsRequestSchema: z.ZodObject<{
|
|
268
|
+
definitionRef: z.ZodString;
|
|
269
|
+
specificationRef: z.ZodString;
|
|
270
|
+
specificationVersion: z.ZodNumber;
|
|
271
|
+
decidedByRef: z.ZodString;
|
|
272
|
+
decidedAt: z.ZodString;
|
|
273
|
+
governanceScope: z.ZodObject<{
|
|
274
|
+
subjectKind: z.ZodString;
|
|
275
|
+
subjectRef: z.ZodString;
|
|
276
|
+
scopeRef: z.ZodString;
|
|
277
|
+
scopeVersion: z.ZodNumber;
|
|
278
|
+
participantRefs: z.ZodArray<z.ZodString>;
|
|
279
|
+
precedenceRuleRefs: z.ZodArray<z.ZodString>;
|
|
280
|
+
}, z.core.$strip>;
|
|
281
|
+
answers: z.ZodArray<z.ZodUnknown>;
|
|
282
|
+
}, z.core.$strip>;
|
|
235
283
|
export declare const CompanionExecutionsListQuerySchema: z.ZodObject<{
|
|
236
284
|
systemRef: z.ZodOptional<z.ZodString>;
|
|
237
285
|
status: z.ZodOptional<z.ZodEnum<typeof FlowsActors_Status>>;
|
|
@@ -1383,6 +1431,7 @@ export declare const CompanionCreateActorTaskRequestSchema: z.ZodObject<{
|
|
|
1383
1431
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
1384
1432
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1385
1433
|
wildoApplicationActorSystemExecutionId: z.ZodOptional<z.ZodString>;
|
|
1434
|
+
workbenchBuildPlanTaskId: z.ZodOptional<z.ZodString>;
|
|
1386
1435
|
}, z.core.$strip>;
|
|
1387
1436
|
export declare const CompanionUpdateActorTaskRequestSchema: z.ZodObject<{
|
|
1388
1437
|
output: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
@@ -1711,6 +1760,7 @@ export declare const CompanionUpdateActorTaskRequestSchema: z.ZodObject<{
|
|
|
1711
1760
|
}, z.core.$strict>>;
|
|
1712
1761
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1713
1762
|
wildoApplicationActorSystemExecutionId: z.ZodOptional<z.ZodString>;
|
|
1763
|
+
workbenchBuildPlanTaskId: z.ZodOptional<z.ZodString>;
|
|
1714
1764
|
clearExecutionLink: z.ZodOptional<z.ZodBoolean>;
|
|
1715
1765
|
}, z.core.$strip>;
|
|
1716
1766
|
/**
|
|
@@ -1724,6 +1774,13 @@ export declare const CompanionCodingAgentStatusResponseSchema: z.ZodObject<{
|
|
|
1724
1774
|
taskId: z.ZodString;
|
|
1725
1775
|
startedAt: z.ZodString;
|
|
1726
1776
|
}, z.core.$strip>>;
|
|
1777
|
+
pendingQuestions: z.ZodArray<z.ZodObject<{
|
|
1778
|
+
taskId: z.ZodString;
|
|
1779
|
+
taskRef: z.ZodString;
|
|
1780
|
+
question: z.ZodString;
|
|
1781
|
+
parkedAt: z.ZodString;
|
|
1782
|
+
resumable: z.ZodBoolean;
|
|
1783
|
+
}, z.core.$strip>>;
|
|
1727
1784
|
limits: z.ZodObject<{
|
|
1728
1785
|
defaultTimeoutMs: z.ZodNumber;
|
|
1729
1786
|
hardMaxTimeoutMs: z.ZodNumber;
|
|
@@ -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,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAIL,kBAAkB,EACnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,4CAA4C,EAC5C,sCAAsC,EACtC,+CAA+C,EAC/C,uCAAuC,EACvC,uCAAuC,EACxC,MAAM,6DAA6D,CAAC;AAgBrE;;;;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
|
|
1
|
+
{"version":3,"file":"companion-api.schemas.d.ts","sourceRoot":"","sources":["../../../../src/companion-api/companion-api.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAA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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"}
|
|
@@ -70,6 +70,14 @@ const CompanionIntrospectionResultBaseSchema = z.object({
|
|
|
70
70
|
durationMs: z.number().nonnegative(),
|
|
71
71
|
stdout: z.string().optional(),
|
|
72
72
|
stderr: z.string().optional(),
|
|
73
|
+
/**
|
|
74
|
+
* Parent-side provenance, never sent by the child.
|
|
75
|
+
*
|
|
76
|
+
* Declared here anyway so the schema and the two hand-written interfaces below describe the same
|
|
77
|
+
* shape: the parent's derivation cache stamps this on a memoized result, and a schema that did
|
|
78
|
+
* not know the key would strip it from anything that round-trips through a parse.
|
|
79
|
+
*/
|
|
80
|
+
servedFromCache: z.literal(true).optional(),
|
|
73
81
|
});
|
|
74
82
|
const CompanionIntrospectionErrorSchema = z.object({
|
|
75
83
|
message: z.string(),
|
|
@@ -95,6 +103,41 @@ export const CompanionIntrospectionResultSchema = z.discriminatedUnion('success'
|
|
|
95
103
|
error: CompanionIntrospectionErrorSchema,
|
|
96
104
|
}),
|
|
97
105
|
]);
|
|
106
|
+
/**
|
|
107
|
+
* The ENVELOPE of a governance-fact landing request (#192) — and deliberately only the envelope.
|
|
108
|
+
*
|
|
109
|
+
* ## Why this stops where it does
|
|
110
|
+
*
|
|
111
|
+
* Everything about what makes an ANSWER SET valid — which questions this document asks, whether each
|
|
112
|
+
* was answered, whether a qualified-review answer names a reviewer, whether "does not apply" is even
|
|
113
|
+
* offered — belongs to `buildGovernanceFactDeclarations`, which derives it from the engine's question
|
|
114
|
+
* catalog. A second copy here could only ever disagree with the one that actually refuses, and would
|
|
115
|
+
* refuse with a worse message.
|
|
116
|
+
*
|
|
117
|
+
* What the transport must still check is that a body is SHAPED like a request at all. Without this a
|
|
118
|
+
* malformed payload reached the service and threw a `TypeError` on a missing `answers` array, which
|
|
119
|
+
* the generic error path classifies INTERNAL and sanitizes to the literal "internal" — a 500 saying
|
|
120
|
+
* nothing for what is plainly a bad request. Measured against the live companion, 2026-09-03.
|
|
121
|
+
*
|
|
122
|
+
* So `answers` is `z.array(z.unknown())`: present and a list, contents unexamined. That is the exact
|
|
123
|
+
* line between "this is a request" and "this is a good answer set".
|
|
124
|
+
*/
|
|
125
|
+
export const CompanionLandGovernanceFactsRequestSchema = z.object({
|
|
126
|
+
definitionRef: z.string().min(1),
|
|
127
|
+
specificationRef: z.string().min(1),
|
|
128
|
+
specificationVersion: z.number().int().positive(),
|
|
129
|
+
decidedByRef: z.string().min(1),
|
|
130
|
+
decidedAt: z.string().min(1),
|
|
131
|
+
governanceScope: z.object({
|
|
132
|
+
subjectKind: z.string().min(1),
|
|
133
|
+
subjectRef: z.string().min(1),
|
|
134
|
+
scopeRef: z.string().min(1),
|
|
135
|
+
scopeVersion: z.number().int().positive(),
|
|
136
|
+
participantRefs: z.array(z.string()),
|
|
137
|
+
precedenceRuleRefs: z.array(z.string()),
|
|
138
|
+
}),
|
|
139
|
+
answers: z.array(z.unknown()),
|
|
140
|
+
});
|
|
98
141
|
export const CompanionExecutionsListQuerySchema = z.object({
|
|
99
142
|
systemRef: z.string().min(1).optional(),
|
|
100
143
|
status: z.enum(FlowsActors_Status).optional(),
|
|
@@ -190,6 +233,8 @@ export const CompanionCreateActorTaskRequestSchema = Actors_Task_Schema.omit({
|
|
|
190
233
|
createdAt: Actors_Task_Schema.shape.createdAt.optional(),
|
|
191
234
|
updatedAt: Actors_Task_Schema.shape.updatedAt.optional(),
|
|
192
235
|
wildoApplicationActorSystemExecutionId: z.string().min(1).optional(),
|
|
236
|
+
/** The build-plan dispatch row this task executes — see the field's doc on the persisted schema. */
|
|
237
|
+
workbenchBuildPlanTaskId: z.string().min(1).optional(),
|
|
193
238
|
}).superRefine((value, ctx) => {
|
|
194
239
|
if (value.completedAt && !isTerminalFlowsActorsStatus(value.status)) {
|
|
195
240
|
ctx.addIssue({
|
|
@@ -208,6 +253,8 @@ export const CompanionUpdateActorTaskRequestSchema = Actors_Task_Schema.omit({
|
|
|
208
253
|
context: CompanionExternalActorTaskContextSchema.optional(),
|
|
209
254
|
updatedAt: Actors_Task_Schema.shape.updatedAt.optional(),
|
|
210
255
|
wildoApplicationActorSystemExecutionId: z.string().min(1).optional(),
|
|
256
|
+
/** The build-plan dispatch row this task executes — see the field's doc on the persisted schema. */
|
|
257
|
+
workbenchBuildPlanTaskId: z.string().min(1).optional(),
|
|
211
258
|
clearExecutionLink: z.boolean().optional(),
|
|
212
259
|
}).refine((value) => !(value.clearExecutionLink && value.wildoApplicationActorSystemExecutionId), {
|
|
213
260
|
message: 'clearExecutionLink cannot be combined with wildoApplicationActorSystemExecutionId',
|
|
@@ -229,6 +276,19 @@ export const CompanionCodingAgentStatusResponseSchema = z.object({
|
|
|
229
276
|
taskId: z.string().min(1),
|
|
230
277
|
startedAt: z.string().min(1),
|
|
231
278
|
}).nullable(),
|
|
279
|
+
/**
|
|
280
|
+
* Coding tasks PARKED on an operator question, answerable in this process via
|
|
281
|
+
* `POST /coding-agent/session/respond`. Always present (empty when none), so a
|
|
282
|
+
* client tells "nothing is waiting" from "the field is missing".
|
|
283
|
+
*/
|
|
284
|
+
pendingQuestions: z.array(z.object({
|
|
285
|
+
taskId: z.string().min(1),
|
|
286
|
+
taskRef: z.string().min(1),
|
|
287
|
+
question: z.string().min(1),
|
|
288
|
+
parkedAt: z.string().min(1),
|
|
289
|
+
/** Whether the answer can resume the same agent session (agent advertised loadSession). */
|
|
290
|
+
resumable: z.boolean(),
|
|
291
|
+
})),
|
|
232
292
|
limits: z.object({
|
|
233
293
|
defaultTimeoutMs: z.number().int().positive(),
|
|
234
294
|
hardMaxTimeoutMs: z.number().int().positive(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companion-api.schemas.js","sourceRoot":"","sources":["../../../../src/companion-api/companion-api.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,kBAAkB,EAClB,2BAA2B,EAC3B,2BAA2B,EAC3B,kBAAkB,GACnB,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;AAErE,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,gFAAgF;AAChF,kBAAkB;AAClB,gFAAgF;AAEhF;;;;;oEAKoE;AAIpE,MAAM,CAAC,MAAM,eAAe,GAIvB,CAAC,CAAC,MAAM,CAAC;IACZ,6BAA6B;IAC7B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,wCAAwC;IACxC,WAAW,EAAE,CAAC,CAAC,OAAO,EAAE;IACxB,yBAAyB;IACzB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAEH,gFAAgF;AAChF,qBAAqB;AACrB,gFAAgF;AAGhF,MAAM,CAAC,MAAM,mCAAmC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1D,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC7B,QAAQ,EAAE,CAAC,CAAC,IAAI,CA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C,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 { z } from 'zod';\nimport {\n Actors_Task_Schema,\n ActorSystem_ExecutionSchema,\n FlowSystem_Execution_Schema,\n FlowsActors_Status,\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';\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});\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. Zod 4's `z.unknown()` accepts a missing\n // key, so we wrap with a presence refinement; replacing it with a typed\n // schema would over-constrain the cross-behavior payload union.\n data: z.unknown().refine((value) => value !== undefined, {\n message: 'data is required for successful introspection results',\n }),\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}\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\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\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 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\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 activeRun: z.object({\n taskId: z.string().min(1),\n startedAt: z.string().min(1),\n }).nullable(),\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,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,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AC;QACjC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QACzB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QAC1B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QAC3B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QAC3B,2FAA2F;QAC3F,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE;KACvB,CAAC,CAAC;IACH,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,gBAAgB,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 { z } from 'zod';\nimport {\n Actors_Task_Schema,\n ActorSystem_ExecutionSchema,\n FlowSystem_Execution_Schema,\n FlowsActors_Status,\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';\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. Zod 4's `z.unknown()` accepts a missing\n // key, so we wrap with a presence refinement; replacing it with a typed\n // schema would over-constrain the cross-behavior payload union.\n data: z.unknown().refine((value) => value !== undefined, {\n message: 'data is required for successful introspection results',\n }),\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 specificationRef: z.string().min(1),\n specificationVersion: z.number().int().positive(),\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\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 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 /** The build-plan dispatch row this task executes — see the field's doc on the persisted schema. */\n workbenchBuildPlanTaskId: 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\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 /** The build-plan dispatch row this task executes — see the field's doc on the persisted schema. */\n workbenchBuildPlanTaskId: 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 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 })),\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"]}
|
|
@@ -4,6 +4,7 @@ import { LabellizeOrchestratorCompanionService } from '../../i18n-labelling/serv
|
|
|
4
4
|
import { TranslateOrchestratorCompanionService } from '../../i18n-labelling/services/translate-orchestrator.companion.service';
|
|
5
5
|
import { EmailTemplateCompanionService } from '../../email/services/email-template.companion.service';
|
|
6
6
|
import { PlaybookRunCompanionService } from '../../meta-workflows/services/playbook-run.companion.service';
|
|
7
|
+
import { CreationPlaneProjectionCompanionService } from '../../core/introspection/resources/creation-plane-projection.companion.service';
|
|
7
8
|
import { ExecutionTraceReadCompanionService } from '../../meta-workflows/services/execution-trace-read.companion.service';
|
|
8
9
|
import { ApplicationBuildDispatchCompanionService } from '../../meta-workflows/services/application-build-dispatch.companion.service';
|
|
9
10
|
import { PlaybookRunWriteRegisterCompanionService } from '../../meta-workflows/services/playbook-run-write-register.companion.service';
|
|
@@ -59,6 +60,7 @@ export declare class CompanionController extends AbstractControllerBackendServic
|
|
|
59
60
|
private readonly emailTemplateService;
|
|
60
61
|
private readonly marketGenerationService;
|
|
61
62
|
private readonly playbookRunService;
|
|
63
|
+
private readonly creationPlaneProjection;
|
|
62
64
|
private readonly buildDispatchService;
|
|
63
65
|
private readonly executionTraceReadService;
|
|
64
66
|
private readonly logoGenerationService;
|
|
@@ -72,7 +74,7 @@ export declare class CompanionController extends AbstractControllerBackendServic
|
|
|
72
74
|
private readonly traceabilityService;
|
|
73
75
|
private readonly codingAgentDispatchService;
|
|
74
76
|
private readonly researchAgentDispatchService;
|
|
75
|
-
constructor(logger: LoggerService, errorBuilder: ErrorBuilderBackendService, errorHandler: ErrorHandlerService, companionContext: CompanionContext, labellingPlannerService: LabellingPlannerCompanionService, labellizeOrchestratorService: LabellizeOrchestratorCompanionService, runWriteRegister: PlaybookRunWriteRegisterCompanionService, translateOrchestratorService: TranslateOrchestratorCompanionService, emailTemplateService: EmailTemplateCompanionService, marketGenerationService: MarketGenerationCompanionService, playbookRunService: PlaybookRunCompanionService, buildDispatchService: ApplicationBuildDispatchCompanionService, executionTraceReadService: ExecutionTraceReadCompanionService, logoGenerationService: LogoGenerationCompanionService, logoDeliberationService: LogoDeliberationCompanionService, brandAcceptService: BrandAcceptCompanionService, expertPersonaService: ExpertPersonaCompanionService, deliberationService: DeliberationCompanionService, technicalDocService: TechnicalDocCompanionService, companionIntrospectionService: CompanionIntrospectionService, executionsService: CompanionExecutionsCompanionService, traceabilityService: CompanionTraceabilityService, codingAgentDispatchService: CodingAgentDispatchCompanionService, researchAgentDispatchService: ResearchAgentDispatchCompanionService);
|
|
77
|
+
constructor(logger: LoggerService, errorBuilder: ErrorBuilderBackendService, errorHandler: ErrorHandlerService, companionContext: CompanionContext, labellingPlannerService: LabellingPlannerCompanionService, labellizeOrchestratorService: LabellizeOrchestratorCompanionService, runWriteRegister: PlaybookRunWriteRegisterCompanionService, translateOrchestratorService: TranslateOrchestratorCompanionService, emailTemplateService: EmailTemplateCompanionService, marketGenerationService: MarketGenerationCompanionService, playbookRunService: PlaybookRunCompanionService, creationPlaneProjection: CreationPlaneProjectionCompanionService, buildDispatchService: ApplicationBuildDispatchCompanionService, executionTraceReadService: ExecutionTraceReadCompanionService, logoGenerationService: LogoGenerationCompanionService, logoDeliberationService: LogoDeliberationCompanionService, brandAcceptService: BrandAcceptCompanionService, expertPersonaService: ExpertPersonaCompanionService, deliberationService: DeliberationCompanionService, technicalDocService: TechnicalDocCompanionService, companionIntrospectionService: CompanionIntrospectionService, executionsService: CompanionExecutionsCompanionService, traceabilityService: CompanionTraceabilityService, codingAgentDispatchService: CodingAgentDispatchCompanionService, researchAgentDispatchService: ResearchAgentDispatchCompanionService);
|
|
76
78
|
protected setupRoutes(): void;
|
|
77
79
|
getCustomMountBasePath(): string;
|
|
78
80
|
private attachRequestTraceSession;
|
|
@@ -135,6 +137,20 @@ export declare class CompanionController extends AbstractControllerBackendServic
|
|
|
135
137
|
* change set, so what the agent had already written stays visible.
|
|
136
138
|
*/
|
|
137
139
|
private codingAgentCancel;
|
|
140
|
+
/**
|
|
141
|
+
* Answer a coding task that parked on a question, resuming the SAME agent
|
|
142
|
+
* session. A WRITE: it re-enters a workspace-mutating run behind the shared
|
|
143
|
+
* worktree lock, so it is serialized with every other coding run.
|
|
144
|
+
*/
|
|
145
|
+
private codingAgentRespond;
|
|
146
|
+
/**
|
|
147
|
+
* Stream one active coding session's live frames as Server-Sent Events.
|
|
148
|
+
*
|
|
149
|
+
* Frames flow only while the run is active, so the current pending question
|
|
150
|
+
* (if any) is sent first as a `snapshot` event — a subscriber that attaches
|
|
151
|
+
* after a park still learns what is being asked. Read-only.
|
|
152
|
+
*/
|
|
153
|
+
private codingAgentSessionEvents;
|
|
138
154
|
/**
|
|
139
155
|
* What is running, and what died leaving something resumable.
|
|
140
156
|
*
|
|
@@ -155,6 +171,36 @@ export declare class CompanionController extends AbstractControllerBackendServic
|
|
|
155
171
|
* that loses an iteration.
|
|
156
172
|
*/
|
|
157
173
|
private readPlaybookRunsInFlight;
|
|
174
|
+
/**
|
|
175
|
+
* `GET /playbooks/suspended` — what is waiting for an answer, independent of who asked.
|
|
176
|
+
*
|
|
177
|
+
* The read that makes a suspension survivable. A run that stops at a clarification answers 200 with
|
|
178
|
+
* its `runId`, and until this existed that response was the ONLY place the id lived: reload the
|
|
179
|
+
* page and the run stayed suspended on disk with nobody able to name it. A resume affordance can
|
|
180
|
+
* now be rebuilt from server state rather than from the browser's memory of one response.
|
|
181
|
+
*/
|
|
182
|
+
private readSuspendedPlaybookRuns;
|
|
183
|
+
/**
|
|
184
|
+
* `GET /compliance/governance-questions` — what a person still has to decide.
|
|
185
|
+
*
|
|
186
|
+
* `definitionRef` may repeat, and an unknown one yields nothing rather than 404: the composer treats
|
|
187
|
+
* an unknown document as "no such document", and a host loading several refs should not lose the
|
|
188
|
+
* ones that exist because one was mistyped.
|
|
189
|
+
*/
|
|
190
|
+
private readGovernanceQuestions;
|
|
191
|
+
/**
|
|
192
|
+
* `POST /compliance/governance-facts` — the answers to the questions above, as a FILE.
|
|
193
|
+
*
|
|
194
|
+
* The write half of #192. It lands `document-facts-authored`, never `document-facts`: every question
|
|
195
|
+
* the questionnaire asks carries a human authority, and the derived family refuses those by type.
|
|
196
|
+
*
|
|
197
|
+
* It does NOT commit. The landed file is a working edit until a human commits it
|
|
198
|
+
* (`.claude/rules/one-source-of-truth.md`, rules 2 and 3) — this endpoint accepts nothing.
|
|
199
|
+
*
|
|
200
|
+
* `?dryRun=1` runs the whole pipe and writes nothing, which is how a host previews what an answer set
|
|
201
|
+
* would produce before a person commits to it.
|
|
202
|
+
*/
|
|
203
|
+
private landGovernanceFacts;
|
|
158
204
|
private codingAgentStatus;
|
|
159
205
|
private createActorExecution;
|
|
160
206
|
private listActorExecutions;
|
|
@@ -173,6 +219,14 @@ export declare class CompanionController extends AbstractControllerBackendServic
|
|
|
173
219
|
private pickResourcesRegistryCarrierServiceKey;
|
|
174
220
|
private getWebsiteStructuredDataAudit;
|
|
175
221
|
private isValidationIntrospectionFailure;
|
|
222
|
+
/**
|
|
223
|
+
* `GET /_meta/introspect/behaviors` — the live-context MENU (`wildo context list`, issue #252).
|
|
224
|
+
*
|
|
225
|
+
* Pure catalog read, no subprocess: what this running companion can answer, plus the service keys a
|
|
226
|
+
* `POST /_meta/introspect` caller may target and the resolved default backend key so the caller never
|
|
227
|
+
* re-derives the "first backend service" rule.
|
|
228
|
+
*/
|
|
229
|
+
private listIntrospectionBehaviors;
|
|
176
230
|
private requestIntrospection;
|
|
177
231
|
private buildPrompt;
|
|
178
232
|
/**
|
|
@@ -284,6 +338,13 @@ export declare class CompanionController extends AbstractControllerBackendServic
|
|
|
284
338
|
* Deterministic and side-effect-free: it reads the working tree and answers what can run now. This is
|
|
285
339
|
* the gate a model may choose WITHIN and can never widen.
|
|
286
340
|
*/
|
|
341
|
+
/**
|
|
342
|
+
* The creation board's explicit Refresh (bridge window, `workbench-creation-board-resources.md`
|
|
343
|
+
* Phase 2): busts the eligibility cache the resource lane serves from, so the re-LIST that
|
|
344
|
+
* follows recomputes. Answers `{invalidated: true}` rather than recomputing inline — the ~10s
|
|
345
|
+
* cost belongs to the read that wants it.
|
|
346
|
+
*/
|
|
347
|
+
private refreshPlaybookBoard;
|
|
287
348
|
private listPlaybooks;
|
|
288
349
|
/**
|
|
289
350
|
* `POST /playbooks/:playbookRef/run` — run one compiled playbook and land its outputs.
|
|
@@ -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,EAIpB,MAAM,4BAA4B,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,EAIpB,MAAM,4BAA4B,CAAC;AAuBpC,OAAO,EAAE,gCAAgC,EAAE,MAAM,mEAAmE,CAAC;AACrH,OAAO,EAAE,qCAAqC,EAAE,MAAM,wEAAwE,CAAC;AAC/H,OAAO,EAAE,qCAAq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