@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
14 lines • 727 B
TypeScript
import type { FileEntry } from "./session-manager.ts";
import { type FileIdentity, type PersistedBase, type TranscriptUnavailableReason } from "./session-transcript-journal.ts";
/** One lifecycle's identity and optional loaded base. A superseded asynchronous capture cannot publish. */
export declare class TranscriptFile {
base: PersistedBase | null;
history: number;
identity: FileIdentity | undefined;
unavailable: TranscriptUnavailableReason | undefined;
ready: Promise<void>;
private generation;
reset(): void;
capture(identity: Promise<FileIdentity | undefined>, entries: readonly FileEntry[] | undefined, publish: () => void): void;
}
//# sourceMappingURL=session-transcript-file.d.ts.map