bazilion 0.24.0 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -128
- package/dist/cli.js +5000 -2
- package/dist/cli.js.map +1 -0
- package/dist/daemon.js +17803 -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-BgW59Bvn.js +72 -0
- package/dist/web/client/assets/ConfigPage-BcjKer-E.js +1 -0
- package/dist/web/client/assets/ConfirmDialog-B5BLql5H.js +1 -0
- package/dist/web/client/assets/FieldRow-Dr1dDiQ6.js +1 -0
- package/dist/web/client/assets/ModelSelect-CvOHjUyB.js +1 -0
- package/dist/web/client/assets/ResultCard-CDLhGze2.js +1 -0
- package/dist/web/client/assets/SectionTabs-DXHzXmmb.js +1 -0
- package/dist/web/client/assets/SkillFindings-BPmVzjOa.js +1 -0
- package/dist/web/client/assets/SkillsPicker-Cr87y_W-.js +1 -0
- package/dist/web/client/assets/SpawnDialog-CWvaYWBr.js +1 -0
- package/dist/web/client/assets/SpawnTeamModal-DxU7QH0e.js +1 -0
- package/dist/web/client/assets/Tabs-D0LgBNIk.js +1 -0
- package/dist/web/client/assets/TeamForm-Bxl3s8yF.js +1 -0
- package/dist/web/client/assets/TeamPolicyEditor-B-ikYl3V.js +7 -0
- package/dist/web/client/assets/UnsavedChangesGuard-CmeIPiXp.js +1 -0
- package/dist/web/client/assets/_id-B-Vo1VkF.js +1 -0
- package/dist/web/client/assets/_id-CNN1ila9.js +1 -0
- package/dist/web/client/assets/_id-CrGDqaFa.js +1 -0
- package/dist/web/client/assets/_id-iXED17f-.js +1 -0
- package/dist/web/client/assets/agent-actions-CmkRSxQg.js +1 -0
- package/dist/web/client/assets/agents-DwDcKOif.js +1 -0
- package/dist/web/client/assets/agents-KnMSeucP.js +1 -0
- package/dist/web/client/assets/attention-CLQIHUF6.js +1 -0
- package/dist/web/client/assets/chevron-right-DZFmP-cr.js +1 -0
- package/dist/web/client/assets/config-B483VUYj.js +3 -0
- package/dist/web/client/assets/entities-xVoB-p2j.js +1 -0
- package/dist/web/client/assets/inbox-DIXsxGV8.js +1 -0
- package/dist/web/client/assets/index-CKJ3uVR4.js +52 -0
- package/dist/web/client/assets/jsx-runtime-bzQ4Vb5N.js +1 -0
- package/dist/web/client/assets/learning-DDTz_N6N.js +1 -0
- package/dist/web/client/assets/login-6S3kA9Yb.js +1 -0
- package/dist/web/client/assets/mcp-Dm4DfYI9.js +1 -0
- package/dist/web/client/assets/members-CD93Kya7.js +1 -0
- package/dist/web/client/assets/memory-M28_uFOH.js +1 -0
- package/dist/web/client/assets/plus-xCBcVxeD.js +1 -0
- package/dist/web/client/assets/policy-IKYNTvWX.js +1 -0
- package/dist/web/client/assets/preload-helper-eUUcpe2S.js +1 -0
- package/dist/web/client/assets/results-CGNpUJ11.js +1 -0
- package/dist/web/client/assets/review-BN6V988m.js +1 -0
- package/dist/web/client/assets/route-DUIeAVZz.js +1 -0
- package/dist/web/client/assets/route-V5VM1ufA.js +1 -0
- package/dist/web/client/assets/routes-CInZFLoI.js +1 -0
- package/dist/web/client/assets/services-CeB7gfY5.js +1 -0
- package/dist/web/client/assets/settings-BWonPTKi.js +1 -0
- package/dist/web/client/assets/skills-CgrXwmh8.js +1 -0
- package/dist/web/client/assets/styles-d9JiV6N4.css +2 -0
- package/dist/web/client/assets/teams-C98Ww6Xu.js +1 -0
- package/dist/web/client/assets/teams-D-g74z8r.js +1 -0
- package/dist/web/client/assets/telegram-Cc8NJ4Tc.js +1 -0
- package/dist/web/client/assets/tokens-ZTSxCsD_.js +1 -0
- package/dist/web/client/assets/triggers-Br8Wk4Yk.js +1 -0
- package/dist/web/client/assets/welcome-C-hJvXWG.js +1 -0
- 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-BUFDfU9j.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-CMxeC2Bd.js → config-C0lOmAcs.js} +139 -414
- package/dist/web/server/assets/{config-CbioK6nX.js → config-D7Z2wgbk.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-CLWr5_0I.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-vAv1HkV1.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 +1654 -5842
- package/dist/worker.js.map +1 -1
- package/package.json +6 -15
- package/dist/cli-main.js +0 -9180
- package/dist/cli-main.js.map +0 -1
- package/dist/daemon-main.js +0 -43074
- package/dist/daemon-main.js.map +0 -1
- package/dist/migrations/0001_init.sql +0 -1101
- 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/runtime-version.js +0 -28
- package/dist/runtime-version.js.map +0 -1
- package/dist/web/client/assets/AgentTabs-0mMqUuts.js +0 -1
- package/dist/web/client/assets/ChatPane-C4ZAMSqQ.js +0 -76
- package/dist/web/client/assets/ConfigPage-CbALCsl0.js +0 -1
- package/dist/web/client/assets/ConfirmDialog-CB1a-szq.js +0 -1
- package/dist/web/client/assets/FieldRow-BHGq10hz.js +0 -1
- package/dist/web/client/assets/ProductionTeamPolicyEditor-B4Ysob7y.js +0 -7
- package/dist/web/client/assets/ProfileCommunicationEditor-Bi1SwX0T.js +0 -1
- package/dist/web/client/assets/RecoveryState-CDWhoT3x.js +0 -1
- package/dist/web/client/assets/ResultCard-Crmt8j95.js +0 -1
- package/dist/web/client/assets/ResultSourceConversation-CqwZKlKb.js +0 -1
- package/dist/web/client/assets/SectionTabs-mghnc98b.js +0 -1
- package/dist/web/client/assets/TeamTabs-BuZ3DvCw.js +0 -1
- package/dist/web/client/assets/TemplatesTabs-D71oTTXM.js +0 -1
- package/dist/web/client/assets/UnsavedChangesGuard-CiCtGDIH.js +0 -1
- package/dist/web/client/assets/_id-B-8ssJLW.js +0 -1
- package/dist/web/client/assets/_id-BVY0iUYM.js +0 -1
- package/dist/web/client/assets/_id-C7A_A3eM.js +0 -1
- package/dist/web/client/assets/_id-CQlUNjzV.js +0 -1
- package/dist/web/client/assets/_id-CeALz6bj.js +0 -1
- package/dist/web/client/assets/_id-DQqcn57I.js +0 -1
- package/dist/web/client/assets/_id-DRiwwqZL.js +0 -1
- package/dist/web/client/assets/_id-DaqX-WEB.js +0 -1
- package/dist/web/client/assets/activity-C5aaqPEN.js +0 -1
- package/dist/web/client/assets/activity-D4Nt8GQM.js +0 -1
- package/dist/web/client/assets/agents-BPLszpKx.js +0 -1
- package/dist/web/client/assets/agents-BUqq1VBQ.js +0 -1
- package/dist/web/client/assets/agents-DFOLPsgX.js +0 -1
- package/dist/web/client/assets/approvals-8PPXdZxV.js +0 -1
- package/dist/web/client/assets/approvals-MVCITL8Q.js +0 -1
- package/dist/web/client/assets/attention-DiyHVOcZ.js +0 -1
- package/dist/web/client/assets/attention-e273gZ8d.js +0 -1
- package/dist/web/client/assets/chevron-right-DgJy0QeF.js +0 -1
- package/dist/web/client/assets/config-Dm6OgnLh.js +0 -3
- package/dist/web/client/assets/context-DhgSlMk5.js +0 -1
- package/dist/web/client/assets/git-review-presentation-CzHQulDk.js +0 -1
- package/dist/web/client/assets/inbox-B3To3KpL.js +0 -1
- package/dist/web/client/assets/inbox-C1_vHPb8.js +0 -1
- package/dist/web/client/assets/index-DtEE9JX2.js +0 -52
- package/dist/web/client/assets/jsx-runtime-DGeXAQPT.js +0 -1
- package/dist/web/client/assets/learning-B7wX_mkT.js +0 -1
- package/dist/web/client/assets/learning-DDwUAKmq.js +0 -1
- package/dist/web/client/assets/login-CWaSGdgc.js +0 -1
- package/dist/web/client/assets/mcp-CO5iBKHD.js +0 -1
- package/dist/web/client/assets/mcp-DO8sSn5c.js +0 -1
- package/dist/web/client/assets/members-Bd3z1Mbb.js +0 -1
- package/dist/web/client/assets/members-Dx9OcdY1.js +0 -1
- package/dist/web/client/assets/memory-BIZi6bBM.js +0 -1
- package/dist/web/client/assets/memory-DrYbH0we.js +0 -1
- package/dist/web/client/assets/policy-CcnTn0qG.js +0 -1
- package/dist/web/client/assets/policy-Dsj-SWqE.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-GeOLM5Cw.js +0 -1
- package/dist/web/client/assets/results-t7jAchgU.js +0 -1
- package/dist/web/client/assets/review-CQaZNlyx.js +0 -1
- package/dist/web/client/assets/review-CYvx-3K2.js +0 -1
- package/dist/web/client/assets/routes-DoK4DMdi.js +0 -1
- package/dist/web/client/assets/services-BI7iyTHh.js +0 -1
- package/dist/web/client/assets/services-c9HkxKEP.js +0 -1
- package/dist/web/client/assets/skills-B0O0zwg1.js +0 -1
- package/dist/web/client/assets/skills-Ddf5PBNn.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-BDbkurIa.js +0 -1
- package/dist/web/client/assets/teams-BNQ4z_k3.js +0 -1
- package/dist/web/client/assets/teams-Wvr8-LhE.js +0 -1
- package/dist/web/client/assets/teams-kRB5hV3h.js +0 -1
- package/dist/web/client/assets/telegram-Dx9tzt9d.js +0 -1
- package/dist/web/client/assets/templates-CGQ93r-m.js +0 -1
- package/dist/web/client/assets/tokens-CsOJULk9.js +0 -1
- package/dist/web/client/assets/tokens-zqJy3CQD.js +0 -1
- package/dist/web/client/assets/triggers-9UUKTR6l.js +0 -1
- package/dist/web/client/assets/triggers-BiXb1VFy.js +0 -1
- package/dist/web/client/assets/verifications-BKoHhRqF.js +0 -1
- package/dist/web/client/assets/verifications-CElk4UQp.js +0 -2
- package/dist/web/client/assets/welcome-BdcpBETx.js +0 -1
- package/dist/web/client/assets/wire-constants-CBD-lTaa.js +0 -1
- package/dist/web/client/assets/x-DtPVZP1O.js +0 -1
- package/dist/web/server/assets/AgentTabs-DVVkxBks.js +0 -49
- package/dist/web/server/assets/ChatPane-3CIVTz7o.js +0 -2954
- 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-DwuGuTa-.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-BS4MnPa3.js +0 -18
- package/dist/web/server/assets/_id-BSkg6FJC.js +0 -45
- package/dist/web/server/assets/_id-BXOT74Jd.js +0 -900
- 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-C1-ygfez.js +0 -1183
- package/dist/web/server/assets/_id-CAxK6pln.js +0 -6
- package/dist/web/server/assets/_id-CI33J2xv.js +0 -11
- package/dist/web/server/assets/_id-CWlZT9kI.js +0 -26
- 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/_tanstack-start-manifest_v-LR-ldomm.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-DmzP8n2G.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-C6edENBF.js +0 -362
- package/dist/web/server/assets/results-DjTerNLY.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-Doy5hj6V.js +0 -921
- package/dist/web/server/assets/routes-B6TnJyQ8.js +0 -57
- package/dist/web/server/assets/routes-ByEYvEFv.js +0 -53
- package/dist/web/server/assets/routes-Bz-Gprcp.js +0 -14
- 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-BVR0OK7x.js +0 -323
- package/dist/web/server/assets/verifications-DjZsx65b.js +0 -12
- package/dist/web/server/assets/verifications-EIw3Xh61.js +0 -28
- 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
|
@@ -1,279 +1,132 @@
|
|
|
1
|
-
import { n as Button } from "./
|
|
2
|
-
import {
|
|
3
|
-
import { t as Route } from "./config-
|
|
4
|
-
import { t as ConfirmDialog } from "./ConfirmDialog-
|
|
5
|
-
import { t as ConfigPage } from "./ConfigPage-
|
|
6
|
-
import { t as FieldRow } from "./FieldRow-
|
|
1
|
+
import { i as errorMessage, n as api, o as Button } from "./api-WWxPqx67.js";
|
|
2
|
+
import { c as StatusBadge, s as Stat, t as EmptyState } from "./Page-CMSYKXWJ.js";
|
|
3
|
+
import { t as Route } from "./config-D7Z2wgbk.js";
|
|
4
|
+
import { t as ConfirmDialog } from "./ConfirmDialog-LdVlEanK.js";
|
|
5
|
+
import { t as ConfigPage } from "./ConfigPage-CGld_wCK.js";
|
|
6
|
+
import { t as FieldRow } from "./FieldRow-Dah2KKqo.js";
|
|
7
7
|
import { useEffect, useMemo, useRef, useState } from "react";
|
|
8
8
|
import { useRouter } from "@tanstack/react-router";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
import { CheckCircle2, ChevronDown, ChevronRight, Search, Server
|
|
11
|
-
//#region src/components/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const protectedTurns = status.protectedUnattendedTurns;
|
|
10
|
+
import { CheckCircle2, ChevronDown, ChevronRight, Search, Server } from "lucide-react";
|
|
11
|
+
//#region src/components/BackupCard.tsx
|
|
12
|
+
/** The same archive as `bazilion backup create`, saved by the browser straight from the daemon. */
|
|
13
|
+
function BackupCard() {
|
|
15
14
|
return /* @__PURE__ */ jsxs("section", {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
children: "Operator HTTP requests keep their configured compatibility behavior. Unattended sources use a separate mandatory protected baseline."
|
|
25
|
-
})]
|
|
15
|
+
"aria-label": "Backup",
|
|
16
|
+
className: "overflow-hidden rounded-2xl border border-border bg-card shadow-baziu-sm",
|
|
17
|
+
children: [/* @__PURE__ */ jsx("header", {
|
|
18
|
+
className: "border-b border-border px-4 py-3 sm:px-5",
|
|
19
|
+
children: /* @__PURE__ */ jsx("h2", {
|
|
20
|
+
className: "text-base font-semibold",
|
|
21
|
+
children: "Backup"
|
|
22
|
+
})
|
|
26
23
|
}), /* @__PURE__ */ jsxs("div", {
|
|
27
|
-
className: "
|
|
28
|
-
children: [/* @__PURE__ */ jsxs("
|
|
29
|
-
className: "
|
|
24
|
+
className: "flex flex-wrap items-center justify-between gap-3 p-4 text-sm sm:px-5",
|
|
25
|
+
children: [/* @__PURE__ */ jsxs("p", {
|
|
26
|
+
className: "m-0 max-w-prose text-muted-foreground",
|
|
30
27
|
children: [
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}), /* @__PURE__ */ jsx(StatusBadge, {
|
|
37
|
-
ok: false,
|
|
38
|
-
children: "legacy · unprotected"
|
|
39
|
-
})]
|
|
40
|
-
}),
|
|
41
|
-
/* @__PURE__ */ jsxs("dl", {
|
|
42
|
-
className: "space-y-2 text-sm",
|
|
43
|
-
children: [
|
|
44
|
-
/* @__PURE__ */ jsx(StatusRow, {
|
|
45
|
-
label: "Coding surface",
|
|
46
|
-
value: codingSurfaceLabel(configured.codingSurface)
|
|
47
|
-
}),
|
|
48
|
-
/* @__PURE__ */ jsx(StatusRow, {
|
|
49
|
-
label: "Docker image",
|
|
50
|
-
value: configured.dockerImage,
|
|
51
|
-
mono: true
|
|
52
|
-
}),
|
|
53
|
-
/* @__PURE__ */ jsx(StatusRow, {
|
|
54
|
-
label: "Browser",
|
|
55
|
-
value: configured.browser
|
|
56
|
-
}),
|
|
57
|
-
/* @__PURE__ */ jsx(StatusRow, {
|
|
58
|
-
label: "MCP",
|
|
59
|
-
value: configured.mcp
|
|
60
|
-
})
|
|
61
|
-
]
|
|
62
|
-
}),
|
|
63
|
-
/* @__PURE__ */ jsx("p", {
|
|
64
|
-
className: "mt-3 text-xs text-muted-foreground",
|
|
65
|
-
children: "This compatibility branch is for operator requests; Telegram and unattended delivery never select it."
|
|
66
|
-
})
|
|
67
|
-
]
|
|
68
|
-
}), /* @__PURE__ */ jsxs("section", {
|
|
69
|
-
className: `rounded-md border p-3 ${protectedTurns.baseRuntimeReady ? "border-success/25 bg-success/5" : "border-warning/25 bg-warning/10"}`,
|
|
70
|
-
children: [
|
|
71
|
-
/* @__PURE__ */ jsxs("div", {
|
|
72
|
-
className: "mb-3 flex flex-wrap items-center justify-between gap-2",
|
|
73
|
-
children: [/* @__PURE__ */ jsx("h3", {
|
|
74
|
-
className: "font-semibold",
|
|
75
|
-
children: "Protected unattended turns"
|
|
76
|
-
}), /* @__PURE__ */ jsx(StatusBadge, {
|
|
77
|
-
ok: protectedTurns.baseRuntimeReady,
|
|
78
|
-
children: protectedTurns.baseRuntimeReady ? "base runtime ready" : "base runtime unavailable"
|
|
79
|
-
})]
|
|
80
|
-
}),
|
|
81
|
-
/* @__PURE__ */ jsx("p", {
|
|
82
|
-
className: "mb-3 text-xs text-muted-foreground",
|
|
83
|
-
children: "Telegram, schedules, inbox wake-ups, and approval delivery cannot select the legacy surface."
|
|
84
|
-
}),
|
|
85
|
-
/* @__PURE__ */ jsxs("dl", {
|
|
86
|
-
className: "space-y-2 text-sm",
|
|
87
|
-
children: [
|
|
88
|
-
/* @__PURE__ */ jsx(StatusRow, {
|
|
89
|
-
label: "Coding surface",
|
|
90
|
-
value: "Docker only"
|
|
91
|
-
}),
|
|
92
|
-
/* @__PURE__ */ jsx(StatusRow, {
|
|
93
|
-
label: "Docker",
|
|
94
|
-
value: protectedTurns.docker.ready ? "ready" : "unavailable",
|
|
95
|
-
ok: protectedTurns.docker.ready
|
|
96
|
-
}),
|
|
97
|
-
/* @__PURE__ */ jsx(StatusRow, {
|
|
98
|
-
label: "Docker image",
|
|
99
|
-
value: protectedTurns.docker.image,
|
|
100
|
-
mono: true
|
|
101
|
-
}),
|
|
102
|
-
protectedTurns.docker.reason && /* @__PURE__ */ jsx(StatusRow, {
|
|
103
|
-
label: "Docker reason",
|
|
104
|
-
value: protectedTurns.docker.reason
|
|
105
|
-
}),
|
|
106
|
-
/* @__PURE__ */ jsx(StatusRow, {
|
|
107
|
-
label: "OpenAI Codex enabled",
|
|
108
|
-
value: yesNo(protectedTurns.openaiCodex.enabled),
|
|
109
|
-
ok: protectedTurns.openaiCodex.enabled
|
|
110
|
-
}),
|
|
111
|
-
/* @__PURE__ */ jsx(StatusRow, {
|
|
112
|
-
label: "ChatGPT connected",
|
|
113
|
-
value: yesNo(protectedTurns.openaiCodex.connected),
|
|
114
|
-
ok: protectedTurns.openaiCodex.connected
|
|
115
|
-
}),
|
|
116
|
-
/* @__PURE__ */ jsx(StatusRow, {
|
|
117
|
-
label: "OpenAI access",
|
|
118
|
-
value: openAIAccessLabel(protectedTurns.openaiCodex),
|
|
119
|
-
ok: protectedTurns.openaiCodex.accessCurrent || protectedTurns.openaiCodex.refreshOnNextTurn
|
|
120
|
-
}),
|
|
121
|
-
/* @__PURE__ */ jsx(StatusRow, {
|
|
122
|
-
label: "OpenAI Codex baseline eligible",
|
|
123
|
-
value: yesNo(protectedTurns.openaiCodex.baselineEligible),
|
|
124
|
-
ok: protectedTurns.openaiCodex.baselineEligible
|
|
125
|
-
}),
|
|
126
|
-
/* @__PURE__ */ jsx(StatusRow, {
|
|
127
|
-
label: "Browser",
|
|
128
|
-
value: protectedTurns.browser,
|
|
129
|
-
ok: true
|
|
130
|
-
}),
|
|
131
|
-
/* @__PURE__ */ jsx(StatusRow, {
|
|
132
|
-
label: "MCP",
|
|
133
|
-
value: protectedTurns.mcp,
|
|
134
|
-
ok: true
|
|
135
|
-
})
|
|
136
|
-
]
|
|
137
|
-
}),
|
|
138
|
-
protectedTurns.remediation && /* @__PURE__ */ jsxs("p", {
|
|
139
|
-
className: "mt-3 rounded-md border border-warning/25 bg-background/60 px-3 py-2 text-xs text-warning",
|
|
140
|
-
children: [
|
|
141
|
-
/* @__PURE__ */ jsx("strong", { children: "Remediation:" }),
|
|
142
|
-
" ",
|
|
143
|
-
protectedTurns.remediation
|
|
144
|
-
]
|
|
145
|
-
}),
|
|
146
|
-
/* @__PURE__ */ jsx("p", {
|
|
147
|
-
className: "mt-3 text-xs text-muted-foreground",
|
|
148
|
-
children: "Every turn separately validates its selected normal/review model, bound OAuth refresh, and Team/input/memory/skill mounts and paths before execution."
|
|
149
|
-
})
|
|
28
|
+
"A tar.gz of the Bazilion home. It is not encrypted and holds every stored credential; for an encrypted copy run ",
|
|
29
|
+
/* @__PURE__ */ jsx("code", { children: "bazilion backup create --recipient <age1…>" }),
|
|
30
|
+
". Restore with ",
|
|
31
|
+
/* @__PURE__ */ jsx("code", { children: "bazilion backup restore" }),
|
|
32
|
+
" while the daemon is stopped."
|
|
150
33
|
]
|
|
34
|
+
}), /* @__PURE__ */ jsx("a", {
|
|
35
|
+
href: "/api/backup",
|
|
36
|
+
download: true,
|
|
37
|
+
className: "btn-primary no-underline",
|
|
38
|
+
children: "Download backup"
|
|
151
39
|
})]
|
|
152
40
|
})]
|
|
153
41
|
});
|
|
154
42
|
}
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
43
|
+
//#endregion
|
|
44
|
+
//#region src/components/InstallationReadinessCard.tsx
|
|
45
|
+
function InstallationReadinessCard({ report }) {
|
|
46
|
+
return /* @__PURE__ */ jsxs("section", {
|
|
47
|
+
"aria-label": "Installation health",
|
|
48
|
+
className: "overflow-hidden rounded-2xl border border-border bg-card shadow-baziu-sm",
|
|
49
|
+
children: [/* @__PURE__ */ jsx("header", {
|
|
50
|
+
className: "border-b border-border px-4 py-3 sm:px-5",
|
|
51
|
+
children: /* @__PURE__ */ jsx("h2", {
|
|
52
|
+
className: "text-base font-semibold",
|
|
53
|
+
children: "Installation health"
|
|
54
|
+
})
|
|
55
|
+
}), /* @__PURE__ */ jsxs("dl", {
|
|
56
|
+
className: "p-4 sm:px-5",
|
|
57
|
+
children: [
|
|
58
|
+
/* @__PURE__ */ jsx("dt", {
|
|
59
|
+
className: "text-xs text-muted-foreground",
|
|
60
|
+
children: "Installation health"
|
|
61
|
+
}),
|
|
62
|
+
/* @__PURE__ */ jsx("dd", {
|
|
63
|
+
className: `mt-1 font-semibold ${report.ok ? "text-success" : "text-warning"}`,
|
|
64
|
+
children: report.ok ? "Healthy" : "Issues found"
|
|
65
|
+
}),
|
|
66
|
+
/* @__PURE__ */ jsx("dd", {
|
|
67
|
+
className: "mt-1 text-xs text-muted-foreground",
|
|
68
|
+
children: "Run bazilion doctor for the details."
|
|
69
|
+
})
|
|
70
|
+
]
|
|
71
|
+
})]
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
//#endregion
|
|
75
|
+
//#region src/components/RuntimeCard.tsx
|
|
76
|
+
/** Sandbox and approval apply the same way to every turn: chat, Telegram, schedules and inbox. */
|
|
77
|
+
function RuntimeCard({ shell }) {
|
|
78
|
+
return /* @__PURE__ */ jsxs("section", {
|
|
79
|
+
"aria-label": "Agent runtime",
|
|
80
|
+
className: "overflow-hidden rounded-2xl border border-border bg-card shadow-baziu-sm",
|
|
81
|
+
children: [/* @__PURE__ */ jsxs("header", {
|
|
82
|
+
className: "border-b border-border px-4 py-3 sm:px-5",
|
|
83
|
+
children: [/* @__PURE__ */ jsx("h2", {
|
|
84
|
+
className: "text-base font-semibold",
|
|
85
|
+
children: "Agent runtime"
|
|
86
|
+
}), /* @__PURE__ */ jsx("p", {
|
|
87
|
+
className: "mt-1 text-xs text-muted-foreground",
|
|
88
|
+
children: "Applies to every turn: chat, Telegram, schedules and inbox. Unattended turns auto-deny dangerous commands."
|
|
89
|
+
})]
|
|
90
|
+
}), shell.ok ? /* @__PURE__ */ jsxs("dl", {
|
|
91
|
+
className: "divide-y divide-border px-4 text-sm sm:px-5",
|
|
92
|
+
children: [
|
|
93
|
+
/* @__PURE__ */ jsx(Row, {
|
|
94
|
+
label: "Sandbox",
|
|
95
|
+
value: shell.sandboxMode === "docker" ? `Docker (${shell.sandboxImage}) — bash in a network-disabled container` : "Off — bash and file tools run on the host, unisolated"
|
|
96
|
+
}),
|
|
97
|
+
shell.docker && /* @__PURE__ */ jsx(Row, {
|
|
98
|
+
label: "Docker",
|
|
99
|
+
value: shell.docker.ready ? "Ready" : `Unavailable — ${shell.docker.reason}`,
|
|
100
|
+
ok: shell.docker.ready
|
|
101
|
+
}),
|
|
102
|
+
shell.docker?.remediation && /* @__PURE__ */ jsx(Row, {
|
|
103
|
+
label: "Remediation",
|
|
104
|
+
value: shell.docker.remediation
|
|
105
|
+
}),
|
|
106
|
+
/* @__PURE__ */ jsx(Row, {
|
|
107
|
+
label: "Dangerous-command approval",
|
|
108
|
+
value: shell.approvalMode === "dangerous" ? "On — chat can allow once; unattended turns auto-deny" : "Off"
|
|
109
|
+
})
|
|
110
|
+
]
|
|
111
|
+
}) : /* @__PURE__ */ jsxs("p", {
|
|
112
|
+
role: "alert",
|
|
113
|
+
className: "px-4 py-3 text-sm text-warning sm:px-5",
|
|
114
|
+
children: ["Invalid shell-security configuration: ", shell.error]
|
|
115
|
+
})]
|
|
159
116
|
});
|
|
160
117
|
}
|
|
161
|
-
function
|
|
118
|
+
function Row({ label, value, ok }) {
|
|
162
119
|
return /* @__PURE__ */ jsxs("div", {
|
|
163
|
-
className: "
|
|
120
|
+
className: "grid gap-1 py-3 sm:grid-cols-[14rem_1fr] sm:gap-4",
|
|
164
121
|
children: [/* @__PURE__ */ jsx("dt", {
|
|
165
122
|
className: "text-muted-foreground",
|
|
166
123
|
children: label
|
|
167
124
|
}), /* @__PURE__ */ jsx("dd", {
|
|
168
|
-
className:
|
|
125
|
+
className: ok === void 0 ? "font-medium" : ok ? "text-success" : "text-warning",
|
|
169
126
|
children: value
|
|
170
127
|
})]
|
|
171
128
|
});
|
|
172
129
|
}
|
|
173
|
-
function codingSurfaceLabel(surface) {
|
|
174
|
-
if (surface === "host") return "Host tools";
|
|
175
|
-
if (surface === "docker") return "Docker only";
|
|
176
|
-
return "Unavailable";
|
|
177
|
-
}
|
|
178
|
-
function yesNo(value) {
|
|
179
|
-
return value ? "yes" : "no";
|
|
180
|
-
}
|
|
181
|
-
function openAIAccessLabel(status) {
|
|
182
|
-
if (status.accessCurrent) return "current";
|
|
183
|
-
if (status.refreshOnNextTurn) return "refresh on next turn";
|
|
184
|
-
return "unavailable";
|
|
185
|
-
}
|
|
186
|
-
//#endregion
|
|
187
|
-
//#region src/components/InstallationReadinessCard.tsx
|
|
188
|
-
function InstallationReadinessCard({ report }) {
|
|
189
|
-
return /* @__PURE__ */ jsxs("section", {
|
|
190
|
-
"aria-label": "Installation and platform support",
|
|
191
|
-
className: "overflow-hidden rounded-2xl border border-border bg-card shadow-baziu-sm",
|
|
192
|
-
children: [
|
|
193
|
-
/* @__PURE__ */ jsxs("header", {
|
|
194
|
-
className: "border-b border-border px-4 py-3 sm:px-5",
|
|
195
|
-
children: [/* @__PURE__ */ jsx("h2", {
|
|
196
|
-
className: "text-base font-semibold",
|
|
197
|
-
children: "Installation and platform support"
|
|
198
|
-
}), /* @__PURE__ */ jsxs("p", {
|
|
199
|
-
className: "mt-1 text-xs text-muted-foreground",
|
|
200
|
-
children: [
|
|
201
|
-
"Daemon platform: ",
|
|
202
|
-
report.platformCapabilities.platform,
|
|
203
|
-
". ",
|
|
204
|
-
report.platformCapabilities.note
|
|
205
|
-
]
|
|
206
|
-
})]
|
|
207
|
-
}),
|
|
208
|
-
/* @__PURE__ */ jsxs("dl", {
|
|
209
|
-
className: "grid gap-4 border-b border-border p-4 sm:grid-cols-3 sm:px-5",
|
|
210
|
-
children: [
|
|
211
|
-
/* @__PURE__ */ jsxs("div", { children: [
|
|
212
|
-
/* @__PURE__ */ jsx("dt", {
|
|
213
|
-
className: "text-xs text-muted-foreground",
|
|
214
|
-
children: "Installation health"
|
|
215
|
-
}),
|
|
216
|
-
/* @__PURE__ */ jsx("dd", {
|
|
217
|
-
className: `mt-1 font-semibold ${report.ok ? "text-success" : "text-warning"}`,
|
|
218
|
-
children: report.ok ? "Healthy" : "Issues found"
|
|
219
|
-
}),
|
|
220
|
-
/* @__PURE__ */ jsx("dd", {
|
|
221
|
-
className: "mt-1 text-xs text-muted-foreground",
|
|
222
|
-
children: "Structural checks only. Run bazilion doctor for details."
|
|
223
|
-
})
|
|
224
|
-
] }),
|
|
225
|
-
/* @__PURE__ */ jsxs("div", { children: [
|
|
226
|
-
/* @__PURE__ */ jsx("dt", {
|
|
227
|
-
className: "text-xs text-muted-foreground",
|
|
228
|
-
children: "Ordinary chat execution"
|
|
229
|
-
}),
|
|
230
|
-
/* @__PURE__ */ jsx("dd", {
|
|
231
|
-
className: "mt-1 font-semibold",
|
|
232
|
-
children: "Not checked"
|
|
233
|
-
}),
|
|
234
|
-
/* @__PURE__ */ jsx("dd", {
|
|
235
|
-
className: "mt-1 text-xs text-muted-foreground",
|
|
236
|
-
children: "Test your selected provider, then try an Agent chat."
|
|
237
|
-
})
|
|
238
|
-
] }),
|
|
239
|
-
/* @__PURE__ */ jsxs("div", { children: [
|
|
240
|
-
/* @__PURE__ */ jsx("dt", {
|
|
241
|
-
className: "text-xs text-muted-foreground",
|
|
242
|
-
children: "Protected unattended baseline"
|
|
243
|
-
}),
|
|
244
|
-
/* @__PURE__ */ jsx("dd", {
|
|
245
|
-
className: `mt-1 font-semibold ${report.protectedWorkBaselineReady ? "text-success" : "text-warning"}`,
|
|
246
|
-
children: report.protectedWorkBaselineReady ? "Ready · per-turn checks still apply" : "Unavailable"
|
|
247
|
-
}),
|
|
248
|
-
/* @__PURE__ */ jsx("dd", {
|
|
249
|
-
className: "mt-1 text-xs text-muted-foreground",
|
|
250
|
-
children: "See Execution security below for prerequisites and remediation. This is separate from installation health; protected turns never fall back to host execution."
|
|
251
|
-
})
|
|
252
|
-
] })
|
|
253
|
-
]
|
|
254
|
-
}),
|
|
255
|
-
/* @__PURE__ */ jsx("dl", {
|
|
256
|
-
className: "divide-y divide-border px-4 sm:px-5",
|
|
257
|
-
children: report.platformCapabilities.capabilities.map((capability) => /* @__PURE__ */ jsxs("div", {
|
|
258
|
-
className: "grid gap-1 py-3 sm:grid-cols-2 sm:gap-4",
|
|
259
|
-
children: [/* @__PURE__ */ jsx("dt", {
|
|
260
|
-
className: "text-sm font-medium",
|
|
261
|
-
children: capability.label
|
|
262
|
-
}), /* @__PURE__ */ jsxs("dd", {
|
|
263
|
-
className: "min-w-0 text-sm",
|
|
264
|
-
children: [/* @__PURE__ */ jsxs("span", {
|
|
265
|
-
className: capability.support === "unsupported" ? "text-warning" : "",
|
|
266
|
-
children: [capability.support === "supported" ? "Supported" : "Unsupported", " on this platform"]
|
|
267
|
-
}), /* @__PURE__ */ jsx("p", {
|
|
268
|
-
className: "mt-1 text-xs leading-5 text-muted-foreground",
|
|
269
|
-
children: capability.detail
|
|
270
|
-
})]
|
|
271
|
-
})]
|
|
272
|
-
}, capability.id))
|
|
273
|
-
})
|
|
274
|
-
]
|
|
275
|
-
});
|
|
276
|
-
}
|
|
277
130
|
//#endregion
|
|
278
131
|
//#region src/lib/provider-presentation.ts
|
|
279
132
|
var RECOMMENDED = new Set([
|
|
@@ -297,7 +150,6 @@ function providerMatches(provider, query) {
|
|
|
297
150
|
provider.id,
|
|
298
151
|
provider.displayName,
|
|
299
152
|
provider.hint ?? "",
|
|
300
|
-
provider.envHint,
|
|
301
153
|
...provider.fields.flatMap((field) => [field.label, field.envVar]),
|
|
302
154
|
...provider.curated,
|
|
303
155
|
...provider.catalog
|
|
@@ -348,14 +200,14 @@ function providerReadiness(provider) {
|
|
|
348
200
|
tone: "warning"
|
|
349
201
|
};
|
|
350
202
|
return {
|
|
351
|
-
label: "
|
|
352
|
-
tone: "
|
|
203
|
+
label: "Enabled",
|
|
204
|
+
tone: "neutral"
|
|
353
205
|
};
|
|
354
206
|
}
|
|
355
207
|
//#endregion
|
|
356
208
|
//#region src/routes/config/index.tsx?tsr-split=component
|
|
357
209
|
function ProvidersPage() {
|
|
358
|
-
const { providers, openaiCodex,
|
|
210
|
+
const { providers, openaiCodex, runtime, readiness } = Route.useLoaderData();
|
|
359
211
|
const setupComplete = providers.some((p) => p.enabled && p.curated.length > 0);
|
|
360
212
|
const startedComplete = useRef(setupComplete);
|
|
361
213
|
const [showCompletion, setShowCompletion] = useState(false);
|
|
@@ -367,56 +219,32 @@ function ProvidersPage() {
|
|
|
367
219
|
if (!startedComplete.current && setupComplete) setShowCompletion(true);
|
|
368
220
|
}, [setupComplete]);
|
|
369
221
|
return /* @__PURE__ */ jsxs(ConfigPage, {
|
|
370
|
-
active: "providers",
|
|
371
222
|
title: "Providers",
|
|
372
223
|
description: /* @__PURE__ */ jsx(Fragment, { children: "Connect the model services your agents may use. Credentials stay encrypted; advanced endpoint and environment names remain available inside each provider." }),
|
|
373
224
|
children: [
|
|
374
225
|
/* @__PURE__ */ jsxs("div", {
|
|
375
226
|
className: "grid gap-3 sm:grid-cols-3",
|
|
376
|
-
"aria-label": "Provider summary",
|
|
377
227
|
children: [
|
|
378
|
-
/* @__PURE__ */ jsx(
|
|
228
|
+
/* @__PURE__ */ jsx(Stat, {
|
|
379
229
|
label: "Configured",
|
|
380
230
|
value: configured,
|
|
381
231
|
detail: "credentials, models, or toggle"
|
|
382
232
|
}),
|
|
383
|
-
/* @__PURE__ */ jsx(
|
|
233
|
+
/* @__PURE__ */ jsx(Stat, {
|
|
384
234
|
label: "Enabled",
|
|
385
235
|
value: enabled,
|
|
386
|
-
detail: "available to
|
|
236
|
+
detail: "available to agents"
|
|
387
237
|
}),
|
|
388
|
-
/* @__PURE__ */ jsx(
|
|
238
|
+
/* @__PURE__ */ jsx(Stat, {
|
|
389
239
|
label: "Selected models",
|
|
390
240
|
value: providers.reduce((count, provider) => count + (provider.enabled ? provider.curated.length : 0), 0),
|
|
391
|
-
detail: "
|
|
241
|
+
detail: "across enabled providers"
|
|
392
242
|
})
|
|
393
243
|
]
|
|
394
244
|
}),
|
|
395
245
|
/* @__PURE__ */ jsx(InstallationReadinessCard, { report: readiness }),
|
|
396
|
-
/* @__PURE__ */
|
|
397
|
-
|
|
398
|
-
children: [/* @__PURE__ */ jsxs("summary", {
|
|
399
|
-
className: "flex min-h-12 cursor-pointer list-none items-center gap-3 px-4 py-3 text-sm font-semibold text-foreground marker:hidden sm:px-5",
|
|
400
|
-
children: [
|
|
401
|
-
/* @__PURE__ */ jsx(ShieldCheck, {
|
|
402
|
-
className: "size-4 text-primary",
|
|
403
|
-
"aria-hidden": "true"
|
|
404
|
-
}),
|
|
405
|
-
"Execution security",
|
|
406
|
-
/* @__PURE__ */ jsx("span", {
|
|
407
|
-
className: "ml-auto text-xs font-normal text-muted-foreground",
|
|
408
|
-
children: "Inspect host and protected-turn posture"
|
|
409
|
-
}),
|
|
410
|
-
/* @__PURE__ */ jsx(ChevronDown, {
|
|
411
|
-
className: "size-4 text-muted-foreground",
|
|
412
|
-
"aria-hidden": "true"
|
|
413
|
-
})
|
|
414
|
-
]
|
|
415
|
-
}), /* @__PURE__ */ jsx("div", {
|
|
416
|
-
className: "border-t border-border p-3 sm:p-4",
|
|
417
|
-
children: /* @__PURE__ */ jsx(ExecutionSecurityCard, { status: executionSecurity })
|
|
418
|
-
})]
|
|
419
|
-
}),
|
|
246
|
+
/* @__PURE__ */ jsx(BackupCard, {}),
|
|
247
|
+
/* @__PURE__ */ jsx(RuntimeCard, { shell: runtime }),
|
|
420
248
|
!setupComplete && /* @__PURE__ */ jsx(SetupBlockerBanner, {
|
|
421
249
|
providers,
|
|
422
250
|
openaiCodex
|
|
@@ -546,25 +374,6 @@ function ProvidersPage() {
|
|
|
546
374
|
]
|
|
547
375
|
});
|
|
548
376
|
}
|
|
549
|
-
function SummaryStat({ label, value, detail }) {
|
|
550
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
551
|
-
className: "min-w-0 rounded-2xl border border-border bg-card p-4 shadow-baziu-sm",
|
|
552
|
-
children: [
|
|
553
|
-
/* @__PURE__ */ jsx("div", {
|
|
554
|
-
className: "text-xs font-semibold uppercase tracking-wide text-muted-foreground",
|
|
555
|
-
children: label
|
|
556
|
-
}),
|
|
557
|
-
/* @__PURE__ */ jsx("div", {
|
|
558
|
-
className: "mt-1 text-2xl font-semibold text-foreground",
|
|
559
|
-
children: value
|
|
560
|
-
}),
|
|
561
|
-
/* @__PURE__ */ jsx("div", {
|
|
562
|
-
className: "mt-0.5 text-xs leading-5 text-muted-foreground",
|
|
563
|
-
children: detail
|
|
564
|
-
})
|
|
565
|
-
]
|
|
566
|
-
});
|
|
567
|
-
}
|
|
568
377
|
function SetupBlockerBanner({ providers, openaiCodex }) {
|
|
569
378
|
const issues = [];
|
|
570
379
|
for (const p of providers) {
|
|
@@ -610,24 +419,20 @@ function ProviderCard({ p, openaiCodexStatus, initiallyOpen }) {
|
|
|
610
419
|
...p,
|
|
611
420
|
enabled
|
|
612
421
|
});
|
|
422
|
+
const providerPath = `/api/config/providers/${encodeURIComponent(p.id)}`;
|
|
613
423
|
async function toggle(next) {
|
|
614
424
|
setEnabled(next);
|
|
615
425
|
setToggleError(null);
|
|
616
426
|
try {
|
|
617
|
-
|
|
427
|
+
await api(`${providerPath}/enabled`, {
|
|
618
428
|
method: "PUT",
|
|
619
|
-
|
|
620
|
-
body: JSON.stringify({ enabled: next })
|
|
429
|
+
body: { enabled: next }
|
|
621
430
|
});
|
|
622
|
-
if (!response.ok) {
|
|
623
|
-
const body = await response.json().catch(() => null);
|
|
624
|
-
throw new Error(body?.error ?? `Could not update provider (${response.status})`);
|
|
625
|
-
}
|
|
626
431
|
if (next) setExpanded(true);
|
|
627
432
|
await router.invalidate();
|
|
628
433
|
} catch (error) {
|
|
629
434
|
setEnabled(!next);
|
|
630
|
-
setToggleError(
|
|
435
|
+
setToggleError(errorMessage(error));
|
|
631
436
|
}
|
|
632
437
|
}
|
|
633
438
|
async function saveModels(e) {
|
|
@@ -636,18 +441,13 @@ function ProviderCard({ p, openaiCodexStatus, initiallyOpen }) {
|
|
|
636
441
|
setModelStatus(null);
|
|
637
442
|
try {
|
|
638
443
|
const list = models.split(/\r?\n/).map((s) => s.trim()).filter(Boolean);
|
|
639
|
-
|
|
444
|
+
await api(`${providerPath}/models`, {
|
|
640
445
|
method: "PUT",
|
|
641
|
-
|
|
642
|
-
body: JSON.stringify({ models: list })
|
|
446
|
+
body: { models: list }
|
|
643
447
|
});
|
|
644
|
-
if (!res.ok) {
|
|
645
|
-
const j = await res.json().catch(() => ({}));
|
|
646
|
-
throw new Error(j.error ?? `${res.status} ${res.statusText}`);
|
|
647
|
-
}
|
|
648
448
|
setModelStatus({
|
|
649
449
|
kind: "success",
|
|
650
|
-
message: "Models saved.
|
|
450
|
+
message: "Models saved."
|
|
651
451
|
});
|
|
652
452
|
setTestModel(list[0] ?? "");
|
|
653
453
|
setTestResult(null);
|
|
@@ -655,7 +455,7 @@ function ProviderCard({ p, openaiCodexStatus, initiallyOpen }) {
|
|
|
655
455
|
} catch (e) {
|
|
656
456
|
setModelStatus({
|
|
657
457
|
kind: "error",
|
|
658
|
-
message: e
|
|
458
|
+
message: errorMessage(e)
|
|
659
459
|
});
|
|
660
460
|
} finally {
|
|
661
461
|
setSavingModels(false);
|
|
@@ -666,16 +466,10 @@ function ProviderCard({ p, openaiCodexStatus, initiallyOpen }) {
|
|
|
666
466
|
setTesting(true);
|
|
667
467
|
setTestResult(null);
|
|
668
468
|
try {
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
model: `${p.id}:${testModel}`,
|
|
674
|
-
message: "Reply with exactly: Bazilion connection verified."
|
|
675
|
-
})
|
|
676
|
-
});
|
|
677
|
-
const body = await response.json().catch(() => null);
|
|
678
|
-
if (!response.ok) throw new Error(body?.error ?? `Connection test failed (${response.status})`);
|
|
469
|
+
await api("/api/providers/test", { body: {
|
|
470
|
+
model: `${p.id}:${testModel}`,
|
|
471
|
+
message: "Reply with exactly: Bazilion connection verified."
|
|
472
|
+
} });
|
|
679
473
|
setTestResult({
|
|
680
474
|
kind: "success",
|
|
681
475
|
message: `Verified ${p.displayName} with ${testModel}.`
|
|
@@ -684,7 +478,7 @@ function ProviderCard({ p, openaiCodexStatus, initiallyOpen }) {
|
|
|
684
478
|
} catch (error) {
|
|
685
479
|
setTestResult({
|
|
686
480
|
kind: "error",
|
|
687
|
-
message:
|
|
481
|
+
message: errorMessage(error)
|
|
688
482
|
});
|
|
689
483
|
} finally {
|
|
690
484
|
setTesting(false);
|
|
@@ -716,8 +510,8 @@ function ProviderCard({ p, openaiCodexStatus, initiallyOpen }) {
|
|
|
716
510
|
})]
|
|
717
511
|
})]
|
|
718
512
|
}),
|
|
719
|
-
/* @__PURE__ */ jsx(StatusBadge
|
|
720
|
-
variant: readiness.tone
|
|
513
|
+
/* @__PURE__ */ jsx(StatusBadge, {
|
|
514
|
+
variant: readiness.tone,
|
|
721
515
|
children: readiness.label
|
|
722
516
|
}),
|
|
723
517
|
/* @__PURE__ */ jsxs("label", {
|
|
@@ -765,13 +559,6 @@ function ProviderCard({ p, openaiCodexStatus, initiallyOpen }) {
|
|
|
765
559
|
children: p.hint
|
|
766
560
|
}),
|
|
767
561
|
p.id === "openai-codex" && openaiCodexStatus && /* @__PURE__ */ jsx(OpenAICodexCard, { status: openaiCodexStatus }),
|
|
768
|
-
p.fields.length === 0 && p.envHint && p.id !== "openai-codex" && /* @__PURE__ */ jsxs("p", {
|
|
769
|
-
className: "text-xs text-muted-foreground",
|
|
770
|
-
children: ["Credentials come from the process env: ", /* @__PURE__ */ jsx("code", {
|
|
771
|
-
className: "font-mono",
|
|
772
|
-
children: p.envHint
|
|
773
|
-
})]
|
|
774
|
-
}),
|
|
775
562
|
p.fields.map((f) => /* @__PURE__ */ jsx(FieldRow, { field: f }, f.envVar)),
|
|
776
563
|
/* @__PURE__ */ jsx("h4", {
|
|
777
564
|
id: `provider-${p.id}-models-label`,
|
|
@@ -785,10 +572,9 @@ function ProviderCard({ p, openaiCodexStatus, initiallyOpen }) {
|
|
|
785
572
|
" ",
|
|
786
573
|
/* @__PURE__ */ jsx("code", {
|
|
787
574
|
className: "font-mono",
|
|
788
|
-
children:
|
|
575
|
+
children: p.catalog[0] ?? p.live?.models[0] ?? "model-name"
|
|
789
576
|
}),
|
|
790
|
-
") and click",
|
|
791
|
-
" ",
|
|
577
|
+
") and click ",
|
|
792
578
|
/* @__PURE__ */ jsx("em", { children: "save models" }),
|
|
793
579
|
". Catalog chips below are the safest source when available."
|
|
794
580
|
]
|
|
@@ -879,55 +665,6 @@ function ProviderCard({ p, openaiCodexStatus, initiallyOpen }) {
|
|
|
879
665
|
]
|
|
880
666
|
});
|
|
881
667
|
}
|
|
882
|
-
function exampleModelFor(providerId) {
|
|
883
|
-
switch (providerId) {
|
|
884
|
-
case "openai-codex": return "gpt-6-astra";
|
|
885
|
-
case "openai": return "gpt-6-astra";
|
|
886
|
-
case "anthropic": return "claude-opus-5";
|
|
887
|
-
case "google": return "gemini-3.6-flash";
|
|
888
|
-
case "google-vertex": return "gemini-3.6-flash";
|
|
889
|
-
case "xai": return "grok-4.5";
|
|
890
|
-
case "groq": return "llama-3.3-70b-versatile";
|
|
891
|
-
case "cerebras": return "gpt-oss-120b";
|
|
892
|
-
case "mistral": return "mistral-large-latest";
|
|
893
|
-
case "zai": return "glm-5.2";
|
|
894
|
-
case "huggingface": return "Qwen/Qwen3.5-397B-A17B";
|
|
895
|
-
case "openrouter": return "anthropic/claude-opus-5";
|
|
896
|
-
case "vercel-ai-gateway": return "anthropic/claude-opus-5";
|
|
897
|
-
case "deepseek": return "deepseek-v4-pro";
|
|
898
|
-
case "fireworks": return "accounts/fireworks/models/kimi-k3";
|
|
899
|
-
case "together": return "moonshotai/Kimi-K3";
|
|
900
|
-
case "baseten": return "moonshotai/Kimi-K3";
|
|
901
|
-
case "moonshotai": return "kimi-k3";
|
|
902
|
-
case "moonshotai-cn": return "kimi-k3";
|
|
903
|
-
case "kimi-coding": return "kimi-for-coding";
|
|
904
|
-
case "minimax": return "MiniMax-M2.7";
|
|
905
|
-
case "minimax-cn": return "MiniMax-M3";
|
|
906
|
-
case "qwen-token-plan": return "qwen3.8-max";
|
|
907
|
-
case "qwen-token-plan-cn":
|
|
908
|
-
case "qwen-token-plan-individual": return "qwen3.8-max";
|
|
909
|
-
case "ant-ling": return "Ling-2.6-1T";
|
|
910
|
-
case "nvidia": return "nvidia/nemotron-3-super-120b-a12b";
|
|
911
|
-
case "cloudflare-workers-ai": return "@cf/moonshotai/kimi-k2.6";
|
|
912
|
-
case "cloudflare-ai-gateway": return "claude-opus-5";
|
|
913
|
-
case "github-copilot": return "claude-opus-5";
|
|
914
|
-
case "xiaomi": return "mimo-v2.5";
|
|
915
|
-
case "xiaomi-token-plan-ams":
|
|
916
|
-
case "xiaomi-token-plan-cn":
|
|
917
|
-
case "xiaomi-token-plan-sgp": return "mimo-v2.5-pro";
|
|
918
|
-
case "opencode": return "claude-opus-5";
|
|
919
|
-
case "opencode-go": return "kimi-k2.7-code";
|
|
920
|
-
case "zai-coding-cn": return "glm-5.3";
|
|
921
|
-
case "meta": return "muse-spark-1.3";
|
|
922
|
-
case "radius": return "claude-sonnet-5";
|
|
923
|
-
case "azure-openai": return "gpt-5.6-luna";
|
|
924
|
-
case "bedrock": return "global.anthropic.claude-opus-5";
|
|
925
|
-
case "ollama": return "llama3.3";
|
|
926
|
-
case "lmstudio": return "qwen3-coder-30b";
|
|
927
|
-
case "llamacpp": return "unsloth/Qwen3.6-35B-A3B-MTP-GGUF:MXFP4_MOE";
|
|
928
|
-
default: return "model-name";
|
|
929
|
-
}
|
|
930
|
-
}
|
|
931
668
|
function ChipList({ items, onPick }) {
|
|
932
669
|
return /* @__PURE__ */ jsx("div", {
|
|
933
670
|
className: "flex flex-wrap gap-1.5 max-h-40 overflow-y-auto rounded-md border bg-background p-1.5",
|
|
@@ -956,19 +693,15 @@ function OpenAICodexCard({ status }) {
|
|
|
956
693
|
setBusy(true);
|
|
957
694
|
setErr(null);
|
|
958
695
|
try {
|
|
959
|
-
|
|
696
|
+
await api("/api/auth/openai/login", {
|
|
960
697
|
method: "POST",
|
|
961
698
|
signal: controller.signal
|
|
962
699
|
});
|
|
963
|
-
if (!res.ok) {
|
|
964
|
-
const j = await res.json().catch(() => ({}));
|
|
965
|
-
throw new Error(j.error ?? `${res.status} ${res.statusText}`);
|
|
966
|
-
}
|
|
967
700
|
if (controller.signal.aborted) return;
|
|
968
701
|
await router.invalidate();
|
|
969
702
|
} catch (e) {
|
|
970
703
|
if (controller.signal.aborted) return;
|
|
971
|
-
setErr(e
|
|
704
|
+
setErr(errorMessage(e));
|
|
972
705
|
} finally {
|
|
973
706
|
if (loginRequest.current === controller) {
|
|
974
707
|
loginRequest.current = null;
|
|
@@ -980,14 +713,10 @@ function OpenAICodexCard({ status }) {
|
|
|
980
713
|
setBusy(true);
|
|
981
714
|
setErr(null);
|
|
982
715
|
try {
|
|
983
|
-
|
|
984
|
-
if (!response.ok && response.status !== 204) {
|
|
985
|
-
const body = await response.json().catch(() => null);
|
|
986
|
-
throw new Error(body?.error ?? `Could not disconnect ChatGPT (${response.status})`);
|
|
987
|
-
}
|
|
716
|
+
await api("/api/auth/openai", { method: "DELETE" });
|
|
988
717
|
await router.invalidate();
|
|
989
718
|
} catch (e) {
|
|
990
|
-
setErr(
|
|
719
|
+
setErr(errorMessage(e));
|
|
991
720
|
throw e;
|
|
992
721
|
} finally {
|
|
993
722
|
setBusy(false);
|
|
@@ -1011,11 +740,7 @@ function OpenAICodexCard({ status }) {
|
|
|
1011
740
|
}),
|
|
1012
741
|
status.expiresAt && /* @__PURE__ */ jsxs("span", {
|
|
1013
742
|
className: "text-xs text-muted-foreground",
|
|
1014
|
-
children: [
|
|
1015
|
-
"token expires",
|
|
1016
|
-
" ",
|
|
1017
|
-
new Date(status.expiresAt).toISOString().replace(/\.\d+Z$/, "Z")
|
|
1018
|
-
]
|
|
743
|
+
children: ["token expires ", new Date(status.expiresAt).toISOString().replace(/\.\d+Z$/, "Z")]
|
|
1019
744
|
})
|
|
1020
745
|
]
|
|
1021
746
|
}), /* @__PURE__ */ jsx(Button, {
|