@decocms/mesh 2.139.4 → 2.139.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/{AlertCircle-B-qrtAf7.js → AlertCircle-DxE1CFMy.js} +1 -1
- package/dist/client/assets/{AlignLeft-D93Obywx.js → AlignLeft-BmaGu1FK.js} +1 -1
- package/dist/client/assets/{ArrowDown-Brxajv-A.js → ArrowDown-D1jGbXdS.js} +1 -1
- package/dist/client/assets/{ArrowLeft-ChnnVeV0.js → ArrowLeft-Cj3rlVid.js} +1 -1
- package/dist/client/assets/{ArrowUp-D5ZC-G9T.js → ArrowUp-BlFtnyf3.js} +1 -1
- package/dist/client/assets/{Check-xOBqZzmv.js → Check-BYEmwnWo.js} +1 -1
- package/dist/client/assets/{CheckCircle-t4fWflCL.js → CheckCircle-pyP6FuBr.js} +1 -1
- package/dist/client/assets/{CheckDone01-CtIvl6NR.js → CheckDone01-92MVMFwa.js} +1 -1
- package/dist/client/assets/{CheckVerified02-CEWZcD4z.js → CheckVerified02-JCyhk2MV.js} +1 -1
- package/dist/client/assets/{ChevronDown-cFwq8_1y.js → ChevronDown-CMnFLAn0.js} +1 -1
- package/dist/client/assets/{ChevronLeft-BDb5Vgx_.js → ChevronLeft-DXPxIaFa.js} +1 -1
- package/dist/client/assets/{ChevronRight-zkVqPrw5.js → ChevronRight-BLexx0Qt.js} +1 -1
- package/dist/client/assets/{Clock-C8sBJSRB.js → Clock-DMiog_Cv.js} +1 -1
- package/dist/client/assets/{Code01-Be1Un4zy.js → Code01-Dz5rksvK.js} +1 -1
- package/dist/client/assets/{Container-BzuFyXB-.js → Container-C2fyu03W.js} +1 -1
- package/dist/client/assets/{Copy01-D46xqpGe.js → Copy01-D1aG80p5.js} +1 -1
- package/dist/client/assets/{Dataflow03-C_auGuZw.js → Dataflow03-D-Wxrb9j.js} +1 -1
- package/dist/client/assets/{DotsHorizontal-BzL1ksOS.js → DotsHorizontal-DHWYk1G-.js} +1 -1
- package/dist/client/assets/{DotsVertical-BWpyls9E.js → DotsVertical-C5Mnj-Ol.js} +1 -1
- package/dist/client/assets/{Download01-DXQ7eLHV.js → Download01-CI1dt-NN.js} +1 -1
- package/dist/client/assets/{Edit01-C-LkGhJt.js → Edit01-C-2hPhWx.js} +1 -1
- package/dist/client/assets/{Edit05-B4gumSwA.js → Edit05-CWoWTf45.js} +1 -1
- package/dist/client/assets/{Eye-S2bOaZIy.js → Eye-Ce2mviev.js} +1 -1
- package/dist/client/assets/{File02-v1x_k3KU.js → File02-pVr1U-OF.js} +1 -1
- package/dist/client/assets/{File06-CjPbqhL6.js → File06-BK-vLttV.js} +1 -1
- package/dist/client/assets/{FilterLines-DkQNMule.js → FilterLines-jkgQLqbS.js} +1 -1
- package/dist/client/assets/{Globe01-O7yat0_O.js → Globe01-DGUbGV_n.js} +1 -1
- package/dist/client/assets/{Globe02-ChkOndGF.js → Globe02-RBoq6mDE.js} +1 -1
- package/dist/client/assets/{Grid01-H33eVxTX.js → Grid01-BL7E3ovv.js} +1 -1
- package/dist/client/assets/{Hash02-BQbZm01-.js → Hash02-DzGoDYhz.js} +1 -1
- package/dist/client/assets/{Home02-PdwInqFp.js → Home02-AgZra9X3.js} +1 -1
- package/dist/client/assets/{Image01-CcXuD64C.js → Image01-DvRAFLxZ.js} +1 -1
- package/dist/client/assets/{Inbox01-CPxBPhel.js → Inbox01-50IITj70.js} +1 -1
- package/dist/client/assets/{InfoCircle-DK-HgSib.js → InfoCircle-aQM6BbNx.js} +1 -1
- package/dist/client/assets/{Key01-HU-4mHLo.js → Key01-BsI-G9kQ.js} +1 -1
- package/dist/client/assets/{LayersTwo01-RwSQ1J1I.js → LayersTwo01-UOO88lfR.js} +1 -1
- package/dist/client/assets/{LayoutLeft-CbZOAm5Z.js → LayoutLeft-B3YkuHoY.js} +1 -1
- package/dist/client/assets/{Link01-DP82_UiC.js → Link01-BVEdynBS.js} +1 -1
- package/dist/client/assets/{LinkExternal01-xPEp6WiT.js → LinkExternal01-CWRjzwRB.js} +1 -1
- package/dist/client/assets/{List-DIViT3Rd.js → List-DXYRXNTE.js} +1 -1
- package/dist/client/assets/{Loading01-e5vrz4Tg.js → Loading01-C3DKwOFI.js} +1 -1
- package/dist/client/assets/{Lock01-CFsYgwl6.js → Lock01-C3eOG6EW.js} +1 -1
- package/dist/client/assets/{Play-UpsQgFLL.js → Play-y2tixZXd.js} +1 -1
- package/dist/client/assets/{Plus-CAkBZRVl.js → Plus-Dcmwoj2g.js} +1 -1
- package/dist/client/assets/{RefreshCcw01-CsIOFnxl.js → RefreshCcw01-CgBMQrzN.js} +1 -1
- package/dist/client/assets/{Save01-C8SmHjV2.js → Save01-w2BzILAu.js} +1 -1
- package/dist/client/assets/{SearchMd-3uDmzuN-.js → SearchMd-fcNN21Gr.js} +1 -1
- package/dist/client/assets/{Settings01-de0ujEEu.js → Settings01-3u2Bow8z.js} +1 -1
- package/dist/client/assets/{Shield01-Cd56MItL.js → Shield01-CpD-WiM3.js} +1 -1
- package/dist/client/assets/{Terminal-D4rOkPT8.js → Terminal-FhA4_WQ3.js} +1 -1
- package/dist/client/assets/{Trash01-GIxw_9KX.js → Trash01-XEPfiPr3.js} +1 -1
- package/dist/client/assets/{Upload01-DvU8XgOn.js → Upload01-h0zHEm3f.js} +1 -1
- package/dist/client/assets/{Users03-Ci_Q0Bm5.js → Users03-DwIioFDR.js} +1 -1
- package/dist/client/assets/{X-D43RBdCi.js → X-V73kIsj3.js} +1 -1
- package/dist/client/assets/{XCircle-BT7T8C4l.js → XCircle-Cw9JLXtH.js} +1 -1
- package/dist/client/assets/{XClose-CPAcIRmr.js → XClose-C-ng7L1S.js} +1 -1
- package/dist/client/assets/{Zap-AMjggLw-.js → Zap-BlA8TkHM.js} +1 -1
- package/dist/client/assets/{agent-connections-preview-ChIn79lc.js → agent-connections-preview-6CDLrKwL.js} +1 -1
- package/dist/client/assets/{agent-detail-Fjm0OMqB.js → agent-detail-BvFfcOtI.js} +1 -1
- package/dist/client/assets/{agents-CsJ8bLN2.js → agents-BxWYMmHe.js} +1 -1
- package/dist/client/assets/{alert-dialog-BF806470.js → alert-dialog-B7P1Xx2P.js} +1 -1
- package/dist/client/assets/{auth-catchall-BDFjm7S-.js → auth-catchall-P7HFweyn.js} +1 -1
- package/dist/client/assets/{avatar-JlaJAGyz.js → avatar-CcqnmiIz.js} +1 -1
- package/dist/client/assets/{badge-DuzneqaM.js → badge-B3PuW_EW.js} +1 -1
- package/dist/client/assets/{binder-CSUd_3kq.js → binder-BgtZdYDd.js} +1 -1
- package/dist/client/assets/{breadcrumb-oXffKFw_.js → breadcrumb-C83RhVbl.js} +1 -1
- package/dist/client/assets/{card-B9F3gzU1.js → card-mroijQho.js} +1 -1
- package/dist/client/assets/{chart-CI8PXMri.js → chart-C0uy8DRt.js} +1 -1
- package/dist/client/assets/{checkbox-DzpFguCb.js → checkbox-D8wFdX1G.js} +1 -1
- package/dist/client/assets/{circle-alert-BEV9hKq0.js → circle-alert-lXsaSI5q.js} +1 -1
- package/dist/client/assets/{collapsible-65I6Ioz9.js → collapsible-BtdS9TOE.js} +5 -5
- package/dist/client/assets/{collection-detail-DnRXu6MS.js → collection-detail-BzVA1NzZ.js} +1 -1
- package/dist/client/assets/{collection-display-button-ByS_K4lH.js → collection-display-button-DRrGPN0E.js} +1 -1
- package/dist/client/assets/{collection-search-mO1HMauC.js → collection-search-BIoOOBZ6.js} +1 -1
- package/dist/client/assets/{collection-tab-CkV__WhE.js → collection-tab-DqYMGC3r.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-CKemfX3q.js → collection-table-wrapper-DK6wDujb.js} +1 -1
- package/dist/client/assets/{collection-tabs-Bx4HaaQG.js → collection-tabs-7S4tszcZ.js} +1 -1
- package/dist/client/assets/{command-IGPGgPev.js → command-0etsDI49.js} +1 -1
- package/dist/client/assets/{connect-BRw7VxSz.js → connect-n4c9bfZL.js} +1 -1
- package/dist/client/assets/{connection-card-CqqNv-1c.js → connection-card-yurGAkO8.js} +1 -1
- package/dist/client/assets/{connection-detail-Do2QWhRf.js → connection-detail-BVnuFuFx.js} +1 -1
- package/dist/client/assets/{connection-status-DspYTx4l.js → connection-status-Bt5nL8KO.js} +1 -1
- package/dist/client/assets/{connections-oTwxAoKQ.js → connections-zIUAT5xu.js} +1 -1
- package/dist/client/assets/constants-CoYp9Khb.js +1 -0
- package/dist/client/assets/{constants-Bi0KgUSI.js → constants-DamjJgLK.js} +1 -1
- package/dist/client/assets/{create-organization-dialog-B5UUWfs1.js → create-organization-dialog-CTIhJJbe.js} +1 -1
- package/dist/client/assets/{create-project-dialog-B2mUe54b.js → create-project-dialog-BPaIOHbb.js} +1 -1
- package/dist/client/assets/{danger-DCm_AnTP.js → danger-DZFTmX3S.js} +1 -1
- package/dist/client/assets/{danger-zone-DS8Xvo50.js → danger-zone-CgtuLtb1.js} +1 -1
- package/dist/client/assets/{decopilot-events-tuPofCi7.js → decopilot-events-BvaPj3KQ.js} +1 -1
- package/dist/client/assets/{dependencies-Bn8l9gYN.js → dependencies-Cu7hhI8n.js} +1 -1
- package/dist/client/assets/{dialog-qBZn-zYi.js → dialog-mVAXjnwm.js} +1 -1
- package/dist/client/assets/{dropdown-menu-DzUfzpVE.js → dropdown-menu-ALsN-pVk.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-C7QgAOIC.js → dynamic-plugin-layout-CTDiJSEV.js} +1 -1
- package/dist/client/assets/{editable-task-title-D48vrJtg.js → editable-task-title-BaFw9xei.js} +1 -1
- package/dist/client/assets/{empty-state-lIvnej4y.js → empty-state-Di_n6NJK.js} +1 -1
- package/dist/client/assets/{env-vars-editor-CeqquBJY.js → env-vars-editor-C6V3AsRh.js} +1 -1
- package/dist/client/assets/{extract-connection-data-CuU1tc3b.js → extract-connection-data-DrsypHV1.js} +1 -1
- package/dist/client/assets/{file-browser-Ni3oYaWz.js → file-browser-jwULGhe4.js} +2 -2
- package/dist/client/assets/{form-CvuQGiSW.js → form-CU5HDQFC.js} +1 -1
- package/dist/client/assets/{general-9N19ol48.js → general-DUHgQYkU.js} +1 -1
- package/dist/client/assets/{grid-view-nGNsPql9.js → grid-view-DUznC5Gs.js} +1 -1
- package/dist/client/assets/{home-QZEMZFSO.js → home-NgJQ2EsR.js} +1 -1
- package/dist/client/assets/{icon-picker-CvTqhz-n.js → icon-picker-Bvic5Z9l.js} +1 -1
- package/dist/client/assets/{index-DlVoIZWW.js → index--H4S-htG.js} +1 -1
- package/dist/client/assets/{index-zTmRWZBl.js → index-B57CuSVv.js} +3 -3
- package/dist/client/assets/{index-DNc2lZPL.js → index-Bes18yjv.js} +1 -1
- package/dist/client/assets/{index-C3HPQ2Xr.js → index-D4fBp4Zp.js} +1 -1
- package/dist/client/assets/index-DWUPqd__.js +1 -0
- package/dist/client/assets/{index-B2bsc0yn.js → index-DhA_Z8w_.js} +1 -1
- package/dist/client/assets/{index-580YwBrh.js → index-DwSSkF0d.js} +1 -1
- package/dist/client/assets/{index-9XMeAvuz.js → index-PbsRJchQ.js} +1 -1
- package/dist/client/assets/{index-BrwvwF2e.js → index-WfivvnSW.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-CzeIHV7S.js → infiniteQueryObserver-C3tGBnJO.js} +1 -1
- package/dist/client/assets/{input-yDn0CDzQ.js → input-D2SfEJvf.js} +1 -1
- package/dist/client/assets/{integration-icon-BKuXjqdm.js → integration-icon-EqK5mfs3.js} +1 -1
- package/dist/client/assets/{label-D93HnDXr.js → label-DKwFCpFF.js} +1 -1
- package/dist/client/assets/{layout-7Qb5YRAm.js → layout-BSqUhHM9.js} +1 -1
- package/dist/client/assets/{layout-CrCZjoK5.js → layout-Bq6Myxaz.js} +1 -1
- package/dist/client/assets/{localstorage-keys-DyhMCgsK.js → localstorage-keys-BJmhHKWF.js} +1 -1
- package/dist/client/assets/{login-BqsIHX7V.js → login-DSF1cjKT.js} +1 -1
- package/dist/client/assets/{markdown-Biu_K3T4.js → markdown-DvqaxoJ5.js} +1 -1
- package/dist/client/assets/{mcp-app-renderer-C2Ylvbme.js → mcp-app-renderer-aJB6fBaU.js} +1 -1
- package/dist/client/assets/{mcp-oauth-Bjgs9JoZ.js → mcp-oauth-2wHFylg7.js} +1 -1
- package/dist/client/assets/{mcp-server-card-Cup_00LD.js → mcp-server-card-Cn2H83vH.js} +1 -1
- package/dist/client/assets/{mcp-server-detail--Jr_gAUp.js → mcp-server-detail-lE0pGp29.js} +2 -2
- package/dist/client/assets/{members-uqs0bICl.js → members-BuImI7ND.js} +1 -1
- package/dist/client/assets/{monaco-editor-DxLnMtPf.js → monaco-editor-SwsEpKlB.js} +4 -4
- package/dist/client/assets/{monitoring-BVpuqZj3.js → monitoring-Bv_Wv80X.js} +1 -1
- package/dist/client/assets/{monitoring-dashboard-edit-DboSkF1Z.js → monitoring-dashboard-edit-BylDvYg8.js} +1 -1
- package/dist/client/assets/{monitoring-dashboard-view-Sh6DZnJz.js → monitoring-dashboard-view-B_pJVrrS.js} +1 -1
- package/dist/client/assets/{oauth-callback-C_W-tYN-.js → oauth-callback-C-xmbOsV.js} +1 -1
- package/dist/client/assets/{page-Bes2KnC1.js → page-BKSN9Drl.js} +1 -1
- package/dist/client/assets/page-CZPmUSlO.js +1 -0
- package/dist/client/assets/{plugin-empty-state-DiQvKRhi.js → plugin-empty-state-HOq_q80n.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-9L7esDde.js → plugin-empty-state-bxl1dMqp.js} +1 -1
- package/dist/client/assets/{plugin-header--u34B63W.js → plugin-header-BAMV4zF5.js} +1 -1
- package/dist/client/assets/{plugin-header-BQ0StX2h.js → plugin-header-QZiviPcF.js} +1 -1
- package/dist/client/assets/plugins-i1Oy0JXC.js +1 -0
- package/dist/client/assets/{popover-BD-c_pAA.js → popover-m7Ex_T4a.js} +1 -1
- package/dist/client/assets/{project-app-view-DIraT3UL.js → project-app-view-B5ftO9lL.js} +1 -1
- package/dist/client/assets/{project-layout-D1HtBF_a.js → project-layout-Cyq8TAkW.js} +1 -1
- package/dist/client/assets/{project-plugins-Bf4ZMkbc.js → project-plugins-CUAz7I1S.js} +1 -1
- package/dist/client/assets/{projects-list-Bfhn5AOu.js → projects-list-CFlzXalM.js} +1 -1
- package/dist/client/assets/{readme-viewer-Bz6eCbMV.js → readme-viewer-RNjSBydu.js} +1 -1
- package/dist/client/assets/{registry-layout-DJa_ec1i.js → registry-layout-CFyEhu7d.js} +1 -1
- package/dist/client/assets/{registry-utils-BAmZqs68.js → registry-utils-lWflqbtn.js} +1 -1
- package/dist/client/assets/{reports-layout-D5Z2DXwV.js → reports-layout-B8k-uVLv.js} +1 -1
- package/dist/client/assets/{reset-password-Dl47mf_w.js → reset-password-B4M2Vb6F.js} +1 -1
- package/dist/client/assets/{resizable-D-Qy_gIf.js → resizable-K428TivC.js} +1 -1
- package/dist/client/assets/{save-actions-C1NjZgvb.js → save-actions-2xQESr_o.js} +1 -1
- package/dist/client/assets/{scroll-area-fWogdApD.js → scroll-area-Cqx-FPbb.js} +1 -1
- package/dist/client/assets/{select-45R_TReG.js → select-DCJCMvYp.js} +1 -1
- package/dist/client/assets/{shell-layout-CA8fD8RA.js → shell-layout--yAC8J-z.js} +2 -2
- package/dist/client/assets/{sidebar-settings--2xwv6Nu.js → sidebar-settings-C_UAuILZ.js} +1 -1
- package/dist/client/assets/{skeleton-B23sd6oG.js → skeleton-Cka0I_g-.js} +1 -1
- package/dist/client/assets/{spinner-DrSoNW9Q.js → spinner-BFxrY61u.js} +1 -1
- package/dist/client/assets/{store-invite-DJFtuLEP.js → store-invite-DJ8WM3ac.js} +1 -1
- package/dist/client/assets/{switch-DbnN_OzY.js → switch-DYDtUk6R.js} +1 -1
- package/dist/client/assets/{table-JhNW7SQy.js → table-CZYoHyke.js} +1 -1
- package/dist/client/assets/{tabs-fxZVpBgm.js → tabs-Bdkj1lgQ.js} +1 -1
- package/dist/client/assets/tasks-CKEKZTJH.js +1 -0
- package/dist/client/assets/{tasks-panel-CL4KTePe.js → tasks-panel-BM9-nwF1.js} +1 -1
- package/dist/client/assets/{textarea-DdFrppMC.js → textarea-WmaLJOSS.js} +1 -1
- package/dist/client/assets/{time-range-picker-cwer29Fw.js → time-range-picker-DTx-aw7h.js} +1 -1
- package/dist/client/assets/{toggle-group-DN2MnVNp.js → toggle-group-BSTN0kXc.js} +1 -1
- package/dist/client/assets/{tools-list-DIjrxN4B.js → tools-list-CputjGXX.js} +1 -1
- package/dist/client/assets/{tooltip-c2IY6Q1h.js → tooltip-CXXn3Ro_.js} +1 -1
- package/dist/client/assets/{topbar-portal-B1jaxoch.js → topbar-portal-BB1Hwfr5.js} +1 -1
- package/dist/client/assets/{types-D02NXJjh.js → types-C_NrK4kj.js} +1 -1
- package/dist/client/assets/{use-binding-CczCr_I6.js → use-binding-DX3XjK3s.js} +1 -1
- package/dist/client/assets/{use-collections-BM5qbXh2.js → use-collections-CyaEugDP.js} +1 -1
- package/dist/client/assets/{use-connection-D_z7DIgr.js → use-connection-CsQi-w6W.js} +1 -1
- package/dist/client/assets/{use-copy-CedSm4V4.js → use-copy-DA_ixYAx.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-DN0LN6Ks.js → use-create-virtual-mcp-D0cZ7y8m.js} +1 -1
- package/dist/client/assets/{use-install-from-registry-DJsrJBCB.js → use-install-from-registry-BHgaGTIV.js} +1 -1
- package/dist/client/assets/{use-list-state-DiVFU-Ch.js → use-list-state-t7h0TU4q.js} +1 -1
- package/dist/client/assets/{use-llm-Cgu6F_JM.js → use-llm-CadTJIkK.js} +1 -1
- package/dist/client/assets/{use-mcp-resources-F-AJdNv-.js → use-mcp-resources-CiQCrFU3.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-CXYzi3AR.js → use-mcp-tools-YbcA7Rhs.js} +1 -1
- package/dist/client/assets/{use-members-DgdmWVSo.js → use-members-BiifNEMb.js} +1 -1
- package/dist/client/assets/{use-mobile-Y1Ty5Ao9.js → use-mobile-v7QQFcpP.js} +1 -1
- package/dist/client/assets/{use-project-Bp8E6yw9.js → use-project-DMEAhjqE.js} +1 -1
- package/dist/client/assets/{use-settings-modal-BMI_o1Ch.js → use-settings-modal-Chc2B680.js} +1 -1
- package/dist/client/assets/{use-view-mode-D1a8tpCU.js → use-view-mode-B4wK2uKy.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-BwZwR42s.js → use-virtual-mcp-lesqjVQJ.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-CgnpS_zo.js +1 -0
- package/dist/client/assets/{useMutation-DxToDvqg.js → useMutation-CCGHUnSx.js} +1 -1
- package/dist/client/assets/useQuery-C9IzXvrv.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-DrWcoToz.js +1 -0
- package/dist/client/assets/{user-Cjj1cELF.js → user-DGGjXKaB.js} +1 -1
- package/dist/client/assets/{workflow-DF5-JJx7.js → workflow-Buoqg9Rm.js} +1 -1
- package/dist/client/index.html +1 -1
- package/package.json +1 -1
- package/dist/client/assets/constants-C5K20DFA.js +0 -1
- package/dist/client/assets/index-B3tSRm_S.js +0 -1
- package/dist/client/assets/page-_IMVPTag.js +0 -1
- package/dist/client/assets/plugins-CVY3rx6b.js +0 -1
- package/dist/client/assets/tasks-9SndjM2b.js +0 -1
- package/dist/client/assets/useInfiniteQuery-MM2sZURp.js +0 -1
- package/dist/client/assets/useQuery-C_yP5u2a.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-rRWDLVCQ.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as y,m as p}from"./index-
|
|
1
|
+
import{c as y,m as p}from"./index-B57CuSVv.js";import{u as q}from"./useQuery-C9IzXvrv.js";import{u as C}from"./useMutation-CCGHUnSx.js";import{K as T}from"./constants-DamjJgLK.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-
|
|
1
|
+
import{c as n,u as o,m as u,K as i,d as a}from"./index-B57CuSVv.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-
|
|
1
|
+
import{c as m,r}from"./index-B57CuSVv.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-
|
|
1
|
+
import{K as m,c as C,m as T}from"./index-B57CuSVv.js";import{u as y}from"./useQuery-C9IzXvrv.js";import{u as f,a}from"./constants-DamjJgLK.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};
|
package/dist/client/assets/{use-settings-modal-BMI_o1Ch.js → use-settings-modal-Chc2B680.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as g,c as v,b as C,a as k,e as E}from"./index-
|
|
1
|
+
import{r as g,c as v,b as C,a as k,e as E}from"./index-B57CuSVv.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-
|
|
1
|
+
import{c as p,r as f}from"./index-B57CuSVv.js";import{u as w}from"./use-mobile-v7QQFcpP.js";function S(m,M){const e=p.c(12),u=M===void 0?"cards":M,o=w(),b=f.useRef(o),s=m?`deco-view-mode-${m}`:"deco-view-mode";let i;e[0]!==u||e[1]!==s?(i=()=>{const r=globalThis.localStorage?.getItem(s);return r==="cards"||r==="table"?r:u},e[0]=u,e[1]=s,e[2]=i):i=e[2];const[t,g]=f.useState(i);let l;e[3]!==s?(l=r=>{g(r),globalThis.localStorage?.setItem(s,r)},e[3]=s,e[4]=l):l=e[4];const d=l;let c,a;e[5]!==o||e[6]!==t?(c=()=>{!b.current&&o&&t==="table"&&g("cards"),b.current=o},a=[o,t],e[5]=o,e[6]=t,e[7]=c,e[8]=a):(c=e[7],a=e[8]),f.useEffect(c,a);let n;return e[9]!==d||e[10]!==t?(n=[t,d],e[9]=d,e[10]=t,e[11]=n):n=e[11],n}export{S as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c,u as r}from"./index-
|
|
1
|
+
import{c,u as r}from"./index-B57CuSVv.js";import{e as a,u as C,d as I}from"./use-collections-CyaEugDP.js";import{a as l,u}from"./constants-DamjJgLK.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-C3tGBnJO.js";import{$ as i}from"./index-B57CuSVv.js";function t(e,r){return i(e,u,r)}export{t as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
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-B57CuSVv.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-B57CuSVv.js";function o(e,r){return u(e,s,r)}export{o as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{I as s}from"./infiniteQueryObserver-C3tGBnJO.js";import{$ as u,a0 as n}from"./index-B57CuSVv.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-
|
|
1
|
+
import{c as w,u as C,K as S,v as y,j as t}from"./index-B57CuSVv.js";import{A as E}from"./avatar-CcqnmiIz.js";import{u as k}from"./useQuery-C9IzXvrv.js";import{a as A,u as _}from"./constants-DamjJgLK.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-
|
|
1
|
+
import{c as g,u as C,n as W,K as x,t as _,j as i,B as I}from"./index-B57CuSVv.js";import{a as w,u as L}from"./constants-DamjJgLK.js";import{C as k}from"./collection-tab-DqYMGC3r.js";import{E as O}from"./collection-search-BIoOOBZ6.js";import{u as S}from"./useMutation-CCGHUnSx.js";import{P as u}from"./index-D4fBp4Zp.js";import{B as b,a as h,b as P,c as y}from"./breadcrumb-C83RhVbl.js";import{e as T}from"./Dataflow03-D-Wxrb9j.js";import"./generate-id-Dyweu44Y.js";import"./collection-display-button-DRrGPN0E.js";import"./dropdown-menu-ALsN-pVk.js";import"./Check-BYEmwnWo.js";import"./ChevronRight-BLexx0Qt.js";import"./ArrowDown-D1jGbXdS.js";import"./ArrowUp-BlFtnyf3.js";import"./Grid01-BL7E3ovv.js";import"./List-DXYRXNTE.js";import"./tooltip-CXXn3Ro_.js";import"./index-Bes18yjv.js";import"./badge-B3PuW_EW.js";import"./card-mroijQho.js";import"./integration-icon-EqK5mfs3.js";import"./Container-C2fyu03W.js";import"./Copy01-D1aG80p5.js";import"./DotsVertical-C5Mnj-Ol.js";import"./Edit01-C-2hPhWx.js";import"./Eye-Ce2mviev.js";import"./Trash01-XEPfiPr3.js";import"./collection-table-wrapper-DK6wDujb.js";import"./table-CZYoHyke.js";import"./empty-state-Di_n6NJK.js";import"./Inbox01-50IITj70.js";import"./user-DGGjXKaB.js";import"./avatar-CcqnmiIz.js";import"./useQuery-C9IzXvrv.js";import"./use-list-state-t7h0TU4q.js";import"./use-view-mode-B4wK2uKy.js";import"./use-mobile-v7QQFcpP.js";import"./constants-CoYp9Khb.js";import"./alert-dialog-B7P1Xx2P.js";import"./use-collections-CyaEugDP.js";import"./Plus-Dcmwoj2g.js";import"./layout-Bq6Myxaz.js";import"./Loading01-C3DKwOFI.js";import"./SearchMd-fcNN21Gr.js";import"./input-D2SfEJvf.js";import"./localstorage-keys-BJmhHKWF.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};
|
package/dist/client/index.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<title>MCP Mesh</title>
|
|
5
5
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
6
|
-
<script type="module" crossorigin src="/assets/index-
|
|
6
|
+
<script type="module" crossorigin src="/assets/index-B57CuSVv.js"></script>
|
|
7
7
|
<link rel="stylesheet" crossorigin href="/assets/index-D6E08wfB.css">
|
|
8
8
|
</head>
|
|
9
9
|
<body>
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a3 as a,a4 as t}from"./index-zTmRWZBl.js";const e=a(t,{target:"draft-7"});export{e as B};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as n,aH as q,J as R,ab as Ee,af as ke,ag as Se,ac as Ie,aI as j}from"./index-zTmRWZBl.js";var de=1,xe=.9,Ce=.8,Re=.17,Q=.1,Z=.999,Ae=.9999,Me=.99,$e=/[\\\/_+.#"@\[\(\{&]/,De=/[\\\/_+.#"@\[\(\{&]/g,Fe=/[\s-]/,ve=/[\s-]/g;function ee(t,l,r,f,u,c,d){if(c===l.length)return u===t.length?de:Me;var v=`${u},${c}`;if(d[v]!==void 0)return d[v];for(var b=f.charAt(c),i=r.indexOf(b,u),p=0,h,I,E,x;i>=0;)h=ee(t,l,r,f,i+1,c+1,d),h>p&&(i===u?h*=de:$e.test(t.charAt(i-1))?(h*=Ce,E=t.slice(u,i-1).match(De),E&&u>0&&(h*=Math.pow(Z,E.length))):Fe.test(t.charAt(i-1))?(h*=xe,x=t.slice(u,i-1).match(ve),x&&u>0&&(h*=Math.pow(Z,x.length))):(h*=Re,u>0&&(h*=Math.pow(Z,i-u))),t.charAt(i)!==l.charAt(c)&&(h*=Ae)),(h<Q&&r.charAt(i-1)===f.charAt(c+1)||f.charAt(c+1)===f.charAt(c)&&r.charAt(i-1)!==f.charAt(c))&&(I=ee(t,l,r,f,i+1,c+2,d),I*Q>h&&(h=I*Q)),h>p&&(p=h),i=r.indexOf(b,i+1);return d[v]=p,p}function se(t){return t.toLowerCase().replace(ve," ")}function Ke(t,l,r){return t=r&&r.length>0?`${t+" "+r.join(" ")}`:t,ee(t,l,se(t),se(l),0,0,{})}var V='[cmdk-group=""]',_='[cmdk-group-items=""]',qe='[cmdk-group-heading=""]',me='[cmdk-item=""]',fe=`${me}:not([aria-disabled="true"])`,te="cmdk-item-select",F="data-value",Pe=(t,l,r)=>Ke(t,l,r),pe=n.createContext(void 0),L=()=>n.useContext(pe),he=n.createContext(void 0),re=()=>n.useContext(he),ge=n.createContext(void 0),be=n.forwardRef((t,l)=>{let r=K(()=>{var e,o;return{search:"",value:(o=(e=t.value)!=null?e:t.defaultValue)!=null?o:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),f=K(()=>new Set),u=K(()=>new Map),c=K(()=>new Map),d=K(()=>new Set),v=we(t),{label:b,children:i,value:p,onValueChange:h,filter:I,shouldFilter:E,loop:x,disablePointerSelection:H=!1,vimBindings:A=!0,...O}=t,U=q(),ne=q(),J=q(),M=n.useRef(null),w=Te();$(()=>{if(p!==void 0){let e=p.trim();r.current.value=e,k.emit()}},[p]),$(()=>{w(6,ae)},[]);let k=n.useMemo(()=>({subscribe:e=>(d.current.add(e),()=>d.current.delete(e)),snapshot:()=>r.current,setState:(e,o,s)=>{var a,m,g,S;if(!Object.is(r.current[e],o)){if(r.current[e]=o,e==="search")G(),T(),w(1,W);else if(e==="value"){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let y=document.getElementById(J);y?y.focus():(a=document.getElementById(U))==null||a.focus()}if(w(7,()=>{var y;r.current.selectedItemId=(y=D())==null?void 0:y.id,k.emit()}),s||w(5,ae),((m=v.current)==null?void 0:m.value)!==void 0){let y=o??"";(S=(g=v.current).onValueChange)==null||S.call(g,y);return}}k.emit()}},emit:()=>{d.current.forEach(e=>e())}}),[]),N=n.useMemo(()=>({value:(e,o,s)=>{var a;o!==((a=c.current.get(e))==null?void 0:a.value)&&(c.current.set(e,{value:o,keywords:s}),r.current.filtered.items.set(e,le(o,s)),w(2,()=>{T(),k.emit()}))},item:(e,o)=>(f.current.add(e),o&&(u.current.has(o)?u.current.get(o).add(e):u.current.set(o,new Set([e]))),w(3,()=>{G(),T(),r.current.value||W(),k.emit()}),()=>{c.current.delete(e),f.current.delete(e),r.current.filtered.items.delete(e);let s=D();w(4,()=>{G(),s?.getAttribute("id")===e&&W(),k.emit()})}),group:e=>(u.current.has(e)||u.current.set(e,new Set),()=>{c.current.delete(e),u.current.delete(e)}),filter:()=>v.current.shouldFilter,label:b||t["aria-label"],getDisablePointerSelection:()=>v.current.disablePointerSelection,listId:U,inputId:J,labelId:ne,listInnerRef:M}),[]);function le(e,o){var s,a;let m=(a=(s=v.current)==null?void 0:s.filter)!=null?a:Pe;return e?m(e,r.current.search,o):0}function T(){if(!r.current.search||v.current.shouldFilter===!1)return;let e=r.current.filtered.items,o=[];r.current.filtered.groups.forEach(a=>{let m=u.current.get(a),g=0;m.forEach(S=>{let y=e.get(S);g=Math.max(y,g)}),o.push([a,g])});let s=M.current;P().sort((a,m)=>{var g,S;let y=a.getAttribute("id"),B=m.getAttribute("id");return((g=e.get(B))!=null?g:0)-((S=e.get(y))!=null?S:0)}).forEach(a=>{let m=a.closest(_);m?m.appendChild(a.parentElement===m?a:a.closest(`${_} > *`)):s.appendChild(a.parentElement===s?a:a.closest(`${_} > *`))}),o.sort((a,m)=>m[1]-a[1]).forEach(a=>{var m;let g=(m=M.current)==null?void 0:m.querySelector(`${V}[${F}="${encodeURIComponent(a[0])}"]`);g?.parentElement.appendChild(g)})}function W(){let e=P().find(s=>s.getAttribute("aria-disabled")!=="true"),o=e?.getAttribute(F);k.setState("value",o||void 0)}function G(){var e,o,s,a;if(!r.current.search||v.current.shouldFilter===!1){r.current.filtered.count=f.current.size;return}r.current.filtered.groups=new Set;let m=0;for(let g of f.current){let S=(o=(e=c.current.get(g))==null?void 0:e.value)!=null?o:"",y=(a=(s=c.current.get(g))==null?void 0:s.keywords)!=null?a:[],B=le(S,y);r.current.filtered.items.set(g,B),B>0&&m++}for(let[g,S]of u.current)for(let y of S)if(r.current.filtered.items.get(y)>0){r.current.filtered.groups.add(g);break}r.current.filtered.count=m}function ae(){var e,o,s;let a=D();a&&(((e=a.parentElement)==null?void 0:e.firstChild)===a&&((s=(o=a.closest(V))==null?void 0:o.querySelector(qe))==null||s.scrollIntoView({block:"nearest"})),a.scrollIntoView({block:"nearest"}))}function D(){var e;return(e=M.current)==null?void 0:e.querySelector(`${me}[aria-selected="true"]`)}function P(){var e;return Array.from(((e=M.current)==null?void 0:e.querySelectorAll(fe))||[])}function X(e){let o=P()[e];o&&k.setState("value",o.getAttribute(F))}function Y(e){var o;let s=D(),a=P(),m=a.findIndex(S=>S===s),g=a[m+e];(o=v.current)!=null&&o.loop&&(g=m+e<0?a[a.length-1]:m+e===a.length?a[0]:a[m+e]),g&&k.setState("value",g.getAttribute(F))}function ue(e){let o=D(),s=o?.closest(V),a;for(;s&&!a;)s=e>0?Je(s,V):Ne(s,V),a=s?.querySelector(fe);a?k.setState("value",a.getAttribute(F)):Y(e)}let ie=()=>X(P().length-1),oe=e=>{e.preventDefault(),e.metaKey?ie():e.altKey?ue(1):Y(1)},ce=e=>{e.preventDefault(),e.metaKey?X(0):e.altKey?ue(-1):Y(-1)};return n.createElement(R.div,{ref:l,tabIndex:-1,...O,"cmdk-root":"",onKeyDown:e=>{var o;(o=O.onKeyDown)==null||o.call(O,e);let s=e.nativeEvent.isComposing||e.keyCode===229;if(!(e.defaultPrevented||s))switch(e.key){case"n":case"j":{A&&e.ctrlKey&&oe(e);break}case"ArrowDown":{oe(e);break}case"p":case"k":{A&&e.ctrlKey&&ce(e);break}case"ArrowUp":{ce(e);break}case"Home":{e.preventDefault(),X(0);break}case"End":{e.preventDefault(),ie();break}case"Enter":{e.preventDefault();let a=D();if(a){let m=new Event(te);a.dispatchEvent(m)}}}}},n.createElement("label",{"cmdk-label":"",htmlFor:N.inputId,id:N.labelId,style:Ge},b),z(t,e=>n.createElement(he.Provider,{value:k},n.createElement(pe.Provider,{value:N},e))))}),Ve=n.forwardRef((t,l)=>{var r,f;let u=q(),c=n.useRef(null),d=n.useContext(ge),v=L(),b=we(t),i=(f=(r=b.current)==null?void 0:r.forceMount)!=null?f:d?.forceMount;$(()=>{if(!i)return v.item(u,d?.id)},[i]);let p=ye(u,c,[t.value,t.children,c],t.keywords),h=re(),I=C(w=>w.value&&w.value===p.current),E=C(w=>i||v.filter()===!1?!0:w.search?w.filtered.items.get(u)>0:!0);n.useEffect(()=>{let w=c.current;if(!(!w||t.disabled))return w.addEventListener(te,x),()=>w.removeEventListener(te,x)},[E,t.onSelect,t.disabled]);function x(){var w,k;H(),(k=(w=b.current).onSelect)==null||k.call(w,p.current)}function H(){h.setState("value",p.current,!0)}if(!E)return null;let{disabled:A,value:O,onSelect:U,forceMount:ne,keywords:J,...M}=t;return n.createElement(R.div,{ref:j(c,l),...M,id:u,"cmdk-item":"",role:"option","aria-disabled":!!A,"aria-selected":!!I,"data-disabled":!!A,"data-selected":!!I,onPointerMove:A||v.getDisablePointerSelection()?void 0:H,onClick:A?void 0:x},t.children)}),je=n.forwardRef((t,l)=>{let{heading:r,children:f,forceMount:u,...c}=t,d=q(),v=n.useRef(null),b=n.useRef(null),i=q(),p=L(),h=C(E=>u||p.filter()===!1?!0:E.search?E.filtered.groups.has(d):!0);$(()=>p.group(d),[]),ye(d,v,[t.value,t.heading,b]);let I=n.useMemo(()=>({id:d,forceMount:u}),[u]);return n.createElement(R.div,{ref:j(v,l),...c,"cmdk-group":"",role:"presentation",hidden:h?void 0:!0},r&&n.createElement("div",{ref:b,"cmdk-group-heading":"","aria-hidden":!0,id:i},r),z(t,E=>n.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?i:void 0},n.createElement(ge.Provider,{value:I},E))))}),Le=n.forwardRef((t,l)=>{let{alwaysRender:r,...f}=t,u=n.useRef(null),c=C(d=>!d.search);return!r&&!c?null:n.createElement(R.div,{ref:j(u,l),...f,"cmdk-separator":"",role:"separator"})}),Oe=n.forwardRef((t,l)=>{let{onValueChange:r,...f}=t,u=t.value!=null,c=re(),d=C(i=>i.search),v=C(i=>i.selectedItemId),b=L();return n.useEffect(()=>{t.value!=null&&c.setState("search",t.value)},[t.value]),n.createElement(R.input,{ref:l,...f,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":b.listId,"aria-labelledby":b.labelId,"aria-activedescendant":v,id:b.inputId,type:"text",value:u?t.value:d,onChange:i=>{u||c.setState("search",i.target.value),r?.(i.target.value)}})}),Be=n.forwardRef((t,l)=>{let{children:r,label:f="Suggestions",...u}=t,c=n.useRef(null),d=n.useRef(null),v=C(i=>i.selectedItemId),b=L();return n.useEffect(()=>{if(d.current&&c.current){let i=d.current,p=c.current,h,I=new ResizeObserver(()=>{h=requestAnimationFrame(()=>{let E=i.offsetHeight;p.style.setProperty("--cmdk-list-height",E.toFixed(1)+"px")})});return I.observe(i),()=>{cancelAnimationFrame(h),I.unobserve(i)}}},[]),n.createElement(R.div,{ref:j(c,l),...u,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":v,"aria-label":f,id:b.listId},z(t,i=>n.createElement("div",{ref:j(d,b.listInnerRef),"cmdk-list-sizer":""},i)))}),ze=n.forwardRef((t,l)=>{let{open:r,onOpenChange:f,overlayClassName:u,contentClassName:c,container:d,...v}=t;return n.createElement(Ee,{open:r,onOpenChange:f},n.createElement(ke,{container:d},n.createElement(Se,{"cmdk-overlay":"",className:u}),n.createElement(Ie,{"aria-label":t.label,"cmdk-dialog":"",className:c},n.createElement(be,{ref:l,...v}))))}),He=n.forwardRef((t,l)=>C(r=>r.filtered.count===0)?n.createElement(R.div,{ref:l,...t,"cmdk-empty":"",role:"presentation"}):null),Ue=n.forwardRef((t,l)=>{let{progress:r,children:f,label:u="Loading...",...c}=t;return n.createElement(R.div,{ref:l,...c,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":u},z(t,d=>n.createElement("div",{"aria-hidden":!0},d)))}),Ye=Object.assign(be,{List:Be,Item:Ve,Input:Oe,Group:je,Separator:Le,Dialog:ze,Empty:He,Loading:Ue});function Je(t,l){let r=t.nextElementSibling;for(;r;){if(r.matches(l))return r;r=r.nextElementSibling}}function Ne(t,l){let r=t.previousElementSibling;for(;r;){if(r.matches(l))return r;r=r.previousElementSibling}}function we(t){let l=n.useRef(t);return $(()=>{l.current=t}),l}var $=typeof window>"u"?n.useEffect:n.useLayoutEffect;function K(t){let l=n.useRef();return l.current===void 0&&(l.current=t()),l}function C(t){let l=re(),r=()=>t(l.snapshot());return n.useSyncExternalStore(l.subscribe,r,r)}function ye(t,l,r,f=[]){let u=n.useRef(),c=L();return $(()=>{var d;let v=(()=>{var i;for(let p of r){if(typeof p=="string")return p.trim();if(typeof p=="object"&&"current"in p)return p.current?(i=p.current.textContent)==null?void 0:i.trim():u.current}})(),b=f.map(i=>i.trim());c.value(t,v,b),(d=l.current)==null||d.setAttribute(F,v),u.current=v}),u}var Te=()=>{let[t,l]=n.useState(),r=K(()=>new Map);return $(()=>{r.current.forEach(f=>f()),r.current=new Map},[t]),(f,u)=>{r.current.set(f,u),l({})}};function We(t){let l=t.type;return typeof l=="function"?l(t.props):"render"in l?l.render(t.props):t}function z({asChild:t,children:l},r){return t&&n.isValidElement(l)?n.cloneElement(We(l),{ref:l.ref},r(l.props.children)):r(l)}var Ge={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};export{Ye as _};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as Q,r as U,u as re,K as ie,bZ as we,j as t,v as oe,B as Y,b as de,a1 as me,a2 as ue,O as fe,d as Ie,aE as Te,b_ as ne,E as Re,aG as Pe}from"./index-zTmRWZBl.js";import{P as X}from"./index-C3HPQ2Xr.js";import{B as $e,a as ke,b as ze,c as Le}from"./breadcrumb-oXffKFw_.js";import{i as xe}from"./FilterLines-DkQNMule.js";import{n as ge}from"./Inbox01-CPxBPhel.js";import{i as se}from"./Loading01-e5vrz4Tg.js";import{i as pe}from"./SearchMd-3uDmzuN-.js";import{u as he}from"./useQuery-C_yP5u2a.js";import{u as Fe}from"./useInfiniteQuery-MM2sZURp.js";import{a as Ee,f as Oe,b as _e}from"./registry-utils-BAmZqs68.js";import{u as je,W as Ke,a as Ae,f as Me,b as Be}from"./constants-Bi0KgUSI.js";import{u as De,a as ye,b as Ge}from"./use-connection-D_z7DIgr.js";import{s as We}from"./slugify-CEUa2lfQ.js";import{C as Ve,E as qe}from"./collection-search-mO1HMauC.js";import{M as ae}from"./mcp-server-card-Cup_00LD.js";import{I as Ue}from"./input-yDn0CDzQ.js";import{a as ve,b as be,P as Ne}from"./popover-BD-c_pAA.js";import{i as Ce}from"./Check-xOBqZzmv.js";import{t as Se}from"./ChevronDown-cFwq8_1y.js";import{s as te}from"./XClose-CPAcIRmr.js";import{s as He}from"./Plus-CAkBZRVl.js";import{u as Je}from"./use-binding-CczCr_I6.js";import{L as Qe,u as Ye}from"./localstorage-keys-DyhMCgsK.js";import"./tooltip-c2IY6Q1h.js";import"./index-DNc2lZPL.js";import"./ChevronRight-zkVqPrw5.js";import"./infiniteQueryObserver-CzeIHV7S.js";import"./use-collections-BM5qbXh2.js";import"./useMutation-DxToDvqg.js";import"./CheckVerified02-CEWZcD4z.js";import"./Globe02-ChkOndGF.js";import"./Lock01-CFsYgwl6.js";import"./Terminal-D4rOkPT8.js";import"./card-B9F3gzU1.js";import"./integration-icon-BKuXjqdm.js";import"./Container-BzuFyXB-.js";import"./github-icon-Dp3wHhYE.js";import"./binder-CSUd_3kq.js";function Ze(s,e){const r=Q.c(4),[l,d]=U.useState(s),n=U.useRef(null),i=U.useRef(!0);let c,a;return r[0]!==e||r[1]!==s?(c=()=>{if(i.current){i.current=!1;return}return n.current&&clearTimeout(n.current),n.current=setTimeout(()=>{d(s)},e),()=>{n.current&&clearTimeout(n.current)}},a=[s,e],r[0]=e,r[1]=s,r[2]=c,r[3]=a):(c=r[2],a=r[3]),U.useEffect(c,a),l}function Xe(s){const e=Q.c(14),r=U.useRef(null),l=`scroll-position:${s}`,d=U.useRef(null);let n;e[0]!==l?(n=()=>{r.current&&sessionStorage.setItem(l,String(r.current.scrollTop))},e[0]=l,e[1]=n):n=e[1];const i=n;let c;e[2]!==l?(c=()=>{if(d.current===l)return;const j=sessionStorage.getItem(l);if(j&&r.current){const S=Number.parseInt(j,10);r.current.scrollTop=S}d.current=l},e[2]=l,e[3]=c):c=e[3];const a=c;let g;e[4]!==a||e[5]!==l?(g=()=>{d.current!==l&&a()},e[4]=a,e[5]=l,e[6]=g):g=e[6];const I=g;let o;e[7]!==a||e[8]!==l?(o=j=>{r.current=j,j&&d.current!==l&&requestAnimationFrame(()=>{a()})},e[7]=a,e[8]=l,e[9]=o):o=e[9];const p=o;let m;return e[10]!==I||e[11]!==i||e[12]!==p?(m={scrollRef:p,saveScrollPosition:i,handleScroll:I},e[10]=I,e[11]=i,e[12]=p,e[13]=m):m=e[13],m}const et=24;function tt(s){const e=Q.c(54),{registryId:r,listToolName:l,filtersToolName:d,search:n}=s,{org:i}=re();let c;e[0]===Symbol.for("react.memo_cache_sentinel")?(c=[],e[0]=c):c=e[0];const[a,g]=U.useState(c);let I;e[1]===Symbol.for("react.memo_cache_sentinel")?(I=[],e[1]=I):I=e[1];const[o,p]=U.useState(I),m=r||null;let j;e[2]!==i.id||e[3]!==m?(j={connectionId:m,orgId:i.id},e[2]=i.id,e[3]=m,e[4]=j):j=e[4];const S=je(j),R=!!d;let b;e[5]!==d||e[6]!==r?(b=ie.toolCall(r,d||"no-filters","{}"),e[5]=d,e[6]=r,e[7]=b):b=e[7];let N;e[8]!==S||e[9]!==d?(N=async()=>{if(!d)return{tags:[],categories:[]};const f=await S.callTool({name:d,arguments:{}});return f.structuredContent??f},e[8]=S,e[9]=d,e[10]=N):N=e[10];let P;e[11]!==b||e[12]!==N?(P={queryKey:b,queryFn:N,staleTime:36e5,retry:2},e[11]=b,e[12]=N,e[13]=P):P=e[13];const{data:$}=he(P);let h,C,k;if(e[14]!==l||e[15]!==r||e[16]!==n||e[17]!==o||e[18]!==a){const f=n?.trim()?{operator:"or",conditions:[{field:["name"],operator:"contains",value:n},{field:["title"],operator:"contains",value:n},{field:["description"],operator:"contains",value:n}]}:void 0;h={limit:et,...a.length>0&&{tags:a},...o.length>0&&{categories:o},...f&&{where:f}},k=Fe,C=ie.toolCall(r,l,JSON.stringify(h)),e[14]=l,e[15]=r,e[16]=n,e[17]=o,e[18]=a,e[19]=h,e[20]=C,e[21]=k}else h=e[19],C=e[20],k=e[21];let v;e[22]!==S||e[23]!==h||e[24]!==l?(v=async f=>{const{pageParam:Z}=f,le=Z?{...h,cursor:Z}:h,ee=await S.callTool({name:l,arguments:le});return ee.structuredContent??ee},e[22]=S,e[23]=h,e[24]=l,e[25]=v):v=e[25];let z;e[26]!==v||e[27]!==C?(z={queryKey:C,queryFn:v,initialPageParam:void 0,getNextPageParam:st,staleTime:36e5,placeholderData:we,retry:2},e[26]=v,e[27]=C,e[28]=z):z=e[28];const{data:w,fetchNextPage:x,hasNextPage:y,isFetchingNextPage:u,isFetching:T,isLoading:L,error:F}=k(z);let _;e:{if(!w?.pages||w.pages.length===0){_=null;break e}const f=w.pages[0];if(typeof f=="object"&&f!==null&&"totalCount"in f&&typeof f.totalCount=="number"){_=f.totalCount;break e}_=null}const K=_,E=w?.pages;let G;e[29]!==E?(G=Ee(E),e[29]=E,e[30]=G):G=e[30];const H=G;let W;e[31]!==n||e[32]!==o.length||e[33]!==a.length?(W=a.length>0||o.length>0||!!n?.trim(),e[31]=n,e[32]=o.length,e[33]=a.length,e[34]=W):W=e[34];const D=W,B=T&&!u&&!L&&D;let A;e[35]!==x||e[36]!==y||e[37]!==u?(A=()=>{y&&!u&&x()},e[35]=x,e[36]=y,e[37]=u,e[38]=A):A=e[38];const V=A,O=y??!1,M=R?$?.tags:void 0,q=R?$?.categories:void 0;let J;return e[39]!==D||e[40]!==T||e[41]!==u||e[42]!==B||e[43]!==L||e[44]!==H||e[45]!==F||e[46]!==V||e[47]!==o||e[48]!==a||e[49]!==O||e[50]!==M||e[51]!==q||e[52]!==K?(J={items:H,totalCount:K,hasMore:O,isLoadingMore:u,isFiltering:B,isInitialLoading:L,isFetching:T,error:F,loadMore:V,availableTags:M,availableCategories:q,selectedTags:a,selectedCategories:o,setSelectedTags:g,setSelectedCategories:p,hasActiveFilters:D},e[39]=D,e[40]=T,e[41]=u,e[42]=B,e[43]=L,e[44]=H,e[45]=F,e[46]=V,e[47]=o,e[48]=a,e[49]=O,e[50]=M,e[51]=q,e[52]=K,e[53]=J):J=e[53],J}function st(s){if(typeof s=="object"&&s!==null){const e=s.nextCursor||s.cursor;if(e)return e}}function rt(s,e){return[...s].sort((r,l)=>l.count-r.count).slice(0,e)}function ce(s){const e=Q.c(52),{label:r,items:l,selectedItems:d,onToggle:n,onClear:i}=s,[c,a]=U.useState(""),[g,I]=U.useState(!1);let o,p,m,j,S,R,b,N,P,$,h;if(e[0]!==l||e[1]!==r||e[2]!==n||e[3]!==g||e[4]!==c||e[5]!==d){const x=[...c?l.filter(E=>E.value.toLowerCase().includes(c.toLowerCase())):l].sort(lt);m=d.length,p=ve,P=g,$=I;let y;e[17]!==r?(y=t.jsx("span",{children:r}),e[17]=r,e[18]=y):y=e[18];let u;e[19]!==m?(u=m>0&&t.jsx("span",{className:"ml-1 rounded-full bg-primary text-primary-foreground px-1.5 py-0.5 text-[10px] font-medium",children:m}),e[19]=m,e[20]=u):u=e[20];let T;e[21]===Symbol.for("react.memo_cache_sentinel")?(T=t.jsx(Se,{size:14,className:"opacity-50"}),e[21]=T):T=e[21],e[22]!==u||e[23]!==y?(h=t.jsx(be,{asChild:!0,children:t.jsxs(Y,{variant:"outline",size:"sm",className:"h-7 px-3 gap-1.5 text-xs font-normal flex-1",children:[y,u,T]})}),e[22]=u,e[23]=y,e[24]=h):h=e[24],o=Ne,R="w-64 p-0",b="start";let L;e[25]===Symbol.for("react.memo_cache_sentinel")?(L=t.jsx(pe,{size:16,className:"text-muted-foreground shrink-0"}),e[25]=L):L=e[25];let F;e[26]!==r?(F=r.toLowerCase(),e[26]=r,e[27]=F):F=e[27];const _=`Search ${F}...`;let K;e[28]===Symbol.for("react.memo_cache_sentinel")?(K=E=>a(E.target.value),e[28]=K):K=e[28],e[29]!==c||e[30]!==_?(N=t.jsx("div",{className:"shrink-0 w-full border-b border-border h-10",children:t.jsxs("label",{className:"flex items-center gap-2.5 h-10 px-4 cursor-text",children:[L,t.jsx(Ue,{type:"text",placeholder:_,value:c,onChange:K,className:"flex-1 border-0 shadow-none focus-visible:ring-0 px-0 h-full text-sm placeholder:text-muted-foreground/50 bg-transparent"})]})}),e[29]=c,e[30]=_,e[31]=N):N=e[31],j="max-h-64 overflow-y-auto p-1 flex flex-col gap-1",S=x.length===0?t.jsx("div",{className:"px-2 py-4 text-sm text-muted-foreground text-center",children:"No results found"}):x.map(E=>{const G=d.includes(E.value);return t.jsxs("button",{onClick:()=>n(E.value),className:oe("w-full flex items-center justify-between px-2 py-1.5 text-sm rounded cursor-pointer transition-colors",G?"bg-accent/50 text-foreground":"hover:bg-muted text-foreground"),children:[t.jsxs("span",{className:"truncate flex items-center gap-2",children:[G&&t.jsx(Ce,{size:16,className:"text-muted-foreground shrink-0"}),E.value]}),t.jsx("span",{className:"text-xs text-muted-foreground ml-2 shrink-0",children:E.count})]},E.value)}),e[0]=l,e[1]=r,e[2]=n,e[3]=g,e[4]=c,e[5]=d,e[6]=o,e[7]=p,e[8]=m,e[9]=j,e[10]=S,e[11]=R,e[12]=b,e[13]=N,e[14]=P,e[15]=$,e[16]=h}else o=e[6],p=e[7],m=e[8],j=e[9],S=e[10],R=e[11],b=e[12],N=e[13],P=e[14],$=e[15],h=e[16];let C;e[32]!==j||e[33]!==S?(C=t.jsx("div",{className:j,children:S}),e[32]=j,e[33]=S,e[34]=C):C=e[34];let k;e[35]!==r||e[36]!==i||e[37]!==m?(k=m>0&&t.jsx("div",{className:"p-2 border-t border-border",children:t.jsxs(Y,{variant:"ghost",size:"sm",onClick:i,className:"w-full text-xs text-muted-foreground hover:text-foreground",children:["Clear ",r.toLowerCase()]})}),e[35]=r,e[36]=i,e[37]=m,e[38]=k):k=e[38];let v;e[39]!==o||e[40]!==k||e[41]!==R||e[42]!==b||e[43]!==N||e[44]!==C?(v=t.jsxs(o,{className:R,align:b,children:[N,C,k]}),e[39]=o,e[40]=k,e[41]=R,e[42]=b,e[43]=N,e[44]=C,e[45]=v):v=e[45];let z;return e[46]!==p||e[47]!==v||e[48]!==P||e[49]!==$||e[50]!==h?(z=t.jsxs(p,{open:P,onOpenChange:$,children:[h,v]}),e[46]=p,e[47]=v,e[48]=P,e[49]=$,e[50]=h,e[51]=z):z=e[51],z}function lt(s,e){return e.count-s.count}function nt(s){const e=Q.c(67),{availableTags:r,availableCategories:l,selectedTags:d,selectedCategories:n,onTagChange:i,onCategoryChange:c}=s,a=r&&r.length>0||l&&l.length>0,g=d.length>0||n.length>0;if(!a)return null;let I;e[0]!==i||e[1]!==d?(I=y=>{d.includes(y)?i(d.filter(u=>u!==y)):i([...d,y])},e[0]=i,e[1]=d,e[2]=I):I=e[2];const o=I;let p;e[3]!==c||e[4]!==n?(p=y=>{n.includes(y)?c(n.filter(u=>u!==y)):c([...n,y])},e[3]=c,e[4]=n,e[5]=p):p=e[5];const m=p;let j;e[6]!==c||e[7]!==i?(j=()=>{i([]),c([])},e[6]=c,e[7]=i,e[8]=j):j=e[8];const S=j;let R,b,N,P,$,h,C;if(e[9]!==l||e[10]!==r||e[11]!==c||e[12]!==i||e[13]!==n||e[14]!==d||e[15]!==m||e[16]!==o){const y=l?rt(l,6):[];R=n,b=d,C=new Set(y.map(it)),$="flex items-center border-b border-border";let u;e[24]===Symbol.for("react.memo_cache_sentinel")?(u=t.jsx("div",{className:"flex items-center gap-2 text-muted-foreground",children:t.jsx(xe,{size:16})}),e[24]=u):u=e[24];let T;e[25]!==l||e[26]!==c||e[27]!==n||e[28]!==m?(T=l&&l.length>0&&t.jsx(ce,{label:"Categories",items:l,selectedItems:n,onToggle:m,onClear:()=>c([])}),e[25]=l,e[26]=c,e[27]=n,e[28]=m,e[29]=T):T=e[29];let L;e[30]!==r||e[31]!==i||e[32]!==d||e[33]!==o?(L=r&&r.length>0&&t.jsx(ce,{label:"Tags",items:r,selectedItems:d,onToggle:o,onClear:()=>i([])}),e[30]=r,e[31]=i,e[32]=d,e[33]=o,e[34]=L):L=e[34],e[35]!==L||e[36]!==T?(h=t.jsxs("div",{className:"flex items-center gap-3 flex-wrap px-5 py-3 border-r border-border",children:[u,T,L]}),e[35]=L,e[36]=T,e[37]=h):h=e[37],N="flex items-center gap-3 flex-wrap px-5 py-3";let F;e[38]!==n||e[39]!==m?(F=_=>{const K=n.includes(_.value);return t.jsxs("div",{onClick:()=>m(_.value),className:oe("inline-flex items-center gap-1 text-xs px-2.5 py-1 rounded-full transition-colors cursor-pointer",K?"bg-primary text-primary-foreground hover:bg-primary/80":"bg-muted hover:bg-accent text-muted-foreground"),children:[t.jsx("span",{children:_.value}),K&&t.jsx("span",{onClick:E=>{E.stopPropagation(),m(_.value)},className:"hover:bg-primary/20 rounded-full p-0.5 -mr-1 cursor-pointer flex items-center",children:t.jsx(te,{size:12})})]},_.value)},e[38]=n,e[39]=m,e[40]=F):F=e[40],P=y.map(F),e[9]=l,e[10]=r,e[11]=c,e[12]=i,e[13]=n,e[14]=d,e[15]=m,e[16]=o,e[17]=R,e[18]=b,e[19]=N,e[20]=P,e[21]=$,e[22]=h,e[23]=C}else R=e[17],b=e[18],N=e[19],P=e[20],$=e[21],h=e[22],C=e[23];let k;if(e[41]!==R||e[42]!==m||e[43]!==C){let y;e[45]!==C?(y=T=>!C.has(T),e[45]=C,e[46]=y):y=e[46];let u;e[47]!==m?(u=T=>t.jsxs("div",{onClick:()=>m(T),className:"inline-flex items-center gap-1 text-xs px-2.5 py-1 rounded-full transition-colors cursor-pointer bg-primary text-primary-foreground hover:bg-accent/50",children:[t.jsx("span",{children:T}),t.jsx("span",{onClick:L=>{L.stopPropagation(),m(T)},className:"hover:bg-primary/20 rounded-full p-0.5 -mr-1 cursor-pointer flex items-center",children:t.jsx(te,{size:12})})]},`cat-${T}`),e[47]=m,e[48]=u):u=e[48],k=R.filter(y).map(u),e[41]=R,e[42]=m,e[43]=C,e[44]=k}else k=e[44];let v;if(e[49]!==b||e[50]!==o){let y;e[52]!==o?(y=u=>t.jsxs("div",{onClick:()=>o(u),className:"inline-flex items-center gap-1 text-xs px-2.5 py-1 rounded-full transition-colors cursor-pointer bg-primary text-primary-foreground hover:bg-accent/50",children:[t.jsx("span",{children:u}),t.jsx("span",{onClick:T=>{T.stopPropagation(),o(u)},className:"hover:bg-primary/20 rounded-full p-0.5 -mr-1 cursor-pointer flex items-center",children:t.jsx(te,{size:12})})]},`tag-${u}`),e[52]=o,e[53]=y):y=e[53],v=b.map(y),e[49]=b,e[50]=o,e[51]=v}else v=e[51];let z;e[54]!==S||e[55]!==g?(z=g&&t.jsxs(Y,{variant:"ghost",size:"sm",onClick:S,className:"h-7 text-xs text-muted-foreground hover:text-foreground gap-1 px-2",children:[t.jsx(te,{size:14}),"Clear all"]}),e[54]=S,e[55]=g,e[56]=z):z=e[56];let w;e[57]!==z||e[58]!==N||e[59]!==P||e[60]!==k||e[61]!==v?(w=t.jsxs("div",{className:N,children:[P,k,v,z]}),e[57]=z,e[58]=N,e[59]=P,e[60]=k,e[61]=v,e[62]=w):w=e[62];let x;return e[63]!==w||e[64]!==$||e[65]!==h?(x=t.jsxs("div",{className:$,children:[h,w]}),e[63]=w,e[64]=$,e[65]=h,e[66]=x):x=e[66],x}function it(s){return s.value}function ot(s,e){if(!e)return s;const r=e.toLowerCase();return s.filter(l=>(l.name||l.title||"").toLowerCase().includes(r)||(l.description||l.server?.description||"").toLowerCase().includes(r))}function at(s){return s.verified===!0||s._meta?.["mcp.mesh"]?.verified===!0}function ct(s){const e=Q.c(55),{registryId:r,listToolName:l,filtersToolName:d,storePrivateOnly:n}=s,[i,c]=U.useState(""),a=Ze(i,300),g=de(),{org:I}=re(),{scrollRef:o,saveScrollPosition:p,handleScroll:m}=Xe(`store-discovery:${r}`);let j;e[0]!==a||e[1]!==d||e[2]!==l||e[3]!==r?(j={registryId:r,listToolName:l,filtersToolName:d,search:a},e[0]=a,e[1]=d,e[2]=l,e[3]=r,e[4]=j):j=e[4];const{items:S,hasMore:R,isLoadingMore:b,isInitialLoading:N,isFetching:P,error:$,loadMore:h,availableTags:C,availableCategories:k,selectedTags:v,selectedCategories:z,setSelectedTags:w,setSelectedCategories:x,hasActiveFilters:y}=tt(j);let u,T,L,F;if(e[5]!==a||e[6]!==P||e[7]!==N||e[8]!==S||e[9]!==i||e[10]!==n){const O=i?ot(S,i):S;F=n?O.filter(mt):O,u=(i!==a||P)&&!N&&!!i,L=F.filter(at),T=F.filter(M=>!L.find(q=>q.id===M.id)),e[5]=a,e[6]=P,e[7]=N,e[8]=S,e[9]=i,e[10]=n,e[11]=u,e[12]=T,e[13]=L,e[14]=F}else u=e[11],T=e[12],L=e[13],F=e[14];const _=T;let K;e[15]!==g||e[16]!==I.slug||e[17]!==r||e[18]!==p?(K=O=>{p();const M=We(O.name||O.title||O.server?.title||""),q=typeof O.id=="string"&&O.id.includes("/"),J=typeof O.server?.name=="string"&&O.server.name.includes("/"),f=q&&!J?O.id:O.server?.name||O.id||"";g({to:"/$org/$project/store/$appName",params:{org:I.slug,project:fe,appName:M},search:{registryId:r,serverName:f}})},e[15]=g,e[16]=I.slug,e[17]=r,e[18]=p,e[19]=K):K=e[19];const E=K;let G;e[20]!==m||e[21]!==R||e[22]!==b||e[23]!==h?(G=O=>{if(m(),!R||b)return;const M=O.currentTarget;M.scrollHeight-M.scrollTop-M.clientHeight<200&&h()},e[20]=m,e[21]=R,e[22]=b,e[23]=h,e[24]=G):G=e[24];const H=G;let W;e[25]!==u||e[26]!==i?(W=t.jsx(Ve,{value:i,onChange:c,placeholder:"Search for an MCP Server...",isSearching:u}),e[25]=u,e[26]=i,e[27]=W):W=e[27];let D;e[28]!==k||e[29]!==C||e[30]!==z||e[31]!==v||e[32]!==x||e[33]!==w?(D=t.jsx(nt,{availableTags:C,availableCategories:k,selectedTags:v,selectedCategories:z,onTagChange:w,onCategoryChange:x}),e[28]=k,e[29]=C,e[30]=z,e[31]=v,e[32]=x,e[33]=w,e[34]=D):D=e[34];let B;e[35]!==_||e[36]!==$||e[37]!==E||e[38]!==y||e[39]!==R||e[40]!==N||e[41]!==b||e[42]!==u||e[43]!==i||e[44]!==L||e[45]!==F?(B=t.jsx("div",{className:"p-5",children:t.jsx("div",{children:$&&!N?t.jsxs("div",{className:"flex flex-col items-center justify-center py-12 text-center space-y-4",children:[t.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:t.jsx(me,{className:"size-8 text-destructive"})}),t.jsxs("div",{className:"space-y-2",children:[t.jsx("h3",{className:"text-lg font-medium",children:"Registry unavailable"}),t.jsx("p",{className:"text-sm text-muted-foreground max-w-sm mx-auto",children:"Could not load items from this registry. It may be temporarily offline."}),$.message&&t.jsx("p",{className:"text-xs text-muted-foreground/60 font-mono max-w-md mx-auto truncate",children:$.message})]}),t.jsxs(Y,{variant:"outline",size:"sm",onClick:dt,children:[t.jsx(ue,{className:"size-4"}),"Try again"]})]}):N?t.jsxs("div",{className:"flex flex-col items-center justify-center py-12 text-center",children:[t.jsx(se,{size:32,className:"animate-spin text-muted-foreground mb-4"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Loading items..."})]}):F.length===0&&!y?t.jsxs("div",{className:"flex flex-col items-center justify-center py-12 text-center",children:[t.jsx(ge,{size:48,className:"text-muted-foreground mb-4"}),t.jsx("h3",{className:"text-lg font-medium mb-2",children:"No items available"}),t.jsx("p",{className:"text-muted-foreground",children:"This store doesn't have any available items yet."})]}):F.length===0&&y&&!i?t.jsxs("div",{className:"flex flex-col items-center justify-center py-12 text-center",children:[t.jsx(xe,{size:48,className:"text-muted-foreground mb-4"}),t.jsx("h3",{className:"text-lg font-medium mb-2",children:"No matching items"}),t.jsx("p",{className:"text-muted-foreground",children:"Try adjusting your filters to find more results."})]}):i&&F.length===0&&!u?t.jsxs("div",{className:"flex flex-col items-center justify-center py-12 text-center",children:[t.jsx(pe,{size:48,className:"text-muted-foreground mb-4"}),t.jsx("h3",{className:"text-lg font-medium mb-2",children:"No results found"}),t.jsx("p",{className:"text-muted-foreground",children:"Try adjusting your search terms."})]}):t.jsxs("div",{className:"flex flex-col gap-8",children:[u&&F.length===0&&t.jsxs("div",{className:"flex flex-col items-center justify-center py-12 text-center",children:[t.jsx(se,{size:32,className:"animate-spin text-muted-foreground mb-4"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Searching..."})]}),L.length>0&&t.jsx(ae,{items:L,title:"Verified",onItemClick:E}),_.length>0&&t.jsx(ae,{items:_,title:L.length>0?"All":"",onItemClick:E}),R&&b&&t.jsx("div",{className:"flex justify-center py-8",children:t.jsxs("div",{className:"flex items-center gap-2 text-muted-foreground",children:[t.jsx(se,{size:20,className:"animate-spin"}),t.jsx("span",{className:"text-sm",children:"Loading more items..."})]})})]})})}),e[35]=_,e[36]=$,e[37]=E,e[38]=y,e[39]=R,e[40]=N,e[41]=b,e[42]=u,e[43]=i,e[44]=L,e[45]=F,e[46]=B):B=e[46];let A;e[47]!==H||e[48]!==o||e[49]!==B?(A=t.jsx("div",{ref:o,className:"flex-1 overflow-y-auto",onScroll:H,children:B}),e[47]=H,e[48]=o,e[49]=B,e[50]=A):A=e[50];let V;return e[51]!==W||e[52]!==D||e[53]!==A?(V=t.jsxs("div",{className:"flex flex-col h-full",children:[W,D,A]}),e[51]=W,e[52]=D,e[53]=A,e[54]=V):V=e[54],V}function dt(){return window.location.reload()}function mt(s){return s.is_public!==!0}function ut(s){const e=Q.c(11),{registryId:r,storePrivateOnly:l}=s,d=De(r),n=d?.tools;let i;e[0]!==n?(i=Oe(n),e[0]=n,e[1]=i):i=e[1];const c=i;if(!c){let m;e[2]===Symbol.for("react.memo_cache_sentinel")?(m=t.jsx("div",{className:"bg-muted p-3 rounded-full",children:t.jsx(ge,{className:"size-8 text-muted-foreground"})}),e[2]=m):m=e[2];let j;return e[3]===Symbol.for("react.memo_cache_sentinel")?(j=t.jsxs("div",{className:"flex flex-col items-center justify-center h-full py-12 text-center space-y-4",children:[m,t.jsxs("div",{className:"space-y-2",children:[t.jsx("h3",{className:"text-lg font-medium",children:"Registry not available"}),t.jsx("p",{className:"text-sm text-muted-foreground max-w-sm mx-auto",children:"This registry does not support listing store items, or the connection is not responding."})]})]}),e[3]=j):j=e[3],j}const a=d?.tools;let g;e[4]!==a?(g=_e(a),e[4]=a,e[5]=g):g=e[5];const o=g||void 0;let p;return e[6]!==c||e[7]!==r||e[8]!==l||e[9]!==o?(p=t.jsx(ct,{registryId:r,listToolName:c,filtersToolName:o,storePrivateOnly:l}),e[6]=c,e[7]=r,e[8]=l,e[9]=o,e[10]=p):p=e[10],p}function ft(s){const e=Q.c(43),{registries:r,value:l,onValueChange:d,onAddWellKnown:n,wellKnownRegistries:i,placeholder:c}=s,a=c===void 0?"Select a registry...":c,[g,I]=U.useState(!1);let o,p,m,j,S,R,b,N;if(e[0]!==g||e[1]!==a||e[2]!==r||e[3]!==l){let w;e[12]!==l?(w=y=>y.id===l,e[12]=l,e[13]=w):w=e[13];const x=r.find(w);p=ve,b=g,N=I,o=be,R=!0,m="button",e[14]===Symbol.for("react.memo_cache_sentinel")?(j=oe("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 hover:bg-accent hover:text-accent-foreground dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-lg border bg-transparent px-3 py-2 text-sm whitespace-nowrap transition-[color,box-shadow] outline-none focus-visible:ring-[3px] h-7 min-w-[160px]"),e[14]=j):j=e[14],S=x?t.jsxs("span",{className:"flex items-center gap-2",children:[x.icon?t.jsx("img",{src:x.icon,alt:x.name,className:"w-4 h-4 rounded"}):t.jsx("span",{className:"w-4 h-4 rounded from-primary/20 to-primary/10 flex items-center justify-center text-xs font-semibold text-primary",children:x.name.slice(0,1).toUpperCase()}),t.jsx("span",{children:x.name})]}):t.jsx("span",{className:"text-muted-foreground",children:a}),e[0]=g,e[1]=a,e[2]=r,e[3]=l,e[4]=o,e[5]=p,e[6]=m,e[7]=j,e[8]=S,e[9]=R,e[10]=b,e[11]=N}else o=e[4],p=e[5],m=e[6],j=e[7],S=e[8],R=e[9],b=e[10],N=e[11];let P;e[15]===Symbol.for("react.memo_cache_sentinel")?(P=t.jsx(Se,{className:"size-4 opacity-50"}),e[15]=P):P=e[15];let $;e[16]!==m||e[17]!==j||e[18]!==S?($=t.jsxs("button",{type:m,className:j,children:[S,P]}),e[16]=m,e[17]=j,e[18]=S,e[19]=$):$=e[19];let h;e[20]!==o||e[21]!==R||e[22]!==$?(h=t.jsx(o,{asChild:R,children:$}),e[20]=o,e[21]=R,e[22]=$,e[23]=h):h=e[23];let C;if(e[24]!==d||e[25]!==r||e[26]!==l){let w;e[28]!==d||e[29]!==l?(w=x=>t.jsxs("button",{type:"button",onClick:()=>{d(x.id??x.name),I(!1)},className:"relative flex w-full cursor-pointer items-center gap-2 rounded-lg py-1.5 pr-8 pl-2 text-sm outline-hidden select-none hover:bg-accent hover:text-accent-foreground",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[x.icon?t.jsx("img",{src:x.icon,alt:x.name,className:"w-4 h-4 rounded"}):t.jsx("span",{className:"w-4 h-4 rounded from-primary/20 to-primary/10 flex items-center justify-center text-xs font-semibold text-primary",children:x.name.slice(0,1).toUpperCase()}),t.jsx("span",{children:x.name})]}),l===(x.id??x.name)&&t.jsx("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:t.jsx(Ce,{className:"size-4"})})]},x.id??x.name),e[28]=d,e[29]=l,e[30]=w):w=e[30],C=r.map(w),e[24]=d,e[25]=r,e[26]=l,e[27]=C}else C=e[27];let k;e[31]!==n||e[32]!==i?(k=i.length>0&&t.jsxs("div",{className:"border-t border-border pt-1 mt-1",children:[t.jsx("p",{className:"px-2 py-1.5 text-xs font-medium text-muted-foreground",children:"Other known registries"}),i.map(w=>t.jsxs("button",{type:"button",onClick:()=>{n(w),I(!1)},className:"relative flex w-full cursor-pointer items-center gap-2 rounded-lg py-1.5 pr-8 pl-2 text-sm outline-hidden select-none hover:bg-accent hover:text-accent-foreground",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[w.icon?t.jsx("img",{src:w.icon,alt:w.title,className:"w-4 h-4 rounded"}):t.jsx("span",{className:"w-4 h-4 rounded bg-primary/10 flex items-center justify-center text-xs font-semibold text-primary",children:w.title.slice(0,1).toUpperCase()}),t.jsx("span",{className:"flex-1",children:w.title})]}),t.jsx("span",{className:"absolute right-2 flex size-3.5 items-center justify-center text-muted-foreground",children:t.jsx(He,{size:16})})]},w.id??w.title))]}),e[31]=n,e[32]=i,e[33]=k):k=e[33];let v;e[34]!==C||e[35]!==k?(v=t.jsxs(Ne,{align:"end",className:"w-auto min-w-[200px] p-1",children:[C,k]}),e[34]=C,e[35]=k,e[36]=v):v=e[36];let z;return e[37]!==p||e[38]!==h||e[39]!==v||e[40]!==b||e[41]!==N?(z=t.jsxs(p,{open:b,onOpenChange:N,children:[h,v]}),e[37]=p,e[38]=h,e[39]=v,e[40]=b,e[41]=N,e[42]=z):z=e[42],z}function xt({registries:s,onConnected:e}){const r=ye(),{org:{slug:l}}=re(),{data:d}=Ie.useSession(),n=de(),[i,c]=U.useState(!1),a=s[0],g=async()=>{if(!(!a||!d?.user?.id)){c(!0);try{const o=await r.create.mutateAsync(a);e?.(o.id)}finally{c(!1)}}},I=()=>{n({to:"/$org/$project/mcps",params:{org:l,project:fe},search:{action:"create"}})};return t.jsx(qe,{image:t.jsx("img",{src:"/store-empty-state.svg",alt:"No store connected",width:336,height:320,className:"max-w-full h-auto"}),title:"Connect to registry",description:"Connect to discover and use Connections from the community.",actions:t.jsxs(t.Fragment,{children:[t.jsxs(Y,{variant:"outline",onClick:g,disabled:i||!a,children:[a?.icon&&t.jsx("img",{src:a.icon,alt:"",className:"size-4"}),i?"Installing...":"Install Registry"]}),t.jsx(Y,{variant:"outline",onClick:I,children:"Custom Connection"})]})})}function gt(s){const e=Q.c(15),{error:r,onRetry:l,registryName:d}=s;let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n=t.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:t.jsx(me,{className:"h-6 w-6 text-destructive"})}),e[0]=n):n=e[0];let i;e[1]===Symbol.for("react.memo_cache_sentinel")?(i=t.jsx("h3",{className:"text-lg font-medium",children:"Unable to load store"}),e[1]=i):i=e[1];let c;e[2]!==d?(c=t.jsxs("p",{className:"text-sm text-muted-foreground max-w-sm mx-auto",children:["The ",t.jsx("strong",{children:d})," registry is currently unreachable. This may be a temporary issue — try again in a moment."]}),e[2]=d,e[3]=c):c=e[3];let a;e[4]!==r?(a=r?.message&&t.jsx("p",{className:"text-xs text-muted-foreground/60 font-mono max-w-md mx-auto truncate",children:r.message}),e[4]=r,e[5]=a):a=e[5];let g;e[6]!==c||e[7]!==a?(g=t.jsxs("div",{className:"space-y-2",children:[i,c,a]}),e[6]=c,e[7]=a,e[8]=g):g=e[8];let I;e[9]===Symbol.for("react.memo_cache_sentinel")?(I=t.jsx(ue,{className:"size-4"}),e[9]=I):I=e[9];let o;e[10]!==l?(o=t.jsxs(Y,{variant:"outline",size:"sm",onClick:l,children:[I,"Try again"]}),e[10]=l,e[11]=o):o=e[11];let p;return e[12]!==g||e[13]!==o?(p=t.jsxs("div",{className:"flex flex-col items-center justify-center h-full p-6 text-center space-y-4",children:[n,g,o]}),e[12]=g,e[13]=o,e[14]=p):p=e[14],p}function ss(){const s=Q.c(49),{org:e,project:r}=re(),l=Ge(),d=ye(),n=Te(),i=n.location.pathname.includes("/store/")&&n.location.pathname.split("/").length>3,c=Je(l);let a;s[0]!==e.id?(a=Ke.SELF(e.id),s[0]=e.id,s[1]=a):a=s[1];const g=a,I=r.enabledPlugins,o=I==null||I.includes(ne),p=c.filter(f=>f.id!==g?!0:o);let m;s[2]!==g?(m=f=>f.id===g,s[2]=g,s[3]=m):m=s[3];const j=p.some(m);let S;s[4]!==e.id?(S={connectionId:Ae,orgId:e.id},s[4]=e.id,s[5]=S):S=s[5];const R=je(S);let b;s[6]!==r.id||s[7]!==R?(b=async()=>{const f=await R.callTool({name:"PROJECT_PLUGIN_CONFIG_GET",arguments:{projectId:r.id,pluginId:ne}});return f.structuredContent??f},s[6]=r.id,s[7]=R,s[8]=b):b=s[8];const{data:N}=he({queryKey:ie.projectPluginConfig(r.id??"",ne),queryFn:b,enabled:j&&!!r.id,staleTime:6e4}),P=N?.config?.settings;let $;s[9]!==P||s[10]!==g?($=f=>f.id===g&&P?{id:f.id,name:P.registryName||f.title,icon:P.registryIcon||f.icon||void 0}:{id:f.id,name:f.title,icon:f.icon||void 0},s[9]=P,s[10]=g,s[11]=$):$=s[11];const h=p.map($);let C;s[12]!==e.slug?(C=Qe.selectedRegistry(e.slug),s[12]=e.slug,s[13]=C):C=s[13];const[k,v]=Ye(C,ht);let z;s[14]!==k?(z=f=>f.id===k,s[14]=k,s[15]=z):z=s[15];const x=p.find(z)?.id||p[0]?.id||"",y=x===g&&P?.storePrivateOnly===!0;let u;s[16]!==e.id?(u=Me(e.id),s[16]=e.id,s[17]=u):u=s[17];let T;s[18]!==u?(T=[u],s[18]=u,s[19]=T):T=s[19];const L=T;let F;s[20]===Symbol.for("react.memo_cache_sentinel")?(F=[Be()],s[20]=F):F=s[20];const _=F;let K;s[21]!==d.create||s[22]!==v?(K=async f=>{const Z=await d.create.mutateAsync(f);v(Z.id)},s[21]=d.create,s[22]=v,s[23]=K):K=s[23];const E=K,G=new Set(p.map(pt)),H=L.filter(f=>f.id&&!G.has(f.id)),W=_.filter(f=>f.id&&!G.has(f.id));if(i){let f;return s[24]===Symbol.for("react.memo_cache_sentinel")?(f=t.jsx(Pe,{}),s[24]=f):f=s[24],f}let D;s[25]===Symbol.for("react.memo_cache_sentinel")?(D=t.jsx(X.Header.Left,{children:t.jsx($e,{children:t.jsx(ke,{children:t.jsx(ze,{children:t.jsx(Le,{children:"Store"})})})})}),s[25]=D):D=s[25];let B;s[26]!==E?(B=async f=>E(f),s[26]=E,s[27]=B):B=s[27];let A;s[28]!==H||s[29]!==x||s[30]!==h||s[31]!==v||s[32]!==B?(A=t.jsxs(X.Header,{children:[D,t.jsx(X.Header.Right,{children:t.jsx(ft,{wellKnownRegistries:H,registries:h,value:x,onValueChange:v,onAddWellKnown:B,placeholder:"Select store..."})})]}),s[28]=H,s[29]=x,s[30]=h,s[31]=v,s[32]=B,s[33]=A):A=s[33];let V;s[34]!==x||s[35]!==h?(V=f=>{const{error:Z,resetError:le}=f;return t.jsx(gt,{error:Z,onRetry:le,registryName:h.find(ee=>ee.id===x)?.name??"registry"})},s[34]=x,s[35]=h,s[36]=V):V=s[36];let O;s[37]===Symbol.for("react.memo_cache_sentinel")?(O=t.jsxs("div",{className:"flex flex-col items-center justify-center h-full",children:[t.jsx(se,{size:32,className:"animate-spin text-muted-foreground mb-4"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Loading store items..."})]}),s[37]=O):O=s[37];let M;s[38]!==W||s[39]!==x||s[40]!==v||s[41]!==y?(M=t.jsx(U.Suspense,{fallback:O,children:x?t.jsx(ut,{registryId:x,storePrivateOnly:y}):t.jsx("div",{className:"flex flex-col items-center justify-center h-full",children:t.jsx(xt,{registries:W,onConnected:f=>{v(f)}})})}),s[38]=W,s[39]=x,s[40]=v,s[41]=y,s[42]=M):M=s[42];let q;s[43]!==V||s[44]!==M?(q=t.jsx(X.Content,{children:t.jsx(Re,{fallback:V,children:M})}),s[43]=V,s[44]=M,s[45]=q):q=s[45];let J;return s[46]!==A||s[47]!==q?(J=t.jsxs(X,{children:[A,q]}),s[46]=A,s[47]=q,s[48]=J):J=s[48],J}function pt(s){return s.id}function ht(s){return s??""}export{ss as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as r,j as i}from"./index-zTmRWZBl.js";import{P as m}from"./project-plugins-Bf4ZMkbc.js";import"./useQuery-C_yP5u2a.js";import"./useMutation-DxToDvqg.js";import"./constants-Bi0KgUSI.js";import"./switch-DbnN_OzY.js";import"./label-D93HnDXr.js";import"./Container-BzuFyXB-.js";import"./use-connection-D_z7DIgr.js";import"./use-collections-BM5qbXh2.js";import"./use-binding-CczCr_I6.js";import"./binder-CSUd_3kq.js";import"./use-install-from-registry-DJsrJBCB.js";import"./extract-connection-data-CuU1tc3b.js";import"./constants-C5K20DFA.js";import"./github-icon-Dp3wHhYE.js";import"./registry-utils-BAmZqs68.js";import"./generate-id-Dyweu44Y.js";import"./Loading01-e5vrz4Tg.js";import"./Plus-CAkBZRVl.js";import"./select-45R_TReG.js";import"./index-DNc2lZPL.js";import"./Check-xOBqZzmv.js";import"./ChevronDown-cFwq8_1y.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 +0,0 @@
|
|
|
1
|
-
import{c as n,j as r,E as d,r as f,u as x,b as j}from"./index-zTmRWZBl.js";import{T as h}from"./tasks-panel-CL4KTePe.js";import{P as p}from"./index-C3HPQ2Xr.js";import{B as g,a as b,b as T,c as k}from"./breadcrumb-oXffKFw_.js";import{i as B}from"./Loading01-e5vrz4Tg.js";import{u as S}from"./collapsible-65I6Ioz9.js";import"./index-DlVoIZWW.js";import"./popover-BD-c_pAA.js";import"./skeleton-B23sd6oG.js";import"./spinner-DrSoNW9Q.js";import"./tooltip-c2IY6Q1h.js";import"./index-DNc2lZPL.js";import"./constants-Bi0KgUSI.js";import"./decopilot-events-tuPofCi7.js";import"./useQuery-C_yP5u2a.js";import"./dialog-qBZn-zYi.js";import"./X-D43RBdCi.js";import"./form-CvuQGiSW.js";import"./label-D93HnDXr.js";import"./input-yDn0CDzQ.js";import"./usage-B8eRkRZY.js";import"./ArrowUp-D5ZC-G9T.js";import"./ChevronDown-cFwq8_1y.js";import"./Edit01-C-LkGhJt.js";import"./Users03-Ci_Q0Bm5.js";import"./XCircle-BT7T8C4l.js";import"./AlertCircle-B-qrtAf7.js";import"./select-45R_TReG.js";import"./Check-xOBqZzmv.js";import"./tabs-fxZVpBgm.js";import"./localstorage-keys-DyhMCgsK.js";import"./useMutation-DxToDvqg.js";import"./ArrowLeft-ChnnVeV0.js";import"./use-copy-CedSm4V4.js";import"./badge-DuzneqaM.js";import"./Code01-Be1Un4zy.js";import"./integration-icon-BKuXjqdm.js";import"./Container-BzuFyXB-.js";import"./use-virtual-mcp-BwZwR42s.js";import"./use-collections-BM5qbXh2.js";import"./SearchMd-3uDmzuN-.js";import"./use-create-virtual-mcp-DN0LN6Ks.js";import"./use-mcp-resources-F-AJdNv-.js";import"./ChevronRight-zkVqPrw5.js";import"./Copy01-D46xqpGe.js";import"./marked.esm-BaswSlok.js";import"./markdown-Biu_K3T4.js";import"./mcp-app-renderer-C2Ylvbme.js";import"./types-D02NXJjh.js";import"./Eye-S2bOaZIy.js";import"./Globe02-ChkOndGF.js";import"./LayersTwo01-RwSQ1J1I.js";import"./XClose-CPAcIRmr.js";import"./collection-search-mO1HMauC.js";import"./use-connection-D_z7DIgr.js";import"./generate-id-Dyweu44Y.js";import"./Clock-C8sBJSRB.js";import"./Trash01-GIxw_9KX.js";import"./user-Cjj1cELF.js";import"./avatar-JlaJAGyz.js";import"./format-time-CMKyl-GC.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./CheckCircle-t4fWflCL.js";import"./Plus-CAkBZRVl.js";import"./use-llm-Cgu6F_JM.js";import"./use-binding-CczCr_I6.js";import"./binder-CSUd_3kq.js";import"./checkbox-DzpFguCb.js";import"./AlignLeft-D93Obywx.js";import"./Image01-CcXuD64C.js";import"./RefreshCcw01-CsIOFnxl.js";import"./Settings01-de0ujEEu.js";import"./useSuspenseInfiniteQuery-rRWDLVCQ.js";import"./infiniteQueryObserver-CzeIHV7S.js";function v(){const t=n.c(8),{org:o,project:s}=x(),a=j(),{switchToTask:c}=S();let i;t[0]!==a||t[1]!==o.slug||t[2]!==s.slug||t[3]!==c?(i=async u=>{await c(u),a({to:"/$org/$project",params:{org:o.slug,project:s.slug}})},t[0]=a,t[1]=o.slug,t[2]=s.slug,t[3]=c,t[4]=i):i=t[4];const l=i;let m;t[5]===Symbol.for("react.memo_cache_sentinel")?(m=r.jsx(p.Header,{children:r.jsx(p.Header.Left,{children:r.jsx(g,{children:r.jsx(b,{children:r.jsx(T,{children:r.jsx(k,{children:"Tasks"})})})})})}),t[5]=m):m=t[5];let e;return t[6]!==l?(e=r.jsxs(p,{children:[m,r.jsx(p.Content,{children:r.jsx("div",{className:"h-full flex flex-col overflow-hidden",children:r.jsx(h,{onTaskSelect:l})})})]}),t[6]=l,t[7]=e):e=t[7],e}function Mt(){const t=n.c(1);let o;return t[0]===Symbol.for("react.memo_cache_sentinel")?(o=r.jsx(d,{children:r.jsx(f.Suspense,{fallback:r.jsx("div",{className:"flex h-full items-center justify-center",children:r.jsx(B,{size:32,className:"animate-spin text-muted-foreground"})}),children:r.jsx(v,{})})}),t[0]=o):o=t[0],o}export{Mt as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as u}from"./infiniteQueryObserver-CzeIHV7S.js";import{$ as i}from"./index-zTmRWZBl.js";function t(e,r){return i(e,u,r)}export{t as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ as u,a6 as s}from"./index-zTmRWZBl.js";function o(e,r){return u(e,s,r)}export{o as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as s}from"./infiniteQueryObserver-CzeIHV7S.js";import{$ as u,a0 as n}from"./index-zTmRWZBl.js";function a(r,e){return u({...r,enabled:!0,suspense:!0,throwOnError:n},s,e)}export{a as u};
|