"use client"; import Panel from "./ui/Panel"; const agents = [ { icon: "\u{1F4CA}", label: "Market Analyst", detail: "RSI, MACD, Bollinger analysis complete", status: "Done", color: "cyan" as const }, { icon: "\u{1F4CB}", label: "Fundamentals Analyst", detail: "Balance sheet & cash flow reviewed", status: "Done", color: "amber" as const }, { icon: "\u{1F4F0}", label: "News Analyst", detail: "Global news & macro scan complete", status: "Done", color: "cyan" as const }, { icon: "\u{1F4AC}", label: "Social Media Analyst", detail: "Sentiment scoring finalized", status: "Done", color: "purple" as const }, { icon: "\u{1F402}", label: "Bull Researcher", detail: "Argument round 1 submitted", status: "Active", color: "green" as const }, { icon: "\u{1F43B}", label: "Bear Researcher", detail: "Counter-argument pending", status: "Waiting", color: "amber" as const }, { icon: "\u2696\uFE0F", label: "Trader", detail: "Awaiting debate conclusion", status: "Idle", color: "amber" as const }, { icon: "\u{1F6E1}\uFE0F", label: "Risk Manager", detail: "Awaiting trade proposal", status: "Idle", color: "amber" as const }, ]; const logs = [ { time: "14:32:08", agent: "MKT", agentType: "analyst" as const, msg: "Technical indicators computed \u2014 MACD bullish cross detected" }, { time: "14:32:15", agent: "FND", agentType: "analyst" as const, msg: "Balance sheet analysis complete \u2014 strong cash position" }, { time: "14:32:22", agent: "NWS", agentType: "analyst" as const, msg: "Processed 47 news articles \u2014 net positive sentiment" }, { time: "14:32:28", agent: "SOC", agentType: "analyst" as const, msg: "Social sentiment score: 0.62 \u2014 mixed retail signals" }, { time: "14:32:35", agent: "BULL", agentType: "researcher" as const, msg: "Opening argument submitted \u2014 AI infrastructure thesis" }, { time: "14:32:42", agent: "BEAR", agentType: "researcher" as const, msg: "Counter-argument: valuation stretched at 65x forward" }, ]; const iconBgMap = { cyan: "bg-cyan-dim", amber: "bg-amber-dim", green: "bg-green-dim", purple: "bg-purple-dim", }; const statusColorMap: Record = { Done: "text-green", Active: "text-amber", Waiting: "text-text-tertiary", Idle: "text-text-tertiary", }; const agentTypeColorMap = { analyst: "text-cyan", researcher: "text-amber", trader: "text-green", risk: "text-red", }; export default function AgentStatus() { return (
{agents.map((a) => (
{a.icon}
{a.label}
{a.detail}
{a.status}
))}
{logs.map((l, i) => (
{l.time} {l.agent} {l.msg}
))}
); }