bazilion 0.52.0 → 0.53.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 (191) hide show
  1. package/dist/cli.js +1 -1
  2. package/dist/cli.js.map +1 -1
  3. package/dist/web/client/assets/AddProviderDialog-CO_uijWF.js +1 -0
  4. package/dist/web/client/assets/AgentTemplateParts-Dl35c-Ux.js +1 -0
  5. package/dist/web/client/assets/ConfigPage-DiQiJXP6.js +1 -0
  6. package/dist/web/client/assets/ConfirmDialog-BVytx3kN.js +1 -0
  7. package/dist/web/client/assets/ConnectionsView-DDrBaiLg.js +1 -0
  8. package/dist/web/client/assets/Dialog-BTDzv3J5.js +1 -0
  9. package/dist/web/client/assets/ManagePage-xlePXXx5.js +1 -0
  10. package/dist/web/client/assets/SectionTabs-BMiRKFfb.js +1 -0
  11. package/dist/web/client/assets/Segmented-Co4n2C5X.js +1 -0
  12. package/dist/web/client/assets/SpawnDialog-ejwXnyxy.js +1 -0
  13. package/dist/web/client/assets/SpawnTeamModal-Cp-nAvIC.js +1 -0
  14. package/dist/web/client/assets/TeamForm-Cz9uDVvb.js +1 -0
  15. package/dist/web/client/assets/TeamThread-D8xqE_gb.js +1 -0
  16. package/dist/web/client/assets/UnsavedChangesGuard-DmT4nBQU.js +1 -0
  17. package/dist/web/client/assets/_id-DEQxwq2v.js +1 -0
  18. package/dist/web/client/assets/_id-DSRgpxEc.js +1 -0
  19. package/dist/web/client/assets/access-34_ShgHU.js +1 -0
  20. package/dist/web/client/assets/agent-actions--EO4yJ4Q.js +1 -0
  21. package/dist/web/client/assets/agents-C87yBHaR.js +1 -0
  22. package/dist/web/client/assets/agents-DvCSl1Ro.js +1 -0
  23. package/dist/web/client/assets/api-CoLs57oO.js +1 -0
  24. package/dist/web/client/assets/arrow-right-BhTWtC9z.js +1 -0
  25. package/dist/web/client/assets/attention-CteEeRvX.js +1 -0
  26. package/dist/web/client/assets/chevron-right-BqOIX9UM.js +1 -0
  27. package/dist/web/client/assets/config-XJuQeEP4.js +1 -0
  28. package/dist/web/client/assets/createLucideIcon-dN8ooBD1.js +1 -0
  29. package/dist/web/client/assets/download-Dj-1ltZb.js +1 -0
  30. package/dist/web/client/assets/file-text-DiP-LaEg.js +1 -0
  31. package/dist/web/client/assets/form-Bvr_f9lR.js +1 -0
  32. package/dist/web/client/assets/images-BKjyhYUc.js +1 -0
  33. package/dist/web/client/assets/index-J_Uqj4md.js +54 -0
  34. package/dist/web/client/assets/key-round-QpqZklz6.js +1 -0
  35. package/dist/web/client/assets/list-checks-BeyG5SVQ.js +1 -0
  36. package/dist/web/client/assets/login-076Bc601.js +1 -0
  37. package/dist/web/client/assets/manage-CsrV2hhK.js +1 -0
  38. package/dist/web/client/assets/mcp-8N0BqZ0G.js +1 -0
  39. package/dist/web/client/assets/message-square-DnpSOYv4.js +1 -0
  40. package/dist/web/client/assets/network-BC7rNaOC.js +1 -0
  41. package/dist/web/client/assets/parts-B0JBolvG.js +1 -0
  42. package/dist/web/client/assets/plus-DZ3KVo7E.js +1 -0
  43. package/dist/web/client/assets/routes-3HkZZOOe.js +76 -0
  44. package/dist/web/client/assets/skills-DiaqZRXT.js +1 -0
  45. package/dist/web/client/assets/square-terminal-hQZ6pexU.js +1 -0
  46. package/dist/web/client/assets/style-BtcFIkOS.js +7 -0
  47. package/dist/web/client/assets/styles-C7Ztw15K.css +2 -0
  48. package/dist/web/client/assets/system-YWlJ8ogO.js +1 -0
  49. package/dist/web/client/assets/teams-DQwceMvk.js +1 -0
  50. package/dist/web/client/assets/teams-DTC3plIH.js +1 -0
  51. package/dist/web/client/assets/telegram-D4wINntt.js +1 -0
  52. package/dist/web/client/assets/tools-CZeQ9pDx.js +1 -0
  53. package/dist/web/client/assets/use-resource-BaTkTGvG.js +1 -0
  54. package/dist/web/client/assets/welcome-CnxP_RCk.js +1 -0
  55. package/dist/web/client/assets/wrench-BrwBswfo.js +1 -0
  56. package/dist/web/server/assets/{AddProviderDialog-Tn4AskPm.js → AddProviderDialog-Di5crZUB.js} +105 -4
  57. package/dist/web/server/assets/AgentTemplateParts-Cqy7kSzx.js +269 -0
  58. package/dist/web/server/assets/{ConfigPage-DqDUujmt.js → ConfigPage-oXM3wyOU.js} +2 -2
  59. package/dist/web/server/assets/{ConnectionsView-DAG-zNBz.js → ConnectionsView-DZrLoNoW.js} +3 -3
  60. package/dist/web/server/assets/ManagePage-0LKHEcT_.js +29 -0
  61. package/dist/web/server/assets/{ModelMenu-DUY9aHkE.js → ModelMenu-BAZeARx6.js} +3 -3
  62. package/dist/web/server/assets/{Rail-BIC_4ptO.js → Rail-7JU6ly2O.js} +14 -104
  63. package/dist/web/server/assets/{SectionTabs-BGsrf-UQ.js → SectionTabs-CWQ5orUW.js} +9 -2
  64. package/dist/web/server/assets/{SpawnDialog-D_SMPCG_.js → SpawnDialog-CYkwzETs.js} +49 -57
  65. package/dist/web/server/assets/SpawnTeamModal-CCe6P82H.js +127 -0
  66. package/dist/web/server/assets/TeamForm-BzQmdhVi.js +141 -0
  67. package/dist/web/server/assets/{TeamThread-DuLlGDcw.js → TeamThread-SyQpUvz5.js} +1 -1
  68. package/dist/web/server/assets/_id-AcyGvFrE.js +400 -0
  69. package/dist/web/server/assets/{_id-DJnYgisy.js → _id-BGTgqsWm.js} +8 -4
  70. package/dist/web/server/assets/{_id-TVruGcOd.js → _id-BKzOw78O.js} +11 -3
  71. package/dist/web/server/assets/{_id-yN0z7VqE.js → _id-DPGzfmjG.js} +255 -203
  72. package/dist/web/server/assets/_id-DXm9W55C.js +16 -0
  73. package/dist/web/server/assets/_id-DojvxRZn.js +39 -0
  74. package/dist/web/server/assets/_tanstack-start-manifest_v-D7RvKGRH.js +285 -0
  75. package/dist/web/server/assets/{access-GMGed5O8.js → access-BJe-NduL.js} +2 -2
  76. package/dist/web/server/assets/access-CKSW7MFH.js +297 -0
  77. package/dist/web/server/assets/{access-C_pupPks.js → access-WWspT0v4.js} +2 -1
  78. package/dist/web/server/assets/agent-actions-CUDMCG0F.js +20 -0
  79. package/dist/web/server/assets/agents-1sjSvp5p.js +12 -0
  80. package/dist/web/server/assets/{agents-BnWgFo6o.js → agents-6d9WxbYF.js} +9 -6
  81. package/dist/web/server/assets/agents-DKVGUwD1.js +31 -0
  82. package/dist/web/server/assets/agents-DUI4Yjtg.js +13 -0
  83. package/dist/web/server/assets/agents-DsHeRaLq.js +327 -0
  84. package/dist/web/server/assets/agents-DtLDoZ_u.js +136 -0
  85. package/dist/web/server/assets/{attention-Cr7puThv.js → attention-B6sSDR_4.js} +2 -1
  86. package/dist/web/server/assets/{attention-DS3O9UmJ.js → attention-DefKwvgm.js} +2 -2
  87. package/dist/web/server/assets/attention-johfkM0_.js +203 -0
  88. package/dist/web/server/assets/{config-Q7livfa3.js → config-Clz57LuN.js} +33 -82
  89. package/dist/web/server/assets/{config-DjTGA4iZ.js → config-DYAaaE9Z.js} +2 -2
  90. package/dist/web/server/assets/{createSsrRpc-GCCF14VW.js → createSsrRpc-BijMHgqE.js} +1 -45
  91. package/dist/web/server/assets/form-BRQAsKKq.js +319 -0
  92. package/dist/web/server/assets/manage-Ppyi3Y5y.js +230 -0
  93. package/dist/web/server/assets/mcp-Ce6O8Qs2.js +378 -0
  94. package/dist/web/server/assets/{mcp-ZARSOxZW.js → mcp-DB38leWS.js} +2 -2
  95. package/dist/web/server/assets/parts-mabERIJZ.js +380 -0
  96. package/dist/web/server/assets/{router-Dh2-IvLL.js → router-C97bwlXi.js} +35 -30
  97. package/dist/web/server/assets/{routes-C9NawqcV.js → routes-C4aGqXfr.js} +52 -8
  98. package/dist/web/server/assets/{routes-CDskMy5C.js → routes-DuOShl4q.js} +1 -1
  99. package/dist/web/server/assets/{routes-BJIJWCIE.js → routes-IHMVKpDK.js} +2 -2
  100. package/dist/web/server/assets/{skills-StN15QhC.js → skills-B7sg0QKS.js} +2 -2
  101. package/dist/web/server/assets/{skills-h5aHa7Q8.js → skills-DWzlT_hC.js} +9 -1
  102. package/dist/web/server/assets/skills-hfTSwqsG.js +353 -0
  103. package/dist/web/server/assets/{style-GYDODk2F.js → style-BR7ufS6Z.js} +1 -1
  104. package/dist/web/server/assets/system-CNQpt3JB.js +145 -0
  105. package/dist/web/server/assets/{system-DtswhLW6.js → system-D3th6n2E.js} +4 -2
  106. package/dist/web/server/assets/{system-Dl-1RhoP.js → system-DaP0ol67.js} +2 -2
  107. package/dist/web/server/assets/{teams-CbIPKf99.js → teams-4cEZ4_rw.js} +4 -2
  108. package/dist/web/server/assets/{teams-BxnvFTyn.js → teams-70u1XQTr.js} +1 -3
  109. package/dist/web/server/assets/teams-BKHe67f3.js +176 -0
  110. package/dist/web/server/assets/{teams-YrmyutM4.js → teams-BopOP4x7.js} +8 -1
  111. package/dist/web/server/assets/teams-C3xwTz8-.js +219 -0
  112. package/dist/web/server/assets/{teams-5PMGvHuM.js → teams-CuKE5iAK.js} +2 -2
  113. package/dist/web/server/assets/{telegram-Cv0D4gyz.js → telegram-BnQADwnj.js} +2 -2
  114. package/dist/web/server/assets/telegram-BpmK-HHV.js +1059 -0
  115. package/dist/web/server/assets/{tools-ioJcPzMW.js → tools-BQeWn7Tj.js} +2 -2
  116. package/dist/web/server/assets/{tools-OfD22R-C.js → tools-CURTfG2q.js} +56 -217
  117. package/dist/web/server/assets/{welcome-FFEbrNT1.js → welcome-OiZCAIHZ.js} +3 -4
  118. package/dist/web/server/assets/{welcome-jxmpE_Jb.js → welcome-SNsE49JO.js} +2 -2
  119. package/dist/web/server/server.js +20 -20
  120. package/package.json +1 -1
  121. package/dist/web/client/assets/AddProviderDialog-BiGLKnu2.js +0 -1
  122. package/dist/web/client/assets/ConfigPage-DvBzy2MN.js +0 -1
  123. package/dist/web/client/assets/ConfirmDialog-CiZ5tk9R.js +0 -1
  124. package/dist/web/client/assets/ConnectionsView-Czkpm2JY.js +0 -1
  125. package/dist/web/client/assets/Dialog-s_kPtI-W.js +0 -1
  126. package/dist/web/client/assets/ModelMenu-BfUPoRjV.js +0 -1
  127. package/dist/web/client/assets/SectionTabs-DENNb6Nw.js +0 -1
  128. package/dist/web/client/assets/Segmented-Dh77vmpp.js +0 -1
  129. package/dist/web/client/assets/SkillFindings-Xng11qqx.js +0 -1
  130. package/dist/web/client/assets/SkillsPicker-hI3YXvib.js +0 -1
  131. package/dist/web/client/assets/SpawnDialog-CKWFQ6jk.js +0 -1
  132. package/dist/web/client/assets/Tabs-f6bHvCGn.js +0 -1
  133. package/dist/web/client/assets/TeamForm-kda1HYZG.js +0 -1
  134. package/dist/web/client/assets/TeamThread-2rm1JGSk.js +0 -1
  135. package/dist/web/client/assets/UnsavedChangesGuard-nx6dv2Yw.js +0 -1
  136. package/dist/web/client/assets/_id-B72mIpcE.js +0 -1
  137. package/dist/web/client/assets/_id-Bzavnza1.js +0 -1
  138. package/dist/web/client/assets/access-Yw9jODuk.js +0 -1
  139. package/dist/web/client/assets/agents-C9xoyL7o.js +0 -1
  140. package/dist/web/client/assets/agents-TviG16wx.js +0 -1
  141. package/dist/web/client/assets/api-HC_YzjBy.js +0 -1
  142. package/dist/web/client/assets/arrow-right-Gm_FDWJ_.js +0 -1
  143. package/dist/web/client/assets/attention-DmURtlJm.js +0 -1
  144. package/dist/web/client/assets/check-BjgKoGvU.js +0 -1
  145. package/dist/web/client/assets/chevron-right-CUZiA2aG.js +0 -1
  146. package/dist/web/client/assets/config-UZz_mjO5.js +0 -1
  147. package/dist/web/client/assets/createLucideIcon-C6gOo8sD.js +0 -1
  148. package/dist/web/client/assets/dist-BWppw70N.js +0 -41
  149. package/dist/web/client/assets/dist-D2dwY7MR.js +0 -1
  150. package/dist/web/client/assets/index-Df1oUtAP.js +0 -14
  151. package/dist/web/client/assets/link-Cbztlp_R.js +0 -1
  152. package/dist/web/client/assets/login-CPfdaqsV.js +0 -1
  153. package/dist/web/client/assets/mcp-FlYnNon0.js +0 -1
  154. package/dist/web/client/assets/parts-tIDBNsYA.js +0 -1
  155. package/dist/web/client/assets/plus-CWrKMtvA.js +0 -1
  156. package/dist/web/client/assets/routes-BZaWCoQj.js +0 -76
  157. package/dist/web/client/assets/save-f9O-CQia.js +0 -1
  158. package/dist/web/client/assets/skills-C7yDPC8s.js +0 -1
  159. package/dist/web/client/assets/style-DDuTFJUu.js +0 -7
  160. package/dist/web/client/assets/styles-BviXU81u.css +0 -2
  161. package/dist/web/client/assets/system-CL3Kz36L.js +0 -1
  162. package/dist/web/client/assets/teams-CQTEF5gV.js +0 -1
  163. package/dist/web/client/assets/teams-DQ7SqVyF.js +0 -1
  164. package/dist/web/client/assets/telegram-BLgxtGhZ.js +0 -1
  165. package/dist/web/client/assets/tools-pOQyGVYo.js +0 -1
  166. package/dist/web/client/assets/use-resource-C3MBZJop.js +0 -1
  167. package/dist/web/client/assets/welcome-Hr6JpMef.js +0 -1
  168. package/dist/web/client/assets/wrench-6BEIqKDn.js +0 -1
  169. package/dist/web/server/assets/SkillFindings-BdATze1A.js +0 -46
  170. package/dist/web/server/assets/SkillsPicker-DlqEfRWh.js +0 -67
  171. package/dist/web/server/assets/Tabs-BhF41MfQ.js +0 -20
  172. package/dist/web/server/assets/TeamForm-ilBaeLI4.js +0 -96
  173. package/dist/web/server/assets/_id-BsZcsabI.js +0 -383
  174. package/dist/web/server/assets/_id-D8Kj0F30.js +0 -18
  175. package/dist/web/server/assets/_id-QYifTM9w.js +0 -28
  176. package/dist/web/server/assets/_tanstack-start-manifest_v-D6zrzUC7.js +0 -223
  177. package/dist/web/server/assets/access-DKOpcHIJ.js +0 -232
  178. package/dist/web/server/assets/agents-B6OR3x99.js +0 -327
  179. package/dist/web/server/assets/agents-B7642eRO.js +0 -130
  180. package/dist/web/server/assets/agents-BJ-_oC2e.js +0 -14
  181. package/dist/web/server/assets/agents-CjV0w-Zy.js +0 -12
  182. package/dist/web/server/assets/agents-Dy_Q-9lG.js +0 -27
  183. package/dist/web/server/assets/attention-CLP4HYBz.js +0 -216
  184. package/dist/web/server/assets/mcp-BI-FD-JI.js +0 -250
  185. package/dist/web/server/assets/parts-B31PJkhi.js +0 -190
  186. package/dist/web/server/assets/skills-BqLq3ZXq.js +0 -275
  187. package/dist/web/server/assets/system-BtRA2HUs.js +0 -138
  188. package/dist/web/server/assets/teams-COaU0wN9.js +0 -108
  189. package/dist/web/server/assets/teams-Ca8W4mvl.js +0 -88
  190. package/dist/web/server/assets/telegram-Yx8nm6Ei.js +0 -984
  191. /package/dist/web/server/assets/{telegram-CGol0CKX2.js → telegram-CGol0CKX.js} +0 -0
