import { PanelFrame } from "./PanelFrame"; import type { RuntimeRun } from "../state/types"; import { JsonView } from "./JsonView"; interface RuntimePanelProps { runs: RuntimeRun[]; selectedRunId: string; onSelectRun: (runId: string) => void; onStartRun: () => Promise | void; onFinishRun: () => Promise | void; onRefreshRuns: () => Promise | void; onRunEval: () => Promise | void; onCopyEvalReport: () => Promise | void; evalBusy: boolean; traceItems: unknown[]; evalReport: unknown; } export function RuntimePanel({ runs, selectedRunId, onSelectRun, onStartRun, onFinishRun, onRefreshRuns, onRunEval, onCopyEvalReport, evalBusy, traceItems, evalReport }: RuntimePanelProps) { return (
{runs.map((run) => ( ))} {runs.length === 0 ?

Нет активных запусков.

: null}

Trace выбранного run

Отчет eval

); }