export function DashboardScreen({ stats }) { const metricLine = `${stats.executionsToday} runs today`; const isLive = stats.activeWorkflows > 0; return `

Live operations

${isLive ? "Your inbox operator is live" : "Automation is stopped"}

Today

${metricLine}

${isLive ? "Stable" : "Stopped"}
Active workflows ${stats.activeWorkflows}
Pending escalations ${stats.pendingEscalations}
Runs completed ${stats.executionsToday}
${stats.pendingEscalations ? `` : ""} ${isLive ? `` : ""}
`; }