bazilion 0.56.0 → 0.57.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 (140) hide show
  1. package/dist/cli.js +2 -1
  2. package/dist/cli.js.map +1 -1
  3. package/dist/daemon.js +599 -318
  4. package/dist/daemon.js.map +1 -1
  5. package/dist/web/client/assets/AddProviderDialog-DwUu2FGE.js +1 -0
  6. package/dist/web/client/assets/AgentTemplateParts-C3BasVck.js +1 -0
  7. package/dist/web/client/assets/{ConfigPage-Ch-DSJUO.js → ConfigPage-DFmHgEaL.js} +1 -1
  8. package/dist/web/client/assets/ConfirmDialog-BCOfW63x.js +1 -0
  9. package/dist/web/client/assets/ConnectionsView-BbpY5YbI.js +1 -0
  10. package/dist/web/client/assets/{ManagePage-kd7iWYEL.js → ManagePage-BzyMHGqs.js} +1 -1
  11. package/dist/web/client/assets/SectionTabs-C8H_LunZ.js +1 -0
  12. package/dist/web/client/assets/SkillsParts-DoygBgF2.js +1 -0
  13. package/dist/web/client/assets/SpawnTeamModal-BVf4yN9X.js +1 -0
  14. package/dist/web/client/assets/TeamForm-Bfb5hVUX.js +1 -0
  15. package/dist/web/client/assets/TeamThread-BFmaBj82.js +1 -0
  16. package/dist/web/client/assets/{UnsavedChangesGuard-vQBdMl8h.js → UnsavedChangesGuard-BUsIHSxO.js} +1 -1
  17. package/dist/web/client/assets/{_id-C6SADaiD.js → _id-BRD3kxrX.js} +1 -1
  18. package/dist/web/client/assets/{_id-CC9r0qsr.js → _id-BapVoTMJ.js} +1 -1
  19. package/dist/web/client/assets/{access-BbQFbTPh.js → access-CqcKius1.js} +1 -1
  20. package/dist/web/client/assets/agents-BC_ITk28.js +1 -0
  21. package/dist/web/client/assets/{agents-BXwzmHu8.js → agents-DQ8nQnD6.js} +1 -1
  22. package/dist/web/client/assets/{attention-BMrZJ9ui.js → attention-BnCihfi0.js} +1 -1
  23. package/dist/web/client/assets/config-DYS8bkQl.js +1 -0
  24. package/dist/web/client/assets/{es2015-D1pnOGPG.js → es2015-DZDOQ3kj.js} +11 -11
  25. package/dist/web/client/assets/{index-B-N6NIX4.js → index-CxXsZzDC.js} +3 -3
  26. package/dist/web/client/assets/{login-DM3q-V4R.js → login-DFVsVP0s.js} +1 -1
  27. package/dist/web/client/assets/{manage-R57MUzsY.js → manage-CpXaObuS.js} +1 -1
  28. package/dist/web/client/assets/{mcp-CSHrVH1t.js → mcp-DslGDHmN.js} +1 -1
  29. package/dist/web/client/assets/{parts-68zf8Fgw.js → parts-C104qEuC.js} +1 -1
  30. package/dist/web/client/assets/routes-D1wFPm0n.js +85 -0
  31. package/dist/web/client/assets/{skills-CPZftp9O.js → skills-DmIo3vN3.js} +1 -1
  32. package/dist/web/client/assets/style-CqkCFvvz.js +7 -0
  33. package/dist/web/client/assets/styles-C7NsCHeU.css +2 -0
  34. package/dist/web/client/assets/{system-Dd2P9eqE.js → system-CUW9JZ9c.js} +1 -1
  35. package/dist/web/client/assets/teams-DJzYsuh9.js +1 -0
  36. package/dist/web/client/assets/teams-DrhG8KiS.js +1 -0
  37. package/dist/web/client/assets/telegram-Bk_kg8hb.js +1 -0
  38. package/dist/web/client/assets/{tools-DqNXLMpc.js → tools-z9Ixmuu2.js} +1 -1
  39. package/dist/web/client/assets/{usage-BC_TStVj.js → usage-DGe3x1m7.js} +1 -1
  40. package/dist/web/client/assets/use-resource-qjIkNQDY.js +1 -0
  41. package/dist/web/client/assets/{welcome-g8wtn_or.js → welcome-DDKqxHkF.js} +1 -1
  42. package/dist/web/server/assets/{AddProviderDialog-DtkjBMv4.js → AddProviderDialog-CpLDHOcA.js} +4 -4
  43. package/dist/web/server/assets/{AgentTemplateParts-CxWyovvM.js → AgentTemplateParts-Dh9F_-T_.js} +5 -5
  44. package/dist/web/server/assets/{ConfigPage-usZi48Zr.js → ConfigPage-CrxctbtN.js} +2 -2
  45. package/dist/web/server/assets/{ConfirmDialog-DAcSBHkT.js → ConfirmDialog-C89B8qKM.js} +1 -1
  46. package/dist/web/server/assets/{ConnectionsView-Dy6uYSRI.js → ConnectionsView-DslcKQmA.js} +5 -5
  47. package/dist/web/server/assets/{Dialog-DTeF-nOZ.js → Dialog-_Gt_Nt86.js} +2 -2
  48. package/dist/web/server/assets/{ManagePage-Dy1EdovO.js → ManagePage-DGYNJ6XG.js} +2 -2
  49. package/dist/web/server/assets/{ModelMenu-D-hTgYOO.js → ModelMenu-DEJoYASj.js} +13 -1
  50. package/dist/web/server/assets/{SectionTabs-BVrMn76H.js → SectionTabs--vMBvaUz.js} +7 -1
  51. package/dist/web/server/assets/{SkillsParts-Cw05b3al.js → SkillsParts-CqS2B45v.js} +5 -5
  52. package/dist/web/server/assets/{SpawnDialog-BAE8W91z.js → SpawnDialog-BNKj2Lup.js} +10 -8
  53. package/dist/web/server/assets/{SpawnTeamModal-CgBY0HuN.js → SpawnTeamModal-zcLxtFOO.js} +4 -4
  54. package/dist/web/server/assets/{TeamForm-JyO5xJXX.js → TeamForm-XFP0l2TB.js} +9 -7
  55. package/dist/web/server/assets/{TeamThread-5o48EbXL.js → TeamThread-gYV_ToRM.js} +8 -9
  56. package/dist/web/server/assets/{UnsavedChangesGuard-CJQGu45L.js → UnsavedChangesGuard-CB_TugFF.js} +1 -1
  57. package/dist/web/server/assets/{_id-BNvm89oJ.js → _id-517adSuB.js} +1 -1
  58. package/dist/web/server/assets/{_id-BpumuCYL.js → _id-BTyd2i5U.js} +1 -1
  59. package/dist/web/server/assets/{_id-BE_RSvuN.js → _id-BsQnL9LV.js} +9 -9
  60. package/dist/web/server/assets/{_id-BfjTS4JO.js → _id-CyinHJam.js} +11 -11
  61. package/dist/web/server/assets/{_id-BW6sVrvw.js → _id-D4RFNqaJ.js} +2 -2
  62. package/dist/web/server/assets/{_id-C54t_nX6.js → _id-josYXBx3.js} +1 -1
  63. package/dist/web/server/assets/{_tanstack-start-manifest_v-BPwQX_5b.js → _tanstack-start-manifest_v-w2xn07aY.js} +78 -78
  64. package/dist/web/server/assets/{access-BhAMfi7U.js → access-B97-94Wt.js} +1 -1
  65. package/dist/web/server/assets/{access-DEyq3uP_.js → access-BdQmjMJV.js} +1 -1
  66. package/dist/web/server/assets/{access-6FWih7nC.js → access-Cc7fMMod.js} +5 -5
  67. package/dist/web/server/assets/{agents-ncyhVx-T.js → agents-BL918wVc.js} +1 -1
  68. package/dist/web/server/assets/{agents-BXuglv4G.js → agents-BlUZqqJn.js} +10 -10
  69. package/dist/web/server/assets/{agents-3hBjrd8B.js → agents-BzJFjA2i.js} +2 -2
  70. package/dist/web/server/assets/{agents-KJcDMj0Y.js → agents-CjrkaEz8.js} +9 -9
  71. package/dist/web/server/assets/{agents-rTDlRZa5.js → agents-Tg3zkmQv.js} +2 -2
  72. package/dist/web/server/assets/{agents-DhenbitX.js → agents-uw32jPWx.js} +1 -1
  73. package/dist/web/server/assets/{attention-X0U6ZmiA.js → attention-2unmuO-q.js} +1 -1
  74. package/dist/web/server/assets/{attention-CDdOCOio.js → attention-C94WWwQe.js} +1 -1
  75. package/dist/web/server/assets/{attention-DM__BzWY.js → attention-a_OmC6L3.js} +6 -6
  76. package/dist/web/server/assets/{auth-BexhV8Yq.js → auth-DuIqEAed.js} +1 -1
  77. package/dist/web/server/assets/{config-Cld8Q8N7.js → config-BG1KOtwA.js} +1 -1
  78. package/dist/web/server/assets/{config-DpgYAXQ3.js → config-Bhem9XER.js} +8 -8
  79. package/dist/web/server/assets/{config-Cx5ri2DL2.js → config-D1Li_7Yt2.js} +1 -1
  80. package/dist/web/server/assets/{daemon-client-RxAllljf.js → daemon-client-D-NWKQto.js} +1 -1
  81. package/dist/web/server/assets/{form-BEjeiSy3.js → form-Bwsyt9OY.js} +2 -2
  82. package/dist/web/server/assets/{manage-C6ucNYZW.js → manage-C7ReF2ZZ.js} +1 -1
  83. package/dist/web/server/assets/{mcp-DwCzj7eO.js → mcp-BFixpBQk.js} +1 -1
  84. package/dist/web/server/assets/{mcp-BXnWQOwM.js → mcp-BTZkDvdc.js} +5 -5
  85. package/dist/web/server/assets/{mcp-C8VLspco.js → mcp-Ceg9gzKE.js} +1 -1
  86. package/dist/web/server/assets/{open-groups-BMGYUTtY.js → open-groups-C89TEK85.js} +1 -1
  87. package/dist/web/server/assets/{parts-k9M-atPa.js → parts-B0wbj_yK.js} +1 -1
  88. package/dist/web/server/assets/{router-BttfLktO.js → router-Ci_9VxDk.js} +83 -51
  89. package/dist/web/server/assets/{routes-A7UcreVX.js → routes-CVrH9qgo.js} +1 -1
  90. package/dist/web/server/assets/{routes-B9jw-MJ8.js → routes-D9Mw1_VV.js} +297 -101
  91. package/dist/web/server/assets/{routes-BX2FV8rS.js → routes-DsuaDPTO.js} +2 -2
  92. package/dist/web/server/assets/{skills-Cd5Cfdaz.js → skills-BNbZ75am.js} +1 -1
  93. package/dist/web/server/assets/{skills-y3GsyKce.js → skills-BWwEFc4a.js} +1 -1
  94. package/dist/web/server/assets/{skills-BVAH93cd.js → skills-D5rnOmKJ.js} +7 -7
  95. package/dist/web/server/assets/{src-vrZVrV9u.js → src-BeMh8Fze.js} +11 -1
  96. package/dist/web/server/assets/{start-Dl8gQ-95.js → start-2MvkBRdC.js} +1 -1
  97. package/dist/web/server/assets/{style-BQ3H9I7Y.js → style-B3l0Wtlf.js} +1 -1
  98. package/dist/web/server/assets/{system-BJPKqM6b.js → system-Cr4C-YRw.js} +1 -1
  99. package/dist/web/server/assets/{system-C7mejQSc.js → system-DT7AU0e6.js} +3 -3
  100. package/dist/web/server/assets/{system-LsLcuVzY.js → system-DsmXkgqn.js} +1 -1
  101. package/dist/web/server/assets/{teams-CiX8LUQo.js → teams-BeStcDvQ.js} +1 -1
  102. package/dist/web/server/assets/{teams-B6gbflsZ.js → teams-CsEBLW8-.js} +11 -9
  103. package/dist/web/server/assets/{teams-D-XdIkCr.js → teams-Dix5XVIx.js} +1 -1
  104. package/dist/web/server/assets/{teams-C7kXMNgc.js → teams-DjE0swAZ.js} +8 -8
  105. package/dist/web/server/assets/{teams-CeLLd2Mf.js → teams-Rk_RED7X.js} +1 -1
  106. package/dist/web/server/assets/{teams-CPXoTggb.js → teams-u6m6JzuU.js} +1 -1
  107. package/dist/web/server/assets/{telegram-D8_V7_sW.js → telegram-BjqABrl-.js} +7 -7
  108. package/dist/web/server/assets/{telegram-D7TW3LNZ.js → telegram-CQpF3EHA.js} +1 -1
  109. package/dist/web/server/assets/{telegram-DA2dwLID.js → telegram-DhzHgDfg.js} +1 -1
  110. package/dist/web/server/assets/{tools-D1BBVkRh.js → tools-DC69leH7.js} +1 -1
  111. package/dist/web/server/assets/{tools-CluiJywK.js → tools-Dn6RnOFu.js} +1 -1
  112. package/dist/web/server/assets/{tools-CckcG9Jl.js → tools-x_DQTQtE.js} +5 -5
  113. package/dist/web/server/assets/{usage-PNNb3pPj.js → usage-4zMG0sab.js} +4 -4
  114. package/dist/web/server/assets/{usage-CrYyvPgf.js → usage-mvQegG4l.js} +1 -1
  115. package/dist/web/server/assets/{use-resource-BUA9qGGY.js → use-resource-BjN1uJoL.js} +9 -1
  116. package/dist/web/server/assets/{welcome-CwzLt6Rp.js → welcome-BuE9FRf4.js} +1 -1
  117. package/dist/web/server/assets/{welcome-CUTYf8UG.js → welcome-DYw35wl5.js} +1 -1
  118. package/dist/web/server/assets/{welcome-CYhh3iUU.js → welcome-DrYbWGd_.js} +5 -5
  119. package/dist/web/server/server.js +20 -20
  120. package/dist/worker.js +116 -12
  121. package/dist/worker.js.map +1 -1
  122. package/package.json +1 -1
  123. package/dist/web/client/assets/AddProviderDialog-DZ9mXFdq.js +0 -1
  124. package/dist/web/client/assets/AgentTemplateParts-BfG3a-ri.js +0 -1
  125. package/dist/web/client/assets/ConfirmDialog-B_jXAPmh.js +0 -1
  126. package/dist/web/client/assets/ConnectionsView-D1Liebtf.js +0 -1
  127. package/dist/web/client/assets/SectionTabs-Dc0bNn-J.js +0 -1
  128. package/dist/web/client/assets/SkillsParts-C5T7sYDA.js +0 -1
  129. package/dist/web/client/assets/SpawnTeamModal-DatFF4f_.js +0 -1
  130. package/dist/web/client/assets/TeamForm-l-N_PYeE.js +0 -1
  131. package/dist/web/client/assets/TeamThread-BWmIQiAh.js +0 -1
  132. package/dist/web/client/assets/agents-BtETzVIY.js +0 -1
  133. package/dist/web/client/assets/config-B2ZDYo52.js +0 -1
  134. package/dist/web/client/assets/routes-DOoeKVwr.js +0 -85
  135. package/dist/web/client/assets/style-Bm9QsFpy.js +0 -7
  136. package/dist/web/client/assets/styles-B-kTTvCo.css +0 -2
  137. package/dist/web/client/assets/teams-7FEpSZg1.js +0 -1
  138. package/dist/web/client/assets/teams-ClirFbDV.js +0 -1
  139. package/dist/web/client/assets/telegram-BJnT5THs.js +0 -1
  140. package/dist/web/client/assets/use-resource-Bn0Sx7r6.js +0 -1
