'use client' /** * AgentSlotCard — ein Slot im Agent-Test: Slot-Header (Name, Dauer, * Konfidenz, Status-Badges, Artefakt-Link) + der geteilte * AgentResultView (Coverage/Speedometer/Findings/Maßnahmen). */ import React from 'react' import type { SlotOutput } from './_agentTypes' import { isOutputSkipped } from './_agentTypes' import { AgentResultView } from './AgentResultView' export function AgentSlotCard({ slot, output, runId, }: { slot: string output: SlotOutput runId: string }) { const wasSkipped = isOutputSkipped(output) const allGreen = !wasSkipped && output.findings.length === 0 return (