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
|
@@ -1,327 +0,0 @@
|
|
|
1
|
-
import { C as api, T as errorMessage, u as Button } from "./workspace-DaitCM0t.js";
|
|
2
|
-
import { t as ConfirmDialog } from "./ConfirmDialog-DfaJ--A6.js";
|
|
3
|
-
import { t as UnsavedChangesGuard } from "./UnsavedChangesGuard-DrOvPV14.js";
|
|
4
|
-
import { n as ModelMenu } from "./ModelMenu-DUY9aHkE.js";
|
|
5
|
-
import { a as PageHeader, i as ItemRow, l as StatusBadge, o as PageShell, r as ItemList, s as SectionCard } from "./createSsrRpc-GCCF14VW.js";
|
|
6
|
-
import { t as Route } from "./agents-CjV0w-Zy.js";
|
|
7
|
-
import { n as SectionTabs, r as TEMPLATE_TABS } from "./SectionTabs-BGsrf-UQ.js";
|
|
8
|
-
import { t as Tabs } from "./Tabs-BhF41MfQ.js";
|
|
9
|
-
import { t as SkillsPicker } from "./SkillsPicker-DlqEfRWh.js";
|
|
10
|
-
import { useState } from "react";
|
|
11
|
-
import { useRouter } from "@tanstack/react-router";
|
|
12
|
-
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
13
|
-
//#region src/routes/templates/agents/index.tsx?tsr-split=component
|
|
14
|
-
function ProfilesPage() {
|
|
15
|
-
const { profiles, chatModels, skills, templates } = Route.useLoaderData();
|
|
16
|
-
const router = useRouter();
|
|
17
|
-
const [deleteTarget, setDeleteTarget] = useState(null);
|
|
18
|
-
return /* @__PURE__ */ jsxs(PageShell, {
|
|
19
|
-
size: "wide",
|
|
20
|
-
children: [
|
|
21
|
-
/* @__PURE__ */ jsx(PageHeader, {
|
|
22
|
-
eyebrow: "Templates",
|
|
23
|
-
title: "Agent templates",
|
|
24
|
-
description: "Reusable identity, model and skills for newly spawned agents."
|
|
25
|
-
}),
|
|
26
|
-
/* @__PURE__ */ jsx(SectionTabs, {
|
|
27
|
-
label: "Template kinds",
|
|
28
|
-
base: "/templates",
|
|
29
|
-
tabs: TEMPLATE_TABS
|
|
30
|
-
}),
|
|
31
|
-
/* @__PURE__ */ jsx(CreateProfileForm, {
|
|
32
|
-
chatModels,
|
|
33
|
-
skills,
|
|
34
|
-
templates,
|
|
35
|
-
onCreated: () => router.invalidate()
|
|
36
|
-
}),
|
|
37
|
-
/* @__PURE__ */ jsx(SectionCard, {
|
|
38
|
-
title: "Templates",
|
|
39
|
-
children: profiles.length === 0 ? /* @__PURE__ */ jsx("p", {
|
|
40
|
-
className: "muted",
|
|
41
|
-
children: "No Agent templates yet."
|
|
42
|
-
}) : /* @__PURE__ */ jsx(ItemList, { children: profiles.map((profile) => /* @__PURE__ */ jsx(ItemRow, {
|
|
43
|
-
title: /* @__PURE__ */ jsx("a", {
|
|
44
|
-
href: `/templates/agents/${encodeURIComponent(profile.id)}`,
|
|
45
|
-
children: profile.name
|
|
46
|
-
}),
|
|
47
|
-
meta: /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
48
|
-
/* @__PURE__ */ jsx("code", { children: profile.id }),
|
|
49
|
-
/* @__PURE__ */ jsx("code", { children: profile.defaultModel }),
|
|
50
|
-
/* @__PURE__ */ jsxs("span", { children: [
|
|
51
|
-
profile.agentCount,
|
|
52
|
-
" agent",
|
|
53
|
-
profile.agentCount === 1 ? "" : "s"
|
|
54
|
-
] }),
|
|
55
|
-
/* @__PURE__ */ jsxs("span", { children: [
|
|
56
|
-
"skills:",
|
|
57
|
-
" ",
|
|
58
|
-
profile.skillsMode === "all" ? "all" : profile.defaultSkills.join(", ") || "none"
|
|
59
|
-
] })
|
|
60
|
-
] }),
|
|
61
|
-
actions: profile.agentCount === 0 ? /* @__PURE__ */ jsx(Button, {
|
|
62
|
-
variant: "danger",
|
|
63
|
-
onClick: () => setDeleteTarget(profile),
|
|
64
|
-
children: "Delete"
|
|
65
|
-
}) : /* @__PURE__ */ jsx(StatusBadge, {
|
|
66
|
-
title: `${profile.agentCount} agent(s) use this template`,
|
|
67
|
-
children: "In use"
|
|
68
|
-
})
|
|
69
|
-
}, profile.id)) })
|
|
70
|
-
}),
|
|
71
|
-
/* @__PURE__ */ jsx(ConfirmDialog, {
|
|
72
|
-
open: deleteTarget !== null,
|
|
73
|
-
title: `Delete Agent template ${deleteTarget?.name ?? ""}?`,
|
|
74
|
-
description: /* @__PURE__ */ jsxs("p", { children: [
|
|
75
|
-
"This permanently deletes ",
|
|
76
|
-
/* @__PURE__ */ jsx("code", {
|
|
77
|
-
className: "font-mono",
|
|
78
|
-
children: deleteTarget?.id
|
|
79
|
-
}),
|
|
80
|
-
" and its files. Existing Agents keep their own copies."
|
|
81
|
-
] }),
|
|
82
|
-
confirmLabel: "Delete Agent template",
|
|
83
|
-
onConfirm: async () => {
|
|
84
|
-
if (!deleteTarget) return;
|
|
85
|
-
await api(`/api/profiles/${encodeURIComponent(deleteTarget.id)}`, { method: "DELETE" });
|
|
86
|
-
await router.invalidate();
|
|
87
|
-
},
|
|
88
|
-
onOpenChange: (open) => {
|
|
89
|
-
if (!open) setDeleteTarget(null);
|
|
90
|
-
}
|
|
91
|
-
})
|
|
92
|
-
]
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
var FILES = [
|
|
96
|
-
{
|
|
97
|
-
key: "soul",
|
|
98
|
-
label: "SOUL.md",
|
|
99
|
-
hint: "Persona, values and operating principles. Part of every session.",
|
|
100
|
-
rows: 16,
|
|
101
|
-
optional: false
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
key: "identity",
|
|
105
|
-
label: "IDENTITY.md",
|
|
106
|
-
hint: "Name, creature, vibe, emoji, avatar: filled in during the first-run ritual.",
|
|
107
|
-
rows: 12,
|
|
108
|
-
optional: false
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
key: "bootstrap",
|
|
112
|
-
label: "BOOTSTRAP.md",
|
|
113
|
-
hint: "The first-run ritual; the agent retires it once introductions are done.",
|
|
114
|
-
rows: 16,
|
|
115
|
-
optional: true
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
key: "agents",
|
|
119
|
-
label: "AGENTS.md",
|
|
120
|
-
hint: "The workspace operating manual: memory discipline, red lines, channel etiquette.",
|
|
121
|
-
rows: 16,
|
|
122
|
-
optional: true
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
key: "tools",
|
|
126
|
-
label: "TOOLS.md",
|
|
127
|
-
hint: "Agent-specific tool notes and environment facts beyond the tool descriptions.",
|
|
128
|
-
rows: 14,
|
|
129
|
-
optional: true
|
|
130
|
-
}
|
|
131
|
-
];
|
|
132
|
-
function CreateProfileForm({ chatModels, skills, templates, onCreated }) {
|
|
133
|
-
const initialFiles = () => ({
|
|
134
|
-
soul: templates.soul,
|
|
135
|
-
identity: templates.identity,
|
|
136
|
-
bootstrap: templates.bootstrap,
|
|
137
|
-
agents: templates.agents,
|
|
138
|
-
tools: templates.tools
|
|
139
|
-
});
|
|
140
|
-
const [tab, setTab] = useState("basics");
|
|
141
|
-
const [id, setId] = useState("");
|
|
142
|
-
const [name, setName] = useState("");
|
|
143
|
-
const [model, setModel] = useState("");
|
|
144
|
-
const [files, setFiles] = useState(initialFiles);
|
|
145
|
-
const [enabled, setEnabled] = useState({
|
|
146
|
-
soul: true,
|
|
147
|
-
identity: true,
|
|
148
|
-
bootstrap: true,
|
|
149
|
-
agents: true,
|
|
150
|
-
tools: true
|
|
151
|
-
});
|
|
152
|
-
const [skillsMode, setSkillsMode] = useState("all");
|
|
153
|
-
const [picked, setPicked] = useState(/* @__PURE__ */ new Set());
|
|
154
|
-
const [error, setError] = useState(null);
|
|
155
|
-
const [submitting, setSubmitting] = useState(false);
|
|
156
|
-
const starter = initialFiles();
|
|
157
|
-
const dirty = id.length > 0 || name.length > 0 || model.length > 0 || FILES.some((file) => files[file.key] !== starter[file.key] || !enabled[file.key]) || skillsMode !== "all" || picked.size > 0;
|
|
158
|
-
function toggleFile(key, on) {
|
|
159
|
-
setEnabled((current) => ({
|
|
160
|
-
...current,
|
|
161
|
-
[key]: on
|
|
162
|
-
}));
|
|
163
|
-
if (!on && tab === key) setTab("basics");
|
|
164
|
-
}
|
|
165
|
-
async function submit(event) {
|
|
166
|
-
event.preventDefault();
|
|
167
|
-
setError(null);
|
|
168
|
-
setSubmitting(true);
|
|
169
|
-
try {
|
|
170
|
-
await api("/api/profiles", { body: {
|
|
171
|
-
id: id.trim(),
|
|
172
|
-
name: name.trim() || void 0,
|
|
173
|
-
defaultModel: model,
|
|
174
|
-
skillsMode,
|
|
175
|
-
defaultSkills: skillsMode === "selected" ? Array.from(picked) : [],
|
|
176
|
-
soul: files.soul,
|
|
177
|
-
identity: files.identity,
|
|
178
|
-
bootstrap: enabled.bootstrap ? files.bootstrap : null,
|
|
179
|
-
agents: enabled.agents ? files.agents : null,
|
|
180
|
-
tools: enabled.tools ? files.tools : null
|
|
181
|
-
} });
|
|
182
|
-
setId("");
|
|
183
|
-
setName("");
|
|
184
|
-
setModel("");
|
|
185
|
-
setFiles(initialFiles());
|
|
186
|
-
setEnabled({
|
|
187
|
-
soul: true,
|
|
188
|
-
identity: true,
|
|
189
|
-
bootstrap: true,
|
|
190
|
-
agents: true,
|
|
191
|
-
tools: true
|
|
192
|
-
});
|
|
193
|
-
setPicked(/* @__PURE__ */ new Set());
|
|
194
|
-
setSkillsMode("all");
|
|
195
|
-
setTab("basics");
|
|
196
|
-
await onCreated();
|
|
197
|
-
} catch (cause) {
|
|
198
|
-
setError(errorMessage(cause));
|
|
199
|
-
} finally {
|
|
200
|
-
setSubmitting(false);
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
const file = FILES.find((entry) => entry.key === tab);
|
|
204
|
-
return /* @__PURE__ */ jsx(SectionCard, {
|
|
205
|
-
title: "Create an Agent template",
|
|
206
|
-
children: /* @__PURE__ */ jsxs("form", {
|
|
207
|
-
onSubmit: (event) => void submit(event),
|
|
208
|
-
children: [
|
|
209
|
-
/* @__PURE__ */ jsx(UnsavedChangesGuard, {
|
|
210
|
-
when: dirty && !submitting,
|
|
211
|
-
subject: "Agent template draft"
|
|
212
|
-
}),
|
|
213
|
-
error && /* @__PURE__ */ jsx("p", {
|
|
214
|
-
role: "alert",
|
|
215
|
-
className: "err",
|
|
216
|
-
children: error
|
|
217
|
-
}),
|
|
218
|
-
/* @__PURE__ */ jsx(Tabs, {
|
|
219
|
-
items: [
|
|
220
|
-
{
|
|
221
|
-
id: "basics",
|
|
222
|
-
label: "Basics"
|
|
223
|
-
},
|
|
224
|
-
...FILES.map((entry) => ({
|
|
225
|
-
id: entry.key,
|
|
226
|
-
label: entry.label.replace(".md", ""),
|
|
227
|
-
disabled: !enabled[entry.key]
|
|
228
|
-
})),
|
|
229
|
-
{
|
|
230
|
-
id: "skills",
|
|
231
|
-
label: "Skills"
|
|
232
|
-
}
|
|
233
|
-
],
|
|
234
|
-
active: tab,
|
|
235
|
-
onChange: setTab
|
|
236
|
-
}),
|
|
237
|
-
/* @__PURE__ */ jsxs("fieldset", {
|
|
238
|
-
className: "mb-5 rounded-md border border-frost p-3",
|
|
239
|
-
children: [
|
|
240
|
-
/* @__PURE__ */ jsx("legend", {
|
|
241
|
-
className: "px-1 text-[0.85em] font-medium text-mocha",
|
|
242
|
-
children: "Files to include"
|
|
243
|
-
}),
|
|
244
|
-
/* @__PURE__ */ jsx("div", {
|
|
245
|
-
className: "flex flex-wrap gap-x-5 gap-y-2 text-[0.9em]",
|
|
246
|
-
children: FILES.map((entry) => /* @__PURE__ */ jsxs("label", {
|
|
247
|
-
className: `m-0 inline-flex items-center gap-1.5 ${entry.optional ? "cursor-pointer" : "opacity-60"}`,
|
|
248
|
-
title: entry.optional ? void 0 : "always included",
|
|
249
|
-
children: [/* @__PURE__ */ jsx("input", {
|
|
250
|
-
type: "checkbox",
|
|
251
|
-
checked: enabled[entry.key],
|
|
252
|
-
disabled: !entry.optional,
|
|
253
|
-
onChange: (event) => toggleFile(entry.key, event.target.checked)
|
|
254
|
-
}), entry.label]
|
|
255
|
-
}, entry.key))
|
|
256
|
-
}),
|
|
257
|
-
/* @__PURE__ */ jsx("p", {
|
|
258
|
-
className: "muted mt-2 text-[0.8em]",
|
|
259
|
-
children: "Each spawned agent gets its own copy of the included files."
|
|
260
|
-
})
|
|
261
|
-
]
|
|
262
|
-
}),
|
|
263
|
-
tab === "basics" && /* @__PURE__ */ jsxs("div", { children: [
|
|
264
|
-
/* @__PURE__ */ jsxs("div", {
|
|
265
|
-
className: "grid gap-x-4 sm:grid-cols-2",
|
|
266
|
-
children: [/* @__PURE__ */ jsxs("label", { children: ["ID (slug)", /* @__PURE__ */ jsx("input", {
|
|
267
|
-
value: id,
|
|
268
|
-
onChange: (event) => setId(event.target.value),
|
|
269
|
-
required: true
|
|
270
|
-
})] }), /* @__PURE__ */ jsxs("label", { children: ["Name", /* @__PURE__ */ jsx("input", {
|
|
271
|
-
value: name,
|
|
272
|
-
onChange: (event) => setName(event.target.value)
|
|
273
|
-
})] })]
|
|
274
|
-
}),
|
|
275
|
-
/* @__PURE__ */ jsx(ModelMenu, {
|
|
276
|
-
label: "Default model",
|
|
277
|
-
value: model,
|
|
278
|
-
onChange: setModel,
|
|
279
|
-
models: chatModels,
|
|
280
|
-
required: true
|
|
281
|
-
}),
|
|
282
|
-
chatModels.length === 0 && /* @__PURE__ */ jsxs("p", {
|
|
283
|
-
className: "muted text-[0.85em]",
|
|
284
|
-
children: [
|
|
285
|
-
"Connect a provider under ",
|
|
286
|
-
/* @__PURE__ */ jsx("a", {
|
|
287
|
-
href: "/config",
|
|
288
|
-
children: "Setup"
|
|
289
|
-
}),
|
|
290
|
-
" first."
|
|
291
|
-
]
|
|
292
|
-
})
|
|
293
|
-
] }),
|
|
294
|
-
file && /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("p", {
|
|
295
|
-
className: "muted my-2 text-[0.85em]",
|
|
296
|
-
children: file.hint
|
|
297
|
-
}), /* @__PURE__ */ jsxs("label", { children: [file.label, /* @__PURE__ */ jsx("textarea", {
|
|
298
|
-
rows: file.rows,
|
|
299
|
-
value: files[file.key],
|
|
300
|
-
onChange: (event) => setFiles((current) => ({
|
|
301
|
-
...current,
|
|
302
|
-
[file.key]: event.target.value
|
|
303
|
-
})),
|
|
304
|
-
className: "font-mono text-[0.88em] leading-[1.55]"
|
|
305
|
-
})] })] }),
|
|
306
|
-
tab === "skills" && /* @__PURE__ */ jsx(SkillsPicker, {
|
|
307
|
-
mode: skillsMode,
|
|
308
|
-
onModeChange: setSkillsMode,
|
|
309
|
-
picked,
|
|
310
|
-
onPickedChange: setPicked,
|
|
311
|
-
skills
|
|
312
|
-
}),
|
|
313
|
-
/* @__PURE__ */ jsx("div", {
|
|
314
|
-
className: "mt-5",
|
|
315
|
-
children: /* @__PURE__ */ jsx(Button, {
|
|
316
|
-
variant: "primary",
|
|
317
|
-
type: "submit",
|
|
318
|
-
disabled: submitting || !id.trim() || !model,
|
|
319
|
-
children: submitting ? "Creating…" : "Create"
|
|
320
|
-
})
|
|
321
|
-
})
|
|
322
|
-
]
|
|
323
|
-
})
|
|
324
|
-
});
|
|
325
|
-
}
|
|
326
|
-
//#endregion
|
|
327
|
-
export { ProfilesPage as component };
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { T as errorMessage, d as AgentAvatar, u as Button } from "./workspace-DaitCM0t.js";
|
|
2
|
-
import { t as ConfirmDialog } from "./ConfirmDialog-DfaJ--A6.js";
|
|
3
|
-
import { a as unarchiveAgent, n as archiveAgent, r as deleteAgent, t as SpawnDialog } from "./SpawnDialog-D_SMPCG_.js";
|
|
4
|
-
import { a as PageHeader, i as ItemRow, l as StatusBadge, n as EmptyState, o as PageShell, r as ItemList, s as SectionCard } from "./createSsrRpc-GCCF14VW.js";
|
|
5
|
-
import { t as Route } from "./agents-BJ-_oC2e.js";
|
|
6
|
-
import { useState } from "react";
|
|
7
|
-
import { Link, useRouter } from "@tanstack/react-router";
|
|
8
|
-
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
-
//#region src/routes/agents/index.tsx?tsr-split=component
|
|
10
|
-
function AgentsPage() {
|
|
11
|
-
const { agents, profiles, teams } = Route.useLoaderData();
|
|
12
|
-
const showAll = Route.useSearch().all === 1;
|
|
13
|
-
const router = useRouter();
|
|
14
|
-
const [spawning, setSpawning] = useState(false);
|
|
15
|
-
const [pending, setPending] = useState(null);
|
|
16
|
-
const [error, setError] = useState(null);
|
|
17
|
-
async function restore(agent) {
|
|
18
|
-
setError(null);
|
|
19
|
-
try {
|
|
20
|
-
await unarchiveAgent(agent.id);
|
|
21
|
-
await router.invalidate();
|
|
22
|
-
} catch (cause) {
|
|
23
|
-
setError(errorMessage(cause));
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
return /* @__PURE__ */ jsxs(PageShell, {
|
|
27
|
-
size: "wide",
|
|
28
|
-
children: [
|
|
29
|
-
/* @__PURE__ */ jsx(PageHeader, {
|
|
30
|
-
eyebrow: "Workspace",
|
|
31
|
-
title: "Agents",
|
|
32
|
-
description: "Every Agent across your teams: spawn, archive, restore and delete. Open one to talk to it; its model, skills and schedules are in its side panel.",
|
|
33
|
-
actions: /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("a", {
|
|
34
|
-
className: "ghost-btn",
|
|
35
|
-
href: showAll ? "/agents" : "/agents?all=1",
|
|
36
|
-
children: showAll ? "Hide archived" : "Show archived"
|
|
37
|
-
}), /* @__PURE__ */ jsx(Button, {
|
|
38
|
-
variant: "primary",
|
|
39
|
-
disabled: profiles.length === 0,
|
|
40
|
-
onClick: () => setSpawning(true),
|
|
41
|
-
children: "Spawn agent"
|
|
42
|
-
})] })
|
|
43
|
-
}),
|
|
44
|
-
error && /* @__PURE__ */ jsx("p", {
|
|
45
|
-
role: "alert",
|
|
46
|
-
className: "err",
|
|
47
|
-
children: error
|
|
48
|
-
}),
|
|
49
|
-
/* @__PURE__ */ jsx(SectionCard, {
|
|
50
|
-
title: showAll ? "All agents" : "Current agents",
|
|
51
|
-
description: showAll ? "Active and archived agents are shown together." : "Archived agents stay hidden until you choose to show them.",
|
|
52
|
-
children: agents.length === 0 ? /* @__PURE__ */ jsx(EmptyState, {
|
|
53
|
-
title: showAll ? "No agents yet" : "No current agents",
|
|
54
|
-
description: "Spawn an agent to give a team its first working member."
|
|
55
|
-
}) : /* @__PURE__ */ jsx(ItemList, { children: agents.map((agent) => /* @__PURE__ */ jsx(ItemRow, {
|
|
56
|
-
title: /* @__PURE__ */ jsxs("span", {
|
|
57
|
-
className: "flex min-w-0 items-center gap-2",
|
|
58
|
-
children: [
|
|
59
|
-
/* @__PURE__ */ jsx(AgentAvatar, {
|
|
60
|
-
identity: agent.identity,
|
|
61
|
-
size: 26
|
|
62
|
-
}),
|
|
63
|
-
/* @__PURE__ */ jsx(Link, {
|
|
64
|
-
to: "/",
|
|
65
|
-
search: { agent: agent.id },
|
|
66
|
-
className: "truncate",
|
|
67
|
-
children: agent.name
|
|
68
|
-
}),
|
|
69
|
-
/* @__PURE__ */ jsx(StatusBadge, {
|
|
70
|
-
variant: agent.status === "archived" ? "warning" : "success",
|
|
71
|
-
children: agent.status
|
|
72
|
-
})
|
|
73
|
-
]
|
|
74
|
-
}),
|
|
75
|
-
meta: /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
76
|
-
(agent.identity?.creature || agent.identity?.vibe) && /* @__PURE__ */ jsx("span", { children: [agent.identity?.creature, agent.identity?.vibe].filter(Boolean).join(" · ") }),
|
|
77
|
-
/* @__PURE__ */ jsxs("span", { children: ["template ", /* @__PURE__ */ jsx("code", { children: agent.profileId })] }),
|
|
78
|
-
/* @__PURE__ */ jsxs("span", { children: ["team ", /* @__PURE__ */ jsx("code", { children: agent.teamId })] }),
|
|
79
|
-
/* @__PURE__ */ jsx("code", {
|
|
80
|
-
title: agent.id,
|
|
81
|
-
children: agent.id.slice(0, 8)
|
|
82
|
-
})
|
|
83
|
-
] }),
|
|
84
|
-
actions: /* @__PURE__ */ jsxs(Fragment$1, { children: [agent.status === "archived" ? /* @__PURE__ */ jsx(Button, {
|
|
85
|
-
variant: "ghost",
|
|
86
|
-
onClick: () => void restore(agent),
|
|
87
|
-
children: "Restore"
|
|
88
|
-
}) : /* @__PURE__ */ jsx(Button, {
|
|
89
|
-
variant: "ghost",
|
|
90
|
-
onClick: () => setPending({
|
|
91
|
-
kind: "archive",
|
|
92
|
-
agent
|
|
93
|
-
}),
|
|
94
|
-
children: "Archive"
|
|
95
|
-
}), /* @__PURE__ */ jsx(Button, {
|
|
96
|
-
variant: "danger",
|
|
97
|
-
onClick: () => setPending({
|
|
98
|
-
kind: "delete",
|
|
99
|
-
agent
|
|
100
|
-
}),
|
|
101
|
-
children: "Delete"
|
|
102
|
-
})] })
|
|
103
|
-
}, agent.id)) })
|
|
104
|
-
}),
|
|
105
|
-
spawning && /* @__PURE__ */ jsx(SpawnDialog, {
|
|
106
|
-
profiles,
|
|
107
|
-
teams,
|
|
108
|
-
onClose: () => setSpawning(false)
|
|
109
|
-
}),
|
|
110
|
-
/* @__PURE__ */ jsx(ConfirmDialog, {
|
|
111
|
-
open: pending !== null,
|
|
112
|
-
onOpenChange: (open) => {
|
|
113
|
-
if (!open) setPending(null);
|
|
114
|
-
},
|
|
115
|
-
title: pending?.kind === "delete" ? `Delete ${pending.agent.name} permanently?` : `Archive ${pending?.agent.name ?? "agent"}?`,
|
|
116
|
-
description: pending?.kind === "delete" ? /* @__PURE__ */ jsx("p", { children: "This permanently removes the Agent, its messages, triggers, skill attachments, sessions, and private on-disk directory. This cannot be undone." }) : /* @__PURE__ */ jsx("p", { children: "The Agent will stop appearing in current lists and cannot receive normal work. You can restore it later from “Show archived”." }),
|
|
117
|
-
confirmLabel: pending?.kind === "delete" ? "Delete permanently" : "Archive agent",
|
|
118
|
-
confirmVariant: pending?.kind === "delete" ? "danger" : "primary",
|
|
119
|
-
onConfirm: async () => {
|
|
120
|
-
if (!pending) return;
|
|
121
|
-
if (pending.kind === "delete") await deleteAgent(pending.agent.id);
|
|
122
|
-
else await archiveAgent(pending.agent.id);
|
|
123
|
-
await router.invalidate();
|
|
124
|
-
}
|
|
125
|
-
})
|
|
126
|
-
]
|
|
127
|
-
});
|
|
128
|
-
}
|
|
129
|
-
//#endregion
|
|
130
|
-
export { AgentsPage as component };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { n as createServerFn } from "../server.js";
|
|
2
|
-
import { t as createSsrRpc } from "./createSsrRpc-GCCF14VW.js";
|
|
3
|
-
import { createFileRoute, lazyRouteComponent } from "@tanstack/react-router";
|
|
4
|
-
//#region src/routes/agents/index.tsx
|
|
5
|
-
var $$splitComponentImporter = () => import("./agents-B7642eRO.js");
|
|
6
|
-
var fetchAgents = createServerFn({ method: "GET" }).validator((data) => data).handler(createSsrRpc("f715bab0037380aa3db7e237e7cf1e74168c363f48a960bb1ddfa5560de3a74e"));
|
|
7
|
-
var Route = createFileRoute("/agents/")({
|
|
8
|
-
validateSearch: (search) => ({ all: search.all === 1 ? 1 : void 0 }),
|
|
9
|
-
loaderDeps: ({ search }) => ({ all: search.all === 1 }),
|
|
10
|
-
loader: ({ deps }) => fetchAgents({ data: { all: deps.all } }),
|
|
11
|
-
component: lazyRouteComponent($$splitComponentImporter, "component")
|
|
12
|
-
});
|
|
13
|
-
//#endregion
|
|
14
|
-
export { Route as t };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { n as createServerFn } from "../server.js";
|
|
2
|
-
import { t as createSsrRpc } from "./createSsrRpc-GCCF14VW.js";
|
|
3
|
-
import { createFileRoute, lazyRouteComponent } from "@tanstack/react-router";
|
|
4
|
-
//#region src/routes/templates/agents/index.tsx
|
|
5
|
-
var $$splitComponentImporter = () => import("./agents-B6OR3x99.js");
|
|
6
|
-
var fetchProfiles = createServerFn({ method: "GET" }).handler(createSsrRpc("bc31355f2be9889a616d03c35062d483ea77c3f967af9432d721626a81078ef3"));
|
|
7
|
-
var Route = createFileRoute("/templates/agents/")({
|
|
8
|
-
loader: () => fetchProfiles(),
|
|
9
|
-
component: lazyRouteComponent($$splitComponentImporter, "component")
|
|
10
|
-
});
|
|
11
|
-
//#endregion
|
|
12
|
-
export { Route as t };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { n as createServerFn } from "../server.js";
|
|
2
|
-
import { t as MODELS_PATH } from "./ModelMenu-DUY9aHkE.js";
|
|
3
|
-
import { t as createServerRpc } from "./createServerRpc-B7Yr1K8i.js";
|
|
4
|
-
import { n as daemonClient } from "./daemon-client-B_ZRIIrT.js";
|
|
5
|
-
//#region src/routes/templates/agents/index.tsx?tss-serverfn-split
|
|
6
|
-
var fetchProfiles_createServerFn_handler = createServerRpc({
|
|
7
|
-
id: "bc31355f2be9889a616d03c35062d483ea77c3f967af9432d721626a81078ef3",
|
|
8
|
-
name: "fetchProfiles",
|
|
9
|
-
filename: "src/routes/templates/agents/index.tsx"
|
|
10
|
-
}, (opts) => fetchProfiles.__executeServer(opts));
|
|
11
|
-
var fetchProfiles = createServerFn({ method: "GET" }).handler(fetchProfiles_createServerFn_handler, async () => {
|
|
12
|
-
const client = daemonClient();
|
|
13
|
-
const [profiles, models, skills, templates] = await Promise.all([
|
|
14
|
-
client.get("/api/profiles"),
|
|
15
|
-
client.get(MODELS_PATH),
|
|
16
|
-
client.get("/api/skills"),
|
|
17
|
-
client.get("/api/profiles/_/templates")
|
|
18
|
-
]);
|
|
19
|
-
return {
|
|
20
|
-
profiles,
|
|
21
|
-
chatModels: models.chat,
|
|
22
|
-
skills,
|
|
23
|
-
templates
|
|
24
|
-
};
|
|
25
|
-
});
|
|
26
|
-
//#endregion
|
|
27
|
-
export { fetchProfiles_createServerFn_handler };
|