/** * TUI Dashboard - Terminal User Interface for Agent Status * * Steve Jobs Principle: "Design is not just what it looks like. * Design is how it works." */ export interface AgentStatus { name: string; displayName: string; status: 'idle' | 'running' | 'completed' | 'failed' | 'waiting'; progress?: number; message?: string; startTime?: Date; endTime?: Date; } export interface DashboardState { title: string; agents: AgentStatus[]; currentPhase: string; overallProgress: number; logs: string[]; humanApprovalRequired?: { action: string; description: string; options: string[]; }; } /** * Clear screen and move cursor to top */ export declare function clearScreen(): void; /** * Render the TUI Dashboard */ export declare function renderDashboard(state: DashboardState): string; /** * Create initial dashboard state */ export declare function createDashboardState(title: string): DashboardState; /** * Add agent to dashboard */ export declare function addAgent(state: DashboardState, agent: AgentStatus): void; /** * Update agent status */ export declare function updateAgentStatus(state: DashboardState, agentName: string, updates: Partial): void; /** * Add log entry */ export declare function addLog(state: DashboardState, message: string): void; /** * Request human approval */ export declare function requestHumanApproval(state: DashboardState, action: string, description: string, options: string[]): void; /** * Clear human approval request */ export declare function clearHumanApproval(state: DashboardState): void; /** * Calculate overall progress from agent statuses */ export declare function calculateOverallProgress(state: DashboardState): number; /** * Simplified Agent Names (Steve Jobs: "Simplicity is the ultimate sophistication") */ export declare const AGENT_DISPLAY_NAMES: Record; /** * Get display name for agent */ export declare function getAgentDisplayName(agentName: string): string; //# sourceMappingURL=tui-dashboard.d.ts.map