UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

16 lines • 912 B
import type { HistoryReducer } from "./session-history-reduce.ts"; import type { SessionEntry } from "./session-manager.ts"; /** Lifecycle restoration needs bookkeeping, not a retained full conversation view. */ export declare const lifecycleHistory: HistoryReducer<SessionEntry[]>; /** * The latest run a lifecycle record opened, and whether the transcript holds that run's end (senpi#7016): its last * context entry is an assistant answer that asks for no tool call. The agent loop writes that answer before the * idle record that clears `runActive`, so a process killed in between (SIGKILL included) leaves the run recorded as * active although it ended. A tool call without its result, a tool result, or an input after the answer means work * was in flight. */ export declare const lastRunEnd: HistoryReducer<{ runId?: string; ended: boolean; }>; //# sourceMappingURL=lifecycle-history.d.ts.map