decocms 3.26.1 → 3.26.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-BDfUS-lh.js → AlertCircle-9EFUZenf.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-8daK_Mrm.js → ArrowUpRight-97355q5v.js} +1 -1
- package/dist/client/assets/{Check-C9-fsV6-.js → Check-D-9dblUn.js} +1 -1
- package/dist/client/assets/{CheckCircle-B_rVd_l8.js → CheckCircle-C2ualSpf.js} +1 -1
- package/dist/client/assets/{ChevronDown--2U1gfXf.js → ChevronDown-Cf2Q-GlB.js} +1 -1
- package/dist/client/assets/{ChevronLeft-TttN4toV.js → ChevronLeft-BaV4nFMQ.js} +1 -1
- package/dist/client/assets/{ChevronRight-BVEygGVH.js → ChevronRight-CrZy8tHx.js} +1 -1
- package/dist/client/assets/{ChevronUp-C-xaVM7d.js → ChevronUp-BAxoXhnT.js} +1 -1
- package/dist/client/assets/{Container-Bso4WS0x.js → Container-CYcITvPW.js} +1 -1
- package/dist/client/assets/{DotsVertical-Q3F6UWC_.js → DotsVertical-SvwN4CeV.js} +1 -1
- package/dist/client/assets/{Eye-CKz6zS_m.js → Eye-ByuwKsdh.js} +1 -1
- package/dist/client/assets/{FilterLines-SKQT-eWL.js → FilterLines-BJZdiggU.js} +1 -1
- package/dist/client/assets/{Globe01-iupU5eqh.js → Globe01-DfGFlik1.js} +1 -1
- package/dist/client/assets/{HardDrive-DpuvbJvr.js → HardDrive-DNFvbooP.js} +1 -1
- package/dist/client/assets/{Key01-6eW9IRFT.js → Key01-CzmPnHuw.js} +1 -1
- package/dist/client/assets/{LayoutLeft-BkxKKkMX.js → LayoutLeft-CQ8Vq9nI.js} +1 -1
- package/dist/client/assets/{LinkExternal01-BXhdtlT7.js → LinkExternal01-CgI1VTqi.js} +1 -1
- package/dist/client/assets/{Monitor01-DUICZH5i.js → Monitor01-Cw6kmClm.js} +1 -1
- package/dist/client/assets/{Palette-CS36Icvl.js → Palette-Druykvzw.js} +1 -1
- package/dist/client/assets/{Play-CbbqvWPd.js → Play-CMJ2IWYR.js} +1 -1
- package/dist/client/assets/{Plus-CSNkL1o7.js → Plus-CjrtKB-Y.js} +1 -1
- package/dist/client/assets/{RefreshCcw01-Dncu-kYd.js → RefreshCcw01-3BsQQkRx.js} +1 -1
- package/dist/client/assets/{SearchMd-B-q2EsGW.js → SearchMd-BL2y99rx.js} +1 -1
- package/dist/client/assets/{Settings02-CdJ0CKrL.js → Settings02-Cd4DIqaJ.js} +1 -1
- package/dist/client/assets/{Shield01-Crgp73nV.js → Shield01-zIbMct6w.js} +1 -1
- package/dist/client/assets/{Star01-CN33xE6w.js → Star01-eRdSY4QW.js} +1 -1
- package/dist/client/assets/{Stars01-BXO9Nc4-.js → Stars01-v0yz6PCZ.js} +1 -1
- package/dist/client/assets/{Stars02-B4CoQ82E.js → Stars02-EuAFDZ5E.js} +1 -1
- package/dist/client/assets/{Sun-CEzPQTAJ.js → Sun-CH2HWLCn.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-BI_yHGXL.js → SwitchHorizontal01-BMnNI1Fi.js} +1 -1
- package/dist/client/assets/{Tool01-R6WyaXsu.js → Tool01-Dcq7KP8Y.js} +1 -1
- package/dist/client/assets/{Trash01-C3pnsiws.js → Trash01-Cup7-ZTT.js} +1 -1
- package/dist/client/assets/{Upload01-BHsRhr7X.js → Upload01-C9yi1Bdg.js} +1 -1
- package/dist/client/assets/{User01-JuGE_kA7.js → User01-thAIxsAs.js} +1 -1
- package/dist/client/assets/{Users01-BVUwP6xk.js → Users01-DPJm6-u-.js} +1 -1
- package/dist/client/assets/{Users03-Bek4Ag3W.js → Users03-BlNe2PnN.js} +1 -1
- package/dist/client/assets/{X-BdwzFded.js → X-1KR4wibP.js} +1 -1
- package/dist/client/assets/{XCircle-D_3MYOn4.js → XCircle-UPVnJx4i.js} +1 -1
- package/dist/client/assets/{XClose-Da5LgJSi.js → XClose-pR-QU0OQ.js} +1 -1
- package/dist/client/assets/{Zap-DHBAOmqP.js → Zap-Cl-JM7N9.js} +1 -1
- package/dist/client/assets/{ZapSquare-CP91cLS8.js → ZapSquare-B1o2Q9OR.js} +1 -1
- package/dist/client/assets/{ZoomOut-CaG3Pd1Z.js → ZoomOut-D8vQ49we.js} +1 -1
- package/dist/client/assets/{access-gate-AjUY-gkn.js → access-gate-CWPebMdP.js} +1 -1
- package/dist/client/assets/{accordion-JZC0q2Q6.js → accordion-aX0NKKKh.js} +1 -1
- package/dist/client/assets/{add-section-modal-B5en9ngD.js → add-section-modal-DbuGc2qc.js} +1 -1
- package/dist/client/assets/{agent-capabilities-gx2lqG9R.js → agent-capabilities-BJLQSkAN.js} +1 -1
- package/dist/client/assets/{agent-icon-DAPplz1A.js → agent-icon-DT8dQ9tq.js} +1 -1
- package/dist/client/assets/{agent-icons-Dk-aO0GI.js → agent-icons-DRrDyR7j.js} +1 -1
- package/dist/client/assets/{agents-list-Cqp5uusD.js → agents-list-DDhPNISh.js} +1 -1
- package/dist/client/assets/{ai-providers-DLs4iaPF.js → ai-providers-GxPLAPId.js} +1 -1
- package/dist/client/assets/{alert-C04qeSRO.js → alert-DyB_hFGI.js} +1 -1
- package/dist/client/assets/{alert-dialog-Q8M8ngFf.js → alert-dialog-CSkQIwm8.js} +1 -1
- package/dist/client/assets/app-editor-BsxVHV86.js +1 -0
- package/dist/client/assets/{auth-catchall-BbuGVKd9.js → auth-catchall-BUwhIhze.js} +1 -1
- package/dist/client/assets/{auth-split-layout-sY7FyVQz.js → auth-split-layout-CY4CpKKX.js} +1 -1
- package/dist/client/assets/{automation-list-row-BRsSmcOA.js → automation-list-row-5M4PNEWw.js} +1 -1
- package/dist/client/assets/{automation-runs-gdpRnoA6.js → automation-runs-BJTRztep.js} +1 -1
- package/dist/client/assets/{automations-zDSrpko2.js → automations-Cy981ltn.js} +1 -1
- package/dist/client/assets/{avatar-BqNGZrFg.js → avatar-BHEXMwdE.js} +1 -1
- package/dist/client/assets/{badge-BBLSXFe0.js → badge-Da0IsrqH.js} +1 -1
- package/dist/client/assets/{brand-context-Be4M-ZZ_.js → brand-context-DTmvDRqf.js} +1 -1
- package/dist/client/assets/{buckets-D-k7xX4_.js → buckets-Cv3AB_TT.js} +1 -1
- package/dist/client/assets/{calendar-CfY7gp-n.js → calendar-BbhbS2FE.js} +1 -1
- package/dist/client/assets/{capability-load-error-CjE005FF.js → capability-load-error-Dfw4xb8a.js} +1 -1
- package/dist/client/assets/{card-D41ULrnf.js → card-BUTabNLA.js} +1 -1
- package/dist/client/assets/{chat-context-BFmJRDzy.js → chat-context-Bu6qpu9K.js} +1 -1
- package/dist/client/assets/{checkbox-CBmcFqoh.js → checkbox--nDaSUZE.js} +1 -1
- package/dist/client/assets/{cli-auth-success-BcBQhgvD.js → cli-auth-success-CUSnxWUp.js} +1 -1
- package/dist/client/assets/{collection-detail-kkp2noDH.js → collection-detail-DHxXW6T4.js} +1 -1
- package/dist/client/assets/{collection-display-button-BNfKMIgL.js → collection-display-button-BfQyXSIv.js} +1 -1
- package/dist/client/assets/{collection-search-CDLcWLfd.js → collection-search-LsgoMrVO.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-DrTvLn6R.js → collection-table-wrapper-D3ciIIEv.js} +1 -1
- package/dist/client/assets/{collection-tabs-CbZbTMYY.js → collection-tabs-CQJiHDMR.js} +1 -1
- package/dist/client/assets/{collections-BxDJ4z3g.js → collections-C_j8CeI8.js} +1 -1
- package/dist/client/assets/{command-B8qtKAnE.js → command-BehF6pb8.js} +1 -1
- package/dist/client/assets/{connect-desktop-dialog-CDUh5Otr.js → connect-desktop-dialog-DPqrgnkS.js} +1 -1
- package/dist/client/assets/{connection-card-CSsbMtfE.js → connection-card-EXvV7rxl.js} +1 -1
- package/dist/client/assets/{connection-detail-E_AC0EPN.js → connection-detail-58UbdFd3.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-BonOFyzw.js → connection-form-helpers-DoJomSCQ.js} +1 -1
- package/dist/client/assets/{connections-Ca9YMoFm.js → connections-BMZIGugH.js} +1 -1
- package/dist/client/assets/{decopilot-sse-pool-BHhoQKaF.js → decopilot-sse-pool-BUhEcft-.js} +1 -1
- package/dist/client/assets/{dialog-Cwf6uY_y.js → dialog-Bm1pP7Vu.js} +1 -1
- package/dist/client/assets/{domain-settings-oLlPZ4Z3.js → domain-settings-DHsRsnmX.js} +1 -1
- package/dist/client/assets/{drawer-CF0b7Dg3.js → drawer-B51jkLaX.js} +1 -1
- package/dist/client/assets/{dropdown-menu-UGlYpK18.js → dropdown-menu-CIu58K9q.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-V_3blVro.js → dynamic-plugin-layout-DWE13BKk.js} +1 -1
- package/dist/client/assets/{empty-state-CoXt5rYF.js → empty-state-1AbmTLd7.js} +1 -1
- package/dist/client/assets/{empty-state-h_qXtgbw.js → empty-state-BfmCVPeb.js} +1 -1
- package/dist/client/assets/{extract-connection-data-BKeaLULt.js → extract-connection-data-LoMqboL3.js} +1 -1
- package/dist/client/assets/{features-u4e9ViPZ.js → features-DWJ09Fdz.js} +1 -1
- package/dist/client/assets/{file-explorer-BHKOSo2p.js → file-explorer-Dmpsw-4-.js} +1 -1
- package/dist/client/assets/{file-type-icon-7TqtrpuQ.js → file-type-icon-CX5JEvCQ.js} +1 -1
- package/dist/client/assets/{files-C9p4yssc.js → files-QExlaPCQ.js} +1 -1
- package/dist/client/assets/{form-Bbpyf2N_.js → form-BcPtow5O.js} +1 -1
- package/dist/client/assets/{general-DqO6G3WI.js → general-CLesrOe8.js} +1 -1
- package/dist/client/assets/{generate-id-BHe5yw90.js → generate-id-CadHbHqX.js} +1 -1
- package/dist/client/assets/{github-repo-picker-CVG2zsbh.js → github-repo-picker-B24_pGAu.js} +1 -1
- package/dist/client/assets/{header-tab-button-t5WNjrVG.js → header-tab-button-DSX6YPkf.js} +1 -1
- package/dist/client/assets/{hover-card-Azyk5Kxa.js → hover-card-DE2_8MLP.js} +1 -1
- package/dist/client/assets/{image-field-CXkzTwa7.js → image-field-D00iYa4G.js} +1 -1
- package/dist/client/assets/{index-CwyiLbkO.js → index-50-dmJFK.js} +1 -1
- package/dist/client/assets/{index-sqqDCA0K.js → index-B1bHiM-j.js} +1 -1
- package/dist/client/assets/{index-DkWynf6r.js → index-BZvxagUr.js} +4 -4
- package/dist/client/assets/{index-f0X8ef8k.js → index-BflNEs6l.js} +1 -1
- package/dist/client/assets/{index-Co-NpkaC.js → index-Bo5bzoUm.js} +1 -1
- package/dist/client/assets/{index-B_tO_wVS.js → index-CCs3Chg3.js} +1 -1
- package/dist/client/assets/{index-CAs8iq4o.js → index-CHdFXpqc.js} +1 -1
- package/dist/client/assets/{index-DJTEqPXf.js → index-CR_LeyNj.js} +1 -1
- package/dist/client/assets/{index-DcI1sEv_.js → index-D6ELOmUq.js} +1 -1
- package/dist/client/assets/{index-Bjie-Vum.js → index-Db3P8pHg.js} +1 -1
- package/dist/client/assets/{index-skFG1_ns.js → index-Dr4Isy1j.js} +1 -1
- package/dist/client/assets/{index-DbpajCnQ.js → index-J2NhKqyZ.js} +1 -1
- package/dist/client/assets/{index-DCeOX6CY.js → index-YdX5UjUB.js} +1 -1
- package/dist/client/assets/{index-CiRQNPVt.js → index-biiHZ5l9.js} +3 -3
- package/dist/client/assets/{index-Dci2MWs9.js → index-r7-3fAFf.js} +1 -1
- package/dist/client/assets/{index-redirect-D6d28r6b.js → index-redirect-pPYMz5D6.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-BND7fiNU.js → infiniteQueryObserver-B0VBGXv5.js} +1 -1
- package/dist/client/assets/{input-D3E6n6la.js → input-5PMMNPU9.js} +1 -1
- package/dist/client/assets/{integration-icon-vaGvNHHz.js → integration-icon-Dy-a3x5R.js} +1 -1
- package/dist/client/assets/{label-DLUhXNk7.js → label-CcC4_aKf.js} +1 -1
- package/dist/client/assets/{layout-PdamBSR0.js → layout-CbTbCjmA.js} +1 -1
- package/dist/client/assets/{login-CX7WJC_U.js → login-Dn4EF5EK.js} +1 -1
- package/dist/client/assets/{members-Bw9vSm5N.js → members-BwcNzXwU.js} +1 -1
- package/dist/client/assets/{monaco-editor-Bgzj9gt4.js → monaco-editor-CJVi8Ty8.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-DOXVZiRZ.js → monitoring-stats-row-BAplEVfE.js} +1 -1
- package/dist/client/assets/{oauth-callback-Cfp_JeoH.js → oauth-callback-D5XAAL8p.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-DOmF-VOd.js → oauth-callback-ai-provider-tGQCB63I.js} +1 -1
- package/dist/client/assets/{onboarding-C4KH1uOA.js → onboarding-CgvYwT2C.js} +1 -1
- package/dist/client/assets/{org-install-CrBGOT0T.js → org-install-CV5qvXsE.js} +1 -1
- package/dist/client/assets/{org-layout-BCdmD1Ye.js → org-layout-BFil8fwL.js} +1 -1
- package/dist/client/assets/{org-plugin-layout-shv3-lWc.js → org-plugin-layout-DyCflrr1.js} +1 -1
- package/dist/client/assets/{page-seo-form-qANN0Bj1.js → page-seo-form-Bbna5w2y.js} +1 -1
- package/dist/client/assets/page-seo-sheet-D9M3CoUb.js +1 -0
- package/dist/client/assets/{pair-CpEuUIpQ.js → pair-Ba1UoSSJ.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-CrO1kZyK.js → plugin-empty-state-DM8dR2Wk.js} +1 -1
- package/dist/client/assets/{plugin-header-DTTyXwvF.js → plugin-header-CaWKfaZE.js} +1 -1
- package/dist/client/assets/{plugin-layout-CXygrV9H.js → plugin-layout-DrVKV-lp.js} +1 -1
- package/dist/client/assets/{popover-C1MgHMHU.js → popover-Cvcd3A1d.js} +1 -1
- package/dist/client/assets/{post-editor-aLUVDKW-.js → post-editor-CM-ESdP7.js} +1 -1
- package/dist/client/assets/{primitives-BBsQqWkR.js → primitives-DWXKnou4.js} +1 -1
- package/dist/client/assets/{profile-CjQ0lj2q.js → profile-DmCC3zYK.js} +1 -1
- package/dist/client/assets/{project-app-view-Br1j175t.js → project-app-view-C9azYjZP.js} +1 -1
- package/dist/client/assets/record-editor-DJucp492.js +1 -0
- package/dist/client/assets/registry-hKns5OCc.js +2 -0
- package/dist/client/assets/{registry-layout-CHn-aQtX.js → registry-layout-DPaKDLDg.js} +1 -1
- package/dist/client/assets/{require-capability-vzDtNqMc.js → require-capability-DVI2cKO3.js} +1 -1
- package/dist/client/assets/{required-auth-layout-BE5eceMw.js → required-auth-layout-zYH6NIDF.js} +1 -1
- package/dist/client/assets/{reset-password-8Qbe0fKB.js → reset-password-DXXx8e6Q.js} +1 -1
- package/dist/client/assets/{resizable-CrMJy22o.js → resizable-BbbLszRZ.js} +1 -1
- package/dist/client/assets/{roles-BRTHcf_Y.js → roles-vHYrQg5g.js} +1 -1
- package/dist/client/assets/save-referenced-block-q2CPWVkl.js +1 -0
- package/dist/client/assets/{save-status-BZf4M3tc.js → save-status-pJVz5vCQ.js} +1 -1
- package/dist/client/assets/{schema-form-DNuUk0WJ.js → schema-form-nZH-67HX.js} +1 -1
- package/dist/client/assets/{scroll-area-verb-Y8E.js → scroll-area-BqOijBAI.js} +1 -1
- package/dist/client/assets/{search-input-CZKc9XZR.js → search-input-BgGthWir.js} +1 -1
- package/dist/client/assets/{secrets-ScbIQJha.js → secrets-YkTDT7yT.js} +1 -1
- package/dist/client/assets/{sections-editor-CysGozit.js → sections-editor-CSz4pxMw.js} +1 -1
- package/dist/client/assets/{select-BMX9jvQG.js → select-CNSUv3cw.js} +1 -1
- package/dist/client/assets/{select-model-BB2-8k_v.js → select-model-0CGh6cKF.js} +1 -1
- package/dist/client/assets/{seo-editor-gLS5nwCw.js → seo-editor-CspZxazh.js} +1 -1
- package/dist/client/assets/{settings-layout-EdgjO8iZ.js → settings-layout-DRYgevr6.js} +1 -1
- package/dist/client/assets/{settings-section-CQW36fJV.js → settings-section-V9kb8x32.js} +1 -1
- package/dist/client/assets/{sheet-Utq51ofH.js → sheet-D99KevZC.js} +1 -1
- package/dist/client/assets/{shell-controls-CXM2LvTp.js → shell-controls-DSSWZ7Ia.js} +1 -1
- package/dist/client/assets/{shell-layout-3b4NfWya.js → shell-layout-4LsIVsl3.js} +1 -1
- package/dist/client/assets/{shell-route-loading-DSfyT3dO.js → shell-route-loading-5KSwc3hj.js} +1 -1
- package/dist/client/assets/{sidebar-BBqRosV0.js → sidebar-CPZXU-2w.js} +1 -1
- package/dist/client/assets/{skeleton-dQOYuNlQ.js → skeleton--DN75sg7.js} +1 -1
- package/dist/client/assets/{sortable.esm-D7AgS_lX.js → sortable.esm-g7bq1nDZ.js} +1 -1
- package/dist/client/assets/{spinner-_hqWpG0c.js → spinner-DJD6-9r-.js} +1 -1
- package/dist/client/assets/{sso-Cg_UsaPg.js → sso-D04DjSnZ.js} +1 -1
- package/dist/client/assets/{store-BIRCadh0.js → store-DTK5DubB.js} +1 -1
- package/dist/client/assets/store-registry-nABlp_7k.js +2 -0
- package/dist/client/assets/{switch-CTAzWsjZ.js → switch-D6SWnoi2.js} +1 -1
- package/dist/client/assets/{tab-id-C7unjelb.js → tab-id-D4SJwEQy.js} +1 -1
- package/dist/client/assets/{table-BuLHtfTA.js → table-Cx3PhNth.js} +1 -1
- package/dist/client/assets/{tabs-DVd_y6YL.js → tabs-DCDCb9Pz.js} +1 -1
- package/dist/client/assets/{task-status-5oHTrkjV.js → task-status-P3BULAyA.js} +1 -1
- package/dist/client/assets/{textarea-D1h5iq3D.js → textarea-QEULyLXh.js} +1 -1
- package/dist/client/assets/{toggle-group-vA7ktrP-.js → toggle-group-DhVqXGfs.js} +1 -1
- package/dist/client/assets/{toolbar-D3G0G9U8.js → toolbar-BsB4Mvyv.js} +1 -1
- package/dist/client/assets/{tools-list-BL4u8QMN.js → tools-list-Ch5RlbiL.js} +1 -1
- package/dist/client/assets/{tooltip-C47QSg8i.js → tooltip-bsrBmmjV.js} +1 -1
- package/dist/client/assets/{types-Df_Z2FUK.js → types-jBdXInU0.js} +1 -1
- package/dist/client/assets/{use-ai-providers-Bwbur0GT.js → use-ai-providers-v0sCRzMO.js} +1 -1
- package/dist/client/assets/{use-automations-B9mdkXiu.js → use-automations-Db8x6SNU.js} +1 -1
- package/dist/client/assets/{use-capability-1uxC8-oZ.js → use-capability-BPM45mbW.js} +1 -1
- package/dist/client/assets/{use-collections-B1Mg9Y32.js → use-collections-B5Jh_wGd.js} +1 -1
- package/dist/client/assets/{use-connection-DpxWBF4Y.js → use-connection-DyJtuHQI.js} +1 -1
- package/dist/client/assets/{use-copy-B_uLjrw6.js → use-copy-P6tx-uOp.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-BBxov1Li.js → use-create-virtual-mcp-CWYOy45e.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-DDZnxori.js → use-debounced-autosave-ClLbciGl.js} +1 -1
- package/dist/client/assets/{use-delete-connection-eQCNxdaR.js → use-delete-connection-C60uGs0b.js} +1 -1
- package/dist/client/assets/{use-file-configs-o-LP0Blk.js → use-file-configs-CC8ghNUa.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-D8iZFAEQ.js → use-infinite-scroll-xQQ6lYk4.js} +1 -1
- package/dist/client/assets/{use-list-state-BkETzhj1.js → use-list-state-BZmeG7gi.js} +1 -1
- package/dist/client/assets/{use-mcp-client-D0A6RZFw.js → use-mcp-client-CWFUu1lY.js} +1 -1
- package/dist/client/assets/{use-mcp-prompts-BuV5LRNr.js → use-mcp-prompts-B5RhBVzg.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-BTzw-W77.js → use-mcp-tools-DePRGZE5.js} +1 -1
- package/dist/client/assets/{use-members-DDVaE5yQ.js → use-members-Cw70r_Wh.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-Drh7z3D_.js → use-navigate-to-agent-CdsMYUzL.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-BlGBETGB.js → use-org-auth-client--i_Sx92M.js} +1 -1
- package/dist/client/assets/{use-org-sso-nq4qWMpD.js → use-org-sso-C1cJTBIx.js} +1 -1
- package/dist/client/assets/{use-organization-roles-i1o2TOl8.js → use-organization-roles-ATKYiNpl.js} +1 -1
- package/dist/client/assets/{use-organization-settings-PADdytdf.js → use-organization-settings-Izqk1Gkk.js} +1 -1
- package/dist/client/assets/{use-registry-connections-C0VEE_YX.js → use-registry-connections-C-WVKjSU.js} +1 -1
- package/dist/client/assets/{use-secrets-DZDUsUGC.js → use-secrets-BpdIBEe6.js} +1 -1
- package/dist/client/assets/{use-status-sounds-DR8WA3PU.js → use-status-sounds-BJ_LqdGJ.js} +1 -1
- package/dist/client/assets/{use-view-mode-BpduDYTq.js → use-view-mode-CbT8E3wV.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-DciRKx1X.js → use-virtual-mcp-0jbEmvOc.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-BGg7INCQ.js +1 -0
- package/dist/client/assets/{useRouterState-BXwm4DCl.js → useRouterState-Dm0UHjU4.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-B4dQiTEq.js +1 -0
- package/dist/client/assets/{user-DaO6RYsc.js → user-DRDdFgUw.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-B-ZBNJWV.js → view-mode-toggle-G0qNMbJ1.js} +1 -1
- package/dist/client/assets/{workflow-C3zNP9N8.js → workflow-D1PUPL3K.js} +1 -1
- package/dist/client/assets/workflow-detail-CRUxUbKb.js +1 -0
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +382 -378
- package/dist/server/migrate.js +98 -94
- package/dist/server/server.js +244 -244
- package/package.json +1 -1
- package/dist/client/assets/app-editor-CNA09iLR.js +0 -1
- package/dist/client/assets/page-seo-sheet-D4wNk0RY.js +0 -1
- package/dist/client/assets/record-editor-QHa9iaw5.js +0 -1
- package/dist/client/assets/registry-BkLh6mX8.js +0 -2
- package/dist/client/assets/save-referenced-block-CBTtXYiM.js +0 -1
- package/dist/client/assets/store-registry-Duulq-Qg.js +0 -2
- package/dist/client/assets/useInfiniteQuery-C1jLiRqA.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-CHLM-3cW.js +0 -1
- package/dist/client/assets/workflow-detail-CFwJ5L9v.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,e as m,a0 as h}from"./index-
|
|
1
|
+
import{r as o,e as m,a0 as h}from"./index-biiHZ5l9.js";import{p as R,q as I}from"./question-004-sINsf4GQ.js";import{d as y,D as S}from"./decopilot-sse-pool-BUhEcft-.js";const b=()=>0;function D(s){const{orgSlug:e,taskId:r,enabled:t=!0,onStep:n,onFinish:u,onTaskStatus:f}=s,l=o.useRef({taskId:r,onStep:n,onFinish:u,onTaskStatus:f});l.current={taskId:r,onStep:n,onFinish:u,onTaskStatus:f};const i=o.useRef(null),p=o.useRef(t),d=o.useRef(e);(!i.current||p.current!==t||d.current!==e)&&(p.current=t,d.current=e,i.current=E=>{if(!t||!e)return()=>{};const k=T=>{let a;try{a=JSON.parse(T.data)}catch{return}const c=l.current;if(!(c.taskId&&a.subject!==c.taskId)){switch(a.type){case S.STEP:c.onStep?.(a);break;case S.FINISH:c.onFinish?.(a);break;case S.THREAD_STATUS:c.onTaskStatus?.(a);break}E()}};return y.subscribe(e,k)}),o.useSyncExternalStore(i.current,b,b)}const O=new Set(["completed","failed","requires_action"]);function U(s){const e=m.c(5),[r]=h();let t;e[0]!==r?(t=u=>{r.enableSounds&&O.has(u.data.status)&&R(I.dataUri).catch(_)},e[0]=r,e[1]=t):t=e[1];let n;e[2]!==s||e[3]!==t?(n={orgSlug:s,onTaskStatus:t},e[2]=s,e[3]=t,e[4]=n):n=e[4],D(n)}function _(s){console.warn("[status-sounds] playback failed:",s)}export{U as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as p,r as f}from"./index-
|
|
1
|
+
import{e as p,r as f}from"./index-biiHZ5l9.js";import{u as w}from"./tooltip-bsrBmmjV.js";function S(m,M){const e=p.c(12),u=M===void 0?"cards":M,o=w(),b=f.useRef(o),s=m?`deco-view-mode-${m}`:"deco-view-mode";let i;e[0]!==u||e[1]!==s?(i=()=>{const r=globalThis.localStorage?.getItem(s);return r==="cards"||r==="table"?r:u},e[0]=u,e[1]=s,e[2]=i):i=e[2];const[t,g]=f.useState(i);let l;e[3]!==s?(l=r=>{g(r),globalThis.localStorage?.setItem(s,r)},e[3]=s,e[4]=l):l=e[4];const d=l;let c,a;e[5]!==o||e[6]!==t?(c=()=>{!b.current&&o&&t==="table"&&g("cards"),b.current=o},a=[o,t],e[5]=o,e[6]=t,e[7]=c,e[8]=a):(c=e[7],a=e[8]),f.useEffect(c,a);let n;return e[9]!==d||e[10]!==t?(n=[t,d],e[9]=d,e[10]=t,e[11]=n):n=e[11],n}export{S as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as a,q as d,aO as p,n as P}from"./index-
|
|
1
|
+
import{e as a,q as d,aO as p,n as P}from"./index-biiHZ5l9.js";import{b as L,a as S,u as V,c as _}from"./use-collections-B5Jh_wGd.js";import{S as g,u as I}from"./use-mcp-client-CWFUu1lY.js";function v(s){const t=a.c(5);let e;t[0]!==s?(e=s===void 0?{}:s,t[0]=s,t[1]=e):e=t[1];const n=e,{org:i}=d();let o;t[2]!==i.id||t[3]!==i.slug?(o={connectionId:g,orgId:i.id,orgSlug:i.slug},t[2]=i.id,t[3]=i.slug,t[4]=o):o=t[4];const l=I(o);return L(i.id,"VIRTUAL_MCP",l,n)}function R(s,t,e){return _(s,"VIRTUAL_MCP",t??void 0,e)}function b(s){const t=a.c(3),{org:e}=d();let n;t[0]!==e.id||t[1]!==e.slug?(n={connectionId:g,orgId:e.id,orgSlug:e.slug},t[0]=e.id,t[1]=e.slug,t[2]=n):n=t[2];const i=I(n);return V(e.id,"VIRTUAL_MCP",s??void 0,i)}function E(s){const t=a.c(15),{org:e}=d();let n;t[0]!==e.id||t[1]!==e.slug?(n={connectionId:g,orgId:e.id,orgSlug:e.slug},t[0]=e.id,t[1]=e.slug,t[2]=n):n=t[2];const i=I(n);let o,l,c;t[3]!==s||t[4]!==e.id?(o=[...s].sort(),c=P,l=p.virtualMcpLastUsed(e.id,o),t[3]=s,t[4]=e.id,t[5]=o,t[6]=l,t[7]=c):(o=t[5],l=t[6],c=t[7]);const C=o.length>0;let u;t[8]!==i||t[9]!==o?(u=async()=>{const M=(await i.callTool({name:"VIRTUAL_MCP_LAST_USED_LIST",arguments:{ids:o}})).structuredContent??{items:[]},f=new Map;for(const m of M.items)f.set(m.id,m);return f},t[8]=i,t[9]=o,t[10]=u):u=t[10];let r;return t[11]!==l||t[12]!==C||t[13]!==u?(r={queryKey:l,enabled:C,staleTime:3e4,queryFn:u},t[11]=l,t[12]=C,t[13]=u,t[14]=r):r=t[14],c(r)}function $(){const s=a.c(3),{org:t}=d();let e;s[0]!==t.id||s[1]!==t.slug?(e={connectionId:g,orgId:t.id,orgSlug:t.slug},s[0]=t.id,s[1]=t.slug,s[2]=e):e=s[2];const n=I(e);return S(t.id,"VIRTUAL_MCP",n)}export{v as a,$ as b,E as c,b as u,R as v};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{I as u}from"./infiniteQueryObserver-B0VBGXv5.js";import{cG as i}from"./index-biiHZ5l9.js";function t(e,r){return i(e,u,r)}export{t as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bo as s,r as c,bT as a,bU as i}from"./index-
|
|
1
|
+
import{bo as s,r as c,bT as a,bU as i}from"./index-biiHZ5l9.js";function f(r){const n=s({warn:r?.router===void 0}),t=r?.router||n,u=c.useRef(void 0);return a(t.stores.__store,e=>{if(r?.select){if(r.structuralSharing??t.options.defaultStructuralSharing){const o=i(u.current,r.select(e));return u.current=o,o}return r.select(e)}return e})}export{f as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{I as s}from"./infiniteQueryObserver-B0VBGXv5.js";import{cG as u,aF as n}from"./index-biiHZ5l9.js";function a(r,e){return u({...r,enabled:!0,suspense:!0,throwOnError:n},s,e)}export{a as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as S,q as b,n as C,K as k,c as y,j as t}from"./index-
|
|
1
|
+
import{e as S,q as b,n as C,K as k,c as y,j as t}from"./index-biiHZ5l9.js";import{A as E}from"./avatar-BHEXMwdE.js";import{S as A,u as _}from"./use-mcp-client-CWFUu1lY.js";function q(m){const e=S.c(12),{org:u}=b();let x;e[0]!==u.id||e[1]!==u.slug?(x={connectionId:A,orgId:u.id,orgSlug:u.slug},e[0]=u.id,e[1]=u.slug,e[2]=x):x=e[2];const g=_(x);let d;e[3]!==m?(d=k.user(m),e[3]=m,e[4]=d):d=e[4];let s;e[5]!==g||e[6]!==m?(s=async()=>{const c=await g.callTool({name:"USER_GET",arguments:{id:m}});return(c.structuredContent??c).user},e[5]=g,e[6]=m,e[7]=s):s=e[7];const l=!!m;let o;return e[8]!==d||e[9]!==s||e[10]!==l?(o={queryKey:d,queryFn:s,staleTime:3e5,retry:1,enabled:l},e[8]=d,e[9]=s,e[10]=l,e[11]=o):o=e[11],C(o)}function R(m){const e=S.c(36),{id:u,size:x,showEmail:g,avatarOnly:d,className:s}=m,l=x===void 0?"xs":x,o=g===void 0?!1:g,c=d===void 0?!1:d,{data:r,isLoading:w,isError:U}=q(u);if(w){let a;e[0]!==s?(a=y("flex items-center gap-2",s),e[0]=s,e[1]=a):a=e[1];let i;e[2]!==l?(i=t.jsx(E.Skeleton,{shape:"circle",size:l}),e[2]=l,e[3]=i):i=e[3];let n;e[4]!==c||e[5]!==o?(n=!c&&t.jsxs("div",{className:"flex flex-col gap-1",children:[t.jsx("div",{className:"h-3 w-24 bg-muted animate-pulse rounded"}),o&&t.jsx("div",{className:"h-2 w-32 bg-muted animate-pulse rounded"})]}),e[4]=c,e[5]=o,e[6]=n):n=e[6];let f;return e[7]!==a||e[8]!==i||e[9]!==n?(f=t.jsxs("div",{className:a,children:[i,n]}),e[7]=a,e[8]=i,e[9]=n,e[10]=f):f=e[10],f}if(U||!r){let a;e[11]!==s?(a=y("flex items-center gap-2",s),e[11]=s,e[12]=a):a=e[12];let i;e[13]!==l?(i=t.jsx(E,{shape:"circle",size:l,fallback:"?",muted:!0}),e[13]=l,e[14]=i):i=e[14];let n;e[15]!==c?(n=!c&&t.jsx("div",{className:"flex flex-col",children:t.jsx("div",{className:"text-sm text-muted-foreground",children:"Unknown User"})}),e[15]=c,e[16]=n):n=e[16];let f;return e[17]!==a||e[18]!==i||e[19]!==n?(f=t.jsxs("div",{className:a,children:[i,n]}),e[17]=a,e[18]=i,e[19]=n,e[20]=f):f=e[20],f}let p;e[21]!==s?(p=y("flex items-center gap-2",s),e[21]=s,e[22]=p):p=e[22];const N=r.image??void 0;let v;e[23]!==l||e[24]!==N||e[25]!==r.name?(v=t.jsx(E,{shape:"circle",size:l,url:N,fallback:r.name}),e[23]=l,e[24]=N,e[25]=r.name,e[26]=v):v=e[26];let j;e[27]!==c||e[28]!==o||e[29]!==r.email||e[30]!==r.name?(j=!c&&t.jsxs("div",{className:"flex flex-col",children:[t.jsx("div",{className:"text-sm font-medium",children:r.name}),o&&t.jsx("div",{className:"text-xs text-muted-foreground",children:r.email})]}),e[27]=c,e[28]=o,e[29]=r.email,e[30]=r.name,e[31]=j):j=e[31];let h;return e[32]!==p||e[33]!==v||e[34]!==j?(h=t.jsxs("div",{className:p,children:[v,j]}),e[32]=p,e[33]=v,e[34]=j,e[35]=h):h=e[35],h}export{R as U};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as k,r as C,c as x,j as i}from"./index-
|
|
1
|
+
import{e as k,r as C,c as x,j as i}from"./index-biiHZ5l9.js";import{b as I,T as P,a as L}from"./tooltip-bsrBmmjV.js";const M={sm:{button:"size-7",icon:"size-4"},md:{button:"size-9",icon:"size-5"},lg:{button:"size-12",icon:"size-6"}};function B(S){const e=k.c(27),{value:s,onValueChange:y,options:o,size:R,fullWidth:E,className:z}=S,V=R===void 0?"sm":R,u=E===void 0?!1:E;let b;e[0]===Symbol.for("react.memo_cache_sentinel")?(b=[],e[0]=b):b=e[0];const _=C.useRef(b);let g;e[1]===Symbol.for("react.memo_cache_sentinel")?(g={left:0,width:0,opacity:0},e[1]=g):g=e[1];const[f,W]=C.useState(g);let h,p;e[2]!==o||e[3]!==s?(h=()=>{const t=o.findIndex(j=>j.value===s),m=_.current[t];m&&W({left:m.offsetLeft,width:m.offsetWidth,opacity:1})},p=[s,o],e[2]=o,e[3]=s,e[4]=h,e[5]=p):(h=e[4],p=e[5]),C.useEffect(h,p);const d=M[V];let n;e[6]!==z?(n=x("relative flex gap-0 bg-muted rounded-lg",z),e[6]=z,e[7]=n):n=e[7];let l;e[8]!==d||e[9]!==u||e[10]!==y||e[11]!==o||e[12]!==s?(l=o.map((t,m)=>{const j=i.jsxs("button",{ref:$=>{_.current[m]=$},type:"button",onClick:()=>y(t.value),className:x("relative z-10 flex items-center justify-center gap-2 rounded-lg transition-colors [transition-timing-function:var(--ease-out-cubic)] duration-200",u?"flex-1 h-12 px-4":d.button,!u&&t.label?"px-3":""),children:[i.jsx("span",{className:x("transition-colors ease-out duration-200 flex items-center justify-center [&>svg]:size-[1em]",d.icon,s===t.value?"text-foreground":"text-muted-foreground"),children:t.icon}),t.label&&i.jsx("span",{className:x("text-xs transition-colors ease-out duration-200 whitespace-nowrap",s===t.value?"text-foreground":"text-muted-foreground"),children:t.label})]},t.value);return t.tooltip?i.jsxs(I,{children:[i.jsx(P,{asChild:!0,children:j}),i.jsx(L,{side:"bottom",children:t.tooltip})]},t.value):j}),e[8]=d,e[9]=u,e[10]=y,e[11]=o,e[12]=s,e[13]=l):l=e[13];const w=u?"h-12":d.button;let a;e[14]!==w?(a=x("absolute z-0 bg-background rounded-lg border-shadow transition-all [transition-timing-function:var(--ease-out-cubic)] duration-200",w),e[14]=w,e[15]=a):a=e[15];const N=`${f.left}px`,T=`${f.width}px`;let r;e[16]!==f.opacity||e[17]!==N||e[18]!==T?(r={left:N,width:T,opacity:f.opacity},e[16]=f.opacity,e[17]=N,e[18]=T,e[19]=r):r=e[19];let c;e[20]!==a||e[21]!==r?(c=i.jsx("div",{className:a,style:r}),e[20]=a,e[21]=r,e[22]=c):c=e[22];let v;return e[23]!==c||e[24]!==n||e[25]!==l?(v=i.jsxs("div",{className:n,children:[l,c]}),e[23]=c,e[24]=n,e[25]=l,e[26]=v):v=e[26],v}export{B as V};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as oe,j as t,B as Ce,f as Be,b as ct,q as ze,r as dt,o as Le,G as mt,a as pt,K as Fe,ec as Ke,dz as ut}from"./index-CiRQNPVt.js";import{u as qe,S as Ve}from"./use-mcp-client-D0A6RZFw.js";import{B as ft,g as Me}from"./generate-id-BHe5yw90.js";import{C as Ge}from"./collection-display-button-BNfKMIgL.js";import{C as ht}from"./collection-search-CDLcWLfd.js";import{C as gt}from"./card-D41ULrnf.js";import{I as Qe}from"./integration-icon-vaGvNHHz.js";import{D as He,a as Je,b as Ye,c as O}from"./dropdown-menu-UGlYpK18.js";import{s as Xe,a as Ze}from"./Eye-CKz6zS_m.js";import{i as et}from"./DotsVertical-Q3F6UWC_.js";import{i as tt}from"./Tool01-R6WyaXsu.js";import{s as st}from"./Trash01-C3pnsiws.js";import{C as xt}from"./collection-table-wrapper-DrTvLn6R.js";import{E as Ue}from"./empty-state-h_qXtgbw.js";import{n as We}from"./Stars02-B4CoQ82E.js";import{U as jt}from"./user-DaO6RYsc.js";import{E as it}from"./empty-state-CoXt5rYF.js";import{u as Ct}from"./use-list-state-BkETzhj1.js";import{g as bt}from"./connection-slug-eyAPH6o3.js";import{f as vt,g as yt,c as Nt,b as wt,d as St,e as Pt,a as _t,A as Dt}from"./alert-dialog-Q8M8ngFf.js";import{a as It,b as At}from"./use-collections-B1Mg9Y32.js";import{a as Tt}from"./use-connection-DpxWBF4Y.js";import{s as Et}from"./Plus-CSNkL1o7.js";import{a as Ot}from"./layout-PdamBSR0.js";import{P as je}from"./index-Dci2MWs9.js";import"./collections-BxDJ4z3g.js";import"./SwitchHorizontal01-BI_yHGXL.js";import"./Check-C9-fsV6-.js";import"./tooltip-C47QSg8i.js";import"./view-mode-toggle-B-ZBNJWV.js";import"./badge-BBLSXFe0.js";import"./SearchMd-B-q2EsGW.js";import"./Container-Bso4WS0x.js";import"./agent-icon-DAPplz1A.js";import"./AlertCircle-BDfUS-lh.js";import"./RefreshCcw01-Dncu-kYd.js";import"./XCircle-D_3MYOn4.js";import"./ArrowUpRight-8daK_Mrm.js";import"./ZapSquare-CP91cLS8.js";import"./Users03-Bek4Ag3W.js";import"./CheckCircle-B_rVd_l8.js";import"./ChevronDown--2U1gfXf.js";import"./ChevronLeft-TttN4toV.js";import"./ChevronRight-BVEygGVH.js";import"./ChevronUp-C-xaVM7d.js";import"./ZoomOut-CaG3Pd1Z.js";import"./Globe01-iupU5eqh.js";import"./FilterLines-SKQT-eWL.js";import"./Star01-CN33xE6w.js";import"./Palette-CS36Icvl.js";import"./HardDrive-DpuvbJvr.js";import"./Key01-6eW9IRFT.js";import"./LayoutLeft-BkxKKkMX.js";import"./LinkExternal01-BXhdtlT7.js";import"./Monitor01-DUICZH5i.js";import"./Sun-CEzPQTAJ.js";import"./Play-CbbqvWPd.js";import"./Settings02-CdJ0CKrL.js";import"./Shield01-Crgp73nV.js";import"./Stars01-BXO9Nc4-.js";import"./Upload01-BHsRhr7X.js";import"./User01-JuGE_kA7.js";import"./Users01-BVUwP6xk.js";import"./XClose-Da5LgJSi.js";import"./X-BdwzFded.js";import"./Zap-DHBAOmqP.js";import"./table-BuLHtfTA.js";import"./avatar-BqNGZrFg.js";import"./use-view-mode-BpduDYTq.js";import"./sidebar-BBqRosV0.js";import"./sheet-Utq51ofH.js";function $t(i,e){const s=i.properties||{};for(const n in s){const c=s[n];if(c&&c.type==="string"&&(c.format==="url"||c.format==="uri")&&e&&typeof e=="object"&&n in e&&e[n])return e[n]}const l=["image","img","avatar","icon","logo","thumbnail","cover"];for(const n of l)if(e&&typeof e=="object"&&n in e&&typeof e[n]=="string")return e[n]}function kt(i){const e=oe.c(25),{item:s,schema:l,actions:n}=i;let c;e[0]!==s||e[1]!==l?(c=$t(l,s),e[0]=s,e[1]=l,e[2]=c):c=e[2];const r=c,u=s&&typeof s=="object"&&"description"in s&&typeof s.description=="string"?s.description:void 0;let d;e[3]!==n?(d=n&&Object.keys(n).length>0,e[3]=n,e[4]=d):d=e[4];const o=d;let p;e[5]!==r||e[6]!==s.title?(p=t.jsx(Qe,{icon:r,name:s.title,size:"md",className:"shrink-0 shadow-sm"}),e[5]=r,e[6]=s.title,e[7]=p):p=e[7];let m;e[8]!==s.title?(m=t.jsx("h3",{className:"text-base font-medium text-foreground truncate",children:s.title}),e[8]=s.title,e[9]=m):m=e[9];const f=u||"No description";let a;e[10]!==f?(a=t.jsx("p",{className:"text-base text-muted-foreground line-clamp-2",children:f}),e[10]=f,e[11]=a):a=e[11];let v;e[12]!==m||e[13]!==a?(v=t.jsxs("div",{className:"flex flex-col gap-0 flex-1",children:[m,a]}),e[12]=m,e[13]=a,e[14]=v):v=e[14];let y;e[15]!==p||e[16]!==v?(y=t.jsxs("div",{className:"flex flex-col gap-4 p-6 flex-1",children:[p,v]}),e[15]=p,e[16]=v,e[17]=y):y=e[17];let b;e[18]!==n||e[19]!==o||e[20]!==s?(b=o&&t.jsx("div",{className:"absolute top-6 right-6 sm:opacity-0 sm:group-hover:opacity-100 transition-opacity",onClick:Kt,onMouseDown:Ft,children:t.jsxs(He,{children:[t.jsx(Je,{asChild:!0,children:t.jsx(Ce,{variant:"ghost",size:"icon",className:"h-8 w-8",onClick:Lt,children:t.jsx(et,{size:20})})}),t.jsxs(Ye,{align:"end",onClick:zt,children:[n.open&&t.jsxs(O,{onClick:g=>{g.stopPropagation(),n.open?.(s)},children:[t.jsx(Xe,{size:16}),"Open"]}),n.edit&&t.jsxs(O,{onClick:g=>{g.stopPropagation(),n.edit?.(s)},children:[t.jsx(tt,{size:16}),"Edit"]}),n.duplicate&&t.jsxs(O,{onClick:g=>{g.stopPropagation(),n.duplicate?.(s)},children:[t.jsx(Ze,{size:16}),"Duplicate"]}),n.delete&&t.jsxs(O,{variant:"destructive",onClick:g=>{g.stopPropagation(),n.delete?.(s)},children:[t.jsx(st,{size:16}),"Delete"]})]})]})}),e[18]=n,e[19]=o,e[20]=s,e[21]=b):b=e[21];let x;return e[22]!==y||e[23]!==b?(x=t.jsxs(gt,{className:"cursor-pointer transition-colors hover:bg-accent/50 h-full flex flex-col group relative",children:[y,b]}),e[22]=y,e[23]=b,e[24]=x):x=e[24],x}function zt(i){return i.stopPropagation()}function Lt(i){return i.stopPropagation()}function Ft(i){return i.stopPropagation()}function Kt(i){return i.stopPropagation()}const Mt=["icon","avatar","logo"],Re=["created_at","created_by","id"];function Ut(i){return Object.keys(i).find(e=>Mt.includes(e.toLowerCase()))}function ot(i,e){return Object.keys(i.properties||{}).filter(s=>["id","created_at","updated_at","created_by","updated_by"].includes(s)?!1:e?e.includes(s):!0).map(s=>({id:s,label:s.charAt(0).toUpperCase()+s.slice(1).replace(/_/g," ")}))}function Wt(i){const e=oe.c(30),{data:s,schema:l,viewMode:n,search:c,sortKey:r,sortDirection:u,onSort:d,actions:o,onItemClick:p,headerActions:m,emptyState:f,readOnly:a,columns:v,hideToolbar:y,sortableFields:b}=i,x=u===void 0?"asc":u,g=d===void 0?Vt:d;let $;e[0]!==o?($=o===void 0?{}:o,e[0]=o,e[1]=$):$=e[1];const h=$,T=p===void 0?qt:p,E=m===void 0?null:m,N=f===void 0?null:f,k=a===void 0?!1:a,j=v===void 0?void 0:v,z=y===void 0?!1:y,P=b===void 0?void 0:b;let D;e[2]!==j||e[3]!==l||e[4]!==P?(D=j?j.filter(Bt).filter(A=>!P||P.includes(A.id)).map(Rt):ot(l,P),e[2]=j,e[3]=l,e[4]=P,e[5]=D):D=e[5];const w=D;let S;e[6]!==E||e[7]!==z||e[8]!==g||e[9]!==x||e[10]!==r||e[11]!==w?(S=!z&&t.jsx("div",{className:"shrink-0 w-full border-b border-border h-12",children:t.jsxs("div",{className:"flex items-center gap-3 h-12 px-4",children:[t.jsx("div",{className:"flex items-center gap-2 flex-1",children:E}),t.jsx("div",{className:"flex items-center gap-2 shrink-0",children:t.jsx(Ge,{sortKey:r,sortDirection:x,onSort:g,sortOptions:w})})]})}),e[6]=E,e[7]=z,e[8]=g,e[9]=x,e[10]=r,e[11]=w,e[12]=S):S=e[12];let _;e[13]!==h||e[14]!==j||e[15]!==s||e[16]!==N||e[17]!==T||e[18]!==g||e[19]!==k||e[20]!==l||e[21]!==c||e[22]!==x||e[23]!==r||e[24]!==P||e[25]!==n?(_=n==="cards"?t.jsx("div",{className:"flex-1 overflow-auto p-5",children:s.length===0?t.jsx("div",{className:"flex items-center justify-center h-full",children:N||t.jsx(Ue,{icon:t.jsx(We,{size:36,className:"text-muted-foreground"}),title:"No items found",description:c?"Try adjusting your search":"No items to display"})}):t.jsx("div",{className:"grid grid-cols-[repeat(auto-fill,minmax(280px,1fr))] gap-4",children:s.map(A=>t.jsx("div",{onClick:()=>T?.(A),className:"cursor-pointer h-full",children:t.jsx(kt,{item:A,schema:l,readOnly:k,actions:h})},A.id))})}):t.jsx(xt,{columns:Ht(j,l,P,h),data:s,sortKey:r,sortDirection:x,onSort:g,onRowClick:T,emptyState:N||t.jsx(Ue,{icon:t.jsx(We,{size:36,className:"text-muted-foreground"}),title:"No items found",description:c?"Try adjusting your search":"No items to display"})}),e[13]=h,e[14]=j,e[15]=s,e[16]=N,e[17]=T,e[18]=g,e[19]=k,e[20]=l,e[21]=c,e[22]=x,e[23]=r,e[24]=P,e[25]=n,e[26]=_):_=e[26];let I;return e[27]!==S||e[28]!==_?(I=t.jsxs("div",{className:"h-full flex flex-col overflow-hidden",children:[S,_]}),e[27]=S,e[28]=_,e[29]=I):I=e[29],I}function Rt(i){return{id:i.id,label:typeof i.header=="string"?i.header:i.id}}function Bt(i){return i.sortable!==!1}function qt(){}function Vt(){}function Gt(i){return{id:"actions",header:"",render:e=>t.jsxs(He,{children:[t.jsx(Je,{asChild:!0,children:t.jsx(Ce,{variant:"ghost",size:"sm",className:"h-8 w-8 p-0",onClick:s=>s.stopPropagation(),children:t.jsx(et,{size:20})})}),t.jsxs(Ye,{align:"end",onClick:s=>s.stopPropagation(),children:[i.open&&t.jsxs(O,{onClick:s=>{s.stopPropagation(),i.open?.(e)},children:[t.jsx(Xe,{size:16}),"Open"]}),i.edit&&t.jsxs(O,{onClick:s=>{s.stopPropagation(),i.edit?.(e)},children:[t.jsx(tt,{size:16}),"Edit"]}),i.duplicate&&t.jsxs(O,{onClick:s=>{s.stopPropagation(),i.duplicate?.(e)},children:[t.jsx(Ze,{size:16}),"Duplicate"]}),i.delete&&t.jsxs(O,{variant:"destructive",onClick:s=>{s.stopPropagation(),i.delete?.(e)},children:[t.jsx(st,{size:16}),"Delete"]})]})]}),cellClassName:"w-[60px]",sortable:!1}}function nt(i){const e=i.type;return Array.isArray(e)?e.every(s=>nt({type:s})):e==="string"||e==="number"||e==="integer"||e==="boolean"||e==="null"}function Qt(i,e){const s=i.properties||{},l=Object.keys(s).filter(o=>{const p=s[o];return p&&nt(p)}),n=Ut(s),c=[],r=new Set;n&&l.includes(n)&&(c.push(n),r.add(n));const u=["title","description","updated_at","updated_by"];for(const o of u)l.includes(o)&&!r.has(o)&&(c.push(o),r.add(o));const d=l.filter(o=>!r.has(o)&&!Re.includes(o)).sort((o,p)=>o.localeCompare(p));for(const o of d)c.push(o),r.add(o);for(const o of Re)l.includes(o)&&!r.has(o)&&(c.push(o),r.add(o));return c.map(o=>{const p=s[o],m=e?e.includes(o):!["id"].includes(o);return o===n?{id:o,header:"",render:f=>{const a=f[o];return t.jsx(Qe,{icon:a,name:f.title,size:"sm",className:"shrink-0 shadow-sm"})},sortable:!1,cellClassName:"w-16 shrink-0",wrap:!0}:o==="description"?{id:o,header:"Description",render:f=>{const a=f[o];return a==null?"—":t.jsx("span",{className:"block truncate max-w-[50ch]",children:String(a)})},sortable:m,cellClassName:"max-w-[50ch]"}:o==="created_by"||o==="updated_by"?{id:o,header:o.charAt(0).toUpperCase()+o.slice(1).replace(/_/g," "),render:f=>{const a=f[o];return a?t.jsx(jt,{id:String(a),size:"xs"}):"—"},sortable:m,cellClassName:"max-w-[250px]"}:p?.format==="date-time"||o.endsWith("_at")?{id:o,header:o.charAt(0).toUpperCase()+o.slice(1).replace(/_/g," "),render:f=>{const a=f[o];return a?t.jsx("span",{className:"block truncate max-w-full",children:new Date(a).toLocaleDateString()}):"—"},sortable:m,cellClassName:"max-w-[200px]"}:{id:o,header:o.charAt(0).toUpperCase()+o.slice(1).replace(/_/g," "),render:f=>{const a=f[o];return a==null?"—":t.jsx("span",{className:"block truncate max-w-full",children:String(a)})},sortable:m,cellClassName:"max-w-[200px]"}})}function Ht(i,e,s,l){const n=i||Qt(e,s);return n.some(u=>u.id==="actions")?n:Object.keys(l).length>0?[...n,Gt(l)]:n}function Jt(i){const e=oe.c(119),{connectionId:s,org:l,activeCollection:n,onItemClick:c}=i,r=n.name,u=n.schema??ft,d=n.hasCreateTool,o=n.hasUpdateTool,p=n.hasDeleteTool,m=Be(),{data:f}=ct.useSession(),a=f?.user?.id||"unknown",v=Tt(s);let y;e[0]!==v||e[1]!==s?(y=v?bt(v):s,e[0]=v,e[1]=s,e[2]=y):y=e[2];const b=y,{org:x}=ze();let g;e[3]!==s||e[4]!==x.id||e[5]!==x.slug?(g={connectionId:s,orgId:x.id,orgSlug:x.slug},e[3]=s,e[4]=x.id,e[5]=x.slug,e[6]=g):g=e[6];const $=qe(g),h=It(s,r,$),T=`${s}-${r}`;let E;e[7]!==l||e[8]!==T?(E={namespace:l,resource:T,defaultSortKey:"updated_at"},e[7]=l,e[8]=T,e[9]=E):E=e[9];const{search:N,searchTerm:k,setSearch:j,viewMode:z,setViewMode:P,sortKey:D,sortDirection:w,handleSort:S}=Ct(E);let _;e[10]!==k||e[11]!==w||e[12]!==D?(_={searchTerm:k,sortKey:D,sortDirection:w},e[10]=k,e[11]=w,e[12]=D,e[13]=_):_=e[13];const I=At(s,r,$,_),A=!d&&!o&&!p;let ne;e[14]!==b||e[15]!==r||e[16]!==m||e[17]!==c||e[18]!==l?(ne=C=>{if(c){c(C);return}m({to:"/$org/settings/connections/$appSlug/$collectionName/$itemId",params:{org:l,appSlug:b,collectionName:r,itemId:C.id}})},e[14]=b,e[15]=r,e[16]=m,e[17]=c,e[18]=l,e[19]=ne):ne=e[19];const L=ne;let re;e[20]!==h.create||e[21]!==a?(re=async C=>{const xe=new Date().toISOString();await h.create.mutateAsync({...C,id:Me("conn"),title:`${C.title} (Copy)`,created_at:xe,updated_at:xe,created_by:a,updated_by:a})},e[20]=h.create,e[21]=a,e[22]=re):re=e[22];const be=re,[F,ve]=dt.useState(null);let le;e[23]===Symbol.for("react.memo_cache_sentinel")?(le=C=>{ve(C)},e[23]=le):le=e[23];const rt=le;let K;e[24]!==L||e[25]!==o?(K=o&&{edit:L},e[24]=L,e[25]=o,e[26]=K):K=e[26];let M;e[27]!==be||e[28]!==d?(M=d&&{duplicate:be},e[27]=be,e[28]=d,e[29]=M):M=e[29];let U;e[30]!==p?(U=p&&{delete:rt},e[30]=p,e[31]=U):U=e[31];let ae;e[32]!==M||e[33]!==U||e[34]!==K?(ae={...K,...M,...U},e[32]=M,e[33]=U,e[34]=K,e[35]=ae):ae=e[35];const ye=ae;let ce;e[36]!==h.delete||e[37]!==F?(ce=async()=>{F&&(await h.delete.mutateAsync(F.id),ve(null))},e[36]=h.delete,e[37]=F,e[38]=ce):ce=e[38];const Ne=ce;let de;e[39]!==h.create||e[40]!==b||e[41]!==r||e[42]!==d||e[43]!==m||e[44]!==l||e[45]!==a?(de=async()=>{if(!d){Le.error("Create operation is not available for this collection");return}const C=new Date().toISOString(),xe={id:Me("conn"),title:"New Item",description:"A brief description of the item",created_at:C,updated_at:C,created_by:a,updated_by:a};try{const ke=await h.create.mutateAsync(xe);m({to:"/$org/settings/connections/$appSlug/$collectionName/$itemId",params:{org:l,appSlug:b,collectionName:r,itemId:ke.id}})}catch(ke){console.error("Failed to create item:",ke)}},e[39]=h.create,e[40]=b,e[41]=r,e[42]=d,e[43]=m,e[44]=l,e[45]=a,e[46]=de):de=e[46];const we=de;let me;e[47]!==u?(me=ot(u),e[47]=u,e[48]=me):me=e[48];const Se=me,lt=(I?.length??0)>0,at=d&&!lt&&!N;let pe;e[49]!==h.create||e[50]!==we||e[51]!==d?(pe=d?t.jsxs(Ce,{onClick:we,size:"sm",disabled:h.create.isPending,className:"h-7",children:[t.jsx(Et,{className:"mr-2 h-4 w-4"}),h.create.isPending?"Creating...":"Create"]}):null,e[49]=h.create,e[50]=we,e[51]=d,e[52]=pe):pe=e[52];const ue=pe,Pe=D;let W;e[53]!==S||e[54]!==w||e[55]!==Se||e[56]!==Pe?(W=t.jsx(Ot,{children:t.jsx(Ge,{sortKey:Pe,sortDirection:w,onSort:S,sortOptions:Se})}),e[53]=S,e[54]=w,e[55]=Se,e[56]=Pe,e[57]=W):W=e[57];const _e=`Search ${r}...`;let R;e[58]!==j?(R=C=>{C.key==="Escape"&&(j(""),C.target.blur())},e[58]=j,e[59]=R):R=e[59];let B;e[60]!==N||e[61]!==j||e[62]!==_e||e[63]!==R?(B=t.jsx("div",{className:"flex-1",children:t.jsx(ht,{value:N,onChange:j,placeholder:_e,onKeyDown:R})}),e[60]=N,e[61]=j,e[62]=_e,e[63]=R,e[64]=B):B=e[64];let q;e[65]!==ue||e[66]!==d?(q=d&&t.jsx("div",{className:"pr-3",children:ue}),e[65]=ue,e[66]=d,e[67]=q):q=e[67];let V;e[68]!==B||e[69]!==q?(V=t.jsxs("div",{className:"flex items-center gap-2",children:[B,q]}),e[68]=B,e[69]=q,e[70]=V):V=e[70];let G;e[71]!==I?(G=I??[],e[71]=I,e[72]=G):G=e[72];const De=D;let Q;e[73]!==L?(Q=C=>L(C),e[73]=L,e[74]=Q):Q=e[74];const Ie="No items found",Ae=N?"Try adjusting your search terms":"This collection doesn't have any items yet.",Te=at?ue:void 0;let H;e[75]!==Ie||e[76]!==Ae||e[77]!==Te?(H=t.jsx(it,{image:null,title:Ie,description:Ae,actions:Te}),e[75]=Ie,e[76]=Ae,e[77]=Te,e[78]=H):H=e[78];let J;e[79]!==S||e[80]!==A||e[81]!==ye||e[82]!==u||e[83]!==N||e[84]!==j||e[85]!==P||e[86]!==w||e[87]!==G||e[88]!==De||e[89]!==Q||e[90]!==H||e[91]!==z?(J=t.jsx("div",{className:"flex-1 overflow-auto",children:t.jsx(Wt,{hideToolbar:!0,data:G,schema:u,viewMode:z,onViewModeChange:P,search:N,onSearchChange:j,sortKey:De,sortDirection:w,onSort:S,actions:ye,onItemClick:Q,readOnly:A,emptyState:H})}),e[79]=S,e[80]=A,e[81]=ye,e[82]=u,e[83]=N,e[84]=j,e[85]=P,e[86]=w,e[87]=G,e[88]=De,e[89]=Q,e[90]=H,e[91]=z,e[92]=J):J=e[92];let Y;e[93]!==V||e[94]!==J?(Y=t.jsxs("div",{className:"flex flex-col h-full overflow-hidden",children:[V,J]}),e[93]=V,e[94]=J,e[95]=Y):Y=e[95];const Ee=!!F;let fe;e[96]===Symbol.for("react.memo_cache_sentinel")?(fe=C=>{C||ve(null)},e[96]=fe):fe=e[96];let he;e[97]===Symbol.for("react.memo_cache_sentinel")?(he=t.jsx(Nt,{children:"Delete item?"}),e[97]=he):he=e[97];const Oe=F?.title;let X;e[98]!==Oe?(X=t.jsxs(wt,{children:[he,t.jsxs(St,{children:['Are you sure you want to delete "',Oe,'"? This action cannot be undone.']})]}),e[98]=Oe,e[99]=X):X=e[99];let Z;e[100]!==h.delete.isPending?(Z=t.jsx(vt,{disabled:h.delete.isPending,children:"Cancel"}),e[100]=h.delete.isPending,e[101]=Z):Z=e[101];const $e=h.delete.isPending?"Deleting...":"Delete";let ee;e[102]!==h.delete.isPending||e[103]!==Ne||e[104]!==$e?(ee=t.jsx(yt,{onClick:Ne,disabled:h.delete.isPending,className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",children:$e}),e[102]=h.delete.isPending,e[103]=Ne,e[104]=$e,e[105]=ee):ee=e[105];let te;e[106]!==Z||e[107]!==ee?(te=t.jsxs(Pt,{children:[Z,ee]}),e[106]=Z,e[107]=ee,e[108]=te):te=e[108];let se;e[109]!==X||e[110]!==te?(se=t.jsxs(_t,{children:[X,te]}),e[109]=X,e[110]=te,e[111]=se):se=e[111];let ie;e[112]!==Ee||e[113]!==se?(ie=t.jsx(Dt,{open:Ee,onOpenChange:fe,children:se}),e[112]=Ee,e[113]=se,e[114]=ie):ie=e[114];let ge;return e[115]!==W||e[116]!==Y||e[117]!==ie?(ge=t.jsxs(t.Fragment,{children:[W,Y,ie]}),e[115]=W,e[116]=Y,e[117]=ie,e[118]=ge):ge=e[118],ge}function Yt(){const i=oe.c(13),{org:e,project:s}=ze(),l=mt();let n;i[0]!==e.id||i[1]!==e.slug?(n={connectionId:Ve,orgId:e.id,orgSlug:e.slug},i[0]=e.id,i[1]=e.slug,i[2]=n):n=i[2];const c=qe(n);let r;i[3]!==c||i[4]!==s?(r=async p=>{const m=s.enabledPlugins??[];if(m.includes(p))return;const f=[...m,p],a=await c.callTool({name:"COLLECTION_VIRTUAL_MCP_UPDATE",arguments:{id:s.id,data:{metadata:{enabled_plugins:f}}}});return a.structuredContent??a},i[3]=c,i[4]=s,i[5]=r):r=i[5];let u;i[6]!==e.id||i[7]!==s||i[8]!==l?(u=()=>{l.invalidateQueries({queryKey:Fe.project(e.id,s.slug)}),l.invalidateQueries({queryKey:Fe.projects(e.id)})},i[6]=e.id,i[7]=s,i[8]=l,i[9]=u):u=i[9];let d;return i[10]!==r||i[11]!==u?(d={mutationFn:r,onSuccess:u,onError:Xt},i[10]=r,i[11]=u,i[12]=d):d=i[12],pt(d)}function Xt(i){Le.error("Failed to enable plugin: "+(i instanceof Error?i.message:"Unknown error"))}function Zt(i){const e=oe.c(12),{pluginId:s,title:l,description:n,icon:c}=i,r=Yt();let u;e[0]!==r||e[1]!==s?(u=async()=>{try{await r.mutateAsync(s),Le.success("Plugin enabled!")}catch{}},e[0]=r,e[1]=s,e[2]=u):u=e[2];const d=u,o=c??null,p=r.isPending?"Enabling…":"Enable plugin";let m;e[3]!==r.isPending||e[4]!==d||e[5]!==p?(m=t.jsx(Ce,{onClick:d,disabled:r.isPending,children:p}),e[3]=r.isPending,e[4]=d,e[5]=p,e[6]=m):m=e[6];let f;return e[7]!==n||e[8]!==o||e[9]!==m||e[10]!==l?(f=t.jsx(it,{image:o,title:l,description:n,actions:m}),e[7]=n,e[8]=o,e[9]=m,e[10]=l,e[11]=f):f=e[11],f}const es={name:"WORKFLOW",displayName:"Workflow",hasCreateTool:!0,hasUpdateTool:!0,hasDeleteTool:!0};function Ci(){const{project:i,org:e}=ze();if(!(i.enabledPlugins??[]).includes(Ke))return t.jsx(je,{children:t.jsx(je.Content,{children:t.jsx("div",{className:"flex flex-col items-center justify-center h-full",children:t.jsx(Zt,{pluginId:Ke,title:"Enable Workflows",description:"Automate multi-step processes by enabling the Workflows plugin. Once enabled you can create, run, and monitor workflows.",icon:t.jsx("div",{className:"bg-muted p-4 rounded-full",children:t.jsx(ut,{className:"size-8 text-muted-foreground"})})})})})});const n=Be();return t.jsx(je,{children:t.jsx(je.Content,{children:t.jsx(Jt,{connectionId:Ve,org:e.slug,activeCollection:es,onItemClick:c=>n({to:"/$org/settings/workflows/$itemId",params:{org:e.slug,itemId:c.id}})})})})}export{Ci as default};
|
|
1
|
+
import{e as oe,j as t,B as Ce,f as Be,b as ct,q as ze,r as dt,o as Le,G as mt,a as pt,K as Fe,ec as Ke,dz as ut}from"./index-biiHZ5l9.js";import{u as qe,S as Ve}from"./use-mcp-client-CWFUu1lY.js";import{B as ft,g as Me}from"./generate-id-CadHbHqX.js";import{C as Ge}from"./collection-display-button-BfQyXSIv.js";import{C as ht}from"./collection-search-LsgoMrVO.js";import{C as gt}from"./card-BUTabNLA.js";import{I as Qe}from"./integration-icon-Dy-a3x5R.js";import{D as He,a as Je,b as Ye,c as O}from"./dropdown-menu-CIu58K9q.js";import{s as Xe,a as Ze}from"./Eye-ByuwKsdh.js";import{i as et}from"./DotsVertical-SvwN4CeV.js";import{i as tt}from"./Tool01-Dcq7KP8Y.js";import{s as st}from"./Trash01-Cup7-ZTT.js";import{C as xt}from"./collection-table-wrapper-D3ciIIEv.js";import{E as Ue}from"./empty-state-BfmCVPeb.js";import{n as We}from"./Stars02-EuAFDZ5E.js";import{U as jt}from"./user-DRDdFgUw.js";import{E as it}from"./empty-state-1AbmTLd7.js";import{u as Ct}from"./use-list-state-BZmeG7gi.js";import{g as bt}from"./connection-slug-eyAPH6o3.js";import{f as vt,g as yt,c as Nt,b as wt,d as St,e as Pt,a as _t,A as Dt}from"./alert-dialog-CSkQIwm8.js";import{a as It,b as At}from"./use-collections-B5Jh_wGd.js";import{a as Tt}from"./use-connection-DyJtuHQI.js";import{s as Et}from"./Plus-CjrtKB-Y.js";import{a as Ot}from"./layout-CbTbCjmA.js";import{P as je}from"./index-r7-3fAFf.js";import"./collections-C_j8CeI8.js";import"./SwitchHorizontal01-BMnNI1Fi.js";import"./Check-D-9dblUn.js";import"./tooltip-bsrBmmjV.js";import"./view-mode-toggle-G0qNMbJ1.js";import"./badge-Da0IsrqH.js";import"./SearchMd-BL2y99rx.js";import"./Container-CYcITvPW.js";import"./agent-icon-DT8dQ9tq.js";import"./AlertCircle-9EFUZenf.js";import"./RefreshCcw01-3BsQQkRx.js";import"./XCircle-UPVnJx4i.js";import"./ArrowUpRight-97355q5v.js";import"./ZapSquare-B1o2Q9OR.js";import"./Users03-BlNe2PnN.js";import"./CheckCircle-C2ualSpf.js";import"./ChevronDown-Cf2Q-GlB.js";import"./ChevronLeft-BaV4nFMQ.js";import"./ChevronRight-CrZy8tHx.js";import"./ChevronUp-BAxoXhnT.js";import"./ZoomOut-D8vQ49we.js";import"./Globe01-DfGFlik1.js";import"./FilterLines-BJZdiggU.js";import"./Star01-eRdSY4QW.js";import"./Palette-Druykvzw.js";import"./HardDrive-DNFvbooP.js";import"./Key01-CzmPnHuw.js";import"./LayoutLeft-CQ8Vq9nI.js";import"./LinkExternal01-CgI1VTqi.js";import"./Monitor01-Cw6kmClm.js";import"./Sun-CH2HWLCn.js";import"./Play-CMJ2IWYR.js";import"./Settings02-Cd4DIqaJ.js";import"./Shield01-zIbMct6w.js";import"./Stars01-v0yz6PCZ.js";import"./Upload01-C9yi1Bdg.js";import"./User01-thAIxsAs.js";import"./Users01-DPJm6-u-.js";import"./XClose-pR-QU0OQ.js";import"./X-1KR4wibP.js";import"./Zap-Cl-JM7N9.js";import"./table-Cx3PhNth.js";import"./avatar-BHEXMwdE.js";import"./use-view-mode-CbT8E3wV.js";import"./sidebar-CPZXU-2w.js";import"./sheet-D99KevZC.js";function $t(i,e){const s=i.properties||{};for(const n in s){const c=s[n];if(c&&c.type==="string"&&(c.format==="url"||c.format==="uri")&&e&&typeof e=="object"&&n in e&&e[n])return e[n]}const l=["image","img","avatar","icon","logo","thumbnail","cover"];for(const n of l)if(e&&typeof e=="object"&&n in e&&typeof e[n]=="string")return e[n]}function kt(i){const e=oe.c(25),{item:s,schema:l,actions:n}=i;let c;e[0]!==s||e[1]!==l?(c=$t(l,s),e[0]=s,e[1]=l,e[2]=c):c=e[2];const r=c,u=s&&typeof s=="object"&&"description"in s&&typeof s.description=="string"?s.description:void 0;let d;e[3]!==n?(d=n&&Object.keys(n).length>0,e[3]=n,e[4]=d):d=e[4];const o=d;let p;e[5]!==r||e[6]!==s.title?(p=t.jsx(Qe,{icon:r,name:s.title,size:"md",className:"shrink-0 shadow-sm"}),e[5]=r,e[6]=s.title,e[7]=p):p=e[7];let m;e[8]!==s.title?(m=t.jsx("h3",{className:"text-base font-medium text-foreground truncate",children:s.title}),e[8]=s.title,e[9]=m):m=e[9];const f=u||"No description";let a;e[10]!==f?(a=t.jsx("p",{className:"text-base text-muted-foreground line-clamp-2",children:f}),e[10]=f,e[11]=a):a=e[11];let v;e[12]!==m||e[13]!==a?(v=t.jsxs("div",{className:"flex flex-col gap-0 flex-1",children:[m,a]}),e[12]=m,e[13]=a,e[14]=v):v=e[14];let y;e[15]!==p||e[16]!==v?(y=t.jsxs("div",{className:"flex flex-col gap-4 p-6 flex-1",children:[p,v]}),e[15]=p,e[16]=v,e[17]=y):y=e[17];let b;e[18]!==n||e[19]!==o||e[20]!==s?(b=o&&t.jsx("div",{className:"absolute top-6 right-6 sm:opacity-0 sm:group-hover:opacity-100 transition-opacity",onClick:Kt,onMouseDown:Ft,children:t.jsxs(He,{children:[t.jsx(Je,{asChild:!0,children:t.jsx(Ce,{variant:"ghost",size:"icon",className:"h-8 w-8",onClick:Lt,children:t.jsx(et,{size:20})})}),t.jsxs(Ye,{align:"end",onClick:zt,children:[n.open&&t.jsxs(O,{onClick:g=>{g.stopPropagation(),n.open?.(s)},children:[t.jsx(Xe,{size:16}),"Open"]}),n.edit&&t.jsxs(O,{onClick:g=>{g.stopPropagation(),n.edit?.(s)},children:[t.jsx(tt,{size:16}),"Edit"]}),n.duplicate&&t.jsxs(O,{onClick:g=>{g.stopPropagation(),n.duplicate?.(s)},children:[t.jsx(Ze,{size:16}),"Duplicate"]}),n.delete&&t.jsxs(O,{variant:"destructive",onClick:g=>{g.stopPropagation(),n.delete?.(s)},children:[t.jsx(st,{size:16}),"Delete"]})]})]})}),e[18]=n,e[19]=o,e[20]=s,e[21]=b):b=e[21];let x;return e[22]!==y||e[23]!==b?(x=t.jsxs(gt,{className:"cursor-pointer transition-colors hover:bg-accent/50 h-full flex flex-col group relative",children:[y,b]}),e[22]=y,e[23]=b,e[24]=x):x=e[24],x}function zt(i){return i.stopPropagation()}function Lt(i){return i.stopPropagation()}function Ft(i){return i.stopPropagation()}function Kt(i){return i.stopPropagation()}const Mt=["icon","avatar","logo"],Re=["created_at","created_by","id"];function Ut(i){return Object.keys(i).find(e=>Mt.includes(e.toLowerCase()))}function ot(i,e){return Object.keys(i.properties||{}).filter(s=>["id","created_at","updated_at","created_by","updated_by"].includes(s)?!1:e?e.includes(s):!0).map(s=>({id:s,label:s.charAt(0).toUpperCase()+s.slice(1).replace(/_/g," ")}))}function Wt(i){const e=oe.c(30),{data:s,schema:l,viewMode:n,search:c,sortKey:r,sortDirection:u,onSort:d,actions:o,onItemClick:p,headerActions:m,emptyState:f,readOnly:a,columns:v,hideToolbar:y,sortableFields:b}=i,x=u===void 0?"asc":u,g=d===void 0?Vt:d;let $;e[0]!==o?($=o===void 0?{}:o,e[0]=o,e[1]=$):$=e[1];const h=$,T=p===void 0?qt:p,E=m===void 0?null:m,N=f===void 0?null:f,k=a===void 0?!1:a,j=v===void 0?void 0:v,z=y===void 0?!1:y,P=b===void 0?void 0:b;let D;e[2]!==j||e[3]!==l||e[4]!==P?(D=j?j.filter(Bt).filter(A=>!P||P.includes(A.id)).map(Rt):ot(l,P),e[2]=j,e[3]=l,e[4]=P,e[5]=D):D=e[5];const w=D;let S;e[6]!==E||e[7]!==z||e[8]!==g||e[9]!==x||e[10]!==r||e[11]!==w?(S=!z&&t.jsx("div",{className:"shrink-0 w-full border-b border-border h-12",children:t.jsxs("div",{className:"flex items-center gap-3 h-12 px-4",children:[t.jsx("div",{className:"flex items-center gap-2 flex-1",children:E}),t.jsx("div",{className:"flex items-center gap-2 shrink-0",children:t.jsx(Ge,{sortKey:r,sortDirection:x,onSort:g,sortOptions:w})})]})}),e[6]=E,e[7]=z,e[8]=g,e[9]=x,e[10]=r,e[11]=w,e[12]=S):S=e[12];let _;e[13]!==h||e[14]!==j||e[15]!==s||e[16]!==N||e[17]!==T||e[18]!==g||e[19]!==k||e[20]!==l||e[21]!==c||e[22]!==x||e[23]!==r||e[24]!==P||e[25]!==n?(_=n==="cards"?t.jsx("div",{className:"flex-1 overflow-auto p-5",children:s.length===0?t.jsx("div",{className:"flex items-center justify-center h-full",children:N||t.jsx(Ue,{icon:t.jsx(We,{size:36,className:"text-muted-foreground"}),title:"No items found",description:c?"Try adjusting your search":"No items to display"})}):t.jsx("div",{className:"grid grid-cols-[repeat(auto-fill,minmax(280px,1fr))] gap-4",children:s.map(A=>t.jsx("div",{onClick:()=>T?.(A),className:"cursor-pointer h-full",children:t.jsx(kt,{item:A,schema:l,readOnly:k,actions:h})},A.id))})}):t.jsx(xt,{columns:Ht(j,l,P,h),data:s,sortKey:r,sortDirection:x,onSort:g,onRowClick:T,emptyState:N||t.jsx(Ue,{icon:t.jsx(We,{size:36,className:"text-muted-foreground"}),title:"No items found",description:c?"Try adjusting your search":"No items to display"})}),e[13]=h,e[14]=j,e[15]=s,e[16]=N,e[17]=T,e[18]=g,e[19]=k,e[20]=l,e[21]=c,e[22]=x,e[23]=r,e[24]=P,e[25]=n,e[26]=_):_=e[26];let I;return e[27]!==S||e[28]!==_?(I=t.jsxs("div",{className:"h-full flex flex-col overflow-hidden",children:[S,_]}),e[27]=S,e[28]=_,e[29]=I):I=e[29],I}function Rt(i){return{id:i.id,label:typeof i.header=="string"?i.header:i.id}}function Bt(i){return i.sortable!==!1}function qt(){}function Vt(){}function Gt(i){return{id:"actions",header:"",render:e=>t.jsxs(He,{children:[t.jsx(Je,{asChild:!0,children:t.jsx(Ce,{variant:"ghost",size:"sm",className:"h-8 w-8 p-0",onClick:s=>s.stopPropagation(),children:t.jsx(et,{size:20})})}),t.jsxs(Ye,{align:"end",onClick:s=>s.stopPropagation(),children:[i.open&&t.jsxs(O,{onClick:s=>{s.stopPropagation(),i.open?.(e)},children:[t.jsx(Xe,{size:16}),"Open"]}),i.edit&&t.jsxs(O,{onClick:s=>{s.stopPropagation(),i.edit?.(e)},children:[t.jsx(tt,{size:16}),"Edit"]}),i.duplicate&&t.jsxs(O,{onClick:s=>{s.stopPropagation(),i.duplicate?.(e)},children:[t.jsx(Ze,{size:16}),"Duplicate"]}),i.delete&&t.jsxs(O,{variant:"destructive",onClick:s=>{s.stopPropagation(),i.delete?.(e)},children:[t.jsx(st,{size:16}),"Delete"]})]})]}),cellClassName:"w-[60px]",sortable:!1}}function nt(i){const e=i.type;return Array.isArray(e)?e.every(s=>nt({type:s})):e==="string"||e==="number"||e==="integer"||e==="boolean"||e==="null"}function Qt(i,e){const s=i.properties||{},l=Object.keys(s).filter(o=>{const p=s[o];return p&&nt(p)}),n=Ut(s),c=[],r=new Set;n&&l.includes(n)&&(c.push(n),r.add(n));const u=["title","description","updated_at","updated_by"];for(const o of u)l.includes(o)&&!r.has(o)&&(c.push(o),r.add(o));const d=l.filter(o=>!r.has(o)&&!Re.includes(o)).sort((o,p)=>o.localeCompare(p));for(const o of d)c.push(o),r.add(o);for(const o of Re)l.includes(o)&&!r.has(o)&&(c.push(o),r.add(o));return c.map(o=>{const p=s[o],m=e?e.includes(o):!["id"].includes(o);return o===n?{id:o,header:"",render:f=>{const a=f[o];return t.jsx(Qe,{icon:a,name:f.title,size:"sm",className:"shrink-0 shadow-sm"})},sortable:!1,cellClassName:"w-16 shrink-0",wrap:!0}:o==="description"?{id:o,header:"Description",render:f=>{const a=f[o];return a==null?"—":t.jsx("span",{className:"block truncate max-w-[50ch]",children:String(a)})},sortable:m,cellClassName:"max-w-[50ch]"}:o==="created_by"||o==="updated_by"?{id:o,header:o.charAt(0).toUpperCase()+o.slice(1).replace(/_/g," "),render:f=>{const a=f[o];return a?t.jsx(jt,{id:String(a),size:"xs"}):"—"},sortable:m,cellClassName:"max-w-[250px]"}:p?.format==="date-time"||o.endsWith("_at")?{id:o,header:o.charAt(0).toUpperCase()+o.slice(1).replace(/_/g," "),render:f=>{const a=f[o];return a?t.jsx("span",{className:"block truncate max-w-full",children:new Date(a).toLocaleDateString()}):"—"},sortable:m,cellClassName:"max-w-[200px]"}:{id:o,header:o.charAt(0).toUpperCase()+o.slice(1).replace(/_/g," "),render:f=>{const a=f[o];return a==null?"—":t.jsx("span",{className:"block truncate max-w-full",children:String(a)})},sortable:m,cellClassName:"max-w-[200px]"}})}function Ht(i,e,s,l){const n=i||Qt(e,s);return n.some(u=>u.id==="actions")?n:Object.keys(l).length>0?[...n,Gt(l)]:n}function Jt(i){const e=oe.c(119),{connectionId:s,org:l,activeCollection:n,onItemClick:c}=i,r=n.name,u=n.schema??ft,d=n.hasCreateTool,o=n.hasUpdateTool,p=n.hasDeleteTool,m=Be(),{data:f}=ct.useSession(),a=f?.user?.id||"unknown",v=Tt(s);let y;e[0]!==v||e[1]!==s?(y=v?bt(v):s,e[0]=v,e[1]=s,e[2]=y):y=e[2];const b=y,{org:x}=ze();let g;e[3]!==s||e[4]!==x.id||e[5]!==x.slug?(g={connectionId:s,orgId:x.id,orgSlug:x.slug},e[3]=s,e[4]=x.id,e[5]=x.slug,e[6]=g):g=e[6];const $=qe(g),h=It(s,r,$),T=`${s}-${r}`;let E;e[7]!==l||e[8]!==T?(E={namespace:l,resource:T,defaultSortKey:"updated_at"},e[7]=l,e[8]=T,e[9]=E):E=e[9];const{search:N,searchTerm:k,setSearch:j,viewMode:z,setViewMode:P,sortKey:D,sortDirection:w,handleSort:S}=Ct(E);let _;e[10]!==k||e[11]!==w||e[12]!==D?(_={searchTerm:k,sortKey:D,sortDirection:w},e[10]=k,e[11]=w,e[12]=D,e[13]=_):_=e[13];const I=At(s,r,$,_),A=!d&&!o&&!p;let ne;e[14]!==b||e[15]!==r||e[16]!==m||e[17]!==c||e[18]!==l?(ne=C=>{if(c){c(C);return}m({to:"/$org/settings/connections/$appSlug/$collectionName/$itemId",params:{org:l,appSlug:b,collectionName:r,itemId:C.id}})},e[14]=b,e[15]=r,e[16]=m,e[17]=c,e[18]=l,e[19]=ne):ne=e[19];const L=ne;let re;e[20]!==h.create||e[21]!==a?(re=async C=>{const xe=new Date().toISOString();await h.create.mutateAsync({...C,id:Me("conn"),title:`${C.title} (Copy)`,created_at:xe,updated_at:xe,created_by:a,updated_by:a})},e[20]=h.create,e[21]=a,e[22]=re):re=e[22];const be=re,[F,ve]=dt.useState(null);let le;e[23]===Symbol.for("react.memo_cache_sentinel")?(le=C=>{ve(C)},e[23]=le):le=e[23];const rt=le;let K;e[24]!==L||e[25]!==o?(K=o&&{edit:L},e[24]=L,e[25]=o,e[26]=K):K=e[26];let M;e[27]!==be||e[28]!==d?(M=d&&{duplicate:be},e[27]=be,e[28]=d,e[29]=M):M=e[29];let U;e[30]!==p?(U=p&&{delete:rt},e[30]=p,e[31]=U):U=e[31];let ae;e[32]!==M||e[33]!==U||e[34]!==K?(ae={...K,...M,...U},e[32]=M,e[33]=U,e[34]=K,e[35]=ae):ae=e[35];const ye=ae;let ce;e[36]!==h.delete||e[37]!==F?(ce=async()=>{F&&(await h.delete.mutateAsync(F.id),ve(null))},e[36]=h.delete,e[37]=F,e[38]=ce):ce=e[38];const Ne=ce;let de;e[39]!==h.create||e[40]!==b||e[41]!==r||e[42]!==d||e[43]!==m||e[44]!==l||e[45]!==a?(de=async()=>{if(!d){Le.error("Create operation is not available for this collection");return}const C=new Date().toISOString(),xe={id:Me("conn"),title:"New Item",description:"A brief description of the item",created_at:C,updated_at:C,created_by:a,updated_by:a};try{const ke=await h.create.mutateAsync(xe);m({to:"/$org/settings/connections/$appSlug/$collectionName/$itemId",params:{org:l,appSlug:b,collectionName:r,itemId:ke.id}})}catch(ke){console.error("Failed to create item:",ke)}},e[39]=h.create,e[40]=b,e[41]=r,e[42]=d,e[43]=m,e[44]=l,e[45]=a,e[46]=de):de=e[46];const we=de;let me;e[47]!==u?(me=ot(u),e[47]=u,e[48]=me):me=e[48];const Se=me,lt=(I?.length??0)>0,at=d&&!lt&&!N;let pe;e[49]!==h.create||e[50]!==we||e[51]!==d?(pe=d?t.jsxs(Ce,{onClick:we,size:"sm",disabled:h.create.isPending,className:"h-7",children:[t.jsx(Et,{className:"mr-2 h-4 w-4"}),h.create.isPending?"Creating...":"Create"]}):null,e[49]=h.create,e[50]=we,e[51]=d,e[52]=pe):pe=e[52];const ue=pe,Pe=D;let W;e[53]!==S||e[54]!==w||e[55]!==Se||e[56]!==Pe?(W=t.jsx(Ot,{children:t.jsx(Ge,{sortKey:Pe,sortDirection:w,onSort:S,sortOptions:Se})}),e[53]=S,e[54]=w,e[55]=Se,e[56]=Pe,e[57]=W):W=e[57];const _e=`Search ${r}...`;let R;e[58]!==j?(R=C=>{C.key==="Escape"&&(j(""),C.target.blur())},e[58]=j,e[59]=R):R=e[59];let B;e[60]!==N||e[61]!==j||e[62]!==_e||e[63]!==R?(B=t.jsx("div",{className:"flex-1",children:t.jsx(ht,{value:N,onChange:j,placeholder:_e,onKeyDown:R})}),e[60]=N,e[61]=j,e[62]=_e,e[63]=R,e[64]=B):B=e[64];let q;e[65]!==ue||e[66]!==d?(q=d&&t.jsx("div",{className:"pr-3",children:ue}),e[65]=ue,e[66]=d,e[67]=q):q=e[67];let V;e[68]!==B||e[69]!==q?(V=t.jsxs("div",{className:"flex items-center gap-2",children:[B,q]}),e[68]=B,e[69]=q,e[70]=V):V=e[70];let G;e[71]!==I?(G=I??[],e[71]=I,e[72]=G):G=e[72];const De=D;let Q;e[73]!==L?(Q=C=>L(C),e[73]=L,e[74]=Q):Q=e[74];const Ie="No items found",Ae=N?"Try adjusting your search terms":"This collection doesn't have any items yet.",Te=at?ue:void 0;let H;e[75]!==Ie||e[76]!==Ae||e[77]!==Te?(H=t.jsx(it,{image:null,title:Ie,description:Ae,actions:Te}),e[75]=Ie,e[76]=Ae,e[77]=Te,e[78]=H):H=e[78];let J;e[79]!==S||e[80]!==A||e[81]!==ye||e[82]!==u||e[83]!==N||e[84]!==j||e[85]!==P||e[86]!==w||e[87]!==G||e[88]!==De||e[89]!==Q||e[90]!==H||e[91]!==z?(J=t.jsx("div",{className:"flex-1 overflow-auto",children:t.jsx(Wt,{hideToolbar:!0,data:G,schema:u,viewMode:z,onViewModeChange:P,search:N,onSearchChange:j,sortKey:De,sortDirection:w,onSort:S,actions:ye,onItemClick:Q,readOnly:A,emptyState:H})}),e[79]=S,e[80]=A,e[81]=ye,e[82]=u,e[83]=N,e[84]=j,e[85]=P,e[86]=w,e[87]=G,e[88]=De,e[89]=Q,e[90]=H,e[91]=z,e[92]=J):J=e[92];let Y;e[93]!==V||e[94]!==J?(Y=t.jsxs("div",{className:"flex flex-col h-full overflow-hidden",children:[V,J]}),e[93]=V,e[94]=J,e[95]=Y):Y=e[95];const Ee=!!F;let fe;e[96]===Symbol.for("react.memo_cache_sentinel")?(fe=C=>{C||ve(null)},e[96]=fe):fe=e[96];let he;e[97]===Symbol.for("react.memo_cache_sentinel")?(he=t.jsx(Nt,{children:"Delete item?"}),e[97]=he):he=e[97];const Oe=F?.title;let X;e[98]!==Oe?(X=t.jsxs(wt,{children:[he,t.jsxs(St,{children:['Are you sure you want to delete "',Oe,'"? This action cannot be undone.']})]}),e[98]=Oe,e[99]=X):X=e[99];let Z;e[100]!==h.delete.isPending?(Z=t.jsx(vt,{disabled:h.delete.isPending,children:"Cancel"}),e[100]=h.delete.isPending,e[101]=Z):Z=e[101];const $e=h.delete.isPending?"Deleting...":"Delete";let ee;e[102]!==h.delete.isPending||e[103]!==Ne||e[104]!==$e?(ee=t.jsx(yt,{onClick:Ne,disabled:h.delete.isPending,className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",children:$e}),e[102]=h.delete.isPending,e[103]=Ne,e[104]=$e,e[105]=ee):ee=e[105];let te;e[106]!==Z||e[107]!==ee?(te=t.jsxs(Pt,{children:[Z,ee]}),e[106]=Z,e[107]=ee,e[108]=te):te=e[108];let se;e[109]!==X||e[110]!==te?(se=t.jsxs(_t,{children:[X,te]}),e[109]=X,e[110]=te,e[111]=se):se=e[111];let ie;e[112]!==Ee||e[113]!==se?(ie=t.jsx(Dt,{open:Ee,onOpenChange:fe,children:se}),e[112]=Ee,e[113]=se,e[114]=ie):ie=e[114];let ge;return e[115]!==W||e[116]!==Y||e[117]!==ie?(ge=t.jsxs(t.Fragment,{children:[W,Y,ie]}),e[115]=W,e[116]=Y,e[117]=ie,e[118]=ge):ge=e[118],ge}function Yt(){const i=oe.c(13),{org:e,project:s}=ze(),l=mt();let n;i[0]!==e.id||i[1]!==e.slug?(n={connectionId:Ve,orgId:e.id,orgSlug:e.slug},i[0]=e.id,i[1]=e.slug,i[2]=n):n=i[2];const c=qe(n);let r;i[3]!==c||i[4]!==s?(r=async p=>{const m=s.enabledPlugins??[];if(m.includes(p))return;const f=[...m,p],a=await c.callTool({name:"COLLECTION_VIRTUAL_MCP_UPDATE",arguments:{id:s.id,data:{metadata:{enabled_plugins:f}}}});return a.structuredContent??a},i[3]=c,i[4]=s,i[5]=r):r=i[5];let u;i[6]!==e.id||i[7]!==s||i[8]!==l?(u=()=>{l.invalidateQueries({queryKey:Fe.project(e.id,s.slug)}),l.invalidateQueries({queryKey:Fe.projects(e.id)})},i[6]=e.id,i[7]=s,i[8]=l,i[9]=u):u=i[9];let d;return i[10]!==r||i[11]!==u?(d={mutationFn:r,onSuccess:u,onError:Xt},i[10]=r,i[11]=u,i[12]=d):d=i[12],pt(d)}function Xt(i){Le.error("Failed to enable plugin: "+(i instanceof Error?i.message:"Unknown error"))}function Zt(i){const e=oe.c(12),{pluginId:s,title:l,description:n,icon:c}=i,r=Yt();let u;e[0]!==r||e[1]!==s?(u=async()=>{try{await r.mutateAsync(s),Le.success("Plugin enabled!")}catch{}},e[0]=r,e[1]=s,e[2]=u):u=e[2];const d=u,o=c??null,p=r.isPending?"Enabling…":"Enable plugin";let m;e[3]!==r.isPending||e[4]!==d||e[5]!==p?(m=t.jsx(Ce,{onClick:d,disabled:r.isPending,children:p}),e[3]=r.isPending,e[4]=d,e[5]=p,e[6]=m):m=e[6];let f;return e[7]!==n||e[8]!==o||e[9]!==m||e[10]!==l?(f=t.jsx(it,{image:o,title:l,description:n,actions:m}),e[7]=n,e[8]=o,e[9]=m,e[10]=l,e[11]=f):f=e[11],f}const es={name:"WORKFLOW",displayName:"Workflow",hasCreateTool:!0,hasUpdateTool:!0,hasDeleteTool:!0};function Ci(){const{project:i,org:e}=ze();if(!(i.enabledPlugins??[]).includes(Ke))return t.jsx(je,{children:t.jsx(je.Content,{children:t.jsx("div",{className:"flex flex-col items-center justify-center h-full",children:t.jsx(Zt,{pluginId:Ke,title:"Enable Workflows",description:"Automate multi-step processes by enabling the Workflows plugin. Once enabled you can create, run, and monitor workflows.",icon:t.jsx("div",{className:"bg-muted p-4 rounded-full",children:t.jsx(ut,{className:"size-8 text-muted-foreground"})})})})})});const n=Be();return t.jsx(je,{children:t.jsx(je.Content,{children:t.jsx(Jt,{connectionId:Ve,org:e.slug,activeCollection:es,onItemClick:c=>n({to:"/$org/settings/workflows/$itemId",params:{org:e.slug,itemId:c.id}})})})})}export{Ci as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as s,g as l,j as o,l as a,E as n,r as c}from"./index-biiHZ5l9.js";import{a as f}from"./index-D6ELOmUq.js";import"./index-YdX5UjUB.js";import"./use-mcp-client-CWFUu1lY.js";import"./collections-C_j8CeI8.js";import"./index-50-dmJFK.js";import"./use-virtual-mcp-0jbEmvOc.js";import"./use-collections-B5Jh_wGd.js";import"./monaco-editor-CJVi8Ty8.js";import"./index-BflNEs6l.js";import"./spinner-DJD6-9r-.js";import"./resizable-BbbLszRZ.js";import"./ZoomOut-D8vQ49we.js";import"./badge-Da0IsrqH.js";import"./select-CNSUv3cw.js";import"./tooltip-bsrBmmjV.js";import"./Check-D-9dblUn.js";import"./ChevronDown-Cf2Q-GlB.js";import"./ChevronUp-BAxoXhnT.js";import"./view-mode-toggle-G0qNMbJ1.js";import"./agent-icon-DT8dQ9tq.js";import"./AlertCircle-9EFUZenf.js";import"./Tool01-Dcq7KP8Y.js";import"./SwitchHorizontal01-BMnNI1Fi.js";import"./RefreshCcw01-3BsQQkRx.js";import"./XCircle-UPVnJx4i.js";import"./ArrowUpRight-97355q5v.js";import"./ZapSquare-B1o2Q9OR.js";import"./Users03-BlNe2PnN.js";import"./CheckCircle-C2ualSpf.js";import"./ChevronLeft-BaV4nFMQ.js";import"./ChevronRight-CrZy8tHx.js";import"./DotsVertical-SvwN4CeV.js";import"./Container-CYcITvPW.js";import"./Eye-ByuwKsdh.js";import"./Globe01-DfGFlik1.js";import"./FilterLines-BJZdiggU.js";import"./Star01-eRdSY4QW.js";import"./Palette-Druykvzw.js";import"./HardDrive-DNFvbooP.js";import"./Stars02-EuAFDZ5E.js";import"./Key01-CzmPnHuw.js";import"./LayoutLeft-CQ8Vq9nI.js";import"./LinkExternal01-CgI1VTqi.js";import"./Monitor01-Cw6kmClm.js";import"./Sun-CH2HWLCn.js";import"./Play-CMJ2IWYR.js";import"./Plus-CjrtKB-Y.js";import"./SearchMd-BL2y99rx.js";import"./Settings02-Cd4DIqaJ.js";import"./Shield01-zIbMct6w.js";import"./Stars01-v0yz6PCZ.js";import"./Trash01-Cup7-ZTT.js";import"./Upload01-C9yi1Bdg.js";import"./User01-thAIxsAs.js";import"./Users01-DPJm6-u-.js";import"./XClose-pR-QU0OQ.js";import"./X-1KR4wibP.js";import"./Zap-Cl-JM7N9.js";import"./layout-CbTbCjmA.js";import"./index-r7-3fAFf.js";import"./sidebar-CPZXU-2w.js";import"./sheet-D99KevZC.js";import"./use-connection-DyJtuHQI.js";import"./use-mcp-tools-DePRGZE5.js";import"./dialog-Bm1pP7Vu.js";import"./scroll-area-BqOijBAI.js";import"./index-Bo5bzoUm.js";import"./hover-card-DE2_8MLP.js";import"./dropdown-menu-CIu58K9q.js";import"./integration-icon-Dy-a3x5R.js";import"./accordion-aX0NKKKh.js";import"./index-B1bHiM-j.js";import"./empty-state-BfmCVPeb.js";import"./create-sse-subscription-BS5983N4.js";import"./input-5PMMNPU9.js";function Bt(){const t=s.c(4);let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r={from:"/shell/$org/settings/workflows/$itemId"},t[0]=r):r=t[0];const{itemId:e}=l(r);let i;t[1]===Symbol.for("react.memo_cache_sentinel")?(i=o.jsx("div",{className:"flex h-full items-center justify-center",children:o.jsx(a,{size:32,className:"animate-spin text-muted-foreground"})}),t[1]=i):i=t[1];const p=decodeURIComponent(e);let m;return t[2]!==p?(m=o.jsx(n,{children:o.jsx(c.Suspense,{fallback:i,children:o.jsx(f,{itemId:p})})}),t[2]=p,t[3]=m):m=t[3],m}export{Bt as default};
|
package/dist/client/index.html
CHANGED
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
44
44
|
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
|
|
45
45
|
<meta name="apple-mobile-web-app-title" content="deco Studio" />
|
|
46
|
-
<script type="module" crossorigin src="/assets/index-
|
|
46
|
+
<script type="module" crossorigin src="/assets/index-biiHZ5l9.js"></script>
|
|
47
47
|
<link rel="stylesheet" crossorigin href="/assets/index-CZJ35dl3.css">
|
|
48
48
|
</head>
|
|
49
49
|
<body>
|