UNPKG

eve

Version:

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

16 lines (15 loc) 773 B
/** * Stamps callbacks passed to authored `defineTool()` calls with durable replay * descriptors. Each callback body is hoisted into a module-suffix function and * the live callback is stamped with that function plus the lexical values its * body references; the session, scope, and resolver bind its identity at resolve time. */ /** * Transforms every `defineTool()` call imported from an eve authoring entry * point. This includes tools created in authored helper modules, not only the * file containing `defineDynamic()`. */ export declare function transformDynamicToolExecute(filename: string, source: string, workflowFunctions?: ReadonlySet<string>): Promise<{ code: string; } | null>; export { transformDynamicToolExecute as transformDynamicToolAwait };