@decocms/mesh 2.86.0 → 2.87.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/dist/client/assets/{AlertCircle-CZKkWliR.js → AlertCircle-CMI4YiF8.js} +1 -1
  2. package/dist/client/assets/{AlertOctagon-CeHHEPVj.js → AlertOctagon-BGF96GWN.js} +1 -1
  3. package/dist/client/assets/{ArrowLeft-BRQUElkq.js → ArrowLeft-F0qy4hoF.js} +1 -1
  4. package/dist/client/assets/{ArrowUp-DglMchA5.js → ArrowUp-Cr88yR39.js} +1 -1
  5. package/dist/client/assets/{Calendar-BsrCli7T.js → Calendar-DedByLtP.js} +1 -1
  6. package/dist/client/assets/{Check-D6aC5DTd.js → Check-BVqX6VG5.js} +1 -1
  7. package/dist/client/assets/{CheckCircle-BFtRy3Ud.js → CheckCircle-ByeMMv-P.js} +1 -1
  8. package/dist/client/assets/{CheckDone01-CFLMeuPc.js → CheckDone01-CPH_fc9F.js} +1 -1
  9. package/dist/client/assets/{ChevronDown-CbbKn8HV.js → ChevronDown-C753dD5M.js} +1 -1
  10. package/dist/client/assets/{ChevronRight-Chr-Opwh.js → ChevronRight-sGXl7Bvf.js} +1 -1
  11. package/dist/client/assets/{Code01-BrzyalBQ.js → Code01-Cz0GM-Ln.js} +1 -1
  12. package/dist/client/assets/{Copy01-DqRoI1-6.js → Copy01-Bl99tdzP.js} +1 -1
  13. package/dist/client/assets/{DotsHorizontal-Bg70q80a.js → DotsHorizontal-CWs48tCN.js} +1 -1
  14. package/dist/client/assets/{DotsVertical-D2hVHMV7.js → DotsVertical-CWQ3-YKt.js} +1 -1
  15. package/dist/client/assets/{Download01-CK8wSuTm.js → Download01-CiBv1aKv.js} +1 -1
  16. package/dist/client/assets/{Edit01-DdekSr5y.js → Edit01-DkLw19ks.js} +1 -1
  17. package/dist/client/assets/{Eye-DF_0-3p6.js → Eye-BiLrFCnc.js} +1 -1
  18. package/dist/client/assets/{File02-Cyebv_VV.js → File02-DvBeqAHS.js} +1 -1
  19. package/dist/client/assets/{File06-B40bEevg.js → File06-qYvBtC4a.js} +1 -1
  20. package/dist/client/assets/{FilterLines-Vmcdh-DQ.js → FilterLines-BWCVYnM7.js} +1 -1
  21. package/dist/client/assets/{Globe02-CnvB05VP.js → Globe02-Dh-HvcG9.js} +1 -1
  22. package/dist/client/assets/{Grid01-BSLssB32.js → Grid01-BQKiQdYB.js} +1 -1
  23. package/dist/client/assets/{Home02-ByOV6OTK.js → Home02-DUBJ2iBn.js} +1 -1
  24. package/dist/client/assets/{Image01-BHFBKHh1.js → Image01-BuH4rRqA.js} +1 -1
  25. package/dist/client/assets/{Inbox01-BCKz6bhQ.js → Inbox01-D63wnQw5.js} +1 -1
  26. package/dist/client/assets/{InfoCircle-pOOorbPI.js → InfoCircle-DvVvj0EU.js} +1 -1
  27. package/dist/client/assets/{LinkExternal01-X-xVeISQ.js → LinkExternal01-qLFklxmU.js} +1 -1
  28. package/dist/client/assets/{List-DU0cbaW8.js → List-DbyYoAK0.js} +1 -1
  29. package/dist/client/assets/{Loading01-BPsj2Ikr.js → Loading01-DislDZSB.js} +1 -1
  30. package/dist/client/assets/{Lock01-CS7UEcIJ.js → Lock01-kQXkJGwl.js} +1 -1
  31. package/dist/client/assets/{Pin01-CiUUgpU9.js → Pin01-CWqaADuz.js} +1 -1
  32. package/dist/client/assets/{Play-Dv4AMgTA.js → Play-whHXhfHd.js} +1 -1
  33. package/dist/client/assets/{Plus-B_c8T2NA.js → Plus-B4n0HRX4.js} +1 -1
  34. package/dist/client/assets/{RefreshCcw01-Dh-nQZ6_.js → RefreshCcw01-CDxZBXaR.js} +1 -1
  35. package/dist/client/assets/{SearchMd-DUhyUDi8.js → SearchMd-BkDBIRnQ.js} +1 -1
  36. package/dist/client/assets/{Settings01-BBv98jla.js → Settings01-CUwZ36an.js} +1 -1
  37. package/dist/client/assets/{Settings02-DDgRyQEW.js → Settings02-C3-5vMxP.js} +1 -1
  38. package/dist/client/assets/{Share07-Cje8p_rj.js → Share07-DKYwpJPj.js} +1 -1
  39. package/dist/client/assets/{Terminal-y0YJjQ3t.js → Terminal-rAB0v_E_.js} +1 -1
  40. package/dist/client/assets/{Tool01-R-ugQCdx.js → Tool01-CFguOYlQ.js} +1 -1
  41. package/dist/client/assets/{Trash01-5qyOQuDf.js → Trash01-By04ijdF.js} +1 -1
  42. package/dist/client/assets/{Upload01-32MstECF.js → Upload01-fJcjR0fH.js} +1 -1
  43. package/dist/client/assets/{Users03-DH9LrHXm.js → Users03-DItk6Nms.js} +1 -1
  44. package/dist/client/assets/{X-Hp3kXOcu.js → X-r5buNXf-.js} +1 -1
  45. package/dist/client/assets/{XClose-DH3KRZCt.js → XClose-pySsKDwU.js} +1 -1
  46. package/dist/client/assets/{agent-connections-preview-LAUoc9nd.js → agent-connections-preview-BKCm87yT.js} +1 -1
  47. package/dist/client/assets/{agent-detail-LxMqgUWr.js → agent-detail-CZkw7Ahi.js} +1 -1
  48. package/dist/client/assets/{agents-BGjJ8Gal.js → agents-BuaAs0iL.js} +1 -1
  49. package/dist/client/assets/{alert-dialog-CDTYj-K3.js → alert-dialog-D0wLSh9n.js} +1 -1
  50. package/dist/client/assets/{auth-catchall-wy1AyoKc.js → auth-catchall-CkUsUOEC.js} +1 -1
  51. package/dist/client/assets/{avatar-CwCwm6yK.js → avatar-DZVTlnSA.js} +1 -1
  52. package/dist/client/assets/{badge-qV-BdFxU.js → badge-BfrnxbIP.js} +1 -1
  53. package/dist/client/assets/{binder-DLof5cwN.js → binder-B99OawxF.js} +1 -1
  54. package/dist/client/assets/{breadcrumb-CpY5_MEM.js → breadcrumb-2c6yAn4J.js} +1 -1
  55. package/dist/client/assets/{button-BzzgqPA1.js → button-CsJ-BTyU.js} +1 -1
  56. package/dist/client/assets/{card-BMS2jWLg.js → card-CzebRix7.js} +1 -1
  57. package/dist/client/assets/{checkbox-DGcmbWPy.js → checkbox-FhfzoNwb.js} +1 -1
  58. package/dist/client/assets/{circle-alert-Dl1mKU53.js → circle-alert-4rPD_PO-.js} +1 -1
  59. package/dist/client/assets/{collection-detail-q4wl2I_I.js → collection-detail-BrenkDdG.js} +5 -5
  60. package/dist/client/assets/{collection-search-C0EzGOfM.js → collection-search-Yrefv2Yh.js} +1 -1
  61. package/dist/client/assets/{collection-tab-gslp5F0N.js → collection-tab-Dhc32y8D.js} +1 -1
  62. package/dist/client/assets/{collection-table-wrapper-DIbesVyO.js → collection-table-wrapper-D9zZsdiL.js} +1 -1
  63. package/dist/client/assets/{collection-tabs-DSThe4TZ.js → collection-tabs-Q-Uo1s-L.js} +1 -1
  64. package/dist/client/assets/{command-CuDo8_GW.js → command-DAtVXyWP.js} +1 -1
  65. package/dist/client/assets/{connect-Dg03rIYV.js → connect-CYIDebRt.js} +1 -1
  66. package/dist/client/assets/{connection-card-BdJz7ukQ.js → connection-card-D4lpnLQO.js} +1 -1
  67. package/dist/client/assets/{connection-detail-jgh_EmLL.js → connection-detail-ClB2aBZr.js} +1 -1
  68. package/dist/client/assets/{connections-roV0pn7n.js → connections-BfatqPWY.js} +1 -1
  69. package/dist/client/assets/constants-BSCbneKJ.js +1 -0
  70. package/dist/client/assets/{constants-BF_fvAn_.js → constants-CucT8Y-Y.js} +1 -1
  71. package/dist/client/assets/{create-organization-dialog-DPv196Km.js → create-organization-dialog-DwKaHJep.js} +1 -1
  72. package/dist/client/assets/{create-project-dialog-2_Pd_aSh.js → create-project-dialog-C2-PEMvv.js} +1 -1
  73. package/dist/client/assets/{dialog-QALiZUqS.js → dialog-3EB-J4B_.js} +1 -1
  74. package/dist/client/assets/{dropdown-menu-BLDCY1bL.js → dropdown-menu-Bshnl7f0.js} +1 -1
  75. package/dist/client/assets/{dynamic-plugin-layout-BAUs-04R.js → dynamic-plugin-layout-Drg1aSlq.js} +1 -1
  76. package/dist/client/assets/{empty-state-CeiZxNhi.js → empty-state-1NB9yQ1t.js} +1 -1
  77. package/dist/client/assets/{empty-state-Dk2L_oED.js → empty-state-Bi-BkSth.js} +1 -1
  78. package/dist/client/assets/{env-vars-editor-C-ecvZjs.js → env-vars-editor-CbswziBn.js} +1 -1
  79. package/dist/client/assets/{error-boundary-BlQFrpbk.js → error-boundary-CaGh18_R.js} +1 -1
  80. package/dist/client/assets/{extract-connection-data-BsEN7v48.js → extract-connection-data-kKvsSLaN.js} +1 -1
  81. package/dist/client/assets/{file-browser-BEOrBYII.js → file-browser-BzKEwz78.js} +2 -2
  82. package/dist/client/assets/{form-CbWGUyQf.js → form-BlwP3Tk9.js} +1 -1
  83. package/dist/client/assets/{grid-view-wsw1RDPg.js → grid-view-gsYISlPb.js} +1 -1
  84. package/dist/client/assets/{home-CWU0nrDB.js → home-DWWCnfpS.js} +1 -1
  85. package/dist/client/assets/{index-DUWyEHsq.js → index-BF7Y1e9M.js} +2 -2
  86. package/dist/client/assets/{index-BidPkBMC.js → index-CA62CANi.js} +1 -1
  87. package/dist/client/assets/{index-DHPVwvvK.js → index-CNTzRs2a.js} +1 -1
  88. package/dist/client/assets/{index-CGEiLVgM.js → index-CgOYGmVd.js} +1 -1
  89. package/dist/client/assets/index-Cj8gXlq-.css +1 -0
  90. package/dist/client/assets/{index-DDYx0w19.js → index-DIQUoNYB.js} +1 -1
  91. package/dist/client/assets/{index-BXpaQTBX.js → index-DLNbywI1.js} +1 -1
  92. package/dist/client/assets/{index-CfNE8P8f.js → index-DW5LacML.js} +92 -90
  93. package/dist/client/assets/{index-Cc2Q-hXW.js → index-DwiHvE3c.js} +1 -1
  94. package/dist/client/assets/{index-Bu-mgyhF.js → index-DwztszwS.js} +1 -1
  95. package/dist/client/assets/{infiniteQueryObserver-B0EWimPZ.js → infiniteQueryObserver-AHDpBxLi.js} +1 -1
  96. package/dist/client/assets/{input-DIsbo1lI.js → input-Barosnhy.js} +1 -1
  97. package/dist/client/assets/{integration-icon-DcCARkam.js → integration-icon-DL_7q6rJ.js} +1 -1
  98. package/dist/client/assets/{label-CP_MZF-0.js → label-CsZ9MmGa.js} +1 -1
  99. package/dist/client/assets/{layout-0JlcWnLI.js → layout-B0BvAjMd.js} +1 -1
  100. package/dist/client/assets/{localstorage-keys-R4XNPXwy.js → localstorage-keys-amV_-5pn.js} +1 -1
  101. package/dist/client/assets/{login-_PPABhsV.js → login-SfQqXsDc.js} +1 -1
  102. package/dist/client/assets/{mcp-oauth-BWHYGXC1.js → mcp-oauth-BX6v5RXg.js} +1 -1
  103. package/dist/client/assets/{mcp-server-card-cX2Tejap.js → mcp-server-card-CFw7RlTN.js} +1 -1
  104. package/dist/client/assets/{mcp-server-detail-B28ZtBkh.js → mcp-server-detail-FV0O-BTM.js} +2 -2
  105. package/dist/client/assets/{members-DJOwIKYx.js → members-SrNL520t.js} +1 -1
  106. package/dist/client/assets/{monaco-editor-D_GBjMj0.js → monaco-editor-HT_HkhlE.js} +1 -1
  107. package/dist/client/assets/{monitoring-BNLqQvTt.js → monitoring-YxclJtDc.js} +1 -1
  108. package/dist/client/assets/{oauth-callback-EdySGBJH.js → oauth-callback-CgawdzC7.js} +1 -1
  109. package/dist/client/assets/{page-a94myL5U.js → page-BipGfR0N.js} +1 -1
  110. package/dist/client/assets/{page-C4vj3JO0.js → page-CBPeBj68.js} +1 -1
  111. package/dist/client/assets/{plugin-empty-state-nEolcCXS.js → plugin-empty-state-DmoMnSvF.js} +1 -1
  112. package/dist/client/assets/{plugin-header-DE4En7D8.js → plugin-header-DrwRXir0.js} +1 -1
  113. package/dist/client/assets/{popover-gPOnk7wt.js → popover-Du0axOQk.js} +1 -1
  114. package/dist/client/assets/{project-layout-D32bBhDN.js → project-layout-CXHLC50z.js} +1 -1
  115. package/dist/client/assets/{project-settings-BHpZshG9.js → project-settings-BdUIjng2.js} +1 -1
  116. package/dist/client/assets/{projects-list-CwEp-lb0.js → projects-list-JxHyiVdW.js} +1 -1
  117. package/dist/client/assets/{registry-utils-D7Rmthqt.js → registry-utils-DHqoUP2c.js} +1 -1
  118. package/dist/client/assets/{resizable-6Lb0xMt4.js → resizable-DKYqWYE_.js} +1 -1
  119. package/dist/client/assets/{select-BggQZ1Tx.js → select-C2Pbxf7c.js} +1 -1
  120. package/dist/client/assets/{shell-layout-CzYvgeZY.js → shell-layout-DuY0czp2.js} +3 -3
  121. package/dist/client/assets/{spinner-B_SBvaLu.js → spinner-Bk2Kv7Is.js} +1 -1
  122. package/dist/client/assets/{store-invite-DLhQlLoS.js → store-invite-DoxlK9jX.js} +1 -1
  123. package/dist/client/assets/{switch-D6vw18Yw.js → switch-pRBwY2MA.js} +1 -1
  124. package/dist/client/assets/{table-Do6WMe3W.js → table-Bgaai9wR.js} +1 -1
  125. package/dist/client/assets/{tasks-Bq2Pr-RR.js → tasks-CSRJCIUq.js} +1 -1
  126. package/dist/client/assets/{textarea-oHVaqxcw.js → textarea-CUDbyNiv.js} +1 -1
  127. package/dist/client/assets/{tools-list-CNOFWqOv.js → tools-list-CjTy5P6D.js} +1 -1
  128. package/dist/client/assets/{topbar-portal-req43WDK.js → topbar-portal-BJiAJ4h2.js} +1 -1
  129. package/dist/client/assets/{typewriter-title-CPAQ-LAN.js → typewriter-title-CGvoRlOT.js} +1 -1
  130. package/dist/client/assets/{use-binding-Ci-Bobgy.js → use-binding-ltfl3cPA.js} +1 -1
  131. package/dist/client/assets/{use-connection-DQ_s0J7q.js → use-connection-_6bZJd3j.js} +1 -1
  132. package/dist/client/assets/{use-create-virtual-mcp-dFxVUcUv.js → use-create-virtual-mcp-CSiBFS-p.js} +1 -1
  133. package/dist/client/assets/{use-deco-chat-open-Dt7HPs70.js → use-deco-chat-open-CVTwRQoh.js} +1 -1
  134. package/dist/client/assets/{use-install-from-registry-BwMZfHES.js → use-install-from-registry-Box3PA1m.js} +1 -1
  135. package/dist/client/assets/{use-list-state-B1GDSVRC.js → use-list-state-FXqJjHJh.js} +1 -1
  136. package/dist/client/assets/{use-llm-BQiFzTFE.js → use-llm-CETK0xwr.js} +1 -1
  137. package/dist/client/assets/{use-mcp-prompts-DW8bdyVk.js → use-mcp-prompts-DVE5aYwA.js} +1 -1
  138. package/dist/client/assets/{use-mcp-tools-CyxMU-U3.js → use-mcp-tools-CERNk3IX.js} +1 -1
  139. package/dist/client/assets/{use-mobile-CwW2OqhO.js → use-mobile-DgWdzZzh.js} +1 -1
  140. package/dist/client/assets/{use-organization-settings-DR0xAoRU.js → use-organization-settings-6lqaWqmf.js} +1 -1
  141. package/dist/client/assets/{use-project-D6K-Qkve.js → use-project-CpFgjzox.js} +1 -1
  142. package/dist/client/assets/{use-virtual-mcp-YuqZrZuH.js → use-virtual-mcp-BaDN22Su.js} +1 -1
  143. package/dist/client/assets/useInfiniteQuery-DUcr56bw.js +1 -0
  144. package/dist/client/assets/{useMutation-CMum5GhU.js → useMutation-GLUqnj57.js} +1 -1
  145. package/dist/client/assets/useQuery-BS0MQvhs.js +1 -0
  146. package/dist/client/assets/{view-mode-toggle-4KKEmX6-.js → view-mode-toggle-BiQRnCj0.js} +1 -1
  147. package/dist/client/assets/{workflow-Dymxh2Yh.js → workflow-B4shDfav.js} +1 -1
  148. package/dist/client/index.html +2 -2
  149. package/dist/server/cli.js +207 -182
  150. package/dist/server/server.js +181 -156
  151. package/package.json +1 -1
  152. package/dist/client/assets/constants-DUoC8L5w.js +0 -1
  153. package/dist/client/assets/index-CwsYRpNw.css +0 -1
  154. package/dist/client/assets/useInfiniteQuery-DeQegkYt.js +0 -1
  155. package/dist/client/assets/useQuery-BCcnZLQc.js +0 -1
