import { type components, type operations, type paths } from "./generated/openapi.js"; export type { components, operations, paths }; type FactorySchemas = components["schemas"]; /** The canonical versioned event envelope exposed by the public client. */ export type FactoryEvent = FactorySchemas["FactoryEvent"]; /** The supported canonical Factory event type vocabulary. */ export type FactoryEventType = FactorySchemas["FactoryEventType"]; /** The customer-authored Factory topology definition. */ export type FactoryDefinition = FactorySchemas["Factory"]; /** * Runtime Factory event constants generated from the canonical OpenAPI input. * The object retains the generated keys and literal values without duplicating * the event vocabulary in handwritten source. */ export declare const FACTORY_EVENT_TYPES: { readonly FactoryEventTypeRunRequest: "RUN_REQUEST"; readonly FactoryEventTypeInitialStructureRequest: "INITIAL_STRUCTURE_REQUEST"; readonly FactoryEventTypeFactoryChange: "FACTORY_CHANGE"; readonly FactoryEventTypeWorkRequest: "WORK_REQUEST"; readonly FactoryEventTypeRelationshipChangeRequest: "RELATIONSHIP_CHANGE_REQUEST"; readonly FactoryEventTypeDispatchRequest: "DISPATCH_REQUEST"; readonly FactoryEventTypeDispatchWorkerSessionAssociation: "DISPATCH_WORKER_SESSION_ASSOCIATION"; readonly FactoryEventTypeModelRequest: "MODEL_REQUEST"; readonly FactoryEventTypeModelResponse: "MODEL_RESPONSE"; readonly FactoryEventTypeInferenceRequest: "INFERENCE_REQUEST"; readonly FactoryEventTypeInferenceResponse: "INFERENCE_RESPONSE"; readonly FactoryEventTypeScriptRequest: "SCRIPT_REQUEST"; readonly FactoryEventTypeScriptResponse: "SCRIPT_RESPONSE"; readonly FactoryEventTypeAgentRunResponse: "AGENT_RUN_RESPONSE"; readonly FactoryEventTypeDispatchResponse: "DISPATCH_RESPONSE"; readonly FactoryEventTypeWorkStateChange: "WORK_STATE_CHANGE"; readonly FactoryEventTypeFactoryStateResponse: "FACTORY_STATE_RESPONSE"; readonly FactoryEventTypeRunResponse: "RUN_RESPONSE"; readonly FactoryEventTypeSessionStarted: "SESSION_STARTED"; readonly FactoryEventTypeSessionPaused: "SESSION_PAUSED"; readonly FactoryEventTypeSessionResumed: "SESSION_RESUMED"; readonly FactoryEventTypeSessionResultUpdated: "SESSION_RESULT_UPDATED"; readonly FactoryEventTypeSessionCompleted: "SESSION_COMPLETED"; readonly FactoryEventTypeSessionLifecycleControl: "SESSION_LIFECYCLE_CONTROL"; readonly FactoryEventTypeOrchestratorPhaseChanged: "ORCHESTRATOR_PHASE_CHANGED"; readonly FactoryEventTypeOrchestratorCheckpointWritten: "ORCHESTRATOR_CHECKPOINT_WRITTEN"; readonly FactoryEventTypeDispatchQueued: "DISPATCH_QUEUED"; readonly FactoryEventTypeDispatchInterrupted: "DISPATCH_INTERRUPTED"; readonly FactoryEventTypeDispatchReconciled: "DISPATCH_RECONCILED"; readonly FactoryEventTypeJavaScriptCheckpointRef: "JAVASCRIPT_CHECKPOINT_REF"; readonly FactoryEventTypeJavaScriptPhaseChange: "JAVASCRIPT_PHASE_CHANGE"; readonly FactoryEventTypeArtifactCreated: "ARTIFACT_CREATED"; }; /** Runtime versions accepted by the canonical Factory event envelope. */ export declare const FACTORY_EVENT_SCHEMA_VERSIONS: { readonly agent_factory_event_v1: "agent-factory.event.v1"; };