UNPKG

eve

Version:

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

40 lines (39 loc) 1.22 kB
/** Rolldown AST subset consumed by the dynamic-tool transform. */ export type DynamicToolAstNode = { argument?: DynamicToolAstNode | null; arguments?: DynamicToolAstNode[]; async?: boolean; body?: DynamicToolAstNode | DynamicToolAstNode[] | { body?: DynamicToolAstNode[]; type?: string; start?: number; end?: number; }; callee?: DynamicToolAstNode; computed?: boolean; declaration?: DynamicToolAstNode | null; declarations?: DynamicToolAstNode[]; end?: number; expression?: DynamicToolAstNode | null; id?: { name?: string; start?: number; end?: number; } | null; init?: DynamicToolAstNode | null; key?: DynamicToolAstNode | null; kind?: string; left?: DynamicToolAstNode | null; method?: boolean; name?: string; params?: DynamicToolAstNode[]; properties?: DynamicToolAstNode[]; right?: DynamicToolAstNode | null; start?: number; type?: string; value?: DynamicToolAstNode | unknown; }; /** * Collects identifiers used as runtime references in a function body AST. */ export declare function collectReferencedIdentifierNames(node: DynamicToolAstNode): Set<string>;