import { motion } from 'framer-motion' import type { Agent, AgentAnim } from '../types' import { AgentCard } from './AgentCard' type Props = { agents: Agent[] animations: Record selectedId: string | null onSelect: (id: string) => void onDelegate: (agent: Agent) => void } export function AgentRoster({ agents, animations, selectedId, onSelect, onDelegate }: Props) { return (

Autonomous workforce

Agent Roster

Selecteer een agent om te delegeren. Elk teamlid bewaakt een zone op de ops floor.

{agents.length} agents online
{agents.map((agent, i) => ( onSelect(agent.id)} onDelegate={() => onDelegate(agent)} /> ))}
) }