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.
- package/README.md +41 -140
- package/dist/cli.js +5001 -2
- package/dist/cli.js.map +1 -0
- package/dist/daemon.js +17836 -2
- package/dist/daemon.js.map +1 -0
- package/dist/schema.sql +382 -0
- package/dist/web/client/assets/{AgentAvatar-JYijLvZ2.js → AgentAvatar-DWx-bM6n.js} +1 -1
- package/dist/web/client/assets/ChatPane-DOV_HJg-.js +72 -0
- package/dist/web/client/assets/ConfigPage-Dfu9DzFX.js +1 -0
- package/dist/web/client/assets/ConfirmDialog-536ziJ5P.js +1 -0
- package/dist/web/client/assets/FieldRow-z1JqCdqn.js +1 -0
- package/dist/web/client/assets/ModelSelect-CvOHjUyB.js +1 -0
- package/dist/web/client/assets/ResultCard-X4nTbjYY.js +1 -0
- package/dist/web/client/assets/SectionTabs-DXHzXmmb.js +1 -0
- package/dist/web/client/assets/SkillFindings-8LX6bYf_.js +1 -0
- package/dist/web/client/assets/SkillsPicker-Cr87y_W-.js +1 -0
- package/dist/web/client/assets/SpawnDialog-DoZl-yes.js +1 -0
- package/dist/web/client/assets/SpawnTeamModal-C638hEoN.js +1 -0
- package/dist/web/client/assets/Tabs-D0LgBNIk.js +1 -0
- package/dist/web/client/assets/TeamForm-C-WzvOl4.js +1 -0
- package/dist/web/client/assets/TeamPolicyEditor-CSKBx0oK.js +7 -0
- package/dist/web/client/assets/UnsavedChangesGuard-GC-vzw7h.js +1 -0
- package/dist/web/client/assets/_id-BKLynswT.js +1 -0
- package/dist/web/client/assets/_id-BYM_NORr.js +1 -0
- package/dist/web/client/assets/_id-Cxa98a9m.js +1 -0
- package/dist/web/client/assets/_id-D4hV1U1t.js +1 -0
- package/dist/web/client/assets/agent-actions-CXQCoxKO.js +1 -0
- package/dist/web/client/assets/agents-BxPS1_Bp.js +1 -0
- package/dist/web/client/assets/agents-GozAWW-l.js +1 -0
- package/dist/web/client/assets/attention-Cz9rZcrr.js +1 -0
- package/dist/web/client/assets/chevron-right-CPAb1zac.js +1 -0
- package/dist/web/client/assets/config-9vv9Lipb.js +3 -0
- package/dist/web/client/assets/entities-xVoB-p2j.js +1 -0
- package/dist/web/client/assets/inbox-DHLArXxl.js +1 -0
- package/dist/web/client/assets/index-1YXquAq8.js +52 -0
- package/dist/web/client/assets/jsx-runtime-bzQ4Vb5N.js +1 -0
- package/dist/web/client/assets/learning-PvtXm8Ne.js +1 -0
- package/dist/web/client/assets/login-DIJpNQFo.js +1 -0
- package/dist/web/client/assets/mcp-pKBL0xIf.js +1 -0
- package/dist/web/client/assets/members-DHWsgsEs.js +1 -0
- package/dist/web/client/assets/memory-CEVppPyU.js +1 -0
- package/dist/web/client/assets/plus-BaIRdB10.js +1 -0
- package/dist/web/client/assets/policy-DEh4BLSw.js +1 -0
- package/dist/web/client/assets/preload-helper-eUUcpe2S.js +1 -0
- package/dist/web/client/assets/results-DgJPjEZF.js +1 -0
- package/dist/web/client/assets/review-BbshafTQ.js +1 -0
- package/dist/web/client/assets/route-Ccb8v41z.js +1 -0
- package/dist/web/client/assets/route-D1d6kCEV.js +1 -0
- package/dist/web/client/assets/routes-g7V4ru7T.js +1 -0
- package/dist/web/client/assets/services-B2f7e5jV.js +1 -0
- package/dist/web/client/assets/settings-B6elpcYm.js +1 -0
- package/dist/web/client/assets/skills-CngE7TF8.js +1 -0
- package/dist/web/client/assets/styles-xUnZ-ep_.css +2 -0
- package/dist/web/client/assets/teams-BdJZXOan.js +1 -0
- package/dist/web/client/assets/teams-c496ISsT.js +1 -0
- package/dist/web/client/assets/telegram-B_-hK6EC.js +1 -0
- package/dist/web/client/assets/tokens-CKz8gx4-.js +1 -0
- package/dist/web/client/assets/triggers-DCEPciGW.js +1 -0
- package/dist/web/client/assets/welcome-D-zVOLGA.js +1 -0
- package/dist/web/client/baziu.svg +176 -7
- package/dist/web/server/assets/ChatPane-De_FPEoD.js +1887 -0
- package/dist/web/server/assets/ConfigPage-CGld_wCK.js +28 -0
- package/dist/web/server/assets/ConfirmDialog-LdVlEanK.js +132 -0
- package/dist/web/server/assets/{FieldRow-DPO8x_le.js → FieldRow-Dah2KKqo.js} +8 -15
- package/dist/web/server/assets/ModelSelect-Vwro6OkL.js +43 -0
- package/dist/web/server/assets/{Page-DJNoI4Gn.js → Page-CMSYKXWJ.js} +51 -2
- package/dist/web/server/assets/ResultCard-CZn1w4KA.js +97 -0
- package/dist/web/server/assets/SectionTabs-CqFg9Vwx.js +53 -0
- package/dist/web/server/assets/Sidebar-puq47KyR.js +430 -0
- package/dist/web/server/assets/SkillFindings-Bd6e81Wu.js +46 -0
- package/dist/web/server/assets/SkillsPicker-DlqEfRWh.js +67 -0
- package/dist/web/server/assets/SpawnDialog-BGNaMfFb.js +111 -0
- package/dist/web/server/assets/SpawnTeamModal-C6GbfScI.js +97 -0
- package/dist/web/server/assets/Tabs-BhF41MfQ.js +20 -0
- package/dist/web/server/assets/TeamForm-C93tpn9r.js +96 -0
- package/dist/web/server/assets/TeamPolicyEditor-BHS3J0R9.js +738 -0
- package/dist/web/server/assets/{UnsavedChangesGuard-BfSyMhiD.js → UnsavedChangesGuard-Dm4a27_5.js} +1 -1
- package/dist/web/server/assets/_id-B0x1ffz3.js +12 -0
- package/dist/web/server/assets/_id-BR6tnR6I.js +23 -0
- package/dist/web/server/assets/_id-Bdf_Rg62.js +19 -0
- package/dist/web/server/assets/_id-Bm611NQz.js +13 -0
- package/dist/web/server/assets/{_id-4fEeAcp0.js → _id-ByiXeIPS.js} +9 -8
- package/dist/web/server/assets/_id-D5UCoyES.js +359 -0
- package/dist/web/server/assets/_id-DHx5UmmL.js +12 -0
- package/dist/web/server/assets/_id-DLpGmOVm.js +19 -0
- package/dist/web/server/assets/_id-Y5ctILG2.js +13 -0
- package/dist/web/server/assets/_id-dDA0pdVo.js +54 -0
- package/dist/web/server/assets/_id-lOVnT5sS.js +383 -0
- package/dist/web/server/assets/{_id-BhJCnRR1.js → _id-sW6zXrTP.js} +4 -4
- package/dist/web/server/assets/_tanstack-start-manifest_v-B8u80HjK.js +292 -0
- package/dist/web/server/assets/agent-actions-BBdFVdoa.js +20 -0
- package/dist/web/server/assets/{agents-Cmw-sUUD.js → agents-BK8OmB8g.js} +7 -6
- package/dist/web/server/assets/{agents-DOrzqCXg.js → agents-BNPkidbH.js} +8 -10
- package/dist/web/server/assets/{agents-BitDk_C5.js → agents-Cn9GkXFX.js} +1 -3
- package/dist/web/server/assets/agents-D4tqK1kH.js +131 -0
- package/dist/web/server/assets/agents-DycxHDt8.js +327 -0
- package/dist/web/server/assets/{agents-DmmuOHw8.js → agents-lOqc6VGd.js} +4 -4
- package/dist/web/server/assets/api-WWxPqx67.js +85 -0
- package/dist/web/server/assets/attention-BIm455bC.js +216 -0
- package/dist/web/server/assets/{attention-Cy3Xu-Su.js → attention-DULVjdmF.js} +2 -4
- package/dist/web/server/assets/{attention-CsYqmV0L.js → attention-YWnLKA2E.js} +4 -2
- package/dist/web/server/assets/{auth-DChuQIh4.js → auth-DiN92ydD.js} +7 -8
- package/dist/web/server/assets/{config-0_5yhRKg.js → config-BNEgu7WG.js} +141 -432
- package/dist/web/server/assets/{config-VsmvCulS.js → config-C1VB28se.js} +1 -1
- package/dist/web/server/assets/{config-CpHD812q.js → config-TdVqnqNL.js} +3 -7
- package/dist/web/server/assets/cookies-HnTYjKRp.js +17 -0
- package/dist/web/server/assets/daemon-client-DL2ik2Em.js +146 -0
- package/dist/web/server/assets/entities-Dn2xzKIw.js +16 -0
- package/dist/web/server/assets/inbox-4Vj5jTT8.js +245 -0
- package/dist/web/server/assets/inbox-D4IqUv3l.js +38 -0
- package/dist/web/server/assets/inbox-Dle24AfV.js +23 -0
- package/dist/web/server/assets/learning-BScq7VbO.js +12 -0
- package/dist/web/server/assets/learning-CBWFEnhg.js +263 -0
- package/dist/web/server/assets/{learning-BuL0c1vH.js → learning-DWAKevhF.js} +6 -14
- package/dist/web/server/assets/{login-rDox7PRD.js → login-JoIjlcmu.js} +2 -5
- package/dist/web/server/assets/{login-B_-9L8TU.js → login-VV10kZBl.js} +15 -17
- package/dist/web/server/assets/mcp-B09_O05r.js +250 -0
- package/dist/web/server/assets/{mcp-B8ErRiR_.js → mcp-BwmpNQPN.js} +1 -1
- package/dist/web/server/assets/{mcp-BEdnl_TT.js → mcp-CqdTfXcn.js} +1 -3
- package/dist/web/server/assets/members-B8QBF6TF.js +12 -0
- package/dist/web/server/assets/{members-DFLi2nQg.js → members-DsF02Wp7.js} +2 -2
- package/dist/web/server/assets/members-tWZA9b15.js +36 -0
- package/dist/web/server/assets/memory-BNN0b-0x.js +12 -0
- package/dist/web/server/assets/memory-CTl1E1Rm.js +267 -0
- package/dist/web/server/assets/memory-CV5uCBb2.js +12 -0
- package/dist/web/server/assets/policy-C9M6zV6w.js +79 -0
- package/dist/web/server/assets/policy-h-6NpU3m.js +19 -0
- package/dist/web/server/assets/policy-xEw9X0DK.js +12 -0
- package/dist/web/server/assets/public-origin-BpDkdS5Q.js +34 -0
- package/dist/web/server/assets/results-D3A3UA4d.js +182 -0
- package/dist/web/server/assets/results-D6Ui5S8D.js +12 -0
- package/dist/web/server/assets/results-DWmxvfyn.js +15 -0
- package/dist/web/server/assets/review-CyQky-WQ.js +40 -0
- package/dist/web/server/assets/review-Sq0GGcPV.js +322 -0
- package/dist/web/server/assets/review-XWbSF8cF.js +12 -0
- package/dist/web/server/assets/route-BErtkz6t.js +19 -0
- package/dist/web/server/assets/route-CLoV-An_.js +48 -0
- package/dist/web/server/assets/route-WQ19JkBa.js +19 -0
- package/dist/web/server/assets/route-dEK_2GLj.js +203 -0
- package/dist/web/server/assets/route-iHTkhO81.js +16 -0
- package/dist/web/server/assets/route-zs8uUQtB.js +16 -0
- package/dist/web/server/assets/router-BI9gmY3S.js +751 -0
- package/dist/web/server/assets/routes-081s4n24.js +45 -0
- package/dist/web/server/assets/routes-CWo5WPsr.js +15 -0
- package/dist/web/server/assets/routes-Cqp1ufHm.js +56 -0
- package/dist/web/server/assets/{services-ZeEIgTn0.js → services-BLvAvb8g.js} +1 -1
- package/dist/web/server/assets/{services-UL_2b8PP.js → services-Q9HYQXXB.js} +2 -8
- package/dist/web/server/assets/{services-T8adll3y.js → services-tCfB1B83.js} +21 -38
- package/dist/web/server/assets/settings-CVaGv-xF.js +12 -0
- package/dist/web/server/assets/settings-D9viV-86.js +561 -0
- package/dist/web/server/assets/settings-DaZNZ_CC.js +27 -0
- package/dist/web/server/assets/{skills-D1oy3JAH.js → skills-BZg_txbf.js} +1 -3
- package/dist/web/server/assets/skills-C7fqRPna.js +275 -0
- package/dist/web/server/assets/{skills-kfqhxYmf.js → skills-C_g8IKag.js} +1 -1
- package/dist/web/server/assets/start-DTX6aKCi.js +100 -0
- package/dist/web/server/assets/teams-BHkhnt6b.js +12 -0
- package/dist/web/server/assets/teams-BS-oweRl.js +80 -0
- package/dist/web/server/assets/teams-BSflKBP8.js +108 -0
- package/dist/web/server/assets/teams-CNyB5nM9.js +12 -0
- package/dist/web/server/assets/{teams-BW2ARIvk.js → teams-D4CaU76n.js} +3 -5
- package/dist/web/server/assets/teams-DX2HmKqi.js +21 -0
- package/dist/web/server/assets/{telegram-U9UAdUEx.js → telegram-BUdnc8oF.js} +1 -1
- package/dist/web/server/assets/{telegram-ByHqeAGC.js → telegram-C4v1HhyJ.js} +1 -1
- package/dist/web/server/assets/{telegram-IMfV34-w.js → telegram-CrJiygCX.js} +223 -471
- package/dist/web/server/assets/{tokens-CiThDMwM.js → tokens-B1twAJdd.js} +5 -5
- package/dist/web/server/assets/tokens-DdjEyALj.js +232 -0
- package/dist/web/server/assets/tokens-DqldzPUq.js +14 -0
- package/dist/web/server/assets/triggers-B7LW784F.js +214 -0
- package/dist/web/server/assets/triggers-C5sMCZXv2.js +12 -0
- package/dist/web/server/assets/triggers-DMfVdImD.js +12 -0
- package/dist/web/server/assets/{welcome-BFWKx138.js → welcome-D0d38Pzx.js} +5 -6
- package/dist/web/server/server.js +55 -159
- package/dist/web-server.js +3 -3
- package/dist/worker.js +1692 -6375
- package/dist/worker.js.map +1 -1
- package/package.json +8 -18
- package/dist/browser-keychain.js +0 -83
- package/dist/browser-keychain.js.map +0 -1
- package/dist/cli-main.js +0 -9211
- package/dist/cli-main.js.map +0 -1
- package/dist/daemon-main.js +0 -50664
- package/dist/daemon-main.js.map +0 -1
- package/dist/migrations/0001_init.sql +0 -1103
- package/dist/migrations/0002_device_token_scopes.sql +0 -8
- package/dist/migrations/0003_web_pairing_tokens.sql +0 -18
- package/dist/migrations/0004_image_generation.sql +0 -25
- package/dist/native-darwin-entry.js +0 -692
- package/dist/native-darwin-entry.js.map +0 -1
- package/dist/native-linux-entry.js +0 -60
- package/dist/native-linux-entry.js.map +0 -1
- package/dist/runtime-version.js +0 -28
- package/dist/runtime-version.js.map +0 -1
- package/dist/web/client/assets/AgentTabs-kEd-oDRM.js +0 -1
- package/dist/web/client/assets/ChatPane-DhvlzNPJ.js +0 -76
- package/dist/web/client/assets/ConfigPage-CMKsWDjh.js +0 -1
- package/dist/web/client/assets/ConfirmDialog-DpAzoNG8.js +0 -1
- package/dist/web/client/assets/FieldRow-OQ-Ezw5t.js +0 -1
- package/dist/web/client/assets/ProductionTeamPolicyEditor-DhT-Q13a.js +0 -7
- package/dist/web/client/assets/ProfileCommunicationEditor-CnQIp4e6.js +0 -1
- package/dist/web/client/assets/RecoveryState-B4Rne9N_.js +0 -1
- package/dist/web/client/assets/ResultCard-BxAlMky1.js +0 -1
- package/dist/web/client/assets/ResultSourceConversation-BzIw43-r.js +0 -1
- package/dist/web/client/assets/SectionTabs-D3M6F_HR.js +0 -1
- package/dist/web/client/assets/TeamTabs-BZbg-UFx.js +0 -1
- package/dist/web/client/assets/TemplatesTabs-D8geEOte.js +0 -1
- package/dist/web/client/assets/UnsavedChangesGuard-CPQe9VLw.js +0 -1
- package/dist/web/client/assets/_id-1RIodFdi.js +0 -1
- package/dist/web/client/assets/_id-BV3w2kDj.js +0 -1
- package/dist/web/client/assets/_id-C9zxKqvQ.js +0 -1
- package/dist/web/client/assets/_id-CLG_POnZ.js +0 -1
- package/dist/web/client/assets/_id-Cha845UH.js +0 -1
- package/dist/web/client/assets/_id-DssxcwBl.js +0 -1
- package/dist/web/client/assets/_id-IDHR-MEm.js +0 -1
- package/dist/web/client/assets/_id-SGs5zOcT.js +0 -1
- package/dist/web/client/assets/activity-0srO4qbd.js +0 -1
- package/dist/web/client/assets/activity-DxQGr6eP.js +0 -1
- package/dist/web/client/assets/agents-CVTYoXKu.js +0 -1
- package/dist/web/client/assets/agents-DPTu6Sm_.js +0 -1
- package/dist/web/client/assets/agents-nHiIbumu.js +0 -1
- package/dist/web/client/assets/approvals-Di_Bux_Q.js +0 -1
- package/dist/web/client/assets/approvals-ScNrQg7q.js +0 -1
- package/dist/web/client/assets/attention-BF-Llt9z.js +0 -1
- package/dist/web/client/assets/attention-D7xB17sN.js +0 -1
- package/dist/web/client/assets/chevron-right-CJ2wat15.js +0 -1
- package/dist/web/client/assets/config-BOuIcP1T.js +0 -3
- package/dist/web/client/assets/context-wo9lNjHx.js +0 -1
- package/dist/web/client/assets/git-review-presentation-CzHQulDk.js +0 -1
- package/dist/web/client/assets/inbox-CNLmz0Jp.js +0 -1
- package/dist/web/client/assets/inbox-De6HOll3.js +0 -1
- package/dist/web/client/assets/index-CjI7_vB3.js +0 -52
- package/dist/web/client/assets/jsx-runtime-DGeXAQPT.js +0 -1
- package/dist/web/client/assets/learning-591SFAKg.js +0 -1
- package/dist/web/client/assets/learning-D6bO0NeB.js +0 -1
- package/dist/web/client/assets/login-Q7uP-v0M.js +0 -1
- package/dist/web/client/assets/mcp-BGy64VOv.js +0 -1
- package/dist/web/client/assets/mcp-DSCjhc5I.js +0 -1
- package/dist/web/client/assets/members-CBVor-P4.js +0 -1
- package/dist/web/client/assets/members-CCcecjC3.js +0 -1
- package/dist/web/client/assets/memory-CSE8EQ48.js +0 -1
- package/dist/web/client/assets/memory-DgGz0wh4.js +0 -1
- package/dist/web/client/assets/policy-6j-NQvBj.js +0 -1
- package/dist/web/client/assets/policy-Do0TvNWc.js +0 -1
- package/dist/web/client/assets/preload-helper-bztXdkDj.js +0 -1
- package/dist/web/client/assets/react-3W8R1pOO.js +0 -1
- package/dist/web/client/assets/results-CCQGn0dE.js +0 -1
- package/dist/web/client/assets/results-Cx6_ChIY.js +0 -1
- package/dist/web/client/assets/review-CyS5b0fz.js +0 -1
- package/dist/web/client/assets/review-qG-2gqEp.js +0 -1
- package/dist/web/client/assets/routes-DRic0xNy.js +0 -1
- package/dist/web/client/assets/services-B_7lf-mx.js +0 -1
- package/dist/web/client/assets/services-ByBA_yA-.js +0 -1
- package/dist/web/client/assets/skills--lnDzPWe.js +0 -1
- package/dist/web/client/assets/skills-C70btgIg.js +0 -1
- package/dist/web/client/assets/styles-e_ADuRbs.css +0 -2
- package/dist/web/client/assets/team-policy-D0jpnn2b.js +0 -1
- package/dist/web/client/assets/teams-BL-Fr2xF.js +0 -1
- package/dist/web/client/assets/teams-BeoxArzy.js +0 -1
- package/dist/web/client/assets/teams-C4mb790r.js +0 -1
- package/dist/web/client/assets/teams-DHStw3OS.js +0 -1
- package/dist/web/client/assets/telegram-BIMiebJl.js +0 -1
- package/dist/web/client/assets/templates-CzHXXiA_.js +0 -1
- package/dist/web/client/assets/tokens-B9ehOc1o.js +0 -1
- package/dist/web/client/assets/tokens-DhaMzFWK.js +0 -1
- package/dist/web/client/assets/triggers--xMpHFW7.js +0 -1
- package/dist/web/client/assets/triggers-DLzZu8bB.js +0 -1
- package/dist/web/client/assets/verifications-FzypGVwW.js +0 -2
- package/dist/web/client/assets/verifications-fR9W-adv.js +0 -1
- package/dist/web/client/assets/welcome-pjZD7pq4.js +0 -1
- package/dist/web/client/assets/wire-constants-CBD-lTaa.js +0 -1
- package/dist/web/client/assets/x-CZxV4X-6.js +0 -1
- package/dist/web/server/assets/AgentTabs-DVVkxBks.js +0 -49
- package/dist/web/server/assets/ChatPane-CeDUEjmn.js +0 -2962
- package/dist/web/server/assets/ConfigPage-J3s_PX4o.js +0 -69
- package/dist/web/server/assets/ConfirmDialog-C-2cbcmQ.js +0 -99
- package/dist/web/server/assets/ProductionTeamPolicyEditor-DNtdMn2a.js +0 -1026
- package/dist/web/server/assets/ProfileCommunicationEditor-C2RU-2QB.js +0 -107
- package/dist/web/server/assets/RecoveryState-DFPWxMIo.js +0 -37
- package/dist/web/server/assets/ResultCard-BtVFqdRU.js +0 -162
- package/dist/web/server/assets/ResultSourceConversation-xn4EKjaP.js +0 -64
- package/dist/web/server/assets/SectionTabs-DQWPEk1x.js +0 -8
- package/dist/web/server/assets/Sidebar-Dk9bErQV.js +0 -1243
- package/dist/web/server/assets/TeamTabs-XybMRm3w.js +0 -59
- package/dist/web/server/assets/TemplatesTabs-BiJt7Fjx.js +0 -31
- package/dist/web/server/assets/WorkspaceRecoveryCard-B-6gfg0D.js +0 -18
- package/dist/web/server/assets/_id-6aGxCNlp.js +0 -37
- package/dist/web/server/assets/_id-BJeSZ4DF.js +0 -11
- package/dist/web/server/assets/_id-BSkg6FJC.js +0 -45
- package/dist/web/server/assets/_id-BfT3umhN.js +0 -14
- package/dist/web/server/assets/_id-Bk4SHXs4.js +0 -626
- package/dist/web/server/assets/_id-C0C6wOt8.js +0 -42
- package/dist/web/server/assets/_id-CAxK6pln.js +0 -6
- package/dist/web/server/assets/_id-CGMvV1p5.js +0 -1183
- package/dist/web/server/assets/_id-CI33J2xv.js +0 -11
- package/dist/web/server/assets/_id-C_FnWQ61.js +0 -11
- package/dist/web/server/assets/_id-CmS2d0me.js +0 -17
- package/dist/web/server/assets/_id-D9VWEfdp.js +0 -28
- package/dist/web/server/assets/_id-DhheAcWL.js +0 -1035
- package/dist/web/server/assets/_id-t8AepTB2.js +0 -26
- package/dist/web/server/assets/_id-ujm4R5OF.js +0 -18
- package/dist/web/server/assets/_tanstack-start-manifest_v-CXwNJhX2.js +0 -376
- package/dist/web/server/assets/activity-BKb_BIx7.js +0 -168
- package/dist/web/server/assets/activity-CDNYyLBC.js +0 -11
- package/dist/web/server/assets/activity-DhzxlXUk.js +0 -12
- package/dist/web/server/assets/activity-lf7L7wiL.js +0 -14
- package/dist/web/server/assets/agents-BzJDqrC8.js +0 -11
- package/dist/web/server/assets/agents-C65TunMF.js +0 -505
- package/dist/web/server/assets/agents-uXBu1F5L.js +0 -387
- package/dist/web/server/assets/approvals-CcU_pIWW.js +0 -11
- package/dist/web/server/assets/approvals-CpDs6ASO.js +0 -14
- package/dist/web/server/assets/approvals-FyuTjfdY.js +0 -332
- package/dist/web/server/assets/approvals-szknIxB6.js +0 -12
- package/dist/web/server/assets/attention-BeA3zGve.js +0 -268
- package/dist/web/server/assets/attention-jtJ9PIMp.js +0 -11
- package/dist/web/server/assets/browser-BiDvr0fy.js +0 -66
- package/dist/web/server/assets/context-DuxjdpaW.js +0 -11
- package/dist/web/server/assets/daemon-client-C-RlJHYO.js +0 -301
- package/dist/web/server/assets/git-review-BB3M9nYg.js +0 -26
- package/dist/web/server/assets/git-review-CqZTrIWS.js +0 -179
- package/dist/web/server/assets/git-review-presentation-TJiHJhen.js +0 -81
- package/dist/web/server/assets/inbox-Be3CUU4o.js +0 -11
- package/dist/web/server/assets/inbox-D1ROE7jB.js +0 -44
- package/dist/web/server/assets/inbox-DsH5oRK0.js +0 -168
- package/dist/web/server/assets/inbox-qKMkeprB.js +0 -29
- package/dist/web/server/assets/learning-BYCwIOzZ.js +0 -18
- package/dist/web/server/assets/learning-C3pqLE5b.js +0 -11
- package/dist/web/server/assets/learning-D7jWRhqD.js +0 -365
- package/dist/web/server/assets/mcp-BQ4KvXp1.js +0 -11
- package/dist/web/server/assets/mcp-Dhryb75M.js +0 -328
- package/dist/web/server/assets/members-8aWhtn4G.js +0 -100
- package/dist/web/server/assets/members-Cjpysp35.js +0 -14
- package/dist/web/server/assets/members-DWedYCMh.js +0 -11
- package/dist/web/server/assets/memory-BH7L-l65.js +0 -11
- package/dist/web/server/assets/memory-Bq0s1fr7.js +0 -18
- package/dist/web/server/assets/memory-CS-9Bb6q.js +0 -28
- package/dist/web/server/assets/memory-DN5iMDQL.js +0 -389
- package/dist/web/server/assets/policy-CK3VuVuv.js +0 -11
- package/dist/web/server/assets/policy-DDi8AjcD.js +0 -21
- package/dist/web/server/assets/policy-DcYIJaHW.js +0 -490
- package/dist/web/server/assets/policy-JF7ZI2-i.js +0 -40
- package/dist/web/server/assets/public-origin-xV0lm0Ty.js +0 -25
- package/dist/web/server/assets/publications-DV2uRrvJ.js +0 -57
- package/dist/web/server/assets/results-CkNoVDrY.js +0 -362
- package/dist/web/server/assets/results-DSGwi3vj.js +0 -14
- package/dist/web/server/assets/results-DlOsdBE7.js +0 -11
- package/dist/web/server/assets/results-vtkmZPro.js +0 -12
- package/dist/web/server/assets/review-BG71IaCa.js +0 -1061
- package/dist/web/server/assets/review-Bs6AbrSn.js +0 -40
- package/dist/web/server/assets/review-CPmUi4PR.js +0 -11
- package/dist/web/server/assets/review-packets-CO69K-FK.js +0 -172
- package/dist/web/server/assets/router-BFqyjkYu.js +0 -921
- package/dist/web/server/assets/routes-B6TnJyQ8.js +0 -57
- package/dist/web/server/assets/routes-BfEa101d.js +0 -14
- package/dist/web/server/assets/routes-pUMIGzyy.js +0 -53
- package/dist/web/server/assets/services-Ba6tFlZz.js +0 -16
- package/dist/web/server/assets/skills-CGvPejPD.js +0 -11
- package/dist/web/server/assets/skills-cVlLDnvf.js +0 -399
- package/dist/web/server/assets/start-D4Wq9iTa.js +0 -70
- package/dist/web/server/assets/team-policy-vPG01onj.js +0 -180
- package/dist/web/server/assets/teams-6c5B9wnI.js +0 -11
- package/dist/web/server/assets/teams-BEIUG9fI.js +0 -112
- package/dist/web/server/assets/teams-Bi3CeEM5.js +0 -11
- package/dist/web/server/assets/teams-C9tfV3IC.js +0 -12
- package/dist/web/server/assets/teams-DKROLgw-.js +0 -36
- package/dist/web/server/assets/teams-DLt48Vxw.js +0 -284
- package/dist/web/server/assets/teams-DuhXk1M5.js +0 -14
- package/dist/web/server/assets/templates-CuqFhsiO.js +0 -11
- package/dist/web/server/assets/tokens-DDJYBy6R.js +0 -16
- package/dist/web/server/assets/tokens-qVijmBxr.js +0 -11
- package/dist/web/server/assets/tokens-zSK57Trr.js +0 -452
- package/dist/web/server/assets/triggers-B9CIl4Co.js +0 -27
- package/dist/web/server/assets/triggers-Cr9af7Xw.js +0 -367
- package/dist/web/server/assets/triggers-DIruOyMb.js +0 -18
- package/dist/web/server/assets/triggers-x_OA9u5f.js +0 -11
- package/dist/web/server/assets/utils-ySbqTi3g.js +0 -24
- package/dist/web/server/assets/verification-DBsJYadO.js +0 -97
- package/dist/web/server/assets/verifications-DjZsx65b.js +0 -12
- package/dist/web/server/assets/verifications-DvOyI3Mr.js +0 -28
- package/dist/web/server/assets/verifications-YrEdiZmk.js +0 -326
- package/dist/web/server/assets/web-search-dgw10fLn.js +0 -12
- package/dist/web/server/assets/wire-constants-C8nBJcU3.js +0 -16
- /package/{LICENSE → dist/LICENSE} +0 -0
- /package/dist/web/client/assets/{ProductionTeamPolicyEditor-DLioOiRN.css → TeamPolicyEditor-DLioOiRN.css} +0 -0
|
@@ -0,0 +1,751 @@
|
|
|
1
|
+
import { n as createServerFn } from "../server.js";
|
|
2
|
+
import { t as DAEMON_BASE_URL } from "./daemon-client-DL2ik2Em.js";
|
|
3
|
+
import { n as publicOriginConfig } from "./public-origin-BpDkdS5Q.js";
|
|
4
|
+
import { i as errorMessage, n as api, o as Button } from "./api-WWxPqx67.js";
|
|
5
|
+
import { a as PageShell } from "./Page-CMSYKXWJ.js";
|
|
6
|
+
import { i as BaziuLogo, n as ThemeToggle, r as PawIcon, t as Route$4 } from "./login-JoIjlcmu.js";
|
|
7
|
+
import { r as readCookie } from "./cookies-HnTYjKRp.js";
|
|
8
|
+
import { t as createSsrRpc } from "./createSsrRpc-6LHNEsSK.js";
|
|
9
|
+
import { t as Route$5 } from "./routes-CWo5WPsr.js";
|
|
10
|
+
import { t as Route$6 } from "./teams-BHkhnt6b.js";
|
|
11
|
+
import { t as Route$7 } from "./skills-BZg_txbf.js";
|
|
12
|
+
import { t as Route$8 } from "./config-C1VB28se.js";
|
|
13
|
+
import { t as Route$9 } from "./attention-DULVjdmF.js";
|
|
14
|
+
import { t as Route$10 } from "./agents-lOqc6VGd.js";
|
|
15
|
+
import { t as Route$11 } from "./tokens-DqldzPUq.js";
|
|
16
|
+
import { t as Route$12 } from "./services-Q9HYQXXB.js";
|
|
17
|
+
import { t as Route$13 } from "./mcp-CqdTfXcn.js";
|
|
18
|
+
import { t as Route$14 } from "./route-zs8uUQtB.js";
|
|
19
|
+
import { t as Route$15 } from "./route-iHTkhO81.js";
|
|
20
|
+
import { t as Route$16 } from "./teams-D4CaU76n.js";
|
|
21
|
+
import { t as Route$17 } from "./agents-Cn9GkXFX.js";
|
|
22
|
+
import { t as Route$18 } from "./_id-Bm611NQz.js";
|
|
23
|
+
import { t as Route$19 } from "./_id-Y5ctILG2.js";
|
|
24
|
+
import { t as Route$20 } from "./review-XWbSF8cF.js";
|
|
25
|
+
import { t as Route$21 } from "./results-D6Ui5S8D.js";
|
|
26
|
+
import { t as Route$22 } from "./policy-xEw9X0DK.js";
|
|
27
|
+
import { t as Route$23 } from "./memory-BNN0b-0x.js";
|
|
28
|
+
import { t as Route$24 } from "./members-B8QBF6TF.js";
|
|
29
|
+
import { t as Route$25 } from "./telegram-BUdnc8oF.js";
|
|
30
|
+
import { t as Route$26 } from "./triggers-DMfVdImD.js";
|
|
31
|
+
import { t as Route$27 } from "./settings-CVaGv-xF.js";
|
|
32
|
+
import { t as Route$28 } from "./learning-BScq7VbO.js";
|
|
33
|
+
import { t as Route$29 } from "./inbox-Dle24AfV.js";
|
|
34
|
+
import { t as Route$30 } from "./_id-B0x1ffz3.js";
|
|
35
|
+
import { t as Route$31 } from "./_id-sW6zXrTP.js";
|
|
36
|
+
import { useEffect, useState } from "react";
|
|
37
|
+
import { HeadContent, Link, Outlet, Scripts, createFileRoute, createRootRoute, createRouter, lazyRouteComponent, redirect, useRouter, useRouterState } from "@tanstack/react-router";
|
|
38
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
39
|
+
import { BellRing, Bot, ChevronDown, LayoutTemplate, LogOut, MessageCircle, Settings2, Sparkles, UsersRound } from "lucide-react";
|
|
40
|
+
import { DropdownMenu } from "radix-ui";
|
|
41
|
+
//#region src/components/RouteStates.tsx
|
|
42
|
+
/** The router's error view for every route: a loader failed. The top nav stays usable. */
|
|
43
|
+
function RouteErrorState({ error }) {
|
|
44
|
+
const router = useRouter();
|
|
45
|
+
return /* @__PURE__ */ jsx(PageShell, { children: /* @__PURE__ */ jsxs("section", {
|
|
46
|
+
role: "alert",
|
|
47
|
+
className: "mx-auto my-10 w-full max-w-2xl rounded-md border border-rose-baziu bg-snow p-6",
|
|
48
|
+
children: [
|
|
49
|
+
/* @__PURE__ */ jsx("h1", {
|
|
50
|
+
className: "text-2xl",
|
|
51
|
+
children: "Could not load this page"
|
|
52
|
+
}),
|
|
53
|
+
/* @__PURE__ */ jsx("pre", {
|
|
54
|
+
className: "mt-4 overflow-auto whitespace-pre-wrap rounded-md bg-ivory p-3 text-xs",
|
|
55
|
+
children: error.message
|
|
56
|
+
}),
|
|
57
|
+
/* @__PURE__ */ jsxs("div", {
|
|
58
|
+
className: "mt-4 flex flex-wrap gap-2",
|
|
59
|
+
children: [/* @__PURE__ */ jsx(Button, {
|
|
60
|
+
variant: "primary",
|
|
61
|
+
onClick: () => void router.invalidate(),
|
|
62
|
+
children: "Retry"
|
|
63
|
+
}), /* @__PURE__ */ jsx("a", {
|
|
64
|
+
className: "ghost-btn",
|
|
65
|
+
href: "/",
|
|
66
|
+
children: "Home"
|
|
67
|
+
})]
|
|
68
|
+
})
|
|
69
|
+
]
|
|
70
|
+
}) });
|
|
71
|
+
}
|
|
72
|
+
/** The router's pending view while a loader runs. */
|
|
73
|
+
function RoutePendingState() {
|
|
74
|
+
return /* @__PURE__ */ jsx(PageShell, { children: /* @__PURE__ */ jsxs("div", {
|
|
75
|
+
"aria-busy": "true",
|
|
76
|
+
className: "my-10 flex items-center justify-center gap-3",
|
|
77
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
78
|
+
"aria-hidden": "true",
|
|
79
|
+
className: "inline-block h-4 w-4 animate-spin rounded-full border-2 border-fawn border-t-transparent"
|
|
80
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
81
|
+
className: "text-sm text-mocha",
|
|
82
|
+
children: "Loading…"
|
|
83
|
+
})]
|
|
84
|
+
}) });
|
|
85
|
+
}
|
|
86
|
+
//#endregion
|
|
87
|
+
//#region src/components/Footer.tsx
|
|
88
|
+
function Footer() {
|
|
89
|
+
return /* @__PURE__ */ jsxs("footer", {
|
|
90
|
+
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",
|
|
91
|
+
children: [/* @__PURE__ */ jsxs(Link, {
|
|
92
|
+
to: "/",
|
|
93
|
+
className: "group inline-flex items-center gap-2 rounded-lg text-charcoal transition-opacity hover:text-charcoal hover:opacity-80",
|
|
94
|
+
children: [/* @__PURE__ */ jsx(BaziuLogo, { className: "h-6 w-6 transition-transform duration-300 group-hover:rotate-[-8deg]" }), /* @__PURE__ */ jsx("span", {
|
|
95
|
+
className: "font-display text-sm tracking-[-0.01em]",
|
|
96
|
+
children: "bazilion"
|
|
97
|
+
})]
|
|
98
|
+
}), /* @__PURE__ */ jsxs("span", {
|
|
99
|
+
className: "inline-flex items-center gap-1.5",
|
|
100
|
+
children: ["dedicated to Baziu", /* @__PURE__ */ jsx(PawIcon, {
|
|
101
|
+
className: "h-3 w-3 text-rose-baziu opacity-60",
|
|
102
|
+
"aria-hidden": "true"
|
|
103
|
+
})]
|
|
104
|
+
})]
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
//#endregion
|
|
108
|
+
//#region src/components/TopNav.tsx
|
|
109
|
+
var PRIMARY_LINKS = [
|
|
110
|
+
{
|
|
111
|
+
to: "/",
|
|
112
|
+
label: "Chat",
|
|
113
|
+
icon: MessageCircle
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
to: "/agents",
|
|
117
|
+
label: "Agents",
|
|
118
|
+
icon: Bot
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
to: "/teams",
|
|
122
|
+
label: "Teams",
|
|
123
|
+
icon: UsersRound
|
|
124
|
+
}
|
|
125
|
+
];
|
|
126
|
+
var MANAGE_LINKS = [
|
|
127
|
+
{
|
|
128
|
+
href: "/templates",
|
|
129
|
+
label: "Templates",
|
|
130
|
+
description: "Reusable Agent behavior and Team rosters.",
|
|
131
|
+
icon: LayoutTemplate
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
href: "/skills",
|
|
135
|
+
label: "Skills",
|
|
136
|
+
description: "Prompt skills available to your agents.",
|
|
137
|
+
icon: Sparkles
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
href: "/config",
|
|
141
|
+
label: "Setup",
|
|
142
|
+
description: "Providers, integrations, access, and services.",
|
|
143
|
+
icon: Settings2
|
|
144
|
+
}
|
|
145
|
+
];
|
|
146
|
+
function TopNav() {
|
|
147
|
+
const pathname = useRouterState({ select: (state) => state.location.pathname });
|
|
148
|
+
const [attention, setAttention] = useState(null);
|
|
149
|
+
const [logoutError, setLogoutError] = useState(null);
|
|
150
|
+
useEffect(() => {
|
|
151
|
+
if (pathname === "/login" || pathname === "/welcome") return;
|
|
152
|
+
const controller = new AbortController();
|
|
153
|
+
api("/api/attention/summary", { signal: controller.signal }).then(setAttention).catch(() => {});
|
|
154
|
+
return () => controller.abort();
|
|
155
|
+
}, [pathname]);
|
|
156
|
+
const attentionActive = pathname === "/attention" || pathname.startsWith("/attention/");
|
|
157
|
+
const openAttention = attention?.openTotal ?? 0;
|
|
158
|
+
async function logout() {
|
|
159
|
+
setLogoutError(null);
|
|
160
|
+
try {
|
|
161
|
+
await api("/api/logout", { method: "POST" });
|
|
162
|
+
window.location.assign("/login");
|
|
163
|
+
} catch (error) {
|
|
164
|
+
setLogoutError(errorMessage(error));
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
return /* @__PURE__ */ jsxs("nav", {
|
|
168
|
+
"aria-label": "Primary navigation",
|
|
169
|
+
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",
|
|
170
|
+
children: [
|
|
171
|
+
/* @__PURE__ */ jsxs(Link, {
|
|
172
|
+
to: "/",
|
|
173
|
+
"aria-label": "Bazilion home",
|
|
174
|
+
className: "group flex min-w-0 items-center gap-2 rounded-lg text-charcoal transition-opacity hover:text-charcoal hover:opacity-80",
|
|
175
|
+
children: [/* @__PURE__ */ jsx(BaziuLogo, { className: "h-8 w-8 shrink-0 transition-transform duration-300 group-hover:rotate-[-8deg] group-hover:scale-[1.08]" }), /* @__PURE__ */ jsx("span", {
|
|
176
|
+
className: "truncate font-display text-[1.35rem] tracking-[-0.02em]",
|
|
177
|
+
children: "bazilion"
|
|
178
|
+
})]
|
|
179
|
+
}),
|
|
180
|
+
/* @__PURE__ */ jsxs("div", {
|
|
181
|
+
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",
|
|
182
|
+
children: [
|
|
183
|
+
PRIMARY_LINKS.map((link) => {
|
|
184
|
+
const active = link.to === "/" ? pathname === "/" : pathname === link.to || pathname.startsWith(`${link.to}/`);
|
|
185
|
+
const Icon = link.icon;
|
|
186
|
+
return /* @__PURE__ */ jsxs(Link, {
|
|
187
|
+
to: link.to,
|
|
188
|
+
"aria-current": active ? "page" : void 0,
|
|
189
|
+
className: navButtonClass(active),
|
|
190
|
+
children: [/* @__PURE__ */ jsx(Icon, {
|
|
191
|
+
className: "hidden size-4 shrink-0 sm:block",
|
|
192
|
+
"aria-hidden": "true"
|
|
193
|
+
}), /* @__PURE__ */ jsx("span", { children: link.label })]
|
|
194
|
+
}, link.to);
|
|
195
|
+
}),
|
|
196
|
+
/* @__PURE__ */ jsxs(Link, {
|
|
197
|
+
to: "/attention",
|
|
198
|
+
"aria-current": attentionActive ? "page" : void 0,
|
|
199
|
+
className: navButtonClass(attentionActive),
|
|
200
|
+
children: [
|
|
201
|
+
/* @__PURE__ */ jsx(BellRing, {
|
|
202
|
+
className: "hidden size-4 shrink-0 sm:block",
|
|
203
|
+
"aria-hidden": "true"
|
|
204
|
+
}),
|
|
205
|
+
/* @__PURE__ */ jsx("span", { children: "Attention" }),
|
|
206
|
+
openAttention > 0 && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
207
|
+
/* @__PURE__ */ jsx("span", {
|
|
208
|
+
className: "size-2 shrink-0 rounded-full bg-danger sm:hidden",
|
|
209
|
+
"aria-hidden": "true"
|
|
210
|
+
}),
|
|
211
|
+
/* @__PURE__ */ jsx("span", {
|
|
212
|
+
className: "hidden 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 sm:inline-flex",
|
|
213
|
+
"aria-hidden": "true",
|
|
214
|
+
children: openAttention > 99 ? "99+" : openAttention
|
|
215
|
+
}),
|
|
216
|
+
/* @__PURE__ */ jsxs("span", {
|
|
217
|
+
className: "sr-only",
|
|
218
|
+
children: [
|
|
219
|
+
", ",
|
|
220
|
+
openAttention,
|
|
221
|
+
" open items"
|
|
222
|
+
]
|
|
223
|
+
})
|
|
224
|
+
] })
|
|
225
|
+
]
|
|
226
|
+
}),
|
|
227
|
+
/* @__PURE__ */ jsx(NavMenu, {
|
|
228
|
+
label: "Manage",
|
|
229
|
+
icon: Settings2,
|
|
230
|
+
links: MANAGE_LINKS,
|
|
231
|
+
pathname,
|
|
232
|
+
align: "end"
|
|
233
|
+
})
|
|
234
|
+
]
|
|
235
|
+
}),
|
|
236
|
+
/* @__PURE__ */ jsxs("div", {
|
|
237
|
+
className: "col-start-2 row-start-1 flex items-center gap-1 md:col-auto md:row-auto md:ml-auto",
|
|
238
|
+
children: [/* @__PURE__ */ jsx(ThemeToggle, {}), /* @__PURE__ */ jsx("button", {
|
|
239
|
+
type: "button",
|
|
240
|
+
onClick: () => void logout(),
|
|
241
|
+
"aria-label": "Log out",
|
|
242
|
+
title: "Log out",
|
|
243
|
+
className: "unstyled inline-flex h-9 w-9 items-center justify-center rounded-lg text-mocha hover:bg-ivory hover:text-sapphire",
|
|
244
|
+
children: /* @__PURE__ */ jsx(LogOut, {
|
|
245
|
+
className: "h-4 w-4",
|
|
246
|
+
"aria-hidden": "true"
|
|
247
|
+
})
|
|
248
|
+
})]
|
|
249
|
+
}),
|
|
250
|
+
logoutError && /* @__PURE__ */ jsx("p", {
|
|
251
|
+
role: "alert",
|
|
252
|
+
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",
|
|
253
|
+
children: logoutError
|
|
254
|
+
})
|
|
255
|
+
]
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
function NavMenu({ label, icon: Icon, links, pathname, align = "start" }) {
|
|
259
|
+
const active = links.some((link) => pathname === link.href || pathname.startsWith(`${link.href}/`));
|
|
260
|
+
return /* @__PURE__ */ jsxs(DropdownMenu.Root, { children: [/* @__PURE__ */ jsx(DropdownMenu.Trigger, {
|
|
261
|
+
asChild: true,
|
|
262
|
+
children: /* @__PURE__ */ jsxs("button", {
|
|
263
|
+
type: "button",
|
|
264
|
+
className: navButtonClass(active),
|
|
265
|
+
"aria-label": `${label} menu`,
|
|
266
|
+
children: [
|
|
267
|
+
/* @__PURE__ */ jsx(Icon, {
|
|
268
|
+
className: "hidden size-4 shrink-0 sm:block",
|
|
269
|
+
"aria-hidden": "true"
|
|
270
|
+
}),
|
|
271
|
+
/* @__PURE__ */ jsx("span", { children: label }),
|
|
272
|
+
/* @__PURE__ */ jsx(ChevronDown, {
|
|
273
|
+
className: "size-3 shrink-0 text-muted-foreground",
|
|
274
|
+
"aria-hidden": "true"
|
|
275
|
+
})
|
|
276
|
+
]
|
|
277
|
+
})
|
|
278
|
+
}), /* @__PURE__ */ jsx(DropdownMenu.Portal, { children: /* @__PURE__ */ jsxs(DropdownMenu.Content, {
|
|
279
|
+
align,
|
|
280
|
+
sideOffset: 8,
|
|
281
|
+
collisionPadding: 12,
|
|
282
|
+
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",
|
|
283
|
+
children: [/* @__PURE__ */ jsx(DropdownMenu.Label, {
|
|
284
|
+
className: "px-2.5 pb-1 pt-1 text-xs font-semibold uppercase tracking-[0.1em] text-muted-foreground",
|
|
285
|
+
children: label
|
|
286
|
+
}), links.map((link) => {
|
|
287
|
+
const ItemIcon = link.icon;
|
|
288
|
+
const itemActive = pathname === link.href || pathname.startsWith(`${link.href}/`);
|
|
289
|
+
return /* @__PURE__ */ jsx(DropdownMenu.Item, {
|
|
290
|
+
asChild: true,
|
|
291
|
+
children: /* @__PURE__ */ jsxs("a", {
|
|
292
|
+
href: link.href,
|
|
293
|
+
"aria-current": itemActive ? "page" : void 0,
|
|
294
|
+
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"}`,
|
|
295
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
296
|
+
className: "mt-0.5 flex size-7 shrink-0 items-center justify-center rounded-lg bg-muted text-muted-foreground",
|
|
297
|
+
children: /* @__PURE__ */ jsx(ItemIcon, {
|
|
298
|
+
className: "size-3.5",
|
|
299
|
+
"aria-hidden": "true"
|
|
300
|
+
})
|
|
301
|
+
}), /* @__PURE__ */ jsxs("span", {
|
|
302
|
+
className: "min-w-0 flex-1",
|
|
303
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
304
|
+
className: "block text-sm font-semibold",
|
|
305
|
+
children: link.label
|
|
306
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
307
|
+
className: "mt-0.5 block text-xs leading-5 text-muted-foreground",
|
|
308
|
+
children: link.description
|
|
309
|
+
})]
|
|
310
|
+
})]
|
|
311
|
+
})
|
|
312
|
+
}, link.href);
|
|
313
|
+
})]
|
|
314
|
+
}) })] });
|
|
315
|
+
}
|
|
316
|
+
function navButtonClass(active) {
|
|
317
|
+
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"}`;
|
|
318
|
+
}
|
|
319
|
+
//#endregion
|
|
320
|
+
//#region src/lib/auth.ts
|
|
321
|
+
var fetchAuthState = createServerFn({ method: "GET" }).handler(createSsrRpc("a5d3825fc69573bb55bab6df578c750ebb0240dd394c3acee3adea02918a5dc2"));
|
|
322
|
+
/** Pages reachable without a session. */
|
|
323
|
+
var PUBLIC_PATHS = new Set(["/login"]);
|
|
324
|
+
var SETUP_OPEN_PREFIXES = ["/welcome", "/config"];
|
|
325
|
+
function isSetupOpen(path) {
|
|
326
|
+
return SETUP_OPEN_PREFIXES.some((prefix) => path === prefix || path.startsWith(`${prefix}/`));
|
|
327
|
+
}
|
|
328
|
+
//#endregion
|
|
329
|
+
//#region src/styles.css?url
|
|
330
|
+
var styles_default = "/assets/styles-xUnZ-ep_.css";
|
|
331
|
+
//#endregion
|
|
332
|
+
//#region src/routes/__root.tsx
|
|
333
|
+
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){}})();`;
|
|
334
|
+
var Route$3 = createRootRoute({
|
|
335
|
+
beforeLoad: async ({ location }) => {
|
|
336
|
+
const path = location.pathname;
|
|
337
|
+
if (PUBLIC_PATHS.has(path)) return;
|
|
338
|
+
if (path.startsWith("/api/")) return;
|
|
339
|
+
const auth = await fetchAuthState();
|
|
340
|
+
if (!auth.authed) throw redirect({ to: "/login" });
|
|
341
|
+
if (!isSetupOpen(path) && !auth.setupComplete) throw redirect({ to: "/welcome" });
|
|
342
|
+
},
|
|
343
|
+
head: () => ({
|
|
344
|
+
meta: [
|
|
345
|
+
{ charSet: "utf-8" },
|
|
346
|
+
{
|
|
347
|
+
name: "viewport",
|
|
348
|
+
content: "width=device-width, initial-scale=1"
|
|
349
|
+
},
|
|
350
|
+
{ title: "bazilion" }
|
|
351
|
+
],
|
|
352
|
+
links: [{
|
|
353
|
+
rel: "icon",
|
|
354
|
+
type: "image/svg+xml",
|
|
355
|
+
href: "/baziu.svg"
|
|
356
|
+
}, {
|
|
357
|
+
rel: "stylesheet",
|
|
358
|
+
href: styles_default
|
|
359
|
+
}]
|
|
360
|
+
}),
|
|
361
|
+
component: RootComponent,
|
|
362
|
+
notFoundComponent: NotFound
|
|
363
|
+
});
|
|
364
|
+
function NotFound() {
|
|
365
|
+
const pathname = useRouterState({ select: (s) => s.location.pathname });
|
|
366
|
+
return /* @__PURE__ */ jsx("div", {
|
|
367
|
+
className: "mx-auto max-w-2xl",
|
|
368
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
369
|
+
className: "card",
|
|
370
|
+
children: [
|
|
371
|
+
/* @__PURE__ */ jsx("h1", { children: "Not found" }),
|
|
372
|
+
/* @__PURE__ */ jsxs("p", {
|
|
373
|
+
className: "muted my-3",
|
|
374
|
+
children: [
|
|
375
|
+
"Nothing lives at ",
|
|
376
|
+
/* @__PURE__ */ jsx("code", { children: pathname }),
|
|
377
|
+
"."
|
|
378
|
+
]
|
|
379
|
+
}),
|
|
380
|
+
/* @__PURE__ */ jsx(Link, {
|
|
381
|
+
to: "/",
|
|
382
|
+
children: "Back to home"
|
|
383
|
+
})
|
|
384
|
+
]
|
|
385
|
+
})
|
|
386
|
+
});
|
|
387
|
+
}
|
|
388
|
+
function RootComponent() {
|
|
389
|
+
const pathname = useRouterState({ select: (s) => s.location.pathname });
|
|
390
|
+
const isLogin = pathname === "/login";
|
|
391
|
+
const isWorkspace = pathname === "/";
|
|
392
|
+
return /* @__PURE__ */ jsxs("html", {
|
|
393
|
+
lang: "en",
|
|
394
|
+
"data-layout": isWorkspace ? "workspace" : "page",
|
|
395
|
+
suppressHydrationWarning: true,
|
|
396
|
+
children: [/* @__PURE__ */ jsxs("head", { children: [/* @__PURE__ */ jsx("script", { dangerouslySetInnerHTML: { __html: THEME_INIT_SCRIPT } }), /* @__PURE__ */ jsx(HeadContent, {})] }), /* @__PURE__ */ jsxs("body", {
|
|
397
|
+
"data-layout": isWorkspace ? "workspace" : "page",
|
|
398
|
+
children: [
|
|
399
|
+
!isLogin && /* @__PURE__ */ jsx("a", {
|
|
400
|
+
href: "#main-content",
|
|
401
|
+
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",
|
|
402
|
+
children: "Skip to main content"
|
|
403
|
+
}),
|
|
404
|
+
isLogin ? /* @__PURE__ */ jsx(Outlet, {}) : isWorkspace ? /* @__PURE__ */ jsxs("div", {
|
|
405
|
+
className: "flex h-dvh flex-col",
|
|
406
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
407
|
+
className: "px-3 sm:px-5",
|
|
408
|
+
children: /* @__PURE__ */ jsx(TopNav, {})
|
|
409
|
+
}), /* @__PURE__ */ jsx("main", {
|
|
410
|
+
id: "main-content",
|
|
411
|
+
tabIndex: -1,
|
|
412
|
+
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",
|
|
413
|
+
children: /* @__PURE__ */ jsx(Outlet, {})
|
|
414
|
+
})]
|
|
415
|
+
}) : /* @__PURE__ */ jsxs("div", {
|
|
416
|
+
className: "flex min-h-dvh flex-col",
|
|
417
|
+
children: [
|
|
418
|
+
/* @__PURE__ */ jsx("div", {
|
|
419
|
+
className: "px-3 sm:px-5",
|
|
420
|
+
children: /* @__PURE__ */ jsx(TopNav, {})
|
|
421
|
+
}),
|
|
422
|
+
/* @__PURE__ */ jsx("main", {
|
|
423
|
+
id: "main-content",
|
|
424
|
+
tabIndex: -1,
|
|
425
|
+
className: "mx-auto w-full max-w-[1500px] flex-1 px-4 py-9 sm:px-6 sm:py-12",
|
|
426
|
+
children: /* @__PURE__ */ jsx(Outlet, {})
|
|
427
|
+
}),
|
|
428
|
+
/* @__PURE__ */ jsx("div", {
|
|
429
|
+
className: "px-4 sm:px-6",
|
|
430
|
+
children: /* @__PURE__ */ jsx(Footer, {})
|
|
431
|
+
})
|
|
432
|
+
]
|
|
433
|
+
}),
|
|
434
|
+
/* @__PURE__ */ jsx(Scripts, {})
|
|
435
|
+
]
|
|
436
|
+
})]
|
|
437
|
+
});
|
|
438
|
+
}
|
|
439
|
+
//#endregion
|
|
440
|
+
//#region src/routes/welcome.tsx
|
|
441
|
+
var $$splitComponentImporter = () => import("./welcome-D0d38Pzx.js");
|
|
442
|
+
var Route$2 = createFileRoute("/welcome")({
|
|
443
|
+
beforeLoad: async () => {
|
|
444
|
+
if ((await fetchAuthState()).setupComplete) throw redirect({ to: "/" });
|
|
445
|
+
},
|
|
446
|
+
component: lazyRouteComponent($$splitComponentImporter, "component")
|
|
447
|
+
});
|
|
448
|
+
//#endregion
|
|
449
|
+
//#region src/routes/templates/index.tsx
|
|
450
|
+
var Route$1 = createFileRoute("/templates/")({ beforeLoad: () => {
|
|
451
|
+
throw redirect({ to: "/templates/agents" });
|
|
452
|
+
} });
|
|
453
|
+
//#endregion
|
|
454
|
+
//#region src/routes/api/$.ts
|
|
455
|
+
var HOP_BY_HOP = [
|
|
456
|
+
"connection",
|
|
457
|
+
"keep-alive",
|
|
458
|
+
"proxy-authenticate",
|
|
459
|
+
"proxy-authorization",
|
|
460
|
+
"te",
|
|
461
|
+
"trailer",
|
|
462
|
+
"transfer-encoding",
|
|
463
|
+
"upgrade"
|
|
464
|
+
];
|
|
465
|
+
var STRIP_REQUEST = new Set([
|
|
466
|
+
...HOP_BY_HOP,
|
|
467
|
+
"host",
|
|
468
|
+
"cookie",
|
|
469
|
+
"content-length",
|
|
470
|
+
"forwarded",
|
|
471
|
+
"x-forwarded-for",
|
|
472
|
+
"x-forwarded-host",
|
|
473
|
+
"x-forwarded-proto",
|
|
474
|
+
"x-real-ip"
|
|
475
|
+
]);
|
|
476
|
+
var STRIP_RESPONSE = new Set([...HOP_BY_HOP, "set-cookie"]);
|
|
477
|
+
/**
|
|
478
|
+
* Fits a 25 MB chat attachment sent as base64 JSON and a 50 MB skill ZIP; the daemon applies its
|
|
479
|
+
* own per-route limits. Only a request carrying a credential (the session cookie or a bearer) gets
|
|
480
|
+
* it: the gateway buffers bodies before the daemon authenticates, and an anonymous request can
|
|
481
|
+
* only log in.
|
|
482
|
+
*/
|
|
483
|
+
var MAX_BODY = 64 * 1024 * 1024;
|
|
484
|
+
var MAX_ANONYMOUS_BODY = 64 * 1024;
|
|
485
|
+
/**
|
|
486
|
+
* The request body, buffered (an upstream 401 on a one-shot stream body surfaced as a gateway
|
|
487
|
+
* 500), or null when it is larger than `limit`.
|
|
488
|
+
*/
|
|
489
|
+
async function readBody(request, limit) {
|
|
490
|
+
if (Number(request.headers.get("content-length") ?? 0) > limit) return null;
|
|
491
|
+
const chunks = [];
|
|
492
|
+
if (!request.body) return new Blob(chunks);
|
|
493
|
+
const reader = request.body.getReader();
|
|
494
|
+
let size = 0;
|
|
495
|
+
for (;;) {
|
|
496
|
+
const { done, value } = await reader.read();
|
|
497
|
+
if (done) return new Blob(chunks);
|
|
498
|
+
size += value.byteLength;
|
|
499
|
+
if (size > limit) {
|
|
500
|
+
await reader.cancel("request body exceeds the gateway limit");
|
|
501
|
+
return null;
|
|
502
|
+
}
|
|
503
|
+
chunks.push(value);
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
async function forward(request) {
|
|
507
|
+
const url = new URL(request.url);
|
|
508
|
+
const headers = new Headers();
|
|
509
|
+
for (const [name, value] of request.headers) if (!STRIP_REQUEST.has(name)) headers.set(name, value);
|
|
510
|
+
const origin = publicOriginConfig(process.env.BAZILION_PUBLIC_ORIGIN);
|
|
511
|
+
const cookies = request.headers.get("cookie");
|
|
512
|
+
const session = readCookie(cookies, origin.sessionCookie);
|
|
513
|
+
const forwarded = [origin.sessionCookie, origin.csrfCookie].map((name) => [name, readCookie(cookies, name)]).filter(([, value]) => value).map(([name, value]) => `${name}=${value}`);
|
|
514
|
+
if (forwarded.length > 0) headers.set("cookie", forwarded.join("; "));
|
|
515
|
+
const init = {
|
|
516
|
+
method: request.method,
|
|
517
|
+
headers,
|
|
518
|
+
redirect: "manual",
|
|
519
|
+
signal: request.signal
|
|
520
|
+
};
|
|
521
|
+
if (request.method !== "GET" && request.method !== "HEAD") {
|
|
522
|
+
const body = await readBody(request, Boolean(session) || request.headers.has("authorization") ? MAX_BODY : MAX_ANONYMOUS_BODY);
|
|
523
|
+
if (!body) return new Response("request body too large", { status: 413 });
|
|
524
|
+
init.body = body;
|
|
525
|
+
}
|
|
526
|
+
const upstream = await fetch(`${DAEMON_BASE_URL}${url.pathname}${url.search}`, init);
|
|
527
|
+
const responseHeaders = new Headers();
|
|
528
|
+
for (const [name, value] of upstream.headers) if (!STRIP_RESPONSE.has(name)) responseHeaders.set(name, value);
|
|
529
|
+
for (const value of upstream.headers.getSetCookie()) responseHeaders.append("set-cookie", value);
|
|
530
|
+
return new Response(upstream.body, {
|
|
531
|
+
status: upstream.status,
|
|
532
|
+
statusText: upstream.statusText,
|
|
533
|
+
headers: responseHeaders
|
|
534
|
+
});
|
|
535
|
+
}
|
|
536
|
+
var Route = createFileRoute("/api/$")({ server: { handlers: {
|
|
537
|
+
GET: ({ request }) => forward(request),
|
|
538
|
+
POST: ({ request }) => forward(request),
|
|
539
|
+
PUT: ({ request }) => forward(request),
|
|
540
|
+
PATCH: ({ request }) => forward(request),
|
|
541
|
+
DELETE: ({ request }) => forward(request)
|
|
542
|
+
} } });
|
|
543
|
+
//#endregion
|
|
544
|
+
//#region src/routeTree.gen.ts
|
|
545
|
+
var WelcomeRoute = Route$2.update({
|
|
546
|
+
id: "/welcome",
|
|
547
|
+
path: "/welcome",
|
|
548
|
+
getParentRoute: () => Route$3
|
|
549
|
+
});
|
|
550
|
+
var LoginRoute = Route$4.update({
|
|
551
|
+
id: "/login",
|
|
552
|
+
path: "/login",
|
|
553
|
+
getParentRoute: () => Route$3
|
|
554
|
+
});
|
|
555
|
+
var IndexRoute = Route$5.update({
|
|
556
|
+
id: "/",
|
|
557
|
+
path: "/",
|
|
558
|
+
getParentRoute: () => Route$3
|
|
559
|
+
});
|
|
560
|
+
var TemplatesIndexRoute = Route$1.update({
|
|
561
|
+
id: "/templates/",
|
|
562
|
+
path: "/templates/",
|
|
563
|
+
getParentRoute: () => Route$3
|
|
564
|
+
});
|
|
565
|
+
var TeamsIndexRoute = Route$6.update({
|
|
566
|
+
id: "/teams/",
|
|
567
|
+
path: "/teams/",
|
|
568
|
+
getParentRoute: () => Route$3
|
|
569
|
+
});
|
|
570
|
+
var SkillsIndexRoute = Route$7.update({
|
|
571
|
+
id: "/skills/",
|
|
572
|
+
path: "/skills/",
|
|
573
|
+
getParentRoute: () => Route$3
|
|
574
|
+
});
|
|
575
|
+
var ConfigIndexRoute = Route$8.update({
|
|
576
|
+
id: "/config/",
|
|
577
|
+
path: "/config/",
|
|
578
|
+
getParentRoute: () => Route$3
|
|
579
|
+
});
|
|
580
|
+
var AttentionIndexRoute = Route$9.update({
|
|
581
|
+
id: "/attention/",
|
|
582
|
+
path: "/attention/",
|
|
583
|
+
getParentRoute: () => Route$3
|
|
584
|
+
});
|
|
585
|
+
var AgentsIndexRoute = Route$10.update({
|
|
586
|
+
id: "/agents/",
|
|
587
|
+
path: "/agents/",
|
|
588
|
+
getParentRoute: () => Route$3
|
|
589
|
+
});
|
|
590
|
+
var ConfigTokensRoute = Route$11.update({
|
|
591
|
+
id: "/config/tokens",
|
|
592
|
+
path: "/config/tokens",
|
|
593
|
+
getParentRoute: () => Route$3
|
|
594
|
+
});
|
|
595
|
+
var ConfigServicesRoute = Route$12.update({
|
|
596
|
+
id: "/config/services",
|
|
597
|
+
path: "/config/services",
|
|
598
|
+
getParentRoute: () => Route$3
|
|
599
|
+
});
|
|
600
|
+
var ConfigMcpRoute = Route$13.update({
|
|
601
|
+
id: "/config/mcp",
|
|
602
|
+
path: "/config/mcp",
|
|
603
|
+
getParentRoute: () => Route$3
|
|
604
|
+
});
|
|
605
|
+
var ApiSplatRoute = Route.update({
|
|
606
|
+
id: "/api/$",
|
|
607
|
+
path: "/api/$",
|
|
608
|
+
getParentRoute: () => Route$3
|
|
609
|
+
});
|
|
610
|
+
var TeamsIdRouteRoute = Route$14.update({
|
|
611
|
+
id: "/teams/$id",
|
|
612
|
+
path: "/teams/$id",
|
|
613
|
+
getParentRoute: () => Route$3
|
|
614
|
+
});
|
|
615
|
+
var AgentsIdRouteRoute = Route$15.update({
|
|
616
|
+
id: "/agents/$id",
|
|
617
|
+
path: "/agents/$id",
|
|
618
|
+
getParentRoute: () => Route$3
|
|
619
|
+
});
|
|
620
|
+
var TemplatesTeamsIndexRoute = Route$16.update({
|
|
621
|
+
id: "/templates/teams/",
|
|
622
|
+
path: "/templates/teams/",
|
|
623
|
+
getParentRoute: () => Route$3
|
|
624
|
+
});
|
|
625
|
+
var TemplatesAgentsIndexRoute = Route$17.update({
|
|
626
|
+
id: "/templates/agents/",
|
|
627
|
+
path: "/templates/agents/",
|
|
628
|
+
getParentRoute: () => Route$3
|
|
629
|
+
});
|
|
630
|
+
var TeamsIdIndexRoute = Route$18.update({
|
|
631
|
+
id: "/",
|
|
632
|
+
path: "/",
|
|
633
|
+
getParentRoute: () => TeamsIdRouteRoute
|
|
634
|
+
});
|
|
635
|
+
var AgentsIdIndexRoute = Route$19.update({
|
|
636
|
+
id: "/",
|
|
637
|
+
path: "/",
|
|
638
|
+
getParentRoute: () => AgentsIdRouteRoute
|
|
639
|
+
});
|
|
640
|
+
var TeamsIdReviewRoute = Route$20.update({
|
|
641
|
+
id: "/review",
|
|
642
|
+
path: "/review",
|
|
643
|
+
getParentRoute: () => TeamsIdRouteRoute
|
|
644
|
+
});
|
|
645
|
+
var TeamsIdResultsRoute = Route$21.update({
|
|
646
|
+
id: "/results",
|
|
647
|
+
path: "/results",
|
|
648
|
+
getParentRoute: () => TeamsIdRouteRoute
|
|
649
|
+
});
|
|
650
|
+
var TeamsIdPolicyRoute = Route$22.update({
|
|
651
|
+
id: "/policy",
|
|
652
|
+
path: "/policy",
|
|
653
|
+
getParentRoute: () => TeamsIdRouteRoute
|
|
654
|
+
});
|
|
655
|
+
var TeamsIdMemoryRoute = Route$23.update({
|
|
656
|
+
id: "/memory",
|
|
657
|
+
path: "/memory",
|
|
658
|
+
getParentRoute: () => TeamsIdRouteRoute
|
|
659
|
+
});
|
|
660
|
+
var TeamsIdMembersRoute = Route$24.update({
|
|
661
|
+
id: "/members",
|
|
662
|
+
path: "/members",
|
|
663
|
+
getParentRoute: () => TeamsIdRouteRoute
|
|
664
|
+
});
|
|
665
|
+
var ConfigIntegrationsTelegramRoute = Route$25.update({
|
|
666
|
+
id: "/config/integrations/telegram",
|
|
667
|
+
path: "/config/integrations/telegram",
|
|
668
|
+
getParentRoute: () => Route$3
|
|
669
|
+
});
|
|
670
|
+
var AgentsIdTriggersRoute = Route$26.update({
|
|
671
|
+
id: "/triggers",
|
|
672
|
+
path: "/triggers",
|
|
673
|
+
getParentRoute: () => AgentsIdRouteRoute
|
|
674
|
+
});
|
|
675
|
+
var AgentsIdSettingsRoute = Route$27.update({
|
|
676
|
+
id: "/settings",
|
|
677
|
+
path: "/settings",
|
|
678
|
+
getParentRoute: () => AgentsIdRouteRoute
|
|
679
|
+
});
|
|
680
|
+
var AgentsIdLearningRoute = Route$28.update({
|
|
681
|
+
id: "/learning",
|
|
682
|
+
path: "/learning",
|
|
683
|
+
getParentRoute: () => AgentsIdRouteRoute
|
|
684
|
+
});
|
|
685
|
+
var AgentsIdInboxRoute = Route$29.update({
|
|
686
|
+
id: "/inbox",
|
|
687
|
+
path: "/inbox",
|
|
688
|
+
getParentRoute: () => AgentsIdRouteRoute
|
|
689
|
+
});
|
|
690
|
+
var TemplatesTeamsIdIndexRoute = Route$30.update({
|
|
691
|
+
id: "/templates/teams/$id/",
|
|
692
|
+
path: "/templates/teams/$id/",
|
|
693
|
+
getParentRoute: () => Route$3
|
|
694
|
+
});
|
|
695
|
+
var TemplatesAgentsIdIndexRoute = Route$31.update({
|
|
696
|
+
id: "/templates/agents/$id/",
|
|
697
|
+
path: "/templates/agents/$id/",
|
|
698
|
+
getParentRoute: () => Route$3
|
|
699
|
+
});
|
|
700
|
+
var AgentsIdRouteRouteChildren = {
|
|
701
|
+
AgentsIdInboxRoute,
|
|
702
|
+
AgentsIdLearningRoute,
|
|
703
|
+
AgentsIdSettingsRoute,
|
|
704
|
+
AgentsIdTriggersRoute,
|
|
705
|
+
AgentsIdIndexRoute
|
|
706
|
+
};
|
|
707
|
+
var AgentsIdRouteRouteWithChildren = AgentsIdRouteRoute._addFileChildren(AgentsIdRouteRouteChildren);
|
|
708
|
+
var TeamsIdRouteRouteChildren = {
|
|
709
|
+
TeamsIdMembersRoute,
|
|
710
|
+
TeamsIdMemoryRoute,
|
|
711
|
+
TeamsIdPolicyRoute,
|
|
712
|
+
TeamsIdResultsRoute,
|
|
713
|
+
TeamsIdReviewRoute,
|
|
714
|
+
TeamsIdIndexRoute
|
|
715
|
+
};
|
|
716
|
+
var rootRouteChildren = {
|
|
717
|
+
IndexRoute,
|
|
718
|
+
LoginRoute,
|
|
719
|
+
WelcomeRoute,
|
|
720
|
+
AgentsIdRouteRoute: AgentsIdRouteRouteWithChildren,
|
|
721
|
+
TeamsIdRouteRoute: TeamsIdRouteRoute._addFileChildren(TeamsIdRouteRouteChildren),
|
|
722
|
+
ApiSplatRoute,
|
|
723
|
+
ConfigMcpRoute,
|
|
724
|
+
ConfigServicesRoute,
|
|
725
|
+
ConfigTokensRoute,
|
|
726
|
+
AgentsIndexRoute,
|
|
727
|
+
AttentionIndexRoute,
|
|
728
|
+
ConfigIndexRoute,
|
|
729
|
+
SkillsIndexRoute,
|
|
730
|
+
TeamsIndexRoute,
|
|
731
|
+
TemplatesIndexRoute,
|
|
732
|
+
ConfigIntegrationsTelegramRoute,
|
|
733
|
+
TemplatesAgentsIndexRoute,
|
|
734
|
+
TemplatesTeamsIndexRoute,
|
|
735
|
+
TemplatesAgentsIdIndexRoute,
|
|
736
|
+
TemplatesTeamsIdIndexRoute
|
|
737
|
+
};
|
|
738
|
+
var routeTree = Route$3._addFileChildren(rootRouteChildren)._addFileTypes();
|
|
739
|
+
//#endregion
|
|
740
|
+
//#region src/router.tsx
|
|
741
|
+
function getRouter() {
|
|
742
|
+
return createRouter({
|
|
743
|
+
routeTree,
|
|
744
|
+
scrollRestoration: true,
|
|
745
|
+
defaultPreload: "intent",
|
|
746
|
+
defaultErrorComponent: RouteErrorState,
|
|
747
|
+
defaultPendingComponent: RoutePendingState
|
|
748
|
+
});
|
|
749
|
+
}
|
|
750
|
+
//#endregion
|
|
751
|
+
export { getRouter };
|