eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
10 lines (9 loc) • 539 B
TypeScript
import type { HarnessSession } from "#harness/types.js";
import { type HistoryViewProjector, type PreparedHistoryView } from "#shared/history-view.js";
export interface ExecutionHistoryView {
readonly initial: PreparedHistoryView;
readonly messages: (session: HarnessSession) => PreparedHistoryView["messages"];
readonly prepare: (session: HarnessSession) => PreparedHistoryView;
readonly projector: HistoryViewProjector;
}
export declare function createExecutionHistoryView(session: HarnessSession): ExecutionHistoryView;