/** * Mission Control TUI Idle View * * Displays when no mission is active: * - Agents/Skills readiness * - Past runs list (if any exist) * * Keyboard: * - Enter: Trigger init new mission * - Esc: Close view * - Up/Down: Navigate past runs */ import type { Theme } from "@mariozechner/pi-coding-agent"; import type { Run } from "../state.js"; export interface IdleViewProps { pastRuns: Run[]; agentsReady: boolean; skillsReady: boolean; } export interface IdleViewCallbacks { onInitMission: () => void; onClose: () => void; } /** * Render the idle view */ export declare function renderIdleView(width: number, height: number, props: IdleViewProps, callbacks: IdleViewCallbacks, theme: Theme): string[]; /** * Idle view component class * * Composes PastRunsComponent and adds the idle-specific UI */ export declare class IdleViewComponent { private pastRuns; private props; private callbacks; private showRuns; constructor(callbacks: IdleViewCallbacks); update(pastRuns: Run[], agentsReady?: boolean, skillsReady?: boolean): void; handleInput(data: string, isEnter: boolean, isEscape: boolean, isUp: boolean, isDown: boolean): void; render(width: number, height: number, theme: Theme): string[]; invalidate(): void; } //# sourceMappingURL=idle-view.d.ts.map