export interface FFBProduction { _id?: string; productionDate: Date; site: string; phase: string; block: string; weight: number; weightUom: string; quantity: number; quantityUom: string; } export interface ThoughtPayload { node: string; status: 'processing' | 'completed' | 'error'; message?: string; // Human-readable status (e.g., "Analyzing intent...") context?: any; query?: any; filter?: any; pipeline?: any; results?: any; resultsCount?: number; dataContextLength?: number; input?: any; // The raw data going IN output?: any; // The data coming OUT (replacing 'result', 'results', 'pipeline') metadata?: Record; // For extra stuff like resultsCount or contextLength }