@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
13 lines • 591 B
TypeScript
/** Session-generation receipts: deliberately never persisted to the transcript. */
export type UiAnswerReceipt = {
readonly uiRequestId: string;
readonly answerId?: string;
};
export declare class UiAnswerLedger {
private readonly answers;
lookup(uiRequestId: string, answerId: string | undefined): "replay" | "already_answered" | undefined;
record(uiRequestId: string, answerId: string | undefined): void;
snapshot(): UiAnswerReceipt[];
}
export declare function sessionUiAnswerLedger(session: object): UiAnswerLedger;
//# sourceMappingURL=ui-answer-ledger.d.ts.map