import type { Plan } from './plan.js'; /** * What the model has done this session, gathered from the transcript already on screen. * * Asked for because a long run is opaque while it happens and unreadable afterwards: the tool * calls are all there in scrollback, hundreds of lines apart, and nobody scrolls back through * forty screens to count how many files were written. * * Built from the rows rather than from a second log kept alongside them. Two records of the same * events drift, and the one on screen would be the one that was wrong. */ export interface ActivityStep { kind: 'tool' | 'say'; name?: string; detail?: string; ok?: boolean; startedAt?: number; endedAt?: number; } export interface ActivityRow { role: string; steps?: ActivityStep[]; text?: string; } export interface ActivityTotals { turns: number; totalTokens: number; } export declare function describeActivity(rows: readonly ActivityRow[], plan: Plan | null, totals: ActivityTotals): string; //# sourceMappingURL=activity.d.ts.map