1import React from "react";
3export function AgentSidebar({ selected, onSelect }) {
5 { id: "system", label: "System", icon: "info" },
6 { id: "metrics", label: "Metrics", icon: "monitoring" },
7 { id: "rds", label: "Remote Desktop", icon: "desktop_windows" },
8 { id: "programs", label: "Programs", icon: "apps" },
9 { id: "task", label: "Tasks", icon: "task" },
10 { id: "terminal", label: "Terminal & Scripts", icon: "terminal" },
11 { id: "services", label: "Services", icon: "settings" },
12 { id: "event", label: "Event Viewer", icon: "description" },
13 { id: "log", label: "Logs", icon: "article" },
14 { id: "file", label: "File Manager", icon: "folder" },
18 <aside className="agent-sidebar">
22 className={`sidebar-btn ${selected === t.id ? "active" : ""}`}
23 onClick={() => onSelect(t.id)}
25 <span className="material-symbols-outlined">{t.icon}</span>
26 <span>{t.label}</span>