UNPKG

eve

Version:

Filesystem-first framework for durable backend AI agents that run anywhere.

45 lines (44 loc) 1.35 kB
export type WorkflowManifest = { steps?: { [relativeFileName: string]: { [functionName: string]: { stepId: string; }; }; }; workflows?: { [relativeFileName: string]: { [functionName: string]: { workflowId: string; }; }; }; classes?: { [relativeFileName: string]: { [className: string]: { classId: string; }; }; }; }; export declare function createEveWorkflowQueueTrigger(agentName: string): { type: "queue/v2beta"; topic: string; consumer: string; retryAfterSeconds: number; initialDelaySeconds: number; }; export declare function applyWorkflowTransform(filename: string, source: string, mode: "workflow" | "step" | "client" | false, absolutePath?: string, projectRoot?: string, stableWorkflowNames?: ReadonlySet<string>): Promise<{ code: string; workflowManifest: WorkflowManifest; }>; export declare function detectWorkflowPatterns(source: string): { hasSerde: boolean; hasUseStep: boolean; hasUseWorkflow: boolean; }; export declare function getImportPath(filePath: string, projectRoot: string): { importPath: string; isPackage: boolean; }; export declare function readSourceFile(path: string): Promise<string>;