import { STATUS_COLORS, STATUS_LABELS } from "@/lib/constants"; import { generateAppearance } from "@/lib/appearance"; import { useOfficeStore } from "@/store/office-store"; import { getDirector } from "@/sim/runtime"; import { Pawn } from "./Pawn"; const ROLE_LABELS = { lead: "Lead Agent", agent: "Agent", subagent: "Subagent" } as const; export function SidePanel() { const selectedAgentId = useOfficeStore((s) => s.selectedAgentId); const agent = useOfficeStore((s) => (s.selectedAgentId ? s.agents.get(s.selectedAgentId) : undefined)); const agents = useOfficeStore((s) => s.agents); const events = useOfficeStore((s) => s.events); const selectAgent = useOfficeStore((s) => s.selectAgent); const mode = useOfficeStore((s) => s.mode); return ( ); }