@@ -1 +1 @@
1
- import{u as P,g as z,m as A,r as E,j as t,O as L,c as _,aK as F}from"./index-DUWyEHsq.js";import{e as M}from"./constants-BF_fvAn_.js";import{C as T}from"./collection-tab-gslp5F0N.js";import{g as G,h as H}from"./use-connection-DQ_s0J7q.js";import{B as w}from"./button-BzzgqPA1.js";import{E as U}from"./empty-state-Dk2L_oED.js";import{E as D,i as J}from"./error-boundary-BlQFrpbk.js";import{P as y}from"./index-DHPVwvvK.js";import{B as V,a as q,b as K,c as Q}from"./breadcrumb-CpY5_MEM.js";import{a as X,b as Y}from"./use-binding-Ci-Bobgy.js";import{i as Z}from"./Loading01-BPsj2Ikr.js";import{s as ee}from"./RefreshCcw01-Dh-nQZ6_.js";import{a as te}from"./Settings02-DDgRyQEW.js";import"./generate-id-Dyweu44Y.js";import"./collection-table-wrapper-DIbesVyO.js";import"./dropdown-menu-BLDCY1bL.js";import"./ChevronRight-Chr-Opwh.js";import"./ArrowUp-DglMchA5.js";import"./Check-D6aC5DTd.js";import"./Grid01-BSLssB32.js";import"./List-DU0cbaW8.js";import"./integration-icon-DcCARkam.js";import"./index-BidPkBMC.js";import"./view-mode-toggle-4KKEmX6-.js";import"./table-Do6WMe3W.js";import"./collection-search-C0EzGOfM.js";import"./SearchMd-DUhyUDi8.js";import"./input-DIsbo1lI.js";import"./card-BMS2jWLg.js";import"./Copy01-DqRoI1-6.js";import"./DotsVertical-D2hVHMV7.js";import"./Edit01-DdekSr5y.js";import"./Eye-DF_0-3p6.js";import"./Trash01-5qyOQuDf.js";import"./empty-state-CeiZxNhi.js";import"./Inbox01-BCKz6bhQ.js";import"./use-list-state-B1GDSVRC.js";import"./avatar-CwCwm6yK.js";import"./useQuery-BCcnZLQc.js";import"./use-mobile-CwW2OqhO.js";import"./constants-DUoC8L5w.js";import"./alert-dialog-CDTYj-K3.js";import"./Plus-B_c8T2NA.js";import"./layout-0JlcWnLI.js";import"./useMutation-CMum5GhU.js";import"./binder-DLof5cwN.js";function se({title:n,description:e,wellKnownMcp:o,imageSrc:r,onConnected:i}){const c=G(),{org:{slug:p}}=P(),{data:a}=z.useSession(),u=A(),[m,k]=E.useState(!1),s=async()=>{if(!(!o||!a?.user?.id)){k(!0);try{const d=await c.create.mutateAsync(o);i?.(d.id),u({to:"/$org/$project/mcps/$connectionId",params:{org:p,project:L,connectionId:d.id}})}finally{k(!1)}}},N=()=>{u({to:"/$org/$project/mcps",params:{org:p,project:L},search:{action:"create"}})};return t.jsx(U,{image:r?t.jsx("img",{src:r,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(w,{variant:"outline",onClick:s,disabled:m||!o,children:[o?.icon&&t.jsx("img",{src:o.icon,alt:"",className:"size-4"}),m?"Installing...":`Install ${o?.title||"MCP"}`]}),t.jsx(w,{variant:"outline",onClick:N,children:"Custom Connection"})]})})}function ie(n){const e=_.c(35),{bindingName:o,collectionName:r,title:i,emptyState:c,wellKnownMcp:p}=n,{org:a}=P(),u=H();let m;e[0]!==u||e[1]!==o?(m={connections:u,binding:o},e[0]=u,e[1]=o,e[2]=m):m=e[2];const s=X(m)[0],N=Y(s);let d;if(e[3]!==r||e[4]!==N){let l;e[6]!==r?(l=$=>$.name.toLowerCase()===r.toLowerCase(),e[6]=r,e[7]=l):l=e[7],d=N.find(l),e[3]=r,e[4]=N,e[5]=d}else d=e[5];const I=d,[W,O]=E.useState(null),B=s&&I&&(s.id||W);let f;e[8]!==i?(f=t.jsx(y.Header,{children:t.jsx(y.Header.Left,{children:t.jsx(V,{children:t.jsx(q,{children:t.jsx(K,{children:t.jsx(Q,{children:i})})})})})}),e[8]=i,e[9]=f):f=e[9];let x;e[10]!==s||e[11]!==a||e[12]!==i?(x=l=>{const{error:$,resetError:R}=l;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(J,{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:$?.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(w,{variant:"outline",onClick:R,children:[t.jsx(ee,{className:"size-4"}),"Try again"]}),s&&t.jsx(w,{variant:"outline",asChild:!0,children:t.jsxs(F,{to:"/$org/$project/mcps/$connectionId",params:{org:a.slug,project:L,connectionId:s.id},search:{tab:"settings"},children:[t.jsx(te,{className:"size-4"}),"Connection Settings"]})})]})]})},e[10]=s,e[11]=a,e[12]=i,e[13]=x):x=e[13];let S;e[14]===Symbol.for("react.memo_cache_sentinel")?(S=t.jsx(Z,{size:32,className:"animate-spin text-muted-foreground mb-4"}),e[14]=S):S=e[14];let g;e[15]!==i?(g=i.toLowerCase(),e[15]=i,e[16]=g):g=e[16];let h;e[17]!==g?(h=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 ",g,"..."]})]}),e[17]=g,e[18]=h):h=e[18];let j;e[19]!==I||e[20]!==s||e[21]!==c||e[22]!==a||e[23]!==B||e[24]!==p?(j=B?t.jsx(T,{connectionId:s.id,org:a.slug,activeCollection:I}):t.jsx("div",{className:"flex flex-col items-center justify-center h-full",children:t.jsx(se,{title:c.title,description:c.description,wellKnownMcp:p,imageSrc:c.imageSrc,onConnected:l=>{O(l)}})}),e[19]=I,e[20]=s,e[21]=c,e[22]=a,e[23]=B,e[24]=p,e[25]=j):j=e[25];let C;e[26]!==h||e[27]!==j?(C=t.jsx(E.Suspense,{fallback:h,children:j}),e[26]=h,e[27]=j,e[28]=C):C=e[28];let b;e[29]!==x||e[30]!==C?(b=t.jsx(y.Content,{children:t.jsx(D,{fallback:x,children:C})}),e[29]=x,e[30]=C,e[31]=b):b=e[31];let v;return e[32]!==b||e[33]!==f?(v=t.jsxs(y,{children:[f,b]}),e[32]=b,e[33]=f,e[34]=v):v=e[34],v}function Qe(){const n=_.c(1);let e;return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(ie,{bindingName:"WORKFLOW",collectionName:"workflow",title:"Workflows",emptyState:{title:"Create Workflows",description:"Install MCP Studio to create and manage automated workflows with multiple steps and integrations."},wellKnownMcp:M()}),n[0]=e):e=n[0],e}export{Qe as default};
1
+ import{u as P,g as z,m as A,r as E,j as t,O as L,c as _,aK as F}from"./index-BF7Y1e9M.js";import{e as M}from"./constants-CucT8Y-Y.js";import{C as T}from"./collection-tab-Dhc32y8D.js";import{g as G,h as H}from"./use-connection-_6bZJd3j.js";import{B as w}from"./button-CsJ-BTyU.js";import{E as U}from"./empty-state-Bi-BkSth.js";import{E as D,i as J}from"./error-boundary-CaGh18_R.js";import{P as y}from"./index-CNTzRs2a.js";import{B as V,a as q,b as K,c as Q}from"./breadcrumb-2c6yAn4J.js";import{a as X,b as Y}from"./use-binding-ltfl3cPA.js";import{i as Z}from"./Loading01-DislDZSB.js";import{s as ee}from"./RefreshCcw01-CDxZBXaR.js";import{a as te}from"./Settings02-C3-5vMxP.js";import"./generate-id-Dyweu44Y.js";import"./collection-table-wrapper-D9zZsdiL.js";import"./dropdown-menu-Bshnl7f0.js";import"./ChevronRight-sGXl7Bvf.js";import"./ArrowUp-Cr88yR39.js";import"./Check-BVqX6VG5.js";import"./Grid01-BQKiQdYB.js";import"./List-DbyYoAK0.js";import"./integration-icon-DL_7q6rJ.js";import"./index-CA62CANi.js";import"./view-mode-toggle-BiQRnCj0.js";import"./table-Bgaai9wR.js";import"./collection-search-Yrefv2Yh.js";import"./SearchMd-BkDBIRnQ.js";import"./input-Barosnhy.js";import"./card-CzebRix7.js";import"./Copy01-Bl99tdzP.js";import"./DotsVertical-CWQ3-YKt.js";import"./Edit01-DkLw19ks.js";import"./Eye-BiLrFCnc.js";import"./Trash01-By04ijdF.js";import"./empty-state-1NB9yQ1t.js";import"./Inbox01-D63wnQw5.js";import"./use-list-state-FXqJjHJh.js";import"./avatar-DZVTlnSA.js";import"./useQuery-BS0MQvhs.js";import"./use-mobile-DgWdzZzh.js";import"./constants-BSCbneKJ.js";import"./alert-dialog-D0wLSh9n.js";import"./Plus-B4n0HRX4.js";import"./layout-B0BvAjMd.js";import"./useMutation-GLUqnj57.js";import"./binder-B99OawxF.js";function se({title:n,description:e,wellKnownMcp:o,imageSrc:r,onConnected:i}){const c=G(),{org:{slug:p}}=P(),{data:a}=z.useSession(),u=A(),[m,k]=E.useState(!1),s=async()=>{if(!(!o||!a?.user?.id)){k(!0);try{const d=await c.create.mutateAsync(o);i?.(d.id),u({to:"/$org/$project/mcps/$connectionId",params:{org:p,project:L,connectionId:d.id}})}finally{k(!1)}}},N=()=>{u({to:"/$org/$project/mcps",params:{org:p,project:L},search:{action:"create"}})};return t.jsx(U,{image:r?t.jsx("img",{src:r,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(w,{variant:"outline",onClick:s,disabled:m||!o,children:[o?.icon&&t.jsx("img",{src:o.icon,alt:"",className:"size-4"}),m?"Installing...":`Install ${o?.title||"MCP"}`]}),t.jsx(w,{variant:"outline",onClick:N,children:"Custom Connection"})]})})}function ie(n){const e=_.c(35),{bindingName:o,collectionName:r,title:i,emptyState:c,wellKnownMcp:p}=n,{org:a}=P(),u=H();let m;e[0]!==u||e[1]!==o?(m={connections:u,binding:o},e[0]=u,e[1]=o,e[2]=m):m=e[2];const s=X(m)[0],N=Y(s);let d;if(e[3]!==r||e[4]!==N){let l;e[6]!==r?(l=$=>$.name.toLowerCase()===r.toLowerCase(),e[6]=r,e[7]=l):l=e[7],d=N.find(l),e[3]=r,e[4]=N,e[5]=d}else d=e[5];const I=d,[W,O]=E.useState(null),B=s&&I&&(s.id||W);let f;e[8]!==i?(f=t.jsx(y.Header,{children:t.jsx(y.Header.Left,{children:t.jsx(V,{children:t.jsx(q,{children:t.jsx(K,{children:t.jsx(Q,{children:i})})})})})}),e[8]=i,e[9]=f):f=e[9];let x;e[10]!==s||e[11]!==a||e[12]!==i?(x=l=>{const{error:$,resetError:R}=l;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(J,{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:$?.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(w,{variant:"outline",onClick:R,children:[t.jsx(ee,{className:"size-4"}),"Try again"]}),s&&t.jsx(w,{variant:"outline",asChild:!0,children:t.jsxs(F,{to:"/$org/$project/mcps/$connectionId",params:{org:a.slug,project:L,connectionId:s.id},search:{tab:"settings"},children:[t.jsx(te,{className:"size-4"}),"Connection Settings"]})})]})]})},e[10]=s,e[11]=a,e[12]=i,e[13]=x):x=e[13];let S;e[14]===Symbol.for("react.memo_cache_sentinel")?(S=t.jsx(Z,{size:32,className:"animate-spin text-muted-foreground mb-4"}),e[14]=S):S=e[14];let g;e[15]!==i?(g=i.toLowerCase(),e[15]=i,e[16]=g):g=e[16];let h;e[17]!==g?(h=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 ",g,"..."]})]}),e[17]=g,e[18]=h):h=e[18];let j;e[19]!==I||e[20]!==s||e[21]!==c||e[22]!==a||e[23]!==B||e[24]!==p?(j=B?t.jsx(T,{connectionId:s.id,org:a.slug,activeCollection:I}):t.jsx("div",{className:"flex flex-col items-center justify-center h-full",children:t.jsx(se,{title:c.title,description:c.description,wellKnownMcp:p,imageSrc:c.imageSrc,onConnected:l=>{O(l)}})}),e[19]=I,e[20]=s,e[21]=c,e[22]=a,e[23]=B,e[24]=p,e[25]=j):j=e[25];let C;e[26]!==h||e[27]!==j?(C=t.jsx(E.Suspense,{fallback:h,children:j}),e[26]=h,e[27]=j,e[28]=C):C=e[28];let b;e[29]!==x||e[30]!==C?(b=t.jsx(y.Content,{children:t.jsx(D,{fallback:x,children:C})}),e[29]=x,e[30]=C,e[31]=b):b=e[31];let v;return e[32]!==b||e[33]!==f?(v=t.jsxs(y,{children:[f,b]}),e[32]=b,e[33]=f,e[34]=v):v=e[34],v}function Qe(){const n=_.c(1);let e;return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(ie,{bindingName:"WORKFLOW",collectionName:"workflow",title:"Workflows",emptyState:{title:"Create Workflows",description:"Install MCP Studio to create and manage automated workflows with multiple steps and integrations."},wellKnownMcp:M()}),n[0]=e):e=n[0],e}export{Qe as default};
@@ -3,8 +3,8 @@
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-DUWyEHsq.js"></script>
7
- <link rel="stylesheet" crossorigin href="/assets/index-CwsYRpNw.css">
6
+ <script type="module" crossorigin src="/assets/index-BF7Y1e9M.js"></script>
7
+ <link rel="stylesheet" crossorigin href="/assets/index-Cj8gXlq-.css">
8
8
  </head>
9
9
  <body>
10
10
  <div id="root"></div>