bazilion 0.51.0 → 0.52.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 +74 -28
- package/dist/cli.js.map +1 -1
- package/dist/daemon.js +547 -187
- package/dist/daemon.js.map +1 -1
- package/dist/web/client/assets/AddProviderDialog-BiGLKnu2.js +1 -0
- package/dist/web/client/assets/{ConfigPage-pupvtSCX.js → ConfigPage-DvBzy2MN.js} +1 -1
- package/dist/web/client/assets/{ConfirmDialog-GFDcHI1L.js → ConfirmDialog-CiZ5tk9R.js} +1 -1
- package/dist/web/client/assets/{ConnectionsView-y1CeY-6U.js → ConnectionsView-Czkpm2JY.js} +1 -1
- package/dist/web/client/assets/Dialog-s_kPtI-W.js +1 -0
- package/dist/web/client/assets/ModelMenu-BfUPoRjV.js +1 -0
- package/dist/web/client/assets/{SectionTabs-D4ezA6U4.js → SectionTabs-DENNb6Nw.js} +1 -1
- package/dist/web/client/assets/{SkillFindings-BzLO1lNA.js → SkillFindings-Xng11qqx.js} +1 -1
- package/dist/web/client/assets/SpawnDialog-CKWFQ6jk.js +1 -0
- package/dist/web/client/assets/TeamThread-2rm1JGSk.js +1 -0
- package/dist/web/client/assets/{UnsavedChangesGuard-DBJikVgc.js → UnsavedChangesGuard-nx6dv2Yw.js} +1 -1
- package/dist/web/client/assets/_id-B72mIpcE.js +1 -0
- package/dist/web/client/assets/_id-Bzavnza1.js +1 -0
- package/dist/web/client/assets/access-Yw9jODuk.js +1 -0
- package/dist/web/client/assets/agents-C9xoyL7o.js +1 -0
- package/dist/web/client/assets/agents-TviG16wx.js +1 -0
- package/dist/web/client/assets/attention-DmURtlJm.js +1 -0
- package/dist/web/client/assets/chevron-right-CUZiA2aG.js +1 -0
- package/dist/web/client/assets/config-UZz_mjO5.js +1 -0
- package/dist/web/client/assets/dist-BWppw70N.js +41 -0
- package/dist/web/client/assets/dist-D2dwY7MR.js +1 -0
- package/dist/web/client/assets/index-Df1oUtAP.js +14 -0
- package/dist/web/client/assets/login-CPfdaqsV.js +1 -0
- package/dist/web/client/assets/mcp-FlYnNon0.js +1 -0
- package/dist/web/client/assets/model-facts-DoB6QD5y.js +1 -0
- package/dist/web/client/assets/parts-tIDBNsYA.js +1 -0
- package/dist/web/client/assets/routes-BZaWCoQj.js +76 -0
- package/dist/web/client/assets/skills-C7yDPC8s.js +1 -0
- package/dist/web/client/assets/{style-Cdzqt_TJ.js → style-DDuTFJUu.js} +1 -1
- package/dist/web/client/assets/styles-BviXU81u.css +2 -0
- package/dist/web/client/assets/{system-CsI66nyZ.js → system-CL3Kz36L.js} +1 -1
- package/dist/web/client/assets/teams-CQTEF5gV.js +1 -0
- package/dist/web/client/assets/teams-DQ7SqVyF.js +1 -0
- package/dist/web/client/assets/{telegram-C3dGndJV.js → telegram-BLgxtGhZ.js} +1 -1
- package/dist/web/client/assets/tools-pOQyGVYo.js +1 -0
- package/dist/web/client/assets/use-resource-C3MBZJop.js +1 -0
- package/dist/web/client/assets/welcome-Hr6JpMef.js +1 -0
- package/dist/web/client/assets/wrench-6BEIqKDn.js +1 -0
- package/dist/web/server/assets/{AddProviderDialog-CR6TRYdZ.js → AddProviderDialog-Tn4AskPm.js} +7 -304
- package/dist/web/server/assets/{ConfigPage-CIh3ohea.js → ConfigPage-DqDUujmt.js} +2 -2
- package/dist/web/server/assets/{ConfirmDialog-B79K2KEW.js → ConfirmDialog-DfaJ--A6.js} +2 -2
- package/dist/web/server/assets/{ConnectionsView-BIMYdp9C.js → ConnectionsView-DAG-zNBz.js} +6 -6
- package/dist/web/server/assets/{Dialog-CVqpXxuN.js → Dialog-aup_yJv5.js} +1 -1
- package/dist/web/server/assets/ModelMenu-DUY9aHkE.js +138 -0
- package/dist/web/server/assets/{Rail-Cg-efcpA.js → Rail-BIC_4ptO.js} +6 -6
- package/dist/web/server/assets/{SectionTabs-DrcgVeZd.js → SectionTabs-BGsrf-UQ.js} +3 -3
- package/dist/web/server/assets/{SkillFindings-DSDiL6hn.js → SkillFindings-BdATze1A.js} +1 -1
- package/dist/web/server/assets/{SpawnDialog-BUUlLxE9.js → SpawnDialog-D_SMPCG_.js} +11 -8
- package/dist/web/server/assets/{TeamForm-CvQAs2FA.js → TeamForm-ilBaeLI4.js} +1 -1
- package/dist/web/server/assets/{TeamThread-5CjVPcDr.js → TeamThread-DuLlGDcw.js} +3 -3
- package/dist/web/server/assets/{UnsavedChangesGuard-CyF2Z9p1.js → UnsavedChangesGuard-DrOvPV14.js} +1 -1
- package/dist/web/server/assets/{_id-Dg6M_qfr.js → _id-BsZcsabI.js} +11 -11
- package/dist/web/server/assets/{_id-BvAaRSUW.js → _id-D8Kj0F30.js} +2 -2
- package/dist/web/server/assets/{_id-8bsYEcGg.js → _id-DJnYgisy.js} +2 -2
- package/dist/web/server/assets/{_id-Dji7xr9C.js → _id-QYifTM9w.js} +3 -3
- package/dist/web/server/assets/{_id-0fEWiVZX.js → _id-yN0z7VqE.js} +6 -6
- package/dist/web/server/assets/{_tanstack-start-manifest_v-sxiIH4M7.js → _tanstack-start-manifest_v-D6zrzUC7.js} +84 -75
- package/dist/web/server/assets/{tokens-CEdl8puR.js → access-C_pupPks.js} +3 -3
- package/dist/web/server/assets/{tokens-DSLwQ1Pw.js → access-DKOpcHIJ.js} +10 -10
- package/dist/web/server/assets/{tokens-C-oDTqnp.js → access-GMGed5O8.js} +5 -5
- package/dist/web/server/assets/{agents-DktqUffG.js → agents-B6OR3x99.js} +13 -13
- package/dist/web/server/assets/{agents-BDA5yYZ2.js → agents-B7642eRO.js} +5 -5
- package/dist/web/server/assets/{agents-DM7guWF2.js → agents-BJ-_oC2e.js} +2 -2
- package/dist/web/server/assets/{agents-BTDxmp-F.js → agents-CjV0w-Zy.js} +2 -2
- package/dist/web/server/assets/{agents-xgZ9rsac.js → agents-Dy_Q-9lG.js} +3 -3
- package/dist/web/server/assets/{attention-De3-ehuf.js → attention-CLP4HYBz.js} +3 -3
- package/dist/web/server/assets/{attention-CHQEQiZl.js → attention-DS3O9UmJ.js} +2 -2
- package/dist/web/server/assets/{config-DzgkbBoD.js → config-DjTGA4iZ.js} +2 -2
- package/dist/web/server/assets/{config-DOp28gcy.js → config-Q7livfa3.js} +157 -9
- package/dist/web/server/assets/{createSsrRpc-CcLbajrF.js → createSsrRpc-GCCF14VW.js} +1 -1
- package/dist/web/server/assets/{mcp-CO_tycXU.js → mcp-BI-FD-JI.js} +5 -5
- package/dist/web/server/assets/{mcp-D3OCoHtO.js → mcp-ZARSOxZW.js} +2 -2
- package/dist/web/server/assets/model-facts-mrfrWQne.js +136 -0
- package/dist/web/server/assets/parts-B31PJkhi.js +190 -0
- package/dist/web/server/assets/{router-Cs2Ak4II.js → router-Dh2-IvLL.js} +39 -39
- package/dist/web/server/assets/{routes-BVwqgZGI.js → routes-BJIJWCIE.js} +3 -3
- package/dist/web/server/assets/{routes-BSNOKE-C.js → routes-C9NawqcV.js} +21 -17
- package/dist/web/server/assets/{routes-CO4l-GJ0.js → routes-CDskMy5C.js} +2 -2
- package/dist/web/server/assets/{skills-DKYV7PTk.js → skills-BqLq3ZXq.js} +5 -5
- package/dist/web/server/assets/{skills-CggQJk6a.js → skills-StN15QhC.js} +2 -2
- package/dist/web/server/assets/{system-CZ2qzBz3.js → system-BtRA2HUs.js} +2 -2
- package/dist/web/server/assets/{system-DsJfpBPl.js → system-Dl-1RhoP.js} +2 -2
- package/dist/web/server/assets/{teams-Bp2tERZe.js → teams-5PMGvHuM.js} +2 -2
- package/dist/web/server/assets/{teams-C-8iz-uV.js → teams-COaU0wN9.js} +4 -4
- package/dist/web/server/assets/{teams-B6PzNcoy.js → teams-Ca8W4mvl.js} +5 -5
- package/dist/web/server/assets/{teams-B6lBhvdL.js → teams-CbIPKf99.js} +2 -2
- package/dist/web/server/assets/{telegram-Gy7_9yih.js → telegram-CGol0CKX2.js} +3 -3
- package/dist/web/server/assets/{telegram-D2RZriz_.js → telegram-Cv0D4gyz.js} +5 -5
- package/dist/web/server/assets/{telegram-CXrP3hMp.js → telegram-Yx8nm6Ei.js} +5 -5
- package/dist/web/server/assets/tools-C-wwWjLI.js +12 -0
- package/dist/web/server/assets/tools-OfD22R-C.js +502 -0
- package/dist/web/server/assets/tools-ioJcPzMW.js +12 -0
- package/dist/web/server/assets/{use-resource-ChQozXVI.js → use-resource-DVzK0toP.js} +1 -1
- package/dist/web/server/assets/utils-C_uf36nf.js +8 -0
- package/dist/web/server/assets/{welcome-BLw1G6SS.js → welcome-FFEbrNT1.js} +6 -5
- package/dist/web/server/assets/{welcome-ByAkvHSP.js → welcome-jxmpE_Jb.js} +2 -2
- package/dist/web/server/assets/{workspace-DeEYMPDX.js → workspace-DaitCM0t.js} +1 -8
- package/dist/web/server/server.js +18 -18
- package/dist/worker.js +202 -120
- package/dist/worker.js.map +1 -1
- package/package.json +1 -1
- package/dist/web/client/assets/AddProviderDialog-Diic36c_.js +0 -1
- package/dist/web/client/assets/Dialog-bg86_x4v.js +0 -1
- package/dist/web/client/assets/FieldRow-B8eIni5r.js +0 -1
- package/dist/web/client/assets/ModelSelect-DvCLUmkW.js +0 -1
- package/dist/web/client/assets/SpawnDialog-YJX6UMBC.js +0 -1
- package/dist/web/client/assets/TeamThread-DFvbakHo.js +0 -1
- package/dist/web/client/assets/_id-BjNtLwak.js +0 -1
- package/dist/web/client/assets/_id-BklaQf3z.js +0 -1
- package/dist/web/client/assets/agents-D9cUF2d9.js +0 -1
- package/dist/web/client/assets/agents-wuBlzx4e.js +0 -1
- package/dist/web/client/assets/attention-8ZkSLl2e.js +0 -1
- package/dist/web/client/assets/config-Con_BbSh.js +0 -1
- package/dist/web/client/assets/index-Br9qkGM-.js +0 -54
- package/dist/web/client/assets/login-llnOKSJc.js +0 -1
- package/dist/web/client/assets/mcp-zIUguMSI.js +0 -1
- package/dist/web/client/assets/routes-BY5uqJ2n.js +0 -76
- package/dist/web/client/assets/services-esLrcTwe.js +0 -1
- package/dist/web/client/assets/skills-DzYXksM0.js +0 -1
- package/dist/web/client/assets/styles-BRSS6yrm.css +0 -2
- package/dist/web/client/assets/teams-CHE_zpxS.js +0 -1
- package/dist/web/client/assets/teams-dxG9OESG.js +0 -1
- package/dist/web/client/assets/tokens-CNNH-Wr9.js +0 -1
- package/dist/web/client/assets/use-resource-BjnxgGvh.js +0 -1
- package/dist/web/client/assets/welcome-C8EOtc8P.js +0 -1
- package/dist/web/server/assets/FieldRow-CHVhX2rS.js +0 -173
- package/dist/web/server/assets/ModelSelect-DrZrdndo.js +0 -43
- package/dist/web/server/assets/services-DZLxUSG8.js +0 -13
- package/dist/web/server/assets/services-DsHRLL8q.js +0 -12
- package/dist/web/server/assets/services-DsvpaF3L.js +0 -74
- /package/dist/web/server/assets/{system-DtswhLW62.js → system-DtswhLW6.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as UnsavedChangesGuard } from "./UnsavedChangesGuard-
|
|
3
|
-
import { n as
|
|
4
|
-
import { o as PageShell } from "./createSsrRpc-
|
|
5
|
-
import { t as Route } from "./_id-
|
|
6
|
-
import { n as SectionTabs, r as TEMPLATE_TABS } from "./SectionTabs-
|
|
1
|
+
import { C as api, T as errorMessage, u as Button } from "./workspace-DaitCM0t.js";
|
|
2
|
+
import { t as UnsavedChangesGuard } from "./UnsavedChangesGuard-DrOvPV14.js";
|
|
3
|
+
import { n as ModelMenu } from "./ModelMenu-DUY9aHkE.js";
|
|
4
|
+
import { o as PageShell } from "./createSsrRpc-GCCF14VW.js";
|
|
5
|
+
import { t as Route } from "./_id-D8Kj0F30.js";
|
|
6
|
+
import { n as SectionTabs, r as TEMPLATE_TABS } from "./SectionTabs-BGsrf-UQ.js";
|
|
7
7
|
import { t as Tabs } from "./Tabs-BhF41MfQ.js";
|
|
8
8
|
import { t as SkillsPicker } from "./SkillsPicker-DlqEfRWh.js";
|
|
9
9
|
import { useCallback, useEffect, useState } from "react";
|
|
@@ -11,7 +11,7 @@ import { useRouter } from "@tanstack/react-router";
|
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
//#region src/routes/templates/agents/$id/index.tsx?tsr-split=component
|
|
13
13
|
function ProfileDetailPage() {
|
|
14
|
-
const { loaded,
|
|
14
|
+
const { loaded, chatModels, skills } = Route.useLoaderData();
|
|
15
15
|
const { profile, files } = loaded;
|
|
16
16
|
const [tab, setTab] = useState("basics");
|
|
17
17
|
const [dirtySections, setDirtySections] = useState({});
|
|
@@ -81,7 +81,7 @@ function ProfileDetailPage() {
|
|
|
81
81
|
profileId: profile.id,
|
|
82
82
|
initialName: profile.name,
|
|
83
83
|
currentModel: profile.defaultModel,
|
|
84
|
-
|
|
84
|
+
chatModels,
|
|
85
85
|
onDirtyChange: reportDirty
|
|
86
86
|
}),
|
|
87
87
|
/* @__PURE__ */ jsx(FileCard, {
|
|
@@ -270,7 +270,7 @@ function OptionalFileCard({ profileId, file, initial, hint, onDirtyChange }) {
|
|
|
270
270
|
onDirtyChange
|
|
271
271
|
})] });
|
|
272
272
|
}
|
|
273
|
-
function SettingsCard({ profileId, initialName, currentModel,
|
|
273
|
+
function SettingsCard({ profileId, initialName, currentModel, chatModels, onDirtyChange }) {
|
|
274
274
|
const router = useRouter();
|
|
275
275
|
const [original, setOriginal] = useState({
|
|
276
276
|
name: initialName,
|
|
@@ -309,11 +309,11 @@ function SettingsCard({ profileId, initialName, currentModel, modelGroups, onDir
|
|
|
309
309
|
children: [/* @__PURE__ */ jsxs("label", { children: ["Name", /* @__PURE__ */ jsx("input", {
|
|
310
310
|
value: name,
|
|
311
311
|
onChange: (event) => setName(event.target.value)
|
|
312
|
-
})] }), /* @__PURE__ */ jsx(
|
|
312
|
+
})] }), /* @__PURE__ */ jsx(ModelMenu, {
|
|
313
313
|
label: "Default model",
|
|
314
314
|
value: model,
|
|
315
315
|
onChange: setModel,
|
|
316
|
-
|
|
316
|
+
models: chatModels,
|
|
317
317
|
required: true
|
|
318
318
|
})]
|
|
319
319
|
}), /* @__PURE__ */ jsx(Button, {
|
|
@@ -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-GCCF14VW.js";
|
|
3
3
|
import { createFileRoute, lazyRouteComponent, redirect } from "@tanstack/react-router";
|
|
4
4
|
//#region src/routes/templates/agents/$id/index.tsx
|
|
5
|
-
var $$splitComponentImporter = () => import("./_id-
|
|
5
|
+
var $$splitComponentImporter = () => import("./_id-BsZcsabI.js");
|
|
6
6
|
var fetchProfile = createServerFn({ method: "GET" }).validator((data) => data).handler(createSsrRpc("032d74b7d41c718191dbdde6b06ba44993340ce1154af1fa6723a6d4f7a7236e"));
|
|
7
7
|
var Route = createFileRoute("/templates/agents/$id/")({
|
|
8
8
|
loader: async ({ params }) => {
|
|
@@ -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-GCCF14VW.js";
|
|
3
3
|
import { createFileRoute, lazyRouteComponent } from "@tanstack/react-router";
|
|
4
4
|
//#region src/routes/templates/teams/$id/index.tsx
|
|
5
|
-
var $$splitComponentImporter = () => import("./_id-
|
|
5
|
+
var $$splitComponentImporter = () => import("./_id-yN0z7VqE.js");
|
|
6
6
|
var fetchTemplate = createServerFn({ method: "GET" }).validator((data) => data).handler(createSsrRpc("c13d90cf82cd448c86427091165d0361b92843852a3f73a5bf4412dd2adc6bae"));
|
|
7
7
|
var Route = createFileRoute("/templates/teams/$id/")({
|
|
8
8
|
loader: ({ params }) => fetchTemplate({ data: { id: params.id } }),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as createServerFn } from "../server.js";
|
|
2
|
-
import { t as
|
|
2
|
+
import { t as MODELS_PATH } from "./ModelMenu-DUY9aHkE.js";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-B7Yr1K8i.js";
|
|
4
4
|
import { n as daemonClient, r as ApiClientError } from "./daemon-client-B_ZRIIrT.js";
|
|
5
5
|
//#region src/routes/templates/agents/$id/index.tsx?tss-serverfn-split
|
|
@@ -17,10 +17,10 @@ var fetchProfile = createServerFn({ method: "GET" }).validator((data) => data).h
|
|
|
17
17
|
if (error instanceof ApiClientError && error.status === 404) return null;
|
|
18
18
|
throw error;
|
|
19
19
|
}
|
|
20
|
-
const [models, skills] = await Promise.all([client.get(
|
|
20
|
+
const [models, skills] = await Promise.all([client.get(MODELS_PATH), client.get("/api/skills")]);
|
|
21
21
|
return {
|
|
22
22
|
loaded,
|
|
23
|
-
|
|
23
|
+
chatModels: models.chat,
|
|
24
24
|
skills
|
|
25
25
|
};
|
|
26
26
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as api, T as errorMessage, u as Button } from "./workspace-DaitCM0t.js";
|
|
2
2
|
import { a as endpointLabel, d as templateDocument, f as templateInput, i as edgeKey, l as sameDocument, n as OUTSIDE, o as hasEdge, r as defaultPosition, t as TeamPolicyMatrix, u as setEdge } from "./style-GYDODk2F.js";
|
|
3
|
-
import { t as ConfirmDialog } from "./ConfirmDialog-
|
|
4
|
-
import { t as UnsavedChangesGuard } from "./UnsavedChangesGuard-
|
|
5
|
-
import { o as PageShell } from "./createSsrRpc-
|
|
6
|
-
import { t as Route } from "./_id-
|
|
7
|
-
import { n as SectionTabs, r as TEMPLATE_TABS } from "./SectionTabs-
|
|
3
|
+
import { t as ConfirmDialog } from "./ConfirmDialog-DfaJ--A6.js";
|
|
4
|
+
import { t as UnsavedChangesGuard } from "./UnsavedChangesGuard-DrOvPV14.js";
|
|
5
|
+
import { o as PageShell } from "./createSsrRpc-GCCF14VW.js";
|
|
6
|
+
import { t as Route } from "./_id-DJnYgisy.js";
|
|
7
|
+
import { n as SectionTabs, r as TEMPLATE_TABS } from "./SectionTabs-BGsrf-UQ.js";
|
|
8
8
|
import { useEffect, useMemo, useState } from "react";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { Bot, CircleAlert, Globe2, ListTree, Plus, Save, ShieldAlert, TableProperties, X } from "lucide-react";
|
|
@@ -7,17 +7,17 @@ var tsrStartManifest = () => ({ routes: {
|
|
|
7
7
|
"/login",
|
|
8
8
|
"/welcome",
|
|
9
9
|
"/api/$",
|
|
10
|
+
"/config/access",
|
|
10
11
|
"/config/mcp",
|
|
11
|
-
"/config/services",
|
|
12
12
|
"/config/system",
|
|
13
|
-
"/config/
|
|
13
|
+
"/config/telegram",
|
|
14
|
+
"/config/tools",
|
|
14
15
|
"/agents/",
|
|
15
16
|
"/attention/",
|
|
16
17
|
"/config/",
|
|
17
18
|
"/skills/",
|
|
18
19
|
"/teams/",
|
|
19
20
|
"/templates/",
|
|
20
|
-
"/config/integrations/telegram",
|
|
21
21
|
"/templates/agents/",
|
|
22
22
|
"/templates/teams/",
|
|
23
23
|
"/templates/agents/$id/",
|
|
@@ -25,33 +25,37 @@ var tsrStartManifest = () => ({ routes: {
|
|
|
25
25
|
],
|
|
26
26
|
css: ["/assets/index-Cofc7zhl.css"],
|
|
27
27
|
preloads: [
|
|
28
|
-
"/assets/index-
|
|
28
|
+
"/assets/index-Df1oUtAP.js",
|
|
29
29
|
"/assets/link-Cbztlp_R.js",
|
|
30
30
|
"/assets/api-HC_YzjBy.js",
|
|
31
|
+
"/assets/dist-D2dwY7MR.js",
|
|
32
|
+
"/assets/dist-BWppw70N.js",
|
|
31
33
|
"/assets/createLucideIcon-C6gOo8sD.js"
|
|
32
34
|
],
|
|
33
35
|
scripts: [{ attrs: {
|
|
34
36
|
type: "module",
|
|
35
37
|
async: !0,
|
|
36
|
-
src: "/assets/index-
|
|
38
|
+
src: "/assets/index-Df1oUtAP.js"
|
|
37
39
|
} }]
|
|
38
40
|
},
|
|
39
41
|
"/": {
|
|
40
42
|
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/index.tsx",
|
|
41
43
|
children: void 0,
|
|
42
44
|
preloads: [
|
|
43
|
-
"/assets/routes-
|
|
44
|
-
"/assets/ConfirmDialog-
|
|
45
|
-
"/assets/Dialog-
|
|
46
|
-
"/assets/
|
|
45
|
+
"/assets/routes-BZaWCoQj.js",
|
|
46
|
+
"/assets/ConfirmDialog-CiZ5tk9R.js",
|
|
47
|
+
"/assets/Dialog-s_kPtI-W.js",
|
|
48
|
+
"/assets/ModelMenu-BfUPoRjV.js",
|
|
47
49
|
"/assets/Segmented-Dh77vmpp.js",
|
|
48
|
-
"/assets/SkillFindings-
|
|
49
|
-
"/assets/SpawnDialog-
|
|
50
|
-
"/assets/TeamThread-
|
|
51
|
-
"/assets/UnsavedChangesGuard-
|
|
52
|
-
"/assets/use-resource-
|
|
50
|
+
"/assets/SkillFindings-Xng11qqx.js",
|
|
51
|
+
"/assets/SpawnDialog-CKWFQ6jk.js",
|
|
52
|
+
"/assets/TeamThread-2rm1JGSk.js",
|
|
53
|
+
"/assets/UnsavedChangesGuard-nx6dv2Yw.js",
|
|
54
|
+
"/assets/use-resource-C3MBZJop.js",
|
|
53
55
|
"/assets/arrow-right-Gm_FDWJ_.js",
|
|
54
56
|
"/assets/check-BjgKoGvU.js",
|
|
57
|
+
"/assets/chevron-right-CUZiA2aG.js",
|
|
58
|
+
"/assets/wrench-6BEIqKDn.js",
|
|
55
59
|
"/assets/plus-CWrKMtvA.js",
|
|
56
60
|
"/assets/save-f9O-CQia.js",
|
|
57
61
|
"/assets/entities-xVoB-p2j.js"
|
|
@@ -60,79 +64,93 @@ var tsrStartManifest = () => ({ routes: {
|
|
|
60
64
|
"/login": {
|
|
61
65
|
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/login.tsx",
|
|
62
66
|
children: void 0,
|
|
63
|
-
preloads: ["/assets/login-
|
|
67
|
+
preloads: ["/assets/login-CPfdaqsV.js"]
|
|
64
68
|
},
|
|
65
69
|
"/welcome": {
|
|
66
70
|
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/welcome.tsx",
|
|
67
71
|
children: void 0,
|
|
68
72
|
preloads: [
|
|
69
|
-
"/assets/welcome-
|
|
70
|
-
"/assets/AddProviderDialog-
|
|
71
|
-
"/assets/
|
|
73
|
+
"/assets/welcome-Hr6JpMef.js",
|
|
74
|
+
"/assets/AddProviderDialog-BiGLKnu2.js",
|
|
75
|
+
"/assets/parts-tIDBNsYA.js",
|
|
76
|
+
"/assets/use-resource-C3MBZJop.js",
|
|
72
77
|
"/assets/arrow-right-Gm_FDWJ_.js",
|
|
73
78
|
"/assets/check-BjgKoGvU.js",
|
|
74
79
|
"/assets/entities-xVoB-p2j.js"
|
|
75
80
|
]
|
|
76
81
|
},
|
|
77
|
-
"/config/
|
|
78
|
-
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/config/
|
|
82
|
+
"/config/access": {
|
|
83
|
+
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/config/access.tsx",
|
|
79
84
|
children: void 0,
|
|
80
85
|
preloads: [
|
|
81
|
-
"/assets/
|
|
82
|
-
"/assets/ConfigPage-
|
|
83
|
-
"/assets/ConfirmDialog-
|
|
86
|
+
"/assets/access-Yw9jODuk.js",
|
|
87
|
+
"/assets/ConfigPage-DvBzy2MN.js",
|
|
88
|
+
"/assets/ConfirmDialog-CiZ5tk9R.js"
|
|
84
89
|
]
|
|
85
90
|
},
|
|
86
|
-
"/config/
|
|
87
|
-
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/config/
|
|
91
|
+
"/config/mcp": {
|
|
92
|
+
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/config/mcp.tsx",
|
|
88
93
|
children: void 0,
|
|
89
94
|
preloads: [
|
|
90
|
-
"/assets/
|
|
91
|
-
"/assets/ConfigPage-
|
|
92
|
-
"/assets/
|
|
95
|
+
"/assets/mcp-FlYnNon0.js",
|
|
96
|
+
"/assets/ConfigPage-DvBzy2MN.js",
|
|
97
|
+
"/assets/ConfirmDialog-CiZ5tk9R.js"
|
|
93
98
|
]
|
|
94
99
|
},
|
|
95
100
|
"/config/system": {
|
|
96
101
|
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/config/system.tsx",
|
|
97
102
|
children: void 0,
|
|
98
|
-
preloads: ["/assets/system-
|
|
103
|
+
preloads: ["/assets/system-CL3Kz36L.js", "/assets/ConfigPage-DvBzy2MN.js"]
|
|
104
|
+
},
|
|
105
|
+
"/config/telegram": {
|
|
106
|
+
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/config/telegram.tsx",
|
|
107
|
+
children: void 0,
|
|
108
|
+
preloads: [
|
|
109
|
+
"/assets/telegram-BLgxtGhZ.js",
|
|
110
|
+
"/assets/ConfigPage-DvBzy2MN.js",
|
|
111
|
+
"/assets/ConfirmDialog-CiZ5tk9R.js"
|
|
112
|
+
]
|
|
99
113
|
},
|
|
100
|
-
"/config/
|
|
101
|
-
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/config/
|
|
114
|
+
"/config/tools": {
|
|
115
|
+
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/config/tools.tsx",
|
|
102
116
|
children: void 0,
|
|
103
117
|
preloads: [
|
|
104
|
-
"/assets/
|
|
105
|
-
"/assets/ConfigPage-
|
|
106
|
-
"/assets/
|
|
118
|
+
"/assets/tools-pOQyGVYo.js",
|
|
119
|
+
"/assets/ConfigPage-DvBzy2MN.js",
|
|
120
|
+
"/assets/parts-tIDBNsYA.js",
|
|
121
|
+
"/assets/chevron-right-CUZiA2aG.js",
|
|
122
|
+
"/assets/wrench-6BEIqKDn.js"
|
|
107
123
|
]
|
|
108
124
|
},
|
|
109
125
|
"/agents/": {
|
|
110
126
|
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/agents/index.tsx",
|
|
111
127
|
children: void 0,
|
|
112
128
|
preloads: [
|
|
113
|
-
"/assets/agents-
|
|
114
|
-
"/assets/ConfirmDialog-
|
|
115
|
-
"/assets/SpawnDialog-
|
|
129
|
+
"/assets/agents-TviG16wx.js",
|
|
130
|
+
"/assets/ConfirmDialog-CiZ5tk9R.js",
|
|
131
|
+
"/assets/SpawnDialog-CKWFQ6jk.js"
|
|
116
132
|
]
|
|
117
133
|
},
|
|
118
134
|
"/attention/": {
|
|
119
135
|
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/attention/index.tsx",
|
|
120
136
|
children: void 0,
|
|
121
|
-
preloads: ["/assets/attention-
|
|
137
|
+
preloads: ["/assets/attention-DmURtlJm.js"]
|
|
122
138
|
},
|
|
123
139
|
"/config/": {
|
|
124
140
|
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/config/index.tsx",
|
|
125
141
|
children: void 0,
|
|
126
142
|
preloads: [
|
|
127
|
-
"/assets/config-
|
|
128
|
-
"/assets/ConfigPage-
|
|
129
|
-
"/assets/ConfirmDialog-
|
|
130
|
-
"/assets/Dialog-
|
|
131
|
-
"/assets/FieldRow-B8eIni5r.js",
|
|
143
|
+
"/assets/config-UZz_mjO5.js",
|
|
144
|
+
"/assets/ConfigPage-DvBzy2MN.js",
|
|
145
|
+
"/assets/ConfirmDialog-CiZ5tk9R.js",
|
|
146
|
+
"/assets/Dialog-s_kPtI-W.js",
|
|
132
147
|
"/assets/Segmented-Dh77vmpp.js",
|
|
133
|
-
"/assets/AddProviderDialog-
|
|
134
|
-
"/assets/
|
|
148
|
+
"/assets/AddProviderDialog-BiGLKnu2.js",
|
|
149
|
+
"/assets/parts-tIDBNsYA.js",
|
|
150
|
+
"/assets/model-facts-DoB6QD5y.js",
|
|
151
|
+
"/assets/use-resource-C3MBZJop.js",
|
|
135
152
|
"/assets/check-BjgKoGvU.js",
|
|
153
|
+
"/assets/chevron-right-CUZiA2aG.js",
|
|
136
154
|
"/assets/plus-CWrKMtvA.js"
|
|
137
155
|
]
|
|
138
156
|
},
|
|
@@ -140,9 +158,9 @@ var tsrStartManifest = () => ({ routes: {
|
|
|
140
158
|
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/skills/index.tsx",
|
|
141
159
|
children: void 0,
|
|
142
160
|
preloads: [
|
|
143
|
-
"/assets/skills-
|
|
144
|
-
"/assets/ConfirmDialog-
|
|
145
|
-
"/assets/SkillFindings-
|
|
161
|
+
"/assets/skills-C7yDPC8s.js",
|
|
162
|
+
"/assets/ConfirmDialog-CiZ5tk9R.js",
|
|
163
|
+
"/assets/SkillFindings-Xng11qqx.js",
|
|
146
164
|
"/assets/Tabs-f6bHvCGn.js"
|
|
147
165
|
]
|
|
148
166
|
},
|
|
@@ -150,48 +168,39 @@ var tsrStartManifest = () => ({ routes: {
|
|
|
150
168
|
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/teams/index.tsx",
|
|
151
169
|
children: void 0,
|
|
152
170
|
preloads: [
|
|
153
|
-
"/assets/teams-
|
|
154
|
-
"/assets/ConfirmDialog-
|
|
171
|
+
"/assets/teams-CQTEF5gV.js",
|
|
172
|
+
"/assets/ConfirmDialog-CiZ5tk9R.js",
|
|
155
173
|
"/assets/TeamForm-kda1HYZG.js"
|
|
156
174
|
]
|
|
157
175
|
},
|
|
158
|
-
"/config/integrations/telegram": {
|
|
159
|
-
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/config/integrations/telegram.tsx",
|
|
160
|
-
children: void 0,
|
|
161
|
-
preloads: [
|
|
162
|
-
"/assets/telegram-C3dGndJV.js",
|
|
163
|
-
"/assets/ConfigPage-pupvtSCX.js",
|
|
164
|
-
"/assets/ConfirmDialog-GFDcHI1L.js"
|
|
165
|
-
]
|
|
166
|
-
},
|
|
167
176
|
"/templates/agents/": {
|
|
168
177
|
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/templates/agents/index.tsx",
|
|
169
178
|
children: void 0,
|
|
170
179
|
preloads: [
|
|
171
|
-
"/assets/agents-
|
|
172
|
-
"/assets/ConfirmDialog-
|
|
173
|
-
"/assets/
|
|
174
|
-
"/assets/SectionTabs-
|
|
180
|
+
"/assets/agents-C9xoyL7o.js",
|
|
181
|
+
"/assets/ConfirmDialog-CiZ5tk9R.js",
|
|
182
|
+
"/assets/ModelMenu-BfUPoRjV.js",
|
|
183
|
+
"/assets/SectionTabs-DENNb6Nw.js",
|
|
175
184
|
"/assets/SkillsPicker-hI3YXvib.js",
|
|
176
185
|
"/assets/Tabs-f6bHvCGn.js",
|
|
177
|
-
"/assets/UnsavedChangesGuard-
|
|
186
|
+
"/assets/UnsavedChangesGuard-nx6dv2Yw.js"
|
|
178
187
|
]
|
|
179
188
|
},
|
|
180
189
|
"/templates/teams/": {
|
|
181
190
|
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/templates/teams/index.tsx",
|
|
182
191
|
children: void 0,
|
|
183
|
-
preloads: ["/assets/teams-
|
|
192
|
+
preloads: ["/assets/teams-DQ7SqVyF.js", "/assets/SectionTabs-DENNb6Nw.js"]
|
|
184
193
|
},
|
|
185
194
|
"/templates/agents/$id/": {
|
|
186
195
|
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/templates/agents/$id/index.tsx",
|
|
187
196
|
children: void 0,
|
|
188
197
|
preloads: [
|
|
189
|
-
"/assets/_id-
|
|
190
|
-
"/assets/
|
|
191
|
-
"/assets/SectionTabs-
|
|
198
|
+
"/assets/_id-Bzavnza1.js",
|
|
199
|
+
"/assets/ModelMenu-BfUPoRjV.js",
|
|
200
|
+
"/assets/SectionTabs-DENNb6Nw.js",
|
|
192
201
|
"/assets/SkillsPicker-hI3YXvib.js",
|
|
193
202
|
"/assets/Tabs-f6bHvCGn.js",
|
|
194
|
-
"/assets/UnsavedChangesGuard-
|
|
203
|
+
"/assets/UnsavedChangesGuard-nx6dv2Yw.js"
|
|
195
204
|
]
|
|
196
205
|
},
|
|
197
206
|
"/templates/teams/$id/": {
|
|
@@ -199,12 +208,12 @@ var tsrStartManifest = () => ({ routes: {
|
|
|
199
208
|
children: void 0,
|
|
200
209
|
css: ["/assets/style-DLioOiRN.css"],
|
|
201
210
|
preloads: [
|
|
202
|
-
"/assets/_id-
|
|
203
|
-
"/assets/ConfirmDialog-
|
|
204
|
-
"/assets/Dialog-
|
|
205
|
-
"/assets/SectionTabs-
|
|
206
|
-
"/assets/UnsavedChangesGuard-
|
|
207
|
-
"/assets/style-
|
|
211
|
+
"/assets/_id-B72mIpcE.js",
|
|
212
|
+
"/assets/ConfirmDialog-CiZ5tk9R.js",
|
|
213
|
+
"/assets/Dialog-s_kPtI-W.js",
|
|
214
|
+
"/assets/SectionTabs-DENNb6Nw.js",
|
|
215
|
+
"/assets/UnsavedChangesGuard-nx6dv2Yw.js",
|
|
216
|
+
"/assets/style-DDuTFJUu.js",
|
|
208
217
|
"/assets/plus-CWrKMtvA.js",
|
|
209
218
|
"/assets/save-f9O-CQia.js"
|
|
210
219
|
]
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { n as createServerFn } from "../server.js";
|
|
2
2
|
import { t as createServerRpc } from "./createServerRpc-B7Yr1K8i.js";
|
|
3
3
|
import { n as daemonClient } from "./daemon-client-B_ZRIIrT.js";
|
|
4
|
-
//#region src/routes/config/
|
|
4
|
+
//#region src/routes/config/access.tsx?tss-serverfn-split
|
|
5
5
|
var fetchTokens_createServerFn_handler = createServerRpc({
|
|
6
|
-
id: "
|
|
6
|
+
id: "c945ba2c0b997bf2ce9d965e41ad7655facbaa4c6f6c3284f90fbe6f2d427f52",
|
|
7
7
|
name: "fetchTokens",
|
|
8
|
-
filename: "src/routes/config/
|
|
8
|
+
filename: "src/routes/config/access.tsx"
|
|
9
9
|
}, (opts) => fetchTokens.__executeServer(opts));
|
|
10
10
|
var fetchTokens = createServerFn({ method: "GET" }).validator((data) => data).handler(fetchTokens_createServerFn_handler, async ({ data }) => {
|
|
11
11
|
const client = daemonClient();
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as ConfirmDialog } from "./ConfirmDialog-
|
|
3
|
-
import { i as ItemRow, l as StatusBadge, r as ItemList, s as SectionCard } from "./createSsrRpc-
|
|
4
|
-
import { t as Route } from "./
|
|
5
|
-
import { t as ConfigPage } from "./ConfigPage-
|
|
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 { i as ItemRow, l as StatusBadge, r as ItemList, s as SectionCard } from "./createSsrRpc-GCCF14VW.js";
|
|
4
|
+
import { t as Route } from "./access-GMGed5O8.js";
|
|
5
|
+
import { t as ConfigPage } from "./ConfigPage-DqDUujmt.js";
|
|
6
6
|
import { useState } from "react";
|
|
7
7
|
import { useRouter } from "@tanstack/react-router";
|
|
8
8
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
-
//#region src/routes/config/
|
|
9
|
+
//#region src/routes/config/access.tsx?tsr-split=component
|
|
10
10
|
function when(timestamp) {
|
|
11
11
|
return new Date(timestamp).toISOString().slice(0, 16).replace("T", " ");
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function AccessPage() {
|
|
14
14
|
const { tokens, sessions } = Route.useLoaderData();
|
|
15
15
|
const includeRevoked = Route.useSearch().all === 1;
|
|
16
16
|
const router = useRouter();
|
|
@@ -23,7 +23,7 @@ function TokensPage() {
|
|
|
23
23
|
else await router.invalidate();
|
|
24
24
|
}
|
|
25
25
|
return /* @__PURE__ */ jsxs(ConfigPage, {
|
|
26
|
-
title: "
|
|
26
|
+
title: "Access",
|
|
27
27
|
description: /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
28
28
|
"Every token has full access to the HTTP API, the CLI and browser login. The",
|
|
29
29
|
" ",
|
|
@@ -45,7 +45,7 @@ function TokensPage() {
|
|
|
45
45
|
title: "Tokens",
|
|
46
46
|
actions: /* @__PURE__ */ jsx("a", {
|
|
47
47
|
className: "ghost-btn",
|
|
48
|
-
href: includeRevoked ? "/config/
|
|
48
|
+
href: includeRevoked ? "/config/access" : "/config/access?all=1",
|
|
49
49
|
children: includeRevoked ? "Hide revoked" : "Show revoked"
|
|
50
50
|
}),
|
|
51
51
|
children: tokens.length === 0 ? /* @__PURE__ */ jsx("p", {
|
|
@@ -229,4 +229,4 @@ function MintTokenForm({ onMinted }) {
|
|
|
229
229
|
});
|
|
230
230
|
}
|
|
231
231
|
//#endregion
|
|
232
|
-
export {
|
|
232
|
+
export { AccessPage as component };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as createServerFn } from "../server.js";
|
|
2
|
-
import { t as createSsrRpc } from "./createSsrRpc-
|
|
2
|
+
import { t as createSsrRpc } from "./createSsrRpc-GCCF14VW.js";
|
|
3
3
|
import { createFileRoute, lazyRouteComponent } from "@tanstack/react-router";
|
|
4
|
-
//#region src/routes/config/
|
|
5
|
-
var $$splitComponentImporter = () => import("./
|
|
6
|
-
var fetchTokens = createServerFn({ method: "GET" }).validator((data) => data).handler(createSsrRpc("
|
|
7
|
-
var Route = createFileRoute("/config/
|
|
4
|
+
//#region src/routes/config/access.tsx
|
|
5
|
+
var $$splitComponentImporter = () => import("./access-DKOpcHIJ.js");
|
|
6
|
+
var fetchTokens = createServerFn({ method: "GET" }).validator((data) => data).handler(createSsrRpc("c945ba2c0b997bf2ce9d965e41ad7655facbaa4c6f6c3284f90fbe6f2d427f52"));
|
|
7
|
+
var Route = createFileRoute("/config/access")({
|
|
8
8
|
validateSearch: (search) => ({ all: search.all === 1 ? 1 : void 0 }),
|
|
9
9
|
loaderDeps: ({ search }) => ({ all: search.all === 1 }),
|
|
10
10
|
loader: ({ deps }) => fetchTokens({ data: deps }),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as ConfirmDialog } from "./ConfirmDialog-
|
|
3
|
-
import { t as UnsavedChangesGuard } from "./UnsavedChangesGuard-
|
|
4
|
-
import { n as
|
|
5
|
-
import { a as PageHeader, i as ItemRow, l as StatusBadge, o as PageShell, r as ItemList, s as SectionCard } from "./createSsrRpc-
|
|
6
|
-
import { t as Route } from "./agents-
|
|
7
|
-
import { n as SectionTabs, r as TEMPLATE_TABS } from "./SectionTabs-
|
|
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
8
|
import { t as Tabs } from "./Tabs-BhF41MfQ.js";
|
|
9
9
|
import { t as SkillsPicker } from "./SkillsPicker-DlqEfRWh.js";
|
|
10
10
|
import { useState } from "react";
|
|
@@ -12,7 +12,7 @@ import { useRouter } from "@tanstack/react-router";
|
|
|
12
12
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
//#region src/routes/templates/agents/index.tsx?tsr-split=component
|
|
14
14
|
function ProfilesPage() {
|
|
15
|
-
const { profiles,
|
|
15
|
+
const { profiles, chatModels, skills, templates } = Route.useLoaderData();
|
|
16
16
|
const router = useRouter();
|
|
17
17
|
const [deleteTarget, setDeleteTarget] = useState(null);
|
|
18
18
|
return /* @__PURE__ */ jsxs(PageShell, {
|
|
@@ -29,7 +29,7 @@ function ProfilesPage() {
|
|
|
29
29
|
tabs: TEMPLATE_TABS
|
|
30
30
|
}),
|
|
31
31
|
/* @__PURE__ */ jsx(CreateProfileForm, {
|
|
32
|
-
|
|
32
|
+
chatModels,
|
|
33
33
|
skills,
|
|
34
34
|
templates,
|
|
35
35
|
onCreated: () => router.invalidate()
|
|
@@ -129,7 +129,7 @@ var FILES = [
|
|
|
129
129
|
optional: true
|
|
130
130
|
}
|
|
131
131
|
];
|
|
132
|
-
function CreateProfileForm({
|
|
132
|
+
function CreateProfileForm({ chatModels, skills, templates, onCreated }) {
|
|
133
133
|
const initialFiles = () => ({
|
|
134
134
|
soul: templates.soul,
|
|
135
135
|
identity: templates.identity,
|
|
@@ -272,14 +272,14 @@ function CreateProfileForm({ modelGroups, skills, templates, onCreated }) {
|
|
|
272
272
|
onChange: (event) => setName(event.target.value)
|
|
273
273
|
})] })]
|
|
274
274
|
}),
|
|
275
|
-
/* @__PURE__ */ jsx(
|
|
275
|
+
/* @__PURE__ */ jsx(ModelMenu, {
|
|
276
276
|
label: "Default model",
|
|
277
277
|
value: model,
|
|
278
278
|
onChange: setModel,
|
|
279
|
-
|
|
279
|
+
models: chatModels,
|
|
280
280
|
required: true
|
|
281
281
|
}),
|
|
282
|
-
|
|
282
|
+
chatModels.length === 0 && /* @__PURE__ */ jsxs("p", {
|
|
283
283
|
className: "muted text-[0.85em]",
|
|
284
284
|
children: [
|
|
285
285
|
"Connect a provider under ",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as ConfirmDialog } from "./ConfirmDialog-
|
|
3
|
-
import { a as unarchiveAgent, n as archiveAgent, r as deleteAgent, t as SpawnDialog } from "./SpawnDialog-
|
|
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-
|
|
5
|
-
import { t as Route } from "./agents-
|
|
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
6
|
import { useState } from "react";
|
|
7
7
|
import { Link, useRouter } from "@tanstack/react-router";
|
|
8
8
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -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-GCCF14VW.js";
|
|
3
3
|
import { createFileRoute, lazyRouteComponent } from "@tanstack/react-router";
|
|
4
4
|
//#region src/routes/agents/index.tsx
|
|
5
|
-
var $$splitComponentImporter = () => import("./agents-
|
|
5
|
+
var $$splitComponentImporter = () => import("./agents-B7642eRO.js");
|
|
6
6
|
var fetchAgents = createServerFn({ method: "GET" }).validator((data) => data).handler(createSsrRpc("f715bab0037380aa3db7e237e7cf1e74168c363f48a960bb1ddfa5560de3a74e"));
|
|
7
7
|
var Route = createFileRoute("/agents/")({
|
|
8
8
|
validateSearch: (search) => ({ all: search.all === 1 ? 1 : void 0 }),
|
|
@@ -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-GCCF14VW.js";
|
|
3
3
|
import { createFileRoute, lazyRouteComponent } from "@tanstack/react-router";
|
|
4
4
|
//#region src/routes/templates/agents/index.tsx
|
|
5
|
-
var $$splitComponentImporter = () => import("./agents-
|
|
5
|
+
var $$splitComponentImporter = () => import("./agents-B6OR3x99.js");
|
|
6
6
|
var fetchProfiles = createServerFn({ method: "GET" }).handler(createSsrRpc("bc31355f2be9889a616d03c35062d483ea77c3f967af9432d721626a81078ef3"));
|
|
7
7
|
var Route = createFileRoute("/templates/agents/")({
|
|
8
8
|
loader: () => fetchProfiles(),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as createServerFn } from "../server.js";
|
|
2
|
-
import { t as
|
|
2
|
+
import { t as MODELS_PATH } from "./ModelMenu-DUY9aHkE.js";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-B7Yr1K8i.js";
|
|
4
4
|
import { n as daemonClient } from "./daemon-client-B_ZRIIrT.js";
|
|
5
5
|
//#region src/routes/templates/agents/index.tsx?tss-serverfn-split
|
|
@@ -12,13 +12,13 @@ var fetchProfiles = createServerFn({ method: "GET" }).handler(fetchProfiles_crea
|
|
|
12
12
|
const client = daemonClient();
|
|
13
13
|
const [profiles, models, skills, templates] = await Promise.all([
|
|
14
14
|
client.get("/api/profiles"),
|
|
15
|
-
client.get(
|
|
15
|
+
client.get(MODELS_PATH),
|
|
16
16
|
client.get("/api/skills"),
|
|
17
17
|
client.get("/api/profiles/_/templates")
|
|
18
18
|
]);
|
|
19
19
|
return {
|
|
20
20
|
profiles,
|
|
21
|
-
|
|
21
|
+
chatModels: models.chat,
|
|
22
22
|
skills,
|
|
23
23
|
templates
|
|
24
24
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as PageHeader, c as Stat, i as ItemRow, l as StatusBadge, n as EmptyState, o as PageShell, r as ItemList, s as SectionCard } from "./createSsrRpc-
|
|
3
|
-
import { t as Route } from "./attention-
|
|
1
|
+
import { C as api, T as errorMessage, u as Button } from "./workspace-DaitCM0t.js";
|
|
2
|
+
import { a as PageHeader, c as Stat, i as ItemRow, l as StatusBadge, n as EmptyState, o as PageShell, r as ItemList, s as SectionCard } from "./createSsrRpc-GCCF14VW.js";
|
|
3
|
+
import { t as Route } from "./attention-DS3O9UmJ.js";
|
|
4
4
|
import { useState } from "react";
|
|
5
5
|
import { Link } from "@tanstack/react-router";
|
|
6
6
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|