import type { ChartIndexRow } from "../types"; const CHART_CATALOG = [ { name: "Team Efficiency", note: "Offense/defense splits" }, { name: "Player Props", note: "Over/under lines by market" }, { name: "Matchup Report", note: "Head-to-head comparison" }, { name: "Injury Report", note: "Status by team/position" }, ]; const SOURCES = [ { id: "hf", rank: "1", name: "Hugging Face GPU", note: "Pro free GPU · default", tag: "DEFAULT" }, { id: "cpu", rank: "2", name: "My CPU", note: "Local unused slot", tag: "CONFIRM" }, { id: "gcp", rank: "3", name: "Google Cloud GPU", note: "Last resort", tag: "CONFIRM" }, ]; /** * Admin modal per HANDOFF_CLAUDE_CODE.md sec 3.5: Nodes / Charts / GPU / * Logs strips. Charts strip is wired to the real _index.csv catalog * (per sec 3.5's instruction) rather than the mock's static catalog list. */ export default function AdminPanel({ onClose, onAddRamp, onAddExpert, chartIndex, logs, }: { onClose: () => void; onAddRamp: () => void; onAddExpert: () => void; chartIndex: ChartIndexRow[]; logs: { t: string; msg: string }[]; }) { return (