bazilion 0.50.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.
Files changed (170) hide show
  1. package/dist/cli.js +316 -90
  2. package/dist/cli.js.map +1 -1
  3. package/dist/daemon.js +1378 -364
  4. package/dist/daemon.js.map +1 -1
  5. package/dist/web/client/assets/AddProviderDialog-BiGLKnu2.js +1 -0
  6. package/dist/web/client/assets/ConfigPage-DvBzy2MN.js +1 -0
  7. package/dist/web/client/assets/ConfirmDialog-CiZ5tk9R.js +1 -0
  8. package/dist/web/client/assets/ConnectionsView-Czkpm2JY.js +1 -0
  9. package/dist/web/client/assets/Dialog-s_kPtI-W.js +1 -0
  10. package/dist/web/client/assets/ModelMenu-BfUPoRjV.js +1 -0
  11. package/dist/web/client/assets/SectionTabs-DENNb6Nw.js +1 -0
  12. package/dist/web/client/assets/Segmented-Dh77vmpp.js +1 -0
  13. package/dist/web/client/assets/SkillFindings-Xng11qqx.js +1 -0
  14. package/dist/web/client/assets/SkillsPicker-hI3YXvib.js +1 -0
  15. package/dist/web/client/assets/SpawnDialog-CKWFQ6jk.js +1 -0
  16. package/dist/web/client/assets/Tabs-f6bHvCGn.js +1 -0
  17. package/dist/web/client/assets/TeamForm-kda1HYZG.js +1 -0
  18. package/dist/web/client/assets/TeamThread-2rm1JGSk.js +1 -0
  19. package/dist/web/client/assets/UnsavedChangesGuard-nx6dv2Yw.js +1 -0
  20. package/dist/web/client/assets/_id-B72mIpcE.js +1 -0
  21. package/dist/web/client/assets/_id-Bzavnza1.js +1 -0
  22. package/dist/web/client/assets/access-Yw9jODuk.js +1 -0
  23. package/dist/web/client/assets/agents-C9xoyL7o.js +1 -0
  24. package/dist/web/client/assets/agents-TviG16wx.js +1 -0
  25. package/dist/web/client/assets/api-HC_YzjBy.js +1 -0
  26. package/dist/web/client/assets/arrow-right-Gm_FDWJ_.js +1 -0
  27. package/dist/web/client/assets/attention-DmURtlJm.js +1 -0
  28. package/dist/web/client/assets/check-BjgKoGvU.js +1 -0
  29. package/dist/web/client/assets/chevron-right-CUZiA2aG.js +1 -0
  30. package/dist/web/client/assets/config-UZz_mjO5.js +1 -0
  31. package/dist/web/client/assets/createLucideIcon-C6gOo8sD.js +1 -0
  32. package/dist/web/client/assets/dist-BWppw70N.js +41 -0
  33. package/dist/web/client/assets/dist-D2dwY7MR.js +1 -0
  34. package/dist/web/client/assets/index-Df1oUtAP.js +14 -0
  35. package/dist/web/client/assets/link-Cbztlp_R.js +1 -0
  36. package/dist/web/client/assets/login-CPfdaqsV.js +1 -0
  37. package/dist/web/client/assets/mcp-FlYnNon0.js +1 -0
  38. package/dist/web/client/assets/model-facts-DoB6QD5y.js +1 -0
  39. package/dist/web/client/assets/parts-tIDBNsYA.js +1 -0
  40. package/dist/web/client/assets/plus-CWrKMtvA.js +1 -0
  41. package/dist/web/client/assets/routes-BZaWCoQj.js +76 -0
  42. package/dist/web/client/assets/save-f9O-CQia.js +1 -0
  43. package/dist/web/client/assets/skills-C7yDPC8s.js +1 -0
  44. package/dist/web/client/assets/style-DDuTFJUu.js +7 -0
  45. package/dist/web/client/assets/styles-BviXU81u.css +2 -0
  46. package/dist/web/client/assets/system-CL3Kz36L.js +1 -0
  47. package/dist/web/client/assets/teams-CQTEF5gV.js +1 -0
  48. package/dist/web/client/assets/teams-DQ7SqVyF.js +1 -0
  49. package/dist/web/client/assets/telegram-BLgxtGhZ.js +1 -0
  50. package/dist/web/client/assets/tools-pOQyGVYo.js +1 -0
  51. package/dist/web/client/assets/use-resource-C3MBZJop.js +1 -0
  52. package/dist/web/client/assets/welcome-Hr6JpMef.js +1 -0
  53. package/dist/web/client/assets/wrench-6BEIqKDn.js +1 -0
  54. package/dist/web/server/assets/AddProviderDialog-Tn4AskPm.js +613 -0
  55. package/dist/web/server/assets/{ConfigPage-DSLM5CLw.js → ConfigPage-DqDUujmt.js} +4 -4
  56. package/dist/web/server/assets/ConfirmDialog-DfaJ--A6.js +52 -0
  57. package/dist/web/server/assets/{ConnectionsView-DVLNH81Y.js → ConnectionsView-DAG-zNBz.js} +7 -5
  58. package/dist/web/server/assets/{ConfirmDialog-CvLZgbfY.js → Dialog-aup_yJv5.js} +3 -50
  59. package/dist/web/server/assets/ModelMenu-DUY9aHkE.js +138 -0
  60. package/dist/web/server/assets/{Rail-D8LhjS38.js → Rail-BIC_4ptO.js} +8 -66
  61. package/dist/web/server/assets/{SectionTabs-CNcvxbR8.js → SectionTabs-BGsrf-UQ.js} +5 -4
  62. package/dist/web/server/assets/Segmented-3ZLdqa5U.js +18 -0
  63. package/dist/web/server/assets/{SkillFindings-DX8lCMG7.js → SkillFindings-BdATze1A.js} +1 -1
  64. package/dist/web/server/assets/{SpawnDialog-Brmkl_ll.js → SpawnDialog-D_SMPCG_.js} +11 -8
  65. package/dist/web/server/assets/{TeamForm-CvQAs2FA.js → TeamForm-ilBaeLI4.js} +1 -1
  66. package/dist/web/server/assets/{TeamThread-BNJi6gPM.js → TeamThread-DuLlGDcw.js} +4 -19
  67. package/dist/web/server/assets/{UnsavedChangesGuard-B3Lpl08z.js → UnsavedChangesGuard-DrOvPV14.js} +1 -1
  68. package/dist/web/server/assets/{_id-CO1PgvyG.js → _id-BsZcsabI.js} +11 -11
  69. package/dist/web/server/assets/{_id-CA3QO7J5.js → _id-D8Kj0F30.js} +2 -2
  70. package/dist/web/server/assets/{_id-DIXUiIaB.js → _id-DJnYgisy.js} +2 -2
  71. package/dist/web/server/assets/{_id-E2N4gZ4O.js → _id-QYifTM9w.js} +3 -3
  72. package/dist/web/server/assets/{_id-BH1631a8.js → _id-yN0z7VqE.js} +6 -6
  73. package/dist/web/server/assets/_tanstack-start-manifest_v-D6zrzUC7.js +223 -0
  74. package/dist/web/server/assets/{tokens-CEdl8puR.js → access-C_pupPks.js} +3 -3
  75. package/dist/web/server/assets/{tokens-CsqoRt5T.js → access-DKOpcHIJ.js} +10 -10
  76. package/dist/web/server/assets/{tokens-ByPTGFBQ.js → access-GMGed5O8.js} +5 -5
  77. package/dist/web/server/assets/{agents-DrkEwIpR.js → agents-B6OR3x99.js} +14 -14
  78. package/dist/web/server/assets/{agents-CalSKogx.js → agents-B7642eRO.js} +5 -5
  79. package/dist/web/server/assets/{agents-DPZVni4Q.js → agents-BJ-_oC2e.js} +2 -2
  80. package/dist/web/server/assets/{agents-CdZvooeQ.js → agents-CjV0w-Zy.js} +2 -2
  81. package/dist/web/server/assets/{agents-C63VycUw.js → agents-Dy_Q-9lG.js} +3 -3
  82. package/dist/web/server/assets/{attention-DIyX3VMB.js → attention-CLP4HYBz.js} +3 -3
  83. package/dist/web/server/assets/{attention-BbE4yc-V.js → attention-DS3O9UmJ.js} +2 -2
  84. package/dist/web/server/assets/config-DjTGA4iZ.js +17 -0
  85. package/dist/web/server/assets/config-Q7livfa3.js +1215 -0
  86. package/dist/web/server/assets/config-X7qWbbpH.js +20 -0
  87. package/dist/web/server/assets/{Page-KIL1CsME.js → createSsrRpc-GCCF14VW.js} +17 -2
  88. package/dist/web/server/assets/{mcp-Cf7KzOJ9.js → mcp-BI-FD-JI.js} +5 -5
  89. package/dist/web/server/assets/{mcp-DE14q5c0.js → mcp-ZARSOxZW.js} +2 -2
  90. package/dist/web/server/assets/model-facts-mrfrWQne.js +136 -0
  91. package/dist/web/server/assets/parts-B31PJkhi.js +190 -0
  92. package/dist/web/server/assets/{router-w2yPgmC1.js → router-Dh2-IvLL.js} +69 -81
  93. package/dist/web/server/assets/{routes-1FEodTRm.js → routes-BJIJWCIE.js} +3 -3
  94. package/dist/web/server/assets/{routes-D1NHwz6f.js → routes-C9NawqcV.js} +22 -15
  95. package/dist/web/server/assets/{routes-B6AO0LjK.js → routes-CDskMy5C.js} +2 -2
  96. package/dist/web/server/assets/{skills-DC1OTc8n.js → skills-BqLq3ZXq.js} +5 -5
  97. package/dist/web/server/assets/{skills-CA17GjuZ.js → skills-StN15QhC.js} +2 -2
  98. package/dist/web/server/assets/system-BtRA2HUs.js +138 -0
  99. package/dist/web/server/assets/system-Dl-1RhoP.js +12 -0
  100. package/dist/web/server/assets/system-DtswhLW6.js +18 -0
  101. package/dist/web/server/assets/{teams-D6Tx-Jyn.js → teams-5PMGvHuM.js} +2 -2
  102. package/dist/web/server/assets/{teams-OzHTyVi9.js → teams-COaU0wN9.js} +4 -4
  103. package/dist/web/server/assets/{teams-Cg-QQWpH.js → teams-Ca8W4mvl.js} +5 -5
  104. package/dist/web/server/assets/{teams-Bm63mbTt.js → teams-CbIPKf99.js} +2 -2
  105. package/dist/web/server/assets/{telegram-Gy7_9yih.js → telegram-CGol0CKX2.js} +3 -3
  106. package/dist/web/server/assets/{telegram-xU-vXgef.js → telegram-Cv0D4gyz.js} +5 -5
  107. package/dist/web/server/assets/{telegram-BJ4l_TA_.js → telegram-Yx8nm6Ei.js} +5 -5
  108. package/dist/web/server/assets/tools-C-wwWjLI.js +12 -0
  109. package/dist/web/server/assets/tools-OfD22R-C.js +502 -0
  110. package/dist/web/server/assets/tools-ioJcPzMW.js +12 -0
  111. package/dist/web/server/assets/use-resource-DVzK0toP.js +63 -0
  112. package/dist/web/server/assets/utils-C_uf36nf.js +8 -0
  113. package/dist/web/server/assets/welcome-CxXMI4HI.js +15 -0
  114. package/dist/web/server/assets/welcome-FFEbrNT1.js +319 -0
  115. package/dist/web/server/assets/welcome-jxmpE_Jb.js +26 -0
  116. package/dist/web/server/assets/{workspace-DeEYMPDX.js → workspace-DaitCM0t.js} +1 -8
  117. package/dist/web/server/server.js +27 -19
  118. package/dist/worker.js +277 -153
  119. package/dist/worker.js.map +1 -1
  120. package/package.json +1 -1
  121. package/dist/web/client/assets/ConfigPage-_FY--9PB.js +0 -1
  122. package/dist/web/client/assets/ConfirmDialog-BblXqMVb.js +0 -1
  123. package/dist/web/client/assets/ConnectionsView-BZHJysCa.js +0 -1
  124. package/dist/web/client/assets/FieldRow-k05wfDy9.js +0 -1
  125. package/dist/web/client/assets/ModelSelect-CvOHjUyB.js +0 -1
  126. package/dist/web/client/assets/SectionTabs-DlfXtepS.js +0 -1
  127. package/dist/web/client/assets/SkillFindings-CHf5ZGY0.js +0 -1
  128. package/dist/web/client/assets/SkillsPicker-Cr87y_W-.js +0 -1
  129. package/dist/web/client/assets/SpawnDialog-C-Ujb4bC.js +0 -1
  130. package/dist/web/client/assets/Tabs-D0LgBNIk.js +0 -1
  131. package/dist/web/client/assets/TeamForm-D6EAAF7m.js +0 -1
  132. package/dist/web/client/assets/TeamThread-DpUOwMoi.js +0 -1
  133. package/dist/web/client/assets/UnsavedChangesGuard-DTUP7hwu.js +0 -1
  134. package/dist/web/client/assets/_id-C94dgBDe.js +0 -1
  135. package/dist/web/client/assets/_id-CxmEfoEp.js +0 -1
  136. package/dist/web/client/assets/agents-C-bJ5R_0.js +0 -1
  137. package/dist/web/client/assets/agents-odqBNx-A.js +0 -1
  138. package/dist/web/client/assets/api-CPzQ_z9m.js +0 -1
  139. package/dist/web/client/assets/arrow-right-Dyta3p06.js +0 -1
  140. package/dist/web/client/assets/attention-D0e7o7fh.js +0 -1
  141. package/dist/web/client/assets/chevron-right-B2YEg9rw.js +0 -1
  142. package/dist/web/client/assets/config-B7Y5MtpM.js +0 -3
  143. package/dist/web/client/assets/createLucideIcon-Cgab8gqu.js +0 -1
  144. package/dist/web/client/assets/index-CNVw44IE.js +0 -54
  145. package/dist/web/client/assets/jsx-runtime-bzQ4Vb5N.js +0 -1
  146. package/dist/web/client/assets/link-ClwtaO_E.js +0 -1
  147. package/dist/web/client/assets/login-Br1F4rQx.js +0 -1
  148. package/dist/web/client/assets/mcp-B8bIAY6k.js +0 -1
  149. package/dist/web/client/assets/routes-BZdlkRdC.js +0 -76
  150. package/dist/web/client/assets/save-ZqeB_I-c.js +0 -1
  151. package/dist/web/client/assets/services-CPJxDrVG.js +0 -1
  152. package/dist/web/client/assets/skills-DE_kQQGj.js +0 -1
  153. package/dist/web/client/assets/style-BWShXY3e.js +0 -7
  154. package/dist/web/client/assets/styles-Tney8jZq.css +0 -2
  155. package/dist/web/client/assets/teams-AcuSLc3I.js +0 -1
  156. package/dist/web/client/assets/teams-tRamPg7O.js +0 -1
  157. package/dist/web/client/assets/telegram-Ku69-GAv.js +0 -1
  158. package/dist/web/client/assets/tokens-DuLNZMgi.js +0 -1
  159. package/dist/web/client/assets/welcome-CrQk6n6I.js +0 -1
  160. package/dist/web/server/assets/FieldRow-DQBzMtcR.js +0 -173
  161. package/dist/web/server/assets/ModelSelect-Vwro6OkL.js +0 -43
  162. package/dist/web/server/assets/_tanstack-start-manifest_v-BVfrV7LQ.js +0 -191
  163. package/dist/web/server/assets/config-3tPtOmPE.js +0 -12
  164. package/dist/web/server/assets/config-DJGZiPBJ.js +0 -798
  165. package/dist/web/server/assets/config-rUqhMjIs.js +0 -25
  166. package/dist/web/server/assets/createSsrRpc-6LHNEsSK.js +0 -16
  167. package/dist/web/server/assets/services-BjroGXgC.js +0 -74
  168. package/dist/web/server/assets/services-Cdk40QHq.js +0 -13
  169. package/dist/web/server/assets/services-DsHRLL8q.js +0 -12
  170. package/dist/web/server/assets/welcome-O6Rjd7yO.js +0 -93
