eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
9 lines (8 loc) • 428 B
TypeScript
import type { JsonValue } from "#shared/json.js";
import type { WorkflowToolContext } from "#tools/workflow-definition.js";
export interface WorkflowProgramToolInput {
readonly js: string;
readonly maxSubagents?: number;
}
/** Static workflow executor used by the provided `workflow` tool. */
export declare function executeWorkflowProgram(input: WorkflowProgramToolInput, ctx: WorkflowToolContext): Promise<JsonValue>;