@workflow-manager/runner
Version:
CLI runner for in-memory and markdown workflow orchestration using ATEP-like envelopes
17 lines (16 loc) • 899 B
TypeScript
import type { AdapterKey, StepDefinition } from "./types.js";
export declare const DEFAULT_TASK_ADAPTER: AdapterKey;
export declare const SUPPORTED_ADAPTERS: readonly AdapterKey[];
export declare function resolveTaskAdapter(adapter?: AdapterKey): AdapterKey;
/**
* Resolves the adapter and payload the engine will use for a step's agent validator
* (validation.mode "agent"), or null when the step has no agent validator.
* The validator inherits the step's adapter when validation.agent.adapterKey is not
* set, and inherits an explicit useRealAdapter: false opt-out from the step payload
* unless the validator payload sets its own useRealAdapter — so a step opted out to
* mock never silently spawns a real agent to validate itself.
*/
export declare function resolveValidatorAgentSpec(step: StepDefinition): {
adapterKey: AdapterKey;
payload: Record<string, unknown>;
} | null;