@@ -1,27 +1,27 @@
1
- import { n as createServerFn } from "../server.js";
2
1
  import { r as readCookie } from "./cookies-HnTYjKRp.js";
3
- import { E as errorMessage, c as parseWorkspaceSearch, d as Button, f as AgentAvatar, m as agentState, w as api } from "./workspace-DeEYMPDX.js";
2
+ import { C as api, T as errorMessage, c as parseWorkspaceSearch, d as AgentAvatar, p as agentState, u as Button } from "./workspace-DaitCM0t.js";
4
3
  import { n as publicOriginConfig } from "./public-origin-BpDkdS5Q.js";
5
4
  import { t as DAEMON_BASE_URL } from "./daemon-client-B_ZRIIrT.js";
6
- import { a as PageShell } from "./Page-KIL1CsME.js";
7
- import { i as BaziuLogo, n as ThemeToggle, r as PawIcon, t as Route$4 } from "./login-JoIjlcmu.js";
8
- import { t as createSsrRpc } from "./createSsrRpc-6LHNEsSK.js";
9
- import { t as Route$5 } from "./routes-1FEodTRm.js";
10
- import { t as Route$6 } from "./teams-D6Tx-Jyn.js";
11
- import { t as Route$7 } from "./skills-CA17GjuZ.js";
12
- import { t as Route$8 } from "./config-3tPtOmPE.js";
13
- import { t as Route$9 } from "./attention-BbE4yc-V.js";
14
- import { t as Route$10 } from "./agents-DPZVni4Q.js";
15
- import { t as Route$11 } from "./tokens-ByPTGFBQ.js";
16
- import { t as Route$12 } from "./services-Cdk40QHq.js";
17
- import { t as Route$13 } from "./mcp-DE14q5c0.js";
18
- import { t as Route$14 } from "./teams-Bm63mbTt.js";
19
- import { t as Route$15 } from "./agents-CdZvooeQ.js";
20
- import { t as Route$16 } from "./telegram-xU-vXgef.js";
21
- import { t as Route$17 } from "./_id-DIXUiIaB.js";
22
- import { t as Route$18 } from "./_id-CA3QO7J5.js";
5
+ import { o as PageShell } from "./createSsrRpc-GCCF14VW.js";
6
+ import { i as BaziuLogo, n as ThemeToggle, r as PawIcon, t as Route$3 } from "./login-JoIjlcmu.js";
7
+ import { i as isSetupOpen, n as PUBLIC_PATHS, r as fetchAuthState, t as Route$4 } from "./welcome-jxmpE_Jb.js";
8
+ import { t as Route$5 } from "./routes-BJIJWCIE.js";
9
+ import { t as Route$6 } from "./teams-5PMGvHuM.js";
10
+ import { t as Route$7 } from "./skills-StN15QhC.js";
11
+ import { t as Route$8 } from "./config-DjTGA4iZ.js";
12
+ import { t as Route$9 } from "./attention-DS3O9UmJ.js";
13
+ import { t as Route$10 } from "./agents-BJ-_oC2e.js";
14
+ import { t as Route$11 } from "./tools-ioJcPzMW.js";
15
+ import { t as Route$12 } from "./telegram-Cv0D4gyz.js";
16
+ import { t as Route$13 } from "./system-Dl-1RhoP.js";
17
+ import { t as Route$14 } from "./mcp-ZARSOxZW.js";
18
+ import { t as Route$15 } from "./access-GMGed5O8.js";
19
+ import { t as Route$16 } from "./teams-CbIPKf99.js";
20
+ import { t as Route$17 } from "./agents-CjV0w-Zy.js";
21
+ import { t as Route$18 } from "./_id-DJnYgisy.js";
22
+ import { t as Route$19 } from "./_id-D8Kj0F30.js";
23
23
  import { useEffect, useMemo, useState } from "react";
