UNPKG

eve

Version:

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

16 lines (15 loc) 608 B
/** * Derives the stable operation id for one dispatch. All three inputs are * parent-controlled, so the id exists before any child does and replaying * the same call produces the same operation. * * Lives apart from the handle store because it needs `node:crypto`: the * store module is bundled into the session owner body (which rejects * Node.js builtins), while operation ids are only ever minted inside * dispatch steps. */ export declare function deriveAgentOperationId(input: { readonly callId: string; readonly parentSessionId: string; readonly parentTurnId: string; }): string;