eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
10 lines (9 loc) • 360 B
TypeScript
/** Derives the stable session-scoped cancellation hook token. */
export declare function sessionCancelHookToken(sessionId: string): string;
/**
* Payload accepted by the session cancel hook. A mismatched `turnId` is a
* benign no-op; omitting it targets whichever turn owns the hook.
*/
export interface TurnCancelPayload {
readonly turnId?: string;
}