24
- import { HeadContent, Link, Outlet, Scripts, createFileRoute, createRootRoute, createRouter, lazyRouteComponent, redirect, useNavigate, useRouter, useRouterState } from "@tanstack/react-router";
24
+ import { HeadContent, Link, Outlet, Scripts, createFileRoute, createRootRoute, createRouter, redirect, useNavigate, useRouter, useRouterState } from "@tanstack/react-router";
25
25
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
26
26
  import { BellRing, Bot, ChevronDown, LayoutTemplate, LogOut, Search, Settings2, SlidersHorizontal, Sparkles, UsersRound } from "lucide-react";
27
27
  import { Dialog, DropdownMenu } from "radix-ui";
@@ -121,7 +121,7 @@ var PAGES = [
121
121
  ],
122
122
  [
123
123
  "Setup",
124
- "Providers, services, access",
124
+ "Models, tools, Telegram, access",
125
125
  "/config"
126
126
  ]
127
127
  ];
@@ -365,7 +365,7 @@ var MANAGE_LINKS = [
365
365
  {
366
366
  href: "/config",
367
367
  label: "Setup",
368
- description: "Providers, integrations, access, and services.",
368
+ description: "Models and providers, services, integrations, access.",
369
369
  icon: Settings2
370
370
  }
371
371
  ];
