eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
14 lines (13 loc) • 517 B
TypeScript
/** JSON error returned when an agent-handle operation cannot be completed. */
export interface AgentHandleErrorJson<TCode extends string = string> {
readonly code: TCode;
readonly error: string;
readonly ok: false;
}
/** Stable agent-handle errors shared by HTTP producers and consumers. */
export declare const AgentHandleError: {
readonly SessionNotResumable: {
readonly code: "SESSION_NOT_RESUMABLE";
readonly toJson: () => AgentHandleErrorJson<"SESSION_NOT_RESUMABLE">;
};
};