bazilion 0.55.0 → 0.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +193 -37
- package/dist/cli.js.map +1 -1
- package/dist/daemon.js +1821 -788
- package/dist/daemon.js.map +1 -1
- package/dist/web/client/assets/AddProviderDialog-DwUu2FGE.js +1 -0
- package/dist/web/client/assets/AgentTemplateParts-C3BasVck.js +1 -0
- package/dist/web/client/assets/{Button-bTJUy9Qf.js → Button-CoKQRO-s.js} +1 -1
- package/dist/web/client/assets/ConfigPage-DFmHgEaL.js +1 -0
- package/dist/web/client/assets/ConfirmDialog-BCOfW63x.js +1 -0
- package/dist/web/client/assets/ConnectionsView-BbpY5YbI.js +1 -0
- package/dist/web/client/assets/ManagePage-BzyMHGqs.js +1 -0
- package/dist/web/client/assets/SectionTabs-C8H_LunZ.js +1 -0
- package/dist/web/client/assets/{Segmented-oPkAHPO1.js → Segmented-iylzLwE6.js} +1 -1
- package/dist/web/client/assets/SkillsParts-DoygBgF2.js +1 -0
- package/dist/web/client/assets/SpawnTeamModal-BVf4yN9X.js +1 -0
- package/dist/web/client/assets/TeamForm-Bfb5hVUX.js +1 -0
- package/dist/web/client/assets/TeamThread-BFmaBj82.js +1 -0
- package/dist/web/client/assets/UnsavedChangesGuard-BUsIHSxO.js +1 -0
- package/dist/web/client/assets/_id-BRD3kxrX.js +1 -0
- package/dist/web/client/assets/_id-BapVoTMJ.js +1 -0
- package/dist/web/client/assets/access-CqcKius1.js +1 -0
- package/dist/web/client/assets/{agent-actions-CUee6aJq.js → agent-actions-B-9KIwn6.js} +1 -1
- package/dist/web/client/assets/agents-BC_ITk28.js +1 -0
- package/dist/web/client/assets/agents-DQ8nQnD6.js +1 -0
- package/dist/web/client/assets/arrow-right-BqqfPqVi.js +1 -0
- package/dist/web/client/assets/attention-BnCihfi0.js +1 -0
- package/dist/web/client/assets/{bot-BCone8es.js → bot-BHky7KAX.js} +1 -1
- package/dist/web/client/assets/chart-column-DTsDbzL0.js +1 -0
- package/dist/web/client/assets/chevron-right-D1shxvdo.js +1 -0
- package/dist/web/client/assets/config-DYS8bkQl.js +1 -0
- package/dist/web/client/assets/{createLucideIcon-jxSFpY0Q.js → createLucideIcon-CZHSSDYA.js} +1 -1
- package/dist/web/client/assets/{download-Dy88XavQ.js → download-Dr0PgyMr.js} +1 -1
- package/dist/web/client/assets/es2015-DZDOQ3kj.js +41 -0
- package/dist/web/client/assets/{file-text-DPsZ8-h9.js → file-text-D6OTHixJ.js} +1 -1
- package/dist/web/client/assets/{images-QBh_rL8b.js → images-BULrW-FC.js} +1 -1
- package/dist/web/client/assets/index-CxXsZzDC.js +14 -0
- package/dist/web/client/assets/{key-round-C-I8fAG0.js → key-round-DmSZN0Kq.js} +1 -1
- package/dist/web/client/assets/{list-checks-C9Q-bjEi.js → list-checks-DdTdAQXS.js} +1 -1
- package/dist/web/client/assets/login-DFVsVP0s.js +1 -0
- package/dist/web/client/assets/{manage-BaIU5zKy.js → manage-CpXaObuS.js} +1 -1
- package/dist/web/client/assets/mcp-DslGDHmN.js +1 -0
- package/dist/web/client/assets/{message-square-Bwf9cHOx.js → message-square-B_pULba_.js} +1 -1
- package/dist/web/client/assets/{network-B3FA93gC.js → network-BqmVqC4_.js} +1 -1
- package/dist/web/client/assets/parts-C104qEuC.js +1 -0
- package/dist/web/client/assets/plus-CEKaHPBw.js +1 -0
- package/dist/web/client/assets/preload-helper-CZOd_z6l.js +1 -0
- package/dist/web/client/assets/routes-D1wFPm0n.js +85 -0
- package/dist/web/client/assets/skills-DmIo3vN3.js +1 -0
- package/dist/web/client/assets/{square-terminal-DaNLwvEs.js → square-terminal-CYfGBHPC.js} +1 -1
- package/dist/web/client/assets/style-CqkCFvvz.js +7 -0
- package/dist/web/client/assets/styles-C7NsCHeU.css +2 -0
- package/dist/web/client/assets/{system-CrTSr5_t.js → system-CUW9JZ9c.js} +1 -1
- package/dist/web/client/assets/teams-DJzYsuh9.js +1 -0
- package/dist/web/client/assets/teams-DrhG8KiS.js +1 -0
- package/dist/web/client/assets/telegram-Bk_kg8hb.js +1 -0
- package/dist/web/client/assets/tools-z9Ixmuu2.js +1 -0
- package/dist/web/client/assets/usage-DGe3x1m7.js +1 -0
- package/dist/web/client/assets/use-resource-qjIkNQDY.js +1 -0
- package/dist/web/client/assets/{users-round-BElBVSnw.js → users-round-cxQ5HF-C.js} +1 -1
- package/dist/web/client/assets/welcome-DDKqxHkF.js +1 -0
- package/dist/web/client/assets/{wrench-DotqSqSm.js → wrench-BLEJjETg.js} +1 -1
- package/dist/web/server/assets/{AddProviderDialog-BbpuvC2a.js → AddProviderDialog-CpLDHOcA.js} +6 -3
- package/dist/web/server/assets/AgentAvatar-8gTAy_tP.js +37 -0
- package/dist/web/server/assets/{AgentTemplateParts-Ce7snK3m.js → AgentTemplateParts-Dh9F_-T_.js} +7 -3
- package/dist/web/server/assets/Button-Dsnw22OF.js +17 -0
- package/dist/web/server/assets/{ConfigPage-qP9ejjuw.js → ConfigPage-CrxctbtN.js} +2 -2
- package/dist/web/server/assets/{ConfirmDialog-Z-uYbE9B.js → ConfirmDialog-C89B8qKM.js} +3 -1
- package/dist/web/server/assets/{ConnectionsView-CLIV7V5D.js → ConnectionsView-DslcKQmA.js} +9 -7
- package/dist/web/server/assets/Dialog-_Gt_Nt86.js +85 -0
- package/dist/web/server/assets/{ManagePage-BR9FwVZM.js → ManagePage-DGYNJ6XG.js} +2 -2
- package/dist/web/server/assets/{ModelMenu-D-hTgYOO.js → ModelMenu-DEJoYASj.js} +13 -1
- package/dist/web/server/assets/{SectionTabs-CWQ5orUW.js → SectionTabs--vMBvaUz.js} +9 -2
- package/dist/web/server/assets/{SkillsParts-DWpdydCJ.js → SkillsParts-CqS2B45v.js} +7 -3
- package/dist/web/server/assets/SpawnDialog-BNKj2Lup.js +127 -0
- package/dist/web/server/assets/{SpawnTeamModal-C-YMvoaB.js → SpawnTeamModal-zcLxtFOO.js} +6 -2
- package/dist/web/server/assets/{TeamForm-CL45gBdt.js → TeamForm-XFP0l2TB.js} +11 -5
- package/dist/web/server/assets/{TeamThread-CVVH6kKj.js → TeamThread-gYV_ToRM.js} +59 -12
- package/dist/web/server/assets/{UnsavedChangesGuard-CXK75QQp.js → UnsavedChangesGuard-CB_TugFF.js} +1 -1
- package/dist/web/server/assets/{_id-d2OwovYV.js → _id-517adSuB.js} +2 -2
- package/dist/web/server/assets/{_id-BKzOw78O.js → _id-BTyd2i5U.js} +1 -1
- package/dist/web/server/assets/{_id-8zsImuGa.js → _id-BsQnL9LV.js} +14 -9
- package/dist/web/server/assets/{_id-2I4CSMQj.js → _id-CyinHJam.js} +17 -11
- package/dist/web/server/assets/{_id-De3Bm0SG.js → _id-D4RFNqaJ.js} +2 -2
- package/dist/web/server/assets/{_id-BpfoPuTv.js → _id-josYXBx3.js} +2 -2
- package/dist/web/server/assets/_tanstack-start-manifest_v-w2xn07aY.js +275 -0
- package/dist/web/server/assets/{access-WWspT0v4.js → access-B97-94Wt.js} +1 -1
- package/dist/web/server/assets/{access-CyUoElTP.js → access-BdQmjMJV.js} +2 -2
- package/dist/web/server/assets/{access-CwZ27Wsl.js → access-Cc7fMMod.js} +7 -4
- package/dist/web/server/assets/activity-Czfq-5_F.js +471 -0
- package/dist/web/server/assets/{agent-actions-C07Cp5Ue.js → agent-actions-ChH7Mne4.js} +1 -1
- package/dist/web/server/assets/{agents-DCWEoaxY.js → agents-BL918wVc.js} +2 -2
- package/dist/web/server/assets/{agents-vuXrAv1j.js → agents-BlUZqqJn.js} +14 -8
- package/dist/web/server/assets/{agents-CRtMfKqX.js → agents-BzJFjA2i.js} +2 -2
- package/dist/web/server/assets/{agents-CwzhpDPm.js → agents-CjrkaEz8.js} +11 -8
- package/dist/web/server/assets/{agents-DQowl6Ly.js → agents-Tg3zkmQv.js} +2 -2
- package/dist/web/server/assets/{agents-DTub-rJk.js → agents-uw32jPWx.js} +2 -2
- package/dist/web/server/assets/{attention-Dki8rmGZ.js → attention-2unmuO-q.js} +1 -1
- package/dist/web/server/assets/{attention-BqCnJ1hg.js → attention-C94WWwQe.js} +2 -2
- package/dist/web/server/assets/{attention-DwGaur_w.js → attention-a_OmC6L3.js} +9 -7
- package/dist/web/server/assets/{auth-dJnrFW6y.js → auth-DuIqEAed.js} +1 -1
- package/dist/web/server/assets/{config-B9dJiji_.js → config-BG1KOtwA.js} +2 -2
- package/dist/web/server/assets/{config-D3MR2VjE.js → config-Bhem9XER.js} +10 -7
- package/dist/web/server/assets/{config-X7qWbbpH.js → config-D1Li_7Yt2.js} +1 -1
- package/dist/web/server/assets/createSsrRpc-6LHNEsSK.js +16 -0
- package/dist/web/server/assets/{daemon-client-B_ZRIIrT.js → daemon-client-D-NWKQto.js} +1 -1
- package/dist/web/server/assets/form-Bwsyt9OY.js +416 -0
- package/dist/web/server/assets/live-DbJeq6KP.js +263 -0
- package/dist/web/server/assets/{login-CRd1yTH5.js → login-BJdJ219n.js} +1 -1
- package/dist/web/server/assets/{login-ZN6KV8n-.js → login-C4lL4AxI.js} +2 -2
- package/dist/web/server/assets/{manage-Ce6cI4eW.js → manage-C7ReF2ZZ.js} +3 -2
- package/dist/web/server/assets/{mcp-CYQuYWGX.js → mcp-BFixpBQk.js} +2 -2
- package/dist/web/server/assets/{mcp-BQ15a9dG.js → mcp-BTZkDvdc.js} +7 -4
- package/dist/web/server/assets/{mcp-C97uAZe1.js → mcp-Ceg9gzKE.js} +1 -1
- package/dist/web/server/assets/open-groups-C89TEK85.js +12 -0
- package/dist/web/server/assets/{page-title-CVY-c2Pd.js → page-title-PTpFHXWo.js} +1 -1
- package/dist/web/server/assets/parts-B0wbj_yK.js +436 -0
- package/dist/web/server/assets/{router-CPdWGKQ5.js → router-Ci_9VxDk.js} +244 -104
- package/dist/web/server/assets/{routes-BPloBDc8.js → routes-CVrH9qgo.js} +3 -3
- package/dist/web/server/assets/{routes-Dw1K3TQw.js → routes-D9Mw1_VV.js} +1453 -403
- package/dist/web/server/assets/{routes-xDPesCQu.js → routes-DsuaDPTO.js} +3 -3
- package/dist/web/server/assets/{skills-DWzlT_hC.js → skills-BNbZ75am.js} +1 -1
- package/dist/web/server/assets/{skills-6VSpEORe.js → skills-BWwEFc4a.js} +2 -2
- package/dist/web/server/assets/{skills-D0xrNc2_.js → skills-D5rnOmKJ.js} +9 -7
- package/dist/web/server/assets/src-BeMh8Fze.js +113 -0
- package/dist/web/server/assets/{start-DhW7sy23.js → start-2MvkBRdC.js} +1 -1
- package/dist/web/server/assets/{style-aMybyKzc.js → style-B3l0Wtlf.js} +1 -1
- package/dist/web/server/assets/{system-B5sPgdQW.js → system-Cr4C-YRw.js} +2 -2
- package/dist/web/server/assets/{system-CXmiWyDG.js → system-DT7AU0e6.js} +3 -3
- package/dist/web/server/assets/{system-D3th6n2E.js → system-DsmXkgqn.js} +1 -1
- package/dist/web/server/assets/{teams-ClRBVSYU.js → teams-BeStcDvQ.js} +2 -2
- package/dist/web/server/assets/{teams-yF3I_Zjq.js → teams-CsEBLW8-.js} +14 -8
- package/dist/web/server/assets/{teams-Dq4RCxis.js → teams-Dix5XVIx.js} +2 -2
- package/dist/web/server/assets/{teams-iXiCnN2i.js → teams-DjE0swAZ.js} +10 -6
- package/dist/web/server/assets/{teams-70u1XQTr.js → teams-Rk_RED7X.js} +1 -1
- package/dist/web/server/assets/{teams-BopOP4x7.js → teams-u6m6JzuU.js} +1 -1
- package/dist/web/server/assets/{telegram-DwEgyR1x.js → telegram-BjqABrl-.js} +287 -273
- package/dist/web/server/assets/{telegram-CGol0CKX2.js → telegram-CQpF3EHA.js} +1 -1
- package/dist/web/server/assets/{telegram-D9U9c1MN.js → telegram-DhzHgDfg.js} +2 -2
- package/dist/web/server/assets/{tools-C-wwWjLI.js → tools-DC69leH7.js} +1 -1
- package/dist/web/server/assets/{tools-DflVIdDd.js → tools-Dn6RnOFu.js} +2 -2
- package/dist/web/server/assets/{tools-VPIKjr3y.js → tools-x_DQTQtE.js} +6 -4
- package/dist/web/server/assets/usage-4zMG0sab.js +465 -0
- package/dist/web/server/assets/usage-mvQegG4l.js +46 -0
- package/dist/web/server/assets/{use-resource-CbHGYti0.js → use-resource-BjN1uJoL.js} +10 -2
- package/dist/web/server/assets/{welcome-7DrYZVs6.js → welcome-BuE9FRf4.js} +2 -2
- package/dist/web/server/assets/{welcome-CxXMI4HI.js → welcome-DYw35wl5.js} +1 -1
- package/dist/web/server/assets/{welcome-966nOyyK.js → welcome-DrYbWGd_.js} +8 -6
- package/dist/web/server/assets/workspace-0XPILV1W.js +82 -0
- package/dist/web/server/server.js +20 -20
- package/dist/worker.js +143 -18
- package/dist/worker.js.map +1 -1
- package/package.json +1 -1
- package/dist/web/client/assets/AddProviderDialog-DfFOaCjC.js +0 -1
- package/dist/web/client/assets/AgentTemplateParts-IMJmAQjN.js +0 -1
- package/dist/web/client/assets/ConfigPage-CzLHZa5o.js +0 -1
- package/dist/web/client/assets/ConfirmDialog-Cu_evkgc.js +0 -1
- package/dist/web/client/assets/ConnectionsView-D7Fmutl2.js +0 -1
- package/dist/web/client/assets/ManagePage-BfvlCrmz.js +0 -1
- package/dist/web/client/assets/SectionTabs-D7kPQGoh.js +0 -1
- package/dist/web/client/assets/SkillsParts-BuTxcCam.js +0 -1
- package/dist/web/client/assets/SpawnTeamModal-B1UnOvtp.js +0 -1
- package/dist/web/client/assets/TeamForm-DbzxtRjj.js +0 -1
- package/dist/web/client/assets/TeamThread-jpsWq6vI.js +0 -1
- package/dist/web/client/assets/UnsavedChangesGuard-BfyU9v9i.js +0 -1
- package/dist/web/client/assets/_id-BCNBLF-2.js +0 -1
- package/dist/web/client/assets/_id-D8_H79U2.js +0 -1
- package/dist/web/client/assets/access-CDWe1Kwy.js +0 -1
- package/dist/web/client/assets/agents-sE686DTf.js +0 -1
- package/dist/web/client/assets/agents-yrur1NDa.js +0 -1
- package/dist/web/client/assets/arrow-right-U66krZnr.js +0 -1
- package/dist/web/client/assets/attention-DYEHDfmx.js +0 -1
- package/dist/web/client/assets/chevron-right-CuqJFXTe.js +0 -1
- package/dist/web/client/assets/config-BHv886pr.js +0 -1
- package/dist/web/client/assets/index-GOthyyE-.js +0 -14
- package/dist/web/client/assets/login-Dhe15Uuc.js +0 -1
- package/dist/web/client/assets/mcp-A_Eo7x3q.js +0 -1
- package/dist/web/client/assets/parts-CpIfn_BH.js +0 -41
- package/dist/web/client/assets/plus-CQPjc8uR.js +0 -1
- package/dist/web/client/assets/routes-CTg_yjbY.js +0 -85
- package/dist/web/client/assets/skills-CLjtYtkA.js +0 -1
- package/dist/web/client/assets/style-mjEbxhf5.js +0 -7
- package/dist/web/client/assets/styles-DzcEC3Rd.css +0 -2
- package/dist/web/client/assets/teams-Bhje5n2h.js +0 -1
- package/dist/web/client/assets/teams-Cbgw0Qhv.js +0 -1
- package/dist/web/client/assets/telegram-HtUczmaA.js +0 -1
- package/dist/web/client/assets/tools-BpjFvmoX.js +0 -1
- package/dist/web/client/assets/use-resource-BnvgCpBi.js +0 -1
- package/dist/web/client/assets/welcome-D47LKWYO.js +0 -1
- package/dist/web/server/assets/Rail-b6EbjBB-.js +0 -605
- package/dist/web/server/assets/SpawnDialog-3wNx0W1R.js +0 -1851
- package/dist/web/server/assets/_tanstack-start-manifest_v-kkY_s_uR.js +0 -256
- package/dist/web/server/assets/createSsrRpc-qesavJv-.js +0 -72
- package/dist/web/server/assets/public-origin-BpDkdS5Q.js +0 -34
|
@@ -1,27 +1,34 @@
|
|
|
1
1
|
import { r as readCookie } from "./cookies-HnTYjKRp.js";
|
|
2
|
-
import {
|
|
3
|
-
import { n as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { t as
|
|
11
|
-
import {
|
|
12
|
-
import { t as Route$
|
|
13
|
-
import { t as Route$
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as Route$
|
|
16
|
-
import { t as Route$
|
|
17
|
-
import { t as Route$
|
|
18
|
-
import { t as Route$
|
|
19
|
-
import { t as Route$
|
|
20
|
-
import { t as Route$
|
|
21
|
-
import { t as Route$
|
|
22
|
-
import { t as Route$
|
|
23
|
-
import { t as Route$
|
|
24
|
-
import {
|
|
2
|
+
import { i as api, n as useLive, o as errorMessage, t as LiveProvider } from "./live-DbJeq6KP.js";
|
|
3
|
+
import { n as agentState, r as shortTime } from "./activity-Czfq-5_F.js";
|
|
4
|
+
import { o as publicOriginConfig } from "./src-BeMh8Fze.js";
|
|
5
|
+
import { t as AgentAvatar } from "./AgentAvatar-8gTAy_tP.js";
|
|
6
|
+
import { t as Button } from "./Button-Dsnw22OF.js";
|
|
7
|
+
import { i as restoreDialogFocus, r as getDialogFocusRestoreTarget, t as Dialog$1 } from "./Dialog-_Gt_Nt86.js";
|
|
8
|
+
import { c as parseWorkspaceSearch } from "./workspace-0XPILV1W.js";
|
|
9
|
+
import { t as DAEMON_BASE_URL } from "./daemon-client-D-NWKQto.js";
|
|
10
|
+
import { i as useAttentionCount, r as AttentionCountProvider, t as PageTitleProvider } from "./page-title-PTpFHXWo.js";
|
|
11
|
+
import { C as PageShell } from "./parts-B0wbj_yK.js";
|
|
12
|
+
import { a as PawIcon, i as useThemeMode, n as THEME_MODES, o as BaziuLogo, r as setThemeMode, t as Route$3 } from "./login-BJdJ219n.js";
|
|
13
|
+
import { i as isTyping, n as NEW_CONVERSATION_EVENT, r as SHORTCUTS, t as Route$4 } from "./routes-CVrH9qgo.js";
|
|
14
|
+
import { t as SpawnDialog } from "./SpawnDialog-BNKj2Lup.js";
|
|
15
|
+
import { i as isSetupOpen, n as PUBLIC_PATHS, r as fetchAuthState, t as Route$5 } from "./welcome-BuE9FRf4.js";
|
|
16
|
+
import { t as Route$6 } from "./usage-mvQegG4l.js";
|
|
17
|
+
import { t as Route$7 } from "./teams-BeStcDvQ.js";
|
|
18
|
+
import { t as Route$8 } from "./skills-BWwEFc4a.js";
|
|
19
|
+
import { t as Route$9 } from "./config-BG1KOtwA.js";
|
|
20
|
+
import { t as Route$10 } from "./attention-C94WWwQe.js";
|
|
21
|
+
import { t as Route$11 } from "./agents-BL918wVc.js";
|
|
22
|
+
import { t as Route$12 } from "./tools-Dn6RnOFu.js";
|
|
23
|
+
import { t as Route$13 } from "./telegram-DhzHgDfg.js";
|
|
24
|
+
import { t as Route$14 } from "./system-Cr4C-YRw.js";
|
|
25
|
+
import { t as Route$15 } from "./mcp-BFixpBQk.js";
|
|
26
|
+
import { t as Route$16 } from "./access-BdQmjMJV.js";
|
|
27
|
+
import { t as Route$17 } from "./teams-Dix5XVIx.js";
|
|
28
|
+
import { t as Route$18 } from "./agents-uw32jPWx.js";
|
|
29
|
+
import { t as Route$19 } from "./_id-517adSuB.js";
|
|
30
|
+
import { t as Route$20 } from "./_id-josYXBx3.js";
|
|
31
|
+
import { useEffect, useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
25
32
|
import { HeadContent, Link, Outlet, Scripts, createFileRoute, createRootRoute, createRouter, redirect, useNavigate, useRouter, useRouterState } from "@tanstack/react-router";
|
|
26
33
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
27
34
|
import { Bell, BellOff, BellRing, Check, Keyboard, LayoutGrid, LogOut, MessageSquarePlus, Monitor, Moon, Search, Settings2, Sun, UserPlus, UserRound } from "lucide-react";
|
|
@@ -177,6 +184,16 @@ function DesktopNotifier() {
|
|
|
177
184
|
}
|
|
178
185
|
//#endregion
|
|
179
186
|
//#region src/components/JumpPalette.tsx
|
|
187
|
+
/** The label with the words a search found in it set apart. */
|
|
188
|
+
function markWords(label, words) {
|
|
189
|
+
const wanted = words.map((word) => word.toLowerCase()).filter(Boolean);
|
|
190
|
+
if (wanted.length === 0) return [label];
|
|
191
|
+
const escaped = wanted.map((word) => word.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"));
|
|
192
|
+
return label.split(new RegExp(`(${escaped.join("|")})`, "gi")).map((part, index) => index % 2 === 1 ? /* @__PURE__ */ jsx("strong", {
|
|
193
|
+
className: "font-semibold text-foreground",
|
|
194
|
+
children: part
|
|
195
|
+
}, index) : part);
|
|
196
|
+
}
|
|
180
197
|
var PAGES = [
|
|
181
198
|
[
|
|
182
199
|
"Attention",
|
|
@@ -208,6 +225,11 @@ var PAGES = [
|
|
|
208
225
|
"Import, review and remove prompt skills",
|
|
209
226
|
"/skills"
|
|
210
227
|
],
|
|
228
|
+
[
|
|
229
|
+
"Usage",
|
|
230
|
+
"Tokens and money spent, per Team, Agent, model and day",
|
|
231
|
+
"/usage"
|
|
232
|
+
],
|
|
211
233
|
[
|
|
212
234
|
"Setup",
|
|
213
235
|
"Models, tools, MCP, Telegram, access, system",
|
|
@@ -217,6 +239,10 @@ var PAGES = [
|
|
|
217
239
|
/** How many Agents' conversations are looked at for "Recent conversations", and how many shown. */
|
|
218
240
|
var RECENT_AGENTS = 3;
|
|
219
241
|
var RECENT_CONVERSATIONS = 5;
|
|
242
|
+
/** Messages are searched once this much is typed, after a pause; this many are listed. */
|
|
243
|
+
var SEARCH_MIN_CHARACTERS = 3;
|
|
244
|
+
var SEARCH_PAUSE_MS = 250;
|
|
245
|
+
var SEARCH_HITS = 8;
|
|
220
246
|
/** Destinations whose label or hint holds every word of the query. */
|
|
221
247
|
function filterDestinations(all, query) {
|
|
222
248
|
const words = query.toLowerCase().split(/\s+/).filter(Boolean);
|
|
@@ -253,12 +279,51 @@ function JumpPalette({ open, onClose, onShowShortcuts }) {
|
|
|
253
279
|
const [spawning, setSpawning] = useState(false);
|
|
254
280
|
const [loaded, setLoaded] = useState(false);
|
|
255
281
|
const [enterPending, setEnterPending] = useState(false);
|
|
282
|
+
const [hits, setHits] = useState(null);
|
|
283
|
+
const [searching, setSearching] = useState(false);
|
|
284
|
+
const trimmed = query.trim();
|
|
256
285
|
useEffect(() => {
|
|
286
|
+
if (!open || trimmed.replace(/\s+/g, "").length < SEARCH_MIN_CHARACTERS) {
|
|
287
|
+
setHits(null);
|
|
288
|
+
setSearching(false);
|
|
289
|
+
return;
|
|
290
|
+
}
|
|
291
|
+
const controller = new AbortController();
|
|
292
|
+
setSearching(true);
|
|
293
|
+
const timer = window.setTimeout(() => {
|
|
294
|
+
api(`/api/conversations/search?${new URLSearchParams({
|
|
295
|
+
q: trimmed,
|
|
296
|
+
limit: String(SEARCH_HITS)
|
|
297
|
+
})}`, { signal: controller.signal }).then((found) => setHits({
|
|
298
|
+
query: trimmed,
|
|
299
|
+
hits: found.hits
|
|
300
|
+
})).catch(() => {
|
|
301
|
+
if (!controller.signal.aborted) setHits({
|
|
302
|
+
query: trimmed,
|
|
303
|
+
hits: []
|
|
304
|
+
});
|
|
305
|
+
}).finally(() => {
|
|
306
|
+
if (!controller.signal.aborted) setSearching(false);
|
|
307
|
+
});
|
|
308
|
+
}, SEARCH_PAUSE_MS);
|
|
309
|
+
return () => {
|
|
310
|
+
controller.abort();
|
|
311
|
+
window.clearTimeout(timer);
|
|
312
|
+
};
|
|
313
|
+
}, [open, trimmed]);
|
|
314
|
+
const opener = useRef(null);
|
|
315
|
+
const went = useRef(false);
|
|
316
|
+
useLayoutEffect(() => {
|
|
257
317
|
if (!open) return;
|
|
318
|
+
opener.current = getDialogFocusRestoreTarget(document);
|
|
319
|
+
went.current = false;
|
|
258
320
|
setQuery("");
|
|
259
321
|
setActive(0);
|
|
260
322
|
setEnterPending(false);
|
|
261
323
|
setDark(document.documentElement.classList.contains("dark"));
|
|
324
|
+
}, [open]);
|
|
325
|
+
useEffect(() => {
|
|
326
|
+
if (!open) return;
|
|
262
327
|
const controller = new AbortController();
|
|
263
328
|
const signal = controller.signal;
|
|
264
329
|
Promise.all([
|
|
@@ -285,7 +350,7 @@ function JumpPalette({ open, onClose, onShowShortcuts }) {
|
|
|
285
350
|
});
|
|
286
351
|
return () => controller.abort();
|
|
287
352
|
}, [open]);
|
|
288
|
-
const
|
|
353
|
+
const destinations = useMemo(() => {
|
|
289
354
|
const teamName = new Map(teams.map((team) => [team.id, team.name]));
|
|
290
355
|
const byAgent = new Map(activity.map((entry) => [entry.agentId, entry]));
|
|
291
356
|
const agentById = new Map(agents.map((agent) => [agent.id, agent]));
|
|
@@ -424,7 +489,30 @@ function JumpPalette({ open, onClose, onShowShortcuts }) {
|
|
|
424
489
|
location,
|
|
425
490
|
dark,
|
|
426
491
|
onShowShortcuts
|
|
427
|
-
])
|
|
492
|
+
]);
|
|
493
|
+
const found = useMemo(() => {
|
|
494
|
+
if (!hits || hits.query !== trimmed) return [];
|
|
495
|
+
const agentById = new Map(agents.map((agent) => [agent.id, agent]));
|
|
496
|
+
return hits.hits.map((hit, index) => ({
|
|
497
|
+
key: `found:${hit.conversationId}:${index}`,
|
|
498
|
+
group: "In conversations",
|
|
499
|
+
label: hit.snippet,
|
|
500
|
+
hint: `${hit.agentName} · ${hit.conversationTitle}`,
|
|
501
|
+
found: hits.query.split(/\s+/),
|
|
502
|
+
agent: agentById.get(hit.agentId),
|
|
503
|
+
search: {
|
|
504
|
+
agent: hit.agentId,
|
|
505
|
+
...hit.active ? {} : { conversation: hit.conversationId },
|
|
506
|
+
find: hits.query,
|
|
507
|
+
match: hit.nth
|
|
508
|
+
}
|
|
509
|
+
}));
|
|
510
|
+
}, [
|
|
511
|
+
hits,
|
|
512
|
+
trimmed,
|
|
513
|
+
agents
|
|
514
|
+
]);
|
|
515
|
+
const shown = [...filterDestinations(destinations, query), ...found];
|
|
428
516
|
const current = Math.min(active, Math.max(shown.length - 1, 0));
|
|
429
517
|
const hereTeam = location.pathname === "/" ? parseWorkspaceSearch(location.search).team ?? agents.find((agent) => agent.id === parseWorkspaceSearch(location.search).agent)?.teamId : void 0;
|
|
430
518
|
useEffect(() => {
|
|
@@ -438,6 +526,7 @@ function JumpPalette({ open, onClose, onShowShortcuts }) {
|
|
|
438
526
|
]);
|
|
439
527
|
function go(destination) {
|
|
440
528
|
if (!destination) return;
|
|
529
|
+
went.current = true;
|
|
441
530
|
onClose();
|
|
442
531
|
if (destination.run) destination.run();
|
|
443
532
|
else if (destination.path) navigate({ to: destination.path });
|
|
@@ -450,7 +539,13 @@ function JumpPalette({ open, onClose, onShowShortcuts }) {
|
|
|
450
539
|
open,
|
|
451
540
|
onOpenChange: (next) => !next && onClose(),
|
|
452
541
|
children: /* @__PURE__ */ jsxs(Dialog.Portal, { children: [/* @__PURE__ */ jsx(Dialog.Overlay, { className: "fixed inset-0 z-50 bg-chocolate/30 data-[state=open]:animate-in data-[state=open]:fade-in-0" }), /* @__PURE__ */ jsxs(Dialog.Content, {
|
|
542
|
+
"data-jump-palette": "",
|
|
453
543
|
"aria-describedby": void 0,
|
|
544
|
+
onCloseAutoFocus: (event) => {
|
|
545
|
+
if (went.current) return;
|
|
546
|
+
event.preventDefault();
|
|
547
|
+
restoreDialogFocus(opener.current, document);
|
|
548
|
+
},
|
|
454
549
|
className: "fixed left-1/2 top-[12vh] z-50 flex max-h-[70vh] w-[calc(100%-2rem)] max-w-xl -translate-x-1/2 flex-col overflow-hidden rounded-xl border border-border bg-popover text-popover-foreground shadow-baziu-lg outline-none",
|
|
455
550
|
children: [
|
|
456
551
|
/* @__PURE__ */ jsx(Dialog.Title, {
|
|
@@ -472,7 +567,7 @@ function JumpPalette({ open, onClose, onShowShortcuts }) {
|
|
|
472
567
|
"aria-controls": "jump-results",
|
|
473
568
|
"aria-activedescendant": shown[current] ? `jump-${shown[current].key}` : void 0,
|
|
474
569
|
value: query,
|
|
475
|
-
placeholder: "An Agent, a Team, a page, or something to do",
|
|
570
|
+
placeholder: "An Agent, a Team, a page, words from a conversation, or something to do",
|
|
476
571
|
onChange: (event) => {
|
|
477
572
|
setQuery(event.target.value);
|
|
478
573
|
setActive(0);
|
|
@@ -504,38 +599,49 @@ function JumpPalette({ open, onClose, onShowShortcuts }) {
|
|
|
504
599
|
role: "listbox",
|
|
505
600
|
"aria-label": "Destinations and actions",
|
|
506
601
|
className: "overflow-y-auto p-1.5",
|
|
507
|
-
children: [
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
"
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
destination.
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
602
|
+
children: [
|
|
603
|
+
shown.length === 0 && /* @__PURE__ */ jsx("p", {
|
|
604
|
+
className: "px-3 py-6 text-center text-sm text-muted-foreground",
|
|
605
|
+
children: !loaded ? "Loading…" : searching ? "Searching the conversations…" : `Nothing matches “${query}”.`
|
|
606
|
+
}),
|
|
607
|
+
shown.length > 0 && searching && /* @__PURE__ */ jsx("p", {
|
|
608
|
+
role: "status",
|
|
609
|
+
className: "m-0 px-2.5 pb-1 pt-2 text-xs text-muted-foreground",
|
|
610
|
+
children: "Searching the conversations…"
|
|
611
|
+
}),
|
|
612
|
+
shown.map((destination, index) => /* @__PURE__ */ jsxs("div", { children: [destination.group !== shown[index - 1]?.group && /* @__PURE__ */ jsx("div", {
|
|
613
|
+
className: `px-2.5 pb-1 pt-2 text-xs font-bold uppercase tracking-[0.08em] ${destination.group === "Waiting for you" ? "text-warning" : "text-muted-foreground"}`,
|
|
614
|
+
children: destination.group
|
|
615
|
+
}), /* @__PURE__ */ jsxs("button", {
|
|
616
|
+
type: "button",
|
|
617
|
+
id: `jump-${destination.key}`,
|
|
618
|
+
role: "option",
|
|
619
|
+
"aria-selected": index === current,
|
|
620
|
+
onMouseMove: () => setActive(index),
|
|
621
|
+
onClick: () => go(destination),
|
|
622
|
+
className: `unstyled flex min-h-10 w-full items-center gap-2.5 rounded-lg px-2.5 py-1.5 text-left text-sm ${index === current ? "bg-accent text-accent-foreground" : "text-foreground"}`,
|
|
623
|
+
children: [
|
|
624
|
+
destination.agent ? /* @__PURE__ */ jsx(AgentAvatar, {
|
|
625
|
+
identity: destination.agent.identity,
|
|
626
|
+
size: 24
|
|
627
|
+
}) : destination.icon ? /* @__PURE__ */ jsx("span", {
|
|
628
|
+
className: "flex size-6 shrink-0 items-center justify-center text-mocha",
|
|
629
|
+
children: destination.icon
|
|
630
|
+
}) : null,
|
|
631
|
+
destination.found ? /* @__PURE__ */ jsx("span", {
|
|
632
|
+
className: "min-w-0 truncate text-muted-foreground",
|
|
633
|
+
children: markWords(destination.label, destination.found)
|
|
634
|
+
}) : /* @__PURE__ */ jsx("span", {
|
|
635
|
+
className: "min-w-0 truncate font-semibold",
|
|
636
|
+
children: destination.label
|
|
637
|
+
}),
|
|
638
|
+
/* @__PURE__ */ jsx("span", {
|
|
639
|
+
className: "ml-auto min-w-0 shrink truncate pl-3 text-xs text-muted-foreground",
|
|
640
|
+
children: destination.hint
|
|
641
|
+
})
|
|
642
|
+
]
|
|
643
|
+
})] }, destination.key))
|
|
644
|
+
]
|
|
539
645
|
})
|
|
540
646
|
]
|
|
541
647
|
})] })
|
|
@@ -582,7 +688,8 @@ var MANAGE_PATHS = [
|
|
|
582
688
|
"/agents",
|
|
583
689
|
"/teams",
|
|
584
690
|
"/templates",
|
|
585
|
-
"/skills"
|
|
691
|
+
"/skills",
|
|
692
|
+
"/usage"
|
|
586
693
|
];
|
|
587
694
|
var SETUP_PATHS = ["/config"];
|
|
588
695
|
var under = (pathname, roots) => roots.some((root) => pathname === root || pathname.startsWith(`${root}/`));
|
|
@@ -613,7 +720,7 @@ function TopBar() {
|
|
|
613
720
|
const onKey = (event) => {
|
|
614
721
|
if ((event.metaKey || event.ctrlKey) && event.key.toLowerCase() === "k") {
|
|
615
722
|
event.preventDefault();
|
|
616
|
-
setPaletteOpen((open) => !open);
|
|
723
|
+
if (!Array.from(document.querySelectorAll("[role=\"dialog\"], [role=\"alertdialog\"]")).some((dialog) => !dialog.hasAttribute("data-jump-palette"))) setPaletteOpen((open) => !open);
|
|
617
724
|
} else if (!event.defaultPrevented && event.key === "?" && !event.metaKey && !event.ctrlKey && !event.altKey && !isTyping(event.target) && !document.querySelector("[role=\"dialog\"]")) {
|
|
618
725
|
event.preventDefault();
|
|
619
726
|
setShortcutsOpen(true);
|
|
@@ -639,7 +746,7 @@ function TopBar() {
|
|
|
639
746
|
!setupOnly && /* @__PURE__ */ jsxs("button", {
|
|
640
747
|
type: "button",
|
|
641
748
|
onClick: () => setPaletteOpen(true),
|
|
642
|
-
"aria-
|
|
749
|
+
"aria-describedby": "jump-to-description",
|
|
643
750
|
"aria-keyshortcuts": mac ? "Meta+K" : "Control+K",
|
|
644
751
|
className: "unstyled order-last flex h-9 min-w-0 basis-full items-center gap-2 rounded-[10px] border border-border bg-muted px-2.5 text-left text-sm text-mocha transition-colors hover:border-sapphire-light sm:order-none sm:ml-3 sm:max-w-sm sm:flex-1 sm:basis-60",
|
|
645
752
|
children: [
|
|
@@ -651,9 +758,18 @@ function TopBar() {
|
|
|
651
758
|
className: "min-w-0 flex-1 truncate",
|
|
652
759
|
children: "Jump to or do anything"
|
|
653
760
|
}),
|
|
654
|
-
/* @__PURE__ */ jsx("
|
|
655
|
-
|
|
656
|
-
|
|
761
|
+
/* @__PURE__ */ jsx("span", {
|
|
762
|
+
id: "jump-to-description",
|
|
763
|
+
className: "sr-only",
|
|
764
|
+
children: "An Agent, a Team, a page, words from a conversation, or an action"
|
|
765
|
+
}),
|
|
766
|
+
/* @__PURE__ */ jsx("span", {
|
|
767
|
+
"aria-hidden": "true",
|
|
768
|
+
className: "hidden sm:inline",
|
|
769
|
+
children: /* @__PURE__ */ jsx("kbd", {
|
|
770
|
+
className: "rounded-md border border-border bg-card px-1.5 py-px font-mono text-xs",
|
|
771
|
+
children: mac ? "⌘K" : "Ctrl K"
|
|
772
|
+
})
|
|
657
773
|
})
|
|
658
774
|
]
|
|
659
775
|
}),
|
|
@@ -843,8 +959,22 @@ function navButtonClass(active) {
|
|
|
843
959
|
return `unstyled inline-flex h-9 shrink-0 items-center justify-center gap-1.5 rounded-lg border px-2 text-sm font-semibold transition-colors sm:px-2.5 ${active ? "border-sapphire-light bg-sapphire-glow text-sapphire shadow-baziu-sm" : "border-transparent text-mocha hover:border-frost hover:bg-ivory hover:text-sapphire"}`;
|
|
844
960
|
}
|
|
845
961
|
//#endregion
|
|
962
|
+
//#region src/lib/roster.tsx
|
|
963
|
+
function RosterWatcher() {
|
|
964
|
+
const { subscribe } = useLive();
|
|
965
|
+
const router = useRouter();
|
|
966
|
+
useEffect(() => {
|
|
967
|
+
let known;
|
|
968
|
+
return subscribe("activity", (event) => {
|
|
969
|
+
if (known !== void 0 && event.roster !== known) router.invalidate();
|
|
970
|
+
known = event.roster;
|
|
971
|
+
});
|
|
972
|
+
}, [subscribe, router]);
|
|
973
|
+
return null;
|
|
974
|
+
}
|
|
975
|
+
//#endregion
|
|
846
976
|
//#region src/styles.css?url
|
|
847
|
-
var styles_default = "/assets/styles-
|
|
977
|
+
var styles_default = "/assets/styles-C7NsCHeU.css";
|
|
848
978
|
//#endregion
|
|
849
979
|
//#region src/routes/__root.tsx
|
|
850
980
|
var THEME_INIT_SCRIPT = `(function(){try{var t=localStorage.getItem('baziu-theme');var sd=window.matchMedia&&window.matchMedia('(prefers-color-scheme: dark)').matches;var d=t==='dark'||((t===null||t==='system')&&sd);document.documentElement.classList.toggle('dark',d);}catch(e){}})();`;
|
|
@@ -922,36 +1052,40 @@ function RootComponent() {
|
|
|
922
1052
|
enabled: !isLogin && pathname !== "/welcome",
|
|
923
1053
|
children: /* @__PURE__ */ jsxs(AttentionCountProvider, {
|
|
924
1054
|
enabled: !isLogin && pathname !== "/welcome",
|
|
925
|
-
children: [
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
id: "main-content",
|
|
932
|
-
tabIndex: -1,
|
|
933
|
-
className: "mx-auto min-h-0 w-full max-w-[1600px] flex-1 overflow-clip px-3 pb-3 sm:px-5 sm:pb-5",
|
|
934
|
-
children: /* @__PURE__ */ jsx(Outlet, {})
|
|
935
|
-
})]
|
|
936
|
-
}) : /* @__PURE__ */ jsxs("div", {
|
|
937
|
-
className: "flex min-h-dvh flex-col",
|
|
938
|
-
children: [
|
|
939
|
-
/* @__PURE__ */ jsx("div", {
|
|
1055
|
+
children: [
|
|
1056
|
+
/* @__PURE__ */ jsx(DesktopNotifier, {}),
|
|
1057
|
+
/* @__PURE__ */ jsx(RosterWatcher, {}),
|
|
1058
|
+
/* @__PURE__ */ jsx(PageTitleProvider, { children: isLogin ? /* @__PURE__ */ jsx(Outlet, {}) : isWorkspace ? /* @__PURE__ */ jsxs("div", {
|
|
1059
|
+
className: "flex h-dvh flex-col",
|
|
1060
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
940
1061
|
className: "px-3 sm:px-5",
|
|
941
1062
|
children: /* @__PURE__ */ jsx(TopBar, {})
|
|
942
|
-
}),
|
|
943
|
-
/* @__PURE__ */ jsx("main", {
|
|
1063
|
+
}), /* @__PURE__ */ jsx("main", {
|
|
944
1064
|
id: "main-content",
|
|
945
1065
|
tabIndex: -1,
|
|
946
|
-
className: "mx-auto w-full max-w-[
|
|
1066
|
+
className: "mx-auto min-h-0 w-full max-w-[1600px] flex-1 overflow-clip px-3 pb-3 sm:px-5 sm:pb-5",
|
|
947
1067
|
children: /* @__PURE__ */ jsx(Outlet, {})
|
|
948
|
-
})
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
1068
|
+
})]
|
|
1069
|
+
}) : /* @__PURE__ */ jsxs("div", {
|
|
1070
|
+
className: "flex min-h-dvh flex-col",
|
|
1071
|
+
children: [
|
|
1072
|
+
/* @__PURE__ */ jsx("div", {
|
|
1073
|
+
className: "px-3 sm:px-5",
|
|
1074
|
+
children: /* @__PURE__ */ jsx(TopBar, {})
|
|
1075
|
+
}),
|
|
1076
|
+
/* @__PURE__ */ jsx("main", {
|
|
1077
|
+
id: "main-content",
|
|
1078
|
+
tabIndex: -1,
|
|
1079
|
+
className: "mx-auto w-full max-w-[1500px] flex-1 px-4 py-9 sm:px-6 sm:py-12",
|
|
1080
|
+
children: /* @__PURE__ */ jsx(Outlet, {})
|
|
1081
|
+
}),
|
|
1082
|
+
/* @__PURE__ */ jsx("div", {
|
|
1083
|
+
className: "px-4 sm:px-6",
|
|
1084
|
+
children: /* @__PURE__ */ jsx(Footer, {})
|
|
1085
|
+
})
|
|
1086
|
+
]
|
|
1087
|
+
}) })
|
|
1088
|
+
]
|
|
955
1089
|
})
|
|
956
1090
|
}),
|
|
957
1091
|
/* @__PURE__ */ jsx(Scripts, {})
|
|
@@ -1071,57 +1205,62 @@ var IndexRoute = Route$4.update({
|
|
|
1071
1205
|
path: "/",
|
|
1072
1206
|
getParentRoute: () => Route$2
|
|
1073
1207
|
});
|
|
1208
|
+
var UsageIndexRoute = Route$6.update({
|
|
1209
|
+
id: "/usage/",
|
|
1210
|
+
path: "/usage/",
|
|
1211
|
+
getParentRoute: () => Route$2
|
|
1212
|
+
});
|
|
1074
1213
|
var TemplatesIndexRoute = Route$1.update({
|
|
1075
1214
|
id: "/templates/",
|
|
1076
1215
|
path: "/templates/",
|
|
1077
1216
|
getParentRoute: () => Route$2
|
|
1078
1217
|
});
|
|
1079
|
-
var TeamsIndexRoute = Route$
|
|
1218
|
+
var TeamsIndexRoute = Route$7.update({
|
|
1080
1219
|
id: "/teams/",
|
|
1081
1220
|
path: "/teams/",
|
|
1082
1221
|
getParentRoute: () => Route$2
|
|
1083
1222
|
});
|
|
1084
|
-
var SkillsIndexRoute = Route$
|
|
1223
|
+
var SkillsIndexRoute = Route$8.update({
|
|
1085
1224
|
id: "/skills/",
|
|
1086
1225
|
path: "/skills/",
|
|
1087
1226
|
getParentRoute: () => Route$2
|
|
1088
1227
|
});
|
|
1089
|
-
var ConfigIndexRoute = Route$
|
|
1228
|
+
var ConfigIndexRoute = Route$9.update({
|
|
1090
1229
|
id: "/config/",
|
|
1091
1230
|
path: "/config/",
|
|
1092
1231
|
getParentRoute: () => Route$2
|
|
1093
1232
|
});
|
|
1094
|
-
var AttentionIndexRoute = Route$
|
|
1233
|
+
var AttentionIndexRoute = Route$10.update({
|
|
1095
1234
|
id: "/attention/",
|
|
1096
1235
|
path: "/attention/",
|
|
1097
1236
|
getParentRoute: () => Route$2
|
|
1098
1237
|
});
|
|
1099
|
-
var AgentsIndexRoute = Route$
|
|
1238
|
+
var AgentsIndexRoute = Route$11.update({
|
|
1100
1239
|
id: "/agents/",
|
|
1101
1240
|
path: "/agents/",
|
|
1102
1241
|
getParentRoute: () => Route$2
|
|
1103
1242
|
});
|
|
1104
|
-
var ConfigToolsRoute = Route$
|
|
1243
|
+
var ConfigToolsRoute = Route$12.update({
|
|
1105
1244
|
id: "/config/tools",
|
|
1106
1245
|
path: "/config/tools",
|
|
1107
1246
|
getParentRoute: () => Route$2
|
|
1108
1247
|
});
|
|
1109
|
-
var ConfigTelegramRoute = Route$
|
|
1248
|
+
var ConfigTelegramRoute = Route$13.update({
|
|
1110
1249
|
id: "/config/telegram",
|
|
1111
1250
|
path: "/config/telegram",
|
|
1112
1251
|
getParentRoute: () => Route$2
|
|
1113
1252
|
});
|
|
1114
|
-
var ConfigSystemRoute = Route$
|
|
1253
|
+
var ConfigSystemRoute = Route$14.update({
|
|
1115
1254
|
id: "/config/system",
|
|
1116
1255
|
path: "/config/system",
|
|
1117
1256
|
getParentRoute: () => Route$2
|
|
1118
1257
|
});
|
|
1119
|
-
var ConfigMcpRoute = Route$
|
|
1258
|
+
var ConfigMcpRoute = Route$15.update({
|
|
1120
1259
|
id: "/config/mcp",
|
|
1121
1260
|
path: "/config/mcp",
|
|
1122
1261
|
getParentRoute: () => Route$2
|
|
1123
1262
|
});
|
|
1124
|
-
var ConfigAccessRoute = Route$
|
|
1263
|
+
var ConfigAccessRoute = Route$16.update({
|
|
1125
1264
|
id: "/config/access",
|
|
1126
1265
|
path: "/config/access",
|
|
1127
1266
|
getParentRoute: () => Route$2
|
|
@@ -1131,17 +1270,17 @@ var ApiSplatRoute = Route.update({
|
|
|
1131
1270
|
path: "/api/$",
|
|
1132
1271
|
getParentRoute: () => Route$2
|
|
1133
1272
|
});
|
|
1134
|
-
var TemplatesTeamsIndexRoute = Route$
|
|
1273
|
+
var TemplatesTeamsIndexRoute = Route$17.update({
|
|
1135
1274
|
id: "/templates/teams/",
|
|
1136
1275
|
path: "/templates/teams/",
|
|
1137
1276
|
getParentRoute: () => Route$2
|
|
1138
1277
|
});
|
|
1139
|
-
var TemplatesAgentsIndexRoute = Route$
|
|
1278
|
+
var TemplatesAgentsIndexRoute = Route$18.update({
|
|
1140
1279
|
id: "/templates/agents/",
|
|
1141
1280
|
path: "/templates/agents/",
|
|
1142
1281
|
getParentRoute: () => Route$2
|
|
1143
1282
|
});
|
|
1144
|
-
var TemplatesTeamsIdIndexRoute = Route$
|
|
1283
|
+
var TemplatesTeamsIdIndexRoute = Route$19.update({
|
|
1145
1284
|
id: "/templates/teams/$id/",
|
|
1146
1285
|
path: "/templates/teams/$id/",
|
|
1147
1286
|
getParentRoute: () => Route$2
|
|
@@ -1162,9 +1301,10 @@ var rootRouteChildren = {
|
|
|
1162
1301
|
SkillsIndexRoute,
|
|
1163
1302
|
TeamsIndexRoute,
|
|
1164
1303
|
TemplatesIndexRoute,
|
|
1304
|
+
UsageIndexRoute,
|
|
1165
1305
|
TemplatesAgentsIndexRoute,
|
|
1166
1306
|
TemplatesTeamsIndexRoute,
|
|
1167
|
-
TemplatesAgentsIdIndexRoute: Route$
|
|
1307
|
+
TemplatesAgentsIdIndexRoute: Route$20.update({
|
|
1168
1308
|
id: "/templates/agents/$id/",
|
|
1169
1309
|
path: "/templates/agents/$id/",
|
|
1170
1310
|
getParentRoute: () => Route$2
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as createServerFn } from "../server.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as createSsrRpc } from "./createSsrRpc-
|
|
2
|
+
import { c as parseWorkspaceSearch } from "./workspace-0XPILV1W.js";
|
|
3
|
+
import { t as createSsrRpc } from "./createSsrRpc-6LHNEsSK.js";
|
|
4
4
|
import { createFileRoute, lazyRouteComponent } from "@tanstack/react-router";
|
|
5
5
|
//#region src/lib/shortcuts.ts
|
|
6
6
|
/** Asks the open conversation's menu to start a new conversation, as its own item does. */
|
|
@@ -79,7 +79,7 @@ function neighbour(ordered, current, step) {
|
|
|
79
79
|
}
|
|
80
80
|
//#endregion
|
|
81
81
|
//#region src/routes/index.tsx
|
|
82
|
-
var $$splitComponentImporter = () => import("./routes-
|
|
82
|
+
var $$splitComponentImporter = () => import("./routes-D9Mw1_VV.js");
|
|
83
83
|
/** The rail's open/closed Teams; a bad cookie is ignored. */
|
|
84
84
|
var fetchWorkspace = createServerFn({ method: "GET" }).validator((data) => data).handler(createSsrRpc("22325942f341b7af6fb13fa5fde2b06e1d7d91f9178205ef3eb9e5ba3c9ef2fe"));
|
|
85
85
|
var Route = createFileRoute("/")({
|