@decocms/mesh 2.136.1 → 2.137.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 (216) hide show
  1. package/dist/client/assets/{AlertCircle-CXJCnY_R.js → AlertCircle-Bz0Gu2J2.js} +1 -1
  2. package/dist/client/assets/{AlignLeft-Ckpqqq7X.js → AlignLeft-cTDyunvB.js} +1 -1
  3. package/dist/client/assets/{ArrowDown-BXCgJapO.js → ArrowDown-DA10fwsF.js} +1 -1
  4. package/dist/client/assets/{ArrowLeft-ihbjidrQ.js → ArrowLeft-bHzBiXiT.js} +1 -1
  5. package/dist/client/assets/{ArrowUp-B3tPpNuu.js → ArrowUp-DNV5Voek.js} +1 -1
  6. package/dist/client/assets/{Check-G22LpKFd.js → Check-e1LxjlnS.js} +1 -1
  7. package/dist/client/assets/{CheckCircle-Dl3Eh5mw.js → CheckCircle-aG4ywA2O.js} +1 -1
  8. package/dist/client/assets/{CheckDone01-DQOA8kaK.js → CheckDone01-BbDxR0le.js} +1 -1
  9. package/dist/client/assets/{CheckVerified02-C58oaMz8.js → CheckVerified02-BSRvrUwy.js} +1 -1
  10. package/dist/client/assets/{ChevronDown-DAk1F2Sn.js → ChevronDown-BjWhsewG.js} +1 -1
  11. package/dist/client/assets/{ChevronLeft-CGPjZdmg.js → ChevronLeft-bfDO3afT.js} +1 -1
  12. package/dist/client/assets/{ChevronRight-BT7U8Kip.js → ChevronRight-DZwFOSrA.js} +1 -1
  13. package/dist/client/assets/{Clock-CPO-Cqx6.js → Clock-BDkBqrq2.js} +1 -1
  14. package/dist/client/assets/{Code01-UXkm6aqY.js → Code01-Den27Mse.js} +1 -1
  15. package/dist/client/assets/{Container-CyEPuAYL.js → Container-w8ZJjmnR.js} +1 -1
  16. package/dist/client/assets/{Copy01-tzx60ICS.js → Copy01-BCJxa3pS.js} +1 -1
  17. package/dist/client/assets/{Dataflow03-mD5gBD1P.js → Dataflow03-C3PCJs5S.js} +1 -1
  18. package/dist/client/assets/{DotsHorizontal-9qiIYu_T.js → DotsHorizontal-DdpEu4kv.js} +1 -1
  19. package/dist/client/assets/{DotsVertical-DHxrk-2J.js → DotsVertical-D65a3izp.js} +1 -1
  20. package/dist/client/assets/{Download01-DM18IWVp.js → Download01-AELYrpVY.js} +1 -1
  21. package/dist/client/assets/{Edit01-D3PaS600.js → Edit01-CPphoQZI.js} +1 -1
  22. package/dist/client/assets/{Edit05-B64h7zay.js → Edit05-Bxh4QPsk.js} +1 -1
  23. package/dist/client/assets/{Eye-C_LYW9jG.js → Eye-B65VnOsY.js} +1 -1
  24. package/dist/client/assets/{File02-CY9LI3Y-.js → File02-DbPhqcQA.js} +1 -1
  25. package/dist/client/assets/{File06-Dy7xo8XS.js → File06-DI2DTxDK.js} +1 -1
  26. package/dist/client/assets/{FilterLines-BvkJQ7ij.js → FilterLines-BWEMXQRq.js} +1 -1
  27. package/dist/client/assets/{Globe01-39jWI59e.js → Globe01-0k9H0lE8.js} +1 -1
  28. package/dist/client/assets/{Globe02-X-Xm1ngz.js → Globe02-C7u-Ldxq.js} +1 -1
  29. package/dist/client/assets/{Grid01-DTf5JuyC.js → Grid01-CMrNK-TY.js} +1 -1
  30. package/dist/client/assets/{Hash02-AH6eTaow.js → Hash02-DhotVIqT.js} +1 -1
  31. package/dist/client/assets/{Home02-DzIcdgJH.js → Home02-CSmINeMq.js} +1 -1
  32. package/dist/client/assets/{Image01-Dvb2vnmH.js → Image01-HHGXqEyS.js} +1 -1
  33. package/dist/client/assets/{Inbox01-CsvPcK33.js → Inbox01-BVd6Ufjh.js} +1 -1
  34. package/dist/client/assets/{InfoCircle-D2mDfen0.js → InfoCircle-CBee5-NO.js} +1 -1
  35. package/dist/client/assets/{Key01-C3Fh3hes.js → Key01-DY7k7KSd.js} +1 -1
  36. package/dist/client/assets/{LayersTwo01-CRgWs3EX.js → LayersTwo01-CuCFLmbR.js} +1 -1
  37. package/dist/client/assets/{LayoutLeft-C-0_xlw0.js → LayoutLeft-D-Sd6nh5.js} +1 -1
  38. package/dist/client/assets/{Link01-C74Jreax.js → Link01-C0RF1TkY.js} +1 -1
  39. package/dist/client/assets/{LinkExternal01-D6xwQf32.js → LinkExternal01-DUHpfLmD.js} +1 -1
  40. package/dist/client/assets/{List-DJEz6yKj.js → List-DFmwlXqV.js} +1 -1
  41. package/dist/client/assets/{Loading01-B3gOoSbd.js → Loading01-By16fsIj.js} +1 -1
  42. package/dist/client/assets/{Lock01-CodP_ius.js → Lock01-CJOMXMAI.js} +1 -1
  43. package/dist/client/assets/{Play-CxAaQi_l.js → Play-DYSuo3bc.js} +1 -1
  44. package/dist/client/assets/{Plus-Bo0L9uYY.js → Plus-jLReB_Bt.js} +1 -1
  45. package/dist/client/assets/{RefreshCcw01-v6pXwg6P.js → RefreshCcw01-CJTVrN2f.js} +1 -1
  46. package/dist/client/assets/{Save01-CU3VjXKO.js → Save01-B5XsnIBD.js} +1 -1
  47. package/dist/client/assets/{SearchMd-Cpf31N-H.js → SearchMd-DF5i6zVs.js} +1 -1
  48. package/dist/client/assets/{Settings01-BmEB9pVn.js → Settings01-B3dw12xC.js} +1 -1
  49. package/dist/client/assets/{Shield01-CqrrEAw-.js → Shield01-B801SPcx.js} +1 -1
  50. package/dist/client/assets/{Terminal-BS-6VR5p.js → Terminal-DvZ2cYHA.js} +1 -1
  51. package/dist/client/assets/{Trash01-HuK-pEft.js → Trash01-BZm-kVJv.js} +1 -1
  52. package/dist/client/assets/{Upload01-DcyyJb_e.js → Upload01-B_Zc3fui.js} +1 -1
  53. package/dist/client/assets/{Users03-CPWgVi4r.js → Users03-CUtoEpN2.js} +1 -1
  54. package/dist/client/assets/{X-uHaUni9w.js → X-DZCW78jV.js} +1 -1
  55. package/dist/client/assets/{XCircle-C4iqiznn.js → XCircle-BRYqxNwU.js} +1 -1
  56. package/dist/client/assets/{XClose-DGYV-4S5.js → XClose-CuKHHhHx.js} +1 -1
  57. package/dist/client/assets/{Zap-5c_DBEtK.js → Zap-D7ItB-QC.js} +1 -1
  58. package/dist/client/assets/{agent-connections-preview-BsjSZYGn.js → agent-connections-preview-NrV6TyCn.js} +1 -1
  59. package/dist/client/assets/agent-detail-CTx9BMRL.js +2 -0
  60. package/dist/client/assets/agents-DtA7iPv8.js +1 -0
  61. package/dist/client/assets/{alert-dialog-D3oCqQtu.js → alert-dialog-BY3oMun9.js} +2 -2
  62. package/dist/client/assets/{auth-catchall-bz6gJ41s.js → auth-catchall-DM7vkLcv.js} +1 -1
  63. package/dist/client/assets/{avatar-rYlL0ZoJ.js → avatar-Bp7Qjpgt.js} +1 -1
  64. package/dist/client/assets/{badge-CxJArm69.js → badge-CU_zbIXX.js} +1 -1
  65. package/dist/client/assets/{binder-BXDCztlr.js → binder-D8RBAvqy.js} +1 -1
  66. package/dist/client/assets/{breadcrumb-CGrLS5HH.js → breadcrumb-J-4TPKpB.js} +1 -1
  67. package/dist/client/assets/{card-CAORA3L1.js → card-ekU23Imm.js} +1 -1
  68. package/dist/client/assets/{chart-DX1_yJHY.js → chart-B5BozNmG.js} +1 -1
  69. package/dist/client/assets/{checkbox-BCSzUsPR.js → checkbox-Dkby6oH1.js} +1 -1
  70. package/dist/client/assets/{circle-alert-B4C3d1aQ.js → circle-alert-Dmir_dX9.js} +1 -1
  71. package/dist/client/assets/{collapsible-sQONDG4w.js → collapsible-C32NLu9h.js} +1 -1
  72. package/dist/client/assets/{collection-detail-B42SRwNb.js → collection-detail-CVcRRgDT.js} +1 -1
  73. package/dist/client/assets/{collection-display-button-M7dfC2Rf.js → collection-display-button-Cep9T1dy.js} +1 -1
  74. package/dist/client/assets/{collection-search-q4T1hb73.js → collection-search-D8Kd7sE4.js} +1 -1
  75. package/dist/client/assets/{collection-tab-e-VwhAzh.js → collection-tab-BkZUIpwh.js} +1 -1
  76. package/dist/client/assets/{collection-table-wrapper-DXH0yXJC.js → collection-table-wrapper-j8x7CZEu.js} +1 -1
  77. package/dist/client/assets/{collection-tabs-BbVq4J-5.js → collection-tabs-_pBQ3xqw.js} +1 -1
  78. package/dist/client/assets/{command-CPQN970u.js → command-dR8rnu75.js} +1 -1
  79. package/dist/client/assets/{connect-BGH3KdkD.js → connect-DIFUIUeS.js} +1 -1
  80. package/dist/client/assets/{connection-card-DTiOZbAC.js → connection-card-Da4urKr2.js} +1 -1
  81. package/dist/client/assets/connection-detail-_mYJNdTe.js +1 -0
  82. package/dist/client/assets/connection-status-D-gHs_bI.js +1 -0
  83. package/dist/client/assets/connections-z3dfk98Y.js +1 -0
  84. package/dist/client/assets/{constants-D9bRXDQp.js → constants-B_iiTUip.js} +1 -1
  85. package/dist/client/assets/constants-DWucmYRT.js +1 -0
  86. package/dist/client/assets/{create-organization-dialog-Bs4zbKG7.js → create-organization-dialog-Dp3eW5BV.js} +1 -1
  87. package/dist/client/assets/{create-project-dialog-BkL7vqeo.js → create-project-dialog-wLCAgffa.js} +1 -1
  88. package/dist/client/assets/{danger-C_vn0auF.js → danger-DN20H7Jv.js} +1 -1
  89. package/dist/client/assets/{danger-zone-CdUOoCFt.js → danger-zone-BlpO_iQ-.js} +1 -1
  90. package/dist/client/assets/{decopilot-events-DHSwekTa.js → decopilot-events-Dczeyumg.js} +1 -1
  91. package/dist/client/assets/{dependencies-DTmw6OGT.js → dependencies-Uah1lriA.js} +1 -1
  92. package/dist/client/assets/{dialog-Baq_fjtR.js → dialog-BuY4tTjY.js} +1 -1
  93. package/dist/client/assets/{dropdown-menu-CSqO4Mxn.js → dropdown-menu-CF9W86LV.js} +1 -1
  94. package/dist/client/assets/dynamic-plugin-layout-DbZjG_ew.js +1 -0
  95. package/dist/client/assets/{editable-task-title-HUenZvZX.js → editable-task-title-Po1P2Wd0.js} +1 -1
  96. package/dist/client/assets/{empty-state-BPClkF2j.js → empty-state-COL4jrg3.js} +1 -1
  97. package/dist/client/assets/{env-vars-editor-DDp7f4JN.js → env-vars-editor-KGRYrftY.js} +1 -1
  98. package/dist/client/assets/{extract-connection-data-BkJeK0tX.js → extract-connection-data-BbBDZhaA.js} +1 -1
  99. package/dist/client/assets/{file-browser-DVzV35Ko.js → file-browser-B2axtg2i.js} +2 -2
  100. package/dist/client/assets/{form-C5R0_qWR.js → form-Ci0uQFmj.js} +1 -1
  101. package/dist/client/assets/{general-mBNwCpsS.js → general-DaCshnBc.js} +1 -1
  102. package/dist/client/assets/{grid-view-7eQhfO8f.js → grid-view-Cs9Fsjar.js} +1 -1
  103. package/dist/client/assets/{home-okrTp5Gh.js → home-CiAMHjmh.js} +1 -1
  104. package/dist/client/assets/{icon-picker-DevrZ9IQ.js → icon-picker-5o9r59w2.js} +1 -1
  105. package/dist/client/assets/{index-CvEIDmnk.js → index-B5u30SQw.js} +1 -1
  106. package/dist/client/assets/{index-DYY56DJY.js → index-CBuDQZ5c.js} +1 -1
  107. package/dist/client/assets/{index-BWSvBz7o.js → index-CNLrMiMB.js} +1 -1
  108. package/dist/client/assets/{index-B_0vsVr1.js → index-Cb17fVaO.js} +3 -3
  109. package/dist/client/assets/{index-BK6i23a9.js → index-Ch67qqnf.js} +1 -1
  110. package/dist/client/assets/index-ClZvg-b8.js +1 -0
  111. package/dist/client/assets/{index-UbeVlDrq.js → index-CvxrBAxY.js} +1 -1
  112. package/dist/client/assets/{index-QCmdl8uj.js → index-DLDRkAi_.js} +1 -1
  113. package/dist/client/assets/{index-ByA6j7_H.js → index-DlboOjMX.js} +1 -1
  114. package/dist/client/assets/{infiniteQueryObserver-DKiK82rX.js → infiniteQueryObserver-CiekiSCa.js} +1 -1
  115. package/dist/client/assets/{input-CW7SVowR.js → input-Cch0IC2D.js} +1 -1
  116. package/dist/client/assets/{integration-icon-DAFtApWT.js → integration-icon-BtE6qqXO.js} +1 -1
  117. package/dist/client/assets/{label-DWU1nKSS.js → label-BLzrK_Rs.js} +1 -1
  118. package/dist/client/assets/layout-BDCv6fVK.js +1 -0
  119. package/dist/client/assets/{layout-CzVwolFw.js → layout-JuxaRCBK.js} +1 -1
  120. package/dist/client/assets/{localstorage-keys-BAzeyS9J.js → localstorage-keys-CxWEzkpK.js} +1 -1
  121. package/dist/client/assets/login-4Ej4TxT2.js +1 -0
  122. package/dist/client/assets/{markdown-DCSB9ejV.js → markdown-B9U6C-Vk.js} +1 -1
  123. package/dist/client/assets/{mcp-app-renderer-BtuEhdWL.js → mcp-app-renderer-vWTHzC-y.js} +1 -1
  124. package/dist/client/assets/{mcp-oauth-D8pA0WRM.js → mcp-oauth-D_4U_dE3.js} +1 -1
  125. package/dist/client/assets/{mcp-server-card-D7xlSyX7.js → mcp-server-card-xdUT5WQB.js} +1 -1
  126. package/dist/client/assets/{mcp-server-detail-DdKXdUu2.js → mcp-server-detail-CZ73zkO0.js} +2 -2
  127. package/dist/client/assets/members-CNen9UaM.js +3 -0
  128. package/dist/client/assets/{monaco-editor-zyWgiZEt.js → monaco-editor-CYwLLnlJ.js} +1 -1
  129. package/dist/client/assets/{monitoring-SM_c8qxT.js → monitoring-BoQ3xY78.js} +1 -1
  130. package/dist/client/assets/monitoring-dashboard-edit-BdndwDLO.js +1 -0
  131. package/dist/client/assets/{monitoring-dashboard-view-C3qQNwfm.js → monitoring-dashboard-view-C4LyubYv.js} +2 -2
  132. package/dist/client/assets/{oauth-callback-1SC3hH5y.js → oauth-callback-B6grmhGw.js} +1 -1
  133. package/dist/client/assets/page-BEtq2_NI.js +1 -0
  134. package/dist/client/assets/{page-hoODnFtN.js → page-BnZfgb1H.js} +1 -1
  135. package/dist/client/assets/{plugin-empty-state-Cl_h_OgT.js → plugin-empty-state-CJi_lWXP.js} +1 -1
  136. package/dist/client/assets/{plugin-empty-state-Doboc7Tq.js → plugin-empty-state-DyUfvnh_.js} +1 -1
  137. package/dist/client/assets/{plugin-header-DNeaPoeS.js → plugin-header-B7DjR-EV.js} +1 -1
  138. package/dist/client/assets/{plugin-header-C4Dfehzm.js → plugin-header-UTo9wubo.js} +1 -1
  139. package/dist/client/assets/plugins-HjXVX3kj.js +1 -0
  140. package/dist/client/assets/{popover-BNZ96bFv.js → popover-CH5Uw6Js.js} +1 -1
  141. package/dist/client/assets/{project-app-view-Bsbq4Qf_.js → project-app-view-DdBfbyq8.js} +1 -1
  142. package/dist/client/assets/{project-layout-B4cnkESa.js → project-layout-hj30-COK.js} +1 -1
  143. package/dist/client/assets/{project-plugins-CqDaIw1P.js → project-plugins-DiXNjiNd.js} +1 -1
  144. package/dist/client/assets/{projects-list-CgsVuZof.js → projects-list-BhN8iQTZ.js} +1 -1
  145. package/dist/client/assets/{readme-viewer-CKidIXa3.js → readme-viewer-D1bVaWvP.js} +1 -1
  146. package/dist/client/assets/{registry-layout-oUh5Zl7W.js → registry-layout-vtzlbvnH.js} +1 -1
  147. package/dist/client/assets/{registry-utils-DXJps8H7.js → registry-utils-M1yY8DgS.js} +1 -1
  148. package/dist/client/assets/{reports-layout-CFJRqv-Q.js → reports-layout-BiNtHVIg.js} +1 -1
  149. package/dist/client/assets/{reset-password-ZQI9gTW6.js → reset-password-CVwZZFPi.js} +1 -1
  150. package/dist/client/assets/{resizable-CWRglWOX.js → resizable-taukBI4-.js} +1 -1
  151. package/dist/client/assets/{save-actions-eGQZXGI3.js → save-actions-DkD1FHqW.js} +1 -1
  152. package/dist/client/assets/{scroll-area-By1z4ZyY.js → scroll-area-nyuwfJ38.js} +1 -1
  153. package/dist/client/assets/{select-CYY4CENz.js → select-iAQ1JGAr.js} +1 -1
  154. package/dist/client/assets/{shell-layout-DMKfJTmj.js → shell-layout-hy8oqx1b.js} +2 -2
  155. package/dist/client/assets/{sidebar-settings-ILgspCqY.js → sidebar-settings-DQE_2wSn.js} +1 -1
  156. package/dist/client/assets/{skeleton-C4ZMp7sl.js → skeleton-BavbnGik.js} +1 -1
  157. package/dist/client/assets/{spinner-oA3jiJW_.js → spinner-BsdcXRt-.js} +1 -1
  158. package/dist/client/assets/{store-invite-Bfy0Alsf.js → store-invite-BlSnhDpm.js} +1 -1
  159. package/dist/client/assets/switch-BYETmQBd.js +1 -0
  160. package/dist/client/assets/{table-RFgqEt_E.js → table-5KSUgwco.js} +1 -1
  161. package/dist/client/assets/tabs-BCXNMT0l.js +1 -0
  162. package/dist/client/assets/tasks-BEHJWLwK.js +1 -0
  163. package/dist/client/assets/{tasks-panel-C7RwVTDD.js → tasks-panel-DXBfZcDd.js} +1 -1
  164. package/dist/client/assets/{textarea-4HpXofT0.js → textarea-D4QsZZY2.js} +1 -1
  165. package/dist/client/assets/{time-range-picker-Cx2A-Fs_.js → time-range-picker-LYFa1sSz.js} +1 -1
  166. package/dist/client/assets/{toggle-group-CVFHcp8K.js → toggle-group-CnLXoLRJ.js} +1 -1
  167. package/dist/client/assets/tools-list-CWpIc2sG.js +1 -0
  168. package/dist/client/assets/tooltip-Bb66VFhj.js +1 -0
  169. package/dist/client/assets/{topbar-portal-DOwsTUY4.js → topbar-portal-DBCM_jc6.js} +1 -1
  170. package/dist/client/assets/{types-B46wd5bS.js → types-CGMnrrVy.js} +1 -1
  171. package/dist/client/assets/use-binding-Bi9qdfAY.js +1 -0
  172. package/dist/client/assets/{use-collections-vccihohV.js → use-collections-BF-71bZg.js} +1 -1
  173. package/dist/client/assets/{use-connection-DeEn4qfI.js → use-connection-Bv6BgTqI.js} +1 -1
  174. package/dist/client/assets/{use-copy-CykDvxn6.js → use-copy-QwK_lQBK.js} +1 -1
  175. package/dist/client/assets/{use-create-virtual-mcp-DB14T-Ft.js → use-create-virtual-mcp-wYKTF_rl.js} +1 -1
  176. package/dist/client/assets/{use-install-from-registry-BeHRHLDl.js → use-install-from-registry-CM7KAiir.js} +1 -1
  177. package/dist/client/assets/{use-list-state-ykkfYLR3.js → use-list-state-CB-KMJqf.js} +1 -1
  178. package/dist/client/assets/{use-llm-B_iPCa-K.js → use-llm-lZx_FT_g.js} +1 -1
  179. package/dist/client/assets/{use-mcp-resources-Rqzq7A0J.js → use-mcp-resources-MU6kxIry.js} +1 -1
  180. package/dist/client/assets/{use-mcp-tools-BXihKxpu.js → use-mcp-tools-q5O9mXfB.js} +1 -1
  181. package/dist/client/assets/{use-members-DAcqcxDX.js → use-members-xNw9MWgV.js} +1 -1
  182. package/dist/client/assets/{use-mobile-B2VAoWT2.js → use-mobile-By224gq0.js} +1 -1
  183. package/dist/client/assets/{use-project-D96OXk4y.js → use-project-Dr0Nftxm.js} +1 -1
  184. package/dist/client/assets/{use-settings-modal-CouKpdi3.js → use-settings-modal-5estZr-G.js} +1 -1
  185. package/dist/client/assets/{use-view-mode-DyK0fMBe.js → use-view-mode-Dd5y7aaP.js} +1 -1
  186. package/dist/client/assets/{use-virtual-mcp-OwU65kyR.js → use-virtual-mcp-T76ZkZ-8.js} +1 -1
  187. package/dist/client/assets/useInfiniteQuery-DGesCtT2.js +1 -0
  188. package/dist/client/assets/{useMutation-lBFQDcxE.js → useMutation-DRjp2Nl5.js} +1 -1
  189. package/dist/client/assets/useQuery-BcAK4m0m.js +1 -0
  190. package/dist/client/assets/useSuspenseInfiniteQuery-B9EajsfN.js +1 -0
  191. package/dist/client/assets/{user-C73vNaiS.js → user-CkBLhwlg.js} +1 -1
  192. package/dist/client/assets/{workflow-S9BhswBs.js → workflow-C8yX97ao.js} +1 -1
  193. package/dist/client/index.html +1 -1
  194. package/package.json +1 -1
  195. package/dist/client/assets/agent-detail-BxRuQLTH.js +0 -2
  196. package/dist/client/assets/agents-KBFzt520.js +0 -1
  197. package/dist/client/assets/connection-detail-DznxU3SC.js +0 -1
  198. package/dist/client/assets/connections-AQfSUAp3.js +0 -1
  199. package/dist/client/assets/constants-DvJZMaim.js +0 -1
  200. package/dist/client/assets/dynamic-plugin-layout-d0KDA7MF.js +0 -1
  201. package/dist/client/assets/index-B-STjJpH.js +0 -1
  202. package/dist/client/assets/layout-DEcRD72T.js +0 -1
  203. package/dist/client/assets/login-OPfY3bsF.js +0 -1
  204. package/dist/client/assets/members-YKyOsCaT.js +0 -3
  205. package/dist/client/assets/monitoring-dashboard-edit-cexdjvMw.js +0 -1
  206. package/dist/client/assets/page-DfTTOYQt.js +0 -1
  207. package/dist/client/assets/plugins-H9eiCXso.js +0 -1
  208. package/dist/client/assets/switch-BSc4dVNg.js +0 -1
  209. package/dist/client/assets/tabs-BZ-xfLNG.js +0 -1
  210. package/dist/client/assets/tasks-Cy-gkHRX.js +0 -1
  211. package/dist/client/assets/tools-list-BYphEqhu.js +0 -1
  212. package/dist/client/assets/tooltip-Cz-bAWiO.js +0 -1
  213. package/dist/client/assets/use-binding-Dz1SRdBY.js +0 -1
  214. package/dist/client/assets/useInfiniteQuery-Cl9EtkM0.js +0 -1
  215. package/dist/client/assets/useQuery-DcRkCB2j.js +0 -1
  216. package/dist/client/assets/useSuspenseInfiniteQuery-DdSDu-rZ.js +0 -1
