@decocms/mesh 2.142.0 → 2.143.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 (211) hide show
  1. package/dist/client/assets/{AlertCircle-Zx531KAn.js → AlertCircle-C33JEKEq.js} +1 -1
  2. package/dist/client/assets/{AlignLeft-CGBbKVHK.js → AlignLeft-REGjRwBJ.js} +1 -1
  3. package/dist/client/assets/{ArrowDown-BX-IIy5w.js → ArrowDown-aOFcd1rD.js} +1 -1
  4. package/dist/client/assets/{ArrowLeft-D4dc0UBb.js → ArrowLeft-6J-waWbb.js} +1 -1
  5. package/dist/client/assets/{ArrowUp-dcB4aDLZ.js → ArrowUp-DHX-mOU2.js} +1 -1
  6. package/dist/client/assets/{Check-DXoRcZpn.js → Check-BQYRNFNB.js} +1 -1
  7. package/dist/client/assets/{CheckCircle-BP8hgPfe.js → CheckCircle-BspahUp0.js} +1 -1
  8. package/dist/client/assets/{CheckDone01-ca6APAHc.js → CheckDone01-CKFgRwhA.js} +1 -1
  9. package/dist/client/assets/{CheckVerified02-C_Ewexdw.js → CheckVerified02-BNn37Me9.js} +1 -1
  10. package/dist/client/assets/{ChevronDown-D04Buvau.js → ChevronDown-1tcTabrX.js} +1 -1
  11. package/dist/client/assets/{ChevronLeft-C8cqrSli.js → ChevronLeft-Bj3ue1eK.js} +1 -1
  12. package/dist/client/assets/{ChevronRight-CkAAxLvD.js → ChevronRight-DhQpCpKK.js} +1 -1
  13. package/dist/client/assets/{Clock-DwwOuQI4.js → Clock-C30Ff6vt.js} +1 -1
  14. package/dist/client/assets/{Code01-BLJKgev-.js → Code01-CycseZkv.js} +1 -1
  15. package/dist/client/assets/{Container-CSl1es2V.js → Container-BU5QPEDW.js} +1 -1
  16. package/dist/client/assets/{Copy01-B4eRdmVC.js → Copy01-Bub_iK1k.js} +1 -1
  17. package/dist/client/assets/{Dataflow03-SiitV-oV.js → Dataflow03-CP3uRpJJ.js} +1 -1
  18. package/dist/client/assets/{DotsHorizontal-DzRIJPXY.js → DotsHorizontal-BCdQOVe0.js} +1 -1
  19. package/dist/client/assets/{DotsVertical-B6bpYQLL.js → DotsVertical-BSoYRiIr.js} +1 -1
  20. package/dist/client/assets/{Download01-DDnPOFFT.js → Download01-DYjfgXnI.js} +1 -1
  21. package/dist/client/assets/{Edit01-CoWrVJPj.js → Edit01-BIUDv_si.js} +1 -1
  22. package/dist/client/assets/{Edit05-BUQBpzoO.js → Edit05-B3UbFiYN.js} +1 -1
  23. package/dist/client/assets/{Eye-DNSEDYe8.js → Eye-CJ0GO8QL.js} +1 -1
  24. package/dist/client/assets/{File02-BXS3LEA8.js → File02-CJJT1Lsy.js} +1 -1
  25. package/dist/client/assets/{File06-h52WT7aG.js → File06-BzTcP1fd.js} +1 -1
  26. package/dist/client/assets/{FilterLines-CsjQLyQm.js → FilterLines-CgDlJMHC.js} +1 -1
  27. package/dist/client/assets/{Globe01-CSEqx1SJ.js → Globe01-pQgT6Pgy.js} +1 -1
  28. package/dist/client/assets/{Globe02-YyAAQROb.js → Globe02-DK-nDQII.js} +1 -1
  29. package/dist/client/assets/{Grid01-Ju9gLjOW.js → Grid01-Cv6nD-bp.js} +1 -1
  30. package/dist/client/assets/{Hash02-TG1GIkeV.js → Hash02-2uEkY5na.js} +1 -1
  31. package/dist/client/assets/{Home02-TzIRlDMK.js → Home02-Cuswvl5N.js} +1 -1
  32. package/dist/client/assets/{Image01-PGP5Jz22.js → Image01-_ugWt3d2.js} +1 -1
  33. package/dist/client/assets/{Inbox01-CjHNjCjB.js → Inbox01-B0oK7RI9.js} +1 -1
  34. package/dist/client/assets/{InfoCircle-CVW6wgFf.js → InfoCircle-WmJgMXWS.js} +1 -1
  35. package/dist/client/assets/{Key01-9PzzeBlc.js → Key01-DW6fqfWo.js} +1 -1
  36. package/dist/client/assets/{LayersTwo01-XOG8qRvr.js → LayersTwo01-BcA1LBal.js} +1 -1
  37. package/dist/client/assets/{LayoutLeft-BcthWHLG.js → LayoutLeft-B9EmI1if.js} +1 -1
  38. package/dist/client/assets/{Link01-2BHrruNj.js → Link01-BnhQ6HaU.js} +1 -1
  39. package/dist/client/assets/{LinkExternal01-CxAidvQ-.js → LinkExternal01-DYtAatm2.js} +1 -1
  40. package/dist/client/assets/{List-Bj4VjFJ6.js → List-BFACCNRk.js} +1 -1
  41. package/dist/client/assets/{Loading01-DF5pxnn8.js → Loading01-B8ixav8o.js} +1 -1
  42. package/dist/client/assets/{Lock01-CPqKu_Mb.js → Lock01-BOdqI63W.js} +1 -1
  43. package/dist/client/assets/{Play-CUMfSU-t.js → Play-CEbM08S_.js} +1 -1
  44. package/dist/client/assets/{Plus-CEtl-Eq7.js → Plus-D4t5EG83.js} +1 -1
  45. package/dist/client/assets/{RefreshCcw01-Bcbx9L0j.js → RefreshCcw01-CCgnRJd5.js} +1 -1
  46. package/dist/client/assets/{Save01-BtoFb1Cg.js → Save01-DynhEPAB.js} +1 -1
  47. package/dist/client/assets/{SearchMd-u1QGwQkU.js → SearchMd-B8KV3nui.js} +1 -1
  48. package/dist/client/assets/{Settings01-C1oZxROY.js → Settings01-BdGMn6lJ.js} +1 -1
  49. package/dist/client/assets/{Shield01-DoZAYqqP.js → Shield01-CpBrW2km.js} +1 -1
  50. package/dist/client/assets/{Terminal-DobKmqGm.js → Terminal-fmXnrrqs.js} +1 -1
  51. package/dist/client/assets/{Trash01-c47UOodj.js → Trash01-_Tzcparm.js} +1 -1
  52. package/dist/client/assets/{Upload01-C3K15n1N.js → Upload01-DtqvlWBL.js} +1 -1
  53. package/dist/client/assets/{Users03-Z0r1cCGf.js → Users03-Z1ByU7gs.js} +1 -1
  54. package/dist/client/assets/{X-CT_P09q2.js → X-DUw9p4mH.js} +1 -1
  55. package/dist/client/assets/{XCircle-BNAlXeL2.js → XCircle-B8o5NZjk.js} +1 -1
  56. package/dist/client/assets/{XClose-BIpOBHWg.js → XClose-DuxEOCv_.js} +1 -1
  57. package/dist/client/assets/{Zap-BYVebEYM.js → Zap-Bfu3dNEc.js} +1 -1
  58. package/dist/client/assets/{agent-connections-preview-B76ZYrs2.js → agent-connections-preview-K7AOWu8a.js} +1 -1
  59. package/dist/client/assets/agent-detail-C94NpUEI.js +2 -0
  60. package/dist/client/assets/{agents-avEyjtsq.js → agents-BSKLOaMu.js} +1 -1
  61. package/dist/client/assets/{alert-dialog-DXvhyacf.js → alert-dialog-DaXpWdw0.js} +2 -2
  62. package/dist/client/assets/{auth-catchall-FvylLzD9.js → auth-catchall-COBLdahK.js} +1 -1
  63. package/dist/client/assets/{avatar-DGDgNwX-.js → avatar-Ci3kAkCl.js} +1 -1
  64. package/dist/client/assets/{badge-DtcA_2rB.js → badge-Bjvc5XIA.js} +1 -1
  65. package/dist/client/assets/{binder-CaZ6b20X.js → binder-D8s-h8oe.js} +1 -1
  66. package/dist/client/assets/{breadcrumb-DPLSdTx1.js → breadcrumb-mjrAJ44V.js} +1 -1
  67. package/dist/client/assets/{card-Bz05CYUR.js → card-DFLwXVkm.js} +1 -1
  68. package/dist/client/assets/{chart-DYrz9LTc.js → chart-qGX5OGhH.js} +1 -1
  69. package/dist/client/assets/{checkbox-JiwlvimE.js → checkbox-YMBbuKOZ.js} +1 -1
  70. package/dist/client/assets/{circle-alert-CtnOwoV2.js → circle-alert-DGdpKWGk.js} +1 -1
  71. package/dist/client/assets/collapsible-CxJfsyMO.js +23 -0
  72. package/dist/client/assets/{collection-detail-CBGjxXPP.js → collection-detail-DVcCqR3z.js} +2 -2
  73. package/dist/client/assets/{collection-display-button-CXc-TgEJ.js → collection-display-button-BxbTqYSq.js} +1 -1
  74. package/dist/client/assets/{collection-search-Dl5JvsI0.js → collection-search-C_6fMPfN.js} +1 -1
  75. package/dist/client/assets/{collection-tab-BlE4CTwD.js → collection-tab-Bh2VOYGp.js} +1 -1
  76. package/dist/client/assets/{collection-table-wrapper-eN4uWzLn.js → collection-table-wrapper-COmJ-B8Q.js} +1 -1
  77. package/dist/client/assets/{collection-tabs-CK4RWFd-.js → collection-tabs-DQrbo9Ay.js} +1 -1
  78. package/dist/client/assets/{command-BzF9LDzy.js → command-B1HOWPFt.js} +1 -1
  79. package/dist/client/assets/{connect-B1CrEofK.js → connect-CpLI2s8J.js} +1 -1
  80. package/dist/client/assets/{connection-card-CC22E-3G.js → connection-card-JlUaDjOw.js} +1 -1
  81. package/dist/client/assets/connection-detail-C_SdT5ck.js +1 -0
  82. package/dist/client/assets/{connection-status-B1K3m1_w.js → connection-status-8Ht5iRaJ.js} +1 -1
  83. package/dist/client/assets/{connections-BuggzhbD.js → connections-DeEqc0GM.js} +1 -1
  84. package/dist/client/assets/constants-BSa33005.js +1 -0
  85. package/dist/client/assets/{constants-CRvMLa9p.js → constants-Bbw6jN_V.js} +1 -1
  86. package/dist/client/assets/{create-organization-dialog-DIZjTiis.js → create-organization-dialog-V-msF1Jz.js} +1 -1
  87. package/dist/client/assets/{create-project-dialog-Dut0dyR9.js → create-project-dialog-DaBc1e0V.js} +1 -1
  88. package/dist/client/assets/{danger-Dare7pC6.js → danger-BTw0q1dL.js} +1 -1
  89. package/dist/client/assets/{danger-zone-_BODcOmd.js → danger-zone-CROdw5xZ.js} +1 -1
  90. package/dist/client/assets/{decopilot-events-bTg09qGr.js → decopilot-events-CkaAIkUJ.js} +1 -1
  91. package/dist/client/assets/{dependencies-BT9TgTWZ.js → dependencies-mZgEmBs1.js} +1 -1
  92. package/dist/client/assets/{dialog-DSCIUn11.js → dialog-DP7DY4yr.js} +1 -1
  93. package/dist/client/assets/dropdown-menu-C6kuYZ7_.js +1 -0
  94. package/dist/client/assets/{dynamic-plugin-layout-CXCsSgRX.js → dynamic-plugin-layout-CjkQri2q.js} +1 -1
  95. package/dist/client/assets/{editable-task-title-DKlfwqLm.js → editable-task-title-C0JEoPnJ.js} +1 -1
  96. package/dist/client/assets/{empty-state-C64F3xDv.js → empty-state-DClv5r7C.js} +1 -1
  97. package/dist/client/assets/{env-vars-editor-ClFO22Eh.js → env-vars-editor-zacGIDRP.js} +1 -1
  98. package/dist/client/assets/{extract-connection-data-CrY_sL6W.js → extract-connection-data-BZQA712X.js} +1 -1
  99. package/dist/client/assets/{file-browser-DSHBHgjG.js → file-browser-BMpcvnxm.js} +2 -2
  100. package/dist/client/assets/{form-CVLoDgzL.js → form-CCy4OYZh.js} +1 -1
  101. package/dist/client/assets/{general-CYKgldaV.js → general-DsCslUFr.js} +1 -1
  102. package/dist/client/assets/{grid-view-DvrbtUer.js → grid-view-BJN_C_nJ.js} +1 -1
  103. package/dist/client/assets/{home-BuzXHaZj.js → home-ZNtjrtnf.js} +1 -1
  104. package/dist/client/assets/{icon-picker-5LH0UiWF.js → icon-picker-DBuQoDjt.js} +1 -1
  105. package/dist/client/assets/index-4jzw9CYj.js +25 -0
  106. package/dist/client/assets/{index-jBnBTTB0.js → index-5xKQyQZE.js} +1 -1
  107. package/dist/client/assets/{index-BCf_VMXY.js → index-BwnxEimb.js} +1 -1
  108. package/dist/client/assets/{index-6Z25-w5a.js → index-CEKEKIun.js} +1 -1
  109. package/dist/client/assets/{index-CoyJj2VR.js → index-CdiDGOKq.js} +50 -50
  110. package/dist/client/assets/{index-A_CnuSis.js → index-CuGOLHld.js} +1 -1
  111. package/dist/client/assets/{index-Co1xrsbj.js → index-Dig2D0kL.js} +1 -1
  112. package/dist/client/assets/{index-B7Bu7nQ7.js → index-Dw9bGcxk.js} +1 -1
  113. package/dist/client/assets/{index-KAycGEnT.js → index-WgRy4XEz.js} +28 -28
  114. package/dist/client/assets/{infiniteQueryObserver-DctmDFEe.js → infiniteQueryObserver-6Sv1mY48.js} +1 -1
  115. package/dist/client/assets/{input-s8rw5Kfa.js → input-BJJ-HZyT.js} +1 -1
  116. package/dist/client/assets/{integration-icon-BAlg7muO.js → integration-icon-R2eYJYHC.js} +1 -1
  117. package/dist/client/assets/{label-lqq4AMOf.js → label-meKA8koQ.js} +1 -1
  118. package/dist/client/assets/{layout-BdJDt40T.js → layout-CIWWZ1ER.js} +1 -1
  119. package/dist/client/assets/{layout-CaxeqVAE.js → layout-Cny1vUWb.js} +1 -1
  120. package/dist/client/assets/{localstorage-keys-DK1Id_ip.js → localstorage-keys-BUkugh6_.js} +1 -1
  121. package/dist/client/assets/{login--Bk_liKs.js → login-Dov4Ln-t.js} +1 -1
  122. package/dist/client/assets/{markdown-HCjujTl2.js → markdown-DdHbXzu-.js} +1 -1
  123. package/dist/client/assets/{mcp-app-renderer-Bconp3w4.js → mcp-app-renderer-PyxYtSmQ.js} +1 -1
  124. package/dist/client/assets/{mcp-oauth-DcSxwlYK.js → mcp-oauth-BUdDcINO.js} +1 -1
  125. package/dist/client/assets/{mcp-server-card-B0UwO4c6.js → mcp-server-card-wnDYG_0O.js} +1 -1
  126. package/dist/client/assets/{mcp-server-detail-zb689o0t.js → mcp-server-detail-CAZe7uN6.js} +2 -2
  127. package/dist/client/assets/{members-A9Co33Fe.js → members-H_aHt8EH.js} +1 -1
  128. package/dist/client/assets/{monaco-editor-BGkR3-IA.js → monaco-editor-CYn377dR.js} +4 -4
  129. package/dist/client/assets/{monitoring-DtdfvOM5.js → monitoring-IVWnDVEz.js} +1 -1
  130. package/dist/client/assets/{monitoring-dashboard-edit-GWWMfh0m.js → monitoring-dashboard-edit--p_6gE6M.js} +1 -1
  131. package/dist/client/assets/{monitoring-dashboard-view-Cm896dO-.js → monitoring-dashboard-view-pfH_ninA.js} +2 -2
  132. package/dist/client/assets/{oauth-callback-BSGOfJmL.js → oauth-callback-BBfWFUEO.js} +1 -1
  133. package/dist/client/assets/{page-PU0vqAHP.js → page-CcB9pt8_.js} +1 -1
  134. package/dist/client/assets/page-CsXX8k6j.js +1 -0
  135. package/dist/client/assets/{plugin-empty-state-CNAE295F.js → plugin-empty-state-BXGv0GDx.js} +1 -1
  136. package/dist/client/assets/{plugin-empty-state-BdIJtKhO.js → plugin-empty-state-PHb3h5Mu.js} +1 -1
  137. package/dist/client/assets/{plugin-header-C3hBljo3.js → plugin-header-BbwqgGs3.js} +1 -1
  138. package/dist/client/assets/{plugin-header-BO6BGJC7.js → plugin-header-Bn5QWmGt.js} +1 -1
  139. package/dist/client/assets/plugins-rCmASNpc.js +1 -0
  140. package/dist/client/assets/{popover-DSO1tjgf.js → popover-BSwvSWKq.js} +1 -1
  141. package/dist/client/assets/{project-app-view-DEVHaVoM.js → project-app-view-CU4S5SVV.js} +1 -1
  142. package/dist/client/assets/{project-layout-BZqAcTC3.js → project-layout-D2s_-ed-.js} +1 -1
  143. package/dist/client/assets/{project-plugins-DkIXV878.js → project-plugins-CFsL8fat.js} +1 -1
  144. package/dist/client/assets/{projects-list-DD9bayAR.js → projects-list-BwshQdVA.js} +1 -1
  145. package/dist/client/assets/{readme-viewer-DEgSduvy.js → readme-viewer-BKWT3e1y.js} +1 -1
  146. package/dist/client/assets/{registry-layout-BbOZb50w.js → registry-layout-DVHyhv6u.js} +1 -1
  147. package/dist/client/assets/{registry-utils-BJRD11-o.js → registry-utils-DwrfZsML.js} +1 -1
  148. package/dist/client/assets/{reports-layout-0fvVXIA9.js → reports-layout-CRWz25vV.js} +1 -1
  149. package/dist/client/assets/{reset-password-BBFIx6IU.js → reset-password-DwDCI2Lt.js} +1 -1
  150. package/dist/client/assets/{resizable-FDnvuXI8.js → resizable-CuAJwpCE.js} +1 -1
  151. package/dist/client/assets/{save-actions-BrexEzhw.js → save-actions-DSOaJsEB.js} +1 -1
  152. package/dist/client/assets/{scroll-area-BoIKmmj_.js → scroll-area-DFSZEFGu.js} +1 -1
  153. package/dist/client/assets/{select-XWfX294J.js → select-D5UCIms-.js} +1 -1
  154. package/dist/client/assets/shell-layout-Bi6EGRx-.js +3 -0
  155. package/dist/client/assets/{sidebar-settings-CYnkTQwX.js → sidebar-settings-Ens_v1-3.js} +1 -1
  156. package/dist/client/assets/{skeleton-l9u4bmPQ.js → skeleton-DJ9ksHdo.js} +1 -1
  157. package/dist/client/assets/{spinner-CQhhuHCn.js → spinner-C_jBik6U.js} +1 -1
  158. package/dist/client/assets/{store-invite-QKjyJOdx.js → store-invite-B4x6yCxM.js} +1 -1
  159. package/dist/client/assets/{switch-BTH5DtNC.js → switch-CHDqnzpR.js} +1 -1
  160. package/dist/client/assets/{table-CObvzzoK.js → table-KeNwDMbd.js} +1 -1
  161. package/dist/client/assets/{tabs-B62zcrrU.js → tabs-BWF5GtqN.js} +1 -1
  162. package/dist/client/assets/tasks-B4Nf2WMJ.js +1 -0
  163. package/dist/client/assets/tasks-panel-F9MkKd8u.js +1 -0
  164. package/dist/client/assets/{textarea-CKFVaVym.js → textarea-BbLT_f8Z.js} +1 -1
  165. package/dist/client/assets/{time-range-picker-C2BX3Ytm.js → time-range-picker-D8n6QptR.js} +1 -1
  166. package/dist/client/assets/{toggle-group-BWymC1w6.js → toggle-group-CGeB8kMK.js} +1 -1
  167. package/dist/client/assets/{tools-list-CBKDjlC9.js → tools-list-B15drLS3.js} +1 -1
  168. package/dist/client/assets/{tooltip-BD36KVkP.js → tooltip-Babiaq0d.js} +1 -1
  169. package/dist/client/assets/{topbar-portal-CyJ7_aXv.js → topbar-portal-Dp4BFYej.js} +1 -1
  170. package/dist/client/assets/{types-CgRNzZIg.js → types-BJf49Mfd.js} +1 -1
  171. package/dist/client/assets/{use-binding-eAl0-ngZ.js → use-binding-CAoXPeYp.js} +1 -1
  172. package/dist/client/assets/{use-collections-ROKIiOzV.js → use-collections-B-x23mni.js} +1 -1
  173. package/dist/client/assets/{use-connection-DWTVYLGI.js → use-connection-CfeJyAqX.js} +1 -1
  174. package/dist/client/assets/{use-copy-Cxp-hpbY.js → use-copy-CMFYl2Ga.js} +1 -1
  175. package/dist/client/assets/{use-create-virtual-mcp-CWXwWPev.js → use-create-virtual-mcp-BQ2vLOYt.js} +1 -1
  176. package/dist/client/assets/{use-install-from-registry-CzqEIQq2.js → use-install-from-registry-D80VT6Ub.js} +1 -1
  177. package/dist/client/assets/{use-list-state-cW6KZE3t.js → use-list-state-D-tKxlpi.js} +1 -1
  178. package/dist/client/assets/{use-llm-D0wV35M9.js → use-llm-BMRIZw-b.js} +1 -1
  179. package/dist/client/assets/{use-mcp-resources-BTKxmEpv.js → use-mcp-resources-7Fl5_HS_.js} +1 -1
  180. package/dist/client/assets/{use-mcp-tools-DkmUq8XI.js → use-mcp-tools-Bj_Ri2bf.js} +1 -1
  181. package/dist/client/assets/{use-members-Bksy3767.js → use-members-TEDVnI8Z.js} +1 -1
  182. package/dist/client/assets/{use-mobile-C7Xn-ZVB.js → use-mobile-PmmG7UNI.js} +1 -1
  183. package/dist/client/assets/{use-project-BZjOe5ok.js → use-project-IWwy_h7S.js} +1 -1
  184. package/dist/client/assets/{use-settings-modal-BpLqrFwi.js → use-settings-modal-C4b8mb1A.js} +1 -1
  185. package/dist/client/assets/{use-view-mode-DxCF7P6S.js → use-view-mode-DT0UZS0w.js} +1 -1
  186. package/dist/client/assets/{use-virtual-mcp-DrNWNgvb.js → use-virtual-mcp-DXNTpzcv.js} +1 -1
  187. package/dist/client/assets/useInfiniteQuery-D2ydKX7z.js +1 -0
  188. package/dist/client/assets/{useMutation-Ctk5b8uR.js → useMutation-DmgIjz65.js} +1 -1
  189. package/dist/client/assets/useQuery-C48kdbmo.js +1 -0
  190. package/dist/client/assets/useSuspenseInfiniteQuery-Dk_AfHIX.js +1 -0
  191. package/dist/client/assets/{user-BU3jjBpz.js → user-DC5rs3GH.js} +1 -1
  192. package/dist/client/assets/{workflow-BNkb2XNC.js → workflow-DaR6d6tq.js} +1 -1
  193. package/dist/client/index.html +1 -1
  194. package/dist/server/cli.js +181 -181
  195. package/dist/server/migrate.js +1 -1
  196. package/dist/server/server.js +167 -167
  197. package/package.json +1 -1
  198. package/dist/client/assets/agent-detail-ean34cyZ.js +0 -2
  199. package/dist/client/assets/collapsible-Dz6kdDQx.js +0 -23
  200. package/dist/client/assets/connection-detail-B-ICGeJ4.js +0 -1
  201. package/dist/client/assets/constants-I25hmjxi.js +0 -1
  202. package/dist/client/assets/dropdown-menu-DMgECNP1.js +0 -1
  203. package/dist/client/assets/index-Cg5VAr11.js +0 -25
  204. package/dist/client/assets/page-BjfHsKND.js +0 -1
  205. package/dist/client/assets/plugins-BttmmeIz.js +0 -1
  206. package/dist/client/assets/shell-layout-CfqRN6gC.js +0 -3
  207. package/dist/client/assets/tasks-DBMv6koR.js +0 -1
  208. package/dist/client/assets/tasks-panel-jUSk_q_P.js +0 -1
  209. package/dist/client/assets/useInfiniteQuery-Clfr9I7T.js +0 -1
  210. package/dist/client/assets/useQuery-DCrAUBx5.js +0 -1
  211. package/dist/client/assets/useSuspenseInfiniteQuery-CG43fx0v.js +0 -1