@@ -0,0 +1,380 @@
1
+ import { t as cn } from "./utils-C_uf36nf.js";
2
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
3
+ import { AlertTriangle, Check, Info, MoreHorizontal, Search, X } from "lucide-react";
4
+ import { DropdownMenu } from "radix-ui";
5
+ //#region src/components/ui/parts.tsx
6
+ var CHIP = {
7
+ success: "bg-success/10 text-success",
8
+ warning: "bg-warning/10 text-warning",
9
+ neutral: "bg-muted text-muted-foreground"
10
+ };
11
+ function Chip({ tone, children }) {
12
+ return /* @__PURE__ */ jsxs("span", {
13
+ className: cn("inline-flex min-h-7 items-center gap-1.5 rounded-full px-3 text-xs font-semibold", CHIP[tone]),
14
+ children: [/* @__PURE__ */ jsx("span", {
15
+ "aria-hidden": "true",
16
+ className: "size-1.5 shrink-0 rounded-full bg-current"
17
+ }), children]
18
+ });
19
+ }
20
+ /** A search box: the magnifier and the input are one field, with one focus ring. */
21
+ function SearchField({ label, placeholder, value, onChange, className }) {
22
+ return /* @__PURE__ */ jsxs("label", {
23
+ className: cn("m-0 flex min-w-0 items-center gap-2 rounded-xl border border-border bg-muted/40 px-3 transition-shadow focus-within:border-primary focus-within:bg-card focus-within:shadow-[0_0_0_3px_var(--color-sapphire-glow)]", className),
24
+ children: [/* @__PURE__ */ jsx(Search, {
25
+ className: "size-4 shrink-0 text-muted-foreground",
26
+ "aria-hidden": "true"
27
+ }), /* @__PURE__ */ jsx("input", {
28
+ type: "search",
29
+ "aria-label": label,
30
+ placeholder,
31
+ value,
32
+ onChange: (event) => onChange(event.target.value),
33
+ className: "min-h-10 border-0 bg-transparent px-0 shadow-none focus:bg-transparent focus:shadow-none",
34
+ style: { outline: "none" }
35
+ })]
36
+ });
37
+ }
38
+ /** A yes/no setting. */
39
+ function Switch({ checked, label, disabled = false, onChange }) {
40
+ return /* @__PURE__ */ jsx("button", {
41
+ type: "button",
42
+ role: "switch",
43
+ "aria-checked": checked,
44
+ "aria-label": label,
45
+ disabled,
46
+ onClick: () => onChange(!checked),
47
+ className: cn("relative h-7 w-[46px] shrink-0 rounded-full transition-colors disabled:opacity-50", checked ? "bg-primary" : "bg-fawn"),
48
+ children: /* @__PURE__ */ jsx("span", { className: cn("absolute top-[3px] size-[22px] rounded-full bg-white shadow transition-[left]", checked ? "left-[21px]" : "left-[3px]") })
49
+ });
50
+ }
51
+ /** Something is being waited for. */
52
+ function Waiting({ children }) {
53
+ return /* @__PURE__ */ jsxs("div", {
54
+ role: "status",
55
+ className: "flex items-center gap-3 text-sm font-semibold text-foreground",
56
+ children: [/* @__PURE__ */ jsx("span", {
57
+ "aria-hidden": "true",
58
+ className: "flex size-5 shrink-0 items-center justify-center",
59
+ children: /* @__PURE__ */ jsx("span", { className: "size-2.5 animate-pulse rounded-full bg-primary" })
60
+ }), /* @__PURE__ */ jsx("span", { children })]
61
+ });
62
+ }
63
+ /**
64
+ * A card of a Setup page: an icon, what the card holds, its state or its main action, then its
65
+ * rows (`CardRow`), its text and controls (`CardBody`, `CardForm`) or its facts (`Facts`).
66
+ */
67
+ function SetupCard({ icon, title, description, action, labelledBy, children }) {
68
+ return /* @__PURE__ */ jsxs("section", {
69
+ "aria-labelledby": labelledBy,
70
+ className: "min-w-0 overflow-hidden rounded-2xl border border-border bg-card shadow-baziu-sm",
71
+ children: [/* @__PURE__ */ jsxs("div", {
72
+ className: "flex flex-wrap items-center gap-x-4 gap-y-3 px-4 py-4 sm:px-5",
73
+ children: [/* @__PURE__ */ jsxs("div", {
74
+ className: "flex min-w-0 flex-1 basis-64 items-center gap-4",
75
+ children: [/* @__PURE__ */ jsx("span", {
76
+ "aria-hidden": "true",
77
+ className: "flex size-10 shrink-0 items-center justify-center rounded-xl bg-accent text-accent-foreground",
78
+ children: icon
79
+ }), /* @__PURE__ */ jsxs("div", {
80
+ className: "min-w-0",
81
+ children: [/* @__PURE__ */ jsx("h2", {
82
+ id: labelledBy,
83
+ className: "m-0 font-body text-[1.05rem] font-semibold text-foreground",
84
+ children: title
85
+ }), /* @__PURE__ */ jsx("div", {
86
+ className: "text-sm text-muted-foreground",
87
+ children: description
88
+ })]
89
+ })]
90
+ }), action]
91
+ }), children]
92
+ });
93
+ }
94
+ /** A row that spans a card under its heading: the unit of every list. */
95
+ var CARD_ROW = "flex flex-wrap items-center gap-x-4 gap-y-1 border-t border-border px-4 sm:px-5";
96
+ function CardRow({ className, ...props }) {
97
+ return /* @__PURE__ */ jsx("div", {
98
+ className: cn(CARD_ROW, className),
99
+ ...props
100
+ });
101
+ }
102
+ /** A card's list of things, each a `ListRow`. */
103
+ function CardList({ className, ...props }) {
104
+ return /* @__PURE__ */ jsx("ul", {
105
+ className: cn("m-0 list-none p-0", className),
106
+ ...props
107
+ });
108
+ }
109
+ /**
110
+ * One thing in a card's list: its name with its state, a line of what there is to know about it,
111
+ * what can be done with it, and under all that whatever it last reported.
112
+ */
113
+ function ListRow({ leading, title, chip, meta, actions, children, inline = false }) {
114
+ return /* @__PURE__ */ jsxs("li", {
115
+ className: cn(CARD_ROW, "min-h-14 py-2.5", inline && "flex-nowrap"),
116
+ children: [
117
+ leading && /* @__PURE__ */ jsx("span", {
118
+ className: "flex shrink-0 self-start pt-0.5",
119
+ children: leading
120
+ }),
121
+ /* @__PURE__ */ jsxs("div", {
122
+ className: cn("min-w-0 flex-1", inline ? "basis-0" : "basis-64"),
123
+ children: [/* @__PURE__ */ jsxs("div", {
124
+ className: "flex min-w-0 flex-wrap items-center gap-x-2.5 gap-y-1",
125
+ children: [/* @__PURE__ */ jsx("span", {
126
+ className: "min-w-0 break-words text-[0.95rem] font-semibold text-foreground",
127
+ children: title
128
+ }), chip]
129
+ }), meta && /* @__PURE__ */ jsx("div", {
130
+ className: "mt-0.5 flex min-w-0 flex-wrap items-center gap-x-3 gap-y-0.5 text-[0.82rem] text-muted-foreground",
131
+ children: meta
132
+ })]
133
+ }),
134
+ actions && /* @__PURE__ */ jsx("div", {
135
+ className: "flex shrink-0 flex-wrap items-center gap-2",
136
+ children: actions
137
+ }),
138
+ children && /* @__PURE__ */ jsx("div", {
139
+ className: "min-w-0 basis-full pb-1",
140
+ children
141
+ })
142
+ ]
143
+ });
144
+ }
145
+ var CARD_BODY = "grid gap-4 border-t border-border px-4 py-4 sm:px-5";
146
+ /** The part of a card that holds text and controls, with the card's own margins. */
147
+ function CardBody({ className, ...props }) {
148
+ return /* @__PURE__ */ jsx("div", {
149
+ className: cn(CARD_BODY, className),
150
+ ...props
151
+ });
152
+ }
153
+ /** A card's form: the same space as `CardBody`. */
154
+ function CardForm({ className, ...props }) {
155
+ return /* @__PURE__ */ jsx("form", {
156
+ className: cn(CARD_BODY, className),
157
+ ...props
158
+ });
159
+ }
160
+ var NOTICE = {
161
+ success: {
162
+ box: "border-success/30 bg-success/10",
163
+ mark: "text-success",
164
+ icon: Check
165
+ },
166
+ warning: {
167
+ box: "border-warning/35 bg-warning/10",
168
+ mark: "text-warning",
169
+ icon: AlertTriangle
170
+ },
171
+ danger: {
172
+ box: "border-danger/30 bg-danger/10",
173
+ mark: "text-danger",
174
+ icon: AlertTriangle
175
+ },
176
+ neutral: {
177
+ box: "border-border bg-muted/40",
178
+ mark: "text-muted-foreground",
179
+ icon: Info
180
+ }
181
+ };
182
+ /** Something to know inside a card: a warning, a result, a thing to do next. */
183
+ function Notice({ tone = "warning", title, children, actions, role = "status", className }) {
184
+ const { box, mark, icon: Icon } = NOTICE[tone];
185
+ return /* @__PURE__ */ jsxs("div", {
186
+ role,
187
+ className: cn("flex items-start gap-2.5 rounded-xl border px-3.5 py-3 text-sm text-foreground", box, className),
188
+ children: [/* @__PURE__ */ jsx(Icon, {
189
+ className: cn("mt-0.5 size-4 shrink-0", mark),
190
+ "aria-hidden": "true"
191
+ }), /* @__PURE__ */ jsxs("div", {
192
+ className: "min-w-0 flex-1 break-words",
193
+ children: [
194
+ title && /* @__PURE__ */ jsx("div", {
195
+ className: "font-semibold",
196
+ children: title
197
+ }),
198
+ children,
199
+ actions && /* @__PURE__ */ jsx("div", {
200
+ className: "mt-2.5 flex flex-wrap gap-2",
201
+ children: actions
202
+ })
203
+ ]
204
+ })]
205
+ });
206
+ }
207
+ var BANNER = {
208
+ success: "border-success/30 bg-success/10",
209
+ warning: "border-warning/35 bg-warning/10",
210
+ danger: "border-danger/30 bg-danger/10",
211
+ neutral: "border-border bg-card shadow-baziu-sm"
212
+ };
213
+ /** The line above a page's cards: how things stand as a whole, with the one thing to do. */
214
+ function Banner({ tone, lead, children, action, role = "status" }) {
215
+ const Icon = tone === "neutral" ? null : NOTICE[tone].icon;
216
+ return /* @__PURE__ */ jsxs("div", {
217
+ role,
218
+ className: cn("flex flex-wrap items-center gap-3 rounded-2xl border px-4 py-3 text-sm", BANNER[tone]),
219
+ children: [/* @__PURE__ */ jsxs("div", {
220
+ className: cn("flex min-w-0 flex-1 items-start gap-3", Icon ? "basis-64" : "basis-72"),
221
+ children: [Icon && /* @__PURE__ */ jsx(Icon, {
222
+ className: cn("mt-0.5 size-5 shrink-0", NOTICE[tone].mark),
223
+ "aria-hidden": "true"
224
+ }), /* @__PURE__ */ jsxs("div", {
225
+ className: "min-w-0",
226
+ children: [/* @__PURE__ */ jsx("span", {
227
+ className: "font-semibold text-foreground",
228
+ children: lead
229
+ }), children && /* @__PURE__ */ jsxs(Fragment, { children: [" ", /* @__PURE__ */ jsx("span", {
230
+ className: "text-muted-foreground",
231
+ children
232
+ })] })]
233
+ })]
234
+ }), action]
235
+ });
236
+ }
237
+ /** Facts about something: a name and what it is now, one to a row. */
238
+ function Facts({ children, className }) {
239
+ return /* @__PURE__ */ jsx("dl", {
240
+ className: cn("m-0 divide-y divide-border border-t border-border px-4 text-sm sm:px-5", className),
241
+ children
242
+ });
243
+ }
244
+ function Fact({ label, tone, children }) {
245
+ return /* @__PURE__ */ jsxs("div", {
246
+ className: "grid gap-x-4 gap-y-0.5 py-3 sm:grid-cols-[14rem_minmax(0,1fr)]",
247
+ children: [/* @__PURE__ */ jsx("dt", {
248
+ className: "text-muted-foreground",
249
+ children: label
250
+ }), /* @__PURE__ */ jsx("dd", {
251
+ className: cn("m-0 min-w-0 break-words font-medium", tone === "success" && "text-success", tone === "warning" && "text-warning", (tone === void 0 || tone === "neutral") && "text-foreground"),
252
+ children
253
+ })]
254
+ });
255
+ }
256
+ /** The outcome of some checks, one to a line. */
257
+ function CheckList({ children, ...props }) {
258
+ return /* @__PURE__ */ jsx("ul", {
259
+ className: "m-0 grid list-none gap-2.5 p-0",
260
+ ...props,
261
+ children
262
+ });
263
+ }
264
+ function CheckItem({ ok, label, children }) {
265
+ return /* @__PURE__ */ jsxs("li", {
266
+ className: "flex items-start gap-2.5 text-sm",
267
+ children: [/* @__PURE__ */ jsx("span", {
268
+ "aria-hidden": "true",
269
+ className: cn("mt-px flex size-5 shrink-0 items-center justify-center rounded-full", ok ? "bg-success/10 text-success" : "bg-warning/10 text-warning"),
270
+ children: ok ? /* @__PURE__ */ jsx(Check, { className: "size-3.5" }) : /* @__PURE__ */ jsx(X, { className: "size-3.5" })
271
+ }), /* @__PURE__ */ jsxs("span", {
272
+ className: "min-w-0 break-words",
273
+ children: [
274
+ /* @__PURE__ */ jsx("span", {
275
+ className: "sr-only",
276
+ children: ok ? "Passed: " : "Failed: "
277
+ }),
278
+ /* @__PURE__ */ jsx("span", {
279
+ className: "font-semibold text-foreground",
280
+ children: label
281
+ }),
282
+ children && /* @__PURE__ */ jsx("span", {
283
+ className: cn("ml-2", ok ? "text-muted-foreground" : "font-medium text-warning"),
284
+ children
285
+ })
286
+ ]
287
+ })]
288
+ });
289
+ }
290
+ /** A card's line of controls above its list: a search box, a filter, an action. */
291
+ function CardToolbar({ className, ...props }) {
292
+ return /* @__PURE__ */ jsx("div", {
293
+ className: cn(CARD_ROW, "gap-y-2 py-3", className),
294
+ ...props
295
+ });
296
+ }
297
+ /** The heading of a group of rows inside a card's list. */
298
+ function GroupHeader({ title, meta, action }) {
299
+ return /* @__PURE__ */ jsxs("div", {
300
+ className: cn(CARD_ROW, "min-h-10 bg-muted/50 py-2"),
301
+ children: [
302
+ /* @__PURE__ */ jsx("h3", {
303
+ className: "m-0 min-w-0 font-body text-[0.72rem] font-bold uppercase tracking-[0.08em] text-muted-foreground",
304
+ children: title
305
+ }),
306
+ meta && /* @__PURE__ */ jsx("span", {
307
+ className: "text-xs text-muted-foreground",
308
+ children: meta
309
+ }),
310
+ action && /* @__PURE__ */ jsx("span", {
311
+ className: "ml-auto text-xs font-semibold",
312
+ children: action
313
+ })
314
+ ]
315
+ });
316
+ }
317
+ /** What a card shows when it has nothing to list: what would be here, and how to get it. */
318
+ function CardEmpty({ icon, title, children, action }) {
319
+ return /* @__PURE__ */ jsxs("div", {
320
+ className: "flex flex-col items-center gap-2 border-t border-border px-4 py-9 text-center sm:px-5",
321
+ children: [
322
+ icon && /* @__PURE__ */ jsx("span", {
323
+ "aria-hidden": "true",
324
+ className: "mb-1 flex size-10 items-center justify-center rounded-full bg-muted text-muted-foreground",
325
+ children: icon
326
+ }),
327
+ /* @__PURE__ */ jsx("p", {
328
+ className: "m-0 text-[0.95rem] font-semibold text-foreground",
329
+ children: title
330
+ }),
331
+ children && /* @__PURE__ */ jsx("p", {
332
+ className: "m-0 max-w-md text-sm text-muted-foreground",
333
+ children
334
+ }),
335
+ action && /* @__PURE__ */ jsx("div", {
336
+ className: "mt-2 flex flex-wrap justify-center gap-2",
337
+ children: action
338
+ })
339
+ ]
340
+ });
341
+ }
342
+ var MENU_ITEM = "flex w-full cursor-pointer flex-col items-start gap-0.5 rounded-lg px-2.5 py-2 text-left text-sm outline-none transition-colors data-[highlighted]:bg-accent data-[disabled]:cursor-not-allowed";
343
+ /**
344
+ * The rarer and the destructive actions on one row, behind a "More" button: the row itself keeps
345
+ * only what is done most.
346
+ */
347
+ function RowMenu({ label, items, disabled = false }) {
348
+ const shown = items.filter((item) => Boolean(item));
349
+ return /* @__PURE__ */ jsxs(DropdownMenu.Root, { children: [/* @__PURE__ */ jsx(DropdownMenu.Trigger, {
350
+ "aria-label": label,
351
+ disabled,
352
+ className: "inline-flex size-9 shrink-0 items-center justify-center rounded-lg border border-transparent text-muted-foreground transition-colors hover:border-border hover:bg-card hover:text-foreground disabled:opacity-50 data-[state=open]:border-border data-[state=open]:bg-card data-[state=open]:text-foreground",
353
+ children: /* @__PURE__ */ jsx(MoreHorizontal, {
354
+ className: "size-[18px]",
355
+ "aria-hidden": "true"
356
+ })
357
+ }), /* @__PURE__ */ jsx(DropdownMenu.Portal, { children: /* @__PURE__ */ jsx(DropdownMenu.Content, {
358
+ align: "end",
359
+ sideOffset: 6,
360
+ className: "z-50 min-w-[13rem] max-w-[calc(100vw-1.5rem)] rounded-xl border border-border bg-popover p-1.5 text-popover-foreground shadow-baziu-lg",
361
+ children: shown.map((item) => /* @__PURE__ */ jsxs(DropdownMenu.Item, {
362
+ "aria-disabled": item.disabledReason ? true : void 0,
363
+ onSelect: (event) => {
364
+ if (item.disabledReason) event.preventDefault();
365
+ else item.onSelect();
366
+ },
367
+ className: cn(MENU_ITEM, item.disabledReason && "cursor-not-allowed"),
368
+ style: { outline: "none" },
369
+ children: [/* @__PURE__ */ jsx("span", {
370
+ className: cn("font-semibold", item.disabledReason ? "text-muted-foreground" : item.danger ? "text-danger" : "text-foreground"),
371
+ children: item.label
372
+ }), item.disabledReason && /* @__PURE__ */ jsx("span", {
373
+ className: "text-xs text-muted-foreground",
374
+ children: item.disabledReason
375
+ })]
376
+ }, item.label))
377
+ }) })] });
378
+ }
379
+ //#endregion
380
+ export { RowMenu as _, CardForm as a, Switch as b, CardToolbar as c, Chip as d, Fact as f, Notice as g, ListRow as h, CardEmpty as i, CheckItem as l, GroupHeader as m, CARD_ROW as n, CardList as o, Facts as p, CardBody as r, CardRow as s, Banner as t, CheckList as u, SearchField as v, Waiting as x, SetupCard as y };
@@ -2,24 +2,24 @@ import { r as readCookie } from "./cookies-HnTYjKRp.js";
2
2
  import { C as api, T as errorMessage, c as parseWorkspaceSearch, d as AgentAvatar, p as agentState, u as Button } from "./workspace-DaitCM0t.js";
