feat: Agent Management Modul — SOUL-Editor, Dashboard, Architektur-Doku
All checks were successful
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-ai-compliance (push) Successful in 37s
CI / test-python-backend-compliance (push) Successful in 38s
CI / test-python-document-crawler (push) Successful in 24s
CI / test-python-dsms-gateway (push) Successful in 19s
All checks were successful
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-ai-compliance (push) Successful in 37s
CI / test-python-backend-compliance (push) Successful in 38s
CI / test-python-document-crawler (push) Successful in 24s
CI / test-python-dsms-gateway (push) Successful in 19s
- SOUL-Dateien: System-Prompts aus Chat-Routen extrahiert nach agent-core/soul/*.soul.md - soul-reader.ts: Lese-/Schreib-API mit 30s TTL-Cache und Backup-Versionierung - agent-registry.ts: Statische Konfiguration der 2 Compliance-Agenten - 5 API-Routen: /api/sdk/agents (Liste, Detail, SOUL GET/PUT, Sessions, Statistiken) - 5 Frontend-Seiten: Dashboard, Detail mit SOUL-Editor, Architektur, Sessions, Statistiken - Sidebar: "Agenten" Link nach Architektur eingefügt - Wire-Up: compliance-advisor + drafting-engine lesen SOUL-Datei mit Fallback - Dockerfile: agent-core wird in Production-Image kopiert Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
56
admin-compliance/lib/sdk/agents/agent-registry.ts
Normal file
56
admin-compliance/lib/sdk/agents/agent-registry.ts
Normal file
@@ -0,0 +1,56 @@
|
||||
/**
|
||||
* 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)
|
||||
}
|
||||
Reference in New Issue
Block a user