eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
13 lines (12 loc) • 585 B
TypeScript
import type { ModuleSourceRef } from "../shared/source-ref.js";
import type { CompiledHookDefinition } from "./manifest.js";
/**
* Compiles one authored hook module into the manifest entry stored on
* the compiled agent node.
*
* Hook event handlers are arbitrary functions and cannot be statically
* validated at compile time — the normalization step only derives the
* path-relative slug used for diagnostics and ordering. Per-handler
* validation lives in the runtime resolver.
*/
export declare function compileHookEntry(source: ModuleSourceRef): CompiledHookDefinition;