'use client'; import Link from 'next/link'; import { AgentProfile, AgentRuntime, getAgentKindIcon, getAgentStatusColor } from '@/lib/agent-dashboard'; import { StatusBadge } from '@/components/node-dashboard'; import { getGovLevelBadge } from '@/lib/types/agents'; import { Shield, Fingerprint, Building2 } from 'lucide-react'; interface AgentSummaryCardProps { profile: AgentProfile; runtime?: AgentRuntime; } export function AgentSummaryCard({ profile, runtime }: AgentSummaryCardProps) { const kindIcon = getAgentKindIcon(profile.kind); const govBadge = getGovLevelBadge(profile.gov_level); return (
{profile.agent_id}
{profile.dais.core.bio && ({profile.dais.core.bio}
)} {/* Tags */}