decocms 4.77.0 → 4.77.2
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-C20hgcIa.js → AlertCircle-eG6Gc49G.js} +1 -1
- package/dist/client/assets/{AreaChart-BLkij4VQ.js → AreaChart-CdRNAaTW.js} +1 -1
- package/dist/client/assets/{ArrowUp-Dgvo3A_2.js → ArrowUp-CdLsMjki.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-XVwZt1n6.js → ArrowUpRight-O8BszRRp.js} +1 -1
- package/dist/client/assets/{Check-Cc6Bc1BH.js → Check-CYLXae3M.js} +1 -1
- package/dist/client/assets/{CheckCircle-BQl0d83F.js → CheckCircle-tljwuhuM.js} +1 -1
- package/dist/client/assets/{ChevronDown-V6fE1Rcs.js → ChevronDown-Ce0JNwG8.js} +1 -1
- package/dist/client/assets/{ChevronRight-B33Mu5AL.js → ChevronRight-Bf6_HJan.js} +1 -1
- package/dist/client/assets/{ChevronUp-DK7M0E86.js → ChevronUp-Cflkeqqz.js} +1 -1
- package/dist/client/assets/{Circle-DJp0izOj.js → Circle-DzHZa-kj.js} +1 -1
- package/dist/client/assets/{Copy01-CfdaTbye.js → Copy01-Du_M_0KX.js} +1 -1
- package/dist/client/assets/{DotsVertical-NR-zMtTO.js → DotsVertical-xFAtxH3A.js} +1 -1
- package/dist/client/assets/{Eye-C9dnkVdp.js → Eye-D-54suMo.js} +1 -1
- package/dist/client/assets/{FilterLines-Ni7Zxtnw.js → FilterLines-BgdIIHnR.js} +1 -1
- package/dist/client/assets/{Flag01-DDojZ3BD.js → Flag01-ugYNIxEK.js} +1 -1
- package/dist/client/assets/{Globe01-ipTZJBPr.js → Globe01-UO2cBICu.js} +1 -1
- package/dist/client/assets/{Globe04-DOYzTQsa.js → Globe04-DzUT07Cn.js} +1 -1
- package/dist/client/assets/{HardDrive-DdAwxeh0.js → HardDrive-bE1MoLDy.js} +1 -1
- package/dist/client/assets/{Image01-C5JUp_rj.js → Image01-DKb2muBn.js} +1 -1
- package/dist/client/assets/{Key01-Dibq8qSI.js → Key01-Cq-J9mZo.js} +1 -1
- package/dist/client/assets/{LayoutLeft-DgY7TPq-.js → LayoutLeft-B5__5XBq.js} +1 -1
- package/dist/client/assets/{LinkExternal01-vfCmrlzd.js → LinkExternal01-BvGijEfo.js} +1 -1
- package/dist/client/assets/{List-G0g6UpdC.js → List-CIEQZx9S.js} +1 -1
- package/dist/client/assets/{Monitor01-DZP8UHev.js → Monitor01-C1p3z_f5.js} +1 -1
- package/dist/client/assets/{Package-B3D3XCt6.js → Package-BjwszD_f.js} +1 -1
- package/dist/client/assets/{Palette-NkhqFqPA.js → Palette-B-oF6tIa.js} +1 -1
- package/dist/client/assets/{Play-DetNEZKa.js → Play-D-YRWYQr.js} +1 -1
- package/dist/client/assets/{Plus-DRIYyF1Y.js → Plus-CizB5jQt.js} +1 -1
- package/dist/client/assets/{SearchLg-CLYFawei.js → SearchLg-CiDD8qnw.js} +1 -1
- package/dist/client/assets/{SearchMd-CpXRgEf5.js → SearchMd-CcQf_5lB.js} +1 -1
- package/dist/client/assets/{Settings02-DSnlYNiR.js → Settings02-CGoVxrYE.js} +1 -1
- package/dist/client/assets/{Shield01-CrEWV3nm.js → Shield01-nfrTF4Mw.js} +1 -1
- package/dist/client/assets/{Star01-CYWP-Lnz.js → Star01-BVrjnnC8.js} +1 -1
- package/dist/client/assets/{Stars01-SzQSCq9i.js → Stars01-DSPE0_0T.js} +1 -1
- package/dist/client/assets/{Stars02-DKDrJcrE.js → Stars02-C0mePgbQ.js} +1 -1
- package/dist/client/assets/{Sun-CST17A49.js → Sun-3gpGRkKw.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-Bd1BMwMz.js → SwitchHorizontal01-BoKJqR3a.js} +1 -1
- package/dist/client/assets/{Tool01-CkczSZ03.js → Tool01-Bm90mZCD.js} +1 -1
- package/dist/client/assets/{Tool02-Zqz-7k3v.js → Tool02-daiZ8ZdA.js} +1 -1
- package/dist/client/assets/{Trash01-DAbM_CFW.js → Trash01-oe1NMhcg.js} +1 -1
- package/dist/client/assets/{TrendUp01-CHGxH9cm.js → TrendUp01-DvuM4A6y.js} +1 -1
- package/dist/client/assets/{Upload01-BkxnL7Jx.js → Upload01-BXr1BH_I.js} +1 -1
- package/dist/client/assets/{User01-pcBROZrv.js → User01-C7ZuARbC.js} +1 -1
- package/dist/client/assets/{UserPlus01-1O7ZAmZ0.js → UserPlus01-C0VtXGyN.js} +1 -1
- package/dist/client/assets/{Users01-B1Tq7qDs.js → Users01-DZyUR8Yh.js} +1 -1
- package/dist/client/assets/{Users03-DKog3mgS.js → Users03-CHK21j2b.js} +1 -1
- package/dist/client/assets/{X-DJyihanE.js → X-B6u4BYeS.js} +1 -1
- package/dist/client/assets/{XCircle-DengJiq7.js → XCircle-DGI9dgcJ.js} +1 -1
- package/dist/client/assets/{XClose-DgANt_GW.js → XClose-lZsBUygk.js} +1 -1
- package/dist/client/assets/{Zap-C0jj00w3.js → Zap-CMeneH21.js} +1 -1
- package/dist/client/assets/{ZapSquare-C-4KrsmI.js → ZapSquare-B3ibL8nl.js} +1 -1
- package/dist/client/assets/{ZoomOut-bo1qpk84.js → ZoomOut-CKfihzl3.js} +1 -1
- package/dist/client/assets/{access-gate-BQIbgyFa.js → access-gate-BKjE-W72.js} +1 -1
- package/dist/client/assets/{add-section-modal-4-ipNujs.js → add-section-modal-9hA4zHWa.js} +1 -1
- package/dist/client/assets/{agent-icon-B9wxYfT7.js → agent-icon-B1DcT15_.js} +1 -1
- package/dist/client/assets/{agents-list-DIWmKNv5.js → agents-list-Df8i4rGT.js} +1 -1
- package/dist/client/assets/{ai-providers-CWRcPqEG.js → ai-providers-DEZ-doQX.js} +1 -1
- package/dist/client/assets/{alert-pxYZf_gO.js → alert-CKkliWEi.js} +1 -1
- package/dist/client/assets/{alert-dialog-B4j05xqZ.js → alert-dialog-BHYtfpRM.js} +1 -1
- package/dist/client/assets/{app-editor-BzNNF0tV.js → app-editor-Dymjomoi.js} +1 -1
- package/dist/client/assets/{auth-B1cxztc2.js → auth-BbW7SMY9.js} +1 -1
- package/dist/client/assets/{auth-catchall-C3gRJwnb.js → auth-catchall-DXOIAmHy.js} +1 -1
- package/dist/client/assets/{auth-entry-WseoTsfP.js → auth-entry-Hxc9SX52.js} +1 -1
- package/dist/client/assets/{auth-split-layout-BRGfXuGe.js → auth-split-layout-Dfl544OM.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-BOen-Ru1.js → authenticate-and-persist-oauth-SPitL5yD.js} +1 -1
- package/dist/client/assets/{automation-list-row-CYxluwXx.js → automation-list-row-Dn4IsiQT.js} +1 -1
- package/dist/client/assets/{automation-runs-DOvodEH6.js → automation-runs-BvQ_NpzR.js} +1 -1
- package/dist/client/assets/automations-Qkqzours.js +1 -0
- package/dist/client/assets/{autosend-CwtKb6-i.js → autosend-qdJpe4iq.js} +1 -1
- package/dist/client/assets/{avatar-Bx5rROx7.js → avatar-DMDa5Fmk.js} +1 -1
- package/dist/client/assets/{badge-CqESM08z.js → badge-DGFRrczB.js} +1 -1
- package/dist/client/assets/{block-document-D0e8Q950.js → block-document-DU-yWhvh.js} +1 -1
- package/dist/client/assets/{brand-context-Zg6h8I3y.js → brand-context-B0F8ndWt.js} +1 -1
- package/dist/client/assets/{buckets-BagwF38l.js → buckets-Bz1zL6p_.js} +1 -1
- package/dist/client/assets/{bulk-category-panel-BX9JWu67.js → bulk-category-panel-CrkZD2hX.js} +1 -1
- package/dist/client/assets/{calendar-B-LTbMEy.js → calendar-BmG3lShW.js} +1 -1
- package/dist/client/assets/{capability-load-error-a0S1shMb.js → capability-load-error-DjfRZU4K.js} +1 -1
- package/dist/client/assets/{card-CdFmFmUv.js → card-B2cV3vAA.js} +1 -1
- package/dist/client/assets/{category-editor-COEcq-_u.js → category-editor-BPpEoMdX.js} +1 -1
- package/dist/client/assets/{chat-context-BxoSxASA.js → chat-context-D0hwm5HT.js} +1 -1
- package/dist/client/assets/{checkbox-D4_5XFQQ.js → checkbox-n-zGS588.js} +1 -1
- package/dist/client/assets/{cli-auth-success-DQvPoLam.js → cli-auth-success-Cpw6906n.js} +1 -1
- package/dist/client/assets/{collection-detail-Ba8slFLs.js → collection-detail-CoKiA3iG.js} +1 -1
- package/dist/client/assets/{collection-display-button-CQSfq2Ru.js → collection-display-button-Dd5IEnXv.js} +1 -1
- package/dist/client/assets/{collection-search-AHmPijP6.js → collection-search-1EZ5z6Vc.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-3oZtiuFs.js → collection-table-wrapper-CWw6WTgV.js} +1 -1
- package/dist/client/assets/{collection-tabs-DpJVutqE.js → collection-tabs-G10EJ6rD.js} +1 -1
- package/dist/client/assets/{command-D25pX-TQ.js → command-Bijkf_mr.js} +1 -1
- package/dist/client/assets/{commerce-onboarding-CcxjVyA-.js → commerce-onboarding-yv2iV0vu.js} +1 -1
- package/dist/client/assets/{companions-core-BOqZjnai.js → companions-core-D65XjKFb.js} +1 -1
- package/dist/client/assets/{connect-desktop-dialog-DhqJPsaP.js → connect-desktop-dialog-Cl6dLVAA.js} +1 -1
- package/dist/client/assets/{connection-card-DL84VWzp.js → connection-card--smrdlwg.js} +1 -1
- package/dist/client/assets/{connection-detail-BoeLB_bZ.js → connection-detail-sQv6wR_D.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-Xnvqs_jG.js → connection-form-helpers-Det9xziz.js} +1 -1
- package/dist/client/assets/{connections-B_sR21M3.js → connections-b4dKpHip.js} +1 -1
- package/dist/client/assets/{decopilot-sse-pool-BMqhIP22.js → decopilot-sse-pool-DDyGdbf8.js} +1 -1
- package/dist/client/assets/{dialog-BMJEsVXy.js → dialog-7JXjpLzj.js} +1 -1
- package/dist/client/assets/{domain-settings-iLQ-2ZPH.js → domain-settings-9SDv1Gy2.js} +1 -1
- package/dist/client/assets/{drawer-CoDBoPdX.js → drawer-975r1xgz.js} +1 -1
- package/dist/client/assets/{dropdown-menu-CEae6v-M.js → dropdown-menu-CfwadO2Z.js} +1 -1
- package/dist/client/assets/{empty-state-BAtX1PrG.js → empty-state-C2pMk4Io.js} +1 -1
- package/dist/client/assets/{extract-connection-data-CfvL8nD3.js → extract-connection-data-xHncf4eT.js} +1 -1
- package/dist/client/assets/{file-explorer-BenWKc2R.js → file-explorer-C1XUdiUA.js} +1 -1
- package/dist/client/assets/{file-type-icon-13wssv9j.js → file-type-icon-C9w5Ssef.js} +1 -1
- package/dist/client/assets/{files-BBzXEqRR.js → files-DmBu13F5.js} +1 -1
- package/dist/client/assets/{form-Ch5mL-Ts.js → form-CoMC4z4E.js} +1 -1
- package/dist/client/assets/{general-s8pItm6T.js → general-BZsnVBNU.js} +1 -1
- package/dist/client/assets/{github-repo-picker-B8inDg0_.js → github-repo-picker-CD1HFBLK.js} +1 -1
- package/dist/client/assets/{hooks-DbvQQuDU.js → hooks-ChQF06R2.js} +1 -1
- package/dist/client/assets/{index-BsVCLoZh.js → index-B421HVEM.js} +1 -1
- package/dist/client/assets/{index-oC-h32gK.js → index-C6ZXBMKy.js} +1 -1
- package/dist/client/assets/{index-28VlSj3_.js → index-CEvMb-yW.js} +1 -1
- package/dist/client/assets/index-CTi2LrxD.js +8 -0
- package/dist/client/assets/{index-BMGkibta.js → index-CVhE6SCR.js} +1 -1
- package/dist/client/assets/{index-BSL1z35x.js → index-C_fGiia9.js} +5 -5
- package/dist/client/assets/{index-D-9It9O8.js → index-CohYEXUC.js} +3 -3
- package/dist/client/assets/{index-aI9W7bgN.js → index-CqeCI00R.js} +1 -1
- package/dist/client/assets/{index-BST567fc.js → index-DAFuG1kQ.js} +1 -1
- package/dist/client/assets/{index-Cdqw-lyd.js → index-O25bDoG2.js} +1 -1
- package/dist/client/assets/{index-CsVxM7TL.js → index-UpQsgScZ.js} +1 -1
- package/dist/client/assets/{index-D3YyZBEV.js → index-cJm4RNKA.js} +2 -2
- package/dist/client/assets/{index-ELhrM9RL.js → index-e-E887bU.js} +1 -1
- package/dist/client/assets/{index-BxeG7NLT.js → index-p-NZuQLL.js} +1 -1
- package/dist/client/assets/{index-redirect-CKDDLREl.js → index-redirect-C0lMrFZb.js} +1 -1
- package/dist/client/assets/{input-BAMDOJs0.js → input-DooN4jkj.js} +1 -1
- package/dist/client/assets/{integration-icon-BYNqWlgD.js → integration-icon-DouvCAyQ.js} +1 -1
- package/dist/client/assets/{invite-member-dialog-BONIcxh_.js → invite-member-dialog-GTEEDh2Y.js} +1 -1
- package/dist/client/assets/{label-la-FXX9j.js → label-CHVjglvp.js} +1 -1
- package/dist/client/assets/{layout-DhAv24JK.js → layout-BvnbP4Dr.js} +1 -1
- package/dist/client/assets/{login-Ddj3rDtP.js → login-Cf5hKO0l.js} +1 -1
- package/dist/client/assets/{mcp-oauth-DHOrFgRs.js → mcp-oauth-DmLpmBfh.js} +1 -1
- package/dist/client/assets/{members-DWsRoQb4.js → members-TMJ-nd-l.js} +1 -1
- package/dist/client/assets/{monaco-editor-w7ydpEuN.js → monaco-editor-DeHPBeZj.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-C98Q7tWI.js → monitoring-stats-row-q_qpqwCs.js} +1 -1
- package/dist/client/assets/{multi-select-fZzKc5Ve.js → multi-select-oNBbk1hp.js} +1 -1
- package/dist/client/assets/{oauth-callback-ZVbRLaaj.js → oauth-callback-DrO3rGFl.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-CwkRTWEO.js → oauth-callback-ai-provider-Uc-mSRYP.js} +1 -1
- package/dist/client/assets/{onboarding-BjzzMaW-.js → onboarding-Es5wNRlJ.js} +1 -1
- package/dist/client/assets/{org-install-CyfK9mri.js → org-install-DwAkYRpj.js} +1 -1
- package/dist/client/assets/{org-layout-54yLArOz.js → org-layout-BmXupHnR.js} +1 -1
- package/dist/client/assets/{organization-choice-CioIzPaI.js → organization-choice-Wkdav7l-.js} +1 -1
- package/dist/client/assets/{orgs-DrrdLCVb.js → orgs-BiuhDQqw.js} +1 -1
- package/dist/client/assets/{page-seo-form-B1izKYSp.js → page-seo-form-BITO5Cwa.js} +1 -1
- package/dist/client/assets/page-seo-sheet-DVGxv6BI.js +1 -0
- package/dist/client/assets/{popover-DRqjILyu.js → popover-CMMyXpPK.js} +1 -1
- package/dist/client/assets/{post-editor-Dr7kcw0W.js → post-editor-QO48PKJR.js} +1 -1
- package/dist/client/assets/{primitives-CKKjbMYY.js → primitives-1GpjyhXb.js} +1 -1
- package/dist/client/assets/{profile-BqO8iOf0.js → profile-Bx6jAFG3.js} +1 -1
- package/dist/client/assets/project-app-view-zZm-8Y4L.js +1 -0
- package/dist/client/assets/record-editor-DJy-LqeK.js +1 -0
- package/dist/client/assets/redirect-editor-BErOiRuY.js +1 -0
- package/dist/client/assets/registry-QdP3QwyG.js +2 -0
- package/dist/client/assets/{registry-layout-DpztDRKh.js → registry-layout-DoohESD-.js} +1 -1
- package/dist/client/assets/{reports-DCtMedbZ.js → reports-DdIsDSQY.js} +1 -1
- package/dist/client/assets/{require-capability-CtdSCgZx.js → require-capability-DWNo_rvi.js} +1 -1
- package/dist/client/assets/{required-auth-layout-oEFRt1ot.js → required-auth-layout-DrnK06MM.js} +1 -1
- package/dist/client/assets/{reset-password-DACOeJ3p.js → reset-password-CYwCkT5L.js} +1 -1
- package/dist/client/assets/{roles-DqIFMyzi.js → roles-DUIPd2E1.js} +1 -1
- package/dist/client/assets/{search-input-D9BaMWA9.js → search-input-gI5YpJSI.js} +1 -1
- package/dist/client/assets/{secrets-5UTvGGDF.js → secrets-DbP1su7D.js} +1 -1
- package/dist/client/assets/{sections-editor-Bcq3GpGi.js → sections-editor-BmcqZp-u.js} +1 -1
- package/dist/client/assets/{select-B3rAExLJ.js → select-DLOarQAH.js} +1 -1
- package/dist/client/assets/{select-model-DlTEdDDN.js → select-model-DgC0KhDX.js} +1 -1
- package/dist/client/assets/{self-tool-result-BPKBwAAG.js → self-tool-result-BSbws4qP.js} +1 -1
- package/dist/client/assets/{seo-editor-ByqFh0sG.js → seo-editor-1B33gCbJ.js} +1 -1
- package/dist/client/assets/{settings-layout-BpZn-dBG.js → settings-layout-CGbNh01L.js} +1 -1
- package/dist/client/assets/{settings-section-D71nFv9D.js → settings-section-CSQS_fOd.js} +1 -1
- package/dist/client/assets/{shell-controls-Dfni021n.js → shell-controls-r8aLrbK0.js} +1 -1
- package/dist/client/assets/{shell-layout-Dj7fEvwD.js → shell-layout-DtOHLb0x.js} +1 -1
- package/dist/client/assets/{sidebar-BeNXrZie.js → sidebar-fRXLoYlv.js} +1 -1
- package/dist/client/assets/{skeleton-DGbUxntY.js → skeleton-DrvCYvFD.js} +1 -1
- package/dist/client/assets/{sso-BO0hp5tp.js → sso-C9Vqlw8M.js} +1 -1
- package/dist/client/assets/{store-C_1ZJ6YY.js → store-h6xQOgKK.js} +1 -1
- package/dist/client/assets/store-registry-BRCiwnTn.js +2 -0
- package/dist/client/assets/{studio-tools-DC98b1mA.js → studio-tools-Cmxh51BW.js} +1 -1
- package/dist/client/assets/{switch-D2IG2BwL.js → switch-CCu5HEzP.js} +1 -1
- package/dist/client/assets/{table-CQ51aPY5.js → table-TsjPt8Gf.js} +1 -1
- package/dist/client/assets/{tabs-BLtAAS9k.js → tabs-BhgZ3ZmW.js} +1 -1
- package/dist/client/assets/{textarea-DGGDLDhY.js → textarea-DDxbxAIb.js} +1 -1
- package/dist/client/assets/{toggle-group-DH4mAwCj.js → toggle-group-gGQTQIMA.js} +1 -1
- package/dist/client/assets/{toolbar-Dfnz4ZMt.js → toolbar-D-2K0Fk5.js} +1 -1
- package/dist/client/assets/{toolbar-icon-button-BnycwoLQ.js → toolbar-icon-button-Bw7f5O1p.js} +1 -1
- package/dist/client/assets/{tooltip-ChaSBJu1.js → tooltip-owO6Fujv.js} +1 -1
- package/dist/client/assets/{use-ai-providers-DGkYjcBs.js → use-ai-providers-B919C25s.js} +1 -1
- package/dist/client/assets/{use-automations-d1p1cV4X.js → use-automations-CJdJQaET.js} +1 -1
- package/dist/client/assets/{use-autosave-CKOCxbNQ.js → use-autosave-D09qjW1V.js} +1 -1
- package/dist/client/assets/{use-capability-dlgw5Gjj.js → use-capability-CiXd5r1-.js} +1 -1
- package/dist/client/assets/{use-clock-tick-BqQOp9zQ.js → use-clock-tick-Bo5nmZlI.js} +1 -1
- package/dist/client/assets/{use-collections-SV2SEdS-.js → use-collections-X_sc34If.js} +1 -1
- package/dist/client/assets/{use-connection-BY-HU_w2.js → use-connection-DuDkpb0e.js} +1 -1
- package/dist/client/assets/{use-copy-CZmbzv9b.js → use-copy-Bx3m2rO-.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-B2rIhDW5.js → use-create-virtual-mcp-ByH8ooeL.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-DowZ2Cj5.js → use-debounced-autosave-CjuwhAVQ.js} +1 -1
- package/dist/client/assets/{use-debounced-value-BGxD_rLK.js → use-debounced-value-L3f6T_5p.js} +1 -1
- package/dist/client/assets/{use-deco-credits-CINfmuIk.js → use-deco-credits-C8loT1AO.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-CsUIw1So.js → use-decopilot-events-CynGBvUt.js} +1 -1
- package/dist/client/assets/{use-delete-connection-BlPfLB7O.js → use-delete-connection-C0mv8dIz.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-Dx1voZKl.js → use-deployment-admin-DabPejE5.js} +1 -1
- package/dist/client/assets/{use-file-configs-Bs-k2-C1.js → use-file-configs-CIujnhhg.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-Dhi9FPdG.js → use-infinite-scroll-Y2vLF9MQ.js} +1 -1
- package/dist/client/assets/{use-join-requests-BJd9gv6b.js → use-join-requests-BzWPX9mp.js} +1 -1
- package/dist/client/assets/{use-mcp-auth-status-B_bbAdbm.js → use-mcp-auth-status-CWMnl4kQ.js} +1 -1
- package/dist/client/assets/{use-mcp-client-DUHgzzKC.js → use-mcp-client-CM7X9MZh.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-DYBrb0MI.js → use-mcp-tools--4fgvczm.js} +1 -1
- package/dist/client/assets/{use-members-Cl5wPFu9.js → use-members-D9EO1Bhw.js} +1 -1
- package/dist/client/assets/{use-mobile-CrSyO5KW.js → use-mobile-CA2wukFn.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-BxgvzA-e.js → use-navigate-to-agent-BQJR7hS-.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-pgJk4oK7.js → use-org-auth-client-BBy-fA8U.js} +1 -1
- package/dist/client/assets/{use-org-sso-BhSM-25Q.js → use-org-sso-_-9Ndxjg.js} +1 -1
- package/dist/client/assets/{use-organization-roles-ChCQkrT7.js → use-organization-roles-DCK1gCYk.js} +1 -1
- package/dist/client/assets/{use-organization-settings-C6Ld6iGN.js → use-organization-settings-STRgrAfE.js} +1 -1
- package/dist/client/assets/{use-registry-connections-DIPeZmDC.js → use-registry-connections-B3SITFNT.js} +1 -1
- package/dist/client/assets/{use-secrets-BylmfCM8.js → use-secrets-DeioiR_Q.js} +1 -1
- package/dist/client/assets/{use-status-sounds-BLHe_A1G.js → use-status-sounds-MPm8b7Px.js} +1 -1
- package/dist/client/assets/{use-view-mode-DE6KjcqK.js → use-view-mode-B-Z3o5Ts.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-C-thf57O.js → use-virtual-mcp-aGmJHwFC.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-BVqkvkK2.js +1 -0
- package/dist/client/assets/{useRouterState-BLmxpXOc.js → useRouterState-DzpKjEia.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-BXgDSTQv.js +1 -0
- package/dist/client/assets/{users-BmqrdKAf.js → users-C5ACxEJi.js} +1 -1
- package/dist/client/assets/{variant-calendar-CslgISEH.js → variant-calendar-BIM35rdy.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-D300OqNu.js → view-mode-toggle-CWwEb6HJ.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +345 -345
- package/dist/server/server.js +1 -1
- package/package.json +1 -1
- package/dist/client/assets/automations-BqivZlI1.js +0 -1
- package/dist/client/assets/index-Ct3WOq85.js +0 -8
- package/dist/client/assets/page-seo-sheet-CixOI3l1.js +0 -1
- package/dist/client/assets/project-app-view-BijShb4s.js +0 -1
- package/dist/client/assets/record-editor-DgLuzYZR.js +0 -1
- package/dist/client/assets/redirect-editor-e5uYjnmk.js +0 -1
- package/dist/client/assets/registry-BMLgpj99.js +0 -2
- package/dist/client/assets/store-registry-DwInc6rk.js +0 -2
- package/dist/client/assets/useInfiniteQuery-DyV1QDab.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-D9oQjj9f.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-D-9It9O8.js";import{s as q}from"./Plus-DRIYyF1Y.js";import{i as S}from"./Zap-C0jj00w3.js";import{S as D}from"./search-input-D9BaMWA9.js";import{P as l}from"./index-BST567fc.js";import{E as b}from"./empty-state-BAtX1PrG.js";import{c as O}from"./use-automations-d1p1cV4X.js";import{c as V}from"./use-navigate-to-agent-BxgvzA-e.js";import{A as F}from"./automation-list-row-CYxluwXx.js";import{f as G}from"./constants-D_FQAPnt.js";import{u as H}from"./use-virtual-mcp-C-thf57O.js";import{R as J}from"./require-capability-CtdSCgZx.js";import"./SearchMd-CpXRgEf5.js";import"./sidebar-BeNXrZie.js";import"./LayoutLeft-DgY7TPq-.js";import"./use-mobile-CrSyO5KW.js";import"./X-DJyihanE.js";import"./tooltip-ChaSBJu1.js";import"./use-mcp-client-DUHgzzKC.js";import"./auth-B1cxztc2.js";import"./studio-tools-DC98b1mA.js";import"./hooks-DbvQQuDU.js";import"./decopilot-sse-pool-BMqhIP22.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./reusable-new-chat-CouMjkYR.js";import"./alert-dialog-B4j05xqZ.js";import"./dropdown-menu-CEae6v-M.js";import"./Check-Cc6Bc1BH.js";import"./ChevronRight-B33Mu5AL.js";import"./Circle-DJp0izOj.js";import"./Stars02-DKDrJcrE.js";import"./DotsVertical-NR-zMtTO.js";import"./Trash01-DAbM_CFW.js";import"./agent-icon-B9wxYfT7.js";import"./AlertCircle-C20hgcIa.js";import"./UserPlus01-1O7ZAmZ0.js";import"./Tool01-CkczSZ03.js";import"./ArrowUp-Dgvo3A_2.js";import"./Settings02-DSnlYNiR.js";import"./Tool02-Zqz-7k3v.js";import"./XCircle-DengJiq7.js";import"./ArrowUpRight-XVwZt1n6.js";import"./TrendUp01-CHGxH9cm.js";import"./ZapSquare-C-4KrsmI.js";import"./ZoomOut-bo1qpk84.js";import"./Users03-DKog3mgS.js";import"./CheckCircle-BQl0d83F.js";import"./ChevronDown-V6fE1Rcs.js";import"./ChevronUp-DK7M0E86.js";import"./Copy01-CfdaTbye.js";import"./Globe01-ipTZJBPr.js";import"./Eye-C9dnkVdp.js";import"./FilterLines-Ni7Zxtnw.js";import"./Flag01-DDojZ3BD.js";import"./Star01-CYWP-Lnz.js";import"./Globe04-DOYzTQsa.js";import"./SwitchHorizontal01-Bd1BMwMz.js";import"./HardDrive-DdAwxeh0.js";import"./Image01-C5JUp_rj.js";import"./Key01-Dibq8qSI.js";import"./LinkExternal01-vfCmrlzd.js";import"./List-G0g6UpdC.js";import"./Monitor01-DZP8UHev.js";import"./Sun-CST17A49.js";import"./Package-B3D3XCt6.js";import"./Palette-NkhqFqPA.js";import"./Play-DetNEZKa.js";import"./SearchLg-CLYFawei.js";import"./Shield01-CrEWV3nm.js";import"./Stars01-SzQSCq9i.js";import"./Upload01-BkxnL7Jx.js";import"./User01-pcBROZrv.js";import"./Users01-B1Tq7qDs.js";import"./XClose-DgANt_GW.js";import"./use-collections-SV2SEdS-.js";import"./use-capability-dlgw5Gjj.js";import"./access-gate-BQIbgyFa.js";import"./capability-load-error-a0S1shMb.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,8 +0,0 @@
|
|
|
1
|
-
import{c as re,r as q,b as yt,C as He,j as t,B as Z,t as Ie,l as de,K as ut,m as wt,x as ls,u as rs,p as ft,E as as}from"./index-D-9It9O8.js";import{S as os}from"./search-input-D9BaMWA9.js";import{P as Le}from"./index-BST567fc.js";import{E as St}from"./empty-state-BAtX1PrG.js";import{R as ns}from"./require-capability-CtdSCgZx.js";import{N as Tt,A as is,Q as cs,U as Mt,V as it,W as Pt,X as pt,Y as ds,Z as Dt,_ as Ut,L as ms,$ as us}from"./automation-runs-DOvodEH6.js";import{u as vt}from"./use-connection-BY-HU_w2.js";import{g as Vt}from"./connection-slug-eyAPH6o3.js";import{B as qe}from"./badge-CqESM08z.js";import{b as tt,P as st,a as lt}from"./popover-DRqjILyu.js";import{b as ct,T as dt,a as mt}from"./tooltip-ChaSBJu1.js";import{i as ht}from"./Check-Cc6Bc1BH.js";import{a as ot}from"./Copy01-CfdaTbye.js";import{n as Lt}from"./Globe01-ipTZJBPr.js";import{i as It}from"./FilterLines-Ni7Zxtnw.js";import{i as xs}from"./Key01-Dibq8qSI.js";import{i as fs}from"./Play-DetNEZKa.js";import{an as ps,U as hs}from"./agent-icon-B9wxYfT7.js";import{M as Ft}from"./monaco-editor-w7ydpEuN.js";import{u as gs}from"./use-members-Cl5wPFu9.js";import{u as js}from"./use-mcp-client-DUHgzzKC.js";import{u as vs}from"./use-virtual-mcp-C-thf57O.js";import{S as Ns,W as bs}from"./constants-D_FQAPnt.js";import{n as rt}from"./Tool02-Zqz-7k3v.js";import{c as ys}from"./SwitchHorizontal01-Bd1BMwMz.js";import{s as ws}from"./Plus-DRIYyF1Y.js";import{s as Ss}from"./Trash01-DAbM_CFW.js";import{I as Ge}from"./input-BAMDOJs0.js";import{M as We}from"./multi-select-fZzKc5Ve.js";import{a as Xe,b as Ye,c as Ze,d as ge,S as et}from"./select-B3rAExLJ.js";import{t as Kt}from"./ChevronDown-V6fE1Rcs.js";import{s as Is}from"./Stars02-DKDrJcrE.js";import{C as Cs}from"./calendar-B-LTbMEy.js";import{b as ks}from"./UserPlus01-1O7ZAmZ0.js";import{T as _s}from"./textarea-DGGDLDhY.js";import{C as qt}from"./collection-tabs-DpJVutqE.js";import{S as Ts}from"./switch-D2IG2BwL.js";import{L as Ms}from"./label-la-FXX9j.js";import{I as Be}from"./integration-icon-BYNqWlgD.js";import{A as Bt}from"./avatar-Bx5rROx7.js";import{A as Ds,a as Ls,b as Fs}from"./alert-pxYZf_gO.js";import{C as Ht}from"./card-CdFmFmUv.js";import{K as Me}from"./monitoring-stats-row-C98Q7tWI.js";import{u as Jt}from"./studio-tools-DC98b1mA.js";import{u as $s}from"./useSuspenseInfiniteQuery-D9oQjj9f.js";import{o as Rs,m as Os,p as zs,q as As}from"./sidebar-BeNXrZie.js";import{T as $e,a as xt,b as Qt,c as Gt,d as Wt,e as oe}from"./table-CQ51aPY5.js";import{n as Es}from"./ChevronUp-DK7M0E86.js";import{u as Ps}from"./use-infinite-scroll-Dhi9FPdG.js";import{c as Us,b as Vs}from"./use-automations-d1p1cV4X.js";import"./SearchMd-CpXRgEf5.js";import"./use-capability-dlgw5Gjj.js";import"./access-gate-BQIbgyFa.js";import"./capability-load-error-a0S1shMb.js";import"./useInfiniteQuery-DyV1QDab.js";import"./use-clock-tick-BqQOp9zQ.js";import"./AlertCircle-C20hgcIa.js";import"./CheckCircle-BQl0d83F.js";import"./Circle-DJp0izOj.js";import"./XCircle-DengJiq7.js";import"./Stars01-SzQSCq9i.js";import"./ChevronRight-B33Mu5AL.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-CZmbzv9b.js";import"./file-type-icon-13wssv9j.js";import"./dialog-BMJEsVXy.js";import"./X-DJyihanE.js";import"./ZoomOut-bo1qpk84.js";import"./use-mobile-CrSyO5KW.js";import"./tab-id-BijBBRwE.js";import"./hooks-DbvQQuDU.js";import"./decopilot-sse-pool-BMqhIP22.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./chat-context-BxoSxASA.js";import"./autosend-CwtKb6-i.js";import"./use-ai-providers-DGkYjcBs.js";import"./use-decopilot-events-CsUIw1So.js";import"./use-organization-settings-C6Ld6iGN.js";import"./index-Cdqw-lyd.js";import"./Eye-C9dnkVdp.js";import"./Star01-CYWP-Lnz.js";import"./XClose-DgANt_GW.js";import"./ZapSquare-C-4KrsmI.js";import"./Tool01-CkczSZ03.js";import"./Monitor01-DZP8UHev.js";import"./Upload01-BkxnL7Jx.js";import"./shell-layout-Dj7fEvwD.js";import"./Users03-DKog3mgS.js";import"./SearchLg-CLYFawei.js";import"./Zap-C0jj00w3.js";import"./alert-dialog-B4j05xqZ.js";import"./required-auth-layout-oEFRt1ot.js";import"./use-org-sso-BhSM-25Q.js";import"./Image01-C5JUp_rj.js";import"./LinkExternal01-vfCmrlzd.js";import"./ArrowUpRight-XVwZt1n6.js";import"./Palette-NkhqFqPA.js";import"./use-navigate-to-agent-BxgvzA-e.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-BLkij4VQ.js";import"./form-Ch5mL-Ts.js";import"./use-collections-SV2SEdS-.js";import"./ArrowUp-Dgvo3A_2.js";import"./Settings02-DSnlYNiR.js";import"./TrendUp01-CHGxH9cm.js";import"./DotsVertical-NR-zMtTO.js";import"./Flag01-DDojZ3BD.js";import"./Globe04-DOYzTQsa.js";import"./HardDrive-DdAwxeh0.js";import"./LayoutLeft-DgY7TPq-.js";import"./List-G0g6UpdC.js";import"./Sun-CST17A49.js";import"./Package-B3D3XCt6.js";import"./Shield01-CrEWV3nm.js";import"./User01-pcBROZrv.js";import"./Users01-B1Tq7qDs.js";import"./index-CsVxM7TL.js";import"./use-org-auth-client-pgJk4oK7.js";import"./auth-B1cxztc2.js";import"./checkbox-D4_5XFQQ.js";import"./command-D25pX-TQ.js";import"./index-BMGkibta.js";const Nt={maxJsonRenderSize:5e4,pageSize:50,streamingRefetchInterval:3e3};function Re(s){return s.filter(e=>e.key.trim()).map(e=>{const l=encodeURIComponent(e.key.trim()),r=encodeURIComponent(e.value||"");return`${l}:${e.operator}:${r}`}).join(",")}function Ks(s){return s?s.split(",").map(e=>{const[l,r,...o]=e.split(":");return{key:decodeURIComponent(l||""),operator:r||"eq",value:decodeURIComponent(o.join(":")||"")}}):[]}function nt(s){return s.filter(e=>e.key.trim()).map(e=>{switch(e.operator){case"eq":return`${e.key}=${e.value}`;case"contains":return`${e.key}~${e.value}`;case"exists":return`${e.key}?`;case"in":return`${e.key}@${e.value}`}}).join(`
|
|
2
|
-
`)}function $t(s){return s.trim()?s.split(`
|
|
3
|
-
`).map(e=>e.trim()).filter(e=>e.length>0).map(e=>{if(e.endsWith("?"))return{key:e.slice(0,-1),operator:"exists",value:""};if(e.includes("=")){const[l,...r]=e.split("=");return{key:l||"",operator:"eq",value:r.join("=")}}if(e.includes("~")){const[l,...r]=e.split("~");return{key:l||"",operator:"contains",value:r.join("~")}}if(e.includes("@")){const[l,...r]=e.split("@");return{key:l||"",operator:"in",value:r.join("@")}}return{key:e,operator:"exists",value:""}}):[]}function qs(s){const e={},l={},r=[],o={};for(const a of s)if(a.key.trim())switch(a.operator){case"eq":a.value&&(e[a.key]=a.value);break;case"contains":a.value&&(l[a.key]=`%${a.value}%`);break;case"exists":r.push(a.key);break;case"in":a.value&&(o[a.key]=a.value);break}return{properties:Object.keys(e).length>0?e:void 0,propertyPatterns:Object.keys(l).length>0?l:void 0,propertyKeys:r.length>0?r:void 0,propertyInValues:Object.keys(o).length>0?o:void 0}}function Rt(s){if(!s)return{content:"null",isTruncated:!1,originalSize:4};if(typeof s._decocms_truncated=="string")return{content:s._decocms_truncated,isTruncated:!0,originalSize:s._decocms_truncated.length};const e=JSON.stringify(s,null,2),l=e.length;return l<=Nt.maxJsonRenderSize?{content:e,isTruncated:!1,originalSize:l}:{content:e.slice(0,Nt.maxJsonRenderSize)+`
|
|
4
|
-
|
|
5
|
-
... [TRUNCATED - content too large to display]`,isTruncated:!0,originalSize:l}}function Bs(s){const e=re.c(117),{log:l}=s,[r,o]=q.useState(!1),[a,c]=q.useState(!1),i=yt(),{org:n}=He(),d=vt(),h=Rt(l.input),f=Rt(l.output),v=Hs;let N;e[0]!==l.input||e[1]!==l.output?(N=async se=>{const ee=v(se==="input"?l.input:l.output);try{await navigator.clipboard.writeText(ee),se==="input"?(o(!0),setTimeout(()=>o(!1),2e3)):(c(!0),setTimeout(()=>c(!1),2e3))}catch{Ie.error("Failed to copy to clipboard")}},e[0]=l.input,e[1]=l.output,e[2]=N):N=e[2];const u=N;let D;e[3]!==l.id||e[4]!==l.input||e[5]!==l.output||e[6]!==l.toolName?(D=se=>{const ee=v(se==="input"?l.input:l.output),ae=new Blob([ee],{type:"application/json"}),he=URL.createObjectURL(ae),ye=document.createElement("a");ye.href=he,ye.download=`${l.toolName}-${se}-${l.id}.json`,ye.click(),URL.revokeObjectURL(he)},e[3]=l.id,e[4]=l.input,e[5]=l.output,e[6]=l.toolName,e[7]=D):D=e[7];const g=D;let j;e[8]!==d||e[9]!==l.connectionId||e[10]!==l.input||e[11]!==l.toolName||e[12]!==i||e[13]!==n?(j=()=>{const se=d.find(ae=>ae.id===l.connectionId);if(!se){Ie.error("Could not find the connection for this tool call");return}const ee=crypto.randomUUID();sessionStorage.setItem(`replay-${ee}`,JSON.stringify(l.input)),i({to:"/$org/settings/connections/$appSlug/$collectionName/$itemId",params:{org:n.slug,appSlug:Vt(se),collectionName:"tools",itemId:encodeURIComponent(l.toolName)},search:{replayId:ee}})},e[8]=d,e[9]=l.connectionId,e[10]=l.input,e[11]=l.toolName,e[12]=i,e[13]=n,e[14]=j):j=e[14];const m=j,[C,w]=q.useState(!1);let p;e[15]!==l.requestId?(p=async()=>{try{await navigator.clipboard.writeText(l.requestId),w(!0),setTimeout(()=>w(!1),2e3)}catch{Ie.error("Failed to copy to clipboard")}},e[15]=l.requestId,e[16]=p):p=e[16];const T=p;let S;e[17]!==l.timestamp?(S=new Date(l.timestamp).toLocaleString("en-US",{month:"short",day:"numeric",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"}),e[17]=l.timestamp,e[18]=S):S=e[18];const x=S,M="text-sm px-5 md:px-6 py-5 space-y-5";let b;e[19]===Symbol.for("react.memo_cache_sentinel")?(b=t.jsx("div",{className:"text-xs text-muted-foreground mb-1",children:"Timestamp"}),e[19]=b):b=e[19];let _;e[20]!==x?(_=t.jsxs("div",{children:[b,t.jsx("div",{className:"text-sm text-foreground",children:x})]}),e[20]=x,e[21]=_):_=e[21];let k;e[22]===Symbol.for("react.memo_cache_sentinel")?(k=t.jsx("div",{className:"text-xs text-muted-foreground mb-1",children:"Duration"}),e[22]=k):k=e[22];let O;e[23]!==l.durationMs?(O=t.jsxs("div",{children:[k,t.jsxs("div",{className:"text-sm font-mono text-foreground",children:[l.durationMs,"ms"]})]}),e[23]=l.durationMs,e[24]=O):O=e[24];let L;e[25]===Symbol.for("react.memo_cache_sentinel")?(L=t.jsx("div",{className:"text-xs text-muted-foreground mb-1",children:"User"}),e[25]=L):L=e[25];let E;e[26]!==l.userName?(E=t.jsxs("div",{children:[L,t.jsx("div",{className:"text-sm text-foreground",children:l.userName})]}),e[26]=l.userName,e[27]=E):E=e[27];let P;e[28]!==l.virtualMcpName?(P=l.virtualMcpName&&t.jsxs("div",{children:[t.jsx("div",{className:"text-xs text-muted-foreground mb-1",children:"Agent"}),t.jsx("div",{className:"text-sm text-foreground",children:l.virtualMcpName})]}),e[28]=l.virtualMcpName,e[29]=P):P=e[29];let X;e[30]===Symbol.for("react.memo_cache_sentinel")?(X=t.jsx("div",{className:"text-xs text-muted-foreground mb-1",children:"Request ID"}),e[30]=X):X=e[30];let I;e[31]!==l.requestId?(I=t.jsx("code",{className:"font-mono text-foreground text-[11px]",children:l.requestId}),e[31]=l.requestId,e[32]=I):I=e[32];let F;e[33]!==C?(F=C?t.jsx(ht,{size:12}):t.jsx(ot,{size:12}),e[33]=C,e[34]=F):F=e[34];let R;e[35]!==T||e[36]!==F?(R=t.jsx(Z,{size:"icon",variant:"ghost",onClick:T,"aria-label":"Copy request ID",className:"h-5 w-5 text-muted-foreground hover:text-foreground",children:F}),e[35]=T,e[36]=F,e[37]=R):R=e[37];let z;e[38]!==I||e[39]!==R?(z=t.jsxs("div",{children:[X,t.jsxs("div",{className:"flex items-center gap-1",children:[I,R]})]}),e[38]=I,e[39]=R,e[40]=z):z=e[40];let A;e[41]!==l.userAgent?(A=l.userAgent&&t.jsxs("div",{children:[t.jsx("div",{className:"text-xs text-muted-foreground mb-1",children:"Client"}),t.jsx("div",{className:"text-sm font-mono text-foreground",children:l.userAgent})]}),e[41]=l.userAgent,e[42]=A):A=e[42];let K;e[43]!==l.properties||e[44]!==i||e[45]!==n?(K=l.properties&&Object.keys(l.properties).length>0&&t.jsxs("div",{className:"md:col-span-2",children:[t.jsx("div",{className:"text-xs text-muted-foreground mb-1.5",children:"Properties"}),t.jsx("div",{className:"flex flex-wrap gap-1.5",children:Object.entries(l.properties).map(se=>{const[ee,ae]=se;return t.jsxs(tt,{children:[t.jsx(st,{asChild:!0,children:t.jsxs(qe,{variant:"secondary",className:"font-mono text-xs px-2 py-0.5 cursor-pointer hover:bg-secondary/80 transition-colors",children:[ee,"=",ae]})}),t.jsx(lt,{className:"w-auto p-1",align:"end",children:t.jsxs("div",{className:"flex flex-col gap-0.5",children:[t.jsxs(Z,{variant:"ghost",size:"sm",className:"justify-start h-8 px-2 text-xs font-normal focus-visible:ring-0 focus-visible:ring-offset-0",onClick:()=>{const he={key:ee,operator:"eq",value:ae};i({to:"/$org/settings/monitor",params:{org:n.slug},search:{propertyFilters:Re([he])}})},children:[t.jsx(It,{size:14,className:"mr-2"}),"Filter by this property"]}),t.jsxs(Z,{variant:"ghost",size:"sm",className:"justify-start h-8 px-2 text-xs font-normal focus-visible:ring-0 focus-visible:ring-offset-0",onClick:async()=>{try{await navigator.clipboard.writeText(`${ee}=${ae}`),Ie.success("Copied filter to clipboard")}catch{Ie.error("Failed to copy to clipboard")}},children:[t.jsx(ot,{size:14,className:"mr-2"}),"Copy filter"]}),t.jsxs(Z,{variant:"ghost",size:"sm",className:"justify-start h-8 px-2 text-xs font-normal focus-visible:ring-0 focus-visible:ring-offset-0",onClick:async()=>{try{await navigator.clipboard.writeText(ee),Ie.success("Copied key to clipboard")}catch{Ie.error("Failed to copy to clipboard")}},children:[t.jsx(xs,{size:14,className:"mr-2"}),"Copy key"]}),t.jsxs(Z,{variant:"ghost",size:"sm",className:"justify-start h-8 px-2 text-xs font-normal focus-visible:ring-0 focus-visible:ring-offset-0",onClick:async()=>{try{await navigator.clipboard.writeText(ae),Ie.success("Copied value to clipboard")}catch{Ie.error("Failed to copy to clipboard")}},children:[t.jsx(ps,{size:14,className:"mr-2"}),"Copy value"]})]})})]},ee)})})]}),e[43]=l.properties,e[44]=i,e[45]=n,e[46]=K):K=e[46];let B;e[47]!==O||e[48]!==E||e[49]!==P||e[50]!==z||e[51]!==A||e[52]!==K||e[53]!==_?(B=t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-x-6 gap-y-4",children:[_,O,E,P,z,A,K]}),e[47]=O,e[48]=E,e[49]=P,e[50]=z,e[51]=A,e[52]=K,e[53]=_,e[54]=B):B=e[54];let V;e[55]!==l.errorMessage?(V=l.errorMessage&&t.jsxs("div",{children:[t.jsx("div",{className:"text-xs text-destructive mb-1",children:"Error"}),t.jsx("div",{className:"text-destructive font-mono text-xs bg-destructive/10 p-2 rounded break-all",children:l.errorMessage})]}),e[55]=l.errorMessage,e[56]=V):V=e[56];const Y="space-y-4";let H;e[57]===Symbol.for("react.memo_cache_sentinel")?(H=t.jsx("span",{className:"text-xs text-muted-foreground select-none",children:"Input"}),e[57]=H):H=e[57];const Q=h.isTruncated&&t.jsxs("span",{className:"text-xs text-amber-600 dark:text-amber-400",children:["(",Tt(h.originalSize)," - truncated)"]});let U;e[58]!==Q?(U=t.jsxs("div",{className:"flex items-center gap-2",children:[H,Q]}),e[58]=Q,e[59]=U):U=e[59];let y;e[60]!==m||e[61]!==l.input?(y=l.input&&t.jsxs(ct,{children:[t.jsx(dt,{asChild:!0,children:t.jsx(Z,{size:"icon",variant:"ghost",onClick:m,"aria-label":"Replay tool call",className:"text-muted-foreground hover:text-foreground rounded-lg h-8 w-8",children:t.jsx(fs,{size:14})})}),t.jsx(mt,{children:"Replay tool call"})]}),e[60]=m,e[61]=l.input,e[62]=y):y=e[62];let $;e[63]!==g||e[64]!==h?($=h.isTruncated&&t.jsxs(ct,{children:[t.jsx(dt,{asChild:!0,children:t.jsx(Z,{size:"icon",variant:"ghost",onClick:()=>g("input"),"aria-label":"Download full input",className:"text-muted-foreground hover:text-foreground rounded-lg h-8 w-8",children:t.jsx(Lt,{size:14})})}),t.jsx(mt,{children:"Download full input"})]}),e[63]=g,e[64]=h,e[65]=$):$=e[65];let J;e[66]!==u?(J=()=>u("input"),e[66]=u,e[67]=J):J=e[67];let te;e[68]!==r?(te=r?t.jsx(ht,{size:14}):t.jsx(ot,{size:14}),e[68]=r,e[69]=te):te=e[69];let G;e[70]!==J||e[71]!==te?(G=t.jsx(Z,{size:"icon",variant:"ghost",onClick:J,"aria-label":"Copy input",className:"text-muted-foreground hover:text-foreground rounded-lg h-8 w-8",children:te}),e[70]=J,e[71]=te,e[72]=G):G=e[72];let le;e[73]!==y||e[74]!==$||e[75]!==G?(le=t.jsxs("div",{className:"flex items-center gap-1",children:[y,$,G]}),e[73]=y,e[74]=$,e[75]=G,e[76]=le):le=e[76];let W;e[77]!==U||e[78]!==le?(W=t.jsxs("div",{className:"flex items-center justify-between p-1 pl-4 border-b border-border",children:[U,le]}),e[77]=U,e[78]=le,e[79]=W):W=e[79];let ne;e[80]!==h?(ne=t.jsx("div",{className:"h-[200px] md:h-[280px] overflow-auto",children:t.jsx(Ft,{code:h.content,language:"json",height:"100%",readOnly:!0})}),e[80]=h,e[81]=ne):ne=e[81];let ce;e[82]!==W||e[83]!==ne?(ce=t.jsx("div",{children:t.jsxs("div",{className:"rounded-lg overflow-hidden border border-border",children:[W,ne]})}),e[82]=W,e[83]=ne,e[84]=ce):ce=e[84];const Oe="rounded-lg overflow-hidden border border-border",Ce="flex items-center justify-between p-1 pl-4 border-b border-border",ke="flex items-center gap-2";let ie;e[85]===Symbol.for("react.memo_cache_sentinel")?(ie=t.jsx("span",{className:"text-xs text-muted-foreground select-none",children:"Output"}),e[85]=ie):ie=e[85];const Fe=f.isTruncated&&t.jsxs("span",{className:"text-xs text-amber-600 dark:text-amber-400",children:["(",Tt(f.originalSize)," - truncated)"]});let je;e[86]!==ie||e[87]!==Fe?(je=t.jsxs("div",{className:ke,children:[ie,Fe]}),e[86]=ie,e[87]=Fe,e[88]=je):je=e[88];let ve;e[89]!==g||e[90]!==f.isTruncated?(ve=f.isTruncated&&t.jsxs(ct,{children:[t.jsx(dt,{asChild:!0,children:t.jsx(Z,{size:"icon",variant:"ghost",onClick:()=>g("output"),"aria-label":"Download full output",className:"text-muted-foreground hover:text-foreground rounded-lg h-8 w-8",children:t.jsx(Lt,{size:14})})}),t.jsx(mt,{children:"Download full output"})]}),e[89]=g,e[90]=f.isTruncated,e[91]=ve):ve=e[91];let Ne;e[92]!==u?(Ne=()=>u("output"),e[92]=u,e[93]=Ne):Ne=e[93];let me;e[94]!==a?(me=a?t.jsx(ht,{size:14}):t.jsx(ot,{size:14}),e[94]=a,e[95]=me):me=e[95];let be;e[96]!==Ne||e[97]!==me?(be=t.jsx(Z,{size:"icon",variant:"ghost",onClick:Ne,"aria-label":"Copy output",className:"text-muted-foreground hover:text-foreground rounded-lg h-8 w-8",children:me}),e[96]=Ne,e[97]=me,e[98]=be):be=e[98];let ue;e[99]!==ve||e[100]!==be?(ue=t.jsxs("div",{className:"flex items-center gap-1",children:[ve,be]}),e[99]=ve,e[100]=be,e[101]=ue):ue=e[101];let xe;e[102]!==je||e[103]!==ue?(xe=t.jsxs("div",{className:Ce,children:[je,ue]}),e[102]=je,e[103]=ue,e[104]=xe):xe=e[104];let fe;e[105]!==f.content?(fe=t.jsx("div",{className:"h-[200px] md:h-[280px] overflow-auto",children:t.jsx(Ft,{code:f.content,language:"json",height:"100%",readOnly:!0})}),e[105]=f.content,e[106]=fe):fe=e[106];let pe;e[107]!==xe||e[108]!==fe?(pe=t.jsx("div",{children:t.jsxs("div",{className:Oe,children:[xe,fe]})}),e[107]=xe,e[108]=fe,e[109]=pe):pe=e[109];let _e;e[110]!==ce||e[111]!==pe?(_e=t.jsxs("div",{className:Y,children:[ce,pe]}),e[110]=ce,e[111]=pe,e[112]=_e):_e=e[112];let Se;return e[113]!==B||e[114]!==V||e[115]!==_e?(Se=t.jsxs("div",{className:M,children:[B,V,_e]}),e[113]=B,e[114]=V,e[115]=_e,e[116]=Se):Se=e[116],Se}function Hs(s){return JSON.stringify(s,null,2)}const Xt=/^now(?:-(\d+)([mhdwM]))?$/,Js={m:"minute",h:"hour",d:"day",w:"week",M:"month"};function Yt(s){const e=s.trim();if(e==="now")return{isNow:!0,offset:0,unit:null};const l=e.match(Xt);if(!l)return null;const r=l[1]?Number.parseInt(l[1],10):0,o=l[2]||null;return{isNow:!0,offset:r,unit:o}}function we(s){const e=s.trim(),l=new Date(e);if(!Number.isNaN(l.getTime())&&e.includes("-"))return{valid:!0,date:l};const r=Yt(e);if(!r)return{valid:!1,date:null,error:'Invalid expression. Use "now" or "now-Xu" (e.g., now-2d, now-3h)'};const o=new Date,a=new Date(o);if(r.offset===0||!r.unit)return{valid:!0,date:a};switch(r.unit){case"m":a.setMinutes(a.getMinutes()-r.offset);break;case"h":a.setHours(a.getHours()-r.offset);break;case"d":a.setDate(a.getDate()-r.offset);break;case"w":a.setDate(a.getDate()-r.offset*7);break;case"M":a.setMonth(a.getMonth()-r.offset);break}return{valid:!0,date:a}}function Qs(s){return s.toLocaleString(void 0,{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})}function Zt(s){const e=s.trim();return Xt.test(e)}function Ot(s){const e=s.trim();if(e==="now")return"Now";const l=Yt(e);if(!l||!l.unit){const a=we(e);return a.valid&&a.date?Qs(a.date):e}const r=Js[l.unit],o=l.offset!==1?"s":"";return`${l.offset} ${r}${o} ago`}const es=[{label:"Last 5 minutes",from:"now-5m",to:"now",value:"5m"},{label:"Last 15 minutes",from:"now-15m",to:"now",value:"15m"},{label:"Last 30 minutes",from:"now-30m",to:"now",value:"30m"},{label:"Last 1 hour",from:"now-1h",to:"now",value:"1h"},{label:"Last 3 hours",from:"now-3h",to:"now",value:"3h"},{label:"Last 6 hours",from:"now-6h",to:"now",value:"6h"},{label:"Last 12 hours",from:"now-12h",to:"now",value:"12h"},{label:"Last 24 hours",from:"now-24h",to:"now",value:"24h"},{label:"Last 2 days",from:"now-2d",to:"now",value:"2d"},{label:"Last 7 days",from:"now-7d",to:"now",value:"7d"},{label:"Last 30 days",from:"now-30d",to:"now",value:"30d"}];function Gs(s,e){const l=es.find(r=>r.from===s&&r.to===e);return l?l.label:`${Ot(s)} to ${Ot(e)}`}function Qe(s){const e=s.getFullYear(),l=String(s.getMonth()+1).padStart(2,"0"),r=String(s.getDate()).padStart(2,"0"),o=String(s.getHours()).padStart(2,"0"),a=String(s.getMinutes()).padStart(2,"0"),c=String(s.getSeconds()).padStart(2,"0");return`${e}-${l}-${r} ${o}:${a}:${c}`}function Ws(s){const e=s.match(/^(\d{4})-(\d{2})-(\d{2})\s+(\d{2}):(\d{2}):(\d{2})$/);if(!e)return null;const[,l,r,o,a,c,i]=e,n=new Date(Number(l),Number(r)-1,Number(o),Number(a),Number(c),Number(i));return Number.isNaN(n.getTime())?null:n}function gt(s){if(Zt(s))return s;const e=we(s);return e.valid&&e.date?Qe(e.date):s}function zt({value:s,onChange:e,placeholder:l="now or now-2d",className:r,disabled:o,error:a}){const[c,i]=q.useState(!1),[n,d]=q.useState(()=>gt(s)),[h,f]=q.useState(),[v,N]=q.useState(!1),u=q.useRef(s);u.current!==s&&(u.current=s,v||d(gt(s)));const D=x=>{const M=x.target.value;d(M),f(void 0)},g=()=>{N(!0)},j=()=>{N(!1);const x=n.trim();if(Zt(x)){f(void 0),e(x);return}const M=Ws(x);if(M){f(void 0),e(M.toISOString()),d(Qe(M));return}const b=we(x);if(b.valid&&b.date){f(void 0),e(x),d(Qe(b.date));return}d(gt(s)),f(void 0)},m=x=>{if(x){const b=we(s).date||new Date;x.setHours(b.getHours()),x.setMinutes(b.getMinutes()),x.setSeconds(0),x.setMilliseconds(0);const _=x.toISOString();d(Qe(x)),e(_),f(void 0)}i(!1)},C=x=>{const[M,b]=x.target.value.split(":").map(Number),k=we(s).date||new Date;k.setHours(M||0),k.setMinutes(b||0),k.setSeconds(0),k.setMilliseconds(0);const O=k.toISOString();d(Qe(k)),e(O)},w=we(s),p=w.valid?w.date:new Date,T=p?`${String(p.getHours()).padStart(2,"0")}:${String(p.getMinutes()).padStart(2,"0")}`:"",S=a||h;return t.jsxs("div",{className:de("flex gap-1",r),children:[t.jsxs("div",{className:"flex-1 relative",children:[t.jsx(Ge,{value:n,onChange:D,onFocus:g,onBlur:j,placeholder:l,disabled:o,className:de("text-sm h-8",S&&"border-destructive focus-visible:ring-destructive")}),S&&t.jsx("p",{className:"text-xs text-destructive mt-1",children:S})]}),t.jsxs(tt,{open:c,onOpenChange:i,children:[t.jsx(st,{asChild:!0,children:t.jsx(Z,{variant:"outline",size:"icon",className:"h-8 w-8 shrink-0",disabled:o,children:t.jsx(ks,{className:"h-4 w-4"})})}),t.jsxs(lt,{className:"w-auto p-0",align:"end",children:[t.jsx(Cs,{mode:"single",selected:p||void 0,onSelect:m,initialFocus:!0}),t.jsxs("div",{className:"border-t p-3",children:[t.jsx("label",{className:"text-xs text-muted-foreground mb-1.5 block",children:"Time"}),t.jsx(Ge,{type:"time",value:T,onChange:C,className:"text-sm h-8"})]})]})]})]})}function Xs({value:s,onChange:e,className:l,disabled:r,quickRanges:o=es}){const[a,c]=q.useState(!1),[i,n]=q.useState(s.from),[d,h]=q.useState(s.to),[f,v]=q.useState(null),N=q.useRef({from:s.from,to:s.to});(N.current.from!==s.from||N.current.to!==s.to)&&(N.current={from:s.from,to:s.to},n(s.from),h(s.to));const u=m=>{N.current={from:m.from,to:m.to},n(m.from),h(m.to),c(!1),e({from:m.from,to:m.to})},D=()=>{const m=we(i),C=we(d);if(!m.valid||!m.date){v("Invalid 'From' date");return}if(!C.valid||!C.date){v("Invalid 'To' date");return}if(m.date>=C.date){v("'From' must be before 'To'");return}v(null),e({from:i,to:d}),c(!1)},g=m=>s.from===m.from&&s.to===m.to,j=Gs(s.from,s.to);return t.jsxs(tt,{open:a,onOpenChange:c,children:[t.jsx(st,{asChild:!0,children:t.jsxs(Z,{variant:"outline",className:de("gap-1.5 min-w-[160px] justify-between",l),disabled:r,children:[t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsx(Is,{className:"size-4 text-muted-foreground"}),t.jsx("span",{className:"text-sm",children:j})]}),t.jsx(Kt,{className:"size-4 text-muted-foreground"})]})}),t.jsx(lt,{className:"w-[540px] p-0",align:"end",sideOffset:4,onCloseAutoFocus:m=>m.preventDefault(),style:a?void 0:{animationDuration:"0s"},children:t.jsxs("div",{className:"flex",children:[t.jsxs("div",{className:"flex-1 p-4 border-r",children:[t.jsx("h4",{className:"text-sm font-medium mb-4",children:"Absolute time range"}),t.jsxs("div",{className:"space-y-4",children:[t.jsxs("div",{children:[t.jsx("label",{className:"text-xs text-muted-foreground mb-1.5 block",children:"From"}),t.jsx(zt,{value:i,onChange:n,placeholder:"now-24h"})]}),t.jsxs("div",{children:[t.jsx("label",{className:"text-xs text-muted-foreground mb-1.5 block",children:"To"}),t.jsx(zt,{value:d,onChange:h,placeholder:"now"})]}),f&&t.jsx("p",{className:"text-xs text-destructive",children:f}),t.jsx(Z,{onClick:D,className:"w-full",size:"sm",children:"Apply time range"})]})]}),t.jsx("div",{className:"w-[200px]",children:t.jsx(is,{className:"h-[280px]",children:t.jsx("div",{className:"p-2",children:o.map(m=>{const C=g(m);return t.jsx("button",{type:"button",onClick:()=>u(m),className:de("w-full text-left px-3 py-2 text-sm rounded-md transition-colors","hover:bg-accent hover:text-accent-foreground",C&&"bg-accent text-accent-foreground font-medium"),children:m.label},m.value)})})})})]})})]})}const ts="decopilot";async function ss(s,e){return await s.call("MONITORING_STATS",e)}function Ys(s,e){const l=re.c(12),{org:r}=He(),o=Jt();let a,c,i;l[0]!==r.id||l[1]!==s?(i={...s,excludeConnectionIds:[ts,...s.excludeConnectionIds??[]]},c=wt,a=ut.monitoringStatsToolCalls(r.id,JSON.stringify(i)),l[0]=r.id,l[1]=s,l[2]=a,l[3]=c,l[4]=i):(a=l[2],c=l[3],i=l[4]);let n;l[5]!==o||l[6]!==i?(n=()=>ss(o,i),l[5]=o,l[6]=i,l[7]=n):n=l[7];let d;return l[8]!==e||l[9]!==a||l[10]!==n?(d={queryKey:a,queryFn:n,staleTime:3e4,retry:!1,...e},l[8]=e,l[9]=a,l[10]=n,l[11]=d):d=l[11],c(d)}function Zs(s,e){const l=re.c(12),{org:r}=He(),o=Jt();let a,c,i;l[0]!==r.id||l[1]!==s?(i={...s,connectionIds:[ts],topN:5,llmUsage:!0,userIds:s.userIds?.length?s.userIds:void 0},c=wt,a=ut.monitoringStatsLlm(r.id,JSON.stringify(i)),l[0]=r.id,l[1]=s,l[2]=a,l[3]=c,l[4]=i):(a=l[2],c=l[3],i=l[4]);let n;l[5]!==o||l[6]!==i?(n=()=>ss(o,i),l[5]=o,l[6]=i,l[7]=n):n=l[7];let d;return l[8]!==e||l[9]!==a||l[10]!==n?(d={queryKey:a,queryFn:n,staleTime:3e4,retry:!1,...e},l[8]=e,l[9]=a,l[10]=n,l[11]=d):d=l[11],c(d)}function De(s){const e=re.c(20),{title:l,value:r,action:o,children:a,className:c}=s;let i;e[0]!==c?(i=de("pt-4 px-4 pb-6 gap-8",c),e[0]=c,e[1]=i):i=e[1];let n;e[2]!==l?(n=t.jsx("span",{className:"text-sm text-foreground/70",children:l}),e[2]=l,e[3]=n):n=e[3];let d;e[4]!==r?(d=t.jsx("span",{className:"text-4xl font-normal",children:r}),e[4]=r,e[5]=d):d=e[5];let h;e[6]!==n||e[7]!==d?(h=t.jsxs("div",{className:"flex flex-col gap-1 min-w-0 flex-1",children:[n,d]}),e[6]=n,e[7]=d,e[8]=h):h=e[8];let f;e[9]!==o?(f=o&&t.jsx("div",{className:"shrink-0",children:o}),e[9]=o,e[10]=f):f=e[10];let v;e[11]!==h||e[12]!==f?(v=t.jsxs("div",{className:"flex items-start justify-between",children:[h,f]}),e[11]=h,e[12]=f,e[13]=v):v=e[13];let N;e[14]!==a?(N=a&&t.jsx("div",{className:"flex flex-col gap-6",children:a}),e[14]=a,e[15]=N):N=e[15];let u;return e[16]!==i||e[17]!==v||e[18]!==N?(u=t.jsxs(Ht,{className:i,children:[v,N]}),e[16]=i,e[17]=v,e[18]=N,e[19]=u):u=e[19],u}function jt(s){const e=re.c(14),{metrics:l,connections:r,mode:o,total:a}=s,{org:c}=He(),i=yt();let n,d,h;if(e[0]!==r||e[1]!==l||e[2]!==o||e[3]!==i||e[4]!==c||e[5]!==a){h=Symbol.for("react.early_return_sentinel");e:{const v=r??[],N=new Map(l.map(tl));let u;e[9]!==o?(u=(g,j)=>{const m=Dt(g.metric,o);return Dt(j.metric,o)-m},e[9]=o,e[10]=u):u=e[10];const D=v.map(g=>({connection:g,metric:N.get(g.id)})).filter(el).sort(u).slice(0,4);if(D.length===0){h=null;break e}n="flex flex-col",d=D.map((g,j)=>{const{connection:m,metric:C}=g,w=a>0?(C.calls/a*100).toFixed(1):"0.0",p=o==="errors"?`${C.errorRate.toFixed(1)}%`:`${w}%`,T=j===D.length-1;return t.jsxs("div",{className:de("flex items-center h-10 px-3 cursor-pointer hover:bg-accent/50 transition-colors",!T&&"border-b border-border/50"),onClick:()=>i({to:"/$org/settings/connections/$appSlug",params:{org:c.slug,appSlug:Vt(m)}}),children:[t.jsxs("div",{className:"flex flex-1 items-center gap-2 min-w-0",children:[t.jsx(Be,{icon:m.icon,name:m.title,size:"xs",fallbackIcon:t.jsx(rt,{}),className:"shrink-0 size-6! min-w-6! rounded-md"}),t.jsx("span",{className:"text-sm text-muted-foreground flex-1 truncate",children:m.title})]}),t.jsxs("div",{className:"flex items-center gap-2 shrink-0 px-3",children:[t.jsx("span",{className:"text-sm text-foreground/30 tabular-nums",children:p}),t.jsx("span",{className:"text-sm text-foreground tabular-nums",children:ds(C,o)})]})]},m.id)})}e[0]=r,e[1]=l,e[2]=o,e[3]=i,e[4]=c,e[5]=a,e[6]=n,e[7]=d,e[8]=h}else n=e[6],d=e[7],h=e[8];if(h!==Symbol.for("react.early_return_sentinel"))return h;let f;return e[11]!==n||e[12]!==d?(f=t.jsx("div",{className:n,children:d}),e[11]=n,e[12]=d,e[13]=f):f=e[13],f}function el(s){return s.metric}function tl(s){return[s.connectionId,s]}const At=["var(--chart-1)","var(--chart-2)","var(--chart-3)","var(--chart-4)","var(--chart-5)"];function Et(s){let e=0;for(let l=0;l<s.length;l++)e=e*31+s.charCodeAt(l)>>>0;return At[e%At.length]}function Je(s){const e=re.c(21),{models:l,mode:r}=s,o=r===void 0?"calls":r;if(l.length===0)return null;let a;e[0]!==o?(a=u=>o==="tokens"?(u.inputTokens??0)+(u.outputTokens??0):o==="cost"?u.costUsd??0:u.calls,e[0]=o,e[1]=a):a=e[1];const c=a;let i;e[2]!==o?(i=u=>o==="cost"?Pt(u):o==="tokens"?it(u):u.toLocaleString(),e[2]=o,e[3]=i):i=e[3];const n=i;let d;e[4]!==c?(d=(u,D)=>u+c(D),e[4]=c,e[5]=d):d=e[5];const h=l.reduce(d,0);let f,v;if(e[6]!==n||e[7]!==l||e[8]!==h||e[9]!==c){let u;e[12]!==c?(u=(j,m)=>c(m)-c(j),e[12]=c,e[13]=u):u=e[13];const D=[...l].sort(u).slice(0,4);f="flex flex-col";let g;e[14]!==n||e[15]!==h||e[16]!==c?(g=(j,m,C)=>{const w=c(j),p=h>0?(w/h*100).toFixed(1):"0.0",T=m===C.length-1;return t.jsxs("div",{className:de("flex items-center h-10 px-3",!T&&"border-b border-border/50"),children:[t.jsxs("div",{className:"flex flex-1 items-center gap-2 min-w-0",children:[t.jsx("div",{className:"size-6 rounded-md border border-border/10 shadow-sm flex items-center justify-center shrink-0",style:{backgroundColor:`color-mix(in oklch, ${Et(j.toolName)} 18%, transparent)`},children:t.jsx(rt,{size:14,style:{color:Et(j.toolName)}})}),t.jsx("span",{className:"text-sm text-muted-foreground flex-1 truncate",children:j.toolName})]}),t.jsxs("div",{className:"flex items-center gap-2 shrink-0 px-3",children:[t.jsxs("span",{className:"text-sm text-foreground/30 tabular-nums",children:[p,"%"]}),t.jsx("span",{className:"text-sm text-foreground tabular-nums",children:n(w)})]})]},j.toolName)},e[14]=n,e[15]=h,e[16]=c,e[17]=g):g=e[17],v=D.map(g),e[6]=n,e[7]=l,e[8]=h,e[9]=c,e[10]=f,e[11]=v}else f=e[10],v=e[11];let N;return e[18]!==f||e[19]!==v?(N=t.jsx("div",{className:f,children:v}),e[18]=f,e[19]=v,e[20]=N):N=e[20],N}function sl(s){const e=re.c(48),{displayDateRange:l,connectionIds:r,excludeConnectionIds:o,toolName:a,status:c,connections:i,isStreaming:n,streamingRefetchInterval:d,llmUserIds:h}=s,f=cs(l),v=n?d:!1;let N;e[0]!==v?(N={refetchInterval:v},e[0]=v,e[1]=N):N=e[1];const{data:u,isError:D}=Ys({interval:f,startDate:l.startDate.toISOString(),endDate:l.endDate.toISOString(),connectionIds:r.length>0?r:void 0,excludeConnectionIds:o,toolNames:a?[a]:void 0,status:c},N);let g;e[2]!==v?(g={refetchInterval:v},e[2]=v,e[3]=g):g=e[3];const{data:j,isError:m}=Zs({interval:f,startDate:l.startDate.toISOString(),endDate:l.endDate.toISOString(),userIds:h?.length?h:void 0},g),C=D||m,w=u?{totalCalls:u.totalCalls,totalErrors:u.totalErrors,avgDurationMs:u.avgDurationMs,p95DurationMs:u.p95DurationMs,data:Mt(u.timeseries,l,f)}:{totalCalls:0,totalErrors:0,avgDurationMs:0,p95DurationMs:0,data:[]},p=j?{totalCalls:j.totalCalls,totalErrors:j.totalErrors,avgDurationMs:j.avgDurationMs,p95DurationMs:j.p95DurationMs,data:Mt(j.timeseries,l,f)}:{totalCalls:0,totalErrors:0,avgDurationMs:0,p95DurationMs:0,data:[]};let T;e[4]!==j?.topTools?(T=j?.topTools??[],e[4]=j?.topTools,e[5]=T):T=e[5];const S=T,x=j?.totalInputTokens??0,M=j?.totalOutputTokens??0,b=j?.totalTokens??0,_=j?.totalCostUsd??0;let k;e[6]!==u?.connectionBreakdown?(k=u?.connectionBreakdown??[],e[6]=u?.connectionBreakdown,e[7]=k):k=e[7];const O=k,[L,E]=q.useState("avg");let P;e[8]!==C?(P=C&&t.jsxs(Ds,{variant:"destructive",children:[t.jsx(ls,{}),t.jsxs("div",{className:"flex flex-col gap-1",children:[t.jsx(Ls,{children:"Failed to load monitoring data"}),t.jsx(Fs,{children:"We couldn't fetch your monitoring stats right now. Please try again later."})]})]}),e[8]=C,e[9]=P):P=e[9];let X;e[10]===Symbol.for("react.memo_cache_sentinel")?(X=ce=>E(ce),e[10]=X):X=e[10];let I;e[11]===Symbol.for("react.memo_cache_sentinel")?(I=t.jsx(Xe,{className:"w-[120px]",children:t.jsx(Ye,{})}),e[11]=I):I=e[11];let F;e[12]===Symbol.for("react.memo_cache_sentinel")?(F=t.jsxs(Ze,{children:[t.jsx(ge,{value:"avg",children:"Avg"}),t.jsx(ge,{value:"p95",children:"P95"})]}),e[12]=F):F=e[12];let R;e[13]!==L?(R=t.jsxs(et,{value:L,onValueChange:X,children:[I,F]}),e[13]=L,e[14]=R):R=e[14];let z;e[15]===Symbol.for("react.memo_cache_sentinel")?(z=t.jsxs("div",{className:"flex items-center gap-3 pt-4",children:[t.jsx("div",{className:"h-px flex-1 bg-border"}),t.jsx("span",{className:"text-xs font-medium text-muted-foreground uppercase tracking-wider",children:"AI Usage"}),t.jsx("div",{className:"h-px flex-1 bg-border"})]}),e[15]=z):z=e[15];let A;e[16]!==S?(A=t.jsx(Je,{models:S,mode:"calls"}),e[16]=S,e[17]=A):A=e[17];let K;e[18]!==b?(K=it(b),e[18]=b,e[19]=K):K=e[19];let B;e[20]!==x?(B=it(x),e[20]=x,e[21]=B):B=e[21];let V;e[22]!==M?(V=it(M),e[22]=M,e[23]=V):V=e[23];let Y;e[24]!==B||e[25]!==V?(Y=t.jsxs("span",{className:"text-xs text-muted-foreground tabular-nums",children:[B," in ·"," ",V," out"]}),e[24]=B,e[25]=V,e[26]=Y):Y=e[26];let H;e[27]!==S?(H=t.jsx(Je,{models:S,mode:"tokens"}),e[27]=S,e[28]=H):H=e[28];let Q;e[29]!==_?(Q=_>0?Pt(_):"—",e[29]=_,e[30]=Q):Q=e[30];let U;e[31]!==_?(U=_===0?t.jsx("span",{className:"text-xs text-muted-foreground",children:"No provider cost data"}):void 0,e[31]=_,e[32]=U):U=e[32];let y;e[33]!==S||e[34]!==_?(y=_>0?t.jsx(Je,{models:S,mode:"cost"}):t.jsx("div",{className:"flex items-center justify-center h-20 text-center text-xs text-muted-foreground px-4",children:"Cost is reported only for the deco AI Gateway and OpenRouter providers."}),e[33]=S,e[34]=_,e[35]=y):y=e[35];let $;e[36]!==S?($=t.jsx(Je,{models:S,mode:"calls"}),e[36]=S,e[37]=$):$=e[37];const J=De,te="AI Errors",G=p.totalErrors.toLocaleString();let le;e[38]!==p.data?(le=t.jsx(Me,{data:p.data,dataKey:"errors",colorNum:3,chartHeight:"h-[80px] md:h-[120px]"}),e[38]=p.data,e[39]=le):le=e[39];let W;e[40]!==S||e[41]!==p.totalErrors?(W=p.totalErrors===0?t.jsx("div",{className:"flex items-center justify-center h-20 text-sm text-muted-foreground",children:"No AI errors in this period"}):t.jsx(Je,{models:S,mode:"calls"}),e[40]=S,e[41]=p.totalErrors,e[42]=W):W=e[42];let ne;return e[43]!==J||e[44]!==G||e[45]!==le||e[46]!==W?(ne=t.jsxs(J,{title:te,value:G,children:[le,W]}),e[43]=J,e[44]=G,e[45]=le,e[46]=W,e[47]=ne):ne=e[47],t.jsxs("div",{className:"flex flex-col gap-4 px-4 md:px-10 pt-2 pb-6 max-w-[1200px] mx-auto w-full overflow-auto",children:[P,t.jsxs(De,{title:"Tool Calls",value:w.totalCalls.toLocaleString(),children:[t.jsx(Me,{data:w.data,dataKey:"calls",colorNum:1,chartHeight:"h-[120px] md:h-[180px]",variant:"area"}),t.jsx(jt,{metrics:O,connections:i,mode:"requests",total:w.totalCalls})]}),t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[t.jsxs(De,{title:"Latency",value:pt(L==="avg"?w.avgDurationMs:w.p95DurationMs),action:R,children:[t.jsx(Me,{data:w.data,dataKey:L,colorNum:4,chartHeight:"h-[120px] md:h-[180px]"}),t.jsx(jt,{metrics:O,connections:i,mode:"latency",total:w.totalCalls})]}),t.jsxs(De,{title:"Errors",value:w.totalErrors.toLocaleString(),children:[t.jsx(Me,{data:w.data,dataKey:"errors",colorNum:3,chartHeight:"h-[120px] md:h-[180px]"}),w.totalErrors===0?t.jsx("div",{className:"flex items-center justify-center h-20 text-sm text-muted-foreground",children:"No errors in this period"}):t.jsx(jt,{metrics:O,connections:i,mode:"errors",total:w.totalErrors})]})]}),z,t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[t.jsxs(De,{title:"AI Calls",value:p.totalCalls.toLocaleString(),children:[t.jsx(Me,{data:p.data,dataKey:"calls",colorNum:1,chartHeight:"h-[80px] md:h-[120px]"}),A]}),t.jsxs(De,{title:"Tokens",value:K,action:Y,children:[t.jsx(Me,{data:p.data,dataKey:"totalTokens",colorNum:2,chartHeight:"h-[80px] md:h-[120px]"}),H]}),t.jsxs(De,{title:"Cost",value:Q,action:U,children:[t.jsx(Me,{data:p.data,dataKey:"costUsd",colorNum:5,chartHeight:"h-[80px] md:h-[120px]"}),y]})]}),t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[t.jsxs(De,{title:"AI Latency",value:pt(p.avgDurationMs),action:t.jsxs("span",{className:"text-xs text-muted-foreground",children:["p95: ",pt(p.p95DurationMs)]}),children:[t.jsx(Me,{data:p.data,dataKey:"avg",colorNum:4,chartHeight:"h-[80px] md:h-[120px]"}),$]}),ne]})]})}function Ke(s){const e=re.c(8),{className:l}=s;let r;e[0]!==l?(r=de("pt-4 px-4 pb-6 gap-8",l),e[0]=l,e[1]=r):r=e[1];let o;e[2]===Symbol.for("react.memo_cache_sentinel")?(o=t.jsxs("div",{className:"flex items-start justify-between",children:[t.jsxs("div",{className:"flex flex-col gap-1",children:[t.jsx("div",{className:"h-5 w-20 rounded bg-muted animate-pulse"}),t.jsx("div",{className:"h-10 w-14 rounded bg-muted animate-pulse"})]}),t.jsx("div",{className:"h-8 w-[120px] rounded-md bg-muted animate-pulse"})]}),e[2]=o):o=e[2];let a;e[3]===Symbol.for("react.memo_cache_sentinel")?(a=t.jsx("div",{className:"h-[180px] w-full rounded bg-muted/60 animate-pulse"}),e[3]=a):a=e[3];let c;e[4]===Symbol.for("react.memo_cache_sentinel")?(c=Array.from({length:4}).map(ll),e[4]=c):c=e[4];let i;e[5]===Symbol.for("react.memo_cache_sentinel")?(i=t.jsxs("div",{className:"flex flex-col gap-6",children:[a,t.jsxs("div",{className:"flex flex-col",children:[c,t.jsx("div",{className:"flex items-center h-10 px-4 gap-2",children:t.jsx("div",{className:"h-4 w-14 rounded bg-muted animate-pulse"})})]})]}),e[5]=i):i=e[5];let n;return e[6]!==r?(n=t.jsxs(Ht,{className:r,children:[o,i]}),e[6]=r,e[7]=n):n=e[7],n}function ll(s,e){return t.jsxs("div",{className:de("flex items-center h-10 px-3",e<3&&"border-b border-border/50"),children:[t.jsxs("div",{className:"flex flex-1 items-center gap-2",children:[t.jsx("div",{className:"size-6 rounded-md bg-muted animate-pulse shrink-0"}),t.jsx("div",{className:"h-4 w-24 rounded bg-muted animate-pulse"})]}),t.jsxs("div",{className:"flex items-center gap-2 px-3",children:[t.jsx("div",{className:"h-4 w-10 rounded bg-muted animate-pulse"}),t.jsx("div",{className:"h-4 w-10 rounded bg-muted animate-pulse"})]})]},e)}function rl(){const s=re.c(4);let e;s[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(Ke,{}),s[0]=e):e=s[0];let l,r;s[1]===Symbol.for("react.memo_cache_sentinel")?(l=t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[t.jsx(Ke,{}),t.jsx(Ke,{})]}),r=t.jsx("div",{className:"border-t border-border"}),s[1]=l,s[2]=r):(l=s[1],r=s[2]);let o;return s[3]===Symbol.for("react.memo_cache_sentinel")?(o=t.jsxs("div",{className:"flex flex-col gap-4 px-4 md:px-10 pt-8 md:pt-12 pb-6 max-w-[1200px] mx-auto w-full",children:[e,l,r,t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[t.jsx(Ke,{}),t.jsx(Ke,{}),t.jsx(Ke,{})]})]}),s[3]=o):o=s[3],o}function al(s){const e=re.c(46),{log:l,connection:r,virtualMcpName:o,virtualMcpIcon:a,onClick:c,lastLogRef:i}=s;let n,d;if(e[0]!==l.timestamp){const L=new Date(l.timestamp);n=L.toLocaleDateString("en-US",{month:"short",day:"numeric"}),d=L.toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit"}),e[0]=l.timestamp,e[1]=n,e[2]=d}else n=e[1],d=e[2];const h=d,f=r?.icon||null,v=r?.title??l.connectionId;let N;e[3]!==f||e[4]!==v?(N=t.jsx($e,{className:"w-12 md:w-16 px-2 md:px-4",children:t.jsx("div",{className:"flex items-center justify-center",children:t.jsx(Be,{icon:f,name:v,size:"xs",className:"shadow-sm"})})}),e[3]=f,e[4]=v,e[5]=N):N=e[5];let u;e[6]!==l.toolName?(u=t.jsx("div",{className:"font-medium text-foreground truncate block",children:l.toolName}),e[6]=l.toolName,e[7]=u):u=e[7];const D=r?.title??l.connectionId;let g;e[8]!==D?(g=t.jsx("div",{className:"text-muted-foreground truncate block text-xs",children:D}),e[8]=D,e[9]=g):g=e[9];let j;e[10]!==u||e[11]!==g?(j=t.jsxs($e,{className:"min-w-0 pr-2 md:pr-4",children:[u,g]}),e[10]=u,e[11]=g,e[12]=j):j=e[12];let m;e[13]!==a||e[14]!==o?(m=t.jsx($e,{className:"w-36 md:w-44 px-2 md:px-3 text-muted-foreground",children:o?t.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[t.jsx(Be,{icon:a,name:o,size:"xs",fallbackIcon:t.jsx(rt,{}),className:"shrink-0 size-5! min-w-5! rounded-md"}),t.jsx("span",{className:"truncate",children:o})]}):t.jsx("span",{className:"text-muted-foreground/40",children:"—"})}),e[13]=a,e[14]=o,e[15]=m):m=e[15];let C;e[16]!==l.userImage||e[17]!==l.userName?(C=t.jsx(Bt,{url:l.userImage,fallback:l.userName,shape:"circle",size:"2xs",className:"shrink-0"}),e[16]=l.userImage,e[17]=l.userName,e[18]=C):C=e[18];let w;e[19]!==l.userName?(w=t.jsx("span",{className:"truncate",children:l.userName}),e[19]=l.userName,e[20]=w):w=e[20];let p;e[21]!==C||e[22]!==w?(p=t.jsx($e,{className:"w-28 md:w-36 px-2 md:px-3 text-muted-foreground",children:t.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[C,w]})}),e[21]=C,e[22]=w,e[23]=p):p=e[23];let T;e[24]!==n?(T=t.jsx("div",{children:n}),e[24]=n,e[25]=T):T=e[25];let S;e[26]!==h?(S=t.jsx("div",{className:"text-xs text-muted-foreground/60",children:h}),e[26]=h,e[27]=S):S=e[27];let x;e[28]!==T||e[29]!==S?(x=t.jsxs($e,{className:"w-32 md:w-40 px-2 md:px-3 text-muted-foreground",children:[T,S]}),e[28]=T,e[29]=S,e[30]=x):x=e[30];let M;e[31]!==l.durationMs?(M=t.jsxs($e,{className:"w-16 md:w-20 px-2 md:px-3 text-muted-foreground font-mono",children:[l.durationMs,"ms"]}),e[31]=l.durationMs,e[32]=M):M=e[32];const b=l.isError?"destructive":"success",_=l.isError?"Error":"OK";let k;e[33]!==b||e[34]!==_?(k=t.jsx($e,{className:"w-16 md:w-24 px-2 md:px-3 pr-3 md:pr-5",children:t.jsx("div",{className:"flex items-center justify-end",children:t.jsx(qe,{variant:b,className:"px-1.5 md:px-2 py-0.5 md:py-1",children:_})})}),e[33]=b,e[34]=_,e[35]=k):k=e[35];let O;return e[36]!==i||e[37]!==c||e[38]!==p||e[39]!==x||e[40]!==M||e[41]!==k||e[42]!==N||e[43]!==j||e[44]!==m?(O=t.jsxs(xt,{ref:i,className:"h-14 md:h-16 transition-colors cursor-pointer hover:bg-muted/40 border-b-0",onClick:c,children:[N,j,m,p,x,M,k]}),e[36]=i,e[37]=c,e[38]=p,e[39]=x,e[40]=M,e[41]=k,e[42]=N,e[43]=j,e[44]=m,e[45]=O):O=e[45],O}function ol(s){const e=re.c(26),{connectionIds:l,virtualMcpIds:r,tool:o,status:a,search:c,logs:i,hasMore:n,onLoadMore:d,isLoadingMore:h,connections:f,virtualMcps:v,membersData:N,client:u}=s,D=f??[],g=v??[],[j,m]=q.useState(null),C=Ps(d,n,h),w=Ut(N),p=new Map(w.map(dl)),T=new Map(g.map(cl));let x=i.map(y=>{const $=p.get(y.userId??""),J=y.virtualMcpId?T.get(y.virtualMcpId):null;return{...y,userName:$?.name??y.userId??"Unknown",userImage:$?.image??void 0,virtualMcpName:J?.title??null,virtualMcpIcon:J?.icon??null}});if(l.length>1){let y;e[0]!==l?(y=$=>l.includes($.connectionId),e[0]=l,e[1]=y):y=e[1],x=x.filter(y)}if(r.length>1){let y;e[2]!==r?(y=$=>$.virtualMcpId&&r.includes($.virtualMcpId),e[2]=r,e[3]=y):y=e[3],x=x.filter(y)}const M=new Map(D.map(il));if(c){const y=c.toLowerCase();x=x.filter($=>$.toolName.toLowerCase().includes(y)||(M.get($.connectionId)?.title??$.connectionId).toLowerCase().includes(y)||$.errorMessage?.toLowerCase().includes(y))}const b=j!==null?x[j]??null:null,_=wt({queryKey:ut.monitoringLogDetail(b?.id??""),queryFn:async()=>{if(!u)throw new Error("MCP client is not available");const y=await u.callTool({name:"MONITORING_LOG_GET",arguments:{id:b.id}});return y.structuredContent??y},enabled:b!==null}),k=_.data?.log,O=b&&k?{...b,input:k.input,output:k.output}:b;if(x.length===0){let y;e[4]===Symbol.for("react.memo_cache_sentinel")?(y=t.jsx("img",{src:"/empty-state-logs.svg",alt:"",width:336,height:320,"aria-hidden":"true"}),e[4]=y):y=e[4];const $=c||l.length>0||r.length>0||o||a!=="all"?"No logs match your filters":"No logs found in this time range";let J;return e[5]!==$?(J=t.jsx("div",{className:"flex-1 flex items-center justify-center",children:t.jsx(St,{image:y,title:"No logs found",description:$})}),e[5]=$,e[6]=J):J=e[6],J}const L="flex-1 flex flex-col min-w-0",E="flex-1 min-w-0 pt-1",P="min-w-[600px] md:min-w-0",X=Gt,I="w-full border-collapse";let F;e[7]===Symbol.for("react.memo_cache_sentinel")?(F=t.jsx(Wt,{className:"border-b-0 z-20",children:t.jsxs(xt,{className:"h-9 hover:bg-transparent border-b border-border",children:[t.jsx(oe,{className:"w-5"}),t.jsx(oe,{className:"pr-2 md:pr-4 text-xs font-mono font-normal text-muted-foreground uppercase tracking-wide",children:"Tool / Connection"}),t.jsx(oe,{className:"w-36 md:w-44 px-2 md:px-3 text-xs font-mono font-normal text-muted-foreground uppercase tracking-wide",children:"Agent"}),t.jsx(oe,{className:"w-28 md:w-36 px-2 md:px-3 text-xs font-mono font-normal text-muted-foreground uppercase tracking-wide",children:"User"}),t.jsx(oe,{className:"w-32 md:w-40 px-2 md:px-3 text-xs font-mono font-normal text-muted-foreground uppercase tracking-wide",children:"Date"}),t.jsx(oe,{className:"w-16 md:w-20 px-2 md:px-3 text-xs font-mono font-normal text-muted-foreground uppercase tracking-wide",children:"Latency"}),t.jsx(oe,{className:"w-16 md:w-24 px-2 md:px-3 text-xs font-mono font-normal text-muted-foreground uppercase tracking-wide text-right pr-3 md:pr-5",children:"Status"})]})}),e[7]=F):F=e[7];const R=Qt,z=x.map((y,$)=>t.jsx(al,{log:y,connection:M.get(y.connectionId),virtualMcpName:y.virtualMcpName??"",virtualMcpIcon:y.virtualMcpIcon,onClick:()=>m($),lastLogRef:$===x.length-1?C:void 0},y.id));let A;e[8]!==R||e[9]!==z?(A=t.jsx(R,{children:z}),e[8]=R,e[9]=z,e[10]=A):A=e[10];let K;e[11]!==X||e[12]!==F||e[13]!==A?(K=t.jsx("div",{className:E,children:t.jsx("div",{className:P,children:t.jsxs(X,{className:I,children:[F,A]})})}),e[11]=X,e[12]=F,e[13]=A,e[14]=K):K=e[14];const B=j!==null;let V;e[15]!==m?(V=y=>{y||m(null)},e[15]=m,e[16]=V):V=e[16];const Y=b&&j!==null&&t.jsxs(t.Fragment,{children:[t.jsx(Rs,{className:"px-5 md:px-6 pt-6 pb-5 border-b border-border shrink-0",children:t.jsxs("div",{className:"flex items-start justify-between gap-3 pr-8",children:[t.jsxs("div",{className:"flex items-center gap-3 min-w-0",children:[t.jsx(Be,{icon:M.get(b.connectionId)?.icon||null,name:M.get(b.connectionId)?.title??b.connectionId,size:"sm",className:"shadow-sm shrink-0"}),t.jsxs("div",{className:"min-w-0",children:[t.jsx(Os,{className:"text-sm leading-snug truncate",children:b.toolName}),t.jsx("p",{className:"text-xs text-muted-foreground mt-0.5 truncate",children:M.get(b.connectionId)?.title??b.connectionId})]})]}),t.jsxs("div",{className:"flex items-center gap-0.5 shrink-0",children:[t.jsx(Z,{size:"icon",variant:"ghost",onClick:()=>m(nl),disabled:j===0,className:"h-7 w-7 text-muted-foreground","aria-label":"Previous entry",children:t.jsx(Es,{size:14})}),t.jsx(Z,{size:"icon",variant:"ghost",onClick:()=>m(y=>y!==null&&y<x.length-1?y+1:y),disabled:j===x.length-1,className:"h-7 w-7 text-muted-foreground","aria-label":"Next entry",children:t.jsx(Kt,{size:14})})]})]})}),t.jsx("div",{className:"flex-1 overflow-y-auto min-h-0",children:_.isLoading?t.jsx("div",{className:"flex items-center justify-center py-12",children:t.jsx("div",{className:"size-5 border-2 border-muted-foreground/30 border-t-muted-foreground rounded-full animate-spin"})}):_.isError?t.jsxs("div",{className:"flex flex-col items-center justify-center py-12 gap-3 text-sm text-muted-foreground",children:[t.jsx("p",{children:"Failed to load log details"}),t.jsx(Z,{variant:"outline",size:"sm",onClick:()=>_.refetch(),children:"Retry"})]}):t.jsx(Bs,{log:O})})]});let H;e[17]!==Y?(H=t.jsx(zs,{className:"sm:max-w-2xl flex flex-col p-0 gap-0",children:Y}),e[17]=Y,e[18]=H):H=e[18];let Q;e[19]!==V||e[20]!==H||e[21]!==B?(Q=t.jsx(As,{open:B,onOpenChange:V,children:H}),e[19]=V,e[20]=H,e[21]=B,e[22]=Q):Q=e[22];let U;return e[23]!==Q||e[24]!==K?(U=t.jsxs("div",{className:L,children:[K,Q]}),e[23]=Q,e[24]=K,e[25]=U):U=e[25],U}function nl(s){return s!==null&&s>0?s-1:s}function il(s){return[s.id,s]}function cl(s){return[s.id,s]}function dl(s){return[s.userId,s.user]}function ml(){const s=re.c(8);let e;s[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(oe,{className:"w-12 md:w-16 px-2 md:px-4"}),s[0]=e):e=s[0];let l;s[1]===Symbol.for("react.memo_cache_sentinel")?(l=t.jsx(oe,{className:"pr-2 md:pr-4",children:t.jsx("div",{className:"h-3 w-24 rounded bg-muted animate-pulse"})}),s[1]=l):l=s[1];let r;s[2]===Symbol.for("react.memo_cache_sentinel")?(r=t.jsx(oe,{className:"w-24 md:w-32 px-2 md:px-3",children:t.jsx("div",{className:"h-3 w-12 rounded bg-muted animate-pulse"})}),s[2]=r):r=s[2];let o;s[3]===Symbol.for("react.memo_cache_sentinel")?(o=t.jsx(oe,{className:"w-20 md:w-24 px-2 md:px-3",children:t.jsx("div",{className:"h-3 w-16 rounded bg-muted animate-pulse"})}),s[3]=o):o=s[3];let a;s[4]===Symbol.for("react.memo_cache_sentinel")?(a=t.jsx(oe,{className:"w-32 md:w-40 px-2 md:px-3",children:t.jsx("div",{className:"h-3 w-10 rounded bg-muted animate-pulse"})}),s[4]=a):a=s[4];let c;s[5]===Symbol.for("react.memo_cache_sentinel")?(c=t.jsx(oe,{className:"w-16 md:w-20 px-2 md:px-3",children:t.jsx("div",{className:"h-3 w-10 rounded bg-muted animate-pulse ml-auto"})}),s[5]=c):c=s[5];let i;s[6]===Symbol.for("react.memo_cache_sentinel")?(i=t.jsx(Wt,{className:"border-b-0 z-20",children:t.jsxs(xt,{className:"h-9 hover:bg-transparent border-b border-border",children:[e,l,r,o,a,c,t.jsx(oe,{className:"w-16 md:w-24 px-2 md:px-3 pr-3 md:pr-5",children:t.jsx("div",{className:"h-3 w-12 rounded bg-muted animate-pulse ml-auto"})})]})}),s[6]=i):i=s[6];let n;return s[7]===Symbol.for("react.memo_cache_sentinel")?(n=t.jsx("div",{className:"flex-1 flex flex-col overflow-auto min-w-0",children:t.jsx("div",{className:"mx-auto w-full max-w-[1200px] px-4 md:px-10 flex flex-col flex-1 min-h-0",children:t.jsxs(Gt,{className:"w-full border-collapse",children:[i,t.jsx(Qt,{children:Array.from({length:8}).map(ul)})]})})}),s[7]=n):n=s[7],n}function ul(s,e){return t.jsxs(xt,{className:"h-14 border-b border-border hover:bg-transparent",children:[t.jsx("td",{className:"px-2 md:px-4",children:t.jsx("div",{className:"size-5 rounded bg-muted animate-pulse"})}),t.jsx("td",{className:"pr-2 md:pr-4",children:t.jsxs("div",{className:"space-y-1",children:[t.jsx("div",{className:"h-3.5 w-32 rounded bg-muted animate-pulse"}),t.jsx("div",{className:"h-2.5 w-20 rounded bg-muted animate-pulse"})]})}),t.jsx("td",{className:"px-2 md:px-3",children:t.jsx("div",{className:"h-3 w-16 rounded bg-muted animate-pulse"})}),t.jsx("td",{className:"px-2 md:px-3",children:t.jsx("div",{className:"h-3 w-14 rounded bg-muted animate-pulse"})}),t.jsx("td",{className:"px-2 md:px-3",children:t.jsx("div",{className:"h-3 w-16 rounded bg-muted animate-pulse"})}),t.jsx("td",{className:"px-2 md:px-3",children:t.jsxs("div",{className:"space-y-1",children:[t.jsx("div",{className:"h-3 w-14 rounded bg-muted animate-pulse"}),t.jsx("div",{className:"h-2.5 w-20 rounded bg-muted animate-pulse"})]})}),t.jsx("td",{className:"px-2 md:px-3",children:t.jsx("div",{className:"h-3 w-10 rounded bg-muted animate-pulse ml-auto"})}),t.jsx("td",{className:"px-2 md:px-3 pr-3 md:pr-5",children:t.jsx("div",{className:"h-5 w-14 rounded-full bg-muted animate-pulse ml-auto"})})]},e)}const bt=Object.assign(ol,{Skeleton:ml});function xl(s){const e=re.c(34),{client:l,locator:r,baseParams:o,pageSize:a,isStreaming:c,streamingRefetchInterval:i,connectionIds:n,virtualMcpIds:d,tool:h,status:f,searchQuery:v,allConnections:N,allVirtualMcps:u,membersData:D}=s;let g;e[0]!==o||e[1]!==r?(g=ut.monitoringLogsInfinite(r,JSON.stringify(o)),e[0]=o,e[1]=r,e[2]=g):g=e[2];let j;e[3]!==o||e[4]!==l||e[5]!==a?(j=async E=>{const{pageParam:P}=E,X=P===void 0?0:P;if(!l)throw new Error("MCP client is not available");const I=await l.callTool({name:"MONITORING_LOGS_LIST",arguments:{...o,limit:a,offset:X}});return I.structuredContent??I},e[3]=o,e[4]=l,e[5]=a,e[6]=j):j=e[6];let m;e[7]!==a?(m=(E,P)=>{if(!((E?.logs?.length??0)<a))return P.length*a},e[7]=a,e[8]=m):m=e[8];const C=c?i:!1;let w;e[9]!==g||e[10]!==j||e[11]!==m||e[12]!==C?(w={queryKey:g,queryFn:j,initialPageParam:0,getNextPageParam:m,staleTime:0,refetchInterval:C},e[9]=g,e[10]=j,e[11]=m,e[12]=C,e[13]=w):w=e[13];const{data:p,fetchNextPage:T,hasNextPage:S,isFetchingNextPage:x}=$s(w);let M;e[14]!==p.pages?(M=p.pages.flatMap(fl),e[14]=p.pages,e[15]=M):M=e[15];const b=M;let _;e[16]!==T||e[17]!==S||e[18]!==x?(_=()=>{S&&!x&&T()},e[16]=T,e[17]=S,e[18]=x,e[19]=_):_=e[19];const k=_,O=S??!1;let L;return e[20]!==N||e[21]!==u||e[22]!==l||e[23]!==n||e[24]!==k||e[25]!==x||e[26]!==D||e[27]!==b||e[28]!==v||e[29]!==f||e[30]!==O||e[31]!==h||e[32]!==d?(L=t.jsx("div",{className:"flex-1 flex flex-col overflow-auto min-w-0",children:t.jsx("div",{className:"mx-auto w-full max-w-[1200px] px-4 md:px-10 flex flex-col flex-1 min-h-0",children:t.jsx("div",{className:"flex-1 flex flex-col min-w-0",children:t.jsx(bt,{connectionIds:n,virtualMcpIds:d,tool:h,status:f,search:v,logs:b,hasMore:O,onLoadMore:k,isLoadingMore:x,connections:N,virtualMcps:u,membersData:D,client:l})})})}),e[20]=N,e[21]=u,e[22]=l,e[23]=n,e[24]=k,e[25]=x,e[26]=D,e[27]=b,e[28]=v,e[29]=f,e[30]=O,e[31]=h,e[32]=d,e[33]=L):L=e[33],L}function fl(s){return s.logs??[]}function pl(s){const e=re.c(43),{filterAgentIds:l,filterUserIds:r,filterStatus:o,virtualMcpOptions:a,memberOptions:c,activeFiltersCount:i,onUpdateFilters:n}=s,[d,h]=q.useState(!1);let f,v;e[0]===Symbol.for("react.memo_cache_sentinel")?(f=t.jsx(It,{size:16}),v=t.jsx("span",{className:"hidden sm:inline",children:"Filters"}),e[0]=f,e[1]=v):(f=e[0],v=e[1]);let N;e[2]!==i?(N=i>0&&t.jsxs(t.Fragment,{children:[t.jsx(qe,{variant:"default",className:"sm:hidden absolute -top-1.5 -right-1.5 h-4 min-w-4 px-1 text-[10px] leading-none",children:i}),t.jsx(qe,{variant:"default",className:"hidden sm:flex ml-1 h-5 w-5 rounded-full p-0 items-center justify-center text-xs",children:i})]}),e[2]=i,e[3]=N):N=e[3];let u;e[4]!==N?(u=t.jsx(st,{asChild:!0,children:t.jsxs(Z,{variant:"outline",className:"relative",children:[f,v,N]})}),e[4]=N,e[5]=u):u=e[5];let D;e[6]===Symbol.for("react.memo_cache_sentinel")?(D=t.jsx("h4",{className:"font-medium text-sm",children:"Filter Chats"}),e[6]=D):D=e[6];let g;e[7]===Symbol.for("react.memo_cache_sentinel")?(g=t.jsx("label",{className:"text-xs font-medium text-muted-foreground mb-1.5 block",children:"Agent"}),e[7]=g):g=e[7];let j;e[8]!==n?(j=E=>n({filterAgentIds:E.slice(0,1)}),e[8]=n,e[9]=j):j=e[9];let m;e[10]!==l||e[11]!==j||e[12]!==a?(m=t.jsxs("div",{children:[g,t.jsx(We,{options:a,defaultValue:l,onValueChange:j,placeholder:"All agents",variant:"secondary",className:"w-full",maxCount:1})]}),e[10]=l,e[11]=j,e[12]=a,e[13]=m):m=e[13];let C;e[14]===Symbol.for("react.memo_cache_sentinel")?(C=t.jsx("label",{className:"text-xs font-medium text-muted-foreground mb-1.5 block",children:"User"}),e[14]=C):C=e[14];let w;e[15]!==n?(w=E=>n({filterUserIds:E.slice(0,1)}),e[15]=n,e[16]=w):w=e[16];let p;e[17]!==r||e[18]!==c||e[19]!==w?(p=t.jsxs("div",{children:[C,t.jsx(We,{options:c,defaultValue:r,onValueChange:w,placeholder:"All users",variant:"secondary",className:"w-full",maxCount:1})]}),e[17]=r,e[18]=c,e[19]=w,e[20]=p):p=e[20];let T;e[21]===Symbol.for("react.memo_cache_sentinel")?(T=t.jsx("label",{className:"text-xs font-medium text-muted-foreground mb-1.5 block",children:"Status"}),e[21]=T):T=e[21];let S;e[22]!==n?(S=E=>n({filterStatus:E}),e[22]=n,e[23]=S):S=e[23];let x;e[24]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx(Xe,{className:"w-full",children:t.jsx(Ye,{})}),e[24]=x):x=e[24];let M;e[25]===Symbol.for("react.memo_cache_sentinel")?(M=t.jsxs(Ze,{children:[t.jsx(ge,{value:"all",children:"All statuses"}),t.jsx(ge,{value:"completed",children:"Completed"}),t.jsx(ge,{value:"active",children:"Active"}),t.jsx(ge,{value:"failed",children:"Failed"})]}),e[25]=M):M=e[25];let b;e[26]!==o||e[27]!==S?(b=t.jsxs("div",{children:[T,t.jsxs(et,{value:o,onValueChange:S,children:[x,M]})]}),e[26]=o,e[27]=S,e[28]=b):b=e[28];let _;e[29]!==p||e[30]!==b||e[31]!==m?(_=t.jsxs("div",{className:"space-y-3",children:[m,p,b]}),e[29]=p,e[30]=b,e[31]=m,e[32]=_):_=e[32];let k;e[33]!==i||e[34]!==n?(k=i>0&&t.jsx(Z,{variant:"ghost",size:"sm",className:"w-full",onClick:()=>{n({filterAgentIds:[],filterUserIds:[],filterStatus:"all"}),h(!1)},children:"Clear all filters"}),e[33]=i,e[34]=n,e[35]=k):k=e[35];let O;e[36]!==_||e[37]!==k?(O=t.jsx(lt,{align:"end",className:"w-[280px]",children:t.jsxs("div",{className:"space-y-4",children:[D,_,k]})}),e[36]=_,e[37]=k,e[38]=O):O=e[38];let L;return e[39]!==d||e[40]!==O||e[41]!==u?(L=t.jsxs(tt,{open:d,onOpenChange:h,children:[u,O]}),e[39]=d,e[40]=O,e[41]=u,e[42]=L):L=e[42],L}function hl(s){const e=re.c(15),{dateRange:l}=s,{data:r,isLoading:o}=Us(void 0);let a;e[0]!==r?(a=r===void 0?[]:r,e[0]=r,e[1]=a):a=e[1];const c=a,[i,n]=q.useState(null),d=i??c[0]?.id??null,{data:h}=Vs(d??"");let f;e[2]!==l.startDate?(f=l.startDate.toISOString(),e[2]=l.startDate,e[3]=f):f=e[3];let v;e[4]!==l.endDate?(v=l.endDate.toISOString(),e[4]=l.endDate,e[5]=v):v=e[5];let N;e[6]!==f||e[7]!==v?(N={startDate:f,endDate:v},e[6]=f,e[7]=v,e[8]=N):N=e[8];const u=N;let D;return e[9]!==h||e[10]!==c||e[11]!==d||e[12]!==o||e[13]!==u?(D=t.jsx("div",{className:"flex-1 flex flex-col overflow-auto min-w-0",children:t.jsx("div",{className:"mx-auto w-full max-w-[1200px] px-4 md:px-10 flex flex-col flex-1 min-h-0 gap-5 pt-1",children:o?t.jsx("div",{className:"py-16 text-center text-sm text-muted-foreground",children:"Loading…"}):c.length===0?t.jsx("div",{className:"py-16",children:t.jsx(St,{title:"No automations",description:"Create an automation to see its runs and usage here."})}):t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"flex items-center gap-2",children:t.jsxs(et,{value:d??"",onValueChange:g=>n(g),children:[t.jsx(Xe,{className:"w-72",children:t.jsx(Ye,{placeholder:"Select an automation…"})}),t.jsx(Ze,{children:c.map(jl)})]})}),h?t.jsx(ms,{automationId:h.id,triggerIds:h.triggers.map(gl),range:u}):t.jsx("div",{className:"py-16 text-center text-sm text-muted-foreground",children:"Loading…"})]})})}),e[9]=h,e[10]=c,e[11]=d,e[12]=o,e[13]=u,e[14]=D):D=e[14],D}function gl(s){return s.id}function jl(s){return t.jsx(ge,{value:s.id,children:s.name},s.id)}const vl=[{value:"eq",label:"equals"},{value:"contains",label:"contains"},{value:"in",label:"in (list)"},{value:"exists",label:"exists"}];function Nl({connectionIds:s,virtualMcpIds:e,tool:l,status:r,hideSystem:o,propertyFilters:a,connectionOptions:c,virtualMcpOptions:i,activeFiltersCount:n,onUpdateFilters:d,onConnectionSearchChange:h,memberOptions:f,llmUserIds:v=[],onLlmUserIdsChange:N,showMemberFilter:u}){const[D,g]=q.useState(!1),[j,m]=q.useState("form"),[C,w]=q.useState(l),[p,T]=q.useState(a),[S,x]=q.useState(nt(a)),M=q.useRef(l),b=q.useRef(Re(a));M.current!==l&&(M.current=l,C!==l&&w(l));const _=Re(a);b.current!==_&&(b.current=_,T(a),x(nt(a)));const k=(I,F)=>{const R=[...p],z=R[I];z&&(R[I]={key:F.key??z.key,operator:F.operator??z.operator,value:F.value??z.value},T(R))},O=()=>{T([...p,{key:"",operator:"eq",value:""}])},L=I=>{const F=p.filter((R,z)=>z!==I);T(F),x(nt(F)),d({propertyFilters:Re(F)})},E=()=>{d({propertyFilters:Re(p)})},P=()=>{const I=$t(S);T(I),d({propertyFilters:Re(I)})},X=()=>{if(j==="raw"){const I=$t(S);T(I),m("form")}else x(nt(p)),m("raw")};return t.jsxs(tt,{open:D,onOpenChange:g,children:[t.jsx(st,{asChild:!0,children:t.jsxs(Z,{variant:"outline",className:"relative",children:[t.jsx(It,{size:16}),t.jsx("span",{className:"hidden sm:inline",children:"Filters"}),n>0&&t.jsxs(t.Fragment,{children:[t.jsx(qe,{variant:"default",className:"sm:hidden absolute -top-1.5 -right-1.5 h-4 min-w-4 px-1 text-[10px] leading-none",children:n}),t.jsx(qe,{variant:"default",className:"hidden sm:flex ml-1 h-5 w-5 rounded-full p-0 items-center justify-center text-xs",children:n})]})]})}),t.jsx(lt,{align:"end",className:"w-[320px]",children:t.jsxs("div",{className:"space-y-4",children:[t.jsx("div",{children:t.jsx("h4",{className:"font-medium text-sm mb-3",children:"Filter Logs"})}),t.jsxs("div",{className:"space-y-3",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsx(Ms,{htmlFor:"hide-system-calls",className:"text-xs font-medium text-muted-foreground cursor-pointer",children:"Hide system calls"}),t.jsx(Ts,{id:"hide-system-calls",checked:o,onCheckedChange:I=>d({hideSystem:!!I})})]}),t.jsxs("div",{children:[t.jsx("label",{className:"text-xs font-medium text-muted-foreground mb-1.5 block",children:"Connections"}),t.jsx(We,{options:c,defaultValue:s,onValueChange:I=>d({connectionId:I}),onSearchChange:h,placeholder:"All servers",variant:"secondary",className:"w-full",maxCount:2})]}),t.jsxs("div",{children:[t.jsx("label",{className:"text-xs font-medium text-muted-foreground mb-1.5 block",children:"Agents"}),t.jsx(We,{options:i,defaultValue:e,onValueChange:I=>d({virtualMcpId:I}),placeholder:"All Agents",variant:"secondary",className:"w-full",maxCount:2})]}),u&&t.jsxs("div",{children:[t.jsx("label",{className:"text-xs font-medium text-muted-foreground mb-1.5 block",children:"Members"}),t.jsx(We,{options:f??[],defaultValue:v,onValueChange:I=>N?.(I),placeholder:"All members",variant:"secondary",className:"w-full",maxCount:2}),t.jsx("p",{className:"text-[11px] text-muted-foreground mt-1",children:"Filters AI usage (calls, tokens, cost) only."})]}),t.jsxs("div",{children:[t.jsx("label",{className:"text-xs font-medium text-muted-foreground mb-1.5 block",children:"Tool Name"}),t.jsx(Ge,{id:"filter-tool",placeholder:"Filter by tool...",value:C,onChange:I=>w(I.target.value),onBlur:()=>{C!==l&&d({tool:C})},onKeyDown:I=>{I.key==="Enter"&&C!==l&&d({tool:C})},className:"w-full"})]}),t.jsxs("div",{children:[t.jsx("label",{className:"text-xs font-medium text-muted-foreground mb-1.5 block",children:"Status"}),t.jsxs(et,{value:r,onValueChange:I=>d({status:I}),children:[t.jsx(Xe,{className:"w-full",children:t.jsx(Ye,{})}),t.jsxs(Ze,{children:[t.jsx(ge,{value:"all",children:"All Status"}),t.jsx(ge,{value:"success",children:"Success Only"}),t.jsx(ge,{value:"errors",children:"Errors Only"})]})]})]}),t.jsxs("div",{children:[t.jsxs("div",{className:"flex items-center justify-between mb-2",children:[t.jsx("label",{className:"text-xs font-medium text-muted-foreground",children:"Property Filters"}),t.jsxs(ct,{children:[t.jsx(dt,{asChild:!0,children:t.jsx(Z,{variant:"ghost",size:"icon",className:"h-6 w-6",onClick:X,children:j==="raw"?t.jsx(ys,{size:14}):t.jsx(hs,{size:14})})}),t.jsx(mt,{children:j==="raw"?"Switch to form view":"Switch to raw text"})]})]}),j==="raw"?t.jsxs("div",{className:"space-y-1.5",children:[t.jsx(_s,{placeholder:`Paste property filters here:
|
|
6
|
-
thread_id=abc123
|
|
7
|
-
user~test
|
|
8
|
-
debug?`,value:S,onChange:I=>x(I.target.value),onBlur:P,onKeyDown:I=>{I.key==="Enter"&&I.metaKey&&P()},className:"font-mono text-sm min-h-[80px] resize-none"}),t.jsxs("p",{className:"text-xs text-muted-foreground",children:["One per line:"," ",t.jsx("code",{className:"bg-muted px-1 rounded",children:"key=value"})," ",t.jsx("code",{className:"bg-muted px-1 rounded",children:"key~contains"})," ",t.jsx("code",{className:"bg-muted px-1 rounded",children:"key@in_list"})," ",t.jsx("code",{className:"bg-muted px-1 rounded",children:"key?"})]})]}):t.jsxs("div",{className:"space-y-3",children:[p.map((I,F)=>t.jsxs("div",{className:"p-2.5 rounded-md border border-border bg-muted/30 space-y-2",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("span",{className:"text-xs text-muted-foreground",children:["Filter ",F+1]}),t.jsx(Z,{variant:"ghost",size:"icon",className:"h-6 w-6 text-muted-foreground hover:text-destructive",onClick:()=>L(F),children:t.jsx(Ss,{size:12})})]}),t.jsxs("div",{className:"flex gap-2",children:[t.jsx(Ge,{placeholder:"Key (e.g., thread_id)",value:I.key,onChange:R=>k(F,{key:R.target.value}),onBlur:E,onKeyDown:R=>{R.key==="Enter"&&E()},className:"flex-1 font-mono text-sm"}),t.jsxs(et,{value:I.operator,onValueChange:R=>{const z=[...p],A=z[F];A&&(z[F]={...A,operator:R,value:R==="exists"?"":A.value},T(z),d({propertyFilters:Re(z)}))},children:[t.jsx(Xe,{className:"w-28",children:t.jsx(Ye,{})}),t.jsx(Ze,{children:vl.map(R=>t.jsx(ge,{value:R.value,children:R.label},R.value))})]})]}),I.operator!=="exists"&&t.jsx(Ge,{placeholder:"Value",value:I.value,onChange:R=>k(F,{value:R.target.value}),onBlur:E,onKeyDown:R=>{R.key==="Enter"&&E()},className:"w-full font-mono text-sm"})]},F)),t.jsxs(Z,{variant:"outline",size:"sm",className:"w-full",onClick:O,children:[t.jsx(ws,{size:14,className:"mr-1.5"}),"Add filter"]})]})]})]}),n>0&&t.jsx(Z,{variant:"ghost",size:"sm",className:"w-full",onClick:()=>{w(""),T([]),x(""),d({connectionId:[],virtualMcpId:[],tool:"",status:"all",propertyFilters:""}),g(!1)},children:"Clear all filters"})]})})]})}function bl(s){const e=re.c(113),{tab:l,dateRange:r,displayDateRange:o,connectionIds:a,virtualMcpIds:c,tool:i,status:n,search:d,streaming:h,hideSystem:f,activeFiltersCount:v,from:N,to:u,propertyFilters:D,onUpdateFilters:g,onTimeRangeChange:j,onStreamingToggle:m,onTabChange:C}=s,w=vt(),p=vs(),{data:T}=gs(),[S,x]=q.useState(""),M=S||void 0;let b;e[0]!==M?(b={searchTerm:M},e[0]=M,e[1]=b):b=e[1];const _=vt(b);let k;e[2]!==_?(k=_??[],e[2]=_,e[3]=k):k=e[3];let O;e[4]!==k?(O=k.map(Sl),e[4]=k,e[5]=O):O=e[5];const L=O;let E;e[6]!==p?(E=p.map(wl),e[6]=p,e[7]=E):E=e[7];const P=E,{pageSize:X,streamingRefetchInterval:I}=Nt,{org:F,locator:R}=He();let z;e[8]!==F.id||e[9]!==F.slug?(z={connectionId:Ns,orgId:F.id,orgSlug:F.slug},e[8]=F.id,e[9]=F.slug,e[10]=z):z=e[10];const A=js(z);let K;e[11]!==D?(K=qs(D),e[11]=D,e[12]=K):K=e[12];const B=K;let V;e[13]!==f||e[14]!==F.id?(V=f?[bs.SELF(F.id)]:void 0,e[13]=f,e[14]=F.id,e[15]=V):V=e[15];const Y=V;let H;e[16]===Symbol.for("react.memo_cache_sentinel")?(H=[],e[16]=H):H=e[16];const[Q,U]=q.useState(H);let y;e[17]===Symbol.for("react.memo_cache_sentinel")?(y=[],e[17]=y):y=e[17];const[$,J]=q.useState(y);let te;e[18]===Symbol.for("react.memo_cache_sentinel")?(te=[],e[18]=te):te=e[18];const[G,le]=q.useState(te),[W,ne]=q.useState("all"),ce=($.length>0?1:0)+(G.length>0?1:0)+(W!=="all"?1:0);let Oe;e[19]!==T?(Oe=Ut(T).map(yl),e[19]=T,e[20]=Oe):Oe=e[20];const Ce=Oe;let ke;e[21]!==r.startDate?(ke=r.startDate.toISOString(),e[21]=r.startDate,e[22]=ke):ke=e[22];let ie;e[23]!==r.endDate?(ie=r.endDate.toISOString(),e[23]=r.endDate,e[24]=ie):ie=e[24];const Fe=a.length===1?a[0]:void 0,je=c.length===1?c[0]:void 0,ve=i||void 0,Ne=n==="errors"?!0:n==="success"?!1:void 0;let me;e[25]!==Y||e[26]!==B||e[27]!==ke||e[28]!==ie||e[29]!==Fe||e[30]!==je||e[31]!==ve||e[32]!==Ne?(me={startDate:ke,endDate:ie,connectionId:Fe,excludeConnectionIds:Y,virtualMcpId:je,toolName:ve,isError:Ne,...B},e[25]=Y,e[26]=B,e[27]=ke,e[28]=ie,e[29]=Fe,e[30]=je,e[31]=ve,e[32]=Ne,e[33]=me):me=e[33];const be=me;let ue;e[34]===Symbol.for("react.memo_cache_sentinel")?(ue={id:"overview",label:"Overview"},e[34]=ue):ue=e[34];let xe;e[35]===Symbol.for("react.memo_cache_sentinel")?(xe={id:"audit",label:"Audit"},e[35]=xe):xe=e[35];let fe;e[36]===Symbol.for("react.memo_cache_sentinel")?(fe={id:"threads",label:"Chats"},e[36]=fe):fe=e[36];let pe;e[37]===Symbol.for("react.memo_cache_sentinel")?(pe=[ue,xe,fe,{id:"automations",label:"Automations"}],e[37]=pe):pe=e[37];const _e=pe;let Se;e[38]===Symbol.for("react.memo_cache_sentinel")?(Se=t.jsx(Le.Title,{children:"Monitoring"}),e[38]=Se):Se=e[38];let se;e[39]!==C?(se=Te=>C(Te),e[39]=C,e[40]=se):se=e[40];let ee;e[41]!==se||e[42]!==l?(ee=t.jsx(qt,{tabs:_e,activeTab:l,onTabChange:se}),e[41]=se,e[42]=l,e[43]=ee):ee=e[43];let ae;e[44]!==v||e[45]!==a||e[46]!==L||e[47]!==S||e[48]!==f||e[49]!==h||e[50]!==Q||e[51]!==Ce||e[52]!==m||e[53]!==g||e[54]!==D||e[55]!==n||e[56]!==l||e[57]!==i||e[58]!==c||e[59]!==P?(ae=(l==="overview"||l==="audit")&&t.jsxs(t.Fragment,{children:[t.jsxs(Z,{variant:h?"secondary":"outline",className:"gap-1.5",onClick:m,children:[h&&t.jsx("span",{className:"size-2 rounded-full bg-success animate-pulse"}),t.jsx("span",{children:"Live"}),h&&t.jsx("span",{className:"text-muted-foreground text-xs",children:"3s"})]}),t.jsx(Nl,{connectionIds:a,virtualMcpIds:c,tool:i,status:n,hideSystem:f,propertyFilters:D,connectionOptions:L,virtualMcpOptions:P,activeFiltersCount:v,onUpdateFilters:g,connectionSearchTerm:S,onConnectionSearchChange:x,memberOptions:Ce,llmUserIds:Q,onLlmUserIdsChange:U,showMemberFilter:l==="overview"})]}),e[44]=v,e[45]=a,e[46]=L,e[47]=S,e[48]=f,e[49]=h,e[50]=Q,e[51]=Ce,e[52]=m,e[53]=g,e[54]=D,e[55]=n,e[56]=l,e[57]=i,e[58]=c,e[59]=P,e[60]=ae):ae=e[60];let he;e[61]!==Ce||e[62]!==l||e[63]!==ce||e[64]!==$||e[65]!==W||e[66]!==G||e[67]!==P?(he=l==="threads"&&t.jsx(pl,{filterAgentIds:$,filterUserIds:G,filterStatus:W,virtualMcpOptions:P,memberOptions:Ce,activeFiltersCount:ce,onUpdateFilters:Te=>{const{filterAgentIds:Ct,filterUserIds:kt,filterStatus:_t}=Te;Ct!==void 0&&J(Ct),kt!==void 0&&le(kt),_t!==void 0&&ne(_t)}}),e[61]=Ce,e[62]=l,e[63]=ce,e[64]=$,e[65]=W,e[66]=G,e[67]=P,e[68]=he):he=e[68];let ye;e[69]!==N||e[70]!==u?(ye={from:N,to:u},e[69]=N,e[70]=u,e[71]=ye):ye=e[71];let ze;e[72]!==j||e[73]!==ye?(ze=t.jsx(Xs,{value:ye,onChange:j}),e[72]=j,e[73]=ye,e[74]=ze):ze=e[74];let Ae;e[75]!==ae||e[76]!==he||e[77]!==ze?(Ae=t.jsxs("div",{className:"flex items-center gap-2",children:[ae,he,ze]}),e[75]=ae,e[76]=he,e[77]=ze,e[78]=Ae):Ae=e[78];let Ee;e[79]!==ee||e[80]!==Ae?(Ee=t.jsxs("div",{className:"flex items-center justify-between gap-4",children:[ee,Ae]}),e[79]=ee,e[80]=Ae,e[81]=Ee):Ee=e[81];let Pe;e[82]!==g||e[83]!==d||e[84]!==l?(Pe=(l==="audit"||l==="threads")&&t.jsx(os,{value:d,onChange:Te=>g({search:Te}),placeholder:l==="threads"?"Search by title…":"Search by tool name, connection, or error...",onKeyDown:Te=>{Te.key==="Escape"&&(g({search:""}),Te.target.blur())},className:"w-full md:w-[375px]"}),e[82]=g,e[83]=d,e[84]=l,e[85]=Pe):Pe=e[85];let Ue;e[86]!==Ee||e[87]!==Pe?(Ue=t.jsx(Le.Body,{className:"!pb-4",children:t.jsxs("div",{className:"flex flex-col gap-5",children:[Se,Ee,Pe]})}),e[86]=Ee,e[87]=Pe,e[88]=Ue):Ue=e[88];let Ve;e[89]!==w||e[90]!==p||e[91]!==be||e[92]!==A||e[93]!==a||e[94]!==r||e[95]!==o||e[96]!==Y||e[97]!==h||e[98]!==Q||e[99]!==R||e[100]!==T||e[101]!==d||e[102]!==n||e[103]!==l||e[104]!==$||e[105]!==W||e[106]!==G||e[107]!==i||e[108]!==c?(Ve=l==="automations"?t.jsx(hl,{dateRange:r}):l==="threads"?t.jsx(us,{client:A,locator:R,membersData:T,allConnections:w,allVirtualMcps:p,dateRange:r,searchQuery:d,filterAgentIds:$,filterUserIds:G,filterStatus:W}):l==="audit"?t.jsx(xl,{client:A,locator:R,baseParams:be,pageSize:X,isStreaming:h,streamingRefetchInterval:I,connectionIds:a,virtualMcpIds:c,tool:i,status:n,searchQuery:d,allConnections:w,allVirtualMcps:p,membersData:T}):t.jsx("div",{className:"flex-1 flex flex-col overflow-auto min-w-0",children:t.jsx(sl,{displayDateRange:o,connectionIds:a,excludeConnectionIds:Y,toolName:i||void 0,status:n==="errors"?"error":n==="success"?"success":void 0,connections:w,isStreaming:h,streamingRefetchInterval:I,llmUserIds:Q})}),e[89]=w,e[90]=p,e[91]=be,e[92]=A,e[93]=a,e[94]=r,e[95]=o,e[96]=Y,e[97]=h,e[98]=Q,e[99]=R,e[100]=T,e[101]=d,e[102]=n,e[103]=l,e[104]=$,e[105]=W,e[106]=G,e[107]=i,e[108]=c,e[109]=Ve):Ve=e[109];let at;return e[110]!==Ue||e[111]!==Ve?(at=t.jsxs(t.Fragment,{children:[Ue,Ve]}),e[110]=Ue,e[111]=Ve,e[112]=at):at=e[112],at}function yl(s){const e=s.user.name??s.user.email??s.userId,l=s.user.image??void 0;return{value:s.userId,label:e,icon:r=>{const{className:o}=r;return t.jsx(Bt,{url:l,fallback:e,shape:"circle",size:"2xs",className:de("shrink-0",o)})}}}function wl(s){const e=s.icon,l=s.title??"Super Agent";return{value:s.id??"",label:l,icon:r=>{const{className:o}=r;return t.jsx(Be,{icon:e,name:l,size:"xs",fallbackIcon:t.jsx(rt,{}),className:de("size-4! min-w-4! rounded-sm shrink-0",o)})}}}function Sl(s){const e=s.icon,l=s.title||s.id;return{value:s.id,label:l,icon:r=>{const{className:o}=r;return t.jsx(Be,{icon:e,name:l,size:"xs",fallbackIcon:t.jsx(rt,{}),className:de("size-4! min-w-4! rounded-sm shrink-0",o)})}}}function Va(){const s=re.c(83),{org:e}=He(),l=yt();let r;s[0]===Symbol.for("react.memo_cache_sentinel")?(r={from:"/shell/$org/settings/monitor"},s[0]=r):r=s[0];const o=rs(r),{tab:a,from:c,to:i,connectionId:n,virtualMcpId:d,tool:h,search:f,status:v,streaming:N,propertyFilters:u,hideSystem:D}=o,g=a===void 0?"overview":a;let j;s[1]!==n?(j=n===void 0?[]:n,s[1]=n,s[2]=j):j=s[2];const m=j;let C;s[3]!==d?(C=d===void 0?[]:d,s[3]=d,s[4]=C):C=s[4];const w=C,p=N===void 0?!0:N,T=u===void 0?"":u,S=D===void 0?!1:D;let x,M,b,_,k,O,L;if(s[5]!==m.length||s[6]!==c||s[7]!==S||s[8]!==l||s[9]!==e.slug||s[10]!==T||s[11]!==o||s[12]!==v||s[13]!==p||s[14]!==i||s[15]!==h||s[16]!==w.length){k=Ks(T);let U;s[24]!==l||s[25]!==e.slug||s[26]!==o?(U=G=>{l({to:"/$org/settings/monitor",params:{org:e.slug},search:{...o,...G}})},s[24]=l,s[25]=e.slug,s[26]=o,s[27]=U):U=s[27],L=U;let y;s[28]!==L?(y=G=>{L({from:G.from,to:G.to})},s[28]=L,s[29]=y):y=s[29],_=y;let $,J;if(s[30]!==c||s[31]!==p||s[32]!==i){const G=we(c),le=we(i);J=G.date||new Date(Date.now()-18e5);const W=le.date||new Date;b={startDate:J,endDate:W},$=W,p&&i==="now"&&($=new Date(W),$.setHours($.getHours()+1)),s[30]=c,s[31]=p,s[32]=i,s[33]=b,s[34]=$,s[35]=J}else b=s[33],$=s[34],J=s[35];let te;s[36]!==$||s[37]!==J?(te={startDate:J,endDate:$},s[36]=$,s[37]=J,s[38]=te):te=s[38],M=te,x=0,m.length>0&&x++,w.length>0&&x++,h&&x++,v!=="all"&&x++,S&&x++,O=k.filter(Il),s[5]=m.length,s[6]=c,s[7]=S,s[8]=l,s[9]=e.slug,s[10]=T,s[11]=o,s[12]=v,s[13]=p,s[14]=i,s[15]=h,s[16]=w.length,s[17]=x,s[18]=M,s[19]=b,s[20]=_,s[21]=k,s[22]=O,s[23]=L}else x=s[17],M=s[18],b=s[19],_=s[20],k=s[21],O=s[22],L=s[23];const E=O;E.length>0&&(x=x+E.length);let P;s[39]===Symbol.for("react.memo_cache_sentinel")?(P=t.jsx(Le.Body,{className:"!pb-3",children:t.jsx(Le.Title,{children:"Monitoring"})}),s[39]=P):P=s[39];let X;s[40]===Symbol.for("react.memo_cache_sentinel")?(X=t.jsxs(t.Fragment,{children:[P,t.jsx(Le.Content,{children:t.jsx("div",{className:"flex-1 flex items-center justify-center h-full",children:t.jsx(St,{title:"Failed to load monitoring data",description:"There was an error loading the monitoring data. Please try again."})})})]}),s[40]=X):X=s[40];let I;s[41]===Symbol.for("react.memo_cache_sentinel")?(I=t.jsx(Le.Title,{children:"Monitoring"}),s[41]=I):I=s[41];let F;s[42]===Symbol.for("react.memo_cache_sentinel")?(F=[{id:"overview",label:"Overview"},{id:"audit",label:"Audit"},{id:"threads",label:"Chats"},{id:"automations",label:"Automations"}],s[42]=F):F=s[42];let R;s[43]!==L?(R=U=>L({tab:U}),s[43]=L,s[44]=R):R=s[44];let z;s[45]!==R||s[46]!==g?(z=t.jsx(Le.Body,{className:"!pb-3",children:t.jsxs("div",{className:"flex flex-col gap-4",children:[I,t.jsx(qt,{tabs:F,activeTab:g,onTabChange:R})]})}),s[45]=R,s[46]=g,s[47]=z):z=s[47];let A;s[48]!==g?(A=g==="threads"?t.jsx("div",{className:"flex-1 flex flex-col overflow-auto md:overflow-hidden",children:t.jsx(bt.Skeleton,{})}):g==="audit"?t.jsx("div",{className:"flex-1 flex flex-col overflow-auto md:overflow-hidden",children:t.jsx(bt.Skeleton,{})}):t.jsx("div",{className:"flex-1 flex flex-col overflow-auto",children:t.jsx(rl,{})}),s[48]=g,s[49]=A):A=s[49];let K;s[50]!==z||s[51]!==A?(K=t.jsxs(t.Fragment,{children:[z,A]}),s[50]=z,s[51]=A,s[52]=K):K=s[52];let B;s[53]!==_?(B=U=>{ft("monitoring_time_range_changed",{from:U.from,to:U.to}),_(U)},s[53]=_,s[54]=B):B=s[54];let V;s[55]!==p||s[56]!==L?(V=()=>{ft("monitoring_live_toggled",{enabled:!p}),L({streaming:!p})},s[55]=p,s[56]=L,s[57]=V):V=s[57];let Y;s[58]!==g||s[59]!==L?(Y=U=>{U!==g&&ft("monitoring_tab_changed",{from_tab:g,to_tab:U}),L({tab:U})},s[58]=g,s[59]=L,s[60]=Y):Y=s[60];let H;s[61]!==x||s[62]!==m||s[63]!==M||s[64]!==b||s[65]!==c||s[66]!==S||s[67]!==k||s[68]!==f||s[69]!==v||s[70]!==p||s[71]!==B||s[72]!==V||s[73]!==Y||s[74]!==g||s[75]!==i||s[76]!==h||s[77]!==L||s[78]!==w?(H=t.jsx(bl,{tab:g,dateRange:M,displayDateRange:b,connectionIds:m,virtualMcpIds:w,tool:h,status:v,search:f,streaming:p,hideSystem:S,activeFiltersCount:x,from:c,to:i,propertyFilters:k,onUpdateFilters:L,onTimeRangeChange:B,onStreamingToggle:V,onTabChange:Y}),s[61]=x,s[62]=m,s[63]=M,s[64]=b,s[65]=c,s[66]=S,s[67]=k,s[68]=f,s[69]=v,s[70]=p,s[71]=B,s[72]=V,s[73]=Y,s[74]=g,s[75]=i,s[76]=h,s[77]=L,s[78]=w,s[79]=H):H=s[79];let Q;return s[80]!==K||s[81]!==H?(Q=t.jsx(ns,{capability:"monitoring:view",area:"monitoring",children:t.jsx(Le,{children:t.jsx(as,{fallback:X,children:t.jsx(q.Suspense,{fallback:K,children:H})})})}),s[80]=K,s[81]=H,s[82]=Q):Q=s[82],Q}function Il(s){return s.key.trim()}export{Va as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as it,r as E,j as e,i as rt}from"./index-D-9It9O8.js";import{m as mt,o as pt,p as st,q as at}from"./sidebar-BeNXrZie.js";import{A as nt}from"./automation-runs-DOvodEH6.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-B1izKYSp.js";import{r as xt}from"./index-BSL1z35x.js";import"./LayoutLeft-DgY7TPq-.js";import"./use-mobile-CrSyO5KW.js";import"./X-DJyihanE.js";import"./tooltip-ChaSBJu1.js";import"./select-B3rAExLJ.js";import"./Check-Cc6Bc1BH.js";import"./ChevronDown-V6fE1Rcs.js";import"./ChevronUp-DK7M0E86.js";import"./useInfiniteQuery-DyV1QDab.js";import"./use-infinite-scroll-Dhi9FPdG.js";import"./use-connection-BY-HU_w2.js";import"./use-collections-SV2SEdS-.js";import"./use-mcp-client-DUHgzzKC.js";import"./constants-D_FQAPnt.js";import"./auth-B1cxztc2.js";import"./use-virtual-mcp-C-thf57O.js";import"./card-CdFmFmUv.js";import"./table-CQ51aPY5.js";import"./empty-state-BAtX1PrG.js";import"./use-members-Cl5wPFu9.js";import"./use-org-auth-client-pgJk4oK7.js";import"./use-clock-tick-BqQOp9zQ.js";import"./AlertCircle-C20hgcIa.js";import"./CheckCircle-BQl0d83F.js";import"./Circle-DJp0izOj.js";import"./agent-icon-B9wxYfT7.js";import"./UserPlus01-1O7ZAmZ0.js";import"./Tool01-CkczSZ03.js";import"./ArrowUp-Dgvo3A_2.js";import"./Settings02-DSnlYNiR.js";import"./Tool02-Zqz-7k3v.js";import"./XCircle-DengJiq7.js";import"./ArrowUpRight-XVwZt1n6.js";import"./TrendUp01-CHGxH9cm.js";import"./ZapSquare-C-4KrsmI.js";import"./ZoomOut-bo1qpk84.js";import"./Users03-DKog3mgS.js";import"./ChevronRight-B33Mu5AL.js";import"./Stars02-DKDrJcrE.js";import"./Copy01-CfdaTbye.js";import"./DotsVertical-NR-zMtTO.js";import"./Globe01-ipTZJBPr.js";import"./Eye-C9dnkVdp.js";import"./FilterLines-Ni7Zxtnw.js";import"./Flag01-DDojZ3BD.js";import"./Star01-CYWP-Lnz.js";import"./Globe04-DOYzTQsa.js";import"./SwitchHorizontal01-Bd1BMwMz.js";import"./HardDrive-DdAwxeh0.js";import"./Image01-C5JUp_rj.js";import"./Key01-Dibq8qSI.js";import"./LinkExternal01-vfCmrlzd.js";import"./List-G0g6UpdC.js";import"./Monitor01-DZP8UHev.js";import"./Sun-CST17A49.js";import"./Package-B3D3XCt6.js";import"./Palette-NkhqFqPA.js";import"./Play-DetNEZKa.js";import"./Plus-DRIYyF1Y.js";import"./SearchLg-CLYFawei.js";import"./SearchMd-CpXRgEf5.js";import"./Shield01-CrEWV3nm.js";import"./Stars01-SzQSCq9i.js";import"./Trash01-DAbM_CFW.js";import"./Upload01-BkxnL7Jx.js";import"./User01-pcBROZrv.js";import"./Users01-B1Tq7qDs.js";import"./XClose-DgANt_GW.js";import"./Zap-C0jj00w3.js";import"./use-automations-d1p1cV4X.js";import"./studio-tools-DC98b1mA.js";import"./useSuspenseInfiniteQuery-D9oQjj9f.js";import"./avatar-Bx5rROx7.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-CZmbzv9b.js";import"./file-type-icon-13wssv9j.js";import"./dialog-BMJEsVXy.js";import"./tab-id-BijBBRwE.js";import"./hooks-DbvQQuDU.js";import"./decopilot-sse-pool-BMqhIP22.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./chat-context-BxoSxASA.js";import"./autosend-CwtKb6-i.js";import"./use-ai-providers-DGkYjcBs.js";import"./use-decopilot-events-CsUIw1So.js";import"./use-organization-settings-C6Ld6iGN.js";import"./monaco-editor-w7ydpEuN.js";import"./index-CsVxM7TL.js";import"./index-Cdqw-lyd.js";import"./shell-layout-Dj7fEvwD.js";import"./alert-dialog-B4j05xqZ.js";import"./required-auth-layout-oEFRt1ot.js";import"./use-org-sso-BhSM-25Q.js";import"./integration-icon-BYNqWlgD.js";import"./use-navigate-to-agent-BxgvzA-e.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-BLkij4VQ.js";import"./form-Ch5mL-Ts.js";import"./label-la-FXX9j.js";import"./input-BAMDOJs0.js";import"./switch-D2IG2BwL.js";import"./drawer-CoDBoPdX.js";import"./collection-search-AHmPijP6.js";import"./tabs-BLtAAS9k.js";import"./toggle-group-DH4mAwCj.js";import"./use-deco-credits-CINfmuIk.js";import"./extract-connection-data-CfvL8nD3.js";import"./connection-card-DL84VWzp.js";import"./use-registry-connections-DIPeZmDC.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./textarea-DGGDLDhY.js";import"./connection-form-helpers-Xnvqs_jG.js";import"./authenticate-and-persist-oauth-BOen-Ru1.js";import"./mcp-oauth-DHOrFgRs.js";import"./collection-tabs-DpJVutqE.js";import"./badge-CqESM08z.js";import"./connect-desktop-dialog-DhqJPsaP.js";import"./select-model-DlTEdDDN.js";import"./checkbox-D4_5XFQQ.js";import"./skeleton-DGbUxntY.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-D71nFv9D.js";import"./command-D25pX-TQ.js";import"./index-BMGkibta.js";import"./popover-DRqjILyu.js";import"./dropdown-menu-CEae6v-M.js";import"./index-ELhrM9RL.js";import"./toolbar-Dfnz4ZMt.js";import"./use-debounced-value-BGxD_rLK.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-BLHe_A1G.js";import"./use-mcp-tools-DYBrb0MI.js";import"./use-capability-dlgw5Gjj.js";import"./use-debounced-autosave-DowZ2Cj5.js";import"./index-BST567fc.js";import"./search-input-D9BaMWA9.js";import"./use-mcp-auth-status-B_bbAdbm.js";import"./github-repo-picker-B8inDg0_.js";import"./provision-repo-scoped-github-connection-CB4ICKHq.js";import"./use-secrets-BylmfCM8.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./companions-core-BOqZjnai.js";import"./index-D3YyZBEV.js";import"./get-initials-D-f_fDFw.js";import"./calendar-B-LTbMEy.js";import"./toolbar-icon-button-BnycwoLQ.js";import"./use-file-configs-Bs-k2-C1.js";import"./automation-list-row-CYxluwXx.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-D-9It9O8.js";import{a as O,g as $,s as E}from"./automation-runs-DOvodEH6.js";import{u as k}from"./use-mcp-client-DUHgzzKC.js";import{p as B}from"./constants-D_FQAPnt.js";import{b as V,c as Y}from"./use-mcp-tools-DYBrb0MI.js";import{u as q}from"./index-BSL1z35x.js";import{c as G}from"./monaco-editor-w7ydpEuN.js";import{g as K,M as W,a as D}from"./index-Cdqw-lyd.js";import{b as z,a as F}from"./chat-context-BxoSxASA.js";import{u as J}from"./shell-layout-Dj7fEvwD.js";import{O as Q}from"./tab-id-BijBBRwE.js";import"./select-B3rAExLJ.js";import"./tooltip-ChaSBJu1.js";import"./Check-Cc6Bc1BH.js";import"./ChevronDown-V6fE1Rcs.js";import"./ChevronUp-DK7M0E86.js";import"./useInfiniteQuery-DyV1QDab.js";import"./use-infinite-scroll-Dhi9FPdG.js";import"./use-connection-BY-HU_w2.js";import"./use-collections-SV2SEdS-.js";import"./use-virtual-mcp-C-thf57O.js";import"./card-CdFmFmUv.js";import"./sidebar-BeNXrZie.js";import"./LayoutLeft-DgY7TPq-.js";import"./use-mobile-CrSyO5KW.js";import"./X-DJyihanE.js";import"./table-CQ51aPY5.js";import"./empty-state-BAtX1PrG.js";import"./use-members-Cl5wPFu9.js";import"./use-org-auth-client-pgJk4oK7.js";import"./use-clock-tick-BqQOp9zQ.js";import"./AlertCircle-C20hgcIa.js";import"./CheckCircle-BQl0d83F.js";import"./Circle-DJp0izOj.js";import"./agent-icon-B9wxYfT7.js";import"./UserPlus01-1O7ZAmZ0.js";import"./Tool01-CkczSZ03.js";import"./ArrowUp-Dgvo3A_2.js";import"./Settings02-DSnlYNiR.js";import"./Tool02-Zqz-7k3v.js";import"./XCircle-DengJiq7.js";import"./ArrowUpRight-XVwZt1n6.js";import"./TrendUp01-CHGxH9cm.js";import"./ZapSquare-C-4KrsmI.js";import"./ZoomOut-bo1qpk84.js";import"./Users03-DKog3mgS.js";import"./ChevronRight-B33Mu5AL.js";import"./Stars02-DKDrJcrE.js";import"./Copy01-CfdaTbye.js";import"./DotsVertical-NR-zMtTO.js";import"./Globe01-ipTZJBPr.js";import"./Eye-C9dnkVdp.js";import"./FilterLines-Ni7Zxtnw.js";import"./Flag01-DDojZ3BD.js";import"./Star01-CYWP-Lnz.js";import"./Globe04-DOYzTQsa.js";import"./SwitchHorizontal01-Bd1BMwMz.js";import"./HardDrive-DdAwxeh0.js";import"./Image01-C5JUp_rj.js";import"./Key01-Dibq8qSI.js";import"./LinkExternal01-vfCmrlzd.js";import"./List-G0g6UpdC.js";import"./Monitor01-DZP8UHev.js";import"./Sun-CST17A49.js";import"./Package-B3D3XCt6.js";import"./Palette-NkhqFqPA.js";import"./Play-DetNEZKa.js";import"./Plus-DRIYyF1Y.js";import"./SearchLg-CLYFawei.js";import"./SearchMd-CpXRgEf5.js";import"./Shield01-CrEWV3nm.js";import"./Stars01-SzQSCq9i.js";import"./Trash01-DAbM_CFW.js";import"./Upload01-BkxnL7Jx.js";import"./User01-pcBROZrv.js";import"./Users01-B1Tq7qDs.js";import"./XClose-DgANt_GW.js";import"./Zap-C0jj00w3.js";import"./use-automations-d1p1cV4X.js";import"./studio-tools-DC98b1mA.js";import"./useSuspenseInfiniteQuery-D9oQjj9f.js";import"./avatar-Bx5rROx7.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-CZmbzv9b.js";import"./file-type-icon-13wssv9j.js";import"./dialog-BMJEsVXy.js";import"./hooks-DbvQQuDU.js";import"./decopilot-sse-pool-BMqhIP22.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./integration-icon-BYNqWlgD.js";import"./use-navigate-to-agent-BxgvzA-e.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-BLkij4VQ.js";import"./form-Ch5mL-Ts.js";import"./label-la-FXX9j.js";import"./input-BAMDOJs0.js";import"./auth-B1cxztc2.js";import"./drawer-CoDBoPdX.js";import"./collection-search-AHmPijP6.js";import"./autosend-CwtKb6-i.js";import"./tabs-BLtAAS9k.js";import"./toggle-group-DH4mAwCj.js";import"./use-deco-credits-CINfmuIk.js";import"./extract-connection-data-CfvL8nD3.js";import"./connection-card-DL84VWzp.js";import"./use-registry-connections-DIPeZmDC.js";import"./use-organization-settings-C6Ld6iGN.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./textarea-DGGDLDhY.js";import"./connection-form-helpers-Xnvqs_jG.js";import"./authenticate-and-persist-oauth-BOen-Ru1.js";import"./mcp-oauth-DHOrFgRs.js";import"./collection-tabs-DpJVutqE.js";import"./badge-CqESM08z.js";import"./use-ai-providers-DGkYjcBs.js";import"./connect-desktop-dialog-DhqJPsaP.js";import"./select-model-DlTEdDDN.js";import"./checkbox-D4_5XFQQ.js";import"./skeleton-DGbUxntY.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-D71nFv9D.js";import"./command-D25pX-TQ.js";import"./index-BMGkibta.js";import"./popover-DRqjILyu.js";import"./dropdown-menu-CEae6v-M.js";import"./index-ELhrM9RL.js";import"./alert-dialog-B4j05xqZ.js";import"./toolbar-Dfnz4ZMt.js";import"./use-debounced-value-BGxD_rLK.js";import"./index-CsVxM7TL.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-BLHe_A1G.js";import"./use-decopilot-events-CsUIw1So.js";import"./use-capability-dlgw5Gjj.js";import"./use-debounced-autosave-DowZ2Cj5.js";import"./index-BST567fc.js";import"./search-input-D9BaMWA9.js";import"./use-mcp-auth-status-B_bbAdbm.js";import"./switch-D2IG2BwL.js";import"./github-repo-picker-B8inDg0_.js";import"./provision-repo-scoped-github-connection-CB4ICKHq.js";import"./use-secrets-BylmfCM8.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./companions-core-BOqZjnai.js";import"./index-D3YyZBEV.js";import"./get-initials-D-f_fDFw.js";import"./calendar-B-LTbMEy.js";import"./toolbar-icon-button-BnycwoLQ.js";import"./use-file-configs-Bs-k2-C1.js";import"./automation-list-row-CYxluwXx.js";import"./required-auth-layout-oEFRt1ot.js";import"./use-org-sso-BhSM-25Q.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-D-9It9O8.js";import{I as B}from"./input-BAMDOJs0.js";import{L as T}from"./label-la-FXX9j.js";import{S as L,a as A,b as R,c as z,d as O}from"./select-B3rAExLJ.js";import{T as V}from"./textarea-DGGDLDhY.js";import{v as D,w as J,o as K,x as M,I as _}from"./index-BSL1z35x.js";import{s as F}from"./primitives-CKKjbMYY.js";import{u as $}from"./use-autosave-CKOCxbNQ.js";import"./tooltip-ChaSBJu1.js";import"./Check-Cc6Bc1BH.js";import"./ChevronDown-V6fE1Rcs.js";import"./ChevronUp-DK7M0E86.js";import"./ArrowUp-Dgvo3A_2.js";import"./chat-context-BxoSxASA.js";import"./autosend-CwtKb6-i.js";import"./hooks-DbvQQuDU.js";import"./use-mcp-client-DUHgzzKC.js";import"./constants-D_FQAPnt.js";import"./auth-B1cxztc2.js";import"./decopilot-sse-pool-BMqhIP22.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./studio-tools-DC98b1mA.js";import"./use-virtual-mcp-C-thf57O.js";import"./use-collections-SV2SEdS-.js";import"./use-ai-providers-DGkYjcBs.js";import"./use-decopilot-events-CsUIw1So.js";import"./tab-id-BijBBRwE.js";import"./use-organization-settings-C6Ld6iGN.js";import"./automation-runs-DOvodEH6.js";import"./useInfiniteQuery-DyV1QDab.js";import"./use-infinite-scroll-Dhi9FPdG.js";import"./use-connection-BY-HU_w2.js";import"./card-CdFmFmUv.js";import"./sidebar-BeNXrZie.js";import"./LayoutLeft-DgY7TPq-.js";import"./use-mobile-CrSyO5KW.js";import"./X-DJyihanE.js";import"./table-CQ51aPY5.js";import"./empty-state-BAtX1PrG.js";import"./use-members-Cl5wPFu9.js";import"./use-org-auth-client-pgJk4oK7.js";import"./use-clock-tick-BqQOp9zQ.js";import"./AlertCircle-C20hgcIa.js";import"./CheckCircle-BQl0d83F.js";import"./Circle-DJp0izOj.js";import"./agent-icon-B9wxYfT7.js";import"./UserPlus01-1O7ZAmZ0.js";import"./Tool01-CkczSZ03.js";import"./Settings02-DSnlYNiR.js";import"./Tool02-Zqz-7k3v.js";import"./XCircle-DengJiq7.js";import"./ArrowUpRight-XVwZt1n6.js";import"./TrendUp01-CHGxH9cm.js";import"./ZapSquare-C-4KrsmI.js";import"./ZoomOut-bo1qpk84.js";import"./Users03-DKog3mgS.js";import"./ChevronRight-B33Mu5AL.js";import"./Stars02-DKDrJcrE.js";import"./Copy01-CfdaTbye.js";import"./DotsVertical-NR-zMtTO.js";import"./Globe01-ipTZJBPr.js";import"./Eye-C9dnkVdp.js";import"./FilterLines-Ni7Zxtnw.js";import"./Flag01-DDojZ3BD.js";import"./Star01-CYWP-Lnz.js";import"./Globe04-DOYzTQsa.js";import"./SwitchHorizontal01-Bd1BMwMz.js";import"./HardDrive-DdAwxeh0.js";import"./Image01-C5JUp_rj.js";import"./Key01-Dibq8qSI.js";import"./LinkExternal01-vfCmrlzd.js";import"./List-G0g6UpdC.js";import"./Monitor01-DZP8UHev.js";import"./Sun-CST17A49.js";import"./Package-B3D3XCt6.js";import"./Palette-NkhqFqPA.js";import"./Play-DetNEZKa.js";import"./Plus-DRIYyF1Y.js";import"./SearchLg-CLYFawei.js";import"./SearchMd-CpXRgEf5.js";import"./Shield01-CrEWV3nm.js";import"./Stars01-SzQSCq9i.js";import"./Trash01-DAbM_CFW.js";import"./Upload01-BkxnL7Jx.js";import"./User01-pcBROZrv.js";import"./Users01-B1Tq7qDs.js";import"./XClose-DgANt_GW.js";import"./Zap-C0jj00w3.js";import"./use-automations-d1p1cV4X.js";import"./useSuspenseInfiniteQuery-D9oQjj9f.js";import"./avatar-Bx5rROx7.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-CZmbzv9b.js";import"./file-type-icon-13wssv9j.js";import"./dialog-BMJEsVXy.js";import"./monaco-editor-w7ydpEuN.js";import"./index-CsVxM7TL.js";import"./index-Cdqw-lyd.js";import"./shell-layout-Dj7fEvwD.js";import"./alert-dialog-B4j05xqZ.js";import"./required-auth-layout-oEFRt1ot.js";import"./use-org-sso-BhSM-25Q.js";import"./integration-icon-BYNqWlgD.js";import"./use-navigate-to-agent-BxgvzA-e.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-BLkij4VQ.js";import"./form-Ch5mL-Ts.js";import"./drawer-CoDBoPdX.js";import"./collection-search-AHmPijP6.js";import"./tabs-BLtAAS9k.js";import"./toggle-group-DH4mAwCj.js";import"./use-deco-credits-CINfmuIk.js";import"./extract-connection-data-CfvL8nD3.js";import"./connection-card-DL84VWzp.js";import"./use-registry-connections-DIPeZmDC.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./connection-form-helpers-Xnvqs_jG.js";import"./authenticate-and-persist-oauth-BOen-Ru1.js";import"./mcp-oauth-DHOrFgRs.js";import"./collection-tabs-DpJVutqE.js";import"./badge-CqESM08z.js";import"./connect-desktop-dialog-DhqJPsaP.js";import"./select-model-DlTEdDDN.js";import"./checkbox-D4_5XFQQ.js";import"./skeleton-DGbUxntY.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-D71nFv9D.js";import"./command-D25pX-TQ.js";import"./index-BMGkibta.js";import"./popover-DRqjILyu.js";import"./dropdown-menu-CEae6v-M.js";import"./index-ELhrM9RL.js";import"./toolbar-Dfnz4ZMt.js";import"./use-debounced-value-BGxD_rLK.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-BLHe_A1G.js";import"./use-mcp-tools-DYBrb0MI.js";import"./use-capability-dlgw5Gjj.js";import"./use-debounced-autosave-DowZ2Cj5.js";import"./index-BST567fc.js";import"./search-input-D9BaMWA9.js";import"./use-mcp-auth-status-B_bbAdbm.js";import"./switch-D2IG2BwL.js";import"./github-repo-picker-B8inDg0_.js";import"./provision-repo-scoped-github-connection-CB4ICKHq.js";import"./use-secrets-BylmfCM8.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./companions-core-BOqZjnai.js";import"./index-D3YyZBEV.js";import"./get-initials-D-f_fDFw.js";import"./calendar-B-LTbMEy.js";import"./toolbar-icon-button-BnycwoLQ.js";import"./use-file-configs-Bs-k2-C1.js";import"./automation-list-row-CYxluwXx.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-D-9It9O8.js";import{C as Y}from"./checkbox-D4_5XFQQ.js";import{I as K}from"./input-BAMDOJs0.js";import{L as q}from"./label-la-FXX9j.js";import{c as z,S as G,d as H,a as J,b as Z}from"./select-B3rAExLJ.js";import{k as ee,aV as te,o as re,aW as M,aX as ie}from"./index-BSL1z35x.js";import{u as oe}from"./use-autosave-CKOCxbNQ.js";import"./Check-Cc6Bc1BH.js";import"./tooltip-ChaSBJu1.js";import"./ChevronDown-V6fE1Rcs.js";import"./ChevronUp-DK7M0E86.js";import"./ArrowUp-Dgvo3A_2.js";import"./chat-context-BxoSxASA.js";import"./autosend-CwtKb6-i.js";import"./hooks-DbvQQuDU.js";import"./use-mcp-client-DUHgzzKC.js";import"./constants-D_FQAPnt.js";import"./auth-B1cxztc2.js";import"./decopilot-sse-pool-BMqhIP22.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./studio-tools-DC98b1mA.js";import"./use-virtual-mcp-C-thf57O.js";import"./use-collections-SV2SEdS-.js";import"./use-ai-providers-DGkYjcBs.js";import"./use-decopilot-events-CsUIw1So.js";import"./tab-id-BijBBRwE.js";import"./use-organization-settings-C6Ld6iGN.js";import"./automation-runs-DOvodEH6.js";import"./useInfiniteQuery-DyV1QDab.js";import"./use-infinite-scroll-Dhi9FPdG.js";import"./use-connection-BY-HU_w2.js";import"./card-CdFmFmUv.js";import"./sidebar-BeNXrZie.js";import"./LayoutLeft-DgY7TPq-.js";import"./use-mobile-CrSyO5KW.js";import"./X-DJyihanE.js";import"./table-CQ51aPY5.js";import"./empty-state-BAtX1PrG.js";import"./use-members-Cl5wPFu9.js";import"./use-org-auth-client-pgJk4oK7.js";import"./use-clock-tick-BqQOp9zQ.js";import"./AlertCircle-C20hgcIa.js";import"./CheckCircle-BQl0d83F.js";import"./Circle-DJp0izOj.js";import"./agent-icon-B9wxYfT7.js";import"./UserPlus01-1O7ZAmZ0.js";import"./Tool01-CkczSZ03.js";import"./Settings02-DSnlYNiR.js";import"./Tool02-Zqz-7k3v.js";import"./XCircle-DengJiq7.js";import"./ArrowUpRight-XVwZt1n6.js";import"./TrendUp01-CHGxH9cm.js";import"./ZapSquare-C-4KrsmI.js";import"./ZoomOut-bo1qpk84.js";import"./Users03-DKog3mgS.js";import"./ChevronRight-B33Mu5AL.js";import"./Stars02-DKDrJcrE.js";import"./Copy01-CfdaTbye.js";import"./DotsVertical-NR-zMtTO.js";import"./Globe01-ipTZJBPr.js";import"./Eye-C9dnkVdp.js";import"./FilterLines-Ni7Zxtnw.js";import"./Flag01-DDojZ3BD.js";import"./Star01-CYWP-Lnz.js";import"./Globe04-DOYzTQsa.js";import"./SwitchHorizontal01-Bd1BMwMz.js";import"./HardDrive-DdAwxeh0.js";import"./Image01-C5JUp_rj.js";import"./Key01-Dibq8qSI.js";import"./LinkExternal01-vfCmrlzd.js";import"./List-G0g6UpdC.js";import"./Monitor01-DZP8UHev.js";import"./Sun-CST17A49.js";import"./Package-B3D3XCt6.js";import"./Palette-NkhqFqPA.js";import"./Play-DetNEZKa.js";import"./Plus-DRIYyF1Y.js";import"./SearchLg-CLYFawei.js";import"./SearchMd-CpXRgEf5.js";import"./Shield01-CrEWV3nm.js";import"./Stars01-SzQSCq9i.js";import"./Trash01-DAbM_CFW.js";import"./Upload01-BkxnL7Jx.js";import"./User01-pcBROZrv.js";import"./Users01-B1Tq7qDs.js";import"./XClose-DgANt_GW.js";import"./Zap-C0jj00w3.js";import"./use-automations-d1p1cV4X.js";import"./useSuspenseInfiniteQuery-D9oQjj9f.js";import"./avatar-Bx5rROx7.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-CZmbzv9b.js";import"./file-type-icon-13wssv9j.js";import"./dialog-BMJEsVXy.js";import"./monaco-editor-w7ydpEuN.js";import"./index-CsVxM7TL.js";import"./index-Cdqw-lyd.js";import"./shell-layout-Dj7fEvwD.js";import"./alert-dialog-B4j05xqZ.js";import"./required-auth-layout-oEFRt1ot.js";import"./use-org-sso-BhSM-25Q.js";import"./integration-icon-BYNqWlgD.js";import"./use-navigate-to-agent-BxgvzA-e.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-BLkij4VQ.js";import"./form-Ch5mL-Ts.js";import"./drawer-CoDBoPdX.js";import"./collection-search-AHmPijP6.js";import"./tabs-BLtAAS9k.js";import"./toggle-group-DH4mAwCj.js";import"./use-deco-credits-CINfmuIk.js";import"./extract-connection-data-CfvL8nD3.js";import"./connection-card-DL84VWzp.js";import"./use-registry-connections-DIPeZmDC.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./textarea-DGGDLDhY.js";import"./connection-form-helpers-Xnvqs_jG.js";import"./authenticate-and-persist-oauth-BOen-Ru1.js";import"./mcp-oauth-DHOrFgRs.js";import"./collection-tabs-DpJVutqE.js";import"./badge-CqESM08z.js";import"./connect-desktop-dialog-DhqJPsaP.js";import"./select-model-DlTEdDDN.js";import"./skeleton-DGbUxntY.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-D71nFv9D.js";import"./command-D25pX-TQ.js";import"./index-BMGkibta.js";import"./popover-DRqjILyu.js";import"./dropdown-menu-CEae6v-M.js";import"./index-ELhrM9RL.js";import"./toolbar-Dfnz4ZMt.js";import"./use-debounced-value-BGxD_rLK.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-BLHe_A1G.js";import"./use-mcp-tools-DYBrb0MI.js";import"./use-capability-dlgw5Gjj.js";import"./use-debounced-autosave-DowZ2Cj5.js";import"./index-BST567fc.js";import"./search-input-D9BaMWA9.js";import"./use-mcp-auth-status-B_bbAdbm.js";import"./switch-D2IG2BwL.js";import"./github-repo-picker-B8inDg0_.js";import"./provision-repo-scoped-github-connection-CB4ICKHq.js";import"./use-secrets-BylmfCM8.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./companions-core-BOqZjnai.js";import"./index-D3YyZBEV.js";import"./get-initials-D-f_fDFw.js";import"./calendar-B-LTbMEy.js";import"./toolbar-icon-button-BnycwoLQ.js";import"./use-file-configs-Bs-k2-C1.js";import"./automation-list-row-CYxluwXx.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-DpztDRKh.js","assets/index-D-9It9O8.js","assets/index-Dmfh0AkN.css","assets/Tool02-Zqz-7k3v.js","assets/CheckCircle-BQl0d83F.js","assets/Settings02-DSnlYNiR.js","assets/use-mcp-client-DUHgzzKC.js","assets/constants-D_FQAPnt.js","assets/auth-B1cxztc2.js","assets/useInfiniteQuery-DyV1QDab.js","assets/use-infinite-scroll-Dhi9FPdG.js","assets/studio-tools-DC98b1mA.js","assets/badge-CqESM08z.js","assets/input-BAMDOJs0.js","assets/dropdown-menu-CEae6v-M.js","assets/Check-Cc6Bc1BH.js","assets/ChevronRight-B33Mu5AL.js","assets/Circle-DJp0izOj.js","assets/table-CQ51aPY5.js","assets/toggle-group-DH4mAwCj.js","assets/use-view-mode-DE6KjcqK.js","assets/use-mobile-CrSyO5KW.js","assets/DotsVertical-NR-zMtTO.js","assets/FilterLines-Ni7Zxtnw.js","assets/Globe01-ipTZJBPr.js","assets/SearchMd-CpXRgEf5.js","assets/dialog-BMJEsVXy.js","assets/X-DJyihanE.js","assets/AlertCircle-C20hgcIa.js","assets/Upload01-BkxnL7Jx.js","assets/alert-dialog-B4j05xqZ.js","assets/card-CdFmFmUv.js","assets/Trash01-DAbM_CFW.js","assets/label-la-FXX9j.js","assets/select-B3rAExLJ.js","assets/tooltip-ChaSBJu1.js","assets/ChevronDown-V6fE1Rcs.js","assets/ChevronUp-DK7M0E86.js","assets/switch-D2IG2BwL.js","assets/textarea-DGGDLDhY.js","assets/XCircle-DengJiq7.js","assets/checkbox-D4_5XFQQ.js","assets/Eye-C9dnkVdp.js","assets/LinkExternal01-vfCmrlzd.js","assets/use-copy-CZmbzv9b.js","assets/Copy01-CfdaTbye.js","assets/Key01-Dibq8qSI.js","assets/Plus-DRIYyF1Y.js","assets/mcp-oauth-DHOrFgRs.js","assets/Play-DetNEZKa.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-D-9It9O8.js";import{R as m}from"./require-capability-CtdSCgZx.js";import"./use-capability-dlgw5Gjj.js";import"./access-gate-BQIbgyFa.js";import"./capability-load-error-a0S1shMb.js";const n=i.lazy(()=>o(()=>import("./registry-layout-DpztDRKh.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-DpztDRKh.js","assets/index-D-9It9O8.js","assets/index-Dmfh0AkN.css","assets/Tool02-Zqz-7k3v.js","assets/CheckCircle-BQl0d83F.js","assets/Settings02-DSnlYNiR.js","assets/use-mcp-client-DUHgzzKC.js","assets/constants-D_FQAPnt.js","assets/auth-B1cxztc2.js","assets/useInfiniteQuery-DyV1QDab.js","assets/use-infinite-scroll-Dhi9FPdG.js","assets/studio-tools-DC98b1mA.js","assets/badge-CqESM08z.js","assets/input-BAMDOJs0.js","assets/dropdown-menu-CEae6v-M.js","assets/Check-Cc6Bc1BH.js","assets/ChevronRight-B33Mu5AL.js","assets/Circle-DJp0izOj.js","assets/table-CQ51aPY5.js","assets/toggle-group-DH4mAwCj.js","assets/use-view-mode-DE6KjcqK.js","assets/use-mobile-CrSyO5KW.js","assets/DotsVertical-NR-zMtTO.js","assets/FilterLines-Ni7Zxtnw.js","assets/Globe01-ipTZJBPr.js","assets/SearchMd-CpXRgEf5.js","assets/dialog-BMJEsVXy.js","assets/X-DJyihanE.js","assets/AlertCircle-C20hgcIa.js","assets/Upload01-BkxnL7Jx.js","assets/alert-dialog-B4j05xqZ.js","assets/card-CdFmFmUv.js","assets/Trash01-DAbM_CFW.js","assets/label-la-FXX9j.js","assets/select-B3rAExLJ.js","assets/tooltip-ChaSBJu1.js","assets/ChevronDown-V6fE1Rcs.js","assets/ChevronUp-DK7M0E86.js","assets/switch-D2IG2BwL.js","assets/textarea-DGGDLDhY.js","assets/XCircle-DengJiq7.js","assets/checkbox-D4_5XFQQ.js","assets/Eye-C9dnkVdp.js","assets/LinkExternal01-vfCmrlzd.js","assets/use-copy-CZmbzv9b.js","assets/Copy01-CfdaTbye.js","assets/Key01-Dibq8qSI.js","assets/Plus-DRIYyF1Y.js","assets/mcp-oauth-DHOrFgRs.js","assets/Play-DetNEZKa.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-D-9It9O8.js";import{R as u}from"./require-capability-CtdSCgZx.js";import"./use-capability-dlgw5Gjj.js";import"./access-gate-BQIbgyFa.js";import"./capability-load-error-a0S1shMb.js";const g=l.lazy(()=>f(()=>import("./registry-layout-DpztDRKh.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-Dhi9FPdG.js";import{dK as i}from"./index-D-9It9O8.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-Dhi9FPdG.js";import{dK as u,ab as n}from"./index-D-9It9O8.js";function a(r,e){return u({...r,enabled:!0,suspense:!0,throwOnError:n},s,e)}export{a as u};
|