export interface DispatchTaskSummary { id: string; agent: string; status: string; startedAt?: string; } export interface FunctionStateSummary { sessionId: string; functions: { name: string; phase: string; }[]; } export interface LoopStateSummary { id: string; agent: string; current: number; total: number; phase: string; } export interface RoleboxRuntimeState { dispatchTasks: DispatchTaskSummary[]; functionSessions: FunctionStateSummary[]; loops: LoopStateSummary[]; } /** * Read all rolebox runtime state files from the .rolebox/state/ directory. * * Each state type is read defensively — if the file is missing, corrupt, or * unreadable, the entry is silently skipped (with a warning log) and an empty * array is returned for that section. */ export declare function readRuntimeState(dir: string): RoleboxRuntimeState; //# sourceMappingURL=state-reader.d.ts.map