export interface CheckpointDetails { checkpointId: number; label?: string; semantics: "conversation_bookmark"; filesystemChanged: false; } export interface CheckpointInfo { id: number; displayId: string; entryId: string; label?: string; preview: string; timestamp: string; } export interface RollbackArgs { checkpoint_id: string; summary: string; } export type InvokedBy = "user" | "assistant"; export interface CompactionStats { compactedMessageCount: number; compactedFrom?: string; compactedTo?: string; } export interface RollbackResultDetails { checkpointId: number; label?: string; invokedBy: InvokedBy; compactedMessageCount: number; summaryAuthor: InvokedBy; summary: string; semantics: "conversation_compaction"; filesystemRestored: false; compactedFrom?: string; compactedTo?: string; } export interface PendingRollback { checkpointEntryId: string; checkpointNumber: number; summary: string; invokedBy: InvokedBy; toolCallId: string; autoContinue: boolean; } export interface PerformRollbackResult { toolResultEntryId: string; assistantEntryId: string; checkpointNumber: number; }