/** One row of a breakdown section. */ export interface Line { label: string; tokens: number; detail?: string; } /** A named group of lines with a summed total. */ export interface Section { title: string; total: number; lines: Line[]; } /** The three top-level sections of the context breakdown. */ export interface Breakdown { system: Section; messages: Section; tools: Section; } /** One row of the /context skills|tools|files lists. */ export interface ListRow { name: string; desc: string; tokens: number; }