@decocms/mesh 2.109.0 → 2.109.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/{AlertCircle-BTG7SkIE.js → AlertCircle-BNHu4U_w.js} +1 -1
- package/dist/client/assets/{AlertOctagon-DYhTqihQ.js → AlertOctagon-B_77zMvV.js} +1 -1
- package/dist/client/assets/{AlertTriangle-BMGMq36M.js → AlertTriangle-B3iutOXb.js} +1 -1
- package/dist/client/assets/{ArrowLeft-BnTFWkDF.js → ArrowLeft-BCoINK1a.js} +1 -1
- package/dist/client/assets/{ArrowUp-DyxBaaUh.js → ArrowUp-BfLZrH4Z.js} +1 -1
- package/dist/client/assets/{Check-Twncsx2J.js → Check-DG5LOfHE.js} +1 -1
- package/dist/client/assets/{CheckCircle-B9yMcclT.js → CheckCircle-DXUyPLGJ.js} +1 -1
- package/dist/client/assets/{CheckDone01-5Ey_F_TB.js → CheckDone01-BVECQ061.js} +1 -1
- package/dist/client/assets/{ChevronDown-DRFuBDK4.js → ChevronDown-P4XeJ9w5.js} +1 -1
- package/dist/client/assets/{ChevronRight-CK4GlTKY.js → ChevronRight-CHS1psX7.js} +1 -1
- package/dist/client/assets/{Clock-DQ0IbXhE.js → Clock-DbrHehdf.js} +1 -1
- package/dist/client/assets/{Code01-CRg-SkZm.js → Code01-Dte9rLPH.js} +1 -1
- package/dist/client/assets/{Container-BChLeS3s.js → Container-DZJok7qt.js} +1 -1
- package/dist/client/assets/{Copy01-D9X-eXOx.js → Copy01-CBdgbqFW.js} +1 -1
- package/dist/client/assets/{Dataflow03-Br20xBcq.js → Dataflow03-WvCvIAmM.js} +1 -1
- package/dist/client/assets/{DotsHorizontal-CuVly-vS.js → DotsHorizontal-x234Trom.js} +1 -1
- package/dist/client/assets/{DotsVertical-DZrYpBGP.js → DotsVertical-BAfOGQhL.js} +1 -1
- package/dist/client/assets/{Download01-CQU0OinT.js → Download01-B_ClGnf8.js} +1 -1
- package/dist/client/assets/{Edit01-DAlsOQRJ.js → Edit01-BtQjuTbw.js} +1 -1
- package/dist/client/assets/{Eye-BFoh1Im6.js → Eye-HNj86q6R.js} +1 -1
- package/dist/client/assets/{File02-C7wAMy8R.js → File02-D7uMen2N.js} +1 -1
- package/dist/client/assets/{File06-CvVxiO3C.js → File06-CqEjxUxt.js} +1 -1
- package/dist/client/assets/{FilterLines-BIFUP_x_.js → FilterLines-bS8_Yh-E.js} +1 -1
- package/dist/client/assets/{Globe01-CwV6iRub.js → Globe01-BijbXV_r.js} +1 -1
- package/dist/client/assets/{Globe02-DAPNmmeF.js → Globe02-DKIs5RjV.js} +1 -1
- package/dist/client/assets/{Grid01-DhcsAdBg.js → Grid01-CgP_l9be.js} +1 -1
- package/dist/client/assets/{Home02-E5eZOwbf.js → Home02-SUAjW3nz.js} +1 -1
- package/dist/client/assets/{Image01-s6I8DvoN.js → Image01-CTxAUEpv.js} +1 -1
- package/dist/client/assets/{Inbox01-B9su4ewM.js → Inbox01-IqJkaMzy.js} +1 -1
- package/dist/client/assets/{InfoCircle-DIUcjPMz.js → InfoCircle-Bb5NzZd-.js} +1 -1
- package/dist/client/assets/{Key01-Cp47SUgU.js → Key01-BB3q5OcJ.js} +1 -1
- package/dist/client/assets/{LinkExternal01-QERiUkx9.js → LinkExternal01-BTGVW1Qi.js} +1 -1
- package/dist/client/assets/{List-hgWOcs2s.js → List-RSBUWz52.js} +1 -1
- package/dist/client/assets/{Loading01-B3VITid1.js → Loading01-D-iQ3x6B.js} +1 -1
- package/dist/client/assets/{Lock01-DzL0-wO5.js → Lock01-BCf2m01i.js} +1 -1
- package/dist/client/assets/{Pin01-Bo0Wv0-G.js → Pin01-I9LdYIlC.js} +1 -1
- package/dist/client/assets/{Play-DPPAwpQc.js → Play-DqomGUHs.js} +1 -1
- package/dist/client/assets/{Plus-flqXS_7c.js → Plus-B8rm50Ox.js} +1 -1
- package/dist/client/assets/{RefreshCcw01-BAqmqLli.js → RefreshCcw01-ByoHxPlX.js} +1 -1
- package/dist/client/assets/{RefreshCw01-T4CnUx-i.js → RefreshCw01-D5lhZ8mX.js} +1 -1
- package/dist/client/assets/{Save01-DkeiVIoO.js → Save01-9tV2ohjl.js} +1 -1
- package/dist/client/assets/{SearchMd-CSI-x5Ag.js → SearchMd-DWE3UxU2.js} +1 -1
- package/dist/client/assets/{Settings01-D6cOaU0s.js → Settings01-DKrG7yMR.js} +1 -1
- package/dist/client/assets/{Settings02-DefIRfsZ.js → Settings02-OMvHwhZ2.js} +1 -1
- package/dist/client/assets/{Share07-BatXimVn.js → Share07-DK8c-5Z6.js} +1 -1
- package/dist/client/assets/{Terminal-gVdepVY2.js → Terminal-DKHY5zjy.js} +1 -1
- package/dist/client/assets/{Tool01-DpcLow0b.js → Tool01-BAR4Pm87.js} +1 -1
- package/dist/client/assets/{Trash01-DJ3WnIqi.js → Trash01-DOoBIHb_.js} +1 -1
- package/dist/client/assets/{Upload01-wEAZac_6.js → Upload01-DCltlStQ.js} +1 -1
- package/dist/client/assets/{Users03-D9j8cs_f.js → Users03-Bf7uxoC5.js} +1 -1
- package/dist/client/assets/{X-CYtFcR8E.js → X-DA2sDUV2.js} +1 -1
- package/dist/client/assets/{XCircle-DAsMwRtR.js → XCircle-D6Zk67At.js} +1 -1
- package/dist/client/assets/{XClose-B9SXGArQ.js → XClose-D-0Eqw-_.js} +1 -1
- package/dist/client/assets/{agent-connections-preview-CZgqs_sQ.js → agent-connections-preview-N_Bygs3y.js} +1 -1
- package/dist/client/assets/{agent-detail-BL9109In.js → agent-detail-B6enUst-.js} +1 -1
- package/dist/client/assets/{agents-Cd9beoj8.js → agents-CF1_nQU-.js} +1 -1
- package/dist/client/assets/{alert-dialog-BVNo2Zvd.js → alert-dialog-Bow6SDVm.js} +1 -1
- package/dist/client/assets/{auth-catchall-DMX6SpeC.js → auth-catchall-D97a-l8D.js} +1 -1
- package/dist/client/assets/{avatar-C7PBbtcy.js → avatar-B37qTwXF.js} +1 -1
- package/dist/client/assets/{badge-zET6KpjD.js → badge-CbuZxOhE.js} +1 -1
- package/dist/client/assets/{binder-DsvBx_9P.js → binder-BzuI_xjk.js} +1 -1
- package/dist/client/assets/{breadcrumb-BQdkR1kY.js → breadcrumb-B9K_bdts.js} +1 -1
- package/dist/client/assets/{button-B1-7VHy5.js → button-KbFW4XuN.js} +1 -1
- package/dist/client/assets/{card-CUl7yMSH.js → card-CIHNFHDM.js} +1 -1
- package/dist/client/assets/{checkbox-Ycppn1KJ.js → checkbox-BgvZYkw3.js} +1 -1
- package/dist/client/assets/{circle-alert-m27psUsB.js → circle-alert-Ccks-MAu.js} +1 -1
- package/dist/client/assets/{collection-detail-DqVfmV5V.js → collection-detail-C_N0geWQ.js} +1 -1
- package/dist/client/assets/{collection-tab-B0vxyNPO.js → collection-tab-C-RG3I-p.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-CiVHtKfG.js → collection-table-wrapper-CTALYkV9.js} +1 -1
- package/dist/client/assets/{collection-tabs-BHSqqtem.js → collection-tabs-DRICSlCe.js} +1 -1
- package/dist/client/assets/{command-DXpfq2KQ.js → command-TRqwLhQ_.js} +1 -1
- package/dist/client/assets/{connect-CqDaPp1I.js → connect-DWSDNHqf.js} +1 -1
- package/dist/client/assets/{connection-card-QXC-dXAI.js → connection-card-BBZJ8W3M.js} +1 -1
- package/dist/client/assets/{connection-detail-xTLY0OXk.js → connection-detail-BL7CKfM7.js} +1 -1
- package/dist/client/assets/{connections-BwW-ERBP.js → connections-CTHmnJaG.js} +1 -1
- package/dist/client/assets/{constants-tFX1afYz.js → constants-C56FepeM.js} +1 -1
- package/dist/client/assets/constants-C6KVRSAR.js +1 -0
- package/dist/client/assets/{create-organization-dialog-C9bqisoB.js → create-organization-dialog-BOVQgbie.js} +1 -1
- package/dist/client/assets/{create-project-dialog-CQfm9GiD.js → create-project-dialog-Cbp27b9r.js} +1 -1
- package/dist/client/assets/{dialog-sGMzpzJR.js → dialog-CTzYyOCo.js} +1 -1
- package/dist/client/assets/{dropdown-menu-BJG-AeRv.js → dropdown-menu-COB17A0Z.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-31p8BEwY.js → dynamic-plugin-layout-CU_9kBh0.js} +1 -1
- package/dist/client/assets/{empty-state-rhTOCE1V.js → empty-state-DYt7iyWe.js} +1 -1
- package/dist/client/assets/{empty-state-DDDsL_jY.js → empty-state-DbrAwFcx.js} +1 -1
- package/dist/client/assets/{env-vars-editor-BStHrTds.js → env-vars-editor-Dy_wYHf8.js} +1 -1
- package/dist/client/assets/{error-boundary-D1ilYYxc.js → error-boundary-CNsxzBU5.js} +1 -1
- package/dist/client/assets/{extract-connection-data-Bea8jdyv.js → extract-connection-data-JqSd5LuK.js} +1 -1
- package/dist/client/assets/{file-browser-Bi4H9hqm.js → file-browser-ZLEw2qLV.js} +2 -2
- package/dist/client/assets/{form-DhN7T_ed.js → form-3k69lugl.js} +1 -1
- package/dist/client/assets/{grid-view-Dvjf96cg.js → grid-view-D__vcP1M.js} +1 -1
- package/dist/client/assets/{home-Cl_di1hc.js → home-BOWI6wWW.js} +1 -1
- package/dist/client/assets/{index-DZj3EVeo.js → index-1ZfnT2oW.js} +1 -1
- package/dist/client/assets/{index-Dzn_GLVS.js → index-52ezqwYc.js} +1 -1
- package/dist/client/assets/{index-BfgRaEZs.js → index-BaKw5S62.js} +1 -1
- package/dist/client/assets/{index-3iOmRpwp.js → index-BhWwwe4k.js} +1 -1
- package/dist/client/assets/{index-BQJqxhJO.js → index-Bs7FV238.js} +1 -1
- package/dist/client/assets/{index-eN5WPehG.js → index-CEBU5ikU.js} +1 -1
- package/dist/client/assets/{index-45Kg6aLu.js → index-CuIrPKu9.js} +3 -3
- package/dist/client/assets/{index-ChGa282z.js → index-Db6r-OFW.js} +1 -1
- package/dist/client/assets/{index-C_KYsx1n.js → index-m3V673uZ.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-DQBlV4K7.js → infiniteQueryObserver-60Pvs7lk.js} +1 -1
- package/dist/client/assets/{input-u2QVvm6o.js → input-g5LrnBay.js} +1 -1
- package/dist/client/assets/{integration-icon-BY0sSmsG.js → integration-icon-CgM-an9b.js} +1 -1
- package/dist/client/assets/{label-BuBm6LTc.js → label-BRqnACHD.js} +1 -1
- package/dist/client/assets/{layout-BzQJfQX5.js → layout-veX2bHTO.js} +1 -1
- package/dist/client/assets/{localstorage-keys-DV5O1bxJ.js → localstorage-keys-DVialVZJ.js} +1 -1
- package/dist/client/assets/{login-vAvPpURH.js → login-Bo_vv91H.js} +1 -1
- package/dist/client/assets/{markdown-BJdEYtml.js → markdown-B9MVxSX8.js} +1 -1
- package/dist/client/assets/{mcp-oauth-DmWivpL5.js → mcp-oauth-CqxFiNor.js} +1 -1
- package/dist/client/assets/mcp-server-card-B7R2dxPn.js +1 -0
- package/dist/client/assets/{mcp-server-detail-CqMu9AFr.js → mcp-server-detail-CgW9CI19.js} +2 -2
- package/dist/client/assets/{members-BX2PMK8N.js → members-R5hOA6Ln.js} +1 -1
- package/dist/client/assets/{monitoring-BMu_SNHP.js → monitoring-C0HiMyW6.js} +1 -1
- package/dist/client/assets/{monitoring-dashboard-edit-CwKMR-h8.js → monitoring-dashboard-edit-CXDrAMd6.js} +1 -1
- package/dist/client/assets/{monitoring-dashboard-view-bzXxHOyH.js → monitoring-dashboard-view-DIquPtHE.js} +1 -1
- package/dist/client/assets/{oauth-callback-WRpc6qbg.js → oauth-callback-C7CG4TvZ.js} +1 -1
- package/dist/client/assets/page-BBuPAnYW.js +1 -0
- package/dist/client/assets/{page-_Vi7DPpw.js → page-CmdabCF-.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-DvPlpthq.js → plugin-empty-state-BjravhmS.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-B_zjYcay.js → plugin-empty-state-DB5GFJQB.js} +1 -1
- package/dist/client/assets/{plugin-header-DfmvvFYa.js → plugin-header-BoBMp38h.js} +1 -1
- package/dist/client/assets/{plugin-header-BJbnfrfC.js → plugin-header-D4-3EhvX.js} +1 -1
- package/dist/client/assets/{popover-HfYRFN5H.js → popover-VJKeuwbC.js} +1 -1
- package/dist/client/assets/{project-layout-DWhu_REh.js → project-layout-B-2nzLyc.js} +1 -1
- package/dist/client/assets/{project-settings-BCgZRUOC.js → project-settings-Cv631PiB.js} +1 -1
- package/dist/client/assets/{projects-list-BgwSgFHH.js → projects-list-VqhVqmHW.js} +1 -1
- package/dist/client/assets/{readme-viewer-DuiAklr2.js → readme-viewer-CYxESlX8.js} +1 -1
- package/dist/client/assets/registry-layout-DSELVp8O.js +5 -0
- package/dist/client/assets/registry-utils-BDP3t_m0.js +1 -0
- package/dist/client/assets/{reports-layout-DrnrOsfm.js → reports-layout-chWgOVY4.js} +1 -1
- package/dist/client/assets/{reset-password-DQuuf3hj.js → reset-password-BepKS7QP.js} +1 -1
- package/dist/client/assets/{resizable-C5yHp-8Z.js → resizable-DzVs9cF1.js} +1 -1
- package/dist/client/assets/{save-actions-B4sDLlOL.js → save-actions-C432uq2M.js} +1 -1
- package/dist/client/assets/{scroll-area-Ci9L6Qi1.js → scroll-area-BppB61vI.js} +1 -1
- package/dist/client/assets/{select-0SgtyZSO.js → select-CjbCdlbs.js} +1 -1
- package/dist/client/assets/{shell-layout-qKn05A_i.js → shell-layout-BNTceB-j.js} +3 -3
- package/dist/client/assets/{spinner-Ccp4rHkD.js → spinner-Ys0MZVWU.js} +1 -1
- package/dist/client/assets/{store-invite-VAIQ0qYN.js → store-invite-wi4-CXmp.js} +1 -1
- package/dist/client/assets/{switch-BAkn60iQ.js → switch-mZQ9VTrI.js} +1 -1
- package/dist/client/assets/{table-GP96KEc-.js → table-50O0LiWw.js} +1 -1
- package/dist/client/assets/{tasks-DWXha9ce.js → tasks-Knr19XiW.js} +1 -1
- package/dist/client/assets/{textarea-CcWPifLG.js → textarea-CaReVd_T.js} +1 -1
- package/dist/client/assets/{time-range-picker-B8TAeOyr.js → time-range-picker-CmEKwRJx.js} +1 -1
- package/dist/client/assets/{toggle-group-CVJLBTo7.js → toggle-group-igEKa_l0.js} +1 -1
- package/dist/client/assets/{tools-list-3dr1HVBB.js → tools-list-DXmYEuhW.js} +1 -1
- package/dist/client/assets/{tooltip-C1FsdbX7.js → tooltip-0WAr9Tnd.js} +1 -1
- package/dist/client/assets/{topbar-portal-DnuubJJg.js → topbar-portal-A-r6dcXk.js} +1 -1
- package/dist/client/assets/{typewriter-title-qDDHjvIc.js → typewriter-title-0Ps8bNiF.js} +1 -1
- package/dist/client/assets/{use-binding-Bj1WNTF6.js → use-binding-DHUPD73-.js} +1 -1
- package/dist/client/assets/{use-connection-9Baq0dyu.js → use-connection-h_6wlDvG.js} +1 -1
- package/dist/client/assets/{use-copy-Dntr3tOT.js → use-copy-DzbutdJX.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-Bjkj0KGk.js → use-create-virtual-mcp-BEYGEKPm.js} +1 -1
- package/dist/client/assets/{use-deco-chat-open-ChcY3dml.js → use-deco-chat-open-QCitD2jP.js} +1 -1
- package/dist/client/assets/{use-install-from-registry-CK6pulyz.js → use-install-from-registry-CKNWgTjl.js} +1 -1
- package/dist/client/assets/{use-list-state-CSyX28S5.js → use-list-state-QuR-uYrt.js} +1 -1
- package/dist/client/assets/{use-llm-DkpnMPOg.js → use-llm-BiV3ohz2.js} +1 -1
- package/dist/client/assets/{use-mcp-prompts-0RIhBw0D.js → use-mcp-prompts-BfBaVKeH.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-B1i5V7kV.js → use-mcp-tools-9-0ktUQU.js} +1 -1
- package/dist/client/assets/{use-mobile-5ueA37BO.js → use-mobile-DBbPwq5K.js} +1 -1
- package/dist/client/assets/{use-organization-settings-CqVxq31T.js → use-organization-settings-Di-WJ99L.js} +1 -1
- package/dist/client/assets/{use-project-R6SuPOGJ.js → use-project-CQC3Fx2l.js} +1 -1
- package/dist/client/assets/{use-view-mode-BD_mLg6M.js → use-view-mode-C4TZAKDl.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-BhTjSJtU.js → use-virtual-mcp-B5taJWCy.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-CGBDp2t8.js +1 -0
- package/dist/client/assets/{useMutation-ChH-SNuD.js → useMutation-Zw-bAGx2.js} +1 -1
- package/dist/client/assets/useQuery-eogqvd42.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-DAyAVWU_.js +1 -0
- package/dist/client/assets/{workflow-DmhNckam.js → workflow-BrwP_xN6.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +200 -200
- package/dist/server/migrate.js +187 -187
- package/dist/server/server.js +183 -183
- package/package.json +1 -1
- package/dist/client/assets/constants-Kr_IWMQh.js +0 -1
- package/dist/client/assets/mcp-server-card-CNZsNwOH.js +0 -1
- package/dist/client/assets/page-BZ2TOLvy.js +0 -1
- package/dist/client/assets/registry-layout-BAVbL4YG.js +0 -5
- package/dist/client/assets/registry-utils-72xro0Cc.js +0 -1
- package/dist/client/assets/useInfiniteQuery-CqGCOPd8.js +0 -1
- package/dist/client/assets/useQuery-DBhv1CGp.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-CFTwc8uJ.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as n,b2 as u,b3 as p,n as f}from"./index-
|
|
1
|
+
import{c as n,b2 as u,b3 as p,n as f}from"./index-CuIrPKu9.js";import{u as m}from"./useQuery-eogqvd42.js";import{K as c}from"./constants-C56FepeM.js";async function y(o){if(!o.getServerCapabilities()?.resources)return{resources:[]};try{return await o.listResources()}catch(t){if(t instanceof u&&t.code===p.MethodNotFound)return{resources:[]};throw t}}async function R(o,e){return await o.readResource({uri:e})}function w(o){const e=n.c(12);let t,s;e[0]!==o?({client:t,...s}=o,e[0]=o,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let r;e[3]!==t?(r=c.mcpResourcesList(t),e[3]=t,e[4]=r):r=e[4];let i;e[5]!==t?(i=()=>y(t),e[5]=t,e[6]=i):i=e[6];const l=s.staleTime??3e4;let a;return e[7]!==s||e[8]!==r||e[9]!==i||e[10]!==l?(a={...s,queryKey:r,queryFn:i,staleTime:l,retry:!1},e[7]=s,e[8]=r,e[9]=i,e[10]=l,e[11]=a):a=e[11],f(a)}function C(o){const e=n.c(12);let t,s;e[0]!==o?({client:t,...s}=o,e[0]=o,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let r;e[3]!==t?(r=c.mcpResourcesList(t),e[3]=t,e[4]=r):r=e[4];let i;e[5]!==t?(i=()=>y(t),e[5]=t,e[6]=i):i=e[6];const l=s.staleTime??3e4;let a;return e[7]!==s||e[8]!==r||e[9]!==i||e[10]!==l?(a={...s,queryKey:r,queryFn:i,staleTime:l,retry:!1},e[7]=s,e[8]=r,e[9]=i,e[10]=l,e[11]=a):a=e[11],m(a)}async function b(o){if(!o.getServerCapabilities()?.prompts)return{prompts:[]};try{return await o.listPrompts()}catch(t){if(t instanceof u&&t.code===p.MethodNotFound)return{prompts:[]};throw t}}async function L(o,e,t){if(!o.getServerCapabilities()?.prompts)throw new Error("Prompts capability not supported");return await o.getPrompt({name:e,arguments:t??{}})}function T(o){const e=n.c(12);let t,s;e[0]!==o?({client:t,...s}=o,e[0]=o,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let r;e[3]!==t?(r=c.mcpPromptsList(t),e[3]=t,e[4]=r):r=e[4];let i;e[5]!==t?(i=()=>b(t),e[5]=t,e[6]=i):i=e[6];const l=s.staleTime??3e4;let a;return e[7]!==s||e[8]!==r||e[9]!==i||e[10]!==l?(a={...s,queryKey:r,queryFn:i,staleTime:l,retry:!1},e[7]=s,e[8]=r,e[9]=i,e[10]=l,e[11]=a):a=e[11],f(a)}function g(o){const e=n.c(12);let t,s;e[0]!==o?({client:t,...s}=o,e[0]=o,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let r;e[3]!==t?(r=c.mcpPromptsList(t),e[3]=t,e[4]=r):r=e[4];let i;e[5]!==t?(i=()=>b(t),e[5]=t,e[6]=i):i=e[6];const l=s.staleTime??3e4;let a;return e[7]!==s||e[8]!==r||e[9]!==i||e[10]!==l?(a={...s,queryKey:r,queryFn:i,staleTime:l,retry:!1},e[7]=s,e[8]=r,e[9]=i,e[10]=l,e[11]=a):a=e[11],m(a)}export{y as a,g as b,w as c,C as d,L as g,b as l,R as r,T as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as m,n as p}from"./index-
|
|
1
|
+
import{c as m,n as p}from"./index-CuIrPKu9.js";import{u as q}from"./useQuery-eogqvd42.js";import{u as C}from"./useMutation-Zw-bAGx2.js";import{K as T}from"./constants-C56FepeM.js";function w(r){const e=m.c(12);let t,s;e[0]!==r?({client:t,...s}=r,e[0]=r,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let l;e[3]!==t?(l=T.mcpToolsList(t),e[3]=t,e[4]=l):l=e[4];let o;e[5]!==t?(o=async()=>await t.listTools(),e[5]=t,e[6]=o):o=e[6];const i=s.staleTime??3e4;let n;return e[7]!==s||e[8]!==l||e[9]!==o||e[10]!==i?(n={...s,queryKey:l,queryFn:o,staleTime:i,retry:!1},e[7]=s,e[8]=l,e[9]=o,e[10]=i,e[11]=n):n=e[11],p(n)}function F(r){const e=m.c(12);let t,s;e[0]!==r?({client:t,...s}=r,e[0]=r,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let l;e[3]!==t?(l=T.mcpToolsList(t),e[3]=t,e[4]=l):l=e[4];let o;e[5]!==t?(o=async()=>await t.listTools(),e[5]=t,e[6]=o):o=e[6];const i=s.staleTime??3e4;let n;return e[7]!==s||e[8]!==l||e[9]!==o||e[10]!==i?(n={...s,queryKey:l,queryFn:o,staleTime:i,retry:!1},e[7]=s,e[8]=l,e[9]=o,e[10]=i,e[11]=n):n=e[11],q(n)}function P(r){const e=m.c(21);let t,s,l,o;e[0]!==r?({client:t,toolName:o,toolArguments:l,...s}=r,e[0]=r,e[1]=t,e[2]=s,e[3]=l,e[4]=o):(t=e[1],s=e[2],l=e[3],o=e[4]);let i,n,u;if(e[5]!==t||e[6]!==s||e[7]!==l||e[8]!==o){const y=JSON.stringify(l??{});u=p,i=s,n=T.mcpToolCall(t,o,y),e[5]=t,e[6]=s,e[7]=l,e[8]=o,e[9]=i,e[10]=n,e[11]=u}else i=e[9],n=e[10],u=e[11];let a;e[12]!==t||e[13]!==l||e[14]!==o?(a=async()=>await t.callTool({name:o,arguments:l}),e[12]=t,e[13]=l,e[14]=o,e[15]=a):a=e[15];const f=s.staleTime??3e4;let c;return e[16]!==i||e[17]!==n||e[18]!==a||e[19]!==f?(c={...i,queryKey:n,queryFn:a,staleTime:f,retry:!1},e[16]=i,e[17]=n,e[18]=a,e[19]=f,e[20]=c):c=e[20],u(c)}function $(r){const e=m.c(21);let t,s,l,o;e[0]!==r?({client:t,toolName:o,toolArguments:l,...s}=r,e[0]=r,e[1]=t,e[2]=s,e[3]=l,e[4]=o):(t=e[1],s=e[2],l=e[3],o=e[4]);let i,n,u;if(e[5]!==t||e[6]!==s||e[7]!==l||e[8]!==o){const y=JSON.stringify(l??{});u=q,i=s,n=T.mcpToolCall(t,o,y),e[5]=t,e[6]=s,e[7]=l,e[8]=o,e[9]=i,e[10]=n,e[11]=u}else i=e[9],n=e[10],u=e[11];let a;e[12]!==t||e[13]!==l||e[14]!==o?(a=async()=>await t.callTool({name:o,arguments:l}),e[12]=t,e[13]=l,e[14]=o,e[15]=a):a=e[15];const f=s.staleTime??3e4;let c;return e[16]!==i||e[17]!==n||e[18]!==a||e[19]!==f?(c={...i,queryKey:n,queryFn:a,staleTime:f,retry:!1},e[16]=i,e[17]=n,e[18]=a,e[19]=f,e[20]=c):c=e[20],u(c)}function L(r){const e=m.c(8);let t,s;e[0]!==r?({client:t,...s}=r,e[0]=r,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let l;e[3]!==t?(l=async i=>await t.callTool(i),e[3]=t,e[4]=l):l=e[4];let o;return e[5]!==s||e[6]!==l?(o={...s,mutationFn:l},e[5]=s,e[6]=l,e[7]=o):o=e[7],C(o)}export{L as a,$ as b,w as c,F as d,P as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as m,r}from"./index-
|
|
1
|
+
import{c as m,r}from"./index-CuIrPKu9.js";const a=768,o=()=>globalThis.innerWidth<a;function u(){const e=m.c(2),[l,n]=r.useState(o);let t,s;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{const i=()=>n(o),c=globalThis.matchMedia(`(max-width: ${a-1}px)`);return c.addEventListener("change",i),n(o),()=>c.removeEventListener("change",i)},s=[],e[0]=t,e[1]=s):(t=e[0],s=e[1]),r.useEffect(t,s),l}export{u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as m,u as T,n as d,z as y,K as g}from"./index-
|
|
1
|
+
import{c as m,u as T,n as d,z as y,K as g}from"./index-CuIrPKu9.js";import{u as _}from"./useMutation-Zw-bAGx2.js";import{a as p,u as A}from"./constants-C56FepeM.js";function D(e){const t=m.c(10),{org:i}=T();let l;t[0]!==i.id?(l={connectionId:p,orgId:i.id},t[0]=i.id,t[1]=l):l=t[1];const c=A(l);let u;t[2]!==e?(u=g.organizationSettings(e),t[2]=e,t[3]=u):u=t[3];let s;t[4]!==c||t[5]!==e?(s=async()=>{const a=await c.callTool({name:"ORGANIZATION_SETTINGS_GET",arguments:{}}),r=a.structuredContent??a;return r||{organizationId:e,sidebar_items:null,enabled_plugins:null,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}},t[4]=c,t[5]=e,t[6]=s):s=t[6];let n;t[7]!==u||t[8]!==s?(n={queryKey:u,queryFn:s,staleTime:6e4},t[7]=u,t[8]=s,t[9]=n):n=t[9];const{data:o}=d(n);return o}function G(e){const t=m.c(13),i=y(),{org:l}=T();let c;t[0]!==l.id?(c={connectionId:p,orgId:l.id},t[0]=l.id,t[1]=c):c=t[1];const u=A(c);let s;t[2]!==u||t[3]!==e?(s=async S=>{const f=await u.callTool({name:"ORGANIZATION_SETTINGS_UPDATE",arguments:{organizationId:e,...S}});return f.structuredContent??f},t[2]=u,t[3]=e,t[4]=s):s=t[4];let n;t[5]!==e||t[6]!==i?(n=S=>{i.setQueryData(g.organizationSettings(e),S)},t[5]=e,t[6]=i,t[7]=n):n=t[7];let o;t[8]!==s||t[9]!==n?(o={mutationFn:s,onSuccess:n},t[8]=s,t[9]=n,t[10]=o):o=t[10];const a=_(o);let r;return t[11]!==a?(r={update:a},t[11]=a,t[12]=r):r=t[12],r}export{G as a,D as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{K as m,c as C,n as T}from"./index-
|
|
1
|
+
import{K as m,c as C,n as T}from"./index-CuIrPKu9.js";import{u as y}from"./useQuery-eogqvd42.js";import{u as f,a}from"./constants-C56FepeM.js";function S(t,s){const e=C.c(13);let r;e[0]!==t?(r={connectionId:a,orgId:t},e[0]=t,e[1]=r):r=e[1];const l=f(r);let u;e[2]!==t||e[3]!==s?(u=m.project(t,s),e[2]=t,e[3]=s,e[4]=u):u=e[4];let c;e[5]!==l||e[6]!==t||e[7]!==s?(c=async()=>{const p=await l.callTool({name:"PROJECT_GET",arguments:{organizationId:t,slug:s}});return(p.structuredContent??p).project},e[5]=l,e[6]=t,e[7]=s,e[8]=c):c=e[8];const o=!!t&&!!s;let n;return e[9]!==u||e[10]!==c||e[11]!==o?(n={queryKey:u,queryFn:c,enabled:o,staleTime:3e4},e[9]=u,e[10]=c,e[11]=o,e[12]=n):n=e[12],y(n)}function _(t,s){const e=f({connectionId:a,orgId:t}),r={queryKey:m.projects(t),queryFn:async()=>{const l=await e.callTool({name:"PROJECT_LIST",arguments:{organizationId:t}});return(l.structuredContent??l).projects.map(c=>({...c,organizationId:t}))},staleTime:3e4};return s?.suspense?T(r):y({...r,enabled:!!t})}export{_ as a,S as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as p,r as f}from"./index-
|
|
1
|
+
import{c as p,r as f}from"./index-CuIrPKu9.js";import{u as w}from"./use-mobile-DBbPwq5K.js";function S(m,M){const e=p.c(12),u=M===void 0?"cards":M,o=w(),b=f.useRef(o),s=m?`deco-view-mode-${m}`:"deco-view-mode";let i;e[0]!==u||e[1]!==s?(i=()=>{const r=globalThis.localStorage?.getItem(s);return r==="cards"||r==="table"?r:u},e[0]=u,e[1]=s,e[2]=i):i=e[2];const[t,g]=f.useState(i);let l;e[3]!==s?(l=r=>{g(r),globalThis.localStorage?.setItem(s,r)},e[3]=s,e[4]=l):l=e[4];const d=l;let c,a;e[5]!==o||e[6]!==t?(c=()=>{!b.current&&o&&t==="table"&&g("cards"),b.current=o},a=[o,t],e[5]=o,e[6]=t,e[7]=c,e[8]=a):(c=e[7],a=e[8]),f.useEffect(c,a);let n;return e[9]!==d||e[10]!==t?(n=[t,d],e[9]=d,e[10]=t,e[11]=n):n=e[11],n}export{S as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c,u as r}from"./index-
|
|
1
|
+
import{c,u as r}from"./index-CuIrPKu9.js";import{e as a,u as C,d as I}from"./use-connection-h_6wlDvG.js";import{a as l,u}from"./constants-C56FepeM.js";function m(i){const t=c.c(4);let o;t[0]!==i?(o=i===void 0?{}:i,t[0]=i,t[1]=o):o=t[1];const n=o,{org:e}=r();let s;t[2]!==e.id?(s={connectionId:l,orgId:e.id},t[2]=e.id,t[3]=s):s=t[3];const d=u(s);return a(e.id,"VIRTUAL_MCP",d,n)}function V(i){const t=c.c(2),{org:o}=r();let n;t[0]!==o.id?(n={connectionId:l,orgId:o.id},t[0]=o.id,t[1]=n):n=t[1];const e=u(n);return I(o.id,"VIRTUAL_MCP",i??void 0,e)}function p(){const i=c.c(2),{org:t}=r();let o;i[0]!==t.id?(o={connectionId:l,orgId:t.id},i[0]=t.id,i[1]=o):o=i[1];const n=u(o);return C(t.id,"VIRTUAL_MCP",n)}export{p as a,m as b,V as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{I as u}from"./infiniteQueryObserver-60Pvs7lk.js";import{B as i}from"./index-CuIrPKu9.js";function t(e,r){return i(e,u,r)}export{t as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aV as l,aW as p,aX as n,aY as d,aZ as h,z as b,r as o,a_ as m,a$ as f}from"./index-
|
|
1
|
+
import{aV as l,aW as p,aX as n,aY as d,aZ as h,z as b,r as o,a_ as m,a$ as f}from"./index-CuIrPKu9.js";var v=class extends l{#s;#i=void 0;#t;#e;constructor(t,s){super(),this.#s=t,this.setOptions(s),this.bindMethods(),this.#r()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){const s=this.options;this.options=this.#s.defaultMutationOptions(t),p(this.options,s)||this.#s.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#t,observer:this}),s?.mutationKey&&this.options.mutationKey&&n(s.mutationKey)!==n(this.options.mutationKey)?this.reset():this.#t?.state.status==="pending"&&this.#t.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#t?.removeObserver(this)}onMutationUpdate(t){this.#r(),this.#o(t)}getCurrentResult(){return this.#i}reset(){this.#t?.removeObserver(this),this.#t=void 0,this.#r(),this.#o()}mutate(t,s){return this.#e=s,this.#t?.removeObserver(this),this.#t=this.#s.getMutationCache().build(this.#s,this.options),this.#t.addObserver(this),this.#t.execute(t)}#r(){const t=this.#t?.state??d();this.#i={...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset}}#o(t){h.batch(()=>{if(this.#e&&this.hasListeners()){const s=this.#i.variables,i=this.#i.context,e={client:this.#s,meta:this.options.meta,mutationKey:this.options.mutationKey};t?.type==="success"?(this.#e.onSuccess?.(t.data,s,i,e),this.#e.onSettled?.(t.data,null,s,i,e)):t?.type==="error"&&(this.#e.onError?.(t.error,s,i,e),this.#e.onSettled?.(void 0,t.error,s,i,e))}this.listeners.forEach(s=>{s(this.#i)})})}};function O(t,s){const i=b(s),[e]=o.useState(()=>new v(i,t));o.useEffect(()=>{e.setOptions(t)},[e,t]);const r=o.useSyncExternalStore(o.useCallback(a=>e.subscribe(h.batchCalls(a)),[e]),()=>e.getCurrentResult(),()=>e.getCurrentResult()),u=o.useCallback((a,c)=>{e.mutate(a,c).catch(m)},[e]);if(r.error&&f(e.options.throwOnError,[r.error]))throw r.error;return{...r,mutate:u,mutateAsync:r.mutate}}export{O as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{B as u,aa as s}from"./index-CuIrPKu9.js";function o(e,r){return u(e,s,r)}export{o as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{I as s}from"./infiniteQueryObserver-60Pvs7lk.js";import{B as u,D as n}from"./index-CuIrPKu9.js";function a(r,e){return u({...r,enabled:!0,suspense:!0,throwOnError:n},s,e)}export{a as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as w,d as K,b as q,r as $,j as t,O as B,c as k,aE as G,z as Q,K as W,t as A}from"./index-
|
|
1
|
+
import{u as w,d as K,b as q,r as $,j as t,O as B,c as k,aE as G,z as Q,K as W,t as A}from"./index-CuIrPKu9.js";import{a as J,u as V,e as Y}from"./constants-C56FepeM.js";import{C as X}from"./collection-tab-C-RG3I-p.js";import{g as Z,h as ee}from"./use-connection-h_6wlDvG.js";import{B as I}from"./button-KbFW4XuN.js";import{E as R}from"./empty-state-DYt7iyWe.js";import{E as te}from"./error-boundary-CNsxzBU5.js";import{P as x}from"./index-CEBU5ikU.js";import{B as F,a as z,b as M,c as T}from"./breadcrumb-B9K_bdts.js";import{a as ne,b as se}from"./use-binding-DHUPD73-.js";import{i as ie}from"./AlertTriangle-B3iutOXb.js";import{i as oe}from"./Loading01-D-iQ3x6B.js";import{s as le}from"./RefreshCcw01-ByoHxPlX.js";import{a as re}from"./Settings02-OMvHwhZ2.js";import{u as ce}from"./useMutation-Zw-bAGx2.js";import{e as ae}from"./Dataflow03-WvCvIAmM.js";import"./generate-id-Dyweu44Y.js";import"./collection-table-wrapper-CTALYkV9.js";import"./dropdown-menu-COB17A0Z.js";import"./Check-DG5LOfHE.js";import"./ChevronRight-CHS1psX7.js";import"./ArrowUp-BfLZrH4Z.js";import"./Grid01-CgP_l9be.js";import"./List-RSBUWz52.js";import"./tooltip-0WAr9Tnd.js";import"./index-1ZfnT2oW.js";import"./table-50O0LiWw.js";import"./card-CIHNFHDM.js";import"./integration-icon-CgM-an9b.js";import"./Container-DZJok7qt.js";import"./Copy01-CBdgbqFW.js";import"./DotsVertical-BAfOGQhL.js";import"./Edit01-BtQjuTbw.js";import"./Eye-HNj86q6R.js";import"./Trash01-DOoBIHb_.js";import"./empty-state-DbrAwFcx.js";import"./Inbox01-IqJkaMzy.js";import"./use-list-state-QuR-uYrt.js";import"./avatar-B37qTwXF.js";import"./useQuery-eogqvd42.js";import"./use-view-mode-C4TZAKDl.js";import"./use-mobile-DBbPwq5K.js";import"./constants-C6KVRSAR.js";import"./alert-dialog-Bow6SDVm.js";import"./Plus-B8rm50Ox.js";import"./layout-veX2bHTO.js";import"./SearchMd-DWE3UxU2.js";import"./input-g5LrnBay.js";import"./binder-BzuI_xjk.js";function me({title:n,description:e,wellKnownMcp:o,imageSrc:c,onConnected:i}){const a=Z(),{org:{slug:s}}=w(),{data:r}=K.useSession(),m=q(),[d,p]=$.useState(!1),l=async()=>{if(!(!o||!r?.user?.id)){p(!0);try{const f=await a.create.mutateAsync(o);i?.(f.id),m({to:"/$org/$project/mcps/$connectionId",params:{org:s,project:B,connectionId:f.id}})}finally{p(!1)}}},u=()=>{m({to:"/$org/$project/mcps",params:{org:s,project:B},search:{action:"create"}})};return t.jsx(R,{image:c?t.jsx("img",{src:c,alt:n,width:336,height:320,className:"max-w-full h-auto"}):null,title:n,description:e,actions:t.jsxs(t.Fragment,{children:[t.jsxs(I,{variant:"outline",onClick:l,disabled:d||!o,children:[o?.icon&&t.jsx("img",{src:o.icon,alt:"",className:"size-4"}),d?"Installing...":`Install ${o?.title||"MCP"}`]}),t.jsx(I,{variant:"outline",onClick:u,children:"Custom Connection"})]})})}function de(n){const e=k.c(35),{bindingName:o,collectionName:c,title:i,emptyState:a,wellKnownMcp:s}=n,{org:r}=w(),m=ee();let d;e[0]!==m||e[1]!==o?(d={connections:m,binding:o},e[0]=m,e[1]=o,e[2]=d):d=e[2];const l=ne(d)[0],u=se(l);let f;if(e[3]!==c||e[4]!==u){let g;e[6]!==c?(g=L=>L.name.toLowerCase()===c.toLowerCase(),e[6]=c,e[7]=g):g=e[7],f=u.find(g),e[3]=c,e[4]=u,e[5]=f}else f=e[5];const N=f,[U,D]=$.useState(null),_=l&&N&&(l.id||U);let j;e[8]!==i?(j=t.jsx(x.Header,{children:t.jsx(x.Header.Left,{children:t.jsx(F,{children:t.jsx(z,{children:t.jsx(M,{children:t.jsx(T,{children:i})})})})})}),e[8]=i,e[9]=j):j=e[9];let h;e[10]!==l||e[11]!==r||e[12]!==i?(h=g=>{const{error:L,resetError:H}=g;return 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(ie,{className:"h-6 w-6 text-destructive"})}),t.jsxs("div",{className:"space-y-2",children:[t.jsxs("h3",{className:"text-lg font-medium",children:["Failed to load ",i.toLowerCase()]}),t.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:L?.message||"Unable to connect to the server. Please check that it is running and accessible."})]}),t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsxs(I,{variant:"outline",onClick:H,children:[t.jsx(le,{className:"size-4"}),"Try again"]}),l&&t.jsx(I,{variant:"outline",asChild:!0,children:t.jsxs(G,{to:"/$org/$project/mcps/$connectionId",params:{org:r.slug,project:B,connectionId:l.id},search:{tab:"settings"},children:[t.jsx(re,{className:"size-4"}),"Connection Settings"]})})]})]})},e[10]=l,e[11]=r,e[12]=i,e[13]=h):h=e[13];let S;e[14]===Symbol.for("react.memo_cache_sentinel")?(S=t.jsx(oe,{size:32,className:"animate-spin text-muted-foreground mb-4"}),e[14]=S):S=e[14];let b;e[15]!==i?(b=i.toLowerCase(),e[15]=i,e[16]=b):b=e[16];let C;e[17]!==b?(C=t.jsxs("div",{className:"flex flex-col items-center justify-center h-full",children:[S,t.jsxs("p",{className:"text-sm text-muted-foreground",children:["Loading ",b,"..."]})]}),e[17]=b,e[18]=C):C=e[18];let y;e[19]!==N||e[20]!==l||e[21]!==a||e[22]!==r||e[23]!==_||e[24]!==s?(y=_?t.jsx(X,{connectionId:l.id,org:r.slug,activeCollection:N}):t.jsx("div",{className:"flex flex-col items-center justify-center h-full",children:t.jsx(me,{title:a.title,description:a.description,wellKnownMcp:s,imageSrc:a.imageSrc,onConnected:g=>{D(g)}})}),e[19]=N,e[20]=l,e[21]=a,e[22]=r,e[23]=_,e[24]=s,e[25]=y):y=e[25];let P;e[26]!==C||e[27]!==y?(P=t.jsx($.Suspense,{fallback:C,children:y}),e[26]=C,e[27]=y,e[28]=P):P=e[28];let E;e[29]!==h||e[30]!==P?(E=t.jsx(x.Content,{children:t.jsx(te,{fallback:h,children:P})}),e[29]=h,e[30]=P,e[31]=E):E=e[31];let v;return e[32]!==E||e[33]!==j?(v=t.jsxs(x,{children:[j,E]}),e[32]=E,e[33]=j,e[34]=v):v=e[34],v}function ue(){const n=k.c(12),{org:e,project:o}=w(),c=Q();let i;n[0]!==e.id?(i={connectionId:J,orgId:e.id},n[0]=e.id,n[1]=i):i=n[1];const a=V(i);let s;n[2]!==a||n[3]!==o?(s=async p=>{const l=o.enabledPlugins??[];if(l.includes(p))return;const u=[...l,p],f=await a.callTool({name:"PROJECT_UPDATE",arguments:{projectId:o.id,enabledPlugins:u}});return f.structuredContent??f},n[2]=a,n[3]=o,n[4]=s):s=n[4];let r;n[5]!==e.id||n[6]!==o||n[7]!==c?(r=()=>{c.invalidateQueries({queryKey:W.project(e.id,o.slug)}),c.invalidateQueries({queryKey:W.projects(e.id)})},n[5]=e.id,n[6]=o,n[7]=c,n[8]=r):r=n[8];let m;return n[9]!==s||n[10]!==r?(m={mutationFn:s,onSuccess:r,onError:pe},n[9]=s,n[10]=r,n[11]=m):m=n[11],ce(m)}function pe(n){A.error("Failed to enable plugin: "+(n instanceof Error?n.message:"Unknown error"))}function fe(n){const e=k.c(12),{pluginId:o,title:c,description:i,icon:a}=n,s=ue();let r;e[0]!==s||e[1]!==o?(r=async()=>{try{await s.mutateAsync(o),A.success("Plugin enabled!")}catch{}},e[0]=s,e[1]=o,e[2]=r):r=e[2];const m=r,d=a??null,p=s.isPending?"Enabling…":"Enable plugin";let l;e[3]!==s.isPending||e[4]!==m||e[5]!==p?(l=t.jsx(I,{onClick:m,disabled:s.isPending,children:p}),e[3]=s.isPending,e[4]=m,e[5]=p,e[6]=l):l=e[6];let u;return e[7]!==i||e[8]!==d||e[9]!==l||e[10]!==c?(u=t.jsx(R,{image:d,title:c,description:i,actions:l}),e[7]=i,e[8]=d,e[9]=l,e[10]=c,e[11]=u):u=e[11],u}const O="workflows";function mt(){const n=k.c(3),{project:e}=w();if(!(e.enabledPlugins??[]).includes(O)){let a;n[0]===Symbol.for("react.memo_cache_sentinel")?(a=t.jsx(x.Header,{children:t.jsx(x.Header.Left,{children:t.jsx(F,{children:t.jsx(z,{children:t.jsx(M,{children:t.jsx(T,{children:"Workflows"})})})})})}),n[0]=a):a=n[0];let s;return n[1]===Symbol.for("react.memo_cache_sentinel")?(s=t.jsxs(x,{children:[a,t.jsx(x.Content,{children:t.jsx("div",{className:"flex flex-col items-center justify-center h-full",children:t.jsx(fe,{pluginId:O,title:"Enable Workflows",description:"Automate multi-step processes by enabling the Workflows plugin. Once enabled you can create, run, and monitor workflows.",icon:t.jsx("div",{className:"bg-muted p-4 rounded-full",children:t.jsx(ae,{className:"size-8 text-muted-foreground"})})})})})]}),n[1]=s):s=n[1],s}let i;return n[2]===Symbol.for("react.memo_cache_sentinel")?(i=t.jsx(de,{bindingName:"WORKFLOW",collectionName:"workflow",title:"Workflows",emptyState:{title:"Create Workflows",description:"Run durable MCP tool calls in background."},wellKnownMcp:Y()}),n[2]=i):i=n[2],i}export{mt as default};
|
package/dist/client/index.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<title>MCP Mesh</title>
|
|
5
5
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
6
|
-
<script type="module" crossorigin src="/assets/index-
|
|
6
|
+
<script type="module" crossorigin src="/assets/index-CuIrPKu9.js"></script>
|
|
7
7
|
<link rel="stylesheet" crossorigin href="/assets/index-wH_SO4wu.css">
|
|
8
8
|
</head>
|
|
9
9
|
<body>
|