import { AgentIcon } from "./AgentIconPicker"; import { agentRoleColors, agentRoleColorDefault } from "../lib/agent-role-colors"; import type { AgentRole } from "@paperclipai/shared"; interface ChatMessageIdentityBarProps { agentName: string; agentIcon?: string | null; agentRole?: AgentRole | null; timestamp?: string; isStreaming?: boolean; } export function ChatMessageIdentityBar({ agentName, agentIcon, agentRole, timestamp, isStreaming, }: ChatMessageIdentityBarProps) { const colorClass = agentRole ? (agentRoleColors[agentRole] ?? agentRoleColorDefault) : agentRoleColorDefault; return (