3
3
  import { n as publicOriginConfig } from "./public-origin-BpDkdS5Q.js";
4
4
  import { t as DAEMON_BASE_URL } from "./daemon-client-B_ZRIIrT.js";
5
- import { o as PageShell } from "./createSsrRpc-GCCF14VW.js";
5
+ import { a as PageShell } from "./createSsrRpc-BijMHgqE.js";
6
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";
7
+ import { i as isSetupOpen, n as PUBLIC_PATHS, r as fetchAuthState, t as Route$4 } from "./welcome-SNsE49JO.js";
8
+ import { t as Route$5 } from "./routes-IHMVKpDK.js";
9
+ import { t as Route$6 } from "./teams-CuKE5iAK.js";
10
+ import { t as Route$7 } from "./skills-B7sg0QKS.js";
11
+ import { t as Route$8 } from "./config-DYAaaE9Z.js";
12
+ import { t as Route$9 } from "./attention-DefKwvgm.js";
13
+ import { t as Route$10 } from "./agents-1sjSvp5p.js";
14
+ import { t as Route$11 } from "./tools-BQeWn7Tj.js";
15
+ import { t as Route$12 } from "./telegram-BnQADwnj.js";
16
+ import { t as Route$13 } from "./system-DaP0ol67.js";
17
+ import { t as Route$14 } from "./mcp-DB38leWS.js";
18
+ import { t as Route$15 } from "./access-BJe-NduL.js";
19
+ import { t as Route$16 } from "./teams-4cEZ4_rw.js";
20
+ import { t as Route$17 } from "./agents-DUI4Yjtg.js";
21
+ import { t as Route$18 } from "./_id-BGTgqsWm.js";
22
+ import { t as Route$19 } from "./_id-DXm9W55C.js";
23
23
  import { useEffect, useMemo, useState } from "react";