@@ -554,21 +554,12 @@ function navButtonClass(active) {
554
554
  return `unstyled inline-flex h-9 shrink-0 items-center justify-center gap-1.5 rounded-lg border px-2 text-sm font-semibold transition-colors sm:px-2.5 ${active ? "border-sapphire-light bg-sapphire-glow text-sapphire shadow-baziu-sm" : "border-transparent text-mocha hover:border-frost hover:bg-ivory hover:text-sapphire"}`;
555
555
  }
556
556
  //#endregion
557
- //#region src/lib/auth.ts
558
- var fetchAuthState = createServerFn({ method: "GET" }).handler(createSsrRpc("a5d3825fc69573bb55bab6df578c750ebb0240dd394c3acee3adea02918a5dc2"));
559
- /** Pages reachable without a session. */
560
- var PUBLIC_PATHS = new Set(["/login"]);
561
- var SETUP_OPEN_PREFIXES = ["/welcome", "/config"];
562
- function isSetupOpen(path) {
563
- return SETUP_OPEN_PREFIXES.some((prefix) => path === prefix || path.startsWith(`${prefix}/`));
564
- }
565
- //#endregion
566
557
  //#region src/styles.css?url
567
- var styles_default = "/assets/styles-Tney8jZq.css";
558
+ var styles_default = "/assets/styles-BviXU81u.css";
568
559
  //#endregion
569
560
  //#region src/routes/__root.tsx
570
561
  var THEME_INIT_SCRIPT = `(function(){try{var t=localStorage.getItem('baziu-theme');var sd=window.matchMedia&&window.matchMedia('(prefers-color-scheme: dark)').matches;var d=t==='dark'||((t===null||t==='system')&&sd);document.documentElement.classList.toggle('dark',d);}catch(e){}})();`;
