/** * dashboard-client/src/components/SessionInfo.tsx — Crew / Agents card. * * Shows Active Agents, Current Turn, and Status. */ import type React from "react"; import { Card, CardContent, CardHeader, CardTitle } from "../components/ui/card"; export interface SessionInfoProps { /** Number of active crew agents. */ activeAgents: number; /** Current turn index in the crew round-robin. */ currentTurn: number; } export function SessionInfo( props: SessionInfoProps, ): React.ReactElement { const { activeAgents, currentTurn } = props; const status = activeAgents > 0 ? `▶ ${activeAgents} running` : "idle"; return ( Crew / Agents
Active Agents {activeAgents}
Current Turn {currentTurn}
Status {status}
); }