import { useState } from "react"; const feedData = [ { time: "20:23", status: "Tool OK", actor: "·", tool: "Navigate", details: "[agent-web-interface] bss-portal-pre-prod.vonnue.dev", result: null }, { time: "20:24", status: "Tool OK", actor: "·", tool: "Inspect", details: "[agent-web-interface] eid:40397c…", result: null }, { time: "20:24", status: "Tool OK", actor: "·", tool: "Inspect", details: "[agent-web-interface] eid:6e5706…", result: null }, { time: "20:24", status: "Tool OK", actor: "·", tool: "Click", details: "[agent-web-interface] eid:40397c…", result: null }, { time: "20:24", status: "Tool OK", actor: "·", tool: "Type", details: '[agent-web-interface] "17" → 4e903…', result: null }, { time: "20:24", status: "Tool OK", actor: "·", tool: "Press", details: "[agent-web-interface] Tab", result: null }, { time: "20:25", status: "Tool OK", actor: "·", tool: "Type", details: '[agent-web-interface] "10" → 12092…', result: null }, { time: "20:25", status: "Tool OK", actor: "·", tool: "Press", details: "[agent-web-interface] Tab", result: null }, { time: "20:25", status: "Tool OK", actor: "·", tool: "Type", details: '[agent-web-interface] "2025" → 79d01…', result: null }, { time: "20:25", status: "Tool OK", actor: "·", tool: "Screenshot", details: "[agent-web-interface]", result: null }, { time: "20:26", status: "Tool OK", actor: "·", tool: "Navigate", details: "[agent-web-interface] bss-portal-pre-prod.vonnue.dev", result: null, active: true }, { time: "20:26", status: "Tool OK", actor: "·", tool: "Screenshot", details: "[agent-web-interface]", result: null }, { time: "20:26", status: "Tool OK", actor: "·", tool: "Find", details: "[agent-web-interface] button", result: "1 found" }, { time: "20:26", status: "Tool OK", actor: "·", tool: "Find", details: "[agent-web-interface] main", result: "1 found" }, { time: "20:26", status: "Tool OK", actor: "·", tool: "Navigate", details: "[agent-web-interface] bss-portal-pre-prod.vonnue.dev", result: null }, { time: "20:28", status: "Tool OK", actor: "·", tool: "Screenshot", details: "[agent-web-interface]", result: null }, { time: "20:28", status: "Tool OK", actor: "·", tool: "Find", details: "[agent-web-interface] button", result: "1 found" }, { time: "20:29", status: "Tool OK", actor: "·", tool: "Navigate", details: "[agent-web-interface] bss-portal-pre-prod.vonnue.dev", result: null }, { time: "20:29", status: "Tool OK", actor: "·", tool: "Find", details: "[agent-web-interface] button", result: "1 found" }, { time: "20:29", status: "Tool OK", actor: "·", tool: "Find", details: "[agent-web-interface] main", result: "1 found" }, ]; const tasks = [ "Analyze existing subscription test coverage (21 TC-IDs)", "Quick browser inspection of subscription pages for untested features", "Identify coverage gaps and prioritize new test cases", "Write coverage-plan-subscription.md with new TC-IDs", "Explore site and generate detailed test case specs (TC-SUB-022 to TC-SUB-036)", "Write test code for new TC-IDs (TC-SUB-022 to TC-SUB-036)", "Fix all 8 test failures (timing, strict mode, assertions)", "Re-run all subscription tests after fixes", "Coverage check – verify all new TC-IDs implemented", ]; const toolColors = { Navigate: { bg: "rgba(56,189,248,0.12)", text: "#38bdf8", dot: "#38bdf8" }, Inspect: { bg: "rgba(167,139,250,0.12)", text: "#a78bfa", dot: "#a78bfa" }, Click: { bg: "rgba(251,191,36,0.12)", text: "#fbbf24", dot: "#fbbf24" }, Type: { bg: "rgba(52,211,153,0.12)", text: "#34d399", dot: "#34d399" }, Press: { bg: "rgba(251,146,60,0.12)", text: "#fb923c", dot: "#fb923c" }, Screenshot:{ bg: "rgba(236,72,153,0.12)", text: "#ec4899", dot: "#ec4899" }, Find: { bg: "rgba(99,102,241,0.12)", text: "#818cf8", dot: "#818cf8" }, }; const mono = "'Berkeley Mono', 'JetBrains Mono', 'Fira Code', 'Cascadia Code', ui-monospace, monospace"; function BeforePanel() { return (