bazilion 0.25.0 → 0.26.1

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 (382) hide show
  1. package/README.md +41 -140
  2. package/dist/cli.js +5001 -2
  3. package/dist/cli.js.map +1 -0
  4. package/dist/daemon.js +17836 -2
  5. package/dist/daemon.js.map +1 -0
  6. package/dist/schema.sql +382 -0
  7. package/dist/web/client/assets/{AgentAvatar-JYijLvZ2.js → AgentAvatar-DWx-bM6n.js} +1 -1
  8. package/dist/web/client/assets/ChatPane-DOV_HJg-.js +72 -0
  9. package/dist/web/client/assets/ConfigPage-Dfu9DzFX.js +1 -0
  10. package/dist/web/client/assets/ConfirmDialog-536ziJ5P.js +1 -0
  11. package/dist/web/client/assets/FieldRow-z1JqCdqn.js +1 -0
  12. package/dist/web/client/assets/ModelSelect-CvOHjUyB.js +1 -0
  13. package/dist/web/client/assets/ResultCard-X4nTbjYY.js +1 -0
  14. package/dist/web/client/assets/SectionTabs-DXHzXmmb.js +1 -0
  15. package/dist/web/client/assets/SkillFindings-8LX6bYf_.js +1 -0
  16. package/dist/web/client/assets/SkillsPicker-Cr87y_W-.js +1 -0
  17. package/dist/web/client/assets/SpawnDialog-DoZl-yes.js +1 -0
  18. package/dist/web/client/assets/SpawnTeamModal-C638hEoN.js +1 -0
  19. package/dist/web/client/assets/Tabs-D0LgBNIk.js +1 -0
  20. package/dist/web/client/assets/TeamForm-C-WzvOl4.js +1 -0
  21. package/dist/web/client/assets/TeamPolicyEditor-CSKBx0oK.js +7 -0
  22. package/dist/web/client/assets/UnsavedChangesGuard-GC-vzw7h.js +1 -0
  23. package/dist/web/client/assets/_id-BKLynswT.js +1 -0
  24. package/dist/web/client/assets/_id-BYM_NORr.js +1 -0
  25. package/dist/web/client/assets/_id-Cxa98a9m.js +1 -0
  26. package/dist/web/client/assets/_id-D4hV1U1t.js +1 -0
  27. package/dist/web/client/assets/agent-actions-CXQCoxKO.js +1 -0
  28. package/dist/web/client/assets/agents-BxPS1_Bp.js +1 -0
  29. package/dist/web/client/assets/agents-GozAWW-l.js +1 -0
  30. package/dist/web/client/assets/attention-Cz9rZcrr.js +1 -0
  31. package/dist/web/client/assets/chevron-right-CPAb1zac.js +1 -0
  32. package/dist/web/client/assets/config-9vv9Lipb.js +3 -0
  33. package/dist/web/client/assets/entities-xVoB-p2j.js +1 -0
  34. package/dist/web/client/assets/inbox-DHLArXxl.js +1 -0
  35. package/dist/web/client/assets/index-1YXquAq8.js +52 -0
  36. package/dist/web/client/assets/jsx-runtime-bzQ4Vb5N.js +1 -0
  37. package/dist/web/client/assets/learning-PvtXm8Ne.js +1 -0
  38. package/dist/web/client/assets/login-DIJpNQFo.js +1 -0
  39. package/dist/web/client/assets/mcp-pKBL0xIf.js +1 -0
  40. package/dist/web/client/assets/members-DHWsgsEs.js +1 -0
  41. package/dist/web/client/assets/memory-CEVppPyU.js +1 -0
  42. package/dist/web/client/assets/plus-BaIRdB10.js +1 -0
  43. package/dist/web/client/assets/policy-DEh4BLSw.js +1 -0
  44. package/dist/web/client/assets/preload-helper-eUUcpe2S.js +1 -0
  45. package/dist/web/client/assets/results-DgJPjEZF.js +1 -0
  46. package/dist/web/client/assets/review-BbshafTQ.js +1 -0
  47. package/dist/web/client/assets/route-Ccb8v41z.js +1 -0
  48. package/dist/web/client/assets/route-D1d6kCEV.js +1 -0
  49. package/dist/web/client/assets/routes-g7V4ru7T.js +1 -0
  50. package/dist/web/client/assets/services-B2f7e5jV.js +1 -0
  51. package/dist/web/client/assets/settings-B6elpcYm.js +1 -0
  52. package/dist/web/client/assets/skills-CngE7TF8.js +1 -0
  53. package/dist/web/client/assets/styles-xUnZ-ep_.css +2 -0
  54. package/dist/web/client/assets/teams-BdJZXOan.js +1 -0
  55. package/dist/web/client/assets/teams-c496ISsT.js +1 -0
  56. package/dist/web/client/assets/telegram-B_-hK6EC.js +1 -0
  57. package/dist/web/client/assets/tokens-CKz8gx4-.js +1 -0
  58. package/dist/web/client/assets/triggers-DCEPciGW.js +1 -0
  59. package/dist/web/client/assets/welcome-D-zVOLGA.js +1 -0
  60. package/dist/web/client/baziu.svg +176 -7
  61. package/dist/web/server/assets/ChatPane-De_FPEoD.js +1887 -0
  62. package/dist/web/server/assets/ConfigPage-CGld_wCK.js +28 -0
  63. package/dist/web/server/assets/ConfirmDialog-LdVlEanK.js +132 -0
  64. package/dist/web/server/assets/{FieldRow-DPO8x_le.js → FieldRow-Dah2KKqo.js} +8 -15
  65. package/dist/web/server/assets/ModelSelect-Vwro6OkL.js +43 -0
  66. package/dist/web/server/assets/{Page-DJNoI4Gn.js → Page-CMSYKXWJ.js} +51 -2
  67. package/dist/web/server/assets/ResultCard-CZn1w4KA.js +97 -0
  68. package/dist/web/server/assets/SectionTabs-CqFg9Vwx.js +53 -0
  69. package/dist/web/server/assets/Sidebar-puq47KyR.js +430 -0
  70. package/dist/web/server/assets/SkillFindings-Bd6e81Wu.js +46 -0
  71. package/dist/web/server/assets/SkillsPicker-DlqEfRWh.js +67 -0
  72. package/dist/web/server/assets/SpawnDialog-BGNaMfFb.js +111 -0
  73. package/dist/web/server/assets/SpawnTeamModal-C6GbfScI.js +97 -0
  74. package/dist/web/server/assets/Tabs-BhF41MfQ.js +20 -0
  75. package/dist/web/server/assets/TeamForm-C93tpn9r.js +96 -0
  76. package/dist/web/server/assets/TeamPolicyEditor-BHS3J0R9.js +738 -0
  77. package/dist/web/server/assets/{UnsavedChangesGuard-BfSyMhiD.js → UnsavedChangesGuard-Dm4a27_5.js} +1 -1
  78. package/dist/web/server/assets/_id-B0x1ffz3.js +12 -0
  79. package/dist/web/server/assets/_id-BR6tnR6I.js +23 -0
  80. package/dist/web/server/assets/_id-Bdf_Rg62.js +19 -0
  81. package/dist/web/server/assets/_id-Bm611NQz.js +13 -0
  82. package/dist/web/server/assets/{_id-4fEeAcp0.js → _id-ByiXeIPS.js} +9 -8
  83. package/dist/web/server/assets/_id-D5UCoyES.js +359 -0
  84. package/dist/web/server/assets/_id-DHx5UmmL.js +12 -0
  85. package/dist/web/server/assets/_id-DLpGmOVm.js +19 -0
  86. package/dist/web/server/assets/_id-Y5ctILG2.js +13 -0
  87. package/dist/web/server/assets/_id-dDA0pdVo.js +54 -0
  88. package/dist/web/server/assets/_id-lOVnT5sS.js +383 -0
  89. package/dist/web/server/assets/{_id-BhJCnRR1.js → _id-sW6zXrTP.js} +4 -4
  90. package/dist/web/server/assets/_tanstack-start-manifest_v-B8u80HjK.js +292 -0
  91. package/dist/web/server/assets/agent-actions-BBdFVdoa.js +20 -0
  92. package/dist/web/server/assets/{agents-Cmw-sUUD.js → agents-BK8OmB8g.js} +7 -6
  93. package/dist/web/server/assets/{agents-DOrzqCXg.js → agents-BNPkidbH.js} +8 -10
  94. package/dist/web/server/assets/{agents-BitDk_C5.js → agents-Cn9GkXFX.js} +1 -3
  95. package/dist/web/server/assets/agents-D4tqK1kH.js +131 -0
  96. package/dist/web/server/assets/agents-DycxHDt8.js +327 -0
  97. package/dist/web/server/assets/{agents-DmmuOHw8.js → agents-lOqc6VGd.js} +4 -4
  98. package/dist/web/server/assets/api-WWxPqx67.js +85 -0
  99. package/dist/web/server/assets/attention-BIm455bC.js +216 -0
  100. package/dist/web/server/assets/{attention-Cy3Xu-Su.js → attention-DULVjdmF.js} +2 -4
  101. package/dist/web/server/assets/{attention-CsYqmV0L.js → attention-YWnLKA2E.js} +4 -2
  102. package/dist/web/server/assets/{auth-DChuQIh4.js → auth-DiN92ydD.js} +7 -8
  103. package/dist/web/server/assets/{config-0_5yhRKg.js → config-BNEgu7WG.js} +141 -432
  104. package/dist/web/server/assets/{config-VsmvCulS.js → config-C1VB28se.js} +1 -1
  105. package/dist/web/server/assets/{config-CpHD812q.js → config-TdVqnqNL.js} +3 -7
  106. package/dist/web/server/assets/cookies-HnTYjKRp.js +17 -0
  107. package/dist/web/server/assets/daemon-client-DL2ik2Em.js +146 -0
  108. package/dist/web/server/assets/entities-Dn2xzKIw.js +16 -0
  109. package/dist/web/server/assets/inbox-4Vj5jTT8.js +245 -0
  110. package/dist/web/server/assets/inbox-D4IqUv3l.js +38 -0
  111. package/dist/web/server/assets/inbox-Dle24AfV.js +23 -0
  112. package/dist/web/server/assets/learning-BScq7VbO.js +12 -0
  113. package/dist/web/server/assets/learning-CBWFEnhg.js +263 -0
  114. package/dist/web/server/assets/{learning-BuL0c1vH.js → learning-DWAKevhF.js} +6 -14
  115. package/dist/web/server/assets/{login-rDox7PRD.js → login-JoIjlcmu.js} +2 -5
  116. package/dist/web/server/assets/{login-B_-9L8TU.js → login-VV10kZBl.js} +15 -17
  117. package/dist/web/server/assets/mcp-B09_O05r.js +250 -0
  118. package/dist/web/server/assets/{mcp-B8ErRiR_.js → mcp-BwmpNQPN.js} +1 -1
  119. package/dist/web/server/assets/{mcp-BEdnl_TT.js → mcp-CqdTfXcn.js} +1 -3
  120. package/dist/web/server/assets/members-B8QBF6TF.js +12 -0
  121. package/dist/web/server/assets/{members-DFLi2nQg.js → members-DsF02Wp7.js} +2 -2
  122. package/dist/web/server/assets/members-tWZA9b15.js +36 -0
  123. package/dist/web/server/assets/memory-BNN0b-0x.js +12 -0
  124. package/dist/web/server/assets/memory-CTl1E1Rm.js +267 -0
  125. package/dist/web/server/assets/memory-CV5uCBb2.js +12 -0
  126. package/dist/web/server/assets/policy-C9M6zV6w.js +79 -0
  127. package/dist/web/server/assets/policy-h-6NpU3m.js +19 -0
  128. package/dist/web/server/assets/policy-xEw9X0DK.js +12 -0
  129. package/dist/web/server/assets/public-origin-BpDkdS5Q.js +34 -0
  130. package/dist/web/server/assets/results-D3A3UA4d.js +182 -0
  131. package/dist/web/server/assets/results-D6Ui5S8D.js +12 -0
  132. package/dist/web/server/assets/results-DWmxvfyn.js +15 -0
  133. package/dist/web/server/assets/review-CyQky-WQ.js +40 -0
  134. package/dist/web/server/assets/review-Sq0GGcPV.js +322 -0
  135. package/dist/web/server/assets/review-XWbSF8cF.js +12 -0
  136. package/dist/web/server/assets/route-BErtkz6t.js +19 -0
  137. package/dist/web/server/assets/route-CLoV-An_.js +48 -0
  138. package/dist/web/server/assets/route-WQ19JkBa.js +19 -0
  139. package/dist/web/server/assets/route-dEK_2GLj.js +203 -0
  140. package/dist/web/server/assets/route-iHTkhO81.js +16 -0
  141. package/dist/web/server/assets/route-zs8uUQtB.js +16 -0
  142. package/dist/web/server/assets/router-BI9gmY3S.js +751 -0
  143. package/dist/web/server/assets/routes-081s4n24.js +45 -0
  144. package/dist/web/server/assets/routes-CWo5WPsr.js +15 -0
  145. package/dist/web/server/assets/routes-Cqp1ufHm.js +56 -0
  146. package/dist/web/server/assets/{services-ZeEIgTn0.js → services-BLvAvb8g.js} +1 -1
  147. package/dist/web/server/assets/{services-UL_2b8PP.js → services-Q9HYQXXB.js} +2 -8
  148. package/dist/web/server/assets/{services-T8adll3y.js → services-tCfB1B83.js} +21 -38
  149. package/dist/web/server/assets/settings-CVaGv-xF.js +12 -0
  150. package/dist/web/server/assets/settings-D9viV-86.js +561 -0
  151. package/dist/web/server/assets/settings-DaZNZ_CC.js +27 -0
  152. package/dist/web/server/assets/{skills-D1oy3JAH.js → skills-BZg_txbf.js} +1 -3
  153. package/dist/web/server/assets/skills-C7fqRPna.js +275 -0
  154. package/dist/web/server/assets/{skills-kfqhxYmf.js → skills-C_g8IKag.js} +1 -1
  155. package/dist/web/server/assets/start-DTX6aKCi.js +100 -0
  156. package/dist/web/server/assets/teams-BHkhnt6b.js +12 -0
  157. package/dist/web/server/assets/teams-BS-oweRl.js +80 -0
  158. package/dist/web/server/assets/teams-BSflKBP8.js +108 -0
  159. package/dist/web/server/assets/teams-CNyB5nM9.js +12 -0
  160. package/dist/web/server/assets/{teams-BW2ARIvk.js → teams-D4CaU76n.js} +3 -5
  161. package/dist/web/server/assets/teams-DX2HmKqi.js +21 -0
  162. package/dist/web/server/assets/{telegram-U9UAdUEx.js → telegram-BUdnc8oF.js} +1 -1
  163. package/dist/web/server/assets/{telegram-ByHqeAGC.js → telegram-C4v1HhyJ.js} +1 -1
  164. package/dist/web/server/assets/{telegram-IMfV34-w.js → telegram-CrJiygCX.js} +223 -471
  165. package/dist/web/server/assets/{tokens-CiThDMwM.js → tokens-B1twAJdd.js} +5 -5
  166. package/dist/web/server/assets/tokens-DdjEyALj.js +232 -0
  167. package/dist/web/server/assets/tokens-DqldzPUq.js +14 -0
  168. package/dist/web/server/assets/triggers-B7LW784F.js +214 -0
  169. package/dist/web/server/assets/triggers-C5sMCZXv2.js +12 -0
  170. package/dist/web/server/assets/triggers-DMfVdImD.js +12 -0
  171. package/dist/web/server/assets/{welcome-BFWKx138.js → welcome-D0d38Pzx.js} +5 -6
  172. package/dist/web/server/server.js +55 -159
  173. package/dist/web-server.js +3 -3
  174. package/dist/worker.js +1692 -6375
  175. package/dist/worker.js.map +1 -1
  176. package/package.json +8 -18
  177. package/dist/browser-keychain.js +0 -83
  178. package/dist/browser-keychain.js.map +0 -1
  179. package/dist/cli-main.js +0 -9211
  180. package/dist/cli-main.js.map +0 -1
  181. package/dist/daemon-main.js +0 -50664
  182. package/dist/daemon-main.js.map +0 -1
  183. package/dist/migrations/0001_init.sql +0 -1103
  184. package/dist/migrations/0002_device_token_scopes.sql +0 -8
  185. package/dist/migrations/0003_web_pairing_tokens.sql +0 -18
  186. package/dist/migrations/0004_image_generation.sql +0 -25
  187. package/dist/native-darwin-entry.js +0 -692
  188. package/dist/native-darwin-entry.js.map +0 -1
  189. package/dist/native-linux-entry.js +0 -60
  190. package/dist/native-linux-entry.js.map +0 -1
  191. package/dist/runtime-version.js +0 -28
  192. package/dist/runtime-version.js.map +0 -1
  193. package/dist/web/client/assets/AgentTabs-kEd-oDRM.js +0 -1
  194. package/dist/web/client/assets/ChatPane-DhvlzNPJ.js +0 -76
  195. package/dist/web/client/assets/ConfigPage-CMKsWDjh.js +0 -1
  196. package/dist/web/client/assets/ConfirmDialog-DpAzoNG8.js +0 -1
  197. package/dist/web/client/assets/FieldRow-OQ-Ezw5t.js +0 -1
  198. package/dist/web/client/assets/ProductionTeamPolicyEditor-DhT-Q13a.js +0 -7
  199. package/dist/web/client/assets/ProfileCommunicationEditor-CnQIp4e6.js +0 -1
  200. package/dist/web/client/assets/RecoveryState-B4Rne9N_.js +0 -1
  201. package/dist/web/client/assets/ResultCard-BxAlMky1.js +0 -1
  202. package/dist/web/client/assets/ResultSourceConversation-BzIw43-r.js +0 -1
  203. package/dist/web/client/assets/SectionTabs-D3M6F_HR.js +0 -1
  204. package/dist/web/client/assets/TeamTabs-BZbg-UFx.js +0 -1
  205. package/dist/web/client/assets/TemplatesTabs-D8geEOte.js +0 -1
  206. package/dist/web/client/assets/UnsavedChangesGuard-CPQe9VLw.js +0 -1
  207. package/dist/web/client/assets/_id-1RIodFdi.js +0 -1
  208. package/dist/web/client/assets/_id-BV3w2kDj.js +0 -1
  209. package/dist/web/client/assets/_id-C9zxKqvQ.js +0 -1
  210. package/dist/web/client/assets/_id-CLG_POnZ.js +0 -1
  211. package/dist/web/client/assets/_id-Cha845UH.js +0 -1
  212. package/dist/web/client/assets/_id-DssxcwBl.js +0 -1
  213. package/dist/web/client/assets/_id-IDHR-MEm.js +0 -1
  214. package/dist/web/client/assets/_id-SGs5zOcT.js +0 -1
  215. package/dist/web/client/assets/activity-0srO4qbd.js +0 -1
  216. package/dist/web/client/assets/activity-DxQGr6eP.js +0 -1
  217. package/dist/web/client/assets/agents-CVTYoXKu.js +0 -1
  218. package/dist/web/client/assets/agents-DPTu6Sm_.js +0 -1
  219. package/dist/web/client/assets/agents-nHiIbumu.js +0 -1
  220. package/dist/web/client/assets/approvals-Di_Bux_Q.js +0 -1
  221. package/dist/web/client/assets/approvals-ScNrQg7q.js +0 -1
  222. package/dist/web/client/assets/attention-BF-Llt9z.js +0 -1
  223. package/dist/web/client/assets/attention-D7xB17sN.js +0 -1
  224. package/dist/web/client/assets/chevron-right-CJ2wat15.js +0 -1
  225. package/dist/web/client/assets/config-BOuIcP1T.js +0 -3
  226. package/dist/web/client/assets/context-wo9lNjHx.js +0 -1
  227. package/dist/web/client/assets/git-review-presentation-CzHQulDk.js +0 -1
  228. package/dist/web/client/assets/inbox-CNLmz0Jp.js +0 -1
  229. package/dist/web/client/assets/inbox-De6HOll3.js +0 -1
  230. package/dist/web/client/assets/index-CjI7_vB3.js +0 -52
  231. package/dist/web/client/assets/jsx-runtime-DGeXAQPT.js +0 -1
  232. package/dist/web/client/assets/learning-591SFAKg.js +0 -1
  233. package/dist/web/client/assets/learning-D6bO0NeB.js +0 -1
  234. package/dist/web/client/assets/login-Q7uP-v0M.js +0 -1
  235. package/dist/web/client/assets/mcp-BGy64VOv.js +0 -1
  236. package/dist/web/client/assets/mcp-DSCjhc5I.js +0 -1
  237. package/dist/web/client/assets/members-CBVor-P4.js +0 -1
  238. package/dist/web/client/assets/members-CCcecjC3.js +0 -1
  239. package/dist/web/client/assets/memory-CSE8EQ48.js +0 -1
  240. package/dist/web/client/assets/memory-DgGz0wh4.js +0 -1
  241. package/dist/web/client/assets/policy-6j-NQvBj.js +0 -1
  242. package/dist/web/client/assets/policy-Do0TvNWc.js +0 -1
  243. package/dist/web/client/assets/preload-helper-bztXdkDj.js +0 -1
  244. package/dist/web/client/assets/react-3W8R1pOO.js +0 -1
  245. package/dist/web/client/assets/results-CCQGn0dE.js +0 -1
  246. package/dist/web/client/assets/results-Cx6_ChIY.js +0 -1
  247. package/dist/web/client/assets/review-CyS5b0fz.js +0 -1
  248. package/dist/web/client/assets/review-qG-2gqEp.js +0 -1
  249. package/dist/web/client/assets/routes-DRic0xNy.js +0 -1
  250. package/dist/web/client/assets/services-B_7lf-mx.js +0 -1
  251. package/dist/web/client/assets/services-ByBA_yA-.js +0 -1
  252. package/dist/web/client/assets/skills--lnDzPWe.js +0 -1
  253. package/dist/web/client/assets/skills-C70btgIg.js +0 -1
  254. package/dist/web/client/assets/styles-e_ADuRbs.css +0 -2
  255. package/dist/web/client/assets/team-policy-D0jpnn2b.js +0 -1
  256. package/dist/web/client/assets/teams-BL-Fr2xF.js +0 -1
  257. package/dist/web/client/assets/teams-BeoxArzy.js +0 -1
  258. package/dist/web/client/assets/teams-C4mb790r.js +0 -1
  259. package/dist/web/client/assets/teams-DHStw3OS.js +0 -1
  260. package/dist/web/client/assets/telegram-BIMiebJl.js +0 -1
  261. package/dist/web/client/assets/templates-CzHXXiA_.js +0 -1
  262. package/dist/web/client/assets/tokens-B9ehOc1o.js +0 -1
  263. package/dist/web/client/assets/tokens-DhaMzFWK.js +0 -1
  264. package/dist/web/client/assets/triggers--xMpHFW7.js +0 -1
  265. package/dist/web/client/assets/triggers-DLzZu8bB.js +0 -1
  266. package/dist/web/client/assets/verifications-FzypGVwW.js +0 -2
  267. package/dist/web/client/assets/verifications-fR9W-adv.js +0 -1
  268. package/dist/web/client/assets/welcome-pjZD7pq4.js +0 -1
  269. package/dist/web/client/assets/wire-constants-CBD-lTaa.js +0 -1
  270. package/dist/web/client/assets/x-CZxV4X-6.js +0 -1
  271. package/dist/web/server/assets/AgentTabs-DVVkxBks.js +0 -49
  272. package/dist/web/server/assets/ChatPane-CeDUEjmn.js +0 -2962
  273. package/dist/web/server/assets/ConfigPage-J3s_PX4o.js +0 -69
  274. package/dist/web/server/assets/ConfirmDialog-C-2cbcmQ.js +0 -99
  275. package/dist/web/server/assets/ProductionTeamPolicyEditor-DNtdMn2a.js +0 -1026
  276. package/dist/web/server/assets/ProfileCommunicationEditor-C2RU-2QB.js +0 -107
  277. package/dist/web/server/assets/RecoveryState-DFPWxMIo.js +0 -37
  278. package/dist/web/server/assets/ResultCard-BtVFqdRU.js +0 -162
  279. package/dist/web/server/assets/ResultSourceConversation-xn4EKjaP.js +0 -64
  280. package/dist/web/server/assets/SectionTabs-DQWPEk1x.js +0 -8
  281. package/dist/web/server/assets/Sidebar-Dk9bErQV.js +0 -1243
  282. package/dist/web/server/assets/TeamTabs-XybMRm3w.js +0 -59
  283. package/dist/web/server/assets/TemplatesTabs-BiJt7Fjx.js +0 -31
  284. package/dist/web/server/assets/WorkspaceRecoveryCard-B-6gfg0D.js +0 -18
  285. package/dist/web/server/assets/_id-6aGxCNlp.js +0 -37
  286. package/dist/web/server/assets/_id-BJeSZ4DF.js +0 -11
  287. package/dist/web/server/assets/_id-BSkg6FJC.js +0 -45
  288. package/dist/web/server/assets/_id-BfT3umhN.js +0 -14
  289. package/dist/web/server/assets/_id-Bk4SHXs4.js +0 -626
  290. package/dist/web/server/assets/_id-C0C6wOt8.js +0 -42
  291. package/dist/web/server/assets/_id-CAxK6pln.js +0 -6
  292. package/dist/web/server/assets/_id-CGMvV1p5.js +0 -1183
  293. package/dist/web/server/assets/_id-CI33J2xv.js +0 -11
  294. package/dist/web/server/assets/_id-C_FnWQ61.js +0 -11
  295. package/dist/web/server/assets/_id-CmS2d0me.js +0 -17
  296. package/dist/web/server/assets/_id-D9VWEfdp.js +0 -28
  297. package/dist/web/server/assets/_id-DhheAcWL.js +0 -1035
  298. package/dist/web/server/assets/_id-t8AepTB2.js +0 -26
  299. package/dist/web/server/assets/_id-ujm4R5OF.js +0 -18
  300. package/dist/web/server/assets/_tanstack-start-manifest_v-CXwNJhX2.js +0 -376
  301. package/dist/web/server/assets/activity-BKb_BIx7.js +0 -168
  302. package/dist/web/server/assets/activity-CDNYyLBC.js +0 -11
  303. package/dist/web/server/assets/activity-DhzxlXUk.js +0 -12
  304. package/dist/web/server/assets/activity-lf7L7wiL.js +0 -14
  305. package/dist/web/server/assets/agents-BzJDqrC8.js +0 -11
  306. package/dist/web/server/assets/agents-C65TunMF.js +0 -505
  307. package/dist/web/server/assets/agents-uXBu1F5L.js +0 -387
  308. package/dist/web/server/assets/approvals-CcU_pIWW.js +0 -11
  309. package/dist/web/server/assets/approvals-CpDs6ASO.js +0 -14
  310. package/dist/web/server/assets/approvals-FyuTjfdY.js +0 -332
  311. package/dist/web/server/assets/approvals-szknIxB6.js +0 -12
  312. package/dist/web/server/assets/attention-BeA3zGve.js +0 -268
  313. package/dist/web/server/assets/attention-jtJ9PIMp.js +0 -11
  314. package/dist/web/server/assets/browser-BiDvr0fy.js +0 -66
  315. package/dist/web/server/assets/context-DuxjdpaW.js +0 -11
  316. package/dist/web/server/assets/daemon-client-C-RlJHYO.js +0 -301
  317. package/dist/web/server/assets/git-review-BB3M9nYg.js +0 -26
  318. package/dist/web/server/assets/git-review-CqZTrIWS.js +0 -179
  319. package/dist/web/server/assets/git-review-presentation-TJiHJhen.js +0 -81
  320. package/dist/web/server/assets/inbox-Be3CUU4o.js +0 -11
  321. package/dist/web/server/assets/inbox-D1ROE7jB.js +0 -44
  322. package/dist/web/server/assets/inbox-DsH5oRK0.js +0 -168
  323. package/dist/web/server/assets/inbox-qKMkeprB.js +0 -29
  324. package/dist/web/server/assets/learning-BYCwIOzZ.js +0 -18
  325. package/dist/web/server/assets/learning-C3pqLE5b.js +0 -11
  326. package/dist/web/server/assets/learning-D7jWRhqD.js +0 -365
  327. package/dist/web/server/assets/mcp-BQ4KvXp1.js +0 -11
  328. package/dist/web/server/assets/mcp-Dhryb75M.js +0 -328
  329. package/dist/web/server/assets/members-8aWhtn4G.js +0 -100
  330. package/dist/web/server/assets/members-Cjpysp35.js +0 -14
  331. package/dist/web/server/assets/members-DWedYCMh.js +0 -11
  332. package/dist/web/server/assets/memory-BH7L-l65.js +0 -11
  333. package/dist/web/server/assets/memory-Bq0s1fr7.js +0 -18
  334. package/dist/web/server/assets/memory-CS-9Bb6q.js +0 -28
  335. package/dist/web/server/assets/memory-DN5iMDQL.js +0 -389
  336. package/dist/web/server/assets/policy-CK3VuVuv.js +0 -11
  337. package/dist/web/server/assets/policy-DDi8AjcD.js +0 -21
  338. package/dist/web/server/assets/policy-DcYIJaHW.js +0 -490
  339. package/dist/web/server/assets/policy-JF7ZI2-i.js +0 -40
  340. package/dist/web/server/assets/public-origin-xV0lm0Ty.js +0 -25
  341. package/dist/web/server/assets/publications-DV2uRrvJ.js +0 -57
  342. package/dist/web/server/assets/results-CkNoVDrY.js +0 -362
  343. package/dist/web/server/assets/results-DSGwi3vj.js +0 -14
  344. package/dist/web/server/assets/results-DlOsdBE7.js +0 -11
  345. package/dist/web/server/assets/results-vtkmZPro.js +0 -12
  346. package/dist/web/server/assets/review-BG71IaCa.js +0 -1061
  347. package/dist/web/server/assets/review-Bs6AbrSn.js +0 -40
  348. package/dist/web/server/assets/review-CPmUi4PR.js +0 -11
  349. package/dist/web/server/assets/review-packets-CO69K-FK.js +0 -172
  350. package/dist/web/server/assets/router-BFqyjkYu.js +0 -921
  351. package/dist/web/server/assets/routes-B6TnJyQ8.js +0 -57
  352. package/dist/web/server/assets/routes-BfEa101d.js +0 -14
  353. package/dist/web/server/assets/routes-pUMIGzyy.js +0 -53
  354. package/dist/web/server/assets/services-Ba6tFlZz.js +0 -16
  355. package/dist/web/server/assets/skills-CGvPejPD.js +0 -11
  356. package/dist/web/server/assets/skills-cVlLDnvf.js +0 -399
  357. package/dist/web/server/assets/start-D4Wq9iTa.js +0 -70
  358. package/dist/web/server/assets/team-policy-vPG01onj.js +0 -180
  359. package/dist/web/server/assets/teams-6c5B9wnI.js +0 -11
  360. package/dist/web/server/assets/teams-BEIUG9fI.js +0 -112
  361. package/dist/web/server/assets/teams-Bi3CeEM5.js +0 -11
  362. package/dist/web/server/assets/teams-C9tfV3IC.js +0 -12
  363. package/dist/web/server/assets/teams-DKROLgw-.js +0 -36
  364. package/dist/web/server/assets/teams-DLt48Vxw.js +0 -284
  365. package/dist/web/server/assets/teams-DuhXk1M5.js +0 -14
  366. package/dist/web/server/assets/templates-CuqFhsiO.js +0 -11
  367. package/dist/web/server/assets/tokens-DDJYBy6R.js +0 -16
  368. package/dist/web/server/assets/tokens-qVijmBxr.js +0 -11
  369. package/dist/web/server/assets/tokens-zSK57Trr.js +0 -452
  370. package/dist/web/server/assets/triggers-B9CIl4Co.js +0 -27
  371. package/dist/web/server/assets/triggers-Cr9af7Xw.js +0 -367
  372. package/dist/web/server/assets/triggers-DIruOyMb.js +0 -18
  373. package/dist/web/server/assets/triggers-x_OA9u5f.js +0 -11
  374. package/dist/web/server/assets/utils-ySbqTi3g.js +0 -24
  375. package/dist/web/server/assets/verification-DBsJYadO.js +0 -97
  376. package/dist/web/server/assets/verifications-DjZsx65b.js +0 -12
  377. package/dist/web/server/assets/verifications-DvOyI3Mr.js +0 -28
  378. package/dist/web/server/assets/verifications-YrEdiZmk.js +0 -326
  379. package/dist/web/server/assets/web-search-dgw10fLn.js +0 -12
  380. package/dist/web/server/assets/wire-constants-C8nBJcU3.js +0 -16
  381. /package/{LICENSE → dist/LICENSE} +0 -0
  382. /package/dist/web/client/assets/{ProductionTeamPolicyEditor-DLioOiRN.css → TeamPolicyEditor-DLioOiRN.css} +0 -0
