import type { StudioTask, StudioWork, StudioWorkResult } from '../protocol/studio-agent-types' import { studioPanelClass } from '../theme' import { StudioWorkCard } from './StudioWorkCard' interface StudioWorkPanelProps { works: StudioWork[] selectedWorkId: string | null tasksById: Record resultsById: Record onSelectWork: (workId: string) => void } export function StudioWorkPanel({ works, selectedWorkId, tasksById, resultsById, onSelectWork, }: StudioWorkPanelProps) { return (
Works

Work-centric view

{works.length} items
{works.map((work) => ( ))} {works.length === 0 &&
No works yet. Start a run from the command panel.
}
) }