import type { JSX } from "react"; import type { AgentProcessingRowVM } from "../contracts/agentProcessingRowVM"; export function AgentProcessingRow({ row, label, paused = false }: { row: AgentProcessingRowVM; label: string; paused?: boolean; }): JSX.Element { "use memo"; return (
{processingLabel(row, label)} {paused ? null : }
); } function processingLabel(row: AgentProcessingRowVM, fallback: string): string { if (row.label?.trim()) { return row.label.trim(); } return fallback; } function LoadingEllipsis(): JSX.Element { "use memo"; return (