@decocms/mesh 2.59.3 → 2.59.5
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/client/assets/{AlertCircle-xn5rFX2T.js → AlertCircle-BmzagJTS.js} +1 -1
- package/dist/client/assets/{ArrowLeft-Bb6bw7wO.js → ArrowLeft-BkK50n5W.js} +1 -1
- package/dist/client/assets/{ArrowUp-DmmjiRhr.js → ArrowUp-BjUPYtOi.js} +1 -1
- package/dist/client/assets/{Calendar-DjDp3sZ6.js → Calendar-DZcEp1o3.js} +1 -1
- package/dist/client/assets/{Check-CP3euUrF.js → Check-CeorNg_Q.js} +1 -1
- package/dist/client/assets/{ChevronDown-sM8LyvvZ.js → ChevronDown-DHgzfDOn.js} +1 -1
- package/dist/client/assets/{Code01-DR-jbECo.js → Code01-C3uTkWw7.js} +1 -1
- package/dist/client/assets/{Copy01-Ds6kUzpe.js → Copy01-D2UqUo7F.js} +1 -1
- package/dist/client/assets/{DotsHorizontal-DZRRv704.js → DotsHorizontal-C2Cp4F2y.js} +1 -1
- package/dist/client/assets/{DotsVertical-DZEGrhum.js → DotsVertical-CbPPn03K.js} +1 -1
- package/dist/client/assets/{Download01-BxIh__MC.js → Download01-BrsFevks.js} +1 -1
- package/dist/client/assets/{Edit01-BVZvpfR8.js → Edit01-D4kKualc.js} +1 -1
- package/dist/client/assets/{File02-Dh_9xh7Q.js → File02-CJChiHT7.js} +1 -1
- package/dist/client/assets/{File06-B5Dv7-Oa.js → File06-D3YhRSWf.js} +1 -1
- package/dist/client/assets/{FilterLines-DH_DosQX.js → FilterLines-Dm0iR9nQ.js} +1 -1
- package/dist/client/assets/{Grid01-BRgRtmbs.js → Grid01-C0Yt3TrW.js} +1 -1
- package/dist/client/assets/{Home02-lEMcKcn1.js → Home02-BXCJMmnc.js} +1 -1
- package/dist/client/assets/{Image01-DoUr5ERm.js → Image01-BxGEkI20.js} +1 -1
- package/dist/client/assets/{Inbox01-DGDxlReT.js → Inbox01-pqRVnVhd.js} +1 -1
- package/dist/client/assets/{InfoCircle-BzAYvvO0.js → InfoCircle-CItUremO.js} +1 -1
- package/dist/client/assets/{Key01-DYMhbAB1.js → Key01-CG2VBx47.js} +1 -1
- package/dist/client/assets/{LinkExternal01-CG-vKoro.js → LinkExternal01-CsuKk35n.js} +1 -1
- package/dist/client/assets/{List-7uuZoLIU.js → List-Tf6_FYvd.js} +1 -1
- package/dist/client/assets/{Loading01-CaAuMuYs.js → Loading01-D7Nk5rBn.js} +1 -1
- package/dist/client/assets/{Lock01-B3UR0GHM.js → Lock01-DV6G4OAL.js} +1 -1
- package/dist/client/assets/{Pin01-YRdxhSee.js → Pin01-EjlLL7Hj.js} +1 -1
- package/dist/client/assets/{Play-CUJHUsFq.js → Play-CaQCPrdk.js} +1 -1
- package/dist/client/assets/{Plus-BfTBbS63.js → Plus-BAl5ksmH.js} +1 -1
- package/dist/client/assets/{SearchMd-DVKxUKrX.js → SearchMd-XlpqEN-D.js} +1 -1
- package/dist/client/assets/{Share07-DC87ym6H.js → Share07-Dw_Ho0Fm.js} +1 -1
- package/dist/client/assets/{Terminal-Csxea4Ut.js → Terminal-BK5I3Y1e.js} +1 -1
- package/dist/client/assets/{Tool01-ChloSpuN.js → Tool01-BLwXizsZ.js} +1 -1
- package/dist/client/assets/{Trash01-DFo133oe.js → Trash01-CdZ-Jz57.js} +1 -1
- package/dist/client/assets/{Upload01-D1Hk2Al6.js → Upload01-D7Wikn5K.js} +1 -1
- package/dist/client/assets/{Users03-D4Z1AQ9s.js → Users03-9f86Wop8.js} +1 -1
- package/dist/client/assets/{X-DhTQLdE5.js → X-CjLPt87f.js} +1 -1
- package/dist/client/assets/{XClose-DnQCXbLq.js → XClose-DSGHFh4M.js} +1 -1
- package/dist/client/assets/agent-detail-7FOys_Jg.js +1 -0
- package/dist/client/assets/{agents-EruM84S0.js → agents-CPStualW.js} +1 -1
- package/dist/client/assets/{alert-dialog-DZDASW_Y.js → alert-dialog-D0Pbwyv-.js} +2 -2
- package/dist/client/assets/{auth-catchall-DMglr4vj.js → auth-catchall-C8EKwBMn.js} +1 -1
- package/dist/client/assets/{avatar-D8fhy6Ww.js → avatar-DwsJKOst.js} +1 -1
- package/dist/client/assets/{badge-DUUncEQr.js → badge-C6I3bZub.js} +1 -1
- package/dist/client/assets/{binder-BPAsHHtz.js → binder-DMkBMJDe.js} +1 -1
- package/dist/client/assets/{button-CrpAre8y.js → button-BVfOTfpc.js} +1 -1
- package/dist/client/assets/{card-DFAR9fdq.js → card-C1ZVlkU0.js} +1 -1
- package/dist/client/assets/{checkbox-C3_7sazf.js → checkbox-DAuxoUuR.js} +1 -1
- package/dist/client/assets/{circle-alert-CKX7xMwa.js → circle-alert-DuAEeMx-.js} +1 -1
- package/dist/client/assets/collapsible-GqoDHWGA.js +23 -0
- package/dist/client/assets/{collection-detail-P4xS7bsU.js → collection-detail-ComoILCe.js} +1 -1
- package/dist/client/assets/{collection-display-button-Bg3dpeu8.js → collection-display-button-ChMvUn2E.js} +1 -1
- package/dist/client/assets/{collection-header-otDJIXED.js → collection-header-CJErncxY.js} +1 -1
- package/dist/client/assets/{collection-page-CUjvCEL-.js → collection-page-Bi-tbERp.js} +1 -1
- package/dist/client/assets/{collection-search-DCaFQu6x.js → collection-search-BzoiV2-u.js} +1 -1
- package/dist/client/assets/{collection-tab-CzmKWGIs.js → collection-tab-1YVo2yy8.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-DGYtCyoO.js → collection-table-wrapper-thG71bGI.js} +1 -1
- package/dist/client/assets/{connect-BdCEolcr.js → connect-Cdro5khB.js} +1 -1
- package/dist/client/assets/{connection-card-rs_E5lwE.js → connection-card-ss7oQ1sY.js} +1 -1
- package/dist/client/assets/{connection-detail-DmZtLLGV.js → connection-detail-D8BVZUed.js} +1 -1
- package/dist/client/assets/{connections-cBCnIsVT.js → connections-BmxtYRou.js} +1 -1
- package/dist/client/assets/{constants-CAezfWK1.js → constants-BW4JZ47T.js} +1 -1
- package/dist/client/assets/constants-CBcj5NvV.js +1 -0
- package/dist/client/assets/{create-organization-dialog-BPmyxFH3.js → create-organization-dialog-5VVOifK_.js} +1 -1
- package/dist/client/assets/{dialog-DHQqGK7g.js → dialog-BKc0uyIf.js} +1 -1
- package/dist/client/assets/{dropdown-menu-C8F0EsLR.js → dropdown-menu-COxc-l2r.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-D4RjVErB.js → dynamic-plugin-layout-D0Ome1yQ.js} +1 -1
- package/dist/client/assets/{empty-state--pBjJrWJ.js → empty-state-BA1dna4T.js} +1 -1
- package/dist/client/assets/{empty-state-DrxI6i2r.js → empty-state-Cu7Vuwtc.js} +1 -1
- package/dist/client/assets/env-vars-editor-V0t9-7eJ.js +1 -0
- package/dist/client/assets/{error-boundary-C4ZiBZqG.js → error-boundary-DGWOOFEb.js} +1 -1
- package/dist/client/assets/{extract-connection-data-BQo5YaFM.js → extract-connection-data-CUU0Xk9N.js} +1 -1
- package/dist/client/assets/{file-browser-DsCPH1Ag.js → file-browser-DlzXa6OC.js} +2 -2
- package/dist/client/assets/{form-DQQrIzsV.js → form-CVtLpajs.js} +1 -1
- package/dist/client/assets/{grid-view-DW981ZW7.js → grid-view-C-AwkYIf.js} +1 -1
- package/dist/client/assets/{home-D-N7CfPC.js → home-CNkoFZIO.js} +1 -1
- package/dist/client/assets/{index-M3wOD-T-.js → index-BcdQIGUF.js} +32 -32
- package/dist/client/assets/{index-D55GsjfR.js → index-CCsaEkmm.js} +2 -2
- package/dist/client/assets/{index-BVCaXPqJ.js → index-D47Uffzr.js} +1 -1
- package/dist/client/assets/index-DXup9nzR.js +1 -0
- package/dist/client/assets/{index-CsFpv8QQ.js → index-Der3_fHk.js} +1 -1
- package/dist/client/assets/index-DmpB2YV8.js +1 -0
- package/dist/client/assets/{infiniteQueryObserver-CfX1I4Ag.js → infiniteQueryObserver-DrveVX8A.js} +1 -1
- package/dist/client/assets/{input-YM08EPCC.js → input-CUCPZMz2.js} +1 -1
- package/dist/client/assets/{layout-BHkRlBCz.js → layout-BbogDOP_.js} +1 -1
- package/dist/client/assets/localstorage-keys-du1r-Z9U.js +1 -0
- package/dist/client/assets/{login-DST3z8Qq.js → login-DmgPNC9v.js} +1 -1
- package/dist/client/assets/{mcp-oauth-PtJaIBSs.js → mcp-oauth-JUhR-zCP.js} +1 -1
- package/dist/client/assets/{mcp-server-card-BGCxJtFs.js → mcp-server-card-BljG3HDb.js} +1 -1
- package/dist/client/assets/{mcp-server-detail-CLu2K73s.js → mcp-server-detail-CnzqXowm.js} +2 -2
- package/dist/client/assets/{members-DdELhmRF.js → members-C_HxHJzG.js} +1 -1
- package/dist/client/assets/{monaco-editor-i9oMLTE9.js → monaco-editor-CBeaXMU-.js} +1 -1
- package/dist/client/assets/{monitoring-CVIH1wIi.js → monitoring-Bvmrto3t.js} +1 -1
- package/dist/client/assets/{oauth-callback-BHMg2ciL.js → oauth-callback-CKCDA102.js} +1 -1
- package/dist/client/assets/{page-DVKYkPd1.js → page-CR4MuyMw.js} +1 -1
- package/dist/client/assets/{page-DAZ87OMt.js → page-dZAP2FO7.js} +1 -1
- package/dist/client/assets/{pin-to-sidebar-button-CnJDDpqU.js → pin-to-sidebar-button-D1PDIW9U.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-CRXDez4A.js → plugin-empty-state-UWD4gqMv.js} +1 -1
- package/dist/client/assets/{plugin-header-BW0ZqJ9r.js → plugin-header--R1hkRV-.js} +1 -1
- package/dist/client/assets/plugins-B39yvsMR.js +1 -0
- package/dist/client/assets/{popover-B_5ZVJni.js → popover-LSiJhuO3.js} +1 -1
- package/dist/client/assets/{registry-utils-CcsfK0rU.js → registry-utils-BtoR-qhS.js} +1 -1
- package/dist/client/assets/{resizable-rgbJMlXu.js → resizable-CQSJSF2D.js} +1 -1
- package/dist/client/assets/{resource-tabs-DnsGbVCQ.js → resource-tabs-4g29YzhM.js} +1 -1
- package/dist/client/assets/{select-D2wMncj-.js → select-Bti-BgCx.js} +1 -1
- package/dist/client/assets/{settings-CLiZONWL.js → settings-DiOvc3SE.js} +1 -1
- package/dist/client/assets/{shell-layout-Cjy6ltJC.js → shell-layout-BEh2pmUE.js} +2 -2
- package/dist/client/assets/{spinner-B3atGTOQ.js → spinner-Fg4ciUuT.js} +1 -1
- package/dist/client/assets/{store-invite-Ckjal6E8.js → store-invite-fnQnsnI3.js} +1 -1
- package/dist/client/assets/{switch-DKUU5EKy.js → switch-Dj3WkUS4.js} +1 -1
- package/dist/client/assets/{textarea-55XlgpLZ.js → textarea-DeK9qU4Z.js} +1 -1
- package/dist/client/assets/{tools-list-ENMGYPBW.js → tools-list-BeFKqIIs.js} +1 -1
- package/dist/client/assets/{tooltip-D1Jc2Tgr.js → tooltip-DDTkATYg.js} +1 -1
- package/dist/client/assets/{typewriter-title-1wCftG4E.js → typewriter-title-DbQkTfun.js} +2 -2
- package/dist/client/assets/{use-binding-DdMe4omo.js → use-binding-Cx0cnXwg.js} +1 -1
- package/dist/client/assets/{use-collections-COu7mzCX.js → use-collections-D97KvVa9.js} +1 -1
- package/dist/client/assets/{use-connection-D5-dSK3A.js → use-connection-C76BYat1.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-BaTDfij5.js → use-create-virtual-mcp-DazESShZ.js} +1 -1
- package/dist/client/assets/{use-deco-chat-open-BRCU7WzQ.js → use-deco-chat-open-u5zZi1de.js} +1 -1
- package/dist/client/assets/{use-list-state-xhqAqE-A.js → use-list-state-BrsvhCvu.js} +1 -1
- package/dist/client/assets/{use-mcp-prompts-BLDzHD20.js → use-mcp-prompts-DzCHcPVg.js} +1 -1
- package/dist/client/assets/{use-members-IqhuQTuW.js → use-members-BGZRzPKD.js} +1 -1
- package/dist/client/assets/{use-mobile-DIZjLJK7.js → use-mobile-0MLmfurT.js} +1 -1
- package/dist/client/assets/{use-organization-settings-D9D-nJ5w.js → use-organization-settings-K9WNKRlW.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-Ciz726kq.js → use-virtual-mcp-TOs4GWZq.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-etEZJXp8.js +1 -0
- package/dist/client/assets/{useMutation-i3JyomhH.js → useMutation-C7y5vUn8.js} +1 -1
- package/dist/client/assets/useQuery-frKnQxkY.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-7GUdjJBj.js +1 -0
- package/dist/client/assets/{view-mode-toggle-DWoBF8kY.js → view-mode-toggle-JXEPDzFm.js} +1 -1
- package/dist/client/assets/{workflow-BQn7VIZF.js → workflow-BUf_HFcm.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +163 -163
- package/dist/server/migrate.js +148 -148
- package/dist/server/server.js +140 -140
- package/package.json +1 -1
- package/dist/client/assets/agent-detail-ByBpnMWY.js +0 -1
- package/dist/client/assets/collapsible-CNHksBot.js +0 -23
- package/dist/client/assets/constants-AccVhxEg.js +0 -1
- package/dist/client/assets/env-vars-editor-B2cK0oXN.js +0 -1
- package/dist/client/assets/index-CYuJPFs9.js +0 -1
- package/dist/client/assets/index-DaTQM6wc.js +0 -1
- package/dist/client/assets/localstorage-keys-hwI1e15G.js +0 -1
- package/dist/client/assets/plugins-Ciz3DPby.js +0 -1
- package/dist/client/assets/useInfiniteQuery-DZakeCfr.js +0 -1
- package/dist/client/assets/useQuery-BQUu3Rwx.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-aRxFMhU5.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M12 8v4m0 4h.01M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z"}));i.displayName="AlertCircle";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M19 12H5m0 0 7 7m-7-7 7-7"}));i.displayName="ArrowLeft";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const i=({size:e=24,color:o="currentColor",...t})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:o,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t},r.createElement("path",{d:"M12 19V5m0 0-7 7m7-7 7 7"}));i.displayName="ArrowUp";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M21 10H3m13-8v4M8 2v4m-.2 16h8.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C21 19.72 21 18.88 21 17.2V8.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C18.72 4 17.88 4 16.2 4H7.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C3 6.28 3 7.12 3 8.8v8.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C5.28 22 6.12 22 7.8 22Z"}));a.displayName="Calendar";export{a as n};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M20 6 9 17l-5-5"}));i.displayName="Check";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const n=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"m6 9 6 6 6-6"}));n.displayName="ChevronDown";export{n as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"m16 18 6-6-6-6M8 6l-6 6 6 6"}));i.displayName="Code01";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const o=({size:e=24,color:t="currentColor",...a})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},r.createElement("path",{d:"M5 15c-.932 0-1.398 0-1.765-.152a2 2 0 0 1-1.083-1.083C2 13.398 2 12.932 2 12V5.2c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C3.52 2 4.08 2 5.2 2H12c.932 0 1.398 0 1.765.152a2 2 0 0 1 1.083 1.083C15 3.602 15 4.068 15 5m-2.8 17h6.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C22 20.48 22 19.92 22 18.8v-6.6c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C20.48 9 19.92 9 18.8 9h-6.6c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C9 10.52 9 11.08 9 12.2v6.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C10.52 22 11.08 22 12.2 22Z"}));o.displayName="Copy01";export{o as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M12 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm7 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM5 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}));i.displayName="DotsHorizontal";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t}from"./index-
|
|
1
|
+
import{r as t}from"./index-BcdQIGUF.js";const i=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M12 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0-7a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0 14a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}));i.displayName="DotsVertical";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const n=({size:e=24,color:o="currentColor",...t})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:o,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t},r.createElement("path",{d:"M21 15v1.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V15m14-5-5 5m0 0-5-5m5 5V3"}));n.displayName="Download01";export{n};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t}from"./index-
|
|
1
|
+
import{r as t}from"./index-BcdQIGUF.js";const i=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M2.876 18.116c.046-.414.069-.62.131-.814a2 2 0 0 1 .234-.485c.111-.17.259-.317.553-.61L17 3a2.828 2.828 0 1 1 4 4L7.794 20.206c-.294.294-.442.442-.611.553a2 2 0 0 1-.485.233c-.193.063-.4.086-.814.132L2.5 21.5l.376-3.384Z"}));i.displayName="Edit01";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M14 11H8m2 4H8m8-8H8m12-.2v10.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C17.72 22 16.88 22 15.2 22H8.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C4 19.72 4 18.88 4 17.2V6.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C6.28 2 7.12 2 8.8 2h6.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C20 4.28 20 5.12 20 6.8Z"}));i.displayName="File02";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M14 2.27V6.4c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437c.214.11.494.11 1.054.11h4.13M16 13H8m8 4H8m2-8H8m6-7H8.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C4 4.28 4 5.12 4 6.8v10.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 22 7.12 22 8.8 22h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 19.72 20 18.88 20 17.2V8l-6-6Z"}));i.displayName="File06";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M6 12h12M3 6h18M9 18h6"}));i.displayName="FilterLines";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t}from"./index-
|
|
1
|
+
import{r as t}from"./index-BcdQIGUF.js";const o=({size:e=24,color:a="currentColor",...r})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:a,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},t.createElement("path",{d:"m9 18 6-6-6-6"}));o.displayName="ChevronRight";const c=({size:e=24,color:a="currentColor",...r})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:a,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},t.createElement("path",{d:"M8.4 3H4.6c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C3 3.76 3 4.04 3 4.6v3.8c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C3.76 10 4.04 10 4.6 10h3.8c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437C10 9.24 10 8.96 10 8.4V4.6c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C9.24 3 8.96 3 8.4 3Zm11 0h-3.8c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C14 3.76 14 4.04 14 4.6v3.8c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C14.76 10 15.04 10 15.6 10h3.8c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437C21 9.24 21 8.96 21 8.4V4.6c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C20.24 3 19.96 3 19.4 3Zm0 11h-3.8c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C14 14.76 14 15.04 14 15.6v3.8c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C14.76 21 15.04 21 15.6 21h3.8c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437C21 20.24 21 19.96 21 19.4v-3.8c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C20.24 14 19.96 14 19.4 14Zm-11 0H4.6c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C3 14.76 3 15.04 3 15.6v3.8c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C3.76 21 4.04 21 4.6 21h3.8c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437C10 20.24 10 19.96 10 19.4v-3.8c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C9.24 14 8.96 14 8.4 14Z"}));c.displayName="Grid01";export{c,o as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const o=({size:e=24,color:t="currentColor",...a})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},r.createElement("path",{d:"M9 21v-7.4c0-.56 0-.84.109-1.054a1 1 0 0 1 .437-.437C9.76 12 10.04 12 10.6 12h2.8c.56 0 .84 0 1.054.109a1 1 0 0 1 .437.437C15 12.76 15 13.04 15 13.6V21M11.018 2.764 4.235 8.039c-.453.353-.68.53-.843.75a2 2 0 0 0-.318.65C3 9.704 3 9.991 3 10.565V17.8c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C4.52 21 5.08 21 6.2 21h11.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C21 19.48 21 18.92 21 17.8v-7.235c0-.574 0-.861-.074-1.126a2.002 2.002 0 0 0-.318-.65c-.163-.22-.39-.397-.843-.75l-6.783-5.275c-.351-.273-.527-.41-.72-.462a1 1 0 0 0-.523 0c-.194.052-.37.189-.721.462Z"}));o.displayName="Home02";export{o as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a}from"./index-
|
|
1
|
+
import{r as a}from"./index-BcdQIGUF.js";const o=({size:e=24,color:r="currentColor",...t})=>a.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t},a.createElement("path",{d:"M16.2 21H6.931c-.605 0-.908 0-1.049-.12a.5.5 0 0 1-.173-.42c.014-.183.228-.397.657-.826l8.503-8.503c.396-.396.594-.594.822-.668a1 1 0 0 1 .618 0c.228.074.426.272.822.668L21 15v1.2M16.2 21c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C21 18.72 21 17.88 21 16.2M16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V7.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C5.28 3 6.12 3 7.8 3h8.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C21 5.28 21 6.12 21 7.8v8.4M10.5 8.5a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"}));o.displayName="Image01";export{o as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const c=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M2.5 12h3.382c.685 0 1.312.387 1.618 1 .306.613.933 1 1.618 1h5.764c.685 0 1.312-.387 1.618-1 .306-.613.933-1 1.618-1H21.5M8.967 4h6.066c1.077 0 1.616 0 2.091.164a3 3 0 0 1 1.121.693c.36.352.6.833 1.082 1.796l2.166 4.333c.19.378.284.567.35.765.06.177.102.357.128.541.029.207.029.418.029.841V15.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C19.72 20 18.88 20 17.2 20H6.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C2 17.72 2 16.88 2 15.2v-2.067c0-.422 0-.634.029-.84.026-.184.068-.365.128-.541.066-.199.16-.388.35-.766l2.166-4.333c.482-.963.723-1.444 1.082-1.796a3 3 0 0 1 1.12-.693C7.352 4 7.89 4 8.968 4Z"}));c.displayName="Inbox01";export{c as n};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const i=({size:e=24,color:o="currentColor",...t})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:o,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t},r.createElement("path",{d:"M12 16v-4m0-4h.01M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z"}));i.displayName="InfoCircle";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M17 9a1.99 1.99 0 0 0-.586-1.414A1.994 1.994 0 0 0 15 7m0 8a6 6 0 1 0-5.946-5.193c.058.434.087.651.068.789a.853.853 0 0 1-.117.346c-.068.121-.187.24-.426.479l-5.11 5.11c-.173.173-.26.26-.322.36a1 1 0 0 0-.12.29C3 17.296 3 17.418 3 17.663V19.4c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C3.76 21 4.04 21 4.6 21H7v-2h2v-2h2l1.58-1.58c.238-.238.357-.357.478-.425a.852.852 0 0 1 .346-.117c.138-.02.355.01.789.068.264.036.533.054.807.054Z"}));a.displayName="Key01";export{a as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const n=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M21 9V3m0 0h-6m6 0-8 8m-3-6H7.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C3 7.28 3 8.12 3 9.8v6.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C5.28 21 6.12 21 7.8 21h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C19 18.72 19 17.88 19 16.2V14"}));n.displayName="LinkExternal01";export{n};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t}from"./index-
|
|
1
|
+
import{r as t}from"./index-BcdQIGUF.js";const i=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M21 12H9m12-6H9m12 12H9m-4-6a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm0-6a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm0 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"}));i.displayName="List";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M12 2.25v2.5M12 18v4M5.75 12h-3.5m19 0h-1.5m-1.293 6.457-.707-.707m.914-12.334L17.25 6.83M4.922 19.078 7.75 16.25M5.129 5.209 7.25 7.33"}));i.displayName="Loading01";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M17 10V8A5 5 0 0 0 7 8v2m5 4.5v2M8.8 21h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 18.72 20 17.88 20 16.2v-1.4c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C17.72 10 16.88 10 15.2 10H8.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C4 12.28 4 13.12 4 14.8v1.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 21 7.12 21 8.8 21Z"}));a.displayName="Lock01";export{a as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as c}from"./index-
|
|
1
|
+
import{r as c}from"./index-BcdQIGUF.js";const o=({size:e=24,color:r="currentColor",...t})=>c.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t},c.createElement("path",{d:"M12 15v7M8 7.308v2.13c0 .209 0 .313-.02.412a1.001 1.001 0 0 1-.09.254c-.045.09-.11.172-.24.334L6.08 12.4c-.666.833-.999 1.249-.999 1.599a1 1 0 0 0 .376.782C5.731 15 6.264 15 7.33 15h9.342c1.066 0 1.599 0 1.873-.219A1 1 0 0 0 18.92 14c0-.35-.333-.766-1-1.599l-1.569-1.962c-.13-.162-.195-.243-.241-.334a1.004 1.004 0 0 1-.09-.254C16 9.75 16 9.647 16 9.44V7.31c0-.116 0-.174.007-.23.006-.05.015-.1.029-.15a2.02 2.02 0 0 1 .079-.215l1.008-2.52c.294-.735.44-1.102.38-1.397a1 1 0 0 0-.427-.63C16.825 2 16.429 2 15.637 2H8.364c-.792 0-1.188 0-1.44.167a1 1 0 0 0-.426.63c-.06.295.086.662.38 1.397l1.008 2.52c.043.107.064.16.08.215a1 1 0 0 1 .028.15c.006.056.006.114.006.23Z"}));o.displayName="Pin01";export{o as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M5 4.99c0-.972 0-1.457.202-1.725a1 1 0 0 1 .738-.395c.335-.02.74.25 1.548.788l10.515 7.01c.668.446 1.002.668 1.118.949a1 1 0 0 1 0 .766c-.116.28-.45.503-1.118.948l-10.515 7.01c-.809.54-1.213.809-1.548.789a1 1 0 0 1-.738-.395C5 20.467 5 19.98 5 19.01V4.99Z"}));a.displayName="Play";export{a as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M12 5v14m-7-7h14"}));i.displayName="Plus";export{i as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"m21 21-4.35-4.35M19 11a8 8 0 1 1-16 0 8 8 0 0 1 16 0Z"}));i.displayName="SearchMd";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"m8.59 13.51 6.83 3.98m-.01-10.98-6.82 3.98M21 5a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM9 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm12 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}));a.displayName="Share07";export{a as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"m4 17 6-6-6-6m8 14h8"}));i.displayName="Terminal";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M3 9h13.5a4.5 4.5 0 1 1 0 9H12M3 9l4-4M3 9l4 4"}));a.displayName="FlipBackward";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M15.631 7.631c-.396-.396-.594-.594-.668-.822a1 1 0 0 1 0-.618c.074-.228.272-.426.668-.822L18.47 2.53a6 6 0 0 0-8.3 6.895c.12.49.179.734.168.888a.849.849 0 0 1-.11.392c-.07.138-.207.274-.48.547L3.5 17.5a2.121 2.121 0 0 0 3 3l6.248-6.248c.273-.273.41-.41.547-.48a.849.849 0 0 1 .392-.11c.154-.011.399.049.888.168a6 6 0 0 0 6.895-8.3l-2.84 2.84c-.396.396-.594.594-.822.668a1 1 0 0 1-.618 0c-.228-.074-.426-.272-.822-.668l-.738-.738Z"}));i.displayName="Tool01";export{i as a,a as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M16 6v-.8c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C14.48 2 13.92 2 12.8 2h-1.6c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C8 3.52 8 4.08 8 5.2V6m2 5.5v5m4-5v5M3 6h18m-2 0v11.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C16.72 22 15.88 22 14.2 22H9.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C5 19.72 5 18.88 5 17.2V6"}));a.displayName="Trash01";export{a as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M21 15v1.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V15m14-7-5-5m0 0L7 8m5-5v12"}));i.displayName="Upload01";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M18 15.837c1.456.731 2.704 1.905 3.615 3.373.18.29.27.436.302.637.063.409-.216.912-.597 1.073-.188.08-.398.08-.82.08M16 11.532a4.5 4.5 0 0 0 0-8.064M14 7.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM2.56 18.938C4.153 16.545 6.67 15 9.5 15s5.346 1.545 6.94 3.938c.35.525.525.787.505 1.122-.016.26-.187.58-.396.738-.267.202-.635.202-1.371.202H3.822c-.736 0-1.104 0-1.372-.202a1.109 1.109 0 0 1-.395-.738c-.02-.335.155-.597.504-1.122Z"}));a.displayName="Users03";export{a as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M17 7 7 17M7 7l10 10"}));i.displayName="X";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BcdQIGUF.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M18 6 6 18M6 6l12 12"}));i.displayName="XClose";export{i as s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as j,v as ft,w as pt,j as t,x as ue,aw as xt,R as ht,I as gt,z as ve,D as bt,B as He,E as vt,c as C,u as Ae,V as jt,s as Nt,ao as Oe,l as yt,a as Ct,b6 as kt,bn as Tt,k as St,h as _t,as as wt}from"./index-BcdQIGUF.js";import{u as It,C as Et,a as At}from"./collapsible-GqoDHWGA.js";import{I as le,E as Ot}from"./empty-state-BA1dna4T.js";import{E as me,i as Dt}from"./error-boundary-DGWOOFEb.js";import{P as $t}from"./pin-to-sidebar-button-D1PDIW9U.js";import{u as zt}from"./use-deco-chat-open-u5zZi1de.js";import{B as De}from"./badge-C6I3bZub.js";import{c as F,B as V}from"./button-BVfOTfpc.js";import{I as Fe}from"./input-CUCPZMz2.js";import{S as Lt}from"./switch-Dj3WkUS4.js";import{T as Rt}from"./textarea-DeK9qU4Z.js";import{T as H,b as je,c as W,a as U}from"./tooltip-DDTkATYg.js";import{b as Pt,u as We}from"./use-connection-C76BYat1.js";import{u as Mt,a as Vt}from"./use-virtual-mcp-TOs4GWZq.js";import{i as Ue}from"./Grid01-C0Yt3TrW.js";import{n as Ft}from"./select-Bti-BgCx.js";import{i as $e}from"./File02-CJChiHT7.js";import{a as ze,i as Bt}from"./Tool01-BLwXizsZ.js";import{i as Le}from"./Loading01-D7Nk5rBn.js";import{i as Gt}from"./Play-CaQCPrdk.js";import{s as Be}from"./Plus-BAl5ksmH.js";import{i as Ht}from"./Share07-Dw_Ho0Fm.js";import{b as Wt,V as Ut}from"./layout-BbogDOP_.js";import{C as Kt}from"./collection-search-BzoiV2-u.js";import{C as Re}from"./checkbox-DAuxoUuR.js";import{e as qt,a as Ke,D as qe,b as Yt,c as Zt}from"./dialog-BKc0uyIf.js";import{f as Jt}from"./use-collections-D97KvVa9.js";import{u as Pe}from"./constants-BW4JZ47T.js";import{c as Qt,u as Xt}from"./use-mcp-prompts-DzCHcPVg.js";import{s as Ye}from"./slugify-CEUa2lfQ.js";import{I as es,R as ts,a as ss}from"./index-D47Uffzr.js";import{i as Ze}from"./Check-CeorNg_Q.js";import{i as ls}from"./Code01-C3uTkWw7.js";import{a as os}from"./Copy01-D2UqUo7F.js";import{i as Ne}from"./InfoCircle-CItUremO.js";import"./use-binding-Cx0cnXwg.js";import"./binder-DMkBMJDe.js";import"./useSuspenseInfiniteQuery-7GUdjJBj.js";import"./infiniteQueryObserver-DrveVX8A.js";import"./localstorage-keys-du1r-Z9U.js";import"./useQuery-frKnQxkY.js";import"./useMutation-C7y5vUn8.js";import"./popover-LSiJhuO3.js";import"./ChevronDown-DHgzfDOn.js";import"./File06-D3YhRSWf.js";import"./Image01-BxGEkI20.js";import"./SearchMd-XlpqEN-D.js";import"./Pin01-EjlLL7Hj.js";import"./use-organization-settings-K9WNKRlW.js";import"./ArrowLeft-BkK50n5W.js";import"./X-CjLPt87f.js";const Je=({size:l=24,color:e="currentColor",...s})=>j.createElement("svg",{viewBox:"0 0 24 24",width:l,height:l,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},j.createElement("path",{d:"M4 7h11m0 0-4 4m4-4-4-4M4 17h16m0 0-4 4m4-4-4-4"}));Je.displayName="ArrowsRight";const Qe=({size:l=24,color:e="currentColor",...s})=>j.createElement("svg",{viewBox:"0 0 24 24",width:l,height:l,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},j.createElement("path",{d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z"}));Qe.displayName="Circle";const Xe=({size:l=24,color:e="currentColor",...s})=>j.createElement("svg",{viewBox:"0 0 24 24",width:l,height:l,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},j.createElement("path",{d:"M9 2v3m6-3v3M9 19v3m6-3v3m4-13h3m-3 5h3M2 9h3m-3 5h3m4.8 5h4.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C19 16.72 19 15.88 19 14.2V9.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C16.72 5 15.88 5 14.2 5H9.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C5 7.28 5 8.12 5 9.8v4.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C7.28 19 8.12 19 9.8 19Z"}));Xe.displayName="CpuChip02";const fe=({size:l=24,color:e="currentColor",...s})=>j.createElement("svg",{viewBox:"0 0 24 24",width:l,height:l,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},j.createElement("path",{d:"m9.75 20.75 1.473.818c.284.158.425.237.576.268.133.027.27.027.402 0 .15-.031.292-.11.576-.268l1.473-.818m-9-2.5-1.427-.793c-.3-.166-.45-.25-.558-.368a1 1 0 0 1-.215-.364C3 16.573 3 16.401 3 16.06V14.5m0-5V7.942c0-.343 0-.514.05-.667a1 1 0 0 1 .215-.364c.109-.119.258-.202.558-.368L5.25 5.75m4.5-2.5 1.473-.818c.284-.158.425-.237.576-.267a1 1 0 0 1 .402 0c.15.03.292.11.576.267l1.473.818m4.5 2.5 1.427.793c.3.166.45.25.558.368a1 1 0 0 1 .215.364c.05.153.05.324.05.667V9.5m0 5v1.559c0 .342 0 .514-.05.666a.999.999 0 0 1-.215.364c-.109.119-.258.202-.558.368l-1.427.793m-9-7.5L12 12m0 0 2.25-1.25M12 12v2.5M3 7l2.25 1.25m13.5 0L21 7m-9 12.5V22"}));fe.displayName="CubeOutline";const et=({size:l=24,color:e="currentColor",...s})=>j.createElement("svg",{viewBox:"0 0 24 24",width:l,height:l,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},j.createElement("path",{d:"M10 17.659V20a2 2 0 1 0 4 0v-2.341M12 2v1m-9 9H2m3.5-6.5-.6-.6m13.6.6.6-.6M22 12h-1m-3 0a6 6 0 1 1-12 0 6 6 0 0 1 12 0Z"}));et.displayName="Lightbulb02";const tt=({size:l=24,color:e="currentColor",...s})=>j.createElement("svg",{viewBox:"0 0 24 24",width:l,height:l,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},j.createElement("path",{d:"M7 3v3.4c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C7.76 8 8.04 8 8.6 8h6.8c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437C17 7.24 17 6.96 17 6.4V4m0 17v-6.4c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C16.24 13 15.96 13 15.4 13H8.6c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C7 13.76 7 14.04 7 14.6V21M21 9.325V16.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V7.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C5.28 3 6.12 3 7.8 3h6.875c.489 0 .733 0 .963.055.204.05.4.13.579.24.201.123.374.296.72.642l3.126 3.126c.346.346.519.519.642.72.11.18.19.374.24.579.055.23.055.474.055.963Z"}));tt.displayName="Save01";var pe="Tabs",[ns]=vt(pe,[He]),st=He(),[rs,Me]=ns(pe),lt=j.forwardRef((l,e)=>{const{__scopeTabs:s,value:o,onValueChange:n,defaultValue:r,orientation:d="horizontal",dir:i,activationMode:c="automatic",...m}=l,u=ft(i),[a,f]=pt({prop:o,onChange:n,defaultProp:r??"",caller:pe});return t.jsx(rs,{scope:s,baseId:xt(),value:a,onValueChange:f,orientation:d,dir:u,activationMode:c,children:t.jsx(ue.div,{dir:u,"data-orientation":d,...m,ref:e})})});lt.displayName=pe;var ot="TabsList",nt=j.forwardRef((l,e)=>{const{__scopeTabs:s,loop:o=!0,...n}=l,r=Me(ot,s),d=st(s);return t.jsx(ht,{asChild:!0,...d,orientation:r.orientation,dir:r.dir,loop:o,children:t.jsx(ue.div,{role:"tablist","aria-orientation":r.orientation,...n,ref:e})})});nt.displayName=ot;var rt="TabsTrigger",it=j.forwardRef((l,e)=>{const{__scopeTabs:s,value:o,disabled:n=!1,...r}=l,d=Me(rt,s),i=st(s),c=dt(d.baseId,o),m=mt(d.baseId,o),u=o===d.value;return t.jsx(gt,{asChild:!0,...i,focusable:!n,active:u,children:t.jsx(ue.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":m,"data-state":u?"active":"inactive","data-disabled":n?"":void 0,disabled:n,id:c,...r,ref:e,onMouseDown:ve(l.onMouseDown,a=>{!n&&a.button===0&&a.ctrlKey===!1?d.onValueChange(o):a.preventDefault()}),onKeyDown:ve(l.onKeyDown,a=>{[" ","Enter"].includes(a.key)&&d.onValueChange(o)}),onFocus:ve(l.onFocus,()=>{const a=d.activationMode!=="manual";!u&&!n&&a&&d.onValueChange(o)})})})});it.displayName=rt;var at="TabsContent",ct=j.forwardRef((l,e)=>{const{__scopeTabs:s,value:o,forceMount:n,children:r,...d}=l,i=Me(at,s),c=dt(i.baseId,o),m=mt(i.baseId,o),u=o===i.value,a=j.useRef(u);return j.useEffect(()=>{const f=requestAnimationFrame(()=>a.current=!1);return()=>cancelAnimationFrame(f)},[]),t.jsx(bt,{present:n||u,children:({present:f})=>t.jsx(ue.div,{"data-state":u?"active":"inactive","data-orientation":i.orientation,role:"tabpanel","aria-labelledby":c,hidden:!f,id:m,tabIndex:0,...d,ref:e,style:{...l.style,animationDuration:a.current?"0s":void 0},children:f&&r})})});ct.displayName=at;function dt(l,e){return`${l}-trigger-${e}`}function mt(l,e){return`${l}-content-${e}`}var is=lt,as=nt,cs=it,ds=ct;function ms(l){const e=C.c(10);let s,o,n;e[0]!==l?({className:s,variant:n,...o}=l,e[0]=l,e[1]=s,e[2]=o,e[3]=n):(s=e[1],o=e[2],n=e[3]);const r=n===void 0?"pill":n;let d;e[4]!==s?(d=F("flex flex-col gap-2",s),e[4]=s,e[5]=d):d=e[5];let i;return e[6]!==o||e[7]!==d||e[8]!==r?(i=t.jsx(is,{"data-slot":"tabs","data-variant":r,className:d,...o}),e[6]=o,e[7]=d,e[8]=r,e[9]=i):i=e[9],i}function us(l){const e=C.c(11);let s,o,n;e[0]!==l?({className:s,variant:n,...o}=l,e[0]=l,e[1]=s,e[2]=o,e[3]=n):(s=e[1],o=e[2],n=e[3]);const r=n||"pill",d=r==="underline"?"flex h-[52px] items-center border-b border-border":r==="canvas"?"flex h-10 items-center bg-background relative":"bg-muted text-muted-foreground inline-flex h-10 w-fit items-center justify-center rounded-xl p-[3px]";let i;e[4]!==s||e[5]!==d?(i=F(d,s),e[4]=s,e[5]=d,e[6]=i):i=e[6];let c;return e[7]!==r||e[8]!==o||e[9]!==i?(c=t.jsx(as,{"data-slot":"tabs-list","data-variant":r,className:i,...o}),e[7]=r,e[8]=o,e[9]=i,e[10]=c):c=e[10],c}function ye(l){const e=C.c(11);let s,o,n;e[0]!==l?({className:s,variant:n,...o}=l,e[0]=l,e[1]=s,e[2]=o,e[3]=n):(s=e[1],o=e[2],n=e[3]);const r=n||"pill",d=r==="underline"?"cursor-pointer flex items-center h-full px-3 relative text-sm whitespace-nowrap border-b-2 mb-[-1px] transition-all text-muted-foreground border-transparent hover:text-foreground data-[state=active]:text-foreground data-[state=active]:border-foreground disabled:pointer-events-none disabled:opacity-50":r==="canvas"?"cursor-pointer flex items-center h-full px-3 gap-2.5 text-sm whitespace-nowrap transition-all border-r border-b border-border [&>*]:opacity-50 data-[state=active]:[&>*]:opacity-100 data-[state=active]:border-b-0 last:border-r-0 disabled:pointer-events-none max-w-2xs":"data-[state=active]:bg-background dark:data-[state=active]:text-foreground cursor-pointer focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-lg border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4";let i;e[4]!==s||e[5]!==d?(i=F(d,s),e[4]=s,e[5]=d,e[6]=i):i=e[6];let c;return e[7]!==r||e[8]!==o||e[9]!==i?(c=t.jsx(cs,{"data-slot":"tabs-trigger","data-variant":r,className:i,...o}),e[7]=r,e[8]=o,e[9]=i,e[10]=c):c=e[10],c}function Ce(l){const e=C.c(8);let s,o;e[0]!==l?({className:s,...o}=l,e[0]=l,e[1]=s,e[2]=o):(s=e[1],o=e[2]);let n;e[3]!==s?(n=F("flex-1 outline-none h-full",s),e[3]=s,e[4]=n):n=e[4];let r;return e[5]!==o||e[6]!==n?(r=t.jsx(ds,{"data-slot":"tabs-content",className:n,...o}),e[5]=o,e[6]=n,e[7]=r):r=e[7],r}function ke(l){return l===null?"all":l?.length??0}function fs(l,e){const s=l[e];if(!s)return"";const o=[];return s.tools===null?o.push("all tools"):s.tools&&s.tools.length>0&&o.push(`${s.tools.length} tools`),s.resources===null?o.push("all resources"):s.resources&&s.resources.length>0&&o.push(`${s.resources.length} resources`),s.prompts===null?o.push("all prompts"):s.prompts&&s.prompts.length>0&&o.push(`${s.prompts.length} prompts`),o.join(", ")}function ps(l,e){const s=l[e];return s?!((s.tools===void 0||s.tools!==null&&s.tools.length===0)&&(s.resources===void 0||s.resources!==null&&s.resources.length===0)&&(s.prompts===void 0||s.prompts!==null&&s.prompts.length===0)):!1}const xs={tools:null,resources:null,prompts:null};function Te(){const l=C.c(1);let e;return l[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx("div",{className:"flex items-center justify-center h-32",children:t.jsx(Le,{className:"animate-spin text-muted-foreground",size:24})}),l[0]=e):e=l[0],e}function Se(l){return({error:e})=>e?.message?.includes("Method not found")||e?.code===-32601?t.jsx("div",{className:"flex-1 overflow-auto px-4 py-3 space-y-1",children:t.jsx("div",{className:"flex items-center justify-center h-32 text-sm text-muted-foreground",children:l})}):t.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center h-full p-6 text-center space-y-4",children:[t.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:t.jsx(Dt,{className:"h-6 w-6 text-destructive"})}),t.jsxs("div",{className:"space-y-2",children:[t.jsx("h3",{className:"text-lg font-medium",children:"Something went wrong"}),t.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:e?.message||"An unexpected error occurred"})]})]})}function hs(l){const e=C.c(18),{item:s,isSelected:o,onToggle:n,disabled:r}=l,d=r?"cursor-not-allowed opacity-50":"cursor-pointer",i=o?"bg-accent/25":"hover:bg-muted/50";let c;e[0]!==d||e[1]!==i?(c=F("flex items-start gap-3 p-4 rounded-lg transition-colors",d,i),e[0]=d,e[1]=i,e[2]=c):c=e[2];let m;e[3]!==s.name?(m=t.jsx("p",{className:"text-sm font-medium leading-none",children:s.name}),e[3]=s.name,e[4]=m):m=e[4];let u;e[5]!==s.description?(u=s.description&&t.jsx("p",{className:"text-xs text-muted-foreground line-clamp-2",children:s.description}),e[5]=s.description,e[6]=u):u=e[6];let a;e[7]!==m||e[8]!==u?(a=t.jsxs("div",{className:"flex-1 min-w-0 space-y-2",children:[m,u]}),e[7]=m,e[8]=u,e[9]=a):a=e[9];let f;e[10]!==r||e[11]!==o||e[12]!==n?(f=t.jsx(Re,{checked:o,onCheckedChange:n,disabled:r,className:"mt-0.5"}),e[10]=r,e[11]=o,e[12]=n,e[13]=f):f=e[13];let g;return e[14]!==c||e[15]!==a||e[16]!==f?(g=t.jsxs("label",{className:c,children:[a,f]}),e[14]=c,e[15]=a,e[16]=f,e[17]=g):g=e[17],g}function Ve(l){const e=C.c(32),{items:s,selections:o,onToggle:n,onToggleAll:r,emptyMessage:d,disabled:i}=l;let c,m,u,a,f;if(e[0]!==i||e[1]!==d||e[2]!==s||e[3]!==n||e[4]!==r||e[5]!==o){f=Symbol.for("react.early_return_sentinel");e:{const p=s.map(gs);if(s.length===0){let y;e[11]!==d?(y=t.jsx("div",{className:"flex-1 overflow-auto px-4 py-3 space-y-1",children:t.jsx("div",{className:"flex items-center justify-center h-32 text-sm text-muted-foreground",children:d})}),e[11]=d,e[12]=y):y=e[12],f=y;break e}u="flex flex-col h-full";const N=i?"cursor-not-allowed opacity-50":"cursor-pointer";let v;e[13]!==N?(v=F("flex items-start gap-3 p-4",N),e[13]=N,e[14]=v):v=e[14];let x;e[15]!==s.length?(x=t.jsx("div",{className:"flex-1 min-w-0",children:t.jsxs("span",{className:"text-sm font-medium",children:["Select All (",s.length,")"]})}),e[15]=s.length,e[16]=x):x=e[16];const T=o===null;let S;e[17]!==i||e[18]!==r||e[19]!==T?(S=t.jsx(Re,{checked:T,onCheckedChange:r,disabled:i,className:"mt-0.5"}),e[17]=i,e[18]=r,e[19]=T,e[20]=S):S=e[20],e[21]!==S||e[22]!==v||e[23]!==x?(a=t.jsx("div",{className:"px-4 border-b border-border shrink-0",children:t.jsxs("label",{className:v,children:[x,S]})}),e[21]=S,e[22]=v,e[23]=x,e[24]=a):a=e[24],c="flex-1 overflow-auto px-4 py-3 space-y-1",m=s.map(y=>t.jsx(hs,{item:y,isSelected:o===null||o?.includes(y.id),onToggle:()=>n(y.id,p),disabled:i},y.id))}e[0]=i,e[1]=d,e[2]=s,e[3]=n,e[4]=r,e[5]=o,e[6]=c,e[7]=m,e[8]=u,e[9]=a,e[10]=f}else c=e[6],m=e[7],u=e[8],a=e[9],f=e[10];if(f!==Symbol.for("react.early_return_sentinel"))return f;let g;e[25]!==c||e[26]!==m?(g=t.jsx("div",{className:c,children:m}),e[25]=c,e[26]=m,e[27]=g):g=e[27];let h;return e[28]!==u||e[29]!==a||e[30]!==g?(h=t.jsxs("div",{className:u,children:[a,g]}),e[28]=u,e[29]=a,e[30]=g,e[31]=h):h=e[31],h}function gs(l){return l.id}function bs(l){const e=C.c(13),{connectionId:s,selections:o,onToggle:n,onToggleAll:r,disabled:d}=l,{org:i}=Ae();let c;e[0]!==s||e[1]!==i.id?(c={connectionId:s,orgId:i.id},e[0]=s,e[1]=i.id,e[2]=c):c=e[2];const m=Pe(c);let u;e[3]!==m?(u={client:m},e[3]=m,e[4]=u):u=e[4];const{data:a}=Jt(u);let f;e[5]!==a.tools?(f=a.tools.map(vs),e[5]=a.tools,e[6]=f):f=e[6];const g=f;let h;return e[7]!==d||e[8]!==g||e[9]!==n||e[10]!==r||e[11]!==o?(h=t.jsx(Ve,{items:g,selections:o,onToggle:n,onToggleAll:r,emptyMessage:"No tools available",disabled:d}),e[7]=d,e[8]=g,e[9]=n,e[10]=r,e[11]=o,e[12]=h):h=e[12],h}function vs(l){return{id:l.name,name:l.name,description:l.description}}function js(l){const e=C.c(13),{connectionId:s,selections:o,onToggle:n,onToggleAll:r,disabled:d}=l,{org:i}=Ae();let c;e[0]!==s||e[1]!==i.id?(c={connectionId:s,orgId:i.id},e[0]=s,e[1]=i.id,e[2]=c):c=e[2];const m=Pe(c);let u;e[3]!==m?(u={client:m},e[3]=m,e[4]=u):u=e[4];const{data:a}=Qt(u);let f;e[5]!==a.resources?(f=a.resources.map(Ns),e[5]=a.resources,e[6]=f):f=e[6];const g=f;let h;return e[7]!==d||e[8]!==g||e[9]!==n||e[10]!==r||e[11]!==o?(h=t.jsx(Ve,{items:g,selections:o,onToggle:n,onToggleAll:r,emptyMessage:"No resources available",disabled:d}),e[7]=d,e[8]=g,e[9]=n,e[10]=r,e[11]=o,e[12]=h):h=e[12],h}function Ns(l){return{id:l.name||l.uri,name:l.name||l.uri,description:l.description}}function ys(l){const e=C.c(13),{connectionId:s,selections:o,onToggle:n,onToggleAll:r,disabled:d}=l,{org:i}=Ae();let c;e[0]!==s||e[1]!==i.id?(c={connectionId:s,orgId:i.id},e[0]=s,e[1]=i.id,e[2]=c):c=e[2];const m=Pe(c);let u;e[3]!==m?(u={client:m},e[3]=m,e[4]=u):u=e[4];const{data:a}=Xt(u);let f;e[5]!==a.prompts?(f=a.prompts.map(Cs),e[5]=a.prompts,e[6]=f):f=e[6];const g=f;let h;return e[7]!==d||e[8]!==g||e[9]!==n||e[10]!==r||e[11]!==o?(h=t.jsx(Ve,{items:g,selections:o,onToggle:n,onToggleAll:r,emptyMessage:"No prompts available",disabled:d}),e[7]=d,e[8]=g,e[9]=n,e[10]=r,e[11]=o,e[12]=h):h=e[12],h}function Cs(l){return{id:l.name,name:l.name,description:l.description}}function ks(l){const e=C.c(24),{connection:s,isSelected:o,hasSelections:n,summary:r,onClick:d,onToggleAll:i,disabled:c}=l,m=c?"cursor-not-allowed opacity-50":"cursor-pointer",u=o?"bg-accent":"hover:bg-muted/50";let a;e[0]!==m||e[1]!==u?(a=F("flex items-center gap-2 p-2 h-12 rounded-lg transition-colors",m,u),e[0]=m,e[1]=u,e[2]=a):a=e[2];const f=c?void 0:d;let g;e[3]!==s.icon||e[4]!==s.title?(g=t.jsx(le,{icon:s.icon,name:s.title,size:"xs",className:"shrink-0"}),e[3]=s.icon,e[4]=s.title,e[5]=g):g=e[5];let h;e[6]!==s.title?(h=t.jsx("p",{className:"text-sm font-medium text-foreground truncate",children:s.title}),e[6]=s.title,e[7]=h):h=e[7];let p;e[8]!==n||e[9]!==r?(p=n&&r&&t.jsx("p",{className:"text-xs text-muted-foreground truncate",children:r}),e[8]=n,e[9]=r,e[10]=p):p=e[10];let N;e[11]!==h||e[12]!==p?(N=t.jsxs("div",{className:"flex-1 min-w-0 flex flex-col justify-center",children:[h,p]}),e[11]=h,e[12]=p,e[13]=N):N=e[13];let v;e[14]!==c||e[15]!==n||e[16]!==i?(v=t.jsx(Re,{checked:n,onCheckedChange:i,onClick:Ts,disabled:c,className:"shrink-0"}),e[14]=c,e[15]=n,e[16]=i,e[17]=v):v=e[17];let x;return e[18]!==a||e[19]!==f||e[20]!==g||e[21]!==N||e[22]!==v?(x=t.jsxs("div",{className:a,onClick:f,children:[g,N,v]}),e[18]=a,e[19]=f,e[20]=g,e[21]=N,e[22]=v,e[23]=x):x=e[23],x}function Ts(l){return l.stopPropagation()}function Ss(l){const e=C.c(22),{allConnections:s,searchTerm:o,selectedId:n,hasSelections:r,getSelectionSummary:d,onConnectionClick:i,onToggleAll:c,disabled:m}=l;let u;e[0]!==s||e[1]!==o?(u=o?s.filter(h=>h.title.toLowerCase().includes(o.toLowerCase())||h.description?.toLowerCase().includes(o.toLowerCase())):s,e[0]=s,e[1]=o,e[2]=u):u=e[2];const a=u;if(a.length===0){const h=o?"No connections found":"No connections available";let p;return e[3]!==h?(p=t.jsx("div",{className:"flex items-center justify-center h-full text-sm text-muted-foreground p-4",children:h}),e[3]=h,e[4]=p):p=e[4],p}let f;if(e[5]!==m||e[6]!==a||e[7]!==d||e[8]!==r||e[9]!==i||e[10]!==c||e[11]!==n){let h;e[13]!==m||e[14]!==d||e[15]!==r||e[16]!==i||e[17]!==c||e[18]!==n?(h=p=>t.jsx(ks,{connection:p,isSelected:n===p.id,hasSelections:r(p.id),summary:d(p.id),onClick:()=>i(p.id),onToggleAll:()=>c(p.id),disabled:m},p.id),e[13]=m,e[14]=d,e[15]=r,e[16]=i,e[17]=c,e[18]=n,e[19]=h):h=e[19],f=a.map(h),e[5]=m,e[6]=a,e[7]=d,e[8]=r,e[9]=i,e[10]=c,e[11]=n,e[12]=f}else f=e[12];let g;return e[20]!==f?(g=t.jsx("div",{className:"flex flex-col gap-0.5",children:f}),e[20]=f,e[21]=g):g=e[21],g}function _s(l){const e={};for(const s of l)e[s.connection_id]={tools:s.selected_tools,resources:s.selected_resources??null,prompts:s.selected_prompts??null};return e}function _e(l){return Object.entries(l).map(([e,s])=>({connection_id:e,selected_tools:s.tools,selected_resources:s.resources,selected_prompts:s.prompts}))}function ws(l,e){switch(e.type){case"SET_SEARCH_TERM":return{...l,searchTerm:e.payload};case"SET_SELECTED":return{...l,selectedId:e.payload};case"SET_ACTIVE_TAB":return{...l,activeTab:e.payload};case"RESET":return{searchTerm:"",selectedId:e.payload.selectedId??e.payload.firstConnectionId??null,activeTab:"tools"};case"SELECT_CONNECTION":return{...l,selectedId:e.payload,activeTab:"tools"};default:return l}}const Ge=(l,e)=>l.find(s=>s.id===e)??l[0];function Is(l){const e=C.c(79),{open:s,onOpenChange:o,selectedId:n,form:r,connections:d}=l;let i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i={},e[0]=i):i=e[0];const c=Pt(i);let m;e[1]!==c||e[2]!==n?(m=Ge(c,n)?.id??null,e[1]=c,e[2]=n,e[3]=m):m=e[3];let u;e[4]!==m?(u={activeTab:"tools",searchTerm:"",selectedId:m},e[4]=m,e[5]=u):u=e[5];const[a,f]=j.useReducer(ws,u);let g;e[6]!==d?(g=d??[],e[6]=d,e[7]=g):g=e[7];let h;e[8]!==g?(h=_s(g),e[8]=g,e[9]=h):h=e[9];const p=h;let N;e[10]!==c||e[11]!==a.selectedId?(N=Ge(c,a.selectedId),e[10]=c,e[11]=a.selectedId,e[12]=N):N=e[12];const v=N;let x;e[13]!==p?(x=b=>ps(p,b),e[13]=p,e[14]=x):x=e[14];const T=x;let S;e[15]!==p?(S=b=>fs(p,b),e[15]=p,e[16]=S):S=e[16];const y=S;let R;e[17]!==r||e[18]!==p?(R=(b,k,I,G)=>{const te=p[b]?.[k];let E;te===null?E=G.filter(be=>be!==I):te?.includes(I)?E=te.filter(be=>be!==I):(E=[...te??[],I],E.length===G.length&&(E=null));const se={...p};se[b]?se[b]={...se[b]}:se[b]={tools:null,resources:null,prompts:null},se[b][k]=E,r.setValue("connections",_e(se),{shouldDirty:!0,shouldTouch:!0})},e[17]=r,e[18]=p,e[19]=R):R=e[19];const _=R;let P;e[20]!==r||e[21]!==p?(P=(b,k)=>{const te=p[b]?.[k]===null?[]:null,E={...p};E[b]?E[b]={...E[b]}:E[b]={tools:null,resources:null,prompts:null},E[b][k]=te,r.setValue("connections",_e(E),{shouldDirty:!0,shouldTouch:!0})},e[20]=r,e[21]=p,e[22]=P):P=e[22];const w=P;let A;e[23]!==_?(A=(b,k,I)=>_(b,"tools",k,I),e[23]=_,e[24]=A):A=e[24];const $=A;let O;e[25]!==_?(O=(b,k,I)=>_(b,"resources",k,I),e[25]=_,e[26]=O):O=e[26];const z=O;let D;e[27]!==_?(D=(b,k,I)=>_(b,"prompts",k,I),e[27]=_,e[28]=D):D=e[28];const L=D;let M;e[29]!==w?(M=b=>w(b,"tools"),e[29]=w,e[30]=M):M=e[30];const B=M;let oe;e[31]!==w?(oe=b=>w(b,"resources"),e[31]=w,e[32]=oe):oe=e[32];const xe=oe;let ne;e[33]!==w?(ne=b=>w(b,"prompts"),e[33]=w,e[34]=ne):ne=e[34];const he=ne;let re;e[35]!==r||e[36]!==p?(re=b=>{const k=p[b],I=k&&k.tools===null&&k.resources===null&&k.prompts===null,G={...p};I?delete G[b]:G[b]=xs,r.setValue("connections",_e(G),{shouldDirty:!0,shouldTouch:!0})},e[35]=r,e[36]=p,e[37]=re):re=e[37];const ge=re;let ie;e[38]!==c||e[39]!==o||e[40]!==n?(ie=b=>{b&&f({type:"RESET",payload:{selectedId:n,firstConnectionId:c[0]?.id??null}}),o(b)},e[38]=c,e[39]=o,e[40]=n,e[41]=ie):ie=e[41];const K=ie;let ae;e[42]===Symbol.for("react.memo_cache_sentinel")?(ae=b=>{f({type:"SELECT_CONNECTION",payload:b})},e[42]=ae):ae=e[42];const ut=ae;let ce;e[43]===Symbol.for("react.memo_cache_sentinel")?(ce=b=>f({type:"SET_SEARCH_TERM",payload:b}),e[43]=ce):ce=e[43];let q;e[44]!==a.searchTerm?(q=t.jsx(Kt,{value:a.searchTerm,onChange:ce,placeholder:"Search connections..."}),e[44]=a.searchTerm,e[45]=q):q=e[45];let Y;e[46]!==c||e[47]!==a.searchTerm||e[48]!==a.selectedId||e[49]!==y||e[50]!==T||e[51]!==ge?(Y=t.jsx("div",{className:"flex-1 overflow-auto p-2",children:t.jsx(Ss,{allConnections:c,searchTerm:a.searchTerm,selectedId:a.selectedId,hasSelections:T,getSelectionSummary:y,onConnectionClick:ut,onToggleAll:ge})}),e[46]=c,e[47]=a.searchTerm,e[48]=a.selectedId,e[49]=y,e[50]=T,e[51]=ge,e[52]=Y):Y=e[52];let Z;e[53]!==q||e[54]!==Y?(Z=t.jsxs("div",{className:"w-full sm:w-72 sm:border-r border-b sm:border-b-0 border-border flex flex-col bg-background sm:h-full max-h-[40vh] sm:max-h-full",children:[q,Y]}),e[53]=q,e[54]=Y,e[55]=Z):Z=e[55];let J;e[56]!==v||e[57]!==a.activeTab||e[58]!==a.selectedId||e[59]!==p||e[60]!==he||e[61]!==xe||e[62]!==B||e[63]!==L||e[64]!==z||e[65]!==$?(J=t.jsx("div",{className:"flex-1 flex flex-col overflow-hidden",children:v&&a.selectedId?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"p-6 border-b border-border shrink-0",children:t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsx(le,{icon:v.icon,name:v.title,size:"md",className:"shrink-0"}),t.jsxs("div",{className:"flex-1 min-w-0",children:[t.jsx("h2",{className:"text-lg font-semibold truncate",children:v.title}),v.description&&t.jsx("p",{className:"text-sm text-muted-foreground truncate",children:v.description})]})]})}),t.jsx("div",{className:"flex-1 flex flex-col overflow-hidden",children:t.jsxs(ms,{value:a.activeTab,onValueChange:b=>f({type:"SET_ACTIVE_TAB",payload:b}),variant:"underline",className:"flex-1 flex flex-col overflow-hidden",children:[t.jsxs(us,{variant:"underline",className:"shrink-0 px-6",children:[t.jsxs(ye,{value:"tools",variant:"underline",className:"gap-2",children:[t.jsx(ze,{size:16}),"Tools"]}),t.jsxs(ye,{value:"resources",variant:"underline",className:"gap-2",children:[t.jsx(fe,{size:16}),"Resources"]}),t.jsxs(ye,{value:"prompts",variant:"underline",className:"gap-2",children:[t.jsx($e,{size:16}),"Prompts"]})]}),t.jsx(Ce,{value:"tools",className:"flex-1 overflow-hidden mt-0",children:t.jsx(me,{fallback:Se("Tools not supported by this server"),children:t.jsx(j.Suspense,{fallback:t.jsx(Te,{}),children:t.jsx(bs,{connectionId:a.selectedId,selections:a.selectedId&&p[a.selectedId]?p[a.selectedId].tools:[],onToggle:(b,k)=>a.selectedId&&$(a.selectedId,b,k),onToggleAll:()=>a.selectedId&&B(a.selectedId)})})})}),t.jsx(Ce,{value:"resources",className:"flex-1 overflow-hidden mt-0",children:t.jsx(me,{fallback:Se("Resources not supported by this server"),children:t.jsx(j.Suspense,{fallback:t.jsx(Te,{}),children:t.jsx(js,{connectionId:a.selectedId,selections:a.selectedId&&p[a.selectedId]?p[a.selectedId].resources:[],onToggle:(b,k)=>a.selectedId&&z(a.selectedId,b,k),onToggleAll:()=>a.selectedId&&xe(a.selectedId)})})})}),t.jsx(Ce,{value:"prompts",className:"flex-1 overflow-hidden mt-0",children:t.jsx(me,{fallback:Se("Prompts not supported by this server"),children:t.jsx(j.Suspense,{fallback:t.jsx(Te,{}),children:t.jsx(ys,{connectionId:a.selectedId,selections:a.selectedId&&p[a.selectedId]?p[a.selectedId].prompts:[],onToggle:(b,k)=>a.selectedId&&L(a.selectedId,b,k),onToggleAll:()=>a.selectedId&&he(a.selectedId)})})})})]})})]}):t.jsx("div",{className:"flex-1 flex items-center justify-center text-sm text-muted-foreground",children:"Select a connection to view its tools, resources, and prompts"})}),e[56]=v,e[57]=a.activeTab,e[58]=a.selectedId,e[59]=p,e[60]=he,e[61]=xe,e[62]=B,e[63]=L,e[64]=z,e[65]=$,e[66]=J):J=e[66];let Q;e[67]!==Z||e[68]!==J?(Q=t.jsxs("div",{className:"flex-1 flex overflow-hidden min-h-0 flex-col sm:flex-row",children:[Z,J]}),e[67]=Z,e[68]=J,e[69]=Q):Q=e[69];let X;e[70]!==K?(X=t.jsx(qt,{className:"px-6 py-4 border-t border-border shrink-0",children:t.jsx(V,{variant:"outline",onClick:()=>K(!1),children:"Done"})}),e[70]=K,e[71]=X):X=e[71];let ee;e[72]!==Q||e[73]!==X?(ee=t.jsxs(Ke,{className:"sm:max-w-5xl h-[80vh] max-h-[80vh] flex flex-col p-0 gap-0 overflow-hidden w-[95vw]",children:[Q,X]}),e[72]=Q,e[73]=X,e[74]=ee):ee=e[74];let de;return e[75]!==K||e[76]!==s||e[77]!==ee?(de=t.jsx(qe,{open:s,onOpenChange:K,children:ee}),e[75]=K,e[76]=s,e[77]=ee,e[78]=de):de=e[78],de}const Es=jt.pick({title:!0,description:!0,status:!0,metadata:!0,connections:!0}).extend({title:Nt().min(1,"Name is required").max(255)});function As(l){const e=C.c(8);let s,o;e[0]!==l?({className:s,...o}=l,e[0]=l,e[1]=s,e[2]=o):(s=e[1],o=e[2]);let n;e[3]!==s?(n=F("grid gap-3",s),e[3]=s,e[4]=n):n=e[4];let r;return e[5]!==o||e[6]!==n?(r=t.jsx(ts,{"data-slot":"radio-group",className:n,...o}),e[5]=o,e[6]=n,e[7]=r):r=e[7],r}function we(l){const e=C.c(9);let s,o;e[0]!==l?({className:s,...o}=l,e[0]=l,e[1]=s,e[2]=o):(s=e[1],o=e[2]);let n;e[3]!==s?(n=F("border-input text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",s),e[3]=s,e[4]=n):n=e[4];let r;e[5]===Symbol.for("react.memo_cache_sentinel")?(r=t.jsx(ss,{"data-slot":"radio-group-indicator",className:"relative flex items-center justify-center",children:t.jsx(Qe,{className:"fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2"})}),e[5]=r):r=e[5];let d;return e[6]!==o||e[7]!==n?(d=t.jsx(es,{"data-slot":"radio-group-item",className:n,...o,children:r}),e[6]=o,e[7]=n,e[8]=d):d=e[8],d}function Os(l){const s=new TextEncoder().encode(l),o=Array.from(s,n=>String.fromCharCode(n)).join("");return btoa(o)}function Ds(l){const e=C.c(10),{url:s}=l,[o,n]=j.useState(!1);let r;e[0]!==s?(r=async()=>{await navigator.clipboard.writeText(s),n(!0),Oe.success("Agent URL copied to clipboard"),setTimeout(()=>n(!1),2e3)},e[0]=s,e[1]=r):r=e[1];const d=r;let i;e[2]!==o?(i=o?t.jsx(Ze,{size:20,className:"text-green-600"}):t.jsx(os,{size:20}),e[2]=o,e[3]=i):i=e[3];const c=o?"Copied!":"Copy URL";let m;e[4]!==c?(m=t.jsx("span",{className:"text-xs font-medium",children:c}),e[4]=c,e[5]=m):m=e[5];let u;return e[6]!==d||e[7]!==i||e[8]!==m?(u=t.jsxs(V,{type:"button",variant:"outline",onClick:d,className:"h-auto py-3 px-4 flex flex-col items-center gap-2",children:[i,m]}),e[6]=d,e[7]=i,e[8]=m,e[9]=u):u=e[9],u}function $s(l){const e=C.c(7),{url:s,serverName:o}=l;let n;e[0]!==o||e[1]!==s?(n=()=>{const m=Ye(o),a=Os(JSON.stringify({type:"http",url:s,headers:{"x-mesh-client":"Cursor"}},null,2)),f=`cursor://anysphere.cursor-deeplink/mcp/install?name=${encodeURIComponent(m)}&config=${encodeURIComponent(a)}`;window.open(f,"_blank"),Oe.success("Opening Cursor...")},e[0]=o,e[1]=s,e[2]=n):n=e[2];const r=n;let d,i;e[3]===Symbol.for("react.memo_cache_sentinel")?(d=t.jsx("img",{src:"/logos/cursor.svg",alt:"Cursor",className:"h-5 w-5",style:{filter:"brightness(0) saturate(100%) invert(11%) sepia(8%) saturate(785%) hue-rotate(1deg) brightness(95%) contrast(89%)"}}),i=t.jsx("span",{className:"text-xs font-medium",children:"Install on Cursor"}),e[3]=d,e[4]=i):(d=e[3],i=e[4]);let c;return e[5]!==r?(c=t.jsxs(V,{type:"button",variant:"outline",onClick:r,className:"h-auto py-3 px-4 flex flex-col items-center gap-2",children:[d,i]}),e[5]=r,e[6]=c):c=e[6],c}function zs(l){const e=C.c(11),{url:s,serverName:o}=l,[n,r]=j.useState(!1);let d;e[0]!==o||e[1]!==s?(d=async()=>{const f=Ye(o),h=JSON.stringify({type:"http",url:s,headers:{"x-mesh-client":"Claude Code"}},null,2),p=`claude mcp add-json "${f}" '${h.replace(/'/g,"'\\''")}'`;await navigator.clipboard.writeText(p),r(!0),Oe.success("Claude Code command copied to clipboard"),setTimeout(()=>r(!1),2e3)},e[0]=o,e[1]=s,e[2]=d):d=e[2];const i=d;let c;e[3]!==n?(c=n?t.jsx(Ze,{size:20,className:"text-green-600"}):t.jsx("img",{src:"/logos/Claude Code.svg",alt:"Claude Code",className:"h-5 w-5",style:{filter:"brightness(0) saturate(100%) invert(55%) sepia(31%) saturate(1264%) hue-rotate(331deg) brightness(92%) contrast(86%)"}}),e[3]=n,e[4]=c):c=e[4];const m=n?"Copied!":"Install on Claude";let u;e[5]!==m?(u=t.jsx("span",{className:"text-xs font-medium",children:m}),e[5]=m,e[6]=u):u=e[6];let a;return e[7]!==i||e[8]!==c||e[9]!==u?(a=t.jsxs(V,{type:"button",variant:"outline",onClick:i,className:"h-auto py-3 px-4 flex flex-col items-center gap-2",children:[c,u]}),e[7]=i,e[8]=c,e[9]=u,e[10]=a):a=e[10],a}function Ls(l){const e=C.c(40),{open:s,onOpenChange:o,virtualMcp:n}=l,[r,d]=j.useState("code_execution");let i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i=B=>{(B==="passthrough"||B==="smart_tool_selection"||B==="code_execution")&&d(B)},e[0]=i):i=e[0];const c=i;let m;e[1]!==r||e[2]!==n.id?(m=new URL(`/mcp/virtual-mcp/${n.id}`,window.location.origin),m.searchParams.set("mode",r),e[1]=r,e[2]=n.id,e[3]=m):m=e[3];let u;e[4]!==n.id||e[5]!==n.title?(u=n.title||`agent-${n.id?.slice(0,8)??"default"}`,e[4]=n.id,e[5]=n.title,e[6]=u):u=e[6];const a=u;let f;e[7]===Symbol.for("react.memo_cache_sentinel")?(f=t.jsx(Yt,{children:t.jsx(Zt,{children:"Share Agent"})}),e[7]=f):f=e[7];let g;e[8]===Symbol.for("react.memo_cache_sentinel")?(g=t.jsx("div",{children:t.jsx("h4",{className:"text-sm font-medium text-foreground mt-1",children:"How should this agent work?"})}),e[8]=g):g=e[8];let h;e[9]===Symbol.for("react.memo_cache_sentinel")?(h=t.jsx("div",{className:"p-1.5 shrink-0",children:t.jsx(Je,{className:"size-5 text-muted-foreground"})}),e[9]=h):h=e[9];let p;e[10]===Symbol.for("react.memo_cache_sentinel")?(p=t.jsx("span",{className:"text-sm font-medium text-foreground",children:"Direct access"}),e[10]=p):p=e[10];let N;e[11]===Symbol.for("react.memo_cache_sentinel")?(N=t.jsx(H,{asChild:!0,children:t.jsx(Ne,{className:"size-3.5 text-muted-foreground"})}),e[11]=N):N=e[11];let v;e[12]===Symbol.for("react.memo_cache_sentinel")?(v=t.jsxs("label",{htmlFor:"mode-passthrough",className:"flex items-center gap-3 px-3 py-5 rounded-lg border border-border hover:border-ring/50 cursor-pointer transition-colors has-checked:border-ring has-checked:bg-accent/5",children:[h,t.jsxs("div",{className:"flex-1 flex flex-col gap-1.5",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[p,t.jsx(je,{children:t.jsxs(W,{children:[N,t.jsx(U,{className:"max-w-xs",children:t.jsx("p",{className:"text-xs",children:"All tools are exposed directly via tools/list. Best for small tool surfaces with deterministic behavior."})})]})})]}),t.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed",children:"Best for small teams or when you need predictable behavior"})]}),t.jsx(we,{id:"mode-passthrough",value:"passthrough"})]}),e[12]=v):v=e[12];let x;e[13]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx("div",{className:"p-1.5 shrink-0",children:t.jsx(et,{className:"size-5 text-muted-foreground"})}),e[13]=x):x=e[13];let T;e[14]===Symbol.for("react.memo_cache_sentinel")?(T=t.jsx("span",{className:"text-sm font-medium text-foreground",children:"Smart discovery"}),e[14]=T):T=e[14];let S;e[15]===Symbol.for("react.memo_cache_sentinel")?(S=t.jsx(H,{asChild:!0,children:t.jsx(Ne,{className:"size-3.5 text-muted-foreground"})}),e[15]=S):S=e[15];let y;e[16]===Symbol.for("react.memo_cache_sentinel")?(y=t.jsxs("label",{htmlFor:"mode-smart",className:"flex items-center gap-3 px-3 py-5 rounded-lg border border-border hover:border-ring/50 cursor-pointer transition-colors has-checked:border-ring has-checked:bg-accent/5",children:[x,t.jsxs("div",{className:"flex-1 flex flex-col gap-1.5",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[T,t.jsx(je,{children:t.jsxs(W,{children:[S,t.jsx(U,{className:"max-w-xs",children:t.jsx("p",{className:"text-xs",children:"Uses meta-tools (GATEWAY_SEARCH_TOOLS, GATEWAY_DESCRIBE_TOOLS, GATEWAY_CALL_TOOL) to keep the tool list small and request details on demand."})})]})})]}),t.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed",children:"Ideal for large teams with many tools - AI finds what it needs"})]}),t.jsx(we,{id:"mode-smart",value:"smart_tool_selection"})]}),e[16]=y):y=e[16];let R;e[17]===Symbol.for("react.memo_cache_sentinel")?(R=t.jsx("div",{className:"p-1.5 shrink-0",children:t.jsx(ls,{className:"size-5 text-muted-foreground"})}),e[17]=R):R=e[17];let _;e[18]===Symbol.for("react.memo_cache_sentinel")?(_=t.jsx("span",{className:"text-sm font-medium text-foreground",children:"Smart execution"}),e[18]=_):_=e[18];let P;e[19]===Symbol.for("react.memo_cache_sentinel")?(P=t.jsx(H,{asChild:!0,children:t.jsx(Ne,{className:"size-3.5 text-muted-foreground"})}),e[19]=P):P=e[19];let w;e[20]===Symbol.for("react.memo_cache_sentinel")?(w=t.jsxs("label",{htmlFor:"mode-code",className:"relative flex items-center gap-3 px-3 py-5 rounded-lg border border-border hover:border-ring/50 cursor-pointer transition-colors has-checked:border-ring has-checked:bg-accent/5",children:[R,t.jsxs("div",{className:"flex-1 flex flex-col gap-1.5",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[_,t.jsx(je,{children:t.jsxs(W,{children:[P,t.jsx(U,{className:"max-w-xs",children:t.jsx("p",{className:"text-xs",children:"Exposes meta-tools for discovery + sandboxed execution (GATEWAY_RUN_CODE). Reduces overhead on large surfaces by shifting work into a controlled runtime."})})]})})]}),t.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed",children:"Maximum flexibility - AI can write code to orchestrate tools"})]}),t.jsx(we,{id:"mode-code",value:"code_execution"}),t.jsx(De,{variant:"outline",className:"absolute -top-2.5 left-1/2 -translate-x-1/2 bg-background z-10",children:"Recommended"})]}),e[20]=w):w=e[20];let A;e[21]!==r?(A=t.jsxs("div",{className:"flex flex-col gap-3",children:[g,t.jsxs(As,{value:r,onValueChange:c,className:"flex flex-col gap-4.5",children:[v,y,w]})]}),e[21]=r,e[22]=A):A=e[22];let $;e[23]!==m.href?($=t.jsx(Ds,{url:m.href}),e[23]=m.href,e[24]=$):$=e[24];let O,z;e[25]!==a||e[26]!==m.href?(O=t.jsx($s,{url:m.href,serverName:a}),z=t.jsx(zs,{url:m.href,serverName:a}),e[25]=a,e[26]=m.href,e[27]=O,e[28]=z):(O=e[27],z=e[28]);let D;e[29]!==$||e[30]!==O||e[31]!==z?(D=t.jsx("div",{className:"flex flex-col gap-3 pt-2",children:t.jsxs("div",{className:"grid grid-cols-3 gap-2",children:[$,O,z]})}),e[29]=$,e[30]=O,e[31]=z,e[32]=D):D=e[32];let L;e[33]!==A||e[34]!==D?(L=t.jsxs(Ke,{className:"max-w-2xl max-h-[80vh] overflow-y-auto",children:[f,t.jsxs("div",{className:"flex flex-col gap-6",children:[A,D]})]}),e[33]=A,e[34]=D,e[35]=L):L=e[35];let M;return e[36]!==o||e[37]!==s||e[38]!==L?(M=t.jsx(qe,{open:s,onOpenChange:o,children:L}),e[36]=o,e[37]=s,e[38]=L,e[39]=M):M=e[39],M}function Rs(l,e){switch(e.type){case"SET_SHARE_DIALOG_OPEN":return{...l,shareDialogOpen:e.payload};case"SET_CONNECTION_DIALOG_OPEN":return{...l,connectionDialogOpen:e.payload};case"SET_EDITING_CONNECTION_ID":return{...l,editingConnectionId:e.payload};case"SET_SKILLS_OPEN":return{...l,skillsOpen:e.payload};default:return l}}function Ie(l){const e=C.c(3),{connection_id:s}=l,o=We(s);if(!o)return null;let n;return e[0]!==o.icon||e[1]!==o.title?(n=t.jsx("div",{className:"shrink-0 bg-background ring-1 ring-background rounded-lg",children:t.jsx(le,{icon:o.icon,name:o.title,size:"xs"})}),e[0]=o.icon,e[1]=o.title,e[2]=n):n=e[2],n}Ie.Fallback=function(){return t.jsx("div",{className:"shrink-0 bg-background ring-1 ring-background rounded-lg",children:t.jsx("div",{className:"size-5 rounded bg-muted animate-pulse"})})};function Ee(l){const e=C.c(27),{connection_id:s,selected_tools:o,selected_resources:n,selected_prompts:r,onClick:d}=l,i=We(s);if(!i)return null;let c;e[0]!==o?(c=ke(o),e[0]=o,e[1]=c):c=e[1];const m=c;let u;e[2]!==n?(u=ke(n),e[2]=n,e[3]=u):u=e[3];const a=u;let f;e[4]!==r?(f=ke(r),e[4]=r,e[5]=f):f=e[5];const g=f;let h;e[6]!==i.icon||e[7]!==i.title?(h=t.jsx(le,{icon:i.icon,name:i.title,size:"xs"}),e[6]=i.icon,e[7]=i.title,e[8]=h):h=e[8];let p;e[9]!==i.title?(p=t.jsx("p",{className:"flex-1 text-sm font-normal text-foreground truncate",children:i.title}),e[9]=i.title,e[10]=p):p=e[10];let N;e[11]!==m?(N=m!==0&&t.jsxs("div",{className:"flex items-center gap-0.5 text-xs text-muted-foreground",children:[t.jsx("span",{children:m==="all"?"all":m}),t.jsx(ze,{size:12})]}),e[11]=m,e[12]=N):N=e[12];let v;e[13]!==a?(v=a!==0&&t.jsxs("div",{className:"flex items-center gap-0.5 text-xs text-muted-foreground",children:[t.jsx("span",{children:a==="all"?"all":a}),t.jsx(fe,{size:12})]}),e[13]=a,e[14]=v):v=e[14];let x;e[15]!==g?(x=g!==0&&t.jsxs("div",{className:"flex items-center gap-0.5 text-xs text-muted-foreground",children:[t.jsx("span",{children:g==="all"?"all":g}),t.jsx($e,{size:12})]}),e[15]=g,e[16]=x):x=e[16];let T;e[17]!==N||e[18]!==v||e[19]!==x?(T=t.jsxs(De,{variant:"secondary",className:"bg-muted h-5 gap-2 px-1.5 py-1 flex items-center",children:[N,v,x]}),e[17]=N,e[18]=v,e[19]=x,e[20]=T):T=e[20];let S;e[21]===Symbol.for("react.memo_cache_sentinel")?(S=t.jsx(Ue,{size:16,className:"text-muted-foreground shrink-0"}),e[21]=S):S=e[21];let y;return e[22]!==d||e[23]!==h||e[24]!==p||e[25]!==T?(y=t.jsxs("div",{onClick:d,className:"w-full h-12 flex items-center gap-2 px-3 rounded-lg border border-border hover:bg-accent/50 transition-colors cursor-pointer",children:[h,p,T,S]}),e[22]=d,e[23]=h,e[24]=p,e[25]=T,e[26]=y):y=e[26],y}Ee.Fallback=function(){return t.jsxs("div",{className:"w-full h-12 flex items-center gap-2 px-3 rounded-lg border border-border",children:[t.jsx("div",{className:"size-5 rounded bg-muted animate-pulse shrink-0"}),t.jsx("div",{className:"flex-1 h-4 rounded bg-muted animate-pulse"}),t.jsxs(De,{variant:"secondary",className:"bg-muted h-5 gap-2 px-1.5 py-1 flex items-center",children:[t.jsxs("div",{className:"flex items-center gap-0.5 text-xs text-muted-foreground",children:[t.jsx("div",{className:"w-3 h-3 rounded bg-muted-foreground/20 animate-pulse"}),t.jsx(ze,{size:12})]}),t.jsxs("div",{className:"flex items-center gap-0.5 text-xs text-muted-foreground",children:[t.jsx("div",{className:"w-3 h-3 rounded bg-muted-foreground/20 animate-pulse"}),t.jsx(fe,{size:12})]}),t.jsxs("div",{className:"flex items-center gap-0.5 text-xs text-muted-foreground",children:[t.jsx("div",{className:"w-3 h-3 rounded bg-muted-foreground/20 animate-pulse"}),t.jsx($e,{size:12})]})]}),t.jsx(Ue,{size:16,className:"text-muted-foreground shrink-0"})]})};function Ps({virtualMcp:l}){const s=kt().location.href,o=Tt(),n=Vt(),r=St({resolver:_t(Es),defaultValues:l}),d=r.watch("connections"),[i,c]=j.useReducer(Rs,{shareDialogOpen:!1,connectionDialogOpen:!1,editingConnectionId:null,skillsOpen:!1}),[,m]=zt(),{setVirtualMcpId:u}=It();j.useEffect(()=>{m(!0),u(l.id)},[l.id]);const a=()=>{u(l.id),m(!0)},f=r.formState.isDirty,g=async()=>{const x=r.getValues(),T=await n.update.mutateAsync({id:l.id,data:x});r.reset(T)},h=()=>{r.reset(l)},p=()=>{c({type:"SET_EDITING_CONNECTION_ID",payload:null}),c({type:"SET_CONNECTION_DIALOG_OPEN",payload:!0})},N=x=>{c({type:"SET_EDITING_CONNECTION_ID",payload:x}),c({type:"SET_CONNECTION_DIALOG_OPEN",payload:!0})},v=n.update.isPending;return t.jsxs(Wt,{onBack:()=>o.history.back(),children:[t.jsxs(Ut,{children:[t.jsxs(W,{delayDuration:0,children:[t.jsx(H,{asChild:!0,children:t.jsx("span",{className:"inline-block",children:t.jsx(V,{variant:"outline",size:"icon",className:"size-7 border border-input",disabled:!f||v,onClick:h,"aria-label":"Cancel",children:t.jsx(Bt,{size:14})})})}),t.jsx(U,{side:"bottom",children:"Cancel"})]}),t.jsxs(W,{delayDuration:0,children:[t.jsx(H,{asChild:!0,children:t.jsx("span",{className:"inline-block",children:t.jsx(V,{variant:"outline",size:"icon",className:"size-7 border border-input",disabled:!f||v,onClick:g,"aria-label":"Save",children:v?t.jsx(Le,{size:14,className:"animate-spin"}):t.jsx(tt,{size:14})})})}),t.jsx(U,{side:"bottom",children:"Save"})]}),t.jsxs(W,{delayDuration:0,children:[t.jsx(H,{asChild:!0,children:t.jsx("span",{className:"inline-block",children:t.jsxs(V,{variant:"outline",size:"sm",className:"h-7 gap-1.5 px-2 border border-input",onClick:a,"aria-label":"Test Agent",children:[t.jsx(Gt,{size:14}),"Test Agent"]})})}),t.jsx(U,{side:"bottom",children:"Test this agent in chat"})]}),t.jsxs(W,{delayDuration:0,children:[t.jsx(H,{asChild:!0,children:t.jsx("span",{className:"inline-block",children:t.jsx(V,{variant:"outline",size:"icon",className:"size-7 border border-input",onClick:()=>c({type:"SET_SHARE_DIALOG_OPEN",payload:!0}),"aria-label":"Share",children:t.jsx(Ht,{size:14})})})}),t.jsx(U,{side:"bottom",children:"Share"})]}),t.jsx($t,{title:l.title,url:s,icon:l.icon??"cpu_chip"})]}),t.jsx("div",{className:"flex h-full w-full bg-background overflow-auto",children:t.jsxs("div",{className:"flex flex-col w-full",children:[t.jsxs("div",{className:"flex items-start justify-between gap-4 p-6 shrink-0",children:[t.jsxs("div",{className:"flex items-start gap-4 flex-1 min-w-0",children:[t.jsx(le,{icon:l.icon,name:r.watch("title")||"Agent",size:"lg",className:"shrink-0 shadow-sm",fallbackIcon:t.jsx(Xe,{})}),t.jsxs("div",{className:"flex flex-col flex-1 min-w-0",children:[t.jsx(Fe,{...r.register("title"),className:"h-auto py-0.5 text-lg! font-medium leading-7 px-1 -mx-1 border-transparent hover:bg-input/25 focus:border-input bg-transparent transition-all",placeholder:"Agent Name"}),t.jsx(Fe,{...r.register("description"),className:"h-auto py-0.5 text-base text-muted-foreground leading-6 px-1 -mx-1 border-transparent hover:bg-input/25 focus:border-input bg-transparent transition-all",placeholder:"Add a description..."})]})]}),t.jsx("div",{className:"flex items-center gap-2 shrink-0",children:t.jsx(Lt,{checked:r.watch("status")==="active",onCheckedChange:x=>r.setValue("status",x?"active":"inactive",{shouldDirty:!0})})})]}),t.jsxs(Et,{open:i.skillsOpen,onOpenChange:x=>c({type:"SET_SKILLS_OPEN",payload:x}),className:"border-t border-border shrink-0 max-h-[400px] overflow-hidden flex flex-col",children:[d.length===0?t.jsxs("button",{type:"button",onClick:p,className:"w-full flex items-center justify-between px-6 py-4 hover:bg-muted/50 transition-colors cursor-pointer",children:[t.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:"Skills"}),t.jsxs("div",{className:"h-7 px-2 inline-flex items-center justify-center gap-1 rounded-md text-sm text-muted-foreground",children:[t.jsx(Be,{size:14}),"Add"]})]}):t.jsx(At,{asChild:!0,children:t.jsxs("button",{type:"button",className:"w-full flex items-center justify-between px-6 py-4 hover:bg-muted/50 transition-colors cursor-pointer",children:[t.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:"Skills"}),t.jsxs("div",{className:"flex items-center",children:[t.jsx("div",{className:"flex items-center -space-x-2 ease-(--ease-out-expo)",style:{width:i.skillsOpen?0:"auto",marginRight:i.skillsOpen?0:4,opacity:i.skillsOpen?0:1,pointerEvents:i.skillsOpen?"none":"auto",transitionProperty:"all",transitionDuration:i.skillsOpen?"0ms":"200ms"},children:d.slice(0,4).map(x=>t.jsx(j.Suspense,{fallback:t.jsx(Ie.Fallback,{}),children:t.jsx(Ie,{connection_id:x.connection_id})},x.connection_id))}),t.jsxs("div",{role:"button",tabIndex:0,className:"h-7 inline-flex items-center justify-center rounded-md text-sm text-muted-foreground overflow-hidden transition-all duration-200 ease-(--ease-out-expo) hover:bg-accent hover:text-accent-foreground",style:{width:i.skillsOpen?"auto":28,paddingLeft:i.skillsOpen?8:0,paddingRight:i.skillsOpen?8:0,gap:i.skillsOpen?4:0},onPointerDown:x=>{x.stopPropagation()},onClick:x=>{x.stopPropagation(),x.preventDefault(),p()},onKeyDown:x=>{(x.key==="Enter"||x.key===" ")&&(x.stopPropagation(),x.preventDefault(),p())},children:[t.jsx(Be,{size:14,className:"shrink-0"}),t.jsx("span",{className:"overflow-hidden whitespace-nowrap transition-all duration-200 ease-(--ease-out-expo)",style:{width:i.skillsOpen?"auto":0,opacity:i.skillsOpen?1:0},children:"Add"})]}),t.jsx("div",{className:"h-7 inline-flex items-center justify-center overflow-hidden transition-all duration-200 ease-(--ease-out-expo)",style:{width:i.skillsOpen?28:0,opacity:i.skillsOpen?1:0},children:t.jsx(Ft,{size:16,className:"shrink-0"})})]})]})}),t.jsx("div",{className:"grid overflow-hidden transition-[grid-template-rows] duration-200 ease-(--ease-out-expo)",style:{gridTemplateRows:i.skillsOpen?"1fr":"0fr"},children:t.jsx("div",{className:"min-h-0 overflow-hidden",children:t.jsx("div",{className:"overflow-y-auto max-h-[300px] mask-[linear-gradient(to_bottom,black_calc(100%-40px),transparent_100%)]",children:t.jsx("div",{className:"flex flex-col gap-2 px-6 pb-4 pt-2",children:d.map(x=>t.jsx(j.Suspense,{fallback:t.jsx(Ee.Fallback,{}),children:t.jsx(Ee,{connection_id:x.connection_id,selected_tools:x.selected_tools,selected_resources:x.selected_resources,selected_prompts:x.selected_prompts,onClick:()=>N(x.connection_id)})},x.connection_id))})})})})]}),t.jsxs("div",{className:"flex flex-col flex-1 p-6 border-t border-border overflow-auto",children:[t.jsx("p",{className:"text-sm font-medium text-muted-foreground mb-2",children:"Instructions"}),t.jsx(wt,{name:"metadata.instructions",control:r.control,render:({field:x})=>t.jsx(Rt,{...x,value:x.value??"",placeholder:"Write instructions here...",className:"min-h-[200px] resize-none text-sm placeholder:text-muted-foreground/50 leading-relaxed border-0 rounded-none shadow-none px-0 focus-visible:ring-0 focus-visible:ring-offset-0 focus:border-0 bg-transparent"})})]})]})}),t.jsx(Is,{open:i.connectionDialogOpen,onOpenChange:x=>c({type:"SET_CONNECTION_DIALOG_OPEN",payload:x}),selectedId:i.editingConnectionId,form:r,connections:d}),t.jsx(Ls,{open:i.shareDialogOpen,onOpenChange:x=>c({type:"SET_SHARE_DIALOG_OPEN",payload:x}),virtualMcp:l})]})}function Ms(){const l=C.c(6),e=yt();let s;l[0]===Symbol.for("react.memo_cache_sentinel")?(s={from:"/shell/$org/agents/$agentId"},l[0]=s):s=l[0];const o=Ct(s),{org:n,agentId:r}=o,d=Mt(r);if(!d){let c;return l[1]!==e||l[2]!==n?(c=t.jsx("div",{className:"flex h-full w-full bg-background",children:t.jsx(Ot,{title:"Agent not found",description:"This Agent may have been deleted or you may not have access.",actions:t.jsx(V,{variant:"outline",onClick:()=>e({to:"/$org/agents",params:{org:n}}),children:"Back to agents"})})}),l[1]=e,l[2]=n,l[3]=c):c=l[3],c}let i;return l[4]!==d?(i=t.jsx(Ps,{virtualMcp:d}),l[4]=d,l[5]=i):i=l[5],i}function Rl(){const l=C.c(1);let e;return l[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(me,{children:t.jsx(j.Suspense,{fallback:t.jsx("div",{className:"flex h-full items-center justify-center bg-background",children:t.jsx(Le,{size:32,className:"animate-spin text-muted-foreground"})}),children:t.jsx(Ms,{})})}),l[0]=e):e=l[0],e}export{Rl as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as Z,j as t,r as ee,u as te,l as se}from"./index-
|
|
1
|
+
import{c as Z,j as t,r as ee,u as te,l as se}from"./index-BcdQIGUF.js";import{C as oe}from"./collection-header-CJErncxY.js";import{C as re}from"./collection-page-Bi-tbERp.js";import{C as ne}from"./collection-search-BzoiV2-u.js";import{C as ie}from"./collection-table-wrapper-thG71bGI.js";import{C as ae}from"./connection-card-ss7oQ1sY.js";import{E as W,I as le}from"./empty-state-BA1dna4T.js";import{E as ce}from"./error-boundary-DGWOOFEb.js";import{u as de,s as G}from"./use-list-state-BrsvhCvu.js";import{u as me}from"./use-create-virtual-mcp-DazESShZ.js";import{i as ge}from"./constants-BW4JZ47T.js";import{b as ue,a as pe}from"./use-virtual-mcp-TOs4GWZq.js";import{c as he,b as fe,d as xe,A as je,e as Ce,g as we,a as ye,f as Ne}from"./alert-dialog-D0Pbwyv-.js";import{B as De}from"./badge-C6I3bZub.js";import{B as q}from"./button-BVfOTfpc.js";import{D as J,a as Q,b as U,c as E}from"./dropdown-menu-COxc-l2r.js";import{i as X}from"./DotsVertical-CbPPn03K.js";import{i as Se}from"./Loading01-D7Nk5rBn.js";import{s as Y}from"./Trash01-CdZ-Jz57.js";import{t as x}from"./Users03-9f86Wop8.js";import"./collection-display-button-ChMvUn2E.js";import"./ArrowUp-BjUPYtOi.js";import"./Check-CeorNg_Q.js";import"./Grid01-C0Yt3TrW.js";import"./List-Tf6_FYvd.js";import"./tooltip-DDTkATYg.js";import"./view-mode-toggle-JXEPDzFm.js";import"./SearchMd-XlpqEN-D.js";import"./input-CUCPZMz2.js";import"./card-C1ZVlkU0.js";import"./use-mobile-0MLmfurT.js";import"./use-collections-D97KvVa9.js";import"./useMutation-C7y5vUn8.js";import"./useQuery-frKnQxkY.js";function be(e,r){switch(r.type){case"delete":return{mode:"deleting",virtualMcp:r.virtualMcp};case"close":return{mode:"idle"}}}function ve(){const e=Z.c(62),{org:r}=te(),i=se();let j;e[0]!==r.slug?(j={namespace:r.slug,resource:"agents"},e[0]=r.slug,e[1]=j):j=e[1];const s=de(j),f=ue(s);let C;e[2]===Symbol.for("react.memo_cache_sentinel")?(C={navigateOnCreate:!0},e[2]=C):C=e[2];const{createVirtualMCP:V,isCreating:w}=me(C),O=pe();let y;e[3]===Symbol.for("react.memo_cache_sentinel")?(y={mode:"idle"},e[3]=y):y=e[3];const[n,N]=ee.useReducer(be,y);let D;e[4]!==O||e[5]!==n.mode||e[6]!==n.virtualMcp?(D=async()=>{if(n.mode!=="deleting")return;const o=n.virtualMcp.id;if(N({type:"close"}),!(!o||ge(o)))try{await O.delete.mutateAsync(o)}catch{}},e[4]=O,e[5]=n.mode,e[6]=n.virtualMcp,e[7]=D):D=e[7];const B=D;let S,b,v,k,A;e[8]===Symbol.for("react.memo_cache_sentinel")?(S={id:"icon",header:"",render:Ke,cellClassName:"w-16 shrink-0",wrap:!0},b={id:"title",header:"Name",render:$e,cellClassName:"w-48 min-w-0 shrink-0",sortable:!0},v={id:"description",header:"Description",render:_e,cellClassName:"flex-1 min-w-0",wrap:!0,sortable:!0},k={id:"connections",header:"Connections",render:Pe,cellClassName:"w-24 shrink-0"},A={id:"status",header:"Status",render:Ie,cellClassName:"w-24 shrink-0",sortable:!0},e[8]=S,e[9]=b,e[10]=v,e[11]=k,e[12]=A):(S=e[8],b=e[9],v=e[10],k=e[11],A=e[12]);let z;e[13]!==i||e[14]!==r.slug?(z=[S,b,v,k,A,{id:"actions",header:"",render:o=>t.jsxs(J,{children:[t.jsx(Q,{asChild:!0,children:t.jsx(q,{variant:"ghost",size:"sm",className:"h-8 w-8 p-0",onClick:Me,children:t.jsx(X,{size:20})})}),t.jsxs(U,{align:"end",onClick:ze,children:[t.jsxs(E,{onClick:a=>{a.stopPropagation(),i({to:"/$org/agents/$agentId",params:{org:r.slug,agentId:o.id}})},children:[t.jsx(G,{size:16}),"Open"]}),t.jsxs(E,{variant:"destructive",onClick:a=>{a.stopPropagation(),N({type:"delete",virtualMcp:o})},children:[t.jsx(Y,{size:16}),"Delete"]})]})]}),cellClassName:"w-12 shrink-0"}],e[13]=i,e[14]=r.slug,e[15]=z):z=e[15];const R=z,T=w?"Creating...":"Create Agent";let M;e[16]!==V||e[17]!==w||e[18]!==T?(M=t.jsx(q,{onClick:V,size:"sm",className:"h-7 px-3 rounded-lg text-sm font-medium",disabled:w,children:T}),e[16]=V,e[17]=w,e[18]=T,e[19]=M):M=e[19];const H=M,L=n.mode==="deleting";let I;e[20]===Symbol.for("react.memo_cache_sentinel")?(I=o=>!o&&N({type:"close"}),e[20]=I):I=e[20];let P;e[21]===Symbol.for("react.memo_cache_sentinel")?(P=t.jsx(he,{children:"Delete Agent?"}),e[21]=P):P=e[21];const F=n.mode==="deleting"&&n.virtualMcp.title;let l;e[22]!==F?(l=t.jsxs(fe,{children:[P,t.jsxs(xe,{children:["This action cannot be undone. This will permanently delete"," ",t.jsx("span",{className:"font-medium text-foreground",children:F}),"."]})]}),e[22]=F,e[23]=l):l=e[23];let _;e[24]===Symbol.for("react.memo_cache_sentinel")?(_=t.jsx(je,{children:"Cancel"}),e[24]=_):_=e[24];let c;e[25]!==B?(c=t.jsxs(Ce,{children:[_,t.jsx(we,{onClick:B,className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",children:"Delete"})]}),e[25]=B,e[26]=c):c=e[26];let d;e[27]!==l||e[28]!==c?(d=t.jsxs(ye,{children:[l,c]}),e[27]=l,e[28]=c,e[29]=d):d=e[29];let m;e[30]!==L||e[31]!==d?(m=t.jsx(Ne,{open:L,onOpenChange:I,children:d}),e[30]=L,e[31]=d,e[32]=m):m=e[32];let $;e[33]===Symbol.for("react.memo_cache_sentinel")?($=[{id:"title",label:"Name"},{id:"description",label:"Description"},{id:"status",label:"Status"}],e[33]=$):$=e[33];let g;e[34]!==H||e[35]!==s.handleSort||e[36]!==s.setViewMode||e[37]!==s.sortDirection||e[38]!==s.sortKey||e[39]!==s.viewMode?(g=t.jsx(oe,{title:"Agents",viewMode:s.viewMode,onViewModeChange:s.setViewMode,sortKey:s.sortKey,sortDirection:s.sortDirection,onSort:s.handleSort,sortOptions:$,ctaButton:H}),e[34]=H,e[35]=s.handleSort,e[36]=s.setViewMode,e[37]=s.sortDirection,e[38]=s.sortKey,e[39]=s.viewMode,e[40]=g):g=e[40];let u;e[41]!==s?(u=o=>{o.key==="Escape"&&(s.setSearch(""),o.target.blur())},e[41]=s,e[42]=u):u=e[42];let p;e[43]!==s.search||e[44]!==s.setSearch||e[45]!==u?(p=t.jsx(ne,{value:s.search,onChange:s.setSearch,placeholder:"Search for an agent...",onKeyDown:u}),e[43]=s.search,e[44]=s.setSearch,e[45]=u,e[46]=p):p=e[46];let h;e[47]!==R||e[48]!==s.handleSort||e[49]!==s.search||e[50]!==s.sortDirection||e[51]!==s.sortKey||e[52]!==s.viewMode||e[53]!==i||e[54]!==r.slug||e[55]!==f?(h=s.viewMode==="cards"?t.jsx("div",{className:"flex-1 overflow-auto p-5",children:f.length===0?t.jsx(W,{image:t.jsx(x,{size:36,className:"text-muted-foreground"}),title:s.search?"No agents found":"No agents yet",description:s.search?`No agents match "${s.search}"`:"Create an agent to aggregate tools from multiple Connections."}):t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 lg:grid-cols-4 gap-4",children:f.map(o=>t.jsx(ae,{connection:{id:o.id??"",title:o.title,description:o.description,icon:o.icon,status:o.status},fallbackIcon:t.jsx(x,{}),onClick:()=>i({to:"/$org/agents/$agentId",params:{org:r.slug,agentId:o.id}}),footer:t.jsx("div",{className:"flex items-center gap-2 text-xs text-muted-foreground",children:t.jsxs("span",{children:[o.connections.length," connection",o.connections.length!==1?"s":""]})}),headerActions:t.jsxs(J,{children:[t.jsx(Q,{asChild:!0,children:t.jsx(q,{variant:"ghost",size:"sm",className:"h-8 w-8 p-0",onClick:Ae,children:t.jsx(X,{size:20})})}),t.jsxs(U,{align:"end",onClick:ke,children:[t.jsxs(E,{onClick:a=>{a.stopPropagation(),i({to:"/$org/agents/$agentId",params:{org:r.slug,agentId:o.id}})},children:[t.jsx(G,{size:16}),"Open"]}),t.jsxs(E,{variant:"destructive",onClick:a=>{a.stopPropagation(),N({type:"delete",virtualMcp:o})},children:[t.jsx(Y,{size:16}),"Delete"]})]})]})},o.id??"default"))})}):t.jsx(ie,{columns:R,data:f,isLoading:!1,sortKey:s.sortKey,sortDirection:s.sortDirection,onSort:s.handleSort,onRowClick:o=>i({to:"/$org/agents/$agentId",params:{org:r.slug,agentId:o.id}}),emptyState:s.search?t.jsx(W,{image:t.jsx(x,{size:36,className:"text-muted-foreground"}),title:"No agents found",description:`No agents match "${s.search}"`}):t.jsx(W,{image:t.jsx(x,{size:36,className:"text-muted-foreground"}),title:"No agents yet",description:"Create an agent to aggregate tools from multiple Connections."})}),e[47]=R,e[48]=s.handleSort,e[49]=s.search,e[50]=s.sortDirection,e[51]=s.sortKey,e[52]=s.viewMode,e[53]=i,e[54]=r.slug,e[55]=f,e[56]=h):h=e[56];let K;return e[57]!==m||e[58]!==g||e[59]!==p||e[60]!==h?(K=t.jsxs(re,{children:[m,g,p,h]}),e[57]=m,e[58]=g,e[59]=p,e[60]=h,e[61]=K):K=e[61],K}function ke(e){return e.stopPropagation()}function Ae(e){return e.stopPropagation()}function ze(e){return e.stopPropagation()}function Me(e){return e.stopPropagation()}function Ie(e){return t.jsx(De,{variant:e.status==="active"?"default":"outline",children:e.status})}function Pe(e){return t.jsx("span",{className:"text-sm text-muted-foreground",children:e.connections.length})}function _e(e){return t.jsx("span",{className:"text-sm text-foreground line-clamp-2",children:e.description||"—"})}function $e(e){return t.jsx("span",{className:"text-sm font-medium text-foreground truncate",children:e.title})}function Ke(e){return t.jsx(le,{icon:e.icon,name:e.title,size:"sm",className:"shrink-0 shadow-sm",fallbackIcon:t.jsx(x,{size:16})})}function ft(){const e=Z.c(1);let r;return e[0]===Symbol.for("react.memo_cache_sentinel")?(r=t.jsx(ce,{children:t.jsx(ee.Suspense,{fallback:t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsx(Se,{size:32,className:"animate-spin text-muted-foreground"})}),children:t.jsx(ve,{})})}),e[0]=r):r=e[0],r}export{ft as default};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{r as i,y as m,j as r,
|
|
1
|
+
import{r as i,y as m,j as r,aL as T,J as w,z as O,X as A,H as M,T as I,M as z,Q as L,aM as D,aN as F,E as G,W as H,U as W,c as n}from"./index-BcdQIGUF.js";import{c as p,b as v}from"./button-BVfOTfpc.js";var x="AlertDialog",[k]=G(x,[D]),d=D(),N=l=>{const{__scopeAlertDialog:e,...t}=l,a=d(e);return r.jsx(M,{...a,...t,modal:!0})};N.displayName=x;var V="AlertDialogTrigger",Y=i.forwardRef((l,e)=>{const{__scopeAlertDialog:t,...a}=l,o=d(t);return r.jsx(H,{...o,...a,ref:e})});Y.displayName=V;var q="AlertDialogPortal",y=l=>{const{__scopeAlertDialog:e,...t}=l,a=d(e);return r.jsx(L,{...a,...t})};y.displayName=q;var B="AlertDialogOverlay",_=i.forwardRef((l,e)=>{const{__scopeAlertDialog:t,...a}=l,o=d(t);return r.jsx(W,{...o,...a,ref:e})});_.displayName=B;var f="AlertDialogContent",[J,Q]=k(f),U=F("AlertDialogContent"),j=i.forwardRef((l,e)=>{const{__scopeAlertDialog:t,children:a,...o}=l,s=d(t),c=i.useRef(null),P=m(e,c),u=i.useRef(null);return r.jsx(T,{contentName:f,titleName:b,docsSlug:"alert-dialog",children:r.jsx(J,{scope:t,cancelRef:u,children:r.jsxs(w,{role:"alertdialog",...s,...o,ref:P,onOpenAutoFocus:O(o.onOpenAutoFocus,g=>{g.preventDefault(),u.current?.focus({preventScroll:!0})}),onPointerDownOutside:g=>g.preventDefault(),onInteractOutside:g=>g.preventDefault(),children:[r.jsx(U,{children:a}),r.jsx(K,{contentRef:c})]})})})});j.displayName=f;var b="AlertDialogTitle",h=i.forwardRef((l,e)=>{const{__scopeAlertDialog:t,...a}=l,o=d(t);return r.jsx(I,{...o,...a,ref:e})});h.displayName=b;var E="AlertDialogDescription",R=i.forwardRef((l,e)=>{const{__scopeAlertDialog:t,...a}=l,o=d(t);return r.jsx(z,{...o,...a,ref:e})});R.displayName=E;var X="AlertDialogAction",C=i.forwardRef((l,e)=>{const{__scopeAlertDialog:t,...a}=l,o=d(t);return r.jsx(A,{...o,...a,ref:e})});C.displayName=X;var $="AlertDialogCancel",S=i.forwardRef((l,e)=>{const{__scopeAlertDialog:t,...a}=l,{cancelRef:o}=Q($,t),s=d(t),c=m(e,o);return r.jsx(A,{...s,...a,ref:c})});S.displayName=$;var K=({contentRef:l})=>{const e=`\`${f}\` requires a description for the component to be accessible for screen reader users.
|
|
2
2
|
|
|
3
3
|
You can add a description to the \`${f}\` by passing a \`${E}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
|
|
4
4
|
|
|
5
5
|
Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${f}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
|
|
6
6
|
|
|
7
|
-
For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return i.useEffect(()=>{document.getElementById(l.current?.getAttribute("aria-describedby"))||console.warn(e)},[e,l]),null},Z=N,ee=y,te=_,ae=j,oe=C,le=
|
|
7
|
+
For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return i.useEffect(()=>{document.getElementById(l.current?.getAttribute("aria-describedby"))||console.warn(e)},[e,l]),null},Z=N,ee=y,te=_,ae=j,oe=C,le=S,se=h,re=R;function pe(l){const e=n.c(4);let t;e[0]!==l?({...t}=l,e[0]=l,e[1]=t):t=e[1];let a;return e[2]!==t?(a=r.jsx(Z,{"data-slot":"alert-dialog",...t}),e[2]=t,e[3]=a):a=e[3],a}function ie(l){const e=n.c(4);let t;e[0]!==l?({...t}=l,e[0]=l,e[1]=t):t=e[1];let a;return e[2]!==t?(a=r.jsx(ee,{"data-slot":"alert-dialog-portal",...t}),e[2]=t,e[3]=a):a=e[3],a}function ne(l){const e=n.c(8);let t,a;e[0]!==l?({className:t,...a}=l,e[0]=l,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let o;e[3]!==t?(o=p("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),e[3]=t,e[4]=o):o=e[4];let s;return e[5]!==a||e[6]!==o?(s=r.jsx(te,{"data-slot":"alert-dialog-overlay",className:o,...a}),e[5]=a,e[6]=o,e[7]=s):s=e[7],s}function fe(l){const e=n.c(9);let t,a;e[0]!==l?({className:t,...a}=l,e[0]=l,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let o;e[3]===Symbol.for("react.memo_cache_sentinel")?(o=r.jsx(ne,{}),e[3]=o):o=e[3];let s;e[4]!==t?(s=p("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-xl border p-6 shadow-lg duration-200 sm:max-w-lg",t),e[4]=t,e[5]=s):s=e[5];let c;return e[6]!==a||e[7]!==s?(c=r.jsxs(ie,{children:[o,r.jsx(ae,{"data-slot":"alert-dialog-content",className:s,...a})]}),e[6]=a,e[7]=s,e[8]=c):c=e[8],c}function ge(l){const e=n.c(8);let t,a;e[0]!==l?({className:t,...a}=l,e[0]=l,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let o;e[3]!==t?(o=p("flex flex-col gap-2 text-center sm:text-left",t),e[3]=t,e[4]=o):o=e[4];let s;return e[5]!==a||e[6]!==o?(s=r.jsx("div",{"data-slot":"alert-dialog-header",className:o,...a}),e[5]=a,e[6]=o,e[7]=s):s=e[7],s}function ue(l){const e=n.c(8);let t,a;e[0]!==l?({className:t,...a}=l,e[0]=l,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let o;e[3]!==t?(o=p("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t),e[3]=t,e[4]=o):o=e[4];let s;return e[5]!==a||e[6]!==o?(s=r.jsx("div",{"data-slot":"alert-dialog-footer",className:o,...a}),e[5]=a,e[6]=o,e[7]=s):s=e[7],s}function me(l){const e=n.c(8);let t,a;e[0]!==l?({className:t,...a}=l,e[0]=l,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let o;e[3]!==t?(o=p("text-lg font-semibold",t),e[3]=t,e[4]=o):o=e[4];let s;return e[5]!==a||e[6]!==o?(s=r.jsx(se,{"data-slot":"alert-dialog-title",className:o,...a}),e[5]=a,e[6]=o,e[7]=s):s=e[7],s}function Ae(l){const e=n.c(8);let t,a;e[0]!==l?({className:t,...a}=l,e[0]=l,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let o;e[3]!==t?(o=p("text-muted-foreground text-sm",t),e[3]=t,e[4]=o):o=e[4];let s;return e[5]!==a||e[6]!==o?(s=r.jsx(re,{"data-slot":"alert-dialog-description",className:o,...a}),e[5]=a,e[6]=o,e[7]=s):s=e[7],s}function De(l){const e=n.c(8);let t,a;e[0]!==l?({className:t,...a}=l,e[0]=l,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let o;e[3]!==t?(o=p(v(),t),e[3]=t,e[4]=o):o=e[4];let s;return e[5]!==a||e[6]!==o?(s=r.jsx(oe,{className:o,...a}),e[5]=a,e[6]=o,e[7]=s):s=e[7],s}function ve(l){const e=n.c(8);let t,a;e[0]!==l?({className:t,...a}=l,e[0]=l,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let o;e[3]!==t?(o=p(v({variant:"outline"}),t),e[3]=t,e[4]=o):o=e[4];let s;return e[5]!==a||e[6]!==o?(s=r.jsx(le,{className:o,...a}),e[5]=a,e[6]=o,e[7]=s):s=e[7],s}export{ve as A,fe as a,ge as b,me as c,Ae as d,ue as e,pe as f,De as g};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as r,a as m,j as n,A as o}from"./index-
|
|
1
|
+
import{c as r,a as m,j as n,A as o}from"./index-BcdQIGUF.js";function i(){const e=r.c(3);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={from:"/auth/$pathname"},e[0]=t):t=e[0];const{pathname:s}=m(t);let a;return e[1]!==s?(a=n.jsx("main",{className:"container mx-auto flex grow flex-col items-center justify-center gap-3 self-center p-4 md:p-6",children:n.jsx(o,{pathname:s})}),e[1]=s,e[2]=a):a=e[2],a}export{i as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as
|
|
1
|
+
import{r as I,c as j,j as i,t as S,aI as $,aJ as L,aK as M}from"./index-BcdQIGUF.js";import{c as f}from"./button-BVfOTfpc.js";const V=({size:a=24,color:e="currentColor",...s})=>I.createElement("svg",{viewBox:"0 0 24 24",width:a,height:a,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},I.createElement("path",{d:"M20 21c0-1.396 0-2.093-.172-2.661a4 4 0 0 0-2.667-2.667c-.568-.172-1.265-.172-2.661-.172h-5c-1.396 0-2.093 0-2.661.172a4 4 0 0 0-2.667 2.667C4 18.907 4 19.604 4 21M16.5 7.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Z"}));V.displayName="User01";function O(a){const e=j.c(8);let s,t;e[0]!==a?({className:s,...t}=a,e[0]=a,e[1]=s,e[2]=t):(s=e[1],t=e[2]);let o;e[3]!==s?(o=f("relative flex size-8 shrink-0 overflow-hidden rounded-full",s),e[3]=s,e[4]=o):o=e[4];let r;return e[5]!==t||e[6]!==o?(r=i.jsx(M,{"data-slot":"avatar",className:o,...t}),e[5]=t,e[6]=o,e[7]=r):r=e[7],r}function T(a){const e=j.c(8);let s,t;e[0]!==a?({className:s,...t}=a,e[0]=a,e[1]=s,e[2]=t):(s=e[1],t=e[2]);let o;e[3]!==s?(o=f("aspect-square size-full",s),e[3]=s,e[4]=o):o=e[4];let r;return e[5]!==t||e[6]!==o?(r=i.jsx($,{"data-slot":"avatar-image",className:o,...t}),e[5]=t,e[6]=o,e[7]=r):r=e[7],r}function W(a){const e=j.c(8);let s,t;e[0]!==a?({className:s,...t}=a,e[0]=a,e[1]=s,e[2]=t):(s=e[1],t=e[2]);let o;e[3]!==s?(o=f("bg-muted flex size-full items-center justify-center rounded-full",s),e[3]=s,e[4]=o):o=e[4];let r;return e[5]!==t||e[6]!==o?(r=i.jsx(L,{"data-slot":"avatar-fallback",className:o,...t}),e[5]=t,e[6]=o,e[7]=r):r=e[7],r}const R=["drop-shadow-lg bg-gradient-to-br from-red-100 to-red-300 text-red-800 shadow-lg shadow-red-300/40 ring-1 ring-red-300/30","drop-shadow-lg bg-gradient-to-br from-lime-100 to-lime-300 text-lime-800 shadow-lg shadow-lime-300/40 ring-1 ring-lime-300/30","drop-shadow-lg bg-gradient-to-br from-emerald-100 to-emerald-300 text-emerald-800 shadow-lg shadow-emerald-300/40 ring-1 ring-emerald-300/30","drop-shadow-lg bg-gradient-to-br from-orange-100 to-orange-300 text-orange-800 shadow-lg shadow-orange-300/40 ring-1 ring-orange-300/30","drop-shadow-lg bg-gradient-to-br from-amber-100 to-amber-300 text-amber-800 shadow-lg shadow-amber-300/40 ring-1 ring-amber-300/30","drop-shadow-lg bg-gradient-to-br from-yellow-100 to-yellow-300 text-yellow-800 shadow-lg shadow-yellow-300/40 ring-1 ring-yellow-300/30","drop-shadow-lg bg-gradient-to-br from-green-100 to-green-300 text-green-800 shadow-lg shadow-green-300/40 ring-1 ring-green-300/30","drop-shadow-lg bg-gradient-to-br from-teal-100 to-teal-300 text-teal-800 shadow-lg shadow-teal-300/40 ring-1 ring-teal-300/30","drop-shadow-lg bg-gradient-to-br from-cyan-100 to-cyan-300 text-cyan-800 shadow-lg shadow-cyan-300/40 ring-1 ring-cyan-300/30","drop-shadow-lg bg-gradient-to-br from-sky-100 to-sky-300 text-sky-800 shadow-lg shadow-sky-300/40 ring-1 ring-sky-300/30","drop-shadow-lg bg-gradient-to-br from-blue-100 to-blue-300 text-blue-800 shadow-lg shadow-blue-300/40 ring-1 ring-blue-300/30","drop-shadow-lg bg-gradient-to-br from-indigo-100 to-indigo-300 text-indigo-800 shadow-lg shadow-indigo-300/40 ring-1 ring-indigo-300/30","drop-shadow-lg bg-gradient-to-br from-violet-100 to-violet-300 text-violet-800 shadow-lg shadow-violet-300/40 ring-1 ring-violet-300/30","drop-shadow-lg bg-gradient-to-br from-purple-100 to-purple-300 text-purple-800 shadow-lg shadow-purple-300/40 ring-1 ring-purple-300/30","drop-shadow-lg bg-gradient-to-br from-fuchsia-100 to-fuchsia-300 text-fuchsia-800 shadow-lg shadow-fuchsia-300/40 ring-1 ring-fuchsia-300/30","drop-shadow-lg bg-gradient-to-br from-pink-100 to-pink-300 text-pink-800 shadow-lg shadow-pink-300/40 ring-1 ring-pink-300/30","drop-shadow-lg bg-gradient-to-br from-rose-100 to-rose-300 text-rose-800 shadow-lg shadow-rose-300/40 ring-1 ring-rose-300/30"],_="drop-shadow-lg text-muted-foreground bg-muted shadow-lg";function B(a){let e=0;for(let t=0;t<a.length;t++)e=a.charCodeAt(t)+((e<<5)-e);const s=Math.abs(e)%R.length;return R[s]}const U=S("border border-border",{variants:{shape:{circle:"rounded-full",square:""},size:{"3xs":"w-3 h-3 text-xs font-semibold","2xs":"w-4 h-4 text-xs font-semibold",xs:"w-6 h-6 text-sm font-semibold",sm:"w-8 h-8 text-lg font-semibold",base:"w-10 h-10 text-2xl font-semibold",lg:"w-12 h-12 text-3xl font-semibold",xl:"w-16 h-16 text-4xl font-semibold","2xl":"w-20 h-20 text-5xl font-semibold","3xl":"w-32 h-32 text-7xl font-semibold"}},compoundVariants:[{shape:"square",size:"xs",class:"rounded-lg"},{shape:"square",size:"sm",class:"rounded-xl"},{shape:"square",size:"base",class:"rounded-xl"},{shape:"square",size:"lg",class:"rounded-xl"},{shape:"square",size:"xl",class:"rounded-2xl"},{shape:"square",size:"2xl",class:"rounded-3xl"},{shape:"square",size:"3xl",class:"rounded-[40px]"}],defaultVariants:{shape:"square",size:"base"}}),D=S("",{variants:{objectFit:{contain:"object-contain",cover:"object-cover"}},defaultVariants:{objectFit:"cover"}}),J=a=>{const e={"3xs":8,"2xs":8,xs:12,sm:16,base:24,lg:28,xl:36,"2xl":48,"3xl":80};return e[a]||e.base};function K(a){const e=j.c(35);let s,t,o,r,n,d,g,l;e[0]!==a?({url:l,fallback:t,shape:r,size:n,objectFit:d,className:s,muted:g,...o}=a,e[0]=a,e[1]=s,e[2]=t,e[3]=o,e[4]=r,e[5]=n,e[6]=d,e[7]=g,e[8]=l):(s=e[1],t=e[2],o=e[3],r=e[4],n=e[5],d=e[6],g=e[7],l=e[8]);const b=r===void 0?"square":r,h=n===void 0?"base":n,u=d===void 0?"cover":d,k=g===void 0?!1:g,[m,x]=I.useState(!1);let F;e:{if(typeof t=="string"){let c;e[9]!==t?(c=t.trim().slice(0,2).toUpperCase(),e[9]=t,e[10]=c):c=e[10],F=c;break e}F=t}const C=F;let z;e:{if(k){z=_;break e}if(typeof t=="string"){let c;e[11]!==t?(c=B(t),e[11]=t,e[12]=c):c=e[12],z=c;break e}z=R[0]}const y=z;let N;e[13]!==l?(N=l?.startsWith("icon://"),e[13]=l,e[14]=N):N=e[14];const p=N;let q;e[15]!==p||e[16]!==l?(q=p?l?.replace("icon://",""):void 0,e[15]=p,e[16]=l,e[17]=q):q=e[17];const E=q;let w;e[18]!==s||e[19]!==b||e[20]!==h?(w=f(U({shape:b,size:h}),s),e[18]=s,e[19]=b,e[20]=h,e[21]=w):w=e[21];let v;e[22]!==y||e[23]!==C||e[24]!==E||e[25]!==m||e[26]!==p||e[27]!==u||e[28]!==h||e[29]!==l?(v=p&&E?i.jsx("div",{className:f("flex items-center justify-center w-full h-full",y),children:i.jsx(V,{size:J(h)})}):i.jsxs(i.Fragment,{children:[l&&!m&&i.jsx(T,{src:l,loading:"lazy",alt:"Avatar",className:f(D({objectFit:u})),onError:()=>x(!0)}),(!l||m)&&i.jsx(W,{className:f(y,"rounded-none"),children:C})]}),e[22]=y,e[23]=C,e[24]=E,e[25]=m,e[26]=p,e[27]=u,e[28]=h,e[29]=l,e[30]=v):v=e[30];let A;return e[31]!==o||e[32]!==v||e[33]!==w?(A=i.jsx(O,{className:w,...o,children:v}),e[31]=o,e[32]=v,e[33]=w,e[34]=A):A=e[34],A}function Z(a){const e=j.c(18);let s,t,o,r,n,d,g,l;e[0]!==a?({shape:r,size:n,url:l,fallback:t,objectFit:d,className:s,muted:g,...o}=a,e[0]=a,e[1]=s,e[2]=t,e[3]=o,e[4]=r,e[5]=n,e[6]=d,e[7]=g,e[8]=l):(s=e[1],t=e[2],o=e[3],r=e[4],n=e[5],d=e[6],g=e[7],l=e[8]);const b=r===void 0?"square":r,h=n===void 0?"base":n,u=d===void 0?"cover":d,k=g===void 0?!1:g,m=h??"base";let x;return e[9]!==s||e[10]!==t||e[11]!==k||e[12]!==u||e[13]!==o||e[14]!==b||e[15]!==m||e[16]!==l?(x=i.jsx(K,{shape:b,url:l,fallback:t,size:m,objectFit:u,className:s,muted:k,...o}),e[9]=s,e[10]=t,e[11]=k,e[12]=u,e[13]=o,e[14]=b,e[15]=m,e[16]=l,e[17]=x):x=e[17],x}Z.Skeleton=function({shape:e="square",size:s="base",className:t}){return i.jsx("div",{className:f(U({shape:e,size:s}),"bg-muted animate-pulse",t)})};export{Z as A};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as d,j as u
|
|
1
|
+
import{c as d,j as u,$ as l,t as v}from"./index-BcdQIGUF.js";import{c as g}from"./button-BVfOTfpc.js";const f=v("inline-flex items-center justify-center rounded-full border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",success:"border-transparent bg-success text-success-foreground [a&]:hover:bg-success/90 focus-visible:ring-success/20 dark:focus-visible:ring-success/40",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function m(o){const e=d.c(12);let r,s,a,t;e[0]!==o?({className:r,variant:t,asChild:a,...s}=o,e[0]=o,e[1]=r,e[2]=s,e[3]=a,e[4]=t):(r=e[1],s=e[2],a=e[3],t=e[4]);const c=(a===void 0?!1:a)?l:"span";let i;e[5]!==r||e[6]!==t?(i=g(f({variant:t}),r),e[5]=r,e[6]=t,e[7]=i):i=e[7];let n;return e[8]!==c||e[9]!==s||e[10]!==i?(n=u.jsx(c,{"data-slot":"badge",className:i,...s}),e[8]=c,e[9]=s,e[10]=i,e[11]=n):n=e[11],n}export{m as B};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./index-
|
|
1
|
+
import"./index-BcdQIGUF.js";function a(o){return{isImplementedBy:c=>{for(const e of o){const r=typeof e.name=="string"?new RegExp(`^${e.name}$`):e.name,t=c.find(i=>r.test(i.name));if(!(!t&&e.opt)&&!t)return!1}return!0}}}function s(o,c){const e=o.tools;if(!e||e.length===0)return!1;const r=e.map(n=>({name:n.name,inputSchema:n.inputSchema})),t=c.map(n=>({name:n.name,inputSchema:n.inputSchema,opt:n.opt}));return a(t).isImplementedBy(r)}export{a,s as c};
|