@@ -1,16 +1,16 @@
1
1
  import { i as api, o as errorMessage } from "./live-DbJeq6KP.js";
2
2
  import { t as AgentAvatar } from "./AgentAvatar-8gTAy_tP.js";
3
3
  import { t as Button } from "./Button-Dsnw22OF.js";
4
- import { n as DialogActions, t as Dialog } from "./Dialog-DTeF-nOZ.js";
5
- import { t as ConfirmDialog } from "./ConfirmDialog-DAcSBHkT.js";
4
+ import { n as DialogActions, t as Dialog } from "./Dialog-_Gt_Nt86.js";
5
+ import { t as ConfirmDialog } from "./ConfirmDialog-C89B8qKM.js";
6
6
  import { t as Segmented } from "./Segmented-3ZLdqa5U.js";
7
- import { _ as RowMenu, c as CardToolbar, d as Chip, g as Notice, h as ListRow, i as CardEmpty, m as GroupHeader, o as CardList, r as CardBody, v as SearchField, y as SetupCard } from "./parts-k9M-atPa.js";
8
- import { s as SelectField } from "./form-BEjeiSy3.js";
9
- import { t as SpawnDialog } from "./SpawnDialog-BAE8W91z.js";
10
- import { t as Route } from "./agents-ncyhVx-T.js";
11
- import { t as ManagePage } from "./ManagePage-Dy1EdovO.js";
7
+ import { _ as RowMenu, c as CardToolbar, d as Chip, g as Notice, h as ListRow, i as CardEmpty, m as GroupHeader, o as CardList, r as CardBody, v as SearchField, y as SetupCard } from "./parts-B0wbj_yK.js";
8
+ import { s as SelectField } from "./form-Bwsyt9OY.js";
9
+ import { t as SpawnDialog } from "./SpawnDialog-BNKj2Lup.js";
10
+ import { t as Route } from "./agents-BL918wVc.js";
11
+ import { t as ManagePage } from "./ManagePage-DGYNJ6XG.js";
12
12
  import { i as unarchiveAgent, n as deleteAgent, t as archiveAgent } from "./agent-actions-ChH7Mne4.js";
