decocms 4.76.78 → 4.76.79
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-DBEuJvXd.js → AlertCircle-NWT5MP59.js} +1 -1
- package/dist/client/assets/{AreaChart-RJnPaDTO.js → AreaChart-O3QKrQPh.js} +1 -1
- package/dist/client/assets/{ArrowUp-OqBYOpu3.js → ArrowUp-CI9f7Rli.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-3xkp-kWm.js → ArrowUpRight-BLwgj-5u.js} +1 -1
- package/dist/client/assets/{Check-Oxo5mPeL.js → Check-CQ8-e3GA.js} +1 -1
- package/dist/client/assets/{CheckCircle-DAvZWWWn.js → CheckCircle-B8lzemah.js} +1 -1
- package/dist/client/assets/{ChevronDown-DCZlSvzQ.js → ChevronDown-DFRYq9AW.js} +1 -1
- package/dist/client/assets/{ChevronRight-L_rxCnv3.js → ChevronRight-__Xchs6i.js} +1 -1
- package/dist/client/assets/{ChevronUp-BXrO8J56.js → ChevronUp-Bk9mNl9n.js} +1 -1
- package/dist/client/assets/{Circle-DLL8alCD.js → Circle-B7cLY0dJ.js} +1 -1
- package/dist/client/assets/{Copy01-uwiMYWRU.js → Copy01-DSoPlmWJ.js} +1 -1
- package/dist/client/assets/{DotsVertical-B0IViKUD.js → DotsVertical-BwkyfTFO.js} +1 -1
- package/dist/client/assets/{Eye-DVo1_Pm2.js → Eye-Bq2ekfRv.js} +1 -1
- package/dist/client/assets/{FilterLines-CAdlDh3I.js → FilterLines-BX9-SCxr.js} +1 -1
- package/dist/client/assets/{Flag01-fXAeu3l9.js → Flag01-8dzumq8s.js} +1 -1
- package/dist/client/assets/{Globe01-By9gtoyg.js → Globe01-yzHFTNA0.js} +1 -1
- package/dist/client/assets/{Globe04-uOyvHHk7.js → Globe04-DuWNuxaZ.js} +1 -1
- package/dist/client/assets/{HardDrive-D38nWE_J.js → HardDrive-ChdiMduQ.js} +1 -1
- package/dist/client/assets/{Image01-B-uMMK1I.js → Image01-DgmL_Wby.js} +1 -1
- package/dist/client/assets/{Key01-ChBXFLCM.js → Key01-iTFprcNj.js} +1 -1
- package/dist/client/assets/{LayoutLeft-DPtsS7J4.js → LayoutLeft-DqR7Gk_I.js} +1 -1
- package/dist/client/assets/{LinkExternal01-C3luIiQr.js → LinkExternal01-tSVLxTO-.js} +1 -1
- package/dist/client/assets/{List-CgvHjjyd.js → List-CKTtYv0g.js} +1 -1
- package/dist/client/assets/{Monitor01-BbnHlrzQ.js → Monitor01-BuRZenpT.js} +1 -1
- package/dist/client/assets/{Package-CJkGCd9M.js → Package-Ciy5YR41.js} +1 -1
- package/dist/client/assets/{Palette-Dem2eeFJ.js → Palette-BvKxQVC0.js} +1 -1
- package/dist/client/assets/{Play-02R_l1hm.js → Play-CeHEWsS2.js} +1 -1
- package/dist/client/assets/{Plus-D8fSfWhL.js → Plus-NAA0XEwV.js} +1 -1
- package/dist/client/assets/{SearchLg-BKY8fQrj.js → SearchLg-TrTg6wyY.js} +1 -1
- package/dist/client/assets/{SearchMd-Di7fRkvt.js → SearchMd-cSNFYpug.js} +1 -1
- package/dist/client/assets/{Settings02-CJygIZBg.js → Settings02-FiuW9M68.js} +1 -1
- package/dist/client/assets/{Shield01-bU8ewL-C.js → Shield01-P0gtso05.js} +1 -1
- package/dist/client/assets/{Star01-CAO22TgC.js → Star01-CmbYYVwX.js} +1 -1
- package/dist/client/assets/{Stars01-BbGPjqZd.js → Stars01-CjcKnRO3.js} +1 -1
- package/dist/client/assets/{Stars02-Bs0TEaNy.js → Stars02-C0ZdnGol.js} +1 -1
- package/dist/client/assets/{Sun-BZaKEOLT.js → Sun-N1hbZsBI.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-DqE-u_vC.js → SwitchHorizontal01-Dbf6vT8W.js} +1 -1
- package/dist/client/assets/{Tool01-DHJpebK1.js → Tool01-BuL_OPjq.js} +1 -1
- package/dist/client/assets/{Tool02-DlSNNbnL.js → Tool02-SRLl9iMy.js} +1 -1
- package/dist/client/assets/{Trash01-BGwW4PUs.js → Trash01-BEUt_ZFy.js} +1 -1
- package/dist/client/assets/{TrendUp01-Lnwj2rUh.js → TrendUp01-Dd7ID2Ak.js} +1 -1
- package/dist/client/assets/{Upload01-DVcY511n.js → Upload01-BdYkMGf5.js} +1 -1
- package/dist/client/assets/{User01-joygJQdk.js → User01-BuskJcXh.js} +1 -1
- package/dist/client/assets/{UserPlus01-DvdLIpOn.js → UserPlus01-I1RBlBt2.js} +1 -1
- package/dist/client/assets/{Users01-BVTwFHJb.js → Users01-bv-zYUvR.js} +1 -1
- package/dist/client/assets/{Users03-FhX9tiey.js → Users03-uQDm2N1U.js} +1 -1
- package/dist/client/assets/{X-Bs0u_0yh.js → X-D37ABNsH.js} +1 -1
- package/dist/client/assets/{XCircle-DGorVz-d.js → XCircle-B1AuAQ6C.js} +1 -1
- package/dist/client/assets/{XClose-hq2LkF75.js → XClose-N5g0Jmie.js} +1 -1
- package/dist/client/assets/{Zap-CT4kcBoV.js → Zap-D7hv22Ar.js} +1 -1
- package/dist/client/assets/{ZapSquare-DivgtbPr.js → ZapSquare-I37sZUyy.js} +1 -1
- package/dist/client/assets/{ZoomOut-B2C9WPW-.js → ZoomOut-C6ASppVU.js} +1 -1
- package/dist/client/assets/{access-gate-B4pZWmwl.js → access-gate-DttmKZh0.js} +1 -1
- package/dist/client/assets/{add-section-modal-JBdSC8cO.js → add-section-modal-C2mWaR4D.js} +1 -1
- package/dist/client/assets/{agent-icon-Xdz_mRuJ.js → agent-icon-BXJxtnIS.js} +1 -1
- package/dist/client/assets/{agents-list-2gWOzqrw.js → agents-list-MRO_H-zy.js} +1 -1
- package/dist/client/assets/{ai-providers-N4FbEwVk.js → ai-providers-CpQgI_QJ.js} +1 -1
- package/dist/client/assets/{alert-dialog-CWlVUd73.js → alert-dialog-DS5vnPXz.js} +1 -1
- package/dist/client/assets/{alert-j61mFoia.js → alert-qyaJB4-4.js} +1 -1
- package/dist/client/assets/{app-editor-BRpM18eX.js → app-editor-DZz7gi_D.js} +1 -1
- package/dist/client/assets/{auth-catchall-B0LUMpZy.js → auth-catchall-DMON0huT.js} +1 -1
- package/dist/client/assets/{auth-entry-wtr1fLwN.js → auth-entry-CceXSuE1.js} +1 -1
- package/dist/client/assets/{auth-split-layout-Bifmzv2W.js → auth-split-layout-DwAyeKe8.js} +1 -1
- package/dist/client/assets/{auth-DDOP_TUe.js → auth-wu3ShF63.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-BcKcvBur.js → authenticate-and-persist-oauth-CMhoqQaF.js} +1 -1
- package/dist/client/assets/{automation-list-row-CWbyvM3t.js → automation-list-row-BBV0EPoJ.js} +1 -1
- package/dist/client/assets/{automation-runs-ewxrJgPk.js → automation-runs-qsX2v47y.js} +1 -1
- package/dist/client/assets/automations-CUMgHaXo.js +1 -0
- package/dist/client/assets/{autosend-sntJRLit.js → autosend-7F45whv_.js} +1 -1
- package/dist/client/assets/{avatar-BumqAYVV.js → avatar-BidIHGtX.js} +1 -1
- package/dist/client/assets/{badge-DuwyDvgL.js → badge-CZ22AXi2.js} +1 -1
- package/dist/client/assets/{block-document-COkNQDU1.js → block-document-CsC-wRuG.js} +1 -1
- package/dist/client/assets/{brand-context-DJ55kBWm.js → brand-context-qDZ-BzsZ.js} +1 -1
- package/dist/client/assets/{buckets-CZaQ9-E2.js → buckets-M2Atx_XZ.js} +1 -1
- package/dist/client/assets/{bulk-category-panel-C4UbsY4X.js → bulk-category-panel-Cd_ZyUBH.js} +1 -1
- package/dist/client/assets/{calendar-Dpt7QB2d.js → calendar-Vyya8AVM.js} +1 -1
- package/dist/client/assets/{capability-load-error-CVQ-0IvS.js → capability-load-error-CHJpJoE8.js} +1 -1
- package/dist/client/assets/{card-whir3-TU.js → card-4UY0XyGm.js} +1 -1
- package/dist/client/assets/{category-editor-DSjyTevO.js → category-editor-DaU2gL1A.js} +1 -1
- package/dist/client/assets/{chat-context-CZYpc7lP.js → chat-context-BgzAc_sD.js} +1 -1
- package/dist/client/assets/{checkbox-DbEZ6b_D.js → checkbox-DTTzGgDp.js} +1 -1
- package/dist/client/assets/{cli-auth-success-DhmnJDJJ.js → cli-auth-success-CXUBAfSL.js} +1 -1
- package/dist/client/assets/{collection-detail-B32MmFU7.js → collection-detail-Cjm7ugAn.js} +1 -1
- package/dist/client/assets/{collection-display-button--OVhArve.js → collection-display-button-Ct8ZCD85.js} +1 -1
- package/dist/client/assets/{collection-search-26JlKJRJ.js → collection-search-BNlVJQJ6.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-DPtPbXkO.js → collection-table-wrapper-rvwk-VDM.js} +1 -1
- package/dist/client/assets/{collection-tabs-CMkX9SJV.js → collection-tabs-BuHhy4w7.js} +1 -1
- package/dist/client/assets/{command-BoNCgAXF.js → command-C2qQZRBk.js} +1 -1
- package/dist/client/assets/{commerce-onboarding-DbO5ycXJ.js → commerce-onboarding-s6XHDF1d.js} +1 -1
- package/dist/client/assets/{companions-core-C3l18hJe.js → companions-core-DnG6T6eB.js} +1 -1
- package/dist/client/assets/{connect-desktop-dialog-DR3AZpl6.js → connect-desktop-dialog-CvsuQuya.js} +1 -1
- package/dist/client/assets/{connection-card-ClbjHgoq.js → connection-card-C5DqLZv2.js} +1 -1
- package/dist/client/assets/{connection-detail-B8ktqErv.js → connection-detail-DUqLyJIU.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-CkjvvPa_.js → connection-form-helpers-GtWYUDM9.js} +1 -1
- package/dist/client/assets/connections-Bv1n7hnz.js +1 -0
- package/dist/client/assets/{decopilot-sse-pool-ByDpDqQ2.js → decopilot-sse-pool-B9iK6ns-.js} +1 -1
- package/dist/client/assets/{dialog-hBUfi5DB.js → dialog-HBBCSa8Y.js} +1 -1
- package/dist/client/assets/{domain-settings-DnawB_fV.js → domain-settings-Zb4Opd1X.js} +1 -1
- package/dist/client/assets/{drawer-CrQJ-4Ry.js → drawer-COp33Mdu.js} +1 -1
- package/dist/client/assets/{dropdown-menu-BDW1EJyx.js → dropdown-menu-MsavL0ma.js} +1 -1
- package/dist/client/assets/{empty-state-LUctNkh2.js → empty-state-CmyChBrn.js} +1 -1
- package/dist/client/assets/{extract-connection-data-BFgBaCrk.js → extract-connection-data-D7fs47LL.js} +1 -1
- package/dist/client/assets/{file-explorer-1FqRLQQ5.js → file-explorer-UPsbMtks.js} +1 -1
- package/dist/client/assets/{file-type-icon-CaoqUw2g.js → file-type-icon-VxqyFQG8.js} +1 -1
- package/dist/client/assets/{files-BpPo_clL.js → files-CPhiXm9a.js} +1 -1
- package/dist/client/assets/{form-B8zhOVR3.js → form-B_zUNTS4.js} +1 -1
- package/dist/client/assets/{general-DxlJNW0F.js → general-BuXtd1m4.js} +1 -1
- package/dist/client/assets/{github-repo-picker-D93GRlsF.js → github-repo-picker-BLeREnmC.js} +1 -1
- package/dist/client/assets/{hooks-DNLn_ut2.js → hooks-BZlnl4wN.js} +1 -1
- package/dist/client/assets/{index-vt02LGOF.js → index--IKD5rOc.js} +1 -1
- package/dist/client/assets/{index-BUTM8e7t.js → index-7swhLrry.js} +1 -1
- package/dist/client/assets/{index-DArYfizl.js → index-B6NwnY9X.js} +1 -1
- package/dist/client/assets/{index-CWrnaczo.js → index-BjnTTOYD.js} +1 -1
- package/dist/client/assets/{index-CdyljS_N.js → index-C0fF6Nmd.js} +1 -1
- package/dist/client/assets/{index-F-ZMCKP-.js → index-CJZqHoWu.js} +2 -2
- package/dist/client/assets/{index-DTiOXvtP.js → index-CjkSjvvy.js} +1 -1
- package/dist/client/assets/{index-MnX4iOa5.js → index-CwBKEYBb.js} +1 -1
- package/dist/client/assets/{index-gpoC3ssJ.js → index-D-r3rjSU.js} +5 -5
- package/dist/client/assets/{index-DGQdC8j6.js → index-D4utvNsR.js} +3 -3
- package/dist/client/assets/{index-sveg7vlb.js → index-DicupuM5.js} +1 -1
- package/dist/client/assets/{index-qg-bT8JA.js → index-Djd1r33z.js} +1 -1
- package/dist/client/assets/{index-Cag8mnTh.js → index-LhVZmt7a.js} +1 -1
- package/dist/client/assets/{index-redirect-UnLDnJlQ.js → index-redirect-CLYWr53b.js} +1 -1
- package/dist/client/assets/{index-ivY09p7e.js → index-sDWBtTOL.js} +1 -1
- package/dist/client/assets/{input-DwWe5Hqk.js → input-Ddc8GyCU.js} +1 -1
- package/dist/client/assets/{integration-icon-CfaWXLBn.js → integration-icon-CIdkP7k0.js} +1 -1
- package/dist/client/assets/{invite-member-dialog-D3eUhcy1.js → invite-member-dialog-CpzKfDWm.js} +1 -1
- package/dist/client/assets/{label-DdsuSm6M.js → label-DsHShlh_.js} +1 -1
- package/dist/client/assets/{layout-Bts6NJ_J.js → layout-2N03ztVn.js} +1 -1
- package/dist/client/assets/{login-Dd4NGdu8.js → login-DWyMNJs3.js} +1 -1
- package/dist/client/assets/{mcp-oauth-SHxAJnkD.js → mcp-oauth-KJCmJgBu.js} +1 -1
- package/dist/client/assets/{members-6mHVnRNm.js → members-CBn0aB_O.js} +1 -1
- package/dist/client/assets/{monaco-editor-DGONpAoN.js → monaco-editor-B9Xp4u4G.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-CfSW2sgf.js → monitoring-stats-row-LR2JknH9.js} +1 -1
- package/dist/client/assets/{multi-select-CD32kF2s.js → multi-select-Ceb8LBER.js} +1 -1
- package/dist/client/assets/{oauth-callback-Bzq_-z2r.js → oauth-callback-DMQLYnlm.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-DxKql_z0.js → oauth-callback-ai-provider-BwQNilfc.js} +1 -1
- package/dist/client/assets/{onboarding-BwDunMKX.js → onboarding-CGN_xMMx.js} +1 -1
- package/dist/client/assets/{org-install-BR62T5jO.js → org-install-BkwU8WUn.js} +1 -1
- package/dist/client/assets/{org-layout-BHG4t6-u.js → org-layout-COS9nQD9.js} +1 -1
- package/dist/client/assets/{organization-choice-DlY0QjY5.js → organization-choice-BiZjReCB.js} +1 -1
- package/dist/client/assets/{orgs-Bsar34iG.js → orgs-Ckipp54i.js} +1 -1
- package/dist/client/assets/{page-seo-form-D8JddRAG.js → page-seo-form-4lRZCU7E.js} +1 -1
- package/dist/client/assets/page-seo-sheet-DfsAdHjp.js +1 -0
- package/dist/client/assets/{popover-BoSjy_J9.js → popover-B46I_Ucw.js} +1 -1
- package/dist/client/assets/{post-editor-BeOF_jnK.js → post-editor-C5FLIO95.js} +1 -1
- package/dist/client/assets/{primitives-cDJctbRp.js → primitives-Svun8brc.js} +1 -1
- package/dist/client/assets/{profile-BpIHCO3e.js → profile-B4sYbcgm.js} +1 -1
- package/dist/client/assets/project-app-view-DH-2VH6R.js +1 -0
- package/dist/client/assets/record-editor-gilDUuiR.js +1 -0
- package/dist/client/assets/redirect-editor-Bl_Pg6Cw.js +1 -0
- package/dist/client/assets/registry-5LQCvTVr.js +2 -0
- package/dist/client/assets/{registry-layout-BTDmQem2.js → registry-layout-DnM1m10w.js} +1 -1
- package/dist/client/assets/{reports-rH-WO9Po.js → reports-DNbuVjAM.js} +1 -1
- package/dist/client/assets/{require-capability--U_vi60H.js → require-capability-C33DXbmM.js} +1 -1
- package/dist/client/assets/{required-auth-layout-B-_kB-P-.js → required-auth-layout-BlrFCB6M.js} +1 -1
- package/dist/client/assets/{reset-password-BbwEGkWF.js → reset-password-DLU44zom.js} +1 -1
- package/dist/client/assets/{roles-BRucDg6D.js → roles-CMlgtGhV.js} +1 -1
- package/dist/client/assets/{search-input-B0lumlG7.js → search-input-BND_6eX8.js} +1 -1
- package/dist/client/assets/{secrets-Cx316kN4.js → secrets-Ce6HtP8Q.js} +1 -1
- package/dist/client/assets/{sections-editor-DUBW607x.js → sections-editor-CBREWsVi.js} +1 -1
- package/dist/client/assets/{select-vVirKMnE.js → select-Cgj3tK9y.js} +1 -1
- package/dist/client/assets/{select-model-BltF0usx.js → select-model-Cg2EESV5.js} +1 -1
- package/dist/client/assets/{self-tool-result-hAvB5Ojq.js → self-tool-result-3kSlTB-7.js} +1 -1
- package/dist/client/assets/{seo-editor-CWtXZnRQ.js → seo-editor-Kn0aTI-T.js} +1 -1
- package/dist/client/assets/{settings-layout-Bew9lvu0.js → settings-layout-B1Oxghjr.js} +1 -1
- package/dist/client/assets/{settings-section-CvpT3RW4.js → settings-section-DDOPDuOE.js} +1 -1
- package/dist/client/assets/{shell-controls-C-g_XIqJ.js → shell-controls-SOU59lii.js} +1 -1
- package/dist/client/assets/{shell-layout-b2wj0DO7.js → shell-layout-Cx8SPKkd.js} +1 -1
- package/dist/client/assets/{sidebar-C_llE2r0.js → sidebar-SFF8zaaZ.js} +1 -1
- package/dist/client/assets/{skeleton-CB7DUvyX.js → skeleton-DSjfN9Xh.js} +1 -1
- package/dist/client/assets/{sso-CUBuMbRD.js → sso-CZnb6wsO.js} +1 -1
- package/dist/client/assets/{store-B1pmnLUq.js → store-C8L0GETU.js} +1 -1
- package/dist/client/assets/store-registry-CdjrXOJQ.js +2 -0
- package/dist/client/assets/{studio-tools-DII0jqi8.js → studio-tools-BWndc-fQ.js} +1 -1
- package/dist/client/assets/{switch-DW7tjnTv.js → switch-CjEjtKhZ.js} +1 -1
- package/dist/client/assets/{table-DqN44BtI.js → table-ClTv7bfG.js} +1 -1
- package/dist/client/assets/{tabs-DoePSWje.js → tabs-B777ilaN.js} +1 -1
- package/dist/client/assets/{textarea-BH3kgWLk.js → textarea-D6dFtA7Z.js} +1 -1
- package/dist/client/assets/{toggle-group-Dbv18C0K.js → toggle-group-CQTvZEmD.js} +1 -1
- package/dist/client/assets/{toolbar-CFkubGs8.js → toolbar-CAvFyYH2.js} +1 -1
- package/dist/client/assets/{toolbar-icon-button-B2gRcy3Z.js → toolbar-icon-button-BgDS1fC7.js} +1 -1
- package/dist/client/assets/{tooltip-CO1zVhUs.js → tooltip-C9-Aq0A0.js} +1 -1
- package/dist/client/assets/{use-ai-providers-DuJIHuvT.js → use-ai-providers-CrlMzELc.js} +1 -1
- package/dist/client/assets/{use-automations-CjVm1klr.js → use-automations-B522nl9G.js} +1 -1
- package/dist/client/assets/{use-autosave-IhKsmyqJ.js → use-autosave-BBCk9peY.js} +1 -1
- package/dist/client/assets/{use-capability-CEIYeJxR.js → use-capability-Bh-cXZQP.js} +1 -1
- package/dist/client/assets/{use-clock-tick-BDXFn1B6.js → use-clock-tick-CPHfLtvQ.js} +1 -1
- package/dist/client/assets/{use-collections-BqfJEMNR.js → use-collections-C4ZdBvCy.js} +1 -1
- package/dist/client/assets/{use-connection-DM8eKjeN.js → use-connection-CMZ9jqla.js} +1 -1
- package/dist/client/assets/{use-copy-eCXRBbSs.js → use-copy-B11qmxiZ.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-C4Sbw3ia.js → use-create-virtual-mcp-Cr3TUikS.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-DQFgMtID.js → use-debounced-autosave-Cc5UHtj5.js} +1 -1
- package/dist/client/assets/{use-debounced-value-CMoeorqx.js → use-debounced-value-LEPVWu3-.js} +1 -1
- package/dist/client/assets/{use-deco-credits-C0lExqRa.js → use-deco-credits-DQ9ANHT7.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-qGOD1WG0.js → use-decopilot-events-ammftc5y.js} +1 -1
- package/dist/client/assets/{use-delete-connection-BOFCmtMj.js → use-delete-connection-CB0l1Kvt.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-Cwn49qZM.js → use-deployment-admin-BW1qOrfz.js} +1 -1
- package/dist/client/assets/{use-file-configs-Nmeyll7B.js → use-file-configs-DI04dv5Q.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-DW-B2iyn.js → use-infinite-scroll-CBFoMQ8w.js} +1 -1
- package/dist/client/assets/{use-join-requests-Dz8x0kbW.js → use-join-requests-d-ZVDLei.js} +1 -1
- package/dist/client/assets/{use-mcp-auth-status-D-ki6Fzr.js → use-mcp-auth-status-DxwuZvfF.js} +1 -1
- package/dist/client/assets/{use-mcp-client-Csg0Ohl1.js → use-mcp-client-Dxv8FjGO.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-DF4E3rLo.js → use-mcp-tools-DXkXFAag.js} +1 -1
- package/dist/client/assets/{use-members-B1t5oiJJ.js → use-members-BwWfSaf3.js} +1 -1
- package/dist/client/assets/{use-mobile-DVuyUrh-.js → use-mobile-sXXxxOPa.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-BL2c2hni.js → use-navigate-to-agent-CNjqf1SD.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-dM7W8lCQ.js → use-org-auth-client-Dc6RqagL.js} +1 -1
- package/dist/client/assets/{use-org-sso-w2vntLws.js → use-org-sso-BpXfZfCP.js} +1 -1
- package/dist/client/assets/{use-organization-roles-7B2EryzT.js → use-organization-roles-1VIcG8c9.js} +1 -1
- package/dist/client/assets/{use-organization-settings-Dfv3IVMe.js → use-organization-settings-CApfiGSv.js} +1 -1
- package/dist/client/assets/{use-registry-connections-DMVj_IUs.js → use-registry-connections-CSbasPhs.js} +1 -1
- package/dist/client/assets/{use-secrets-j8nq_pg4.js → use-secrets-JetoEI8o.js} +1 -1
- package/dist/client/assets/{use-status-sounds-CQv-RBYC.js → use-status-sounds-C0EdfjXB.js} +1 -1
- package/dist/client/assets/{use-view-mode-DJr2m2Jz.js → use-view-mode-S-wbwlBg.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-6yApsgIW.js → use-virtual-mcp-D5tjWVve.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-DS0faLJi.js +1 -0
- package/dist/client/assets/{useRouterState-D5zTQX9l.js → useRouterState-eCJDvEu-.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-CSO0szLh.js +1 -0
- package/dist/client/assets/{users-Dji-ZHlw.js → users-oZTgivG1.js} +1 -1
- package/dist/client/assets/{variant-calendar-UBPoL6eu.js → variant-calendar-Dl5OgOoK.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-BxM9Rzzk.js → view-mode-toggle-D1X7KEBT.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +1 -1
- package/dist/server/server.js +1 -1
- package/package.json +1 -1
- package/dist/client/assets/automations-C5v25H5e.js +0 -1
- package/dist/client/assets/connections-BcUWe8c_.js +0 -1
- package/dist/client/assets/page-seo-sheet-CaWQpVxd.js +0 -1
- package/dist/client/assets/project-app-view-CD4EGdca.js +0 -1
- package/dist/client/assets/record-editor-DpnQ11Qy.js +0 -1
- package/dist/client/assets/redirect-editor-DTyzzd3k.js +0 -1
- package/dist/client/assets/registry-B76hNPE7.js +0 -2
- package/dist/client/assets/store-registry-UxzRtugx.js +0 -2
- package/dist/client/assets/useInfiniteQuery-CzbwdXBh.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-0mVVL1tH.js +0 -1
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as B,j as o,C as L,b as T,r as $,B as M,p as N}from"./index-DGQdC8j6.js";import{s as q}from"./Plus-D8fSfWhL.js";import{i as S}from"./Zap-CT4kcBoV.js";import{S as D}from"./search-input-B0lumlG7.js";import{P as l}from"./index-qg-bT8JA.js";import{E as b}from"./empty-state-LUctNkh2.js";import{c as O}from"./use-automations-CjVm1klr.js";import{c as V}from"./use-navigate-to-agent-BL2c2hni.js";import{A as F}from"./automation-list-row-CWbyvM3t.js";import{f as G}from"./constants-D_FQAPnt.js";import{u as H}from"./use-virtual-mcp-6yApsgIW.js";import{R as J}from"./require-capability--U_vi60H.js";import"./SearchMd-Di7fRkvt.js";import"./sidebar-C_llE2r0.js";import"./LayoutLeft-DPtsS7J4.js";import"./use-mobile-DVuyUrh-.js";import"./X-Bs0u_0yh.js";import"./tooltip-CO1zVhUs.js";import"./use-mcp-client-Csg0Ohl1.js";import"./auth-DDOP_TUe.js";import"./studio-tools-DII0jqi8.js";import"./hooks-DNLn_ut2.js";import"./decopilot-sse-pool-ByDpDqQ2.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./reusable-new-chat-CouMjkYR.js";import"./alert-dialog-CWlVUd73.js";import"./dropdown-menu-BDW1EJyx.js";import"./Check-Oxo5mPeL.js";import"./ChevronRight-L_rxCnv3.js";import"./Circle-DLL8alCD.js";import"./Stars02-Bs0TEaNy.js";import"./DotsVertical-B0IViKUD.js";import"./Trash01-BGwW4PUs.js";import"./agent-icon-Xdz_mRuJ.js";import"./AlertCircle-DBEuJvXd.js";import"./UserPlus01-DvdLIpOn.js";import"./Tool01-DHJpebK1.js";import"./ArrowUp-OqBYOpu3.js";import"./Settings02-CJygIZBg.js";import"./Tool02-DlSNNbnL.js";import"./XCircle-DGorVz-d.js";import"./ArrowUpRight-3xkp-kWm.js";import"./TrendUp01-Lnwj2rUh.js";import"./ZapSquare-DivgtbPr.js";import"./ZoomOut-B2C9WPW-.js";import"./Users03-FhX9tiey.js";import"./CheckCircle-DAvZWWWn.js";import"./ChevronDown-DCZlSvzQ.js";import"./ChevronUp-BXrO8J56.js";import"./Copy01-uwiMYWRU.js";import"./Globe01-By9gtoyg.js";import"./Eye-DVo1_Pm2.js";import"./FilterLines-CAdlDh3I.js";import"./Flag01-fXAeu3l9.js";import"./Star01-CAO22TgC.js";import"./Globe04-uOyvHHk7.js";import"./SwitchHorizontal01-DqE-u_vC.js";import"./HardDrive-D38nWE_J.js";import"./Image01-B-uMMK1I.js";import"./Key01-ChBXFLCM.js";import"./LinkExternal01-C3luIiQr.js";import"./List-CgvHjjyd.js";import"./Monitor01-BbnHlrzQ.js";import"./Sun-BZaKEOLT.js";import"./Package-CJkGCd9M.js";import"./Palette-Dem2eeFJ.js";import"./Play-02R_l1hm.js";import"./SearchLg-BKY8fQrj.js";import"./Shield01-bU8ewL-C.js";import"./Stars01-BbGPjqZd.js";import"./Upload01-DVcY511n.js";import"./User01-joygJQdk.js";import"./Users01-BVTwFHJb.js";import"./XClose-hq2LkF75.js";import"./use-collections-BqfJEMNR.js";import"./use-capability-CEIYeJxR.js";import"./access-gate-B4pZWmwl.js";import"./capability-load-error-CVQ-0IvS.js";function K(){const t=B.c(16),{org:e}=L(),{data:w}=O(void 0),u=w===void 0?[]:w,R=H(),k=V(),d=T(),[f,E]=$.useState(""),g=f.toLowerCase(),y=new Map(R.map(Q)),C=u.filter(i=>{if(!g||i.name.toLowerCase().includes(g))return!0;if(i.virtual_mcp_id){const a=y.get(i.virtual_mcp_id);if(a&&a.title.toLowerCase().includes(g))return!0}return!1}),P=(i,a)=>{const A=a&&y.has(a)?a:G(e.id);N("automations_list_row_clicked",{automation_id:i,agent_id:A,source:"settings_automations"}),k(A,{search:{main:"automation:"+i}})};let n;t[0]!==d||t[1]!==e.slug?(n=()=>{N("automations_empty_state_browse_agents_clicked"),d({to:"/$org/settings/agents",params:{org:e.slug}})},t[0]=d,t[1]=e.slug,t[2]=n):n=t[2];const z=n,x=l,h=l,j=l;let p;t[3]===Symbol.for("react.memo_cache_sentinel")?(p=o.jsx(l.Title,{children:"Automations"}),t[3]=p):p=t[3];const _=u.length>0&&o.jsx(D,{value:f,onChange:E,placeholder:"Search automations...",className:"w-full md:w-[375px]"});let r;t[4]!==_?(r=o.jsxs("div",{className:"flex flex-col gap-6",children:[p,_]}),t[4]=_,t[5]=r):r=t[5];const v=u.length===0?o.jsx("div",{className:"flex items-center justify-center py-20",children:o.jsx(b,{image:o.jsx(S,{size:48,className:"text-muted-foreground"}),title:"No automations yet",description:"Automations are created per agent. Open an agent and add one from its Automations tab.",actions:o.jsxs(M,{size:"sm",onClick:z,children:[o.jsx(q,{size:14}),"Browse agents"]})})}):C.length===0?o.jsx("div",{className:"flex items-center justify-center py-20",children:o.jsx(b,{image:o.jsx(S,{size:48,className:"text-muted-foreground"}),title:"No automations found",description:`No automations match "${f}"`})}):o.jsx("div",{className:"mt-6 rounded-xl border border-border overflow-hidden",children:C.map(i=>o.jsx(F,{automation:i,showAgent:!0,onClick:()=>P(i.id,i.virtual_mcp_id)},i.id))});let s;t[6]!==j.Body||t[7]!==r||t[8]!==v?(s=o.jsxs(j.Body,{children:[r,v]}),t[6]=j.Body,t[7]=r,t[8]=v,t[9]=s):s=t[9];let m;t[10]!==h.Content||t[11]!==s?(m=o.jsx(h.Content,{children:s}),t[10]=h.Content,t[11]=s,t[12]=m):m=t[12];let c;return t[13]!==x||t[14]!==m?(c=o.jsx(x,{children:m}),t[13]=x,t[14]=m,t[15]=c):c=t[15],c}function Q(t){return[t.id,t]}function vo(){const t=B.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=o.jsx(J,{capability:"automations:manage",area:"automations",children:o.jsx(K,{})}),t[0]=e):e=t[0],e}export{vo as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as V,c as se,j as t,B as K,i as ae,p as te,l as de,E as Ye,C as be,b as _e,u as Ze,a as Ne,z as et,G as tt,D as nt,M as st,J as ot,n as it,t as R,K as rt}from"./index-DGQdC8j6.js";import{a as De,b as lt,g as ct,e as at}from"./extract-connection-data-BFgBaCrk.js";import{C as dt}from"./collection-display-button--OVhArve.js";import{S as mt}from"./search-input-B0lumlG7.js";import{C as ut}from"./collection-tabs-CMkX9SJV.js";import{C as Ce,u as pt,a as ke,g as ht}from"./connection-card-ClbjHgoq.js";import{E as gt}from"./empty-state-LUctNkh2.js";import{P as ue}from"./index-qg-bT8JA.js";import{u as xt,D as ft}from"./use-delete-connection-BOFCmtMj.js";import{u as ye}from"./use-capability-CEIYeJxR.js";import{u as jt}from"./use-infinite-scroll-DW-B2iyn.js";import{u as yt}from"./use-view-mode-DJr2m2Jz.js";import{g as he}from"./connection-slug-eyAPH6o3.js";import{c as Ae,d as we,b as Te,A as Ie,e as Pe,g as $e,a as Oe,f as Le}from"./alert-dialog-CWlVUd73.js";import{n as ge}from"./Tool02-DlSNNbnL.js";import{D as Fe,a as Me,h as ze,c as Ve,d as Ee,e as Be}from"./dialog-hBUfi5DB.js";import{D as Ct,a as vt,c as St,b as bt,d as _t,e as Nt,f as Dt}from"./drawer-CrQJ-4Ry.js";import{u as kt}from"./use-mobile-DVuyUrh-.js";import{F as J,b as Q,c as Y,d as Z,f as ee,a as ve}from"./form-B8zhOVR3.js";import{I as ie}from"./input-DwWe5Hqk.js";import{S as At,a as wt,b as Tt,c as It,d as ce}from"./select-vVirKMnE.js";import{T as Pt}from"./textarea-BH3kgWLk.js";import{b as Ke,u as $t}from"./use-connection-DM8eKjeN.js";import{u as Ot}from"./use-virtual-mcp-6yApsgIW.js";import{u as Lt}from"./studio-tools-DII0jqi8.js";import{s as je}from"./Star01-CAO22TgC.js";import{s as Ue}from"./Plus-D8fSfWhL.js";import{K as Ft,J as Mt,aj as zt,ag as Vt}from"./agent-icon-Xdz_mRuJ.js";import{s as He}from"./XClose-hq2LkF75.js";import{i as pe,a as Se,E as Et,c as Bt,p as Kt,b as Ut,d as Ht}from"./connection-form-helpers-CkjvvPa_.js";import{a as Rt}from"./authenticate-and-persist-oauth-BcKcvBur.js";import{I as Wt}from"./integration-icon-CfaWXLBn.js";import{C as Re}from"./checkbox-DbEZ6b_D.js";import{d as re,a as We,D as Xe,c as qe}from"./dropdown-menu-BDW1EJyx.js";import{i as Ge}from"./DotsVertical-B0IViKUD.js";import{s as Je}from"./Eye-DVo1_Pm2.js";import{s as Qe}from"./Trash01-BGwW4PUs.js";import"./use-mcp-client-Csg0Ohl1.js";import"./constants-D_FQAPnt.js";import"./auth-DDOP_TUe.js";import"./ArrowUp-OqBYOpu3.js";import"./Check-Oxo5mPeL.js";import"./SwitchHorizontal01-DqE-u_vC.js";import"./List-CgvHjjyd.js";import"./tooltip-CO1zVhUs.js";import"./view-mode-toggle-BxM9Rzzk.js";import"./badge-DuwyDvgL.js";import"./SearchMd-Di7fRkvt.js";import"./use-registry-connections-DMVj_IUs.js";import"./use-organization-settings-Dfv3IVMe.js";import"./useInfiniteQuery-CzbwdXBh.js";import"./retry-CErkP7V6.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./card-whir3-TU.js";import"./sidebar-C_llE2r0.js";import"./LayoutLeft-DPtsS7J4.js";import"./X-Bs0u_0yh.js";import"./label-DdsuSm6M.js";import"./ChevronDown-DCZlSvzQ.js";import"./ChevronUp-BXrO8J56.js";import"./use-collections-BqfJEMNR.js";import"./AlertCircle-DBEuJvXd.js";import"./UserPlus01-DvdLIpOn.js";import"./Tool01-DHJpebK1.js";import"./Settings02-CJygIZBg.js";import"./XCircle-DGorVz-d.js";import"./ArrowUpRight-3xkp-kWm.js";import"./TrendUp01-Lnwj2rUh.js";import"./ZapSquare-DivgtbPr.js";import"./ZoomOut-B2C9WPW-.js";import"./Users03-FhX9tiey.js";import"./CheckCircle-DAvZWWWn.js";import"./ChevronRight-L_rxCnv3.js";import"./Circle-DLL8alCD.js";import"./Stars02-Bs0TEaNy.js";import"./Copy01-uwiMYWRU.js";import"./Globe01-By9gtoyg.js";import"./FilterLines-CAdlDh3I.js";import"./Flag01-fXAeu3l9.js";import"./Globe04-uOyvHHk7.js";import"./HardDrive-D38nWE_J.js";import"./Image01-B-uMMK1I.js";import"./Key01-ChBXFLCM.js";import"./LinkExternal01-C3luIiQr.js";import"./Monitor01-BbnHlrzQ.js";import"./Sun-BZaKEOLT.js";import"./Package-CJkGCd9M.js";import"./Palette-Dem2eeFJ.js";import"./Play-02R_l1hm.js";import"./SearchLg-BKY8fQrj.js";import"./Shield01-bU8ewL-C.js";import"./Stars01-BbGPjqZd.js";import"./Upload01-DVcY511n.js";import"./User01-joygJQdk.js";import"./Users01-BVTwFHJb.js";import"./Zap-CT4kcBoV.js";import"./mcp-oauth-SHxAJnkD.js";function Xt(h){const e=`deco-filters-${h}`,[n,d]=V.useState(()=>{try{const s=globalThis.localStorage?.getItem(e);if(s)return JSON.parse(s)}catch(s){console.error("Failed to parse stored filters:",s)}return[]});return[n,s=>{d(s);try{globalThis.localStorage?.setItem(e,JSON.stringify(s))}catch(i){console.error("Failed to save filters:",i)}}]}function qt(h){const e=se.c(7),[n,d]=V.useState(h),[r,s]=V.useState(h?"desc":null);let i;e[0]!==r||e[1]!==n?(i=j=>{n!==j?(d(j),s("asc")):r==="asc"?s("desc"):r==="desc"&&(d(void 0),s(null))},e[0]=r,e[1]=n,e[2]=i):i=e[2];const m=i;let u;return e[3]!==m||e[4]!==r||e[5]!==n?(u={sortKey:n,sortDirection:r,handleSort:m},e[3]=m,e[4]=r,e[5]=n,e[6]=u):u=e[6],u}function Gt(h){const e=se.c(20),{namespace:n,resource:d,defaultSortKey:r,defaultViewMode:s}=h,i=r===void 0?"title":r,m=s===void 0?"table":s,[u,j]=V.useState(""),y=V.useDeferredValue(u),v=`${n}-${d}`,[N,l]=Xt(v),f=`mesh-${d}-filter-visible-${n}`;let c;e[0]!==f?(c=()=>globalThis.localStorage?.getItem(f)==="true",e[0]=f,e[1]=c):c=e[1];const[C,S]=V.useState(c);let b;e[2]!==f?(b=O=>{S(O),globalThis.localStorage?.setItem(f,String(O))},e[2]=f,e[3]=b):b=e[3];const T=b;let P;e[4]!==C||e[5]!==T?(P=()=>{T(!C)},e[4]=C,e[5]=T,e[6]=P):P=e[6];const o=P,[D,$]=yt(`mesh-${d}-${n}`,m),{sortKey:w,sortDirection:I,handleSort:L}=qt(i),M=w;let _;return e[7]!==C||e[8]!==N||e[9]!==L||e[10]!==u||e[11]!==y||e[12]!==T||e[13]!==l||e[14]!==$||e[15]!==I||e[16]!==M||e[17]!==o||e[18]!==D?(_={search:u,searchTerm:y,setSearch:j,filters:N,setFilters:l,filterBarVisible:C,setFilterBarVisible:T,toggleFilterBar:o,viewMode:D,setViewMode:$,sortKey:M,sortDirection:I,handleSort:L},e[7]=C,e[8]=N,e[9]=L,e[10]=u,e[11]=y,e[12]=T,e[13]=l,e[14]=$,e[15]=I,e[16]=M,e[17]=o,e[18]=D,e[19]=_):_=e[19],_}function Jt(h){const e=se.c(20),{open:n,onOpenChange:d,count:r,onConfirm:s}=h,i=r!==1?"s":"";let m;e[0]!==r||e[1]!==i?(m=t.jsxs(Ae,{children:["Delete ",r," connection",i,"?"]}),e[0]=r,e[1]=i,e[2]=m):m=e[2];const u=r!==1?"s":"";let j;e[3]!==u?(j=t.jsxs(we,{children:["This will permanently delete the selected connection",u,". This action cannot be undone."]}),e[3]=u,e[4]=j):j=e[4];let y;e[5]!==m||e[6]!==j?(y=t.jsxs(Te,{children:[m,j]}),e[5]=m,e[6]=j,e[7]=y):y=e[7];let v;e[8]===Symbol.for("react.memo_cache_sentinel")?(v=t.jsx(Ie,{children:"Cancel"}),e[8]=v):v=e[8];const N=r!==1?"s":"";let l;e[9]!==r||e[10]!==s||e[11]!==N?(l=t.jsxs(Pe,{children:[v,t.jsxs($e,{onClick:s,className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",children:["Delete ",r," connection",N]})]}),e[9]=r,e[10]=s,e[11]=N,e[12]=l):l=e[12];let f;e[13]!==y||e[14]!==l?(f=t.jsxs(Oe,{children:[y,l]}),e[13]=y,e[14]=l,e[15]=f):f=e[15];let c;return e[16]!==d||e[17]!==n||e[18]!==f?(c=t.jsx(Le,{open:n,onOpenChange:d,children:f}),e[16]=d,e[17]=n,e[18]=f,e[19]=c):c=e[19],c}function Qt(h){return h._registryId?.includes("community-registry")===!0}function Yt(h){const e=se.c(58),{item:n,canManage:d,allConnections:r,connectedAppNames:s,connectingItemId:i,onNavigateConnected:m,onConnect:u}=h,[j,y]=V.useState(!1),[v,N]=V.useState(null);let l,f;e[0]!==s||e[1]!==n?(l=De(n)??"",f=s.has(l),e[0]=s,e[1]=n,e[2]=l,e[3]=f):(l=e[2],f=e[3]);const c=f,C=n._meta?.["mcp.mesh"],S=C?.friendlyName||C?.friendly_name||n.server?.title||n.title||n.server?.name||n.name||n.id||"",b=n.server?.description||n.description||null;let T;e[4]!==n.server?.icons?.[0]?.src||e[5]!==n.server?.repository?(T=n.server?.icons?.[0]?.src||lt(n.server?.repository)||null,e[4]=n.server?.icons?.[0]?.src,e[5]=n.server?.repository,e[6]=T):T=e[6];const P=T;let o;if(e[7]!==r||e[8]!==l){let A;e[10]!==l?(A=oe=>oe.connection_type!=="VIRTUAL"&&oe.app_name===l,e[10]=l,e[11]=A):A=e[11],o=r.filter(A),e[7]=r,e[8]=l,e[9]=o}else o=e[9];const D=o;let $;e[12]!==n?($=Qt(n),e[12]=n,e[13]=$):$=e[13];const w=$;let I,L;e[14]!==D||e[15]!==d||e[16]!==w||e[17]!==c||e[18]!==n||e[19]!==u||e[20]!==m?(I=()=>{if(c){const A=D[0];A&&m(A);return}d&&L()},L=()=>{w?(N("connect"),y(!0)):u(n)},e[14]=D,e[15]=d,e[16]=w,e[17]=c,e[18]=n,e[19]=u,e[20]=m,e[21]=I,e[22]=L):(I=e[21],L=e[22]);let M;e[23]!==n||e[24]!==u||e[25]!==v?(M=()=>{te("connections_community_warning_confirmed",{registry_item_id:n.id}),y(!1),v==="connect"&&u(n),N(null)},e[23]=n,e[24]=u,e[25]=v,e[26]=M):M=e[26];const _=M;let O;e[27]!==b||e[28]!==P||e[29]!==S?(O={title:S,description:b,icon:P},e[27]=b,e[28]=P,e[29]=S,e[30]=O):O=e[30];let q;e[31]===Symbol.for("react.memo_cache_sentinel")?(q=t.jsx(ge,{}),e[31]=q):q=e[31];let H;e[32]!==w||e[33]!==n._sourceIcon?(H=w&&n._sourceIcon&&t.jsx("img",{src:n._sourceIcon,alt:"Community",className:"size-4 rounded-sm object-contain"}),e[32]=w,e[33]=n._sourceIcon,e[34]=H):H=e[34];let W;e[35]!==d||e[36]!==i||e[37]!==L||e[38]!==c||e[39]!==n.id?(W=c?t.jsx("span",{className:"text-xs text-muted-foreground font-normal",children:"Connected"}):d&&t.jsx(K,{variant:"outline",size:"sm",className:"h-7 px-3 rounded-lg text-sm font-medium",disabled:i!==null,onClick:A=>{A.stopPropagation(),L()},children:i===n.id?t.jsx(ae,{size:14,className:"animate-spin"}):"Connect"}),e[35]=d,e[36]=i,e[37]=L,e[38]=c,e[39]=n.id,e[40]=W):W=e[40];let p;e[41]!==H||e[42]!==W?(p=t.jsxs("div",{className:"flex items-center gap-2",children:[H,W]}),e[41]=H,e[42]=W,e[43]=p):p=e[43];let k;e[44]!==I||e[45]!==p||e[46]!==O?(k=t.jsx(Ce,{connection:O,fallbackIcon:q,onClick:I,headerActionsAlwaysVisible:!0,headerActions:p}),e[44]=I,e[45]=p,e[46]=O,e[47]=k):k=e[47];let z;e[48]===Symbol.for("react.memo_cache_sentinel")?(z=t.jsxs(Te,{children:[t.jsx(Ae,{children:"Community MCP Server"}),t.jsx(we,{children:"This MCP server is from the Community MCP Registry and is not maintained or verified by Deco. Community servers may have varying levels of quality, security, and reliability. Proceed with caution and review the server details before connecting."})]}),e[48]=z):z=e[48];let U;e[49]===Symbol.for("react.memo_cache_sentinel")?(U=t.jsx(Ie,{children:"Cancel"}),e[49]=U):U=e[49];let E;e[50]!==_?(E=t.jsxs(Oe,{children:[z,t.jsxs(Pe,{children:[U,t.jsx($e,{onClick:_,children:"Continue"})]})]}),e[50]=_,e[51]=E):E=e[51];let g;e[52]!==j||e[53]!==E?(g=t.jsx(Le,{open:j,onOpenChange:y,children:E}),e[52]=j,e[53]=E,e[54]=g):g=e[54];let F;return e[55]!==k||e[56]!==g?(F=t.jsxs(t.Fragment,{children:[k,g]}),e[55]=k,e[56]=g,e[57]=F):F=e[57],F}function Zt(h){const e=se.c(51),{group:n,onOpen:d,selectionMode:r,selectedIds:s,onToggleSelect:i}=h;let m;if(e[0]!==n.connections||e[1]!==s){let _;e[3]!==s?(_=O=>s.has(O.id),e[3]=s,e[4]=_):_=e[4],m=n.connections.every(_),e[0]=n.connections,e[1]=s,e[2]=m}else m=e[2];const u=m;let j;if(e[5]!==n.connections||e[6]!==s){let _;e[8]!==s?(_=O=>s.has(O.id),e[8]=s,e[9]=_):_=e[9],j=n.connections.some(_),e[5]=n.connections,e[6]=s,e[7]=j}else j=e[7];const y=j,v=`${n.connections.length} instances`;let N;e[10]!==n.icon||e[11]!==n.title||e[12]!==v?(N={title:n.title,icon:n.icon,description:v},e[10]=n.icon,e[11]=n.title,e[12]=v,e[13]=N):N=e[13];let l;e[14]!==u||e[15]!==n.connections||e[16]!==d||e[17]!==i||e[18]!==s||e[19]!==r?(l=()=>r?(()=>{for(const _ of n.connections)u?s.has(_.id)&&i(_.id):s.has(_.id)||i(_.id)})():d(),e[14]=u,e[15]=n.connections,e[16]=d,e[17]=i,e[18]=s,e[19]=r,e[20]=l):l=e[20];const f=r&&u&&"ring-2 ring-primary",c=r&&y&&!u&&"ring-1 ring-primary/50";let C;e[21]!==f||e[22]!==c?(C=de(f,c),e[21]=f,e[22]=c,e[23]=C):C=e[23];let S;e[24]===Symbol.for("react.memo_cache_sentinel")?(S=t.jsx(ge,{}),e[24]=S):S=e[24];let b;e[25]!==u||e[26]!==n.connections||e[27]!==i||e[28]!==s||e[29]!==r||e[30]!==y?(b=r?t.jsx(Re,{checked:u?!0:y?"indeterminate":!1,onCheckedChange:()=>{for(const _ of n.connections)u?s.has(_.id)&&i(_.id):s.has(_.id)||i(_.id)}}):t.jsxs("div",{className:"flex items-center gap-1",children:[t.jsx("span",{className:"text-xs text-muted-foreground font-normal",children:"Connected"}),t.jsxs("span",{className:"text-xs text-muted-foreground font-normal tabular-nums",children:["x",n.connections.length]})]}),e[25]=u,e[26]=n.connections,e[27]=i,e[28]=s,e[29]=r,e[30]=y,e[31]=b):b=e[31];const T=r?"w-8 opacity-100":"w-0 opacity-0 group-hover:w-8 group-hover:opacity-100";let P;e[32]!==T?(P=de("overflow-hidden transition-all duration-150 ease-out",T),e[32]=T,e[33]=P):P=e[33];let o;e[34]===Symbol.for("react.memo_cache_sentinel")?(o=t.jsx(We,{asChild:!0,children:t.jsx(K,{variant:"ghost",size:"sm",className:"h-8 w-8 p-0",onClick:tn,children:t.jsx(Ge,{size:20})})}),e[34]=o):o=e[34];let D;e[35]!==d?(D=_=>{_.stopPropagation(),d()},e[35]=d,e[36]=D):D=e[36];let $;e[37]===Symbol.for("react.memo_cache_sentinel")?($=t.jsx(Je,{size:16}),e[37]=$):$=e[37];let w;e[38]!==D?(w=t.jsxs(Xe,{children:[o,t.jsx(qe,{align:"end",onClick:en,children:t.jsxs(re,{onClick:D,children:[$,"Open"]})})]}),e[38]=D,e[39]=w):w=e[39];let I;e[40]!==P||e[41]!==w?(I=t.jsx("div",{className:P,children:w}),e[40]=P,e[41]=w,e[42]=I):I=e[42];let L;e[43]!==b||e[44]!==I?(L=t.jsxs("div",{className:"flex items-center gap-1",children:[b,I]}),e[43]=b,e[44]=I,e[45]=L):L=e[45];let M;return e[46]!==L||e[47]!==N||e[48]!==l||e[49]!==C?(M=t.jsx(t.Fragment,{children:t.jsx(Ce,{connection:N,onClick:l,className:C,fallbackIcon:S,headerActionsAlwaysVisible:!0,headerActions:L})}),e[46]=L,e[47]=N,e[48]=l,e[49]=C,e[50]=M):M=e[50],M}function en(h){return h.stopPropagation()}function tn(h){return h.stopPropagation()}function nn(h){const e=se.c(34),{connection:n,isSelected:d,selectionMode:r,canManage:s,canManageAgents:i,onToggleSelect:m,onOpen:u,onToggleStatus:j,onDelete:y}=h;let v;e[0]!==d||e[1]!==m||e[2]!==r?(v=r?t.jsx(Re,{checked:d,onCheckedChange:m,onClick:rn}):t.jsx("span",{className:"text-xs text-muted-foreground font-normal",children:"Connected"}),e[0]=d,e[1]=m,e[2]=r,e[3]=v):v=e[3];const N=r?"w-8 opacity-100":"w-0 opacity-0 group-hover:w-8 group-hover:opacity-100";let l;e[4]!==N?(l=de("overflow-hidden transition-all duration-150 ease-out",N),e[4]=N,e[5]=l):l=e[5];let f;e[6]===Symbol.for("react.memo_cache_sentinel")?(f=t.jsx(We,{asChild:!0,children:t.jsx(K,{variant:"ghost",size:"sm",className:"h-8 w-8 p-0",onClick:on,children:t.jsx(Ge,{size:20})})}),e[6]=f):f=e[6];let c;e[7]!==u?(c=w=>{w.stopPropagation(),u()},e[7]=u,e[8]=c):c=e[8];let C;e[9]===Symbol.for("react.memo_cache_sentinel")?(C=t.jsx(Je,{size:16}),e[9]=C):C=e[9];let S;e[10]!==c?(S=t.jsxs(re,{onClick:c,children:[C,"Open"]}),e[10]=c,e[11]=S):S=e[11];let b;e[12]!==s||e[13]!==i||e[14]!==m?(b=(s||i)&&t.jsxs(re,{onClick:w=>{w.stopPropagation(),m()},children:[t.jsx(zt,{size:16}),"Select"]}),e[12]=s,e[13]=i,e[14]=m,e[15]=b):b=e[15];let T;e[16]!==s||e[17]!==n||e[18]!==j?(T=s&&(n.status==="active"?t.jsxs(re,{onClick:w=>{w.stopPropagation(),j("inactive")},children:[t.jsx(Ft,{size:16}),"Disable"]}):t.jsxs(re,{onClick:w=>{w.stopPropagation(),j("active")},children:[t.jsx(Mt,{size:16}),"Enable"]})),e[16]=s,e[17]=n,e[18]=j,e[19]=T):T=e[19];let P;e[20]!==s||e[21]!==y?(P=s&&t.jsxs(re,{variant:"destructive",onClick:w=>{w.stopPropagation(),y()},children:[t.jsx(Qe,{size:16}),"Delete"]}),e[20]=s,e[21]=y,e[22]=P):P=e[22];let o;e[23]!==P||e[24]!==S||e[25]!==b||e[26]!==T?(o=t.jsxs(Xe,{children:[f,t.jsxs(qe,{align:"end",onClick:sn,children:[S,b,T,P]})]}),e[23]=P,e[24]=S,e[25]=b,e[26]=T,e[27]=o):o=e[27];let D;e[28]!==o||e[29]!==l?(D=t.jsx("div",{className:l,children:o}),e[28]=o,e[29]=l,e[30]=D):D=e[30];let $;return e[31]!==v||e[32]!==D?($=t.jsxs("div",{className:"flex items-center gap-1",children:[v,D]}),e[31]=v,e[32]=D,e[33]=$):$=e[33],$}function sn(h){return h.stopPropagation()}function on(h){return h.stopPropagation()}function rn(h){return h.stopPropagation()}function ln(h){const e=se.c(23),{count:n,total:d,canManage:r,canManageAgents:s,onSelectAll:i,onDeselectAll:m,onDelete:u,onAddToAgent:j,onToggleStatus:y,onCancel:v}=h;if(n===0)return null;let N;e[0]!==n?(N=t.jsxs("div",{className:"text-xs text-muted-foreground pr-1 tabular-nums",children:[n," selected"]}),e[0]=n,e[1]=N):N=e[1];let l;e[2]!==n||e[3]!==m||e[4]!==i||e[5]!==d?(l=n<d?t.jsxs(K,{variant:"outline",size:"sm",className:"h-7 text-xs px-2",onClick:i,children:["Select all (",d,")"]}):t.jsx(K,{variant:"outline",size:"sm",className:"h-7 text-xs px-2",onClick:m,children:"Clear selection"}),e[2]=n,e[3]=m,e[4]=i,e[5]=d,e[6]=l):l=e[6];let f;e[7]!==s||e[8]!==j?(f=s&&t.jsxs(K,{variant:"outline",size:"sm",className:"h-7 text-xs px-2",onClick:j,children:[t.jsx(Ue,{size:13}),"Add to Agent"]}),e[7]=s,e[8]=j,e[9]=f):f=e[9];let c;e[10]!==r||e[11]!==u||e[12]!==y?(c=r&&t.jsxs(t.Fragment,{children:[t.jsx(K,{variant:"outline",size:"sm",className:"h-7 text-xs px-2",onClick:()=>y("active"),children:"Enable"}),t.jsx(K,{variant:"outline",size:"sm",className:"h-7 text-xs px-2",onClick:()=>y("inactive"),children:"Disable"}),t.jsxs(K,{variant:"destructive",size:"sm",className:"h-7 text-xs px-2",onClick:u,children:[t.jsx(Qe,{size:13}),"Delete"]})]}),e[10]=r,e[11]=u,e[12]=y,e[13]=c):c=e[13];let C;e[14]===Symbol.for("react.memo_cache_sentinel")?(C=t.jsx(He,{size:13}),e[14]=C):C=e[14];let S;e[15]!==v?(S=t.jsx(K,{variant:"ghost",size:"sm",className:"h-7 text-xs px-2",onClick:v,children:C}),e[15]=v,e[16]=S):S=e[16];let b;return e[17]!==N||e[18]!==l||e[19]!==f||e[20]!==c||e[21]!==S?(b=t.jsx("div",{className:"fixed bottom-4 left-1/2 z-50 -translate-x-1/2",children:t.jsxs("div",{className:"rounded-xl border border-border bg-background/95 shadow-lg backdrop-blur px-3 py-2 flex items-center gap-2",children:[N,l,f,c,S]})}),e[17]=N,e[18]=l,e[19]=f,e[20]=c,e[21]=S,e[22]=b):b=e[22],b}function cn(h){const e=se.c(25),{open:n,onOpenChange:d,agents:r,onConfirm:s}=h,[i,m]=V.useState(null);let u;e[0]===Symbol.for("react.memo_cache_sentinel")?(u=t.jsxs(Fe,{children:[t.jsx(Me,{children:"Add to Agent"}),t.jsx(ze,{children:"Select an agent to add the selected connections to."})]}),e[0]=u):u=e[0];let j;e[1]!==r||e[2]!==i?(j=r.length===0?t.jsx("p",{className:"text-sm text-muted-foreground text-center py-4",children:"No agents found"}):r.map(b=>t.jsxs("button",{type:"button",onClick:()=>m(b.id),className:de("flex items-center gap-3 w-full rounded-md px-3 py-2 text-left transition-colors",i===b.id?"bg-primary/10 ring-1 ring-primary":"hover:bg-muted/50"),children:[t.jsx(Wt,{icon:b.icon,name:b.title,size:"sm",className:"shrink-0"}),t.jsxs("div",{className:"flex-1 min-w-0",children:[t.jsx("p",{className:"text-sm font-medium truncate",children:b.title}),b.description&&t.jsx("p",{className:"text-xs text-muted-foreground truncate",children:b.description})]})]},b.id)),e[1]=r,e[2]=i,e[3]=j):j=e[3];let y;e[4]!==j?(y=t.jsx("div",{className:"max-h-60 overflow-auto py-2 space-y-1",children:j}),e[4]=j,e[5]=y):y=e[5];let v;e[6]!==d?(v=t.jsx(K,{variant:"outline",onClick:()=>d(!1),children:"Cancel"}),e[6]=d,e[7]=v):v=e[7];const N=!i;let l;e[8]!==s||e[9]!==d||e[10]!==i?(l=()=>{i&&(s(i),d(!1),m(null))},e[8]=s,e[9]=d,e[10]=i,e[11]=l):l=e[11];let f;e[12]!==N||e[13]!==l?(f=t.jsx(K,{disabled:N,onClick:l,children:"Add"}),e[12]=N,e[13]=l,e[14]=f):f=e[14];let c;e[15]!==v||e[16]!==f?(c=t.jsxs(Ve,{children:[v,f]}),e[15]=v,e[16]=f,e[17]=c):c=e[17];let C;e[18]!==y||e[19]!==c?(C=t.jsxs(Ee,{className:"sm:max-w-[400px]",children:[u,y,c]}),e[18]=y,e[19]=c,e[20]=C):C=e[20];let S;return e[21]!==d||e[22]!==n||e[23]!==C?(S=t.jsx(Be,{open:n,onOpenChange:d,children:C}),e[21]=d,e[22]=n,e[23]=C,e[24]=S):S=e[24],S}function an({listState:h,activeTab:e,typeFilter:n,statusFilter:d,registryFilter:r,enabledRegistries:s}){const{org:i}=be(),m=it(),u=_e(),{data:j}=Ne.useSession(),y=Ke(),v=$t(h),N=xt(),{granted:l}=ye("connections:manage"),{granted:f}=ye("agents:manage"),[c,C]=V.useState(new Set),S=c.size>0,[b,T]=V.useState(!1),[P,o]=V.useState(!1),[D,$]=V.useState(null),w=Ot(),I=v.filter(a=>!(n!=="ALL"&&a.connection_type!==n||d!=="ALL"&&a.status!==d)),L=ht(I),M=a=>{C(x=>{const B=new Set(x);return B.has(a)?B.delete(a):B.add(a),B})},_=()=>{C(new Set)},O=ke(s,h.searchTerm),q=O.items,H=jt(O.loadMore,O.hasMore,O.isLoadingMore),W=new Set(v.filter(a=>a.app_name).map(a=>a.app_name)),p=r==="ALL"||s.some(a=>a.id===r)?r:"ALL",k=h.search.length>0,z=e==="all"||k?q.filter(a=>{if(p!=="ALL"&&a._registryId!==p)return!1;if(k){const x=De(a);if(x&&W.has(x))return!1}return!0}):[],U=e==="connected"||k?L:[],E=async a=>{if(!(!i||!j?.user?.id)){te("connection_add_clicked",{action:"connect_new",registry_item_id:a.id,source:"connections_page"}),$(a.id);try{const x=at(a,i.id,j.user.id,{remoteIndex:0}),B=x.connection_type==="STDIO",G=!!x.connection_url,X=B&&x.connection_headers&&typeof x.connection_headers=="object"&&"command"in x.connection_headers;if(!G&&!X){R.error("This MCP Server cannot be connected: no connection method available"),$(null);return}const{id:ne}=await y.create.mutateAsync(x),le=await Rt({connectionId:ne,orgId:i.id,orgSlug:i.slug,persistFallback:fe=>y.update.mutateAsync({id:ne,data:{connection_token:fe}}).then(()=>{})});if(le.ran&&!le.ok){te("connection_oauth_failed",{connection_id:ne,flow:"connections_page_connect",error:le.error??"no_token"}),R.error(`Authentication failed: ${le.error??"no token received"}`);return}if(le.ran){te("connection_oauth_succeeded",{connection_id:ne,flow:"connections_page_connect"});const fe=new URL(`/api/${i.slug}/mcp/${ne}`,window.location.origin);await m.invalidateQueries({queryKey:rt.isMCPAuthenticated(fe.href,null)}),F(),R.success("Authentication successful")}R.success("Connected successfully")}catch(x){R.error(`Failed to connect: ${x instanceof Error?x.message:String(x)}`)}finally{$(null)}}},g=Lt(),F=()=>{m.invalidateQueries({predicate:a=>{const x=a.queryKey;return x[1]===i.id&&x[3]==="collection"&&x[4]==="CONNECTIONS"}})},A=async()=>{T(!1);const a=[...c];te("connections_bulk_delete",{count:a.length});let x=0;for(const B of a)try{await g.call("COLLECTION_CONNECTIONS_DELETE",{id:B,force:!0}),x++}catch{}F(),R.success(`Deleted ${x} connection${x!==1?"s":""}`),_()},oe=async(a,x)=>{try{await y.update.mutateAsync({id:a,data:{status:x}}),F(),R.success(x==="active"?"Connection enabled":"Connection disabled")}catch{R.error("Failed to update connection")}},xe=async a=>{const x=[...c];te("connections_bulk_status_toggled",{count:x.length,to_status:a});let B=0;for(const G of x)try{await y.update.mutateAsync({id:G,data:{status:a}}),B++}catch{}F(),R.success(`${a==="active"?"Enabled":"Disabled"} ${B} connection${B!==1?"s":""}`),_()},me=async a=>{const x=w.find(X=>X.id===a);if(!x)return;te("connections_bulk_add_to_agent",{agent_id:a,count:c.size});const B=new Set(x.connections.map(X=>X.connection_id)),G=[...c].filter(X=>!B.has(X)).map(X=>({connection_id:X,selected_tools:null,selected_resources:null,selected_prompts:null}));if(G.length===0){R.info("All selected connections are already in that agent");return}try{await g.call("COLLECTION_VIRTUAL_MCP_UPDATE",{id:a,data:{connections:[...x.connections,...G]}}),m.invalidateQueries({predicate:X=>{const ne=X.queryKey;return ne[1]===i.id&&ne[3]==="collection"&&ne[4]==="VIRTUAL_MCP"}}),R.success(`Added ${G.length} connection${G.length!==1?"s":""} to "${x.title}"`),_()}catch{R.error("Failed to add connections to agent")}};return t.jsxs(t.Fragment,{children:[t.jsx(ft,{...N}),t.jsx(Jt,{open:b,onOpenChange:T,count:c.size,onConfirm:A}),t.jsx(cn,{open:P,onOpenChange:o,agents:w,onConfirm:me}),O.isInitialLoading&&e==="all"?t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsx(ae,{size:32,className:"animate-spin text-muted-foreground"})}):t.jsx("div",{children:(k?z.length===0&&I.length===0:e==="all"?z.length===0:I.length===0)?t.jsx(gt,{image:t.jsx("img",{src:"/emptystate-mcp.svg",alt:"",width:336,height:320,"aria-hidden":"true"}),title:"No Connections found",description:h.search?`No Connections match "${h.search}"`:l?"Create a connection to get started.":"Ask an organization admin to add one."}):t.jsxs("div",{className:"grid grid-cols-[repeat(auto-fill,minmax(280px,1fr))] gap-4",children:[U.map(a=>{if(a.type==="group")return t.jsx(Zt,{group:a,onOpen:()=>{u({to:"/$org/settings/connections/$appSlug",params:{org:i.slug,appSlug:a.key}})},selectionMode:S,selectedIds:c,onToggleSelect:M},a.key);const x=a.connection,B=c.has(x.id);return t.jsx(Ce,{connection:x,fallbackIcon:t.jsx(ge,{}),onClick:()=>S?M(x.id):u({to:"/$org/settings/connections/$appSlug",params:{org:i.slug,appSlug:he(x)}}),className:de(B&&"ring-2 ring-primary bg-primary/5"),headerActionsAlwaysVisible:!0,headerActions:t.jsx(nn,{connection:x,isSelected:B,selectionMode:S,canManage:l,canManageAgents:f,onToggleSelect:()=>M(x.id),onOpen:()=>u({to:"/$org/settings/connections/$appSlug",params:{org:i.slug,appSlug:he(x)}}),onToggleStatus:G=>oe(x.id,G),onDelete:()=>N.requestDelete(x)})},x.id)}),z.map(a=>t.jsx(Yt,{item:a,canManage:l,allConnections:v,connectedAppNames:W,connectingItemId:D,onNavigateConnected:x=>u({to:"/$org/settings/connections/$appSlug",params:{org:i.slug,appSlug:he(x)}}),onConnect:E},`catalog-${a._registryId}:${a.id}`)),(e==="all"||k)&&s.length>0&&t.jsx("div",{ref:H,className:"col-span-full h-4"}),(e==="all"||k)&&O.isLoadingMore&&t.jsx("div",{className:"col-span-full flex justify-center py-6",children:t.jsx(ae,{size:24,className:"animate-spin text-muted-foreground"})})]})}),S&&t.jsx(ln,{count:c.size,total:I.length,canManage:l,canManageAgents:f,onSelectAll:()=>{C(new Set(I.map(a=>a.id)))},onDeselectAll:()=>C(new Set),onDelete:()=>T(!0),onAddToAgent:()=>o(!0),onToggleStatus:xe,onCancel:_})]})}function dn(){const{org:h}=be(),e=_e(),n=Ze({strict:!1}),{data:d}=Ne.useSession(),{stdioEnabled:r}=et(),s=kt(),{granted:i}=ye("connections:manage"),m=Gt({namespace:h.slug,resource:"connections"}),u=Ke(),[j,y]=tt(nt.connectionsTab(h.slug),p=>n.tab==="all"||n.tab==="connected"?n.tab:p??"all"),[v,N]=V.useState("ALL"),[l,f]=V.useState("ALL"),[c,C]=V.useState("ALL"),S=pt(),T=ke(S,m.searchTerm).items,P=m.search!==m.searchTerm,o=st({resolver:ot(Bt),defaultValues:{title:"",description:null,icon:null,ui_type:"HTTP",connection_url:"",connection_token:null,npx_package:"",stdio_command:"",stdio_args:"",stdio_cwd:"",env_vars:[]}}),D=o.watch("ui_type"),$=o.watch("connection_url"),w=o.watch("npx_package"),I=pe({uiType:D,connectionUrl:$??"",npxPackage:w??""})??Se({uiType:D,connectionUrl:$??"",registryItems:T}),L=i&&n.action==="create",M=()=>{te("connections_custom_dialog_opened",{source:"connections_page"}),e({to:"/$org/settings/connections",params:{org:h.slug},search:{action:"create"}})},_=()=>{e({to:"/$org/settings/connections",params:{org:h.slug},search:{}})},O=async p=>{let k,z=null,U=null,E=null;p.ui_type==="NPX"?(k="STDIO",z="",E=Ut(p.npx_package||"",p.env_vars||[])):p.ui_type==="STDIO"?(k="STDIO",z="",E=Ht(p.stdio_command||"",p.stdio_args||"",p.stdio_cwd,p.env_vars||[])):(k=p.ui_type,z=p.connection_url||"",U=p.connection_token||null);const g=ct("conn");te("connection_custom_created",{connection_type:k,ui_type:p.ui_type}),await u.create.mutateAsync({id:g,title:p.title,description:p.description||null,connection_type:k,connection_url:z,connection_token:U,created_at:new Date().toISOString(),updated_at:new Date().toISOString(),created_by:d?.user?.id||"system",organization_id:h.id,icon:p.icon??null,app_name:null,app_id:null,connection_headers:E,oauth_config:null,configuration_state:null,metadata:null,tools:null,bindings:null,status:"inactive"}),_(),o.reset(),e({to:"/$org/settings/connections/$appSlug",params:{org:h.slug,appSlug:he({app_name:null,connection_url:z,title:p.title,id:g})}})},q=p=>{p||(L&&_(),o.reset())},H=p=>{const k=p.trim();if(!k)return;const z=!!o.formState.dirtyFields.title,U=!!o.formState.dirtyFields.description,E=!!o.formState.dirtyFields.env_vars,g=A=>{if(A&&(!z&&!o.getValues("title").trim()&&A.title&&o.setValue("title",A.title,{shouldDirty:!1}),!U&&!(o.getValues("description")??"").trim()&&A.description&&o.setValue("description",A.description,{shouldDirty:!1}),!E&&A.envVarKeys?.length)){const oe=o.getValues("env_vars")??[],xe=new Set(oe.map(a=>a.key)),me=A.envVarKeys.filter(a=>!xe.has(a));me.length>0&&o.setValue("env_vars",[...oe,...me.map(a=>({key:a,value:""}))],{shouldDirty:!0})}},F=Kt(k);if(F&&r){o.setValue("ui_type","NPX",{shouldDirty:!0}),o.setValue("npx_package",F.packageName,{shouldDirty:!0}),o.setValue("connection_url","",{shouldDirty:!0}),o.setValue("connection_token",null,{shouldDirty:!0}),g(pe({uiType:"NPX",npxPackage:F.packageName}));return}if(k.startsWith("http://")||k.startsWith("https://")){const A=D==="HTTP"||D==="SSE"||D==="Websocket"?D:"HTTP";o.setValue("ui_type",A,{shouldDirty:!0}),o.setValue("connection_url",k,{shouldDirty:!0}),g(pe({uiType:A,connectionUrl:k})??Se({uiType:A,connectionUrl:k,registryItems:T}));return}D==="NPX"&&g(pe({uiType:"NPX",npxPackage:k}))},W=i?t.jsx("div",{className:"flex items-center gap-2",children:t.jsxs(K,{variant:"outline",onClick:M,children:[t.jsx(Ue,{size:14,className:"sm:hidden"}),t.jsx("span",{className:"hidden sm:inline",children:"Custom Connection"})]})}):null;return t.jsx(t.Fragment,{children:t.jsxs(ue,{children:[(()=>{const p="Create Connection",k="Create a custom connection in your organization. Fill in the details below.",z=o.formState.isSubmitting?"Saving...":"Create Connection",U=t.jsxs("div",{className:"grid gap-4",children:[t.jsx(J,{control:o.control,name:"ui_type",render:({field:g})=>t.jsxs(Q,{children:[t.jsx(Y,{children:"Type *"}),t.jsxs(At,{value:g.value,onValueChange:g.onChange,children:[t.jsx(Z,{children:t.jsx(wt,{children:t.jsx(Tt,{})})}),t.jsxs(It,{children:[t.jsx(ce,{value:"HTTP",children:t.jsxs("span",{className:"flex items-center gap-2",children:[t.jsx(je,{className:"w-4 h-4"}),"HTTP"]})}),t.jsx(ce,{value:"SSE",children:t.jsxs("span",{className:"flex items-center gap-2",children:[t.jsx(je,{className:"w-4 h-4"}),"SSE"]})}),t.jsx(ce,{value:"Websocket",children:t.jsxs("span",{className:"flex items-center gap-2",children:[t.jsx(je,{className:"w-4 h-4"}),"Websocket"]})}),r&&t.jsxs(t.Fragment,{children:[t.jsx(ce,{value:"NPX",children:t.jsxs("span",{className:"flex items-center gap-2",children:[t.jsx(ge,{className:"w-4 h-4"}),"NPX Package"]})}),t.jsx(ce,{value:"STDIO",children:t.jsxs("span",{className:"flex items-center gap-2",children:[t.jsx(Vt,{className:"w-4 h-4"}),"Custom Command"]})})]})]})]}),t.jsx(ee,{})]})}),D==="NPX"&&t.jsx(J,{control:o.control,name:"npx_package",render:({field:g})=>t.jsxs(Q,{children:[t.jsx(Y,{children:"NPM Package *"}),t.jsx(Z,{children:t.jsx(ie,{placeholder:"@perplexity-ai/mcp-server",...g,value:g.value??"",onPaste:F=>{const A=F.clipboardData.getData("text");A&&(F.preventDefault(),o.setValue("npx_package",A.trim(),{shouldDirty:!0}),H(A))},onBlur:F=>{H(F.target.value),g.onBlur()}})}),t.jsx(ee,{})]})}),D==="STDIO"&&t.jsxs(t.Fragment,{children:[t.jsxs("div",{className:"grid grid-cols-2 gap-4 items-start",children:[t.jsx(J,{control:o.control,name:"stdio_command",render:({field:g})=>t.jsxs(Q,{children:[t.jsx(Y,{children:"Command *"}),t.jsx(Z,{children:t.jsx(ie,{placeholder:"node, bun, python...",...g,value:g.value??""})}),t.jsx(ee,{})]})}),t.jsx(J,{control:o.control,name:"stdio_args",render:({field:g})=>t.jsxs(Q,{children:[t.jsx(Y,{children:"Arguments"}),t.jsx(Z,{children:t.jsx(ie,{placeholder:"arg1 arg2 --flag value",...g,value:g.value??""})}),t.jsx(ee,{})]})})]}),t.jsx(J,{control:o.control,name:"stdio_cwd",render:({field:g})=>t.jsxs(Q,{children:[t.jsx(Y,{children:"Working Directory"}),t.jsx(Z,{children:t.jsx(ie,{placeholder:"/path/to/project (optional)",...g,value:g.value??""})}),t.jsx("p",{className:"text-xs text-muted-foreground",children:"Directory where the command will be executed"}),t.jsx(ee,{})]})})]}),(D==="NPX"||D==="STDIO")&&t.jsx(J,{control:o.control,name:"env_vars",render:({field:g})=>t.jsxs(Q,{children:[t.jsx(Y,{children:"Environment Variables"}),t.jsx(Z,{children:t.jsx(Et,{value:g.value??[],onChange:g.onChange})}),t.jsx(ee,{})]})}),D!=="NPX"&&D!=="STDIO"&&t.jsxs(t.Fragment,{children:[t.jsx(J,{control:o.control,name:"connection_url",render:({field:g})=>t.jsxs(Q,{children:[t.jsx(Y,{children:"URL *"}),t.jsx(Z,{children:t.jsx(ie,{placeholder:"https://example.com/mcp",...g,value:g.value??"",onPaste:F=>{const A=F.clipboardData.getData("text");A&&(F.preventDefault(),o.setValue("connection_url",A.trim(),{shouldDirty:!0}),H(A))},onBlur:F=>{H(F.target.value),g.onBlur()}})}),t.jsx(ee,{})]})}),t.jsx(J,{control:o.control,name:"connection_token",render:({field:g})=>t.jsxs(Q,{children:[t.jsx(Y,{children:I?.token?.label??"Token (optional)"}),t.jsx(Z,{children:t.jsx(ie,{type:"password",placeholder:I?.token?.placeholder??"Bearer token or API key",...g,value:g.value??""})}),I?.token?.helperText&&t.jsxs("p",{className:"text-xs text-muted-foreground",children:[I.token.helperText,I.id==="github"&&t.jsxs(t.Fragment,{children:[" ","·"," ",t.jsx("a",{className:"text-foreground underline underline-offset-4 hover:text-foreground/80",href:"https://github.com/settings/personal-access-tokens",target:"_blank",rel:"noreferrer",children:"Open GitHub PAT settings"})]})]}),t.jsx(ee,{})]})})]}),t.jsx(J,{control:o.control,name:"title",render:({field:g})=>t.jsxs(Q,{children:[t.jsx(Y,{children:"Name *"}),t.jsx(Z,{children:t.jsx(ie,{placeholder:"My Connection",...g})}),t.jsx(ee,{})]})}),t.jsx(J,{control:o.control,name:"description",render:({field:g})=>t.jsxs(Q,{children:[t.jsx(Y,{children:"Description"}),t.jsx(Z,{children:t.jsx(Pt,{placeholder:"A brief description of this connection",rows:3,...g,value:g.value??""})}),t.jsx(ee,{})]})})]}),E=L;return s?t.jsx(Ct,{open:E,onOpenChange:q,children:t.jsxs(vt,{className:"max-h-[90vh]",children:[t.jsx(St,{className:"pb-2",children:t.jsxs("div",{className:"flex items-start justify-between gap-4",children:[t.jsxs("div",{className:"flex-1 text-left",children:[t.jsx(bt,{children:p}),t.jsx(_t,{className:"mt-1",children:k})]}),t.jsx(Nt,{asChild:!0,children:t.jsx(K,{variant:"ghost",size:"icon",className:"shrink-0 -mt-1",children:t.jsx(He,{size:16})})})]})}),t.jsx(ve,{...o,children:t.jsxs("form",{onSubmit:o.handleSubmit(O),children:[t.jsx("div",{className:"overflow-y-auto px-4 pb-4",children:U}),t.jsx(Dt,{children:t.jsx(K,{type:"submit",disabled:o.formState.isSubmitting,className:"w-full",children:z})})]})})]})}):t.jsx(Be,{open:E,onOpenChange:q,children:t.jsxs(Ee,{className:"sm:max-w-[525px]",children:[t.jsxs(Fe,{children:[t.jsx(Me,{children:p}),t.jsx(ze,{children:k})]}),t.jsx(ve,{...o,children:t.jsxs("form",{onSubmit:o.handleSubmit(O),children:[t.jsx("div",{className:"py-4",children:U}),t.jsxs(Ve,{children:[t.jsx(K,{type:"button",variant:"outline",onClick:()=>q(!1),children:"Cancel"}),t.jsx(K,{type:"submit",disabled:o.formState.isSubmitting,className:"min-w-40",children:z})]})]})})]})})})(),t.jsx(ue.Content,{children:t.jsx(ue.Body,{children:t.jsxs("div",{className:"flex flex-col gap-6",children:[t.jsx(ue.Title,{children:"Connections"}),t.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(mt,{value:m.search,onChange:m.setSearch,placeholder:"Search for a connection",className:"w-full md:w-[375px]",onKeyDown:p=>{p.key==="Escape"&&(m.setSearch(""),p.target.blur())}}),t.jsx(dt,{sortKey:m.sortKey,sortDirection:m.sortDirection,onSort:m.handleSort,sortOptions:[{id:"title",label:"Name"},{id:"description",label:"Description"},{id:"connection_type",label:"Type"},{id:"updated_by",label:"Updated by"},{id:"updated_at",label:"Updated"}],filters:[{label:"Type",value:v,onChange:p=>N(p||"ALL"),options:[{id:"ALL",label:"All"},{id:"HTTP",label:"HTTP"},{id:"SSE",label:"SSE"},{id:"Websocket",label:"WebSocket"},{id:"STDIO",label:"STDIO"}]},{label:"Status",value:l,onChange:p=>f(p||"ALL"),options:[{id:"ALL",label:"All"},{id:"active",label:"Active"},{id:"inactive",label:"Inactive"},{id:"error",label:"Error"}]},...S.length>1?[{label:"Registry",value:c,onChange:p=>C(p||"ALL"),options:[{id:"ALL",label:"All registries"},...S.map(p=>({id:p.id,label:p.id.includes("community-registry")?"Community MCP Registry":p.title}))]}]:[]]})]}),W]}),t.jsx(ut,{tabs:[{id:"all",label:"All"},{id:"connected",label:"Connected"}],activeTab:j,onTabChange:p=>{const k=p;k!==j&&te("connections_page_tab_changed",{to_tab:k}),y(k)}}),t.jsx(V.Suspense,{fallback:t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsx(ae,{size:32,className:"animate-spin text-muted-foreground"})}),children:t.jsx("div",{style:{opacity:P?.5:1,transition:P?"opacity 0.2s 0.2s linear":"opacity 0s 0s linear",pointerEvents:P?"none":"auto"},children:t.jsx(an,{listState:m,activeTab:j,typeFilter:v,statusFilter:l,registryFilter:c,enabledRegistries:S})})})]})})})]})})}function to(){const h=se.c(1);let e;return h[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(Ye,{children:t.jsx(V.Suspense,{fallback:t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsx(ae,{size:32,className:"animate-spin text-muted-foreground"})}),children:t.jsx(dn,{})})}),h[0]=e):e=h[0],e}export{to as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as it,r as E,j as e,i as rt}from"./index-DGQdC8j6.js";import{m as mt,o as pt,p as st,q as at}from"./sidebar-C_llE2r0.js";import{A as nt}from"./automation-runs-ewxrJgPk.js";import{r as lt,u as ct,a as dt,b as St,i as ft,f as ut,d as vt,P as ht,S as gt}from"./page-seo-form-D8JddRAG.js";import{r as xt}from"./index-gpoC3ssJ.js";import"./LayoutLeft-DPtsS7J4.js";import"./use-mobile-DVuyUrh-.js";import"./X-Bs0u_0yh.js";import"./tooltip-CO1zVhUs.js";import"./select-vVirKMnE.js";import"./Check-Oxo5mPeL.js";import"./ChevronDown-DCZlSvzQ.js";import"./ChevronUp-BXrO8J56.js";import"./useInfiniteQuery-CzbwdXBh.js";import"./use-infinite-scroll-DW-B2iyn.js";import"./use-connection-DM8eKjeN.js";import"./use-collections-BqfJEMNR.js";import"./use-mcp-client-Csg0Ohl1.js";import"./constants-D_FQAPnt.js";import"./auth-DDOP_TUe.js";import"./use-virtual-mcp-6yApsgIW.js";import"./card-whir3-TU.js";import"./table-DqN44BtI.js";import"./empty-state-LUctNkh2.js";import"./use-members-B1t5oiJJ.js";import"./use-org-auth-client-dM7W8lCQ.js";import"./use-clock-tick-BDXFn1B6.js";import"./AlertCircle-DBEuJvXd.js";import"./CheckCircle-DAvZWWWn.js";import"./Circle-DLL8alCD.js";import"./agent-icon-Xdz_mRuJ.js";import"./UserPlus01-DvdLIpOn.js";import"./Tool01-DHJpebK1.js";import"./ArrowUp-OqBYOpu3.js";import"./Settings02-CJygIZBg.js";import"./Tool02-DlSNNbnL.js";import"./XCircle-DGorVz-d.js";import"./ArrowUpRight-3xkp-kWm.js";import"./TrendUp01-Lnwj2rUh.js";import"./ZapSquare-DivgtbPr.js";import"./ZoomOut-B2C9WPW-.js";import"./Users03-FhX9tiey.js";import"./ChevronRight-L_rxCnv3.js";import"./Stars02-Bs0TEaNy.js";import"./Copy01-uwiMYWRU.js";import"./DotsVertical-B0IViKUD.js";import"./Globe01-By9gtoyg.js";import"./Eye-DVo1_Pm2.js";import"./FilterLines-CAdlDh3I.js";import"./Flag01-fXAeu3l9.js";import"./Star01-CAO22TgC.js";import"./Globe04-uOyvHHk7.js";import"./SwitchHorizontal01-DqE-u_vC.js";import"./HardDrive-D38nWE_J.js";import"./Image01-B-uMMK1I.js";import"./Key01-ChBXFLCM.js";import"./LinkExternal01-C3luIiQr.js";import"./List-CgvHjjyd.js";import"./Monitor01-BbnHlrzQ.js";import"./Sun-BZaKEOLT.js";import"./Package-CJkGCd9M.js";import"./Palette-Dem2eeFJ.js";import"./Play-02R_l1hm.js";import"./Plus-D8fSfWhL.js";import"./SearchLg-BKY8fQrj.js";import"./SearchMd-Di7fRkvt.js";import"./Shield01-bU8ewL-C.js";import"./Stars01-BbGPjqZd.js";import"./Trash01-BGwW4PUs.js";import"./Upload01-DVcY511n.js";import"./User01-joygJQdk.js";import"./Users01-BVTwFHJb.js";import"./XClose-hq2LkF75.js";import"./Zap-CT4kcBoV.js";import"./use-automations-CjVm1klr.js";import"./studio-tools-DII0jqi8.js";import"./useSuspenseInfiniteQuery-0mVVL1tH.js";import"./avatar-BumqAYVV.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-eCXRBbSs.js";import"./file-type-icon-CaoqUw2g.js";import"./dialog-hBUfi5DB.js";import"./tab-id-BijBBRwE.js";import"./hooks-DNLn_ut2.js";import"./decopilot-sse-pool-ByDpDqQ2.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./chat-context-CZYpc7lP.js";import"./autosend-sntJRLit.js";import"./use-ai-providers-DuJIHuvT.js";import"./use-decopilot-events-qGOD1WG0.js";import"./use-organization-settings-Dfv3IVMe.js";import"./monaco-editor-DGONpAoN.js";import"./index-vt02LGOF.js";import"./index-BUTM8e7t.js";import"./shell-layout-b2wj0DO7.js";import"./alert-dialog-CWlVUd73.js";import"./required-auth-layout-B-_kB-P-.js";import"./use-org-sso-w2vntLws.js";import"./integration-icon-CfaWXLBn.js";import"./use-navigate-to-agent-BL2c2hni.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-RJnPaDTO.js";import"./form-B8zhOVR3.js";import"./label-DdsuSm6M.js";import"./input-DwWe5Hqk.js";import"./switch-DW7tjnTv.js";import"./drawer-CrQJ-4Ry.js";import"./collection-search-26JlKJRJ.js";import"./tabs-DoePSWje.js";import"./toggle-group-Dbv18C0K.js";import"./use-deco-credits-C0lExqRa.js";import"./extract-connection-data-BFgBaCrk.js";import"./connection-card-ClbjHgoq.js";import"./use-registry-connections-DMVj_IUs.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./textarea-BH3kgWLk.js";import"./connection-form-helpers-CkjvvPa_.js";import"./authenticate-and-persist-oauth-BcKcvBur.js";import"./mcp-oauth-SHxAJnkD.js";import"./collection-tabs-CMkX9SJV.js";import"./badge-DuwyDvgL.js";import"./connect-desktop-dialog-DR3AZpl6.js";import"./select-model-BltF0usx.js";import"./checkbox-DbEZ6b_D.js";import"./skeleton-CB7DUvyX.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-CvpT3RW4.js";import"./command-BoNCgAXF.js";import"./index-Cag8mnTh.js";import"./popover-BoSjy_J9.js";import"./dropdown-menu-BDW1EJyx.js";import"./index-CWrnaczo.js";import"./toolbar-CFkubGs8.js";import"./use-debounced-value-CMoeorqx.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-CQv-RBYC.js";import"./use-mcp-tools-DF4E3rLo.js";import"./use-capability-CEIYeJxR.js";import"./use-debounced-autosave-DQFgMtID.js";import"./index-qg-bT8JA.js";import"./search-input-B0lumlG7.js";import"./use-mcp-auth-status-D-ki6Fzr.js";import"./github-repo-picker-D93GRlsF.js";import"./provision-repo-scoped-github-connection-CB4ICKHq.js";import"./use-secrets-j8nq_pg4.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./companions-core-C3l18hJe.js";import"./index-F-ZMCKP-.js";import"./get-initials-D-f_fDFw.js";import"./calendar-Dpt7QB2d.js";import"./toolbar-icon-button-B2gRcy3Z.js";import"./use-file-configs-Nmeyll7B.js";import"./automation-list-row-CWbyvM3t.js";function hi(u){const t=it.c(46),{open:N,onOpenChange:P,orgSlug:Q,virtualMcpId:U,branch:W,decofile:G,meta:s,target:m,onSaved:X}=u,o=lt(G,m,s),k=m.kind==="site"?"site":m.pageKey,[Y,Z]=E.useState(k),[tt,i]=E.useState(null),[J,g]=E.useState(void 0),[x,y]=E.useState(0);Y!==k&&(Z(k),i(null),g(void 0),y(wt));const{persistSeo:a,persistRawSeo:I,flush:K,isPending:D}=ct({orgSlug:Q,virtualMcpId:U,branch:W,target:m,resolved:o,onSaved:X}),w=m.kind==="page",ot=w?o?.rawSeoData:void 0,v=J!==void 0?J:ot,et=w?dt(v)??void 0:void 0,h=tt??et??o?.seoData??{},p=o?St(h,o):null,n=p&&(!w||ft(v))?xt(p,s):null,_=m.kind==="page"?ut(G,s)?.seoData??void 0:void 0;let j;t[0]!==s?(j=vt(s),t[0]=s,t[1]=j):j=t[1];const A=j;let R;t[2]!==a||t[3]!==o||t[4]!==i?(R=r=>{if(!o)return;const L=r;i(L),a(L)},t[2]=a,t[3]=o,t[4]=i,t[5]=R):R=t[5];const M=R;let F;t[6]!==K||t[7]!==P?(F=r=>{r||K(),P(r)},t[6]=K,t[7]=P,t[8]=F):F=t[8];const V=F,q=m.kind==="site"?"Site SEO":"Page SEO",T=w&&o,z=m.kind==="site"&&o&&n,B=m.kind==="site"?"No site-level SEO block found.":o?"SEO schema not found for this page.":"Could not load page SEO.";let C;t[9]!==i?(C=()=>i(null),t[9]=i,t[10]=C):C=t[10];const H=C;let O;t[11]!==y?(O=()=>y(yt),t[11]=y,t[12]=O):O=t[12];const $=O;let l;t[13]!==q?(l=e.jsx(mt,{className:"text-sm font-semibold",children:q}),t[13]=q,t[14]=l):l=t[14];let c;t[15]!==D?(c=D&&e.jsx(rt,{size:14,className:"animate-spin text-muted-foreground"}),t[15]=D,t[16]=c):c=t[16];let d;t[17]!==l||t[18]!==c?(d=e.jsxs(pt,{className:"px-4 py-3 border-b flex-row items-center justify-between space-y-0",children:[l,c]}),t[17]=l,t[18]=c,t[19]=d):d=t[19];let S;t[20]!==p||t[21]!==$||t[22]!==H||t[23]!==A||t[24]!==v||t[25]!==h||t[26]!==B||t[27]!==x||t[28]!==M||t[29]!==I||t[30]!==a||t[31]!==o||t[32]!==n||t[33]!==i||t[34]!==g||t[35]!==T||t[36]!==z||t[37]!==_?(S=!o||!T&&!z?e.jsx("div",{className:"flex h-full items-center justify-center text-sm text-muted-foreground",children:B}):e.jsx(nt,{className:"flex-1 min-h-0 [&_[data-slot=scroll-area-viewport]>div]:!block",children:e.jsx("div",{className:"px-6 py-4",children:e.jsx("div",{className:"mx-auto max-w-sm",children:T?e.jsx(ht,{rawSeo:v,innerSeo:h,defaultResolveType:A,seoSchema:n,activeResolveType:p,seoTypeOptions:o.seoTypeOptions,formResetKey:x,siteDefaultSeo:_,onPersistRaw:r=>{g(r),I(r)},onInnerChange:r=>{i(r),a(r)},onClearForm:H,onBumpFormKey:$}):n&&p&&e.jsx(gt,{schema:n,resolveType:p,value:h,formResetKey:x,onChange:M})})})}),t[20]=p,t[21]=$,t[22]=H,t[23]=A,t[24]=v,t[25]=h,t[26]=B,t[27]=x,t[28]=M,t[29]=I,t[30]=a,t[31]=o,t[32]=n,t[33]=i,t[34]=g,t[35]=T,t[36]=z,t[37]=_,t[38]=S):S=t[38];let f;t[39]!==d||t[40]!==S?(f=e.jsxs(st,{side:"right",className:"w-[400px] sm:max-w-[440px] p-0 gap-0",children:[d,S]}),t[39]=d,t[40]=S,t[41]=f):f=t[41];let b;return t[42]!==V||t[43]!==N||t[44]!==f?(b=e.jsx(at,{open:N,onOpenChange:V,children:f}),t[42]=V,t[43]=N,t[44]=f,t[45]=b):b=t[45],b}function yt(u){return u+1}function wt(u){return u+1}export{hi as SeoSheet};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as L,C as H,j as U}from"./index-DGQdC8j6.js";import{a as O,g as $,s as E}from"./automation-runs-ewxrJgPk.js";import{u as k}from"./use-mcp-client-Csg0Ohl1.js";import{p as B}from"./constants-D_FQAPnt.js";import{b as V,c as Y}from"./use-mcp-tools-DF4E3rLo.js";import{u as q}from"./index-gpoC3ssJ.js";import{c as G}from"./monaco-editor-DGONpAoN.js";import{g as K,M as W,a as D}from"./index-BUTM8e7t.js";import{b as z,a as F}from"./chat-context-CZYpc7lP.js";import{u as J}from"./shell-layout-b2wj0DO7.js";import{O as Q}from"./tab-id-BijBBRwE.js";import"./select-vVirKMnE.js";import"./tooltip-CO1zVhUs.js";import"./Check-Oxo5mPeL.js";import"./ChevronDown-DCZlSvzQ.js";import"./ChevronUp-BXrO8J56.js";import"./useInfiniteQuery-CzbwdXBh.js";import"./use-infinite-scroll-DW-B2iyn.js";import"./use-connection-DM8eKjeN.js";import"./use-collections-BqfJEMNR.js";import"./use-virtual-mcp-6yApsgIW.js";import"./card-whir3-TU.js";import"./sidebar-C_llE2r0.js";import"./LayoutLeft-DPtsS7J4.js";import"./use-mobile-DVuyUrh-.js";import"./X-Bs0u_0yh.js";import"./table-DqN44BtI.js";import"./empty-state-LUctNkh2.js";import"./use-members-B1t5oiJJ.js";import"./use-org-auth-client-dM7W8lCQ.js";import"./use-clock-tick-BDXFn1B6.js";import"./AlertCircle-DBEuJvXd.js";import"./CheckCircle-DAvZWWWn.js";import"./Circle-DLL8alCD.js";import"./agent-icon-Xdz_mRuJ.js";import"./UserPlus01-DvdLIpOn.js";import"./Tool01-DHJpebK1.js";import"./ArrowUp-OqBYOpu3.js";import"./Settings02-CJygIZBg.js";import"./Tool02-DlSNNbnL.js";import"./XCircle-DGorVz-d.js";import"./ArrowUpRight-3xkp-kWm.js";import"./TrendUp01-Lnwj2rUh.js";import"./ZapSquare-DivgtbPr.js";import"./ZoomOut-B2C9WPW-.js";import"./Users03-FhX9tiey.js";import"./ChevronRight-L_rxCnv3.js";import"./Stars02-Bs0TEaNy.js";import"./Copy01-uwiMYWRU.js";import"./DotsVertical-B0IViKUD.js";import"./Globe01-By9gtoyg.js";import"./Eye-DVo1_Pm2.js";import"./FilterLines-CAdlDh3I.js";import"./Flag01-fXAeu3l9.js";import"./Star01-CAO22TgC.js";import"./Globe04-uOyvHHk7.js";import"./SwitchHorizontal01-DqE-u_vC.js";import"./HardDrive-D38nWE_J.js";import"./Image01-B-uMMK1I.js";import"./Key01-ChBXFLCM.js";import"./LinkExternal01-C3luIiQr.js";import"./List-CgvHjjyd.js";import"./Monitor01-BbnHlrzQ.js";import"./Sun-BZaKEOLT.js";import"./Package-CJkGCd9M.js";import"./Palette-Dem2eeFJ.js";import"./Play-02R_l1hm.js";import"./Plus-D8fSfWhL.js";import"./SearchLg-BKY8fQrj.js";import"./SearchMd-Di7fRkvt.js";import"./Shield01-bU8ewL-C.js";import"./Stars01-BbGPjqZd.js";import"./Trash01-BGwW4PUs.js";import"./Upload01-DVcY511n.js";import"./User01-joygJQdk.js";import"./Users01-BVTwFHJb.js";import"./XClose-hq2LkF75.js";import"./Zap-CT4kcBoV.js";import"./use-automations-CjVm1klr.js";import"./studio-tools-DII0jqi8.js";import"./useSuspenseInfiniteQuery-0mVVL1tH.js";import"./avatar-BumqAYVV.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-eCXRBbSs.js";import"./file-type-icon-CaoqUw2g.js";import"./dialog-hBUfi5DB.js";import"./hooks-DNLn_ut2.js";import"./decopilot-sse-pool-ByDpDqQ2.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./integration-icon-CfaWXLBn.js";import"./use-navigate-to-agent-BL2c2hni.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-RJnPaDTO.js";import"./form-B8zhOVR3.js";import"./label-DdsuSm6M.js";import"./input-DwWe5Hqk.js";import"./auth-DDOP_TUe.js";import"./drawer-CrQJ-4Ry.js";import"./collection-search-26JlKJRJ.js";import"./autosend-sntJRLit.js";import"./tabs-DoePSWje.js";import"./toggle-group-Dbv18C0K.js";import"./use-deco-credits-C0lExqRa.js";import"./extract-connection-data-BFgBaCrk.js";import"./connection-card-ClbjHgoq.js";import"./use-registry-connections-DMVj_IUs.js";import"./use-organization-settings-Dfv3IVMe.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./textarea-BH3kgWLk.js";import"./connection-form-helpers-CkjvvPa_.js";import"./authenticate-and-persist-oauth-BcKcvBur.js";import"./mcp-oauth-SHxAJnkD.js";import"./collection-tabs-CMkX9SJV.js";import"./badge-DuwyDvgL.js";import"./use-ai-providers-DuJIHuvT.js";import"./connect-desktop-dialog-DR3AZpl6.js";import"./select-model-BltF0usx.js";import"./checkbox-DbEZ6b_D.js";import"./skeleton-CB7DUvyX.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-CvpT3RW4.js";import"./command-BoNCgAXF.js";import"./index-Cag8mnTh.js";import"./popover-BoSjy_J9.js";import"./dropdown-menu-BDW1EJyx.js";import"./index-CWrnaczo.js";import"./alert-dialog-CWlVUd73.js";import"./toolbar-CFkubGs8.js";import"./use-debounced-value-CMoeorqx.js";import"./index-vt02LGOF.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-CQv-RBYC.js";import"./use-decopilot-events-qGOD1WG0.js";import"./use-capability-CEIYeJxR.js";import"./use-debounced-autosave-DQFgMtID.js";import"./index-qg-bT8JA.js";import"./search-input-B0lumlG7.js";import"./use-mcp-auth-status-D-ki6Fzr.js";import"./switch-DW7tjnTv.js";import"./github-repo-picker-D93GRlsF.js";import"./provision-repo-scoped-github-connection-CB4ICKHq.js";import"./use-secrets-j8nq_pg4.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./companions-core-C3l18hJe.js";import"./index-F-ZMCKP-.js";import"./get-initials-D-f_fDFw.js";import"./calendar-Dpt7QB2d.js";import"./toolbar-icon-button-B2gRcy3Z.js";import"./use-file-configs-Nmeyll7B.js";import"./automation-list-row-CWbyvM3t.js";import"./required-auth-layout-B-_kB-P-.js";import"./use-org-sso-w2vntLws.js";const X="studio://navigate";function Z(M){const[t]=M;if(M.length!==1||t?.type!=="resource_link"||!t.uri.startsWith(X))return{isNavigate:!1};let o=null;try{o=new URL(t.uri).searchParams.get("main")}catch{}return{isNavigate:!0,tab:o&&Q.has(o)?o:null}}const tt={};function ot(M){const t=L.c(38),{client:o,resourceURI:I,tool:i,connectionId:p,orgId:a,args:v}=M,{sendMessage:C}=z(),{setAppContext:d,clearAppContext:l}=F(),{openSidePanel:g,openTab:s}=J(),r=`${p}:${i.name}`;let c;t[0]!==s?(c=x=>x==="inline"?(s("0"),"inline"):"fullscreen",t[0]=s,t[1]=c):c=t[1];const m=c,n=v??tt;let u;t[2]!==o||t[3]!==i.name||t[4]!==n?(u={client:o,toolName:i.name,toolArguments:n},t[2]=o,t[3]=i.name,t[4]=n,t[5]=u):u=t[5];const{data:e}=Y(u);let h;if(t[6]!==i._meta||t[7]!==i.name){const x=$(i._meta);h=E(i.name,x),t[6]=i._meta,t[7]=i.name,t[8]=h}else h=t[8];const A=h;let f;t[9]!==i.inputSchema?(f=i.inputSchema??{type:"object"},t[9]=i.inputSchema,t[10]=f):f=t[10];let R;t[11]!==A||t[12]!==f||t[13]!==i?(R={...i,name:A,inputSchema:f},t[11]=A,t[12]=f,t[13]=i,t[14]=R):R=t[14];const b=R;let _;t[15]!==g||t[16]!==s||t[17]!==C?(_=x=>{const j=Z(x.content);if(j.isNavigate){j.tab&&s(j.tab);return}const w=G(x.content);w.content.length>0&&(g("chat"),C({tiptapDoc:w}))},t[15]=g,t[16]=s,t[17]=C,t[18]=_):_=t[18];const y=_;let P;t[19]!==b?(P={tool:b},t[19]=b,t[20]=P):P=t[20];let N;t[21]!==d||t[22]!==r?(N=x=>d(r,x),t[21]=d,t[22]=r,t[23]=N):N=t[23];let T;t[24]!==l||t[25]!==r?(T=()=>l(r),t[24]=l,t[25]=r,t[26]=T):T=t[26];let S;return t[27]!==o||t[28]!==y||t[29]!==m||t[30]!==a||t[31]!==I||t[32]!==P||t[33]!==N||t[34]!==T||t[35]!==n||t[36]!==e?(S=U.jsx(W,{resourceURI:I,orgId:a,toolInfo:P,toolInput:n,toolResult:e,displayMode:"fullscreen",minHeight:D.fullscreen.minHeight,maxHeight:D.fullscreen.maxHeight,client:o,onMessage:y,onUpdateModelContext:N,onTeardown:T,onRequestDisplayMode:m,className:"h-full"}),t[27]=o,t[28]=y,t[29]=m,t[30]=a,t[31]=I,t[32]=P,t[33]=N,t[34]=T,t[35]=n,t[36]=e,t[37]=S):S=t[37],S}function Ji(M){const t=L.c(24),{connectionId:o,toolName:I,args:i}=M,{org:p}=H(),a=q();let v;t[0]!==o||t[1]!==a?(v=B(o)&&a.vmEntry?.sandboxProviderKind==="user-desktop"&&a.previewUrl?`${a.previewUrl.replace(/\/+$/,"")}/api/mcp`:void 0,t[0]=o,t[1]=a,t[2]=v):v=t[2];const C=v;let d;t[3]!==o||t[4]!==C||t[5]!==p.id||t[6]!==p.slug?(d={connectionId:o,orgId:p.id,orgSlug:p.slug,mcpUrl:C},t[3]=o,t[4]=C,t[5]=p.id,t[6]=p.slug,t[7]=d):d=t[7];const l=k(d);let g;t[8]!==l?(g={client:l},t[8]=l,t[9]=g):g=t[9];const{data:s}=V(g);let r,c,m;t[10]!==I||t[11]!==s.tools?(r=O(decodeURIComponent(I)),m=s.tools.find(e=>e.name===r)??s.tools.find(e=>{const h=$(e._meta);if(!h)return!1;if(E(e.name,h)===r)return!0;const f=E(r,h);return f!==r&&e.name===f}),c=m?._meta?K(m._meta):void 0,t[10]=I,t[11]=s.tools,t[12]=r,t[13]=c,t[14]=m):(r=t[12],c=t[13],m=t[14]);const n=c;if(!m||!n){let e;return t[15]!==r?(e=U.jsx("div",{className:"flex items-center justify-center h-full w-full",children:U.jsxs("p",{className:"text-sm text-muted-foreground",children:['Tool "',r,'" not found or has no UI']})}),t[15]=r,t[16]=e):e=t[16],e}let u;return t[17]!==i||t[18]!==l||t[19]!==o||t[20]!==p.id||t[21]!==n||t[22]!==m?(u=U.jsx(ot,{client:l,resourceURI:n,tool:m,connectionId:o,orgId:p.id,args:i}),t[17]=i,t[18]=l,t[19]=o,t[20]=p.id,t[21]=n,t[22]=m,t[23]=u):u=t[23],u}export{Ji as AppViewContent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as C,j as o}from"./index-DGQdC8j6.js";import{I as B}from"./input-DwWe5Hqk.js";import{L as T}from"./label-DdsuSm6M.js";import{S as L,a as A,b as R,c as z,d as O}from"./select-vVirKMnE.js";import{T as V}from"./textarea-BH3kgWLk.js";import{v as D,w as J,o as K,x as M,I as _}from"./index-gpoC3ssJ.js";import{s as F}from"./primitives-cDJctbRp.js";import{u as $}from"./use-autosave-IhKsmyqJ.js";import"./tooltip-CO1zVhUs.js";import"./Check-Oxo5mPeL.js";import"./ChevronDown-DCZlSvzQ.js";import"./ChevronUp-BXrO8J56.js";import"./ArrowUp-OqBYOpu3.js";import"./chat-context-CZYpc7lP.js";import"./autosend-sntJRLit.js";import"./hooks-DNLn_ut2.js";import"./use-mcp-client-Csg0Ohl1.js";import"./constants-D_FQAPnt.js";import"./auth-DDOP_TUe.js";import"./decopilot-sse-pool-ByDpDqQ2.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./studio-tools-DII0jqi8.js";import"./use-virtual-mcp-6yApsgIW.js";import"./use-collections-BqfJEMNR.js";import"./use-ai-providers-DuJIHuvT.js";import"./use-decopilot-events-qGOD1WG0.js";import"./tab-id-BijBBRwE.js";import"./use-organization-settings-Dfv3IVMe.js";import"./automation-runs-ewxrJgPk.js";import"./useInfiniteQuery-CzbwdXBh.js";import"./use-infinite-scroll-DW-B2iyn.js";import"./use-connection-DM8eKjeN.js";import"./card-whir3-TU.js";import"./sidebar-C_llE2r0.js";import"./LayoutLeft-DPtsS7J4.js";import"./use-mobile-DVuyUrh-.js";import"./X-Bs0u_0yh.js";import"./table-DqN44BtI.js";import"./empty-state-LUctNkh2.js";import"./use-members-B1t5oiJJ.js";import"./use-org-auth-client-dM7W8lCQ.js";import"./use-clock-tick-BDXFn1B6.js";import"./AlertCircle-DBEuJvXd.js";import"./CheckCircle-DAvZWWWn.js";import"./Circle-DLL8alCD.js";import"./agent-icon-Xdz_mRuJ.js";import"./UserPlus01-DvdLIpOn.js";import"./Tool01-DHJpebK1.js";import"./Settings02-CJygIZBg.js";import"./Tool02-DlSNNbnL.js";import"./XCircle-DGorVz-d.js";import"./ArrowUpRight-3xkp-kWm.js";import"./TrendUp01-Lnwj2rUh.js";import"./ZapSquare-DivgtbPr.js";import"./ZoomOut-B2C9WPW-.js";import"./Users03-FhX9tiey.js";import"./ChevronRight-L_rxCnv3.js";import"./Stars02-Bs0TEaNy.js";import"./Copy01-uwiMYWRU.js";import"./DotsVertical-B0IViKUD.js";import"./Globe01-By9gtoyg.js";import"./Eye-DVo1_Pm2.js";import"./FilterLines-CAdlDh3I.js";import"./Flag01-fXAeu3l9.js";import"./Star01-CAO22TgC.js";import"./Globe04-uOyvHHk7.js";import"./SwitchHorizontal01-DqE-u_vC.js";import"./HardDrive-D38nWE_J.js";import"./Image01-B-uMMK1I.js";import"./Key01-ChBXFLCM.js";import"./LinkExternal01-C3luIiQr.js";import"./List-CgvHjjyd.js";import"./Monitor01-BbnHlrzQ.js";import"./Sun-BZaKEOLT.js";import"./Package-CJkGCd9M.js";import"./Palette-Dem2eeFJ.js";import"./Play-02R_l1hm.js";import"./Plus-D8fSfWhL.js";import"./SearchLg-BKY8fQrj.js";import"./SearchMd-Di7fRkvt.js";import"./Shield01-bU8ewL-C.js";import"./Stars01-BbGPjqZd.js";import"./Trash01-BGwW4PUs.js";import"./Upload01-DVcY511n.js";import"./User01-joygJQdk.js";import"./Users01-BVTwFHJb.js";import"./XClose-hq2LkF75.js";import"./Zap-CT4kcBoV.js";import"./use-automations-CjVm1klr.js";import"./useSuspenseInfiniteQuery-0mVVL1tH.js";import"./avatar-BumqAYVV.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-eCXRBbSs.js";import"./file-type-icon-CaoqUw2g.js";import"./dialog-hBUfi5DB.js";import"./monaco-editor-DGONpAoN.js";import"./index-vt02LGOF.js";import"./index-BUTM8e7t.js";import"./shell-layout-b2wj0DO7.js";import"./alert-dialog-CWlVUd73.js";import"./required-auth-layout-B-_kB-P-.js";import"./use-org-sso-w2vntLws.js";import"./integration-icon-CfaWXLBn.js";import"./use-navigate-to-agent-BL2c2hni.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-RJnPaDTO.js";import"./form-B8zhOVR3.js";import"./drawer-CrQJ-4Ry.js";import"./collection-search-26JlKJRJ.js";import"./tabs-DoePSWje.js";import"./toggle-group-Dbv18C0K.js";import"./use-deco-credits-C0lExqRa.js";import"./extract-connection-data-BFgBaCrk.js";import"./connection-card-ClbjHgoq.js";import"./use-registry-connections-DMVj_IUs.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./connection-form-helpers-CkjvvPa_.js";import"./authenticate-and-persist-oauth-BcKcvBur.js";import"./mcp-oauth-SHxAJnkD.js";import"./collection-tabs-CMkX9SJV.js";import"./badge-DuwyDvgL.js";import"./connect-desktop-dialog-DR3AZpl6.js";import"./select-model-BltF0usx.js";import"./checkbox-DbEZ6b_D.js";import"./skeleton-CB7DUvyX.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-CvpT3RW4.js";import"./command-BoNCgAXF.js";import"./index-Cag8mnTh.js";import"./popover-BoSjy_J9.js";import"./dropdown-menu-BDW1EJyx.js";import"./index-CWrnaczo.js";import"./toolbar-CFkubGs8.js";import"./use-debounced-value-CMoeorqx.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-CQv-RBYC.js";import"./use-mcp-tools-DF4E3rLo.js";import"./use-capability-CEIYeJxR.js";import"./use-debounced-autosave-DQFgMtID.js";import"./index-qg-bT8JA.js";import"./search-input-B0lumlG7.js";import"./use-mcp-auth-status-D-ki6Fzr.js";import"./switch-DW7tjnTv.js";import"./github-repo-picker-D93GRlsF.js";import"./provision-repo-scoped-github-connection-CB4ICKHq.js";import"./use-secrets-j8nq_pg4.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./companions-core-C3l18hJe.js";import"./index-F-ZMCKP-.js";import"./get-initials-D-f_fDFw.js";import"./calendar-Dpt7QB2d.js";import"./toolbar-icon-button-B2gRcy3Z.js";import"./use-file-configs-Nmeyll7B.js";import"./automation-list-row-CWbyvM3t.js";const q={authors:[{key:"name",label:"Name",widget:"text"},{key:"type",label:"Type",widget:"select",options:[{value:"Person",label:"Person"},{value:"Organization",label:"Organization"}]},{key:"email",label:"Email",widget:"text",placeholder:"author@example.com"},{key:"jobTitle",label:"Job title",widget:"text"},{key:"company",label:"Company",widget:"text"},{key:"avatar",label:"Avatar",widget:"image"}]},G={authors:"Author"};function $o(g){const t=C.c(34),{orgSlug:j,virtualMcpId:w,branch:S,kind:e,blockKey:h,block:E}=g;let y;t[0]!==S||t[1]!==j||t[2]!==w?(y={orgSlug:j,virtualMcpId:w,branch:S},t[0]=S,t[1]=j,t[2]=w,t[3]=y):y=t[3];const m=D(y);let d;t[4]!==E||t[5]!==e?(d=J(E,e),t[4]=E,t[5]=e,t[6]=d):d=t[6];const f=d;let k;t[7]!==h||t[8]!==e||t[9]!==m?(k=a=>{m.mutate({blockKey:h,data:M(h,e,a)})},t[7]=h,t[8]=e,t[9]=m,t[10]=k):k=t[10];const[i,N]=$(f,k);let b;t[11]!==i||t[12]!==N?(b=(a,r)=>N({...i,[a]:r}),t[11]=i,t[12]=N,t[13]=b):b=t[13];const p=b,I=G[e];let l;t[14]!==I?(l=o.jsx("span",{className:"text-sm font-medium",children:I}),t[14]=I,t[15]=l):l=t[15];let n;t[16]!==m.isError||t[17]!==m.isPending?(n=o.jsx(K,{isPending:m.isPending,isError:m.isError}),t[16]=m.isError,t[17]=m.isPending,t[18]=n):n=t[18];let c;t[19]!==l||t[20]!==n?(c=o.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between border-b px-6",children:[l,n]}),t[19]=l,t[20]=n,t[21]=c):c=t[21];const P=q[e];let u;if(t[22]!==i||t[23]!==p||t[24]!==P){let a;t[26]!==i||t[27]!==p?(a=r=>o.jsx("div",{className:"space-y-2",children:r.widget==="image"?o.jsx(_,{schema:{type:"string",format:"image-uri",title:r.label},value:i[r.key],onChange:s=>p(r.key,s),path:r.key,label:r.label}):r.widget==="select"?o.jsxs(o.Fragment,{children:[o.jsx(T,{htmlFor:r.key,children:r.label}),o.jsxs(L,{value:F(i[r.key])||r.options?.[0]?.value,onValueChange:s=>p(r.key,s),children:[o.jsx(A,{id:r.key,className:"h-10 w-full",children:o.jsx(R,{placeholder:r.label})}),o.jsx(z,{children:(r.options??[]).map(H)})]})]}):o.jsxs(o.Fragment,{children:[o.jsx(T,{htmlFor:r.key,children:r.label}),r.widget==="textarea"?o.jsx(V,{id:r.key,value:F(i[r.key]),onChange:s=>p(r.key,s.target.value),rows:3}):o.jsx(B,{id:r.key,value:F(i[r.key]),placeholder:r.placeholder,onChange:s=>p(r.key,s.target.value),className:"h-10"})]})},r.key),t[26]=i,t[27]=p,t[28]=a):a=t[28],u=P.map(a),t[22]=i,t[23]=p,t[24]=P,t[25]=u}else u=t[25];let x;t[29]!==u?(x=o.jsx("div",{className:"min-w-0 flex-1 overflow-y-auto px-6 py-6",children:o.jsx("div",{className:"mx-auto max-w-xl space-y-6",children:u})}),t[29]=u,t[30]=x):x=t[30];let v;return t[31]!==x||t[32]!==c?(v=o.jsxs("div",{className:"flex h-full flex-col",children:[c,x]}),t[31]=x,t[32]=c,t[33]=v):v=t[33],v}function H(g){return o.jsx(O,{value:g.value,children:g.label},g.value)}export{$o as RecordEditor};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as X,j as t}from"./index-DGQdC8j6.js";import{C as Y}from"./checkbox-DbEZ6b_D.js";import{I as K}from"./input-DwWe5Hqk.js";import{L as q}from"./label-DdsuSm6M.js";import{c as z,S as G,d as H,a as J,b as Z}from"./select-vVirKMnE.js";import{k as ee,aV as te,o as re,aW as M,aX as ie}from"./index-gpoC3ssJ.js";import{u as oe}from"./use-autosave-IhKsmyqJ.js";import"./Check-Oxo5mPeL.js";import"./tooltip-CO1zVhUs.js";import"./ChevronDown-DCZlSvzQ.js";import"./ChevronUp-BXrO8J56.js";import"./ArrowUp-OqBYOpu3.js";import"./chat-context-CZYpc7lP.js";import"./autosend-sntJRLit.js";import"./hooks-DNLn_ut2.js";import"./use-mcp-client-Csg0Ohl1.js";import"./constants-D_FQAPnt.js";import"./auth-DDOP_TUe.js";import"./decopilot-sse-pool-ByDpDqQ2.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./studio-tools-DII0jqi8.js";import"./use-virtual-mcp-6yApsgIW.js";import"./use-collections-BqfJEMNR.js";import"./use-ai-providers-DuJIHuvT.js";import"./use-decopilot-events-qGOD1WG0.js";import"./tab-id-BijBBRwE.js";import"./use-organization-settings-Dfv3IVMe.js";import"./automation-runs-ewxrJgPk.js";import"./useInfiniteQuery-CzbwdXBh.js";import"./use-infinite-scroll-DW-B2iyn.js";import"./use-connection-DM8eKjeN.js";import"./card-whir3-TU.js";import"./sidebar-C_llE2r0.js";import"./LayoutLeft-DPtsS7J4.js";import"./use-mobile-DVuyUrh-.js";import"./X-Bs0u_0yh.js";import"./table-DqN44BtI.js";import"./empty-state-LUctNkh2.js";import"./use-members-B1t5oiJJ.js";import"./use-org-auth-client-dM7W8lCQ.js";import"./use-clock-tick-BDXFn1B6.js";import"./AlertCircle-DBEuJvXd.js";import"./CheckCircle-DAvZWWWn.js";import"./Circle-DLL8alCD.js";import"./agent-icon-Xdz_mRuJ.js";import"./UserPlus01-DvdLIpOn.js";import"./Tool01-DHJpebK1.js";import"./Settings02-CJygIZBg.js";import"./Tool02-DlSNNbnL.js";import"./XCircle-DGorVz-d.js";import"./ArrowUpRight-3xkp-kWm.js";import"./TrendUp01-Lnwj2rUh.js";import"./ZapSquare-DivgtbPr.js";import"./ZoomOut-B2C9WPW-.js";import"./Users03-FhX9tiey.js";import"./ChevronRight-L_rxCnv3.js";import"./Stars02-Bs0TEaNy.js";import"./Copy01-uwiMYWRU.js";import"./DotsVertical-B0IViKUD.js";import"./Globe01-By9gtoyg.js";import"./Eye-DVo1_Pm2.js";import"./FilterLines-CAdlDh3I.js";import"./Flag01-fXAeu3l9.js";import"./Star01-CAO22TgC.js";import"./Globe04-uOyvHHk7.js";import"./SwitchHorizontal01-DqE-u_vC.js";import"./HardDrive-D38nWE_J.js";import"./Image01-B-uMMK1I.js";import"./Key01-ChBXFLCM.js";import"./LinkExternal01-C3luIiQr.js";import"./List-CgvHjjyd.js";import"./Monitor01-BbnHlrzQ.js";import"./Sun-BZaKEOLT.js";import"./Package-CJkGCd9M.js";import"./Palette-Dem2eeFJ.js";import"./Play-02R_l1hm.js";import"./Plus-D8fSfWhL.js";import"./SearchLg-BKY8fQrj.js";import"./SearchMd-Di7fRkvt.js";import"./Shield01-bU8ewL-C.js";import"./Stars01-BbGPjqZd.js";import"./Trash01-BGwW4PUs.js";import"./Upload01-DVcY511n.js";import"./User01-joygJQdk.js";import"./Users01-BVTwFHJb.js";import"./XClose-hq2LkF75.js";import"./Zap-CT4kcBoV.js";import"./use-automations-CjVm1klr.js";import"./useSuspenseInfiniteQuery-0mVVL1tH.js";import"./avatar-BumqAYVV.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-eCXRBbSs.js";import"./file-type-icon-CaoqUw2g.js";import"./dialog-hBUfi5DB.js";import"./monaco-editor-DGONpAoN.js";import"./index-vt02LGOF.js";import"./index-BUTM8e7t.js";import"./shell-layout-b2wj0DO7.js";import"./alert-dialog-CWlVUd73.js";import"./required-auth-layout-B-_kB-P-.js";import"./use-org-sso-w2vntLws.js";import"./integration-icon-CfaWXLBn.js";import"./use-navigate-to-agent-BL2c2hni.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-RJnPaDTO.js";import"./form-B8zhOVR3.js";import"./drawer-CrQJ-4Ry.js";import"./collection-search-26JlKJRJ.js";import"./tabs-DoePSWje.js";import"./toggle-group-Dbv18C0K.js";import"./use-deco-credits-C0lExqRa.js";import"./extract-connection-data-BFgBaCrk.js";import"./connection-card-ClbjHgoq.js";import"./use-registry-connections-DMVj_IUs.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./textarea-BH3kgWLk.js";import"./connection-form-helpers-CkjvvPa_.js";import"./authenticate-and-persist-oauth-BcKcvBur.js";import"./mcp-oauth-SHxAJnkD.js";import"./collection-tabs-CMkX9SJV.js";import"./badge-DuwyDvgL.js";import"./connect-desktop-dialog-DR3AZpl6.js";import"./select-model-BltF0usx.js";import"./skeleton-CB7DUvyX.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-CvpT3RW4.js";import"./command-BoNCgAXF.js";import"./index-Cag8mnTh.js";import"./popover-BoSjy_J9.js";import"./dropdown-menu-BDW1EJyx.js";import"./index-CWrnaczo.js";import"./toolbar-CFkubGs8.js";import"./use-debounced-value-CMoeorqx.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-CQv-RBYC.js";import"./use-mcp-tools-DF4E3rLo.js";import"./use-capability-CEIYeJxR.js";import"./use-debounced-autosave-DQFgMtID.js";import"./index-qg-bT8JA.js";import"./search-input-B0lumlG7.js";import"./use-mcp-auth-status-D-ki6Fzr.js";import"./switch-DW7tjnTv.js";import"./github-repo-picker-D93GRlsF.js";import"./provision-repo-scoped-github-connection-CB4ICKHq.js";import"./use-secrets-j8nq_pg4.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./companions-core-C3l18hJe.js";import"./index-F-ZMCKP-.js";import"./get-initials-D-f_fDFw.js";import"./calendar-Dpt7QB2d.js";import"./toolbar-icon-button-B2gRcy3Z.js";import"./use-file-configs-Nmeyll7B.js";import"./automation-list-row-CWbyvM3t.js";const me=[{value:"temporary",label:`Temporary (${M.temporary})`},{value:"permanent",label:`Permanent (${M.permanent})`}];function ti(S){const e=X.c(62),{orgSlug:V,virtualMcpId:$,branch:A,blockKey:B,block:D}=S;let _;e[0]!==A||e[1]!==V||e[2]!==$?(_={orgSlug:V,virtualMcpId:$,branch:A},e[0]=A,e[1]=V,e[2]=$,e[3]=_):_=e[3];const m=ee(_);let g;e[4]!==D?(g=te(D),e[4]=D,e[5]=g):g=e[5];const W=g;let v;e[6]!==B||e[7]!==m?(v=o=>{m.mutate({blockKey:B,data:ie(o)})},e[6]=B,e[7]=m,e[8]=v):v=e[8];const[r,O]=oe(W,v);let N;e[9]!==r||e[10]!==O?(N=o=>O({...r,...o}),e[9]=r,e[10]=O,e[11]=N):N=e[11];const i=N;let P;e[12]===Symbol.for("react.memo_cache_sentinel")?(P=t.jsx("span",{className:"text-sm font-medium",children:"Redirect"}),e[12]=P):P=e[12];let p;e[13]!==m.isError||e[14]!==m.isPending?(p=t.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between border-b px-6",children:[P,t.jsx(re,{isPending:m.isPending,isError:m.isError})]}),e[13]=m.isError,e[14]=m.isPending,e[15]=p):p=e[15];let T;e[16]===Symbol.for("react.memo_cache_sentinel")?(T=t.jsx(q,{htmlFor:"redirect-from",children:"From"}),e[16]=T):T=e[16];let s;e[17]!==i?(s=o=>i({from:o.target.value}),e[17]=i,e[18]=s):s=e[18];let l;e[19]!==r.from||e[20]!==s?(l=t.jsx(K,{id:"redirect-from",value:r.from,placeholder:"/old-path",onChange:s,className:"h-10"}),e[19]=r.from,e[20]=s,e[21]=l):l=e[21];let E;e[22]===Symbol.for("react.memo_cache_sentinel")?(E=t.jsxs("p",{className:"text-xs text-muted-foreground",children:["The source path to match. Supports URLPattern syntax (e.g."," ",t.jsx("code",{children:"/product/:slug"}),")."]}),e[22]=E):E=e[22];let a;e[23]!==l?(a=t.jsxs("div",{className:"space-y-2",children:[T,l,E]}),e[23]=l,e[24]=a):a=e[24];let R;e[25]===Symbol.for("react.memo_cache_sentinel")?(R=t.jsx(q,{htmlFor:"redirect-to",children:"To"}),e[25]=R):R=e[25];let c;e[26]!==i?(c=o=>i({to:o.target.value}),e[26]=i,e[27]=c):c=e[27];let n;e[28]!==r.to||e[29]!==c?(n=t.jsx(K,{id:"redirect-to",value:r.to,placeholder:"/new-path",onChange:c,className:"h-10"}),e[28]=r.to,e[29]=c,e[30]=n):n=e[30];let k;e[31]===Symbol.for("react.memo_cache_sentinel")?(k=t.jsx("p",{className:"text-xs text-muted-foreground",children:"The destination — a relative path or an absolute URL."}),e[31]=k):k=e[31];let d;e[32]!==n?(d=t.jsxs("div",{className:"space-y-2",children:[R,n,k]}),e[32]=n,e[33]=d):d=e[33];let C;e[34]===Symbol.for("react.memo_cache_sentinel")?(C=t.jsx(q,{htmlFor:"redirect-type",children:"Type"}),e[34]=C):C=e[34];let f;e[35]!==i?(f=o=>i({type:o}),e[35]=i,e[36]=f):f=e[36];let w;e[37]===Symbol.for("react.memo_cache_sentinel")?(w=t.jsx(J,{id:"redirect-type",className:"h-10 w-full",children:t.jsx(Z,{placeholder:"Type"})}),e[37]=w):w=e[37];let I;e[38]===Symbol.for("react.memo_cache_sentinel")?(I=t.jsx(z,{children:me.map(pe)}),e[38]=I):I=e[38];let h;e[39]!==r.type||e[40]!==f?(h=t.jsxs(G,{value:r.type,onValueChange:f,children:[w,I]}),e[39]=r.type,e[40]=f,e[41]=h):h=e[41];let F;e[42]===Symbol.for("react.memo_cache_sentinel")?(F=t.jsx("strong",{children:"Temporary"}),e[42]=F):F=e[42];let L;e[43]===Symbol.for("react.memo_cache_sentinel")?(L=t.jsxs("p",{className:"text-xs text-muted-foreground",children:["Use ",F," when the redirect may change;"," ",t.jsx("strong",{children:"Permanent"})," lets browsers cache it."]}),e[43]=L):L=e[43];let x;e[44]!==h?(x=t.jsxs("div",{className:"space-y-2",children:[C,h,L]}),e[44]=h,e[45]=x):x=e[45];let u;e[46]!==i?(u=o=>i({discardQueryParameters:o===!0}),e[46]=i,e[47]=u):u=e[47];let y;e[48]!==r.discardQueryParameters||e[49]!==u?(y=t.jsx(Y,{checked:r.discardQueryParameters,onCheckedChange:u}),e[48]=r.discardQueryParameters,e[49]=u,e[50]=y):y=e[50];let Q;e[51]===Symbol.for("react.memo_cache_sentinel")?(Q=t.jsx("span",{className:"text-sm",children:"Discard query parameters"}),e[51]=Q):Q=e[51];let j;e[52]!==y?(j=t.jsxs("label",{className:"flex cursor-pointer items-center gap-2.5",children:[y,Q]}),e[52]=y,e[53]=j):j=e[53];let b;e[54]!==a||e[55]!==d||e[56]!==x||e[57]!==j?(b=t.jsx("div",{className:"min-w-0 flex-1 overflow-y-auto px-6 py-6",children:t.jsxs("div",{className:"mx-auto max-w-xl space-y-6",children:[a,d,x,j]})}),e[54]=a,e[55]=d,e[56]=x,e[57]=j,e[58]=b):b=e[58];let U;return e[59]!==b||e[60]!==p?(U=t.jsxs("div",{className:"flex h-full flex-col",children:[p,b]}),e[59]=b,e[60]=p,e[61]=U):U=e[61],U}function pe(S){return t.jsx(H,{value:S.value,children:S.label},S.value)}export{ti as RedirectEditor};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-BTDmQem2.js","assets/index-DGQdC8j6.js","assets/index-C_g6ujo2.css","assets/Tool02-DlSNNbnL.js","assets/CheckCircle-DAvZWWWn.js","assets/Settings02-CJygIZBg.js","assets/use-mcp-client-Csg0Ohl1.js","assets/constants-D_FQAPnt.js","assets/auth-DDOP_TUe.js","assets/useInfiniteQuery-CzbwdXBh.js","assets/use-infinite-scroll-DW-B2iyn.js","assets/studio-tools-DII0jqi8.js","assets/badge-DuwyDvgL.js","assets/input-DwWe5Hqk.js","assets/dropdown-menu-BDW1EJyx.js","assets/Check-Oxo5mPeL.js","assets/ChevronRight-L_rxCnv3.js","assets/Circle-DLL8alCD.js","assets/table-DqN44BtI.js","assets/toggle-group-Dbv18C0K.js","assets/use-view-mode-DJr2m2Jz.js","assets/use-mobile-DVuyUrh-.js","assets/DotsVertical-B0IViKUD.js","assets/FilterLines-CAdlDh3I.js","assets/Globe01-By9gtoyg.js","assets/SearchMd-Di7fRkvt.js","assets/dialog-hBUfi5DB.js","assets/X-Bs0u_0yh.js","assets/AlertCircle-DBEuJvXd.js","assets/Upload01-DVcY511n.js","assets/alert-dialog-CWlVUd73.js","assets/card-whir3-TU.js","assets/Trash01-BGwW4PUs.js","assets/label-DdsuSm6M.js","assets/select-vVirKMnE.js","assets/tooltip-CO1zVhUs.js","assets/ChevronDown-DCZlSvzQ.js","assets/ChevronUp-BXrO8J56.js","assets/switch-DW7tjnTv.js","assets/textarea-BH3kgWLk.js","assets/XCircle-DGorVz-d.js","assets/checkbox-DbEZ6b_D.js","assets/Eye-DVo1_Pm2.js","assets/LinkExternal01-C3luIiQr.js","assets/use-copy-eCXRBbSs.js","assets/Copy01-uwiMYWRU.js","assets/Key01-ChBXFLCM.js","assets/Plus-D8fSfWhL.js","assets/mcp-oauth-SHxAJnkD.js","assets/Play-02R_l1hm.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{c as s,j as e,r as i,i as a,aX as o}from"./index-DGQdC8j6.js";import{R as m}from"./require-capability--U_vi60H.js";import"./use-capability-CEIYeJxR.js";import"./access-gate-B4pZWmwl.js";import"./capability-load-error-CVQ-0IvS.js";const n=i.lazy(()=>o(()=>import("./registry-layout-BTDmQem2.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49])));function f(){const r=s.c(1);let t;return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=e.jsx(m,{capability:"registry:manage",area:"the registry",children:e.jsx(i.Suspense,{fallback:e.jsx("div",{className:"flex-1 flex items-center justify-center",children:e.jsx(a,{size:20,className:"animate-spin text-muted-foreground"})}),children:e.jsx(n,{})})}),r[0]=t):t=r[0],t}export{f as default};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-BTDmQem2.js","assets/index-DGQdC8j6.js","assets/index-C_g6ujo2.css","assets/Tool02-DlSNNbnL.js","assets/CheckCircle-DAvZWWWn.js","assets/Settings02-CJygIZBg.js","assets/use-mcp-client-Csg0Ohl1.js","assets/constants-D_FQAPnt.js","assets/auth-DDOP_TUe.js","assets/useInfiniteQuery-CzbwdXBh.js","assets/use-infinite-scroll-DW-B2iyn.js","assets/studio-tools-DII0jqi8.js","assets/badge-DuwyDvgL.js","assets/input-DwWe5Hqk.js","assets/dropdown-menu-BDW1EJyx.js","assets/Check-Oxo5mPeL.js","assets/ChevronRight-L_rxCnv3.js","assets/Circle-DLL8alCD.js","assets/table-DqN44BtI.js","assets/toggle-group-Dbv18C0K.js","assets/use-view-mode-DJr2m2Jz.js","assets/use-mobile-DVuyUrh-.js","assets/DotsVertical-B0IViKUD.js","assets/FilterLines-CAdlDh3I.js","assets/Globe01-By9gtoyg.js","assets/SearchMd-Di7fRkvt.js","assets/dialog-hBUfi5DB.js","assets/X-Bs0u_0yh.js","assets/AlertCircle-DBEuJvXd.js","assets/Upload01-DVcY511n.js","assets/alert-dialog-CWlVUd73.js","assets/card-whir3-TU.js","assets/Trash01-BGwW4PUs.js","assets/label-DdsuSm6M.js","assets/select-vVirKMnE.js","assets/tooltip-CO1zVhUs.js","assets/ChevronDown-DCZlSvzQ.js","assets/ChevronUp-BXrO8J56.js","assets/switch-DW7tjnTv.js","assets/textarea-BH3kgWLk.js","assets/XCircle-DGorVz-d.js","assets/checkbox-DbEZ6b_D.js","assets/Eye-DVo1_Pm2.js","assets/LinkExternal01-C3luIiQr.js","assets/use-copy-eCXRBbSs.js","assets/Copy01-uwiMYWRU.js","assets/Key01-ChBXFLCM.js","assets/Plus-D8fSfWhL.js","assets/mcp-oauth-SHxAJnkD.js","assets/Play-02R_l1hm.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{c as m,b as n,e as c,j as t,i as p,r as l,aX as f}from"./index-DGQdC8j6.js";import{R as u}from"./require-capability--U_vi60H.js";import"./use-capability-CEIYeJxR.js";import"./access-gate-B4pZWmwl.js";import"./capability-load-error-CVQ-0IvS.js";const g=l.lazy(()=>f(()=>import("./registry-layout-BTDmQem2.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49])));function j(){const e=m.c(5),i=n();let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s={from:"/shell/$org"},e[0]=s):s=e[0];const{org:o}=c(s);let r;e[1]===Symbol.for("react.memo_cache_sentinel")?(r=t.jsx("div",{className:"h-full flex items-center justify-center",children:t.jsx(p,{size:20,className:"animate-spin text-muted-foreground"})}),e[1]=r):r=e[1];let a;return e[2]!==i||e[3]!==o?(a=t.jsx(u,{capability:"registry:manage",area:"the registry",children:t.jsx(l.Suspense,{fallback:r,children:t.jsx(g,{onBack:()=>i({to:"/$org/settings/store",params:{org:o}})})})}),e[2]=i,e[3]=o,e[4]=a):a=e[4],a}export{j as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as u}from"./use-infinite-scroll-DW-B2iyn.js";import{dK as i}from"./index-DGQdC8j6.js";function t(e,r){return i(e,u,r)}export{t as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as s}from"./use-infinite-scroll-DW-B2iyn.js";import{dK as u,ab as n}from"./index-DGQdC8j6.js";function a(r,e){return u({...r,enabled:!0,suspense:!0,throwOnError:n},s,e)}export{a as u};
|