@@ -1,921 +0,0 @@
1
- import { a as getCookie, n as createServerFn } from "../server.js";
2
- import { t as DAEMON_BASE_URL } from "./daemon-client-C-RlJHYO.js";
3
- import { t as webOriginConfig } from "./public-origin-xV0lm0Ty.js";
4
- import { n as Button } from "./utils-ySbqTi3g.js";
5
- import { r as PageShell } from "./Page-DJNoI4Gn.js";
6
- import { i as BaziuLogo, n as ThemeToggle, r as PawIcon, t as Route$5 } from "./login-rDox7PRD.js";
7
- import { t as createSsrRpc } from "./createSsrRpc-6LHNEsSK.js";
8
- import { t as Route$6 } from "./routes-BfEa101d.js";
9
- import { t as Route$7 } from "./teams-DuhXk1M5.js";
10
- import { t as Route$8 } from "./skills-D1oy3JAH.js";
11
- import { t as Route$9 } from "./config-VsmvCulS.js";
12
- import { t as Route$10 } from "./attention-Cy3Xu-Su.js";
13
- import { t as Route$11 } from "./approvals-CpDs6ASO.js";
14
- import { t as Route$12 } from "./agents-DmmuOHw8.js";
15
- import { t as Route$13 } from "./_id-CAxK6pln.js";
16
- import { t as Route$14 } from "./tokens-DDJYBy6R.js";
17
- import { t as Route$15 } from "./services-UL_2b8PP.js";
18
- import { t as Route$16 } from "./mcp-BEdnl_TT.js";
19
- import { t as Route$17 } from "./teams-BW2ARIvk.js";
20
- import { t as Route$18 } from "./agents-BitDk_C5.js";
21
- import { t as Route$19 } from "./_id-ujm4R5OF.js";
22
- import { t as Route$20 } from "./_id-t8AepTB2.js";
23
- import { t as Route$21 } from "./verifications-DvOyI3Mr.js";
24
- import { t as Route$22 } from "./review-Bs6AbrSn.js";
25
- import { t as Route$23 } from "./results-DSGwi3vj.js";
26
- import { t as Route$24 } from "./policy-DDi8AjcD.js";
27
- import { t as Route$25 } from "./memory-Bq0s1fr7.js";
28
- import { t as Route$26 } from "./members-Cjpysp35.js";
29
- import { t as Route$27 } from "./activity-lf7L7wiL.js";
30
- import { t as Route$28 } from "./telegram-U9UAdUEx.js";
31
- import { t as Route$29 } from "./triggers-DIruOyMb.js";
32
- import { t as Route$30 } from "./learning-BYCwIOzZ.js";
33
- import { t as Route$31 } from "./inbox-qKMkeprB.js";
34
- import { t as Route$32 } from "./_id-BfT3umhN.js";
35
- import { t as Route$33 } from "./_id-BhJCnRR1.js";
36
- import { useEffect, useState } from "react";
37
- import { HeadContent, Link, Outlet, Scripts, createFileRoute, createRootRoute, createRouter, lazyRouteComponent, redirect, useRouterState } from "@tanstack/react-router";
38
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
39
- import { BellRing, Bot, ChevronDown, LayoutTemplate, LogOut, MessageCircle, Settings2, ShieldCheck, Sparkles, UsersRound } from "lucide-react";
40
- import { DropdownMenu } from "radix-ui";
41
- //#region src/components/RouteStates.tsx
42
- /**
43
- * Router-level fallbacks (BAZ-050). Every route without its own `errorComponent`
44
- * or `pendingComponent` degrades to these, so a loader failure or a slow
45
- * navigation never renders TanStack's developer-grade default or a blank content
46
- * area. Route-specific `errorComponent`s (RecoveryState) remain the better
47
- * fallback where a surface's title and safe exit are worth naming.
48
- */
49
- /**
50
- * Loader/segment error: the server function threw and nothing more specific
51
- * caught it. Names what happened, offers retry, and keeps navigation possible —
52
- * the layout (sidebar, top nav) is outside the route component, so it survives.
53
- */
54
- function RouteErrorState({ error, reset }) {
55
- return /* @__PURE__ */ jsx(PageShell, { children: /* @__PURE__ */ jsxs("section", {
56
- role: "alert",
57
- className: "mx-auto my-10 w-full max-w-2xl rounded-md border border-rose-baziu bg-snow p-6",
58
- children: [
59
- /* @__PURE__ */ jsx("h1", {
60
- className: "text-2xl",
61
- children: "This page could not be loaded"
62
- }),
63
- /* @__PURE__ */ jsx("p", {
64
- className: "mt-2 text-sm text-mocha",
65
- children: "The authoritative daemon projection could not be loaded. Nothing has been changed; no local or stale data has been substituted."
66
- }),
67
- /* @__PURE__ */ jsx("pre", {
68
- className: "mt-4 overflow-auto rounded-md bg-ivory p-3 text-xs",
69
- children: error.message
70
- }),
71
- /* @__PURE__ */ jsxs("div", {
72
- className: "mt-4 flex flex-wrap gap-2",
73
- children: [/* @__PURE__ */ jsx(Button, {
74
- variant: "primary",
75
- onClick: reset,
76
- children: "retry"
77
- }), /* @__PURE__ */ jsx("a", {
78
- className: "ghost-btn",
79
- href: "/",
80
- children: "go to the overview"
81
- })]
82
- })
83
- ]
84
- }) });
85
- }
86
- /**
87
- * Loader in flight. Deliberately small: the sidebar and previous content stay
88
- * put, this only marks the content area as working. aria-busy is the
89
- * accessibility contract; the label is for everyone else.
90
- */
91
- function RoutePendingState() {
92
- return /* @__PURE__ */ jsx(PageShell, { children: /* @__PURE__ */ jsxs("div", {
93
- "aria-busy": "true",
94
- className: "my-10 flex items-center justify-center gap-3",
95
- children: [/* @__PURE__ */ jsx("span", {
96
- "aria-hidden": "true",
97
- className: "inline-block h-4 w-4 animate-spin rounded-full border-2 border-fawn border-t-transparent"
98
- }), /* @__PURE__ */ jsx("span", {
99
- className: "text-sm text-mocha",
100
- children: "Loading…"
101
- })]
102
- }) });
103
- }
104
- //#endregion
105
- //#region src/components/Footer.tsx
106
- function Footer() {
107
- return /* @__PURE__ */ jsxs("footer", {
108
- className: "mx-auto mt-14 flex w-full max-w-[1500px] shrink-0 flex-col items-center justify-between gap-3 border-t border-frost py-5 text-xs text-mocha-light sm:flex-row",
109
- children: [/* @__PURE__ */ jsxs(Link, {
110
- to: "/",
111
- className: "team inline-flex items-center gap-2 rounded-lg text-charcoal transition-opacity hover:text-charcoal hover:opacity-80",
112
- children: [/* @__PURE__ */ jsx(BaziuLogo, { className: "h-6 w-6 transition-transform duration-300 team-hover:rotate-[-8deg]" }), /* @__PURE__ */ jsx("span", {
113
- className: "font-display text-sm tracking-[-0.01em]",
114
- children: "bazilion"
115
- })]
116
- }), /* @__PURE__ */ jsxs("span", {
117
- className: "inline-flex items-center gap-1.5",
118
- children: ["dedicated to Baziu", /* @__PURE__ */ jsx(PawIcon, {
119
- className: "h-3 w-3 text-rose-baziu opacity-60",
120
- "aria-hidden": "true"
121
- })]
122
- })]
123
- });
124
- }
125
- //#endregion
126
- //#region src/components/TopNav.tsx
127
- var PRIMARY_LINKS = [
128
- {
129
- to: "/",
130
- label: "Chat",
131
- icon: MessageCircle
132
- },
133
- {
134
- to: "/agents",
135
- label: "Agents",
136
- icon: Bot
137
- },
138
- {
139
- to: "/teams",
140
- label: "Teams",
141
- icon: UsersRound
142
- }
143
- ];
144
- var OPERATIONS_LINKS = [{
145
- href: "/approvals",
146
- label: "Approvals",
147
- description: "Decide whether one captured action may proceed.",
148
- icon: ShieldCheck
149
- }, {
150
- href: "/attention",
151
- label: "Attention",
152
- description: "Inspect failures, warnings, lessons, and open signals.",
153
- icon: BellRing
154
- }];
155
- var MANAGE_LINKS = [
156
- {
157
- href: "/templates",
158
- label: "Templates",
159
- description: "Reusable Agent behavior and Team rosters.",
160
- icon: LayoutTemplate
161
- },
162
- {
163
- href: "/skills",
164
- label: "Skills",
165
- description: "Prompt skills available to your agents.",
166
- icon: Sparkles
167
- },
168
- {
169
- href: "/config",
170
- label: "Setup",
171
- description: "Providers, integrations, access, and services.",
172
- icon: Settings2
173
- }
174
- ];
175
- function TopNav() {
176
- const pathname = useRouterState({ select: (state) => state.location.pathname });
177
- const [attention, setAttention] = useState(null);
178
- const [logoutError, setLogoutError] = useState(null);
179
- useEffect(() => {
180
- if (pathname === "/login" || pathname === "/welcome") return;
181
- const controller = new AbortController();
182
- fetch("/api/attention/summary", { signal: controller.signal }).then((response) => response.ok ? response.json() : null).then((body) => setAttention(body)).catch((error) => {
183
- if (error instanceof DOMException && error.name === "AbortError") return;
184
- });
185
- return () => controller.abort();
186
- }, [pathname]);
187
- async function logout() {
188
- setLogoutError(null);
189
- try {
190
- const response = await fetch("/api/logout", { method: "POST" });
191
- if (!response.ok) throw new Error(`Log out failed (${response.status})`);
192
- window.location.assign("/login");
193
- } catch (error) {
194
- setLogoutError(error instanceof Error ? error.message : String(error));
195
- }
196
- }
197
- return /* @__PURE__ */ jsxs("nav", {
198
- "aria-label": "Primary navigation",
199
- className: "relative mx-auto grid w-full max-w-[1500px] shrink-0 grid-cols-[minmax(0,1fr)_auto] items-center gap-x-3 gap-y-2 border-b border-frost py-3 md:flex md:gap-2 md:py-4",
200
- children: [
201
- /* @__PURE__ */ jsxs(Link, {
202
- to: "/",
203
- "aria-label": "Bazilion home",
204
- className: "logo team flex min-w-0 items-center gap-2 rounded-lg text-charcoal transition-opacity hover:text-charcoal hover:opacity-80",
205
- children: [/* @__PURE__ */ jsx(BaziuLogo, { className: "logo-paw h-8 w-8 shrink-0 transition-transform duration-300 team-hover:rotate-[-8deg] team-hover:scale-[1.08]" }), /* @__PURE__ */ jsx("span", {
206
- className: "truncate font-display text-[1.35rem] tracking-[-0.02em]",
207
- children: "bazilion"
208
- })]
209
- }),
210
- /* @__PURE__ */ jsxs("div", {
211
- className: "col-span-2 row-start-2 flex min-w-0 items-center gap-1 overflow-x-auto pb-0.5 md:col-auto md:row-auto md:ml-4 md:flex-1 md:overflow-visible md:pb-0",
212
- children: [
213
- PRIMARY_LINKS.map((link) => {
214
- const active = link.to === "/" ? pathname === "/" : pathname === link.to || pathname.startsWith(`${link.to}/`);
215
- const Icon = link.icon;
216
- return /* @__PURE__ */ jsxs(Link, {
217
- to: link.to,
218
- "aria-current": active ? "page" : void 0,
219
- className: navButtonClass(active),
220
- children: [/* @__PURE__ */ jsx(Icon, {
221
- className: "hidden size-4 shrink-0 sm:block",
222
- "aria-hidden": "true"
223
- }), /* @__PURE__ */ jsx("span", { children: link.label })]
224
- }, link.to);
225
- }),
226
- /* @__PURE__ */ jsx(NavMenu, {
227
- label: "Operations",
228
- compactLabel: "Ops",
229
- icon: BellRing,
230
- links: OPERATIONS_LINKS,
231
- pathname,
232
- badge: attention?.openTotal ?? 0,
233
- itemBadges: {
234
- "/approvals": attention?.byKind.communication_approval ?? 0,
235
- "/attention": attention?.openTotal ?? 0
236
- }
237
- }),
238
- /* @__PURE__ */ jsx(NavMenu, {
239
- label: "Manage",
240
- icon: Settings2,
241
- links: MANAGE_LINKS,
242
- pathname,
243
- align: "end"
244
- })
245
- ]
246
- }),
247
- /* @__PURE__ */ jsxs("div", {
248
- className: "col-start-2 row-start-1 flex items-center gap-1 md:col-auto md:row-auto md:ml-auto",
249
- children: [/* @__PURE__ */ jsx(ThemeToggle, {}), /* @__PURE__ */ jsx("button", {
250
- type: "button",
251
- onClick: () => void logout(),
252
- "aria-label": "Log out",
253
- title: "Log out",
254
- className: "unstyled inline-flex h-9 w-9 items-center justify-center rounded-lg text-mocha hover:bg-ivory hover:text-sapphire",
255
- children: /* @__PURE__ */ jsx(LogOut, {
256
- className: "h-4 w-4",
257
- "aria-hidden": "true"
258
- })
259
- })]
260
- }),
261
- logoutError && /* @__PURE__ */ jsx("p", {
262
- role: "alert",
263
- className: "col-span-2 m-0 rounded-lg bg-danger/10 px-3 py-2 text-sm text-danger md:absolute md:right-0 md:top-[calc(100%+0.35rem)] md:z-50 md:shadow-baziu-md",
264
- children: logoutError
265
- })
266
- ]
267
- });
268
- }
269
- function NavMenu({ label, compactLabel, icon: Icon, links, pathname, badge = 0, itemBadges = {}, align = "start" }) {
270
- const active = links.some((link) => pathname === link.href || pathname.startsWith(`${link.href}/`));
271
- return /* @__PURE__ */ jsxs(DropdownMenu.Root, { children: [/* @__PURE__ */ jsx(DropdownMenu.Trigger, {
272
- asChild: true,
273
- children: /* @__PURE__ */ jsxs("button", {
274
- type: "button",
275
- className: navButtonClass(active),
276
- "aria-label": `${label} menu`,
277
- children: [
278
- /* @__PURE__ */ jsx(Icon, {
279
- className: "hidden size-4 shrink-0 sm:block",
280
- "aria-hidden": "true"
281
- }),
282
- /* @__PURE__ */ jsx("span", {
283
- className: compactLabel ? "sm:hidden" : void 0,
284
- children: compactLabel ?? label
285
- }),
286
- compactLabel && /* @__PURE__ */ jsx("span", {
287
- className: "hidden sm:inline",
288
- children: label
289
- }),
290
- badge > 0 && /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("span", {
291
- className: "size-2 shrink-0 rounded-full bg-danger sm:hidden",
292
- "aria-label": `${badge} open items`
293
- }), /* @__PURE__ */ jsx("span", {
294
- className: "hidden sm:inline-flex",
295
- children: /* @__PURE__ */ jsx(CountBadge, {
296
- value: badge,
297
- label: `${badge} open items`
298
- })
299
- })] }),
300
- /* @__PURE__ */ jsx(ChevronDown, {
301
- className: "size-3 shrink-0 text-muted-foreground",
302
- "aria-hidden": "true"
303
- })
304
- ]
305
- })
306
- }), /* @__PURE__ */ jsx(DropdownMenu.Portal, { children: /* @__PURE__ */ jsxs(DropdownMenu.Content, {
307
- align,
308
- sideOffset: 8,
309
- collisionPadding: 12,
310
- className: "z-50 w-[min(21rem,calc(100vw-1.5rem))] rounded-xl border border-border bg-popover p-1.5 text-popover-foreground shadow-baziu-lg outline-none data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
311
- children: [/* @__PURE__ */ jsx(DropdownMenu.Label, {
312
- className: "px-2.5 pb-1 pt-1 text-xs font-semibold uppercase tracking-[0.1em] text-muted-foreground",
313
- children: label
314
- }), links.map((link) => {
315
- const ItemIcon = link.icon;
316
- const itemActive = pathname === link.href || pathname.startsWith(`${link.href}/`);
317
- return /* @__PURE__ */ jsx(DropdownMenu.Item, {
318
- asChild: true,
319
- children: /* @__PURE__ */ jsxs("a", {
320
- href: link.href,
321
- "aria-current": itemActive ? "page" : void 0,
322
- className: `flex cursor-pointer items-start gap-3 rounded-lg px-2.5 py-2.5 outline-none transition-colors focus:bg-accent focus:text-accent-foreground ${itemActive ? "bg-accent/70 text-accent-foreground" : "text-foreground"}`,
323
- children: [/* @__PURE__ */ jsx("span", {
324
- className: "mt-0.5 flex size-7 shrink-0 items-center justify-center rounded-lg bg-muted text-muted-foreground",
325
- children: /* @__PURE__ */ jsx(ItemIcon, {
326
- className: "size-3.5",
327
- "aria-hidden": "true"
328
- })
329
- }), /* @__PURE__ */ jsxs("span", {
330
- className: "min-w-0 flex-1",
331
- children: [/* @__PURE__ */ jsxs("span", {
332
- className: "flex items-center gap-2 text-sm font-semibold",
333
- children: [link.label, (itemBadges[link.href] ?? 0) > 0 && /* @__PURE__ */ jsx(CountBadge, {
334
- value: itemBadges[link.href] ?? 0,
335
- label: `${itemBadges[link.href]} open ${link.label.toLowerCase()} items`
336
- })]
337
- }), /* @__PURE__ */ jsx("span", {
338
- className: "mt-0.5 block text-xs leading-5 text-muted-foreground",
339
- children: link.description
340
- })]
341
- })]
342
- })
343
- }, link.href);
344
- })]
345
- }) })] });
346
- }
347
- function CountBadge({ value, label }) {
348
- return /* @__PURE__ */ jsx("span", {
349
- className: "inline-flex min-w-5 items-center justify-center rounded-full bg-danger px-1.5 py-0.5 text-xs font-semibold leading-4 text-primary-foreground",
350
- "aria-label": label,
351
- children: value > 99 ? "99+" : value
352
- });
353
- }
354
- function navButtonClass(active) {
355
- 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"}`;
356
- }
357
- //#endregion
358
- //#region src/lib/auth.ts
359
- var fetchAuthState = createServerFn({ method: "GET" }).handler(createSsrRpc("a5d3825fc69573bb55bab6df578c750ebb0240dd394c3acee3adea02918a5dc2"));
360
- var PUBLIC_PATHS = new Set(["/login"]);
361
- var SETUP_OPEN_PREFIXES = ["/welcome", "/config"];
362
- function isSetupOpen(path) {
363
- for (const prefix of SETUP_OPEN_PREFIXES) if (path === prefix || path.startsWith(`${prefix}/`)) return true;
364
- return false;
365
- }
366
- //#endregion
367
- //#region src/lib/csrf-fetch.ts
368
- function cookie(name) {
369
- const prefix = `${encodeURIComponent(name)}=`;
370
- for (const part of document.cookie.split(";")) {
371
- const value = part.trim();
372
- if (value.startsWith(prefix)) return decodeURIComponent(value.slice(prefix.length));
373
- }
374
- return null;
375
- }
376
- function installCsrfFetch() {
377
- if (typeof window === "undefined") return;
378
- const marker = "__bazilionCsrfFetchInstalled";
379
- const state = window;
380
- if (state[marker]) return;
381
- state[marker] = true;
382
- const original = window.fetch.bind(window);
383
- window.fetch = (input, init) => {
384
- const request = input instanceof Request ? input : null;
385
- const method = (init?.method ?? request?.method ?? "GET").toUpperCase();
386
- if (new URL(request?.url ?? String(input), window.location.href).origin !== window.location.origin || [
387
- "GET",
388
- "HEAD",
389
- "OPTIONS"
390
- ].includes(method)) return original(input, init);
391
- const csrf = cookie("__Host-bz_csrf") ?? cookie("bz_csrf_dev");
392
- if (!csrf) return original(input, init);
393
- const headers = new Headers(request?.headers ?? void 0);
394
- for (const [key, value] of new Headers(init?.headers)) headers.set(key, value);
395
- headers.set("x-bazilion-csrf", csrf);
396
- return original(input, {
397
- ...init,
398
- headers
399
- });
400
- };
401
- }
402
- //#endregion
403
- //#region src/styles.css?url
404
- var styles_default = "/assets/styles-e_ADuRbs.css";
405
- //#endregion
406
- //#region src/routes/__root.tsx
407
- 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){}})();`;
408
- installCsrfFetch();
409
- var Route$4 = createRootRoute({
410
- beforeLoad: async ({ location }) => {
411
- const path = location.pathname;
412
- if (PUBLIC_PATHS.has(path)) return;
413
- if (path.startsWith("/api/")) return;
414
- const auth = await fetchAuthState();
415
- if (!auth.authed) {
416
- const resultId = /^\/results\/([a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12})$/.exec(path)?.[1];
417
- throw redirect({
418
- to: "/login",
419
- search: { resultId }
420
- });
421
- }
422
- if (!isSetupOpen(path) && !auth.setupComplete) throw redirect({ to: "/welcome" });
423
- },
424
- head: () => ({
425
- meta: [
426
- { charSet: "utf-8" },
427
- {
428
- name: "viewport",
429
- content: "width=device-width, initial-scale=1"
430
- },
431
- { title: "bazilion" }
432
- ],
433
- links: [{
434
- rel: "icon",
435
- type: "image/svg+xml",
436
- href: "/baziu.svg"
437
- }, {
438
- rel: "stylesheet",
439
- href: styles_default
440
- }]
441
- }),
442
- component: RootComponent,
443
- notFoundComponent: NotFound
444
- });
445
- function NotFound() {
446
- const pathname = useRouterState({ select: (s) => s.location.pathname });
447
- return /* @__PURE__ */ jsx("div", {
448
- className: "mx-auto max-w-2xl",
449
- children: /* @__PURE__ */ jsxs("div", {
450
- className: "card",
451
- children: [
452
- /* @__PURE__ */ jsx("h1", { children: "Not found" }),
453
- /* @__PURE__ */ jsxs("p", {
454
- className: "muted my-3",
455
- children: [
456
- "Nothing lives at ",
457
- /* @__PURE__ */ jsx("code", { children: pathname }),
458
- "."
459
- ]
460
- }),
461
- /* @__PURE__ */ jsx(Link, {
462
- to: "/",
463
- children: "Back to home"
464
- })
465
- ]
466
- })
467
- });
468
- }
469
- function RootComponent() {
470
- const pathname = useRouterState({ select: (s) => s.location.pathname });
471
- const isLogin = pathname === "/login";
472
- const isWorkspace = pathname === "/";
473
- return /* @__PURE__ */ jsxs("html", {
474
- lang: "en",
475
- "data-layout": isWorkspace ? "workspace" : "page",
476
- suppressHydrationWarning: true,
477
- children: [/* @__PURE__ */ jsxs("head", { children: [/* @__PURE__ */ jsx("script", { dangerouslySetInnerHTML: { __html: THEME_INIT_SCRIPT } }), /* @__PURE__ */ jsx(HeadContent, {})] }), /* @__PURE__ */ jsxs("body", {
478
- "data-layout": isWorkspace ? "workspace" : "page",
479
- children: [
480
- !isLogin && /* @__PURE__ */ jsx("a", {
481
- href: "#main-content",
482
- className: "sr-only z-[100] rounded-lg bg-primary px-4 py-2 font-semibold text-primary-foreground focus:not-sr-only focus:fixed focus:left-3 focus:top-3",
483
- children: "Skip to main content"
484
- }),
485
- isLogin ? /* @__PURE__ */ jsx(Outlet, {}) : isWorkspace ? /* @__PURE__ */ jsxs("div", {
486
- className: "flex h-dvh flex-col",
487
- children: [/* @__PURE__ */ jsx("div", {
488
- className: "px-3 sm:px-5",
489
- children: /* @__PURE__ */ jsx(TopNav, {})
490
- }), /* @__PURE__ */ jsx("main", {
491
- id: "main-content",
492
- tabIndex: -1,
493
- className: "mx-auto min-h-0 w-full max-w-[1600px] flex-1 overflow-hidden px-3 pb-3 sm:px-5 sm:pb-5",
494
- children: /* @__PURE__ */ jsx(Outlet, {})
495
- })]
496
- }) : /* @__PURE__ */ jsxs("div", {
497
- className: "flex min-h-dvh flex-col",
498
- children: [
499
- /* @__PURE__ */ jsx("div", {
500
- className: "px-3 sm:px-5",
501
- children: /* @__PURE__ */ jsx(TopNav, {})
502
- }),
503
- /* @__PURE__ */ jsx("main", {
504
- id: "main-content",
505
- tabIndex: -1,
506
- className: "mx-auto w-full max-w-[1500px] flex-1 px-4 py-9 sm:px-6 sm:py-12",
507
- children: /* @__PURE__ */ jsx(Outlet, {})
508
- }),
509
- /* @__PURE__ */ jsx("div", {
510
- className: "px-4 sm:px-6",
511
- children: /* @__PURE__ */ jsx(Footer, {})
512
- })
513
- ]
514
- }),
515
- /* @__PURE__ */ jsx(Scripts, {})
516
- ]
517
- })]
518
- });
519
- }
520
- //#endregion
521
- //#region src/routes/welcome.tsx
522
- var $$splitComponentImporter = () => import("./welcome-BFWKx138.js");
523
- var Route$3 = createFileRoute("/welcome")({
524
- beforeLoad: async () => {
525
- if ((await fetchAuthState()).setupComplete) throw redirect({ to: "/" });
526
- },
527
- component: lazyRouteComponent($$splitComponentImporter, "component")
528
- });
529
- //#endregion
530
- //#region src/routes/templates/index.tsx
531
- var $$splitErrorComponentImporter$1 = () => import("./templates-CuqFhsiO.js");
532
- var Route$2 = createFileRoute("/templates/")({
533
- errorComponent: lazyRouteComponent($$splitErrorComponentImporter$1, "errorComponent"),
534
- beforeLoad: () => {
535
- throw redirect({ to: "/templates/agents" });
536
- }
537
- });
538
- //#endregion
539
- //#region src/routes/api/$.ts
540
- var STRIP_REQUEST_HEADERS = new Set([
541
- "host",
542
- "connection",
543
- "keep-alive",
544
- "proxy-authenticate",
545
- "proxy-authorization",
546
- "te",
547
- "trailer",
548
- "transfer-encoding",
549
- "upgrade",
550
- "cookie",
551
- "forwarded",
552
- "x-forwarded-for",
553
- "x-forwarded-host",
554
- "x-forwarded-proto",
555
- "x-real-ip"
556
- ]);
557
- var MAX_JSON_BODY = 2 * 1024 * 1024;
558
- var MAX_UPLOAD_BODY = 25 * 1024 * 1024;
559
- function isLoopback(hostname) {
560
- return [
561
- "127.0.0.1",
562
- "localhost",
563
- "[::1]",
564
- "::1"
565
- ].includes(hostname);
566
- }
567
- function hasDuplicateCookie(header, name) {
568
- if (!header) return false;
569
- return header.split(";").map((part) => part.trim()).map((part) => part.slice(0, part.indexOf("="))).filter((cookieName) => cookieName === name).length > 1;
570
- }
571
- async function readBoundedBody(body, limit) {
572
- let seen = 0;
573
- const reader = body.getReader();
574
- const chunks = [];
575
- try {
576
- while (true) {
577
- const { done, value } = await reader.read();
578
- if (done) break;
579
- seen += value.byteLength;
580
- if (seen > limit) {
581
- await reader.cancel("request body exceeds gateway limit");
582
- return null;
583
- }
584
- chunks.push(value);
585
- }
586
- } finally {
587
- reader.releaseLock();
588
- }
589
- const result = new Uint8Array(new ArrayBuffer(seen));
590
- let offset = 0;
591
- for (const chunk of chunks) {
592
- result.set(chunk, offset);
593
- offset += chunk.byteLength;
594
- }
595
- return result.buffer;
596
- }
597
- function addSecurityHeaders(headers, production) {
598
- headers.set("x-content-type-options", "nosniff");
599
- headers.set("referrer-policy", "same-origin");
600
- headers.set("permissions-policy", "camera=(), microphone=(), geolocation=()");
601
- headers.set("x-frame-options", "DENY");
602
- headers.set("content-security-policy", "default-src 'self'; base-uri 'self'; connect-src 'self'; font-src 'self'; frame-ancestors 'none'; img-src 'self' data:; object-src 'none'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'");
603
- if (production) headers.set("strict-transport-security", "max-age=31536000; includeSubDomains");
604
- }
605
- var STRIP_RESPONSE_HEADERS = new Set([
606
- "connection",
607
- "keep-alive",
608
- "proxy-authenticate",
609
- "proxy-authorization",
610
- "te",
611
- "trailer",
612
- "transfer-encoding",
613
- "upgrade"
614
- ]);
615
- async function proxy(request) {
616
- const incoming = new URL(request.url);
617
- const originConfig = webOriginConfig();
618
- const expectedOrigin = originConfig.origin ?? incoming.origin;
619
- const expected = new URL(expectedOrigin);
620
- if (originConfig.production) {
621
- if (request.headers.get("host") !== expected.host) return new Response("not found", { status: 404 });
622
- const forwardedHost = request.headers.get("x-forwarded-host");
623
- const forwardedProto = request.headers.get("x-forwarded-proto");
624
- if (forwardedHost && forwardedHost !== expected.host || forwardedProto && forwardedProto !== "https") return new Response("invalid forwarding headers", { status: 400 });
625
- } else if (!isLoopback(incoming.hostname)) return new Response("loopback development only", { status: 403 });
626
- if (request.headers.has("forwarded")) return new Response("invalid forwarding headers", { status: 400 });
627
- const unsafe = ![
628
- "GET",
629
- "HEAD",
630
- "OPTIONS"
631
- ].includes(request.method);
632
- const incomingCookies = request.headers.get("cookie");
633
- if (hasDuplicateCookie(incomingCookies, originConfig.sessionCookie) || hasDuplicateCookie(incomingCookies, originConfig.csrfCookie)) return new Response("ambiguous cookies", { status: 400 });
634
- const session = getCookie(originConfig.sessionCookie);
635
- const csrf = getCookie(originConfig.csrfCookie);
636
- if (unsafe && (session || incoming.pathname === "/api/login")) {
637
- if (request.headers.get("origin") !== expectedOrigin) {
638
- const contentType = request.headers.get("content-type") ?? "";
639
- const acceptsHtml = request.headers.get("accept")?.includes("text/html") ?? false;
640
- if (incoming.pathname === "/api/login" && contentType.startsWith("application/x-www-form-urlencoded") && acceptsHtml) return new Response(null, {
641
- status: 303,
642
- headers: { location: "/login?error=origin" }
643
- });
644
- return new Response("origin validation failed", { status: 403 });
645
- }
646
- if (session && (!csrf || request.headers.get("x-bazilion-csrf") !== csrf)) return new Response("csrf validation failed", { status: 403 });
647
- }
648
- const target = `${DAEMON_BASE_URL}${incoming.pathname}${incoming.search}`;
649
- const headers = new Headers();
650
- for (const [k, v] of request.headers) if (!STRIP_REQUEST_HEADERS.has(k.toLowerCase())) headers.set(k, v);
651
- if (session) {
652
- const cookieParts = [`${originConfig.sessionCookie}=${session}`];
653
- if (csrf) cookieParts.push(`${originConfig.csrfCookie}=${csrf}`);
654
- headers.set("cookie", cookieParts.join("; "));
655
- }
656
- headers.set("origin", DAEMON_BASE_URL);
657
- const init = {
658
- method: request.method,
659
- headers,
660
- redirect: "manual",
661
- signal: request.signal
662
- };
663
- if (request.method !== "GET" && request.method !== "HEAD") {
664
- const limit = (request.headers.get("content-type") ?? "").startsWith("multipart/form-data") ? MAX_UPLOAD_BODY : MAX_JSON_BODY;
665
- const contentLength = Number(request.headers.get("content-length") ?? 0);
666
- if (Number.isFinite(contentLength) && contentLength > limit) return new Response("request body too large", { status: 413 });
667
- if (request.body) {
668
- const body = await readBoundedBody(request.body, limit);
669
- if (!body) return new Response("request body too large", { status: 413 });
670
- init.body = body;
671
- }
672
- }
673
- const upstream = await fetch(target, init);
674
- const respHeaders = new Headers();
675
- for (const [k, v] of upstream.headers) {
676
- const lower = k.toLowerCase();
677
- if (lower !== "set-cookie" && !STRIP_RESPONSE_HEADERS.has(lower)) respHeaders.set(k, v);
678
- }
679
- const getSetCookie = upstream.headers.getSetCookie;
680
- for (const value of getSetCookie?.call(upstream.headers) ?? []) respHeaders.append("set-cookie", value);
681
- addSecurityHeaders(respHeaders, originConfig.production);
682
- return new Response(upstream.body, {
683
- status: upstream.status,
684
- statusText: upstream.statusText,
685
- headers: respHeaders
686
- });
687
- }
688
- var Route$1 = createFileRoute("/api/$")({ server: { handlers: {
689
- GET: ({ request }) => proxy(request),
690
- POST: ({ request }) => proxy(request),
691
- PUT: ({ request }) => proxy(request),
692
- PATCH: ({ request }) => proxy(request),
693
- DELETE: ({ request }) => proxy(request)
694
- } } });
695
- //#endregion
696
- //#region src/routes/teams/$id/context.tsx
697
- var $$splitErrorComponentImporter = () => import("./context-DuxjdpaW.js");
698
- var Route = createFileRoute("/teams/$id/context")({
699
- errorComponent: lazyRouteComponent($$splitErrorComponentImporter, "errorComponent"),
700
- beforeLoad: ({ params }) => {
701
- throw redirect({
702
- to: "/teams/$id",
703
- params: { id: params.id }
704
- });
705
- }
706
- });
707
- //#endregion
708
- //#region src/routeTree.gen.ts
709
- var WelcomeRoute = Route$3.update({
710
- id: "/welcome",
711
- path: "/welcome",
712
- getParentRoute: () => Route$4
713
- });
714
- var LoginRoute = Route$5.update({
715
- id: "/login",
716
- path: "/login",
717
- getParentRoute: () => Route$4
718
- });
719
- var IndexRoute = Route$6.update({
720
- id: "/",
721
- path: "/",
722
- getParentRoute: () => Route$4
723
- });
724
- var TemplatesIndexRoute = Route$2.update({
725
- id: "/templates/",
726
- path: "/templates/",
727
- getParentRoute: () => Route$4
728
- });
729
- var TeamsIndexRoute = Route$7.update({
730
- id: "/teams/",
731
- path: "/teams/",
732
- getParentRoute: () => Route$4
733
- });
734
- var SkillsIndexRoute = Route$8.update({
735
- id: "/skills/",
736
- path: "/skills/",
737
- getParentRoute: () => Route$4
738
- });
739
- var ConfigIndexRoute = Route$9.update({
740
- id: "/config/",
741
- path: "/config/",
742
- getParentRoute: () => Route$4
743
- });
744
- var AttentionIndexRoute = Route$10.update({
745
- id: "/attention/",
746
- path: "/attention/",
747
- getParentRoute: () => Route$4
748
- });
749
- var ApprovalsIndexRoute = Route$11.update({
750
- id: "/approvals/",
751
- path: "/approvals/",
752
- getParentRoute: () => Route$4
753
- });
754
- var AgentsIndexRoute = Route$12.update({
755
- id: "/agents/",
756
- path: "/agents/",
757
- getParentRoute: () => Route$4
758
- });
759
- var ResultsIdRoute = Route$13.update({
760
- id: "/results/$id",
761
- path: "/results/$id",
762
- getParentRoute: () => Route$4
763
- });
764
- var ConfigTokensRoute = Route$14.update({
765
- id: "/config/tokens",
766
- path: "/config/tokens",
767
- getParentRoute: () => Route$4
768
- });
769
- var ConfigServicesRoute = Route$15.update({
770
- id: "/config/services",
771
- path: "/config/services",
772
- getParentRoute: () => Route$4
773
- });
774
- var ConfigMcpRoute = Route$16.update({
775
- id: "/config/mcp",
776
- path: "/config/mcp",
777
- getParentRoute: () => Route$4
778
- });
779
- var ApiSplatRoute = Route$1.update({
780
- id: "/api/$",
781
- path: "/api/$",
782
- getParentRoute: () => Route$4
783
- });
784
- var TemplatesTeamsIndexRoute = Route$17.update({
785
- id: "/templates/teams/",
786
- path: "/templates/teams/",
787
- getParentRoute: () => Route$4
788
- });
789
- var TemplatesAgentsIndexRoute = Route$18.update({
790
- id: "/templates/agents/",
791
- path: "/templates/agents/",
792
- getParentRoute: () => Route$4
793
- });
794
- var TeamsIdIndexRoute = Route$19.update({
795
- id: "/teams/$id/",
796
- path: "/teams/$id/",
797
- getParentRoute: () => Route$4
798
- });
799
- var AgentsIdIndexRoute = Route$20.update({
800
- id: "/agents/$id/",
801
- path: "/agents/$id/",
802
- getParentRoute: () => Route$4
803
- });
804
- var TeamsIdVerificationsRoute = Route$21.update({
805
- id: "/teams/$id/verifications",
806
- path: "/teams/$id/verifications",
807
- getParentRoute: () => Route$4
808
- });
809
- var TeamsIdReviewRoute = Route$22.update({
810
- id: "/teams/$id/review",
811
- path: "/teams/$id/review",
812
- getParentRoute: () => Route$4
813
- });
814
- var TeamsIdResultsRoute = Route$23.update({
815
- id: "/teams/$id/results",
816
- path: "/teams/$id/results",
817
- getParentRoute: () => Route$4
818
- });
819
- var TeamsIdPolicyRoute = Route$24.update({
820
- id: "/teams/$id/policy",
821
- path: "/teams/$id/policy",
822
- getParentRoute: () => Route$4
823
- });
824
- var TeamsIdMemoryRoute = Route$25.update({
825
- id: "/teams/$id/memory",
826
- path: "/teams/$id/memory",
827
- getParentRoute: () => Route$4
828
- });
829
- var TeamsIdMembersRoute = Route$26.update({
830
- id: "/teams/$id/members",
831
- path: "/teams/$id/members",
832
- getParentRoute: () => Route$4
833
- });
834
- var TeamsIdContextRoute = Route.update({
835
- id: "/teams/$id/context",
836
- path: "/teams/$id/context",
837
- getParentRoute: () => Route$4
838
- });
839
- var TeamsIdActivityRoute = Route$27.update({
840
- id: "/teams/$id/activity",
841
- path: "/teams/$id/activity",
842
- getParentRoute: () => Route$4
843
- });
844
- var ConfigIntegrationsTelegramRoute = Route$28.update({
845
- id: "/config/integrations/telegram",
846
- path: "/config/integrations/telegram",
847
- getParentRoute: () => Route$4
848
- });
849
- var AgentsIdTriggersRoute = Route$29.update({
850
- id: "/agents/$id/triggers",
851
- path: "/agents/$id/triggers",
852
- getParentRoute: () => Route$4
853
- });
854
- var AgentsIdLearningRoute = Route$30.update({
855
- id: "/agents/$id/learning",
856
- path: "/agents/$id/learning",
857
- getParentRoute: () => Route$4
858
- });
859
- var AgentsIdInboxRoute = Route$31.update({
860
- id: "/agents/$id/inbox",
861
- path: "/agents/$id/inbox",
862
- getParentRoute: () => Route$4
863
- });
864
- var TemplatesTeamsIdIndexRoute = Route$32.update({
865
- id: "/templates/teams/$id/",
866
- path: "/templates/teams/$id/",
867
- getParentRoute: () => Route$4
868
- });
869
- var rootRouteChildren = {
870
- IndexRoute,
871
- LoginRoute,
872
- WelcomeRoute,
873
- ApiSplatRoute,
874
- ConfigMcpRoute,
875
- ConfigServicesRoute,
876
- ConfigTokensRoute,
877
- ResultsIdRoute,
878
- AgentsIndexRoute,
879
- ApprovalsIndexRoute,
880
- AttentionIndexRoute,
881
- ConfigIndexRoute,
882
- SkillsIndexRoute,
883
- TeamsIndexRoute,
884
- TemplatesIndexRoute,
885
- AgentsIdInboxRoute,
886
- AgentsIdLearningRoute,
887
- AgentsIdTriggersRoute,
888
- ConfigIntegrationsTelegramRoute,
889
- TeamsIdActivityRoute,
890
- TeamsIdContextRoute,
891
- TeamsIdMembersRoute,
892
- TeamsIdMemoryRoute,
893
- TeamsIdPolicyRoute,
894
- TeamsIdResultsRoute,
895
- TeamsIdReviewRoute,
896
- TeamsIdVerificationsRoute,
897
- AgentsIdIndexRoute,
898
- TeamsIdIndexRoute,
899
- TemplatesAgentsIndexRoute,
900
- TemplatesTeamsIndexRoute,
901
- TemplatesAgentsIdIndexRoute: Route$33.update({
902
- id: "/templates/agents/$id/",
903
- path: "/templates/agents/$id/",
904
- getParentRoute: () => Route$4
905
- }),
906
- TemplatesTeamsIdIndexRoute
907
- };
908
- var routeTree = Route$4._addFileChildren(rootRouteChildren)._addFileTypes();
909
- //#endregion
910
- //#region src/router.tsx
911
- function getRouter() {
912
- return createRouter({
913
- routeTree,
914
- scrollRestoration: true,
915
- defaultPreload: "intent",
916
- defaultErrorComponent: RouteErrorState,
917
- defaultPendingComponent: RoutePendingState
918
- });
919
- }
920
- //#endregion
921
- export { getRouter };