24
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";
@@ -101,27 +101,32 @@ var PAGES = [
101
101
  ],
102
102
  [
103
103
  "Agents",
104
- "Every Agent, archived ones too",
104
+ "Every Agent by Team: archive, move, delete",
105
105
  "/agents"
106
106
  ],
107
107
  [
108
108
  "Teams",
109
- "Register and remove Teams",
109
+ "Create and remove Teams",
110
110
  "/teams"
111
111
  ],
112
112
  [
113
- "Templates",
114
- "Agent and Team templates",
115
- "/templates"
113
+ "Agent templates",
114
+ "What a new Agent starts with",
115
+ "/templates/agents"
116
+ ],
117
+ [
118
+ "Team templates",
119
+ "Rosters that spawn a whole Team",
120
+ "/templates/teams"
116
121
  ],
117
122
  [
118
123
  "Skills",
119
- "Prompt skills",
124
+ "Import, review and remove prompt skills",
120
125
  "/skills"
121
126
  ],
122
127
  [
123
128
  "Setup",
124
- "Models, tools, Telegram, access",
129
+ "Models, tools, MCP, Telegram, access, system",
125
130
  "/config"
126
131
  ]
127
132
  ];
@@ -341,31 +346,31 @@ var MANAGE_LINKS = [
341
346
  {
342
347
  href: "/agents",
343
348
  label: "Agents",
344
- description: "Every Agent: archive, restore, delete.",
349
+ description: "Every Agent by Team: archive, move, delete.",
345
350
  icon: Bot
346
351
  },
347
352
  {
348
353
  href: "/teams",
349
354
  label: "Teams",
350
- description: "Register a Team or remove an empty one.",
355
+ description: "Create a Team, or remove an empty one.",
351
356
  icon: UsersRound
352
357
  },
353
358
  {
354
359
  href: "/templates",
355
360
  label: "Templates",
356
- description: "Reusable Agent behavior and Team rosters.",
361
+ description: "What new Agents start with, and Team rosters.",
357
362
  icon: LayoutTemplate
358
363
  },
359
364
  {
360
365
  href: "/skills",
361
366
  label: "Skills",
362
- description: "Prompt skills available to your agents.",
367
+ description: "Import, review and remove prompt skills.",
363
368
  icon: Sparkles
364
369
  },
365
370
  {
366
371
  href: "/config",
367
372
  label: "Setup",
368
- description: "Models and providers, services, integrations, access.",
373
+ description: "Models, tools, MCP, Telegram, access, system.",
369
374
  icon: Settings2
370
375
  }
371
376
  ];
