import { useConsole } from "../context"; import { shortId } from "../api/client"; // Left list panel, Muse screenshot style: rounded search on top, a // 主要聊天 section header with a + button, then the task list. The // search input IS the existing task search (id/prompt); the status and // executor filters are kept as a compact row below it — the screenshot // has no filters, but dropping them would cut functionality, so they // stay, just compact. List rows show the prompt truncated on one line // with a status dot, short id, status and executor below it; the // selected row is highlighted grey, as in the screenshot. export default function TaskListSection({ onNew }: { onNew: () => void }) { const ctx = useConsole(); return (