@@ -1 +1 @@
1
- import{r as j,c as b,j as s,v as D,E as ee,u as te,d as se,B as ie}from"./index-B_0vsVr1.js";import{V as le,C as h}from"./index-UbeVlDrq.js";import{E as re,C as Z}from"./editable-task-title-HUenZvZX.js";import{a as G}from"./tasks-panel-C7RwVTDD.js";import{u as U,a as oe}from"./collapsible-sQONDG4w.js";import{I as J}from"./integration-icon-DAFtApWT.js";import{b as ne,P as ae,a as ce}from"./popover-BNZ96bFv.js";import{S as q}from"./skeleton-C4ZMp7sl.js";import{i as me,d as de}from"./constants-D9bRXDQp.js";import{b as fe}from"./use-virtual-mcp-OwU65kyR.js";import{i as ue}from"./ChevronRight-BT7U8Kip.js";import{t as Q}from"./Users03-CPWgVi4r.js";import{P as $}from"./index-QCmdl8uj.js";import{R,a as F,b as K}from"./resizable-CWRglWOX.js";import"./spinner-oA3jiJW_.js";import"./tooltip-Cz-bAWiO.js";import"./index-CvEIDmnk.js";import"./decopilot-events-DHSwekTa.js";import"./useQuery-DcRkCB2j.js";import"./dialog-Baq_fjtR.js";import"./X-uHaUni9w.js";import"./form-C5R0_qWR.js";import"./label-DWU1nKSS.js";import"./input-CW7SVowR.js";import"./usage-B8eRkRZY.js";import"./ArrowUp-B3tPpNuu.js";import"./ChevronDown-DAk1F2Sn.js";import"./Edit01-D3PaS600.js";import"./XCircle-C4iqiznn.js";import"./AlertCircle-CXJCnY_R.js";import"./select-CYY4CENz.js";import"./Check-G22LpKFd.js";import"./tabs-BZ-xfLNG.js";import"./localstorage-keys-BAzeyS9J.js";import"./useMutation-lBFQDcxE.js";import"./ArrowLeft-ihbjidrQ.js";import"./use-copy-CykDvxn6.js";import"./badge-CxJArm69.js";import"./Code01-UXkm6aqY.js";import"./SearchMd-Cpf31N-H.js";import"./use-create-virtual-mcp-DB14T-Ft.js";import"./use-mcp-resources-Rqzq7A0J.js";import"./Copy01-tzx60ICS.js";import"./marked.esm-BaswSlok.js";import"./markdown-DCSB9ejV.js";import"./mcp-app-renderer-BtuEhdWL.js";import"./types-B46wd5bS.js";import"./Eye-C_LYW9jG.js";import"./Globe02-X-Xm1ngz.js";import"./LayersTwo01-CRgWs3EX.js";import"./XClose-DGYV-4S5.js";import"./collection-search-q4T1hb73.js";import"./Loading01-B3gOoSbd.js";import"./use-connection-DeEn4qfI.js";import"./use-collections-vccihohV.js";import"./generate-id-Dyweu44Y.js";import"./Clock-CPO-Cqx6.js";import"./Trash01-HuK-pEft.js";import"./CheckCircle-Dl3Eh5mw.js";import"./ChevronLeft-CGPjZdmg.js";import"./user-C73vNaiS.js";import"./avatar-rYlL0ZoJ.js";import"./format-time-CMKyl-GC.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./Plus-Bo0L9uYY.js";import"./use-llm-B_iPCa-K.js";import"./use-binding-Dz1SRdBY.js";import"./binder-BXDCztlr.js";import"./checkbox-BCSzUsPR.js";import"./AlignLeft-Ckpqqq7X.js";import"./Image01-Dvb2vnmH.js";import"./RefreshCcw01-v6pXwg6P.js";import"./Settings01-BmEB9pVn.js";import"./useSuspenseInfiniteQuery-DdSDu-rZ.js";import"./infiniteQueryObserver-DKiK82rX.js";import"./Container-CyEPuAYL.js";const X=({size:e=24,color:t="currentColor",...i})=>j.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...i},j.createElement("path",{d:"M15 3v18M7.8 3h8.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C21 5.28 21 6.12 21 7.8v8.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V7.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C5.28 3 6.12 3 7.8 3Z"}));X.displayName="LayoutRight";const Y=({size:e=24,color:t="currentColor",...i})=>j.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...i},j.createElement("path",{d:"m10 15-3.075 3.114c-.43.434-.644.651-.828.666a.5.5 0 0 1-.421-.172c-.12-.14-.12-.446-.12-1.056v-1.56c0-.548-.449-.944-.99-1.024v0a3 3 0 0 1-2.534-2.533C2 12.219 2 11.96 2 11.445V6.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C4.28 2 5.12 2 6.8 2h7.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C19 4.28 19 5.12 19 6.8V11m0 11-2.176-1.513c-.306-.213-.46-.32-.626-.395a2.002 2.002 0 0 0-.462-.145c-.18-.033-.367-.033-.74-.033H13.2c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874C10 18.394 10 17.834 10 16.714V14.2c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C11.52 11 12.08 11 13.2 11h5.6c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874C22 12.52 22 13.08 22 14.2v2.714c0 .932 0 1.398-.152 1.766a2 2 0 0 1-1.083 1.082c-.367.152-.833.152-1.765.152V22Z"}));Y.displayName="MessageChatSquare";function pe(e){const t=b.c(15),{agent:i}=e,{setVirtualMcpId:p}=U();let c;t[0]!==i.id||t[1]!==p?(c=()=>{p(i.id)},t[0]=i.id,t[1]=p,t[2]=c):c=t[2];const r=c;let m;t[3]===Symbol.for("react.memo_cache_sentinel")?(m=D("flex flex-col items-center gap-3 p-2 rounded-lg","transition-colors hover:bg-accent/30","cursor-pointer","self-stretch"),t[3]=m):m=t[3];const f=`Select agent ${i.title}`;let o;t[4]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(Q,{size:20}),t[4]=o):o=t[4];let n;t[5]!==i.icon||t[6]!==i.title?(n=s.jsx(J,{icon:i.icon,name:i.title,fallbackIcon:o}),t[5]=i.icon,t[6]=i.title,t[7]=n):n=t[7];let l;t[8]!==i.title?(l=s.jsx("p",{className:"text-sm text-foreground text-center leading-tight line-clamp-2",children:i.title}),t[8]=i.title,t[9]=l):l=t[9];let a;return t[10]!==r||t[11]!==f||t[12]!==n||t[13]!==l?(a=s.jsxs("button",{type:"button",onClick:r,className:m,"aria-label":f,children:[n,l]}),t[10]=r,t[11]=f,t[12]=n,t[13]=l,t[14]=a):a=t[14],a}function xe(e){const t=b.c(14),{virtualMcps:i,selectedVirtualMcpId:p,onVirtualMcpChange:c}=e,[r,m]=j.useState(!1),f=j.useRef(null);let o,n;t[0]!==r?(o=()=>{r&&setTimeout(()=>{f.current?.focus()},0)},n=[r],t[0]=r,t[1]=o,t[2]=n):(o=t[1],n=t[2]),j.useEffect(o,n);let l;t[3]!==c?(l=N=>{c(N),m(!1)},t[3]=c,t[4]=l):l=t[4];const a=l;let d;t[5]===Symbol.for("react.memo_cache_sentinel")?(d=D("flex flex-col items-center gap-3 p-2 rounded-lg","transition-colors hover:bg-accent/30","cursor-pointer","self-stretch"),t[5]=d):d=t[5];let u;t[6]===Symbol.for("react.memo_cache_sentinel")?(u=s.jsx(ne,{asChild:!0,children:s.jsxs("button",{type:"button",className:d,"aria-label":"See all agents",children:[s.jsx("div",{className:"size-12 rounded-lg bg-accent flex items-center justify-center shrink-0",children:s.jsx(ue,{size:24,className:"text-foreground"})}),s.jsx("p",{className:"text-sm text-foreground text-center leading-tight",children:"See all"})]})}),t[6]=u):u=t[6];let x;t[7]!==a||t[8]!==p||t[9]!==i?(x=s.jsx(ae,{className:"w-[550px] p-0 overflow-hidden",align:"start",side:"top",sideOffset:8,children:s.jsx(le,{virtualMcps:i,selectedVirtualMcpId:p,onVirtualMcpChange:a,searchInputRef:f})}),t[7]=a,t[8]=p,t[9]=i,t[10]=x):x=t[10];let A;return t[11]!==r||t[12]!==x?(A=s.jsxs(ce,{open:r,onOpenChange:m,children:[u,x]}),t[11]=r,t[12]=x,t[13]=A):A=t[13],A}function he(){const e=b.c(20),t=fe(),{selectedVirtualMcp:i,setVirtualMcpId:p}=U();let c,r,m,f,o,n;if(e[0]!==t){o=Symbol.for("react.early_return_sentinel");e:{const x=t.filter(be).slice(0,6);if(x.length===0){o=null;break e}n=t.map(ge),m="w-full max-w-[800px]",e[7]===Symbol.for("react.memo_cache_sentinel")?(f=s.jsx("h2",{className:"text-sm font-medium text-muted-foreground mb-4",children:"Recently used agents"}),e[7]=f):f=e[7],c="grid grid-cols-3 sm:grid-cols-4 md:grid-cols-7 gap-2",r=x.map(je)}e[0]=t,e[1]=c,e[2]=r,e[3]=m,e[4]=f,e[5]=o,e[6]=n}else c=e[1],r=e[2],m=e[3],f=e[4],o=e[5],n=e[6];if(o!==Symbol.for("react.early_return_sentinel"))return o;const l=i?.id??null;let a;e[8]!==p||e[9]!==l||e[10]!==n?(a=s.jsx(xe,{virtualMcps:n,selectedVirtualMcpId:l,onVirtualMcpChange:p}),e[8]=p,e[9]=l,e[10]=n,e[11]=a):a=e[11];let d;e[12]!==c||e[13]!==r||e[14]!==a?(d=s.jsxs("div",{className:c,children:[r,a]}),e[12]=c,e[13]=r,e[14]=a,e[15]=d):d=e[15];let u;return e[16]!==m||e[17]!==f||e[18]!==d?(u=s.jsxs("div",{className:m,children:[f,d]}),e[16]=m,e[17]=f,e[18]=d,e[19]=u):u=e[19],u}function je(e){return s.jsx(pe,{agent:e},e.id??"default")}function ge(e){return{id:e.id,title:e.title,description:e.description,icon:e.icon}}function be(e){return e.id!==null&&!me(e.id)}function Ne(){const e=b.c(2);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t=s.jsx(q,{className:"h-5 w-40 mb-4"}),e[0]=t):t=e[0];let i;return e[1]===Symbol.for("react.memo_cache_sentinel")?(i=s.jsxs("div",{className:"w-full max-w-[800px]",children:[t,s.jsx("div",{className:"grid grid-cols-3 sm:grid-cols-4 md:grid-cols-7 gap-2",children:Array.from({length:7}).map(Ce)})]}),e[1]=i):i=e[1],i}function Ce(e,t){return s.jsxs("div",{className:"flex flex-col items-center gap-3 p-2 self-stretch",children:[s.jsx(q,{className:"size-6 rounded-md shrink-0"}),s.jsx(q,{className:"h-4 w-full"})]},t)}function ve(){const e=b.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=s.jsx(j.Suspense,{fallback:s.jsx(Ne,{}),children:s.jsx(he,{})}),e[0]=t):t=e[0],t}function Se(){const e=b.c(50),{org:t}=te(),{data:i}=se.useSession(),{modelsConnections:p,isChatEmpty:c,activeTaskId:r,tasks:m,selectedVirtualMcp:f}=oe();let o;if(e[0]!==r||e[1]!==m){let g;e[3]!==r?(g=P=>P.id===r,e[3]=r,e[4]=g):g=e[4],o=m.find(g),e[0]=r,e[1]=m,e[2]=o}else o=e[2];const n=o,[l,a]=j.useState(!1);let d;e[5]!==i?.user?.name?(d=i?.user?.name?.split(" ")[0]||"there",e[5]=i?.user?.name,e[6]=d):d=e[6];const u=d;let x;e[7]!==t.id?(x=de(t.id),e[7]=t.id,e[8]=x):x=e[8];const N=f??x;if(p.length===0){let g,P;e[9]===Symbol.for("react.memo_cache_sentinel")?(g=s.jsx(R,{defaultSize:20,minSize:10,id:"tasks",order:1,children:s.jsx(G,{})}),P=s.jsx(F,{className:"bg-border/30"}),e[9]=g,e[10]=P):(g=e[9],P=e[10]);const W=l?50:80;let V;e[11]!==t?(V=s.jsx("div",{className:"flex flex-col h-full bg-background items-center justify-center",children:s.jsx(h.NoLlmBindingEmptyState,{org:t})}),e[11]=t,e[12]=V):V=e[12];let E;e[13]!==W||e[14]!==V?(E=s.jsx(R,{defaultSize:W,minSize:30,id:"main",order:2,children:V}),e[13]=W,e[14]=V,e[15]=E):E=e[15];let I;e[16]!==l?(I=l&&s.jsxs(s.Fragment,{children:[s.jsx(F,{className:"bg-border/30"}),s.jsx(R,{defaultSize:30,minSize:15,id:"context",order:3,children:s.jsx(Z,{onClose:()=>a(!1)})})]}),e[16]=l,e[17]=I):I=e[17];let B;return e[18]!==E||e[19]!==I?(B=s.jsxs(K,{direction:"horizontal",className:"size-full",children:[g,P,E,I]}),e[18]=E,e[19]=I,e[20]=B):B=e[20],B}let H,L;e[21]===Symbol.for("react.memo_cache_sentinel")?(H=s.jsx(R,{defaultSize:20,minSize:10,id:"tasks",order:1,children:s.jsx(G,{})}),L=s.jsx(F,{className:"bg-border/30"}),e[21]=H,e[22]=L):(H=e[21],L=e[22]);const O=l?50:80;let C;e[23]!==n?(C=n?.title&&s.jsx(re,{taskId:n.id,text:n.title,className:"text-sm font-medium text-foreground"}),e[23]=n,e[24]=C):C=e[24];let v;e[25]!==C?(v=s.jsx($.Header.Left,{className:"gap-2",children:C}),e[25]=C,e[26]=v):v=e[26];let S;e[27]!==c||e[28]!==l?(S=!c&&s.jsx("button",{type:"button",onClick:()=>a(ye),className:D("flex size-7 items-center justify-center rounded-md border border-input hover:bg-accent transition-colors",l&&"bg-accent"),title:"Toggle context panel",children:s.jsx(X,{size:14,className:"text-muted-foreground"})}),e[27]=c,e[28]=l,e[29]=S):S=e[29];let y;e[30]!==S?(y=s.jsx($.Header.Right,{className:"gap-1",children:S}),e[30]=S,e[31]=y):y=e[31];let k;e[32]!==v||e[33]!==y?(k=s.jsxs($.Header,{className:"flex-none z-10 bg-background",children:[v,y]}),e[32]=v,e[33]=y,e[34]=k):k=e[34];let _;e[35]!==N||e[36]!==c||e[37]!==u?(_=c?s.jsxs("div",{className:"flex-1 min-h-0 flex flex-col items-center justify-center px-10 pb-32 pt-10",children:[s.jsxs("div",{className:"flex flex-col items-center w-full max-w-[600px]",children:[s.jsx("div",{className:"flex justify-center mb-4",children:s.jsx(J,{icon:N.icon,name:N.title,size:"md",fallbackIcon:s.jsx(Q,{size:20}),className:"size-12 rounded-xl border border-stone-200/60 shadow-sm aspect-square transition-opacity duration-200"})}),s.jsx("div",{className:"text-center mb-8",children:s.jsxs("p",{className:"text-xl font-medium text-foreground",children:["What's on your mind, ",u,"?"]})}),s.jsx("div",{className:"w-full",children:s.jsx(h.Input,{})}),s.jsx(h.IceBreakers,{className:"w-full"})]}),s.jsx("div",{className:"flex flex-col items-center w-full mt-4",children:s.jsx(ve,{})})]}):s.jsxs(s.Fragment,{children:[s.jsx(h.Main,{children:s.jsx(h.Messages,{})}),s.jsx(h.Footer,{children:s.jsx(h.Input,{onOpenContextPanel:()=>a(!0)})})]}),e[35]=N,e[36]=c,e[37]=u,e[38]=_):_=e[38];let z;e[39]!==k||e[40]!==_?(z=s.jsxs(h,{className:"h-full bg-background",children:[k,_]}),e[39]=k,e[40]=_,e[41]=z):z=e[41];let w;e[42]!==z||e[43]!==O?(w=s.jsx(R,{defaultSize:O,minSize:30,id:"main",order:2,children:z}),e[42]=z,e[43]=O,e[44]=w):w=e[44];let M;e[45]!==l?(M=l&&s.jsxs(s.Fragment,{children:[s.jsx(F,{className:"bg-border/30"}),s.jsx(R,{defaultSize:30,minSize:15,id:"context",order:3,children:s.jsx(Z,{onClose:()=>a(!1)})})]}),e[45]=l,e[46]=M):M=e[46];let T;return e[47]!==w||e[48]!==M?(T=s.jsxs(K,{direction:"horizontal",className:"size-full",children:[H,L,w,M]}),e[47]=w,e[48]=M,e[49]=T):T=e[49],T}function ye(e){return!e}function ke(e){const t=b.c(14),{error:i,onRetry:p}=e,c=i?.message?.includes("401")||i?.message?.toLowerCase().includes("unauthorized");let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r=s.jsxs($.Header,{className:"flex-none",children:[s.jsx($.Header.Left,{className:"gap-2"}),s.jsx($.Header.Right,{className:"gap-1"})]}),t[0]=r):r=t[0];let m;t[1]===Symbol.for("react.memo_cache_sentinel")?(m=s.jsx("div",{className:"bg-destructive/10 p-3 rounded-full mx-auto w-fit",children:s.jsx(Y,{className:"h-6 w-6 text-destructive"})}),t[1]=m):m=t[1];const f=c?"Unable to load models":"Something went wrong";let o;t[2]!==f?(o=s.jsx("h3",{className:"text-lg font-medium",children:f}),t[2]=f,t[3]=o):o=t[3];const n=c?"There was an authentication error while loading the models. This might be due to an expired session or invalid API key.":i?.message||"An unexpected error occurred";let l;t[4]!==n?(l=s.jsx("p",{className:"text-sm text-muted-foreground",children:n}),t[4]=n,t[5]=l):l=t[5];let a;t[6]!==o||t[7]!==l?(a=s.jsxs("div",{className:"space-y-2",children:[o,l]}),t[6]=o,t[7]=l,t[8]=a):a=t[8];let d;t[9]!==p?(d=s.jsx(ie,{variant:"outline",onClick:p,children:"Try again"}),t[9]=p,t[10]=d):d=t[10];let u;return t[11]!==a||t[12]!==d?(u=s.jsxs(h,{children:[r,s.jsx("div",{className:"flex-1 flex flex-col items-center justify-center p-6 text-center",children:s.jsxs("div",{className:"max-w-sm space-y-4",children:[m,a,d]})})]}),t[11]=a,t[12]=d,t[13]=u):u=t[13],u}function Ut(){const e=b.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=s.jsx(ee,{fallback:_e,children:s.jsx(j.Suspense,{fallback:s.jsx(h.Skeleton,{}),children:s.jsx(Se,{})})}),e[0]=t):t=e[0],t}function _e(e){const{error:t,resetError:i}=e;return s.jsx(ke,{error:t,onRetry:i})}export{Ut as default};
1
+ import{r as j,c as b,j as s,v as D,E as ee,u as te,d as se,B as ie}from"./index-Cb17fVaO.js";import{V as le,C as h}from"./index-CvxrBAxY.js";import{E as re,C as Z}from"./editable-task-title-Po1P2Wd0.js";import{a as G}from"./tasks-panel-DXBfZcDd.js";import{u as U,a as oe}from"./collapsible-C32NLu9h.js";import{I as J}from"./integration-icon-BtE6qqXO.js";import{b as ne,P as ae,a as ce}from"./popover-CH5Uw6Js.js";import{S as q}from"./skeleton-BavbnGik.js";import{i as me,d as de}from"./constants-B_iiTUip.js";import{b as fe}from"./use-virtual-mcp-T76ZkZ-8.js";import{i as ue}from"./ChevronRight-DZwFOSrA.js";import{t as Q}from"./Users03-CUtoEpN2.js";import{P as $}from"./index-DLDRkAi_.js";import{R,a as F,b as K}from"./resizable-taukBI4-.js";import"./spinner-BsdcXRt-.js";import"./tooltip-Bb66VFhj.js";import"./index-B5u30SQw.js";import"./decopilot-events-Dczeyumg.js";import"./useQuery-BcAK4m0m.js";import"./dialog-BuY4tTjY.js";import"./X-DZCW78jV.js";import"./form-Ci0uQFmj.js";import"./label-BLzrK_Rs.js";import"./input-Cch0IC2D.js";import"./usage-B8eRkRZY.js";import"./ArrowUp-DNV5Voek.js";import"./ChevronDown-BjWhsewG.js";import"./Edit01-CPphoQZI.js";import"./XCircle-BRYqxNwU.js";import"./AlertCircle-Bz0Gu2J2.js";import"./select-iAQ1JGAr.js";import"./Check-e1LxjlnS.js";import"./tabs-BCXNMT0l.js";import"./localstorage-keys-CxWEzkpK.js";import"./useMutation-DRjp2Nl5.js";import"./ArrowLeft-bHzBiXiT.js";import"./use-copy-QwK_lQBK.js";import"./badge-CU_zbIXX.js";import"./Code01-Den27Mse.js";import"./SearchMd-DF5i6zVs.js";import"./use-create-virtual-mcp-wYKTF_rl.js";import"./use-mcp-resources-MU6kxIry.js";import"./Copy01-BCJxa3pS.js";import"./marked.esm-BaswSlok.js";import"./markdown-B9U6C-Vk.js";import"./mcp-app-renderer-vWTHzC-y.js";import"./types-CGMnrrVy.js";import"./Eye-B65VnOsY.js";import"./Globe02-C7u-Ldxq.js";import"./LayersTwo01-CuCFLmbR.js";import"./XClose-CuKHHhHx.js";import"./collection-search-D8Kd7sE4.js";import"./Loading01-By16fsIj.js";import"./use-connection-Bv6BgTqI.js";import"./use-collections-BF-71bZg.js";import"./generate-id-Dyweu44Y.js";import"./Clock-BDkBqrq2.js";import"./Trash01-BZm-kVJv.js";import"./CheckCircle-aG4ywA2O.js";import"./ChevronLeft-bfDO3afT.js";import"./user-CkBLhwlg.js";import"./avatar-Bp7Qjpgt.js";import"./format-time-CMKyl-GC.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./Plus-jLReB_Bt.js";import"./use-llm-lZx_FT_g.js";import"./use-binding-Bi9qdfAY.js";import"./binder-D8RBAvqy.js";import"./checkbox-Dkby6oH1.js";import"./AlignLeft-cTDyunvB.js";import"./Image01-HHGXqEyS.js";import"./RefreshCcw01-CJTVrN2f.js";import"./Settings01-B3dw12xC.js";import"./useSuspenseInfiniteQuery-B9EajsfN.js";import"./infiniteQueryObserver-CiekiSCa.js";import"./Container-w8ZJjmnR.js";const X=({size:e=24,color:t="currentColor",...i})=>j.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...i},j.createElement("path",{d:"M15 3v18M7.8 3h8.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C21 5.28 21 6.12 21 7.8v8.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V7.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C5.28 3 6.12 3 7.8 3Z"}));X.displayName="LayoutRight";const Y=({size:e=24,color:t="currentColor",...i})=>j.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...i},j.createElement("path",{d:"m10 15-3.075 3.114c-.43.434-.644.651-.828.666a.5.5 0 0 1-.421-.172c-.12-.14-.12-.446-.12-1.056v-1.56c0-.548-.449-.944-.99-1.024v0a3 3 0 0 1-2.534-2.533C2 12.219 2 11.96 2 11.445V6.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C4.28 2 5.12 2 6.8 2h7.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C19 4.28 19 5.12 19 6.8V11m0 11-2.176-1.513c-.306-.213-.46-.32-.626-.395a2.002 2.002 0 0 0-.462-.145c-.18-.033-.367-.033-.74-.033H13.2c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874C10 18.394 10 17.834 10 16.714V14.2c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C11.52 11 12.08 11 13.2 11h5.6c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874C22 12.52 22 13.08 22 14.2v2.714c0 .932 0 1.398-.152 1.766a2 2 0 0 1-1.083 1.082c-.367.152-.833.152-1.765.152V22Z"}));Y.displayName="MessageChatSquare";function pe(e){const t=b.c(15),{agent:i}=e,{setVirtualMcpId:p}=U();let c;t[0]!==i.id||t[1]!==p?(c=()=>{p(i.id)},t[0]=i.id,t[1]=p,t[2]=c):c=t[2];const r=c;let m;t[3]===Symbol.for("react.memo_cache_sentinel")?(m=D("flex flex-col items-center gap-3 p-2 rounded-lg","transition-colors hover:bg-accent/30","cursor-pointer","self-stretch"),t[3]=m):m=t[3];const f=`Select agent ${i.title}`;let o;t[4]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(Q,{size:20}),t[4]=o):o=t[4];let n;t[5]!==i.icon||t[6]!==i.title?(n=s.jsx(J,{icon:i.icon,name:i.title,fallbackIcon:o}),t[5]=i.icon,t[6]=i.title,t[7]=n):n=t[7];let l;t[8]!==i.title?(l=s.jsx("p",{className:"text-sm text-foreground text-center leading-tight line-clamp-2",children:i.title}),t[8]=i.title,t[9]=l):l=t[9];let a;return t[10]!==r||t[11]!==f||t[12]!==n||t[13]!==l?(a=s.jsxs("button",{type:"button",onClick:r,className:m,"aria-label":f,children:[n,l]}),t[10]=r,t[11]=f,t[12]=n,t[13]=l,t[14]=a):a=t[14],a}function xe(e){const t=b.c(14),{virtualMcps:i,selectedVirtualMcpId:p,onVirtualMcpChange:c}=e,[r,m]=j.useState(!1),f=j.useRef(null);let o,n;t[0]!==r?(o=()=>{r&&setTimeout(()=>{f.current?.focus()},0)},n=[r],t[0]=r,t[1]=o,t[2]=n):(o=t[1],n=t[2]),j.useEffect(o,n);let l;t[3]!==c?(l=N=>{c(N),m(!1)},t[3]=c,t[4]=l):l=t[4];const a=l;let d;t[5]===Symbol.for("react.memo_cache_sentinel")?(d=D("flex flex-col items-center gap-3 p-2 rounded-lg","transition-colors hover:bg-accent/30","cursor-pointer","self-stretch"),t[5]=d):d=t[5];let u;t[6]===Symbol.for("react.memo_cache_sentinel")?(u=s.jsx(ne,{asChild:!0,children:s.jsxs("button",{type:"button",className:d,"aria-label":"See all agents",children:[s.jsx("div",{className:"size-12 rounded-lg bg-accent flex items-center justify-center shrink-0",children:s.jsx(ue,{size:24,className:"text-foreground"})}),s.jsx("p",{className:"text-sm text-foreground text-center leading-tight",children:"See all"})]})}),t[6]=u):u=t[6];let x;t[7]!==a||t[8]!==p||t[9]!==i?(x=s.jsx(ae,{className:"w-[550px] p-0 overflow-hidden",align:"start",side:"top",sideOffset:8,children:s.jsx(le,{virtualMcps:i,selectedVirtualMcpId:p,onVirtualMcpChange:a,searchInputRef:f})}),t[7]=a,t[8]=p,t[9]=i,t[10]=x):x=t[10];let A;return t[11]!==r||t[12]!==x?(A=s.jsxs(ce,{open:r,onOpenChange:m,children:[u,x]}),t[11]=r,t[12]=x,t[13]=A):A=t[13],A}function he(){const e=b.c(20),t=fe(),{selectedVirtualMcp:i,setVirtualMcpId:p}=U();let c,r,m,f,o,n;if(e[0]!==t){o=Symbol.for("react.early_return_sentinel");e:{const x=t.filter(be).slice(0,6);if(x.length===0){o=null;break e}n=t.map(ge),m="w-full max-w-[800px]",e[7]===Symbol.for("react.memo_cache_sentinel")?(f=s.jsx("h2",{className:"text-sm font-medium text-muted-foreground mb-4",children:"Recently used agents"}),e[7]=f):f=e[7],c="grid grid-cols-3 sm:grid-cols-4 md:grid-cols-7 gap-2",r=x.map(je)}e[0]=t,e[1]=c,e[2]=r,e[3]=m,e[4]=f,e[5]=o,e[6]=n}else c=e[1],r=e[2],m=e[3],f=e[4],o=e[5],n=e[6];if(o!==Symbol.for("react.early_return_sentinel"))return o;const l=i?.id??null;let a;e[8]!==p||e[9]!==l||e[10]!==n?(a=s.jsx(xe,{virtualMcps:n,selectedVirtualMcpId:l,onVirtualMcpChange:p}),e[8]=p,e[9]=l,e[10]=n,e[11]=a):a=e[11];let d;e[12]!==c||e[13]!==r||e[14]!==a?(d=s.jsxs("div",{className:c,children:[r,a]}),e[12]=c,e[13]=r,e[14]=a,e[15]=d):d=e[15];let u;return e[16]!==m||e[17]!==f||e[18]!==d?(u=s.jsxs("div",{className:m,children:[f,d]}),e[16]=m,e[17]=f,e[18]=d,e[19]=u):u=e[19],u}function je(e){return s.jsx(pe,{agent:e},e.id??"default")}function ge(e){return{id:e.id,title:e.title,description:e.description,icon:e.icon}}function be(e){return e.id!==null&&!me(e.id)}function Ne(){const e=b.c(2);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t=s.jsx(q,{className:"h-5 w-40 mb-4"}),e[0]=t):t=e[0];let i;return e[1]===Symbol.for("react.memo_cache_sentinel")?(i=s.jsxs("div",{className:"w-full max-w-[800px]",children:[t,s.jsx("div",{className:"grid grid-cols-3 sm:grid-cols-4 md:grid-cols-7 gap-2",children:Array.from({length:7}).map(Ce)})]}),e[1]=i):i=e[1],i}function Ce(e,t){return s.jsxs("div",{className:"flex flex-col items-center gap-3 p-2 self-stretch",children:[s.jsx(q,{className:"size-6 rounded-md shrink-0"}),s.jsx(q,{className:"h-4 w-full"})]},t)}function ve(){const e=b.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=s.jsx(j.Suspense,{fallback:s.jsx(Ne,{}),children:s.jsx(he,{})}),e[0]=t):t=e[0],t}function Se(){const e=b.c(50),{org:t}=te(),{data:i}=se.useSession(),{modelsConnections:p,isChatEmpty:c,activeTaskId:r,tasks:m,selectedVirtualMcp:f}=oe();let o;if(e[0]!==r||e[1]!==m){let g;e[3]!==r?(g=P=>P.id===r,e[3]=r,e[4]=g):g=e[4],o=m.find(g),e[0]=r,e[1]=m,e[2]=o}else o=e[2];const n=o,[l,a]=j.useState(!1);let d;e[5]!==i?.user?.name?(d=i?.user?.name?.split(" ")[0]||"there",e[5]=i?.user?.name,e[6]=d):d=e[6];const u=d;let x;e[7]!==t.id?(x=de(t.id),e[7]=t.id,e[8]=x):x=e[8];const N=f??x;if(p.length===0){let g,P;e[9]===Symbol.for("react.memo_cache_sentinel")?(g=s.jsx(R,{defaultSize:20,minSize:10,id:"tasks",order:1,children:s.jsx(G,{})}),P=s.jsx(F,{className:"bg-border/30"}),e[9]=g,e[10]=P):(g=e[9],P=e[10]);const W=l?50:80;let V;e[11]!==t?(V=s.jsx("div",{className:"flex flex-col h-full bg-background items-center justify-center",children:s.jsx(h.NoLlmBindingEmptyState,{org:t})}),e[11]=t,e[12]=V):V=e[12];let E;e[13]!==W||e[14]!==V?(E=s.jsx(R,{defaultSize:W,minSize:30,id:"main",order:2,children:V}),e[13]=W,e[14]=V,e[15]=E):E=e[15];let I;e[16]!==l?(I=l&&s.jsxs(s.Fragment,{children:[s.jsx(F,{className:"bg-border/30"}),s.jsx(R,{defaultSize:30,minSize:15,id:"context",order:3,children:s.jsx(Z,{onClose:()=>a(!1)})})]}),e[16]=l,e[17]=I):I=e[17];let B;return e[18]!==E||e[19]!==I?(B=s.jsxs(K,{direction:"horizontal",className:"size-full",children:[g,P,E,I]}),e[18]=E,e[19]=I,e[20]=B):B=e[20],B}let H,L;e[21]===Symbol.for("react.memo_cache_sentinel")?(H=s.jsx(R,{defaultSize:20,minSize:10,id:"tasks",order:1,children:s.jsx(G,{})}),L=s.jsx(F,{className:"bg-border/30"}),e[21]=H,e[22]=L):(H=e[21],L=e[22]);const O=l?50:80;let C;e[23]!==n?(C=n?.title&&s.jsx(re,{taskId:n.id,text:n.title,className:"text-sm font-medium text-foreground"}),e[23]=n,e[24]=C):C=e[24];let v;e[25]!==C?(v=s.jsx($.Header.Left,{className:"gap-2",children:C}),e[25]=C,e[26]=v):v=e[26];let S;e[27]!==c||e[28]!==l?(S=!c&&s.jsx("button",{type:"button",onClick:()=>a(ye),className:D("flex size-7 items-center justify-center rounded-md border border-input hover:bg-accent transition-colors",l&&"bg-accent"),title:"Toggle context panel",children:s.jsx(X,{size:14,className:"text-muted-foreground"})}),e[27]=c,e[28]=l,e[29]=S):S=e[29];let y;e[30]!==S?(y=s.jsx($.Header.Right,{className:"gap-1",children:S}),e[30]=S,e[31]=y):y=e[31];let k;e[32]!==v||e[33]!==y?(k=s.jsxs($.Header,{className:"flex-none z-10 bg-background",children:[v,y]}),e[32]=v,e[33]=y,e[34]=k):k=e[34];let _;e[35]!==N||e[36]!==c||e[37]!==u?(_=c?s.jsxs("div",{className:"flex-1 min-h-0 flex flex-col items-center justify-center px-10 pb-32 pt-10",children:[s.jsxs("div",{className:"flex flex-col items-center w-full max-w-[600px]",children:[s.jsx("div",{className:"flex justify-center mb-4",children:s.jsx(J,{icon:N.icon,name:N.title,size:"md",fallbackIcon:s.jsx(Q,{size:20}),className:"size-12 rounded-xl border border-stone-200/60 shadow-sm aspect-square transition-opacity duration-200"})}),s.jsx("div",{className:"text-center mb-8",children:s.jsxs("p",{className:"text-xl font-medium text-foreground",children:["What's on your mind, ",u,"?"]})}),s.jsx("div",{className:"w-full",children:s.jsx(h.Input,{})}),s.jsx(h.IceBreakers,{className:"w-full"})]}),s.jsx("div",{className:"flex flex-col items-center w-full mt-4",children:s.jsx(ve,{})})]}):s.jsxs(s.Fragment,{children:[s.jsx(h.Main,{children:s.jsx(h.Messages,{})}),s.jsx(h.Footer,{children:s.jsx(h.Input,{onOpenContextPanel:()=>a(!0)})})]}),e[35]=N,e[36]=c,e[37]=u,e[38]=_):_=e[38];let z;e[39]!==k||e[40]!==_?(z=s.jsxs(h,{className:"h-full bg-background",children:[k,_]}),e[39]=k,e[40]=_,e[41]=z):z=e[41];let w;e[42]!==z||e[43]!==O?(w=s.jsx(R,{defaultSize:O,minSize:30,id:"main",order:2,children:z}),e[42]=z,e[43]=O,e[44]=w):w=e[44];let M;e[45]!==l?(M=l&&s.jsxs(s.Fragment,{children:[s.jsx(F,{className:"bg-border/30"}),s.jsx(R,{defaultSize:30,minSize:15,id:"context",order:3,children:s.jsx(Z,{onClose:()=>a(!1)})})]}),e[45]=l,e[46]=M):M=e[46];let T;return e[47]!==w||e[48]!==M?(T=s.jsxs(K,{direction:"horizontal",className:"size-full",children:[H,L,w,M]}),e[47]=w,e[48]=M,e[49]=T):T=e[49],T}function ye(e){return!e}function ke(e){const t=b.c(14),{error:i,onRetry:p}=e,c=i?.message?.includes("401")||i?.message?.toLowerCase().includes("unauthorized");let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r=s.jsxs($.Header,{className:"flex-none",children:[s.jsx($.Header.Left,{className:"gap-2"}),s.jsx($.Header.Right,{className:"gap-1"})]}),t[0]=r):r=t[0];let m;t[1]===Symbol.for("react.memo_cache_sentinel")?(m=s.jsx("div",{className:"bg-destructive/10 p-3 rounded-full mx-auto w-fit",children:s.jsx(Y,{className:"h-6 w-6 text-destructive"})}),t[1]=m):m=t[1];const f=c?"Unable to load models":"Something went wrong";let o;t[2]!==f?(o=s.jsx("h3",{className:"text-lg font-medium",children:f}),t[2]=f,t[3]=o):o=t[3];const n=c?"There was an authentication error while loading the models. This might be due to an expired session or invalid API key.":i?.message||"An unexpected error occurred";let l;t[4]!==n?(l=s.jsx("p",{className:"text-sm text-muted-foreground",children:n}),t[4]=n,t[5]=l):l=t[5];let a;t[6]!==o||t[7]!==l?(a=s.jsxs("div",{className:"space-y-2",children:[o,l]}),t[6]=o,t[7]=l,t[8]=a):a=t[8];let d;t[9]!==p?(d=s.jsx(ie,{variant:"outline",onClick:p,children:"Try again"}),t[9]=p,t[10]=d):d=t[10];let u;return t[11]!==a||t[12]!==d?(u=s.jsxs(h,{children:[r,s.jsx("div",{className:"flex-1 flex flex-col items-center justify-center p-6 text-center",children:s.jsxs("div",{className:"max-w-sm space-y-4",children:[m,a,d]})})]}),t[11]=a,t[12]=d,t[13]=u):u=t[13],u}function Ut(){const e=b.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=s.jsx(ee,{fallback:_e,children:s.jsx(j.Suspense,{fallback:s.jsx(h.Skeleton,{}),children:s.jsx(Se,{})})}),e[0]=t):t=e[0],t}function _e(e){const{error:t,resetError:i}=e;return s.jsx(ke,{error:t,onRetry:i})}export{Ut as default};
@@ -1 +1 @@
1
- import{c as a,j as t,aA as n}from"./index-B_0vsVr1.js";function c(){const s=a.c(1);let e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsxs("div",{className:"flex flex-col items-center justify-center h-full p-8",children:[t.jsx(n,{size:48,className:"text-muted-foreground mb-4"}),t.jsx("h3",{className:"text-lg font-medium mb-2",children:"No storage connected"}),t.jsx("p",{className:"text-muted-foreground text-center max-w-md",children:"Connect an S3-compatible storage service to browse and manage files."})]}),s[0]=e):e=s[0],e}export{c as default};
1
+ import{c as a,j as t,aD as n}from"./index-Cb17fVaO.js";function c(){const s=a.c(1);let e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsxs("div",{className:"flex flex-col items-center justify-center h-full p-8",children:[t.jsx(n,{size:48,className:"text-muted-foreground mb-4"}),t.jsx("h3",{className:"text-lg font-medium mb-2",children:"No storage connected"}),t.jsx("p",{className:"text-muted-foreground text-center max-w-md",children:"Connect an S3-compatible storage service to browse and manage files."})]}),s[0]=e):e=s[0],e}export{c as default};
@@ -1 +1 @@
1
- import{c as s,j as t}from"./index-B_0vsVr1.js";import{e as r}from"./Dataflow03-mD5gBD1P.js";function a(){const o=s.c(1);let e;return o[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsxs("div",{className:"flex flex-col items-center justify-center h-full p-8",children:[t.jsx(r,{size:48,className:"text-muted-foreground mb-4"}),t.jsx("h3",{className:"text-lg font-medium mb-2",children:"No workflows connected"}),t.jsx("p",{className:"text-muted-foreground text-center max-w-md",children:"Connect a workflow provider to create and manage automated workflows with multiple steps and integrations."})]}),o[0]=e):e=o[0],e}export{a as default};
1
+ import{c as s,j as t}from"./index-Cb17fVaO.js";import{e as r}from"./Dataflow03-C3PCJs5S.js";function a(){const o=s.c(1);let e;return o[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsxs("div",{className:"flex flex-col items-center justify-center h-full p-8",children:[t.jsx(r,{size:48,className:"text-muted-foreground mb-4"}),t.jsx("h3",{className:"text-lg font-medium mb-2",children:"No workflows connected"}),t.jsx("p",{className:"text-muted-foreground text-center max-w-md",children:"Connect a workflow provider to create and manage automated workflows with multiple steps and integrations."})]}),o[0]=e):e=o[0],e}export{a as default};
@@ -1 +1 @@
1
- import{c as S,j as s,r as w}from"./index-B_0vsVr1.js";import{i as R}from"./Check-G22LpKFd.js";import{t as _}from"./ChevronDown-DAk1F2Sn.js";import{e as y}from"./Dataflow03-mD5gBD1P.js";function E(x){const e=S.c(32),{connections:l,selectedConnectionId:r,onConnectionChange:N}=x,[n,z]=w.useState(!1),C=w.useRef(null);let p;if(e[0]!==l||e[1]!==r){let t;e[3]!==r?(t=u=>u.id===r,e[3]=r,e[4]=t):t=e[4],p=l.find(t),e[0]=l,e[1]=r,e[2]=p}else p=e[2];const i=p;let j;e[5]===Symbol.for("react.memo_cache_sentinel")?(j=t=>{C.current?.contains(t.relatedTarget)||z(!1)},e[5]=j):j=e[5];const k=j;if(l.length===1){let t;e[6]!==i?(t=i?.icon?s.jsx("img",{src:i.icon,alt:"",className:"size-4 rounded"}):s.jsx(y,{size:16}),e[6]=i,e[7]=t):t=e[7];const u=i?.title||"Workflows";let f;e[8]!==u?(f=s.jsx("span",{children:u}),e[8]=u,e[9]=f):f=e[9];let h;return e[10]!==t||e[11]!==f?(h=s.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[t,f]}),e[10]=t,e[11]=f,e[12]=h):h=e[12],h}let o;e[13]!==n?(o=()=>z(!n),e[13]=n,e[14]=o):o=e[14];let c;e[15]!==i?(c=i?.icon?s.jsx("img",{src:i.icon,alt:"",className:"size-4 rounded"}):s.jsx(y,{size:16}),e[15]=i,e[16]=c):c=e[16];const v=i?.title||"Select provider";let a;e[17]!==v?(a=s.jsx("span",{children:v}),e[17]=v,e[18]=a):a=e[18];let b;e[19]===Symbol.for("react.memo_cache_sentinel")?(b=s.jsx(_,{size:14}),e[19]=b):b=e[19];let d;e[20]!==o||e[21]!==c||e[22]!==a?(d=s.jsxs("button",{type:"button",onClick:o,className:"inline-flex items-center gap-2 px-3 py-1.5 text-sm font-medium rounded-md border border-border bg-background hover:bg-accent transition-colors",children:[c,a,b]}),e[20]=o,e[21]=c,e[22]=a,e[23]=d):d=e[23];let m;e[24]!==l||e[25]!==n||e[26]!==N||e[27]!==r?(m=n&&s.jsx("div",{className:"absolute left-0 top-full mt-1 z-50 min-w-48 rounded-md border border-border bg-popover p-1 shadow-md",children:l.map(t=>s.jsxs("button",{type:"button",onClick:()=>{N(t.id),z(!1)},className:"flex items-center gap-2 w-full px-2 py-1.5 text-sm rounded-sm hover:bg-accent transition-colors",children:[t.icon?s.jsx("img",{src:t.icon,alt:"",className:"size-4 rounded"}):s.jsx(y,{size:16}),s.jsx("span",{className:"flex-1 text-left",children:t.title}),t.id===r&&s.jsx(R,{size:14,className:"text-primary"})]},t.id))}),e[24]=l,e[25]=n,e[26]=N,e[27]=r,e[28]=m):m=e[28];let g;return e[29]!==d||e[30]!==m?(g=s.jsxs("div",{className:"relative",ref:C,onBlur:k,children:[d,m]}),e[29]=d,e[30]=m,e[31]=g):g=e[31],g}function H(x){const e=S.c(2);let l;return e[0]!==x?(l=s.jsx(E,{...x}),e[0]=x,e[1]=l):l=e[1],l}export{H as default};
1
+ import{c as S,j as s,r as w}from"./index-Cb17fVaO.js";import{i as R}from"./Check-e1LxjlnS.js";import{t as _}from"./ChevronDown-BjWhsewG.js";import{e as y}from"./Dataflow03-C3PCJs5S.js";function E(x){const e=S.c(32),{connections:l,selectedConnectionId:r,onConnectionChange:N}=x,[n,z]=w.useState(!1),C=w.useRef(null);let p;if(e[0]!==l||e[1]!==r){let t;e[3]!==r?(t=u=>u.id===r,e[3]=r,e[4]=t):t=e[4],p=l.find(t),e[0]=l,e[1]=r,e[2]=p}else p=e[2];const i=p;let j;e[5]===Symbol.for("react.memo_cache_sentinel")?(j=t=>{C.current?.contains(t.relatedTarget)||z(!1)},e[5]=j):j=e[5];const k=j;if(l.length===1){let t;e[6]!==i?(t=i?.icon?s.jsx("img",{src:i.icon,alt:"",className:"size-4 rounded"}):s.jsx(y,{size:16}),e[6]=i,e[7]=t):t=e[7];const u=i?.title||"Workflows";let f;e[8]!==u?(f=s.jsx("span",{children:u}),e[8]=u,e[9]=f):f=e[9];let h;return e[10]!==t||e[11]!==f?(h=s.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[t,f]}),e[10]=t,e[11]=f,e[12]=h):h=e[12],h}let o;e[13]!==n?(o=()=>z(!n),e[13]=n,e[14]=o):o=e[14];let c;e[15]!==i?(c=i?.icon?s.jsx("img",{src:i.icon,alt:"",className:"size-4 rounded"}):s.jsx(y,{size:16}),e[15]=i,e[16]=c):c=e[16];const v=i?.title||"Select provider";let a;e[17]!==v?(a=s.jsx("span",{children:v}),e[17]=v,e[18]=a):a=e[18];let b;e[19]===Symbol.for("react.memo_cache_sentinel")?(b=s.jsx(_,{size:14}),e[19]=b):b=e[19];let d;e[20]!==o||e[21]!==c||e[22]!==a?(d=s.jsxs("button",{type:"button",onClick:o,className:"inline-flex items-center gap-2 px-3 py-1.5 text-sm font-medium rounded-md border border-border bg-background hover:bg-accent transition-colors",children:[c,a,b]}),e[20]=o,e[21]=c,e[22]=a,e[23]=d):d=e[23];let m;e[24]!==l||e[25]!==n||e[26]!==N||e[27]!==r?(m=n&&s.jsx("div",{className:"absolute left-0 top-full mt-1 z-50 min-w-48 rounded-md border border-border bg-popover p-1 shadow-md",children:l.map(t=>s.jsxs("button",{type:"button",onClick:()=>{N(t.id),z(!1)},className:"flex items-center gap-2 w-full px-2 py-1.5 text-sm rounded-sm hover:bg-accent transition-colors",children:[t.icon?s.jsx("img",{src:t.icon,alt:"",className:"size-4 rounded"}):s.jsx(y,{size:16}),s.jsx("span",{className:"flex-1 text-left",children:t.title}),t.id===r&&s.jsx(R,{size:14,className:"text-primary"})]},t.id))}),e[24]=l,e[25]=n,e[26]=N,e[27]=r,e[28]=m):m=e[28];let g;return e[29]!==d||e[30]!==m?(g=s.jsxs("div",{className:"relative",ref:C,onBlur:k,children:[d,m]}),e[29]=d,e[30]=m,e[31]=g):g=e[31],g}function H(x){const e=S.c(2);let l;return e[0]!==x?(l=s.jsx(E,{...x}),e[0]=x,e[1]=l):l=e[1],l}export{H as default};
@@ -1 +1 @@
1
- import{c as w,j as s,r as S,aA as y}from"./index-B_0vsVr1.js";import{i as _}from"./Check-G22LpKFd.js";import{t as k}from"./ChevronDown-DAk1F2Sn.js";function E(x){const e=w.c(32),{connections:l,selectedConnectionId:n,onConnectionChange:N}=x,[r,z]=S.useState(!1),C=S.useRef(null);let p;if(e[0]!==l||e[1]!==n){let t;e[3]!==n?(t=u=>u.id===n,e[3]=n,e[4]=t):t=e[4],p=l.find(t),e[0]=l,e[1]=n,e[2]=p}else p=e[2];const i=p;let j;e[5]===Symbol.for("react.memo_cache_sentinel")?(j=t=>{C.current?.contains(t.relatedTarget)||z(!1)},e[5]=j):j=e[5];const R=j;if(l.length===1){let t;e[6]!==i?(t=i?.icon?s.jsx("img",{src:i.icon,alt:"",className:"size-4 rounded"}):s.jsx(y,{size:16}),e[6]=i,e[7]=t):t=e[7];const u=i?.title||"Storage";let f;e[8]!==u?(f=s.jsx("span",{children:u}),e[8]=u,e[9]=f):f=e[9];let h;return e[10]!==t||e[11]!==f?(h=s.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[t,f]}),e[10]=t,e[11]=f,e[12]=h):h=e[12],h}let o;e[13]!==r?(o=()=>z(!r),e[13]=r,e[14]=o):o=e[14];let a;e[15]!==i?(a=i?.icon?s.jsx("img",{src:i.icon,alt:"",className:"size-4 rounded"}):s.jsx(y,{size:16}),e[15]=i,e[16]=a):a=e[16];const v=i?.title||"Select storage";let c;e[17]!==v?(c=s.jsx("span",{children:v}),e[17]=v,e[18]=c):c=e[18];let b;e[19]===Symbol.for("react.memo_cache_sentinel")?(b=s.jsx(k,{size:14}),e[19]=b):b=e[19];let d;e[20]!==o||e[21]!==a||e[22]!==c?(d=s.jsxs("button",{type:"button",onClick:o,className:"inline-flex items-center gap-2 px-3 py-1.5 text-sm font-medium rounded-md border border-border bg-background hover:bg-accent transition-colors",children:[a,c,b]}),e[20]=o,e[21]=a,e[22]=c,e[23]=d):d=e[23];let m;e[24]!==l||e[25]!==r||e[26]!==N||e[27]!==n?(m=r&&s.jsx("div",{className:"absolute left-0 top-full mt-1 z-50 min-w-48 rounded-md border border-border bg-popover p-1 shadow-md",children:l.map(t=>s.jsxs("button",{type:"button",onClick:()=>{N(t.id),z(!1)},className:"flex items-center gap-2 w-full px-2 py-1.5 text-sm rounded-sm hover:bg-accent transition-colors",children:[t.icon?s.jsx("img",{src:t.icon,alt:"",className:"size-4 rounded"}):s.jsx(y,{size:16}),s.jsx("span",{className:"flex-1 text-left",children:t.title}),t.id===n&&s.jsx(_,{size:14,className:"text-primary"})]},t.id))}),e[24]=l,e[25]=r,e[26]=N,e[27]=n,e[28]=m):m=e[28];let g;return e[29]!==d||e[30]!==m?(g=s.jsxs("div",{className:"relative",ref:C,onBlur:R,children:[d,m]}),e[29]=d,e[30]=m,e[31]=g):g=e[31],g}function O(x){const e=w.c(2);let l;return e[0]!==x?(l=s.jsx(E,{...x}),e[0]=x,e[1]=l):l=e[1],l}export{O as default};
1
+ import{c as w,j as s,r as S,aD as y}from"./index-Cb17fVaO.js";import{i as _}from"./Check-e1LxjlnS.js";import{t as k}from"./ChevronDown-BjWhsewG.js";function E(x){const e=w.c(32),{connections:l,selectedConnectionId:n,onConnectionChange:N}=x,[r,z]=S.useState(!1),C=S.useRef(null);let p;if(e[0]!==l||e[1]!==n){let t;e[3]!==n?(t=u=>u.id===n,e[3]=n,e[4]=t):t=e[4],p=l.find(t),e[0]=l,e[1]=n,e[2]=p}else p=e[2];const i=p;let j;e[5]===Symbol.for("react.memo_cache_sentinel")?(j=t=>{C.current?.contains(t.relatedTarget)||z(!1)},e[5]=j):j=e[5];const R=j;if(l.length===1){let t;e[6]!==i?(t=i?.icon?s.jsx("img",{src:i.icon,alt:"",className:"size-4 rounded"}):s.jsx(y,{size:16}),e[6]=i,e[7]=t):t=e[7];const u=i?.title||"Storage";let f;e[8]!==u?(f=s.jsx("span",{children:u}),e[8]=u,e[9]=f):f=e[9];let h;return e[10]!==t||e[11]!==f?(h=s.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[t,f]}),e[10]=t,e[11]=f,e[12]=h):h=e[12],h}let o;e[13]!==r?(o=()=>z(!r),e[13]=r,e[14]=o):o=e[14];let a;e[15]!==i?(a=i?.icon?s.jsx("img",{src:i.icon,alt:"",className:"size-4 rounded"}):s.jsx(y,{size:16}),e[15]=i,e[16]=a):a=e[16];const v=i?.title||"Select storage";let c;e[17]!==v?(c=s.jsx("span",{children:v}),e[17]=v,e[18]=c):c=e[18];let b;e[19]===Symbol.for("react.memo_cache_sentinel")?(b=s.jsx(k,{size:14}),e[19]=b):b=e[19];let d;e[20]!==o||e[21]!==a||e[22]!==c?(d=s.jsxs("button",{type:"button",onClick:o,className:"inline-flex items-center gap-2 px-3 py-1.5 text-sm font-medium rounded-md border border-border bg-background hover:bg-accent transition-colors",children:[a,c,b]}),e[20]=o,e[21]=a,e[22]=c,e[23]=d):d=e[23];let m;e[24]!==l||e[25]!==r||e[26]!==N||e[27]!==n?(m=r&&s.jsx("div",{className:"absolute left-0 top-full mt-1 z-50 min-w-48 rounded-md border border-border bg-popover p-1 shadow-md",children:l.map(t=>s.jsxs("button",{type:"button",onClick:()=>{N(t.id),z(!1)},className:"flex items-center gap-2 w-full px-2 py-1.5 text-sm rounded-sm hover:bg-accent transition-colors",children:[t.icon?s.jsx("img",{src:t.icon,alt:"",className:"size-4 rounded"}):s.jsx(y,{size:16}),s.jsx("span",{className:"flex-1 text-left",children:t.title}),t.id===n&&s.jsx(_,{size:14,className:"text-primary"})]},t.id))}),e[24]=l,e[25]=r,e[26]=N,e[27]=n,e[28]=m):m=e[28];let g;return e[29]!==d||e[30]!==m?(g=s.jsxs("div",{className:"relative",ref:C,onBlur:R,children:[d,m]}),e[29]=d,e[30]=m,e[31]=g):g=e[31],g}function O(x){const e=w.c(2);let l;return e[0]!==x?(l=s.jsx(E,{...x}),e[0]=x,e[1]=l):l=e[1],l}export{O as default};
@@ -0,0 +1 @@
1
+ import{c as r,j as i}from"./index-Cb17fVaO.js";import{P as m}from"./project-plugins-DiXNjiNd.js";import"./useQuery-BcAK4m0m.js";import"./useMutation-DRjp2Nl5.js";import"./constants-B_iiTUip.js";import"./switch-BYETmQBd.js";import"./label-BLzrK_Rs.js";import"./Container-w8ZJjmnR.js";import"./use-connection-Bv6BgTqI.js";import"./use-collections-BF-71bZg.js";import"./use-binding-Bi9qdfAY.js";import"./binder-D8RBAvqy.js";import"./use-install-from-registry-CM7KAiir.js";import"./extract-connection-data-BbBDZhaA.js";import"./constants-DWucmYRT.js";import"./github-icon-Dp3wHhYE.js";import"./registry-utils-M1yY8DgS.js";import"./generate-id-Dyweu44Y.js";import"./Loading01-By16fsIj.js";import"./Plus-jLReB_Bt.js";import"./select-iAQ1JGAr.js";import"./index-B5u30SQw.js";import"./Check-e1LxjlnS.js";import"./ChevronDown-BjWhsewG.js";function v(){const o=r.c(1);let t;return o[0]===Symbol.for("react.memo_cache_sentinel")?(t=i.jsx(m,{}),o[0]=t):t=o[0],t}export{v as default};
@@ -1 +1 @@
1
- import{r as i,G as $,j as c,aW as G,aF as H,I as A,H as _,M as g,aU as b,T as j,aV as L,aX as w,b0 as z,b1 as U,U as K,b2 as V,b3 as W,b4 as Z,aY as X,aZ as Y,a$ as q,c as R,v as B}from"./index-B_0vsVr1.js";var C="Popover",[E]=K(C,[w]),P=w(),[J,d]=E(C),N=t=>{const{__scopePopover:e,children:o,open:r,defaultOpen:n,onOpenChange:s,modal:a=!1}=t,p=P(e),l=i.useRef(null),[u,h]=i.useState(!1),[x,f]=$({prop:r,defaultProp:n??!1,onChange:s,caller:C});return c.jsx(G,{...p,children:c.jsx(J,{scope:e,contentId:H(),triggerRef:l,open:x,onOpenChange:f,onOpenToggle:i.useCallback(()=>f(m=>!m),[f]),hasCustomAnchor:u,onCustomAnchorAdd:i.useCallback(()=>h(!0),[]),onCustomAnchorRemove:i.useCallback(()=>h(!1),[]),modal:a,children:o})})};N.displayName=C;var F="PopoverAnchor",Q=i.forwardRef((t,e)=>{const{__scopePopover:o,...r}=t,n=d(F,o),s=P(o),{onCustomAnchorAdd:a,onCustomAnchorRemove:p}=n;return i.useEffect(()=>(a(),()=>p()),[a,p]),c.jsx(b,{...s,...r,ref:e})});Q.displayName=F;var S="PopoverTrigger",y=i.forwardRef((t,e)=>{const{__scopePopover:o,...r}=t,n=d(S,o),s=P(o),a=A(e,n.triggerRef),p=c.jsx(_.button,{type:"button","aria-haspopup":"dialog","aria-expanded":n.open,"aria-controls":n.contentId,"data-state":k(n.open),...r,ref:a,onClick:g(t.onClick,n.onOpenToggle)});return n.hasCustomAnchor?p:c.jsx(b,{asChild:!0,...s,children:p})});y.displayName=S;var O="PopoverPortal",[ee,oe]=E(O,{forceMount:void 0}),M=t=>{const{__scopePopover:e,forceMount:o,children:r,container:n}=t,s=d(O,e);return c.jsx(ee,{scope:e,forceMount:o,children:c.jsx(j,{present:o||s.open,children:c.jsx(L,{asChild:!0,container:n,children:r})})})};M.displayName=O;var v="PopoverContent",D=i.forwardRef((t,e)=>{const o=oe(v,t.__scopePopover),{forceMount:r=o.forceMount,...n}=t,s=d(v,t.__scopePopover);return c.jsx(j,{present:r||s.open,children:s.modal?c.jsx(re,{...n,ref:e}):c.jsx(ne,{...n,ref:e})})});D.displayName=v;var te=V("PopoverContent.RemoveScroll"),re=i.forwardRef((t,e)=>{const o=d(v,t.__scopePopover),r=i.useRef(null),n=A(e,r),s=i.useRef(!1);return i.useEffect(()=>{const a=r.current;if(a)return z(a)},[]),c.jsx(U,{as:te,allowPinchZoom:!0,children:c.jsx(T,{...t,ref:n,trapFocus:o.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:g(t.onCloseAutoFocus,a=>{a.preventDefault(),s.current||o.triggerRef.current?.focus()}),onPointerDownOutside:g(t.onPointerDownOutside,a=>{const p=a.detail.originalEvent,l=p.button===0&&p.ctrlKey===!0,u=p.button===2||l;s.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:g(t.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})})}),ne=i.forwardRef((t,e)=>{const o=d(v,t.__scopePopover),r=i.useRef(!1),n=i.useRef(!1);return c.jsx(T,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{t.onCloseAutoFocus?.(s),s.defaultPrevented||(r.current||o.triggerRef.current?.focus(),s.preventDefault()),r.current=!1,n.current=!1},onInteractOutside:s=>{t.onInteractOutside?.(s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(n.current=!0));const a=s.target;o.triggerRef.current?.contains(a)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&n.current&&s.preventDefault()}})}),T=i.forwardRef((t,e)=>{const{__scopePopover:o,trapFocus:r,onOpenAutoFocus:n,onCloseAutoFocus:s,disableOutsidePointerEvents:a,onEscapeKeyDown:p,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:h,...x}=t,f=d(v,o),m=P(o);return W(),c.jsx(Z,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:n,onUnmountAutoFocus:s,children:c.jsx(X,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:h,onEscapeKeyDown:p,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>f.onOpenChange(!1),children:c.jsx(Y,{"data-state":k(f.open),role:"dialog",id:f.contentId,...m,...x,ref:e,style:{...x.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),I="PopoverClose",se=i.forwardRef((t,e)=>{const{__scopePopover:o,...r}=t,n=d(I,o);return c.jsx(_.button,{type:"button",...r,ref:e,onClick:g(t.onClick,()=>n.onOpenChange(!1))})});se.displayName=I;var ae="PopoverArrow",ce=i.forwardRef((t,e)=>{const{__scopePopover:o,...r}=t,n=P(o);return c.jsx(q,{...n,...r,ref:e})});ce.displayName=ae;function k(t){return t?"open":"closed"}var ie=N,pe=y,le=M,ue=D;function fe(t){const e=R.c(4);let o;e[0]!==t?({...o}=t,e[0]=t,e[1]=o):o=e[1];let r;return e[2]!==o?(r=c.jsx(ie,{"data-slot":"popover",...o}),e[2]=o,e[3]=r):r=e[3],r}function ve(t){const e=R.c(4);let o;e[0]!==t?({...o}=t,e[0]=t,e[1]=o):o=e[1];let r;return e[2]!==o?(r=c.jsx(pe,{"data-slot":"popover-trigger",...o}),e[2]=o,e[3]=r):r=e[3],r}function ge(t){const e=R.c(12);let o,r,n,s;e[0]!==t?({className:o,align:n,sideOffset:s,...r}=t,e[0]=t,e[1]=o,e[2]=r,e[3]=n,e[4]=s):(o=e[1],r=e[2],n=e[3],s=e[4]);const a=n===void 0?"center":n,p=s===void 0?4:s;let l;e[5]!==o?(l=B("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-lg overflow-hidden border p-4 shadow-md outline-hidden",o),e[5]=o,e[6]=l):l=e[6];let u;return e[7]!==a||e[8]!==r||e[9]!==p||e[10]!==l?(u=c.jsx(le,{children:c.jsx(ue,{"data-slot":"popover-content",align:a,sideOffset:p,className:l,...r})}),e[7]=a,e[8]=r,e[9]=p,e[10]=l,e[11]=u):u=e[11],u}export{ge as P,fe as a,ve as b};
1
+ import{r as i,I as $,j as c,aY as H,aH as L,M as A,J as _,T as g,aW as b,W as j,aX as z,aZ as w,b2 as G,b3 as W,X as K,b4 as X,b5 as Z,b6 as J,a_ as U,a$ as V,b1 as Y,c as R,v as q}from"./index-Cb17fVaO.js";var C="Popover",[E]=K(C,[w]),P=w(),[B,d]=E(C),N=t=>{const{__scopePopover:e,children:o,open:r,defaultOpen:n,onOpenChange:s,modal:a=!1}=t,p=P(e),l=i.useRef(null),[u,h]=i.useState(!1),[x,f]=$({prop:r,defaultProp:n??!1,onChange:s,caller:C});return c.jsx(H,{...p,children:c.jsx(B,{scope:e,contentId:L(),triggerRef:l,open:x,onOpenChange:f,onOpenToggle:i.useCallback(()=>f(m=>!m),[f]),hasCustomAnchor:u,onCustomAnchorAdd:i.useCallback(()=>h(!0),[]),onCustomAnchorRemove:i.useCallback(()=>h(!1),[]),modal:a,children:o})})};N.displayName=C;var F="PopoverAnchor",Q=i.forwardRef((t,e)=>{const{__scopePopover:o,...r}=t,n=d(F,o),s=P(o),{onCustomAnchorAdd:a,onCustomAnchorRemove:p}=n;return i.useEffect(()=>(a(),()=>p()),[a,p]),c.jsx(b,{...s,...r,ref:e})});Q.displayName=F;var S="PopoverTrigger",y=i.forwardRef((t,e)=>{const{__scopePopover:o,...r}=t,n=d(S,o),s=P(o),a=A(e,n.triggerRef),p=c.jsx(_.button,{type:"button","aria-haspopup":"dialog","aria-expanded":n.open,"aria-controls":n.contentId,"data-state":k(n.open),...r,ref:a,onClick:g(t.onClick,n.onOpenToggle)});return n.hasCustomAnchor?p:c.jsx(b,{asChild:!0,...s,children:p})});y.displayName=S;var O="PopoverPortal",[ee,oe]=E(O,{forceMount:void 0}),M=t=>{const{__scopePopover:e,forceMount:o,children:r,container:n}=t,s=d(O,e);return c.jsx(ee,{scope:e,forceMount:o,children:c.jsx(j,{present:o||s.open,children:c.jsx(z,{asChild:!0,container:n,children:r})})})};M.displayName=O;var v="PopoverContent",D=i.forwardRef((t,e)=>{const o=oe(v,t.__scopePopover),{forceMount:r=o.forceMount,...n}=t,s=d(v,t.__scopePopover);return c.jsx(j,{present:r||s.open,children:s.modal?c.jsx(re,{...n,ref:e}):c.jsx(ne,{...n,ref:e})})});D.displayName=v;var te=X("PopoverContent.RemoveScroll"),re=i.forwardRef((t,e)=>{const o=d(v,t.__scopePopover),r=i.useRef(null),n=A(e,r),s=i.useRef(!1);return i.useEffect(()=>{const a=r.current;if(a)return G(a)},[]),c.jsx(W,{as:te,allowPinchZoom:!0,children:c.jsx(T,{...t,ref:n,trapFocus:o.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:g(t.onCloseAutoFocus,a=>{a.preventDefault(),s.current||o.triggerRef.current?.focus()}),onPointerDownOutside:g(t.onPointerDownOutside,a=>{const p=a.detail.originalEvent,l=p.button===0&&p.ctrlKey===!0,u=p.button===2||l;s.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:g(t.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})})}),ne=i.forwardRef((t,e)=>{const o=d(v,t.__scopePopover),r=i.useRef(!1),n=i.useRef(!1);return c.jsx(T,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{t.onCloseAutoFocus?.(s),s.defaultPrevented||(r.current||o.triggerRef.current?.focus(),s.preventDefault()),r.current=!1,n.current=!1},onInteractOutside:s=>{t.onInteractOutside?.(s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(n.current=!0));const a=s.target;o.triggerRef.current?.contains(a)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&n.current&&s.preventDefault()}})}),T=i.forwardRef((t,e)=>{const{__scopePopover:o,trapFocus:r,onOpenAutoFocus:n,onCloseAutoFocus:s,disableOutsidePointerEvents:a,onEscapeKeyDown:p,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:h,...x}=t,f=d(v,o),m=P(o);return Z(),c.jsx(J,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:n,onUnmountAutoFocus:s,children:c.jsx(U,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:h,onEscapeKeyDown:p,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>f.onOpenChange(!1),children:c.jsx(V,{"data-state":k(f.open),role:"dialog",id:f.contentId,...m,...x,ref:e,style:{...x.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),I="PopoverClose",se=i.forwardRef((t,e)=>{const{__scopePopover:o,...r}=t,n=d(I,o);return c.jsx(_.button,{type:"button",...r,ref:e,onClick:g(t.onClick,()=>n.onOpenChange(!1))})});se.displayName=I;var ae="PopoverArrow",ce=i.forwardRef((t,e)=>{const{__scopePopover:o,...r}=t,n=P(o);return c.jsx(Y,{...n,...r,ref:e})});ce.displayName=ae;function k(t){return t?"open":"closed"}var ie=N,pe=y,le=M,ue=D;function fe(t){const e=R.c(4);let o;e[0]!==t?({...o}=t,e[0]=t,e[1]=o):o=e[1];let r;return e[2]!==o?(r=c.jsx(ie,{"data-slot":"popover",...o}),e[2]=o,e[3]=r):r=e[3],r}function ve(t){const e=R.c(4);let o;e[0]!==t?({...o}=t,e[0]=t,e[1]=o):o=e[1];let r;return e[2]!==o?(r=c.jsx(pe,{"data-slot":"popover-trigger",...o}),e[2]=o,e[3]=r):r=e[3],r}function ge(t){const e=R.c(12);let o,r,n,s;e[0]!==t?({className:o,align:n,sideOffset:s,...r}=t,e[0]=t,e[1]=o,e[2]=r,e[3]=n,e[4]=s):(o=e[1],r=e[2],n=e[3],s=e[4]);const a=n===void 0?"center":n,p=s===void 0?4:s;let l;e[5]!==o?(l=q("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-lg overflow-hidden border p-4 shadow-md outline-hidden",o),e[5]=o,e[6]=l):l=e[6];let u;return e[7]!==a||e[8]!==r||e[9]!==p||e[10]!==l?(u=c.jsx(le,{children:c.jsx(ue,{"data-slot":"popover-content",align:a,sideOffset:p,className:l,...r})}),e[7]=a,e[8]=r,e[9]=p,e[10]=l,e[11]=u):u=e[11],u}export{ge as P,fe as a,ve as b};
@@ -1 +1 @@
1
- import{c as x,e as N,j as i,r as I,E as _,u as P}from"./index-B_0vsVr1.js";import{u as C}from"./use-connection-DeEn4qfI.js";import{u as M}from"./constants-D9bRXDQp.js";import{u as R}from"./use-mcp-tools-BXihKxpu.js";import{M as $}from"./mcp-app-renderer-BtuEhdWL.js";import{g as b,M as h}from"./types-B46wd5bS.js";import"./use-collections-vccihohV.js";import"./useMutation-lBFQDcxE.js";import"./useQuery-DcRkCB2j.js";import"./use-mcp-resources-Rqzq7A0J.js";const j={};function y(t){const e=x.c(10),{client:o,resourceURI:m,tool:a}=t;let n;e[0]!==o||e[1]!==a.name?(n={client:o,toolName:a.name,toolArguments:j},e[0]=o,e[1]=a.name,e[2]=n):n=e[2];const{data:l}=R(n),c=a;let s;e[3]!==c?(s={tool:c},e[3]=c,e[4]=s):s=e[4];let f;return e[5]!==o||e[6]!==m||e[7]!==s||e[8]!==l?(f=i.jsx($,{resourceURI:m,toolInfo:s,toolInput:j,toolResult:l,displayMode:"fullscreen",minHeight:h.fullscreen.minHeight,maxHeight:h.fullscreen.maxHeight,client:o,className:"h-full"}),e[5]=o,e[6]=m,e[7]=s,e[8]=l,e[9]=f):f=e[9],f}function v(t){const e=x.c(16),{connectionId:o,toolName:m}=t,{org:a}=P();let n;e[0]!==o||e[1]!==a.id?(n={connectionId:o,orgId:a.id},e[0]=o,e[1]=a.id,e[2]=n):n=e[2];const l=M(n),c=C(o),s=decodeURIComponent(m);let f,d;if(e[3]!==c?.tools||e[4]!==s){let r;e[7]!==s?(r=g=>g.name===s,e[7]=s,e[8]=r):r=e[8],d=(c?.tools??[]).find(r),f=d?._meta?b(d._meta):void 0,e[3]=c?.tools,e[4]=s,e[5]=f,e[6]=d}else f=e[5],d=e[6];const u=f;if(!c){let r;return e[9]===Symbol.for("react.memo_cache_sentinel")?(r=i.jsx("div",{className:"flex items-center justify-center h-full",children:i.jsx("p",{className:"text-sm text-muted-foreground",children:"Connection not found"})}),e[9]=r):r=e[9],r}if(!d||!u){let r;return e[10]!==s?(r=i.jsx("div",{className:"flex items-center justify-center h-full",children:i.jsxs("p",{className:"text-sm text-muted-foreground",children:['Tool "',s,'" not found or has no UI']})}),e[10]=s,e[11]=r):r=e[11],r}let p;return e[12]!==l||e[13]!==u||e[14]!==d?(p=i.jsx(y,{client:l,resourceURI:u,tool:d}),e[12]=l,e[13]=u,e[14]=d,e[15]=p):p=e[15],p}function D(){const t=x.c(8);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e={from:"/shell/$org/$project/apps/$connectionId/$toolName"},t[0]=e):e=t[0];const{connectionId:o,toolName:m}=N(e),a=`${o}:${m}`;let n;t[1]===Symbol.for("react.memo_cache_sentinel")?(n=i.jsx("div",{className:"flex items-center justify-center h-full",children:i.jsxs("div",{className:"flex items-center gap-2 text-muted-foreground",children:[i.jsx("div",{className:"size-4 border-2 border-current border-t-transparent rounded-full animate-spin"}),i.jsx("span",{className:"text-sm",children:"Loading app..."})]})}),t[1]=n):n=t[1];let l;t[2]!==o||t[3]!==m?(l=i.jsx(I.Suspense,{fallback:n,children:i.jsx(v,{connectionId:o,toolName:m})}),t[2]=o,t[3]=m,t[4]=l):l=t[4];let c;return t[5]!==a||t[6]!==l?(c=i.jsx(_,{fallback:void 0,children:l},a),t[5]=a,t[6]=l,t[7]=c):c=t[7],c}export{D as default};
1
+ import{c as x,e as N,j as i,r as I,E as _,u as P}from"./index-Cb17fVaO.js";import{u as C}from"./use-connection-Bv6BgTqI.js";import{u as M}from"./constants-B_iiTUip.js";import{u as R}from"./use-mcp-tools-q5O9mXfB.js";import{M as $}from"./mcp-app-renderer-vWTHzC-y.js";import{g as b,M as h}from"./types-CGMnrrVy.js";import"./use-collections-BF-71bZg.js";import"./useMutation-DRjp2Nl5.js";import"./useQuery-BcAK4m0m.js";import"./use-mcp-resources-MU6kxIry.js";const j={};function y(t){const e=x.c(10),{client:o,resourceURI:m,tool:a}=t;let n;e[0]!==o||e[1]!==a.name?(n={client:o,toolName:a.name,toolArguments:j},e[0]=o,e[1]=a.name,e[2]=n):n=e[2];const{data:l}=R(n),c=a;let s;e[3]!==c?(s={tool:c},e[3]=c,e[4]=s):s=e[4];let f;return e[5]!==o||e[6]!==m||e[7]!==s||e[8]!==l?(f=i.jsx($,{resourceURI:m,toolInfo:s,toolInput:j,toolResult:l,displayMode:"fullscreen",minHeight:h.fullscreen.minHeight,maxHeight:h.fullscreen.maxHeight,client:o,className:"h-full"}),e[5]=o,e[6]=m,e[7]=s,e[8]=l,e[9]=f):f=e[9],f}function v(t){const e=x.c(16),{connectionId:o,toolName:m}=t,{org:a}=P();let n;e[0]!==o||e[1]!==a.id?(n={connectionId:o,orgId:a.id},e[0]=o,e[1]=a.id,e[2]=n):n=e[2];const l=M(n),c=C(o),s=decodeURIComponent(m);let f,d;if(e[3]!==c?.tools||e[4]!==s){let r;e[7]!==s?(r=g=>g.name===s,e[7]=s,e[8]=r):r=e[8],d=(c?.tools??[]).find(r),f=d?._meta?b(d._meta):void 0,e[3]=c?.tools,e[4]=s,e[5]=f,e[6]=d}else f=e[5],d=e[6];const u=f;if(!c){let r;return e[9]===Symbol.for("react.memo_cache_sentinel")?(r=i.jsx("div",{className:"flex items-center justify-center h-full",children:i.jsx("p",{className:"text-sm text-muted-foreground",children:"Connection not found"})}),e[9]=r):r=e[9],r}if(!d||!u){let r;return e[10]!==s?(r=i.jsx("div",{className:"flex items-center justify-center h-full",children:i.jsxs("p",{className:"text-sm text-muted-foreground",children:['Tool "',s,'" not found or has no UI']})}),e[10]=s,e[11]=r):r=e[11],r}let p;return e[12]!==l||e[13]!==u||e[14]!==d?(p=i.jsx(y,{client:l,resourceURI:u,tool:d}),e[12]=l,e[13]=u,e[14]=d,e[15]=p):p=e[15],p}function D(){const t=x.c(8);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e={from:"/shell/$org/$project/apps/$connectionId/$toolName"},t[0]=e):e=t[0];const{connectionId:o,toolName:m}=N(e),a=`${o}:${m}`;let n;t[1]===Symbol.for("react.memo_cache_sentinel")?(n=i.jsx("div",{className:"flex items-center justify-center h-full",children:i.jsxs("div",{className:"flex items-center gap-2 text-muted-foreground",children:[i.jsx("div",{className:"size-4 border-2 border-current border-t-transparent rounded-full animate-spin"}),i.jsx("span",{className:"text-sm",children:"Loading app..."})]})}),t[1]=n):n=t[1];let l;t[2]!==o||t[3]!==m?(l=i.jsx(I.Suspense,{fallback:n,children:i.jsx(v,{connectionId:o,toolName:m})}),t[2]=o,t[3]=m,t[4]=l):l=t[4];let c;return t[5]!==a||t[6]!==l?(c=i.jsx(_,{fallback:void 0,children:l},a),t[5]=a,t[6]=l,t[7]=c):c=t[7],c}export{D as default};