decocms 4.76.28 → 4.76.30
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-C0LNRXFL.js → AlertCircle-Butnw9MH.js} +1 -1
- package/dist/client/assets/{AreaChart-DRbv2Se_.js → AreaChart-Cn4Yq6_I.js} +1 -1
- package/dist/client/assets/{ArrowUp-DEIsNZJ7.js → ArrowUp-CkU2sHbO.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-CfyQUwOR.js → ArrowUpRight-DhTB5jPo.js} +1 -1
- package/dist/client/assets/{Check-CHx9EjoK.js → Check-DMFtRV_P.js} +1 -1
- package/dist/client/assets/{CheckCircle-DuKYtqTR.js → CheckCircle-Ctmt3333.js} +1 -1
- package/dist/client/assets/{ChevronDown-UK2bP1UQ.js → ChevronDown-1wg2OQPh.js} +1 -1
- package/dist/client/assets/{ChevronRight-EIxlJCAn.js → ChevronRight-Byeiew9z.js} +1 -1
- package/dist/client/assets/{ChevronUp-C2du4mz8.js → ChevronUp-C4X-AitG.js} +1 -1
- package/dist/client/assets/{Circle-Dn33pGko.js → Circle-DBUYTls6.js} +1 -1
- package/dist/client/assets/{Copy01-Dec6QuUO.js → Copy01-DvXPQKTE.js} +1 -1
- package/dist/client/assets/{DotsVertical-DURNExIZ.js → DotsVertical-C_3wPndD.js} +1 -1
- package/dist/client/assets/{Eye-Tv0RqHHP.js → Eye-BGtTvQj0.js} +1 -1
- package/dist/client/assets/{FilterLines-DoBDuM0w.js → FilterLines-3Y1lmT_F.js} +1 -1
- package/dist/client/assets/{Flag01-UPbZzTjU.js → Flag01-u5ciwBKd.js} +1 -1
- package/dist/client/assets/{Globe01-Dv1MemnH.js → Globe01-BOO6xj5Y.js} +1 -1
- package/dist/client/assets/{Globe04-DlE3tpui.js → Globe04-i8-3uVlW.js} +1 -1
- package/dist/client/assets/{HardDrive-BSWP1vqJ.js → HardDrive-D0UWvLyp.js} +1 -1
- package/dist/client/assets/{Key01-DUQfSOZQ.js → Key01-DFALYHIW.js} +1 -1
- package/dist/client/assets/{LayoutLeft-BB_flP7V.js → LayoutLeft-CVqlrEAp.js} +1 -1
- package/dist/client/assets/{LinkExternal01-DTumzywO.js → LinkExternal01-BWThju2P.js} +1 -1
- package/dist/client/assets/{List-Cearyjn7.js → List-qhPPmHv3.js} +1 -1
- package/dist/client/assets/{Monitor01-BXWr0YEZ.js → Monitor01-hT01QOFN.js} +1 -1
- package/dist/client/assets/{Package-Dc3diOZj.js → Package-C_y7r9zC.js} +1 -1
- package/dist/client/assets/{Palette-DLRDeZMj.js → Palette-D3egCzqL.js} +1 -1
- package/dist/client/assets/{Play-B_VdYdQy.js → Play-64ST1Sgz.js} +1 -1
- package/dist/client/assets/{Plus-BkEprJHF.js → Plus-CCZQ-_U5.js} +1 -1
- package/dist/client/assets/{SearchLg-D_6LPW5y.js → SearchLg-BiEWilf3.js} +1 -1
- package/dist/client/assets/{SearchMd-DPgb_Mb5.js → SearchMd-Dpdx7Mmq.js} +1 -1
- package/dist/client/assets/{Settings02-B4gKkQVa.js → Settings02-D_ibLVTw.js} +1 -1
- package/dist/client/assets/{Shield01-ByGL3nCz.js → Shield01-DtXaMTwV.js} +1 -1
- package/dist/client/assets/{Star01-rwC6MUs1.js → Star01-6WSeguWX.js} +1 -1
- package/dist/client/assets/{Stars01-DkyiijKz.js → Stars01-SkkIyBcZ.js} +1 -1
- package/dist/client/assets/{Stars02-CFJkyC0W.js → Stars02-CBodX_Ws.js} +1 -1
- package/dist/client/assets/{Sun-D5EL7OWV.js → Sun-CoAtxW8_.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-CfyLxrC_.js → SwitchHorizontal01-DwycdwKV.js} +1 -1
- package/dist/client/assets/{Tool01-vwcHp5vx.js → Tool01-Bjx6JYvm.js} +1 -1
- package/dist/client/assets/{Tool02-B9R6nZBJ.js → Tool02-C2lrXOEi.js} +1 -1
- package/dist/client/assets/{Trash01-CQNpRi9v.js → Trash01-CLWTxHcB.js} +1 -1
- package/dist/client/assets/{TrendUp01-DpJPP1Jq.js → TrendUp01-Cy90XHGG.js} +1 -1
- package/dist/client/assets/{Upload01-CbyoXv84.js → Upload01-LHMTs9C1.js} +1 -1
- package/dist/client/assets/{User01-DVvBrT-K.js → User01-DjBvt2v6.js} +1 -1
- package/dist/client/assets/{UserPlus01-DoMT5VeR.js → UserPlus01-DAkB_tIa.js} +1 -1
- package/dist/client/assets/{Users01-BTp0QmgZ.js → Users01-vHNW3JY-.js} +1 -1
- package/dist/client/assets/{Users03-CeF5jvSj.js → Users03-CBOviea1.js} +1 -1
- package/dist/client/assets/{X-ehE2-PPh.js → X-CdGsAkt8.js} +1 -1
- package/dist/client/assets/{XCircle-H5V2L4xB.js → XCircle-eyDHxbqm.js} +1 -1
- package/dist/client/assets/{XClose-AmEq2OYZ.js → XClose-Bd2kCRzX.js} +1 -1
- package/dist/client/assets/{Zap-BUgMog8M.js → Zap-BgjdTDZs.js} +1 -1
- package/dist/client/assets/{ZapSquare-D3GithUx.js → ZapSquare-aVD41MwF.js} +1 -1
- package/dist/client/assets/{ZoomOut-CXi1AmaE.js → ZoomOut-2_U2F9Jo.js} +1 -1
- package/dist/client/assets/{access-gate-CQxfoP_U.js → access-gate-CQhj1jhT.js} +1 -1
- package/dist/client/assets/{add-section-modal-IG3NiKUf.js → add-section-modal-BYt-XEjN.js} +1 -1
- package/dist/client/assets/{agent-icon-CTdje-Yo.js → agent-icon-BmpjtBrU.js} +1 -1
- package/dist/client/assets/{agents-list-DkDqV_RP.js → agents-list-udTf9Sjw.js} +1 -1
- package/dist/client/assets/ai-providers-CS3hXSLp.js +1 -0
- package/dist/client/assets/{alert-dialog-vSPTpv6H.js → alert-dialog-B4CEaysf.js} +1 -1
- package/dist/client/assets/{alert-Dw4nOyuN.js → alert-xK89_ncR.js} +1 -1
- package/dist/client/assets/app-editor-CowUARef.js +1 -0
- package/dist/client/assets/{auth-CJQ6Yx_r.js → auth-DCXUht-S.js} +1 -1
- package/dist/client/assets/{auth-catchall-8vX-tkiK.js → auth-catchall-qckUoxsd.js} +1 -1
- package/dist/client/assets/{auth-entry-DK32MCfV.js → auth-entry-BB8hhEDG.js} +1 -1
- package/dist/client/assets/{auth-split-layout-DCKTSx3i.js → auth-split-layout-CSO_DkIx.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-B70SAkix.js → authenticate-and-persist-oauth-CVt0CYd2.js} +1 -1
- package/dist/client/assets/automation-list-row-Dljps9T4.js +1 -0
- package/dist/client/assets/{automation-runs-Cc4W98hs.js → automation-runs-D8Nw3oTC.js} +1 -1
- package/dist/client/assets/automations-CKnV5Z3_.js +1 -0
- package/dist/client/assets/{autosend-DYq_Jvzc.js → autosend-1pRdkXOC.js} +1 -1
- package/dist/client/assets/{avatar-BeXwGFfk.js → avatar-DdrdDt8-.js} +1 -1
- package/dist/client/assets/{badge-Bu2YMz_4.js → badge-s5SfUs9r.js} +1 -1
- package/dist/client/assets/{block-document-D5c4Dz22.js → block-document-BD-SWG_i.js} +1 -1
- package/dist/client/assets/{brand-context-CLtfaJqj.js → brand-context-Cu8cHH55.js} +1 -1
- package/dist/client/assets/{buckets-C9hZ8uQM.js → buckets-guXRgAb9.js} +1 -1
- package/dist/client/assets/{bulk-category-panel-BOZgPiQy.js → bulk-category-panel-BIw4X9QZ.js} +1 -1
- package/dist/client/assets/{calendar-PInr3mmc.js → calendar-D2U7uKjW.js} +1 -1
- package/dist/client/assets/{capability-load-error-jrr5P4vz.js → capability-load-error-Dvbhaq64.js} +1 -1
- package/dist/client/assets/{card-CWxEyxBu.js → card-B0UFbhQm.js} +1 -1
- package/dist/client/assets/{category-editor-BdRjbS6h.js → category-editor-U3tNBLqH.js} +1 -1
- package/dist/client/assets/{chat-context-Cr6qmlGy.js → chat-context-D6FKeCbV.js} +1 -1
- package/dist/client/assets/{checkbox-DHREKNj6.js → checkbox-ck4ELFFi.js} +1 -1
- package/dist/client/assets/{cli-auth-success-BHKGsy9Q.js → cli-auth-success-D0ttByiS.js} +1 -1
- package/dist/client/assets/{collection-detail-CrkU7mPY.js → collection-detail-CTlvygW9.js} +1 -1
- package/dist/client/assets/{collection-display-button-C8VvBTox.js → collection-display-button-BwcDUMnz.js} +1 -1
- package/dist/client/assets/{collection-search-ZIcj7LLW.js → collection-search-CbIgX22-.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-DOKsgICB.js → collection-table-wrapper-c7xAlZt9.js} +1 -1
- package/dist/client/assets/{collection-tabs-C1ybuJHO.js → collection-tabs-B-IOdDbr.js} +1 -1
- package/dist/client/assets/{command-BwCOntKm.js → command-BbzhrOWa.js} +1 -1
- package/dist/client/assets/{commerce-onboarding-BQMESyPD.js → commerce-onboarding-CD4JiOK2.js} +1 -1
- package/dist/client/assets/{companions-core-1f14i-4e.js → companions-core-Cj4LJ1ve.js} +1 -1
- package/dist/client/assets/{connect-desktop-dialog-d7Jl0eRb.js → connect-desktop-dialog-C1O4DSBb.js} +1 -1
- package/dist/client/assets/{connection-card-BOsDQ33m.js → connection-card-CsiRS9Jb.js} +1 -1
- package/dist/client/assets/{connection-detail-D6sRVx0b.js → connection-detail-ChpfREYy.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-Bko18JmW.js → connection-form-helpers-BWgg_O3a.js} +1 -1
- package/dist/client/assets/{connections-CZ3Mhjyz.js → connections-Bw8lu15U.js} +1 -1
- package/dist/client/assets/{decopilot-sse-pool-BM-tUdQR.js → decopilot-sse-pool-CZglpWoh.js} +1 -1
- package/dist/client/assets/{dialog-uPEldi6L.js → dialog-CkDVaDb9.js} +1 -1
- package/dist/client/assets/{domain-settings-CQqGcD4z.js → domain-settings-BTrayxZD.js} +1 -1
- package/dist/client/assets/{drawer-CeOMWORD.js → drawer-Ckxx_nhw.js} +1 -1
- package/dist/client/assets/{dropdown-menu-BnqypSUe.js → dropdown-menu-D_r-ZTpl.js} +1 -1
- package/dist/client/assets/{empty-state-Dj1UiFtA.js → empty-state-CpglRzMf.js} +1 -1
- package/dist/client/assets/{extract-connection-data-rNjNJHae.js → extract-connection-data-CgDBnC0I.js} +1 -1
- package/dist/client/assets/{file-explorer-h3A6HenO.js → file-explorer-C8bqdnqy.js} +1 -1
- package/dist/client/assets/{file-type-icon-mhXAsYz9.js → file-type-icon-BPnX5h86.js} +1 -1
- package/dist/client/assets/{files-BQDBoPGe.js → files-DyKSuPsf.js} +1 -1
- package/dist/client/assets/{form-CBIL6eiC.js → form-DUl7aeYY.js} +1 -1
- package/dist/client/assets/{general-DpsClpa0.js → general-BP0aJDM1.js} +1 -1
- package/dist/client/assets/{github-repo-picker-C6F-TBMc.js → github-repo-picker-DpffEH8u.js} +1 -1
- package/dist/client/assets/{hooks-C1wDxsG8.js → hooks-ZGNd526R.js} +1 -1
- package/dist/client/assets/{index-Cz21JVVz.js → index-6kkfF09x.js} +1 -1
- package/dist/client/assets/{index-QRKcLEI9.js → index-B5Dtbq5T.js} +1 -1
- package/dist/client/assets/{index-DaW53K3w.js → index-B770TNn1.js} +1 -1
- package/dist/client/assets/{index-8weOSYP9.js → index-BDJ9ZPyK.js} +1 -1
- package/dist/client/assets/{index-DE4xtToZ.js → index-BKHbebtl.js} +1 -1
- package/dist/client/assets/{index-CyLw_PTZ.js → index-BX60kXq_.js} +1 -1
- package/dist/client/assets/{index-BRT-eiWy.js → index-BmOebAZA.js} +5 -5
- package/dist/client/assets/{index-DeM3xnRo.js → index-C07zKLjv.js} +1 -1
- package/dist/client/assets/{index-D8Sx01WH.js → index-CIvk_Eje.js} +1 -1
- package/dist/client/assets/index-CXbGmNTT.css +1 -0
- package/dist/client/assets/{index-Bc-Htd9N.js → index-CbCeztud.js} +1 -1
- package/dist/client/assets/{index-CzoFhUGA.js → index-Cg13vQsc.js} +2 -2
- package/dist/client/assets/{index-h0mm9XmA.js → index-CtcaJHMI.js} +1 -1
- package/dist/client/assets/{index-ibVYCtdk.js → index-Di7ovJ4j.js} +3 -3
- package/dist/client/assets/{index-CZMZ2qCP.js → index-DlV0n-qw.js} +1 -1
- package/dist/client/assets/{index-redirect-4WIiEC98.js → index-redirect-Be-YvqZ9.js} +1 -1
- package/dist/client/assets/{input-CLma5TTa.js → input-BCWIjeb1.js} +1 -1
- package/dist/client/assets/{integration-icon-CH7ULFsC.js → integration-icon-CLosSnMP.js} +1 -1
- package/dist/client/assets/{invite-member-dialog-B9TFFt67.js → invite-member-dialog-Bn9vGXfe.js} +1 -1
- package/dist/client/assets/{label-HegC4zUI.js → label-DI3K-p4B.js} +1 -1
- package/dist/client/assets/{layout-D9xgYSWi.js → layout-VFW9u6Gn.js} +1 -1
- package/dist/client/assets/{login-DFLMZ3qu.js → login-ll3-Njjy.js} +1 -1
- package/dist/client/assets/{mcp-oauth-refjE4PD.js → mcp-oauth-BgxkFkck.js} +1 -1
- package/dist/client/assets/{members-DohQmAh4.js → members-NGd0v6MO.js} +1 -1
- package/dist/client/assets/{monaco-editor-CbXE9Xqh.js → monaco-editor-CQyCVPlK.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-D2OaVmvA.js → monitoring-stats-row-DQrBvCKJ.js} +1 -1
- package/dist/client/assets/{oauth-callback-BD-rnRKV.js → oauth-callback-DboAYuIS.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-W6zgxeJt.js → oauth-callback-ai-provider-BFs6dLTJ.js} +1 -1
- package/dist/client/assets/{onboarding-CcNFi16c.js → onboarding-DQqb5gWz.js} +1 -1
- package/dist/client/assets/{org-install--_QSmOJj.js → org-install-DVYUVoZn.js} +1 -1
- package/dist/client/assets/{org-layout-DYZ_Vdd8.js → org-layout-Vzwq-2J2.js} +1 -1
- package/dist/client/assets/{organization-choice-DXf2eVHS.js → organization-choice-ChpJjjNo.js} +1 -1
- package/dist/client/assets/{orgs-XCJtlsXs.js → orgs-63hThCds.js} +1 -1
- package/dist/client/assets/{page-seo-form-BJE4N0q6.js → page-seo-form-DaurCbLA.js} +1 -1
- package/dist/client/assets/page-seo-sheet-R-EfbQSp.js +1 -0
- package/dist/client/assets/{popover-D59OWen2.js → popover-o-llGaL3.js} +1 -1
- package/dist/client/assets/{post-editor-DgVNv_rH.js → post-editor-Dfh4ksu0.js} +1 -1
- package/dist/client/assets/{primitives-DfbHf84t.js → primitives-DnfAO7Pz.js} +1 -1
- package/dist/client/assets/{profile-DltlP7xu.js → profile-BrR_9aiA.js} +1 -1
- package/dist/client/assets/project-app-view-B8U4in6K.js +1 -0
- package/dist/client/assets/record-editor-DJ0n3vFa.js +1 -0
- package/dist/client/assets/redirect-editor-C97oOMQ8.js +1 -0
- package/dist/client/assets/registry-CPQHzZ3j.js +2 -0
- package/dist/client/assets/{registry-layout-p_pDhyQI.js → registry-layout-gCZAMSsr.js} +2 -2
- package/dist/client/assets/{reports-BUiMkCeS.js → reports-BJUf6q_H.js} +1 -1
- package/dist/client/assets/{require-capability-BYYj6I9k.js → require-capability-BbAia6-6.js} +1 -1
- package/dist/client/assets/{required-auth-layout-BdqwRFOI.js → required-auth-layout-CrGSu0Ea.js} +1 -1
- package/dist/client/assets/{reset-password-ILu_xind.js → reset-password-7XQ-jdCo.js} +1 -1
- package/dist/client/assets/roles-tadAU69q.js +1 -0
- package/dist/client/assets/{search-input-D7ajgDO_.js → search-input-CkhFi8JW.js} +1 -1
- package/dist/client/assets/{secrets-CVk2A9J6.js → secrets-BqbbNH45.js} +1 -1
- package/dist/client/assets/{sections-editor-1a4sumOF.js → sections-editor-DjJXw8Of.js} +1 -1
- package/dist/client/assets/{select-DCMRbMTV.js → select-D7pNbghU.js} +1 -1
- package/dist/client/assets/{select-model-Bx-Xed51.js → select-model-C6qwFGtf.js} +1 -1
- package/dist/client/assets/{self-tool-result-BtI_8CVd.js → self-tool-result-BrQsurFB.js} +1 -1
- package/dist/client/assets/{seo-editor-Cs_3ZAXk.js → seo-editor--npY5ZGg.js} +1 -1
- package/dist/client/assets/{settings-layout-DbPYh7eX.js → settings-layout-BHiQHd4P.js} +1 -1
- package/dist/client/assets/{settings-section-Dss2hFT-.js → settings-section-DIoPjQSl.js} +1 -1
- package/dist/client/assets/{shell-controls-C3MhzxnW.js → shell-controls-Crg9Ynz1.js} +1 -1
- package/dist/client/assets/{shell-layout-DPnzwBdL.js → shell-layout-BHmZPZAv.js} +1 -1
- package/dist/client/assets/{sidebar-BIOIlAO_.js → sidebar-DG71apFE.js} +1 -1
- package/dist/client/assets/{skeleton-DcJ-AWeX.js → skeleton-yel77Dpk.js} +1 -1
- package/dist/client/assets/{sso-DVhSY1Kw.js → sso-D_O-bzr0.js} +1 -1
- package/dist/client/assets/{store-WNKCxnBi.js → store-Ch4LLOfD.js} +1 -1
- package/dist/client/assets/store-registry-BsayKcVb.js +2 -0
- package/dist/client/assets/{studio-tools-CiEb3YCV.js → studio-tools-oZPZCqfM.js} +1 -1
- package/dist/client/assets/{switch-CvVKCLWe.js → switch-B2dXzH3x.js} +1 -1
- package/dist/client/assets/{table-DUOWHqJQ.js → table-Cl90v0YB.js} +1 -1
- package/dist/client/assets/{tabs-BqGxXdoI.js → tabs-3agIdWan.js} +1 -1
- package/dist/client/assets/{textarea-DV1w30pD.js → textarea-JZ3C2Mue.js} +1 -1
- package/dist/client/assets/{toggle-group-BOYJJ8oi.js → toggle-group-CpO2nh5B.js} +1 -1
- package/dist/client/assets/{toolbar-D6dZQ1kJ.js → toolbar-bfqPHRVL.js} +1 -1
- package/dist/client/assets/{toolbar-icon-button-D3ZfFn7X.js → toolbar-icon-button-DbIsvDkK.js} +1 -1
- package/dist/client/assets/{tools-list-CggpcmV4.js → tools-list-54DMrvCs.js} +1 -1
- package/dist/client/assets/{tooltip-DmGjSLGv.js → tooltip-DoHJbtwq.js} +1 -1
- package/dist/client/assets/{use-ai-providers-CmNDf8vd.js → use-ai-providers-Bv8jw_k9.js} +1 -1
- package/dist/client/assets/{use-automations-C8vesZ5J.js → use-automations-CsKrvGqb.js} +1 -1
- package/dist/client/assets/{use-autosave-D46FxJLf.js → use-autosave-DIVK2MHQ.js} +1 -1
- package/dist/client/assets/{use-capability-EhARhd3Z.js → use-capability-DFXouqMA.js} +1 -1
- package/dist/client/assets/{use-clock-tick-2EW1HZaU.js → use-clock-tick-zUgV2mCc.js} +1 -1
- package/dist/client/assets/{use-collections-CvDTPu4s.js → use-collections-B5v1Pj2l.js} +1 -1
- package/dist/client/assets/{use-connection-DkYq5t3v.js → use-connection-CrgtbXXA.js} +1 -1
- package/dist/client/assets/{use-copy-DqYfTFoV.js → use-copy-DXLEzqKI.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-CSvz7-rk.js → use-create-virtual-mcp-fIALDlHK.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-DhohqvG9.js → use-debounced-autosave-BsFKqjp1.js} +1 -1
- package/dist/client/assets/{use-debounced-value-7buBvFAI.js → use-debounced-value-ClsfpndQ.js} +1 -1
- package/dist/client/assets/{use-deco-credits-CVzSYKYM.js → use-deco-credits-ikDlZOt3.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-CkuFGVsY.js → use-decopilot-events-B2mobLdK.js} +1 -1
- package/dist/client/assets/{use-delete-connection-C2WiA17l.js → use-delete-connection-BAuoVDkD.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-C_Ql7vEL.js → use-deployment-admin-YrSHKJXD.js} +1 -1
- package/dist/client/assets/{use-file-configs-CcqaFUoI.js → use-file-configs-CRlZmHCr.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-BkLL2k_w.js → use-infinite-scroll-BPvX0GAF.js} +1 -1
- package/dist/client/assets/{use-join-requests-DULtcSY7.js → use-join-requests-CxcQPNi8.js} +1 -1
- package/dist/client/assets/{use-mcp-client-OGs9WihN.js → use-mcp-client-Baf3vJMq.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-B3ZOCtmr.js → use-mcp-tools-DlVxu24w.js} +1 -1
- package/dist/client/assets/{use-members-BEIFWHR7.js → use-members-CSA-syPi.js} +1 -1
- package/dist/client/assets/{use-mobile-B1itw65d.js → use-mobile-CnO-o8v3.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-miif_g44.js → use-navigate-to-agent-9QV0PQd5.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-D_9vuP20.js → use-org-auth-client-Cuk9V5yI.js} +1 -1
- package/dist/client/assets/{use-org-sso-DCaBtTKN.js → use-org-sso-DQGDANOs.js} +1 -1
- package/dist/client/assets/{use-organization-roles-C5Xk9wws.js → use-organization-roles-B0jvU_P6.js} +1 -1
- package/dist/client/assets/{use-organization-settings-D7VQkjik.js → use-organization-settings-DBs9wzmn.js} +1 -1
- package/dist/client/assets/{use-registry-connections-D7PghIBt.js → use-registry-connections-DCOIbZD1.js} +1 -1
- package/dist/client/assets/{use-secrets-DNdZ7I0w.js → use-secrets-eZNI2x8v.js} +1 -1
- package/dist/client/assets/{use-status-sounds-CXNpvY3s.js → use-status-sounds-CE63ul8U.js} +1 -1
- package/dist/client/assets/{use-view-mode-CTcmjP_L.js → use-view-mode-B13kpsla.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-CkueoyOa.js → use-virtual-mcp-BQrUX78p.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-BIVM9SRE.js +1 -0
- package/dist/client/assets/{useRouterState-DczLxF9S.js → useRouterState-Bv2qCkx-.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-OdNNuQko.js +1 -0
- package/dist/client/assets/{users-C_Ywx_9Z.js → users-CUJWp9K0.js} +1 -1
- package/dist/client/assets/{variant-calendar-DcAf2fYs.js → variant-calendar-BQ5HdPjL.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-DNrPFZMu.js → view-mode-toggle-DErIebCO.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/server/cli.js +1 -1
- package/dist/server/server.js +1 -1
- package/package.json +1 -1
- package/dist/client/assets/ai-providers-BVRPYmN7.js +0 -1
- package/dist/client/assets/app-editor-CTVFzQ80.js +0 -1
- package/dist/client/assets/automation-list-row-CnL5NUn0.js +0 -1
- package/dist/client/assets/automations-BqDg5l7C.js +0 -1
- package/dist/client/assets/index-Bzy_3xCN.css +0 -1
- package/dist/client/assets/page-seo-sheet-Dn8gU-8w.js +0 -1
- package/dist/client/assets/project-app-view-Bnulcm0D.js +0 -1
- package/dist/client/assets/record-editor-FGIpxVOr.js +0 -1
- package/dist/client/assets/redirect-editor-COIPOqhB.js +0 -1
- package/dist/client/assets/registry-C2jCLyFo.js +0 -2
- package/dist/client/assets/roles-DBPdPEDv.js +0 -1
- package/dist/client/assets/store-registry-As3TNtVB.js +0 -2
- package/dist/client/assets/useInfiniteQuery-k0Oz8aiZ.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-D6yz4hO3.js +0 -1
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{H as B,I as N,ad as ae,af as le,ag as he,ae as xe,b3 as me,c as U,J as ge,M as be,r as M,j as s,ah as Ee,t as G,aL as ye,C as re,n as oe,d as J,K as Q,m as ve,l as ue,B as V,p as je,E as $e}from"./index-ibVYCtdk.js";import{i as Re}from"./AlertCircle-C0LNRXFL.js";import{P as te}from"./index-DaW53K3w.js";import{S as ne}from"./skeleton-DcJ-AWeX.js";import{b as _e,a as ce,S as de,c as Fe}from"./settings-section-Dss2hFT-.js";import{u as X,a as se,b as Se}from"./use-ai-providers-CmNDf8vd.js";import{i as Me}from"./CheckCircle-DuKYtqTR.js";import{n as Oe,o as Te,q as Ue,S as ze}from"./chat-context-Cr6qmlGy.js";import{g as qe,h as Le}from"./use-organization-settings-D7VQkjik.js";import{M as Ve,O as ke,P as Be,C as pe}from"./select-model-Bx-Xed51.js";import{u as Qe}from"./use-debounced-autosave-DhohqvG9.js";import{I as ie}from"./input-CLma5TTa.js";import{T as fe,a as Ge}from"./toggle-group-BOYJJ8oi.js";import{b as Ie,c as Ce,d as Ne,A as Pe,a as we,e as De,g as Ae,f as Ke}from"./alert-dialog-vSPTpv6H.js";import{u as H}from"./studio-tools-CiEb3YCV.js";import{s as Ye}from"./Plus-BkEprJHF.js";import{c as We}from"./Tool01-vwcHp5vx.js";import{s as He}from"./Trash01-CQNpRi9v.js";import{A as Je}from"./avatar-BeXwGFfk.js";import{i as Xe}from"./Settings02-B4gKkQVa.js";import{s as Ze}from"./Eye-Tv0RqHHP.js";import{c as et,D as tt,a as st,d as it,e as rt}from"./dialog-uPEldi6L.js";import{f as ot}from"./formatDistanceToNow-Cb2QZZJn.js";import{R as lt}from"./require-capability-BYYj6I9k.js";import"./sidebar-BIOIlAO_.js";import"./LayoutLeft-BB_flP7V.js";import"./use-mobile-B1itw65d.js";import"./X-ehE2-PPh.js";import"./tooltip-DmGjSLGv.js";import"./card-CWxEyxBu.js";import"./ArrowUpRight-CfyQUwOR.js";import"./autosend-DYq_Jvzc.js";import"./hooks-C1wDxsG8.js";import"./use-mcp-client-OGs9WihN.js";import"./constants-D_FQAPnt.js";import"./auth-CJQ6Yx_r.js";import"./decopilot-sse-pool-BM-tUdQR.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./use-virtual-mcp-CkueoyOa.js";import"./use-collections-CvDTPu4s.js";import"./use-decopilot-events-CkuFGVsY.js";import"./tab-id-BijBBRwE.js";import"./drawer-CeOMWORD.js";import"./checkbox-DHREKNj6.js";import"./Check-CHx9EjoK.js";import"./select-DCMRbMTV.js";import"./ChevronDown-UK2bP1UQ.js";import"./ChevronUp-C2du4mz8.js";import"./Key01-DUQfSOZQ.js";import"./SearchMd-DPgb_Mb5.js";import"./ai-providers-logos-DD3qZ33J.js";import"./Monitor01-BXWr0YEZ.js";import"./ChevronRight-EIxlJCAn.js";import"./connect-desktop-dialog-d7Jl0eRb.js";import"./Copy01-Dec6QuUO.js";import"./Stars01-DkyiijKz.js";import"./User01-DVvBrT-K.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-capability-EhARhd3Z.js";import"./access-gate-CQxfoP_U.js";import"./capability-load-error-jrr5P4vz.js";B({title:N(),url:N(),icon:N()});B({registries:le(N(),B({enabled:he()})).describe("Per-registry enabled/disabled state. Key is connection ID. Absent registries are treated as enabled."),blockedMcps:ae(N()).describe("List of MCP app_name or app_id values to hide from the store.")});const W=B({keyId:N(),modelId:N(),title:N().optional()}).nullable();xe(["fast","smart","thinking","image","web_search","deep_research"]);xe(["fast","smart","thinking"]);const at=B({tiers:B({fast:W,smart:W,thinking:W,image:W,web_search:W,deep_research:W})});B({ids:ae(N()).describe("Ordered list of custom virtual MCP agent ids to show on the home view.")});B({id:N().describe("Brand context ID"),name:N().describe("Company name"),domain:N().describe("Company domain (e.g. example.com)"),overview:N().describe("Company overview / description"),logo:N().nullable().optional().describe("Logo URL"),favicon:N().nullable().optional().describe("Favicon URL"),ogImage:N().nullable().optional().describe("OG image URL"),fonts:B({heading:N().optional().describe("Font family for headings"),body:N().optional().describe("Font family for body text"),code:N().optional().describe("Font family for code / monospace")}).nullable().optional().describe("Font families by semantic role"),colors:B({primary:N().optional().describe("Primary brand color (hex)"),secondary:N().optional().describe("Secondary brand color (hex)"),accent:N().optional().describe("Accent / highlight color (hex)"),background:N().optional().describe("Background color (hex)"),foreground:N().optional().describe("Foreground / text color (hex)")}).nullable().optional().describe("Semantic color palette"),images:ae(le(N(),me())).nullable().optional().describe("Brand images"),metadata:le(N(),me()).nullable().optional().describe("Extra design tokens (typography, components, spacing, layout, tone, etc.)"),archivedAt:N().nullable().optional().describe("Archive timestamp (null to unarchive)"),isDefault:he().optional().describe("Whether this is the default brand for the organization")});const nt=e=>e.capabilities?.includes("image")===!0,ct=e=>Oe(e),dt=e=>Te(e),mt=[{key:"fast",label:"Fast",description:"Fastest responses, best for quick tasks",filter:void 0},{key:"smart",label:"Smart",description:"Balanced speed and capability",filter:void 0},{key:"thinking",label:"Thinking",description:"Most capable, best for complex tasks",filter:void 0},{key:"image",label:"Image",description:"Image generation",filter:nt},{key:"web_search",label:"Web search",description:"Quick, up-to-date answers from the web",filter:ct},{key:"deep_research",label:"Deep research",description:"In-depth, multi-source research reports",filter:dt}];function ut(e){const t=U.c(20),{slot:i,onSlotChange:a,filterModels:r,defaultKeyId:l}=e,o=X(),[x,S]=M.useState(i?.keyId??l);let b;t[0]!==i?(b=()=>{i?.keyId&&S(i.keyId)},t[0]=i,t[1]=b):b=t[1];const d=i?.keyId;let n;t[2]!==d?(n=[d],t[2]=d,t[3]=n):n=t[3],M.useEffect(b,n);const m=x??l;let c;t[4]!==m||t[5]!==o?(c=m?o.find(y=>y.id===m):null,t[4]=m,t[5]=o,t[6]=c):c=t[6];const u=c,{models:g,isLoading:j}=se(r?m??void 0:void 0),_=r?j||g.some(r):!0;let p;t[7]!==i||t[8]!==u?.providerId?(p=i?{modelId:i.modelId,title:i.title??i.modelId,keyId:i.keyId,providerId:u?.providerId??"deco",description:null,logo:null,capabilities:[],limits:null,costs:null}:null,t[7]=i,t[8]=u?.providerId,t[9]=p):p=t[9];const k=p;if(r&&!_){let y;return t[10]===Symbol.for("react.memo_cache_sentinel")?(y=s.jsx("p",{className:"text-xs text-muted-foreground italic",children:"Not available with current provider"}),t[10]=y):y=t[10],y}let I;t[11]===Symbol.for("react.memo_cache_sentinel")?(I=y=>S(y),t[11]=I):I=t[11];let h;t[12]!==m||t[13]!==a?(h=y=>{const R=y.keyId??m??"";S(R),a({keyId:R,modelId:y.modelId,title:y.title})},t[12]=m,t[13]=a,t[14]=h):h=t[14];let f;return t[15]!==m||t[16]!==r||t[17]!==k||t[18]!==h?(f=s.jsx(Ve,{variant:"bordered",placeholder:"Pick model",model:k,credentialId:m,filterModels:r,onCredentialChange:I,onModelChange:h}),t[15]=m,t[16]=r,t[17]=k,t[18]=h,t[19]=f):f=t[19],f}function pt(e){const t=U.c(2),{isPending:i,showSaved:a}=e;if(i){let r;return t[0]===Symbol.for("react.memo_cache_sentinel")?(r=s.jsxs("span",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[s.jsx(ye,{size:12,className:"animate-spin"}),"Saving…"]}),t[0]=r):r=t[0],r}if(a){let r;return t[1]===Symbol.for("react.memo_cache_sentinel")?(r=s.jsxs("span",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[s.jsx(Me,{size:12}),"Saved"]}),t[1]=r):r=t[1],r}return null}function ft(){const e=U.c(42),t=X(),i=qe(),a=t.length>0;let r;e[0]===Symbol.for("react.memo_cache_sentinel")?(r=ge(at),e[0]=r):r=e[0];let l;e[1]!==i?(l={resolver:r,values:i,mode:"onChange"},e[1]=i,e[2]=l):l=e[2];const o=be(l),{mutate:x,isPending:S,isSuccess:b}=Le(),d=o.formState.isDirty;let n;e[3]!==o||e[4]!==i||e[5]!==x?(n={delayMs:250,save:async()=>{const v=o.getValues();x(v,{onSuccess:()=>o.reset(v,{keepValues:!0}),onError:w=>{o.reset(i),G.error(`Failed to save: ${w.message}`)}})}},e[3]=o,e[4]=i,e[5]=x,e[6]=n):n=e[6];const{schedule:m}=Qe(n),c=t[0],u=t[1],g=t[2],{models:j}=se(c?.id),{models:_}=se(u?.id),{models:p}=se(g?.id);let k,I;e[7]!==o||e[8]!==a?(k=()=>{a||o.reset({tiers:{fast:null,smart:null,thinking:null,image:null,web_search:null,deep_research:null}})},I=[a,o],e[7]=o,e[8]=a,e[9]=k,e[10]=I):(k=e[9],I=e[10]),M.useEffect(k,I);let h;e[11]!==t||e[12]!==o||e[13]!==c||e[14]!==u||e[15]!==g||e[16]!==j||e[17]!==_||e[18]!==p?(h=()=>{const v=o.getValues(),w=new Set(t.map(ht)),$={};c?.id&&($[c.id]=j),u?.id&&($[u.id]=_),g?.id&&($[g.id]=p);const P=Y=>Y!=null&&!w.has(Y.keyId),C={fast:P(v.tiers.fast)?null:v.tiers.fast,smart:P(v.tiers.smart)?null:v.tiers.smart,thinking:P(v.tiers.thinking)?null:v.tiers.thinking,image:P(v.tiers.image)?null:v.tiers.image,web_search:P(v.tiers.web_search)?null:v.tiers.web_search,deep_research:P(v.tiers.deep_research)?null:v.tiers.deep_research},q=!C.fast||!C.smart||!C.thinking||!C.image||!C.web_search||!C.deep_research,z=C.fast===v.tiers.fast&&C.smart===v.tiers.smart&&C.thinking===v.tiers.thinking&&C.image===v.tiers.image&&C.web_search===v.tiers.web_search&&C.deep_research===v.tiers.deep_research;if(!q&&z)return;const L=Ue(t,$);o.reset({tiers:{fast:C.fast??L.chat.fast,smart:C.smart??L.chat.smart,thinking:C.thinking??L.chat.thinking,image:C.image??L.image,web_search:C.web_search??L.webSearch,deep_research:C.deep_research??L.deepResearch}},{keepDirty:!0})},e[11]=t,e[12]=o,e[13]=c,e[14]=u,e[15]=g,e[16]=j,e[17]=_,e[18]=p,e[19]=h):h=e[19];const f=c?.id,y=u?.id,R=g?.id;let O;e[20]!==t||e[21]!==o||e[22]!==j||e[23]!==_||e[24]!==p||e[25]!==f||e[26]!==y||e[27]!==R?(O=[o,t,j,_,p,f,y,R],e[20]=t,e[21]=o,e[22]=j,e[23]=_,e[24]=p,e[25]=f,e[26]=y,e[27]=R,e[28]=O):O=e[28],M.useEffect(h,O);let T;e[29]===Symbol.for("react.memo_cache_sentinel")?(T=s.jsx("p",{className:"text-sm text-muted-foreground",children:"These models power chat, automations, and tools across your organization."}),e[29]=T):T=e[29];const F=b&&!d;let D;e[30]!==S||e[31]!==F?(D=s.jsxs("div",{className:"flex items-center justify-between -mt-2 mb-2",children:[T,s.jsx(pt,{isPending:S,showSaved:F})]}),e[30]=S,e[31]=F,e[32]=D):D=e[32];let A;e[33]!==t[0]?.id||e[34]!==o.control||e[35]!==m?(A=mt.map(v=>s.jsx(Ee,{control:o.control,name:`tiers.${v.key}`,render:w=>{const{field:$}=w;return s.jsx(_e,{title:v.label,description:v.description,action:s.jsx(ut,{slot:$.value,defaultKeyId:t[0]?.id??null,filterModels:v.filter,onSlotChange:P=>{$.onChange(P),m()}})})}},v.key)),e[33]=t[0]?.id,e[34]=o.control,e[35]=m,e[36]=A):A=e[36];let K;e[37]!==A?(K=s.jsx(ce,{children:A}),e[37]=A,e[38]=K):K=e[38];let E;return e[39]!==D||e[40]!==K?(E=s.jsxs(de,{title:"Default models",headerClassName:"pl-0",children:[D,K]}),e[39]=D,e[40]=K,e[41]=E):E=e[41],E}function ht(e){return e.id}const xt={usd:[10,20,100],brl:[50,100,500]};function gt(){const e=U.c(26),t=H(),[i,a]=M.useState(!1),{mutate:r,isPending:l}=J({mutationFn:async h=>{const{url:f}=await t.call("AI_PROVIDER_TOPUP_URL",{providerId:"deco",amountCents:h,currency:d});return f},onSuccess:yt,onError:bt}),[o,x]=M.useState(""),[S,b]=M.useState("usd"),d=S,n=parseFloat(o),m=!isNaN(n)&&n>=1,c=d==="brl"?"R$":"$";let u;e[0]!==b?(u=h=>{h&&b(h)},e[0]=b,e[1]=u):u=e[1];let g,j;e[2]===Symbol.for("react.memo_cache_sentinel")?(g=s.jsx(fe,{value:"usd",className:"px-3.5 text-sm",children:"USD"}),j=s.jsx(fe,{value:"brl",className:"px-3.5 text-sm",children:"BRL"}),e[2]=g,e[3]=j):(g=e[2],j=e[3]);let _;e[4]!==d||e[5]!==u?(_=s.jsxs(Ge,{type:"single",variant:"outline",size:"default",value:d,onValueChange:u,children:[g,j]}),e[4]=d,e[5]=u,e[6]=_):_=e[6];let p;e[7]!==d||e[8]!==c||e[9]!==i||e[10]!==l||e[11]!==r?(p=!i&&s.jsxs(s.Fragment,{children:[xt[d].map(h=>s.jsxs(V,{variant:"outline",className:"h-10 px-4 text-sm font-medium tabular-nums",disabled:l,onClick:()=>r(h*100),children:[c,h]},h)),s.jsx(V,{variant:"ghost",className:"h-10 px-4 text-sm text-muted-foreground",onClick:()=>a(!0),disabled:l,children:"Custom"})]}),e[7]=d,e[8]=c,e[9]=i,e[10]=l,e[11]=r,e[12]=p):p=e[12];let k;e[13]!==c||e[14]!==o||e[15]!==n||e[16]!==i||e[17]!==m||e[18]!==l||e[19]!==x||e[20]!==r?(k=i&&s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"relative max-w-[140px]",children:[s.jsx("span",{className:"absolute left-3 top-1/2 -translate-y-1/2 text-sm text-muted-foreground select-none",children:c}),s.jsx(ie,{type:"number",min:"1",step:"1",placeholder:"50",value:o,onChange:h=>x(h.target.value),className:"h-10 text-sm pl-7",autoFocus:!0})]}),s.jsx(V,{className:"h-10",disabled:!m||l,onClick:()=>r(Math.round(n*100)),children:l?"...":"Add"}),s.jsx(V,{variant:"ghost",className:"h-10 text-sm text-muted-foreground",onClick:()=>{a(!1),x("")},children:"Cancel"})]}),e[13]=c,e[14]=o,e[15]=n,e[16]=i,e[17]=m,e[18]=l,e[19]=x,e[20]=r,e[21]=k):k=e[21];let I;return e[22]!==_||e[23]!==p||e[24]!==k?(I=s.jsx("div",{className:"flex flex-col gap-2.5",children:s.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[_,p,k]})}),e[22]=_,e[23]=p,e[24]=k,e[25]=I):I=e[25],I}function bt(e){G.error(`Top-up failed: ${e.message}`)}function yt(e){e&&window.open(e,"_blank","noopener,noreferrer")}function vt(e){return e<=0?"text-destructive":e<=1?"text-amber-500 dark:text-amber-400":"text-foreground"}function jt(){const e=U.c(58),{org:t}=re(),i=H(),a=oe(),r=X();let l;e[0]!==r?(l=r.find(St),e[0]=r,e[1]=l):l=e[1];const o=l,[x,S]=M.useState(!1);let b;e[2]!==o||e[3]!==i?(b=async()=>{o&&await i.call("AI_PROVIDER_KEY_DELETE",{keyId:o.id})},e[2]=o,e[3]=i,e[4]=b):b=e[4];let d;e[5]!==t.id||e[6]!==a?(d=()=>{a.invalidateQueries({queryKey:Q.aiProviderKeys(t.id)}),a.invalidateQueries({queryKey:Q.aiProviders(t.id)}),G.success("Deco AI Gateway disconnected"),S(!1)},e[5]=t.id,e[6]=a,e[7]=d):d=e[7];let n;e[8]!==b||e[9]!==d?(n={mutationFn:b,onSuccess:d,onError:_t},e[8]=b,e[9]=d,e[10]=n):n=e[10];const{mutate:m,isPending:c}=J(n);let u;e[11]!==t.id?(u=Q.aiProviderCredits(t.id,"deco"),e[11]=t.id,e[12]=u):u=e[12];const g=!!o;let j;e[13]!==i?(j=async()=>{try{return await i.call("AI_PROVIDER_CREDITS",{providerId:"deco"})}catch{return null}},e[13]=i,e[14]=j):j=e[14];let _;e[15]!==u||e[16]!==g||e[17]!==j?(_={queryKey:u,enabled:g,staleTime:6e4,queryFn:j},e[15]=u,e[16]=g,e[17]=j,e[18]=_):_=e[18];const{data:p,isLoading:k,refetch:I,isFetching:h}=ve(_);if(!o)return null;const f=p?.balanceCents!=null?p.balanceCents/100:null;let y;e[19]!==f?(y=f!=null?`$${f.toFixed(2)}`:"—",e[19]=f,e[20]=y):y=e[20];const R=y;let O;e[21]===Symbol.for("react.memo_cache_sentinel")?(O=s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("img",{src:"/logos/deco%20logo.svg",alt:"Deco AI Gateway",className:"size-9 rounded-lg object-contain dark:bg-white dark:p-0.5"}),s.jsx("div",{children:s.jsx("p",{className:"text-xs text-muted-foreground",children:"Access to 100+ models"})})]}),e[21]=O):O=e[21];let T;e[22]===Symbol.for("react.memo_cache_sentinel")?(T=()=>S(!0),e[22]=T):T=e[22];let F;e[23]!==c?(F=s.jsxs("div",{className:"flex items-center justify-between",children:[O,s.jsx(V,{variant:"ghost",size:"sm",className:"text-xs text-muted-foreground hover:text-destructive",onClick:T,disabled:c,children:"Disconnect"})]}),e[23]=c,e[24]=F):F=e[24];let D;e[25]===Symbol.for("react.memo_cache_sentinel")?(D=s.jsxs(Ie,{children:[s.jsx(Ce,{children:"Disconnect Deco AI Gateway"}),s.jsx(Ne,{children:"This will remove the Deco AI Gateway from this workspace. Your credit balance is preserved and will be available if you reconnect."})]}),e[25]=D):D=e[25];let A;e[26]===Symbol.for("react.memo_cache_sentinel")?(A=s.jsx(Pe,{children:"Cancel"}),e[26]=A):A=e[26];let K;e[27]!==m?(K=s.jsxs(we,{children:[D,s.jsxs(De,{children:[A,s.jsx(Ae,{onClick:()=>m(),className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",children:"Disconnect"})]})]}),e[27]=m,e[28]=K):K=e[28];let E;e[29]!==x||e[30]!==K?(E=s.jsx(Ke,{open:x,onOpenChange:S,children:K}),e[29]=x,e[30]=K,e[31]=E):E=e[31];let v;e[32]!==f||e[33]!==R||e[34]!==h||e[35]!==k?(v=k||h?s.jsx(ne,{className:"h-9 w-24"}):s.jsx("span",{className:ue("text-3xl font-semibold tabular-nums tracking-tight",f!=null&&vt(f)),children:R}),e[32]=f,e[33]=R,e[34]=h,e[35]=k,e[36]=v):v=e[36];let w;e[37]!==I?(w=()=>I(),e[37]=I,e[38]=w):w=e[38];const $=h&&"animate-spin";let P;e[39]!==$?(P=ue($),e[39]=$,e[40]=P):P=e[40];let C;e[41]!==P?(C=s.jsx(ye,{size:14,className:P}),e[41]=P,e[42]=C):C=e[42];let q;e[43]!==h||e[44]!==w||e[45]!==C?(q=s.jsx("button",{type:"button",onClick:w,disabled:h,className:"text-muted-foreground hover:text-foreground disabled:opacity-50 transition-colors p-1 rounded-md hover:bg-muted/50","aria-label":"Refresh balance",children:C}),e[43]=h,e[44]=w,e[45]=C,e[46]=q):q=e[46];let z;e[47]!==v||e[48]!==q?(z=s.jsxs("div",{className:"flex items-baseline gap-2",children:[v,q]}),e[47]=v,e[48]=q,e[49]=z):z=e[49];let L;e[50]===Symbol.for("react.memo_cache_sentinel")?(L=s.jsx("p",{className:"text-xs text-muted-foreground",children:"Available credit balance"}),e[50]=L):L=e[50];let Y;e[51]!==z?(Y=s.jsxs("div",{className:"flex flex-col gap-2 pt-2",children:[z,L]}),e[51]=z,e[52]=Y):Y=e[52];let Z;e[53]===Symbol.for("react.memo_cache_sentinel")?(Z=s.jsxs("div",{className:"pt-4 border-t border-border/60",children:[s.jsx("p",{className:"text-xs font-medium text-muted-foreground mb-2.5",children:"Add credits"}),s.jsx(gt,{})]}),e[53]=Z):Z=e[53];let ee;return e[54]!==F||e[55]!==E||e[56]!==Y?(ee=s.jsx(de,{title:"Deco AI Gateway",children:s.jsx(ce,{children:s.jsxs("div",{className:"px-5 py-5 flex flex-col gap-5",children:[F,E,Y,Z]})})}),e[54]=F,e[55]=E,e[56]=Y,e[57]=ee):ee=e[57],ee}function _t(e){G.error(`Failed to disconnect: ${e.message}`)}function St(e){return e.providerId==="deco"}function kt(){const e=U.c(8),{org:t}=re(),i=H(),a=oe();let r;e[0]!==i?(r=async()=>{await i.call("AI_PROVIDER_PROVISION_KEY",{providerId:"deco"})},e[0]=i,e[1]=r):r=e[1];let l;e[2]!==t||e[3]!==a?(l=()=>{je("ai_provider_provision_succeeded",{provider_id:"deco"}),a.invalidateQueries({queryKey:Q.aiProviderKeys(t.id)}),a.invalidateQueries({queryKey:Q.aiProviders(t.id)}),G.success("Deco AI Gateway connected successfully")},e[2]=t,e[3]=a,e[4]=l):l=e[4];let o;return e[5]!==r||e[6]!==l?(o={mutationFn:r,onSuccess:l,onError:It},e[5]=r,e[6]=l,e[7]=o):o=e[7],J(o)}function It(e){je("ai_provider_provision_failed",{provider_id:"deco",error:e.message}),G.error(`Failed to connect Deco AI Gateway: ${e.message}`)}function Ct(){const e=U.c(10),{mutate:t,isPending:i}=kt();let a;e[0]===Symbol.for("react.memo_cache_sentinel")?(a=["radial-gradient(ellipse 50% 150% at -15% 50%, rgba(165,149,255,0.14) 0%, transparent 60%)","radial-gradient(ellipse 50% 150% at 115% 50%, rgba(208,236,26,0.11) 0%, transparent 60%)"],e[0]=a):a=e[0];let r;e[1]===Symbol.for("react.memo_cache_sentinel")?(r=s.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:a.join(", ")}}),e[1]=r):r=e[1];let l;e[2]===Symbol.for("react.memo_cache_sentinel")?(l=s.jsx("img",{src:"/logos/deco%20logo.svg",alt:"Deco AI Gateway",className:"size-12 shrink-0 rounded-xl object-contain dark:bg-white dark:p-1"}),e[2]=l):l=e[2];let o;e[3]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsxs("div",{className:"flex-1 min-w-0",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[s.jsx("p",{className:"text-base font-semibold",children:"Deco AI Gateway"}),s.jsx("span",{className:"rounded-full border border-border/60 bg-background/60 px-2 py-0.5 text-[10px] font-medium text-muted-foreground",children:"Recommended"})]}),s.jsx("p",{className:"text-sm text-muted-foreground",children:"100+ models, one connection — pay as you go, no API keys to juggle."})]}),e[3]=o):o=e[3];let x;e[4]!==t?(x=()=>t(),e[4]=t,e[5]=x):x=e[5];const S=i?"Connecting…":"Connect Deco";let b;return e[6]!==i||e[7]!==x||e[8]!==S?(b=s.jsxs("div",{className:"relative rounded-xl border border-border overflow-hidden",children:[r,s.jsxs("div",{className:"relative flex items-center gap-5 px-6 py-5",children:[l,o,s.jsx(V,{variant:"outline",disabled:i,onClick:x,children:S})]})]}),e[6]=i,e[7]=x,e[8]=S,e[9]=b):b=e[9],b}const Nt=B({label:N().min(1,"Label is required").max(100),apiKey:N().optional(),baseUrl:N().optional()});function Pt({providerKey:e,provider:t,preset:i,maskedKey:a,currentLabel:r,currentBaseUrl:l,onCancel:o,onSuccess:x}){const{org:S}=re(),b=H(),d=oe(),[n,m]=M.useState(!1),c=t.id==="openai-compatible",u=t.supportedMethods.includes("api-key"),{register:g,handleSubmit:j,watch:_,formState:{errors:p}}=be({resolver:ge(Nt),defaultValues:{label:r,apiKey:"",baseUrl:l??""}}),k=_("apiKey")??"",{mutate:I,isPending:h}=J({mutationFn:async f=>{let y;f.apiKey?c?y=JSON.stringify({baseUrl:f.baseUrl||l||"",apiKey:f.apiKey}):y=f.apiKey:c&&f.baseUrl&&f.baseUrl!==l&&(y=JSON.stringify({baseUrl:f.baseUrl,apiKey:""})),await b.call("AI_PROVIDER_KEY_UPDATE",{keyId:e.id,label:f.label,...y!==void 0?{apiKey:y}:{}})},onSuccess:()=>{d.invalidateQueries({queryKey:Q.aiProviderKeys(S.id)}),d.invalidateQueries({queryKey:Q.aiProviders(S.id)}),G.success("Provider updated"),x()},onError:f=>G.error(`Failed to update: ${f.message}`)});return s.jsxs("form",{onSubmit:j(f=>I(f)),className:"space-y-3",children:[s.jsxs("div",{className:"space-y-1",children:[s.jsx("label",{className:"text-xs font-medium text-muted-foreground",children:"Label"}),s.jsx(ie,{placeholder:"e.g. Personal key",...g("label"),className:"h-8 text-sm"}),p.label&&s.jsx("p",{className:"text-xs text-destructive",children:p.label.message})]}),c&&!i?.defaultBaseUrl&&s.jsxs("div",{className:"space-y-1",children:[s.jsx("label",{className:"text-xs font-medium text-muted-foreground",children:"Base URL"}),s.jsx(ie,{type:"url",placeholder:i?.baseUrlPlaceholder??"http://localhost:4000/v1",...g("baseUrl"),className:"h-8 text-sm"})]}),u&&s.jsxs("div",{className:"space-y-1",children:[s.jsxs("label",{className:"text-xs font-medium text-muted-foreground",children:["API key"," ",s.jsx("span",{className:"text-muted-foreground/60",children:"(leave blank to keep current)"})]}),s.jsxs("div",{className:"relative",children:[s.jsx(ie,{type:n&&k?"text":"password",placeholder:a,...g("apiKey"),className:"ph-no-capture h-8 text-sm pr-8"}),k&&s.jsx("button",{type:"button",onClick:()=>m(!n),className:"absolute right-2 top-1/2 -translate-y-1/2 text-muted-foreground hover:text-foreground",children:n?s.jsx(Xe,{size:14}):s.jsx(Ze,{size:14})})]})]}),i?.helpText&&s.jsx("p",{className:"text-xs text-muted-foreground",children:i.helpText}),s.jsxs(et,{children:[s.jsx(V,{type:"button",variant:"ghost",size:"sm",onClick:o,disabled:h,children:"Cancel"}),s.jsx(V,{type:"submit",size:"sm",disabled:h,children:h?"Saving...":"Save"})]})]})}function wt(e){const t=U.c(28),{providerKey:i,provider:a,open:r,onOpenChange:l}=e,o=H();let x;t[0]!==a.id||t[1]!==i.presetId?(x=a.id==="openai-compatible"&&i.presetId?ke.find(k=>k.id===i.presetId):void 0,t[0]=a.id,t[1]=i.presetId,t[2]=x):x=t[2];const S=x,b=S?.name??a.name;let d;t[3]!==i.id?(d=Q.aiProviderKeyPreview(i.id),t[3]=i.id,t[4]=d):d=t[4];let n;t[5]!==i.id||t[6]!==o?(n=()=>o.call("AI_PROVIDER_KEY_PREVIEW",{keyId:i.id}),t[5]=i.id,t[6]=o,t[7]=n):n=t[7];let m;t[8]!==r||t[9]!==d||t[10]!==n?(m={queryKey:d,queryFn:n,enabled:r,staleTime:0},t[8]=r,t[9]=d,t[10]=n,t[11]=m):m=t[11];const{data:c,isLoading:u}=ve(m);let g;t[12]!==b?(g=s.jsx(tt,{children:s.jsxs(st,{children:["Edit ",b]})}),t[12]=b,t[13]=g):g=t[13];let j;t[14]!==u||t[15]!==l||t[16]!==S||t[17]!==c||t[18]!==a||t[19]!==i?(j=u||!c?s.jsx("div",{className:"flex justify-center py-8",children:s.jsx(ze,{})}):s.jsx(Pt,{providerKey:i,provider:a,preset:S,maskedKey:c.maskedKey,currentLabel:c.label,currentBaseUrl:c.baseUrl,onCancel:()=>l(!1),onSuccess:()=>l(!1)}),t[14]=u,t[15]=l,t[16]=S,t[17]=c,t[18]=a,t[19]=i,t[20]=j):j=t[20];let _;t[21]!==g||t[22]!==j?(_=s.jsxs(it,{className:"sm:max-w-md",children:[g,j]}),t[21]=g,t[22]=j,t[23]=_):_=t[23];let p;return t[24]!==l||t[25]!==r||t[26]!==_?(p=s.jsx(rt,{open:r,onOpenChange:l,children:_}),t[24]=l,t[25]=r,t[26]=_,t[27]=p):p=t[27],p}function Dt(e){const t=U.c(48),{providerKey:i,provider:a}=e,{org:r}=re(),l=H(),o=oe(),[x,S]=M.useState(!1),[b,d]=M.useState(!1),n=a.id==="openai-compatible";let m;t[0]!==n||t[1]!==i.presetId?(m=n&&i.presetId?ke.find(q=>q.id===i.presetId):void 0,t[0]=n,t[1]=i.presetId,t[2]=m):m=t[2];const c=m,u=c?c.name:n?"Custom OpenAI-compatible":a.name,g=c?.logo??a.logo;let j;e:{if(n){j=i.label;break e}const q=i.label;let z;t[3]!==i.createdAt?(z=ot(new Date(i.createdAt)),t[3]=i.createdAt,t[4]=z):z=t[4],j=`${q} · added ${z} ago`}const _=j;let p;t[5]!==i.id||t[6]!==l?(p=async()=>{await l.call("AI_PROVIDER_KEY_DELETE",{keyId:i.id})},t[5]=i.id,t[6]=l,t[7]=p):p=t[7];let k;t[8]!==r||t[9]!==i.id||t[10]!==o?(k=()=>{o.invalidateQueries({queryKey:Q.aiProviderKeys(r.id)}),o.invalidateQueries({queryKey:Q.aiProviders(r.id)}),o.invalidateQueries({queryKey:Q.aiProviderModels(r.id,i.id)}),G.success("Key deleted"),S(!1)},t[8]=r,t[9]=i.id,t[10]=o,t[11]=k):k=t[11];let I;t[12]!==p||t[13]!==k?(I={mutationFn:p,onSuccess:k,onError:At},t[12]=p,t[13]=k,t[14]=I):I=t[14];const{mutate:h,isPending:f}=J(I);let y;t[15]!==u||t[16]!==g?(y=g?s.jsx("img",{src:g,alt:u,className:"size-8 rounded-md object-contain dark:bg-white dark:p-0.5"}):s.jsx(Je,{fallback:u.charAt(0),className:"size-8 bg-primary/10 text-primary"}),t[15]=u,t[16]=g,t[17]=y):y=t[17];let R;t[18]===Symbol.for("react.memo_cache_sentinel")?(R=s.jsx(V,{variant:"ghost",size:"icon",className:"h-7 w-7 text-muted-foreground hover:text-foreground",onClick:()=>d(!0),children:s.jsx(We,{size:14})}),t[18]=R):R=t[18];let O,T;t[19]===Symbol.for("react.memo_cache_sentinel")?(O=()=>S(!0),T=s.jsx(He,{size:14}),t[19]=O,t[20]=T):(O=t[19],T=t[20]);let F;t[21]!==f?(F=s.jsxs("div",{className:"flex items-center gap-0.5",children:[R,s.jsx(V,{variant:"ghost",size:"icon",className:"h-7 w-7 text-muted-foreground hover:text-destructive",disabled:f,onClick:O,children:T})]}),t[21]=f,t[22]=F):F=t[22];let D;t[23]!==_||t[24]!==u||t[25]!==F||t[26]!==y?(D=s.jsx(_e,{icon:y,title:u,description:_,action:F}),t[23]=_,t[24]=u,t[25]=F,t[26]=y,t[27]=D):D=t[27];let A;t[28]!==b||t[29]!==a||t[30]!==i?(A=s.jsx(wt,{providerKey:i,provider:a,open:b,onOpenChange:d}),t[28]=b,t[29]=a,t[30]=i,t[31]=A):A=t[31];let K;t[32]===Symbol.for("react.memo_cache_sentinel")?(K=s.jsx(Ce,{children:"Delete API key"}),t[32]=K):K=t[32];let E;t[33]!==i.label?(E=s.jsxs(Ie,{children:[K,s.jsxs(Ne,{children:["This action cannot be undone. This will permanently delete"," ",s.jsx("span",{className:"font-medium text-foreground",children:i.label}),"."]})]}),t[33]=i.label,t[34]=E):E=t[34];let v;t[35]===Symbol.for("react.memo_cache_sentinel")?(v=s.jsx(Pe,{children:"Cancel"}),t[35]=v):v=t[35];let w;t[36]!==h?(w=s.jsxs(De,{children:[v,s.jsx(Ae,{onClick:()=>h(),className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",children:"Delete"})]}),t[36]=h,t[37]=w):w=t[37];let $;t[38]!==E||t[39]!==w?($=s.jsxs(we,{children:[E,w]}),t[38]=E,t[39]=w,t[40]=$):$=t[40];let P;t[41]!==x||t[42]!==$?(P=s.jsx(Ke,{open:x,onOpenChange:S,children:$}),t[41]=x,t[42]=$,t[43]=P):P=t[43];let C;return t[44]!==D||t[45]!==A||t[46]!==P?(C=s.jsxs(s.Fragment,{children:[D,A,P]}),t[44]=D,t[45]=A,t[46]=P,t[47]=C):C=t[47],C}function At(e){return G.error(`Failed to delete key: ${e.message}`)}function Kt(e){const t=U.c(11),{onConnectClick:i}=e,a=X(),r=Se();let l;t[0]!==r?.providers?(l=r?.providers??[],t[0]=r?.providers,t[1]=l):l=t[1];const o=l;let x;if(t[2]!==a||t[3]!==i||t[4]!==o){let S;t[6]!==o?(S=m=>({key:m,provider:o.find(c=>c.id===m.providerId)}),t[6]=o,t[7]=S):S=t[7];const b=a.filter(Rt).map(S).filter($t);let d;t[8]===Symbol.for("react.memo_cache_sentinel")?(d=s.jsx(Ye,{size:14}),t[8]=d):d=t[8];let n;t[9]!==i?(n=s.jsxs(V,{size:"sm",onClick:i,children:[d,"Connect provider"]}),t[9]=i,t[10]=n):n=t[10],x=s.jsx(de,{title:"Connected providers",headerClassName:"px-0",actions:n,children:b.length===0?s.jsx("p",{className:"text-sm text-muted-foreground px-1",children:"Bring your own keys to use specific models alongside Deco's gateway."}):s.jsx(ce,{children:b.map(Et)})}),t[2]=a,t[3]=i,t[4]=o,t[5]=x}else x=t[5];return x}function Et(e){const{key:t,provider:i}=e;return s.jsx(Dt,{providerKey:t,provider:i},t.id)}function $t(e){return e.provider!==void 0}function Rt(e){return e.providerId!=="deco"}function Ft(e){const t=U.c(3),{error:i}=e;let a;t[0]===Symbol.for("react.memo_cache_sentinel")?(a=s.jsx(Re,{size:16}),t[0]=a):a=t[0];let r;return t[1]!==i.message?(r=s.jsxs("div",{className:"p-4 rounded-md bg-destructive/10 text-destructive flex items-center gap-2",children:[a,s.jsxs("span",{className:"text-sm font-medium",children:["Failed to load AI providers: ",i.message]})]}),t[1]=i.message,t[2]=r):r=t[2],r}function Mt(){const e=U.c(23),t=X();let i;e[0]!==t?(i=t.some(Ot),e[0]=t,e[1]=i):i=e[1];const a=i,r=t.length>0,[l,o]=M.useState(!1),[x,S]=M.useState(null),b=Se();let d;e[2]!==b?.providers?(d=b?.providers??[],e[2]=b?.providers,e[3]=d):d=e[3];const n=d;if(!r){let _;e[4]===Symbol.for("react.memo_cache_sentinel")?(_=()=>o(!0),e[4]=_):_=e[4];let p;e[5]!==n?(p=s.jsx(Be,{providers:n,onSelect:S,onShowAll:_}),e[5]=n,e[6]=p):p=e[6];const k=x!==null||l;let I;e[7]===Symbol.for("react.memo_cache_sentinel")?(I=R=>{R||(S(null),o(!1))},e[7]=I):I=e[7];const h=x??void 0;let f;e[8]!==k||e[9]!==h?(f=s.jsx(pe,{open:k,onOpenChange:I,initialProvider:h}),e[8]=k,e[9]=h,e[10]=f):f=e[10];let y;return e[11]!==p||e[12]!==f?(y=s.jsxs(s.Fragment,{children:[p,f]}),e[11]=p,e[12]=f,e[13]=y):y=e[13],y}let m;e[14]===Symbol.for("react.memo_cache_sentinel")?(m=s.jsx(M.Suspense,{fallback:s.jsx(ne,{className:"h-16 w-full"}),children:s.jsx(ft,{})}),e[14]=m):m=e[14];let c;e[15]!==a?(c=a?s.jsx(jt,{}):s.jsx(Ct,{}),e[15]=a,e[16]=c):c=e[16];let u;e[17]===Symbol.for("react.memo_cache_sentinel")?(u=s.jsx(Kt,{onConnectClick:()=>o(!0)}),e[17]=u):u=e[17];let g;e[18]!==l?(g=s.jsx(pe,{open:l,onOpenChange:o}),e[18]=l,e[19]=g):g=e[19];let j;return e[20]!==c||e[21]!==g?(j=s.jsxs(s.Fragment,{children:[m,c,u,g]}),e[20]=c,e[21]=g,e[22]=j):j=e[22],j}function Ot(e){return e.providerId==="deco"}function Tt(){const e=U.c(2);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t=s.jsx(te.Title,{children:"AI Providers"}),e[0]=t):t=e[0];let i;return e[1]===Symbol.for("react.memo_cache_sentinel")?(i=s.jsx(te,{children:s.jsx(te.Content,{children:s.jsx(te.Body,{children:s.jsxs(Fe,{children:[t,s.jsx($e,{fallback:Ut,children:s.jsx(M.Suspense,{fallback:s.jsx(ne,{className:"h-64 w-full"}),children:s.jsx(Mt,{})})})]})})})}),e[1]=i):i=e[1],i}function Ut(e){const{error:t}=e;return s.jsx(Ft,{error:t??new Error("Failed to load AI providers")})}function Ws(){const e=U.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=s.jsx(lt,{capability:"ai-providers:manage",area:"AI providers",children:s.jsx(Tt,{})}),e[0]=t):t=e[0],t}export{Ws as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as gt,r as w,j as o,l as yt,t as ut,i as St}from"./index-ibVYCtdk.js";import{i as jt}from"./ChevronRight-EIxlJCAn.js";import{A as kt}from"./automation-runs-Cc4W98hs.js";import{A as _t}from"./add-section-modal-IG3NiKUf.js";import{n as Bt,h as wt,j as At,e as Nt,k as Rt,l as Ct,m as Et,o as Kt,S as Tt}from"./index-BRT-eiWy.js";import"./select-DCMRbMTV.js";import"./tooltip-DmGjSLGv.js";import"./Check-CHx9EjoK.js";import"./ChevronDown-UK2bP1UQ.js";import"./ChevronUp-C2du4mz8.js";import"./useInfiniteQuery-k0Oz8aiZ.js";import"./use-infinite-scroll-BkLL2k_w.js";import"./use-connection-DkYq5t3v.js";import"./use-collections-CvDTPu4s.js";import"./use-mcp-client-OGs9WihN.js";import"./constants-D_FQAPnt.js";import"./auth-CJQ6Yx_r.js";import"./use-virtual-mcp-CkueoyOa.js";import"./card-CWxEyxBu.js";import"./sidebar-BIOIlAO_.js";import"./LayoutLeft-BB_flP7V.js";import"./use-mobile-B1itw65d.js";import"./X-ehE2-PPh.js";import"./table-DUOWHqJQ.js";import"./empty-state-Dj1UiFtA.js";import"./use-members-BEIFWHR7.js";import"./use-org-auth-client-D_9vuP20.js";import"./use-clock-tick-2EW1HZaU.js";import"./AlertCircle-C0LNRXFL.js";import"./CheckCircle-DuKYtqTR.js";import"./Circle-Dn33pGko.js";import"./agent-icon-CTdje-Yo.js";import"./UserPlus01-DoMT5VeR.js";import"./Tool01-vwcHp5vx.js";import"./ArrowUp-DEIsNZJ7.js";import"./Settings02-B4gKkQVa.js";import"./Tool02-B9R6nZBJ.js";import"./XCircle-H5V2L4xB.js";import"./ArrowUpRight-CfyQUwOR.js";import"./TrendUp01-DpJPP1Jq.js";import"./ZapSquare-D3GithUx.js";import"./Users03-CeF5jvSj.js";import"./Stars02-CFJkyC0W.js";import"./Copy01-Dec6QuUO.js";import"./ZoomOut-CXi1AmaE.js";import"./DotsVertical-DURNExIZ.js";import"./Globe01-Dv1MemnH.js";import"./Eye-Tv0RqHHP.js";import"./FilterLines-DoBDuM0w.js";import"./Flag01-UPbZzTjU.js";import"./Star01-rwC6MUs1.js";import"./Globe04-DlE3tpui.js";import"./SwitchHorizontal01-CfyLxrC_.js";import"./HardDrive-BSWP1vqJ.js";import"./Key01-DUQfSOZQ.js";import"./LinkExternal01-DTumzywO.js";import"./List-Cearyjn7.js";import"./Monitor01-BXWr0YEZ.js";import"./Sun-D5EL7OWV.js";import"./Package-Dc3diOZj.js";import"./Palette-DLRDeZMj.js";import"./Play-B_VdYdQy.js";import"./Plus-BkEprJHF.js";import"./SearchLg-D_6LPW5y.js";import"./SearchMd-DPgb_Mb5.js";import"./Shield01-ByGL3nCz.js";import"./Stars01-DkyiijKz.js";import"./Trash01-CQNpRi9v.js";import"./Upload01-CbyoXv84.js";import"./User01-DVvBrT-K.js";import"./Users01-BTp0QmgZ.js";import"./XClose-AmEq2OYZ.js";import"./Zap-BUgMog8M.js";import"./use-automations-C8vesZ5J.js";import"./studio-tools-CiEb3YCV.js";import"./useSuspenseInfiniteQuery-D6yz4hO3.js";import"./badge-Bu2YMz_4.js";import"./checkbox-DHREKNj6.js";import"./command-BwCOntKm.js";import"./index-CZMZ2qCP.js";import"./dialog-uPEldi6L.js";import"./popover-D59OWen2.js";import"./avatar-BeXwGFfk.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-DqYfTFoV.js";import"./file-type-icon-mhXAsYz9.js";import"./tab-id-BijBBRwE.js";import"./monaco-editor-CbXE9Xqh.js";import"./index-DeM3xnRo.js";import"./chat-context-Cr6qmlGy.js";import"./autosend-DYq_Jvzc.js";import"./hooks-C1wDxsG8.js";import"./decopilot-sse-pool-BM-tUdQR.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./use-ai-providers-CmNDf8vd.js";import"./use-decopilot-events-CkuFGVsY.js";import"./use-organization-settings-D7VQkjik.js";import"./index-Bc-Htd9N.js";import"./shell-layout-DPnzwBdL.js";import"./alert-dialog-vSPTpv6H.js";import"./required-auth-layout-BdqwRFOI.js";import"./use-org-sso-DCaBtTKN.js";import"./integration-icon-CH7ULFsC.js";import"./use-navigate-to-agent-miif_g44.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-DRbv2Se_.js";import"./form-CBIL6eiC.js";import"./label-HegC4zUI.js";import"./input-CLma5TTa.js";import"./drawer-CeOMWORD.js";import"./collection-search-ZIcj7LLW.js";import"./tabs-BqGxXdoI.js";import"./toggle-group-BOYJJ8oi.js";import"./use-deco-credits-CVzSYKYM.js";import"./connection-slug-eyAPH6o3.js";import"./connection-card-BOsDQ33m.js";import"./use-registry-connections-D7PghIBt.js";import"./extract-connection-data-rNjNJHae.js";import"./collection-tabs-C1ybuJHO.js";import"./textarea-DV1w30pD.js";import"./connection-form-helpers-Bko18JmW.js";import"./authenticate-and-persist-oauth-B70SAkix.js";import"./mcp-oauth-refjE4PD.js";import"./connect-desktop-dialog-d7Jl0eRb.js";import"./select-model-Bx-Xed51.js";import"./skeleton-DcJ-AWeX.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-Dss2hFT-.js";import"./dropdown-menu-BnqypSUe.js";import"./index-Cz21JVVz.js";import"./toolbar-D6dZQ1kJ.js";import"./use-debounced-value-7buBvFAI.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-CXNpvY3s.js";import"./use-mcp-tools-B3ZOCtmr.js";import"./use-capability-EhARhd3Z.js";import"./tools-list-CggpcmV4.js";import"./switch-CvVKCLWe.js";import"./use-debounced-autosave-DhohqvG9.js";import"./index-DaW53K3w.js";import"./search-input-D7ajgDO_.js";import"./github-repo-picker-C6F-TBMc.js";import"./provision-repo-scoped-github-connection-CB4ICKHq.js";import"./use-secrets-DNdZ7I0w.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./companions-core-1f14i-4e.js";import"./index-CzoFhUGA.js";import"./get-initials-D-f_fDFw.js";import"./calendar-PInr3mmc.js";import"./toolbar-icon-button-D3ZfFn7X.js";import"./use-file-configs-CcqaFUoI.js";import"./automation-list-row-CnL5NUn0.js";function $t(l,t){const s=(l.title||l.resolveType.split("/").pop()||"").replace(/\.(tsx?|jsx?)$/,"").replace(/[^A-Za-z0-9_-]/g,""),f=/^[A-Za-z]/.test(s)&&s.length>0?s:"Section",n=Bt(t,f);return{blockKey:n,data:{__resolveType:l.resolveType,name:n}}}function Cr(l){const t=gt.c(77),{orgSlug:s,virtualMcpId:f,branch:n,blockKey:i,block:a,meta:m,decofile:c,title:D,excludeFields:H,schemaPending:nt,previewBaseUrl:at}=l,G=nt===void 0?!1:nt,u=at===void 0?null:at,x=typeof a?.__resolveType=="string"?a.__resolveType:"";let R;t[0]!==H||t[1]!==m||t[2]!==x?(R=wt(x,m,H),t[0]=H,t[1]=m,t[2]=x,t[3]=R):R=t[3];const h=R;let C;t[4]!==h?(C=!!h&&Object.keys(h.properties??{}).length>0,t[4]=h,t[5]=C):C=t[5];const J=C;let E;t[6]!==a||t[7]!==i||t[8]!==m||t[9]!==D?(E=D??(a?At(i,a,m):i),t[6]=a,t[7]=i,t[8]=m,t[9]=D,t[10]=E):E=t[10];const v=E;let K;t[11]!==n||t[12]!==s||t[13]!==f?(K={orgSlug:s,virtualMcpId:f,branch:n},t[11]=n,t[12]=s,t[13]=f,t[14]=K):K=t[14];const{save:b,flush:Q,isPending:W}=Nt(K);let T;t[15]!==n||t[16]!==s||t[17]!==f?(T={orgSlug:s,virtualMcpId:f,branch:n},t[15]=n,t[16]=s,t[17]=f,t[18]=T):T=t[18];const X=Rt(T);let $;t[19]!==b?($=Et((e,r)=>b(e,r)),t[19]=b,t[20]=$):$=t[20];const Y=$,[ht,xt]=w.useState(i),[tt,ct]=w.useState(null),[et,dt]=w.useState(0);let F;t[21]===Symbol.for("react.memo_cache_sentinel")?(F=[],t[21]=F):F=t[21];const[p,ft]=w.useState(F),[ot,rt]=w.useState(!1),P=w.useRef(null);ht!==i&&(xt(i),ct(null),dt(Pt),ft([]));let O;t[22]!==a?(O=a??{},t[22]=a,t[23]=O):O=t[23];const it=O;let g;t[24]!==tt?(g=tt??{},t[24]=tt,t[25]=g):g=t[25];let z;t[26]!==it||t[27]!==g?(z={...it,...g},t[26]=it,t[27]=g,t[28]=z):z=t[28];const mt=z;let L;t[29]!==i||t[30]!==x||t[31]!==b?(L=e=>{const r=e;ct(r),b(i,{...r,__resolveType:x})},t[29]=i,t[30]=x,t[31]=b,t[32]=L):L=t[32];const st=L;let V;t[33]===Symbol.for("react.memo_cache_sentinel")?(V=e=>{ft(e)},t[33]=V):V=t[33];const pt=V;let q;t[34]!==c||t[35]!==Q||t[36]!==X?(q=async(e,r)=>{try{const{blockKey:d,data:N}=$t(e,c);await X.mutateAsync({blockKey:d,data:N}),ut.success(`Created section "${d}"`),r({__resolveType:d}),Q()}catch(d){const N=d,bt=N instanceof Error?N.message:"Could not add section";throw ut.error(bt),N}},t[34]=c,t[35]=Q,t[36]=X,t[37]=q):q=t[37];const y=q;let I;t[38]===Symbol.for("react.memo_cache_sentinel")?(I=e=>{P.current=e.append,rt(!0)},t[38]=I):I=t[38];const vt=I;let U;t[39]!==y?(U=async e=>{const r=P.current;if(r)try{await y(e,d=>{r(d),rt(!1),P.current=null})}catch{}},t[39]=y,t[40]=U):U=t[40];const lt=U;let M;t[41]!==p||t[42]!==v?(M=p.length>0?[v,...p]:[],t[41]=p,t[42]=v,t[43]=M):M=t[43];const A=M;let S;t[44]!==p||t[45]!==A||t[46]!==v?(S=A.length>0?o.jsx("nav",{"aria-label":"Editing breadcrumb",className:"flex min-w-0 flex-1 items-center gap-1 overflow-hidden text-sm",children:A.map((e,r)=>{const d=r===A.length-1;return o.jsxs("span",{className:"flex min-w-0 items-center gap-1 overflow-hidden",children:[r>0&&o.jsx(jt,{className:"size-3 shrink-0 text-muted-foreground/60"}),o.jsx("button",{type:"button",onClick:()=>{pt(r===0?[]:Ct(p,r)),dt(Ft)},title:e,className:yt("min-w-0 truncate rounded-md px-1 py-0.5 text-left transition-colors",d?"font-medium text-foreground":"text-muted-foreground hover:bg-accent hover:text-accent-foreground"),children:e})]},`${e}-${r}`)})}):o.jsx("span",{className:"text-sm font-medium",children:v}),t[44]=p,t[45]=A,t[46]=v,t[47]=S):S=t[47];let j;t[48]!==W?(j=o.jsx(Kt,{isPending:W,isError:!1}),t[48]=W,t[49]=j):j=t[49];let k;t[50]!==S||t[51]!==j?(k=o.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between border-b px-6",children:[S,j]}),t[50]=S,t[51]=j,t[52]=k):k=t[52];let _;t[53]!==i||t[54]!==p||t[55]!==c||t[56]!==mt||t[57]!==et||t[58]!==y||t[59]!==st||t[60]!==J||t[61]!==m||t[62]!==u||t[63]!==Y||t[64]!==h||t[65]!==G?(_=o.jsx(kt,{className:"min-h-0 min-w-0 flex-1 [&_[data-slot=scroll-area-viewport]>div]:!block",children:o.jsx("div",{className:"px-6 py-6",children:o.jsx("div",{className:"mx-auto max-w-xl",children:J?o.jsx(Tt,{schema:h,value:mt,onChange:st,basePath:"",breadcrumbPath:p,onBreadcrumbChange:pt,decofile:c,meta:m,onSaveReferencedBlock:Y,previewBaseUrl:u,onAddSectionItem:y,onRequestAddSection:vt},`${i}:${et}`):G?o.jsxs("div",{className:"flex flex-col items-center gap-2 py-6 text-center text-xs text-muted-foreground",children:[o.jsx(St,{size:16,className:"animate-spin"}),"Loading app schema…"]}):o.jsx("div",{className:"py-6 text-center text-xs text-muted-foreground",children:"No editable schema found for this app."})})})}),t[53]=i,t[54]=p,t[55]=c,t[56]=mt,t[57]=et,t[58]=y,t[59]=st,t[60]=J,t[61]=m,t[62]=u,t[63]=Y,t[64]=h,t[65]=G,t[66]=_):_=t[66];let B;t[67]!==ot||t[68]!==c||t[69]!==lt||t[70]!==m||t[71]!==u?(B=u&&o.jsx(_t,{open:ot,onOpenChange:e=>{rt(e),e||(P.current=null)},meta:m,decofile:c,previewBaseUrl:u,onSelect:e=>{lt(e)}}),t[67]=ot,t[68]=c,t[69]=lt,t[70]=m,t[71]=u,t[72]=B):B=t[72];let Z;return t[73]!==k||t[74]!==_||t[75]!==B?(Z=o.jsxs("div",{className:"flex h-full flex-col",children:[k,_,B]}),t[73]=k,t[74]=_,t[75]=B,t[76]=Z):Z=t[76],Z}function Ft(l){return l+1}function Pt(l){return l+1}export{Cr as AppEditor};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as E,r as F,l as $,j as t,B as K}from"./index-ibVYCtdk.js";import{b as O,d as B,e as I,g as L,c as H,A as V,a as q,f as G}from"./alert-dialog-vSPTpv6H.js";import{a as J,D as Q,c as U,d as W}from"./dropdown-menu-BnqypSUe.js";import{s as X}from"./Stars02-CFJkyC0W.js";import{i as Y}from"./DotsVertical-DURNExIZ.js";import{s as Z}from"./Trash01-CQNpRi9v.js";import{i as ee}from"./Zap-BUgMog8M.js";import{a as te}from"./use-virtual-mcp-CkueoyOa.js";import{A as se}from"./agent-icon-CTdje-Yo.js";import{u as ne}from"./use-automations-C8vesZ5J.js";function he(a){const e=E.c(53),{automation:s,showAgent:n,onClick:r}=a,{remove:i}=ne(),[P,S]=F.useState(!1),o=te(n?s.virtual_mcp_id:void 0);let D;e[0]!==s.id||e[1]!==i?(D=()=>{i.mutate(s.id),S(!1)},e[0]=s.id,e[1]=i,e[2]=D):D=e[2];const z=D;let A;e[3]!==r?(A=l=>{l.target===l.currentTarget&&(l.key==="Enter"||l.key===" ")&&(l.preventDefault(),r())},e[3]=r,e[4]=A):A=e[4];const T=A,M=s.active&&s.trigger_count>0?"bg-emerald-500":"bg-muted-foreground/40";let c;e[5]!==M?(c=$("inline-block size-2 rounded-full shrink-0",M),e[5]=M,e[6]=c):c=e[6];const R=s.active&&s.trigger_count>0?"Active":s.active?"No triggers configured":"Paused";let m;e[7]!==c||e[8]!==R?(m=t.jsx("span",{className:c,"aria-label":R}),e[7]=c,e[8]=R,e[9]=m):m=e[9];let u;e[10]!==o?.icon||e[11]!==o?.title||e[12]!==s.name||e[13]!==n?(u=n&&t.jsx(se,{icon:o?.icon??null,name:o?.title??s.name,size:"xs",className:"shrink-0"}),e[10]=o?.icon,e[11]=o?.title,e[12]=s.name,e[13]=n,e[14]=u):u=e[14];let d;e[15]!==s.name?(d=t.jsx("span",{className:"text-sm font-medium text-foreground truncate",children:s.name}),e[15]=s.name,e[16]=d):d=e[16];let g;e[17]!==o||e[18]!==n?(g=n&&o&&t.jsxs("span",{className:"text-xs text-muted-foreground truncate",children:["· ",o.title]}),e[17]=o,e[18]=n,e[19]=g):g=e[19];let f;e[20]!==d||e[21]!==g?(f=t.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[d,g]}),e[20]=d,e[21]=g,e[22]=f):f=e[22];let x;e[23]!==s.nearest_next_run_at||e[24]!==s.trigger_count?(x=t.jsx(oe,{triggerCount:s.trigger_count,nextRunAt:s.nearest_next_run_at}),e[23]=s.nearest_next_run_at,e[24]=s.trigger_count,e[25]=x):x=e[25];let p;e[26]!==f||e[27]!==x?(p=t.jsxs("div",{className:"flex-1 min-w-0 flex flex-col gap-0.5",children:[f,x]}),e[26]=f,e[27]=x,e[28]=p):p=e[28];let N;e[29]===Symbol.for("react.memo_cache_sentinel")?(N=t.jsx(J,{asChild:!0,children:t.jsx(K,{variant:"ghost",size:"sm",className:"h-8 w-8 p-0 opacity-0 group-hover:opacity-100 data-[state=open]:opacity-100 transition-opacity",children:t.jsx(Y,{size:16})})}),e[29]=N):N=e[29];let y;e[30]===Symbol.for("react.memo_cache_sentinel")?(y=t.jsx("div",{onClick:ie,onKeyDown:re,role:"presentation",className:"shrink-0",children:t.jsxs(Q,{children:[N,t.jsx(U,{align:"end",children:t.jsxs(W,{variant:"destructive",onClick:l=>{l.stopPropagation(),S(!0)},children:[t.jsx(Z,{size:16}),"Delete"]})})]})}),e[30]=y):y=e[30];let h;e[31]!==T||e[32]!==r||e[33]!==p||e[34]!==m||e[35]!==u?(h=t.jsxs("div",{role:"button",tabIndex:0,onClick:r,onKeyDown:T,className:"group w-full flex items-center gap-3 px-4 py-3 border-b border-border text-left hover:bg-muted/50 transition-colors cursor-pointer focus:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:[m,u,p,y]}),e[31]=T,e[32]=r,e[33]=p,e[34]=m,e[35]=u,e[36]=h):h=e[36];let w;e[37]===Symbol.for("react.memo_cache_sentinel")?(w=t.jsx(H,{children:"Delete automation?"}),e[37]=w):w=e[37];let j;e[38]!==s.name?(j=t.jsxs(O,{children:[w,t.jsxs(B,{children:["This removes"," ",t.jsx("span",{className:"font-medium text-foreground",children:s.name})," ","and all of its triggers. This action cannot be undone."]})]}),e[38]=s.name,e[39]=j):j=e[39];let C;e[40]===Symbol.for("react.memo_cache_sentinel")?(C=t.jsx(V,{children:"Cancel"}),e[40]=C):C=e[40];let _;e[41]!==z||e[42]!==i.isPending?(_=t.jsxs(I,{children:[C,t.jsx(L,{onClick:z,disabled:i.isPending,className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",children:"Delete"})]}),e[41]=z,e[42]=i.isPending,e[43]=_):_=e[43];let v;e[44]!==j||e[45]!==_?(v=t.jsxs(q,{children:[j,_]}),e[44]=j,e[45]=_,e[46]=v):v=e[46];let b;e[47]!==P||e[48]!==v?(b=t.jsx(G,{open:P,onOpenChange:S,children:v}),e[47]=P,e[48]=v,e[49]=b):b=e[49];let k;return e[50]!==h||e[51]!==b?(k=t.jsxs(t.Fragment,{children:[h,b]}),e[50]=h,e[51]=b,e[52]=k):k=e[52],k}function re(a){return a.stopPropagation()}function ie(a){return a.stopPropagation()}function oe(a){const e=E.c(4),{triggerCount:s,nextRunAt:n}=a;if(s===0){let i;return e[0]===Symbol.for("react.memo_cache_sentinel")?(i=t.jsx("span",{className:"text-xs text-muted-foreground",children:"No triggers configured"}),e[0]=i):i=e[0],i}let r;return e[1]!==n||e[2]!==s?(r=t.jsx("span",{className:"flex items-center gap-1.5 text-xs text-muted-foreground min-w-0",children:n?t.jsxs(t.Fragment,{children:[t.jsx(X,{size:12,className:"shrink-0"}),t.jsxs("span",{className:"truncate",children:["Next run ",new Date(n).toLocaleString()]})]}):t.jsxs(t.Fragment,{children:[t.jsx(ee,{size:12,className:"shrink-0"}),t.jsxs("span",{className:"truncate",children:[s," trigger",s===1?"":"s"]})]})}),e[1]=n,e[2]=s,e[3]=r):r=e[3],r}export{he as A};
|
|
@@ -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-ibVYCtdk.js";import{s as q}from"./Plus-BkEprJHF.js";import{i as S}from"./Zap-BUgMog8M.js";import{S as D}from"./search-input-D7ajgDO_.js";import{P as l}from"./index-DaW53K3w.js";import{E as b}from"./empty-state-Dj1UiFtA.js";import{c as O}from"./use-automations-C8vesZ5J.js";import{c as V}from"./use-navigate-to-agent-miif_g44.js";import{A as F}from"./automation-list-row-CnL5NUn0.js";import{f as G}from"./constants-D_FQAPnt.js";import{u as H}from"./use-virtual-mcp-CkueoyOa.js";import{R as J}from"./require-capability-BYYj6I9k.js";import"./SearchMd-DPgb_Mb5.js";import"./sidebar-BIOIlAO_.js";import"./LayoutLeft-BB_flP7V.js";import"./use-mobile-B1itw65d.js";import"./X-ehE2-PPh.js";import"./tooltip-DmGjSLGv.js";import"./use-mcp-client-OGs9WihN.js";import"./auth-CJQ6Yx_r.js";import"./studio-tools-CiEb3YCV.js";import"./hooks-C1wDxsG8.js";import"./decopilot-sse-pool-BM-tUdQR.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./reusable-new-chat-CouMjkYR.js";import"./alert-dialog-vSPTpv6H.js";import"./dropdown-menu-BnqypSUe.js";import"./Check-CHx9EjoK.js";import"./ChevronRight-EIxlJCAn.js";import"./Circle-Dn33pGko.js";import"./Stars02-CFJkyC0W.js";import"./DotsVertical-DURNExIZ.js";import"./Trash01-CQNpRi9v.js";import"./agent-icon-CTdje-Yo.js";import"./AlertCircle-C0LNRXFL.js";import"./UserPlus01-DoMT5VeR.js";import"./Tool01-vwcHp5vx.js";import"./ArrowUp-DEIsNZJ7.js";import"./Settings02-B4gKkQVa.js";import"./Tool02-B9R6nZBJ.js";import"./XCircle-H5V2L4xB.js";import"./ArrowUpRight-CfyQUwOR.js";import"./TrendUp01-DpJPP1Jq.js";import"./ZapSquare-D3GithUx.js";import"./Users03-CeF5jvSj.js";import"./CheckCircle-DuKYtqTR.js";import"./ChevronDown-UK2bP1UQ.js";import"./ChevronUp-C2du4mz8.js";import"./Copy01-Dec6QuUO.js";import"./ZoomOut-CXi1AmaE.js";import"./Globe01-Dv1MemnH.js";import"./Eye-Tv0RqHHP.js";import"./FilterLines-DoBDuM0w.js";import"./Flag01-UPbZzTjU.js";import"./Star01-rwC6MUs1.js";import"./Globe04-DlE3tpui.js";import"./SwitchHorizontal01-CfyLxrC_.js";import"./HardDrive-BSWP1vqJ.js";import"./Key01-DUQfSOZQ.js";import"./LinkExternal01-DTumzywO.js";import"./List-Cearyjn7.js";import"./Monitor01-BXWr0YEZ.js";import"./Sun-D5EL7OWV.js";import"./Package-Dc3diOZj.js";import"./Palette-DLRDeZMj.js";import"./Play-B_VdYdQy.js";import"./SearchLg-D_6LPW5y.js";import"./Shield01-ByGL3nCz.js";import"./Stars01-DkyiijKz.js";import"./Upload01-CbyoXv84.js";import"./User01-DVvBrT-K.js";import"./Users01-BTp0QmgZ.js";import"./XClose-AmEq2OYZ.js";import"./use-collections-CvDTPu4s.js";import"./use-capability-EhARhd3Z.js";import"./access-gate-CQxfoP_U.js";import"./capability-load-error-jrr5P4vz.js";function K(){const t=B.c(16),{org:i}=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(e=>{if(!g||e.name.toLowerCase().includes(g))return!0;if(e.virtual_mcp_id){const a=y.get(e.virtual_mcp_id);if(a&&a.title.toLowerCase().includes(g))return!0}return!1}),P=(e,a)=>{const A=a&&y.has(a)?a:G(i.id);N("automations_list_row_clicked",{automation_id:e,agent_id:A,source:"settings_automations"}),k(A,{search:{main:"automation:"+e}})};let n;t[0]!==d||t[1]!==i.slug?(n=()=>{N("automations_empty_state_browse_agents_clicked"),d({to:"/$org/settings/agents",params:{org:i.slug}})},t[0]=d,t[1]=i.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(e=>o.jsx(F,{automation:e,showAgent:!0,onClick:()=>P(e.id,e.virtual_mcp_id)},e.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 _o(){const t=B.c(1);let i;return t[0]===Symbol.for("react.memo_cache_sentinel")?(i=o.jsx(J,{capability:"automations:manage",area:"automations",children:o.jsx(K,{})}),t[0]=i):i=t[0],i}export{_o as default};
|