@@ -555,7 +560,7 @@ function navButtonClass(active) {
555
560
  }
556
561
  //#endregion
557
562
  //#region src/styles.css?url
558
- var styles_default = "/assets/styles-BviXU81u.css";
563
+ var styles_default = "/assets/styles-C7Ztw15K.css";
559
564
  //#endregion
560
565
  //#region src/routes/__root.tsx
561
566
  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){}})();`;
@@ -6,13 +6,14 @@ import { n as DialogActions, t as Dialog$1 } from "./Dialog-aup_yJv5.js";
6
6
  import { t as ConfirmDialog } from "./ConfirmDialog-DfaJ--A6.js";
7
7
  import { t as Segmented } from "./Segmented-3ZLdqa5U.js";
8
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";
9
+ import { a as SlimRail, c as useWorkspaceOptional, i as STATE_DOT, n as RenameAgentDialog, o as WorkspaceProvider, s as useWorkspace, t as Rail } from "./Rail-7JU6ly2O.js";
10
+ import { a as trafficByPair, i as pairKey, n as useTeamMessages, o as FocusFrame, r as messageText, t as TeamThread } from "./TeamThread-SyQpUvz5.js";
11
+ import { i as unarchiveAgent, n as deleteAgent, t as archiveAgent } from "./agent-actions-CUDMCG0F.js";
12
+ import { n as ModelMenu, t as MODELS_PATH } from "./ModelMenu-BAZeARx6.js";
13
+ import { t as SpawnDialog } from "./SpawnDialog-CYkwzETs.js";
14
+ import { t as SpawnTeamModal } from "./SpawnTeamModal-CCe6P82H.js";
15
+ import { n as ItemList, o as SectionCard, r as ItemRow, s as StatusBadge } from "./createSsrRpc-BijMHgqE.js";
16
+ import { t as Route } from "./routes-IHMVKpDK.js";
16
17
  import { Fragment, Suspense, createContext, lazy, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
17
18
  import { Link, useRouter } from "@tanstack/react-router";
18
19
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -5571,6 +5572,49 @@ function AgentBrowserCard({ agentId }) {
5571
5572
  });
5572
5573
  }
5573
5574
  //#endregion
5575
+ //#region src/components/SkillFindings.tsx
5576
+ /** A skill's static-scan result: a "Clean" badge, or a finding count that expands to the list. */
5577
+ function FindingSummary({ findings }) {
5578
+ if (findings.length === 0) return /* @__PURE__ */ jsx(StatusBadge, {
5579
+ variant: "success",
5580
+ children: "Clean"
5581
+ });
5582
+ return /* @__PURE__ */ jsxs("details", {
5583
+ className: "text-xs",
5584
+ children: [/* @__PURE__ */ jsx("summary", {
5585
+ className: "cursor-pointer list-none",
5586
+ children: /* @__PURE__ */ jsxs(StatusBadge, {
5587
+ variant: findings.some((finding) => finding.severity === "danger") ? "danger" : "warning",
5588
+ children: [
5589
+ findings.length,
5590
+ " finding",
5591
+ findings.length === 1 ? "" : "s"
5592
+ ]
5593
+ })
5594
+ }), /* @__PURE__ */ jsx("div", {
5595
+ className: "mt-2 min-w-64",
5596
+ children: /* @__PURE__ */ jsx(FindingList, { findings })
5597
+ })]
5598
+ });
5599
+ }
5600
+ function FindingList({ findings }) {
5601
+ return /* @__PURE__ */ jsx("ul", {
5602
+ className: "m-0 space-y-1.5 pl-0",
5603
+ children: findings.map((finding, index) => /* @__PURE__ */ jsxs("li", {
5604
+ className: "flex items-start gap-2",
5605
+ children: [/* @__PURE__ */ jsx(StatusBadge, {
5606
+ variant: finding.severity === "danger" ? "danger" : "warning",
5607
+ children: finding.severity === "danger" ? "Danger" : "Warning"
5608
+ }), /* @__PURE__ */ jsxs("span", { children: [
5609
+ /* @__PURE__ */ jsx("code", { children: finding.code }),
5610
+ finding.line ? `, line ${finding.line}` : "",
5611
+ " — ",
5612
+ finding.message
5613
+ ] })]
5614
+ }, index))
5615
+ });
5616
+ }
5617
+ //#endregion
5574
5618
  //#region src/components/AgentSkills.tsx
5575
5619
  /** Attach and detach installed skills for one Agent; scan findings need confirmation. */
5576
5620
  function AgentSkills({ agentId, attached, all }) {
@@ -7482,7 +7526,7 @@ function TeamHome({ team }) {
7482
7526
  //#endregion
7483
7527
  //#region src/routes/index.tsx?tsr-split=component
7484
7528
  /** The rail's open/closed Teams; a bad cookie is ignored. */
7485
- var ConnectionsView = lazy(() => import("./ConnectionsView-DAG-zNBz.js").then((module) => ({ default: module.ConnectionsView })));
7529
+ var ConnectionsView = lazy(() => import("./ConnectionsView-DZrLoNoW.js").then((module) => ({ default: module.ConnectionsView })));
7486
7530
  function WorkspacePage() {
7487
7531
  const data = Route.useLoaderData();
7488
7532
  const search = Route.useSearch();
@@ -1,6 +1,6 @@
1
1
  import { a as getCookie, n as createServerFn } from "../server.js";
2
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";
3
+ import { r as SIDEBAR_OPEN_GROUPS_COOKIE } from "./Rail-7JU6ly2O.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,9 +1,9 @@
1
1
  import { n as createServerFn } from "../server.js";
2
2
  import { c as parseWorkspaceSearch } from "./workspace-DaitCM0t.js";
3
- import { t as createSsrRpc } from "./createSsrRpc-GCCF14VW.js";
3
+ import { t as createSsrRpc } from "./createSsrRpc-BijMHgqE.js";
4
4
  import { createFileRoute, lazyRouteComponent } from "@tanstack/react-router";
5
5
  //#region src/routes/index.tsx
6
- var $$splitComponentImporter = () => import("./routes-C9NawqcV.js");
6
+ var $$splitComponentImporter = () => import("./routes-C4aGqXfr.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,8 +1,8 @@
1
1
  import { n as createServerFn } from "../server.js";
2
- import { t as createSsrRpc } from "./createSsrRpc-GCCF14VW.js";
2
+ import { t as createSsrRpc } from "./createSsrRpc-BijMHgqE.js";
3
3
  import { createFileRoute, lazyRouteComponent } from "@tanstack/react-router";
4
4
  //#region src/routes/skills/index.tsx
5
- var $$splitComponentImporter = () => import("./skills-BqLq3ZXq.js");
5
+ var $$splitComponentImporter = () => import("./skills-hfTSwqsG.js");
6
6
  var fetchSkills = createServerFn({ method: "GET" }).handler(createSsrRpc("ae1d30575b229c1e2622fbaf2252800a9a7acc84afdd68cba025ca890b8d52c5"));
7
7
  var Route = createFileRoute("/skills/")({
8
8
  loader: () => fetchSkills(),
@@ -7,6 +7,14 @@ var fetchSkills_createServerFn_handler = createServerRpc({
7
7
  name: "fetchSkills",
8
8
  filename: "src/routes/skills/index.tsx"
9
9
  }, (opts) => fetchSkills.__executeServer(opts));
10
- var fetchSkills = createServerFn({ method: "GET" }).handler(fetchSkills_createServerFn_handler, () => daemonClient().get("/api/skills"));
10
+ var fetchSkills = createServerFn({ method: "GET" }).handler(fetchSkills_createServerFn_handler, async () => {
11
+ const client = daemonClient();
12
+ const [skills, templates] = await Promise.all([client.get("/api/skills"), client.get("/api/profiles")]);
13
+ return {
14
+ skills,
15
+ templates,
16
+ now: Date.now()
17
+ };
18
+ });
11
19
  //#endregion
12
20
  export { fetchSkills_createServerFn_handler };