import type { CapabilitySurface } from "./route"; import { Icon } from "./Icons"; /** * Top-level surface switch (Capability plan revision 5). * * Capability now has two primary paths, not one path with a mode toggle: the * preset scenario explorer and a clean-room chat that starts from nothing. They * are different jobs, so they get links rather than tabs — the clean-room entry * has to be reachable from the landing page without first choosing a scenario. * * These are real anchors on purpose. The entry must survive a hard refresh, be * copyable, and open in a new tab, which a button handler would not give. */ export interface CapabilityChatHistoryItem { sessionId: string; identifier: string; title: string; updatedAt: string; current: boolean; } export function SurfaceNav({ surface, history = [], activeSessionId = null, onNewChat, onSelectHistory }: { surface: CapabilitySurface; history?: CapabilityChatHistoryItem[]; activeSessionId?: string | null; onNewChat?: () => void; onSelectHistory?: (sessionId: string) => void; }) { return ( ); }