@@ -1 +1 @@
1
- import{m as I,c as K,n as D,t as w}from"./index-KAycGEnT.js";import{u as v}from"./useMutation-Ctk5b8uR.js";import{K as x}from"./constants-CRvMLa9p.js";function q(o,n,s){const t=[];if(o?.trim()){const e=o.trim(),r=s.map(a=>({field:[String(a)],operator:"contains",value:e}));r.length===1&&r[0]?t.push(r[0]):r.length>1&&t.push({operator:"or",conditions:r})}if(n&&n.length>0)for(const e of n)t.push({field:[e.column],operator:"eq",value:e.value});if(t.length!==0)return t.length===1?t[0]:{operator:"and",conditions:t}}function U(o,n,s){const t=o??s,e=n??"asc";return[{field:[String(t)],direction:e}]}function O(o){if(!o||typeof o!="object")throw new Error("Invalid result");if("isError"in o&&o.isError)throw new Error("content"in o&&Array.isArray(o.content)&&o.content[0]?.type==="text"?o.content[0].text:"Unknown error");if("structuredContent"in o)return o.structuredContent;throw new Error("No structured content found")}function Y(o,n,s,t){const e=K.c(14);let r,a,u;if(e[0]!==t||e[1]!==n||e[2]!==s||e[3]!==o){const i=n.toUpperCase();r=`COLLECTION_${i}_GET`,u=I,a=x.collectionItem(t,o,"",i,s??""),e[0]=t,e[1]=n,e[2]=s,e[3]=o,e[4]=r,e[5]=a,e[6]=u}else r=e[4],a=e[5],u=e[6];let c;e[7]!==t||e[8]!==r||e[9]!==s?(c=async()=>{if(!s)return{item:null};const i=await t.callTool({name:r,arguments:{id:s}});return O(i)},e[7]=t,e[8]=r,e[9]=s,e[10]=c):c=e[10];let f;e[11]!==a||e[12]!==c?(f={queryKey:a,queryFn:c,staleTime:6e4},e[11]=a,e[12]=c,e[13]=f):f=e[13];const{data:p}=u(f);return p?.item??null}const Q={structuredContent:{items:[]},isError:!1};function j(o,n,s,t={}){const{searchTerm:e,filters:r,sortKey:a,sortDirection:u,searchFields:c=["title","description"],defaultSortKey:f="updated_at",pageSize:p=100}=t,i=n.toUpperCase(),m=`COLLECTION_${i}_LIST`,d=q(e,r,c),y=U(a,u,f),E={...d&&{where:d},...y&&{orderBy:y},limit:p,offset:0},g=JSON.stringify(E),C=x.collectionList(s,o,"",i,g),{data:S}=I({queryKey:C,queryFn:async()=>s?await s.callTool({name:m,arguments:E}):Q,staleTime:3e4,retry:!1,select:h=>O(h??{})?.items??[]});return S}function G(o,n,s,t={}){const{searchTerm:e,filters:r,sortKey:a,sortDirection:u,searchFields:c=["title","description"],defaultSortKey:f="updated_at",pageSize:p=100}=t,i=n.toUpperCase(),m=q(e,r,c),d=U(a,u,f),y={...m&&{where:m},...d&&{orderBy:d},limit:p,offset:0},E=JSON.stringify(y);return x.collectionList(o,s,"",i,E)}function W(o,n,s){const t=K.c(34),e=D();let r;t[0]!==n?(r=n.toUpperCase(),t[0]=n,t[1]=r):r=t[1];const a=r,u=`COLLECTION_${a}_CREATE`,c=`COLLECTION_${a}_UPDATE`,f=`COLLECTION_${a}_DELETE`;let p;t[2]!==e||t[3]!==o||t[4]!==a?(p=()=>{e.invalidateQueries({predicate:_=>{const l=_.queryKey;return l[1]===o&&l[3]==="collection"&&l[4]===a}})},t[2]=e,t[3]=o,t[4]=a,t[5]=p):p=t[5];const i=p;let m;t[6]!==s||t[7]!==u?(m=async _=>{const l=await s.callTool({name:u,arguments:{data:_}});if(l.isError)throw new Error(Array.isArray(l.content)?l.content[0]?.text:String(l.content));return O(l).item},t[6]=s,t[7]=u,t[8]=m):m=t[8];let d;t[9]!==i?(d=()=>{i(),w.success("Item created successfully")},t[9]=i,t[10]=d):d=t[10];let y;t[11]!==m||t[12]!==d?(y={mutationFn:m,onSuccess:d,onError:P},t[11]=m,t[12]=d,t[13]=y):y=t[13];const E=v(y);let g;t[14]!==s||t[15]!==c?(g=async _=>{const{id:l,data:A}=_,b=await s.callTool({name:c,arguments:{id:l,data:A}});return O(b).item},t[14]=s,t[15]=c,t[16]=g):g=t[16];let C;t[17]!==i?(C=()=>{i(),w.success("Item updated successfully")},t[17]=i,t[18]=C):C=t[18];let S;t[19]!==g||t[20]!==C?(S={mutationFn:g,onSuccess:C,onError:B},t[19]=g,t[20]=C,t[21]=S):S=t[21];const h=v(S);let T;t[22]!==s||t[23]!==f?(T=async _=>{const l=await s.callTool({name:f,arguments:{id:_}});return O(l).item.id},t[22]=s,t[23]=f,t[24]=T):T=t[24];let L;t[25]!==i?(L=()=>{i(),w.success("Item deleted successfully")},t[25]=i,t[26]=L):L=t[26];let N;t[27]!==T||t[28]!==L?(N={mutationFn:T,onSuccess:L,onError:k},t[27]=T,t[28]=L,t[29]=N):N=t[29];const $=v(N);let F;return t[30]!==E||t[31]!==$||t[32]!==h?(F={create:E,update:h,delete:$},t[30]=E,t[31]=$,t[32]=h,t[33]=F):F=t[33],F}function k(o){const n=o instanceof Error?o.message:String(o);w.error(`Failed to delete item: ${n}`)}function B(o){const n=o instanceof Error?o.message:String(o);w.error(`Failed to update item: ${n}`)}function P(o){const n=o instanceof Error?o.message:String(o);w.error(`Failed to create item: ${n}`)}export{Q as E,U as a,G as b,q as c,Y as d,j as e,W as u};
1
+ import{m as I,c as K,n as D,t as w}from"./index-WgRy4XEz.js";import{u as v}from"./useMutation-DmgIjz65.js";import{K as x}from"./constants-Bbw6jN_V.js";function q(o,n,s){const t=[];if(o?.trim()){const e=o.trim(),r=s.map(a=>({field:[String(a)],operator:"contains",value:e}));r.length===1&&r[0]?t.push(r[0]):r.length>1&&t.push({operator:"or",conditions:r})}if(n&&n.length>0)for(const e of n)t.push({field:[e.column],operator:"eq",value:e.value});if(t.length!==0)return t.length===1?t[0]:{operator:"and",conditions:t}}function U(o,n,s){const t=o??s,e=n??"asc";return[{field:[String(t)],direction:e}]}function O(o){if(!o||typeof o!="object")throw new Error("Invalid result");if("isError"in o&&o.isError)throw new Error("content"in o&&Array.isArray(o.content)&&o.content[0]?.type==="text"?o.content[0].text:"Unknown error");if("structuredContent"in o)return o.structuredContent;throw new Error("No structured content found")}function Y(o,n,s,t){const e=K.c(14);let r,a,u;if(e[0]!==t||e[1]!==n||e[2]!==s||e[3]!==o){const i=n.toUpperCase();r=`COLLECTION_${i}_GET`,u=I,a=x.collectionItem(t,o,"",i,s??""),e[0]=t,e[1]=n,e[2]=s,e[3]=o,e[4]=r,e[5]=a,e[6]=u}else r=e[4],a=e[5],u=e[6];let c;e[7]!==t||e[8]!==r||e[9]!==s?(c=async()=>{if(!s)return{item:null};const i=await t.callTool({name:r,arguments:{id:s}});return O(i)},e[7]=t,e[8]=r,e[9]=s,e[10]=c):c=e[10];let f;e[11]!==a||e[12]!==c?(f={queryKey:a,queryFn:c,staleTime:6e4},e[11]=a,e[12]=c,e[13]=f):f=e[13];const{data:p}=u(f);return p?.item??null}const Q={structuredContent:{items:[]},isError:!1};function j(o,n,s,t={}){const{searchTerm:e,filters:r,sortKey:a,sortDirection:u,searchFields:c=["title","description"],defaultSortKey:f="updated_at",pageSize:p=100}=t,i=n.toUpperCase(),m=`COLLECTION_${i}_LIST`,d=q(e,r,c),y=U(a,u,f),E={...d&&{where:d},...y&&{orderBy:y},limit:p,offset:0},g=JSON.stringify(E),C=x.collectionList(s,o,"",i,g),{data:S}=I({queryKey:C,queryFn:async()=>s?await s.callTool({name:m,arguments:E}):Q,staleTime:3e4,retry:!1,select:h=>O(h??{})?.items??[]});return S}function G(o,n,s,t={}){const{searchTerm:e,filters:r,sortKey:a,sortDirection:u,searchFields:c=["title","description"],defaultSortKey:f="updated_at",pageSize:p=100}=t,i=n.toUpperCase(),m=q(e,r,c),d=U(a,u,f),y={...m&&{where:m},...d&&{orderBy:d},limit:p,offset:0},E=JSON.stringify(y);return x.collectionList(o,s,"",i,E)}function W(o,n,s){const t=K.c(34),e=D();let r;t[0]!==n?(r=n.toUpperCase(),t[0]=n,t[1]=r):r=t[1];const a=r,u=`COLLECTION_${a}_CREATE`,c=`COLLECTION_${a}_UPDATE`,f=`COLLECTION_${a}_DELETE`;let p;t[2]!==e||t[3]!==o||t[4]!==a?(p=()=>{e.invalidateQueries({predicate:_=>{const l=_.queryKey;return l[1]===o&&l[3]==="collection"&&l[4]===a}})},t[2]=e,t[3]=o,t[4]=a,t[5]=p):p=t[5];const i=p;let m;t[6]!==s||t[7]!==u?(m=async _=>{const l=await s.callTool({name:u,arguments:{data:_}});if(l.isError)throw new Error(Array.isArray(l.content)?l.content[0]?.text:String(l.content));return O(l).item},t[6]=s,t[7]=u,t[8]=m):m=t[8];let d;t[9]!==i?(d=()=>{i(),w.success("Item created successfully")},t[9]=i,t[10]=d):d=t[10];let y;t[11]!==m||t[12]!==d?(y={mutationFn:m,onSuccess:d,onError:P},t[11]=m,t[12]=d,t[13]=y):y=t[13];const E=v(y);let g;t[14]!==s||t[15]!==c?(g=async _=>{const{id:l,data:A}=_,b=await s.callTool({name:c,arguments:{id:l,data:A}});return O(b).item},t[14]=s,t[15]=c,t[16]=g):g=t[16];let C;t[17]!==i?(C=()=>{i(),w.success("Item updated successfully")},t[17]=i,t[18]=C):C=t[18];let S;t[19]!==g||t[20]!==C?(S={mutationFn:g,onSuccess:C,onError:B},t[19]=g,t[20]=C,t[21]=S):S=t[21];const h=v(S);let T;t[22]!==s||t[23]!==f?(T=async _=>{const l=await s.callTool({name:f,arguments:{id:_}});return O(l).item.id},t[22]=s,t[23]=f,t[24]=T):T=t[24];let L;t[25]!==i?(L=()=>{i(),w.success("Item deleted successfully")},t[25]=i,t[26]=L):L=t[26];let N;t[27]!==T||t[28]!==L?(N={mutationFn:T,onSuccess:L,onError:k},t[27]=T,t[28]=L,t[29]=N):N=t[29];const $=v(N);let F;return t[30]!==E||t[31]!==$||t[32]!==h?(F={create:E,update:h,delete:$},t[30]=E,t[31]=$,t[32]=h,t[33]=F):F=t[33],F}function k(o){const n=o instanceof Error?o.message:String(o);w.error(`Failed to delete item: ${n}`)}function B(o){const n=o instanceof Error?o.message:String(o);w.error(`Failed to update item: ${n}`)}function P(o){const n=o instanceof Error?o.message:String(o);w.error(`Failed to create item: ${n}`)}export{Q as E,U as a,G as b,q as c,Y as d,j as e,W as u};
@@ -1 +1 @@
1
- import{c,u as r}from"./index-KAycGEnT.js";import{e as C,u as a,d as I}from"./use-collections-ROKIiOzV.js";import{a as d,u as l}from"./constants-CRvMLa9p.js";function p(t){const o=c.c(4);let n;o[0]!==t?(n=t===void 0?{}:t,o[0]=t,o[1]=n):n=o[1];const e=n,{org:i}=r();let s;o[2]!==i.id?(s={connectionId:d,orgId:i.id},o[2]=i.id,o[3]=s):s=o[3];const u=l(s);return C(i.id,"CONNECTIONS",u,e)}function g(t){const o=c.c(2),{org:n}=r();let e;o[0]!==n.id?(e={connectionId:d,orgId:n.id},o[0]=n.id,o[1]=e):e=o[1];const i=l(e);return I(n.id,"CONNECTIONS",t,i)}function O(){const t=c.c(2),{org:o}=r();let n;t[0]!==o.id?(n={connectionId:d,orgId:o.id},t[0]=o.id,t[1]=n):n=t[1];const e=l(n);return a(o.id,"CONNECTIONS",e)}export{O as a,p as b,g as u};
1
+ import{c,u as r}from"./index-WgRy4XEz.js";import{e as C,u as a,d as I}from"./use-collections-B-x23mni.js";import{a as d,u as l}from"./constants-Bbw6jN_V.js";function p(t){const o=c.c(4);let n;o[0]!==t?(n=t===void 0?{}:t,o[0]=t,o[1]=n):n=o[1];const e=n,{org:i}=r();let s;o[2]!==i.id?(s={connectionId:d,orgId:i.id},o[2]=i.id,o[3]=s):s=o[3];const u=l(s);return C(i.id,"CONNECTIONS",u,e)}function g(t){const o=c.c(2),{org:n}=r();let e;o[0]!==n.id?(e={connectionId:d,orgId:n.id},o[0]=n.id,o[1]=e):e=o[1];const i=l(e);return I(n.id,"CONNECTIONS",t,i)}function O(){const t=c.c(2),{org:o}=r();let n;t[0]!==o.id?(n={connectionId:d,orgId:o.id},t[0]=o.id,t[1]=n):n=t[1];const e=l(n);return a(o.id,"CONNECTIONS",e)}export{O as a,p as b,g as u};
@@ -1 +1 @@
1
- import{r,c}from"./index-KAycGEnT.js";const l=({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 12h14m0 0-7-7m7 7-7 7"}));l.displayName="ArrowRight";const d=({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:"M10.5 9.002a2.248 2.248 0 0 1 4.369.75C14.869 11.25 12.62 12 12.62 12m.028 3h.01m-.16 5a8.5 8.5 0 1 0-8.056-5.783c.108.32.162.481.172.604a.899.899 0 0 1-.028.326c-.03.12-.098.245-.232.494l-1.636 3.027c-.233.432-.35.648-.324.815a.5.5 0 0 0 .234.35c.144.087.388.062.876.011l5.121-.529c.155-.016.233-.024.303-.021.07.002.12.009.187.024.069.016.155.05.329.116A8.478 8.478 0 0 0 12.5 20Z"}));d.displayName="MessageQuestionCircle";function h(){const e=c.c(3),[t,o]=r.useState(!1);let i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i=async s=>{await navigator.clipboard.writeText(s),o(!0),setTimeout(()=>o(!1),2e3)},e[0]=i):i=e[0];const n=i;let a;return e[1]!==t?(a={handleCopy:n,copied:t},e[1]=t,e[2]=a):a=e[2],a}export{l as i,d as t,h as u};
1
+ import{r,c}from"./index-WgRy4XEz.js";const l=({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 12h14m0 0-7-7m7 7-7 7"}));l.displayName="ArrowRight";const d=({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:"M10.5 9.002a2.248 2.248 0 0 1 4.369.75C14.869 11.25 12.62 12 12.62 12m.028 3h.01m-.16 5a8.5 8.5 0 1 0-8.056-5.783c.108.32.162.481.172.604a.899.899 0 0 1-.028.326c-.03.12-.098.245-.232.494l-1.636 3.027c-.233.432-.35.648-.324.815a.5.5 0 0 0 .234.35c.144.087.388.062.876.011l5.121-.529c.155-.016.233-.024.303-.021.07.002.12.009.187.024.069.016.155.05.329.116A8.478 8.478 0 0 0 12.5 20Z"}));d.displayName="MessageQuestionCircle";function h(){const e=c.c(3),[t,o]=r.useState(!1);let i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i=async s=>{await navigator.clipboard.writeText(s),o(!0),setTimeout(()=>o(!1),2e3)},e[0]=i):i=e[0];const n=i;let a;return e[1]!==t?(a={handleCopy:n,copied:t},e[1]=t,e[2]=a):a=e[2],a}export{l as i,d as t,h as u};
@@ -1 +1 @@
1
- import{c as p,u as C,b as f,O as m}from"./index-KAycGEnT.js";import{a as v}from"./use-virtual-mcp-DrNWNgvb.js";function M(s){const e=p.c(10);let a;e[0]!==s?(a=s===void 0?{}:s,e[0]=s,e[1]=a):a=e[1];const d=a,{navigateOnCreate:l}=d,o=l===void 0?!1:l,{org:r}=C(),c=f(),t=v();let n;e[2]!==t.create||e[3]!==c||e[4]!==o||e[5]!==r?(n=async()=>{const g=await t.create.mutateAsync({title:"New Agent",description:"Agents let you securely expose integrated tools to the outside world.",status:"active",connections:[]});return o&&c({to:"/$org/$project/agents/$agentId",params:{org:r.slug,project:m,agentId:g.id}}),{id:g.id,virtualMcp:g}},e[2]=t.create,e[3]=c,e[4]=o,e[5]=r,e[6]=n):n=e[6];const u=n;let i;return e[7]!==t.create.isPending||e[8]!==u?(i={createVirtualMCP:u,isCreating:t.create.isPending},e[7]=t.create.isPending,e[8]=u,e[9]=i):i=e[9],i}export{M as u};
1
+ import{c as p,u as C,b as f,O as m}from"./index-WgRy4XEz.js";import{a as v}from"./use-virtual-mcp-DXNTpzcv.js";function M(s){const e=p.c(10);let a;e[0]!==s?(a=s===void 0?{}:s,e[0]=s,e[1]=a):a=e[1];const d=a,{navigateOnCreate:l}=d,o=l===void 0?!1:l,{org:r}=C(),c=f(),t=v();let n;e[2]!==t.create||e[3]!==c||e[4]!==o||e[5]!==r?(n=async()=>{const g=await t.create.mutateAsync({title:"New Agent",description:"Agents let you securely expose integrated tools to the outside world.",status:"active",connections:[]});return o&&c({to:"/$org/$project/agents/$agentId",params:{org:r.slug,project:m,agentId:g.id}}),{id:g.id,virtualMcp:g}},e[2]=t.create,e[3]=c,e[4]=o,e[5]=r,e[6]=n):n=e[6];const u=n;let i;return e[7]!==t.create.isPending||e[8]!==u?(i={createVirtualMCP:u,isCreating:t.create.isPending},e[7]=t.create.isPending,e[8]=u,e[9]=i):i=e[9],i}export{M as u};
@@ -1 +1 @@
1
- import{u as y,d as C,t as e}from"./index-KAycGEnT.js";import{u as g}from"./use-binding-eAl0-ngZ.js";import{a as S,b as v}from"./use-connection-DWTVYLGI.js";import{e as B}from"./extract-connection-data-CrY_sL6W.js";import{f as I,c as P,e as _}from"./registry-utils-BJRD11-o.js";function w(t){return t.startsWith("@")?t:`@${t}`}function F(){const{org:t}=y(),{data:s}=C.useSession(),i=S(),l=v(),u=g(l);return{installByBinding:async r=>{if(!t||!s?.user?.id){e.error("Not authenticated");return}const d=w(r),a=(await Promise.all(u.map(async o=>{const c=I(o.tools);if(!c)return null;try{const h=await P(o.id,t.id,c,{where:{appName:d}});return _(h??[])[0]??null}catch{return null}}))).find(o=>o!==null);if(!a){e.error(`MCP Server not found in registry: ${r}`);return}const n=B(a,t.id,s.user.id),m=n.connection_type==="STDIO",f=!!n.connection_url,p=m&&n.connection_headers&&typeof n.connection_headers=="object"&&"command"in n.connection_headers;if(!f&&!p){e.error("This MCP Server cannot be connected: no connection method available");return}return await i.create.mutateAsync(n),{id:n.id,connection:n}},isInstalling:i.create.isPending}}export{F as u};
1
+ import{u as y,d as C,t as e}from"./index-WgRy4XEz.js";import{u as g}from"./use-binding-CAoXPeYp.js";import{a as S,b as v}from"./use-connection-CfeJyAqX.js";import{e as B}from"./extract-connection-data-BZQA712X.js";import{f as I,c as P,e as _}from"./registry-utils-DwrfZsML.js";function w(t){return t.startsWith("@")?t:`@${t}`}function F(){const{org:t}=y(),{data:s}=C.useSession(),i=S(),l=v(),u=g(l);return{installByBinding:async r=>{if(!t||!s?.user?.id){e.error("Not authenticated");return}const d=w(r),a=(await Promise.all(u.map(async o=>{const c=I(o.tools);if(!c)return null;try{const h=await P(o.id,t.id,c,{where:{appName:d}});return _(h??[])[0]??null}catch{return null}}))).find(o=>o!==null);if(!a){e.error(`MCP Server not found in registry: ${r}`);return}const n=B(a,t.id,s.user.id),m=n.connection_type==="STDIO",f=!!n.connection_url,p=m&&n.connection_headers&&typeof n.connection_headers=="object"&&"command"in n.connection_headers;if(!f&&!p){e.error("This MCP Server cannot be connected: no connection method available");return}return await i.create.mutateAsync(n),{id:n.id,connection:n}},isInstalling:i.create.isPending}}export{F as u};
@@ -1 +1 @@
1
- import{r as u,c as w}from"./index-KAycGEnT.js";import{u as E}from"./use-view-mode-DxCF7P6S.js";function J(c){const e=`deco-filters-${c}`,[s,i]=u.useState(()=>{try{const t=globalThis.localStorage?.getItem(e);if(t)return JSON.parse(t)}catch(t){console.error("Failed to parse stored filters:",t)}return[]});return[s,t=>{i(t);try{globalThis.localStorage?.setItem(e,JSON.stringify(t))}catch(l){console.error("Failed to save filters:",l)}}]}function N(c){const e=w.c(7),[s,i]=u.useState(c),[r,t]=u.useState(c?"desc":null);let l;e[0]!==r||e[1]!==s?(l=S=>{s!==S?(i(S),t("asc")):r==="asc"?t("desc"):r==="desc"&&(i(void 0),t(null))},e[0]=r,e[1]=s,e[2]=l):l=e[2];const d=l;let o;return e[3]!==d||e[4]!==r||e[5]!==s?(o={sortKey:s,sortDirection:r,handleSort:d},e[3]=d,e[4]=r,e[5]=s,e[6]=o):o=e[6],o}function W(c){const e=w.c(20),{namespace:s,resource:i,defaultSortKey:r,defaultViewMode:t}=c,l=r===void 0?"title":r,d=t===void 0?"table":t,[o,S]=u.useState(""),b=u.useDeferredValue(o),D=`${s}-${i}`,[p,F]=J(D),a=`mesh-${i}-filter-visible-${s}`;let g;e[0]!==a?(g=()=>globalThis.localStorage?.getItem(a)==="true",e[0]=a,e[1]=g):g=e[1];const[n,x]=u.useState(g);let h;e[2]!==a?(h=T=>{x(T),globalThis.localStorage?.setItem(a,String(T))},e[2]=a,e[3]=h):h=e[3];const f=h;let m;e[4]!==n||e[5]!==f?(m=()=>{f(!n)},e[4]=n,e[5]=f,e[6]=m):m=e[6];const V=m,[$,K]=E(`mesh-${i}-${s}`,d),{sortKey:I,sortDirection:v,handleSort:B}=N(l),M=I;let y;return e[7]!==n||e[8]!==p||e[9]!==B||e[10]!==o||e[11]!==b||e[12]!==f||e[13]!==F||e[14]!==K||e[15]!==v||e[16]!==M||e[17]!==V||e[18]!==$?(y={search:o,searchTerm:b,setSearch:S,filters:p,setFilters:F,filterBarVisible:n,setFilterBarVisible:f,toggleFilterBar:V,viewMode:$,setViewMode:K,sortKey:M,sortDirection:v,handleSort:B},e[7]=n,e[8]=p,e[9]=B,e[10]=o,e[11]=b,e[12]=f,e[13]=F,e[14]=K,e[15]=v,e[16]=M,e[17]=V,e[18]=$,e[19]=y):y=e[19],y}export{W as u};
1
+ import{r as u,c as w}from"./index-WgRy4XEz.js";import{u as E}from"./use-view-mode-DT0UZS0w.js";function J(c){const e=`deco-filters-${c}`,[s,i]=u.useState(()=>{try{const t=globalThis.localStorage?.getItem(e);if(t)return JSON.parse(t)}catch(t){console.error("Failed to parse stored filters:",t)}return[]});return[s,t=>{i(t);try{globalThis.localStorage?.setItem(e,JSON.stringify(t))}catch(l){console.error("Failed to save filters:",l)}}]}function N(c){const e=w.c(7),[s,i]=u.useState(c),[r,t]=u.useState(c?"desc":null);let l;e[0]!==r||e[1]!==s?(l=S=>{s!==S?(i(S),t("asc")):r==="asc"?t("desc"):r==="desc"&&(i(void 0),t(null))},e[0]=r,e[1]=s,e[2]=l):l=e[2];const d=l;let o;return e[3]!==d||e[4]!==r||e[5]!==s?(o={sortKey:s,sortDirection:r,handleSort:d},e[3]=d,e[4]=r,e[5]=s,e[6]=o):o=e[6],o}function W(c){const e=w.c(20),{namespace:s,resource:i,defaultSortKey:r,defaultViewMode:t}=c,l=r===void 0?"title":r,d=t===void 0?"table":t,[o,S]=u.useState(""),b=u.useDeferredValue(o),D=`${s}-${i}`,[p,F]=J(D),a=`mesh-${i}-filter-visible-${s}`;let g;e[0]!==a?(g=()=>globalThis.localStorage?.getItem(a)==="true",e[0]=a,e[1]=g):g=e[1];const[n,x]=u.useState(g);let h;e[2]!==a?(h=T=>{x(T),globalThis.localStorage?.setItem(a,String(T))},e[2]=a,e[3]=h):h=e[3];const f=h;let m;e[4]!==n||e[5]!==f?(m=()=>{f(!n)},e[4]=n,e[5]=f,e[6]=m):m=e[6];const V=m,[$,K]=E(`mesh-${i}-${s}`,d),{sortKey:I,sortDirection:v,handleSort:B}=N(l),M=I;let y;return e[7]!==n||e[8]!==p||e[9]!==B||e[10]!==o||e[11]!==b||e[12]!==f||e[13]!==F||e[14]!==K||e[15]!==v||e[16]!==M||e[17]!==V||e[18]!==$?(y={search:o,searchTerm:b,setSearch:S,filters:p,setFilters:F,filterBarVisible:n,setFilterBarVisible:f,toggleFilterBar:V,viewMode:$,setViewMode:K,sortKey:M,sortDirection:v,handleSort:B},e[7]=n,e[8]=p,e[9]=B,e[10]=o,e[11]=b,e[12]=f,e[13]=F,e[14]=K,e[15]=v,e[16]=M,e[17]=V,e[18]=$,e[19]=y):y=e[19],y}export{W as u};
@@ -1 +1 @@
1
- import{c,u as m}from"./index-KAycGEnT.js";import{e as u}from"./use-collections-ROKIiOzV.js";import{b as a}from"./use-connection-DWTVYLGI.js";import{h as p}from"./constants-CRvMLa9p.js";import{a as C}from"./use-binding-eAl0-ngZ.js";function b(n,s){const o=c.c(5);let e;o[0]!==s?(e=s===void 0?{}:s,o[0]=s,o[1]=e):e=o[1];const r=e,{org:i}=m();let t;o[2]!==n||o[3]!==i.id?(t={connectionId:n,orgId:i.id},o[2]=n,o[3]=i.id,o[4]=t):t=o[4];const l=p(t);return u(n??"no-connection","LLM",l,r)}function y(){const n=c.c(2),s=a();let o;return n[0]!==s?(o={connections:s,binding:"LLMS"},n[0]=s,n[1]=o):o=n[1],C(o)}export{b as a,y as u};
1
+ import{c,u as m}from"./index-WgRy4XEz.js";import{e as u}from"./use-collections-B-x23mni.js";import{b as a}from"./use-connection-CfeJyAqX.js";import{h as p}from"./constants-Bbw6jN_V.js";import{a as C}from"./use-binding-CAoXPeYp.js";function b(n,s){const o=c.c(5);let e;o[0]!==s?(e=s===void 0?{}:s,o[0]=s,o[1]=e):e=o[1];const r=e,{org:i}=m();let t;o[2]!==n||o[3]!==i.id?(t={connectionId:n,orgId:i.id},o[2]=n,o[3]=i.id,o[4]=t):t=o[4];const l=p(t);return u(n??"no-connection","LLM",l,r)}function y(){const n=c.c(2),s=a();let o;return n[0]!==s?(o={connections:s,binding:"LLMS"},n[0]=s,n[1]=o):o=n[1],C(o)}export{b as a,y as u};
@@ -1 +1 @@
1
- import{c as a,m as f,aB as m,aC as p}from"./index-KAycGEnT.js";import{u as R}from"./useQuery-DCrAUBx5.js";import{K as n}from"./constants-CRvMLa9p.js";async function y(u){if(!u.getServerCapabilities()?.resources)return{resources:[]};try{return await u.listResources()}catch(s){if(s instanceof m&&s.code===p.MethodNotFound)return{resources:[]};throw s}}async function q(u,e){return await u.readResource({uri:e})}function K(u){const e=a.c(12);let s,t;e[0]!==u?({client:s,...t}=u,e[0]=u,e[1]=s,e[2]=t):(s=e[1],t=e[2]);let r;e[3]!==s?(r=n.mcpResourcesList(s),e[3]=s,e[4]=r):r=e[4];let i;e[5]!==s?(i=()=>y(s),e[5]=s,e[6]=i):i=e[6];const o=t.staleTime??3e4;let l;return e[7]!==t||e[8]!==r||e[9]!==i||e[10]!==o?(l={...t,queryKey:r,queryFn:i,staleTime:o,retry:!1},e[7]=t,e[8]=r,e[9]=i,e[10]=o,e[11]=l):l=e[11],f(l)}function M(u){const e=a.c(12);let s,t;e[0]!==u?({client:s,...t}=u,e[0]=u,e[1]=s,e[2]=t):(s=e[1],t=e[2]);let r;e[3]!==s?(r=n.mcpResourcesList(s),e[3]=s,e[4]=r):r=e[4];let i;e[5]!==s?(i=()=>y(s),e[5]=s,e[6]=i):i=e[6];const o=t.staleTime??3e4;let l;return e[7]!==t||e[8]!==r||e[9]!==i||e[10]!==o?(l={...t,queryKey:r,queryFn:i,staleTime:o,retry:!1},e[7]=t,e[8]=r,e[9]=i,e[10]=o,e[11]=l):l=e[11],R(l)}function b(u){const e=a.c(15);let s,t,r;e[0]!==u?({client:s,uri:r,...t}=u,e[0]=u,e[1]=s,e[2]=t,e[3]=r):(s=e[1],t=e[2],r=e[3]);let i;e[4]!==s||e[5]!==r?(i=n.mcpReadResource(s,r),e[4]=s,e[5]=r,e[6]=i):i=e[6];let o;e[7]!==s||e[8]!==r?(o=()=>q(s,r),e[7]=s,e[8]=r,e[9]=o):o=e[9];const l=t.staleTime??3e4;let c;return e[10]!==t||e[11]!==i||e[12]!==o||e[13]!==l?(c={...t,queryKey:i,queryFn:o,staleTime:l,retry:!1},e[10]=t,e[11]=i,e[12]=o,e[13]=l,e[14]=c):c=e[14],f(c)}export{K as a,M as b,y as l,q as r,b as u};
1
+ import{c as a,m as f,ap as m,aq as p}from"./index-WgRy4XEz.js";import{u as R}from"./useQuery-C48kdbmo.js";import{K as n}from"./constants-Bbw6jN_V.js";async function y(u){if(!u.getServerCapabilities()?.resources)return{resources:[]};try{return await u.listResources()}catch(s){if(s instanceof m&&s.code===p.MethodNotFound)return{resources:[]};throw s}}async function q(u,e){return await u.readResource({uri:e})}function K(u){const e=a.c(12);let s,t;e[0]!==u?({client:s,...t}=u,e[0]=u,e[1]=s,e[2]=t):(s=e[1],t=e[2]);let r;e[3]!==s?(r=n.mcpResourcesList(s),e[3]=s,e[4]=r):r=e[4];let i;e[5]!==s?(i=()=>y(s),e[5]=s,e[6]=i):i=e[6];const o=t.staleTime??3e4;let l;return e[7]!==t||e[8]!==r||e[9]!==i||e[10]!==o?(l={...t,queryKey:r,queryFn:i,staleTime:o,retry:!1},e[7]=t,e[8]=r,e[9]=i,e[10]=o,e[11]=l):l=e[11],f(l)}function M(u){const e=a.c(12);let s,t;e[0]!==u?({client:s,...t}=u,e[0]=u,e[1]=s,e[2]=t):(s=e[1],t=e[2]);let r;e[3]!==s?(r=n.mcpResourcesList(s),e[3]=s,e[4]=r):r=e[4];let i;e[5]!==s?(i=()=>y(s),e[5]=s,e[6]=i):i=e[6];const o=t.staleTime??3e4;let l;return e[7]!==t||e[8]!==r||e[9]!==i||e[10]!==o?(l={...t,queryKey:r,queryFn:i,staleTime:o,retry:!1},e[7]=t,e[8]=r,e[9]=i,e[10]=o,e[11]=l):l=e[11],R(l)}function b(u){const e=a.c(15);let s,t,r;e[0]!==u?({client:s,uri:r,...t}=u,e[0]=u,e[1]=s,e[2]=t,e[3]=r):(s=e[1],t=e[2],r=e[3]);let i;e[4]!==s||e[5]!==r?(i=n.mcpReadResource(s,r),e[4]=s,e[5]=r,e[6]=i):i=e[6];let o;e[7]!==s||e[8]!==r?(o=()=>q(s,r),e[7]=s,e[8]=r,e[9]=o):o=e[9];const l=t.staleTime??3e4;let c;return e[10]!==t||e[11]!==i||e[12]!==o||e[13]!==l?(c={...t,queryKey:i,queryFn:o,staleTime:l,retry:!1},e[10]=t,e[11]=i,e[12]=o,e[13]=l,e[14]=c):c=e[14],f(c)}export{K as a,M as b,y as l,q as r,b as u};
@@ -1 +1 @@
1
- import{c as y,m as p}from"./index-KAycGEnT.js";import{u as q}from"./useQuery-DCrAUBx5.js";import{u as C}from"./useMutation-Ctk5b8uR.js";import{K as T}from"./constants-CRvMLa9p.js";function w(r){const e=y.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=y.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=y.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 m=JSON.stringify(l??{});u=p,i=s,n=T.mcpToolCall(t,o,m),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=y.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 m=JSON.stringify(l??{});u=q,i=s,n=T.mcpToolCall(t,o,m),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=y.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
+ import{c as y,m as p}from"./index-WgRy4XEz.js";import{u as q}from"./useQuery-C48kdbmo.js";import{u as C}from"./useMutation-DmgIjz65.js";import{K as T}from"./constants-Bbw6jN_V.js";function w(r){const e=y.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=y.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=y.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 m=JSON.stringify(l??{});u=p,i=s,n=T.mcpToolCall(t,o,m),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=y.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 m=JSON.stringify(l??{});u=q,i=s,n=T.mcpToolCall(t,o,m),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=y.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 n,u as o,m as u,K as i,d as a}from"./index-KAycGEnT.js";function l(){const e=n.c(4),{locator:r}=o();let t;e[0]!==r?(t=i.members(r),e[0]=r,e[1]=t):t=e[1];let s;return e[2]!==t?(s={queryKey:t,queryFn:m},e[2]=t,e[3]=s):s=e[3],u(s)}function m(){return a.organization.listMembers()}export{l as u};
1
+ import{c as n,u as o,m as u,K as i,d as a}from"./index-WgRy4XEz.js";function l(){const e=n.c(4),{locator:r}=o();let t;e[0]!==r?(t=i.members(r),e[0]=r,e[1]=t):t=e[1];let s;return e[2]!==t?(s={queryKey:t,queryFn:m},e[2]=t,e[3]=s):s=e[3],u(s)}function m(){return a.organization.listMembers()}export{l as u};
@@ -1 +1 @@
1
- import{c as m,r}from"./index-KAycGEnT.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
+ import{c as m,r}from"./index-WgRy4XEz.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{K as m,c as C,m as T}from"./index-KAycGEnT.js";import{u as y}from"./useQuery-DCrAUBx5.js";import{u as f,a}from"./constants-CRvMLa9p.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
+ import{K as m,c as C,m as T}from"./index-WgRy4XEz.js";import{u as y}from"./useQuery-C48kdbmo.js";import{u as f,a}from"./constants-Bbw6jN_V.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{r as g,c as v,b as C,a as k,e as E}from"./index-KAycGEnT.js";const x=({size:e=24,color:t="currentColor",...s})=>g.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},g.createElement("path",{d:"M15 21v-5.4c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C14.24 14 13.96 14 13.4 14h-2.8c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C9 14.76 9 15.04 9 15.6V21M3 7a3 3 0 0 0 6 0 3 3 0 1 0 6 0 3 3 0 1 0 6 0M6.2 21h11.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C21 19.48 21 18.92 21 17.8V6.2c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C19.48 3 18.92 3 17.8 3H6.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C3 4.52 3 5.08 3 6.2v11.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C4.52 21 5.08 21 6.2 21Z"}));x.displayName="Building02";const M=({size:e=24,color:t="currentColor",...s})=>g.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},g.createElement("path",{d:"M15.938 15.938A7.001 7.001 0 0 0 15 2a7.001 7.001 0 0 0-6.938 6.062M16 15a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z"}));M.displayName="Coins01";const j=new Set(["account.profile","account.preferences","account.experimental","org.general","org.plugins","org.billing"]);function w(e){return e?j.has(e):!1}function _(){const e=v.c(17),t=C();let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s={strict:!1},e[0]=s):s=e[0];const r=k(s);let i;e[1]===Symbol.for("react.memo_cache_sentinel")?(i={strict:!1},e[1]=i):i=e[1];const{org:o,project:n}=E(i);let c;e[2]!==r.settings?(c=w(r.settings)?r.settings:void 0,e[2]=r.settings,e[3]=c):c=e[3];const m=c,p=!!m;let a;e[4]!==t||e[5]!==o||e[6]!==n?(a=S=>{!o||!n||t({to:"/$org/$project",params:{org:o,project:n},search:{settings:S}})},e[4]=t,e[5]=o,e[6]=n,e[7]=a):a=e[7];const f=a;let l;e[8]!==t||e[9]!==o||e[10]!==n?(l=()=>{!o||!n||t({to:"/$org/$project",params:{org:o,project:n},search:{}})},e[8]=t,e[9]=o,e[10]=n,e[11]=l):l=e[11];const h=l,d=m??"account.preferences";let u;return e[12]!==h||e[13]!==p||e[14]!==f||e[15]!==d?(u={isOpen:p,activeSection:d,open:f,close:h},e[12]=h,e[13]=p,e[14]=f,e[15]=d,e[16]=u):u=e[16],u}export{M as i,x as t,_ as u};
1
+ import{r as g,c as v,b as C,a as k,e as E}from"./index-WgRy4XEz.js";const x=({size:e=24,color:t="currentColor",...s})=>g.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},g.createElement("path",{d:"M15 21v-5.4c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C14.24 14 13.96 14 13.4 14h-2.8c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C9 14.76 9 15.04 9 15.6V21M3 7a3 3 0 0 0 6 0 3 3 0 1 0 6 0 3 3 0 1 0 6 0M6.2 21h11.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C21 19.48 21 18.92 21 17.8V6.2c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C19.48 3 18.92 3 17.8 3H6.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C3 4.52 3 5.08 3 6.2v11.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C4.52 21 5.08 21 6.2 21Z"}));x.displayName="Building02";const M=({size:e=24,color:t="currentColor",...s})=>g.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},g.createElement("path",{d:"M15.938 15.938A7.001 7.001 0 0 0 15 2a7.001 7.001 0 0 0-6.938 6.062M16 15a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z"}));M.displayName="Coins01";const j=new Set(["account.profile","account.preferences","account.experimental","org.general","org.plugins","org.billing"]);function w(e){return e?j.has(e):!1}function _(){const e=v.c(17),t=C();let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s={strict:!1},e[0]=s):s=e[0];const r=k(s);let i;e[1]===Symbol.for("react.memo_cache_sentinel")?(i={strict:!1},e[1]=i):i=e[1];const{org:o,project:n}=E(i);let c;e[2]!==r.settings?(c=w(r.settings)?r.settings:void 0,e[2]=r.settings,e[3]=c):c=e[3];const m=c,p=!!m;let a;e[4]!==t||e[5]!==o||e[6]!==n?(a=S=>{!o||!n||t({to:"/$org/$project",params:{org:o,project:n},search:{settings:S}})},e[4]=t,e[5]=o,e[6]=n,e[7]=a):a=e[7];const f=a;let l;e[8]!==t||e[9]!==o||e[10]!==n?(l=()=>{!o||!n||t({to:"/$org/$project",params:{org:o,project:n},search:{}})},e[8]=t,e[9]=o,e[10]=n,e[11]=l):l=e[11];const h=l,d=m??"account.preferences";let u;return e[12]!==h||e[13]!==p||e[14]!==f||e[15]!==d?(u={isOpen:p,activeSection:d,open:f,close:h},e[12]=h,e[13]=p,e[14]=f,e[15]=d,e[16]=u):u=e[16],u}export{M as i,x as t,_ as u};
@@ -1 +1 @@
1
- import{c as p,r as f}from"./index-KAycGEnT.js";import{u as w}from"./use-mobile-C7Xn-ZVB.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
+ import{c as p,r as f}from"./index-WgRy4XEz.js";import{u as w}from"./use-mobile-PmmG7UNI.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-KAycGEnT.js";import{e as a,u as C,d as I}from"./use-collections-ROKIiOzV.js";import{a as l,u}from"./constants-CRvMLa9p.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};
1
+ import{c,u as r}from"./index-WgRy4XEz.js";import{e as a,u as C,d as I}from"./use-collections-B-x23mni.js";import{a as l,u}from"./constants-Bbw6jN_V.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-6Sv1mY48.js";import{$ as i}from"./index-WgRy4XEz.js";function t(e,r){return i(e,u,r)}export{t as u};
@@ -1 +1 @@
1
- import{aP as l,aQ as p,aR as n,aS as d,aT as h,n as b,r as o,aU as m,aV as f}from"./index-KAycGEnT.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};
1
+ import{aD as l,aE as p,aF as n,aG as d,aH as h,n as b,r as o,aI as m,aJ as f}from"./index-WgRy4XEz.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{$ as u,a6 as s}from"./index-WgRy4XEz.js";function o(e,r){return u(e,s,r)}export{o as u};
@@ -0,0 +1 @@
1
+ import{I as s}from"./infiniteQueryObserver-6Sv1mY48.js";import{$ as u,a0 as n}from"./index-WgRy4XEz.js";function a(r,e){return u({...r,enabled:!0,suspense:!0,throwOnError:n},s,e)}export{a as u};
@@ -1 +1 @@
1
- import{c as w,u as C,K as S,v as y,j as t}from"./index-KAycGEnT.js";import{A as E}from"./avatar-DGDgNwX-.js";import{u as k}from"./useQuery-DCrAUBx5.js";import{a as A,u as _}from"./constants-CRvMLa9p.js";function K(m){const e=w.c(11),{org:h}=C();let x;e[0]!==h.id?(x={connectionId:A,orgId:h.id},e[0]=h.id,e[1]=x):x=e[1];const u=_(x);let d;e[2]!==m?(d=S.user(m),e[2]=m,e[3]=d):d=e[3];let s;e[4]!==u||e[5]!==m?(s=async()=>{const r=await u.callTool({name:"USER_GET",arguments:{id:m}});return(r.structuredContent??r).user},e[4]=u,e[5]=m,e[6]=s):s=e[6];const l=!!m;let o;return e[7]!==d||e[8]!==s||e[9]!==l?(o={queryKey:d,queryFn:s,staleTime:3e5,retry:1,enabled:l},e[7]=d,e[8]=s,e[9]=l,e[10]=o):o=e[10],k(o)}function q(m){const e=w.c(36),{id:h,size:x,showEmail:u,avatarOnly:d,className:s}=m,l=x===void 0?"xs":x,o=u===void 0?!1:u,r=d===void 0?!1:d,{data:c,isLoading:U,isError:b}=K(h);if(U){let a;e[0]!==s?(a=y("flex items-center gap-2",s),e[0]=s,e[1]=a):a=e[1];let i;e[2]!==l?(i=t.jsx(E.Skeleton,{shape:"circle",size:l}),e[2]=l,e[3]=i):i=e[3];let n;e[4]!==r||e[5]!==o?(n=!r&&t.jsxs("div",{className:"flex flex-col gap-1",children:[t.jsx("div",{className:"h-3 w-24 bg-muted animate-pulse rounded"}),o&&t.jsx("div",{className:"h-2 w-32 bg-muted animate-pulse rounded"})]}),e[4]=r,e[5]=o,e[6]=n):n=e[6];let f;return e[7]!==a||e[8]!==i||e[9]!==n?(f=t.jsxs("div",{className:a,children:[i,n]}),e[7]=a,e[8]=i,e[9]=n,e[10]=f):f=e[10],f}if(b||!c){let a;e[11]!==s?(a=y("flex items-center gap-2",s),e[11]=s,e[12]=a):a=e[12];let i;e[13]!==l?(i=t.jsx(E,{shape:"circle",size:l,fallback:"?",muted:!0}),e[13]=l,e[14]=i):i=e[14];let n;e[15]!==r?(n=!r&&t.jsx("div",{className:"flex flex-col",children:t.jsx("div",{className:"text-sm text-muted-foreground",children:"Unknown User"})}),e[15]=r,e[16]=n):n=e[16];let f;return e[17]!==a||e[18]!==i||e[19]!==n?(f=t.jsxs("div",{className:a,children:[i,n]}),e[17]=a,e[18]=i,e[19]=n,e[20]=f):f=e[20],f}let p;e[21]!==s?(p=y("flex items-center gap-2",s),e[21]=s,e[22]=p):p=e[22];const N=c.image??void 0;let v;e[23]!==l||e[24]!==N||e[25]!==c.name?(v=t.jsx(E,{shape:"circle",size:l,url:N,fallback:c.name}),e[23]=l,e[24]=N,e[25]=c.name,e[26]=v):v=e[26];let j;e[27]!==r||e[28]!==o||e[29]!==c.email||e[30]!==c.name?(j=!r&&t.jsxs("div",{className:"flex flex-col",children:[t.jsx("div",{className:"text-sm font-medium",children:c.name}),o&&t.jsx("div",{className:"text-xs text-muted-foreground",children:c.email})]}),e[27]=r,e[28]=o,e[29]=c.email,e[30]=c.name,e[31]=j):j=e[31];let g;return e[32]!==p||e[33]!==v||e[34]!==j?(g=t.jsxs("div",{className:p,children:[v,j]}),e[32]=p,e[33]=v,e[34]=j,e[35]=g):g=e[35],g}export{q as U};
1
+ import{c as w,u as C,K as S,v as y,j as t}from"./index-WgRy4XEz.js";import{A as E}from"./avatar-Ci3kAkCl.js";import{u as k}from"./useQuery-C48kdbmo.js";import{a as A,u as _}from"./constants-Bbw6jN_V.js";function K(m){const e=w.c(11),{org:h}=C();let x;e[0]!==h.id?(x={connectionId:A,orgId:h.id},e[0]=h.id,e[1]=x):x=e[1];const u=_(x);let d;e[2]!==m?(d=S.user(m),e[2]=m,e[3]=d):d=e[3];let s;e[4]!==u||e[5]!==m?(s=async()=>{const r=await u.callTool({name:"USER_GET",arguments:{id:m}});return(r.structuredContent??r).user},e[4]=u,e[5]=m,e[6]=s):s=e[6];const l=!!m;let o;return e[7]!==d||e[8]!==s||e[9]!==l?(o={queryKey:d,queryFn:s,staleTime:3e5,retry:1,enabled:l},e[7]=d,e[8]=s,e[9]=l,e[10]=o):o=e[10],k(o)}function q(m){const e=w.c(36),{id:h,size:x,showEmail:u,avatarOnly:d,className:s}=m,l=x===void 0?"xs":x,o=u===void 0?!1:u,r=d===void 0?!1:d,{data:c,isLoading:U,isError:b}=K(h);if(U){let a;e[0]!==s?(a=y("flex items-center gap-2",s),e[0]=s,e[1]=a):a=e[1];let i;e[2]!==l?(i=t.jsx(E.Skeleton,{shape:"circle",size:l}),e[2]=l,e[3]=i):i=e[3];let n;e[4]!==r||e[5]!==o?(n=!r&&t.jsxs("div",{className:"flex flex-col gap-1",children:[t.jsx("div",{className:"h-3 w-24 bg-muted animate-pulse rounded"}),o&&t.jsx("div",{className:"h-2 w-32 bg-muted animate-pulse rounded"})]}),e[4]=r,e[5]=o,e[6]=n):n=e[6];let f;return e[7]!==a||e[8]!==i||e[9]!==n?(f=t.jsxs("div",{className:a,children:[i,n]}),e[7]=a,e[8]=i,e[9]=n,e[10]=f):f=e[10],f}if(b||!c){let a;e[11]!==s?(a=y("flex items-center gap-2",s),e[11]=s,e[12]=a):a=e[12];let i;e[13]!==l?(i=t.jsx(E,{shape:"circle",size:l,fallback:"?",muted:!0}),e[13]=l,e[14]=i):i=e[14];let n;e[15]!==r?(n=!r&&t.jsx("div",{className:"flex flex-col",children:t.jsx("div",{className:"text-sm text-muted-foreground",children:"Unknown User"})}),e[15]=r,e[16]=n):n=e[16];let f;return e[17]!==a||e[18]!==i||e[19]!==n?(f=t.jsxs("div",{className:a,children:[i,n]}),e[17]=a,e[18]=i,e[19]=n,e[20]=f):f=e[20],f}let p;e[21]!==s?(p=y("flex items-center gap-2",s),e[21]=s,e[22]=p):p=e[22];const N=c.image??void 0;let v;e[23]!==l||e[24]!==N||e[25]!==c.name?(v=t.jsx(E,{shape:"circle",size:l,url:N,fallback:c.name}),e[23]=l,e[24]=N,e[25]=c.name,e[26]=v):v=e[26];let j;e[27]!==r||e[28]!==o||e[29]!==c.email||e[30]!==c.name?(j=!r&&t.jsxs("div",{className:"flex flex-col",children:[t.jsx("div",{className:"text-sm font-medium",children:c.name}),o&&t.jsx("div",{className:"text-xs text-muted-foreground",children:c.email})]}),e[27]=r,e[28]=o,e[29]=c.email,e[30]=c.name,e[31]=j):j=e[31];let g;return e[32]!==p||e[33]!==v||e[34]!==j?(g=t.jsxs("div",{className:p,children:[v,j]}),e[32]=p,e[33]=v,e[34]=j,e[35]=g):g=e[35],g}export{q as U};
@@ -1 +1 @@
1
- import{c as g,u as C,n as W,K as x,t as _,j as i,B as I}from"./index-KAycGEnT.js";import{a as w,u as L}from"./constants-CRvMLa9p.js";import{C as k}from"./collection-tab-BlE4CTwD.js";import{E as O}from"./collection-search-Dl5JvsI0.js";import{u as S}from"./useMutation-Ctk5b8uR.js";import{P as u}from"./index-A_CnuSis.js";import{B as b,a as h,b as P,c as y}from"./breadcrumb-DPLSdTx1.js";import{e as T}from"./Dataflow03-SiitV-oV.js";import"./generate-id-Dyweu44Y.js";import"./collection-display-button-CXc-TgEJ.js";import"./dropdown-menu-DMgECNP1.js";import"./Check-DXoRcZpn.js";import"./ChevronRight-CkAAxLvD.js";import"./ArrowDown-BX-IIy5w.js";import"./ArrowUp-dcB4aDLZ.js";import"./Grid01-Ju9gLjOW.js";import"./List-Bj4VjFJ6.js";import"./tooltip-BD36KVkP.js";import"./index-B7Bu7nQ7.js";import"./badge-DtcA_2rB.js";import"./card-Bz05CYUR.js";import"./integration-icon-BAlg7muO.js";import"./Container-CSl1es2V.js";import"./Copy01-B4eRdmVC.js";import"./DotsVertical-B6bpYQLL.js";import"./Edit01-CoWrVJPj.js";import"./Eye-DNSEDYe8.js";import"./Trash01-c47UOodj.js";import"./collection-table-wrapper-eN4uWzLn.js";import"./table-CObvzzoK.js";import"./empty-state-C64F3xDv.js";import"./Inbox01-CjHNjCjB.js";import"./user-BU3jjBpz.js";import"./avatar-DGDgNwX-.js";import"./useQuery-DCrAUBx5.js";import"./use-list-state-cW6KZE3t.js";import"./use-view-mode-DxCF7P6S.js";import"./use-mobile-C7Xn-ZVB.js";import"./constants-I25hmjxi.js";import"./alert-dialog-DXvhyacf.js";import"./use-collections-ROKIiOzV.js";import"./Plus-CEtl-Eq7.js";import"./layout-BdJDt40T.js";import"./Loading01-DF5pxnn8.js";import"./SearchMd-u1QGwQkU.js";import"./input-s8rw5Kfa.js";import"./localstorage-keys-DK1Id_ip.js";function B(){const e=g.c(12),{org:t,project:r}=C(),a=W();let c;e[0]!==t.id?(c={connectionId:w,orgId:t.id},e[0]=t.id,e[1]=c):c=e[1];const l=L(c);let o;e[2]!==l||e[3]!==r?(o=async d=>{const m=r.enabledPlugins??[];if(m.includes(d))return;const p=[...m,d],j=await l.callTool({name:"PROJECT_UPDATE",arguments:{projectId:r.id,enabledPlugins:p}});return j.structuredContent??j},e[2]=l,e[3]=r,e[4]=o):o=e[4];let n;e[5]!==t.id||e[6]!==r||e[7]!==a?(n=()=>{a.invalidateQueries({queryKey:x.project(t.id,r.slug)}),a.invalidateQueries({queryKey:x.projects(t.id)})},e[5]=t.id,e[6]=r,e[7]=a,e[8]=n):n=e[8];let s;return e[9]!==o||e[10]!==n?(s={mutationFn:o,onSuccess:n,onError:K},e[9]=o,e[10]=n,e[11]=s):s=e[11],S(s)}function K(e){_.error("Failed to enable plugin: "+(e instanceof Error?e.message:"Unknown error"))}function N(e){const t=g.c(12),{pluginId:r,title:a,description:c,icon:l}=e,o=B();let n;t[0]!==o||t[1]!==r?(n=async()=>{try{await o.mutateAsync(r),_.success("Plugin enabled!")}catch{}},t[0]=o,t[1]=r,t[2]=n):n=t[2];const s=n,f=l??null,d=o.isPending?"Enabling…":"Enable plugin";let m;t[3]!==o.isPending||t[4]!==s||t[5]!==d?(m=i.jsx(I,{onClick:s,disabled:o.isPending,children:d}),t[3]=o.isPending,t[4]=s,t[5]=d,t[6]=m):m=t[6];let p;return t[7]!==c||t[8]!==f||t[9]!==m||t[10]!==a?(p=i.jsx(O,{image:f,title:a,description:c,actions:m}),t[7]=c,t[8]=f,t[9]=m,t[10]=a,t[11]=p):p=t[11],p}const E="workflows",F={name:"WORKFLOW",displayName:"Workflow",hasCreateTool:!0,hasUpdateTool:!0,hasDeleteTool:!0};function Se(){const e=g.c(5),{project:t,org:r}=C();if(!(t.enabledPlugins??[]).includes(E)){let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n=i.jsx(u.Header,{children:i.jsx(u.Header.Left,{children:i.jsx(b,{children:i.jsx(h,{children:i.jsx(P,{children:i.jsx(y,{children:"Workflows"})})})})})}),e[0]=n):n=e[0];let s;return e[1]===Symbol.for("react.memo_cache_sentinel")?(s=i.jsxs(u,{children:[n,i.jsx(u.Content,{children:i.jsx("div",{className:"flex flex-col items-center justify-center h-full",children:i.jsx(N,{pluginId:E,title:"Enable Workflows",description:"Automate multi-step processes by enabling the Workflows plugin. Once enabled you can create, run, and monitor workflows.",icon:i.jsx("div",{className:"bg-muted p-4 rounded-full",children:i.jsx(T,{className:"size-8 text-muted-foreground"})})})})})]}),e[1]=s):s=e[1],s}let l;e[2]===Symbol.for("react.memo_cache_sentinel")?(l=i.jsx(u.Header,{children:i.jsx(u.Header.Left,{children:i.jsx(b,{children:i.jsx(h,{children:i.jsx(P,{children:i.jsx(y,{children:"Workflows"})})})})})}),e[2]=l):l=e[2];let o;return e[3]!==r.slug?(o=i.jsxs(u,{children:[l,i.jsx(u.Content,{children:i.jsx(k,{connectionId:w,org:r.slug,activeCollection:F})})]}),e[3]=r.slug,e[4]=o):o=e[4],o}export{Se as default};
1
+ import{c as g,u as C,n as W,K as x,t as _,j as i,B as I}from"./index-WgRy4XEz.js";import{a as w,u as L}from"./constants-Bbw6jN_V.js";import{C as k}from"./collection-tab-Bh2VOYGp.js";import{E as O}from"./collection-search-C_6fMPfN.js";import{u as S}from"./useMutation-DmgIjz65.js";import{P as u}from"./index-CuGOLHld.js";import{B as b,a as h,b as P,c as y}from"./breadcrumb-mjrAJ44V.js";import{e as T}from"./Dataflow03-CP3uRpJJ.js";import"./generate-id-Dyweu44Y.js";import"./collection-display-button-BxbTqYSq.js";import"./dropdown-menu-C6kuYZ7_.js";import"./Check-BQYRNFNB.js";import"./ChevronRight-DhQpCpKK.js";import"./ArrowDown-aOFcd1rD.js";import"./ArrowUp-DHX-mOU2.js";import"./Grid01-Cv6nD-bp.js";import"./List-BFACCNRk.js";import"./tooltip-Babiaq0d.js";import"./index-Dw9bGcxk.js";import"./badge-Bjvc5XIA.js";import"./card-DFLwXVkm.js";import"./integration-icon-R2eYJYHC.js";import"./Container-BU5QPEDW.js";import"./Copy01-Bub_iK1k.js";import"./DotsVertical-BSoYRiIr.js";import"./Edit01-BIUDv_si.js";import"./Eye-CJ0GO8QL.js";import"./Trash01-_Tzcparm.js";import"./collection-table-wrapper-COmJ-B8Q.js";import"./table-KeNwDMbd.js";import"./empty-state-DClv5r7C.js";import"./Inbox01-B0oK7RI9.js";import"./user-DC5rs3GH.js";import"./avatar-Ci3kAkCl.js";import"./useQuery-C48kdbmo.js";import"./use-list-state-D-tKxlpi.js";import"./use-view-mode-DT0UZS0w.js";import"./use-mobile-PmmG7UNI.js";import"./constants-BSa33005.js";import"./alert-dialog-DaXpWdw0.js";import"./use-collections-B-x23mni.js";import"./Plus-D4t5EG83.js";import"./layout-CIWWZ1ER.js";import"./Loading01-B8ixav8o.js";import"./SearchMd-B8KV3nui.js";import"./input-BJJ-HZyT.js";import"./localstorage-keys-BUkugh6_.js";function B(){const e=g.c(12),{org:t,project:r}=C(),a=W();let c;e[0]!==t.id?(c={connectionId:w,orgId:t.id},e[0]=t.id,e[1]=c):c=e[1];const l=L(c);let o;e[2]!==l||e[3]!==r?(o=async d=>{const m=r.enabledPlugins??[];if(m.includes(d))return;const p=[...m,d],j=await l.callTool({name:"PROJECT_UPDATE",arguments:{projectId:r.id,enabledPlugins:p}});return j.structuredContent??j},e[2]=l,e[3]=r,e[4]=o):o=e[4];let n;e[5]!==t.id||e[6]!==r||e[7]!==a?(n=()=>{a.invalidateQueries({queryKey:x.project(t.id,r.slug)}),a.invalidateQueries({queryKey:x.projects(t.id)})},e[5]=t.id,e[6]=r,e[7]=a,e[8]=n):n=e[8];let s;return e[9]!==o||e[10]!==n?(s={mutationFn:o,onSuccess:n,onError:K},e[9]=o,e[10]=n,e[11]=s):s=e[11],S(s)}function K(e){_.error("Failed to enable plugin: "+(e instanceof Error?e.message:"Unknown error"))}function N(e){const t=g.c(12),{pluginId:r,title:a,description:c,icon:l}=e,o=B();let n;t[0]!==o||t[1]!==r?(n=async()=>{try{await o.mutateAsync(r),_.success("Plugin enabled!")}catch{}},t[0]=o,t[1]=r,t[2]=n):n=t[2];const s=n,f=l??null,d=o.isPending?"Enabling…":"Enable plugin";let m;t[3]!==o.isPending||t[4]!==s||t[5]!==d?(m=i.jsx(I,{onClick:s,disabled:o.isPending,children:d}),t[3]=o.isPending,t[4]=s,t[5]=d,t[6]=m):m=t[6];let p;return t[7]!==c||t[8]!==f||t[9]!==m||t[10]!==a?(p=i.jsx(O,{image:f,title:a,description:c,actions:m}),t[7]=c,t[8]=f,t[9]=m,t[10]=a,t[11]=p):p=t[11],p}const E="workflows",F={name:"WORKFLOW",displayName:"Workflow",hasCreateTool:!0,hasUpdateTool:!0,hasDeleteTool:!0};function Se(){const e=g.c(5),{project:t,org:r}=C();if(!(t.enabledPlugins??[]).includes(E)){let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n=i.jsx(u.Header,{children:i.jsx(u.Header.Left,{children:i.jsx(b,{children:i.jsx(h,{children:i.jsx(P,{children:i.jsx(y,{children:"Workflows"})})})})})}),e[0]=n):n=e[0];let s;return e[1]===Symbol.for("react.memo_cache_sentinel")?(s=i.jsxs(u,{children:[n,i.jsx(u.Content,{children:i.jsx("div",{className:"flex flex-col items-center justify-center h-full",children:i.jsx(N,{pluginId:E,title:"Enable Workflows",description:"Automate multi-step processes by enabling the Workflows plugin. Once enabled you can create, run, and monitor workflows.",icon:i.jsx("div",{className:"bg-muted p-4 rounded-full",children:i.jsx(T,{className:"size-8 text-muted-foreground"})})})})})]}),e[1]=s):s=e[1],s}let l;e[2]===Symbol.for("react.memo_cache_sentinel")?(l=i.jsx(u.Header,{children:i.jsx(u.Header.Left,{children:i.jsx(b,{children:i.jsx(h,{children:i.jsx(P,{children:i.jsx(y,{children:"Workflows"})})})})})}),e[2]=l):l=e[2];let o;return e[3]!==r.slug?(o=i.jsxs(u,{children:[l,i.jsx(u.Content,{children:i.jsx(k,{connectionId:w,org:r.slug,activeCollection:F})})]}),e[3]=r.slug,e[4]=o):o=e[4],o}export{Se as default};
@@ -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-KAycGEnT.js"></script>
6
+ <script type="module" crossorigin src="/assets/index-WgRy4XEz.js"></script>
7
7
  <link rel="stylesheet" crossorigin href="/assets/index-EoHf0cK6.css">
8
8
  </head>
9
9
  <body>