bazilion 0.52.0 → 0.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +3 -3
- package/dist/cli.js.map +1 -1
- package/dist/daemon.js +296 -232
- package/dist/daemon.js.map +1 -1
- package/dist/web/client/assets/AddProviderDialog-CkwSq3C7.js +1 -0
- package/dist/web/client/assets/AgentTemplateParts-CEn_4qVs.js +1 -0
- package/dist/web/client/assets/Button-UiegBKOK.js +1 -0
- package/dist/web/client/assets/ConfigPage-CUbHBhzx.js +1 -0
- package/dist/web/client/assets/ConfirmDialog-VqBOFZEp.js +1 -0
- package/dist/web/client/assets/ConnectionsView-ByARMcWP.js +1 -0
- package/dist/web/client/assets/ManagePage-BJWZd1ts.js +1 -0
- package/dist/web/client/assets/SectionTabs-ViZKm3-B.js +1 -0
- package/dist/web/client/assets/Segmented-MYKKTuZO.js +1 -0
- package/dist/web/client/assets/SkillsParts-UvNK5SYP.js +1 -0
- package/dist/web/client/assets/SpawnTeamModal-DG5UbJNK.js +1 -0
- package/dist/web/client/assets/TeamForm-DGlxWv4e.js +1 -0
- package/dist/web/client/assets/TeamThread-mkwODO0S.js +1 -0
- package/dist/web/client/assets/UnsavedChangesGuard-BmdwLH99.js +1 -0
- package/dist/web/client/assets/_id-CvcxNmBH.js +1 -0
- package/dist/web/client/assets/_id-UyBk7gRl.js +1 -0
- package/dist/web/client/assets/access-C8d8vaQ6.js +1 -0
- package/dist/web/client/assets/agent-actions-BgE9fKHH.js +1 -0
- package/dist/web/client/assets/agents-CgtzqBpD.js +1 -0
- package/dist/web/client/assets/agents-D7W4BT8r.js +1 -0
- package/dist/web/client/assets/arrow-right-D0HKRb7U.js +1 -0
- package/dist/web/client/assets/attention-D9mQWoKt.js +1 -0
- package/dist/web/client/assets/bot-Bb--PFVU.js +1 -0
- package/dist/web/client/assets/chevron-right-bs0TUSl2.js +1 -0
- package/dist/web/client/assets/config-Dw6GWf38.js +1 -0
- package/dist/web/client/assets/createLucideIcon-DkniuEtD.js +1 -0
- package/dist/web/client/assets/download-C4t9l5wR.js +1 -0
- package/dist/web/client/assets/file-text-DzbjpYrV.js +1 -0
- package/dist/web/client/assets/images-DSYgPKM7.js +1 -0
- package/dist/web/client/assets/index-YW0gXPfk.js +14 -0
- package/dist/web/client/assets/key-round-BpK4-E3T.js +1 -0
- package/dist/web/client/assets/list-checks-JNXcmws9.js +1 -0
- package/dist/web/client/assets/login-DcQJk5-U.js +1 -0
- package/dist/web/client/assets/manage-SRGSx8n2.js +1 -0
- package/dist/web/client/assets/mcp-BUWu4TvS.js +1 -0
- package/dist/web/client/assets/message-square-DM2MP9vF.js +1 -0
- package/dist/web/client/assets/network-BJ4iPjQO.js +1 -0
- package/dist/web/client/assets/parts-LZxl9Gvc.js +41 -0
- package/dist/web/client/assets/plus-CLGNN5QX.js +1 -0
- package/dist/web/client/assets/routes-BxIIyGho.js +85 -0
- package/dist/web/client/assets/skills-C7DzIwFJ.js +1 -0
- package/dist/web/client/assets/square-terminal-Dmm6cV-G.js +1 -0
- package/dist/web/client/assets/style-CA2GAk9b.js +7 -0
- package/dist/web/client/assets/styles-C3CDSGAr.css +2 -0
- package/dist/web/client/assets/system-zQ0NnQML.js +1 -0
- package/dist/web/client/assets/teams-BEIJHObN.js +1 -0
- package/dist/web/client/assets/teams-DlOc7Ods.js +1 -0
- package/dist/web/client/assets/telegram-DKHq5DpE.js +1 -0
- package/dist/web/client/assets/tools-BKIpLaiC.js +1 -0
- package/dist/web/client/assets/use-resource-CQaIZbpy.js +1 -0
- package/dist/web/client/assets/users-round-BJrym3FG.js +1 -0
- package/dist/web/client/assets/welcome-CyS4Hrd-.js +1 -0
- package/dist/web/client/assets/wrench-GbE1M1RJ.js +1 -0
- package/dist/web/server/assets/{AddProviderDialog-Tn4AskPm.js → AddProviderDialog-Nc5mc_P6.js} +106 -8
- package/dist/web/server/assets/AgentTemplateParts-DZK_r3nQ.js +266 -0
- package/dist/web/server/assets/{ConfigPage-DqDUujmt.js → ConfigPage-CxzL-gTm.js} +2 -2
- package/dist/web/server/assets/{ConfirmDialog-DfaJ--A6.js → ConfirmDialog-4xeCXKHe.js} +1 -2
- package/dist/web/server/assets/{ConnectionsView-DAG-zNBz.js → ConnectionsView-B02FjNsM.js} +9 -9
- package/dist/web/server/assets/ManagePage-BfCWE8Lj.js +29 -0
- package/dist/web/server/assets/ModelMenu-D-hTgYOO.js +278 -0
- package/dist/web/server/assets/{Rail-BIC_4ptO.js → Rail-3gbidhyv.js} +17 -110
- package/dist/web/server/assets/{SectionTabs-BGsrf-UQ.js → SectionTabs-CWQ5orUW.js} +9 -2
- package/dist/web/server/assets/SkillsParts-D58l8voo.js +199 -0
- package/dist/web/server/assets/SpawnDialog-MJWwppgC.js +1648 -0
- package/dist/web/server/assets/SpawnTeamModal-RjzAeX_Q.js +124 -0
- package/dist/web/server/assets/TeamForm-DdOgIMiV.js +138 -0
- package/dist/web/server/assets/{TeamThread-DuLlGDcw.js → TeamThread-D-PvO3fu.js} +9 -9
- package/dist/web/server/assets/{UnsavedChangesGuard-DrOvPV14.js → UnsavedChangesGuard-Bb5frygQ.js} +1 -1
- package/dist/web/server/assets/{_id-TVruGcOd.js → _id-BKzOw78O.js} +11 -3
- package/dist/web/server/assets/_id-BPjVkcNb.js +396 -0
- package/dist/web/server/assets/_id-BUfy-GwH.js +16 -0
- package/dist/web/server/assets/{_id-yN0z7VqE.js → _id-C1_l6oSR.js} +257 -207
- package/dist/web/server/assets/{_id-DJnYgisy.js → _id-CHvYQhWt.js} +8 -4
- package/dist/web/server/assets/_id-De3Bm0SG.js +39 -0
- package/dist/web/server/assets/_tanstack-start-manifest_v-CR3jm1nY.js +256 -0
- package/dist/web/server/assets/access-CNfvQ3NB.js +295 -0
- package/dist/web/server/assets/{access-GMGed5O8.js → access-Cm_izIIC.js} +2 -2
- package/dist/web/server/assets/{access-C_pupPks.js → access-WWspT0v4.js} +2 -1
- package/dist/web/server/assets/agent-actions-COnfW5AU.js +20 -0
- package/dist/web/server/assets/agents-C7UmTjfO.js +13 -0
- package/dist/web/server/assets/{agents-BnWgFo6o.js → agents-CRtMfKqX.js} +9 -6
- package/dist/web/server/assets/agents-D0hfGIMK.js +134 -0
- package/dist/web/server/assets/agents-DQowl6Ly.js +31 -0
- package/dist/web/server/assets/agents-DzpqlIuJ.js +12 -0
- package/dist/web/server/assets/agents-NOkh61dV.js +323 -0
- package/dist/web/server/assets/attention-CRvxt22X.js +232 -0
- package/dist/web/server/assets/{attention-Cr7puThv.js → attention-CgWhXjX7.js} +4 -1
- package/dist/web/server/assets/{attention-DS3O9UmJ.js → attention-Cx9ZWPOO.js} +4 -2
- package/dist/web/server/assets/{config-DjTGA4iZ.js → config-B5CS8juO.js} +2 -2
- package/dist/web/server/assets/{config-Q7livfa3.js → config-D117117T.js} +51 -102
- package/dist/web/server/assets/createSsrRpc-CwTd0zrB.js +72 -0
- package/dist/web/server/assets/{login-VV10kZBl.js → login-IF0Gbsuq.js} +36 -2
- package/dist/web/server/assets/{login-JoIjlcmu.js → login-va4EtvA8.js} +34 -45
- package/dist/web/server/assets/manage-Ce6cI4eW.js +240 -0
- package/dist/web/server/assets/{mcp-ZARSOxZW.js → mcp-Bm9U6x7N.js} +2 -2
- package/dist/web/server/assets/mcp-C96PBxpb.js +376 -0
- package/dist/web/server/assets/page-title-CwcbXMhx.js +95 -0
- package/dist/web/server/assets/{router-Dh2-IvLL.js → router-8Iq19GOz.js} +366 -203
- package/dist/web/server/assets/{routes-C9NawqcV.js → routes-BLo-fWbQ.js} +2681 -1667
- package/dist/web/server/assets/{routes-CDskMy5C.js → routes-BXvYYFrN.js} +2 -2
- package/dist/web/server/assets/routes-Kwam6JmS.js +89 -0
- package/dist/web/server/assets/{skills-StN15QhC.js → skills-BqCnA-74.js} +2 -2
- package/dist/web/server/assets/skills-DSezIdDc.js +157 -0
- package/dist/web/server/assets/{skills-h5aHa7Q8.js → skills-DWzlT_hC.js} +9 -1
- package/dist/web/server/assets/{style-GYDODk2F.js → style-C2hIPY_Y.js} +2 -2
- package/dist/web/server/assets/{system-Dl-1RhoP.js → system-CcLCmkIC.js} +2 -2
- package/dist/web/server/assets/{system-DtswhLW6.js → system-D3th6n2E.js} +4 -2
- package/dist/web/server/assets/system-E0VePdzO.js +145 -0
- package/dist/web/server/assets/{teams-BxnvFTyn.js → teams-70u1XQTr.js} +1 -3
- package/dist/web/server/assets/{teams-YrmyutM4.js → teams-BopOP4x7.js} +8 -1
- package/dist/web/server/assets/teams-CQVV18D3.js +216 -0
- package/dist/web/server/assets/teams-CdCmBJIj.js +174 -0
- package/dist/web/server/assets/{teams-5PMGvHuM.js → teams-DScFp8mK.js} +2 -2
- package/dist/web/server/assets/{teams-CbIPKf99.js → teams-DxA-vnzY.js} +4 -2
- package/dist/web/server/assets/telegram-DJ8s_91Y.js +1057 -0
- package/dist/web/server/assets/{telegram-Cv0D4gyz.js → telegram-DR7xijeS.js} +2 -2
- package/dist/web/server/assets/{tools-ioJcPzMW.js → tools-CsH9DI-4.js} +2 -2
- package/dist/web/server/assets/{tools-OfD22R-C.js → tools-V6kezUpL.js} +55 -218
- package/dist/web/server/assets/{use-resource-DVzK0toP.js → use-resource-CjcJwn7F.js} +1 -1
- package/dist/web/server/assets/{welcome-jxmpE_Jb.js → welcome-BpmcD-ia.js} +2 -2
- package/dist/web/server/assets/{welcome-FFEbrNT1.js → welcome-Ya8TkL4v.js} +10 -10
- package/dist/web/server/server.js +19 -19
- package/dist/worker.js +17 -0
- package/dist/worker.js.map +1 -1
- package/package.json +1 -1
- package/dist/web/client/assets/AddProviderDialog-BiGLKnu2.js +0 -1
- package/dist/web/client/assets/ConfigPage-DvBzy2MN.js +0 -1
- package/dist/web/client/assets/ConfirmDialog-CiZ5tk9R.js +0 -1
- package/dist/web/client/assets/ConnectionsView-Czkpm2JY.js +0 -1
- package/dist/web/client/assets/Dialog-s_kPtI-W.js +0 -1
- package/dist/web/client/assets/ModelMenu-BfUPoRjV.js +0 -1
- package/dist/web/client/assets/SectionTabs-DENNb6Nw.js +0 -1
- package/dist/web/client/assets/Segmented-Dh77vmpp.js +0 -1
- package/dist/web/client/assets/SkillFindings-Xng11qqx.js +0 -1
- package/dist/web/client/assets/SkillsPicker-hI3YXvib.js +0 -1
- package/dist/web/client/assets/SpawnDialog-CKWFQ6jk.js +0 -1
- package/dist/web/client/assets/Tabs-f6bHvCGn.js +0 -1
- package/dist/web/client/assets/TeamForm-kda1HYZG.js +0 -1
- package/dist/web/client/assets/TeamThread-2rm1JGSk.js +0 -1
- package/dist/web/client/assets/UnsavedChangesGuard-nx6dv2Yw.js +0 -1
- package/dist/web/client/assets/_id-B72mIpcE.js +0 -1
- package/dist/web/client/assets/_id-Bzavnza1.js +0 -1
- package/dist/web/client/assets/access-Yw9jODuk.js +0 -1
- package/dist/web/client/assets/agents-C9xoyL7o.js +0 -1
- package/dist/web/client/assets/agents-TviG16wx.js +0 -1
- package/dist/web/client/assets/api-HC_YzjBy.js +0 -1
- package/dist/web/client/assets/arrow-right-Gm_FDWJ_.js +0 -1
- package/dist/web/client/assets/attention-DmURtlJm.js +0 -1
- package/dist/web/client/assets/check-BjgKoGvU.js +0 -1
- package/dist/web/client/assets/chevron-right-CUZiA2aG.js +0 -1
- package/dist/web/client/assets/config-UZz_mjO5.js +0 -1
- package/dist/web/client/assets/createLucideIcon-C6gOo8sD.js +0 -1
- package/dist/web/client/assets/dist-BWppw70N.js +0 -41
- package/dist/web/client/assets/dist-D2dwY7MR.js +0 -1
- package/dist/web/client/assets/entities-xVoB-p2j.js +0 -1
- package/dist/web/client/assets/index-Df1oUtAP.js +0 -14
- package/dist/web/client/assets/link-Cbztlp_R.js +0 -1
- package/dist/web/client/assets/login-CPfdaqsV.js +0 -1
- package/dist/web/client/assets/mcp-FlYnNon0.js +0 -1
- package/dist/web/client/assets/model-facts-DoB6QD5y.js +0 -1
- package/dist/web/client/assets/parts-tIDBNsYA.js +0 -1
- package/dist/web/client/assets/plus-CWrKMtvA.js +0 -1
- package/dist/web/client/assets/routes-BZaWCoQj.js +0 -76
- package/dist/web/client/assets/save-f9O-CQia.js +0 -1
- package/dist/web/client/assets/skills-C7yDPC8s.js +0 -1
- package/dist/web/client/assets/style-DDuTFJUu.js +0 -7
- package/dist/web/client/assets/styles-BviXU81u.css +0 -2
- package/dist/web/client/assets/system-CL3Kz36L.js +0 -1
- package/dist/web/client/assets/teams-CQTEF5gV.js +0 -1
- package/dist/web/client/assets/teams-DQ7SqVyF.js +0 -1
- package/dist/web/client/assets/telegram-BLgxtGhZ.js +0 -1
- package/dist/web/client/assets/tools-pOQyGVYo.js +0 -1
- package/dist/web/client/assets/use-resource-C3MBZJop.js +0 -1
- package/dist/web/client/assets/welcome-Hr6JpMef.js +0 -1
- package/dist/web/client/assets/wrench-6BEIqKDn.js +0 -1
- package/dist/web/server/assets/Dialog-aup_yJv5.js +0 -85
- package/dist/web/server/assets/ModelMenu-DUY9aHkE.js +0 -138
- package/dist/web/server/assets/SkillFindings-BdATze1A.js +0 -46
- package/dist/web/server/assets/SkillsPicker-DlqEfRWh.js +0 -67
- package/dist/web/server/assets/SpawnDialog-D_SMPCG_.js +0 -132
- package/dist/web/server/assets/Tabs-BhF41MfQ.js +0 -20
- package/dist/web/server/assets/TeamForm-ilBaeLI4.js +0 -96
- package/dist/web/server/assets/_id-BsZcsabI.js +0 -383
- package/dist/web/server/assets/_id-D8Kj0F30.js +0 -18
- package/dist/web/server/assets/_id-QYifTM9w.js +0 -28
- package/dist/web/server/assets/_tanstack-start-manifest_v-D6zrzUC7.js +0 -223
- package/dist/web/server/assets/access-DKOpcHIJ.js +0 -232
- package/dist/web/server/assets/agents-B6OR3x99.js +0 -327
- package/dist/web/server/assets/agents-B7642eRO.js +0 -130
- package/dist/web/server/assets/agents-BJ-_oC2e.js +0 -14
- package/dist/web/server/assets/agents-CjV0w-Zy.js +0 -12
- package/dist/web/server/assets/agents-Dy_Q-9lG.js +0 -27
- package/dist/web/server/assets/attention-CLP4HYBz.js +0 -216
- package/dist/web/server/assets/createSsrRpc-GCCF14VW.js +0 -169
- package/dist/web/server/assets/entities-Dn2xzKIw.js +0 -16
- package/dist/web/server/assets/mcp-BI-FD-JI.js +0 -250
- package/dist/web/server/assets/model-facts-mrfrWQne.js +0 -136
- package/dist/web/server/assets/parts-B31PJkhi.js +0 -190
- package/dist/web/server/assets/routes-BJIJWCIE.js +0 -16
- package/dist/web/server/assets/skills-BqLq3ZXq.js +0 -275
- package/dist/web/server/assets/system-BtRA2HUs.js +0 -138
- package/dist/web/server/assets/teams-COaU0wN9.js +0 -108
- package/dist/web/server/assets/teams-Ca8W4mvl.js +0 -88
- package/dist/web/server/assets/telegram-Yx8nm6Ei.js +0 -984
- package/dist/web/server/assets/utils-C_uf36nf.js +0 -8
- package/dist/web/server/assets/workspace-DaitCM0t.js +0 -651
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { i as getServerFnById, r as TSS_SERVER_FUNCTION } from "../server.js";
|
|
2
|
+
import { p as cn } from "./ModelMenu-D-hTgYOO.js";
|
|
3
|
+
import { n as usePageTitle } from "./page-title-CwcbXMhx.js";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
//#region src/components/Page.tsx
|
|
6
|
+
var PAGE_SIZE_CLASS = {
|
|
7
|
+
narrow: "max-w-3xl",
|
|
8
|
+
default: "max-w-5xl",
|
|
9
|
+
wide: "max-w-[1500px]"
|
|
10
|
+
};
|
|
11
|
+
function PageShell({ size = "default", className, ...props }) {
|
|
12
|
+
return /* @__PURE__ */ jsx("div", {
|
|
13
|
+
className: cn("mx-auto min-w-0 w-full space-y-6", PAGE_SIZE_CLASS[size], className),
|
|
14
|
+
...props
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
function PageHeader({ eyebrow, title, description, actions, className, ...props }) {
|
|
18
|
+
usePageTitle(typeof title === "string" ? [title, typeof eyebrow === "string" ? eyebrow : null].filter(Boolean).join(" · ") : null);
|
|
19
|
+
return /* @__PURE__ */ jsxs("header", {
|
|
20
|
+
className: cn("flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between", className),
|
|
21
|
+
...props,
|
|
22
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
23
|
+
className: "min-w-0",
|
|
24
|
+
children: [
|
|
25
|
+
eyebrow && /* @__PURE__ */ jsx("div", {
|
|
26
|
+
className: "mb-1 text-xs font-semibold uppercase tracking-[0.12em] text-primary",
|
|
27
|
+
children: eyebrow
|
|
28
|
+
}),
|
|
29
|
+
title && /* @__PURE__ */ jsx("h1", {
|
|
30
|
+
className: "m-0 font-display text-3xl leading-tight text-foreground sm:text-[2.1rem]",
|
|
31
|
+
children: title
|
|
32
|
+
}),
|
|
33
|
+
description && /* @__PURE__ */ jsx("div", {
|
|
34
|
+
className: "mt-2 max-w-3xl text-sm leading-6 text-muted-foreground",
|
|
35
|
+
children: description
|
|
36
|
+
})
|
|
37
|
+
]
|
|
38
|
+
}), actions && /* @__PURE__ */ jsx("div", {
|
|
39
|
+
className: "flex shrink-0 flex-wrap items-center gap-2",
|
|
40
|
+
children: actions
|
|
41
|
+
})]
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
var STATUS_BADGE_CLASS = {
|
|
45
|
+
neutral: "border-border bg-muted text-muted-foreground",
|
|
46
|
+
info: "border-primary/20 bg-accent text-accent-foreground",
|
|
47
|
+
success: "border-success/25 bg-success/10 text-success",
|
|
48
|
+
warning: "border-warning/25 bg-warning/10 text-warning",
|
|
49
|
+
danger: "border-danger/25 bg-danger/10 text-danger"
|
|
50
|
+
};
|
|
51
|
+
function StatusBadge({ variant = "neutral", className, ...props }) {
|
|
52
|
+
return /* @__PURE__ */ jsx("span", {
|
|
53
|
+
className: cn("inline-flex items-center gap-1 rounded-full border px-2 py-0.5 text-xs font-semibold leading-5", STATUS_BADGE_CLASS[variant], className),
|
|
54
|
+
...props
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
//#endregion
|
|
58
|
+
//#region ../../node_modules/.pnpm/@tanstack+start-server-core@1.169.17/node_modules/@tanstack/start-server-core/dist/esm/createSsrRpc.js
|
|
59
|
+
var createSsrRpc = (functionId) => {
|
|
60
|
+
const url = "/_serverFn/" + functionId;
|
|
61
|
+
const serverFnMeta = { id: functionId };
|
|
62
|
+
const fn = async (...args) => {
|
|
63
|
+
return (await getServerFnById(functionId, { origin: "server" }))(...args);
|
|
64
|
+
};
|
|
65
|
+
return Object.assign(fn, {
|
|
66
|
+
url,
|
|
67
|
+
serverFnMeta,
|
|
68
|
+
[TSS_SERVER_FUNCTION]: true
|
|
69
|
+
});
|
|
70
|
+
};
|
|
71
|
+
//#endregion
|
|
72
|
+
export { StatusBadge as i, PageHeader as n, PageShell as r, createSsrRpc as t };
|
|
@@ -1,9 +1,43 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as usePageTitle } from "./page-title-CwcbXMhx.js";
|
|
2
|
+
import { a as PawIcon, i as useThemeMode, o as BaziuLogo, r as setThemeMode, t as Route } from "./login-va4EtvA8.js";
|
|
2
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { KeyRound, MessageSquareText, UsersRound } from "lucide-react";
|
|
4
|
+
import { KeyRound, MessageSquareText, Monitor, Moon, Sun, UsersRound } from "lucide-react";
|
|
5
|
+
//#region src/components/ThemeToggle.tsx
|
|
6
|
+
var ICONS = {
|
|
7
|
+
system: Monitor,
|
|
8
|
+
light: Sun,
|
|
9
|
+
dark: Moon
|
|
10
|
+
};
|
|
11
|
+
var NEXT = {
|
|
12
|
+
system: "light",
|
|
13
|
+
light: "dark",
|
|
14
|
+
dark: "system"
|
|
15
|
+
};
|
|
16
|
+
function ThemeToggle() {
|
|
17
|
+
const mode = useThemeMode();
|
|
18
|
+
const Icon = ICONS[mode];
|
|
19
|
+
const next = NEXT[mode];
|
|
20
|
+
const label = `Theme: ${mode}. Switch to ${next}.`;
|
|
21
|
+
return /* @__PURE__ */ jsxs("button", {
|
|
22
|
+
type: "button",
|
|
23
|
+
onClick: () => setThemeMode(next),
|
|
24
|
+
className: "unstyled inline-flex h-9 items-center justify-center gap-2 rounded-lg border border-frost bg-ivory px-2.5 text-mocha shadow-baziu-sm transition-all hover:border-sapphire-light hover:bg-sapphire-glow hover:text-sapphire active:translate-y-px",
|
|
25
|
+
title: label,
|
|
26
|
+
"aria-label": label,
|
|
27
|
+
children: [/* @__PURE__ */ jsx(Icon, {
|
|
28
|
+
className: "h-4 w-4 shrink-0",
|
|
29
|
+
"aria-hidden": "true"
|
|
30
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
31
|
+
className: "hidden text-xs font-medium capitalize xl:inline",
|
|
32
|
+
children: mode
|
|
33
|
+
})]
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
//#endregion
|
|
4
37
|
//#region src/routes/login.tsx?tsr-split=component
|
|
5
38
|
function LoginPage() {
|
|
6
39
|
const { error } = Route.useSearch();
|
|
40
|
+
usePageTitle("Log in");
|
|
7
41
|
return /* @__PURE__ */ jsxs("main", {
|
|
8
42
|
className: "relative flex min-h-dvh items-center overflow-hidden bg-cream px-5 py-16 sm:px-8",
|
|
9
43
|
children: [
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { useEffect, useState } from "react";
|
|
2
2
|
import { createFileRoute, lazyRouteComponent } from "@tanstack/react-router";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
import { Monitor, Moon, Sun } from "lucide-react";
|
|
5
4
|
//#region src/components/BaziuLogo.tsx
|
|
6
5
|
function BaziuLogo({ className }) {
|
|
7
6
|
return /* @__PURE__ */ jsx("img", {
|
|
@@ -50,69 +49,59 @@ function PawIcon({ className }) {
|
|
|
50
49
|
});
|
|
51
50
|
}
|
|
52
51
|
//#endregion
|
|
53
|
-
//#region src/
|
|
52
|
+
//#region src/lib/theme.ts
|
|
53
|
+
var THEME_MODES = [
|
|
54
|
+
"system",
|
|
55
|
+
"light",
|
|
56
|
+
"dark"
|
|
57
|
+
];
|
|
54
58
|
var STORAGE_KEY = "baziu-theme";
|
|
55
|
-
var
|
|
56
|
-
system: Monitor,
|
|
57
|
-
light: Sun,
|
|
58
|
-
dark: Moon
|
|
59
|
-
};
|
|
60
|
-
var NEXT = {
|
|
61
|
-
system: "light",
|
|
62
|
-
light: "dark",
|
|
63
|
-
dark: "system"
|
|
64
|
-
};
|
|
59
|
+
var CHANGED = "baziu-theme-change";
|
|
65
60
|
function readMode() {
|
|
66
61
|
if (typeof window === "undefined") return "system";
|
|
67
|
-
|
|
68
|
-
|
|
62
|
+
try {
|
|
63
|
+
const value = window.localStorage.getItem(STORAGE_KEY);
|
|
64
|
+
return value === "light" || value === "dark" || value === "system" ? value : "system";
|
|
65
|
+
} catch {
|
|
66
|
+
return "system";
|
|
67
|
+
}
|
|
69
68
|
}
|
|
70
69
|
function applyMode(mode) {
|
|
71
|
-
const
|
|
72
|
-
|
|
73
|
-
document.documentElement.classList.toggle("dark", dark);
|
|
70
|
+
const systemDark = window.matchMedia("(prefers-color-scheme: dark)").matches;
|
|
71
|
+
document.documentElement.classList.toggle("dark", mode === "dark" || mode === "system" && systemDark);
|
|
74
72
|
}
|
|
75
|
-
|
|
73
|
+
/** Choose a theme for this browser: it applies at once, in every place that shows it. */
|
|
74
|
+
function setThemeMode(mode) {
|
|
75
|
+
try {
|
|
76
|
+
window.localStorage.setItem(STORAGE_KEY, mode);
|
|
77
|
+
} catch {}
|
|
78
|
+
applyMode(mode);
|
|
79
|
+
window.dispatchEvent(new CustomEvent(CHANGED, { detail: mode }));
|
|
80
|
+
}
|
|
81
|
+
/** The theme in use, kept in step with every other place that changes it. */
|
|
82
|
+
function useThemeMode() {
|
|
76
83
|
const [mode, setMode] = useState("system");
|
|
77
84
|
useEffect(() => {
|
|
78
85
|
setMode(readMode());
|
|
86
|
+
const onChange = (event) => setMode(event.detail);
|
|
87
|
+
window.addEventListener(CHANGED, onChange);
|
|
88
|
+
return () => window.removeEventListener(CHANGED, onChange);
|
|
79
89
|
}, []);
|
|
80
90
|
useEffect(() => {
|
|
81
91
|
if (mode !== "system") return;
|
|
82
|
-
const
|
|
92
|
+
const query = window.matchMedia("(prefers-color-scheme: dark)");
|
|
83
93
|
const onChange = () => applyMode("system");
|
|
84
|
-
|
|
85
|
-
return () =>
|
|
94
|
+
query.addEventListener("change", onChange);
|
|
95
|
+
return () => query.removeEventListener("change", onChange);
|
|
86
96
|
}, [mode]);
|
|
87
|
-
|
|
88
|
-
const next = NEXT[mode];
|
|
89
|
-
setMode(next);
|
|
90
|
-
window.localStorage.setItem(STORAGE_KEY, next);
|
|
91
|
-
applyMode(next);
|
|
92
|
-
};
|
|
93
|
-
const Icon = ICONS[mode];
|
|
94
|
-
const label = `Theme: ${mode}. Switch to ${NEXT[mode]}.`;
|
|
95
|
-
return /* @__PURE__ */ jsxs("button", {
|
|
96
|
-
type: "button",
|
|
97
|
-
onClick: cycle,
|
|
98
|
-
className: "unstyled inline-flex h-9 items-center justify-center gap-2 rounded-lg border border-frost bg-ivory px-2.5 text-mocha shadow-baziu-sm transition-all hover:border-sapphire-light hover:bg-sapphire-glow hover:text-sapphire active:translate-y-px",
|
|
99
|
-
title: label,
|
|
100
|
-
"aria-label": label,
|
|
101
|
-
children: [/* @__PURE__ */ jsx(Icon, {
|
|
102
|
-
className: "h-4 w-4 shrink-0",
|
|
103
|
-
"aria-hidden": "true"
|
|
104
|
-
}), /* @__PURE__ */ jsx("span", {
|
|
105
|
-
className: "hidden text-xs font-medium capitalize xl:inline",
|
|
106
|
-
children: mode
|
|
107
|
-
})]
|
|
108
|
-
});
|
|
97
|
+
return mode;
|
|
109
98
|
}
|
|
110
99
|
//#endregion
|
|
111
100
|
//#region src/routes/login.tsx
|
|
112
|
-
var $$splitComponentImporter = () => import("./login-
|
|
101
|
+
var $$splitComponentImporter = () => import("./login-IF0Gbsuq.js");
|
|
113
102
|
var Route = createFileRoute("/login")({
|
|
114
103
|
validateSearch: (search) => ({ error: search.error === "token" || search.error === "origin" ? search.error : void 0 }),
|
|
115
104
|
component: lazyRouteComponent($$splitComponentImporter, "component")
|
|
116
105
|
});
|
|
117
106
|
//#endregion
|
|
118
|
-
export {
|
|
107
|
+
export { PawIcon as a, useThemeMode as i, THEME_MODES as n, BaziuLogo as o, setThemeMode as r, Route as t };
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
import { l as modelName } from "./ModelMenu-D-hTgYOO.js";
|
|
2
|
+
//#region src/lib/manage.ts
|
|
3
|
+
/** "A", "A and B", "A, B and C". */
|
|
4
|
+
function listed(items) {
|
|
5
|
+
if (items.length <= 1) return items[0] ?? "";
|
|
6
|
+
return `${items.slice(0, -1).join(", ")} and ${items[items.length - 1]}`;
|
|
7
|
+
}
|
|
8
|
+
/** "1 Agent", "3 Agents": a count with its noun. */
|
|
9
|
+
function count(n, one, many = `${one}s`) {
|
|
10
|
+
return `${n} ${n === 1 ? one : many}`;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* An id the daemon accepts, made from a name: lowercase letters, digits and hyphens, starting
|
|
14
|
+
* with a letter or digit. Empty when the name has none of them.
|
|
15
|
+
*/
|
|
16
|
+
function slugify(name) {
|
|
17
|
+
return name.normalize("NFKD").replace(/[̀-ͯ]/g, "").toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "").slice(0, 48).replace(/-+$/, "");
|
|
18
|
+
}
|
|
19
|
+
var SLUG = /^[a-z0-9][a-z0-9-]*$/;
|
|
20
|
+
/** What is wrong with a typed id, or undefined when the daemon will accept it. */
|
|
21
|
+
function slugProblem(id) {
|
|
22
|
+
if (id === "" || SLUG.test(id)) return void 0;
|
|
23
|
+
return "Lowercase letters, digits and hyphens, starting with a letter or digit.";
|
|
24
|
+
}
|
|
25
|
+
/** Whether an Agent's name, or what its IDENTITY.md says about it, holds what was typed. */
|
|
26
|
+
function matchesAgent(agent, query) {
|
|
27
|
+
const words = query.toLowerCase().split(/\s+/).filter(Boolean);
|
|
28
|
+
if (words.length === 0) return true;
|
|
29
|
+
const text = [
|
|
30
|
+
agent.name,
|
|
31
|
+
agent.identity?.creature,
|
|
32
|
+
agent.identity?.vibe
|
|
33
|
+
].filter(Boolean).join(" ").toLowerCase();
|
|
34
|
+
return words.every((word) => text.includes(word));
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* The Agents to show, one group per Team in the order the Teams come, each group's Agents by
|
|
38
|
+
* name. A Team with none to show is left out; an Agent whose Team is unknown is not lost.
|
|
39
|
+
*/
|
|
40
|
+
function groupAgents(agents, teams, filter, query) {
|
|
41
|
+
const shown = agents.filter((agent) => (filter === "all" || (filter === "archived" ? agent.status === "archived" : agent.status !== "archived")) && matchesAgent(agent, query));
|
|
42
|
+
const known = new Set(teams.map((team) => team.id));
|
|
43
|
+
const groups = teams.map((team) => ({
|
|
44
|
+
team,
|
|
45
|
+
agents: shown.filter((agent) => agent.teamId === team.id)
|
|
46
|
+
}));
|
|
47
|
+
for (const agent of shown) {
|
|
48
|
+
if (known.has(agent.teamId)) continue;
|
|
49
|
+
let group = groups.find((entry) => entry.team.id === agent.teamId);
|
|
50
|
+
if (!group) {
|
|
51
|
+
group = {
|
|
52
|
+
team: unknownTeam(agent.teamId),
|
|
53
|
+
agents: []
|
|
54
|
+
};
|
|
55
|
+
groups.push(group);
|
|
56
|
+
}
|
|
57
|
+
group.agents.push(agent);
|
|
58
|
+
}
|
|
59
|
+
for (const group of groups) group.agents.sort((a, b) => a.name.localeCompare(b.name));
|
|
60
|
+
return groups.filter((group) => group.agents.length > 0);
|
|
61
|
+
}
|
|
62
|
+
function unknownTeam(id) {
|
|
63
|
+
return {
|
|
64
|
+
id,
|
|
65
|
+
name: id,
|
|
66
|
+
path: "",
|
|
67
|
+
userMd: "",
|
|
68
|
+
telegramTopicNameFormat: null,
|
|
69
|
+
policyMode: "open",
|
|
70
|
+
createdAt: 0
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
function agentCounts(agents) {
|
|
74
|
+
const archived = agents.filter((agent) => agent.status === "archived").length;
|
|
75
|
+
return {
|
|
76
|
+
current: agents.length - archived,
|
|
77
|
+
archived
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
/** The model an Agent answers with: its own, or its template's. */
|
|
81
|
+
function agentModel(agent, templates, chat) {
|
|
82
|
+
const value = agent.modelOverride ?? templates.find((template) => template.id === agent.profileId)?.defaultModel;
|
|
83
|
+
if (!value) return null;
|
|
84
|
+
return {
|
|
85
|
+
...modelLine(value, chat),
|
|
86
|
+
inherited: agent.modelOverride === null
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
/** A model by its name when Chat knows it, and whether it is there at all. */
|
|
90
|
+
function modelLine(value, chat) {
|
|
91
|
+
const entry = chat.find((model) => model.value === value);
|
|
92
|
+
return {
|
|
93
|
+
name: entry ? modelName(entry) : value,
|
|
94
|
+
inherited: false,
|
|
95
|
+
missing: !entry
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
/** A template's name, or its id when it has none. */
|
|
99
|
+
function templateName(template) {
|
|
100
|
+
return template.name.trim() || template.id;
|
|
101
|
+
}
|
|
102
|
+
/** Why a Team cannot be removed, or null when it can. */
|
|
103
|
+
function teamRemoveBlocker(members) {
|
|
104
|
+
if (members === 0) return null;
|
|
105
|
+
return `Move or delete its ${count(members, "Agent")} first.`;
|
|
106
|
+
}
|
|
107
|
+
/** The Team templates with a slot on this Agent template. */
|
|
108
|
+
function teamTemplatesUsing(templateId, teamTemplates) {
|
|
109
|
+
return teamTemplates.filter((entry) => entry.slots.some((slot) => slot.profileId === templateId));
|
|
110
|
+
}
|
|
111
|
+
/** Who spawns from a template: its Agents and the Team templates that name it. */
|
|
112
|
+
function templateUseLine(template, teamTemplates) {
|
|
113
|
+
const rosters = teamTemplatesUsing(template.id, teamTemplates);
|
|
114
|
+
const parts = [template.agentCount > 0 ? count(template.agentCount, "Agent") : null, rosters.length > 0 ? `${rosters.length === 1 ? "Team template" : "Team templates"} ${listed(rosters.map((entry) => entry.name))}` : null].filter(Boolean);
|
|
115
|
+
return parts.length > 0 ? `Used by ${parts.join(" and ")}` : "Not used yet";
|
|
116
|
+
}
|
|
117
|
+
/** Why a template cannot be deleted, or null when it can: the daemon's own two rules. */
|
|
118
|
+
function templateDeleteBlocker(template, teamTemplates) {
|
|
119
|
+
if (template.agentCount > 0) return `${count(template.agentCount, "Agent")} ${template.agentCount === 1 ? "was" : "were"} spawned from it.`;
|
|
120
|
+
const rosters = teamTemplatesUsing(template.id, teamTemplates);
|
|
121
|
+
if (rosters.length > 0) return `${rosters.length === 1 ? "The Team template" : "The Team templates"} ${listed(rosters.map((entry) => entry.name))} ${rosters.length === 1 ? "uses" : "use"} it.`;
|
|
122
|
+
return null;
|
|
123
|
+
}
|
|
124
|
+
function skillsLine(template) {
|
|
125
|
+
if (template.skillsMode === "all") return "All skills";
|
|
126
|
+
if (template.defaultSkills.length === 0) return "No skills";
|
|
127
|
+
return template.defaultSkills.join(", ");
|
|
128
|
+
}
|
|
129
|
+
function rosterLine(template) {
|
|
130
|
+
if (template.slots.length === 0) return "No Agents yet";
|
|
131
|
+
return template.slots.map((slot) => slot.agentName).join(", ");
|
|
132
|
+
}
|
|
133
|
+
function rosterCounts(template) {
|
|
134
|
+
return `${count(template.slots.length, "Agent")} · ${count(template.edges.length, "connection")}`;
|
|
135
|
+
}
|
|
136
|
+
/** Where a skill was imported from, in short: a folder's last name, a ZIP file's name. */
|
|
137
|
+
function skillSourceLabel(source) {
|
|
138
|
+
if (!source) return "Source unknown";
|
|
139
|
+
if (source === "openclaw") return "From OpenClaw";
|
|
140
|
+
if (source.startsWith("uploaded:")) return `From ${source.slice(9)}`;
|
|
141
|
+
const folder = source.replace(/\/+$/, "").split("/").pop();
|
|
142
|
+
return folder ? `From the folder ${folder}` : `From ${source}`;
|
|
143
|
+
}
|
|
144
|
+
/** The skill's scan, as a chip: nothing when it is clean. */
|
|
145
|
+
function skillState(skill) {
|
|
146
|
+
if (skill.parseError) return {
|
|
147
|
+
label: "Cannot be read",
|
|
148
|
+
tone: "warning"
|
|
149
|
+
};
|
|
150
|
+
const findings = skill.scanFindings ?? [];
|
|
151
|
+
if (findings.length === 0) return null;
|
|
152
|
+
return {
|
|
153
|
+
label: `${findings.some((finding) => finding.severity === "danger") ? "Risky" : "Check"}: ${count(findings.length, "finding")}`,
|
|
154
|
+
tone: "warning"
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
/** The templates that chose a skill by name; those that take all skills are said once. */
|
|
158
|
+
function skillChosenBy(name, templates) {
|
|
159
|
+
const named = templates.filter((template) => template.skillsMode === "selected" && template.defaultSkills.includes(name)).map(templateName);
|
|
160
|
+
return named.length > 0 ? `Chosen by ${listed(named)}` : null;
|
|
161
|
+
}
|
|
162
|
+
/** The templates that attach every installed skill, or null when there are none. */
|
|
163
|
+
function allSkillsLine(templates) {
|
|
164
|
+
const all = templates.filter((template) => template.skillsMode === "all").map(templateName);
|
|
165
|
+
if (all.length === 0) return null;
|
|
166
|
+
return all.length === 1 ? `${all[0]} attaches every skill to the Agents it spawns.` : `${listed(all)} attach every skill to the Agents they spawn.`;
|
|
167
|
+
}
|
|
168
|
+
/** Who gets a skill at spawn, as a sentence for the confirmation to remove it. */
|
|
169
|
+
function skillUseSentence(name, templates) {
|
|
170
|
+
const chosen = skillChosenBy(name, templates);
|
|
171
|
+
const all = templates.some((template) => template.skillsMode === "all");
|
|
172
|
+
if (!chosen && !all) return "No template attaches it.";
|
|
173
|
+
const sentence = `${[chosen, all ? "templates that take all skills attach it" : null].filter(Boolean).join("; ")}.`;
|
|
174
|
+
return sentence.charAt(0).toUpperCase() + sentence.slice(1);
|
|
175
|
+
}
|
|
176
|
+
/** Skills that need a look: risky findings, or a SKILL.md that cannot be read. */
|
|
177
|
+
function skillsNeedingALook(skills) {
|
|
178
|
+
return skills.filter((skill) => Boolean(skill.parseError) || (skill.scanFindings ?? []).some((finding) => finding.severity === "danger"));
|
|
179
|
+
}
|
|
180
|
+
function matchesSkill(skill, query) {
|
|
181
|
+
const words = query.toLowerCase().split(/\s+/).filter(Boolean);
|
|
182
|
+
const text = `${skill.name} ${skill.description}`.toLowerCase();
|
|
183
|
+
return words.every((word) => text.includes(word));
|
|
184
|
+
}
|
|
185
|
+
var ATTENTION_KINDS = {
|
|
186
|
+
agent_question: "Questions",
|
|
187
|
+
command_approval: "Commands to approve",
|
|
188
|
+
lesson_proposal: "Lesson proposals",
|
|
189
|
+
review_failure: "Review failures",
|
|
190
|
+
trigger_failure: "Schedule failures",
|
|
191
|
+
agent_loop_break: "Loop breaks",
|
|
192
|
+
queue_interrupted: "Paused queues"
|
|
193
|
+
};
|
|
194
|
+
function severityLabel(severity) {
|
|
195
|
+
switch (severity) {
|
|
196
|
+
case "action_required": return {
|
|
197
|
+
label: "Waiting for you",
|
|
198
|
+
tone: "warning"
|
|
199
|
+
};
|
|
200
|
+
case "error": return {
|
|
201
|
+
label: "Error",
|
|
202
|
+
tone: "warning"
|
|
203
|
+
};
|
|
204
|
+
case "warning": return {
|
|
205
|
+
label: "Warning",
|
|
206
|
+
tone: "neutral"
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
/** The line above the items: how much is open and what kind it is. */
|
|
211
|
+
function attentionSummary(summary) {
|
|
212
|
+
const { openTotal, bySeverity } = summary;
|
|
213
|
+
if (openTotal === 0) return {
|
|
214
|
+
tone: "success",
|
|
215
|
+
lead: "Nothing needs you.",
|
|
216
|
+
rest: "New items appear here as they happen."
|
|
217
|
+
};
|
|
218
|
+
const decisions = bySeverity.action_required;
|
|
219
|
+
const questions = summary.byKind.agent_question ?? 0;
|
|
220
|
+
const commands = summary.byKind.command_approval ?? 0;
|
|
221
|
+
const others = decisions - questions - commands;
|
|
222
|
+
const problems = bySeverity.error + bySeverity.warning;
|
|
223
|
+
const parts = [
|
|
224
|
+
questions > 0 ? `${count(questions, "question")} waiting for your answer` : null,
|
|
225
|
+
commands > 0 ? `${count(commands, "command")} waiting for your approval` : null,
|
|
226
|
+
others > 0 ? `${count(others, "decision")} waiting for you` : null,
|
|
227
|
+
problems > 0 ? `${count(problems, "error or warning", "errors or warnings")} to look at` : null
|
|
228
|
+
].filter(Boolean);
|
|
229
|
+
return {
|
|
230
|
+
tone: decisions > 0 ? "warning" : "neutral",
|
|
231
|
+
lead: `${count(openTotal, "open item")}.`,
|
|
232
|
+
rest: `${new Intl.ListFormat("en", { type: "conjunction" }).format(parts)}.`.replace(/^./, (first) => first.toUpperCase())
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
/** Where an item is from: its Agent and Team, or the system. */
|
|
236
|
+
function attentionSource(item) {
|
|
237
|
+
return [item.agentName, item.teamName].filter(Boolean).join(" · ") || "System";
|
|
238
|
+
}
|
|
239
|
+
//#endregion
|
|
240
|
+
export { teamRemoveBlocker as C, templateUseLine as E, slugify as S, templateName as T, skillState as _, attentionSource as a, skillsNeedingALook as b, groupAgents as c, modelLine as d, rosterCounts as f, skillSourceLabel as g, skillChosenBy as h, allSkillsLine as i, listed as l, severityLabel as m, agentCounts as n, attentionSummary as o, rosterLine as p, agentModel as r, count as s, ATTENTION_KINDS as t, matchesSkill as u, skillUseSentence as v, templateDeleteBlocker as w, slugProblem as x, skillsLine as y };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as createServerFn } from "../server.js";
|
|
2
|
-
import { t as createSsrRpc } from "./createSsrRpc-
|
|
2
|
+
import { t as createSsrRpc } from "./createSsrRpc-CwTd0zrB.js";
|
|
3
3
|
import { createFileRoute, lazyRouteComponent } from "@tanstack/react-router";
|
|
4
4
|
//#region src/routes/config/mcp.tsx
|
|
5
|
-
var $$splitComponentImporter = () => import("./mcp-
|
|
5
|
+
var $$splitComponentImporter = () => import("./mcp-C96PBxpb.js");
|
|
6
6
|
var fetchServers = createServerFn({ method: "GET" }).handler(createSsrRpc("278849457893891c3d22806d15e11a0a42cc3630b30e9e62b74cf2d3b982ded7"));
|
|
7
7
|
var Route = createFileRoute("/config/mcp")({
|
|
8
8
|
loader: () => fetchServers(),
|