eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
12 lines (11 loc) • 475 B
TypeScript
import type { HarnessEmissionState } from "#harness/emission.js";
/**
* Returns the id of the in-flight turn, or — between turns — the id the
* next turn will mint (`turn_${sequence}`, the same formula
* `emitTurnPreamble` uses).
*
* Lives in a leaf module so `"use workflow"` bodies can import it without
* pulling harness emission (and its Node builtins) into the workflow
* bundle.
*/
export declare function activeTurnId(state: HarnessEmissionState): string;