571
- var Route$3 = createRootRoute({
562
+ var Route$2 = createRootRoute({
572
563
  beforeLoad: async ({ location }) => {
573
564
  const path = location.pathname;
574
565
  if (PUBLIC_PATHS.has(path)) return;
@@ -674,15 +665,6 @@ function RootComponent() {
674
665
  });
675
666
  }
676
667
  //#endregion
677
- //#region src/routes/welcome.tsx
678
- var $$splitComponentImporter = () => import("./welcome-O6Rjd7yO.js");
679
- var Route$2 = createFileRoute("/welcome")({
680
- beforeLoad: async () => {
681
- if ((await fetchAuthState()).setupComplete) throw redirect({ to: "/" });
682
- },
683
- component: lazyRouteComponent($$splitComponentImporter, "component")
684
- });
685
- //#endregion
686
668
  //#region src/routes/templates/index.tsx
687
669
  var Route$1 = createFileRoute("/templates/")({ beforeLoad: () => {
688
670
  throw redirect({ to: "/templates/agents" });
@@ -779,116 +761,122 @@ var Route = createFileRoute("/api/$")({ server: { handlers: {
779
761
  } } });
780
762
  //#endregion
781
763
  //#region src/routeTree.gen.ts
782
- var WelcomeRoute = Route$2.update({
764
+ var WelcomeRoute = Route$4.update({
783
765
  id: "/welcome",
784
766
  path: "/welcome",
785
- getParentRoute: () => Route$3
767
+ getParentRoute: () => Route$2
786
768
  });
787
- var LoginRoute = Route$4.update({
769
+ var LoginRoute = Route$3.update({
788
770
  id: "/login",
789
771
  path: "/login",
790
- getParentRoute: () => Route$3
772
+ getParentRoute: () => Route$2
791
773
  });
792
774
  var IndexRoute = Route$5.update({
793
775
  id: "/",
794
776
  path: "/",
795
- getParentRoute: () => Route$3
777
+ getParentRoute: () => Route$2
796
778
  });
797
779
  var TemplatesIndexRoute = Route$1.update({
798
780
  id: "/templates/",
799
781
  path: "/templates/",
800
- getParentRoute: () => Route$3
782
+ getParentRoute: () => Route$2
801
783
  });
802
784
  var TeamsIndexRoute = Route$6.update({
803
785
  id: "/teams/",
804
786
  path: "/teams/",
805
- getParentRoute: () => Route$3
787
+ getParentRoute: () => Route$2
806
788
  });
807
789
  var SkillsIndexRoute = Route$7.update({
808
790
  id: "/skills/",
809
791
  path: "/skills/",
810
- getParentRoute: () => Route$3
792
+ getParentRoute: () => Route$2
811
793
  });
812
794
  var ConfigIndexRoute = Route$8.update({
813
795
  id: "/config/",
814
796
  path: "/config/",
815
- getParentRoute: () => Route$3
797
+ getParentRoute: () => Route$2
816
798
  });
817
799
  var AttentionIndexRoute = Route$9.update({
818
800
  id: "/attention/",
819
801
  path: "/attention/",
820
- getParentRoute: () => Route$3
802
+ getParentRoute: () => Route$2
821
803
  });
822
804
  var AgentsIndexRoute = Route$10.update({
823
805
  id: "/agents/",
824
806
  path: "/agents/",
825
- getParentRoute: () => Route$3
807
+ getParentRoute: () => Route$2
808
+ });
809
+ var ConfigToolsRoute = Route$11.update({
810
+ id: "/config/tools",
811
+ path: "/config/tools",
812
+ getParentRoute: () => Route$2
826
813
  });
827
- var ConfigTokensRoute = Route$11.update({
828
- id: "/config/tokens",
829
- path: "/config/tokens",
830
- getParentRoute: () => Route$3
814
+ var ConfigTelegramRoute = Route$12.update({
815
+ id: "/config/telegram",
816
+ path: "/config/telegram",
817
+ getParentRoute: () => Route$2
831
818
  });
832
- var ConfigServicesRoute = Route$12.update({
833
- id: "/config/services",
834
- path: "/config/services",
835
- getParentRoute: () => Route$3
819
+ var ConfigSystemRoute = Route$13.update({
820
+ id: "/config/system",
821
+ path: "/config/system",
822
+ getParentRoute: () => Route$2
836
823
  });
837
- var ConfigMcpRoute = Route$13.update({
824
+ var ConfigMcpRoute = Route$14.update({
838
825
  id: "/config/mcp",
839
826
  path: "/config/mcp",
840
- getParentRoute: () => Route$3
827
+ getParentRoute: () => Route$2
828
+ });
829
+ var ConfigAccessRoute = Route$15.update({
830
+ id: "/config/access",
831
+ path: "/config/access",
832
+ getParentRoute: () => Route$2
841
833
  });
842
834
  var ApiSplatRoute = Route.update({
843
835
  id: "/api/$",
844
836
  path: "/api/$",
845
- getParentRoute: () => Route$3
837
+ getParentRoute: () => Route$2
846
838
  });
847
- var TemplatesTeamsIndexRoute = Route$14.update({
839
+ var TemplatesTeamsIndexRoute = Route$16.update({
848
840
  id: "/templates/teams/",
849
841
  path: "/templates/teams/",
850
- getParentRoute: () => Route$3
842
+ getParentRoute: () => Route$2
851
843
  });
852
- var TemplatesAgentsIndexRoute = Route$15.update({
844
+ var TemplatesAgentsIndexRoute = Route$17.update({
853
845
  id: "/templates/agents/",
854
846
  path: "/templates/agents/",
855
- getParentRoute: () => Route$3
856
- });
857
- var ConfigIntegrationsTelegramRoute = Route$16.update({
858
- id: "/config/integrations/telegram",
859
- path: "/config/integrations/telegram",
860
- getParentRoute: () => Route$3
847
+ getParentRoute: () => Route$2
861
848
  });
862
- var TemplatesTeamsIdIndexRoute = Route$17.update({
849
+ var TemplatesTeamsIdIndexRoute = Route$18.update({
863
850
  id: "/templates/teams/$id/",
864
851
  path: "/templates/teams/$id/",
865
- getParentRoute: () => Route$3
852
+ getParentRoute: () => Route$2
866
853
  });
867
854
  var rootRouteChildren = {
868
855
  IndexRoute,
869
856
  LoginRoute,
870
857
  WelcomeRoute,
871
858
  ApiSplatRoute,
859
+ ConfigAccessRoute,
872
860
  ConfigMcpRoute,
873
- ConfigServicesRoute,
874
- ConfigTokensRoute,
861
+ ConfigSystemRoute,
862
+ ConfigTelegramRoute,
863
+ ConfigToolsRoute,
875
864
  AgentsIndexRoute,
876
865
  AttentionIndexRoute,
877
866
  ConfigIndexRoute,
878
867
  SkillsIndexRoute,
879
868
  TeamsIndexRoute,
880
869
  TemplatesIndexRoute,
881
- ConfigIntegrationsTelegramRoute,
882
870
  TemplatesAgentsIndexRoute,
883
871
  TemplatesTeamsIndexRoute,
884
- TemplatesAgentsIdIndexRoute: Route$18.update({
872
+ TemplatesAgentsIdIndexRoute: Route$19.update({
885
873
  id: "/templates/agents/$id/",
886
874
  path: "/templates/agents/$id/",
887
- getParentRoute: () => Route$3
875
+ getParentRoute: () => Route$2
888
876
  }),
889
877
  TemplatesTeamsIdIndexRoute
890
878
  };
891
- var routeTree = Route$3._addFileChildren(rootRouteChildren)._addFileTypes();
879
+ var routeTree = Route$2._addFileChildren(rootRouteChildren)._addFileTypes();
892
880
  //#endregion
893
881
  //#region src/router.tsx
894
882
  function getRouter() {
@@ -1,9 +1,9 @@
1
1
  import { n as createServerFn } from "../server.js";
2
- import { c as parseWorkspaceSearch } from "./workspace-DeEYMPDX.js";
3
- import { t as createSsrRpc } from "./createSsrRpc-6LHNEsSK.js";
2
+ import { c as parseWorkspaceSearch } from "./workspace-DaitCM0t.js";
3
+ import { t as createSsrRpc } from "./createSsrRpc-GCCF14VW.js";
4
4
  import { createFileRoute, lazyRouteComponent } from "@tanstack/react-router";
5
5
  //#region src/routes/index.tsx
6
- var $$splitComponentImporter = () => import("./routes-D1NHwz6f.js");
6
+ var $$splitComponentImporter = () => import("./routes-C9NawqcV.js");
7
7
  /** The rail's open/closed Teams; a bad cookie is ignored. */
8
8
  var fetchWorkspace = createServerFn({ method: "GET" }).validator((data) => data).handler(createSsrRpc("22325942f341b7af6fb13fa5fde2b06e1d7d91f9178205ef3eb9e5ba3c9ef2fe"));
9
9
  var Route = createFileRoute("/")({
@@ -1,14 +1,18 @@
1
- import { C as ApiError, E as errorMessage, S as summarizeSteps, T as apiFetch, _ as useActivity, a as isAgentSection, b as lineChange, d as Button, f as AgentAvatar, g as teamSummary, h as shortTime, i as PANEL_TABS, l as writePanelCookie, o as isTeamSection, p as ActivityProvider, r as PANEL_LABELS, u as cn, v as useActivityOptional, w as api, x as parseArgs, y as describeStep } from "./workspace-DeEYMPDX.js";
1
+ import { C as api, S as ApiError, T as errorMessage, _ as useActivityOptional, a as isAgentSection, b as parseArgs, d as AgentAvatar, f as ActivityProvider, g as useActivity, h as teamSummary, i as PANEL_TABS, l as writePanelCookie, m as shortTime, o as isTeamSection, r as PANEL_LABELS, u as Button, v as describeStep, w as apiFetch, x as summarizeSteps, y as lineChange } from "./workspace-DaitCM0t.js";
2
2
  import { i as REASONING_LEVELS } from "./entities-Dn2xzKIw.js";
3
- import { a as SlimRail, c as useWorkspace, d as useMediaQuery, f as useResource, i as STATE_DOT, l as useWorkspaceOptional, n as RenameAgentDialog, o as SpawnTeamModal, s as WorkspaceProvider, t as Rail, u as useHydrated } from "./Rail-D8LhjS38.js";
4
- import { n as Dialog$1, r as DialogActions, t as ConfirmDialog } from "./ConfirmDialog-CvLZgbfY.js";
5
- import { a as trafficByPair, i as pairKey, n as useTeamMessages, o as FocusFrame, r as messageText, s as Segmented, t as TeamThread } from "./TeamThread-BNJi6gPM.js";
6
- import { t as UnsavedChangesGuard } from "./UnsavedChangesGuard-B3Lpl08z.js";
7
- import { a as unarchiveAgent, n as archiveAgent, r as deleteAgent, t as SpawnDialog } from "./SpawnDialog-Brmkl_ll.js";
8
- import { n as ModelSelect, t as AVAILABLE_MODELS_PATH } from "./ModelSelect-Vwro6OkL.js";
9
- import { c as StatusBadge, n as ItemList, o as SectionCard, r as ItemRow } from "./Page-KIL1CsME.js";
10
- import { t as Route } from "./routes-1FEodTRm.js";
11
- import { n as FindingSummary, t as FindingList } from "./SkillFindings-DX8lCMG7.js";
3
+ import { n as useMediaQuery, r as useResource, t as useHydrated } from "./use-resource-DVzK0toP.js";
4
+ import { t as cn } from "./utils-C_uf36nf.js";
5
+ import { n as DialogActions, t as Dialog$1 } from "./Dialog-aup_yJv5.js";
6
+ import { t as ConfirmDialog } from "./ConfirmDialog-DfaJ--A6.js";
7
+ import { t as Segmented } from "./Segmented-3ZLdqa5U.js";
8
+ import { t as UnsavedChangesGuard } from "./UnsavedChangesGuard-DrOvPV14.js";
9
+ import { a as SlimRail, c as useWorkspace, i as STATE_DOT, l as useWorkspaceOptional, n as RenameAgentDialog, o as SpawnTeamModal, s as WorkspaceProvider, t as Rail } from "./Rail-BIC_4ptO.js";
10
+ import { a as trafficByPair, i as pairKey, n as useTeamMessages, o as FocusFrame, r as messageText, t as TeamThread } from "./TeamThread-DuLlGDcw.js";
11
+ import { a as unarchiveAgent, n as archiveAgent, r as deleteAgent, t as SpawnDialog } from "./SpawnDialog-D_SMPCG_.js";
12
+ import { n as ModelMenu, t as MODELS_PATH } from "./ModelMenu-DUY9aHkE.js";
13
+ import { i as ItemRow, l as StatusBadge, r as ItemList, s as SectionCard } from "./createSsrRpc-GCCF14VW.js";
14
+ import { t as Route } from "./routes-BJIJWCIE.js";
15
+ import { n as FindingSummary, t as FindingList } from "./SkillFindings-BdATze1A.js";
12
16
  import { Fragment, Suspense, createContext, lazy, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
13
17
  import { Link, useRouter } from "@tanstack/react-router";
14
18
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -960,7 +964,7 @@ function useTeamCounts(teamId) {
960
964
  /** The model and reasoning level of one Agent, over its template's defaults. */
961
965
  function AgentModel({ agent }) {
962
966
  const router = useRouter();
963
- const models = useResource((signal) => api(AVAILABLE_MODELS_PATH, { signal }), []);
967
+ const models = useResource((signal) => api(MODELS_PATH, { signal }), []);
964
968
  const savedModel = agent.agent.modelOverride ?? "";
965
969
  const [model, setModel] = useState(savedModel);
966
970
  const [reasoning, setReasoning] = useState(agent.reasoningLevel);
@@ -993,15 +997,18 @@ function AgentModel({ agent }) {
993
997
  onSubmit: (event) => void save(event),
994
998
  className: "[&_label]:mt-0",
995
999
  children: [
996
- /* @__PURE__ */ jsx(ModelSelect, {
1000
+ /* @__PURE__ */ jsx(ModelMenu, {
997
1001
  label: "Model",
998
1002
  value: model,
999
1003
  onChange: (value) => {
1000
1004
  setModel(value);
1001
1005
  setSaved(false);
1002
1006
  },
1003
- groups: models.data?.teams ?? [],
1004
- emptyOption: `The template's (${agent.profile.defaultModel})`
1007
+ models: models.data?.chat ?? [],
1008
+ inherited: {
1009
+ label: "The template’s model",
1010
+ model: agent.profile.defaultModel
1011
+ }
1005
1012
  }),
1006
1013
  /* @__PURE__ */ jsxs("label", { children: ["Reasoning", /* @__PURE__ */ jsx("select", {
1007
1014
  value: reasoning,
@@ -7475,7 +7482,7 @@ function TeamHome({ team }) {
7475
7482
  //#endregion
7476
7483
  //#region src/routes/index.tsx?tsr-split=component
7477
7484
  /** The rail's open/closed Teams; a bad cookie is ignored. */
7478
- var ConnectionsView = lazy(() => import("./ConnectionsView-DVLNH81Y.js").then((module) => ({ default: module.ConnectionsView })));
7485
+ var ConnectionsView = lazy(() => import("./ConnectionsView-DAG-zNBz.js").then((module) => ({ default: module.ConnectionsView })));
7479
7486
  function WorkspacePage() {
7480
7487
  const data = Route.useLoaderData();
7481
7488
  const search = Route.useSearch();
@@ -1,6 +1,6 @@
1
1
  import { a as getCookie, n as createServerFn } from "../server.js";
2
- import { n as PANEL_COOKIE, s as parsePanelCookie } from "./workspace-DeEYMPDX.js";
3
- import { r as SIDEBAR_OPEN_GROUPS_COOKIE } from "./Rail-D8LhjS38.js";
2
+ import { n as PANEL_COOKIE, s as parsePanelCookie } from "./workspace-DaitCM0t.js";
3
+ import { r as SIDEBAR_OPEN_GROUPS_COOKIE } from "./Rail-BIC_4ptO.js";
4
4
  import { t as createServerRpc } from "./createServerRpc-B7Yr1K8i.js";
5
5
  import { n as daemonClient, r as ApiClientError } from "./daemon-client-B_ZRIIrT.js";
6
6
  //#region src/routes/index.tsx?tss-serverfn-split
@@ -1,8 +1,8 @@
1
- import { C as ApiError, E as errorMessage, d as Button, w as api } from "./workspace-DeEYMPDX.js";
2
- import { t as ConfirmDialog } from "./ConfirmDialog-CvLZgbfY.js";
3
- import { a as PageShell, c as StatusBadge, i as PageHeader, n as ItemList, o as SectionCard, r as ItemRow, t as EmptyState } from "./Page-KIL1CsME.js";
4
- import { t as Route } from "./skills-CA17GjuZ.js";
5
- import { n as FindingSummary, t as FindingList } from "./SkillFindings-DX8lCMG7.js";
1
+ import { C as api, S as ApiError, T as errorMessage, u as Button } from "./workspace-DaitCM0t.js";
2
+ import { t as ConfirmDialog } from "./ConfirmDialog-DfaJ--A6.js";
3
+ 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";
4
+ import { t as Route } from "./skills-StN15QhC.js";
5
+ import { n as FindingSummary, t as FindingList } from "./SkillFindings-BdATze1A.js";
6
6
  import { t as Tabs } from "./Tabs-BhF41MfQ.js";
7
7
  import { useState } from "react";
8
8
  import { useRouter } from "@tanstack/react-router";
@@ -1,8 +1,8 @@
1
1
  import { n as createServerFn } from "../server.js";
2
- import { t as createSsrRpc } from "./createSsrRpc-6LHNEsSK.js";
2
+ import { t as createSsrRpc } from "./createSsrRpc-GCCF14VW.js";
3
3
  import { createFileRoute, lazyRouteComponent } from "@tanstack/react-router";
4
4
  //#region src/routes/skills/index.tsx
5
- var $$splitComponentImporter = () => import("./skills-DC1OTc8n.js");
5
+ var $$splitComponentImporter = () => import("./skills-BqLq3ZXq.js");
6
6
  var fetchSkills = createServerFn({ method: "GET" }).handler(createSsrRpc("ae1d30575b229c1e2622fbaf2252800a9a7acc84afdd68cba025ca890b8d52c5"));
7
7
  var Route = createFileRoute("/skills/")({
8
8
  loader: () => fetchSkills(),
@@ -0,0 +1,138 @@
1
+ import { t as Route } from "./system-Dl-1RhoP.js";
2
+ import { t as ConfigPage } from "./ConfigPage-DqDUujmt.js";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
4
+ //#region src/components/BackupCard.tsx
5
+ /** The same archive as `bazilion backup create`, saved by the browser straight from the daemon. */
6
+ function BackupCard() {
7
+ return /* @__PURE__ */ jsxs("section", {
8
+ "aria-label": "Backup",
9
+ className: "overflow-hidden rounded-2xl border border-border bg-card shadow-baziu-sm",
10
+ children: [/* @__PURE__ */ jsx("header", {
11
+ className: "border-b border-border px-4 py-3 sm:px-5",
12
+ children: /* @__PURE__ */ jsx("h2", {
13
+ className: "text-base font-semibold",
14
+ children: "Backup"
15
+ })
16
+ }), /* @__PURE__ */ jsxs("div", {
17
+ className: "flex flex-wrap items-center justify-between gap-3 p-4 text-sm sm:px-5",
18
+ children: [/* @__PURE__ */ jsxs("p", {
19
+ className: "m-0 max-w-prose text-muted-foreground",
20
+ children: [
21
+ "A tar.gz of the Bazilion home. It is not encrypted and holds every stored credential; for an encrypted copy run ",
22
+ /* @__PURE__ */ jsx("code", { children: "bazilion backup create --recipient <age1…>" }),
23
+ ". Restore with ",
24
+ /* @__PURE__ */ jsx("code", { children: "bazilion backup restore" }),
25
+ " while the daemon is stopped."
26
+ ]
27
+ }), /* @__PURE__ */ jsx("a", {
28
+ href: "/api/backup",
29
+ download: true,
30
+ className: "btn-primary no-underline",
31
+ children: "Download backup"
32
+ })]
33
+ })]
34
+ });
35
+ }
36
+ //#endregion
37
+ //#region src/components/InstallationReadinessCard.tsx
38
+ function InstallationReadinessCard({ report }) {
39
+ return /* @__PURE__ */ jsxs("section", {
40
+ "aria-label": "Installation health",
41
+ className: "overflow-hidden rounded-2xl border border-border bg-card shadow-baziu-sm",
42
+ children: [/* @__PURE__ */ jsx("header", {
43
+ className: "border-b border-border px-4 py-3 sm:px-5",
44
+ children: /* @__PURE__ */ jsx("h2", {
45
+ className: "text-base font-semibold",
46
+ children: "Installation health"
47
+ })
48
+ }), /* @__PURE__ */ jsxs("dl", {
49
+ className: "p-4 sm:px-5",
50
+ children: [
51
+ /* @__PURE__ */ jsx("dt", {
52
+ className: "text-xs text-muted-foreground",
53
+ children: "Installation health"
54
+ }),
55
+ /* @__PURE__ */ jsx("dd", {
56
+ className: `mt-1 font-semibold ${report.ok ? "text-success" : "text-warning"}`,
57
+ children: report.ok ? "Healthy" : "Issues found"
58
+ }),
59
+ /* @__PURE__ */ jsx("dd", {
60
+ className: "mt-1 text-xs text-muted-foreground",
61
+ children: "Run bazilion doctor for the details."
62
+ })
63
+ ]
64
+ })]
65
+ });
66
+ }
67
+ //#endregion
68
+ //#region src/components/RuntimeCard.tsx
69
+ /** Sandbox and approval apply the same way to every turn: chat, Telegram, schedules and inbox. */
70
+ function RuntimeCard({ shell }) {
71
+ return /* @__PURE__ */ jsxs("section", {
72
+ "aria-label": "Agent runtime",
73
+ className: "overflow-hidden rounded-2xl border border-border bg-card shadow-baziu-sm",
74
+ children: [/* @__PURE__ */ jsxs("header", {
75
+ className: "border-b border-border px-4 py-3 sm:px-5",
76
+ children: [/* @__PURE__ */ jsx("h2", {
77
+ className: "text-base font-semibold",
78
+ children: "Agent runtime"
79
+ }), /* @__PURE__ */ jsx("p", {
80
+ className: "mt-1 text-xs text-muted-foreground",
81
+ children: "Applies to every turn: chat, Telegram, schedules and inbox. Unattended turns auto-deny dangerous commands."
82
+ })]
83
+ }), shell.ok ? /* @__PURE__ */ jsxs("dl", {
84
+ className: "divide-y divide-border px-4 text-sm sm:px-5",
85
+ children: [
86
+ /* @__PURE__ */ jsx(Row, {
87
+ label: "Sandbox",
88
+ value: shell.sandboxMode === "docker" ? `Docker (${shell.sandboxImage}) — bash in a network-disabled container` : "Off — bash and file tools run on the host, unisolated"
89
+ }),
90
+ shell.docker && /* @__PURE__ */ jsx(Row, {
91
+ label: "Docker",
92
+ value: shell.docker.ready ? "Ready" : `Unavailable — ${shell.docker.reason}`,
93
+ ok: shell.docker.ready
94
+ }),
95
+ shell.docker?.remediation && /* @__PURE__ */ jsx(Row, {
96
+ label: "Remediation",
97
+ value: shell.docker.remediation
98
+ }),
99
+ /* @__PURE__ */ jsx(Row, {
100
+ label: "Dangerous-command approval",
101
+ value: shell.approvalMode === "dangerous" ? "On — chat can allow once; unattended turns auto-deny" : "Off"
102
+ })
103
+ ]
104
+ }) : /* @__PURE__ */ jsxs("p", {
105
+ role: "alert",
106
+ className: "px-4 py-3 text-sm text-warning sm:px-5",
107
+ children: ["Invalid shell-security configuration: ", shell.error]
108
+ })]
109
+ });
110
+ }
111
+ function Row({ label, value, ok }) {
112
+ return /* @__PURE__ */ jsxs("div", {
113
+ className: "grid gap-1 py-3 sm:grid-cols-[14rem_1fr] sm:gap-4",
114
+ children: [/* @__PURE__ */ jsx("dt", {
115
+ className: "text-muted-foreground",
116
+ children: label
117
+ }), /* @__PURE__ */ jsx("dd", {
118
+ className: ok === void 0 ? "font-medium" : ok ? "text-success" : "text-warning",
119
+ children: value
120
+ })]
121
+ });
122
+ }
123
+ //#endregion
124
+ //#region src/routes/config/system.tsx?tsr-split=component
125
+ function SystemPage() {
126
+ const { ok, runtime } = Route.useLoaderData();
127
+ return /* @__PURE__ */ jsxs(ConfigPage, {
128
+ title: "System",
129
+ description: "The installation itself: its health, how Agents run commands, and a backup of everything.",
130
+ children: [
131
+ /* @__PURE__ */ jsx(InstallationReadinessCard, { report: { ok } }),
132
+ /* @__PURE__ */ jsx(RuntimeCard, { shell: runtime }),
133
+ /* @__PURE__ */ jsx(BackupCard, {})
134
+ ]
135
+ });
136
+ }
137
+ //#endregion
138
+ export { SystemPage as component };
@@ -0,0 +1,12 @@
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/config/system.tsx
5
+ var $$splitComponentImporter = () => import("./system-BtRA2HUs.js");
6
+ var fetchSystem = createServerFn({ method: "GET" }).handler(createSsrRpc("58834496dff9dbc5592f06b548d9eed177e540c1be46c549dbd10fb7987403d7"));
7
+ var Route = createFileRoute("/config/system")({
8
+ loader: () => fetchSystem(),
9
+ component: lazyRouteComponent($$splitComponentImporter, "component")
10
+ });
11
+ //#endregion
12
+ export { Route as t };
@@ -0,0 +1,18 @@
1
+ import { n as createServerFn } from "../server.js";
2
+ import { t as createServerRpc } from "./createServerRpc-B7Yr1K8i.js";
3
+ import { n as daemonClient } from "./daemon-client-B_ZRIIrT.js";
4
+ //#region src/routes/config/system.tsx?tss-serverfn-split
5
+ var fetchSystem_createServerFn_handler = createServerRpc({
6
+ id: "58834496dff9dbc5592f06b548d9eed177e540c1be46c549dbd10fb7987403d7",
7
+ name: "fetchSystem",
8
+ filename: "src/routes/config/system.tsx"
9
+ }, (opts) => fetchSystem.__executeServer(opts));
10
+ var fetchSystem = createServerFn({ method: "GET" }).handler(fetchSystem_createServerFn_handler, async () => {
11
+ const health = await daemonClient().get("/api/health/details");
12
+ return {
13
+ ok: health.ok,
14
+ runtime: health.shellSecurity
15
+ };
16
+ });
17
+ //#endregion
18
+ export { fetchSystem_createServerFn_handler };
@@ -1,8 +1,8 @@
1
1
  import { n as createServerFn } from "../server.js";
2
- import { t as createSsrRpc } from "./createSsrRpc-6LHNEsSK.js";
2
+ import { t as createSsrRpc } from "./createSsrRpc-GCCF14VW.js";
3
3
  import { createFileRoute, lazyRouteComponent } from "@tanstack/react-router";
4
4
  //#region src/routes/teams/index.tsx
5
- var $$splitComponentImporter = () => import("./teams-Cg-QQWpH.js");
5
+ var $$splitComponentImporter = () => import("./teams-Ca8W4mvl.js");
6
6
  var fetchTeams = createServerFn({ method: "GET" }).handler(createSsrRpc("fda651b73911d8ef30f3a6b58894b5d853fdc4997acaf1793c76c06680504b82"));
7
7
  var Route = createFileRoute("/teams/")({
8
8
  loader: () => fetchTeams(),
@@ -1,7 +1,7 @@
1
- import { E as errorMessage, d as Button, w as api } from "./workspace-DeEYMPDX.js";
2
- import { a as PageShell, i as PageHeader, n as ItemList, o as SectionCard, r as ItemRow } from "./Page-KIL1CsME.js";
3
- import { t as Route } from "./teams-Bm63mbTt.js";
4
- import { n as SectionTabs, r as TEMPLATE_TABS } from "./SectionTabs-CNcvxbR8.js";
1
+ import { C as api, T as errorMessage, u as Button } from "./workspace-DaitCM0t.js";
2
+ import { a as PageHeader, i as ItemRow, o as PageShell, r as ItemList, s as SectionCard } from "./createSsrRpc-GCCF14VW.js";
3
+ import { t as Route } from "./teams-CbIPKf99.js";
4
+ import { n as SectionTabs, r as TEMPLATE_TABS } from "./SectionTabs-BGsrf-UQ.js";
5
5
  import { useState } from "react";
6
6
  import { useRouter } from "@tanstack/react-router";
7
7
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -1,8 +1,8 @@
1
- import { d as Button, w as api } from "./workspace-DeEYMPDX.js";
2
- import { t as ConfirmDialog } from "./ConfirmDialog-CvLZgbfY.js";
3
- import { t as TeamForm } from "./TeamForm-CvQAs2FA.js";
4
- import { a as PageShell, c as StatusBadge, i as PageHeader, n as ItemList, o as SectionCard, r as ItemRow, t as EmptyState } from "./Page-KIL1CsME.js";
5
- import { t as Route } from "./teams-D6Tx-Jyn.js";
1
+ import { C as api, u as Button } from "./workspace-DaitCM0t.js";
2
+ import { t as ConfirmDialog } from "./ConfirmDialog-DfaJ--A6.js";
3
+ import { t as TeamForm } from "./TeamForm-ilBaeLI4.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 "./teams-5PMGvHuM.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-6LHNEsSK.js";
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/index.tsx
5
- var $$splitComponentImporter = () => import("./teams-OzHTyVi9.js");
5
+ var $$splitComponentImporter = () => import("./teams-COaU0wN9.js");
6
6
  var fetchTemplates = createServerFn({ method: "GET" }).handler(createSsrRpc("04bb4df13ae68275e2f037ca67976778d2133273183d30d9ac2821f7cc7e85ad"));
7
7
  var Route = createFileRoute("/templates/teams/")({
8
8
  loader: () => fetchTemplates(),
@@ -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/integrations/telegram.tsx?tss-serverfn-split
4
+ //#region src/routes/config/telegram.tsx?tss-serverfn-split
5
5
  var fetchTelegramConfig_createServerFn_handler = createServerRpc({
6
- id: "00a157dd07824e1f126f06646effd1d876f280f6fc64c144d2f6429414a4e58a",
6
+ id: "9252e07d6f45cb1c4543c2ca6f1b0c4c7697c249f3e6c94fda53b8a603929a92",
7
7
  name: "fetchTelegramConfig",
8
- filename: "src/routes/config/integrations/telegram.tsx"
8
+ filename: "src/routes/config/telegram.tsx"
9
9
  }, (opts) => fetchTelegramConfig.__executeServer(opts));
10
10
  var fetchTelegramConfig = createServerFn({ method: "GET" }).handler(fetchTelegramConfig_createServerFn_handler, () => daemonClient().get("/api/config/telegram"));
11
11
  //#endregion