import type { AgentTask } from '../../types'; interface AgentTaskListProps { tasks: AgentTask[]; } const statusConfig: Record< AgentTask['status'], { label: string; dotClass: string } > = { queued: { label: '대기', dotClass: 'bg-ink-light' }, processing: { label: '처리 중', dotClass: 'bg-ink-black animate-pulse' }, done: { label: '완료', dotClass: 'bg-status-success' }, failed: { label: '실패', dotClass: 'bg-status-error' }, }; export default function AgentTaskList({ tasks }: AgentTaskListProps) { return (
등록된 태스크가 없습니다.
) : ({task.title}