import type { AgentStatus } from "@multica/core/types"; import { Clock, CheckCircle2, XCircle, Loader2, Play, } from "lucide-react"; export const statusConfig: Record = { idle: { label: "Idle", color: "text-muted-foreground", dot: "bg-muted-foreground" }, working: { label: "Working", color: "text-success", dot: "bg-success" }, blocked: { label: "Blocked", color: "text-warning", dot: "bg-warning" }, error: { label: "Error", color: "text-destructive", dot: "bg-destructive" }, offline: { label: "Offline", color: "text-muted-foreground/50", dot: "bg-muted-foreground/40" }, }; export const taskStatusConfig: Record = { queued: { label: "Queued", icon: Clock, color: "text-muted-foreground" }, dispatched: { label: "Dispatched", icon: Play, color: "text-info" }, running: { label: "Running", icon: Loader2, color: "text-success" }, completed: { label: "Completed", icon: CheckCircle2, color: "text-success" }, failed: { label: "Failed", icon: XCircle, color: "text-destructive" }, cancelled: { label: "Cancelled", icon: XCircle, color: "text-muted-foreground" }, };