/**
 * Agent Registry — static configuration for the 2 compliance agents.
 */

export interface AgentConfig {
  id: string
  name: string
  description: string
  soulFile: string
  color: string
  icon: string
  status: 'active' | 'inactive' | 'error'
  version: string
  stats: {
    sessionsToday: number
    avgResponseTime: string
    successRate: string
  }
}

export const COMPLIANCE_AGENTS: AgentConfig[] = [
  {
    id: 'compliance-advisor',
    name: 'Compliance Advisor',
    description: 'RAG-gestuetzter Chat-Agent fuer DSGVO, AI Act und Compliance-Fragen. Durchsucht 6 Sammlungen mit Multi-Collection-RAG und liefert quellenbasierte Antworten mit Streaming.',
    soulFile: 'compliance-advisor.soul.md',
    color: '#7c3aed', // purple-600
    icon: 'shield',
    status: 'active',
    version: '1.0.0',
    stats: {
      sessionsToday: 0,
      avgResponseTime: '—',
      successRate: '—',
    },
  },
  {
    id: 'drafting-agent',
    name: 'Drafting Agent',
    description: '4-Modi Dokumenten-Agent (Explain, Ask, Draft, Validate). Entwirft DSGVO-konforme Compliance-Dokumente, erkennt Luecken und prueft Cross-Dokument-Konsistenz.',
    soulFile: 'drafting-agent.soul.md',
    color: '#2563eb', // blue-600
    icon: 'pencil',
    status: 'active',
    version: '1.0.0',
    stats: {
      sessionsToday: 0,
      avgResponseTime: '—',
      successRate: '—',
    },
  },
]

export function getAgentById(id: string): AgentConfig | undefined {
  return COMPLIANCE_AGENTS.find(a => a.id === id)
}