13
- import { T as templateName, c as groupAgents, n as agentCounts, r as agentModel, s as count } from "./manage-C6ucNYZW.js";
13
+ import { T as templateName, c as groupAgents, n as agentCounts, r as agentModel, s as count } from "./manage-C7ReF2ZZ.js";
14
14
  import { useEffect, useRef, useState } from "react";
15
15
  import { Link, useRouter } from "@tanstack/react-router";
16
16
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -181,7 +181,7 @@ function AgentsCard({ agents, teams, templates, chat, onSpawn, onChanged }) {
181
181
  variant: "primary",
182
182
  disabled: templates.length === 0 || teams.length === 0,
183
183
  onClick: onSpawn,
184
- children: "Spawn an agent"
184
+ children: "Add an Agent"
185
185
  }),
186
186
  children: "An Agent is spawned from a template into a Team, and starts talking as soon as it is."
187
187
  }) : groups.length === 0 ? /* @__PURE__ */ jsx(CardEmpty, {
@@ -309,7 +309,7 @@ function AgentsPage() {
309
309
  variant: "primary",
310
310
  disabled: templates.length === 0 || teams.length === 0,
311
311
  onClick: () => setSpawning(true),
312
- children: "Spawn an agent"
312
+ children: "Add an Agent"
313
313
  }),
314
314
  children: [/* @__PURE__ */ jsx(AgentsCard, {
315
315
  agents,
@@ -1,7 +1,7 @@
1
1
  import { n as createServerFn } from "../server.js";
2
- import { t as MODELS_PATH } from "./ModelMenu-D-hTgYOO.js";
2
+ import { t as MODELS_PATH } from "./ModelMenu-DEJoYASj.js";
3
3
  import { t as createServerRpc } from "./createServerRpc-B7Yr1K8i.js";
4
- import { n as daemonClient } from "./daemon-client-RxAllljf.js";
4
+ import { n as daemonClient } from "./daemon-client-D-NWKQto.js";
5
5
  //#region src/routes/agents/index.tsx?tss-serverfn-split
6
6
  var fetchAgents_createServerFn_handler = createServerRpc({
7
7
  id: "f715bab0037380aa3db7e237e7cf1e74168c363f48a960bb1ddfa5560de3a74e",
@@ -1,12 +1,12 @@
1
1
  import { i as api } from "./live-DbJeq6KP.js";
2
2
  import { t as Button } from "./Button-Dsnw22OF.js";
3
- import { t as ConfirmDialog } from "./ConfirmDialog-DAcSBHkT.js";
4
- import { _ as RowMenu, d as Chip, h as ListRow, i as CardEmpty, o as CardList, y as SetupCard } from "./parts-k9M-atPa.js";
5
- import { t as SpawnDialog } from "./SpawnDialog-BAE8W91z.js";
6
- import { t as Route } from "./agents-DhenbitX.js";
7
- import { t as ManagePage } from "./ManagePage-Dy1EdovO.js";
8
- import { E as templateUseLine, T as templateName, d as modelLine, s as count, w as templateDeleteBlocker, y as skillsLine } from "./manage-C6ucNYZW.js";
9
- import { t as CreateAgentTemplateDialog } from "./AgentTemplateParts-CxWyovvM.js";
3
+ import { t as ConfirmDialog } from "./ConfirmDialog-C89B8qKM.js";
4
+ import { _ as RowMenu, d as Chip, h as ListRow, i as CardEmpty, o as CardList, y as SetupCard } from "./parts-B0wbj_yK.js";
5
+ import { t as SpawnDialog } from "./SpawnDialog-BNKj2Lup.js";
6
+ import { t as Route } from "./agents-uw32jPWx.js";
7
+ import { t as ManagePage } from "./ManagePage-DGYNJ6XG.js";
8
+ import { E as templateUseLine, T as templateName, d as modelLine, s as count, w as templateDeleteBlocker, y as skillsLine } from "./manage-C7ReF2ZZ.js";
9
+ import { t as CreateAgentTemplateDialog } from "./AgentTemplateParts-Dh9F_-T_.js";
10
10
  import { useState } from "react";
11
11
  import { useNavigate, useRouter } from "@tanstack/react-router";
12
12
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -81,9 +81,9 @@ function AgentTemplatesPage() {
81
81
  ] }),
82
82
  actions: /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Button, {
83
83
  variant: "ghost",
84
- "aria-label": `Spawn an agent from ${templateName(template)}`,
84
+ "aria-label": `Add an Agent from ${templateName(template)}`,
85
85
  onClick: () => setSpawnFrom(template.id),
86
- children: "Spawn"
86
+ children: "Add an Agent"
87
87
  }), /* @__PURE__ */ jsx(RowMenu, {
88
88
  label: `More for ${templateName(template)}`,
89
89
  items: [{
@@ -1,7 +1,7 @@
1
1
  import { n as createServerFn } from "../server.js";
2
- import { t as MODELS_PATH } from "./ModelMenu-D-hTgYOO.js";
2
+ import { t as MODELS_PATH } from "./ModelMenu-DEJoYASj.js";
3
3
  import { t as createServerRpc } from "./createServerRpc-B7Yr1K8i.js";
4
- import { n as daemonClient } from "./daemon-client-RxAllljf.js";
4
+ import { n as daemonClient } from "./daemon-client-D-NWKQto.js";
5
5
  //#region src/routes/templates/agents/index.tsx?tss-serverfn-split
6
6
  var fetchTemplates_createServerFn_handler = createServerRpc({
7
7
  id: "7bc7f3b145d10e7a733fbe068ce367dda04ec2f1cdb53f0d6dcba3838eb2deeb",
@@ -2,7 +2,7 @@ import { n as createServerFn } from "../server.js";
2
2
  import { t as createSsrRpc } from "./createSsrRpc-6LHNEsSK.js";
3
3
  import { createFileRoute, lazyRouteComponent } from "@tanstack/react-router";
4
4
  //#region src/routes/templates/agents/index.tsx
5
- var $$splitComponentImporter = () => import("./agents-KJcDMj0Y.js");
5
+ var $$splitComponentImporter = () => import("./agents-CjrkaEz8.js");
6
6
  var fetchTemplates = createServerFn({ method: "GET" }).handler(createSsrRpc("7bc7f3b145d10e7a733fbe068ce367dda04ec2f1cdb53f0d6dcba3838eb2deeb"));
7
7
  var Route = createFileRoute("/templates/agents/")({
8
8
  validateSearch: (search) => ({ new: search.new === 1 || search.new === "1" ? 1 : void 0 }),
@@ -1,6 +1,6 @@
1
1
  import { n as createServerFn } from "../server.js";
2
2
  import { t as createServerRpc } from "./createServerRpc-B7Yr1K8i.js";
3
- import { n as daemonClient } from "./daemon-client-RxAllljf.js";
3
+ import { n as daemonClient } from "./daemon-client-D-NWKQto.js";
4
4
  //#region src/routes/attention/index.tsx?tss-serverfn-split
5
5
  var LIST_PATH = "/api/attention?state=all&limit=200";
6
6
  var SUMMARY_PATH = "/api/attention/summary";
@@ -2,7 +2,7 @@ import { n as createServerFn } from "../server.js";
2
2
  import { t as createSsrRpc } from "./createSsrRpc-6LHNEsSK.js";
3
3
  import { createFileRoute, lazyRouteComponent } from "@tanstack/react-router";
4
4
  //#region src/routes/attention/index.tsx
5
- var $$splitComponentImporter = () => import("./attention-DM__BzWY.js");
5
+ var $$splitComponentImporter = () => import("./attention-a_OmC6L3.js");
6
6
  /** Questions expire in minutes and commands in two: the page keeps itself current. */
7
7
  /** "2 minutes ago" moves on even when nothing in the list changes. */
8
8
  /** What the item's button says: where it takes you and what you do there. */
@@ -1,13 +1,13 @@
1
1
  import { i as api, n as useLive, o as errorMessage } from "./live-DbJeq6KP.js";
2
- import { t as useHydrated } from "./use-resource-BUA9qGGY.js";
2
+ import { t as useHydrated } from "./use-resource-BjN1uJoL.js";
3
3
  import { t as Button } from "./Button-Dsnw22OF.js";
4
- import { r as ago } from "./ModelMenu-D-hTgYOO.js";
4
+ import { r as ago } from "./ModelMenu-DEJoYASj.js";
5
5
  import { t as Segmented } from "./Segmented-3ZLdqa5U.js";
6
6
  import { i as useAttentionCount } from "./page-title-PTpFHXWo.js";
7
- import { C as PageShell, S as PageHeader, c as CardToolbar, d as Chip, g as Notice, h as ListRow, i as CardEmpty, o as CardList, r as CardBody, t as Banner, y as SetupCard } from "./parts-k9M-atPa.js";
8
- import { r as FilterSelect } from "./form-BEjeiSy3.js";
9
- import { t as Route } from "./attention-CDdOCOio.js";
10
- import { a as attentionSource, m as severityLabel, o as attentionSummary, t as ATTENTION_KINDS } from "./manage-C6ucNYZW.js";
7
+ import { C as PageShell, S as PageHeader, c as CardToolbar, d as Chip, g as Notice, h as ListRow, i as CardEmpty, o as CardList, r as CardBody, t as Banner, y as SetupCard } from "./parts-B0wbj_yK.js";
8
+ import { r as FilterSelect } from "./form-Bwsyt9OY.js";
9
+ import { t as Route } from "./attention-C94WWwQe.js";
10
+ import { a as attentionSource, m as severityLabel, o as attentionSummary, t as ATTENTION_KINDS } from "./manage-C7ReF2ZZ.js";
11
11
  import { useEffect, useRef, useState } from "react";
12
12
  import { Link } from "@tanstack/react-router";
13
13
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  import { n as createServerFn } from "../server.js";
2
2
  import { t as createServerRpc } from "./createServerRpc-B7Yr1K8i.js";
3
- import { n as daemonClient, r as ApiClientError } from "./daemon-client-RxAllljf.js";
3
+ import { n as daemonClient, r as ApiClientError } from "./daemon-client-D-NWKQto.js";
4
4
  //#region src/lib/auth.ts?tss-serverfn-split
5
5
  var fetchAuthState_createServerFn_handler = createServerRpc({
6
6
  id: "a5d3825fc69573bb55bab6df578c750ebb0240dd394c3acee3adea02918a5dc2",
@@ -2,7 +2,7 @@ import { n as createServerFn } from "../server.js";
2
2
  import { t as createSsrRpc } from "./createSsrRpc-6LHNEsSK.js";
3
3
  import { createFileRoute, lazyRouteComponent } from "@tanstack/react-router";
4
4
  //#region src/routes/config/index.tsx
5
- var $$splitComponentImporter = () => import("./config-DpgYAXQ3.js");
5
+ var $$splitComponentImporter = () => import("./config-Bhem9XER.js");
6
6
  var fetchModelsPage = createServerFn({ method: "GET" }).handler(createSsrRpc("71b6b12251ac92cf4ee888c1d2b6eba3beaac079f9c39eaed95fafcd15908731"));
7
7
  var Route = createFileRoute("/config/")({
8
8
  validateSearch: (search) => ({
@@ -1,14 +1,14 @@
1
1
  import { i as api, o as errorMessage } from "./live-DbJeq6KP.js";
2
- import { r as useResource } from "./use-resource-BUA9qGGY.js";
2
+ import { r as useResource } from "./use-resource-BjN1uJoL.js";
3
3
  import { t as Button } from "./Button-Dsnw22OF.js";
4
- import { a as credentialLine, c as matchesModel, d as providerStatus, f as usedByLine, l as modelName, o as factsLine, r as ago, u as priceLine } from "./ModelMenu-D-hTgYOO.js";
5
- import { t as Dialog } from "./Dialog-DTeF-nOZ.js";
6
- import { t as ConfirmDialog } from "./ConfirmDialog-DAcSBHkT.js";
4
+ import { a as credentialLine, c as matchesModel, d as providerStatus, f as usedByLine, l as modelName, o as factsLine, r as ago, u as priceLine } from "./ModelMenu-DEJoYASj.js";
5
+ import { t as Dialog } from "./Dialog-_Gt_Nt86.js";
6
+ import { t as ConfirmDialog } from "./ConfirmDialog-C89B8qKM.js";
7
7
  import { t as Segmented } from "./Segmented-3ZLdqa5U.js";
8
- import { b as Switch, d as Chip, n as CARD_ROW, t as Banner, v as SearchField, x as Waiting, y as SetupCard } from "./parts-k9M-atPa.js";
9
- import { t as Route } from "./config-Cld8Q8N7.js";
10
- import { t as ConfigPage } from "./ConfigPage-usZi48Zr.js";
11
- import { c as ProviderAvatar, l as StateChip, o as FailureBox, s as ModelRow, t as AddProviderDialog } from "./AddProviderDialog-DtkjBMv4.js";
8
+ import { b as Switch, d as Chip, n as CARD_ROW, t as Banner, v as SearchField, x as Waiting, y as SetupCard } from "./parts-B0wbj_yK.js";
9
+ import { t as Route } from "./config-BG1KOtwA.js";
10
+ import { t as ConfigPage } from "./ConfigPage-CrxctbtN.js";
11
+ import { c as ProviderAvatar, l as StateChip, o as FailureBox, s as ModelRow, t as AddProviderDialog } from "./AddProviderDialog-CpLDHOcA.js";
12
12
  import { useId, useMemo, useState } from "react";
13
13
  import { useRouter } from "@tanstack/react-router";
14
14
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  import { n as createServerFn } from "../server.js";
2
2
  import { t as createServerRpc } from "./createServerRpc-B7Yr1K8i.js";
3
- import { n as daemonClient } from "./daemon-client-RxAllljf.js";
3
+ import { n as daemonClient } from "./daemon-client-D-NWKQto.js";
4
4
  //#region src/routes/config/index.tsx?tss-serverfn-split
5
5
  var fetchModelsPage_createServerFn_handler = createServerRpc({
6
6
  id: "71b6b12251ac92cf4ee888c1d2b6eba3beaac079f9c39eaed95fafcd15908731",
@@ -1,5 +1,5 @@
1
1
  import { a as getCookie } from "../server.js";
2
- import { o as publicOriginConfig } from "./src-vrZVrV9u.js";
2
+ import { o as publicOriginConfig } from "./src-BeMh8Fze.js";
3
3
  //#region ../../packages/client/src/index.ts
4
4
  var ApiClientError = class extends Error {
5
5
  status;
@@ -1,6 +1,6 @@
1
1
  import { t as Button } from "./Button-Dsnw22OF.js";
2
- import { p as cn } from "./ModelMenu-D-hTgYOO.js";
3
- import { b as Switch } from "./parts-k9M-atPa.js";
2
+ import { p as cn } from "./ModelMenu-DEJoYASj.js";
3
+ import { b as Switch } from "./parts-B0wbj_yK.js";
4
4
  import { useId, useState } from "react";
5
5
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
6
6
  import { Check, ChevronDown } from "lucide-react";
@@ -1,4 +1,4 @@
1
- import { l as modelName } from "./ModelMenu-D-hTgYOO.js";
1
+ import { l as modelName } from "./ModelMenu-DEJoYASj.js";
2
2
  //#region src/lib/manage.ts
3
3
  /** "A", "A and B", "A, B and C". */
4
4
  function listed(items) {
@@ -2,7 +2,7 @@ import { n as createServerFn } from "../server.js";
2
2
  import { t as createSsrRpc } from "./createSsrRpc-6LHNEsSK.js";
3
3
  import { createFileRoute, lazyRouteComponent } from "@tanstack/react-router";
4
4
  //#region src/routes/config/mcp.tsx
5
- var $$splitComponentImporter = () => import("./mcp-BXnWQOwM.js");
5
+ var $$splitComponentImporter = () => import("./mcp-BTZkDvdc.js");
6
6
  var fetchServers = createServerFn({ method: "GET" }).handler(createSsrRpc("278849457893891c3d22806d15e11a0a42cc3630b30e9e62b74cf2d3b982ded7"));
7
7
  var Route = createFileRoute("/config/mcp")({
8
8
  loader: () => fetchServers(),
@@ -1,10 +1,10 @@
1
1
  import { i as api, o as errorMessage } from "./live-DbJeq6KP.js";
2
2
  import { t as Button } from "./Button-Dsnw22OF.js";
3
- import { t as ConfirmDialog } from "./ConfirmDialog-DAcSBHkT.js";
4
- import { a as CardForm, d as Chip, g as Notice, h as ListRow, o as CardList, r as CardBody, s as CardRow, x as Waiting, y as SetupCard } from "./parts-k9M-atPa.js";
5
- import { d as TextField, o as SecretField, s as SelectField } from "./form-BEjeiSy3.js";
6
- import { t as Route } from "./mcp-DwCzj7eO.js";
7
- import { t as ConfigPage } from "./ConfigPage-usZi48Zr.js";
3
+ import { t as ConfirmDialog } from "./ConfirmDialog-C89B8qKM.js";
4
+ import { a as CardForm, d as Chip, g as Notice, h as ListRow, o as CardList, r as CardBody, s as CardRow, x as Waiting, y as SetupCard } from "./parts-B0wbj_yK.js";
5
+ import { d as TextField, o as SecretField, s as SelectField } from "./form-Bwsyt9OY.js";
6
+ import { t as Route } from "./mcp-BFixpBQk.js";
7
+ import { t as ConfigPage } from "./ConfigPage-CrxctbtN.js";
8
8
  import { useState } from "react";
9
9
  import { useRouter } from "@tanstack/react-router";
10
10
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  import { n as createServerFn } from "../server.js";
2
2
  import { t as createServerRpc } from "./createServerRpc-B7Yr1K8i.js";
3
- import { n as daemonClient } from "./daemon-client-RxAllljf.js";
3
+ import { n as daemonClient } from "./daemon-client-D-NWKQto.js";
4
4
  //#region src/routes/config/mcp.tsx?tss-serverfn-split
5
5
  var fetchServers_createServerFn_handler = createServerRpc({
6
6
  id: "278849457893891c3d22806d15e11a0a42cc3630b30e9e62b74cf2d3b982ded7",
@@ -1,4 +1,4 @@
1
- import "./src-vrZVrV9u.js";
1
+ import "./src-BeMh8Fze.js";
2
2
  //#region src/components/workspace/rail/open-groups.ts
3
3
  var SIDEBAR_OPEN_GROUPS_COOKIE = "bz_sidebar_open_groups";
4
4
  function writeOpenGroupsCookie(map) {
@@ -1,4 +1,4 @@
1
- import { p as cn } from "./ModelMenu-D-hTgYOO.js";
1
+ import { p as cn } from "./ModelMenu-DEJoYASj.js";
2
2
  import { n as usePageTitle } from "./page-title-PTpFHXWo.js";
3
3
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
4
4
  import { AlertTriangle, Check, Info, MoreHorizontal, Search, X } from "lucide-react";
@@ -1,34 +1,34 @@
1
1
  import { r as readCookie } from "./cookies-HnTYjKRp.js";
2
2
  import { i as api, n as useLive, o as errorMessage, t as LiveProvider } from "./live-DbJeq6KP.js";
3
3
  import { n as agentState, r as shortTime } from "./activity-Czfq-5_F.js";
4
- import { o as publicOriginConfig } from "./src-vrZVrV9u.js";
4
+ import { o as publicOriginConfig } from "./src-BeMh8Fze.js";
5
5
  import { t as AgentAvatar } from "./AgentAvatar-8gTAy_tP.js";
6
6
  import { t as Button } from "./Button-Dsnw22OF.js";
7
- import { t as Dialog$1 } from "./Dialog-DTeF-nOZ.js";
7
+ import { i as restoreDialogFocus, r as getDialogFocusRestoreTarget, t as Dialog$1 } from "./Dialog-_Gt_Nt86.js";
8
8
  import { c as parseWorkspaceSearch } from "./workspace-0XPILV1W.js";
9
- import { t as DAEMON_BASE_URL } from "./daemon-client-RxAllljf.js";
9
+ import { t as DAEMON_BASE_URL } from "./daemon-client-D-NWKQto.js";
10
10
  import { i as useAttentionCount, r as AttentionCountProvider, t as PageTitleProvider } from "./page-title-PTpFHXWo.js";
11
- import { C as PageShell } from "./parts-k9M-atPa.js";
11
+ import { C as PageShell } from "./parts-B0wbj_yK.js";
12
12
  import { a as PawIcon, i as useThemeMode, n as THEME_MODES, o as BaziuLogo, r as setThemeMode, t as Route$3 } from "./login-BJdJ219n.js";
13
- import { i as isTyping, n as NEW_CONVERSATION_EVENT, r as SHORTCUTS, t as Route$4 } from "./routes-A7UcreVX.js";
14
- import { t as SpawnDialog } from "./SpawnDialog-BAE8W91z.js";
15
- import { i as isSetupOpen, n as PUBLIC_PATHS, r as fetchAuthState, t as Route$5 } from "./welcome-CwzLt6Rp.js";
16
- import { t as Route$6 } from "./usage-CrYyvPgf.js";
17
- import { t as Route$7 } from "./teams-CiX8LUQo.js";
18
- import { t as Route$8 } from "./skills-y3GsyKce.js";
19
- import { t as Route$9 } from "./config-Cld8Q8N7.js";
20
- import { t as Route$10 } from "./attention-CDdOCOio.js";
21
- import { t as Route$11 } from "./agents-ncyhVx-T.js";
22
- import { t as Route$12 } from "./tools-CluiJywK.js";
23
- import { t as Route$13 } from "./telegram-DA2dwLID.js";
24
- import { t as Route$14 } from "./system-BJPKqM6b.js";
25
- import { t as Route$15 } from "./mcp-DwCzj7eO.js";
26
- import { t as Route$16 } from "./access-DEyq3uP_.js";
27
- import { t as Route$17 } from "./teams-D-XdIkCr.js";
28
- import { t as Route$18 } from "./agents-DhenbitX.js";
29
- import { t as Route$19 } from "./_id-BNvm89oJ.js";
30
- import { t as Route$20 } from "./_id-C54t_nX6.js";
31
- import { useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
13
+ import { i as isTyping, n as NEW_CONVERSATION_EVENT, r as SHORTCUTS, t as Route$4 } from "./routes-CVrH9qgo.js";
14
+ import { t as SpawnDialog } from "./SpawnDialog-BNKj2Lup.js";
15
+ import { i as isSetupOpen, n as PUBLIC_PATHS, r as fetchAuthState, t as Route$5 } from "./welcome-BuE9FRf4.js";
16
+ import { t as Route$6 } from "./usage-mvQegG4l.js";
17
+ import { t as Route$7 } from "./teams-BeStcDvQ.js";
18
+ import { t as Route$8 } from "./skills-BWwEFc4a.js";
19
+ import { t as Route$9 } from "./config-BG1KOtwA.js";
20
+ import { t as Route$10 } from "./attention-C94WWwQe.js";
21
+ import { t as Route$11 } from "./agents-BL918wVc.js";
22
+ import { t as Route$12 } from "./tools-Dn6RnOFu.js";
23
+ import { t as Route$13 } from "./telegram-DhzHgDfg.js";
24
+ import { t as Route$14 } from "./system-Cr4C-YRw.js";
25
+ import { t as Route$15 } from "./mcp-BFixpBQk.js";
26
+ import { t as Route$16 } from "./access-BdQmjMJV.js";
27
+ import { t as Route$17 } from "./teams-Dix5XVIx.js";
28
+ import { t as Route$18 } from "./agents-uw32jPWx.js";
29
+ import { t as Route$19 } from "./_id-517adSuB.js";
30
+ import { t as Route$20 } from "./_id-josYXBx3.js";
31
+ import { useEffect, useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
32
32
  import { HeadContent, Link, Outlet, Scripts, createFileRoute, createRootRoute, createRouter, redirect, useNavigate, useRouter, useRouterState } from "@tanstack/react-router";
33
33
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
34
34
  import { Bell, BellOff, BellRing, Check, Keyboard, LayoutGrid, LogOut, MessageSquarePlus, Monitor, Moon, Search, Settings2, Sun, UserPlus, UserRound } from "lucide-react";
@@ -311,12 +311,19 @@ function JumpPalette({ open, onClose, onShowShortcuts }) {
311
311
  window.clearTimeout(timer);
312
312
  };
313
313
  }, [open, trimmed]);
314
- useEffect(() => {
314
+ const opener = useRef(null);
315
+ const went = useRef(false);
316
+ useLayoutEffect(() => {
315
317
  if (!open) return;
318
+ opener.current = getDialogFocusRestoreTarget(document);
319
+ went.current = false;
316
320
  setQuery("");
317
321
  setActive(0);
318
322
  setEnterPending(false);
319
323
  setDark(document.documentElement.classList.contains("dark"));
324
+ }, [open]);
325
+ useEffect(() => {
326
+ if (!open) return;
320
327
  const controller = new AbortController();
321
328
  const signal = controller.signal;
322
329
  Promise.all([
@@ -519,6 +526,7 @@ function JumpPalette({ open, onClose, onShowShortcuts }) {
519
526
  ]);
520
527
  function go(destination) {
521
528
  if (!destination) return;
529
+ went.current = true;
522
530
  onClose();
523
531
  if (destination.run) destination.run();
524
532
  else if (destination.path) navigate({ to: destination.path });
@@ -531,7 +539,13 @@ function JumpPalette({ open, onClose, onShowShortcuts }) {
531
539
  open,
532
540
  onOpenChange: (next) => !next && onClose(),
533
541
  children: /* @__PURE__ */ jsxs(Dialog.Portal, { children: [/* @__PURE__ */ jsx(Dialog.Overlay, { className: "fixed inset-0 z-50 bg-chocolate/30 data-[state=open]:animate-in data-[state=open]:fade-in-0" }), /* @__PURE__ */ jsxs(Dialog.Content, {
542
+ "data-jump-palette": "",
534
543
  "aria-describedby": void 0,
544
+ onCloseAutoFocus: (event) => {
545
+ if (went.current) return;
546
+ event.preventDefault();
547
+ restoreDialogFocus(opener.current, document);
548
+ },
535
549
  className: "fixed left-1/2 top-[12vh] z-50 flex max-h-[70vh] w-[calc(100%-2rem)] max-w-xl -translate-x-1/2 flex-col overflow-hidden rounded-xl border border-border bg-popover text-popover-foreground shadow-baziu-lg outline-none",
536
550
  children: [
537
551
  /* @__PURE__ */ jsx(Dialog.Title, {
@@ -706,7 +720,7 @@ function TopBar() {
706
720
  const onKey = (event) => {
707
721
  if ((event.metaKey || event.ctrlKey) && event.key.toLowerCase() === "k") {
708
722
  event.preventDefault();
709
- setPaletteOpen((open) => !open);
723
+ if (!Array.from(document.querySelectorAll("[role=\"dialog\"], [role=\"alertdialog\"]")).some((dialog) => !dialog.hasAttribute("data-jump-palette"))) setPaletteOpen((open) => !open);
710
724
  } else if (!event.defaultPrevented && event.key === "?" && !event.metaKey && !event.ctrlKey && !event.altKey && !isTyping(event.target) && !document.querySelector("[role=\"dialog\"]")) {
711
725
  event.preventDefault();
712
726
  setShortcutsOpen(true);
@@ -945,8 +959,22 @@ function navButtonClass(active) {
945
959
  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"}`;
946
960
  }
947
961
  //#endregion
962
+ //#region src/lib/roster.tsx
963
+ function RosterWatcher() {
964
+ const { subscribe } = useLive();
965
+ const router = useRouter();
966
+ useEffect(() => {
967
+ let known;
968
+ return subscribe("activity", (event) => {
969
+ if (known !== void 0 && event.roster !== known) router.invalidate();
970
+ known = event.roster;
971
+ });
972
+ }, [subscribe, router]);
973
+ return null;
974
+ }
975
+ //#endregion
948
976
  //#region src/styles.css?url
949
- var styles_default = "/assets/styles-B-kTTvCo.css";
977
+ var styles_default = "/assets/styles-C7NsCHeU.css";
950
978
  //#endregion
951
979
  //#region src/routes/__root.tsx
952
980
  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){}})();`;
@@ -1024,36 +1052,40 @@ function RootComponent() {
1024
1052
  enabled: !isLogin && pathname !== "/welcome",
1025
1053
  children: /* @__PURE__ */ jsxs(AttentionCountProvider, {
1026
1054
  enabled: !isLogin && pathname !== "/welcome",
1027
- children: [/* @__PURE__ */ jsx(DesktopNotifier, {}), /* @__PURE__ */ jsx(PageTitleProvider, { children: isLogin ? /* @__PURE__ */ jsx(Outlet, {}) : isWorkspace ? /* @__PURE__ */ jsxs("div", {
1028
- className: "flex h-dvh flex-col",
1029
- children: [/* @__PURE__ */ jsx("div", {
1030
- className: "px-3 sm:px-5",
1031
- children: /* @__PURE__ */ jsx(TopBar, {})
1032
- }), /* @__PURE__ */ jsx("main", {
1033
- id: "main-content",
1034
- tabIndex: -1,
1035
- className: "mx-auto min-h-0 w-full max-w-[1600px] flex-1 overflow-clip px-3 pb-3 sm:px-5 sm:pb-5",
1036
- children: /* @__PURE__ */ jsx(Outlet, {})
1037
- })]
1038
- }) : /* @__PURE__ */ jsxs("div", {
1039
- className: "flex min-h-dvh flex-col",
1040
- children: [
1041
- /* @__PURE__ */ jsx("div", {
1055
+ children: [
1056
+ /* @__PURE__ */ jsx(DesktopNotifier, {}),
1057
+ /* @__PURE__ */ jsx(RosterWatcher, {}),
1058
+ /* @__PURE__ */ jsx(PageTitleProvider, { children: isLogin ? /* @__PURE__ */ jsx(Outlet, {}) : isWorkspace ? /* @__PURE__ */ jsxs("div", {
1059
+ className: "flex h-dvh flex-col",
1060
+ children: [/* @__PURE__ */ jsx("div", {
1042
1061
  className: "px-3 sm:px-5",
1043
1062
  children: /* @__PURE__ */ jsx(TopBar, {})
1044
- }),
1045
- /* @__PURE__ */ jsx("main", {
1063
+ }), /* @__PURE__ */ jsx("main", {
1046
1064
  id: "main-content",
1047
1065
  tabIndex: -1,
1048
- className: "mx-auto w-full max-w-[1500px] flex-1 px-4 py-9 sm:px-6 sm:py-12",
1066
+ className: "mx-auto min-h-0 w-full max-w-[1600px] flex-1 overflow-clip px-3 pb-3 sm:px-5 sm:pb-5",
1049
1067
  children: /* @__PURE__ */ jsx(Outlet, {})
1050
- }),
1051
- /* @__PURE__ */ jsx("div", {
1052
- className: "px-4 sm:px-6",
1053
- children: /* @__PURE__ */ jsx(Footer, {})
1054
- })
1055
- ]
1056
- }) })]
1068
+ })]
1069
+ }) : /* @__PURE__ */ jsxs("div", {
1070
+ className: "flex min-h-dvh flex-col",
1071
+ children: [
1072
+ /* @__PURE__ */ jsx("div", {
1073
+ className: "px-3 sm:px-5",
1074
+ children: /* @__PURE__ */ jsx(TopBar, {})
1075
+ }),
1076
+ /* @__PURE__ */ jsx("main", {
1077
+ id: "main-content",
1078
+ tabIndex: -1,
1079
+ className: "mx-auto w-full max-w-[1500px] flex-1 px-4 py-9 sm:px-6 sm:py-12",
1080
+ children: /* @__PURE__ */ jsx(Outlet, {})
1081
+ }),
1082
+ /* @__PURE__ */ jsx("div", {
1083
+ className: "px-4 sm:px-6",
1084
+ children: /* @__PURE__ */ jsx(Footer, {})
1085
+ })
1086
+ ]
1087
+ }) })
1088
+ ]
1057
1089
  })
1058
1090
  }),
1059
1091
  /* @__PURE__ */ jsx(Scripts, {})
@@ -79,7 +79,7 @@ function neighbour(ordered, current, step) {
79
79
  }
80
80
  //#endregion
81
81
  //#region src/routes/index.tsx
82
- var $$splitComponentImporter = () => import("./routes-B9jw-MJ8.js");
82
+ var $$splitComponentImporter = () => import("./routes-D9Mw1_VV.js");
83
83
  /** The rail's open/closed Teams; a bad cookie is ignored. */
84
84
  var fetchWorkspace = createServerFn({ method: "GET" }).validator((data) => data).handler(createSsrRpc("22325942f341b7af6fb13fa5fde2b06e1d7d91f9178205ef3eb9e5ba3c9ef2fe"));
85
85
  var Route = createFileRoute("/")({