eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
11 lines (10 loc) • 411 B
TypeScript
/** Derives the private cancellation hook token for one dispatched turn. */
export declare function turnCancellationHookToken(controlToken: string): string;
/**
* Payload accepted by the private turn cancel hook. A mismatched `turnId` is a
* benign no-op; omitting it targets whichever turn owns the hook.
*/
export interface TurnCancelPayload {
readonly tasks?: boolean;
readonly turnId?: string;
}