import{j as o}from"./vendor-query-B2UbickB.js";import{c as n}from"./tasks-BrP_8uEN.js";import{r as m}from"./index-_BRA9uFL.js";import{f as c}from"./useEventHooks-XNNzwADV.js";import{u}from"./mcp-MtXuky8q.js";import{P as d}from"./PageHeaderWithStats-yD_PTbOl.js";import"./vendor-react-CXumBFUA.js";import"./vendor-icons-Doy0g69_.js";function j(){var a;c();const{data:s}=n({limit:1}),{data:e}=m({status:"pending",limit:1}),{data:t}=u(),r=((a=t==null?void 0:t.servers)==null?void 0:a.filter(i=>i.status==="connected").length)??0,l=t?`${r}/${t.total}`:"—";return o.jsx("div",{children:o.jsx(d,{title:"Admin",stats:[{label:"Tasks",value:(s==null?void 0:s.total)??"—"},{label:"Pending Escalations",value:(e==null?void 0:e.total)??"—",dotClass:"bg-status-pending"},{label:"MCP Servers",value:l},{label:"System",value:"Healthy",dotClass:"bg-status-success"}]})})}export{j as AdminDashboard};
//# sourceMappingURL=AdminDashboard-BwUGcCxQ.js.map
