eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
17 lines (16 loc) • 740 B
TypeScript
/**
* Sends the configured session terminal callback.
*
* Absence is a no-op. Once callback metadata is present, delivery is part of
* the remote delegation result path, so failures are logged and rethrown
* instead of being reported as a successful terminal step. Throwing is
* intentional: this function runs as a durable Workflow step, so rejection
* hands retry/failure policy back to the Workflow orchestrator rather than
* letting eve falsely mark the callback delivery as complete.
*/
export declare function fireSessionCallbackStep(input: {
readonly error?: unknown;
readonly output?: unknown;
readonly serializedContext: Record<string, unknown>;
readonly status: "completed" | "failed";
}): Promise<void>;